Sunday, February 18, 2007

Estádio de Sítio

Desculpem este passanço sobre futebol, mas acabei de ouvir o Marcelo Rebelo de Sousa a promover o livro “Estádio de Sítio” do jornalista Rui Santos. ‘Tá tudo louco???

Eu pouco percebo de futebol, gosto de ver, gosto de seguir, quase sei de cor o meu número de sócio do FCP, mas percebo pouco. E mesmo assim, consigo reconhecer que este Rui Santos, fenómeno comentador da SIC/SIC Notícias, é o comentador mais vacuoso mais banal e mais ignorante de futebol que já vi pela frente. E olhem que no universo dos jornalistas de desporto a competição pelo lugar de bottom feeder é renhida. O homem irrita-me a ponto de eu fazer zapping à procura de publicidade quando ele aparece.

Professor Marcelo, tenho que lhe dar 4 valores pela sua escolha. Numa pauta minha, apareceria com um asterisco e uma nota para vir falar com o regente. Bastava dar uma palavrinha ao Humberto Coelho e ficava com a imagem da qualidade deste fenómeno. Eu vi essa cena em directo, e foi de rebolar a rir. Se alguém tiver o vídeo, pf espete isso no Youtube. Compete com os gatos…

Posted by K in 21:16:05 | Permalink | Comments (1) »

Monday, February 5, 2007

Booting linux in 5 seconds

I envy one thing on mac users. Fast boot times! That’s the one thing linux never nailed. My gentoo, from power button to working desktop takes a nudge less than a couple of minutes to boot. I finally solved it, using Suspend2. It works right out of the box.

The full howto is here. The short version, if you are lucky, goes like this:

emerge -av sys-kernel/suspend2-sources

Compile your kernel, setting these options:

Power Management -> Suspend2
Power Management -> Suspend2 -> Swap writer
Power Management -> Suspend2 -> Default device: swap:/dev/hda?
Cryptographic options -> Cryptographic API
Cryptographic options -> LZW

Where ? is your swap partition. Compile and boot into the new kernel. You can now execute the command “hibernate” for the laptop to hibernate.

For the lid to work as a suspend command, on a thinkpad, create the file /etc/acpi/events/button_lid with these contents:

event=button/lid LID 00000080
action=/usr/sbin/hibernate 

For other laptops, close the lid then look on /var/log/acpid for the correct event code.

Finally, to get the behavior of Macs, which suspend to disk and ram, set PowerDownMethod to suspend-to-ram in /etc/hibernate/suspend2.conf. The laptop will suspend to disk first, then to ram. If ram holds up during the power cycle, you’ll boot in a couple of seconds. If battery dies, you’ll still be safe, as the laptop will boot from the saved image on disk, taking a few more seconds to boot the kernel and read the stored image from disk.

Posted by K in 23:24:10 | Permalink | No Comments »

Thursday, February 1, 2007

Sócrates e Sapo Vídeos

Não posso deixar de concordar com Paulo Querido. Isto salta à vista como sendo de muito mau gosto:

 

Como é que o nosso PM aparece em pose oficial de quem quem está a falar para a nação, com um link para os vídeos do Sapo na gravata?

Posted by K in 11:44:54 | Permalink | Comments (5)