topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 5:50 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: FARR Plugin: FCalc v1.12 (Mar 25, 2015)  (Read 117037 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
FARR Plugin: FCalc v1.12 (Mar 25, 2015)
« on: June 05, 2007, 10:53 AM »
Anyone who uses the calc alias in FARR may soon become quite happy.
The new FCalc plugin for FARR shows off some features of the new FARR plugin system:

  • Live updating of calculation as you type
  • Ability to set and use variables (persistant across runs!)
  • History Tape display (shows past calculations)

Screenshot - 6_5_2007 , 10_52_46 AM.png

To install, use the dcupdater, OR grab from here and unpack into your FARR Plugins directory: https://www.donation...dons/FCalc/FCalc.zip
« Last Edit: March 25, 2015, 05:35 AM by mouser »

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #1 on: June 05, 2007, 11:31 AM »
a cool one, mouser.. :Thmbsup: looks sturdier than the alias version.. where is the d/l link? :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #2 on: June 05, 2007, 11:37 AM »
download will be in next alpha update today.

steeladept

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,061
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #3 on: June 05, 2007, 12:14 PM »
So, will this also do TVM calculations?  (Time Value of Money for those who don't know). 

I am starting the programming challenges (Java first, since I understand it best for now), and for the first assignment, I am extending the engine from the simple calculations required into a TVM calculator.  These are GREAT devices to help you figure out all kinds of things from your income from a savings account to the exact cost of a financed car to the expected return on investments.  When I finish it, Mouser, you will see the code that makes it happen (if you don't already have it) ...perhaps that will be easy enough to port over into the FCalc plugin as well?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #4 on: June 05, 2007, 12:30 PM »
it's quite easy for me to add new functions to the fcalc parser engine (it uses muParser, http://muparser.sourceforge.net).

The code for fcalc plugin will be released, so i or others could easily add new functions to the calculation engine.

steeladept

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,061
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #5 on: June 05, 2007, 01:04 PM »
Very cool...

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #6 on: June 05, 2007, 02:40 PM »
it's now available in the latest farr topsecret hyper alpha.  email me ([email protected]) for download link if you don't already have it.  hope you like it!  ps. expect new far releases frequently this week as i try to get to public beta status.  and please email or post any reminders of bugs i haven't fixed yet, i really want to get everything working well enough this week to release.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #7 on: June 05, 2007, 02:41 PM »
fcalc tips:
you can edit your history and variables from the advanced options
you can clear history and variables with: fc `
you can use the last result calculated by using the "last value" variable: lv

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 560
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #8 on: June 05, 2007, 03:42 PM »
Great plugin !
 :Thmbsup:

is there a tip to copy the last value to the clipboard ?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #9 on: June 05, 2007, 04:17 PM »
oh, great idea, i'll add an option in adv config dialog to do that when you hit enter.  good idea!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #10 on: June 05, 2007, 04:17 PM »
ps im glad you like it -- it's really only fun to do this coding if it makes people happy  :Thmbsup:

cnewtonne

  • Honorary Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 117
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #11 on: June 05, 2007, 08:34 PM »
Mouser,

your coding ability amazes the hick out of me. You probably write c++ as spontaneously as we speak English if not better. I would pay a million dollar to have your knowledge transplanted in my brain.
You must've also inherited a million dollar to have you do all this work of managing the site and writing code voluntarily and on donation basis.
If you ever decide to write your diaries, please let me know. I will be the first one to read them.

Thanks for brightening our lives with your ingenuity

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #12 on: June 05, 2007, 08:40 PM »
You must've also inherited a million dollar to have you do all this work of managing the site and writing code voluntarily and on donation basis.

hahahahahhahahahahahaahah
that would be funnier if the truth weren't so sad.

if i inherited a million dollars, i would pay off my student loans and truly be able to spent all of my time developing free software. right now i'm just basically treading water.  i should write up a little description of what DC could do with a million dollar gift, when i think off all the good stuff we could do, compared with the daily press releases about companies buying each other for hundred of millions, you can understand why i get kind of cynical and grumpy.

i've just come to accept that i'm going to spend a huge chunk of my time coding this stuff no matter what, and the support from everyone on this site at least keeps me from drowning :)
« Last Edit: June 05, 2007, 08:42 PM by mouser »

Josh

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Points: 45
  • Posts: 3,411
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #13 on: June 05, 2007, 08:57 PM »
You fail to realize, mouser is the collaboration of the entire linux community to write an AI bot that can run a website, code applications, chat on irc, and have a REAL LIFE meeting amongst website users where his robot self is represented, all coded in perl/cobol. Isnt it amazing?

housetier wont tell you this, but this is what really happens when you donate to an open source project or linux distro. The money is going to test the feasibility of donation based projects.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #14 on: June 05, 2007, 09:21 PM »
 ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #15 on: June 07, 2007, 11:14 PM »
mouser, a small request.. how about allowing +ve sign at the beginning of calculations? it's just a habit of mine after all those numbers grinding in excel.. :) currently it returns an error..

+65 = [ERR: Unexpected operator "+" found at position 0]

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #16 on: June 08, 2007, 07:11 AM »
lanux, i'm not quite sure what you are asking me to do.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #17 on: June 09, 2007, 03:51 AM »
maybe a screenshot would be clearer.. the plus sign at the beginning of the expression is returning an error, it would be nice if it didn't.. ;)

ws-Farr-calc-error.png

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #18 on: June 09, 2007, 08:07 AM »
ok done, it will be in next version.
i also added something which i hope wont confuse things, which is that if you just type
+X or -X or *X or /X
then it will actually behave as if you had typed
lv+X or lv-X or lv*X or lv/X

so that you can easily add a sum of numbers for example by just typing
100
+10
+5
+240
etc...

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 560
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #19 on: June 10, 2007, 04:55 AM »
Mouser, your plugin is so great !

the last one released (with FARR 2.00.104) with the values copied to the clipboard is amazing
 :Thmbsup:
However, could there be an option to only copy the result to the clipboard when pressing SHIFT+ENTER (it would minimize clutter when using clipboard manager...)

Many thanks again, with the FC plugin i don't have to use any other calculator for my daily use...

Cheers, Nitrix

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 560
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #20 on: June 10, 2007, 05:02 AM »
oups ! I forgot...

Is it possible to have an option so that the ` key would only clear FC display and not persistent values

I use persistent values for tax rates, and I'd like to clear the display without having to retype all my tax rates

When typing ` it would display
FCalc - 1.06.01 (June 09th, 2007) by mouser <[email protected]>

This plugin will let you calculate numerical expressions. Built with muParser (http://muparser.sourceforge.net/)

 fc expression -- calculate an expression
 fc ` -- clear history

Maybe with the list of persistent values and a little more space to add all the tips and tricks of FC !!
« Last Edit: June 10, 2007, 05:04 AM by nitrix-ud »

rbeeger

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 72
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #21 on: June 10, 2007, 12:37 PM »
Hi Mouser,

Great plugin! Thanks.

Cheers,
  Robert

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #22 on: June 10, 2007, 01:03 PM »
i'm really really happy to hear that you guys like it.
please keep the suggestions coming for it, i'm happy to add new stuff, and the source code for it will be released with the next plugin sdk, so people are welcome to improve it.

what i'd really like to see added is the ability to define your own functions easily.

masu

  • Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 401
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #23 on: June 10, 2007, 01:20 PM »
I appreciate the plugin  :Thmbsup:
But wouldn't it be easier to just call up the normal windows calculator and do the calculation stuff there?
Find+Run Robot 2.90.01
Windows 7

rbeeger

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 72
    • View Profile
    • Donate to Member
Re: New FARR Plugin: FCalc
« Reply #24 on: June 10, 2007, 04:37 PM »
I appreciate the plugin  :Thmbsup:
But wouldn't it be easier to just call up the normal windows calculator and do the calculation stuff there?
I prefer FCalc because it doesn't try to look like a real-world calculator. I like it's history view, it's ability to assign values to variables, that it is always there when I need it (you just need to open FARR) and that it is just simple and straight forward.

i'm really really happy to hear that you guys like it.
please keep the suggestions coming for it, i'm happy to add new stuff, and the source code for it will be released with the
Converter functions would be nice dec->bin dec->hex etc.

Cheers,
  Robert