Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > Miscellaneous > Lounge

Notices

Reply
 
Thread Tools Search this Thread
Old 06-30-2004, 06:25 AM   #121
uncopyrightable
Nameless Being
 
Yep! I'm porting this code to Pascal.
My mistake was in incorrect understanding how switch statement without breaks works.
So, after code purifying Your desire may shall come
  Reply With Quote
Old 06-30-2004, 06:46 AM   #122
Unregistered
Nameless Being
 
Pascal code here :
http://www.my-eldorado.net/Google-Ch...ery-Source.php
  Reply With Quote
Advert
Old 06-30-2004, 07:13 AM   #123
uncopyrightable
Nameless Being
 
Both pascal source and binary: http://uncopyrightable.front.ru/
  Reply With Quote
Old 06-30-2004, 07:22 AM   #124
synku
Junior Member
synku began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2004
Lightbulb

Quote:
Originally Posted by cyberax
Hi Alex / Doctorow ... how is it going ?

Lets do it guys.. then we will try to do something about Yahoo WebRank
Seriously, I would be glad to work on an equivalent for Y! WebRank.
However it's only available in beta version of the Yahoo Toolbar, and public beta-testing is closed atm.
Anyone had more chance ?
privmsg me to send any files to analyze.
synku is offline   Reply With Quote
Old 07-01-2004, 06:33 PM   #125
Unregistered
Nameless Being
 
Post perl

anyone translated it to perl / cgi?
yes i am a lazy guy but if one has done it allready i'll save some time

please post here!
  Reply With Quote
Advert
Old 07-06-2004, 08:49 PM   #126
Will.Spencer
Junior Member
Will.Spencer began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2004
Quote:
Originally Posted by doctorow
The Google Checksum Calculator, by Alex Stapleton, Andy Doctorow, Vijay "Cyberax" Bhatter, and a few others.
In this (latest?) revision of the PHP program, the first character of the ch value appears to be clipped when the ch value is printed.
See how the printed value of ch starts "610..." and the ch value in the URL starts "6610..."?

Or is this just me?


Will.Spencer is offline   Reply With Quote
Old 07-06-2004, 08:59 PM   #127
Will.Spencer
Junior Member
Will.Spencer began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2004
These versions need version control.

Last edited by Will.Spencer; 07-06-2004 at 09:22 PM.
Will.Spencer is offline   Reply With Quote
Old 07-07-2004, 09:12 AM   #128
Jim
Junior Member
Jim began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2004
i translated to perl, but it seems that the current implementation im using is only 32bit, and some of the integers ive used as a test are at least 33 bit, which means it doesnt work!

If anyones got a clever solution to do bitwise operations on these numbers, please let me know!

Jim
Jim is offline   Reply With Quote
Old 07-07-2004, 09:51 AM   #129
Unregistered
Nameless Being
 
I am actually working on a perl-version, too, right now.
I ran into the problem you described with the first test ...
the overflowing with bigger numbers and bitwise operations seems not to work.
I actually don't have a clue about all these basical things, I'm doing cgi-scripts most of the time. Anyhow, enough excuses. I think the problem can be solved by not using the bitwise operators on the big ints but simply prepare the ints to behave like in php or bash: for example
Code:
sub bitleft
{
	my $first = shift;
	my $second = shift;
	my $max = 4_294_967_296;
	my $special = 1 if($first > $max || $second > $max);
	$first = $first - $max if($first > $max);
	$second = $second - $max if($second > $max);
	if($special == 1)
	{
		return ($first << $second);
	}
	my $result = $first << $second;
	return -($max - $result);
}
where
$a << $b would be bitleft($a, $b);
it more or less works, but does not in all subs deal with signs correctly (eg. the xor-one has a problem with too big negative numbers). drop me a line at jan@delinquent.SPAMISBAD.de and I'll be happy to send you the code I got so far. remove the SPAMISBAD, of course
  Reply With Quote
Old 07-07-2004, 11:40 AM   #130
Will.Spencer
Junior Member
Will.Spencer began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2004
Quote:
Originally Posted by uncopyrightable
Both pascal source and binary:
http://uncopyrightable.front.ru/
When I execute the binary from your site on my WinXP system, I receive the following error after I press <Get PR>:

"Access violation at address 00453B77 in module 'chpr.exe'. Read of address 00000000."
Will.Spencer is offline   Reply With Quote
Old 07-07-2004, 12:09 PM   #131
jan
Nameless Being
 
mhkay, obviously I really got a problem over here. Got most of the functions ready (but hey, it's ugly, it's really ugly...) but it can't be the right way. anyhow, gonna get them ready and testdrive then.
  Reply With Quote
Old 07-07-2004, 05:02 PM   #132
jan
Nameless Being
 
damn it, I don
  Reply With Quote
Old 07-07-2004, 05:09 PM   #133
jan
Nameless Being
 
was trying to say, that I don't get it. I wrote functions that shall bitshift & stuff in perl behaving like php but obviously didn't make it, since they fail from time to time. Since I really don't have the theoretical background for all that, I hope someone else will have more success. the code I've written so far is available at http://www.delinquent.de/ch.txt . It's clean right now, so all my tests are out and it's ready to run. Start it, it tries to generate the checksum for http://www.delinquent.de/, which should be 63086170437 I think. review definetly needed, someone who actually understands more than I do will hopefully solve the issue with a couple of lines.
questions, comments and flames for bad code to jan@delinquent.de.invalid.
just leave the .invalid out when using it.
  Reply With Quote
Old 07-15-2004, 07:36 AM   #134
mrseo
Junior Member
mrseo began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2004
Google sux !

Last edited by mrseo; 08-12-2004 at 04:34 AM.
mrseo is offline   Reply With Quote
Old 07-17-2004, 05:05 PM   #135
Will.Spencer
Junior Member
Will.Spencer began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2004
Quote:
Originally Posted by mrseo
If you're interested in Google PageRank, you've gotta check this out :
http://cryptopowah.online.fr

Bahahahahahaha... people trying to sell free stuff is so funny.
Will.Spencer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Seriously thoughtful Dekker's Algorithm help. Catire Lounge 13 03-19-2010 10:03 AM
Bulk Pagerank Checker Script? SNaRe Lounge 2 10-22-2006 04:36 PM
Google Toolbar Pagerank Checksum Revealed! Alexander Turcic Lounge 5 02-17-2006 08:09 AM
Google Checksum CH calculator cyberax Lounge 2 08-17-2004 09:37 PM


All times are GMT -4. The time now is 01:30 AM.


MobileRead.com is a privately owned, operated and funded community.