Archive for March, 2006


Rails 1.1 Follow Up

Wednesday, March 29th, 2006

In the end DreamHost has uninstalled Rails 1.1 and all other dependencies. An odd move if you ask me since it was more work involved than fixing the upgrade. I think the main issue of contention was that Typo (a Ruby blogging program) doesn’t work with 1.1.

Before that I did manage to get all my sites working properly. There are three main ways to do this:

  1. rake gem_freeze
  2. Copy Rails 1.0 to your vendor directory:
    svn export http://dev.rubyonrails.org/svn/rails/tags/rel_1-0-0 rails
    
    Or do it manually as laid out here.
  3. Or insert the appropriate lines from the wiki to specify certain versions of Rails and its components. This requires your host to have older versions of the gems. A few caveats:
    • Make sure you have require ‘rubygems’
    • Make sure the dependencies come before any lines that need them, e.g.:
      ActiveRecord::Base.configurations = File.open("#{RAILS_ROOT}/config/database.yml") { |f| YAML::load(f) }
      
    • Comment out the default require lines for Rails
Also make sure you kill any old ruby processes so the changes can have an affect. To be honest I used a combination of 2 and 3, I’m fairly certain only one made a difference, and I know which one, but since the site is live and is now working, I’m very reluctant to change anything. As for future Rails hosts, my shortlist is:
  1. OCS Solutions
  2. Planet Aragon
  3. and a distant third, TextDrive

I think I’ll go with OCS Solutions, because they seem very serious about Rails, they support lighttp, I couldn’t find any bad press about them and they’re cheap. DreamHost is good for testing Rails apps, but I definitely wouldn’t recommend them for client hosting.

Spread the word: Technorati related  |  del.icio.us bookmark it!  |  submit Rails 1.1 Follow Up digg.com digg it!  |  reddit reddit!

Rails 1.1 Pain

Wednesday, March 29th, 2006

DreamHost upgraded to Rails 1.1 last night, which broke my sites. Of course this was just a few hours after I announced them, making me look like a complete tit. Strictly speaking I should have locked my version of Rails to prevent this sort of thing happening, but a warning would have been nice. I doubt they would have upgraded to an incompatible version of PHP without mentioning it. Actually the problem is not so much the upgrade, but it was a partial upgrade. They forgot to upgrade activerecord, so no Rails sites work. So far it’s been over 10 hours without a word from their support team. All they need to do is roll out one gem across their servers.

I managed to get one site back up but the other is still down. DreamHost have always been a bit slow when it comes to Rails performance so I’m on the look out for a new host for my Rails sites. A quick search shows users on TextDrive (the official RoR host) went through a similar unannounced upgrade. If you know any solid Rails hosting company, let me know.

Spread the word: Technorati related  |  del.icio.us bookmark it!  |  submit Rails 1.1 Pain digg.com digg it!  |  reddit reddit!

Books on my desk

Tuesday, March 21st, 2006

I’ve have a post on character sets that’s probably going to sit in my drafts folder for a while, so to fill the void I’ve decided to do an inane post. So without further ado, here are the books currently on my desk at work. (Expect a home edition if my writer’s block continues)

Books on my desk
Spread the word: Technorati related  |  del.icio.us bookmark it!  |  submit Books on my desk digg.com digg it!  |  reddit reddit!

Wordpress 2.0.2 Security Release

Monday, March 13th, 2006

If you use Wordpress this post is probably redundant because the notice is right there on your dashboard, but just in case you haven’t seen it. Wordpress have released version 2.0.2 to fix a cross site scripting vulnerability. So upgrade now.

Spread the word: Technorati related  |  del.icio.us bookmark it!  |  submit Wordpress 2.0.2 Security Release digg.com digg it!  |  reddit reddit!

Tracking the Internet into the 21st Century

Thursday, March 9th, 2006

On Tuesday night I went to see Vint Cerf speak at Google’s Open House in London. As one of the guys who started the Internet it was interesting to see where he thought it was going next.

How the Internet is Changing He first covered how the Internet is changing, who’s connected, what they’re connecting with, etc. I was surprised to hear that Asia already has the most people connected, although less than Europe and North America combined. But with most of the World’s population eventually they will have the most people connected so we should expect a shift in culture and content of the Internet.

At the moment there are about one billion people connected to the net. There are about three billion fixed telephone lines and already two billion mobile phones. The number of mobiles is growing while the fixed lines are static so there should be a shift to more mobile connections (the consequences of that are covered later), but this is countered by the speed of the connection. Vint stressed that mobiles are going to become a much more important part of the Internet, but I think the speed and cost of the connection has to change dramatically first.

Broadband is becoming more prevalent, which means more and more people are online all the time with fast connections. He came up with the term ’21st Century dialtone’ to describe how an Internet connection is something we assume to be there. A consequence of this is that you can provide more every day services over the Internet.

A thought one such example of this is VOIP, turn the broadband connection into a cheap phone. But Vint brought up a very good point, the money is made in the Internet/POTN bridge and placing the call, this isn’t always going to be necessary. Once everyone has a connection all the time VOIP is going to become easy, and profitable as email.

Digital Media Faster connections means you can also start doing more things with digital media. Having warehouses and inventory is expensive, and it gets a lot more expensive if you try to scale it. As a result selections aren’t always the best, i.e. you get the current best sellers. By digitizing media you slash your costs and the marginal cost of supplying an additional title is so low you can start taking advantage of the long tail, i.e. low demand titles, but by selling enough low demand titles you make enough money for it to be worthwhile. He estimates the long tail may increase revenues by 30%.

There is still a way for this though because the connections still aren’t fast enough. He used Netflix, an online DVD rental company as an example. They ship 1.7m DVDs a day. Assuming each movie only has one DVD and a steady data flow, that requires a 740 Gbit/s connection! Maybe the movie industry will want to reconsider the Bittorrent protocol and the DivX codec. ;)

Vint then went off for a bit about turing online gaming in a potential video conferencing platform. An odd idea, but Joi Ito agrees, so maybe I’m the one who doesn’t ‘get it’.

Mobiles and Mobility Back to mobiles. There are two billion of them out there, most are a general purpose programming device just waiting for the right software. They’ll stress the architecture of the net, I assume through sheer numbers if they all went online. They have plenty of potential uses. They’re already used for instant message (SMS) and as payment systems (also SMS), but combine them with geolocation services and they get a lot more interesting. They’ll create a great opportunity to monetize information that has been indexed with geographic information.

IMHO there’s so much scope of what you could do with just local search, but throw in a portable handset and geolocation and the sky’s the limit. It might be a bit sacrilegious to post Yahoo! stuff in the post but check out Checkmates and Event Browser, okay the latter isn’t for phones but imagine being able to use your phone to find something happening in your area, then get all your friends to meet up. And that’s just the tip of the iceberg, but enough about that, back to the talk.

New Business Models I think this is the only point Vint talked about Google. They’ve have introduced new business models, the main one of course is making online advertising work. So much so Google is now known as an advertising company rather than a search company in certain circles.

With their APIs they’re trying to expand their advertising space rather than charging directly for the services. e.g. you have a database of information and make a Google Maps mashup, then place Google ads on the site. You get make a cool app fairly easily and Google gets its value from having more ads out there.

I’d be interested to know if Google’s main business plan is to simply create more places to put adverts, or if they plan to come up with different revenue streams.

Back to Basics Here’s the bit for the PhD students. Vint brought up potential research areas of how he’d design the Internet if given the chance again today:

  • End/end connectivity - Basically get rid of NAT
  • Authentication - Get the end points of the network to authenticate themselves
  • Flexible VPN membership - Make it part of the Internet rather than a bolt on
  • Mobility (and spectrum sharing) - Consider a Boeing plane with Internet access, it’s basically a whole network that is getting connected to different points as if flies
  • Confidentiality
  • Early vs. Late Binding of DNS - Late binding is better for mobiles
  • Broadband everywhere - Assume faster connections

Policy and Governance I didn’t take too many notes during this bit. Something about a World Summit creating a working group, which then decided to hold a forum, and all the people involved were shocked that something like the Internet was under central control.

But it wasn’t all negative, he reckons with such a forum they might be able to start tackling problems like SPAM and fraud. Maybe.

Internet Enabled Appliances More and more non-computers are connecting to the net. One particularly cool example was an Internet enabled photo frame that you can give to your family, then update the photos on a website. But as more devices get connected we will have to make the jump to IP6 just to have enough addresses for them all.

RFID also makes things a lot more interesting by letting things collobrate. e.g. your Internet enabled fridge can identify what you have, check a recipe online, then text you what things you need to buy. Or maybe just bypass you can order them from the supermarket itself.

We’ll see a shift in how we use the Internet from accessing it through one terminal to using multiple devices that collobrate.

InterPlanNetary Intenet (IPN) An interesting project, but ultimately related to the Internet only by name. Currently things we send into space have custom networking hardware and protocols for efficiently reasons. The downside to this is that you cannot reuse equipment left in space for future missions.

Vint is working at the Jet Propulsion Labs on a standard networking protocol for things we send into space. So each mission means we’ll have another node in the network that can be used for things such as communication, sensor readings, etc. It looks like NASA is going to adopt this for their missions for the next 40 years.

Q&A There was a brief Q&A session, nothing of note except for a book recommendation, The Singularity Is Near. Amazon describes it as:

Inventor and futurist Ray Kurzweil examines the next step in the evolutionary process of the union of human and machine. Kurzweil foresees the dawning of a new civilization where we will be able to transcend our biological limitations and amplify our creativity, combining our biological skills with the vastly greater capacity, speed and knowledge-sharing abilities of our creations. In practical terms, human ageing and illness will be reversed; pollution will be stopped and world hunger and poverty will be solved. There will be no clear distinction between human and machine, real reality and virtual reality. “The Singularity is Near” offers a view of the coming age that is both a dramatic culmination of centuries of technological ingenuity and a genuinely inspiring vision of our ultimate destiny.

I might pick up a copy, but I’ve been warned it’s quite long and goes into a lot of detail.

After the talk there was drinks and food. As I mentioned in an earlier post I didn’t get a chance to meet any one from Google but did catch up with a few people from Imperial. Cheers Google for hosting the night.

Here’s my friend Simon’s take on the evening, and here is another writeup of the same talk given at Imperial College early that day.

They filmed the talk but I haven’t been able to find the video online. If I find the link, I’ll post it here.

Spread the word: Technorati related  |  del.icio.us bookmark it!  |  submit Tracking the Internet into the 21st Century digg.com digg it!  |  reddit reddit!

Typo Sidebar - CalendarHelper

Wednesday, March 8th, 2006

One of the sidebar plugins I wrote needed a calendar. I decided to use Jeremy Voorhis’s calendar-helper. There are examples on his page on how to use it so I won’t go into those details here. The reason for this post is about how to get it working with Typo.

It proved fiddly because after putting the file in the ‘components’ directory made it visible in my controller class (with require 'calendar-helper' and include CalendarHelper) but not in ‘content.rhtml’. After a lot of Googling I found that the component needed to be installed as a global view helper. Those instructions aren’t the clearest, so here’s what you need to do:

  1. Install calendar_helper.rb to /typo/vendor/plugins/calendar_helper/lib
  2. In calendar_helper.rb change module CalendarHelper to module ActionView::Helpers::CalendarHelper
  3. At the bottom of calendar_helper.rb (after the last end) add
    ActionView::Base.send(:include, ActionView::Helpers::CalendarHelper)
  4. Create a file: ‘/typo/vendor/plugins/calendar_helper/init.rb‘ and put in it:
    require 'calendar_helper'
    

And after those four easy steps the ‘calendar’ function is now available in ‘content.rhtml’.

Spread the word: Technorati related  |  del.icio.us bookmark it!  |  submit Typo Sidebar - CalendarHelper digg.com digg it!  |  reddit reddit!

Typo Sidebar Tutorial

Wednesday, March 8th, 2006

I’ve been playing around a bit with Typo, a Rails blogging program, recently. The main reason I chose Typo is because I wanted to add some news features to a golf league manager I’ve also written in Rails. Merging the two code bases is probably a bit much at this stage but I did want to add something to Typo to integrate the two. The best way to do is sidebar components. This is a brief tutorial on how to write a sidebar component. In my examples I’ll use the category sidebar from Typo.

