Archive for 2018

For someone who likes to write all their IOT code in Ruby, and has a lot of really useful libraries already, it’s getting harder when you experiment in IOT. It looks like Python has taken over almost everything.

And when you buy a shield (HAT/PHAT) for a raspberry Pi the drivers are almost always delivered in Python – especially from good suppliers like Adafruit and Pimoroni.

A good example is my “Scroll Phat HD” board for the raspberry Pi Zero W – it’s a really useful and good way of displaying small amounts of data – as you can scroll the text sideways very easily with their libraries with very little additional code, if you are using Python.


A Scroll Phat HD in all it’s glory.

This was until I found pycall – giving me a easy way to use Python libraries directly from Ruby.


and it works! Here is a short code example for using the Scroll PHAT HD python library

require 'pycall/import'
include PyCall::Import
pyimport 'scrollphathd', as: 'scroll'
width = 17

puts "loaded libraries ready to call scroll"
# First clear the display
streng = "This is a long string"
scroll.write_string(streng + " ", x=width, y=0)
teller = 0
while teller < (streng.length) do

It could not be simpler – and of course I run it all directly on the Raspberry PI. Now I can both have the best of both worlds.

Yesterday I posted a little quote for the Norwegian and UK prime ministers after they had met – basically giving their nationals living in either the countries as expats the right to remain residents, even in the case of a no-del Brexit.

Reflecting on this I find it a very strange thing to do for the British PM – singling out one country (even if its to my personal advantage) for special treatment seems a odd thing to do. It’s almost a preparation for a no-deal Brexit?

OCTOBER 30, 2018 / 1:11 PM / 11 DAYS AGO
UK, Norway agree right to remain for their citizens after Brexit

Nerijus Adomaitis, Gwladys Fouche

OSLO (Reuters) – British citizens already living in Norway and Norwegian citizens living in Britain will have the right to remain residents, even in case of a no-deal Brexit, the prime ministers of Britain and Norway said on Tuesday.”

It took me a long time to realise that the HomePod’s mains cable was actually plugged into the HomePod – I thought it was a permanent part of the HomePod.

But this story – – debunked that belief, with a good YouTube video to boot!

The following link is to a bog post by Cloudflare – and is a really good writeup covering the severe problems challenging anyone that wants to use secure certificates, and the issues in keeping them secure. Or rather how to keep the CA’s secure end honest.


A fascinating read

I just got wildcard certificates working and issued using the acme options in Pfsense – it took q restart and a lot of original fiddling – but I can confirm it’s working.

Slashdot WordPress Now Powers 30% of Websites

WordPress now powers 30 percent of the web, according to data from web technology survey firm W3Techs. From a report: This represents a 5 percentage point increase in nearly two and a half years, after WordPress hit the 25 percent mark in November 2015. It’s worth noting here that this figure relates to the entire Web, regardless of whether a website uses a content management system (CMS) or not. If we’re looking at market share, WordPress actually claims 60.2 percent, up from 58.7 percent in November 2015. By comparison, its nearest CMS rival, Joomla, has seen its usage jump from 2.8 percent to 3.1 percent, while Drupal is up from 2.1 percent to 2.2 percent.

twitter_icon_large.png facebook_icon_large.png Share on Google+

Read more of this story at Slashdot.

Sent with Reeder

Sent from my iPad

As usual I despair over journalism and statistics – did the journalist ever think about the situation where trampolineparks have a duty to report all injuries and will err on the side of caution, where injuries at home are more likely to be treated at home?

I saw this on the BBC News App and thought you should see it:

Trampoline park injuries ‘more serious’, hospital findsp06062fn.jpgChildren suffered worse injuries at trampoline parks than when using home equipment, a hospital finds.
Disclaimer: The BBC is not responsible for the content of this email, and anything written in this email does not necessarily reflect the BBC’s views or opinions. Please note that neither the email address nor name of the sender have been verified.

Sent from my iPad

We previously communicated that we would launch ACMEv2 and wildcard certificate support on February 27th. ACMEv2 and wildcard support is nearly ready but we will be delaying the full launch in order to give our teams more time to complete testing and quality assurance activities. While we work hard to hit deadlines, we are inclined to prioritize a quality release over hitting a deadline.”