Re: Guile talks at the GNU Hackers Meeting?

2013-06-24 Thread Thompson, David
I don't think using Skype would go over so well at a GNU hackers meeting. On Mon, Jun 24, 2013 at 2:16 PM, Shane Celis shane.ce...@gmail.com wrote: Hi Luca, I'd be happy to give a talk regarding the Emacsy[1] GSoC project (video here[2]). The travel costs, however, are a bit prohibitive

Fwd: PATCH - Add cooperative REPL server module

2014-01-20 Thread Thompson, David
Forgot to CC the list about my updated patch. Forwarding instead. My apologies. - Dave -- Forwarded message -- From: David Thompson dthomps...@worcester.edu Date: Mon, Jan 20, 2014 at 6:31 PM Subject: Re: PATCH - Add cooperative REPL server module To: Mark H Weaver

Re: [PATCH] Test for weak pairs in hash-for-each

2014-03-12 Thread Thompson, David
On Wed, Mar 12, 2014 at 2:45 AM, Mark H Weaver m...@netris.org wrote: David Thompson dthomps...@worcester.edu writes: * libguile/hashtab.c (hash-for-each): Test for deleted weak pairs. Instead of (hash-for-each), it should be (scm_internal_hash_for_each_handle). I went ahead and pushed it,

Re: Use GNU standard for displaying backtraces?

2014-08-08 Thread Thompson, David
On Fri, Aug 8, 2014 at 2:22 PM, Jan Nieuwenhuizen jann...@gnu.org wrote: Trying to get Emacs's compilation-mode to support stepping down Guile backtraces, I wrote some elisp code to determine the absolute file name for incomplete relative files that come from Guile's load path, e.g.,

Simple hash table macro

