Master on Libre Software Planet

May 14, 2012

José Dapena

IwkMail, mixing WebKit Gtk+, Camel and JQuery Mobile

In the last few weeks, as part of my work here at Igalia, I’ve been playing a bit with the concept of hybrid applications. In this case, I’ve created a basic prototype of a mail application, with its user interface completely written using JQuery Mobile, and with backend code in C and GObject. The result is iwkmail.

Screencast of iwkmail in action

Though it’s a simple experiment, I’ve added some mail basic functionality, so I could try to catch as much as possible of real requirements for how  we could improve the developers WebKit+GNOME experience creating hybrid applications.

My first conclusion is that it’s surprisingly easy and fast to develop such applications. Second, I could reuse tons of source code and modules from my old projects. This approach surely provides a way to create cool GNOME applications, using the most fashionable web client technologies.

So, you’ll get:

  • Browsing messages
  • Read/unread flags
  • Deleting messages
  • Creating and deleting mail accounts.
  • Storage protocols supported: IMAP and POP.
  • For sending mails, we support SMTP. There’s support for an outbox holding the messages to be sent.
  • A plain text composer, allowing to add attachments.

The UI is completely written in Javascript + HTML, using JQuery Mobile.

The backend side is done using Camel library inside Evolution Data Server, so we rely on a library well tested for more than 10 years.  All the code related to this is implemented in C+GObject, and I reused a good set of code from Modest, the default mail client for Nokia N810 and N900. I’ve got involved on its development for 3 years, so that’s a bunch of code I know well enough.

For communication, I use the AJAX-like JSONP protocol, and custom SoupRequest URI scheme handlers. Basically I expose some methods as iwk:addAcccount, iwk:getMessage, etc, and arguments are passed as usual in a web request. The result I obtain from this calls is a JSON object with the results of the call. Simple, and works very well.

I’ve pushed the work on github: https://github.com/jdapena/iwkmail. Feel free to try it!

Oh, I guess it’s very obvious that I did not spend too much time thinking on the project name… So, anyone proposing something that matches the IM acronym (I don’t want to rewrite the class names!) would deserve a beer.

Last, lots of thanks to Igalia for giving me the opportunity to do this experiment. As usual, fun stuff to work with.

by jdapena at May 14, 2012 03:28 PM

May 09, 2012

Master Software Libre

Abierta la inscripción al Módulo de Desarrollo en entornos web 2012

Como cada año, para aquellos que por motivos diversos no pueden cursar el Máster en Desarrollo y Gestión de Proyectos de Software Libre al completo, Igalia ofrece la posibilidad de inscribirse a uno o varios de sus bloques temáticos por separado.

Cada uno de estos bloques temáticos se implementa a través de un módulo formativo independiente de 80 horas de duración que se imparte en las mismas condiciones, instalaciones y horario que las sesiones del máster.

Ya está abierta la inscripción, hasta el 31 de Mayo, para el Módulo de Desarrollo para entornos web que dará comienzo el día 8 de Junio y finalizará el día 4 de Agosto. Los alumnos que se inscriban en los módulos, acompañarán a los alumnos del máster en las sesiones y prácticas los viernes de 16.00 a 21.00 y sábados de 9.00 a 14.00 en el edificio para la Obra Social de Novacaixagalicia, en la calle Policarpo Sanz número 24-26 de Vigo. No habrá clase del módulo de web el fin de semana del 27-28 de Julio al coincidir con la Guadec 2012 que se celebrará en A Coruña.

El módulo Web 2012 persigue los siguientes objetivos:

  • Desarrollar aplicaciones web con software libre utilizando herramientas libres de desarrollo.
  • Conocer y utilizar conceptos básicos de la integración de aplicaciones utilizando de modo práctico tanto entornos LAMP como Java.
  • Arquitectura de aplicaciones en la plataforma Java.
  • Conocer y utilizar los frameworks de persistencia a través del conocimiento de uno concreto (Hibernate).
  • Conocer y utilizar los frameworks de desarrollo de interfaces web en Java a través del conocimiento de ZKoss
  • Desarrollar proyectos web aplicando conceptos importantes en el desarrollo de software: documentación, accesibilidad, internacionalización, empaquetado, testing e integración contínua.
  • Charlas complementarias de empresas relevantes del sector (Telefónica, Trabe soluciones).
  • Sesiones prácticas en las que se aplicarán los conceptos explicados en las clases teóricas utilizando las herramientas y metodologías de trabajo que existen en las empresas de comunidades de software libre.

Más información: temario y calendariover precioinscripción.

 

by xcastanho at May 09, 2012 10:10 AM

April 28, 2012

Andrés Maneiro

Valve handbook on failure

«Screwing up is a great way to find out that your assumptions were wrong or that your model of the world was a little bit off. As long as you update your model and move forward with a better picture, you’re doing it right. [...] There are still some bad ways to fail. Repeating the same mistake over and over is one. Not listening to customers or peers before or after a failure is another. Never ignore the evidence; particularly when it says you’re wrong.»

Valve Handbook for new employess. A tour through Valve, a world-class video-game and distribution company with a flat structure.

by Andrés at April 28, 2012 09:00 AM

April 18, 2012

Andrés Maneiro

Software never lies

«When you run a business, if your software has a bug, your customers don’t care if it is your fault or Linus’ or some random Rails developer’s. They care that your software is bugged. Everyone’s software becomes my software because all of their bugs are my bugs. When something goes wrong, you need to seek out what is broken, and you need to fix it.»

Why you should read the source if your shop sells custom apps on top of a framework. HN original post. Related: The costs of going it alone & Working with upstream: an interview with Lazslo Peter.

by Andrés at April 18, 2012 08:14 PM

April 16, 2012

Nacho Varela

Drivers en PDO de PHP

