[Rafael Biriba] Globo.com: Área de tecnologia abre vagas para estágio

January 29th, 2010

 

http://talentos.globo.com/talentos/

http://www.globo.com/estag

 

A pedido do RH da Globo.com, segue o “anúncio” com as informações sobre as vagas de estágio:

ESTÁGIO EM TECNOLOGIA PARA GLOBO.COM

Venha trabalhar com  a gente e dê um clique decisivo no seu futuro.

A GLOBO.COM é um dos 4 maiores portais brasileiros que possui em torno de 14 milhões de visitantes únicos domiciliar/mês;

Procuramos por Estudantes de Análise de Sistemas, Ciência da Computação, Engenharia da Computação e afins, com o perfil abaixo:
* Previsão de formatura: dezembro/2010 a dezembro/2011.
* Pessoas dinâmicas, criativas e fascinadas por internet.
* Interesse em estagiar com projeto e manutenção de infra-estrutura.

Envie seu currículo para talentos@corp.globo.com
Para maiores informações acesse: www.globo.com/estag
Espalhe a notícia para seus amigos e parentes que estejam interessados.
Avise-os por e-mail, MSN, Orkut ou pelo Twitter.
Não deixe-os perder essa oportunidade!

CONTAMOS COM SUA PARTICIPAÇÃO! DIVULGUE!
EQUIPE GLOBO.COM

Boa sorte a todos os candidatos… ;)


Leia também:

[Gabriel Falcão] Avoid python pitfalls and be happy

January 21st, 2010

This morning I was just reading the feed, when I stumbled on this post about one of the weird behaviors of lists in Python.

In a few words, lists and dictionaries behave like C pointers, thus they are mutable objects.

So, if you are beginning on python, you probably will like those articles:

Hope it helps :)

[Igor Macaubas] macaLean agora com PodCasts

January 20th, 2010

Fico feliz em anunciar que acabei de incluir no BLOG o plugin PodPress – é um plugin que habilita um feed de rss no formato correto para distribuição de PodCasts. Estou fazendo isso para facilitar o acesso dos vídeos das minhas palestras diretamente em iPhones e iPods, entre outros dispositivos que suportam Podcasts.

Incluir o feed é bem simples: basta incluir no iTunes a URL http://macaubas.com/?feed=podcast no iTunes. Para isso, basta seguir o passo a passo abaixo:

1. Clique em Podcasts na barra lateral

2. Vá no menu “Advanced”, e clique em “Subscribe to Podcast…”

3. Coloque a URL http://macaubas.com/?feed=podcast no campo e clique em OK.

4. É isso aí. Agora, toda vez que rolar uma nova palestra minha aqui no BLOG, você receberá o vídeo automaticamente no seu iTunes!

[Tiago Motta] Diferenças entre ruby e python: Que perigo

January 15th, 2010

Em ruby:

def a(z=[])  z.push 'a'enda   # retorna  ["a"]a   # retorna  ["a"]a   # retorna  ["a"]a   # retorna  ["a"]

Em python:

def a(z=[]):  z.append('a')  return za()   # retorna ['a']a()   # retorna ['a','a']a()   # retorna ['a','a','a']a()   # retorna ['a','a','a','a']

[Rafael Biriba] Mencoder: Adicionando legenda em um vídeo

January 15th, 2010
Mplayer: http://www.mplayerhq.hu

Mplayer: http://www.mplayerhq.hu

Uma legenda no formato .srt, pode ser inserida em um vídeo com diversos programas/ferramentas. Vou mostrar que mencoder é uma das opções mais simples e rápida para isso.

O mencoder é instalado junto com o pacote do Mplayer. Mais detalhes de como instalar, visite: Mplayer: Projeto baseado no FFmpeg

Antes de adicionar a legenda ao vídeo, verifique se existe o arquivo subfont.ttf na pasta do mplayer. Sem esse arquivo de fonte, o mencoder não consegue “escrever” no vídeo.

Criando o subfont.ttf

No windows, basta copiar uma font .ttf, colar na pasta do Mplayer e renomear para subfont.ttf

No linux, procure pelas fontes .ttf com o comando: locate ttf | grep ttf\$
Depois copie a fonte para o diretório local do mplayer. No meu caso:  (Utilizei a fonte VERA)
cp /usr/share/fonts/truetype/ttf-bitstream-vera/Vera.ttf ~/.mplayer/subfont.ttf

