Category Archives: Software
osql -> isql -> aargh on Ubuntu
Trying to set up ODBC on Ubuntu. osql is a great script to test it out, but running it on Ubuntu 10.10: root:~# osql -S fcstest -U sa -P ***** osql: error: no potential directory strings in “/usr/local/bin/isql” isql strings … Continue reading
Hudson, Git and the extra space
At work I am installing a new Hudson slave for continuous integration. Everything works great, using the Tanuki Java Service Wrapper to fire up the slave.jar, but when it comes time to run the build, it fails: Started by user … Continue reading
Hero to Optimus S
So why did I switch to an Android phone with the name like an old Radio Shack speaker brand? My brother likes to get new phones especially since we’re on a two-year family plan contract from other phones, so he … Continue reading
Microsoft File Transfer Manager
Today I was using this to download 4Gb ISO files from MSDN. Browsers failed, even the Firefox DownItAll! Plugin. It was slow, bursts of 100K with 10 second intervals. The speed was that of a bad modem. And it would … Continue reading
Qt Training Report II
The Qt WebKit stuff looks really nice. 40 lines to add a lite but featured browser, and you can have Javascript call C++ and vice versa – so buttons in HTML can start C++ processes, and C++ can modify the … Continue reading
Qt Training Report I
So far so good – Monday was architecture, Tuesday was specific core libraries and classes. We do exercises on the computer a couple of times a day to demonstrate topics. Today we did one on creating a paint application using … Continue reading
ESET vs Kaspersky
Our AVG subscription was expiring and I was having 2nd thoughts about renewing – it was periodically crashing Bette’s underpowered computer. Ralph at work recommended Kaspersky Internet Security, and I got a trial of that and ESET Nod32 Security to … Continue reading
Photo Mechanic
So I am trying to archive the check scans. TIF files named “donation-2010-DEP01-01.TIF” to identify the year, deposit batch number (01) and the scan number within the batch. I first just entered the keywords using Thumbs Plus 7. Pain. TP8 … Continue reading
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
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