Thursday, March 24, 2011

Unintelligent Design - Multi-page forms

How does a normal programmer handle multi-page forms?  Use a hidden "page" form element with the value being the page number.  Then use switch on the page variable.

How does an "innovative" programmer handle the same problem?  On each page, place a hidden form element named page1, page2, page3, etc.  Then use if/else checking if the variable exists.

Saturday, March 19, 2011

Незабываемая ночь - Unforgetable night

Для молодого и здорового мужчины есть много способов проснуться.  Самый приятный - это когда тебя целуют в ушко и нежно говорят: "Дорогой...спасибо, это была незабываемая ночь..."  Как ни странно, самый ужасный - точно такой же.  Только голос при этом мужской и говорит с кавказским акцентом.

For a young and healthy man, there are many ways for waking up.  The most pleasurable, is when someone kisses your ear and affectionately says: "Darling...thank you, that was an unforgettable night..."  Ironically, the worst way for waking up is identical.  The difference is that the voice is male and speaks with a Caucasian accent.

Лукьяненко, С.  Черновик 168.