Picture of a lake in Canada

Hugo, GitLab, Azure and Cloudflare

February 3, 2019 My new blog is powered by a few different technologies and in this post I will run through some of the steps required to get it setup. It wasn’t as straight forward as I had hoped so I will document some of the problems I encountered and how I overcame them. First of all the blog is powered by the following stack: Hugo - a static website generator GitLab - git source control & Continuous Deployment (CD) platform Azure Blob Storage - static website hosting Cloudflare - DNS / TLS / Web optimisation service Hugo Hugo was pretty easy to get started with thanks to the tutorial. Read more...

Switch to Hugo

February 2, 2019 So its been quite a while since I last blogged, and in fact a while since I have even had the domain name registered. (I totally didn’t think it was taken by someone else and end up registering some other domains…). Anyway members of my team at C5 have been encourage to build our own blogs and start producing some content so I am going to try and blog more frequently. Read more...

MongoDB LINQ Queries executing on the client side.

February 3, 2014 , posted under programming ASP.NET C# LINQ MongoDB infometrics For my Final Year Project at University I have been building “Infometrics”, something I may well provide more detail on in the future. In this case the only thing you need to know about it that its a C# App written with a MongoDB backend. Now the crux of the issue I was experiencing was that all database operations seemed to be slow, despite not having that many documents, and indexes set up. Read more...

Getting started with Nodejs, MongoDB and Tower.js

February 22, 2013 , posted under JavaScript nodejs towerjs placement I have recently purchased a raspberry pi to play with, my primary reason for getting one was to have a lightweight linux server that I could develop for. There has been lots of good things said about NodeJS recently and so I wanted to see what all of the hype was about and try and create a basic chat application. Most of my time programming has been spent working on . Read more...

Getting started with logstash Part 2

December 13, 2012 Getting started with logstash part 1 Statsd & Graphite In my last post I mentioned statsd and graphite, these are 2 tools that I use in conjunction with logstash and they make a good team! So the general idea behind running these utilities together is that you can get fancy graphs based off certain events, so for example it might be nice to see a longer term trend of IIS response times for a given website or something to that effect. Read more...

Getting started with logstash

October 24, 2012 , posted under logstash grok log management iis php error log php Logstash is a tool for doing fancy stuff with log files. Its main purpose is to help administrators/IT staff with the monitoring of logs, specifically it can be used to push logs to a central location where the logs are stored and indexed for later searching. A basic logstash setup (like the one I am implementing at work) consists of log shippers (web servers and database servers) and then one server where the logs are stored, indexed and searched (in my case this is a Ubuntu server). Read more...

Stack Overflow

March 18, 2012 , posted under stack overflow Yesterday I posted my first answer to a Stack Overflow question (granted it’s not very exciting, but it’s still an answer right?!), I have used the site on many occasions before, generally to look up the solution to a problem I have been experiencing, but have not yet posted a question. Stack Overflow is an excellent resource, something I hope to be able to contribute to, I can see how addicting gaining rep and answering questions will be! Read more...

Entity Framework 4 - Database Issue

February 29, 2012 , posted under database mssql sql EF4 Entity Framework MVC4 Web API MVC4 I have been setting up a little web api with MVC4 and entity framework for a university project, everything was running fine on my local development machine, however when I created the database on my host (123-reg), via scripting the database (From SQL Management Studio) and removing commands 123-reg doesnt accept, my application would try and create the database, which my database account doesnt have permission to do. This was very strange behaviour as the database was in a compatible state, DbContext. Read more...

AINT207 - Space Simulation Game Implementation

February 14, 2012 , posted under AINT207 I would like my game to be available across the internet independant of platform, HTML5 and JavaScript dont rely on any plugins or codecs that a user might not have installed and so make a good choice for implementing a game. One possible downside to this pair of technologies is the immaturity of them compared with games developed in flash that have large user bases and lots of tutorials and other content, additionally flash have access to many different portals through wich the game can be marketed and monitised. Read more...

AINT207 - Space Simulation Game Design & Story

February 13, 2012 , posted under AINT207 As I mentioned in the first blog post my game is going to be set in space, therefore it makes sense if the design and aesthetics of the game are somewhat futuristic. I found a set of graphics released by Lost Garden http://www.lostgarden.com/2005/03/download-complete-set-of-sweet-8-bit.html which seem to meet my needs additionally I quite like the retro look incontrast to the very modern and impressive graphics used in S.P.A.Z. The graphics pack features several different objects that could be used as space stations, where goods can be bought and sold, in addition to some ships that I plan to use for the player’s own ship. Read more...

AINT207 - Space Simulation Game Concept

February 10, 2012 , posted under AINT207 For my as yet unnamed game I plan to create a space simulator game that includes trading mechanics. The player will have to improve the capabilities of his ship through purchasing upgrades with Credits. Credits are earned by buying and selling goods between stations. I like how trading works in games such as X2: The Threat, there are many different types of station and commodities that can be sold with opportunities to make both a profit and a loss with trading. Read more...

Removing all BlogEngine.net Comments with JavaScript

February 10, 2012 , posted under javascript quick fix I have had quite a lot of spam on this blog, but never got round to clearing it all out. I couldnt find a function that would let me remove all of the comments from all of my posts so I wrote a little bit of javascript to automate the process. Using Chrome’s inspector and script console run this line of code on your comments page. setInterval(function(){ $(".chk").attr(‘checked’, true); ProcessSelected(‘Delete’, ‘Pending’); }, 800); Replacing ‘Pending’ with ‘Approved’ if you need to clear out those as well. Read more...