The (brand new) Debian 3D-Printing Team is hiring!

The 3D-printing technology has gained quite a big momentum in recent times. Its use is spreading widely even among hobbyists and many sources report daily several (sometimes weird) examples of its usage. The thing I like most, as a Free Software activist, is that several 3D-printing-related free and open source software are already available and quite good, and some printers are even released as free hardware.

Unfortunately, Debian is quite lagged behind with regard to the availability of such software in our archive, especially compared to other distributions who already ship much of it. Hopefully this situation will change drastically thanks to the brand new Debian 3D-Printing team, whose purpose is to make Debian a rocking platform to do some serious 3D-printing.

The team is bootstrapping right now, and we are looking for volunteers who are willing to help us. Packagers are greatly welcomed, but also triagers, users and passionate people with some experience in the field are extremely valuable.

People willing to join the team can take a look at our (in-progress) wiki page and apply on the team page on Alioth. As with any good packaging team, a mailing list is available to share ideas, feel free to subscribe it, and feel free to join #debian-3dprinting on OFTC if you want to hang out with other team members.

Debian-based SteamOS. Wait… what? Debian? SRSLY?

A few days ago, several sources reported that SteamOS, the long-announced game-oriented OS has been released by Valve. Steam is a gaming platform currently available for Ubuntu, and it has been a major reason of advertising for the Ubuntu community. Actually, SteamOS was expected to be built on top of Ubuntu itself.

Quite surprisingly instead, SteamOS is Debian-based. Yes, you read that well. This is quite impressive, given the amount of testing that has been done on Ubuntu so far, where quite a big number of users has been piled up.

I don’t know the reasons why Valve made this choice. Looking at their FAQ, I can read that “building on top of the Debian core is the best way for Valve to deliver a fully custom SteamOS experience to our customers.” Which is quite odd, given that Ubuntu looked the perfect platform up to just a few days ago. I really would like to know what made Valve change their mind.

Another bizarre thing I noticed is the complete black-out of news on Planet Ubuntu. I can remember the great excitement when Valve announced Steam for Ubuntu. The release of SteamOS has passed silently instead. Maybe someone is quite upset by this choice, or maybe we are no more interested in Steam after this “treason” 1.

In any case, I’d say this is one more blown away opportunity for our community. One more after a long series of other incidents happened in the years. The number of people who quit for not feeling part of the project anymore has reached an impressive value. Several (both technical and non-) decisions has caused puzzlement and conflicts in the community; some of them are unanswered, many of them have been badly-answered. Ubuntu is more and more under the eyes for its privacy concerns 2. This time, we just lost quite a big opportunity to land in millions of houses, and we had wide open doors, a chance we could not have again for some time ahead.

First step in solving any problem is recognizing there is one. Ubuntu has a problem, and we should find a solution. Or at least be more sincere with regard to what this project really aims to.

  1. Just kidding, I am intentionally exaggerated
  2. which are quite exaggerated IMO, but still.

Il Software Libero ed Open Source: istruzioni pratiche per giornalisti poco pratici

