Re: [Chicken-hackers] [PATCH] More efficient numbers integration through scratchspace

2015-04-19 Thread John Cowan
because they generate bigger and bigger ratnums, and any time where efficiency beats accuracy, you want to switch to flonums. This is often done by inserting judicious decimal points into the constants in the program, but it would be better to make it a switch of some sort. -- John Cowan

Re: [Chicken-hackers] Any thoughts on performance woes?

2015-04-07 Thread John Cowan
language communities that do the same things or the same reasons. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org C'est la` pourtant que se livre le sens du dire, de ce que, s'y conjuguant le nyania qui bruit des sexes en compagnie, il supplee a ce qu'entre eux, de rapport nyait

Re: [Chicken-hackers] extracting srfi-1 from chicken 5

2015-02-02 Thread John Cowan
Felix Winkelmann scripsit: Right, that was the intention. The definitions in mini-srfi-1.scm are not exposed currently. Oh, if they don't show through to user code in csi, then no problem. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Nobody expects the RESTifarian

Re: [Chicken-hackers] Redefinition of imported bindings

2015-02-01 Thread John Cowan
Dan Leslie scripsit: #;3 foo#bar 1 IMO the value of such symbols is a detail of Chicken implementation that nobody ought to count on. It is not like Common Lisp's foo::bar, which is explicitly exposed as a feature of the language. -- John Cowan http://www.ccil.org/~cowan

Re: [Chicken-hackers] extracting srfi-1 from chicken 5

2015-02-01 Thread John Cowan
; in particular, that it doesn't typically support multiple list arguments. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Police in many lands are now complaining that local arrestees are insisting on having their Miranda rights read to them, just like perps in American TV cop shows

[Chicken-hackers] Bug in numbers egg (perhaps in scrutiny)

2015-01-10 Thread John Cowan
out (use numbers), there is no warning. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org We do, doodley do, doodley do, doodley do, What we must, muddily must, muddily must, muddily must; Muddily do, muddily do, muddily do, muddily do, Until we bust, bodily bust, bodily bust

Re: [Chicken-hackers] Why isn't OPTIMIZE_FOR_SPEED the default?

2014-11-03 Thread John Cowan
://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Please leave your values at the front desk. --sign in Paris hotel Check your assumptions. In fact, check your assumptions at the door

Re: [Chicken-hackers] Why isn't OPTIMIZE_FOR_SPEED the default?

2014-11-02 Thread John Cowan
such a bug long ago, removed the -On argument, saw the bug go away, and left it at that. Ghu knows chicken's output is a torture test for C compilers. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Where the wombat has walked, it will inevitably walk again. (even through brick

Re: [Chicken-hackers] CHICKEN in production

2014-10-16 Thread John Cowan
stick with the current behaviour; at least it's a choice we can defend. All right, to hell with it. We can't make everyone happy. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Where the wombat has walked, it will inevitably walk again. (even through brick walls

Re: [Chicken-hackers] CHICKEN in production

2014-10-13 Thread John Cowan
the way)? Also, NUL is a valid UTF-8 character. Valid but useless. It has no significance whatever. The only reason to allow NUL is in situations where strings are being used as bytevectors, but we *have* both blobs and u8vectors. -- John Cowan http://www.ccil.org/~cowanco

Re: [Chicken-hackers] CHICKEN in production

2014-10-13 Thread John Cowan
? JSON parsers written in C won't be able to handle it either, since AFAIK they all return C strings. You probably won't be able to store it in a database either, since they use C APIs somewhere in the process. I am frankly sick of tools bending over backwards to support NUL. -- John Cowan

Re: [Chicken-hackers] CHICKEN in production

2014-10-13 Thread John Cowan
document, which is far better than having it accept it with a truncated string. It's not, after all, a DoS to deny service to a malicious actor. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org We do, doodley do, doodley do, doodley do, What we must, muddily must, muddily must

Re: [Chicken-hackers] CHICKEN in production

2014-10-13 Thread John Cowan
as general purpose as anyone else's strings, even though they can't handle NUL. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Sir, I quite agree with you, but what are we two against so many? --George Bernard Shaw, to a man booing at the opening of _Arms and the Man_

Re: [Chicken-hackers] CHICKEN in production

