Countdown to PDC2008: Technical Fellow John Shewchuk Talks About His Talk at PDC2008
- Posted: Sep 11, 2008 at 6:04 PM
- 60,910 Views
- 13 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
Speaking of the challenge, the longest distances I could go so far were between 31 and 52 hops depending on the assumptions. And that’s after quite a bit of rather contrived coding to eliminate loops. This one seems to be more difficult than the previous two (unless I’m heading in the wrong direction J ). I wonder what I’m going to do tomorrow lunchtime… J J J
Brianna says:
A hollow voice says "PDC."
As with prior challenges, I'd love to hear the thinking process behind your solution, if you want to share it.
Actually, I saw the challenge yesterday morning for the first time. I read the nice clues above fromFridjon (Thanks btw...), and I immediately associated everything to the good old Amiga-days, when we used to make demos with nice vector graphics in them... These numbers just had to be vectors. I figured that the groups of four numbers must be "Distance" (the length of the vector), a "Point" (X and Y coords) and "Direction" (the angle). The problem was just which number was what? The last number was the only one in each group that was larger than 0, so that had to be the length. The third number spanned from negative to positive numbers, so I guessed that had to be the angle. That left the coordinates to number one and two.
Then I created a small C# program that would draw all these vectors (using what's left of my old trigonometry knowledge from the scene). Of course nothing showed up... But then I thought about "the wrong direction", so I animated a rotation on every vector, and after some "trial and horror" a text magically appeared in front of me... "ASK THE BRAIN ABOUT XYZZY". So I did...
Remove this comment
Remove this thread
close