New Theme Experiment

I have had a little more time to play with the twentynineteen theme. I'm still not convinced by the new 'blocks' based layout at this stage.  Whilst I get the idea of being able to move the content blocks around when putting a page together the features I want are not yet there.

I have sections of content on this site that I have styled to look like a command line for use when posting command strings.  I would  like to be able to create a block with that style from within the editor and reuse it.  Currently I can only save a section of html and any changes to it will affect all of the other blocks of that type.

I can think of a way around the issue but it isn't that practical. After a little research I discover that I can probably create my own custom blocks or use a plug-in to do so.

This is inconvenient as I either have to trust a plugin going forward and hope that it is maintained or spend the time learning how to make my own blocks. Neither of these options are that desirable.

WordPress 5.0

I have been waiting for the release of WP 5.0 as I have been keen to try out the new Twenty Nineteen theme. Having looked at a preview of the theme I have mixed opinions.

The new editor that I can use to create posts is easy to use. At the same time it moves me away from the HTML/CSS editing that I normally tweak. The new theme makes use of more of the new blocks functionality. The downside for me is that I will have to spend some time trying to recreate some of the aspects of the site which I want to move across.

I have used some particular formatting styles for some of the pages of the site.  I'd like to continue to use the same style but I need to understand if the new block editor can help me do that.

I still plan on moving to the new theme eventually. I plan to upload some more of my notes on STM32 development.  This will be after I understand how to get the best out of the new theme.

STM32 Developments

Recently I have been a little quiet on the post front. Work has been busy and I've just not found the time to write anything. Behind the scenes I have been tinkering with an STM32F103 and connecting some WS2812B LEDs. Progress can be followed on GitHub.

Unexpected Changes

E-mail is one of those things that you take for granted. Once you have set-up an address and a client you can reliably receive mail for many years until something changes.

Over the past 2 months something changed and I almost didn’t notice. There are certain sites that mail me a few offers, I subscribe to a few mailing list items, github updates me on a few projects that I keep an eye on. I don’t get a huge amount of email but there is normally something being downloaded when I open the client. There were a couple of days when I didn’t get as much as I expected. Not a problem as perhaps there wasn’t anything being sent. When this persisted for a few days I began my investigations.

I was aware of my web host updating the mail-server back-end. I had received an email stating that this would be occurring and to expect a little downtime. But apart from that I wasn’t expecting any significant changes. Significant changes had happened.

Having a domain name had allowed me to use a catch-all email address. Any email that would be sent to the domain after being spam filtered would be received. This made it incredibly easy to create a new address on the fly when creating an account for a new service. I had a few actual mail box addresses in addition to the catch-all. What I had noticed was email only being received from actual mailboxes and not the catch-all addresses.

This was a problem as I had a few accounts where I really needed to be receiving correspondence. I needed to get a solution and quickly. I was able to contact my host and get the catch-all re-enabled. This workaround allowed me a little more time to arrange a permanent solution.

The permanent solution would be to create actual mailboxes rather than rely on a catch-all system. How many unique email addresses had I been using over the years? I stopped counting at 114. Creating mailboxes for all these would be too much effort since most wouldn’t see a large volume of traffic.

Looking through the long list of addresses I was quickly able to discard a large number of them. I had a few that I had used for stores and services that have since closed down. I shouldn’t be getting any future mail from these so I have just made a note of them in my spam filter and ignore them. To reduce the remaining addresses I decided it was best to create a single mailbox and then update various accounts to use it. I can then discard the original address. This was a long and time consuming task.

Currently I have reduced my 114+ addresses down to a more manageable 25. In an ideal world I would have been able to reduce it down even more. A stumbling block was not being able to change my email address on some accounts. For the ones that matter it was easier to create a mailbox, for the others it was easier to unsubscribe and resubscribe.

In future I am only going to use a more limited selection of addresses to hopefully reduce the 25 even more. Whilst this process has been an annoyance it has been necessary to tackle it. I think it has been about 5 years since I last tackled a big email change. All being well I shouldn’t have to do anything as significant for at least another 5.

Email Settings

I checked on the connection settings I am using to log into the mailboxes. Technical information from another email provider provides a good overview of the available settings.

RFC8314 (Jan 2018) outlines the current thinking over connection security for email.

Simply put implicit security using SSL/TLS is preferred as it encrypts the connection by default. STARTTLS is discouraged as it begins as a plain text connection which can upgraded to an encrypted connection. It is worth checking your settings with your own provider to ensure you are as secure as you can be.

HDMI Monitor Problem & Fix

The recent warm weather had made using my 3 monitor configuration a little uncomfortable. To make things a little more bearable I decided to turn off two of the monitors to reduce the amount of heat output into the room. I disabled the monitors using the display settings in Gnome 3.28. All was working well.

Today I attempted to re-enable the screens and here a problem arose. Whilst my DVI connected monitor powered up correctly and could be managed in display settings, the HDMI connected monitor could not. The HDMI cable was exchanged and the monitor confirmed to be working by connecting to a laptop. I had begun to suspect a faulty HDMI port on the graphics card. No amount of powering down and rebooting would solve the issue. However the monitor would display the BIOS screens and boot process up to and including the login manager. The only point at which it would fail to display anything was upon logging into Gnome.

Some research pointed to a monitors.xml file. This can be found in the users home directory ~/.config/monitors.xml. Opening this in a text editor and reviewing the contents showed that it had become corrupted. It showed monitors connected multiple times to different inputs. In the past some of this information would have been correct, but as my monitor connections have changed the file had not been kept up to date.

I removed the file, since it gets automatically regenerated, then logged out of my session. On logging back in my HDMI monitor became enabled again and working alongside the others. I was then able to tweak the display settings to have them all back to my desired configuration.

