PowerFlasher announces FDT v1.5 Update

It was about time! According to PowerFlasher a new (and free) update of FDT is due in October. But it will not support AS3/Flex, this will come in quartal 1/2007.
I still need to use AS2 very often for jobs so it’s good to see the Eclipse 3.2 incompatibility being fixed very soon. However I’m using Flex Builder (plug-in) more and more to get on with AS3 and Flex and it’s hard to miss all those great features from FDT there! Therefore it would be awesome if Adobe is providing an update for Flex Builder in between. Some very helpful features from FDT that I’d love to use for AS3 are templates (we all use them, they make coding a lot faster) and Mark Occurances (this might seem inferior but once you used it you know that it is the number one killer feature). Another thing that bothers me is that one needs automatic build active to have compile-time error reporting. It would be cool if the Flex Compiler would report errors on-the-fly like MTASC does it, so I can turn off automatic build and use Ant for building instead which I prefer.

ePaper – When is it feasable?

I’m really missing one great invention that has yet to come for global consumption … books made of electronic paper! I’m not talking about these LCD display-like books or these foil-like papers that are already used for some advertising purposes. What I’d love to see available is a pocket notebook made of finely woven ePaper that I can plug via USB to my PC and load documents on it, which then are displayed on the paper and can be read just like a normal paper book. I prefer reading long texts on paper rather than on the screen!
I often find texts on the web, tutorials or other interesting information that I could read while on one of these long Tokyo subway rides or simply while hanging out in the living room but it would be too elaborate to print them out and fold them into my Hobonichi Techo.
One could argue that I could need a notebook PC but that would be too much, all I’m asking for is a book for reading. Hey it would be cool if it also uses Solar cells so it doesn’t need to be recharged and while we are at it the pages could glow so it can be read in the dark too … oh well, one can dream, but this definitely doesn’t sound like a far away utopia!

Fixing other people’s code

I just had to refuse the second job offer this year where I would have to fix somebody else’s written ActionScript 1 spagetti code! I don’t know what is the reason for agencies trying to give such jobs but it’s save to say that the troubles of digging through the messy and often timeline-spread code is enough to justify an estimate that sounds too high for the client.

The question comes up why they don’t just ask the person who originally wrote the code! That could have many reasons but if a client comes back to me and asks me to fix something in a years old project then I’ll do it for a measly payment simply because I know my source code. It’s a total different thing to fix somebody’s code, especially if it’s pre-AS2.
I always feel uncomfortable rejecting jobs, even such ones so I would be interested how others handle this situation! Do you usually reject such jobs or do you accept them?

Flash Filter Lab – The Flash 8 Filter Construction Set

flashfilterlab.com … quite awesome! In case you’ve missed it, you can create your own Flash 8 Filters in a Construction Set-like environment where you connect virtual cables to generator boxes (think Maya’s Hypershade or Native Instruments Reactor). I haven’t touched the Flash 8 Filter stuff that much so far (mainly because non-Flash 8 jobs who keep me away from it *grrml*) but I think it’s about time as the lab demonstrates how much potential is in that. It’s a pity though that calculation-intensive Flash’s Bitmap/Filters are still too CPU demanding for most realistic applications.

AS3 Short Variable/Function Names vs Long Ones

In ActionScript it was common knowledge that shorter Variable and Function names yielded better performance in situations were it depends but does that still hold true for ActionScript 3.0? I’ve ran a couple of quick tests to find a clear answer about this. I usually tend keep my Variable/Function names to 1-3 characters when performance really mattered but it might actually not be necessary. Consider the following test …

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package
{
	import com.hexagonstar.util.debug.Debug;
	import flash.utils.getTimer;
	import flash.display.Sprite;
 
	public class PerformanceTest extends Sprite
	{
		private var aVeryVeryLongVariableNameaVeryVeryLongVariableName:Number;
		private var num:Number;
 
		public function PerformanceTest()
		{
			var startTime:Number = getTimer();
			for (var i:int = 0; i < 4000000; i++)
			{
				aVeryVeryLongVariableNameaVeryVeryLongVariableName = (i * Math.random()) * 100;
			}
			var timeTaken:String = getTimer() - startTime + " ms";
			Debug.trace("timeTaken (long): " + timeTaken);
		}
	}
}

I’ve ran this code ten times with the 50 characters long variable name and then ten times with a 3 characters long one, both in their own SWF’s. The results ranged from 757ms to 820ms, more or less the same on both sides. The sum of the long variable version was 7924ms and the one of the three characters long one was 7903ms, not much of a difference.

The next test was similar but this time with a 50 characters long Method name and the other again with a 3 characters long one, the Methods returned a random Number for 4000000 times during this test. The results looked similar but the total sum of each test gave a 12044ms for the long name test and 15570ms for the short named one. A noticable difference of over 3 seconds. This might have been coincidence but I’ve ran the tests a couple more times and it turned out every time that the result were very close together. This is quite interesting because I was safely believing that short names would still have an advantage. It might be time to rethink this.

Which Open Source License is good for you?

