Categories
Isle of Man Stuff

It’s Always DNS

I recently registered a nice short domain name for someone. I had a choice of registrars. One was my usual domain registrar, and another was a local Isle of Man company who were significantly cheaper. I decided to buy local (and save money!) thinking that I was doing the right thing of supporting a business that pays taxes here and employs local people. I did have a niggling doubt about how good they would be, given that I’d never used them before…

I wasn’t too surprised to see pre-filled IP addresses against my new domain name in their clunky configuration pages. A lot of domain companies do this, so that the new domain points to some advertising pages along the lines of “This domain was just registered by ACME-Domains…” so I duly deleted everything and replaced it all with just the A record that I needed.

Now it was a waiting game. DNS records propagate from server to server across the internet. My registrar claimed this takes around 48 hours. I checked about 24 hours later and nothing had updated. A bit suspect, I felt. So I deleted all the records and re-entered them. This seemed to work, as within minutes I could see DNS servers around the globe serving the correct details. Success. Or so I thought.

I waited another couple of days, and it looked like I was good to go. All the DNS servers I queried around the world were returning the correct IP address for the new domain name. I went ahead and built the website to go with the domain name.

I ran into a problem when trying to get an HTTPS certificate for my site. I use Certbot to do this for me, and it failed. I spent a good while tinkering with my server’s configuration files and double checking everything, but it all seemed to be fine. I was clearly doing something wrong…

Except I wasn’t. I sifted through my server logs to find the error was actually at the point where Certbot queries its own DNS to check the address for my domain. Yep, the DNS which Certbot uses was still returning the original IP address of my registrars advertising page! That’s despite it now being almost a week since I updated the DNS records.

A little digging later and it looked like half the planet had the correct DNS info, while the other half didn’t. I queried my registrar’s name server. You know, the one which should have the definitive records. Most of the time I got the result I expected, but sometimes it would spit out the rogue record. I assume they have a few DNS servers behind a load-balancer and some of these servers were telling lies.

Anyway, it was time to try out my registrar’s “industry reputation for reliability, support and customer success” which they tout on their website. To be fair, it wasn’t too long before I was able to chat with a human rather than an AI. Of course it must be my fault. I need to clear my DNS caches and the like. I pushed on, giving evidence of their misdeeds with some screenshots of the queries and replies from their own name servers. The person on the other end of the chat was able to “update the records” and magically the solution propagated around the internet. Funnily enough, it only took about half an hour this time, instead of the quoted 48!

I asked the support person what the issue was. They denied there was a problem. It’s just that these things take time. I was curious though, and provided more evidence, and even cheekily asked if their DNS service is unreliable. In the end, the support staff conceded “there was a glitch”.

So, it’s nice to know I *do* actually know what I’m doing when it comes to domain names, DNS, web servers and HTTPS. It also shows that you probably do get what you pay for when it comes to buying domain names. My decision to go cheap (but local!) might not have been the best, but I suppose I should be thankful I was able to get a reasonably quick solution from their support channels.

Whenever anything breaks on the internet, it’s always DNS…

Categories
Stuff

What I Learned at OggCamp 2019

This was my third OggCamp, and I was able to make a full weekend visit to Manchester. Most of my best learning at OggCamps tends to be around what happens outside the scheduled stuff, so it was good to have the time to mingle in the evenings and discuss things over beer.

Although I already know about, use and contribute to Open Streetmap, I hadn’t heard of the missing maps project. I definitely hadn’t heard of the MapSwipe mobile app which allows you to do good for humanity while passing idle time playing a game on your phone. Do it!

Jamie Tanna gave a good insight into the IndieWeb movement and why it matters. The key theme was ownership of your identity and data. Popular open-access platforms (such as Twitter and Facebook) aren’t open. They often own the data. Look at their terms and conditions. They are all about making money and maximising attention. Conversely, your own platform revolves around you, does what you want and need and can even be a kind of political statement. Jamie’s approach is modularity. Publish things on your own site, and then use syndication elsewhere. That way, you have the original copy but users of Facebook, Twitter and such can still see your thoughts and interact with you.

