Sutter on Hungarian Notation
Posted on August 18th, 2008 at 16:10 by fr3@K

From Sutter’s Mill:

… The main trouble with Systems Hungarian comes from trying to embed information about a variable’s type into the variable’s name by prepending an encoded wart like the venerable sz, pach, ul, and their ilk. Although potentially helpful in a weakly-typed language like C, that’s known to be brittle and the prefixes tend to turn into lies as variable types morph during maintenance. The warting systems also don’t extend well to user-defined types and templates.

I am glad to learn that the Guru and I share similar views on this matter.


Further readings:

del.icio.us:Sutter on Hungarian Notation digg:Sutter on Hungarian Notation spurl:Sutter on Hungarian Notation newsvine:Sutter on Hungarian Notation furl:Sutter on Hungarian Notation Y!:Sutter on Hungarian Notation 黑米共享書籤:Sutter on Hungarian Notation 推推王:Sutter on Hungarian Notation
iGoogle, Not Safer than Anything Else?
Posted on August 10th, 2008 at 17:51 by fr3@K

Some of my friends use iGoogle as a portal for handling daily office routines. They had been selling me the solution for a while. They were able to get me to give iGoogle a test drive a few weeks ago.
(more…)

del.icio.us:iGoogle, Not Safer than Anything Else? digg:iGoogle, Not Safer than Anything Else? spurl:iGoogle, Not Safer than Anything Else? newsvine:iGoogle, Not Safer than Anything Else? furl:iGoogle, Not Safer than Anything Else? Y!:iGoogle, Not Safer than Anything Else? 黑米共享書籤:iGoogle, Not Safer than Anything Else? 推推王:iGoogle, Not Safer than Anything Else?
GION 0.1.0 Released
Posted on July 15th, 2008 at 0:40 by fr3@K

GION is a project I recently created as a part of my effort towards cleaning-up some of the not-so-pretty and strengthening exception safety of the project code base at work.

It’s released under one of the most permissive FOSS licenses I know of, MIT license, in hope, would help others to write better C++ more easily.

Feedback welcomed.

del.icio.us:GION 0.1.0 Released digg:GION 0.1.0 Released spurl:GION 0.1.0 Released newsvine:GION 0.1.0 Released furl:GION 0.1.0 Released Y!:GION 0.1.0 Released 黑米共享書籤:GION 0.1.0 Released 推推王:GION 0.1.0 Released
Delicious Bookmarks Upgrade Breaks Firefox Tab Navigation
Posted on June 15th, 2008 at 15:57 by fr3@K

For those of you using Delicious Bookmarks with Firefox, beware of that the latest version of the add-on (2.0.58) may break your tab navigation functionality.

Symptoms:

  1. CTRL+PG_DOWN (and CTRL+PG_UP) behaved very funny. Instead of setting focus on the next tab, it sets focus on the tab next to the next tab. If I had exactly two tabs, C+PD/PU would always set focus on the tab that currently has the focus, i.e. nothing really happens.
  2. Opening new tabs at the wrong tab order. Always to the right of the last tab.
  3. Closing tabs sets focus on the wrong tab. Always on the first tab.

I am running FF 2.0.0.14 on Ubuntu Gutsy with roughly 30 add-ons enabled. I am way too lazy trying finding out if this issue only happens when certain add-ons are installed/enabled. Unless someone, who is serious in tracking this issue, needs me doing so.

Reverting Delicious Bookmarks to 1.5.44 (avaiable here) resolved the problem.

The last two symptoms described here might have something to do with Tab Mix Plus (I am using 0.3.6). I’ve reported this issue in a review on Firefox Add-ons.

del.icio.us:Delicious Bookmarks Upgrade Breaks Firefox Tab Navigation digg:Delicious Bookmarks Upgrade Breaks Firefox Tab Navigation spurl:Delicious Bookmarks Upgrade Breaks Firefox Tab Navigation newsvine:Delicious Bookmarks Upgrade Breaks Firefox Tab Navigation furl:Delicious Bookmarks Upgrade Breaks Firefox Tab Navigation Y!:Delicious Bookmarks Upgrade Breaks Firefox Tab Navigation 黑米共享書籤:Delicious Bookmarks Upgrade Breaks Firefox Tab Navigation 推推王:Delicious Bookmarks Upgrade Breaks Firefox Tab Navigation
Knock Knock, You’ve Been Hacked!
Posted on April 6th, 2008 at 7:31 by fr3@K

