OpenDNS – Providing A Safer And Faster Internet

opendns

OpenDNS protects millions of people a day across hundreds of thousands of schools, businesses and homes. It blocks phishing sites, gives you the power to filter out adult sites and proxies among more than 50 categories, and provide the precision to block individual domains.

Well, when I first heard about it, OpenDNS was a much smaller service. For three years I’ve been using its DNS service and I must admit, during all this time I never truly realized which benefits it was bringing me. But when I got a new computer, man, the difference became highly visible. You know, its hard to notice something when it never fails! With OpenDNS, you get faster domain name resolution, resulting in pages loading faster. You also get protection from phishing, autocorrection of address bar typos, and all sort of useful extra things you just wouldn’t expect from a DNS server, but which, after using once, you feel like those should have been a standard feature of DNS servers from the very beginning. 

To make use of the OpenDNS service, which is free, configure your system (computer, router, modem) to use the following dns servers:

208.67.222.222
208.67.220.220

For more information, be sure to visit http://opendns.com/ and the read the starter guide for new users.

Ah, e é claro, nem preciso dizer que o serviço oferecido pelo OpenDNS é especialmente útil para nós, usuários reféns da telefônica. Para quem o utilizava durante a pane geral no sistema da telefonica, teve seus sintomas bastante atenuados. Não apenas isso, mas a maioria dos bloqueios infames ocorridos no país, como o bloqueio nacional ao youtube, a ameaça de bloqueio ao wordpress, o misterioso bloqueio da telefonica ao google pages e outros tipos de acontecimentos ridículos também podem ser evitados utilizando-se este serviço gratuito.

7º É Dia de Java!

link_flash

Apesar de não ser muito fã de Java, é sempre bom conhecer novas tecnologias e ficar por dentro das novidades na área.

O evento é oferecido pela Universidade Federal de São Carlos e tem como alvo profissionais e alunos de graduação e pós-graduação, não apenas da UFSCar, mas também de outras Instituições de Ensino Superior, e quaisquer outros interessados. O evento será realizado nos dias 29 e 30 de Agosto de 2008, no Teatro Florestan Fernandes e nos Auditórios da Biblioteca Comunitária da UFSCar.

No ato da inscrição, o participante pode optar por assistir um dos seguintes cursos:

  • Web 2.0 com WebSphere sMash
  • Java e Banco de Dados
  • JSF com Ajax
  • Desenvolvimento de aplicações para TV Digital

Já me inscrevi no curso de Desenvolvimento de aplicações para TV Digital, que parece ser a onda do momento no país. Para mais informações, acesse o site oficial do evento É Dia de Java, e não se esqueça de conferir sua programação, que inclui muitas outras coisas além dos cursos citados acima.

Wireless energy made true at the IDF2008

tesla-wardenclyffe-tower-shot
“Something like this technology could be embedded in tables and work surfaces, so as soon as you put down an appropriately equipped device it would immediately begin drawing power.”

Images taken from the Intel Developer Forum 2008, the event where the wireless power technology was showcased, along with additional information about the topic are available here, here and here.

The system, called a “wireless resonant energy link“, transmits energy through strongly coupled resonators, much like how a singer can shatter glass singing at the same particular resonance frequency of the target material.

But frankly, like someone pointed out, I would too think twice before standing on the same room as that transmitter while it is doing its magic. What could possibly (and unnoticeably) happen if you somehow get inbetween those daunting antennas?

And just in case you are wondering what the picture on the top right is all about, it is an artistic representation of the Wardenclyffe Tower, a wireless eletricity demonstration tower that Nikola Tesla began building in 1901, but which was never completed. Could at least a tiny fraction of Tesla‘s dreams finally come true with some efforts from a chip maker company?

Software Licenses’ Legal Notices

800px-Gpl_auto
When releasing software it is always good to release under a suitable license. Licensing policies were created to protect you and your code, restricting what others can do using your code, and not what you can do with your own code. The copyright holder (the author, e.g. you) is able to change licensing policies anytime, but, depending on the license you choose, only as long as every author and every person who has ever contributed to your project also agree.

Wikipedia offers a list of popular licenses and a comparison of free software licenses you can use in your projects. But no matter which one you choose, a common practice is to include a license notice header in all your source files to enforce the restrictions you have chosen. Here is a list of common headers for the most common available software licenses. Comparison between its different implications is beyond the scope of this post, but more information is available on the Additional Information section below.


GPL – GNU Public License (details)

LGPL – Lesser GNU Public License (details)

MPL – Mozilla Public License (details)

BSD License (details)

MIT License (details)

Apache License (details)

CC – Creative Commons (details)

Creative Commons licenses are not intended to apply to, and should not be used for software. I’ve included it here just to remember you.

Public Domain (details)

This is only a suggestion as there is no common sense on how to dedicate your work for the public domain. This excerpt was borrowed from the SQLite site, a popular software that is itself dedicated to the public domain.

WARNING: Please pay attention that the Public Domain Dedication is not a license. By using it, you do not simply carve out exceptions to your copyright; you grant your entire copyright to the public without condition. This grant is permanent and irreversible. You’ve been warned.


Additional Information


For a nice comparison of different licenses, implications and more useful information, please check:

Comparison of Source Code Licenses

Also, before blindly adopting the GPLv3, please be sure you have completely and correctly understood everything it says. For more info about the GPL and the GPLv2 vs GPLv3 debate, see:

The GPL for Dummies
The GPLv2 vs. GPLv3 Debate
What the kernel guys are and aren’t (and really should be) saying about GPLv3
The Dangers and Problems with GPLv3
The GPLv2 vs. GPLv3 Chart

Personally, I would rather go with the GPL v2 instead.

System.Windows.Forms.Textbox AppendLine

appendline

Ever wanted to append a new line of text to a TextBox, tried searching IntelliSense for a AppendLine method but just couldn’t find it?

With the following code, one can add the missing AppendLine(string text) method for appending a new line of text to a System.Windows.Forms.TextBox by using the new Extension Methods of C# 3.0

using System;
using System.Windows.Forms;

namespace cSouza.Utils.WinForms
{
   
public static class TextBoxExtender
    {
       
/// <summary>
        ///  Appends a new line of text to the current text of the TextBox.
        /// </summary>
        /// <param name="text">The text to append to the current contents of the TextBox</param>
       
public static void AppendLine(this TextBox textBox, String text)
        {
            if (textBox.Text.Length > 0)
                textBox.AppendText(Environment.NewLine)
;
            textBox.AppendText(text)
;
       
}

        /// <summary>
        ///  Inserts a new line to the current text of the TextBox.
        /// </summary>
        /// <param name="text">The text to append to the current contents of the TextBox</param>
       
public static void AppendLine(this TextBox textBox)
        {
            textBox.AppendText(Environment.NewLine)
;
       
}
    }
}

To use AppendLine() on a TextBox object, just add this class to your project and import its namespace. To do this, create a new empty class, copy and paste this code inside it and then import the cSouza.Utils.WinForms namespace (with the using directive) wherever needed. Feel free to change the namespace name to something else if you wish.

Once this class becomes reachable from your code, you’ll notice that AppendLine() will start showing up on IntelliSense right after you type in the name of a TextBox object, just like a standard method would.

For more information about the new Extension Methods of C# 3.0, you can read a nice article written by Vipul Patel on developer.com by clicking here.

Cool Google Insights: Windows Vista vs Windows XP

vistaxp

This is the first post of a series of cool search volume comparisons now made possible with Google Insights for Search. Just click the title below to see its result directly on Insights:

Windows Vista vs Windows XP


Unlike a planned previous post I decided not to publish yet, this result was very predictable. People just search more for Windows XP than Windows Vista, and this ain’t recent news. Curiously, people at Guatemala seems to have the greatest interest on Vista, while India would rather search more for XP. Indeed, searching a little may even confirm what Indians have to say about Vista. For me only XP, too!

Also sorry, but I couldn’t resist. I had to post this:

