Did you know that 7-Zip can open and extract ISO archives? I had to install OneNote today from the MSDN ISO and I didn’t have an virtual drive/ISO mounting tool installed on my work PC. So I tried to open the ISO in 7-Zip and it opened it just fine. All I then had to do was to extract the files to a temp folder and did the install from there.
In my opinion, the top three hardware items that help maximize programmer productivity are sufficient RAM, multiple monitors, and a fast multi-core CPU. For RAM, try to have at least 2GB for Visual Studio development, especially if you have additional applications such as Resharper, a local SQL Server instance, IIS, etc. Remember that on Windows XP or Vista 32-bit, the maximum usable RAM is limited to about 3.2 GB or so.
My current company-provided laptop, which I must perform most programming activities on, is a Core 2 Duo 2.4 Ghz. It is satisfactory for what I am doing. Given the choice however, I would go for a quad-core CPU desktop. Desktop usually has faster drives, better video cards, etc. And the additional cores allow for smooth multitasking and better performance when using virtual machines.
Plenty of RAM and multiple fast CPU cores will keep the waiting down to a minimum. Now you need to give yourself the ability to see all of those things that you have going on. Research has demonstrated that multiple monitors increase productivity. For most programmers, I would recommend two monitors. Adding that second monitor is a relatively inexpensive affair. Most laptops or desktop video cards has built-in support for a second monitor so all you have to do is getting that second LCD, which cost very little these days compared to three years ago. The third monitor and beyond is where things start to get complicated. You either have to install a second video card, or use a second PC/laptop in conjunction with a software application named MaxiVista. Unless you have spare monitors sitting around, I think the return on investment starts to diminish greatly beyond two monitors.
Another way to use that third or fourth monitor is to simply attach them to additional computers. Sure, you won’t be able to control all those monitors with the same mouse and keyboard but this setup is not without advantages:
- When the first computer is rebooting or not responding, you still have a fully functioning computer.
- The screens on the second computer are not using CPU/memory resources on the first computer.
My 5-Monitor Setup
I work from home most of the time and on my desk, there are five monitors, hooked up to three laptops. I know… it’s over the top but it’s not like I bought all of these laptops/monitors specifically for this setup. The second laptop is my personal laptop. The third one is another old personal laptop that would otherwise would be sitting around gathering dust. I might as well put them all to use. Here’s how the monitors are arranged:
The main laptop is hooked up to monitor #1, an ASUS 24″ running at 1920×1080 resolution and monitor #2, the main laptop’s built-in 15.4-inch LCD running at 1680×1050. I spend most of my time on these two monitors. The ASUS 24″ is great for programming/debugging and is where I normally park Visual Studio 2008 or Rational Software Architect. If you can get one with more vertical resolution (such as 1920×1200), that’s even better.
The extra width on the main monitor allows me to permanently open supporting panes like Solution Explorer that I otherwise would configure to “auto hide”. Note where I have my Start menu: on the right edge of the main monitor. This gives me more vertical space so I can see more code without scrolling. The additional benefits are that more opened windows can fit on the task bar, and that I don’t have to move the mouse as much to access the start menu.
The built-in laptop monitor (#2) is where I have miscellaneous supporting windows such as rolling logs, instant messaging client, email client, documents, etc.
For taking notes, I use Microsoft OneNote and since it’s not installed on my company PC, I use my own laptop for it. This laptop is monitor #3, sitting to the left of the main monitor. Monitors #4 and #5 are used once in a while to display server logs, various server telnet and remote desktop connections, and anything I don’t need to control often.
Update 2/25/2008 – Synergy
Rohan kindly pointed out to me a free keyboard/mouse sharing utility called Synergy. You should give this a try if you have multiple computers on your desk. Synergy lets you use a single keyboard/mouse to control multiple computers, running multiple operating systems. Additional features include clipboard sharing, screen saver, and single password login. The configuration is not the most intuitive but once you have everything set up correctly, it works like a charm.
I now can control all three laptops and 5 monitors with one mouse/keyboard combo! Very nice.
- Thread synchronization: Wait and Pulse demystified. By Nick Butler.
- Use a shortened GUID for file names and request strings. ShortGuid – A shorter and url friendly GUID class in C#. By Dave Transom.
- Top Ten Tips to Using XPath and XPointer. By John E. Simpson.
- Client-side caching for script methods access in ASP.NET AJAX, by Jeffrey Zhao.
- A very nice two-part introduction to jQuery, by Rick Strahl.
- A COMPARISON OF MICROSOFT’S C# PROGRAMMING LANGUAGE TO SUN MICROSYSTEMS’ JAVA PROGRAMMING LANGUAGE. By Dare Obasanjo.
- Silverlight 2 End to End Tutorial: Building a Digg Search Client, by Scott Guthrie.
- Fluid Canvas in Silverlight, by neo.
- Performance Improvement for WCF Client Proxy Creation in .NET 3.5 and Best Practices. By Wenlon Dong.
- A comprehensive guide to using MsmqIntegrationBinding with MSMQ 3.0 in WCF. By Simon Evans.
- If your WSE 3.0 Mutual Certificate Authentication web service runs very slowly, try setting establishSecurityContext to true.
- PowerShell Community Extensions has very useful cmdlets such as Get/Set-Clipboard, Write-GZip, Start-Process, Select-Xml and many others.
- John D. Cook’s PowerShell Cookbook has lots of useful PowerShell recipes.
Apps and Tools
- Microsoft Windows SteadyState (free) is great for maintaining public-access computers.
- Anatomy of a malware scam – The evil genius of XP Antivirus 2008. By Jesper M. Johansson. If you’ve had to help your relatives and friends clean up after XP Antivirus 2008/2009, read this very detailed analysis of the malware.
A while ago I had been posting my Finds of the Weeks series and this is the continuation of that. Instead of weekly though, this series will be more of a “whenever possible” kind of thing.
- Some code optimizations can actually slow down your app. Beautiful Code: False Optimizations by sernaferna.
- Quad core + 8GB RAM + Server 2008 with Hyper-V = A Great Dev Environment. By Craig Lussier.
- jqModal is a modal dialog plug-in for JQuery. Worked great for a project I was working on two months ago.
- Safari Books Online is a great online programming books service. For a monthly fee, you get to read several books using your browser. The browser interface is not great, but the price is much lower than actually buying the book.
- Randomly ordering an array is simple. That’s what I thought until I ran across Techniques for Randomly Reordering an Array (by Scott Michell).
- Eugene Osovetsky explained a few peculiarities when consuming WCF services from Visual Studio 2003: Solving the “disappearing data” issue when using Add Web Reference or Wsdl.exe with WCF services.
- If you have a DataReader and don’t intend to read all records from it, call IDbCommand.Cancel before you call IDataReader.Close so that the rest of the unread records are skipped.
- Scott Hanselman: Assembly Fiefdoms: What’s the Right Number of Assemblies/Libraries?
- VS.NET Tip of the Day: Reusing C# Source Code Across Multiple Assemblies. By ShawnVN.
- Setting the log file location at runtime with a DOM configured log4net. By Keyley on Kode.
- WCF – Recommended Settings for Tracing and Message Logging. MSDN.
- WCF – Enabling Performance Counters. By Nicholas Allen.
- One of these days I’ll get back into Windows Mobile programming. Adjust Your Ring Volume For Ambient Noise, Chris Mitchell.
- Did you know ReSharper supports wildcards in its Go To Type dialog box? Joe White’s 31 Days of ReSharper series is a must read for ReSharper fanatics like me.
- Is image processing in C++ a thing of the past? Discover Enhanced Image Manipulation with GDI+ (by Tade Oyebode).
- DataContractSerializer can be used to deserialize WCF messages.
- Unraveling the Mysteries of .NET 2.0 Configuration, by Jon Rista.
- Stefan Delmarco talked about the NEWSEQUENTIALID function in SQL Server 2005.
- Mutexes are fun: Application Locks (or Mutexes) in SQL Server 2005. Mladen Prajdic.
- Experiencing strange issues with your Windows (like dialog boxes that don’t show up)? You may be having a desktop heap issue. Try these articles:
- Windows XP flakiness – solved. By Kevin Dente.
- “Out of Memory” error message appears when you have a large number of programs running. Microsoft Support.
- If IE crashes when you try to open SharePoint documents, try this fix: regsvr32 “C:\Program Files\Microsoft Office\OFFICE11\OWSSUPP.DLL”.
Software, Tools, etc.
- If you have a Linksys WRT54* router, I highly recommend loading Tomato firmware. I have been using it for about 6 months now and it’s so much better than the built-in Linksys firmware. Tomato’s QOS works great to make sure my Vonage phone line remains usable at all times.
- Ben Pierce posted a series of very useful PowerShell command-line demos: Demo1 (Administering Windows), Demo 2 (Administering Servers in bulk), Demo 3 (How do I Know Which Class to Use), Demo 4 (Administering Hyper-V).
- World War is a very nicely done digital animation by Vincent Chai. My son can watch it for hours.
- Your browsing history can be used by any web site out there to guess your gender. Using your browser URL history to estimate gender, by Mike on Ads.
- Humans can fly (video).
- A fascinating into the human mind: The Interpreter (Has a remote Amazonian tribe upended our understanding of language?). By John Colapinto.
At home, I occasionally need to print color posters and black and white flyers. I’ve found FedEx Office Online Printing Service to be very convenient for this (if you know exactly what you want… more on that later). After you upload your file in one of the supported formats (Word, PowerPoint, Excel, RTF, Post Script, PDF, Text, JPG), select a paper size, and set print options (color/black and white, copies, collation, paper stock, etc.), the web site gives you a preview of the final print output.
For my last print job, the file I wanted to print was in CorelDRAW format, so all I had to do is go into CorelDRAW and export it to Post Script format. The final print output looked perfect to me.
There is a "minor" problem with the service however: there are no prices to be found on the site anywhere. No, the printing is not free, sorry. You do eventually see the total price when you check out. The only reason I can think of for this strange "price hiding" practice is so that people can’t easily compare online prices vs walk-in prices. They obviously have complete pricing data in the system, because the site does give you a total at checkout. This lack of up-front pricing is a major hassle, especially if you are not sure which options you want (type of paper, etc). You can’t easily/quickly compare the different printing options (and there are tons of them). Changing your order and going through the checkout process just to see the price is too cumbersome.
One has to ask, what were they thinking??? I certainly hope this is not a trend among online stores. And don’t you hate it when you google something (such as "FeDex Kinko’s prices") and the first thing you find is other people also looking for the same info and not finding any :-).
Here are some actual prices I got recently (December 2008) for my local FedEx Kinko’s (Richmond, VA):
– 8×11, B&W, 30% Recycled Paper: 10c/page.
– 8×11, B&W, Standard Laser Paper: 12c/page.
– 8×11, Color, Standard Laser Paper: 59c/page.
– 17×11, Color, Standard Paper, 1.78/page
There is a volume discount when you order more than x copies. It seems that the discount starts at 100 copies.