Facebook Account Deleted

Today I finally got round to deleting my Facebook account. I have never really been an active user and it has been years since I actually logged in. My only use was to use the “Log in with Facebook” option with a mobile app that I am not too fussed about.

I downloaded an archive of my data. Before I did so I removed all the linked applications that I never use. I was left with a zip file a little over 15MB. The vast majority of this appears to be animated GIFs.

Being such a light user there is nothing left in my archive to make it worth keeping. The major benefit for me will be a reduction in email traffic. No longer will I have to put up with the regular email telling me who is posting and trying to get me to log back in.

If you want to delete your account then you can follow the same guide I used at https://fossbytes.com/how-to-delete-your-facebook-account-permanently/.

Aims for 2018

It's that time of year again when I look back over the goals I set myself over the previous year and decide on some new ones for the year ahead. I’m a little late posting this year but I was suffering from a winter cold.

What I intended to do in 2017:

  • Lose weight – Failed, I managed to stay the same for most of the year only to gain weight for Christmas 🙁
  • Continue work on STM32 development – I have done very little
  • Clear out Garage – A few large items need to go and are still there.
  • Build a new PC – I managed to do this one. About time too.
  • Finish Back Yard – The last step is still waiting to be installed.
  • Buy a new kitchen bin – It didn’t happen.
  • Cook something new – I cooked some duck legs and served with a plum sauce.
  • Eat more healthily – I ate more healthy things but ended up eating more.
  • Perform more data backups – Can always use more.
  • Read more books – I still have a shelf of unread books.
  • Plan Free time – Limited success.

2017 was perhaps a year to forget. Work was busier due to retirements and changes in staffing levels and increasing workload. Getting home from work tired doesn’t result in productive evenings.

What I aim to do in 2018:

  • Lose weight – I have some trousers I would like to fit again.
  • Continue work on STM32 development – I had a new board for Christmas and I need to do something with it.
  • Experiment with CPLD – I found a cheap development board I want to play with.
  • Clear out Garage – The last garage fridge failed so it can now due a full clear out.
  • Go 4k - It might be time to buy a 4k TV or computer monitor.
  • Finish Back Yard – The step will be installed at long last.
  • Eat more healthily – Less chocolate, fat, carbs.
  • Perform more data backups – More off-site backups too.
  • Read more books – I have a shelf of unread books waiting to be read.
  • Plan Free time – Make time for things I want to do.
  • Reduce Netflix use – Spend evenings away from TV
  • Tackle the Rodent Problem – The rats have returned to my loft 🙁

2018 has many of the same goals as for 2017. The 3 I would like to achieve are losing weight, clearing out the garage and reading more books. If I can manage these 3 then I might find some of the others get done as a result.

Fixing the Printer

I finally reached the point where I needed to fix my Laser Printer. My Kyocera FS-1030DN has been serving me well for years and whilst the print quality is as good as they day I bought it I have had a problem with the page alignment. I have been loosing the top and bottom of pages which has been irritating.

I found a Techspot forum post detailing a solution.

Adrian123
Just fixed mine tonight with the help of Google Translate and a german printer forum...

The cause is small piece of foam rubber tape on the registration clutch solenoid, which gets slightly sticky with age and affects the timing of the paper mechanism.

If you're reasonably comfortable dismantling stuff (and reassembling successfully!) it's not hard to fix. It helps to get the service manual, which has nice diagrams of how the parts can be removed - Google "fs-1020d service manual".

Here goes:
Lift out the "process unit" (toner and drum).
Remove the top cover - 2 screws.
Remove the thumbscrews from the rear to get at the option slots.
Remove the right side cover - about 6 or 8 plastic clips (service manual shows where).
Disconnect the 12 cables from the engine board (the one with 12 cables 😉
Remove the engine board - 3 screws.
Unclip a few wires and remove the light-grey plastic cover (1 screw).
You'll now see 3 solenoids (coils with metal levers attached; mine had the coils wrapped in blue tape). Top right one is likely the main culprit, but probably worth looking at all of them. Take the solenoids off one at a time - 1 screw each.

There's a small piece of 0.5mm foam tape that's supposed to stop the solenoid from clicking too loudly when the magnet pulls the lever in, and it's probably very gooey. I scraped off the goo and replaced it with some foam tape I cut down thin with a razor blade. You could probably just omit it altogether or cover the goo with some adhesive tape.

Reverse to reassemble - good luck!

Well I tried out the method described and it worked a treat. I did indeed have sticky residue on the solenoids which I cleaned off. I reassembled the unit and ran a few print tests.The following pictures show the results, before print on the left, after print on the right.

Print Alignment 1
Print Alignment 1

Print Alignment 2
Print Alignment 2

Stable System?

I think I can finally say I have a stable system once again. After the RMA replacement of my Ryzen CPU to fix the “Performance Marginality Problem” I noticed that I was still getting some regular system lockups/freezes when it was left idle.

How long this secondary issue has been present I am unsure. Over the summer I had been using the machine but turning it off after use as it was keeping the room a little too warm. I probably didn’t notice the idle issue as I wasn’t leaving it idle. Any occasional occurrences of problems I attributed to the old CPU.

The current workaround has been to disable the C-States in the BIOS. It appears when the system is idle it is going into a low power mode but for some reason this isn’t happening correctly. At this time I’m unsure if this is related to the BIOS itself or Fedora 26 running a 4.13 kernel.

I have upgraded both BIOS (AGESA 1.0.0.6b) and kernel over the past few months so I will have to test again when one of them changes. Next week Fedora 27 is released, it will likely ship with a 4.13 kernel but 4.14 should follow shortly after. A BIOS with AGESA 1.0.0.7 might arrive before the end of the year.

For the time being I will settle for a little additional power usage and no crashing.