2014-10-08 Thread John Cowan
normally, by the GC). Well, string-set! and string-fill! and the like would have to check for inserting NUL and either set the taint bit (if you really want to keep such strings available) or barf. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org If [Tim Berners-Lee] has

Re: [Chicken-hackers] CHICKEN in production

2014-10-08 Thread John Cowan
: Disallow NUL in strings (break backward compatibility) Eliminate checking for NUL in the FFI (no longer needed) How does that sound? -- John Cowan http://www.ccil.org/~cowanco...@ccil.org 'My young friend, if you do not now, immediately and instantly, pull as hard as ever you

Re: [Chicken-hackers] [PATCH][for chicken-5] Remove srfi-13

2014-09-11 Thread John Cowan
for `let-optionals*` and replacing `string-ref` and `string-set!` with unsafe equivalents in the loops and relying on the higher-level safety checks are both wins. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org They do not preach that their God will rouse them A little

Re: [Chicken-hackers] [PATCH 0/5] List scrutiny special cases

2014-09-09 Thread John Cowan
checking). Eventually, there should be a way for eggs to add types to the scrutinizer database through a public API of some kind. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org You're a brave man! Go and break through the lines, and remember while you're out

Re: [Chicken-hackers] [PATCH 0/5] List scrutiny special cases

2014-09-09 Thread John Cowan
intolerable. I suppose if I confine myself to : and define-type, then I could ship my code along with macros that turn them into (begin). -- John Cowan http://www.ccil.org/~cowanco...@ccil.org One art / There is / No less / No more To do / All things / With sparks / Galore

Re: [Chicken-hackers] Made a start with CHICKEN 5 proposal

2014-09-09 Thread John Cowan
(there are many ways to abbreviate something, but only one way not to - I forgot who said this, John will tell me, I'm sure.) It's the .sig of David B. Lamkins, but whether he invented it, he doesn't say. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Ambassador

Re: [Chicken-hackers] Made a start with CHICKEN 5 proposal

2014-09-09 Thread John Cowan
Felix Winkelmann scripsit: Thanks for clearing that up. I knew that your encyclopedic brain can be relied on. I darkly recall having read it in CLTL2 by Guy Steele, but wasn't sure where he got it from. In this case it's Dr. Google who can be relied upon. -- John Cowan http

Re: [Chicken-hackers] Gauche, R7RS, and dots

2014-08-27 Thread John Cowan
has abandoned his efforts, not that Gambit as a whole has been abandoned. The person mentioned it to me in f2f conversation. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org I Hope, Sir, that we are not mutually Un-friended by this Difference which hath happened betwixt us

Re: [Chicken-hackers] Made a start with CHICKEN 5 proposal

2014-08-26 Thread John Cowan
of a highly specific condition system incompatible with what the implementation already provided. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org SAXParserFactory [is] a hideous, evil monstrosity of a class that should be hung, shot, beheaded, drawn and quartered, burned

Re: [Chicken-hackers] Made a start with CHICKEN 5 proposal

2014-08-26 Thread John Cowan
personally don't like that behavior. It can lead to some subtle and hard to find bugs (specially for bad typists like me). +1 -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Linguistics is arguably the most hotly contested property in the academic realm. It is soaked

[Chicken-hackers] Gauche, R7RS, and dots

2014-08-26 Thread John Cowan
this convention too. (In not-so-good news, Gambit has abandoned its R7RS implementation, or more accurately the former implementer has abandoned Gambit.) -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Assent may be registered by a signature, a handshake, or a click of a computer

Re: [Chicken-hackers] Made a start with CHICKEN 5 proposal

2014-08-25 Thread John Cowan
-table-key-not-found-key', anybody?) go away. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Mark Twain on Cecil Rhodes: I admire him, I freely admit it, and when his time comes I shall buy a piece of the rope for a keepsake

Re: [Chicken-hackers] Made a start with CHICKEN 5 proposal

2014-08-25 Thread John Cowan
that (srfi n) becomes srfi-n, not srfi.n. Fair enough. If you have the likely module names (html-parser) and (html parser), they would map to the same Chicken name using your proposal. Concedo. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org The man that wanders far

Re: [Chicken-hackers] Made a start with CHICKEN 5 proposal

2014-08-24 Thread John Cowan
Peter Bex scripsit: I'd especially appreciate feedback on the core library names and the things to kill from core. I will be expanding this page over the next few days/weeks. I've added lots of comments. Feel free to merge them in or strike them out. -- John Cowan http

Re: [Chicken-hackers] Made a start with CHICKEN 5 proposal

2014-08-24 Thread John Cowan
to the parameter API), so we can just replace fluid-let of them with parameterize directly. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Original line from The Warrior's Apprentice by Lois McMaster Bujold: Only on Barrayar would pulling a loaded needler start a stampede

