Programmers who can't?
Tue, 27 Feb 07, 15:01:08
filed in
General
Between Reginald, Dan, and Imran, I'm starting to get a little worried. I'm more than willing to cut freshly minted software developers slack at the beginning of their career. Everybody has to start somewhere. But I am disturbed and appalled that any so-called programmer would apply for a job without being able to write the simplest of programs
Coding Horror
Once upon a time when I did job interviews - I had a question that was really an economics question. But it wasn't phrased in a manner that I understood. I'd spent so long being (allegedly) a programmer I was looking for a literal answer. I flubbed the interview. Always useful having that degree in Economics.
I would hope a portion of these would be down to nervousness, not spotting the obvious, trying to out think things and trying to appear clever.
Banning the light bulb
Mon, 26 Feb 07, 01:50:30
filed in
General
Lots of talk this week about how the Aussies are banning the old ordinary light bulb. An interesting idea and definitely one that every country should take up. But CBC has an interesting point:
There is also what you might call the beer-fridge problem. Years ago, Ontario Hydro offered huge rebates if its customers would switch to the latest energy-efficient fridges (and other appliances). Many people took them up on the offer, then just put the old fridge down in the basement and used it as a second appliance, a beer fridge, in the process adding to energy demand.
CBC
The sad fact is that banning light bulbs is a good move and should be done. But it will only slow down slightly the increases.
Four years
Thu, 22 Feb 07, 14:49:42
filed in
England
Tommorrow I'll be working on an application that I helped write about four years ago. It's sat at a clients site and run constantly for four years. Then the hard drive gave out. Since then Iraq got invaded, I had a family and I moved continents.
I don't think I've written anything that has sat and worked consistently and well for that long. I was chatting to my friend Ian Cottee about this and for a while I got quite sentimental about this. It's a testament to Python and Linux and bright sparks like Ian Cottee who can put this sort of thing together.
I'll have a toast with a glass of scotch for that little application.
Picture of Samantha
Thu, 22 Feb 07, 14:44:56
filed in
Family
Shuffle almost died
Mon, 19 Feb 07, 18:19:49
filed in
General
My iPod Shuffle nearly died on the weekend, got the:
green and yellow flashing lights of death
Playlist
On my Shuffle. At this point I was resigning myself to sending to the great environment destroying land fill in the sky. But wait turns out there is a utility to reset them. It's on the apple site.
Django talk at Norweb
Fri, 16 Feb 07, 11:25:39
filed in
Django
After a little bit of confusion the first Norweb meeting got off successfully with a talk on Django followed by beers. A good time was had, I promised to post my slides and here there are as a PDF (I have to get S5 running here, on the bottom of a very long list.
Django - an Introduction, talk given by Andy McKay to Norweb Thursday 15th, only made sense if you were there really.
Some Mac software
Fri, 16 Feb 07, 11:07:46
filed in
General
SCPlugin: Working SVN support in finder, or Tortoise SVN for the Mac if you like. This hasn't worked for ages, but finally got an update (credit limi on #plone): http://scplugin.tigris.org/
Inquisitor: to quote "Inquisitor... it's like Spotlight for the web. Start typing and websites pop up immediately, along with ideas to refine your search." http://www.inquisitorx.com/safari/.
Iterm: an ok replacement for terminal that has a few nice features, about 50/50 on if I should keep it at the moment: http://iterm.sourceforge.net/.
Signals in Django
Wed, 14 Feb 07, 04:13:46
filed in
Django
Good article on signals in Django:
Every model object used in a Django application will send these signals. And the beauty of it is that any one request can listen (connect in Django-speak) for a signal on one, more than one, or all of the object types in an project.
http://www.mercurytide.com/whitepapers/django-signals/
New HTML tag
Tue, 13 Feb 07, 08:14:52
filed in
General
I would like to propose the new HTML tag: blah Blah inserts a paragraph of random greeking text. Instead of having to go to somewhere like http://lipsum.org and tediously copy and paste text down, this would quickly insert the code into your page. Each use would generate different text. Valid attributes: length the length in words of the text produced Example: <b>Demo site</b> <blah length="10"> Result: <b>Demo site</b>
<blah>Lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Suspendisse ullamcorper</blah>
No takers? Oh well. Sad thing is I'd probably use it more than blink.
Ending commuting would overload the internet
Tue, 13 Feb 07, 04:21:18
filed in
General
If everyone was telecommuting this would cause a huge load on the internet. We can see this already in the UK with limiting by all the providers, because everyone goes through BT. The internet will reduce commuting and help the environment, it can be a key player. Many companies and government agencies are counting on legions of teleworkers to keep their operations running in the event of an influenza pandemic. But those plans may quickly fall apart as millions of people turn to the Internet for news and even entertainment, potentially producing a bandwidth-choking surge in online traffic. Link: http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9011125 Via: Slashdot
Looking for photo gallery
Mon, 12 Feb 07, 16:45:58
filed in
Python
So I've got this neat Django app that pulls together photo's linked in with locations on a google map. I want to scroll through those photos using a nice little Ajax or Flash app that does all those nice things like cross fading and browsing. There's loads out there, but they've all got server requirements like php. I haven't found anything that takes a xhtml page, parses the DOM and produces the photo viewer from that.
At least I haven't found one, I must be blind. Anyone got any recommendations?
Update: the excellent Scott Schiller seems to have a nice app here http://www.schillmania.com/projects/35mm/ but I'm not sure I like the interface I found it confusing, I'm sure my mother would. Seems to herald from Vancouver so gets lots of bonus points for that. But looks damn good, might be the fella.
The end of communting
Mon, 12 Feb 07, 15:27:35
filed in
General
Today the Guardian has articles on road congestion and flexible working arrangements, but does not connect the two.
A bit solution to commuting and congestion is simple, make more tele-commuters. Commuting is evil in pretty much every sense, its damage to the environment and to the people involved 1, 2, etc... Most people commute into work and due to lack of flexibility this exacts a huge toll on everyone, including the employer (lower productivity, unhappier employees and sicker employeers) the originator of the problem.
Now admittedly, not everyone can commute. Manual labourers for example. A couple of employees whom I told to work at home a few days a week, just couldn't, there were way too many distractions. But take a scenario where 20% of the workfoce works at home (or a very close office) and then spends 1-2 days a week in the office doing meetings and the such. It's incredibly useful to have that together face time, essential in fact.
The problem I've seen, is from managers. The less enlightened managers (which I'm glad to say I haven't had for a looong time) like to see people working. By this they think people should be sat at a desk. People should be at their desks "working" where the manager can keep an eye on them. This is of course completely pointless and useless, doesn't accurately reflect people's productivity and is just a matter of re assuring the manager.
But making 20% of the workforce work at home 3-4 days a week would have an absolutely huge effect on congestion and the amount of damage. If I was a true blogger I would probably have to go and find some numbers to back this up.
Businesses adapt now, because it would be better to adapt on your terms rather than waiting for the environmental backlash hit and your employees are up a creek. In 20 years time, commuting will be very hard. In 10 years time it might be too. In 5 years who knows. We can solve the problem by adapting business.
My first home made sushi
Sun, 11 Feb 07, 15:08:41
filed in
England
On Thursday I was delighted to find the speciality section at Tesco that sold sushi ingredients, the rice, seaweed and so on. I then spent Thursday thinking about sushi. Roll around early Sunday morning and we are looking at the cheap for sale section in Somerfield. There is cheap salmon steaks, going for 50p each. Gleefully I grab them and plan for sushi.
Purists may point out at this juncture that the whole point of sushi is fresh fish. I couldn't agree more, but at the moment the needy will take what he can get.
That afternoon I made my first ever sushi rolls (I think maki is the correct term). Seaweed on the outside, salmon, cucumber and bean sprouts inside. The roll almost fell apart, wasn't uniform and looked wierd. I didn't have any chopsticks (in the never appearing shipment) or bowls to mix up the wasabi. But it was fabulous.
I then realised I'd completely miscalculated the salmon, one steak made 6 rolls and left me a ton of salmon to spare. Oh well sashimi is it is. I'd forgetten the taste and textural sensation as it melted in my mouth. And I used to cook this?
I think sushi has surplanted curry as my favourite food by a long way. And I've got 3 salmon steaks in the freezer and found a good supplier of fresh tuna. Life is on the up.
SimpleTAL for Django
Sat, 10 Feb 07, 18:34:20
filed in
Django
I'm sure someone has done this before, but I couldn't find it in searching. simpletemplate is a library for Django that allows you to use SimpleTAL in views. You can use TAL, metal in Page Templates and render them back. At this current time of writing, this site is using them.
Running tests in Django
Sat, 10 Feb 07, 17:31:25
filed in
Django
Found I was getting this error in Django running tests: Got an error recreating the test database: must be owner of database test_clearwind Did a bit of googling and took a while, so in case I get it again the answer is to run the following in psql: alter user django createdb; Where django is the name of my user.
Flushable PHP
Fri, 09 Feb 07, 16:26:50
filed in
Python
Had to laugh when saw these at our local supermarket. For those of you without kids, these are diaper liners. They go on the diaper, so when the kid has a poo you can flush this down the toilet. Leaving the diaper ready to be cleaned (or back to the diaper service). I've seen some code that needs flushing down the toilet, and there's probably some PHP that needs flushing too I'm sure...
Tesco DVD Rental sucks
Wed, 07 Feb 07, 13:17:16
filed in
General
We got Tesco DVD Rental service a couple of weeks ago. It's a post you the DVD service, with a 2 week free trial. We rented 3 DVD's, two of them were unwatchable. The last had a big crack in it. This means the entire service is rather useless if only 66% of the DVD's are unwatchable. To Tesco's credit, I found out that even though we could return the last DVD as soon as possible, we would be out of our free trail by one day and hence pay a full month fee for cancelling. I complained, our 2 week trial was extended and once past the 3 "are you sure" screens, the service was cancelled. After reading around for another service I'm now a little disillusioned. All the users of the services complain of one thing, never being able to get anything popular or new. The problem is simple, its a DVD store. Only it's got 1,000,000 subscribers and say 1,000 copies of that new DVD. If 50% of the people ask for it, who get's it?. From what I can gather, it's useless if you want to watch new movies. We generally don't worry about that, so we might go ahead with a different provider and see how it goes.
Django blog coming - expect downtime
Tue, 06 Feb 07, 13:48:50
filed in
General
Maybe, maybe not. But time to get WordPress off of here and move to a nice fast Django blog, that uses Page Templates. So expect a few outages.
Finally an internet connection at home
Tue, 06 Feb 07, 13:46:31
filed in
General
Things seem to be a struggle here sometimes. I know its just because I'm off the plane and "wet behind the ears" but things seem to take 5x as long and just be a lot harder than they should be.
Today finally we got an internet connection at home, almost one month after moving in. The really nice part was when the ISP (Virgin) didn't move my account from my mothers to here, they disconnected me at my mothers 8 days ago and then reconnected me here.
We've made a concious decision not to have a TV in the house now, which being TV addicts has made us suffer a bit of withdrawal. To add to this our actual belongings are still in transit, they phoned up today to annouce they will deliver them next Tuesday. So that marks around 9 1/2 weeks since they left Canada. Not the 3 1/2 they originally promised. This lead to a few nights of saying "I've read every book and the library is closed", what now?
Oh well. Makes us realise in a home environment how important the internet is, since its TV, entertainment, radio, phone, games and a few other things.
New user group
Mon, 05 Feb 07, 05:43:33
filed in
General
We've formed a new user group in the north west of england here called Norweb. We tried to broaden it beyond just Zope and Plone this time: About. The first talk is next week and is on Django: For the past few weeks Andy has been dabbling in Django which advertises itself as a "Web framework for perfectionists with deadlines". Andy will present an intro to Django, hopefully some of the basic apps he’s written will work for a demo and he will tell everyone why he thinks it's better than Ruby on Rails. http://norweb.cnuk.org/
|
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
|