1. The Downside of 120 Mbit Broadband Internet

    Sun 30 January 2011

    My Dutch ISP Ziggo provides internet access through DOCSIS cable modems. They are now capable of providging 120 Mbit downstream and 10 Mbit upstream, for an affordable price.

    In a way this is mind boggling. Most people have 100 Mbit home networks that are not capable of handling full capacity. You need at least gigabit gitabit network connectivity on your router and internal network.

    But there is a problem with all this bandwidth mayhem:

    It is useless.

    The only time I see the full 120 mbit in use is when I do a speed test, or when my mac is downloading system updates. Regular downloading (ISO's, big files from web pages), usenet, bittorrent, they cannot provide content with at the speed my connection is capable of.

    The bottleneck is no longer the connection to the home. The whole internet is now the bottle neck. The content providers are the bottle neck. They cannot seem to cope with this use increase in client side bandwith capacity. They often seem to cap users at a specific download rate, that is way below full capacity. Although the connectivity is relatively cheap, if you can't use it, why pay for it? So downgrading to let's say 50 mbit until content providers are able to handle higher speeds seems the smartest thing to do.

    I must say that I think that content providers are the weakest link. But I cannot be sure. It may be possible that the ISP network, especially their transit links, are the limiting factor. If anyone knows more about this, I'm interested.

    If you have any comments email me, see the About page for contact details.
  2. 'Improved' Image Gallery for Blogofile

    Fri 21 January 2011

    This blog is just static HTML pages that are generated using Blogofile. The Blogofile website sports a small image gallery that has been written to illustrate how to create your own 'controllers' or Blogofile plugins.

    My Python skills are horrible buy I managed to improve a bit on this example photo gallery. If you click on the 'Photos' menu at the top of this blog, you can see an example of the result.

    What is the improvement?

    • Basically one thing: it create a gallery by traversing recursively over a directory structure containing pictures.

    How to install?

    1. Just create a folder where you will store pictures.

    2. Add this to your _config.py

    photo_gallery = controllers.photo_gallery

    photo_gallery.enabled = True

    photo_gallery.path = "pictures"

    1. put this file into _controllers/photo_gallery
    2. enter into this gallery and create a symlink like:

    ln -s photo_gallery.py __init__.py

    1. download the example templates here.

    Additional info

    This photo gallery generator ignores symlinks. However, it looks for a special file name in every directory:

    showcase.jpg
    

    This file can be a symnlink to one of the photo's. It is used as the identifying picture for a folder with pictures. Every directory should contain at least a single showcase.jpg.

    If you have a folder called Europe containing two sub folders England and France, you can create a showcase.jpg symlink to one of the underlying showcase files of one of the folders. This picture will then be used to 'identify' the "Europe" folder.

    Example directory tree:

    ./Europe
    ./Europe/England
    ./Europe/England/London
    ./Europe/England/London/showcase.jpg
    ./Europe/England/showcase.jpg
    ./Europe/France
    ./Europe/France/Nice
    ./Europe/France/Nice/showcase.jpg
    ./Europe/France/showcase.jpg
    ./Europe/Netherlands
    ./Europe/Netherlands/Enkhuizen
    ./Europe/Netherlands/Enkhuizen/showcase.jpg
    ./Europe/Netherlands/showcase.jpg
    ./Europe/showcase.jpg
    ./USA
    ./USA/New York
    ./USA/New York/showcase.jpg
    ./USA/showcase.jpg
    
    If you have any comments email me, see the About page for contact details.

Page 67 / 115