Titular notícies
Dissabte 14 Novembre 2009 - 22:01

Petites ànimes
Diumenge 1 Novembre 2009 - 11:57
Petites ànimes

Coca de crema cremada
Dijous 23 Juny 2011 - 18:00
A casa no ens agrada la coca de Sant Joan. Seran les fruites confitades, serà el briox sec, serà que els petards ens confonen... La coca de Sant Joan no triomfa.
Des que vam descobrir que també podíem menjar coca de pinyons farcida de crema, però, ens posem les botes.

Aquest any he decidit fer una versió de coca de Llavaneres... versió? Doncs sí, perquè m'he oblidat de comprar pinyons i he acabat improvitzant amb ametlles laminades que he trobat per casa.

Com veuràs m'hi he matat poc: làmines de pasta de full comprades i tota la feina en mans de la Thermomix. Però així és més senzilleta!

Apa, a gaudir de la recepta!

Pa d'oli amb llavors i farigola
Dissabte 16 Octubre 2010 - 15:20
Des que vaig pispar la màquina de fer pa a ma mare (ei, que no la feia servir, ella!!) he fet un munt de pans: tipus brioche, pa de motlle, de llet, de mantega, amb diferents tipus de farina... però cap em deixa fer tantes variacions sense donar-me maldecaps com la base del pa d'oli. Hi puc afegir les llavors que vulgui, les herbes que vulgui, pipes, fruites, etc... que sempre queda bé! I aquesta d'avui és la variació que he preparat especialment pel World Bread Day.

The Small Hand, Susan Hill
Dilluns 31 Octubre 2011 - 22:48
Un vespre d'estiu, un venedor de llibres antics agafa un camí equivocat anant a visitar uns clients i acaba en una casa gairebé en ruïnes. Tot i que sap que no hauria de ser allà i que s'està fent fosc, no pot evitar acostar-se a la porta i mentre mira embadocat l'entrada nota clarament com una mà infantil li agafa els dits... només que allà no hi ha cap nen. No hi ha ningú.

Una casa vella, un jardí abandonat, un fantasma infantil...
Típics i tòpics elements d'un llibre de por, que promet pell de gallina... però que queda en allò que podia haver estat.

Un monjo elèctric sobre un cavall en un desert.
Una porta enmig del no-res.
Un excèntric multimilionari que és assassinat mentre es deixava notes a sí mateix al contestador automàtic de sa germana.
Un sofà encallat a mitja escala.
Un gat que no ha desaparegut mai.
Un detectiu amb corbata a ratlles verdes i camisa de quadres vermells. Evidentment, un detectiu hol·lístic que es diu Svlad Cjelli però que es fa dir Dirk Gently.
A cada pàgina que passa, una situació més absurda.
Res encaixa i tot tindrà sentit al final.
Què es pot esperar sinó d'una novel·la de Douglas Adams?

2019-2 Readings of the week
Diumenge 20 Gener 2019 - 16:32
NOTE: The themes are varied. Software/data engineering, languages, writing. Expect a similar wide range in the future as well. You can check all weekly readings by checking the tag here.

Goodbye, Mid-Range Shot

I love a good data visualization, for a long while, long, long time ago I was a paid subscriber to Nathan Yau’s Flowing Data. As usual, a short and interesting visualization where we can discover something about the world.

Speed up your Python using Rust

I need to try this ASAP. Write dylibs with Rust that you can use straight from Python (via the cpython crate).

Build Your Own Shell using Rust

I’m a lot into Rust lately, and here you can find out how to call subprocesses, how to handle errors, awaiting... It has a little bit of everything, even if you don’t intend to write a shell.

Introduction to TLA+ Model Checking in the Command Line

If you’ve been following my twitter or blog, you’ll know I’m really liking TLA+ for formal verification. It’s not like I have a lot to verify day-to-day as a big data engineer, but as soon as there are “big data” microservices around, TLA+ rocks to confirm all the Lego pieces fit as I think they fit. Cutting the story short, TLA+ runs on the TLC Toolbox, which is a Java application which is not super-modern-looking. If you’d rather use Sublime/Atom/Emacs/Vim/ed using TLC from the command line is possible and not hard. Take heed of Ron Pressler's comments on Reddit, though.

