Thursday, July 12, 2007

The Secret Question System is insecure

Seeing that this is so obvious and easily breakable, I'm surprised sites still continue to use the secret question to recover your password. The problem is not so much in the system as in the questions chosen. A really secret question would be one which is known to you and only to you. But usually secret questions involve your mother's maiden name, or your pet or childhood hero. Now to anyone who has known you for a sufficient amount of time, and anyone who has read your profile on one of the social networking sites you are a member of, these are easily answerable. Not only does this introduce a loop-hole in the system, the secret question is often not easily changed.
The solution to the problem is simple, and one that I've been using for a few years now. The answer to the secret question should be totally unrelated to the context of the question yet memorable to you. For example, if the question is Your pet's name?, your answer would be say Thorondor ( Lord of the Rings ). That way, the chances of guessing the answer are very remote.

Friday, July 06, 2007

ColourCode: New ideas and old improvements

Now that TetraBlocks is done, its time to start working on the latest and greatest ColourCode release ever. Though the next version should be called 0.3, I might bump it up a few notches if everything works out as planned.

One of the major things I've been planning is to implement the Language Descriptors in Ruby itself rather than text files or XML. This would allow them to be more context sensitive and basically do more stuff to improve highlighting. For now this is just a vision, and I haven't really got around to even scribbling exactly what it's going to be.

Other improvements include:
  • Support for highlighting multiple files at once, or a complete directory
  • Using the optparse module to parse command line arguments
  • Decoupling of the actual highlighting code and the interface code so that ColourCode can be used as a library
  • Change the colour map from CSS to a format independent one
  • HTML line numbers are generated using an ordered list.
  • Add support for more languages.

Saturday, June 30, 2007

The sky tore open...

Today it rained in Mumbai for almost 12 hours without a break. Ofcourse this time Mumbai was a bit lucky, it was a Saturday, most people were home. Of course there has been a powercut since 10am and its back now at 6:30pm. The cable reception is still bad, so I've no idea what pain and suffering Mumbai city went through ( or not ) but it was pure fun here, playing volleyball in the rain and what not.

Tuesday, June 26, 2007

TetraBlocks: It is done

To much applause and enthusiasm (atleast by one guy) TetraBlocks is released to the world. Probably the millionth clone of Tetris, you can proudly claim your own version at the Tetrablocks page. Only available as a source archive for now, a windows executable is in the works

Saturday, June 23, 2007

Its Software for God's sake

I am so sick of magazine and newspaper technical writers thinking that the plural of software is softwares. Who hired them? If I see softwares one more time I'm going to get hontsblastophobia ( /haunts-blast-o-phobia/, noun: fear of HOw Non TechieS use Bad LAnguage when Speaking Techie - o - phobia. Remember, you heard this here first)

Wednesday, June 20, 2007

TetraBlocks:The finishing run

After having dumped the initial TetraBlocks code, the new version is coming along quite well and has proceeded especially well for the last few days. The few things left involve the deletion of lines and score keeping and putting a cap on the height. I've decided to do away with the menu and highscores system since it added for excess complexity.

Here is a screenshot of the latest developments.


PS. I play tetris quite well, but then there wouldn't be a screenshot

Monday, June 11, 2007

TetraBlocks: The first scrap

I dumped all the TetraBlocks code. Its gone. "rm -rf ". the only copy left is in the SVN repo. Need a redesign. Don't feel like blogging much these days, actually doing anything much these days. I am just empty. Don't know why!