Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brabel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
901.
▲
by
brabel
1y ago
And GWT which allowed literally running Java on the web (without a plugin, it compiles Java to JS). It still exists and is maintained but not a Google project anymore despite the name. https://www.gwtproject.org/
902.
▲
by
brabel
1y ago
> I think people who say this haven't gotten much experience in rust. In my experience they spent a week trying to learn rust and decided to stop and compare it to their years of other languages and paradigms. I have written Rust fo
903.
▲
by
brabel
1y ago
No, nudity != sexual
904.
▲
by
brabel
1y ago
Australian news websites tend to tell long stories in this style. It’s nice when you get used to it.
905.
▲
by
brabel
1y ago
Rust is objectively harder to write than Go (or any other GC-language) because it exposes more concerns for the programmer to take care of. With Rust, you must always ensure your program complies with the borrow checker's rules (which
906.
▲
by
brabel
1y ago
Optimizing for the JVM is a nightmare (or trivial depending on your point-of-view). Another anecdote: I profiled our Java-based server and concluded that most of the time was being spent on creating temporary DI containers for request handl
907.
▲
by
brabel
1y ago
> there were at least 7 forks/implementations out there There are 17 listed on SDKMAN's website: https://sdkman.io/jdks > OpenJDK As far as I know, all other distributions of the JDK are forks of OpenJDK. Wo
908.
▲
by
brabel
1y ago
You don’t even need GraalVM. Use jlink (part of the JDK) to create a JVM runtime with only the parts of it that you use, specially if you use the module system. Then you distribute your app as a binary basically, plus the resources it needs
909.
▲
by
brabel
1y ago
Everyone criticizing AI for not "understanding" anything... yet, as you found, and many others have also shown before, explain something to them and they bloody well look like they do understand it. I am still in awe at what LLMs
910.
▲
by
brabel
1y ago
I've been a "mainly" Java programmer for 15+ years (I've used several other languages, but Java has remained the main one over all this time). I only did something like 1 year using Spring in one of my early jobs. So, wh
911.
▲
by
brabel
1y ago
Were you right because you knew something they didn't, or you were just as irrational (maybe more given you were "a junior"?) but got lucky in being stuck with an opinion that eventually turned out right?
912.
▲
by
brabel
1y ago
Speak for yourself. I haven't seen any bug like this in Java for years. You think you know better and my experience is not valid? Ha. Ok. Keep living in your dreams.
913.
▲
by
brabel
1y ago
> This is an example where ownership semantics would have prevented that bug. It’s also a bug prevented by basic good practices in Java. You can’t cache copies of mutable data and you can’t mutate shared data. Yes it’s a shame that Java
914.
▲
by
brabel
1y ago
I was a bit wary of trusting the AI summaries Google has been including in search results… but after a few checks it seems like it’s not crap at all, it’s pretty good!
915.
▲
by
brabel
1y ago
Completely agree. The server/client example in the post was just one example of a program not being able to make progress, you’ve just gave another which cannot be solved the same way, and I would bet there are many more that they will
916.
▲
by
brabel
1y ago
After many years using libraries without any sort of vetting process, I completely agree in principle that most code out there is bug infested garbage. One dependency had a concurrency bug so severe it almost cost our company our biggest cu
917.
▲
by
brabel
1y ago
> I also experienced living in countries where everyone mostly blindly follow the rules, even if they happen to be nonsense. The problem with that is that most people are not educated enough to judge what makes sense and what doesn’t, an
918.
▲
by
brabel
1y ago
It was also possible to buy land in Sweden for 1 krona (less than 20 cents) some time ago. This article tells what happened (in Swedish): https://www.livetiskaraborg.se/berattelser/tomter-for-1-kron... Summary, they on
919.
▲
by
brabel
1y ago
With the difference that if you get a single character wrong you will get an error that might as well be written in Greek.
920.
▲
by
brabel
1y ago
Agree . We had training to learn how LLM applications can be developed and it was obviously in Python. Never liked Python but between dependencies issues (the demo project used uv but somehow the author forgot to declare some dependencies w
921.
▲
by
brabel
1y ago
One is a sensible choice a human might pick. The other is not.
922.
▲
by
brabel
1y ago
Amazing. If you need to ask this question I am guessing you have spent too long with Python . No other language uses this underscore madness for special methods or otherwise. Because it’s just , I don’t know a more appropriate word for it ,
923.
▲
by
brabel
1y ago
What a ridiculous argument. Every project and company that has a trademark should be allowed to protect that, including by claiming domains clearly intended to appear associated with their trademark. Being offended by strings has nothing to
924.
▲
by
brabel
1y ago
Mate, if you need to install something on a server how the hell can it be called client-only??? eMacs is an example of client-only perhaps, with TRAMP as it works purely on top of SSH , though you could argue it still isn’t client-only as i
925.
▲
by
brabel
1y ago
Hm I can guarantee that the frameworks I listed above will be well maintained for a long time and are much more “battle tested” than Dropwizard itself (though some of the libs that it includes are actually independent and used in other fram
926.
▲
by
brabel
1y ago
I think they meant Go should be in the list of languages influenced by … but one language influenced by Go I believe is Odin.
927.
▲
by
brabel
1y ago
There are several well maintained Common Lisp compilers, some of which are paid for and can sustain whole businesses, Clojure is fairly big as niche languages go, and Guile Scheme is used across GNU projects. There’s also some usage of Rack
928.
▲
by
brabel
1y ago
Great point. But some newer languages do keep compatibility, with Java (Scala, Groovy, Kotlin, Clojure) and .Net (C#, F#, Visual Basic, Powershell) “platforms” being an example, but also with system languages that normally have some simple
929.
▲
by
brabel
1y ago
I used it a long time ago. As far as I know, it's an abandoned project now, very few people use it in the Java community. Go for one of the more popular ones: Spring, Micronaut, Helidon or Quarkus.
930.
▲
by
brabel
1y ago
You're right, Go errors if you do not use a value, so it's very hard to forget to check for the error. I might have been thinking about another language, consider my comment about Go retracted.
More ›