Live data from Hacker News

Ask HN: What you have automated with Python?

news.ycombinator.com

31–40 of 48 posts

Re: Ask HN: What you have automated with Python?

#31

I work for a botanical garden and spend a lot of my time working in the gift shop. We have a huge pile of t-shirts, dozens of designs each in several sizes. Most of the employees spend at least an hour going through the whole pile to figure out which shirts need to be restocked. I wrote a python script that takes an xls sales report generated by our POS system and outputs a list of all the shirts we've sold, by desig…

How do you handle shrinkage w o manual count

Re: Ask HN: What you have automated with Python?

#32

I work for a botanical garden and spend a lot of my time working in the gift shop. We have a huge pile of t-shirts, dozens of designs each in several sizes. Most of the employees spend at least an hour going through the whole pile to figure out which shirts need to be restocked. I wrote a python script that takes an xls sales report generated by our POS system and outputs a list of all the shirts we've sold, by desig…

[deleted]

Re: Ask HN: What you have automated with Python?

#33
post #12
post #8

From reddit: My brother in law has a "habit" of going to jail. All. The. Time. My wife wants to know when it happens, so I setup a script to poll the local jail inmate rosters, and send me an email when his name shows up. It works pretty well. https://www.reddit.com/r/Python/comments/308ucq/how_do_you_u...

You could write something like www.isitchristmas.com :)

IsHeInJail.com is open. $10 / year.

Re: Ask HN: What you have automated with Python?

#35
post #31

I work for a botanical garden and spend a lot of my time working in the gift shop. We have a huge pile of t-shirts, dozens of designs each in several sizes. Most of the employees spend at least an hour going through the whole pile to figure out which shirts need to be restocked. I wrote a python script that takes an xls sales report generated by our POS system and outputs a list of all the shirts we've sold, by desig…

How do you handle shrinkage w o manual count

We do count the piles manually twice weekly

Re: Ask HN: What you have automated with Python?

#37
I've (technically) automated server monitoring.

I am a solo Sysadmin at a decently sized game server host and we have ~60 different dedicated servers. I wrote Platypus as a way of keeping track of it all. It's still definitely a work in progress (bugs are plentiful), but it now uses websockets so theres that. https://github.com/gmemstr/platypus

Re: Ask HN: What you have automated with Python?

#38

I've automated my build-test-commit workflow. My build script commits my changes at the beginning of the build. If the build or any of the tests fail, then the commit is rolled back, otherwise it is squashed together with other edits ready to be pushed. I automatically get a complete record of builds (in the reflog), and a fairly neat (if somewhat coarse-grained) history of changes with perfect traceability in my com…

I would love to see what it looks like, even in a rough format. I have been meaning to do something similar, in particular for running tests + docs and pushing to a repo.

Re: Ask HN: What you have automated with Python?

#39
post #38

I've automated my build-test-commit workflow. My build script commits my changes at the beginning of the build. If the build or any of the tests fail, then the commit is rolled back, otherwise it is squashed together with other edits ready to be pushed. I automatically get a complete record of builds (in the reflog), and a fairly neat (if somewhat coarse-grained) history of changes with perfect traceability in my com…

I would love to see what it looks like, even in a rough format. I have been meaning to do something similar, in particular for running tests + docs and pushing to a repo.

https://github.com/wtpayne/hiai/blob/master/a3_src/h70_inter...

https://github.com/wtpayne/hiai/blob/master/a3_src/h70_inter...

Re: Ask HN: What you have automated with Python?

#40
In my country you can apply for social housing online - but you never know when new listings will be published. So I built a scraper that used a telephony api to give me a call when a new listing was published. On a Friday night I got my automated call, looked at the listing and immediately booked a place on the queue. I was second. But the first person must have said no to the flat, so I got it. Paid very low rent for the few years that I had it. They added a captcha soon after.
Post reply on HN