Hacker Newsnew | past | comments | ask | show | jobs | submit | bernds74's commentslogin

The London Underground have been doing it in reverse for a long time. "There is good service on the Piccadilly line."


The phrasing they chose is particularly amusing, since it's always false regardless of the day. They could have said "usual service", and left in the plausible acknowledgement of the fact that it's hot, cramped, miserable, grubby, loud, plague-ridden, mouse-ridden, and generally unpleasant.


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.


List::sort is present exactly for this reason

STD::sort only works on a random access iterator, it won’t even compile if you try it on a list


I had a chemistry teacher who told us that hydrogen reacts violently with oxygen, and this is how the hydrogen bomb works.


I had a chemistry teacher who insisted that the fissile isotope of Uranium was U-238 not U-235. I challenged him on this multiple times and he refused to budge on this. I get that it's a simple mistake to make (it seems like U-238 is bigger so intuitively ought to be less stable) but he could have just looked it up and he didn't, I guess he was just so confident about it that he thought there was no way he could have been wrong about it.


Well you can make a hydrogen "bomb" that way. Just not the hydrogen bomb.


Hey it's a bomb made out of hydrogen! Also the deployment system for a thermonuclear bomb might involve that reaction in the rocket engine.


I had one that mentioned this too :(


A brand new pair of brogues, rattlin' o'er the bogs...


Frightenin' all the dogs, on the Rocky Road to Dublin

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

A classic I only know because it was in the RDJ Sherlock Holmes movie.

The High Kings do a good version: https://www.youtube.com/watch?v=0QdbeM2JWYE


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.


The blog post itself suggests using ZILF.

I hope some of those other Infocom tools eventually get open sourced for historic curiosity, but ZILF is probably going to remain the modern answer for how to compile these files.


"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)".


if let makes a lot more sense when you learn that a normal let expression also takes a pattern[1].

  let Coordinates(x, y) = get_coords();
But this is intended for "exhaustive patterns". If you can't express an exhaustive pattern, like with an Option, then you can use let ... else

  let Some((x, y)) = get_coords() else { return };
if let is just an extension of this "let pattern" system.

Once you internalize how patterns work (and they really work everywhere) it all starts to really make sense and feels a lot cleaner.

[1]: https://doc.rust-lang.org/reference/patterns.html


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.


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).


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?"


It was slightly more fiery than a mere "observation", hence "anomaly".


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: