THE BORE

General => The Superdeep Borehole => Topic started by: Reb on May 05, 2010, 02:39:37 PM

Title: Codepeople, please help me interpret this code
Post by: Reb on May 05, 2010, 02:39:37 PM
This should give me the coordinates of a Geocache, can somebody tell me how?

(http://img.geocaching.com/cache/f1976d66-ec09-44cd-a23d-1df3a2baaa82.jpg)
Title: Re: Codepeople, please help me interpret this code
Post by: Reb on May 05, 2010, 03:23:06 PM
Treasure hunt basically, it gives you this as a clue, which should supply you with the coordinates of the treasure.
Title: Re: Codepeople, please help me interpret this code
Post by: tiesto on May 05, 2010, 03:36:31 PM
Can't you just copy and paste the code into a compiler and then run it?

I can't for the life of me remember regex's so I can't help you much here :P
Title: Re: Codepeople, please help me interpret this code
Post by: Reb on May 05, 2010, 03:38:31 PM
I don't even know what a compiler is, also I only have this picture, so I would have to type it.
Title: Re: Codepeople, please help me interpret this code
Post by: demi on May 05, 2010, 03:40:11 PM
Got it. Paypal me $50 and I send it to you.
Title: Re: Codepeople, please help me interpret this code
Post by: recursivelyenumerable on May 05, 2010, 06:38:34 PM
This is C# code.  I interpret it as meaning someone on the team needs a stern talking-to.
Title: Re: Codepeople, please help me interpret this code
Post by: T-Short on May 06, 2010, 02:39:34 AM
Is there no ++ in C#? Is that why there is that distinguished mentally-challenged AddOne function or am I missing something else it does?

tehe. that code has ++ right in there. the AddOne thing is probably just a dumb thing to confuse people. hua
Title: Re: Codepeople, please help me interpret this code
Post by: Reb on May 06, 2010, 03:33:44 AM
So, there's no way to plug in the code somewhere to get the solution?
Title: Re: Codepeople, please help me interpret this code
Post by: jiji on May 06, 2010, 03:40:33 AM
I'm not too familiar with C# and its parameter scoping. Shouldn't that AddOne do nothing at all?
Title: Re: Codepeople, please help me interpret this code
Post by: pollo on May 06, 2010, 09:03:59 AM
N52 38.835 E005 05.137

someone confirm, i make a lot of mistakes
Title: Re: Codepeople, please help me interpret this code
Post by: T-Short on May 06, 2010, 10:27:04 AM
N52 38.835 E005 05.137

someone confirm, i make a lot of mistakes

well, those are valid coords and they give a location in Hoorn, The Netherlands, so seems legit considering there is dutch in the code.

edit: link!
http://maps.google.com/maps?f=q&source=s_q&hl=sv&geocode=&q=N52+38.835+E5+05.137&sll=37.0625,-95.677068&sspn=61.065158,116.103516&ie=UTF8&z=16 (http://maps.google.com/maps?f=q&source=s_q&hl=sv&geocode=&q=N52+38.835+E5+05.137&sll=37.0625,-95.677068&sspn=61.065158,116.103516&ie=UTF8&z=16)
Title: Re: Codepeople, please help me interpret this code
Post by: Reb on May 06, 2010, 10:33:48 AM
Yeah, it should be in Hoorn! Thanks!
Title: Re: Codepeople, please help me interpret this code
Post by: Bocsius on May 06, 2010, 11:44:42 AM
N52 38.835 E005 05.137

someone confirm, i make a lot of mistakes

That's correct.

I'm not too familiar with C# and its parameter scoping. Shouldn't that AddOne do nothing at all?

Technically, it does something, just not anything particularly useful in this case. The variable b at the call site will not be modified, the call is just one more obfuscation of the code. The method and call can be left out entirely.
Title: Re: Codepeople, please help me interpret this code
Post by: Robo on May 06, 2010, 11:56:03 AM
De schat is verborgen in de struiken!
Title: Re: Codepeople, please help me interpret this code
Post by: tehjaybo on May 06, 2010, 12:03:51 PM
I really think I'd like to try my hand at this Geocaching. 
Title: Re: Codepeople, please help me interpret this code
Post by: demi on May 06, 2010, 01:08:05 PM
I really think I'd like to try my hand at this Geocaching. 

It's gay
Title: Re: Codepeople, please help me interpret this code
Post by: TripleA on May 06, 2010, 01:45:05 PM
whats the treasure
Title: Re: Codepeople, please help me interpret this code
Post by: Reb on May 06, 2010, 02:27:45 PM
It's a little box, with a piece of paper you can write your name on.

This was to help out my inlaws, they were very impressed with my skills. :teehee
Title: Re: Codepeople, please help me interpret this code
Post by: T-Short on May 06, 2010, 02:29:13 PM
It's a little box, with a piece of paper you can write your name on.

This was to help out my inlaws, they were very impressed with my skills. :teehee

tell them to write "evilbore" on the paper