Jul 03

This is the tutorial for flex profiler. It’s good for the beginners to finding a leaking object. !!

http://blogs.adobe.com/aharui/profiler/ProfilerScenarios.swf

written by Freaking_crack

Jul 03

Garbage collection is good. Blocking garbage collection is bad. Event listeners, when they’re not added with care, can be a barrier to garbage collection, because they make it look like unused objects are still needed. A Flex best practice is to set the 5th parameter in addEventListener to true, as the example below shows:

component.addEventListener( MOUSE.ACTION , onMonthChange, false, 0, true );

Implicit in this is also the idea that you should add your event listeners in ActionScript, rather than MXML. Our initial prototype does not follow this practice, but we should try to follow it going forward.

written by Freaking_crack

Jun 24

I have found this interesting effect on “The EconomicNaturalist WHY ECONOMICS EXPLAINS ALMOST EVERYTHING”

It explains that why “the rich get richer and the poor get poorer” of the Matthe effect, so I will quote the statement from Wiki first.

The Matthew effect in sociology is the phenomenon that “the rich get richer and the poor get poorer”. Those who possess power and economic or social capital can leverage those resources to gain more power or capital. The Matthew effect results in a power law distribution of resources. The term was first coined by sociologist Robert K. Merton and takes its name from a line in the biblical Gospel of Matthew:
For the example, the book explains that why is it easier to find a partner when you already have one?. The situation begins at a man asked an attractive woman to meet at the bar at one night. When the twos met at the bar, suddendly the woman caressed his arm, gazed lovingly into his eyes and whispered frequently in his ear. The she announced her departure, asking him to meet her for coffee the next day. What happens next? Most of the women in that bar made contact with the man.

Why?
‘It’s hard to tell whether someone’s OK just by looking at him’ the woman said. But because of the fact that she, an attractive woman, was paying such close attention to a man she obviously knew well was a credible signal that he was OK.

written by Freaking_crack