Read the rest of this entry »

Spread the word: Technorati related  |  del.icio.us bookmark it!  |  submit Typo Sidebar Tutorial digg.com digg it!  |  reddit reddit!

Woohoo! Black text in Bloglines again

Wednesday, March 8th, 2006

Just upgraded to KDE 3.5.1 on my work box, which includes an upgrade to Konqueror. Not sure what the full set of changes are but there is at least one fix to the CSS rendering that means the text on Bloglines is black again. During KDE 3.4 the text was the same blue as their links, making it pretty tough to read.

Spread the word: Technorati related  |  del.icio.us bookmark it!  |  submit Woohoo! Black text in Bloglines again digg.com digg it!  |  reddit reddit!

Google Talk Aftermath

Tuesday, March 7th, 2006

I’m confused. I’m not sure what I just attended. Don’t get me wrong, it was an interesting talk by Vint Cert (which I’ll write up tomorrow), but I thought I was walking into a recruitment event. I even have the pad of paper with www.google.com/jobs printed along the bottom. Maybe I’ve been spoilt by the investment banking recruiting events I went to during university, but this just seemed like a missed opportunity for Google. You’re struggling to fill your London R&D centre, you get a hundred or more smart computing people in one room, why aren’t we being told about the great place Google is to work at, and all the interesting things we will be working on?

There were between five and ten Google employees there, I didn’t get a chance to speak to one of them but from what I overheard they were talking about Google in general rather than what is actually planned for the London office. I think part of the reason why I’m so disappointed was that I wanted to be tempted from my current job. I wanted to see this great office (it is very nice), with excited people, working on interesting problems, but I didn’t. From what I’ve read in the press and their job listings, Google plans to focus on mobile Internet in London but nothing tonight confirmed that.

On the bright side I did catch up with several people from my old department. The other reason I went along was to see if I could find any potential hires for the positions at Runtime, but that was a no go. There were some other people scouting too, and I found out from them that after the dot-com crash the number of computing graduates has fallen and a lot of them (from Imperial at least) are getting hovered up by banks. I guess that is the problem Google is having too. Straight after university people join an investment bank, get paid a lot of money, then decide they don’t like the work and quit but aren’t willing to take the pay cut to join a software company. Annoying but the way it is in London.

Well, that’s enough ranting for one night.

Update: I was wondering why there weren’t any Imperial undergraduates at the talk (just postgraduates). It turns out Vint Cerf gave the same talk a few hours earlier at IC.

Spread the word: Technorati related  |  del.icio.us bookmark it!  |  submit Google Talk Aftermath digg.com digg it!  |  reddit reddit!

Google Open House - Vint Cerf

Tuesday, March 7th, 2006

Tonight I’m going to a talk by Vint Cerf at Google’s London office. It’s a great chance to hear one of the ‘founding fathers of the Internet’ speak, but it looks like it’s also going to be a recruiting event.

I’d be lying if I said the idea of working at Google wasn’t an attractive one, but their current engineering jobs in London aren’t geared towards my specialities, unless of course I make the switch to mobile technologies. Ironically at my current job at Runtime Collective, I get to work on more search related things than those listed at Google.

My friend Simon is going too, and I’m sure there will be other old faces from Imperial. I’ll write up the talk here either later tonight (unlikely if I manage to catch the end of the Barcelona/Chelsea game) or sometime tomorrow.

Spread the word: Technorati related  |  del.icio.us bookmark it!  |  submit Google Open House - Vint Cerf digg.com digg it!  |  reddit reddit!

