Welcome Guest.   Make a donation to an author on the site December 21, 2014, 10:14:44 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
View the new Member Awards and Badges page.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: NANY 2010 Release: "What's My Share?"  (Read 6700 times)
Krishean
Honorary Member
**
Posts: 75



I like pie

View Profile WWW Give some DonationCredits to this forum member
« 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
<a href="http://www.youtube.com/watch?v=qrXCdUE9CWQ" target="_blank">http://www.youtube.com/watch?v=qrXCdUE9CWQ</a>

Screenshot


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.
« Last Edit: January 08, 2010, 04:18:06 PM by Krishean » Logged

Any sufficiently advanced technology is indistinguishable from magic.

- Arthur C. Clarke
mouser
First Author
Administrator
*****
Posts: 33,793



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: December 30, 2009, 07:40:50 PM »

You did a great job with this -- really really great  Thmbsup
Logged
Perry Mowbray
N.A.N.Y. Organizer
Moderator
*****
Posts: 1,807



Thoughtful Scribbles

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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:


Normalized:
Logged

mouser
First Author
Administrator
*****
Posts: 33,793



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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.
Logged
Perry Mowbray
N.A.N.Y. Organizer
Moderator
*****
Posts: 1,807



Thoughtful Scribbles

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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?

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

mouser
First Author
Administrator
*****
Posts: 33,793



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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.
Logged
mouser
First Author
Administrator
*****
Posts: 33,793



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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
Logged
Perry Mowbray
N.A.N.Y. Organizer
Moderator
*****
Posts: 1,807



Thoughtful Scribbles

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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 *)
Logged

mouser
First Author
Administrator
*****
Posts: 33,793



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: December 30, 2009, 09:05:44 PM »

might be overkill though.. i think it's very functional as is.
Logged
mouser
First Author
Administrator
*****
Posts: 33,793



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« 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.
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.036s | Server load: 0.03 ]