2007 07 05

Thanks to David Channe Vy, Fezal Ackburally and Inf (what’s your real name?) and coupled with my own data, I am getting a pretty interesting picture of our ADSL connections.

Here are some observations:

  • The minimum bandwidth is at 22:30 (I got a record low of 1% of expected bandwidth last night)
  • The average bandwidth (during the whole day and for all of us) is only 44.37%. This clearly indicates that we are NOT getting what we are paying for. 44.37% is not best effort!
  • Sometimes (and generally at 8:30 when everyone else is stranded in his/her car on his/her way to Port-Louis) we get peak bandwidths of 75-80% of what we are paying for. Where is the missing 20%?

Anyway, let’s continue with the data gathering process. Thanks to those who are helping.

5 July update

Same behavior as previously. I consistently get an average of around 65-70% of what I’m paying for for my MyT 256. David Channe Vy consistently gets an average of only 35-40% of his ADSL 512. Are MyT users being prioritized?

Bharat, Selven and Fezal are also sending me data.

I think that Saturday and Sunday will give us some interesting raw figures to analyze.

Popularity: 3% [?]

written by avinash

2007 07 02

David Channe Vy has sent me his results for today (what about the others?) and together with mine, I can make the following preliminary observations:

  1. I’m getting 72% of what I am paying for on my MyT 256
  2. David is getting 39% of what he is paying for on his ADSL 512

Note: I’ve decided to ignore the results for the 1k and 10k files both from the US and Europe. They are too small and the latency and connection time is big relative to the transfer time and therefore bandwidth calculation cannot be made.

As from now, only do 4 tests at a go (100k from the US and Europe and 1000k from the US and Europe). Do this 3 times per day (at around 8:30, 16:30 and 22:30). Thanks.

Second day update

  1. I’m getting 68% of what I am paying for on my MyT 256
  2. David is getting 29% of what he is paying for on his ADSL 512

I pity David who got an average of only 150kbit/s today from his 512kbit/s ADSL connection…

Third day update

My internet connection is as slow as molasses tonight. I’ve collated all the data and things are looking interesting. Simply said, we are getting much less than what we are paying for. I’ll give you hard figures tomorrow.

Popularity: 6% [?]

written by avinash

2007 07 02

I was reading this month’s edition of ACM Queue magazine and I came across (until now) two gems.

The first one is at the end of an interview of Michael Stonebraker, creator of Ingres (ancestor of PostgreSQL) and now adjunct professor of computer science at MIT. He is being interviewed by Margo Seltzer, one of the founders of Sleepycat Software (now owned by Oracle), makers of Berkeley DB. She is now professor in computer science at Harvard.

Here is the gem:

STONEBRAKER [...] I think MIT has some of the smartest people on the planet. So does Stanford. So does Berkeley.

SELTZER There’s another school up the river, Mike, that you’re missing.

STONEBRAKER I applaud your efforts to improve computer science at Harvard, and I wish Harvard would get deadly serious about computer science because there’s a tremendous upside that you can realize over time.

SELTZER Well, come meet our students!

Those two are (amicably) arguing about whether MIT is better than Harvard and Margo Seltzer says “Well, come meet our students!”. I find this beautiful… and enlightening. This is THE metric to use to judge a university: are the students good or not!?!

I dream of a University of Mauritius capable of producing young Torvalds, Jobs or Gates every year.

Programming in the 2000’s

The second gem is in an article written by Michi Henning, chief scientist at ZeroC, makers of Ice. He writes about APIs and how they should be designed. At one point, he goes lyrical about how programming should be taught in universities:

Back in the late ’70s and early ’80s, when I was cutting my teeth as a programmer and getting my degree, much of the emphasis in a budding programmer’s education was on data structures and algorithms. They were the bread and butter of programming, and a good understanding of data structures such as lists, balanced trees, and hash tables was essential, as was a good understanding of common algorithms and their performance tradeoffs. These were also the days when system libraries provided only the most basic functions, such as simple I/O and string manipulation; higher-level functions such as bsearch() and qsort() were the exception rather than the rule. This meant that it was de rigueur for a competent programmer to know how to write various data structures and manipulate them efficiently

We have moved on considerably since then. Virtually every major development platform today comes with libraries full of pre-canned data structures and algorithms. In fact, these days if I catch a programmer writing a linked list, that person had better have a very good reason for doing so instead of using an implementation provided by a system library.

Similarly, in the ’70s and ’80s, if I wanted to create software, I had to write pretty much everything from scratch: if I needed encryption, I wrote it from scratch; if I needed compression, I wrote it from scratch; if I needed inter-process communication, I wrote it from scratch. All this has changed dramatically with the open source movement. Today, open source is available for almost every imaginable kind of reusable functionality. As a result, the process of creating software has changed considerably: instead of creating functionality, much of today’s software engineering is about integrating existing functionality or about repackaging it in some way. [...]

Little seems to have changed since then: my son, who is currently working toward a software engineering degree at the same university where I earned my degree, tells me that still no one bothers to explain these things. (Bold text mine)

Beautiful. Instead of focussing on implementing a linked list, it is better to teach young programmers (i.e. first year students) how to use one from the standard library of any modern programming language.

It’s important for young programmers to understand the characteristics of linked lists, things like the complexity of common operations, and what is feasible with them and not. Then, in a second course, the CS students (and not the IT students) could learn about implementing such data structures.

It’s difficult to resist something as obvious as this.

Popularity: 1% [?]

written by avinash