Live data from Hacker News

Ask HN: What's are your personal automations?

news.ycombinator.com

71–80 of 159 posts

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

#71

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

This is really nice!

Here is an attempt at fish port:

   function notifyme
     set MSG $argv[1] "Terminal is done"
     set TITLE $argv[2] "Done!"
     osascript -e "display notification \"$MSG[1]\" with title \"$TITLE[1]\""
   end

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/88682

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

#72

I've found that paying people to provide you with good food saves tonnes of time: shopping, prepping, cooking, cleaning, garbage. Hotel buffet breakfasts or similar are a good solution. This is by far the most time efficient daily hack. Also good are floor cleaning robots. Not owning a car is great too, if you add up all the time doing parking/registration/license/insurance/whatever. Software... well, mostly just avo…

Do you just never cook for yourself? What service/method do you use? 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.

Often cook, love cooking but don't cook every day. Most days if a meal is consumed at home it's either cold (salads, something with-or-on bread), really quick (soups), or zero-prep (fruit or nuts).

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.

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

#73

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 wrote https://notica.us to do something similar. It needs a web browser open, but works over SSH and to your phone.

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

#74
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 have a bot that scans hacker news for keywords and notifies me. Which alerted me to this post. :)

- I have a bot that which scans reddit and twitter for keywords.

- I have a bot that watches Rotten Tomatoes for upcoming Sci-fi movies that are rated "Fresh". Then creates an RSS feed for me.

- A bot that watches my side project and lets me know when it goes down.

- My entire side project is completely automated and a daily email goes out automatically (https://randomdailyart.com/)

- I get email reminders and notifications on my phone to remain in contact with people using https://www.monicahq.com/.

- Built a telegram bot where my SO and I can quickly add entries into a google sheet, for tracking who paid for what.

I'm sure there's more but that's all I can think of on the top of my head.

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

#75

I use email for many automations. Email is very flexible, lots of services directly integrate with email and for all the other stuff there is zappier. Some examples * mailing something to todo@mydomain will put it in my todo list (i.e automatically forward actionable emails, jira tickets etc) * mailing a link to videodl@mydomain will run youtube-dl on the link and then upload the video to onedrive. I also have a comp…

I really like this. I too use n8n a lot.

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

#76

I use to spend a lot of time on Reddit looking for conversations that were relevant to my business. Promoting our products in the context of those conversations usually resulted in sales leads. 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.

Would you mind sharing this tool? Or at least more info about how it's built? I'm using huginn to do something similar but it's a bit janky.

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

#77
I have a few:

- A site which has an RSS feed of my Twitter feed. On entry per day.

- Automated backups of Notion and Dropbox to Backblaze

- Notification for likely missing data in my Spotify logging app. (I download all my play data from the recent plays api)

- GitHub actions to download each new Instagram post.

- Scripts to process my personal finance data into a database which backs a grafana dashboard

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

#78
post #37

6 years ago, I made a tool to automate staging server deploys on git push, and then open-sourced it. https://github.com/adnanh/webhook And someone used it to automate their robot vacuum cleaner when they press the amazon dash button :)

I use it to automate deploys. Thank you.

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

#79
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 a time, and divide into loaf-sized portions. Wet is water, sugar, honey, oil, salt, etc. Dry is various flours, oats, multigrains, etc.

When it comes time to make bread (usually the night before we want it), it's a simple matter of pouring a wet kit into the machine, sprinkling over a dry kit, some yeast, setting the timer and pressing 'start'.

The kids do that, and do most of the batch prep, which we/they've optimised for teamwork, and for example we've 3d printed scoops in the right measures for the recipe, to speed measurements.

So from my point of view, I almost have 'automatic bread' :)

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

#80

I have a few: - A site which has an RSS feed of my Twitter feed. On entry per day. - Automated backups of Notion and Dropbox to Backblaze - Notification for likely missing data in my Spotify logging app. (I download all my play data from the recent plays api) - GitHub actions to download each new Instagram post. - Scripts to process my personal finance data into a database which backs a grafana dashboard

Downloading recent plays data from Spotify seems interesting.. what do you do with it? Personal custom "wrapped 2020"?
Post reply on HN