Hacker Newsnew | comments | ask | jobs | submitlogin
Where My Money Goes: A visual receipt for your taxes. (wheremymoneygoes.com)
179 points by theli0nheart 2 days ago | 81 comments




31 points by theli0nheart 2 days ago | link

I made this last night after being inspired by http://www.npr.org/templates/story/story.php?storyId=1302494...

All the calculations are done with Javascript. Let me know what you think!

reply

6 points by anigbrowl 2 days ago | link

Good idea and good instincts. I hope you have a scalable hosting solution, because the presentation and domain name are so well chosen that I can see you getting millions of page landings by tomorrow.

For your own benefit, perhaps some thoughtfully-filtered Adwords or so would help cover those costs and/or make you some ca$h.

For the site itself, keep the simple presentation but perhaps add + signs to allow people to break things out if they wish. Any large program whose share of the budget people love to complain about often turns out to include some things they actually support, so it has excellent education potential.

Discreet links to more advanced presentations like graphs and so forth could later help to build out that initial traffic to become the 'go-to' site for accessible stats, mich like fivethirtyeight.com became well-known for unbiased electoral analysis.

A fun thing might be a time machine that let you look back at tax rates of years past, with the receipt getting increasingly yellowed and/or using more and more antique-looking fonts. By the time you get to 1776 everything is in copperplate :-)

reply

3 points by theli0nheart 2 days ago | link

> Good idea and good instincts. I hope you have a scalable hosting solution, because the presentation and domain name are so well chosen that I can see you getting millions of page landings by tomorrow.

Thanks, I had a feeling people would like this, but had no idea that it'd be this popular. I'm migrating over to Appengine as soon as I can.

> For your own benefit, perhaps some thoughtfully-filtered Adwords or so would help cover those costs and/or make you some ca$h.

I put them up about an hour ago, but took them down because I couldn't see them. Turns out I had adblock turned on. I just pushed ads live.

> Discreet links to more advanced presentations like graphs and so forth could later help to build out that initial traffic to become the 'go-to' site for accessible stats, mich like fivethirtyeight.com became well-known for unbiased electoral analysis.

I think these are all great ideas. I do think a site like this is missing, and we could all stand to benefit from it.

> A fun thing might be a time machine that let you look back at tax rates of years past, with the receipt getting increasingly yellowed and/or using more and more antique-looking fonts. By the time you get to 1776 everything is in copperplate :-)

Hehe, of all the ideas you've had, this is the best. Moving it up in the queue :)

reply

1 point by grandalf 2 days ago | link

Very cool! Great job with it. One idea: What about adding a line in red for deficit spending... the amount the person owes against the deficit based on his/her current income level...

reply

1 point by Gormo 1 day ago | link

> By the time you get to 1776 everything is in copperplate :-)

Caslon, surely.

reply

1 point by stretchwithme 2 days ago | link

By 1776, everything should also get very tiny, as the tax burden was miniscule.

reply

1 point by alexyim 2 days ago | link

Put it on App Engine

reply

5 points by slug 2 days ago | link

Trying with a value of 1e20 , 1e21 gives interesting results.

More curious is that using konqueror I get one value but with firefox i get another. Seems to be some bit flipping somewhere, since with firefox I get Miscellaneous mandatory programs $16068258000000004096.00 4096, 16384 , etc

but with konqueror i get: Miscellaneous mandatory programs $16068258000000005000.00

Maybe some bug with the javascript interpreter ?

reply

6 points by riffer 2 days ago | link

Why do people always try to break things? This is a serious question pertaining to human nature, not a complaint. I've noticed that anytime I demo something I've built, if the person/people I'm showing have control of the demo they go try to test the outer boundaries of whatever I've built. What makes us want to do that?

reply

14 points by anigbrowl 2 days ago | link

Because of what it tells us about the design and utility. This particular tool looks like it will keep working through inevitable period of hyperinflation everyone keeps warning me about, all the way up to the when we cross the National Debt Event Horizon, at which point accounting is suddenly agreed to be an entirely new art form, and computing a restaurant tip requires a PhD in materials science.

reply

6 points by crystalis 2 days ago | link

You get the one-two of potential insight into the particular workings and potential 'unintended cool thing'.

reply

3 points by MichaelApproved 2 days ago | link

Testing with crazy figures and data makes sense because it can magnify a bug you wouldn't have noticed with normal use. For example you may catch a math error that's only obvious with big numbers.

reply

2 points by awakeasleep 2 days ago | link

It isn't just human nature. If you have a dog or a cat or have watched videos of animals on Youtube you'd see it has to do with most animals on planet earth.

I have a theory: Things have evolved to try and do everything they can do, because nothing is smart enough to act on foresight alone.

reply

2 points by DevX101 2 days ago | link

Errors at the edge cases are usually the hardest to detect.

reply

2 points by pkghost 2 days ago | link

moral of the (as yet untold) story: rocket science and javascript don't mix.

browser differences aside, javascript represents all numbers as floats, so as you attempt to store larger and larger numbers, you will find yourself with less and less accurate data.

i'd bet that some minor difference in order of operations between the JS implementations of FF and konqueror result in the differences you're observing.

reply

1 point by theli0nheart 2 days ago | link

Ah, bizarre. I'll look into it...

reply

1 point by peterbessman 2 days ago | link

This is awesome. I passed along that article to some friends, the consensus was "great idea, never gonna happen." Now I get to pass this link along. That makes me :)

reply

1 point by fraserharris 1 day ago | link

FYI Income entry chokes on commas (ie: 50,000)

reply

18 points by SMrF 2 days ago | link

Can you put little voting arrows next to the line items so I can vote up NASA and vote down defense spending? Oh wait, representative democracy. Damn.

reply

8 points by theli0nheart 2 days ago | link

If only Congress had an API...

    POST /house-of-representatives/?district=4&action=expel
    POST /house-of-representatives/?district=4&action=elect&candidate=329183

reply

2 points by andrewparker 2 days ago | link

Here is a usable API that's live for accessing government data: http://wiki.sunlightlabs.com/Sunlight_Labs_API

Doesn't support write quite like that yet ;)

reply

2 points by catshirt 2 days ago | link

i'd rather ?action be part of the method than the query string. in case they're reading.

reply

1 point by nowarninglabel 2 days ago | link

There is actually an API available. I'm currently working with it to produce a longer lasting version of this same concept, though the concept is kind of not interesting now that like a dozen different people did this...

reply

2 points by heresy 2 days ago | link

I've often wondered what the result would be if budgets were determined by something like that.

Just the line items of potential things to spend money on, and citizens indicating their preferences, without any emotive rhetoric to color their choices.

Since my personal discussions with people end up with a lot of agreement on how much one should be allocating to things like education, R&D, infrastructure and healthcare, but it all seems to go pear shaped when it reaches the voting floor, due to the large role external, non-voting actors can play in shaping those decisions.

I don't want a hundred million here and there to go to rubbish projects as a sop to a politician with a certain amount of influence who just received a donation to add an extension to his house.

Of course, now you have the problem of how things end up on the list to vote on :)

reply

1 point by jasonkester 2 days ago | link

To an extent, it does work like that on a local level, and it's generally pretty disastrous.

People will vote to lower their car registration fees if you let them, then they'll complain that the roads are falling apart. It's fun to watch if you can step back and simply watch it happening.

reply

4 points by jderick 2 days ago | link

Would be interesting to see how people vote, even if it has no direct effect.

reply

3 points by theli0nheart 2 days ago | link

Working on it...

reply

2 points by anigbrowl 2 days ago | link

Great! Don't lose your focus - Rome wasn't built in a day, or even a week.

reply

1 point by dmix 2 days ago | link

Feature creep is best served within a week.

reply

1 point by anigbrowl 2 days ago | link

I've wanted that level of civic participation for many years too - but when you think about it, it's only in the last decade that this has become even remotely practical.

But someone should indeed implement such a thing - if they can attract enough traffic, the aggregated preferences would start to become extremely useful, though not always in obvious ways. The only ones I've seen so far tend to be sponsored or created by lobbying groups that want a highlight a particular positive or negative policy outcome - you know, the sort of thing that says 'on current trends, everybody in the US will be employed as a member of the general staff by 2073, and safety razors will have 48 blades.'

...although a recent careless razor purchase turned out to have 6 blades - and I didn't even notice we'd passed 5. So what do I know?

reply

1 point by awakeasleep 2 days ago | link

Don't forget that 'defense spending' encompasses a huge swath of technology research that may benefit NASA as much as anything else.

reply

8 points by hugh3 2 days ago | link

Wow, very nicely designed, and I love how fast it is.

Some clarification on a few of the entries would be nice if you have time. For instance, what does "Healthcare" mean once Medicare and Medicaid are excluded? And what's the difference between "compulsory" and "discretionary" spending (when surely the government could eradicate the compulsory stuff if it wanted to). Perhaps you could have explanations of each term if you click on 'em?

