Lots of screen savers on Ubuntu

ubuntu xscreensaver

Lots of screen savers on Ubuntu: $ sudo aptitude install xscreensaver-data-extra xscreensaver-screensaver-bsod xscreensaver-screensaver-dizzy xscreensaver-screensaver-webcollage

Read more →

XML, RSS, ATOM and Java

I was searching for ways to generate xml feeds ( ATOM / RSS ) using Java. It appeared to be trivial task but its not. There are so many different libraries in Java which are capable of reading and writing XML in Java that it became a daunting task to evaulate them. After a bit of experimentation I have settled down with JDOM. JDOM is so simple to use. On top of that, ROME tools make it even easier to read/write feeds using Java.

Read more →

Tzinga - An energy drink startup in India

startup energy-drink

An energy drink startup in India. In, India we mostly consume only areated drinks. Energy drinks are kind of very rare to see if you consider both urban and rural landscape. So far I have come across a very few engergy drinks - RedBull, Tzinga, Could9, Rio etc. A friend of mine asked me to try this engergy drink called Tzinga. I received a package with all the three flavors ( shown in the picture above ).

Read more →

Five senses, design and the daily routine

design thoughts

We are gifted with five senses - sight, hearing, touch, smell and taste. These let us identify color, sound, feel, aroma and appetite. How often do we give active thought to them? Well, of-course, those who are in a profession related to any of the five senses, have to deal with their impact on individuals and the masses. Barring ‘taste’, we can feel all other senses without much effort. Funny and surprising.

Read more →

A bug in RPM ? ( for rubygem-sprockets and rubygem-tilt )

rpm ruby

I packaged Rails 3.1.0 and its dependencies few days back for Fedora 16. The repository configuration file is as below: [rails3] name=rails3 baseurl=http://tuxdna.fedorapeople.org/packaging/rubygems/f16/ enabled=1 gpgcheck=0 Now when I installed Rails 3.1.0, I got into a in issue: $ sudo yum install rubygem-rails-3.1.0 ...OUTPUT SKIPPED... --> Running transaction check ---> Package rubygem-polyglot.noarch 0:0.3.3-1.fc16 will be installed ---> Package rubygem-sprockets.noarch 0:2.0.3-1.fc16 will be installed --> Processing Dependency: rubygem(tilt) < 1.3.0 for package: rubygem-sprockets-2.0.3-1.fc16.noarch --> Finished Dependency Resolution Error: Package: rubygem-sprockets-2.0.3-1.fc16.noarch (psb) Requires: rubygem(tilt) < 1.3.0 Installed: rubygem-tilt-1.3.3-1.fc16.noarch (@psb) rubygem(tilt) = 1.3.3 Available: rubygem-tilt-1.3.2-1.fc16.noarch (fedora) rubygem(tilt) = 1.3.2 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest On the surface it seems that rubygem-sprockets wants rubygem-tilt with a version less than 1.3.0 ( we have only 1.3.3 and 1.3.2 available here).

Read more →

Problems with Ruby GEM to RPM

rpm ruby rubygem

I can’t emphasize more the importance of packaging RPMs ( or any other packaging system ), as I already did it in an earlier post. Same arguments apply to Ruby Gems as well. That is to say, Ruby Gems already have a gem command to install and update packages. However it is still not a complete packaging system in itself. Consider the situation where you need to install a gem called A which dependes on B and C.

Read more →

libgit2 now packaged for Fedora 16

git libgit2

I just finished a quick packaging of libgit2. It built fine on Koji and can be downloaded from here. A pull request has been submitted to include the spec file in the upstream codebase itself. Rpmfind was of great help in this quick packaging.

Read more →

Ruby GEM to RPM all in one go

Ruby rpm gem

This is my first attempt at building RPM packages for Ruby GEMS. https://gist.github.com/1885411 Requirements: yum install rpmdevtools yum install ruby rubygems rubygem-gem2rpm How to run: $ ruby make_rpms.rb -t ~/tmp/rpm-gem-packaging/ -n mechanize -r 2.2.1 This will download the gem and dependencies and generate SRPM and RPM files in the following folder: ~/tmp/rpm-gem-packaging/rpmbuild/ NOTE: The status of SUCCESS and FAILURE can be seen in the file: ~/tmp/rpm-gem-packaging/rpmbuild/status.txt Check for RPM and

Read more →

JRuby on Rails with RVM ( on Fedora )

jruby rails ruby rvm

First install RVM and set it up: sudo yum install rubygem-rvm rvm-install To include RVM into your bash shell, add following line to ~/.bashrc: [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. Now install JRuby and use it as default Ruby interpreter: source ~/.bashrc rvm install jruby-1.5.6 rvm use jruby-1.5.6 Setup Rails environment: gem install rails gem install bundler Lets create a new Rails application: rails new rails-app cd rails-app bundle install rails g scaffold Person name:string rake db:migrate rails s Now go to http://localhost:3000/people/ Yay!

Read more →

JUDCon 2012 - an experience!

drools java jboss judcon redhat

My first Java exclusive conference! I arrived at the venue right on time. Surprize, there were a lot of people already holding their welcome kits. Conference was already running quite smoothly. Wifi worked most of the time. The sessions, lunch, tea were always on time. Actually, there were people assigned to ring bells, just like in schools, to notify timeout during lunch and tea breaks :) The whole confenence was revolving around four major topics: JBoss AS7, Infinispan, Drools and OpenShift.

Read more →