Ask HN: What's are your personal automations?
Hey HN,
I'm curious to know more about what automations people use day-to-day. Either cron jobs or other services?
Does it make your day easier?
I'm curious to know more about what automations people use day-to-day. Either cron jobs or other services?
Does it make your day easier?
158 comments
[ 3.3 ms ] story [ 252 ms ] threadI have a tool I wrote which is doing periodic searches for specified queries on different sites and generates RSS feeds with new results + HTML reports (so I can find people with overlapping interests, e.g. if the same person matched against multiple queries) [2]. Sort of like google alerts, but much better. So there is some daily scraping for that.
I'm using a somewhat hacky tool which 'compiles' a python spec for jobs to systemd and makes it very easy to maintain. [1]
As for making my day easier.. not always yet, but certainly makes it more fun. I live by the motto "Never spend 6 minutes doing something by hand when you can spend 6 hours failing to automate it" :)
[0] https://beepb00p.xyz/my-data.html#consumers
[1] https://beepb00p.xyz/scheduler.html
[2] https://github.com/karlicoss/axol
inb4 "just use GitHub"
So I can just type a word/phrase in English, and then it will automatically fill in the target language translation, pronunciation, audio recording, and word-by-word breakdown to show what every word in a phrase means.
Before I would have to use Anki, and switch back and forth between Anki and various dictionaries, and have to create my own audio recording. Just removes a bit of friction myself learning (Chinese).
I have wanted to automate my flash cards with Forvo pronunciations (rather than TTS) for awhile but haven’t been able to figure out how
I've found that a lot of personal automation stuff on the computer just isn't worth it. I try to keep things simple and that reduces the need for automation altogether.
I built a tool earlier this year that streams comments from those forums, analyzes them, and pings me when a relevant conversation is found. I generally keep it running throughout the day in my local Terminal.
It's not online. I suppose I could spin it into a web application if the demand was there.
I have a shell script that that creates a new markdown file for that day, which I write my journal entry into.
Another script compiles a year's worth of journal entries into an epub.
Another workflow I made is similar, but for tasks. So every day I run a shell script that copies the last day's tasks to a new file with the new day's date, forcing me to evaluate what was done the previous day (if anything). Some days are great, some days not so much.
The tasks also show in my browser's new tab page to further reinforce.
I've tried org-journal in Emacs but I could never get over the learning curve of Emacs + org-journal.
As a data scientist I often run code that takes hours, and getting a slack message when it finishes is super helpful, and it has often helped me catch when a script finishes too early due to some error.
bin/start-unit-tests; notifyme
Here is an attempt at fish port:
disclaimer: this is first fish function I ever write so might not be the best way to do default values; I'm using hack from https://unix.stackexchange.com/a/88682It's very old and very hacky. There are probably apps that do this so much better.
gospace ends up doing: which presses option-1 which switches to space 1Automatic monthly purchases of low-cost index funds.
This way I don't have to worry (too much) about over-spending on other items as I've taken care of future-me.
Other than that, just some bespoke Tasker automations and some hotkeys on my computer. Reading through this thread makes me feel like a rookie, though.
Getting that sort of system sorted out is maybe the most productive thing you can do because it is meta-productive.
why? I have to deal with a bunch of files at $job. easier when they're all at one place, and I have a clean slate everyday.
I did the same think for my production application environment. One command to go from no infrastructure to production grade cloud application deployment. https://github.com/cloud-computer/cloud-computer
I use mostly macOS now but I’ve been thinking about using my desktop for work now that WFH and all that, so I need to embark on the Linux journey and this looks like a great starting point.
I did try Nix once but it was hard to love.
Edit: and hey you package Notion :)
I find that having a fully automated setup makes tech problems much less stressful. If something breaks, I can just re-install the system from scratch and be up and running again in an hour or two. It also makes changing hard drives or setting up a new machines very straightforward.
0 - https://git.sr.ht/~charles/provisioning
https://bergie.iki.fi/blog/docker-developer-shell/
I would love to reduce my cooking to weekends/whenever I feel like it, but I've had a really hard time finding a cheap, healthy, and sustainable way to do this. I always feel like I'm paying a more money to eat something that's not that great for me and tearing through gas/one-time-use plastics doing so.
Breakfast is usually at a nearby hotel which covers 2/3 daily meals and associated coffee. Got a deal going so executable at less than walk-in expense, with zero lock-in (turn up or nay), transferable so also good for meetings on occasion. Heaps of fresh fruit, bit of protein, veg, coffee. Would be hard to match for cost let alone time at home.
My view is to look at quality food like insurance and invest in your health, or do the maths on the time. It's worth it.
Its a community meal sharing app. They are almost in production. I was a contributor there sometime back.
Remember, just because someone tells you a better doesn't mean there was anything wrong with your way (if nothing else, sending actual keystrokes is a universal-ish API rather than having to learn each program's specific interface, if they even have one). But yeah, knowledge-sharing is a perk of these threads, too:)
1 - https://push.techulus.com/
If you have someone you'd like to get interested in IoT and/or programming, it's probably the best feedback loop between effort and reward you can find -- up there with learning to program HTML/CSS/JavaScript and refreshing a web app on local