The Internet and the Office Roof

Reading Time: 6 minutes

I thought I’d got away without any ill effects from the “St Jude” storm on Monday – not so. My Internet failed yesterday morning; I felt like I’d had an arm cut off.

I’m a remote worker – have been for 2 years (a fact that I really should blog more about). I knew the lack of Internet was going to cause problems but I didn’t realise exactly how much.

Tom on the office roof
Some Internet, at least!

The first thing I had to do was call the ISP to find out what was up. What’s their phone number? Well it used to be on a piece of paper under the router along with all the technical (but not security) details of the connection. The paper was missing. There’s no mobile phone signal at my address so the next image I would like to present to you is me, stood on the roof of the office at the end of the garden waving my phone in the air because if you’re really lucky on a clear day you can get some mobile signal there. Eventually I got enough mobile Internet packets to find their phone number.
Apparently the Internet problem is due to local power problems and they can’t give me a fix time because the power company won’t give them one.

No problem I say to myself – my team know what they’re doing they can survive without me as long as it’s not days. I’ll just let them know. Precisely how am I going to do this then? I’m usually pretty easy to contact, Email, Skype, MS Lync, Google Talk, SIP phone, none of which are going to work. I don’t even have any of the team’s mobile numbers. Telephone again then. The next problem is that I never actually call the Departmental Office so I don’t know the number.
That’s me on the roof of my office again waving a mobile phone around for 10 minutes trying to find the number before I realise that although Outlook won’t connect I will still have my email and the office number will be in someone’s signature – sorted.

Now down to business and for the first time I’m ahead of the game. I know I won’t be able to connect to the Team Foundation Server so I take a back-up of the source tree and then open the solution offline. The problem I’m working on is a complex one, the code didn’t make much sense – I mean I understood what it did, but what it did didn’t seem logical. I needed some context so I wondered if it had always been done like this. Usually I’d look at the module history, but that’s all in the Team Foundation Server that I don’t currently have access to.

Never mind I think, I’ll tackle a different problem, one that’s SQL Server based. Quickly I realise that I can’t remember the syntax for the OVER / PARTITION aggregate functionality. So I have a go, get it wrong and then hit F1 for some help. Which is online, so that’s a non-starter.
But I do have a book on SQL Server that I can refer to. In Safari, the online book system. That’s not going to work either.

Clearly this lack of Internet is becoming quite a problem. I am inventive though and I’ve got a spare satellite TV dish. I wonder to myself if perhaps I mount my mobile phone at the focal point of the dish and direct it at the most line-of-sight phone mast I might just get enough signal strength to tether the phone. I suspect that the answer is a strong no but maybe there is something sensible and practical I can do to improve the signal. I’ll just Google… oh wait, no I won’t.

Small scale disaster planning though is something I blogged about a while ago so I should be on top of this right? The primary backup plan for power / internet loss is to go to my in-law’s house in the nearby town. The problem is that they’re at work. My wife has a key but she’s away on business. To be honest this kind of suits me because I find laptop screens rather limiting, I far prefer the large pair of monitors I have in my office so if I can manage without Internet that’s better for me.

Nevertheless it would be good for me to get some Internet at some point, check emails, make sure the team are OK etc. The secondary backup plan is to find some public WiFi. There’s none in the village (and it wouldn’t work even if there was) so I ponder popping into the local town for lunch – the car is also away with my wife on business but the weather looks OK and I have a bicycle and a laptop backpack bag. I wonder what the weather forecast will be for later though – I’ll just look that up on the Internet… erm, no. Oh well, I can risk it, I have wet weather gear. I’m certainly not going to risk it though unless I can guarantee a cafe or coffee shop that has WiFi and I don’t remember seeing any adverts when I was last there. I’ll just Google… oh no, wait, no I won’t.

