Posts

Why I Shop Online Instead of Local Stores (Even When I Don't Want To)

I recently had a need for a 6' HDMI to Micro HDMI Cable. I wanted to buy it locally. After checking the websites of several brick and mortar stores I discovered only a couple of them carried the cable. And they wanted $35 for it. That seemed a little steep, so I checked MonoPrice.com . Their price (including shipping) was $7. Now I would often prefer to get something locally -- and I'm even okay paying more to do so. But FIVE times as much?

Pull Quotes Without Closing Quote Marks

Image
Like most programmers, I’m not great at design. I try to improve my skills in this area by reading books and websites about design (like Smashing Magazine). But there’s something I’ve been seeing on design websites that bothers me. It’s the way they do pull quotes. Typically they look something like this: There’s a big opening quote mark to indicate it’s a quote – but no closing quote mark. Now I know its suppose to be stylish – but it really annoys me. When I write code there is always a symmetry. Every ( has a matching ) , every { has a } – and every open quote has a close quote. I think my brain sees pull quotes like the one above and hollers out “syntax error.”

Programming History

I’ve been reading a book about the development of early programming languages. I was surprised to learn how many features of modern languages where first developed in Algol (circa 1960). It was also a little weird seeing a forerunner of C#’s using statement (“imports” in VB.NET) in Ada. It’s eye-opening to realize that features you take for granite where new ideas at one point. They’ve been refined over the years to the state that we know them now.

My First Android App: Contact Caller

Image
I just realized that I hadn't blogged about my Android(tm) app. I found the process of dialing someone on my HTC Eris to be annoying -- it took too many steps. And I tried using the HTC Favorites widget, but I found that annoying too -- because I could only have one number per person on the favorites widget. (E.g. I could have a shortcut to my mom's cell phone, but not also one to her home phone). So I created my own dialer program. It's called Contact Caller and it's very simple. You are given a list of all your contacts. Next to each contact are three icons: a home icon, a cell icon and a work icon. Pressing one of the icons will dial the corresponding number for that person. If you don't have a certain number for that contact, then the icon will appear faded out. If you have more than one number of that type for a contact then you will be asked which one you want to dial. In addition, if you long press on one of the cell icons, it will allow you to send that per...

Pluggin Away!

I'm currently having fun working on a .NET based plug-in system. It's not MEF based, though, because that seemed overkill for this project. I hope to be able to release something soon.

Don't forget the colon on ASP.NET MVC Html helpers!

Note to self: On ASP.NET MVC 2, when using Html helpers, like Html.DropDownListFor, they don't work if you leave out the colon after the opening "crow's beak". This won't work: model.Country, ViewData["Countries"] as SelectList) %> This will: model.Country, ViewData["Countries"] as SelectList) %>

Getting Business Intelligence projects in Visual Studio 2008

Note to self: To get SQL Server Reporting Services Business Intelligence projects installed into Visual Studio 2008: When you're installing SQL Server 2008 R2, select at least these items in the Feature list: Database Engine Services, Reporting Services and Business Intelligence Development Studio.