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 […]

Categories
django

Django Admin: Speed up Change List and Item Change Views

It was noticed on a django site that made use of django.contrib.admin that page loads were getting slow. Lots of data had been added (about 77MB worth, tables with more than 10000 records and up as well as a number of joins). A great tool for these situations is a profiler. Django-debug-bar is a easy […]