Recent PostsRecent Posts Popular TopicsPopular Topics
 Home Search Members Calendar Who's On

 There's a Lot to Learn From Even Simple Puzzles Rate Topic Display Mode Topic Options
Author
 Message
 Posted Monday, August 10, 2009 9:37 PM
 Say Hey Kid Group: General Forum Members Last Login: 2 days ago @ 3:10 PM Points: 662, Visits: 2,926
 Comments posted to this topic are about the item There's a Lot to Learn From Even Simple Puzzles Best wishes,Phil FactorSimple Talk
Post #768343
 Posted Monday, August 10, 2009 10:35 PM
 SSC-Forever Group: General Forum Members Last Login: Today @ 8:40 AM Points: 42,081, Visits: 39,472
 Congratulations Barry! Now, I've gotta go see what the hell you did! --Jeff Moden"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".First step towards the paradigm shift of writing Set Based code: Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column." Helpful Links:How to post code problemsHow to post performance problems
Post #768359
 Posted Monday, August 10, 2009 10:46 PM
 SSC-Forever Group: General Forum Members Last Login: Today @ 8:40 AM Points: 42,081, Visits: 39,472
 Phil and Joe, thanks for having that contest. There was a huge amount of participation, debate, and code comparison! I know you guys had to spend a heck of a lot of time wading through all of that and it's much appreciated!Well done to all who took part, as well. Some really great concepts bubbled to the surface. --Jeff Moden"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".First step towards the paradigm shift of writing Set Based code: Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column." Helpful Links:How to post code problemsHow to post performance problems
Post #768363
 Posted Tuesday, August 11, 2009 7:12 AM
 SSCrazy Eights Group: General Forum Members Last Login: Tuesday, October 25, 2016 7:17 AM Points: 9,298, Visits: 9,517
 Woo-hoo! Finally, my name in lights!Thanks, Phil and Joe. You too Jeff. Fast though it was, my submission was far from elegant or simple. Despite our head-knocking and despite even the loop in it, I would say that Mike Ross's last submission impressed me the most for simplicity and elegance. -- RBarryYoung, (302)375-0451 blog: MovingSQL.com, Twitter: @RBarryYoungProactive Performance Solutions, Inc. "Performance is our middle name."
Post #768560
 Posted Tuesday, August 11, 2009 7:47 AM
 Say Hey Kid Group: General Forum Members Last Login: 2 days ago @ 3:10 PM Points: 662, Visits: 2,926
 It was a tricky competition to judge for several reasons. Firstly, the entries were of such a high standard. Then they evolved, forked and cross-pollinated. It was also interesting to see the mutual help going on. It was like watching a horse-race where the front-running horses harnessed themselves together and crossed the finish line together. Actually, there were horses everywhere since some people seemed to end up with three or more submissions. Joe was very taken by the way that everyone had taken the trouble to read up on the theory of calculating primes and brought that knowledge to the task.We certainly agonised about whether the use of the number table should have been taken into account in the timings. however, we felt that because Joe had hinted that we wanted contestants to use that, we felt we should take a broader view of the general presentation, portability, documentation of the code etc, as well as sheer performance, so it never became the key issue. Well done to all the contestants; even the solution that I killed after it had taken 17 hours to calculate primes below 1000. It was fun to judge. Best wishes,Phil FactorSimple Talk
Post #768596
 Posted Tuesday, August 11, 2009 8:02 AM
 SSC-Dedicated Group: Administrators Last Login: Today @ 8:56 AM Points: 34,373, Visits: 18,592
 I, too, was amazed by the response to this. My initial thoughts were that the 10 people that enjoy math and SQL would jump in and most would ignore it, but there is some great work in the comments there. When Phil pointed this out to me last week that there were 20+ pages of comments, I was stunned.I think there is definitely something to learn, especially the thought process as people collaborated with each other to improve solutions.Great Job! Follow me on Twitter: @way0utwestForum Etiquette: How to post data/code on a forum to get the best help
Post #768620
 Posted Tuesday, August 11, 2009 8:31 AM
 SSCrazy Group: General Forum Members Last Login: Tuesday, April 14, 2015 6:45 AM Points: 2,403, Visits: 3,431
 Congratulations Barry!It's a good thing they accepted your late submission N 56°04'39.16"E 12°55'05.25"
Post #768661
 Posted Tuesday, August 11, 2009 8:44 AM
 Say Hey Kid Group: General Forum Members Last Login: 2 days ago @ 3:10 PM Points: 662, Visits: 2,926
 I loved your routine, Peso. It was great to follow the forum postings, and see the way that you quietly submitted it but it seemed to take a while for the other contestants to see how radically it performed! Best wishes,Phil FactorSimple Talk
Post #768672
 Posted Tuesday, August 11, 2009 8:44 AM
 SSCrazy Eights Group: General Forum Members Last Login: Tuesday, October 25, 2016 7:17 AM Points: 9,298, Visits: 9,517
 Peso (8/11/2009)Congratulations Barry!It's a good thing they accepted your late submission True, and thanks again to you Peter for pointing out the bugs in my original solution so that I had a chance to fix them! -- RBarryYoung, (302)375-0451 blog: MovingSQL.com, Twitter: @RBarryYoungProactive Performance Solutions, Inc. "Performance is our middle name."
Post #768673
 Posted Tuesday, August 11, 2009 12:05 PM
 SSCrazy Group: General Forum Members Last Login: Tuesday, April 14, 2015 6:45 AM Points: 2,403, Visits: 3,431
 Thank you!You did the hard work. I did nothing but finding some "edge" conditions for you to fix. N 56°04'39.16"E 12°55'05.25"
Post #768860

 Permissions