HN user

jgtrosh

1,304 karma
Posts1
Comments531
View on HN

Where unsigned does benefit here is when these are used as indices into an array. The signed behavior will almost certainly produce invalid indices which leads to memory unsafety issues. The unsigned way will never do that, it’ll stay bounded, even if the index it produces is actually wrong. This is a much less-severe logic bug, but can still be used maliciously depending on context.

The argument for signed often goes that it's easier to detect an invalid operation on an index by checking for bounds, or the higher probability of segmentation faults, than if your index is always “valid”. Granted, even with signed your invalid operation might still give a valid index. Simply put, seeing a negative index in your debugger is an obvious red flag you lose with unsigned.

In general I want to complain about the idea that a subtle bug is less severe than an obvious bug. Obvious bugs can be caught automatically or manually and are therefore less severe than subtle ones. This is a mistakes all students do btw. Segmentation faults are your friends!

I believe this is the most common scenario, yes. If you're used to actively pushing and pulling from the same branche as your colleagues, you need to learn how to manipulate diverging changes and conflicting bookmarks, but other than that all the jj magic is limited to your local activity.

I intuitively feel like more realistic games could be more fun, and that I might just have fondness for Space Cadet from growing up with it; but the more I played other pinball games the more I appreciate that space cadet is a simply great game to play, it feels great and there's a great variety of things to keep you hooked.

I wish I could find another pinball game I enjoyed as much. The closest experiences I could find are Xenotitle and Demon's Tilt but I found them harder to get into and get good at.

The next best thing imo is Yoku's Island Express.

I was not aware of Radicle; it's a truly peer-to-peer Git forge which aims to guarantee commits are signed by current maintainers (among, I suppose, other goals).

The article mentions an us and a you, but I feel like it would have been an useful occasion to explain why move (from where?) and why Radicle. Maybe this was already discussed elsewhere?

I suppose similar discussions regarding GitHub are happening today and could explain why this was posted to HN.

The Clock 4 months ago

Yeah, this screamed US date format to me! (Though there's no year in this clock)

Your instinctive reaction matches with scientific consensus.

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

Each historical invention of writing emerged from systems of proto-writing that used ideographic and mnemonic symbols but were not capable of fully recording spoken language. True writing, where the content of linguistic utterances can be accurately reconstructed by later readers, is a later development. As proto-writing is not capable of fully reflecting the grammar and lexicon used in languages, it is often only capable of encoding broad or imprecise information.

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

vocal languages must have begun diversifying at least 100,000 years ago

I appreciate the fact that they waited two months to check their results before sharing them publicly. However, this feels like there should be a hypothesis for explaining the difference other than “this fits expectations”, especially after the author extensively claims this does not fit their own expectations. Did I miss something?

The game looks fun and pretty, but am I the only one to get triggered by the “replaced” naming?

All of these eager claims to replace humans feel violently antisocial. (And in many instances hypocritical if coming from people who defensively claim “it's just a tool”…)

It's equivalent to xargs -I {} rm {}

       -I replace-str
              Replace occurrences of replace-str in the initial-arguments
              with names read from standard input.  Also, unquoted blanks
              do not terminate input items; instead the separator is the
              newline character.  Implies -x and -L 1.
JSLinux 1 year ago

I find it perfect for technical interviews over screen sharing, since we test for some basic degree of ease on remote linux systems.