shahine.com/omar/

homepage | Send mail to the author(s) contact

yet another Microsoft blogger

# 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