shahine.com/omar/

homepage | Send mail to the author(s) contact

yet another Microsoft blogger

# Monday, March 29, 2004

System.Drawing.Image Performance

As I mentioned earlier, I wrote an application called JPEG Hammer for manipulating and viewing EXIF data in digital photos. As a .NET Application the single biggest performance bottleneck has been:

Image photo = Image.FromFile(fileName, true);

For a 6.1 megapixel (3008 x 2000) 1.47 MB JPEG it took on the order of 631 milliseconds to load. Multiply this by 50 or so photos and you are talking about 32 seconds to fully load these pictures. Then add the time necessary to draw the UI for the app, update thumbnails etc. On a 1.8 ghz Pentium 4 I'd expect more... and lets just say it's no where near as fast as the XP Shell (or other non .NET phot apps), so what gives?

Well, after much Googling (with no success) I tried http://support.microsoft.com/ and I came across this gem (Microsoft KB 831419):

FIX: Slow performance when you call System.Drawing.Image.FromStream to load a bitmap image

So, curious as I am, I get my hands on this hotfix which updates:

  • System.Windows.Forms.dll
  • System.Design.dll
  • System.Drawing.dll

Specifically, this update adds a new method to System.Drawing.Imaging:

System.Drawing.Image.FromStream(Stream stream, bool useICM, bool validateImageData)

This is essentially a new signature for an existing method:

System.Drawing.Image.FromStream(Stream stream, bool useICM)

As you can see, validateImageData is a new parameter. Setting it to true is the default behavior that we have today (essentially the same as calling FromStream(Stream stream, bool useICM)).

So I made a change to my application. Before my code looked like this:

using (Image photo = Image.FromFile(this.fileInfo.FullName, true))
{
    //do stuff
}

So I changed it to:

using (FileStream fs = new FileStream(this.fileInfo.FullName, FileMode.Open, FileAccess.ReadWrite))
{
    using (Image photo = Image.FromStream(fs, true, false))
    {
        // do stuff
    }
}

And here are the results. The average time it took to process 37 JPEGs taken from the same camera and roughly the same size went from 631ms to 6.76ms. So, this new method is 93x faster. Holy Cow!!! I thought that maybe something was wrong, so I re-ran the tests many times, and always got the same result. Simply mind boggling. This probably brings the .NET implementation to the same speed as writing native C++ code against GDI+.

The good news is that the article mentions that this fix will get rolled into the next Service Pack. However, you'll need to modify your code as I did to take advantage of this.

Update: you can download this fix in SP1 of the .NET Framework 1.1:

http://www.microsoft.com/downloads/details.aspx?FamilyID=a8f5654f-088e-40b2-bbdb-a83353618b38&DisplayLang=en

Posted Monday, March 29, 2004    Permalink    Comments [6]  View blog reactions

 

# Sunday, March 28, 2004

dasBlog log relief coming soon

For those of you that are finding your log directories are > 100 MB you’ll be happy to see the screenshot below. Each time a new log file get created, a process is queued to archive the previous day’s log file.

Posted Sunday, March 28, 2004    Permalink    Comments [3]  View blog reactions

 

San Francisco's got problems

As if this was a shocker, SFgate has an article on the city payroll.

San Francisco General Hospital police Sgt. Eric Cranston, who earned a $63,715 base salary last year, added $126,644 by working 2,556 extra hours. Anene Ugbaja, a security officer at the hospital earning a $56,979 base, worked 2,930 overtime hours for $122,126 in time-and-a-half pay.

