mrben.co.uk
mrben - Rework
http://mrben.co.uk/entry/rework
March 23, 2010. This site was built last year some time as I was learning Django. It was a rushed effort as I was applying for jobs at the same time and needed something to show prospective employers. Consequently there are a bunch of things I'd do differently if I were to start from scratch. However, I don't think it's worth starting from scratch, but things have been reworked (mainly behind the scenes) and the source is now available. If you enjoyed this post you may want to follow me on Twitter.
mrben.co.uk
mrben - Processing.js - Playing with particles and transitions
http://mrben.co.uk/entry/processing-js-playing-with-particles
Processing.js - Playing with particles and transitions. June 9, 2010. After having used having used Processing. On and off for a couple of years I decided it was time to have a play with Processing.js. Heavily inspired by this. I decided to have a play. This is my current "train-project" to keep me busy on my crazy daily commute - expect lots of changes and hopefully some polish sometime soon. Oh, you'll need a decent and recent browser (Chrome or Firefox - unfortunately this doesn't work with Safari).
mrben.co.uk
mrben - Wowza token system
http://mrben.co.uk/entry/wowza-token-system
May 13, 2015. For the last 18 months I have been contracting as lead backend engineer on a fantastic new business-to-business music streaming service, Ambie.fm. We use Wowza Streaming Engine. As our streaming server. Who led work on the token system, we built a system that restricts users to playing only the track they are authorized to play, preventing harvesting of the music collection or folk using one account to stream in multiple locations. At this point it would be useful to discuss what happens wh...
mrben.co.uk
mrben - Shall I Go To The Pub?
http://mrben.co.uk/entry/shall-i-go-to-the-pub
Shall I Go To The Pub? April 21, 2011. Last Friday someone asked "shall we go to the pub? I thought it was a great idea, but as I feel I've lost my own identity and become a conduit for the Internet I thought I should check with it first. Whacking shalligotothepub.com into my browser I was shocked to find no answer. I couldn't possibly go to the pub without the Internet sanctioning it, so Pawel. And I spent 20 minutes creating shalligotothepub.com. It was done for our own amusement, but after Patrick.
mrben.co.uk
mrben - Bam! A boom Python port
http://mrben.co.uk/entry/bam-boom-python-port
A boom Python port. March 31, 2013. Over the Easter weekend I spent some time porting Zach Holman's excellent boom. Is over at Github. You can install it like this:. Or install the latest development version like this:. Pip install git git:/ github.com/mrben/bam.git. And use it like this:. A full list of command is available on the GitHub project page. If you enjoyed this post you may want to follow me on Twitter. I am also available for hire. Blog comments powered by Disqus. Made by Ben Tappin.
mrben.co.uk
mrben - A reusable confirm field-update pattern for Django
http://mrben.co.uk/entry/a-reusable-confirm-field-update-pattern-for-django
A reusable confirm field-update pattern for Django. May 18, 2015. Though they're not without their drawbacks I fell in love with Django class-based views as soon as I got to try them out. I love the batteries-included approach to Django that makes developing with the included generic views so rapid. Sometimes, though, you come across a pattern that you perform often that is not included in the generic views. If your needs are a little more complicated. The value is set on. Field` or `get field()` - strin...
mrben.co.uk
mrben - Validating barcodes in Python
http://mrben.co.uk/entry/validating-barcodes
Validating barcodes in Python. June 1, 2012. Here is some Python to validate barcodes (tested with EAN-13s. Someone should find it useful. Will generate the valid check digit for the first part of a barcode. While. Will check the final digit of a barcode against the generated check digit. Returns the check digit for a barcode. It is assumed that the check digit is missing from the input. Checks the last digit of a barcode matches the calculated. I am also available for hire. Made by Ben Tappin.
mrben.co.uk
mrben - A nicer way of using the Django 1.2 messages framework
http://mrben.co.uk/entry/a-nicer-way-of-using-the-Django-messages-framework
A nicer way of using the Django 1.2 messages framework. May 11, 2010. Someone asked me "why? Recently, claiming you could just order messages in the view. It slipped my mind that the whole point of this solution is that it's usable in any template without extra work, so you can render the messages out in your base template and then forget about it. In Django versions prior to 1.2 adding user feedback messages was cumbersome. In your view you'd use a snippet like this. If messages %} ul. You can't get aro...