There isn’t enough social housing. Governments should build more. Geodesic domes are cheap, strong, storm resistant with good wind loading and are also very quick to build. Maybe it’s time to ditch traditional bricks and mortar?

MQTT is definitely the best way to get IoT devices talking. Sensors can feed into something like Watson IoT and then with some NodeRed logic the outputs can be passed back to physical displays. An example was using thermal sensors at a coffee bar, and adjusting the colour of a neopixel LED strip so that customers could see whether to get up and go for another coffee or wait until the queue had died down! GlowOrbs make a nice form of ambient display and are easy enough to build.

Beer featured a lot, and the Lass O’Gowrie pub had a good selection and some nice food. While enjoying that I was shown some e-ink badges which were pretty good, and based on the Pimoroni displays, with a 3D-printed case.

Categories
Stuff

What I Learned at OggCamp 2018

I last attended OggCamp in Liverpool in 2015 and had a great time. There wasn’t one in 2016, and in 2017 it was in the wrong part of the UK for the gods of time & space to allow.

I did though make it to OggCamp 2018 in Sheffield, so here’s some of the things I took away:

Sheffield is Super

It’s been a long time since I was last in Sheffield, and an even longer time since I arrived by train on the Penistone line. The rolling stock is still the faithful old Pacer, that I’m sure they were going to replace when I was still in my teenage years…

Anyway, some lovely new buildings in amongst the old, and some nice ‘modern’ uses for re-purposed places too. One of which was where I had coffee and breakfast – Tamper Sellers Wheel on Arundel Street. Absolutely amazing food, coffee and service.

OggCamp

I got the feeling there were fewer attendees than at Liverpool, but I couldn’t be sure. The layout in Sheffield wasn’t ideal, with venues being split by five storeys, so it felt a bit disconnected. However, once the Welcome Talk was underway, there were plenty of familiar faces around and it soon felt like OggCamp again.

I went to a talk on The Things Network, as it’s always good to find out what other groups are doing, and if there are any ideas I can use to help with my own project on the Isle of Man. It seems the main thing we need to work on here in the island is a use case which builds a community around it, as that looks like the most successful way of involving enough people and getting access to some funds.

The next talk was about delivering images over the mobile web. Not something I’d specifically thought about but quite interesting nonetheless.

  • You can wind up your JPEG compression without really noticing on small screens. A nice tool called cjpeg-dssim, which looks at structural similarity, can help with this.
  • File formats matter. SVGs are a kind of XML, and can even go inline with your HTTP code – BUT beware. If you create them in Adobe products, it seems about 98% of the resulting file size is cruft that you can remove! WebP seems to be the best format in terms of quality vs filesize, but is only supported in Chrome and Android browsers for now.
  • Size matters. Most mobile browsers download loads of pixels, and then throw most of them away before displaying. This wastes mobile data, slows down load times, as well as making the processor in the mobile device work harder than it has to. Ideally create lots of versions of an image which differ by about 25 kB in size, and then use some responsive scripts to load the correct size image for the current viewport size. Speeds things up a lot.
  • Lazy loading saves data, as most pages don’t get viewed in their entirety. Loading images just as they scroll up towards the viewport means that if the user doesn’t scroll, no data is wasted (and page loads quicker) but if they do scroll, they still see all the pictures.

The final talk before lunch was about hacking the O2 Joggler. This was great, as the presenter was clearly very passionate about re-using old kit that would otherwise have gone to waste. I’d never really considered hacking as a force for environmental good before. It seems that the Joggler is quite versatile with hacked firmware, and they’re available fairly cheaply at the moment.

Beer with Friends

As much as OggCamp is great (really, you should attend), I received a Twitter message from someone I’d never met in real life but who I’ve swapped messages with for years. They’d noted I was in Sheffield and wondered if I wanted to meet up. A very chilled afternoon of drinking in the sunshine and exploring various drinking venues and beers of Sheffield followed, before riding the train again.

