My office sucks.
This is a real office: http://picsfromtheoffice.blogspot.com/
Flight simulator is nowhere near this…
Posted by primalcortex on October 27, 2009
My office sucks.
This is a real office: http://picsfromtheoffice.blogspot.com/
Flight simulator is nowhere near this…
Posted in 1 | Tagged: office | Leave a Comment »
Posted by primalcortex on October 27, 2009
Most developments and news area around the “cloud computing” phenomenon…
Ubuntu will have it: Ubuntu One, and there are a lot of players on the market, namely dropbox, skydrive to name a few.
While you can buy a lot of space on these “clouds” to make sure that you follow the backup paradigm 3-2-1 (three copies, two different media types, and one copy offsite), and use the cloud as the offsite backup for photographs, digital documents, and other small files, backing up AVCHD media into the cloud is not yet a sound proposition… Files are HUGE, in the GB area, and backing up into the cloud would take hours if not days…
So for this kind of critical files, I’ve not yet found a solution than copy them into a pen and move them offsite by “sneaker” net….
Posted in 1 | Tagged: backup, avchd, cloud | Leave a Comment »
Posted by primalcortex on October 19, 2009
After upgrading to KDE 4.3.2, digikam right pane stopped to show pictures thumbnails. So no pictures or thumbnails where shown, wich rended the program useless.
The solution was to install the latest Digikam compiled with the latest kde libs from here:
https://launchpad.net/~kubuntu-ppa/+archive/backports/+index?field.series_filter=jaunty&start=0&batch=75
Posted in Linux | Tagged: digikam, kde | Leave a Comment »
Posted by primalcortex on September 30, 2009
Why we should only free and open sourced software:
http://yro.slashdot.org/story/09/09/30/159232/Company-Uses-DMCA-To-Take-Down-Second-Hand-Software
You not own what you bought….
Posted in All about all, Geral | Leave a Comment »
Posted by primalcortex on September 24, 2009
I’ve just bought one of these ASUS monitor: the VH242H… It’s an huge amazing quality monitor, with all the needed requirements that I was seeking: HDMI for connecting my Canon Legria HF200 and integrated columns to clear desk space, and of course big screen…
I’m using Kubuntu 9.04, and it recognized the monitor and the resolution of 1920×1080 without any problem with the drivers 9.7 from ATI (64 bits). Sound is more than OK for my use, much better than I was thinking based on the net reviews…
At first, the image quality was not very convicing, but I’ve found out that the monitor comes with over sharpness. On the Sharpness menu it was set around 52 and so letters had this bright shadow on them. I’ve pull it down to 27, and it solved all the image quality problems. So no problems at all.
Recommended!
Posted in Geral | Tagged: asus, monitor | Leave a Comment »
Posted by primalcortex on September 21, 2009
Being an 100% Linux user, the software shipped with Canon HF200 is not useful for me because it’s Windows only. Anyway, I’ve tried Pixela Software, the shipped software on a virtual machine, and I wasn’t convinced…
So far on Linux there is a complete lack of tools for management the video files that are produced by this camera, namely the MTS file format, despite being able to play them with no problems, only with small quirks… Right now I’m using VLC, and the x.264 codec downloaded from the sources, not the one shipped with Kubuntu and the quality the video is more or less OK. The latest ATI drivers for my ATI 4870 also improved a lot the visualization of the video. Playing the MTS files on the WD TV works 100%, and the quality is superb.
So I can play the files in my computer, BUT for KDE 4.3 Dolphin, it has no support for thumbnails for MTS (M2TS) files… so I need to open each file to see wich are it’s contents… a painfull task.
It took me a while to solve more or less this issue. It’s not perfect, but it helps:
Using the latest ffmpeg, donwloaded from the sources, I can create JPG thumbnails related to the each MTS file. The idea came from here: http://johannesluderschmidt.de/?p=525
I’ve changed the script so that I can create AVCHD thumbnails:
#!/bin/bash
for FILENAME in *.MTS
do
if test -f “$FILENAME”; then
echo “Create thumbnail of $FILENAME”
ffmpeg -i “$FILENAME” -ss 00:00:01.00 -vcodec mjpeg -vframes 1 -an -f rawvideo -s 180×120 “$FILENAME”.jpg
#cp $FILENAME ~/test1/
else
echo “File $FILENAME not existing.”
fi
done
Save this file with a name like avchdthumb.sh, somewhere on your path, and make it executable with chmod +x avchdthumb.sh
Now you can go to your folder (folders) whre you have stored your MTS files, and just run the command like this for example: /home/primalcortex/tools/avchdthumb.sh
It will take a while, depending of the number of files and the your computer horsepower… I have an I7, so can’t complain…
At the end the result will be for each MTS file a new MTS.jpg file with the initial frame as the thumbnail.
Now I have an idea what’s in the MTS videos.
If thumbnails in video format are needed, like the first 10s, then this URLhttp://code.google.com/p/hdffxvrt/ will do the job. Just change the line for the resolutionof the HF200 to 1920×1080, and execute the script with: hdffxvrt thumb 0001.MTS. This will create a 10s clip in MOV format named 0001.MTS.mov.
This is a good as it gets. Now I’ll I need is Picasa in Linux to support AVCHD
Regarding the camera itself, when connecting through USB to the Kubuntu, there is no problems in detecting and accessing it through Dolphin, but it’s faster to use a SDHC card reader to copy the files. The camera can create thumbnails for the videos when connecting by USB, but in my case it failed to create ALL thumbnails… weird…
Posted in 1 | Tagged: avchd, canon, hf200, kubuntu, Linux | Leave a Comment »
Posted by primalcortex on September 11, 2009
NTFS-3G can consume 100%CPU when a virtual machine is running on an NTFS partition and/or external disk (my case).
With this issue, using Vmware and using a VM machine can be a slow experience when doing high IO operations inside the VM machine. For example trying to uncompress a large zip file on the VM machine, just makes the host 100% CPU on the NTFS-3g process.
To solve this issue, just shutdown the VM machine and add the following line to the vmx file with your favorite text editor:
mainMem.useNamedFile = “FALSE”
Problem solved.
Posted in Linux | Tagged: kubuntu, vmware | Leave a Comment »
Posted by primalcortex on August 3, 2009
Dicas para comprar uma casa nova.
1) Nunca compre uma casa nova com janelas de correr. São más a todos os níveis: insonorização, isolamento térmico, e já disse que eram más?. Estas janelas têm sempre folga de forma a poderem entrar no caixilho, daí terem todos os problemas acima descritos. Em casa mudei destas janelas para janelas oscilo-batente, e reduzi em 90% o consumo energético no Inverno para aquecer a casa… pois é…
Se tem janelas de correr esqueça, ou ponha no orçamento a mudança para umas Janelas a sério (sim com J maiúsculo)
2) Quartos para um lado, cozinha para o outro… A nossa cozinha e a cozinha dos vizinhos também… Veja a planta. Se um dos nossos quartos faz fronteira com a cozinha do vizinho, esqueça… Não há nada mais saudável do que alguém a lavar pratos às 2h da manhã…
3) Ar condicionado- Até agora no meio de tanta treta que ví de apartamentos de “luxo”, construcção “superior”, classe energética “A”, só um, e só um (!!!!!) tinha o ar condicionado devidamente bem montado em cima de cinoblocos de forma a reduzir/eliminar o ruído sonoro e vibratório…. mas encostado a uma parede do quarto…. Se a casa tem ar condicionado que esteja montado de preferência do lado oposto dos quartos, e os dos vizinhos também…
4) Áreas mortas: Não se deixe enganar com suítes de 25m2, quarto de 16m2, etc… Na maior parte dos casos a área do roupeiro e das casas de banhos estão incluídas, pelo que uma suíte de 25m2 é de repende um quarto de 13m2 de área REALMENTE útil….
Se está mesmo interessado no andar, peça a planta, e desenhe à escala a mobília, e vê logo o que pode meter ou não no quarto….
5) Localização: Apartamento de “luxo”, mas ao pé de uma avenida de grande tráfego, ou estádio de futebol… No primeiro caso até tem janelas oscilo-batentes com vidros duplo à prova de ruído, e bombas nucleares, mas não se podem abrir… senão ninguém se ouve dentro de casa. Estamos em casa, mas não podemos abrir as janelas… logo ar condicionado, lindo!!!
Ao pé do estádio de futebol, bem, só para fans… Pois temos estacionamento selvagem, pancadaria, barulho, etc…
Ao pé de vias rápidas, é para esquecer, barulho 24h por dia, com os fans do xuning que só dormem de dia… Uma das casas até tinha vidro triplo(!!!!!), mas não se pode abrir a janela…
Posted in All about all | Tagged: casa, compra | Leave a Comment »
Posted by primalcortex on August 3, 2009
Comprar casa em Portugal é uma aventura…
Antes de nos metermos em tal aventura é preciso saber em que nos vamos meter, e principalmente saber o que vamos comprar. Na maior parte dos caso, vamos comprar uma espelunca a preços de palácios… já que a maioria dos patos bravos, nem sabe o que anda a fazer… Mas adiante.
Antes de comprar é preciso determinar aquilo que estamos disposto a gastar e o esforço que pretendemos suportar contando com as subidas de taxas de juros, spreads e custos associados.
1ª regra) Definir dois tectos: um tecto de valor ideal e um tecto o qual nunca iremos ultrapassar em termos de valor. Não queremos passar o resto da nossa vida endividados…
2ª regra) Ao valor do primeiro tecto, temos de adicionar todos os custos que vamos suportar pela compra, ou seja o IMT, o valor das escrituras, os impostos de selo, etc. Se a soma destes valores ultrapassar o segundo tecto, é melhor baixar o valor do primeiro…
Por exemplo se quiser comprar um andar de 200 mil euros, na prática vou ter que desembolsar cerca de 220 mil euros com os impostos… Mas mesmo assim a maior parte das pessoas assina de cruz, porque acha que o andar é óptimo, e está em conta, mas depois com os impostos, a coisa fia mais fino, e de uma prestação de 500€ mês passam para uma de 600€…. porque se esqueceram dos impostos.
3ª regra: Nunca, mas nunca, compre um andar do qual não sabe qual é o valor patrimonial, ou pelo menos aproximado. Arrisca-se a uma supresa BRUTAL… (Há que diga que é roubo…)
Se o Valor Patrimonial do apartamento de 200 mil euros, for 200 mil euros, pelo menos em Lisboa significa que irá ter de pagar cerca de 1400 euros por ano em IMI… Ou seja o empréstimo de 500/600 euros já leva com mais 110 euros em cima por mês. Este imposto é insidioso porque só aparece duas vezes por ano, e lá se foi o subsídio de férias directamente para a Câmara (seja ela qual for).
Por isso informe-se muito bem:
Determine o factor base para o cálculo do Valor Patrimonial aqui: http://www.e-financas.gov.pt/SIGIMI/default.jsp
Calcule apróximadamente qual o valor patrimonial da habitação aqui: http://www.e-financas.gov.pt/SIGIMI/calculos.jsp?selTipPre=0&radFraPro=on&selTipAfe=2&txtValCons=609%2C00&txtCoeLoc=&txtIdade=&inpCQC=OUT&txtQuaConsOut=0&txtEstDefCons=0&txtLocOperRelAfecOutros=0&txtLocOperRelMin=0&txtAreBruPriFra=&txtAreTot=&txtAreTerIntFra=0&txtAreImpEdi=&txtAreBruDepFra=0&txtTotAreTerIntFra=0&txtPerFra=&inpEstado=
E veja quanto é que pagará de IMI aqui: http://www.millenniumbcp.pt/Simul/ContribuicaoAutarquica/ContribuicaoAutarquica.jhtml
Assustado?
Utilize os simuladores dos vários bancos para determinar o que pagará em termos de custos associados. Um bastante bom é o do banco BPI, embora os valores finais, impliquem que tenhamos comprado todo o tipo de produtos ao banco… Mas serve de exemplo.
4ª regra) Faça duas contas: Preço do andar a dividir pela área útil e Preço do andar a dividir pela área bruta (inclui arrecadações, varadas, estacionamentos, etc).
Tem um valor? Vá comparando com o que for vendo. Um andar mais barato em termos totais pode ser mais caro por m2…
5ª regra) Mesmo em tempo de crise, a maior parte dos constructores, está a contar com o ovo no dito cujo da Galinha. Assumem que os bancos emprestam a 50 anos de forma a cobrir os preços exorbitantes que pedem…
Azar. Não se deixe enganar. Se comprar um andar ao lado, mais pequeno 20m2, mas mais barato 50 mil euros, a diferença paga o IMI durante anos… Faça estas contas e fique a ganhar…
6ª regra) Siga o conselho que um constructor me deu. Se quer barato e bom, não é comigo é em Odivelas(???). O certo é que agora nunca lhe comprarei nada… Tal vai a arrogância…
Segue na parte 2…
Posted in All about all | Tagged: bancos, casa, imi, impostos, imt | Leave a Comment »
Posted by primalcortex on July 23, 2009
Good joke:
Windows Vista with Sp3 is the new windows 7. It’s a service pack that you pay for
Posted in Micro$oft | Tagged: joke | Leave a Comment »