Wednesday, August 30, 2006

Fairuse4wm

The Microsoft technology which restricts the use of the music on your computer was cracked: thanks to the free software FairUse4WM. I remind you that when you buy music on Napster, you cannot copy it freely, this restriction is due to a DRM (DIGITAL Rights Management). But the FairUse4WM software makes it possible to make away this protection only if your DRM reside in separated files… Some among us have an unlimited subscription of music (for a fixed bill per month, you can download music as much as you want), the music thus downloaded were protected by the DRM but with FairUse4WM, this will be several Go of music who will be soon on the Internet. Here to Download

SpiralFrog

This is a name about which we will probably speak a long time: SpiralFrog. This site is going to propose free music… Finally almost, the economic model of SpiralFrog is that you will be able to download or to listen to music but you will have to watch a lot of ads. A music on ITunes cost a little less than one dollar, that means that for each listened music, it will be necessary that advertisers paid at least 1 dollar… that will make of it advertizing of the popups and other unbearable tricks! But here is the problem, many browsers, in particular Firefox (moreover if it is only about visual ads, I remind to you that tabs will enable you to mask the advertizing while listening to the music), allow to filter this kind of ads… Will SpiralFrog then be directed towards a model requiring a interaction with the user of the kind: 3clicks on the button, returns the visual code that I show you and I pass from there"… There you will quickly be sick of all that. ; Me personally I want to see, I do not say that the economic model based on ads is not possible (it works very very well for Google) but it is risky… To follow with much attention…

Monday, August 28, 2006

Linux:: Blender and "Elephants Dream"

You probably know Google Video: this is an excellent animation film you can find on Google Video: Elephants Dreams




What is at stake with this small cartoon is that it was entirely created with free software: like Blender… Thus if you feel the heart of Tim Burton, enjoy Blender.
Regarding Elephants Dream, my opinion is that all the machine is in the head of the young person and that the old man is there to only try to maintain this beautiful machine. In fact he know that it can be realized only by maintaining the young person in the belief of the machine… If you have divergent opinions: leave a post; -)

Linux:: Perl and XML

I am learning Perl and its ability with XML,. Because the structure of my domcument is not too hard, I use:

use XML::Simple;
What I want is to generate an xml output. But it means I need to undestand how to create a Perl structure which can be translate in the XML I want... To do that, I make "reverse engineering" by using this simple script:


#!/usr/bin/perl
use XML::Simple;
use Data::Dumper;

my $xs = new XML::Simple(keeproot => 1,searchpath => ".",
forcearray => 1, keyattr => [key, tag]);
my $ref = $xs->XMLin("point.xml");
my $xml = $xs->XMLout($ref);
print "\nHash dump with 'keyattr => [key, tag]':\n";
print Dumper($ref);

print "\nXML output with 'keyattr => [key, tag]':\n";
print $xml;
exit;

Sunday, August 27, 2006

Linux:: Firelight an essential tool

You have probably already been in the situation where your hard disk is almost full and you can do nothing… Certainly… Or that will arrive to you soon… Or you are doubtless a maniac; -)
For the normal people: the problem which installation is to find which are the files which take too much place on the disc and if they are not important, to remove them if possible. It is quite tiresome to try to use the df, du and others ls -l. A solution more user-friendly consists of the Firelight software. Here some screenshots:
my general tree structure with all my partitions:
my /home repertory:
my repertory .kde, where it is noted that I have really many friends who write to me much… Not I laugh: a geek does not have friends, only ordis; -) While giving you a visual representation and extrèmement coloured your Firelight files will facilitate the life to you

Saturday, August 26, 2006

Linux:: Firefox and its extensions

