To make use of the OpenDNS service, which is free, configure your system (computer, router, modem) to use the following dns servers:
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:
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.
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?
The question of whether computers can think is just like the question of whether submarines can swim.
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.
123456789101112131415 <one line to give the program's name and a brief idea of what it does.>Copyright (C) <year> <name of author>This program is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, either version 2 of the License, or(at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program. If not, see <http://www.gnu.org/licenses/>.
123456789101112131415 <one line to give the library's name and an idea of what it does.>Copyright (C) <year> <name of author>This library is free software; you can redistribute it and/or modifyit under the terms of the GNU Lesser General Public License as publishedby the Free Software Foundation; either version 2.1 of the License, or(at your option) any later version.This library is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU Lesser General Public License for more details.You should have received a copy of the GNU Lesser General Public Licensealong with this program. If not, see <http://www.gnu.org/licenses/>.
12345678910111213141516171819202122232425262728 The contents of this file are subject to the Mozilla Public LicenseVersion 1.1 (the "License"); you may not use this file except incompliance with the License. You may obtain a copy of the License athttp://www.mozilla.org/MPL/Software distributed under the License is distributed on an "AS IS"basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See theLicense for the specific language governing rights and limitationsunder the License.The Original Code is ______________________________________.The Initial Developer of the Original Code is ________________________.Portions created by ______________________ are Copyright (C) _____________________________. All Rights Reserved.Contributor(s): ______________________________________.Alternatively, the contents of this file may be used under the termsof the _____ license (the "[___] License"), in which case theprovisions of [______] License are applicable instead of thoseabove. If you wish to allow use of your version of this file onlyunder the terms of the [____] License and not to allow others to useyour version of this file under the MPL, indicate your decision bydeleting the provisions above and replace them with the notice andother provisions required by the [___] License. If you do not deletethe provisions above, a recipient may use your version of this fileunder either the MPL or the [___] License.
123456789101112131415161718192021222324 Copyright (c) <year>, <copyright holder>All rights reserved.Redistribution and use in source and binary forms, with or withoutmodification, are permitted provided that the following conditions are met:* Redistributions of source code must retain the above copyrightnotice, this list of conditions and the following disclaimer.* Redistributions in binary form must reproduce the above copyrightnotice, this list of conditions and the following disclaimer in thedocumentation and/or other materials provided with the distribution.* Neither the name of the <organization> nor thenames of its contributors may be used to endorse or promote productsderived from this software without specific prior written permission.THIS SOFTWARE IS PROVIDED BY <copyright holder> ''AS IS'' AND ANYEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIEDWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AREDISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANYDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED ANDON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THISSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12345678910111213141516171819202122 Copyright (c) <year> <copyright holders>Permission is hereby granted, free of charge, to any personobtaining a copy of this software and associated documentationfiles (the "Software"), to deal in the Software withoutrestriction, including without limitation the rights to use,copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom theSoftware is furnished to do so, subject to the followingconditions:The above copyright notice and this permission notice shall beincluded in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIESOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE ANDNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHTHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISINGFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OROTHER DEALINGS IN THE SOFTWARE.
12345678910111213 Copyright [yyyy] [name of copyright owner]Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.
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.
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.
123456 The author or authors of this code dedicate any and all copyrightinterest in this code to the public domain. We make this dedicationfor the benefit of the public at large and to the detriment of ourheirs and successors. We intend this dedication to be an overt actof relinquishment in perpetuity of all present and future rights tothis code under copyright law.
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.
For a nice comparison of different licenses, implications and more useful information, please check:
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:
Personally, I would rather go with the GPL v2 instead.
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?
public static class TextBoxExtender
/// Appends a new line of text to the current text of the TextBox.
/// <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)
/// Inserts a new line to the current text of the TextBox.
/// <param name="text">The text to append to the current contents of the TextBox</param>
public static void AppendLine(this TextBox textBox)
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.
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:
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.
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.
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.
Recently, Google unveiled its new service, Google Insights for Search.
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!
Computer science is no more about computers than astronomy is about telescopes.
– Edsger Dijkstra