Adobe Flex (now Adobe Flash builder) is a really nice solution (framework + editor) but there are some features i’m missing:

  • Multithreading: when loading some CPU intensive data the UI freezes; there are some threading-like-managing solutions available but no one works really well (the new version of AIR will fix this allowing to call native code).
  • Eclipse editor smaller memory footprint (some times it grows to over 400MB);
  • Faster Design Mode: too slow and why there is,  some times, the need to refresh the view and it isn’t done automatically?
  • In the outline window (thw one which shows the structure tree) the possibility to do drag and drop;
  • Code obfuscation: it’ a mess that is so easy to read and copy all the software code without any pain; you have to buy an external encrypter or try an hand made solution.
  • Image Drag And Drop (with request to link it or embed);
  • Image auto-updated when the file is changed (ie replacing with a new version), because the only two ways to force this is to clean and rebuild the entire project or to change a letter in the source filename of the image and restore it (ie: bear.png -> be.pn -> be.png)

The the use of Eclipse as developing platform is quite useless: it’s heavy, slow, and with a big memory footprint: why use a Mammoth like that if a Flex user will use only Flex features and wont access all the Eclipse features available (I prefer to use a separate Eclipse to avoid problems, which is always updated while Flex version won’t update to latest Eclipse patches). An AIR application wont’ be better now that AIR has reached a nice working version?;

After some hours of working with Adobe Flex/Flash Builder  the garbage collector isn’t able to free all the resources, the last time i checked it reached after I asked for a garbace collector operation it ended with 560MB (this means no way to decrease more resources without closing the application).

While developing using Cocos 2D (0.8.2 beta) on iPhone i faced some huge performaces problems loading

a map of 9472 tiles (4096px x 592px, 16x16pixels tiles).

The loading process took about 1.30 secs on an iPhone 3GS…

I’ve done some tests changing % value in row 208 of TMXTiledMap.m:

float capacity = totalNumberOfTiles * 0.35f + 1; // 35 percent is occupied ?

TESTS——————————————————————————