Re: [Chicken-hackers] Made a start with CHICKEN 5 proposal

2014-08-24 Thread John Cowan
Peter Bex scripsit: Thank you for the feedback. I've added my replies inline. My only response is about blobs vs. u8vectors: I am arguing that there is no reason why these should be disjoint types in future. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org We call

Re: [Chicken-hackers] CR #1142 and upcoming changes

2014-08-20 Thread John Cowan
meta, etc.) Still, both reports are loud and clear that UTF-8 is winning. Not having to transcode web pages most of the time is a win too. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Why are well-meaning Westerners so concerned that the opening of a Colonel Sanders

Re: [Chicken-hackers] CR #1142 and upcoming changes

2014-08-19 Thread John Cowan
are very dangerous. However, if done right, they can make life better. Emphatic +1. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org And they pack their lyrics till they're so damn dense You could put 'em in your yard and you could use 'em for a fence. --Alan Chapman

Re: [Chicken-hackers] CR #1142 and upcoming changes

2014-08-19 Thread John Cowan
in child threads created within the body. We don't spell out that it must not do so after the thread is created: exceptions are hard enough without exceptions to exceptions. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org But the next day there came no dawn, and the Grey

Re: [Chicken-hackers] CR #1142 and upcoming changes

2014-08-19 Thread John Cowan
by parameterizing a mutable box, if you don't care about threads. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org If I have seen farther than others, it is because I was standing on the shoulders of giants. --Isaac Newton

Re: [Chicken-hackers] [PATCH] Fix rename-file behavior on Windows when destination exists

2014-08-18 Thread John Cowan
Michele La Monaca scripsit: (rename-file x y) fails on Windows if y already exists. I think it would be better to have the same behavior as Unix (i.e. overwrite). The attached patch does that. +1 -- John Cowan http://www.ccil.org/~cowanco...@ccil.org The internet is a web

Re: [Chicken-hackers] CR #1142 and upcoming changes

2014-08-18 Thread John Cowan
, though I have the utmost confidence in the mission otherwise. Then again, I figure you'll continue to maintain it. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org The exception proves the rule. Dimbulbs think: Your counterexample proves my theory. Latin students think

Re: [Chicken-hackers] [PATCH] Fix rename-file behavior on Windows when destination exists

2014-08-18 Thread John Cowan
Mario Domenech Goulart scripsit: Shouldn't we check !defined(__CYGWIN__) here? It can't hurt, but since 2012 Cygwin no longer defines _WIN32. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org The whole of Gaul is quartered into three halves. --Julius Caesar

Re: [Chicken-hackers] CR #1142 and upcoming changes

2014-08-18 Thread John Cowan
this. There will be a lot of eggs that will have to be maintained in two versions, no matter what. I think we should continue to think about ways to ameliorate that. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org In computer science, we stand on each other's feet. --Brian K

Re: [Chicken-hackers] CR #1142 and upcoming changes

2014-08-18 Thread John Cowan
extensions. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Here lies the Christian, judge, and poet Peter, Who broke the laws of God and man and metre. ___ Chicken-hackers mailing list Chicken-hackers@nongnu.org https://lists.nongnu.org

Re: [Chicken-hackers] CR #1142 and upcoming changes

2014-08-18 Thread John Cowan
John Cowan scripsit: It's only now with Python 3.4 (arguably 3.3) that parity with Python 2.7 was achieved. There is still no recommendation to convert working 2.7 applications (as opposed to libraries) and there may never be. Here's a FAQ about the Python 2 to Python 3 transition, one

Re: [Chicken-hackers] [PATCH] Fix #819 by marking file-mkstemp as unimplemented on Windows

2014-08-02 Thread John Cowan
. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org And they pack their lyrics till they're so damn dense You could put 'em in your yard and you could use 'em for a fence. --Alan Chapman, Everybody Wants to Be Sondheim ___ Chicken

