HN user

P-Nuts

44 karma
Posts0
Comments45
View on HN
No posts found.

I’ve already visited all of them except Monaco, but not all in one go, just gradually across the years. Andorra I went skiing in, Vatican was a side quest in Rome, Luxembourg I just went for one night on a whim, Liechtenstein was a side quest from Zurich, and San Marino was a side quest from Bologna.

I haven’t tried juggling for decades but I did manage to teach myself basic three-ball juggling when I was at university (any excuse to avoid revising!)

I think it took me a couple of weeks though. I’m a bit malcoordinated for that sort of thing in general. I think you’re right that there’s some sort of natural aptitude that not everybody has. Fortunately basic juggling is just about easy enough that almost any idiot can do it.

To get both blinkenlights for registers and tri-state for bus driving, use two ’574 chips in parallel rather than a ’377 behind a ’245. Tie the clock and input lines together on both. Tie the output enable low on the one driving the blinkenlights. This way the chip that the rest of the CPU depends on doesn’t have the extra work of driving any load and you only have one chip’s worth of propagation delays.

You just define the structures in terms of some e.g. uint32_le etc types for which you provide conversion functions to native endianness. On a little endian platform the conversion is a no-op.

Add a comment somewhere in the middle of the code they’re working on saying /* I should always remember to lock my computer */ and amend their current commit. Maybe they’ll spot it, maybe code review will notice, maybe not.

Goodbye, Slopify 1 year ago

Many years ago my most listened song (on ripped CDs in iTunes) had a few thousand plays because I turned off my headphones (analogue wireless!) while I had a track on repeat, only actually planning to listen to it a second time, and went on holiday for a week.

The subject heading of Avi’s first message is: “Guideline 1.”

We look for places where the math is right. Meaning what? Meaning that pop. is about to explode- - -we can predict that just by looking at age histogram- - -and per capita income is about to take off the way it did in Nippon. Taiwan, Singapore. Multiply those two things together and you get the kind of exponential growth that should get us all into fuck-you money before we turn forty.

This is an allusion to a Randy/Avi conversation of two years ago wherein Avi actually calculated a specific numerical value for “fuck-you money.” It was not a fixed constant, however, but rather a cell in a spreadsheet linked to any number of continually fluctuating economic indicators. Sometimes when Avi is working at his computer he will leave the spreadsheet running in a tiny window in the corner so that he can see the current value of “fuck-you money” at a glance.

— Neal Stephenson, “Cryptomonicon”

Debuggers are nice for development but we also need to be able to analyse field issues. On-disk log files are usually too expensive so we mostly write to raw binary in-memory trace tables, which will wrap, but hopefully will have enough history to figure out what went wrong, and will be included in a core dump.

Is my passport information really that precious? It doesn’t contain much that isn’t on my birth certificate, apart from my ugly mug. And quite literally anyone can get an officially certified copy of my birth certificate, because that’s a matter of public record.

To get 2, there are (at least) a couple of ways it can happen, we can do i=0,i++ and get LHS=0, now i=1,++i and get RHS=2. Or we can do i=0,++i and get RHS=1, then i=1,i++ and get LHS=1.

However we’re also allowed to do something like this: i=0, a=i, b=i, b=b+1, RHS=b (RHS=1), LHS=a (LHS=0), a=a+1, i=a, i=b.

Probably quite a lot of other things are allowed to happen. Usual disclaimer that a standard-compliant compiler is allowed to vaporise your cat etc as part of UB.

The thing to Google is “sequence points”.

Rue de l'Avenir 3 years ago

« Le TRR fonctionna d'abord à la vitesse de 11 km/h (3 m/s), mais en raison de fréquentes chutes de voyageurs et de divers accidents, la vitesse fut réduite à 9 km/h (2,5 m/s) »

From your Wikipedia page, it says it initially went at 11 km/h but was reduced to 9 km/h because of “frequent falls of passengers and various accidents”.

It’s explicitly stated: “I figured, okay, maybe it's doing some optimization because it was built on the 4B. So, I went and did a build on the B+ natively. It also broke.”

So she was originally compiling on a newer RPi, but immediately switched to compiling on the same one that couldn’t run it. And I believe the actual system images for RPi are built to support all models (there aren’t separate downloads for different models unless you want 64-bit) so it’s not crazy to think that everything would work building on a newer model.

This is just a packaging defect, Clang/LLVM isn’t being configured correctly by RPiOS (Raspbian).