Speed


Embed from Getty Images

(Posted late again! Whoops!)

Every time I write my 1,000 words it is a challenge but sometimes it is more of a challenge. As I’ve said before, sometimes I know roughly what I want to include, while other times I pick a topic and go for it. This post is one of the latter.

Speed. Anyone who has been on the Internet since the early days knows about speed. When I hear people complaining about the speed of their connection I quietly laugh as I consider the days of dial-up, and of 2400 baud modems. A megabit download could take half an hour to an hour if the connection held up that long.

A Telia SurfinBird 56k modem, made by Telia. T...
A Telia SurfinBird 56k modem, made by Telia. They often came with a Internet package from the company in the late 1990s. (Photo credit: Wikipedia)

As an aside, the “skreee, Kaboinga, boinga, boinga, skeeee…” of a dial up modem connecting induces nostalgia in me, though I’d not go back to those days! Today’s Internet is sometimes called the Information Superhighway. The old dial up Internet was much like a dirt road. With potholes.

When one takes a journey, say from one end of the country to the other, one sets out on local roads, which may or may not be congested, then one travels over the Motorways, or the Interstates, or the Autobahns. Then one travels on the local roads at the far end. Any of these may be congested, but the local roads are most likely to be slower to traverse.

English: An automobile on the sweeping curves ...
English: An automobile on the sweeping curves of the Autobahn with view of the countryside. (Photo credit: Wikipedia)

The same is true of the Internet. Your local ISP is equivalent to the local roads at your end of the trip, and the target website or whatever you are connecting to is in their ISP’s local network.

If we delve a little further, it is evident that the copper or fibre that makes up the Internet is not really a factor in the speed of the Internet. Signals in the fibre travel at light speed. Typically this is less than light speed in empty space, but it is close to it. Signals in copper travel slower than this, but still at a significant percentage of the speed of light. (I’d put a link in here, but the subject is complex and I found no clear explanation. YMMV).

English: Fibre Optic cables sign at Exe Water ...
English: Fibre Optic cables sign at Exe Water Bridge Over the last few years fibre optic cables for TV and phones have been laid along many rural roads. Usually the indication of their presence is the presence of manhole covers at intervals along the road. Here it is evident that the cable had to go beside the road at the bridge – and probably under the river – so the sign is a warning to other utilities who may dig up the roadside. (Photo credit: Wikipedia)

The real reasons that fibre is preferred over copper is the huge bandwidth and the much smaller attenuation in fibre cables. Bandwidth is often described in terms of how many lanes a highway has. Obviously the more lanes the more traffic a highway can handle. Attenuation is interesting. It’s as if your car starts out in New York in pristine condition, but deteriorates en route to Los Angeles, until it arrives at its destination looking like a bucket of bolts, if it makes it that far.

Whether or not the packets are transmitted by fibre or copper, the signal must somehow be loaded onto the cable, and this takes significant time. The packet of data is placed into a register on the network connector by the computer and a special chip translates that to a stream of bits on the wire, or pulses of light in the fibre.


Embed from Getty Images

These pulses then whiz off onto the network. However they don’t travel all the way in one hop. Your computer connects to a modem device that sends the signal to your ISP, where the signals hit a router. This device looks and a whole packet of data, then send it off again towards its destination. It doesn’t get to its destination in one hop, and there may be a dozen or more hops before it gets there.

At the beginning and the end of each and every hop there is a device that grabs the packet of data off the wire, decides where to send it and puts it on another wire. These devices are called ‘routers’, a term which many people will have heard. As you can imagine, each hop adds a delay (or latency) to the packet of data. These delays are quite small but they add up.

English: Avaya ERS 8600.
English: Avaya ERS 8600. (Photo credit: Wikipedia)

So the Information Superhighway doesn’t look that flash after all. Sometimes I wonder how data actually gets through at all. It’s as if there was a multi-lane highway across the country (the world even), but it is studded with interchanges which take significant time to traverse, increasing the time taken for the trip – light would take nanoseconds to get from here to Sydney if we had line of sight, but over the Internet it takes milliseconds.

