Recent

    Creating a PHP Framework - Part 1

    Posted in Technology on Feb 15, 2017

    I decided I wanted to create a lightweight PHP framework and CMS. My inspiration came from OctoberCMS which is based on Laravel. Ironically enough, this website is based on OctoberCMS! However, as much as I love October, there are parts of it I find too strict and slow. I also find it has a rather luckluster focus on real time web applications and modularity.

    Neural Network Programming - Part 4 - A Musical Chord Generator

    Posted in Technology on Feb 14, 2017

    Well, now that we have fixed up the neural network, it's time to use it to try to solve more practical problems. I decided on a use case near and dear to my heart. Let's build a chord predictor! When fed with 3 chords, it should output what a good option for a fourth chord should be. I'm just going to use the 7 basic major chords for this example: I, II, III, IV, V, VI, VII. We really only need 3 neurons per input to encode this, but to allow myself the ability to add minor chords later, I'm going to set this up using 4 neurons.

    Neural Network Programming - Part 3

    Posted in Technology on Feb 14, 2017

    Today, I want to talk about porting the neural network over to Python. Some of the mistakes I made, lessons I learned, and most importantly a performance comparison. In case you're curious, I found Python not only to move at a snails pace compared to PHP, but to preform so horrendously I couldn't even finish my benchmarks. Did I do something wrong? Is my code unoptomized? Read on and find out!

    How to Cascade and Nest with CSS - Part 1

    Posted in Tutorials on Feb 13, 2017

    If you didn't know, CSS stands for Cascading Style Sheets. It's a styling language used in web development to specify sizes, containers, colors, formatting, and, to some degree, interactivity.

    Neural Network Programming - Part 2

    Posted in Technology on Feb 13, 2017

    In Neural Network Programming - Part 1, we looked at how networks are trained, some mathematical formulae, and the processes I took in building a beginner neural network. Now, let's talk about the training efficiency, and optimizations of the network which resulted in 100x speed improvements.

    Neural Network Programming Part 1

    Posted in Technology on Feb 10, 2017

    Lately, I've been programming a neural network. I decided to do this in PHP of all languages as it's convenient and familiar to me. Eventually, I plan to port it to Python, Java, and C++. For the rest of this article, I'm going to assume you have some background knowledge of what a neural network does.

    Is JavaScript and JQuery Synonymous?

    Posted in Technology on Feb 09, 2017

    I realized, while reading through Stack Overflow, the fundamental misconception amoung many new programmers when it comes to JavaScript. There are questions on Stack Overflow which ask how to accomplish fairly simple tasks such as scrolling the window or getting the current page's URL **using JQuery**. This isn't a problem, except for the fact it's easier to do this in pure JavaScript!

    The struggles of modernizing HTML

    Posted in Technology on Feb 09, 2017

    I learned HTML more than a decade ago before HTML 5 had been released. At that time it was common to see `<b>`, `<i>`, `<u>`, and `<font>` tags floating all around many code bases.

    Let's Talk Genetic Algorithms - Part 1

    Posted in Technology, Tutorials on Feb 08, 2017

    Genetic Algorithms are a new and modern concept which absolute fascinate me. I created one which formulates an expression which should equal a target number! Cool!

    Vagrant vs Xampp

    Posted in Technology, Tutorials on Feb 08, 2017

    I've been asked which development environment I use the most. In all honesty, I use both every day! Read more to check out the differences between the two and what I like and dislike about them.