October 27, 2010

CS Pranks: Push it!

While working as a Sunlab consultant at Brown, my buddy and I would frequently find ways to 'spice up' the workspace. If we ever found the other person's workstation empty without being properly xlocked, we'd usually pull pranks on each other: 'alias ls='eject; ls' being a popular harmless one, or writing zwrite <username> -m "PAUL LOGGED OUT" on my .logout file, executed anytime I logged out.

The sad thing about these pranks was that occasionally someone else would do a more malicious one, and we'd get blamed :( But there's still so much fun to be had from finding ways to shake things up.

This tweet by Coding Horror's Jeff Atwood gave me the idea for the next one:

by law, every fifth push to DVCS must be followed by this video link http://www.youtube.com/watch?v=vCadcBR95oU

Naturally, the youtube link plays this:

Gotta love the 80's.

Were I still there, I would love to institute this. But for now, I'm setting it up on my machine, to keep things from getting too boring. To do this yourself you'll need the following:

  • mpg123, a simple command-line mp3 player. Easily installable.

  • An mp3 of Salt-n-Pepa's Push It


Given all this, the rest is easy as pie. There are surely more elegant solutions than what I did:

  • Store the number of pushes in an external file echo "1" > how_many_pushes.txt

  • Write a script to keep track of and increment that number as time goes on. Here's my Ruby script:




  • Execute git config --global alias.psh !push_wrapper.rb.



Now just use git psh instead of git push, and have a surprise every now and then ^_^

October 24, 2010

Fear and Loathing

Glenn Greenwald has another winner, this time over the firing of Juan Williams after his "I's afraid of Muslins!" kerfuffle. His article is great by describing the general trend of fear and loathing in America:


To start with, as a general proposition, it's vital that the American citizenry always be frightened of some external (and relatedly internal) threat. Nothing is easier, or more common, or more valuable, than inducing people to believe that one discrete minority group is filled with unique Evil, poses some serious menace to their Safety, and must be stopped at all costs. The more foreign-seeming that group is, the easier it is to sustain the propaganda campaign of fear. [...]

"The Muslims" are currently the premier, featured threat which serves that purpose, following in the footsteps of the American-Japanese, the Communists, the Welfare-Stealing Racial Minorities, the Gays, and the Illegal Immigrants. Many of those same groups still serve this purpose, but their scariness loses its luster after decades of exploitation and periodically must be replaced by new ones.


The terrorists have won, guys. They flew a few planes, destroyed some buildings, killed a couple thousand people. It was our idiotic scared reactions which drove us to record deficits, torture, fewer civil liberties, a surveillance state, and participation in the two longest foreign wars in US history, which killed more of our people than the planes did (not to mention Iraqis/Afghans). And we're still scared.

It's simple advice, sadly still relevant: Refuse to be terrorized. Stop playing into their hands and for Baal's sake, grow up.

----

On the theme of cultural Paul-is-grouchy, Dan Savage has an exchange, followed by another, from Good Christians who wish he'd just stop being so mean! He (rightly) tells them to shut up and wake up:


I'm sorry your feelings were hurt by my comments.

No, wait. I'm not. Gay kids are dying. So let's try to keep things in perspective: fuck your feelings.

A question: do you support atheist marriage? Interfaith marriage? Divorce and remarriage? All legal, of course, and there's no Christian movement to deny marriage rights to atheists or people marrying outside their respective faiths or to people divorcing and remarrying. Why the hell not? [...]

The children of people who see gay people as sinful or damaged or disordered and unworthy of full civil equality—even if those people strive to express their bigotry in the politest possible way (at least when they happen to be addressing a gay person)—learn to see gay people as sinful, damaged, disordered, and unworthy. And while there may not be any gay adults or couples where you live, or at your church, or at your workplace, I promise you that there are gay and lesbian children in your schools. You may only attack gays and lesbians at the ballot box, nice and impersonally, but your children have the option of attacking actual real gays and lesbians, in person, in real time.

Real gay and lesbian children. Not political abstractions, not "sinners." Real gay and lesbian children.


