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 commentsI used yt-dlp to download the metadata for over 6,000 videos on the SNL Youtube channel. I put it into a database, parsing out season/episode into fields where possible. Then I wrote a small Flask app to search or browse seasons/episodes, from which I could flag for download the sketches I wanted.
First boss:https://www.youtube.com/watch?v=zcbH7jt4w0w
Second boss:https://www.youtube.com/watch?v=IeEoQVT66t8
I am using cheat engine to get information from the game such as hero position, boss position, hero animation, boss animation, time since animation change, life, stamina, current rotation and the angle between the boss' heading and the hero. (to see if hero is behind or in front of or to the side/behind the boss)
When the boss or hero starts an animation i start a counter at 0. For every timestep that the animation is still running i increment that counter and feed it as inputThe AI has no knowledge about the lengths of the animations. It has to learn that.The animation names are converted to a one hot encoding and fed to the network
The different examples shown in the videos have only been trained for a few days in real time (only 1 instance of the game running). But the episodes are cherry picked. In the Iudex case it actually kills the boss almost every time, however Vordt is a lot harder to learn so these are the some of the kills that i have picked out.
Other games have APIs made for reinforcement learning so that the agent can take an action at each frame of the game. I have kind of hacked my own implementation and are actually doing keypresses with sleeps in between each step as i can't control the frames on a frame by frame basis.
I am using python and stable baselines for the reinforcement learning part. I made my own implementation of a "gym" for dark souls. Then i set up a lua script in cheat engine that opens a socket from this socket i read the state in my python script.
To streamline this, I made a little Arduino-driven device with an OLED display that can plug into the digital output port that many digital micrometers have. It takes the current micrometer measurement, applies the scaling factor, and displays the scaled dimension on the OLED.
So that means I can take a small piece of wood from the kit, measure it with the micrometer, and directly see its full scale dimension - e.g., it's a scale 8" thick plank. Or I can take the micrometer to the 8 foot measure, and use it to mark off a piece of wood that I want to be that long.
So, I made a "Plane Above Me" app that listens to airplane sound. Once detected, it polls data from flight APIs and read out the flight info and aircraft data.
In other words, it's my little "Flight Announcer".
https://evergreen-labs.com/PlaneAboveMe.html
https://globe.adsbexchange.com/?SiteLat=##.####&SiteLon=##.#...
Regular plane noise is a regular thing where I live - I'm right under one of the regular flight-paths for a nearby very busy airport and very close to another busy airport.
One idea I've had for a while is to take my eInk raspberry-pi accessory and poll this data and have a constantly updating "what's overhead" display.
It makes sense you listen for the sound of a plane / wait for a button press before making the call!
Seems like this would be best done with a receiver and monitoring that directly and/or exchanging the radio logging for API access.
Continue this thread — 2 replies
I grew up under a flight path, and now live... under another flight path. Luckily this one is used almost exclusively to land (much quieter) but my parents are still under a takeoff one. All airlines are supposed to follow certain rules to minimize noise, but many just flaunt them. Local authorities own the airport, so their interest in monitoring infractions is... very low.
Having an app that could detect and categorize bad actors, would be pretty cool.
If your parents use iPhone or iPad, I am happy to add an intensity label and/or a filter for them so it would display/read out those that are over certain thresholds.
It's abandonware now, because it was a PITA to get the flight data from behind a clunky paywall, and an Echo Show could do voice-driven stuff more easily. Maybe I could revisit it now and put it into an e-ink display instead, and use Flightaware or FR24 API...
All comments shown.
Couldn't load more comments. Check your connection and try again.