Categories
Stuff

Open Data Camp

I went along to the Open Data Camp in Douglas. Here’s some of the things I learned about:

  • The IATI (International Aid Transparency Initiative) has guidance about what data governments and organisations should make available, and what format it should be in.
  • The UK government has moved to publishing data using open standards, but it failed to educate people about why it was important.
  • Digital Scotland have a really innovative procurement model, which the Isle of Man Government could learn a thing or two from! Instead of throwing money at things by drawing up a list of specifications and seeing who bids, it seems much more cost effective to solve problems by asking questions instead, and the solutions are often of a higher quality.
  • The Things Network has continued to grow in the UK.
  • Russia publishes details of all its government contracts over about £1200. Yes, open data from Russia!

Oh, and beer tastes better when someone else pays!

Categories
Stuff

Liverpool Makefest

I took the boat from the Isle of Man to Liverpool for the day, to visit Makefest in Liverpool.

This was a great day out, and I saw loads of good things. The highlights were:

  • Having my portrait drawn from a webcam by a DIY plotter made from DVD drives
  • An impromptu meeting with lots of northern Things Network groups
  • Seeing an RC2014 computer (and then buying one!)
  • Spending too much money on loads of bits and bobs from ABX-Labs store

I found some nice food and real ale in a pub later in the afternoon, and the sea was flat calm on the way home so it was pretty much a perfect day out!

Categories
Stuff

Leaving Twitter

When I joined Twitter in 2009, it was a place to find interesting people sharing interesting ideas and learning from one another.  You could ask questions on very technical topics, and people would take the time to reply in detailed and thoughtful ways.

Over time, more and more people joined and the conversations grew. Twitter became my default source of news. I could get answers to problems and queries of a far better quality than I ever could with an algorithmic search engine. I was also able to help out other people by replying to their queries too. It was a place of learning, sharing and growing together.

Sadly as with everything in the modern world, capitalism takes over. Nobody sees the value in something unless it makes money, and while I long for the day when we realise as a species that this love of wealth creation doesn’t do us any good in the long run, Twitter decided to jump in with both feet. And so it was that I started seeing ‘promoted’ tweets. I called them adverts.

Businesses rushed into the space. At first as a communications channel with their customers, but it wasn’t long before they too fell into the capitalist trap and started pretend conversations talking about their products and services and employing people to tweet and re-tweet their messages.

Early on in the life of Twitter, you could ‘favourite’ a tweet. A way of bookmarking tweets which you wanted to come back to later.  Maybe they were ones which contained a useful tip, or a link to another article somewhere that you would read later. Twitter killed this by renaming a favourite to a ‘like’ (complete with new childish animations), and users from other social networks where likes were common brought their own bad habits with them. Proper conversation suffered, and the atmosphere changed. Things were now stuck in a  rut. Tweet -> like -> dead-end.

As recent years have passed I’ve witnessed a gradual decline in the quality of conversations. There has also been a real polarisation of opinions (regardless of subject) and many Twitter users seem incapable of independent thought now. They just follow their own tribes in terms of political or social views and vehemently attack anyone who dares to suggest an alternative world view.

The nail in the coffin for me was Twitter’s change to its privacy policy, which meant that they would no longer honour the ‘do not track’ setting in my browser and would begin to track my movements across the internet on other sites outside of Twitter. That’s not the attitude of a company that cares about its customers or values their privacy.

So, I’m out. I don’t think I’ll miss it at all.

Categories
Stuff

Reconnecting With Nature

During a recent holiday in England, I spent a few days in a location without any links to the internet at all. No mobile phone signal, no Wi-Fi hotspots. Nothing.

It was interesting to see the impact this had. There were countless times when I wanted to check something on a map. Or the opening times of a shop. Or get the latest news or weather forecast. Without realising it, I have become an autonomous and habitual user of Google and suddenly found myself disconnected.