test 1 (original, capacity is 35% of #tiles): capacity = totalNumberOfTiles *0.35f +1-> loading time: 1.15 secs (4 TextureAtlas changing operations)

test 2 (capacity is 100% of #tiles): capacity = totalNumberOfTiles +1 -> loading time: 1.25 secs (no TextureAtlas changing operations)

test 3 (capacity is 50% of #tiles): capacity = totalNumberOfTiles *0.50f +1 -> loading time: 1.20 secs (some TextureAtlas changing operations)

test 4 (capacity is only 10% of #tiles): capacity = totalNumberOfTiles *0.10f +1 -> loading time: 1.10 secs (8 TextureAtlas changing operations)

/TESTS——————————————————————————

The strangeness is that setting to max value the capacity decrease performances! So it seems that the performances bottleneck isn’t in memory copy operations but somewhere else. Probably the performance problem is due to the use of AtlasSprite to contain every tile.

The only solution for now is to load only a subset of tiles and replace then when the character moves a some amount of pixels/tiles: in this way the loading process decreased to about 5 secs (or less).

UPDATED: after my post on the Cocos2D forum (http://www.cocos2d-iphone.org/forum/topic/2165?replies=12#post-14895) “riq” about this issue, a developer of the project, patched in a day this problem and now to load of these huge maps takes ONLY 1.5secs!!!!

The pacthed version is available downloading from the google SVN repository.

ps. I don’t know why noone pointed this problem, but now all developers will be really happy of this patch version!

La zona che circonda le terme di Saturnia, le cascate libere, d’estate era un mare di lucciole che illuminavano la notte…finchè non è stato deciso di creare un CAMPO DI GOLF dove prima c’erano quei milioni di lucciole.

Questo è uno degli orrori italiani, quante persone andranno a giocare a quel campo di golf? Inizio a vergognarmi troppo spesso di essere italiano in questi ultimi anni…

4-143g

In questo articolo (di due) si parla di tutta la gestione della memoria in ambiente iPhone, ho cercato di spiegare al meglio problemi e caratteristiche di questo ambiente; purtroppo non è un argomento semplice, ma prima o poi lo avrei dovuto affrontare.

Nota: per problemi di spazio è stato tagliato il testo contenente nel box in cui si parla delle origini del termine NS, da come è stato tagliato sembra che NextStep sia un linguaggio,  come segnalatomi da alcuni utenti : se avessi scritto questa affermazione come alcuni credono per ignoranza, avrei già cambiato  lavoro.

All works flawlessy (audio (use voodoohda), touchpad and keyboard (use voodoops2),  SD card (search post installer package)), ethernet, bluetooth (if you turn on on windows it will stay on after the reboot/shutdown and you’ll be able to use it on mac) except for:

  1. the Intel WIFI AGN4965: follow http://projectcamphor.mercurysquad.com/ cause they will be release soon a driver
  2. External Monitor (i’m using natit kext): for now i have not found a way to connect

Note 1: if your distro starts in native 64bit mode ethernet wont work (Broadcom 440x drivers) cause the drivers ar compiled only for 32bit, the other drivers will works flawlessy.

Note 2: if you use osx86tool or kexthelper you will have many booting problems and errors, this is due to the fact that Snow uses a different kext cache file, download “kext utility” latest version, it’s Snow compabible. So use osx86 or kexthelper , and after them use kext utilty.

NOTE: if Installer CRASH try to DISABLE INTEL SPEEDSTEP from your BIOS!

From DMG -> ISO type in terminal (changing imafile.dmg to your filename)

hdiutil convert /path/imagefile.dmg -format UDTO -o /path/convertedimage.iso

From ISO -> DMG type in terminal (changing imafile.dmg to your filename)

hdiutil convert /path/imagefile.iso -format UDRW -o /path/convertedimage.dmg

A volte l’innovazione all’Italiana è veramente degna di nota. Telcom Italia ha ideato questo fantastico progetto: uno sviluppatore pensa ad un’idea, la propone a Telecom che la realizza , aggiunge il marchio Telecom e la pubblica….

Fonte: http://www.nextopeninnovation.it/site/developer/developers/developer-iPhone.html

Testo:

DEV iPhone

Chi non metterebbe il marchio telecom su una propria idea? Tutti…

Sei uno sviluppatore per iPhone e per il nuovo iPhone 3G S? Vuoi pubblicare nell’App Store le tue applicazioni con il marchio Telecom Italia?

Proponici la tua applicazione per iPhone, anche in versione Beta: la perfezioneremo insieme e aggiungeremo il nostro brand per l’invio e l’approvazione.

Ecco cosa hanno risposto ad una mia richiesta di informazioni:

Se sei uno sviluppatore per iPhone, Ti chiediamo se desideri che Telecom Italia (NEXT) si faccia promotore per Te della pubblicazione della Tua applicazione su App Store.Tutta la community Next che si collega ad AppStore via iPhone sarà Tua potenziale cliente, poichè saranno sempre visibili su NEXT i riferimenti su App Store alla Tua applicazione corredati di articoli e video promozionali che potremo creare insieme. Se lo desideri, potremmo gestire anche l’invio dei Tuoi upgrades e updates. Entra con Noi in AppStore!

Toyota Data Analyzer

Client: Toyota Italia

Technology: Adobe Flex and AIR

Code: by me

Graphics: by me

Description: this Application parse Excel and CSV log files and analyze downloads trends of vaious informations from Toyota Italia affiliates.

Time: about a month of develop

Difficulties: the informations provided are without any structure, with the exception of the full path of the downloaded file, so i have to parse every record and guess it’s informations reading the words inside the path. The real drawback is the lack of multithreading support in Flex, so the analisys procedure blocks the user interface.

Manga/Super Deformed designer searching...

//Italian Version

Non essendo un disegnatore di fumetti (uno dei pochi rimpianti che ho), ho necessità di trovare uno o più disegnatori di manga con cui sviluppare giochi iphone che ho ideato, provvederò io al codice. Le regole sono le seguenti:

  • deve essere in grado di disegnare personaggi in stile manga e possibilmente super deformed
  • deve essere in grado di creare animazioni (il formato di uscita per l’iphone è una sequenza di immagini jpeg,gif o png, oppure video)
  • è un lavoro che viene fatto da casa propria, senza orari, basta che quando si richiede una realizzazione non si impieghino tempi biblici (pianificati comunque
  • l’età non mi interessa, basta che sia valido/a
  • il vostro nome comparirà insieme al mio nei crediti dei giochi e anche nella descrizione nell’apple store, quindi nessuna discriminazione

Per i pagamenti la regola è semplice: si lavora insieme, si guadagna insieme: si divide al 50% dei guadagni dell’apple store, nessun pagamento in anticipo

Considerando che potrà essere aggiunto nel vostro curriculum e considerando che il numero di ore richieste per la realizzazione dei vari disegni non dovrebbe essere molto se siete abbastanza skillati, ne avrete comunque di guadagnato.

In Italia il design manga non viene per nulla considerato (si parla solo di Bonelli o Disney lo sappiamo tutti), io invece lo preferisco, e lo vedo molto adatto per l’iPhone: è un’occasione per esprimervi e vedere le vostre idee in giro per mezzo mondo.

Inviatemi screenshot, anteprime, link a vostre gallerie qui: neogene@tin.it

//English Version

I’m not a comic/manga designer/s (il’d like to be) and i need someone to work with to create characters animations and still graphics for my iphone games: the rules are simple:

  • able to design manga style characters and super deformed style too
  • able to create animations too (iphone supports images sequences, so many png or gif or jpg, and videos)
  • this is a net work, so no moving, everyone stays where he lives (Italy, Japan, Congo, Canada, everywhere): so i’m asking only the time to develop the graphics, i develop the rest.
  • your name will be available on the about/credis page of the applications and as character designer in the game description.
  • your age? i don’t care

Earning rule will be simple: 50% of iTunes applications sellings: so, we develop together, we earn together.

Contact me here sending images or linking to your slideshows: neogene@tin.it

La patente europea del computer, ECDL, anche se nella pratica è quasi nella sua totalità una certificazione su prodotti Microsoft, dovrebbe essere inserita come esame obbligatorio nel liceo oppure, come avviene già per la lingua estera in molte facoltà (inglese e francese in primis), come certificazione richiesta per terminare l’università.

Il mondo del lavoro parla Microsoft principalmente: .doc. .xsl, ppt principalmente; allora perchè non ammettere questa realtà e accettarla come punto di partenza per ogni lavoro informatizzato?

Dovrebbe essere pagata dallo stato perchè deve essere considerata un suo dovere formare i propri cittadini in modo da consentire loro di essere potenzialmente più produtti i

Non è possibile che ci siano ragazzi adolescenti a fine liceo o addirittura  laureandi che a malapena riescono a navigare in internet (spesso mossi di recente per “merito” della moda Facebook) o a scrivere documenti usando word: un paese che vive ancora in questa profonda ignoranza informatica non andrà mai avanti.

Ho analizzato i documenti che vengono forniti, inclusi i test multimediali, e li ritengo validi per avere una conoscenza sufficiente dell’ambiente Windows; certo non sono approfonditi, ma comunque si acquisisce una consapevolezza di cosa si dovrebbe utilizzare a seconda delle esigenze e come.

Molti che ho conosciuto la hanno presa perché costretti dai propri datori, o perchè fornisce punti per alcuni concorsi: non dovrebbe essere un obbligo ma una propria scelta mossa dalla necessità di capire meglio come funziona quel componente elettronico che utilizzeranno per decine di anni: ne guadagneranno in qualunque caso.