This post sort of collates information about using subdomains to make your urls look much nicer. Say suppose you are building a tumblr like service, then you would also think of providing subdomain based urls for each of your customers. Lets consider for the sake of explanation that you have a website called sconesandtea.com and … Continue reading »
Sqlserver Non-clustered indexes and deadlocks
ORM tools and other abstraction on RDBMS have become ubiquitous. But there is no substitute for understanding the basics of a database. This opinion of mine was only reinforced by a recent issue which I was fixing with a colleague. Bug: Error log for showed the below exception System.Data.SqlClient.SqlException: Transaction (Process ID 53) was deadlocked … Continue reading »
Customize gradle directory structure
I started using gradle very recently. It is so much more easy to understand than maven. I guess I am not intelligent enough for maven. Gradle also follows a very similar directory structure to maven. But I wanted to change it as per my projects directory structure. project project/src project/test All I had to do … Continue reading »
CI – Have we forgotten the integration bit?
Almost all software that has every been built had to go through an integration stage in one way or another. It is quite odd that many software projects even to this day look at integration as a separate phase in the project. But things are changing quite fast and many projects adopting Continuous Integration. This … Continue reading »
Continuous deployment and flexibility
Say a client asks you to build an application such that he can change it between releases. He wants to be able to do this so that he can react to business needs quickly. But most of the time this is interpreted as a way to build an application that is highly configurable. One of … Continue reading »
Agile Bengaluru 2010
Its been a week since agile bengaluru 2010. It was a really nice experience to meet J. B. Rainsberger, Jeff Patton, David Hussman, Naresh Jain and many more people all in one place. I liked the venue even though there was no wifi . More than anything else I really appreciate the “go green” theme. … Continue reading »
Building java projects on runcoderun.com
RunCodeRun is a hosted Continuous integration environment developed by Relevance. Thanks to the Relevance team and their effort to provide this service free for opensource projects. I wanted to build rapa on RunCodeRun. I was trying to setup my project on RunCodeRun using instructions in a blog post. It is a very useful blog and … Continue reading »
Mnesia Quickstart
Basic introduction on Mnesia Mnesia is a RDBMS. But it belongs to the nosql category of RDBMS. Reason being the query language is not sql but Erlang. That makes it very easy to store and retrieve without having to go through Object Relational Mapping. So we can actually call Mnesia an object relational database. Why … Continue reading »
Jumping through hoops to represent trees in Database
Recently I have been working on a project where we have to represent hierarchical data in Database. Unfortunately we do not have much choice with the database. We are using a relational database. If you have done this, you will agree with me that it is not a very enjoyable experience. Firstly we need to … Continue reading »
Coroutines – back to basics
Ruby 1.9 Fibers has got me reading about Coroutines. Thought I should put all my understanding somewhere, as I read and understand coroutines in more depth. Most of the content in this post just a aggregation of various sources. Coroutines are program components that allow multiple entry points and can return any number of times. … Continue reading »