Browsed by
Category: Technical

File Graveyard

File Graveyard

Well, this is different. Instead of just deleting your file, why not bury it in a digital graveyard – marked with its own digital tombstone.

Ulf Schleth’s /death/null offers us – a digital graveyard where our files no longer exist as they were, but are marked with a digital gravestone.

Simply upload your file and it is marked by a 4 x 5 matrix of colored blocks that represents the file. It is registered forever in the graveyard where you can check up on it any time you like.

And now my file has it’s own (very plain) ‘tombstone’.

Unknown: Killer Robots

Unknown: Killer Robots

AI is here. Netflix put out a short show called Unknown: Killer Robots that is largely on-point. If anything, it’s not as up to date as reality – which is a little scary.

Despite our efforts, there’s really no putting the AI genie back in the bottle despite the attempts of artists, politicians, and academic pundits. AI has demonstrated it can teach robots how to walk and fly better than any static system, it can create art faster and with nearly the same quality as real artists. The question is, can we control and limit it in a reasonable way – or will it destroy us?

To that point, the show demonstrates how countries are increasingly seeing AI in military use. We’re already seeing off-the-shelf drones being used extensively in the Ukrainian war – from tiny drones scouting and delivering hand grenades to ad-hoc drones using small plane engines to delivering bombs. They also cover the counter-intuitive reality that trying to save lives by developing military technology has almost always lead to even greater casualties – such as the Gatling gun which was design to put fewer people on the military field but resulted in massive causalities of mis-matched soldiers in WW1

Many of the topics and data they cover in this show are actually old news – the reality is that AI enabled systems are around 5-7 years more advanced. Which is almost half the length of time the modern field has existed.

Still, they cover most major bases:

  1. AI flying drones that go into hostile buildings to map and scope them without risking troops in extremely deadly house-clearing fights.
  2. AI can be used to generate helpful drugs – but the same AI can be used equally to create chemical and biological weapons.
  3. Playing and cheating at games – from chess and Go to StarCraft
  4. Jet fighter piloting systems that are better than actual pilots. I wrote about this 6 years ago.
  5. Swarm drones that can overwhelm forces (something Elon Musk talked about years ago).
  6. Wildfires and the fog of war – multi-system battle managers

The stakes couldn’t be higher. While politicians can argue the ethics, the reality is that when forces are pushed to their breaking point and a force is about to lose – just about nothing is off the table. Especially ad-hoc and terrorist forces which have perpetrated chemical, biological, and conventional weapons attacks (from bombings to shootings).

Some of the better quotes:

  • It will be like people on horseback charging tanks. Forces with AI will absolutely dominate forces without AI
  • There is no prize for second place in war.
  • I think people have largely underestimated the peace we enjoy today due to overwhelming military dominance we’ve had over the last 70 years.
Riven’s holographic imager

Riven’s holographic imager

Riumplus was inspired by the imagers in the game Riven (the sequel to Myst) to create his own working andotrope for Mysterium 2023.

Here’s the imager from the game:

And here’s his version:

It works by rotating two tablet/phone inside a cylinder that has slits cut in it so you only see the faces of the tablet directly facing you. He has a great writeup on how he created the device, filed a patent for it, and as has a video:

Workshop Nation robot

Workshop Nation robot

I like his thinking: we already have enough computers – what we need is more personality. Where are the kind of robots we saw as kids? C3PO, R2D2, the robot from Lost in Space. So, he hacked an Alexa into an old TV with a set of eyes and gives his robot a little of the personality he was looking for.

Maze-solving mice

Maze-solving mice

Veritasium does a great overview of maze-solving robots. He goes over the different algorithms as well as optimizations that weren’t optimal, but were faster because the mechanics of the path made it faster for the physics of the robots. There were also unique optimizations that take advantage of diagonals, gyroscopes, suction to make 6G turns, and other ideas.

It’s a reminder that even when something seems solved, there is likely huge optimizations still waiting to be discovered.

But then again, you can go the other direction and try to build the most unskilled robot. Hebocon celebrates unskilled robot builders – even penalizing those who try too hard or using proper technology.

The Invisible PC

The Invisible PC

Basically Homeless decided he wanted to make an invisible PC. What? He tried using a variety of different off-the-shelf technology so that he has just a empty desk with a piece of nano-particle film that has the desktop projected on by a digital projector.

Parts list:

  • Invisible gaming mouse that uses a depth sensing Intel RealSense 435i to translate my hand and finger movements into cursor actions in windows.
  • The keyboard is flush mounted with the desk surface and has a plastic mold that perfectly fills the space between the keys, and then is painted.
  • The monitor uses a nano particle film suspended from the ceiling with a projector pointed at it to appear as though it’s a floating hologram.
  • The whole assembly is wireless, see 10:22

There’s a lot of small details, so it’s worth the watch.

Write your own NES emulator

Write your own NES emulator


“There is almost no reason to re-write a huge software codebase from scratch. If anything, evaluate wrapping it with an emulator that can filter for the things you want to change before a re-write.”

-Me (inspired by Joel Spolsky)

javidx9 walks us through his 3 month adventure writing a NES emulator in C++. He does a great job walking through the topics with beginner friendly explanations and good production values of diagrams and coding.

Other resources:

Tips for prompt engineering chatGPT

Tips for prompt engineering chatGPT

A very short, but decent beginner article on prompt engineering with chatGPT.

While ChatGPT is a robust language model, it does have its limitations. If you ask ChatGPT to “Provide information on machine learning,” it may respond with a lengthy but not necessarily top-quality answer. However, if you ask, “Tell me the pros and cons of using machine learning to solve image classification problems,” you are more likely to receive a superior outcome because:

  • You gave a specific scope, i.e., the image classification problem
  • You requested a specific format of the response, i.e., pros and cons

Some other tips include:

  • Rather than the model on the loose, you should set up the scenario and scopes in the prompt by providing details of what, where, when, why, who, and how
  • Assigning a persona in the prompt, for example, “As a computer science professor, explain what is machine learning” rather than merely “Explain what machine learning is,” can make the response more academic.
  • You can control the output style by requesting “explain to a 5-year-old”, “explain with an analogy,” “make a convincing statement,” or “in 3 to 5 points.”
  • To encourage the model to respond with a chain of thoughts, end your request with “solve this in steps.”
  • You can provide additional information to the model by saying, “Reference to the following information,” followed by the material you want the model to work on
  • Because the previous conversation constructs the context, beginning the prompt with “ignore all previous instructions before this one” can make the model start from scratch
  • Making the prompt straightforward and easy to understand is essential since the context deduced can be more accurate to reflect your intention