Announcement: Be excellent to each other.


Caravel Forum : Other Boards : Forum Games : A Quick Brown Fox... (and ways to disguise it!)
12
Page 3 of 3
New Topic New Poll Post Reply
Poster Message
Tahnan
Level: Smitemaster
Avatar
Rank Points: 2459
Registered: 11-14-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Unfortunately, I'm about to leave town for the next five days, so I won't be here to confirm this or give hints; if people stall, someone should feel free to post their own to hold people over until I get back.

680639750225237231189102586858027922759905868297408
10-04-2006 at 02:38 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Tahnan
Level: Smitemaster
Avatar
Rank Points: 2459
Registered: 11-14-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Oh, dear: I didn't mean to kill the thread simply by going away for the weekend. What hint can I give that will help?
10-09-2006 at 06:27 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Tahnan
Level: Smitemaster
Avatar
Rank Points: 2459
Registered: 11-14-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
At the price of having to post three in a row: would it help if I put a subscript "10" after that long number?
10-11-2006 at 04:53 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
NiroZ
Level: Smitemaster
Rank Points: 1302
Registered: 02-12-2006
IP: Logged
icon Re: A Quick Brown Fox... (0)  
well here ya go, now you don't have to go beyond 3 posts in a row.
I'm still stumped though.
10-11-2006 at 05:05 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Lardarse
Level: Delver
Avatar
Rank Points: 56
Registered: 08-26-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Tahnan wrote:
At the price of having to post three in a row: would it help if I put a subscript "10" after that long number?
I'm not going to attempt to make bc try to check this for me, but what you did was treated the string "aquickbrownfoxjumpsoverthelazydog" as a base 26 number, with a=0, b=1, c=2 (or something like that) and then converted that number to base 10?
10-11-2006 at 08:33 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
silver
Level: Smitemaster
Rank Points: 915
Registered: 01-18-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
I wrote this quickie perl script to check that:

use Math::BigInt qw(:constant);

my $string = "aquickbrownfoxjumpsoverthelazydog";
my @letters = split //, $string;

my $total_value = 0;

foreach my $letter ( @letters ) {
    $total_value *= 26;
    my $letter_value = ord($letter) - ord('a') + 1;
    $total_value += $letter_value;
}

print "total value is $total_value\n";

but I get 3205221610162726018234037854244722406420143941 as the result.

and if I try removing the +1, I get 1227430254603498247158456925583509788478126958

so I guess that's not it (though it still might be close)

