Re: How do you calculate?

2010-05-20 Thread Oleg Goldshmidt
"Nadav Har'El" writes: > Or do you use bc? Does anyone actually use bc, which returns "0" as a result > for the calculation "2/3"? :-) Of course, you can use "scale=10" (or the -l > option to bc) to fix that, but how many first-time users would know that? > What posessed the person who decided to

Re: How do you calculate?

2010-05-20 Thread Omer Zak
On Thu, 2010-05-20 at 14:55 +0300, Nadav Har'El wrote: > Do you take out an actual physical calculator (which is of course ridiculous)? Not necessarily. I have a simple calculator, powered by photovoltaic cells. For simple additions and multiplications, I use it. It may be considered as an extra

Re: How do you calculate?

2010-05-20 Thread Ehud Karni
On Thu, 20 May 2010 14:55:23 Nadav Har'El wrote: > > For years, I've been wondering: How do other Unix or Linux users do simple > calculations? I use my Emacs package compute.el (www.t-e-k.biz/els/compute.el) for all computations. Since I'm doing everything through Emacs, it is just 1 keystroke (A

Re: How do you calculate?

2010-05-20 Thread Dov Grobgeld
Regarding doing approximate answers in the head, it doesn't always work as is told in an anecdote of the books about the late physists Richard Feynmann. It tells the story of how he used to brag that any arithmetic problem that could be stated in in ten seconds he could give an approximate answer u

Re: How do you calculate?

2010-05-20 Thread Gabor Szabo
On Thu, May 20, 2010 at 4:34 PM, Geoff Shang wrote: > On Thu, 20 May 2010, Nadav Har'El wrote: > >> For years, I've been wondering: How do other Unix or Linux users do simple >> calculations? > > I use `bc -l`.  I've been using it for so long now that I can't remember > exactly what clued me into

Re: How do you calculate?

2010-05-20 Thread Steve G.
Second the use of python, either 2/3. for decimal response, or use a variable an assign the result to it with the equal sign, then you can use it for more stuff later. On Thu, May 20, 2010 at 7:41 AM, shlomo bauer wrote: > Hi, > > Sammy is wondering (for years) how unix/linux users do simple cal

Re: ספרי קודש

2010-05-20 Thread Udi Finkelstein
I haven't tried this myself, but: http://code.google.com/p/toratemet/ Udi 2010/5/20 Elazar Leibovich > Not directly related, but just in case you didn't know, you can get many > Hebrew books via > http://www.hebrewbooks.org/ > > > On Tue, May 18, 2010 at 8:51 AM, Dotan Cohen wrote: > >> What s

How do you calculate?