If as me you use Linux and surf all the time, you will have surely notice that it is sometimes difficult to read some multi-media contents on Internet, as regards Flash No problem: it is enough to install the good plugin (you are automatically redirected towards him ; -)) on the other hand if you want like me to look at the news and that the plugin mplayer does not want to work here an extension which will return you one crowned service: MediaPlayerConnectivity. It enables you to open any contents (primarily multi-media flows) in an external application: Mplayer, Kaffeine, VLC… Another quite useful extension is fasterfox which enables you to accelerate the loading of the pages by maintaining a mask and by multiplying the requests. If as me you have beagle which turns constantly and which you do not like to leave too many prints on Internet and to keep your anonymity: instead of using the personalized search for Google, you can use Beagle To index which keeps in memory the sites on which you surf and those only for you… more problem of escapes of information such as it arrived or could arrive with Google, Yahoo, AOL and the others… Finally Blogger Web Comments which enables you to see what others wrote on the Web page that you are seeing, a must for all the bloggers, an essential tool to discover the blogosphere

Wednesday, August 23, 2006

Linux:: Xorg and Ati

I am using debian, the sid version and I have just upgrade... But it seems that there is a big issue with the new version of Xorg. When I try to launch the X server, it complains that the module ABI (0) doesn't match the server's version (1) . and after that it explained that it is unable to load the module ati. So now, I have no more Xserver: I have to do everything with the command line... Enjoy Linux Power

Monday, August 21, 2006

Linux:: Virtualization VmWare

I will speak to you about virtualisation but in an other field this time: virtual machines. It is not any more question this time of avatars and other tales of the Web. It is about true life and productivity… I have just learned that VmWare has just put its VmWare Server in free download. Qemu has to be very careful now. It could be well indeed that the availability of this tool makes it possible a number of Linux to be equipped out of virtual machines without all the annoyances and parameters with the command line, which Qemu requires. Either Qemu evolves/moves quickly and is provided quickly with a GUI of quality while on a certain ease of use while guaranteeing a perfect stability or Qemu will disappear with the profit from VmWare. I also think that VmWare saw the threat of the new technologies as Xen, bootcamp and Intel Duo Core…

IMVU

One more step in the virtualization of the human interaction: IMVU. We already know second world with its crazy stuff, but here if the site doen't lie it can be very exciting
From the site:
  1. Create yourself in 3D Imvu avatars are good looking, alive and fully 3D. Create your own unique look from 100,000s of clothes, hairstyles & accessories.
  2. Meet new friends online7512 people are using IMVU right now, 3D avatar chat is a safe and fun way to meet new friends from around the world.
  3. Have fun on IMVU IMVU is a community of people who love creativity, conversation and making friends. IMVU is packed with fun ways to express yourself.
I will try and post some pictures of my avatar ;-)

Is Amazon having a serious problem?

It seems that some hours ago, Amazon.com was down. Yes yes yes, you have well read: The site Amazon.com was down. It is amazing that such a big site like Amazon with probably a lot of servers can be down. The proof with a picture as always:

if you have any clue of what happend please let me a message

Farecast (beta)

If you want to travel by plane from one of the 50 biggest cities of USA to another: try this new site . It is called Farecast and permit you to see the evolution of the price for a ticket... You can see for example that for a fly from NY to LA, you can pay twice the price between july and august... But it not the best point of this site, in fact this site give you orevision of the future of the evolution of price: That is clever!

Sunday, August 20, 2006

Google Mail

Is it me or is there change on Gmail. I created an address, but the extension was not more @gmail.com but @googlemail.com. What does it mean?
The proof with a picture:
does it mean that you can write to me by using the two adresses? the one with gmail.com and the other with googlemail.com?

A new skin is born

As you can notice, this is my new skin. Two things regarding this new skin:
  1. if you have any question like how to ...? Comment this post and I will respond to you
  2. if you have any suggestions or comment to do like colors are bad, to small... idem as the previous let me know with a comment.
Enjoy my new skin ;-)

My new skin

Have you noticed that default skins of Blogger are really poor, and not well looking. That 's why I created a new skin: this is a part of it:

Linux:: Qemu and the mouse

I had problems where the mouse would stick at the bottom right-hand corner, becoming unusable. A solution to this is before you run qemu, type in your terminal this command:

export SDL_VIDEO_X11_DGAMOUSE=0

Now you can play with your virtual machines

Linux:: Yakuake

