Tag Archives: programming

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

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 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

Hash Table Shootout Updated

I spent today working on the Hash Table Shootout project. Check out the updated version on git hub: https://github.com/jimbelton/hash-table-shootout. I added a new fast benchmark that counts the number of unique words in the King James version of the bible … Continue reading

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

How To Use Heroku

Heroku is a cloud based development platform, part of Salesforce, that allows you deploy web based applications in the cloud. I’ve been playing with it to see what it can do. To create a new Heroku app named app-name in … Continue reading

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

Python virtualenv How To

To install the virtualenv command, run: pip install virtualenv If that fails and you have root priviledges, run: sudo pip install virtualenv To create a python virtualenv called venv, run: virtualenv venv To activate that environment, run: source venv/bin/activate You … Continue reading

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