Hi,
does call-as-atomic block garbage collection? I want to call a C function from
Racket which takes a pointer to a struct as an argument. The struct consists
of a mixture of atomic and pointer fields and one of the pointers should
directly point to a flvector (by using flvector->cpointer) f
On 10/6/2015 5:43 PM, Tony Garnock-Jones wrote:
On 10/06/2015 03:12 PM, George Neuner wrote:
> My (maybe wrong) understanding is that the response/* functions only
> package the response data for the send/* functions to transmit.
They construct a `response` struct which includes an `output` p
At Wed, 7 Oct 2015 02:11:08 +0200, Paolo Giarrusso wrote:
> On 7 October 2015 at 01:54, Sam Tobin-Hochstadt wrote:
> > On Tue, Oct 6, 2015 at 7:50 PM, Paolo Giarrusso
> wrote:
> >> In addition, I get an error it without any line number — which is
> >> maybe a more subtle matter. Also DrRacket sh
On 7 October 2015 at 01:54, Sam Tobin-Hochstadt wrote:
> On Tue, Oct 6, 2015 at 7:50 PM, Paolo Giarrusso wrote:
>> Thanks for the prompt answer and the clarifications! But there's a
>> third issue, which unfortunately I've hid when I combined the modules
>> in one file (sorry), and which is more
On Tue, Oct 6, 2015 at 7:50 PM, Paolo Giarrusso wrote:
> Thanks for the prompt answer and the clarifications! But there's a
> third issue, which unfortunately I've hid when I combined the modules
> in one file (sorry), and which is more important. Sorry I made this
> unclear.
>
> In the split vers
Thanks for the prompt answer and the clarifications! But there's a
third issue, which unfortunately I've hid when I combined the modules
in one file (sorry), and which is more important. Sorry I made this
unclear.
In the split version
(https://github.com/Blaisorblade/racket-playground/tree/master/
I think there are two issues here:
1. The stack trace in your email is just a result of `raco make`
printing its current context when there's a syntax error. If you
replace the whole body of the module with just `(lambda)`, you'll see
the same stack trace. Probably `raco make` should be changed no
I feel I've found (and minimized) a perfectly repeatable bug in separate
compilation in Racket 6.2.1, or at least a situation which is a pain to debug
for related reasons. The example code is available at
http://pasterack.org/pastes/25050 (or at the end of this email) with all
modules in one fi
Hi Sam and Vincent,
Yes the old URL now works, thanks! I used the word patch because the old
url was .../plt/patch/... .
Reply2all ftw
On Tue, Oct 6, 2015 at 6:54 PM, Vincent St-Amour <
stamo...@eecs.northwestern.edu> wrote:
> What was the URL for the old patch?
>
> If the URL includes the comm
What was the URL for the old patch?
If the URL includes the commit hash, finding its new location should be
easy.
Vincent
On Tue, 06 Oct 2015 15:26:22 -0500,
Sean Kanaley wrote:
>
> Hi all,
>
> Now that the repository has moved from git.racket-lang..., I can no
> longer find a particular pat
Hi Sean,
First, we've just fixed the site so that all the old urls should still
work.
Second, I'm not sure what you mean by "patch". If you mean a particular
commit, all of the SHA1 hashes are the same as they were before, so you
should still be able to find them on github or with git itself. But
On 10/06/2015 03:12 PM, George Neuner wrote:
> My (maybe wrong) understanding is that the response/* functions only
> package the response data for the send/* functions to transmit.
They construct a `response` struct which includes an `output` procedure
which, given a port, is to write the res
Hi all,
Now that the repository has moved from git.racket-lang..., I can no longer
find a particular patch. I also have no idea what it did, only that it was
necessary. Is there a way to find it based on the old url?
Failing that, I would try installing the base version along side and
diffing the
We've considered this before, and I still think that the TR numeric
tower is already complex enough as is that I'm reluctant to expose more
bits, especially some that are not really meaningful, and should not
ever be used.
Vincent
On Tue, 06 Oct 2015 14:49:35 -0500,
Sam Tobin-Hochstadt wrote:
>
On 10/6/2015 9:58 AM, Jay McCarthy wrote:
I'm not sure if this answers the question...
These errors are coming from the Web server response-outputing code
failing when the other side closed the connection early. The exception
would not be returned to your code, because your code is a function
fr
I think the right solution is just to provide them as real types.
Hiding them incompletely doesn't work, and it will be difficult to
hide them completely.
Sam
On Tue, Oct 6, 2015 at 3:37 PM, Vincent St-Amour
wrote:
> Hi Paolo,
>
> I agree that the semi-private status of these types is not ideal.
Hi Paolo,
I agree that the semi-private status of these types is not ideal.
I don't see how opaque type synonyms would solve that problem. Can you
elaborate?
As for qualifying names, there's no universal convention in Racket (you
can use any prefix you want with `prefix-in`). Would it help if th
On 10/6/2015 9:25 AM, Tony Garnock-Jones wrote:
On 10/06/2015 12:43 AM, George Neuner wrote:
> I don't know where to put an error handler to deal with reset conditions
> at the end of a request. Maybe Jay has an idea?
It feels like exceptions are something that response/full,
response/xexpr and
On Tue, 06 Oct 2015 05:51:50 -0500,
Paolo Giarrusso wrote:
>
> On Monday, October 5, 2015 at 10:55:07 PM UTC+2, Vincent St-Amour wrote:
> > I'm not aware of a complete querying solution, but here are a few
> > pointers that may be useful.
> >
> > - If you store your data as lists, you can go a lo
On 6 October 2015 at 15:58, Jay McCarthy wrote:
> I'm not sure if this answers the question...
>
> These errors are coming from the Web server response-outputing code
> failing when the other side closed the connection early. The exception
> would not be returned to your code, because your code is
After more playing around, I got to this — which scrolls down a bit but not
enough. Now it's down to actually understanding `(send an-editor-canvas
scroll-to ...)` docs — in particular, what are editor coordinates. I'm fearing
it's in pixels.
#lang racket/base
(require racket/class)
;; string?
I'm not sure if this answers the question...
These errors are coming from the Web server response-outputing code
failing when the other side closed the connection early. The exception
would not be returned to your code, because your code is a function
from "request -> response" rather than a "requ
On 10/06/2015 12:43 AM, George Neuner wrote:
> I don't know where to put an error handler to deal with reset conditions
> at the end of a request. Maybe Jay has an idea?
It feels like exceptions are something that response/full,
response/xexpr and similar procedures could deal with, since they ha
On Monday, October 5, 2015 at 10:55:07 PM UTC+2, Vincent St-Amour wrote:
> I'm not aware of a complete querying solution, but here are a few
> pointers that may be useful.
>
> - If you store your data as lists, you can go a long way with standard
> list combinators, such as `map`, `filter` and `
So, a skeleton calling insert, relying on `script-plugin`, is the following. It
doesn't work yet, but it took like 1 minute, so it's a cool starting point.
With script-plugin, you can just edit it and rerun it without restarting Racket:
```
#lang racket/base
(require racket/class)
; Sample iden
For the record, a new solution has surfaced. I'm posting this here because this
thread is highly ranked on Google, so I took it as a reference.
Quoting Laurent from later:
https://groups.google.com/d/msg/racket-users/_XWopH-iMNw/DEYMBxqqAQAJ
> I'm using the script plugin [*] to test things qui
I'm using the script plugin [*] to test things quickly. You get direct
access to the current editor, either the interactions or the definitions
one. Possibly it would be even more helpful to have an interaction window
with access to the same things for quick hacks. That could be either a
standalon
Yes, notepad is strange. Why not use wordpad?
Jos
-Original Message-
From: racket-users@googlegroups.com [mailto:racket-users@googlegroups.com]
On Behalf Of Josh English
Sent: martes, 06 de octubre de 2015 6:06
To: Racket Users
Subject: [racket-users] Re: Writing text to a file with corre
28 matches
Mail list logo