Do you know this tool? I have used it a long time now and it is totally amazing. I have never to use again konsole. Only press F12 and you have your Terminal:
you can configure its height, its weight, you can have several terminal in the same time. This is very useful: I recommend it to any geek

Saturday, August 19, 2006

My preferred poem

If

If you can keep your head when all about you
Are losing theirs and blaming it on you;
If you can trust yourself when all men doubt you,
But make allowance for their doubting too;
If you can wait and not be tired by waiting,
Or, being lied about, don't deal in lies,
Or, being hated, don't give way to hating,
And yet don't look too good, nor talk too wise;

If you can dream - and not make dreams your master;
If you can think - and not make thoughts your aim;
If you can meet with triumph and disaster
And treat those two imposters just the same;
If you can bear to hear the truth you've spoken
Twisted by knaves to make a trap for fools,
Or watch the things you gave your life to broken,
And stoop and build 'em up with wornout tools;

If you can make one heap of all your winnings
And risk it on one turn of pitch-and-toss,
And lose, and start again at your beginnings
And never breath a word about your loss;
If you can force your heart and nerve and sinew
To serve your turn long after they are gone,
And so hold on when there is nothing in you
Except the Will which says to them: "Hold on";

If you can talk with crowds and keep your virtue,
Or walk with kings - nor lose the common touch;
If neither foes nor loving friends can hurt you;
If all men count with you, but none too much;
If you can fill the unforgiving minute
With sixty seconds' worth of distance run -
Yours is the Earth and everything that's in it,
And - which is more - you'll be a Man my son!


Rudyard KIPLING

Thursday, August 10, 2006

Linux:: AWK

Imagine that you have an huge, huge file, organized with columns, like that:


Class Top_Searches Num_Search

1. Heathrow 34521
2. Meebo 34478
3. Buffett and Hezbollah 23442
4. London 21354
5. Lieberman 16532
6. Lebanon 15342
7. Icalendar 15234
8. Israel 12345
9. Video 9877
10. Terror 8532
11. Deceit Beyond 5679
12. Adnan Hajj 4568
13. Apple 3467
14. Terrorism 2345
15. Terror Plot 2123

If you want only to displays the first and third columns, it seems impossible... Actually, only for a windows user, because Linux or Unix
have a powerful tool to manipulate those file. One year ago, my girl friend had a huge huge file, a bit like that for
a study about obesity, she tried to opened it with excel... But excel freezed becquse the file was too big... So she asked me
for a solution: I did all she wanted only by using command line tools and espescially awk! So now some example to measure the
power of awk. The awk command is as you have already probably understood a power pattern matching language that allows you to modify input lines by manipulating the fields they contain.



$ awk '{print}' file.txt

This has the same result as $ cat file.txt, it displays all the content of the file


$ awk '\toto\' file.txt

This has the same result as $ grep Heathrow file.txt, it displays only line which content the word Heathrow.


$ awk '\Lieberman\ {print $5,$7,$12}' file.txt

It only displays columns 5, 7 and 12 of line containing "Lieberman"


$ awk '{if ($3 <>

It displays columns 3 and 7 if the key 3 is less than 2000.


$ awk -F":" '{ print $3 "\t" $1 }' /etc/passwd |sort -g

Display user by increasing userid. Notice that if you want to print a tabulation you've to use \t, idem if you want print a new line, use \n.


$ awk -F"\t" '{ print $4 "\t" $10 }' file.txt

You can specified the separator with the command -F"\t" (notice that tabulation and space are the default one)

And this is only the beginning with some file, where you use a end line to separate data and a some sign like @ to separate
a group of data,
you can use awk to retrieve some informations:

$ awk ' BEGIN { RS="^"; FS="\n" } /London/ ' file.txt

This kind of command permit you to process file like this one:


^London
Airport: Heathrow
Bus: First

^Paris
Airport: Charles de Gaulle
Bus: RATP

Incredible isn't it. Some other links to improve your "awk" skills:

A Guided Tour Of Awk

The GNU Awk User's Guide

Getting started with awk

How to Use AWK

UNIX Utilities - awk

Awk Tutorial

Awk and shell

