Links do dia

MEO / Sapo e TrafficShaping

caanq96lcac1oa9gcaypvit7cahid6aucaz4i1jfcaf0hgmhca09pttdcadevubscaprzs4dcajt00w4ca7m18lbcaq6ksvvca6mk2necaduna8lcaqym2elcaz6f59ycazi11uccafsrg0dca5f3f9jNão vou aqui explicar o que é o TrafficShaping dado que muito provavelmente o saberão, contudo os que não sabem o que é sempre podem espreitar aqui.

Nos últimos tempos muito se têm falado disto. Hoje finalmente consegui fazer o famoso teste.

Deixo os meus resultados, conclusões ficam ao critério de cada um:

Results for your host (bl9-71-148.dsl.telepac.pt – 85.242.71.148):

Is BitTorrent traffic on a well-known BitTorrent port (6881) throttled?

 The BitTorrent upload (seeding) worked. Our tool was successful in uploading data using the BitTorrent protocol.

 There’s no indication that your ISP rate limits your BitTorrent uploads. In our tests a TCP upload achieved minimal 307 Kbps while a BitTorrent upload achieved maximal 280 Kbps. You can find details here.

 The BitTorrent download worked. Our tool was successful in downloading data using the BitTorrent protocol.

 There’s no indication that your ISP rate limits your BitTorrent downloads. In our tests a TCP download achieved minimal 15 Kbps while a BitTorrent download achieved maximal 24 Kbps. You can find details here.

 

Is BitTorrent traffic on a non-standard BitTorrent port (10009) throttled?

 The BitTorrent upload (seeding) worked. Our tool was successful in uploading data using the BitTorrent protocol.

 There’s no indication that your ISP rate limits your BitTorrent uploads. In our tests a TCP download achieved minimal 157 Kbps while a BitTorrent download achieved maximal 334 Kbps. You can find details here.

 The BitTorrent download worked. Our tool was successful in downloading data using the BitTorrent protocol.

 There’s no indication that your ISP rate limits your BitTorrent downloads. In our tests a TCP download achieved minimal 15 Kbps while a BitTorrent download achieved maximal 11 Kbps. You can find details here.

 

Is TCP traffic on a well-known BitTorrent port (6881) throttled?

 There’s no indication that your ISP rate limits all downloads at port 6881. In our test, a TCP download on a BitTorrent port achieved at least 15 Kbps while a TCP download on a non-BitTorrent port achieved at least 15 Kbps. You can find details here.

 There’s no indication that your ISP rate limits all uploads at port 6881. In our test, a TCP upload on a BitTorrent port achieved at least 307 Kbps while a TCP upload on a non-BitTorrent port achieved at least 157 Kbps. You can find details here.

Remover Acentuação com PHP

Uma função útil para remover acentuação para ficar em biblioteca.

Estava aqui com uns problemas em usar a Api do Google Chart até que descobri que era dos acentos.

Ora nada como isto para resolver:

<?php

    function normalizestr($str)
    {
        
$str htmlentities($str
);
        
$str preg_replace(‘/&((?i)[a-z]{1,2})(?:grave|accent|acute|circ|tilde|uml|ring|lig|cedil|slash);/’‘$1’$str
);
        
$str str_replace(array(‘&ETH;’‘&eth;’‘&THORN;’‘&thorn;’), array(‘dh’‘d’‘TH’‘th’), $str
);
        return 
$str
;
    }

    echo normalizestr(‘ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ’);

?>

Todos os créditos para o Caio Ariede onde encontrei esta “milagrosa” função