A blog about stuff that passed the test of time.

  • Podcasts for Developers

    Until I started to travel on a regular basis I haven’t been aware of the value and information that can be found audio podcasts for developers. I thought, “Come on, what can you learn from listening to a radio?”. Nevertheless, since I had to fulfill my time with something other than staring at empty space […]

  • My startup ideas list (no it’s not revealed)

    I’ve decided to reveal my startup ideas list size (not the actual content which is in Serbian and would take some time to translate). This is the list I populated in the last 3 years. Whenever I got an idea about something (in 99% it is IT/web/app stuff) that could be interesting to be done […]

  • Dbunit composite primary keys

    For some task I was doing I had to make a snapshot of mysql database having only jdbc connection available. I wasn’t able to use mysqldump (remote access) or other backup tools (I wanted to do this as part of my java program – programmatically). So, I came across http://dbunit.sourceforge.net/ which allowed me to backup […]

  • Apache CXF Linux Deployment

    A short reminder of small issues I had with deploying Apache CXF web service I built on linux server (CentOS in my case): yum install tomcat5 went really well 🙂 and then I had to add webapps and manager packages with separate commands. tomcat5 package depends on jdk-1.4 so in case you haven’t already installed […]

  • Battle for Brilliant Developers (not Managers)

    Recently, I’ve read about many companies offering rewards for referring great developers to them. Examples are Hubspot offering $10k, SeoMoz oferring $12k, and EnergySavy oferring $10k. It appears that demand for developers exceeds supply so it’s good to be developer these days so I am using this opportunity to remind young computer science graduates that […]

  • Griffon eclipse support plugin

    Recently I was playing  with griffon which I used together with jung library to visualize binary decision diagrams. In this regard, I had to make several small projects. Since I do that in my spare time, at the moment I start a new project I forgot how I managed to integrate previous griffon project with […]

  • Scruffy is outputting partial or blank images

    Scruffy gem that uses rmagick has a bug that caused me a lot of troubles since I am new to Ruby programming language. I am using windows environment. Anyway, I was trying an example from Ruby in Practice by Jeremy McAnally and Assaf Arkin when I encountered a strange bug with Scruffy (now I know […]

  • Debugging GUI events

    Debugging gui events is usually not possible with regular line per line debugging and is done mostly by tracing. For debugging code that relies on Java swing events like drag and drop, mouse moving, etc., having something similar to code below is very useful: In this way you trace not only current function but also […]

  • Groovy blob and mysql

    In certain occasions e.g. when you want to save scrapped html page or just a specific part of it (e.g. div with its contents) the recommendation I found is to use the blob type and save xml document as binary stream. In groovy, this is achieved in a rather simple way: class Document { int […]

  • Groovy meliorates and dries

    Dynamic languages are very popular at this time and you probably had insight into at least one of them (Ruby, Python, Groovy). If you are bound to Java platform the best way to “be dynamic” IMHO is to work with Groovy. Apart from the http://groovy.codehaus.org/ where you can find documentation, getting started examples etc. there […]