Testando a legenda:

Antes de inserir a legenda, podemos e devemos testa-la. Para isso rode o comando:
mplayer -sub legenda.srt video_original.avi
Assim, você pode ver mais ou menos como a legenda vai ficar, em relação a fonte escolhida.

Inserindo a legenda:

Comando:
mencoder video_original.avi -sub legenda.srt -subpos 95 -subfont-text-scale 3 -subcp enca:gr:iso-8859-1 -vf expand=640:384 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800:vhq -oac copy -o video_com_legenda.avi

Onde:
video_original.avi= Vídeo de entrada
legenda.srt=  Legenda a ser inserida
video_com_legenda.avi= Vídeo de Saída

Parâmetros:
-subpos= Especifica em que % da tela a legenda irá aparecer (A partir do topo)
-subfont-text-scale= Especifica o tamanho da legenda no vídeo
-subcp= Especifica a codificação do arquivo de legenda
-vf= Especifica o tamanho do vídeo. Neste caso, o vídeo original era 640 x 272, adicionei mais 112px na altura (384px) utilizando expand,ou seja, o vídeo vai ficar com uma tarja preta de 56px em cima e em baixo.
-ovc= Especifica o codec de vídeo. Neste caso lavc.
-lavcopts = Opções do lavc. Especifica o nome do codec, bitrate,…, do vídeo.
-oac= Especifica o áudio. O valor copy, copia o áudio exatamente como o original.
-o= Especifica o arquivo de saída.

OBS: O comando do mencoder foi testado e executado no Linux. Para rodar o comando em windows, veja aqui.

 


Leia também:

[Bruno Mentges de Carvalho] Usando jQuery no console do firebug

January 7th, 2010

Recentemente procurei como fazer pra usar o jQuery no console do firebug, e encontrei essa solução:

Adicione esse bookmarklet na barra de favoritos do firefox e clique toda vez que quiser injetar o jquery num site para voce poder manipular com facilidade:

Load jQuery

O código é simples, como podemos ver abaixo:

j=document.createElement("SCRIPT");
j.src="http://code.jquery.com/jquery-latest.pack.js";
document.getElementsByTagName("HEAD")[0].appendChild(j);

Fonte em inglês:
http://techrageo.us/2008/03/05/jquery-for-firebug/
Uma alternativa praticamente igual:
http://ajaxian.com/archives/hacking-digg-with-firebug-and-jquery

Espero que ajude :)

[Gabriel Falcão] Solving “connection refused” issues on Debian Sid

January 5th, 2010

Some weeks ago I started to experiment some network issues on my debian sid:

  • The selenium-remote-control was not running:

I could even try to do a: “telnet localhost 4444″, it just did not work.

  • My Apache-Solr was not capable to subscribe to apache-activemq

When reading the log, I saw:

javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused
at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:280
Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused
Suddenly I noticed something weird in my netstat:
tcp6       0      0 :::8983                 :::*                    LISTEN      3865/solr-globocom
tcp6       0      0 :::8161                 :::*                    LISTEN      3901/activemq-globo
tcp6       0      0 :::61616                :::*                    LISTEN      3901/activemq-globo
tcp6       0      0 127.0.0.1:41879         127.0.0.1:61616         ESTABLISHED 3865/solr-globocom
tcp6       0      0 127.0.0.1:61616         127.0.0.1:41879         ESTABLISHED 3901/activemq-globo

Everything is being bound as IPv6… humm, that doesn’t have a good smell….

Looking for solutions I’ve found this file:

/etc/sysctl.d/bindv6only.conf

interesting, huh?!?

Openning up that file, I saw a full description of it, then I just needed to change its property from this:

net.ipv6.bindv6only = 1

to this:

net.ipv6.bindv6only = 0
Well, if you have the same problem, jsut change that, restart your PC, and be happy!

[Guilherme Chapiewski] The whole company “Agile”?

January 4th, 2010

Last month while I was discussing with my friend Siraj we started to ask ourselves why the Agile “philosophy” doesn’t get popular in the whole company. What I mean is that nowadays it’s kind of easy to find the software/product development department of companies using Agile methodologies, but what else is missing or needed to the Human Resources, Marketing, Finance, Administration, Sales and every other departments join this movement?

When you start with Agile development, not only the software development process changes but many other things related to how your company works. For instance, it’s very difficult to think about an Agile team that will succeed with “command-and-control” management. The teams are self-managed, which implies a different style of management. Instead of bosses that keep asking for things done, we have servant leaders which provide all possible resources so that their teams can work and make decisions. The base of the pyramid begins to make decisions and not the top anymore, because they have the best work knowledge and therefore are the most suitable to do it. In some extreme cases in modern companies like Semco, the very employees are the ones who hire their managers.

That is, when we talk about agile methods, even though we are referring to the Agile software development methods, there are a lot of other concepts and philosophies that we are implicitly talking about (because they are very closely related).

I have an example to better explain where I want to go with this. I once worked for a company of reasonable size that, like many others of this size, had a traditional Human Resources department. One day I had a problem and needed urgent assistance from the HR staff. When I talked to them, two bad things happened. First, they treated me badly and like if they were doing a favor to me. Second, they said that my request would be met only in a few days because they had many important things to do first. What was happening was that my daughter was very sick, I had a problem with my health insurance and they were not willing to approve my daughter’s appointment with a doctor. A HR team with the “agile culture” would know in first place that since I am their main “user”, I deserve attention, respect and my problems are their problems. The emergencies of their users should be more important than any paperwork they have to do. And second, even though their backlog was abnormally large, a case with such severity should certainty jump the queue.

So when I say that other departments of companies could be “agile”, I am not suggesting that they work with Agile software development – which would make no sense – but that they use the same concepts of leadership, self-organizing teams working in a participatory environment, based on trust and cooperation, making a better effort to understand who are their “users” and what are their needs, create visions for their products and departments (that would help them make better decisions) and so on.

Getting this HR department above to speak up as an example, wouldn’t it be perfectly acceptable for them to do a personas exercise to discover what is the profile and the characteristics of their users? Wouldn’t it be great if they did chartering sessions, discussed their values, made retrospectives to discover how to improve their process and so on? Imagine how transparent and organized would be if the HR team had a big Kanban board in their room showing the activities, progress and their bottlenecks?

I think that this may not happen because much of the material and examples available on these subjects nowadays are formatted for people related to software development. Yes, there are books such as those of Ricardo Semler who are categorized in bookstores as “Business”, but I don’t see much business people really interested in these subjects. Why is that?

It’s time to finish with this “fork” between companies’ agile communities and the other departments. In Agile adoptions we frequently see after some time two totally different companies working within one. We must bring people from other areas and other hierarchical levels to the conferences and our world and show them these ideas. I will love the day that it will be possible to go to an Agile Conference and talk not only to software people but also HR managers, VPs of Marketing and other guys who are not in the development department; or else when we can find in user group meetings not only the “agilists” but also managers, human resources analysts, accountants and so on.

And now, where do we start?

[Rafael Biriba] Retrospectiva 2009: Os posts mais visitados do blog

January 2nd, 2010
Retrospectiva do Blog 2009

Retrospectiva do Blog 2009

Primeiro post de 2010! Nada melhor que uma retrospectiva dos melhores posts do ano passado, para começar este ano bem.

Os dados foram obtidos cruzando os valores das estatísticas de alguns plugins do wordpress com o google analytics no período de fevereiro à dezembro/2009.

Filtrei alguns posts, para não indicar muitos links com mesmo conteúdo, assim agradamos a todos…

Então, segue a listagem dividida por “categorias”:

Os mais lidos pelo feed:

Palestra: Vídeos para Internet (XIII Semana Tecnológica do IST-Rio) (491 leituras)

[off-topic] Blogueiros de todo o mundo contra as mudanças climáticas (Blog Action Day) (483 leituras)

Evento: XIII Semana Tecnológica e Cultural do IST-Rio (436 leituras)

IST-Rio: Inscrições abertas - Vestibular 2010: 1º semestre (399 leituras)

Ubuntu 9.10: Disponível para Download ou Atualização (388 leituras)

Tunneling com Tsocks (381 leituras)

Os mais visitados

Travian: Greasemonkey e seus Scripts (2856 visitas únicas)

Travian versão 3.5: Fim do greasemonkey e seus scripts ? (1266 visitas únicas)