I find this unbelievable. Why? Cause my wife is a Resident and employed by the State of California and the City of San Francisco. She gets paid a ridiculously low salary (far far less than the security officer's base pay) and works on average 80 hours a week. In fact, the federal government had to step in and mandate that any hospital that has residents working greater than an average of 80 hours per week would be in violation (yes that means she can work 90 hours one week, 70 the next, etc and still pass). So, she doesn't get overtime pay even though the city pays her based on an hourly rate of 40 hours per week (M-F 9-5). So, every hour that she is required by her program to work she is effectively not getting paid.

Oh, and did I mention, she works in a profession where the life of a patient is in her care? I really don't understand how a society that values the lives of it's individuals so much can afford to treat residents like this. Meanwhile, the security officer at SF general is earning quite a nice living on my dime.

I could go on about how Residents in this country are screwed each and every day. Not only are they usually carrying about $200,000 in debt, they typically can't pay off that debt till after their 3-6 year residencies where they get paid less than most any other municipal employee (and way less than nurses). They are essentially carrying this royally screwed up health care system forward and paying for the millions of uninsured Americans (the burden almost always falls on them).

Posted Sunday, March 28, 2004    Permalink    Comments [7]  View blog reactions

 

# Saturday, March 27, 2004

Loving the D70

Here are some of my first snapshots with my new D70. These are all taken of a fire hydrant down the street. One of the things I love to take pictures of are man made objects that are victims of nature. 

I absolutely love this camera. It's been many years since I owned a Nikon SLR. My first ever camera was a Nikon 2020 that I got in the 4th grade (which is when my love for photography began). I shot mostly Black & White and developed it myself till about college. I later got a Nikon N55 which was a nice improvement on the 2020. Nikon has added a ton more features to SLRs since then and I have a lot to learn. Most of the basic controls are the same but there are some super nifty features like predictive auto focus, depth of field preview, etc. Having a digital SLR is actually quite an experience since you get the benefits of looking through a quality lens, instant gratification from preview allowing you to really perfect the shot. I also happen to love the Instant On and quick response of this camera.

D70 first pictures

D70 first pictures

D70 first pictures

Posted Sunday, March 28, 2004    Permalink    Comments [1]  View blog reactions

 

# Friday, March 26, 2004

JPEG Hammer & PhotoLibrary progress

A long time ago, I started a little project to do a simple thing: Automatically rotate Jpeg images based on the EXIF orientation tag that some cameras embed. I also wanted an easy way to adjust the Date & Time of my photos based on a timezone offset. The scenario being: you get on a plane to go somewhere, take a bunch of pictures but forget to change the Date & Time on your camera. Well this fixes that. Then I started to mess around with EXIF information and decided that I wanted to build a Class that essentially wrapped all the EXIF 2.2 tags into a nice object.

Well I think I am ready for a preview release. I created a GDN workspace for the project a while back but I’ve been too busy to finish everything up. In the next few days (maybe this weekend) I’ll make available a preview of JPEG Hammer and PhotoLibrary. I’d love to get some feedback from people on what PhotoLibrary is missing or what could be different. This is the first time I’ve ever designed a class to be re-usable by other folks (I plan on using it in dasBlog for my pending PhotoAlbum feature which is taking me forever to complete).

You can see a list of all Properties, Members of the Photo Class.

Posted Saturday, March 27, 2004    Permalink    Comments [3]  View blog reactions

 

Clean Project

Does anyone know why there is a Clean button in the Batch Build dialog in VS.NET but it fails to do anything? I think this would be a useful feature no? (delete all the files in bin/Debug and bin/Ship). If you rename your assemblies a lot of crud builds up there over time. It would also be nice for zipping source to send to some one (no need to send the output in the /bin and /obj directories).

Maybe it’s fixed in Whidbey?

MSDN Search yielded no useful information.

Posted Friday, March 26, 2004    Permalink    Comments [5]  View blog reactions

 

is keyword

I don't know how I missed the is keyword in C#. I must have been asleep or something when I read about this. Up till now I've been getting the type of an object and comparing to the typeof() a class.

object foo = "bar";

if (foo is string)
{
    Console.WriteLine("foo is a string");
}

if (foo.GetType() == typeof(string))
{
    Console.WriteLine("foo is a string");
}

Posted Friday, March 26, 2004    Permalink    Comments [3]  View blog reactions

 

Gyration Wireless Keyboard and Mouse

For a few months now I've been happily using a Gyration Wireless Keyboard and Mouse for my Windows Media Center. I've been extremely happy with this combo. The mouse can be used without needing a table or surface (you just wave it in the air). It takes a while to get used to this, but once you do then you are free to walk around etc while you control the mouse. The mouse comes with a charging station and also has an optical sensor so that I can be used as a regular mouse.

They keyboard is very small, and is running on it's original set of batteries. It's perfect for MCE as I can easily hide it. Another bonus is that the keyboard requires no drivers and works on the BIOS screen in case you need to make any tweaks etc.

A few weeks ago, my mouse flaked out though. On Monday I finally got around to calling them. The support experience was fantastic. I got a human on the first ring and he told me to send it back to them (no need to find my receipt or anything). Today I got my replacement (total of 4 day turnaround). Now that's great service!

Posted Friday, March 26, 2004    Permalink    Comments [0]  View blog reactions

 

# Thursday, March 25, 2004

BlogJet

For the past few days I've been trying to get BlogJet working with dasBlog. Lets see if it works.

Posted Thursday, March 25, 2004    Permalink    Comments [0]  View blog reactions

 

# Tuesday, March 23, 2004

.NET CFv2

Read about the new stuff in the .NET Compact Framework v2. I am so happy they added support for XML Serialization.

Posted Tuesday, March 23, 2004    Permalink    Comments [0]  View blog reactions

 

# Saturday, March 20, 2004

Nikon D70 now available

If you hury, PCMall has 28 in stock and ready to ship. I just ordered mine, Wohoo! Should be here Tuesday or Wed.

Update: PCMall screwed up my order and I'm filing a complaint with the Better Business Bureau.

Here were the chain of events:

  1. Ordered Camera Saturday morning. 29 in stock.
  2. Checked order status on Saturday evening and it said that it was Waiting for customer and it did not ship.
  3. I called them to inquire and they said that they called me to verify the order (since it was over $1000) and I was not there to answer. Checked my caller ID, and no one called. But they said to call Monday and speak to credit dept.
  4. Called sunday to make sure that they were holding a camera for me while this was sorted out. They said yes, no problem, it would ship monday when I called.
  5. Called monday. Item is out of stock, and they kept transfering me to people who weren't answering the phone. I left a message for the manager who never returned my call.

This story does have a good ending though. Many months ago I placed my name on a waiting list at Roberts Imaging on the recomendation of Rob Vreeland. Well, they called me a few minutes ago, and are shipping my camera kit FedEX overnight and I'll have it tomorrow. Wohoo!

Now off to the Better Business Bureau to file a complaint against PCMall.

Posted Saturday, March 20, 2004    Permalink    Comments [2]  View blog reactions

 

# Friday, March 19, 2004

Outlook is a platform

 

This is something I've been thinking of, and there have been an number of blogs posts relating to this.

Anil Dash recently wrote about Outlook as a platform. And Marc's Outlook on Productivity Site, has a number of posts about some utilities that really enhance my productivity in Outlook. “My Equation for Serious Outlook Productivity” discusses a number of these tools such as (the following are links are to articles on Marc's site):