[EDIT: Subito dopo la pubblicazione di questo blogpost, l'articolo in questione è stato corretto, rimuovendo la "frase incriminata".]

Grazie a Twitter ho scoperto un articolo della giornalista Marta Serafini apparso ieri su corriere.it. Nonostante l’articolo fosse incentrato su Google e la sua nuova tecnologia Knowledge Graph, l’autrice dell’articolo pensa bene di aggiungere un commento personale alla notizia che il sistema sfrutti un “database open source come Wikipedia” (affermazione che già di suo lascia abbastanza sconcertati chi sa cosa siano l’Open Source e i database). La frase incriminata è la seguente:

Open source, infatti significa gratis. E non sempre questo è sinonimo di qualità.

Non era facile fare tre grossolani errori in due periodi così brevi, ma Serafini c’è riuscita benissimo (e non era il suo primo incidente, visto il modo con cui più e più volte ha confuso il termine “Hacker” con quello di “Cracker” nell’ultimo mese, ma questo è un’altro discorso).

C’è da dire che Marta Serafini non è la prima nè l’unica giornalista che scrive delle affermazioni imprecise o totalmente sbagliate quando si parla di Software Libero e/o di Open Source, la lista sarebbe assai lunga. A giovamento di queste persone, voglio riportare qui di seguito alcuni concetti essenziali che è utile avere sotto mano quando si parla di queste cose. Ci sarebbe molto altro da aggiungere, e bisognerebbe argomentare maglio, ma già tenere a mente i punti che seguono è un deciso passo avanti.

  • Software Libero e Software Open Source sono due cose un po’ diverse, ma per semplicità diciamo che sono sinonimi, e per praticità chiamiamoli “Open Source” di qui in poi.
  • I programmi Open Source NON sono gratis. Spesso lo sono, ma la gratuità non è una caratteristica fondamentale.
  • Ci sono aziende che guadagnano barcate di soldi col software Open Source. Red Hat, un’azienda americana, ha fatturato 1 miliardo di dollari l’anno scorso grazie all’Open Source (ed è solo una tra le tante).
  • Il senso profondo dell’Open Source è che il codice del programma (quello che viene scritto dal programmatore) debba essere liberamente accessibile, per una serie di ragioni tremendamente importanti e che sono troppo lunghe da riportare qui (ne riparliamo al corso avanzato).
  • Il Software Open Source NON è gratis. E’ libero. Sono due cose diverse.
  • La libera accessibilità del codice scatena una serie di meccanismi che rendono il Software Open Source qualitativamente migliore rispetto al software proprietario.
  • Il Software Open Source è spesso di qualità così eccellente che Google ha scelto il Software Open Source chiamato “Linux” come base per il sistema operativo Android, e quello chiamato “Python” per molti dei suoi siti web.
  • Il Software Open Source (Linux, in particolare) fa girare il 93,8% dei supercomputer più potenti del mondo. Tanto per parlare di progetti che alla qualità ci tengono, un pochino.
  • Il Software Open Source funziona talmente tanto bene che perfino Microsoft (che lavora solo nell’ambito del software proprietario) usa Linux per i server del proprio motore di ricerca.
  • Ad essere Open Source è il software, non i database, o la musica, o i libri, o altri tipi di dati. Quelli lì si chiamano Open Content o Open Data, a seconda dei casi. Si somigliano, si vogliono bene, ma non sono la stessa cosa.
  • Il Software Libero ed il Software Open Source NON sono gratis. Giusto nel caso non si fosse capito.

Quindi, cara Marta Serafini, capisci perchè se dici che: 1) i contenuti di Wikipedia sono Open Source; 2) L’Open Source è gratis; 3) L’Open Source è di scarsa qualità; stai dicendo tre colossali stupidaggini? Quando un giornalista che scrive per un giornale importante firma un articolo impreciso e sbagliato, sta sfuggendo alla funzione fondamentale del giornalista, che è quello di informare e permettere alla gente di avere una mentalità critica su quello che succede. Quell’articolo, e i tanti altri che molti tuoi colleghi hanno scritto in passato anche su altre testate, è ingiustamente diffamatorio e non aiuta a fare chiarezza. Eppure le cose che ho riportate più su sono scritte su migliaia di altri siti web, sarebbe bastata una veloce ricerca su Google per scrivere in maniera più consapevole.

 

 

Salvatore’s Open Source Cure for brain cancer

Salvatore Iaconesi is an italian guy who lives in Roma and had a couple of illnesses in a few days. Doctors found the cause in a cancer that is growing within his brain. When Salvatore got his medical records from the hospital, he noticed that the data (CT scan imagery among them) was delivered in a closed, proprietary format, preventing him to do whatever he wants with his own data.

After noticing all this, Salvatore decided to crack the data and publish everything on a website. You can find his whole records there, without any censorship or limitation. Salvatore thinks that this will help sharing the data with the (probably many) doctors he will need to consult to fight the cancer. And he thinks too that somebody can help him finding an “Open Source Cure” for his cancer:

“Grab the information about my disease, if you want, and give me a CURE: create a video, an artwork, a map, a text, a poem, a game, or try to find a solution for my health problem. Artists, designers, hackers, scientists, doctors, photographers, videomakers, musicians, writers. Anyone can give me a CURE. Create your CURE using the content which you find in the DATA section here on this site, and send it to info@artisopensource.net