I received an email yesterday afternoon, informing me this blog has been hacked:

Regarding fsfoundry.org,

This email is not an April’s fools email and it has been sent to notify you that your blog’s version is old and needs to be updated ASAP as it was hacked.

While tracking some Viagra spammers I have come accross several links coming from your blog and, after testing it, it appears your blog is 2.1.* generation hence vulnerable to SQL injection blind-fishing attacks. Search Google to learn more. In a few words: spammers can take full control of your blog in a matter of minutes and deface it at will.

These attacks are as serious as they can get as the spammers have full access to your blog and add hidden HTML elements to mask their links.

You MUST update your blog to the latest official WordPress version and manually clean your last 5-10 posts of the parasite links which you will only see in HTML view.

Not doing so may attract severe search engine penalties as you are currently linking to sites with VERY bad reputation.

Hoping you will take required action,
A.S.S. (Anonymous Security Specialist)

PS: I got your email address from your Dashboard / Users Management Section. I have warned many during the past months regarding the vulnerable blogs, being a blogger myself, but it seems I haven’t warned everyone. Lateste WordPress is secure.

PPS: Your login name is XXXX and password hash is XXXXXXXXXXXXXXXXXX

(more…)

del.icio.us:Knock Knock, You've Been Hacked! digg:Knock Knock, You've Been Hacked! spurl:Knock Knock, You've Been Hacked! newsvine:Knock Knock, You've Been Hacked! furl:Knock Knock, You've Been Hacked! Y!:Knock Knock, You've Been Hacked! 黑米共享書籤:Knock Knock, You've Been Hacked! 推推王:Knock Knock, You've Been Hacked!
Mistake in IBM’s developerWorks
Posted on April 3rd, 2008 at 22:47 by fr3@K

Some months ago, I came across a mistake in Kernel command using Linux system calls, published by IBM’s developerWorks.
(more…)

del.icio.us:Mistake in IBM's developerWorks digg:Mistake in IBM's developerWorks spurl:Mistake in IBM's developerWorks newsvine:Mistake in IBM's developerWorks furl:Mistake in IBM's developerWorks Y!:Mistake in IBM's developerWorks 黑米共享書籤:Mistake in IBM's developerWorks 推推王:Mistake in IBM's developerWorks
Happy Birthday, My Dearest Brother
Posted on May 13th, 2007 at 6:55 by fr3@K

Yo, bro. It’s your 27th birthday. It’s the 13th of May and it’s Mother’s day again, just like the day you were born.

Though I can not be there to celebrate this special day with you. Nevertheless, I would like to say this out loud, you are the best brother a guy could ask for.

Happy birthday. I love you man.

del.icio.us:Happy Birthday, My Dearest Brother digg:Happy Birthday, My Dearest Brother spurl:Happy Birthday, My Dearest Brother newsvine:Happy Birthday, My Dearest Brother furl:Happy Birthday, My Dearest Brother Y!:Happy Birthday, My Dearest Brother 黑米共享書籤:Happy Birthday, My Dearest Brother 推推王:Happy Birthday, My Dearest Brother
Mistake in C++ Reference Guide
Posted on April 28th, 2007 at 14:36 by fr3@K

I recently came across a mistake in The rvalue Reference Proposal published in Informit’s C++ Reference Guide.

(more…)

del.icio.us:Mistake in C++ Reference Guide digg:Mistake in C++ Reference Guide spurl:Mistake in C++ Reference Guide newsvine:Mistake in C++ Reference Guide furl:Mistake in C++ Reference Guide Y!:Mistake in C++ Reference Guide 黑米共享書籤:Mistake in C++ Reference Guide 推推王:Mistake in C++ Reference Guide