and this is based on some old code that used to work quite nicely for that purpose ... but i can't reuse it because reasons :(
which is a damn shame because i liked it way better than #ratatui :(
and this is based on some old code that used to work quite nicely for that purpose ... but i can't reuse it because reasons :(
which is a damn shame because i liked it way better than #ratatui :(
hmm, i'm not sure i'm parsing your suggestion. is "pop something out" something that i should try doing, or is it a possibility that i need to account for?
the goal is to compose `Render`able widgets inside the `render` method of other widgets
Collected::Box is for when they are ephemeral (owned by the render method) and Collected::Ref is for when they are stateful (owned by the parent struct), if that makes sense
anyone got a clue what's going on here?
i know what the error message means, but i don't understand what causes `'static` lifetime to be required, considering I've explicitly specified the `'a`.
there's this answer https://users.rust-lang.org/t/box-with-a-trait-object-requires-static-lifetime/35261/2 but it's from 2019 - did the language change?
what am i overlooking?
That's definitely the case!
Granted, I'm not the best at tidying in the physical realm. Didn't see the point of it at first - until I had the realization that it's kinda like managing the entropy of things by pointing your attention at them 🤪
Over here it's the opposite: if I've embedded a few sketchy assumptions and moot points just to reach a milestone (as was the case here), my focus just fails to latch in "forward", and I end up alt-tabbing editor<->doomscrolling all day 😪
People have been cross at me for what's probably one of my most disruptive #programming habits, but the truth is - when velocity grinds to a halt and you find yourself inexplicably #stuck, like you just don't know what to do, just take a deep breath and... #refactor the hell out of the whole damn thing, preferably in one sitting, like a complete and utter #madman.
Meanwhile, looks like this project has crossed the 5000 #LOC barrier like wheeee...
Pushing an unfinished #commit makes me anxious. So do big refactors which may not pay off.
Yet, having to spend a couple days sitting down in a moving box without #Internet, I had just enough sitting down time to go about halfway through this one.
(Link to code in bio!)
Over the past month I've written this little #TUI #sequencer #groovebox #DAW thingy in #Rustlang
And here it is, playing a little #ditty that I composed on my #acoustic #guitar nearly 15 years ago, and has been bouncing around my head ever since.
Playback uses the #LV2 plugin #Odin2, which has largely replaced #Helm and #TAL-NoiseMaker as my favorite free softsynth.
It does play other sounds than square waves, I just haven't exposed all the #plugin parameters yet.
👁️ professional machine elf 👁️#js #ssh #tui #daw #rust #nixos #sexpr#codeberg 🔗 https://codeberg.org/unspeaker#basspistol 🔗 https://v.basspistol.org/c/tek/videos"insane project"🗨 @orhun "every new picture I see of this project shatters my conception of what its possible for a TUI to look like"🗨 @jaxter184
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.