programming
Posted Fri, 10/02/2009 - 04:14 by metarobert
I'm experimenting with the twitter streaming API.
BeStream is currently a real-time stream of everyone I follow on Twitter and all messages sent to them (Not including messages from people with private timelines)
It's archiving everything to sqlite database, so I'll have a copy of my twitter stream even when twitter doesn't keep it anymore. There is no admin type interface yet.
Posted Mon, 08/18/2008 - 11:17 by metarobert
This weekend, I did a partial rewrite of the Identica version of BeTwittered. I moved from using Prototype to using JQuery. I'm not actually a programmer, so take my opinion with a grain of salt: I really prefer JQuery. I feel more at home writing things like $("#fieldID").html("Shiny, New HTML Content!"), and I really like the way that it allows for binding events. It just seems to work in a way more compatible with my disfunctional, possibly ozone damaging, thought patterns. I also have to say that the widgets that come standard in the framework seem to be better, and there are more available (compared to Scriptaculous, which builds on Prototype) It should be interesting as I get deeper in to the rabbit hole. If you are looking at the differences for yourself, you might also want to look at the differences between the AJAX stuff...
Posted Sun, 08/10/2008 - 16:22 by metarobert
I put a small service together on
32Hours to "ping" Twitter services. The services available to check Twitter were not helping me much, so I decided to write a little app that actually checks a few extra things:
1) Is Twitter is up (they all do this, but it's not enough now that Twitter "degrades")
2) Checks the Twitter service response (http response - 200's are good)
3) How long it takes to connect to Twitter
4) how long it takes to finish the entire process of getting the public timeline.
If you'd like to have a look
Posted Fri, 04/04/2008 - 09:25 by metarobert
Here is a link to a LifeHacker story about Prism.
Feature: Create Distraction-Free, Customized Webapps with Prism Prism really has my attention and imagination. I REALLY like how I can run BeTwittered as if it were a regular desktop application. There it is, floating about like a normal window on my desktop. No modifications required from the little web-app it really is. There are a couple issues I have, like lack of packaging things up like a regular, everyday application installer.
Posted Sat, 02/23/2008 - 05:37 by metarobert
I got a bit of a lesson this morning. I updated BeTwittered, and was very pleased. Well, until I noticed that the formatting was junk. What did I learn? Stylesheets get cached, and pretty liberally. So if you were using BeTwittered this morning, and it suddenly looked a bit clunky, my apologies. One interesting thing, IE was better than Firefox in this case. It surprised me that IE picked up the changes when I closed it and re-opened. Firefox was VERY stubborn... So, here's the
Posted Sun, 01/20/2008 - 07:28 by metarobert
I spent a bit of time this morning adding to my error handling in BeTwittered. Around 8am there was a bit of a service issue at, I believe, the Twitter server end, but I had no way to confirm it. I was, as my own customer, just getting my own "OOPS, something went wrong" please stand by sort of message. The problem is that I used the PHP file_get_contents() function, which does not return HTTP error codes, and when using Twitters HTTP API, that's key for error handling. To make a long story short: I discovered that, although the function does not return the HTTP status codes, that status DOES get stored in the global variable $http_response_header. Are you geeky enough to want to see how I captured this info? Then read on...
Posted Tue, 01/01/2008 - 19:26 by metarobert
I've gotten a PHP version of a Google (iGoogle) gadget working. It follows your friends, and allows you to post, so far. Check it out at
32hours.com, or the
direct article link. It's working, and I'll be improving it pretty quickly.
Posted Thu, 12/06/2007 - 15:29 by metarobert
AutoHotkey comes to my aid, again. I recently came to realize I had a need to eject my iPod at 9:00am every day. There are two parts to this problem. You need a way to check the time, on some interval. And you need a way to tell windows to do the eject. While this is not terribley complicated, there is one catch. AutoHotkeys "eject" command only works on CD/DVD drives. The help file does have an example bit of code that does the job, though. Click below to read on...
(By the way, I noticed a link to this sitepointing to my other AutoHotkey entry.
Autohotkey.blogspot.com appears to be starting up a collection of pointers to useful scripts)
Posted Wed, 12/05/2007 - 16:40 by metarobert
I'm thinking about writing one. A terrible, horrible, PHP tutorial, that is. Why not? There isn't another one out there. Well, maybe there are lots and lots terrible tutorials, but not self professed to be so. I'm thinking very seriously about writing a tutorial as I learn. I have some programming under my belt, and even a Google widget written in PHP, but I think I could use a fresh start. My thinking is that I may learn from it as I'm forced to think deeply about what I'm doing so that I can write about it, and that others might benefit as a side effect.
Posted Tue, 09/25/2007 - 13:59 by metarobert
Google has published my gadget. You can now find it in their directory by following
this link. It was interesting to find this when I searched the google gadget directory. Interesting because I applied for it, but got no response.