phlyingpenguin.net
The best way to accelerate an IBM is at 9.8 m/s^2.

29Sep/09

Chatting with a bot

Bot:
You aren't nothing to me, I actually respect you a lot.
Me:
excellent, I like cats too
Bot:
I'm trying to learn spanish.
Me:
Spanish is a silly language. Learn Japanese instead.
Bot:
Spanish.
Me:
Japanese.
Bot:
Spanish.
Me:
Japanese.
Bot:
Spanish.
Me:
Japanese. Japanese. Japanese. Japanese.
Bot:
Spanish.
Me:
nihongo
Bot:
Nihongo uno quapa?
Me:
iie. nihongo hanashite kudasai
Bot:
Boku mo Nihongo wo hanashimasu. Tanoshii to omoimasu.
Me:
hai. watashi ha nihongo wo manabu desu.
Bot:
Desu.
Me:
DESU!
Bot:
Desu?
Me:
DESU GA HITSUYOU!
Bot:
Desu desu desu.
Note:
This bot is the Pidgin Jabberwacky autoresponder. http://bluesuncorp.co.uk/article/pidgin-autoresponder-using-jabberwacky
Filed under: conversation Comments Off
28Sep/09

Boulder Photos

Boulder CO

I finally uploaded the pictures of my Boulder trip. Enjoy. [link]

Filed under: General Comments Off
28Aug/09

My Passive Aggressive Note

And yes, I did submit it to passiveaggressivenotes.com

Filed under: photo Comments Off
13Aug/09

iPhone Push and My First App

Twitter Push

I’m working on my first (useful) iPhone app. It’s a push mechanism for Twitter updates and functions similarly to the Polar Bear Farm Tweet Push updater app ($0.99/30 days). Their app pushes all friend updates, which is quite a bit too much. Instead, mine is set to only push those tweets with users marked for notifications. That’s an option not available in any of the push notification Twitter apps that I’ve seen so far. This is to save on the outrageous SMS costs on which I still refuse to subscribe to any more than the base plan on. Twitter can eat that like candy if I want alerts. I may opt to allow ad-hoc distribution to friends’ iPhones, we’ll see. Until then, my server’s hard drive seems to have crashed so service quality is a bit low!

As far as thoughts about my experience with developing the app, I followed a recipe that I had seen in an article on Ars Technica before the 3.0 SDK was public. Overall it was very easy to write the skeleton push app and have it launch Twitterific once it loads, but the notifications certificates and other required handshakes were fairly hard to navigate. After all that’s done, all I had to do was make a daemon to check Twitter and push it over Apple’s network. For this, I used Python Twitter Tools to great success.

I did run into one fairly odd problem. It turns out that Twitter’s API doesn’t actually match up to what I’m fairly sure it’s supposed to be at the moment. Requesting a user’s friends status list (statuses/friends, max 100 at a time) seems to correctly report which users are set with device notification turned on. However, the friends timeline (statuses/friends_timeline) function that returns the last X number of tweets has a user tag in it for each update. This user tag doesn’t show the same value for notifications that the friend list does. That’s a problem since my app is suited to using the friends_timeline to get the last few updates to push out, but can’t use the notifications without spending another API call per 100 friends a user has. A bug report has been submitted to the API folks. For now, I can manually filter the users out without using Twitter’s data, but if I were to let anybody else use the app, I’d really prefer it to work correctly.

Filed under: General Comments Off
24Jun/09

Honesty.

Me:
if I'm honest
Me:
which sometimes I am
Jordan:
but usually not
Me:
I'd say the sour mash beer went sour
Jordan:
hah
Me:
and the can lid I found in the fermenter may support this hypothesis
Me:
but for now I'm going to say the flavor is on purpose and will mellow out
Jordan:
well
Jordan:
you went for a sour
Jordan:
so there you are
Me:
I did go for sour
Filed under: conversation Comments Off