8080 Emulator on AS3
Yey, a good friend of mine worked on a 8080 emulator, to play space invaders…
Please go to see it, I bet it will be a cool code xD
Psychedelic process
I really like this process, To bad is not 64 bit xD

lsd process in snow leopard
Flex 3 / SVN plugin (subclipse) / change credentials / OS X
For a complex reason I couldn’t understand the SVN plugin of eclipse don’t have an interface for delete/update users for repositories, so if you want to change you current user you actually have to delete the “keyring”, that is a special file where eclipse saves all the login information of your repositories… yes… all the passwords.
So after a search in google with no luck, I found that the location of the configuration files:
@user.home/Documents/Flex Builder 3/configuration
BUT BEWARE READER….
All the configuration files are stored in hidden files, and I mean the filename starts with a “.” dot, if you go to the finder you will find nothing… apparently… you actually had to dig in your terminal skills (or configure the finder to show hidden files), and delete the damn file:
.keyring
And eclipse will ask for passwords again…
The worst thing… you had to enter ALL your passwords again.
09.14.09CDU-680 + Snow Leopard
Well the short answer, it works, but in the 32 bit kernel, it only gets the red led on 64 bit kernel.
I have searched around google and the Franklin Wireless page and found nothing, so I decided to install, ( I had a clean snow leopard), and it works.
I searched here:
http://www.fklt.com/support.php
There’s nothing in the forums or in the page about snow leopard support, so I think the 64 future is uncertain, only time can tell.
So if you are willing to sacrifice the great 64 bit performance for 3G connectionm go ahead, it will work
09.9.09Mysql 5.1.38 No mountable file systems / Snow Leopard 64bit Kernel
So… you finally decide to search in google about this problem, it took me 5 tries, before doing it.
So the short answer… the image for mysql is UDF, and appears like the UDF driver is still 32 bits, and I guess if you are here, is because you are running on the 64bit kernel…
Well this is the price for early adopters, you have to boot in 32 bits kernel to be able to mount it on snow leopard
Long history, and a linux workaround (?):
http://forums.mysql.com/read.php?11,278794,278794#msg-278794
09.6.09OSX Firewire external hard drive disconnecting
Most of the Mac users did a brave thing last week, we all upgrade our OS to the latest and snowiest leopard in town… some of us with mixed luck…
The thing that I had troubles with, is a beautiful firewire 800 external disk drive (a gift from a very good friend), appears since I upgraded begun to disconnect randomly, but with a twist, when it was connected via USB, nothing happen.
I had to tell that I did a clean install of snow leopard (yes you can do it with the upgrade disk).
When I remember that setting, I realize that all my setting were wiped, so I look into the energy preference panel, and there was my answer, the option “Put the hard disk(s) to sleep when possible” was selected, seems like its a firewire disk it actually sends the sleep command.
I disable it for the battery and power adapter profile and my problem was fixed.
Hope this helps to save some time for someone in google.
07.16.09MultiSafari (not a multiple-zoo)
During the stage of css/html testing you have to test with multiple web browsers and operating systems.
Unfortunately in Mac OS X its a little difficult to have multiple Safari versions, since the Webkit framework is what is updated and webkit is system-wide, you can’t have both at the same time…
Until I discover this clever man, who embed the webkit in an app, so you can have your own safari 3 and safari 4 running on your mac… so you can test everything … go and download it, you will never regret it:
http://michelf.com/projects/multi-safari/
05.25.09Youtube and Flex 3
A time ago google released an SWF/API to interact with the youtube player, and be able to embed it into your swf projects, the main problem is that it was for AS2, so when you try to do it on AS3 / Flex, you can run into problems.
I ran into this problem, so doing my research, I found a library written for AS, it uses a clever way to do it, it actually use a javascript bridge to communicate with the player inside your SWF.
It’s internals can be summarized in this way:
swf (external call) -> browser (js) -> swf (via javascript)
There are a lot of tricks that can help our life easier with this problems, but I will like to gave you a list:
- The main tricks in this library are done in javascript, so you have to pay a lot of attention of details like the id of the player in the HTML of the deploy (be sure to copy outside your working copy, because flex overwrites changes on it), check the ****YOUTUBE**** comments in the example.
- You can run into issues with the sandbox, be sure to test it on a webserver.
- Because you are running outside the flex ide, be sure to install flash tracer it will help you a lot
- When you add it to your project, and you can get the creation complete event you are ready to go !
This is the link of the library:
http://code.google.com/p/youtubechromelesswrapper-as3/
A live demo:
http://www.zerokernel.com/demos/flex/youtube/
Deployment files:
http://www.zerokernel.com/demos/flex/youtube/youtube-deploy.zip
Flex source:
http://www.zerokernel.com/demos/flex/youtube/YoutubeTest.zip
FlexPop Now in Air !!
A few months ago I put an example of the Degrafa framework, called FlexPop. A few coworkers point me that I should add the feature of saving the image.
Thinking about that, I realize that I was in need of a server technology to “resend” the image back to the client, so I decided to take another approach.
This gave me the first step into a bigger world, because I decided to re-write FlexPop in Air, no much changes, but at least in the webcam was a lot easier.
So I let you the link… please send me any comment you can find.
05.19.09Complaints about blocked pages
I was forced to block access to a few pages from my work, so I started to be hated, my good friend from “Full of caffeine” help me writing a little script to send me your comments.. source below:
complains_about_blocked_internet.sh
echo $1 > /dev/null
echo "Polo says: Thanks for your feedback!"
(this is supossed to be a joke, only runs on *nix compatible OS)