Just as I’m thinking this something pops into the back of my mind – I’m sure I remember reading when I signed up for my broadband Internet access that they had a backup dial-in option. The details of that will also be on that missing piece of paper but I remember printing it out from an email. So it’s back onto the office roof for me searching through my email history to find the details. They do indeed, but sadly it’s a national call rate number which means it would get expensive very quickly – but it was enough just to check my email.

At about 9:30pm the situation got even worse, I lost electricity as well. I live in the country where there is no street lighting. I was on the stairs and it suddenly went dark. I was prepared for this – there were torches at strategic points around the house and I got the candles and lighter out so I could find them in the dark.

What I wasn’t quite prepared for was how dark it was, it was pitch black. So I sat down with a view to waiting until my eyes picked up some light. Unusually for the house however I had my mobile phone in my pocket so a few seconds later I was carefully making my way down the stairs to one of the torches.

Electricity is another strange thing – it’s easy to overlook how important it has become to our lives.

The freezer was defrosting. As I had no idea how long I’d be without power the only thing I could do was put some towels under it and hope it wasn’t too long.

The central heating is gas, but of course the pump and all the controls are electric. Fortunately I have a multi-fuel stove which is definitely not electric in any way at all and being honest it wasn’t that cold.

Fortunately the cooker is dual-fuel, which means that the gas rings still work. It does leave me without a grill or oven though which limits what I can cook.

The house phone is a cordless model – the handset might work but the base station won’t. I keep an old fashioned corded handset just for this, so I was able to plug that in. It is worth noting that you shouldn’t assume that if you’ve got no power the phone won’t work. In reality it usually does – in the UK at least.

My alarm clock is a Lumie Bodyclock – it’s great most of the time but it is very definitely mains powered. I don’t have a mechanical alarm clock, but I do have a mobile phone so there was a solution there.

The weirdest thing though was this – it was night and I didn’t know which of the house lights were turned on and which off. This meant that if the power came back on at say 3am (which it did) some of the house lights would turn on, possibly without me knowing.

This morning I had power but still no Internet, so I’m currently sat at my in-law’s dining room table borrowing their Internet and just having to deal with the tiny laptop screen and horrid keyboard.

Being well prepared was definitely worth it – clearly I knew that losing electricity would be a serious inconvenience but just how much I rely on the Internet surprised me considerably.

On Starting Afresh.

Reading Time: 2 minutes

I Have No Idea What I'm DoingIt’s week one again in the university calendar which seems like a good time to welcome our new students, our new interns at Seed and in fact everyone who’s starting university this week.

There are plenty of articles on university life etc. so I’m not going to repeat what they say. What I want to talk about is that feeling when you start a new job or even a new could that you have no idea what you’re doing and that you’re floundering. It’s entirely normal, I think it’s something that most people go through. When you start a new job the amount you have to learn is pretty substantial. You might be able to code well enough in C# but when someone hands you a 200,000 line project it’s going to take you some time to get your head around it, and I don’t mean a few hours. For a project that size it will take months before you’re fully up to speed with the code base.

Also, although you may know systems like TFS they way the new firm use it will probably be different. Even silly things like the fact that you won’t know their internal procedures very well so admin tasks will take longer meaning that you have less time available for development.

Many of the people around you might seem like they’re wizards in comparison to you but the reality is that they’re just further down the road with the code, the methodologies, the systems, the business and even things like they might have known the original developer so they might understand why some things are done they way they are.

This is especially true if you’re a new graduate or intern – the realities of software development are very different to the academic environment and it’s going to take you a while to adjust and to get up to speed with everything that’s going on. This is normal, don’t worry about it and do ask for help and advice when you feel unsure.

Be aware also of “impostor syndrome“. It’s pretty common in the world of art, music and comedy where artists are often confused by their success, not believing that they’re actually very good or deserve the attention they’re getting. From the people I talk to it seems fairly common in the computer science world too. If you’re feeling that you’ve somehow lucked your way into a position that you don’t really deserve or that you’re surviving not by a talent for developing software but by conning people into thinking that you’re doing a good job then this might be something that you need to be aware of.

 

