Roman Wagon Wheels
Submitted by dlambert on Fri, 2008-05-02 22:28.It's said that the gauge (width between tracks) of American railroads can be traced from bureaucracy to bureaucracy back to the width of Roman war chariots. It turns out that this is just another urban legend, but if you've ever worked in an organization of any size, you've experienced the organizational inertia that makes this legend so plausible.
I ran into a great one today, for instance. I'm doing some work in a place where I don't get to set the standards (yes, it's a government agency). One of the real winners is a standard that mandates that all SQL queries for an application be stored in an XML file, with the queries and their corresponding parameters specified.
Appdev.info Mobile
Submitted by dlambert on Wed, 2008-04-23 04:44.Here's a quick way to add a mobile interface for your web site: Wirenode.com lets you feed in your site's RSS feed or edit pages by hand to create a mobile-friendly site in just a minute or two. Of course, I made one, too. Give it a try!
On Tooltips and Affordances
Submitted by dlambert on Thu, 2008-04-03 18:30.
I just got a new smartphone - a T-Mobile Wing, in fact, and I like it a lot. I've never used Windows Mobile for any extended length of time, though, so I'm still learning a few things. This morning, while trying to figure out what a button did, I caught myself doing something astounding, and I gained a whole new appreciation of affordances.
This phone, if you're not familiar, is a touch-screen smartphone with a slide-out keyboard, so if I'm doing anything remotely complicated, I'm usually using a stylus to point to the screen. This is sort of interesting all by itself, because in many ways the stylus acts as an interface metaphor for a mouse, which is, in many ways, acting as an interface metaphor for a finger. It's no wonder parts of the UI are screwed up!
Format bytes as KB, MB, GB, etc.
Submitted by dlambert on Thu, 2008-03-27 05:09.Here's a useful little chunk of code to put in your toolbox. I need to display file sizes to users, and I want to format the displayed file size as you'd see it in Explorer -- 10.1 KB, 23.31 MB, and so on (not 112230103 bytes, for example). After a quick google search, I turned up a post on forums.asp.net that got me really close. I cleaned up a couple of issues and built a unit test to make sure things were working correctly, and it's ready to go. Read on to see the working code.
Here's some more of the value Microsoft sees in Yahoo!
Submitted by dlambert on Sat, 2008-03-22 18:15.
Last time, I hinted that there was more than Google-phobia driving this attempted purchase, and there is. In addition to vaulting overnight to a relevant search power, there are a few other areas where a combined company would become a real market force.
Why you should care if Microsoft buys Yahoo?
Submitted by dlambert on Wed, 2008-03-19 05:15.
Anyone not living under a rock knows that Microsoft is trying to buy Yahoo!, but so what? What difference could it possibly make to an end-user or a software developer whether Yahoo! remains independent or not?
Clearly, this is a buyout of historic proportions. The size alone is impressive: at $45B, this is a serious chunk of change and a sizable improvement over the market valuation of Yahoo! prior to Microsoft's offer. But this buyout isn't notable just for size. This is a pivotal moment in the growth and maturation of the net: a marquis player is quite possibly going to cease to exist independently, and another is at a "make or break" moment. As far as brands go, this is an impact on the order of seeing Netscape fade away or AOL get gobbled up by Time Warner. Like AOL, it's quite conceivable that the brand will live on for a long time, but it's clear that it'll never again live with the vigor that it's had in the past.
Greenspan sneezes...
Submitted by dlambert on Mon, 2008-03-17 17:11.Alan Greenspan's in the news again after he was quoted as saying the current economic meltdown Is "the most wrenching since the end of the second world war." Now, I know this isn't directly related to software design, but since I've got a degree in Finance, I can't help watching this train wreck, and let's face it - this "situation" has now reached the point where it's impacting the economy as a whole, including software.
I'll be honest - I don't think it's too beneficial for Greenspan to be skulking around the funeral parlor right now offering commentary on the medical care of the deceased.
Google Apps trail MS Office, but for how long?
Submitted by dlambert on Thu, 2008-03-13 04:01.
This morning, I read a blog post describing how to add page numbers to a Google Docs document. The crux of the technique was to embed some HTML into your doc such that page numbers are generated when the doc is printed via PDF. "That's it!" I thought. That's why Google Apps aren't ready to take down MS Office.
Then, this afternoon, I just happened (dumb luck, I swear) to use Google Docs to print a draft of an article I'm working on, and I saw this dialog with - you guessed it - an easy way to add page numbers. And just like that, I saw the problem for Microsoft. Google, it's true, isn't there yet, but they're closing the gap -- fast.
Microsoft is clearly working hard to neutralize the Google Docs threat with their Office Live Workspace, but I'll bet they're glancing nervously in their rear-view mirrors constantly.
Bug fixes that are more than just bug fixes
Submitted by dlambert on Sat, 2008-02-23 04:05.It's that time again - time to go through the bug list and do some cleanup. As I work through these bugs one by one, I've noticed that at least half of them end up being slightly more than just bug fixes. As I crack the hood and peer in, sometimes I see that there's code inside that's not quite up to the standards of the rest of the application.
When I see this, I generally try to fix the whole bug, and that means cleaning up (refactoring) the messy bits. In some cases, you're working on an application that someone else wrote, and in these cases it's pretty easy to blame the mess on the moron who coded it in the first place. But what if the moron was you? How do you end up with code that needs this sort of attention if you wrote the stuff originally? There are tons of great articles and books on refactoring, and they cover this area in much more detail, but here are some of the things you're going to run into when fixing bugs:
Don't bring an application home if you can't feed it.
Submitted by dlambert on Tue, 2008-02-12 07:02.
About four months ago, I helped a client put an application into production. This client has a mix of internal and external customers, and those customers are essentially captive (they have little choice about using this application). As with any new application, there are infrastructure headaches, customer questions, training issues, and the like.
I was talking with someone today about a support issue, and I asked how they client was tracking calls, issues, and so on. "Oh, we're not tracking them." Ah.

AppDev Stories - RSS