At some point during those few days the frustration of not having instant answers to questions was replaced with a sense of calm. A distant remnant in my brain remembered a time when this was normality. When there was no internet, no smartphone.

I began to feel more aware of my surroundings. The birdsong. The vivid green of the grass, the blue of the sky. You don’t need a weather forecast when you remember that you have eyes and can look up at the clouds to judge their size, speed and direction and make an educated guess. Who needs a map when you’ve got the sun and the stars?

Being offline for so long has been good for me. Maybe I should do it more often.

Categories
Stuff

What I Learned at OggCamp 2015

I attended my first ever OggCamp on the weekend of 31st October / 1st November. Having never been to any kind of “unconference” before, I didn’t know quite what to expect. So here’s a few thoughts on what I learned:

Free culture and free software types are a friendly bunch.

This happened even before I arrived. Half way up Brownlow Hill, I was staring at a map on my phone when a chap walking nearby asked if I was looking for OggCamp. He told me about the previous ones he’d attended, and we walked up to the venue together. (I also learned the advantages of wearing an Ubuntu T-shirt in public!)

I didn’t realise Mars was as small or as cold as it is.

The first talk I listened to was by Gurbir Singh who gave a detailed presentation about space exploration, and likely future missions to Mars. You can see his slides here: http://astrotalkuk.org/mars-the-new-space-race

Protocols run the world.

Jon Spriggs (who really is a nice guy) was giving the next talk I went to, looking at the various protocols which run our networks. Lots of great info, but the bits which stuck in my head were:

  • 192.0.2.x is the ‘dummy’ IPv4 subnet – just like example.com is for domain names
  • DNS resolvers allow for easy MITM attacks, because the first to reply wins
  • TLS is the correct name for SSL
  • SQRL (squirrel) is a new one-click authentication for the web

A lot can happen in five minutes.

The next thing I attended was the ‘lightning’ talks event. This is a slot where people present for just five minutes, and can be asked just one question at the end. A great format which led to many diverse things being presented. For me, the one to remember was about using big USB hubs and some software called Multi-Writer to write an .iso (or .img) file to multiple memory cards at once. I can see me needing this if I ever get round to my ‘Raspberry Pi for Dummies’ talk at IoM CodeClub.

Entroware make nice looking machines.

I’d never heard of Entroware until OggCamp, but they sell Linux based desktops, laptops and servers. They had a few on show in the exhibition space at OggCamp. Definitely worth a look if you’re in the market for a new machine. They also sponsored a lot of what was happening at OggCamp, and even stumped up a shiny new laptop as a raffle prize. Great.

HR Departments suck.

The next talk I went to was by Stuart Coulson who was discussing ‘hacking’ your CV to gain advantage in the job market. Lots of great tips about why CV’s don’t work, and what you can do about it. It was interesting to think of a CV as device to get HR to pass your application on to someone who cares, in just a 20 second window! Also some good advice about separating out ‘personal’ and ‘professional’ accounts on social media, and creating your own ‘brand’ for yourself.

Talking to new people takes me out of my comfort zone.

But each time I do it, I reckon it gets easier. I didn’t know whether to go to the ‘official’ pub (The Constellation) for the Saturday night drinks. Thankfully, I was spurred into action by a tweet from @himayyay and so left the confines of my windowless hotel box to venture into the real world. I managed not to get lost on the way, and also learned that my legs are much longer than Google’s, as their Maps app had overestimated the journey time by about 100% 🙂

I got myself a drink (priorities, right?) and then loitered. People in OggCamp T-shirts around. People with Linux-y T-shirts. I was obviously in the right place. Everyone was engaged in conversations in groups, so…


…I went outside! Thanks to Twitter though, I met up briefly with @himayyay until the call of KFC on an empty stomach took him and his friend away. Still, I’d done it. Gone somewhere strange in the dark and spoken to people. Strengthened by my success, I went back inside all fired up to break into the group conversations…

…and promptly stood against a wall, clutching my pint for protection!

