Ask HN: Most interesting tech you built for just yourself?
1901 pointsMaybe you've created your own AR program for wearables that shows the definition of a word when you highlight it IRL, or you've built a personal calendar app for your family to display on a monitor in the kitchen. Whatever it is, I'd love to hear it.
Comments (1,792) 625 threads
Earlier commentsA lighting desk for my hobby of lighting live music. For reasons I like doing live control along with the music (known as busking). Existing things are either limited and can't control moving lights, or don't have the flexibility to busk the way I want. so, having worked a long time ago for a crowd that built what were at the time the best lighting desks in the world, I built my own
It has 36 motorised faders and a bunch of other boards with buttons, that each ave their own AtTiny to run the function, they talk to a BeagleBone Black which runs the main code loop and uses its on board realtime processors to generate DMX, and a raspberry Pi to run the GUI for configuration.
Worked a treat most of the time, and I've done hundreds of shows with it, with crowds of up to 400 people, Sadly, I made a dumb decision on the protocol for the fader and button boards to talk to the BeagleBone and every now and then it causes a kernel panic on the Beaglebone, which means at best you lose control of the lights and at worst it goes dark on stage.
I started a redesign using a more sensible protocol but got hit by a double whammy of Covid killing the live music scene for a couple of years, plus the all the supply chain issues, so it's on hold now.
Now I'm starting with designing a small controller on a protoboard with an ESP8266 -- 12 faders, 34 buttons, 4 encoders, 26 RGB LEDs. By sending raw 802.11 frames I may be able to get this thing to work wirelessly.
I'm interested in your design, would you be willing to uplaod some pictures?
Would love to discuss the topic some more! I don't often meet people with that same interest in lighting that want to build their own tools.
I'd certainly be interested in reading about how it works, even without anything approaching build documentation.
So I built some hardware to interface with the SeaTalk network, the AIS radio (and a modern GPS) https://github.com/johnboiles/Helm-hardware https://github.com/johnboiles/Helm-firmware
And a Python proxy running on a Pi to pass messages back and forth across the network. https://github.com/johnboiles/NMEAProxy
And an iOS app that could drive my autopilot https://github.com/johnboiles/helm-ios
Since my proxy spoke the NMEA standard, you could also hook up with other apps like iSailor and get all the sensor data + gps + AIS data. https://apps.apple.com/us/app/wärtsilä-isailor/id398456162
To my knowledge, 0 other people have ever used any of this but I've always been proud of it :)
https://github.com/johnboiles/openvsd
To keep things simple, source code files are compiled into object files which are linked into an executable. Object files have sections (named array of bytes), symbols (either defined as an offset within a section or undefined) and relocations (a request to patch up an offset within a section with the final address of a symbol) while executable files only have sections. The linker takes all the object files, lays out the sections in memory, fixes up the relocation and writes out an executable file without the symbols or relocations.
Note: this works only with 32-bit MIPS, little endian, statically-linked executables. It can be made to work with other architectures by writing a relocation synthesizer for it, but so far I only care about decompiling PlayStation 1 games.With Ghidra I can reverse-engineer an executable and recreate symbols, data types and references between symbols. Then, with my modifications I can recreate relocations with that information and, once a range of addresses has been fully processed, I can select it and export it as a relocatable ELF object file.
Why? This allows me to extract parts of an executable as object files and reuse these by linking them my own source code ; I don't need to fully-reverse engineer these extracted parts, I just have to basically identify every relocation there was originally in that part. I can also divide and conquer my way to decompiling an executable by splitting an executable into multiple object files and recreate its source code one object file at a time, like the Ship of Theseus.
So far it works with what I've tested it with and I've been meaning to write a series of articles to explain that process in detail, but writing quality technical articles with illustrations on a topic this esoteric is very hard.
If you want to take a look at the source code, here are some pointers:
Continue this thread — 2 replies
By that I mean I have no documentation, no series of technical articles describing this process and no public, non-trivial project to demonstrate it in real life. I do have a currently private decompilation project that uses this successfully [2], but it's not currently public and it's nowhere near finished.
Also, I only wrote a relocation synthesizer for statically-linked, 32-bit, little endian MIPS ELF. That's a fairly obscure platform, I'd expect most people care about mainstream instruction sets like x86_64 or ARM64.
If you can suggest a forum where people would be interested in this, I can drop a message there and answer more in-depth questions if you want. So far I've worked on this all on my own and I'm kinda out of the loop from the rest of the reverse-engineering community.
[1] https://github.com/NationalSecurityAgency/ghidra/pull/5010#i...
[2] https://news.ycombinator.com/item?id=35739949
I thought of a tablet app, but the stakes were too high, so it wound up as a laminated paper. You can read about my design decisions here:
https://voiceboard.org
Is there a reason besides preventing commercial use that you don't just have a PDF link on your site?
I wish you all the best for your mother. Keep caring for her, before caring for the website.
I don't know what skills you lack, but if they're web development skills, and if you want some help with your wonderful project, my email is in my profile. I cannot, alas, do anything about your insufficient-time problem.
Continue this thread — 3 replies
All comments shown.
Couldn't load more comments. Check your connection and try again.