Trayconize me!

Posted February 10th, 2006 by Eric Lo
Categories: Uncategorized, Technology

Hey, for Thunrderbird users out there, here is a VERY good tool. I recently switched from Outlook to Thunderbird for my emails, and I find it enoying that TB can’t minimize to tray. Here is the solution.

Another good solution is this. You can actually minimize ANY program to the tray, making your taskbar much cleaner!!! (This tool is not good for Ahmed though… you wouldn’t want 50 icons in your tray. It kinda defeats the purpose.)

Refectoring++

Posted February 8th, 2006 by Ahmed Kamel
Categories: Team, Programming

Here is a good example where refactoring code, makes things more readable, but also enhances the design.

This is what we were using before:

for (WhereClause wc : m_clauses) {
    if (wc.m_objType == WhereClauseType.Bool) {
        statement.setBoolean(++count, ((Boolean) wc.m_obj).booleanValue());
    } else if (wc.m_objType == WhereClauseType.Int) {
        statement.setInt(++count, ((Integer) wc.m_obj).intValue());
    } else if (wc.m_objType == WhereClauseType.Long) {
        statement.setLong(++count, ((Long) wc.m_obj).longValue());
    } else if (wc.m_objType == WhereClauseType.String) {
        statement.setString(++count, ((String) wc.m_obj));
    } else if (wc.m_objType == WhereClauseType.InStream) {
        statement.setBinaryStream(++count, ((BufferedInputStream) wc.m_obj), ((InStreamWhereClause)wc)._length);
    }
}

By changing the SQLTerm (new version of WhereClause) so that its type is not an enum, but an actually java.sql.Types member, we can now do the previous lines as follows:

m_statement.setObject(m_count, term.Value, term.getType());

This is also really cool, because the design I have for plug-in augmentation, will greatly benefit from some of those new classes.

So did I mean for that to happen? Nops, but that’s what happens when you design for cleanness, things just fit together!

30 Boxes, Best… Calender… EVER?

Posted February 7th, 2006 by Ahmed Kamel
Categories: UI, Programming

So yeah please visit 30 Boxes by 83 Degrees:)

I had read this blog entry and find 30 Boxes to have a nice feel.

Kal, why don’t you use the Mouseover DOM Inspector and see how they HTMLed it.

I changed the theme, don’t shoot!

Posted February 6th, 2006 by Nadia Chaouch
Categories: Uncategorized, UI, Marketing

I couldn’t take those scary/ugly rotating pictures. So I changed the theme from Falling Dreams to Sapphire. I understand that the point of that theme was to customize the pictures to our own TSG ones, but until someone does that (and I don’t think it will be too soon) I just can’t look at them anymore. Besides, I think this one is good to blend in better with our product website (still in the works).

var thing;

Posted February 6th, 2006 by Ahmed Kamel
Categories: Team, Programming

Even when not at the team meeting, Chris still managed to get everyone to laugh.

Some out of amazement and others out of plain despair.

Thanks Eric; for identifying a variable name that’s even less descriptive than “widget“.

thing” is now the one to beat.