Inspiration…

A very lazy morning…
Yesterday, it was quite a nice day. I just had a really simple one by going out to Westfield with Lyndsey and her boyfriend, Sean. It was pleasant as we were just talking and wondering around Westfield. We did end up in the cinema watching Rise of the Guardians. The film was actually pretty decent. Although it was a childish film, watching it just bought me to one thought: never stop believing! If you have a belief, don’t let anyone bring you down! It’s the one thing that could very much mean a lot to you and letting go of your belief may end up you being in the future with a bunch of ‘what if’ statements filling up your head… They call it regrets…
Finishing this film, we just headed off home and with a whole load of motivation, I decided to turn to some coding.
Getting down to it, I transferred my local database into an SQL file and then posted it onto the phpmyadmin interface by simply clicking on the import button and following the steps. With that posted up, I had a slight issue with my config file; it wasn’t connecting to my database properly but then realising many silly mistakes I did, all it came down to was lousy naming conventions that I used in my local database so I changed them and eventually got it to work properly. The data now appears absolutely fine and it came down to how often I wanted the feed to be updated to have fresh information. Having past experience with the host that I was currently using, the connections are limited so I needed to bare that in mind and ended up making a CRON job to update 1 hour per time. So coded in PHP and set up the scheduled task on the easy interface that the host gave me, it was so simple to make. So now, the URL is being executed every hour and I inserted my email for precaution in case the URL does not run for any reason…
All that was left was writing a documentation for John to read so he can understand how to use it. I only wrote half of it but have not finished. All in all, this is a big step towards our project completion!
With this being completed, this opens up many other doors regarding to my other projects which I am inspired to put time and dedication towards a few others too.
Pushing forward, I had a thought indicating whether the server will crash holding too much data so I added another query in the same script that generates the content. 
DELETE FROM

WHERE date <  DATE_SUB(CURDATE(), INTERVAL 2 DAY);
This code basically deletes all data that goes beyond 2 days ago. This is so that the data can hold recent data instead of old historic content.
With this in mind, it makes me wonder if there should be a pages variable… What to do…..
A log in thought… So she came into my head again. I’m not so sure what exactly triggers these things. Maybe it could be that I was with her for too long or maybe I am just so attached to her still. Or maybe… JUST MAYBE… She maybe thinking about me too. How can I be so sure about it is my biggest question but I will stand strong. Just let me live… Please… It’s too hard to ignore…
That comes to an end to my log and an end to my post. 
Inspire yourself… 

Leave a Reply

Your email address will not be published. Required fields are marked *