Sunday, October 30, 2011

Principles of Communications - Week 3 - Oct 28

Got as far as channel model of errors after modulation/coding, and a basic intro to Shannon. [New copy of channel slides just posted that fixes a couple of errata pointed out by students - note, that specific material is non-examinable]

Starting Oct 31, Will finish errors, then move on to flow and congestion control.

Friday, October 21, 2011

Principles of Communications Week 2 2011

Today (21.10.2011), got as far as LS routing (having rather messed up explanation of DV).
Monday, will repair DV, and then cover
multicast and mobile.

I need to re-check the DV count to inf example isn't wrong....

Then wed/fri 26/28 cover errors...hopefully with less errors...

Friday, October 14, 2011

Principles of Communications Week 1 2011

I've just got up to the representation of graphs today (14.10.11) - see
lecture 4 including kirchoff - Monday, we'll do Erdos and Bacon.

SO we've covered Systems and Layers mainly, if you want to look at Supervision topics...

Wednesday, January 19, 2011

Escher Circuits and Perpetual Immotion

Followers of my blog will be aware of my discovery of circular wind patterns across Cambridge, that cyclists have suspected are always against them. For several years, I have taken advantage of this, and make my journeys out of phase with other cyclists
thus getting blown along in the right direction "for free".

Accidentally over the last couple of weeks I have discovered another phenomenon in Cambridge, which requires you to travel out of phase with the wind, but when there isn't any, and that is that there are certain routes which are down hill all the way there and back again. I refer to these routes as Escher Circuits after the great MC Escher's famous eternally descending waterfall (and the stairs in the library in the Name of the Rose of course, by the oft-copied inimitable Umberto Eco).

The existence of Escher Circuits has long been disputed since first suggested by the theoretical natural philosopher, H.King in his paper "Not enough string". The possible existence of Macro-circuits, measurable using crude mechanical devices was put forward in the seminal work by A. Hitchcock "Just enough Rope". But until now, these were mere hypotheses.

Of course, those of you who are students of natural philosophy will be aware that a naive analysis would dismiss such theories as contrary to the idea of conservation of energy, for surely, the cyclist pursing her cyclic route, would ever gain momentum.
However, my observations have shown that the real-world phenomenon is more subtle than the mind of man. While it is the case that the journey from A to B is downhill, as is the journey from B to A, nature, in her wisdom, has arranged the dimensions so that one arrives at A after a trip to B, at the same time that one started. Hence, time has flown backwards. And this is true no matter where you measure the progress of time - for any subset of the journey, for the return part, while you are on the 2D segment of the Escher circuit, time flows in the opposite direction, so you can take no advantage of the accumulated energy at all. A new branch of relativistic invariants must be supposed, not special, or general, but adversarial.

Thus Escher Circuits are rare, and exhibit adversarial relativistic time dilution.
Now, it is the case that one can make use of the properties, but only for a rather narrow application, and that is when one needs to use no energy to stand still in the face of a headwind. Of course, the hands of time and the wheels of the bike make the same amount of progress, which is to say, none at all. But you can get plenty of uninterrupted thinking done, which, after all, is the main reason we cycle everywhere in Cambridge anyhow, isn't it?

Friday, November 26, 2010

Week 7 - to Nov 26 - Got to Traffic Management.

Looks like we won't make it to the
Optimisation Theory and LP material this year -

I will wrap up on Monday 29th Nov
with last part of Traffic Management,
and an overview of what I've covered.

That will be the last lecture for Principles of Communications.

Students that are very keen can read the slide-ware on Optimisation and on LP - I am happy to answer questions on it too.

Students interested in the lower levels of physical/link layer may want to take the Digital SIgnal Processing course by Markus Kuhn next term (see here. Students interested in networking performance (and systems in general) may well want to go to Richard GIbbens' course on Computer Systems Modelling which covers a number of these topics in more theoretical depth. If really keen, please sign up for the new Part III, which will be running next year.

Note that next year, Information theory will be taught separately (again), which may make the amount of theory material in PrincComm slightly more tractable.

Friday, November 19, 2010

week 6 - to Nov 19 - Got to end of Switching

Next week, to cover
Shared Media
Capacity of Multihop net
Traffic Management

Then final week, will ust get to do optimisation and LP hopefully:)

