Curating Content with Python’s Newspaper

There is a new library for Python called Newspaper that makes scraping news articles from websites easy. It supports multiple languages, has multithreaded downloads, and even does some natural language processing (keywords based on relative frequency). When programming tasks are made this easy, it is sometimes referred to as magic. Which is not a good thing… Read More »

Python Decorators, *args, and **kwargs Explained

Questions about decorators, *args, and **kwargs come up often, but don’t always have concise and comprehensive answers. Official documentation tends to explain things in terms of textbook definitions and proper syntax, with an example or two if you’re lucky. If you already know a programming language or two that may be fine, but a newcomer… Read More »

How to Install Gitlab on a Raspberry Pi 2+

Gitlab is a web-based free and open source Git repository manager much like Github. These version control services both utilize the Git version control system originally created by Linus Torvolds under the GNU GPL v2 license in 2005. There are many Git services now, but the two biggest providers, Github and Bitbucket, require paid plans… Read More »

How to Get Started with Django Properly (for free!)

Recently I gave Python’s Django a try. Django is a free and open source web framework that allows for the quick creation of any kind of website, ranging from blogs to stores to Git server front-end. Django is extensible and has thousands of modules or “packages”.  One of the best things about this project is the abundance… Read More »

Close Encounter with Vendor Lock-in, Python Triumphs

Vendor lock-in is a term that refers to the practice of a company making a customer dependent (but not entirely) on their goods or services. In IT circles, I hear Cisco’s name thrown around a lot with references to “building a moat“. Some other examples of this are: the patented K-Cup brewing system of Kuerig, printer… Read More »