Linked List Quiz - Part II !!!

In the last part, we saw the academic (not general purpose) version of a Linked List used to solve the puzzles, and solved the following puzzles on linked list. Reverse the list recursively Reverse the list iteratively Find if a list is cyclic In this part, I will be solving…

Offering __FILE__ and __LINE__ for C# !!!

Not the same way but we could say better. Visual Studio 2012, another power packed release of Visual Studio, among a lot of other powerful fancy language features, offers the ability to deduce the method caller details at compile time. C++ offered the compiler defined macros __FILE__ and __LINE__ (and…

Linked List Quiz - Part I !!!

A short while back, Sammy quizzed me on linked list based problems; singly linked list. I am recording those problems, solutions and my experience as a two part series. In the first part, I am introducing the linked list class, which I wrote for packaging the implementation of the solutions.…

Sms FireWall Update !!!

I gave SMS FireWall a refresh with a couple of features requested by users:- An option ‘Allow and Move’ in the settings screen, which when checked moves the messages from the quarantine vault when opted to be added to the allowed list. Although it might be clear…

OrderedThreadPool - Bug Fix !!!

Hugh pointed out a bug in the OrderedThreadPool. I think there is a small window for error in the OrderedThreadPool class. Bascially, if an item of work is queued, then a worker thread runs, takes the item off the queue and is about to call wcb(state) – but at…

Unique Id Generation !!!

A short while I was engaged in a little project where I had to interact with a third party service provider who required a (30 length) unique id as part of the transaction. I am little dumb and am used to GUIDs for a long time when it comes to…

Sms FireWall !!!

Tired of prank SMSes. Need a simple way to block them, and keep your inbox clean? Don’t worry. You got it! SMS Firewall is a simple and cute (hope you like it!) Android application to block and quarantine unwanted SMS from reaching your inbox. Unwanted are those who…

To Ritchie !!!

Dennis Ritchie, whom we all know as the creator of the C programming language passed away on Oct 12, 2011. We have lost one of the brilliant minds of mankind. I owe him this post for he has been one of the greatest inspirations in my life and the very…