Satellites are even worse. To reach a geostationary communications satellite and return takes of the order of half a second, an age in computing terms. Of course most communication satellites are lower than that so the delay is not as much as half a second, but it is still significant.


Embed from Getty Images

The advent of streaming services has exacerbated the problem. The basic issue is twofold. To use the motorway analogy, there are many more cars on the road and as a result the interchanges are becoming crowded resulting in congestion. In general the motorways themselves are fast and free-flowing, but the interchanges have not caught up.

An ingenious partial solution is to strategically place machines around the world which effectively distribute the stuff that people want to receive, so that the same content is available locally. It’s like taking all the copies of the pictures in a gallery in Los Angeles and storing the copies in New York, Miami, Washington and so on. Rather than having to go all the way to Los Angeles, a New York viewer sees the picture locally.

In the diagram shown, we see an "Akamaize...
In the diagram shown, we see an “Akamaized” website; this simply means that certain content within the website (usually media objects such as audio, graphics, animation, video) will not point to servers owned by the original website, in this case ACME, but to servers owned by Akamai. It is important to note that even though the domain name is the same, namely http://www.acme.com and image.acme.com, the ip address (server) that image.acme.com points to is actually owned by Akamai and not ACME. (Photo credit: Wikipedia)

So the sources of delay to your streaming the latest version of TV shows are many. The first possibility is your own setup. Maybe your network and modem are not up to the task. Secondly there is the telecom network. Tricky stuff happens between you and your ISP which if the province of the telcos. I don’t know the ins and outs of it, but in some cases switching a couple of connection in the roadside cabinet or in the exchange helps.

Then there is your ISP. ISP will be keeping a close eye on the traffic through their part of the network, but the rapid rise of the streaming services has caught them a little bit unawares, and some are scrambling to keep up. Then there is the Internet backbone. It is unlikely that there are issues here. Finally there is the target ISP’s network and the target site’s network and the site itself. Any of these could cause issues, but they are way beyond the control of the end user and his/her ISP.


Embed from Getty Images

Speeds on the Internet are phenomenal when compared to the early days. Things are much more complex these days. It is amazing what can be achieved, and those of us who have experienced the early days are less likely to whinge about speed issues as we remember that it was like!


Embed from Getty Images

Breaking the Chain

An elephant named Neelakantan owned by trying ...
An elephant named Neelakantan owned by trying to break its chain on . (Photo credit: Wikipedia)

A good friend of mine has posted at least one picture a day for a long time now. He has posted for well over a thousand days without a break. It’s a phenomenal achievement and I’m in awe of his accomplishment.

Just recently he has been ill and confessed yesterday that he had been close to breaking the chain, which would have been a real shame. But his predicament led me to consider my own blogging and the drives that make me add a new post every week and prevent me from breaking my particular chain.

Figural sculpture representing 'Introspection'...
Figural sculpture representing ‘Introspection’ at the Palace of Fine Arts in San Francisco (Photo credit: Wikipedia)

I can’t speak for him of course, obviously, but I can do a bit of introspection on my own blogging. When it comes down to it one can only speak for oneself and attempts to speak for others are doomed from the outset.

I have tried before to create a blog and failed. I’d get three or four weeks into it, I’d forget and then months would pass before I thought of it again. This time I’m well past the 100 posts and pushing on. To put it another way I’ve been burbling on for around two years and I’m still going.

25 Years – The Chain
25 Years – The Chain (Photo credit: Wikipedia)

I don’t do it for an audience, though around 100 people have “followed” this blog over the months. I don’t know how many people, if any, actually read this blog on a weekly basis. So although I put it “out there”, I do it mainly for myself, even though I hope that those who stumble across it like it.

So what is different this time? When I started this blog it was intended to be a record of my culinary activities and each entry was just a few hundred words. Then I switched to posting more general stuff and the number of words reached 1000 per post. Early on I decided to post once a week. Now I post pretty much only “general stuff” and waffle on for 1000 words.