Re: [Chicken-hackers] [PATCH] Fix #819 by marking file-mkstemp as unimplemented on Windows

2014-08-02 Thread John Cowan
such things. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Objective consideration of contemporary phenomena compel the conclusion that optimum or inadequate performance in the trend of competitive activities exhibits no tendency to be commensurate with innate capacity

Re: [Chicken-hackers] [PATCH] fix static compilation in cygwin

2014-07-23 Thread John Cowan
against it? I assume the reason for the name change is so that you can have both Cygwin and MinGW Chickens on the same box if you want to. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org The competent programmer is fully aware of the strictly limited size of his own skull

Re: [Chicken-hackers] [PATCH] Remove ##sys# prefix from lambda-info names of library procedures

2014-07-23 Thread John Cowan
notice. I see no reason to have identical ##sys# and regular versions of things: +1 to deprecating the ##sys# versions. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Eric Raymond is the Margaret Mead of the Open Source movement. --Bruce Perens, a long time ago

Re: [Chicken-hackers] [PATCH] Remove ##sys# prefix from lambda-info names of library procedures

2014-07-23 Thread John Cowan
. A longer-term effort would be to migrate these names out of the chicken module and into a ##sys module, so that they are only imported explicitly. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org You escaped them by the will-death and the Way of the Black Wheel. I could

Re: [Chicken-hackers] [PATCH] Remove ##sys# prefix from lambda-info names of library procedures

2014-07-23 Thread John Cowan
external API as well, albeit undocumented. This is a Bad Thing. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Dievas dave dantis; Dievas duos duonos--Lithuanian proverb Deus dedit dentes; deus dabit panem --Latin version thereof Deity donated dentition

Re: [Chicken-hackers] [PATCH] Fix #1136 and a question about type specialisation

2014-07-15 Thread John Cowan
to the new class definition. For each existing instance, a new instance is created, and then the new objects are made to replace the old. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org The Penguin shall hunt and devour all that is crufty, gnarly and bogacious; all code which

Re: [Chicken-hackers] [PATCH] Fix #362 by using the spelling CHICKEN in code and documentation

2014-07-13 Thread John Cowan
.) -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Police in many lands are now complaining that local arrestees are insisting on having their Miranda rights read to them, just like perps in American TV cop shows. When it's explained to them that they are in a different

Re: [Chicken-hackers] [Scheme-reports] R7RS-small draft ratified by Steering Committee

2014-07-12 Thread John Cowan
available (at least at the REPL) in Racket, Chicken, SISC, Sizzle, Vicare, IronScheme, RScheme, SXM. See http://trac.sacrideo.us/wg/wiki/PlusOneEx for details. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Deshil Holles eamus. Deshil Holles eamus. Deshil Holles eamus. Send

Re: [Chicken-hackers] [Scheme-reports] R7RS-small draft ratified by Steering Committee

2014-07-12 Thread John Cowan
+, then 1+x was brought up, not +1x. I actually tested the right thing, but reported it wrongly. (Post in haste, repent at leisure.) In any case, the tests for 1+ are now merged in and some errors corrected. We are stuck with the wrong page name, though. -- John Cowan http

Re: [Chicken-hackers] mmap

2014-07-11 Thread John Cowan
to a pipe as it goes. The parent can then read that pipe with select() or poll(). After the job is done, the child goes to sleep() forever, but the parent must be sure to kill it before exiting. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org The first thing you learn

Re: [Chicken-hackers] [Scheme-reports] R7RS-small draft ratified by Steering Committee

2014-07-11 Thread John Cowan
a different identifier, as 1+x has never been a standards-conformant identifier under *any* version of the Scheme standard. However, most Scheme implementations will accept 1+x as a valid identifier. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org In computer science, we stand

Re: [Chicken-hackers] library unit restructuring

2014-07-09 Thread John Cowan
. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org First known example of political correctness: After Nurhachi had united all the other Jurchen tribes under the leadership of the Manchus, his successor Abahai (1592-1643) issued an order that the name Jurchen should be banned

Re: [Chicken-hackers] simplifying loading/linking/import (long)

2014-07-02 Thread John Cowan
. Well, that is what `use` already does, no? -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Principles. You can't say A is made of B or vice versa. All mass is interaction. --Richard Feynman ___ Chicken-hackers mailing list

Re: [Chicken-hackers] incorrect warning during compilation

