Yesterday, I had an onset of severe abdominal pains. I didn't want to overreact so I called Healthline who recommended I see either my GP, or A&E within the next 6 hours. Shortly after I hung up, I had a pain spike bad enough to make me burst into tears. I wasn't getting anywhere clutching my stomach on the floor so I called an ambulance. An operator took my information, said that someone would be on their way and then hung up.
I was messing around with some queuing earlier today in order to try out the Kombu library. It works pretty nicely but I goofed up while playing with it. To add a message to a queue, it looks a little like this: from kombu import Connection, Queue conn = Connection() # Defaults to a RabbitMQ Docker container I have running locally queue = conn.SimpleQueue('test') queue.put('this is a message i want to put on the queue') You may want to use a context manager instead but for a simple test, this works fine.
Today, I finally solved an issue that has been a pain in my ass for many months: successful automation Towards the latter end of 2016, Twitter announced a new suite of tools for businesses via a blog post. There were a bunch of things from quick replies to profile-listed support hours which I'm sure were of some use. I used the latter but I also enabled “welcome messages”: automated replies that would trigger when a “customer” opened your direct messages.
I was browsing Hacker News earlier this week and came across an interesting post called Using FOIA Data and Unix to halve major source of parking tickets. As you can imagine, the post is exactly what it says on the tin and got me inspired to do some own data wrangling of my own. A few days later, a coworker got a parking ticket and I was reminded of that post so I told them the story.
This post has been a long time coming because I've never really known how to express it. I'm not even sure I can write it properly anyway but I'm going to at least try. I recently started the Xero Graduate Programme which has been amazing! As with any new position, it inevitably involves meeting a lot of new people for the first time. I'm not really here to talk about the program itself which is a story for another time.