Categories
Uncategorized

Enabling and Disabling the Mouse Wheel “Zoom” Feature on Map APIs

Microsoft Laser Mouse 7000 superimposed over a Live map of Toronto

The major map APIs provide a “zoom” feature that lets you zoom the map in or out if you position the cursor over the map and use your mouse’s scroll wheel. Sometimes you want this function enabled, sometimes you don’t. David Janes, over at his Code Blog provides the JavaScript code for:

  • Enabling and disabling the mouse wheel zoom for Google Maps and Microsoft Virtual Earth
  • Disabling the mouse wheel zoom for Yahoo! Maps (it’s enabled by default, but there doesn’t seem to be a way to re-enable it once disabled.)

Links

Categories
Uncategorized

“Deep Space 90210” (or: 90210 / J.J. Abrams’ Star Trek Video Mash-Up)

I love this video, which is made up of bits from the trailer for the upcoming J.J. Abrams-produced Star Trek movie and the theme from the original Beverley Hills 90210:

It’s only natural that a J.J. Abrams movie would mesh so well with 90210. Prior to Fringe, Cloverfield, Lost and Alias, he was behind another overwrought teen drama: Felicity.

Categories
Uncategorized

Do You Have to Know English to be a Programmer?

Painted on the wall at a temple in India: "Please remove your shoes before being entered."

In a comment to Scott Hanselman’s blog post about how Microsoft is using “crowdsourcing” to help create localized versions of MSDN, someone wrote:

If you don’t know English, you’re not a programmer.

A provocative statement like that cries out for an article and discussion, and Scott got the ball rolling with a follow-up article titled, quite expectedly, Do You Have to Know English to be a Programmer?

While a command of the English language isn’t a prerequisite for the actual act of programming, programming languages typically use English keywords, as do many development libraries. Even some popular languages written by people whose native tongue is not English, such as Ruby (Japanese) and Lua (Brazilian Portuguese) use English keywords.

I think that English is the lingua franca of business and technology today: a language often used to communicate between people not sharing a mother tongue. Just as you could have the knack for diplomacy in the 18th century and not speak a word of French, you can have the knack for programming and not know a word of English. But it’s really, really helpful if you do.

Categories
Uncategorized

I’m Bringing Hexy Back (or: Programming Articles Will Return to Global Nerdy)

Disruption

A wrench jamming a machine Soon – probably in December – in addition to pointing you to interesting tech news articles and bits of geek culture, I will also be returning to writing development articles. And yes, that includes the long-on-hiatus Enumerating Enumerable series of articles cataloguing the methods in Ruby’s Enumerable module.

The past couple of months have been disruptive as all Hell, what with:

And now,

  • Working like mad to acclimate myself with a new employer — my first Fortune 500 company, and my first with over 200 employees!)
  • Readjusting to a new work style: working largely from home, with runs out into “the field” and the Mississauga and downtown Toronto offices
  • Re-acclimating myself with Microsoft development tools, which I haven’t used since early 2002

It’s been exciting and fun, but there are only so many hours in the day and so much energy one can muster to do things, which meant that the programming articles, which take a lot of work, testing and verifying, had to fall by the wayside. But they’re coming back soon.

Country First

Joey deVilla poses with a Mountie outside the Canadian Embassy in Washington, DC
Me and a Mountie at the Canadian Embassy
in Washington, DC in 2000,
a.k.a. the “experimenting with nutty hair colour” year.

“We hired you first and foremost for Canada,” said my boss, John Oxley, Director – Audience Marketing at Microsoft Canada, “and for Microsoft second.”

That means that while I’ll be writing a lot about Microsoft developer tools and technologies, my primary goal as Microsoft Developer Evangelist is to use my tech evangelism powers to encourage, assist, grow and cast a spotlight on the Canadian software industry. I get it; a healthy Canadian software ecosystem is good for all players, including “The Empire”.

If you’re a software developer in Canada, whether you’re writing enterprise software for a big corporation or a one-person shop operating out of your den, a full-time employee or a student in high school, or a Microsoft tech “true believer” or a hardcore Free Software/Open Source type, you are the person I’m trying to reach.

So if you’re a developer, watch this space – some meaty development articles are coming soon!

Categories
Uncategorized

Happy 10th Birthday, Half-Life!

half-life_gordon_freeman

It’s hard to believe, but it’s been ten years since the release of the original Half-Life game. In honour of this event, GameSpy has published the Half-Life 10th Anniversary Interview with Valve Software’s writer –in-residence Marc Laidlaw.

If they ever decided to make a movie based on the game – probably not a good idea, since there hasn’t been a good movie based on any videogame, but I always hold out hope – I think Hugh “House M.D.” Laurie would make a great Gordon Freeman:

half-life_hugh_laurie

Categories
Uncategorized

Conversational HTTP Codes

"413: Request entity too large" -- cat stuck in cat door

Over at Seldo.com, there’s a handy table of HTTP codes, their official meanings and their everyday office culture conversational equivalents. Here are some examples:

Code Status Conversational Equivalent
100 Continue Uh-huh…
101 Switching protocols Let’s take this offline
200 OK OK
201 Created I wrote you an email about that
300 Multiple choices You can get that from Bob, John or Sue
301 Moved permanently That’s Bob’s job
401 Unauthorized You’re not allowed to know that
402 Payment required Maybe a twenty would refresh my memory
404 Not found I have no idea what you’re talking about
406 Not acceptable Maybe when you’re older
500 Internal server error Drooling from side of mouth
503 Service unavailable I am way too busy to deal with your shit
Categories
Uncategorized

Fallout 3, as Reviewed on Zero Punctuation

Once again, it’s time for my favourite videogame reviewer, Ben “Yahtzee” Croshaw, and his series of smartass videogame reviews, Zero Punctuation. This week, he covers Fallout 3. His verdict:

Yeah, it’s pretty good.

Its 93 rating at Metacritic — which gives it a standing equal to Gears of War 2 – comes from a number of glowing reviews from various sources: