HNHacker News
TopNewBestAskShowJobs

joz1-k

183 karma · joined July 9, 2024

submissionscomments
joz1-k··on An engineering history of the Manhattan Project
Thanks for the link! It was a good read. I also enjoyed the Wikipedia page about the B-29.
joz1-k··on Classic GTK1 GUI Library
Oh, yes, I remember those early times as well. :) The question is whether it's possible to maintain the legacy API and upgrade the internal architecture to use more modern approaches. I think it's almost always possible, but perhaps the cost to develop and maintain such a legacy layer is too high for an open-source desktop environment and toolkit. The Windows OS managed to support old APIs quite well, but the available resources are incomparable.
joz1-k··on Classic GTK1 GUI Library
Nice to see that someone is still maintaining the original GTK1 toolkit. It's like the classic Win32 UI API for the Linux/Unix. Linux UI libraries are a constantly moving target and one can be easily more occupied by adapting to those toolkit API changes instead of focusing on the features of the application itself. I guess that CinePaint developers decided at some point that they don't want to endure API changes in the UI toolkit anymore.

On the other hand, I think GTK1 doesn't even support Unicode.

joz1-k··on Adjacency Matrix and std:mdspan, C++23
One important thing to keep in mind when using std::mdspan: There is no stable version of GCC with official support. Not even version 15.2. You need to use the latest trunk. I discovered this after I had already written a significant amount of code using std::mdspan that compiled in Clang and MSVC.
joz1-k··on Apple 40W Dynamic Power Adapter with 60W Max
> For fast charging, pair the Dynamic Power Adapter with iPhone 17 models (50 percent battery in around 20 minutes) or iPhone Air (50 percent battery in around 30 minutes).

It looks like the dynamic 60W mode is limited to the iPhone 17 and the iPhone Air. This greatly limits its usefulness.

joz1-k··on An engineering history of the Manhattan Project
From the article: The alpha and beta calutron buildings eventually occupied an area greater than 20 football fields, and the entire electromagnetic separation facility grew to 268 buildings, requiring 20,000 workers to build.

This was an enormous undertaking in a relatively short amount of time, even during wartime. I can hardly fathom the scale and urgency of these operations. I suppose the Russians invested similarly massive resources to build their own A-bomb after the war.

Interestingly, it was believed at the time that German scientists were also very close to producing a nuclear weapon. As was later discovered after the war, they were not.

joz1-k··on Germany is not supporting ChatControl – blocking minority secured
I also think this is just a delay, not a final win. Also, this page hasn't been updated yet: <https://fightchatcontrol.eu/>

I recently heard a political discussion about this topic and was disappointed by the lack of technical competency among the participants. What we're talking about here is the requirement to run a non-auditable, non-transparent black box on any device to scan all communications. What could possibly go wrong with that?

joz1-k··on A love letter to the CSV format (2024)
The comma is too prevalent in the data to be a suitable separator. A semicolon would be a better choice.
joz1-k··on A love letter to the CSV format (2024)
Except that the "comma" was a poor choice for a separator, the CSV is just a plain text that can be trivially parsed from any language or platform. That's its biggest value. There is essentially no format, library, or platform lock-in. JSON comes close to this level of openness and ease, but YAML is already too complicated as a file format.
joz1-k··on Czech Police Arrest Driver of Mysterious Fake Ferrari F1 Car After 6 Years
The police were correct in claiming that all citizens are unconditionally obligated to obey a police order "in the name of the law," even if they suspect the order is partially or entirely unlawful. Of course, citizens have the right to file a complaint later.

Logically, this is a hard precondition for a police to actually being able to do their work. Imagine, that any person feel the right to question the police request.

I applaud the Czech police to be so gentle with this guy.

joz1-k··on Egui – An immediate mode GUI written in Rust
This looks really cool. Unfortunately, a sample demo UI page is using 2 cores of my CPU at 100% all the time just by doing nothing. I suppose there are many optimization tricks that can be applied to bring this down significantly.
joz1-k··on How to give a senior leader feedback without getting fired
There is a lot of truth in this, but especially when developers are semi-randomly promoted into leadership roles, they should be given enough time (and mentorship) to learn from their own mistakes. Some will learn very quickly (those with enough emotional intelligence), and some will learn nothing no matter how much time you give them. Being a good manager with formidable leadership skills is something you can only get through experience.
joz1-k··on How to give a senior leader feedback without getting fired
I agree. And the insecurity that these managers feel makes them very poor leaders. They tend to be overly subservient to higher-ups and just pass all management decisions down the chain without too much thought. And they like to punish any disagreement (no matter how reasonable) from their subordinates. Insecurity is the opposite of a culture of trust. And where there is no trust, there is no real leadership.
joz1-k··on From string to AST: parsing (2019)
Yes, that explains a lot of the complexity. Another reason is type checking/inferring and making the AST detailed enough for code analysis tools, such as code hinting in IDEs.
joz1-k··on From string to AST: parsing (2019)
I had exactly the same feeling as you after reading the article. And interestingly, all production parsers for all major languages are hand-written recursive descent parsers. On the other hand, if you inspect the actual code for these production parsers (even for newer languages like Swift, Scala, Kotlin, or Rust), the complexity and amount of code is still quite staggering.
← PreviousPage 2 of 2