Categories
Current Events Humor Programming

The “anti-party technology” Python option that Airbnb overlooked

Album cover for “The Best of Bread”

Airbnb is deploying “anti-party technology” to prevent a growing (and expensive!) customer problem: people using them to book houses to hold large parties in. This Fast Company article provides a short — and probably not complete — list of methods Airbnb is using to prevent people who are avoiding trashing their own place by trashing someone else’s place.

None of these methods is perfect, and there’s still a chance that someone who plans to throw a party gets past their filters. They’ll need some technological solutions that can kill a party in its early stages, and I have a Python-powered solution.

With a Raspberry Pi connected to the internet and tucked safely away in the the attic or locked closet and hooked to in-wall or in-ceiling speakers, you can remotely run this simple Python script that will stop any party dead in its tracks:

# party_killer.py

import webbrowser

# Open YouTube and play Bread’s greatest hits
webbrowser.open_new_tab("https://www.youtube.com/watch?v=3A-5qocjnoY&t=0")

Don’t believe me? Just give this a listen:

If you’re not Airbnb but a beginning Python programmer, you just learned how to use Python to open a new browser tab to a specific web page.

Update

It took a trip down memory lane, but I found it: the skit where I got the idea that Bread’s greatest hits will kill a party. It’s the “Party Stoppers” ad from the old Seattle-based comedy show, Almost Live:

The gag about Bread starts at 1:30.

Categories
Current Events Humor

The Daily Show’s excellent Elon Musk biography (narrated by William Shatner!)

Still photo from Elon Musk video biography featuring Musk with caption “Elon Musk’s growing empire is fueled by $4.9 billion in government subsidies — Los Angeles Times, 5/30/2015”

If you watch only one YouTube video today, make it Elon Musk: Visionary FutureMan, a fantastic take on the “Broligarch” done only the way The Daily Show can, and made even better by narrator William Shatner:

https://www.youtube.com/watch?v=kLdMn1CehPQ
Categories
Humor

We’ve all been the dog

Categories
Humor Programming

We’ve all been the one on the left

Categories
Humor

Russian roulette, sysadmin style

Yes, yes, I know that [[ should be used instead of [ in bash scripts.

Categories
Humor Programming

Truth.

Meme: Twitter tech community (mother holding child above the water in a swimming pool) / Web development (child being held up by mother) / Mobile development (child drowning in pool, ignored by mother) / Algorithms and data structures (skeleton in chair at bottom of pool).
Categories
Humor Programming

Don’t interrupt a programmer at work…

…because this could happen:

Comic showing what happens when you interrupt a programmer in the “flow state.”
Creative Commons comic by Jason Heeris. Tap to view the original.