Please Support My Writing
If you want to see more of this kind of content, please support me by buying my books (click here: Amazon). If you write a review of one of my books, please let me know, and I'll link to it. Thanks!- Follow Jim's Jumbler on WordPress.com
-
Recent Posts
Pages
- About Jim’s Jumbler
- Ayn Rand’s Anthem in Modern English
- Dracula in Modern English
- Frankenstein in Modern English
- JMdB: Movie and Series Reviews
- JMdB: Newer and Upcoming Movies
- JMdB: Newer and Upcoming Series
- JMdB: Older Released Movies
- JMdB: Older Released Series
- Paradise Lost in Modern English
- The Dunwich Horror in Modern English
- The Gnostic Genesis: Hypostasis of the Archons
- The Mabinogion in Modern English
- The Rhyme of the Ancient Mariner
- The Shunned House in Modern English
Archives
- May 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- August 2014
- April 2014
- March 2014
- December 2013
- July 2013
- June 2013
- January 2013
- November 2012
- October 2012
- May 2011
- March 2011
- October 2010
Categories
Recent Comments
Meta
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 breakpoint, core dump, debugging, gdb, gnu, programming, stack frame
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
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
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
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 benchmarks, hash tables, hash-table-shootout, hashing, programming
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
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 pip, programming, python, the hitchhiker's guide to python, virtualenv
Leave a comment
CLZ – The Integer Log Base 2 Instruction
In just a few CPU instructions, the truncated base 2 logarithm of any integer can be computed for any integer from -2^63 … 2^63 – 1. This has interesting applications in being able to rapidly access logarithmically increasing arrays. The … Continue reading
Posted in programming
Tagged builtin, C, clz, clzll, gcc, integer, logarithm, programming
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 automation, baker, build, C, c libraries, c programs, github, programming, python, tool
Leave a comment
Hash Table Shootout on GitHub
NOTE: Since I wrote this article, I fixed some bugs in the benchmarks and regenerated the graphs. The updated article is here: Hash Table Shootout Updated I forked Nick Welch’s hash table shootout benchmark, got it all working, and updated … Continue reading