HNHacker News
TopNewBestAskShowJobs

flohofwoe

23,650 karma · joined October 15, 2013

submissionscomments
flohofwoe··on A graphical desktop for the ZX Spectrum
Maybe Claude one-shotted the project ;)
flohofwoe··on A graphical desktop for the ZX Spectrum
There is practically no other choice on a Z80. C compilers really don't like the Z80 ISA and create both slow and bloated output, at least compared to manually written asm. And on top, you can do many optimization tricks in assembly that simply are not possible in a high level language (self-modifying code, jumping into the middle of an instruction, etc...).

Forth might work better than C, but tbh, assembly code is more straightforward and easier to read than Forth ;)

flohofwoe··on A graphical desktop for the ZX Spectrum
For me the red line is obviously AI generated readmes. If the author can't even be arsed to write obviously human facing text by himself I immediately lose all interest too.
flohofwoe··on A graphical desktop for the ZX Spectrum
Not the parent, but it reads a lot like written by AI. It has that typical breathless style that's exhausting just from reading.

Also, looking at the code, the whole project looks vibe coded, no human would write such comments. Everything in a single git commit also looks "suspicious". It's cool that LLMs can write Z80 asm now, but yeah "labour of love"... tsk tsk tsk...

flohofwoe··on Typesafe-computer-use drives a Mac toward a goal for 1/50th of a cent per step
I don't quite agree with the Assembly => Compilers => LLMs as some sort of "stages of evolution" argument tbh.

LLMs are an additional way to generate code, but it's not like code generation or "low-code" tools are a new thing that made compilers and programming languages obsolete.

LLMs "just" allow to provide the code generation input directly in human language. But whether providing such a specification in "sloppy" human language instead of a precise specification language is actually a good thing for long term projects is still arguable (as convenient as it is).

Mathematicians and engineers invented their own precise "DSLs" (e.g. math notation and blueprints) for exactly this reason, and high-level programming languages are nothing else than "specification languages" that don't leave room for the ambiguities of "natural languages", and it's still not clear to me how having both a natural language specification and a precise specification in form of source code side by side can be considered a good thing. It's easy to say of course that the "natural language specification" is the single source of truth and the source code is a throwaway output artifact, but then you're back at having a specification written in a language that's useless for expressing precise intent.

(and this is also the fundamental difference between compilers and LLMs and why I believe that comparing LLMs to compilers is wrong: determinism. The output artifacts of a compiler are literally throw away. Nobody in their right mind would commit object files into version control, while nobody in their right mind would not commit the source files generated by LLMs into version control, because creating the source files from scratch would yield different results on each run).

Releasing the harness as part of LLM-generated projects still makes sense of course :)

flohofwoe··on When the fractional part of a float fixes your shader
In short: Benchmark numbers were always more important than consistency (traditionally, GPU vendors competed on frames-per-second, not on image quality).

E.g. floating point behaviour is only the tip of the iceberg. Every GPU vendor also does mipmapping differently (to balance image quality versus required memory bandwidth).

