shahine.com/omar/

homepage | Send mail to the author(s) contact

yet another Microsoft blogger

# 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

 

# Thursday, February 26, 2004

Digging out from under the snow

Never in my life have I seen so much snow (and I've seen my fair share). I've been up in Tahoe since Saturday, and it's snowed at least 6ft in the last 36 hours. I've been learning to snowboard (skiier all my life) and I have to say, snowboarding gets the nod over skiing. It's fantastic. Anyway, the snow is still coming down very strong. The bad news is that my wife did not fair so well. She broke her arm our second day out. Luckily, it was a good break (I didn't know there was such a thing) and should heal quickly. Tomorrow is our last day, and I'm looking forward to seeing San Francisco (although I hear the rain is horrible).

Funny enough I can get WiFi here, but no ATT service. Go figure.

Posted Friday, February 27, 2004    Permalink    Comments [2]  View blog reactions

 

# Friday, February 20, 2004

My Motorolla MPX200 died

Rats! As I get ready to go on a vacation this next week, my Motorolla MPX-200 smartphone just up and died on me. I had to dust off my old T68i (thank god for GSM and SIM cards, I can just swap them).

This is a real bummer though. I was planning on leaving my laptop at home and just getting by with my Smartphone for e-mail access to my MS Exchange account. Seems this isn't going to happen. I've come to depend on my smartphone in more ways than I can help at this point. It's my calendar, contacts list and lightweight e-mail device. It's also got a program called eWallet that stores all my bank financial info etc. In short, this thing is an invaluable tool. Not sure how I'll get by for a week w/o it. Luckily I can use Outlook Mobile Access (OMA) from my T68, but it's slow as molasses.

Posted Friday, February 20, 2004    Permalink    Comments [1]  View blog reactions

 

# Thursday, February 19, 2004

DOCTYPE switch and web design

A lot of people don’t know that the DOCTYPE switch in your web page can have a profound impact on how your page layout works. For example, the CSS Box Model will look different in WinIE 6 depending on the DOCTYPE switch. If you are doing web design today, make sure the browser you are targeting is not rendering in quirk mode.

Here is a great table of all the different effects DOCTYPE switch has on some different browsers.

Posted Thursday, February 19, 2004    Permalink    Comments [0]  View blog reactions

 

Referreral spam from John Kerry?

Yep, you guessed it. Seems that John Kerry’s blog is spamming my blog. I can’t think of any other reason this would appear on my Referrer log.

Posted Thursday, February 19, 2004    Permalink    Comments [1]  View blog reactions

 

# Wednesday, February 18, 2004

IMAP, Thunderbird, and mail clients

For much of my career at Microsoft I’ve owned mail related features. I pretty much designed all the IMAP support in Entourage with Mike Fullerton and Steve Friesen and I’m pretty happy with how it works. IMAP itself is a complex protocol to implement properly (it’s been redone about 3 times now). Each server has its own little nuances, but generally, I love the concept because everything is stored on the server.  I can check my mail from multiple computers and use web mail w/o needing my own personal Exchange account.

However, there are some frustrating things about IMAP such as the delete model. With IMAP when you delete a message, it’s simply marked for deletion. It’s just a flag. In many clients the message remains, and the client must purge the mailbox to get rid of it (purging the mailbox removes all messages marked for deletion).

In Entourage, we offer a delete model (on by default) that behaves like a local mail client (or Exchange). Messages are copied to the deleted items folder, marked for deletion, and the mailbox is purged. However, this is a lot of work for a simple delete. There is no IMAP MOVE command, only COPY. To make matters worse, when you COPY a message on many IMAP servers, you don’t know what the message UID (Unique ID) is in that new folder. This makes it very difficult to support actions such as Undo, or any complex message tracking like we do in Entourage. A way around this is to search the destination mailbox for the message and get the UID. Luckily Exchange now returns the UID by supporting some newer IMAP extensions (UID Plus).

