Archive for October, 2009

Converting Video formats

Monday, October 26th, 2009

The one problem i face with VMWare Workstation is there video format, try using that in in Adobe Premier CS4 and you will get a black screen with the moving parts only visible.

Well, i know H246 only stores the changed parts of the screen and how it works, but basically, this is not a standard H246 file (Like the ones in MP4, FLV, MOV), but rather VMWare specific (VMNC ), Anyway, here is a procedure that should save your day, i will convert VMWare Video into MPEG.

1- Download the VMWare ” VMware Workstation Movie Decoder Utility” and install it, this is a DirectShow filter, Even if you have the workstation software on the very PC in question, this is good just in case some other codec or codecpack decided to overwrite your codec

2- A nice tool i use to check what filter goes for what file is dsdetective_setup.exe, Free as well, so get it and inspect your video coders/decoders

3- Get mediacoder.sourceforge.net, Free GPL video converter and install it, get the FULL version not a sub version

Now drag your VMWare video file into the program, right click it and chose an output file, make sure (In the right window) that it reads (VMNC) beside the word video, and hit the Start button.

All the tools above are FREE

Enjoy

IQ tests are bullshit, take it from a high IQ guy

Friday, October 23rd, 2009

I can’t beleive i have taken such a bullshit test (With an online provider, Not free)…. and felt good about a result that i know tells me nothing, it simply tells me that i have no cognitive retardation, but i assure you it says nothing about smarts, i can use your own common sense against you if you want to argue on this.

If you want to argue that i am stupid and i don’t know what i am saying, i got 140 so i am smarter than you (On your scale) are and therefore you are the one who does not know what he/she is saying :)

Let me start with me as an example because i know that i am smart but no Einstein (Or Stephen Hawking) !

Let’s start with “This test says Einstein is 160″ and i am 140, what the hell are you talking about ? if einstein is 160 i am at best 60, my brain is close to exploding when i try to make more sense of some of his theories, surely, the guy that can immagine this much is NOT in the same category as me and is far far more inteligent than i am, and i assure you Stephen Hawking is also not just a tad smarter than i am.

Want more, let’s see, Hillary Clinton and Shakira share the same IQ of 140, Quentin Tarantino a movie director is a 160, he is a school dropout, that may not mean he is not smart, but sharing IQ with the MC^2 guy, you can not be serious, Dolph Lundgren (Actor) is also a 160, he may look smarter than Stephen Hawking but do you find that convincing…

Sharon Stone is over 148 (mensa minimum) ? What…

Let’s look at it this way, as you can see here i get by with the English language, but the test relies so much on my english vocabulary, so if i met emad yesterday, and he told me a word i don’t know, and it pops up in the exam, i am smarter by a point or two ? What if i spoke Chinese and french, i am not so smart ?

At the end of the day, IQ tests are bull in my oppinion… Don’t take an IQ test, you may be very smart and this misleading thing can put you down, or you can be like me and bully your friends with your score, ending arguments arrogantly and looking at people as if they know nothing, Although the test “Says” i am smart, taking it seriously makes me an idiot….

NOTE, the news that a 2 year old kid got the same IQ as Einstein made me take the exam, then i found out that the exam is divided into age groups, but it is still bullshit…. NOTE: It does say that the kid is smart (Oscar Wrigley), but i would not take it as a sign of a new Einstein just yet.

Always use a nameserver with your TLD

Monday, October 19th, 2009

It appears that using a nameserver with a host name on the same TLD as your own is fastest, this may seem like hocus pocus, but computers are a strict discipline and therefore i need to explain, i can’t give you statistical evidence, this is not biology.

So, why is it so ?

Assuming your website is example.com you are advised to use nameservers such as ns1.host.com, if your domain name is example.cc, you are advised to use a nameserver such as ns1.host.cc , surely this is not an option to those of you using shared hosting, but i am talking about those who run there own nameservers for one high traffic website.

Unless you have the namserver host with the same TLD, Verisign in the case of most generic TLDs (And the .CC) will not pass the GLUE records with the namserver host address, this will result in a few milliseconds lost in fetching the A record of the namservers.

The reason behind this is probably that every TLD has it’s own database, and queries to that database do not cross over and get data from a different database, it passes the task of checking the A record to your recursive resolver. Or maybe it does not want to answer authoritatively for a different TLD hostname to not cause confusion

So, having your domain and the namserver on the same TLD makes a slight difference with every query, surely, $7.5/Year to save all the extra requests coming your way, and saving every visitor a few milliseconds (Or a few hundred milliseconds in some cases) is not such a bad idea, Or tell you what, why would you need to buy more domains, just register your nameservers on your own domain, so example.com uses ns1.example.com and ns2.example.com and you are done.

Happy DNSing

Query safely

I have included the explination of what Glue record are here

Linksys WMP54G on debian lenny

Monday, October 12th, 2009

Although the driver ships with lenny, you need to download the firmware, the firmware does not ship with lenny as the license, allthough free to use, is not free in the Debian sense, you can not reverse engineer it, and that is not what debian considers free….

So what to do, when i visit the website for the file (  http://www.ralinktech.com.tw/data/RT61_Firmware_V1.2.zip ), the website returns a 404 not found !

The requested URL /data/RT61_Firmware_V1.2.zip was not found on this server.

So what you can do is the following

1- Edit /etc/apt/sources.list

Add a line such asthis one (Change the mirror if you like by changing US)

deb http://ftp.us.debian.org/debian/ lenny main non-free

Open synaptic t (or use aptitude or apt-get)

Update the package list (In my case apt-get update) then Install

firmware-ralink

You should be good to go, clicking on the network icon in the top right corner of the screen should show you wireless networks, and once connected to them, the command

ifconfig wlan0

should show you the expected information.

Happy wireless networking