lexi-lambda changed the topic of #racket to: Racket v7.1 has been released: http://blog.racket-lang.org/2018/10/racket-v7-1.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
mejja has left #racket [#racket]
ubLIX has joined #racket
hjek has joined #racket
jcowan has quit [Quit: Connection closed for inactivity]
hjek has quit [Quit: Leaving.]
profmakx has quit [Read error: Connection reset by peer]
libertyprime has joined #racket
jmiven has quit [Quit: co'o]
jmiven has joined #racket
pera_ has joined #racket
ubLIX has quit [Quit: ubLIX]
pera_ has quit [Ping timeout: 245 seconds]
joebobjoe has joined #racket
pera has joined #racket
joebobjoe has quit [Ping timeout: 240 seconds]
pierpal has quit [Ping timeout: 250 seconds]
lavaflow has joined #racket
tennix has quit [Ping timeout: 244 seconds]
jcowan has joined #racket
jao has quit [Disconnected by services]
jao has joined #racket
tennix has joined #racket
pera has quit [Ping timeout: 246 seconds]
dddddd has quit [Remote host closed the connection]
Sgeo_ has joined #racket
Sgeo has quit [Ping timeout: 252 seconds]
jao has quit [Ping timeout: 246 seconds]
pierpal has joined #racket
Sgeo_ has quit [Ping timeout: 272 seconds]
Sgeo has joined #racket
libertyprime has quit [Ping timeout: 245 seconds]
jao has joined #racket
jao has quit [Remote host closed the connection]
sauvin has joined #racket
acarrico has quit [Ping timeout: 272 seconds]
jao has joined #racket
acarrico has joined #racket
Lowl3v3l has joined #racket
ZombieChicken has quit [Ping timeout: 256 seconds]
ZombieChicken has joined #racket
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
buyfn has joined #racket
ZombieChicken has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 268 seconds]
g00s has joined #racket
jao has quit [Ping timeout: 240 seconds]
buyfn has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
acarrico has quit [Ping timeout: 240 seconds]
buyfn has joined #racket
Sgeo has quit [Ping timeout: 268 seconds]
Sgeo has joined #racket
mzan has joined #racket
g00s has quit [Ping timeout: 260 seconds]
rnmhdn has joined #racket
g00s has joined #racket
joebobjoe has joined #racket
joebobjoe has quit [Ping timeout: 260 seconds]
joebobjoe has joined #racket
keep_learning has joined #racket
ionathan has joined #racket
orivej has joined #racket
vraid has joined #racket
g00s has quit [Quit: Textual IRC Client: www.textualapp.com]
ubLIX has joined #racket
joebobjoe has quit [Ping timeout: 245 seconds]
tennix has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 240 seconds]
dddddd has joined #racket
buyfn has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
iyzsong has joined #racket
joebobjoe has joined #racket
buyfn has joined #racket
tennix has joined #racket
orivej has joined #racket
joebobjoe has quit [Ping timeout: 272 seconds]
buyfn has quit [Quit: Textual IRC Client: www.textualapp.com]
lockywolf has joined #racket
confusedwanderer has joined #racket
YuGiOhJCJ has joined #racket
lockywolf has quit [Remote host closed the connection]
lockywolf has joined #racket
pera_ has joined #racket
tennix has quit [Ping timeout: 250 seconds]
lockywolf has quit [Remote host closed the connection]
lockywolf has joined #racket
lockywolf has quit [Ping timeout: 260 seconds]
pera_ has quit [Ping timeout: 252 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #racket
ubLIX has quit [Quit: ubLIX]
pera has joined #racket
joebobjoe has joined #racket
joebobjoe has quit [Ping timeout: 244 seconds]
pera has quit [Quit: leaving]
iyzsong has quit [Read error: Connection reset by peer]
acarrico has joined #racket
rnmhdn has quit [Ping timeout: 252 seconds]
tennix has joined #racket
jao has joined #racket
Lowl3v3l has quit [Quit: Leaving.]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
DGASAU has joined #racket
leif has quit [Ping timeout: 246 seconds]
mjanssen has quit [Remote host closed the connection]
<rain1> hey
<rain1> ive got a question about macro systems
<rain1> I read this blog about hygenic quasquotation thats makes syntactic closures
<rain1> and I was wondering how that compares to scope sets?
<rain1> is it a valid/correct approach to hygiene and does it have some limits that scope sets doesn't?
ubLIX has joined #racket
eli has quit [Ping timeout: 252 seconds]
jrslepak has quit [Ping timeout: 252 seconds]
gabot has quit [Ping timeout: 272 seconds]
badkins_ has joined #racket
badkins has quit [Ping timeout: 246 seconds]
<rntz> rain1: hi! I wrote that blog post (... almost ten years ago now)
<rain1> hey :D
<rntz> I don't remember all the details, but it definitely has some limitations that Racket's hygiene system doesn't
<rain1> im a fan of your work
<rntz> in particular, with my approach, as I remember (it's been a while), there's no good way to destructure or pattern-match on the code you're given as an argument
groovy2shoes has quit [Quit: moritura te salutat]
<rntz> rain1: thanks!
<rntz> because the code you're given as an argument is wrapped in this opaque "syntactic closure" structure, so you can't ask "Does it look like (some-sybmol x ...) or like (some-other-symbol y ...)" without peeling off that closure, at which point you've lost the context that you needed to enforce hygiene
<rain1> i see
<rain1> Would it be possible to implement analogues of free/bound-identifier=?
<rntz> I don't know. I don't _really_ understand free/bound-identifier=?
pierpal has quit [Quit: Poof]
pierpal has joined #racket
<rntz> I also don't understand scope sets well enough to compare how my approach & scope sets work "under the hood"
<rntz> I _do_ think you could in theory get around the limitation about destructuring your arguments by doing something like what racket does with syntax-e.
<rain1> so I think the key thing I can take from this is that for a macro system we need a good set of tools for destructing as well as building up syntax objects
<rntz> yeah, I think that's right. certainly if you want "sophisticated" macros that can take arguments with interesting structure.
groovy2shoes has joined #racket
joebobjoe has joined #racket
ng0 has joined #racket
tennix has quit [Ping timeout: 268 seconds]
tennix has joined #racket
vraid has quit [Quit: Leaving]
joebobjoe has quit [Ping timeout: 268 seconds]
rnmhdn has joined #racket
sauvin has quit [Remote host closed the connection]
DGASAU has quit [Read error: Connection reset by peer]
DGASAU has joined #racket
joebobjoe has joined #racket
<lexi-lambda> rntz: free-identifier=? just means that both identifiers are bound to the same thing (even through `rename-in`s and rename transformers). Put another way, it computes whether or not both identifiers share the same binding site.
<lexi-lambda> bound-identifier=? is much less useful—it computes whether or not the two identifiers would bind each other, so if you have two identifiers x and y, then #`(let ([#,x 1]) #,y) and #`(let ([#,y 1]) #,x) would both produce 1.
DGASAU has quit [Ping timeout: 272 seconds]
<lexi-lambda> bound-identifier=? is mostly used to detect “duplicate identifier” errors in binding forms, so you can signal an error on things like (lambda (x x) x) or (let ([x 1] [x 2]) x).
orivej has quit [Ping timeout: 268 seconds]
<lexi-lambda> I’m not sure that the names are very good ones, but I think free-identifier=? is named as such because it detects binding if the identifiers are free in their enclosing expression (though I think this is a little confusing because they are not really free, they are bound, and it isn’t clear what they are supposedly free with respect to).
<jcowan> say rather, "as if they were free"
zakora has joined #racket
joebobjoe has quit [Quit: leaving]
<zakora> Just getting started with racket, downloaded the standard 7.1 linux version. In the racket REPL, when I use ",doc add1" (or any other function) it launches Chrome. My default browser is Firefox. Any idea how to open doc in Firefox?
DGASAU has joined #racket
<zakora> I am using Gnome, in the preferences panel the default application for web sites is set to Firefox
<zakora> One odd thing that might cause this: I didn't install firefox with the system package manager, but downloaded the .tar.gz and run it from ~/.local/bin/
pierpal has quit [Ping timeout: 252 seconds]
pierpal has joined #racket
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
pierpal has quit [Ping timeout: 250 seconds]
buyfn has joined #racket
<lexi-lambda> jcowan: If they really were free, they would be unbound, and free-identifier=? wouldn’t mean anything (it would just be the same as comparing the identifiers symbolically).
<lexi-lambda> zakora: According to http://docs.racket-lang.org/net/sendurl.html#%28def._%28%28lib._net%2Fsendurl..rkt%29._external-browser%29%29, on Unix, the browser launched will look at the 'external-browser preference.
<lexi-lambda> zakora: It looks like you can set the preference with `put-preferences`: http://docs.racket-lang.org/reference/Filesystem.html#%28def._%28%28lib._racket%2Ffile..rkt%29._put-preferences%29%29
<rudybot> <!DOCTYPE html> <NEWLINE> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <NEWLINE> <head> <NEWLINE> <meta name="viewport" content="width=device-width, initial-scale=1"/> <NEWLINE> <meta charset="utf-8"/> <NEWLINE> <title>Gimme URL, You</title> <NEWLINE> <link rel="icon" type="image/png" href="/static/pawprint.png" /> <NEWLINE> <NEWLINE> <!-- Bootstrap core CSS --> <NEWLINE> <link href="//oss.
orivej has joined #racket
<jcowan> lexi-lambda:true
DGASAU has quit [Ping timeout: 264 seconds]
pierpal has joined #racket
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
pierpal has quit [Read error: Connection reset by peer]
DGASAU has joined #racket
pierpal has joined #racket
<zakora> lexi-lambda, awesome, thank you!
Yaargh has joined #racket
<Yaargh> can i change the display to decimal, instead of fractions
<Yaargh> in the stepper?
buyfn has quit [Read error: Connection reset by peer]
<dzoe> Yaargh: (inexact->exact fraction) is probably what you are looking for
buyfn has joined #racket
<Yaargh> dzoe seems to work for the interpreter, but not the stepper
<Yaargh> thanks though
pierpal has quit [Ping timeout: 250 seconds]
pierpal has joined #racket
pierpal has quit [Read error: Connection reset by peer]
jrslepak has joined #racket
rand__ has joined #racket
orivej has quit [Ping timeout: 240 seconds]
confusedwanderer has quit [Remote host closed the connection]
rudybot has quit [Read error: Connection reset by peer]
rudybot has joined #racket
DGASAU has quit [Ping timeout: 260 seconds]
libertyprime has joined #racket
buyfn has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
buyfn has joined #racket
buyfn has quit [Client Quit]
acarrico has quit [Ping timeout: 260 seconds]
Yaargh has quit [Quit: Going offline, see ya! (www.adiirc.com)]
rnmhdn has quit [Ping timeout: 272 seconds]
zakora has quit [Quit: WeeChat 2.2]
ubLIX has quit [Quit: ubLIX]
<lavaflow> I'm a bit confused with parameters and racket/gui
<lavaflow> I'm doing: (parameterize ([sqldb (connect "test.db")]) (new-search-frame))
<lavaflow> I expect (sqldb) to resolve in functions called by that search-frame created by (new-search-frame) to be the sqlite connection created by (connect ...)
<lavaflow> but when I run it, the actual result is null (which is the default value of that parameter)
<lavaflow> parameters should go across module boundaries, right? so is there anything special going on with dynamic scope and racket/gui?
<lavaflow> my parameter is defined thusly in headspace-sql.rkt which is where it's also used (but not where it's set): (define sqldb (make-parameter null))
<lavaflow> this is the first line that errors out, also from headspace-sql.rkt: (define (prepared sql) (hash-ref! prepared-sql-cache sql (thunk (prepare (sqldb) sql))))
<lavaflow> hmm, could this be because of the thunk? is (sqldb) getting called there when the module is first initialized, not when that function is first run?
davidl has quit [Ping timeout: 245 seconds]
rand__ has quit [Ping timeout: 268 seconds]
<lavaflow> no that doesn't seem to be it
mzan has quit [Read error: Connection reset by peer]
<lavaflow> yeah I'm stumped. it sure seems like when I create a new frame% it gets a brand new dynamic scope, resetting parameters to their default values.
<lavaflow> the docs suggest that shouldn't be happening though, at least here: https://docs.racket-lang.org/gui/windowing-overview.html?q=frame%25#%28part._currenteventspace%29
<lavaflow> I must be missing something, I'll keep at it..
Sgeo_ has joined #racket
Sgeo has quit [Ping timeout: 250 seconds]
g00s has joined #racket