Comments on the webs

Usually reading comments is not something recommended, but sometimes you come across something worth the effort. 

In response to this, you find occasional gems. Via

Most people live in a world of magic that they do not understand. They flip a switch and the room becomes brighter. They turn a key and the car starts (making noise) and they can then make it go places. They put pre-packaged food into a box and press flat numbered places on the front and the food spins and gets hot. They walk up to a transparent wall and part of it slides out of their way… They swipe and press on places on a flat glass rectangle and get photos of cats and of their friends making funny faces… ALL of this is magic. They have no idea how any of it works, not really.

Is it any wonder that people believe in magic rocks to put into private parts? Or that this or that magic fruit will help them be healthy? Or that one type of needle wards off evil spirits (viruses) that can make them sick and another type of needle wards off evil spirits (unbalanced chi) that can make them sick? They literally have no means off separating our modern tech and science from woo. All of it is magic.

As Arthur C. Clark said, any sufficiently advanced technology is indistinguishable from magic. We have arrived.


Catching up

It has been a long while since we caught up with the life of our two dogs. It has had its ups and downs.

We have had fun in the yard

Played games, or not

Had treats

Guarded the yard

And patrolled the borders

Visited our favourite places

Had emergency surgery

And gotten bored visiting relatives

Or made the most of it

Searched for things we lost

And had a serious rest afterwards

Had friends over to visit

Helped with the summer harvest

And have had some hot summer trips

Enjoyed our own yard

And spent time relaxing together

Had a stressful couple of months with cancer

Waited patiently for dinner

Had more games in the snow

And spent some quiet time together

Gotten our toes wet

And sometimes looked our best

But mostly we are keeping the road safe from strangers

Fun with a UPS

Two things come to mind.

  1. The joys of living in the country side
  2. It has been a relatively quiet winter


2016-08-13 05:51:32 +0300  Power failure.
2016-08-13 05:59:48 +0300  Power is back. UPS running on mains.
2016-08-14 10:04:36 +0300  Power failure.
2016-08-14 10:04:37 +0300  Power is back. UPS running on mains.
2016-09-13 07:10:29 +0300  Power failure.
2016-09-13 07:10:31 +0300  Power is back. UPS running on mains.
2016-09-30 10:46:39 +0300  Power failure.
2016-09-30 10:46:41 +0300  Power is back. UPS running on mains.
2016-09-30 10:46:41 +0300  Power failure.
2016-09-30 10:46:43 +0300  Power is back. UPS running on mains.
2016-09-30 10:47:42 +0300  Power failure.
2016-09-30 10:47:44 +0300  Power is back. UPS running on mains.
2016-10-06 18:44:42 +0300  Power failure.
2016-10-06 18:44:44 +0300  Power is back. UPS running on mains.
2016-10-11 08:09:43 +0300  Power failure.
2016-10-11 08:09:45 +0300  Power is back. UPS running on mains.
2016-10-28 17:43:18 +0300  Power failure.
2016-10-28 17:43:49 +0300  Power is back. UPS running on mains.
2016-11-23 13:29:53 +0200  Power failure.
2016-11-23 13:30:55 +0200  Power is back. UPS running on mains.
2016-11-23 13:30:56 +0200  Power failure.
2016-11-23 13:44:40 +0200  Power is back. UPS running on mains.
2016-11-28 00:57:35 +0200  Power failure.
2016-11-28 00:58:37 +0200  Power is back. UPS running on mains.
2016-11-28 01:04:23 +0200  Power failure.
2016-11-28 01:35:42 +0200  Power is back. UPS running on mains.
2016-11-28 01:36:58 +0200  Power failure.
2016-11-28 01:37:43 +0200  Power is back. UPS running on mains.
2016-11-28 01:37:43 +0200  Power failure.
2016-11-28 01:37:43 +0200  Power is back. UPS running on mains.
2017-01-30 13:11:37 +0200  Power failure.
2017-01-30 13:11:39 +0200  Power is back. UPS running on mains.
2017-02-04 07:42:26 +0200  Power failure.
2017-02-04 07:42:28 +0200  Power is back. UPS running on mains.

