Earlier quoted context omitted.
There doesn't appear to be anything in this code to calibrate to the actual average donation rate. In fact it's not tied to any real amounts or rates at all. It's just a function of the current datetime. UPDATE: They took the donation page down... Forbidden You don't have permission to access /stillneedhelp/ on this server.
That was a fast response. Does someone on HN work for Santorum?
Rick Santorum's Fake Donation Meter
61–70 of 100 posts
Re: Rick Santorum's Fake Donation Meter
#62I don't think there's anything wrong, in principle, with this approach, so long as the simulated rate is calibrated frequently to the actual average donation rate. Having it all wired up properly would require a whole lot of infrastructure, particularly for donation mechanisms that aren't online and aren't all tied in to a single system.
Re: Rick Santorum's Fake Donation Meter
#63I don't think there's anything wrong, in principle, with this approach, so long as the simulated rate is calibrated frequently to the actual average donation rate. Having it all wired up properly would require a whole lot of infrastructure, particularly for donation mechanisms that aren't online and aren't all tied in to a single system.
There doesn't appear to be anything in this code to calibrate to the actual average donation rate. In fact it's not tied to any real amounts or rates at all. It's just a function of the current datetime. UPDATE: They took the donation page down... Forbidden You don't have permission to access /stillneedhelp/ on this server.
But that's a big theoretically. This is almost certainly malice.
And it would almost certainly have gone unchecked if the developer had only hidden the BS generator script on the server side.
But as others have pointed out, that's probably asking too much given the state of this code and given that the main page 403's but they left the BS script serving.
Re: Rick Santorum's Fake Donation Meter
#64Re: Rick Santorum's Fake Donation Meter
#65(with apologies to Captain Renault :-)
You could just read the quarterly reports he files with the FEC if you actually wanted to know how much he was bringing in. I suppose you could get him in hot water as an ethics violation for campaign reporting but outrage? A bit over the top I think. There are billboards that had a running total of the California state deficit, does anyone think they were repeatedly reading some sort of get_balance() api at the state treasury and putting it up? No, its a prop, a gimmick, an illustrative tool, and nothing more.
Re: Rick Santorum's Fake Donation Meter
#66It fascinates me that Americans might see this as acceptable or even that it is regarded as most likely to be totally legal and hence acceptable in nature. In Australia I would be very confident that this type of falsified campaign disclosure would be illegal or at least fall foul of a whole range of parliamentary and governmental standards.
Re: Rick Santorum's Fake Donation Meter
#67It fascinates me that Americans might see this as acceptable or even that it is regarded as most likely to be totally legal and hence acceptable in nature. In Australia I would be very confident that this type of falsified campaign disclosure would be illegal or at least fall foul of a whole range of parliamentary and governmental standards.
Fake counters are pretty far down my list of grievances.
Re: Rick Santorum's Fake Donation Meter
#68I find it most disturbing that they are polluting the global namespace with all those variables and functions. Don't JavaScript developers these days understand how to properly scope their JavaScript?
Re: Rick Santorum's Fake Donation Meter
#69Re: Rick Santorum's Fake Donation Meter
#70I find it most disturbing that they are polluting the global namespace with all those variables and functions. Don't JavaScript developers these days understand how to properly scope their JavaScript?
As long as it's "single page bound" JS like this, I honestly don't think it matters one bit. Reusable components and utility libraries is something different, of course.