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

Do you really believe that there is no human on earth that believes that the value of the goods looted from them is higher than the one who looted them? If so (no offence intended) I think that you might be detached from society.

> mentally tagging them as a sociopath

You would discriminate against people solely due to their feelings - something which they have no control over and does not affect you?

comment 6y ago · link · parent

> To be honest, how you make the jump from looting and destroying property to someone's life being threatened is beyond me.

From "this is calling for summary judgement and execution without trial. Whatever happened to innocent until proven guilty?"

> Destroying or stealing property doesn't justify killing

This is not some universal truth as you try to make it to be, but rather your personal morals.

> Having your property taken away doesn't imply a threat to you

As I said before "Sure it does. If it did not everyone owning property would go to the entrance and physically block it. In addition it implies imminent threat to the well-being of these that have their property taken away from them."

The looters are looting while using the threat of violence.

> if that's the standard then we should just execute every petty thief and vandal

As I said before "Under normal conditions I would support shooting them only if it is the only/safest way to stop them (either from committing the act or from running away)."

What is the point of repeating the same statements over and over?

comment 6y ago · link · parent

> Because it slows down anyone looking to crack/reverse the passwords?

Good luck brute-forcing through 2^256 passwords. The speed of the hash function should not matter.

If you still want a slow hash function though then just use more rounds.

> The only thing protecting your high entropy password is the cost of the hash

No, not really. It is the fact that the password is high entropy, combined with the preimage resistance of the hash.

> If you could run infinite attempts in 2 seconds then even your high entropy password would fail.

So would your pkdf.

comment 6y ago · link · parent

> Your argument here seems to be that human life is worth less that the value of looted goods

I do not subscribe to the notion of universal value. I do think however that for someone the value of looted goods can be greater than the random person who looted them, surely you must also agree with this.

Anyway, looting has effects in the real world too, it is not only "oh no, I lost some value", it is "they looted my shop so my family might go hungry".

> Should we stop someone looting things? Yes. Should we kill them just over the theft? No, of course not.

If we have the option to stop them (along with the rest of the looters) without killing them then sure.

comment 6y ago · link · parent

> looting doesn't imply imminent harm or threat to someone

Sure it does. If it did not everyone owning property would go to the entrance and physically block it. In addition it implies imminent threat to the well-being of these that have their property taken away from them.

> If you think someone should be shot because they stole / destroyed some property

Under normal conditions I would support shooting them only if it is the only/safest way to stop them (either from committing the act or from running away).

> Whatever happened to innocent until proven guilty?

Except the ones that are shoot while they are looting are provably guilty.

Are you against the police shooting someone that threatens the life of an innocent?

Edit:

> We're talking about the police / military shooting looters

You pay your taxes so that the police / military protect you and your property.

comment 6y ago · link · parent

> Because shooting looters is disproportionate

Debatable

> You arrest them and charge them for burglary, and then determine mitigating factors

This is not possible to be done in scale in a mass-looting situation.

> The looters aren't shooting people

The looters are looting while using the threat of violence.

> As for why it is bad to kill someone that isn't a killer, we have to go back to general moral philosophy and common law

You say that as if it is some form of universal truth. I do not share your personal morals regarding this.

> Yes, in times of mass-looting, it would be better to have a functional police system that would be able to arrest, charge for burglary, and then determine mitigating factors by looking at the overall context

Certainly, but my argument is that no police force on the planet would be able to handle mass-looting in scale and in the way that you propose. This is like saying "just stop putting bugs in your code". Anyway, this whole thread is about trump saying that he will send the military if the governor is not able to handle it his own way - which is likely similar to the way that you are proposing.

> the aim is to re-assert control in a non-escalatory fashion

How are you planing to do that? Especially in a way that has the least amount of looting happen.

comment 6y ago · link · parent

> because it would be enforcing a death penalty for theft

Looting is not just theft

> because it's extra-judicial (no arrest, no jury, no conviction, etc...).

Is it still bad if the police shoot someone attempting to murder someone else?

comment 6y ago · link · parent

I think that you forgot to mention that https://news.ycombinator.com/item?id=21018041 was an act done by the US military, and it was not the only one of its kind. I would understand if most USA citizens did not give a shit if it was done by a 3rd party, but it was done by their own military which they fund via their own taxes.

comment 6y ago · link · parent

