Archive for the 'Uncategorized' Category

ScalaMock 2.2

I’ve just released ScalaMock 2.2, with the following improvements over 2.1:

  • Add support for repeated parameters (varargs)
  • Basic parameterised class support

ScalaMock is a native Scala mocking framework which, as well as traits (interfaces) and functions, can also mock:

  • Classes
  • Singleton and companion objects (static methods)
  • Object creation (constructor invocation)
  • Polymorphic (type parameterised) methods
  • Classes with private constructors
  • Final classes and classes with final methods
  • Operators (methods with symbolic names)
  • Overloaded methods

Dropbox: What MobileMe should have been

MobileMe has always been something of a disappointment to me. It’s so close to great, and yet falls short:

  • Push e-mail to my iPhone is great, but not without spam filtering or rule support.
  • iDisk should be a great way to keep the files that I’m working on in sync between my various Macs, but it’s just too clunky.

I’m working around the first issue by switching to Gmail, but haven’t found a satisfactory solution to the second. Until now.

This morning, I discovered Dropbox. It’s extremely easy to install, works seamlessly, gives me transparent duplication between my various computers (including Windows and Linux), provides me with access to my files when I’m offline and integrates with my iPhone. It’s very rare for me to get excited about a piece of software, but I’m genuinely impressed.

Oh – one final bit of trivia. If, like me, you’ve been relying on Mongrel to deploy your Ruby on Rails applications, you might be interested to know that Zed is a member of the Dropbox team.

Blink versus The Decisive Moment

If, like me, you found Malcolm Gladwell’s Blink unsatisfying, I suggest that you take a look at The Decisive Moment by Jonah Lehrer.

Like Gladwell’s book, Lehrer gives several examples of instances where trusting our subconscious provides better results than thinking things through methodically and logically. And examples of the opposite, where our subconscious can be fooled and we need to be on our guard. So far, they have a great deal in common.

Where the books differ is that Lehrer delivers on the promise to tell you when to use one mode and when to use the other.