Tuesday, October 20, 2009

Holy crapola

My team has a European counterpart.  One of the guys from that European team just stopped by to introduce himself.  Turns out he’s Scottish. 

He wanted to say hi, because he fully expects to accidentally send me something personal at some point in the future.  Why?  Oh, that’s because his email address is taken from the name of a soup (apparently he really likes it).  The name of the soup?  Cullen Skink.  No lie.

And he told me about the town of Cullen, in Moray, Scotland.  Check out the picture at the bottom.  My town totally rocks!  I really want to go, after seeing that picture.

Tuesday, July 28, 2009

An interesting alternative medicine site

I’m not really into the whole alternative medicine thing, though I know a bunch of people who are.  It seems to me that most of them are folks who are desperate for any hope, because traditional medicine has failed to help them.

I stumbled upon a link to an alternative medicine blog, and read a few of the posts.  They seem pretty interesting, if for no other reason than to see the thought processes behind this type of medicine.

This site interests me primarily because I can’t see anything that’s trying to sell me something, other than Google AdWords (which I primarily blank out anyway).  Hopefully this means the blog author is actually trying to share his/her point of view, rather than just trying to make a quick buck by preying on people’s fears.

Regardless, it’s worth a read, especially if you’re a hippie (hi mom!).  Check out the health blog.

Wednesday, June 10, 2009

Deploying ASP.Net MVC apps to IIS 6

I had to do this today, and found two blog entries that made it really easy.  I figure I’ll have to do this again at some point, so I’m putting them here for easy reference, and to give this guy another link, which he deserves.

http://blog.codeville.net/2008/07/04/options-for-deploying-aspnet-mvc-to-iis-6/

http://blog.codeville.net/2008/07/07/overriding-iis6-wildcard-maps-on-individual-directories/

Wednesday, June 03, 2009

Woot! Release date inc!

Win7 has a release date: October 22!  You definitely want to get your hands on Win7, it’s way better than XP, and a definite improvement over Vista.

More details here: http://tinyurl.com/pbw3v6

Saturday, May 23, 2009

WoW on Vista and Win7

I’ve been using Win7 and Vista to play wow for a couple of years now.  Along the way, I’ve learned a few tricks that may help other folks out.  For those that have been following my blog a while, or who were pointed here by a friend that plays WoW, you will probably know about my previous entry on this subject, http://cullenwaters.blogspot.com/2007/04/disable-aero-for-better-game-perf-in.html.  It’s time for an update, and some additions.

So, here are the steps I take to get the most out of WoW on Vista and Win7, while running in windowed mode.

  1. Update all your drivers, using the latest Vista drivers.  We particularly care about sound, video, and network drivers here.  If you are running Win7, avoid the beta network drivers.  I’m using the beta NVidia drivers for Win7, and those are pretty good. 
  2. Disable Aero while WoW is running.  Right click on wow.exe, select properties, and click on Compatibility.  On that tab, check the box that says ‘Disable Desktop Composition’.  This will cause windows to disable Aero while you have WoW running, which should result in less contention for your video card’s resources, and therefore higher framerates.
  3. The next time you run wow, be ready for a ‘toast’ message in the bottom right of the screen.  Click that message!  Once you click the message, you’ll be able to tell windows to stop alerting you that it has disabled Aero (after all, you just told it to do so).
  4. There’s a little known setting that can, generally, cut your latency in half.  WoW makes heavy use of TCP traffic (which is rare among games, most use UDP).  Windows, by default, sends an acknowledgement (ACK) every 2nd TCP packet.  We are going to modify the registry so that windows sends the ACK every packet, instead.  I’ve seen this, almost without exception, cut everyone’s latency literally in half (mine went from ~120ms to ~60ms).  There’s a catch to this tip, though.  You have to be running XP SP3, Vista SP1 or Win7 for it to work.  There was a hotfix because Vista was ignoring the setting.  Anyway, here’s an article about how to change the setting: http://support.microsoft.com/kb/328890/.  As with all registry changes, you should backup your registry before you do this.

Of course, all this stuff is provided with no warranty, don’t complain if your computer blows up, etc.  This has worked well for me so far, but I make no guarantee that these steps will help you.

Wednesday, March 25, 2009

I was reminded today

of the funniest story that has ever been told.

http://cullenwaters.blogspot.com/2005/11/you-wont-believe-this-story.html

Please, go read this old post, and have a laugh yourselves.

Friday, March 20, 2009

