Friday, 27 September 2013

Toshiba Equium A110-233: keyboard malfunction

The H key stopped working on a Toshiba Equium A110-233 - an obsolete but until now reliable laptop. This was a problem as H was in the power-on password. Notes on the Equium:

  • It uses a Fn key to emulate a numeric keypad but it won't emit Alt code based characters.
  • It recognises USB keyboards at boot time/in the BIOS.
    • The Advent K112 wired USB keyboard was the cheapest I could find at short notice
    • .

Sunday, 15 September 2013

Java: "Did you mean 'stream'?" (Java 8 pre-release)

This post re-implements the "did you mean..?" spell checker from an earlier post using the new Stream type in Java 8.

Saturday, 14 September 2013

Java: lambdas, streams and functions (Java 8 pre-release)

The JDK 8 Developer Preview came out recently so I thought I would take a look at the API enhancements. This post demonstrates how refactoring to utilize the new types can change code.

This post refers to JDK build 1.8.0-ea-b106. IntelliJ IDEA has good Java 8 syntax support.