At the moment I’m working on some maths code written in a combination of standard Python and its mathematical superset, Sage. The code is fairly computationally expensive (it’s essentially a brute force search for chemical reaction networks that are monotone). Consequently, after getting the code working as a proof-of-concept, I wanted to compile it to C using Cython to get a bit more speed out of it. I found the documentation on converting Sage and Python scripts to Cython a bit vague, particularly when it comes to combining the two, so this article gives step by step instructions based on my findings.
We offer the articles below in the hope that they will be useful, but we cannot accept liability for any problems caused by the instructions that they contain. If you have a problem, question or feedback relating to one of our articles, please post a comment so that other readers can benefit. We regularly review comments and reply or update the articles, to ensure their continued usefulness. All articles are provided free, without any advertising or tracking, for the benefit of the technical community.
If you require paid commercial support, please contact us for assistance.
I just gave a presentation on Mozilla's new JPEG-improving project mozjpeg as part of my 'image technology' module at university. We had to chose an emerging technology to research and present to the class in pairs.
In this post, I describe how to upgrade a Moodle installation from one major version to a newer one using the command line and git.
In this post, I present a function to calculate the second additive compound of a square matrix using the symbolic algebra program Maxima.
Enticing a Windows 8 installation to dual-boot happily alongside Ubuntu on a UEFI-enabled Dell machine
I’m very excited to announce the public release of CoNtRol, a web application designed to carry out mathematical analysis of chemical reaction networks. A formal introduction has been accepted for publication in Bioinformatics, and technical documentation is available on the reaction networks wiki. In this article I want to talk a bit about the design philosophy behind CoNtRol.
In this post, I describe how to move a Drupal based website from a single site installation to a multi-site installation. The instructions are centred on Debian/Ubuntu, but should be easy to adapt to other setups.
We run monit on a number of clients' Linux systems to ensure that all their server daemons keep running as necessary. In this post I describe an issue that arises due to conflicting default SSL/TLS protocols in Zarafa and monit, along with a monit configuration change to work around the issue.
A short script to toggle compositing on or off for XFCE Window Manager (XFWM).
Compositing improves desktop aesthetics and usability, but turning it off improves compatibility (and performance) for games.
How to Setup Brother MFC-6490CW Network Printer with Ubuntu
Configure your router to reserve a static IP address for your printer. This way your computer will always know which address to contact the printer on.
Here's a rough guide on how to do that: http://lifehacker.com/5822605/how-to-set-up-dhcp-reservations-so-you-never-have-to-check-an-ip-address-again
Make a note of your printer's IP address.