Blog

Premises of WordPress content handling

As we approach the release of WordPress 5.0, which will feature the introduction of the new Gutenberg editor, it is worth taking a look at WordPress’s current model in handling user content.

A page request

Consider the following simplification of the data pipeline for a front-end page request:

Continue reading “Premises of WordPress content handling”

Descartes’s methodic learning

In Rule VIII of Règles pour la Direction de l'Esprit, Descartes writes:
Si quelqu'un se propose comme problème d'examiner toutes les vérités pour la connaissance desquelles la raison humaine suffit (examen que doivent faire, ce me semble, au moins une fois dans la vie, tous ceux qui s'efforcent sérieusement de parvenir à la sagesse), il trouvera certainement, par les règles qui ont été données, que rien ne peut être connu avant l'entendement, Continue reading “Descartes’s methodic learning”

PSA: Double-check your strings for ambiguous contexts

Originally posted internally at Automattic a while ago, I’m publishing the following piece concerning software internationalization (i18n) for whomever it may serve.

Consider the following piece of UI:

trash-verb.png

You don’t need to know exactly which part of your application this is in order to understand the label Trash. Translators and the translation engine, however, will only see this: Continue reading “PSA: Double-check your strings for ambiguous contexts”

Functors & Monads: An Introduction

Following some in-person chats on a number of concepts of functional programming, my team pushed me to try to share and present some of these to a wider audience. Admittedly, finding online resources on FP that are both palatable and reasonably sized is not always easy. This article was written in December 2015 and was my best attempt—in my own perspective and with my own analogies—to talk about what lies beyond the obscure term monad by starting with functors.

Functors

Continue reading “Functors & Monads: An Introduction”