Archive for category Uncategorized

The Secret of Inspiration

I found this article while browsing the net. Carmine Gallo, the author, says --

"Top business leaders rally their troops by presenting a powerful personal vision of a better future. The simple secret to inspiring those around you is to communicate a vision, a roadmap, of where you're heading and why it's important to your listeners."

The author says "only half of US workers are happy with their jobs, ..". Which half are you in?

wiki Installation For a Project on Sourceforge

We are trying to setup a wiki for our open source project. I have used a few wiki flavors and liked Twiki. But on the Twiki site I found the following message:

"TWikiOnSourceForge has been withdrawn as sourceforge.net no longerallows write access to the filesystem from their webservers."

Is this the case with all the other flavors of wiki? Anybody has experience setting up one recently? All thoughts are welcome.

ehcache Caching Policies (Contd..)

Following up with my earlier post --

Finally done with the last few changes related with the new caching policies (FIFO, LFU). A new attribute memoryStorePolicy is being added to the cache element in the configuration file:


<cache name="sampleCache1" maxelementsinmemory="10000" eternal="false" overflowtodisk="true" timetoidleseconds="300" timetoliveseconds="600" memorystorepolicy="LFU"/>

memoryStorePolicy attribute is an optional element. Legal values are: LRU, LFU and FIFO. The value defaults to LRU (Least Recently Used) policy.

Next I should update the site documentation for the caching policies ..

Tags:

Agile Software Development Priciples, Patterns and Practices — Book Review

One of my favorite Robert Martin's books, Agile Software Development Priciples, Patterns and Practices. I like especially the Priciples part of the book:

- Single-Responsibility
- Open-Closed Principle
- The Liskov Substitution Principle
- Dependency-inversion Principle
- Interface-Segregation Principle

A good review of the book by David Hayden:
http://codebetter.com/blogs/david.hayden/archive/2005/06/17/64766.aspx

Tags:

Maven Plugin for Idea

While setting up my IDE for my latest open source project -- jamecs, I stumbled upon the maven plugin for Idea. Intellij's Idea (my favorite IDE, it is truely "develop with pleasure" IDE .. I know many Eclipse fans disagree .. a topic for some other day ;) ) has got terrific Ant integration and by adding the library folder (some thing like 'lib') into the classpath is all that it needs.

However with Maven it is not as easy because the dependent jars are not in a simple folder to add into the path. Here comes the Idea plugin that comes with Maven. At the command line go the root of the project and type (I'm assuming you already have your code and content checked out from the repository):

maven idea

It creates Idea's project files -- .ipr, .iml and .iws files!

I heard about MavenIDE for Idea integration, may be I will try that some time soon ..

ehcache Caching Policies

ehcache is one of the open source projects that I have contributed recently. For those who haven't heard about ehcache yet -- it is a simple, fast and thread safe cache for Java. Hibernate community uses ehcache significantly. More about ehcache at http://sourceforge.net/projects/ehcache/.

Provided a patch to support more caching policies than LRU (that it currently supports). FIFO and LFU are the new policies that I have added and submitted the patch. They can be tested only programatically at this point. I still have to add the declarative way of defining the cache policies for FIFO and LFU. Hope I can finish that soon ..

Tags: