Sep. 18, 2007
Dopo aver mosso i primi passi con Maya e 3D Studio, mi e’ tornata la voglia di perdere un po’ di tempo con la grafica 3D.
Essendo il mio tempo libero gia’ ridotto agli sgoccioli, ho preferito lasciare da parte affannose ricerche su Astalavista e eterni download con Emule per utilizzare qualche strumento piu’ open/free, e la mia scelta non poteva che cascare su Blender. Comunque questo non e’ un post su Blender, magari ne faro’ uno se i miei esperimenti porteranno a qualcosa di buono, percio’ passo a Python.
Ho scaricato l’ultima release di Blender, la 2.44, l’installer per Windows (per ora ci smanetto al lavoro nella pausa pranzo, e qui ho Xp), poi l’ho installato ed eseguito; il programma apre una finestra a console, dove finiscono i vari messaggi di esecuzione, e leggendo le varie righe mi accorgo di due cose: 0) e’ stato compilato per usare Python2.5, 1) non trova un interprete Python esterno da usare.
La prima non mi stupisce, indica che Blender e’ bello aggiornato, mentre la seconda mi stupisce un po’, visto che Python ce l’ho bello installato… poi ci penso un attimo e mi rendo conto che 2.5 != 2.4, quindi tutto ok. Il programma parte comunque, visto che ha il motore Python interno, ma potrei avere problemi con script che estendono il core, percio’ provvedo tosto tosto all’installazione della nuova versione.
Tutto procede liscio, alla fine mi ritrovo le due versioni installate, c:\Python2.4 e c:\python2.5, e Blender, ma va!, dice che ha trovato un Python engine. Bene, chiudo Blender e aspetto di trovare un buon tutorial per partire.
Visto che mi rimane un po’ di tempo prima delle 14, ne approfitto per vedere cosa e’ cambiato nel mio sistema, e quindi provo a lanciare un paio dei programmi che ho scritto… e qui’ la prima piacevole sorpresa: finalmente hanno sostituito quelle orrende icone con il serpentello sorridente con qualcosa di piu’ bello, wow! Io da parte mia avevo gia’ provveduto a cio’ con un po’ di lavoro grafico.
Qualche immagine per spiegarmi meglio.
Icone 2.4 (sorgente/binario)

Mie icone (sorgente/binario)

Icone 2.5 (sorgente/binario)

Direi che ora le icone sono guardabili, anche se le mie continuano a piacermi parecchio…
Comunque, venendo al sodo, ho provato ad eseguire alcuni miei script, quelli console-based hanno continuato a funzionare senza problemi, mentre quelli GUI-based (GTK e WX) hanno avuto bisogno della reinstallazione delle librerie per Python2.5
Per ora non ho ancora nessuna linea di codice che utilizzi le nuove features di Python, non appena effettuero’ qualche test anche su questo verrete prontamente aggiornati!
Python rulez!
Alla prox
Technorati Tags: python, python2.5, icone
Posted by mcalamelli in JavaScript, Python, Windows | No Comments
Jul. 24, 2007
After a little work, now IE6 can show correctly hidden lists: not its mistake, it has been enough to correct lists-related tags.
But now i’ve a question: what happens with other browsers? Have you Safari, Konqueror or Opera for some OSes? Can leave to me a comment as a test result?
Thanks!
Stay tuned
Posted by massi in Blog, JavaScript, Windows | No Comments
Jul. 23, 2007
I had the bad idea to see my blog with Internet Explorer 6 and 7. Ok, usually i don’t like to say “IE sucks” or similar thing, but i’m in doubt: is it possible that every time i wrote HTML/Javascript code that are a little difficult than a table, i got a differences between Firefox and IE?
So i can start debugging…
Stay tuned
Posted by massi in Blog, JavaScript, Windows | No Comments
Jul. 20, 2007
Other works on blog’s theme: now, on sidebar, Pages, Categories e Archives sections are hidden, and the user can choose if show them or not clicking over a self-explaining image on the right of the section title. In this way I can reduce the length of sidebar, in order to make my blog, imho, more clean.
Technical details: i’ve enclosed lists elements into a div, setting in the right way id and style attributes; then i’ve added the image on the right of section’s title, and JavaScript code in order to handle onClick event over the image. This code check the visibility state of div, and then show/hide the div and change the image in order to explain in graphical way the concept.
Next step: blogroll sections, but it seems to me that i’ve to modify Worpress code…
Stay tuned
Posted by mcalamelli in Blog, JavaScript | 1 Comment
Jan. 29, 2007
E anche questo upgrade e’ andato a buon fine, giusto il tempo di fare il backup dei files e dei dati di mySQL!
Per la cronaca, ho seguito l’ottimo screencast di Andrea Beggi.
Buon upgrade a tutti!
Alla prox
Posted by mcalamelli in JavaScript, Opensource, PHP | 1 Comment
Jun. 15, 2006
Visto che non mi cagano, posto pubblicamente questo mio lavoro…
Allora, tutti conoscono la potenza del servizio di mappe di Google, e visti i progetti (mashup mi sembra si chiamino) basati su questo mi sono detto “Perche’ non vedere come funzionano?”, e ho impostato il mio progetto come potenziale servizio da offrire al webmaster di una delle mie trasmissioni radiofoniche preferite, Caterpillar.
Caterpillar si e’ creata una specie di rete alternativa di inviati sparsi in tutto il mondo, in modo da poter avere una voce sul campo in caso di notizie relative ad una determinata citta’ o nazione. La pagina attuale che mostra l’elenco non e’ male, ma non rende bene l’idea della copertura globale di questa rete, e cosi’ sono intervenuto io, con questa pagina. Il lavoro e’ piuttosto semplice, ma il colpo d’occhio che mostra non e’ male! Praticamente si tratta di una pagina semistatica (nel senso che non c’e’ nessuna programmazione server-side) che tramite le API di Google carica un file XML opportunamente formattato contenente i dati anagrafici e geografici degli inviati: il lavoro, in questo senso, e’ abbastanza scalabile, e puo’ essere facilmente interfacciato ad un database tramite un linguaggio di scripting server-side, in modo da avere una gestione dinamica degli inviati.
Buona visione!
Alla prox
Posted by mcalamelli in JavaScript, Opensource | 2 Comments
Feb. 21, 2006
I’ve updated mine crossword in DHTML in the management of saving/loading of the tables, I’ve found some problems with cookies.
Alla prox
Posted by mcalamelli in JavaScript, Opensource | 1 Comment
Feb. 20, 2006
Hi all, finally I have finished to this small “exercise of sile” in Javascript, joining therefore my passion for the programming with that one for the crosswords. The page that I have realized (it you can view ithere) allows, only using Javascript without nobody server-side, to create, to modify and to save in just the PC (through cookies) of the crossword. Now the system it’s easy, the definitions are not previewed, and above all non it works with Explorer, but it is works well, and to realize has given it to me great satisfaction. The generation of the cells happens to runtime, therefore like the allocation of the styles and the events, through the functions addEventListener and setAttribute, while as far as the saving I have used the cookies, encoding the relatives table’s data opportunely. I have tried various roads in order to set the system crossbrowser, but the management of the events of Explorer (and in particular the impossibility to use the this) has to me blocked, therefore now the system remains surely only Firefox-compatible (has not tested it with others browser): if to someone it appeals to my job and it has it wants to leave a comment on test of compatibility’ with others browser is the welcome! Remenber that the page is available here.
Alla prox




