badkins has quit [Remote host closed the connection]
morte_ has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 250 seconds]
monkey_ has joined #racket
morte_ has quit [Ping timeout: 252 seconds]
jeosol has joined #racket
badkins has joined #racket
morte has quit [Ping timeout: 250 seconds]
lucasta has quit [Remote host closed the connection]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
ormaaaj has quit [Ping timeout: 248 seconds]
monkey_ is now known as morte
morte has quit [Ping timeout: 276 seconds]
badkins has joined #racket
skapata has quit [Remote host closed the connection]
badkins has quit [Ping timeout: 252 seconds]
codaraxis has joined #racket
codaraxis__ has joined #racket
codaraxis__ has quit [Remote host closed the connection]
codaraxis__ has joined #racket
DragonMaus has quit [Quit: No Ping reply in 180 seconds.]
DragonMaus has joined #racket
codaraxis has quit [Ping timeout: 248 seconds]
ur5us has quit [Ping timeout: 250 seconds]
m5zs7k has quit [Ping timeout: 265 seconds]
m5zs7k has joined #racket
shawnw has joined #racket
m1dnight has quit [Read error: Connection reset by peer]
m1dnight has joined #racket
codaraxis__ has quit [Ping timeout: 250 seconds]
ur5us has joined #racket
ur5us has quit [Ping timeout: 246 seconds]
ur5us has joined #racket
Kratacoa has quit [Ping timeout: 250 seconds]
ormaaj has quit [Write error: Connection reset by peer]
munksgaard has quit [Read error: Connection reset by peer]
jryans has quit [Write error: Connection reset by peer]
undltd has quit [Read error: Connection reset by peer]
pounce has quit [Ping timeout: 246 seconds]
pounce has joined #racket
ormaaj has joined #racket
ormaaj1 has joined #racket
munksgaard has joined #racket
undltd has joined #racket
jryans has joined #racket
ur5us has quit [Ping timeout: 260 seconds]
jryans has quit [Ping timeout: 248 seconds]
ormaaj1 has quit [Ping timeout: 248 seconds]
munksgaard has quit [Ping timeout: 260 seconds]
undltd has quit [Ping timeout: 252 seconds]
mwnaylor has quit [Ping timeout: 250 seconds]
ormaaj1 has joined #racket
munksgaard has joined #racket
jryans has joined #racket
scubagear has quit [Ping timeout: 240 seconds]
scubagear has joined #racket
undltd has joined #racket
jeosol has quit [Quit: Client closed]
badkins has joined #racket
jryans has quit [Write error: Connection reset by peer]
ormaaj1 has quit [Write error: Connection reset by peer]
undltd has quit [Write error: Connection reset by peer]
munksgaard has quit [Write error: Connection reset by peer]
badkins has quit [Ping timeout: 276 seconds]
ormaaj1 has joined #racket
munksgaard has joined #racket
undltd has joined #racket
jryans has joined #racket
skapata has joined #racket
badkins has joined #racket
jeosol has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
shawnw has quit [Quit: Konversation terminated!]
ormaaj has quit [Quit: bye]
scubagear has quit [Ping timeout: 246 seconds]
scubagear has joined #racket
badkins has quit [Remote host closed the connection]
scubagear has quit [Ping timeout: 240 seconds]
badkins has joined #racket
scubagear has joined #racket
codaraxis has joined #racket
codaraxis has quit [Max SendQ exceeded]
codaraxis has joined #racket
lucasta has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
codaraxis has quit [Ping timeout: 240 seconds]
ormaaj has joined #racket
Putonlalla has joined #racket
<Putonlalla>
The documentation for `racket/sandbox` tells me that `(define sicp-eval (make-evaluator 'sicp sexpr))` and `(define sicp-eval (make-evaluator 'sicp)) (sicp-eval sexpr)` should work the same.
<Putonlalla>
However, the former cannot catch exceptions regardless of `sandbox-propagate-exceptions` being set with `parameterize`, and the latter fails on `#%require` not being at top level.
<Putonlalla>
What is the correct way to read, analyze and (only then) evaluate a module inside a sandbox?
badkins has quit [Remote host closed the connection]
ampersam has joined #racket
badkins has joined #racket
<ampersam>
I'm trying to bind the text-field% here so I can send get-editor and get-text inside its own callback https://paste.sqt.wtf/8a8ccd@raw
<ampersam>
I get 'define not allowed in an expression context'
<ampersam>
am I on the right track? is it even possible to do this?
badkins has quit [Ping timeout: 250 seconds]
badkins has joined #racket
dTal is now known as DTAL
<bremner>
ampersam: it looks like extra parens before (set-field! to me)
DTAL is now known as dTal
<bremner>
ampersam: did you maybe want a begin form?
<bremner>
there might be an implicit begin, I forget
badkins has quit [Remote host closed the connection]
badkins has joined #racket
<ampersam>
bremner: the extra paren is because i want to set-field! to enable the dialog window then create the text field inside goto-dialog
<bremner>
ampersam: that's not how racket work. The extra parens make a function call
<bremner>
to get sequencing, you can use (begin ). Some forms have built in (begin ), depending on #lang
<ampersam>
i added a begin and I get 'the last form is not an expression'