Testing

This is a test post sent via email

Sent from my iPhone

Wednesday, March 18, 2009

Syncing your RSS feeds across multiple computers

As many of you know, I use several PCs regularly.  There’s the work PC, my personal PC, and a laptop that I use.  The work and personal PC are both at my desk, just on opposite sides.  I switch back and forth using a super cool KVM switch that supports dual monitors (anyone know of a KVM for triple monitors?).

As such, it is pretty frustrating for me to have data on one machine and not the other; I use the same keyboard, mouse, and monitors to interact with each PC, so it always feels like I am using the same PC.

I found Live Mesh, and I freaking love it.  I have all my docs synced, as well as my favorites folder, and some other random folders.  I’ve used up about half of my online storage space :).

So, I’ve got most of my stuff synced between these three machines, but my RSS feeds were a sticking point.  Previously I’d used outlook to synchronize between the two primary PCs.  This requires having outlook set up to connect to my MS account from my home machine, though, and I’ve not had a need for it yet.  I wanted another solution, and figured Mesh was a good place to start.

I found a blog posting that pointed me right where I needed to be: http://www.windowsobserver.com/tag/common-feed-list/.  The key part of this article is the location of the feeds files: c:\users\<user name>\AppData\Local\Microsoft\Feeds.  So I added the Feeds folder to my Mesh, and voila, I have sync’ed feeds!

The dryer’s not broken, honey

Courtney: Is our dryer broken?

Cullen: I’m not sure, is it?  What’s wrong?

Courtney: It won’t start.

Cullen: <looks in the laundry room>. The light’s on, it’s got power.  Was the door closed all the way?

Courtney: <blushing, closes the dryer door>.  Dryer works!

Tuesday, March 17, 2009

Friday, March 06, 2009

Duplicity in Advertising?

I just installed Java on my home PC.  Amazing how often I forget to do that, until I need to run a java app.  For reference, it’s been weeks since I went to win7 at home, and I just, today, needed java installed.

Anyway, the java installer tries to install the MSN toolbar also.  Big win for MSN, bundling the toolbar with java, rather than having google’s toolbar bundled.  I bet that bundle results in tons more installations (and more ad revenue, I bet).

Right after the option to install the MSN toolbar is an ad for openoffice, which is a direct competitor (though with very minor market share) to MS Office.

I wonder if the guys that built that installer felt dirty while they did it?  I would have, selling ad space on page1 to MS, and ad space on page2 to a competitor, and having to code each explicitly, rather than it being a byproduct of some advertising mashup or whatever.

What do you think?  Semi dirty?  Or just fine, as a business practice?

Wednesday, February 18, 2009

The windows7 release will so be better than vista’s

I’ve installed win7 on all my boxes now (well, except my home server box).  And I’ve finally made the move entirely to 64bit. 

Aside – I read an email that explained some ways in which having a 64 bit OS installed would increase your computer’s perf (assuming you have recent, x64 hardware, like a core2duo or later chip).  I don’t know if the difference is really noticeable, but I certainly haven’t noticed any problems, and I get access to more memory now (32 bit can only address 4 GB of ram, of which 1 GB is used by the platform, and 64 bit can address like a bajillion GB)

Anyway, I installed win7 on my home machine yesterday (the super cool one with badass graphics, etc).  Intel has already shipped two windows 7 drivers.  There was one available via windows update yesterday around 4 PM, and then a new version was released via windows update last night.

Part of the reason, at least in my opinion, that the Vista launch kinda sucked was driver availability.  Vista changed the driver landscape dramatically, moving a bunch of drivers from kernel mode (really low level, OS stuff) to user mode (application level stuff).  This was painful for device driver writers, because they had to re-write all their drivers, and had to learn how to be performant in user code (they had been in kernel mode since like win95 or so, I think, maybe earlier).  This is why XP drivers were generally faster than vista drivers when vista shipped; those drivers were like version 80+, while the vista drivers were version 1, exclusively.

In addition to changing the driver landscape, Microsoft failed in that we announced vista ship dates several times which we didn’t make.  Similar to the boy who cried wolf, when we finally did ship, we caught our hardware partners by surprise; they had grown accustomed to ignoring our ship date announcements.  This was obvious even within Microsoft.  Visual Studio (VS), one of our flagship products, wasn’t Vista compatible at ship time.  Then VS shipped SP1, and they still weren’t vista compatible.  They had to ship a QFE/windows update (called vsvista) to enable vista compatibility. This took several months after vista shipped. 

