Ask HN: Have you created programs for only your personal use?
423 pointsCurious to know if anyone has written programs for their own, regular, & personal use. And if so what they are? E.g. A colleague of mine tracks all of his homes energy use through a custom program which disaggregates the energy consumption per device and outputs a report to a tablet.
Comments (651) 385 threads
Earlier comments- wgetcheck (Python): Downloads a file with wget and verifies a provided hash, for my convenience. Also automatically verifies internal checksums in zip, gz, and other archives, and verifies the size and MD5 checksum provided in a HTTP header. I'll probably next add verifying the provided size of the file to provide some sort of basic check for files without provided checksums. This all would probably be better done by a browser extension, so maybe I'll write one later.
- freeze (Python): A script to update a hash file (same format as shaXXXsum) by adding new files and noting which no longer have matching hashes. Optionally sets the files as immutable [0] to prevent them from being modified or deleted. Intended to be used on files which aren't supposed to change or change infrequently.
[0] https://en.wikipedia.org/wiki/Chattr (chattr +i)
It works pretty well w/ Linux, and also iTerm2 on macOS (if you enable mouse reporting events). It's a hot mess if you use Terminal (but no one uses Terminal, right?)
There are staples I keep coming back to. I'm always trying to write a reverse ray tracer that shoots photons from light sources and tracks them around to see if they hit a pinhole camera, but they are of course way too slow. I've played with some ideas for compressing images, and I've taken a few runs at the hutter prize (compressing wikipedia). Writing a massive text-based old-school rogue-like is something I keep coming back to.
I used to mod games, and have played with some programs designed to edit different file types I was trying to reverse engineer. I've played around with trying to optimize sha-256 hashing, but haven't gotten anywhere. I also have tons of shells scripts that do various things.
I usually write in straight C these days, though I've tried various programs in D, Free Pascal, Ada, Java, assembly, Perl, BASIC (back in the day) and probably others I've forgotten. I remember in high school writing a game with a friend for one of the early Tandy machines in assembly on paper and then hand-assembling it to machine code and using poke in BASIC to put it in memory and then executing it. We didn't have access to an assembler.
I haven't ever given out any of my code, I just use it to play with ideas and to keep my skills up.
It is a command line app that enables you to turn any text on your screen into text on your clipboard. When you envoke the ocr command, a "screen capture" like cursor is shown. Any text within the bounds will be converted to text.
You could invoke the app using the likes of Alfred.app, LaunchBar, Hammerspoon, Quicksilver, Raycast etc.
I only released it to the world when I swapped the backend out from being Google Vision to Apple's built-in OCR APIs.
I also made a "life management" app marcusOS [2], that does all the usual things you'd expect.
[1] https://github.com/schappim/macOCR
[2] https://s3-ap-southeast-2.amazonaws.com/cdn.amplifier.app/Sh...
All comments shown.
Couldn't load more comments. Check your connection and try again.