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 commentsMost used program: I keep a journal of practical daily happenings in Emacs org-mode, organized hierarchically by year/month/day. It was too much hassle to add new entries (I'm lazy), so now I have a utility that inserts journal entries in the correct place from the command line, e.g., "add-journal 'talked with roofers to get estimate'". It's turned into an ad-hoc database for recording things like my weight, also, which gets parsed and turned into a graph.
Wouldn't it be easier to just use org-mode's capture functionality (https://orgmode.org/manual/Capture.html)? I.e.
Then `C-c c j` will prompt for a new entry, `C-c C-c` to save it. The `file+olp+datetree` will automatically put them in a year/month/day hierarchy.- When I was a kid using a DOS PC I'd write them in Microsoft QuickBASIC or Turbo Pascal and compile them to EXEs. (I used to drag a few particularly useful ones around with me until a few years ago when the prevalence of 64-bit Windows made running them on a stock Windows machine impossible.) I had stuff there like a random password generator, dumping files to VGA mode 13h (to visually look for patterns in data), drop the DTR on a serial port (to hang up a modem from the command line), search/replace on INI files, and lots of others I've forgotten.
- I wrote a proto-Markdown text processor back in high school when I was taking notes on a vTech Laser PC4[0]. It took files from the vTech and rendered output files with Epson printer formatting codes, centered text, made headings, etc.
- I regularly use a script I wrote to import my phone backups' SMS logs and dump them into my IMAP mailbox. I love being able to search all my email and SMS communication in the same interface.
- I have a podcatcher I wrote bolted onto my (heavily forked) tt-rss[1] installation to download podcasts to a local webserver for archiving and playing.
- My father persists in using a DOS accounting package for his business. A small program I wrote ingests check printing output from the DOS app (meant for dot matrix tractor-fed checks) and reformats it for sheet-fed checks in a laser printer.
- Front-end scripts for lots of command line utilities so that I don't have to remember obscure options for common tasks.
[0] https://oldcomputermuseum.com/laser_pc4.html
[1] https://tt-rss.org/
Got some bugs with formatting complex lines of text, but it works well enough for me. I plan on porting to Rust one of these days.
https://github.com/mathaou/termdbms
Whenever the bot has gone down (I turned off the home server or whatever) my friends complain, so I know the bot is fulfilling its purpose :)
All comments shown.
Couldn't load more comments. Check your connection and try again.