A tale about vibe-coding

2025-08-03

This is my son’s story with AI assisted programming. He didn’t know what to do this summer, so my wife and I gave him a task to create a telegram bot to organize our family trips.

Adding code is easy

2025-07-25

Adding more core to solve issues is deemed as simple. The reality in many cases is that it’s just easier (aka lazier), in many cases the resultant code is more complicated and complex. The industry seems to reward this kind of quick fix.

Reviving my blog

2025-07-06

This is an account of the process I have followed to revive the blog’s looks, the tools I’m using for it, and the process of styling it.

Why is creating a list comprehension faster?

2019-11-18

Yesterday, I was removing a list-comprehension as an argument to sum. This is the diff:

- sum([p.price for p in self.products])
+ sum(p.price for p in self.products)

To show the original programmer my line of though I performed a little experiment with the following message and …

Composing iterator-returning functions

2018-08-01

A few days ago I was reviewing a piece of Python code. I was looking for a bug, but in the process I found a very interesting function.

The system allows the user to “extend” the structure of Products by providing more attributes which can be used later on when …

A failing fail in the monad list

2018-06-22

I’m following the Real World Haskell book. In the chapter about Monads, they create simple example using the list monad compute all …

Dissecting foldl in terms of foldr

2018-01-22

The book ‘Real World Haskell’ provides an implementation of foldl in terms of foldr:

myFoldl:: (b -> a -> b) -> b -> [a] -> b
myFoldl f z xs = foldr step id xs z
   where step x g a = g(f a x)

They ask the reader (me) to try to understand the implementation …

Non-curated notes about Cycle.js

2016-09-19

In the past few days I have been reading about Reactive Programming. Mostly about how it’s done with cycle.js. As the title attempts to suggest, this post is by no means an account of well thought ideas, but my first ideas and notes while reading about it.

Cycle …

Generating unique static URLs in Odoo

2016-09-02

By default Odoo bundles static assets (JS and CSS) within a couple of files: All CSS files are bundled into a single big CSS file. The same happens for JS files.

The URLs of those bundles vary with any change within any of the included files. But those files are …

The bus implementation in Odoo and notification systems in the Web

2015-09-12

This post is about 2015’s crosstab communication in browsers, and how to use it Odoo to avoid it becoming unresponsive if the users open many tabs.