Categories
Uncategorized

Spider-Man on Chat Rooms

Spider-Man: "I get into costume and boom, I'm the snarky wise-guy. Anonymity's liberating. There should be rooms where people could go to chat using fake identities. They'd spend hours being jerks to each other."

This article also appears in The Adventures of Accordion Guy in the 21st Century.

Categories
Uncategorized

Computer Problem of the Day

how do i turn off caps lock

Categories
Uncategorized

Is Your Code a Candidate for “There, I Fixed It”?

There, I Fixed It is a hilarious photoblog that catalogs kludges, jury rigs and hastily-improvised duct-tape repairs and modifications to everyday objects. The photos below are a sample of some of the quick fixes shown on the site, each one somewhere on the spectrum spanning “clever and thrifty” to “cheap, shoddy and frightening”:

There I Fixed It

(Regarding the photo in the right column, second one from the bottom – the piece of paper attached to the pencil sticking out of the computer says “Pull to turn on”. It’s a jury-rigged replacement for the power switch.)

Sloppy work like this isn’t limited to the physical world. I’ve seen (and okay, sometimes I’ve written) code that could’ve been a candidate for There, I Fixed It, and chances are you have too:

  • Some of my hacks were a little more elegant and useful in the long-term, as long as you weren’t going to be too fussy about aesthetics. They were the software equivalent of the CD-ROM drive installed below the car radio and attached to it with a cable with 1/8” stereo jacks. They weren’t pretty, but they were solid, reasonably maintainable and viable in the long term.
  • Others were terrible kludges that were originally intended to be temporary solutions that forgotten and lived much longer than they should have. They were like fixes shown in the two photos on the bottom (the hasty bridge repair and the car exhaust held together with zip-ties).
  • I’ve also copped out by glossing over bad user interface design with some explanatory text or dialog box instead of actually correcting the design. This is not unlike labelling a doorknob “hard to open” or a hastily-improvised switch “pull to turn on”.

Be sure to check out There, I Fixed It. They’ve had some pretty hilarious pictures lately, and perhaps it’ll inspire (or shame) you to eschew the quick fix or kludge in favour of putting some time and thought into writing better code and building better user interfaces.

This article also appears in Canadian Developer Connection.

Categories
Uncategorized

Stack Overflow DevDays Toronto

devdays_toronto_audience

On Friday, the Stack Overflow DevDays travelling conference, which covers ten cities in North America and Europe in a month, took place in Toronto’s St. Lawrence Centre for the Arts. The sold-out conference was packed enthusiastic developers from both the Toronto area as well as cities within driving distance as well as a large number of volunteers (in fact, there were too many; the conference typically “overbooks volunteers in anticipation of a drop-off, but every volunteer who signed up showed up!).

It was a fun conference, and I was honoured to be selected as a speaker for the event. It was good meeting Joel again (it’s been a number of years now) and speaking on the same stage with some good local friends (Reg Braithwaite and Greg Wilson) as well as some new ones (Jordan Baker and Ralph Whitbeck).

At the end of the conference, Joel took a show of hands of people who’d attend next year. When nearly all the hands in the audience went up, he said “All right – we’re going to be back here next year!”

backstage

For the benefit of all, I’ve posted the slides from all the presentations below:

ASP.NET MVC: Barry Gervin and Joey deVilla

Our presentation followed Joel’s opening keynote and was centred around a live-coding demo in which we built a quick-and-dirty ASP.NET MVC-based clone of RunPee.com, a site that lets you know at what times you can take a bathroom break from a movie in a theatre and not miss any crucial plot points.

I’ll admit it right now: this presentation could’ve been much better, and as the one who gets paid to promote Microsoft’s tools and technologies, I assume full responsibility for this one (Barry’s a great presenter who volunteered and took time out of his extremely busy schedule to do this). Watch this space for a "lessons learned" post, as well as some ASP.NET MVC posts that take the material from the presentation and explain it a little better.

Python: Jordan Baker

jordan_baker

Jordan’s presentation was an introduction to Python by way of a walk-through of Peter Norvig’s How to Write a Spelling Corrector exercise, which comprises 21 lines of Python 2.5 but in those few lines, covers a lot of the Python programming language.

View more documents from hexsprite.

jQuery: Ralph Whitbeck

ralph_whitbeck

Ralph’s presentation was a walk-through of jQuery’s features, and how it will make your web applications sing. I need to get more familiar with jQuery (I’m far more acquainted with Prototype and Scriptaculous), so Ralph’s was the technology demo that was the most useful to me.

