Hello. I've looked through the paper a couple of times and I don't see a
link to download the tsuro prototype. Is this code available somewhere?
Nate
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop
ked the email address
> is came from as always allowed to post so hopefully it won't happen again).
>
> Robby
>
>
> On Tue, Nov 24, 2020 at 9:16 AM Nate Griswold
> wrote:
>
>> Thanks, Sam. That is what i wanted.
>>
>> Is there any way to allow all messa
cation and you had already
> posted them with your gmail account.
>
> Sam
>
> On Tue, Nov 24, 2020 at 9:59 AM Nate Griswold
> wrote:
> >
> > No rush but can an admin for the list check if my messages from my other
> email are being flagged suspicious? The other email
No rush but can an admin for the list check if my messages from my other
email are being flagged suspicious? The other email is nate@manicmind.earth.
I don't want to use my gmail account.
Sorry if there is a better place to ask this.
Nate
--
You received this message because you are subscribed
the `test` submodule can be loaded
> independently from the compiled form. Loading the submodule from source
> requires loading the enclosing module, too (which depends on
> `racket/place` and more).
>
> At Tue, 24 Nov 2020 08:46:12 -0600, Nate Griswold wrote:
> > Awesome, thanks!
> &
basically identical
> to `racket/base`.
>
> Sam
>
> On Tue, Nov 24, 2020 at 9:39 AM Nate Griswold
> wrote:
> >
> > Oops, i am having some issues with not getting to the list from my other
> email address. Here is a reply i sent for the record.
> >
> > ---
d
>
> (place-wait (dynamic-place 'racket/kernel 'void))
>
> takes around 10ms.
>
> It sounds like you're already aware that the complexity of the module
> loaded into a place matters, though. Beyond using a minimal set of
> modules, I don't have any way to make place sta
Please ignore that last sentence.
Nate
On Tue, Nov 24, 2020 at 4:59 AM Nate Griswold
wrote:
> Very helpful.
>
> I have modified my code to use callbacks and everything is working as
> expected. It is interesting that everything was working fine with my
> racket_apply and ra
Oh, and i'm still on Racket 7.8. Don't know if 7.9 addresses anything.
Nate
On Tue, Nov 24, 2020 at 5:04 AM Nate Griswold
wrote:
> Is there any way to make places startup faster? Even if i do an explicit
> round trip using place-channel-put and place-channel-get on both sides, it
&
Is there any way to make places startup faster? Even if i do an explicit
round trip using place-channel-put and place-channel-get on both sides, it
takes on the order of centiseconds for near empty places to start up.
My program requires the threads for a couple places to be set up before it
can
.
Nate
On Mon, Nov 23, 2020 at 7:01 AM Matthew Flatt wrote:
> At Mon, 23 Nov 2020 00:14:56 -0600, Nate Griswold wrote:
> > Hello. I have a few questions:
> >
> > 1) Why do the docs say that racket_eval and racket_apply eval and apply
> in
> > the “initial” or “original”
Hello. I have a few questions:
1) Why do the docs say that racket_eval and racket_apply eval and apply in
the “initial” or “original” racket thread? I have verified that the thread
id returned from pthread_self when using racket_apply in c code called from
a racket place is different from the
, 2020 at 3:59 AM Nate Griswold wrote:
> I have a temporary workaround where i have created an ffi function
> racket-side to call into c, so that i can automatically use the _cptr's
> racket-to-c function. I wonder if there is a way to manually extract the c
> value for the case
, Oct 5, 2020 at 3:26 AM Nate Griswold wrote:
> Note this is from a return value of racket_apply; i called a racket
> function from c code and want to store the cptr it has returned.
>
> Nate
>
>
> On Mon, Oct 5, 2020 at 3:25 AM Nate Griswold
> wrote:
>
>> What
Note this is from a return value of racket_apply; i called a racket
function from c code and want to store the cptr it has returned.
Nate
On Mon, Oct 5, 2020 at 3:25 AM Nate Griswold wrote:
> What is the best way to access a value that is a cpointer from c code?
> Should i c
What is the best way to access a value that is a cpointer from c code?
Should i convert it to an integer? I have been looking at this for a while,
about an hour, and will continue to look but just thought the list might be
able to answer faster. I know there are chez functions to convert `ptr`s to
I looked into it, it seems to be implemented in `src/cs/rumble/foreign.ss`
using chez get-thread-id, comparing it to 0 and using a stored ref to the
original async callback queue, so looks like this is not exposed to the
user. Hm.
Nate
On Thu, Oct 1, 2020 at 6:58 AM Nate Griswold wrote
ce at this point.
Also maybe i'm missing a simpler solution. Any help would be appreciated.
Thanks.
Nate
On Mon, Sep 14, 2020 at 6:47 AM Matthew Flatt wrote:
> At Mon, 14 Sep 2020 00:34:08 -0500, Nate Griswold wrote:
> > If i understand correctly, in racket cs embedded if i am not curr
threads that racket has spawned.
Thanks
Nate
On Sun, Sep 13, 2020 at 5:40 PM George Neuner wrote:
>
> On 9/13/2020 4:12 PM, Nate Griswold wrote:
>
> Sorry, i forgot to mention this would be interfacing on the main thread
> from c
>
> does this still hold true? Like if
The reason i'm asking is i am dedicating a thread to racket after calling
racket_boot on it.
Nate
On Sun, Sep 13, 2020 at 3:12 PM Nate Griswold
wrote:
> Sorry, i forgot to mention this would be interfacing on the main thread
> from c
>
> does this still hold true? Like if a c
Sorry, i forgot to mention this would be interfacing on the main thread
from c
does this still hold true? Like if a c call returns does it kill the places?
Nate
On Sun, Sep 13, 2020 at 12:17 PM George Neuner wrote:
>
>
> On 9/13/2020 3:55 AM, Nate Griswold wrote:
>
>
>
Hi.
I am making an app that basically spawns two racket places and i want to be
able to communicate with them from c code.
Will gc happen in the two racket places if i don't keep the main thread
(the one that spawned the places) running? I was thinking about whether i
should keep the main thread
Thanks
Nate
On Sun, Aug 2, 2020 at 3:50 PM Sam Tobin-Hochstadt
wrote:
> Yes, I think that's still the best approach.
>
> Sam
>
> On Sun, Aug 2, 2020 at 4:47 PM Nate Griswold
> wrote:
> >
> > Hello. Ran into some problems with typed racket and define-cstruct wh
Hello. Ran into some problems with typed racket and define-cstruct when
adding typed racket layer on top of my ffi bindings.
Is this (https://github.com/racket/typed-racket/issues/766) still the
recommended way of working around the issue?
Nate
--
You received this message because you are
gt;
>
This is ok, but there doesn't seem to be any discussion in the guide of the
different function types with stars or ellipses that I have found.
> On Saturday, July 25, 2020 at 12:52:43 PM UTC-5, Nate Griswold wrote:
>>
>> Hello. I am stuck on a probably simple type proble
Hello. I am stuck on a probably simple type problem and was wondering if
someone could help:
I'll just give the actual functions im using:
```
(struct Character ([bytes16 : Bytes]))
(define substr (make-bytes 128))
(: make-character (-> Integer Integer Character))
(define (make-character s e)
ate/arrow-val-first.rkt:555:3
Nate
On Fri, Jul 24, 2020 at 12:57 PM Nate Griswold
wrote:
> Just FYI this was a local install/config issue
>
> Nate
>
>
> On Fri, Jul 24, 2020 at 12:14 AM Nathaniel Griswold <
> nategrisw...@gmail.com> wrote:
>
>> Oh, hm ok I was ha
atalog down?
>> To: Tom Gillespie
>> Cc: Racket Users
>>
>> That path isn't served, but something like
>>
>> https://download.racket-lang.org/releases/7.6/catalog/pkg/racket-lib
>>
>> or
>>
>> https://download.racket-lang.org/releases/7.6/cat
My raco pkg install is crashing and manual navigation to the package
catalog looks broken
https://download.racket-lang.org/releases/7.7/catalog/
[image: image.png]
Nate
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this
Also can you think of a better way to do this than my implementation of
iterate? The use case is putting it in a for loop along with a break or a
finite list.
Nate
On Wed, Jul 22, 2020 at 2:22 PM Nate Griswold
wrote:
> Ok, thanks for the reply.
>
> I was trying to use this
that would be helpful in trying to address this
implementation-wise?
Nate
On Wed, Jul 22, 2020 at 1:56 PM Sam Tobin-Hochstadt
wrote:
> Currently, neither `racket/stream` nor `racket/generator` are
> supported by Typed Racket, unfortunately.
>
> Sam
>
> On Wed, Jul 22, 2020 at 12:
Actually, is there any way at all to use lazy lists of things (streams or
generators) in typed racket?
Nate
On Tue, Jul 21, 2020 at 8:45 PM Nate Griswold
wrote:
> Do generators and typed racket work together well? It seems (yield)
> doesn't have a type and i couldn't get my module t
Do generators and typed racket work together well? It seems (yield) doesn't
have a type and i couldn't get my module to work.
Is there a way to make some procedure untyped in the middle of a typed
file? Is it just best to break these things into separate files?
Thank you
Nate
--
You received
>
> If you expect a full "collects" directory and more to be around at run
> time, then there's no reason to embed code, and just use
>
> racket_dynamic_require(Sstring("test.rkt"), Sfalse);
>
> to load the module. But if you want to embed everything, then avoid
> `dynamic-r
uire` itself, as opposed to
>> a library that is loaded by `dynamic-require`, but it sounds like a bug
>> at some level. Can you provide a small example?
>>
>> At Mon, 13 Jul 2020 11:03:41 -0500, Nate Griswold wrote:
>> > Sam, thanks
>> >
>> > To be cle
me part of that wrong, but it should be close... Of
> course, there should be better support for record-field access and
> cpointer extraction, so I'll add to the API.
>
>
> At Mon, 13 Jul 2020 11:43:35 -0500, Nate Griswold wrote:
> > I had a question. In embedded racket, I am pas
this problem is to create an init foreign
function in racket and pass in the _cpointer data and grab the c pointer
when my c function is called.
Is there any other way to solve this problem?
Nate
On Mon, Jul 13, 2020 at 11:43 AM Nate Griswold
wrote:
> I had a question. In embedded racket, I
I had a question. In embedded racket, I am passing a _cpointer value back
to c code by way of racket_apply's return value.
Looking over https://docs.racket-lang.org/inside/cs-values_types.html ,
there appears to be a group of functions associated with extracting values
from ptrs. I do not see one
ome library you're using features promises?
> Alternatively, it might be that the embedding code needs an explicit
> dependency on promises.
>
> Sam
>
> On Mon, Jul 13, 2020, 10:18 AM Nate Griswold
> wrote:
>
>> Hello.
>>
>> I noticed something and was wondering wh
Hello.
I noticed something and was wondering what the list thinks:
I am using an embedded racket Ics) and i noticed that if i embed a file and
don't include any libraries (for a very bare bones c file) i have problems
with a crash on a promise on any dynamic-require:
build-path: contract
ome in the
> following readme:
>
> https://www.github.com/racket/racket/tree/master/racket%2Fsrc%2Fcs%2FREADME.txt
>
> Sam
>
> On Sun, Jul 12, 2020, 12:16 PM Nate Griswold
> wrote:
>
>> Maybe i have been up too long, but what is the best replacement for
>> make-sized-byte
Maybe i have been up too long, but what is the best replacement for
make-sized-byte-string in Racket CS? I am using a library that still calls
it and is failing on me.
I don't mind just copying the whole thing. I could write a function to do
it i was just thinking there would be something there
igned Executable Memory"
(com.apple.security.cs.allow-unsigned-executable-memory) in Target ->
Signing and Capabilities
Nate
On Sat, Jul 11, 2020 at 3:59 PM Nate Griswold
wrote:
> Has anyone run into an out of memory exit when calling racket_boot on mac
> os x?
>
> Mine
Has anyone run into an out of memory exit when calling racket_boot on mac
os x?
Mine was working fine until i turned system integrity protection back on,
now i can't seem to get it to work.
Anyway, just wanted to check here before i dig further. Please lmk if you
have run into this...
Nate
--
s://github.com/racket/racket/wiki
>
> You can post it yourself or I am happy to do it for you.
> https://github.com/racket/racket/wiki/_new
>
> Kind regards,
> Stephen
>
> On Wed, 24 Jun 2020 at 17:54, Nate Griswold
> wrote:
>
>> Hello
>>
>> I recently w
Hello
I recently went through the process of embedding the Racket.framework in
Xcode, and i just wanted to share the steps in case anyone else would like
to do this.
Note the documentation says (
https://docs.racket-lang.org/inside/cs-embedding.html)
"On Mac OS, besides "libracketcs.a" for
46 matches
Mail list logo