I recently removed the image gallery. I originally thought that I would write some articles on HDR photography and image editing, but that has not come to pass as of yet. Hopefully soon enough I will have more time available to me, and I can do this. But, for now at least, I have removed the “Creativity” section because it does not really belong here.
As of this point in time, I will mainly be focusing this blog on writing, developing and creating code. Hopefully, in the near future, I can migrate more towards software and image editing, so keep a look out.
If you have previously seen the images, and would like to see them again, just send me an email, and I will send you a copy.
If you’re interested in photography, please check out my friends tumbler: J.Rockwell.
Maintaining good naming conventions aren’t just good programming practice, it also shows common courtesy for fellow programmers and yourself. You may be asking yourself “Why is this so important?” Well one day, hopefully, you will be working with other programmers in the same field, or will have to modify another person’s code or vice versa. Having the ability to clearly read the code is a direct reflection of the person who wrote it.
If the person coding a particular application happens to be lazy, they’re code will likely be sloppy, haphazard and hard to maintain. This is never good for too many reasons to list here in a comprehensible manner. This also makes the programmer Continue reading
Posted in Inspiration
Tagged class, code, convention, development, directory, function, information, learning, method, name, programming, variable
This post is going to explore the reasoning behind using the
empty() function over the
count() function when doing tests on arrays.
When working with any programming language, you are going to do a lot of work with iteration. Looping through massive arrays happens all the time. Sometimes you just want to see if there is even any information in the array before you start working with it. It is good practice to set an empty array before you even start working on it, and then filling it as you go.
So for instance, you need to fetch information from a database. Often you won’t actually know the amount of data coming out of the Continue reading
Posted in Development, PHP
Tagged array, check, code, count, empty, fetch, function, iteration, pdo, php, script, sql, values, variable
If you are having a problem with sites not rendering correctly while using Ubuntu, the problem may be that the declared font-family may not be loading correctly. This has to do with proprietary fonts like Ariel and Times New Roman not being directly available on Linux based systems. If this is the case, you may need the Microsoft TTF core installer.
The installer will install Microsoft font packs on your system, and let you use them as you would any other font. Why they are not distributed with releases eludes me as I’m sure it does most others; it’s probably some kind of licensing thing with Continue reading
Google has officially announced the end of igoogle today. If you are unfamiliar with igoogle, it’s a personalized homepage for your internet browser. The concept behind the project was to give users the ability to create their own homepage and fill it with “gadgets” of their choosing that would help keep them up to date and assist in productivity. A good analogy would be to think about the applications on your phone, in essence, they are a lot like the gadgets on the homepage and even come from their own marketplace.
That is also the reason Google has decided to drop this project. They claim Continue reading