Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. oh, oh wow

oh, oh wow

Scheduled Pinned Locked Moved Uncategorized
33 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ireneista@adhd.irenes.spaceI ireneista@adhd.irenes.space

    we disapprove of global mutable state, so whenever we do add a non-waiting variant, it would be a separate call with a separate name, not a flag we toggle

    ireneista@adhd.irenes.spaceI This user is from outside of this forum
    ireneista@adhd.irenes.spaceI This user is from outside of this forum
    ireneista@adhd.irenes.space
    wrote last edited by
    #24

    (at the kernel level, it's an ioctl() that you do on the file descriptor, which persistently changes its behavior, but we can still organize our tooling to hide that fact, if we want, and we do)

    notionally it could have the same responsibilities but in a non-waiting version

    or we could break the responsibilities down into even more granular pieces. hm hmmm. these are deep questions

    ireneista@adhd.irenes.spaceI A 2 Replies Last reply
    0
    • ireneista@adhd.irenes.spaceI ireneista@adhd.irenes.space

      (at the kernel level, it's an ioctl() that you do on the file descriptor, which persistently changes its behavior, but we can still organize our tooling to hide that fact, if we want, and we do)

      notionally it could have the same responsibilities but in a non-waiting version

      or we could break the responsibilities down into even more granular pieces. hm hmmm. these are deep questions

      ireneista@adhd.irenes.spaceI This user is from outside of this forum
      ireneista@adhd.irenes.spaceI This user is from outside of this forum
      ireneista@adhd.irenes.space
      wrote last edited by
      #25

      "peek" is already a really nice word for "look to see what's there but carefully don't change anything"

      it's not immediately obvious what word we would use for "be even more careful than peeking, just make it really quick"

      oh - "glimpse" lol... if we want to run with the visual metaphor. maybe we do.

      ireneista@adhd.irenes.spaceI 1 Reply Last reply
      0
      • ireneista@adhd.irenes.spaceI ireneista@adhd.irenes.space

        "peek" is already a really nice word for "look to see what's there but carefully don't change anything"

        it's not immediately obvious what word we would use for "be even more careful than peeking, just make it really quick"

        oh - "glimpse" lol... if we want to run with the visual metaphor. maybe we do.

        ireneista@adhd.irenes.spaceI This user is from outside of this forum
        ireneista@adhd.irenes.spaceI This user is from outside of this forum
        ireneista@adhd.irenes.space
        wrote last edited by
        #26

        okay. fine. we aren't deciding on "glimpse" now, we just wanted to know there's at least one reasonable way forward before we proceed with "peek". there is, so we're going to proceed. yay πŸ™‚

        ireneista@adhd.irenes.spaceI 1 Reply Last reply
        0
        • ireneista@adhd.irenes.spaceI ireneista@adhd.irenes.space

          okay. fine. we aren't deciding on "glimpse" now, we just wanted to know there's at least one reasonable way forward before we proceed with "peek". there is, so we're going to proceed. yay πŸ™‚

          ireneista@adhd.irenes.spaceI This user is from outside of this forum
          ireneista@adhd.irenes.spaceI This user is from outside of this forum
          ireneista@adhd.irenes.space
          wrote last edited by
          #27

          keeping these big-picture concerns in mind can be tedious

          ireneista@adhd.irenes.spaceI 1 Reply Last reply
          0
          • ireneista@adhd.irenes.spaceI ireneista@adhd.irenes.space

            keeping these big-picture concerns in mind can be tedious

            ireneista@adhd.irenes.spaceI This user is from outside of this forum
            ireneista@adhd.irenes.spaceI This user is from outside of this forum
            ireneista@adhd.irenes.space
            wrote last edited by
            #28

            hmmmm okay, so, we think we'll have consume do nothing if the buffer is already empty

            ireneista@adhd.irenes.spaceI 1 Reply Last reply
            0
            • ireneista@adhd.irenes.spaceI ireneista@adhd.irenes.space

              hmmmm okay, so, we think we'll have consume do nothing if the buffer is already empty

              ireneista@adhd.irenes.spaceI This user is from outside of this forum
              ireneista@adhd.irenes.spaceI This user is from outside of this forum
              ireneista@adhd.irenes.space
              wrote last edited by
              #29

              we could make it silently corrupt internal data structures in that case, but that feels pointlessly cruel to our future selves πŸ˜„

              A 1 Reply Last reply
              0
              • ireneista@adhd.irenes.spaceI ireneista@adhd.irenes.space

                (at the kernel level, it's an ioctl() that you do on the file descriptor, which persistently changes its behavior, but we can still organize our tooling to hide that fact, if we want, and we do)

                notionally it could have the same responsibilities but in a non-waiting version

                or we could break the responsibilities down into even more granular pieces. hm hmmm. these are deep questions

                A This user is from outside of this forum
                A This user is from outside of this forum
                alwayscurious@infosec.exchange
                wrote last edited by
                #30

                @ireneista preadv2, pwritev2, send, recv, sendmsg, recvmsg, and the like all have ways to avoid blocking.

                1 Reply Last reply
                1
                0
                • R relay@relay.infosec.exchange shared this topic
                • ireneista@adhd.irenes.spaceI ireneista@adhd.irenes.space

                  we could make it silently corrupt internal data structures in that case, but that feels pointlessly cruel to our future selves πŸ˜„

                  A This user is from outside of this forum
                  A This user is from outside of this forum
                  alwayscurious@infosec.exchange
                  wrote last edited by
                  #31

                  @ireneista Isn’t the complete lack of type checking in Forth already cruel? πŸ˜†

                  ireneista@adhd.irenes.spaceI 1 Reply Last reply
                  0
                  • A alwayscurious@infosec.exchange

                    @ireneista Isn’t the complete lack of type checking in Forth already cruel? πŸ˜†

                    ireneista@adhd.irenes.spaceI This user is from outside of this forum
                    ireneista@adhd.irenes.spaceI This user is from outside of this forum
                    ireneista@adhd.irenes.space
                    wrote last edited by
                    #32

                    @alwayscurious it's for sure a thing we're going to change πŸ˜„

                    A 1 Reply Last reply
                    0
                    • ireneista@adhd.irenes.spaceI ireneista@adhd.irenes.space

                      @alwayscurious it's for sure a thing we're going to change πŸ˜„

                      A This user is from outside of this forum
                      A This user is from outside of this forum
                      alwayscurious@infosec.exchange
                      wrote last edited by
                      #33

                      @ireneista Static or dynamic?

                      1 Reply Last reply
                      1
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups