Live data from Hacker News

Ask HN: What non-work task have you automated?

news.ycombinator.com

471–480 of 722 posts

Re: Ask HN: What non-work task have you automated?

#471
post #381
post #143

I was in the US and want to immigrate to Canada because of US broken H1B immigration system ( for me it will take 9 years to get a greencard). Here is what I did - The immigration website of Saskatchewan province opens up randomly to apply for immigration. I missed it many times because there is no indication other than the "Apply" button being enabled and a small text in their homepage which says "Applications are n…

https://visualping.io/ can do this, although it sends email alerts rather than SMS messages. I used it to notify me of new Hololens events, listed on this page https://www.microsoftevents.com/profile/web/index.cfm?PKwebI...

Other possible services include https://uptimerobot.com/ and https://www.pingdom.com/

Just set it to check for the presence of a word on the page, etc.

Re: Ask HN: What non-work task have you automated?

#472
I. I live in China, so pollution can be a problem at times. Usually I don't bother to check the Air Quality Index, but it's useful to know when it's really bad, so I wrote a small script to connect to aqicn API and display the index in my desktop panel (along with weather and temperature :)

II. This year my school's schedule is really hard to interpret, with 4-days rotations out of 6 every week, plus fridays also rotating themselves... I wrote a script that checked the schedule, the holidays, fetched the list of classes for each student and created a .csv file ready to be imported in their calendar. Sadly I didn't bother to build a GUI for it, so I'm the only one using it.

III. Wrote a script to automatically swith color profile in my terminal and panel. Still have to figure out how to switch gtk colors though.

IV. I wanted to use mpd to listen to music, but be able to stream some music from youtube if I wanted to. I used youtube-dl to fetch stream URLs and titles for songs, and add them to MPD playlist.

Re: Ask HN: What non-work task have you automated?

#473
A few years ago I decided I wanted a very specific car (only 17 were ever sold in the US with the particular specs I was looking for) and the usual manual methods of searching every single car and classifieds site were too time consuming. I wrote a scraper to check them daily and generate a report of the new results. Six months later I found the perfect one, flew out to pick it up, and had an epic 1,300 mile roadtrip home.

Re: Ask HN: What non-work task have you automated?

#474
post #244

Earlier quoted context omitted.

The problem with monetizing this service is because there are many immigration watsapp groups with many members in it. So when one member buys this service, he can simply broadcast this notification to his watsapp groups. I even made the service free, but no takers. Anyways it worked for me, changed my life !

Ah fair enough. Glad it all worked out for you. I did choose Canada ( well, my dad) for undergrad because of easier immigration policy.

You took the right decision. (well, your dad).

Re: Ask HN: What non-work task have you automated?

#475

Earlier quoted context omitted.

I can't believe I never thought of this one. If real-time enough, that sounds like a very useful feature for accounting purposes. You could turn the email into a phone push notification asking you to classify the transaction as business or personal, for example. That said, does it take negative numbers? Or how would it handle refunds/returns?

> If real-time enough From my experience it seems to be very real-time. They call them "Rapid alerts" > Or how would it handle refunds/returns? It doesn't notify you of refunds as far as I know. So you won't be able to track your exact account balance just based on these emails. It's good enough for knowing what's going on IMO.

Having now set it up on a few of my credit cards, I can say that speed (and alert types) vary bank-by-bank. One bank sends me notifications for every transaction, another is like Chase but requires $1+ transactions, not $0. A third is delayed in showing any transactions online (or by email) by two days on a regular basis, making its alerts somewhat less useful.

Re: Ask HN: What non-work task have you automated?

#476
A lot of great ideas in this thread!! I've automated quite a few work tasks over the years(just as fun IMO) but the ones I've done for 'fun fun' are...

