Hi !

well.. it all started on 1st of June. I returned from exam. Probability and Statistics.. ashamed.. because of what I had done there and I knew am gonna fail for sure. Provided there is no Mumbai-University-Magic 😛

I was thinking whats next.. a year drop for sure but can’t afford wasting an year.. so.. Job !

What I have right now as qualification is .. well.. pretty much.. Nothing ! I am still a commerce guy till I finish my MCA 😦 but I was confident that there will be something because I can code 😀

I went to page once again. Had solved the challenge almost an year ago.. when friend showed it to me. Had done it in as well.. using interfaces and stuff.. and Haskell too !

I was browsing contents and I noticed that gtalk widget on site started showing Navin as Away. Pinged him, got response really quick.. then had a little chat.. explained whats the problem.. what I want.. why I want etc.. He said fine.. send me your challenge code and resume.. Lets see..

Continue reading

My first Haskell Adventure !

Hi !

I’ve been trying to spend some time with Haskell for long but college.. assignments … etc..were keeping me away. Finally got time + kick + excitement last night and decided to code something meaningful.
Thought to solve this challenge one more time >

Its quite simple. Read from input.txt [which is actually a twitter feed] > remove duplicate id entries > sort in descending order of Timestamp and save to output.txt.

Took pretty long time though. I was also reading relevant pages from RWH. had to read some things like Monads twice/thrice to understand. Then talking to folks in IRC #Haskell.. Still have to go through alot.

but it was fun. yeah! my first Haskell program that works as expected 😀

here’s the code. It still requires alot of cleaning and will do that after posting this. but this is the final v1.0 that works. So wanted to share this one only 😀

Continue reading