ryanc
2017-12-18 12:14:22

@mflatt when a fd-semaphore mapping is removed, is the existing semaphore (if any) guaranteed to become ready?


ryanc
2017-12-18 12:22:15

(oh, never mind, I just read the new documentation at unsafe-file-descriptor->semaphore)


mflatt
2017-12-18 13:37:56

@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".


ryanc
2017-12-18 13:57:42

@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?


mflatt
2017-12-18 15:14:04

@ryanc I’ll add it later today


ryanc
2017-12-18 15:19:15

@mflatt thanks


targetstorm
2017-12-18 17:15:05

@targetstorm has joined the channel


targetstorm
2017-12-18 17:20:39

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.


greg
2017-12-18 17:38:11

@targetstorm Welcome! Check out the #beginners channel here.


shu--hung
2017-12-18 19:25:36

@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.


targetstorm
2017-12-18 19:59:23

Ok, but I’m not going to get flooded with a bunch of emails right?


notjack
2017-12-18 20:05:59

@targetstorm it’s configurable whether you want to receive email from the list or not. I pretty much only use the Google groups interface


targetstorm
2017-12-18 20:10:08

Oh, ok cool :slightly_smiling_face:


notjack
2017-12-18 20:14:36

It’s also not super active in the first place so a dozen emails a day is not likely :)


greg
2017-12-18 20:35:17

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.


lexi.lambda
2017-12-18 23:45:47

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?