Re: How to Write grep in Emacs Lisp (tutorial)

2011-02-09 Thread Rob Warnock
. [At least, it wasn't in FreeBSD 4.6, though it seems to be in FreeBSD 6.x and later...] Thanks, guys!! -Rob - Rob Warnock 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403 (650)572-2607 -- http://mail.python.org/mailman/listinfo/python-list

Re: How to Write grep in Emacs Lisp (tutorial)

2011-02-09 Thread Rob Warnock
y one arg!! IT FOUND THE PATTERN, BUT DIDN'T TELL ME WHAT !@^%!$@#@! FILE IT WAS IN!! :-{ The trailing "/dev/null" fixes that. ;-} -Rob - Rob Warnock 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403 (650)572-2607 -- http://mail.python.org/mailman/listinfo/python-list

Re: "Strong typing vs. strong testing"

2010-10-13 Thread Rob Warnock
RG wrote: +--- | r...@rpw3.org (Rob Warnock) wrote: | > Write it our longhand and it's easier to grok: | > 9.8 m/s^2 ==> 9.8 m/(s*s) ==> 9.8 m/(s*s) ==> | > (9.8 meters per second) per second. | > \ / | > \__ speed a

Re: "Strong typing vs. strong testing"

2010-10-13 Thread Rob Warnock
| Now that I think about it, I still can't. :-) +--- Write it our longhand and it's easier to grok: 9.8 m/s^2 ==> 9.8 m/(s*s) ==> 9.8 m/(s*s) ==> (9.8 meters per second) per second. \ / \__ speed added __/ per second

Re: "Strong typing vs. strong testing"

2010-10-10 Thread Rob Warnock
Fortran programs in 1410 mode with output to a mag tape, then rebooted into 1401 mode to run the program that plotted the data on the tape, then rebooted back into 1410 mode for the next guy who needed the machine. -Rob ----- Rob Warnock 627 26th Avenue http://

Re: "Strong typing vs. strong testing"

2010-09-28 Thread Rob Warnock
ob [1] 1 inch is "only" ~3.41e28 g, whereas 1 second is ~4.03e38 g, so the latter completely dominates in the sum. - Rob Warnock 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403 (650)572-2607 -- http://mail.python.org/mailman/listinfo/python-list

Re: The Importance of Terminology's Quality

2008-09-01 Thread Rob Warnock
Robert Maas, <[EMAIL PROTECTED]> wrote: +--- | > From: [EMAIL PROTECTED] (Rob Warnock) | > In the LGP-30, they used hex addresses, sort of[1], but the | > opcodes (all 16 of them) had single-letter mnemonics chosen so that | > the low 4 bits of the character codes

Re: The Importance of Terminology's Quality

2008-08-21 Thread Rob Warnock
[EMAIL PROTECTED]> wrote: +--- | [EMAIL PROTECTED] (Rob Warnock) wrote: | >In the LGP-30, they used hex addresses, sort of[1], but the opcodes | >(all 16 of them) had single-letter mnemonics chosen so that the | >low 4 bits of the character codes *were* the correct nibbl

Re: The Importance of Terminology's Quality

2008-08-20 Thread Rob Warnock
s "0", "4", "8", "j", "10", "14", "18", "1j" (pronounced "J-teen"!!), etc. - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403 (650)572-2607 -- http://mail.python.org/mailman/listinfo/python-list

Re: The Importance of Terminology's Quality

2008-08-20 Thread Rob Warnock
haracter were named 1, 2, 4, 8, A, B, and W (wordmark). Oh, and C, but that was character parity -- the programmer couldn't set that separately.] What was the corresponding 1401 boot sequence? Oh, for the record, IMHO the DEC PDP-8 had a *much* simpler machine language and assembler than the IBM 1

Re: The Importance of Terminology's Quality

2008-07-22 Thread Rob Warnock
t to this [possibly dynamically-constructed] triple, where PUSHJ is the PDP-10 stack- oriented subroutine call instruction: PUSHJ P,{lambda-lifted getter code} PUSHJ P,{lambda-lifted setter code} EXP{lexical contour info needed for getter/setter to work} Efficient for the simple case; slow-but-correct for the messy case. - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403 (650)572-2607 -- http://mail.python.org/mailman/listinfo/python-list

Re: The Importance of Terminology's Quality

2008-05-09 Thread Rob Warnock
(5 6 7 8 9) > -Rob - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403 (650)572-2607 -- http://mail.python.org/mailman/listinfo/python-list

Re: The fundamental concept of continuations

2007-10-12 Thread Rob Warnock
erences are faster and heap allocation is limited, the running time for most programs is greatly decreased. ... -Rob [1] As suggested in: http://home.pipeline.com/~hbaker1/CheneyMTA.html "CONS Should Not CONS Its Arguments, Part II: Cheney on the M.T.A" Hen

Re: Xah's Edu Corner: Under the spell of Leibniz's dream

2007-08-19 Thread Rob Warnock
er sixty others have done] to contribute to the transcriptions, see <http://www.cs.utexas.edu/~EWD/transcriptions/invitation.html>. Otherwise, just count your blessings that these gems are available at all... -Rob - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue

Re: The Modernization of Emacs: terminology buffer and keybinding

2007-06-25 Thread Rob Warnock
f it didn't. +--- It does. And the default startup splash screen tells you how to access it. -Rob - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403 (650)572-2607 -- http://mail.python.org/mailman/listinfo/python-list

Re: is laziness a programer's virtue?

