Categories
python

Ubuntu 22.04 + Firefox + Selenium + Geckodriver: Connection refused

The Ubuntu 22.04 + Firefox with Selenium and Geckodriver problem is: selenium.common.exceptions.TimeoutException: Message: Connection refused (os error 111) An older firefox version was installed from source after looking at geckodriver’s supported platforms docs… Environment details: $ firefox –version Mozilla Firefox 89.0.2 $ geckodriver –version geckodriver 0.29.1 (970ef713fe58 2021-04-08 23:34 +0200) selenium 3.14.1 Example script: from […]

Categories
git

How to migrate a git repo to gogs?

Gogs is a self-hosted git server that describes itself as: Gogs a painless self-hosted git service How to Migrate a Git Repo to Gogs To migrate a git repo to gogs – the process is to clone the repo in mirror mode and then push it to gogs in mirror mode. This method will work […]

Categories
python

Python Performance: Checking a collection contains a value (Membership)

A common task in programming and development is finding items that exist already or recognising duplicates. This is done by checking membership of an element in a collection. Often a list is used as it is mutable (can be changed and items added to it) and it is suited for single items. However there are […]

Categories
boxing

Journeyman Boxers

What is a Journeyman? A competent but undistinguished tradesman, especially one who works, and is paid by the day. – wikitionary A tradesman who has served an apprenticeship and is employed by a master tradesman. – wikitionary What is a Journeyman in Boxing? In the sport of professional boxing – it is a learning as […]

Categories
recruitement

FutureForex: Technical Hiring Process

FutureForex uses Offerzen (and probably other methods) to get candidates for technical positions. They primarily use django and python. The Process Initial Interview You will interview with their CTO, Josh, for the first interview. He will give you an overview of the company and answer any questions you have. He will then ask some generic […]