[-] dukk@programming.dev 4 points 1 year ago

oh nice, 20% off

[-] dukk@programming.dev 4 points 2 years ago

I’ve got to know: where’s the video?

[-] dukk@programming.dev 4 points 2 years ago

You should try it. Quick and easy way to get some fresh air…

[-] dukk@programming.dev 4 points 2 years ago

This advice is so beautiful, it makes me want to jump off a bridge.

[-] dukk@programming.dev 4 points 2 years ago

Perhaps not all 24 million people will cash out? IDK.

[-] dukk@programming.dev 4 points 2 years ago

Freaking love TUIs, it’s like they took the convenience of a GUI and the efficiency of the CLI and merged them. As a Neovim and Lazygit user myself it’s amazing what I can accomplish in but a few keypresses.

[-] dukk@programming.dev 4 points 3 years ago

Love myself some NixOS. All the customizability with none of the breakage. Pretty stable, very reproducible.

[-] dukk@programming.dev 4 points 3 years ago* (last edited 3 years ago)

That's the point of a hash function. You have a public hash function, say SHA-256. It's easy to check a username against it's hash, but virtually impossible to reverse the hash back to the username.

Edit: Instead of storing, say, eddie, we'd store 3b9d8298f1b5086d012618feebb2da1a394357c1dab7523443c9f6a743c4c84d. Then when the instance gets a Like from eddie, it hashes his username to get 3b9d8298f1b5086d012618feebb2da1a394357c1dab7523443c9f6a743c4c84d, realizes there's a match, and doesn't update the count.

Note that when given 3b9d8298f1b5086d012618feebb2da1a394357c1dab7523443c9f6a743c4c84d, it would take millions of CPU years to compute the original username from it. Therefore, we can check for duplicates without actually checking the name itself (a similar method is used for checking passwords; Lemmy is open source, we know the hashing algorithm, but we can't unhash user passwords, only check them).

[-] dukk@programming.dev 4 points 3 years ago

Honestly, things will go smooth as long as the Fediverse doesn’t scramble to adopt Meta protocols. Which, given the attitude I’ve been seeing, hopefully shouldn’t happen.

(We’ve seen how this went with Google and XMPP).

[-] dukk@programming.dev 4 points 3 years ago

I originally got it for some robotic projects, but ended up not needing it. Thought maybe I could put it to good use, so here I am.

[-] dukk@programming.dev 4 points 3 years ago

I personally use Neovim (it's not nearly as much work as people make it out to be), so it's all integrated within my terminal.

view more: ‹ prev next ›

dukk

0 post score
0 comment score
joined 3 years ago