Exclude files from Flex PMD

Warning: Illegal string offset 'language' in /var/www/vhosts/ansuz.nl/subdomains/blog/httpdocs/wp-content/plugins/igsyntax-hiliter/classes/frontend.php on line 510 Warning: ksort() expects parameter 1 to be array, string given in /var/www/vhosts/ansuz.nl/subdomains/blog/httpdocs/wp-content/plugins/igsyntax-hiliter/classes/frontend.php on line 513

You can exclude files and/or packages from Flex PMD by creating your own rule set, use the “exclude-pattern” tag to exclude files.

  1. <ruleset name="myruleset"
  2. xmlns=...>
  3. <description>My ruleset</description>
  4. <exclude-pattern>.*/some/package/.*</exclude-pattern>
  5. <exclude-pattern>.*/some/other/package/FunkyClassNamePrefix.*</exclude-pattern>
  6. <include-pattern>.*/some/package/ButNotThisClass.*</include-pattern>
  7. <rule>...
  8. </ruleset>

Link: http://pmd.sourceforge.net/howtomakearuleset.html

Encyclopedia, or a systematic dictionary of the sciences, arts, and crafts

Encyclopédie, ou dictionnaire raisonné des sciences, des arts et des métiers (English: Encyclopedia, or a systematic dictionary of the sciences, arts, and crafts) was a general encyclopedia published in France between 1751 and 1772, with later supplements and revisions in 1772, 1777 and 1780 and numerous foreign editions and later derivatives.

Have a look at http://diderot.alembert.free.fr/ for loads of nice and old images, like the one above.

htaccess trickery

I was looking the other day for a way to make a directory that is behind a .htaccess password protected directory accessible for anybody. Does that make any sense? For instance: www.somedomain.com/protected is password protected directory. I wanted anybody to be able to access www.somedomain.com/protected/notthisone/ without a password. After a little searching I found the following trick:

AuthType Basic
AuthName “Anybody”
AuthUserFile /path/to/some/autfile

Require valid-user

Allow from All
Satisfy Any

I’m actually not sure if I need all of the above or if I can just get away with “Allow from All” and “Satisfy Any”.

So basically by adding “Allow from All” you say anybody is allowed to access this directory. The “Satisfy Any” makes sure that you can access it either when you have already entered the password or when you don’t have a password.

A nice way to circumvent .htaccess directory protection.

Flash on the Beach 09 – Links

Below is a list (and some brief explanation) of links with interesting stuff found at Flash on the Beach this year.

Joa Ebert (from hobnox) talked about one of the geekiest subject known to man : Compiler optimization. Good to know some people care about those  things. This is how you can get cooler stuff on the screen. It have the potential to made our work run 10 times faster.
http://code.google.com/p/apparat/
http://blog.joa-ebert.com/2009/08/05/turbodieselsportinjection/

Some good optimization techniques from Grant skinner too: http://gskinner.com/talks/quick/

Contrast’s presentation about breaking design convention:
http://www.contrast.ie/blog/
Some good arguments here. Especially about the end of portal pages and brand over sale (yes we don’t need a massive logo on every single page).

Live feed visualization by Trevor Boyle during the elevator pitch:
http://blog.trevorboyle.com/wp-content/uploads/twittersphere/Twittersphere-Visualizer.html

What can be done with sound from various presenters:
http://www.hobnox.com/index.1056.en.html
http://www.frogdesign.com/
Ruben’s tube + propane: http://www.youtube.com/watch?v=HpovwbPGEoo
http://blog.drwoohoo.com/
designmind.frogdesign.com
www.openframeworks.cc

We saw some really cool live drawing session from James Jarvis:
http://www.youtube.com/watch?v=oZHBSBG7RSs
http://www.amostoys.com
James Patterson: www.presstube.com

And Art made with flash:
http://www.joshuadavis.com/
http://hype.joshuadavis.com/

As well, Joel Baumann from Tomato introduced us to some early century artists who being playing with generative art way before flash came about. And shown us us some of his work, some of it still remain really cool like the TV-Asahi indent – sound generated logo !

Stacey Mulcahy, talked about how devs and creatives can work together
better: www.bitchwhocodes.com
Some good technologies that can facilitate that:
– SVN: http://versionsapp.com/
– Version Cue: http://www.adobe.com/products/creativesuite/versioncue/
– Catalyst: http://labs.adobe.com/technologies/flashcatalyst/ (Though I don’t believe in it too much…)

Learn OOP in Flash: www.lostactionscriptweekend.com
And Automate publishing of .fla files: www.deleteaso.com
Koen de Weggheleire: www.newmovieclip.com

Union multiuser Flash platform: www.tryunion.com
– documentation + tutorials: www.unionplatform.com
– cool example: http://clockmaker.jp/blog-en/2009/08/union/
Multi user experience cheap and easy

MegaPhone, using mobile phones as controllers for billboards:
www.playmegaphone.com

WebGL

Got a reminder about this very interesting technology today, definitely going to keep an eye on it, ’cause it’s going to be really cool!

WebGLâ„¢ working group for enabling hardware-accelerated 3D graphics in Web pages without the need for browser plug-ins

Interesting links:

Git

I’ve been meaning to look into Git for a while now and I’ve finally found some time to do so.

Git is a free & open source, distributed version control system  designed to handle everything from small to very large projects with speed and efficiency.

I’ve been using SVN for some time and MS Visual SourceSafe before that. SVN was a big improvement over VSS and Git looks promising by claiming it’s faster than other revision control systems.

Working on a Windows machine made it a tiny bit harder to get Git up and running as it is developed for Linux. Luckily there are a lot of open source developers and some of them built MSysGit to have Git running on Windows in an easy way.

Another point is that a lot of developers have an SVN background and are switching to Git. As a result you can plenty of guides telling you how to use Git compared to SVN. The one I liked best is the “Git – SVN Crash Course” by Petr Baudis.

Obviously as Git is becoming more and more popular there are services popping up like Google code. GitHub for instance is one of them offering a variety of deals, from completely free to very large packages for businesses.

Links:

SourceBinder

SourceBinder is a node based visual development environment for Flash 10.

Instead of writing code you assemble a set of building blocks on a canvas and wire those blocks together. This allows you to rapidly create Flash applications.

You can export those applications into regular Flash SWF file.

SourceBinder will be available free of charge for any purposes.

It reminds me a lot of Lego MindStorms 😉

Links:

Protocol Buffers

Quick reminder:

Protocol Buffers is a serialization format with an interface description language developed by Google. The design goals for Protocol Buffers emphasized simplicity and performance. In particular, it was designed to be faster than XML.

In other words: Lightning fast data transfer between various parts of a website.