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. Documentation, who needs it!

Documentation, who needs it!

Scheduled Pinned Locked Moved The Lounge
mobilehardwaresalesannouncement
22 Posts 11 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.
  • G Offline
    G Offline
    glennPattonWork3
    wrote on last edited by
    #1

    Hi All, I just need to winge. I have a project to replicate a PSION hand held easy though I, set up a Serial Port, off I go copy the commands and done. The joys of non-responsive comms, data backwards that must be read left to right but sent back right to left. Commands that some times need a space other times not. The nice hex values that are reversed and need to bit wised & to get some data out of them. The fact that you seem to be able to tell it to something it will not respond so you tell it again it then does it twice some commands needing a CR LF other a LF only. Documentation that is not really relavent. Being told on a Friday that you are not updating one number, you then get it to update the number but you are not told what it's maximum / minimum if you are updating the original or just a saved copy. The customer has all the available hardware so you make a change and have no idea if it works. Please tell me I'm not the only one! normally I have around some idea of how the system works not this time!:~

    OriginalGriffO G J Y M 7 Replies Last reply
    0
    • G glennPattonWork3

      Hi All, I just need to winge. I have a project to replicate a PSION hand held easy though I, set up a Serial Port, off I go copy the commands and done. The joys of non-responsive comms, data backwards that must be read left to right but sent back right to left. Commands that some times need a space other times not. The nice hex values that are reversed and need to bit wised & to get some data out of them. The fact that you seem to be able to tell it to something it will not respond so you tell it again it then does it twice some commands needing a CR LF other a LF only. Documentation that is not really relavent. Being told on a Friday that you are not updating one number, you then get it to update the number but you are not told what it's maximum / minimum if you are updating the original or just a saved copy. The customer has all the available hardware so you make a change and have no idea if it works. Please tell me I'm not the only one! normally I have around some idea of how the system works not this time!:~

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

      You're the only one. The rest of us all have perfect, detailed specifications and a full set of hardware to test on / against. On planet DreamWorld! :laugh: No, it gets like that sometimes: anything from a scrawl on a post-it to a 1000 page specification is pretty normal. Eventually you learn what to expect/scream for in advance, and that helps a bit.

      If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.

      "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

      G T 2 Replies Last reply
      0
      • OriginalGriffO OriginalGriff

        You're the only one. The rest of us all have perfect, detailed specifications and a full set of hardware to test on / against. On planet DreamWorld! :laugh: No, it gets like that sometimes: anything from a scrawl on a post-it to a 1000 page specification is pretty normal. Eventually you learn what to expect/scream for in advance, and that helps a bit.

        If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.

        G Offline
        G Offline
        glennPattonWork3
        wrote on last edited by
        #3

        It would be easier if, there was more than one handheld that I could get at the moment it is in constant travel between customer and us. (leading to calls like "you've got it test it quick", reply "It left half-hour ago", reply "XxXxX"), "you are not updating the Credit Counter", reply "What Credit Counter", "It needs to be used today have you made the changes" reply "what changes?". I thought I was going good with this on surface simple Com port program. The best thing I have found is CR/LF for most things, one thing only LF. Mad, Mad, no will fix it as there are too many installed. So I am working off an old unit trying to make something that will work with the latest stuff, no idea what has changed.

        1 Reply Last reply
        0
        • OriginalGriffO OriginalGriff

          You're the only one. The rest of us all have perfect, detailed specifications and a full set of hardware to test on / against. On planet DreamWorld! :laugh: No, it gets like that sometimes: anything from a scrawl on a post-it to a 1000 page specification is pretty normal. Eventually you learn what to expect/scream for in advance, and that helps a bit.

          If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.

          T Offline
          T Offline
          Tom Deketelaere
          wrote on last edited by
          #4

          OriginalGriff wrote:

          On planet DreamWorld!

          Yeah that was my initial concern to when starting my latest program. Considering the hardware is some what expensive (and wasn't even finished yet) Imagine my surprise when they just gave me one to play with. To bad there was absolutely no documentation tho, but a direct line to their programmer and the commands follow some logic so wasn't that bad :)

          G 1 Reply Last reply
          0
          • T Tom Deketelaere

            OriginalGriff wrote:

            On planet DreamWorld!

            Yeah that was my initial concern to when starting my latest program. Considering the hardware is some what expensive (and wasn't even finished yet) Imagine my surprise when they just gave me one to play with. To bad there was absolutely no documentation tho, but a direct line to their programmer and the commands follow some logic so wasn't that bad :)

            G Offline
            G Offline
            glennPattonWork3
            wrote on last edited by
            #5

            You lucky basket, I have an older build version 4 when the stuff I am supposed to supporting in 10 onwards, I'm starting to wonder if the oddities I am seeing have got repaired.

            T 1 Reply Last reply
            0
            • G glennPattonWork3

              You lucky basket, I have an older build version 4 when the stuff I am supposed to supporting in 10 onwards, I'm starting to wonder if the oddities I am seeing have got repaired.

              T Offline
              T Offline
              Tom Deketelaere
              wrote on last edited by
              #6

              glennPattonWork wrote:

              You lucky basket

              You have no idea Especially if you know that the hardware I'm programming the interface for is something I can actually use at home (it's a multi-room audio controller). So fun all around :)

              G 1 Reply Last reply
              0
              • T Tom Deketelaere

                glennPattonWork wrote:

                You lucky basket

                You have no idea Especially if you know that the hardware I'm programming the interface for is something I can actually use at home (it's a multi-room audio controller). So fun all around :)

                G Offline
                G Offline
                glennPattonWork3
                wrote on last edited by
                #7

                Cool, it's nice to be able to have something you've worked on in the lounge at home. If anyone tries to give me one of these units for my house. The answer would be NO! we are going to completely redesign it when (if) get chance. Make sure your audio sync's as it is a "female dog" to work out whats wrong when it's installed. :suss:

                1 Reply Last reply
                0
                • G glennPattonWork3

                  Hi All, I just need to winge. I have a project to replicate a PSION hand held easy though I, set up a Serial Port, off I go copy the commands and done. The joys of non-responsive comms, data backwards that must be read left to right but sent back right to left. Commands that some times need a space other times not. The nice hex values that are reversed and need to bit wised & to get some data out of them. The fact that you seem to be able to tell it to something it will not respond so you tell it again it then does it twice some commands needing a CR LF other a LF only. Documentation that is not really relavent. Being told on a Friday that you are not updating one number, you then get it to update the number but you are not told what it's maximum / minimum if you are updating the original or just a saved copy. The customer has all the available hardware so you make a change and have no idea if it works. Please tell me I'm not the only one! normally I have around some idea of how the system works not this time!:~

                  G Offline
                  G Offline
                  Gary Wheeler
                  wrote on last edited by
                  #8

                  I am part of a team that makes software to run large-scale, commercial ink-jet printing systems. These multi-million dollar machines are definitely not your mama's DeskJet. We occasionally make custom versions of the product. In most cases, we never have the hardware in-house to test against, and are told "we will do system integration at the customer's site" :wtf:. What this means, of course, is that one or more engineers goes to live at the customer's facility until the @#@$!@## thing works.

                  Software Zen: delete this;

                  Sander RosselS B 2 Replies Last reply
                  0
                  • G glennPattonWork3

                    Hi All, I just need to winge. I have a project to replicate a PSION hand held easy though I, set up a Serial Port, off I go copy the commands and done. The joys of non-responsive comms, data backwards that must be read left to right but sent back right to left. Commands that some times need a space other times not. The nice hex values that are reversed and need to bit wised & to get some data out of them. The fact that you seem to be able to tell it to something it will not respond so you tell it again it then does it twice some commands needing a CR LF other a LF only. Documentation that is not really relavent. Being told on a Friday that you are not updating one number, you then get it to update the number but you are not told what it's maximum / minimum if you are updating the original or just a saved copy. The customer has all the available hardware so you make a change and have no idea if it works. Please tell me I'm not the only one! normally I have around some idea of how the system works not this time!:~

                    J Offline
                    J Offline
                    jschell
                    wrote on last edited by
                    #9

                    Pure folly in a "customer" development scenario to not have specifications when coding to a specific API. Might work if it is only a small borderline case in a large piece of work but only because it becomes noise in terms of cost. If not the development shop ends up eating additional cost as they go back and forth with multiple iterations.

                    1 Reply Last reply
                    0
                    • G Gary Wheeler

                      I am part of a team that makes software to run large-scale, commercial ink-jet printing systems. These multi-million dollar machines are definitely not your mama's DeskJet. We occasionally make custom versions of the product. In most cases, we never have the hardware in-house to test against, and are told "we will do system integration at the customer's site" :wtf:. What this means, of course, is that one or more engineers goes to live at the customer's facility until the @#@$!@## thing works.

                      Software Zen: delete this;

                      Sander RosselS Offline
                      Sander RosselS Offline
                      Sander Rossel
                      wrote on last edited by
                      #10

                      Sound familiar. Except we do it with software too. Our customer has software X, and we need to interact with it through flat text files (no API or whatever, noooo). Something doesn't work correctly so we make a fix. Since we don't have software X and the file processing crashes if we only process one file because we don't have the customers data we just put it in production and hope for the best :) This software X is really a pain too. Keeps giving us the same file every ten minutes. We need to update thousands of records every time because one record MIGHT have changed... It would've been a lot easier if it only gave us changed records, but it gives us all. Every. Time...

                      It's an OO world.

                      public class Naerling : Lazy<Person>{
                      public void DoWork(){ throw new NotImplementedException(); }
                      }

                      E G 2 Replies Last reply
                      0
                      • G glennPattonWork3

                        Hi All, I just need to winge. I have a project to replicate a PSION hand held easy though I, set up a Serial Port, off I go copy the commands and done. The joys of non-responsive comms, data backwards that must be read left to right but sent back right to left. Commands that some times need a space other times not. The nice hex values that are reversed and need to bit wised & to get some data out of them. The fact that you seem to be able to tell it to something it will not respond so you tell it again it then does it twice some commands needing a CR LF other a LF only. Documentation that is not really relavent. Being told on a Friday that you are not updating one number, you then get it to update the number but you are not told what it's maximum / minimum if you are updating the original or just a saved copy. The customer has all the available hardware so you make a change and have no idea if it works. Please tell me I'm not the only one! normally I have around some idea of how the system works not this time!:~

                        Y Offline
                        Y Offline
                        YvesDaoust
                        wrote on last edited by
                        #11

                        I am afraid these are unavoidable situations. In early phases of development of a product, many specification details are still into thin air, and a trial and error process takes place to fill in the holes. If development runs at the same time as specification (which is partly acceptable), you can be sure that documentation will lag behind. Two reasons: 1. developers want to develop, not to write the doc. They hate writing the doc. And 2. developers know that the development in progress is in a temporary state, prone to innumerable minute changes that they would have to reflect in the doc. But, remember, they hate writing they doc, they want to develop. Development is a subtle mixture of carefully crafted requirements definition, architecture design, coding, testing, planning and scheduling one one hand, and joyful creative mess on the othe hand. It probably has to be so. The true skills of project managers is to find the right balance betwen the two trends, and to make sure that the people who have to talk to each other do get along.

                        1 Reply Last reply
                        0
                        • Sander RosselS Sander Rossel

                          Sound familiar. Except we do it with software too. Our customer has software X, and we need to interact with it through flat text files (no API or whatever, noooo). Something doesn't work correctly so we make a fix. Since we don't have software X and the file processing crashes if we only process one file because we don't have the customers data we just put it in production and hope for the best :) This software X is really a pain too. Keeps giving us the same file every ten minutes. We need to update thousands of records every time because one record MIGHT have changed... It would've been a lot easier if it only gave us changed records, but it gives us all. Every. Time...

                          It's an OO world.

                          public class Naerling : Lazy<Person>{
                          public void DoWork(){ throw new NotImplementedException(); }
                          }

                          E Offline
                          E Offline
                          Eric Lapouge
                          wrote on last edited by
                          #12

                          If you update thousands of records because of one... Chances are that if I'm your project manager I won't be happy... But your surely have found a solution on that issue ;) Saying this, but I know how it is... Regards, Eric

                          1 Reply Last reply
                          0
                          • G glennPattonWork3

                            Hi All, I just need to winge. I have a project to replicate a PSION hand held easy though I, set up a Serial Port, off I go copy the commands and done. The joys of non-responsive comms, data backwards that must be read left to right but sent back right to left. Commands that some times need a space other times not. The nice hex values that are reversed and need to bit wised & to get some data out of them. The fact that you seem to be able to tell it to something it will not respond so you tell it again it then does it twice some commands needing a CR LF other a LF only. Documentation that is not really relavent. Being told on a Friday that you are not updating one number, you then get it to update the number but you are not told what it's maximum / minimum if you are updating the original or just a saved copy. The customer has all the available hardware so you make a change and have no idea if it works. Please tell me I'm not the only one! normally I have around some idea of how the system works not this time!:~

                            M Offline
                            M Offline
                            Member 9063556
                            wrote on last edited by
                            #13

                            Easy tip, For lines that you copy from other projects, at least put an In-Code project. // = single line in most programming languages -- = single line in SQL /* */ = multi line in most programming languages and SQL. My company uses { } for their documentation code, it's quite confusing, but I'm used to it since the time I started here a year ago.

                            G 1 Reply Last reply
                            0
                            • Sander RosselS Sander Rossel

                              Sound familiar. Except we do it with software too. Our customer has software X, and we need to interact with it through flat text files (no API or whatever, noooo). Something doesn't work correctly so we make a fix. Since we don't have software X and the file processing crashes if we only process one file because we don't have the customers data we just put it in production and hope for the best :) This software X is really a pain too. Keeps giving us the same file every ten minutes. We need to update thousands of records every time because one record MIGHT have changed... It would've been a lot easier if it only gave us changed records, but it gives us all. Every. Time...

                              It's an OO world.

                              public class Naerling : Lazy<Person>{
                              public void DoWork(){ throw new NotImplementedException(); }
                              }

                              G Offline
                              G Offline
                              Gary Wheeler
                              wrote on last edited by
                              #14

                              We have had similar issues. One of our products emulates another company's high-volume printers, so our customers expect us to print that kind of data exactly the way they do, even when their printer doesn't adhere to the specification. We occasionally get complaints about this, and the customer refuses to send us the non-compliant data. They send us 'sample' data, which of course doesn't exhibit the problem. Round and round we go...

                              Software Zen: delete this;

                              1 Reply Last reply
                              0
                              • M Member 9063556

                                Easy tip, For lines that you copy from other projects, at least put an In-Code project. // = single line in most programming languages -- = single line in SQL /* */ = multi line in most programming languages and SQL. My company uses { } for their documentation code, it's quite confusing, but I'm used to it since the time I started here a year ago.

                                G Offline
                                G Offline
                                glennPattonWork3
                                wrote on last edited by
                                #15

                                Matter of interest you mention methods of commenting and then { & }, the only time I have seen that was in PASCAL back at colledge, do you use some version of PASCAL (or Delphi if it uses the same style) ? Glenn

                                M 1 Reply Last reply
                                0
                                • G glennPattonWork3

                                  Matter of interest you mention methods of commenting and then { & }, the only time I have seen that was in PASCAL back at colledge, do you use some version of PASCAL (or Delphi if it uses the same style) ? Glenn

                                  M Offline
                                  M Offline
                                  Member 9063556
                                  wrote on last edited by
                                  #16

                                  The system we work off of was built in PASCAL and ported into Delphi, so it is likely possible that it uses the same Comment Space.

                                  G 1 Reply Last reply
                                  0
                                  • M Member 9063556

                                    The system we work off of was built in PASCAL and ported into Delphi, so it is likely possible that it uses the same Comment Space.

                                    G Offline
                                    G Offline
                                    glennPattonWork3
                                    wrote on last edited by
                                    #17

                                    My memorys of PASCAL are much clouded (by time, alchol, minor brain damage, the usual!) but I remembered some thing! Yayy me :)

                                    1 Reply Last reply
                                    0
                                    • G glennPattonWork3

                                      Hi All, I just need to winge. I have a project to replicate a PSION hand held easy though I, set up a Serial Port, off I go copy the commands and done. The joys of non-responsive comms, data backwards that must be read left to right but sent back right to left. Commands that some times need a space other times not. The nice hex values that are reversed and need to bit wised & to get some data out of them. The fact that you seem to be able to tell it to something it will not respond so you tell it again it then does it twice some commands needing a CR LF other a LF only. Documentation that is not really relavent. Being told on a Friday that you are not updating one number, you then get it to update the number but you are not told what it's maximum / minimum if you are updating the original or just a saved copy. The customer has all the available hardware so you make a change and have no idea if it works. Please tell me I'm not the only one! normally I have around some idea of how the system works not this time!:~

                                      M Offline
                                      M Offline
                                      MainFrameMan_ALIVE_AND_WELL
                                      wrote on last edited by
                                      #18

                                      Weeeelll, how bout' having an ole' COBOL programmer who wrote and maintained this app for the last fifteen years and then up and decided it was time to retire one afternoon; off to Mexico he went. The app gets dropped in my lap, and not a bit of documentation, oh wait. There is one that say's "Dan knows How to do that". Dan is in Mexico. So, everymonth Dan ran some hacks that did some workarounds that fixed all the issues the app had since the birth of this beast. No one knows where they live on the main frame and no one cares to try and find out; they won't let me on production yet, i am still wet around the ears. So, there is a government agency losing about a million a month cuz of "not my problem". It is mine though, but hands are tied. I did suggest a per diem trip to Mexico and have a chat with Dan; they actually took it into consideration. :sigh:

                                      G 1 Reply Last reply
                                      0
                                      • M MainFrameMan_ALIVE_AND_WELL

                                        Weeeelll, how bout' having an ole' COBOL programmer who wrote and maintained this app for the last fifteen years and then up and decided it was time to retire one afternoon; off to Mexico he went. The app gets dropped in my lap, and not a bit of documentation, oh wait. There is one that say's "Dan knows How to do that". Dan is in Mexico. So, everymonth Dan ran some hacks that did some workarounds that fixed all the issues the app had since the birth of this beast. No one knows where they live on the main frame and no one cares to try and find out; they won't let me on production yet, i am still wet around the ears. So, there is a government agency losing about a million a month cuz of "not my problem". It is mine though, but hands are tied. I did suggest a per diem trip to Mexico and have a chat with Dan; they actually took it into consideration. :sigh:

                                        G Offline
                                        G Offline
                                        glennPattonWork3
                                        wrote on last edited by
                                        #19

                                        Sounds an awful lot like this project, handed from one dead company to another, using old components that are a pain to source, hand helds that are Rocking Horse Doo Doo. I have had to work with some code like you describe, VB4 spagetti, it was easier to write it in C# then fix any feature that didn't work (boss disagreed). I am now fluent in a programming style that can be descibed by :~ . my latest joy was finding out the number from the smart card was in Hex not Dec :|, I have then beaten the dang thing to take hex numbers, it seems to can't find what that change has broken yet?.

                                        1 Reply Last reply
                                        0
                                        • G glennPattonWork3

                                          Hi All, I just need to winge. I have a project to replicate a PSION hand held easy though I, set up a Serial Port, off I go copy the commands and done. The joys of non-responsive comms, data backwards that must be read left to right but sent back right to left. Commands that some times need a space other times not. The nice hex values that are reversed and need to bit wised & to get some data out of them. The fact that you seem to be able to tell it to something it will not respond so you tell it again it then does it twice some commands needing a CR LF other a LF only. Documentation that is not really relavent. Being told on a Friday that you are not updating one number, you then get it to update the number but you are not told what it's maximum / minimum if you are updating the original or just a saved copy. The customer has all the available hardware so you make a change and have no idea if it works. Please tell me I'm not the only one! normally I have around some idea of how the system works not this time!:~

                                          B Offline
                                          B Offline
                                          BrainiacV
                                          wrote on last edited by
                                          #20

                                          Once in my long and infamous career, I was tasked with programming automatic phone dialers (to my eternal shame). I asked the hardware designer (it was a custom interface card for an Apple II) for the documentation on how to talk to the hardware. The SOB pointed to the schematic and said, "That's all you need." :wtf: And then left. They have yet to find the body. Luckily for me, this was the day of standard chips and I dug out the specs for the big ones and color coded inputs, outputs, and bi-directionals. It was good that I knew his name, it made it easier to curse him. Along the way I found out why certain features on the card did not work. It seemed nobody knew the difference between milli- and micro- symbols when attached to time units.

                                          Psychosis at 10 Film at 11 Those who do not remember the past, are doomed to repeat it. Those who do not remember the past, cannot build upon it.

                                          G 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