Archive

Archive for September, 2007

Use LSP, If downcasts exist try ‘Replace Conditional with Polymorphism’

September 30, 2007 Leave a comment
Categories: Great Links

Scott Hanselman ed again

September 26, 2007 Leave a comment

Not for his tools list / interview questions but for his Weekly Source Code series.
I’ve decided to walk along with him, in his quest to read source code to be a better developer
http://www.hanselman.com/blog/CategoryView.aspx?category=Source+Code

Categories: Great Links

ஒவ்வொரு பூக்களுமே சொல்கிறதே

September 26, 2007 1 comment

ஒவ்வொரு பூக்களுமே சொல்கிறதே
வாழ்வென்றால் போராடும் போர்களமே
ஒவ்வொரு
விடியலுமே சொல்கிறதே
இரவானால் பகலொன்று வந்திடுமே

நம்பிக்கை என்பது
வேண்டும்….நம் வாழ்வில்
லட்சியம் நிச்சயம் வெல்லும் ஒரு நாளில்
மனமே! ஓ
மனமே!! நீ மாறிவிடு
மலையோ அது பனியோ நீ மோதிவிடு

உள்ளம் என்றும் எப்போதும் உடைந்து போக கூடாது
என்ன இந்த வாழ்க்கை என்று
எண்ணம் தோன்ற கூடாது
எந்த மனித நெஞ்சுக்குள் காயம் இல்லை சொல்லுங்கள்

காலபோக்கில் காயமெல்லாம் மறைந்து போகும் மாயங்கள்

உளி தாங்கும் கற்கள்
தானே மண்மீது சிலையாகும்
வலி தாங்கும் உள்ளம் தானே நிலையான சுகம் காணும்

யாருக்கில்லை போராட்டம் கண்ணில் என்ன நீரோட்டம்
ஒரு கனவு கண்டால் அதை
தினம் முயன்றால் ஒரு நாளில் நிஜமாகும்

வாழ்த்து கவிதை வாசிப்போம் வானம் அளவை யோசிப்போம்
முயற்சியென்ற ஒன்றை
மட்டும் மூச்சுபோல சுவாசிப்போம்
லட்சம் கனவு கண்ணோடு லட்சியங்கள் நெஞ்சோடு

உன்னை வெல்ல யாருமில்லை உறுதியோடு போராடு

மனிதா! உன் மனதை கீறி விதை போடு
மரமாகும்
அவமானம் படுதோல்வி எல்லாமே உருவாகும்
தோல்வியின்றி வரலாறா?
துக்கம் இல்லை என் தோழா
ஒரு முடிவிருந்தால் அதில் தெளிவிருந்தால் அந்த
வானம் வசமாகும்

Courtesy: http://en.wikipedia.org/wiki/Ovvoru_Pookalume

Categories: Inspirational Stuff

சத்தம் இல்லாத தனிமை கேட்டேன்

September 26, 2007 Leave a comment
சத்தம் இல்லாத தனிமை கேட்டேன்
யுத்தம் இல்லாத உலகம் கேட்டேன்
ரத்தத்தில் என்றென்றும் வேகம் கேட்டேன்
ரகசியமாய் ஒரு உள்ளம் கேட்டேன்

(சத்தம்)

சத்தம் இல்லாத தனிமை கேட்டேன்
யுத்தம் இல்லாத உலகம் கேட்டேன்
ரத்தத்தில் என்றென்றும் வேகம் கேட்டேன்
ரகசியமில்லா ஒரு உள்ளம் கேட்டேன்

உயிரைக் கிள்ளாத உறவைக் கேட்டேன்
ஒற்றைக் கண்ணீர்த் துளியைக் கேட்டேன்
வரிகள் செய்யாத வார்த்தை கேட்டேன்
வயதுக்குச் சரியான வாழ்க்கை கேட்டேன்

இடிகள் இல்லாத மேகம் கேட்டேன்
இளமை கெடாத மோகம் கேட்டேன்
பறந்து பறந்து நேசம் கேட்டேன்
பாசாங்கில்லாத பாசம் கேட்டேன்

புல்லின் நுனியில் பனியைக் கேட்டேன்
பூவின் மடியில் படுக்கை கேட்டேன்
தானே உறங்கும் விழியைக் கேட்டேன்
தலையைக் கோதும் விரலைக் கேட்டேன்

நிலவில் நனையும் சோலை கேட்டேன்
நீலக் குயிலின் பாடல் கேட்டேன்
நடந்துபோக நதிக்கரை கேட்டேன்
கிடந்து உருளப் புல்வெளி கேட்டேன்

தொட்டுப் படுக்க நிலவைக் கேட்டேன்
எட்டிப் பிடிக்க விண்மீண் கேட்டேன்
துக்கம் மறந்த தூக்கம் கேட்டேன்
தூக்கம் மணக்கும் கனவைக் கேட்டேன்

பூமிக்கெல்லாம் ஒரு பகல் கேட்டேன்
பூவுக்கெல்லாம் ஆயுள் கேட்டேன்
மனிதர்கெல்லாம் ஒரு மனம் கேட்டேன்
பறவைக்கெல்லாம் தாய்மொழி கேட்டேன்

உலகுக்கெல்லாம் சம மழை கேட்டேன்
ஊருக்கெல்லாம் ஒரு நதி கேட்டேன்
வானம் முழுக்க நிலவைக் கேட்டேன்
வாழும் போதே சொர்க்கம் கேட்டேன்

எண்ணம் எல்லாம் உயரக் கேட்டேன்
எரியும் தீயாய் கவிதை கேட்டேன்
கண்ணீர் கடந்த ஞானம் கேட்டேன்
காமம் கடந்த யோகம் கேட்டேன்

சுற்றும் காற்றின் சுதந்திரம் கேட்டேன்
சிட்டுக் குருவியின் சிறகைக் கேட்டேன்
உச்சந்தலை மேல் மழையைக் கேட்டேன்
உள்ளங்காலில் நதியைக் கேட்டேன்

பண்கொண்ட பாடல் பயிலக் கேட்டேன்
பறவைக்கிருக்கும் வானம் கேட்டேன்
நன்றி கெடாத நட்பைக் கேட்டேன்
நடுங்கவிடாத செல்வம் கேட்டேன்

மலரில் ஒருநாள் வசிக்கக் கேட்டேன்
மழையின் சங்கீதம் ருசிக்கக் கேட்டேன்
நிலவில் நதியில் குளிக்கக் கேட்டேன்
நினைவில் சந்தனம் மணக்கக் கேட்டேன்
விழுந்தால் நிழல்போல் விழவே கேட்டேன்
அழுதால் மழைபோல் அழவே கேட்டேன்

ஏகாந்தம் என்னோடு வாழக் கேட்டேன்
எப்போதும் சிரிக்கின்ற உதடுகள் கேட்டேன்
பனித்துளி போல் ஒரு சூரியன் கேட்டேன்
சூரியன் போல் ஒரு பனித்துளி கேட்டேன்

ராஜராஜனின் வாளைக் கேட்டேன்
வள்ளுவன் எழுதிய கோலைக் கேட்டேன்
பாரதியாரின் சொல்லைக் கேட்டேன்
பார்த்திபன் தொடுத்த வில்லைக் கேட்டேன்
மாயக் கண்ணன் குழலைக் கேட்டேன்
மதுரை மீனாட்சி கிளியைக் கேட்டேன்

சொந்த உழைப்பில் சோற்றைக் கேட்டேன்
தொட்டுக் கொள்ள பாசம் கேட்டேன்
மழையைப் போன்ற பொறுமை கேட்டேன்
புல்லைப் போன்ற பணிவைக் கேட்டேன்

புயலைப் போன்ற துணிவைக் கேட்டேன்
இடியைத் தாங்கும் தோள்கள் கேட்டேன்
இழிவைத் தாங்கும் இதயம் கேட்டேன்
துரோகம் தாங்கும் வலிமைக் கேட்டேன்

தொலைந்துவிடாத பொறுமை கேட்டேன்
சொன்னது கேட்கும் உள்ளம் கேட்டேன்
சொன்னால் சாகும் வேகம் கேட்டேன்
கயவரை அறியும் கண்கள் கேட்டேன்

காலம் கடக்கும் கால்கள் கேட்டேன்
சின்ன சின்னத் தோல்விகள் கேட்டேன்
சீக்கிரம் ஆறும் காயம் கேட்டேன்
மூடியில்லாத முகங்கள் கேட்டேன்
போலியில்லாத புன்னகை கேட்டேன்
தவழும் வயதில் தாய்ப்பால் கேட்டேன்