¿Cómo saber que driver tengo disponibles para acceder a bases de datos con PHP::PDO?
Ejecuta esto en un terminal:

echo "PDO avalable drivers: \n";
foreach(PDO::getAvailableDrivers() as $driver) {
echo '* '.$driver."\n";
}

Y obtendo como salida el siguiente resultado:

PDO avalable drivers:
* mysql
* pgsql
* sqlite
* sqlite2

UPDATE:

Más facil todavia php -m | grep pdo

by Nacho Uve (noreply@blogger.com) at April 16, 2012 11:10 AM

April 15, 2012

Israel Herraiz

The impact of bias in bug-fix datasets for defects prediction

Last week I gave a talk at UC Davis about the research work I will be doing during these months. It contains some preliminary results about the impact of bias in bug-fix datasets.

In projects with bug tracking systems and version control repositories, when a commit corresponds to a bug fix, it is usually marked accordingly (for instance, with a message like "Fixes bug #123"). This information can be used to recover the relation between commits and bugs, which is useful for defects prediction. The preliminary results I have obtained so far, show that the impact of bias is negligible for defects prediction if the model is based on a binary classifier (that is, only predicts whether an entity will contain or not defects, not how many defects it will contain). However, it is true that a non-biased dataset can provide a better accuracy, but just because, by definition, non-biased datasets contain more data. If we reduce the size of a non-biased dataset, by extracting a random sub-sample, it is as good as a biased dataset of the same size. Well, at least for the two cases I have studied so far.

More details in the slides. You can also see the slides at Slideshare.net, and get a PDF copy.

April 15, 2012 07:00 AM

April 14, 2012

Andrés Maneiro

Open data en España

Me levanto temprano y, aprovechando que se templa el té negro, repaso el estado del OpenData en España. Chequeo el wiki de Pro Bono Público y la web de la Fundación CTIC.

¿El resultado? El gobierno español y 10 de las 17 comunidades autónomas declaran tener algún tipo de iniciativa. También dos grandes ciudades (Barcelona y Zaragoza) y cuatro medianas (Badalona, Lérida, Gijón, Córdoba). Parece tiempo de recordar a Sterling y su visión sobre la ciudad como unidad política básica. Parece tiempo del impulso de las ciudades medianas.

by Andrés at April 14, 2012 10:58 AM

April 12, 2012

Andrés Maneiro

Os ciclos pequenos

¿Qué teñen en común a dieta xaponesa, os métodos de entrenamento de Mouriño e as técnicas áxiles de creación de software?

  • Na dieta española, típicamente, a alimentación planifícase por semana -o luns peixe, o martes pasta, etc. Pola contra, na xaponesa, cómese multitude de elementos de tódolos tipos nunha mesma comida: o ciclo de planificación é diario.
  • Na práctica do fútbol profesional, exercítanse varios aspectos: físicos, técnicos e tácticos ou psicolóxicos. Un entrenamento soe consistir en varios minutos de carreira continua (para entrenar os aspectos físicos),  para logo realizar exercicios técnicos e estratexia (lanzamento de córner ou saídas con balón) e finalmente charlas de preparación psicolóxicas. A metodoloxía da periodización táctica que exercitan Rui Faria e Mouriño levan a cabo un entrenamento integrado, con varios exercicios que potencian tódolos aspectos ó mesmo tempo.
  • Na industria da creación de software, ata hai unha década, os productos concebíanse con ríxidas fases de producción, típicamente “análise > arquitectura > desenvolvemento > test > documentación”. Coa chegada do movemento agile, emerxe a idea de que é posible crear productos con ciclos máis curtos e iterativos onde se realicen tódalas fases simultáneamente.

O que me chama poderosamente a atención é ver como nos 3 casos se potencian os ciclos pequenos de actividade que alimentan os ciclos grandes. E dame por pensar si ése actuar fractalmente marcará diferencia algunha no éxito ou fracaso.

by Andrés at April 12, 2012 07:37 PM

April 11, 2012

Andrés Maneiro

Jeniffer gobierno: ya están aquí!

Hace unos meses, luego de leer lo de Nike, pensé que eso era lo más cerca que estaríamos del mundo de Jeniffer Gobierno. Estaba equivocado: Grecia alquilará sus policías por 30€/hora.

by Andrés at April 11, 2012 06:23 AM

April 09, 2012

Pablo Sanxiao

Sextante in gvSIG 1.12

Last weeks I have been working a bit in Sextante to integrate it in the next estable version of gvSIG (1.12).

In addition to many new features, last Sextante version allows to make any action from the Toolbox, not only execute algorithms but also create new models or scripts. For gvSIG users it is possible as well to execute its geoprocess like Sextante algorithms. Changes were needed in both sides so if you want to check it you will need to make checkout of trunk in both projects.

All this work will be available in the intermediate builds and release candidate of gvSIG 1.12 so that you can give your feedback. Stay tuned!

Very special thanks to Víctor Olaya for his help.

by psanxiao at April 09, 2012 06:17 PM

Nacho Varela

Resetear sesiones de usuarios conectados a Postgresql

Muchas veces hay usuarios que han dejado su conexión abierta y están bloqueando la base de datos impidiendo hacer algunas tareas de administración, vacuums, renames, etc.

Para localizarlos se puede usar:

select datname, usename, procpid from pg_stat_activity;

Luego simplemente para eliminar todos:

select pg_terminate_backend(procpid) from pg_stat_activity where datname='whatever';


http://www.postgresonline.com/journal/archives/134-Terminating-Annoying-Back-Ends.html

by Nacho Uve (noreply@blogger.com) at April 09, 2012 04:43 AM

April 05, 2012

Nacho Varela

Emacs para desarrollo web

Para no pelearse con los conflictos con los php-mode y html-mode se puede uno instalar Nxhtml que además de resolver ese problema ofrece un montón de comodidades. 