- I played an online survival game and the server I played on had a live web based map that you could look at, the server chat activity was also visible on this online map and no one playing on the server could tell if anyone was listening in, the problem was that the text disappeared every few seconds - so I made a script to check if the site changed at all(passively listening for the js event, scrape the text, upload it to my private server via FTP and I setup a webpage that any of my friends could logon to to get the full details(with various sorting/filtering options as needed, nothing over the top, and updated every 30 seconds) this helped me and my clan tremendously because it gave us a deep insight into all the alliances, who raided who at which times, then we'd use this edge to make new allies and we eventually completely crushed the top clan of 18+ people with our smaller group of three.

- Ran a gaming server for a year or so and I automated checking who had previous bans on steam for any game(it was some online service, don't remember which), got their SteamIDs off of server logs, performed the check, and if certain values showed up on the page it would log the query page to a screenshot(to get a full picture of their activity in case of dispute), log their SteamIDs in a list and the ones who got red flagged got banned nightly.

- 2 MMORPGs(one top down game, and one 3D game), got to max level on the 2D game without playing a minute of a new character after script was done(python, image recognition, basic evaluation of status/reaction) and returning to a character with plenty of loot when getting home after a day at work was a lot of fun. (some of my purist gaming friends don't agree, but we all get our kicks differently) - I never traded to not affect the economy, was done as a learning challenge, and the results didn't matter a whole lot. Quit playing pretty much right after 'beating' the challenge.

- Polls, multiple personalities, statistical variance.. the whole 9 yards..

- Photoshop workflows, and a few other 'art' related programs. I can only do something manually for so long before I'm itching to script it.

- Web scrapers of all kinds, several image scrapers, one which filled a folder with results from a keyword of your choosing.. another one is classifieds scraper which notifies you when something you're looking for appears, done by indexing current status of the sub category you're interested in, run a diff, pop the older ones, stores all time stamps/ID's/URLs, browses to the new ads and gets relevant fields, formats them all in an XLS sheet for friendlier and ad free browsing(with links to images).

- Text manipulation for a big keyword project that spanned months, ended up with lots of great data, some of which is no longer available accuracy wise.

- Scripts to check the status of and update common applications silently and over the home network. Other scripts to check the status of all devices on the network, the 'health' of various services etc..

- Backups.. file manipulations..(data, names, inserting metadata, reading metadata from thousands files, indexing the results and subsequently performing actions to the files based on the metadata)

- Some hardware quirks that I ended up fixing with scripts which automated devcon.exe actions and that ran on boot.

- Online dating, top three spots constantly, and yes, more eyeballs on your profile means more first contact from the ladies. The profile was meticulously written and re-written based on performance(contact stats), with ad copy type hooks intertwined, my record day was 17 new messages.

Re: Ask HN: What non-work task have you automated?

#477
post #381
post #143

I was in the US and want to immigrate to Canada because of US broken H1B immigration system ( for me it will take 9 years to get a greencard). Here is what I did - The immigration website of Saskatchewan province opens up randomly to apply for immigration. I missed it many times because there is no indication other than the "Apply" button being enabled and a small text in their homepage which says "Applications are n…

https://visualping.io/ can do this, although it sends email alerts rather than SMS messages. I used it to notify me of new Hololens events, listed on this page https://www.microsoftevents.com/profile/web/index.cfm?PKwebI...

Because this was very important to me and my life forward, I thought it was better to roll my own custom notifier. Moreover, the phone call thing was the most important part which will get attention any time of the day than an email.

Re: Ask HN: What non-work task have you automated?

#478

Earlier quoted context omitted.

Would you please alert me as well?

We should automate this somehow…

lol good idea. can you guys add your emails to: https://aetolabs.com/harvest/

i won't spam you, promise. will notify everyone there about updates like the firefox port

Re: Ask HN: What non-work task have you automated?

#479
post #352
post #143

I was in the US and want to immigrate to Canada because of US broken H1B immigration system ( for me it will take 9 years to get a greencard). Here is what I did - The immigration website of Saskatchewan province opens up randomly to apply for immigration. I missed it many times because there is no indication other than the "Apply" button being enabled and a small text in their homepage which says "Applications are n…

Did the same thing to get a wedding registration appointment with the Berlin city administration, but used Ghostery instead of AWS+Twilio. The responsible administration department currently doesn’t give out appointments and advises not to plan weddings because they are so understaffed, but I didn’t feel like waiting. Got a notification email from Gostery in the middle of the night, registered the only available slot…

So we both had life changing events. Its the real winning moment of a programmer when he is able to use his/her skills for a "non-work" task automation. Its more satisfying.

Re: Ask HN: What non-work task have you automated?

#480
post #143

I was in the US and want to immigrate to Canada because of US broken H1B immigration system ( for me it will take 9 years to get a greencard). Here is what I did - The immigration website of Saskatchewan province opens up randomly to apply for immigration. I missed it many times because there is no indication other than the "Apply" button being enabled and a small text in their homepage which says "Applications are n…

Congrats. It is for sure a life changing hack. Not sure why you choose to do diff? You could have just searched the dom for the existence of 'Apply' button? Am i missing something?

Frankly, I didn't think much. Just wrote this script in an impulse of a moment when I missed a slot. During that time, I didn't think about how it was done, but the end result. Sure diff would have triggered false positives, luckily didn't get any.
Post reply on HN