Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gf000
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
511.
▲
by
gf000
8mo ago
Well, you should have learned about the language something in the meanwhile then. 75% boilerplate, come on. It has records and pattern matching now. Many of the cases of boilerplate are strictly self inflicted. And this criticism is absolut
512.
▲
by
gf000
8mo ago
I mean, there are bad developers in every language. And old code continuing to run 10 years later is a huge value of the platform.
513.
▲
by
gf000
8mo ago
You can't have secure software running on arbitrary insecure hardware.
514.
▲
by
gf000
8mo ago
And even then they still don't live up to their promises, it is still not open hardware - there are a bunch of proprietary firmware, but especially silicon on these devices.
515.
▲
by
gf000
8mo ago
That's just security theater. If you can't trust the very CPU/OS that it only uses the camera/microphone when the notification is on, then what are you even doing with that device?
516.
▲
by
gf000
8mo ago
What is the supposed threat model here? Mr. Rich Guy sells me his personal device he used in the previous year because he wants new shiny phone, but he may have the very slightest chance of being a super evil genius? The government selling
517.
▲
by
gf000
8mo ago
Lambdas have been available for 10+ years. Also, hard disagree on "register" method being simpler. A register method is code, while an annotation is a static declaration, ergo data. The former can happen in a helper function, ren
518.
▲
by
gf000
8mo ago
"AI guys" use Claude CLI that renders to a terminal via freakin' react. Come on, java starts up fast enough and the memory usage can be set (better throughput vs less memory, it's a classic tradeoff. Go just defaults to
519.
▲
by
gf000
8mo ago
Well, that's just metaprogramming. Also, java annotation processors are strictly "append-only", they can't change code written as is. They may subclass it, or build new classes that make use of the annotations. In my exp
520.
▲
by
gf000
8mo ago
Mostly an automatic updater call (for javax->jakarta) and a few dependency bumps away in the majority of cases. Plain vanilla java code is really backwards compatible, on both a syntax, and on a binary level. You can often find decades
521.
▲
by
gf000
8mo ago
These are relatively small-scoped library changes only though. Meanwhile Go already had a language change, while being less than half its age (loop variable capture).
522.
▲
by
gf000
8mo ago
Well, there was a Claude outage today, maybe related :D My n=1 is that it is pretty good with Java, on par with other popular languages like Python and JS, in line with these 3 probably being a good chunk if not the majority of training dat
523.
▲
by
gf000
8mo ago
Sandboxing is a completely orthogonal issue and WASM is probably not a good direct target for LLMs. Of course writing a language that compiles to Wasm is certainly a way, but you would have to sandbox also all the other tools that is used d
524.
▲
by
gf000
8mo ago
More simplistic, not really simpler.
525.
▲
by
gf000
8mo ago
Not really. It has a pretty bare bones OOP (single inheritance, interface), primitives and objects, generics and pretty much that's it. Newer features fit very nicely and didn't increase the language surface (records are just a no
526.
▲
by
gf000
8mo ago
> Lifetime analysis is a local analysis, same as any other kind of type checking That's what the compiler is doing. The developer (or LLM) is supposed to do the global reasoning so that what they end up writing down makes semantic s
527.
▲
by
gf000
8mo ago
Interesting project, but I believe the base assumption is already slightly wrong. Why do we assume that LLMs know what kind of language would benefit them? This information is not knowable without doing proper research, and even if there is
528.
▲
by
gf000
8mo ago
For many (most) types of objects lifetimes can be a runtime property just fine. For e.g. a list, in rust/c/c++ you would have to do an explicit decision how long should it be "alive", meanwhile a managed language's
529.
▲
by
gf000
8mo ago
It's pure even with side effects. You basically compose a description of the side effects and pass this value representing those to the main handler which is special in that it can execute the side effects. For the rest of the codebase
530.
▲
by
gf000
8mo ago
I absolutely love Rust, but due to the space it occupies there is simply more to specify in code, and more things to get wrong for a stochastic LLM. Lifetimes are a global property and LLMs are not particularly good at reasoning about them
531.
▲
by
gf000
8mo ago
Most of these reasons apply to Java as much, if not more. It's an even more popular language with even more training data and also has a better type system so more validation on LLM output, etc.
532.
▲
by
gf000
8mo ago
Then keep using your phone made from magic pixie dust, because we live in reality where you can't just grow out "the perfect" hardware company from a seed.
533.
▲
by
gf000
8mo ago
https://youtu.be/JV-wY5pxXLo?si=ga-9Gg8IZfU6g8Tg It's vibe engineering
534.
▲
by
gf000
8mo ago
> You could take the exact same documents, prompts, and whatever other bullshit, run it on the exact same agent backed by the exact same model, and get different results every single time This is more of an implementation detail/don
535.
▲
by
gf000
8mo ago
Linux desktop on the PC also sucks. Where Linux shines is the absolute for-profit cloud/server world. Open source has places where it works really nice, bazaar is better at "wider" stuff (having an active community, etc), whi
536.
▲
by
gf000
8mo ago
No, gnu/Linux is nowhere near usable as a daily driver mobile device for 99% of the population. Besides having terrible battery life and security, it's just a hobby thing. Android has had millions of dev hours poured into it to be
537.
▲
by
gf000
8mo ago
I'm talking about the OS though.
538.
▲
by
gf000
8mo ago
There are some functionality limited to google play services, but it really is not too much in my opinion.
539.
▲
by
gf000
8mo ago
> "Temu iOS" Come on, that's absolutely laughable. There are several topics where Android is significantly ahead to the point that iOS is just a toy, and there are areas where the reverse is true. And I say that as a recen
540.
▲
by
gf000
8mo ago
Then why did they go out of their way and made the bootloader able to load another OS?
More ›