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. They Think I'm a Genius

They Think I'm a Genius

Scheduled Pinned Locked Moved The Lounge
csharpwpf
29 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.
  • R Offline
    R Offline
    realJSOP
    wrote on last edited by
    #1

    I wrote a wizard app for one of our co-workers that merges two Excel spreadsheets by matching selected columns based on one or more matching criteria (this column value == that column value), and combining the selected columns into a single file. I essentially reduced a 2-5 day process (depending on the size of the two datasets) to no more than an hour. The reason it takes an hour is because the half-assed Telerik spreadsheet control/document code doesn't understand formulas very well, and also doesn't support Date column types, so the user has to manually modify the merged data to suit their ultimate needs. I would write an article, but the code relies on the Telerik WPF library, which is not free.

    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
    -----
    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
    -----
    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

    H M R E D 7 Replies Last reply
    0
    • R realJSOP

      I wrote a wizard app for one of our co-workers that merges two Excel spreadsheets by matching selected columns based on one or more matching criteria (this column value == that column value), and combining the selected columns into a single file. I essentially reduced a 2-5 day process (depending on the size of the two datasets) to no more than an hour. The reason it takes an hour is because the half-assed Telerik spreadsheet control/document code doesn't understand formulas very well, and also doesn't support Date column types, so the user has to manually modify the merged data to suit their ultimate needs. I would write an article, but the code relies on the Telerik WPF library, which is not free.

      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
      -----
      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
      -----
      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

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

      I know what you mean. The volume of kudos that I've got from writing moron-level-simple code for Excel spreadsheets far exceeds any kind of response I've ever got from stuff I've really had to work at.

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

      J 1 Reply Last reply
      0
      • R realJSOP

        I wrote a wizard app for one of our co-workers that merges two Excel spreadsheets by matching selected columns based on one or more matching criteria (this column value == that column value), and combining the selected columns into a single file. I essentially reduced a 2-5 day process (depending on the size of the two datasets) to no more than an hour. The reason it takes an hour is because the half-assed Telerik spreadsheet control/document code doesn't understand formulas very well, and also doesn't support Date column types, so the user has to manually modify the merged data to suit their ultimate needs. I would write an article, but the code relies on the Telerik WPF library, which is not free.

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

        H Offline
        H Offline
        hooodaticus
        wrote on last edited by
        #3

        Any sufficiently advanced technology will appear as magic to primitives.

        J 1 Reply Last reply
        0
        • H hooodaticus

          Any sufficiently advanced technology will appear as magic to primitives.

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

          People that don't live in front of a computer aren't primitive. They simply have different interests and therefore know different things. Thinking you're better than someone for knowing more than someone in *your* field isn't advanced - it's arrogant.

          Jeremy Falcon

          R N H 3 Replies Last reply
          0
          • M Mark_Wallace

            I know what you mean. The volume of kudos that I've got from writing moron-level-simple code for Excel spreadsheets far exceeds any kind of response I've ever got from stuff I've really had to work at.

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

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

            You are so correct, but I've learned the reason that is, is that the simple stuff is what more people can connect with. It takes a *special* person to sit their entire life behind a computer, and so deep concepts aren't event familiar to them. It's out of the league so to speak - in regards to computers.

            Jeremy Falcon

            1 Reply Last reply
            0
            • J Jeremy Falcon

              People that don't live in front of a computer aren't primitive. They simply have different interests and therefore know different things. Thinking you're better than someone for knowing more than someone in *your* field isn't advanced - it's arrogant.

              Jeremy Falcon

              R Offline
              R Offline
              realJSOP
              wrote on last edited by
              #6

              Jeremy Falcon wrote:

              Thinking you're better than someone for knowing more than someone in *your* field isn't advanced - it's arrogant.

              Arrogance is kinda my superpower. That, and marksmanship.

              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
              -----
              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
              -----
              When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

              J N 2 Replies Last reply
              0
              • R realJSOP

                I wrote a wizard app for one of our co-workers that merges two Excel spreadsheets by matching selected columns based on one or more matching criteria (this column value == that column value), and combining the selected columns into a single file. I essentially reduced a 2-5 day process (depending on the size of the two datasets) to no more than an hour. The reason it takes an hour is because the half-assed Telerik spreadsheet control/document code doesn't understand formulas very well, and also doesn't support Date column types, so the user has to manually modify the merged data to suit their ultimate needs. I would write an article, but the code relies on the Telerik WPF library, which is not free.

                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                -----
                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                -----
                When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                R Offline
                R Offline
                realJSOP
                wrote on last edited by
                #7

                Well, I looked around for an adequate excel-like wpf spreadsheet control, and found a product called "ReoGrid". I'll give it a shot to adapt my code to it for an article. Maybe it does formulas better...

                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                -----
                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                -----
                When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                M B 2 Replies Last reply
                0
                • R realJSOP

                  Jeremy Falcon wrote:

                  Thinking you're better than someone for knowing more than someone in *your* field isn't advanced - it's arrogant.

                  Arrogance is kinda my superpower. That, and marksmanship.

                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                  -----
                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                  -----
                  When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

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

                  :laugh: :laugh: :laugh: Touché.

                  Jeremy Falcon

                  1 Reply Last reply
                  0
                  • R realJSOP

                    Well, I looked around for an adequate excel-like wpf spreadsheet control, and found a product called "ReoGrid". I'll give it a shot to adapt my code to it for an article. Maybe it does formulas better...

                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                    -----
                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                    -----
                    When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                    M Offline
                    M Offline
                    Mycroft Holmes
                    wrote on last edited by
                    #9

                    I think Spreadsheet Gear (also not free) may have a WPF control, they has a Silverlight control and it was reasonably useful for a simplistic solution we needed it for.

                    Never underestimate the power of human stupidity RAH

                    R 1 Reply Last reply
                    0
                    • R realJSOP

                      I wrote a wizard app for one of our co-workers that merges two Excel spreadsheets by matching selected columns based on one or more matching criteria (this column value == that column value), and combining the selected columns into a single file. I essentially reduced a 2-5 day process (depending on the size of the two datasets) to no more than an hour. The reason it takes an hour is because the half-assed Telerik spreadsheet control/document code doesn't understand formulas very well, and also doesn't support Date column types, so the user has to manually modify the merged data to suit their ultimate needs. I would write an article, but the code relies on the Telerik WPF library, which is not free.

                      ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                      -----
                      You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                      -----
                      When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                      E Offline
                      E Offline
                      Eytukan
                      wrote on last edited by
                      #10

                      Easy. They are wrong. :)

                      Starting to think people post kid pics in their profiles because that was the last time they were cute - Jeremy.

                      1 Reply Last reply
                      0
                      • R realJSOP

                        Jeremy Falcon wrote:

                        Thinking you're better than someone for knowing more than someone in *your* field isn't advanced - it's arrogant.

                        Arrogance is kinda my superpower. That, and marksmanship.

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                        N Offline
                        N Offline
                        Nelek
                        wrote on last edited by
                        #11

                        I thought your arsenal was your superpower. Arrogance is just part of your charm ;P :-D :laugh:

                        M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                        D 1 Reply Last reply
                        0
                        • J Jeremy Falcon

                          People that don't live in front of a computer aren't primitive. They simply have different interests and therefore know different things. Thinking you're better than someone for knowing more than someone in *your* field isn't advanced - it's arrogant.

                          Jeremy Falcon

                          N Offline
                          N Offline
                          Nelek
                          wrote on last edited by
                          #12

                          Agree... my wife is very smart (Dr. med.) but coming to gadgets and computers... it hurts to see her using her laptop :rolleyes: :rolleyes: But hey... I am still very lucky, I don't get "My computer is not working" more than 1 or 2 times per year

                          M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                          N 1 Reply Last reply
                          0
                          • R realJSOP

                            I wrote a wizard app for one of our co-workers that merges two Excel spreadsheets by matching selected columns based on one or more matching criteria (this column value == that column value), and combining the selected columns into a single file. I essentially reduced a 2-5 day process (depending on the size of the two datasets) to no more than an hour. The reason it takes an hour is because the half-assed Telerik spreadsheet control/document code doesn't understand formulas very well, and also doesn't support Date column types, so the user has to manually modify the merged data to suit their ultimate needs. I would write an article, but the code relies on the Telerik WPF library, which is not free.

                            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                            -----
                            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                            -----
                            When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                            D Offline
                            D Offline
                            den2k88
                            wrote on last edited by
                            #13

                            Amen. I fleshed out over-the-top detection algorithms with 99.6% accuracy (wrt the 64% of previous one) and managed to squeeze its maximum 13 ms completion time in 4.5 ms. No one batted an eye. I made a bunch of 5-8 lines utility functions and "Woah! Amazing!".

                            DURA LEX, SED LEX GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani

                            N 1 Reply Last reply
                            0
                            • R realJSOP

                              I wrote a wizard app for one of our co-workers that merges two Excel spreadsheets by matching selected columns based on one or more matching criteria (this column value == that column value), and combining the selected columns into a single file. I essentially reduced a 2-5 day process (depending on the size of the two datasets) to no more than an hour. The reason it takes an hour is because the half-assed Telerik spreadsheet control/document code doesn't understand formulas very well, and also doesn't support Date column types, so the user has to manually modify the merged data to suit their ultimate needs. I would write an article, but the code relies on the Telerik WPF library, which is not free.

                              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                              -----
                              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                              -----
                              When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                              X Offline
                              X Offline
                              xiecsuk
                              wrote on last edited by
                              #14

                              In the first contract job I had, I noticed that every night, one of my colleagues started a VB program to go against the company database of 30M records. It only wanted about 3K records each time it was run. When I asked him why he started it just before going home, he said it took 20+ hours to extract the data. When I got back in the morning, I looked at the code. The code for extracting the data used dates in the VB format rather than the database format so it was passing all 30M records back. A couple of changes and it ran in less than 5 minutes. I stayed there 4 years and rewrote a number of progs written by the same programmer plus a lot more from scratch, of course.

                              1 Reply Last reply
                              0
                              • M Mycroft Holmes

                                I think Spreadsheet Gear (also not free) may have a WPF control, they has a Silverlight control and it was reasonably useful for a simplistic solution we needed it for.

                                Never underestimate the power of human stupidity RAH

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

                                I can't use a commercial product in an article.

                                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                -----
                                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                -----
                                When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                1 Reply Last reply
                                0
                                • R realJSOP

                                  Well, I looked around for an adequate excel-like wpf spreadsheet control, and found a product called "ReoGrid". I'll give it a shot to adapt my code to it for an article. Maybe it does formulas better...

                                  ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                  -----
                                  You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                  -----
                                  When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                  B Offline
                                  B Offline
                                  Bassam Abdul Baki
                                  wrote on last edited by
                                  #16

                                  I'm surprised there isn't a free one here.

                                  Web - BM - RSS - Math - LinkedIn

                                  R 1 Reply Last reply
                                  0
                                  • N Nelek

                                    Agree... my wife is very smart (Dr. med.) but coming to gadgets and computers... it hurts to see her using her laptop :rolleyes: :rolleyes: But hey... I am still very lucky, I don't get "My computer is not working" more than 1 or 2 times per year

                                    M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                                    N Offline
                                    N Offline
                                    Nathan Minier
                                    wrote on last edited by
                                    #17

                                    You are lucky. My wife managed to infect her PC twice in a month by clicking literally anything in Facebook. That's when I took away the admin rights from her.

                                    "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

                                    1 Reply Last reply
                                    0
                                    • D den2k88

                                      Amen. I fleshed out over-the-top detection algorithms with 99.6% accuracy (wrt the 64% of previous one) and managed to squeeze its maximum 13 ms completion time in 4.5 ms. No one batted an eye. I made a bunch of 5-8 lines utility functions and "Woah! Amazing!".

                                      DURA LEX, SED LEX GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani

                                      N Offline
                                      N Offline
                                      Nathan Minier
                                      wrote on last edited by
                                      #18

                                      Beauty is in the eye of the beholder.

                                      "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

                                      1 Reply Last reply
                                      0
                                      • N Nelek

                                        I thought your arsenal was your superpower. Arrogance is just part of your charm ;P :-D :laugh:

                                        M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                                        D Offline
                                        D Offline
                                        den2k88
                                        wrote on last edited by
                                        #19

                                        Whena you can single-handedly face a fairly sized battallion it's hard not to get a bit arrogant :D ;P

                                        DURA LEX, SED LEX GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani

                                        1 Reply Last reply
                                        0
                                        • B Bassam Abdul Baki

                                          I'm surprised there isn't a free one here.

                                          Web - BM - RSS - Math - LinkedIn

                                          R Offline
                                          R Offline
                                          realJSOP
                                          wrote on last edited by
                                          #20

                                          Well, I just checked out "ReoGrid", and in a nutshell, it's crap. It was easy enough to get a spreadsheet control in a window, but after loading a file, the displayed data is, well, not displayed. A quick check with the debugger shows that the control is actually loaded with the intended file, and shows the correct number of columns and rows, but the display shows nothing, even if I highlight a range of cells. The search for a free spreadsheet control continues.

                                          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                          -----
                                          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                          -----
                                          When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                          B 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