Lojas de Componentes Eletrônicos em São Carlos

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.

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!


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!

Windows Shortcut HotKeys


The way Windows recognized hotkeys for shortcuts was always a mystery to me. Create a shortcut, put it on any folder, open its properties and define a hotkey for it. If you happen to have created it on your Desktop, then it should work. But if it was My Documents, then it probably wouldn’t. Now what if you delete your shortcut with the working hotkey? The hotkey will still work, and there will be no way to unregister it other than rebooting!

Well, googling around I found a little explanation about how Windows manages shortcuts (at least until XP, don’t know if it applies to Vista). This will be interesting for a new application I’m writing.

Windows Explorer looks in 4 places for hotkeys, which are read on startup. Hotkeys are stored in the shortcuts contained inside them or in any of its subdirectories. So a to have a valid hotkey the shortcut must be put inside any of the following folders:

%UserProfile%Start Menu
%AllUsersProfile%Start Menu

Now that explains why rebooting solved the zombie hotkey issue. Interestingly, the place from where I adapted this text has a very useful utility to manage Windows shortcuts that is worth taking a look.

Enabling bash autocompletion on Debian


Open up a terminal, then type:

nano /etc/bash.bashrc

Now, search for the following commented lines (lines with a starting #)

# enable bash completion in interactive shells
#if [ -f /etc/bash_completion ]; then
#. /etc/bash_completion

And uncomment them like this:

# enable bash completion in interactive shells
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion

Now whenever you want to install a package, for example, you need only type the first letters of the package in the apt-get install command line and then hit tab twice to list available packages starting with those letters.

e.g. Typing

apt-get ins<TAB>

will autocomplete to apt-get install. Now continue and type

apt-get install amar<TAB>

and a list with every package with “amar” in their name will be shown. In this example, it will probably list packages such as amaroK and amarok-engines.

I know this feature works with far more commands, however I can’t enumerate all of them because I just don’t know they all. If you think it may work in the context you are in, then it costs nothing to try and check it yourself. Sometimes you’ll be surprised!

Essential Software for Linux

Here is a list a few packages I install every time I setup a new Linux box. As this isn’t something I do often (probably only when I’m buying a new computer), I really have to write them down so I don’t forget about them next time. Here is a complete list with the package name and their description. The last update made for this post was made in July 24, 2008.

  • System
    synaptic – graphical user interface to apt-get.
    prelink – improves system performance prelinking libraries and executables. Commonly I use prelink -avmR for optimizing my systems. Please see manpage for more details.
    apt-build – builds your packages from source with any desired optimization level.
    unrar – the proprietary WinRAR command line equivalent for linux, from rarlabs. If you want a pure GPL system, stick to unrar-free. [considering ditching in favor of p7zip]
    p7zip – the free command line archiver tool for 7z packages. Compression ratios are usually considered to be better (source?) than those of .rar packages. Plus, it’s LGPL.
    less – improved more. Perhaps one of the first essential things you should apt-get if you didn’t have it already.
    module-assistant – essential tool for building kernel modules The Debian Way(tm).
    deborphan – Lists unused and orphaned packages that generally can be removed from your system.

  • Desktop Tools
    katapult – the most useful application launcher I’ve ever seen. Press Alt + Space and a nice, elegant-looking window will pop in the center of your screen. Type anything – a program name, a song name, a google query or even a mathematic formula – it will autocomplete your command and run, play, search or compute for you.
    yakuake – want a terminal? Just hit a keyboard shortcut (I have set mine to alt + ~) and a terminal you scroll down your screen just like the Quake console would. Impressive and useful.
    ark – graphical user interface for various command line compressing and archiving tools.

  • Internet Tools
    emesene – finally a MSN Messenger client worth looking. For years Linux lacked a decent Messenger clone with a consistent interface that didn’t want to implement every protocol under the sun.

  • Browsers
    opera – The Fastest Browser on Earth! Albeit Opera has been known to be one of the lightest internet browsers available, which in the past could fit inside a single floppy disk, it has built in support for chat, email, torrents, bookmark synchronizing, mouse gestures, voice recognition, thousand of skins and is known to be one of the most secure and standard compliant browsers. Runs everywhere, on computers, cellphones, fridges, televisions and Wiis. For me, it its my browser of choice. Isn’t open source, though.
    w3m – So you decided to upgrade X or your nvidia drivers and something went wrong. Now X fails to start and instead you are locked in the dark, text-only world of the linux terminal. Not a problem if you have w3m, a browser for text mode which you can use to call for help searching google. It even supports mouse clicking and the display of pictures through the framebuffer!

  • Development
    build-essential – essential build tools, such as gcc and libc development libraries. A must have if you plan to build Debian packages, including compiling and installing your kernel The Debian Way™.
    eagle – the proprietary circuit design tool from CADSoft. Although a powerful software for Windows, its linux counterpart has some issues, mainly with desktop integration. It looks really like a Windows app in your Linux box, not matching any your GTK or KDE themes. Sometimes it want to be run as root (!) to gain some additional privileges. Also it had some problems with X, but I think they were due to compiz.

  • Games
    mupen64plus – The best N64 emulator for GNU/Linux, fork of the original Mupen64, which hasn’t been updated for years. Anyone willing to pack it up for Debian?

  • Multimedia
    amaroK – THE best audio player ever coded. Well, at least until last time I’ve upgraded it. One of the biggest reasons for flipping the linux switch.
    kmplayer – video player fronted for various multimedia engines.
    xine libraries – acts as an engine for amarok and kmplayer, also providing mp3 support through plugin package. To replaced by xine 2 libs
    Packages: libxine1 libxine1-plugin

  • Office

  • Google Tools
    picasa – picture management tool by Google.
    google-desktop-linux – Google desktop for linux. It doesn’t have that fancy sidebar of the windows version, so it isn’t of much use for me.
    googleearth-package – tool for downloading Google Earth and creating a nice .deb package. If it only told you how to do so. After installing, type make-googleearth-package on a console to create the package. Ensure you have proper privileges and install using dpkg -i package_name.deb.
    ps: I really feel they should standardize package names for google things. To apt-get picasa and google desktop, you may have to add the Google Linux Software Repository to your apt sources.

  • Themes & Styles (KDE)
    gtk-qt-engine – enables both KDE and GTK based apps to share the same QT theme. A must have for KDE users if your choosen theme isn’t available to GTK. Well, a must have anyways.
    Some interesting additional styles for KDE 3.5
    Packages: kde-style-serenity kde-style-qtcurve kwin-style-knifty kwin-baghira

  • Themes & Styles (other)
    lxappearance – a tool for changing GTK styles. Useful for changing the style of applications that have to run with higher privileges, like the Synaptic Package Manager, if you use it together with sudo. i.e: sudo lxappearance 
    splashy – adds a nice bootsplash to your system without touching your kernel.
    Interesting themes for GTK
    Packages: gtk2-engines-qtcurve

  • Interoperabilty
    wine – The ubiquitous tool for porting emulating running your windows apps on linux. Has reached 1.0 state some months ago, has support for Windows XP themes and works really, really well. Under constant development, though.
    winetricks – A script with tricks and hacks to run applications which just wouldn’t work with a vanilla wine installation.
    mono – The .Net Framework for Linux. I still don’t know if there is a metapackage for downloading the entire library for a complete replacement of the .Net Framework. I usually install the following packages, as dependencies gets automatically resolved.
    Packages: mono-gmcs libmono2.0-cil libmono-winforms2.0-cil

Escrevendo ç no us-int

Caso ‘ + c não adiante, para fazer o ç (c-cedilha) no padrão internacional (us-int), basta pressionar

 Alt Gr + ,

e depois


Este tipo de problema ocorre no linux quando temos um teclado abnt2 e propositalmente tentamos forçar um padrão diferente, como o us-int. Sinceramente, acho mais fácil comprar um teclado novo.