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

> but would do a lot I think to curb both bribery and extortion

I disagree. If anything it will push them for more bribery and extortion. Wealth seeks wealth and there is never enough wealth.

comment 6y ago · link · parent

> birth control women can apply comes with sometimes severe side effects

Condoms exist.

> and even for that my wife needs my consent here in the Maghreb

Time to fix it.

> Having an abortion just got a lot harder in parts of the US, is even more limited in most parts of south america, requires consent of a male guardian in lots of islamic countries or is just illegal

Time to fix that as well.

> I still fail to see where the actual choices are.

How about not having sex in addition with birth control and abortion? Anyway, I am pretty sure that most women who take maternity leave actually wanted to have a child.

comment 6y ago · link · parent

DJB seems to have a disagreement regarding some statements that NIST made https://twitter.com/hashbreaker/status/1288039119805747200

"Misrepresentations of security proofs are starting to cause serious damage. The embarrassingly wrong idea that there's a proof that the "security of NewHope is never better than that of KYBER" is the centerpiece of NIST removing NewHope from #NISTPQC. See https://nvlpubs.nist.gov/nistpubs/ir/2020/NIST.IR.8309.pdf

Known hybrid attacks are faster against Kyber than against NewHope. (Kyber missed this because its security analysis was oversimplified; I'm writing a paper on this.) More to the point, it's clear that there isn't and won't be a proof that Kyber is at least as secure as NewHope.

Cryptographers who condone exaggerations of what has been proven share responsibility for any resulting security failures. We cannot simply ignore the increased influence of dangerously oversimplified "provable security" claims upon standards and deployment. This is not a game."

comment 6y ago · link · parent

> and less on the infrastructure and syntax required to solve the problem

I do not think that this is true for python any more than it is true for haskell for example.

comment 6y ago · link · parent

Interesting, thanks.

> depending on salary

I never understood why they make it scale. Apparently Australia has parental leave too but at the minimum wage.

comment 6y ago · link · parent

In python you have to focus more on the debugging where this run-time type-error came from. Also, Haskell has type inference unlike the other two.

comment 6y ago · link · parent

I would argue that exposing the rapist so that other women do not fall victim to them is desirable but at the same time I would not want to force women to disclose it if they do not wish to.

> They shouldn't have to tell anyone that if they do not wish to disclose it.

As long as they are fine with not getting the maternity leave, sure.

> how they talk to that child about their paternity should be a private matter. It will be difficult no matter what they do.

Certainly, I will not disagree.

comment 6y ago · link · parent

> 3. Women can be virtuously celibate and chaste and wind up pregnant due to being forcibly raped.

Certainly but this is an extreme case that should be handled differently. How much % of the people getting paid a maternity leave do so due to rape?

comment 6y ago · link · parent

Sure but 1) The chance of birth control failing is quite small (most people who take maternity leave did not become pregnant due to birth control failing) and usually can be detected if it does. 2) Abortions exist. 3) The positives and the potential negatives of an action should always be evaluated and the people committing said action should assume full responsibility for it.

comment 6y ago · link · parent

> is generally the thinking of enormously privileged people for whom birth control is taken as a given

If you do not have money for birth control then for sure you do not have enough money for a child. I suggest abstaining from sex in that case.

> Throughout human history, much of our systems of morality, like shotgun weddings, were rooted in "Babies happen. What now?"

Not sure how this is relevant, we are living in the present.

comment 6y ago · link · parent

> I don't care if you're a boy

You care enough to call me one.

> Your views are sexist

Because I think that the taxpayers nor the employers should be forced to pay neither men nor women maternity leave?

> If I knew how little you made I wouldn't even considered you a developer who has opinions on this.

Sorry for chosing to be born in a poor country I guess. (besides, it is not as if unpaid people who are developers of open source software do not exist)

> If you don't work in the United States then this conversation isn't for you

Do you not realize that you are the first person who mentioned the US in this thread?

> However hard you think you have it at the expense of women getting paid while they give birth to humans isn't as hard as you think

What?

> because higher quality of life

Yeah no. The quality of life is much better in the US or in the capitals of richer EU countries (but not in their smaller cities).

comment 6y ago · link · parent

> Men should get paternity leave too

Or neither should.

> In most countries they do

Nope

> but European countries

I am living in one.

> y'all boys

Not a boy

> telling women creating you has no economic value

I did not say that.

> this entitled nonsense

So I am entitled for saying that you are not entitled to money that you did not earn? What?

> while you scoop up those six figure salaries

