Monthly Archives: January 2010

Lifesource Phone Spam

At work, I would get calls: Voice Message 8884274836 At home, three times a night. Never leaving a messsage. I Googled the phone number finally and found who: Lifesource blood services. I logged in (easy) and turned off all my … Continue reading

Posted in howto, Musings, Stuff | Leave a comment

Installing Windows XP into a Virtual Box VM

I need to do some testing, so let’s try installing Windows XP Pro into a Virtual Box VM to avoid trashing my production system. Which is pretty trashed anyway, and has a big frosty pre-ordered (cheap) Windows 7 waiting when … Continue reading

Posted in Computers, howto, Software | Leave a comment

It’s Hard to Be Legal – Sheet Music Edition

So I wanted to buy the sheet music for “Lust” by Tori Amos. I love the piano music and wanted to learn it – to play, not to sing. I started with Google, found several music sites, and prepared to … Continue reading

Posted in Music, Musings | Leave a comment

Burnt Teapot

So I started the teapot up today, and went downstairs to check one thing. Ten minutes later I came up and there was no whistle. After checking the teapot, there was no water. With our old crappy teapot, I wouldn’t … Continue reading

Posted in Dining, howto, Musings | Tagged , , , , , , | 1 Comment

Mockito and void methods on mock objects

SO I have class TestFoo { } TestFoo s1 = Mockito.mock(TestFoo.class); TestFoo s2 = Mockito.mock(TestFoo.class); The Mockito doc “Real Partial Mocks” says to do this: when(mock.someMethod()).thenCallRealMethod(); we get the error “The method when(T) in the type Mockito is not applicable … Continue reading

Posted in Computers, Software | Tagged , , , | Leave a comment