A pill that makes you sad and happy

Imagine a drug that makes you horribly nauseous and miserable for the first 59 minutes after you take it, but then makes you feel hedonistic bliss for a final 1 minute. The other effect of this drug is that during the those first 59 minutes, it blocks the transcription of long-term memories so that by the next day you only remember the final 1 minute.

  1. Assuming you did not know the full effect profile of this drug until after taking it the first time, would you expect yourself to take it a second time?
  2. Assuming you would decide not to take it a second time during the 12 hours while you still remember how horrible the first 59 minutes were, how would you prevent your future self who only remembers the bliss phase from taking the drug again?
  3. If you were King in the world where this drug existed, what policy measures (if any) would you enact to improve the welfare of your subjects’ interactions with this drug?
  4. If you were trapped on a deserted island with an inexhaustible supply of the drug and no way to prevent your future self from taking it each new day, would your subjective life be one of ecstasy or misery?

A new version of `devmem2` with kernel super-powers

Have you ever been sitting at your Linux shell prompt and just wanted to store a simple value at a simple address, but every force in the universe was lined up to prevent you from doing so?

I present devememkm, a tiny Loadable Kernel Module that will let you poke any value into any address you want instantly, reliability, and without ceremony.

Continue reading

Some of the more interesting air conditioners I have met

Almost all air conditioners and refrigerators on the planet work basically the same way, but some units have their own unique charms. Click on to through to see inside the thinnest, quietest, tiniest, and crappiest units I’ve ever met.

2018-07-06 20.32.12.jpg

The inside of the cheapest ($99) AC I’ve ever seen. Most of the internal structure is styrofoam and the vibration dampeners are squished on plumbers putty. But it works!

Continue reading