It happened few days ago for the first time: after opening the lid on my MacBook Pro, the machine woke up, but the screen stayed dark. Whatever I did, I just could see cursor and nothing underneath. I had to resort to unthinkable - reboot :-(
Some research showed this is known problem - which is from certain point of view good, because many people found hopefully many workarounds. The more information can be found here, here and here. Very helpfull was also this page.
Program managers want an infinite number of features in zero time, testers and service operations staff want zero features over infinite time, and developers just want to be left alone to code cool stuff.
From I. M. Wright's "Hard Code"
by Eric Brechner
There is a saying that necessity is the mother of invention. Such necessity happened last week and forced me to try out the Groovy language.
The trigger was need for creating good data set for testing changes in a full text search. I had to locate few hundred of obsolete technical documents to be used as test data, dump the metadata as well as the BLOB data to disc, create INSERT sql scripts and loader that would from Ant pre-load the database with the test set and insert the BLOB's. It is fairly simple task, the issue were boundary conditions:
With the walking season almost upon us (so far only walks by streets, for the Ottawa River Pathway one still needs a snowshoes), it is time to replenish the stock of listening material. Here are some of the about 10 new podcasts that I tried out recently and decided to keep:
1) Pragmatic Programmers podcast. That was a pleasant find (thanks Milos). The topics covered are very wide - as are topics covered by the books. Average lengths is about half hour and the podcasts appear about 1-2 per month. I really liked the interviews with Michael Nygard and Johanna Rothman. The disadvantage of these podcasts is fairly miserable audio quality - the discussions are done by phone or something is wrong with the recording. Maybe I am spoiled by great professional audio of most of the TWIT network podcasts - but after Leo and the gang, this audio is really hard on ears.
Here it comes, first occurence: one of my VM's BSOD-ed on me yesterday.
To be completely fair, I did have experienced an occurrence of something similar twice in last moths: after wake up from sleep, the screen was collection of the color pixels, completely unreadable. After reboot, everything was normal.
I found out that the issue may be related to the "safesleep" mode. For now, I disabled the mode by
I did not even notice that the visit counter left the 16 bit domain sometimes during last few days. Now it shows about 67 000 visits. Honestly, I am pleasantly surprised how many people found this blog worthy their time :-). Thanks to you all ...
Next boundary is of course 128K, 256K, 512K hits and finally a "Megahit". But that's far far away.
Akita published two part tutorial that leads you through building the famous 15 minute blog application in Rails 2.0. Read the parts one and two - or follow the screencast by the same author.
Thanks a lot, Akita - very nicely done !
I have first time encountered the error:
ORA-29907: found duplicate labels in primary invocations
after testing the change request we have implemented recently. The error message was not very helpful - I was not exactly sure which labels and which invocations ;-) - and as Oracle guru who actually does understand fine details of Oracle Text was visiting sunny India, I was on my own.
The change addressed an issue in repository search: users were asking for more flexible processing of full text search phrases: instead of e.g. searching for "unit test" search for document that contains both unit AND test. The text was parsed in Java and the SQL generator produced instead of something like
After some break, I got back to Rails land. The return is not as smooth as I hoped: since Rails 2.0, many things work differently and quite a few steps learned from "The Book" do not work any more. The issues are more often than not quite easy to fix, but there is quite a few of them.
All the following is related to NetbeansRuby build 6327 from Jan 26th with JRuby 1.1RC1
After some break, I dusted off the Ruby to try out one interesting idea Peter presented yesterday that literally ASKS for Rails. So I grabbed the latest and greatest RubyNetBeans from Ruby Hudson. For some reason it stopped updates on January 26th so the latest version I have got was build 6327. It is bundled with JRuby 1.1RC1 and the Rails version that comes preinstalled is 1.2.6. Using the menu Tools -> Ruby Gems, they can be easily upgraded to latest and greatest 2.0.2.