lexi-lambda changed the topic of #racket to: Racket v7.2 has been released: https://blog.racket-lang.org/2019/01/racket-v7-2.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
hjek has quit [Ping timeout: 250 seconds]
mSSM has quit [Ping timeout: 250 seconds]
longshi has quit [Ping timeout: 268 seconds]
longshi has joined #racket
amz3 has quit [Ping timeout: 255 seconds]
ym555 has quit [Quit: leaving...]
longshi has quit [Ping timeout: 258 seconds]
widp_ has quit [Ping timeout: 246 seconds]
moldybits has quit [Quit: WeeChat 2.4]
ubLIX has quit [Ping timeout: 246 seconds]
vraid has quit [Ping timeout: 258 seconds]
technomancy has joined #racket
<technomancy> any idea why the draw-ellipse calls here are resulting in non-circular ellipses despite being called with the same value for width and height? https://p.hagelb.org/v2.rkt.html
<technomancy> output: https://p.hagelb.org/kb2.svg
dddddd has quit [Remote host closed the connection]
<technomancy> wait the x and y of draw-ellipse are for the top left of the bounding box, not one of the focal points?
<technomancy> wat
caltelt_ has joined #racket
Sgeo has quit [Quit: Leaving]
Sgeo has joined #racket
Sgeo_ has joined #racket
Sgeo has quit [Ping timeout: 250 seconds]
FreeFull has quit []
enderby has quit [Ping timeout: 255 seconds]
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 244 seconds]
caltelt_ has quit [Ping timeout: 250 seconds]
Arcaelyx has quit [Quit: Textual IRC Client: www.textualapp.com]
endformationage has quit [Ping timeout: 255 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #racket
Sgeo__ has quit [Read error: Connection reset by peer]
Sgeo__ has joined #racket
soegaard has quit [Quit: soegaard]
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 246 seconds]
soegaard has joined #racket
amz3 has joined #racket
ZombieChicken has quit [Ping timeout: 256 seconds]
soegaard has quit [Quit: soegaard]
soegaard has joined #racket
Sgeo__ has joined #racket
YuGiOhJCJ has joined #racket
Sgeo_ has quit [Ping timeout: 246 seconds]
libertyprime has joined #racket
longshi has joined #racket
emacsomancer has quit [Ping timeout: 246 seconds]
longshi has quit [Quit: WeeChat 2.4]
emacsomancer has joined #racket
hjek has joined #racket
hjek has quit [Ping timeout: 245 seconds]
mceier has quit [Ping timeout: 272 seconds]
widp_ has joined #racket
selimcan has joined #racket
orivej_ has quit [Ping timeout: 246 seconds]
orivej has joined #racket
soegaard has quit [Quit: soegaard]
orivej has quit [Ping timeout: 255 seconds]
soegaard has joined #racket
iyzsong has joined #racket
widp_ has quit [Ping timeout: 250 seconds]
widp_ has joined #racket
widp_ has quit [Ping timeout: 246 seconds]
dddddd has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 268 seconds]
DGASAU has joined #racket
orivej has joined #racket
soegaard has quit [Quit: soegaard]
mceier has joined #racket
ym555 has joined #racket
iyzsong has quit [Ping timeout: 255 seconds]
q9929t has joined #racket
ubLIX has joined #racket
libertyprime has quit [Ping timeout: 255 seconds]
ubLIX has quit [Ping timeout: 250 seconds]
vraid has joined #racket
moldybits has joined #racket
iclon has quit [Remote host closed the connection]
iclon has joined #racket
badkins has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 250 seconds]
q9929t has quit [Quit: q9929t]
notzmv has quit [Ping timeout: 245 seconds]
badkins has joined #racket
endformationage has joined #racket
efm has quit [Read error: Connection reset by peer]
efm has joined #racket
pera has joined #racket
selimcan has quit [Remote host closed the connection]
Riviera_ has joined #racket
badkins has quit [Ping timeout: 255 seconds]
orivej has joined #racket
dan_f has joined #racket
vraid has quit [Quit: Leaving]
badkins has joined #racket
<badkins> Anyone familiar with using Racket's subprocess procedure with multiple arguments, in particular when some of those arguments contain spaces?
<badkins> I discovered that the first line below succeeds where the second line fails:
<badkins> (subprocess #f #f #f "/usr/local/bin/foo" "-trace" "Y:L:ssl:123"))
<badkins> (subprocess #f #f #f "/usr/local/bin/foo" "-trace Y:L:ssl:123"))
efm has quit [Remote host closed the connection]
efm has joined #racket
<badkins> so something is going on with args & spaces, and I need to pass an arg with an embedded space, such as the following:
<badkins> (subprocess #f #f #f "/usr/local/bin/foo" "-trace" "-xrm 's.xyz: true'" "Y:L:ssl:123"))
<tonyg> badkins: how would you write it on the shell command-line?
<badkins> concat all those strings with spaces
<tonyg> so like this: $ /usr/local/bin/foo -trace -xrm 's.xyz: true' Y:L:ssl:123
<tonyg> ?
<badkins> yes
<tonyg> cool. so,
<tonyg> shell will split that line up into an array of strings at every space on the line except the one in single-quotes
<tonyg> the single-quotes will not be included in the array of strings
<tonyg> the resulting array will be handed off to execv
<tonyg> subprocess takes an execv-style array of strings
<tonyg> so you want:
<badkins> ah
<tonyg> (subprocess #f #f #f "/usr/local/bin/foo" "-trace" "-xrm" "s.xyz: true" "Y:L:ssl:123")
<tonyg> an alternative is to build a line of input for the shell to then take apart again :-) but that's hideously error prone. much better to build the execv-style array yourself imo
<badkins> Thanks!
<tonyg> yw
<badkins> Wow - just tried that, and it worked flawlessly. Been struggling with this for a bit today. If you're at RacketCon - lunch or dinner is on me!
technomancy has left #racket ["ERC (IRC client for Emacs 24.5.1)"]
buyfn has joined #racket
dustyweb has joined #racket
buyfn has quit [Quit: buyfn]
efm has quit [Remote host closed the connection]
enderby has joined #racket
widp_ has joined #racket
selimcan has joined #racket
efm has joined #racket
sauvin has quit [Read error: Connection reset by peer]
hjek has joined #racket
buyfn has joined #racket
enderby has quit [Ping timeout: 246 seconds]
badkins has quit [Ping timeout: 255 seconds]
orivej has quit [Ping timeout: 250 seconds]
hjek has quit [Ping timeout: 268 seconds]
pera has quit [Ping timeout: 250 seconds]
libertyprime has joined #racket
badkins has joined #racket
dimitarvp has joined #racket
soegaard has joined #racket
pera has joined #racket
dimitarvp has quit [Client Quit]
libertyprime has quit [Ping timeout: 255 seconds]
dan_f has quit [Quit: dan_f]
buyfn has quit [Quit: buyfn]
FreeFull has joined #racket
selimcan has quit [Remote host closed the connection]
fauxm has joined #racket
hjek has joined #racket
libertyprime has joined #racket
ubLIX has joined #racket
jao has joined #racket
YuGiOhJCJ has joined #racket
YuGiOhJCJ has quit [Remote host closed the connection]
Arcaelyx has joined #racket
ym555 has quit [Ping timeout: 245 seconds]
ym555 has joined #racket
widp_ has quit [Ping timeout: 246 seconds]
<tonyg> badkins: :) glad it worked for you! Won't be at racketcon this year sadly, so pick a random attendee and shout them a lunch instead if you like :)
<badkins> Sounds good :)
orivej has joined #racket
widp_ has joined #racket
hjek has quit [Quit: hjek]
longshi has joined #racket
longshi has quit [Ping timeout: 258 seconds]
longshi has joined #racket
longshi has left #racket ["WeeChat 2.4"]
widp_ has quit [Ping timeout: 246 seconds]
soegaard has quit [Quit: soegaard]
hjek has joined #racket