Travian 3.6: Nova versão veio para assustar (637 visitas únicas)

Ubuntu 9.10: Disponível para Download ou Atualização (420 visitas únicas)

Globo.com: Aberta as inscrições para o programa de estágio (309 visitas únicas)

Os mais comentados:

Travian versão 3.5: Fim do greasemonkey e seus scripts ? (75 comentários)

Globo.com: Aberta as inscrições para o programa de estágio (68 comentários)

Travian versão 3.5: Fim do greasemonkey e seus scripts ? (41 comentários)

Newsletter para o Wordpress 2.7.1 (28 comentários)

Agora, segue algumas curiosidades:

Os que eu mais gostei de escrever:

FFmpeg: Conversão de mp4 para wmv

Mplayer: Rotacionando um Vídeo

FFmpeg: Extraindo imagens de um vídeo ( Snapshot )

Tunneling: Passe por bloqueios de proxy ou de firewall com Socks

Os que mais resolveram problemas de amigos:

Newsletter para o Wordpress 2.7.1

Ubuntu: Não foi possível resolver ‘br.archive.ubuntu.com’

Pidgin 2.5.5: Problemas para conectar no Yahoo Messenger

Ubuntu: Configurando teclado ABNT2 no vmware-server-console

Rapidinhas…

O primeiro do blog: Windows XP vs Linux UBUNTU

O mais recente:  Feliz ano novo com javascript !

O mais rico em conteúdo: Pesquisa científica: Segurança Digital (A pesquisa foi elaborada durante um período inteiro na faculdade)

O mais trabalhoso: Palestra: Vídeos para Internet (XIII Semana Tecnológica do IST-Rio) (A limitação do youtube quanto a duração do vídeo, me fez perder muito tempo, até utilizar o vimeo.com)

Estatística do Blog:

Em dezembro/2009:
Visitantes: 3671
Páginas visualizadas: 10210

No ano 2009:
Total de visitantes: 23846
Páginas visualizadas: 56537

Então é isso aí… Esse ano, pretendo trazer ainda mais informações para vocês…

Aproveite e assine a newsletter: http://www.rafaelbiriba.com/newsletter

Feliz ano novo! ;)

 


Leia também:

[Rafael Biriba] Feliz ano novo com javascript !

December 24th, 2009

natal-16Primeiramente, gostaria de desejar a todos os leitores e amigos que acompanham meu blog:

Um feliz natal e um próspero ano novo !

Entrando nesse ritmo de natal e ano novo, desenvolvi um pequeno código em javascript para desejar feliz natal e ano novo para os leitores do meu blog.

O código está realmente simples, e pode ser alterado e utilizado aonde quiser… Só não esqueça de deixar sua opnião nos comentários abaixo!

O script funciona da seguinte maneira:
3 variáveis são definidas no inicio:
Data atual (var agora).
Data do ano novo (var anoNovo).
Data máxima de exibição (var anoNovoMax).

O alert com a mensagem será exibida enquanto a data atual estiver dentro do intervalo das outras 2 datas.

Abaixo segue o código:

<script language="JavaScript">
var agora = new Date();
var anoNovo = new Date(2010, 0, 1, 0, 0, 0, 0);
var anoNovoMax = new Date(2010, 0, 1, 23, 59, 59, 0);
if(agora >= anoNovo && agora<anoNovoMax)
{
alert("Feliz ano novo !");
}
</script>

Para implementar no wordpress, é bem simples:
Adicione um Widget de texto em seu wordpress, e sem atribuir um titulo, insira o codigo javascript diretamente no campo de baixo “descrição”. Fazendo isso, o widget não ficará visível, mas o código vai funcionar… :)

Para implementar em seu site:
Basta inserir o javascript em sua página.

Dica:
Como o javascript pega a data da máquina do cliente, você corre o risco de pegar a data errada.  Uma solução seria usar o PHP para definir a data, ou seja,  seria a data atual seu servidor. Exemplo:

var agora = new Date(<?php echo date("Y, m, d, H, i, s"); ?>);

Então é isso… Façam bom proveito !

Aqui no blog, já está implementado as mensagens de Feliz Natal e Feliz Ano Novo… Serão exibidas durante todo o dia 25 e 01, respectivamente ! Visitem o Blog e confiram ! ;)

 


Leia também: