Macbook vs Sony Vaio
Tue, 25 Jul 06, 22:11:00
filed in
General
For the last 9 months or so I've been using a 11 inch Sony Vaio. My Macbook arrived last week. I was chatting to a friend the other day and asked why I moved to a Macbook. I really loved the Sony Vaio and it's impressed most people who've seen it. Alan convinced me it was a good laptop and he's right. Now ignoring the obvious reason - my laptop is owned by my previous company, not me - why did I switch and which did I prefer?
The answer is the Macbook. One of my main reason things I look for in a laptop is the portability and here the Sony Vaio is supreme:
- Weight and size: light and small. Actually is usable on a plane.
- Hibernation support: good, restart is about 20 secs (time to restart and Windows to think about it).
- Battery life: excellent 8 hours if you put on maximum, I've rarely run out.
Comparatively the Macbook feels like a battleship compared to the Vaio. I'm getting used to it but at first I'd forgotten laptops weren't tiny little things.
- Weight and size: heavier and bigger. But nowhere as big as some.
- Hibernation support: fantastic restart, about 2 seconds
- Battery life: good 6 hours advertised, haven't tried yet.
So what are the deciding factors: OS X (which I love) and price (~$2.1k compared to $1.3k Canadian). I think there would be a real market for Apple if they could make a small laptop for road warriors. Something the size, speed and weight of the Sony running OS X. It would be perfect for users who use their laptops in many places and I would buy it tommorrow.
Hello World as a Page Template
Tue, 25 Jul 06, 14:50:39
filed in
General
I've been asked this at least three times on IRC in that last few days. I think this didn't get covered in my book, so here goes. If there was a standard Hello World page template, it would look like this:
post snipped because tinymce is moronic!
People Interface Design
Mon, 24 Jul 06, 09:48:26
filed in
General
Via Mike Davidson and Jeffrey Veen:
To predict the behavior of ordinary people in advance, you only have to assume that they will always try to escape a disagreeable situation with the smallest possible expenditure of intelligence.
- Friedrich Nietzsche
To quote Jeffrey:
This helps explain simple anomalies in user behavior at your site. Why do people search for terms that are listed right in the navigation? Because it's easier to type the word you want than pick it out of a list.
More US customs fun
Fri, 21 Jul 06, 10:35:47
filed in
General
Regular readers may remember posts on ZopeZen about my fun at US Customs. I have a tale to tell about my latest trip... I'm writing it in the US though so I should probably be wearing my tin hat to stop them intercepting my signals. I was on my way to Houston to do training.
Now bear in mind I've flown to and from Houston about a dozen times over the last year sometimes with incident, but always allowed through. For the past year I've had no problems at all since I got my business card fixed (an old one gave a Houston address, that caused confusion).
Tuesday 1pm: arrive at the airport. Go through customs. The chap there starts the conservation and within about 3 lines gets to the question - "Are you aware you need a visa to do this?" to which I answer "No". I get sent to the back room. So wait patiently and politely for about 45 minutes. At this point I get a sinking feeling that I might be running late for my flight.
Only about 25 minutes left. We run through the usual questions, why, who, how much. The customs agent then gives me a choice, he will allow me to withdraw my application or he can refuse me. If its the latter I will be banned from crossing the border for 5 years he explains.
At this I get flustered, not understanding how I've been able to cross the border over a dozen times for the exact same reason, with the exact same answers to the questions. His reply "I can't help it if my colleagues are incompetent". Flabbergasted he spends 10 minutes typing and then explains what I need to get and how to get it. Of course the problem is my flight is now leaving in 2 minutes. I'm screwed - thanks a lot mate.
What follows is mad panic of phone calls to arrange a stand in, since after 1 hour I find there is only one flight that will get me in before the training is due to start. No-one from Continental is there to purchase a ticket from so thats a 6 hour wait for maybe a ticket. Time to give up.
So I get a flight for the next day with the required (and very basic and easy to get documentation). The flight attendant accidentally tickets me through to San Diego, not Houston. Tired and annoyed I don't notice and get a taxi home, returning home 5 hours after I started. Wednesday morning: A mad flurry of printing out letters from Enfold, my resume, amazon book page, anything else relevant. Get signed copies of letters. Of course the visa costs exactly $50 US in cash (nothing else allowed), so a quick trip to the bank is needed.
Leave so I will arrive at the airport 3 hours early.
Wednesday lunch time: Go to customs. I have all my paperwork in order and I'm prepared for a second run. The customs agent looks my t-shirt which declares ".NET meets Darwin". It's a t-shirt I got a few years ago at a trade show. No idea what it is about really, I think the projecst is dead. ".NET meets Darwin, I don't get it." "It's a Microsoft meets Apple project." "Darwin is Apple? Never heard of it." "Oh its one of the layers underneath OS X." "Oh you are a Microsoft guy, other people call it OS Ten." "Well I am kinda wierd." "I've got lots of Mac's - love them, deciding about a new MacBook." ...etc. About 3 minutes later I've recommended a MacBook and told him to watch out for the glossy screen. Then he hands me my passes my passport back and says "Have a good day". Never once asks me who, why or how much. My paperwork is left untouched.
Was I just lucky? Did my t-shirt save the day? What the hell? I was so tempted to get all my paperwork out and get a damn visa! Why are they so damn inconsistent? Not getting through the day before cost everyone a lot of time money and effort, to keep some customs agent happy.
Wednesday 3pm: Flight is delayed 1.5 hours. But wait my boarding card for my connecting flight from Denver says San Diego - not Houston. I go and ask - they reticket me to Houston. And promise to chase down my bag. Unfortunately I will arrive in Denver too late for my connection. Chances are I won't make it, the ticket agent offers to get me on a flight tommorrow. I think the look I gave him got him off that idea. Caught plane to Denver.
Wednesday 8pm: Thank god the 6 pm Denver - Houston flight is delayed 3 hours and there is room so I hop on that one. Seems all of United Airlines is running late that day.
Thursday 1am: No luggage in Houston. My luggage is in Denver. Thursday 5pm: My luggage "Cannot be found by United" Friday noon: My luggage is in Chicago. I fly home tonight at 9pm. Fingers crossed.
Update: got home sucessfully.
Friday night: My luggage is in Houston (arrives 4 hours after I leave)
Sunday night: My luggage arrives back at home.
Something I enjoy
Fri, 21 Jul 06, 10:07:48
filed in
General
Doing training in Houston this week and just remembered something: I enjoy training. Just a note to myself so Google can remind me in a few years time that I said that.
View from Folk Music Festival
Mon, 17 Jul 06, 16:37:13
filed in
General
The 29th Folk Music Festival (Flickr) was this weekend and the whole family is just in recovery mode. It's a fantastic weekend but going from 9 am - 12 midnight with 2 kids over the weekend, spending all day in the heat is at the same time the most wonderful and exhausting weekend.
I'm such a stick in the mud, I know what I like and Sunday was a chock a block full of Dan Bern and Ruthie Foster, so I was happy. Unfortunately this year for me there were no new discoveries, no new must hear artists, which is the first time in a while. That's a shame.
For those of you attending the Vancouver Python Workshop, this is the view from Jericho Beach and is just around the corner from Locarno Beach, which is where the barbeque is.

Vancouver 2010 website
Fri, 14 Jul 06, 09:05:36
filed in
General
Attended a talk at cmprofessionals.org last night. Who knew there was such an organisation, and they might be in your city. Apparently they have been going for about a year and talk every couple of months, so I'll hopefully be going again. It's a different group from the Python or Plone groups, I naturally sat down and got out my laptop to take notes.... only one there with a laptop.
The talk was on the Vancouver 2010 website. It's built using The Level's software. They are a content management start up in Vancouver. It's rumoured their main contract is a big project for Google (was confirmed last night that they do something for them).
Before the Torino cames they had to get the content out of the old web site and get a new site up and running with a new design in the new CMS. The organising committee (Vanoc) has got their sponsor Bell Canada to do the site which then used The Level. There was a team of 6 people building the site over 3 months, with 3 content editors plugging in the content. There's probably many more involved in the auxilary, but that seemed to be the core group.
The lady doing the talking (who's name unfortunately I did not write down), showed us a demo of editing content. Being one of the few techy people in the audience I was curious to get a quick preview of the editing interface. Basically it's an in place editing system, most of the template is fixed with a few areas you can edit. Common to editing systems a little button pops up so you can edit the post, which takes you to a new page. That pages is just like a Plone edit page, but out of context... enter the data in a few fields and the text into a simple wysiwyg editor.
From a few comments made it seems clear that the system has some sort of relational or xml database backend. Content is pulled out and transformed on the way using XSLT. Spotted a few things in there like versioning and staging but nothing really stunning. Ah I'm such a cynic, but c'mon I thing automatic RSS feeds, css for mobile users and so on are standard these days (although I'm sure people say similar things about Plone with different topics).
My two questions: localisation and accessibility were answered deftly. They even did focus groups for accessiblity prior to launch, good for them! Didn't get into specifics about the traffic, would be curious. From here the site is fast and I can imagine during Turino there was quite a peak of interest. A quick ab gave me:
Requests per second: 22.73 [#/sec] (mean)
However I did it for 50 requests and got a server timeout. Eek, better not run benchmarks on other people's servers :)
Moving to the games is going to be an interesting transition, the site needs for getting all the data from the games out is a different challenge, something I'd like to see more talks on.
Moving on from Enfold
Tue, 11 Jul 06, 08:39:48
filed in
General
About 5 years ago at a Python conference, I met this crazy guy who talked about Python, Windows and said so many things - many of them made sense. That guy was Alan Runyan and what a nice guy he was. It was about 4 years ago I got into Plone and started doing some stuff and sure enough Alan was there.
About 2 and half years ago we formed a company Enfold Systems as equal partners. It went well, growing and gaining clients and momentum. Alan stayed in Houston, I stayed here. And today I'm no longer running Enfold, just doing a bit of part time work and looking for something else out there. What happened? Lots. Most of it positive and good. Got some good products out there and did some good contract work. Made some friends and built something.
One day I'll be able to do the Paul Graham thing and write about the whole thing and gave sage advice, but not quite yet. There is one piece of advice that's probably very obvious to everyone else out there: - Don't start a company where 2 people are in control, there needs to be one boss.
- Make sure those people have different talents.
- Make sure those people are in the same office (not 2 time zones apart).
Seemingly obvious stuff now. Oh well. Anyway time to move on. Enfold will only do better with only person in control and guiding it's path - I know Alan will do well. In the end I hope to remain good friends with Alan and everyone at Enfold and wish them all the best in the future.
What am I up to now? A bit of relaxing and taking it easy and doing a few things I always wanted to do, but bills never stop coming and so I need to do some work. So I'll be reviving ClearWind Consulting. It would be nice to do some Plone bits and pieces for a while. I really enjoyed doing Plone once upon a time, it would be to get back to enjoying it one again.
A few people have asked me if I'll do a book or update the Definitive Guide. I'd love to do that but the money isn't quite there. I figure I'd need two months full time just to catch up and document Plone. The bank probably won't let me do that. I'm certainly interested in any idea anyone has there though. Plone Cookbook maybe? Other than that watch this and that space.
MacBook on it's way
Thu, 06 Jul 06, 20:36:17
filed in
General
Yay, new MacBook was ordered today. It's the cheapest one they have, I'm such a cheap person with things like laptop's but at the moment finances are a little shorter than usual. Besides, it will just mean upgrading in a year or two or when I break it :)
Next task - go and find some RAM to get that seriously upgraded from the base 512.
Going back to a sole development box will be nice, in the last year I've been jumping between a Windows Sony Vaio (which I like but it doesn't run OS X) and my Mac mini (too slow). With tools like QuickSilver, terminal and even insanely simple things like symlinks, I find myself just way more productive on a Unix-like platform than on Windows.
So c'mon Apple get that laptop to me as fast as possible.
ClearWind blog posts
Thu, 06 Jul 06, 15:12:40
filed in
General
I've set up ClearWind to use Wordpress the same blogs database and code as this server. Which meant I had to start editing some PHP, ick. It turns out to be pretty straightforward, using the category I included all of one category in one blog and excluded all of a category in the other... the only problem being that now the RSS feeds include everything so have to filter ClearWind out of that, apologies if you follow my RSS feed.
The key bit of code for doing this was this page.
Vancouver Python Workshop
Thu, 06 Jul 06, 15:06:12
filed in
clearwind
The Vancouver Python Workshop is taking place in August, 2006. As an organiser ClearWind is processing all payments for the conference. Andy will also be speaking there. If you have any questions regarding registration please contact andy@clearwind.ca.
CSpace
Wed, 05 Jul 06, 13:39:18
filed in
Python
I saw CSpace on digg touted as the "a platform for secure, decentralized, user-to-user communication over the internet". And guess what, it's written in Python.
|
About
Andy McKay works at Clearwind Consulting and can emailed at andy@clearwind.ca. If you are web developer, you need to try Arecibo.
Blogs
Months
-
All
-
February, 10
-
January, 10
-
December, 09
-
November, 09
-
October, 09
-
September, 09
-
August, 09
-
July, 09
-
June, 09
-
May, 09
-
April, 09
-
March, 09
-
February, 09
-
January, 09
-
December, 08
-
November, 08
-
October, 08
-
September, 08
-
August, 08
-
July, 08
-
June, 08
-
May, 08
-
April, 08
-
March, 08
-
February, 08
-
January, 08
-
December, 07
-
November, 07
-
October, 07
-
September, 07
-
August, 07
-
July, 07
-
June, 07
-
May, 07
-
April, 07
-
March, 07
-
February, 07
-
January, 07
-
December, 06
-
November, 06
-
October, 06
-
September, 06
-
August, 06
-
July, 06
-
June, 06
-
May, 06
Categories
|