Entries from July 2009 ↓

L’apprendimento dei Micini

Ecco che il mio esperimento sul micino sta dando i suoi frutti. Come ampiamente discusso sul Rockhouse Podcast, vediamo come si svolge l’esperimento sul felino.

La bestia non e’ stata maltrattata e nemmeno lontanamente annoiata.

Ascoltate online la puntata di Rockhouse dove si parla dell’apprendimento dei Micini.

icon for podpress  Standard Podcast: Play Now | Play in Popup | Download

Due parole dette bene…

Ascoltando la presentazione de Il Fatto Quotidiano, in varie trances, mi sono imbattuto in questo monologo di Beatrice Borromeo.

icon for podpress  Other Media: Play Now | Play in Popup | Download

Grande Beatrice!

E poi sono anche meravigliose le interpretazioni delle intercettazioni.



After using my iLiad for a while I found that it’s super to read stuff that you find on internet. But you have to put it in there….

I came with a openoffice template with proper page dimensions to fit in whatever I find interesting to read. But for blogs or so, something that I read more or less regularly this is a pain. So I used python to retrieve the feeds and reformat them for the real formatting program pdfLaTeX.

Well, the very first code looks like this:

import feedparser
import re
import os
import locale
language, output_encoding = locale.getdefaultlocale()
def remove_html_tags(data):
p = re.compile(r'<.*?>')
return p.sub('', data)
def remove_html_special_char(data):
p = re.compile(r' ')
return p.sub('', data)
def br2dobleLine(data):
p = re.compile(r'
return p.sub('\n\n',data)
d = feedparser.parse("http://voglioscendere.ilcannocchiale.it/blogs/feeds/blogrss20.aspx?blogid=32495")
print "feed parsed"
##print e.title
##print desc
os.chdir ("/Users/paskino/temp/")
header = """\documentclass[iliad,12pt,oneside,onecolumn,final,openany]{iliad}
\setlength{\hoffset}{-0.8 in}
\setlength{\\voffset}{-1 in}
e = []
news = []
section = header
for i in range(len(d['items'])):
desc =remove_html_special_char(remove_html_tags(br2dobleLine(e[i].description)))
news= “\section{”+e[i].title+”}”+desc
section += news
section += footer
##section = header+news[1]+footer
f.write(section.encode(”ISO-8859-1″, ‘ignore’))

You can download the script here.

The class iliad.cls is just a sligthly modified article.cls from standard LaTeX, in which I defined the dimensions of the iLiad screen as:

{\setlength\paperheight {163mm}%
\setlength\paperwidth {122mm}}

By now it works impressively well, with minor bugs/problems.

The code depends on Universal Feed Parser.

Keith Richard’s sound

Yesterday I listened to the Rolling Stones, and Keith Richard has a pretty peculiar sound. It was not so easy (in fact I didn’t manage) to reproduce it with my guitar, I couldn’t find the proper chords and notes. I turned to youtube and I found out that Keith Richard plays with a guitar that is tuned a little bit different: Keef open G.

In practice this means that you have to tune down of one tone the E and the A strings. This results in a D-G-D-G-B-D, which is a nice G chord with the fifth at the bass without touching the guitar. And also in the typical sound of the Rolling Stones! But, browsing the internet I stumbled upon this nice video: