Hi, I'm Andrew, a Web Developer from Hobart


I completed my Masters of Information Systems and Technology by research in November 2016. My thesis, Differential Evolution for Multiobjective Agricultural Water Management, examined the problem of minimising the environmental flow deficit in natural resources, while maximising the net revenue yielded from crops. I did this using Differential Evolution, a technique that had previously had difficulty in discovering diverse solutions, and implemented an alternative solution representation. I was able to produce significantly more diverse solutions, while achieving a higher net revenue (thus performing better on the objectives). Of note, the programming for my thesis was done in C++, meaning I have a high level of patience and determination.

Since completing my Masters I have worked as a Software Developer for DPIPWE where I make SharePoint web applications. Perhaps its because of my experience with SharePoint, but in my own time I have really enjoyed working with some of the tech that people love to hate. PHP has been a stalwart of my projects from when I was teaching myself to program, and through Uni. In recent times though I have started working with JavaScript as a full stack language. Maybe I’m a sicko, but I actually really like JavaScript. I think this may be due to limitations in my previous work where I could only develop on the front end, and took that about as far as I could to build a reporting suite.

Latest Post

SharePoint will break your parallax background

Posted on: March 17, 2018

I have been creating a website at work in SharePoint recently, that had the layout created by an external agency. So they provided the HTML, CSS, and js for a home page and a second level page. This of course makes my job easier for making the website, as a lot of the work has been done. However, good old SharePoint still likes you to spend a decent amount of time fixing things that you really shouldn’t need to. Basically, there is a lot of CSS courtesy of core15.css that will override the custom stuff at certain points. Sometimes this means you then have to make your selector more specific, sometimes it means you have to reset the selector to its initial state, and sometimes it means you have to work out what the user-agent would have applied and actually set a rule for that! A bit of a pain all around. But one thing in particular really had me stumped for a bit.

As you may know, SharePoint does this weird thing of disabling scrolling (i.e. no vertical scroll bar) and then works out the size of the window, resizes its container elements to that size, and then sticks the scroll bar back on. Obviously it does this, why wouldn’t you? Anyway, the layout I was trying to implement had a parallax background using stellar.js. This (of course) broke, as the container it was in was only the height of the window. So how do you fix this? Fortunately it can just be done with CSS. The first thing is to stop that stupid height setting from constantly happening:
#s4-workspace {
height:auto !important;

Then, you will want to make sure you can actually scroll:

body {

and finally, you will probably need to be able to see your background, so add this to that body style too:
background-color: transparent;

After doing that, you should find that your parallax works, you see your background, and you don’t have that stupid resizing of the container elements ruining your life!