Monday, December 7, 2009

Why Google Will Die One Day!

I was trying to post a comment on a youtube video today and found that there was a bug in the comment feature. I am not sure on what the bug is but it surprised me that, a major destination on web had a bug on a very basic feature with a lot of talented engineers behind it. Where is the flaw? process? ownership? View this screencast (watch it on screencast if you cannot see on whats going on) -
View on screencast.com »

 

Posted via email from spartan's posterous

Sunday, December 6, 2009

கனவா நினைவா

(மணம்)
கனவா நினைவா என் கண்கள் தேடும் தீவா
உறவா உயிரா என் மனதில் பூத்த பூவா
உனை வேராக உறிஞ்சிடுவேனா
எனை தீயாக சுடுபவள் நீயா
மழையாய் மனதில் விழுந்தவள் நீயே தானா...

(மலர்)
எனை தாங்கும் புவி தாயே
உயிரான மெய் நீயே
இதயத்தில் இன்று கேட்கும் இசை நீயடா
கடலோர அலை நீயே
எனை தீண்ட வருவாயே
நிழலாக நானும் அன்பே நிஜம் நீயடா
மலரில் மனமாய் ஒன்று சேர்ந்தவன் நீயடா

(நிழல்)
கனவாய் நினைவாய் என் கண்கள் தேடும் தீவா
உறவா உயிரா என் மனதில் பூத்த பூவா
(நிஜம்)
உனை வேராக உறிஞ்சிடுவேனா
எனை தீயாக சுடுபவள் நீயா
(நிழல்)
மழையாய் மனதில் விழுந்தவன் நீயே தானா...

(உயிர் - நிழல் + நிஜம்)
கனவா நினைவா என் கண்கள் தேடும் தீவா
உறவா உயிரா என் மனதில் பூத்த பூவா..

Posted via email from spartan's posterous

Wednesday, October 28, 2009

Events Evolved by Luke Smith

  • Event handling history- we normalized the event listening mechanism and the event objects are normalized today.
  • Normalized subscription, normalized event handling, DOM like method names
  • In YUI3 the node instance gives a dom like contenxt, we give you the DOM and it works!
  • example - node.on("click", clickHandler) - this is more of JQuery style where everything is JQuery
  • custom events are normalized too from YUI 2 to 3. The event methods are shortened now

Posted via web from spartan's posterous

YUI3 Performance - Matt Sweeney

  • use the minimal seed or the seed plus loader
  • third way to do it is to have one big combo handler and do YUI().use("*", function(){}) This will make sure that you have everything you need at the beginnning. It also avoids addditional http request
  • lazy loading - using the use statements you can literally load everyhing on demand, except for the seed. This works for any dependencies such as css, etc.
  • imageloader helps deferring the load of images - developer.yahoo.com/yui/imageloader
  • you can either use modules to load your own code, or do a get script call with a function callback. The modules has the dependencies detection feature and load them which is great.
  • You can use custom class to do manual event delegation in YUI2. You can do the same using delegate() in YUI3, which is a performance benefit?
  • the listener objects that you get back for event listeners have methods on which you can call detach() to remove them
  • Y.later - runs asynchronously

Posted via web from spartan's posterous

YUI3 First Concepts

  • yui+loader is the seed file which should be loaded initially and it will take care of loading the rest
  • yui-min is still minimal if you are concerned about the yui + loader size which is 11kb. yui-min is just 6kb
  • add phase is where you can load your custom code from custom location
  • Al the modules in YUI3 are broken down into submodules so that you can selectively load what you want. For example if you are using just xhr in connection, you can just load io-min and you are done. This helps you a lot in bringing down the overall footprint

 

Posted via web from spartan's posterous

Monday, October 19, 2009

Benefits of Drinking!

 

BENEFITS OF DRINKING....Decide ur BRAND now, if u care about ur healthJ

A Common message to everyone who says drinking is bad. Here are the advantages of each brand that people drink.

DCSL EXTRA SPECIAL

Protects your heart

prevents constipation

Blocks diarrhea

Improves lung capacity

Cushions joints

 

 

 

 

WHITE DIAMOND

Combats cancer

Controls blood pressure

Saves your eyesight

Shields against Alzheimer's