2014-10-07 Thread Thompson, David
Hello Guile hackers, In the last release, a procedure called 'alist-hash-table' was introduced to provide a convenient way to convert an alist into a hash table. (use-modules (ice-9 hash-table)) (define myhash (alist-hash-table '((parrots . nuts) (monkeys . bananas)

Re: Add support for record types in GOOPS methods?

2014-10-21 Thread Thompson, David
On Tue, Oct 21, 2014 at 11:37 AM, Panicz Maciej Godek godek.mac...@gmail.com wrote: Hi! As I managed to find out, the (define-record-type t ...) also introduces a GOOPS class named t. Following your example, you'd need to define your method in the following way: (define-method (foobar (foo

Re: [PATCH] web: http: Accept blank Content-Type headers.

2015-07-27 Thread Thompson, David
Apologies for the previous email. I seriously botched some keystrokes. On Mon, Jul 27, 2015 at 5:05 PM, Mark H Weaver m...@netris.org wrote: David Thompson da...@gnu.org writes: I encountered a bug in the HTTP header parsing bug when trying to download a file via Guix. The response had a

Re: [PATCH] web: http: Accept blank Content-Type headers.

2015-07-27 Thread Thompson, David
On Mon, Jul 27, 2015 at 5:05 PM, Mark H Weaver m...@netris.org wrote: David Thompson da...@gnu.org writes: I encountered a bug in the HTTP header parsing bug when trying to download a file via Guix. The response had a Content-Type header, but with no value, like so: Content-Type:

Re: Reading data from a file descriptor

2015-11-13 Thread Thompson, David
On Fri, Nov 13, 2015 at 3:41 PM, Jan Synáček wrote: > > I have an open fd to a unix socket and I want to read data from it. I > know that the data is going to be only strings, but I don't know the > length in advance. The good thing about using read-string!/partial is, >

Re: Reading data from a file descriptor

2015-11-15 Thread Thompson, David
On Sun, Nov 15, 2015 at 6:09 AM, Jan Synáček <jan.syna...@gmail.com> wrote: > On Fri, Nov 13, 2015 at 9:45 PM, Thompson, David > <dthomps...@worcester.edu> wrote: >> On Fri, Nov 13, 2015 at 3:41 PM, Jan Synáček <jan.syna...@gmail.com> wrote: >>> >>&g

Re: [PATCH] Added Artanis info to new main page

2015-11-04 Thread Thompson, David
On Wed, Nov 4, 2015 at 4:27 PM, Mathieu Lirzin wrote: > On a more general topic, IIUC Artanis is not an “application” but a > library so maybe it is not a good idea to include it in (index-page) > since it uses the term “applications using Guile“ (The same problem will > apply to

Re: New logo and website design proposal

2015-10-10 Thread Thompson, David
On Fri, Oct 9, 2015 at 6:24 PM, Luis Felipe López Acevedo wrote: > On 2015-09-23 11:18, Luis Felipe López Acevedo wrote: >> >> >> With the feedback so far, I'm planning to make a revision of the >> mockup this weekend to include the suggested changes. >> > > Hi, > >

Re: New logo and website design proposal

2015-09-17 Thread Thompson, David
On Thu, Sep 17, 2015 at 10:59 AM, Luis Felipe López Acevedo wrote: > On 2015-09-16 03:19, Alex Sassmannshausen wrote: >> >> Beautiful! >> >> Like Chris, I love the demographically agnostic, yet incredibly inviting >> drawings. I also love the overall crisp and

Re: Guix as a Guile package manager

2016-01-09 Thread Thompson, David
On Sat, Jan 9, 2016 at 5:35 AM, Fabio Pesari wrote: > Package managers have been immensely successful in increasing the > popularity of programming languages - think about Perl's CPAN or Ruby's > Gem. But Guile doesn't a package manager, and that in my opinion slows > down its

Re: Contributions to Guile

2016-02-08 Thread Thompson, David
On Mon, Feb 8, 2016 at 4:28 PM, Chad Albers wrote: > On Mon, Feb 8, 2016 at 2:05 PM, Christopher Allan Webber > wrote: >> Ludovic Courtès writes: >> >>> Christopher Allan Webber skribis: >>> Chad Albers writes: >>> >>>

Re: random is not random

2016-02-13 Thread Thompson, David
On Sat, Feb 13, 2016 at 4:30 PM, Matt Wette wrote: > Every time I execute > $ guile -c '(simple-format #t "~S\n" (random 100))’ > I get the same result. > > Is this a bug? No. You need to initialize the random number generator with a different seed if you want

Re: Attempting to unbox struct fields

2016-02-28 Thread Thompson, David
Here's a patch I came up with to enable (and fix where necessary) the support for signed integer and double struct fields. Am I on the right track here? Thanks, - Dave From 8bde5c7018fde91cc7140777107bacfb3febb170 Mon Sep 17 00:00:00 2001 From: David Thompson Date:

Re: Attempting to unbox struct fields

2016-02-29 Thread Thompson, David
Hi Mark, On Sun, Feb 28, 2016 at 10:56 PM, Mark H Weaver <m...@netris.org> wrote: > Hi David, > > "Thompson, David" <dthomps...@worcester.edu> writes: >> Here's a patch I came up with to enable (and fix where necessary) the >> support for signed integer

Re: Attempting to unbox struct fields

2016-02-29 Thread Thompson, David
On Mon, Feb 29, 2016 at 12:43 PM, Mark H Weaver <m...@netris.org> wrote: > "Thompson, David" <dthomps...@worcester.edu> writes: > >>> The first thing I noticed is that the patch assumes that doubles are the >>> same size as pointers. Obviously this

Re: fork pipe dup2 exec

2016-08-17 Thread Thompson, David
On Wed, Aug 17, 2016 at 9:35 AM, Tobias Reithmaier wrote: > Hello, > > is there a way to program a Inter Process Communication (IPC) in guile like > you do it with the Linux-Libc-API with the combo fork, pipe, dup2 and exec? > If you use the popen-module it's not the same

Re: Setting up CI for Guile

2016-10-06 Thread Thompson, David
On Thu, Oct 6, 2016 at 12:26 AM, Wilfred Hughes wrote: > Hi folks > > I'm a big fan of CI (automated testing), and maybe you are too. I'd > love to have CI for reviewing patches of Guile. This is a good idea. > So, I decided to set it up! This isn't something that's

Re: Slow compilation of guile-2.1.x

2016-11-28 Thread Thompson, David
On Mon, Nov 28, 2016 at 3:47 AM, Jan Synáček wrote: > On Fri, Nov 25, 2016 at 9:36 AM, wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On Fri, Nov 25, 2016 at 08:31:23AM +0100, Jan Synáček wrote: >>> Hello, >>> >>> while building

Re: [PATCH] Add unboxed floating point comparison instructions.

2016-12-14 Thread Thompson, David
Here is an updated patch. All of the code is the same but I added docs in doc/ref/vm.texi. - Dave From 7d8017812a77489f362c2b9b97ee0988e5d3d7bc Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 12 Dec 2016 22:46:08 -0500 Subject: [PATCH] Add unboxed floating

Re: [PATCH] Add unboxed floating point comparison instructions.

2017-01-09 Thread Thompson, David
Hi Andy, On Mon, Jan 9, 2017 at 4:23 PM, Andy Wingo <wi...@pobox.com> wrote: > On Mon 09 Jan 2017 02:09, "Thompson, David" <dthomps...@worcester.edu> writes: > >> + /* br-if-f64= a:12 b:12 invert:1 _:7 offset:24 > > Missing - before the =. > >>

Re: [PATCH] Add unboxed floating point comparison instructions.

2017-01-12 Thread Thompson, David
Hi Andy, On Mon, Jan 9, 2017 at 4:23 PM, Andy Wingo <wi...@pobox.com> wrote: > On Mon 09 Jan 2017 02:09, "Thompson, David" <dthomps...@worcester.edu> writes: > >> + /* br-if-f64= a:12 b:12 invert:1 _:7 offset:24 > > Missing - before the =. > >>

Re: [PATCH] Add unboxed floating point comparison instructions.

2017-01-04 Thread Thompson, David
Hello Andy and Mark, Thanks for taking the time to review this patch and bearing with me as a I stumble around the compiler. I've attached a new patch and have some additionally commentary below: On Wed, Dec 21, 2016 at 4:12 PM, Mark H Weaver wrote: > Andy Wingo

Re: [PATCH] Add unboxed floating point comparison instructions.

2017-01-08 Thread Thompson, David
Hi Andy, Thanks for the feedback. I believe this new patch addresses everything you asked me to fix. Am I in time for 2.1.6? ;) - Dave From bfd7b4f343c5f5cc8761c8d1fed1f61ba564a5dd Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 12 Dec 2016 22:46:08 -0500

Re: What's required to include sxml->html?

2017-09-08 Thread Thompson, David
>From what I can tell, this is more-or-less my (haunt html) module [0] with the import/export syntax changed and a hack to special-case

Re: Website translations with Haunt

2017-12-14 Thread Thompson, David
Hey everyone! On Thu, Dec 14, 2017 at 4:16 AM, Ludovic Courtès wrote: > Hi! > > "pelzflorian (Florian Pelz)" skribis: > >> I want to ask for your thoughts on my new solution since translations >> are probably important to many Haunt users. In

Re: Guile 3 update, August edition

2018-08-24 Thread Thompson, David
On Mon, Aug 20, 2018 at 10:27 AM, Andy Wingo wrote: > In this particular example, the JITted code runs about 3x faster than > the interpreted code. The JIT doesn't do register allocation; not sure > precisely how to do that. A future topic. For the moment I want to > consolidate what we have

Re: Simple picture language

2018-03-27 Thread Thompson, David
On Mon, Mar 26, 2018 at 5:51 PM, Ricardo Wurmus wrote: > Hi Guilers, > > I wrote a simple SVG-based picture language. Wow! I never would have thought to use sxml to generate svg files. I always thought we would have to use cairo or some custom renderer in order to have a

unboxing floats in libguile procedures that always return floats?

2018-12-04 Thread Thompson, David
Hello all, Guile's current floating point unboxing optimizations are great and have helped me immensely, but they still leave something to be desired. I often find myself often calling libguile procedures such as sin, cos, and random:uniform. These procedures always return floats, yet Guile

Re: [ANN] Guile-SDL2 0.4.0 released

2019-06-02 Thread Thompson, David
Apologies! Meant to send to guile-user. :(

[ANN] Guile-SDL2 0.4.0 released

2019-06-02 Thread Thompson, David
I'm happy to announce that Guile-SDL2 0.4.0 has been released! Guile-SDL2 provides bindings for the SDL2 game programming library. The bindings are written in pure Scheme using Guile's foreign function interface. This release features several new bindings: * SDL_BlitScaled * SDL_BlitSurface *

Re: guile 3 update, halloween edition

2019-10-30 Thread Thompson, David
On Wed, Oct 30, 2019 at 4:55 PM Andy Wingo wrote: > > Thoughts welcome! Also: should these structured error objects be named > exceptions or conditions? SRFI-35, R6RS, and R7RS say "conditions", but > racket and my heart say "exceptions"; wdyt? I think "exceptions" is a better name for the

Re: conflicts in the gnu project now affect guile

2019-10-18 Thread Thompson, David
On Fri, Oct 18, 2019 at 9:33 AM Christopher Lemmer Webber wrote: > > Mark H Weaver writes: > > > [resending with fixed headers, for proper threading] > > > > Hi Christopher, > > > > Christopher Lemmer Webber wrote: > >> I think *RMS's* action of unilaterally re-appointing Mark without > >>

Re: conflicts in the gnu project now affect guile

2019-10-16 Thread Thompson, David
On Wed, Oct 16, 2019 at 9:14 AM Andy Wingo wrote: > > Perhaps this moment is an opportunity, to see where the Guile community > stands. In that spirit I invite Guile community members to weigh in on > the issue. What do you think about Guile's continued relationship with > GNU? What about its

Re: Relaxing the copyright assignment policy

2022-10-06 Thread Thompson, David
Hi Ludovic and Andy, Great news! Thanks for lowering the barrier to entry for new contributors! - Dave

Re: [EXT] (ice-9 base64)?

2022-08-16 Thread Thompson, David
+1 to that. I do the same thing in my own projects. Guix does it, too. - Dave On Tue, Aug 16, 2022 at 12:11 PM Aleix Conchillo Flaqué < aconchi...@gmail.com> wrote: > Hi, > > In many projects I've been copying Göran Weinholt's base64 implementation > and I've also seen it in other projects,

Re: [EXT] Re: [PATCH] Add 'bytevector-slice'.

2023-01-11 Thread Thompson, David
On Wed, Jan 11, 2023 at 12:34 PM Ludovic Courtès wrote: > > What could be convenient though is ‘bytevector-copy’ (no bang), which > would combine ‘make-bytevector’ + ‘bytevector-copy!’. 'bytevector-copy' already exists, or do you mean some different implementation of it? - Dave

Re: [PATCH] Add 'bytevector-slice'.

2023-01-11 Thread Thompson, David
Hi Ludovic, On Wed, Jan 11, 2023 at 10:00 AM Ludovic Courtès wrote: > > +@node Bytevector Slices > +@subsubsection Bytevector Slices > + > +@cindex subset, of a bytevector > +@cindex slice, of a bytevector > +@cindex slice, of a uniform vector > +As an extension to the R6RS specification, the

Re: GNU Guile 3.0.9rc1 available for testing!

2023-01-20 Thread Thompson, David
Hi Ludo, On Fri, Jan 20, 2023 at 10:58 AM Ludovic Courtès wrote: > > Please report any issues you may find. I’m particularly interested in > portability regressions (NetBSD and other BSDs, macOS, MinGW, as well as > architectures other than x86_64). I was curious about the MinGW build, so I

Re: Functional datatypes in Guile

2023-02-28 Thread Thompson, David
Hi pukkamustard, On Tue, Feb 28, 2023 at 3:34 AM pukkamustard wrote: > > > I've been using SRFI-146 > (https://srfi.schemers.org/srfi-146/srfi-146.html) for functional > mappings. There's a Guile port: > https://inqlab.net/git/guile-srfi-146.git/ (also in Guix - > guile-srfi-146). Your Guile

Re: The message chain with an happy ending

2023-07-05 Thread Thompson, David
On Wed, Jul 5, 2023 at 6:43 AM Blake Shaw via Developers list for Guile, the GNU extensibility library wrote: > > I think the guile mailing list has come to suffer seriously from a policing > of what is appropriate for discussion. When I first started getting into > guile at the beginning of

Re: Guile 64-bit Windows support, redux

2024-02-07 Thread Thompson, David
On Thu, Jan 4, 2024 at 5:40 AM Jonas Hahnfeld via Developers list for Guile, the GNU extensibility library wrote: > > On Tue, 2023-11-28 at 22:04 +0100, Jonas Hahnfeld wrote: > > > > Ping, any comments on this approach? I built binaries for LilyPond > > 2.25.10 using these patches applied on top

Re: Guile 64-bit Windows support, redux

2024-02-07 Thread Thompson, David
On Wed, Feb 7, 2024 at 3:19 PM Jonas Hahnfeld wrote: > > On Wed, 2024-02-07 at 09:19 -0500, Thompson, David wrote: > > On Thu, Jan 4, 2024 at 5:40 AM Jonas Hahnfeld via Developers list for > > Guile, the GNU extensibility library wrote: > > > > > > On T

Re: Guile 64-bit Windows support, redux

2024-03-20 Thread Thompson, David
On Wed, Mar 20, 2024 at 4:29 PM Jonas Hahnfeld wrote: > > So I can confirm that JIT indeed doesn't work right now on 64-bit > MinGW, but it's relatively easy to fix (first patch). In essence > lightening was getting the calling convention wrong. Wow! Have you seen the JIT do its thing (via

Re: Guile 64-bit Windows support, redux

2024-03-29 Thread Thompson, David
On Sat, Mar 23, 2024 at 11:09 AM Jonas Hahnfeld wrote: > > On Wed, 2024-03-20 at 16:40 -0400, Thompson, David wrote: > > On Wed, Mar 20, 2024 at 4:29 PM Jonas Hahnfeld wrote: > > > So I can confirm that JIT indeed doesn't work right now on 64-bit > > > MinGW, b