miércoles, 5 de mayo de 2010

Another scrum joke about the Pig and the Chicken

One day the Pig (Adobe) meets an old friend the Chicken (Apple) and says:

Pig: Hey broth what's up? My ham is ready to be served with your funky eggs. Let's set up a party on the beach! everybody will love our old dish in the new style!!

Chicken: hi, you know ... I am not sure ....  my eggs are bio and your second hand ham will not match.....  one thing more ...  I didn't  like the commissions that you charged for the last party!! so I thing you better go to other non-bio chicken to set up your business!

sábado, 1 de mayo de 2010

Bug in Picasa web album python client library

I write it here because I did not find any clear resource on the web.

I have found an error executing the first line of code in the API documentation (after the authentication section) of Picasa python library:

try to get the albums:
albums =  self.gd_client.GetUserFeed().entry

this code:
def AnyFeedFromString(xml_string):
   tree = ElementTree.fromstring(xml_string)

fire:
 tree = ElementTree.fromstring(xml_string)
  File "", line 85, in XML
SyntaxError: syntax error: line 1, column 0



Workaround:
Some problems with SSL:
self.gd_client.ssl = False

martes, 27 de abril de 2010

Baking desktop applications using As3 and Zinc.

Zinc 3.0 is an alternative to turn Flash/Flex applications to full portable desktop applications.

As3 and Zinc 3 is the standard to develop desktop applications (often called widget) in the advertisement industry: it is easy and cost effective.

It is possible to style the window (I had transparent mode).
There is a very interesting library that extends the capabilities of flash.

The Mdm Zinc forum is very helpful.

jueves, 22 de abril de 2010

Bug using Pyamf with Google App Engine templates

It seems that Pyamf conflicts with the Google App Engine template library.
You may have this error loading a template:

AttributeError: 'module' object has no attribute 'defaulttags'

Perhaps Pyamf includes an older version of Django library .
To workaround write the imports in this order:

from google.appengine.ext.webapp import template
from pyamf.remoting.gateway.google import WebAppGateway

It seems odd but the problem disappears.

domingo, 28 de marzo de 2010

A new version of Blogger is coming!

Blogger starts to be interesting with the new version in draft.

To use the new tool go to draft.blogger.com after logging in.

What's new in draft.blogger:

Use of the maps
Use of Picasa Albums
Creation of pages
Nicer aspect

There are also interesting functions for collaboration with other writers.

miércoles, 3 de febrero de 2010

Unofficial terms of use for demo applications

This document is not meant to be a proper legal terms of use but just an acknowledgement for who finds my demo applications over the web:

This application is intended to be just an experiment, please take it as a free service without any expectation of results.

I do not use your personal information for any kind of business, furthermore I make some statistical analysis on the data.

I attempt to destroy the sensible information about you as soon as you will finish to use the demo.

viernes, 13 de febrero de 2009

Handmade Particicle System

I had to develop a particle system in flash which could render more than 20.000 particles.

Check the final solution. That is not perfect, but it is really near to the best you can run on AS3.

The low level implementation throught image processing can render up to 50.000 particles moving.