Why keeping your mouth shut should not be the better option

February 5, 2007

I thought I was done, but I have to link to this: http://it.slashdot.org/article.pl?sid=07/02/04/1439222

Honestly, the fact that people who try to make an awareness of a vulnerability should not be punished. The people who seek to exploit the vulnerability should. Yet, here we have an example of someone who got punished for publishing a vulnerability after it was patched, and thus, no longer exploitable. Sometimes, just when I think our government has taken a step forward, it seems to take 2 steps backwards.


Coding 101, by John Keklak

October 6, 2006

After my CS411 class this week, I am completely inspired to post what must be made clear as a message to the world courtesy of the teachings of one John Keklak. And that is coding standards. So here we go:

  1. Indentation with discipline. Not only must you indent every time you start a new line, but you want to make sure your code makes the person who reads it feel like they’re being punished by reading the code. After all, we don’t just write code. We go through a process. For example:
  2. int getNumTasks(table){
    int a = numRows(table);
    return a;

    Now this, who can read this? I mean it’s a bunch of gibberish and really, what do I get out of it? But take this example:





    Not only is that readable, but it tells you a message. And it disciplines the reader. I can’t tell you how much that makes coding in real projects go much quicker. Pink slips have disappeared thanks to this method. Read the rest of this entry »

Some small bits

July 7, 2006

I probably should get around to posting at earlier times. And more often. That tends to make a blog like have readable material. But between feeling pretty awful Monday night after playing poker, and being out of my apartment much of Tuesday, I’ve been on the computer less this week than I have expected. Anyway, onto the more interesting stuff. Read the rest of this entry »