Connect IRC bot to Libera with SASL

Libera now requires SASL authentication for dedicated servers network ranges, for example IP ranges for Scaleway. You can check quickly this behavior with nc irc.ipv4.libera.chat 6667 (IPv6 ranges seem less an issue than IPv4 ranges) or with openssl s_client -connect sodium.libera.chat:6697 command::mercury.libera.chat NOTICE Odderon :*** Notice — SASL authentication to a NickServ account with a […]

Read more

Get URL from Git commit hash

SHA-1 Git hashes can be mapped to code review or code repository URL to offer a web visualization with additional context. The resolve-hash command allows to get such URL from a Git hash, or another VCS reference. It can search Phabricator, Gerrit, GitHub and GitLab currently. Ouf of the box, it will detect your ~/.arcrc […]

Read more

March 2018 in links

Some links of stuff I appreciated this month. Links to French content are in a separate post. Illustration: The western span of the San Francisco Bay Bridge at night. This image was selected as picture of the day on Wikimedia Commons for 26 March 2018. Science 17 March 1958, a small satellite, the size of a grapefruit is launched. It’s still […]

Read more

Find TCL headers and libraries in Debian and FreeBSD

Problem. You want to compile a software against TCL. You run ./configure, but it can’t find it. You so need to locate where are the headers and the libraries. Solution. Start with the TCL version. On Debian: headers are in a subdirectory in /usr/include, named tcl followed by the version libraries are sorted by architecture, […]

Read more

FOSDEM PGP Key signing party FAQ

FOSDEM organizes each year one of the largest  keysigning event for PGP keys. When we come back from a key signing party, what to do? Here a FAQ with some useful notes about how I sign the keys. Sign other keys Bad practice: don’t upload keys you’ve just signed to the PGP server At the […]

Read more

A Laravel command to run a SQL console à la Phabricator

Phabricator offers a bin/storage shell command. It allows to run the mysql client with the options from the application configuration. That’s useful in a modern distributed environment, when it’s not always straightforward to know what server contains what databases and what credentials to use. In a Docker container, for example, that could be a linked […]

Read more

MediaWiki now accepts out of the box RDFa and Microdata semantic markup

Since MediaWiki 1.16, the software has supported — as an option — RDFa and Microdata HTML semantic attributes. This commit, integrated to the next release on MediaWiki, 1.27, will embrace more the semantic Web making these attributes always available. If you wish to use it today, this is already available in our Git repository. This also simplify […]

Read more