More like barely 5 figure salaries.

You do not know me, do not act like you do.

comment 6y ago · link · parent

Please do not forget events such as https://en.wikipedia.org/wiki/Guildford_Four_and_Maguire_Sev..., they were arrested solely because they happened to be Irish and nearby an IRA attack.

> At their trial the judge told the defendants, "If hanging were still an option you would have been executed."

from https://en.wikipedia.org/wiki/Gerry_Conlon

Considering the amount of cases in https://en.wikipedia.org/wiki/Category:Overturned_conviction... I would not put too much trust in the UK legal system.

comment 6y ago · link · parent

They still did not add support for a secure hash it seems.

comment 6y ago · link · parent

> (I was too lazy to make getsum actually download the file if the checksum matches, but that should be trivial; for now just do "getsum $url && wget $url").

Please don't. Instead check the hash of the local file. A malicious server could serve a different file for getsum and for wget (bonus point: you won't have to download it twice)

comment 6y ago · link · parent

I think that this is an instance of ethical hacking. They hurry up to remove any and all instances of PII before some hostile actor scrapes them while at the same time punishing the people who leave their servers open without caring for their costumers.

To whoever is doing that: you are doing god's work, please keep it up.

comment 6y ago · link · parent

> Not only does my IoT device have to be functional, but it now has to have a gateway that is functional at the same time in order to be useful

Consider it differently. Your IoT stove, IoT coffee maker, IoT washing machine, IoT lights, etc do not need to be secure if they are behind a secure gateway.

> And, besides, a private network is only private until one of the devices gets compromised. Then it's not private anymore.

The gateway makes sure that nobody but you will be able to access (and thus compromise) your IoT freezer.

> Better to make your device capable of living on the real, hostile Internet.

Sure, but considering the amount of IoT botnet that is out there I do not think that this is going to happen.

comment 6y ago · link · parent

> It's called libsodium

And it's a gross mess. It's actually called NaCL.

comment 6y ago · link · parent

> You know, this starts to sound like anti-vaxxers

Do you support gate-keeping?

> Yeaaaaah, I definitely see the parallers with anti-vaxxers.

They did not educate themselves via facebook posts nor via youtube videos.

Regardless, are you saying that self-teaching is something only by charlatans? The only difference between being self-taught and being formally educated is that you do not have a mentor and that you do not get a degree at the end. You are going to use the same resources (books, handouts, presentations, etc) to learn stuff from.

> It's that you will fail and you will have side-channel attacks

See https://news.ycombinator.com/item?id=23952211

In addition to that loup intentionally implemented only DJB's algorithms (or algorithms based on DJB's primitives).

> You do not have the resources or the skills that multiple hundreds or thousands of people have

Yet their record is much better compared to other similar libraries that have the support of "multiple hundreds or thousands of people". looks at openssl

> a) developing crypto and b) breaking it.

> I've built my "novel" crypto scheme (any hash algorithm can be used to create a symmetric cipher), and I like it!

Loup implemented DJB's algorithms, not their own.

comment 6y ago · link · parent

> Yes, side channels can be a nightmare to track down

I think that this is extremely overrated. As long as you are using C (rather than some weird language), avoid branches with secrets, avoid indexing arrays with secrets, and avoid *, division, and mod with secrets it should be fine.

> https://twitter.com/bascule/status/1287113393439035392

Low quality posts like that which encourage dunking on people rather than discussion are what made me stop using twitter. Extremely disgusting on his part, I am sorry that you have to deal with this sort of bullying. (I also did not find any signed shift despite the claim of the person responding)

comment 6y ago · link · parent

> That being said I do not understand the need of this NIST competition. I had the believe that current SHA256/512 is quantum proof. Is that wrong? Why?

SHA2, SHA3, and AES256 are all quantum proof, yes. This competition is about asymmetric cryptography though, it replaces non-quantum proof algorithms such as RSA, DSA, ECC, etc.

comment 6y ago · link · parent

> Historically sometimes people would say "Well nobody would make an error like that in a modern elliptic curve scheme" and then Microsoft turns out to have shipped a very popular operating system named "Windows" which didn't do curve validation - so much for that belief.

I am pretty sure that CryptoAPI does not support (or at least did not at the time) any modern elliptic curve signature scheme, and by modern I am referring to thins like ed25519.

comment 6y ago · link · parent

You might want to check out https://groups.google.com/a/list.nist.gov/forum/#!topic/pqc-...

This project that you linked seems quite nice. I especically like its Code of Conduct.

1
101112
42