I was trying out Google’s own code repository Google Code today, finally delving into some SVN knowledge with Subclipse and was starting to wonder if there is actually an explaination about all those Open Source Licenses which is understandable for non-lawyers. A quick googling gave me this useful ZDNet link … HOWTO: Pick an open source license where the editor describes some of the most common licenses like GPL, MIT, BSD, Apache etc. in a more concise and clear way. It makes it much easier than digging through all those license text at opensource.org.

Isometric Game Development with Flash

I’m currently developing a role-playing game in AS3.0 (non-fantasy themed!!) in my spare time. This has been and still is in the design phase since a while and I’m pondering whether to use isometric graphics or an orthogonal view (that has a slight tilt but still is fully orthogonal. If you remember Jagged Alliance you get the idea). Though orthogonal view would make things easier I feel that isometric view gives more visual freedom so I will probably end up with that.

Read more

The Challenges of new Keyboards

I must have been temporally mind absent when I strolled through Akihabara some days ago and went into a Computer Shop to buy this cute little – but ridiculously overpriced – Happy Hacking Keyboard!

Not only doesn’t it have Letters, it also has no cursor keys and no function keys! Well ok mine is dark gray and has black letters on it that can only be seen with enough light in the back. It”s a 66 keys Keyboard and all special keys can be accessed with the Fn key. It means you have to press two keys to use Cursor keys or Function Keys and if you want to press Shift+F1 you have to hold three keys at once. Quite a finger acrobatic trainer isn’t it? Not to mention that I also have to get used to the American layout.

I somehow feel back at the C64 where double and triple layered keys were the daily thing. This little black devil meanwhile went into my shelf to be replaced with my ten year old trusty Cherry Keyboard … three times by now! Finally I accepted to give it a longer try! Sure, Its masochism but the quality and feeling of the keys is so irresistible! Plus I got a lot more space free on my desk suddenly (you should know … space is the most expensive thing around here!)

Time for a new Rig!

Being that old hardware DIY’er that I am (it started long ago with changing the kernel of my C64) I’ve so far always bought parts and built my PCs up by myself. This time I was pondering with buying the new Dell XPS 700 just because it’s case design is so ultra slick (around 100.000 times more slick than a Mac G5 Park Waste Bin ever could be if you ask me) but I’ve changed my mind after realizing once more that Dell’s sale policy sucks. That is because here in Japan the XPS is not available as customizable as in the US! While in the US the minimum parts required are the CPU and memory, here at Dell Japan you have to buy an almost fully rigged machine.

So instead of buying an XPS 700 with a flatscreen, DVD, keyboard, mouse and Windows XP Home, all stuff that I don’t need I’ve decided to go again and choose all required parts from the ground up by myself. Here is how my next PC will look like …

Antec P180B Case (looks like a mini frigde but is very quiet and cool inside)
Antec Neo HE 550 PSU
Asus P5B Deluxe Motherboard
Pentium D 945 CPU (3.4 GHz)
Zalman CNPS9500 LED CPU Cooler (have to double check if it fits on the mobo without probs!)
2x Corsair XMS2 2GB (2x 1GB) 800 (PC2 6400) (4GB)
Leadtek Winfast PX7900 GTX TDH (more silent and cooler than comparable Radeon cards)
2x HITACHI Deskstar T7K250 250GB 7200RPM SATA

… Not only is it cheaper (though still quite steep) but it also means more memory and quite a bit more silence in our room than with the XPS. My last mainboard was an Asus P4C800-E Deluxe and I’m totally satisfied with it since it is running stable for about two years now. I think I’ll turn the old water-cooled Pentium4 into our Linux Server after this.

Roland TB-303 Emu in Flash!

… Ok, a bit of exaggeration here but it comes pretty close! In case you missed it, Andre Michelle has written a RealTime Synth with ActionScript 3.0 that immitates an analogue synth not unlike the famous 303. The Userinterface is slick and the knobs are turning linear when dragged with the mouse. The sound is very good for that it is calculated! Try playing around with the Filter, Cutoff and ADSR curves and you will see (hear) that it sounds pretty much like a real synth. Heads up to Andre for being such an Innovator!

SWG … once again

So after about six months of absence I’ve decided to subscribe for a month back into SWG to see if things changed for the better (and to see if my stuff still exists). I spawned inside my house where I left the game last November and decided to bring my char to level 90 so I did many of the quests that I still had open. After all quests are almost the only way currently to gain XP quickly.

The game is basically still the same since I left it! Many of the same old bugs and a gameplay that has only distantly something to do with RPG. Examples: Tried to continue the ‘Secret of the Syrens’ quest but the Black Sun Bunker at the waypoint never spawns,I want to call my mount pet inside the Kashyyk Hunting Grounds but it doesn’t spawn, I want to attack that imperial trooper that permanently shoots at me but I can’t because he’s stuck inside a wall … the list could go on for a while.

Read more

The Crappiest Corporate Site of the Week

The “Crappiest Corporate Site of the Week” Award goes to Dell Japan for not being able to have a Shop website that runs on current Browsers! When I try to get onto their XPS 700 Customization page I get a simple Access Denied, telling me that I need to use Internet Explorer 4.0 or Netscape 4.6! The site doesn’t work on FireFox and not on MSIE 6 and neither on Netscape 8! Congratulations Dell! You suck immensely!
I’m actually wondering how do you sell your PCs in Japan!