Site Updates

Major site outage 8 January 2019

Posted on: Wed, 2019-01-09 - 19:27 By: danie

Last night was not a good night... just after I had finished putting the last touches to adding Disqus comments (I'm still trying to remember how I restricted them to only certain pages) I made the big error of disabling two aggregator feed content systems I was no longer using and then also deleted (I should have disabled and backed up) a "feed" item which I thought I was not using. Then it all fell apart as I'd made so many tweaks that the more I tried to re-add the feed item I broke my RSS importer and things went from bad to worse.

I made the call eventually at 4am to rather restore a backup from 24 hours ago but as luck has it that backup failed with an error and had broken the whole site. Try as I could I could not get the backup to restore and eventually logged a fault with my ISP at 05:24 to assist with the restore as even the cPanel restore only resulted in an empty database.

My ISP struggled during the day and eventually tried a full hosting restore (rolling all my sites back to 7th January) but it still left the Drupal with an empty database.  After shifts changed at the ISP I thought I'd have one more try to restore the Softaculous backup... and this time it just went through without errors and bang the site was back. All I can think is that there was some corruption that prevented the restore last night, and the other restores today had set that right.

So as I sit here now I've been awake for 33,5 hours... actually feeling good so will probably sleep well tonight at least!

Open post to Comment

Enabled easier to use Disqus comments on my blog

Posted on: Tue, 2019-01-08 - 18:25 By: danie

For a number of years, I have been publishing all my posts to my own hosted blog (first WordPress and then I migrated it all to Drupal) as insurance against social networks disappearing (which they all will eventually) so I have a good 15,000 to 20,000 posts now which are searchable in one place.
Commenting has been a bit difficult for followers there though as I had to enable registration and later anti-spam measures to keep the spam out. No-one wants to register to make a once-off comment on a site they may not come back to later.

So I'm trialling out Disqus now which will give commenters the following advantages now:
1. It's universal so if you have ever registered once elsewhere with Disqus you just continue here without a new registration.
2. Easily authenticate with social logins such as Google, Facebook, and Twitter.
3. You can vote others' comments up or down.
4. You can easily reshare the post or even an individual comment to the social network you logged in with.
5. You can sort comments.
6. You can like a discussion.
7. Going to Disqus itself at any time with show you all comments you have made across various websites and you can tailor notifications (or stop them) there.

Comments will work on any posts I see (even older ones) but you have to click on the post title to open it and comment. The newest post I see is displaying the Disqus comments in the list view, but for some reason, the other posts in the list view are not showing the comments until you open the post (a teething issue I will need to sort out). This is a bit annoying and I'm trying to find a fix for it. The idea is you should be able to scroll down the list view of blog posts and see whether there are comments or not.

With Google+ soon set to shut down I don't expect many people will be physically visiting my blog site every day to keep up with any posts if you are not on social media (such as MeWe, Facebook, Mastodon, Twitter, Diaspora, Friendica, Tumblr, Hubzilla, Blogger, SocialHome, Minds) then you can try the following to just get headlines:

1. E-mail subscription at https://mailchi.mp/8e13efeb48c4/gadgeteerza.
2. RSS Feed at https://gadgeteer.co.za/rss.xml - there are also free Android and iOS RSS apps that will allow you to track updates from various sites like this without having to visit them.

See my blog at https://gadgeteer.co.za/blog

#disqus #blog #gadgeteerza

Open post to Comment

Mixed Content Removed so Some Pages will Load Quicker

Posted on: Mon, 2019-01-07 - 18:23 By: danie

Unfortunately an .htaccess file update yesterday evening broke the SSL loading for my address at https://gadgeteer. Whilst fixing this and checking the SSL I noticed three pages (including Home, Open Source Software, and Reading) that were loading some mixed content (non-https) content and this slowed the loading down a bit and could have popper up warnings on some browsers. I have fixed these so loading should be clean and a bit quicker now.

Open post to Comment

Subscriptions via e-mail

Posted on: Sat, 2018-12-15 - 15:16 By: danie

On the My Blog page I have added an option to subscribe to a daily e-mail with a excerpts of my blog posts for the prior 24 hours.  This may be preferable to some followers who don't want to check the site daily or who do not use a RSS reader.

Open post to Comment

I now have a Riot.im room for blog comments

Posted on: Sun, 2018-03-11 - 00:22 By: danie

Riot.im screenshot

I have created a dedicated room on Riot.im at https://chat.librenet.co.za/#/room/#gadgeteerza:librenet.co.za where my blog posts will also be appearing, and anyone can comment or post there.

Riot.im is an opensource alternative to Slack, and can also be used for team / company chats, communication, voice calls, file sharing, etc.

Open post to Comment

Viewport settings for mobile devices

Posted on: Tue, 2018-01-09 - 16:46 By: danie

I have set Viewport settings on my site for mobile devices so hope this will improve page scaling and rendering for mobile devices.

Note though that images are rendered to fit on the screens, so if you are viewing in portrait mode and the photo is a landscape photo, it may appear a bit skewed or squashed to fit. What I find works well for this (as a workaround unless I can find a better solution) is to rotate the mobile device to landscape mode which renders the photo fine.  I will anyway try and use a squarer format for photos in future which should render much better.

Open post to Comment

Home Assistant Page Created 8 Jan 2018

Posted on: Mon, 2018-01-08 - 18:32 By: danie

I've created the page at https://gadgeteer.co.za/homeassistant to follow my journey as a newbie in setting up and configuring Home Assistant to work. I've got as far as the basic set up and editing of config files. I'm currently exploring how Groups work (creates changes to the layout view) before I move onto adding more specific devices.

Currently, I have my weather station, Fitbit, Efergy energy monitor, monitoring what phones are at home/away all working.

Open post to Comment
Subscribe to Site Updates