Academic: Greg Wilson

greg_wilson

By my own judgement, as well as the judgement of the attendees, Greg Wilson’s presentation was by far the best one of the day. This was sole no-code-at-all presentation of the day, featuring the sort of "let’s change the world" vibe that we strive for at DemoCamp. In it, Greg challenged us to weed out the false or faulty maxims based on poor or no research that are now an accepted part of programming practices, find out what we really know about the practice of software development, and do our best to expand what we do know about programming, with research and rigor, not anecdotes and assumptions. This presentation got a lot of applause, and deservedly so — there’s nothing like a great topic delivered by a great presenter.

View more presentations from Greg Wilson.

Ruby: Reg Braithwaite

reg_braithwaite

Reg Braithwaite’s talk — made up of slides consisting entirely of Ruby code (or Ruby pseudocode, where appropriate) — wasn’t so much about Ruby as it was about metaprogramming, with Ruby examples. Following the quip about a man (one account says it was Winston Churchill) who is chastised by a woman for being drunk who then retorts "Yes, but in the morning, I will be sober and you will still be ugly", he encouraged the audience to "turn ugly problems into drunk ones".

Other Writeups

There are a couple of review of the conference:

This article also appears in Canadian Developer Connection.

Categories
Uncategorized

27 Takes on Windows 7

27 on 7

If you’ve got customers wondering if they should upgrade from Windows XP or Vista to Windows 7 and are looking for testimonials, go to Gizmodo’s article, 27 Takes on Windows 7. It features quotes from 27 reviews of Windows 7, which include the following seven:

  • CNET
    "Windows 7 presents a stable platform that can compete comfortably with OS X, while reassuring the world that Microsoft can still turn out a strong, useful operating system."
  • PC Mag
    "It’s far and away the best OS we’ve ever seen from Microsoft."
  • Guardian
    "Windows 7 is simply the best version of Windows you can get."
  • Slate
    "Indeed, the new Windows is not only the best operating system that Microsoft has ever produced. It is arguably the fastest, most intuitive, and most useful consumer desktop OS on the market today."
  • PC Pro UK
    "We like Windows 7 a lot – so much so, that the disappointment that was Windows Vista has already become a distant memory…"
  • Wall Street Journal
    "I believe it is the best version of Windows Microsoft has produced."
  • bit-tech
    "For want of a better way of describing it, Microsoft has essentially fixed Vista and the result is arguably Microsoft’s best operating system to date."

This article also appears in Canadian Developer Connection.

Categories
Uncategorized

Mississauga SharePoint User Group Inaugural Meeting – Monday, October 26th

mississauga_sharepoint_user_group

You can learn about learn about SharePoint 2010 – the upcoming version of Microsoft’s enterprise information portal platform — at the inaugural meeting of the Mississauga SharePoint User Group taking place this Monday at 6:30 p.m. at Microsoft’s Mississauga office. Rob Windsor from ObjectSharp will lead a session covering SharePoint 2010 with a particular focus on what’s new for developers. You’ll learn about the new designers, explorers and templates and overall developer experience. You’ll also see what’s new for your users, including the new ribbon interface, in-place editing and the new page and dialog interface model.

Many details surrounding Office 2010 and SharePoint 2010 were announced at last week’s Microsoft SharePoint Conference in Las Vegas. One of SharePoint 2010’s top investments is user experience, from the ribbon UI, which allows users to easily add, modify and interact with content on the site, to mobile device support to its true multilingual user interface. Once you have the language packs installed and you set the appropriate languages on the sites, users will be able to interact with SharePoint in the language of their choice. To find out more, check out Steve Ballmer’s keynote at the Sharepoint conference.

sign_up_for_the_meeting

The meeting takes place on Monday, September 26th from 6:30 p.m. to 8:30 p.m. at the Microsoft Mississauga office (1950 Meadowvale Boulevard, at Mississauga Road, just north of the 401). Register for the event – it’s free!

This article also appears in Canadian Developer Connection.

Categories
Uncategorized

Windows 7: Even Linus Approves!

Here’s Linux creator Linus Torvalds, taking a break from the Japan Linux Symposium to pose at a store where Windows 7 was on sale:

linus torvalds and windows 7

[Thanks to Stefan Arentz for pointing me to the picture!]

This article also appears in Canadian Developer Connection.