Coding Ninja Reloaded

I had totally forgotten that I started a blog way back in 2012! seems time has flown by! In that time I’ve made a few changes to how the site was hosted: at first it was hosted from my bedroom “server” (fun times), then eventually in the “Cloud” and then it was dumped onto Google Firebase. The original version was my own custom built CMS written in C# because as a young-ish and naive developer with “Not Invented Here” syndrome “build all the things” was clearly the way to do development.

The Emperor's new Currency

Its nearing the end of 2017 and the digital gold rush seems to be in full swing. Unless you’ve been living under a rock for last 8 years, then the rocketing price of bitcoin (and bitcoin technology itself) would most certainly have caught your attention at the least. Bitcoin is indeed interesting in many regards, its not entirely novel as a few years earlier in 1998 Nick Szabo had created something called “bit gold” which was a distributed digital cryptocurrency (potentially the first of its kind) .

Go Home Bob You're Drunk

what follows is a tongue in cheek response, hopefully Bob is cool: Ah good ‘ol Uncle Bob (Robert C Martin), made a blog post a few days ago entitled “Bobby Tables” (most likely a reference to this xkcd post): Great xkcd post as always it’s funny because its true: sql injections are bad, like really bad. I’m not sure if Bob was actually drunk, but the logic that follows is erm, not right: Since SQL injections are possible, ergo SQL is flawed?

Export osTicket to Atlassian Jira Service Desk

Introduction Our old ticket system (osTicket) has served us well. However the time had come to move them onto Atlassian’s JIRA service desk. While JIRA seems to have many different import mechanism it didn’t have an option to import from osTicket. Our version of osTicket didn’t have an export option (or at least I could not find it). JIRA does have the option to import via JSON format. So I’ve decided to put this out there in the wild just in case that some else might need such a thing.

Why Did Google Get Android Development So Wrong?

Introduction It is 2014 and the mobile is the new frontier, we are probably past the transition point of going from mainstream web to mainstream mobile in terms of usage and its a hopelessly messy affair for developers. If web development appeared untamed and wild and ugly back in the 90’s then mobile development is now a whole new level of ugliness. Like the albatross that was Internet Explorer, Android today are the developer’s new albatross.

7 Productive Tricks That Every Developer Should Know

Software development is really hard and wrestling with complexity is mentally taxing. In business time is money and deadlines add to the stress. Here are some productive tricks that every developer should know to give themselves a boost: #1 Testing: When doing any testing, always do it in the live production environment! if it works which it will then you save a ton of time and hassle. Don’t worry about complaints from your end users, use these handy responses:

If Programming Languages Were Superheros

Introduction: Programming languages all have their own distinctive style and odd character. Not surprisingly these unique set of traits tend to attract deviants that sometimes form a community who then hold conferences to talk about their deviant ways :) It was a Friday afternoon and I started wondering if programming languages were superheroes who would they be? Assembly (Hulk) Assembly fights “close to the metal”, moving and shifting data around like no ones business.

The Joys Of Migrating From SQL Server To MariaDB

Introduction In my professional line of work I live within the full Microsoft stack. While there is nothing inherently wrong with this, the world is full of other stacks. I have to admit that Microsoft’s development tooling is top notch, its easy to get spoilt in that environment. However when it comes to pricing, freedom and platform independence then Microsoft is perhaps not the best choice. Outside of work I do freelance development for a few customers.

Quick and Dirty Eval for C#

Quick and Dirty C# eval in 8 lines: { var csc = new CSharpCodeProvider(new Dictionary<string, string>() { { "CompilerVersion", "v3.5" } }); var p = new CompilerParameters(new[] { "mscorlib.dll", "System.Core.dll" }, null, true); p.GenerateInMemory = true; p.GenerateExecutable = false; CompilerResults r = csc.CompileAssemblyFromSource(p, "using System; class p {public static object c(){"+__code+"}}"); if (r.Errors.Count > 0) { r.Errors.Cast<CompilerError>().ToList().ForEach(error => Console.WriteLine(error.ErrorText)); return null; } System.Reflection.Assembly a = r.CompiledAssembly; MethodInfo o = a.

No We Are Not Dull Weirdos But Willard Foxton is a Troll

After reading Willard Foxton’s Blog piece entitled “The Government wants to teach all children how to code. Here’s why it’s a stupid idea” I had to stop myself and think rationally; naturally the post was full of factual inaccuracies and a negative portrait (conjured up entirely in the imaginations of Willard’s mind) of a large section of the developer community. Ironically I agree with the title. This is not a new debate and it’s one that I have posted about before as a response to Jeff Attwood “Please Don’t Learn To Code But Give it a Try”.