Yeah sure, you found the one notorious TypeScript feature that actually emits code, but a) this feature is recommended against and not used much to my knowledge and, more importantly, b) you cannot tell me that you genuinely believe the use of TypeScript enums – which generate extra function calls for a very limited number of operations – will 5x the energy consumption of the entire program.
Only if you choose a lower language level as the target. Given these results I suspect the researchers had it output JS for something like ES5, meaning a bunch of polyfills for old browsers that they didn't include in the JS-native implementation..
I'm an empirical researcher in software engineering and all of the points you're making are being supported by recent papers on SE and/or education. We are also seeing a strong shift in behavior of our students and a lack of ability to explain or justify their "own" work
Well, I'm generally very anti-LLM but as a library author in Java it has been very helpful to create lots of similar overloads/methods for different types and filling in the corresponding documentation comments. I've already done all the thinking and I just need to check that the overload makes the right call or does the same thing that the other ones do – in that particular case, it's faster. But if I myself don't know yet how I'm going to do something, I would never trust an AI to tell me.
(structuring inheritance) before the Jesus Club took over
and then it took humanity another 2000 years to move away from inheritance in favor of composition. you'd think someone would've realized sooner that it's not always the right abstraction...
is everyone here a complete beginner? how do so many people relate to this? as soon as you need to do anything halfway interesting the thing just confidently spews nonsense.
That's great to hear! I saw the issue a few days ago but since it didn't have any comments or milestones (at the time) I assumed it was just lost in the backlog. Thanks for the update! :)
Really like the new design and I think Mlem definitely carries the same "native" feel that Apollo used to. I just wish it had customizable swipes so I could make the switch from Voyager, but it looks like that's a low priority feature for now
I know experts say this doesn't fundamentally change anything, but this sort of stuff still scares the shit out of me. There used to be a subreddit called UkraineAnxiety but they shut down with the Reddit protests last year. Really wish there was a resource like that now, because most comments I'm seeing are nonchalantly joking about nuclear war and that's not helping...
That's not quite right. In bytecode, lambdas are significantly more efficient than anonymous class instances. So while the lambda implementation is semantically equivalent, characterizing it like you have is reductive and a bit misleading.
I believe it should still work, as alarms trigger for me even if my phone updated overnight or I put it on the charger dead before going to sleep, but I'll have to test it
Yeah sure, you found the one notorious TypeScript feature that actually emits code, but a) this feature is recommended against and not used much to my knowledge and, more importantly, b) you cannot tell me that you genuinely believe the use of TypeScript enums – which generate extra function calls for a very limited number of operations – will 5x the energy consumption of the entire program.