I started learning Ruby and it looks really awesome! For instance, I’ve just written a code that produces Fibonacci numbers:
1 2 3 4 |
a,b = 1,1 (3..n).each do a,b = b,a+b end |
It is the most elegant solution I’ve ever seen!
ASP. NET, Javascript, Flash, Flex
I started learning Ruby and it looks really awesome! For instance, I’ve just written a code that produces Fibonacci numbers:
1 2 3 4 |
a,b = 1,1 (3..n).each do a,b = b,a+b end |
It is the most elegant solution I’ve ever seen!
Buggy Adobe IDE. If you get “error initializing java runtime environment” message at the Adobe Flash IDE startup, you need to fix the file c:\Documents and Settings\<username>\Local Settings\Application Data\Adobe\Flash CS5.5\en_US\Configuration\ActionScript 3.0\jvm.ini (it’s a path on XP). The memory parameter must be equal to “-Xmx128m”
If you want to update your Flash Player version uder Chrome, you can do it by updating Chrome: Go “About Google Chrome” and then confirm an update of Google chrome.
It’s nasty for flash developers…
Any other solutions?
SWiX – is extremely useful tool that allows changing swf file without having fla-source or launching Flash IDE. The application shows you XML-like source of swf where you can see the structure and even change the data. But beware, it needs license for commercial use.
Adobe Flash Player 11 Public Beta is released. Try it here
If you have a problem described above here is a solution
Not far ago Intellij IDEA 10 was released. I downloaded it and launched blank Flex application but found this:
“Error #2046: The loaded file did not have a valid signature”.
This problem is described here: http://forums.adobe.com/thread/723378?decorator=print&displayFullThread=true. The reason: IDEA doesn’t pass “-static-link-runtime-shared-libraries” parameter to the compiled by default. So flash player cannot find RSL libraries in runtime. Thus if you have the same problem – just add a string “-static-link-runtime-shared-libraries=true” to you additional compiler options.
Fun coding!
If a strange error “Invalid menu handle” appears to you in IntelliJ IDEA when you are trying to run an application, it means the path of your default application executor is broken. For example, you need to reinstall the flash player if you run swf files.
This error message can be displayed when you are trying to run ANT build. It is caused when your default Project SDK is set to non-Java SDK (Flex SDK whatever). So just open Project settings window and select any JDK in Project->Project SDK combobox.
Matt Gallagher made a very neat and laconic summary of steps of architecturing a MVC application.
According to him, the basic steps in designing a small user program are:
Hope you will find it useful.