snaggen

joined 2 years ago
[–] snaggen@programming.dev -1 points 2 years ago (35 children)

Well, there is also a more right leaning take. You take care of your self and scratch your own itch, and you should not be a liability to the society, but make your self useful and contribute back. And I think this is kind of the reason FLOSS works well, it can be aligned with many philosophies.

[–] snaggen@programming.dev 5 points 2 years ago (2 children)

I noticed that the Flatpak didn't work on Fedora 39, probably due to how they build the flatpak or something. I had no problem taking screenshots under Fedora 39 Wayland session using the Appimage.

[–] snaggen@programming.dev 10 points 2 years ago (3 children)

Flameshot has wayland support, however there seems to be some issues that might need to be worked around. Like https://github.com/flameshot-org/flameshot/issues/3326#issuecomment-1854902229

[–] snaggen@programming.dev 9 points 2 years ago

If I look at what I use and what annoys me, I would have like to see focus on 'Dyn async trait' and 'Traits for being generic over runtimes'. I think it is quite annoying that you have to decide on a whole eco-system when you are doing async code. I have had times when I have search for a very niched library, only to find that it is written for the wrong async runtime. And the longer it takes to correct this, the more cemented it will be.

[–] snaggen@programming.dev 9 points 2 years ago (4 children)

Tested to search for a stomp rust crate and got horrible results. So, I guess that you should test the different search engines with your use case and see which one fits that.

[–] snaggen@programming.dev 0 points 2 years ago

My company actually used a whiteboard instead of a DNS for our internal network. We used it as a temp solution during setup, then 5 years later it was still in use. It worked quite well.

[–] snaggen@programming.dev 2 points 2 years ago (1 children)

Have you tried to run it as root?

[–] snaggen@programming.dev 5 points 2 years ago (5 children)

If there just were some link, to some blog post or something, that would expand on the topic.... with a tl;dr for the really lazy people... well, that would have been nice....

[–] snaggen@programming.dev 5 points 2 years ago

I see this post as an advice to learn gradually, and to write sloppy but painless code initially. Then when you have the basics, you can add the more idiomatic and tricky parts.

[–] snaggen@programming.dev 1 points 2 years ago

Well, you don't need it until you suddenly do. But I guess it might be very different for different users depending on your use case. I have found myself needing to go low level for async a few times, and I don't think I'm doing very strange things.

[–] snaggen@programming.dev 4 points 2 years ago (2 children)

Well, when you write async code, you may suddenly find your self needing to implement AsynRead or something similar. Suddenly you have to use pin, and understand how async worksbunder the hood. So, while I agree that async is not something fancy, it will possibly throw you in some quite advanced territory. The part I'm not sure I agree with is skipping the error handling. But I see what the authors intention is, to keep hairy stuff out of the way while learning the basics.

[–] snaggen@programming.dev 13 points 2 years ago (4 children)

But you are using characters you didn't invent to communicate this, without paying someone. Invent your own alphabet!

 

There seems to be a new Rust related podcast out. I will probably not have time to listen to it right away, so if someone listens to it, post and let me know if it is worth listening to.

17
submitted 2 years ago* (last edited 2 years ago) by snaggen@programming.dev to c/rust@programming.dev
 

An interesting blog post by @bagder@mastodon.social about security in curl

view more: ‹ prev next ›