2014-06-27 Thread John Cowan
with binary data that's escaped with \x! Strings have definite semantics as a sequence of characters, even if you need to know the encoding. Blobs have no semantics at all: they can be logically strings, or SRFI 4 vectors, or arrays of C structs, or whatever. -- John Cowan http://www.ccil.org

Re: [Chicken-hackers] [PATCH] Fix #1133

2014-06-26 Thread John Cowan
But it does not support separate compilation of those files. As I said before, I personally don't consider that a severe limitation. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org You escaped them by the will-death and the Way of the Black Wheel. I could not. --Great

Re: [Chicken-hackers] [PATCH] Fix #1133

2014-06-26 Thread John Cowan
names like (foo bar) mapped to foo.bar instead of foo-bar? -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Original line from The Warrior's Apprentice by Lois McMaster Bujold: Only on Barrayar would pulling a loaded needler start a stampede toward one. English-to-Russian

Re: [Chicken-hackers] [PATCH] Fix #1133

2014-06-22 Thread John Cowan
be better if the semantics of Chicken `import` fell back to `use` if the module is not currently loaded, rather than throwing an error. If that worked, it would be possible to simulate a substantial subset of R7RS module language as native Chicken code. -- John Cowan http://www.ccil.org

Re: [Chicken-hackers] [PATCH] Fix #1133

2014-06-19 Thread John Cowan
a hangover from Chicken 3 days. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Half the lies they tell about me are true. --Tallulah Bankhead, American actress ___ Chicken-hackers mailing list Chicken-hackers@nongnu.org https

Re: [Chicken-hackers] [PATCH] Generalize deprecation type warnings

2014-05-13 Thread John Cowan
Jörg F. Wittenberger scripsit: use of deprecated `~a' - consider `~a' It might come along a bit terse for the normal case - as so many compiler warnings, though. Reads fine to me. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org Does anybody want any flotsam? / I've

Re: [Chicken-hackers] [Chicken-users] CHICKEN 4.9.0rc1 is available

2014-05-06 Thread John Cowan
). -- John Cowan http://www.ccil.org/~cowanco...@ccil.org There are three kinds of people in the world: those who can count, and those who can't. ___ Chicken-hackers mailing list Chicken-hackers@nongnu.org https://lists.nongnu.org/mailman/listinfo

Re: [Chicken-hackers] [Chicken-users] [PATCH] Re: 4.9.0rc1: Error: (assv) bad argument type: null

2014-05-04 Thread John Cowan
error when it encounters an improper list tail. so it's still O(n) instead of O(2n), which it would've been if it first checked the entire list. O(n) and O(2n) are the same thing, because big-O notation eliminates any constant factor such as this. -- John Cowan http://www.ccil.org

Re: [Chicken-hackers] pop3 support TOP command?

2014-03-15 Thread John Cowan
DOMJohn Cowan Entity parser dot-com co...@ccil.org Abstract schemata http://www.ccil.org/~cowan XPointer errata Infoset Unicode BOM --Richard Tobin

Re: [Chicken-hackers] [PATCH] Replace unsafe string functions with their safer counterparts

2014-02-04 Thread John Cowan
be much less efficient than existing library versions which do it smart, a 32-bit or 64-bit word at a time with adjustments. I would like to see some measurements on at least a few platforms before we install this vanilla code. -- You know, you haven't stopped talking John Cowan since I

Re: [Chicken-hackers] pastiche db drop

2014-02-03 Thread John Cowan
and shake it, it works again. In particular, if the web and FTP sites were messed up, I would just say Wait an hour for reprocessing, and everything would be right again. -- John Cowan co...@ccil.org http://www.ccil.org/~cowan Statistics don't help a great deal in making important

Re: [Chicken-hackers] [PATH] fix for srfi-13 string-trim-right start parameter

2014-01-22 Thread John Cowan
/shared before anything else is done. A quick look at the reference implementation suggests that it needs to trap the case where start = end, and always return #f then. Causing start end to throw an error wouldn't hurt either. -- XQuery Blueberry DOMJohn Cowan Entity parser

[Chicken-hackers] Bug in SRFI 13 string-skip-right (was: fix for string-trim-right)

2014-01-22 Thread John Cowan
, string-trim-right where start = end also returns a spurious result. -- When I'm stuck in something boring John Cowan where reading would be impossible or(who loves Asimov too) rude, I often set up math problems for co...@ccil.org myself and solve them as a way

