HNHacker News
TopNewBestAskShowJobs

flohofwoe

23,650 karma · joined October 15, 2013

submissionscomments
flohofwoe··on GitHub Outage Tracker: Is GitHub Cooked?
They could throttle git operations to a level which isn't noticeable by normal 'human' usage but seriously slows down automated usage. These are basically DDOS attacks.
flohofwoe··on GitHub Outage Tracker: Is GitHub Cooked?
> they're not limiting access to the site or (intentionally) throttling newcomers

They can simply throttle access for everyone to a push/merge frequency which was normal for human-maintained projects.

They should look at how MMOs battle cheating/botting and apply similar countermeasures (it's actually quite absurd that MMOs which are actively attacked every minute have a better uptimes than Github, and on Github the problems are even self-inflicted, not caused by external attacks).

But of course throttling bots to human-level push/merge frequency wouldn't be compatible with the Github leadership's 'AI bullishness'.

flohofwoe··on Disruption with Some GitHub Services
It would probably be better to run projects with extremely high commit/merge frequency on a separate "slop infrastructure", basically like MMOs move cheaters to their own servers ;)
flohofwoe··on Apple introduces M6 and M5 Ultra
> But hey, microservices and static linking are the future. /s

Aren't those two things contradicting each other? ;)

I think macOS getting more sluggish in each release (which is objectively true) is just plain old bad software engineering and prioritising the wrong things. E.g. it's just Apple's version of "What Andy giveth, Bill taketh away.".

flohofwoe··on Apple introduces M6 and M5 Ultra
A high refresh rate is only a crutch/workaround to reduce latency caused by too many pipeline stages until an input action shows up on the screen. A better fix is too reduce complexity in the involved software layers.
flohofwoe··on Apple introduces M6 and M5 Ultra
Tbh, Ubuntu/Kubuntu is fine if you're not a Linux die hard and just need a balanced OS that either feels more like macOS (in that case go for vanilla Ubuntu) or like Windows (in that case go for Kubuntu).
flohofwoe··on Apple introduces M6 and M5 Ultra
Plain Kubuntu on an Asus Zenbook OLED 14 laptop looks and feels pretty great compared to both Win11 on the same machine (ok that's not really surprising) or current macOS on an M1 Pro MBP (hardware is pretty old by now ofc). Once you start CPU intensive tasks the ASUS gets pretty hot though, while the Mac at most gets a bit warm.
flohofwoe··on Anthropic tells staff to work from home due to possible security team strike
In German, 10^9 is a 'Milliarde', and a 'Billion' is 10^12.

The Wikipedia article has a nice map what countries use which convention (search for "Current Usage"):

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

flohofwoe··on Anthropic tells staff to work from home due to possible security team strike
Apparently it's different between Portugal and Brazil? (e.g. Portugal => long-scale, Brazil => short-scale - but that's just what ChatGPT is telling me). E.g. maybe it's more of a 'Europe-except-UK vs Americas' thing?
flohofwoe··on Anthropic tells staff to work from home due to possible security team strike
Most likely a typo (fixed by now), but in some (most?) non-English languages billion is the correct word for 10^12 instead of 10^9, usually the error happens when translating from English though, not into English.
flohofwoe··on New EU-wide product repair rules come into force
> I don't know why it is not allowing me to reply to you.

There's a 10 minute timer on HN to avoid discussions becoming too heated (at least AFAIK that's the reason).

> You are essentially asking them to adopt an open-source model. That can mean giving up control over its intellectual property and potentially exposing proprietary technology to competitors, especially when some products are valuable precisely because of the software that runs on them.

...and nothing wrong with that. The right-to-repair is mainly aimed at discontinued products anyway, at that point the "IP" is so old it doesn't require protection (and to be honest, the whole concept of long term "intellectual property" is bullshit anyway, just as long-term "copyright" - about 3 to 5 years is a reasonable time frame for 'exploiting' a novel idea, after that it should be free for all - at that time your competitors will have figured it out anyway).

In the 80s it was entirely normal to get parts lists, schematics and ROM listings when buying a computer for instance (and I guess other electronic devices too), there is absolutely no reason why access to the same information should be restricted today.