I don't use all of these, but I use some. I spend most of my day in Outlook and for may years I've really not felt very productive in Outlook, even though it's a necessary tool to do a good chunk of my work at Microsoft. However, as Marc and Anil write, these additional tools really do make some of us a lot more productive using Outlook. NewsGator really just delivers more information to me, much of it interesting, but it really just adds more to my life ;-). Lookout helps my find things in my huge Outlook store, and that saves me a lot of time. Plaxo allows me to keep my contact information up-to-date without having to track down people as they move and so on. Getting Things Done has allowed me to stop stressing about my e-mail and feel good about knowing that all the stuff I need to do is on my task list or on my calendar, freeing me up to keep on top of the information I need to process. Finally, I just installed ActiveWords (thanks Buzz) and plan on exploring this highly regarded piece of software.

If you spend a good chunk of your life in Outlook, I recommend you read up on some of these tools to see if they are good enough for you.

Finally, I've personally been thinking of how OneNote, Outlook, Getting Things Done, the file system, and my analog files all work together. I seem to have Outlook pretty well on track to making me productive again, and I've got ad-hoc ways of using OneNote and my documents but the integration between all these things isn't so fluid at this point. I think I'm going to have to get my hands dirty and write some code. Thankfully there is a GotDotNet workspace called Niobe that promises to make writing Outlook Add-ins in managed code a reality.

Posted Saturday, March 20, 2004    Permalink    Comments [1]  View blog reactions

 

I used to get excited about new Mobile Devices...

I remember when I used to see announcements or rumors of Pocket PC and Smartphone devices and I would get so excited. I'm at the point now where I just don't care any more.

I've been dreaming of a smartphone or Pocket PC device like my wife's Treo 600. I desperately want a thumb keyboard since most of what I use my phone for is e-mail. So when I saw the Motorola MPX I was extatic, then today when I saw this new BenQ device I was, initially happy, then just plain depressed.