Re: [Chicken-hackers] [PATH] fix for srfi-13 string-trim-right start parameter

2014-01-12 Thread John Cowan
as meaning anything but that the start/end arguments indicate the portion of the original string to operate on; that is, it is as if substring/shared was invoked first. -- We call nothing profoundco...@ccil.org that is not wittily expressed. John Cowan

Re: [Chicken-hackers] [PATH] fix for srfi-13 string-trim-right start parameter

2014-01-11 Thread John Cowan
John Cowan offended someone, I never apologized. co...@ccil.org --Quentin Crisp http://www.ccil.org/~cowan ___ Chicken-hackers mailing list Chicken-hackers@nongnu.org https://lists.nongnu.org/mailman

Re: [Chicken-hackers] [PATH] fix for srfi-13 string-trim-right start parameter

2014-01-11 Thread John Cowan
. -- Samuel Johnson on playing the violin: John Cowan Difficult do you call it, Sir? co...@ccil.org I wish it were impossible.http://www.ccil.org/~cowan ___ Chicken-hackers mailing list Chicken-hackers

Re: [Chicken-hackers] [PATCH] Update copyright year to 2014

2014-01-03 Thread John Cowan
appears in the source, at least in Europe and the U.S. So there is no reason to touch otherwise undisturbed source code every year just to do this. Does anyone *really* care whether parts of Chicken go into the public domain in 2113 or 2114? -- John Cowan co...@ccil.org http

Re: [Chicken-hackers] [PATH] Add an Emacs dir-locals file to enforce project style

2013-12-24 Thread John Cowan
right now? Pretty much how I feel like. However, when writing code to be added to R7RS, I used an Emacs one-liner that someone gave me. -- John Cowanco...@ccil.org http://www.ccil.org/~cowan But no living man am I! You look upon a woman. Eowyn I am, Eomund's daughter. You stand

Re: [Chicken-hackers] [PATH] Add an Emacs dir-locals file to enforce project style

2013-12-24 Thread John Cowan
Jay Sulzberger scripsit: I'd be delighted to have a copy of this one-liner. See http://stackoverflow.com/questions/9824486/external-lisp-code-indenter/9825272. -- They do not preach John Cowan that their God will rouse themco...@ccil.org

Re: [Chicken-hackers] [PATH] Add an Emacs dir-locals file to enforce project style

2013-12-15 Thread John Cowan
it is with brace style. -- If you have ever wondered if you are in hell, John Cowan it has been said, then you are on a well-traveled http://www.ccil.org/~cowan road of spiritual inquiry. If you are absolutely co...@ccil.org sure you are in hell, however, then you must be on the Cross Bronx

Re: [Chicken-hackers] [PATH] Add an Emacs dir-locals file to enforce project style

2013-12-15 Thread John Cowan
tomorrow. See http://en.wikipedia.org/wiki/Indent_style#K.26R_style for details. This article also notes that BSD style is ambiguous, because it can mean either Allman style or KNF style. -- La mayyitan ma qadirun yatabaqqa sarmadiJohn Cowan Fa idha yaji' al-shudhdhadh fa-l

Re: [Chicken-hackers] [PATH] Add an Emacs dir-locals file to enforce project style

2013-12-15 Thread John Cowan
dance slowly, awkwardly, and absurdly the gigantic tenebrous ultimate gods --the blind, voiceless, mindless gargoyles whose soul is Nyarlathotep. (Lovecraft) John Cowan co...@ccil.org ___ Chicken-hackers mailing list Chicken-hackers@nongnu.org https

Re: [Chicken-hackers] [PATCH] Fix #566 and simplify/improve flonum printing code

2013-12-01 Thread John Cowan
digits represent the triumph of precision over accuracy. I suppose some day we could integrate MPFR into the numbers egg, though. -- John Cowanco...@ccil.orghttp://ccil.org/~cowan Rather than making ill-conceived suggestions for improvement based on uninformed guesses about established

Re: [Chicken-hackers] [PATCH] Fix nonblocking socket behaviour on Windows

2013-12-01 Thread John Cowan
will, John Cowan this Life's a Fictionco...@ccil.org And is made up of http://www.ccil.org/~cowan Contradiction. --William Blake ___ Chicken-hackers mailing list Chicken-hackers@nongnu.org https

