Better HN
topnewbestaskshowjobs
Log inSign up

Ao7bei3s

1,549 karma · joined Dec 5, 2012 (13y ago) · 595 submissions

Submissions

comment 10y ago · link · parent

You missed the point. I'm arguing for voting - not banking - to be kept on paper.

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

Because voting is way more important than home banking.

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

It provides a consistent interface for changing all kinds of configuration files, making Ansible-style automation easier and more robust.

"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

It's still evil - what if the input program doesn't halt, or allocates too much memory?

comment 10y ago · link · parent

I fully agree.

And you should contribute the data back to the probably single most important open data project -- OpenStreetMap.

comment 10y ago · link · parent

I've used vim all the time for a decade and PyCharm on and off for a few years. No, you can't. Every one of the features mentioned in the article is just so far ahead of what vim's equivalent has to offer, if there even is one.

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

It depends on your download program, but that's irrelevant because of the pipe. It has to be linearized before going through the pipe.

comment 10y ago · link · parent

No, unless the algorithm is broken.

Ciphertext indistiguishability[1] is a basic requirement for any encryption scheme. All modern ciphers are designed to make that hard.

[1] https://en.wikipedia.org/wiki/Distinguishing_attack

comment 10y ago · link · parent

Electronic voting is an entire field of research. As with cryptography, do not come up with your own methods.

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

Where the cloud is.

comment 10y ago · link · parent

Can you explain?

When I resize the window, the demo (http://arkpod.in/pills/) reflows exactly like I'd expect.

comment 10y ago · link · parent

Because I'm using a password manager.

Why shouldn't normal people use password managers?

comment 10y ago · link · parent

Also, I don't want to store personal data on servers of a US company.

comment 10y ago · link · parent

It's one of the most fundamental computer science topics.

There is absolutely no point in coming up with an ad-hoc explanation or copy/pasting one just to stay on HN instead of linking to a good resource.

comment 10y ago · link · parent

0. Use systemd timers instead.

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

Why use DuckDuckGo then and suffer an extra roundtrip?

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

Have you seen the prices for data roaming?

(Especially since apps tend to send data automatically and also because you're one surprise sync or app store update away from financial catastrophe.)

comment 10y ago · link · parent

Whatever the airport and/or tower cleared.

As long as they know, what difference does it make?

comment 10y ago · link · parent

In the case of multicopters, it is.

comment 10y ago · link · parent

>> configure the authentication server to accept any authentication

> It this supported anywhere?

Yes. FreeRADIUS can do it. The clients don't notice. I've seen it work. The configuration is a bit tricky though. Not sure about hostapds radius server.

comment 10y ago · link · parent

Depends on the country.

comment 10y ago · link · parent

> i think Norway out all countries was the one that brought us closest to total nuclear war. https://en.wikipedia.org/wiki/Norwegian_rocket_incident

The article says "a team of Norwegian and American scientists". I am not surprised.

comment 10y ago · link · parent

Or unless the neighboring countries follow suit.
1
121314
20