n.b. to supervisors and students:- i've put a couple more links to some online information about
control theory, graph theory and some of the sources have worked problems...
see slides page for course
http://www.cl.cam.ac.uk/teaching/1011/PrincComm/ppt/

Friday, November 12, 2010

Week 5 - Nov 12 - end with Control Theory

Today, noticed that the wikipedia article on this is pretty good, but most especially nice is that it cites an 1868 Royal Society paper from the Royal Society by James Clerk Maxwell, which not only mentions Mr Watt's Steam Engine, but Mr J Thomson's experiments (noting that our building is between JJ Thomson Avenue and James Clerk Maxwell Road:)

Next week, we should cover
Scheduling
Switching
Shared Media Access


[The paper above also mentions a Mr Siemens!]

Friday, November 05, 2010

Week 4 Friday November 5th - Principles of Communications Progress

Today, we'll cover Queueing Theory. So that completes network layer stuff
(graphs, routing, errors, queueing)

Note in the printed (and old online pdf) queuing theory slides, there was a font error on some slides with \rho being rendered as ~n.
I've fixed it on the PDFs online (its ok in the ppt). apologies (again).

Next week we start on Flow Control, and hopefully get up to control theory.

Saturday, October 30, 2010

Principles of Communications - End of Week 3

I have just about got to the end of routing
(having fixed, i think, some bugs in the distance vector worked example) -

next week
monday, wrap up multicast/mobile routing
then

error control
queueing
and maybe start flow control

Friday, October 22, 2010

Principles of Communications end of (full) week 2.

Today, I'll finish the graph theory lectures, covering social networks, small world nets, random graphs, alpha/beta and spreading/search.

So we'll have done:
# Introduction1
# Systems
# Layering
# Information Theory
On this topic, John Daugman's notes are great
# Channel Capacity
(not Modulation - this is on hold to end in case we have time)
# Graph Theory
# Social Networks+

On the last topic, this book on Small Worlds by Duncan Watts is a nice read. Another good book on the topic covers more about flows over such networks (information or diseases for example) is
Connected, by Nicholas A. Christakis and James H. Fowler


That means from monday (and most of next week, oct 25,27,29) we're doing Routing.
If things go to schedule, then subsequent week (nov 1,3,5) will be Error Contol, Queueing Theory and Flow Control.

Wednesday, October 13, 2010

Principles of Communications...end of first week (15.10.2010)

Should just have got up to first slide set on Information Theory (Entropy)
Monday 18th will start on Shannon - by 22.10.10 hope to get to Graph Theory.

Have just updated online slides (1up and 6up should all print ok now, fingers crossed:)

Friday, October 08, 2010

information theory - live example

powerpoint for lecture on information theory+colour printer -> slides without equations:(

powerpoint for lecture on information theory+mono printer -> slides with equations:)

ergo, colour printer driver is an erasure channel with memory and rather non random behaviour and information rate is massively reduced :-(

pushing this as an example for explaining shannon is a bit of a stretch...in the sense that the "physical channel" is the printer and the colour printer should have more capacity in some sense, although I suppose the point is that the "noise" process" is an erasure channel that removes (say) bytes that code yellow but not bits that code white/black...

Tuesday, September 14, 2010

In schloss dagstuhl again - 99/100 (1 small nit)

I really like dagstuhl - the organisation is wonderful - lots of lovely quietly smart tricks (for example, the librarian puts out copies of all the books by attendees for display and they are invited to sign them!) - the bar (wine) is fantastic (makes up for the so-so food - although the cheese platter is superb !) - the visitors book and other information for wider awareness of what is going on and who is there is excellent - the area is great - even the "interesting" challenge of getting here from the "nearest" airport or railway station is a fun problem

only 1 minor complaint - the website (in almost all ways very very good) has a facility for attendees to upload materials for their seminar/talk/wiki/discussion etc - but the site as a design flaw which makes it very counter intuitive to getting the first thing uploaded (when you navigate to My Documents, you MUST have a title and click on the very small "save all" button to avoid weird apache error messages:)

otherwise 999/100 for the best seminar/retreat/workshop site in Europe by miles

fine snooker room ,very nice music room, great cellar, good walks/hikes, pleasant and efficient (and mostly invisible!) staff....

Friday, June 25, 2010

2 weeks of workshops taking its toll!

I was at IMDEA for this workshop on energy in networks, then at this one at Microsoft on Network Economics, then another one at UKERNA on SuperJANET 6 research requirements planning at the very nice Royal Society Chichelery Hall Kavli center then there's this one at the Isaac Newton Institute on networkmeasurements, and one on new internet architectures and incentives rn by the Eiffel thinktank, then one at Telefonica I+D on a vision for 2020 networking, then this one run by the Trilogy Project on resource pooling


Boy, now I need a vacation:)

Thursday, June 10, 2010

here we go again with government interference

without waiting for Lord Brown of Madingley's report, the new government make proncouncements about UK Universities - the BBC is reporting David Willett's saying he needs 700M savings and the coalition's evidence-free arguments that
a) we (the uk universities) are in a financial mess
and
b) that we have to find ways to be cheaper and more flexible.

Well we don't actually. We are quite cheap (which is because we have to serve the UK government) compared to a lot of EU and US universities AND we are evidentially quite flexible and quite good (compred to most EU universities) - the government should check the figures on health and education in the UK and compare them with similar quality systems in the world. We attract a lot of overseas students of very high quality preceisely because we strike both a bargain, and a high standard. We don';t have to serve the UK - we could just turn into private institutions for rich kids from here and overeas. Or we could be rubbish. But we are not inflexible or expensive.

Frankly, I'd held out a bit of hope that this new government would actually base its policy on facts, but it looks like I was hopelessly naive and sentimental.

What a shame

Thursday, May 27, 2010

schroeding & turing

Schroeding's Cat is the typical name for a thought experiment about the oddness of the Quantum model of the Universe. It is an artificially constructed scenario where the normally microscopic quantum level effect selects a macroscopic change in the state of the Universe - i.e. the decay of 1 single atom triggers the life or death of a large creature (a cat is presumably on the order of 10^24 molecules) - Life or Death states of the cat are
quite visibly distinguishable to a human observer. Of course a simpler trick would be to have a critical mass of fissile material, less 1 atom, and then just add that 1 atom and then see if it decays or not and does so triggering the chain reaction or not....that would also be quite visible and not very distorted by emotive weird observable things (when is the cat dead? what is life? :-)


Turing's test of intelligence decides the matter based on a human observer's ability to distinguish the responses of a black box to a set of questions (sent over some teletype line to avoid any complex non verbal comms). It can be generalized.


