Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Lisp > Re: Why wasn't ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 11 of 30 Topic 12448 of 13402
Post > Topic >>

Re: Why wasn't I told about logbitp?!

by usenet1.3.CalRobert@[EMAIL PROTECTED] (Robert Maas, http://tinyurl May 9, 2008 at 12:37 AM

> From: Ken Tilton <kennytil...@[EMAIL PROTECTED]
>
> I just think my damn compiler has an obligation to tell me when I
> am reinventing the damn wheel!

There's a Web site that recognizes sequences of integers, such as
fibonacci numbers or prime numbers etc. You give it the first
several elements of a sequence and it tells you any sequences it
knows that starts with that initial segment.

There's anotehr Web site that recognizes real numbers, such as pi
or sqrt(2). You give it an approximate value and it shows you all
values it knows about which are similar enough to what you gave.

(Sorry, I didn't bookmark the URLs for them.)

Maybe you would like a Web site that recognizes functions. You feed
it a function definition, and it tries various parameters into it
and compares the results with the results known functions for the
same parameters until it figures out whether there is any function
that matches your function for enough inputs to give high
confidence it's the same function. It then compares your function
definition with the definition of the standard function to try to
prove they are mathematically equivalent or generate a
counterexample.

> I bet Lispworks does! Or SBCL for sure, those yobbos are solving
> im****tant problems like that all the time!! But Franz? Noooooooo!

Maybe you can interface one of those to the Web so that anyone in
the world can submit a function to compare with known functions?

> I found logbitp on the verge of only the second reinvention,

I found logbitp in CLtL1, in the section on "Logical Operations
on Numbers" (pages 220-225). Note the key phrase on page 221:
"This method of using integers to represent bit-vectors ..."
That's an example of an intentional data type,
internally integers but intentionally bit-vectors.
(Actually at the machine level it's the other way around!
 RAM has nothing but octets of bits. It's the CPU that has
 some instructions that interpret octets of bits as integers,
 and other instructions that interpret those same octets of
 bits as device control codes, and other instructions that
 interpret those same octets of bits as floating point values,
 and other instructions that treat each octet as two BCD digits,
 and other instructions that really do treat octets as bit-vectors.)
 




 30 Posts in Topic:
Why wasn't I told about logbitp?!
Ken Tilton <kennytilto  2008-05-08 15:48:59 
Re: Why wasn't I told about logbitp?!
"j.oke" <jav  2008-05-08 13:14:05 
Re: Why wasn't I told about logbitp?!
Brian <quickbasicguru@  2008-05-08 18:52:57 
Re: Why wasn't I told about logbitp?!
Ken Tilton <kennytilto  2008-05-08 23:23:22 
Re: Why wasn't I told about logbitp?!
Kent M Pitman <pitman@  2008-05-09 01:00:53 
Re: Why wasn't I told about logbitp?!
Ken Tilton <kennytilto  2008-05-09 06:18:16 
Re: Why wasn't I told about logbitp?!
learninglisp <learning  2008-05-09 16:39:00 
Re: Why wasn't I told about logbitp?!
Ken Tilton <kennytilto  2008-05-09 11:28:28 
Re: Why wasn't I told about logbitp?!
GP lisper <spambait@[E  2008-05-10 22:28:55 
Re: Why wasn't I told about logbitp?!
Duane Rettig <duane@[E  2008-05-08 23:40:06 
Re: Why wasn't I told about logbitp?!
usenet1.3.CalRobert@[EMAI  2008-05-09 00:37:19 
Re: Why wasn't I told about logbitp?!
"Thomas F. Burdick&q  2008-05-09 01:41:12 
Re: Why wasn't I told about logbitp?!
Ken Tilton <kennytilto  2008-05-09 07:12:14 
Re: Why wasn't I told about logbitp?!
"Thomas F. Burdick&q  2008-05-12 11:31:31 
Re: Why wasn't I told about logbitp?!
Ken Tilton <kennytilto  2008-05-12 14:56:53 
Re: Why wasn't I told about logbitp?!
Leandro Rios <leandrop  2008-05-12 20:58:14 
Re: Why wasn't I told about logbitp?!
Ken Tilton <kennytilto  2008-05-12 21:25:58 
Re: Why wasn't I told about logbitp?!
Leandro Rios <leandrop  2008-05-12 23:11:15 
Re: Why wasn't I told about logbitp?!
Pascal Costanza <pc@[E  2008-05-13 10:13:47 
Re: Why wasn't I told about logbitp?!
GP lisper <spambait@[E  2008-05-13 15:52:29 
Re: Why wasn't I told about logbitp?!
Espen Vestre <espen@[E  2008-05-09 08:01:27 
Re: Why wasn't I told about logbitp?!
Slobodan Blazeski <slo  2008-05-09 00:42:00 
Re: Why wasn't I told about logbitp?!
Ken Tilton <kennytilto  2008-05-09 06:24:44 
Re: Why wasn't I told about logbitp?!
Espen Vestre <espen@[E  2008-05-09 12:41:43 
Re: Why wasn't I told about logbitp?!
Espen Vestre <espen@[E  2008-05-09 13:49:07 
Re: Why wasn't I told about logbitp?!
"Frank \"frgo\&  2008-05-09 22:50:10 
Re: Why wasn't I told about logbitp?!
=?UTF-8?Q?Stanis=C5=82aw?  2008-05-10 21:13:18 
Re: Why wasn't I told about logbitp?!
Kent M Pitman <pitman@  2008-05-11 00:48:31 
Re: Why wasn't I told about logbitp?!
Tayssir John Gabbour <  2008-05-16 15:12:37 
Re: Why wasn't I told about logbitp?!
usenet1.3.CalRobert@[EMAI  2008-05-08 23:52:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Sep 6 23:14:04 CDT 2008.