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-10 Readings of the week
Dijous 18 Abril 2019 - 11:39
NOTE: The themes are varied, and some links below are affiliate links. Software engineering, psychology, generative art. Expect a similar wide range in the future as well. You can check all my weekly readings by checking the tag here . You can also get these as a weekly newsletter by subscribing here.

If you are wondering why the list is shorter this week (and is so late) is because last week I said I was going to play Stardew Valley, and I complied. Oh, I also played a bit with creating fun models with Alloy, maybe I'll explain something soon.

Could very well be named
Autumn Rhythm, Letter C

The Day Feynman Worked Out Black-Hole Radiation on My Blackboard

The way Richard Feynman found interesting stuff and just had a go (have you read Surely you’re joking, Mr Feynman?) is astonishing.

How to Set Up VSCode for Remote Pair Programming

I’ve been researching better ways to help my coworkers while I’m remote. This VS Code setup looks interesting, although I’ll need to get an emacs/vim plugin if I am to use it.


If you run OCR on paint splashes, you get mostly valid Perl code.

Multi-Scale Truchet Patterns

I always enjoy a good generative art finding, and Truchet tiles have always claimed a spot in my heart (I loved Cameron Browne’s Che game, even if it's a bit thin after a while)

How Mental Models Unlock Your Thinking

I follow Shane’s podcast (and newsletter) regularly, so I’ve been looking forward the release of his audiobook. Now, it’s here, and I got it already.


These weekly posts are also available as a newsletter. 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.

2019-9 Readings of the week (x4)
Diumenge 7 Abril 2019 - 19:37
You know how you slip once on a habit and everything goes crazy? Well, I’ve been 4 weeks without writing these, so here’s the accumulated reading from 4 weeks. Because, even if I don’t write it, I read a lot anyway. Also, there’s lot of interesting content this “week”.

NOTE: The themes are varied, and some links below are affiliate links. This edition contains Rust, food, Scala, functional programming, psychology, Python, likes to nice images, and a bit on procedural generation. Also the books I read these days. Expect a similar wide range in the future as well. You can check all my weekly readings by checking the tag here . You can also get these as a weekly newsletter by subscribing here.

Stardew Valley and real life labour

I bought Stardew Valley for iOS during Christmas, after hearing how much Mike Hurley (from the Cortex podcast, and all around the podcasting network) likes it. But, still haven’t played, maybe this week? (although, Cultist Simulator appeared on iOS last week, and it’s very engaging, specially on an iPad Pro with a Pencil).

📚 Superforecasting

I’m undecided on this book. The premise was excellent, the analysis as well, but it was lacking a bit on the “how” area of superforecasting.

To Be Lucky, Believe That You Are

There is something to this, also, more on luck further down. I’m a lifetime subscriber to Nautilus, and you should consider becoming one. Their print magazines are beautiful, and the articles always insightful.

What Working At Stripe Has Been Like

Anything Patrick McKenzie (patio11) writes is worth reading. Don’t miss his Salary Negotiation post.

Cloud Management with Prolog

Prolog, and its query ability sound ideal for a lot of scenarios. This could very well be one of them, although dumping to SQL could be more useful when working with a team.

Addition Font

How to exploit the depths of font description languages to compute. Also has a minor proof on how font rendering (removing some implementation blocks to avoid overflows in font engines) is Turing complete.

Twitter thread about immutability in Python by Yury Selivanov

Some ways you can get pretty much immutability. If you are a functional-ish programmer you’ll value this.

White gold: the unstoppable rise of alternative milks

I like the occasional oat milk (I like the taste of oats) or a specific brand of Catalan walnut milk (pairs perfectly with coffee)

📚 Bad blood

To be fair, I got the audiobook version, but it is thrilling. I listened to it in one weekend, and I didn’t finish earlier because AirPods need recharging.

Apache Spark 2.4.0 features - array and higher-order functions

Aside from the move to Scala 2.12, this is for me one of the most significant changes to Spark. Although I haven’t used these yet, there have been several moments in the past where I needed mapping capabilities over arrays and had to resort to a UDF. They are not hot paths, but knowing how UDFs behave, I’d get a decent speed up of these parts by moving to a HOF.

Faster File Distribution with HDFS and S3

How to load your data into HDFS is always a key question. Pre-load it? Load it directly with a specific (say, construct from S3? Here there are some benchmarks of what is more effective, at least for Presto. Results probably extend to Spark et al, since being based over HDFS is the key part.

Mumble: the open source VoIP solution

I learnt about Mumble and the Murmur server a few weeks ago. They are a system for very low latency, low bandwidth audio-only (optionally a bit of text) communication. I wonder if it can help me work remotely more effectively (helping with pairing, or with random “quick talk” while avoiding the overhead of a video call under Slack, Skype or Meet). This Hacker News comment seems to cast it in the correct light.

La belleza matemática de la naturaleza, en ilustraciones de proporciones áureas

Note this is in Spanish. Served as an excuse to find out about Rafael Araujo and his books, The Golden Ratio: The Divine Beauty of Mathematics (with text by Gary Meisner) and Golden Ratio Colouring Book. I have now some of his drawings as backgrounds of my devices. They are gorgeous.

Barcelona from Above (set of pictures by Márton Mogyorósy on Behance)

These were my previous device backgrounds. You can also follow the author on Instagram (you can also follow me but I’m not that interesting)

Space Colony Art from the 1970s – The Public Domain Review

The 70s were special

Laws for Communicating Parallel Processes

A classic paper by Hewitt, the seminal work on actor systems.

Roguelike Tutorial in Rust + tcod

I enjoy playing ASCII based roguelikes from time to time (DCSS, CDDA or Dwarf Fortress), writing one would be cool. And yet another excuse/way to learn more Rust.

Fast and easy high resolution fractals with a pixel shader

I stopped generating fractal stuff before using shaders for it was common, so I never got to learn it. Now, I want it back. It was so much fun.

Python Data Landscape Diagram

A super-thorough diagram showing the data analysis library landscape in Python, with some words on each technology/library.

How the UK lost the Brexit battle

From Politico. It is super-long, but well worth the read if you are anywhere related to Brexit. This could easily be described as how not to manage your negotiation deals.

Procedural Generation with Wave Function Collapse

Like fractals, procedural generation is something I have always enjoyed (as a concept, as a result and as a programming problem). WFC is a good approach for generating maps, images and anything with “rules”

Rust Lifetimes for the Uninitialised

A thorough introduction to how Rust lifetimes work and how to use them

Controlling the Spice, Part 3: Westwood’s Dune

A short history about how Dune II came to be, and to appear almost at same time than Dune. Also, how Westwood (and Dune II) shaped real time strategy from then on.

Python Patterns

An analysis of some common patterns (à la Gang of Four, patterns) when applied to Python

The Unexpected Philosophical Depths of the Clicker Game Universal Paperclips

In the clicker realm, I much prefer SpacePlan (or A Dark Room, but that’s not 100% clicker), but UC was interesting.

Spread the word: the rise of craft butter – and how to make your own

Craft beer, craft bread, craft butter. It’s hard to come with good quality cream in Spain, though.

📚 Platt’s How to Draw Cartoons

A very short and sweet book on drawing cartoonish people. Highly recommended. And I found out the author lives in Hay-on-Wye, given the amount of times we’ve been there I wonder if we’ve crossed our paths.

Oh, shit, git!

If your local git guru is away, this can save the day.

UDFs vs Map vs Custom Spark-Native Functions – Farox2q – Medium

Some benchmarks and code comparisons between UDFs, map and custom spark functions. Sadly, you can’t implement the latter without using a custom build of Spark, and good luck deploying that to EMR...

M-16: A Bureaucratic Horror Story

The surprisingly interesting story about a weapon, the M-16, and how a lot of bad decisions happened because “committees & politics”

Talent vs Luck: the role of randomness in success and failure

A paper. This model sounds super-interesting, and I want to replicate it in Python as soon as I have a few hours available (meh)

How to Deal with Difficult People on Software Projects

It’s funny because it’s true

Machine learning teaches me how to write better AI

This is an old post, but I have always found it really interesting. I used Normalised Compression Distance once, but I no longer remember the setting (I think it was as part of a decision tree metric, but the details escape me, it was 6 or7 years ago)

Supervision and error handling in zio, akka, monix

Zio, Monix and Akka can be used for similar things (asynchronous execution of streams/“stuff”). How you handle errors is different though, and sometimes using one for its error handling can make a difference.

From 48s to 5s - optimizing a 350 line pathtracer in Rust

If you’ve been counting, I’ve been reading a lot of Rust stuff lately. I have always been interested in raytracers/path tracers (wrote one in Lisp ages ago, got up to refraction), so this was a natural fit.

📚 Software Abstractions

This “week” I finished the second edition of Software Abstractions, the book on the Alloy modeling language. It is pretty good. Starts as a light read, but after a while how the language works starts to be a bit too cumbersome. Luckily there’s an extensive set of examples throughout the book, and an examples section at the end. I’m itching to model something in Alloy, but I’m still unsure what.

Remastering Star Trek: Deep Space Nine With Machine Learning

The result is impressive. And got me to consider installing the app used.

The Pyrex Glass Controversy That Just Won't Die

Surprisingly fascinating story about why Pyrex is of lower quality lately in the States. Lucky for me, in Europe it’s still fine

Pinot Joins Apache Incubator

YAQEE (Yet Another Query Execution Engine). But sounds interesting, and has a nice logo. I’ve seen worse

How Bluetooth got its name, an interview with Jim Kardach

Ye olde Harald!

A Pi-Powered Plan 9 Cluster

Plan9 is what Linux could-have-been. It was built for clusters, with file, process, sharing made easy. A long time ago I had a 2-machine cluster (1 Raspberry and a very old laptop), which I used as a storage/sharing files across two Macbooks using Plan9 from User Space syncing into a Venti file server. Ah, those were the days!

Modern art was CIA 'weapon'

TL;DR: The CIA funded art tours to show the capitalist West still had creativity

Maya ritual cave ‘untouched’ for 1,000 years stuns archaeologists

My girlfriend majored in History, with a focus on pre-Columbian meso-american history, so I always pay more attention to articles about the area.

Remembering a Programming Language that Helped Shape the Digital New York Times

An interesting history tidbit. And a good lesson on why custom-built languages and DSLs are a blessing and a curse.

📚 Guns, Germs and Steel

I’ve had this book on my Audible account since... 2014 I think. And actually, I also have the print copy. It was recommend to me by my thesis advisor, and it is indeed a very interesting subject, but there are points when the Audible version is as dull as watching paint dry. I haven’t read the print version, but consider that before audiobook.

Final Tagless seen alive

This is a response to John de Goes’ talk The death of final tagless. I don’t have a definite opinion here. I like free monad approaches, since they make interpreters easy to understand and optimisable “easily”, on the other hand Zio looks clean, but that’s as far as I go: I don’t have a strong opinion either way on final tagless, judge yourself from both sources


These weekly posts are also available as a newsletter. 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.

El projecte de Waitàlia posa a l'abast d'entitats, administracions i empreses 34 icones que reflecteixen conceptes que fins ara no s'han vist representats o que s'han mostrat de manera estereotipada.
Les icones simplifiquen la realitat per tal d'oferir amb un cop d'ull informació i indicacions. Amb aquesta simplificació, però, moltes vegades reprodueixen estereotips i, fins i tot, els reforcen.

Les dones i altres subjectes no hegemònics queden sovint invisibilitzats. A més, quan les dones estan representades ho és en tasques socialment atribuïdes a la feminitat tradicional (com són les cures, per exemple), perpetuant aquesta distribució de rols.
Així, doncs, el disseny gràfic no és neutral. Davant aquesta realitat, des de la plataforma digital de comunicació ètica Wàitala, juntament amb l'Associació Matriu, han engegat el projecte 'Icones per a la diversitat', que promou el respectei la diversitat a través de la creació d’icones lliures d’estereotips i prejudicis.

El projecte és resultat d'un procés de reflexió que van iniciar les dues organitzacions, l'abril de 2018. Fruit d'aquest procés, l'Associació Matriu ha elaborat un informe i Wàitala el kit amb imatges inclusives.

Amb aquestes icones han volgut emfatitzar la diversitat, "amb la finalitat d'erradicar la violència masclista heteropatriarcal i donar visibilitat a conceptes i idees vinculades a la solidaritat i l'entorn social". D'aquesta manera, pretenen "sumar esforços en la generació de nous referents visuals que incideixin en la creació d’un imaginari cultural més ric, divers i respectuós i, per tant, una societat més justa i inclusiva".

El material gràfic es pot descarregar de manera gratuïta. Només cal registrar-s'hi amb una adreça de correu electrònic, on fan arribar l'enllaç a la descàrrega. Està especialment pensat per a entitats de l'economia social i solidària, administracions i institucions, empreses sensibles a la diversitat i a qualsevol persona que les vulgui fer servir en les seves accions de comunicació, senyalització d'espais compartits, etc.

Des d’aquí podeu descarregar-vos les icones per la diversitat.


image/jpg és el 'partner' de 'Tech for Good' per a la investigació a Espanya sobre l'ús de les tecnologies en el sector no lucratiu. El resultat de la investigació se suma al 'NGO Global Technology' 2019. 

Seguir llegint... Participa a l'enquesta mundial 'NGO Global Technology' 2019

Aparegut originalment a: Fundació el 07/03/2019

L'Enquesta Mundial d'ONG sobre Tecnologia 2019 ('NGO Global Technology') és un projecte d'investigació mundial publicat en àrab, anglès, francès, portuguès i espanyol per comprendre com les organitzacions utilitzen els avenços tecnològics d'Internet amb la finalitat de recaptar fons i saber com poden millorar.


Promogut per l'organització sense ànim de lucre 'Tech for Good' i patrocinat per 'Public Interest Registry', l'enquesta és un estudi innovador que té com a objectiu descobrir, entre altres dades, la quantitat de publicacions per setmana de les organitzacions a Facebook i Twitter, com utilitzen les seves pàgines web com a eines de recaptació de fons o com, aquestes mateixes organitzacions, fan ús dels correus electrònics per a màrqueting i comunicació.
La investigació a la qual et convidem a participar se centra, aquest any, en web, comunicacions per correu electrònic, recaptació de fons en línia, xarxes socials, i gestió de dades. Si participes en un projecte no lucratiu et convidem a col·laborar a l'enquesta a través del següent enllaç.
Fes l'enquesta de la 'NGO Global Technology' 2019.

El Public Interest Registry és una organització sense ànim de lucre creada per la 'Internet Society' (ISOC) el 2003 per tal d'administrar el domini .org. El 2015, l'organització va llançar els dominis .ngo i .ong per brindar un millor servei a la comunitat mundial de les ONG.
Així mateix, 'Tech For Good' té al voltant de 100.000 visitants al mes i més d'un milió de seguidors a les xarxes socials. Actualment, és una de les plataformes més grans de recaptació de fons en línia amb una gran xarxa social professional que treballa amb organitzacions sense ànim de lucre.
Els resultats de la quarta edició d'aquest informe global de tecnologia es publicaran el 16 de setembre de 2019. Les edicions anteriors de l'informe també van publicar els resultats de l'últim any sobre l'ús que fan de la tecnologia les ONG.
Per realitzar la investigació 'Tech For Good' ha triat partners significatius en 22 països entre els quals destaca
Global: ICT4D Conference
EUA: Foundation Center
Índia: NGO BOX
França WEB
Reyno Unit TechTrust
Irlanda: Digital Charity Lab
L'enquesta és 100% anònima i no inclourà cap pregunta que pugui revelar informació personal i d'identificació. Per participar a l'enquesta, fes clic al següent enllaç.
Fes l'enquesta per a la NGO Global Technology 2019.