Lo instalé siguiendo estos pasos:

  1. Descargar el fichero: web-vcs.el 
  2. Abrirlo y desde Emacs:
                M-x eval-buffer
  3. Luego:
               M-x web-vcs-nxhtml 
Con esto comienza la instalación... pero finalmente me dió algunos fallos.

Entonces lo que hice fue bajarlo en formato ZIP y seguí las instrucciones del README.

Necesité instalar la sb-html.el en .emacs.d/site-lisp y listo!!

by Nacho Uve (noreply@blogger.com) at April 05, 2012 08:23 AM

April 04, 2012

Andrés Maneiro

How Linux is built 2012

The Linux Foundation has released the Who writes Linux (2012 data) report. Interesting to see how it has been internalized as a marketing tool to show how vibrant is the community. Check it out and compare it to LibreOffice report and ours on FOSS4G desktop.

by Andrés at April 04, 2012 02:41 PM

April 02, 2012

Israel Herraiz

Visiting UC Davis

Since a couple of days ago, I am in Davis, California, for a 4-months visit to UC Davis, hosted by Prof. Prem Devanbu. This visit is possible thanks to a "José Castillejo" grant awarded by the Spanish Ministry of Education and Science.

The main goal of this visit is to work on finding an automated method to evaluate the bias in bugs datasets. This bias is introduced when the bug-fix reports are linked with commits in the version control system. When a developer accepts and/or fix a bug report, she decides and accordingly marks the report with a severity level. In Bugzilla, one of the most used bug tracking systems, a developer can mark severity using a seven levels scale. In a previous paper (PDF available), I have shown that not all developers use the same criteria to select the severity, and it should be enough with only three levels. This difference in the developers criteria to mark and classify bug reports is one of the sources of bias in the bug-fix datasets (PDF of the paper available). Another source of bias is developer confidence; not all developers mark commits or bug reports with commit ids when they are starting in a project, because they are afraid of exposing themselves. However, those commits do correspond to bug fixes, and should be accounted for in a bug-fix dataset.

This bias disease affects the Eclipse Bug Data from Software Engineering Chair at Saarland University, which is one of the main data sources used for empirical software engineering. As an example, a paper studying the distribution of software bugs which was based on that Eclipse data has generated a response which has found other better distribution fits, and that does not reuse the same dataset but gathers the data directly from the original sources.

Clearly, reusing datasets for empirical software engineering is a good idea, which fosters reproducibility and verifiability, essential properties of any empirical research discipline. However, if we can not assure the quality of the reusable datasets, reusable datasets can cause more harm than benefits.

My goal with this visit is to apply statistical methods to evaluate the bias in a bug-fix dataset. The two papers about the distribution of bugs in Eclipse are an example of the kind of work I want to do. If we can be sure of the quality and lack of bias of a dataset, carefully built to act as a "canonical" dataset, we can compare other datasets against that canonical dataset, to find out if there is any bias. The two papers about Eclipse mentioned above show that the distribution of bugs can vary in the presence of bias. The first paper used a biased dataset, and the second paper repeated the data gathering process from scratch, avoiding the use of the biased dataset. Although it can also be due to methodological differences, they found different distributions for software bugs.

So my goal is to measure this difference in the distribution using a statistical technique, to detect the presence of bias, and develop a statistical test to find bias in reusable datasets. I am assuming here that the distribution cannot change due to other factors (and we already know that there are other sources of bias in bug reports), and that the shape of the distribution is unique. The second assumption is quite fair, but the first assumption is more complicated, and it will require to find more than one dataset that is known to be unbiased.

I hope this work will provide a tool to assess the quality of a bug-fix dataset, and to avoid the problems of bias, which are a threat to the validity of all the empirical studies using these bug-fix datasets.

April 02, 2012 07:00 AM

April 01, 2012

Andrés Maneiro

Parque do pasatempo

Non se perdan a historia dos indianos e irmáns García Naveira. A principios do século XX, impulsaron en Betanzos un modelo educativo e capitalista diferente. Ademáis de construir un parque enciclopédico precioso e de envexa mundial para a época:

20120401_001 20120401_002 20120401_007 20120401_008 20120401_009

by Andrés at April 01, 2012 07:46 PM

March 26, 2012

Andrés Maneiro

Analysis of free software communities: coda

As you can see in my last posts, I finally managed to translate the paper we released last year in V jornadas de SIG Libre (please, beg my english!). It took me a year and my wisdom teeth removed to find the time.

Our intention (Fran and me) when this paper first poped out from our heads was to foster debate on the best practices around a free software project. While at CartoLab, we presented the idea to Alberto; he encouraged us to work on it and gave the time and resources needed; also in the later stages he contributed to polish the trends and conclusions. I’m deeply grateful for all his patience and empathy.

I’m very proud of the work we have done: the first study of this kind in the GIS arena, and somehow a picture of 10 years of FOSS4G software development (for the desktop side). I hope the study is worth the effort and it continues to create debates on how to better work together.

by Andrés at March 26, 2012 03:20 PM

Analysis of free software communities (V): generational analysis

  • Images: on the left, contributions of top 3 developers along the project history; on the right, evolution of developers participating during 2010.
  • Datatrunk from project repositories during the period 1999-2010.

Is it something we could extrapolate from the data there?

This indicator gives us some sense on how the leadership changed and how the knowledge transfer was done in every project. The paper elaborates a bit more the points of turnover and integration of new blood in the project (highly correlated with this indicator) with statistics of top 10 developers.

All that will give us some insights on every project:

