Tweets

    Customizing JIRA workflow

    |
    Like other cool companies we also use JIRA for issue tracking; and we are agile using it. JIRA has posted a very useful article on how  to go agile using JIRA [http://confluence.atlassian.com/display/CONFEVAL/Using+JIRA+for+Agile+Development].

    Since JIRA gives you an option to customize the workflow. We've added some more details extending the normal 4 step JIRA workflow to a 6-7 step workflow.

    Version Control Policy: Best Practices

    |
    Your code base is always under version control (if it's not, it's high time you did!), and developers are always scared about taking updates or committing files, under some supernatural fear, that an update will wipe out their local changes. This causes a lot of trouble in the team, when some developers have not updated their code base since a long time. I've compiled below a checklist of best practices.

    Before you check in your code to subversion, here are a few points to follow.
    • Ensure that there are 0 (zero) serious CheckStyle, PMD, FindBugs error (warnings should be reviewed). If you need an exception
    • Checked in Code must build with all dependencies (not just your module).
    • Checked in Code must not break unit tests.
    • Checkins without comments should be noted as a build break caused by the developer. 
    • Before committing your changes to repository, it is advisable to synchronize the files, run an update and then commit your changes.

    Software Versioning

    |
    Software versioning for the end consumer is a very vital part of the software release cycle. It is one of the primary identifiers for consumers to report issues against in a software. It also helps the development team to identify, if the features/bug fix made it through the release.

    We follow a similar pattern, which can be useful for you too. The version number is strongly tied to the SVN (also valid for other version control systems) branching and tagging convention. Hudson (CI server) also plays an important role in stamping the build number.

    Online Recruitment Firm

    |
    One of my friend’s over the past few months has been speculating starting her own recruitment firm, but was not sure how to go about investing & setting it up. So we got together and brainstormed a few ideas. We created a list of tools that are of utmost importance for her work.

    It turns out Microsoft Office, MS Word more precisely is one of the most sought after tools by recruiters, followed by Microsoft Outlook for email.

    95-98% of the people seeking jobs send their resumes in MS Word format.
    Time immemorial email is one of the fastest and most efficient way of bulk communication.
    Using MS Office is expensive, and word documents are a prime target for carrying viruses. We needed a document reader, an email client and a strong anti-virus software.

    Staging environment using VMware

    |
    (This document is aimed more towards Java & VMWare, but the same can be replicated for any other language & environment)

    Abstract

    You have a team of developers working on different modules for a project-product which are inter-dependant. Each developer diligently writes unit & integration tests supporting their code. You want to set-up an agile test environment to run the unit tests & staging server for integration test, but purchasing hardware for multiple machines is a constraint.

    The following article provides a guide on how virtualization tools like VMware can be used to set-up staging or QA environment (Agile).

    DWR & Hibernate Lazy Loading

    |
    Time immemorial, we are all aware about the famous lazy load exceptions in Hibernate. Using a detached object does not exactly hide us from the issue. We are using DWR in our application and found that when marshalling (or unmarshalling if you insist) a detached object to JSON, DWR was erratically trying to call a null (lazyly loaded) object, causing LazyLoadExceptions.

    We did not want to use OpenSessionInViewFilter as it is evil (some day I'll post all the consolidated rantings as one). You can google and find a lot of info around it.

    As a quick fix we did what one would first think of, "It's a demo, just eager load it!". Well the demo was over and now was the time to investigate a better solution, and we did find it.

    It was no rocket science, the solution was available in front of us all along, we just did not look hard enough. When using DWR, there are BeanConverters available which are responsible for this marshalling process. There was one for Hiberante, called "hibernate3". http://directwebremoting.org/dwr/server/hibernate
    The HibernateBeanConverter tries to avoid reading from un-initialized properties. (If you just want something that blindly reads everything then just use a plain BeanConverter).
    Bingo, so when exporting a detached hibernate object to DWR, use type="hibernate3" and that should resolve the lazy load issues.

    By Contract or By Convention

    |
    Should we be using interfaces for everything and making everyone explicitly implement them or should we trust that everyone follows the same convention.

    2 DTO or not 2 DTO

    |
    Since the new project began I've been think about this over and over again reading as many posts and taking ideas from different posts and blogs. The more I read, the less I knew. Below is a collection of few links I've come across which have some conclusive and non-conclusive decisions/arguments, some of these post lean towards POJO's and some towards DTO(Data Transfer Object). Frankly I was not been able to convince myself on what to use. (Leaning more towards POJO's as detached objects).

    iPhone & CFA

    |
    I've enrolled myself for the Level I CFA exam in December '08. Studying on and off, depending on the schedule and time availability. Off late I stumbled upon SenFinance an interesting site full of Accounting and Quantitative tutorials for CFA Level I.

    I downloaded them all and wanted to view them on my way to work (a 20 minute train travel is good to study). So I got my hands on SUPER® which is an amazing software to convert any one video or auto file to another format. Now I finally have the tutorials in mp4 format and can study on my way to work!

    Setting up a PHP development environment on your local system

    |
    This is an old post I had written on google docs, before VMware Server was free for the general user. Thought could be still more relevant to the general developer for testing in Linux envoirment. VMPlayer I beleive is lighter than VMware Server.

    There are 2 stages of setting up the development & testing environment for yourself. The preferred work environment is Linux. If you already on Linux then you can safely skip Stage I, you can directly proceed to Stage II, also if you have Linux already installed, just cross check if you have the LAMP (Linux + Apache + MySQL + PHP) server installed.

    Duplicate file finder

    |
    Disk space is cheap, starting from a 1.2GB hard drive from my first computer to a "spare" 500GB external hard drive, cheap data storage has come a long way. I click a lot of photographs ever since I got my first digital camera, and I store a lot of these photos too (locally), now since 2006 I have over 201,608 photos and some videos. My camera photo number counter has reset twice!!

    About Us

    |
    {proton:fever} has nothing to do with the Large Hardon Collider which will soon annihilate the world, or anywhere else related to quantum physics. Though we are ardent fans of astrophysics.

    It’s a good time to start your own company and many of us search for guidance on how to approach problems, ways to cut cost from the beginning, creating your own team etc. This blog speaks our experiences & ideas we have encountered and are facing along our path to success. We’ll try to keep things as simple as possible, but if they get too complicated, shoot us a comment and we’ll be glad to help.

    Once in a while, we might spew some words of wisdoms… keep your eyes on the twitter updates.