Archive for the ‘internet’ Category.

Gmail finally Un-Threaded

I really did not like the Google Gmail Threading / Conversation “feature”. It will thread together emails that the Gmail engine thinks belong together. Most of the time it gets it right but it’s known to thread together emails from different conversations as well. Some people really like it others don’t, supposedly it was the most user requested change to the Gmail interface for a long time. I can see it work great for customer service but I’m not in that business.

It’s finally here, under settings look for the following,

Conversation View:
(sets whether emails of the same topic are grouped together)
- Conversation view on
- Conversation view off

Click of a button and your free of Threads !

C# download web page

I’m sure you had the need sometime to download the content of a web page to be able to analyze it or work with the content. Here is a code snippet just for you, we will use simple http GET for the specified URL.

public static string getWebPage(string psUrl)
{
    WebResponse result = null;
    string sRet = string.Empty;

    try
    {
        WebRequest req = WebRequest.Create(psUrl);
        req.Method = “GET”;
        req.Timeout = 3 * 1000// 3 secs
        // Explicit no caching, usually this is the default
        req.CachePolicy = new RequestCachePolicy(RequestCacheLevel.BypassCache);

        // Has to process the results if the responding service is spitting it out
        result = req.GetResponse();
        Stream ReceiveStream = result.GetResponseStream();
        Encoding encode = System.Text.Encoding.GetEncoding(“utf-8″);
        StreamReader sr = new StreamReader(ReceiveStream, encode);
        // in case the caller is interested
        sRet = sr.ReadToEnd();
    }
    finally
    {
        if (result != null) result.Close();
    }

    return sRet;
}

Transfer domain name from GoDaddy

It has come to the point where I just can’t take it anymore at GoDaddy.  Their in your face buy this and that and I’m not going to let you register a domain without trying to sell you on 50 other things along the way is just too much.  Whenever you do any business with them you need to take special care clicking your way out of their auto opt-in along the way.  If your not careful you will end up with a basket full of stuff you never wanted.

So let’s take a look at how easy it is to move on, say NameCheap for example, I have been using them for a while.  They actually just do what you would think, they take care of your domains without trying to sell you the world.  You can probably get some extra services from them if you look, I’m not sure.

First goto your new registrar and ask for the transfer of your domain.

Goto the GoDaddy my domains, click on the details for a domain, click on locking and unlock it.

While on the details page, click on [Send by Email] next to the Authorization Code text.  In return you will get an email with the EPP key you will need to authorize the transfer at the new register.

Put in the EPP key at the new registar.

I think thats about it, once those steps are followed your domain should move from GoDaddy to it’s new home.

Boulder tech meetup, April 7th

Went to the Boulder tech meetup on Tuesday good stuff as usual.  Sex, God, Rockn’ Roll was pretty funny and iVolunteer is a cool idea that I just can’t see failing.  Below are the presenters that were on hand

C# http authenticate

Sometimes URL requests are authenticated by the server your running against. For example if you want to update your Twitter status. Let’s take a look how we can do that easy.

using System.Net;
try
{
    string sURL = “http://twitter.com/statuses/update.xml?status=” + sText;
    // Create the web request
    HttpWebRequest request = WebRequest.Create(sURL) as HttpWebRequest;

    // Add authentication to request
    request.Credentials = new NetworkCredential(“myaccount”, “mypassword”);
    request.PreAuthenticate = true;
    request.Method = “POST”;

    // Get response
    using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)
    {
        // Get the response stream
        using (StreamReader reader = new StreamReader(response.GetResponseStream()))
        {
            // Console application output
            StringBuilder body = new StringBuilder(reader.ReadToEnd());
        }
    }
}
catch (Exception ex)
{
    Console.WriteLine(ex);
}

Boulder tech meetup, Dec 2nd

Went to the Boulder meetup yesterday, it was exciting as usual. With some nifty companies such as Me.dium now gone oneRiot search engine of current trends on the internet. The most interesting talk of the night was the new Yahoo BrowserPlus by Lloyd Hilaiel.

What is it ? “BrowserPlus™ is a technology for web browsers that allows developers to create rich web applications with desktop capabilities”
More development info here One impressive demo that Lloyd showed is motion censor driven. His laptop censors affected the code running in the browser. Pretty nice integration there. Check out the demos.

In hindsight, I should have snagged a T-shirt from him…