Better HN
topnewbestaskshowjobs
Log inSign up

dependenttypes

1,649 karma · joined Jan 1, 2019 (7y ago) · 1,251 submissions

Submissions

comment 6y ago · link · parent

I find it kind of weird how most of the discussion is about whether assange was good/bad/a "russian spy" etc - all of these have been discussed to death already. Shouldn't we be more concerned about the inhumane treatment of assange in jail regardless if you agree or disagree with what he published?

My 2c

comment 6y ago · link · parent

Civil disobedience, along with civil servants that stopped enforcing an unjust law is the reason that my grandmother was able to escape from Germany in 1938. Saving people by stopping the enforcement of an unjust law is more important than trying to defend the abstract concept of the rule of law. To me this seems like yet another collectivist (where it is ok to sacrifice innocents for the "greater good" - depending on your ruler's definition of greater good) vs individualist (where the rights and freedom of a single person is more important than defending an abstract concept) argument.

comment 6y ago · link · parent

https://en.wikipedia.org/wiki/Gary_McKinnon

While there are certainly laws in UK that prohibit hacking (which should be abolished) they are clearly not enough to perform an extradition.

comment 6y ago · link · parent

This is not an answer to the question that malvosenior asked.

comment 6y ago · link · parent

I think that you misunderstood nullc's question. They are asking what happens if at some point one of the poly1305 MACs in the file is incorrect. Not if someone truncates the file.

comment 6y ago · link · parent

> NSA recommended people stop using ECC <384 bits (https://apps.nsa.gov/iaarchive/programs/iad-initiatives/cnsa...).

Yet they are still fine with AES-128, even though it is objectively a weaker link in the chain. See https://blog.cr.yp.to/20151120-batchattacks.html

comment 6y ago · link · parent

Wait what, excuse me?

I don't mean to insult you or anything but how did you came up with that idea?

comment 6y ago · link · parent

> you would hate him for the things other cops have done to you

I would not think of him any worse than if I saw a member of a gang/mafia/whatever that is actively extorting me saving someone.

comment 6y ago · link · parent

Certainly it will, but I said already that I am against cookie banners.

comment 6y ago · link · parent

Most often there is no opt-out button. Just a big banner that you have to ignore, click accept, or block using ublock origin. Pretty sure that they use cookies regardless of your choice.

comment 6y ago · link · parent

> Because browsers make it an all or nothing setting (all, 1st party, none)

At least for Firefox this is not the case. Anyway, extensions like uMatrix exist.

> the DNT header

The DNT header is yet another way for sites to track you. I am glad it failed.

comment 6y ago · link · parent

Never understood the cookie popups mess. I remember back in the ages of internet explorer it showed a popup when a site tried to use cookies, why do the sites need to implement the cookie popups rather than let the users configure it in their browsers?

comment 6y ago · link · parent

Why would you need to use cookies for users that are not logged-in in a youtube clone?

comment 6y ago · link · parent

Why is that? Surely if X is bad it should be bad for everyone rather than only for big companies.

comment 6y ago · link · parent

More power to the goverment and less freedom and privacy for the citizen, what could go wrong?

comment 6y ago · link · parent

> By definition there is a 1:1 correlation to the input

But it is still not detectable without the key.

comment 6y ago · link · parent

You could also use the SSE/AVX registers.

comment 6y ago · link · parent

Check out https://blog.cr.yp.to/20140205-entropy.html Yes, xorring RDRAND with your existing secret can hurt security in certain cases.

comment 6y ago · link · parent

> Even Bernstein doesn't really argue that RDRAND hurts security in the design context you're talking about

Would you mind explaining https://blog.cr.yp.to/20140205-entropy.html then?

comment 6y ago · link · parent

check my username

comment 6y ago · link · parent

You can trivially prove bottom in Haskell. Something like Agda or Idris would indeed fit the bill better.

Anyway, I said that this specific issue would not occur in a language with dependent types -- where incorrect code would cause the implementation to crash. Not that it is impossible to have a buggy compiler that at certain cases produces segfaults.

comment 6y ago · link · parent

I said "a language with a proper type system". Rust is not one such language.

comment 6y ago · link · parent

This would not have happened in a language with a proper type system as the type checker would have rejected the program at compile time.

comment 6y ago · link · parent

> Edward Snowden did not go through the proper channels

I will disagree. Releasing all the information to the public is the only proper channel.

> information he stole about government programs

Copying information is in no way similar to stealing.

comment 6y ago · link · parent

As far as I know garlic tunnelling that i2p uses is not as vulnerable.

comment 6y ago · link · parent

> They don't even know that they're in the same circuit unless they have a covert channel (like relay early) or manage traffic correlation during the ~10 minute circuit lifetime.

No reason to think that they would not do that.

> And then, using onion services, there are two three-relay circuits that meet at a rendezvous point. One picked by the onion, and the other by the user. So even deanonymizing one of those circuits would be insufficient.

It would be sufficient to de-anonymise one of the parties.

> In practice, there are likely undisclosed vulnerabilities. Perhaps lots of them.

My point is that you do not need an undisclosed vulnerability to break tor if you have enough resources.

comment 6y ago · link · parent

As far as I know, even when you use hidden services it is enough for the 1st and the 3rd to be malicious in order to de-anonymise a user. The tor security is barely enough (if it is enough at all) - there is no reason to believe that the FBI/FSB/etc don't have enough relays up in order to de-anonymise most users. I2P is much better in that regard.

Heck, until recently the tor team used 80-bit truncated sha-1, 1024-bit rsa, and 128-bit AES for their traffic, not to mention that the tor browser ships with javascript enabled by default.

comment 6y ago · link · parent

Why regulate it? Why not let the people judge for themselves?

comment 6y ago · link · parent

This should happen only during the handshake though.

comment 6y ago · link · parent

The question is, why ever use a unique user agent?
1
343536
42