October 18, 2007 at 5:49 pm
· Filed under debian, linux, meme
I’m running Debian Unstable and every now and then I have some problems after dist-upgrade. Couple of weeks ago I pumped into gimp-data reconfiguration issue and all I got was “subprocess post-installation script returned error exit status 1″. As I was in a hurry I just edited /var/lib/dpkg/status to mark the packages not installed.
Today I got the same error for Liferea and now I had the time to investigate. Firstly to turn debugging on for dpkg is a matter of dpkg -Ddebug_level_no. More info with dpkg -Dhelp. Next I ran dpkg -D10 –configure liferea and saw that the post installation configuration is held under /var/lib/dpkg/info. There was a script liferea.postinst.
In that script the line gtk-update-icon-cache –force –quiet “$dir” was failing with a message “The generated cache was invalid.”. I did not start debugging why this was happening. As the list of installed gtk related packages is quite short then I just installed gtk2-engines-pixbuf and the cache update started working. Lucky guess
Permalink
October 8, 2007 at 9:06 pm
· Filed under SoC2007, chesspastebin, eclipse, google, jsPGNViewer, meme, web
Disclaimer: I’m affiliated with the product and this might be taken as a commercial but nevertheless things will start to change.
Before moving to Java (mostly JEE) I did couple of years PHP development. The thousand levels of abstraction, tons of third party libraries and most importantly the ever taking change-check cycle were something difficult to accept. I was so used to getting feedback automatically and could not even imagine that one day I will even have to re-traverse some application just to store some state.
For the past months I have been working on team battling the change->compile->redeploy cycle. Today there is a release. It is called JavaRebel and the product brings the cycle down to change->compile->check. Classes loaded by the container can be changed and JavaRebel inbetween will load these changes (adding/removing/changing fields, methods etc.).
When I was working on my Google Summer Of Code project I had to buy extra RAM just to be able to run couple of instances of Eclipse. I was not willing to buy a new CPU to make the restarting these instances of Eclipse faster. JavaRebel does not have Eclipse support but it is in the roadmap.
There is a screencast up that will demo some features of it. Java development will change.
Permalink
October 4, 2007 at 12:47 am
· Filed under web
On Monday I wanted to submit a story to reddit.com. To submit a story you need a username. The registering is quite easy. Once you have an account you can submit a story.
There is one BUT though. If you have happen to fail with the captcha you will get a warning to try again. Once you try again you get a warning that you are submitting too fast. Once you’ve got that warning you’re out of luck. At least I was.
I tried again and of course got the submitting too fast error again and again. I waited couple of hours (although the message says to wait a while – whatever that means) I still was not able to post the story. The same couple of hours later and a day later. All because I missed a captcha.
Here are some images of really good captchas from reddit.





PS. If I miss the captcha when posting this to reddit I won’t try again.
Permalink
October 2, 2007 at 9:52 am
· Filed under SoC2007, chesspastebin, google, jsPGNViewer, meme
Permalink