Re: [Chicken-hackers] patch: treat #t as alternative to else in cond

2013-11-15 Thread John Cowan
anyway, because the lexical syntax 'x is unhygienic. Anyone who rebinds any of quote, quasiquote, unquote, or splicing-unquote deserves to lose. -- You're a brave man! Go and break through theJohn Cowan lines, and remember while you're out there co...@ccil.org risking

Re: [Chicken-hackers] patch: treat #t as alternative to else in cond

2013-11-15 Thread John Cowan
it is not true in the reader (and would be non-conformant if it were). -- Barry thirteen gules and argent on a canton azure John Cowan fifty mullets of five points of the second, co...@ccil.org six, five, six, five, six, five, six, five, and six. --blazoning the U.S

Re: [Chicken-hackers] [PATCH] Return the result of EXP from (assert EXP)

2013-11-15 Thread John Cowan
(1), and should be called `pair-or-null?`. `List?` returns #t if its argument is a proper list, and is O(n) in the length of the list. It's a little irritating that Scheme doesn't have a standard equivalent of CL's LISTP. -- Unless it was by accident that I hadJohn Cowan offended

Re: [Chicken-hackers] patch: treat #t as alternative to else in cond

2013-11-15 Thread John Cowan
your case to the R8RS committee. :-) -- We call nothing profoundco...@ccil.org that is not wittily expressed. John Cowan --Northrop Frye (improved) ___ Chicken-hackers mailing list Chicken-hackers

Re: [Chicken-hackers] [PATCH] Fix various Haiku issues

2013-11-10 Thread John Cowan
are easy: move the declaration up in its block, or create a new block, like this: foo() { int a = 32; a++; { int b = a + 5 do_something(b); } } -- Her he asked if O'Hare Doctor tidings sent from far John Cowan coast and she with grameful sigh him answered that http

[Chicken-hackers] R7RS-small draft ratified by Steering Committee

2013-11-08 Thread John Cowan
nameJohn Cowan may smell as sweet, http://www.ccil.org/~cowan but if you called it an onion co...@ccil.org you'd get cooks very confused. --RMS ___ Chicken-hackers

Re: [Chicken-hackers] [PATCH] Fix for #989 and hopefully #877 too

2013-11-07 Thread John Cowan
wouldn't have worked anyway. So for RScheme purposes, just write a trivial syntax-rules macro: (define-syntax letrec* (syntax-rules () ((letrec* . x) (letrec . x (This requires loading the RScheme syntax-rules support.) -- John Cowan co...@ccil.org http

Re: [Chicken-hackers] [PATCH] R7RS delay/force/delay-force

2013-11-03 Thread John Cowan
but can't be mutated, which was done specifically because some implementations copy the mutated value when forking a new thread and others do not. -- John Cowan http://www.ccil.org/~cowanco...@ccil.org To say that Bilbo's breath was taken away is no description at all

Re: [Chicken-hackers] [PATCH] R7RS delay/force/delay-force

2013-11-01 Thread John Cowan
that open, because it's not clear what the Right Thing is. -- John Cowan co...@ccil.org http://ccil.org/~cowan The penguin geeks is happy / As under the waves they lark The closed-source geeks ain't happy / They sad cause they in the dark But geeks in the dark is lucky / They in for a worser treat

Re: [Chicken-hackers] [PATCH] Treat lone carriage returns as line endings in ##sys#scan-buffer-line

2013-10-31 Thread John Cowan
as a sequence of carriage return characters followed by a linefeed character. -- XQuery Blueberry DOMJohn Cowan Entity parser dot-com co...@ccil.org Abstract schemata http://www.ccil.org/~cowan XPointer errata Infoset

Re: [Chicken-hackers] [PATCH] Fix list-queue data corruption issue

2013-10-03 Thread John Cowan
IHTAT commments isn't so bad. -- John Cowanhttp://www.ccil.org/~cowan co...@ccil.org Please leave your valuesCheck your assumptions. In fact, at the front desk. check your assumptions at the door. --sign in Paris hotel

Re: [Chicken-hackers] [PATCH] Fix list-queue data corruption issue

