The presentation went well! The slides are available online. A few slides need some explanation but you can get the gist of the presentation.
This coming weekend is FOSDEM 2016: the biggest conference (and it’s free) about Free and OpenSource in Europe (at least). It’s in Brussels and registration is not needed. Check the schedule and you might still be able to come.
Some people speak Spanish and they learn Catalan… and some vocabulary is the same.
Actually, I remember checking, in 2006, how many words are exactly the same in Spanish and Catalan compared with Catalan and French or Catalan and English. I was trying to explain “how different are these languages” to Estonians and I thought that some numbers might help. See that entry, in Catalan.
I asked to a super Catalan learner: “how is ‘camión’ in Catalan?” and she didn’t guess it. I said that in case of doubt just drop the ‘n’… seems to work (‘avión’, ‘camión’,…)
Of course, we had to check comparing words to know the hit/miss rate! Given a random word in Spanish ending with ‘n’: removing the ‘n’: how likely is that will appear a Catalan word?
The success is 45.57%! (this is ignoring accents and using wspanish and wcatalan Debian packages).
I might add some other variations like “universidad” -> “universitat”… stay tuned here for more results.
What did we do? We programmed a Python script (very badly programmed, I am looking at you… the line with an “insert” query without binding variables!) that searches the Mendeley catalogue and inserts documents geo-located into a table in CartoDB. Then using CartoDB we displayed this data. And to make it more fun we displayed the data on a map with The Martian’s book trip. You can see that the specific locations featured in the story have many documents, partially because Pathfinder and Mars Rover were nearby.
ESA (European Space Agency) will send a rover to Mars. On the webpage “Where on Mars?” it is possible to see areas where the rover might land and visualise the constraints: elevation, latitude (to maximise the hours of the Sun), areas with geological interest, etc.
Where on Mars? website uses CartoDB extensively which has been a very good discovery for me! (and I plan to use it for some other projects soon). I’ve done or worked on a few projects with maps like Benches iOS app (based on OpenStreetMap , find Mendeley users web app, or the very simple “find the middle point” map. I’ve used Google Maps API to add markers and work with them and lastly I’ve been using OpenStreetMap (big fan!) and Leaflet to do similar things.
I know how difficult is to represent data on maps. Leaflet is a good piece of software and, very importantly, it’s easy to plug it with any other system and host yourself. But Leaflet has some limitations (adding too many points in a map will make it too slow, but clustering points sometimes is not what one would like to have).
Before CartoDB I used tools like PostgreSQL, Leaflet and Flask (a Python microframework) and I think “what to do” for someone who hasn’t done it before from getting a CSV file with positions and data until having a map with these positions and data there and a basic interactive system could take hours (of work, not of CPU time). Very likely I would get the CSV file, put into PostgresSQL, create a small API to get data from PostgreSQL, show it using Leaflet. Then add some user interface: what happens when a user clicks a point, how to change the information dialogue, etc.
Using CartoDB is possible to do all all the basic operations and much more using only the mouse! I uploaded a 150 MB CSV file which converted automatically into a database table. I only had to indicate the latitude and longitude columns and then I could very easily setup the representation of my data. And it uses OpenStreetMap.
CartoDB even has a Python module that allows editing and querying of data (even with the a browser or with a Python module). Data changing over time (like positions) is easy to represent and it’s possible to embed the map in other places, etc.
Also, CartoDB allows users to change the basemaps so “Where on Mars?” project can use their basemaps for Mars instead of the Earth maps. And it’s easy to publish maps and datasets, embed them on other websites, etc.
I had a very good hackday and one of the reasons was CartoDB and how easy was to work with it. Another reason was Nicolas Manaud who had some ideas about what to do and knew CartoDB so he did part of the CartoDB job and I did some Python scripts using the Mendeley API.
After the hackday I used a little bit CartoDB and had good fun as well.
It’s important to note that obviously CartoDB charges per data size and might change the terms and conditions at any moment, etc. An important advantage of Leaflet+PostgreSQL+Flask (or some other application server) is that could be hosted easily in any place and then we would have all the stack with open source tools (I really like it). But for quick hacks or some visualizations if we don’t mind using a third party service CartoDB really rocks.
After fixing an interesting problem with Mendeley Desktop and Mac Word 2016 plugin I liked how someone said thanks:
And I really liked Ramon’s photo (thank you again for taking the photo!):
Almost a year after finishing the London LOOP (see the post) I’ve now finished the Capital Ring!
Capital Ring is a hike around London, usually about 10 miles (16 Km) far away from Trafalgar Square. Easy to reach by public transport, stages are about 10 Km each. Quite flat sadly.
My resources were:
And the experience: very good! I could explain the 15 stages one by one but instead I might mention a few memories:
And what now after Capital Ring and London LOOP? Besides one day hiking in places I might start the Lea Valley. I did some parts years ago and I might do it from the beginning to the end.
A few weeks ago I went to the PyCon UK, in Coventry. I enjoyed the conference very much again! It was my third year.
Like the last 2 years: it was on my birthday. And now I’m really used to it and I’ll miss that next year is not exactly on my birthday. First year that I attended the conference and was my birthday I thought that it was a bit weird. In the second year I kind of get used to. Third year I really enjoyed, I had my chocolates to enjoy during the conference (and to sahre!). And I met VERY interesting people, on my birthday! I’m now thinking that they maybe were my birthday present? Just a coincidence?
Talk wise: interesting talks. I like that many people from the Python Code Dojo go there: the result is that some of the speakers are from the Dojo and I like seeing them. And some of the speakers repeat from previous years so it has a kind of continuity – I know them a little bit.
Coventry conference centre is too small for the conference. Next year the conference will be in Cardiff in a bigger place which I’m sure that will be good to have better facilities. Well, Coventry conference centre was easy to reach and I could walk without checking maps or anything: it was all familiar.
Powered by WordPress & Atahualpa