Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lbalazscs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
lbalazscs
1y ago
A sentence from the article: "Given the extreme undesirability of any new language features I'd hardly propose bound-pointers now." It shows that C++ was considered too complex already in the 90s.
2.
▲
by
lbalazscs
1y ago
The link about Stiver has some details: > Stiver decided to write his own decompiler as a side project. To overcome the weaknesses of existing alternatives, he took a different approach. After reading the bytecode, he constructed a contr
3.
▲
by
lbalazscs
1y ago
We are already living in an (almost) ideal world: https://github.com/raphw/byte-buddy/discussions/1798
4.
▲
by
lbalazscs
1y ago
It's naive to hope that automatic tests will find all problems. There are several types of problems that are hard to detect automatically: concurrency problems, resource management errors, security vulnerabilities, etc. An even more im
5.
▲
by
lbalazscs
2y ago
In 2015 there was no ZGC. Today ZGC (an optional garbage collector optimized for latency) guarantees that there will be no GC pauses longer than a millisecond.
6.
▲
by
lbalazscs
2y ago
Regarding openings, there's a trade-off between chess training and chess results. Rote memorization can improve your results (if you already have good skills), but it won't improve your skills. Learning endgames is not about blind
7.
▲
by
lbalazscs
2y ago
There is a difference between memorization and rote memorization. In chess, rote memorization of master games or chess positions is not a recognized training method. Chess memory improves as a byproduct of analyzing many positions.
8.
▲
by
lbalazscs
2y ago
Your link is only for value types, but this one is more general, it's for any type. Obviously the two are related, but not the same. Nullability for value types has performance implications as well.
9.
▲
by
lbalazscs
3y ago
"Oracle GraalVM" (the former "Enterprise Edition") is now free, but (unlike "GraalVM Community Edition") not open source.
10.
▲
by
lbalazscs
3y ago
I guess you missed the part where Linus Torvalds has apologized for years of being a jerk. https://arstechnica.com/gadgets/2018/09/linus-torvalds-apolo...
11.
▲
by
lbalazscs
3y ago
The ONNX Runtime is written in C++ and it uses the GPU. And Java is certainly much faster than Python.
12.
▲
by
lbalazscs
3y ago
I often do a Google search, and then go directly to the Wikipedia result. My reasoning is that during the initial search, I don't know if there's a Wikipedia page about that topic, and I might need a fallback option.
13.
▲
by
lbalazscs
3y ago
I only used Launch4j on Windows, but in the downloads you can find Linux and MacOS versions as well. At the bottom of the webpage it explains that it can be built on even more platforms, if you have MinGW binutils 2.22 (windres and ld only)
14.
▲
by
lbalazscs
3y ago
jlink only creates a runtime (the parts of the JDK that are actually used by your app), but there's a relatively new command called jpackage for creating installers: https://docs.oracle.com/en/java/javase/
15.
▲
by
lbalazscs
3y ago
I actually did that, and I asked for the first paragraph from "Great Expectations", and the answer was correct. Of course the first paragraph of any famous novel is in itself famous, so I also asked for the first paragraph from Ch
16.
▲
by
lbalazscs
3y ago
My understanding is that Stream internals are a very complex piece of software that can have multiple different bugs. By the way, I agree with you that eager versions of the Stream methods should also be available directly on the collection
17.
▲
by
lbalazscs
3y ago
The latest Mockito works with Java 21; you'll just see a warning about the usage of the bytebuddy agent. In the future, you'll need to explicitly approve the loading of agents (you can call it "magic"), which will improv
18.
▲
by
lbalazscs
3y ago
I hope that 2024 will be the year when people stop pointing to duplicate or fixed bugs...
19.
▲
by
lbalazscs
3y ago
The question of "single UI or GPU bound thread" could be solved in a future release with custom virtual thread schedulers. Java 21 concentrates on solving the problem of server-side applications.
20.
▲
by
lbalazscs
3y ago
Ideally knowing "what is synchronous and what is asynchronous" shouldn't be your concern, just like freeing memory isn't your concern in a language with garbage collection. Similarly, you don't have to know the &quo
21.
▲
by
lbalazscs
3y ago
Oracle's main Java product (OpenJDK) is 100% open source and free to use. If you also want extra support, then you can also use the "Oracle JDK", which is technically the same as OpenJDK. The only difference is the support, w
22.
▲
by
lbalazscs
3y ago
Indeed. > The Franco-Swiss border runs through the CERN campus and building 31 is literally just a few feet into France. However, there is no explicit border within CERN and the main entrance is in Switzerland, so the situation of which
23.
▲
by
lbalazscs
3y ago
They claim that "Reddit, Slack, Gmail, Uber, etc" could also be done with a similar level of effort.
24.
▲
by
lbalazscs
4y ago
Here's a tested ChatGPT prompt: Suggest better variable and method names in the following Java code. Don't list the new code, only the changes, in the format "oldName" => "newName". You can also suggest mult
25.
▲
by
lbalazscs
4y ago
Fischer announced Fischer Random Chess in 1996, long after his retirement from competitive chess (1972). His reason for doing so in 1996 was very prosaic: he was simply no longer familiar with modern opening theory.