It's required reading. As someone who also doesn't keep silent on the horrors of irrational thinking (usually religious or religiously motivated), I too tire of the "stop being so mean, Paul!" line. Really guys, all I do is report the news. If you aren't completely outraged, you aren't paying attention. And any offended religious folk should probably be pointing their ire elsewhere, since I'm normally reacting to egregious events. The "don't be offended at me" angle was the genius of this song:





While not religious, also relevant:



I know we all want to be friends and not have anybody's feelings hurt, but kids, some shit is just stupid. And I'll call it that.

Back from Istanbul!

I'm a week back from my marvelous trip, photos over at Madly Brilliant's blog and a Facebook album.

I can only say it was a magnificent, magnificent week. I might even say transplendent! Istanbul is one of the most beautiful cities I've ever been to, and Turkish people were (as many people are) kind, warm, and happy people.

Sometimes I imagine/fantasize doing what my mother did, which is to go to another country where you don't speak the language and really make a life for yourself there. If I had to do it anywhere, Istanbul would be a great candidate. While you have the beautiful old city, you also have a thriving, modern hub rich with activity and the city life that I love so much.



So why aren't I thinking of ways to make my life there now? There are a few sore points with my Turkish experience:

  • It's illegal to criticize Ataturk in Turkey. Not that I know enough about him to criticize him at all (hell, it's because of him Turkey is the success story that it is, in terms of secularism) but I still find this law egregious. We all know I'm pretty anal about freedom of speech though.

  • Youtube is banned throughout the country after trolls made fun of Ataturk. Really? Yeah, that'll show'em! The funny thing is there are crappy proxy sites people use, and the prime minister himself said something along the lines of "the supreme court made a dick decision, so use the sites. I know it's illegal, but you should use them anyways."

  • Turkey is the most dangerous place to surf the internet. It hardly affects me because I'm usually on Linux/Mac, and am a security buff. But still, hardly a mark you want. Madly Brilliant found 2 viruses on her USB drive after lending it to a Turkish Roommate. That's what happens when you stick your stick in the wrong slot!

  • Finally, its turn back to religion. While Istanbul and Izmir remain pretty secular, populated almost exclusively by MINOs (Muslims in Name Only), this is true of almost any country: the big cities are pretty secular. What also matters is the leadership, and the general populace, both of which are crossing into more religious territory. I avoid that when I can.





Despite these little thorns (and most countries, ours included, have more and more severe ones), I'm pretty much in love with that country ^_^

The whole experience also made me think of my new adulthood. I'm working, and loving it, but occasionally thinking to myself "So when's Winter Break?" Oh yeah, there isn't one. You get three weeks a year.

If my three weeks get to be like that one was, it's a bargain for twice the price ^_^

October 8, 2010

Off to Istanbul!

I'm off next week to visit Madly Brilliant in her current home of Istanbul, Turkey. She's abroad for the first time, spending 5-ish months as a lab tech, so my visit bisects hers. Mad props to Adobe for letting me do this ^_^

(by the way, we just released the AIR Runtime for Android! Download it onto your phone now, and enjoy mobile AIR apps ^_^)

Of course, I'm visiting during a terror warning. Surprisingly, I'll describe my reaction with a meme:



Bruce Schneier (from 2004!) and Slate highlight why this is so.

Also, the last show I sound designed at pw used Fly Me To The Moon as a recurring musical motif. So when I heard this, at first I was like "Hmm..." but then started grooving contentedly:



I have a very colorful, mixed relationship to the theatre that produced the show (I was on the board). Still, they have a wonderful little wiki where I made and defaced a profile page.

Away I go!

October 4, 2010

moar remixes

I'm a tired, grumpy Geodude, but I have to post these remixes, because they're quite lovely. 16 pop tunes:



Glenn Beck/Donald Duck. It only really picks up after 3:00 or so.



Not a remix, but this short was used as an illustration of how one can be an atheist and still at peace with the world. I don't know if I agree with that assessment, but it is a wonderful piece: