Prespy – Presentation in python

Prespy – Presentation in python

Presentation®

Presentation is a Windows-based program for stimulus delivery and interfacing with hardware tailored for Neuroscientists and Psychologists. It is script based, basically abstracting away the low-level communication with display and sound card drivers, input devices and more to allow researchers to quickly implement experiments for their research.

Whilst it does its job well at making life easier for researchers to create powerful and fast experiments, because of its target market I find myself as a programmer constantly at odds with some of the design decisions.

Continue reading

pypirc – Fix Breaks Login

pypirc – Fix Breaks Login

(When an upstream bugfix breaks my login)

Getting started on the Python Package Index

Back when I was finally willing to release python code to the wild I did some reading on the web of the simplest methods of getting a project uploaded to PyPI. I found several resources, but one that I clipped and still occasionally refer to was a simple article by Peter Downs on making a project pip installable that is hosted on Github.

This was very simple to follow, so I registered with PyPI (and TestPyPI) using a password generator and created my .pypirc file. After fleshing out my project and adding the necessary components to the setup.py file I excitedly tried to register and upload my first project.

Continue reading

Favourite Python Talks: David Beazley’s Back Catalogue

Favourite Python Talks: David Beazley’s Back Catalogue

The Python community

One of the best things I have found about the python developer community is the willingness to selflessly give back to it. One of these avenues are the talks of its premier conference PyCon and its many offshoots.

These talks are uploaded to YouTube and provide a great insight into the breadth of use of python. There are talks aimed at beginners, outsiders, professional users and more. They range from 3 hour long tutorials on aspects of python like prominent libraries to short but detailed investigations of the internal workings of the CPython implementation

Continue reading

WordPress Rewrites

WordPress Rewrites

Shenanigans in a self-managed server running WordPress.

Good advice gone bad

As part of my refresh of my blogging website, I was reading some advice about working with WordPress. One of the main pieces of advice I discovered in multiple places (like this article and this one) was about permalink format.

I read them fairly thoroughly, thought through the issues and decided. I have just rebooted my website. I like the look of the post-name permalink structure for improving the ease of sharing and discovery. I don’t have any current posts that I care about redirecting to.

So I went ahead and made the change, as well as updating my theme to something less standard. Some last minute viewing of my changes then involved a click or two on some of my internal links like Read more.. and Next/Previous, only to get a 404 response.

Continue reading