Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaba0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
421.
▲
by
kaba0
2y ago
I think this problem is a bit overblown, as we tend to get very angry at the relatively few offending ones, and fail to notice the case where it just works. So might be just some human bias over-amplification. Like, there are websites that
422.
▲
by
kaba0
2y ago
I’m fairly sure you would be equally upset with your world document taking multiple seconds to load were it lower bandwidth. Or if you couldn’t have a 4k screen at 120Hz, which is severalfold more data than hd@60Hz
423.
▲
by
kaba0
2y ago
> Amiga gave user-input interrupts the absolute highest priority That’s a pretty bad idea in general. Handling priorities properly is absolutely essential for the stability of a system. I’m not familiar with Amiga, but systems weren’t
424.
▲
by
kaba0
2y ago
It’s just that single core performance sort of plateaued (as expected). We just can’t get it faster by 2x as we used to in a couple of years, and it is not really perceptible otherwise, especially that most software besides artificial ben
425.
▲
by
kaba0
2y ago
Which is still absolutely nothing compared to something like youtube’s servers, which is absolutely nothing compared to something like the food industry. Like, if a couple of millions of people can use chatgpt in the manner they do today, w
426.
▲
by
kaba0
2y ago
Which is the same order of magnitude? Also, how often do they train from scratch?
427.
▲
by
kaba0
2y ago
That energy is still on the order of a household’s yearly electricity, not that of Argentina as cryptos were, and that’s just for training. Inferring is much cheaper and arguably provides quite a lot of value (even though I also think it is
428.
▲
by
kaba0
2y ago
It might even be a problem without garbage collection - linux might be a big culprit here with its tendency to over-allocate. Some signal would be welcome that says “try to free some memory” - I believe OSX has something like that.
429.
▲
by
kaba0
2y ago
If you worry about your parent knowing your exact location, then maybe it’s not a healthy parent-child relationship to begin with. They don’t have to sit at school, and they can wander around, without telling me — but if there is a serious
430.
▲
by
kaba0
2y ago
> With manual memory management (and also with reference counting), whenever an object is no longer being used, its memory will be immediately released Well, this is a fundamental space vs time tradeoff — reclaiming memory takes time, us
431.
▲
by
kaba0
2y ago
You might want to take a look at GraalVM’s Isolates. They are lightweight security boundaries, that can even limit things like memory usage and cpu time, for java, js, python among other languages, all within a normal JVM process.
432.
▲
by
kaba0
2y ago
This is mostly about supply chain attacks, where transitive dependencies are at play. Those are mostly just already built jar files, that can still contain annotation processors, but not build scripts.
433.
▲
by
kaba0
2y ago
No other comes to mind. Most other libraries are proper annotation processors, meaning they abide by the rules and are only additive, generating new classes. One such would be mapstruct which is pretty frequently used.
434.
▲
by
kaba0
2y ago
It’s pretty easy to statically verify that, say, no dependency (even transitive ones) contain a System.exit call. It’s basically impossible to determine what your annotation processors will output besides running them yourselves (and their
435.
▲
by
kaba0
2y ago
OracleJDK has LTS defined. OpenJDK doesn’t, but as changes made to forks have to be migrated back to the original codebase, it does tend to be a “de facto” LTS version.
436.
▲
by
kaba0
2y ago
Well, I was sort of explaining it to the wider audience, but fair enough, I wasn’t actually aware it was the author.
437.
▲
by
kaba0
2y ago
Well, then he just prefers telling lies. Annotation processors can’t modify classes, this is a fact. The primary purpose of Lombok is adding new methods like getX and setX to the same class based on fields. It’s pretty easy to conclude
438.
▲
by
kaba0
2y ago
> this is a silly update in OpenJDK's war against things like Project Lombok Project Lombok doesn’t use the normal annotation processing system, as that is deliberately “add-only” - you can’t change a class’s implementation, unlik
439.
▲
by
kaba0
2y ago
> is absolutely reckless, in my opinion Yeah, also drunk driving, typing on your phone, etc. It’s almost like we can’t just trust our fellow humans, especially not on whether some automated black-box technology that not even its creators
440.
▲
by
kaba0
2y ago
Yeah, don’t push it on the driver. Push it on such a reckless company marketing their smart vacuum cleaner logic as FSD, and on the government for allowing such cars on the roads.
441.
▲
by
kaba0
2y ago
What a thoroughly uninformed and idiotic take. The narcissism of this field is astonishing.
442.
▲
by
kaba0
2y ago
Because only software engineers developed the ability of higher-thought, every other field is just a bunch of monkeys/NPCs living life. /s
443.
▲
by
kaba0
2y ago
That’s pretty ingenious to call people dumb. This is psychology and these tricks work on you even if you trivially understand that 3.99 is not feasibly cheaper than 4.00 — your brain simply processes information non-stop in the background a
444.
▲
by
kaba0
2y ago
I mean, given that this pricing is used everywhere by basically every commercial body on Earth, and it is a pretty easily testable hypothesis (like, literally, you need like 30 people at most and a couple of sheets of paper), it’s pretty
445.
▲
by
kaba0
2y ago
> The things I mentioned (local symbol auto-complete, reference-chasing, global go-to-symbol) are things that modern code editors do by default for any programming language they can syntax-highlight They can suggest some code, but they a
446.
▲
by
kaba0
2y ago
Anyone claiming bullshit like 10x difference has absolutely no basis in reality. Hell, there wouldn’t be an order of magnitude difference between your best setup vs literally touch typing on a foreign keyboard layout. Also, neovim is just a
447.
▲
by
kaba0
2y ago
That has not been my experience at all. VSCode is mostly just a code editor with plugins, while Intellij is a full-blown IDE.
448.
▲
by
kaba0
2y ago
Well, there aren’t too many more stable platforms out there, so your experience elsewhere couldn’t be all that cloudless either.
449.
▲
by
kaba0
2y ago
You mean not having the error that go just fixed by changing the language is a problem?
450.
▲
by
kaba0
2y ago
The funny thing is, go is significantly more verbose than even decade-old java.
More ›