Tag Archives: python

Writing Utilities in Python: fang

While working at Salesforce, I hacked a nice little utility in perl called fang, which is short for “find and grep”. It had some nice features, and I’ve often wanted something like it that I could use at home and … Continue reading

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

Building cpython/Doc on Linux

For all the gory details, check out the Python Developers Guide. Installing and Building the Doc Here’s the process I followed to be able to work on the CPython documentation on Linux debian/mint: See if mercurial is installed by running: … Continue reading

Posted in programming | Tagged , , , , | Leave a 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

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

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

Baker Proof of Concept on GitHub

The first proof of concept of my latest hack project is available on GitHub: https://github.com/jimbelton/baker This program (written in python) is able to automatically build a simple C library and its test program. The tool requires little to no configuration … Continue reading

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

Decoding Linux File Names in Python

One of the many problems I ran into while hacking muse, the music library management program I’ve been writing, is that some bands include non ASCII characters in their names, and these are used inconsistently. For example, Blue Öyster Cult is … Continue reading

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

Muse Python Libary: Compare the Audio Data in Two MP3 Files

One of the problems with MP3 files is that I tend to move them around and modify their tags. This often leads to my having two MP3 files with the same name, and not being sure whether they are the … Continue reading

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