Re: A weird problem about "define-private', need help please!

2020-10-17 Thread Thien-Thi Nguyen
() "K.L." () Sun, 18 Oct 2020 13:12:35 +0800 Never mind, I figured it out. The actual problem is I didn't get the correct error message. What is the correct error message? -- Thien-Thi Nguyen --- (defun responsep (query)

Re: Guile 1.8.9 release

2021-01-16 Thread Thien-Thi Nguyen
t up (ie. add a proper test) for inclusion in GUILE 1.8.9, Sounds good. I think the general approach for 1.8.x releases will be bugfixes and documentation changes primarily, so your change would be most welcome (once i wrap my head around it). -- T

Re: Guile 1.8.9 release

2021-02-10 Thread Thien-Thi Nguyen
that out. But it's not critical (we can do it later). Re testing, i don't know how to go about setting up a test to avoid regressions. (IIUC, this is a performance-related change and not a functionality-related one.) Any ideas? -- Thien-Thi Nguyen ---

small bugfix to (scripts read-text-outline)

2021-12-04 Thread Thien-Thi Nguyen
Please find attached a small bugfix against ‘master’: From b8de6f77f8fdfee3e0833f976f1add6a99b98ca5 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Sat, 4 Dec 2021 06:46:36 -0500 Subject: [PATCH] Fix bug: Use a mutable pair for mutable pair work * module/scripts/read-text-outline.scm

Re: Macro for Python-style debugging output