DMOZ

Introduction to akw

Awk et bash

IBM developer's work

String manipulations

AWK: The Linux Administrators' Wisdom Kit

Introduction to (g)awk

Gawk Chapter 1


Wednesday, August 09, 2006

Policy:: Who is Joe Lieberman?

Joseph Isadore Lieberman (1942 -) is an American politician, democratic senator of Connecticut to the Congress of the United States and former democratic candidate with the vice-presidency of the United States in 2000 . Joe Lieberman carried out studies of right to the University of Yale.He was elected in 1970 with the Senate of the State of Connecticut where he stayed 10 years, including 6 years (1974-1980) like majority leader, i.e. directing democrats for the Senate of the State. In 1980, he took again the lawyer trade before becoming Attorney General (Minister for Justice) of Connecticut in 1983. In 1988, he was elected Senator of Connecticut to the federal Congress, then re-elected in 1994 and 2000 with vast majorities. Joseph Lieberman belongs to the preserving wing of the democratic party. Sometimes he is qualified DINO, in spite of ideas progressists with regard to the civil laws and the environment. Thus, in 1998, during the Lewinsky business, he vigorously criticized the behavior of President Bill Clinton, who however belongs to his party. It is his standpoint which will make it indicate by the democratic candidate with the presidential election of 2000, Al Gore, like fellow candidate, in order to dissociate escapades of the Clinton years. First Jew candidate on the ticket of one of the two great American parties, Lieberman is an asset for Gore, but insufficient however to arrive at the White House. To the Senate after this failure, it is back one of most constant and firm democratic supports with the policy of president George W. Bush in his decisions concerning the war in Afghanistan and the war in Iraq. He became thereafter one of the firmest adversaries of an immediate withdrawal of the American troops of Iraq.Representing a preserving vision that some consider the best to overcome George W. Bush, it decides to launch out in the presidential race to the democratic primary educations after having obtained the certainty that Al Gore will not be again candidate. After a beginning of countryside encouraging, it obtains however scores disappointing in New Hampshire and Maryland, which leads it to give up. Although democrat, Joe Lieberman was one of the candidates had a presentiment of to obtain the very important ministry for interior safety (Department of Homeland Security) for the second mandate of the Bush administration. The station was finally obtained by Michael Chertoff. After its first speech of the Union of its second mandate in 2005, George W. Bush publicly thanked Lieberman for her constant support by a north wind on the cheek of the senator of Connecticut. The photograph of this “kiss” became one year later the first weapon of countryside of its adversaries within the democratic party at the time of its countryside to obtain the nomination of the party for the senatorial elections of November 2006. Thus his refusal to question the government on the prison of Abou Ghraïb and, especially, his approval of the policies of the administration of George W. Bush, and the war in Iraq are reproached to him within a coalition aiming to prevent it from being again democratic candidate at the post of senator of Connecticut. Supported by principal the blogs American “progressists”, whose DailyKos and Atrios, Ned Lamont, a businessman of Connecticut, presented himself then against him, like candidate anti-war, at the time of the countryside of the primary educations. Qualifying Joe Lieberman of “pom-pom girl” or “doggie” of president Bush, Lamont was going to carry out an unexpected opening in the surveys putting in danger the nomination of the senator. During this rough and heinous program where Lieberman is qualified by his adversaries blogueurs of traitor, liar, political reject, unfair asshole, embrassor of Bush, it declares, bitter, in July 2006 that if the voters of the democratic Party had suddenly considered that it was not worthy any more to represent them, it would not include/understand then where would position the democratic party (on the American political chess-board), criticizing the drift on the left party consequence according to him of the pressures of the founder of DailyKos. It is as in this climate as the former candidate with presidential of 2004, John Kerry, refuses to support it, even in the case of its victory with the primary educations, and that Hillary Clinton takes its distances. In spite of the support, as for him supported, of Bill Clinton, Joseph Lieberman is beaten on August 8, 2006, with 48% of the voices against 52% with Lamont. Popular among voters independent and republican of Connecticut, Joseph Lieberman then ensured to want nevertheless to present itself as a candidate independent at the elections of November 2006. Its hopes rest on surveys which would give it victorious vis-a-vis Lamont and to the republican challenger.
The future will tell us what will happen