Win7 is not changing the driver landscape so dramatically.  Vista drivers continue to work with win7.  So, all your existing software and hardware should work just fine on win7 (all mine does, without exception).  The upgrade path from vista->win7 should be easy, which should drive acceptance of the product sooner, and should result in win7 having a much better image than vista does/did.

I’m really excited for win7 to ship!

Tuesday, February 03, 2009

Warning to the family

In case it wasn’t clear, all of the posts I’m going to write about Gobi are going to be very technical in nature.  Hopefully you all didn’t get super excited about seeing a new blog post, just to have your excitement destroyed by learning it was all geek-speak.

Win7 first impressions

I love Win7.  I can’t wait to get it installed on all my PCs.  I am now exclusively on win7 for work, and will be moving my home pc to win7 soonish.

I really like the new taskbar, which removes the difference between a shortcut and an open window.  I have an outlook shortcut on the taskbar, but when I run outlook, the icon for the window is in the same place.

I still don’t love IE8, though I am getting used to it.  It seems like this version of IE8 auto-detects when it needs to run in compat mode, and does a pretty good job of that.  The colors in the tab group coloring are a bit too colorful for me, I wish they were more muted or more like pastels, but that’s ok.  Hopefully they are customizable, and I just haven’t found out how yet.

The window preview thing takes some getting used to.  If you mouse over an icon in the taskbar that has more than one window associated (like multiple IE windows/tabs), you can see a thumbnail from each window/tab.   Then, if you hover over that thumbnail, you see the full-sized version.  Intuitively, if you then click somewhere, you would retain that full sized version you ‘selected’ by hovering.  In reality, however, the version you hovered over goes away, and you end up back on the window you started on.  In order to select that hovered window, you have to click on it.  It’s hard to get used to, I’m still hoping I’ll get there.

Overall, a big thumbs-up for win7, though.  Drivers for vista have all worked just fine on win7, at least for all of my devices on two pcs.

I know some of this stuff is hard to visualize without pictures, but I’m lazy and haven’t figured out how to take screenshots of the preview thumbnail things.  If you want to try it out, the win7 beta is publicly available, and you are welcome to come by the house and I’ll show it to you (requires that you know where I live already, though :) ).

Announcing Gobi

I’m going to be starting on a new application very soon.  It’s designed for/targeted at professional window tinters.  The goal is to make it easier for those folks to figure out how much window tint they will need in order to complete a given residential or commercial job.

Since I’m going to be learning some new things, I thought I’d take the opportunity to share my process for building this app.  This will be my first commercial, only for-sale application, and I’m pretty excited about it.

A good friend of mine is a professional tinter, and he mentioned that it was hard to get these estimates done, since there’s a fair bit of calculation involved in minimizing the number of rolls of tint you have to order.  Tint rolls are sold by different companies, with different properties, and in different widths.  One of the tint manufacturers produces a piece of software to help with this process, but the software only supports their brand of tint (duh, right?).

Since I’m a software dev and not a tint manufacturer, my plan is to support products from multiple manufacturers.

The basic design of the app will be a desktop application which does the calculation and layout.  I will provide a cutlist diagram, so the tinter can easily see which windows’ tint should be cut from each roll, and how to optimally lay those cuts out, to maximize tint usage and minimize the material needed.

The software will save these quotes/proposals locally, and let you come back to edit/revisit them later.  This will help tinters to create an estimate for a customer, then edit that estimate if the customer wants to make changes.  A new cutlist will be generated every time the size and/or number of windows in the job gets changed. 

The application will also have a webservice that i can contact in order to receive updates to the tint products database.  This way, I can easily keep all the copies up to date as I add support for more manufacturers and tint products.  The database will be stored locally as an XML dataset, since I expect it to be pretty small.  If the DB size grows larger than I expect it to, I’ll move to using SQL Express (or perhaps the embedded sql solution).  I’d prefer to avoid that, so I can avoid having that dependency in my code.  The less people have to download to get up and running, the better.

The UI will be done using WPF.  I’ve not done any WPF coding before, so this is a good chance for me to learn what’s up with WPF, and use it in a real application.  Turns out that working at MS, on a software service, tends to keep you behind on new desktop UI technologies.  I need to get caught back up on the cutting edge, so this project will help me do that.

I picked Gobi as a codename because thinking of window tint always makes me think of heat, and Sahara is pretty well taken by the movie :).