samth changed the topic of #racket to: Racket v7.3 has been released: https://blog.racket-lang.org/2019/05/racket-v7-3.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
wingsorc has joined #racket
keep_learning_M has quit [Quit: This computer has gone to sleep]
notzmv has joined #racket
vraid has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 264 seconds]
acarrico has quit [Ping timeout: 268 seconds]
wingsorc has quit [Quit: Leaving]
Sgeo_ has joined #racket
Sgeo has quit [Ping timeout: 245 seconds]
jao has quit [Ping timeout: 244 seconds]
dddddd has quit [Remote host closed the connection]
endobson_ has joined #racket
endobson has quit [Ping timeout: 258 seconds]
BSLANG has quit [Quit: %Good bye!%]
BSLANG has joined #racket
ZombieChicken has joined #racket
Sgeo_ has quit [Read error: Connection reset by peer]
englishm has quit [Excess Flood]
englishm has joined #racket
Sgeo_ has joined #racket
Arcaelyx has quit [Ping timeout: 245 seconds]
BSLANG has quit [Quit: %Good bye!%]
endobson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
englishm has quit [Excess Flood]
englishm has joined #racket
manualcrank has quit [Quit: WeeChat 1.9.1]
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
sagax has joined #racket
endobson has joined #racket
Jeanne-Kamikaze has quit [Quit: Leaving]
_whitelogger has joined #racket
keep_learning_M has joined #racket
orivej has joined #racket
endformationage has quit [Ping timeout: 272 seconds]
clacke_movim has left #racket [#racket]
orivej has quit [Ping timeout: 248 seconds]
clacke_movim has joined #racket
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
miskatonic has joined #racket
GoldRin has quit [Read error: Connection reset by peer]
<lavaflow> The effect of these two queries is different, and I don't understand why:
<lavaflow> (query-exec (sqldb-param) "UPDATE OR IGNORE TagCardinalities SET cardinality = cardinality + $3 WHERE a=min($1,$2) and b=max($1,$2)" 494 1822 1)
<lavaflow> (query-exec (sqldb-param) "UPDATE OR IGNORE TagCardinalities SET cardinality = cardinality + 1 WHERE a=min(494,1822) and b=max(494,1822)")
<lavaflow> As far as I understand, they should be making the same change to the db, but I see the first update making changes to rows that seem unrelated
<lavaflow> it seems like either there is something screwy in the racket db library, or in sqlite, or my understanding of how this works is flawed.
ermo has joined #racket
<lavaflow> for now, swapping out the $[digit] notation with the ? notation and repeated arguments gives me the expected behavior. but now I'm twice as curious about what's going on here.
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 268 seconds]
orivej has joined #racket
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 245 seconds]
vraid has joined #racket
ZombieChicken has quit [Ping timeout: 272 seconds]
ZombieChicken has joined #racket
keep_learning_M has quit [Quit: This computer has gone to sleep]
FreeFull has quit []
zipper has joined #racket
orivej has joined #racket
efm has quit [Ping timeout: 272 seconds]
efm has joined #racket
dharog has joined #racket
Lowl3v3l has quit [Quit: Leaving.]
dddddd has joined #racket
dharog has quit [Ping timeout: 245 seconds]
miskatonic has quit [Remote host closed the connection]
moldybits has quit [Quit: WeeChat 2.4]
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #racket
efm has quit [Quit: Konversation terminated!]
efm has joined #racket
zipper has quit [Ping timeout: 245 seconds]
zipper has joined #racket
iyzsong has joined #racket
zipper has quit [Ping timeout: 272 seconds]
dharog has joined #racket
zipper has joined #racket
zipper has quit [Ping timeout: 246 seconds]
dharog has quit [Quit: WeeChat 2.2]
<m1dnight_> This might be a stupid question, but how can I specify the order of defines in racket? https://exbin.call-cc.be/RalliesTabernacle
<m1dnight_> I'm trying to do this, but it refers to the second definition of apply in the first line, instead of the built-in one.
<m1dnight_> (I'm porting some R5RS code)
acarrico has joined #racket
<vraid> m1dnight_: defines in a module behave similarly to letrec afaik, in that they can all access eachother
<vraid> since apply will be shadowed in the entire module, you could define old-apply in a separate module
Sgeo__ has quit [Read error: Connection reset by peer]
Sgeo__ has joined #racket
<J_Arcane> anyone here know Megaparsack?
zipper has joined #racket
<J_Arcane> Am experiencing unexpected behavior in integer/p and want to make sure I'm not just misunderstanding something before filing an issue
jao has joined #racket
zipper has quit [Ping timeout: 246 seconds]
zipper has joined #racket
jao has quit [Ping timeout: 246 seconds]
dustyweb has joined #racket
Lowl3v3l has joined #racket
efm has quit [Quit: Konversation terminated!]
zipper has quit [Quit: WeeChat 2.5]
efm has joined #racket
GoldRin has joined #racket
manualcrank has joined #racket
dustyweb has quit [Ping timeout: 244 seconds]
Arcaelyx has joined #racket
<lexi-lambda> J_Arcane: feel free to ask
<J_Arcane> lexi-lambda: so I have this problem with the integer/p parser. Writing a JSON parser, and my number handling has some weird cases because it turns out integer/p doesn't fail if there's extra characters on the end?
<J_Arcane> ie `(parse-string integer/p "345dave")` just happily returns "354"
<J_Arcane> *345
<J_Arcane> and actually, I have the same problem even doing something like `(many+/p digit/p)`, so I'm wondering if I'm just not understanding how `many+/p` is supposed to work
BSLANG has joined #racket
efm has quit [Ping timeout: 245 seconds]
ZombieChicken has quit [Ping timeout: 245 seconds]
<lexi-lambda> J_Arcane: sure, that’s intentional. integer/p parses an integer from the front of the input stream, nothing more. if you want to parse an integer followed by whitespace, then parse integer/p followed by space/p.
<lexi-lambda> if you want to make sure the whole string is an integer, parse integer/p followed by eof/p.
efm has joined #racket
jcowan has joined #racket
<lexi-lambda> m1dnight_: you want (require (only-in racket/base [apply old-apply]))
<J_Arcane> lexi-lambda: ahh, OK. I had actually experimented with doing some version that followed it with space/p but it seemed hacky. I follow now though, and I guess I'll have to be more explicit
<lexi-lambda> megaparsack can’t assume that you want a delimiter after parsing something because it doesn’t know what the delimiter would be
<J_Arcane> Yah. I guess I was expecting something more like the Haskell parser I'm porting.
<lexi-lambda> what Haskell parser are you using?
<J_Arcane> My own, built on top of the mini parser combinator library from the Hutton book
<lexi-lambda> ah
<J_Arcane> Mostly I just wanted to try something "real-world-ish" to get the hang of the library before I start my real project, which is a parser for a new Heresy syntax
dustyweb has joined #racket
badkins has joined #racket
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
endformationage has joined #racket
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 245 seconds]
vraid has quit [Quit: Leaving]
endobson has joined #racket
pera has joined #racket
dustyweb has quit [Remote host closed the connection]
dustyweb has joined #racket
ziyourenxiang_ has quit [Ping timeout: 245 seconds]
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
dharog has joined #racket
orivej has quit [Ping timeout: 272 seconds]
Sgeo_ has quit [Read error: Connection reset by peer]
Sgeo_ has joined #racket
pera has quit [Ping timeout: 258 seconds]
asumu has quit [Quit: Lost terminal]
efm has quit [Read error: Connection reset by peer]
efm has joined #racket
dharog has quit [Ping timeout: 245 seconds]
pera has joined #racket
ubLIX has joined #racket
sauvin has quit [Read error: Connection reset by peer]
efm has quit [Quit: Konversation terminated!]
acarrico has quit [Ping timeout: 244 seconds]
dharog has joined #racket
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dddddd has quit [Ping timeout: 272 seconds]
dddddd has joined #racket
orivej has joined #racket
_whitelogger has joined #racket
miskatonic has joined #racket
jao has joined #racket
dharog has quit [Quit: WeeChat 2.2]
jao has quit [Ping timeout: 245 seconds]
jrslepak has quit [Quit: leaving]
dddddd has quit [Ping timeout: 244 seconds]
dddddd has joined #racket
Arcaelyx has quit [Ping timeout: 258 seconds]
jrslepak has joined #racket
FreeFull has joined #racket
acarrico has joined #racket
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 248 seconds]
lavaflow has quit [Quit: WeeChat 2.4]
lavaflow has joined #racket
ym555 has joined #racket
jao has joined #racket
ubLIX has quit [Quit: ubLIX]
orivej has quit [Ping timeout: 245 seconds]
ym555 has quit [Ping timeout: 245 seconds]
ym555 has joined #racket
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
dustyweb has quit [Ping timeout: 245 seconds]
badkins has quit [Remote host closed the connection]
jao has quit [Ping timeout: 246 seconds]
`micro has quit [Ping timeout: 245 seconds]
`micro has joined #racket
Arcaelyx has joined #racket
badkins has joined #racket
badkins has quit [Remote host closed the connection]
Lowl3v3l has quit [Quit: Leaving.]