English: cooking in desert
English: cooking in desert (Photo credit: Wikipedia)

I posted earlier on how I choose the subjects that I post on. Roughly speaking something suggests itself to me or I sit down and pluck a subject out the air at the last minute. I don’t generally find it difficult to reach 1000 words – Look! I’ve already typed more than 300 words and I haven’t yet got to where I thought I was going when I started!

I was going to talk about the urge to keep the chain going. Come Saturday I might have an idea in mind, maybe not. If not I might not have even thought about the blog, but come Sunday it is nagging at the back of my mind.

The grotesque nagging wife
The grotesque nagging wife (Photo credit: Wikipedia)

There’s no question that I am going to write the blog entry, but my enthusiasm may be low. It may seem a chore, something that is going to take up my time, when I could be slouching around doing nothing. I call that relaxing.

But I may also have thought of something that I want to write about. I may have some idea of the points that I want to make, but I always think that I won’t have enough ideas to bulk out the article to 1000 words, even though I have never failed to reach that limit every time!

...More Than 1000 Words
…More Than 1000 Words (Photo credit: Wikipedia)

I expect that in the early days of my blog, if I had missed a week that would be it. I doubt that I would have picked up the thread again. The chain got longer and longer and it would seem to be a shame if I were to break it now

As it was, I nearly broke the chain when I and my wife went away for a weekend, and I didn’t have the time to write the blog for that weekend. However, I had posted that I was going to catch up, and catch up I did, thank the little gods. Even though I may not have many regular readers, I felt an obligation to any that I might have to keep the chain complete.

English: The M2 missing link, Ballymena See 19...
English: The M2 missing link, Ballymena See 190444. A view of the site for the missing motorway, some eleven years after the M2 had opened. (Photo credit: Wikipedia)

I have a period coming up in the future when it will be very difficult for me to post weekly as usual. I will be away from home for a month or so and will not have easy access to my usual computer. I will have to work out a way of getting past this period, either by cutting down my posts in size or just by declaring that I will be skipping a few weeks.

Preparing and planning for a break is a bit different to having difficulties in posting because of illness or some other reason. If illness or other reason prevents one from posting and forces a break there is of course the possibility of making an extra post to re-link the chain. Posting weekly as I do, I have a week to catch up, but my friend does not have that luxury as he posts every day. I’ve been able to catch up before my next post is due, so far at least, so it is less likely that a break in my chain would be fatal.

The missing-link between corset and corselette...
The missing-link between corset and corselette from 1914 (Photo credit: Wikipedia)

However, when we talk about likelihoods, we must take into account the people involved. The blog in question has gone through several versions, including a version on Usenet newsgroups and a web-based version. It started as a newsletter for New Zealand expatriates, but has evolved into a blog featuring my friend’s interest in photography. And birds. So it has survived and evolved, and I hope and suspect that it would continue to survive and evolve even if some event should occur which causes a hiatus.

English: Sgùrr a' Mhaim and the Devil's Ridge ...
English: Sgùrr a’ Mhaim and the Devil’s Ridge Taken just as the ridge drops down to the hiatus in the ridge. (Photo credit: Wikipedia)

What about mine? Well I’m frankly amazed that I have managed to keep going for so long. My previous efforts have lasted a few posts at the most. Obviously, at some time or other my blog will cease. I just hope that I can keep it going for a long time yet.

I don’t think that I will run out of ideas and if I do I can just take a metaphorical pin and stick it in the Internet somewhere and pull out a topic. After all, Google has an “I feel lucky” button. Pressing that button reveals that 22 January 2015 was Grandfather’s Day in Poland. Hmmm, I could make something out of that, I think.

"The Favorite" - Grandfather and Gra...
“The Favorite” – Grandfather and Grandson – “Ο Αγαπημένος του Παππού” (Photo credit: Wikipedia)

 

All things are connected

English: computer network IP address
English: computer network IP address (Photo credit: Wikipedia)

There are networks everywhere. Not just the Internet or the LAN at work, but everywhere. A network could loosely be defined as being comprised of a number of nodes and a number of connections between them. A node is a point or thing which is connected through a connection to another node. A connection is what joins nodes together. This rather circular definition will do for now.

A family can be described by a network. Let’s consider a typical average nuclear family with parents and 2.4 kids. Errm, on second thoughts, lets make that 3 kids. If each person in the family is a node, we can’t really have 0.4 of a kid.

A Date with Your Family
A Date with Your Family (Photo credit: Wikipedia)

So there are multiple connections between any one family member and another. The father has a connection with his wife, his daughter and his sons. The daughter has connections with her father, her mother and her brothers. One way that this could be shown in a diagram is to draw a pentagon, each vertex of which is a member of the family and lines between the family member showing the relationships.

That’s a total of 15 interrelationships in a small family. Actually depending on the way you look at it, there may be more, as the father is the father of his daughter but the daughter is not the father of the father (obviously). This can be looked at at two relationships, one from father to daughter (A is B’s father) and another from the daughter to the father (B is A’s daughter), or one relationship between father and daughter.


Embed from Getty Images

If you consider that there are two relationships between any two family members, then each relationship can be considered to have a direction and a value. “A is B’s brother” and “B is A’s brother”, for example. Alternatively the relationship could be simple viewed as “brothers”, in which case the relationship has a value, but is non-directional.

I’ve described the familiar relationships in detail to hopefully bring out the facts that relationships between nodes and connections can be complex or describe complex situations. It’s entirely a matter of what you want the network to show.

English: Semantic Network with 7 nodes and 6 links
English: Semantic Network with 7 nodes and 6 links (Photo credit: Wikipedia)

The Internet is what people tend to think of when someone says “network” and it is indeed a complex network with myriads of interconnections across the globe, but in another way it is quite simple. Basically you have a computer, say your desktop or laptop, connected to the Internet. When you request a webpage, your request is sent to another node on the network, which then sends it to another node, and that forwards it on to yet another node and eventually the request arrives at the destination.

The clever part is that you might think that every “node” on the Internet needs to know where all the other nodes are, but in fact all it needs to know is where to send the request next.

English: nodes
English: nodes (Photo credit: Wikipedia)

It seems almost magical. Your computer doesn’t know where wordpress.com is, though it does look up its unique address (known as an IP address). It still doesn’t know where wordpress.com is, so it sends the request and the IP address to your ISP. Your ISP looks at the IP address and sees that it isn’t one local to the ISP, so it passes it on.

As noted above the message is passed on and on until it reaches its destination and then more magic happens as the remote machine responds to the request and sends the response all the way back. It may even travel back by a different route.


Embed from Getty Images

The magic is that some of the nodes know around 200,000 addresses on the Internet and where the next step should go. These addresses are in the most part partial in that the address will be like the street address, without the building number.

So although the Internet is a complex network with many many connections between nodes, the basic principle by which it works is simple, based on an address lookup system (DNS) and a simple unique address for each device on the Internet.


Embed from Getty Images

(OK there’s more to it than that, but the complexities are mainly at the “edges” of the Internet and mainly spring from the need for security and for organisations to have a “gateway” or single address on the Internet).

When we plan a journey over the road network, we generally have some idea of where we are going or we get out a map. We then scan it for the start and end of our journey and work out what direction we need to travel and the intermediate towns.

1945 map of the Pentagon road network, includi...
1945 map of the Pentagon road network, including present-day State Route 27 and part of the Shirley Highway. (Photo credit: Wikipedia)

But if we travelled like a message travels on the Internet we would first travel to the nearest town and ask someone where we need to go to get to our destination. He or she would point us to the next town to which he or she believes we should go. We would then travel to the next destination and ask again.