It so happens that it really doesn't matter what anyone releases. All that matters is what my carrier offers me. The news that the MPx is going to retail for around $900 is so absurd. So lets cross that one off. What are the changes of AT&T or T-mobile offering the BenQ phone? Probably slim to none, so scratch that one off as well. The devices that the US carriers offer is pretty pathetic. AT&T offers a single MS Smartphone (the Motorola MPX-200). This phone is running Smartphone 2002, which we all know is older than the current Smartphone 2003 release. Additionally, the phone has known bugs (Caller ID, random disconnects with headset), and I'm already on my 3rd phone in 6 months. AT&T can't even get us a firmware update to resolve these issues. Then there is the 2? year old Pocket PC phone that all the us carriers have been selling forever now. No thanks. Then there is T-Mobile, no Smartphone, same Pocket PC Phone. Cingular (soon AT&T's owner) sells no Microsoft Mobile devices that I am aware of. I won't even bother with the CDMA carriers.

So, in a nutshell, we have a single US GSM carrier selling a smartphone with an old OS, some real problems they have not dealt with to my satisfaction, and all have a track record for releasing these phone incredibly slowly. Meanwhile, everyone except for Verizon sells the Treo 600... hmm I wonder why. If only it was running the Microsoft Smartphone OS.

Hopefully in 2005 I can get a Windows Mobile powered device with a thumb keyboard for less than $500 dollars. I can dream can't I?

Posted Saturday, March 20, 2004    Permalink    Comments [0]  View blog reactions

 

Sharing OneNote files across computers

It's probably not obvious that you can do this, but I thought I would let you all in on a little secret.

Some of you probably aren't lucky* enough to have access to a service like Intellimirror Folder Redirection (where your My Documents folder can be replicated among multiple machines that are part of a domain). Or, maybe you have a home PC that you want to share files with? Well, I use OneNote on all my computers, but my home PC is not part of the Microsoft domain and as such it's not easy to have quick access to the same notebook files.

Well, if you are an MSN subscriber (I have the subscription only service) you automatically get a folder in the MSN cloud. You can access this folder using WebDAV, and if you are running Windows XP, it's very easy to get to this folder from your Network Places. If you have given XP your passport account then you should have an entry in Network Places called My Web Sites on MSN. This shortcut will point to http://www.msnusers.com/. In that folder will be a folder called My Web Documents. Simply copy any OneNote sections you want to that folder and double click. Now you can jot notes in there and they will be available to any machine that can speak WebDAV and authenticate using Passport.

*while Folder Redirection is a great feature, it has many warts and I find myself fighting with it every day even though it provides me with critical functionality.

Posted Friday, March 19, 2004    Permalink    Comments [3]  View blog reactions

 

Spam is killing me

My personal e-mail account has just gotten hammered with spam. Not sure what to do anymore. I get about 30 messages a day that don't get filtered away, and I simply can't be bothered to figure out what is going on. I've been toying with the idea of using mailblocks or just switching to using hotmail for all my non-work e-mail.

Challenge/Response seems pretty compelling at this point since I'd rather shift the burden to people trying to send me mail. I get like 5 messages a week sent to my personal e-mail account, so there isn't much value add for me to deal with the spam.

Posted Friday, March 19, 2004    Permalink    Comments [4]  View blog reactions

 

# Tuesday, March 16, 2004

MacBU Innovation

Recently, Peter wrote on his blog:

“Why do so few of the great usability features of Microsoft's Mac software ever make it to the Windows platform? The Mac applications always seem so much ahead of their Windows counterparts. And they come from within the same company! Why such a pronounced dichotomy?”

This is something that I hear quite a bit. I guess it can seem this way, but let me explain some things.

First of all, The Macintosh Business Unit is a little island inside Microsoft. We have our own planning, usability, marketing, user assistance, dev, test, program management, and localization teams. We do all our own research, leveraging all the research already done by other teams etc, and we cater specifically to the Macintosh market (which is unique in many ways). We have a few million customers, not the hundreds of millions that Windows or Office have. As such, it is much easier for us to make tradeoffs here and there. Our customers also have an elevated sense of design and expect a lot from a Macintosh program (they can smell a port a mile away and won’t touch it). Finally, no one tells us what to do (outside MacBU), and we own almost all the Mac software that Microsoft makes (sans Windows Media Player and Services for Macintosh).

Contrary to what people may think, we don’t share features with any other teams. We aren’t obligated to implement anything, and we aren’t tied up much by external dependencies (and this is important). Not having dependencies, like Office has on Windows and vice versa really frees us up. Our only dependencies are internal, and since we control the schedule, it’s much easier to resolve any issues. Having said all this I don’t think it’s fair to say that our applications are so much ahead of our Windows counterparts (well maybe the Project Center is). The thing is, we focus on a very specific set of features (because we are a small team) and we try to get it right the first time. We don’t have the tens of millions of customers to cater to that some of the Windows teams do. Additionally, we appreciate and borrow many features from Windows Office (where we see fit). Good examples of this are the three column view in Outlook 2003 that we added to Entourage. In fact, I'm humbled by all the functionality found in Windows or Office. It's simply amazing what capabilities lie within those two sets of products. Again, all there because to some set of customers they are critical.

One interesting example to see how our strategy differs is Word Notes (a new feature in Office 2004 for Mac, you can see more and go through a demo). On Windows there is a fantastic little app called OneNote that is targeted at both Tablet and non-tablet users for taking notes. Well, on the Mac there isn’t any kind of Tablet PC, so instead we focused on building the Notes functionality into Word. This allows us to leverage an existing code base (we can’t just go and port OneNote) and enabling similar scenarios on the Mac. Additionally, there are some platform specific technologies we can leverage on the Mac that don’t exist on Windows and vice versa.

However, we do spend a lot of time showing and evangelizing our work to lots of different teams in the company. We realize that not many people have Macs in their offices, so it’s often hard to find out or see exactly what we are up to. We’re really proud of the software we build and we’re happy to show it to anyone at Microsoft that will listen. Every once in a while you’ll even see the occasional Mac feature appear later on in a Windows product (The Web Archive in IE 6, Lists in Excel, Search Folders in Outlook and many others). Much of this really just boils down to time and schedules. Finally, people do leave MacBU and go elsewhere in the company to do cool things. Dan Crevier who works on Longhorn, Hillel Cooperman who leads the Longhorn Aero team, Michael Connolly who works in MSN and the list goes on and on (it’s quite a distinguished list, really!).

Posted Wednesday, March 17, 2004    Permalink    Comments [1]  View blog reactions

 

Dan Crevier is blogging

Dan Crevier finally started a blog. I met Dan when I was a sophomore in college on an e-mail list for Claris E-mailer. Dan was getting his Ph.D. in Biophysics from this little college called Harvard, and writing code in his spare time. Dan ended up doing some contract work for Claris where among other things he helped create a Japanese version of the product (Dan apparently picked up Japanese while he was in Japan for a few months). Anyway, Claris had no clue about the internet, and let a beautiful product die a slow death. Meanwhile, the creator of E-mailer, Jud Spencer, was hired away by the then growing Mac Internet Product Unit (MacIPU) where he seemingly disappeared to work on “something”. To us outsiders it was either Internet Explorer or Outlook Express. Unfortunately, OE 4.0 was a junky piece of software compared to e-mailer, but I had high hopes that would change with Jud and Dan (and later David Cortright) at Microsoft.

Somewhere around my senior year I started the now dead Unofficial Outlook Express page, my claim to fame I guess. Dan got hired by Microsoft after he got his Ph.D., as did many other Claris and former Apple employees (most who worked on OpenDoc or Cyberdog). Some months later I started an Internship as a tester working on Outlook Express. Back in those days Dan would come by my cubicle every day and show my some cool feature he did (we had a long list of features that we wanted to do, and we knocked almost all of them off over the next few years). It was a total blast. I was such an annoying and bothersome tester that they decided I’d probably make a good PM where I could annoy and bother developers to my hearts content ;-) (rather than the other PMs).

Anyway, Dan is simply a coding machine. For most of his 5+ tenure in MacBU he was the #1 bug fixer, often fixing twice as many bugs as the next developer. I had a theory about how Dan got all this work done… he has a small company in India with 2-3 employees that wrote code while he slept at night ;-). Anyway, Dan, myself, and a few others were responsible for shipping Outlook Express 5, and then we all transitioned to work on Entourage 2001 which was the super secret product I mentioned that Jud was working on all along. Outlook Express 5 was really a snapshot of the Entourage 2001 codebase minus a lot of features. We had a hard time deciding what to remove, and the problem we feared and ultimately realized was that OE was too good. Our customers loved it so much that we had a really hard time convincing them to use purchase Entourage 2001.