Linux:: join

How to join files, which have a common key?
Example :

File t1 :


Row Search Number_Hit
1. Lieberman 60853
2. Adnan Hajj 40642
3. Icalendar 30674
4. Meebo 26389
5. Lamont 26321
6. Buffett 25321
7. Video 19532
8. Aol Search 18344
9. Lebanon 16532
10. Israel 15342
11. Wwdc 11453
12. Cynthia 10567
13. McKinney 9674
14. Ned Lamont 8334
15. Photo 7653

File t2 :

Row Tags
1. Israel
2. Lebanon
3. War
4. Hezbollah
5. lieberman
5. Microsoft
6. leberman
7. AOL
8. ned lamont
9. wordpress
10. Windows
11. Iraq
12. Sex
13. Bush
14. Middle
To compare and join the key 2 of the file 1 (this is the signification of the argument -1 2)
with the key 1 of the file 2.

$ join -1 1 -2 1 techno_1 techno_2

Row Search Number_Hit Tags
1. Lieberman 60853 Israel
2. Adnan Hajj 40642 Lebanon
3. Icalendar 30674 War
4. Meebo 26389 Hezbollah
5. Lamont 26321 lieberman
5. Lamont 26321 Microsoft
6. Buffett 25321 leberman
7. Video 19532 AOL
8. Aol Search 18344 ned lamont
9. Lebanon 16532 wordpress
10. Israel 15342 Windows
11. Wwdc 11453 Iraq
12. Cynthia 10567 Sex
13. McKinney 9674 Bush
14. Ned Lamont 8334 Middle
Interesting isn'it?
I hope it could help you, in fact this is not the best example, I know but if you were seqrching how to concatenate two files this is the tool you need, and I've just give you the syntax. I hope it will be helpful

Monday, August 07, 2006

Linux:: Presentation of the command SORT

You want to write some shell script, this link should teach you everything you should know

Let me introduce you to a fabulous tool: sort. Just an example of marvelous things you can do by using it:
Let be the file techno.txt


1 £.34 Adnan Hajj
2 £.45 Wwdc
3 £.35 Reuters
4 £.10 Lebanon
5 £.500 Apple
6 £.39 Aol Data
7 £.1 Mel Gibson
8 £.1000 Israel
9 £.27 Video
10 £.3 Intimations of Recession
11 £.67 Lollapalooza
12 £.345 Erik
13 £.675 Wordcamp
14 £.876 Flavor of Love
15 £.56 Joe Francis


Sort price:

$ sort -n -t. -k2 techno.txt


7 £.1 Mel Gibson
10 £.3 Intimations of Recession
4 £.10 Lebanon
9 £.27 Video
1 £.34 Adnan Hajj
3 £.35 Reuters
6 £.39 Aol Data
2 £.45 Wwdc
15 £.56 Joe Francis
11 £.67 Lollapalooza
12 £.345 Erik
5 £.500 Apple
13 £.675 Wordcamp
14 £.876 Flavor of Love
8 £.1000 Israel

Now a quick explaination of the syntax:

-n numerical
-t. separator: the dot
-k key

It's enough for today, play with it create your own files, if you have a problem let me know I will be glad to help you

Linux:: How to become a Linux Guru

Start reading those documentations, they are very useful, even if you use an Ubuntu or another distribution, which hide all the possibilities of a Linux... Ready?
Introduction to Linux
To understand what a process is
A lot of information, a treasurebut made in France
How to install a Mandriva(english)
Linux Newbie Administrator Guide
Linux shorcuts and commands
The Linux documentation Project
The diary of a linux newbie
Tips and Tricks for Linux(french)
Installation of a Debian system(french)
Network: NAT(the best explanation I have ever found)
Peter Scott's Unix, Linux and X Notes
Teach yourself HTML, XHTML, SQL, XML
Tips for Mandriva Linux

First Post

What can I say, except let's go