There are several points of interest in the whole story. First of all, I find both incredible and repugnant that personal data like CT scans are delivered in a proprietary format. AFAIK, Italy has laws stating that Public Administration must use open, standardized formats. It would be worth investigating how many agencies regularly use closed formats (my guess: a lot of them).

Further, I believe this is the first time such an effort is deployed in this way. I am so pleased when FLOSS (in the most extensive reading of the word “Software”) can help people and spread awareness about important topics. Not to say about what incredible virtuous cycles can be started: it’s just 1 day this website has been launched, and lot of sources are already speaking about it.

Also, I like the extensive definition of the word “Cure” that Salvatore is promoting. Cancer is a disease with a severe impact on the psychological side of a person, and curing of it is not just chemotherapy and ionizing radiations: it’s also improving the quality of life day by day. I hope that Salvatore will get many cures on his website, and I hope those cures might help other person as well. Again, it’s amazing how the FLOSS “philosophy” can apply to so many different fields of the life.

Finally, I really look up to Salvatore for his great idea. This is a tremendous show of mettle and clear head. I wish him all the best for the future, and hope that website will soon become just the memory of a bad period.

Talks at ConfSL

Last weekend I went to Ancona to attend the sixth edition of ConfSL, one of the most important Italian conferences about Free Software. It has been a great opportunity to meet old friends, get acquainted with new ones, and share some thoughts about FLOSS.  I also delivered two talks during the meeting, getting quite a good response from the audience.

ConfSL, Main Room

The main room of the Engineering Department in Ancona, who hosted the ConfSL, in a great picture by Marco Alici.

The first talk I presented was about a project started by the LUG I am member of, in the city of Fermo in Italy. It was about creating a computer room in a school in the city, salvaging some quite old hardware and powering it with 100% Free Software. The idea was started by the brave Cristian Minnucci, a good friend of mine and a teacher in the school itself, who submitted to the LUG the proposal to give technical assistance to the school in setting up the room. It needed several weeks of work, but we reached our goal and are pretty satisfied of the results. I presented the project, gathering a great interest from the audience. Slides are available online (italian only).

Talk delivery

(Photo courtesy of Marco Alici)

The second talk was about Ubuntu/Debian Development. I delivered the talk together with Iustin Pop, a nice Googler and Debian Developer who reached the party from Zurich. I really liked the idea to have an Ubuntu Developer and a Debian Developer together teaching how to get started with development, so I accepted with great pleasure the invitation from the organizers of ConfSL. I started the session with a general introduction to what Ubuntu is, how it is done, what a new contributor can do in the project, how to get involved. Then, Iustin packaged from scratch the popular GNU Hello application to give a taste of how a Debian package is done pragmatically. I was quite happy to see that several students followed this session, all of them showing great interest in the topic: I hope I’ll see them around soon. Slides of my talk are available too (in english, this time).

Debian packaging

Iustin Pop showing how to build a Debian package (Courtesy of… try guess? Marco Alici!)

 

Ubuntu-it Meeting Report

Saturday, June 2nd we held the bi-annual meeting of the community of Ubuntu Italy in the gorgeous city of Bologna. These meetings are a great opportunity to gather all the ubuntueros scattered around Italy and share some great time all together. We spent all day speaking about our community, plans for the future, ways to attract more contributors and let ubuntu-it grow even more. But there are many things behind the scene that usually don’t appear in the official chronicle…

Ubuntu-it Meeting group photo #1
Ubuntu-it in all its glory. (Courtesy of Dario Cavedon)

The venue and the earthquake.

Bologna is very close to the area that has been hit, a few days before the meeting, by two big earthquakes, killing 26 people. Fortunately, Bologna just got very limited damage, and we enjoyed the beauties of the city center under a shiny (and quite hot) sun.

Bologna City Hall
The City Hall of Bologna, in Piazza Maggiore. (Courtesy of Jeremie Tamburini)

The Meeting on air!

For the first time ever, a real-time audio/video streaming on the Internet has been available, giving the farthest users the possibility to follow the meeting comfortably sat at their own home. All of this was made possible by the extraordinary work of Marco Buono, who proved (again) to be a valuable asset of Ubuntu-it. Marco brought three webcams and found a way to deliver the stream by the only mean of Free Software. I really appreciated the effort. Of course, in the best tradition of the greatest meetings around the world, we faced some technical difficulties at first, but they managed to fix everything and we even can provide the full set of videos of the meeting (italian only).

Marco Buono vs The Streaming

Marco Buono (in the center) charging up the buddies during a coffee break (Courtesy of Dario Cavedon.)

 The Ubuntu-it official t-shirts.

The second great news of this meeting was the t-shirt we were all equipped with. And again, this was an idea of the hero Marco Buono, who cared of buying and printing the t-shirts for all of them. And the greatest thing is they are customized too! We paraded it in the evening across the city center, back from the dinner. Don’t know if the people thought of us as the players of a weird soccer team, or just a gang of crazy. I’d bet on the second option, though.

Ubuntu-it Meeting Photo Group #2
The Ubuntu-it gang in a photo group again, showing its b-side. The best one, actually. (Courtesy of Dario Cavedon)

 Talks, talks, and more talks.

Lots of sessions were hosted during this meeting. From Davide Miceli presenting its graduation thesis about online communities to Paolo Sammicheli reporting its impression from the latest UDS, from Jeremie Tamburini who announced plans regarding the Italian Documentation Team to Dario Cavedon who held a great talk about communication (and who personally defied me to blog more1), we had some very intense time all day long.

Ubuntu pride

Michele Mordenti waving a DIY Ubuntu flag while Fabio Colinelli (in the foreground) thinks about new features for MyUnity 4. In the rear, Dario Cavedon is tweeting (how strange!). (Courtesy of Marco Buono)

Crazy friends…

The guys from this community are simply amazing. And crazy too, especially when they are enjoying great times around a table with other fellow ubunteros.

Dario Cavedon
Dario Cavedon in one of his best disguise. He is tweeting even now. (Courtesy of Jeremie Tamburini)

…and great food.

One says “Italy”, and everybody think about great food. Ubuntu-it loves this stereotype, and has a longstanding tradition in the matter. I have never seen an Ubuntu-it event where great feeds were not a central part of it. This meeting was no exception to the rule.

Great Food at the Ubuntu-it table
And that was just the end of the lunch! (Courtesy of Jeremie Tamburini)
  1. Challenge accepted: this blogpost is just the first direct consequence.

NVIDIA Optimus on Dell XPS 15z: performance and battery consumption comparison

I recently bought a Dell XPS 15z notebook, with a Sandy Bridge i5, 1366×768 displayOptimus technology, a mechanism to switch from integrated Intel graphic to discrete GPU to deploy full horse-power when needed, and save precious battery life when 3D is not required. Unfortunately, Optimus is not (yet?) supported by Linux. Anyway, a project called bumblebee promises to achieve similar results. Although switching is not (yet?) automatic, looks like bumblebee keep the word: I deeply tested my notebook with each available driver, and bumblebee + nvidia proprietary2 driver is the best solution so far, definitely.

Test methodology

Tests have been run on a fresh oneiric install, updated to august 23rd. I wasn’t able to use jockey to install drivers due to crashes of the software a few seconds after launch, so I managed drivers installation manually.

Test was aimed to evaluate battery consumption and performance. I used “grep rate /proc/acpi/battery/BAT0/state” to check battery consumption immediately after boot; I run glxgears in fullscreen3; further, I run nexuiz for a more realistic test, in full screen, maximum resolution and full effects. FPS value has been averaged after a 20 secs run of glxgears and a few minutes of playing first nexuiz level4

Test #1: Intel driver (with nouveau blacklisted)

lsmod reports only intel drivers loaded
Battery rate: 1800mW
glxgears: 282 FPS
Nexuiz: average 20 FPS, ranging from a minimum of 13 FPS to a peak of 27

Nothing to comment here.

Test #2: Intel driver (without nouveau blacklisting)

lsmod reports “nouveau” and intel drivers loaded
Battery rate: 2100 mW
glxgears: 283 FPS
Nexuiz: 19 FPS, ranging from a minimum of 12 FPS to a peak of 29