Look What I Found in the Garden

Reading Time: < 1 minute
Coprinopsis Atramentaria, I think
Coprinopsis Atramentaria, I think

This morning I was greeted by these little beauties in the garden. I’m mildly familiar with the destroying angel and the death cap as Britiain’s only truly deadly mushrooms. Initially I thought they might be the former but on closer inspection (or rather getting the book out) I think they’re common ink caps, which it transpires are nearly as bad.

Apparently the ink cap is quite edible, unless you consume any alcohol. If you do then the reaction produces a very nasty poison that has resulted in death. This can happen anything up to three days after consuming the mushroom.

I won’t be putting these in my soup for lunch then, especially as I’ve got a table booked in the The Dog for this evening!

 

The Waterproof Quandary

Reading Time: < 1 minute

To waterproof or not to waterproof, that is the question. Will I get wetter from the inside than the rain could ever make me and what’s the problem with getting wet anyway? Last time I checked I was waterproof.
Usually in the UK getting wet is a problem only because you get cold but on warm still days like this that won’t happen. Putting your phone and wallet in a waterproof pouch and just getting soaked is a serious option.
Today I went for the waterproof jacket only which proved the right decision, the heavens opened when I was in the middle of nowhere and trying to dry out on the 09:43 to London could have been awkward.

PS – I then decided that as it was London I wouldn’t need the waterproof as I could always nip into somewhere under cover, got caught in an open space and got completely soaked.

The Dangers of Posting Images to the Internet

Reading Time: 5 minutes
Dove St Inn Beer Festival
Geo-Tagged: Dove St Inn Beer Festival

I don’t like giving air-time to scare stories – indeed I seem to spend rather a lot of my time debunking them. I find a lot of them distasteful in attempting to use the most extreme means they can to frighten people. This American “NBC Action News” report (video) definitely falls into that category. I think I need to explain this – sensibly – without trying to frighten anyone.

The story, for those who choose not to watch, is that if you post images from your smartphone to online images services (such as flickr) you could be giving away a hell of a lot of personal information that you had no intention of making public. That information could be very useful to criminals.

Now between the ridiculous hyperbole, the desperate attempts of the newscasters to instil panic into every parent and an American “expert” who is clearly no expert at all there is actually some degree of truth behind this. Not only that but it somewhat falls into my area of expertise.

What we’re talking about is geo-tagging and it’s not new(s) – it’s been going on for years. Pretty much all smart phones and a good number of digital cameras have an option to record where and when the photo was taken (generally using GPS, the same system that sat-navs use to work out where you are). Those phones and cameras then write that information into the image itself in what’s called a geo-tag. If you post that image to an online image service then, depending on which one you use and various options etc. that information might stay in the file and it’s possible that someone viewing the file might be able to retrieve that information.

To do so – to find this information out – is in no way hacking. You don’t need to get access to any accounts or run any strange programs downloaded from dodgy darknets. Beneath is a screenshot of a free tool that came with my camera and all I’ve done is to use it on the image at the top of this page (which I’m very deliberately posting publicly).

Nikon ViewNX locates Dove St Inn
Nikon ViewNX locates Dove St Inn

Yeah, that’s pretty much the Dove St Inn!

You could use this tool on any image that contains a geo-tag to find out when and where it was taken. This one is a few metres out – basically the wrong side of the street. That’s fairly typical. I did some experiments around my house last night however and it was possible for me to identify which room I was in when the photo was taken.

Now if it had been one of those images that I’d taken last night that I’d used in this article, rather than giving away the location of The Dove St Inn I would have given away my home address.

The amount of information you could give away like this can build up. If you post an image for which the content is clearly identifiable, or there are comments that clearly identify the place or activity then someone could quite easily build up a picture of your life. Your home address, your childrens’ schools, what parks they play in and when, when you’re away from your house, your elderly relatives houses and when you typically visit them, when you’re on holiday, etc. etc.