GRASS

  • The charts and data depict how a new generation took over the leadership from 2005 onwards. The process seems to be happened in a very organic way -in the sense that people grew its skills at a steady pace for a long time- and also deep to the roots: from the top10 only 4 out of 10 people continue collaborating with the project.
  • The data also shows how the top3 represent half of the work in the project, which suggest that several developers are highly involved with no one having too much influence (actually, the top contributor during 2010 means 40% of work).

gvSIG

  • The charts and data depict a highly distributed team with a high rate of turnover. Top3 is responsible for less than half of the contributions, being top10 around 60%. The change of leadership happened very quickly around 2007 and only 2 out of 10 contributors from top 10 kept working in 2010.
  • Besides, the top10 shows a homogeneous involvement in terms of number of contributions, which may reflect that all of them had a similar role and impact in the development of gvSIG.

QGIS

  • The charts and data depict a project dependent of its top3 with a contributions-friendly culture. Top3 activity means a hight rate of contributions over total but seems they have integrated well new blood as 9 out of 10 most active developers working in QGIS have started in different years and continue involved.
  • Top10 people have different ratios of involvement, ranging from 6% to 50%, which may reflect the heterogeneity of its core developer base (from volunteers to full-time developers).

by Andrés at March 26, 2012 01:30 PM

Analysis of free software communities (IV): community workhours

  • Images: on the left, number of changes to the codebase (commits) agregated by hour of day. On the right, number of commits grouped by day.
  • Datatrunk from project repositories during the period 1999-2010.

Is it something we could extrapolate from the data there?

This indicator is intended to give us some information on the patterns of behavior of contributors. Specifically, we can track how is a typical week for the core developers in every project: the timeline shows when the integration happened, don’t reflect the time in which the work was done; so it’s telling us the history of people with commit permissions, what we know as the leaders.

Let’s try to extract some information from there:

GRASS

  • Internationalization: the hourly chart represents a gauss bell centered on 15h GMT, which in most European countries would be after lunch, being morning in the Americas. That could reflect that both continents represent the vast majority of core commiters. Nevertheless, the work is relatively well distributed along different hourly zones.
  • Volunteers: the daily chart shows a light drop of work during the weekend, likely due to hired developers or people who likely make contributions mostly within their working hours. Nevertheless, there is still a high rate of contributions being integrated during weekend, which may be a sign of a well stablished volunteer base of core-developers.

gvSIG

  • Internationalization: almost all the integration happens in a journey from Monday to Friday, with a hourly range from 09:00 to 20:00 GMT. That is strongly correlated to the hours of opening of a typical shop in Spain and reflects the nature on how the application was built in that period: led by a public body which contracted development to Spanish firms.
  • Volunteers: seems that volunteer work in core was reaching to none, which reflects the original nature of the project in that period.

QGIS

  • Internationalization: the hourly chart is nearly to a plain rate of contributions, which is a strong sign of a highly distributed leadership along the world. It’s even difficult to suggest which zones would be the prominent in terms of developers.
  • Volunteers: the daily chart reflects a steady work along the week, with no signs of falling during the weekend, which may be related to a strong base of volunteers core commiters.

by Andrés at March 26, 2012 01:15 PM

March 23, 2012

Andrés Maneiro

Programming on principle

If you only watch a keynote this year, make it this one: Bret Victor – Inventing on Principle.

The serendipity again: I found this video few days after I finished reading Implementation patterns, by Kent Beck. Both two are connected, in the sense that Bret Victor talks about the importance of values and principles in our life and work -with amazing demo examples implementing his particular principle! Beck does the same at the level of programming.

by Andrés at March 23, 2012 04:10 PM

March 17, 2012

Andrés Maneiro

Open Source VS Open Project

«An open project and its community are the sum of individual people doing what they care about. It’s flat-out wrong to think that any healthy open project is a pool of developers who can be assigned priorities that “make sense” globally. There’s no product manager. The community priorities are simply the union of all community-member priorities.»

Havoc Pennington, A few thoughts on open projects. A lot of experience condensed in every word.

by Andrés at March 17, 2012 01:10 PM

March 16, 2012

José Dapena

Epiphany meets the web app stores

In last weeks, I’ve been taking a look at the web applications standards support in Epiphany, as part of my work at Igalia. Xan wrote about the Save as web application feature present in Epiphany 3.2, that is a base for very simple (and userful) web applications support in Gnome desktop.

To continue with this work, I’ve been investigating on adding support for some web app stores. So I’ve done an experimental implementation for Mozilla Open Web Apps (as in 2011 tech preview), Chrome Web Store hosted and packaged apps, and Chrome CRX-less apps.


Screencast using Chrome Web Store.

This is an experiment. Not supported, and it may actually stay out of official Epiphany. So there are lots of things not working at all. This is first a way to have a big number of apps to play with our application mode, and improve it. So no permissions check, URL’s match may be broken, many apps will fail to even log in… Did I say it is an experiment? Most obvious issues are related with this external links handling bug.

But, if you just want to play with it, just try my branch webapp in my Epiphany Github repository. By default, support is disabled, so you’ll have to enable these keys:

$ gsettings set org.gnome.Epiphany.web enable-chrome-apps true
$ gsettings set org.gnome.Epiphany.web enable-open-web-apps true

You can try with Mozilla Labs Apps Dir from 2011 tech preview and Chrome Web Store.

by jdapena at March 16, 2012 10:33 AM

March 14, 2012

Pedro González

Presentación de gisEIEL 3.0

Vídeo de la presentación de gisEIEL 3.0 realizada por Miguel R. Luaces en las VII Jornadas Internacionales de gvSIG, Valencia (2011):



by Pedro A. González (noreply@blogger.com) at March 14, 2012 06:34 AM

March 08, 2012

Master Software Libre

Abierta la inscripción al Módulo de Desktop & Mobile 2012

Como cada año, para aquellos que por motivos diversos no pueden cursar el Máster en Desarrollo y Gestión de Proyectos de Software Libre al completo, Igalia ofrece la posibilidad de inscribirse a uno o varios de sus bloques temáticos por separado.

