Categories
Uncategorized

Using the Hell Out of Your Digital Camera

this_camera_belongs_to
I got this Nikon Coolpix P6000 assigned to me.
I’ll do a writeup on it in a future article.

Cockeyed.com has a great article featuring “10 camera tips not really related to photography” which covers some interesting uses for a digital camera that may not have occurred to you.

The photo above shows tip : take a photo of your contact info so that your camera can be returned to you if it’s lost. Many cameras have a feature that lets you lock a photo so it’s can’t be deleted; make your “This camera belongs to” photo the first shot on your card and lock it.

(Yeah, that’s my real mobile phone number and work email address. In the world of anti-spam, email rules and caller ID, I’m not too worried about handing out that info.)

You should check out the article for the full details, but for those of you who want a quick summary of the other interesting uses for a digital camera, they are:

  • A portable map device if you don’t have a GPS, iPhone or similar gadget
  • Remembering where you parked (especially if you’re not going to return to your car for some time, such as with airport long-term parking)
  • Remembering how something was assembled before you dismantle it for repair
  • Taking note of the licence plate of the guy who parked uncomfortably close to your car
  • A quick photocopier to take a copy of a couple of pages from a book or magazine with info that you might need while out
  • To cover your ass
  • To remember what’s on the menu at Chinese take-out
  • A quick way of jotting down the ingredients in a recipe so you know what to buy at the grocery
  • A better way of doing the “dent check” when you first take possession of a rental car
  • A mirror

If you can think up any other interesting uses for a digital camera – perhaps some that make use of the video recording feature – post them in the comments!

Categories
Uncategorized

The C# “Yellow Book”: Free as in Beer and Good as in Beginner’s Guide

Cover of the "C Sharp Yellow Book"

As a new Microsoftie and programmer returning to C# after a six-year absence, I have a lot of learning and re-learning ahead of me. In preparation for this, I spent the better part of an afternoon in the “Computers” section of my neighbourhood bookstore going through the C# programming books, sorting the gems from the junk. I took the “beginner’s mind” approach and looked at all the books on the shelves, regardless of the skill level they were written for, even the books that devoted whole chapters to basic concepts like looping and branching. At the very least, it would give me an idea of the current state of programming literature was like in the .NET world.

A couple of weeks later, I stumbled across the C# “Yellow Book”. It’s the standard book for first year computer science students at the University of Hull (I know of it thanks to a Black Adder episode) and written by Rob Miles, a Microsoft MVP and lecturer at that university. Each computer science student there is given a free-as-in-beer printed copy of the book, and now anyone can get a free-as-in-beer PDF copy online.

The C# Yellow Book is quite good, and can easily hold its own against some of the commercial C# books I’ve seen, which typically sell for about $35. It’s written in a clear and breezy style, explains it concepts well, has examples that actually work (I tried some out just for kicks) and often goes beyond typical beginners’ books with many asides called “Programmers’ Points” that explain good programming technique. Its 185 pages cover most of the basic C# language — and most of the example code is run in console mode except for the section near the end that covers basic Windows Forms. After finishing this book, you should have enough background material to tackle an intermediate book on C# or introductory books on .NET topics like GUI programming, ASP.NET or even game development for the PC, Xbox 360 and Zune (yeah, really, the Zune) with XNA.

I’d say that Rob has a strong incentive to make the book as good as possible because it’s the basis of a course at his university and because he can get some rather immediate feedback from its readership. If only that was true for a professor of mine back at Crazy Go Nuts University, whose Pascal programming book (it was the eighties) had terrible examples, an incomprehensible presentation and writing style and annual revisions to foil used-book sales and to force each new class to buy the latest edition. Kudos to Rob and the computer science department at Hull for giving away the course textbook for free!

If you’re a starving student looking to learn Windows programming, I’d recommend getting your hands on a copy of Rob Miles’ free-as-in-beer C# “Yellow Book” and pair it with Microsoft’s free-as-in-beer Visual C# 2008 Express Edition. Alas, I can’t point you to any free-as-in-beer computers.

Links

Categories
Uncategorized

The Lost Decade

First, Andy Serwer, managing editor at Fortune magazine wrote an article titled This Crisis Could Have a Happy Ending. In it, he calls this first decade in the 21st century “one big washout for investors” and “a lost decade”.

He also wrote:

I believe that in order for the market to achieve a sustainable advance that is above the mean, we are due for some unforeseen positive event or events. Think about it. In the 1990s stocks went way up because of an unanticipated revolution in technology, i.e., networking and the Internet. In this decade we had a slew of unexpected negative events – bookended by 9/11 and this current meltdown. At some point, and it may be a few years from now, we will likely be subjected to an unforeseen positive.

Venture capitalist Fred Wilson used this article as a launching point for his article, A Lost Decade – But Not for Everyone. In it, he examines the stock prices of some of the big players on the Dow – 3M, Citigroup, GM, Intel, Johnson and Johnson and United Technologies – and declared the Dow “a mixed bag”:

A few disasters (GM, Citigroup, Intel), a bunch of so so stocks (like 3M) and a some winners (like J&J and United Technologies).

For the best examples, he says you have to look beyond the Dow, where you’ll find Apple (“still up 3.5x in nine years”)…

Apple stock price chart, 2000 - present

and Google (“still up 2.5x from its IPO in mid 2004”

Google stock parice chart, 2004 - present

Based on these observations, he writes:

When I think about what’s really going on in this "lost decade" it occurs to me that we are finally witnessing the impact of the end of the industrial era and the emergence of the information era. That’s not to say every "information stock" has done well. Intel and Microsoft have been a disaster. IBM and HP are down for the decade to date. But we also have to realize that the late 90s drove all information stocks up to crazy levels in anticipation of exactly this shift taking place. The market got it right, but as usual it overshot.

It will be stocks like Apple, Google, and companies we don’t even know about yet that will lead us back out of this downturn. And I bet there will be a bunch of companies from what we used to call the "emerging markets" that will lead us out of this mess. I think I’ll call them the "emerged markets" from now on.

Howard Lindzon, whom I met recently at Startup Empire, chimes in with his article, Has it Really Been a Lost Decade in the Stock Market?

If WE are to learn one thing from the ‘Lost Decade’ of S&P, Nasdaq and Dow returns is that any idiot can make money in an up market. It is the down markets that separate the winners and losers.

The ‘Lost Decade’ will spawn many great winners in the decades to come, and the smallest investor has the biggest chance to reap the rewards from a more level playing field of transparency, reduced supply, stronger companies. Don’t be cynical at exactly the wrong time.

It’s time to build the business of your dreams and quit hoping for anything else.

The underlying message in all three of these articles is that the businesses that will thrive in this down economy will address some kind of need rather than a want and be “underowned” and “non-leveraged” – in other words, small and not owing any money. Sounds like small businesses and startups to me.

Categories
Uncategorized

Exposed

Emily Gould

How’d I miss this? Here’s an article – Exposed — from the May 25th, 2008 edition of the New York Times Magazine about one blogger’s experiences and the lines that you can cross while writing blogging, both personally and professionally. It covers some issues to keep in mind when writing in a forum that can be accessed far and wide.

Categories
Uncategorized

C++ Pointers for Kids

Here’s a fun little claymation video showing called Pointer Fun with Binky that explains C++ pointers “to kids”. Why can’t all programming be taught this way?

My favourite phrase of the moment, thanks to this video, is “Magic Wand of Dereferencing”.

[Found via Being Cellfish.]

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.