Dan quickly rose through the ranks of MacBU. He quickly became a Development Lead, then became a Development Manager and was responsible for all of the Mac Silicon Valley products (IE, OE, MSN, Entourage, PowerPoint, VPC). However, with all this new responsibility you could still convince Dan to fix your pet bug or tweak a feature (some of us even got our pet bugs fixed as wedding presents). Dan recently left our sunny state for Redmond where he is now an Architect on Longhorn as part of the ConnectUX team. I think this is great for Dan and for Microsoft. It’s easy to get upset when such valuable contributor leaves our business unit, however, I’m always encouraged that they will take some of the MacBU pixie dust and bring that to other parts of the company.

Some interesting tidbits about Dan are that he used to own the domain http://www.boingo.com for his Oingo Boingo website. However, he recently sold it to Boingo Wireless. Dan also wears shorts every day. I’m not sure I’ve ever seen him in pants. Anyway, I wish him the best of luck. However, if he doesn’t check any code into Windows by the end of the month I quit ;-).

Posted Wednesday, March 17, 2004    Permalink    Comments [0]  View blog reactions

 

Where in the World I've been

So many more places to go, so little time ;-).

United States


create your own personalized map of the USA or write about it on the open travel guide

The World


create your own visited country map or write about it on the open travel guide

Posted Wednesday, March 17, 2004    Permalink    Comments [0]  View blog reactions

 

# Monday, March 15, 2004

Onfolio and IE thoughts

Scoble recently wrote about Onfolio, which is essentially “Favorites on steroids” as he says. Well the favorites feature in IE pretty useless so anything is better. Kudos to the folks who made Onfolio though because the UI is very polished, something you don't see to often (nice 32 bit icons, good use of standard HI controls, fonts, elements etc).

Onfolio reminds me a lot of a feature we have in Mac Internet Explorer; The Scrapbook. Scrapbook was essentially a way to take a snapshot of a web page, and save it off for the user in their Explorer Bar like feature (we called it something else). Anyway, the feature was great because you could quickly and easily capture things like order confirmations and so on. Onfolio seems to extend that metaphor and adds a whole bunch of useful functionality, like better categorization, sharing, adding personal notes. However, as a person who uses more than one Computer I find it a deal breaker that there isn’t any kind of roaming story, or way to persist my saved stuff across multiple machines. Joe Cheng kindly left a comment in Scoble's post that indicates that since the data is just stored as .cfs files in theory they could be roamed. I use a feature called Intellimirror, or Roaming My Documents (part of Windows 2000 and XP) to keep the Windows My Documents folder the same across all my Microsoft PCees, so I'll have to find a way to get Onfolio to store the files there (which is where my IE Favorites are stored).

Interestingly enough Scrapbook, is one of my two favorite MacIE feature to make it over to Windows. Forms Autofill was another feature we created to help users populate web forms with some stored information. Google brings that to us with the Google Toolbar.

And this all brings me to something I was complaining to my manager about the other day. Why did we just all of a sudden decide to stop innovating in the browser space? I mean it’s still in the top 2 things that people do on the Internet. Do we feel that IE is perfect and that further innovation is no longer warranted? Is it because it’s the dominant browser, end of story? Well we have other products that are market leaders and we still pour R&D into them. Well, it’s more than likely that it’s because it generates no direct revenue. However, it’s a part of Windows and that generates a lot of revenue. I’m personally upset that nothing is being done to enhance my productivity when browsing the web. Right now it’s atrocious, with all the windows that I can never track down, the annoying disappearing status bar, the CSS bugs etc. I’ve used Avant Browser and Firefox, but still find myself coming back to IE because it’s the default, and it’s there.

I wonder how much longer before my PC caves in because of all the add-ins, enhancements and other software I have that extends IE, Outlook, XP etc ;-). I can just hear my co-workers reminding me of how many extensions and hacks I use to have on my Classic Mac OS machines...

Posted Monday, March 15, 2004    Permalink    Comments [2]  View blog reactions

 

Favorite SPOT feature

So, here I am in Boston. I flew here for some customer visits we are going to do as part of an overall planning and research project. When we landed, my watch beeped and automatically showed the local time. In addition, it automatically got the local weather feed. Small things like this really make me happy. The nice thing about getting the weather this way is that I'll probably not be in Boston for another few years, so going to the trouble of setting up SMS alerts or checking some website (pull technology) just becomes unnecessary.

Now, seeing as I'm here for 2 nights it would be extra cool if I could find out info on nearby restaurants, local movie times and even traffic for driving back to the airport. However, I don't thing the traffic thing will help me since I've already gotten hopelessly lost getting to the hotel. The signs around her just suck. Now I remember what it's like driving in the northeast. Look there is the exit sign for so and so. Oh too late I missed it. Now I must wait in 15 min of traffic to correct this mistake.

