Showing posts from March, 2012

Parallel Internet

The Internet is all about transferring files/data from one place to another.

FTP (File Transfer Protocol) and HTTP (HyperText Transfer Protocol) are among the oldest and widely used protocols. There is an effort to update HTTP to 2.0, what I'd like to see is a similar effort for FTP.

One thing that bugs me is I have to decide on a server to server basis what the maximum number of simultaneous connections is. Clearly the server is the best judge as to how many resources it has available for me to download or upload at once.

The SPDY (Speedy protocol) is an effort to improve that by Google but FTP also needs to be more adaptive.

How to send an email using Exchange Webservice

public bool SendEmail(
String sUserName,
String sPassword,
String sDomain,
String sSubject,
String sBodyText,
String sRecipients)
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010);
service.Credentials = new WebCredentials(sUserName, sPassword, sDomain);
service.TraceEnabled = true;
/* Discover the Exchange server based on this user */
/* I couldn't get this to work with the Elmstone network */
service.AutodiscoverUrl(sUserName + "@" + sDomain);
//service.Url = new Uri("https://myserver.mydomain.local/EWS/Exchange.asmx");

// Create the e-mail message, set its properties, and send it to, saving a copy to the Sent Items folder.
EmailMessage message = new EmailMessage(service);
message.Subject = sSubject;
message.Body = sBodyText;
string[] myRecipients = sRecipients.Split(';');
foreach(string myRecipient in myRecipients)
/* Send and save a copy to the default locatio…

Speeding up the Internet

About two weeks ago I switched back to Firefox, however I switched to the 64bit build called Waterfox. I figured since 64bit Firefox on Linux is good to use then the same should be true of the windows version.

After two weeks I am more than happy. Its fast, stable and since I have the HTTPS Everywhere extension the 64bit helps with all the SSL sites I frequent.

N.B. Encrypting as much of your traffic is important not only for your own online identity but also to stop ISP's or other people from injecting adverts and potentially malicious content into your browsing.

This morning I stumbled upon an old trick of speeding up browsing by increasing the number of simultaneous request you make to websites called pipe-lining:

Be warned its off by default for a reason, it can break things as much as it can speed things up.