For me, the main features I want in an IMAP client are the following:

  • Support for IDLE (clients don’t need to poll for new mail, they are notified when a new message arrives)
  • Delete messages by copying the message to the deleted items folder, marking the message deleted, and purging the mailbox so that the deleted message goes away.
  • Store Sent mail & Drafts in the Server Sent Items & Drafts folder.
  • Use internet style attributions (Outlook places all replies on the top of the message, ever other mail client allows you to insert the reply either interspersed or at the bottom).
  • Support for Format-Flowed.

 

To understand what Internet style attributions are about, and why Format-Flowed is a nice feature take a look at this pic from a plain text message that I’ve replied to 3 times in Outlook (the same thing would happen in Entourage, OE and a few other products).

Below is a screen shot of Thunderbird and what Internet Style attributions look like, as well as Format Flowed support (where text is wrapped properly). As you grow and shrink the window, the quoted text is dynamically re-flowed as it would be in a web browser. This is much better than the 72 or so character line breaks that can get to be a mess and you end up with text like so:

IMAP Server

So, the mail features I want in an IMAP server are:

  • Server side rules (all mail is directed to folders on the server).
  • Server side spam filtering
  • Backups.
  • Web based interface

I’ve been looking for a decent Windows IMAP Client for the past few years with little success. Luckily I have a great IMAP Server provider, Fastmail. They provide all the features above, and run a decent IMAP server.  I’ve been using them for almost 2 years now.

IMAP Clients

Client wise here is a run down on what I’ve tried (yes, this is by no means scientific, unbiased etc; it’s just based on my experience as a user with these products):

Executive Summary: Thunderbird is an almost perfect IMAP client for Windows. If you use IMAP, this is the product for you.

  • Outlook : Needs improvment 
    1. Does not support the exchange like delete model I reference above
    2. Does not store sent mail on the IMAP server, but your Exchange server or local folder is you don’t have an exchange server
    3. Message must manually be purged for each folder
    4. No internet style attribution.
    5. No IDLE support (at least I don’t think so) Larry Osterman informed me that Outlook does support IDLE. Thanks Larry.
    6. Hard to find messages easily (and no server side IMAP search). Thankfully, MSN Search Toolbar and a number of products like X1, Lookout, etc fill this void very nicely. MSN Search being my favorite.
    7. One of the best Junk Mail Filters (same technology we use at Hotmail)
  • Windows Outlook Express : Needs improvement
    1. Fast as heck
    2. Purges message when you switch from folder to folder, which is better than outlook.
    3. No internet style attribution.
    4. No IDLE support (at least I don’t think so) Larry Osterman informed me that OE does support IDLE. Thanks Larry.
    5. Poor Offline support.
    6. Hard to find messages easily (and no server side IMAP search). Thankfully, MSN Search Toolbar supports this.
  • Windows Eudora : Not acceptable 
    1. Slow as molasses
    2. Frequently corrupts local IMAP folders
    3. Horrible interface
    4. Funky IMAP support.
  • Entourage : Excellent
    1. I helped to design most of the IMAP support, so there is nothing wrong with it (hehe). Well nothing that I’m unhappy about.
  • Thunderbird : Good
    1. Fast
    2. Supports the delete model I like
    3. Junk Mail filter
    4. Internet style attribution
    5. Supports IDLE (turns out at the time that I wrote this post, Thunderbird did not support IDLE. However, this was recently added)!
    6. Easy to find messages and supports server side IMAP search!!!!
    7. Doesn’t support getting unread counts for all folders w/o manually tweaking the application preferences.
    8. Supports mailbox quota

Update: I updated this post to reflect some corrections, edits and changes.

Posted Thursday, February 19, 2004    Permalink    Comments [14]  View blog reactions

 

software is expensive

As a Microsoft Employee I am very spoiled. I have the luxury of being able to install most any piece of Microsoft software I want, or purchasing that software for about 10% of its retail cost. Over time I’ve come to realize that this is a pretty amazing perk since we make so many different kinds of Software (OS, Productivity, Games, Development Tools, etc). I can almost get by with not needing any other commercial software of any kind (kinda scarry). Of course there are some notable exceptions as I mention below.

