pi=$(echo "scale=10; 4*a(1)" | bc -l)
ok; bc -l gives floating point value.
a(1) returns arc tangent of 1.
scale is the scable you assign to the bc.
how 4 * a(1) is pi?
This is O.R.Senthil Kumaran's blogspot on programming and technical things. The title is a line from "Zen of Python".
Patch How To
The command you need is:
# diff -ruP libsmbios-0.10.0_beta5 libsmbios-0.10.0_beta5_SENTHIL
Where the libsmbios-0.10.0_beta5_SENTHIL/ directory has your
modifications. Make sure that you run a "make distclean" in both
directories and look at the patch to ensure no stray files got in.
After this, go ahead and send it as an attachment. Doing the patch
inline is excellent for reviewing, but because of the line-wraps your
email client puts in, it is not possible to apply it this way.
--
Michael
# diff -ruP libsmbios-0.10.0_beta5 libsmbios-0.10.0_beta5_SENTHIL
Where the libsmbios-0.10.0_beta5_SENTHIL/ directory has your
modifications. Make sure that you run a "make distclean" in both
directories and look at the patch to ensure no stray files got in.
After this, go ahead and send it as an attachment. Doing the patch
inline is excellent for reviewing, but because of the line-wraps your
email client puts in, it is not possible to apply it this way.
--
Michael
getup to oo
"'Well, grok bugzilla / your personal collection of tricky MS files, find some scab and pick at it' he says. He continues, 'the first thing to do is to download the latest ooo-build, and build it yourself, then go over the My First Hack page. Be sure to pop onto IRC and ask for help."
using rdesktop
rdesktop seems a nifty tool.
To use it,invoke with the options:
rdesktop -u <user_name> -d <domain_name> -g <resolution> <windows_machine_hostname/ip>
I used resolution as 800x600. the -g option is a must I guess;I googled for usage of it, cause I could not figure out using it by running the tool, using --help,man etc..
rdesktop on your linux and Cygwin/X on your windows might make a nice handshake!
To use it,invoke with the options:
rdesktop -u <user_name> -d <domain_name> -g <resolution> <windows_machine_hostname/ip>
I used resolution as 800x600. the -g option is a must I guess;I googled for usage of it, cause I could not figure out using it by running the tool, using --help,man etc..
rdesktop on your linux and Cygwin/X on your windows might make a nice handshake!
talk to wumpus
Everying is talking about talk.
Check About talk by Right Clicking on the talk Icon in the windows panel.

Google Blogoscopednoticed something interesting there.
It reads: “play 23 21 13 16 21 19 . 7 1 13 5”.
Interesting.noticed these were all numbers that could represent letters from the alphabet (a = 1, b = 2, c = 3 and so on).
gives "play wumpus.game"
Felt very excited when I came to know about this. Tad tried with Wumpus sometime ago. Glad that Google has brought it back to spotlight!.
Wumpus Page has the C code as well. You can try it on your Linux/cygwin/windows(not sure) box.
GAIM does not seem to play wumpus.game on talk!
Check About talk by Right Clicking on the talk Icon in the windows panel.

Google Blogoscopednoticed something interesting there.
It reads: “play 23 21 13 16 21 19 . 7 1 13 5”.
Interesting.noticed these were all numbers that could represent letters from the alphabet (a = 1, b = 2, c = 3 and so on).
gives "play wumpus.game"
Felt very excited when I came to know about this. Tad tried with Wumpus sometime ago. Glad that Google has brought it back to spotlight!.
Wumpus Page has the C code as well. You can try it on your Linux/cygwin/windows(not sure) box.
GAIM does not seem to play wumpus.game on talk!
Subscribe to:
Posts (Atom)