Lurker News
Curious 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
btrettel#
Some recent small ones I wrote:

- 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)

Patrick_Devine#
I was so bored at my last job that I wrote my own version of Minesweeper that works in your terminal. You can try it out by running: `docker run -it --rm ghcr.io/pdevine/bombitron`.

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?)

godshatter#
I've been writing programs for myself since I started programming on a Tandy Level I. I'm always working on some project or other. Most of them are too big for me, but I do them so I can learn how the real things work. Currently writing an html user agent, but it's not even off the ground yet. I have a program that uses something like genetic algorithms to play go, but it's not doing very well relatively speaking. I wrote a program to resize files using an underlying floating point grid whose size you can specify that tends to work okay. It's slow, but I use it for resizing files for smaller displays and just to tinker with.

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.

schappim#
I made macOCR[1], it is an app that I used for years to make office work easier.

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

Load more comments