They could, but actually the chances that anyone is actively stalking you are pretty slim. There are billions of people out there after all. Also remember that there are quite a few ducks that have to line up for this information to be revealed and if even one of them is out of line then you won’t be publishing this information to the entire planet.

Another aspect of this is story is the fact that if the geo-tag information is in the image and that image is publicly available it can be indexed for searching. So it’s possible to search for images by their location – instead of searching for just images of kittens you could search for images of kittens within, say, 500m of a particular location. If you got any results the chances are that you’d know pretty much the house that they were at. I do find that a little concerning.

Over lunch I thought I’d give it a go – I wondered who else had posted public pictures of – or from – The Dove St Inn. So I searched flickr for “Dove” within a small area of Ipswich.

Dove St Pictures
Dove St Pictures

All perfectly innocent in this case but it proves the point – you can search for a term and find images connected with that term in a given area.

So what can we do to prevent this from happening? Essentially the message is simple, don’t post geo-tagged images to public sites unless you’re really happy about what it reveals. Your options are as follows.

  1. Turn off geo-tagging on your phone and cameras. My smartphone has an easy option in the camera app itself called “store location”. If you turn it off, the location is never stored in the image and it can never be made public.
    It is kind of handy to know when and where an image was taken though – thankfully there are other options.
  2. Make sure that you never post anything publicly. Many social networking sites and image hosting sites have privacy controls that allow you to ensure that only people you trust can see the photos.
  3. Remove the geo-tags before posting. The Nikon ViewNX utility that came free with my camera can remove geo-tags as well as view them. I bet there are smartphone apps for it too.
  4. Use an image service that has the ability to remove geo-tags of images that you’ve posted – flickr for instance has this option (under “defaults for new uploads”) and I imagine most of them do.
    If you don’t find “geo-tag” or “location data” in your privacy settings then look out for the term “EXIF” – this is the format that most smartphones and cameras use to add information such as the camera brand and exposure details as well as the location to the image file.

Personally I prefer option 2 – I tend to restrict who can view my images. I only make a few publicly available and I pay close attention to what those ones reveal, not just through geo-tags but also through the content of the image itself.

So in conclusion your smartphone is not a hot-line to the Cosa Nostra and it’s really rather unlikely that anyone with any criminal intentions is paying any attention to any images you’re posting online.
It is however worth checking if you’re posting geo-tagged images with no privacy control and if you are then have a think about whether or not you’re happy with that. If not then delete them, remove the geo-tags or make them private and then implement some sort of strategy to make sure you stop doing it.

Media Issues

Reading Time: < 1 minute
Final Year Project - What Are Those Square Things?
What Are Those Square Things?

So I was looking for something in the rack behind me in the office when I came across my final year project from my first degree. I thought it might be fun to look at the project again and I wondered if it’d still run.

I ran into a small issue though, I no longer actually own anything that can read a floppy disk. C’est la vie!

Up In Front of the Beak

Reading Time: 3 minutes
Definitely Two Originals
Definitely Two Originals

“A case of plagiarism has been identified that involves your work. You are to appear before The University plagiarism panel…” the email began. I remember being slightly scared but moreover I was enraged, how dare The University accuse me of plagiarism or even being complicit in plagiarism?

That was a long while ago – during my first degree. It occurred to me last night though that something similar to what happened to me could easily happen to someone else now and it’s something students should be aware of.

I went to the plagiarism hearing open minded, but with a very assertive position. The work concerned was a programming task and I’d actually been a professional programmer before going to university, thus it was quite likely that my solution to the problem was similar to one in a text book or to something one of the academic staff may have written.

It transpired that this was not the problem. The line of questioning followed one rather obvious track, to try to answer the question of if I’d either worked sufficiently closely on the exercise that someone else may have submitted a solution similar to mine or if I’d shown my solution to anyone else.

I was a little angered by the first point: was The University suggesting that I shouldn’t help other students? Surely a university is supposed to support learning not discourage it? I found the second point plain insulting, did The University really think I was that stupid?

