[-] Ogeon 2 points 2 days ago

"Search prompt engineer"

[-] Ogeon 2 points 4 days ago

Yeah, they look a bit stale.

[-] Ogeon 8 points 1 week ago

How much is that in ™?

16
submitted 2 weeks ago by Ogeon to c/rust

The maintainer here! Feel free to ask questions. I know especially CAM16 can feel a bit abstract if you aren't in the loop, but I will try to answer what I can. I have tried my best to explain the concepts in the docs, but it can always be better.

[-] Ogeon 16 points 3 weeks ago

A "mantra" more programmers should have is to fix the cause of the issue, and not just the symptoms. You have to understand what the problem is to be able to fix it.

[-] Ogeon 32 points 1 month ago* (last edited 1 month ago)

Ah, taking inspiration from late 1940's literature, I see. Smart!

[-] Ogeon 13 points 2 months ago

Simple features are often complex to make, and complex features are often way too simple to make.

11
submitted 2 months ago by Ogeon to c/rust

Just to reiterate what the linked blog post mentions; this isn't a bug with Iced, specifically, but seemed to have been brought into light by having Iced 0.12.0 among the dependencies. Many variants of this bug has been reported to the Rust compiler repository and some seem to be fixed by the next trait resolver.

25
submitted 3 months ago* (last edited 3 months ago) by Ogeon to c/rust

Hey, folks! Here's another update for Palette, the color crate I'm maintaining. Feel free to let me know if you have any questions or feedback! I will do my best to answer.

[-] Ogeon 48 points 6 months ago

It's useful for keeping track of your mental gymnastics.

[-] Ogeon 8 points 6 months ago

I don't know, something about seeing the same diarrhea pills ad over and over doesn't exactly spark joy for me.

[-] Ogeon 15 points 7 months ago

My shower has its own favorite temperature and will slowly readjust itself to it.

[-] Ogeon 20 points 7 months ago

Got myself a proper hiking backpack. An Osprey Exos 58L. Shifting much of the weight to the hips makes a massive difference and my back was very happy!

[-] Ogeon 22 points 7 months ago

Static types aside, the file system has a lot of failure cases, which every language is affected by, and Rust makes them very visible. This can indeed feel like a lot, but it's an intentional feature and makes more sense in larger projects. I guess the feeling may get amplified by the author's style of long form posts with a lot of details.

Error handling in practice contains a lot of "let the caller deal with it", using the ? operator to pass errors up the call stack. The more verbose options are for when you need to actually handle it.

[-] Ogeon 12 points 8 months ago* (last edited 8 months ago)

I'm of course only one single anecdotal sample, but the release cadence has probably been the least of my problems. My experience is that it's fine to not update for quite some time. I have a crate with 1.60 (released about one and a half years ago) as MSRV, which means I run unit tests with that version, as well as stable, beta and nightly. The only pressure to upgrade is that some dependencies are starting to move on. Not that the newer compilers reject my code, not even anything deprecated.

Also, small, frequent releases usually takes away a lot of the drama around upgrading, in my experience. Not the opposite. A handful of changes are easier to deal with than a whole boatload. Both for the one releasing and for the users.

11
submitted 9 months ago by Ogeon to c/rust

I suppose I should start posting updates here too. 😁

view more: next ›

Ogeon

joined 9 months ago