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

Nostalgia

Scheduled Pinned Locked Moved The Lounge
questionworkspacecsharpcsstesting
15 Posts 13 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.
  • R Roger Wright

    One of my favorite languages from the past was Hewlett Packard's hpl. It was developed to run on the HP9825A[^] desktop calculator, which was, in fact, as close to a real computer as one could buy that took less than a small room to hold it. The hpl language was a powerful, yet simple language which was well adapted to communicating with electronic measurement instruments via the HPIB parallel bus. It was dropped by HP because programmers hated the fact that it used lower case letters for keywords. :laugh: The coolest feature of hpl was that the Store key was also programmable, so that I could write a program that could write a program, append it to itself, and continue executing it. That may not seem a great advantage, but I loved it. One of my tasks was to measure, in-circuit, the operating characteristics of an extremely sensitive high-gain amplifier. This had to be accomplished in a high-noise environment, and the ambient noise varied from day to day. So as part of my testing program I wrote code to measure the ambient environment, characterize it using a FFT, then write a digital filtering program to remove these spurious signals from the measured values from the unit under test. That code was appended to each run of the program so that it could be called when the real part was being tested. It drove the configuration control weenies nuts, but it was one of the most reliable and accurate test routines used by the company. I pity the poor bastard who had to maintain my program after I left, though. If you're out there, I apologize! The question that drove me to post this tidbit is, is there any contemporary language which offers this same functionality, to save its own output as executable (okay, interpretable) code? If so, I think I'd like to learn it, just in case. If not, would somebody please add it to C#, since that's the language I currently enjoy?

    Will Rogers never met me.

    A Offline
    A Offline
    Abhinav S
    wrote on last edited by
    #4

    Maybe if you look at using Microsoft.CSharp and System.CodeCom.Compiler, you might get something similar to what you miss in hpl.

    Too much of heaven can bring you underground Heaven can always turn around Too much of heaven, our life is all hell bound Heaven, the kill that makes no sound

    1 Reply Last reply
    0
    • R Roger Wright

      Even more hilarious is that I've never before seen anyone, here or anywhere else, use the word 'titbit' in my life. That despite being well-read, well-educated, and fairly old. Besides, anyone with a third grade education knows that 'tit' isn't a word - it's properly spelled "teat." ;P

      Will Rogers never met me.

      D Offline
      D Offline
      Dalek Dave
      wrote on last edited by
      #5

      Roger Wright wrote:

      Besides, anyone with a third grade education knows that 'tit' isn't a word - it's properly spelled "teat."

      Wanna bet?[^] In fact this is where the Titbit comes from, it is the merest scrap of the tiniest scintilla of a crumb of a morsel that fits into the beak of such a small bird. You made a bit of a Booby[^] there, I suggest you go back to bed for a Shag[^].

      ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

      R 1 Reply Last reply
      0
      • R Roger Wright

        Even more hilarious is that I've never before seen anyone, here or anywhere else, use the word 'titbit' in my life. That despite being well-read, well-educated, and fairly old. Besides, anyone with a third grade education knows that 'tit' isn't a word - it's properly spelled "teat." ;P

        Will Rogers never met me.

        P Offline
        P Offline
        PJ Arends
        wrote on last edited by
        #6

        Roger Wright wrote:

        Besides, anyone with a third grade education knows that 'tit' isn't a word

        Hmmm, it thought a tit was a bird:confused: http://en.wikipedia.org/wiki/Tit_(bird)[^]

        Independent ACN Business Owner

        • Check out the possibilities for your future!
        • Financial independance
        • Full time or Part time
        • In more than 20 countries through North America, Europe, Asia and the Pacific
        • Featuring the ACN IRIS 5000 video phone. See the person you are talking to.

        Within you lies the power for good - Use it!

        1 Reply Last reply
        0
        • D Dalek Dave

          Roger Wright wrote:

          Besides, anyone with a third grade education knows that 'tit' isn't a word - it's properly spelled "teat."

          Wanna bet?[^] In fact this is where the Titbit comes from, it is the merest scrap of the tiniest scintilla of a crumb of a morsel that fits into the beak of such a small bird. You made a bit of a Booby[^] there, I suggest you go back to bed for a Shag[^].

          ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link[^] Trolls[^]

          R Offline
          R Offline
          R Giskard Reventlov
          wrote on last edited by
          #7

          Thanks: I sort of knew what connection would be made! :-)

          "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

          1 Reply Last reply
          0
          • R Roger Wright

            One of my favorite languages from the past was Hewlett Packard's hpl. It was developed to run on the HP9825A[^] desktop calculator, which was, in fact, as close to a real computer as one could buy that took less than a small room to hold it. The hpl language was a powerful, yet simple language which was well adapted to communicating with electronic measurement instruments via the HPIB parallel bus. It was dropped by HP because programmers hated the fact that it used lower case letters for keywords. :laugh: The coolest feature of hpl was that the Store key was also programmable, so that I could write a program that could write a program, append it to itself, and continue executing it. That may not seem a great advantage, but I loved it. One of my tasks was to measure, in-circuit, the operating characteristics of an extremely sensitive high-gain amplifier. This had to be accomplished in a high-noise environment, and the ambient noise varied from day to day. So as part of my testing program I wrote code to measure the ambient environment, characterize it using a FFT, then write a digital filtering program to remove these spurious signals from the measured values from the unit under test. That code was appended to each run of the program so that it could be called when the real part was being tested. It drove the configuration control weenies nuts, but it was one of the most reliable and accurate test routines used by the company. I pity the poor bastard who had to maintain my program after I left, though. If you're out there, I apologize! The question that drove me to post this tidbit is, is there any contemporary language which offers this same functionality, to save its own output as executable (okay, interpretable) code? If so, I think I'd like to learn it, just in case. If not, would somebody please add it to C#, since that's the language I currently enjoy?

            Will Rogers never met me.

            C Offline
            C Offline
            Chris C B
            wrote on last edited by
            #8

            Tsk tsk! How can you possibly mention HPL without mentioning the wonders of 'gazinta'? Bring back the 'gazinta', I say! :) I worked extensively on the 9810, 9820, and a top of the range 9845 - two tape drives, built-in printer and a whopping 64K - wowee! :laugh: The 9845 was also my downfall though - BASIC in ROM, which I was told I had to use. :(( :laugh:

            H 1 Reply Last reply
            0
            • R R Giskard Reventlov

              I do love that Americans say 'tidbit' rather than 'titbit' as if, somehow, the word 'tit' in this context somehow refers to the female mammary gland in a salacious manner. Hilarious.

              "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

              M Offline
              M Offline
              Mycroft Holmes
              wrote on last edited by
              #9

              So as PJ and other pointed out, the Tit in titbit is actually a bird of diminutive stature, not a mammary of (hopefully) more statuesque dimensions. Realise now that your hilarity should now turn to red facedness. Besides your location is the US, what are you bitching about a bit of tid!

              Never underestimate the power of human stupidity RAH

              1 Reply Last reply
              0
              • R Roger Wright

                One of my favorite languages from the past was Hewlett Packard's hpl. It was developed to run on the HP9825A[^] desktop calculator, which was, in fact, as close to a real computer as one could buy that took less than a small room to hold it. The hpl language was a powerful, yet simple language which was well adapted to communicating with electronic measurement instruments via the HPIB parallel bus. It was dropped by HP because programmers hated the fact that it used lower case letters for keywords. :laugh: The coolest feature of hpl was that the Store key was also programmable, so that I could write a program that could write a program, append it to itself, and continue executing it. That may not seem a great advantage, but I loved it. One of my tasks was to measure, in-circuit, the operating characteristics of an extremely sensitive high-gain amplifier. This had to be accomplished in a high-noise environment, and the ambient noise varied from day to day. So as part of my testing program I wrote code to measure the ambient environment, characterize it using a FFT, then write a digital filtering program to remove these spurious signals from the measured values from the unit under test. That code was appended to each run of the program so that it could be called when the real part was being tested. It drove the configuration control weenies nuts, but it was one of the most reliable and accurate test routines used by the company. I pity the poor bastard who had to maintain my program after I left, though. If you're out there, I apologize! The question that drove me to post this tidbit is, is there any contemporary language which offers this same functionality, to save its own output as executable (okay, interpretable) code? If so, I think I'd like to learn it, just in case. If not, would somebody please add it to C#, since that's the language I currently enjoy?

                Will Rogers never met me.

                C Offline
                C Offline
                CPallini
                wrote on last edited by
                #10

                Doesn't every scripting language allow that? If I'm correct (and also if I'm wrong) then have a look at Lua[^] (version 5.2 just relased!)

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                [My articles]

                1 Reply Last reply
                0
                • C Chris C B

                  Tsk tsk! How can you possibly mention HPL without mentioning the wonders of 'gazinta'? Bring back the 'gazinta', I say! :) I worked extensively on the 9810, 9820, and a top of the range 9845 - two tape drives, built-in printer and a whopping 64K - wowee! :laugh: The 9845 was also my downfall though - BASIC in ROM, which I was told I had to use. :(( :laugh:

                  H Offline
                  H Offline
                  hairy_hats
                  wrote on last edited by
                  #11

                  Is a gazinta related to a gazunder?

                  1 Reply Last reply
                  0
                  • R Roger Wright

                    One of my favorite languages from the past was Hewlett Packard's hpl. It was developed to run on the HP9825A[^] desktop calculator, which was, in fact, as close to a real computer as one could buy that took less than a small room to hold it. The hpl language was a powerful, yet simple language which was well adapted to communicating with electronic measurement instruments via the HPIB parallel bus. It was dropped by HP because programmers hated the fact that it used lower case letters for keywords. :laugh: The coolest feature of hpl was that the Store key was also programmable, so that I could write a program that could write a program, append it to itself, and continue executing it. That may not seem a great advantage, but I loved it. One of my tasks was to measure, in-circuit, the operating characteristics of an extremely sensitive high-gain amplifier. This had to be accomplished in a high-noise environment, and the ambient noise varied from day to day. So as part of my testing program I wrote code to measure the ambient environment, characterize it using a FFT, then write a digital filtering program to remove these spurious signals from the measured values from the unit under test. That code was appended to each run of the program so that it could be called when the real part was being tested. It drove the configuration control weenies nuts, but it was one of the most reliable and accurate test routines used by the company. I pity the poor bastard who had to maintain my program after I left, though. If you're out there, I apologize! The question that drove me to post this tidbit is, is there any contemporary language which offers this same functionality, to save its own output as executable (okay, interpretable) code? If so, I think I'd like to learn it, just in case. If not, would somebody please add it to C#, since that's the language I currently enjoy?

                    Will Rogers never met me.

                    J Offline
                    J Offline
                    J Dunlap
                    wrote on last edited by
                    #12

                    Roger Wright wrote:

                    The question that drove me to post this tidbit is, is there any contemporary language which offers this same functionality, to save its own output as executable (okay, interpretable) code? If so, I think I'd like to learn it, just in case. If not, would somebody please add it to C#, since that's the language I currently enjoy?

                    There's a number ways you can do something at least similar to that in C#:

                    • Mono.Cecil[^] - modify the IL (.NET byte instructions) in assemblies, then write them out to disk and load/run them
                    • Expression trees - generate code by building syntax trees (just about any code statement - not just expressions) and dynamically compiling it in memory. Might take a little getting used to because you work with syntax trees rather than code, but it is super fast because it doesn't have to parse anything and it does everything in-memory.
                    • CodeDOM - output actual C# code constructs using an object model, then send it to the C# compiler
                    • Write code to manually output C# code, then invoke the C# compiler (which is always installed with the .NET framework) and load/run the resulting assemblies
                    • Use the DynamicMethod class to output IL directly into memory and compile it
                    1 Reply Last reply
                    0
                    • R Roger Wright

                      Even more hilarious is that I've never before seen anyone, here or anywhere else, use the word 'titbit' in my life. That despite being well-read, well-educated, and fairly old. Besides, anyone with a third grade education knows that 'tit' isn't a word - it's properly spelled "teat." ;P

                      Will Rogers never met me.

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

                      Never heard of it either and if I had to of guessed I would of said it was a woman that was mammory-ally challenged.

                      Visual Studio Task List on Steriods - VS2010/AVR Studio 5.0 ToDo Manager Extension

                      1 Reply Last reply
                      0
                      • R Roger Wright

                        One of my favorite languages from the past was Hewlett Packard's hpl. It was developed to run on the HP9825A[^] desktop calculator, which was, in fact, as close to a real computer as one could buy that took less than a small room to hold it. The hpl language was a powerful, yet simple language which was well adapted to communicating with electronic measurement instruments via the HPIB parallel bus. It was dropped by HP because programmers hated the fact that it used lower case letters for keywords. :laugh: The coolest feature of hpl was that the Store key was also programmable, so that I could write a program that could write a program, append it to itself, and continue executing it. That may not seem a great advantage, but I loved it. One of my tasks was to measure, in-circuit, the operating characteristics of an extremely sensitive high-gain amplifier. This had to be accomplished in a high-noise environment, and the ambient noise varied from day to day. So as part of my testing program I wrote code to measure the ambient environment, characterize it using a FFT, then write a digital filtering program to remove these spurious signals from the measured values from the unit under test. That code was appended to each run of the program so that it could be called when the real part was being tested. It drove the configuration control weenies nuts, but it was one of the most reliable and accurate test routines used by the company. I pity the poor bastard who had to maintain my program after I left, though. If you're out there, I apologize! The question that drove me to post this tidbit is, is there any contemporary language which offers this same functionality, to save its own output as executable (okay, interpretable) code? If so, I think I'd like to learn it, just in case. If not, would somebody please add it to C#, since that's the language I currently enjoy?

                        Will Rogers never met me.

                        P Offline
                        P Offline
                        PIEBALDconsult
                        wrote on last edited by
                        #14

                        Compiling Source Code from a String[^]

                        1 Reply Last reply
                        0
                        • R Roger Wright

                          One of my favorite languages from the past was Hewlett Packard's hpl. It was developed to run on the HP9825A[^] desktop calculator, which was, in fact, as close to a real computer as one could buy that took less than a small room to hold it. The hpl language was a powerful, yet simple language which was well adapted to communicating with electronic measurement instruments via the HPIB parallel bus. It was dropped by HP because programmers hated the fact that it used lower case letters for keywords. :laugh: The coolest feature of hpl was that the Store key was also programmable, so that I could write a program that could write a program, append it to itself, and continue executing it. That may not seem a great advantage, but I loved it. One of my tasks was to measure, in-circuit, the operating characteristics of an extremely sensitive high-gain amplifier. This had to be accomplished in a high-noise environment, and the ambient noise varied from day to day. So as part of my testing program I wrote code to measure the ambient environment, characterize it using a FFT, then write a digital filtering program to remove these spurious signals from the measured values from the unit under test. That code was appended to each run of the program so that it could be called when the real part was being tested. It drove the configuration control weenies nuts, but it was one of the most reliable and accurate test routines used by the company. I pity the poor bastard who had to maintain my program after I left, though. If you're out there, I apologize! The question that drove me to post this tidbit is, is there any contemporary language which offers this same functionality, to save its own output as executable (okay, interpretable) code? If so, I think I'd like to learn it, just in case. If not, would somebody please add it to C#, since that's the language I currently enjoy?

                          Will Rogers never met me.

                          K Offline
                          K Offline
                          Kythen
                          wrote on last edited by
                          #15

                          The CodeDOM stuff as mentioned by others might work. Another possibility could be Microsoft's new Project Roslyn[^].

                          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