Archive

Posts Tagged ‘ruby’

Podcasts for Developers

April 29th, 2011

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 (I travel by night) I tried listening to some podcasts and since then I haven’t stopped to follow the ones that I liked the most.

In my opinion (being a Java developer most of the time), Java posse is the best podcast around. The guys behind it are very amusing, have different characters (opinions), and often make a roundups on hot topics where they include more people in discussions. For example, episode #337 they made together with guys from .net rocks which is I guess the best podcast for .net developers.

Apart from Java posse I like listening to grails podcast although they are not as regular with new stuff as Java posse is.

In near future I plan to check some python or ruby podcasts and compare their awesomeness to Java posse.

Try listening to any podcast for developers and you won’t regret. The feeling you’ll probably have is like you have found yourself a good developer friend who is willing to share his personal insights and programming knowledge with you. At least that is how it was in my case.

Share/Save/Bookmark

General, Java, fun, groovy, ruby , , , , ,

Scruffy is outputting partial or blank images

October 1st, 2009

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 that it is its bug but it took me a while :).
This bug causes that any graph you try to render, renders only partially, similarly to the picture below:

The problem (with solution) is described here: http://rubyforge.org/tracker/index.php?func=detail&aid=27102&group_id=2030&atid=7929.

The cause of this problem is incorrect generation of viewbox by the base renderer. When you incorporate changes mentioned in the link above to RUBY_INSTALL\lib\ruby\gems\1.8\gems\scruffy-0.2.6\lib\scruffy\renderers\base.rb you should be able to render correct graphs.

Share/Save/Bookmark

ruby , ,