Performance was identical to Intel driver without nouveau loaded, altough battery rate was higher. I suppose nvidia video card is activated, but it doesn’t help at all with 3D rendering. Looks like this solution has only downsides compared to the previous one.

Enabling nouveau should have added /sys/kernel/debug/vgaswitcheroo/, witch allows to manually enable or disable the nvidia GPU. At least, this is what happens on Natty. Instead, this doesn’t work on Oneiric. If someone has a reason for this, please feel free to comment.

Test #3: NVIDIA proprietary driver

lsmod reports “nvidia” and intel drivers loaded
Battery rate: 2100 mW
glxgears: N/A
Nexuiz: N/A

I purged xserver-xorg-video-nouveau and installed nvidia-current due to the jockey crashes, and it was an epic fail. 3D was not available at all (glxgears reported “extension ‘GLX’ missing”) and Nexuiz didn’t started as well. I tried to reconfigure graphic with nvidia-xconfig, but it caused X not to start at all (I had to delete the autogenerated /etc/X11/xorg.conf file to fix it). I never had a NVIDIA card and my experience with NVIDIA-related stuff is zero, so maybe I made something wrong or should tweak something else. Suggestions are welcome.

Test #4: Bumblebee with NVIDIA proprietary drivers

lsmod reports intel drivers only loaded (unless optirun is executed)
Battery rate: 1600mW
glxgears: 284 FPS
optirun glxgears: 79 FPS
nexuiz: 21 FPS, ranging from a minimum of 9 FPS to a peak of 29 FPS
optirun nexuiz: 43 FPS, ranging from minimum of 33 FPS to a peak of 57 FPS.

I purged nvidia-current and installed bumblebee from PPA. Actually, bumblebee reinstalled nvidia-current but it worked quite well right now. During installations, bumblebee needs a configuration suitable for your machine. Several configurations are already available for many systems (bumblebee will download and suggests you good ones for your box). I choosed what was listed as “Profile 7: Dell System XPS 15z: Age (working)”, then choosed “XV (Default)” as Image transport. Further, I had to blacklist nouveau to avoid weird issues like lightdm freezes and optirun not properly working.

optirun is your friend here. You launch it passing as argument the program you want your nvidia card to be enabled for, and it loads nvidia driver, enables your card, then launches your software. Once done, it disables the card and rmmod’s nvidia, leaving every graphic duty to Intel integrated CPU. Results are quite different now: altough optirun glxgears reported a great performance loss 5, the NVIDIA GPU made quite the difference playing nexuiz. Interestingly, battery rate is a bit lower than with Intel drivers only . It could be an artifact, or maybe this poll was particularly lucky.

 

 

  1. FullHD display has been made available a few weeks after I bought my notebook, dammit!
  2. I know, proprietary stuff stinks and I don’t like it so much, but open source solutions don’t work, at least currently
  3. I exported vblank_mode=0 to get a vsync-independent value
  4. I noticed a lengthening of playing time during test. I suppose nexuiz is quite addictive :)
  5. I’m not sure why this happens, but I suppose this is a kind of artifact or such. Explanations are welcome

Una (gnome-)shell al giorno toglie Unity di torno

Ok, Natty non porterà gnome-shell sui vostri computer, a meno che non lo chiediate espressamente ad apt-get. Tuttavia, l’affezionatissimo vostro, fresco di Unity sul suo EEE da hacking battagliero on the road con Nattymio-nuovo-tesoro-non-ancora-ammmore, quindi, se permettete, io ne abuso alla grande.

Tuttavia, colto da improvvisa e inspiegabile bontà, eccomi a voi con questa guida quick-and-dirty per ottenere un’ashella sulla vostra installazione di Maverick, così che anche voi possiate godere di un po’ di pornografia3 gratuita sul vostro computer.

Ingredienti per 4 persone:

  • tre chili di computer;
  • due etti di scheda grafica Ati (avete una nvidia tagliata fina fina o qualche intel presa al discount sotto casa? Provate, ma non garantisco);
  • un terminale ben stagionato;
  • un cucchiaio di documentazione di alta qualità;
  • una birra (la Rochefort 8 si abbina molto bene all’aroma fruttato di jhbuild);
  • Ubuntu 10.04 q.b.