Cada uno de estos bloques temáticos se implementa a través de un módulo formativo independiente de 80 horas de duración que se imparte en las mismas condiciones, instalaciones y horario que las sesiones del máster.

Ya está abierta la inscripción para el Módulo de Desarrollo para entornos Desktop/Mobile, que dará comienzo el día 13 de Abril y finalizará el día 2 de Junio. Los alumnos que se inscriban en los módulos, acompañarán a los alumnos del máster en las sesiones y prácticas los viernes de 16.00 a 21.00 y sábados de 9.00 a 14.00 en el edificio para la Obra Social de Novacaixagalicia, en la calle Policarpo Sanz número 24-26 de Vigo.

El módulo Desktop/Mobile 2012 persigue los siguientes objetivos:

  • Dominar herramientas libres para la coordinación de proyectos (herramientas agile, wikis, trackers, etc.)
  • Familiarizarse con las herramientas libres para el desarrollo de proyectos con sistemas GNU/Linux (entornos de desarrollo, depuradores, profilers, etc.)
  • Conocer las principales tecnologías libres de desarrollo para el desktop: GNOME, KDE, Freedesktop.org, C, Mono y Python
  • Conocer las principales tecnologías libres de desarrollo para dispositivos mobile: GNOME Mobile, QML, (Maemo/MeeGo), Tizen, Android.
  • Aplicar los conocimientos en sesiones prácticas en las que se creará una aplicación libre multiplataforma (para desktop y mobile, basada en GNOME), con las tecnologías, herramientas y metodologías de trabajo que existen en las empresas y comunidades de software libre
  • Comprender los conceptos importantes en el desarrollo software: documentación, accesibilidad, localización, empaquetado, gestión de bugs, testing e integración continua
  • Participar en charlas complementarias de personalidades involucradas en la comunidad y empresas relevantes del sector (GNOME, KDE, Nokia)

Más información: temario y calendariover precioinscripción.

by tromera at March 08, 2012 06:42 PM

February 24, 2012

Andrés Maneiro

De la educación, por Salman Khan

En este blog han estado Ken Robinson e Isaac Asimov hablando de la problemática de un sistema educativo diseñado para la era industrial y la educación a la carta, respectivamente. Hoy tiene la palabra Salman Khan, que nos explica su experiencia con la Khan Academy y el uso de tecnología en la clase: Let’s use video to reinvent education.

En palabras de Fran:

«Khan Academy es lo más cercano hasta el momento al sueño de Asimov sobre la educación moderna, y nos sitúa relativamente cerca del Manual ilustrado para jovencitas

Dentro video!

by Andrés at February 24, 2012 11:43 PM

February 20, 2012

Javier Muñoz

Security lessons at MSWL 2012

This past weekend I ended my lessons on our Master Software Libre.

If you follow this blog you will know I usually write down the topics I teach along these lessons. It is always good thing getting feedback and getting in touch with persons reading these lines.

By the way, this year our Master runs its fifth edition. I am proud to watch how it is working and how old and new students, teachers, collaborators, community advisors and all our friends build this knowledge community daily.

Having a broad look I am able to find plenty of technologies, hacking, know-how and a lot of relevant stuff each year.

Although teaching people is always a huge responsibility, I like to start my lessons remembering IT security is a hot topic and, in essence, this domain talks about sensible and dangerous topics; so prudence and good sense are always the right way to follow here.

OK … so nowadays, what am I teaching in those lessons really? what am I covering under the topics of Physical Security, Cryptography, Networking and Security Networking? and, at the end, on what kind of practical laboratories and exercises are we working?

Well, bearing in mind I think IT security is a very complexed topic where different social, economic and technological forces converge I compiled all security stuff covered in this V edition. In summary, some of the syllabus’s drivers were the following:

On Physical Security:

  • Physical system security methodologies
  • Environmental design
  • Design and evaluation of physical protection systems

On Cryptography:

  • Cryptographic models
  • Cryptographic systems
  • Free/open software tooling
  • Integration and usual cases

On Networking:

  • Foundations
  • User and Kernel stack implementation
  • Administration and tooling
  • Typical configurations and trouble shooting

On Security Networking:

  • Network attacks and defense
  • Good practices, blueprints and security methodology
  • Network device security
  • Network architectures
  • Integrity and availability
  • Exploitation and responsible disclosure
  • Underground markets
  • Vulnerability management
  • Risk analysis and defense models
  • Advanced and strategic defense in organizations

Aligned with these points, I ran some new live-demos and attacks too.

Apart of the usual attacks showing design flaws, networking protocol weaknesses, practical communication hijacking or break-in techniques; we studied real networks following one ethical and legal approach. It was useful to identify their strengths and weaknesses while suggesting possible solutions and alternatives.

Finally, together with the design and model of their own embassy by students, we jumped to Linux kernel land to study (line by line in source code) as a real Linux kernel rootkit works under the hood; hiding network connections, users, files and so on.

I would like to think this new 5th promotion have now a better insight and perception of the real risk and magnitude of the battlefield out there … I think so :)

Happy hacking!

by javier at February 20, 2012 03:38 AM

February 16, 2012

Andrés Maneiro

On delivering software

More than ten years ago, some visionaries got together in the mountains of Utah to relax, ski and discuss on the challenges of their profession. That was the very moment when the Agile movement cristallized. They wrote a manifest and 12 principles. The first gem goes like:

Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.

And only now we all are understanding what they mean. Even them.

Seems that it takes 10 years for the new ideas to mature and emerge in other shapes and wrappings. Nice to see that we, (“software deliverers”) as a profesion, are continuously improving.

by Andrés at February 16, 2012 08:10 PM

February 10, 2012

Andrés Maneiro

