Category Archives: Uncategorized

Playing with rxjs

This will be a very short post. Nobody read blogs nowadays. The WP API I was using to make this blog shiny no longer works, and it has now reverted to a sad-looking late ’10s template. I might sort it out in the next few days, but again, I suspect that the audience is… limited, at best.

In any case, in the early Summer I have left a long-running project where I was using rxjs a lot. In order to check if I still remember this library after a very long holiday, I have written this skeletal game:

https://github.com/barbaracassani/fuzzytiles

It’s really nothing special: you have to make all the tiles disappear by clicking on the pair of the same colour. They move, so it gets a bit difficult towards the end, but this isn’t exactly a hard / engaging game. I just wanted to check if the pairing rxjs + @react/rxjs is still familiar to me. I am pleased to say it is.

Le radoteur

One of the most curious episodes of my life: I was 18 or 20 when during a holiday I found in a Parisian bouquiniste an used copy of Théorie du bordel ambiant by Roland Moreno; I read it and was so enthused (it’s a riot, believe me — it would cheer anyone up) that I wrote him a fan mail. He did answer, and a long correspondence ensued for several years, til it was sadly cut short by his untimely demise.

Roland Moreno was an inventor, credited in the francophone world as the main creator behind the smart card. His role in this is not without controversy (a good friend of mine who was in the same industry says “he made a prototype the size of a washing machine”) but there is no doubt that his contribution, and the rewards he reaped, were huge. However, his vivacious and keen intellect wasn’t guided by notions of importance or monetisation: he loved making things, even apparently pointless things like the Matapof, featured in Sautet’s Les choses de la vie. Among his many inventions, surely le radoteur is among the minimal and minor, but heck, it’s fun. It’s an algorithm to invent new words, starting from a series of “model words”, and he used it in the 60s to create new medicines names for a pharmaceutical company. The algorithm is described in detail in the Théorie. It’s very simple but I can attest it works still pretty well, the more if informed by a vast and consistent vocabulary.

I have written a Typescript version of it, mostly because I wanted to use it myself and other versions I found around were impractical or buggy. It’s minimalist but effective, it was fun to make and a lovely memory of an exhilarating episode of my early youth.

https://gist.github.com/barbaracassani/17787e244a5408e2e2cc16615ef10d1f