Posted Monday, March 15, 2004    Permalink    Comments [0]  View blog reactions

 

# Wednesday, March 10, 2004

U.S. cars top European in reliability

http://story.news.yahoo.com/news?tmpl=story&cid=1620&e=2&u=/sv/uscarstopeuropeaninreliability

Sheesh, no kidding. My 2002 Audi A4 was/is full of minor bugs. For example, my car remembers the side view mirror position for each driver based in the key used to unlock the car. However, the mirrors move randomly each time the doors are opened and for no reason. Audi of course doesn't know this is a problem and my dealer can't do anything about it since it's too much of a “software” problem. In fact, most times that I've complained of problems with my car they were written off as software glitches and well, Audi doesn't have Service Packs for their cars I guess.

Posted Wednesday, March 10, 2004    Permalink    Comments [2]  View blog reactions

 

# Monday, March 08, 2004

Unlocking Cellphones

It appears that New York State is filing a class action suit against cell phone carriers for their practices regarding locking cell phones (preventing you from switching carriers and keeping your phone).

I’m not sure how I feel about this. For one thing I enjoy the substantial subsidies that I get from my carrier (on the order of 50% of the retail price). For my MPX-200 this amounts to about $150 dollars. It will take ATT quite a while to recoup this amount of money. What I do feel is that after a certain amount of time (say 6 months) I be allowed to unlock the phone and take it with me to another carrier. However, now that ATT and Cingular have merged who would that be? T-Mobile? I don’t think so. The only thing I could really do is use it in Europe or the Middle East (the only places I travel) with a Local SIM card. However, with ATT Global Roaming rates so low now, this is at best a waste of money.

In Europe the dynamics of the cell phone industry are quite different. For one thing, there are more carriers, phones are rolled out much faster, and the subsidies aren’t as great (if any at all), and travel between countries is easier and more common than the US. However, the phones are typically unlocked or unlockable after a certain time period. Also, since Europe and much of the world is all GSM, there is a much more compelling argument for taking your phone with you etc.

The beauty of something like GSM is of course, that because there is a sim card, you can just pick and chose the phone you want and make the switch w/o any work on the part of the carrier. Companies like Verizon and Sprint need to do this for the customer. And I’m not even sure if the CDMA technology used by Sprint and Verizon allows for device switching amongst those carriers. Not to mention these phone have all sorts of custom software and radio stacks tuned for the specific carrier. In many cases using a phone that the carrier does not sell leaves you in an unsupported configuration where they won’t even help you if you have network troubles.

Posted Tuesday, March 09, 2004    Permalink    Comments [1]  View blog reactions

 

Inbox empty, thanks David Allen

Well, part of a book, and some software later, my Inbox has zero messages (you can see the evidence at the bottom). I think that is the first time in 5 years.

Here is how it started. I had about 200 or so e-mails in my Inbox Sunday night. I used David Allen’s method for triaging my Inbox (I purchased his Outlook software) and I ended up with:

  • 15 action items (tasks)
  • 2 deferred items (calendar events)
  • 1 waiting for
  • 3 Snoozes
  • 6 Someday items

Now, having used the software I can say that it’s nothing special. It’s a bit crude, but it’s much more pleasant than doing everything manually. To be honest though, it leaves a lot to be desired. There is so much more potential in improving the workflow, making the UI more polished, adding more targeted Outlook 2003 functionality (the app seems very optimized for Outlook XP and earlier). Maybe this will be a project that I’ll take on when Outlook has a managed programmability model (I don’t know or want to know VBA and don’t care for writing code exposed as COM).

 

Posted Tuesday, March 09, 2004    Permalink    Comments [0]  View blog reactions

 

# Sunday, March 07, 2004

Thanks Comcast

The Sopranos in HD is just awesome.

Posted Monday, March 08, 2004    Permalink    Comments [0]  View blog reactions

 

# Saturday, March 06, 2004

Media Center Project

For the past few weeks I've been working on support for the Front Panel Display that my custom build Media Center has. For about a year it was dark (not doing anything). But a few weeks ago, I got hold of some code from Ian Kennedy to talk to the display using C# and managed code. I also got hold of some sample code on how to write a Media Center Sink using managed code (you need to expose the class library as a COM object). All of this is documented in the Media Center 2004 SDK but all the code and related samples are in C++ (not something I care to know anything about, ever).

