Posts
Juggernaut on Linux
I just installed Juggernaut on my linux box. The installation is simpler than windows. At least it gave me less pain.
Just run the following commands-
gem install json gem install activemachine gem install juggernaut juggernaut –g juggernaut.yml juggernaut –c juggernaut.yml I got a little pain regarding the g++ compiler that is required to build the activemachine. I did not have it installed in my Amazon EC2 instance and after some searches, I could install it using the following-
Posts
The RANK() Function for Numbering on Groups/Partitions in SQL Server
Previously, I used the ROW_NUMBER() function to get the monotonically increasing row number of a result set from a SQL query. But, this time the requirement was a bit different as follows.
I have many combinations of Year, Make, Model and Trim of vehicles in my database. I also have potential profit on sale of each of the combinations. I need to produce, the top 5 trims for a Year, Make, Model combination that yields maximum profits.
Posts
Working on a Data Warehouse project
I have been busy for the last month as we, at Code71, rolled out the first release of the Business Intelligence project for Vuneu Media. I will give you a brief on my project here so that you can follow my coming posts.
The used vehicle dealers buy their vehicles from different Auctions across the country. When making a buy decision, they try to find answer to these questions-
Posts
A good example of C# Regular Expression: Implementing InitCap or Titleize/TitleCase using C# and Regular Expression
Ever since I first learned about the regular expressions, I have always been fascinated by its magical capability. When I first learned about DFA/NFA, I figured out how it is possible to evaluate a regular expression and eventually, during my Undergrad at BUET, I implemented a regular expression evaluator for the Compiler Lab.
Now, given this history, here is a simple code that I wrote today. Let me know if you liked it-
Posts
Asp.Net Membership: How to change a user's password from an admin account without knowing the current password?
Like mine, you may also need to change a user's password from an admin account. By default, when you are using ASP.Net authentication and storing the password in the hashed format, you will not be able to see the existing password in its decrypted form. Also, to change a password using the Membership API, you will need to know the existing password. However, here is a simple solution to the problem -
Posts
Solution to JavaScript File Include Problem From ASP.Net MasterPage
You can include javascript files using a simple script tag. However, you will soon discover that, when you are using this master page from content pages that are at different levels in folder hierarchy then the script files will be missing at some cases. This is due to the fact that, script file paths are referenced relative to the content page and NOT to the master page. As a result, despite having the correct include wrt the master page, your content pages may still miss the scripts!
Posts
Part 1: How am I IMPACTing following Scrum?
In a previous post in this blog, I introduced the nice little acronym IMPACT for agile. To recap, here is what IMPACT stands for -
"Iterative and Incremental development of a software by means of Merciless refactoring, Peer reviews, Automated acceptance testing, Continuous integration and of course, Test driven development"
To give you a little background around my story, let me tell you about a project that I am working since June 2006.
Posts
Delving into client side capabilities of ASP.Net Ajax
I believe the client side scripting capabilities of ASP.Net Ajax is not utilized by many ASP.Net developers. This is most probably due to the fact that, not many people are aware of it at the first place. Also, since most of the javascripts are rendered secretly (read, not blatantly, which is good), most developers don't even feel the existence of the underlying javascript at all.
Two very simple examples of the client side library are given here as examples -
Posts
IMPACTing for agile software development
Well, next time on a dev job interview when someone asks you the question, "Can you give us a brief idea on agile software development engineering practices?", you are probably gonna laugh on your mind and just answer, "IMPACT!". Yes, this is it, compact and right on target!
Today, I came up with this acronym about agile engineering practices and I think its a nice one :-)
IMPACT can be elaborated as follows-
Posts
RowTest Extension for NUnit
Well, I was just about to implement it myself! However, its good to see that the NUnit addin named RowTest actually allows us to do the data driven unit test through declarative programming and adding parameters to the dumb test methods!
http://www.andreas-schlapsi.com/projects/rowtest-extension-for-nunit/
Check out this website for an example and get started with RowTest.