2010-05-20 Thread shlomo bauer
Hi, Sammy is wondering (for years) how unix/linux users do simple calculations. Many people write their own calculator language - in the tradition of hoc. Anyone who actually enters in the code for hoc will discover something quite interesting. Other people use languages like Nickle (http://nic

Re: How do you calculate?

2010-05-20 Thread Geoff Shang
On Thu, 20 May 2010, Nadav Har'El wrote: For years, I've been wondering: How do other Unix or Linux users do simple calculations? I use `bc -l`. I've been using it for so long now that I can't remember exactly what clued me into needing `-l`, though I have a vague recollection of a friend o

Re: ספרי קודש

2010-05-20 Thread Elazar Leibovich
Not directly related, but just in case you didn't know, you can get many Hebrew books via http://www.hebrewbooks.org/ On Tue, May 18, 2010 at 8:51 AM, Dotan Cohen wrote: > What software do the list members recommend for Hebrew-language holy > books? I have looked at Sword and Bibletime, are ther

Re: How do you calculate?

2010-05-20 Thread Dov Grobgeld
Here are methods I've used during the years: - perldl in a shell - ipython in a shell - type in an arithmetic expression into google - Use (/ 199.0 2.0)[control u][control x][control e] in emacs - command line with "perl -e 'print 199/2,"\n"' - created several (because I forgot w

Re: How do you calculate?

2010-05-20 Thread Shachar Shemesh
Ori Idan wrote: I mostly use grpn which emulates a RPN calculator, I am used to the RPN system from old HP calculators. I decided to give it a try (I used to own an hp 48). First thing I said after doing the basic arithmetics was "it has no hexadecimal mode!". I decided to try typing "hex".

Re: How do you calculate?

2010-05-20 Thread guy keren
Nadav Har'El wrote: For years, I've been wondering: How do other Unix or Linux users do simple calculations? Do you take out an actual physical calculator (which is of course ridiculous)? Do you use software that looks like a physical calculator (xcalc, kcalc, etc.)? Or do you use bc? Does anyo

Re: How do you calculate?

2010-05-20 Thread Shlomi Fish
On Thursday 20 May 2010 14:55:23 Nadav Har'El wrote: > For years, I've been wondering: How do other Unix or Linux users do simple > calculations? > > Do you take out an actual physical calculator (which is of course > ridiculous)? Do you use software that looks like a physical calculator > (xcalc,

Re: How do you calculate?

2010-05-20 Thread Ely Levy
Just run bc -l Also python is pretty nice for basic math. Ely 2010/5/20 Orna Agmon Ben-Yehuda > > > On Thu, May 20, 2010 at 2:55 PM, Nadav Har'El wrote: > >> For years, I've been wondering: How do other Unix or Linux users do simple >> calculations? >> >> Do you take out an actual physical calc

Re: How do you calculate?

2010-05-20 Thread Ori Idan
I mostly use grpn which emulates a RPN calculator, I am used to the RPN system from old HP calculators. -- Ori Idan On Thu, May 20, 2010 at 3:07 PM, Baruch Siach wrote: > On Thu, May 20, 2010 at 02:55:23PM +0300, Nadav Har'El wrote: > > For years, I've been wondering: How do other Unix or Lin

Re: How do you calculate?

2010-05-20 Thread Amos Shapira
On 20 May 2010 21:55, Nadav Har'El wrote: > So I was wondering - how come there isn't more pressure on the Linux > distributions to include a decent and convenient calculator language? > Or do people consider what is available decent enough already? "bc -l" is my own fingers' version for "pull ou

Re: How do you calculate?

2010-05-20 Thread shimi
On Thu, May 20, 2010 at 2:55 PM, Nadav Har'El wrote: > For years, I've been wondering: How do other Unix or Linux users do simple > calculations? > > Do you take out an actual physical calculator (which is of course > ridiculous)? > Do you use software that looks like a physical calculator (xcalc,

Re: How do you calculate?

2010-05-20 Thread Orna Agmon Ben-Yehuda
On Thu, May 20, 2010 at 2:55 PM, Nadav Har'El wrote: > For years, I've been wondering: How do other Unix or Linux users do simple > calculations? > > Do you take out an actual physical calculator (which is of course > ridiculous)? > Do you use software that looks like a physical calculator (xcalc,

Re: How do you calculate?

2010-05-20 Thread Baruch Siach
On Thu, May 20, 2010 at 02:55:23PM +0300, Nadav Har'El wrote: > For years, I've been wondering: How do other Unix or Linux users do simple > calculations? [snip] > So I was wondering - how come there isn't more pressure on the Linux > distributions to include a decent and convenient calculator la

Re: How do you calculate?

2010-05-20 Thread sammy ominsky
On 20/05/2010, at 14:55, Nadav Har'El wrote: > For years, I've been wondering: How do other Unix or Linux users do simple > calculations? > > Do you take out an actual physical calculator (which is of course ridiculous)? > Do you use software that looks like a physical calculator (xcalc, kcalc,

How do you calculate?

2010-05-20 Thread Nadav Har'El
For years, I've been wondering: How do other Unix or Linux users do simple calculations? Do you take out an actual physical calculator (which is of course ridiculous)? Do you use software that looks like a physical calculator (xcalc, kcalc, etc.)? Or do you use bc? Does anyone actually use bc, wh