Looks like your connection is in quite decent shape. All tests passed and ping response from yahoo/google is within reason. The dns and http tests probably failed because you don't have nmap installed (I should make this clearer).
I don't know what that piece of code does but I can say that since I run it and added it to bash I didn't witness a single choke. I am sure they are irrelevant but I like the coincidence.
Now for some serious work. I installed ubuntu on my old acer and I want to run desktop effects on it but it is telling me that loading the effects failed. What shall I do?
Unfortunately, compiling KDE4 takes superhuman strength, so I can't test if the patch works, but it probably does. Sadly though, this comes at a very unfortunate time. You see, yesterday: http://aseigo.blogspot.com/2009/01/42-rcs-tagged-trunk-is-now-43.html
So KDE 4.2 is now being finalized and not accepting anything but bug fixes. This patch was made in trunk (ie. where all new development happens) and therefore won't be in KDE 4.2 most likely (that means KDE 4.3).
(Technically they are supposed to takes bugfixes from trunk into 4.2, but who knows if this one will get noticed.)
Things happen in open source, just not always as fast as you'd want them to.