Some little gems on OSX you might want to know

Here are some little things that might speed you up when working on a Mac.
1. View hidden files in Finder
In terminal type:
defaults write com.apple.finder AppleShowAllFiles TRUE
To hide them again:
defaults write com.apple.finder AppleShowAllFiles FALSE
2. Manage clipboard from command line
To copy the output of a parameter you can use pbcopy:
pwd | pbcopy
The result from pwd will be [...]

FlexPMD Eclipse plugin + FlexPMD 1.0 + FlexCPD 1.0 + FlexMetrics released!

We’ve been busy, very busy during the last weeks. But we’re now very happy to announce the release of:

FlexPMD 1.0
FlexCPD 1.0
FlexMetrics 1.0

And our first beta for the new FlexPMD Eclipse plugin that will better integrate FlexPMD into your development workflow!!
You can find all the documentation for FlexPMD on the wiki and for the plugin http://opensource.adobe.com/wiki/display/flexpmd/FlexPMD+Eclipse+plugin
This [...]

Does an EventDispatcher have subscribed listeners ?

Lately I’ve been reading several discussions around the internals of EventListener, how easy is to create memory leaks, the dependencies between IEventListener and EventListener and onther fancy things. Robert Penner has lots of details around these topics in his 2 part articles:

Critique of as3 events part 1
Critique of as3 events part 2
My new as3 event [...]

FlexPMD now in labs

FlexPMD is a tool that helps to improve code quality by auditing any AS3/Flex source directory and detecting common bad practices, such as:

Unused code (functions, variables, constants, etc.)
Inefficient code (misuse of dynamic filters, heavy constructors, etc.)
Over-complex code (nested loops, too many conditionals, etc.)
Over-long code (classes, methods, etc.)
Incorrect use of the Flex component lifecycle (commitProperties, etc.)
A [...]

Logging and catching (async) exceptions during invalidation

Sometimes, due to many different reasons, there’re exceptions that happen during the invalidation/validation cycle of the flex SDK. Most times these exceptions end up being unveiled in the very core of the SDK, being not possible to catch them up because their async nature and the place where they happen.
The stacktrace of these exceptiosn, normally, [...]

Debugging production ready AIR applications

One of the biggest problems around testing installed AIR applications is that testers can’t see when a runtime exception is triggered. Lots of times the symptom of a problem will be something completely different to the real cause and developers will have to spend much more time trying to figure out what was the root [...]

Code hinting filtering… a little gem

Flash Builder now includes the ability to filter code hints depending on whether the the hint is a property, an style, an event or an effect. Simply press ctrl+space to cycle through them all.

Assert( Gumbo )

Here are the slides I used during my presentation around testing, FlexUnit4 and RIATest.
This movie requires Flash Player 9

swfobject.embedSWF(“https://share.acrobat.com/adc/flex/mpt.swf”, “swf93d13″, “525″, “400″, “9.0.0″, “”, {ext: “pdf”, docId: “fefe9a1b-c7c1-4c62-9563-7fc215adefd3″, lang: “en_US”}, {wmode: “window”, menu: “false”, quality: “high”, bgcolor: “#FFFFFF”, allowFullScreen: “true”}, {});

Hello Gumbo presentation

Here are the slides and sample files I used for the Hello Gumbo presentation I did for the Spanish Flex User group in the context of the Global AUG tour.
This movie requires Flash Player 9

swfobject.embedSWF(“https://share.acrobat.com/adc/flex/mpt.swf”, “swf93d14″, “525″, “400″, “9.0.0″, “”, {ext: “pdf”, docId: “f35f34dc-d6ff-4b4b-abf1-9caa95b25ab7″, lang: “en_US”}, {wmode: “window”, menu: “false”, quality: “high”, bgcolor: “#FFFFFF”, allowFullScreen: [...]