I like the RegEx approach since it's only one line of code:
Some of the tools in the Firefox Web Developer Toolbar extension require that you install Firefox with the Developer's Tools option. If the "View Style Information" menu option is disabled this means the Dom Inspector is not installed.
1. Uninstall Firefox. Your user settings should be maintained - mine were.
2. Download Firefox
3. Do a Custom Install
4. Check the "Developer's Tools" checkbox
I'd been wondering about the FROM/WHERE/SELECT syntax in DLINQ. I'm used to the SQL SELECT/FROM/WHERE approach. Turns out that I'm late to this party - this was (of course) discussed at the PDC, and has been under some discussion since then.
TransferBigFiles.com makes it easy to send files that are way to big for e-mail - up to 1GB. You upload the file(s) via their website and enter the recipient's e-mail (and some optional things, like a password). The recipient gets an e-mail with a download link and has five days to pick it up. It's a free service from the good folks at Axosoft.
Here's their post about how they put it together in 20 hours:
Just a Weekend Project! The Implementation of TransferBigFiles.com
They used Mediachase FileUploader.NET to handle the actual uploads. Looks like a good product to remember.
MS KB article 816944 has more info.
A likely suspect is Skype, since it will use port 80 if it's free. This is a tricky one, since IIS might work fine most of the time since it starts up before Skype, but if you stop and restart IIS Skype sees port 80 is free and snakes it. 08ffe2740 for you!
IIS-Resources has the answer but not enough Google Juice. Here's the fix:
Skype File-> Options -> Connection
Uncheck Use Port 80 as an alternative for incoming connections.
Restart default website.
DPack's "Surround With" feature is great, but the "property" function just writes out a template. Since VS2005 will include this feature, it probably won't make it into DPack (http://www.usysware.com/forums/viewtopic.php?t=36).
But I have variables that need to be upgraded to properties NOW!!! What to do?
Stephan Meyn's Refactoring Plug-in does the trick. It's got an interesting extensibility model, but I think most people would probably work with the DXCore system that powers CodeRush instead. I don't have time to think about that, though - too busy refactoring!
 What is thiss? I'm sure not gonna click on that. You tell me what it does.
 Yes, the screenshot doesn't show "Make Property because it's not applicable for the selected text. Trust me on this one.
 No, I've never heard of CodeRush.
 No, I had no idea that VS.NET 2005 will support Refactoring without plugins.
Cropper is one of the my most used utilities. It's a lightweight screenshot application that's easy to use, unobtrusive, and free. It's never supported GIF output, though. I actually hacked together a working but ugly GIF output option about a year ago, but it never made the official release.
The 1.6 release has great plugin support, and E. W. Bachtal finally wrote that missing GIF Plugin . Now my battleship is fully operational!
Here's what Cropper looks like, if you haven't seen it:
One of Microsoft's announcements at the PDC this week has been LINQ (Language INtegrated Query). Here's the elevator speech version: "LINQ enables developers to query objects, databases and XML using a unified programming model because LINQ makes data transforms and queries first class NET citizens."
Currying is the use of virtual functions which fix an function argument to a value and remove the argument:In computer science, currying is the technique of transforming a function taking multiple arguments into a function that takes a single argument (the first of the arguments to the original function) and returns a new function that takes the remainder of the arguments and returns the result. The technique was named by Christopher Strachey after logician Haskell Curry, though it was invented by Moses Schönfinkel and Gottlob Frege.
Intuitively, currying says "if you fix some arguments, you get a function of the remaining arguments". So if you take the function in two variables yx, and fix y = 2, then you get the function in one variable 2x.[Wikipedia]
It seems a lot more academic than practical to me, but it's interesting to see what the kind of thing that C# Generics will enable.
Tomorrow's my last day in a big corporate IT shop. I'm going independent to join forces with Phil Haack (Haacked) and Micah Dylan of Veloc-IT.
Not going to PDC, but San Diego is close enough that I can drive up for some evening events once or twice. I'm planning to go to two events Tuesday (9/13) - a secret "underground" event and the Mono meeting.
Any other recommendations? Blogger meetups?
A cool solution to a common web design problem - how to make an web images print well.
A List Apart - High-Resolution Image Printing
Bill Pierce created an ASP.NET Server Control wrapper for the Google Maps API. He's posted the first of three articles on Code Project: Lat Lays Flat - Part 1 : A Google Maps .Net Control
A recent post about Microsoft Scalable Fabric prompted me to browse through the MS Research Download page, where I ran across GroupBar [download]:
"GroupBar is a prototype for demonstrating the use of window-grouping features in an XP TaskBar-like interface. The window tiles in the GroupBar can be rearranged in any order or dragged and dropped into lightweight "groups" that allow one-click task-switching and convenient group operations."
It's been available as a Microsoft internal download for a while, but was just released for public download earlier this month.
More info about it here:
I've used it a bit and really like the idea. One problem I've encountered is that it duplicates a lot of the functionality in the standard taskbar, but doesn't include the Taskbar Notification Area (do not call it the systray!), Quick Launch, etc. You can set your TaskBar to AutoHide, but clicking the GroupBar Start button causes it to pop up.
The GroupBar page has this tip, which helps a bit but is still kind of kludgy:
Handy usage tip: Resize (by unlocking and dragging the edge) the "real" TaskBar to be as small as possible while still visible (about 35 pixels wide). This allows you access to the systray and and any of your existing TaskBar deskbands (e.g. QuickLaunch). You can place GroupBar along the same edge as the existing TaskBar if you want.
It's way above the quality I'd expect in a prototype, but it's not at the integration level you'd expect for a full Windows feature. I've been playing with it off and on since it was released. It seems like it would be great on a big screen or dual monitor setup, but I'm not completely sold on the idea of running it along with the existing Taskbar.
I'd love to see this kind of grouping in tabbed browsers, by the way. That includes IE7. I use the Firefox SessionSaver extension to save tab groups, but it would be nice to have this a little more integrated with the browsing experience. Maybe if I used the GroupBar more, I wouldn't care so much about tabbed browsing, though.