2007-04-16 Thread Rob Warnock
ives of Lazarus Long") entitled "The Tale of the Man Who Was Too Lazy To Fail". It's about a man who hated work so much that he worked very, *very* hard so he wouldn't have to do any (and succeeded). -Rob - Rob Warnock <[EMAIL PROTECTED]> 627 26t

Re: merits of Lisp vs Python

2006-12-18 Thread Rob Warnock
eclare (optimize (speed 3) (debug 0) (safety 0))) (loop for i fixnum from 0 by 4 and v of-type (unsigned-byte 32) in values do (setf (system:sap-ref-32 (system:int-sap addr) i) v)) (values)) Most other Common Lisp implementations surely have something similar. -Rob

Re: merits of Lisp vs Python

2006-12-13 Thread Rob Warnock
f course, that doesn't include the number of DEFUNs & DEFMACROs which are defined *by* macros, or the total of 2809 DEFINE-VOPs in the various flavors of the compiler...] -Rob - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403 (650)572-2607 -- http://mail.python.org/mailman/listinfo/python-list

Re: merits of Lisp vs Python

2006-12-13 Thread Rob Warnock
loadable tarball of the whole thing, there's a link near the bottom of this page: http://www.lispworks.com/documentation/HyperSpec/index.html -Rob - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403

Re: merits of Lisp vs Python

2006-12-13 Thread Rob Warnock
pies) everything through the matching paren into the anonymous buffer; "d%" deletes likewise [and saves in the anonymous buffer]; "p" (or "P") pastes after (or before) the current location. All can be prefixed with a buffer ("Q-register") name for more flexib

Re: merits of Lisp vs Python

2006-12-09 Thread Rob Warnock
vert)? That's in ANSI. -Rob - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403 (650)572-2607 -- http://mail.python.org/mailman/listinfo/python-list

Re: merits of Lisp vs Python

2006-12-09 Thread Rob Warnock
quot;good enough" for my purposes [given #2]. That's pretty much all you need to code in Lisp. It's what *I* use. So "I loathe Emacs" is *NOT* a believable excuse for avoiding Lisp... -Rob - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403 (650)572-2607 -- http://mail.python.org/mailman/listinfo/python-list

Re: merits of Lisp vs Python

2006-12-09 Thread Rob Warnock
lly-specified, bug-ridden, slow implementation of half of Common Lisp." -Rob - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403 (650)572-2607 -- http://mail.python.org/mailman/listinfo/python-list

Re: merits of Lisp vs Python

2006-12-08 Thread Rob Warnock
Weird. This is exactly why I use *Lisp* -- because it stays completely readable even if you don't use it on a daily basis!!! [That's also why I *don't* use Perl, except when forced to...] -Rob - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue

Re: merits of Lisp vs Python

2006-12-08 Thread Rob Warnock
CLisp really blows its doors off. +--- On my various machines, CMUCL startup is *slightly* faster than CLISP, but both are under 20 ms... I use Common Lisp for scripting a *lot*! -Rob - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue htt

Re: What is a type error?

2006-07-17 Thread Rob Warnock
/* Common Lisp's CONS */ and DELETE is just: ROW *p = find_if(predicate_function, database); /* CL's FIND-IF */ database = delete(p, database); /* CL's DELETE */ free(p); [There are single-pass methods, of course, but...] -Rob

Re: What is a type error?

2006-07-13 Thread Rob Warnock
into toy values ('fall','book','Glory Road'); INSERT 32785 1 rpw3=# select oid, * from toy where oid = 32785; oid | c1 | c2 | c3 | upd ---+--+--++- 32785 | fall | book | Glory Road |

Re: What is Expressiveness in a Computer Language

2006-06-21 Thread Rob Warnock
change of the *object's* type per se.] [2] Usually of a variables or locations, but sometimes of expressions. - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403 (650)572-2607 -- http://mail.python.org/mailman/listinfo/python-list

Re: What is Expressiveness in a Computer Language

2006-06-21 Thread Rob Warnock
really a "byte-pointer" -- a triple of a word address, a byte-size, and a byte-position-within-word -- even on target architectures other than the DEC PDP-10 [which had hardware byte-pointer types]. The compiler (even on the PDP-10) optimizes away LDB/DPB accesses into nativ

Re: A critic of Guido's blog on Python's lambda

2006-05-15 Thread Rob Warnock
s three units of effort, and a programming systems *product* takes nine units of effort. -Rob - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403 (650)572-2607 -- http://mail.python.org/mailman/listinfo/python-list

Re: A critic of Guido's blog on Python's lambda

2006-05-10 Thread Rob Warnock
urce code in the "name" slot for debugging printouts [e.g., stack backtraces]. -Rob - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403 (650)572-2607 -- http://mail.python.org/mailman/listinfo/python-list

Re: A critic of Guido's blog on Python's lambda

2006-05-09 Thread Rob Warnock
Pisin Bootvong <[EMAIL PROTECTED]> wrote: +--- | Rob Warnock wrote: | > | No matter how scalable your language is, you cannot make a | > | 100MHz/128MB server serve 100,000 client a second over the internet. | > +--- | > | > Sure you can! That'

Re: A critic of Guido's blog on Python's lambda

2006-05-09 Thread Rob Warnock
d for >100 simultaneous commercial timesharing users] - Rob Warnock <[EMAIL PROTECTED]> 627 26th Avenue http://rpw3.org/> San Mateo, CA 94403 (650)572-2607 -- http://mail.python.org/mailman/listinfo/python-list