Stefano Costa

There's more than potsherds out here

Faccio l’archeologo e vivo a Genova

Stefano Costa
Stefano Costa
@steko@steko.iosa.it
338 articoli
20 follower
Powered by
WordPress
  • Total Station and GNU/Linux: Zeiss Elta R55 done!

    The pySerial library is really good. Today I installed it and in half an hour I got acquainted with its class methods, even though I have little knowledge about serial ports and the like. With some trial and error about the connection parameters, I was even able to solve the problem with non-printable characters, tweaking…

  • Total stations and GNU/Linux, part 2

    In this off-line weekend, I went on investigating the output from the Zeiss Elta R55 total station. First of all, it turns out that the file was not binary. A simple $ file downloaded_data downloaded_data: Non-ISO extended-ASCII text could have revealed this simple truth. My error was due mainly to the fact that most of…

  • cat /dev/total_station > file

    This post is one of the “dear lazyweb” ones. Here at the department we have a Zeiss Elta R55 total station. This device has its own software for downloading recorded data, but, as usual, it’s a Windows-only, non-free application. Is it possible to download data from such a device using a GNU/Linux machine? Nobody knows.…

  • hg record

    steko@cycnus:~/code/murature-hg$ hg help record hg record [OPTION]… [FILE]… interactively select changes to commit I have been using mercurial for 2 months now, and I never noticed it had this great feature. It was the only thing that I missed about leaving darcs. For a chaotic person like I am, it’s a must.

  • 9000

    Due giorni fa ho superato quota 9000. Non mi sono dato all’alpinismo estremo, sto solo invecchiando! steko@cycnus:~$ age.py ste ha 9002 giorni. ste ha 321 lune. ste ha 24 anni. Qui c’è il codice (stupidissimo) per scoprire quanti giorni avete.

  • meno 3

    E anche un altro esame è stato superato… Poteva andare meglio, ma sinceramente a questo punto del mio cursus studiorum non mi interessano tanto i numeri quanto le cose che faccio, e cerco di fare quelle che mi interessano. E poi quando finirò gli esami potrò iniziare la tesi, e lavorarci con calma, metodo… perché…

  • Ti rendi minimamente conto di come si sente un disabile…

    … quando giri per stazioni e marciapiedi con una borsa pesante a rotelle, e: bestemmi ogni scalino benedici ogni rampa o piano inclinato di qualunque genere (purché non eccessivamente ripidi), ringraziando gli illuminati responsabili della amministrazione della cosa pubblica per averti concesso il diritto di muoverti Minimamente…

  • Python PEPS always with you

    AFAICT, in Debian we have no python-doc-peps package (probably due to license issues?) For all those who aren’t online 24/7, having the PEPS with you is as simple as: $ svn co http://svn.python.org/projects/peps/trunk/ peps followed by an eventual $ cd peps $ ./pep2html.py And you’re done!

  • Creative Commons and Flickr, or my 2 minutes of glory

    One of my photos taken in Vienna when I went there for the 11th “Computer & Archäologie” workshop (2006) has been selected for the Schmap Vienna Guide! The photo had been published on Flickr, with a Creative Commons – Attribution – ShareAlike license. The editors contacted me by e-mail, asking for my permission before the…

  • hg meme: hours of the day I work

    I started using Mercurial for a new IOSA subproject. Our public repository is hosted at sharesource. In a geeky moment, I wrote this one-liner (splitted in two lines for your browsing pleasure): LC_ALL=C hg log | grep date: | awk ‘{ print($5) }’ | \ awk -F “:” ‘{print($1)}’ | sort | uniq -c Update:…