It would seem that such a process could result in us going round and round in circles, but eventually we will reach a place where the traffic director knows a large part of the roading network and is able to redirect us to another city which is known to be closer to our destination. Once we are on the right road, the process will eventually result in us reaching our destination.

Road to the A48 near Llancarfan - geograph.org...
Road to the A48 near Llancarfan – geograph.org.uk – 1297530 (Photo credit: Wikipedia)

Another network is the network formed by people we know and the people that they know, and the people that they know and so on. There is a theory that to from you, to someone you know to someone they know and so on, it takes six or less steps to reach any person on the planet. This is referred to as “six degrees of separation“.

Similar numbers can be calculated for smaller sets of people. The Kevin Bacon Number relates movie stars through films that they have starred in with other people. Number higher than 4 are rare. The Erdős Number relates people by the number of scientific papers that they have co-authored.

head of Paul Erdös, Budapest fall 1992
head of Paul Erdös, Budapest fall 1992 (Photo credit: Wikipedia)

These somewhat whimsical numbers do demonstrate how closely linked the human race is. So far as I know no study has been done of the importance of bridging individuals is. I’m talking about those who perhaps emigrate to a country, thereby directly linking together two populations that may be less loosely connected, increasing the connectivity and reducing the number of degrees of separation.

Six degrees of separation.
Six degrees of separation. (Photo credit: Wikipedia)

 

How do I get from A to B?

Ngaio Tree; Português: Mulateira. Portimão, Po...
Ngaio Tree; Português: Mulateira. Portimão, Portugal. (Photo credit: Wikipedia)

We had reason to visit another suburb today. It wasn’t until I was sitting waiting for some traffic lights to change that I thought about how I was navigating from home to destination.

We just got into the car and drove there. I didn’t consider the route in advance, and it seemed that I just pointed the car and we got there. Obviously I knew the way, as we had been there or through there a number of times in the past. But I didn’t have the destination in mind from start to finish, at least not consciously. I’m not sure that I had it in the forefront of my mind at all.

English: Driving Route 40 to El Chalten was pu...
English: Driving Route 40 to El Chalten was pure driving pleasure. (Photo credit: Wikipedia)

I knew that it was in that direction though, and that did not leave a lot of route options. I did have a general feeling that I should go south, in this instance and that really only leaves two options, the back road, or the motorway. The back road is a lot prettier!

I made the choice to take the back road but it was not, as I said, at the forefront of my mind, as I was doing other things at the time, like finding my keys, my phone, my wallet and these things occupied the forefront, while the decision about which route to take was more background.

English: Mind the dip Looking down the road is...
English: Mind the dip Looking down the road is a hidden dip. The farmers are busy with the harvest while the weather stays dry. (Photo credit: Wikipedia)

So the route was chosen more of less in the background, but not subconsciously. Much the same process happened on the way there, and at each junction or turning point, I didn’t have to consider at the front of my mind which direction I should drive. I just did it. Some part of my mind knew that to get to our destination I had to turn right, or go straight on or whatever.

This is good because the front of my mind was doing the driving, keeping the car on line, signalling, accelerating or braking, keeping us safe on the road. Except that it wasn’t right at the front mind, since I was also talking to my wife about various things. Christmas things from memory.

English: Two motorcycle trailing off the brake...
English: Two motorcycle trailing off the brakes through Tooele Turn at Miller Motorsports Park. Rider on the white bike is Warren Rose, Rider of the green bike is Dave Palazzolo (Photo credit: Wikipedia)

I’ve been driving for many years and I’m confident that if needed the driving part of my mind can instantly oust the things currently in my mind should the unexpected happen. Many year ago, when I used to smoke, I was driving with a friend and an emergency happened. When it was over I realised that I was no longer holding my cigarette. Meantime my friend was scrabbling between his legs where my cigarette had ended up when the driving part of my mind grabbed precedence and the cigarette holding part was temporarily ousted.

The route planning part of my mind would not suddenly get control like that, fortunately. That would be highly dangerous. I could if I had wanted have brought the route planning part of my mind to the front, but it wouldn’t say much except “turn left at the next junction”.