Slows aging process

 

 

 

 

BLUE LABEL

Aids digestion

Lowers cholesterol

Protects your heart

Stabilizes blood sugar

Guards against liver disease

 

 

 

 

DOUBLE DISTILLED

Battles diabetes

Lowers cholesterol

Helps stops strokes

Controls blood pressure

Smoothes skin

 

 

 

 

OLD RESERVE

Protects your heart

Quiets a cough

Strengthens bones

Controls blood pressure

Blocks diarrhea

 

 

 

 

RITZ

Prevents constipation

Helps hemorrhoids

Lowers cholesterol

Combats cancer

Stabilizes blood sugar

 

 

 

 

RICHORT

Controls blood pressure

Combats cancer

Strengthens bones

Protects your heart

Aids weight loss

 

 

 

 

HANNEPIER

Combats cancer

Protects your heart

Stabilizes blood sugar

Boosts memory

Prevents constipation

 

 

 

 

FRANKLIN

Strengthens bones

Saves eyesight

Combats cancer

Protects your heart

Controls blood pressure

 

 

 

 

VSO

Combats cancer

Prevents constipation

Promotes weight loss

Protects your heart

Helps hemorrhoids

 

 

 

 

GALLERY

Saves eyesight

Controls blood pressure

Lowers cholesterol

Combats cancer

Supports immune system

 

 

 

 

RED RUM

Saves eyesight

Protects your heart

Prevents constipation

Combats cancer

Promotes weight loss

 

 

 

 

DARK RUM

Protects against Prostate Cancer

Combats Breast Cancer

Strengthens bones

Banishes bruises

Guards against heart disease

 

 

 

 

HANSEN

Protects your heart

Combats Cancer

Ends insomnia

Slows aging process

Shields against Alzheimer's

 

 

 

 

BLACK WHITE

Promotes weight loss

Protects your heart

Lowers cholesterol

Combats Cancer

Controls blood pressure

 

 

 

 

RED LABEL

Aids digestion

Soothes sore throat

Clears sinuses

Combats Cancer

Boosts immune system

 

 

 

 

BLACK LABEL

Promotes weight loss

Helps stops strokes

Lowers cholesterol

Combats Cancer

Controls blood pressure

 

 

 

 

GOLD LABEL

Protects your heart

Boosts memory

Protects your heart

Combats Cancer

Supports immune system

 

spanspanspanspan

Posted via email from spartan's posterous

Wednesday, October 7, 2009

10 (may be more) Essential Things To Develop On Opera

Below are quick notes that I could take from a presentation by Opera team at Yahoo!

 

  • Tools -> Advanced -> Developer Tools: This opens up development utilities very similar to firebug
  • You can download web developer extensions from opera website
  • Info panel shows information about the current page such as scripts, css, etc
  • Reload from cache reloads the page from cache
  • X-Forwarded-For HTTP Header: For opera mini and opera turbo the rendering is done on hte server. So do not use IP addresses to detect the location on a server. Instead use the X-Forwared header to detect the location of th user.
  • viewport meta tag is used to specify the dimensions of a webpage which was introduced by Apple on iphones. Opera supports this for mobile as well as desktop. Do not use "fixed width" though. For example, use <meta name="viewport" content="device-width"> instead of <meta name="viewport" content="width=320">
  • use media queries: you can totally change the layout based on the media queries. Its supported live on Opera (at runtime) whereas you have to reload the page in case of browsers like safari and firefox
  • media queries are very powerful to present your page under different resolutions
  • use window.opera to detect if its opera browser
  • Opera 10 still pretends that its 9.8, so if you check for the Opera version from the User Agent string then you will be treating opera 10 as 9.8 You can use the layout rendering engine Presto version to make this detection if you really need to. The version of rendering engine is different, By the way, they decided to pretend as 9.8 because IIS servers (hail MSFT!) parses only the first digit in the version number and they started treating Opera 10 as Opera 1. This is simply hilarious to me. I will appreciate if they screw MSFT and send the user agent as 10
  • marker share for opera: people say its only 1% but its really not. If you do not support you loose a huge user base in european network. This is because european countries has lower network speeds and Opera is optimized to work under this conditions
  • Opera has 37% of the market in Russia
  • BRIC - Brazil, Russia, India and China are the developing markets in internet space and the next 11 countries

