klezlabhttps://klezlab.it/2022-07-09T00:00:00+02:00Una giornata nel futuro2022-07-09T00:00:00+02:002022-07-09T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2022-07-09:/una-giornata-nel-futuro.html<p>La versione ri-editata di un racconto che ho scritto nel 2017 e che è stato pubblicato nel #3 della zine <strong>LAPIDAZI(O)NE</strong> nell'ottobre dello stesso anno.</p><p><em>Quella che segue è la versione ri-editata di un racconto che ho scritto nel 2017 e che è stato pubblicato nel #3 della zine <strong>LAPIDAZI(O)NE</strong> nell'ottobre dello stesso anno.</em></p>
<hr>
<p>Mi sveglio alla solita ora. Non quella che ho impostato sulla sveglia, ma quella che il mio cellulare ha calcolato come l'ora ideale per svegliarmi in base a come dormo, a quanto ci metto per essere pronto a uscire, alle condizioni del traffico nel percorso che mi porta al lavoro e a ritardi eventuali dell'autobus.</p>
<p>Mi alzo e mi dirigo verso il frigorifero. Il display mi informa che il latte sta per finire e mi propone di ordinarne di nuovo. Mi consiglia il latte GranLat, anche se sa benissimo che non lo compro mai, dato che sa esattamente cosa si trova al proprio interno. Opto per la solita marca di latte. Il frigorifero piazza l'ordine. La macchina del caffè è già pronta e calda, ma questa è tecnologia vecchia.</p>
<p>Dopo colazione esco e vado in edicola per prendere il giornale. Inserisco la mia carta di credito e il "giornalaio" (in realtà il computer all'interno dell'edicola) sa già che giornale far uscire dallo sportello. Potrei farmelo consegnare direttamente sul telefono. Costerebbe meno, ma sono all'antica. Mi piace la sensazione della carta tra le mani.</p>
<p>Salito sull'autobus, il lettore retinico mi illumina gli occhi. Sa che ho l'abbonamento ai mezzi pubblici, quindi non mi addebiterà la corsa. Lo schermo sotto il lettore mi consiglia di comprare il latte della GranLat, visto che il latte (di altra marca) nel mio frigo è quasi finito.</p>
<p>Arrivo in ufficio e accendo il computer. Generosamente offerto da Amazon. Non vogliono nulla in cambio e sanno sempre quando voglio comprare qualcosa e cosa voglio comprare. E hanno un prezzo ragionevole. Mi suggeriscono l'acquisto di alcuni libri, ma in questo momento la lista dei libri che ho a casa e che devo ancora leggere è troppo affollata per aggiungerne altri. Rifiuto cordialmente i suggerimenti e opto per un film. Mi arriverà comodamente a casa entro domani.</p>
<p>All'ora di pranzo vado al bar (che poi è solo una parete di sportelli contenenti pietanze). Schiaccio il pulsante per avere un panino con la porchetta e inserisco la carta. La macchina, però, mi ricorda che ho il colesterolo alto. Il dato viene dal piccolo chip che mi sono fatto installare sotto pelle per tenere sott'occhio il mio stato di salute. Un gentile regalo dell'assicurazione, che mi ha promesso un premio inferiore sulla polizza vita se mantengo uno stile di vita sano. Se prendo il panino con la porchetta, rischio che il premio aumenti. Opto per un piatto di verdure al vapore.</p>
<p>Alle 18 esco dall'ufficio e riprendo l'autobus per tornare a casa. Di nuovo la pubblicità della GranLat. Arrivato a casa trovo il pacco refrigerato contenente il latte acquistato stamattina. Lo porto nel frigorifero, che finalmente smette di mostrarmi pubblicità della GranLat.</p>
<p>Entro un po' su Facebook. Tra le varie foto di amici e i video di gattini, mi propone alcuni sondaggi veloci. "Preferisci i cani o i gatti?", oppure "Hai mai acquistato un elettrodomestico a rate?" e ancora "Quanti anni avevi quando hai bevuto la tua prima birra?". Dicono che a più domande rispondo, più Facebook sarà preciso nel suggerirmi amici da aggiungere e gruppi da seguire. Sinceramente, non mi interessa: uso Facebook solo per restare in contatto con gli amici stretti.</p>
<p>Ho voglia di uscire stasera. Salgo sull'automobile e imposto la destinazione. Mi ci porterà automaticamente. Per qualche ragione, invece di farmi fare il percorso più diretto, decide di prenderla un po' più larga e facciamo un giro panoramico nella zona commerciale della città.</p>
<p>Dopo aver passato qualche ora al pub, risalgo sull'automobile e imposto come destinazione casa mia. Anche stavolta l'auto mi ci porterà automaticamente. O meglio, lo farebbe se la compagnia assicurativa non l'avesse bloccata da remoto tramite la scatola nera che mi hanno fatto installare per ridurre ulteriormente il premio assicurativo. Dannazione, che ho fatto stavolta? Il display dice che ho fatto 5 Km in più rispetto a quanto previsto dal mio contratto. Posso decidere se aumentare il premio assicurativo, lasciare la macchina ferma fino alla fine del mese o accettare l'offerta del giorno. L'auto mi porterà fino al ristorante indiano poco più avanti, dove potrò ordinare lo speciale del giorno e poi mi riporterà a casa senza ulteriori spese. Non ho voglia di mangiare indiano stasera. Farò due passi. In linea d'aria, sono a poco più di un chilometro da casa.</p>
<p>Rientro in casa, ma l'impianto di domotica non accende automaticamente le luci al mio ingresso. Strano. Vado verso il pannello di controllo, che mi dice che non ho pagato l'ultima bolletta dell'elettricità e che, quindi, finché non saldo il conto, resterò senza corrente. Strano. Ricordo distintamente l'addebito sul mio conto corrente. La compagnia elettrica è comunque abbastanza gentile da lasciare una luce d'emergenza a bassa intensità accesa, così come continuano a funzionare il frigorifero e la caldaia. Verranno ad espropriare qualcosa se non saldo il conto entro un paio di settimane. Domani andrò a reclamare in banca.</p>
<p>Il giorno dopo, il cellulare mi sveglia. Nella mia stanza sono presenti uomini in divisa. Dicono che sono accusato di potenzialità sovversive. Non capisco.</p>
<p>Nessuno vuole spiegarmi. Mi portano in questura. Mi fanno sedere in una stanza completamente spoglia, tranne che per una scrivania con sopra poggiato un computer. Dietro la scrivania c'è un uomo ben vestito, seduto su una sedia. Non stacca gli occhi dal monitor quando entro. Non c'è una sedia per me.</p>
<p>Senza ancora staccare gli occhi dal monitor mi fa alcune domande banali. Nome, cognome, data e luogo di nascita, titolo di studio, occupazione...</p>
<p>Poi mi chiede se faccio parte di qualche associazione volta a sovvertire l'ordine democratico. Strabuzzo gli occhi dalla sorpresa e rispondo di no. A quel punto comincia a snocciolare una lista di titoli di libri, senza pausa tra un titolo, l'autore e il titolo seguente. Mi rendo conto che sono tutti libri che ho letto. Poi una lista di film, anche questa letta senza pause, e tutti film che ho visto. Poi una lista di siti web. Qui faccio un po' più di fatica a ricordare se li ho visitati. Infine mi chiede perché non ho acquistato i libri che mi ha suggerito Amazon. Non so cosa rispondere.</p>
<p>Vuole anche sapere perché il mio account su Facebook non riporta il risultato di nessuno dei sondaggi che solitamente propongono. Di nuovo, non so cosa dire.</p>
<p>Sembra soddisfatto del proprio operato. Fa un cenno verso un angolo della stanza (dove, mi accorgo solo ora, è presente una videocamera). Entrano due uomini in divisa, mi ammanettano e mi portano via.</p>
<p>Il resto si svolge abbastanza velocemente. Gli algoritmi del Ministero di Grazia e Giustizia hanno già deciso, in base ai dati in loro possesso e ai miei pattern comportamentali, che sono un potenziale sovversivo, quindi un processo è superfluo. Vengo portato direttamente in cella, dove sono presenti solo un lettino, un gabinetto e un frigorifero, il cui schermo emette l'unica luce nella stanza. Non c'è una mensa in questo carcere, il frigo sarà la mia unica fonte di cibo. Mi avvicino per leggere lo schermo. C'è scritta solo una cosa. Mi ricorda di comprare il latte GranLat.</p>Project Necromancy2022-04-08T00:00:00+02:002022-04-08T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2022-04-08:/project-necromancy.html<p>Looking at other people's blogs made me think about how long ago I started a blogging. I didn't have an answer, so I did what any reasonable person would do: I started looking for my (nick)name on search engines. By doing this I found at least two old blogs …</p><p>Looking at other people's blogs made me think about how long ago I started a blogging. I didn't have an answer, so I did what any reasonable person would do: I started looking for my (nick)name on search engines. By doing this I found at least two old blogs: one hosted on <a href="https://altervista.org">altervista</a> (a very well-known free web hosting provider in Italy back then) and one on <a href="https://wordpress.com">wordpress.com</a>.</p>
<p>Why should this stuff be scattered around? And why should my current personal blog's <a href="https://klezlab.it/resolutions-for-2014.html">earliest post</a> be from 2013 when I <em>know</em> I had a web presence much earlier than that?</p>
<p>So I decided to take those articles and copy them on this website.</p>
<p>Unfortunately the first blog I have memory of (the one on altervista) is no longer online, but I managed to snatch some of the articles using the Internet Archive's Wayback Machine (by the way, you should <a href="https://archive.org/donate">donate</a> to the Internet Archive, if you can). Unfortunately not everyithng was archived, so some articles (six by my count) have not been migrated here. All of the entries from this blog (29 articles) are in Italian, and they date from 2007-02-28 to 2009-06-26.</p>
<p>The other blog (the one on wordpress.com) only had six articles. Of those, three are in Italian and three in English. They date from 2011-02-12 to 2011-09-04 (this was a short-lived one, apparently).</p>
<h2>Re-reading my old stuff</h2>
<p>Re-reading the articles I had a couple of insights:</p>
<ul>
<li>Apparently the name "klezlab" (stylized as KlezLab) was first used in March 2008, as <a href="https://klezlab.it/buon-compleanno-klezlab.html">this post</a> evidences wishing a happy first birthday to the blog.</li>
<li>That same post says KlezLab was substituting a previous blog called OpenWorld. I have no recollection of that blog.</li>
<li>Apparently <a href="https://klezlab.it/perche-linux.html">a post</a> had been migrated from this mysterious OpenWorld blog, since it's dated 2007-02-08, a year and a month before the purpoted birth date of KlezLb.</li>
<li>I started that first blog when I was around 19 and stopped blogging on it when I was nearing 22. Most of the stuff in there is really cringeworthy (and vaguely edgy).</li>
<li>I half-ate the onion in a <a href="https://klezlab.it/vostro-figlio-e-un-hacker.html">post</a> when discussing the famous <a href="https://web.archive.org/web/20191223114015/http://www.adequacy.org/public/stories/2001.12.2.42056.2147.html">Is Your Son a Computer Hacker?</a> satirical article.</li>
</ul>
<h2>Some technical notes</h2>
<p>This is where you would expect the source code for the script I used to retrieve those old posts, convert them to markdown and post them on this blog.</p>
<p>Well, unfortunately I did this by hand. It only took 3-4 hours.</p>
<p>I copied the markup directly from the page sources and only transformed paragraphs (as in <code><p></code> tags) to bare lines (which markdown then interprets as paragraphs). I don't know why I did this last thing, but when I thought about it I was almost done, so it stayed that way.</p>
<p>Coming from the Internet Archive, all the links in the posts from the older blog are Internet Archive links, but they were all pointing to a specific date. So I used <code>sed</code> to go through all those links and use an asterisk instead of the archive date (e.g. <code>https://web.archive.org/web/*/http://example.com</code>).</p>
<p>Unfortunately, some of the linked stuff is not available on the Internet Archive, even when a link to it is provided in the posts.</p>
<p>Finally, I put a big red disclaimer on top of every post explaining where it comes from and the fact that, being old, those posts may not reflect my current opinions. The disclaimer links to this post for further detail.</p>
<h2>Further work</h2>
<p>I know there's stuff that is not included here that I remember having written. Which means that it's either part of the "lost articles" from the oldest blog or there are other blogs I left to rot around the internet. I'll write an update in case I find anything else.</p>Rock Paper Scissors Solitaire2022-03-12T00:00:00+01:002022-03-12T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2022-03-12:/rock-paper-scissors-solitaire.html<p>Are you bored? And I mean, <strong>really</strong> bored? Like "I'd do anything to pass time"-bored?</p>
<p>Do you also happen to be alone and without an internet connection?</p>
<p>You could play Rock Paper Scissors solitaire!</p>
<p>All you need is a dice. That's your opponent. Throw it from your hand and …</p><p>Are you bored? And I mean, <strong>really</strong> bored? Like "I'd do anything to pass time"-bored?</p>
<p>Do you also happen to be alone and without an internet connection?</p>
<p>You could play Rock Paper Scissors solitaire!</p>
<p>All you need is a dice. That's your opponent. Throw it from your hand and as soon as you throw it form the shape you choose with your hand and see the result of the dice. 1-2 is Rock, 3-4 is Paper, 5-6 is Scrissors.</p>
<p>Those numbers can be changed if you don't like them. For example I grew up calling it Paper Rock Scissors (<em>Carta-Sasso-Forbici</em> in Italian), so to me 1-2 being Paper and 3-4 being Rock is easier to mentally handle.</p>
<p>That's it.</p>
<p>Did I mention you need to be <strong>really</strong> bored to enjoy this?</p>2020-03-29 21:57:012020-03-29T21:57:01+02:002020-03-29T21:57:01+02:00Federico klez Cullocatag:klezlab.it,2020-03-29:/20200329215701.html<p>New minimalistic theme! Now also more readable on mobile</p>2018-11-17 20:40:012018-11-17T20:40:01+01:002018-11-17T20:40:01+01:00Federico klez Cullocatag:klezlab.it,2018-11-17:/20181117204001.html<p>Gogs is getting <a href="https://github.com/gogs/gogs/pull/5485">indiewebified</a>. A small step for the indieweb :)</p>The Guardian vs. Scary Russian Hackers2018-07-25T00:00:00+02:002018-07-25T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2018-07-25:/guardian-vs-scary-russian-hackers.html<p>There are a couple of things that are really complex: geopolitics and computer security. In this day and age, a lot of people seem very scared about a mix of those two themes, that is <em>Russian Hackers</em>.</p>
<p>While casually snooping around The Guardian's homepage today, I found an article entitled …</p><p>There are a couple of things that are really complex: geopolitics and computer security. In this day and age, a lot of people seem very scared about a mix of those two themes, that is <em>Russian Hackers</em>.</p>
<p>While casually snooping around The Guardian's homepage today, I found an article entitled <a href="https://www.theguardian.com/commentisfree/2018/jul/24/darknet-dark-web-hacking-forum-internet-safety">My terrifying deep dive into one of Russia's largest hacking forums</a> by <a href="https://www.dylancurran.net/">Dylan Curran</a>. It tells how the author passed one week on a darknet russian hacking forum and the impressions it gave him.</p>
<p>Following are some opinions I'd like to share about this opinion piece.</p>
<p>The first thing that caught my attention was the definition he gave for the term "phreaking". In the article he describes it as:</p>
<div class="highlight"><pre><span></span><code><span class="o">[</span><span class="n">P</span><span class="o">]</span><span class="n">hreaking</span><span class="w"> </span><span class="k">is</span><span class="w"> </span><span class="n">trying</span><span class="w"> </span><span class="k">to</span><span class="w"> </span><span class="k">break</span><span class="w"> </span><span class="n">someone</span><span class="err">’</span><span class="n">s</span><span class="w"> </span><span class="n">security</span><span class="w"> </span><span class="n">network</span>
</code></pre></div>
<p>I'll just ignore the term "security network" as I think that's an artifact of the translation software he used. My point is that... that's not what <em>phreaking</em> is. Phreaking is the act of hacking the phone network and infrastructure. In <a href="https://twitter.com/iamdylancurran/status/1021765351242125319">a tweet</a> Curran points out that that's the meaning the darknet users give to the term. I don't know if it's true (actually, I sincerly doubt it) but pointing it out in the article would have been a good thing, in my most humble opinion. Also, I don't really agree with his point that he's not writing for the security-literate 0.1%. One thing is dumbing a concept down. Another thing entirely is writing wrong information.</p>
<p>Another thing that didn't sit well with me was general fear-mongering tone of the article. While it's certainly true that Russian hackers do exist and they are almost certainly attacking western infrastructure, the article mentions just tutorials about social engineering and information retrieval via open source intelligence activities. Things that any wannabe hacker or security expert learned to do in the first weeks of finding security an interesting field. This does nothing to prove that Russian hackers are a much worse threat than anything else in the security world.</p>
<p>Moreover, I'm pretty sure I could find that kind of material and people discussing it even in the clearnet, both from Russian and non-Russian sources. I would like to see what Curran has to say about <a href="http://phrack.org/">Phrack</a> or other similar websites.</p>
<p>All in all, I feel this article does a disservice to the general public by both giving wrong information (that's just a tiny, minor part of the article, to be fair, but still) and by sensationalizing things that many in the computer underground take for granted.</p>
<p>P.S.</p>
<p>If Dylan Curran ever reads this response, I'm not picking on you specifically, it's just that this article left a sour taste in my mouth. If you ever want to chat about this, there's my twitter profile link on my home page. Peace :-)</p>2018-05-24 22:45:512018-05-24T22:45:51+02:002018-05-24T22:45:51+02:00Federico klez Cullocatag:klezlab.it,2018-05-24:/20180524224551.html<p>Finally got my 5+ years old raspberry pi out of the shelf and connected it to my home network. Hostname: zelos. I still have to decide what to do with it :D</p>2018-04-30 16:16:332018-04-30T16:16:33+02:002018-04-30T16:16:33+02:00Federico klez Cullocatag:klezlab.it,2018-04-30:/20180430161633.html<p>Not just a blog anymore. Now my profile is directly on top of the home page instead of its own About page</p>2018-04-29 21:26:512018-04-29T21:26:51+02:002018-04-29T21:26:51+02:00Federico klez Cullocatag:klezlab.it,2018-04-29:/20180429212651.html<p>I modified the site's template a little bit to accomodate microblog posts. Next step, POSSE to Twitter</p>Aesthetic Minimalism and Technical Minimalism2016-04-19T00:00:00+02:002016-04-19T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2016-04-19:/aesthetic-minimalism-technical-minimalism.html<p>A recent submission to Hacker News was a website called <a href="http://brutalistwebsites.com/">Brutalist Websites</a>, a showcase of other websites with a graphic style that one could define, well, ugly (by today's standards). Most of them also display some characteristics of this decade's design trend, namely <em>minimalism</em>.</p>
<p>What actually distinguishes them from the …</p><p>A recent submission to Hacker News was a website called <a href="http://brutalistwebsites.com/">Brutalist Websites</a>, a showcase of other websites with a graphic style that one could define, well, ugly (by today's standards). Most of them also display some characteristics of this decade's design trend, namely <em>minimalism</em>.</p>
<p>What actually distinguishes them from the plethora of so-called minimalistic websites, is that they are not only aesthetically minimalist. Most of them are also lightweight in terms of data transfer.</p>
<p>Take, for example, <a href="https://tomcavill.com/">Tom Cavill</a>'s website. It consists of just the webpage itself and a small CSS file, clocking in at 4.23 kilobytes. My browser (Firefox 38.7, I'm on ESR because reasons) took a whopping 0.82 seconds to download the website and render the whole page (on a second generation i5 with 8 GB of RAM). Guaranteed, it's not the most beautiful design ever witnessed, but it carries the point across, it's not (too) painful to read.</p>
<p>Another nice example is <a href="https://seththompson.org/">Seth Thompson</a>'s website, that weights 153.07 kilobytes, including a 107.70 kilobytes image. Download and rendering time: 0.76 seconds. This, too, won't win a beauty contest, and the skewed text makes it a bit painful to read.</p>
<p>But the cake goes, obviously, to the famous <a href="http://motherfuckingwebsite.com/">Motherfucking website</a>, 4.98 kilobytes of pure html, 1.72 seconds to download and render (weirdly enough, the worst of the three) and the best of the pack in terms of readability.</p>
<p>Compare this to the <a href="http://www.apple.com/ipad/">iPad page</a> on Apple's website. The design can be considered minimalist by any <a href="https://www.nngroup.com/articles/characteristics-minimalism/">modern</a> sense of the word. But guess what? That page downloads 5,745 kilobytes of stuff, requiring 7.30 seconds to completely display on screen. The html itself is just above 6 kilobytes.</p>
<p>So let's get to the gist of what I meant to say, keeping in mind that I'm neither a designer nor a UX person. There's obviously a difference between aesthetic minimalism and what I'm calling (for ignorance and lack of a better term) technical minimalism. While examples of the former are certainly more pleasing to the eyes and, probably, more usable, I'd venture that there is value in the latter group too.</p>
<p>Consider the loading time of the aforementioned iPad page. I'm waiting 7 seconds to basically view a brochure. In those 7 seconds a single core of my computer could have done roughly 17.5 BILLION operations. So why are we wasting so much computing power to view brochures?</p>
<p>Of course, I'm not saying every website should look like <a href="http://ryder-ripps.com/">this</a> (246.30 kilobytes and 1.27 seconds to download and render, by the way), but I'm pretty sure we could better use our bandwidth and processing power, even just to not have to throw away old computers just because they struggle with the basic task of web browsing.</p>
<p>But it's not just the web that is increasingly resource-angry. I'm currently running XFCE, Thunderbird, Firefox (with just one tab open, displaying a text-only page), GVim (for writing this article) and <code>st</code> (a terminal emulator) running <code>tmux</code> with two windows (one idle, the other running <code>top</code>) and the RAM usage (net of buffering) is just shy of 700 MB. The web browser and the email client by themselves are taking more than half of that. I get it, they are huge programs that do a lot of stuff. And that's kind of the point. While I love using both of them, I'm pretty sure I could do the same stuff with less resource usage.</p>
<p>I see some good stuff coming out of the <a href="http://suckless.org">Suckless</a> project. Their ideas are a bit extreme and most of their software sacrifice features I consider mandatory (or, at least, very useful). For example <code>st</code> doesn't support scrolling, neither with the keyboard, nor with the mouse/trackpad. So I hope I can find a middle ground between the bloat that is so common with current software and the asceticism of Suckless.</p>
<p>Oh, and if you were wondering, if you are reading this article on its own page, you have downloaded approximately 59 KB of data :-)</p>Klezlab changed hosting provider - or why it's not on Github anymore2016-02-23T00:00:00+01:002016-02-23T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2016-02-23:/changed-hosting-no-github.html<p>So last week I took the plunge and I subscribed to a managed hosting plan (with which provider is not important, and you can easily figure it out by yourself). I decided to go with managed hosting and not a full-blown VPS because I have a VPS already, their bandwidth …</p><p>So last week I took the plunge and I subscribed to a managed hosting plan (with which provider is not important, and you can easily figure it out by yourself). I decided to go with managed hosting and not a full-blown VPS because I have a VPS already, their bandwidth guarantees are very low (in the almost impossible case my blog gets slashdotted) and because I don't want to go through the headache of securing a machine I'll just use to post my ramblings.</p>
<p>If you didn't know, this blog was previously hosted at Github, using their cool Github Pages feature. You simply treat your website as a git repository and push that to Github. Then point your DNS record to their IP, put a file inside your repo telling Github which domain name you come from. Done, you can publish a website as a git repo. That's quite cool.</p>
<p>On the other hand, there's a growing monoculture on project hosting. Many free software project are migrating to Github, and that's not quite cool.</p>
<p>Let me explain the pros and the cons, in case they're not clear already.</p>
<h2>The good</h2>
<p>Github projects provide developers with a lot of great features:</p>
<ul>
<li>
<p>A central hub where users and other developers can interact with the team, open bugs, send patches via pull requests, track how the project is going, etc.</p>
</li>
<li>
<p>A wiki where you can put documentation</p>
</li>
<li>
<p>Everybody is there</p>
</li>
</ul>
<p>This last point is what I'm taking issue with.</p>
<h2>The bad</h2>
<p>Git is architectured in a way that makes it decentralized. Github is taking this idea and turning it upside-down, becoming a central point (of failure) where your projects' code is hosted.</p>
<p>Also, as I said, everybody is there. By network effect, this becomes a self-fulfilling prophecy, mostly like Facebook. Everybody is there, so everything happens there, so anyone who wants to be 'in' goes there. This promotes a monoculture, and I don't want to foster that by being part of it.</p>
<p>Finally, Github's back-end is proprietary.</p>
<h2>Plans for the future</h2>
<p>In practice, this means that not only my website isn't hosted on Github anymore, but that also the 2-3 little scripts I have there, are going to be migrated somewhere else (self-hosted).</p>
<p>I also plan to 'campaign' at my hacklab to move stuff away from Github, but I'm afraid this will be an uphill battle, because it's full of pragmatists in there :P .</p>
<p>In conclusion, I'll have you know when those useless little projects are going to be migrated. Stay tuned.</p>My list of things for a better world2015-09-12T00:00:00+02:002015-09-12T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2015-09-12:/list-things-better-world.html<p>Here is a list of things, in no particular order and without much explanation, that I think could make, for various reasons, the world a better place.</p>
<p>Please note that, as I seem to be a human being, I'm prone to errors and I sometimes change my mind about various …</p><p>Here is a list of things, in no particular order and without much explanation, that I think could make, for various reasons, the world a better place.</p>
<p>Please note that, as I seem to be a human being, I'm prone to errors and I sometimes change my mind about various issues. So, while I probably won't change this post in the future, it should not be taken as a list of what I believe in in any particular moment in my life. People change, ideas change, the world changes (hopefully, for the better).</p>
<p>So, without further ado, here is my pointless list of things I believe could make the world a better place.</p>
<ul>
<li>Research on renewable energy sources<ul>
<li>Not only because of environment, but also because oil is a nice cause for war</li>
<li>We need research to make energy harvesting, use and storage more efficient</li>
</ul>
</li>
<li>Lessening of the wealth gap<ul>
<li>This will greatly reduce a vast amount of crimes that are dictated by poor life conditions</li>
</ul>
</li>
<li>Research on materials so that we don't have to mine the developing world for raw materials to build electronics and other stuff</li>
<li>Free access to information</li>
<li>No censorship</li>
<li>Free access to higher education<ul>
<li>Devise a way to avoid wasting resources on students that don't put in the effort</li>
</ul>
</li>
<li>Mesh networks</li>
<li>Fluidification/Abolition of hierarchies</li>
<li>Automation of labor<ul>
<li>This must be immediately followed by a way to keep people able to provide for themselves once their labor is not needed anymore</li>
</ul>
</li>
<li>Driverless transportations<ul>
<li>And for that matter, a review about how and why we move around and use vehicles</li>
</ul>
</li>
<li>Technical means to avoid dragnet-styled surveillance<ul>
<li>Laws do not cut it, they can be changed and circumvented (and we know it for sure, post-Snowden)</li>
</ul>
</li>
<li>Abolition of induced scarcity for certain goods</li>
</ul>
<p>Keep in mind that this list is by no means complete. Also, I may write some blog posts in the future to further expand on some points.</p>Endless Computer, code dumps and free software2015-04-18T00:00:00+02:002015-04-18T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2015-04-18:/endless-computer-code-dumps-free-software.html<p>On the libreplanet mailing list, a user recently asked for opinions on the response the members of the Endless Computer project gave when asked why they are not releasing their whole software stack as free software. One paragraph in particual caught my attention:</p>
<blockquote>
<p>Finally, any successful free software project needs …</p></blockquote><p>On the libreplanet mailing list, a user recently asked for opinions on the response the members of the Endless Computer project gave when asked why they are not releasing their whole software stack as free software. One paragraph in particual caught my attention:</p>
<blockquote>
<p>Finally, any successful free software project needs a thriving community: our developers come from that world, and we really don't want to do over-the-wall code dumps like Android does. When we open up our software, we want to do it right.</p>
</blockquote>
<p>Sorry if I don't provide a link for this quote, but it comes from a private email conversation published on the libreplanet list. A similar message has been <a href="https://www.reddit.com/r/linux/comments/32n5ms/endless/cqd9jqw">posted</a> on reddit by someone who presented himself as an Endless developer.</p>
<p>The line of reasoning here seems to be that to do free software development right, their team would need to accept pull requests.</p>
<p>While that would be a nice way to manage a project, I think that, with regards to the question being debated, the point is moot, not really constructive and sounds more like an excuse to avoid the fundamental issue of freeing their code.</p>
<p>While I'm not saying they aren't entitled to do whatever they want with their code (as much as I'm entitled to not using their product), I think the point needs a bit of exploration.</p>
<p>In my humble opinion, this mentality is a by-product of the Open Source mentality, that is "I free my code so that others can give back useful contributions and make it technically superior". While that is a worthy goal by itself, it is not the goal of free software. The real reason to make your software free, is to respect users' freedom.</p>
<p>Especially for projects like Endless Computer, whose <em>raison d'être</em> is to provide a computing platform to disadvantaged people, they should strive to give their users the freedom they deserve.</p>
<p>On a side note, the problem with Android-style code dumps is not the fact that usually contribution don't get merged back to upstream, by itself. The problem is that it is difficult for users to install modified versions of the software to their devices. This is a different way of restricting users' freedom and a reason why I consider the way the Android platform is handled to be wrong and damaging to the user. It's not the Android code per-se, it's the way it is deployed on hardware. Let's just hope that if the Endless Computer project decides to free their code, they won't do the same mistake, freedom-wise.</p>Why permissive licenses miss the point2015-03-27T00:00:00+01:002015-03-27T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2015-03-27:/why-permissive-licenses-miss-point.html<p>Recently, I came across the Occupy GPL website (now redirecting to <a href="http://choosealicense.com">choosealicense</a> , <a href="https://web.archive.org/web/20150210203941/http://www.occupygpl.org/">here</a> is a mirror), that was aimed at exposing reasons against the use of the GNU General Public License (GPL).</p>
<p>Their manifesto starts by saying "The GPL is not a free license". This is because, in their opinion …</p><p>Recently, I came across the Occupy GPL website (now redirecting to <a href="http://choosealicense.com">choosealicense</a> , <a href="https://web.archive.org/web/20150210203941/http://www.occupygpl.org/">here</a> is a mirror), that was aimed at exposing reasons against the use of the GNU General Public License (GPL).</p>
<p>Their manifesto starts by saying "The GPL is not a free license". This is because, in their opinion, "it grants different restrictions".</p>
<p>Let me state beforehand that I have nothing against non-copyleft free licenses. I even used them on a couple of mini projects of mine.</p>
<p>Now for the question: is the GPL a non-free license? In all my time as a Free Software enthusiast I asked this to myself often and at times I decided that no, the GPL was not a free license. Or at least that it was restrictive.</p>
<p>But I think the Occupy GPL website and the people sharing their view attack the problem from a different perspective than what the GPL actually stands for. Most of the times I read criticism towards the GPL (or copyleft licenses in general) it comes from the point of view of developers. That is, if I am a developer that wants to incorporate GPL code inside my proprietary software, I'm not <em>free</em> to do it.</p>
<p>Another quip from the Occupy GPL website is that GPL'ed code hinders potential collaborators. If a company wants to use GPL'ed code to develop their proprietary programs, they can't, so the original developer loses a potential contributor.</p>
<p>Both these counter-arguments stem from a premise: that someone would want to include GPL code inside proprietary software. That is exactly what the GPL was created to avoid. If proprietary developers find a GPL library useful for their work, they have two solutions:</p>
<ol>
<li>Make their own code free</li>
<li>Not use the library</li>
</ol>
<p>The mentality by which we should compromise our core tenet to please the proprietary world (and, thus, gain acceptance and collaboration) is what spun the Open Source movement. Sure, the free software community got a lot more contribution, but what actually happened is that proprietary companies took free sofware and used it to create walled gardens. The most infamous example has to be Apple. So yes, the free software community actually got more contributions, but do we live in a world that is more free because of this? I don't think so...</p>
<p>The point to remember is that Free Software is not meant to make other developers free to use the code. It's chiefly meant to help the users, who now have software that is guaranteed to be and stay free. The so-called permissive licenses are not meant for this goal.</p>
<p>In conclusion, if you think you may achieve more contributions and technical superiority by using a permissive license (which is debatable, see for example how the Linux kernel contributions and overall quality don't seem to be hindered by its use of the GPL), sure, absolutely go for it.</p>
<p>But if you care about long-term freedom in computing, I urge you to choose a copyleft license, such as the GPL, for your work.</p>How I became a Mozillian2014-08-06T00:00:00+02:002014-08-06T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2014-08-06:/how-i-became-mozillian.html<p>As I promised myself in my resolutions for the new year, I decided to become an active member of the Mozilla community. But with a twist.</p>
<p>I thought the better way to participate to the project was by coding, specifically helping with the Firefox OS code base. Instead, I decided …</p><p>As I promised myself in my resolutions for the new year, I decided to become an active member of the Mozilla community. But with a twist.</p>
<p>I thought the better way to participate to the project was by coding, specifically helping with the Firefox OS code base. Instead, I decided to contribute by localizing the Mozilla Developer Network into Italian.</p>
<p>Here is the story of how it happened.</p>
<h1>Humble beginnings</h1>
<p>My desire to start contributing to Mozilla began last summer, at OHM 2013 in the Netherlands. There I met Ali Spivak (Product Manager for MDN) and Laura Hilliger (who volunteers as a Mentor for the Mozilla Foundation) who were doing a workshop on Webmaker, a Mozilla project to help teaching users to create their own web pages. That was the moment I decided I wanted to be part of the Mozilla community.</p>
<p>On that occasion, Stefan Arentz was holding a speech about Firefox OS. I already had my Geeksphone Peak running Firefox OS, so the project was not new to me, but that talk made me think that was the project I wanted to collaborate on.</p>
<p>So, once home, I scourged MDN in search for information about how to contribute to Firefox OS.</p>
<p>After a while I found a mentored bug that seemed easy enough to try my teeth on. Something about changing some strings. That way I would familiarize with the code base and with the process of fixing things and submitting my patch.</p>
<p>This went horribly wrong. Someone else was making modifications to the file I was editing, so when I tried to merge my patch a lot of conflicts popped up. I had to redo all my edits line-by-line. In all this process, my assigned mentor was super-useful and patient, and tried to help me as best as he could. Nevertheless, the bug was not fixed (last time I checked, someone else took over it and the bug was subsequently blocked because of a dependency on another bug).</p>
<h1>Realization</h1>
<p>While reading the documentation on MDN, I noticed that some of it was incomplete. I wasn't in the position to add stuff, because I simply didn't know it.</p>
<p>At this point, I started to think translation would be something I could do that would have helped Italian developers not so well versed in English to overcome the language obstacle. So I started randomly translating short articles.</p>
<h1>United we stand</h1>
<p>I knew there had to be someone organizing the Italian localization effort, and I discovered it was Mozilla Italia. So I subscribed to their forum and lurked for a while. There seemed to be no active project for the localization of MDN, so I asked if they needed a translator for that. They gladly accepted warning me it would be a gigantic effort. So I began translating and submitting QA requests to the helpful people of Mozilla Italia. The rest, as they say, is history :)</p>
<h1>Side projects</h1>
<p>Apart from translating, I tried various other ways to contribute to Mozilla. I participated to a Marketplace Day, where you do various tests and QA on the Mozilla Marketplace. I also participated to a Test Day for Firefox Mobile, finding a couple of minor bugs.</p>
<p>That Marketplace Day is what actually certified me as a Mozillian. Daniele Scasciafratte recognized my efforts and decided to vouch my profile on Mozillians.org.</p>
<p>Also, I subscribed to the Tablet Contribution Program so I can test Firefox OS on a tablet and give feedback.</p>
<h1>Now what</h1>
<p>I've done a lot of translations lately, and I also started creating original content in English for the new Learning area and the Glossary. I'm actively participating in the bi-weekly mdn meetings on irc so I can get the feeling of how the community process works. Finally, I'm trying to help newcomers landing their first contributions.</p>
<p>All in all, contributing to Mozilla can be a lot of work, but also a lot of fun and satisfaction. You get to talk to awesome people and contribute to the community. Also you get a glimpse of how gigantic projects like MDN work and are coordinated.</p>
<p>The Mozilla community is a huge world that many people have no idea about :)</p>Cavacamicia - analisys of an Italian card game with scheme2014-01-05T00:00:00+01:002014-01-05T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2014-01-05:/cavacamicia-analisys-italian-card-game-scheme.html<p>When I was a child, I used to play lots of various card games with my grandmother and cousins. One of these games is a northern-italian game called Cavacamicia, with simple rules and based solely on luck (no strategy involved at all). It was a good game to pass time …</p><p>When I was a child, I used to play lots of various card games with my grandmother and cousins. One of these games is a northern-italian game called Cavacamicia, with simple rules and based solely on luck (no strategy involved at all). It was a good game to pass time since it can become quite long.</p>
<p>Exactly the fact that the game can become quite long, made me wonder how much a game can last.</p>
<p>Since I was bored yesterday evening, I decided it was time to sharpen my scheme programming and I wrote a script that plays cavacamicia by itself and keeps track of how long (in number of turns) a game can last.</p>
<p>The point of this post is not the experiment result itself. I just wanted to make a couple of comments on how scheme programming feels for a mainly-java guy.</p>
<h1>Rules of the game</h1>
<p>The game is played by two opponents with fourty <a href="https://en.wikipedia.org/wiki/Playing_card#Italian">italian cards</a> (here in Veneto we use to play with the Trevigiane variety for a lot of games). I'm pretty sure there are variants with more players, but for the sake of this post let's keep up with just two players.</p>
<p>The deck is shuffled and each player is given a deck of 20 cards, covered.</p>
<p>Now, let's say we have two players, A and B. A starts and flips a card from the top of his deck and puts it on the table. If that card is a 1, a 2 or a 3, B must pay 1, 2 or 3 cards. So, one at a time, B flips and puts on the table 1, 2 or 3 cards. If one of those cards is a 1, a 2 or a 3, B stops flipping cards and now it's for A to flip n cards, and so on. If, in the process, the player flipped 1, 2 or 3 cards and nothing happened, the opponents won the hand, takes the cards on the table and puts them at the bottom of his deck. Then another hand starts.</p>
<p>Let's make an example:</p>
<ul>
<li>A flips a 4</li>
<li>B flips a 7</li>
<li>A flips a 3. Now B has to "pay"</li>
<li>B flips a 5</li>
<li>B flips a 4</li>
<li>B flips a 9. B lost the hand.</li>
<li>
<p>A takes the cards from the table and puts them at the bottom of his deck.</p>
</li>
<li>
<p>A flips a 2. B has to pay</p>
</li>
<li>B flips a 5</li>
<li>B flips a 3. Now A has to pay</li>
<li>A flips a 1. Now B has to pay</li>
<li>B flips a 8. B lost the hand.</li>
</ul>
<p>And so on... until one of the players has no more cards on his decks. In which case, the opponent wins.</p>
<p>As I said, since at the end of each hand the cards on the table get placed at the bottom of the winner's deck, they'll respawn, so the game can become quite long.</p>
<p>For the sake of this post a player's turn ends when the opponent flips a card.</p>
<h1>The script</h1>
<p>The script (actually a bunch of function to load from a scheme interpreter and then call) is on a github <a href="https://github.com/federicoculloca/cavacamiciaanalyzer/blob/master/cavacamiciaanalyzer.scm">repo</a>.</p>
<p>It was written for <a href="http://call-cc.org">chicken scheme</a> but I'm pretty sure it can be quickly adapted to run on other schemes.</p>
<p>So once you load it with</p>
<div class="highlight"><pre><span></span><code>csi cavacamiciaanalyzer.scm
</code></pre></div>
<p>You can call the <code>play-game</code> function with no arguments to let it play a single game and return the number of turns it took.</p>
<p>Or you can call the <code>play-games</code> function passing as an argument the number of turns to play, which prints on stdout the results of <code>n</code> calls to <code>play-game</code>.</p>
<h1>The results</h1>
<p>Launching the game 1,000 times, gave widely varying results. You can see the results <a href="https://gist.github.com/federicoculloca/8268916">here</a>. </p>
<p>Please note that this is not a full-blown statistic analysis. Just a list of results on a rather small sample set.</p>
<h1>How scheme felt</h1>
<p>Those who know me, knows that I write java code for a living (and some javascript at times). So coding in scheme is still a bit alien to me.</p>
<p>Scheme is a completely different beast from java. A mainly functional beast, for that matter. So I had to learn to think in a recursive way. So no loops. Just recursion.</p>
<p>I also completely avoided changing variables values.</p>
<p>The <code>play-hand</code> function has been re-written three times before I got it right. At first I forgot to account for the fact that I had to keep track of the ongoing turns count. Then I didn't know how to tell the recursive calls know that the opponent drew a 1, 2 or 3 and act accordingly. So I simply decided that the first parameter was the current player's deck instead of the "player 1" deck. These are not hard problems by themselves. The real problem was that, since the code wasn't imperative, it took me a while to figure out how to change the function.</p>
<p>A thing that at first was a bit daunting but became easier typing the program, was the use of paredit. It took a while to get used to structured editing.</p>
<h1>Conclusions</h1>
<p>Ok, scheme is really different from java. But I like it. Also, some things from javascript seem to be concepts borrowed from functional languages like scheme.</p>
<p>I haven't even started to scratch the surface (I still have to try macros and continuations). Given the plethora of libraries available for chicken I think I could write something more real-world-like to go a bit deeper. I'll also try to write something with <a href="https://www.gnu.org/software/kawa/">Kawa</a> to harness the breadth of libraries available from java.</p>Resolutions for 20142013-12-24T23:00:00+01:002013-12-24T23:00:00+01:00Federico klez Cullocatag:klezlab.it,2013-12-24:/resolutions-for-2014.html<p>Another year has passed. I learned a lot. At my day job I learned how to
code full-stack Java applications, from JSF pages straight to EJB taking
data directly from a database or from a JAX-WS web service. I used both
JBoss and IBM WebSphere. I used Eclipse. I learned …</p><p>Another year has passed. I learned a lot. At my day job I learned how to
code full-stack Java applications, from JSF pages straight to EJB taking
data directly from a database or from a JAX-WS web service. I used both
JBoss and IBM WebSphere. I used Eclipse. I learned my fair share of
Javascript and JQuery (and grew to love Javascript for some strange
reasons). I also learned to work with another team other than my own and
located approx. 200 km from my office.</p>
</p><p>In my spare time I tried to learn both scheme and OCaml. They're very
different from C and Java (the languages I worked with the most).</p>
</p><p>After the summer I started taking a look at Firefox OS. I bought a
Geeksphones Peak and, since my LG L9 was stolen last November, it is now
my main driver. And I'm starting to understand the point of Firefox OS.
I also tried developing a simple app for it (<a class="reference external" href="https://marketplace.firefox.com/app/overtime">Overtime</a>).</p>
</p><p>It's been an unusually productive year by my standards, and I plan to do
the same, if not more, for next year. So, here are my resolutions for
2014, in no particular order, as far as the spare-time department goes.</p>
</p><div class="section" id="continue-developing-for-firefox-os">
<h2>Continue developing for Firefox OS</h2>
</p><p>Since it's been a fun experience, I plan to develop something a bit less
simple for this fantastic mobile operating system.</p>
</p><p>My hope is that, if there are a lot of apps for it, people will start
using it more and more. Since I feel Mozilla's mission has value, I want
to do my best to further it.</p>
</p></div>
<div class="section" id="contribute-to-mozilla">
<h2>Contribute to Mozilla</h2>
</p><p>As I said, I find Mozilla is an important project. I want to help them
further their goals, as best as I can. I already started contributing to
a little string-correction bug on Gaia (the UI part of Firefox OS) to
get an idea on how the process goes. So far, the mentor for that bug has
been really helpful and patient (as I'm learning git by doing this, I
made a real mess with my commits and pull requests).</p>
</p></div>
<div class="section" id="build-a-wearable">
<h2>Build a wearable</h2>
</p><p>I have to admit, I'm absolutely mesmerized by the idea of project Glass.
But only the always-in-front-of-the-eye-screen idea, not the camera part
or the fact that it connects to the Google ecosystem. Actually, I'm more
attracted by the first experiments made by That Starner (now working on
project glass).</p>
</p><p>My idea would be very similar. An always on computer running some
flavour of GNU/Linux (probably a Raspberry Pi running Raspbian), with an
HUD in front of my eyes and a chorded keyboard for input. The main
problem is microdisplays cost too much. We'll see if there will be a
price drop next year.</p>
</p><hr class="docutils" />
</p><p>So, I hope I can reach my goals for next year. The hardest part is to
start, and I'm sure having laid down them is a good start.</p>
</p><p>Happy new year and happy hacking</p>
</p></div>
Going on information diet2011-09-04T00:00:00+02:002011-09-04T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2011-09-04:/going-on-information-diet.html<p>After reading <a href="http://chriseidhof.tumblr.com/post/9539831015/on-minimalism">On Minimalism</a> by Chris Eidhof, I decided I should slim down my computing experience. So I made a list of things to do to go minimal on my computer, to have less distraction and to find stuff I look for more easily.</p>
<p>These are the steps I implemented …</p><p>After reading <a href="http://chriseidhof.tumblr.com/post/9539831015/on-minimalism">On Minimalism</a> by Chris Eidhof, I decided I should slim down my computing experience. So I made a list of things to do to go minimal on my computer, to have less distraction and to find stuff I look for more easily.</p>
<p>These are the steps I implemented so far.</p>
<h2>Change the wallpaper</h2>
<p>I noticed I have my wallpaper hidden by windows more often than not. So why have a beautiful wallpaper if you don’t get to see it? So I changed it to a gradient (dark green to black).</p>
<h2>Delete old emails</h2>
<p>I opened my email client and deleted all emails from 2005 till today, except some emails from my hosting provider that I’d like to keep around since they contain some useful information.</p>
<h2>Unsubscribe from services and newsletters</h2>
<p>As I receive emails from services I don’t use or newsletters I don’t read, I unsubscribe from them. I find useless going thru the hassle of receiving emails just to immediately delete them.</p>
<h2>Unsubscribe from rss feeds</h2>
<p>I unsubscribed from all my rss feeds except <a href="http://trisquel.info">trisquel.info</a> (almost nonexistent traffic and only relevant news, like new releases and features). I noticed I didn’t read much of the articles I received via rss. Also, reading <a href="http://news.ycombinator.com">Hacker News</a> gives me as much info as I’m likely to be interested reading.</p>
<h2>Delete all browser bookmarks</h2>
<p>I got rid of all my bookmarks. Since usually I visit only 5-6 websites regularly, I keep them on my Speed Dial home page and that’s all I need. If I need to quickly reach a website, Icecat address bar usually suggests me the right one in just a couple of keystrokes (plus Ctrl+L to go to the address bar…)</p>
<h1>Steps I plan to implement</h1>
<p>These are the steps I’ll likely implement when I’ll have time</p>
<h2>Delete some music</h2>
<p>I have a huge music collection on my hard drive. Most of the tunes I have, I never listen to. So I’ll wipe most of them. Also my portable player and my cell phone could use a bit more space and a lot less tunes. If I’m at home I can listen to some music on youtube or on some internet radio (or subscribe to last.fm maybe…)</p>
<h2>Delete lots of files</h2>
<p>My download directory is full of crap. ‘Nuff said.</p>
<h2>Get rid of un-started projects</h2>
<p>I started a lot of project that never went beyond a single source file. I don’t think I need to keep them.</p>
<h1>So, how does it feel?</h1>
<p>The interesting thing is that I don’t feel worse for deleting all these stuff. And I don’t feel better (except from unsubscribing from services, newsletters and feeds, which gives me more focus on things I’m trying to do). This, in my opinion, demonstrates how much useless crap we keep on our computers.</p>
<h1>Anything else?</h1>
<p>If you have some other suggestions please share in the comments.</p>On productivity and learning2011-07-17T00:00:00+02:002011-07-17T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2011-07-17:/on-productivity-and-learning.html<p>My girlfriend is on vacation, so these days I have a lot of time to devote to my personal projects.</p>
<p>So I decided to make a web application, and I decided to use Common Lisp for this task. That’s because I really want to learn Common Lisp and apply …</p><p>My girlfriend is on vacation, so these days I have a lot of time to devote to my personal projects.</p>
<p>So I decided to make a web application, and I decided to use Common Lisp for this task. That’s because I really want to learn Common Lisp and apply it in web programming. Both things are new to me. The only stuff I made on the web were a couple of little PHP scripts to automate some stuff on some website I made some time ago. Then, recently, I attended a course about Ruby on Rails and discovered what web frameworks are really about. Thousands of possibilities opened before my eyes! So I decided to test some ideas using technologies I’m not very proficient in.</p>
<p>But, in more or less two days, I’ve only written like 50 lines of code, mainly the definition of two classes that should map to database tables. For a moment I felt bad because I accomplished almost nothing in so much time. Then I reminded myself that this is due to the fact that I don’t know the technologies I’m using yet.</p>
<p>So my question is: did I lost my time?</p>
<p>My answer is: NO.</p>
<p>Even if I wrote so little code, I achieved some more intangible goals, that is:</p>
<ul>
<li>I used Common Lisp to write actual code, and not just little examples found on websites</li>
<li>Since I wasn’t able to install the library I wanted to use to connect to a database (<a href="http://common-lisp.net/project/elephant/">Elephant</a>), I learned about some other libraries available to CL developers and finally decided the one to use (<a href="http://marijnhaverbeke.nl/postmodern/index.html">Postmodern</a>)</li>
<li>During the search for this library, I discovered <a href="http://www.postgresql.org/">PostgreSQL</a> and that relational databases are not the only DBMS in the world</li>
<li>I learned to use Emacs and <a href="http://common-lisp.net/project/slime/">Slime</a> a little better</li>
</ul>
<p>So, while the code I wrote is just a few lines, I nevertheless achieved something in these two days that I would never have achieved if I used, say, Python to develop a CLI application: I learned something new.</p>
<p>I think it’s established that one of the most important assets for a programmer is knowledge (and getting things done, of course…). And today I know a bit more then yesterday. So I can consider myself a better programmer (maybe when I’ll have finished I will…)</p>
<p>Investing time on learning those things made me feel like when I first started programming ten years ago: empowered, amazed and humble.</p>
<p>So, if you have some spare time, DO learn something new. Be amazed! Be amazing! Be a better programmer!</p>Jumping on the boat... too late2011-03-05T00:00:00+01:002011-03-05T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2011-03-05:/jumping-on-the-boat-too-late.html<p>I think 2011 will be remembered (or not…) as the beginning of the Android market success era.</p>
<p>I mean, after the Mobile World Congress held in Barcelona last February, more or less monopolized by Android devices, the open handset operating system seems to be on the way to becoming the …</p><p>I think 2011 will be remembered (or not…) as the beginning of the Android market success era.</p>
<p>I mean, after the Mobile World Congress held in Barcelona last February, more or less monopolized by Android devices, the open handset operating system seems to be on the way to becoming the leader platform on mobile devices.</p>
<p>What bothers me, on a personal note, is that I could have jumped on the Android bandwagon at least a year ago, when a friend of mine borrowed me a HTC Dream and said “Develop software for it”.</p>
<p>Obviously I had toyed with it a bit, I downloaded the Android SDK and set up a project (a front-end for the long-dead Todoist).</p>
<p>(On a side note, Todoist API sucks… but that’s matter for a future article, maybe)</p>
<p>But, being lazy and not able to focus on anything for more than some months, I discarded the project and forgot I had the SDK installed at all for lots of time.</p>
<p>Then came new phones and tablets, i bought an Archos 70 Internet Tablet and a LG Optimus One handset. And my interest in Android arouse again.</p>
<p>Now, if you read some Android-related <a title="Google's Android Spurs More App Jobs Than iPhone" href="http://www.businessweek.com/technology/content/mar2011/tc2011033_078030.htm">articles</a> on the web, recently, you may have noticed that now there’s a high demand of Android developers. And I could have been on the first line if only I had put more forethought in developing for that new, promising platform.</p>
<p>The whole point is, if you find a new, niche platform interesting, go and develop for it. You never know if, one day or another, it will become the next big thing as Android is now.</p>
<p>But, who knows, maybe this will be like the end of the last century, when the DOTCOM bubble burst and left nothing behind but a few lucky (or foresighted) companies. Maybe next year nobody will care that much about Android anymore.</p>
<p>Actually… I doubt it…</p>
<div class="necromancy-note">
<strong>Project Necromancy note:</strong> This is the only article in my old blogs that actually had an extensive comment. I'm reporting it here along with my response so they're kept together with the original article.
</div>
<article class="h-entry">
Author: <a class="url fn n u-url" href="http://stackoverflow.com/users/260080/marco-demaio"><span class="given-name">Marco</span> <span class="family-name">Demaio</span></a>
Time: <abbr class="published" title="2011-03-28T11:52:00+02:00">
<time class="dt-published" datetime="2011-03-28T13:52">2011-03-28 13:52
</time>
</abbr>
<div class="entry-content">
<p>Jumped here from your profile on SO.</p>
<p>I doubt too that next year nobody will care about Android anymore. But I disagree when you say “if you find a new, niche platform interesting, go and develop for it.” It might be a good point if you have got nothing to do, but if you have a daytime job or you are developing already something else it might be worth concentrating on what you do.</p>
<p>Starting to develop for a new niche it’s usually more fun that doing whatever else, because you learn new stuff, and learning it’s always fun for programmers like us.</p>
<p>But, learning takes time, getting up to speed in a new language (and/or API) might take a month, but mastering a new language (and/or API) might take up to 6 months to an year. All the new platforms iPhone/iPad and Andorid are cool stuff, but something written for the web must work also on iPhone/iPad/Android, and not vice-versa.</p>
<p>So I suppose in next years we will see more and more these portable devices to improve their browsers in order to give to final user the same rendering engine that you find now on a PC.</p>
<p>Translating this into a trivial example: in future I’m not interested in dozens of Apps to read my email on dozens different devices, I’m gonna buy the devices that have the best browser rendering engines, the ones that will be able to let me view my Webmail on the device browser.</p>
<p>I might be wrong, but so far these apps are reduced to games sold for less than 1 buck, or small apps paid by some company Alpha to advertise the company Alpha itself.</p>
<p>Maybe 1st people who wrote these apps earned some money, but the competition got soon as wide as developing for the web. With a major difference: maybe in 5 years iPhone and it s objective C language will disappear, whilst the web will NEVER disappear, it’s only going to improve more and more HTML5, JS, CSS3, …</p>
<p>It’s funny to comment in English since we are both Italians, but the article is in English and I don’t want to ruin your blog. Ciao! 🙂</p>
</div>
</article>
<hr>
<article class="h-entry">
Author: <a class="url fn n u-url" href="https://klezlab.it">Federico klez Culloca</a>
Time: <abbr class="published" title="2011-03-28T18:17:00+02:00">
<time class="dt-published" datetime="2011-03-28T18:19">2011-03-28 18:19
</time>
</abbr>
<div class="entry-content">
<p>Yeah, you’re right, it’s funny 🙂</p>
<p>Anyway, I’m sure you speak out of experience. I can’t since I landed my first full-time job 5 months ago and I actually recognize that I have not the spare time I used to have back then.</p>
<p>In fact my first Android app (basically a password keyring) is proceeding more than slowly.</p>
<p>And also has a hilarious bug in that it duplicates entries in a list every time I rotate the phone (I think that’s because I put the ArrayAdapter initialization inside the onCreate() method).</p>
</div>
</article>Considerazioni sul C2011-02-26T00:00:00+01:002011-02-26T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2011-02-26:/considerazioni-sul-c.html<p>Penso di essere stato esposto al linguaggio C per un periodo sufficiente da permettermi qualche considerazione basilare sul linguaggio e sul suo uso.</p>
<p>La mia qualifica è, al momento, <strong>tecnico programmatore</strong> ma, ahimè, mi ritrovo ad essere più un tecnico che un programmatore. Ovvero devo solo aggiungere qualche pezzo e …</p><p>Penso di essere stato esposto al linguaggio C per un periodo sufficiente da permettermi qualche considerazione basilare sul linguaggio e sul suo uso.</p>
<p>La mia qualifica è, al momento, <strong>tecnico programmatore</strong> ma, ahimè, mi ritrovo ad essere più un tecnico che un programmatore. Ovvero devo solo aggiungere qualche pezzo e correggere qualche bug in codice generato da un altro software sul quale ho poco controllo.</p>
<p>L’unico vantaggio di questo approccio è che mi permette di speculare sulle features del linguaggio in sé senza perdere troppo tempo.</p>
<p>Quindi vediamo una carrellata di cose che mi piacciono e non mi piacciono del C come linguaggio.</p>
<p>Nota: parlo del <a title="C89" href="http://en.wikipedia.org/wiki/C89_(C_version)#C89">C89</a>.</p>
<p><span id="more-55"></span></p>
<h2>Mi piace</h2>
<h3>Compattezza</h3>
<p>C’è poco da dire. Sono pochi i linguaggi che hanno una compattezza pari a quella del C. Ovvero, una volta imparata la sintassi è difficile sentire il bisogno di doversela andare a rivedere.</p>
<p>Trovo personalmente appagante una qualità del genere in un linguaggio di programmazione. Le ambiguità sono ridotte all’osso.</p>
<h3>Portabilità…</h3>
<p>…più o meno. Nel senso che, usando le librerie standard, usando lo stesso compilatore (<a title="Gnu Compiler Collection" href="http://gcc.gnu.org/">gcc</a>, anyone?) e non usando hack legati alla specifica piattaforma, possiamo tranquillamente scrivere il codice una volta e compilarlo ovunque.</p>
<h3>Tipizzazione dei dati flessibile</h3>
<p>Il programmatore è il solo e unico responsabile della gestione dei dati.</p>
<p>Voglio usare un int e poi convertirlo in float? Faccio un cast.</p>
<p>Questa poi probabilmente tornerà sui contro…</p>
<h3>Potenza</h3>
<p>In C si può fare tutto. <a title="Caffè col PC" href="http://www.faqs.org/docs/Linux-mini/Coffee.html">Anche il caffè</a>.</p>
<p>C è un’interfaccia multipiattaforma ai linguaggi assembly. Per questo ci permette di manipolare le cose a basso livello, ma anche di creare strutture e procedure che consentono un livello di astrazione abbastanza decente.</p>
<p>In C si può scrivere un kernel.</p>
<p>In C si può scrivere una web application.</p>
<p>In C si può scrivere un software gestionale.</p>
<p>Comunque “si può” non vuol dire che ve lo consiglio.</p>
<h3>Velocità</h3>
<p>Credo che la velocità di un programma scritto in C ed ottimizzato dal compilatore sia senza eguali tra i linguaggi di programmazione general-purpose.</p>
<h2>Non mi piace</h2>
<h3>Tipizzazione dei dati flessibile.</h3>
<p>È sia un pro che un contro.</p>
<p>Se da una parte permette artifizi abbastanza interessanti, dall’altro può diventare un incubo per il debugging. Provare per credere.</p>
<h3>Tendenza all’entropia</h3>
<p>Se un programma in C è scritto male… beh, si nota. E purtroppo un programma (relativamente grande) scritto male in C è difficilissimo da modificare.</p>
<p>Ok, questo vale per qualsiasi linguaggio. Me C non invita neanche minimamente a evitare questi problemi in fase di prima scrittura.</p>
<p>Per esempio permette un uso indiscriminato delle variabili globali, senza alcun meccanismo per scoraggiare la pratica.</p>
<h3>Gestione della memoria</h3>
<p>Se da una parte aiuta a farsi un’idea di come funzionano le cose a basso livello, dall’altra implica che il programmatore deve preoccuparsi di liberare ogni area di memoria allocata. Pena una tendenza impressionante ai <em>memory leaks</em>. Molto meglio un <em>garbage collector</em>…</p>
<h2>Conclusioni</h2>
<p>C è un linguaggio molto potente. Ma, per citare Spider Man, “da grandi poteri derivano grandi responsabilità”.</p>
<p>Quindi, pur insegnando ai programmatori a scrivere buon codice nella maniera più dura (ovvero crashando in maniera spettacolare in alcuni casi), permette la scrittura di obbrobri senza precedenti e <em>spaghetti code</em> degno della nostra migliore tradizione gastronomica.</p>
<p>Se avete bisogno di un linguaggio veloce, che deve funzionare a basso livello e volete rimanere nella migliore tradizione Unix, il C fa per voi.</p>
<p>Se, invece, avete bisogno di scrivere codice velocemente, beh, meglio un linguaggio di scripting (tipo <a title="Python" href="http://www.python.org">Python</a>).</p>Riga di comando, piping e lezioni da imparare2011-02-15T00:00:00+01:002011-02-15T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2011-02-15:/riga-di-comando-piping-lezioni-da-imparare.html<p>Una cosa che i sistemi Unix ci insegnano e che Windows ci fa, invece, troppo spesso dimenticare, è la versatilità della riga di comando.</p>
<p>Perché in Windows non proviamo l’impulso irrefrenabile, ogni tanto, di aprire il prompt di DOS, mentre farlo nei sistemi Unix ci da una così grande …</p><p>Una cosa che i sistemi Unix ci insegnano e che Windows ci fa, invece, troppo spesso dimenticare, è la versatilità della riga di comando.</p>
<p>Perché in Windows non proviamo l’impulso irrefrenabile, ogni tanto, di aprire il prompt di DOS, mentre farlo nei sistemi Unix ci da una così grande sensazione di potere?</p>
<p>Per il semplice fatto che i tool a riga di comando in Unix si basano tutti sulla filosofia del concatenamento. Ovvero, non sono pensati come delle unità a sé stanti, ma piuttosto come dei pezzi che cooperano tra loro.</p>
<p>Per fare ciò utilizzano, principalmente tre strumenti: il piping (concatenazione, di cui parleremo in questo articolo), la redirection (redirezione) e la substitution (sostituzione).</p>
<p><span id="more-54"></span></p>
<p>Il piping consiste nel prendere l’output di un programma e usarlo come input di un altro programma.</p>
<p>Mettiamo caso di voler vedere da shell i file presenti in una cartella in ordine alfabetico inverso. Per fare ciò utilizzeremo <strong>ls</strong> per ottenere l’elenco dei file presenti nella directory, e <strong>sort</strong> per ordinarli.</p>
<p>Proviamo per un attimo ad eseguire ls per conto suo.</p>
<pre>blackmamba:Desktop klez$ ls
README Senza titolo.rtf</pre>
<p>Come si può notare, l’output del programma contiene solo le informazioni strettamente necessarie, senza nessun messaggio superfluo.</p>
<p>In DOS, invece, il comando <strong>DIR</strong> ci avrebbe mostrato un sacco di informazioni sì utili, ma non adatte ai nostri scopi, come ad esempio etichetta del volume, dimensione dei file etc.</p>
<p>Se poi proviamo ad eseguire <strong>sort</strong> per conto suo, ci renderemo conto che non ci mostra nessun messaggio. Nemmeno un prompt di input. Sta buono buono lì ad aspettare che l’utente scriva qualcosa sulla tastiera (o meglio, lo standard input).</p>
<p>Per questa ragione quando concateniamo i due comandi mandando l’output di <strong>ls</strong> all’input di <strong>sort</strong> (a cui aggiungiamo l’opzione <strong>-r</strong> per reverse, ovvero invertire l’ordine dei risultati) otteniamo solo ciò che volevamo, ovvero la nostra lista di file in ordine lessicografico inverso.</p>
<pre>blackmamba:Desktop klez$ ls | sort -r
Senza titolo.rtf
README</pre>
<p>Questo ci insegna che, a differenza di quello che potevamo farei a scuola (come il mitico prompt “<strong>Inserisci il primo numero:”</strong>), i tool da riga di comando non devono essere user-friendly (per così dire) ma devono poter essere usati in congiunzione con altri, come parti di un puzzle.</p>
<p>Ovviamente, possiamo sempre creare dei tool che mostrino di default informazioni utili agli utenti novizi. Ma sarebbe cosa buona dotarli di un qualche switch (per esempio un’opzione <strong>-q</strong> che sta per <em>quiet</em>) che elimini dall’output del programma tutte le informazioni inutili a un utente smaliziato o ad uno scripter.</p>
<p>Tutte cose che, purtroppo, Windows e DOS ci hanno fatto dimenticare.</p>
<h2>Risorse utili</h2>
<ul>
<li><a title="The Art of Unix Programming" href="http://www.catb.org/~esr/writings/taoup/html/">Eric S. Raymond – The art of Unix Programming</a> – assolutamente da leggere. In particolare, visto l’argomento dell’articolo, la <a title="Taxonomy of Unix IPC Methods" href="http://www.catb.org/~esr/writings/taoup/html/ch07s02.html">sezione 2</a> del capitolo 7 che parla della comunicazione tra processi in Unix.</li>
<li><a title="Learn UNIX in 10 minutes" href="http://freeengineer.org/learnUNIXin10minutes.html">Learn UNIX in 10 minutes</a> – un rapido excursus sulla riga di comando. Tratta, tra le altre cose, piping, redirection e substitution.</li>
</ul>Scambiare due variabili senza una variabile d’appoggio2011-02-12T00:00:00+01:002011-02-12T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2011-02-12:/scambiare-due-variabili-senza-una-variabile-dappoggio.html<p>Ieri un mio collega mi ha sfidato a scambiare i valori di due variabili senza usare una variabile d’appoggio o una qualsiasi altra struttura dati.</p>
<p>Non mi ero mai posto il problema, ma ho accettato la sfida. Non avevo una connessione, quindi non potevo barare. Dunque ho cominciato a …</p><p>Ieri un mio collega mi ha sfidato a scambiare i valori di due variabili senza usare una variabile d’appoggio o una qualsiasi altra struttura dati.</p>
<p>Non mi ero mai posto il problema, ma ho accettato la sfida. Non avevo una connessione, quindi non potevo barare. Dunque ho cominciato a ragionare e ho scritto questo</p>
<pre><code>x = x ^ y
y = x ^ y
x = x ^ y</code></pre>
<p>Dove ^ indica l’operatore di OR esclusivo (noto a tutti come XOR)</p>
<p>E funziona!</p>
<p>Poi, stamattina, armato di connessione internet, ho provato a vedere se la soluzione era già stata pubblicata da qualcun’altro. Ovviamente sì 🙂</p>
<p>Siccome non ha senso reinventare la ruota, rimando per la spiegazione a <a title="Scambiare due variabili usando XOR" href="http://betterexplained.com/articles/swap-two-variables-using-xor/">questa</a> pagina.</p>Apre il sito del Mestre HackLab2009-06-26T00:00:00+02:002009-06-26T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2009-06-26:/apre-il-sito-del-mestre-hacklab.html<p>Ieri sera io e Susanoo abbiamo messo su il sito per il <a href="https://web.archive.org/web/*/http://mestrehacklab.altervista.org/" target="_blank">Mestre HackLab</a>. Si tratta di un wiki dove pubblicheremo tutte le iniziative del Lab, le guide relative agli argomenti trattati e tutto ciò che riguarderà l’iniziativa. E’ stato attivato anche l’indirizzo email (mestrehacklab@gmail.com) al …</p><p>Ieri sera io e Susanoo abbiamo messo su il sito per il <a href="https://web.archive.org/web/*/http://mestrehacklab.altervista.org/" target="_blank">Mestre HackLab</a>. Si tratta di un wiki dove pubblicheremo tutte le iniziative del Lab, le guide relative agli argomenti trattati e tutto ciò che riguarderà l’iniziativa. E’ stato attivato anche l’indirizzo email (mestrehacklab@gmail.com) al quale potete scriverci con le vostre proposte e le vostre idee.</p>
<p>Ricordo che gli incontri si tengono presso il Tuttinpiedi di Mestre, in <a href="https://web.archive.org/web/*/http://maps.google.it/maps?f=q&source=s_q&hl=it&geocode=&q=piazza+canova+mestre&sll=41.672912,12.392578&sspn=16.036079,39.506836&ie=UTF8&ll=45.48702,12.257416&spn=0.007356,0.01929&t=h&z=16&iwloc=A" target="_blank">Piazza Canova</a>, laterale di viale S. Marco, ogni Giovedì sera alle 21.30 (salvo <a href="https://web.archive.org/web/20090719064723/http://mestrehacklab.altervista.org/wiki/Date_chiusura" target="_blank">diversa indicazione</a>).</p>Esperimento annullato2009-06-26T00:00:00+02:002009-06-26T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2009-06-26:/esperimento-annullato.html<p>Ieri avevo provato a migrare KlezLab su Joomla, ma l’esperimento si è rivelato infruttuoso. Quindi KlezLab ritorna in forma di blog.</p>Tutorial: crittografare con gpg – Parte 2 – Esportare ed importare le chiavi2009-06-18T00:00:00+02:002009-06-18T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2009-06-18:/tutorial-crittografare-gpg-parte-2-esportare-importare-lchiavi.html<p>Nella prima parte del tutorial abbiamo imparato a generare una nostra coppia di chiavi. In questa lezione, invece, vedremo come rendere la nostra chiave pubblica disponibile al mondo esterno e come importare le chiavi pubbliche dei nostri contatti per poter inviare loro email crittografate.</p>
<p><span id="more-200"></span></p>
<h2>Esportare una chiave su file</h2>
<p>Per …</p><p>Nella prima parte del tutorial abbiamo imparato a generare una nostra coppia di chiavi. In questa lezione, invece, vedremo come rendere la nostra chiave pubblica disponibile al mondo esterno e come importare le chiavi pubbliche dei nostri contatti per poter inviare loro email crittografate.</p>
<p><span id="more-200"></span></p>
<h2>Esportare una chiave su file</h2>
<p>Per prima cosa ci conviene listare le chiavi in nostro possesso per individuare quella che ci interessa. Quindi lanciamo il comando</p>
<p>gpg –list-keys</p>
<p>Una volta individuata la chiave che ci interessa, possiamo esportarla. Per fare questo la racchiuderemo in un’armatura (opzione -a), ovvero la renderemo ’stampabile’ convertendola in un formato leggibile anche a occhio (ma vi sfido a comprenderlo <img src="https://web.archive.org/web/20090715084943im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_razz.gif" alt=":-P" class="wp-smiley"/> ) e fornendolo di un’intestazione che ci comunica la versione di gpg/pgp usata. Dunque, supponendo di voler esportare la chiave per klez@autistici.org nel file miachiave.asc lanceremo il seguente comando</p>
<p>gpg –export -a klez@autistici.org > miachiave.asc</p>
<p>Fatto questo possiamo liberamente condividere la nostra chiave coi nostri contatti, ad esempio inviandola come allegato via email.</p>
<p>Una strada alternativa consiste nel caricare la nostra chiave su un keyserver, ovvero un host che si occupa di collezionare le chiavi pubbliche degli utenti.</p>
<h2>Caricare le chiavi su un keyserver</h2>
<p>Con una rapida ricerca su internet potete trovare un sacco di keyserver gratuiti. Per in nostri scopi useremo quello del PLUG (Prato Linux User Group).</p>
<p>Per prima cosa otteniamo l’ID della nostra chiave. Lo otterrete esaminando l’output di gpg –list-keys . Una volta individuata la vostra chiave vedrete qualcosa del genere.</p>
<p>pub 1024D/1D346F27 2007-11-13<br/>
uid <strong><em>*</em></strong>*** (klez) <klez@autistici.org><br/>
sub 1024g/2CE04490 2007-11-13</p>
<p>In questo caso l’ID della chiave è 1D346F27.</p>
<p>Dato l’indirizzo del keyserver (keyserver.linux.it) e il nostro ID per, esportare la nostra chiave sul server digitiamo il comando</p>
<p>gpg –keyserver keyserver.linux.it –send-key 0×1D346F27</p>
<p>Ricordatevi di anteporre 0x (zero x) prima dell’ID.</p>
<h2>Importare la chiave da un file</h2>
<p>Mettiamo ora che un vostro contatto vi abbia mandato via email la sua chiave gpg in allegato ad un’email. Mettiamo che la chiave si trovi nel file miachiave.asc . Niente di più semplice importarla, usando il comando</p>
<p>gpg –import miachiave.asc</p>
<h2>Importare la chiave da un keyserver</h2>
<p>Per importare una chiave da un keyserver abbiamo bisogno dell’ID. Possiamo chiederlo direttamente all’utente oppure utilizzare la funzione di ricerca del keyserver (nel nostro caso quello del PLUG). Via web visitate <a href="https://web.archive.org/web/*/http://keyserver.linux.it/#extract" target="_blank">http://keyserver.linux.it/#extract</a> e nella casella di testo scrivete l’indirizzo del contatto. Otterrete un output simile a quello generato da gpg –list-keys, solo che stavolta l’ID è evidenziato (in quanto è un link alla chiave vera e propria). Ora abbaimo l’ID. Facciamo finta che vogliate importare il mio (1D346F27) . Basta digitare</p>
<p>gpg –keyserver keyserver.linux.it –recv-key 0×1D346F27</p>
<p>Ancora una volta ricordatevi lo 0x prima dell’ID.</p>
<h2>Nella prossima puntata</h2>
<p>Metteremo le mani in pasta crittando e decrittando messaggi.</p>
<p>Buona crittografia <img src="https://web.archive.org/web/20090715084943im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> </p>Cambiare le impostazioni DNS sul router di Alice Tutto Incluso2009-06-17T00:00:00+02:002009-06-17T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2009-06-17:/cambiare-impostazioni-dns-router-alice-tutto-incluso.html<p>Se possedete il router Pirelli fornito da Alice con l’offerta Tutto Incluso (quella che include ADSL flat, telefonia VoIP e Alice Home TV) forse vi sarete accorti che non è possibile modificare direttamente gli indirizzi dei DNS che volete usare al posto di quelli di default. Ebbene, un modo …</p><p>Se possedete il router Pirelli fornito da Alice con l’offerta Tutto Incluso (quella che include ADSL flat, telefonia VoIP e Alice Home TV) forse vi sarete accorti che non è possibile modificare direttamente gli indirizzi dei DNS che volete usare al posto di quelli di default. Ebbene, un modo c’è!</p>
<p><span id="more-197"></span><br/>
Per prima cosa digitate nel vostro browser questo link<br/>
<a href="https://web.archive.org/web/*/http://192.168.1.1/admin.cgi?active_page=730&user_name=admin&password=admin" target="_blank">http://192.168.1.1/admin.cgi?active_page=730&user_name=admin&password=admin</a><br/>
Se funziona (ovvero se il vostro router è quello in oggetto) dovreste vedere in alto a sinistra il logo della Pirelli e in alto a destra quello di access.</p>
<p>Bene, ora dal menu di sinistra selezionate Network Connections. Sulla lista che compare cliccate su User Sessions, e poi sulla scheda Settings.</p>
<p>In fondo alla pagina si trova la voce DNS Server. Selezionate l’opzione Use the Following DNS Server Address. La pagina si ricaricherà e vedrete ora i campi per inserire i vostri DNS preferiti (ad esempio quelli di Open DNS, ovvero 208.67.222.222 e 208.67.220.220).</p>
<p>Fatto questo cliccate su Apply.</p>
<p>Per verificare che tutto sia andato a buon fine, digitate sul vostro browser l’indirizzo<a href="https://web.archive.org/web/*/http://192.168.1.1/" target="_blank"> http://192.168.1.1</a> così da visualizzare il pannello di controllo ‘classico’ del router. Cliccate su Stato Connessione e verificate che gli indirizzi dei DNS siano effettivamente quelli digitati da voi.</p>
<p>Buona navigazione alternativa <img src="https://web.archive.org/web/20100125100946im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_wink.gif" alt=";-)" class="wp-smiley"/> </p>
<p>nota: Il link al pannello nascosto del router l’ho trovato a <a href="https://web.archive.org/web/*/http://mondoemule.blogspot.com/2009/04/menu-avanzato-in-alice-gate-voip-2-plus.html" target="_blank">questo</a> indirizzo, dove sono elencati alcuni altri trucchi. La modifica del DNS è, invece, farina del mio sacco, trovata tramite rischiose sperimentazioni <img src="https://web.archive.org/web/20100125100946im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> </p>Mestre HackLab2009-06-15T00:00:00+02:002009-06-15T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2009-06-15:/mestre-hacklab.html<p>Ogni Giovedì sera, presso il Tuttinpiedi di Mestre (in Piazzetta Canova, una laterale di Viale S. Marco) si tengono gli incontri del Mestre HackLab, per parlare di tecnologia, diritti digitali e tutto ciò che ruota intorno all’informatica.<br/>
Finora abbiamo tenuto un corso sul cracking di reti wireless (su richiesta …</p><p>Ogni Giovedì sera, presso il Tuttinpiedi di Mestre (in Piazzetta Canova, una laterale di Viale S. Marco) si tengono gli incontri del Mestre HackLab, per parlare di tecnologia, diritti digitali e tutto ciò che ruota intorno all’informatica.<br/>
Finora abbiamo tenuto un corso sul cracking di reti wireless (su richiesta di alcuni compagni del Tuttinpiedi).<br/>
Gli incontri iniziano alle 21.30 e si protraggono per il tempo necessario.<br/>
Chiunque fosse interessato può scrivere per maggiori informazioni a klez(at)autistici.org oppure può venire direttamente senza avvisare (vi consiglio comunque di mandare un’email perché non è detto che si apra tutti i giovedì).<br/>
Una piccola nota. Il fatto che gli incontri si svolgano presso il Tuttinpiedi (per chi lo conoscesse) non significa che faremo proselitismo politico. Loro ci offrono lo spazio in amicizia. Nulla di più.</p>Sbarramento al 4% – facciamo un po’ di matematica2009-06-08T00:00:00+02:002009-06-08T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2009-06-08:/sbarramento-al-4-facciamo-un-po-di-matematica.html<p>Ieri, guardando Porta a Porta per conoscere il risultato delle Elezioni Europee, ho sentito una frase di Casini (UDC) che poneva il problema dello sbarramento al 4% introdotto di recente per il Parlamento Europeo. A prescindere dai risultati dei singoli partiti che non hanno avuto seggi proprio a causa dello …</p><p>Ieri, guardando Porta a Porta per conoscere il risultato delle Elezioni Europee, ho sentito una frase di Casini (UDC) che poneva il problema dello sbarramento al 4% introdotto di recente per il Parlamento Europeo. A prescindere dai risultati dei singoli partiti che non hanno avuto seggi proprio a causa dello sbarramento, ho voluto tirare le somme.</p>
<p><span id="more-193"></span></p>
<p>Secondo i dati disponibili al momento (99.85% delle schede sono state scrutinate mentre scrivo, quindi una percentuale comunque attendibile a meno di ribaltoni all’ultimo momento, e che comunque non porterebbero grandi differenze) in totale hanno votato 30,580,221 persone, un record negativo di affluenza in italia seppur nel’ottica di un forte astensionismo in tutta europa che ci colloca tra i paesi più ‘europeisti’.</p>
<p>Ma ciò che mi preme sottolineare è il fatto che su 13 tra piccole coalizioni e singoli partiti, solo 5 avranno seggi al parlamento. I restanti 8 rimarranno a bocca asciutta. Poco male, penseranno in molti. Se non hanno avuto neanche il 4% dei voti non sono un gran numero. Ma sommando i voti di questi partiti possiamo notare che 4,108,195 italiani (contando solo quelli che hanno votato) non sono rappresentati al parlamento europeo, ovvero il 13.16% dei votanti.</p>
<p>L’ho volutamente messa in chiave matematica e non do giudizi sul risultato delle europee. Ciò su cui vorrei che si riflettesse è: quale democrazia può praticamente imbavagliare oltre quattro milioni di votanti? Evidentemente qualcosa non funziona.</p>
<p>Lo sbarramento al 4% non fa che aumentare la psicosi da ‘voto utile’ che c’è stata propinata sin dalle politiche del 2008, lasciando fuori dalla gestione del paese i piccoli partiti che, visti i numeri, meriterebbero quanto meno quella manciata di seggi che matematicamente spetterebbero loro (solo per le europee, i partiti che non hanno superato lo sbarramento avrebbero occupato per l’Italia 9 seggi – per difetto – su 72).</p>Tutorial: crittografare con gpg – Parte 1 – Generare una coppia di chiavi2009-06-07T00:00:00+02:002009-06-07T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2009-06-07:/tutorial-crittografare-gpg-parte-1-generare-coppia-chiavi.html<p>Con questo articolo inizia una breve serie di tutorial sulle pratiche crittografiche con gpg, ovvero lo GNU Privacy Guardian, un pacchetto per la crittazione e la decrittazione asimmetrica dei dati. In questi tutorial non tratteremo la teoria della crittografia, ma passeremo direttamente alla pratica. In questa prima lezione impareremo, innanzitutto …</p><p>Con questo articolo inizia una breve serie di tutorial sulle pratiche crittografiche con gpg, ovvero lo GNU Privacy Guardian, un pacchetto per la crittazione e la decrittazione asimmetrica dei dati. In questi tutorial non tratteremo la teoria della crittografia, ma passeremo direttamente alla pratica. In questa prima lezione impareremo, innanzitutto, a generare una coppia di chiavi con gpg.</p>
<p><span id="more-182"></span></p>
<h2>Scaricare gpg</h2>
<p>Se, come me, preferite compilare da sorgenti, potrete trovare <a href="https://web.archive.org/web/*/ftp://ftp.gnupg.org/gcrypt/gnupg/" target="_blank">qui</a> i .tar.gz da spacchettare e compilare con le solite procedure.</p>
<p>Se siete utenti Linux pigri, sicuramente il vostro gestore di pacchetti (atp, yum, yast ecc.) metteranno a disposizione il pacchetto precompilato da installare (di solito lo trovate sotto il nome gnupg).</p>
<p>Per gli utenti mac, l’alternativa all’installazione manuale da sorgente è l’uso di MacPorts, che provvederà a scaricare e compilare anche le varie dipendenze del pacchetto.</p>
<p>Gli utenti Windows possono scaricare da <a href="https://web.archive.org/web/*/ftp://ftp.gnupg.org/gcrypt/binary/gnupg-w32cli-1.4.9.exe" target="_blank">qui</a>. Alternativamente potete installare Cygwin e procedere all’installazione da sorgente. Mi raccomando, questo tutorial presuppone che usiate i tool da riga di comando, quindi per seguirlo lasciate perdere (almeno per ora) le interfacce grafiche.</p>
<h2>Generare la coppia di chiavi</h2>
<p>PGP (e la versione GNU che usiamo noi, gpg) usa la crittografia asimmetrica, ovvero produce una chiave pubblica (che useranno gli altri utenti per crittare i file a voi indirizzati) e una chiave privata (quella che userete voi per decrittare i messaggi). Il gioco è questo: una volta creata la vosta coppia di chiavi, darete tranquillamente in giro la vostra chiave pubblica, che può essere usata solo per crittare i file. I vostri corrispondenti la useranno per crittare i file a voi destinati e, quando li riceverete, userete la vostra chiave privata per decrittare i file. Ovviamente la chiave privata va mantenuta tale e non va comunicata a terzi.</p>
<p>Dunque al lavoro. Aprite una shell e lanciate gpg come segue</p>
<pre>gpg --gen-key</pre>
<p>A questo punto il programma vi chiedera di scegliere tra tre tipi di chiave: DSA e Elgamal, DSA, RSA. Scegliete la prima digitando 1 e poi invio, in quanto le altre due servono solo per le firma digitale dei documenti (ne parleremo in un altro momento).</p>
<p>Ora vi viene chiesto la lunghezza in bit della chiave ELG-E. Questo è a vostra scelta. Ovviamente più la chiave è lunga, più difficile sarà per un malintenzionato decrittare i vostri messaggi. Inserite un numero compreso tra 1024 e 4096 (per questo esempio userò 2048, il default, che è una buona via di mezzo).</p>
<p>Il passo successivo comporta nel decidere quando scadrà la chiave. Per indicare che la chiave non ha scadenza digitate 0 (zero) seguito da invio, altrimenti scrivete un numero e aggiungete davanti al numero (senza spazi) w per un numero di settimane, m per un numero di mesi, y per un numero di anni. Se invece volete indicare un numero di giorni scrivete semplicemente un numero. Per semplicità indicherò una durata infinita. Poi confermate la vostra scelta.</p>
<p>Vi vengono ora chiesti nome e cognome, indirizzo email e un commento per generare il vostro UserID. Per esempio:</p>
<pre>Nome e Cognome: federico *******
Indirizzo di Email: klez@autistici.org
Commento: chiave di klez</pre>
<p>Vi verrà chiesta conferma. Se avete digitato correttamente scrivete O (lettera o) e premete invio. Altrimenti selezionate il campo da modificare scrivendo la lettera corrispondente al campo (quella indicata tra parentesi).</p>
<p>Ora è il momento di scegliere una passphrase. Qui i consigli sarebbero innumerevoli, e vi rimando <a href="https://web.archive.org/web/*/http://www.iusmentis.com/security/passphrasefaq/practical/" target="_blank">qui</a> per maggiori informazioni. Una volta scelta la passphrase confermatela.</p>
<p>Adesso viene il bello. Mentre gpg genera la vostra coppia di chiavi, vi chiederà di intraprendee azioni casuali, tipo muovere il mouse, digitare sulla tastiera ecc. Questo per garantire una migliore generazione dei numeri casuali. Quindi, finché le chiavi non sono generate, datevi alla pazza gioia <img src="https://web.archive.org/web/20090715102902im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> .</p>
<p>Signori e signore, avete appena generato la vostra chiave gpg!</p>
<p>Nella prossima lezione impareremo a mandarla in giro e a crittare e decrittare messaggi.</p>
<p>Buona crittografia a tutti!</p>Ha ragione Braida. Ovvero: come montare una notizia2009-05-28T00:00:00+02:002009-05-28T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2009-05-28:/ha-ragione-braida-ovvero-come-montare-una-notizia.html<p>Avete presente gli sketch di Beppe Braida? Quelli in cui dava la (finta) notizia di piccoli incidenti accaduti a Berlusconi e mostrava come li interpretavano i vari telegiornali culminando col TG4 all’urlo di “ATTENTATO!!!”</p>
<p>Ebbene, la realtà non si discosta tanto dalla visione del comico. Ecco come viene vista …</p><p>Avete presente gli sketch di Beppe Braida? Quelli in cui dava la (finta) notizia di piccoli incidenti accaduti a Berlusconi e mostrava come li interpretavano i vari telegiornali culminando col TG4 all’urlo di “ATTENTATO!!!”</p>
<p>Ebbene, la realtà non si discosta tanto dalla visione del comico. Ecco come viene vista da tre diversi giornali online la notizia di un incidente accaduto al ministro La Russa.</p>
<p><a href="https://web.archive.org/web/*/http://www.ilmessaggero.it/articolo.php?id=60048&sez=HOME_INITALIA" target="_blank">Insulti</a><br/>
<a href="https://web.archive.org/web/*/http://www.agi.it/politica/notizie/200905281819-pol-rt11264-elezioni_a_genova_giovane_sputa_a_la_russa" target="_blank">Sputo</a></p>
<p><a href="https://web.archive.org/web/*/http://www.agi.it/genova/notizie/200905281938-...-rt11305-la_russa_l_aggressore_e_un_anarchico_spagnolo" target="_blank">ATTENTATO!!!</a></p>
<p>E ovviamente il TG1 delle 20 non ha neanche minimamente menzionato il fatto che un senatore ha poi tirato un pugno in muso all’”attentatore”…</p>Windows XP duro a morire2009-05-03T00:00:00+02:002009-05-03T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2009-05-03:/windows-xp-duro-a-morire.html<p>Mike Nash, vicepresidente del settore Windows Pruduct Management di Microsoft, <a href="https://web.archive.org/web/*/http://www.pcworld.com/businesscenter/article/164128/windows_xp_will_still_be_available_after_windows_7_release.html" target="_blank">ha annunciato</a> che la vita di Windows XP sarà prolungata ulteriormente, per la precisione di un anno dopo il rilascio di Windows 7.</p>
<p><span id="more-171"></span>A quanto pare il sistema operativo Microsoft più apprezzato dagli utenti gode, nonostante gli annunci di abbandono …</p><p>Mike Nash, vicepresidente del settore Windows Pruduct Management di Microsoft, <a href="https://web.archive.org/web/*/http://www.pcworld.com/businesscenter/article/164128/windows_xp_will_still_be_available_after_windows_7_release.html" target="_blank">ha annunciato</a> che la vita di Windows XP sarà prolungata ulteriormente, per la precisione di un anno dopo il rilascio di Windows 7.</p>
<p><span id="more-171"></span>A quanto pare il sistema operativo Microsoft più apprezzato dagli utenti gode, nonostante gli annunci di abbandono del progetto, di ottima salute.</p>
<p>La data della pensione era stata, all’inizio, fissata per il 30 giugno 2008 ma, vuoi per le proteste degli utenti, vuoi perché sui netbook non può girare Vista, i rumors davano già per certo che prima del 2010 il sistema non sarebbe stato abbandonato. E così sarà, visto che la data di rilascio di Windows 7 è stata fissata per inizio settembre 2009.</p>
<p>Sembra proprio che Microsoft, stavolta, abbia fatto male i conti rispetto ai prodotti da dismettere. Probabilmente WIndows XP sarà quello che, fino a pochi anni fa, è stato Windows 98, ovvero uno dei sistemi operativi più utilizzati nonostante l’abbandono del progetto.</p>Oracle compra Sun... e mò?2009-04-29T00:00:00+02:002009-04-29T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2009-04-29:/oracle-compra-sun-e-mo.html<p>Circa una settimana fa, il colosso del computing enterprise Oracle ha comprato la Sun Microsystem, non certo per un piatto di lenticchie (7.4 milioni di dollari).</p>
<p><span id="more-169"></span>Questa si rivela una mossa che avrà certamente dei pro e dei contro.</p>
<p>Sul lato dei pro, sappiamo che Orcle considera Java un …</p><p>Circa una settimana fa, il colosso del computing enterprise Oracle ha comprato la Sun Microsystem, non certo per un piatto di lenticchie (7.4 milioni di dollari).</p>
<p><span id="more-169"></span>Questa si rivela una mossa che avrà certamente dei pro e dei contro.</p>
<p>Sul lato dei pro, sappiamo che Orcle considera Java un progetto molto importante, e che, quindi, continuerà attivamente il suo sviluppo, supportata, ovviamente, dalla comunità Java.</p>
<p>Inoltre Oracle ha tutto l’interesse a mantenere attivo anche lo sviluppo di Solaris, in quanto il database della ‘grande O’ (sembra il titolo di un film porno XD) sembra quasi fatto apposta per girare su tale sistema operativo.</p>
<p>I dubbi cominciano a venire quando pensiamo proprio al prodotto di punta di Oracle, ovvero Oracle Database. Ricordiamo che Sun è (era) proprietaria del database MySQL. Secondo alcuni, il database free non avrà problemi di sorta, in quanto Oracle potrebbe voler attirare utenti dal basso, tenendo MySQL come soluzione entry level e puntando a vendere il proprio database commerciale agli utenti avanzati. Nessun cambiamento sembra dunque prospettarsi a riguardo.</p>
<p>Un’altra fonte di ‘concorrenza’ interna potrebbe venire da VirtualBox, che entrerà, per così dire, in conflitto con la virtual machine di Oracle, ovvero Oracle VM. Ma questo genere di cose sìè già vista, quindi è assai probabile che Virtual Box venga mantenuto un progetto attivo e che le nuove funzionalità e le varie tecnologie utilizzate andranno a confluire nell VM proprietaria.</p>
<p>Ora i punti dolenti: OpenOffice.org e Netbeans. Che interesse può avere Oracle a mantenere in salute OpenOffice? Per come la vedo io, solo il ritorno di immagine. Ma spero di sbagliarmi.</p>
<p>Per quanto riguarda NetBeans, ricordiamo che Oracle ha già un proprio IDE, JDeveloper, per non parlare del fatto che è sostenitrice del progetto Eclipse.</p>
<p>Vedremo come va a finire…</p>Sosteniamo la baia2009-04-19T00:00:00+02:002009-04-19T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2009-04-19:/sosteniamo-la-baia.html<p><a href="https://web.archive.org/web/*/http://www.opensusanoo.org/news/2009/04/condannati-i-pirati/" target="_blank">Notizia recente</a> è la condanna dei gestori di <a href="https://web.archive.org/web/20090719124315/http://thepiratebay.org/" target="_blank">The Pirate Bay</a>. Qualcuno si è già prodigato nell’avviare una raccolta fondi per aiutare i gestori a pagare la multa. Ma gli stessi gestori invitano a NON versare nulla, in quanto non intendono pagare la multa e sono già ricorsi in …</p><p><a href="https://web.archive.org/web/*/http://www.opensusanoo.org/news/2009/04/condannati-i-pirati/" target="_blank">Notizia recente</a> è la condanna dei gestori di <a href="https://web.archive.org/web/20090719124315/http://thepiratebay.org/" target="_blank">The Pirate Bay</a>. Qualcuno si è già prodigato nell’avviare una raccolta fondi per aiutare i gestori a pagare la multa. Ma gli stessi gestori invitano a NON versare nulla, in quanto non intendono pagare la multa e sono già ricorsi in appello. Ecco cosa ci invitano, invece, a fare per sostenerli.</p>
<p><span id="more-163"></span>* Tenere i torrent più in seed del solito<br/>
* Comprare una <a href="https://web.archive.org/web/*/http://www.bytelove.com/tpb" target="_blank">t-shirt</a> per mostrare da che parte stiamo.<br/>
* Andare a votare alle <a href="https://web.archive.org/web/*/http://euobserver.com/883/27767" target="_blank">elezioni europee</a> in giugno.<br/>
* Contribuire a tenere internet viva e salutare, creando blog, remixando, aprendo più siti di torrent ecc.<br/>
* Continuare ad usare The Pirate Bay e non cadere nell’isteria collettiva.</p>
<p>Da canto mio, ho cambiato l’intestazione del blog per mostrare da che parte sto <img src="https://web.archive.org/web/20090719124315im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_razz.gif" alt=":-P" class="wp-smiley"/> .</p>Usa un sistema *nix: sequestrategli il computer!2009-04-15T00:00:00+02:002009-04-15T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2009-04-15:/usa-un-sistema-nix-sequestrategli-il-computer.html<p>La <a href="https://web.archive.org/web/*/http://www.eff.org/" target="_blank">Electronic Frontier Foundation</a> riporta una <a href="https://web.archive.org/web/20090721140056/http://www.eff.org/press/archives/2009/04/13" target="_blank">notizia</a> da un lato curiosa, dall’altro inquietante.</p>
<p><span id="more-160"></span>Uno studente del Boston College si è visto sequestrare il proprio computer, un iPod e un cellulare perché sospettato di accesso illegale ad un sistema informatico. Ciò che stupisce è che l’unica prova di tale …</p><p>La <a href="https://web.archive.org/web/*/http://www.eff.org/" target="_blank">Electronic Frontier Foundation</a> riporta una <a href="https://web.archive.org/web/20090721140056/http://www.eff.org/press/archives/2009/04/13" target="_blank">notizia</a> da un lato curiosa, dall’altro inquietante.</p>
<p><span id="more-160"></span>Uno studente del Boston College si è visto sequestrare il proprio computer, un iPod e un cellulare perché sospettato di accesso illegale ad un sistema informatico. Ciò che stupisce è che l’unica prova di tale reato sia il fatto che lo studente è stato visto utilizzare sul proprio computer non il sistema operativo ufficiale del Boston College, bensì ‘uno schermo nero con caratteri bianchi nel quale inseriva comandi’ (tipica descrizione di un sistema unix-like).</p>
<p>Ma andiamo con ordine. A quanto pare lo studente in questione aveva inviato ad una mailing list un messaggio in cui diceva che un altro studente fosse gay. Per questo la polizia del college, in collaborazione con la polizia dello stato del Massachusetts, ha sequestrato il materiale di cui ho parlato prima.</p>
<p>Il fatto che lo studente utilizzasse un sistema *nix sul proprio computer non è, ovviamente, indice di attività illegali (io uso OSX e Linux, dovrei essere condannato all’ergastolo…). Inoltre, se gli investigatori cercassero un’email non avrebbero certo bisogno di sequestrargli iPod e cellulare.</p>
<p>Ora la EFF patrocina la causa del giovane. Staremo a vedere come va a finire.</p>L’utilità del blogger nel contrastare i Mass Media2009-04-09T00:00:00+02:002009-04-09T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2009-04-09:/lutilita-del-blogger-nel-contrastare-i-mass-media.html<p>Al giorno d’oggi, come sappiamo, l’informazione di massa è in mano a pochi. La comunicazione è del tipo uno-a-molti (ovvero, un’unica entità eroga l’informazione e molti la ricevono). Pensiamo alla televisione, al duopolio RAI-Mediaset.</p>
<p><span id="more-156"></span>Dov’è l’alternativa? Le TV locali? Qualità scarsa a mio parere …</p><p>Al giorno d’oggi, come sappiamo, l’informazione di massa è in mano a pochi. La comunicazione è del tipo uno-a-molti (ovvero, un’unica entità eroga l’informazione e molti la ricevono). Pensiamo alla televisione, al duopolio RAI-Mediaset.</p>
<p><span id="more-156"></span>Dov’è l’alternativa? Le TV locali? Qualità scarsa a mio parere. Normalmente i telegiornali locali trattano prevalentemente temi di portata al più regionale. MTV/La7? La prima è prevalentemente un canale musicale e (pur mostrandosi come una realtà giovane e libertaria) è assoggettata, bene o male, a gruppi di potere (la maggior parte dei video che vediamo sono comunque prodotti delle major…). La seconda è per certi versi interessante, ma comunque è troppo poco in un’Italia che si accontenta del solito <em>panem et circenses</em>. E, tra l’altro, entrambe fanno parte del gruppo Telecom Italia Media, proprietà per la maggior parte di Telecom Italia (quindi qualcuno che ha comunque interesse nel mantenere l’ignoranza dei cittadini a livelli alti).</p>
<p>Ci stanno svuotando la testa. Ci propinano quella che loro chiamano ‘informazione’. Nei telegiornali vediamo intere pagine dedicate al gossip o alle cosiddette ‘curiosità’ (come i vari servizi farlocchi del TG2 sulle ultime tendenze nel Regno Unito e i <a href="https://web.archive.org/web/*/http://klezlab.altervista.org/mass-media-e-controculture" target="_self">già discussi</a> servizi sulle controculture). Ci bombardano di reality che spengono il cervello e distraggono dai problemi veri. Censurano l’informazione.</p>
<p>Soprattutto quest’ultimo punto è, a mio parere, la nota dolente. Quante volte in un telegiornale avete sentito parlare, per esempio, della proposta di legge Carlucci? E’ una cosa che riguarda tutti, eppure non è mai stata menzionata in un telegiornale, oppure è stato discusso così poco che mi è sfuggito… Dopotutto a chi interessa il futuro delle libertà digitali quando abbiamo l’orsetto dello zoo di Berlino?</p>
<p>Ma veniamo al punto, ovvero alla domanda iniziale. Dov’è l’alternativa?</p>
<p>L’alternativa c’è, eccome. Basta spegnere la TV e avviare il nostro browser. E saremo sommersi da più informazione di quanta ce ne hanno propinata i mass media in tutta la nostra vita. Notiziari online, forum, newsletter, articoli tematici e, soprattutto blog.</p>
<p>Il blog è il nuovo mezzo di comunicazione mediatica dell’era digitale. Tutti possiamo essere giornalisti. Tutti possiamo essere opinionisti (non quelli di Domenica IN <img src="https://web.archive.org/web/20090719124311im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_razz.gif" alt=":-P" class="wp-smiley"/> ). Tutti possiamo dire la nostra, discutere e smuovere le coscienze. Possiamo fare la differenza. Possiamo diffondere ciò che i media generalisti non hanno il coraggio, la volontà o la possibilità di far conoscere. Facendo sapere chi siamo o restando nell’anonimato. Una scelta, quest’ultima, non dettata da vigliaccheria. Ma da un nostro diritto sacrosanto (qualcuno si è mai lamentato che gli alcoolisti anonimi siano, appunto, anonimi?). Abbiamo la possibilità di proporre un’alternativa, un’informazione vista non dagli occhi di chi è al potere, ma dagli occhi di chi, ogni giorno, vive la quotidianità.</p>
<p>E cosa volgiono fare? Vogliono toglierci il diritto a esprimerci. Vogliono tapparci la bocca, violando addirittura la Dichiarazione Universale dei Diritti dell’Uomo. Vogliono farci passare per quelli cattivi, per i pirati, per pedofili, per sobillatori, per terroristi.</p>
<p>Ma i veri terroristi sono i giornalisti. Quelli che vi fanno pensare che ci sia sempre un capro espiatorio per i mali dell’Italia (prima gli Slavi, poi gli Albanesi, ora i Rumeni). Che l’unico modo per eliminare le (poche) mele marce di internet sia quello di controllarci tutti (colpirne cento per punirne uno???) e di dare la possibilità al governo di chiudere ciò che non gli fa comodo (la parola ‘Cina’ vi dice niente?).</p>
<p>E invece no! Pensate con la vostra testa! Mostrate che non siete d’accordo!</p>
<p>Continuiamo il nostro lavoro, blogger. Continuiamo a far scorrere il nostro pensiero, tanti piccoli torrenti che unendosi diventano un fiume in piena.</p>Approvata in Francia la cosiddetta 'Dottrina Sarkozy'2009-04-06T00:00:00+02:002009-04-06T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2009-04-06:/approvata-in-francia-la-cosiddetta-dottrina-sarkozy.html<p>Signori, benvenuti nel Medioevo digitale! In una situazione degna di un romanzo di Gibson, viene approvato in Francia il testo della legge 331-24, ovvero la cosiddetta ‘Dottrina Sarkozy’. Quella per cui, dopo che si viene ‘pizzicati’ (per la spiegazione delle virgolette continuate a leggere) per tre volte a piratare file …</p><p>Signori, benvenuti nel Medioevo digitale! In una situazione degna di un romanzo di Gibson, viene approvato in Francia il testo della legge 331-24, ovvero la cosiddetta ‘Dottrina Sarkozy’. Quella per cui, dopo che si viene ‘pizzicati’ (per la spiegazione delle virgolette continuate a leggere) per tre volte a piratare file online, si viene privati<span style="text-decoration: line-through;"> per un certo periodo</span> da due a dodici mesi della connessione ad Internet.</p>
<p><span id="more-153"></span>Come a dire che per difendere un diritto ‘debole’ (i giuristi direbbero ‘patrimoniale’) come quello d’autore si va a ledere una delle libertà fondamentali sancite dalla <a href="https://web.archive.org/web/*/http://www.interlex.it/testi/dichuniv.htm" target="_blank">Dichiarazione Universale dei Diritti dell’Uomo</a>, ovvero la libertà di manifestare il proprio pensiero (art. 18).</p>
<p>Il bello è che non servirà che la violazione del diritto d’autore venga provata. Basterà il mero sospetto. In soldoni, la major discografica denuncerà il presunto fatto all’autorità competente e… zac! Bollati come pirati senza possibilità di appello prima della terza violazione, ovvero a connessione tagliata.</p>
<p>E ovviamente ci sarà chi userà questo strumento a fini politici. Non mi fa comodo un blogger? Lo denuncio per filesharing e gli faccio tagliare la connessione, così da rendergli più difficoltoso pubblicare la sua immondizia.</p>
<p>C’è da dire che la legge non è ancora stata approvata dal parlamento, e, in ogni caso, va contro le <a href="https://web.archive.org/web/*/http://punto-informatico.it/2570650/PI/News/ue-ghigliottina-sulle-disconnessioni.aspx" target="_blank">recenti disposizioni</a> dell’Unione Europea a riguardo. Quindi abbiamo ancora da sperare… forse…</p>
<p>Va da sé che se la legge verrà pienamente approvata in Francia, non ci vorrà molto perché i nostri politici (sempre in linea con ‘il resto d’Europa’ quando si tratta di tagliarci le gambe, e mai quando si tratta dei nostri diritti) decidano di fare altrettanto.</p>
<p>In parole povere, siamo a un passo da un nuovo medioevo: quello telematico. In cui, invece della caccia alle streghe, avremo la caccia al downloader, accusa che si userà per togliere di mezzo dissidenti e personaggi scomodi, o semplicemente chi non è in linea con l’establishment.</p>
<p>E, noi che non ci stiamo, potremmo essere tra i primi…</p>Nirvana2009-03-30T00:00:00+02:002009-03-30T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2009-03-30:/nirvana.html<p>Oggi avevo voglia di film cyberpunk, quindi mi sono deciso e finalmente ho guardato <a href="https://web.archive.org/web/*/http://www.imdb.com/title/tt0119794/" target="_blank">Nirvana</a>.</p>
<p><span id="more-151"></span>Per essere una produzione italiana è veramente ben fatto! I temi cyberpunk ci sono tutti: le megacorporazioni avide e senza scrupoli, i navigatori del cyberspazio (qui chiamati Angeli), gli impianti bionici, la fusione di culture …</p><p>Oggi avevo voglia di film cyberpunk, quindi mi sono deciso e finalmente ho guardato <a href="https://web.archive.org/web/*/http://www.imdb.com/title/tt0119794/" target="_blank">Nirvana</a>.</p>
<p><span id="more-151"></span>Per essere una produzione italiana è veramente ben fatto! I temi cyberpunk ci sono tutti: le megacorporazioni avide e senza scrupoli, i navigatori del cyberspazio (qui chiamati Angeli), gli impianti bionici, la fusione di culture. Insomma, tutti gli ingredienti del genere.</p>
<p>La storia, in breve, parla di un programmatore di videogiochi (Jimi). Un virus nel suo computer dà intelligenza al personaggio principale (dall’evocativo nome di Solo, interpretato magistralmente da Diego Abatantuono, che è meglio che faccia film del genere piuttosto che Colorado Café) della sua ultima creazione (Nirvana, appunto). Questo personaggio continua a morire nelle varie situazioni del videogioco, e, dato che è stufo di non essere in controllo della propria vita e, soprattutto, di non avere affatto una vita, chiede al programmatore di cancellarlo. Ma ovviamente la compagnia per cui lavora non sarebbe affatto felice di ciò. E quindi comincia la classica ricerca di gente che lo aiuti (rigorosamente nei bassifondi).</p>
<p>Notevole anche il cast, con qualche apparizione di comici italiani che ci si aspetterebbe di vedere solo in film di tutt’altro genre, ad esempio Claudio Bisio e Paolo Rossi (che nella parte dell’icona televisiva che recensisce le nuove droghe fa la sua porca figura), per non parlare del protagonista interpretato da Christopher Lambert.</p>
<p>Insomma, un must per tutti gli amanti del genere. Un film apprezzato anche all’estero, sebbene sottovalutato a causa di un <a href="https://web.archive.org/web/*/http://www.cyberpunkreview.com/movie/decade/1990-1999/nirvana/" target="_blank">doppiaggio non molto ben riuscito</a>.</p>Jamendo premia i downloader2009-03-26T00:00:00+01:002009-03-26T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2009-03-26:/jamendo-premia-i-downloader.html<p>Siccome in Europa sembra impazzare la cosiddetta ‘Dottrina Sarkozy’, Jamendo decide di comportarsi esattamente al contrario, premiando i downloader di musica Creative Commons. Non mi dilungo troppo nei dettagli, dato che un post già fatto vale più di 100 post clonati <img src="https://web.archive.org/web/20090717080015im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_wink.gif" alt=";-)" class="wp-smiley"/> quindi vi do direttamente il <a href="https://web.archive.org/web/*/http://ase.emv3.com/I?a=A9X7CkHJwjKdsJerX,cJW77i8A" target="_blank">link</a>. Buon download!</p>
<p>PS …</p><p>Siccome in Europa sembra impazzare la cosiddetta ‘Dottrina Sarkozy’, Jamendo decide di comportarsi esattamente al contrario, premiando i downloader di musica Creative Commons. Non mi dilungo troppo nei dettagli, dato che un post già fatto vale più di 100 post clonati <img src="https://web.archive.org/web/20090717080015im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_wink.gif" alt=";-)" class="wp-smiley"/> quindi vi do direttamente il <a href="https://web.archive.org/web/*/http://ase.emv3.com/I?a=A9X7CkHJwjKdsJerX,cJW77i8A" target="_blank">link</a>. Buon download!</p>
<p>PS, questo spiega il widget di Jamendo a destra del blog <img src="https://web.archive.org/web/20090717080015im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> </p>Apre il microblog di KlezLab!2009-03-24T00:00:00+01:002009-03-24T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2009-03-24:/apre-il-microblog-di-klezlab.html<p>Con questo post annuncio l’apertura del microblog di KlezLab su Twitter! Lo potete raggiungere all’indirizzo <a href="https://web.archive.org/web/*/http://twitter.com/klezlab">http://twitter.com/klezlab</a> . Sul microblog di KlezLab troverete brevi frasi e link di interesse sugli argomenti più disparati inerenti l’informatica e la libertà in rete. Insomma, un KlezLab in piccolo <img src="https://web.archive.org/web/20090519043738im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> . Vi …</p><p>Con questo post annuncio l’apertura del microblog di KlezLab su Twitter! Lo potete raggiungere all’indirizzo <a href="https://web.archive.org/web/*/http://twitter.com/klezlab">http://twitter.com/klezlab</a> . Sul microblog di KlezLab troverete brevi frasi e link di interesse sugli argomenti più disparati inerenti l’informatica e la libertà in rete. Insomma, un KlezLab in piccolo <img src="https://web.archive.org/web/20090519043738im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> . Vi aspetto numerosi.</p>Scusate per i captcha2009-03-23T00:00:00+01:002009-03-23T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2009-03-23:/scusate-per-i-captcha.html<p>Mi scuso con gli utenti per i captcha che ho dovuto mettere sulle pagine dei commenti, ma lo spam stava diventando insostenibile.</p>
<p>Se pensate di commentare spesso vi consiglio di registrarvi, così da eliminare il captcha.</p>Buon compleanno, KlezLab!2009-03-09T00:00:00+01:002009-03-09T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2009-03-09:/buon-compleanno-klezlab.html<p>Un anno fa OpenWorld chiudeva e trasferiva armi e bagagli su KlezLab.</p>
<p>Ne è passata di acqua sotto i ponti. Le visite non sono stratosferiche ma c’è una piccola nicchia di lettori (di base due, Susanoo-sen e marcopete87, ringrazio entrambi).</p>
<p>KlezLab, proprio in collaborazione con marcopete87, ha visto nascere …</p><p>Un anno fa OpenWorld chiudeva e trasferiva armi e bagagli su KlezLab.</p>
<p>Ne è passata di acqua sotto i ponti. Le visite non sono stratosferiche ma c’è una piccola nicchia di lettori (di base due, Susanoo-sen e marcopete87, ringrazio entrambi).</p>
<p>KlezLab, proprio in collaborazione con marcopete87, ha visto nascere il suo primo piccolo progetto, FileXorer.</p>
<p>Ho cercato di dare il mio piccolo contributo alla cultura hacker e underground, alla cultura della libertà e della condivisione, alla cultura della conoscenza.</p>
<p>E continuerò, continuerò fino a che potrò.</p>Vostro figlio è un hacker?2009-02-02T00:00:00+01:002009-02-02T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2009-02-02:/vostro-figlio-e-un-hacker.html<p>Ragazzi, io sono quasi sicuro (e spero) che sia uno scherzo. Ma le imprecisioni sono talmente tante che mi viene il dubbio sia vero. Leggete e inorridite (<a href="https://web.archive.org/web/*/http://adequacy.org/public/stories/2001.12.2.42056.2147.html" target="_self">link</a>)</p>
<p><span id="more-117"></span>Ho voglia di dissezionare cretinate, quindi passiamo al commento (ovviamente prendetelo con spirito <img src="https://web.archive.org/web/20100329004734im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> )</p>
<p>Punto 3: Il fatto che vostro figlio voglia una …</p><p>Ragazzi, io sono quasi sicuro (e spero) che sia uno scherzo. Ma le imprecisioni sono talmente tante che mi viene il dubbio sia vero. Leggete e inorridite (<a href="https://web.archive.org/web/*/http://adequacy.org/public/stories/2001.12.2.42056.2147.html" target="_self">link</a>)</p>
<p><span id="more-117"></span>Ho voglia di dissezionare cretinate, quindi passiamo al commento (ovviamente prendetelo con spirito <img src="https://web.archive.org/web/20100329004734im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> )</p>
<p>Punto 3: Il fatto che vostro figlio voglia una nuova scheda video è un OVVIO sintomo di attività da hacker. Infatti la shell richiede ingenti risorse grafiche. Per non parlare del fatto che AMD toglie le feature di sicurezza da quelle brutte copie che fanno dei processori Intel…</p>
<p>Punto 4: I migliori manuali per hacker in circolazione sono sicuramente i libri di Gibson, che, essendo racconti di genere cyberpunk, sono sicuramente ottimi, se si vuole diventare hacker fra un paio di secoli… Posso anche essere d’accordo sul fatto che il libro di O’Reilly possa essere una buona base per imparare l’hacking <img src="https://web.archive.org/web/20100329004734im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> </p>
<p>Punto 6: Quake è un ottimo terreno per l’addestramento alle armi. Lo usa perfino l’esercito per addestrarsi… Peccato che la maggior parte delle armi di quake non esistano…</p>
<p>Punto 8: Il più pericoloso sistema operativo: LUNIX!!! Creato dal malvagio comunista Linyos Torovoltos XD Direi che non serve altro per farsi due risate su questo punto (io ho riso parecchio). Almeno l’autore ha azzeccato il nome di LILO.</p>
<p>Punto 9: Tutti gli hippy e i raver sono hacker. Qualcosa da ridire?</p>FileXorer2009-01-26T00:00:00+01:002009-01-26T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2009-01-26:/filexorer_project.html<p>La legge dice che non possiamo condividere musica protetta dal diritto d’autore. Ma non mi risulta che dica che non possiamo condividere file dal contenuto apparentemente casuale.</p>
<p>Per questo ho scritto un piccolo programmino in Java che prende un file, ne fa lo xor con una maschera predefinita (vedi …</p><p>La legge dice che non possiamo condividere musica protetta dal diritto d’autore. Ma non mi risulta che dica che non possiamo condividere file dal contenuto apparentemente casuale.</p>
<p>Per questo ho scritto un piccolo programmino in Java che prende un file, ne fa lo xor con una maschera predefinita (vedi il codice sorgente) e salva il risultato su un file. Dopodiché possiamo prendere quel file e condividerlo.Ora, non sono del tutto sicuro che questo metodo aggiri la legge, ma vuole essere soprattutto un modo per prendere coscienza di <a href="https://web.archive.org/web/*/http://punto-informatico.it/2532914/PI/Commenti/futuro-internet-secondo-siae.aspx" target="_blank">alcuni fatti recenti</a> riguardo la normativa sulla pirateria digitale.</p>
<p>Al solito non vi sto invitando a infrangere la legge, ma solo a prendere coscienza delle cose così come stanno, sperando che, un giorno, noi si possa fare qualcosa per contrastarle.</p>
<p><a href="https://web.archive.org/web/*/http://klezlab.altervista.org/wp-content/uploads/2009/01/FileXorer.java">Codice sorgente</a><br/>
<a href="https://web.archive.org/web/*/http://klezlab.altervista.org/wp-content/uploads/2009/01/FileXorer.class">File Class</a></p>
<p>Usarlo è semplicissimo. Basta digitare a terminale “java FileXorer” nella cartella dove si trova il file FileXorer.class e seguire le istruzioni.</p>
<p>Ringrazio marcopete87 per alcune modifiche quali il buffering del file e la chiarificazione del messaggio d’errore riguardo alla mancata presenza del file di input.</p>Nuovo look2009-01-26T00:00:00+01:002009-01-26T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2009-01-26:/nuovo-look.html<p>Ebbene, dopo qualche tempo KlezLab rinnova la veste grafica! Spero vi piaccia <img src="https://web.archive.org/web/20090519043802im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/></p>E buon natale!!!2008-12-24T00:00:00+01:002008-12-24T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2008-12-24:/e-buon-natale.html<p>Mentre scrivo questo post, mancano pochi minuti a natale, quindi colgo l’occasione della fine della mia attività di promoter per il 2008 (ergo, meritato riposo) per augurarvi un buon e smanettoso natale!</p>
<p>Chissà che con l’anno nuovo non mi venga in mente qualcosina di interessante per il blog …</p><p>Mentre scrivo questo post, mancano pochi minuti a natale, quindi colgo l’occasione della fine della mia attività di promoter per il 2008 (ergo, meritato riposo) per augurarvi un buon e smanettoso natale!</p>
<p>Chissà che con l’anno nuovo non mi venga in mente qualcosina di interessante per il blog. Si vedrà.</p>
<p>Nei prossimi giorni un breve (spero) sunto dell’attività da promoter di questi ultimi 6 giorni nel reparto audio, corsia mp3…</p>Underground... come back!2008-09-12T00:00:00+02:002008-09-12T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2008-09-12:/underground-come-back.html<p>Signori e signore, dopo una settimana di duro lavoro, sono lieto di presentarvi una canzone nata dalla collaborazione tra me, Marco Bevilacqua e Dory. Un pezzo nostalgico sull’underground informatico.</p>
<p>Ringrazio, appunto, Marco per la traccia di basso e Dorotea per la voce.</p>
<p>Il brano è disponibile sotto creative commons …</p><p>Signori e signore, dopo una settimana di duro lavoro, sono lieto di presentarvi una canzone nata dalla collaborazione tra me, Marco Bevilacqua e Dory. Un pezzo nostalgico sull’underground informatico.</p>
<p>Ringrazio, appunto, Marco per la traccia di basso e Dorotea per la voce.</p>
<p>Il brano è disponibile sotto creative commons by-nc-sa. Ovviamente, se volete usare il brano in un dj-set o volete remixarlo, contattatemi pure. Ci si può sempre mettere d’accordo <img src="https://web.archive.org/web/20100128085906im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> </p>
<p>Ecco il link alla canzone <a title="Underground... come back!" href="https://web.archive.org/web/*/http://klezlab.altervista.org/musica/Underground...%20come%20back%21.mp3">Underground… come back!</a></p>
<p>E qui sotto i termini della licenza.<br/>
<a rel="license" href="https://web.archive.org/web/*/http://creativecommons.org/licenses/by-nc-sa/3.0/"><br/>
<img style="border-width:0" src="https://web.archive.org/web/20100128085906im_/http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" alt="Creative Commons License"/><br/>
</a></p>
<p><span>Underground… come back!</span> by<br/>
<span>klez</span> is licensed under a<br/>
<a rel="license" href="https://web.archive.org/web/*/http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribuzione-Non commerciale-Condividi allo stesso modo 3.0 Unported License</a>.</p>
<p>BUON ASCOLTO <img src="https://web.archive.org/web/20100128085906im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_wink.gif" alt=";-)" class="wp-smiley"/> </p>Piccolo aggiornamento2008-04-29T00:00:00+02:002008-04-29T00:00:00+02:00Federico klez Cullocatag:klezlab.it,2008-04-29:/piccolo-aggiornamento.html<p>Come potete notare, ho aggiornato Wordpress. Finalmente il tema si vede un po’ meglio. Dovrò abituarmi un po’ al nuovo pannello di controllo, ma sono sicuro che non sarà una cosa lunga <img src="https://web.archive.org/web/20090519043807im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley"/> .</p>
<p>Ho anche eliminato i banner, che non servono a molto.</p>
<p>Beh, che dire? Buona navigazione <img src="https://web.archive.org/web/20090519043807im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_biggrin.gif" alt=":D" class="wp-smiley"/> </p>Vacanze ed esami2008-03-19T00:00:00+01:002008-03-19T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2008-03-19:/vacanze-ed-esami.html<p>Signori, vi annuncio che per un paio di settimane probabilmente non vedrete nuovi post su KlezLab, in quanto tra vacanze pasquali e successivi esami all’università, non credo avrò tempo di scrivere alcunché per il blog.</p>
<p>Intanto auguro buone vacanze a tutti, e in bocca al lupo per chi deve …</p><p>Signori, vi annuncio che per un paio di settimane probabilmente non vedrete nuovi post su KlezLab, in quanto tra vacanze pasquali e successivi esami all’università, non credo avrò tempo di scrivere alcunché per il blog.</p>
<p>Intanto auguro buone vacanze a tutti, e in bocca al lupo per chi deve sostenere esami come me <img src="https://web.archive.org/web/20090519075804im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> </p>Apre il portale di Insomnia2008-03-18T00:00:00+01:002008-03-18T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2008-03-18:/apre-il-portale-di-insomnia.html<p>Insomnia finalmente ritorna! Non c’è più solo il forum, ora c’è anche un portale (seppur in fase di costruzione).</p>
<p>Per ora ci appoggeremo sulla piattaforma Mambo (come ci appoggiamo a PhpBB per il forum <img src="https://web.archive.org/web/20090519043741im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> ) con un template già pronto, ma l’idea per il futuro è costruire un …</p><p>Insomnia finalmente ritorna! Non c’è più solo il forum, ora c’è anche un portale (seppur in fase di costruzione).</p>
<p>Per ora ci appoggeremo sulla piattaforma Mambo (come ci appoggiamo a PhpBB per il forum <img src="https://web.archive.org/web/20090519043741im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> ) con un template già pronto, ma l’idea per il futuro è costruire un nuovo template.</p>
<p>Per chi non l’avesse letto sul forum, cerchiamo collaboratori per la scrittura di articoli riguardanti sicurezza, programmazione, elettronica, sistemi operativi, attivismo/società digitale e qualsiasi altra cosa riguardante l’informatica e in special modo l’underground.</p>
<p>Ah già, vi do anche il link <img src="https://web.archive.org/web/20090519043741im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> <a href="https://web.archive.org/web/*/http://www.autistici.org/insomnia/" target="_blank">http://www.autistici.org/insomnia/</a></p>KlezLab & OpenSuSAnoo al Twittercamp 20082008-03-03T00:00:00+01:002008-03-03T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2008-03-03:/klezlab-opensusanoo-al-twittercamp-2008.html<p>Il 19 Aprile, in quel di Marghera (VE), per la precisone al <a href="https://web.archive.org/web/*/http://www.vegapark.ve.it/vega/acms/vega/">parco tecnologico VEGA</a>, si terrà il <a href="https://web.archive.org/web/20090519075754/http://barcamp.org/twittercamp" target="_blank">Twittercamp 2008</a>. Quest’anno, sia io che<a href="https://web.archive.org/web/20090519075754/http://www.opensusanoo.org/"> Susanoo-sen</a> abbiamo deciso di partecipare, con un intervento dal titolo “Sviluppo web con strumenti open source”. Ovviamente siete tutti invitati <img src="https://web.archive.org/web/20090519075754im_/http://klezlab.altervista.org/wp-includes/images/smilies/icon_smile.gif" alt=":-)" class="wp-smiley"/> </p>Perché Linux?2007-02-08T00:00:00+01:002007-02-08T00:00:00+01:00Federico klez Cullocatag:klezlab.it,2007-02-08:/perche-linux.html<p>La frase che ogni aspirante hacker/smanettone si sente dire appena chiede informazioni: “Installati Linux”<br/>
Domanda: “Perché?”<br/>
Risposta: “Perché è meglio di Windows”</p>
<p>Ok, cerchiamo di essere obbiettivi. Perché un aspirante hacker/smanettone dovrebbe installare Linux?<br/>
La prima volta che ho sentito parlare di Linux avevo 15 anni, nel 2002 …</p><p>La frase che ogni aspirante hacker/smanettone si sente dire appena chiede informazioni: “Installati Linux”<br/>
Domanda: “Perché?”<br/>
Risposta: “Perché è meglio di Windows”</p>
<p>Ok, cerchiamo di essere obbiettivi. Perché un aspirante hacker/smanettone dovrebbe installare Linux?<br/>
La prima volta che ho sentito parlare di Linux avevo 15 anni, nel 2002, poco prima del caso SCO (ne parlerò in un altro post). Allora mi ero avvicinato al mondo dell’informatica underground, per così dire, ovvero hacking, cracking ecc… Insomma, stavo entrando un po’ più in profondità nell’argomento rispetto all’utente medio. Avevo scaricato una piccola guida di <a href="https://web.archive.org/web/*/http://www.kpevillage.org/" target="_blank">Kpe</a> (l’allora ‘leader’ di Insomnia Crew, ora sciolta) chiamata pomposamente Hack Kolossal (in realtà poco più di una guida per principianti, ma che mi ha aiutato molto). Una delle prime cose che l’autore consigliava era l’installazione di Linux. Al che io ho comprato una rivista in edicola che conteneva tre CD. Uno era <a href="https://web.archive.org/web/20100129163647/http://knopper.net/knoppix/index-en.html" target="_blank">Knoppix</a> (per chi non lo sapesse, una distribuzione che non necessita di essere installata) e gli altri due la distribuzione Conectiva (ora fusa con Mandrake sotto il nome di <a href="https://web.archive.org/web/20100129163647/http://www.mandriva.com/" target="_blank">Mandriva</a>). Così ho provato Knoppix e ne sono rimasto affascinato (soprattutto per la grafica). Con l’arrivo in casa di un rack con hard disk estraibili (quindi io e mio padre avevamo due hard disk separati) ho avuto l’occasione di installare Conectiva. In poche ore riuscii a installarlo. Certo, l’installazione non fu perfetta (tipo mancava l’audio) ma fu una vera soddisfazione.</p>
<p>Ecco il primo motivo per installare Linux (con un po’ di preparazione alle spalle magari): la soddisfazione di fare qualcosa di un po’ più complicato del solito click su ‘Continua’ per installare un sistema operativo.</p>
<p>Vi do già da ora una seconda motivazione: l’immenso parco software disponibile già durante l’installazione. Installando Windows vi trovate Media Player (che già <a href="https://web.archive.org/web/*/http://punto-informatico.it/p.aspx?i=47535" target="_blank">non dovrebbe esserci</a>) e poco più. Installando Linux potete dopo l’installazione avere un <a href="https://web.archive.org/web/20100129163647/http://www.apache.org/" target="_blank">server web</a> funzionante, o una workstation per sviluppare software.</p>
<p>Sono passati anni da allora, e di distribuzioni (differenti modi di ‘impacchettare’ Linux) ne ho provate tante: <a href="https://web.archive.org/web/*/http://www.redhat.com/" target="_blank">Red Hat</a>, <a href="https://web.archive.org/web/20100129163647/http://www.debian.org/" target="_blank">Debian</a>, <a href="https://web.archive.org/web/20100129163647/http://fedora.redhat.com/" target="_blank">Fedora</a>, Mandrake, qualche esperimento con <a href="https://web.archive.org/web/20100129163647/http://www.dynebolic.org/">Dyne:bolic</a> e <a href="https://web.archive.org/web/20100129163647/http://www.novell.com/it-it/linux/suse/" target="_blank">SuSE</a>… e ora mi sono stabilizzato su Fedora.</p>
<p>Terza motivazione: l’ampia scelta di alternative. Una distribuzione ti sembra troppo complicata (o troppo semplice)? Provane un’altra. <a href="https://web.archive.org/web/*/http://distrowatch.com/" target="_blank">Distrowatch</a> stima le distribuzioni Linux esistenti sull’ordine delle centinaia.</p>
<p>Quarta motivazione: LINUX È LIBERO! Chiamatemi comunista, chiamatemi idealista, chiamatemi come volete, ma io sono fermamente convinto che l’informazione DEBBA essere libera, e se il software che processa le informazioni non è libero, non possiamo essere sicuri che l’informazione non venga corrotta o nascosta (basta tentare di modificare un file di configurazione in windows… molto difficile dato che sono file binari e non di testo). Inoltre è vergognoso che si debbano pagare esorbitanti costi di licenza per ottenere un software che funziona male, pieno di bug che, anche se critici, non vengono prontamente corretti. In Linux fortunatamente il discorso funziona diversamente: non è necessario pagare licenze d’uso, i bug ci sono lo stesso ma almeno vengono corretti nel giro di ORE a volte… e se uno è volenteroso può anche correggerseli da sé.<br/>
Inoltre i file di configurazione sono file testuali, il che rende più semplice la loro modifica e l’adattamento alle proprie esigenze. Anche i formati in cui vengono salvati i file sono aperti, cosicché non si è vincolati a un solo programma per poter utilizzare un file.</p>
<p>Insomma, non vi sto obbligando a passare a Linux. Sto solo cercando di farvi valutare la situazione.</p>
<p>In un prossimo articolo cercherò di spiegare i pro e i contro di questa scelta.</p>
<p>Per ora saluti,<br/>
t2k</p>