Programming

Programming articles, tutorials, tips and tricks.

Mining Monero on Geforce 210: an exercise in futility

December 22nd, 2017 by

I have these old Nvidia graphics cards, namely a Geforce 210 and a GT 240M sitting around doing nothing, and I wondered if I could put them to work mining Monero. The short answer is yes; the long answer is that it’s probably not worthwhile unless you have a much more powerful card like maybe…

How to install NetBeans 8.1 on Ubuntu 16.04 with OpenJDK 8

May 19th, 2016 by

I recently tried to install NetBeans 8.1 on my fresh installation of Ubuntu 16.04, and I ran in to some difficulties. The first of which is that OpenJDK cannot be easily found in the new Ubuntu Software application. To install OpenJDK 8, you will need to open terminal and use the command “sudo apt-get install…

Game of Life: multi-threaded code analysis and review

April 9th, 2014 by

Some months ago I began experimenting with multi-threading and OpenGL. I decided that a Game of Life simulator would be a good target for my pet project, being ripe for parallel processing and requiring little graphics know-how. I’ve met my goals, so here I’ll be describing how I implemented the various features and some of…

Game of Life: my tour of multi-threading and OpenGL

December 28th, 2013 by

It’s long overdue that I try my hand at writing a multi-threaded program. Being a wanna-be game technology developer, it’s past time for me to learn to use OpenGL for graphics as well. So why not roll both of these learning exercises in to one? If you’re not familiar with Conways Game of Life, [see…

Example using OpenGL 3.0+ with SDL2 and GLEW

December 4th, 2013 by

I decided to port one of my simple for-learning-purposes OpenGL applications over to SDL2 from GLFW last night. I ran in to a few problems along the way, I’ll share my solutions with you here. The main problem was that SDL2 doesn’t handle extension loading for you like GLFW does. Easy enough to solve, just…

« Older Entries