I thought I’d finish it and go back to my hotel, when I was rescued by Gemma and Dick who spotted my unease and asked if I’d like to join them. Thanks guys! Anyway, within seconds I’d identified them as fellow Yorkshire folk and so knew that everything would be OK. Three more drinks and much conversation later, we were finally kicked out of the place.

My hotel was in the opposite direction to the next venue, so I headed back. Bed was calling.

We have to step up on privacy.

On the second day at OggCamp, I went to a panel discussion chaired by Sally Hanford about privacy. I’d clearly missed a talk from the day before which this discussion was following on from. However, online privacy is something I’m very interested in so it was easy for me to follow along and contribute. It seems we still have to solve the problem of making privacy important to people. I guess in reality, it’ll take more breaches like the TalkTalk one, or a change to a more oppresive and authoritarian stance by our governments before people begin to realise the real consequences of a lack of online privacy.

ESP8266 modules are great for building IoT devices.

The next talk I went to was by Tim Gibbon who has reverse engineered the RF interface used in a lot of UK gas central heating systems, so that he can switch his boiler on and off remotely. In conjunction with some inexpensive (about £6 per room) sensors and transmitters he’s able to monitor the temperatures in all the parts of his house, see the information live and historically through a web browser and get the system to crank up the heating automatically when it gets cold. All for a fraction of the price of any commercially available solution.

Air travel sucks.

My journey home was hard work. I left OggCamp as soon as it finished, and rushed off to the airport to catch a flight. It was delayed. It was delayed again. It was cancelled.

At this point, people ceased being human passengers and became units for a handling agent to process. Queues three hours long with no seats nearby. Lack of information and updates. When you finally get to the front of the queue, you’re told you’ve been booked on to the next flight in the morning. Queue again to find out where you’ll sleep.

Nobody knows. There are hotels nearby, but the handling agent has to use a national agent who is refusing to answer the phone. Hours pass. Still no seats to sit on. Legs tired. At midnight I call it quits and drop £70 on a hotel room across the road.

Four hours later, I’m up and back at the airport ready for my morning flight. There’s a fundamental problem with airport security if you bought your some bottles of perfume in duty free the night before. Perfume is a liquid. Apparently, airline authorities are scared of liquids and so I now have a problem. I solve it. (I’m resourceful, y’see.)

So, back in departures. I see a delay on the board. Unease. More delay. Oh look – my flight is cancelled. Once again, we’re led like cattle through the arse end of the airport and back land side. Once again we join the queues of doom…

Rebooked onto another flight later in the morning. By this time their printer has died, and so I clutch a handwritten scrap of paper and have to find another desk to check in again. Oh, and I have to get my contraband liquid gifts through security again. This time I own up, and go for the human misery angle. It works. (Well, you can only use a 0-day once, right?)

Third time in the departure lounge. Time passes. Flight gets delayed. This time though, the news of the actual cancellation comes from the Isle of Man airport website when I notice that our flight is listed as cancelled on their arrivals board. It was another 30 minutes before they finally owned up and told us in Liverpool, before leading us through the now very familiar tunnels and passages back to the land side world. I suspect the delay before telling us was because they were trying to manage the length of the queue at the handling agent’s desk!

At this point, I’d lost the will to go on. I couldn’t face the whole queue, rebook, queue, check-in, queue, security farce for a fourth time. I got my lovely significant other to phone up and book me a seat on the evening boat from Liverpool, and got myself on a bus into town. I managed to kill time for the rest of the day with the help of a pub and some beer. Felt human again.

The boat was slightly delayed, but the reasons were made very clear. Here is a transport company that knows passengers need information. Here is salvation. I settle in for the journey, only to find my Bluetooth headphones have died. I think the triple X-raying they’d had earlier on had cooked them. Bloody airport!

OggCamp is great.

Really, it is. Great people. Well organised. Lots to learn. Lots to see. Lots to do. Huge thanks to everyone who played a part in making it happen. I had a fantastic time! Fingers crossed that OggCamp 2016 will be a thing.