I think the panel may have picked up on my frustration because eventually they just showed me the two submissions. The one on the left was plainly mine, as was the one on the right. They were almost identical, right down to the spacing and layout. That caused a sharp intake of breath.

“Are you sure nobody could have taken a copy of your work?” asked one of the panellists. This was a welcome change in the tone, “you didn’t leave your terminal unlocked when you went away or anything?”

“No,” I replied, “I worked in a secure environment for 4 years before I came here, I’m fastidious about locking my terminal. I genuinely can’t think how the other student got a copy of my work.”

Then one of the panellists pointed out that there was a mistake in the copied submission and it suddenly dawned on me. Back in those days we submitted printed out listings. At the end of a lab session the printer was usually congested with people trying to print out their work so I’d taken to printing earlier and using the rest of the lab time to double-check my solution. I’d spotted the mistake in the first copy, screwed it up in disgust and thrown it away. I corrected it and printed a new copy which was the one I submitted.

Someone had waited until the end of the lab session and then fished my first copy out of the bin, then copied it verbatim.

“I’m happy with that explanation,” said one of the panel members. The others nodded, “I see no reason to inconvenience Mr Fosdick further.” I later found out, unofficially, that the other student was of low ability and to submit a nearly correct solution was quite out of character. There never really was a question about whose the work was, they only wanted to establish that there hadn’t been excessive collusion between us.

Last night I was thinking that this is unlikely to happen now because most submissions are electronic – there’s no need for people to print out their work. Then it dawned on me that every student these days is walking round with a relatively high resolution camera (phone) and that leaving your terminal unlocked for a short time could easily result in sections of work being plagiarised.

So please be careful, plagiarism is taken very seriously by universities. Even if it’s your work that the original you could still find yourself in serious trouble if you’re unable to defend the accusation that you may have allowed someone else to copy your work, or worked so closely with them / helped them so much that you’ve both essentially submitted the same solution.

Don’t get me wrong – helping people is definitely encouraged, but there’s a line you must stay the right side of. I think of it as this – explaining how to solve the problem is productive, giving someone the solution to the problem is counter-productive (and dangerous).

Cycling and Online Maps

Reading Time: 3 minutes

Being a mountain cyclist in Suffolk is a bit of an oxymoron. So I’ve bitten the bullet and got some road tyres. I have no intention of giving up off-road cycling but it’s just more practical to do the majority of my cycling on the road. What’s more the local forests such as Tunstall and Rendlesham are criss-crossed by well made up trails that don’t really require off-road tyres, so I don’t need to spend too much time on the boring black stuff.

As a side-effect of this I’ve been looking at some online tools to help with route planning and the like. The best straight-up map I’ve found so far is provided by Sustrans, the Sustainable Transport charity.

The only problem I’ve found is the lack on information on the state of some of the off-road, and to some extent on-road sections. Some of them would be unsuitable for delicate road bikes and would require a hybrid if not a dedicated cross-country (XC) bike. The vast majority of routes are no cause for concern, however.

Google also have cycling maps, the cycle tracks highlighted in green…GoogleCycling

These include many of the Sustrans routes as well as other cycling facilities. The problem I’ve found is that they’re not entirely accurate. The above example (as of the time of writing) includes a large section alongside the River Deben. Some of it is made-up track, but the surface is very poor and narrow. The rest is just a mud track. I’ve bumped into similar problems elsewhere too – overall I’d recommend not trusting the Google Cycling Layer unless you’re an experienced off-road cyclist.

OS Atlas Android AppOn my smartphone I have a few apps, but one of the most useful is OS Atlas. It’s pretty basic, its main advantage is that it displays the Ordinance Survey’s 1:25k scale mapping. This is extremely useful for navigating because it contains a good level of detail not just about the roads but about landmarks. It also has GPS integration so it can show you as a dot on the map. The app’s not free but it is cheap. There is a free version but this doesn’t work terribly well. Beware that it does rely on an internet connection.

For full browsers the Ordinance Survey themselves offer the 1:25k scale mapping via their Getamap interface – you need to make sure that you have “Leisure” maps selected.

There are a number of online route planning and measurement systems. For a quick calculation of distance Map-O-Meter is good. The system I use for planning and recording rides however is MapMyRide. There’s a smartphone app to record your rides and upload them to the web site for proper analysis. It has a route and course feature so it will detect when you’re repeating and ride and you can compare performance. It also allows you to jump onto other people’s published courses so you can compare your performance with everyone else who’s ridden that route. You can also search for other people’s routes and courses in any given area, although they do tend to be “my commute to work” rather than “a scenic 30 mile loop around Lavenham”.

There’s one final web site that I’d like to mention – whilst over the past few weeks I haven’t needed it much the rain radar at Rain Today is about the most useful weather forecast I’ve found. It doesn’t actually do a forecast (unless you pay), what it shows you is where the rain is now and where it’s been recently. This is about as good as it gets for being able to predict if you’re going to get soaked on your 2 hour ride.

Why is In-Car USB Reading so Poor?

Reading Time: 2 minutes
Car MP3 Technology, apparently
Car MP3 Technology, apparently

Why is it so difficult for car manufacturers to make cars that play MP3s?

Today’s hire car was an almost new Vauxhall (Opel) Meriva. It has a USB slot so I plugged my USB pen drive in it, “no data recognised” said the dashboard, “you can unplug the device.” There was nothing special about the device, just a plain USB pen drive with a handful of folders in the root dir and in each folder a handful of MP3s with a M3U playlist file. It’s difficult to imagine what could be simpler, so why is General Motors’ entertainment system not able to cope with this?

I’ve had similar problems in other new cars too. I know cars have a long development cycle and therefore we can’t expect all the very latest gadgets in them but there have been cheap commercial MP3 players that can cope with a few folders and MP3 files on the market for more than 10 years. There really is no excuse now.

In contrast my previous hire car was a Volkswagen Golf. Whilst initially annoying that I had to copy my “driving” MP3s to an SD card as this is preferred to a USB slot, the Golf had a neat little menu structure and worked very well.

Yes, there is another argument – most car manufacturers seem to have got Bluetooth integration working, so why don’t I just pair the car to my phone and play music from my phone? Because I want to change the music occasionally. DragonForce isn’t really ideal music when you rock up to the back of a huge traffic jam, perhaps Bat For Lashes or Portishead. Although if mounted to something it’s not technically illegal it wasn’t technically illegal when I wrote the article for me to operate my phone whilst driving it’s still fiddly to use and the voice command is good for a laugh but nothing more.

A simple menu structure and simple easy to use controls beat trying to fiddle with my phone hands down. I really don’t understand why it’s so difficult for some manufacturers to provide it.

Compare and Contrast: Glastonbury vs. Silverstone

Reading Time: 2 minutes

In 2013 Glastonbury and the British F1 Grand Prix fell on the same weekend. They’re both enormous events, but the there are some very notable differences. This article in The Guardian gives us a few pictures of the aftermath of Glastonbury – I’ve cheekily linked one of the images to give an illustration.

Glasto cleanup

It is true that charities recover usable equipment from the Glastonbury camp sites for less developed countries but there doesn’t appear to be a hell of a lot of usable equipment in the pictures. I suspect that most of the tents etc. might have been usable when the original occupiers left them with that noble intention, but it looks like a herd of drunken elephants have stampeded through since then.

This however is one of my pictures. It was taken a few minutes before we left Whittlebury Park Camp Site having spent the weekend at the British Formula 1 Grand Prix at Silverstone.

Whittlebury Park after F1 GP
Whittlebury Park on Monday

Is that one single abandoned chair I can see?

It seems rather perverse to me that a festival synonymous with charity and environmentalism could leave such a mess whilst one more associated with reverse barely leaves a trace.