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. You ever get into one of these situations?

You ever get into one of these situations?

Scheduled Pinned Locked Moved The Lounge
designcomgraphicsiothelp
9 Posts 6 Posters 1 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.
  • honey the codewitchH Online
    honey the codewitchH Online
    honey the codewitch
    wrote on last edited by
    #1

    Alice Cooper wrote a song about being "stuck" called Lost in America

    Quote:

    I can't get a girl 'Cause I ain't got a car I can't get a car 'Cause I ain't got a job I can't get a job 'Cause I ain't got a car So I'm looking for a girl with a job and a car Don't you know where you are

    It's not really my cup of tea, and yet the catch 22 situation perfectly describes where I'm at right now. If I incorporate my new font engine into GFX, I break UIX, which I use to send GFX to the screen. Rebuilding UIX is not feasible at this point, as I'll get overloaded with tasks and I can't do that much work in tandem with other open issues on my primary project The whole project is like this. I need to break my pixel class and my draw destinations as well. That breaks thousands and thousands of lines of code, including potentially (but not definitely) my new font classes. I'm absolutely buried right now and considering taking a different approach - ground up rewrite, heavy on the copy and paste from the old codebase. I'm so lost. :(

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

    P D Greg UtasG Mike HankeyM J 5 Replies Last reply
    0
    • honey the codewitchH honey the codewitch

      Alice Cooper wrote a song about being "stuck" called Lost in America

      Quote:

      I can't get a girl 'Cause I ain't got a car I can't get a car 'Cause I ain't got a job I can't get a job 'Cause I ain't got a car So I'm looking for a girl with a job and a car Don't you know where you are

      It's not really my cup of tea, and yet the catch 22 situation perfectly describes where I'm at right now. If I incorporate my new font engine into GFX, I break UIX, which I use to send GFX to the screen. Rebuilding UIX is not feasible at this point, as I'll get overloaded with tasks and I can't do that much work in tandem with other open issues on my primary project The whole project is like this. I need to break my pixel class and my draw destinations as well. That breaks thousands and thousands of lines of code, including potentially (but not definitely) my new font classes. I'm absolutely buried right now and considering taking a different approach - ground up rewrite, heavy on the copy and paste from the old codebase. I'm so lost. :(

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

      P Online
      P Online
      PIEBALDconsult
      wrote on last edited by
      #2

      You can bewitch a broom to do some of the carrying. Then split it again for added bandwidth. Profit.

      1 Reply Last reply
      0
      • honey the codewitchH honey the codewitch

        Alice Cooper wrote a song about being "stuck" called Lost in America

        Quote:

        I can't get a girl 'Cause I ain't got a car I can't get a car 'Cause I ain't got a job I can't get a job 'Cause I ain't got a car So I'm looking for a girl with a job and a car Don't you know where you are

        It's not really my cup of tea, and yet the catch 22 situation perfectly describes where I'm at right now. If I incorporate my new font engine into GFX, I break UIX, which I use to send GFX to the screen. Rebuilding UIX is not feasible at this point, as I'll get overloaded with tasks and I can't do that much work in tandem with other open issues on my primary project The whole project is like this. I need to break my pixel class and my draw destinations as well. That breaks thousands and thousands of lines of code, including potentially (but not definitely) my new font classes. I'm absolutely buried right now and considering taking a different approach - ground up rewrite, heavy on the copy and paste from the old codebase. I'm so lost. :(

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

        D Offline
        D Offline
        David ONeil
        wrote on last edited by
        #3

        honey the codewitch wrote:

        considering taking a different approach - ground up rewrite, heavy on the copy and paste from the old codebase.

        Sounds like it may be the easiest way to approach the situation. Have fun (if possible)! Just think of the limitations with the old approach that you are overcoming! That might bring a smile to your face!

        Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver

        honey the codewitchH 1 Reply Last reply
        0
        • D David ONeil

          honey the codewitch wrote:

          considering taking a different approach - ground up rewrite, heavy on the copy and paste from the old codebase.

          Sounds like it may be the easiest way to approach the situation. Have fun (if possible)! Just think of the limitations with the old approach that you are overcoming! That might bring a smile to your face!

          Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver

          honey the codewitchH Online
          honey the codewitchH Online
          honey the codewitch
          wrote on last edited by
          #4

          Why does it feel like a failure though? :wtf: Meh. I guess I am just beating myself up over it. If it wasn't maintainable it wouldn't have lasted for as long as it did, I guess, but then other than feature adds and some minor cross platform compatibility fixes I haven't had to do much.

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

          D 1 Reply Last reply
          0
          • honey the codewitchH honey the codewitch

            Alice Cooper wrote a song about being "stuck" called Lost in America

            Quote:

            I can't get a girl 'Cause I ain't got a car I can't get a car 'Cause I ain't got a job I can't get a job 'Cause I ain't got a car So I'm looking for a girl with a job and a car Don't you know where you are

            It's not really my cup of tea, and yet the catch 22 situation perfectly describes where I'm at right now. If I incorporate my new font engine into GFX, I break UIX, which I use to send GFX to the screen. Rebuilding UIX is not feasible at this point, as I'll get overloaded with tasks and I can't do that much work in tandem with other open issues on my primary project The whole project is like this. I need to break my pixel class and my draw destinations as well. That breaks thousands and thousands of lines of code, including potentially (but not definitely) my new font classes. I'm absolutely buried right now and considering taking a different approach - ground up rewrite, heavy on the copy and paste from the old codebase. I'm so lost. :(

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

            Greg UtasG Offline
            Greg UtasG Offline
            Greg Utas
            wrote on last edited by
            #5

            Yep, been there with the editor that fixes warnings found by my C++ static analysis tool. Should each line of code be a separate string, or should the entire file be one big string? This went back and forth a couple of times until I settled on the latter, and each time it caused upheaval in the work that had gone into it before. I had no previous experience to draw on, so I had to play around with both approaches until I could decide which one was better.

            Robust Services Core | Software Techniques for Lemmings | Articles
            The fox knows many things, but the hedgehog knows one big thing.

            <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
            <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

            1 Reply Last reply
            0
            • honey the codewitchH honey the codewitch

              Alice Cooper wrote a song about being "stuck" called Lost in America

              Quote:

              I can't get a girl 'Cause I ain't got a car I can't get a car 'Cause I ain't got a job I can't get a job 'Cause I ain't got a car So I'm looking for a girl with a job and a car Don't you know where you are

              It's not really my cup of tea, and yet the catch 22 situation perfectly describes where I'm at right now. If I incorporate my new font engine into GFX, I break UIX, which I use to send GFX to the screen. Rebuilding UIX is not feasible at this point, as I'll get overloaded with tasks and I can't do that much work in tandem with other open issues on my primary project The whole project is like this. I need to break my pixel class and my draw destinations as well. That breaks thousands and thousands of lines of code, including potentially (but not definitely) my new font classes. I'm absolutely buried right now and considering taking a different approach - ground up rewrite, heavy on the copy and paste from the old codebase. I'm so lost. :(

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

              Mike HankeyM Offline
              Mike HankeyM Offline
              Mike Hankey
              wrote on last edited by
              #6

              Rich woman, bad cough! Is that to much to ask. :) I actually have a very good mate.

              A home without books is a body without soul. Marcus Tullius Cicero PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com Latest Article: EventAggregator

              1 Reply Last reply
              0
              • honey the codewitchH honey the codewitch

                Alice Cooper wrote a song about being "stuck" called Lost in America

                Quote:

                I can't get a girl 'Cause I ain't got a car I can't get a car 'Cause I ain't got a job I can't get a job 'Cause I ain't got a car So I'm looking for a girl with a job and a car Don't you know where you are

                It's not really my cup of tea, and yet the catch 22 situation perfectly describes where I'm at right now. If I incorporate my new font engine into GFX, I break UIX, which I use to send GFX to the screen. Rebuilding UIX is not feasible at this point, as I'll get overloaded with tasks and I can't do that much work in tandem with other open issues on my primary project The whole project is like this. I need to break my pixel class and my draw destinations as well. That breaks thousands and thousands of lines of code, including potentially (but not definitely) my new font classes. I'm absolutely buried right now and considering taking a different approach - ground up rewrite, heavy on the copy and paste from the old codebase. I'm so lost. :(

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

                J Offline
                J Offline
                Jalapeno Bob
                wrote on last edited by
                #7

                Yes. While working in Waco maintaining a large electronic health record code base (This was years before the American Recovery Act mandated it.), Micro$oft Windows was doing a major upgrade from Windows 2000 to Windows 7. Since the code base was built starting in the 1990s and long before I joined the company, there was a fair number of Windows API changes that had to be worked in, and this is the killer, a huge amount of duplicate code and reliance on the side-effects of various subroutine and function calls.

                The "common code" was a huge DLL that took forever to load and it contained code that was only occasionally used.

                My boss, who learned to program in the Navy over twenty years earlier, was one of the programmers who originally built the program. While he was a good programmer, he moved into management and his skills became very rusty and out of date. He could not see why the existing code had to be changed.

                This left me with the dilemma: update it on my own time without telling him or try to patch the code and pray that nothing breaks irrevocably.

                I came up with a plan:

                1. I dropped the duplicate subroutines and functions, then recoded the calls to use the ones that remained. I hunted down all of the dependencies upon side effects and removed them. Many were functions that returned a single value of True or False, but modified other data. These I changed to return a data record with the data changes. I released this update to the huge common code DLL.
                2. I split the common code DLL into a three level structure with all the non-UI Windows API calls in the bottom layer. Depreciated API calls, of which there were many, were replaced with the current ones. The code to set up for API calls, such as letter generation, print formatting, data base record construction and whatnot in the middle layer as multiple DLLs. The top layer contained the business logic, with separate DLLs for Mental Behavioral Health, Mental Retardation Developmental Disabilities, insurance processing, billing, and client demographics. I released this revised common code as an update. I received praise from the clinicians because the whole program loaded much faster. My boss provided no feedback.
                3. I split the main UI code removing rarely used paths to separately called programs. The main UI code handled all of the windows that everyone used. The separate programs handled billing and report generation, behavioral health unique logic, and developmental disabilities unique
                1 Reply Last reply
                0
                • honey the codewitchH honey the codewitch

                  Why does it feel like a failure though? :wtf: Meh. I guess I am just beating myself up over it. If it wasn't maintainable it wouldn't have lasted for as long as it did, I guess, but then other than feature adds and some minor cross platform compatibility fixes I haven't had to do much.

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

                  D Offline
                  D Offline
                  David ONeil
                  wrote on last edited by
                  #8

                  [???] Maybe because you kick yourself in the butt for not thinking of the constraints you are now facing when you originally designed the project? It is easy to be hard on yourself, from personal experience. [???] Go with the flow. If the easiest thing is to do what you are thinking of, smile, take a break, possibly do something else, then get back at it when the mood strikes. Have fun!, and good luck with it! If I had your skills it wouldn't have taken me so long to do some of my projects!

                  Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver

                  honey the codewitchH 1 Reply Last reply
                  0
                  • D David ONeil

                    [???] Maybe because you kick yourself in the butt for not thinking of the constraints you are now facing when you originally designed the project? It is easy to be hard on yourself, from personal experience. [???] Go with the flow. If the easiest thing is to do what you are thinking of, smile, take a break, possibly do something else, then get back at it when the mood strikes. Have fun!, and good luck with it! If I had your skills it wouldn't have taken me so long to do some of my projects!

                    Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver

                    honey the codewitchH Online
                    honey the codewitchH Online
                    honey the codewitch
                    wrote on last edited by
                    #9

                    I appreciate the vote of confidence. :)

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