My First Attempt at Open-Source Contribution

I’ve always wanted to contribute to an open source project, so I thought it was time to finally start.  I’ve been investigating different CSS frameworks, and came across Bulma.  I saw the contribute link and figured I’d see what issues there were in Github for it, and there was an issue about some typos.  I figured that was a good place to start; check if any more remained.  I forked and clones the repo to my machine and blasted it through “Inspect Code” option in PhpStorm, but found a different issue to look into, a one not raised currently as an issue, but still as part of the title.sass file.  It was to do with the following on line 14:

Continue reading “My First Attempt at Open-Source Contribution”

Introducing Charon File Uploader

I’ve wanted to build a useful javascript library for a while, but never found any of the ones out there lacking.  I’ve been working on a new project recently and one of the things I needed to do for that was be able to upload an image via AJAX, along with the alt-text and other information for the image.  There’s libraries out there for uploading files and images, but I’ve not found one which lets you add other information to the post easily.  That’s when I figured I could build it myself.  Charon was born!

Continue reading “Introducing Charon File Uploader”

NEVER trust user input

I’ve had the joys recently of being part of a code audit for a potential client for a change or re-build of a system.  The code in itself was complete textbook…of how not to code a system.  It looked like it had been built long long ago when OO principles didn’t exist, and when no-one knew about security unless they were in that field.  Certainly developers knew nothing about security.

Continue reading “NEVER trust user input”

Perils of a shared hosting platform

Once again I’ve been inspired by a stack overflow question, and it made me think about issues of a shared hosting platform.  You know the ones; the “host your site for £2.99 a month” sites.  There’s nothing inherently wrong with it (I was using them for a long time until I decided I wanted my own server to play with, and still using one for a different project for the moment), but it brings its own risks.  Some of those risks are to do with the infrastructure, others are with the people who are hosted on it.

Continue reading “Perils of a shared hosting platform”