• Category Archives Technology
  • svn+ssh on the Windows command-line

    To use svn+ssh:// style svn URLs on the Windows command-line, ensure the %SVN_SSH% environment variable is properly set:

    • It must contain the fully-qualified path to the SSH client (typically plink.exe from the PuTTY suite)
    • The path must be written using forward-slashes instead of the Windows-standard backslash.

    setx SVN_SSH "C:/Program Files (x86)/PuTTY/plink.exe"

    Source: http://stackoverflow.com/questions/10598069/svnssh-and-sourceforge


  • Windows – UK International Keyboard

    Windows has an officially supported international keyboard layout for the US with AltGr-initiated dead keys for composing characters. Unfortunately there is no equivalent for the UK; the UK international keyboard layout is completely unusable for programmers as it turns a lot of commonly-used keys into dead keys.

    But there is a decent international layout for the UK available from here:
    http://www.chiark.greenend.org.uk/~johns/kbukint.html


  • Offline Travel Apps?!?

    Ok, time for another rant.

    On the plane over I wanted to set up our itinerary on my phone.

    On my PalmPilot I used an application called WorldMate. Awesome little thing. Had a small database of the most common airports and whatnot included as well as a few useful utilities and pieces of info such as clothes-size conversions etc.  Absolutely brilliant.

    So before I left I installed that on my Android phone, as well as TripCase which seemed to be similar.

    Well guess what. Both of these apps require internet access for just about everything. Most importantly, to create and edit a trip.  What bollocks – just when you are least likely to have internet access (ie, while travelling abroad), apps which manage your trip require it.

    While it is very nice to have these apps pre-populate input fields using online data, this  should always be optional and the user should always be able to edit things offline.

    So a huge thumbs-down from me for both WorldMate and TripCase on Android.


  • luksClose fails, device busy

    Ok, so I recently put my backup system back into my server only to find an issue with my mount/unmount scripts.

    Namely: on unmount, luksClose fails with the device showing as busy. Which is funny because nothing should have been accessing it.

    There’s plenty of posts/bugs/etc online of people having the same issue, but either no solutions are posted, or the solutions didn’t apply in my case.  Well, I finally tracked it down: noflushd.

    noflushd is a daemon which spins down idle disks.  It probably wasn’t running on my old server which is why I didn’t have any problems before.

    Long story short, shutting down noflushd finally let me close my encrypted backup disk and shut it down. Yayy.


  • EyeToy camera (for PS2) under Windows 7

    Somehow I ended up with several EyeToy cameras for the PS2, one of which I use for my Desktop PC as a webcam. Works a treat under Linux, so I decided to try and get it working under Windows 7 64-bit as well.

    There’s an archive containing drivers and a small test program here.  The driver has to be installed manually using the Device Manager (it’s not signed), but seems to work. YMMV.


  • Saitek X45 Flightstick

    Years and years ago I bought a Saitek X45 Flightstick, primarily for playing “X – Beyond the Frontier”. This was all good and fine under Windows 98. Didn’t work properly under Windows XP – the throttle never worked in the game.

    Anyway, the time has come for me to setup a Windows gaming PC again, and I pulled out the joystick and dusted it off. Plugged it in and wonder of wonders, after installed “jstest-gtk” it just worked. No setup, no configuration, no calibration. Mind, this is under Linux Mint 14….

    So reboot into my brand spanking new Windows 7 install, and while the Device Manager detects it, Windows itself doesn’t. So, head over to the Saitek site and download the relevant drivers (link).  Now I don’t know who’s to blame (Windows or Saitek), but basically the driver installer just sits there on a blank page waiting for the joystick to be plugged in (even though it is). Replugging doesn’t help either.

    Finally I manually extract the files (yes, 7zip can extract files from (most) EXE archives) and use the Device Manager to manually install the driver. This works, and Windows sees the joystick.

    Even the Mad Catz (Saitek) Profile Editor now sees the joystick and all appears to be well in the world..

    Unfortunately the latest version of X-BtF (2.2) still doesn’t fix the throttle control 🙁


  • Installing Windows 7

    So the time has come for a re-install of Windows 7.

    Base install took over an hour on reasonable hardware (X2 240, 4GB).  I fail to understand why.  Then there were the 101 updates plus 49 optional updates.  Time for SP2? I think so..

    20140119_WindowsUpdateUPDATE:  So it took nearly 5 hours to install all the updates.  After the obligatory 3 or 4 reboots, there were another 8 or so updates (and 2 reboots) before Windows was finally up-to-date.

    Apart from normal configuration, the following are the software packages which I consider to be essential to make Windows 7 usable and safe:

    Safety:

    • Antivirus Software. The 2013 winner was Avast Antivirus, and one I’ve used a lot in the past. As a bonus Avast now includes Anti-spyware protection.
    • Firewall.  Windows Firewall is ok for incoming threats, but for preventing outgoing connections you need a third-party firewall.  Comodo is good.

    Usability:

    • X-Mouse.  There’s registry tweaks or this simple program.
    • Alt-Drag to drag and resize windows.
    • Multiple Desktops.  Dexpot is the best I’ve found recently.
    • Console Replacement. ConEmu is quite good.
    • Notepad Replacement. I like Notepad++.

    Essential Software:

    • Archive Manager.  7zip is my choice.
    • SSH Client.  PuTTY is really the only option. A 64-bit version is here.
    • CCleaner is a quicker uninstaller and easily manages autostartup programs as well as various other system utilities.
    • PDF Reader.  I like Foxit as a lightweight alternative to Adobe Reader, although Nitro is quite good too.
    • I like to run the following Gadgets to keep an eye on system performance:

    Applications: