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. Food for thought (Algorithm Complexity and R&D discoveries)

Food for thought (Algorithm Complexity and R&D discoveries)

Scheduled Pinned Locked Moved The Lounge
algorithmscom
34 Posts 12 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.
  • E Ennis Ray Lynch Jr

    3 years of math out of 4 is fairly close considering most majors require 2 or 3 low level math courses like college algebra which isn't even high enough to count for CS, Engineering, and Math majors.

    Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

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

    Ennis Ray Lynch, Jr. wrote:

    3 years of math out of 4 is fairly close

    Not when it's most of 3rd and all of 4th year that's missing. 1st year is basically an extension of highschool algebra and basic calculus. 2nd year extends that and adds some new concepts. 3rd and 4th year take it to a whole new level of abstraction and complexity. Those are the years that provide the tools for solving very complex problems. All years are not created equal. Cheers, Drew.

    E 1 Reply Last reply
    0
    • L Lost User

      Browsing some mathematical packages like Sage and Maxima I found an interesting article on the complexity of R&D associated with algorithm development. It's a good read, but I don't know if I agree, I'm no Einstein but I can create complex algorithms and solve very complicated problems as if the answer was clearly written in the sky... Complex Algorithm Research and Development: Harder Than Many Think[^]

      "Make everything as simple as possible, but not simpler." -- Albert Einstein

      P Offline
      P Offline
      peterchen
      wrote on last edited by
      #12

      I have to disagree with you completely. It's not a good read. The topic is interesting, his style could be better. When he gets to the meat, most of his readers have been drowned in vague blabber. He isn't clearly identifying what a "complex algorithm" is, and a paragraph title of "Complex algorithms are difficult" (well, duh!) doesn't help. Second, the point is not to create a complex algorithm. Rather, implementing an algorithm of given complexity in a way that it's provably correct, avoids all the pitfalls and still outperforms a dead pig. Frankly, your attitude towards complexity collides with your sig.

      Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
      | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

      M L 2 Replies Last reply
      0
      • D Dalek Dave

        No, your right, Occam's Razor is the simplest anser is usually the right one. What am I thinking of? (It is getting on here, and I am letting my dimness shine forth! :) ) Oh yeah, reductionism.

        ------------------------------------ No Good Deed Goes Unpunished Clare Boothe Luce

        P Offline
        P Offline
        peterchen
        wrote on last edited by
        #13

        Dalek Dave wrote:

        the simplest answer of those that equally well explain the problem is usually the right one

        FTFY

        Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
        | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

        J 1 Reply Last reply
        0
        • E Ennis Ray Lynch Jr

          Undergrad C.S. is basically a Math degree so I don't get where he suggests most software developers do not have the match experience necessary to develop complex algorithms. Seems like a paper written by someone who needs to get published more than anything profound or thought provoking.

          Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

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

          I don't consider what the company I work for does "complex algortihms" in the sense of the paper (paper? That's supposed to be a paper? Holy cow...) - largely it's clever application of standard signal processing. From my experiencem, the typical software developers does not have the experience to discuss these things at eye level with the engineers. And from some feeble attempts at a higher eh-duh-cajun I know that there are muhc harder problems.

          Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
          | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

          1 Reply Last reply
          0
          • L Lost User

            Browsing some mathematical packages like Sage and Maxima I found an interesting article on the complexity of R&D associated with algorithm development. It's a good read, but I don't know if I agree, I'm no Einstein but I can create complex algorithms and solve very complicated problems as if the answer was clearly written in the sky... Complex Algorithm Research and Development: Harder Than Many Think[^]

            "Make everything as simple as possible, but not simpler." -- Albert Einstein

            R Offline
            R Offline
            RichardM1
            wrote on last edited by
            #15

            Complex algorithms? 1000 c/c++ lines? My last 'Hello World' took that many!

            Opacity, the new Transparency.

            L 1 Reply Last reply
            0
            • L Lost User

              Ennis Ray Lynch, Jr. wrote:

              3 years of math out of 4 is fairly close

              Not when it's most of 3rd and all of 4th year that's missing. 1st year is basically an extension of highschool algebra and basic calculus. 2nd year extends that and adds some new concepts. 3rd and 4th year take it to a whole new level of abstraction and complexity. Those are the years that provide the tools for solving very complex problems. All years are not created equal. Cheers, Drew.

              E Offline
              E Offline
              Ennis Ray Lynch Jr
              wrote on last edited by
              #16

              I don't mean to belittle a Math degree (math is hard work) but saying a CS grad doesn't have a math background, enough to plow through some complex algorithms is equally as unfair.

              Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

              M 1 Reply Last reply
              0
              • D Dalek Dave

                No, your right, Occam's Razor is the simplest anser is usually the right one. What am I thinking of? (It is getting on here, and I am letting my dimness shine forth! :) ) Oh yeah, reductionism.

                ------------------------------------ No Good Deed Goes Unpunished Clare Boothe Luce

                R Offline
                R Offline
                Rajesh R Subramanian
                wrote on last edited by
                #17

                Dalek Dave wrote:

                No, your right,

                Is that grammatically correct? Shouldn't it be "you're right"? Just asking to know. :)

                “Follow your bliss.” – Joseph Campbell

                S J 2 Replies Last reply
                0
                • P peterchen

                  Dalek Dave wrote:

                  the simplest answer of those that equally well explain the problem is usually the right one

                  FTFY

                  Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
                  | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

                  J Offline
                  J Offline
                  Jorgen Sigvardsson
                  wrote on last edited by
                  #18

                  Sadly, very few people pick that part up. Many of those people invoke Occam's Razor in the hopes that their "theory" will be given credibility. The same people should have invoked a psychiatrist... (No Dave, I'm not talking about you. :))

                  -- Kein Mitleid Für Die Mehrheit

                  L 1 Reply Last reply
                  0
                  • L Lost User

                    Browsing some mathematical packages like Sage and Maxima I found an interesting article on the complexity of R&D associated with algorithm development. It's a good read, but I don't know if I agree, I'm no Einstein but I can create complex algorithms and solve very complicated problems as if the answer was clearly written in the sky... Complex Algorithm Research and Development: Harder Than Many Think[^]

                    "Make everything as simple as possible, but not simpler." -- Albert Einstein

                    M Offline
                    M Offline
                    Mark_Wallace
                    wrote on last edited by
                    #19

                    TheArchitectmc∞ wrote:

                    I can create complex algorithms and solve very complicated problems as if the answer was clearly written in the sky...

                    Sky? Qantas! Qantas!! It's gotta be Qantas!!!

                    I wanna be a eunuchs developer! Pass me a bread knife!

                    1 Reply Last reply
                    0
                    • R Rajesh R Subramanian

                      Dalek Dave wrote:

                      No, your right,

                      Is that grammatically correct? Shouldn't it be "you're right"? Just asking to know. :)

                      “Follow your bliss.” – Joseph Campbell

                      S Offline
                      S Offline
                      Sjoerd Laansma
                      wrote on last edited by
                      #20

                      Your right Rajesh* However, a lot of english speaking people do not care to do it right. (And I'm getting the feeling some americans don't even know how to do it right) *Place Sarcasm punctuation[^] here

                      D N 2 Replies Last reply
                      0
                      • S Sjoerd Laansma

                        Your right Rajesh* However, a lot of english speaking people do not care to do it right. (And I'm getting the feeling some americans don't even know how to do it right) *Place Sarcasm punctuation[^] here

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

                        Actually, I care very much and am ashamed for such an elementary mistake. I shall go stand in the corner and wear a dunce's hat.

                        ------------------------------------ No Good Deed Goes Unpunished Clare Boothe Luce

                        S 1 Reply Last reply
                        0
                        • D Dalek Dave

                          Actually, I care very much and am ashamed for such an elementary mistake. I shall go stand in the corner and wear a dunce's hat.

                          ------------------------------------ No Good Deed Goes Unpunished Clare Boothe Luce

                          S Offline
                          S Offline
                          Sjoerd Laansma
                          wrote on last edited by
                          #22

                          Repent! for thou hast sinned!* You had poor Rajesh all confused :sigh: *Please Feel free to check the first line for errors. I haven't got a clue whether it even looks like english =]

                          1 Reply Last reply
                          0
                          • E Ennis Ray Lynch Jr

                            I don't mean to belittle a Math degree (math is hard work) but saying a CS grad doesn't have a math background, enough to plow through some complex algorithms is equally as unfair.

                            Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

                            M Offline
                            M Offline
                            MrZaggy
                            wrote on last edited by
                            #23

                            Hmmm, I'm a CS student and I must say, my mates who are doing/have done B.Math DEFINATLY work harder than I have to! As for the math content I'm faced it, I consider myself lucky that I'm faced with so little COMPULSORY 'pure' math (Analytical Geometry in R2 and R3, Advanced Calculus - I don't deal as well with Calculus)... However, we do a LOT of Algorithmics/Discrete Maths (which I have NO problem with; I LIKE Discrete Maths... It just makes sense!). So while we can basically do the better part of a Maths Degree IF WE WANT TO (like a mate of mine did, then did 6 months after he finished CS to get his B.Math), the majority of students end up on a different path... As i said, all of us do a lot of Discrete Maths/Algorithmics, but then we add stuff like Electrical Engineering/Digital Systems, 3D Graphics, Distributed/Parallel Systems... Me, I lean more towards the Distributed?Parallel stuff at the moment. Thus I do have a few other things to contribute... :) I read this article as something that should get you considering your limits! For me, I'm into Exterior Ballistics (yes I'm a Target Shooter and NO I do not consider Exterior Ballistics as COMPLEX maths in any way, shape or form), so I'm pretty comfortable with much of that maths; on paper and in code. But If I was suddenly tasked with developing something heavy, (for arguments sake) an algorithm that was able to plan the tradjectory of a space craft from Low Earth Orbit, into a slingshot around the moon and then off to Mars, there is no way I could fudge my way through that; I would stand up and say "My Analysis of the Requirements leads me to recommend we bring in an Astrophysicist/Mathematician for the maths (and a Dr specialising in Aviation Medicine to verify that that the expected flight limits and possible flight loads are within Human Tolerance)". I think its naive to think that because we have been exposed to SOME University Level Maths and Algorithmics, that we can automatically scale that knowledge to Complex Algorithms. How many people have actually taken months or more to research, develop and PROVE a complex mathematical model? By this I mean something like i) starting with a General Concept (ie, lets develop a highly efficient, secure A/V compression scheme for Transmission across Public IP networks) and nothing more... Then ii) research the field and begin to develop a Mathematical Model; iii) write your Mathematical Algorithm and PROVE it. And do all of that before you code it... A 'Complex Algorithm' as defined by this artic

                            1 Reply Last reply
                            0
                            • P peterchen

                              I have to disagree with you completely. It's not a good read. The topic is interesting, his style could be better. When he gets to the meat, most of his readers have been drowned in vague blabber. He isn't clearly identifying what a "complex algorithm" is, and a paragraph title of "Complex algorithms are difficult" (well, duh!) doesn't help. Second, the point is not to create a complex algorithm. Rather, implementing an algorithm of given complexity in a way that it's provably correct, avoids all the pitfalls and still outperforms a dead pig. Frankly, your attitude towards complexity collides with your sig.

                              Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
                              | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

                              M Offline
                              M Offline
                              MrZaggy
                              wrote on last edited by
                              #24

                              Point 1: Agreed! It's really not written that well - I think the guy has tried to be too Generic. Point 2: Agreed - with a small picky point. In this instance a 'complex' algorithm defines an algorithm of or beyond a given complexity (however what that level is, is not really clear!). So if you UNDERSTAND what you have modeled and proven and written it up in a logical and correct manner, your 'complex' algorithm shouldn't be that [i]complex[/i] to you or your target audience...

                              P 1 Reply Last reply
                              0
                              • R RichardM1

                                Complex algorithms? 1000 c/c++ lines? My last 'Hello World' took that many!

                                Opacity, the new Transparency.

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

                                Hmm, must have been in assembler on a Z80... Haha

                                "Make everything as simple as possible, but not simpler." -- Albert Einstein

                                R 1 Reply Last reply
                                0
                                • P peterchen

                                  I have to disagree with you completely. It's not a good read. The topic is interesting, his style could be better. When he gets to the meat, most of his readers have been drowned in vague blabber. He isn't clearly identifying what a "complex algorithm" is, and a paragraph title of "Complex algorithms are difficult" (well, duh!) doesn't help. Second, the point is not to create a complex algorithm. Rather, implementing an algorithm of given complexity in a way that it's provably correct, avoids all the pitfalls and still outperforms a dead pig. Frankly, your attitude towards complexity collides with your sig.

                                  Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
                                  | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

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

                                  peterchen wrote:

                                  I have to disagree with you completely.

                                  Okay cool, np. Sometime the write is not just attempting to write a technical assessment, you can clearly see that he has many degrees, I think that his intention is to provoke the reader to think about why developing complex algorithms is 'complex' work. And to show a short coming in the available tools and training of degree programs. It's kind of like the missing ingredient method. You put all the cards out on the table and you incite the subjects to make their own conclusions as to what cards are missing and why by describing the nature of the inherent problem. That was the effect it had on me, it made me question my preconceptions about algorithm complexity.

                                  peterchen wrote:

                                  He isn't clearly identifying what a "complex algorithm" is, and a paragraph title of "Complex algorithms are difficult" (well, duh!) doesn't help.

                                  He has a PHD in CS, I think if he really wanted to write an article on Cyclomatic complexity[^] complexity he would have done just that. I think it's not the block of marble he is getting at but the methods of crafting a work of art and how the methods have not improved at the same rate at the builders chose their building medium.

                                  peterchen wrote:

                                  Frankly, your attitude towards complexity collides with your sig.

                                  Hmm, I don't know, e=Mc^2 is okay until Einstein and Heisenberg had their little discussion on Quantum Mechanics, thus the Special Theory of Relativity and the new forms of relativity pertaining to different phenomena: STR Equations[^] So a single (simple equation) can not describe the 'unified theory' of relativity that Einstein was really looking for. Thus, as simple as possible, but no simpler.

                                  "Make everything as simple as possible, but not simpler." -- Albert Einstein

                                  P 1 Reply Last reply
                                  0
                                  • L Lost User

                                    Hmm, must have been in assembler on a Z80... Haha

                                    "Make everything as simple as possible, but not simpler." -- Albert Einstein

                                    R Offline
                                    R Offline
                                    RichardM1
                                    wrote on last edited by
                                    #27

                                    No, I just included the required win32 headers. They didn't mean original code, did they? (sincere innocent look) ;)

                                    Opacity, the new Transparency.

                                    1 Reply Last reply
                                    0
                                    • J Jorgen Sigvardsson

                                      Sadly, very few people pick that part up. Many of those people invoke Occam's Razor in the hopes that their "theory" will be given credibility. The same people should have invoked a psychiatrist... (No Dave, I'm not talking about you. :))

                                      -- Kein Mitleid Für Die Mehrheit

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

                                      Jörgen Sigvardsson wrote:

                                      The same people should have invoked a psychiatrist...

                                      Okay who needs the shrink, I know I need one! Geesh!

                                      "Make everything as simple as possible, but not simpler." -- Albert Einstein

                                      1 Reply Last reply
                                      0
                                      • R Rajesh R Subramanian

                                        Dalek Dave wrote:

                                        No, your right,

                                        Is that grammatically correct? Shouldn't it be "you're right"? Just asking to know. :)

                                        “Follow your bliss.” – Joseph Campbell

                                        J Offline
                                        J Offline
                                        Jorgen Sigvardsson
                                        wrote on last edited by
                                        #29

                                        Dude, it's my right! ;)

                                        -- Kein Mitleid Für Die Mehrheit

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          peterchen wrote:

                                          I have to disagree with you completely.

                                          Okay cool, np. Sometime the write is not just attempting to write a technical assessment, you can clearly see that he has many degrees, I think that his intention is to provoke the reader to think about why developing complex algorithms is 'complex' work. And to show a short coming in the available tools and training of degree programs. It's kind of like the missing ingredient method. You put all the cards out on the table and you incite the subjects to make their own conclusions as to what cards are missing and why by describing the nature of the inherent problem. That was the effect it had on me, it made me question my preconceptions about algorithm complexity.

                                          peterchen wrote:

                                          He isn't clearly identifying what a "complex algorithm" is, and a paragraph title of "Complex algorithms are difficult" (well, duh!) doesn't help.

                                          He has a PHD in CS, I think if he really wanted to write an article on Cyclomatic complexity[^] complexity he would have done just that. I think it's not the block of marble he is getting at but the methods of crafting a work of art and how the methods have not improved at the same rate at the builders chose their building medium.

                                          peterchen wrote:

                                          Frankly, your attitude towards complexity collides with your sig.

                                          Hmm, I don't know, e=Mc^2 is okay until Einstein and Heisenberg had their little discussion on Quantum Mechanics, thus the Special Theory of Relativity and the new forms of relativity pertaining to different phenomena: STR Equations[^] So a single (simple equation) can not describe the 'unified theory' of relativity that Einstein was really looking for. Thus, as simple as possible, but no simpler.

                                          "Make everything as simple as possible, but not simpler." -- Albert Einstein

                                          P Offline
                                          P Offline
                                          peterchen
                                          wrote on last edited by
                                          #30

                                          As you, I don't think the author discussed "cyclomatic complexity" as such - but he is very hazy, unfocused with the terms he uses. I don't get much more out of it than "lifting heavy objects - they are heavier than you think! Because it's amazing how heavy they are". Regarding the "missing card": If I understand the authors intention correctly, Robert Glass put it into one single sentence - which was the result of an actual study, not just musings: Fact 21 of 55[^]. Not to be misunderstood: I wasn't expecting a technical analysis. I think the author has a point, but unfortunately he's very bad at making it.


                                          I still see a stark contrast between Einsteins demands for simplicity and your "complexity? Bring it on!" attitude which sounds a little bit on the arrogant side. Because what I learnt in my years as developer is this:: it is easy to solve a complex problem in a complex way, much much harder it is to solve a complex problem in a simple way. (exactly because you can't make it more simple than the minimum required to solve a problem).

                                          Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
                                          | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server

                                          L 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