LibreOffice stats

Have you seen the LibreOffice stats shown at FOSDEM? They have got a lot of momentum from its very beginning and seem doing well. I’d like to see the source of that, though, to compare how they build the report with ours.

by Andrés at February 10, 2012 09:01 AM

February 08, 2012

Andrés Maneiro

Los desposeídos

La historia gira en torno a Shevek, un físico teórico de Anarres que viaja a Urras para completar su Teoría General del Tiempo. Es a través de ese viaje que Le Guin, nos presenta dos mundos muy diferentes: el anarquismo de Anarres frente al estatisto capitalista de Urras.

Me ha encantado. No en la medida en que me impactan los libros de Stephenson, que es como si me abriesen el cerebro en canal. No es un libro que hable de la superpoblación o la influencia de la tecnología en el desarrollo de las sociedades, no te ayuda a comprender el por qué las tecnologías de generación de energía distribuidas significan libertad individual. No. No es tampoco una apología del anarquismo pero sí una gran simulación: «Tiene que parecerse mucho a esto», pensé a medida que avanzaba. En el fondo es mucho más sencillo y sincero: habla de nuestro día a día, de las relaciones que tejemos con nuestros iguales. Le Guin retrata magistralmente cómo sería una sociedad autogestionada, sus problemas e incentivos. No es que viva yo en un mundo anarquista, pero sí (he) particip(ad)o en organizaciones autogestionadas, no jerárquicas, que generan espacios de relación similares. Con los límites necesarios, me siento identificado con la historia de Shevek.

A nivel literario me ha gustado el desarrollo de los personajes, muy natural y paulatino, con mucho sentido. Nada de licencias forzadas para que todo encaje en un final magistral. Tambien el modo en que la historia pivota en torno a 2 líneas temporales: los capítulos pares retratan la vida de Shevek en Anarres en un momento anterior a su viaje; los impares, en Urras. Se puede decir que, de todo el libro, lo que menos me ha gustado es el desarrollo de Urras; seguramente porque lo comparo con La Tierra, año 2012.

Sin duda un libro imprescindible para aquellos que les interese la autogestión y no tengan miedo a conocer sus límites y debilidades. En el fondo, es una utopía ambigua.

by Andrés at February 08, 2012 11:38 PM

February 07, 2012

Andrés Maneiro

RedOdiseus: viento en popa

Me levanto temprano para liberar mi bandeja de entrada. Me preparo mi earl grey matutino. Respondo correos. Cuando termino, repaso los últimos días de RSS. Leo en diagonal algunas de las recetas de Cocinillas que, en apenas un par de semanas, tiene 4 usuarios y 10 entradas! Me encuentro luego con un par de reflexiones sobre el pasado congreso socialista: la primera reflexionando sobre la democracia, la segunda sobre la banalidad y vacuidad del evento. Y me pongo contento de repente. La red empieza a tejer un ritmo propio, empieza a parecerse a lo que me gusta. Buenos días!

by Andrés at February 07, 2012 08:18 AM

January 24, 2012

Andrés Maneiro

IRPF en España

Llego a un informe comparativo sobre el IRPF [PDF]  que sitúa a España como uno de los países con más altos impuestos del mundo. Apenas 4 puntos por debajo de Suecia (el modelo intervencionista estatal por excelencia) en todos los tramos y de los menos progresivos de la UE (en países como Alemania, Finlandia o Reino Unido las rentas por debajo de 10.000€ no pagan llegando a tasas similares a las nuestras para las rentas altas).

by Andrés at January 24, 2012 10:29 PM

January 18, 2012

Andrés Maneiro

Internet goes on strike

Hoxe, a web está de folga. Estos días estase a debatir no congreso estadounidense a coñecida como lei SOPA que recorta liberdades dixitais. Estamos en pé de guerra. Nesta batalla, persoalmente pouco podo facer máis que darlle publicidade ó que ocorre e pensar en modos futuros para que non me afecte: non olvidemos que a globalización é interdependencia e que, gran parte da miña nosa actividade online está mediada por compañías estadounidenses de contidos (ás que máis lle pode afectar a lei SOPA). Por sorte, na maioría dos casos que me afectan éstas adhírense á folga da web: dreamhost, wordpress (capturas), wikipedia, google, etc. Pero isto non me reconforta. Simplemente me mete présa para seguir profundizando no noso plan de independencia dixital.

Actualización 18 de Xaneiro: este blog ha redirigido las peticiones de visitas a la web de la huelga. Gracias a los creadores del plugin que hicieron posible que esto fuese posible para cualquier usuario de la red odiseus de un modo trivial.

Actualización 22 Xaneiro: Clay Shirky axúdanos a reformular o debate sobre a SOPA e PIPA neste video.

by Andrés at January 18, 2012 07:17 AM

January 11, 2012

Andrés Maneiro

Prohibir pagos en efectivo

Fran acaba de postear sobre la recuperación de la deducción por vivienda. No puedo sino hacerme eco de otra de las medidas estrella del plan de choque del nuevo gobierno: prohibir los pagos en efectivo para luchar contra el fraude fiscal. Otros, han articulado un buen análisis sobre esta medida. A mí me provoca entra risa y miedo esta deriva hacia el hiperestado por encima de nuestras vidas.

by Andrés at January 11, 2012 09:02 PM

History of science fiction

A good map to navigate through the themes, authors and styles of the so-called scifi.

by Andrés at January 11, 2012 08:52 PM

De la mafia

Las mafias no son sólo una de las pocas fábricas que todavía tienen capacidad para contratar, sino que, en Italia, son “el primer banco”. En no pocos lugares son ya una competencia directa al estado como proveedor de bienestar.

by Andrés at January 11, 2012 08:45 PM

January 06, 2012

Andrés Maneiro

Black Mirror

