GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Notices by (unposting) (unspeaker@mastodon.social), page 3

  1. Embed this notice
    (unposting) (unspeaker@mastodon.social)'s status on Wednesday, 21-Aug-2024 22:48:54 JST (unposting) (unposting)
    in reply to
    • esmevane, sorry

    @ironchamber

    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 :(

    In conversation Wednesday, 21-Aug-2024 22:48:54 JST from mastodon.social permalink
  2. Embed this notice
    (unposting) (unspeaker@mastodon.social)'s status on Wednesday, 21-Aug-2024 22:47:54 JST (unposting) (unposting)
    in reply to
    • esmevane, sorry

    @ironchamber

    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

    In conversation Wednesday, 21-Aug-2024 22:47:54 JST from mastodon.social permalink
  3. Embed this notice
    (unposting) (unspeaker@mastodon.social)'s status on Wednesday, 21-Aug-2024 22:34:28 JST (unposting) (unposting)

    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?

    #rust #rustlang #lifetime #bug #ratatui

    In conversation Wednesday, 21-Aug-2024 22:34:28 JST from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/113/000/208/748/624/140/original/f9281c7527dce0a4.png
    2. Domain not in remote thumbnail source whitelist: global.discourse-cdn.com
      Box with a trait object requires static lifetime?
      You can write code blocks by enclosing them with triple backticks ```: ```rust struct Holder { ... ``` giving: struct Holder { objects: Vec, } impl Holder { fn add_object ( self: &'_ mut Self, object: T, ) { self.objects .push(Box::new(object)) ; } } Now, regarding the issue at hand, Box is just sugar for Box
  4. Embed this notice
    (unposting) (unspeaker@mastodon.social)'s status on Monday, 05-Aug-2024 07:26:04 JST (unposting) (unposting)
    in reply to
    • esmevane, sorry

    @ironchamber

    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 😪

    In conversation Monday, 05-Aug-2024 07:26:04 JST from mastodon.social permalink
  5. Embed this notice
    (unposting) (unspeaker@mastodon.social)'s status on Monday, 05-Aug-2024 05:10:37 JST (unposting) (unposting)
    in reply to

    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...

    In conversation Monday, 05-Aug-2024 05:10:37 JST from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/112/905/342/566/074/052/original/9b95c6d6f0362bc8.png

  6. Embed this notice
    (unposting) (unspeaker@mastodon.social)'s status on Monday, 05-Aug-2024 05:10:37 JST (unposting) (unposting)

    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.

    #Rustlang #TUI #DAW

    In conversation Monday, 05-Aug-2024 05:10:37 JST from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/112/905/325/630/903/554/original/815bdffc5c2bb390.png
  7. Embed this notice
    (unposting) (unspeaker@mastodon.social)'s status on Tuesday, 09-Jul-2024 21:25:34 JST (unposting) (unposting)

    (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.

    In conversation Tuesday, 09-Jul-2024 21:25:34 JST from mastodon.social permalink

    Attachments



  • After

User actions

    (unposting)

    (unposting)

    👁️ 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

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          260237
          Member since
          14 May 2024
          Notices
          47
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          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.

          Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.