Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • September 02, 2015, 01:27:13 AM
  • Proudly celebrating 10 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

Author Topic: NANY 2010 Release: "What's My Share?"  (Read 7291 times)

Krishean

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 75
  • I like pie
    • View Profile
    • Draconis Labs
    • Donate to Member
NANY 2010 Release: "What's My Share?"
« on: December 30, 2009, 07:36:13 PM »
NANY 2010 Entry Information

Application Name What's My Share?
Version 1.00
Short Description Have you ever needed to divide up an expense among a group of people? Or split up some reward? The What's My Share page makes it easy.
Supported OSes Any OS that has a Web Browser capable of JavaScript
Web Page (visit this to use it now) http://krishean.dcmembers.com/myshare/
System Requirements
  • Computer
  • Internet Connection
  • Web Browser
  • JavaScript Enabled
  • Brain
Version History
  • 1.00: Initial Release
Author Krishean
Screencast


Description
What's my share lets you put in a total amount, a list of people and their percentages, and then it will calculate how much each person owes.
app thought i should enter a project for NANY 2010 and linked me to a post on the forums. I thought it would be easy to do and it ended up being a pretty fun project. A big thanks to mouser and the denizens of the donationcoder irc channel.

Features
  • Remember the last data entered in a cookie (except for IE, see known issues)
  • Add or remove rows
  • Format for printing with the option to add a title to the printout
  • Normalization (adjust all share totals proportionately so that they total 100%)
  • Clear All button
  • Use * to specify an equal share of the remaining amount
  • Warning displayed if percent is higher than 100%
  • Warning displayed if shares do not add up to the total amount

Planned Features
There are no additional planned features, but i might add some more if they are suggested.

Screencast


Screenshot
myshare.pngNANY 2010 Release: "What's My Share?"

Usage
Start by entering the total amount to be divided up between participants. Then add each person followed by their share percentage. As you fill in the values, the amount of their share will be calculated and displayed instantly.

Known Issues
Internet Explorer is unable to use the remember last data function because of issues with the json handling functions.
Any sufficiently advanced technology is indistinguishable from magic.

- Arthur C. Clarke
« Last Edit: January 08, 2010, 04:18:06 PM by Krishean »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,976
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: NANY 2010 Release: "What's My Share?"
« Reply #1 on: December 30, 2009, 07:40:50 PM »
You did a great job with this -- really really great  :Thmbsup:

Perry Mowbray

  • N.A.N.Y. Organizer
  • Moderator
  • Joined in 2005
  • *****
  • Posts: 1,809
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: NANY 2010 Release: "What's My Share?"
« Reply #2 on: December 30, 2009, 07:53:23 PM »
This is great!  :Thmbsup:

One small issue: the Normalize button mucks up any rows that are proportioned with a "*"

Unnormalized:
What's my share 1.png

Normalized:
What's my share 2.png

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,976
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: NANY 2010 Release: "What's My Share?"
« Reply #3 on: December 30, 2009, 07:59:56 PM »
That's basically by design i think, buy maybe the alert box triggered when you click Normalize should tell you whats going to happen and let you cancel.

Perry Mowbray

  • N.A.N.Y. Organizer
  • Moderator
  • Joined in 2005
  • *****
  • Posts: 1,809
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: NANY 2010 Release: "What's My Share?"
« Reply #4 on: December 30, 2009, 08:52:02 PM »
The alert box does say what's happening... just not that the * entries will be zeroed out.

Essentially what happens when you normalize a list with * entries, is that it removes, or zeros, those entries.

Really, Normalizing and * entries are functionally opposite: you never would want to normalize a list with * entries unless you wanted to remove them?

 :-[ Which basically means I'm understanding it a bit better now...
« Last Edit: December 30, 2009, 08:55:09 PM by Perry Mowbray »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,976
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: NANY 2010 Release: "What's My Share?"
« Reply #5 on: December 30, 2009, 08:55:16 PM »
Quote
you never would want to normalize a list with * entries unless you wanted to remove them?

except possibly as step 1 of a process whereby you expected to do further tweaking of shares.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,976
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: NANY 2010 Release: "What's My Share?"
« Reply #6 on: December 30, 2009, 08:57:45 PM »
There really are only 2 sensible options when normalizing with *:
  • one option is to simply do nothing
  • and the other option is to do what krish is doing, to 0 out the * and normalize the rest

Perry Mowbray

  • N.A.N.Y. Organizer
  • Moderator
  • Joined in 2005
  • *****
  • Posts: 1,809
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: NANY 2010 Release: "What's My Share?"
« Reply #7 on: December 30, 2009, 09:00:25 PM »
Quote
you never would want to normalize a list with * entries unless you wanted to remove them?

except possibly as step 1 of a process whereby you expected to do further tweaking of shares.

The tweaking concept is interesting: I wondered if slider controls might make that easier? Especially on the * Entries (which would make them something other than *)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,976
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: NANY 2010 Release: "What's My Share?"
« Reply #8 on: December 30, 2009, 09:05:44 PM »
might be overkill though.. i think it's very functional as is.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,976
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: NANY 2010 Release: "What's My Share?"
« Reply #9 on: December 30, 2009, 09:21:23 PM »
Actually i realized there is a 3rd reasonable alternative for how to normalize when there are * entries, which is to replace the * with their computed explicit shares.