I built a white noise generator on a timer, which starts up a little while before the expected disturbance, plays through it, then stops a little while after.
Ask HN: Most interesting tech you built for just yourself?
811–820 of 1001 posts
Re: Ask HN: Most interesting tech you built for just yourself?
#812The core is powered by meta-programming, aka code that further generates code.
It auto generate typed client SDK with named types for API input and output. And it comes with JWT integrated out of the box.
Compared to traditional untyped restful API over http, it helps developer to prototype and evolve the application with inferred type hint.
Upcoming improvement will be runtime type checking with cast.ts [2] or ts-type-check [3]
[1] https://www.npmjs.com/package/create-rpc
Re: Ask HN: Most interesting tech you built for just yourself?
#813Re: Ask HN: Most interesting tech you built for just yourself?
#814Since this is a tricky problem to solve, I built a quick fix solution while I work on the "real" version. The quick fix measures the average indoor temperature in the house using zigbee sensors and uses a number of weather forecast APIs to calculate the amount of heat lost from the house in a day based on the difference of outdoor / indoor temperature and the amount of solar irradiation. It runs at midnight and creates a 24h schedule based on the forecast energy price and expected COP. The heat pump is controlled with a relay from an ESP32. The algorithm/app runs on a raspberry pi and is written in Rust.
It worked surprisingly well last winter with some tweaking needed during very cold periods. And the heat pump only switches a few times per day now and makes very long efficient runs, theoretically greatly increasing its lifespan and simultaneously reducing my energy bill.
I'm still planning on building the better version I had planned based on a thermal model of my house, but that will require more studying and now that the quick&dirty version works so well the pressure is off a bit.
Re: Ask HN: Most interesting tech you built for just yourself?
#815Re: Ask HN: Most interesting tech you built for just yourself?
#816My 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…
Re: Ask HN: Most interesting tech you built for just yourself?
#817I made a really small simple tumblr clone social network, and a few months ago I was able to kind of bugily conect it with mastodon.
It has 400 registred users, of wich in the last month 20 have posted.
https://app.wafrn.net/.well-known/nodeinfo/2.0
This endpoint I added it not too long ago to be more "friendly" towards other nodes
Re: Ask HN: Most interesting tech you built for just yourself?
#818Clearly that involves electronics and 68k assembly programming.
Re: Ask HN: Most interesting tech you built for just yourself?
#819I have another script that reads the info from the tags and writes in back into the database. So I never have to set the cue-points/comments/scores/BPMs again for my tracks :) And all is self contained in the audio file.
Re: Ask HN: Most interesting tech you built for just yourself?
#820In my new house with underfloor heating, an air source heat pump was installed that turned out to have a controller that switches it on and off over 80 times per day which reduces its lifespan significantly. I decided to see if I could improve on this so I started reading lots of papers regarding temperature control. Since this is a tricky problem to solve, I built a quick fix solution while I work on the "real" vers…