I did a request for Chicago's $100M ticketing system's code - written by IBM - and they're acting very, very slowly to further respond. More so than usual. Hopefully this sort of work helps out :). I feel like I should probably contact EFF after seeing this..
It's called CANVAS. I saw some very interesting things in that contract - for example, 20M of that included a subcontract for paper. It's relatively understandable, but it's pretty clear that someone at an obscure, difficult to research company got a very pretty penny for it.
The original open source in voting: pen and paper, mechanical levers.
Really, open source software isn't good enough for voting machines. We need open source firmware and hardware. And there even needs to be a spec, with test cases, on how to network everything if it's indeed going to get networked. The entire voting ecosystem is questionable without complete transparency.
This is a proposed policy. The original title is a little misleading.
Good to see the government considering steps like this. Still, the system needs a major upgrade of tech understanding if we're to really introduce better tech within government. We can begin by electing people who understand technology.
You mean the indentation style? The K&R vs ANSI/Allman thing?
That argument started well before java, and continues. I would guess you're seeing it there because whoever wrote it had previously been a C++ developer. Inertia. GNU's classpath, for example, is indented this way...same thing, inertia. Easy enough to batch reformat though.
Obviously your code editor/IDE should handle that, but maybe if you wanted to whip up a quick script to something a little odd, it'd be quite handy to have the function name on a separate line.
Well, that's the first time I see such convention. And your argument doesn't quite hold water to me. They put the visibility modifier in its own line, not the function name. It's still next to the return type (or void). So it would still beat your regex. Plus, I'm not exactly sure if any Android devs snap out little regex-based scripts for refactoring or whatnot :) I'm sure it's far from unusual in dynamic languages, but looks like a great YAGNI in this case. I'm not hating it, all I'm saying is it's odd :)
You're completely right, it's odd. Also I didn't realise that the return type was also on the same line as the function name, in which case, even more odd.
I think the idea dates back to early C. I've definitely seen C code with the return type on a separate line.
14 comments
[ 3.6 ms ] story [ 116 ms ] threadI did a request for Chicago's $100M ticketing system's code - written by IBM - and they're acting very, very slowly to further respond. More so than usual. Hopefully this sort of work helps out :). I feel like I should probably contact EFF after seeing this..
And gladly - I'll try to keep you updated.
I'd prefer that those machines could have their code audited.
If you want this in your state, push them (that is, your state senators and state legislature) to adopt a similar policy at the state level.
Really, open source software isn't good enough for voting machines. We need open source firmware and hardware. And there even needs to be a spec, with test cases, on how to network everything if it's indeed going to get networked. The entire voting ecosystem is questionable without complete transparency.
Good to see the government considering steps like this. Still, the system needs a major upgrade of tech understanding if we're to really introduce better tech within government. We can begin by electing people who understand technology.
This is an unusually direct opportunity to share your expertise to help the entire U.S. federal government do a better job of building software.
https://github.com/WhiteHouse/wh-app-android/blob/master/app...
etc. Who does that?? And that's despite the fact that"Contributers [sic] are expected to adhere to the official Android Code Style Guidelines." ;)
You mean the indentation style? The K&R vs ANSI/Allman thing?
That argument started well before java, and continues. I would guess you're seeing it there because whoever wrote it had previously been a C++ developer. Inertia. GNU's classpath, for example, is indented this way...same thing, inertia. Easy enough to batch reformat though.
I think the idea dates back to early C. I've definitely seen C code with the return type on a separate line.