Archive for the ‘programação’ Category.

Instalação do Google Chrome no Ubuntu 11.10 “Oneiric Ocelot”

Abra o Terminal pelas teclas CTRL+ALT+T e informe os comandos abaixo (dica via AskUbuntu).

$ wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add –
$ sudo sh -c ‘echo “deb http://dl.google.com/linux/chrome/deb/ stable main” >> /etc/apt/sources.list.d/google.list’
$ sudo apt-get update
$ sudo apt-get install google-chrome-stable

Os três primeiros comandos são para atualização da lista de fontes de pacotes para instalação, enquanto o quarto comando é a instalação propriamente dita. Depois da instalação, basta clicar no primeiro botão do lançador e digitar “Chrome” para ter acesso ao ícone do navegador, que pode ser arrastado ao lançador.

Sinais de que você é um programador ruim ou medíocre

Software Engineering Tips: Signs that you’re a bad programmer (via Hacker News)

Signs that you’re a bad programmer
1. Inability to reason about code
2. Poor understanding of the language’s programming model
3. Deficient research skills / Chronically poor knowledge of the platform’s features
4. Inability to comprehend pointers
5. Difficulty seeing through recursion

Signs that you are a mediocre programmer
1. Inability to think in sets
2. Lack of critical thinking
3. Pinball Programming
4. Unfamiliar with the principles of security
5. Code is a mess

Signs that you shouldn’t be a programmer
1. Inability to determine the order of program execution
2. Insufficient ability to think abstractly
3. Collyer Brothers syndrome
4. Dysfunctional sense of causality
5. Indifference to outcomes

Foi o Denis

Vida de Programador - tirinha 231

Why programmers are not paid in proportion to their productivity

John D. Cook: Why programmers are not paid in proportion to their productivity (via Hacker News)

Programmers are most effective when they avoid writing code. They may realize the problem they’re being asked to solve doesn’t need to be solved, that the client doesn’t actually want what they’re asking for. They may know where to find reusable or re-editable code that solves their problem. They may cheat. But just when they are being their most productive, nobody says “Wow! You were just 100x more productive than if you’d done this the hard way. You deserve a raise.” At best they say “Good idea!” and go on. It may take a while to realize that someone routinely comes up with such time-saving insights. Or to put it negatively, it may take a long time to realize that others are programming with sound and fury but producing nothing.

The romantic image of an über-programmer is someone who fires up Emacs, types like a machine gun, and delivers a flawless final product from scratch. A more accurate image would be someone who stares quietly into space for a few minutes and then says “Hmm. I think I’ve seen something like this before.”

Verdades não tão conhecidas sobre programação

iMasters: Verdades não tão conhecidas sobre programação, traduzido do original de David Veksler. Apesar de uma ou outra contradição, como “Bons programadores não têm medo de refatorar seu código constantemente” e “Contínuas mudanças levam ao desgaste do software e de sua integridade conceitual planejada originalmente”, destaco o que é mais difícil de explicar para não-programadores:

Programar é um trabalho pesado. É uma atividade mental intensa. Bons programadores pensam sobre seu trabalho 24/7. Eles escrevem seu código mais importante no chuveiro, sonhando etc., porque o trabalho mais importante é feito longe do teclado. Projetos não são concluídos mais rapidamente gastando mais tempo no escritório ou adicionando pessoas novas ao projeto.