Although this post may not interest anyone, I wrote it all the same. You see I like to look back at my year toward the end of the year.
2016 has been a pretty bad year for me, and I think in general for quite a lot of people. However, in this post, I'm going to look at the positives in the year too since there were also many of those in 2016.
First off, January was a good month. I started working at Knox Academy for the first time, a school I'd always wanted to work at. I really enjoyed working here, as much even as at Ross High School where I'd been working before. I was doing something I really loved voluntarily every week twice a week. Fourth-year of university was also one of the best years I ever had at university. My courses were really great and it looked like I was on target to get a first-class degree too. However, the loss of the amazing David Bowie was quite a big shock to the world. Then just four days later one of my favourite actors, Alan Rickman (Harry Potter, Love Actually, Die Hard etc.) passed away too. And let's not forget Sir Terry Wogan who since I was a child had been doing so many great things for charity, in particular Children in Need.
February came along soon and it was one of the worst months of my life. I was told on the 15th of February that my MRI results were bad and that I needed to get surgery. Towards the end of February, I went through a bunch of tests. I was also turned down for teacher training by two of the three universities I applied for.
At the start of March a biopsy showed that there was nothing to worry about. But the surgery did damage me, I had headaches for days on end and huge pains in my head over and over again. I also worried about how I was going to complete my degree. Admittedly, by the end of March, the plan was in place to help me finish my degree and I was on route to getting it again. Also in March, Ronnie Balfour Corbett passed away,
April was not much better for me, I spent most of that month recovering from surgery. Although towards the end of April I did go back to teaching. I also finished my dissertation in April.
In May I submitted and presented my honours year poster, marking the end of my time at university. Towards the end of May, I got an interview for the University of Strathclyde for teacher training. The interview and presentation I had to deliver went very well and both of the two members of staff said that I was perfect for teacher training. As soon as I got the conditional acceptance from them, I went ahead and phoned up the college I was going to go to for catching up on my Higher English I needed to pass the conditional requirements of the university. Even after phoning them just two days before where they had plenty of space they had completely run out. This meant I had a conditional acceptance that I could never meet the condition of. However, on the 30th of May, the degree classifications for Computer Science were released. I was amazed to see that I had a First Class degree. It was honestly one of the most amazing feelings ever!
June was a good month, perhaps the best of the year. A few days after the degree classifications were announced our grades for our fourth year second semester and dissertations were released. I got 7 As and 1 B for my fourth year, and 82% for my dissertation. A couple of days later I was emailed by my mentor congratulating me but also asking me if I'd be interested in a PhD. Without thinking about it too much, I said "I'd be interested in a PhD so long as it matches what I'm interested in". I considered it a backup plan but also something I would have wanted to do at some point in my life anyway if I didn't get into teaching. I also went ahead and started applying for jobs in the industry, just in case, although at that time (and things have changed now) my heart wasn't really hugely set on a job in the industry. I graduated on the 21st of June 2016 and it was one of the best, yet saddest days, of my life - I saw a lot of my friends for the very last time but we were celebrating. Also on the 21st of June, I was told I would not be able to get into teacher training without Higher English and was given all the evidence to prove it. On the 29th of June, I was officially accepted onto the PhD I had applied for.
July was another month of relaxing for me, and of course my birthday. I had a good July, admittedly too relaxed but I spent a large amount of time working on BalfBlog and improving it, with version 2.1 being launched towards the end of July. However, I also was told that the house I had the deposit on was now completely possible since the mortgage I had applied to was now possible too.
August was another month of relaxing, and a week away up in Perthshire as always. It was an exciting month for me because I knew that I would be starting my PhD in a few weeks.
September was obviously the month I started my PhD. It started off very quiet, I did really know what I was doing. I felt quite lost. At the end of the first week, I seemed to feel like I was part of it however, with my supervisor treating me to lunch and explaining how the first week always feels like that. Week 2 of my PhD and I was helping at my first ever conference. I really enjoyed this, plus I got to see inside the new gym at the university. The conference allowed me to see just how these things work and how they benefit the subjects of the research so greatly, with many of them praising the work of the researchers. I also met two really good friends in September; Lewis and Ana, who have both been very supportive of me over the last few months and I couldn't have stayed without the two of them (it'd have been very boring). I also began lab helping again, something I thoroughly enjoy doing
In October I was diagnosed with a form of dyslexia (which I have obviously obtained from my treatment, which is what my doctor also believes also), which explains why I have difficulty reading for long periods of time (though this may have just been attributed to general brain fog). Dyslexia has not affected me in a huge way, since I can still write, spell and read, it just makes it more difficult for me to concentrate on reading for long periods of time. However, finding out that what I originally thought was true was very discouraging for my PhD. On top of that, there was a nightmare and disaster going on around me, since there was a huge problem with one of my friends. I'm not going to explain it for obvious reasons, but it had a huge effect on me. For the first time in 2016, I was actually feeling depressed again. However, there were still some good things in October, with the Computer Science department celebrating 50 years, and a fantastic dinner and lovely evening (where I got to meet Alex Balfour, the man who brought the first Computer Science degree to Scotland at Heriot-Watt).
In November I felt I had to go back to my bank to double-check on the mortgage. To my disappointment, the bank had now changed their mind and was not prepared to give me the mortgage they had been able to get me before. My PhD, paying in a net salary, was not enough for the house any more. As a result, I started to get bad feelings and felt that this house was too good an opportunity for me to miss and that I need to think about myself rather than what others think for the first time. This house means a lot to me, and I may never get another attempt at such a good offer again, so I have to pursue it. On top of that, I felt really down because of the situation in October and felt like the PhD was no longer for me. After discussions with my parents, friends and a few others, I decided to stay with the PhD but apply to jobs. I made a promise that if none of the 20 jobs I applied to wanted me, I would stick with the PhD. I think a lot of that worry about the PhD did stem from the fact that I began to think about what I was doing and whether I could stick for the four years that I was being told it would take (when I applied it was 3).
December was a good month to start, with me feeling a lot more motivated about my PhD and getting on with it again. I got my scan results on the 7th and they were good again. I was also phoned by the bank to tell me that would be able to offer me a mortgage, but I'd need to increase my deposit by £3,000. However, on the 12th of December, I got a seriously bad spell of a little bug. This bug meant I was unwell for a whole 2 weeks, and I actually had to go to the hospital at one point because it was so serious. I finally recovered fully and was eating again on the 21st of December. It didn't end there, however, because the bug had put me into depression, and perhaps the worst depression I had ever had. I just could not shake it. We also found that our lovely little hamster, Henry, had a couple of tumours and not long left to live. We were all devastated by this news. Christmas Day arrived and I was still not feeling great. I enjoyed Christmas as always, but it was perhaps the worst Christmas ever due to my depression. Sadly also on Christmas Day, George Michael, one of my mum's favourite singers, passed away. I really liked Wham myself so it was also very upsetting for me. On the 27th I went away for a night up north and it seriously fixed me. Just that one night away was enough to get rid of my depression this time and so I was cured. And here we are now. The end of the year. At the moment I am not working and not doing anything but relaxing and, as I do every year at this time, completing The Legend of Zelda: Majora's Mask once again.
I'm hoping 2017 will be a much better year, and as I once said, the odd years are always much better than the even ones for me. I cannot see myself doing my PhD much longer since things have got very fraught between other people in the department and I'm always the one picking up the pieces.
Wishing you all a Merry Christmas 2016! I hope you all have a wonderful Christmas 2016! Here are some Christmassy pictures for you to enjoy (all stock and royalty free, but thanks to the people who made them)!
Just remember the real message behind Christmas, and don't forget what Christmas is really all about!
I have been trying to find time to make this video and finally got round to it last week. In this video I take you on a small tour of BalfBlog and explain what it is. I hope you find it useful and interesting.
I've finally brought JSON support to ZPE.
ZPE 1.5.0 will bring JSON support and will also focus on adding XML parsing tools to the mix. Currently version 1.5.0 uses the GSON library to add JSON parsing capabilities but I do intend to replace it with my own JSON parsing application at some point, since GSON brings the size of ZPE up to 500KB from just 300KB and I can't justify this. However, the change will only be a back end change when it comes and all applications will perform the same way if they are written to use the JSON functions currently provided. Consider GSON a placeholder.
Here's a small sample that takes the JSON from my own http://code.jamiebalfour.scot/balfblog/info.json file that I use to share updates to BalfBlog:
$json_string = '[ {"name" : "BalfBlog", "version" : "2.2.1", "version_name" : "Klebb", "last_update" : "12-2016" } ]' $map = json_to_map($json_string) $name = $map.get("name") print($name)
If we now look at what is output we should get the word BalfBlog.
Working on many projects at once means you get genius ideas every day! Today's post is about the genius idea that came to BalfBar today.
When I say genius, it was actually inspired by my main competition, jQuery SmartMenus. However, my own ideas were used to actually make BalfBar work the way I want it to.
What happened was that I finally got round to adding scrollable menus to BalfBar. In some ways it's pretty sad when layout needs to be done using JavaScript, and I'm more a fan of green code over yellow code (CSS vs JS for those who don't know my naming for CSS and JS). However, the layout is instant, and even on older computers running on older versions of Google Chrome it still runs perfectly fine. My main concern for BalfBar is the amount of work being done in the JavaScript so I am working on removing more of the older features found from earlier versions and working to improve performance and reduce memory overheads generated.
Scrolling is managed by binding the scrollwheel and some clever stuff to do with absolute position and calculating the distance to the top versus the height of the dropdown. I've also removed the fixed positioning on menu items since there was no need once I figured this out, were are back to absolute positioning (which is great because it works well on all browsers when zoomed).
I believe this concludes all of the main features I wanted in BalfBar and in a way, brings this project to an end, or at least a feature end. Bugs can still be reported to me as usual.
I'm very (to the power of one million) happy to say that after a couple of weeks of not working on ZPE after feeling very despondent about it after spending a long time searching for a bug, I'm glad to say that I have finally fixed it and it only took me a few minutes tonight.
The issue affects all of version 1.4 from version 1.4.2 onward due to the bug being in the LAMP parser. This bug was down to the fact that if a single variable was part of an expression it would attempt to look at the variable as a value, not as an ID. This fix is marked as being crucial to the success of any version of ZPE, so please ensure you do not use version 1.4.5 any longer and update to version 1.5.0.
There are still things needing done in version 1.5.0 to make it work perfectly, but I'm getting there now.
Note as of tonight, the following needs to considered:
$v = 12 $x = 10 print($x * $v + 12)
This will not give 132 as expected. However, the following will:
print(12 + $x * $v) print(($x * $v) + 12)
Future versions of ZPE are fixing a lot of these bugs, but I will be adding the Typo system to the next major version of ZPE as well.
Since the development of JBlogs (now BalfBlog) back in August 2014 began, I have worked tirelessly on making my blogging system flexible for everyone. It matters to me not that it may never get that many users because by developing this I am developing my own skills whilst developing an excellent blogging system I can use on my other websites and future websites without any hassle.
Developing BalfBlog has become so easy, especially due to its MVC design pattern that I have adopted into it. But the development of BalfBlog has not been easy from the start. In fact, when BalfBlog started its core aim was to integrate completely with any website. The way it worked was to integrate both the front end and the backend (or dashboard as it is now known) into any website. Unfortunately, this was a huge job for anyone non-technical to setup and it was too much for me to develop further without any real reason.
After talking with some potential users I got a lot of feedback stating they liked the fact that the front integrates well with any website, but if the backend was complex to develop then they'd rather that the backend was easy to use and if that meant sacrificing integration with the website for a backend then so be it. I followed this feedback and decided to move to my own custom designed Dashboard. This is the Dashboard you can see now if you have trialled or used BalfBlog.
The development of this new Dashboard allowed me to redesign the whole of the BalfBlog backend to sit comfortably on the object-oriented balfblog.php file that manages all of the main operations of BalfBlog. The redesign also allowed me to develop the backend in a semi-MVC model, which makes the development of BalfBlog so easy.
However, the purpose of this post is not to talk too much about what makes BalfBlog amazing, but it's to ask what more you'd like to see in a blog. This year, particularly the last two months and this month, there have been a huge number of very useful features come to BalfBlog 2.2 (version Klebb, after Rosa Klebb) that have made BalfBlog exceptionally powerful and useful. The majority of those have focused on the social side of things like integration of OneSignal's API, allowing us to utilise push notifications and social buttons on each post, allowing users to quickly share a post. Unfortunately, I am beginning to run out of ideas for features for BalfBlog. I am looking to my users and readers again for more ideas! Test out my demo version here and let me know what you think by using the contact form on my website.
I will be holding BalfBlog development until the new year, I hope that by then I will have a good idea as to some new features people want to see in the next version. Also, I'd like to know, should I upload BalfBlog to GitHub soon?
December has been a month about bringing notifications to BalfBlog. This month has brought quite a lot of new features that connect with the users of the blogs.
First of all I added push notifications towards the end of November, allowing users to quickly subscribe to push notifications. Users can still subscribe by email using the my_blog/subscribe/ URL. On top of this, notification frequency can be changed so you don't spam your followers.
Secondly, I have finally added social media buttons for sharing. This is completely controlled by BalfBlog, so you don't need to worry. All that you have to do is style the buttons and set them to appear from the settings controls.
Take a look at my blogs to see exactly what has been done.
I am not saying smartwatches are finished, but if you look at the figures they are hugely on the decline. According to one report, only 2.7 million devices were sold in quartile 3 in 2016, with Apple still at the top with 1.1 million shipments. Garmin is the only manufacturer to be actually increasing market share, with Apple being the biggest loser here.
The thing with smartwatches is that most people probably do not need them. This is the main reason behind me not buying one because I could see it becoming something that would never see any use. I understand it saves people time when you get a text because you don't have to reach for your pocket to get your phone, but that just doesn't appeal to me.
Now then, the question is, how much longer will Apple continue to make smartwatches? Sure when Apple Watch 3 comes out it might attract a few million customers, but Apple Watch 2 failed to amaze the world, instead just leaving a disappointed feeling. According to the original report, Apple's Q3 sales have not been great for the Watch, which reinforces the point made by Trusted Reviews about its lack of new features. At the moment, sales of the Apple Watch 2 are more likely to be to new users than original buyers, since the second iteration doesn't add a massive selection of new features, and I guess the same will be the case with the Apple Watch 3. Once everyone owns at least some smartwatch, it will be very difficult to sway them to another one - it's just not like the smartphone market.
BalfBlog now features a built in 'related posts' tool. Nothing needs to be changed to have this in an existing blog other than one setting needing changed to enable it. This new feature makes it even easier to generate your own related posts section than I had done before. Simply turning the toggle to on will then make BalfBlog auto generate this after each post.
It's a very powerful feature that will help generate more readers for each post.