Saturday, February 28, 2009

yui compressor in command line

Just a little shell i made to launch yui compressor more easily.
#! /bin/bash
# jme- just a small shell to lanch yui compressor
# - see http://developer.yahoo.com/yui/compressor/ for details
exec java -jar ~/opt/yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar $*

Tuesday, February 24, 2009

javascript fun

Here are 2 easing formula identical at first sight
var t    = t/d;
return -c*t*(t-2) + b;
return -c*(t/=d)*(t-2) + b;

In practice, they differ a lot if the expression evaluator of the javascript vm reorder the sub expressions... like the one used in adobe air. grumble no no i didnt spend 2hour on this bug from jQuery Easing Plugin. I will send patch to notify the author when time allows.

Like UrFastR monday

I am still working on UrFastR Live on AIR second version, it will be available on private beta next week. After being published on Adobe Marketplace, Adobe offered me a thawte certificate, nice of them. As i decided that UrFastR Live on AIR will be my main plateform for the desktop, i make it nice and shiny, which is a lot of work :)

It will be at Techcrunch paris and at OCC Paris - Session Financement before that. see you there!

Monday, February 16, 2009

Like UrFastR monday

This week, i focused on UrFastR Live on AIR's refactoring. It is now in quite good shape. I want a "real app" and not just a toy proof of concept, so cutting-corner no, and nicely designed UI yes :) An earlier version of UrFastR Live on AIR just got published on Adobe Marketplace. UrFastR Live on Facebook received more love from users :)
I got reports from canadian friend about incomptibilities on mac, i will fix them as soon as possible. I wish i had more arms :(

see you next week

Wednesday, February 11, 2009

Adobe Air installation badge and image size

I did a seamless AIR install badge for UrFastR Live on AIR. But it seems to requires a given image size for the badge "212x100". Here is how to convert a given image to this particular format.
convert -resize 212x100 infile.png -background none -gravity center -extent 212x100 outfile.png

Monday, February 9, 2009

Like a UrFastR monday

Last week, i spent most of the time on UrFastR Live on AIR refactoring, a whole new concept with shiny visual effects :) On the other hand, i started implementing an API for UrFastR Player. Thus anybody using one of numerous player's widgets, will be able to easily interact with the player.

ps: note that this time, the post is on time :)

Sunday, February 8, 2009

Ubiquity for firefox

I heard about ubiquity many time during the past few months but i failed to understand what it is everytime i tried. I just found a nice video explaining it. Once you go thru the "marketing barrier" in the first part, the second part is clearly explaining it. I haven't tried yet but it seems to be a nice macro language adapted to the web. It allows to "script webpages from the user box". It is in the same direction Grease Monkey. Thinking about it, i may learn stuff from my own user experience in front of ubiquity, but i don't yet know what :)

Ubiquity for Firefox from Aza Raskin on Vimeo.

Tuesday, February 3, 2009

Adobe Air installation from command line

The default installation popup a file selector which allow you to select the air package. It is nice but quite a burden if done many times a day.
$ Adobe\ AIR\ Application\ Installer

As i develop UrFastR Live on AIR; a adobe air application for UrFastR Live, i have to install/uninstall the application a LOT :) After quite a bit of research, i found a way to avoid the user interaction which is uselessly time consuming. the solution ? add the package filename as a parameter for the installer. trivial ? well... not exactly, you have to Add the fullpath of the package, and not the relative one
$ Adobe\ AIR\ Application\ Installer /full/path/to/airpackage.air

Like UrFastR monday

Heavily inspired by mrboo and his "like a monday", i will keep you in touch with UrFastR with a post every monday. Ok this one is on tuesday, but it is my first :)

Last week, i worked on UrFastR Live for air. I published the first part which badge to seamlessly install from the web. I refactored most of the application itself to expose new features, but im not yet ready to talk about it. About video latency, i started the tool to benchmark the various parts of the whole system. That, in itself, is already a significant work.

See you next week :)
Share/Save/Bookmark