Friday, December 30, 2011

Elementary Icon Set Refresh

The Elementary People are refreshing the legendary icon theme and have set up a PPA on launchpad. Check it out at following address:

Sunday, December 18, 2011

Twins Fighting

2 .Net assemblies conflicting when referenced within same project!!!

Tuesday, December 13, 2011


Recently I had the pleasure to work with CSV files. And it ended in a CSV hell for me! The functionality I wanted wasn't available anywhere (As often happens when you provide custom solutions to your clients!) The client didn't want to rely completely on the system! (I question the need for the system in such circumstances, but the client wanted the system! Brilliant! Kind of like 'hey, I'll be travelling in Bus but just in case lets have that train available and tracks laid out!)
Anyway, I couldn't get them to change their preference and so this hell started. Now the situation is the client uses OpenOffice and/or MS Excel to edit the CSV's. They have excelsheets for the data and they export that to csv. I assumed I could write a parser for CSV and that would be it. But when I got to the task I just couldn't figure out the correct logic. One logic worked for some and failed for some other data and the other worked for some and failed for some other.
After playing with it for couple of days, I was really frustrated enough that I dumped the csv thing and instead used single quotes as field delimiters and "|" as separators. This made my logic simple and in 2-3 days I had a working parser for these files.
Next hard part come when I tried exporting excel sheets from both MS Excel and Open Office - both would screw up the file somehow - sometimes it was the field delimiters, sometimes the separators. After wasting one more day on this, I finally resorted to manually editing the files. GEdit's find and replace function came really handy then.
Four more days later I had the supposed to be csv's ready and I finished the task. It shouldn't have taken  that much time but as it happens the raw data coming from client had so many problems in it, like improper fields, fields exceeding lengths(these brought in duplicate record errors in mysql), and many others.
All through and through, it was quite an experience for me to work on this challenge.

Thursday, December 8, 2011

This brings tears of sorrow to my eyes

Min requirements for nfs : the run


OS: Windows Vista SP2 32-bit
DirectX: DirectX 10
Processor: 3.0 GHz Intel Core 2 Duo or AMD Equivalent
Memory: 3 GB
Hard Drive: 18 GB
Graphics card (AMD): 512 MB RAM ATI Radeon 4870 or higher performance
Graphics card (NVIDIA): 512 MB RAM NVIDIA GeForce 8800 GT or higher performance
Sound card: DirectX Compatible
Keyboard or Gamepad or Steering Wheel
DVD Rom Drive
Online: 512 KBPS or faster Internet connection

OS: Windows 7 SP1 64-bit
DirectX: DirectX 11
Processor: 3.0 GHz Intel Core 2 Quad or AMD Equivalent
Memory: 4 GB
Hard Drive: 18 GB
Graphics card (AMD): 1024 MB RAM ATI Radeon 6950
Graphics card (NVIDIA): 1024 MB RAM NVIDIA GeForce GTX560
Sound Card: DirectX Compatible
Keyboard or Gamepad or Steering Wheel
DVD Rom Drive
Online: 512 KBPS or faster Internet connection

Music Fail

I love working on things with music running in the background. The beat is a necessary thing to help me concentrate on my work. Also it's a way for me to get full concentration in my work. I don't use music libraries, instead I just play the albums one at a time depending on my mood. On windows nothing beats Winamp's explorer shortcut which lets me play my music folderwise, and since I have my music well arranged it's just a matter of few clicks to get the groove.
On Linux though things are a bit different. The functionality available in winamp/windows is just not available anywhere. The best I can manage is with opening Totem and dragging the folder to it. Banshee and Rhythmbox don't accept dragged directories. In fact they even won't even accept m3u playlist. (This might be mitigated in latest releases - I tried on Ubuntu 10.10. Will try the same thing on 11.10 and update here.) This is certainly FAIL for people like me who don't like (or don't know/use ) the whole music libraries concept.
And one plus with Totem is that it recognises my Laptop's Multimedia Function buttons helping me switch between track with one key press which is a huge plus especially when I'm working in Open/Libre Office or coding.