Categories
Uncategorized

Azure Explained in 145 Seconds

In answer to the question “What is Windows Azure?”, most explanations seem to trot out this layer diagram:

windows_azure_layer_diagram

…but I find the explanation in this video produced by some of my developer evangelist counterparts in the UK to be far more satisfying. Note that this video was produced before Azure was announced to the public; in the video, the evangelists refer to Azure by its codename, “Red Dog”. Just think “Azure” every time you hear them say “Red Dog”.

My thanks to Steve Clayton for pointing this one out!

Categories
Uncategorized

Turning Ho-Hum Colour into WOW! with Photoshop

"Before/after" photo showing the Photoshop colour-enhancing technique in action

My old co-worker Darren “Problogger” Rowse IM’d me to let me know about a new article on Digital Photography School titled Turn Ho-Hum Color into WOW! with Photoshop written by guest blogger Helen Bradley. The “before and after” photos show some pretty impressive results.

"Before/after" photo showing the Photoshop colour-enhancing technique in action

This technique makes use of the Lab colour space, which people tend to eschew in favour of the CMYK (Cyan-Magenta-Yellow-blacK, which comes from the print world) and RGB (Red-Green-Blue, which geeks are comfortable with).

Here’s what Wikipedia has to say about Lab colour:

Unlike the RGB and CMYK color models, Lab color is designed to approximate human vision. It aspires to perceptual uniformity, and its L component closely matches human perception of lightness. It can thus be used to make accurate color balance corrections by modifying output curves in the a and b components, or to adjust the lightness contrast using the L component. In RGB or CMYK spaces, which model the output of physical devices rather than human visual perception, these transformations can only be done with the help of appropriate blend modes in the editing application.

Lab’s channels are:

  • L: Lightness. You can use this to adjust the lightness of the image without changing any of the colour settings. This is what makes LAB stand apart from CMYK and RGB, where lightness and colour are tied together.
  • a: Green and magenta.
  • b: Blue and yellow.

"Before/after" photo showing the Photoshop colour-enhancing technique in action

Bradley says that “The process is ridiculously simple, it requires no selections to be made, and it can be recorded as a simple action. It’s my kind of fix – quick, easy and very powerful.”

Categories
Uncategorized

The Simpsons and “Mapple”

Last night’s episode of The Simpsons made some pretty funny pokes at Apple, or as they’re referred to in the episode, "Mapple":

In three minutes’ worth of opening sequence, they manage to get in a fair number of jabs and gags, including:

  • Apple stores’ design aesthetic: “It’s so sterile!”
  • The price points of Apple products – even the fake “myPod” earbuds cost forty bucks
  • The "silhouette” iPod ads
  • Steve Job’s keynotes and the breathless, worshipful way they’re received
  • The “cool factor” associated with Apple products
  • The “1984” ad for the original Macintosh. Comic Book Guy is the perfect guy to throw the hammer – he even has the same shorts as the hammer-throwing revolutionary.

There are many lessons that tech companies (and yes, that includes the empire of which I am part) could learn from Mapple – er, Apple – from differentiating yourself with good design to making an emotional and experiential connection with your users. It’s not just feature sets and price points. After all, even though we’ve had electric light for over a century, candles remain a $2 billion dollar industry and can be found in seven out of ten homes.

(As for Bart’s bit about Steve Jobs and Bill gates smooching on a pile of money, that’s been done before in the form of hot Steve-on-Bill slash fiction.)

Categories
Uncategorized

Why Does This C# Code Compile?

Here’s a cute little puzzler I got from the blog hackification — why the does code below compile?

using System;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            https://www.globalnerdy.com
            System.Console.WriteLine("Hello from Global Nerdy!");
            System.Console.WriteLine("(Press ENTER to continue)");
            System.Console.ReadLine();
        }
    }
}

Here’s what the output of the program looks like:

Console output: "Hello from Global Nerdy! (Press ENTER to continue)"

Why does the program compile even though the first line of the Main() method is a “bareword” URL? See if you can figure it out on your own rather than running it through the compiler – doing that gives away the answer.

I’ll post the answer in the comments.

Categories
Uncategorized

Is Canada Becoming a Digital Ghetto?

Over at CBC’s Search Engine, Jesse Brown asks an important question: Is Canada Becoming a Digital Ghetto? I’m reproducing the article in its entirety below.

Tundra

Here are three things that suck about being Canadian right now:

  1. Last week the CRTC sided with Bell against a group of small Internet Service Providers who want to offer their customers unthrottled connections where what they download is their own business and not subject to interference.
  2. In last week’s throne speech the Conservative government renewed their intention to “modernize” Canadian copyright law. Their effort to do so last session was Bill C-61, a woefully unbalanced and retrograde piece of legislation that led to the greatest citizen backlash to any proposed bill in recent memory. Yet there has been no indication from new Industry Minister Tony Clement that a much-needed public consultation will take place. The best he has offered is the possibility of a “slightly different” version of the bill.
  3. Twitter has just announced that they are killing outbound SMS messaging in Canada due to exorbitant and constant rate hikes from Canadian cell providers (former Industry Minister Jim Prentice vowed to get tough on SMS price gouging, then backpedalled). Cell phone rates in Canada are among the highest in the world, and the result is that mobile penetration is pathetically low and that emerging new cultural platforms like Twitter are being hobbled.

This growing list of backwards policies is already creating a sense of digital isolation: Canadians can’t stream the videos Americans stream, download the files Americans download, remix the media Americans remix, or tweet the way Americans tweet.

With the election of Barack Obama, digital culture in the U.S. hit a tipping point, where a robust online public sphere proved itself capable of changing the world. Meanwhile, here in Canada we’re approaching our own tipping point, where a series of ignorances and capitulations threaten to turn our country into a digital ghetto.

[Thanks to Mark Relph for pointing me to this article.]

Categories
Uncategorized

Programmer T-Shirts for Good Causes

Andy Brice has created some t-shirt designs for software developers and selling the shirts online for a good cause. The proceeds from sales of the t-shirts, some of whose designs are pictured below, will go to two worthy charities: jaipurfoot.org and sightsavers.org.

If you’ve got a programmer on your holiday list – or even if you just want one of these shirts for yourself, please buy one. The money’s going to some very good causes.

t-shirts 

About the Charities

jaipurfoot This organization pioneered the “Jaipur foot” (also known as the “Jaipur leg”) – an effective and easy-to-fit prosthetic lower limb that can be produced for a little as $30 and is provided for free by the charity. The prosthetic was first developed in the 1960s by an orthopedic surgeon and a sculptor. Since then the charity has provided over 300,000 limbs in 22 countries. In the television program a young boy arrived at the clinic hopping on one leg and left running on two, beaming. It was moving to watch. You can read more in this Time magazine article.

sightsavers

Sightsavers works to alleviate sight problems around the world. Last year Sightsavers and their partners treated more than 23 million people for potentially blinding conditions and restored sight to over 244,000 people. It only costs:

  • $0.10 to protect someone from river blindness for a year.
  • $10 to pay for eyelid surgery for trachoma.
  • $35 for an adult cataract operation.
Categories
Uncategorized

Papercraft HAL 9000

If you’ve got a colour printer with decent paper, scissors and glue, you can make these papercraft HAL 9000s:

papercraft_hal_9000

You can download the kit here. The instructions are in Japanese and “Engrish”, but you’re smart people. I know you can figure it out.