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. Mathematically-troubled Computer Scientist?

Mathematically-troubled Computer Scientist?

Scheduled Pinned Locked Moved The Lounge
algorithmsquestion
70 Posts 28 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.
  • I Ian Uy

    The logical thing that I would do is run both algorithms in the same machine and get the total running time then benchmark the two algorithms. I realize that this is not the "scientific" way of doing this. One should be able to say that "My algorithm is linear while the other guy is quadratic". :doh:

    It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

    S Offline
    S Offline
    Shog9 0
    wrote on last edited by
    #49

    Ian Uy wrote:

    The logical thing that I would do is run both algorithms in the same machine and get the total running time then benchmark the two algorithms.

    Because that doesn't give you the same information. An O(n) algorithm might appear faster than an O(1) algorithm if n is small and O is considerably larger in the second case. I've spent entirely too much time in the past few years cleaning up old code written to retrieve data with O(n) or worse characteristics. It presumably worked fine for a few years, then the sets of data being searched become non-trivial. Adding a system for indexing it made an immediate difference, but with close to a year of poor performance in the field while the old code was ripped out, updated, and tested; a better design up-front would have saved everyone a lot of headaches.

    Citizen 20.1.01

    'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

    1 Reply Last reply
    0
    • I Ian Uy

      Sadly, I am one of those mathematically-troubled student whose taking-up Computer Science. I've barely passed all my math subjects (never failed one though) and I had a hard time in my Automata and Algorithms Complexity (Big o stuff) subjects. However, I aced all my programming subjects including Data Structures and Artificial Intelligence. I also aced all software development subjects. How important are those (Automota, Algorithms...., Mathematics) subjects in a Software Developers life? Am I doomed? Am I the only one who is stupid enough to take Computer Science when I know for a fact that I'm stupid in Math? :^)

      It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

      R Offline
      R Offline
      Richard Jones
      wrote on last edited by
      #50

      As long as you can understand .02 cents/KB is NOT $.02/KB, you're ok. :laugh: :sigh:

      "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..." "There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."

      1 Reply Last reply
      0
      • I Ian Uy

        Because a science degree will get you a better higher paying job? (At least in this 3rd-world country)

        It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

        C Offline
        C Offline
        Chris Austin
        wrote on last edited by
        #51

        Not when they see you lack the basic skills.

        Sovereign ingredient for a happy marriage: Pay cash or do without. Interest charges not only eat up a household budget; awareness of debt eats up domestic felicity. --Lazarus Long

        1 Reply Last reply
        0
        • I Ian Uy

          Sadly, I am one of those mathematically-troubled student whose taking-up Computer Science. I've barely passed all my math subjects (never failed one though) and I had a hard time in my Automata and Algorithms Complexity (Big o stuff) subjects. However, I aced all my programming subjects including Data Structures and Artificial Intelligence. I also aced all software development subjects. How important are those (Automota, Algorithms...., Mathematics) subjects in a Software Developers life? Am I doomed? Am I the only one who is stupid enough to take Computer Science when I know for a fact that I'm stupid in Math? :^)

          It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

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

          My grade in algorithms class was a Big-O. I hope that pun wasn't already used.

          I 1 Reply Last reply
          0
          • S Shog9 0

            You think you've got it bad - my whole kitchen still smells like it. Seriously tempted to try a BBQ breakfast... :~

            jgasm wrote:

            because of my obsession with food...someone's mind is in the gutter.

            Hey, i assure you, my mind is on high and noble matters. My rich and tangy sauce, for instance.

            Citizen 20.1.01

            'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

            M Offline
            M Offline
            Mustafa Ismail Mustafa
            wrote on last edited by
            #53

            Shog9 wrote:

            Seriously tempted to try a BBQ breakfast...

            You ought to. Its the bomb. We tried it once in college when we got paychecks. Totally worth the splurge. :cool:

            Don't forget to vote if the response was helpful


            Sig history "You're an idiot." John Simmons, THE Outlaw programmer "I realised that all of my best anecdotes started with "So there we were, pissed". Pete O'Hanlon Unix is a Four Letter Word, and Vi is a Two Letter Abbreviation

            1 Reply Last reply
            0
            • I Ian Uy

              Sadly, I am one of those mathematically-troubled student whose taking-up Computer Science. I've barely passed all my math subjects (never failed one though) and I had a hard time in my Automata and Algorithms Complexity (Big o stuff) subjects. However, I aced all my programming subjects including Data Structures and Artificial Intelligence. I also aced all software development subjects. How important are those (Automota, Algorithms...., Mathematics) subjects in a Software Developers life? Am I doomed? Am I the only one who is stupid enough to take Computer Science when I know for a fact that I'm stupid in Math? :^)

              It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

              D Offline
              D Offline
              Dave Parker
              wrote on last edited by
              #54

              I don't think it's all that important, it depends on exactly what you're working on though. It's important in games nowadays with all the 3D stuff going on and it can be important in business software that deals with money, tax and so on. For a lot (probably most) of software development work it isn't really necessary though.

              1 Reply Last reply
              0
              • P Paul Conrad

                jgasm wrote:

                turn on the tv "cooking for geeks! hosted by Shog"

                Now maybe if some Food Network guys could get him on the air :)

                "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                S Offline
                S Offline
                Shog9 0
                wrote on last edited by
                #55

                Personally, i'd like to see Michael Chu[^] on there.

                Citizen 20.1.01

                'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                1 Reply Last reply
                0
                • L Lost User

                  My grade in algorithms class was a Big-O. I hope that pun wasn't already used.

                  I Offline
                  I Offline
                  Ian Uy
                  wrote on last edited by
                  #56

                  Good one! :laugh:

                  It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

                  1 Reply Last reply
                  0
                  • L Lost User

                    I won't ask if you have standard deviations. :rolleyes:

                    Visit http://www.notreadytogiveup.com/[^] and do something special today.

                    O Offline
                    O Offline
                    Oakman
                    wrote on last edited by
                    #57

                    Trollslayer wrote:

                    I won't ask if you have standard deviations

                    Maybe we need to take this to the Soapbox

                    Jon Smith & Wesson: The original point and click interface

                    1 Reply Last reply
                    0
                    • I Ian Uy

                      Sadly, I am one of those mathematically-troubled student whose taking-up Computer Science. I've barely passed all my math subjects (never failed one though) and I had a hard time in my Automata and Algorithms Complexity (Big o stuff) subjects. However, I aced all my programming subjects including Data Structures and Artificial Intelligence. I also aced all software development subjects. How important are those (Automota, Algorithms...., Mathematics) subjects in a Software Developers life? Am I doomed? Am I the only one who is stupid enough to take Computer Science when I know for a fact that I'm stupid in Math? :^)

                      It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

                      M Offline
                      M Offline
                      Member 96
                      wrote on last edited by
                      #58

                      Don't worry one bit, I'm exactly (probably even more) mathematically challenged than you are and I've done quite well in the field. Just don't expect to do any work in engineering fields or computer graphics fields unless you can find plug in algorithms and understand the concept of which tools are needed etc. Math is as close to irrelevant a skill for *most* programming these days as basket weaving.


                      "It's so simple to be wise. Just think of something stupid to say and then don't say it." -Sam Levenson

                      S 1 Reply Last reply
                      0
                      • M Member 96

                        Don't worry one bit, I'm exactly (probably even more) mathematically challenged than you are and I've done quite well in the field. Just don't expect to do any work in engineering fields or computer graphics fields unless you can find plug in algorithms and understand the concept of which tools are needed etc. Math is as close to irrelevant a skill for *most* programming these days as basket weaving.


                        "It's so simple to be wise. Just think of something stupid to say and then don't say it." -Sam Levenson

                        S Offline
                        S Offline
                        Shog9 0
                        wrote on last edited by
                        #59

                        John C wrote:

                        Math is as close to irrelevant a skill for *most* programming these days as basket weaving.

                        *pauses, the willow switch in one hand poised to intersect the gap between stakes* Waaaitaminute...

                        Citizen 20.1.01

                        'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                        O 1 Reply Last reply
                        0
                        • I Ian Uy

                          Sadly, I am one of those mathematically-troubled student whose taking-up Computer Science. I've barely passed all my math subjects (never failed one though) and I had a hard time in my Automata and Algorithms Complexity (Big o stuff) subjects. However, I aced all my programming subjects including Data Structures and Artificial Intelligence. I also aced all software development subjects. How important are those (Automota, Algorithms...., Mathematics) subjects in a Software Developers life? Am I doomed? Am I the only one who is stupid enough to take Computer Science when I know for a fact that I'm stupid in Math? :^)

                          It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

                          G Offline
                          G Offline
                          goodideadave
                          wrote on last edited by
                          #60

                          As a bunch of people have said, unless you have your heart set on building software that requires math knowledge, don't worry about it. I have been a business applications programmer for a long time, and I do 'way more string handling than anything else. Just know what you don't know, and seek help with it. As Dirty Harry said (through clenched teeth): "A man's got to know his limitations."

                          Someone's gotta be the last to know, but why is it always me?

                          1 Reply Last reply
                          0
                          • I Ian Uy

                            Sadly, I am one of those mathematically-troubled student whose taking-up Computer Science. I've barely passed all my math subjects (never failed one though) and I had a hard time in my Automata and Algorithms Complexity (Big o stuff) subjects. However, I aced all my programming subjects including Data Structures and Artificial Intelligence. I also aced all software development subjects. How important are those (Automota, Algorithms...., Mathematics) subjects in a Software Developers life? Am I doomed? Am I the only one who is stupid enough to take Computer Science when I know for a fact that I'm stupid in Math? :^)

                            It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

                            G Offline
                            G Offline
                            GuyThiebaut
                            wrote on last edited by
                            #61

                            I am mathematically challenged as well - this has not stopped me from being a successful DBA and writing image comparison, voice recognition etc applications. I have worked with Cambridge University mathematics graduates(who have 1sts!) and had no difficulty understanding complex algorithms they were designing and also, at times, surprised them with brilliant ideas :-\ Read my signature. Don't give up and most importantly find a way to find enjoyment in your work/study. Good Luck Guy ;)

                            Continuous effort - not strength or intelligence - is the key to unlocking our potential.(Winston Churchill)
                            1 Reply Last reply
                            0
                            • P Paul Conrad

                              Shog9 wrote:

                              i had pretty much the same attitude: "i'll never use this, so why remember it?"

                              Well, the same thing here. I figured I'd never need it, came across the need for all that good calculus stuff, popped open my old calculus book and it all came back. Just like riding a bike, once learned how, it pretty much sticks for the most part :rolleyes:

                              "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                              S Offline
                              S Offline
                              Shog9 0
                              wrote on last edited by
                              #62

                              Heh, then you must have a better grasp of it than i do. :-O

                              Citizen 20.1.01

                              'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                              P 1 Reply Last reply
                              0
                              • S Shog9 0

                                Heh, then you must have a better grasp of it than i do. :-O

                                Citizen 20.1.01

                                'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                                P Offline
                                P Offline
                                Paul Conrad
                                wrote on last edited by
                                #63

                                I do have a better grasp on certain aspects of calculus now, than when I was in college. Could have used what I figured out about it when taking the exams back then :sigh:

                                "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

                                1 Reply Last reply
                                0
                                • I Ian Uy

                                  Sadly, I am one of those mathematically-troubled student whose taking-up Computer Science. I've barely passed all my math subjects (never failed one though) and I had a hard time in my Automata and Algorithms Complexity (Big o stuff) subjects. However, I aced all my programming subjects including Data Structures and Artificial Intelligence. I also aced all software development subjects. How important are those (Automota, Algorithms...., Mathematics) subjects in a Software Developers life? Am I doomed? Am I the only one who is stupid enough to take Computer Science when I know for a fact that I'm stupid in Math? :^)

                                  It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

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

                                  I too am not very good at math, but I learn what I need as I need it. I feel you have to want to learn.

                                  1 Reply Last reply
                                  0
                                  • I Ian Uy

                                    Oooh yeah, my current project is cryptography. However, by reading Schenier's "Applied Cryptography" I was able to understand the underlying math (Finite Fields and stuff) and cryptographic primitives. My problem is I can't relate other math subjects like Integral Calculus to programming. :^)

                                    It is said that the most complex structures built by mankind are software systems. This is not generally appreciated because most people cannot see them. Maybe that's a good thing because if we saw them as buildings, we'd deem many of them unsafe.

                                    K Offline
                                    K Offline
                                    kinar
                                    wrote on last edited by
                                    #65

                                    I guess what I was really trying to say is that very seldom is the person who designs the user interface and the person who designs the library you use for a task going to be one in the same. Figure out what you are good at (or enjoy doing) and strive to be the best person on the planet in that subject.

                                    1 Reply Last reply
                                    0
                                    • S Shog9 0

                                      John C wrote:

                                      Math is as close to irrelevant a skill for *most* programming these days as basket weaving.

                                      *pauses, the willow switch in one hand poised to intersect the gap between stakes* Waaaitaminute...

                                      Citizen 20.1.01

                                      'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                                      O Offline
                                      O Offline
                                      Oakman
                                      wrote on last edited by
                                      #66

                                      Shog9 wrote:

                                      John C wrote: Math is as close to irrelevant a skill for *most* programming these days as basket weaving. *pauses, the willow switch in one hand poised to intersect the gap between stakes* Waaaitaminute...

                                      He said "most," not "the highest paying" or the "most interesting" or even "the most challenging." Even if you use Laplace transforms in your work every day, most developers do not

                                      Jon Smith & Wesson: The original point and click interface

                                      S 1 Reply Last reply
                                      0
                                      • O Oakman

                                        Shog9 wrote:

                                        John C wrote: Math is as close to irrelevant a skill for *most* programming these days as basket weaving. *pauses, the willow switch in one hand poised to intersect the gap between stakes* Waaaitaminute...

                                        He said "most," not "the highest paying" or the "most interesting" or even "the most challenging." Even if you use Laplace transforms in your work every day, most developers do not

                                        Jon Smith & Wesson: The original point and click interface

                                        S Offline
                                        S Offline
                                        Shog9 0
                                        wrote on last edited by
                                        #67

                                        Oakman wrote:

                                        Even if you use Laplace transforms in your work every day, most developers do not

                                        :) I don't, nor do i really think a basic familiarity with maths is all that much more important than, say, a basic understanding of electronics, basic familiarity with recent usability studies, or a working knowledge of English grammar. That said, i don't understand the attitude that it's wise to just ignore information that isn't immediately useful; memorizing formulas may not buy you much, but learning when Googling them will save your ass is another matter. And basket weaving is both relaxing and good wrist exercise... :-\

                                        Citizen 20.1.01

                                        'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

                                        1 Reply Last reply
                                        0
                                        • K keyboard warrior

                                          Simon Stevens wrote:

                                          Maths skill is irrelevant.

                                          so are english skills apparently.

                                          Simon Stevens wrote:

                                          Maths skill is irrelevant.

                                          not really. if you do any kind of business programming you at least have to know the order of operations in and out. at the bare bones minimum. and probably understanding percentage will be very helpful. ;P

                                          ----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford

                                          S Offline
                                          S Offline
                                          Simon P Stevens
                                          wrote on last edited by
                                          #68

                                          jgasm wrote:

                                          Simon Stevens wrote: Maths skill is irrelevant. so are english skills apparently.

                                          What's wrong with that?

                                          Simon

                                          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