Posted via web from spartaa's posterous

10 Essential Things To Develop On Opera

Tools -> Advanced -> Developer Tools: This opens up development utilities very similar to firebug

Posted via web from spartaa's posterous

Thursday, September 17, 2009

Trying Out Posterous!

Hope this gets me active on blogosphere, apparently blogger did not.

Posted via web from spartaa's posterous

Friday, September 11, 2009

ப்ராஜெக்ட் நா என்ன? - ஒரே காமெடி


"
ம்பா இந்த கம்ப்யூட்டர் படிச்சவங்க எல்லாம் நிறைய சம்பளம் வாங்கிட்டுபந்தா பண்ணிட்டு ஒரு தினுசாவே அலையுறீங்களேஅப்படிஎன்னதான் வேலை பார்பீங்க?" - நியாயமான ஒரு கேள்வியை கேட்டார் எனது அப்பாநானும் விவரிக்க ஆரம்பிதேன்.
"
வெள்ளைகாரனுக்கு எல்லா வேலையும் சீக்கிரமா முடியனும்அதே மாதிரி எல்லா வேலையும் அவனோட வீட்டுல இருந்தே செய்யணும்.இதுக்காக எவ்வளவு பணம் வேணுமானாலும் செலவு செய்ய தயாரா இருக்கான்."
"
அது சரி பல்லு இருக்குறவன் பக்கோடா சாப்பிடுறான்".
"
இந்த மாதிரி அமெரிக்கால்-இங்கிலாந்து- இருக்குற Bank, இல்ல எதாவது கம்பெனி, "நான் செலவு செய்ய தயாரா இருக்கேன்.எனக்கு இத செய்து கொடுங்க கேப்பாங்கஇவங்கள நாங்க "Client"னு சொல்லுவோம்.
"
சரி"
"
இந்த மாதிரி Client- மோப்பம் பிடிக்குறதுக்காகவே எங்க பங்காளிக கொஞ்ச பேர அந்த அந்த ஊருல உக்கார வச்சி இருப்போம்.இவங்க பேரு "Sales Consultants, Pre-Sales Consultants....". இவங்க போய் Client கிட்ட பேச்சுவார்த்தை நடத்துவாங்ககாசுகொடுகுறவன் சும்மாவா கொடுப்பான்ஆயிரத்தெட்டு கேள்வி கேப்பான்உங்களால இத பண்ண முடியுமாஅத பண்ண முடியுமான்னுஅவங்க கேக்குற எல்லாம் கேள்விக்கும், "முடியும்"னு பதில் சொல்றது இவங்க வேலை.
"
இவங்க எல்லாம் என்னப்பா படிச்சுருபாங்க"?
"MBA, MS
னு பெரிய பெரிய படிபெல்லாம் படிச்சி இருப்பாங்க."
"
முடியும்னு ஒரே வார்த்தைய திரும்ப திரும்ப சொல்றதுக்கு எதுக்கு MBA படிக்கணும்?" - அப்பாவின் கேள்வியில் நியாயம் இருந்தது.
"
சரி இவங்க போய் பேசின உடனே client project கொடுத்துடுவானா?"
"
அது எப்படிஇந்த மாதிரி பங்காளிக எல்லா கம்பெனிளையும் இருப்பாங்க. 500 நாள்ல முடிக்க வேண்டிய வேலைய 60 நாள்ள முடிச்சுதரோம், 50 நாள்ல முடிச்சு தரோம்னு பேரம் பேசுவாங்கஇதுல யாரு குறைஞ்ச நாள சொல்றாங்களோ அவங்களுக்கு ப்ராஜெக்ட்கிடைக்கும்"
"500
நாள்ல முடிக்க வேண்டிய வேலைய 50 நாள்ல எப்படி முடிக்க முடியும்ராத்திரி பகலா வேலை பார்த்தாலும் முடிக்க முடியாதே?"
"
இங்க தான் நம்ம புத்திசாலித்தனத்த நீங்க புரிஞ்சிக்கணும். 50 நாள்னு சொன்ன உடனே client சரின்னு சொல்லிடுவான்ஆனா அந்த 50நாள்ல அவனுக்கு என்ன வேணும்னு அவனுக்கும் தெரியாதுஎன்ன செய்யனும்னு நமக்கும் தெரியாதுஇருந்தாலும் 50 நாள் முடிஞ்ச பிறகுப்ரோஜெக்ட்னு ஒன்ன நாங்க deliver பண்ணுவோம்அத பாத்துட்டு "ஐய்யோ நாங்க கேட்டது இதுல்லஎங்களுக்கு இது வேணும்அதுவேணும்னுபுலம்ப ஆரம்பிப்பான்.
"
அப்புறம்?" - அப்பா ஆர்வமானார்.
"
இப்போ தான் நாங்க நம்பியார் மாதிரி கைய பிசஞ்சிகிட்டே "இதுக்கு நாங்க CR raise பண்ணுவோம்"னு சொல்லுவோம்.
"CR-
னா?"
"Change Request.
இது வரைக்கும் நீ கொடுத்த பணத்துக்கு நாங்க வேலை பார்த்துட்டோம்இனிமேல் எதாவது பண்ணனும்னா எக்ஸ்ட்ரா பணம்கொடுக்கணும்"னு சொல்லுவோம்இப்படியே 50 நாள் வேலைய 500 நாள் ஆக்கிடுவோம்."
அப்பாவின்
முகத்தில் லேசான பயம் தெரிந்தது.
"
இதுக்கு அவன் ஒத்துபானா?"
"
ஒத்துகிட்டு தான் ஆகணும்முடி வெட்ட போய்ட்டுபாதி வெட்டிட்டு வர முடியுமா?"
"
சரி ப்ராஜெக்ட் உங்க கைல வந்த உடனே என்ன பண்ணுவீங்க?"
"
முதல்ல ஒரு டீம் உருவாக்குவோம்இதுல ப்ராஜக்ட் மேனேஜர்னு ஒருத்தர் இருப்பாருஇவரது தான் பெரிய தலைப்ராஜெக்ட் சக்சஸ்ஆனாலும்ஃபெயிலியர் ஆனாலும் இவரு தான் பொறுப்பு."
"
அப்போ இவருக்கு நீங்க எல்லாரும் பண்ற வேலை எல்லாம் தெரியும்னு சொல்லு."
"
அதான் கிடையாதுஇவருக்கு நாங்க பண்ற எதுவும்யே தெரியாது."
"
அப்போ இவருக்கு என்னதான் வேலை?" - அப்பா குழம்பினார்.
"
நாங்க என்ன தப்பு பண்ணினாலும் இவர பார்த்து கைய நீட்டுவோம்எப்போ எவன் குழி பறிப்பானு டென்ஷன் ஆகி டயர்ட் ஆகி டென்ஷன்ஆகுறது தான் இவரு வேலை."
"
பாவம்பா"
"
ஆனா இவரு ரொம்ப நல்லவருஎங்களுக்கு எந்த பிரச்னை வந்தாலும் இவரு கிட்ட போய் சொல்லலாம்."
"
எல்லா பிரச்னையும் தீர்த்து வச்சிடுவார?"
"
ஒரு பிரச்சனைய கூட தீர்க்க மாட்டாருநாங்க என்ன சொன்னாலும் தலையாட்டிகிட்டே உன்னோட பிரச்னை எனக்கு புரியுதுனு சொல்றதுமட்டும் தான் இவரோட வேலை."
"
நான் உன்னோட அம்மா கிட்ட பண்றது மாதிரி?!"
"
இவருக்கு கீழ டெக் லீட்மோடுல் லீட்டெவலப்பர்டெஸ்டர்னு நிறைய அடி பொடிங்க இருப்பாங்க."
"
இத்தனை பேரு இருந்துஎல்லாரும் ஒழுங்கா வேலை செஞ்சா வேலை ஈஸியா முடிஞ்சிடுமே?"
"
வேலை செஞ்சா தானேநான் கடைசியா சொன்னேன் பாருங்க... டெவலப்பர்டெஸ்டர்னுஅவங்க மட்டும் தான் எல்லா வேலையும்செய்வாங்கஅதுலையும் இந்த டெவலப்பர்,வேலைக்கு சேரும் போதே "இந்த குடும்பத்தோட மானம்மரியாதை உன்கிட்ட தான் இருக்குனு"சொல்லிநெத்தில திருநீறு பூசி அனுப்பி வச்ச என்னைய மாதிரி தமிழ் பசங்க தான் அதிகம் இருப்பாங்க."
"
அந்த டெஸ்டர்னு எதோ சொன்னியேஅவங்களுக்கு என்னப்பா வேலை?"
"
இந்த டெவலப்பர் பண்ற வேலைல குறை கண்டு பிடிக்கறது இவனோட வேலைபுடிக்காத மருமக கை பட்டா குத்தம்கால் பட்டா குத்தம்இங்குறது மாதிரி."
"
ஒருத்தன் பண்ற வேலைல குறை கண்டு பிடிகுறதுக்கு சம்பளமாபுதுசா தான் இருக்குசரி இவங்களாவது வேலை செய்யுராங்களா.சொன்ன தேதிக்கு வேலைய முடிச்சு கொடுத்துடுவீங்கள்ள?"
"
அது எப்படி..? சொன்ன தேதிக்கு ப்ராஜக்டை முடிச்சி கொடுத்தாஅந்தக் குற்ற உணர்ச்சி எங்க வாழ்கை முழுவதும் உறுத்திக்கிட்டுஇருக்கும்நிறைய பேரு அந்த அவமானத்துக்கு பதிலா தற்கொலை செய்துக்கலாம்னு சொல்லுவாங்க"
"
கிளையன்ட் சும்மாவா விடுவான்ஏன் லேட்னு கேள்வி கேக்க மாட்டான்?"
"
கேக்கத்தான் செய்வான்இது வரைக்கும் டிமுக்குள்ளையே காலை வாரி விட்டுக்கிட்டு இருந்த நாங்க எல்லாரும் சேர்ந்து அவன் காலைவார ஆரம்பிப்போம்."
"
எப்படி?"
"
நீ கொடுத்த கம்ப்யூட்டர்- ஒரே தூசியா இருந்துச்சுஅன்னைக்கு டீம் மீட்டிங்ல வச்சி நீ இருமினஉன்னோட ஹேர் ஸ்டைல் எனக்குபுடிகலை." இப்படி எதாவது சொல்லி அவன குழப்புவோம்அவனும் சரி சனியன எடுத்து தோள்ல போட்டாச்சுஇன்னும் கொஞ்ச நாள்தூங்கிட்டு போகட்டும்னு விட்டுருவான்".
"
சரி முன்ன பின்ன ஆனாலும் முடிச்சி கொடுத்துட்டு கைய கழுவிட்டு வந்துடுவீங்க அப்படித்தான?"
"
அப்படி பண்ணினாநம்ம நாட்டுல பாதி பேரு வேலை இல்லாம தான் இருக்கணும்."
"
அப்புறம்?"
"
ப்ராஜக்டை முடிய போற சமயத்துல நாங்க எதோ பயங்கரமான ஒன்ன பண்ணி இருக்குற மாதிரியும்அவனால அத புரிஞ்சிக்க கூடமுடியாதுங்கற மாதிரியும் நடிக்க ஆரம்பிப்போம்."
"
அப்புறம்?"
"
அவனே பயந்து போய், "எங்கள தனியா விட்டுடாதீங்கஉங்க டீம்- ஒரு ஒன்னுரெண்டு பேர உங்க ப்ரொஜெக்ட பார்த்துக்கசொல்லுங்கன்னுபுது பொண்ணு மாதிரி புலம்ப ஆரம்பிச்சிடுவாங்க." இதுக்கு பேரு "Maintanence and Support". இந்த வேலை வருஷகணக்கா போகும்.
"
ப்ராஜக்ட் அப்படிங்கறது ஒரு பொண்ண கல்யாணம் பண்ணி வீட்டுக்கு கூட்டிட்டு வர்றது மாதிரிதாலி கட்டினா மட்டும் போதுவருஷகணக்கா நிறைய செலவு செஞ்சு பராமரிக்க வேண்டிய விசயம்னுஇப்போ தான் கிளைன்டுக்கு புரிய ஆரம்பிக்கும்.
"
எனக்கும் எல்லாம் புரிஞ்சிடுப்பா."