Also having "miscellaneous" as the third highest number is a little unsatisfying, can you break that down a bit more?

But these are nitpicks, nice work!

reply

8 points by _delirium 2 days ago | link

From the Wikipedia link the data's from it looks like "Healthcare" under discretionary spending means the budget of the Department of Health and Human Services. That includes a lot of healthcare research and public-health kinds of stuff, like the Centers for Disease Control (CDC) and National Institutes of Health (NIH). Also includes some not-really-healthcare stuff, though, like the Office of Civil Rights, and the faith-based initiatives thing that Bush created. And some is more gray area, e.g. the FDA does drug approvals, which is clearly "healthcare", but it also inspects beef, which is good for health but not what people normally think of as healthcare.

reply

7 points by digitallogic 2 days ago | link

"There are two types of government spending — discretionary and mandatory. Discretionary spending, which accounts for roughly one-third of all Federal spending, includes money for things like the Army, FBI, the Coast Guard, and highway projects. Congress explicitly determines how much to spend (or not spend) on these programs on an annual basis. Mandatory spending accounts for two-thirds of all government spending. This kind of spending is authorized by permanent laws. It includes "entitlements" like Social Security, Medicare, and Food Stamps — programs through which individuals receive benefits based on their age, income, or other criteria. Spending levels in these areas are dictated by the number of people who sign up for these benefits, rather than by Congress." - http://en.wikipedia.org/wiki/Government_spending#Federal_Spe...

reply

6 points by theli0nheart 2 days ago | link

Thank you! I'll add in some tooltips for the items, because you're right, it's hard to know exactly what they entail.

EDIT: Just added tooltips, I'm taking descriptions straight from Wikipedia (usually the first paragraph).

reply

8 points by rossriley 2 days ago | link

Ok, just a little fun but for reference here's a comparison of US to UK based on US taxes of $10,000 and UK taxes of about the same (£6,350.50)

The comparison goes roughly like this, obviously the UK figures are less detailed so I've grouped some of the US expenditure where I think appropriate, correct me if you see any errors.

=======================================

UK: Pensions £1,459.32 ($2,310.61) + Welfare £705.73 ($1,117.42)

Total= $3,4328.03

US: Social Security: $1908.03 + Housing $133.78

Total = $2,041.81

=======================================

UK: Healthcare £1,453.33 ($2,301.13)

Total = $2,301.13

US: Medicare $1274.89 + Medicaid $816.32 + Healthcare $221.62

Total = $2,312.83

=======================================

UK: Education £364.83 ($577.65)

Total = $577.65

US: Education $131.50

Total = $131.50

=======================================

UK: Defence £532.29 ($842.80)

Total = $1,117.42

US: Defense $1869.09 + Veterans Affairs $147.84

Total = $2,016.93

=======================================

UK: Protection £197.37 ($312.50) - nb. (Includes Police Services, Fire-Protection Services, Law Courts, Prisons,Public Order and Safety)

Total = $312.50

US: Homeland Security $123.76 + Department of Justice $67.31 + Potential Disaster Allotment $30.73

Total = $221.80

=======================================

UK: Transport £161.48 ($255.67)

Total = $255.67

US: Transportation $204.17 + Public Engineering $14.33

Total = $218.50

=======================================

UK: General Government £155.50 ($246.21)

Total = $246.21

US: Department of State $145.26 + Department of Energy $74.05 + Department of Agriculture $73.21 + Treasury $37.45

Total = $329.97

=======================================

UK: Interest Paid £334.92 ($530.29)

Total = $530.29

US: Interest on National Debt

Total = $461.64

=======================================

UK: Other Government Spending £616.02 ($975.37)

Total = $975.37

US: NASA $52.67 + Commerce $38.84 + Labor $37.45 + Natural Parks $33.79 + Environmental Protection Agency $29.57 + National Science Foundation $19.69 + National Infrastructure Bank $14.06 + Community Service $3.08 + Small Business $1.93 + Bureaucracy $1.54 + Everything Else $55.75

Total = $125.62

=======================================

Finally: Miscellaneous mandatory programs $1606.83

Wasn't sure what this included, maybe US readers can shed some light upon how this might relate to the above sections. Obviously the main mismatch is in the other government spending so maybe most of that belongs in there.

Anyway not exactly like for like but may be an interesting excercise.

reply

1 point by easyfrag 2 days ago | link

What a potentially interesting feature: switching countries to see what the same tax amount (converted to local currency) buys in other countries

reply

4 points by karzeem 2 days ago | link

Ha, these calculators have had a great past 24 hours. I made one today too: http://taxes.kareemshaya.com

You did a very nice job with the receipt vibe.

reply

2 points by theli0nheart 2 days ago | link

Thanks, yours looks pretty nice too!

reply

3 points by dfranke 2 days ago | link

You should change "total" to "subtotal", and have the full total include how much extra you'd have to pay in order offset the deficit. Then at the bottom, "balance outstanding": your share of the public debt.

reply

5 points by simon_ 2 days ago | link

I don't think this is right... FICA is capped, so my social security contribution should not scale linearly with income.

reply

1 point by theli0nheart 2 days ago | link

You're right--the calculation I do is linear, so I will try and make this more accurate later tonight.

reply

0 points by Semiapies 2 days ago | link

The contribution is capped, but spending isn't.

reply

2 points by jacoblyles 2 days ago | link

I need to remember this for the next time someone tells me my desire for lower tax rates means I must not desire roads, police, and fire fighters. It's remarkable how little of the tax burden of a modern state actually goes towards essential services. A modern country could probably be run with single-digit taxes. You would be missing things like a space program, science subsidies, farm subsidies, and socialized retirement insurance, but you could still pay for the rule of law and basic public goods.

Also, does this include recent large one-time stimulus spending bills, or were those in the next fiscal year?

reply

1 point by anigbrowl 2 days ago | link

http://www.korea-dpr.com/business.htm

reply

4 points by alain94040 2 days ago | link

Another suggestion, if you love attention to detail... Rather than having #XXX-XXX as the receipt number, put the IP address in the format of a receipt, that would be a nice touch.

reply

6 points by socratees 2 days ago | link

Bug: Looks like the text field doesn't handle comma properly. Any character beyond the first occurrence of a comma gets truncated.

reply

2 points by bprater 2 days ago | link

Threw me for a minute, too. Suggesting that you regex this field to chop off anything that isn't a period.

reply

4 points by jmreid 2 days ago | link

Found a similar site on Reddit: http://www.whatwepayfor.com

Found here: http://www.reddit.com/r/politics/comments/dlidt/you_want_a_r...

reply

3 points by markbnine 2 days ago | link

It would be nice to compare the break-out to other countries. Perhaps you can finish this tonight?

reply

2 points by theli0nheart 2 days ago | link

I can definitely work on it!

reply

4 points by aardvark 2 days ago | link

It looks great!

One thing I'd like to see, if possible, is an adjustment to account for deficit spending. In other words, if the government is spending $175 for every $100 collected, adjust the expenses accordingly, so we could clearly see what kind of cuts it would take to balance the budget.

reply

1 point by Semiapies 2 days ago | link

Maybe as a bill instead of a receipt, complete with running unpaid balance scaled to tax paid?

reply

2 points by Semiapies 2 days ago | link

Does the Defense number include expenditures on Iraq and Afghanistan? Those have been tracked separately from normal Defense spending up to 2009:

http://en.wikipedia.org/wiki/United_States_federal_budget#Bu...

reply

3 points by xenophanes 2 days ago | link

wtf are "Miscellaneous mandatory programs" that cost almost as much as social security?

reply

3 points by cbetz 2 days ago | link

via the google: http://useconomy.about.com/od/fiscalpolicy/p/Mandatory.htm

"These programs include Food Stamps, Unemployment Compensation, Child Nutrition and Tax Credits, Supplemental Security for the Disabled and Student Loans."

reply

2 points by theli0nheart 2 days ago | link

Just added this in the tooltips.

reply

3 points by higher 2 days ago | link

The federal government actually only has about 58-59 cents of revenue for each dollar it spends. It would be slightly more accurate (if extremely inflammatory) to make an applet that generates a receipt for only entitlement spending, as entitlement spending has come within 2% of revenue recently.

reply

4 points by coin 2 days ago | link

The site appears to just linearly scale the results, which is not always correct. For example, Social Security is only collected on the first $106,800 of income.

reply

2 points by higher 2 days ago | link

All social security revenue that is not paid out in benefits is replaced with unmarketable treasury securities and spent as part of the general fund. When social security ceases to run a nominal surplus, the money to pay for those securities will come out of the general fund. As you can see, social security is essentially part of the broader budget, and the divide between its budget and the broader budget is strictly imaginary.

As such I think it is appropriate to calculate FICA spending exactly as the author has.

reply

3 points by higher 2 days ago | link

