Talk to FRANK

June 28th, 2007

I love chatting to FRANK the anti-drugs MSN chat bot.

Andy: Open the pod bay doors FRANK
FRANK (talktofrankbot@hotmail.co.uk): I’m sorry Andy, I’m afraid I can’t do that.

Reading
FRANK
FRANK MSN Chatbot
2001: A Space Odyssey

Ruby on Rails with CSS Frameworks

June 18th, 2007

I’m no designer. This webpage is perhaps proof of that. However, taking that into account, I have to create webpages with at least some design to them. Notably business apps and admin control areas.

Now in this day and age we all should be using CSS to control layout and typeface definitions, none of that inline stuff too. This however can be a rather tedious and painful business for somebody such as myself.

The problem with this perhaps is that the only help rails give you in the term of CSS is a helper method that creates the html head CSS import and a standard and slightly ugly scaffold.css document. So my overriding issue is that whilst rolling around in Ruby joy, my CSS is gets messy. It ends up in an near unmaintainable heap, laden with IE hacks and unorganised in nature. Grr horrid.

What I really need to do is make some code that I can reuse over and over again.

A CSS FRAMEWORK if you will, which can be extended and reused for each project.

So I’m exploring this right now. There are a few lying around the net, including one by the behemoth that is Yahoo!

Content with style CSS framework - http://www.contentwithstyle.co.uk/Articles/17/
Yahoo! CSS Grids - http://developer.yahoo.com/yui/grids/

Now if Rails could help with its scaffold function, producing something of more than scaffold.css, that would be swell.

This just made me smile and giggle

June 4th, 2007

Ruby on Rails with Google Gears

May 31st, 2007

Prelude
This post is just my head throwing ideas about. Non of which are fully formed, nor fully investigated.

Intro
Today Google labs spitted out an early “plugin” for Internet explorer and firefox to make websites viewable and interactive offline. This isn’t entirely new as Apollo offers something similar. However, this is interesting considering Google is one of the kings of webapps. With Gmail, Google Calender and Google Docs all obviously the target for this technology I doubt that it would fail spectacularly.

Very brief and rubbish Gears overview
First off, there are two main components to Gears. The webserver and the database. The webserver is pretty simple to get our heads round, it essentailly caches pages that us as developers tell it to. For me the most interesting parts is the database.

The Gears Plugin that the user installs includes a fully relational SQLite database. As developers we can interacted with it by passing SQL commands via javascript. Yes thats right… we interact with it by using javascript code such as

var rs = db.execute('select * from Demo order by Timestamp desc');

The benifits of this are pretty interesting. For example webservers technically don’t have to store information at their end, ever, just relying upon the users own store.

I feel however the most use of such an app would be for something like gmail, where when you are offline you write and send an email with gears facilitating the actual sending of the email when the internet becomes available.

So how would Rails fit into all of this?
I love writing webapps in rails. Its quick, easy and Ruby is lovely to write. So could developing a Rails app with gears functionality be a possibility without having to drop into insane javascripty-SQL-type goo every time?

The answer in my opinion is yes, but it won’t be easy.

Here are the major barriers in the way to making a my ideal acts_as_gears type plugin.

  1. The plugin should be able to convert Ruby into javascript for offline controllers and model interactions. A massive undertaking (possibly recreating active record in javascript.. shudder).
  2. Creating the user’s local database and linking each column with the live database columns would be essential if we wanted to do any sort of syncing.
  3. The automatic creation of database syncing methods in javascript and ruby.
  4. Creating a seamlessness of data origin in views. For example, a table of information should be able to be printed out on one page irrespective if data came via the live or local database.
  5. The views should only have to be writen once, with of cause different javascript payloads.
  6. Loading and unloading of data needs and state management.

Anyway that’s what’s on my mind right now, a half baked whirlpool of rails, javascript and gears.

Reading
Google gears
Adobe Apollo
Firefox offline info

Blue LEDs

May 28th, 2007

Dear Electronics firms, Store designers,

Blue LEDs hurt my eyes, stop putting them into everything.

Regards,

MrBlack.

Fantastic angry critics

