Posted by: Artur Martins on: 2008/01/30
A Ikea criou uma assistente virtual feminina para ajudar os seus clientes na navegação da página. Ao entrar em http://www.ikea.com/pt podemos ver que no canto superior direito (ou no fim da coluna da esquerda) uma opção “Perguntar à Anna”. Se lá clicar vai abrir uma janela e aparece a Ana. Pode perguntar o que quiser, [...]
Posted by: Artur Martins on: 2008/01/29
Faço 30 anos hoje, às 16:50 (hora francesa). A ver se a minha mãe acerta este ano
Hoje não devo fazer festa, mas sexta-feira, sábado e domingo, vai ser tudo corrido a jantares e festas, muita música e dança! Olé!!!!
Posted by: Artur Martins on: 2008/01/24
5 estrelas… “há presunto, presunto, presunto”… lol!!!!!
Posted by: Artur Martins on: 2008/01/17
Funny but remember one thing: this kind of people exists in any country
Posted by: Artur Martins on: 2008/01/12
After installing a default apache2 and php5 with desired modules I got this error getting apache2 started:
PHP Warning: Module ‘json’ already loaded in Unknown on line 0
So I went to /etc/php5/apache2/php.ini and I commented out the line:
;extension=json.so
This error means that json.so it’s loaded twice, but were??
Posted by: Artur Martins on: 2008/01/11
Na disciplina de Computação Evolutiva, estou a fazer um mini-projecto sobre Degree-constrained spanning tree. A técnica para criar o meu espaço de indivíduos/soluções para n nós de um grafo é através da criação de números de prüfer. Abaixo segue-se o código:
import random
class PruferNumber: def generate(self, n): assert isinstance(n,int) [...]
Posted by: Artur Martins on: 2008/01/08
I was going to install java on my gold client that I found there is now a simpler process:
Change your /etc/apt/sources.list and add non-free repository:
deb http://ftp.uevora.pt/debian/ etch main contrib non-free
Update your list and install it:
aptitude update
aptitude install sun-java5-jre
aptitude install sun-java5-jdk (in case that you need the jdk!)
Sweet
Posted by: Artur Martins on: 2008/01/07
I got this error today:
Error: ‘/etc/mailcap’ is not in required format — not updated
Restore from backup or delete and re-install mime-support package
Solution:
1 – backup /etc/mailcap, if you need it
2 – aptitude -q –purge –reinstall install mime-support
source: mime-support zeroes /etc/mailcap and then gets stuck