Skip to content

Instantly share code, notes, and snippets.

Les couacs du vote électronique, un tremplin bienvenu pour vous parler de résilience

Au lendemain des élections communales, j'observe la vague verte s'écouler dans les quotidiens, et m'amuse de la voir partager l'actualité avec d'autres titres évoquant les (très attendus, j'y viens!) couacs du vote électronique.

A Bruxelles, quarante-sept bureaux de votes ont ouvert avec deux heures de retard ou plus, cinq n'ont semble-t-il jamais ouvert. A Wavre, au delà des files interminables constatées, c'est le décompte qui a été fortement perturbé par une panne d'électricité.

Je suis un professionnel du secteur informatique, en charge du développement et du monitoring de systèmes informatiques souvent complexes, docteur de l'UCL dans l'équipe d'ingénierie informatique et... ces problèmes ne m'étonnent aucunement. J'irai même plus loin: personne ne les règlera jamais, c'est comme cela. Cela vous étonne? Moi pas.

Comme je suis me récemment intéressé à la notion de résilience dans le cadre d'initiatives de transition

@dglaude
dglaude / code.py
Last active February 16, 2021 00:07 — forked from wildestpixel/code.py
Pimoroni Pico Display Pack Circuitpython 6.2b1 bitmap gradient
"""
I don't have a Pico Explorer from Pimoroni, but I have a MiniPiTFT 240x240 from @adafruit
https://www.adafruit.com/product/4484
So with a little bit of wiring I can now run code on the Pico made for the Pico Explorer screen.
Fork from https://gist.github.com/wildestpixel/70208a0581d30bcee7b328a408e4ef9c just edited for 240x240.
adapted from http://helloraspberrypi.blogspot.com/2021/01/raspberry-pi-picocircuitpython-st7789.html
"""
import os
@dglaude
dglaude / code.py
Last active May 17, 2022 12:51 — forked from wildestpixel/code.py
Pimoroni Pico Display Pack Circuitpython 6.2 b1 running code
"""
adapted from http://helloraspberrypi.blogspot.com/2021/01/raspberry-pi-picocircuitpython-st7789.html
"""
# Adapted for 240x240 MiniPiTFT from @Pimoroni
# Based on https://gist.github.com/wildestpixel/86ac1063bc456213f92972fcd7c7c2e1
# Found thanks to https://www.recantha.co.uk/blog/?p=20820&
import os
import board
@dglaude
dglaude / code.py
Created February 1, 2021 21:31 — forked from antonizoon/code.py
bb10keyboard_hid
# based on the example here, needs the same libraries https://github.com/arturo182/keyboard_featherwing_sw/tree/master/circuitpython
# also drop in the adafruit_hid library. basically just added keyboard send ability when it displays to the screen
# as per the README: https://github.com/adafruit/Adafruit_CircuitPython_HID
#
# HID Keyboard functionality could be improved. Currently it sends the current line to the UART Output terminal as a log
# but it might be better to just remove the UART functionality as it adds lag.
from bbq10keyboard import BBQ10Keyboard, STATE_PRESS, STATE_RELEASE, STATE_LONG_PRESS
from adafruit_display_text.label import Label
from adafruit_display_shapes.rect import Rect
import adafruit_ili9341
@dglaude
dglaude / code.py
Created February 1, 2021 21:31 — forked from antonizoon/code.py
bb10keyboard_hid
# based on the example here, needs the same libraries https://github.com/arturo182/keyboard_featherwing_sw/tree/master/circuitpython
# also drop in the adafruit_hid library. basically just added keyboard send ability when it displays to the screen
# as per the README: https://github.com/adafruit/Adafruit_CircuitPython_HID
#
# HID Keyboard functionality could be improved. Currently it sends the current line to the UART Output terminal as a log
# but it might be better to just remove the UART functionality as it adds lag.
from bbq10keyboard import BBQ10Keyboard, STATE_PRESS, STATE_RELEASE, STATE_LONG_PRESS
from adafruit_display_text.label import Label
from adafruit_display_shapes.rect import Rect
import adafruit_ili9341
@dglaude
dglaude / code.py
Created November 22, 2020 00:12 — forked from ladyada/code.py
CircuitPython Countdown for MagTag Demo
import sys
import time
import board
import wifi
import socketpool
import adafruit_requests
import ssl
import rtc
import displayio
import terminalio