[PATCH] Add unboxed floating point comparison instructions.

2016-12-13 Thread David Thompson
g point vector and matrix arithmetic. Many thanks to Andy for already implementing this optimization for u64s which I shamelessly copied from and for the additional guidance on IRC. >From 5f97216c1d19e9302903235da6e89b164d10ba30 Mon Sep 17 00:00:00 2001 From: David Thompson <dthomps...@worc

Attempting to unbox struct fields

2016-02-28 Thread David Thompson
lp would be very much appreciated! Thanks, -- David Thompson GPG Key: 0FF1D807 [0] http://wingolog.org/archives/2016/02/04/guile-compiler-tasks

Re: [PATCH] ice-9: Add JSON module.

2015-08-15 Thread David Thompson
Noticed a couple of small issues after I sent the initial patch that I've fixed in my local git branch: David Thompson da...@gnu.org writes: +(define-module (ice-9 json) + #:use-module (ice-9 match) + #:use-module (srfi srfi-1) + #:export (read-json write-json)) No need to import SRFI-1

[PATCH] ice-9: Add JSON module.

2015-08-15 Thread David Thompson
, surfing ] } Thanks to Mark Weaver and Chris Webber for helping come to a consensus on a good syntax for JSON objects. From 2d4d8607aedaede98f413a84f135d8798d506233 Mon Sep 17 00:00:00 2001 From: David Thompson dthomps...@worcester.edu Date: Sat, 15 Aug 2015 14:09:23 -0400 Subject: [PATCH

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

2015-07-23 Thread David Thompson
it should just return the empty list and the user can decide how to interpret it? Anyway, here's a patch to get the ball rolling. From c9994a7b94ab2c43adfea2980da99515e6292e16 Mon Sep 17 00:00:00 2001 From: David Thompson dthomps...@worcester.edu Date: Thu, 23 Jul 2015 22:07:53 -0400 Subject

[PATCH] socket: Add AF_NETLINK support.

2015-05-03 Thread David Thompson
. There are no tests yet and I'm not sure if I went overboard by defining all of the numerous netlink families and multicast group constants. Feedback requested! :) This patch is for stable-2.0. Thanks, From 3fed7633ee4556907408c55ae29c12641ad6d80c Mon Sep 17 00:00:00 2001 From: David Thompson

Handling HTTP Upgrade requests

2015-02-21 Thread David Thompson
\x86B\x93�Q Does anyone have an idea about how to approach this problem? Thanks in advance! [0] http://www.websocket.org/ [1] http://en.wikipedia.org/wiki/HTTP/1.1_Upgrade_header -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https

Re: WebSockets

2015-02-20 Thread David Thompson
on this? I'm also interested in getting WebSockets support into Guile. -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

MIME type guessing module

2014-12-31 Thread David Thompson
, -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

Re: inotify ffi

2014-11-11 Thread David Thompson
Eli Zaretskii e...@gnu.org writes: Why not use the glib file monitoring instead? It is much more portable, and has an inotify back-end AFAIK. If you're only after inotify, glib seems like a heavy dependency. -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key

Re: inotify ffi

2014-11-11 Thread David Thompson
using that one feature. -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

[ANN] guile-toxcore

2014-09-12 Thread David Thompson
to announce this until it was more complete, but I've been busy with other projects. Help is welcomed. :) The source code is hosted on Gitorious: https://gitorious.org/guile-toxcore/guile-toxcore -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support

Re: [ANN] guile-toxcore

2014-09-12 Thread David Thompson
David Thompson dthomps...@worcester.edu writes: One of my goals with this project is to write a bot that users can add as a friend and use to test text/audio/video chat. Currently, I have a working text chat echo bot. Here's the config for the example client (examples/client.scm

Re: [FEATURE Request] Built-in server should support a thunk as body

2014-08-25 Thread David Thompson
and serving static files was something that confused me for awhile. -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate

Re: Welcome Mark as new co-maintainer

2014-05-27 Thread David Thompson
Ludovic Courtès l...@gnu.org writes: Hello Guilers, I’m happy to announce that Mark H. Weaver has now been officially appointed as Guile co-maintainer by the GNU Project overseers, along with Andy and myself. Mark has been doing excellent work on Guile for several years, tirelessly

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

2014-03-11 Thread David Thompson
David Thompson dthomps...@worcester.edu writes: Hello, Updated patch attached that fixes a small style issue. - Dave From 1bbf073905bc12f80b0a32fc6311163a0b0ab849 Mon Sep 17 00:00:00 2001 From: David Thompson dthomps...@worcester.edu Date: Sat, 8 Mar 2014 17:15:52 -0500 Subject: [PATCH] Test

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

2014-03-08 Thread David Thompson
Hello all, This patch fixes a segfault that occurs when iterating over a weak hash table with deleted weak pairs. WDYT? - Dave From 531c773dae023f15e0719d76a4352064e3681a7b Mon Sep 17 00:00:00 2001 From: David Thompson dthomps...@worcester.edu Date: Sat, 8 Mar 2014 17:15:52 -0500 Subject

Re: Fwd: PATCH - Add cooperative REPL server module

2014-01-22 Thread David Thompson
2001 From: David Thompson dthomps...@worcester.edu Date: Sun, 19 Jan 2014 13:16:02 -0500 Subject: [PATCH] Add cooperative REPL server module. * module/system/repl/coop-server.scm: New module. * module/system/repl/repl.scm (start-repl): Extract body to start-repl*. (start-repl*): New procedure

Re: Fwd: PATCH - Add cooperative REPL server module

2014-01-21 Thread David Thompson
for comments. Thanks for the further review. Updated patch attached. My technical writing skills aren't what they should be, so an extra thanks for helping with the documentation. - Dave From 952e2b3f199031896996b33bc058e42586cbc69e Mon Sep 17 00:00:00 2001 From: David Thompson dthomps

PATCH - Add cooperative REPL server module

2014-01-19 Thread David Thompson
6c23c19610c1ab884d0a8ba2f3d1a94d72022303 Mon Sep 17 00:00:00 2001 From: David Thompson dthomps...@worcester.edu Date: Sun, 19 Jan 2014 13:16:02 -0500 Subject: [PATCH] Add cooperative REPL server module. * module/system/repl/coop-server.scm: New module. * module/system/repl/repl.scm (start-repl

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

2013-11-18 Thread David Thompson
On 11/18/2013 03:32 PM, Ludovic Courtès wrote: David Thompson dthomps...@worcester.edu skribis: From 03f604cc3dfffb816cfe66a355e36ede337749f1 Mon Sep 17 00:00:00 2001 From: David Thompson dthomps...@worcester.edu Date: Sat, 19 Oct 2013 22:43:37 -0400 Subject: [PATCH] Add procedures

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

2013-11-17 Thread David Thompson
to updating this patch. I opted for adding a standalone module named (ice-9 hash-table) rather than including it from boot-9. How did I do? - Dave From 30b122a2638689e919f8b6722905ed5fa51e2138 Mon Sep 17 00:00:00 2001 From: David Thompson dthomps...@worcester.edu Date: Sat, 19 Oct 2013 22:43:37

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

2013-11-17 Thread David Thompson
On 11/17/2013 08:50 PM, David Thompson wrote: Finally got around to updating this patch. I opted for adding a standalone module named (ice-9 hash-table) rather than including it from boot-9. How did I do? - Dave Forgot to add the new module file to Makefile.am. Updated patch attached

[PATCH] Add procedures to convert alists into hash tables

2013-10-20 Thread David Thompson
of hash tables: equal?, eq?, eqv? and custom. - Dave From e303098404321cbe2b978d526ee2737137a5d5b1 Mon Sep 17 00:00:00 2001 From: David Thompson dthomps...@worcester.edu Date: Sat, 19 Oct 2013 22:43:37 -0400 Subject: [PATCH] Add procedures to convert alists into hash tables. * libguile/hashtab.c

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

2013-10-20 Thread David Thompson
On 10/20/2013 10:14 AM, David Thompson wrote: Hello all, When looking through the different hash table implementations available (Guile, SRFI-69, and RNRS) I found a useful SRFI-69 procedure that had no equivalent in Guile's native hash table API: alist-hash-table. This patch is an attempt

Re: A more generic REPL server

2013-10-06 Thread David Thompson
On 10/06/2013 06:08 AM, Chaos Eternal wrote: Is this thing a threadless repl server? if so, i suggest that the code be separated and can be easily integrated into other project. the guile-scsh badly needs such a feature. It's not exactly threadless. There is one server thread that waits for

A more generic REPL server

2013-10-04 Thread David Thompson
Hello all, As some of you know, I am writing my own custom REPL that fits nicely with my game framework, guile-2d. I just finished hacking (system repl server) to suit my needs and things seem to be working well. Looking upon the diff, I see that I only changed the serve-client procedure. Thus,

Re: [PATCH] Add read-wrapper REPL option

2013-10-03 Thread David Thompson
On 09/29/2013 06:10 PM, David Thompson wrote: Guile-2D needs a REPL that runs within its event loop without blocking when reading user input. Mark Weaver has helped me add a new REPL option, read-wrapper, that can be used by Guile-2D to push the read operation into another thread while

[PATCH] Add read-wrapper REPL option

2013-09-29 Thread David Thompson
. This avoids the problem of thread safety with the normal REPL server. I think that this could be useful for other programs that run in an event loop. Perhaps Emacsy? - Dave Thompson From 57e11747ee43d42e09b5c80e545f12728c75fbf5 Mon Sep 17 00:00:00 2001 From: David Thompson dthomps...@worcester.edu