Python Script as a Reliable Service

I was asked to help out a friend who had an installation in an art gallery that stopped booting properly, and was reminded that I keep forgetting to actually write this post. Running a python script as a reliable, retryable service on a Raspberry Pi that waits for an ‘up’ network connection, because I’m an idiot who keeps changing his mind how to do it. Fail gracefully and with informative error messages: try: ... except:... is your friend ...

November 21, 2019 · Andrew Bolster

Data Art: Creative Collisions and Getting out of your comfort zone

Approximate Script from my #NIDevConf19 talk a few weeks ago Introduction The technology community is known for being strongly inward looking to the point of being miopic at times; we focus on techniques, products, languages, frameworks, and best practices and we consider success and failure based on concrete facts and evidence. ...

June 17, 2019 · Andrew Bolster

And Now I Am 31

Another year gone, thought it was time for some reflection. As @Sigma helpfully pointed out to me, 31 is officially the boundary of “30’s” not 30, so I’m gonna take this year as being my “friendly match” with my 30’s and hopefully take this year a bit more wisely. What follows is a vaguely structured stream of consciousness, more for my benefit than anyone else’s. If you want a wee window to see what’s behind the beard, read on. If you’re expecting anything revolutionary, disruptive or surprising, you’re gonna be disappointed… ...

May 17, 2019 · Andrew Bolster

Daily Dated Untitled Jupyter Notebooks

I am a heavy user of Jupyter Notebook, both personally for wrapping my head around Open Data, professionally for analysis and reporting, and for education/presentations. So am very comfortable with just spinning up new notebooks all over the show. However, this ends up looking like this… Less than informative and impossible to work out WTF I was doing. Helpfully, there’s a way to change it. In your jupyter_notebook_config.py file (Normally in ~/.jupyter), add the following somewhere sensible ...

October 22, 2018 · Andrew Bolster

Legal Considerations for Trusted Defence Autonomy

This is another short extract from the Thesis that I thought was particularly relevant given recent news coverage of the dangers of autonomy and AI, particularly in the field of “killer robots”. Legal Considerations in Design Trust If there is one key feature of the application of robotics and autonomy to the defence field that separates it from applications in commercial and civil fields, it is the potential direct impact on life and safety. ...

September 28, 2017 · Andrew Bolster

Human Factors related to Trusted Operation of Autonomous Systems

Preface It’s nearly a year to the day since I passed my Ph.D Viva (And since I last updated the blog…), so I thought it’d be fun to very-gently tidy up one of my appendices that’s a bit relevant to current stories about the end of the world and machines taking over and such. It’s a piece of work that I enjoyed researching and had originally had as a significant part of the main thesis, but it just didn’t fit in anywhere sensible, so it got stripped to it’s bare minimum and kicked to the end. ...

September 21, 2017 · Andrew Bolster

Remember Remember ... November 1963?

Turns out that November 1963 was a pretty stupendous month all in all, in particular the couple of days (20-24) we’re currently wading through. C.S Lewis (Good Belfast Man) who was not only the beloved childrens author, but also an accomplished scholar, and one of the pioneers of the Science Fiction form, popped his clogs due to long term illness on Friday 22nd at around 2pm GMT aged 64 Aldous Huxley, one of the greatest thinkers of the 20th century and author of one of my favourite books (Brave New World) spun off his mortal coil at the age of 69 taking one more tab of LSD to lighten his passage at 5pm the same day ...

November 22, 2013 · Andrew Bolster

Response to the Draft Innovation Strategy for Northern Ireland - Part 2 - Knowledge Generation

See Part 1 for an introduction to this series. Response to Part 1 Two things came out of my posting of Part 1; I was “strongly encouraged” to have a look at the evidence pack as well as the initial strategy document (unfortunately changing what was intended to be a 3-part break down into more like a 8 part). So I’ll plod on through the rest of the strategy as read and then go through the evidence pack and see what got lost in the wash. ...

November 1, 2013 · Andrew Bolster

Response to the Draft Innovation Strategy for Northern Ireland - Part 1

Introduction to my Critique Last month DETI announced a Consultation on their (i.e. Arlenes) Strategy to make Northern Ireland “into one of the most innovative regions with the UK”. I’m known to rant and rave about the use of the word “innovation” at the best of times, so I’ll just put that attitude on the shelf and highlight a few of what I think are the “ok” points and the decidedly questionable points in the strategy. First off as a general comment that I’d otherwise repeat over and over again going through the draft, other than the words “Northern Ireland”, and excluding some of the case-studies, this could be an innovation strategy for any region in the world. The stated “Barriers to innovation” read like they’re straight out of a Business Studies textbook, and in general, the (lengthy) exposition around this ideal of “innovation” is little more than a 34 page definition of what DETI considers innovation. (It’s a loaded word and everyone is entitled to have an opinion on what it means. I guess we know DETI’s now at least). Speaking of repeating, this does repeat itself over and over again, just take my word for it here and I won’t raise it individually… ...

October 23, 2013 · Andrew Bolster

SSH Persistence Redux: Multiple sites and Crontab Laziness

Inspired by a pretty good write up by Cynofield as to his setup for getting a Raspberry Pi to “phone home”, I thought I’d set out how I do it. I have a machine that lives behind a ‘security’ infrastructure that makes my life a living hell. As a result, I set up automatic persistent reverse shells going back to other machines I use, so if I connect to those machines, I can get into the secure environment, without anything nasty being able to get in with me. ...

July 6, 2013 · Andrew Bolster