May 8th, 2007

With little time and money spare we need the help of critics or reviewers to help us in our choices. As a single male with a cynical slant and a hatred of being “sold” anything I tend to take comfort with critics who get rather angry in their specialist area. Here are a few I really quite like.

BBC Five Live - Mark Kermode film reviews
Kermode loves film and is the BBC’s film reviewer who appears on Newsnight review and The Culture show from time to time. His reviews are, I have to say, spot on for my liking. Of cause not everybody will agree but I like this chap for his balls in lambasting a film. His famous rants against Pirates of the Carabiean and Little Man have almost become legendary.

Reading
Kermode film page / podcast links
Wikipedia entry


4Later - Vids
Before channel four filled its nights with quiz channels or 24 hour CCTV footage of some wankers in a house 4later aired and was a gem of my pubescent years. It had odd animations and tv shows which ran on a shoe string. One of the best was Vids, a video review show which looked at the latest VHS releases. Starring Stef and Nigel as two Scottish video shop owners their reviews took place during comedy sketches which I have yet to see repeated. A classic which could make a fantastic come back on the net if somebody could track them down.

Reading
Vids fansite, long since dead.
IMDb information
Google cache of old 4later site.
Dog-Sized-Cat. Nigel’s new site with links to Vids episodes.
4later fansite.


Internets - Angry Nintendo Nerd (aka angry video game nerd)
This chap just makes me laugh out loud. His age is about mine, his subject matter old video games and his anger is constantly at about 10.

Reading
Angry Video Game Nerd Home page
Youtube videos


BBC Four - Screenwipe
The artsy BBC 4 hosting a program where the hosts states “an undercover camera show that filmed children in restaurants and calling them c**ts, thats a show I would watch” has to be worth a peek. I missed it up until now and have only caught up thanks to youtube and some chap pirating them. I would basically describe this show as like ITV’s TV burp, but funny. Plus any show that hires fat-pie.com and Adam Buxton has to get my vote. Classic.

Reading
BBC Four Screenwipe page
Loads of “clips” uploaded to youtube

The missing navigation to Daniel Kitson’s website

April 29th, 2007

Daniel Kitson is a wonderful stand up comic and story teller, somebody who I admire as a chap trying something new and wonderful.

Alas he seems to have made his website himself, an admirable undertaking which has resulted in a site which has a “mystery meat” navigation system. So I thought it best to create a more useful navigation system for my own and possibly others use.

- - Front page
d - Landing page
a - News
n - A page with links to “i”, “l” and “e”
i - Latest stand up show details
e - List of past show
l - Story shows

. A page of broken images

k - Story show dates
i - Story show poster
t - Photos
s - Little Bits of Film
o - Film “Speed hump”
n - Film “Late”
- - Film “Stories of the Wobbly hearted extract”

Join the mailing list

Hope this is of help. As a side note I would offer to help Daniel with his website if he needs it, because it does have some wonderful content.

Re: Macs making inroads in the corporate sphere

April 11th, 2007

Ars Technica recently put out a post stating that “macs are making inroads in the corporate sphere”. This sparked some interesting discussion regarding on how macs can be incorporated into the hostile world of Exchange servers and Desktop policy.

A real sore point in the comments were that mac laptops don’t have docking stations. Indeed I can see why its annoying, as I write, this my little Macbook is spilling out 4 cables which are a hassle to plug in and make my desk wire hell. I would much prefer a docking type system, like IBM or Dell offer.

Personally, I *could* get rid of my mouse/headphones/keyboard and replace them with wireless alternatives (the net is already wireless). Alas there is still one major problem. If you use a secondary monitor or a projector, that is one heck of a dongle and loop of wire that as of yet lacks a real wireless solution. Most annoying.

So, I can see why people want docks. ‘One click’ simplicity sounds ace. However wouldn’t it be better is you didn’t have something resembling an octopus sitting on you desk waiting for your laptop? Or have the opportunity to carry around your laptop and be able to instantly connect to the projector to show your colleagues your fab idea. All without wires*?

I can but dream.

*well, all but one power cable

Reading
Ars Technica article
Digg comments