Category Archives: programming

URL Blacklists

URL blacklists are lists of web sites that contain malware or other dangerous content. Often, URL categorization lists are also referred to as blacklists, though blocking based on category (e.g. porn) is likely to be controlled by policy rather than … Continue reading

Posted in programming | Tagged , , , , , | 2 Comments

Creating a Shared Private Repo on GitLab

GitLab (gitlab.com) is a company that hosts git repositories in the cloud, like GitHub. Unlike GitHub, GitLab offers free repositories that can have multiple contributors. Creating a Private Respository To create your own private git repository on Gitlab: Create an … Continue reading

Posted in programming | Tagged , , , | Leave a comment

Debugging With gdb

If you need to debug a C or C++ program on Linux, I’d normally recommend using ddd, or some other graphical source code debugger. But if you are debugging remotely (over ssh for example), it’s worth knowing the basics of … Continue reading

Posted in programming | Tagged , , , , , , | 1 Comment

Installing Kivy on Debian Mint

Kivy is a free development environment for building portable python apps for iOS and android, supporting Linux, Windows, and OSX. Installation Here’s how I installed it: Ran: sudo add-apt-repository ppa:kivy-team/kivy Ran: sudo apt-get update Ran: sudo apt-get install python-kivy When … Continue reading

Posted in programming | Tagged , , , , , | Leave a comment

What’s the Best Source Code Control Cloud?

For my personal software projects, I use GitHub, which is great for open source or private single user projects. Is there a better cloud based solution for a small businesses? Here’s a summary comparison. I was going to include Google … Continue reading

Posted in programming | Tagged , , , , , , | 1 Comment

Wikidata Class Hierarchy

The latest update to the wd-extract.py program in my wikidata project (see https://github.com/jimbelton/wikidata for the code) includes the ability to extract the class hierarchy from a wikidata dump file. I’ve also added a new program, wd-diagram.py, that can render the … Continue reading

Posted in programming | Tagged , , , | Leave a comment

Wikidata Anomalies

I’ve found some interesting anomalies in the latest wikidata dump (from 2016-02-15). There are two properties referenced by objects that are not defined. The numbers in parentheses are the line numbers of the objects in the dump that reference the … Continue reading

Posted in programming | Tagged | 2 Comments

Wikidata Extraction Tool on GitHub

I just pushed the first bit of a tool for extracting information from wikidata.org. See my previous article for a description of the dump format. The tool can be found here: https://github.com/jimbelton/wikidata It doesn’t do a lot so far, but … Continue reading

Posted in programming | Tagged , , | Leave a comment

Big Data: How Much Space is Needed to Unzip a Gzip?

When you start playing with big data files like wikimedia dumps, you need a lot of disk space. Normally, if you run zcat -l file.gz, it will tell you how much. But for very large files: wikidata/data $ zcat -l … Continue reading

Posted in programming | Tagged , , , | Leave a comment

Top 10 Programming Languages in 2015

I’m going to try to combine data from 5 different sources to come up with a unified top 10 list of programming languages for 2015: # OVERALL Tiobe RedMonk IEEE Stack Overflow GitHub 1 Java Java JS Java JS JS … Continue reading

Posted in programming | Tagged , , , , , , , , , , | Leave a comment