ati-tv software ABBYY FineReader 8.0 Professional Multilanguage
ipod nana software ABBYY FineReader 8.0 Professional Multilanguage
easy fax software ABBYY FineReader Professional Edition 9.0 with Djvu Addon
encoder coding software Ableton Live 6.0.9
analytical system software ACD Systems Combo Pack
employee scheduling software Acronis Disk Director Server 10.0
eraise fundraising software Acronis Disk Director Suite 10.0
openeye software Acronis Disk Editor v6.0.360
gateway limited software Acronis Drive Cleanser v6.0 Build 383
tungsten software download Acronis Migrate Easy Deluxe v1.0.0.43
physics software Acronis & Paragon Universal Boot CD USB 2009 1.0
avatar server software Acronis & Paragon Universal Boot CD USB 2009 1.0
imaging software driver Acronis & Paragon Universal Boot CD USB 2009 1.0
software raid performance Acronis PartitionExpert 2003
legislative trackinig software Acronis Privacy Expert Suite 7.0
software listings Acronis Privacy Expert Suite 7.0
art software program Acronis Recovery Expert Deluxe
adams software forms Acronis True Image 7.0
free reservations software Acronis True Image Echo Server for Windows 9.5
panda antiviruse software Acronis True Image Enterprise Server 9.1.3666
microsoft excel software Acronis True Image Home 11.0
tape duplication software Acronis True Image Workstation 9.1.3887
free dayplanner software ActionScript 3.0 in Flash CS3 Professional Essential Training
raft software ActiveState Komodo IDE 4.2.0
software crises ActiveState Perl Dev Kit Pro 7
jq-210 download software Adobe Acrobat 7 Professional for Mac
audit software tracking Adobe Acrobat 7 Professional for Mac
smartist software Adobe Acrobat 7.0 Professional
callender software Adobe Acrobat 7.0 Professional
currency conversion software Adobe Acrobat 8.0 Professional
n95 remove software Adobe Acrobat 8.0 Professional
anderson software internet Adobe Acrobat 8.0 Professional
genealogy publishing software Adobe Acrobat 8.0 Professional for Mac
article distribution software Adobe Acrobat 8.0 Professional for Mac
map maker software Adobe Acrobat 9 Pro Extended
decisionbar software Adobe Acrobat 9 Pro Extended
timekeeping system software Adobe Acrobat 9 Pro Extended
knowledge mapping software Adobe Acrobat V 6.0 Professional PC
writing style software Adobe Acrobat V 6.0 Professional PC
management product software Adobe After Effects 6.5 for Mac
military packaging software Adobe After Effects 6.5 for Mac
knockout software Adobe After Effects 6.5 for Mac
mantel test software Adobe After Effects 7.0 Standard
pst repair software Adobe After Effects 7.0 Standard
pcr software customers Adobe After Effects 7.0 Standard
loopholes software testing Adobe After Effects CS3
ebay software tools Adobe After Effects CS3
volleyball statistic software Adobe After Effects CS3
autoquote software Adobe Atmosphere 1.0
medical documentation software Adobe Audition 2.0
software distrubitor Adobe Audition 2.0
6600 software program Adobe Audition 3.0
buy financial software Adobe Contribute CS3
apartment purchasing software Adobe Contribute CS3
define software application Adobe Creative Suite 2 Premium for Mac
autocad software review Adobe Creative Suite 2 Premium for Mac
pctools software Adobe Creative Suite 2 Premium for Mac
webchat software Adobe Creative Suite 2 Premium for Windows
book software store Adobe Creative Suite 2 Premium for Windows
software remote access Adobe Creative Suite 2 Premium for Windows
aor scanner software Adobe Creative Suite 2 Premium for Windows
software design article Adobe Creative Suite 3 Design Premium for Mac
microstudio 4.001 software Adobe Creative Suite 3 Design Premium for Mac
netscape 8 software Adobe Creative Suite 3 Design Premium for Mac
biblesoft software update Adobe Creative Suite 3 Design Premium for Mac
linux frontbridge software Adobe Creative Suite 3 Design Premium for Mac
code repository software Adobe Creative Suite 3 Design Premium for Win
acceleration software program Adobe Creative Suite 3 Design Premium for Win
clinical database software Adobe Creative Suite 3 Design Premium for Win
midi studio software Adobe Creative Suite 3 Design Premium for Win
aqura software Adobe Creative Suite 3 Master Collection for Mac
ezdata software Adobe Creative Suite 3 Master Collection for Mac
brightstore backup software Adobe Creative Suite 3 Master Collection for Mac
tk20 software Adobe Creative Suite 3 Master Collection for Mac
sequence analysis software Adobe Creative Suite 3 Master Collection for Mac
deployable spy software Adobe Creative Suite 3 Master Collection for Win
dprofiler software Adobe Creative Suite 3 Master Collection for Win
atm switch software Adobe Creative Suite 3 Master Collection for Win
hyperion software operations Adobe Creative Suite 3 Master Collection for Win
voice synthesis software Adobe Creative Suite 3 Master Collection for Win
iomega ghost software Adobe Creative Suite 3 Master Collection for Win
ups calculation software Adobe Creative Suite for Mac
oracle software Adobe Creative Suite for Mac
discount cad software Adobe Creative Suite for Mac
audio software forum Adobe Creative Suite for Mac
architectural renovation software Adobe Creative Suite 3 Master Collection for Win + Microsoft Office 2007 Enterprise
iphone 1.0.2 software Adobe Dreamweaver CS3
edsoft software Adobe Dreamweaver CS3
swing analysis software Adobe Dreamweaver CS3 for Mac
flowsheet software Adobe Encore CS3
lunix old software Adobe Encore CS3
software download drums Adobe Encore CS3
ficiton software Adobe Encore DVD 2.0
ebay software bidding Adobe Encore DVD 2.0
src software incorporated Adobe Encore DVD 2.0
amateur radio software Adobe Fireworks CS3
coin collectors software Adobe Fireworks CS3 for Mac
software package Adobe Flash CS3 Professional
convention software Adobe Flash CS3 Professional
picture software free Adobe Flash CS3 Professional for Mac
software circuit design Adobe Flash CS3 Professional for Mac
lenticular software crack Adobe Flash CS4
journal software engineering Adobe Flash CS4
webpage editor software Adobe Flash CS4
airframe business software Adobe Flex v.3.0.2
delmia software Adobe Flex v.3.0.2
freehand graphics software Adobe Font Folio 11
northrop resume software Adobe Font Folio 11
diabetes software pdas Adobe FrameMaker 7.0
istante software inc Adobe FrameMaker 7.0
vigilance software Adobe FrameMaker 8.0
software kinder preschool Adobe FrameMaker 8.0
dex drive software Adobe FrameMaker 9.0
de elementos software Adobe FrameMaker 9.0
software inspections Adobe FrameMaker 9.0
free cdrw software Adobe GoLive CS V 7.0 PC
ftp p2p software Adobe GoLive CS V 7.0 PC
transmit software Adobe GoLive CS2
becker data software Adobe GoLive CS2
fta firmware software Adobe Illustrator CS V 11.0 PC
liquids marketing software Adobe Illustrator CS V 11.0 PC
motorola v-180 software Adobe Illustrator CS2
explore anywhere software Adobe Illustrator CS3
outsourcing software solution Adobe InDesign CS V 3.0 PC
wntipcfg software Adobe InDesign CS V 3.0 PC
opengl software program Adobe InDesign CS2
nokia 6102i software Adobe InDesign CS2
free coloring software Adobe InDesign CS3
opp blackjack software Adobe InDesign CS3
astronomie software free Adobe InDesign CS4
monitoring email software Adobe InDesign CS4
development proposal software Adobe InDesign CS4
software cpu underclocking Adobe PageMaker 7.0.1
feko software Adobe Photoshop Album V 2.0
educational software seattle Adobe Photoshop Album V 2.0
learning measurement software Adobe Photoshop CS for Mac
flir software Adobe Photoshop CS for Mac
gps tracks software Adobe Photoshop CS v.8.0
free donation software Adobe Photoshop CS v.8.0
software updating freeware Adobe Photoshop CS2 for Mac
mountbridge software Adobe Photoshop CS2 for Mac
scream software seismic Adobe Photoshop CS2 V 9.0
software requirements plan Adobe Photoshop CS2 V 9.0
mpeg4 slideshow software Adobe Photoshop CS2 V 9.0
french genealogy software Adobe Photoshop CS3: Enhancing Digital Photographs
free software imac Adobe Photoshop CS3: Enhancing Digital Photographs
graphics benchmarking software Adobe Photoshop CS3 Extended
firewall software features Adobe Photoshop CS3 Extended
automatic prayer software Adobe Photoshop CS3 Extended
pine software examples Adobe Photoshop CS3 Extended for Mac