I also tried with the original string (jumped instead of jumps, but doesn't use all 26 letters), but the values were

83335761864230876474084960003328559896196947781 and
31913186619690954426119855858137031829704506222


____________________________
:yinyang

[Last edited by silver at 10-11-2006 08:49 AM]
10-11-2006 at 08:45 AM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
TripleM
Level: Smitemaster
Rank Points: 1373
Registered: 02-05-2003
IP: Logged
icon Re: A Quick Brown Fox... (0)  
I've tried factoring it too. No use, theres several twos, a few more factors, then a 6 digit prime factor.. and then more factors a lot bigger than that.
10-11-2006 at 10:35 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
Tahnan
Level: Smitemaster
Avatar
Rank Points: 2459
Registered: 11-14-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
. o O ( Base 26? Who uses base 26? )

. o O ( And they will recognize thought balloons, won't they? )
10-11-2006 at 06:24 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Znirk
Level: Smitemaster
Avatar
Rank Points: 613
Registered: 07-28-2005
IP: Logged
icon Re: A Quick Brown Fox... (+1)  
Tahnan wrote:
. o O ( Base 26? Who uses base 26? )
People with an above-average number of fingers, mostly.
10-12-2006 at 11:24 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
MartianInvader
Level: Master Delver
Rank Points: 126
Registered: 01-30-2004
IP: Logged
icon Re: A Quick Brown Fox... (0)  
I was gonna guess that you took the ASCII codes for the letters of the sentence, concatenated them to get one giant base-2 number, and converted THAT to base 10, but I think this is wrong since none of 'g', 'G', or '.' have ASCII ending in a multiple of 4...

____________________________
Yes, I very rarely post. But I DO keep coming back to check the forum.
10-12-2006 at 03:39 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
Tahnan
Level: Smitemaster
Avatar
Rank Points: 2459
Registered: 11-14-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Znirk wrote:
Tahnan wrote:
. o O ( Base 26? Who uses base 26? )
People with an above-average number of fingers, mostly.

These people don't have nearly enough fingers.
10-12-2006 at 05:29 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Tahnan
Level: Smitemaster
Avatar
Rank Points: 2459
Registered: 11-14-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Tahnan wrote:

680639750225237231189102586858027922759905868297408

Hey, if anyone else needs a thread killed, let me know. "Base 26" was really, really close, but...

Would it help if I told you that "BE" is hexadecimal for "190", but would translate in the above system into 410?
10-17-2006 at 05:51 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Lardarse
Level: Delver
Avatar
Rank Points: 56
Registered: 08-26-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Ok...

In Hex, BE is 16 * 11 + 14 = 176 + 124 = 190

410 is 15*26 + 20

Meaning that the B is worth 15 and the E is 20. Can't be 26...

Base 27 is 15 and 5. That might be closer...

Of course, all bets are off if you used a custom letter order... :disgust
10-18-2006 at 01:55 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
Tim
Level: Smitemaster
Avatar
Rank Points: 1979
Registered: 08-07-2004
IP: Logged
icon Re: A Quick Brown Fox... (+1)  
Lardarse wrote:
In Hex, BE is 16 * 11 + 14 = 176 + 124 = 190

410 is 15*26 + 20
Well, 410 is also 11 * 36 + 14.

So 190 = 16 * 11(B) + 14(E)
and 410 = 36 * 11(B) + 14(E)

Let's assume that he meant 36 when he said "base 26". (Well, I suppose to start with 'A=10', one has to put the numbers '0-9' somewhere...)

You know what, forget what I wrote here, I don't think it would be this easy ;)

____________________________
The best way to lose customers is to let little kids running loose on a forum with too many mod points.
10-18-2006 at 04:05 AM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
Lardarse
Level: Delver
Avatar
Rank Points: 56
Registered: 08-26-2005
IP: Logged
icon Re: A Quick Brown Fox... (+1)  
!!! :selftwak

I made a spreadsheet listing the possibilities from 8 to 40, and I completely missed that one... :~(
10-18-2006 at 06:41 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
Tahnan
Level: Smitemaster
Avatar
Rank Points: 2459
Registered: 11-14-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Tim wrote:

You know what, forget what I wrote here, I don't think it would be this easy ;)

. o O ( This easy? I've stalled the thread for how many weeks at this point? )
10-18-2006 at 06:51 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Lardarse
Level: Delver
Avatar
Rank Points: 56
Registered: 08-26-2005
IP: Logged
icon Re: A Quick Brown Fox... (+1)  
It is that easy. He treated the string as being base 36, then converted it to base 10. The only thing I can't tell is if he used jumped or jumps...
10-18-2006 at 07:03 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
Tahnan
Level: Smitemaster
Avatar
Rank Points: 2459
Registered: 11-14-2005
IP: Logged
icon Re: A Quick Brown Fox... (+1)  
Lardarse wrote:
It is that easy. He treated the string as being base 36, then converted it to base 10. The only thing I can't tell is if he used jumped or jumps...

And that is absolutely right. If, in fact, I had a single mod point left (where the heck did they go?), I'd mod up that post.
10-18-2006 at 09:37 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Lardarse
Level: Delver
Avatar
Rank Points: 56
Registered: 08-26-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Well... I've given Tim a +1 for practically giving me the answer to that on a plate, and I've given you 1 as well for creating a puzzle which was both very hard and blatantly obvious. I'm almost ashamed to have not gotten it earlier...

Here's mine:
0x0d410311081118452e131d130f52150a344118110c0200452317171641061b006c0d131e1852170a2b4f
10-20-2006 at 04:00 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
Kevin_P86
Level: Smitemaster
Avatar
Rank Points: 535
Registered: 06-28-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Tahnan wrote:
Unfortunately, I'm about to leave town for the next five days, so I won't be here to confirm this or give hints; if people stall, someone should feel free to post their own to hold people over until I get back.

680639750225237231189102586858027922759905868297408
Hmm... 680639750225237231189102586858027922759905868297408 = AQUICKBROWNFOXJUMPSOVERTHELB0YDOG in base 36.

Edit: Never mind. For whatever reason, my program was refusing to display 'Z' in base 36...

____________________________
+++++[>+++++<-]>[>+++>++++>+++++<<<-]>.>+.>-------.<++++.+++++.

[Last edited by Kevin_P86 at 10-20-2006 07:14 AM]
10-20-2006 at 06:53 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Lardarse
Level: Delver
Avatar
Rank Points: 56
Registered: 08-26-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Sounds like a coding error. I did see a program that will convert in and out of a few bases as you're typing the number in, but I wasn't able to get it to compile. Maybe one day I'll re-write it using GMP...
10-20-2006 at 11:55 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
Kevin_P86
Level: Smitemaster
Avatar
Rank Points: 535
Registered: 06-28-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Lardarse wrote:
Sounds like a coding error.
Yes, exactly. And I still don't know what's wrong with it. It's the stupidest thing - convert 18 to base 19 is converted correctly as J (and in general, converting (n-1) to base n works for n <= 19), but when I try to convert 19 to base 20, the result is "10" (or in general, converting (n-1) to base n results in "10" for n >= 20). It just doesn't make any sense...!

____________________________
+++++[>+++++<-]>[>+++>++++>+++++<<<-]>.>+.>-------.<++++.+++++.
10-20-2006 at 11:02 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
TripleM
Level: Smitemaster
Rank Points: 1373
Registered: 02-05-2003
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Can I have a look at your program? :P
10-20-2006 at 11:09 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
Kevin_P86
Level: Smitemaster
Avatar
Rank Points: 535
Registered: 06-28-2005
IP: Logged

File: Number.zip (4.8 KB)
Downloaded 51 times.
License: Public Domain
icon Re: A Quick Brown Fox... (0)  
Sure... :)
This should be all you need. I am almost certain the problem has to be in the "Number::ConvertTo()" function.

____________________________
+++++[>+++++<-]>[>+++>++++>+++++<<<-]>.>+.>-------.<++++.+++++.
10-20-2006 at 11:14 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Chris
Level: Master Delver
Rank Points: 144
Registered: 08-12-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
'dc' can convert between bases, but seems to not want to use letters. 'perl' can be used to replace the numbers by corresponding letters:

$ dc -e 36o680639750225237231189102586858027922759905868297408p | tr -d \\012' \' | perl -p -e 's/(\d\d)/chr($1-10+ord('A'))/ge'; echo
AQUICKBROWNFOXJUMPSOVERTHELAZYDOG
$ 

10-20-2006 at 11:40 PM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
TripleM
Level: Smitemaster
Rank Points: 1373
Registered: 02-05-2003
IP: Logged
icon Re: A Quick Brown Fox... (+2)  
Kevin_P86 wrote:
Sure... :)
This should be all you need. I am almost certain the problem has to be in the "Number::ConvertTo()" function.
Inside the do-while loop in there you have:
intPart = Whole(tempPart.Divide(tempNewBase, 1));
Rounding that division to 1dp (or in fact, rounding it to any particular precision) can cause it to round up to an integer value when you don't want it to.. in this case, 20/21 = 0.95.. is being rounded up to 1.0, which is why it thinks there is a whole 21 there and gives '10'.
10-20-2006 at 11:49 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
Kevin_P86
Level: Smitemaster
Avatar
Rank Points: 535
Registered: 06-28-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Yes, that's right! Thanks, TripleM!

I changed it to round to 2dp instead of 1, and even converting 61 to base 62 is correctly converted as 'z' (which is the highest base it does). I don't want it to have to calculate excess decimal points when it's going to truncate them away anyways - the ConvertTo() is slow enough as it is...!

____________________________
+++++[>+++++<-]>[>+++>++++>+++++<<<-]>.>+.>-------.<++++.+++++.
10-21-2006 at 12:38 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Tim
Level: Smitemaster
Avatar
Rank Points: 1979
Registered: 08-07-2004
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Lardarse wrote:
Well... I've given Tim a +1 for practically giving me the answer to that on a plate...
Thanks! I've given you a point back, as I couldn't solve it if you didn't made that obvious error...

____________________________
The best way to lose customers is to let little kids running loose on a forum with too many mod points.
10-21-2006 at 12:50 AM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
Lardarse
Level: Delver
Avatar
Rank Points: 56
Registered: 08-26-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Thanks Tim. Although I wish I was less prone to stupid moments like that...

And to the rest of you, can we get back on topic here please? :)
10-22-2006 at 10:42 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
Beef Row
Level: Smiter
Rank Points: 471
Registered: 12-28-2005
IP: Logged
icon Re: A Quick Brown Fox... (0)  
Well, since this is clearly long past the 'winner will post next' phase, I'm using the JUMPS version of the sentence, and my disguise for it is:

DcZjwlUsPyPXsinuIICqphxxHOGqnrglcVoPYZBwpS

Good luck!

____________________________
"Now I will repeatedly apply the happy-face rule"
12-21-2006 at 12:34 AM
View Profile Send Private Message to User Send Email to User Show all user's posts Quote Reply
12
Page 3 of 3
New Topic New Poll Post Reply
Caravel Forum : Other Boards : Forum Games : A Quick Brown Fox... (and ways to disguise it!)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.