Reading

Created
Fri, 20/11/2020 - 19:45

The long-rumoured report on Australian military atrocities in the Afghanistan war has just been released (and immediately kicked down the road by the national government). I have been thinking about why the Australian military were there in the first place.  It's a familiar story: "forward defence", stop-them-over-there, Defend Democracy, our government's need for some violence to scare the voters with, and the same government's habit of doing whatever the American government wants done... But then, why do we have wars anyway?

 

Created
Wed, 11/11/2020 - 15:11
Looking back from here and now 1980 seems like another world. The Rubik’s Cube was launched, the Voyager 1 probe investigated Janus – a moon of Saturn, Pac-Man was released in video arcades, The Empire Strikes Back was released in theatres, Tom Baker resigned from the role of the Doctor, and Data Extract launched its first issue! “This will be my first and probably last editorial.” Not exactly the words you’d expect to launch a publication that would still be going strong 40 years later, but that’s exactly how editor Dallas Jones chose to launch the first issue of Data… Continue reading
Created
Thu, 05/11/2020 - 16:30
It seems being a Doctor Who fan makes you a hot commodity. Not only are “nerds” trendy and Geek is the new cool these days but it seems our members are in demand particularly if you are a putting together a television series. In the space of just a few days the Doctor Who Club of Australia received two requests from production companies looking for people to take part in their programs. And they were polar opposites with the first request coming from Endemol Shine – who were casting Beauty and The Beast and just a few days later the… Continue reading
Created
Tue, 03/11/2020 - 18:14

For a Backdrop CMS site I'm currently working on, I needed to create a node programatically (i.e. via some PHP code, as opposed to the UI). Generally when I need to do something in Backdrop, I'll search for similar solutions in Drupal 7 and then migrate them over (Backdrop still has some catching up to do in the 'online help and tutorials' department; hence this blog post).

So I went looking for how to create nodes programatically in Drupal 7, and there were plently of results. The answer is basically to create an object or array of values (your 'node'), then run it through node_save(). Unfortunately each answer had a different idea about exactly what values you should initially assign to your 'node'. Wanting a more bullet-proof solution, I kept looking and finally saw a suggestion someone made to check out the Devel Generate module. It creates nodes programatically, so it has the code to do just this. Since that module already exists in Backdrop, I had a look.

Devel Generate creates nodes by:

Created
Sat, 31/10/2020 - 18:30

All too revealing of how the system works ... how the talented former chief of the FT, capitalism’s house journal, was in thrall to ‘movers and shakers’

Even a brilliant newspaper editor can undersell a good story on the front page. At the start of Lionel Barber’s account of the world from his perspective as editor of the Financial Times between 2005 and 2020, there is an extensive list of dramatis personae, almost all of them male. (“One day,” he writes later, “I will deal with the alpha male problem, but not today.”) The players are broken down into their categories: politics, business and finance, royalty, journalism and diplomacy. The heart sinks – if journalism sits so easily in such a cast list, how can it do its job of comforting the afflicted and afflicting the comfortable?

Created
Fri, 02/10/2020 - 05:29

In the endless cycle of tinkering with this website I have once again changed things around. I had a go at modifying a bash script (BLASH) to parse my markdown files into the html files you’re now looking at. Very quickly the loops and structures became ungainly. No doubt …

Created
Tue, 29/09/2020 - 05:26
BC Liberal leader Andrew Wilkinson today announced a plan to completely eliminate the provincial sales tax (currently 7%) for 1 year, and then cut it by 4 points (or 57%) after that. Conservatives are prone to make expensive tax cut promises during elections, a tendency which contradicts their other touch-stone of perpetually promising to get tough on deficits and debt. [...]
Created
Fri, 18/09/2020 - 15:18
Any Australian who has paid even cursory attention to this country’s poisonous politics over climate change these past two decades will be familiar with this long and sorry story, but to see it all laid out in sequence, in every depressing detail, is breath-taking. In ‘The Carbon Club’ (Allen& Unwin), […]