@mflatt when a fd-semaphore mapping is removed, is the existing semaphore (if any) guaranteed to become ready?
(oh, never mind, I just read the new documentation at unsafe-file-descriptor->semaphore
)
@cfinegan That’s right, but the default color lexer is the racket/base
one, so racket/base
doesn’t specify one. You’ll get a non-#f result with "#lang scribble/base".
@mflatt unsafe-socket->port
looks like it walks up the custodian chain from the current custodian until it finds one that isn’t shut down, and puts the new ports there, which seems odd. In contrast, unsafe-file-descriptor->port
segfaults if the current custodian is shut down. Can you add custodian-shut-down?
to racket/base
or ffi/unsafe/custodian
?
@ryanc I’ll add it later today
@mflatt thanks
@targetstorm has joined the channel
Hello, I am new to racket. Is this the place to be asking newbie questions? I didn’t see a forum, and I’ve no idea how mailing lists work.
@targetstorm Also the user mailing list ( https://groups.google.com/forum/#!forum/racket-users ) is kind of like a forum. You can post to the mailing list from the web interface or send email to after joining the mailing list.
Ok, but I’m not going to get flooded with a bunch of emails right?
@targetstorm it’s configurable whether you want to receive email from the list or not. I pretty much only use the Google groups interface
Oh, ok cool :slightly_smiling_face:
It’s also not super active in the first place so a dozen emails a day is not likely :)
FWIW I use Gmail and one of my many “filters” (what Gmail calls mail processing rules) is, if something matches list:"<http://racket-users.googlegroups.com\|racket-users.googlegroups.com>
then (a) skip inbox and (b) apply label Racket. In other words I have a “folder” with all the Racket mailing list emails I check if/when I’m in the mood for that. Doesn’t clutter the inbox. Of course can do similar with other web and native mail apps.
Are the bindings to imagemagick in ffi/examples/magick
appropriate for use, or should I write my own bindings if I intend to use imagemagick from Racket?