Mostly at this time of the year with Christmas and New Year around the corner, the mood in office is very laid back, people go away on vacations and there is very little work perse. But not this time. Luckily or unluckily(I am still trying to make up my mind ), I was literally swamped with work, after sitting idle almost the whole year round (serving the notice period in previous job, followed by 2 months break, followed by ramp-up in new job, followed by the rather dramatic shutdown of our 1.0 project). After a painfully long time, I finally found myself burning the midnight oil at a stretch for one whole week. And the fruit of that labour was of course sweet
But this post is about something else. The PoC that I had to work on required building a command-line windows console with scrolling and navigation capabilities. I made use of pdcurses library which is a port of the ncurses library for linux environment. The curses library provides an abstraction over low level graphics related system calls. The best thing about it is that it is distributed with several examples, which can be easily tweaked to fit custom scenarios and hence needless to say, comes very handy when programming under severe time constraints.The pressure point, however, was coding in C which with it’s pointer madness did a successful job of giving me countless head banging moments .
In the process of breaking my head over background and foreground colours and screen coordinates, I inadvertently recalled the Graphics project I had worked on in college. The project implementation and execution was itself pretty smooth, however things got screwed up big time on the final day when we were supposed to present the project to external examiners.In lawn tennis terminology, this would be called an unforced error . I forgot to place all the files on my pen drive, because of which the project failed to run in college lab. I then had to sit in lab and hand code the missing files with a vigorously throbbing heart and palpating pulses, not to mention that the glaring eyes of the examiners didn’t do much to calm my nerves .I had managed to get it up and running, but the damage was done; the examiner had made up his mind before seeing the project itself and I didn’t secure good grades. But oh I passed…what a relief!!!
So in this past week, that college nightmare has come back to haunt in bits and pieces, everytime that something was not working.But the self satisfaction that came from working on this PoC was indeed nothing short of a long awaited coding redemption .Well done girl!! (pat on the back)