I was hacked

I always thought that running my own WordPress site might be a bit risky, but much less than I thought. It took until now to be hacked, which is going on three years. In 4.7.1 and earlier was a REST api privilege escalation vulnerability. That means someone can access the site through one of the application interfaces and inject content without having a correct password. And it seems I am in good company.

Luckily I always had backups of everything related to the site, which basically means the database and the files/uploads. Every day I get an dump of the database and a copy of all files back from the hosting service to my local server. And from there a versioned backup to our cloud backup provider.

So recovering from the hack meant updating to 4.7.2 and restoring the database from a version of the backup I knew was good. Doing an update for me wipes out any existing installation which is good if it was possible to contaminate them somehow. Then restoring the database from my backups is a single command once I restore the dump back to the hosting service.

Windows 4k revisited

It is well over a year since getting a 4k monitor. In that time we have gone from Windows 8 to 10 and a couple of updates. In the end I settled on 150% scaling. So not quite full retina in Mac terms (200%), but actually this is the correct DPI setting for a 32″ 4K monitor. An A4 page at 100% size in Word, for example, really is basically full size (and I can fit multiple on one screen!).

In general for how I am working there have been a few minor improvements in that time. In Windows 10 the switch to HiDPI and scaling has gone forward, but a bit roughly. Of course all the UWP apps (Metro) work out of the box, but app support has been pretty spotty and takes a long time.

Of the apps I use most things like Sublime Text made the jump quite early as had Firefox and Thunderbird. Spotify did eventually, and then most recently Evernote. Lightroom now looks and works mostly ok, nicely scaled UI elements with full resolution images. The laggards now are a handful of older apps that probably never move, anything from Apple, plus of course Steam. Although that just means they are fuzzy, but full sized. Rarely now does an app claim to support scaling and then not do it, resulting in a really tiny window.

The real rough spot from comments online seems to be support for multiple displays at different scaling, or switching displays. But I don’t suffer either of those since this is a desktop PC with a single monitor. Of course that was one of the reasons for getting this display in the first place.

Review of the Acer B326HK 32″ 4k monitor


Probably too brief?

I only noticed this monitor in Verkkokauppa a couple of weeks ago and from all the reviews seemed to be a relatively good monitor at a reasonable price for the size. To my suprise (these things never happen to me) the price fell 100€ the night before I bought it. The bad part was that I actually believed reviews where they said the included DisplayPort cable was crap and to buy a new one. The TL;DR version is that the replacement cable (at 25€) didn’t really work and the one that came with the monitor did. It might be that DisplayPort is a bit twitchy, especially if the cable isn’t seated quite right. But in any case if you have a 4k monitor and the image starts blinking check the connections and try swapping the cable.

All that matters is size

All that matters is size

As for the monitor, this thing is huge. And I mean huge and it is also 4k, and it also has an IPS panel. That probably covers the essentials. Over the last few months there are now quite a few 4k monitors in the 24 – 28″ size range, but I was a bit wary of getting one mostly since Windows doesn’t really have the same level of HiDPI/Retina support that the Apple now has, plus many of them are TN panels (worse colour reproduction). I was hoping to get something bigger to even out the scaling vs small UI issues. As it turns out it probably wasn’t as big of a problem as I thought. Not that it matters since a monitor this size with this resolution (3840 x 2160) is pretty much perfect. In the end I am running it with 150% scaling in Windows 8.1 to get something resembling a reasonable size UI. For all intents and purposes I have have a giant Retina quality display without losing the benefit of size. I still fit quite bit more on the desktop than a standard 24 or 27″ screen (1920 x 1080 or 2560 x 1440) resolution. So I am very happy I didn’t settle for something smaller.

Sharp vs. blurry

Sharp browser text vs. blurry scaled iTunes

