jon torresdal

  • About
  • Contact

    Are you developing software with a keyboard or mouse?

    26. February 2008

    You might argue both, but that’s beyond the point :-) I’ve been thinking lately about how different programmers get their work done. If you look over the shoulders to 3 programmers, none of them is working the same way. The first difference I tend to notice is the use of keyboard shortcuts. Personally I’ve always been a fan of shortcuts, especially in development environments like Visual Studio, but also general shortcuts in Windows or other applications. For instance I never do File -> Open. I always use ctrl -> O and it always annoys me when a program does not support the most common shortcuts. However, I still feel I can learn and use more of them.

    We can divide developers into three groups related to the above:

    1. Love the mouse and rarely use shortcuts
    2. Use mouse often, but use shortcuts for the most common actions
    3. Use the mouse only when there’s no shortcut for the action.

    I think I can put myself in category 2 and I’m not sure if I want to or are able to be in category 3. One important aspect to consider before I dig myself to deep into this, is that you don’t necessarily produce better software by using a lots of shortcuts (obviously). However I’m quite sure that a developer in group 3 produce code faster than a group 1 developer. But one can argue (if you’re a bit extreme) that the quality of the code produced by group 1 is better, because they get more time to think :-) But seriously you can’t use this type of groupings for defining developers, but in general I think many developers could benefit from using more shortcuts.

    Here are the most common shortcuts in Visual Studio 2005 as I see it:


    Builds    
    Ctrl+B, Ctrl+S Build BuildSelection
    Ctrl+Shift+B Build BuildSolution
    Ctrl+Break Build Cancel
         
    Debugging    
    F5 Debug Start
    Ctrl+F5 Debug StartWithoutDebugging
    Shift+F5 Debug StopDebugging
    F10 Debug StepOver
    F11 Debug StepInto
    Ctrl+F10 Debug RunToCursor
    Shift+F11 Debug StepOut
    Ctrl+Shift+F10 Debug SetNextStatement
    F9 Debug ToggleBreakpoint
    Ctrl+Shift+F9 Debug DeleteAllBreakpoints
         
    Navigation    
    F12 Edit GoToDefinition
    Ctrl+F12 Edit GoToDeclaration
         
    Other    
    Shift+Alt+Enter View FullScreen
    Ctrl+Shift+F12 View NextError
    Ctrl+Alt+P Tools AttachtoProcess
    Shift+Alt+A Project AddExistingItem
    Ctrl+K, Ctrl+M Edit GenerateMethodStub

    You probably know where and how already, but if you go to Tools -> Options -> Keyboard in Visual Studio you can define your own shortcuts. This is a great feature of Visual Studio that let you create custom shortcuts for almost every action you can do with a mouse. You can either change an existing shortcut or define new ones. Here’s a screenshot of the shortcut dialog in VS:

    image

    Commands are displayed alphabetically after some type of menu structure (e.g. Edit.Copy), though there a many more commands than you can find in the menu. This list is of course populated dynamically which means you’ll find commands for 3rd party VS plugins like e.g. ReSharper. One thing to be aware of though is existing shortcuts. If you for instance want to have the shortcut Ctrl+V, Ctrl+A, you will override the Ctrl+V command for Paste, which is probably not what you want.

    Vista SP1 – Where is my contextual search?

    21. February 2008

    suits Before installing SP1 I could right click anywhere in Windows Explorer and select search to do searches in that folder. After SP1 it’s gone! Why? Blame “us” (the Europeans or actually EU). They (I say they, because Norway is not part of EU :-) ) found a “new” game to play with MS. It’s called Antitrust and it’s about Suits meeting up in in European courts to talk about software. Browsers are especially popular, but sometimes they talk about other types of software as well. The looser of the Game (usually MS) have to become agile and change their software so the Europeans can get their price. This time MS didn’t want to play, so they just gave the EU the price.

    What’s the price you might ask? A pluggable search architecture. If you are a provider of a desktop search engine, users can now set your search engine as default search in Windows. So what if I want to have the contextual search like it was? Then you can change a registry key as described here or just use Windows key + F as I do.

    Vista SP1 available – 1st unexpected behavior found

    16. February 2008

    As mentioned on the Vista blog, Microsoft changed their mind regarding the release date of Vista. The original statement was that it would not be available until mid march (though it was already in RTM). You can now find the download at MSDN Subscriber Downloads. You’ll will not find it in your normal subscriber download page, but on the front page where you have a list of Top Subscriber Downloads, like this:

    VistaSP1OnMSDN 
    I installed SP1 Friday night and it took it’s time, but there were no problems. My first concern was if all my drivers would still work after installation, or if I had to reinstall some of them (as mentioned on the Vista blog). After initial boot everything was fine so no problems there.

    The next morning however I went out for 30 minutes leaving my laptop on. When I came back it had restarted. I inspected the System log only to find this:

    The previous system shutdown at 10:29:45 on 16.02.2008 was unexpected. 

    Nice! In the Security log the only trace I could find of a shutdown was this:

    Audit events have been dropped by the transport.  The real time backup file was corrupt due to improper shutdown.

    I’m quite sure that this was not related to any external event (like power failure or the like). If it was, my laptop would still be turned off when I came back. I really hope this was a one time incident and that I don’t have to worry about this in the future.

    Norwegian Developers Conference’s official web site

    12. February 2008

    ndc2008Logo If you want to attend the first ever Norwegian Developers Conference you should keep an eye on this site: http://www.ndc2008.no/ They will start to sell conference passes from 1st of March and I will definitely be in the virtual cue. Unofficial rumors say that a two day conference pass will cost around 3000 Norwegian kroner (about $500 or €380). B.t.w. I wonder what the url will be next year? ;) Hopefully they’ll get the www.ndc.no domain by then. Looks like it’s not used for anything else than sponsored links (that’s why I’m not linking). Someone probably whispered that MS is involved in the conference and their dreaming of an insane price for the domain, which their probably going to get… yea right!

    Norwegian .Net User Group in Bergen and JavaBin Bergen join forces

    12. February 2008

    NNUG_JavaBin The 27th of February Anders Norås will come and have two presentations on Domain Specific Languages (DSL). First we only planned one, but when I asked Anders if the presentation would be strictly .Net he suggested having two presentations, one on .Net and one on Java :) I thought this was a great opportunity to get the two local communities in Bergen together under the same roof. Sometimes there is sessions that is not directly connected to a technology platform and these types of presentations are great for joining forces and share experiences. Hopefully NNUG will visit JavaBin next time something like this comes around.

    I will post more info about the sessions later and if you’re a member of NNUG you will get the meeting invitation shortly. The same goes for JavaBin members.

    Really looking forward to this and I hope to see you there.

  • Next Page
  • Page 1 of 2
  • Recent Posts

    • How ConDep came to life
    • Introducing ConDep
    • Lightning Talk: Why you shouldn’t track bugs
    • How Do We Track Bugs? Check In a Failing Test!
    • Stepping Down from NNUG Bergen, Still Chairman of NNUG National
  • Archives

    • March 2013
    • February 2013
    • November 2012
    • January 2012
    • June 2011
    • May 2011
    • September 2010
    • August 2010
    • June 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
    • September 2007
    • August 2007
    • July 2007
    • June 2007
    • May 2007
    • April 2007
    • March 2007
    • February 2007
    • January 2007
    • December 2006
    • November 2006
    • October 2006
    • September 2006
  • Categories

    • .Net
    • ADFS
    • Agile
    • Ajax
    • Architecture
    • Articles
    • ASP.NET
    • ASP.NET-MVC
    • Blogging
    • Books
    • BPEL
    • CleanCode
    • CloudComputing
    • Community
    • ContinuousDelivery
    • ContinuousDeployment
    • CSharp
    • DasBlog
    • Database
    • DDD
    • Deployment
    • DevOps
    • DSL
    • Events
    • ExtremeProgramming
    • Fun
    • Gadgets
    • IIS
    • InfoQ
    • Java
    • Kanban
    • Lean
    • Linq
    • MemoryLeaks
    • Microsoft
    • MVC
    • NDC
    • NNUG
    • Other
    • Patterns
    • Performance
    • Scrum
    • Security
    • Silverlight
    • Software
    • TeamManagement
    • TechEd
    • Testing
    • Tools
    • TvGuide
    • Uncategorized
    • Vista
    • VisualStudio
    • WCF
    • Web
    • WebDeploy
    • WIF
    • Windows
    • WiX
    • Work
    • Workflow
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org

Tumblog WordPress Themes by Theme created by Obox