Live data from Hacker News

Ask HN: What tasks do you automate?

news.ycombinator.com

301–310 of 349 posts

Re: Ask HN: What tasks do you automate?

#301

restart all things every night.

What do you need to restart? I tend to leave things running...I used to reboot my servers once a year, but now I'm not sure I'll even bother with that.

Many apps in this shop have some sort of error handling that puts apps to a weird state. Restart works while developers debug what's going on for months.

I tend to propagate errors and let supervisor handle failing apps. But it's the way it is now.

Re: Ask HN: What tasks do you automate?

#302
post #169
post #94

Earlier quoted context omitted.

I go about automation in even less efficient way. I spend many months doing repetitive tasks. And than I realize I should automate them, and proceed to spend hours coming up with scripts/tools to automate them. Happens way too often...

Check out the ski rental problem, it will explain how much manual work to do before automation is right.

I tried googling for this and didn't find anything - do you have a link?

Re: Ask HN: What tasks do you automate?

#303
post #169

Earlier quoted context omitted.

Check out the ski rental problem, it will explain how much manual work to do before automation is right.

I tried googling for this and didn't find anything - do you have a link?

Sure thing.

https://en.wikipedia.org/wiki/Ski_rental_problem

[...] The ski rental problem is the name given to a class of problems in which there is a choice between continuing to pay a repeating cost or paying a one-time cost which eliminates or reduces the repeating cost. [...]

Re: Ask HN: What tasks do you automate?

#304
post #297

Download media. I have Sonarr+Radarr+Plex. I don't spend much time looking for media. Code reviews. Using something like CodeClimate to automatically check code quality before anyone actually reads the code.

How do you think Radarr compares to Couchpotato? Considering making the switch, since Sonarr has been fantastic.

It shows promise but it's still a bit in its infancy.

It lacks (or lacked a couple of months ago when I last tried it) functionality that I deem indispensable, like putting and importing all the movies from the same directory (it wants - or wanted - every movie to be in its own directory).

Also, it uses a lot more memory. Which is probably fine for most people, but since my little server only has 1.5 GB RAM, it really makes a difference for me.

Re: Ask HN: What tasks do you automate?

#305
post #22

I'm the kind of nerd who greatly prefers writing automation code to doing anything remotely repetitive. (I'm afraid to work out the actual timings because I'm pretty sure that I often spend more time coming up with the automation than just doing the task would take). I've got a script that automatically rips, converts and stitches together audiobooks from the library so that I can play them on my phone. It just beeps…

I'd be really interested in that audiobook script. I have some that are ripped but not stitched together. I want to get to the point where all my audiobooks are one file.

I usually do one file per CD. You can usually just cat .mp3 files together, although some apps that expect non-standard metadata can get confused (mp3wrap is a more robust solution). 'cat *.mp3 > disk.mp3' (assuming that ls order is the order you want. Or 'cat first.mp3 second.mp3 last.mp3 > all.mp3') Other formats (like m4a) can be stitched together using utilities like ffmpeg.

Re: Ask HN: What tasks do you automate?

#306
post #199

In Lausanne, Switzerland, it's very difficult to find an appartement because there are too few appartements for too many people and it mostly follows "First-come, first-served". So I created scrappers for 3 websites + 1 facebook group. It simply looks for apartments with my specifications and notify me when a new one comes up. I can say, I successfully found an apartment. The whole process usually takes at least 3 mo…

Sounds like you've got a business in hand

I do. I'm planning on going forward with it.

Re: Ask HN: What tasks do you automate?

#307

Library book renewals. I have an AWS Lambda function that runs daily, scrapes html from my public library (they have no API), and if a book is due within the next day, renews it. If I've reached max renewals, it sends me a notification.

Do you have this project hosted anywhere?

https://github.com/pisomojadogrande/fcpl-api. Was a little weekend project, so not at all polished or documented, and only does a single account, but has a template where you could deploy it in your own AWS account. Also, the HTML scraping works only if your library is Fairfax Co., Virginia. But hopefully the pattern will be helpful.

Re: Ask HN: What tasks do you automate?

#308

My most proud "automation" was writing a bot that would play Farmville for me. I was at university, and Farmville was all the rage on Facebook. My girlfriend wanted me to play because it'd mean she'd be able to trade stuff with me or something (I forget why exactly), and I eventually caved in. After ten minutes of playing it, I was bored. I couldn't really judge people that would click plants hundreds of times, sever…

Fun story: with an extremely slow internet connection (satellite) you could send valid requests to plow fields that allowed the otherwise impossible vertical farming

Re: Ask HN: What tasks do you automate?

#309
post #210

I had tons of startup ideas that I'd always wanted to give it a try. After a point, it became frustrating to test them out one by one, either by writing custom applications in Rails or use Wordpress. But, both costed me a significant amount of time. For example, I had this idea for a travel startup for a very, very long time and I decided to build it on Wordpress. The monetization model was selling some E-Commerce it…

Interesting approach (and a good idea). Have you found any negatives with operating this kind of system?

Just need to watch out for security updates. Fortunately AppEngine provides security scans. But atleast I don't get weekly notifications when I used to have a Wordpress based system.

Re: Ask HN: What tasks do you automate?

#310
post #210

I had tons of startup ideas that I'd always wanted to give it a try. After a point, it became frustrating to test them out one by one, either by writing custom applications in Rails or use Wordpress. But, both costed me a significant amount of time. For example, I had this idea for a travel startup for a very, very long time and I decided to build it on Wordpress. The monetization model was selling some E-Commerce it…

You just described a multimillion dollar idea.

Thank you :)
Post reply on HN