Last week-end was the 30th anniversary of one of my best friends. For the occasion, I wanted to craft him a small puzzle with a custom secret drawing, as a reminder of some shared memories.
I came upon Erik & Martin Demaine's creation for CSAIL 2006, a print & play puzzle based …
(scroll below for the English version)
Hier, en compagnie de trois fidèles playtesteurs vétérans, j'ai eu l'occasion de jouer pour la première fois à Dungeon Heart, mon coup de cœur de la Pamphlet Dungeon Jam.
Très franchement, le jeu était carrément à la hauteur de mes attentes, et je crois …
Yesterday I was crafting some puzzles for my girlfriends, and I was looking for letter-based ones where I a secret word would be revealed once solved.
With this same goal, I had already once worked on an open-source JS word search generator: https://lucas-c.github.io/wordfind/
(pour les francophones …
Over the past years, on software programming projects where my end users where developers (other than myself or my team), I have tried to follow the advice of this website : keepachangelog(.com)
A changelog is defined by Wikipedia as :
a log or record of all notable changes made to a …
In June this year, Sean McCoy published a tabletop RPG called Mothership. It has recieved tons of positive reviews, including /r/rpg December's Game of the Month award:
It's a d100 sci-fi/horror system, perfect for running Alien or Event Horizon, but it is most importantly exceptionally well designed. Every …
I just added a favicon to this site, representing a glider of Conway's Game of Life.
This GIF was made with a Python script. The source code is on GitHub, and uses Zhao Liang's gifmaze.py.
Feel free to reuse the code to make you own favicons 😉
<style> article img { transform …</style>(English version at the bottom)
Cette semaine, nous avons testé le jeu de rôle Dog Bear, du collectif australien Invincible Ink, où l'on joue des soldats d'élite faisant leur compte rendu de mission à leur supérieur. Le jeu est paru en 2015, le PDF en anglais coûte 5$ et il …
Almost a year ago, GitHub introduced security alerts. They are an awesome feature.
They function as notifications you receive whenever a vulnerability affecting one of your project dependencies.
But long after receiving a notification, how to list all security alerts affecting your repositories ?
I didn't found an out-of-the box solution …
Some time ago, I used the overblog platform in order to create a blog for a long trip in Ireland.
Despite being sometimes very slow, it was overall a good platform, very easy to grasp for beginners. The blog is now old and unused, but before destroying it I wanted …
Being currently on a bike tour in Europe for several week, without computer nor smartphone, I don't have the opportunity to post much on this blog.
Still, I'd like to mention a discovery I just made from an Internet café here in Budapest : the Hearts and clubs website.
Curated by …
Yesterday I've stumbled upon a very surprising bug in some Python 2 code,
related to the use of the __del__
method in a vendor library we employ at work.
Here is some minimal code that reproduces the issue I met:
class MyClass:
def __init__(self):
raise RuntimeError('Woops')
def __del__ …
When I migrated this blog to Pelican, I noted one thing that I missed from Ghost: tags autocompletion, to help reusing tags I already defined in other articles.
Because nowadays I mostly use Notepad++ or vim
to write my blog posts,
I found out an easy solution that works for …
At work we have a component not yet migrated to Python 3, and we recently had some difficulties diagnosing a problem with the MySQL connector.
Because we were catching the mysql.connector.errors.Error
and raising a custom exception,
we were loosing the underlying stacktrace and hence couldn't troubleshoot the …
flask
httpie
requests
simplejson
botocore
scrapy
docker-compose
ansible
What are those diagrams ?
They show dependencies between the internal modules of various well-known Python libraries.
They goal is to provide a global overview of a Python project architecture, as a map of modules & packages, the top-level code abstractions.
Note that all …
This week I discovered the fantastic glitch art Reddit community (for a little more context on glitch art, wikipedia has a page). These are the pieces I love the most (click on them to find the source):
This one above reminds me of The Great Wave off Kanagawa. Like many …
On my personnal server, I used to send myself alerts by email using the handy standard mail
command.
However, recently it appeared that my server became categorized as "spammer" by some online service providers,
due to the alerts frequency (a little bit more than one per day).
Hence, I got …
Daniel Linssen, aka managore, is a fantastic indie game developer. I already mentioned one of his games, HopSlide, in a previous blog post (FR).
Now that it's clear that I am totally unbiased about this incredible game maker, lets talk about his latest games !
WalkieTalkie
This first one simply amazes …
In the last years, cmder became my default console when I needed a cmd.exe
-compatible Windows console.
Very often, I have a cmder
window with a set of tabs under my standard Windows user, and another that I launch as admi, to switch on/off some services, e.g …
This post may just look like a good excuse to show some holiday pictures (and really it is), sorry about that :)
I was in London last week, and I had the chance to make a tour of some great street art spots around Liverpool Street station, thanks to Fabrizio Gallozzi …
I ended up not using this code, but it may be useful to others:
mock_setup_provider.py
:
import sys
from unittest.mock import Mock
class MockSetupProvider(Mock):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.captured_setup_requires = set()
def setup(self, *args, **kwargs):
self.captured_setup_requires.update(kwargs.get('setup_requires'))
setup_extractor …