The only down side at the moment is the hit and miss support for HiDPI in Windows applications. Things like Firefox and Thunderbird are absolutely perfect, as are most of the Microsoft built in applications. Some however are not (iTunes, Spotify, and Skype for example). Lightroom is sort of HiDPI aware, but it scales some parts a bit strangely (small icons). But the upside is that you get the full resolution for the images, just like on the Mac. An application in Windows has to declare that it understands HiDPI. If it does, then it has to scale its own UI to the DPI setting you select. If it doesn’t then Windows will scale the UI for it. Unfortunately that really does just mean scaling, so instead of getting ultra-crisp text you get fuzzy, blurry text. I’m guessing that the move to Windows 10 and Universal Apps will solve most of this as Metro apps can now run in a window, and are fully HiDPI aware. In the end the traditional desktop apps will just die out. I think Microsoft also has some tweaking to do in the OS itself since when I first installed the monitor Windows decided that I needed 250% DPI scaling and drew huge icons and windows. Obviously the 32″ part never rang any bells. I still haven’t decided if I stick to 150% or go down to 125% still. I think the lower value might be a bit too small though. I prefer the cleaner fonts to tiny ones.

Bringing home the bacon

Bacon, as everyone knows, is basically meat candy. So who wouldn’t want to make their own. As it turns out it is remarkably easy to do, although getting the correct ingredients takes a little effort, especially here.

A pile of saltAlthough it technically is possible to make bacon with just ordinary salt, that isn’t how it should be done. Real bacon (as with other preserved meats) should contain a special salt—sodium nitrite. As well as preventing you from dying from food poisoning it also gives the meat the correct colour and flavour. After procrastinating for a while I eventually found somewhere that had what I was looking for and could ship here. In the end I got both a ready prepared bacon curing mix as well as the basic Prague Powder #1. I figured I’d save shipping costs and get it all at once. The Prague powder needs mixed with other salts and spices and is good if you want to start from scratch yourself.

Ready salted bellyThe rest is easy. As it turns out you don’t get true pork belly here since they don’t cut the pig like that. But you can get boneless ribs, and those are actually better. In the US it would be called back bacon and is usually meatier. And the price is a grand total of about 7€/kg.

All you do is cover the meat in a sprinkling of the prepared cure (for the mix it is about 30g/kg of meat).

Sealed for briningAnd then you stick it in a well sealed bag and put it in the fridge for a few days. For the amount I had it was about 5 days. Basically it will stew in its own juices and just needs flipped over every couple of days.

Ready for smokingYou could stop there. But bacon wouldn’t be complete without being smoked. So next up was a gentle smoking at about 120°C until the meat reaches 65°C internally. Smoking on the gas BBQ isn’t the solution for a perfectionist, but it is definitely the most convenient and it works pretty well. In the end it took about 3 hours of smoking using a mixture of hickory and apple wood chips.

Tasty tasty baconThe result at least looked good, and it tasted pretty fine straight from the BBQ.

But the real test came the next morning.

Bacon breakfast

Next time maple syrup flavoured bacon.

A Pi all of my own

A Raspberry Pi — All the power of a 10 year old desktop in a tiny little box (box not included). And with the added enjoyment of a bare bones Linux desktop. Of course they updated it to be 6x more powerful about a month after I got mine as well.

Of course the real fun starts when you start actually building things with it. And it is already working as a basic photo frame using the TV as a display and serving pictures straight from the Linux server via a smb share.

So many things to do, so little time.

Another day another WordPress update

Nice way to spend an afternoon — scripting WordPress updates. As in all things internet it doesn’t pay to hang back from the bleeding edge too much. At least now I have a clean and easy way of doing the updates myself since the hosting provider seems to block the auto ones still. The joys of shared hosting :-(.

A manual update

Seems my hosting provider doesn’t support WordPress doing automatic updates :-(. Luckily they have quite clear instructions for doing a manual update, but for some reason I almost managed to bork it about 3 times in a row. Either copy doesn’t work quite the same in the hosting service or doing it late at night after a strong cider and some mind bending studying is not a good idea.

In either case it is updated and everything still works.