Lurker News
Maybe 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 comments
niccl5 replies#
Not sure if this counts:

A 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.

jesprenj#
This is very interesting! I am a bit new to the hobby (I worked in a relatively small venue for 200 people a couple of times). Till now I used only QLC+ and keyboard+mouse control, which gets really boring and hard to use very soon.

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?

tleb_#
Cool stuff. I've got the same hobby / part-time job (mostly on GrandMA consoles). I have done two-three experiments on custom software to emit DMX which I used for something like four events. For the physical interface I'm relying on MIDI controllers; I first want a software stack I can trust before going into hardware design.

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.

loansindi1 reply#
If you're ever interested in publishing anything about this to aid others in recreating it, I'm sure there'd be ample interest (for better or worse). Professional controllers are hilariously expensive for many hobbyists and the options for DIY control surfaces tend to be limited (especially with motorized faders).

I'd certainly be interested in reading about how it works, even without anything approaching build documentation.

rafamvc#
I'm interested in this as well. Would love to collaborate.
niccl#
What gratifying interest. to anyone interested in chatting about this, my email address is in my profile, so drop me a line
crote1 reply#
Where did you get 36 motorized faders without going bankrupt? Even AliExpress ones are $15/each or more!
niccl#
Easy. bankruptcy. Well, not quite. I got my first lot from a crowd called Top Up indstries in Taiwan (http://www.top-up.com.tw). I think they were around $12 in 2017. I got the next lot as a good deal on Bourne faders from digikey, about $17 NZ, maybe three years ago
johnboiles3 replies#
My wife and I lived on a Sailboat for a few years. The boat had a 20 year old SeaTalk bus connected to the sensors (depth, wind speed/direction, water speed). I bought a newer radio with an AIS receiver. Of course I wanted to hook it all to my computer & phone.

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 :)

l2silver#
I'm always impressed by hardware hacks.
johnboiles#
I also made my own variable speed diaphragm water pump for our boat's water pressure. The VSD options on the market were notoriously unreliable, so I took one of the best non-VSD pumps with a pressure switch and drove it with a custom board + software. This also meant if my controller failed (which it never did) I could switch back to the original pressure switch.

https://github.com/johnboiles/openvsd

stwr#
Nice this is awesome! Well done. Once you have everything in NMEA it really does become very easy to integrate with other marine hardware/software. Literally everything runs on it :)
boricj3 replies#
I've modified Ghidra in order to unlink pieces of an executable back into relocatable object files.

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.
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.

  - My Ghidra fork: https://github.com/boricj/ghidra/tree/feature/elfrelocatebleobjectexporter
  - My initial prototype in Jython (has a readme): https://github.com/boricj/ghidra-unlinker
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.
andrewmcwatters1 reply#
Absolutely incredible.
boricj1 reply#
Thanks!

If you want to take a look at the source code, here are some pointers:

  - The relocation synthesizer for MIPS: https://github.com/boricj/ghidra/blob/feature/elfrelocatebleobjectexporter/Ghidra/Processors/MIPS/src/main/java/ghidra/app/delinker/MipsElfRelocationTableSynthesizer.java
  - The Ghidra analyzer that leverages this synthesizer: https://github.com/boricj/ghidra/blob/feature/elfrelocatebleobjectexporter/Ghidra/Features/Delinker/src/main/java/ghidra/app/analyzers/RelocationTableSynthesizerAnalyzer.java
  - The classes that implement the ELF object exporter: https://github.com/boricj/ghidra/tree/feature/elfrelocatebleobjectexporter/Ghidra/Features/Base/src/main/java/ghidra/app/util/exporter/elf
  - The Ghidra exporter for ELF object files: https://github.com/boricj/ghidra/blob/feature/elfrelocatebleobjectexporter/Ghidra/Features/Base/src/main/java/ghidra/app/util/exporter/ElfRelocatableObjectExporter.java
andrewmcwatters2 replies#
Thank you! I’m fascinated by what must have led you to develop this knowledge.

Continue this thread — 2 replies

selfmodruntime1 reply#
Amazing. Do you have any intention of opening a merge request to get this into Ghidra? Or maybe in the way of a plugin?
boricj#
I tried to upstream some of my refactorings/modifications needed to support this, but it was rejected by upstream [1]. I don't blame the Ghidra project for this decision ; my modifications are fairly intrusive (modifying the relocation table after the initial load, extensive refactoring of the ELF support code...) and my workflow is essentially unproved in public.

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

mkj#
That might make LGPL static linking more legally feasible for a lot of programs too!
codpiece8 replies#
Not sure if it counts as tech, but I created a voiceboard for my mother to help her communicate while in hospice. She had a massive stroke and could no longer speak.

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

l2silver#
Definitely counts. Very cool.
epiccoleman1 reply#
This absolutely counts. This is such a great testament to how simple engineering and thoughtful design can do good in the world. You're a good son!

Is there a reason besides preventing commercial use that you don't just have a PDF link on your site?

codpiece3 replies#
I tailor them upon request. I would like to make a self-serve site, but don't have the time or skills. I would prefer to give this away, people are usually in their worst moments, so a little generosity makes me feel like I make the world a better place.
codpiece#
Actually, I think I just forgot to put the newer, generic version up on the site for download. Good thinking!
sllabres#
Thanks for designing and publishing your work! I was surprised too, that there is nothing similar when I was at a stroke unit for a relative.

I wish you all the best for your mother. Keep caring for her, before caring for the website.

jholman3 replies#
Your website is covered in "contact me", but I see no contact information, and your HN profile is similarly anonymous. Sorry, I couldn't figure it out.

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

jawns1 reply#
When my sister was in the ICU at a hospital in a big city, I created something similar for her. The nurses complimented me on it and said it made their lives easier, but I was shocked to learn that they didn't have anything like it unless families made them themselves.
codpiece#
I was shocked to find that out too. A friend pointed out it helps for people on ventilators, was that your case?
Suppafly1 reply#
They make something like that for autistic people and others that are non-verbal. The commercial product, which is essentially just a binder with printed words or pictures, is surprisingly expensive so lots of people DIY them.
zamnos#
They're called PECS, Picture Exchange Communication System. A speech therapist is trained to work with people who have verbalization or accent issues and help them work through them. Or if they can't, suggest PECS so they're still able to communicate.
enjeyw#
Amazing work. Of all the great projects on this thread, this is my favourite
cripblip#
This is a wonderful project, I hope someone in the community helps you with a self service version, love the thought you have put into it and Thankyou for explaining the reasoning. You should share this in the Occupational Health community.
garfieldnate#
I found your love for your mom and your dedication to taking care of her to be really touching. This is really wonderful!
supermodular1 reply#
I am very interested in this - my mom has MSA and is quickly losing her ability to talk. Not sure how to contact you, but I'll check the website and your profile again in a bit to see if there are updates
codpiece#
I sent you a message, I would be happy to make a board for your mom!

Load more comments