Viewing by month: March 2009

I use regex a lot, it's extremly powerful when used correctly. That said, sometimes I get tired of refreshing my page multiple times before I get something to work right... Enter "Eclipse Regular Expression Tester"; I've been running this for a couple days now and I've been pretty happy with it. So in case you never thought of getting something like this like me, I wanted to put this out there as a recomendation.

Usage was very simple, paste your multi-line content in the bottom box and type your expression into the top box. What ever your regex expression would select ends up getting highlighted down below... Pretty slick and super simple. No need for frills here.

Eclipse Regular Expression Tester

Actually I'm not sure if this is in the manual, but last week I briefly tried to use the latest version of Chris Scott's Swiz framework for flex from SVN. When I couldn't get it to work I went back to the latest SWC release that I had. Last night I randomly stumbled on an introduction to Swiz that Chris did mentioning build arguments required.

So in short, if your building Swiz from source (or plan on it) don't forget to add the following line of code to the Swiz project compiler:

-keep-as3-metadata+=Autowire,Mediate,Event

A small bug was brought to my attention this morning regarding my code colorer and long posts. I did have a math error that has now been fixed; the bug could cause long posts to be truncated if using a non-classed <code>.

If your one of the many who is already using this plug-in I would recommend an update. If you haven't tried it yet, of course I encourage you to do so!

Download The Latest Version of Mango Code Color by EGPS Here

Font choice can make a huge difference in ease of programming. Easily knowing the differences betweens "1"s and "I"s, "0"s and "o"s can help lesson both mistakes and eye strain. Sometimes my choice is based on monitor. I use to love the Anonyomous font; however with my current screen, it looks strained somehow. I'm currently test driving Consolas Regular.

There is no perfect choice, but there are some general rules that I think should be tested for every font used to develop with.

  1. Clear easy to read & not too compressed
  2. Differentiated characters, ie: 1,I & 0,O
  3. Monospaced / fixed widths (not everyone agrees with this)

Some of my recomendations:

There are multiple multiple options for fonts, so if you've got something... I'm always looking for something better. If you've never tried to change your IDE font, you should. You might find your headachs to be a little bit less at the end of the day!

  1. Is your Flex builder throwing the error "Process terminated without establishing connection to debugger" when your try to launch your Air Application?
  2. Did you recently upgrade your SDK or the entire Flex Builder application, maybe to SDK 1.3?
  3. Are you working with a pre-existing project?

Open up your projects "projectName-app.xml" file in your source root. The second line will most likely be:
<application xmlns="http://ns.adobe.com/air/application/1.1">

Change it to:
<application xmlns="http://ns.adobe.com/air/application/1.5">

Your project should run just fine on recompile