Black Mirror. La serie de las navidades. Hace unos días leímos en 5ª temporada: «Son tres capítulos que juegan con la exageración y la provocación para retratar a una sociedad adormecida  y dominada por la tecnología.». Qué exageración, pensé. Pero ese aire ciberpunk me supera, y al par de días leí el artículo de Charlie Brooker presentándola: «the dark side of our gadget adiction». Y me convenció más. La descargamos. No cometáis el error de tardar tanto como nosotros. Si aún se estilan los propósitos de año nuevo, Black Mirror es el espejo donde tenemos que mirarnos. Porque, en el 2012, se necesitan de nuevo esfuerzos en favor de las libertades civiles en internet. La caballería e infantería se atisban ya en el horizonte.

by Andrés at January 06, 2012 11:10 PM

Díaz Pardo, in memoriam

«Se Díaz Pardo fose como Steve Jobs, nas cuncas de Sargadelos só poderias tomar café Las Candelas

In memoriam (via).

by Andrés at January 06, 2012 10:42 PM

January 02, 2012

Andrés Maneiro

GATTACA

Aunque este año pude disfrutar de pocas películas y casi ninguna novela, he descubierto joyitas que merecen ser destacadas y recomendadas para este 2012. Una de ellas es GATTACA, una historia que afronta la pregunta de ¿cuáles son los efectos sociales del determinismo genético? Porque

«If we can use genes to find out who’s biologically suited to specific tasks, and to calculate estimated life spans for every newborn, how would that reorganize our society? If, for example, we knew that the odds were against a given presidential candidate to survive a single term in office, would anyone vote for him or her? And, as British authorities have recently proposed, if we can identify the genes associated with criminal behavior, why not test every single child, and create a pre-emptive database of would-be offenders?»

La historia gira en torno a dos personajes principales: por un lado, Vincent (Ethan Hawke), clasificado como “no-válido” para ser astronauta, debido a que su registro genético dice que tiene las condiciones para un paro cardíaco muy joven; por el otro, Jerome (Jude Law), una estrella de la natación con un perfil genético immejorable que, al sufrir un accidente de coche, queda inválido.

A través de la relación de Vincent con su entorno, GATTACA reflexiona sobre la delgada línea que separa la terapia y el determinismo genético. Como cuando sus padres están pensando en tener un segundo hijo y el genetista les dice…

«We want to give your child the best possible start. Believe me, we have enough imperfection built in already. Your child doesn’t need any more additional burdens. Keep in mind, this child is still you. Simply, the best, of you. You could conceive naturally a thousand times and never get such a result.»

Y al tejer esas relaciones, los incentivos que ofrece la terapia genética construyen una sociedad cuyo principal valor es el determinismo genético. Sin duda una de las mejores películas que uno puede ver a lo largo de 2012. Altamente recomendable. Y recordad… «There is no gene for the Human Spirit».

by Andrés at January 02, 2012 12:53 PM

December 27, 2011

Pablo Sanxiao

Migrando el blog a la Red Odiseus

Desde hoy mismo este blog se encuentra alojado en la Red Odiseus, y de paso con nuevo diseño. La Red Odiseus es una iniciativa creada por Fran y Andrés, y a la que después me uní yo mismo, para además de tener un hosting propio, alojar los blogs de los amigos y echarles una mano para montar la infraestructura y con los problemillas que les surjan.

Ahora mismo tenemos 9 blogs en la red y con previsiones de que se nos una alguno más en breve. Además alojamos las páginas de alguna que otra asociación a la que estamos vinculados de alguna forma, y alguna que otra lista de correo.

Para finalizar el post rescato algo que me dijo Andrés cuando me contaba esta iniciativa y me metía el gusanillo: “Para que van a tener nuestros colegas el blog en blogger si nosotros les vamos a cobrar lo mismo y aún encima les damos cariño”.

by psanxiao at December 27, 2011 09:25 PM

December 25, 2011

Andrés Maneiro

December 24, 2011

Andrés Maneiro

Cut-spending or don’t cut-spending?

Un bo artigo da BBC sobre a crise na eurozona faime reflexionar de novo sobre o tema e recordar un video de Garicano sobre as deficiencias económicas de España. Ser os primeiros da clase en cumplir co pacto de estabilidade non nos evitou a recesión, o noso problema foi a débeda privada, síndrome de novos ricos. E a saída agora non está clara: ¿aforro ou inversión?

by Andrés at December 24, 2011 04:21 PM

December 20, 2011

Nacho Varela

Alternativa a PuTTY en windows

Para conectarme mediante ssh/telnet en windows hasta ahora utilizaba el mítico Putty. Cumplía bastante bien su función aunque era incómodo y se volvía un poco loco si trabajaba con editores. Hoy he probado TeraTerm y me encuentro más cómodo. Recomendado! :)

by Nacho Uve (noreply@blogger.com) at December 20, 2011 08:38 AM

December 15, 2011

Javier Muñoz

Physical Security & Criptography at MSWL 2012

Great time at Master Software Libre teaching Physical Security and Cryptography contents this year. Two key areas at Information Security and Privacy.

These lessons were the first ones happening before my usual lessons on Networking, Security Networking and Linux Kernel.

On Physical Security time we worked on well-know physical system security methodologies, together with two new relevant topics: environmental design and design and evaluation of physical protection systems.

It was a lesson covering broad and detailed topics; ranging from designing defensible spaces, where you are able to use different elements and aspects to get natural social control and crime prevention, till a full description of technology and sensor availability to protect different facilities. Security standards or some notes to understand social behaviour (The Bronx study case) were worked out too.

On Cryptography, we walked along its history and development in order to understand cryptographic models and current crytographic systems, free/open software tooling, integration and usual use cases. At the end, everybody got their crypto stuff in place, ready to take part in keysigning parties and next social community events.

