Showing posts with label web. Show all posts
Showing posts with label web. Show all posts

Sunday, April 15, 2018

Emergency broadcasts


The air is fragrant with smoke, the sky transected with grey. Since last night we have been told to stay at home and defend our house from ember attack.

Bush fires are a fact of life in this area. Back in 1994 my wife was living with her family in another part of this suburb and I was in Canberra, proving updates to the world over Internet Relay Chat based upon television reports.

Now as a resident of the affected area I have a personal interest in how information about the fire is communicated. The nature of media has changed since then and I've got some thoughts about the coverage of the bush fires from a local perspective.

Expectations


We live in the Information Age and as such expect to have access to instantaneous and detailed information about events. The better the information you have, the better you can plan your actions. That is true both for those fighting the fire and those potentially affected by it.

I'm not certain how much information is gathered and available to the fire service from assets on the ground, in the air and in space. It would be interesting to find out. Potentially a lot, but combining that information into something useful for making decisions would be a challenging task.

I can imagine a mesh of sensors on firefighters, fire trucks, drones, aircraft and static assets all sending information back to base to be processed and combined by artificial intelligence. Challenging indeed.

And how to make that information available to the public?

Traditional media


During emergencies we are expected to turn to television, as I did in 1994, and radio for information. I did both but found the experience somewhat disappointing. Being a Saturday night the commercial television stations were more concerned with sports events and the sole free-to-air 24 hour news station, ABC News 24, was primarily filled with non-current news programming or reports on the airstrikes in Syria. This is the problem with being an underfunded national broadcaster, most of your audience are unaffected by regional fires.

Instead you are suggested to turn to ABC Local Radio, which suddenly presents an issue. Who has an AM radio outside of their car these days? I've got an old cassette player downstairs, but if the power went out I'd be in trouble finding any big batteries for it. Most devices run on something smaller.

I still have some FM radios in older mobile phones, though they too are being phased out by manufacturers. Still, it's a pity they don't have an FM broadcast instead. It does suggest I should buy a small AM capable radio, which would have the advantage of picking up the cricket as well!

Fortunately you can listen to ABC Local Radio streamed over the internet, but this takes up valuable bandwidth in emergencies and the infrastructure is more vulnerable to destruction than a distant radio transmitter.

Much as I like the ABC, the other downside of having to listen out for updates over the radio is putting up with their regular programming in between. I just have a different taste to music.

Social media and the Web


The other major source of information these days is social media. Everyone thinks it's something new, but as mentioned above, I was using it back in 1994!

There are useful websites such as the official Fires Near Me and Google's Crisis Map. The issue with the former is the very limited information it provides.

I followed updates from the NSW Rural Fire Service Twitter account, which shared interesting line scan maps of fire areas and videos, and local Facebook pages.

The problem with social media is information pollution. Official updates on Twitter get lost in streams of irrelevant updates from other accounts and on Facebook masses of non-time ordered questions and comments from ordinary (or worse, narcissistic) citizens. There is also the big issue of incorrect or malicious information (so called "fake news") can be inserted into these streams.

There should be an app for that


If one doesn't exist already I'm thinking it would be useful to have an official emergency warnings app for mobile phones. The app would have the following features:

  • An ability to detect the user's location or allow them to subscribe to other locations (useful when you are outside the area)
  • Emergency push broadcasts (eg imminent tsunami or new fire detected in your area)
  • On demand lookup as well as broadcast streaming of updates 
  • Interrupt media streams when updates are broadcast, allowing the user to listen to locally stored or streamed music or video without missing updates
  • Audio and video output as well as text (user selects).
  • Provide maps of affected areas and relevant transport updates.

Maybe there could be a forum or social media component to it focused only on that event, but not sure if that would be necessary or just too much trouble.

Might get chatting with some people at work to see what is already out there and what they think.

Right now the conditions have eased and it looks like we should be able to get a good night's sleep tonight. Even if we haven't as yet been directly affected it's certainly been a good opportunity to consider our disaster preparedness. And many, many thanks to all the emergency services for working so very hard to keep us safe. They are fantastic.


Wednesday, September 06, 2017

Sun sets, but Oracle didn't predict it

Sun microsystems
Oracle has quietly shut down the remnants of Sun's Sparc processor and Solaris operating system lines. Both Sun and Oracle have made a huge impact on my life.

Back in 1992 I had my first encounter with Unix in a numerical mathematics course at the ANU. A number of our lessons were held in the university's computer labs housing Sun Sparc terminals. I marvelled at the huge high resolution greyscale CRT screens, opening terminals and text editors to edit and run Matlab scripts on the Solaris server. They looked so much nicer than the PCs and Macs we used elsewhere. Long before they were readily available for PCs these terminals used laser mice, though they required a special mouse mat to operate.

A year later, when I bought my first modem, I would connect into a Solaris Unix server via the terminal and access my email and play IRC. I met my wife over Solaris.

As a result of my Internet obsession I drifted into the role of web developer, eventually gaining employment at CSIRO's Australia Telescope National Facility managing their website. The site ran on a Solaris 2.6 server and for a time I even had a Sparc terminal to access it.

