Skip to content

Erste Berliner Graph Coding Dojo

Ein hoch aktuelles und spannendes Thema in der Informatik ist die effizient Verarbeitung und Speicherung sehr großer verteilter Graphen in hierauf spezialisierten Graphdatenbanken. Einer der wohl bekanntesten und beliebtesten Vertreter dieser Datenbanken ist neben OrientDB und DEX zweifelsfrei Neo4j. Aber auch eine zunehmend große Anzahl von Frameworks wie Blueprints, Apache Hama oder Google Pregel unterstützen den Softwareentwickler bei der Umsetzung graphbasierter Fragestellungen, welche sich von Sozialen Netzen über Empfehlungssysteme bis hin zu Routing-Algorithmen erstrecken.

Unser Ziel ist es Experten und interessierte Neueinsteiger zusammenzubringen und allen Beteiligten eine langfristige Möglichkeit zu eröffnen sich immer wieder über ihre tagtäglichen Graphprobleme auszutauschen, Best Practices zu erfahren und sich über aktuelle Entwicklungen der Datenbanken und Frameworks zu informieren. Hierzu starten wir am 27. Oktober 2011 den ersten “Berlin Graph Coding Dojo”.

Alle Interessierten sind herzlich eingeladen ab 19:30 Uhr im Berliner co-up gemeinsam die Welt der Graphdatenverarbeitung zu entdecken und gleich vor Ort die ersten kleine Anwendungen zu entwickeln. Für erfahrenere Leute haben wir interessante Probleme vorbereitet, deren eleganteste und schnellste Lösung prämiert wird. Vergesst also nicht eure Notebooks mitzubringen!

Wir möchten uns beim Berliner co-up, und moviepilot, bedanken ohne den diese Veranstaltung nicht möglich gewesen wäre. Für jede weitere Unterstützung, egal ob als Sponsor oder Mithelfer, aber auch für jede kleine Spende sind wir dankbar. Nehmt einfach mit uns Kontakt auf.

Informationen

