Home | Riff Blog
Quick news
2025-02-14: Working on a TLA+ model for Kafka
2024-08-01: I'm back at Deliveroo to work on Kafka production at scale
2019-10-26: Presenting on
NoSQL in Drupal 8
at DrupalCon Amsterdam
2019-02-15: Presenting on
FranceTV Sport on Drupal 8
at DrupalCamp Paris
2018-06-08: Presenting on
how to react to a hacked site
at Drupal Hack Camp
2014-01-26: My post on the
Symfony web profiler in Silex
selected in
Week of Symfony
. w00t !
2013-10-18: My first commit went into
MongoDB
today. And, guess what ? It's in JavaScript
Latest sites
2017-11-26: New Drupal 8+ site at
Rue du Commerce
, architected and tech-led by OSInet, just went throught Black Friday week with flying colors thanks to RabbitMQ
2017-02-20: New Drupal 8+ site galaxy (+/- 70 sites) for
Agences Régionales de Santé
architected and tech-led by OSInet, delivered by Klee
2015-08-21: 50% less server load with
MongoDB
on the Drupal
site factory
at France Télévisions
2015-07-15: Our first Drupal 8 production site at
France Télévisions
is live
2014-08-18: 400% speedup in 3 weeks for
: who said Drupal back-offices had to be slow ?
2014-02-07: Sotchi Olympics traffic not a problem for
, which I rearchitected on Drupal 7 in 2013
2011-09-14: Completed migration of
FranceInfo.FR
from SPIP to Drupal
about How to use modules or themes not yet available on Drupal 11 with Composer
Add new comment
Let's face it, with the velocity of major version upgrades in Drupal having increased a lot since Drupal 9, many projects - both themes and modules - do not yet have releases for Drupal 11, or even Drupal 10 for some of them, although they may have automatic compatibility patches / issue forks ready to be committed for months. Alas, just because they do not declare Drupal 11 (or 10) compatibility in their
composer.json
(or they don't have one yet, looking at you
Bartik
),
composer require
with a
patches
clause won't work because Composer checks for compatibility without the patches. So how can we use all that perfectly ready code that doesn't have a correctly labeled release ?
about Avoid gettings your Gogs instance hacked after CVE-2024-39930
Add new comment
If you are using the Gogs git server and just apply updates automatically without Reading The Fine Manual, your server became vulnerable with the 0.13 releases, enabling vulnerabilities described by CVE-2024-39930, CVE-2024-39931, CVE-2024-39932, CVE-2024-39933. See how to fix it.
about Tip of the day: using Homebrew to get PHP Pear extensions behind a proxy
Add new comment
Most of the time, installing tools using Homebrew works flawlessly, including PHP these days. However, having to work in a client environment requiring a proxy, the PHP 8.1 post-install failed when updating Pear/Pecl channels, although the usual
http_proxy
and
https_proxy
were set and worked normally, including for the other Homebrew tasks. What could be going on ?
about The end of function execution in Go code
Add new comment
about Tip of the day: validating a Jenkinsfile from the CLI with HTTPie
Add new comment
While there are many examples about how to use it with cURL, I could not find any using HTTPie, which I find much more convenient in general than cURL. So, after some fumbling due to the little documented expectations of the validator, here is the solution showing how to validate a Jenkinsfile from the CLI:
about Writing an SMTP service in Go
Add new comment
Because sometimes, it's nicer to users to allow them to contact us by email, it occasionally becomes useful to handle incoming mail. Let's see how.
about Tip of the day: running Flagr Docker image on a M1 mac
Add new comment
After almost one year with an Apple Silicon macBook, I eventually got my first actual problem caused by the architecture : trying to deploy the
Flagr
Open Source feature flags service, the docker deployment failed like with an image error. The fix turned out to be fairly simple:
about Parsing actual IANA language codes
Add new comment
While working on i18n in Go with the
x/text
package, I had to dive into the subtleties of language tags (RFC5646) and their filtering/lookup (RFC4647) and, would you believe it ? things are much less simple than we usually take them to be, even in a real-life i18n environment like Drupal 8/9/10.
about Tip of the day: how to edit Ansible Jinja2 templates in JetBrains IDEs
2 comments
Add new comment
How to edit Ansible templates in GoLand, PhpStorm, or other JetBrains IDEs: think outside of the box ! There is a free solution...
about Tip of the day: patching legacy Drupal 7 projects with Composer
Add new comment
Some late Drupal 7 projects use Composer for project structure and tooling,
even though they don't use Composer for the Drupal requirements proper. In that
case, the normal Drupal 8/9 patching process using
cweagans/composer-patches
is not available, since dependencies are not handled with Composer. So is there
a way to apply patches cleanly from Composer ? Sure there is! Let's see how.
Subscribe to
fgm @ OSInet
Looking for Go / Kafka / Drupal / MongoDB expertise ?
Contact me
, see how we could work together.
Have you read my
Go book
and its blog ?
Is your site reliably up ? Check with the free Log4U
uptime monitoring
service.
Check my drupal.org "
fgm
" profile
Find me on
Follow me on LinkedIn
Recent comments
Thanks for the suggestion …
1 year 4 months ago
Twig extension is not necessary
1 year 4 months ago
Thank you so much, removing…
6 years 8 months ago
thanks
7 years 8 months ago
Interesting article to read..
8 years 9 months ago
Thanks for the great
9 years 2 months ago
Clever! I've used some pretty
9 years 4 months ago
Yes, I guess that PostgreSQL's not easy to tune
9 years 6 months ago
thanks, this helped me
9 years 7 months ago
New repo for VIES client
9 years 8 months ago
US