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
<bremner> I'm not really a macro expert, but if you paste your code to e.g. pasterack.org, maybe somebody has some hints
<bremner> sobhan: I was thinking the whole let would be in a macro context.
<bremner> so make your own e.g. K-let macro /
<sobhan> :|
JoshS has quit [Quit: Leaving]
<sobhan> i see...
<sobhan> thanks!!
<bremner> good luck
<sobhan> thanks i'll need it :P
<sobhan> any idea what this means?? unsyntax-splicing: unbound identifier;
<sobhan> also, no #%app syntax transformer is bound in: unsyntax-splicing
FreeFull has quit [Remote host closed the connection]
<sobhan> cool, #' isn't quasisyntax
pera has quit [Ping timeout: 250 seconds]
acarrico has quit [Ping timeout: 240 seconds]
pie__ has quit [Remote host closed the connection]
pie__ has joined #racket
<sobhan> can i macro step my expander?
FreeFull has joined #racket
ubLIX has quit [Quit: ubLIX]
acarrico has joined #racket
ng0 has quit [Remote host closed the connection]
ng0 has joined #racket
Arcaelyx has quit [Quit: Textual IRC Client: www.textualapp.com]
<sobhan> shoot i have to provide the syntax...
keep_learning has joined #racket
keep_learning has quit [Client Quit]
endformationage has joined #racket
notzmv has quit [Ping timeout: 240 seconds]
notzmv has joined #racket
ng0 has quit [Quit: Alexa, when is the end of world?]
iyzsong has joined #racket
keep_learning has joined #racket
keep_learning has quit [Remote host closed the connection]
keep_learning has joined #racket
acarrico has quit [Ping timeout: 250 seconds]
badkins has quit [Remote host closed the connection]
_apg has joined #racket
orivej has quit [Ping timeout: 240 seconds]
_whitelogger has joined #racket
lose has joined #racket
pierpal has joined #racket
rnmhdn has joined #racket
JoshS has joined #racket
JoshS has quit [Client Quit]
JoshS has joined #racket
notzmv has quit [Ping timeout: 268 seconds]
g00s has joined #racket
notzmv has joined #racket
rnmhdn has quit [Ping timeout: 250 seconds]
iyzsong has quit [Read error: Connection reset by peer]
iyzsong has joined #racket
lose has quit [Ping timeout: 250 seconds]
dddddd has quit [Remote host closed the connection]
iyzsong has quit [Ping timeout: 268 seconds]
pie___ has joined #racket
rnmhdn has joined #racket
pie__ has quit [Ping timeout: 250 seconds]
jao has quit [Ping timeout: 245 seconds]
rnmhdn has quit [Ping timeout: 250 seconds]
FreeFull has quit []
endformationage has quit [Ping timeout: 250 seconds]
meepdeew has quit [Remote host closed the connection]
_whitelogger has quit [Ping timeout: 250 seconds]
_whitelogger has joined #racket
JoshS has quit [Remote host closed the connection]
JoshS has joined #racket
YuGiOhJCJ has joined #racket
JoshS has quit [Remote host closed the connection]
JoshS has joined #racket
rnmhdn has quit [Ping timeout: 250 seconds]
notzmv has quit [Quit: WeeChat 2.3]
rnmhdn has joined #racket
notzmv has joined #racket
g00s has quit [Quit: Textual IRC Client: www.textualapp.com]
rnmhdn has quit [Ping timeout: 245 seconds]
_whitelogger has joined #racket
orivej has joined #racket
lockywolf__ has joined #racket
rnmhdn has joined #racket
notzmv has quit [Ping timeout: 250 seconds]
notzmv has joined #racket
mzan has joined #racket
ng0 has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
lockywolf__ has quit [Remote host closed the connection]
lockywolf__ has joined #racket
rnmhdn has quit [Ping timeout: 250 seconds]
orivej has quit [Read error: Connection timed out]
orivej has joined #racket
lockywolf__ has quit [Ping timeout: 246 seconds]
lockywolf_ has joined #racket
dddddd has joined #racket
lockywolf__ has joined #racket
lockywolf__ has quit [Max SendQ exceeded]
lockywolf__ has joined #racket
lockywolf_ has quit [Ping timeout: 246 seconds]
lockywolf__ has quit [Max SendQ exceeded]
lockywolf__ has joined #racket
lockywolf__ has quit [Remote host closed the connection]
lockywolf__ has joined #racket
acarrico has joined #racket
DGASAU has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
orivej has quit [Client Quit]
orivej has joined #racket
buyfn has joined #racket
notzmv has quit [Ping timeout: 250 seconds]
iyzsong has joined #racket
acarrico has quit [Ping timeout: 246 seconds]
notzmv has joined #racket
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #racket
_whitelogger has joined #racket
lockywolf__ has quit [Ping timeout: 246 seconds]
pie__ has joined #racket
pie___ has quit [Remote host closed the connection]
pierpal has quit [Remote host closed the connection]
rnmhdn has joined #racket
DGASAU has quit [Ping timeout: 272 seconds]
buyfn has quit [Quit: buyfn]
iyzsong has quit [Ping timeout: 252 seconds]
lockywolf has joined #racket
FreeFull has joined #racket
lose has joined #racket
orivej has quit [Ping timeout: 245 seconds]
pierpal has joined #racket
orivej has joined #racket
endformationage has joined #racket
buyfn has joined #racket
m1dnight_ has quit [Quit: WeeChat 2.3]
orivej_ has joined #racket
orivej has quit [Ping timeout: 272 seconds]
notzmv has quit [Ping timeout: 250 seconds]
ziyourenxiang has quit [Ping timeout: 240 seconds]
notzmv has joined #racket
pie___ has joined #racket
pie__ has quit [Remote host closed the connection]
buyfn has quit [Quit: buyfn]
acarrico has joined #racket
jao has joined #racket
lockywolf has quit [Ping timeout: 244 seconds]
buyfn has joined #racket
rnmhdn has quit [Ping timeout: 240 seconds]
rnmhdn has joined #racket
juanfra has quit [Quit: juanfra]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
juanfra has joined #racket
m1dnight_ has joined #racket
buyfn has quit [Quit: buyfn]
meepdeew has joined #racket
mzan has left #racket [#racket]
mceier has quit [Ping timeout: 244 seconds]
lose has quit [Ping timeout: 250 seconds]
m1dnight_ has quit [Quit: WeeChat 2.3]
notzmv has quit [Ping timeout: 272 seconds]
notzmv has joined #racket
pie___ has quit [Remote host closed the connection]
pie__ has joined #racket
dustyweb has quit [Remote host closed the connection]
pera has joined #racket
mceier has joined #racket
badkins has joined #racket
dustyweb has joined #racket
acarrico has quit [Ping timeout: 250 seconds]
pera has quit [Ping timeout: 250 seconds]
pierpal has quit [Ping timeout: 240 seconds]
zenspider has quit [Ping timeout: 246 seconds]
zenspider has joined #racket
audriu has joined #racket
audriu has quit [Quit: Leaving]
<lavaflow> On a fixnum, is exact->inexact isn't free, right? because a flonum requires an allocation?
<lavaflow> I'm trying to think of the fastest way to divide two fixnums and get a flonum result. casting one or both arguments to flonums first seems like it's two unnecessary allocations to me.
<lavaflow> well, if given a fixnum and a flonum, / produces a flonum so I would only need to cast one of the arguments. still though
rnmhdn has quit [Ping timeout: 250 seconds]
Shambles_ has joined #racket
Shambles_ has left #racket [#racket]
<jcowan> Nothing dealing with flonums is free in that sense
<jcowan> which is why almost all Schemes have terrible flonum performance unless they have trusted type declarations (as opposed to safety type declarations)
<lavaflow> I expect one allocation for the flonum result, but if I can get away with only that one allocation that'd be ideal I think.
<lavaflow> doing (apply * flo-lst) is WAY faster than (apply * exact-lst). I don't even see the need to reach for unsafe-fl* here
<lavaflow> but I think populating that flo-lst is the bigger bottleneck for me atm. I could amortize/memonize the allocation of those flonums, which might be what I end up doing, though it will be a bit invasive.
<jcowan> (/ (inexact a) b) where a and b are exact should have basically the same performance as (/ (inexact a) (inexact b)) but allocate less
<jcowan> If you don't need the precision you could use single-floats and save a lot of space
<lavaflow> yeah I'm considering using single precision. I don't think I actually need anything more and the space savings would probably be worth it
acarrico has joined #racket
evhan has joined #racket
notzmv has quit [Ping timeout: 245 seconds]
notzmv has joined #racket
davidl has quit [Quit: WeeChat 2.1]
mzan has joined #racket
<lavaflow> time-apply returns three values, CPU time, Real time, and GC time. GC time is included in CPU time. I presume the difference between real time and CPU time is time spent blocked on IO and similar
<lavaflow> so my question is, when calling into ffi things like sqlite, does that CPU time remain accurate? or is it counting IO time spent in sqlite towards CPU time?
evhan has quit [Quit: ZNC 1.6.5 - http://znc.in]
evhan has joined #racket
acarrico has quit [Ping timeout: 250 seconds]
<jcowan> lavaflow: Yes, it should, since SQLite runs in your own process
<jcowan> but if you call Oracle or Postgres or MySQL all bets are off
evhan has quit [Quit: ZNC 1.6.5 - http://znc.in]
orivej_ has quit [Ping timeout: 250 seconds]
evhan has joined #racket
cobax has quit [Ping timeout: 264 seconds]
<lavaflow> alright, thanks
orivej has joined #racket
<lf94> Looking at pi-calculus. Mind is pretty blown right now. It's like next-level lambda calculus. My question: Why do they call the channel inputs/outputs guards?
<lf94> To me they just seem like...communication actions
<lf94> or just "actions"
<lf94> Or I guess calling them "communications" is more accurate
orivej has quit [Ping timeout: 250 seconds]
orivej has joined #racket
JoshS has quit [Ping timeout: 250 seconds]
m1dnight_ has joined #racket
hjek has joined #racket
<winny> is there a way to get parserack to parse an input-port?
<winny> i only saw the parse-string feature
<winny> oh sorry, i was referring to megaparsack
cpup has quit [Quit: Breaking stuff]
cpup has joined #racket
notzmv has quit [Ping timeout: 250 seconds]
<lexi-lambda> winny: Not at the moment, no, but adding support for streaming input would be useful. Just keep in mind, however, that parsec’s backtracking model means that a lot of the stream often still needs to be kept in memory, since any use of try/p could cause the parser to eventually backtrack.
hjek has quit [Quit: Leaving.]
<winny> yeah, i was wondering if backtracking/peeking was why it's provided like that
<winny> i have to say, pretty pleasant experience using megaparsack and the data/* stuff. Clean and concise
pierpal has joined #racket
pera has joined #racket
pierpal has quit [Ping timeout: 246 seconds]