SufferingSteve

joined 3 weeks ago
[–] SufferingSteve@feddit.nu 5 points 1 day ago

Oh, you get out of here! this is not how the internet works!

[–] SufferingSteve@feddit.nu 4 points 2 days ago (1 children)
[–] SufferingSteve@feddit.nu 2 points 2 weeks ago

Just allow people to bring their own IDs to servers. Self sovereign IDs, or SSI for short.

Blockchain has a usecase here, and it would be for disabling your ID in case of privkey leak, or for having people or entities strengthen or verify your pubkey or tie a hash of your birth certificate to it.

Blockchains are great for providing reliable immutable and verifiable timestamps of data. The reason they are safe is because a lot of people have tied actual value to it, and thus most don't want to invalidate the blockchain and destroy their value.

[–] SufferingSteve@feddit.nu 5 points 2 weeks ago

You guys are re-inventing self sovereign IDs

[–] SufferingSteve@feddit.nu 9 points 2 weeks ago

They won, all lost

[–] SufferingSteve@feddit.nu 3 points 2 weeks ago (1 children)

Could not agree less. Reading others code is easy as pie in this language. Enforced standards, good automatic comment generation.

It's amazing

[–] SufferingSteve@feddit.nu 6 points 3 weeks ago (1 children)

"– Med tiden så finns det en risk att resenärer tappar förtroendet och slutar resa med tåget. "

Wow, känns som den kommentaren missade tåget för några år sedan.

[–] SufferingSteve@feddit.nu 2 points 3 weeks ago

I am aware. I even saw it while typing, but it was a typo that made my smile, while offending almost no-one. So I left it there for future smiles :)

[–] SufferingSteve@feddit.nu 3 points 3 weeks ago (3 children)

Oh yeah, not only inexperienced, but uncaring. Python is for people who truly do not care. They want it to "just work" and once it worked once, it's done.

And then they notice it wasn't done, slap some shifty patchwork on top of it. Prince and repeat for a truly masterful piece of spaghetti al dente

[–] SufferingSteve@feddit.nu 3 points 3 weeks ago

Done a lot of embedded work as well, but now mostly webstuff. I think I would prefer the embedded again, web is horrible the more you get to users and browsers, wasm isnt really all that, so many caveats.

Embedded is exhausting with its unsafe and slices everywhere. And whoever wanted most of the HAL traits to be fallible had me spinning in embedded-hal.

Why have the errors when you can't really handle most of them?

But Jesus if probe-rs and the gang att ferrous systems aren't revolutionizing the embedded space. It's amazing. And now the official hal from esp32, it's moving places!

[–] SufferingSteve@feddit.nu 2 points 3 weeks ago

:D mostly, there are still a few nice tools written in go that is quite useful, I just hope they will be replaced by rust software soon. Following the iroh project quite closely, I'm guessing someone will rewrite syncthing using that or p2panda soon.

But yeah, the rust Cli tools are just godsent compared to everything else. Ripgrep, fd-files, helix are used daily by me. Started using smartcat recently but I feel dirty knowing that Ollama is actually Go software...

57
Confession (feddit.nu)
submitted 3 weeks ago* (last edited 3 weeks ago) by SufferingSteve@feddit.nu to c/rust@lemmy.ml
 

I have been programming in Rust for about 8 years now. I love the language. But I feel I have some confessions I must make.

  1. I don't know if I use tabs or spaces in my final code. I just assume that it all get solved correctly by cargo fmt. I don't even understand that people have been arguing about this for real? I vaguely remember this being important in C and C++, but I am hoping I never go back to those dark days.

  2. I never do linebreaks, not even when adding my semicolons. I hit ":w" and if shit doesn't move around on my screen, I fucked up somewhere.

  3. The only lifetime I ever use is '_, 'a or 'static otherwise I give up

  4. Wtf is the 'de lifetime in serde deserialize??

  5. Rocket is the best web server

  6. I actively chose software written in Rust over other software, even if it's not better, and I argue that it is.

Okay, got that of my chest. Never dared telling anyone this before. Feels scary

view more: next ›