this post was submitted on 22 Jul 2023
66 points (95.8% liked)

Programmer Humor

32361 readers
497 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

You those software projects that have no defined scope, budget, or timeline? Yet somehow land on your desk?

For those times, I built a Lemmy bot that does an I Ching divination (https://en.wikibooks.org/wiki/I_Ching) using a hardware random number generator.

It doesn't help, but it makes me feel better.

If it would make you feel better too, you can use it too by sending a DM to @kong_ming@voltage.vn.

The message can't be length zero. You should not consider the messaging secure :D

It also may break, bug out, catch on fire, get unplugged, or get overloaded with requests. If none of those things happen, you'll get a response in a couple of minutes.

It's also literally build from scrap, and is sitting precariously on the edge of my desk in Vietnam. Still, it's the state-of-the-art in software consulting!

top 3 comments
sorted by: hot top controversial new old
[–] ekky43@lemmy.dbzer0.com 7 points 1 year ago

Beautiful, a marvel of technology!

[–] steve228uk@lemmy.world 3 points 1 year ago (1 children)
[–] Saigonauticon@voltage.vn 10 points 1 year ago

To be honest, it's an accidental lamp. I didn't have many free GPIO pins on that ESP32 development board, so I needed to push some of the entropy bits though pins that were also assigned to an RGB LED.

The flashing light was giving me a headache, so I put a diffuser over it.

It flashes different colors wildly. Because of the nature of the underlying signal and it's varying frequency, this looks pretty cool if you put a rolling-shutter camera (like on a smartphone) really close to it.