flohofwoe··on Typesafe-computer-use drives a Mac toward a goal for 1/50th of a cent per step
That sort of careful work would take more than 7 commits and 1 hour though ;)
flohofwoe··on Typesafe-computer-use drives a Mac toward a goal for 1/50th of a cent per step
Tbh, I still wonder why people even bother releasing such tools that were shitted out by an LLM in an hour or two, these are basically the modern equivalent of a hastily cobbled together 10-liner shell script (still useful, but not something you'd ever put up as its own Github project).

Everybody else can write such tools now by themselves in at most an hour, and they get a tool that's more personalized to their tastes. And why have a readme at all when it's just LLM mumbo-jumbo - that sort of mumbo-jumbo is written for LLMs to consume, not humans.

flohofwoe··on When the fractional part of a float fixes your shader
It has nothing to do with WebGL though, that same problem might happen in native 3D engines too as soon as you need to support multiple 3D APIs from a common shading language.

On the contrary, WebGL2 is probably the only 3D API that comes even close to the idea of "write once, run everywhere".

flohofwoe··on When the fractional part of a float fixes your shader
It turned out to be something different, but another much more common source of shader output differences is when a float value is clamped to integer (with the value being very close to the closest integer), and then use the clamped value as index (or tex coord with an unfiltered sampler). This may result in an off-by-one error on some gpu/driver combos but not others. Completely understandable why it happens, but hard to catch unless testing on a wide range of GPUs and drivers.

TL;DR: don't expect that floating point operations on GPUs are strictly IEEE-754 compatible

flohofwoe··on EU chief opens door for Canada to become 'associate member'
> ...while Russia got kicked out?

For starters, neither Israel nor Azerbaijan threaten Europe with nuklear annihilation on a nearly weekly basis.

flohofwoe··on The GDR and Vietnam: From Fake Coffee to Coffee Empire
> And while I don't know whether there was blackmail involved I do know that there was terrorism involved (the GermanWings crash on 3/24/15, ridiculously blamed on "pilot suicide").

Lol, ok wacko... whatever you say.

flohofwoe··on Steam Frame starts at $1059
WeWork 2.x any time now ;)
flohofwoe··on iOS 27, iPadOS 27, and macOS 27
One pretty bad regression is that the Spotify client now from time to time has pretty bad audio glitches on my M1 Pro Mac (of course this may end up as a typical fingerpointing issue, e.g. whether the bug is in macOS or in Chromium - but it definitely regressed from macOS 26 to 27).

Otherwise macOS 27 is mostly okay-ish though, especially compared to 26.

flohofwoe··on The GDR and Vietnam: From Fake Coffee to Coffee Empire
It wasn't much of a problem until Russia decided to go all-in on its "imperial ambitions" again which made it an unreliable trade partner for Germany.

Remember: it was Russia which tried to blackmail Germany by shutting down the pipelines, and that was before the Ukrainians settled the matter once and for all by blowing up Nordstream (Russia had been shutting down the gas flow indefinitely by end of August 2022 after three months of back-and-forth, and the dry pipeline was finally blown up end of September 2022).

flohofwoe··on GPT-5.6 Luna vs. GPT-6 Astra: Is a $1.20 Model Good Enough for Code Review?
JFC, get off the Kool-Aid dude ;)

...of course you're likely just trolling, hard to say with the drivel coming out of Silicon Valley the last few years. In that case: my apologies and keep up the good work :D

flohofwoe··on How to write an effective software design document
IME when starting a project from scratch, detailed upfront architecture specs are pretty much required to keep LLMs from flailing around too much (unless of course you build another cookie cutter CRUD webpage, those can simply copy paste from the millions of examples on the internet).

In a way it's a return to waterfall, just with faster implementation phases.

flohofwoe··on The GDR and Vietnam: From Fake Coffee to Coffee Empire
Pretty sure it would have been "Made in GDR" ;) Must have been leftovers from before 1991, or maybe Pneumant (the former GDR tyre company) indeed never cared to update the original molds until Goodyear bought them in 1999.
flohofwoe··on The GDR and Vietnam: From Fake Coffee to Coffee Empire
I guess its mostly known through the "Made in GDR" label (some GDR products were actually pretty good bang for the buck, and good enough for "non-socialist" markets too).
flohofwoe··on The GDR and Vietnam: From Fake Coffee to Coffee Empire
Nobody wants that shithole back. Unless of course the Czechs want a harbour, in that case they can have it ;)
flohofwoe··on The GDR and Vietnam: From Fake Coffee to Coffee Empire
It's the "historical" pre-WW2 name of the region. But as "Ossi" I must say the name never sat well with me and the name MDR is one of the bigger fuckups of the reunification, it's essentially revisionist bullshit
flohofwoe··on The GDR and Vietnam: From Fake Coffee to Coffee Empire
Muggefug! :D
flohofwoe··on The GDR and Vietnam: From Fake Coffee to Coffee Empire
Might have to do with the fact that East Germany's Uranium deposits dried up sometime between the late 60s and early 70s (but of course there was also the global oil crisis around that time). In the early days the GDR provided most of the Uranium for the Soviet nukes, and there was constant haggling about who pays what (usually the GDR) and how much profit the GDR was allowed to take (usually not much). Cheap oil and gas might have been a part of the deal, until West Germany also discovered that the Soviets were willing to sell cheap to the "class enemy" during the 1970s (e.g. that problem of (the whole of) Germany becoming dependent on Russian oil and gas started much earlier than most people realize today.

