Live data from Hacker News

Ask HN: What's are your personal automations?

news.ycombinator.com

121–130 of 159 posts

Re: Ask HN: What's are your personal automations?

#121
I use a mobile app that I created to launch programs and games on my computer from any room.

Very useful to launch just the programs I need in the morning from the bathroom and closing them when I'm finished.

In that way I can easily keep work and private workflow separated. I plan to release it next year, check out RemoteMeow on twitter or reddit.

Re: Ask HN: What's are your personal automations?

#122

I automated my desktop environment configuration using Docker containers. I'm able to go from a headless tty to perfectly tailored desktop environment in ~2.5 seconds. First time start requires a ~40 min build, byut thereafter ~2.5s to start afresh. https://github.com/sabrehagen/desktop-environment I did the same think for my production application environment. One command to go from no infrastructure to production g…

This is really cool, thanks for sharing. Very elegant.

Re: Ask HN: What's are your personal automations?

#123
post #5

For myself, I automated creation of language flashcards. 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. Jus…

This is amazing. Can you share the code?

Re: Ask HN: What's are your personal automations?

#124

I realise this might not be what the question has in mind, but we have a bread machine. Just buying bread might be more 'automatic', but we've been evolving the process and recipe for the last 6+ months, and honestly the bread is now better than any but the best artisan loaves available locally, and hugely cheaper. To save time, and overcome laziness, we pre-mix 'wet' and 'dry' 'kits' in batches of 6 or 10 loaves at…

We used to have a bread machine years ago.

The best part was the smell of freshly baked bread.

The part I didn't like was the big hole in the loaf where the bread mixing paddle thing was. Has that been solved?

Re: Ask HN: What's are your personal automations?

#125
post #124

I realise this might not be what the question has in mind, but we have a bread machine. Just buying bread might be more 'automatic', but we've been evolving the process and recipe for the last 6+ months, and honestly the bread is now better than any but the best artisan loaves available locally, and hugely cheaper. To save time, and overcome laziness, we pre-mix 'wet' and 'dry' 'kits' in batches of 6 or 10 loaves at…

We used to have a bread machine years ago. The best part was the smell of freshly baked bread. The part I didn't like was the big hole in the loaf where the bread mixing paddle thing was. Has that been solved?

Indeed, we usually program it to be ready by morning - so we wake to the smell of fresh-baked bread, it really fills the house - no need for an alarm!

The paddles thing hasn't been solved AFAIK, I think they'd have be lowered and raised from the lid, rather than retracting through the waterproof pan. But anyway, with a dual-paddle machine, it's not such a big deal.

Re: Ask HN: What's are your personal automations?

#126

I use the following in Bash. function notifyme() { MSG=${1:-'Terminal is done'} TITLE=${2:-"Done!"} osascript -e "display notification \"${MSG}\" with title \"${TITLE}\"" } I use it like: bin/start-unit-tests; notifyme

I do something similar, but it is networked so when a compile is done on my dev machine, my main desktop shows a notification using terminal-notifier.

It's very old and very hacky. There are probably apps that do this so much better.

  /Applications/terminal-notifier.app/Contents/MacOS/terminal-notifier -group not -title "$t" -subtitle "$st" -message "$m" -execute "$HOME/bin/gospace 1"
gospace ends up doing:

  osascript -e 'tell application "System Events" to key code 18 using option down'
which presses option-1 which switches to space 1

Re: Ask HN: What's are your personal automations?

#127

A cron job that runs on a server and sends me a daily digest email. It’s composed of a number of modules that each check one thing and report a message and a “severity”. The glue code then orders them and send the email. Currently it checks: Twitter follows/unfollows for me, my wife, and my Twitter bot Stock movements for the few stocks (RSUs) I have Confirmation that several daily backups (db dumps etc) were success…

someone here said that the nyt frontpage is available in pdf format.

I now download this url and email it to myself as an attachment:

  now = datetime.datetime.now()
  nyt_url='https://static01.nyt.com/images/%04d/%02d/%02d/nytfrontpage/scan.pdf'%(now.year, now.month, now.day)

Re: Ask HN: What's are your personal automations?

#128

If a 1-liner run manually counts, feast your eyes on nearly a kilobyte of awful bash: for i in raw-* ; do cat $i | expand | egrep '[A-Z]{3} +[0-9]{4}|/2021' | sed -r -e 's!08/(..)/2021!aug\1!g' -e 's!09/(..)/2021!sep\1!g' -e 's!10/(..)/2021!oct\1!g' -e 's!12/(..)/2021!dec\1!g' -e 's!01/(..)/2021!jan\1!g' -e 's!05/(..)/2021!may\1!g' -e 's!03/(..)/2021!mar\1!g' -e 's!02/(..)/2021!feb\1!g' -e 's!06/(..)/2021!jun\1!g' -e…

how does while with two reads work?

Re: Ask HN: What's are your personal automations?

#129

I use a lot of automation these days, here's a summary: - There's only one bakery in my area that has keto bread, but infrequently. I have a daily bot that scans the bakery page on the Uber eats equivalent webpage, then alerts me when bread is available. - On my phone I get a notification in the morning. When I click it, it copies my daily journals markdown template, opens the note app. Then I paste and write. - I ha…

What do you host your projects on?

Everything is on a digital ocean box.

Re: Ask HN: What's are your personal automations?

#130
Every week I'm disavowing bad backlinks, blog spam created by saboteurs to manipulate Google rankings.

I have a script that compares the new links to the old links (last week), then I check those sites if they are real or spam. The new list is added to the disavow list.

The script makes life easier, because instead of going through all links I can only go through the new links.

Post reply on HN