HackerTrans
TopNewTrendsCommentsPastAskShowJobs

bernds74

no profile record

comments

bernds74
·지난달·discuss
The London Underground have been doing it in reverse for a long time. "There is good service on the Piccadilly line."
bernds74
·지난달·discuss
I would argue that even the basic concept behind STL is misguided. The rationale I often see is "you only need N algorithms for M container type, instead of N*M". This ignores the fact that algorithms and data structures are not independent of each other, and also that most of the time these days you're operating on vectors, so M ~= 1.

Case in point: list::sort. You don't want to try running quicksort on a linked list. Or remove_if: great we've abstracted the difficult task of removing things without erasing them, except we can't do it on maps. (C++20 seems to add an erase_if, apparently admitting that the two-step remove/erase is silly).

Then there's the fact that C++ iterators are basically pointers into the data structure, where for vectors (your common case) you'd do much better with index/container pairs, both for stability and bounds checking.
bernds74
·2개월 전·discuss
I had a chemistry teacher who told us that hydrogen reacts violently with oxygen, and this is how the hydrogen bomb works.
bernds74
·4개월 전·discuss
A brand new pair of brogues, rattlin' o'er the bogs...
bernds74
·8개월 전·discuss
There's this: https://www.ifwiki.org/ZILF https://zilf.io/

Although I haven't played with it and can't tell you whether it can compile the open source Zork.
bernds74
·8개월 전·discuss
"if let" just breaks my brain, it feels backwards to me and takes me a minute each time to work out what's going on. In 40 years of programming I've never seen a syntactic construct that I found less intuitive. And it would probably be easily fixable, if it was more along the lines of "if x matches Some(let z)".
bernds74
·10개월 전·discuss
Same here. Hollow Knight was simply wonderful - the graphics, the music, the characters, the boss fight designs, the melancholic feeling of the world. It's hard to say whether it was my best gaming experience ever because there's stiff competition, but it's definitely in the nominees. And I only heard about it way after the Kickstarter campaign.
bernds74
·10개월 전·discuss
It is that bad, at least for me. I enjoyed the first 8 hours of Silksong, but it turned very quickly after that because the punishments were just completely outweighing the rewards. No health upgrade in that time, no meaningful combat upgrade, and just an endless amount of bullshit.

Like those birds that will always mirror your movement to stay just out of reach, move erratically otherwise so you're guaranteed not to get a hit in (forget about hitting them with your spear when they're in the air), and just when you managed to get under them where you might be able to land a hit they'll drop down on you to deal contact damage and flutter away again.

10 hours in, and I've not even started the game since Saturday afternoon, when I was expecting not to be able to drag myself away from it (being a huge fan of the first Hollow Knight).
bernds74
·10개월 전·discuss
With everything doing 2 points of damage, including environmental hazards, the player is at effectively 2.5 hitpoints for a large majority of Act 1, as opposed to 5 in Hollow Knight. This changes the feeling of the game from "oh, a challenge, let's see what will happen and I'll learn" to "shit, a new room, I don't want to explore because I'll just get killed, where was the last bench, can I even get back here?"