flohofwoe··on Z80 – The 1970s Microprocessor Still Alive (2021)
In the end, you could do memory load/stores with around 1 byte per microsecond on most home computers, no matter if 6502 or Z80. The Z80 did less work per clock, but was usually clocked 2..4x higher than 6502 based systems, which made up for the higher instruction cycle counts (the 2 MHz 6502 systems might have a slight edge against a 4 MHz Z80, but it wasn't night and day, and the C64 got away with its 1 MHz clock because the CPU was more or less just a controller for the various custom chips).
flohofwoe··on Z80 – The 1970s Microprocessor Still Alive (2021)
Nitpicking, but since the M5 includes cache and GPU a more realistic comparision would probably be to count all transistors in an entire 8-bit home computer system against a modern integrated GCPU (e.g. from googling around a C64 might have around 0.75 million transistors, most in the memory chips).

And in a way, those old 8-bit home computers also worked like a single integrated 'super-chip', because the whole system was driven by a single clock and entirely 'hard realtime', while modern computers are much more asynchronous (and I guess this asynchronous design is what enabled most performance improvements that go beyond pure transistor count scaling).

flohofwoe··on Z80 – The 1970s Microprocessor Still Alive (2021)
"Simple" is really not a word I would associate with the Z80 ;)

The ISA is quite messy because of the backward compatibility requirement with the Intel 8080 (e.g. the Z80 had to fill undocumented gaps in the 8080 opcode encoding map with new instructions, four of which were prefix instructions to unlock additional instruction 'subsets' (DD/FD for replacing instructions involving the HL register pair with indexed addressing modes via the IX/IY registers, and ED/CB prefixes for adding two entirely new opcode blocks).

If the Zilog engineers would have been free to design their own ISA I'm sure they would have been able to come up with a much more elegant design.

Also the Z80 had more than twice as many transistors as the 6502 (8500 for the Z80 vs 3500 for 6502).

I still prefer programming the Z80 over the 6502 though :)

flohofwoe··on Zig’s Io.Threaded is neat
> But making a custom version of, say structs is just a weird design.

This I don't understand? Zig structs are pretty much the same as in any other language, except that the declaration can be more flexible by building the struct type via comptime code (e.g. how Zig does generics) - and Zig groups structs and namespaces under the same keyword (which hardly matters in practice though).

> @SpecialThing

...not any weirder than `__builtin` keywords in Clang or GCC and at least in Zig it's obvious that anything starting with a `@` is a builtin, while in Clang/GCC the `__` is not explicitly reserved for builtins. ObjC also uses a leading `@` to separate ObjC keywords from regular C keywords. Agreed that the @-noise can get a bit excessive in Zig though (mainly because implicit casting is heavily restricted, at least compared to C).

> Multiline strings are also a weird addition

AFAIK the 'weird' multiline syntax is for keeping the parser simple and fast. Multi-line-strings themselves are a good feature to have though.

In general, if Zig code starts to look too 'noisy', that's usually a sign that the code should be simplified.

I definitely don't agree with all design decisions in Zig, but the syntax is mostly fine (my main critique points are that Zig often tries to lean too much into 'design purity' than 'programmer convenience' and that parts of the stdlib are too 'object oriented'.

flohofwoe··on Zig’s Io.Threaded is neat
LLMs are actually pretty good at finding potential memory corruption issues in unsafe langauges upfront, to a point where I wonder if it even still makes sense using Rust with its slow compile-edit-test loop in a fully automated code generation scenario.
flohofwoe··on Zig’s Io.Threaded is neat
Well, compared to what? Zig is much nicer to read than Rust or C++, about the same as Typescript, but not as nice as modern C.

But that's just my opinion.

Such questions usually come down to "how familiar am I with this programming language", and anything that doesn't look like your pet language looks ugly. Except Rust and C++ of course, those are objectively ugly ;P

flohofwoe··on The Lost Treasure of Sid Meier's Pirates
There's a Carrier Command 2 now, I didn't get too far yet into the game, but it seems to be a nice mix of retro vs modernization:

https://store.steampowered.com/app/1489630/Carrier_Command_2...

flohofwoe··on The Lost Treasure of Sid Meier's Pirates
I like how each city district can be systematically dismantled, you usually start 'raiding' the police- and drone-stations, which decreases surveillance and increases reaction time for reinforcements in later mission in the same district. For the bigger missions you'll first scout the area for alternative entry points which best match your team's abilities. Is a stealthy approach better or do you go in guns blazing, where will you position your sniper for the best effect? Sometimes you need to escort a civilian in or out, which completely changes the typical approach.

And within a mission you always need to maintain 'tactical awareness', always have an escape route in mind, scout ahead for guard routes and schedules, hack doors and cameras, select the best approach to tackle a specific type of guard or robot. And then of course no mission goes as planned, your team gets pinned down and you need to fight your way out or find a place to hide until the alarm level cools down.