It was here that Oracle came into the picture. I built some web applications utilising the Oracle database, the only one available to me.

By this stage I was not a fan of either Solaris or Oracle (or 'Orrible as called by some). Much of the open internet ran on open source solutions like Linux and MySQL and, as expensive commercial products, the Oracle database and Solaris operating system often required custom compilations of libraries and custom rewrites of code. Our version of Solaris only supported 256 colours, meaning that images supplied by our users were often of too poor quality to use on the web.

A lot of time that could have been spent developing practical applications was instead wasted just wrangling the systems to work in the first place.

Eventually that job finished and I ended up writing PHP scripts on a Windows IIS box, which was a whole new set of pain.

Today I am still writing PHP, but running it on a Ubuntu Linux server, which is an extremely popular and well supported combination meaning that it's easy to find answers to problems online. But I haven't escaped Oracle, which acquired Sun in 2009, entirely. We use the very popular MySQL as our database and that was purchased by Oracle as well.

By all accounts the marriage between Sun and Oracle was not a happy one (it certainly wasn't on our servers) and I'm sad to see the disappearance of the former. Farewell!

Monday, February 15, 2016

Reaching Utopia

After many months of work I finally released my first complete WordPress theme Utopia today and I'm pretty proud of it.

Unlike some of my previous attempts which were based on the Underscores starter theme, Utopia was pretty much built from scratch. The theme, which will be used on CSIRO Research websites, is designed to address many of the feature requests and deficiencies of the previous themes we've used on the site and elsewhere.

My colleague Taranii, with some help from Kate, another member of the team, did the design and CSS markup while I was responsible for the PHP coding. It was a remote collaboration due to the distributed nature of our team, but I thought it worked really well, thanks to some of the fantastic tools on offer.

We used Atlassian's Bitbucket, Sourcetree and git for source code management, which made it really easy to deploy on both our Windows development machines and Linux servers. Atlassian's Jira was used for bug tracking, along with Jira Capture for test sessions. Finally, most of our contact was via Cisco Jabber.


The Utopia theme, along with the post grid plugin we developed alongside it, has a number of very cool (to me) features. These include different colour schemes, the ability to use page, post and category feature images in the individual page headers, social media buttons, a local contextual menu, support for different page and post templates and a page and post listing grid with lots of options and the ability to be included as a widget or shortcode.

Another group in our organisation went to an outside specialist WordPress development house to build a theme for their WordPress blog. The result, which took quite a while to complete, was a theme that relied mainly on a somewhat expensive base theme and set of commercial plugins whose licenses are still causing us grief, especially as the users want more features.

So I'm proud that we built our feature rich theme ourselves! We do use some third party plugins, but after I looked at following a similar development path to the blog I realised that it would never satisfy the myriad of little issues and needs that our users always seem to have. At least this way we really understand our code a lot better.

I was up until the early hours finishing off some basic usage documentation and building the new top level site for the release. Exhausting, but very satisfying to finally get it out there to the users.

So, does the name Utopia mean that theme is perfect? Nope, there's plenty left to build in future! In fact it's all about building. Or trying to.

Thursday, December 24, 2015

One hour until Christmas

Better go to bed, don't want Santa to skip our house.

Going to bed before midnight would be nice. So would waking up to a quiet Christmas day spent with just the three of us (and dog). Sadly not. Instead it's a drive up to the Insular Peninsula for a party with one side and back south by the evening for a dinner with the other.

I'm exhausted. I've been pushing to get this super awesome WordPress theme ready for testing before my co-developer, the designer goes on holiday. Finally set up the test sites last night and then wrote up the authoring and admin instructions from about 7 am and sent them out an hour before work closes for the Christmas break.

Then there were all the other support requests.

Alex has been on holiday for a week now so I had to look after him at the same time, meaning a lot of the recent work was done late at night after he slept. Then there was Christmas shopping and preparing dishes for tomorrow.

I'm knackered!

Oh darn, I just remember I have to make another layer of jelly and let it cool before pouring.

Merry Christmas.

Wednesday, May 21, 2014

A new host for allrite

For over a decade I've used Ilisys to host my allrite.net and allrite.com.au domains. Price rises finally meant that it was no longer economical to continue to host with them and I consolidated my domains with Webfaction, who have a very developer friendly setup.

Migration was quite a painful process, mainly for the fact that I had so many files on the old site. I did a lot of culling. Many of the tools were written in old versions of PHP and are now superfluous so there's no point in rewriting them. I discovered the site must have got hacked at some stage with a trojan lurking somewhere on the site. I'm not surprised, the site was neglected and I know there were security issues at one stage before I locked it down further.

Ilisys has been involved in a few mergers and consolidations and it's sad to see how the service seems to have declined since the early days. I waited almost an hour on the phone for some support and got a bad IP phone connection when I finally got through. Used to be simple to call the knowledgeable owners when they were based in Western Australia and get a familiar and friendly response.

I'll have to do more with the sites now, though sometimes it's not fun to continue your day job at home. Back to work.

Popular Posts