Blogs

Migrating to Drupal 7

Yesterday I realised that this blog is close to 9 years old. I think its first version was based on Drupal 4.x and I remember I kept it installed in my own Linux server at my shared flat room under a 'homelinux.org' subdomain.

After attending Barcelona Drupal Devdays, where many of the talks debated about the upcoming features of Drupal 8, I thought it was time to upgrade my rusty Drupal 6 website to current stable version, Drupal 7. Since soon or later I must upgrade a couple of other Drupal 6 websites, I considered it was worth trying it first in my own personal weblog.

Below I detail some of the problems and difficulties I encountered during the update process. I imagine most of the stuff is related to the fact I've been upgrading for such a long time and because of using certain extensions. Anyway, I hope this can be helpful to other people.

El despropòsit de les escales mecàniques de l'estació del Clot - Aragó

Ahir llegint el butlletí de maig de l'Associació de Veïns i Veïnes del Clot-Camp de l'Arpa vaig topar-me amb una carta d'un soci que es lamentava de la situació de les escales mecàniques de l'estació del Clot - Aragó (ubicades entre l'Avinguda Meridiana i el Carrer Aragó).

Getting started with the offline-aware web

Last Thursday, during March edition of monthly Barcelona Web professionals meeting (webcatbcn), I presented my recent experiences with offline-aware web technologies such as localStorage and appcache, which I just learnt by improving Softcatalà mobile translator.

Catalanitzador per al Mozilla Firefox

Segons dades d'ús, actualment la penetració del Firefox en català a l'estat espanyol respecte a la versió en altres idiomes és al voltant d'un 4,5% [1]. Amb les estimacions més conservadores, crec que hauríem d'esperar un valor mínim de vora del 7,5%, assumint que la meitat de la població només a la comunitat autònoma de Catalunya pot tenir el català com a llengua d'ús primari.

Les xarxes socials distribuïdes (I): StatusNet / identi.ca

De ja fa uns quants anys, les xarxes socials forman part de la vida diària a Internet de la majoria de catalanoparlants. De ben segur que la majoria de gent ja coneix tant el Facebook com el Twitter. En aquest article aprofitarem per fer conèixer aquelles altres xarxes socials que tenen com a element comú el propòsit de facilitar l'existència d'una xarxa distribuïda tot basant-se alhora en programari lliure.

Formació d'aliances a l'àmbit català en el marc del coneixement i programari lliure

Durant les jornades «Building Digital Commons», que van tenir lloc la setmana passada a Barcelona, va dedicar-se una de les sessions a la possibilitat d'establir aliances entre diferents organitzacions de l'àmbit del programari i coneixement lliure.

La qüestió ve de lluny i a continuació detallo algunes de les experiències que tinc constància que hi ha hagut en el passat per a portar a terme accions conjuntes.

Ajudeu-nos a actualitzar les fitxes del Rebost

El Rebost de Softcatalà és un espai on qualsevol usuari té la garantia que trobarà programari en català per al seu ordinador.

Des de ja fa força temps, vaig poder automatitzar l'actualització de les versions de diferents aplicacions de Mozilla, permetent així que la darrera versió estable de programes com el Firefox apareguessin enllaçades a la respectiva fitxa del Rebost poc després que en el mateix lloc oficial.

Modifying MediaWiki user preferences at once

Since long time ago, it's possible to change default user preferences in MediaWiki by simply adding a line of code in LocalSettings.php. Example:
$wgDefaultUserOptions['editsection'] = 0;
However, if the wiki is not new, there could be already several users who will have inherited previous default preferences before any change is performed in LocalSettings.php.
In order to solve this, in recent MediaWiki versions there is a maintenance script for changing a user preference value for all users in the wiki.
Nonetheless, in my case, I did not want to change the preference value for all users, but only for those ones belonging to a certain group. Of course, more complex filtering criteria could be devised…
For anyone who might need it, the code (in Perl) I used below:

Towards participatory l10n through events

A few weeks ago, Softcatalà (a non-profit organization devoted to bringing Internet and new technologies to Catalan speaking community in their own language) held its first open localisation session at Sagrada Família Civic Center. Our main aim was to offer to attendees the opportunity to know more closely the tools and criteria in our localisation processes and, ideally, also engage more volunteers to join our ongoing projects and share our values with them.

Connexions sense fil disponibles des de la consola amb l'Ubuntu

L'altra dia explicava que m'havia instal·lat el GNOME 3 al nou Ubuntu. Malauradament, pocs dies després, en una actualització menor me n'adono que aquest se m'elimina i, pitjor encara, em quedo sense cap sistema d'escriptori1. La solució era doncs recuperar el paquet gnome-shell però, ai las!, des de la consola (Ctrl+Alt+F1) sembla que no tenia connexió sense fils i em va tocar estirar el cable que tenia desat al calaix. Arran d'això, us explico el següent.

qTraductor — el traductor de Softcatalà des de l'N900

El servei de traducció de Softcatalà, de fet basat en la tecnologia oberta de l'Apertium, és una de les pàgines més populars del lloc web de Softcatalà. De fa temps hi ha un creixent interès en anar portant tota aquesta funcionalitat a altres entorns, com poden ser les aplicacions mòbils i, per aquest motiu, s'ha creat fa uns pocs dies una llista de desenvolupament per a tal propòsit.

Centrant-me en el títol de l'apunt, de fa ja uns mesos faig servir com a dispositiu mòbil un Nokia N900. L'aparell té com a sistema operatiu Maemo, un entorn molt similar al Debian GNU/Linux, però dissenyat específicament per a dispositius mòbils.

En les darreres actualitzacions del sistema s'ha anat apostant progressivament per les biblioteques Qt —fet lògic considerant que Nokia va comprar Trolltech, l'empresa darrere de les Qt— i, per tant, cada vegada són més les aplicacions Qt que s'hi troben.

Precisament fa uns dies vaig descobrir el qTranslate, un client QT del Google Traductor. Vaig pensar que seria interessant poder tenir quelcom similar per al traductor de Softcatalà i, mans a la feina, en uns pocs dies ja tenim una primera versió. Respecte a l'aplicació pare, he afegit particularitats pròpies del servei, com ara marcar paraules desconegudes o controlar la correspondència entre parells de llengües disponibles (menys al servei de Softcatalà que al de Google).

Si voleu provar el qTranslate, podeu trobar-lo al Rebost de Softcatalà (que progressivament ara també anirà incorporant mòbil) o a diferents repositoris del Maemo. Si en teniu l'oportunitat, no dubteu a valorar l'aplicació i fer-ne comentaris.

Unes poques captures de l'aplicació a continuació:

qTraductor - Maemo 5qTraductor - Maemo 5qTraductor - Maemo 5

Move Commons

Move Commons Softcatalà

As Barcelona Laptop Orchestra, another nice initiative present in Angels Hacking space during Drumbeat Festival was Move Commons.

Following the graphical model of Creative Commons logos, it pretends to categorise the principles behind organisations in order to provide a simplified description of them, make them visible to other organisations of similar approaches and also attract contributors who could be interested in their activities. With Move Commons, they can currently state whether they are:

  • for profit or non-profit
  • transparent or closed
  • contributors to the Commons
  • horizontal or hierarchical structured
  • etc. (more details here).

As with Creative Commons, after filling the appropriate fields asking for the characteristics of the organisation, they can paste in their pages a FOAF-like code, which could potentially be used for performing searches over the Net in the future.

The only drawback I can imagine is that organisations, or individuals in their organisations, might not be always sincere (or even aware) about their actual values. So, I think the challenge is that the details of organisations we could find in the Internet thanks to this system can be faithful enough about them, that is, not susceptible to purposeful or unintentional misleads —a fact that can entail frustration for arriving contributors—.

This is far more difficult than choosing one of the different CC licenses for a work, and IMHO, several actors should take part somehow in the dynamic outcome.

Barcelona Laptop Orchestra session during Drumbeat Festival 2010

Last week I enjoyed the chance to discover a laptop orchestra for my first time during Drumbeat Festival 2010, which took place in the centric Plaça dels Àngels of Barcelona.

The orchestra, named Barcelona Laptop Orchestra and mostly composed of members from ESMUC (Catalonia Higher School of Music), was arranged thanks to several laptops network-linked to each other and all of them set to output to a pair of loudspeakers at the same time.

Sounds actually flowed along the network and were differentially modulated in each computer thanks to a complex in-house sampler software designed so a live network-based symphony could become a reality.

You can see some images and videos below:

The software behind the orchestra laptops

Control panel software of BCN Laptop Orchestra

Latops are network linked

20101105_029.jpg

Some live laptop music




More information…

Pàgines

Subscribe to RSS - blogs