Some confusion arises when thinking about Schroedinger's Cat ("paradox") and observers.
Note that the state of the cat is actually created by an observer (the geiger counter described in the wiki article above is the thing that detects the decaying atom, and triggers the hammer to break the flask of cyanide that kils the cat (probably). The uncertainty is purely about when the decay happens. An observer of the dead cat is a secondary thing - we can assume fairly certainly the cyanide kills the cat (all nine lives) so in fact all we need is a red light on the box that says the geiger counter detected the atom decaying. The confusion arises because two words are misused from natural language:

  • observer
  • description

    The observer does not have to be intelligent.
    The description is not obvservable.

    Hence we can't use this to talk about consciousness, and there is no paradox (descriptions of intermediate unobservable states are figments of maths - only if actually observable are they interesting (e.g. remote entaglement).

    The point of mentioning the turing test is that Schroedinger also conflates two things:
  • simple observation (detect decay from emitted particle
  • complex observation (is the cat alive).


    Is detecting life, perhaps a nice turing test?

  • Sunday, May 23, 2010

    remarkable engineers

    this is a fun read if you like these sort of mini-bio things :-
    Remarkable Engineers follows similar excellent books on maths&science. But it is an interesting book for its lack of people that I would regard as engineers from Ancient Greece, Arabia, and China - however, within its well-defined model of what an engineer is, it is interesting (seems like you not only have to build something, you have to patent and sell it, and preferably be Scottish:)

    Thursday, May 20, 2010

    1 mole of stars. Avagadro, state and human perception of scale

    so reading
    The Eerie Silence by Paul Davies,
    he points out that there are estimated to be around 10^23 starts in the universe around now....this is an interesting number (like all numbers) which is around Avagadro's number which is the number of atoms in 12 grams of carbon 12
    or roughly 24 liters of air at STP.

    one amusing number to play with is the number of molecules in a glass of water, which is MUCH more than the number of glasses of water in all the oceans of the Earth.

    So the number of stars is in between.

    maybe, they are the same thing.

    Monday, April 19, 2010

    Conferences, Journals & unrealistic levels of Academic labour taken for granted

    I was talking to some PhD students here recently about the relative merits of submitting their work to Conferences or Journals - a typical chapter of a thesis makes a nice paper

    before you write the dissertation, it is nice to have it published in paper form, but to get the process done and dusted before the PhD examination comes along, you almost certainly have to send it to a conference rather than a journal because of the turnaround times - its 6 months from submission to presentation for typical top-league conferences, and more like 2 years for the equivalent conferences in Computer Science.

    Reason for publications: confidence boosting (for student AND for examiners:)
    and feedback is useful to improve work even if it doesn't get in...

    Plan B (if things work out) is to submit a 9-12 page version to a top conference, get your PhD and submit the 12-20 page version to a journal after....reason for submission: archival version (maybe) and certain academic communities' career paths still value journal higher than conference (mostly, though, citation is lower...)

    Some points to consider though
    1. academics or industry research lab workers do all the work for conference and journals (run submission sites, do reviewing, do editorial work, do selection, do a large part of conference organisation etc etc)
    2. a typical top class journal or conference paper represents about 1MY effort - typically if you include all the effort by a PhD student for a year, plus their advisor and any co-authors - in systems, it can be as much as 2-3 people's work
    3. a typical conference reviewer might look at 20 papers in 30 days - so if they are really really insanely fast at reading, and on top of all the latest material (and not handing it out to their poorly as yet calibrated own students to review, or at least only doin this to help their students get calibrated or give them up-to-date feedback, but still doing the review themselves) if you are lucky, your paper gets 4 hours work on it at a conference
    4. a journal submission might get a rainy Sunday first submission, and then several hours more over revisions, so you get a lot more detailed care and feeding in the process.
    5. In my experience, examining a PhD takes 3 days work - if you consider the naive equation, that 1 dissertation is == 3 good papers, then this is about twice the level of attention a paper gets (at best)
    6. Finally, a lot of researchers use long journeys to read a lot of papers (transoceanic flights are good) - this appears to have stalled for the last few days around this part of the world - I wonder what impact this will have on conference review quality?
    On the other hand, maybe the mortorium on flying will reduce the number of weak or nearly pointless workshops ...who knows...

    Thursday, March 18, 2010

    two mixed reality dystopias.

    1. Gravity 3.0 didn't turn out to be such a good idea, did it Professor Sheckley - I mean superficially, the notion of an inverse cube law force so that people on smaller planets, but nearby, get a strong attraction and don't drift off into space, looks OK - but then look at the terminal velocity - not good for the robot ships landing delivering out food....gasp gasp
    Of course, it wasn't such a terrible mistake when you compare with Gravity 2.0, the result of the Campaign for Real Gravity - attaching everyone to the surface of an apparently zero mass planet, by colored elastic looked cool - but we didn't reckon with people customizing their g-strings, to have different h-indexes - Hookes' law is amusing, but then when they started playing paddle-ball with the alien, and we had to tell them to turn down the space-trance remixes of Phil Collins and eventually called in the Cruel and Unusual Ludic Police, it took a turn for the worse.

    2. The entropic viral pandemic of 2012 has run its race, and now we cannot rely on the value of bits to be discrete any longer. Unfortunately, it was detected too late to do anything about backups, and so we cannot state the meaning of any program or data with any certainty any more. Such diseases of meaning were unanticipated in the early days of the semantic web, so that elementary precautions, like repeated recall and re-enforcement of what we were saving
    were not taken. Now we have to rely on humans to memorize entire sections of the Internet, including music, live performance of movies, and physical versions of VR games.

    The cause of the emergent entropic virus will never truly be known (just like every other piece of what use to pass for online human knowledge) but it is suspected that it was the mean temperature of the time series of arrivals of Youtube videos, exceed Centigrade 451, the point at which binary systems move to a higher, ternary state.

    Cooling the system down will do no good now. It would be like telling Schroedinger to open the box and finding one and a half cats, one half dead and the other half alive.

    This has been a Horizon special