The other day I decided I needed Photoshop CS. So I figured I’ll buy it. However at $600 or so dollars I have a hard time justifying that purchase since I’m only going to use it to edit digital photos (I’m really getting it so that I can use it to manipulate RAW images for my Nikon D70 which I plan on purchasing). I’ve previously owned PhotoShop Elements 1.0 which is a nice lite version of Photoshop, but even version 2 (which is $99) is 1-2 years behind the full version.

Since my wife is a Resident at UCSF she qualifies for the educational pricing of software. However, the Educational price for Photoshop CS is $300. Still not really justifiable for me. But then I remember, that I have an old 6.0 Mac version of Photoshop, and I can use that to do a one time cross platform upgrade for $169. Sold! I *can* justify it for $169. Of course, one upon a time I had to purchase this full version and that surely cost at least $500.

So what’s my point? Software can be expensive. If you are a geek and need lots of software to do various things, and there isn’t a good free alternative, and you don’t know anyone that works at X company that can get you the employee price, you are left in the position of every other normal person in the world that must pay retail. I guess it comes down to the value that is placed on software. And for something that’s completely intangible, it makes it very hard.

I know lots of people that find the price of software so far outside their ability to afford it that pirating is just acceptable. The mentality stems from the fact that because software is intangible, it’s possible to “borrow” it or whatever. People have no problem with the notion that hardware costs $$ and there is no way around that. However, much like the brain is able to think of $19.95 not being $20.00, we also think of the hardware purchase as the end of the money trail. But with things like PhotoShop, Microsoft Office and so on you can easily double (some day triple) the amount of money required to use your hardware for productivity and image editing. That’s obviously not something that the brain automatically factors in when going to get that computer.

Posted Wednesday, February 18, 2004    Permalink    Comments [6]  View blog reactions

 

Excerpts from a Dog/Cat diary

I’ve owned both, a Dog and now a Cat. I found this pretty darn funny. Our pet sitter, Layne (if you need a pet sitter in San Francisco, she is excellent) forwarded this to me a while back.

EXCERPTS FROM A DOG'S DAILY DIARY

8:00 am - Oh Boy! Dog food! My favorite!

9:30 am - Oh Boy! A car ride! My favorite!

9:40 am - Oh Boy! A walk! My favorite!

10:30 am - Oh Boy! A car ride! My favorite!

11:30 am - Oh Boy! Dog food! My favorite!

12:00 noon - Oh Boy! The kids! My favorite!

1:00 pm - Oh Boy! The garden! My favorite!

4:00 pm - Oh Boy! The kids! My favorite!

5:00 pm - Oh Boy! Dog food! My favorite!

5:30 pm - Oh Boy! Mom! My favorite!

6:00 pm - Oh Boy! Playing ball! My favorite!

6:30 pm - Oh Boy! Sleeping in master's bed! My favorite!

EXCERPTS FROM A CAT'S DAILY DIARY

Day 183 of My Captivity...My captors continue to taunt me with bizarre little dangling objects. They dine lavishly on fresh meat, while I am forced to eat dry cereal. The only thing that keeps me going is the hope of escape, and the mild satisfaction I get from ruining the occasional piece of furniture. Tomorrow I may eat another houseplant. Today my attempt to kill my captors by weaving around their feet while they were walking almost succeeded, must try this at the top of the stairs. In an attempt to disgust and repulse these vile oppressors, I once again induced myself to vomit on their favorite chair, must try this on their bed. Decapitated a mouse and brought them the headless body, in attempt to make them aware of what I am capable of, and to try to strike fear into their hearts. They only cooed and condescended about what a good little cat I was. Hmmm, not working according to plan. There was some sort of gathering of their accomplices. I was placed in solitary throughout the event. However, I could hear the noise and smell the food. More importantly I overheard that my confinement was due to MY power of "allergies." Must learn what this is and how to use it to my advantage. I am convinced the other captives are flunkies and maybe snitches. The dog is routinely released and seems more than happy to return. He is obviously a half-wit. The bird on the other hand has got to be an informant, and speaks with them regularly. I am certain he reports my every move. Due to his current placement in the metal room, his safety is assured. But I can wait, it is only a matter of time.........