Per cominciare, prendete un bicchiere a calice di foggia adeguata e versate la birra producendo adeguata schiuma. Godetevi i profumi emanati dalla vostra Rochefort e mettete da parte il tutto, vi servirà tra poco.

Subito dopo, prendete il vostro terminale stagionato e lanciate il comando indicato nel primo dei due Sacri Testi per togliere di mezzo un po’ di file .la. Potrebbe darsi che vi stiate chiedendo a cosa diavolo servano questi file e perchè dobbiate toglierli. Orbene, potrei dirvelo, ma poi dovrei uccidervi. Quindi fidatevi e spazzate via tutta quella roba. A vostro piacere, applicate anche l’orribile (ma comodo) comando aggiuntivo per evitare che i file in questioni sbuchino di nuovo fuori da ogni dove appena apt-get rimetterà le sue manacce sul vostro sistema.

Fatto? Brrrene! A questo punto possiamo fare sul serio. Aprite il secondo Sacro Testo e tenetelo sempre a disposizione per un rapido sguardo. La cosa interessante della compilazione dell’ashella è che può essere utilizzata direttamente dalla home, senza sporcare in giro. Quindi, prendete di nuovo il vostro terminale4 e create una cartella apposita nella vostra home (ad esempio, ~/gnome-shell). Ora tirate giù l’apposito script:

curl -O http://git.gnome.org/browse/gnome-shell/plain/tools/build/gnome-shell-build-setup.sh

e subito dopo lancietelo:

/bin/bash gnome-shell-build-setup.sh

Lo script controllerà che abbiate le dipendenze giuste, creerà un paio di cartelle che vi servono (segnatamente, ~/bin ~/Source) e tirerà giù un jhbuild precotto che userete d’ora in poi. A questo punto potete sorseggiare un piccolo assaggio della vostra birra che nel frattempo avrà avuto modo di respirare e di perdere quel po’ di schiuma in eccesso.

Prima di infornare serve un piccolo ritocchino. Applicate la pezza al file giusto nella cartella ~/gnome-shell/source/libcanberra-0.26/src/, dopodichè spostatevi dentro ~/bin e infornate a 180° per circa un’ora5 con:

./jhbuild build

A questo punto, mentre il vostro computer sarà impegnato a compilare ben 33 diversi moduli, voi siete autorizzati a mettere le gambe sul tavolo, sbragarvi mollemente sulla poltrona e gustare la vostra Rochefort mentre ammirate le scrittine incomprensibili che scorrono sul vostro buon terminale stagionato.

Gli intenditori raccomandano la degustazione di gnome-shell appena sfornata, ancora calda, per poter godere di tutta la sua fragranza. Affilate il coltello e tagliate una fettina sottile sottile con:

./jhbuild run gnome-shell --replace

Purtroppo, non sempre le ricette vengano propio bene, specie quando uno le prova la prima volta. Infatti, potrebbe capitare che la vostra gnome-shell si sbricioli miseramente invece di sorprendervi col suo sapore. Talvolta la colpa è dei driver della scheda grafica, spiacevole evenienza accaduta anche all’affezionatissimo vostro. In tal caso, è sufficiente andare al supermercato Launchpad più vicino e comprare un po’ di driver Gallium appena munti: li trovate sullo scaffale dei cibi pronti, tra le olive all’ascolana e la parmigiana di melanzane. Alcuni dicono che aggiungere i driver Gallium alla ricetta potrebbe danneggiare il vostro forno: in tal caso, rivolgetevi alle cure del ppa-purge che trovate in allegato.

Et voilà: cotto, e mangiato! (cit.)

Note:

  1. reinstallata da capo più e più volte per colpa dell’hacking battagliero on the road…
  2. d’ora in poi, per brevità, “l’ashella”
  3. ogni riferimento a blogger (o presunti tali…) realmente esistenti è puramente casuale
  4. mi raccomando, la stagionatura è importante
  5. il tempo di cottura potrebbe variare sensibilmente