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. CodeProject challenges

CodeProject challenges

Scheduled Pinned Locked Moved The Lounge
csharpjavascriptasp-netdatabasequestion
71 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.
  • C Chris Maunder

    I'm not after spell-ckecking - every decent browser already has that. I've after spell fixing. But really, not even spelling: just punctuation and stuff. Light touch to make a big difference.

    cheers Chris Maunder

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

    Chris Maunder wrote:

    I'm not after spell-ckecking

    Obviously :rolleyes:

    It's an OO world.

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

    C 1 Reply Last reply
    0
    • C Chris Maunder

      I've mentioned before an idea I had about getting the smartest and brightest (yeah, that means you lot) to come up with solutions to day to day issues we have that will, ultimately, save the community as a whole some time and pain. A challenge I'm facing at the moment is in correcting grammar and punctuation. Many, many, MANY times I see questions or articles that have things like "i then did" or "im not sure" or the punishable-by-death "ur mileage may vary". Even Sql instead of SQL and Asp.Net instead of ASP.NET keep popping up. Is anyone interested in a challenge to write a Javascript library that will auto-correct bad spelling and punctuation? It'll be a formal contest with prizes (and maybe even some better specs). Yay or nay: any interest?

      cheers Chris Maunder

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

      So "gimme code plz" will be auto-corrected to "Give me code please"? That will be an improvement :rolleyes: Seriously though, I wonder how much can really be corrected? Such a library has to be very 'smart' to fix some of the stuff I read on CP (luckily there's more good than bad though!). If someone doesn't value grammar can they form correct sentences? im sure this sentence couldve been fixed. but this sentense may it can be fixed, srry for my bad english?

      It's an OO world.

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

      C 1 Reply Last reply
      0
      • L Lost User

        Is it just me or is this just a semi-respectable way of getting us to do your work? ;P "Gee Huck, Gee Becky... whitewashing this fence sure is fun!"

        Government is not reason; it is not eloquent; it is force. Like fire, it is a dangerous servant and a fearful master. ~ George Washington

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

        Mike Mullikin wrote:

        Is it just me or is this just a semi-respectable way of getting us to do your work?

        :laugh:

        Jeremy Falcon

        1 Reply Last reply
        0
        • C Chris Maunder

          I've mentioned before an idea I had about getting the smartest and brightest (yeah, that means you lot) to come up with solutions to day to day issues we have that will, ultimately, save the community as a whole some time and pain. A challenge I'm facing at the moment is in correcting grammar and punctuation. Many, many, MANY times I see questions or articles that have things like "i then did" or "im not sure" or the punishable-by-death "ur mileage may vary". Even Sql instead of SQL and Asp.Net instead of ASP.NET keep popping up. Is anyone interested in a challenge to write a Javascript library that will auto-correct bad spelling and punctuation? It'll be a formal contest with prizes (and maybe even some better specs). Yay or nay: any interest?

          cheers Chris Maunder

          D Offline
          D Offline
          Dan Neely
          wrote on last edited by
          #49

          I'm not going to make a full submission; but want to suggest that anyone serious about it be sure to implement this family of fixes (only one example given because I'm a slacker):

          str.replace("I have got", "I've <b>GOTTEN</b>");

          Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

          C 1 Reply Last reply
          0
          • C Chris Maunder

            I've mentioned before an idea I had about getting the smartest and brightest (yeah, that means you lot) to come up with solutions to day to day issues we have that will, ultimately, save the community as a whole some time and pain. A challenge I'm facing at the moment is in correcting grammar and punctuation. Many, many, MANY times I see questions or articles that have things like "i then did" or "im not sure" or the punishable-by-death "ur mileage may vary". Even Sql instead of SQL and Asp.Net instead of ASP.NET keep popping up. Is anyone interested in a challenge to write a Javascript library that will auto-correct bad spelling and punctuation? It'll be a formal contest with prizes (and maybe even some better specs). Yay or nay: any interest?

            cheers Chris Maunder

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

            I'd personally put it in the 'too hard' basket - just because the complexity blows my mind. But I applaud the idea - bad grammar is something up with which I will not put.

            PooperPig - Coming Soon

            1 Reply Last reply
            0
            • C Chris Maunder

              Definitely

              cheers Chris Maunder

              G Offline
              G Offline
              Gary R Wheeler
              wrote on last edited by
              #51

              <FlagellatingTheExpiredEquine> The must be an off switch, and it must stay off. Spelling checkers are an abomination, and grammar checkers are worse. For every case where they find I've made an error, they come up with 100's of false positives to annoy me. While the grammar checker in Microsoft Word (for example) can be tailored, it takes too much work for far too little result. Bitch at me about dangling participles (bad habit1) and passive voice (bad habit2), and STFU. I won't have an impudent piece of shit software telling me how to express myself. </FlagellatingTheExpiredEquine>

              Software Zen: delete this;

              1 Reply Last reply
              0
              • C Chris Maunder

                MacSpudster wrote:

                Oh, and of your phrase "yeah, that means you lot," it doesn't work.

                It's technically correct and perfect grammar when speaking Australian.

                cheers Chris Maunder

                G Offline
                G Offline
                Gary R Wheeler
                wrote on last edited by
                #52

                Oh great. We're going to have Mick arbitrate grammar rules, I just know it. All of us stupid "Mercans" are fucked.

                Software Zen: delete this;

                L 1 Reply Last reply
                0
                • C Chris Maunder

                  I've mentioned before an idea I had about getting the smartest and brightest (yeah, that means you lot) to come up with solutions to day to day issues we have that will, ultimately, save the community as a whole some time and pain. A challenge I'm facing at the moment is in correcting grammar and punctuation. Many, many, MANY times I see questions or articles that have things like "i then did" or "im not sure" or the punishable-by-death "ur mileage may vary". Even Sql instead of SQL and Asp.Net instead of ASP.NET keep popping up. Is anyone interested in a challenge to write a Javascript library that will auto-correct bad spelling and punctuation? It'll be a formal contest with prizes (and maybe even some better specs). Yay or nay: any interest?

                  cheers Chris Maunder

                  R Offline
                  R Offline
                  Roger Wright
                  wrote on last edited by
                  #53

                  But who will determine which version is correct? Some Brits and convicts, or people who write and speak English? ;)

                  Will Rogers never met me.

                  G L 2 Replies Last reply
                  0
                  • D dandy72

                    The grammar Nazi in me would make it a three-strike rule. And if you write "urgentz", the account gets suspended for a day. :-p

                    G Offline
                    G Offline
                    Gary R Wheeler
                    wrote on last edited by
                    #54

                    If you write "urgentz", we nuke your house from orbit. It's the only way to be sure.

                    Software Zen: delete this;

                    1 Reply Last reply
                    0
                    • R Roger Wright

                      But who will determine which version is correct? Some Brits and convicts, or people who write and speak English? ;)

                      Will Rogers never met me.

                      G Offline
                      G Offline
                      Gary R Wheeler
                      wrote on last edited by
                      #55

                      Agreed.[^]

                      Software Zen: delete this;

                      1 Reply Last reply
                      0
                      • C Chris Maunder

                        If it were easy it wouldn't be a challenge.

                        cheers Chris Maunder

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

                        There's a bit of a killer crevasse between "challenge" and "life's work". Human languages are just too damned complicated to handle with a computer without, at the very least, a several-year-old backprop routine. You just can't treat correcting English like correcting a humongously simpler computer language. Lookit: With a good writer: -- If your amendment is correct/appropriate, his response will be "Thanks!", because no-one understands snow-blindness better than an experienced writer. -- If your amendment is incorrect/inappropriate, he probably won't say anything, but he'll take his work elsewhere, next time. With a poor writer: -- If your amendment is correct/appropriate, you'll at best get a "humph!" in reply. -- If your amendment is incorrect/inappropriate, it'll escalate to a screaming fit before you can type a greengrocers' apostrophe. Here be monsters, eh? The easiest person to turn into an enemy is the one who's not entirely sure what he's doing.

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

                        1 Reply Last reply
                        0
                        • C Chris Maunder

                          I'm not after spell-ckecking - every decent browser already has that. I've after spell fixing. But really, not even spelling: just punctuation and stuff. Light touch to make a big difference.

                          cheers Chris Maunder

                          M Offline
                          M Offline
                          Matthys Terblanche
                          wrote on last edited by
                          #57

                          Ah, you forgot the number one annoyance, "This is better then that." I assume it's when English is the third language...

                          1 Reply Last reply
                          0
                          • G Gary R Wheeler

                            Oh great. We're going to have Mick arbitrate grammar rules, I just know it. All of us stupid "Mercans" are fucked.

                            Software Zen: delete this;

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

                            Gary R. Wheeler wrote:

                            Oh great. We're going to have Mick arbitrate grammar rules, I just know it. All of us stupid "Mercans" are f***ed.

                            Absolutely spot on.

                            Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

                            1 Reply Last reply
                            0
                            • R Roger Wright

                              But who will determine which version is correct? Some Brits and convicts, or people who write and speak English? ;)

                              Will Rogers never met me.

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

                              Roger Wright wrote:

                              ...or people who write and speak English? ;)

                              So that is all of North America fucked then

                              Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004

                              1 Reply Last reply
                              0
                              • C Chris Maunder

                                I've mentioned before an idea I had about getting the smartest and brightest (yeah, that means you lot) to come up with solutions to day to day issues we have that will, ultimately, save the community as a whole some time and pain. A challenge I'm facing at the moment is in correcting grammar and punctuation. Many, many, MANY times I see questions or articles that have things like "i then did" or "im not sure" or the punishable-by-death "ur mileage may vary". Even Sql instead of SQL and Asp.Net instead of ASP.NET keep popping up. Is anyone interested in a challenge to write a Javascript library that will auto-correct bad spelling and punctuation? It'll be a formal contest with prizes (and maybe even some better specs). Yay or nay: any interest?

                                cheers Chris Maunder

                                C Offline
                                C Offline
                                ChavMat
                                wrote on last edited by
                                #60

                                yes!! it sounds like an interesting javascript code is to be developed :) Would love to participate in such a contest!

                                1 Reply Last reply
                                0
                                • L Lost User

                                  Is it just me or is this just a semi-respectable way of getting us to do your work? ;P "Gee Huck, Gee Becky... whitewashing this fence sure is fun!"

                                  Government is not reason; it is not eloquent; it is force. Like fire, it is a dangerous servant and a fearful master. ~ George Washington

                                  C Offline
                                  C Offline
                                  Chris Maunder
                                  wrote on last edited by
                                  #61

                                  Let's just remove the "semi-respectable" and be done with it, eh?

                                  cheers Chris Maunder

                                  1 Reply Last reply
                                  0
                                  • Sander RosselS Sander Rossel

                                    Chris Maunder wrote:

                                    I'm not after spell-ckecking

                                    Obviously :rolleyes:

                                    It's an OO world.

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

                                    C Offline
                                    C Offline
                                    Chris Maunder
                                    wrote on last edited by
                                    #62

                                    Oh, you get a 5 for that :D

                                    cheers Chris Maunder

                                    1 Reply Last reply
                                    0
                                    • Sander RosselS Sander Rossel

                                      So "gimme code plz" will be auto-corrected to "Give me code please"? That will be an improvement :rolleyes: Seriously though, I wonder how much can really be corrected? Such a library has to be very 'smart' to fix some of the stuff I read on CP (luckily there's more good than bad though!). If someone doesn't value grammar can they form correct sentences? im sure this sentence couldve been fixed. but this sentense may it can be fixed, srry for my bad english?

                                      It's an OO world.

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

                                      C Offline
                                      C Offline
                                      Chris Maunder
                                      wrote on last edited by
                                      #63

                                      I was thinking we start simple. "i have a problem. can someone help me?" goes to "I have a problem. Can someone help me?". We then look to see common issues and do some simple stuff. cant => can't, Sql => SQL. Treading softly. Keeping it simple.

                                      cheers Chris Maunder

                                      P 1 Reply Last reply
                                      0
                                      • D Dan Neely

                                        I'm not going to make a full submission; but want to suggest that anyone serious about it be sure to implement this family of fixes (only one example given because I'm a slacker):

                                        str.replace("I have got", "I've <b>GOTTEN</b>");

                                        Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                                        C Offline
                                        C Offline
                                        Chris Maunder
                                        wrote on last edited by
                                        #64

                                        May the wrath of Bob descend on thee.

                                        cheers Chris Maunder

                                        1 Reply Last reply
                                        0
                                        • C Chris Maunder

                                          I've mentioned before an idea I had about getting the smartest and brightest (yeah, that means you lot) to come up with solutions to day to day issues we have that will, ultimately, save the community as a whole some time and pain. A challenge I'm facing at the moment is in correcting grammar and punctuation. Many, many, MANY times I see questions or articles that have things like "i then did" or "im not sure" or the punishable-by-death "ur mileage may vary". Even Sql instead of SQL and Asp.Net instead of ASP.NET keep popping up. Is anyone interested in a challenge to write a Javascript library that will auto-correct bad spelling and punctuation? It'll be a formal contest with prizes (and maybe even some better specs). Yay or nay: any interest?

                                          cheers Chris Maunder

                                          S Offline
                                          S Offline
                                          StatementTerminator
                                          wrote on last edited by
                                          #65

                                          Why JavaScript? Are you wanting to plug it into this text editor we type in? I did a quick search and such libraries already exist, though they probably don't get into punctuation. English punctuation is complex and sometimes inconsistent, coming up with the logic would be tougher than the programming. Think about how you would design an algorithm to determine whether or not "its" or "it's" is correct in a given sentence, you're probably going to need to build trees of sentence diagrams and I got enough of that in the fifth grade. Plural possessives are even worse, and speaking of plurals you're in a world of hurt with things like "attorneys general." I'll consider it but I'm not sure I'm up for that. Can't you just find some desperate English major to "intern" and proof everything for free leftover pizza?

                                          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