THE BLOG

22
Jul

Chinese Twispers Live

I’ve still not heard anything from Twitter regarding the closure of my Chinese Twispers account. Very annoying. I was a big fan of that account, and felt it deserved to live on. Hence, I give you Chinese Twispers Live. Instead of having a set of pre-determined replacements for words, you can enter your own and enjoy the wonder of defacing other people’s tweets. Then you can share those with your friends so you can all enjoy – what more could you want? Hope you enjoy it!

20
Jul

The End of an Era

Today, I found out that the Chinese Twispers Twitter account (@chinesetwispers) has been suspended. I’ve not heard from Twitter on this matter, but have reached out to them. Annoyingly, all the tweets appear to have been lost, including all the favourites. I’m very disappointed about this, since many months of hilarity were included in that account, and now it’s all gone without so much as a suspension notice from Twitter.

I’ll start work on a replacement this evening, but it will never be the same. Good-bye, old friend!

If anyone has some of their favourite Twispers they happen to remember and would love to share, go ahead and comment on this article and I’ll start a dedication page.

19
Jul

FFT in an SQL Query

I just came across this, and thought I’d share it with you whilst I’m working on a couple of things and don’t have time to post properly.

The Fast Fourier Transform, implemented in an SQL query. This guy must be absolutely insane. Kudos to him!

http://www.adellera.it/investigations/nocoug_challenge/index.html

02
Jul

Trollscripts

Thanks to AppleScript, an office with multiple Mac users can be a prankster’s dream. We recently infuriated a co-worker for the best part of a week, using only 3 lines of code, which I’m about to share with you. First, some ground work:

  • You’ll need the user’s computer password (if they lock their Mac). Wait until they’re off sick or out of the office, and call them to say you need something off their computer. Or, if someone has knowledge of your co-worker’s password, sweet-talk them into giving it to you.
  • Whilst you’ve got access to their computer, go to System Preferences -> Sharing, and make sure “Remote Apple Events” are turned on. Make a note of their computer’s address at the top, as in the screengrab below.

System PreferencesNow you’ve laid the groundwork, it’s time to have fun. Open up the “AppleScript Editor” on your computer, and paste in the code below.

tell application "Chrome" of machine "eppc://user@computer-name.local"
	open location "http://emuspin.com"
end tell

(Here’s a direct link to the file)

Obviously, replace “user” with the username of your co-worker, and “computer-name” with their computer’s address. You can also change the URL to whatever you like, and if they don’t have Chrome installed be sure to swap that value for Safari. Hitting “Run” in the AppleScript Editor should prompt you for their password, and then open that page in a new tab of their browser. Repeat as much as is deemed necessary. We found it particularly funny convincing our co-worker that it was voice activated – every time they said “Emuspin” we would open http://emuspin.com on their computer. The possibilities are endless!

Enjoy!