Quick Snippet: Applying Keras Layers

Tags: Machine Learning, Programming

When defining neural networks, even in a framework as concise as Keras, you often find yourself writing far too much gumpf.

Read more...

Quick Snippet: Slack Emoji Names to Unicode :smile:

Tags: Programming

While working on this blog, I wanted to add Slack-style named emoji.

:poop‌:.

Eventually, I realised Pandoc already has Slack emoji support 🎉, but only after I’d already made my own 🤦‍♀️. Then I found out Pandoc doesn’t seem to have :‌woman-facepalming:, so it’s a damn good thing I did 😳.

Read more...

Compiling C++/OpenGL on Windows with MSYS2

Tags: Programming

This guide was originally written for people taking the CS324 Computer Graphics course wishing to compile the Linux OpenGL lab code or their own coursework on a Windows machine. However, you may find it useful if you’re trying to build cross-platform OpenGL apps with C++ on Windows. The original PDF is available here, but this web version is easier to follow and features a few minor corrections and readability enhancements.

Read more...

Setting up SFML on Windows, OS X and Linux

Tags: Programming

This is a small guide I wrote for Warwick Game Design to get people started with C++ game development with SFML on whatever platform they prefer. Provided that platform is Windows, OS X or Linux. Hopefully it won’t take too much time to get through – if you have any trouble, feel free to email me. If you find any problems or confusing sections please let me know – I wrote it in one sitting, so there are bound to be mistakes.

Read more...