1,549 karma · joined Dec 5, 2012 (13y ago) · 595 submissions
comment 10y ago · link · parent
Banking is a completely different problem. The secrecy requirements are different - in fact, audit trails of all individual transactions are expected. Big transactions are typically individually reviewed by humans. People/organizations can choose their bank. There are multiple banks -> no single target. Transactions can be traced and rolled back, so coercion is less of a problem. Risk is mostly financial.
comment 10y ago · link · parent
And voting through a web app is wrong on so many levels:
- "Electronic voting": Electronic voting machines already have a bad enough track record. If nothing else, it makes large-scale attacks easier. Voters have to trust the ballot operators (different from home banking, where (a) you can choose your bank and (b) manual banking wouldn't be better either).
- "Electronic voting, at home": Assuming [1], it wouldn't be coercion resistant, wouldn't be independently verifiable, couldn't guarantee vote secrecy to voters and be susceptible to ballot stuffing, open against technical attacks (eg. as simple as DDOS, or malware).
- "Electronic voting, at home, in a web app": No local (non-attacker-controlled) code means you must trust server completely. And its basically impossible to really isolate the voting from everything else.
All these problems for what? Paper ballots really aren't so bad. Especially if you eliminate two of the obvious problems US elections have: get rid of voter registration, and move votes to sundays.
[1] Assuming you don't use a cryptographic voting scheme; these have their own problems. It's an entire field of research that just can't be summarized in an HN post, but key problems are: a) impossible to understand by voters, b) some desirable properties are mutually exclusive, c) computationally prohibitively expensive (even with state level resources), d) some problems aren't technical in nature and can't be solved technically (think coercion).
comment 10y ago · link · parent
"Changing" goes beyond "parsing and generating"; e.g. ordering, comments and formatting are retained.
The alternative would be search-and-replace style edits (not robust), custom implementations for every format (hard work to get right, especially without Augeas' infrastructure in place), or being limited to templating entire files.
The list of supported file formats is quite extensive: http://augeas.net/stock_lenses.html (note on naming: lens is a well-known theoretical concept)
It's sad that Augeas is necessary though -- in an ideal world, developers wouldn't come up with custom ad-hoc file formats or abuse 'sh' and /etc would be empty by default.
comment 10y ago · link · parent
No, regex based search/replace doesn't count as refactoring support. Vims omnicompletion is a joke. It also doesn't handle multi-language files (e.g. SQL like in the article) at all. And Vim is limited by its strictly monospace UI without good overlay support. The integrated debugger is so much nicer to use than raw pdb, and WinPDB sucks for navigation. And there are so many time-saving little features, like the auto-import quickfix.
And it takes a lot of work to get even half-baked versions of all the features in vim, because you have to get every one individually.
IntelliJ with Python plugin (instead of standalone PyCharm) has support for all very many, and certainly all popular, languages. And it's not like in Vim-land, where "support" mostly means "syntax highlighting and that's it".
Vim is an awesome text editor though.
comment 10y ago · link · parent
Here are some problems with your method: allows coercion (is not receipt-free), violates vote secrecy (attacker can just force voter to reveal password), allows ballot stuffing, allows partial results (no voting under equal circumstances), probably completely relies on server for "security" of passwords, salted hashing orly?, hash tied to voter by timing info, ...
There are voting schemes (the more sophisticated ones are cryptographic, but interestingly there are non-cryptographic voting schemes like Punchscan that have interesting properties) that address these. But it gets fairly complicated fairly quickly, and at some point normal voters won't be able to make sense of them. The cryptographic voting schemes also tend to get computationally unwieldy, e.g. by requiring huge mixnets.
comment 10y ago · link · parent
When I resize the window, the demo (http://arkpod.in/pills/) reflows exactly like I'd expect.
comment 10y ago · link · parent
OnCalendar= has a less insane format than cron, exit code and output logging, locking, proper command line tools, and other niceties like Persistent= (catch up e.g. after system was powered off) etc.
(And yes, you can still have user "cronjobs" if you enable systemd user session lingering.)
comment 10y ago · link · parent
Chrome supports using different search engines directly.
In my Chrome, searching youtube.com is just "you<tab>query<return>", the en.wikipedia.org is "en<tab>query<return>", Google Maps is "maps..." etc.
The nice thing is that it picks up various search engines automatically. Useful for work etc.
And if you want to use DuckDuckGo occasionally, it's just a "duck<tab>" away.
(And Google is my default search engine.)
comment 10y ago · link · parent
The article says "a team of Norwegian and American scientists". I am not surprised.