I see I have been rated down for posting the truth. If you would like to read about the truth, you can find it here: http://en.wikipedia.org/wiki/Social_Security_(United_States)

"Congress invested these surpluses into special series, non-marketable U.S. Treasury securities held by the Social Security Trust Fund. Under the law, the government bonds held by Social Security are backed by the full faith and credit of the U.S. government."

"According to most projections, the Social Security trust fund will begin drawing on its Treasury Notes toward the end of the next decade (around 2018 or 2019), at which time the repayment of these notes will have to be financed from the general fund."

reply

2 points by anigbrowl 2 days ago | link

I think the downvote is due a lack of understanding rather than disagreement. What is perhaps not obvious is that payments towards 'social security' in excess of the $106k cap is (or ought to be) allocated towards the payment of interest on those outstanding bonds, hence the apparent linear increase.

But also, your references to 'the truth' unintentionally gives you the air of a conspiracy theorist.

Incidentally, it's noting that the solvency projections are not inevitable but are based on the assumption of steady demographic change. It will be interesting to review these when the 2010 Census data becomes available in December or early 2011.

reply

1 point by jbooth 2 days ago | link

US Treasury securities back lots of things, like the majority of the securities market and China. I think they're a pretty safe investment if you're running a surplus and want to stash the money for later payouts.

The "social security money is being taken by the gov't" meme is just so silly - what should they do, put the money in cash in a big vault somewhere?

reply

1 point by 2arrs2ells 2 days ago | link

No, you've been rated down for a reply that does not actually address the comment the parent poster made.

Your comment on Social Security accounting (which is correct, as far as I know), has no bearing on the parent's observation that FICA tax doesn't scale linearly - because it is capped at a certain point.

reply

1 point by higher 2 days ago | link

The essential nature of Social Security accounting is such that FICA tax is unrelated to FICA spending. At the moment, much of your FICA tax is spent on general fund items. In the future, much of your income tax will be spent on FICA items.

reply

1 point by 2arrs2ells 2 days ago | link

Thanks for explaining!

reply

0 points by Semiapies 2 days ago | link

These numbers are based on expenditures; to cap off the FICA portion of the receipt despite actual spending would be misleading.

reply

1 point by nanijoe 1 day ago | link

I'm not sure where you got the tax rates from, but you almost certainly computed New Jersey taxes wrong. I'm seeing a rate of around 4%, when in truth most people who make anything over $35k pay around 7-11%

reply

1 point by DavidSJ 2 days ago | link

Does this include employer Social Security and Medicare expenses too? If not, it should, since they come out of your paycheck just as much as employee taxes.

reply

1 point by seanalltogether 2 days ago | link

This assumes the only cash inflow for federal spending comes from income taxes. How many sources are funneled in to federal budget in reality?

edit - here you go, http://www.washingtonpost.com/wp-srv/special/politics/budget...

reply

1 point by DTrejo 1 day ago | link

You might consider using raphaeljs to do some graphing and visualization, in addition to the numbers.

graphing: http://g.raphaeljs.com/

Make sure to check out the demos.

reply

1 point by sliverstorm 1 day ago | link

I would like to see NASA, Education, Natural Parks, and the National Science Foundation higher on that list.

reply

1 point by nhebb 2 days ago | link

I have to pay for Small Business? I'm a small business, and I have to subsidize other small businesses? Moochers!

reply

3 points by krsgoss 2 days ago | link

Looks beautiful, especially in such short time. I find the discretionary defense spending line item especially depressing compared to healthcare.

reply

1 point by vinhboy 2 days ago | link

This is nice. Tip: put up all the social media icons.. use sharethis, addthis, or whatever. People like to fb-like more than tweet.

reply

1 point by theli0nheart 2 days ago | link

Thanks! Just added Facebook, and am setting up the Share This widget.

reply

1 point by zeynel1 2 days ago | link

Very nice. Is it a coincidence that; for various numbers I tried; "social security" and "defense" are always about the same amount?

reply

1 point by hardtke 2 days ago | link

The problem here is that for every dollar the government currently collects, they spend two. This should be reflected.

reply

1 point by nihaar 2 days ago | link

This is actually pretty good data to tie to a given IP address.

reply

1 point by gamma_raj 2 days ago | link

Beautiful

reply

-3 points by astrodust 2 days ago | link

Someone should throw some CSS3 rotation and drop-shadow on this thing.

reply




Lists | RSS | Search | Bookmarklet | Guidelines | FAQ | News News | Feature Requests | Y Combinator | Apply | Library

Analytics by Mixpanel