Stefano Costa

There's more than potsherds out here

Faccio l’archeologo e vivo a Genova

Categoria: News

  • JGR

    Sometimes I just need to show how R is good without scaring too much people, typing commands on the command line.

    That’s why I installed JGR. Unfortunately, there’s no binary package for it in my distribution, so I used the classic install.packages().

    JGR has a bug though, and as far as I know it hasn’t been fixed. However, I quickly found a workaround.

    Just open the startup script with your favourite text editor:

    sudo vi /usr/local/lib/R/site-library/JGR/cont/run

    and add the following line at the beginning:

    cat ~/.JGRprefsrc | sed ‘s/, /,/g’ > ~/.JGRprefsrc

    It’s just a bit of regexp magic, and it does the trick nicely.

    [@more@]

  • Quantitative Archaeology Wiki

    After some months of testing, we eventually got this new wiki started. Some content is already available on Quantitative Archaeology Wiki.

    I got off Wikia and chose to start a new wiki on my webserver using Dokuwiki. Dokuwiki is cool, not only because it runs on text files and doesn’t need MySQL or another database. It’s good because it was NOT designed with an encyclopedia in mind, like MediaWiki is. Markup is even simpler and loading of images directly into pages works like a charm. Furthermore, I can write pages while offline, even hundreds of pages, and then upload them with FTP to the server, as plain text files.

    Besides the Digging Numbers exercises replica, Loïc Jammet-Renal uploaded a summary of his master thesis with R code that implements the creation of Ford’s Battleships diagrams. The result is very good-looking.

    .

    I hope more people can join this wiki and help building a good repository for students in Quantitative Archaeology.

  • KerGIS?

    KerGIS est un Système d’Information Géométrique topologique dérivé de la dernière version du logiciel en domaine public G.R.A.S.S.® (Geographical Resources Analysis Support System) telle que publiée par U.S. Army C.E.R.L. (Construction Engineering Research Laboratory).

    I ignored totally the existence of such a piece of software.

  • yafc ‒ Yet Another FTP Client

    Graphical FTP clients available for my operating system actually suck. Let me know if I am wrong.

    The good ol’ command line ftp is no better, anyway.

    So with debtags I found out yafc. It’s great. Help pages for single commands are more than one screen long and each command has dozens of options. Everywhere is is desiderable, yafc supports recursive commands, and you can forget about your cheap hosting not giving you shell access to your webspace.

  • RSeek.org

    RSeek is a new vertical search engine about the R (not-just-statistical) Software. You can add it in your browser’s search bar, and it’s really useful because usually I get crazy with queries like “r graphics” that give me tons of results that have nothing to do with R.

    By the way, if you don’t know any other vertical search engine, try WikiSeek, and you won’t stop using it.

  • LaTeX colorbox and text alignment

    Today I found out that when you use a colorbox statement in your LaTeX code, you have to put comments at the end of the lines inside all text environments where you want to keep offsest and text alignment right. Just like this:

    begin{center}
    includegraphics[width=.5textwidth]{logo.png}
    vspace{10ex}
    begin{Huge}
    texttt{%
    textbf{%
    colorbox[rgb]{0.137255, 0.137255, 0.862745}%
    {textcolor[rgb]{1, 1, 1}{g}}ruppo%
    colorbox[rgb]{0.137255, 0.137255, 0.862745}%
    {textcolor[rgb]{1, 1, 1}{r}}icerche%
    }%
    }%
    end{Huge}
    vspace{2ex}
    Istituto Internazionale di Studi LiguriSezione di Genova
    vspace{10ex}
    end{center}

    Otherwise, the line that contains the colorbox(es) will have a wrong offset.

  • Luciana Littizzetto

    Da parecchio tempo ormai la domenica sera il popolo della sinistra (anzi, di una certa sinistra) ha un appuntamento fisso: Fabio Fazio e il suo programma cultural-meteorologico. Quando questa trasmissione era iniziata, non si può negare che fosse drasticamente migliore di qualsiasi altro programma televisivo di pseudo-intrattenimento, soprattutto trasmesso in un orario così inconsueto. Oramai, come i ragazzini che guardano i cartoni animati, uno stuolo di adulti attende la voce luciferina di Luciana che invoca Lui, «Eminems». All’inizio era divertente, lo ammetto. Era utile, dava voce a quei tanti che della Chiesa Cattolica non gliene frega niente e pensiamo che sia una organizzazione mangia-soldi (nel migliore dei casi) che si intromette nelle nostre vite. All’inizio un po’ di irriverenza, ci stava, e io sono il primo a esserlo più spesso del dovuto. All’inizio al governo c’erano gli Altri. Poi, è diventato noioso. Fazio, anzitutto, è diventato noioso, e intervista sempre le stesse persone (Paolo Rossi, Francesco Guccini,…) facendo sempre le stesse domande a tutti. E poi, insomma, mi pare che ultimamente Ruini si presenti alle nostre orecchie meno di una volta alla settimana. Soprattutto, siamo tutti in grado di capire che Ruini o chicchessia è fastidioso per la nostra libera esistenza (ma non fastidioso in concreto, nei fatti: fastidioso come una mosca…). Soprattutto, e arrivo al punto e la finisco qui, mi pare che da qualche tempo ci sia un po’ di gente di una certa sinistra che guarda Luciana Littizzetto e sta lì a pendere dalle sue labbra, mentre lei mi spiega che penso. Ecco il problema. Ascoltate per farvi dire cosa dovete pensare. E non va bene. You could only repeat what we told you.

  • Creative Commons 3.0

    The new, much awaited version of the Creative Commons Licenses has been released. They are in the end unbiased towards non-US content publishers, among other improvements.

    You can just try out the nice license selector and enjoy the goodnees of copyleft artwork. 

  • Linux in Action: Pre-Installed Linux Options

    Per una volta, siamo riusciti a fare una cosa che riesce sempre tanto bene agli altri: una lobby. Il sito http://www.dellideastorm.com/, in cui Dell chiedeva agli utenti di esprimere le proprie richieste per migliorare la sua offerta commerciale, è stato letteralmente sommerso da una unica, grande e incontentabile richiesta: Linux.

    Niente Windows preinstallato, software libero al posto di quello proprietario anche sulle macchine Windows, portatili certificati GNU/Linux… insomma, quello che ci si potrebbe aspettare in un mondo più civile e meno corroso dalle politiche anti-commerciali di monopolio di alcune note (e altre meno note) case di software.

    E Dell ha risposto bene (forse già se lo aspettavano?), assicurando che sta già prendendo contatti con alcuni progetti di distribuzioni.

    Quindi, la prossima volta che dovete comprare un computer, portatile o non portatile, pensateci bene due volte prima di andare da [nome di noto supermarket di elettronica e cianfriscole digitali]. Non andate a comprare il computer al supermarket dell'elettronica, spendete bene i vostri soldi, proprio come li spendereste bene per comprare una automobile (o no?). Fate la Cosa Giusta™.

  • Compiling Stereo Photogrammetry Software

    Stereo is an old free photogrammetry software, that was developed in 1997 by Paul Sheer during his PhD. At the moment it's one of the few free software programs that do photogrammetry (correct me if I'm wrong), that was due to be integrated into GRASS but is now stuck.

    Yesterday I found out that errors I had compiling Stereo from source code were due to using GCC 4.1 (too recent for 10 year old code). Compiling it with GCC 3.4 gave just some warning but now I have it “working”. Of course there's no magic so the interface is still very very buggy and unstable.