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…
Ask HN: Most interesting tech you built for just yourself?
451–460 of 1001 posts
Re: Ask HN: Most interesting tech you built for just yourself?
#452I made a raycasting engine to learn more about it and I’m in love. It’s the most clever thing ever. I can’t believe I have a 3D effect without using a single trig function. The math is so simple you could run it on a 286. Raycasting feels like a magical hack. It has no business being so ridiculously simple for what you get!
I’m taking it a step further and integrating a real-time map editor so you can modify a map as you play.
I’m not sure where to go beyond that, but I’m having a ton of fun.
Re: Ask HN: Most interesting tech you built for just yourself?
#453I run it on my NAS so my RSS reader can find it as long as I’m on VPN. Now I only need to visit NetNewsWire for all my news!
Re: Ask HN: Most interesting tech you built for just yourself?
#454I'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…
Re: Ask HN: Most interesting tech you built for just yourself?
#455It runs on our home router and functions as the primary DNS server. If the record name matches a regex the DNS request is forwarded over a VPN to a DNS server in the target country. Any other requests are forwarded to my ISP’s DNS. If the response is a CNAME then the A record name is cached so that follow-up requests are also forwarded over the VPN.
Before returning the IPs in the foreign DNS response /32 routes for the IPs are added to send any home network traffic for them over the VPN.
This means that any client on our home network can transparently access GeoIP locked sites. It’s worked for around 8 years with no modifications.
Re: Ask HN: Most interesting tech you built for just yourself?
#456The gear and testing it was very expensive, I wanted to make my own but didn't know how to sew - but quickly found the "cottage" industry of lightweight and ultralight backpacking gear and fell in love again. Now I loved the trail and the gear, but I was also broke.
One of my first non-visual basic programming projects was building a scraper for a handful of backpacking forums' used gear sections - I found that I was able to acquire and test the gear I wanted at a fraction of the cost this way, as well as find buyers for the gear I was ready to cycle out.
While I did build this for myself I eventually realized that there were so many good deals and people with good gear looking to offload it - but the forums and the communities were so fractured it made it hard for others (just like it did for me). I ended up building the whole thing (again) as my first foray into playing with Laravel.
It's still up and working - thousands of people still using it, maybe some of you would also enjoy it... [0] (no ads, no affiliate offers, ever)
* Note, I'm aware some of the "source" forums are broken/no longer scraping properly, will be updating it soon.
Re: Ask HN: Most interesting tech you built for just yourself?
#457I have a rail line right under my apartment, so I built a small computer vision app running on a Rasperry Pi which records each train passing, and tries to stitch an image of it. It has a frontend at https://trains.jo-m.ch/ . Edit: it's currently raining and the rain drops are disturbing the images a bit.
Re: Ask HN: Most interesting tech you built for just yourself?
#458[1]: https://www.alextoussaint.com/2021-04-28_How-I-built-an-ultr...
[2]: https://hackaday.com/2021/05/15/a-phased-array-ultrasonic-3d...
Re: Ask HN: Most interesting tech you built for just yourself?
#459I write a lot of modules and SDKs, and regularly consume them in my own work. Comes out great.
Lots of folks ignore my work. I won’t bother speculating as to why, but I’m fine with that, as everyone that depends on my work means I need to take them into account, when maintaining. If I’m my only customer, then I can do whatever I want. I write stuff that I need.
Publishing as “classic” public open source, forces me to do a good job, so that means that really significant parts of my projects are pretty much “worry free.”
You can see my stuff in my GH orgs (I don’t really have much in my personal repos).