Also related fun fact: the GDR started to refurbish and use old steam locomotives again as a result of the oil crisis. I remembered seeing those regularly as a child, and then later wondered what caused this anachronism.

flohofwoe··on Don't be the out of touch Kung Fu master
I kinda of agree, but still believe that writing most of the critical(!) code yourself has long term benefits. IME the initial mental model hardly survives contact with reality and all those little micro decisions that come up during implementation are good to do on your own and have in your own head instead of being buried in an LLM managed decision record where no human ever ventures.

It all depends of course where the code sits between "low level mission critical code" and "high level throw-away code". every non-trivial project has code across that entire range.

E.g. the lower level the code, the more I want to get directly involved, and that may mean typing each line manually to get that code directly into my head (IME for that purpose, writing is better than reading - have that manually written code reviewed by LLM instead).

Of course that only works if you don't have a manager breathing down your neck who insists on prioritising implementation speed over quality ;)

Also you should try assembly coding with modern (non-LLM) tooling, it feels incredibly more productive than with the primitive tools on slow machines of the past.

Also:

> software engineers can focus on data structures, software architecture and algorithms.

Come on, this is was already "normal" decades before LLMs, that's why an entire zoo of high level languages was created which allow to describe a solution in a highly abstract (yet still precise) way. Replacing this high level problem specification in a programming language with a "sloppy" human language specification is arguably even a step back.

(also tbf, I'm writing this comment while sitting in a cafe while the LLM at home is busy coding a GL mocking library ;) (which is exactly the boring type of throwaway code which should be automated)

flohofwoe··on Don't be the out of touch Kung Fu master
IMHO getting rid of proper QA done by teams of QA specialists is the main reason for the current software quality crisis (and that already started 15 years ago or so). We should go back to QA teams and proper QA procedures! Automated tests are no replacement, especially when they are set up by the same people designing and building the product.
flohofwoe··on Rust is tier-1 language at Microsoft
It means it's about as good as C++ ;)
flohofwoe··on Rust is tier-1 language at Microsoft
Optimistic to assume that modern day programmers even know what a debugger is, or if they do, consider it as anything else than some weird ancient shibboleth only used by the greybeards ;)
flohofwoe··on The UN challenges five centuries of cartography
True, but he mainly seemed to have made a splash in the US with the colonialism angle. I don't think there was much of an outrage in either direction in Germany about that topic in the 1970s. I guess most people just shrugged and moved on because popular map projections already did balance relative size vs shape long before the 70s, and Peters-Gall was just a variation and not all that different to what was already established.
flohofwoe··on The UN challenges five centuries of cartography
> and more to do with the fact that the British were the first people on Earth to invent a way of measuring longitude at sea accurately

...OTH if Britain wouldn't have been a globe-spanning empire, they wouldn't have needed a more precise way to measure longitude, and probably wouldn't have invented it ;)

E.g. the Brits had built a whole government body around the task, which then resulted in a competition, with Harrison's chronometer coming out as winner:

https://en.wikipedia.org/wiki/Board_of_Longitude

flohofwoe··on The UN challenges five centuries of cartography
...which seems to have been an entirely US-centric debate (especially when it was brought up again in the late 2010s), which explains why Europeans seem kinda baffled by the discussion. But projections that preserve size much better than Mercator were common in education systems outside the US long before the 1970s - mostly a projection closer to Robinson which is a compromise between preserving relative size without distorting shape too much, while still mapped on a common (but not rectangular) 2D area.
← PreviousPage 8 of 34Next →