Ah! I almost forgot. This year, students will elaborate on the right design to build a safe and secure physical protection system for one embassy.

by javier at December 15, 2011 05:14 PM

December 09, 2011

Andrés Maneiro

On meritocracy and self-promotion

«Just as demagogues may subvert democracy, so self-promotion may subvert meritocracy.»

Open Source Projects and the meritocracy myth

by Andrés at December 09, 2011 09:21 AM

December 05, 2011

Andrés Maneiro

Institucional memory

«Institutional memory comes in two forms: people and documentation. People remember how things work and why. Sometimes they write it down and store that information somewhere. Institutional amnesia works similarly. The people leave and the documents disappear, rot, or just become forgotten (as it were).»

Sign: an engineer. On institucional memory and reverse smuggling.

by Andrés at December 05, 2011 05:25 PM

November 26, 2011

Andrés Maneiro

Coders at work: netscape y javascript

Estoy leyendo a ratos Coders at work, un libro de entrevistas a programadores inspirado en lo que hizo The Paris Review con su serie Writers at work, por la que pasaron Hemingway, Capote, Borges, …

He empezado por aquellas que más me sugerían, por ejemplo, la de Jamie Zawinski, uno de los líderes detrás de la liberación del código de Netscape y cofundador de la fundación Mozilla; seguida por la de Brendan Eich, también cofundador de Mozilla y creador de javascript. Me ha gustado descubrir no sólo su trayectoria personal, si no el ambiente que se respiraba en Netscape en aquella época. Totalmente imprescindible como complemento el documental Code Rush:

Al acabar la de Eich, he empezado con la de Douglas Crockford, creador de JSON y uno de los principales gurús del lenguaje. Mundialmene conocido por Javascript: the good parts y sus talleres de introducción a Javascript. El libro y la serie completa son una deliciosa joya para todos los que aspiren a saber algo del lenguaje. De entre todos los videos, por contexto, recomendaría ahora el primero, que versa sobre la historia del javascript (según sus propia interpretación):

Estoy disfrutando enormemente del libro. No sólo me sirve para conocer más ciertos aspectos de nuestra reciente historia (la de la informática y sus empresas) si no también para de algún modo entrar en el proceso creativo de grandes programadores, cómo se enfrentan ellos a la tarea de programar. Conocer, de cara a mejorar el mío propio.

by Andrés at November 26, 2011 05:48 PM

November 24, 2011

Nacho Varela

Escapar espacios en blanco en variables en Bash

Hoy me he sentido un poco estúpido... la típica chorrada que no te acuerdas ni se te ocurre como solucionar. Lo pongo aquí etiquetado como "humor". :D En un script para la línea de comandos, tenía que entrar en un directorio con espacios en su nombre.

Pues no era capaz...
> foo="/tmp/foo bar/" 
> cd $foo 
bash: cd: /tmp/foo: No such file or directory 

Intenté todas las combinaciones posible para escapar el espacio y mil trucos. Solución:
> foo="/tmp/foo bar/" 
> cd "$foo" 

Las comillas!!!!

by Nacho Uve (noreply@blogger.com) at November 24, 2011 05:30 AM

November 16, 2011

Andrés Maneiro

¿Desarrollo y empresa social?

Fran ha estado recientemente en las jornadas de economía social hablando sobre desarrollo y propiedad intelectual. No os perdáis su último post. Hago mías cada una de sus palabras. Os recomiendo acompañar el resumen con este video de David.

by Andrés at November 16, 2011 11:02 PM

November 15, 2011

Daniel Izquierdo

Moving to a new place

Finally decided to host my own WordPress and other stuff, so, this blog is now re-located to: http://blog.dizquierdo.es

by dicortazar at November 15, 2011 04:30 PM

November 08, 2011

Andrés Maneiro

JIDEE 2011

Mañana estaré volando a Barcelona para asistir a las JIDEE 2011. El jueves 10 tendré el honor de presentar IDEPo, el nodo IDE de la Diputación de Pontevedra con datos EIEL, un proyecto financiado por la Diputación de Pontevedra y la Xunta de Galicia. Un proyecto que hemos liderado desde iCarto con la colaboración de Cartolab.

No se me ocurre mejor acompañamiento para un proyecto como éste donde el conocimiento de los datos es crucial. Poca gente en España conoce los datos y procesos EIEL tan bien como ellos, una pequeña muestra es el gran trabajo que han liderado con gvSIG-EIEL. Si queréis saber más de IDEPo o simplemente hablar de iCarto, estaré disponible en el WTC al menos todo el día del jueves.

by amaneiro at November 08, 2011 08:00 AM

Pedro González

Segunda evolución

Como consecuencia de las modificaciones introducidas en la gestión del proyecto gisEIEL a raíz del acuerdo de colaboración con las Diputaciones de Córdoba y Ourense, la Universidad de A Coruña y el Consell Insular de Mallorca, y dado que este espacio tenía un carácter semi-oficial y que no estaba claro si servía exclusivamente para publicar comentarios y noticias referidos a gisEIEL, hemos decidido crear un blog oficial de la plataforma eielac (que incluye al portal webEIEL, a la BDT-EIEL, el nodo ideAC y gisEIEL), que servirá a partir de ahora como punto oficial de publicación de novedades, y transformar definitivamente "Going Free" en un espacio para la reflexión personal de sus autores acerca de temas relacionados con la información geográfica, los SIG, las IDE, el software y el conocimiento libres, etc

Por tanto, en los próximos días iréis viendo cómo se transforma este blog. Hemos empezado por su sub-título y seguiremos con los contenidos de la barra lateral, liberándolo de su vinculación inicial con el proyecto gisEIEL.

by Pedro A. González (noreply@blogger.com) at November 08, 2011 03:36 AM