For me this was a great programming exercise. I wrote an Interface (allowing others to write plugins for their particular Front Panel Display), code to handle dynamic loading of assemblies, a state machine for aggregating Media Center State, Installer code for doing the COM registration using (non trivial for me), an MSI for doing all the right magic, and of course figuring out how to expose a C# class library as a COM object.

Would people be interested in having a look at this stuff? Is there anyone out there that is running Media Center and wants to write their own custom Front Panel Display? If so I might figure out a way to release this code.

Here is the result of the work I did. You can see that we are in a My Music session, playing Train Wreck from the latest Sarah McLachlan CD.

Posted Saturday, March 06, 2004    Permalink    Comments [5]  View blog reactions

 

Resharper

I've been using Resharper for a few weeks now and I'm impressed with the productivity gains I've experienced in Visual Studio. They continue to make bug fixes and feature enhancements on a regular basis. It's free to try the evaluation for now and I'm definitely going to buy it when it's released.

My favorite features are:

  1. Better syntax checking (akin to VB.NET) for C#. You don't need to compile before finding out you have errors
  2. Better code highlighting and code formatting
  3. Simple refactoring support (rename) which I do all the time.

Posted Saturday, March 06, 2004    Permalink    Comments [0]  View blog reactions

 

# Friday, March 05, 2004

My Inbox

Lets talk about my inbox for a second. I never let it get over 200 messages, but it's never under 100 messages. I literally struggle every day to keep this thing from exploding. I have dozens? hundreds? of folders and I think the max number of server side rules that exchange will let me and I still can't deal. When I first started at Microsoft it was under 30 each day. But as my roles changed, my interests grew and my responsibility increased it's simply impossible for me to get back to this. When we shipped Virtual PC 6.1 I managed to get my inbox down to 4 messages, but a week later it was back to 150.

Robert Scoble mentioned a David Allen Seminar today and that got me intrigued. I'm not sure where he took it but I think I really need something like this. I went to his web site and already read this document that talks about e-mail tips, and then there is his book, a downloadable “paper” on using Outlook and finally his software that apparently implements his philosophy of e-mail management. I'm tempted to just throw down the $70 for his Outlook software cause I'm pretty much desperate at this point.

My work discipline around e-mail is so bad that it's spilled into my personal life and my “home” e-mail account is just as pathetic as my work inbox. I avoid looking at my other mailboxes because I can't even deal with my work one. I don't get any joy out of e-mail like I used to when I was new to the net.

BTW - I've always wondered. When you die, where does your e-mail go? Who answers it? Does it just stop when your don't pay your bills and your ISP shuts it down ;-).

Posted Saturday, March 06, 2004    Permalink    Comments [2]  View blog reactions

 

# Wednesday, March 03, 2004

A new gadget weblog

A must visit site for any gadget loving geek! 

Paul Boutin points us at Engadget, a new weblog all about gadgets. This is done by a former co-founder of Gizmodo, which has long been my favorite gadget site. Subscribed.


[Scobleizer: Microsoft Geek Blogger]

Posted Wednesday, March 03, 2004    Permalink    Comments [0]  View blog reactions

 

# Tuesday, March 02, 2004

Problem with cell phone reception?

 Get your own indoor repeater for $500.

Posted Tuesday, March 02, 2004    Permalink    Comments [0]  View blog reactions

 

# Monday, March 01, 2004

Lenn and Jeff are new dasBlog users

Lenn Pryor, who has the unique roll of being Robert Scoble's manager, recently switched to dasBlog. Jeff Sandquist, one of Robert's co-workers also switched over from Radio. He posted a nice How-To on moving from Radio Userland to dasBlog (importing posts, comments etc). It's a little known feature that dasBlog can actually move all your Radio stuff over, as well as continue to upstream your posts to your Radio site (via upstreaming service) as well as map your Radio links to dasBlog links using custom http handlers. Clemens (dasBlog papa), myself and a few others actually moved from Radio to dasBlog using some of these tools.

Posted Monday, March 01, 2004    Permalink    Comments [0]  View blog reactions

 

Pictures of my car

Some pictures of the pile of snow that engulfed my car. It took about 1 hours to dig the car out (2 people). After I got the back out, the All Wheel Drive took over and my car just powered out of the hole it was in. I love AWD + All Weather Tires. Worth every penny ;-).

Posted Monday, March 01, 2004    Permalink    Comments [1]  View blog reactions