Teztoc updated

A good friend of mie has released a library to test individual flex components, its very useful when you build large apps with smaller components because it allows to check exactly how it behaves but without loading the whole app.

You can check the project here:

http://code.google.com/p/teztoc/

I will be posting an example soon

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

http://ozipi.com/?p=129

Psychedelic process

I really like this process, To bad is not 64 bit xD

lsd process in snow leopard

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.

CDU-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

Mysql 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

OSX 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.

MultiSafari (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/

New site: photo gallery “warstories”

Finally, I manage to setup a site I always wanted to do … my personal gallery … its called war stories, I still have a lot of pages to upload but you can see the first ones…

please send me any comment… also if you like the photos

http://warstories.zerokernel.com

Youtube 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