Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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 (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I wonder if I should chance it

I wonder if I should chance it

Scheduled Pinned Locked Moved The Lounge
designcomgraphicsiothelp
11 Posts 7 Posters 0 Views 1 Watching
  • 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.
  • H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #1

    I wrote a little C implementation of a ring buffer I was using for serial UART code. It wasn't very efficient because it only dealt with puts and gets one byte at a time. I improved it to deal in adding and reading series of bytes at a time. I wrote it for someone I met on reddit who taught himself to code recently. I respect the effort, but bear in mind he taught himself to code recently. Not really thinking about that code, I sent it off to him and it didn't occur to me to stash it somewhere. It was just something I threw together to help someone out. Turns out, that bit of code was gold. And I can't find it. I could get some iteration of it back from the person on reddit, but I know they've already hacked it some - they told me as much. Yikes. I tried to wrap my head around it to rewrite it, but I'm already dealing with overlapped I/O in windows w/ COM ports right now, and I can't spin that many plates these days, at least at once. I'll have to come back to it later, except I'm blocked now for want of the ring buffer. I wish I had that code. Nice bit of kit that, a circular buffer you could write entire chunks to and from. I didn't think it was that big of a deal when I wrote it. X|

    Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

    OriginalGriffO CPalliniC M S P 5 Replies Last reply
    0
    • H honey the codewitch

      I wrote a little C implementation of a ring buffer I was using for serial UART code. It wasn't very efficient because it only dealt with puts and gets one byte at a time. I improved it to deal in adding and reading series of bytes at a time. I wrote it for someone I met on reddit who taught himself to code recently. I respect the effort, but bear in mind he taught himself to code recently. Not really thinking about that code, I sent it off to him and it didn't occur to me to stash it somewhere. It was just something I threw together to help someone out. Turns out, that bit of code was gold. And I can't find it. I could get some iteration of it back from the person on reddit, but I know they've already hacked it some - they told me as much. Yikes. I tried to wrap my head around it to rewrite it, but I'm already dealing with overlapped I/O in windows w/ COM ports right now, and I can't spin that many plates these days, at least at once. I'll have to come back to it later, except I'm blocked now for want of the ring buffer. I wish I had that code. Nice bit of kit that, a circular buffer you could write entire chunks to and from. I didn't think it was that big of a deal when I wrote it. X|

      Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      That's why I often write a quick Tip here on something I've done - it's come in handy on several occasions when I get to need it again!

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      CPalliniC H 2 Replies Last reply
      0
      • OriginalGriffO OriginalGriff

        That's why I often write a quick Tip here on something I've done - it's come in handy on several occasions when I get to need it again!

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

        CPalliniC Offline
        CPalliniC Offline
        CPallini
        wrote on last edited by
        #3

        Indeed.

        "In testa che avete, Signor di Ceprano?" -- Rigoletto

        In testa che avete, signor di Ceprano?

        1 Reply Last reply
        0
        • H honey the codewitch

          I wrote a little C implementation of a ring buffer I was using for serial UART code. It wasn't very efficient because it only dealt with puts and gets one byte at a time. I improved it to deal in adding and reading series of bytes at a time. I wrote it for someone I met on reddit who taught himself to code recently. I respect the effort, but bear in mind he taught himself to code recently. Not really thinking about that code, I sent it off to him and it didn't occur to me to stash it somewhere. It was just something I threw together to help someone out. Turns out, that bit of code was gold. And I can't find it. I could get some iteration of it back from the person on reddit, but I know they've already hacked it some - they told me as much. Yikes. I tried to wrap my head around it to rewrite it, but I'm already dealing with overlapped I/O in windows w/ COM ports right now, and I can't spin that many plates these days, at least at once. I'll have to come back to it later, except I'm blocked now for want of the ring buffer. I wish I had that code. Nice bit of kit that, a circular buffer you could write entire chunks to and from. I didn't think it was that big of a deal when I wrote it. X|

          Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

          CPalliniC Offline
          CPalliniC Offline
          CPallini
          wrote on last edited by
          #4

          C'mon, you can (re-)do it. It doesn't look so difficult (keeping in mind your skills).

          "In testa che avete, Signor di Ceprano?" -- Rigoletto

          In testa che avete, signor di Ceprano?

          M 1 Reply Last reply
          0
          • H honey the codewitch

            I wrote a little C implementation of a ring buffer I was using for serial UART code. It wasn't very efficient because it only dealt with puts and gets one byte at a time. I improved it to deal in adding and reading series of bytes at a time. I wrote it for someone I met on reddit who taught himself to code recently. I respect the effort, but bear in mind he taught himself to code recently. Not really thinking about that code, I sent it off to him and it didn't occur to me to stash it somewhere. It was just something I threw together to help someone out. Turns out, that bit of code was gold. And I can't find it. I could get some iteration of it back from the person on reddit, but I know they've already hacked it some - they told me as much. Yikes. I tried to wrap my head around it to rewrite it, but I'm already dealing with overlapped I/O in windows w/ COM ports right now, and I can't spin that many plates these days, at least at once. I'll have to come back to it later, except I'm blocked now for want of the ring buffer. I wish I had that code. Nice bit of kit that, a circular buffer you could write entire chunks to and from. I didn't think it was that big of a deal when I wrote it. X|

            Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

            M Offline
            M Offline
            MarkTJohnson
            wrote on last edited by
            #5

            Did the person happen to throw your code into a repository?

            I’ve given up trying to be calm. However, I am open to feeling slightly less agitated. I’m begging you for the benefit of everyone, don’t be STUPID.

            H 1 Reply Last reply
            0
            • CPalliniC CPallini

              C'mon, you can (re-)do it. It doesn't look so difficult (keeping in mind your skills).

              "In testa che avete, Signor di Ceprano?" -- Rigoletto

              M Offline
              M Offline
              Member_16104100
              wrote on last edited by
              #6

              Dance with Me" is a song by American R&B singer Debelah Morgan, released on June 19, 2000, as the first single from Morgan's third studio album of the same name.The Girl Who Loved To Sing is a book that will make you marvel at the spirit of Teejan Bai, who fought for Core Ball her right to be allowed to sing. Teejan Bai, a world renowned singer, born in small village called Ganiyari had to fight patriarchy and misogyny since she was born.

              When you sing, you put your whole soul into the song. Think about it, singing is not an involuntary bodily function, it requires a bit of effort and, for some, even courage. With the music you express emotions that you might otherwise not be able to express.

              1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                That's why I often write a quick Tip here on something I've done - it's come in handy on several occasions when I get to need it again!

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

                H Offline
                H Offline
                honey the codewitch
                wrote on last edited by
                #7

                Right? :) I do use codeproject that way, but I just didn't here.

                Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                1 Reply Last reply
                0
                • M MarkTJohnson

                  Did the person happen to throw your code into a repository?

                  I’ve given up trying to be calm. However, I am open to feeling slightly less agitated. I’m begging you for the benefit of everyone, don’t be STUPID.

                  H Offline
                  H Offline
                  honey the codewitch
                  wrote on last edited by
                  #8

                  No, not by the time they mangled it.

                  Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                  1 Reply Last reply
                  0
                  • H honey the codewitch

                    I wrote a little C implementation of a ring buffer I was using for serial UART code. It wasn't very efficient because it only dealt with puts and gets one byte at a time. I improved it to deal in adding and reading series of bytes at a time. I wrote it for someone I met on reddit who taught himself to code recently. I respect the effort, but bear in mind he taught himself to code recently. Not really thinking about that code, I sent it off to him and it didn't occur to me to stash it somewhere. It was just something I threw together to help someone out. Turns out, that bit of code was gold. And I can't find it. I could get some iteration of it back from the person on reddit, but I know they've already hacked it some - they told me as much. Yikes. I tried to wrap my head around it to rewrite it, but I'm already dealing with overlapped I/O in windows w/ COM ports right now, and I can't spin that many plates these days, at least at once. I'll have to come back to it later, except I'm blocked now for want of the ring buffer. I wish I had that code. Nice bit of kit that, a circular buffer you could write entire chunks to and from. I didn't think it was that big of a deal when I wrote it. X|

                    Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                    S Offline
                    S Offline
                    Southmountain
                    wrote on last edited by
                    #9

                    this time you can re-write this gold piece and post on code project. we can keep it for you:rose:

                    diligent hands rule....

                    1 Reply Last reply
                    0
                    • P Phil Hodgkins

                      I've done something similar, but email had still got it. If you emailed it do you still have access to that email, or does the recipient?

                      H Offline
                      H Offline
                      honey the codewitch
                      wrote on last edited by
                      #10

                      Hmmm. I should check my discord logs, as we moved to there from reddit.

                      Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                      1 Reply Last reply
                      0
                      • H honey the codewitch

                        I wrote a little C implementation of a ring buffer I was using for serial UART code. It wasn't very efficient because it only dealt with puts and gets one byte at a time. I improved it to deal in adding and reading series of bytes at a time. I wrote it for someone I met on reddit who taught himself to code recently. I respect the effort, but bear in mind he taught himself to code recently. Not really thinking about that code, I sent it off to him and it didn't occur to me to stash it somewhere. It was just something I threw together to help someone out. Turns out, that bit of code was gold. And I can't find it. I could get some iteration of it back from the person on reddit, but I know they've already hacked it some - they told me as much. Yikes. I tried to wrap my head around it to rewrite it, but I'm already dealing with overlapped I/O in windows w/ COM ports right now, and I can't spin that many plates these days, at least at once. I'll have to come back to it later, except I'm blocked now for want of the ring buffer. I wish I had that code. Nice bit of kit that, a circular buffer you could write entire chunks to and from. I didn't think it was that big of a deal when I wrote it. X|

                        Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                        P Offline
                        P Offline
                        Phil Hodgkins
                        wrote on last edited by
                        #11

                        I've done something similar, but email had still got it. If you emailed it do you still have access to that email, or does the recipient?

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


                        • Login

                        • Don't have an account? Register

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