Hennings blog
I’m usually quite tired when I get up in the morning. Beeing a consultant with flexible hours, it is often easy to forget exactly when I got to the office in the morning. So I figured i had to write a script to check when I started my computer. What it does is checking the syslog for the first occurence of todays date. I’m running Ubuntu linux and the syslog file is rotated a while after my computer has started. This is why I’m checking syslog.0.
The magic one liner:
date "+%b %d" | xargs -i grep -m1 -i {} /var/log/syslog.0 |awk '{ print "Today I got to work at " $3 }'
(Syntax plugin didn’t handle long lines properly. Remove the and put the entire thing on one line.)
Great article that clarifies the relation between the permgen size and heap size.
Conclusion: PermSize is added to the overall heap size.
At work I’m part of the open source group. This spring we started a new tradition with grouping together and testing new technology and ideas through open source projects. The Builder Pattern Eclipse Plugin was released this summer (more about this in a later post). And this fall I’ve started work on a ruby build monitor for continuous integration servers. Since the hottest thing right now is Ruby and Git I’ve decided to try GitHub.
GitHub is a social code hosting service where you can (obviously) host your source code. One of the coolest thing about (except their great and intuitive interface) is that you can follow other peoples activities and their projects. Everything they do is posted on a time line so you can track the development of your favourite projects. In addition you can take another persons project and fork it into your own repository and start developing. If you fork a project, the owner of that project is also notified so he can track the changes you make. This is awesome in terms of sharing code and patches.
Currently I’m very happy with GitHub, although I’m not that experienced with the power of git yet. If your are looking for a place to host your source code, I can really recommend GitHub.
If you’re interested in CI-servers take a look at my ruby-build-monitor project.
Old news, but a nice quick intro to the different tools provided in java 6 about monitoring and running dignostics on your application.
Jconsole allows to you to retrieve all kinds of memory and thread information from your application.

http://java.sun.com/developer/technicalArticles/J2SE/monitoring/
I recently bought myself an PS3 and I’m very happy with it. Except for one thing, the built in support for streaming video is not the best. Currently it only seem to support some types of mpeg or wma files. This is not satisfactory since I’ve ripped most of my dvds into xvid.
Finding a upnp streaming server for linux wasn’t easy. After trying many different upnp streaming servers with DLNA support (ushare and mediatomb among others), I finally found fuppes. It supports streaming and transcoding of media files on the fly. And it works great with PS3 :)
This thread will get you started. But it is filled with xbox 360 questions and other issues:
My setup:
PS3 – firmware 2.43
Ubuntu 7.10 Server (gutsy)
fuppes – svn revision 578
To make it short I did the following to get it to work:
Note that the apt-get install line has been escaped with slashes ‘\’. Remove them and put everything on one line if you encounter any problems.
sudo apt-get install ffmpeg build-essential libavutil-dev libavformat-dev libavcodec-dev \ subversion libtool automake autoconf libsqlite3-dev libpcre3-dev libxml2-dev \ liblame-dev pkg-config wget http://heanet.dl.sourceforge.net/sourceforge/fuppes/fuppes-SVN-578.tar.gz tar xvzf fuppes-SVN-578.tar.gz cd fuppes-SVN-578 autoreconf -vfi ./configure --enable-video-transcoding make sudo make install sudo ldconfig
Download my fuppes.cfg and put it in ~/.fuppes/fuppes.cfg
If you wish to use init.d to control your startup take a look at this howto.
UPDATE – 23. May 2009: Check out my silver bullet post about the ps3mediaserver-project
Here you will find some of my thoughts and experiments from my daily life of programming and general geeking ;)