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. How much time should be spent on the little things

How much time should be spent on the little things

Scheduled Pinned Locked Moved The Lounge
tutorialquestion
58 Posts 22 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.
  • J Jasmine2501

    You spend as much time on it as the boss want you to, then you document what you were working on. When he asks you why you aren't writing any new code, you bring out your documents and say, "Here, that's why." A good way to fix the style of lots of code is to use Visual Studio's auto-format feature. You may have to play with the setting a bit to get the exact style you want, but after that, you can open all your files, hit Ctrl-K-D on each one, and yer done. Really, you shouldn't be spending any time on that kind of crap. Old code should be 'grandfathered in' when a new style rule comes out, and should not be fixed until it's re-written. Also, the change you highlighted is totally stupid, and still wrong. It still has an extra space in it. Who is this fascist anyway?

    "Quality Software since 1983!"
    http://www.smoothjazzy.com/ - see the "Programming" section for (freeware) JazzySiteMaps, a simple application to generate .Net and Google-style sitemaps!

    J Offline
    J Offline
    Joe Q
    wrote on last edited by
    #45

    Jasmine2501 wrote:

    You spend as much time on it as the boss want you to, then you document what you were working on. When he asks you why you aren't writing any new code, you bring out your documents and say, "Here, that's why."

    I've tried things like that before and I usually just get dinged for not completing everything. Around here, it seems many managers have no concept of time. I tell them I have 2 tasks and enough time to do one and ask which ONE should I do? The answer around here is BOTH. When I try to explain about the concept of linear time that doesn't expand or contract (except in meetings) they just get upset with me.

    J 1 Reply Last reply
    0
    • P phils6280

      NI CVI has extensive capability to do what you want, including regular expressions and multiple files. Open any source file, then select Edit/Replace. In that window you can enter what you want to change, how you want to change it, what files you want to act on, etc. Hope this allows you more time with your family. Phil Shell

      J Offline
      J Offline
      Joe Q
      wrote on last edited by
      #46

      I've done some of it with the replace but I didn't know it could do regular expressions. The parts I done I've had to look at each change becasue some on if's and while's I didn't want to happen.

      1 Reply Last reply
      0
      • J Joe Q

        I think it might be that it's something he can control where there are many, many things on there he has no control over.

        R Offline
        R Offline
        Ravi Bhavnani
        wrote on last edited by
        #47

        Seems about right. He wouldn't last in the real world... /ravi

        My new year's resolution: 2048 x 1536 Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

        1 Reply Last reply
        0
        • J Joe Q

          Jasmine2501 wrote:

          You spend as much time on it as the boss want you to, then you document what you were working on. When he asks you why you aren't writing any new code, you bring out your documents and say, "Here, that's why."

          I've tried things like that before and I usually just get dinged for not completing everything. Around here, it seems many managers have no concept of time. I tell them I have 2 tasks and enough time to do one and ask which ONE should I do? The answer around here is BOTH. When I try to explain about the concept of linear time that doesn't expand or contract (except in meetings) they just get upset with me.

          J Offline
          J Offline
          Jasmine2501
          wrote on last edited by
          #48

          Sounds like you need to make sure your resume is up to date. Programmers are in demand right now, you don't have to put up with that treatment.

          "Quality Software since 1983!"
          http://www.smoothjazzy.com/ - see the "Programming" section for (freeware) JazzySiteMaps, a simple application to generate .Net and Google-style sitemaps!

          1 Reply Last reply
          0
          • J Joe Q

            Wow! most people have never heard of CVI! We're using a Racal switch and using there drivers. Most instruments have IVI drivers which are very complex and at times confusing.

            J Offline
            J Offline
            jiri
            wrote on last edited by
            #49

            I'm using CVI for 7 years too (we're developing instrument drivers, also for LabVIEW). BTW goto is used as replacement of try...catch statementm which you don't have in ANSI C. Every IVI instrument driver uses it.

            J 1 Reply Last reply
            0
            • J Joe Q

              I guess I didn't have a "Need to Know" :laugh:

              M Offline
              M Offline
              mfhobbs
              wrote on last edited by
              #50

              Just so long as Accounts know when it's time to cut your check!

              J 1 Reply Last reply
              0
              • M mfhobbs

                Just so long as Accounts know when it's time to cut your check!

                J Offline
                J Offline
                Joe Q
                wrote on last edited by
                #51

                Unfortunantly, there's no extra money or power to go a long with it. Only more responsiblity.

                1 Reply Last reply
                0
                • J jiri

                  I'm using CVI for 7 years too (we're developing instrument drivers, also for LabVIEW). BTW goto is used as replacement of try...catch statementm which you don't have in ANSI C. Every IVI instrument driver uses it.

                  J Offline
                  J Offline
                  Joe Q
                  wrote on last edited by
                  #52

                  jiri wrote:

                  BTW goto is used as replacement of try...catch statementm which you don't have in ANSI C. Every IVI instrument driver uses it.

                  I've been using CVI about 5 now and I've noticed the goto's in the error macro's. Also, when you compile a DLL it put's all your functions usable instead of just the one's you mark with __declspec(dllexport). It's a hassle to see 50 functions when only 2 are to be used by the user.

                  J 1 Reply Last reply
                  0
                  • P Pierre Leclercq

                    Joe Q wrote:

                    Then, in a meeting with the customer he announced I was the software lead.

                    Arf arf arf!!!! :laugh: :laugh: It's like everybody knows you're in charge, except ... you!

                    B Offline
                    B Offline
                    Blake Miller
                    wrote on last edited by
                    #53

                    Like that scene from Apocalypse Now... Who's your commanding officer .... Aren't you?

                    1 Reply Last reply
                    0
                    • J Joe Q

                      jiri wrote:

                      BTW goto is used as replacement of try...catch statementm which you don't have in ANSI C. Every IVI instrument driver uses it.

                      I've been using CVI about 5 now and I've noticed the goto's in the error macro's. Also, when you compile a DLL it put's all your functions usable instead of just the one's you mark with __declspec(dllexport). It's a hassle to see 50 functions when only 2 are to be used by the user.

                      J Offline
                      J Offline
                      jiri
                      wrote on last edited by
                      #54

                      Go to Build->Target Setttings. There's a box called Exports. Change that to nothing. By default for DLL there's a header and then CVI exports everything what is in the header.

                      J 1 Reply Last reply
                      0
                      • J jiri

                        Go to Build->Target Setttings. There's a box called Exports. Change that to nothing. By default for DLL there's a header and then CVI exports everything what is in the header.

                        J Offline
                        J Offline
                        Joe Q
                        wrote on last edited by
                        #55

                        jiri wrote:

                        Go to Build->Target Setttings. There's a box called Exports. Change that to nothing. By default for DLL there's a header and then CVI exports everything what is in the header.

                        In CVI 8.0 in the Exports box there's a "Change..." When that button is selected it brings up a "DLL Export Options" dialog box. If you say to use the header file (include file symbols), in CVI 8.0 but not earlier version, it returns an error with the prototypes. NI's solution (and the only one that seemed to work) was to change it to symbols marked for export. This seems to export the ones NOT marked for export, too.

                        1 Reply Last reply
                        0
                        • J Joe Q

                          I put out a programming style guide and the boss overruled a few things. For example I had call to a function as function_name( param1, param2 ); and my boss changed it to function_name (param1, param2); Honestly, to me it doesn't matter which way or even if both ways are used as long as an individual is consistent. However, I've written 8K SLOC in my style (before the guide came out) and now my boss wants me to "take however long it has to" to meet his style. BTW, no actual schedule relief is allowed and I'm supposed to be done this Monday. I can get the code working by COB Monday without his style guide changes to it. I may be another week of mind numbing work to change the spacing. So how much time should be spent doing the little things such as changing style? (just to let you know, the boss was going to put out the style guide until it was 4 months late then gave me the task) Thanks Joe Q

                          C Offline
                          C Offline
                          Chris S Kaiser
                          wrote on last edited by
                          #56

                          All you have to do is search out the "( " and " )" and to a replace. Even with that many lines of code it wouldn't take more than a few hours. I say the boss is the boss and his style should be adhered to. There really isn't a debate is there? Are you asking whether you should ignore it? Good luck and check out Monster or Dice. ;)

                          What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

                          J 1 Reply Last reply
                          0
                          • C Chris S Kaiser

                            All you have to do is search out the "( " and " )" and to a replace. Even with that many lines of code it wouldn't take more than a few hours. I say the boss is the boss and his style should be adhered to. There really isn't a debate is there? Are you asking whether you should ignore it? Good luck and check out Monster or Dice. ;)

                            What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

                            J Offline
                            J Offline
                            Joe Q
                            wrote on last edited by
                            #57

                            Chris S Kaiser wrote:

                            I say the boss is the boss and his style should be adhered to. There really isn't a debate is there? Are you asking whether you should ignore it? Good luck and check out Monster or Dice.

                            I was really wondering how much schedule should be sacrificed on an already impossible schedule to change to his style when he didn't let us know until after quite a bit of coding was already done. The "(" aren't really the only thing, it was just the most trivial issue that he place importance on. There are some other issues that I partially agree with but didn't impliment like he wants. I've told him I put them on my 2010 todo list (the projects over in late 2007) or when I have the time. I think he maybe changing his stance on the really trivial issues since he was late.

                            C 1 Reply Last reply
                            0
                            • J Joe Q

                              Chris S Kaiser wrote:

                              I say the boss is the boss and his style should be adhered to. There really isn't a debate is there? Are you asking whether you should ignore it? Good luck and check out Monster or Dice.

                              I was really wondering how much schedule should be sacrificed on an already impossible schedule to change to his style when he didn't let us know until after quite a bit of coding was already done. The "(" aren't really the only thing, it was just the most trivial issue that he place importance on. There are some other issues that I partially agree with but didn't impliment like he wants. I've told him I put them on my 2010 todo list (the projects over in late 2007) or when I have the time. I think he maybe changing his stance on the really trivial issues since he was late.

                              C Offline
                              C Offline
                              Chris S Kaiser
                              wrote on last edited by
                              #58

                              Yeah, tough call. If you have a review system that goes up as well as down then you might be able to fight it, but really, it is a job. My advice would be to do what you can and point out why the project slipped diplomatically.

                              What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

                              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