Reusable XIB’s with dynamic size
  • Written by Sam
  • February 11th, 2016
  • Subject: Code

Reusable XIB’s with dynamic size

Quick reference

Deeplink testing for Utelly
  • Written by Sam
  • April 7th, 2016
  • Subject: Code

Deeplink testing for Utelly

Standard URLs

Verbe Du Jour online!
  • Written by Sam
  • January 13th, 2015
  • Subject: Code

Verbe Du Jour online!

I’ve hacked together a new site in Flask to assist with learning French. The idea is that a new verb is chosen every day, and users are able to see all conjugations as well as search for other verbs. It has been great using Flask- it takes (almost) all of the pain out of web development. Definitely recommended! Clicky click: Learn French and Conjugate Your Verbs!

Casino Fairness Testing
  • Written by Sam
  • December 13th, 2014
  • Subject: Code

Casino Fairness Testing

Been playing around with Sikuli for automating a slots game and outputting the results to a simple Google Charts page on a local webserver. Got it running under Crunchbang and threw some machines up. Sikuli is a really good framework (maybe the best for multi-purpose Linux automation?), and while the fuzzy image search is a real time saver, it sucks at differentiating between colours. If two images are the same in all aspects except colour, it’s unreliable, and you need to start comparing pixels manually with java.awt.Robot.

Codalo Released!
  • Written by Sam
  • November 14th, 2014
  • Subject: Code

Codalo Released!

After 11 months of intense, out-of-hours work, darkFunction Software’s first iOS app is finally LIVE on the AppStore!!!

Painting with Genetic Algorithms
  • Written by Sam
  • September 28th, 2014
  • Subject: Code

Painting with Genetic Algorithms

Using genetic algorithms to build images from layers of translucent polygons.

Questions and Answers
  • Written by Sam
  • April 14th, 2014
  • Subject: Code

Questions and Answers

What is the difference between sockets and WebSockets?

Bitcoin IRC sentiment analysis
  • Written by Sam
  • October 26th, 2013
  • Subject: Code

Bitcoin IRC sentiment analysis

I wrote a Lua bot to sit and monitor the IRC channels listed here (minus the tickers) for uses of the ’sentiment words’ listed here. Obviously this has no chance of giving meaningful results but it was a fun project.

Game Dev Diary: Part I
  • Written by Sam
  • October 26th, 2013
  • Subject: Code

Game Dev Diary: Part I

Work has started on a new game! I’m using the Moai framework. Here’s the latest screenshot:

Visualising Objective-C: Introducing DFGrok!
  • Written by Sam
  • September 4th, 2013
  • Subject: Code

Visualising Objective-C: Introducing DFGrok!

As developers we spend a lot of time sketching out class relationships and program flow in notebooks or on whiteboards, as a shared point of reference when communicating ideas or as a personal memory aid. A few months ago I discovered a handy online generator called yUML. It describes itself as being for “light, back-of-napkin style UML usage", and provides a simple syntax that allows you to quickly type out class relationships which it then renders into basic, prettified UML. It’s ideal for everyday use where formal UML is time-consuming to produce and unfriendly on the eye.

Handy UIViewController Debug Display
  • Written by Sam
  • December 20th, 2012
  • Subject: Code

Handy UIViewController Debug Display

When working with complex iOS projects with many screens, sometimes it can be annoying and time consuming to figure out exactly which class to start looking at when you want to make changes to a view controller. You can use this handy UIViewController category extension to display the name of the class on each screen. They are great reference points especially if you are jumping into a new codebase.

XNA Source: Particle Engine / Menu Renderer
  • Written by Sam
  • June 28th, 2012
  • Subject: Code

XNA Source: Particle Engine / Menu Renderer

A few years ago I implemented a particle engine and a flexible menu creator in XNA. They were written for a game that was never completed, but I thought I would post up them up here in case anyone wants to use them.

Barebones 2D OpenGL ES Game Engine in C++
  • Written by Sam
  • December 7th, 2011
  • Subject: Code

Barebones 2D OpenGL ES Game Engine in C++

https://github.com/darkFunction/Turbine

Powered by Dropplets