Username

joined 1 year ago
[–] [email protected] 39 points 5 months ago

Then why does the kernel have a crypto API?

Checkmate, Satoshi Torvalds!

[–] [email protected] 1 points 6 months ago (4 children)

How can the ISP force their dns? They can't know where you got the destination ip from.

[–] [email protected] 0 points 6 months ago (1 children)

There also isn't a loop instruction though.

[–] [email protected] 4 points 7 months ago (1 children)

Not here, because it's being used as a function argument.

[–] [email protected] 1 points 7 months ago (1 children)

It's not even controllable RGB? Just shitty rainbow all the time?

[–] [email protected] 16 points 7 months ago (3 children)

Other way round: prefixes that contain "bi" are binary, so 1024-based.

[–] [email protected] 6 points 8 months ago

The truth is that there is value in both a generalist and a specialist.

[–] [email protected] 1 points 10 months ago

I think that's fairly obvious with the smaller text and context.

[–] [email protected] 4 points 11 months ago (1 children)

Yeah I get it, it was just something I noticed. A pedantic lint, you could say.

[–] [email protected] 5 points 11 months ago* (last edited 11 months ago) (4 children)

I wanted to ask why it's bad, what did you change?

Btw. the example function get_default is badly chosen, because unwrap_or_default exists.

[–] [email protected] 10 points 1 year ago

That's not how any of this works.

First of all, stripping passwords is never okay. You can reject the password and let the user choose a new one, but never just modify it on your own.

Then, if your system is at risk of code injection by certain characters in user input, please just shut it down and never turn it on again.

[–] [email protected] 17 points 1 year ago (5 children)

Stripping characters from passwords, great idea! Right up there with truncating passwords that are too long.

view more: ‹ prev next ›