Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gf000
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
211.
▲
by
gf000
4mo ago
I think GC's definition is pretty clear cut. How is counting references to determine when a lifetime ends materially different from another way of doing the same thing? Like there is even a paper that shows that one is tracking livenes
212.
▲
by
gf000
4mo ago
The hard part was never getting it correct on a local scope, that's mostly solved by a linter, or even C++'s RAII will get it right. The hard part is doing it correctly on a global scope with non-trivial lifetimes, possibly influe
213.
▲
by
gf000
4mo ago
Just because it's not a reasonable way to pirate stuff, doesn't make it legal -- just try your luck with Disney and let's see when they bite. Why would we let one company ignore the law, while rudelessly enforcing it in other
214.
▲
by
gf000
4mo ago
I mean, most of us will probably never actually experience having murdered someone. Yet we still can enjoy the though process of such a person through the book. I don't see why "paying rent" is any more difficult to experienc
215.
▲
by
gf000
4mo ago
For endlessly reselling the whole work verbatim? Well, where can I buy such a license in the real world, because then I would like to buy a couple of those!
216.
▲
by
gf000
4mo ago
Well, anthropic can just catch these and cancel their subscription - what's the problem? It's almost like websites also have their robots.txt files that anthropic blatantly ignored. What's the problem, that now a US company i
217.
▲
by
gf000
4mo ago
Since whole chunks of these books can be recited verbatim by these models, to which they sell access, they absolutely are republishing and reselling these books' content in a way. Like I remember a research paper that managed to recrea
218.
▲
by
gf000
4mo ago
It's maybe how it works in the US, but that sure as hell not how it works in the EU (my snark wants to continue as "or any sane legislature")
219.
▲
by
gf000
4mo ago
From a EU perspective similar could be said about the US market - no strict worker protections, lobbying, and a general "capital first" mindset over the users/people (see GDPR etc).
220.
▲
by
gf000
4mo ago
You can write anything in TOS, many parts of it is non-enforceable and depends a lot on the local laws.
221.
▲
by
gf000
4mo ago
Like how would you even define what a jailbreak is?
222.
▲
by
gf000
4mo ago
E=1/2 m v^2 The energy of a crash at the same speed is linearly scaled with mass though. Especially when you have two such monsters collide, it's significant.
223.
▲
by
gf000
4mo ago
Is that not a significant enough number in and of itself?! Like it even begs the question, how were they allowed to go onto the roads in the first place, when it's not even a hard to reach consequence.
224.
▲
by
gf000
4mo ago
Well, then what if someone with a better score got the job you were going for, even though they are not smarter, just prepared more for the test?
225.
▲
by
gf000
4mo ago
So you yourself has just given an example how easy it is to temporarily get good at "test-filling", by simply preparing for that. The question is whether a given test measures anything relevant - did your friend become a better pr
226.
▲
by
gf000
4mo ago
Visitor pattern is there due to a very simply reason. You have n datatypes with m functions. FP languages makes adding a new row to this n m table easy, OOP languages makes adding a new column easy (that is, without changing every* use sit
227.
▲
by
gf000
4mo ago
I agree on the standard web point, but you still failed to reply to what is a native UI for every OS. Portable frameworks exist, but they are at most native to a single platform.
228.
▲
by
gf000
4mo ago
Well, getting a hardware-accelerated blank buffer onto a screen to render video content is hardly the epitome of graphical user interfaces. VLC has very few and basic UI elements. Jetbrains is a better example, using Java with Swing which
229.
▲
by
gf000
4mo ago
I want to have both linux and mac users (but maybe also android, ios, windows). You clearly see the issue.
230.
▲
by
gf000
4mo ago
Well, maybe Java's AWT has been correct all this time. Of course there is value in having "OS-native" buttons, transitions, windows etc. And many parts of GUIs are basically standardized. The problem is all the parts that are
231.
▲
by
gf000
4mo ago
Consistent like what? Like maybe a decade ago one could say that osx was consistent, but nowadays even SwiftUI and cocoa is visibly different, let alone every second app that uses electron. And people don't care. Windows has like 4 fra
232.
▲
by
gf000
4mo ago
Which native framework? Even in a "post-vibe code" era I wouldn't want to create multiple versions of the same app, and none of the "platform-native" GUI toolkits run on everything. SwiftUI is apple-only, gtk has pr
233.
▲
by
gf000
4mo ago
Well, it's easy to "not trust yourself" when you have user-submittable content that you display for other users. Sure, one should absolutely sanitize it, but layered security is important.
234.
▲
by
gf000
4mo ago
References can't tear in Java, per the specification (long and double could actually, the spec only talks about references and 32-bit slots being tear-free - though actually almost all implementations have them atomic as it's prac
235.
▲
by
gf000
4mo ago
Not sure I would call them the same - not too familiar with Swift but for rust you probably mean types implementing the Copy trait? But Java's value types are a higher level semantic feature, these objects may do a Copy or a Clone ba
236.
▲
by
gf000
4mo ago
That's like going to a steak bar and saying that this place sucks after the pre-dinner snacks. Java JEPs are piecemeal, there is plenty other JEPs building on top.
237.
▲
by
gf000
4mo ago
> allocation of blocks of memory on stack) Why couldn't it be done? Like sure, it won't happen in every case (e.g. too big value classes), but for a typical local variable of a value type, it's a trivial optimization to ma
238.
▲
by
gf000
4mo ago
What a dumb comment. It's almost like a low-level language having a different feature set is expected. Also, there is no exact analogue, C++ is just wholly different where you can specify copy/move/destruct semantics on a gra
239.
▲
by
gf000
4mo ago
Well, my old code can have a List<Object>, and I can pass my new type into it and have it do some operations. Let alone with reflection - so backwards compatibility is more complex than that. As for structs, Java avoids e.g. tearing i
240.
▲
by
gf000
4mo ago
Both languages/runtimes are decent, stable and good choices for running production systems. They have different philosophies though, C# is mostly "give the developer a complex toolkit so they can do whatever they want, but keep th
More ›