tyson2 has quit [Remote host closed the connection]
notzmv has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
shicz2 has quit [Ping timeout: 256 seconds]
shicz2 has joined #racket
<ozzloy>
ns12, thanks
ur5us_ has quit [Ping timeout: 240 seconds]
s-liao has quit [Ping timeout: 256 seconds]
shicz2 has quit [Ping timeout: 240 seconds]
shicz2 has joined #racket
shicz2 has quit [Ping timeout: 256 seconds]
shicz2 has joined #racket
shicz2 has quit [Ping timeout: 240 seconds]
shicz2 has joined #racket
skapata has quit [Remote host closed the connection]
shicz2 has quit [Ping timeout: 240 seconds]
shicz2 has joined #racket
TCZ has joined #racket
shicz2 has quit [Ping timeout: 260 seconds]
shicz2 has joined #racket
shicz2 has quit [Ping timeout: 240 seconds]
shicz2 has joined #racket
TCZ has quit [Quit: Leaving]
ur5us_ has joined #racket
shicz2 has quit [Ping timeout: 240 seconds]
shicz2 has joined #racket
ur5us_ has quit [Remote host closed the connection]
ur5us_ has joined #racket
ur5us_ has quit [Remote host closed the connection]
libertyprime has joined #racket
TCZ has joined #racket
Algernon69 has joined #racket
TCZ is now known as Tcl3r
Algernon91 has joined #racket
Algernon69 has quit [Ping timeout: 245 seconds]
s-liao has joined #racket
szkl has joined #racket
shicz2 has quit [Ping timeout: 240 seconds]
shicz2 has joined #racket
schulze has joined #racket
s-liao has quit [Quit: Client closed]
shicz2 has quit [Ping timeout: 240 seconds]
shicz2 has joined #racket
s-liao has joined #racket
shicz2 has quit [Ping timeout: 240 seconds]
shicz2 has joined #racket
<ns12>
ozzloy: You're welcome. You should probably use entr as justsomeguy suggested, since it is more efficient than polling, and more portable across unix-like operating systems.
Tcl3r is now known as TCZ
TCZ has quit [Quit: Leaving]
libertyprime has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
gproto23 has joined #racket
Algernon91 has quit [Ping timeout: 268 seconds]
schulze has quit [Ping timeout: 256 seconds]
s-liao has quit [Quit: Client closed]
shicz2 has quit [Ping timeout: 256 seconds]
shicz2 has joined #racket
schulze has joined #racket
tyson2 has joined #racket
s-liao has joined #racket
capfredf has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
gproto23 has quit [Read error: Connection reset by peer]
capfredf has quit [Ping timeout: 240 seconds]
gproto23 has joined #racket
Avichi has joined #racket
Algernon91 has joined #racket
Algernon666 has joined #racket
Algernon91 has quit [Ping timeout: 250 seconds]
s-liao has quit [Quit: Client closed]
<jakzale>
elly: thanks, I will look into find-system-path.
<jakzale>
does racket have a debugger outside drracket?
<bremner>
there a couple of modules called debug, I haven't tried them.
<bremner>
I guess mischief and debug are the two packages to look at
Algernon91 has joined #racket
Algernon666 has quit [Read error: Network is unreachable]
skapata has joined #racket
skapata has quit [Changing host]
skapata has joined #racket
Algernon91 has quit [Ping timeout: 268 seconds]
Algernon666 has joined #racket
<jakzale>
bremner: thanks! I also found that racket-mode for emacs has an experimental racket-debug-mode which looks promising.
<bremner>
oh right, I should know that, I use racket-mode
tyson2 has quit [Remote host closed the connection]
monkey_ has joined #racket
rekahsoft has joined #racket
<elly>
You receive: a magic potion of remembering that it's (map proc lst) but (set-map set proc)
tyson2 has joined #racket
Algernon91 has joined #racket
Algernon666 has quit [Ping timeout: 252 seconds]
capfredf has joined #racket
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Ping timeout: 260 seconds]
mdhughes_ is now known as mdhughes
wwalker has quit [Quit: leaving]
monkey_ has quit [Remote host closed the connection]
monkey_ has joined #racket
wwalker has joined #racket
<winny>
Whoa racket debugger in emacs? Making my day!
monkey_ has quit [Ping timeout: 268 seconds]
monkey_ has joined #racket
chronicler has joined #racket
chronicler has left #racket [Konversation terminated!]
ozzloy has quit [Ping timeout: 240 seconds]
notzmv has quit [Ping timeout: 240 seconds]
monkey_ has quit [Remote host closed the connection]
monkey_ has joined #racket
gproto23 has quit [Quit: Leaving]
ozzloy has joined #racket
Algernon91 has quit [Read error: Connection reset by peer]
ozzloy has quit [Ping timeout: 240 seconds]
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
Algernon91 has joined #racket
Algernon91 has quit [Ping timeout: 250 seconds]
libertyprime has joined #racket
libertyprime has quit [Client Quit]
ermo has quit [Ping timeout: 256 seconds]
ermo has joined #racket
TCZ has joined #racket
ozzloy has joined #racket
<winny>
Good afternoon, I'd like to track all calls to close-input-port to troubleshoot an issue I'm running into http-easy, is there a way to do this without modifying the racket sources?
Algernon91 has joined #racket
Algernon666 has joined #racket
TCZ has quit [Quit: Leaving]
<winny>
behavior is such - I call (get some-image-url #:stream? #t) then use copy-port with call-with-output-file to write to a file. I copied the definition of copy-port, added some logging, and copy-port does run for a time, looping, reading in a large portion of the response, but then one iteration I get: read-bytes-avail!: input port is closed
Algernon91 has quit [Ping timeout: 260 seconds]
notzmv has joined #racket
Everything has joined #racket
<winny>
interesting i got a stacktrace and I think the executor is cleaning up too early somehow
<winny>
pretty now to executors, so i might be misreading
Codaraxis__ has joined #racket
<winny>
well that's interesting, if i keep a binding to the response struct in scope until after copy-port everything works
Codaraxis_ has quit [Ping timeout: 268 seconds]
capfredf has joined #racket
<elly>
maybe something is being garbage collected too early
capfredf has quit [Remote host closed the connection]
capfredf has joined #racket
capfredf has quit [Ping timeout: 240 seconds]
<winny>
Running (collect-garbage) without the binding seems to always reproduce the issue. I have a workaround now so that's great :-). Created an issue with a small PoC and opened an issue on the http-easy issue tracker
<winny>
Before I make a library to do this, is there by chance a library to format & print a stacktrace? that's what helped me pinpoint the executor as what's closing the port.
<winny>
(i saw some code on rosetta code that I adapted, but didn't see anything elsewhere that was usable or easy to consume)
tyson2 has quit [Remote host closed the connection]