From Data Types to Session Types: A Basis for Concurrency and Distribution

The concept of session types seems very interesting. In a sense, Rust’s ownership/lifetime concept can model part of what session types cover.

How the Artificial Intelligence Program AlphaZero Mastered Its Games

I’ve been playing go, on and off (right now is on) for almost half of my life. Although I knew the basics already (I know some deep learning y’know), this is a good write up anybody could understand.

High-Performance Functional Programming Through Effect Rotation

I try to stay away from the more crazy levels of category theory inspired programming (as in, I use 0 of it and have no huge interest), but this post (Scala) about how to optimize stacked monad transformers was very interesting.

SoftwareMill blog: Free and tagless compared - how not to commit to a monad too early

I heard Adam talk about Free & Tagless at the Scala Exchange 2017 (IIRC), and it was one of the clearest expositions I had seen. This post is probably another, also from him. Totally recommended, with the bonus of getting to understand tagless encoding for “free”

Using spaced repetition systems to see through a piece of mathematics

I’m a big fan of spaced repetition in general and Anki in particular. Michaeel (Nielsen) uses it regularly for deeper understanding. If you want more “social proof”, Derek Sivers and Gwern Branwen also recommend it dearly.

The three-page paper that shook philosophy—a hacker’s perspective

When you can put a name on something, it becomes easier to handle. Gettier cases are such. Go read this.

Methods for Array Initialization in Rust

Just when I thought Scala offered too many ways for doing a thing, there comes Rust.

Experience report: organising a conference

I couldn’t attend Chris’ LambdAle last year (I will try this), but having helped organize PyData Barcelona, all he mentions are very valid concerns and tips.

Automatic categorization of text is a core tool now

It sounds obvious, but getting obvious staring you at the face without realizing is a problem.

Rust Performance Pitfalls

I’m still far from seeing performance issues in any Rust I have written (mainly because it’s a very small amount) but it’s good to know where I can stumble.

The Puzzle of Proto-Elamite

I love language history. If you do so too, you’ll enjoy this.

Understanding Rust Lifetimes

Nailing this is the main issue with Rust. This is a good introduction to lifetimes.

📚 The Haiku Handbook

Note this is an Amazon affiliate link.I have always liked Haiku (poems, the operating system is ok), and wanted to have a more formal model on them, to be able to write some someday. This is a very well-written book that reads quickly (to be fair, I skipped the chapter on Teaching)


I’m considering converting this into a weekly newsletter in addition to a blog post. These days (since RSS went into limbo) most of my regular information comes from several newsletters I’m subscribed to, instead of me going directly to a blog. If this is also your case, subscribe by clicking here and if enough people join I’ll send these every Sunday night or so.

2019-1 Readings of the week
Dilluns 14 Gener 2019 - 00:50
If you know me, you'll know I have.a very extensive reading list. I keep it in Pocket, and is part of my to do stored in Things3. It used to be very large (hovering around 230 items since August) but during Christmas it got out of control, reaching almost 300 items. That was too much, and I set myself a goal for 2019 to keep it trimmed and sweet. And indeed, since the beginning of the year I have read or canceled 171 articles (122 in the past week, 106 of which were read). That's a decently sized book!

To help me in this goal, I'll (hopefully) be writing a weekly post about what interesting stuff I have read the past week. Beware, this week may be a bit larger than usual, since I wanted to bring the numbers down as fast as possible.

NOTE: The themes are varied. Software/data engineering, drawing, writing. Expect a similar wide range in the future as well.

The Nature of Infinity, and Beyond – Cantor’s Paradise

A short tour through the life of Georg Cantor and his quest for proving the continuum hypothesis. In the end, he was vindicated.

Statistical rule of three

What is a decent estimate of something that hasn't happened yet? Find the answer here.

Apache Arrow: use of jemalloc

A short technical post detailing why Arrow moved to jemalloc for memory allocation.

Subpixel Text Encoding

This is... unexpected. A font that is 1 pixel wide.

Solving murder with Prolog

I have always been a fan of Prolog, and this is a fun and understandable example if you have never used it.

