Archive for March, 2006

h1

Rails 1.1

March 30, 2006

rubyonrails    Ruby on Rails framework update release 1.1 is here.

Refer http://weblog.rubyonrails.org/articles/2006/03/28/rails-1-1-rjs-active-record-respond_to-integration-tests-and-500-other-things

The biggest upgrade in Rails history has finally arrived. Rails 1.1 boasts more than 500 fixes, tweaks, and features from more than 100 contributors. Most of the updates just make everyday life a little smoother, a little rounder, and a little more joyful.

But of course we also have an impressive line of blockbuster features that will make you an even happier programmer. Especially if you’re into Ajax, web services, and strong domain models — and who isn’t these funky days?

The star of our one-one show is RJS: JavaScript written in Ruby. It’s the perfect antidote for your JavaScript blues. The way to get all Ajaxified without leaving the comfort of your beloved Ruby. It’s the brainchild of JavaScript and Ruby mastermind Sam Stephenson and an ode to the dynamic nature of Ruby.

Ruby has a very easy, humane language structure. So the support for writing javascript in ruby language is cool. Try it out yourself.

h1

Code Kata

March 29, 2006

Sometime back I had read about code kata from the blog of Dave, the well-known author of the book "The Pragmatic Programmer Book" & its series. He introduces a set of practice exercises needed to improve our coding skill in any language or even our thinking about a problem in a business domain. They stretch your thinking and coding abilities. Here is an excerpt from his blog.

What’s a Code Kata?

As a group, software developers don’t practice enough. Most of our learning takes place on the job, which means that most of our mistakes get made there as well. Other creative professions practice: artists carry a sketchpad, musicians play technical pieces, poets constantly rewrite works. In karate, where the aim is to learn to spar or fight, most of a student’s time is spent learning and refining basic moves. The more formal of these exercises are called kata.

To help developers get the same benefits from practicing, we’re putting together a series of code kata: simple, artificial exercises which let us experiment and learn without the pressure of a production environment. Our suggestions for doing the kata are:

  • find a place and time where you won’t be interrupted
  • focus on the essential elements of the kata
  • remember to look for feedback for every major decision
  • if it helps, keep a journal of your progress
  • have discussion groups with other developers, but try to have completed the kata first

There are no right or wrong answers in these kata: the benefit comes from the process, not from the result.

Follow the original blog at http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Practices/Kata. So far he has added around 21 code kata.

If you want to discuss kata, there’s a mailing list here, and a wiki here. However, remember that the point of the kata is not arriving at a correct answer. The point is the stuff you learn along the way.

This is not just reading, so spare some time to spend & reap benefits! Also share any of your personal Code Kata with others.

h1

Minimal Servlet Container

March 26, 2006

Recently I wrote a demo java program which controls USB devices present in a system, by accepting options as command-line arguments (i.e. runs only in command prompt). I thought of writing a GUI, so the user can easily control it. The immediate option came to my mind, is to use a java swing client. But I am not really comfortable in swing/awt; also I had only limited time to finish it. I don’t want to spend time in aligning fields in UI, rather I thought of developing web-based interface, which I am most comfortable with. 

Okay, but now I have to deploy my war file in the client place to show a demo!

Will they have a tomcat installed in there machine?  How much instructions I have to provide them, so they can self-deploy the application? What I they have problem in deploying?

Read the rest of this entry ?

h1

BarCamp @ Chennai

March 23, 2006

Are u a said to be an technology enthusiasist, wanna share things with the world.. or wanna learn from similar people like you? Attend BarCamp, happening at chennai on April 8th & 9th.

BarCamp Chennai

http://barcamp.org/BarCampChennai

Why named BarCamp? FUBAR is a common military name, often in many demo programs, the immediate class name any body will use, is foo or bar or foobar. That may be the reason for the name BarCamp. if you ask me if there is any FooCamp then? Yes, it has been, but it is expanded to Friends Of O’Reilly, not the one we dicussed above. It was said that O’Reilly invites limited number of geeks to yearly unconference at his place, for FooCamp, but the invite is limited. Some of them wanted to attend but not able to, because they haven’t got an invite. Those people started themselves an unconference named BarCamp.

h1

Welcome to the world!

March 22, 2006

Today I migrated my blogging site from blogger.com to wordpress, mainly b’cos of support of tags..