27/Oktober/2011 19:30h
Berlin co-up [http://g.co/maps/j2tmb]
Adalbertstr. 7-8
10999 Berlin

Call for participations : Berlin Graph Dojo

Graph databases, together with graph processing problems, are a trendy topic right now. Neo4j is a well known graph database, but there are also others like OrientDB, DEX, etc. and there are also a big set of graph processing toolsets like Blueprints, Apache Hamma, Google Pregel
like systems, etc. So from recomendations systems to routing problems graph processing is an amazing thing to have in your toolset.

With the objective to have together experts and newbies, and for all of them to have the oportunity to learn new things by doing we launch the Berlin Graph Coding Dojo. Next 27 of October 2012 we will meet with the main task of learning and practicing new graph related tasks.

There will be enought food for more experienced people, but also for the ones who just say, ei! graphdbs are cool, lets gonna see what can I do in a short time with theme.

If interested, no mather your level of experience with this topic, show up next 27 of October at the Berlin Coworking Space. Bring your laptop, and in a couple of hours your will for sure solved a new thing using graphs.

Lots of thanks to the co-up for making this event possible. Also if you want to be an sponsor, collaborate, give your five cents, whatever!, contact us!.

For more information you can join: graph-b@googlegroups.com or take a look here https://bitly.com/ofGzoB

Details
27/October/2011 19:30h
co-up [http://g.co/maps/j2tmb]
Adalbertstr. 7-8
10999 Berlin

Thoughts about the performance of Enumerable#map in JRuby

As some of you know my current job makes me program in Ruby thing that I have to say I like, mostly cause sometimes you find interesting facts like the one I will write about here.

Yesterday, together with my college Adolfo Builes, we had an interesting ongoing discussion about the performance of the map operation, specially in some use cases we face with.

You can check the code I used to benchmark this operation obviously on github, and obviously try to reproduce it. And please all the statements I make here are based on this numbers and my experiences, comments are really welcome!.

So lets check my thoughts about this operation. Before start with the numeric analysis I would love talk a bit about the methodology I followed.

We faces with the use case where we want to use a map operation, over an ruby enumerable, with the main business of tuning this collection with new data useful as an output of the function. So after a long time debugging we discovered that the most important batch of time was used by the map operation.

So I tried to compare this situation using the next configuration:

  • JRuby 1.6.3.
  • Ruby versions 1.8 and 1.9.
  • Having the collection in memory or not.
  • Using a custom class with lots of data and Fixnum as the tiny one.

So for this I used the ruby standard library benchmarking facilities, specially the Benchmark.bm and Benchmark.bmbm modes, and a MacBook Pro as a test machine. It is important to notice that all the executions where made using the default JRuby configuration options.

And obviously after that there came some interesting insights I think important to share with you:

  • As a general fact, using the map function with bloc as a parameter, its quite more faster than using the method symbol as a single argument. This seems to be well known for the ruby community since a long time. I think has an argument when you think how the procedures are managed into the ruby compiler.
  • Either you use 1.8 or 1.9, and your data is not simple and also more likely not to be always in memory, it is better to avoid using map. It performs a lot better to use your custom code. Really would love to understand why? will look deeper on how the JRuby implementation of this function looks like.
  • But if your data is simple, using map with a bloc as a parameter is your best shot. And the custom mapping the worst. Think this could be related with the memory assigned to the JRuby heap, but also need more in deep knowledge in order to understand it at all.
  • If your data is going to be most of the time in memory, other facts need to be take it into account:
    • Using map with a bloc parameter looks to be the best shot either using 1.8 or 1.9 modes, when talking about complex objects.
    • Also mapping data throw a your custom code looks not to be the best shoot, however in the 1.9 mode is better than using map with a symbol parameter.
    • But when talking about the tiny ones, using map with a symbol parameter always succeed as the best one.

Obviously this can not be take it 100% seriously as I am too new to the ruby world, but its interesting how the same function performs in different ruby versions, and processed data. Would love anyone with more experience in the language to share your opinion about, also all the ruby programming tips are really welcome!

Next steeps try to discover why this functions is performing like this in different scenarios, moving from the number to the real knowledge of the causes!

Keep on!

- purbon

Try NoSQL it doesn’t hurts and is fun

 

 

 
JPL – La teva trobada anual – Free Software, Open Source i Coneixement Lliure.
Barcelona

 

Graph Database Meetup Berlin

Hi! if you are in Berlin, or near the town, there is going to be a Meetup about Graph Databases next 28 of June at C-Base. If you started to know, want to learn more, wanna share your expertise, or just have some fun talking about this new and exciting technology. You are the men!

A graph database is a kind of NoSQL database that uses graph structures with nodes, edges, and properties to represent and store information. General graph databases that can store any graph are distinct from specialized graph databases such as triplestores and network databases.

 

but citing the big Jim Webber,

What are you going to relay more, a system with one hundred years old, or one with his roots at 1736.

I have to say I can not remember exactly what Jim told us last Berlin Buzzwords, but the meaning was something like this, xD!

More information at:

El metro de Berlin

Ja portem uns mesos vivint a Berlín, una ciutat on el transport públic arriba a molts racons. Si no és el metro, són els autobusos, els trens o els tramvies, però casi segur que tens un transport públic a prop. Si mai et planteges venir a la ciutat no pensis que et lliuraràs d’anar amb transport públic, bé si no vas sempre en bici.

Inaugurat l’any 1902, segons la wikipedia, és un metro que m’agrada molt, sobretot per que moltes de les línies i de les parades mantenen un encant molt difícil, per no dir impossible, de trobar a Barcelona.

Mentre viatgem pel metro de Berlín podem trobar-nos amb estacions amb una imatge particular, podria dir que encara manté un esperit de fa molts anys, alguns exemples són Hermanplatz, Wittenbergplatz, Rathaus Spandau, etc .. segur que en un petit viatge en metro pots gaudir de mostres d’arquitectura de tot el segle 20.

Aixo si, no et pensis que un viatge et sortirà igual de barat que a Barcelona, aquí no tenen tanta idea de fer abonaments com a Catalunya, quins temps aquells amb el meu abonament de 10 viatges, xD!. Tenim pendent un bon viatge a veure més estacions del metro de Berlin, de ben segur algo que no està  a les guies de viatges, però que m’encanta!

Si vols saber més sobre el metro de Berlín ho pots fer a:

PD: El pròxim dia 26 de Juny és el dia de portes obertes al transport públic de Berlín, un dia on tothom pot viatjar gratis, a veure quan fem això a Barcelona. Aquí el transport és car, però la gent el fa servir per consciencia.

 

 

Hack day’s and Berlin Buzzwords 2011 Review

The last days in Berlin were very interesting, with a lot of geek fun. We started with the Music Hack Day were I attended together with my friend Achim, this was my first Hack Day and I have to say the hole event was amazing, we could share a table and a lot of discussions with really smart people, and also we could share the space with a lot of artistic minded people, you know geeks don´t use to have this kind of skills.

 

Then the next week we had the first Movie Hack Day provided to us by @moviepilot. There we could share an interesting space with a set of data related geeks. Here I was not able to work as hard as in the Music Hack day because I was helping @jayniz organizing the event, but we had a lot of fun. This has to be the first of a set of Movie related hack days, every time better. Last but not lest, if you look at my github you will find what I did this hackday, in only eight hours I was exploring the capabilities of content discovery throw youtube and the api’s of gomiso, moviepilot and rottentomatoes.

By the end of this interesting weeks we had the amazing Berlin Buzzwords 2011. I have to say that this kind of events are not really for me, mainly because they are a bit more commercial than what I like, but I had the opportunity to attend this year for a hole day and the quality of the talks was quite good.

I have to highlight the next talks, as they was the best in my opinion.

but there where a lot more.

I enjoyed a lot this weeks in Berlin and I love to have all this experience in my backpack right now, a very important thing for everyone in my opinion is the importance of being better time to time, this have to be a mandatory mantra.

/ purbon

 

 

Spanish Revolution

Em de canviar el món! I ho farem!

/purbon

Herrlich Willkommen im Deutschkurs

Hola,

doncs ja disposat a que estem a Alemanya, i a que seriosament crec que per integrar-te en un país has de parlar la seva llengua, he decidit començar a estudiar Alemany. Per això vaig començar finalment la setmana passada un curs a l’Escola d’Idiomes de la Universitat Politècnica de Berlín, totalment recomanable si esteu a Berlín i cerqueu un curs barat per a fer durant tres hores i dos dies a la setmana.

M’he decidit a mantenir algunes entrades per aquí amb el vocabulari i les coses interessants que vagi aprenent, aquí teniu la primera d’una espero gran col·lecció.

Algunes preguntes  en Alemany

  • Wie heißt du? (Com et dius?)
    • Ich heiße Pere.
  • Wie ist dein Name? (Quin és el teu nom?)
    • Mein Name ist Pere.
  • Woher kommst du? (D’on ets?)
    • Ich komme aus Italien?.
  • Was machst du? (Que fas?)
    • Ich bin a computer engineer.
  • Wo wohnst du in Berlin? (On vist a Berlín?)
    • Ich wohne in Schöneberg.
  • Wie alt bist du? (Quina edat tens?)
    • Ich bin neunundzwanzig Jahre alt
  • Wie viele Sprachen sprichst du? (Quants idiomes parles?)
    • Ich spreche Persisch und Englisch
       

      • Französisch, Italienisch, Katalanisch, Spanisch, Türkisch.

Auf Wiedersehen

Salutacions desde Berlin

Bé després de molts dies torno a posar aquest blog en funcionament, moltes coses han passat i ja no fa pas dos dies que escric en un blog com per saber que hi ha períodes que la cosa es queda en blanc.

Des de la meva ultima actualització del blog, han passat moltes coses, he canviat de feina i de país, ara estic vivint a Berlín, una meravellosa ciutat que ens ha acollit molt be.  Els últims mesos a la meva antiga feina van ser una mica estranys, i sobretot em van mantenir allunyat d’una activitat que m’apassiona, escriure i mantenir una vida activa a Internet.

Ara treballo per una gran comunitat de cinèfils (moviepilot.de), la comunitat més important d’aficionats al cinema de tot Alemanya, on estem preparant el llançament de la versió internacional, més informació a moviepilot.com. Aquí els ajudo en tot allò relacionat amb les dades, el meu lloc te un nom molt curiós, Senior Data Digester, xD!!.

07052011565

Picture 1 of 5

La vida a Berlín ha significat un gran canvi, em passat d’una ciutat de 11.000 habitants a una de prop de 3.500.000, però amb una característica que la fa única, te una densitat de població de 3,869.4/km2 molt menor que la d’Igualada. És molt fort poder anar pels carrers amb tant d’espai, això no és com Barcelona on la vista se’t queda tallada a la primera de canto.

Doncs des d’aquí espero poder-vos explicar com va la nostra aventura Berlinesa, però sense deixar de banda les frikades més variables sobre tecnologia, bases de dades, nosql, ruby, etc.. Com sempre una varietat de coses que fan que aixo no sigui un blog particular, si no un calaix de sastre.

Ens anem llegint!