Posted Wednesday, February 18, 2004    Permalink    Comments [1]  View blog reactions

 

# Monday, February 16, 2004

Tablet PC + Office Internet Fax Service = Cool

In my effort to replace analogue systems in my life with digital ones, my Tablet PC has allowed me to completely replace the need to ever use a fax machine. I can send and receive faxes anywhere that I can get an Internet Connection. I can also annotate virtually any document and send via Fax. Here's how.

Office 2003 has a new feature called the Internet Fax Service. This allows you to send a fax of any Office document via the Internet. Here at Microsoft we have an internal Fax Service (not sure how that works) but you can also get service from a company like venali.

We also have an inbound fax service. Any fax sent to a Microsoft corporate fax number is digitally delivered via e-mail. This enables some cool scenarios like:

  1. Receive forms via Fax, complete on Tablet PC (sign documents etc) and send. No trip to the fax machine.
  2. Scan any document, use Microsoft Office Document Scanning (included with Office XP and 2003), edit using Microsoft Office Document Imaging, and send.

This is a huge time saver for me.

Posted Tuesday, February 17, 2004    Permalink    Comments [1]  View blog reactions

 

# Friday, February 13, 2004

bye bye Gearhost , hello EAServe (ASP.NET hosts)

Sorry to all those folks who signed up with Gearhost on my recommendation. Having been with them for 4 months now, I've come to the conclusion that they have intolerable uptime and unacceptable customer service.

My site goes down on average once a day. When it does go down I have to open a support ticket to get some one to fix it. To date I have not received a single credit for any of this down time. As I write this my server has been up for 1 hour (and earlier today it was only up for .8 hours). This means that it’s constantly going down then kick-started till it dies again.

Once they completely horked my data (server went down for about 36 hours) and I lost all my posts (I had a backup). Their Windows 2003 migration was planned for 2 weeks ago and they just didn't do it and they didn't offer any explanation as to why. I've completely come to wits end with them. They claim that this migration is going to solve all these problems, but I don’t buy it any more and it sure won’t help their lack of customer service.

Another nit of mine is that each time I’ve complained they have done nothing but Band-Aid the problem only to have the server die again. I have passively been thinking of moving to some one else, but I’ve never found a host that is as competitive with pricing and features as Gearhost. However, Jason Alexander just switched from webhost4life to EAServe so I took a look at them and they looked perfect.

So, lets compare what I have now vs. the competition.

Gearhost

EAServe

  • 250 MB webspace
  • 20 GB/Mo. Bandwidth
  • 25 Email Accounts
  • 5 Domains Supported
  • Unlimited DSN connections
  • 15 Unique FTP Accounts
  • Instant Account Activation
  • iControl site control panel
  • Support via ticket based system
  • $16.95 a month
  • 200 MB webspace
  • 5 GB/Mo. Bandwidth
  • 5 Email Accounts
  • 1 Domain Supported
  • SQL Server Database
  • Unlimited Access Databases
  • Shared Secure 128 Bit SSL
  • 2 Unique FTP Accounts
  • Instant Account Activation
  • Support via IM, phone, e-mail
  • $14.95 a month


So, I'm basically giving up 50 MB of storage and 15 GB of bandwidth. However, my site peaked at 2.2 GB of bandwidth in October and since then has been under 2 GB. So, I'm not giving anything up there. For everything else I lose a little, but I think I gain a heck of a lot more (SSL cert for free, SQL database). Setup is free, so I created an account today after having all my pre-sales questions answered via e-mail. I had a million questions and Eric Pratt answered 6 or so of my e-mails with less than 30 min turnarounds (some times in under 5 minutes).

So I proceeded to test out hosting dasBlog over there. I copied the bits over and ran into a problem. None of the log files were getting written to the logs folder. I tried in vein to debug this myself but failed. I decided to IM them via MSN Messenger. Eric, who I ended up chatting with, dove right in and started to trouble shoot. He went so far as to ask me for the dasBlog source code so that he could reproduce the problem. I had to run out the door for an errand and when I returned the problem was fixed. When I asked him how he fixed it he told me that he was able to audit the server logs and determine that NETWORK SERVICE was attempting to write the log files while the IIS user account was writing all the other files (posts, comments etc). I’ll have to ask around to find out why there is a discrepancy here (Eric says that ASP.NET apps should always use the IIS User account to write files to disk).

