• Member Avatar for James_43
    James_43

    Created nginx caching

    Hi all, my understanding was that Nginx doesn't do any caching unless you tell it to. However, for some reason, all my filles are being cached, and so the website …
  • Member Avatar for James_43
    James_43

    Began Watching nginx caching

    Hi all, my understanding was that Nginx doesn't do any caching unless you tell it to. However, for some reason, all my filles are being cached, and so the website …
  • Member Avatar for James_43
    James_43

    Marked Solved Status for Nginx Config help!

    Hi all, Brand new to nginx, but it seems to be the rising star, and suited to hosting high volumes like I'm doing. However, I'm having trouble setting up the …
  • Member Avatar for James_43
    James_43

    Replied To a Post in Nginx Config help!

    Thanks, nginx -t worked and told me what was going on!
  • Member Avatar for James_43
    James_43

    Replied To a Post in Nginx Config help!

    How do I access those logs? Typing those commands into the console just gives me an unknown command error.
  • Member Avatar for James_43
    James_43

    Created Nginx Config help!

    Hi all, Brand new to nginx, but it seems to be the rising star, and suited to hosting high volumes like I'm doing. However, I'm having trouble setting up the …
  • Member Avatar for James_43
    James_43

    Began Watching Nginx Config help!

    Hi all, Brand new to nginx, but it seems to be the rising star, and suited to hosting high volumes like I'm doing. However, I'm having trouble setting up the …
  • Member Avatar for James_43
    James_43

    Marked Solved Status for html5 video stretch?

    Hi all, I have a HTML video within a div that is 100% width of the page. I want the video fill the container and crop the height to fit. …
  • Member Avatar for James_43
    James_43

    Replied To a Post in html5 video stretch?

    Solved. Adding `position: fixed;` to my CSS allows the video element to follow the constraints.
  • Member Avatar for James_43
    James_43

    Replied To a Post in html5 video stretch?

    I understand that a stretched video will cause letterboxing or pillarboxing. But them problem I am having is setting the width/height of the video element. For example, the CSS: .video …
  • Member Avatar for James_43
    James_43

    Replied To a Post in html5 video stretch?

    So does that mean if I want a video to fill a div, that obviously changes in aspect ratio depending on the screen its viewed on... then I can't do …
  • Member Avatar for James_43
    James_43

    Created html5 video stretch?

    Hi all, I have a HTML video within a div that is 100% width of the page. I want the video fill the container and crop the height to fit. …
  • Member Avatar for James_43
    James_43

    Began Watching html5 video stretch?

    Hi all, I have a HTML video within a div that is 100% width of the page. I want the video fill the container and crop the height to fit. …
  • Member Avatar for James_43
    James_43

    Replied To a Post in CSS Blur Overlay

    Ah - please ignore the 'blue' typo! That's not the reason this isn't working
  • Member Avatar for James_43
    James_43

    Created CSS Blur Overlay

    Hi all, I am tying to have a page header transparent with the background blurred behind it. So far, for some reason, the blur overlay is only blurring the logo …
  • Member Avatar for James_43
    James_43

    Began Watching CSS Blur Overlay

    Hi all, I am tying to have a page header transparent with the background blurred behind it. So far, for some reason, the blur overlay is only blurring the logo …
  • Member Avatar for James_43
    James_43

    Marked Solved Status for loading animation whilst PHP loads?

    Hi all, I'm very very new when it comes to JavaScript, but I understand it's what I need to solve my problem. Basically, I have a PHP script that takes …
  • Member Avatar for James_43
    James_43

    Replied To a Post in loading animation whilst PHP loads?

    Found an easy way to do it. You were right about their being tonnes of loading animations online, I got a cool CSS one. Then I build my first div …
  • Member Avatar for James_43
    James_43

    Replied To a Post in loading animation whilst PHP loads?

    Thanks for your suggestions! Chris_33. the script has no content on it, it just bounces back to the index. But from the front end, it looks as if it stays …
  • Member Avatar for James_43
    James_43

    Marked Solved Status for PHP time issue

    Always get really confused when dealing with timezones... I have a string `8/11/2013`, which I apply the following code: $firstDate = new DateTime($rawData[$backdate][0]); $firstDate = $firstDate->format('d/m/Y'); The issue is that …
  • Member Avatar for James_43
    James_43

    Replied To a Post in PHP time issue

    Found out you can specify a format when creating the object :) `DateTime::createFromFormat('d/m/Y', $date);`
  • Member Avatar for James_43
    James_43

    Replied To a Post in loading animation whilst PHP loads?

    It's not started via Ajax, but is that something I should look into?
  • Member Avatar for James_43
    James_43

    Created PHP time issue

    Always get really confused when dealing with timezones... I have a string `8/11/2013`, which I apply the following code: $firstDate = new DateTime($rawData[$backdate][0]); $firstDate = $firstDate->format('d/m/Y'); The issue is that …
  • Member Avatar for James_43
    James_43

    Began Watching PHP time issue

    Always get really confused when dealing with timezones... I have a string `8/11/2013`, which I apply the following code: $firstDate = new DateTime($rawData[$backdate][0]); $firstDate = $firstDate->format('d/m/Y'); The issue is that …
  • Member Avatar for James_43
    James_43

    Created loading animation whilst PHP loads?

    Hi all, I'm very very new when it comes to JavaScript, but I understand it's what I need to solve my problem. Basically, I have a PHP script that takes …
  • Member Avatar for James_43
    James_43

    Began Watching loading animation whilst PHP loads?

    Hi all, I'm very very new when it comes to JavaScript, but I understand it's what I need to solve my problem. Basically, I have a PHP script that takes …
  • Member Avatar for James_43
    James_43

    Marked Solved Status for PHP reading CSV problem

    Hi all, quite a strange problem here. I have a csv file with rows: 20/12/2011 4.75 4.75 4.53 4.55 94.74 432.98 4.57 21/12/2011 4.38 4.38 4.38 4.38 20.9 91.54 4.38 …
  • Member Avatar for James_43
    James_43

    Replied To a Post in PHP reading CSV problem

    Yeah, that's what I was doing. I've just figured it out (another silly mistake). I set the line length to 50, when some lines were larger than that. Caused all …
  • Member Avatar for James_43
    James_43

    Replied To a Post in PHP reading CSV problem

    Furthermore, using `array_filter($data);` does nothing - the blank value is still there! Given that array_filter is supposed to get rid of null, '', or false values - surely something more …
  • Member Avatar for James_43
    James_43

    Created PHP reading CSV problem

    Hi all, quite a strange problem here. I have a csv file with rows: 20/12/2011 4.75 4.75 4.53 4.55 94.74 432.98 4.57 21/12/2011 4.38 4.38 4.38 4.38 20.9 91.54 4.38 …
  • Member Avatar for James_43
    James_43

    Began Watching PHP reading CSV problem

    Hi all, quite a strange problem here. I have a csv file with rows: 20/12/2011 4.75 4.75 4.53 4.55 94.74 432.98 4.57 21/12/2011 4.38 4.38 4.38 4.38 20.9 91.54 4.38 …
  • Member Avatar for James_43
    James_43

    Marked Solved Status for PHP Scaling

    Hi all, I'm working with a function that only accepts values between 0 and 1, so I need to scale my data first. The first part involved in this is …
  • Member Avatar for James_43
    James_43

    Replied To a Post in PHP Scaling

    Actually I've realised there isn't even a problem here, because the range of the second value doesn't matter. If the normalised value > 1 then we know it's larger, and …
  • Member Avatar for James_43
    James_43

    Replied To a Post in PHP Memory spill

    Cereal was right, missed that mistake. Thanks!
  • Member Avatar for James_43
    James_43

    Created PHP Scaling

    Hi all, I'm working with a function that only accepts values between 0 and 1, so I need to scale my data first. The first part involved in this is …
  • Member Avatar for James_43
    James_43

    Began Watching PHP Scaling

    Hi all, I'm working with a function that only accepts values between 0 and 1, so I need to scale my data first. The first part involved in this is …
  • Member Avatar for James_43
    James_43

    Replied To a Post in PHP Memory spill

    For some bizzare reason, if I set `$i < 1` as an example, suddenly the array goes from -5 to 360.... Can you even have negative array indexes?!
  • Member Avatar for James_43
    James_43

    Created PHP Memory spill

    Hi all, I have an array $pTimeseries with 365 items inside it. I use a simple for statement, as below: //Add TimeStamp to Historic Data for($i = 0; $i < …
  • Member Avatar for James_43
    James_43

    Began Watching PHP Memory spill

    Hi all, I have an array $pTimeseries with 365 items inside it. I use a simple for statement, as below: //Add TimeStamp to Historic Data for($i = 0; $i < …
  • Member Avatar for James_43
    James_43

    Marked Solved Status for Bizarre CSS edge issue

    Hi all, For some reason, a white edge has appeared down the side of my website. It was never there before. The web suggested I should make sure to reset …
  • Member Avatar for James_43
    James_43

    Replied To a Post in Bizarre CSS edge issue

    Thought there may have been an obvious mistake, and there was! It was a container isssue, simply forgot to close a <div>
  • Member Avatar for James_43
    James_43

    Created Bizarre CSS edge issue

    Hi all, For some reason, a white edge has appeared down the side of my website. It was never there before. The web suggested I should make sure to reset …
  • Member Avatar for James_43
    James_43

    Began Watching Bizarre CSS edge issue

    Hi all, For some reason, a white edge has appeared down the side of my website. It was never there before. The web suggested I should make sure to reset …
  • Member Avatar for James_43
    James_43

    Marked Solved Status for Swift Dynamic Buttons

    Hi all, I've been trying to follow the basic Apple developer tutorial, where you create a food tracker app. I can not get one part of the code to work, …
  • Member Avatar for James_43
    James_43

    Replied To a Post in Swift Dynamic Buttons

    Ah, silly mistake. No problem with the code, the issue was to do with StackView. Another object was obstructing it, so it wasn't registering the touch action!
  • Member Avatar for James_43
    James_43

    Created Swift Dynamic Buttons

    Hi all, I've been trying to follow the basic Apple developer tutorial, where you create a food tracker app. I can not get one part of the code to work, …
  • Member Avatar for James_43
    James_43

    Began Watching Swift Dynamic Buttons

    Hi all, I've been trying to follow the basic Apple developer tutorial, where you create a food tracker app. I can not get one part of the code to work, …
  • Member Avatar for James_43
    James_43

    Marked Solved Status for PHP x-loops?

    Hi all, I have a multidimensional array [0]:[0], [1], [2], [3] and I want to try and find the min and max values of each index of that array over …
  • Member Avatar for James_43
    James_43

    Replied To a Post in PHP x-loops?

    Ah cool, that makes a lot of sense. Cheers :)
  • Member Avatar for James_43
    James_43

    Replied To a Post in C# Image Transition code issue

    All good, appreciate it :)

The End.