> It is bad because the value of human life (even people you don't like) is infinitely greater than material goods

The human life of the people looting your property is more important than the well-being of you and your family who will be in debt after that, I see.

Regardless, this seems to be your personal value, something that I (and most people that I know) do not seem to share - even the US constitution and laws do not seem to share it, after all it is legal to shoot someone invading your home. I have no grief to give to someone who died while trying to invade my home and loot my property. They are dead due to their own choices.

> A looted store can be repared, restocked, rebuilt

For free? It can be a lifetime's worth for some. Are you willing to pay it out of your own pockets? If there were enough people willing to do so I would support your statement, but that does not seem to be the case.

comment 6y ago · link · parent

Why would that be bad exactly? Anyway, I am glad that you did not have to survive through something like that.

> What is better is to have a functional police system that responds proportionately.

In times of mass-looting? I doubt that even the most functional police system could be able to help.

That being said we are talking about the extremely dysfunctional American police system. I doubt that they can change it into a functional one within an hour. What would you suggest for right now?

comment 6y ago · link · parent

I proposed no method. I simply made the statement that typical cryptographic hash functions are optimal (and better than the alternatives) for high entropy passwords. I said nothing regarding low-entropy passwords.

> I also see no benefit to that approach

- less primitives

- faster

- less memory usage

- no concern regarding cycles

comment 6y ago · link · parent

> The leader of the United States encouraging law enforcement and the military to shoot American citizens for looting, that's the line.

Is this supposed to be bad? I actually wish that our own PM had done the same. I am sure that the citizens of a lot of countries that live under the rule of criminal syndicates, looters, and highwaymen would agree.

It seems that the US citizens are fine with state mandated violence as long as it does not include them. Nothing happened regarding https://news.ycombinator.com/item?id=21018041 for example.

comment 6y ago · link · parent

Not sure what you mean. Free speech as a concept apples to them as well. Free speech as a law however does not force them to keep content up.

comment 6y ago · link · parent

Depends on what you want to do. For hash tables and macs there is siphash. There is also Chaskey (although this is optimised for embedded systems I think).

comment 6y ago · link · parent

I do not see how this is relevant to what I said.

comment 6y ago · link · parent

Please justify why hashing a high entropy password should have a high cost. I can't see any benefit arising from this. If anything you lose entropy if you use something like pbkdf due to cycles.

comment 6y ago · link · parent

I disagree, I would argue that they are optimal for passwords with sufficient entropy (which includes passwords generated by a password manager)

> argon2

It uses BLAKE2 internally

comment 6y ago · link · parent

I do not think that this would work for the hashes that are used in signatures sadly. In addition I do not see the point for the digest-length parameter.

comment 6y ago · link · parent

This is not a preimage attack.

comment 6y ago · link · parent

Safe enough, but why not use a modern hash function instead?

comment 6y ago · link · parent

I am not sure why you mentioned passwords. Collision attacks do not affect the use of hash functions for password hashing.

comment 6y ago · link · parent

Is git fixed yet?

comment 6y ago · link · parent

Recent and relevant https://news.ycombinator.com/item?id=23223219

comment 6y ago · link · parent

It will soon be hard for free software to ship with non-vulnerable version of qt though https://mail.kde.org/pipermail/kde-community/2020q2/006098.h...

comment 6y ago · link · parent

> I've literally had conversations on the Fediverse where people expected and wanted blockchain-like replicas of their content onto everyone else's computer. And for everyone else to read it.

I honestly doubt that. Are you sure that you are not straw-manning them? In my experience they usually complain about how admins strip the ability to read their posts from the users registered in said instances.

comment 6y ago · link · parent

> If you are that rare

Except it is not rare at all. Did you read what I posted regarding fediblock?

A simple question, do you block fedi.absturztau.be by any chance?

comment 6y ago · link · parent

I am not talking about Gab. I am talking about the other instances that were silenced in their crusade.

comment 6y ago · link · parent

> in what shows up in the tags where us admins share block recommendations

Things like #fediblock you mean? Most of the block suggestions there are

- against instances because they federate (as in, they let their users view and reply to posts) with certain other instances (gab, kiwifarms, etc) even if indirectly <https://tabletop.social/@host/103308182908324413>

- against instances that host anyone who kyzh doesn't like

- against instances that host someone who got tagged by someone else that resides in an already blocked instance <https://toot-lab.reclaim.technology/@djsundog/10402250286634...

- against instances for no reason given at all <https://tenforward.social/@guinan/104015065073049864>

- against instances for made-up reasons

- against non-instances <https://mastodon.art/@Curator/103768019516091512>

Seeing an instance on a block tag does not mean anything other than that certain extremist elements are finding said instance to not strictly follow their party line at the first glance.

> Watching anime is fine by me, I’ve enjoyed the hell out of a lot of the stuff in my time.

What was your intention by focusing at the anime avatars then? To promote prejudice? To focus on the fact that they are introverts? To make fun of them for being unmanly and having cute avatars? There seems to be a lot of bullying directed at people just because of their avatars.

As I said before my experience is exactly the opposite. I started making all of my statuses private because I was getting stressed every time that someone from mastodon reposted or replied to my status. There seems to be an endless supply of mastodon users willing to jump on random threads just to insult, harass, and shit-talk people behind their backs.

comment 6y ago · link · parent

> This changes nothing

The change is that it empowers the users.

> one blocklist will get a lot of users, end up as a "recommended" setting

This is fine as long as the users select said list out of their own will.

> then all those hurt that their bigoted views aren't more popular will moaning about "free speech" again.

Have you considered the possibility that a lot of non-bigoted views are currently blocked due to trigger-happy admins?

comment 6y ago · link · parent

> A first feature is the ability to define “interesting” types. By interesting I mean “generic” types which do things depending on the types of their arguments

LF does not have higher kinded types but it does have dependent types.

1
202122
42