Twitter did some Spring cleaning – stale accounts pruned?

Black Holes

While doing my typical searches for new and interesting people on Twitter to add to the flow, I noticed something indicative of Spring cleaning. You see, when you search Twitter, you usually get pages of people who haven’t updated in a year or accounts with zero updates – ever – and six months stale.

None of those cases seem to be true for my latest search results. There are a couple accounts with no updates in a year, but they’ve got a lot of updates, so they’d likely not be pruned. Either Twitter created a better search algorithm (unlikely, since the results are haphazard and not chronological) or they pruned the dead accounts (makes a lot of sense – I myself got an old account). When I’ve worked at community driven companies, we’ve done plenty of account trimmings.

Twitter doing prunings makes a lot of sense. This is a benefit to the user base, and a huge benefit to Twitter’s load. If this is truly the case, you might do a search for your favorite name about now… And if it isn’t, at least rejoice in a better mechanism to find the people you’re looking for.

Flow – Jabber/XMPP as an RSS over HTTP replacement

Twitter on XMPP is just the beginning…

Speed of Light

Courtesy NASA Glenn Research Center

.

I’ve been using Twitter as a main source of news and entertainment (it’s entertaining and informative to have commentary coming in with links, events, articles, and photos). Most everything pertinent to my areas of interest are discussed, so the latest news is passed around as discussion.

As my series on flow describes, my Twitter stream is received through a GTalk client and I’m receiving about 30 to 40 tweets per minute.

This is a lot of incoming information. A lot more than one could read and keep up with all day. It’s valuable for periods of time… Jump in to the river, jump out. This is sort of like news.

Now, I love RSS. I spend a good hour per day reading feeds. I believe it will be the standard in syndication for years to come. And maybe it will be the format passed over XMPP channels, too. In using Twitter for my flow of information I have discovered how amazing real-time updates of news can be, and how HTTP (the current method of pulling RSS feeds from various servers) isn’t powerful enough.

Imagine Google Reader being push based. Instead of periodically receiving items every five, ten, or fifteen minutes. You receive new blog entries, articles, etc, within milliseconds of their publication. This becomes amazingly powerful because you are no longer reading what happened, you are participating in what is happening.

Comment systems become conversation engines. Discussions and exchanges of information become natural, rather than one-way.

HTTP and web services, with their beautiful RESTfulness, won’t be going away. They have a very effective place for on-demand pulls of data. What I’m describing is a move away from HTTP and web services which currently poll – the enablement of FriendFeed, Twitter, blogs, and news services to fire off announcements on a push basis…

Nobody wants to wait three minutes before receiving their next round of updates. We want it when it happens.

SnapTweet – a Twitter photo service review

To date I have tried three services. Twitxr, TwitPic, and now SnapTweet

SnapTweet Logo

The exploring of Twitter integrated photo services continues… Today’s post is on SnapTweet, a service working towards announcing Flickr image uploads via Twitter updates.

Before continuing, here’s my philosophy on how a perfect Flickr/Twitter integration works:

  1. Images posted to Flickr are optionally announced on Twitter.
  2. No additional account required – either Twitter or Flickr is used for authentication.
  3. Do not attempt to own the content. It’s ok to own distribution. Images on Flickr. Tweets on Twitter. Render wherever. That’s how consumers what their content.

Summary

For the most part, SnapTweet fits my requirements. There are bugs and gotchas with their implementation, but this is an ideal service for many folks. SnapTweet is tailored for the person who spends time in Flickr and wants announcements sent via Twitter. It is not for the person who Twitters all day and uses Flickr as a repository (me). A pretty neat feature is the direct message to send a link to the latest image on Flickr.Continue Reading

Teaching class classes for PHP development – Rock Band Example

PHP classes

Object-Oriented Programming (OO or OOP) is the best way to have re-usable, sharable, less-bug-ridden, easily readable, easier to debug, and easier-to-pick-up-later professionally written software.

“Learning classes” is the functional way to describe learning object-oriented programming. One skill begets the other. When in college my professor played a video of a band playing music. The band represented a program, and each musician represented a class.

I hope that’s not how it’s described nowadays for comp-sci peeps because it’s a completely backwards way to learn it. It is backwards because you’re already looking at a finished product. To understand OO and classes, think in terms of small portions. Then grow from there.

To give an example of how to build out a class, let’s build a musician or rocker since we’ve been on a Rock Band kick.

Before continuing, this assumes you’ve written some PHP – including at least making a function or two…

.

Now, what does a rocker have?

  • Name
  • Gender (probably)
  • Instrument
  • Talent Level

These will be the variables we put in our Rocker class, here’s the code to support us…

<?php

class Rocker {
// OOP classes are usually capitalized. Good form.
var $name;
var $gender;
var $instrument;
var $talentLevel;
}
?>


Continue Reading

Flow – Day 9 – Open it up

I’m used to the speed of the flow and it’s slow. It’s time to open it up and look for five-figures…

Useful link: flow entries

Follow me on Twitter: sol

Open it up

I read the flow of XMPP Twitter traffic with breakfast and in the evenings. I then scan it when checking email or if I catch a lot of added traffic on the IM window. The part which most people don’t understand is how this translates and how it’s even immaginable to distinguish signal from noise here.

It’s easy. I’m now following over 4,000 fellow Twitterers (Twitterites? Twitterans?). The TPM (Tweets Per Minute) ranges between 20 and 35. This equates to the Twitterers I’m following announcing, approximately, once every two hours (obviously some are once a day and some are every 10 minutes).

Reading the flow at this rate is easy. You have tweets coming in 24 hours per day, but you absolutely can’t follow it the entire time. Feeling like you have to read every Twitter announcement your friends send is the first psychological obstacle to get over. Once you get beyond that feeling of needing to maintain control, you free yourself to dip in to the news of the moment as reported by everybody.

To ensure I’m not missing any messages specifically to me, I keep a browser tab open (usually immediately to the right of my GMail tab) to the Twitter Replies page.

The main trick to keeping a strong signal is being selective in who you follow. By tuning this early, you avoid needing as much filtration later. To date I have only filtered out a single spammer account.

One last point is that some feel this approach is a pull technique in which I’m getting, but not giving back. I  disagree. I submit my status and the special news and information I come by. I encourage people to follow me so they’ll be able to have an insight in to my thought processes and activities.

Given the present rate of flow, I see 10,000 as the next step. It’ll take a while to get there with a selective approach. In the meantime I’m interested in metrics and whether Twitter will continue to be a best source of this data.

Any service could provide an XMPP flow… Imagine Facebook, MySpace, Pownce, etc, offering an XMPP feed of updates. FriendFeed with an XMPP flavor would be incredible.