.

Gnome autotest Notifications

I’ve been watching some Peepcode stuff this weekend and I’m officially jealous of the Growl support. It turns out I’m not the only one. After surfing around for a while I found this :

ikhono.net: Gnome autotest Notifications

I had to update the regex to handle a change in the output of Rspec - but otherwise it works like a charm. (I also modified it to change the tray icon to the same icon it displays on the status update).

Here are my changes:

Autotest.add_hook :initialize do |at|
@notify = Notification.new
end

Autotest.add_hook :ran_command do |at|
results = at.results.flatten.join("\n")

unless results.nil?
output = results.match(/(\d+)\sexample[s]?,\s(\d+)\sfailure[s]?,\s(\d+)\spending/)
unless output
output = results.match(/(\d+)\sexample[s]?,\s(\d+)\sfailure[s]?/)
end

failures = 0
pending = 0
test_results = “”
if output
test_results = output[0]
failures = output[2].to_i
if output[3]
pending = output[3].to_i
end
end

if failures > 0
@notify.failed(”Tests Failed”, test_results)
elsif pending > 0
@notify.pending(”Tests Pending”, output)
else
unless at.tainted
@notify.passed(”All Tests Passed”, test_results)
else
@notify.passed(”Tests Passed”, test_results)
end
end
end
end


Prepping For New Years - How About Some R.E.M.


The Brick Testament

The Brick Testament

Yes now you can read the bible in Lego Format - my favorite part is the rating system for the scenes

Ratings Guide :

N = nudity S = sexual content V = violence C = cursing


Perhaps..

You said to yourself - man I really wish I knew how to tie knots (Unfortunately, true story from the weekend) - Well now you can I Will Knot!


ReplayTV changes hands again, acquired by DirecTV - Engadget
DirecTV just did itself a solid and picked up the pre-TiVo DVR company, ReplayTV, from parent company D&M.

ReplayTV changes hands again, acquired by DirecTV - Engadget

Ok so I’ll admit it - on some things I’m completely cutting edge. On other things I’m a complete blast from the past. Anyone who knows me knows I have a serious TV habit. I actually had one of the very first gen ReplayTVs back in the day (Thanks Brett) and I’ve never looked back. I managed to get a hold of a Replay 5XXX when they dumped them because of the file sharing and auto commercial skip. That was 3.5 years ago and it is still chugging along nicely.


Ipod Adventure

So my old Ipod’s battery has given up the ghost. I was thinking about getting another replacement battery but my wife convinced me I’d be much happier if I could watch video on my ipod.

I haven’t been paying much attention to them lately - so I didn’t know about the new hash required to allow Amarok and gtkpod to talk to the newer Ipods. I’ll get to that in a second.

Let’s start with a more boneheaded issue I’ve found myself in.

I have two shuffles (old and new) and now I’m adding in the new Ipod. I wanted to make sure that it was clear which was which. The easiest way to do this in Ubuntu is to edit the mount point. You can let Gnome auto mount the Ipod and right click and select “Properties”.

On the last tab “Volume” you can actually set the Mount Point. There is one small trick to this -

  1. You are only specifying the final point - so you don’t need to put /media/Classic_IPOD - only Classic_IPOD
  2. If you actually put in /media/Classic_IPOD you will no longer be able to mount your ipod automatically

This isn’t the first time I’ve run into this situation. It turns out there is an arcane solution - run gconf-editor (it’s the registry editor for Gnome). Now navigate to /system/storage/volumes - inside there should be a _org_freedesktop entry for your ipod with the bad mount point. Correct it. Disconnect the Ipod. Reconnect. You should be good to go.


Paul Graham Time Machine

Paul Graham:

To the extent there is any discomfort about the language you used, you can often use the pointy-haired bosses’ mistaken ideas against them. If they take as an axiom that “all languages are equivalent,” (if this is true, btw, we’re all wasting our time talking about language design on this list) they’ll easily believe that it will be a trivial matter to port your code to some more boss-friendly language, and that the language your software is written in is thus no serious barrier to acquisition.

Re: Y Store now C++


learning to be a rock star

From the blue men group at the at&t center


    You are currently browsing the Economy Size Geek weblog archives for December, 2007.
    Categories
    Archives

    .