Anyway, EAServe uses impersonation to give the machine the ability to write files rather than having to give ASPNET worker process explicit write permissions to dasBlog. This works fine, as I mentioned, except for the logs problem.

Anyway, as I told Eric, my experience getting up and running with EAServe couldn’t have been better. They really blow Gearhost out of the water when it comes to customer satisfaction. Eric has really gone out of his way to make my transition as trouble free as possible. Truly excellent customer service!!!

So, if you need an ASP.NET host, EAServe is your company. For $14.95 a month it’s a deal (currently no setup fees either). I’ll be migrating my web content over there in the next couple of days.

Posted Saturday, February 14, 2004    Permalink    Comments [4]  View blog reactions

 

WMA, AAC, MP3 and ripping audio

Jeff Key recently posted on WMA/AAC/iTunes etc etc. I personally don't care about any of this and here is why:

  1. I have an iPod
  2. I have a Windows Media Center PC
  3. I have a few Windows XP machines
  4. I have a few Macs

I want to be able to listen to my music everywhere. I also want to rip my music ONCE in my life (unless massive hard drive failure occurs in which case I have to do this all again). I don't buy DRM'ed music because I cannot purchase WMA and listen to it on my iPod and I can't buy iTunes music and listen to it on my Media Center PC (which is the hub of my living room and bedroom entertainment centers).

So, here is how you get the best of everything:

  1. Get a big hard drive. I have two 200 GB drives in a RAID mirror for redundancy. I have a third 200 GB drive that acts as a backup to the RAID.
    1. The reason I do this is that I've lost my entire music collection once due to hard drive failure.
  2. Using a PC, rip all your audio using WMA Lossless. This results in about a 50% lossless compression. So each CD takes up on average 250 - 300 MB of data. Lossless compression ensures that your audio is encoded digitally bit for bit.
  3. Transcode all the audio to MP3 using the Windows Media Plus Pack Audio Converter for $19.95 and an MP3 encoder (you need an MP3 encoder to convert from WMA to MP3). It took my PC 2 days to convert about 150 CDs to MP3 (running 24/7) w/o any user intervention.
  4. Use Napster 2.0 to stream/download any music I want and listen to on any PC device (Macs not included). Anything I like I and want to listen to on my iPod I purchase the CD of using Amazon.com One Click. Napster holds me over till I get the real bits, and encode losslessly and then transcode so I can enjoy on my iPod.

The nice thing about encoding using lossless is that I can transcode to any audio format that has a direct show encoding plugin (hooks into Windows Media Player). This means that I'm not tied to any single audio format, so the end result is I don't care if it's MP3 or AAC or whatever lossy codec is popular.

The only downside to my system is that I cannot purchase music online and enjoy on all my digital devices. However, if I'm going to pay .99 cents for a song I sure as heck don't want lossy music. I just get the CD from Amazon and wait a few days to listen to the music on my iPod. I can live with that for now till there is a good enough WMA based device to replace my iPod (and right now there isn't a good enough device that matches or beats the iPod).

Posted Friday, February 13, 2004    Permalink    Comments [4]  View blog reactions

 

# Thursday, February 12, 2004

Highlighting .NET code from FreeTextBox

I've always wanted an easy (built into my blog editor) way to take a code snippet like this:

// Hello World
static void Main()
{
    Console.WriteLine("Hello World");
}

and make it look pretty like this:

// Hello World
static void Main()
{
    Console.WriteLine("Hello World");
}

Well, thanks to Thomas Johansen and Christian Nordbakk for writting AylarSolutions Highlight. I've gotten it working in FreeTextBox for dasBlog. It would be cool if Scott added this to .Text as well.

I basically added this to FreeTextBox  by creating a button, adding it to a toolbar, and then having that button invoke an aspx page that looks like this:

 

Makes posting code snippets easy!

Posted Friday, February 13, 2004    Permalink    Comments [5]  View blog reactions