தாவும் வயதில் பொம்மைகள் கேட்டேன்
ஐந்து வயதில் புத்தகம் கேட்டேன்
ஆறாம் விரலாய் பேனா கேட்டேன்
காசே வேண்டாம் கருணை கேட்டேன்

தலையணை வேண்டாம் தாய்மடி கேட்டேன்
கூட்டுக் கிளி போல் வாழக் கேட்டேன்

குறைந்த பட்ச அன்பைக் கேட்டேன்
இத்தனை கேட்டும் கிடைக்கவில்லை
இதிலே எதுவும் நடக்கவில்லை
வாழ்வே வாழ்வே வேண்டாம் என்று
மரணம் மரணம் மரணம் கேட்டேன்

Courtesy: http://kvsshanmugam.blogspot.com/2007/09/blog-post.html

Categories: Inspirational Stuff

My sister’s blog

September 25, 2007 Leave a comment

My little sister started blogging. No its not about Software.
http://rakskitchen.blogspot.com

Categories: Uncategorized

How to be depressed

September 25, 2007 Leave a comment
Leon has a great post here. I couldn’t help ROFL. Do not miss this.
I learnt a lot from this article.
Categories: Inspirational Stuff

On the push vs pull model

September 24, 2007 1 comment

I had assumed wrongly that everyone is interested in learning something.
‘People are so different’. There is a thin line helping people learn / forcing people to learn.
I have been hopping from this side of the line to the other frequently to achieve the end goal (people should not struggle like myself into their next role as a designer or architect or whatever). I have decided with my experience that pull model is the only one which works. You really ought to be highly motivated to try the push model (with a mix of success and failure). I’ll continue blogging and interested folks can pull stuff.

Every one is really busy and async learning might probably work.

Categories: Uncategorized

Nested Hierarchical (Recursive) Repeater

September 22, 2007 Leave a comment
Blogmarking it for future reference http://www.codeproject.com/useritems/Hierarchical_Repeater.asp.
I wanted to get hold of this yesterday, but couldn’t for some reason. Are my google skills giving up on me? 
Categories: Great Links

Talking about ABCs Dynamic Controls

September 22, 2007 Leave a comment

Relinking again, A nice series.

Quote

ABCs Dynamic Controls

Dynamic Controls Demystified, Some of the things will ease you of the pain.

http://weblogs.asp.net/infinitiesloop/archive/2007/09/04/TRULY-Understanding-Dynamic-Controls-_2800_Part-4_2900_.aspx

Categories: Great Links

A nice discussion on Jeremy’s blog about generated code

September 21, 2007 Leave a comment

Jeremy has a post going on the quality of generated code. I liked Frans Bouma’s comment below. I am reproducing it word by word here, as no one generally reads scrolls down to the bottom of comments in a long discussion.

"Of course, if the template sucks and the meta data is lacking, the generated code will suck as well, at least on the scale of suck used by the reader of the code.

So to get good code generated, you need to have good templates AND good meta-data. If either one of them (so a good template with sucky meta-data also gives bad results) is lacking in some area, you won’t get stellar results.

That doesn’t mean the concept of code generation sucks. the thing with code generation is that, IF the template and meta-data is OK, a code generator will beat any developer, simply because it won’t make mistakes every X lines of code and won’t get bored so it will take shortcuts nor will it get tired of the repetitive piles of goo it has to write.

I must say that I always find it a little funny that a developer declares code generation not that great a technique, so in other words: he himself is always capable of writing better code than a code generator can.

the thing is: that’s a lie. You can’t beat a code generator with proper templates and OK meta-data, simply because the code generator won’t make errors.

But again: make no mistake: it is essential that the templates and meta-data are OK. this means that the templates have to be created from hand-written code, then the generated code has to be tested, profiled, checked for lame mistakes. This process has to be repeated till there are NO BUGS in the templates left and no lame lines of code left in the templates which make whinetools like fxcop throw up.

Code generators are just typing machines: they do the typing for you. If you look at them that way, there’s no magic, they’re just handy because who wants to type for weeks after weeks if a code generator can do that in a minute?

MS’ internal code generator isn’t that great, as it doesn’t use templates, it uses the CodeDOM. This isn’t a great decision because you can’t alter the template to make it better.

"
Wise words. But again: make no mistake: it is essential that the templates and meta-data are OK

Categories: Great Links