Copyright 2017-2018 Jason Ross, All Rights Reserved

Publishing An Article On Joomla

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

So, you need a web publishing system and you've decided that WordPress is just too mainstream, so you've gone with the extra functionality of Joomla. Welcome to the club!

Of course the extra flexibility brings some extra complexity, but it's nothing that can't be overcome and it will result in your having a great site. In the rest of this article I'll assume that you know about as much about Joomla as I did when I started this site, which is pretty much nothing.

Programming Languages - They're Just Tools

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

When you start out as a software developer it's easy to get fixated on one particular language. It might be the first language you learned, or the first you used professionally, but you'll probably form a serious attachment to it. You might view this language as perfect, or at least much better than any other, and you'll tend to use it for pretty much everything you need to do.

After a while though, you'll start looking around at other languages and seeing why other people think they're good. Initially you may think they're nowhere near as good as your favourite language, and stick purely with your own. This is really the wrong approach.

Bins - Commented Code Goes in The Black One With The Other Garbage!

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

Looking through your system’s source code, you’ll almost certainly find code that’s been commented out without being deleted. This might strike you as an odd thing to do, and it is. Why would anyone clutter up their source code in this way?

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

A while ago my laptop decided that it wasn't going to download and install Windows Updates in the background any more. I tried to open the Windows Updates window and all it said was that the service could not be started. I decided to dig around on the web and was unsurprised at the number of "Try stopping it and starting it again" suggestions, as well as "Switch off your anti-virus", all of which were useless.

A little more digging led me to the right way to fix it...

A single goat

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

The Original Simulation

In The Monty Hall Problem – A Simulation In JavaScript we wrote a simulation for the Monty Hall Problem. The simulation consisted of two separate iterations through some JavaScript code that recorded the results of the competitor either changing their selection, or keeping their original choice, respectively.

Looking again at this, the idea of there being two iterations through the same code seemed a little excessive and made me start to idly wonder: could this be done in one iteration? This might make the simulation faster, although it would need to be timed to make sure of this, and it doesn’t take long to run anyway. It might improve the integrity of the simulation though. After all, what if something happens during those two iterations so that the odds involved in the second iteration change? It’s not likely but it’s just about possible – maybe the random number generator has a bug or some other strange side effect occurs, and then we can’t be sure what would happen.

If we could get all the information we need from a single game that should eliminate this possibility.