What Parkour Classes Teach Older People About Falling

Interesting. I'm still young, but I'll keep this in mind for the future.

Implementing VisiCalc

The detailed story about how VisiCalc (the first spreadsheet) was written.

The military secret to falling asleep in two minutes

I was actually doing something similar since I was like 12. It might be a stretch to say 2 minutes, but works.

Index 1,600,000,000 Keys with Automata and Rust

Super interesting (and long) post about how FSA and FST are used for fast search in Rust (I'm a bit into Rust lately). Also, BurntSushi's (Andrew Gallant, the author) cat is called Cauchy, something I appreciate as my cat is named Fatou.

How to Draw from Imagination: Beyond References

An excellent piece on gesture drawing and improving your technique.

Anatomy of a Scala quirk

All languages have their WAT, it's harder to find them in Scala though.

Chaotic attractor reconstruction

An easy example in Python of Takens' embedding theorem

Hello, declarative world

An exploration between imperative and functional, and how declarative fits the landscape

Python with Context Managers

Although I have written tons of Python, I never took the time to either write or understand how context managers work. This one was good.

Raymond Chandler's Ten Commandments For the Detective Novel

You never know when you may write a detective novel. Ruben and the case of the dead executor

Seven steps to 100x faster

An optimisation tour of a piece of code written in Go, from data structures to allocation pressure.

Writing a Faster Jsonnet Compiler

A semi-technical post by Databricks about Jsonnet and why they wrote their own compiler. Serves as an introduction to Jsonnet ("compilable JSON") as well.


Monoid font and Poet emacs themeToday I switched from solarized dark and Fira Code Pro to the above. It looks interesting

El 15 de febrer, està a punt per presentar els resultats del projecte d'associació estratègica a llarg termini 'TURN Online: transformació digital d'organitzacions juvenils, promoció de la pau i els drets humans'.
Organitzem la Conferència Final sobre els temes del programa que s'ha anat desenvolupant des de desembre de 2017: gestió digital, activisme en línia, comunicació social i 'e-learning'.
El programa de l'activitat inclourà la presentació de dos anys de treball, debats, tallers d'experts en temes de TIC i l'ús d'Internet en el camp de la joventut.

Podeu llegir aquí l'entrevista que des fem a Maria Cristiana Lucaci, vicepresidenta del 'Group of the European Youth for Change Association' que ha estat involucrada en el sector de la joventut durant 4 anys. Cristiana és la responsable de la iniciativa TURN ONLINE a Romania.


El projecte Pam a Pam valora totes aquelles entitats que compleixen els criteris de transformació social a través de la democratització de l’economia i la sostenibilitat. ha estat inclosa dins el mapa d'Entitats d'Economia Social i Solidària (ESS) de Catalunya del projecte Pam a Pam. Es tracta d’un mapa col·laboratiu i una eina per a la transformació social, on es mostren les iniciatives que compleixen els criteris d'ESS per facilitar el consum responsable.

Pam a Pam treballa per conèixer en profunditat cada iniciativa que mostra al mapa. Per fer-ho elabora un qüestionari amb 15 criteris que analitzen la sostenibilitat de les iniciatives: la sostenibilitat i cura de l’equip o la comunitat, l’impacte social d’aquestes en el seu entorn i l’impacte ambiental.

Aquests 15 criteris són:
Democràcia interna, desenvolupament personal, perspectiva feminista, condicions de treball, proveïdors, intercooperació, llicències lliures i obertes, transparència, gestió financera, cohesió social, transformació social, arrelament territorial, sostenibilitat ambiental, gestió de residus, consum energètic.
Entre tots aquest criteris destaca per la seva democràcia interna, el desenvolupament personal, condicions laborals, intercooperació, llicències lliures, transparència, finances transformadores, cohesió social i el seu arrelament territorial.
Estem contents de poder pertànyer en aquest moviment d’entitats que compartim valors similars, tals com la transformació social a través de la democratització de l’economia, l’autogestió del treball, la priorització de les persones per sobre del capital i les relacions basades en la cooperació i la sostenibilitat de la vida.
Més sobre al Pam a Pam.