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. Today's lesson: don't do phone interviews when suffering from insomnia

Today's lesson: don't do phone interviews when suffering from insomnia

Scheduled Pinned Locked Moved The Lounge
careerdata-structureshelpquestion
21 Posts 15 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.
  • L leckey 0

    Although I have accepted a position I don't start for a week or so. I had applied for a federal programming job and had a phone interview this morning. however, for the last two nights I have had terrible insomnia...not like my normal wake up five times a night, but wake up at least every 15 minutes and sometimes every five minutes. I'm so drained. So on the phone this morning I was completely stumped by these two questions: 1. When would you use a heap versus a stack? 2. When wouldn't you use OO programming? Now, i've been thinking on the second one and I had oo programming shoved down my throat in college except for FORTRAN (we used 77 in college) that I can't really think of a reason why not to use it. Can someone help me out? Not that I'm expecting a second round, but if I keep thinking about it it's just another thing to keep me up tonight.

    C Offline
    C Offline
    Christian Graus
    wrote on last edited by
    #12

    When I'm using C :P

    Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

    S 1 Reply Last reply
    0
    • L leckey 0

      Although I have accepted a position I don't start for a week or so. I had applied for a federal programming job and had a phone interview this morning. however, for the last two nights I have had terrible insomnia...not like my normal wake up five times a night, but wake up at least every 15 minutes and sometimes every five minutes. I'm so drained. So on the phone this morning I was completely stumped by these two questions: 1. When would you use a heap versus a stack? 2. When wouldn't you use OO programming? Now, i've been thinking on the second one and I had oo programming shoved down my throat in college except for FORTRAN (we used 77 in college) that I can't really think of a reason why not to use it. Can someone help me out? Not that I'm expecting a second round, but if I keep thinking about it it's just another thing to keep me up tonight.

      A Offline
      A Offline
      Andy Brummer
      wrote on last edited by
      #13

      Another case is when you are doing RPC. DCOM and Corba proved that maintaning object state on the server is the ideal way to get horrible performance. Stateless message passing is a better way to go for anything where you know you are going to have high latency.

      1 Reply Last reply
      0
      • S Shog9 0

        You seem... bitter about something.

        ---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums

        R Offline
        R Offline
        Ryan Binns
        wrote on last edited by
        #14

        Shog9 wrote:

        You seem... bitter about something.

        or everything...

        Ryan

        "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

        1 Reply Last reply
        0
        • A Allah On Acid

          leckey wrote:

          I had applied for a federal programming job

          Why? You think you will get the job because it says "women and minorities are encouraged to apply"? *puts on asbestos flame suit*

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #15

          *Opens the flap at the back of the suit and drops in a firecracker* :-D If you think you need discrimination to compete...

          The tigress is here :-D

          J 1 Reply Last reply
          0
          • J Joe Woodbury

            leckey wrote:

            When wouldn't you use OO programming?

            For bootstrap code. For embedded systems with limited memory.

            Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

            L Offline
            L Offline
            leppie
            wrote on last edited by
            #16

            Or just where you not need it :) Basically everywhere on the functional/scripting level.

            **

            xacc.ide-0.2.0.57 - now with C# 2.0 parser and seamless VS2005 solution support!

            **

            1 Reply Last reply
            0
            • L leckey 0

              Although I have accepted a position I don't start for a week or so. I had applied for a federal programming job and had a phone interview this morning. however, for the last two nights I have had terrible insomnia...not like my normal wake up five times a night, but wake up at least every 15 minutes and sometimes every five minutes. I'm so drained. So on the phone this morning I was completely stumped by these two questions: 1. When would you use a heap versus a stack? 2. When wouldn't you use OO programming? Now, i've been thinking on the second one and I had oo programming shoved down my throat in college except for FORTRAN (we used 77 in college) that I can't really think of a reason why not to use it. Can someone help me out? Not that I'm expecting a second round, but if I keep thinking about it it's just another thing to keep me up tonight.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #17

              1. When would you use a heap versus a stack? When you are about to overflow the stack. (And stack buffer over/under writes are very hard to pick up compared to heap over/under writes) 2. When wouldn't you use OO programming? Process controll software. Maths, and calculation software. Device drivers. ie, any environment where there arent any viable objects (as in entities that are self standing). Re insomnia, dont worry, just lie there with your eyes closed, in a meditative state. You will still be refreshed physically in the morning.

              Truth is the subjection of reality to an individuals perception

              1 Reply Last reply
              0
              • C Christian Graus

                When I'm using C :P

                Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

                S Offline
                S Offline
                srsabu
                wrote on last edited by
                #18

                I'll disagree with a number of the posts on this topic. One of the first projects where I did any OO design was done in C for real time control of a robotic palletizing system. It went into production in 1992 on 2 386sx16s with 1MB of memory for each cell, and a 386dx33 with 4MB for the overall controller. It is still in use today on the same hardware, with the software still only using a fraction of the memory and processing power available to it. We developed standard interfaces for the PLC communication, digital I/O, etc so that we could build additional iterations of the system and plug different hardware into the same control logic as needed. We also wrote a custom object request broker to glue everything together. It included the ability to tell an object to persist its state to the filesystem and then restart, enabling hot patching of the system.

                C 1 Reply Last reply
                0
                • L Lost User

                  *Opens the flap at the back of the suit and drops in a firecracker* :-D If you think you need discrimination to compete...

                  The tigress is here :-D

                  J Offline
                  J Offline
                  Jeremy Falcon
                  wrote on last edited by
                  #19

                  Trollslayer wrote:

                  If you think you need discrimination to compete...

                  :laugh:

                  Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

                  1 Reply Last reply
                  0
                  • A Allah On Acid

                    leckey wrote:

                    I had applied for a federal programming job

                    Why? You think you will get the job because it says "women and minorities are encouraged to apply"? *puts on asbestos flame suit*

                    J Offline
                    J Offline
                    Jeremy Falcon
                    wrote on last edited by
                    #20

                    Score: 1.0 (3 votes). wrote:

                    Why? You think you will get the job because it says "women and minorities are encouraged to apply"?

                    You better enjoy that computer you're sitting in front of, because at this rate it'll be the only thing you ever have in life.

                    Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

                    1 Reply Last reply
                    0
                    • S srsabu

                      I'll disagree with a number of the posts on this topic. One of the first projects where I did any OO design was done in C for real time control of a robotic palletizing system. It went into production in 1992 on 2 386sx16s with 1MB of memory for each cell, and a 386dx33 with 4MB for the overall controller. It is still in use today on the same hardware, with the software still only using a fraction of the memory and processing power available to it. We developed standard interfaces for the PLC communication, digital I/O, etc so that we could build additional iterations of the system and plug different hardware into the same control logic as needed. We also wrote a custom object request broker to glue everything together. It included the ability to tell an object to persist its state to the filesystem and then restart, enabling hot patching of the system.

                      C Offline
                      C Offline
                      Christian Graus
                      wrote on last edited by
                      #21

                      *grin* I was making a joke, but you plainly can only *simulate* OO in C.

                      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

                      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