top | item 47137334

(no title)

noduerme | 5 days ago

Finally, a good use case for AI.

discuss

order

Aachen|5 days ago

Yeah, using a kilowatt GPU for string replacement is going to be the killer feature. I probably shouldn't even be joking, people are using it like this already

littlestymaar|5 days ago

This ship has sailed unfortunately, no later than yesterday I've seen coworkers redact a screenshot using chatGTP.

charcircuit|5 days ago

When the condition for when you want to replace is hard to properly specify, AI shines for such find and replaces.

josefx|5 days ago

Wouldn't AI be trained on data using innerHTML?

Aachen|5 days ago

My experience is that they somehow print quite modern code despite things like ES6 being too new to be standard knowledge even for me and I'm not even middle-aged yet

Maybe the last 10 years saw so much more modern code than the last cumulative 40+ years of coding and so modern code is statistically more likely to be output? Or maybe they assign higher weights to more recent commits/sources during training? Not sure but it seems to be good at picking this up. And you can always feed the info into its context window until then

charcircuit|5 days ago

Which is why it can easily understand how innerHTML is being used so that it can replace it with the right thing.

stvltvs|5 days ago

Honest question: Is there a way to get an LLM to stop emitting deprecated code?