Aggiornamenti Recenti RSS Toggle Comment Threads | Scorciatoie da tastiera

  • bigonazzi 21:43 on 6 September 2009 Permalink | Replica |
    Tags: 10.6, 64, 64bit, android, ddms, , , java 1.6, jvm, , sdk, snow leopard   

    Android: ddms on Snow Leopard 

    This weekend I got over my fear to update to the latest big cat: Snow Leopard. I have to say that almost everything worked smoothly. It feels like a new clean system, even tough I merely run the upgrade!

    Anyway, thanks to the new 64-bit JVM and carbon being 32-bit only, ddms tool from the Android SDK stubbornly refused to start even after half an hour of tweaking the java params. :(

    So I decided to go the hacky way (follow at your own risk):

    1. download the cocoa 64 bit version of SWT SWT (update: corrected the link)
    2. download the cocoa 64 bit versions of libswt-cocoa-3610.jnilib (download) and  libswt-pi-cocoa-3610.jnilib (download)  from  the swt 3.6M1 branch
    3. now go inside the android sdk folder and inside the tools > lib folder substitute swt.jar, libswt-carbon-3236.jnilib and libswt-pi-carbon-3236.jnilib with the corresponding version you just downloaded, having care to rename the new ones to match the old filenames

    Et voila, ddms running in 64 bit on Snow Leopard! Enjoy! ;)

    dArio

    Android ddms cocoa 64 bit

    Android ddms cocoa 64 bit, seeing is believing

    UPDATE: The new 1.6 r1 SDK is out and is using cocoa swt, but it is still trying to use the 1.5 JVM which is not working for me. :( The solution is pretty simple:

    Edit the ddms script (in /sdk-path/tools/), find the following lines:

    if [ `uname` = "Darwin" ]; then
    os_opts="-XstartOnFirstThread"
    #because Java 1.6 is 64 bits only and SWT doesn't support this, we force the usage of java 1.5
    java_cmd="/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/java"
    else

    and substitute with:

    if [ `uname` = "Darwin" ]; then
    os_opts="-XstartOnFirstThread -d64"
    #because Java 1.6 is 64 bits only and SWT doesn't support this, we force the usage of java 1.5
    # java_cmd="/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/java"
    java_cmd="java"
    else

    This way we use the default JVM (specified trough the Java Preferences.app) forcing the use of the 64bit version, with the -d64 (remove it to use the default or use -d32 to force 32bit)

    now export a shell variable (I do it in ~/.profile, but you can put anywhere you please) to tell ddms where to find your custom swt.jar lib. Using bash:

    export ANDROID_SWT="/path-to-custom-swt.jar/"

    Of course the architecture of your swt must match the architecture of the JVM you are using. Currently I’m using the 64 bit 1.6 JVM with the 3.6M1 swt jar (get it here).

     
  • bigonazzi 11:41 on 3 August 2009 Permalink | Replica |
    Tags: dropbox, guide, , jaunty, linux, ubuntu, xfce, xubuntu   

    Dropbox & Xubuntu 

    I’m trying out Xubuntu Jaunty on a small atom server and needed to setup dropbox (get it here) but the default dropbox package needs gnome!

    Fortunately I found a simple workaround on the inter-tubes:

    • Download the closed source Dropbox Linux client from http://www.getdropbox.com/download?plat=lnx.x86 (x86_64 for 64 bit)
    • Extract the contents and you should get a .dropbox-dist folder out of the archive. Move the folder to $HOME
    • Run “~/.dropbox-dist/dropboxd &” (without the quotes), wait a sec and you’ll get the config wizard.
    • Now add the same “~/.dropbox-dist/dropboxd &” to the session auto-start program list and your set!

    [original: http://antrix.net/journal/techtalk/dropbox_kde.html]

     
  • bigonazzi 15:54 on 14 June 2009 Permalink | Replica |
    Tags: barcelona, last lap, lorenzo, , , spain, vale, valentino rossi, , ,   

    rossi vs lorenzo barcelona 09ultima vuelta 

    more about “rossi vs lorenzo barcelona 09ultima v…“, posted with vodpod
     
  • bigonazzi 23:27 on 3 June 2009 Permalink | Replica |
    Tags: candidati, elenco candidati, europee 2009, italia centrale, lazio, liste elettorali, marche, , toscana, umbria   

    Elezioni europee, circoscrizione centro 

    Visto che non sono riuscito a trovare online una lista esaustiva e chiara di tutti i candidati per le europee ho fatto un po’ di copia e incolla per conto mio. Spero di non aver commesso errori, cmq per ogni lista ho messo anche il link al sito giusto per non avere dubbi. Di seguito, ed in nessun ordine particolare, le liste per le elezioni europee, circoscrizione III per l’Italia centrale (Lazio, Marche, Toscana e Umbria):

    Partito Democratico:

    1. David SASSOLI CAPOLISTA
    2. Leonardo DOMENICI sindaco di Firenze
    3. Silvia COSTA assessore reg. Istruzione-diritto allo studio-formazione
    4. Catiuscia MARINI europarlamentare uscente
    5. Palmiro UCCHIELLI Presidente Provincia Pesaro e Urbino
    6. Monica GIUNTINI europarlamentare uscente
    7. Giampiero CIOFFREDI coordinatore eventi internazionali Provincia di Roma
    8. Luisa LAURELLI consigliere reg. – Pres. Commissione sicurezza
    9. Francesco DE ANGELIS assessore reg. Piccola e media impresa-commercio e artigianato
    10. Alessandra SENSINI campionessa olimpico di windsurf
    11. Roberto GUALTIERI ricercatore universitario
    12. Guido MILANA presidente consiglio regionale
    13. Gabriele MORI ex parlamentare direttore generale enpaia
    14. Franco VACCARI psicologo – presidente comunità rondine

    Popolo Della Libertà:

    1. Silvio Berlusconi
    2. Roberta Angelilli
    3. Stefano Zappalà
    4. Alfredo Antoniozzi
    5. Lucio Barani
    6. Paolo bartolozzi
    7. Alessandra Calcagno
    8. Carlo De Romanis
    9. Federico Eichberg detto Federico
    10. Barbara Mannucci
    11. Alfredo Pallone
    12. Mariarosaria Rossi
    13. Potito Salatto
    14. Marco Scurria

    Unione Di Centro:

    1. Carlo Casini
    2. Luciano Ciocchetti
    3. Giovanni Rivera
    4. Luca Marconi
    5. Marco Andreani
    6. Anna Borgia
    7. Roberto Carlino
    8. Clemente Carta
    9. Mariolina Ciarnella
    10. Giulio Cozzari
    11. Paolo Maria Floris
    12. Sara Occhipinti
    13. Clara Podda
    14. Cinzia Santinelli

    LEGA NORD:

    1. Bossi Umberto
    2. Borghezio Mario
    3. Miroballo Francesco
    4. Morganti Claudio
    5. Stella Gabriella
    6. Infriccioli Pietro
    7. Salmoiraghi Elisabetta
    8. Canepa Emanuele
    9. Bellocchi Giuliana
    10. Bertelli Simona
    11. Di Berardino Bruna
    12. Demontis Pietro
    13. Frezza Paolo
    14. Bergolini Michela

    Italia Dei Valori:

    1. Antonio Di Pietro
    2. Niccolò Rinaldi
    3. Luigi de Magistris
    4. Sonia Alfano
    5. Paolo Brutti
    6. Nicola Tranfaglia
    7. Pietro Adami
    8. Luisa Capelli
    9. Anna Maria Colocci
    10. Dringa Milito Pagliara (detta Dringa)
    11. Carlo Rossetti
    12. Cristina Scaletti
    13. Gianteresio Vattimo (detto Gianni)
    14. Carlo Vulpio

    Sinistra e Libertà:

    1. Giuliana Sgrena
    2. Nichi Vendola
    3. Claudio Fava
    4. Umberto Guidoni
    5. Sergio Staino
    6. Roberto Musacchio
    7. Simonetta Salacone
    8. Alessandro Battilocchio
    9. Elisabetta Ballini
    10. Luca Cefisi
    11. Giovanni Cimini
    12. Martina Nardi
    13. Daniela Rosati
    14. Mauro Palma

    Lista comunista e anticapitalista:

    1. OLIVIERO DILIBERTO – Segretario nazionale PdCI
    2. FABIO AMATO – Responsabile Esteri PRC
    3. MARIA ROSARIA MARELLA – Umbria (PG) – Docente Universita’ Perugia
    4. RANIERO LA VALLE – Sinistra cristiana
    5. ANDREA CAVOLA – Lazio – Rappresentante sindacale SDL, cassintegrato Alitalia
    6. ROSA (ROSI) RINALDI – Lazio (RM) – Direzione nazionale PRC
    7. PAULA BEATRIZ AMADIO – Segretaria provinciale PRC Ascoli Piceno
    8. NICOLETTA BRACCI – Toscana – Bracciante agricola
    9. ORFEO GORACCI – Umbria (PG) – Sindaco di Gubbio
    10. GIUSEPPE MASCIO – Umbria (TR) – Assessore regionale Lavoro
    11. MARIO MICHELANGELI – Lazio (FR) – Segretario regionale PdCI, ex assessore regionale
    12. BASSAM SALEH – Lazio (RM) – Comunità palestinese
    13. VINCENZO SIMONI – Toscana (FI) – Presidente Unione Inquilini
    14. LUIGI TAMBORRINO – Lazio (RM) – Centro sociale Rialto

    Bonino e Pannella:

    1. PANNELLA Giacinto detto Marco
    2. BONINO Emma
    3. CAPPATO Marco
    4. ROSSI Aldo Loris
    5. VECELLIO Valter
    6. SCHETT WELBY Wilhelmine detta Mina Welby
    7. PAGANO Giorgio
    8. PARACHINI Mirella
    9. PULLIA Francesco Maria
    10. ROVASIO Sergio
    11. SIMI Giulia
    12. STADERINI Mario
    13. BERNARDINI Rita
    14. SPADACCIA Gianfranco

    LISTA  MPA/ALLEANZA DI CENTRO/LA DESTRA:

    1. MONICA STEFANIA BALDI
    2. STEFANO BENEDETTI
    3. MAURIZIO BRUGIATELLI
    4. TEODORO BUONTEMPO
    5. FRANCESCA MARIA CANTALAMESSA
    6. GRAZIANO CECCHINI
    7. COSIMO CHIARELLI
    8. CARLO FATUZZO
    9. UMBERTO NARDINOCCHI
    10. MONICA NASSISI
    11. PAOLO RICCIOTTI
    12. FRANCESCO SAPONARO
    13. STEFANO TODINI
    14. ALDO TRACCHEGIANI

    LIBERAL DEMOCRATICI – MAIE:

    1. Daniela MELCHIORRE
    2. Antonio RAIMONDI
    3. Carlo FANTOZZI
    4. Piera LEVI-MONTALCINI
    5. Clemente POTENZA
    6. Gherardo GUAZZINI
    7. Cristina GORAJSKI detta Cristina VISCONTI GORAJSKI
    8. Nadia BOBINI
    9. Francesco GARDENGHI
    10. Ennio MUCCIO
    11. Daniele PINNA
    12. Tommaso RIGHI
    13. Stefania TRABALZA
    14. Gianfranco ZICCARO

    FIAMMA TRICOLORE – DESTRA SOCIALE:

    1. ROMAGNOLI  Luca
    2. DI MARCO Alfio
    3. NUCCI Maurizio
    4. DE MARCO Giovanni
    5. CALISTI Marco
    6. MACCHETTA Milena in MARZANI
    7. ROSSI Augusto
    8. TOZZI Sergio
    9. SPERDUTO Simone
    10. TRAVAGLIATI Sergio
    11. BERNACCHI Alessandro
    12. GAMBERALE Adele
    13. CHIALASTRI Mauro
    14. CONFORTI Armando

    PARTITO COMUNISTA DEI LAVORATORI:

    1. Ferrando Marco, Genova, 18-07-1954
    2. Mantovani Tiziana, Milano, 11-07-1960
    3. Gemmo Eugenio, Roma, 15-02-1978
    4. Desideri Nazarena, Poggio Bustone (RI), 30-06-49
    5. Marsili Domenico, Forte dei Marmi (LU), 16-03-1948
    6. Lascialfari Maria detta Cristina, Firenze, 01-07-1948
    7. Rognoni Ruggero, Milano, 24-07-1954
    8. Pereira Leila detta Leila Daianis, Sorocaba (Brasile),15-03-1955
     
c
scrivi un nuovo post
j
post successivo/commento successivo
k
post precedente/commento precedente
r
rispondi
e
modifica
o
mostra/nascondi commenti
t
torna a inizio pagina
l
go to login
h
show/hide help
esc
Annulla