How to restart a paused site check in uptime

I;ve been using “uptime” as a simple monitor of of all our web services – and somehow one of the services were in state “Paused”.

It took me a long time (6 months) to find out how to restart this – and as with most such cases the explanation was simple

201407272155.jpg

On the left hand site of the polling interval timer was a start/stop button……now I fell a bit stupid…

Bare-metal IaaS

Really interesting :

Instead, we adopted the bare-metal and container compute model and have built one giant unified platform, running all 250,000 environments with hundreds of thousands of orchestrated containers, serving billions of pageviews a month. This unified platform gives us a huge operational advantage versus the VM-centric hosting architecture.

[From Containers running on Bare-metal IaaS will Destroy the EC2 Virtualization Model of Cloud Computing | Pantheon]

How to get info out of a fritzbox

At long last I found out how to use uPnP to get status info put of my Frtizbox – as the old script I had used stopped working after the last software upgrade.

And the answer was on this page.

It contains a perl script that list all counters and variables that can be downloaded by using the uPnP protocol.

To use this you can call the perl script like this :

perl upnp.perl FRITZ | egrep GetTotalBytes | head -2

and I got

urn:upnp-org:serviceId:WANCommonIFC1::GetTotalBytesSent:NewTotalBytesSent = 398046387

urn:upnp-org:serviceId:WANCommonIFC1::GetTotalBytesReceived:NewTotalBytesReceived = 2884042651

which is the total number bytes sent and received since last restart.

OpenSprinkler Pi

I’ve just looked at ordering one of these – and the only thing preventing it is the very large postage costs….I may have to think about this.

OpenSprinkler Pi (OSPi) is a sprinkler / irrigation extension board for Raspberry Pi (RPi). It allows RPi to directly access and control sprinkler valves. This is version 1.4 with OpenSprinkler injection molded enclosure. The hardware components include on-board 24V AC to 5V DC switching regulator, solenoid drivers, DS1307 RTC and battery, PCF8591T 8-bit A/D D/A converter (4 input and 1 output channels), fuse, rain sensor terminal, 120V/2A mini relay, and per-station transient voltage suppressor (bidirectional TVS).

201404300833.jpg

[From OpenSprinkler Pi (OSPi) v1.4]

WordPress-to-OPML source

Courtesy of Dave Winer – a really interesting little utility:

WordPress-to-OPML source
As promised, I have released the source for the server that converts a WordPress blog into a single Fargo-editable outline. It’s written in JavaScript and runs in node.js.#

The format is OPML, which has many other uses. #

It’s provided under the MIT license.#

https://github.com/scripting/wp2opml#

[From WordPress-to-OPML source]

Open Pixel Control

Ah – the core of the Facecandy board software – I now need to get my head around this!

OPC describes the format of a stream of bytes, typically sent over a TCP connection, to control an array of RGB lights (pixels). The pixels are assumed to be arranged in strands, where each pixel has a fixed index in its strand.

The purpose of OPC is to separate the generation of light patterns from the control of hardware lights. If you write a program that emits OPC messages, it will be independent of the lighting hardware. You can write your animation or interactive display program once, and then use the same program with many kinds of lighting hardware, as well as a simulator that lets you test and visualize your program before wiring it to real lights.

[From Open Pixel Control]