About/Contact

Steve Trefethen

Steve Trefethen is a Director of Engineering at Reply. Contact me

View my LinkedIn profile


Powered by discountASP.NET
referal ID: sdtref
Why recommend discountASP.NET?
$720 in referrals so far!


Calendar

<<  January 2012  >>
MoTuWeThFrSaSu
2627282930311
2345678
9101112131415
16171819202122
23242526272829
303112345

View posts in large calendar

Disclaimer

The posts on this weblog are provided AS IS with no warranties, and confer no rights. The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.



Facebook's timeline is too hard to read

December 26 2011 8:35PM

Difficult to read Facebook timeline

Both Kristi (my wife) and I find the Facebook Timeline hard to read having converted to the timeline using the Facebook Developers trick a few months ago. She just commented "I think no one comments on your stuff because your timeline is so hard to read.". Timeline on mobile seems better as it's not left-to-right zig-zag reading.

Zig zag reading

The image to the right is my timeline as of a few minutes ago and I drew a few lines marking the path you’d need to traverse the data to read it in chronological order. I've not found any obvious way to revert though I haven’t searched very hard and now I rarely look at my own profile to find anything.

Lately, it seems I get a lot less engagement on updates I post and while it’s possible I’ve “tuned” my privacy setting so as to cause this result the conclusion is the same, Facebook has become a lot less interesting. I find that if I dig into profiles including my wife’s I see lots of interesting posts that never made it to my wall which is typically dominated by a few high volume posters.

Unfriending

A few months ago I “unfriended” about 40 people leaving me with 158 which is only slightly above average. I’d hope that Facebook is optimizing for people in my friend range and I’d see a greater diversity of content but that’s not the case. The current trend reminds me of the days of Yahoo’s LaunchCast Radio service (of which I was a big fan). I had 1000’s of ratings and there were times when my station was a shear delight to listen to and others when it was shear pain (like when the same Beastie Boys song would play every few songs). There was lots of tweaking to the algorithms used to craft a customized music experience and it wasn’t an easy task. I suspect Facebook has a similar yet more challenging problem so I guess it’s perhaps just time to wait and see.

In the mean time I’m checking into a lot of places so I can have a bunch of data to play with (btw, this link is to an application I’m experimenting with so if it doesn’t work don’t be surprised).

Update: Dec 27, 2011 Viewing a friend's wall and clicking on the Subscribe button will reveal a dropdown that allows you to select "All Updates" which (at least in theory) should show you all of that person's posts.

FacebookDel.icio.usDigg It!

Buy a Nikon D7000 with or without the kit lens?

December 07 2011 12:07PM

I’m looking at buying a Nikon D7000 and I’m curious if I should simply forego the kit lens for an alternative? Alternatively, I’m thinking of getting a good 28mm lens for candids of the family/kids. The kit lens is a NIKKOR 18-105mm DX VR Lens and adds roughly $200 to the price tag.

My D70 finally died after “someone” pulled the CF card out, jammed it back in getting it stuck then leaving it sticking out sideways. While I managed to straighten the pins out and reseat the card I can’t get it to read successfully even though I’ve tried reformatting and another card.

Update: Dec 8. Ordered it without since the kits were out of stock.

FacebookDel.icio.usDigg It!

Too many automated bill payments on the credit card

November 23 2011 11:21PM

Our credit card company called yesterday and said a 3rd party database was compromised. They canceled our cards and reissued. I forgot and swiped my card at the grocery store doh! Then couldn't download something from the AppStore and couldn't stream a movie from Amazon and now I'm awaiting a slew of bill pay failures.

Ah the conveniences of the modern world! It'll be nice when this is over.

FacebookDel.icio.usDigg It!

Tags:

Configuring virtualenv to run Google appengine samples

November 20 2011 9:41PM

In my experiments with Google AppEngine I wanted to configure a virtualenv using python 2.5 for running Google's samples. Using the existing python install for OSX I was running into a few errors such as:

ImportError: No module named django

and

ImportError: No module named cgi

A bit of Googling turned up this post which details all of the necessary steps. In step 2 the path I used for google_appengine was:

/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine
FacebookDel.icio.usDigg It!

Tags: AppEngine | Python

Leveraging the Facebook API on Google AppEngine with jQuery Mobile

November 20 2011 1:20PM

In the past I’ve built starter kits for Facebook development in ASP.NET and building CruiseControl plugins. My latest interest has been experimenting with Google AppEngine as my day job is all python appserver stuff so it’s a pretty logical fit. I’m slowly putting together all of the pieces I’d like to have in website starter kit including support for jQuery Mobile and Facebook Graph API.

I have a simple proof-of-concept app working here. Btw, as this is a work-in-progress it YMMV and the app may or may not be in a working state so apologies in advance.

Technologies used:

Google AppEngine

Cheetah Templates

Facebook Graph API

jQuery Mobile

FacebookDel.icio.usDigg It!

Casualty of a Google Panda Update?

November 12 2011 11:00AM

I'm beginning to wonder if my blog has become a casualty of a Google Panda update. Looking at Analytics my traffic is down 40% over the last month yet I've only posted a handful of times. That's a pretty dramatic drop when nothing else on the site has materially changed. As I search on Google for post that I've written which have driven traffic to this blog they're nowhere to be found.

Then again, perhaps I'm just getting punished for my Leaving Andriod post. Tongue out (but seriously, that post was on Oct 20th)

Update Jan 16, 2012: Down traffic continues to the point where my traffic is 1/3 of what it was a year ago.

FacebookDel.icio.usDigg It!

Tags:

Pretty printing a Python dictionary to HTML

October 31 2011 11:08PM
Here’s a routine I wrote to pretty print a Python dict into an HTML table and though I’d share.
    def prettyTable(dictionary, cssClass=''):
        ''' pretty prints a dictionary into an HTML table(s) '''
        if isinstance(dictionary, str):
            return '<td>' + dictionary + '</td>'
        s = '<table '
        if cssClass != '':
            s += 'class="%s"' % (cssClass)
        s += '>\n'
        for key, value in dictionary.iteritems():
            s += '<tr>\n  <td valign="top"><strong>%s</strong></td>\n' % str(key)
            if isinstance(value, dict):
                if key == 'picture' or key == 'icon':
                    s += '  <td valign="top"><img src="%s"></td>\n' % Page.prettyTable(value, cssClass)
                else:
                    s += '  <td valign="top">%s</td>\n' % Page.prettyTable(value, cssClass)
            elif isinstance(value, list):
                s += "<td><table>"
                for i in value:
                    s += '<tr><td valign="top">%s</td></tr>\n' % Page.prettyTable(i, cssClass)
                s += '</table>'
            else:
                if key == 'picture' or key == 'icon':
                    s += '  <td valign="top"><img src="%s"></td>\n' % value
                else:
                    s += '  <td valign="top">%s</td>\n' % value
            s += '</tr>\n'
        return s + '</table>\n'
FacebookDel.icio.usDigg It!