“Enshittification will continue until revenue improves”
I’ve found that regex is maybe the programming-related thing GPT is best at, which makes sense given that it’s a language model, and regex is just a compact language with weird syntax for describing patterns. Translating between a description of a pattern in English and Regex shouldn’t be harder for that kind of model than any other translation so to speak.
In general I agree: ChatGPT sucks at writing code. However, when I want to throw together some simple stuff in a language I rarely write, I find it can save me quite some time. Typical examples would be something like
“Write a bash script to rename all the files in the current directory according to <pattern>”, “Give me a regex pattern for <…>”, or “write a JavaScript function to do <stupid simple thing, but I never bothered to learn JS>”
Especially using it as a regex pattern generator is nice. It can also be nice when learning a new language and you just need to check the syntax for something- often quicker than swimming though some Geeks4Geeks blog about why you should know how to do what you’re trying to do.
Ngl you had me until the 1772 bit
Of course, Li-ion batteries will never cover large-scale power demand. Not primarily because of lack of lithium, but because it’s a technology that scales far too poorly into the MWh/TWh scale, and has a far too short lifetime.
The battery tech we need for truly large scale storage is different from what we need for small, portable storage. Stuff like redox-flow batteries are looking promising.
There’s also hydrogen, with different storage methods being actively researched- from direct storage to using ammonia as a carrier.
The issue with using mechanical storage (like pumped hydropower) is threefold (off the top of my head):
I’m not saying pumped hydropower isn’t part of the solution: I believe the solution is that we need many solutions. I just think it’s important to point out that battery tech isn’t some monolithic thing, and that there are issues with pumped hydropower (and mechanical storage in general).
I have to admit: If you (semi-)regularly use floating point comparisons in programming, I don’t know why you would ever expect 0.1 + 0.2 == 0.3 to return true. It’s common practice to check abs(a - b) < tol
, where tol
is some small number, to the point that common unit-testing libraries have built-in methods like assertEqual(a, b, tol)
specifically for checking whether floats are “equal”.
Possibly a poor translation from my side: I’m referring to the “head office” of the university, i.e. the group of people under the direct leadership of the principal, who have the highest administrative authority at the university.
A professor at my university tried that, but the students quite quickly made a huge fuss, got the principals office involved, and the universities lawyers informed said professor that what she was doing was illegal, and that she should stop before she got any more trouble. She stopped.
I never understood that. Apparently they use it as a primary way of messaging each other? At least that’s what younger relatives have told me. I’ve tried to have them explain what makes the app designed to hide/delete stuff after it’s been read better for communication, but so far haven’t gotten an explanation I could make any sense of.