2013-10-02 Thread John Cowan
Peter Bex scripsit: When run with paranoid CHICKEN, it tells us nicely where it's going wrong: the list-queue procedure uses the low-level structure constructor ##sys#make-structure with 3 arguments: the structure type, the list and the list tail. Unfortunately, make-queue calls

Re: [Chicken-hackers] [PATCH] Fix #1051 by removing dead code

2013-09-22 Thread John Cowan
Peter Bex scripsit: Care to provide a patch for that? I don't really know enough about Chicken's C conventions to do so, but I bet you do. A denormalized number can be recognized because its exponent bits are zero, but its fraction bits are non-zero (otherwise it would be +/-0.0). -- John

Re: [Chicken-hackers] [ANN]: Port Chicken to AIX

2013-08-16 Thread John Cowan
only relevant to hardware ports: it supports the RTS/CTS flow control protocol. -- Evolutionary psychology is the theory John Cowan that men are nothing but horn-dogs, http://www.ccil.org/~cowan and that women only want them for their money. co...@ccil.org --Susan

Re: [Chicken-hackers] ep

2013-07-09 Thread John Cowan
soul is Nyarlathotep. (Lovecraft) John Cowan co...@ccil.org ___ Chicken-hackers mailing list Chicken-hackers@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Re: [Chicken-hackers] ep

2013-07-09 Thread John Cowan
.alyn.post. scripsit: /home would have been a safe assumption before Mac OS X, but that operating system uses /Users. /etc/usermgmt.conf on OpenBSD defines the user base_dir (to /home), I'm not sure how this value is determined on other operating systems. Eh, what of it? It's a fallback to

Re: [Chicken-hackers] [PATCH] Fix meta evaluation (so that require-extension-for-syntax works properly)

2013-07-01 Thread John Cowan
phasing declarations and force the implementation to either put everything in one big phase (and so what if some identifiers are defined when they are not needed) or figure out the phases itself based on the library dependency graph. -- Barry thirteen gules and argent on a canton azure John

Re: [Chicken-hackers] [PATCH] Fix meta evaluation (so that require-extension-for-syntax works properly)

2013-07-01 Thread John Cowan
from the explicit-phasing faith to the implicit-phasing faith (most people adopt one or the other right away), so his email at http://lists.r6rs.org/pipermail/r6rs-discuss/2009-September/005493.html is worth reading too. -- Real FORTRAN programmers can program FORTRANJohn Cowan in any language

Re: [Chicken-hackers] [PATCH] Add support for R7RS syntax-rules extensions

2013-06-15 Thread John Cowan
nothing corresponding to main programs. -- John Cowanhttp://ccil.org/~cowanco...@ccil.org The work of Henry James has always seemed divisible by a simple dynastic arrangement into three reigns: James I, James II, and the Old Pretender. --Philip Guedalla

Re: [Chicken-hackers] [PATCH] add R7RS support for exit and emergency-exit

2013-05-28 Thread John Cowan
. This is particularly important in a forked process; otherwise, shared buffers will be flushed twice. -- John Cowanhttp://ccil.org/~cowanco...@ccil.org SAXParserFactory [is] a hideous, evil monstrosity of a class that should be hung, shot, beheaded, drawn and quartered, burned at the stake

Re: [Chicken-hackers] [PATCH] Add support for R7RS named characters and string escapes (except hex escapes)

2013-05-27 Thread John Cowan
(to mean p, for example), we wouldn't be able to add a meaning to them in R8RS. -- John Cowanco...@ccil.orghttp://ccil.org/~cowan The present impossibility of giving a scientific explanation is no proof that there is no scientific explanation. The unexplained is not to be identified

Re: [Chicken-hackers] [patch] R7RS make-promise...

2013-05-26 Thread John Cowan
not as closely vetted as the R7RS-small draft. The (chibi test) library it mentions is the same as the Chicken egg test, not too surprisingly. -- I now introduce Professor Smullyan, John Cowan who will prove to you that either co...@ccil.org he doesn't exist or you don't exist

Re: [Chicken-hackers] Benchmark for values - interesting results

2013-05-24 Thread John Cowan
Jörg F. Wittenberger scripsit: On May 22 2013, Peter Bex wrote: We already knew the SRFI implementations shipped with CHICKEN are extremely inefficient. It's been a plan to rewrite some of them using faster internal versions for a while. Also, the design of SRFI-1 and SRFI-13 is pretty

<    1   2   3   4   >