Local Spending Reports
Local Spending Reports was launched in the beginning of April by the Department for Communities and Local Government.
It’s a high-profile data visualisation application, presenting statistical figures on charts and maps.
Local Spending Reports was launched in the beginning of April by the Department for Communities and Local Government.
It’s a high-profile data visualisation application, presenting statistical figures on charts and maps.
sourcemate is a Flash Builder plug-in which brings in some of the features this IDE has always been lacking, i.e. code generation, refactoring, code templates (i.e. snippets), metadata tag support, and more. It’s $79 and that’s probably the best spent money if your serious about programming in Flash Builder. Together with Flex Formatter we now finally have a full-fledged coding environment available for Flash Builder. Alternatives always included FDT and IntelliJ IDEA (which is by far the best value for money), but I’m happy to see those features brought to Adobe’s IDE (albeit not by Adobe themselves).
It wasn’t until recently that I found out about very useful capability of Eclipse, i.e. filtering what goes into Errors window. This is especially useful when working with multiple 3rd party libraries. You need to add them to a class path in order to get code compilation, but the drawback is the fact that your Errors list gets polluted with all the errors found in those external libraries. Usually, you’re not really interested in it, you’d just like to see the ones relevant to you — in classes that you wrote.
Below is a quick guide how to filter the error list in Eclipse.
Click the little triangle in the top-right corner and choose “Configure Filters…”.
Select “On working set:
Now you need to create a working set of files you want to display errors for.
And that’s it!
Recently I was given a task of evaluating and improving usability of a diagram building tool. Since a challenge of presenting a large graph is similar to the one of presenting a map I started doing some research into best practices of building interactive maps. Turns out that cartographers has been dealing with it for a long time and there are many useful articles. Below is a summary of “Designing Better Map Interfaces: A Framework for Panning and Zooming” by Mark Harrower and Benjamin Sheesley.
Browsing a map involves two fundamental tasks: panning and zooming. Panning is an activity of moving the map in order to discover (display on the screen) a portion of it which is not currently visible. Zooming is an activity of changing the map’s scale, effectively making it appear bigger or smaller on the screen.
Harrower and Sheesley (2005) use six evaluation criteria to compare nine best practices for zooming and panning. Criteria fall into two main characteristics of a map interface: “functionality (what the tool is capable of) and efficiency (how well it supports those tasks, or how much work is required to achieve the same outcome)”. Functionality criteria include (1) sequential versus non-sequential map browsing, (2) precision (user-defined map browsing), (3) local-global orientation cues, (4) live-linked manipulation (immediate feedback). Efficiency criteria are as follows: (1) interface workload, and (2) information-to-interface ratio.
Below is a list of nine common methods evaluated against the criteria outlined above. The methods are presented in no particular order, as the choice of the most appropriate one largely depends on the context. In other words, there is no one-fits-all solution, but the following list presents good approaches.
I encourage you to read the full article for detailed discussion of the problem if it concerns you.
References
Harrower, Mark, and Benjamin Sheesley. 2005. Designing better map interfaces: a framework for panning and zooming. Transactions in GIS 9(2): 77-89. Also available on-line from <http://www.geography.wisc.edu/~harrower/pdf/Zanning.pdf>

Spotlight effect
I’ve been doing a lot of Flex / pure ActionScript programming recently, working with default controls a lot. Pretty boring stuff in terms of visuals, so I developed a need to create something flashy.
Like in good old days when I would spend my whole free time experimenting with Flash, I sat down and started playing on a timeline. My goal was to reproduce the Spotlight effect you get when you search your System Preferences. Since it’s hardly arguable that Apple is leading in the field of User Experience I decided I should simply copy the effect in my favourite tool
Below is the result of my messing around with blend modes and alphas. You can download the source FLA file as well. Hope you like it.
Having code conventions is important, especially working in a team. It improves your experience while reading somebody else’s code and vice versa.
Formatting is just one aspect of code conventions, but an important one. Sadly Flash Builder doesn’t give you much control over how the code is formatted. Thankfully, there is a brilliant third-party plug-in that adds this ability.
You can grab Flex Formatter from sourceforge or just add the update site to Eclipse: http://flexformatter.googlecode.com/svn/trunk/FlexFormatter/FlexPrettyPrintCommandUpdateSite