Live data from Hacker News

Ask HN: Most interesting tech you built for just yourself?

news.ycombinator.com

781–790 of 1001 posts

Re: Ask HN: Most interesting tech you built for just yourself?

#781

My wife has her work schedule in a mobile web app, but the app is really bad. Turns out the app is just a wrapper around a web site. So I made a KVM instance which does one thing - login automatically, start Firefox, login with Selenium, then uses some kind of other Python desktop control contraption to press CTRL-S, tab-tab, save the web page to the Downloads folder. Then, the python program proceeds to parse the HT…

Ive also done this for similar purposes . Scrape parse map reduce over garbage web apps. Good on ya

Re: Ask HN: Most interesting tech you built for just yourself?

#782
When Teslas were hot, it was really hard to buy one in my area, it involved using the search function on the Tesla website, inputting my zipcode and waiting every few hours until new cars are out. I basically made a script that texts me if there’s new car with the configuration I want with a link to the buy page so I can buy it immediately.

Re: Ask HN: Most interesting tech you built for just yourself?

#783
We got solar powered string lights for our balcony. The solar panel only came with a spike to stick in the dirt. Since we are several stories up that didn't really work and we didn't want to just tape it to the railing. The part that connected to the spike was a little circular bit with a couple holes for screws so I designed a little mount for it in CAD and 3D printed it and so far it works great. It fits the railing and the solar panel perfectly.

Re: Ask HN: Most interesting tech you built for just yourself?

#785
post #760

My grandmother has dementia. About twice a day, she calls my parents every 5 minutes, forgetting that she just hung up. The calls are always the same: "You live there now. Yes you have money. We came to visit you yesterday." This can go on for an hour or so. My parents are incredibly patient, but after a couple of these calls, they'll just leave the phone to ring. The soundtrack of the phone constantly ringing in the…

But what did you use?

Re: Ask HN: Most interesting tech you built for just yourself?

#786
post #254

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

Amazing photos

Re: Ask HN: Most interesting tech you built for just yourself?

#787

The most interesting tech I've build for myself is boring: a writing tool I use every day for journaling: https://enso.sonnet.io With that out of the way here's some more ridiculous stuff: In 2016, I made a browser based AR party game where you'd fight kittens falling from the sky by dancing with vegetables in your hands (CMYK was easier to track using the webcam). I have some photos here: https://goo.gl/photos/g6Dp8…

Both Enso and Sit are really nicely done. I think it would be interesting to add a wordcount "goal" with Enso - set it before you begin and have it notify you when you reach the wordcount for that day. Maybe even re-use the chime from Sit, heck maybe even say ok you reached your writing goal (either time or word count) time to "sit" for a few minutes and then back to it.

Re: Ask HN: Most interesting tech you built for just yourself?

#788
I wrote a JS bookmark that lets me jump to the next top-level comment on HN. I use it for finding interesting conversions without having to scroll and look for the next top-level comment.

It works by finding all of the comments with indent=="0". Then, each time the bookmark is clicked, it creates and follows a link. Each comment has a unique id so I just have to concatenate current_url + "#" + unique_id and follow that link.

Once the script reaches the bottom, it follows the "more comments" link and repeats the same process.

I plan to write something similar for Reddit

Re: Ask HN: Most interesting tech you built for just yourself?

#789
My parents have a door in their kitchen that is right next to two ovens and a drawer. When the ovens or drawer are open, then someone opening the kitchen door would smash it into the opened oven or drawer, damaging both sides. I built an interlock system that detects when the ovens or drawer are open, and engages an electromagnetic lock to prevent the kitchen door from being opened. It unlocks as soon as the ovens and drawer are closed.

The open/closed detectors for the drawer and one of the ovens use Hall effect sensors with neodymium magnets. I found a very thin, but very strong magnet (gold-plated for corrosion resistance) that I adhered to the glass on the oven door with Kapton tape (on the bezel, outside of the hot part). I also built a 3D-printed housing for the sensor on the back of the oven frame opposite it.

Due to physical constraints, it wasn't possible to put a Hall effect sensor on the other oven. Instead, I reverse-engineered the oven's control board, found the exact (somewhat obscure) wiring connectors that the oven uses, and made a passthrough sensor that MITMs two of the wiring harnesses (one for signal, one for power). It uses a MOSFET to amplify a signal that my custom control board uses to sense when the oven's own door open/closed switch is engaged. It also uses an optocoupler so that the oven and the rest of the system are electrically isolated. I was surprised that the oven uses the duty cycle of a PWM signal (instead of just a simple on/off signal) to represent whether the oven door is open or closed.

There's also a push button switch next to the door to disengage the system. It's fail-safe, in that there are no electronics or software involved. It's a simple electrical disconnection of the power that goes to the door lock. The lock itself is fail-safe, too: it's an electromagnetic lock (rather than one with a physical bolt or latch), so if power goes out, it's guaranteed to disengage.

The brains of the operation is a custom control board with an off-the-shelf Arduino nano soldered onto it. I could have put all of the Arduino components directly onto the board, but it was easier to use a pre-fabbed Arduino and just design the custom parts.

I ran CAT5 to most of the sensors, but used some heavier 18 AWG wire for the lock, since it needs to handle more current. I used JST XH connectors for most things, but larger XT30U for higher-current components.

A few other things I'm proud of:

- All of this was non-invasive to the ovens. I didn't drill any holes or cut any wires.

- I designed some custom PCBs for this (my first time) using Kicad (Phil's Lab on YouTube is great!) and had them fabbed and partially SMT-assembled at JLCPCB. They turned out great. Pretty amazing compared to when I had some boards fabbed locally 20+ years ago. Turnaround time, quality, price, and general experience are loads better than they used to be.

- I taught myself CAD and 3D-printed enclosures for the electronics and sensors. I used OnShape, which has a semi-hidden version that's free for personal use, as long as you make your designs public.

- I taught myself surface-mount electronic assembly for this project. It was easier than I expected.

- The push button on the wall has an RGB LED in it that shows status. It also allows the system to be disabled temporarily for 5 minutes by long-pressing it.

- Given that some of the electronics will be installed in or near an oven, I took care to characterize the thermal environment and respect the thermal constraints for all of the components I used.

- I put a temperature sensor in the electronics in the oven, and if the electronics ever get too hot, it will indicate overheating via the LED that's in the pushbutton switch on the wall. (I checked the temperature in the sensor location while the oven was running before installation, so this is just a precaution. It hasn't ever overheated.)

- The control board enclosure has a laser-printed label on its face that marks the ports for all of the sensors, actuators, and power connections.

- The whole system is basically invisible except for the button and the electromagnetic switch.

This whole project is a bit of a Rube Goldberg machine, but it was really fun to do the design, hardware, software, and physical assembly. It turned out really well, and has been working great for a few years now.

Re: Ask HN: Most interesting tech you built for just yourself?

#790
In a long distance relationship for almost 4 years now. We started dating just few months before COVID hit and lockdowns announced. That's when we discovered Zoom. We used Zoom as a way to keep connected. Initially it was great. We could keep the connection up for hours on end. However, Zoom started restricting time limits on free accounts (which meant we had to reconnect every 40 minutes or so). We tried different apps to see which works best but there were none that matched Zoom's quality or features (I specifically wanted PiP mode as I could keep working while being connected). So decided to code up my own barebones WebRTC app, hosted on Codesandbox, which uses Peerjs to establish connections. Video/audio streamed to HTML Canvas. With Pip mode. Extremely simple and barebones app. Been going good for almost a year now.
Post reply on HN