So after working on commercial software for a few years, I really fancied getting my feet wet in some open source software again, I haven’t had too much time for this, but when I found out my favorite cinema had their own API I couldn’t resist making a wrapper for it.
It only took a couple of hours but it was quite fun to make. I tried to make up for missing information supplied by the API by introducing some simple hacks to get the information a different way. I’ll go through my methodology in this blog post as well as some simple use cases. So here it is the Cineworld API Wrapper written in Python
Read the rest of this entry »
There are many options for GUI programming with Python. I’ll go over my favorite, and generally most well known frameworks and show you some simple programs with each one. In fact these aren’t really Python frameworks but actually Python bindings for already established c/c++ libraries. So the three options are PyQt/PySide, wxPython and PyGTK with their respective c++ frameworks Qt, wxWidgets and GTK+. I’ll go over the differences of PyQt and PySide, I mention both since PyQt is more mature than PySide but has a more restrictive license, also PySide has just moved out of beta with its version 1 release, and according to its creators, the company behind the original Qt, it is ready for production level code.
Read the rest of this entry »
This is the second part of my simple wordpress tutorial, this will go through showing the blog post, the comments section and the search functionally. Putting this tutorial together with the last you’ll have a completely unstylized functioning blog, which you can add all the styling you want.
Read the rest of this entry »
So I like to start all my WordPress theme designs with a very simplistic WordPress base and then add all the complicated functionality found in my themes. I think it is a useful learning tool for the beginner to get used to WordPress programming. So here’s my guide for setting up a really simple blog.
Read the rest of this entry »
As a follow up to my previous article on the Explorer 16 board we’ll look at displaying a string on the LCD screen supplied on the board in a very similar manner to the serial connection function. In fact we’re going to use the standard output of the c standard library to be able to output to the serial port or the LCD screen. The LCD screen is a very important peripheral for displaying useful information and for quickly debugging programs and doesn’t require a connection to a computer, which is handy.
Read the rest of this entry »
So I’ve found it very helpful in the past to teach others things that I have quite a lot of experience in as quite often I learn a few things and at the same time observe a different perspective on a problem, which is very important to a job where problem solving is paramount. So here’s my beginners tutorial on programming the 16 bit PIC24F family chip on the Explorer 16 board, which by the way is a pretty awesome board to work with. So I’m just quickly going to show how to light an LED and communicate with the computer via the serial port, these things actually reward the user very quickly with some actual physical output. So here it goes:
Read the rest of this entry »
January 27th, 2011 in
c++
So I have been using Qt now for about six months and I have to say it is one of the best frameworks I have ever used, it seems very complete, the documentation for it is amazing and even the Qt IDE: Qt Creator is awesome. Some of the really useful things I find are the signal and slot mechanism, the widget methodology and the expanse of widgets available. So I feel pretty confident with Qt now and just though I’d share some information that I learned along the way that may or may not be included in the documentation, the sort of info only found by experience. Hopefully this helps a few people out, so here it goes.
Read the rest of this entry »
January 20th, 2011 in
c++
Recently I was working on a small personal project and I was in need of a quick and easy encryption library that would be able to do quite a few different encryption algorithms. My only real prerequisites were that the library had to be in c++ (well c would do but I’d prefer it to be in oop form), the encryption algorithms had to include AES 128 and it had to be cross platform. I was quite surprised at how few encryption libraries there were for c++. The three mainstream cross platform libraries that I found were crypto++, Botan and QCA (Qt Cryptology Architecture) (there was also the OpenSSL library but that is written in c).
Read the rest of this entry »