Ogeon

joined 1 year ago
[–] Ogeon@programming.dev 12 points 1 year ago* (last edited 1 year 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.

[–] Ogeon@programming.dev 2 points 1 year ago

Do you want the background to have looped back to the start after one cycle? If so, you probably have to make it repeat N times more than the foreground, and move by a factor of 1/N in comparison to the foreground. Or put another way, have 1/N times the length. That means that after one cycle, the background has moved a distance of 1/N, but also repeated exactly once.

I hope this makes sense...

[–] Ogeon@programming.dev 4 points 1 year ago

I liked this talk on the subject: https://www.deconstructconf.com/2019/dan-abramov-the-wet-codebase

It's a nice explanation of how it's less about code that looks the same or currently performs the same operations, and more about what it means.

[–] Ogeon@programming.dev 1 points 1 year ago

The HTC color system? I have been looking at it and was planning to give it a try after CAM16 support is in. HTC is partially based on CAM16, after all. CAM16 is kind of complicated to get right, so it's taking a while...

[–] Ogeon@programming.dev 1 points 1 year ago

Alright, but nice that it turned out to be what they were looking for 😁

[–] Ogeon@programming.dev 1 points 1 year ago (4 children)

That's awesome to see! 👀 I actually found one or two of your repositories back when I was looking around at how people were using Palette (to not develop it in too much of a vacuum). I'm happy that you're finding it useful! Do you remember if there was any specific feature, when picking the crate, that you found particularly nice or helpful?

Also, don't hesitate to let me know if anything is missing or can be improved for your needs. 🙂 I try to keep the scope somewhat focused, but I'm always open to ideas and feedback.

view more: ‹ prev next ›