Also depending on the approach you choose for a specific mission you may need to change your team's equipment and cyberware before entering the mission area, or maybe you decide that it's better to first raid the military barracks of the district, hoping to get some new weapon and cyberware blueprints. Or you spend some downtime looking for scientists to hijack (which increase research rate for blueprints), or look for new random people in the streets with better attributes for cloning. Or running low on money maybe it's better to first rob the district bank. Each new district is harder than the last, and during the entire game you're essentially preparing for the final confrontation with the main baddy.

For a relatively small indie game there's a lot of 'gameplay density', I can understand though that the game may feel repetivite, but especially starting to tackle a new district may quickly feel like routine, but that initial routine only exists as preparation for the two or three main mission areas in the district, and those are the 'meat' of the game.

flohofwoe··on The Lost Treasure of Sid Meier's Pirates
I think the consensus is that Europe was home computer land, while the US and Japan were game console land.

Especially the Amiga and Atari ST were much bigger in Europe than the US (mainly in Germany and the UK, and for Atari ST also France).

flohofwoe··on The Lost Treasure of Sid Meier's Pirates
> it came out on Steam as an early release but never quite made playability IMHO

Satellite Reign has been released as a full game, playable from start to finish and it's really excellent (no idea tbh why the Steam reviews are stuck at 'Mixed', kids these days smh...). It takes a bit to get into the 'flow' and discover all the little gameplay details but once you "got it" it's a lot of fun. I usually do a playthrough at least once a year.

Also re Pirates: one of my favourite 'strategy' games on the Amiga. The 2004 remake in 3D is fun but the graphics really haven't aged well and the art style wasn't all that great to start with.

I'd really like to see a modern 2D Pirates remake with a bit more historical details and fewer gimmicks (e.g. no sword fights and QTE dancing please).

flohofwoe··on The August 17 outage
It's like cancer growth though, not the 'good' kind of growth ;) E.g. I doubt that the number of Github users has doubled in that month too. Github should probably introduce daily commit- and merge-limits that slow down excessive clanker activity, but are high enough that a human doesn't notice. Alternative put users with excessive resource usage on their own 'sub-infrastructure' so that when this is overloaded, the regular users are not affected by the outage.
flohofwoe··on Xwayland 26.1.0 rc1
Hopefully forever tbh until a proper alternative to XWayland arrives:

XWayland is essentially the missing mid-level "Wayland client library" which fills the feature gaps caused by missing extensions of the underlying Wayland implementation and it provides a common and fully featured GTK/KDE-agnostic window managemnt layer. Until the Wayland project releases a client library 'for the rest of us' with a similar intent, XWayland is still very much needed for applications that don't want to or cannot link against GTK or KDE for various reasons.

flohofwoe··on The Two Factions of C++ (2024)
Indeed, picking C doesn't make sense when you actually want to write C++ code in C ;)
flohofwoe··on The Two Factions of C++ (2024)
> why would a C++ successor language use `fn main()` instead of using C/C++ style `int main()`

Apparently easier and faster parsing. Most modern language have arrived at the `fn bla(arg: ArgType): ResultType` form and I don't think they made that decision for purely aesthetical reasons.

flohofwoe··on The Two Factions of C++ (2024)
No, it's C :) And for me that's not even a hot take anymore, I switched back to C (specifically C99 and later) around 2017 after nearly 20 years of C++ as my main language, and I don't miss C++ the slightest. The hardest part was unlearning some bad C++ habits. The other 'behaviour change' for me was to open my mind to more programming languages. E.g. instead of trying to solve every problem with C++ I now pick a language that better matches the problem I want to solve (e.g. on one end of my language toolbox is C, on the other extreme end is Typescript, and somewhere in the middle are Zig, on Mac of course the occasional ObjC (not a fan of Swift tbh), and yes, sometimes even still modern C++ - in the end, the choice of language is mostly driven by the dependencies you need to use).
flohofwoe··on Memory prices climb 500% in 12 months
Easier to monetize though ;)
flohofwoe··on IBM Simon (1994): the original smartphone, explained in its own ad [video]
Ok yes, the 70s were less terrible (only because of Funk and Disco) ;)
flohofwoe··on IBM Simon (1994): the original smartphone, explained in its own ad [video]
I suspect it was rather the combination of cost (around $1000 1990's dollars), weight (>500g) and battery time (apparently only 30 minutes) which was the problem.

> and it looks a bit underwhelming in general

...only from today's perspective.

flohofwoe··on IBM Simon (1994): the original smartphone, explained in its own ad [video]
Wow, this ad is the living proof that the 1990s were just as terrible as any decade that came before or after - we just tend to forget the really horrible stuff (like showcased here, IBM desparately trying to be hip).
← PreviousPage 10 of 34Next →