Lojas de Componentes Eletrônicos em São Carlos

transistor2
Adoro o Google.

Hoje, enquanto observava no Google Analytics o que as pessoas estavam procurando no Google quando caiam nesse blog, encontrei alguém procurando pelas keywords são carlos componentes eletrônicos. Bem, sei que esta pessoa poderia estar procurando por qualquer outro tipo de coisa, mas esta query me fez perceber que são poucos os lugares listando lojas do gênero da região. Pois bem, aqui está uma curta referência às lojas onde geralmente compramos componentes aqui na cidade de São Carlos:

Eletrônica Pinhé
Rua General Osório, 67, São Carlos-SP
Fone: (16) 3372-7207 Site: http://www.pinhe.com.br/

Para quem está ruim de mapa, fica perto da Estação Ferroviária. Se quiser ir de ônibus, pegue qualquer um que pare na Praça da Estação, procure a Rua General Osório e suba, passando pela linha do trem. Mudaram de endereço recentemente, e não tenho certeza se este endereço é o antigo ou o mais atual. De qualquer modo, o novo endereço é apenas alguns metros adiante do antigo.

CaAndMa
Av. Grécia, 700, São Carlos-SP
Fone: (16) 3375-7778

Ótima loja de componentes eletrônicos, acho que é a mais completa por aqui. A única coisa que atrapalha é a localização, e não tenho conhecimento dos ônibus que passam ali por perto. Componentes ativos, passivos, microcontroladores, telas lcd, enclosures, conectores, cabos… Infelizmente, perdi a nota fiscal com endereço e telefone e estou sem uma lista telefônica para buscá-la novamente. Fica de esquina com a Rua Henrique Grégori, na Vila Prado.

Eletrônica Gaspar
Av. São Carlos, 2615, São Carlos-SP
Fone: (16) 3371-4014 / 3371-3412

Não é exatamente uma loja de componentes eletrônicos, mas possui vários tipos de conectores, inclusive o plug P1 stereo que não encontrava em nenhum lugar. Não sei se trabalham com componentes eletrônicos propriamente ditos, é melhor telefonar antes e perguntar.

Universidade Federal de São Carlos
Departamento de Computação

Se você é aluno da federal e precisa de alguns poucos componentes para algum projeto acadêmico, vá até o Departamento de Computação e converse com algum funcionário, explique seu projeto e veja se eles não podem fornecer alguns para você. Mas não abuse. Provavelmente a USP São Carlos, vulgo CAASO (argh!) pode ter uma oferta semelhante, mas não pude confirmar.

PS: Além destas, num próximo post listarei as principais lojas virtuais de componentes eletrônicos nas quais comprei e tenho confiança, e colocarei o link para o post aqui.

Cool Google Insights!

i4s-categories

Recently, Google unveiled its new service, Google Insights for Search.

With Google Insights for Search, you can compare search volume patterns across specific regions, categories, and time frames.

Indeed, with Google Insights for Search you can provide just a couple search terms and then let Google show you a comparison of search volume for those terms over time for any date range since 2004, along with a display of their local frequencies over a world map.
But although this new Google service may be targeted to advertisers, just think about the endless possibilities it gives to cultural, social and behavioral studies that can now be performed over Google’s logged data.

With Google Insights for Search, you can search for a term to track how much it’s been googled over time, where on a “heat map” it’s most popular, and what the top “related” and “rising” searches for the term are.

So, for example, we may now find out that queries for technology may be more popular in Nigeria than in India, that searches for fireworks tremendously rises as the new year holidays approaches, we may follow the rise of firefox, find out how people got really worried about trying to stop global warming over the first semester of 2007, but also see that by now much of those concerns may have been forgotten. Or we may even confirm that Obama is more popular than McCain not only on the U.S. but on the rest of the world as well.

On future posts, to be filled under this same Google Insights label, I’ll post cool searches comparisons that may (or may not) reflect our current reality, culture and behaviour worldwide. Feel free to grab this blog rss feed if you wish following!