One Letter Abbreviation for the Day of the Week

If you use single letters to represent the day of the week, you will run into problems with Sunday/Saturday and Tuesday/Thursday. There is a standard way of representing the days of the week which solves this problem. Read More


The Will To Win Speech – By Vince Lombardi

Winning is not a sometime thing; it’s an all the time thing. You don’t win
once in a while; you don’t do things right once in a while; you do them
right all the time. Winning is a habit. Unfortunately, so is losing.

There is no room for second place. There is only one place in my game, and
that’s first place. I have finished second twice in my time at Green Bay,
and I don’t ever want to finish second again. There is a second place bowl
game, but it is a game for losers played by losers. It is and always has
been an American zeal to be first in anything we do, and to win, and to win,
and to win.

Every time a football player goes to ply his trade he’s got to play from the
ground up – from the soles of his feet right up to his head. Every inch of
him has to play. Some guys play with their heads. That’s O.K. You’ve got to
be smart to be number one in any business. But more importantly, you’ve got
to play with your heart, with every fiber of your body. If you’re lucky
enough to find a guy with a lot of head and a lot of heart, he’s never going
to come off the field second.

Running a football team is no different than running any other kind of
organization – an army, a political party or a business. The principles are
the same. The object is to win – to beat the other guy. Maybe that sounds
hard or cruel. I don’t think it is.

It is a reality of life that men are competitive and the most competitive
games draw the most competitive men. That’s why they are there – to compete.
To know the rules and objectives when they get in the game. The object is to
win fairly, squarely, by the rules – but to win.

And in truth, I’ve never known a man worth his salt who in the long run,
deep down in his heart, didn’t appreciate the grind, the discipline. There
is something in good men that really yearns for discipline and the harsh
reality of head to head combat.

I don’t say these things because I believe in the “brute” nature of man or
that men must be brutalized to be combative. I believe in God, and I believe
in human decency. But I firmly believe that any man’s finest hour, the
greatest fulfillment of all that he holds dear, is that moment when he has
worked his heart out in a good cause and lies exhausted on the field of
battle – victorious.


Gigabytes of Free Books from Microsoft!!!

Once again, Microsoft is giving away gigabytes of free books. Eric Ligman (Microsoft Director of Sales Excellence Blog) announced on July 11 that even more books than last year are freely available. If Microsoft is trying to gain loyalty by giving away free stuff, its working. 🙂

You have the option of downloading individual books or all of them in one shot with a PowerShell script. I recommend running this in Visual Studio Code with the Code Runner plugin. If you only cut and paste the code in VS Code and not save it, you’ll have to use the Select Language Mode (lower right corner) to choose PowerShell before you can run it. I downloaded books selectively and it resulted in 3.88 GB of files.

Anyways, I want to thank Microsoft for supporting developers and the IT community with the resources to do our jobs well.


Setup Emergency Alerts !important

I’ve compiled a list of important emergency alerts that should be on your cell phone and Twitter accounts. These can be found on the EmergencyInfoBC web site, but I summarized the important data to use with your devices for receiving these alerts. Two of these are geared towards BC and Canada residents, but the other two are suitable for the rest of the people on this planet.

The mobile alerts are setup by texting the message (i.e. follow NWC_NTWC) to the number 21212. Don’t include the double quotes (“) in the text message. You should get a confirmation that you subscribed to the service.

BTW, the !important word in the subject title is not a mistake. Anyone who knows CSS would know what this means. 🙂


Tsunami Alerts

National Tsunami Warning Center
Twitter: @NWS_NTWC
Mobile: text “follow NWS_NTWC” to 21212


Earthquake Alerts

Natural Resources Canada
Twitter: @CANADAquakes
Mobile: text “follow CANADAquakes” to 21212

U.S. Geological Survey
Twitter: @USGSted
Mobile: text “follow USGSted” to 21212


Other Alerts

Twitter: @EmergencyInfoBC
Mobile: text “follow EmergencyInfoBC” to 21212


A Terse Guide to Big Numbers

When I started my adventure in computers in school in the 1980’s, we were using Apple II’s and Commodore Pets which had around 64K of memory. My first computer in 1984 had 128K memory and a 360K floppy disk drive, which seemed like quite a bit of storage for the tiny apps that were built back then. Over the years, memory and storage sizes have increased greatly. In the 1980’s at the University of  Alberta, a friend of mine showed me a 500 MB hard drive which was the size of a large garbage can. Today, my iPhone has a 32 GB of storage space and it fits in my pocket.

Disk/memory storage and computer speeds are increasing rapidly over the years. 1 TB hard drives are common today and soon we’ll be using multi petabyte drives. I should note that the following numbers are not referring to bytes (as my post may suggest), but to decimal numbers, so kilo is 10^3 and not 2^10. That could be another post …

BTW … when I say 10^3, this means 10*10*10 = 1000, 10^6 is 10*10*10*10*10*10 = 1 000 000, etc. That’s enough math lessons for today.

10^3    kilo
10^6    mega
10^9    giga
10^12    tera
10^15    peta
10^18    exa
10^21    zetta
10^24    yotta