Turn Left, Turn Right
Turn Left, Turn Right (Photo credit: Wikipedia)

I have on occasion made a navigating mistake. I’m going to A and the route to B is the same in part. Suddenly I realise that I have missed a junction and will have to backtrack. It seems that the route finding part of my mind spends much of the time dozing and checks in only infrequently, sometimes missing the turning point or ritually following a more usual route.

It also seems that the information it keeps is like an instruction to take an action at each decision point rather than the whole route from home to destination as well as a general direction, less well specified. GPS guidance systems seem to work this way too in that they instruct you to take an action at each junction without setting out the whole route each time.


Embed from Getty Images

The model of the mind that I’ve used above, of various parts of the mind at various levels of “forefrontness” or consciousness is nothing new. The need to make a part of the mind the one at the top of the conscious levels, suddenly as a result of a danger, or selectively by choice, as in route following reminds me of the way that computer programs

Computers have several methods for navigating through programs and reacting to things that happen when they are running. One big part is called “handling errors”. Dividing by zero is an error and if the computer reaches a point where it has to divide by zero something needs to be done. The program can report the error and gracefully stop, or it can take some action to fix the error and then carry on.

English: A Texas Instruments TI-86 graphing ca...
English: A Texas Instruments TI-86 graphing calculator displaying an error message, indicating that the user or a running program has attempted to divide by zero. (Photo credit: Wikipedia)

Computers handle error by means of “interrupts”. Whether the errors is software (eg divide by zero) or caused by hardware connected to it (eg input/output errors) the computer stops what it is doing and runs a bit of program that handle the errors by sending a message or fixing things up. The bits of program that were running are suspended and after the error is handled the bits that were running may be given back control.

The mind seems to work in a similar way. When an emergency arises the current part of the mind that is at the forefront gets suspended and the emergency is handled by another part of the mind. A pedestrian steps into the road and you react by standing on the brakes “before you know it” as the saying goes. As soon as the emergency is over, the conscious mind takes over again.

a short .gif of the Taiwanese animated pedestr...
a short .gif of the Taiwanese animated pedestrian road crossing sign (Photo credit: Wikipedia)

You do indeed react “before you know it”, one might say instinctively. But humans have not been driving cars for much more than one hundred years, so it appears that the reaction is not instinctive in itself, but is an instinctive reaction to a danger that has been learned. We seem to have this fast reaction to events which is instinctively based but can be applied to learned situations, which is much more flexible than hard-wired instincts would be.

So, pondering on how I get from A to B has led me to conjecture that there are parts of the mind which are forefront in our minds and other parts which are not directly in the forefront but which can be brought to the forefront in an instant, when an event happens. It is evident that these parts are only partially backgrounded as the mind as a whole has some aware of the location at the time, but they do act semi-autonomously, that is until the pedestrian steps out onto the roadway.


Embed from Getty Images

Evidently there are parts of the mind that are less foregrounded and more backgrounded. When the part of the mind that is concerned with driving wants to signal or change gear, another part of the mind which controls the arms and legs wakes up and make the limbs move as needed.

I’ve spoken above as if all these different levels are discrete states, but I think it more likely that is a continuum from the foreground of the mind to the background or a least the series of levels of consciousness are close enough togerther to appear so.  The mind is a complex and wonderful thing.


Embed from Getty Images

[Comment: After finishing this post I went looking for other discussions of the same topic. I first found this Wikipedia article which has the issues mentioned in the article’s header. Interestingly the implication in the article is that there is a single level of consciousness at any one time. This I do not agree with. Another article I found was a little better, I feel, but only because it acknowledges that several levels may be active at the same time, but divides them into three levels with well defined scopes. I feel that it is a lot more complex than that, with all sorts of sections of the mind at all sorts of levels being active at the same time. Neither article deals with the issue of one section of the mind apparently seizing the highest level when an external event triggers it.]