2022-03-30 Thread Thien-Thi Nguyen
rest) For those who use Emacs, please find attached here pk-unpk.el, for augmenting your editing puissance: pk-unpk.el Description: application/emacs-lisp -- Thien-Thi Nguyen --- (defun responsep (query) ; (2022) Software Libero

Re: Chunked Encoding

2012-05-07 Thread Thien-Thi Nguyen
() Ian Price () Tue, 08 May 2012 03:27:11 +0100 More importantly, I don't want to add a feature no-one will use, anecdotally, trailers are used rarely if at all, and other languages feel comfortable leaving it out of their standard libraries. Seems a chicken and egg situation; no one

Re: [Proposal] Why not add a "shell" procedure?

2012-05-12 Thread Thien-Thi Nguyen
() Nala Ginrut () Sat, 12 May 2012 20:30:21 +0800 (pwd) ==> "/home/nalaginrut/Project/gnulib-20100109+stable" Any comment? For this particular case, you can use instead ‘getcwd’, which is builtin. See also ‘shell-command->string’ and friends: http://www.gnuvola.org/software/ttn-do/t

Re: Do you recognize these modules?

2012-05-14 Thread Thien-Thi Nguyen
() Noah Lavine () Wed, 2 May 2012 11:26:22 -0400 Unfortunately, it looks like the changes for these do not have copyright assigned to the FSF, so we can't use them directly. Is that correct? Partially (details below). Also, I hope this isn't a sensitive topic, but why is there a

Re: Do you recognize these modules?

2012-05-14 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Mon, 14 May 2012 14:44:17 +0200 What do you think about copying the doc for these modules from 1.4 to 1.8/2.0? Would you be willing to transfer copyright to the FSF for that? Sure (see other reply to Noah). If Noah is OK to help with the actual t

Re: Do you recognize these modules?

2012-05-25 Thread Thien-Thi Nguyen
() Andy Wingo () Tue, 15 May 2012 22:14:31 +0200 2.0 is the current stable branch, so any changes should go there first. If it's a build fix or some other fix related to forward-compatibility with 2.0, it can go on 1.8 as well. We should avoid adding interfaces to 1.8, though. W

Re: Do you recognize these modules?

2012-05-25 Thread Thien-Thi Nguyen
() Andy Wingo () Fri, 25 May 2012 14:48:19 +0200 You interested in submitting this as a patches to Guile? Not really. The documentation is necessarily Guile 1.4-specific, requiring reconciliation in both content and style for best 1.8+ fit. I think Noah Lavine is in a better position to do

Re: Build failures - compiling TeXmacs under guile 2.0.5

2012-05-28 Thread Thien-Thi Nguyen
() Jan Synacek () Mon, 28 May 2012 09:02:13 +0200 Can you please suggest a way (if there is a generic one) to fix these kinds of old->new api problems? Guile-SDL, Guile-PG, Guile-GDBM, Guile-WWW and other packages available from use Guile-BAUX and SNUGGLE

Re: subbytevectors

2012-06-09 Thread Thien-Thi Nguyen
() Andy Wingo () Sat, 09 Jun 2012 13:07:15 +0200 Again, the gain in expressiveness is probably worth it Overall, i am concerned about quick fixes and slow suffering in the Guile design. To break it down from different angles: Thinking positively: If you want to make a case for such a facil

Re: Growable arrays?

2012-06-11 Thread Thien-Thi Nguyen
() David Kastrup () Sat, 09 Jun 2012 14:32:28 +0200 Suggestions? Guile-SDL implements (in C) collections of "enums" using both a C array (static, used also for init) and a Scheme hash table for backing store: http://git.savannah.gnu.org/cgit/guile-sdl.git/tree/src/sdlenums.c#n66 This is not

Re: bug#11198: prefab structs in guile

2012-07-05 Thread Thien-Thi Nguyen
() Andy Wingo () Thu, 05 Jul 2012 10:00:17 +0200 For more details, see: [...] See also (info "(elisp) Byte Packing") which describes Emacs' bindat.el. The context there is network protocols, but the design requirements are the same.

Re: Do you recognize these modules?

2012-07-11 Thread Thien-Thi Nguyen
() Noah Lavine () Tue, 10 Jul 2012 23:02:29 -0400 What do you think? WRT style, the texi imported from 1.4 is littered w/ ‘@twerpdoc’, ‘@twerpmacdoc’ and ‘@twerpcommentary’ comments. IWBN to filter them before committing. WRT content, IIRC 1.4.x (ice-9 calling) was re{designed,written} so i

1.8 ‘send’ bug + re-engagement

2012-08-24 Thread Thien-Thi Nguyen
e warners, but anyway wish to reassure everyone that i will limit myself to cleanups (such as those above listed), bug fixes and doc improvements, all of which are far from (deep) design. What do the maintainers think? [0] http://www.gnuvola.org/software/wikid/ -- Thien-Thi Nguyen ...

Re: regexp-split for Guile

2012-09-17 Thread Thien-Thi Nguyen
or will the procs it calls DTRT? What is TRT, anyway? In the absence of explicit validation, maybe a comment here will help the non-expert. -- Thien-Thi Nguyen . GPG key: 4C807502 . NB: ttn at glug dot org is not me . .

Re: 1.8 ‘send’ bug + re-engagement

2012-09-20 Thread Thien-Thi Nguyen
do stuff (that happens to be important for others). I think the more you move your mind away from "switching" (XOR) and towards "stepping" (XOR, brief (or not) IOR, XOR), the more you will see value in what i do. -- Thien-Thi Nguyen . GPG ke

Re: bug#13077: guile: add repl-option for customized print

2012-12-03 Thread Thien-Thi Nguyen
() Daniel Hartwig () Tue, 4 Dec 2012 13:34:52 +0800 patch that handles [...] *unspecified* Can ‘unspecified?’ (the procedure) be used? I seem to recall people wanting to avoid using ‘*unspecified*’ (the unique object) a while back. -- Thien-Thi Nguyen

Re: About Guile crypto support

2013-02-03 Thread Thien-Thi Nguyen
() Nala Ginrut () Sun, 03 Feb 2013 20:55:46 +0800 Would you prefer C implementation or Scheme way? The less C the better, generally, IMHO. -- Thien-Thi Nguyen . GPG key: 4C807502 . NB: ttn at glug dot org is not me

Re: Is guile-dbi still mainaining?

2013-02-07 Thread Thien-Thi Nguyen
C glue to wrap/expose the PostgreSQL libpq, among the other (Scheme) modules, is necessarily disqualified. -- Thien-Thi Nguyen . GPG key: 4C807502 . NB: ttn at glug dot org is not me . . (and has not been s

Re: About Guile crypto support

2013-02-11 Thread Thien-Thi Nguyen
o the true upstream from the usurper, and that work will not be done gladly. -- Thien-Thi Nguyen . GPG key: 4C807502 . NB: ttn at glug dot org is not me . . (and has not been since

Re: On quitting and exiting

2013-03-13 Thread Thien-Thi Nguyen
-- Thien-Thi Nguyen GPG key: 4C807502 pgp2bBZ8NrHcT.pgp Description: PGP signature

Re: Do you recognize these modules?

2013-03-23 Thread Thien-Thi Nguyen
. Fingers crossed... -- Thien-Thi Nguyen GPG key: 4C807502 pgpimsIEWdFl1.pgp Description: PGP signature

Re: Extremly slow for format & string-join

2013-04-01 Thread Thien-Thi Nguyen
(xsubstring str 0 (* n (string-length str I wonder how it fares. -- Thien-Thi Nguyen GPG key: 4C807502 pgptfvlXh_svZ.pgp Description: PGP signature

Re: [PATCH] Bindings for ‘sendfile’

2013-04-09 Thread Thien-Thi Nguyen
oc as-is (as-was :-D) and provide another proc that loops. -- Thien-Thi Nguyen GPG key: 4C807502 pgpDM0vxKLrBC.pgp Description: PGP signature

Re: [PATCH] Bindings for ‘sendfile’

2013-04-09 Thread Thien-Thi Nguyen
mented in terms of a ‘sendfile/non-looping’ but not the other way around. So overall, i think hiding partial i/o is a mistake. This is just one instance of that, it seems (‘write’ and ‘put-bytevector’ being others). Unlike the others, however, there is still opportunity for change. -- Thien-Thi Nguy

Re: [PATCH] Bindings for ‘sendfile’

2013-04-14 Thread Thien-Thi Nguyen
ire is the semantics of a Scheme ‘sendfile’ not deviate from that of the syscall sendfile(2); i judge not "implication of the name for the statistical majority", only fidelity, when it comes to syscalls. Control, not coddling, please -- why should C programmers have all the fun? -- Thien-Thi Nguyen GPG key: 4C807502 pgpQcy7YAESkx.pgp Description: PGP signature

Re: [PATCH] Bindings for ‘sendfile’

2013-04-14 Thread Thien-Thi Nguyen
he unusual. -- Thien-Thi Nguyen GPG key: 4C807502 pgpYsAoa76Ym_.pgp Description: PGP signature

Re: [PATCH] Bindings for ‘sendfile’

2013-04-16 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Tue, 16 Apr 2013 18:31:00 +0200 Thien-Thi Nguyen skribis: > My reading of sendfile(2) is that it does its best to send as much > as possible, but does not guarantee sending everything. What it > does succeed in sending, it reports to t

Re: [PATCH] Bindings for ‘sendfile’

2013-04-17 Thread Thien-Thi Nguyen
entry that embodies this "ah ha!" moment, but as it turned out, the testing was done before commit. Oh well, life goes on... -- Thien-Thi Nguyen GPG key: 4C807502 pgpaljvkq1He6.pgp Description: PGP signature

Re: [PATCH] Bindings for ‘sendfile’

2013-04-17 Thread Thien-Thi Nguyen
ers, etc. Some day... -- Thien-Thi Nguyen GPG key: 4C807502 pgptPOYhoF4WT.pgp Description: PGP signature

Re: [ANN] guile-scsh 0.2

2013-05-06 Thread Thien-Thi Nguyen
() Mark H Weaver () Mon, 06 May 2013 11:27:56 -0400 it appears that one of the files (scsh/fname.scm) is non-free software. What does this file do? -- Thien-Thi Nguyen GPG key: 4C807502 pgpYCIsp7gQRi.pgp Description: PGP signature

Re: [PATCH] Add procedures to convert alists into hash tables

2013-11-03 Thread Thien-Thi Nguyen
() "Thompson, David" () Wed, 30 Oct 2013 16:19:16 -0400 Does anyone else feel that this is a better approach? I concur w/ ludo -- better in Scheme -- and would go even further and urge adding to the guile-lib project, instead. -- Thien-Thi Nguyen GPG key: 4C807502 (if yo

Re: updated contact info

2014-09-04 Thread Thien-Thi Nguyen
gratuitous rectification and other such societal insanity. :-/ -- Thien-Thi Nguyen GPG key: 4C807502 (if you're human and you know it) read my lisp: (responsep (questions 'technical) (not (via 'mailing-list)))

Re: GNU Thunder

2014-09-04 Thread Thien-Thi Nguyen
() Ian Grant () Wed, 3 Sep 2014 21:53:28 -0400 Focussing on free source code is pointless, we need to focus on free semantics. This is a 10 GOTO 10 discussion. Maybe you will have better luck at gnu-misc-discuss or alt.syntax. [recips reset] -- Thien-Thi Nguyen GPG key: 4C807502

Re: Dijkstra's Methodology for Secure Systems Development

2014-09-20 Thread Thien-Thi Nguyen
2014-01-08 [v] No longer send "\\.\n" for COPY..STDIN. 689d814 2014-01-06 [v int] Stash validated protocol version. 00eeb0e 2014-01-05 [maint] Update ignorance; nfc. 79d133b 2013-12-20 Change bug-report email address. a31789c 2013-07-24 [maint] Reformat NEWS; nfc. 1ae068e 2013-

Re: [patch] Location header is a URI-reference

2014-10-16 Thread Thien-Thi Nguyen
() Andy Wingo () Wed, 15 Oct 2014 11:54:35 +0200 and the rest obf the fields Small typo: s/obf/of/ -- Thien-Thi Nguyen GPG key: 4C807502 (if you're human and you know it) read my lisp: (responsep (questions 'technical) (not (via &#x

Re: MIME type guessing module

2015-01-02 Thread Thien-Thi Nguyen
agic", which is a pure-Scheme solution: http://www.gnuvola.org/software/ttn-do/ttn-do.html.gz#magic The database is also "Schemey" -- sexps produced from parsing ~/.magic or other magic(5) databases. -- Thien-Thi Nguyen GPG key: 4C807502 (if you're human and you know

Guile 1.8 development

2017-03-01 Thread Thien-Thi Nguyen
Which git branch is best for continued Guile 1.8 development? I know most people have no interest in 1.8, that's fine, just kindly humor this slow janitor w/ a normative answer, thanks. (I guess ‘branch_release-1-8’, but maybe someone knows better.) -- Thien-Thi N

Re: [PATCH 02/25] Define structure

2017-03-09 Thread Thien-Thi Nguyen
orm? (I presume you know that ‘define-module’ supports ‘#:use-module’ clauses.) -- Thien-Thi Nguyen --- (defun responsep (query) (pcase (context query) (`(technical ,ml) (correctp ml)) ...)) 748E A0E8 1CB8 A748 9BFA

rfc: (ice-9 accumulate)

2010-01-09 Thread Thien-Thi Nguyen
Would there be any interest in adding (ice-9 accumulate) to Guile? - http://www.gnuvola.org/software/guile/doc/Efficient-Accumulation.html I can see several arguments against doing so: - It is a thin layer around (ice-9 q) functionality; possible to reimplement using (ice-9 q), in fact. When

Re: rfc: (ice-9 accumulate)

2010-01-10 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Mon, 11 Jan 2010 01:48:19 +0100 FWIW I’m personally not fond of ‘(ice-9 q)’ because it’s undocumented it provides an imperative interface. I infer an "although" in that sentence. Re (ice-9 foo) documentation, i took some pains to fill in the gaps w/ Gui

Re: rfc: (ice-9 accumulate)

2010-01-10 Thread Thien-Thi Nguyen
() Andy Wingo () Sat, 09 Jan 2010 22:55:58 +0100 You are not selling your idea very well here. But I'm still OK with it :) Well, spewing all manner of code is breathing in, dropping thin interfaces is breathing out... So, here's the deal, as far as I understand inlining... (And your

Re: rfc: (ice-9 accumulate)

2010-01-11 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Mon, 11 Jan 2010 14:21:15 +0100 I’d prefer if it were used only for non-ice-9 modules. OK, i'll just take the .texi (output of Guile 1.4.x extraction), clean it up for 1.9, and post them for review. thi

Re: rfc: (ice-9 accumulate)

2010-01-11 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Mon, 11 Jan 2010 14:26:46 +0100 Would be nice, though I think it should be decided on a per-module basis. There are some modules that it may be worth deprecating and leaving undocumented, perhaps. Certainly each module will have it's own doc patch.

rfc: (add-hook 'before-save-hook 'delete-trailing-whitespace)

2010-01-13 Thread Thien-Thi Nguyen
The above form lives in my Emacs init flow, causing trailing whitespace to be deleted on `save-buffer' (C-x C-s). For many projects (but not Guile) this DTRT, because trailing whitespace is not tolerated. Jim Meyering gives a nice rationale in

Re: rfc: (add-hook 'before-save-hook 'delete-trailing-whitespace)

2010-01-13 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Wed, 13 Jan 2010 11:53:01 +0100 I agree, but adding such a hook would cause many gratuitous diffs, which then blur VCS history (using ‘git blame’ becomes almost useless). Usually, once a project decides to use some whitespace policy, there is a one-ti

Re: rfc: (add-hook 'before-save-hook 'delete-trailing-whitespace)

2010-01-13 Thread Thien-Thi Nguyen
() Andy Wingo () Wed, 13 Jan 2010 21:02:03 +0100 I would be happier if my use of Emacs didn't leave me often with trailing whitespace. See subject line. But such as it is, I don't want to play manual garbage collector for stray spaces, which have no detriment on code. Well, if ther

Re: User perception on backward compatibility

2010-01-21 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Thu, 21 Jan 2010 11:54:51 +0100 I think the next big task will be to list and try to reduce incompatibilities compared to 1.8. Yes, please. At the moment, i would ask you to look at the guile-user message w/ subject "(define ((f a) b) ...)". thi

Re: rfc: (add-hook 'before-save-hook 'delete-trailing-whitespace)

2010-01-22 Thread Thien-Thi Nguyen
() Neil Jerram () Thu, 21 Jan 2010 20:46:26 + > Jim Meyering gives a nice rationale in > . I'm afraid those rationales don't persuade me: [...] Well, i respect the work Jim Meyering does and read his rationale w/ a more gener

Re: merged FFI, fixed a statprof bug, you need to make clean

2010-01-30 Thread Thien-Thi Nguyen
d %load-path elements for pre-inst-guile ;; Copyright (C) 2009 Thien-Thi Nguyen ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation; either version 3, or ;; (at your option)

Re: rfc: (add-hook 'before-save-hook 'delete-trailing-whitespace)

2010-02-09 Thread Thien-Thi Nguyen
>From 893dfb5d11e6d2ae6ff56492741711ec368257a4 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Tue, 9 Feb 2010 14:29:36 +0100 Subject: [PATCH] Document trailing whitespace policy. * HACKING (Coding standards): Delete trailing whitespace. Add blurb documenting trailing whitespace pol

Re: request tmpfile(3) wrapping in Guile 1.9 libguile

2010-02-12 Thread Thien-Thi Nguyen
That said, welcome back to Guile! Thanks for giving me another chance. Perhaps i can avoid squandering the privelege as i did the previous time. thi ________ >From 6f5612459b1e414c33b5a1814a5bec57eb81052e Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguy

Re: request tmpfile(3) wrapping in Guile 1.9 libguile

2010-02-13 Thread Thien-Thi Nguyen
() Andy Wingo () Fri, 12 Feb 2010 21:48:20 +0100 I wonder as well; but if the API works as advertised, then the file must be deleted, whether fclose(3) is called or not; so I guess this part of things works out fine. If you s/file must be deleted/filename must be removed from the direct

Re: [Guile-commits] GNU Guile branch, wip-1-8-mingw-build, updated. release_1-8-7-22-g7edad77

2010-03-26 Thread Thien-Thi Nguyen
() Andy Wingo () Fri, 26 Mar 2010 13:07:24 +0100 On Fri 26 Mar 2010 01:31, Neil Jerram writes: > Is there a nice way of marking a branch as obsolete/historical, or of > adding an explanatory note to it? I don't know. It would only be for purposes of gitweb/cgit, I don't think gi

Re: Resigning from Guile maintainership

2010-04-08 Thread Thien-Thi Nguyen
() Neil Jerram () Mon, 05 Apr 2010 14:01:55 +0100 I still plan to hang around, as one of Guile's many users and occasional contributors. In particular I hope to continue making contributions towards getting the manual ready for publication sometime this year. But generally I look fo

Re: guile-gnome-0 - guile-1.6.8-6.3 - random crash

2010-04-08 Thread Thien-Thi Nguyen
() Andy Wingo () Thu, 08 Apr 2010 20:53:17 +0200 No such luck with guile-pg, it will need patches. I even tried applying debian's patches to see if that would help, but guile-pg uses gh.h. Copying Thien-Thi, who appears to be the upstream: what is the right thing to do here? Get it

Re: guile-gnome-0 - guile-1.6.8-6.3 - random crash

2010-04-09 Thread Thien-Thi Nguyen
() Andy Wingo () Fri, 09 Apr 2010 00:13:10 +0200 > () Andy Wingo > () Thu, 08 Apr 2010 20:53:17 +0200 > >what is the right thing to do here? Get it into a >project on savannah in git hosting, no? > > Sorry, i don't understand. What does "it" refer to? Referring

Re: file names embedded in .go

2010-04-19 Thread Thien-Thi Nguyen
() Andy Wingo () Mon, 19 Apr 2010 16:52:09 +0200 Thoughts? It sounds complicated. Does the .go format support the usual ELF-y sections, like .rodata, .data, etc? Maybe we could just include the source verbatim in such a section (and avoid mapping it at runtime). thi

Re: file names embedded in .go

2010-04-20 Thread Thien-Thi Nguyen
() Andy Wingo () Tue, 20 Apr 2010 11:45:33 +0200 we should just switch to use ELF at some point. OK, i'll keep my ear to the ground for that. > Maybe we could just include the source > verbatim in such a section (and avoid mapping it at runtime). As Jao notes it is useful to be ab

Re: port-filename and path canonicalization

2010-04-20 Thread Thien-Thi Nguyen
() Andy Wingo () Tue, 20 Apr 2010 11:42:58 +0200 I'd be happy to have some cleaner solution, though. Do you have any ideas? Another idea is to conceptually separate "filename" to be "directory" and "basename" and have file ports maintain the directory portion as a file descriptor (or equiv

Re: file names embedded in .go

2010-04-20 Thread Thien-Thi Nguyen
() "Jose A. Ortega Ruiz" () Tue, 20 Apr 2010 02:08:32 +0200 I'm not sure if i'm understanding you correctly, but if, by source, you mean the scheme source, that'd be terrible news for tools such as Geiser. I'm not familiar w/ Geiser. What does it do? What are its restrictions? thi

Re: file names embedded in .go

2010-04-21 Thread Thien-Thi Nguyen
() "Jose A. Ortega Ruiz" () Tue, 20 Apr 2010 21:15:25 +0200 It's an Emacs environment for Scheme similar to Slime: a repl and a bunch of utilities to edit, navigate and obtain information about the code. Among them, jumping to an identifier's definition: for that, i need guile to tell

Re: port-filename and path canonicalization

2010-04-21 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Wed, 21 Apr 2010 10:49:05 +0200 I think open file ports shouldn’t grant any authority beyond access to the open file. Just like an open file descriptor doesn’t convey any authority beyond access to the underlying file (if we omit ‘..’ lookups on a

Re: port-filename and path canonicalization

2010-04-22 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Thu, 22 Apr 2010 00:26:43 +0200 > That is, if a file port supports ‘file-port-directory’, then how > to use/restrict the resulting object is left up to higher layers, > where it belongs. I would put it the other way round: if an application wants t

Re: Lightning Bindings

2010-05-29 Thread Thien-Thi Nguyen
() Noah Lavine () Thu, 27 May 2010 17:03:48 -0400 - Second, what would a good interface to a native code generation system be? (I'm assuming we'll want Lightning available as a regular module in addition to using it to speed up the language.) My current prototype just mimics the

Re: Lightning Bindings

2010-06-02 Thread Thien-Thi Nguyen
() Noah Lavine () Tue, 1 Jun 2010 10:57:15 -0400 I didn't realize GCC had a Lisp interface. It has a recently (2009?) approved run-time plug-in system, for which MELT is one example. Incidently, Emacs also has also recently won approval for the development of a analogous architecture, so...

Re: despair, debugging, and the repl

2010-06-10 Thread Thien-Thi Nguyen
() Andy Wingo () Thu, 10 Jun 2010 12:03:22 +0200 So, to that end, then, here's a preliminary plan of action: * Deprecate all of the old repl code, keeping compatibility shims for the useful interfaces perhaps, but trying to move the REPL implementation entirely out to modul

Re: despair, debugging, and the repl

2010-06-10 Thread Thien-Thi Nguyen
() Andy Wingo () Thu, 10 Jun 2010 16:36:57 +0200 The old repl, yes. I was wondering how to deprecate it in boot-9 but I think I have figured out a way. Cool. > Surely, not trashing Neil's work entirely is better? Trashing is a loaded word :) It is always available in its origin

almost smooth

2010-06-14 Thread Thien-Thi Nguyen
s ‘v’ had already inherited a value from the environment, in which case the test on line 95 evaluates to true and the env value is used (incorrectly). In short, ‘v’ is "possibly used uninitialized". Locally, i have provisionally applied the following patch and now "make check" suc

Re: almost smooth

2010-06-14 Thread Thien-Thi Nguyen
() Eric Blake () Mon, 14 Jun 2010 14:37:07 -0600 Since gnulib still maintains ChangeLog in the repository (you _are_ using the git-merge-changelog program, right?), it is appropriate to include ChangeLog edits as part of your git commit. OK, thanks for the reminder (yes, i use git-merge

git push weird?

2010-06-15 Thread Thien-Thi Nguyen
I just did my first push to the savannah repo, and it did not go as i expected: the web interface shows three commits instead of one. The command used was: git push -v origin ttn/misc-maint:master but that's apparently not correct. What should i have used? (The intent is to only add the commi

Re: git push weird?

2010-06-15 Thread Thien-Thi Nguyen
() Xiangfu Liu () Tue, 15 Jun 2010 22:41:35 +0800 git is offline version control. so if you committed in local several times, when you git push. it will push all of your committed to server. hopt this can help. Thanks. I think i should have done a "git rebase" prior to "git push" i

Re: git push weird?

2010-06-15 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Tue, 15 Jun 2010 20:56:19 +0200 These are “merge commits”. Please avoid pushing any merge commits as they make the history non-linear for no reason in such situations. See ‘git rebase’ and the like for how to avoid it. OK. Besides, did you mean t

Re: git push weird?

2010-06-15 Thread Thien-Thi Nguyen
() Andy Wingo () Tue, 15 Jun 2010 23:07:47 +0200 Just for readability I have rebased the commits. The gnulib commit will get overwritten at the next gnulib import. GUILE_CONFIG_SCRIPT is fine. OK, thanks for cleaning up my mess. It's good to have tmpfile, but I wonder about making the

Re: [Guile-commits] GNU Guile branch, master, updated. release_1-9-11-73-gedb3cfc

2010-06-15 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Tue, 15 Jun 2010 23:08:03 +0200 This file is from Gnulib. So get the patch accepted in Gnulib and it will get in next time we update our Gnulib copy. Done (commit e0fcde8130473202a4dd37c41a3c331fc5a9907d)! OK. How about moving the AC_DEFUN in ‘acin

Re: git push weird?

2010-06-15 Thread Thien-Thi Nguyen
() Andy Wingo () Wed, 16 Jun 2010 00:15:47 +0200 Can you give a use case for when you want to know if a port is a tmpfile? Off the top of my head, nothing serious, only for general debugging control freakery. I think the last time i used it was when a child process (of sizzweb, part of tt

rfc: [build] Overhaul , cpp symbol extraction/checking.

2010-06-17 Thread Thien-Thi Nguyen
aka ee2a435c4c5b4dbbbac2006855afecaa23d9585a aka ttn/misc-maint~2 (at the moment) The priciple behind this change is: less is more. OK to push into master? thi

rfc: [build] Use UTC, precise format for ‘builds tamp’ value.

2010-06-17 Thread Thien-Thi Nguyen
aka 124c116d50aca4bd872fdbe3fc4da99c67a3118a aka ttn/misc-maint~1 (at the moment) On my machine: $ date gio giu 17 17:06:23 CEST 2010 which is locale-dependent, unlike the replacement: $ date -u +'%Y-%m-%d %T' 2010-06-17 15:06:23 UTC is where we want to be (presuming Guile takes over the wor

Re: expression

2010-06-24 Thread Thien-Thi Nguyen
() Ken Raeburn () Thu, 24 Jun 2010 02:55:59 -0400 Hmm... here's another way, though I've no idea if RnRS lets you not have any expressions in here: scheme@(guile-user)> ,c (begin) Disassembly of #: 0(assert-nargs-ee/locals 0) 2(v

two spaces after sentence + other doc janitorial duties

2010-06-25 Thread Thien-Thi Nguyen
Normally, texinfo source should have two spaces after each sentence: Blah the first. Blah more. ;; only one space, not cool Blah the first. Blah more. ;; two spaces, ok I started locally modifying doc/ref/*.texi, when midway though discovered api-undocumented.texi, which led me to

[PATCH] Make guile-func-name-check ignore a string literal ‘FUNC_NAME’.

2010-06-25 Thread Thien-Thi Nguyen
This silences the warning for memoize.c. thi _ >From 6801c670136253eea1463e850c17fe56e89467a6 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Fri, 25 Jun 2010 11:27:23 +0200 Subject: [PATCH 4/8] =?utf-8?q?[maint]=20Make=20guile-func-name-ch

[PATCHES] various commenting, whitespace changes

2010-06-25 Thread Thien-Thi Nguyen
d Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Fri, 25 Jun 2010 11:12:21 +0200 Subject: [PATCH 3/8] Comment, whitespace munging; nfc. * libguile/guile-func-name-check: Add comments; refill; kill eol whitespace. --- libguile/guile-func-name-check | 81 +++---

[PATCH] [build] Move GUILE_CONFIG_SCRIPT to acinclude.m4.

2010-06-25 Thread Thien-Thi Nguyen
Requested by ludo. thi _ >From 210d9fc7dec22c3398c137e768f879f1997e7905 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Fri, 25 Jun 2010 13:45:35 +0200 Subject: [PATCH 8/8] [build] Move GUILE_CONFIG_SCRIPT to acinclude

[PATCH] [maint] Avoid no-op config-subst for libguile/guile-func-name-check.

2010-06-25 Thread Thien-Thi Nguyen
This is a very simple change. I hope you like it. thi _ >From ad52ea336b86933d33f36910b6bfbcbffbd9e76e Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Thu, 17 Jun 2010 16:12:40 +0200 Subject: [PATCH 2/8] [maint] Avoid no-op config-subst

Re: rfc: [build] Overhaul , cpp symbol extraction/checking.

2010-06-25 Thread Thien-Thi Nguyen
The branch ‘ttn/janitor’ also has some other patches. I will post them individually for review in other threads. thi >From aa9afa384168c0509b30be0d5f7c61f24f02c729 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Tue, 15 Jun

[PATCH] Make guile-func-name-check handle inhibition directives.

2010-06-25 Thread Thien-Thi Nguyen
001 From: Thien-Thi Nguyen Date: Fri, 25 Jun 2010 12:13:04 +0200 Subject: [PATCH 6/8] [maint] Make guile-func-name-check handle inhibition directives. * libguile/guile-func-name-check: Add handling for directives in the scanned file to inhibit processing. * libguile/pairs.c: Inhibit guile-func-n

Re: Why Ice-9?

2010-07-12 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Sat, 10 Jul 2010 16:17:07 +0200 ‘system’ may be more risky in that respect. ‘guile’ would have been a better choice, but I’m afraid it’s too late (in theory it isn’t, but...). Thoughts? Perhaps we can start discussing "directory aliases", a feature

Re: Why Ice-9?

2010-07-14 Thread Thien-Thi Nguyen
() Andy Wingo () Tue, 13 Jul 2010 23:20:35 +0200 There are also submodule binders, in git guile, that can be used to implement this. Cool, i'll take a look at submodule binders. > - Module name directory part (of aliases, of fully-resolved) > must be non-empty? > > - Will d

rfc: script exit value from ENTRY-POINT retval

2010-07-22 Thread Thien-Thi Nguyen
In Guile 1.4.x, i just installed this: * for scripts with -e ENTRY-POINT, exit value is ENTRY-POINT retval Previously, ENTRY-POINT retval was ignored; scripts would always exit successfully (exit value of zero) unless ‘exit’ was called explicitly. This change is backward compatible if

Re: [Guile-commits] GNU Guile branch, master, updated. release_1-9-11-210-g648da03

2010-07-24 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Sat, 24 Jul 2010 18:34:50 +0200 > noinst_SCRIPTS = guile-doc-snarf guile-snarf-docs guile-func-name-check As seen at , ‘guile-func-name-check’ is now missing from the tarball. Sorry about that! I will remember t

Re: [Guile-commits] GNU Guile branch, master, updated. release_1-9-11-210-g648da03

2010-07-24 Thread Thien-Thi Nguyen
() Thien-Thi Nguyen () Sat, 24 Jul 2010 22:11:24 +0200 and moving ‘guile-func-name-check’ to ‘EXTRA_DIST’ Forgot to mention: Another reason to prefer ‘EXTRA_DIST’ is that foo_SCRIPTS implies executable (chmod +x) programs, which ‘guile-func-name-check’ is not. Placing it in ‘EXTRA_DIST

Re: Implementing R6RS `transcoded-port'

2010-07-26 Thread Thien-Thi Nguyen
() Andreas Rottmann () Sun, 25 Jul 2010 21:12:22 +0200 result_pt->file_name = pt->file_name; result_pt->line_number = pt->line_number; result_pt->column_number = pt->column_number; result_pt->read_buf = pt->read_buf; result_pt->read_pos = pt->read_pos; r

decrufting: libguile/version.h generation

2010-07-28 Thread Thien-Thi Nguyen
OK to push? >From e938cce9ed8109ea3ac067cae9d863b1b2fa0412 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Wed, 28 Jul 2010 14:27:42 +0200 Subject: [PATCH] [build] Create libguile/version.h using the configure script. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encodin

Re: [PATCHES] various commenting, whitespace changes

2010-08-27 Thread Thien-Thi Nguyen
() Andy Wingo () Mon, 28 Jun 2010 15:44:54 +0200 Sorry for the long delay in response. What does NFC mean? See LibreDWG HACKING (and build-aux/create-changelog), for more info: git://git.sv.gnu.org/libredwg.git It's useful to distinguish between "important" and "unimportant" changes, especi

Re: [PATCHES] various commenting, whitespace changes

2010-08-27 Thread Thien-Thi Nguyen
() Andy Wingo () Fri, 27 Aug 2010 13:15:32 -0700 I went to build a fresh Guile on a machine at work and realized that this approach is quite slow, because it runs before the rest of Guile is compiled. It's much better code, but I think in order to snarf docs in Scheme we need to d

Re: guile --listen

2010-10-12 Thread Thien-Thi Nguyen
() Andy Wingo () Sun, 10 Oct 2010 21:01:32 +0200 Hi Andy, Security-wise, using a localhost address can result in local users being able to do anything your process can do [...] eep [...] It would be nice to be able to make any long-running Guile application hackable just with a com

Re: Scheme Implementers

2011-01-30 Thread Thien-Thi Nguyen
() Noah Lavine () Sat, 29 Jan 2011 16:23:39 -0500 a lot less coordination among Schemes right now than there should be Scheme is a fun platform for experimentation, which is sometimes at odds w/ coordination. Personally, i wouldn't sweat it overmuch.

  1   2   >