00:11 (quit) mithos28: Quit: mithos28 00:14 (quit) shofetim: Ping timeout: 276 seconds 00:31 (join) dsrguru 00:31 dsrguru: does racket have built-in support for partial function application? 00:32 dsrguru: something like (define (left-section proc larg) (lambda (rarg) (proc larg rarg))) 00:32 jonrafkind: yea, curry 00:32 jonrafkind: http://docs.racket-lang.org/reference/procedures.html?q=curry#(def._((lib._racket/function..rkt)._curry)) 00:33 jonrafkind: its not built into the language like in haskell or ML though 00:33 dsrguru: k 00:33 dsrguru: I think of currying in haskell as just a way to express multiparameter functions as single parameter functions to make the type system work 00:34 dsrguru: but I guess currying really just is partial function application 00:34 dsrguru: thanks 00:35 jonrafkind: are you sure haskell's type system can only deal with single arity functions? 00:36 dsrguru: if memory serves 00:36 dsrguru: yes 00:36 dsrguru: f x y = x * y 00:36 jonrafkind: seems strange to me, but whatever 00:36 dsrguru: would be typed 00:36 dsrguru: as 00:36 dsrguru: f :: Integer -> Integer -> Integer 00:37 jonrafkind: right 00:37 dsrguru: which means 00:37 dsrguru: f :: (Integer -> Integer) -> Integer 00:37 dsrguru: a function 00:37 dsrguru: or sorry 00:37 dsrguru: f :: Integer -> (Integer -> Integer) 00:37 dsrguru: right associative 00:37 dsrguru: so f is a function 00:37 dsrguru: that takes an Integer 00:37 dsrguru: as its input 00:37 dsrguru: and its output is a function 00:37 dsrguru: which itself maps an Integer to an Integer 00:38 dsrguru: but the currying is done automatically so you could write f 3 4 00:38 dsrguru: to get 12 00:38 dsrguru: instead of (f 3) 4 00:39 dsrguru: does racket's curry function let you do something like: 00:39 dsrguru: (define (right-section (proc rarg) (lambda (larg) (proc larg rarg)))) 00:40 dsrguru: oh curryr 00:40 dsrguru: RingTFM works well 00:43 (quit) Lajla: Ping timeout: 250 seconds 00:49 (quit) dsrguru: Quit: leaving 01:03 (join) racket 01:03 racket: [racket] plt pushed 1 new commit to master: http://bit.ly/rk6J3Q 01:03 racket: [racket/master] cleaned up the generated code for -> and friends - Robby Findler 01:03 (part) racket 01:10 (quit) dherman: Quit: dherman 01:18 (quit) misterm: Read error: No route to host 01:23 (join) dherman 01:24 (quit) asumu: Read error: Connection reset by peer 01:25 (join) Lajla 01:25 (join) asumu 01:26 (join) gf3 01:26 gf3: hello all 01:27 gf3: I'm having an issue with include-template (from web-server/templates) 01:28 gf3: it seems to only be working for me if I pass it a string literal 01:28 gf3: if I pass it an expression, it barfs on me 01:29 gf3: the docs simply state that it requires a path: http://docs.racket-lang.org/web-server/templates.html#(part._.A.P.I_.Details) 01:30 jonrafkind: what sort of expression 01:31 gf3: jonrafkind: anything other than a string literal 01:32 jonrafkind: an expression that creates a string? 01:33 (quit) dnolen_: Quit: dnolen_ 01:33 gf3: jonrafkind: yes 01:33 gf3: jonrafkind: screenshot: http://cloud.gf3.ca/8Sfv 01:34 jonrafkind: i guess it wants a module path 01:34 jonrafkind: so it has to be a string basically 01:35 gf3: hmm, that is unfortunate 01:35 jonrafkind: maybe that restriction shouldn't exist though.. can you submit a bug report about it? 01:36 gf3: sure thing, thanks for the help 01:38 gf3: jonrafkind: where do I submit the bug report? 01:38 jonrafkind: either through drracket or bugs.racket-lang.org 01:39 (quit) mario-goulart: Read error: Connection reset by peer 01:39 (join) mario-go` 01:39 gf3: ahh great, thanks 01:50 (quit) asumu: Read error: No route to host 01:53 gf3: jonrafkind: posted: http://bugs.racket-lang.org/query/?cmd=view&pr=12046 01:53 gf3: thanks! 01:53 jonrafkind: sure 02:36 (quit) jonrafkind: Read error: Operation timed out 03:00 (quit) didi: Quit: ERC Version 5.3 (IRC client for Emacs) 03:23 (join) egnarts-ms 03:29 (join) cmpitg 03:29 (join) racket 03:29 racket: [racket] plt pushed 1 new commit to master: http://bit.ly/nQq7xc 03:29 racket: [racket/master] Standartize the vocabulary to "the function returns" and "set! mutates" - Guillaume Marceau 03:29 (part) racket 03:36 (join) racket 03:36 racket: [racket] plt pushed 1 new commit to master: http://bit.ly/raHoVN 03:36 racket: [racket/master] Roll back the "expr -> expression" change in the grammar documentation of the - Guillaume Marceau 03:36 (part) racket 03:37 (quit) dherman: Quit: dherman 03:40 (join) ohwow- 03:43 (join) noelwelsh 04:02 (quit) egnarts-ms: Quit: Page closed 04:06 (join) tfb 04:22 (quit) cmpitg: Read error: Connection reset by peer 04:45 (join) mceier 04:46 _p4bl0: http://shop.kernelconcepts.de/product_info.php?cPath=1_26&products_id=141&osCsid= 04:46 rudybot: http://tinyurl.com/692ge2o 04:46 _p4bl0: oups 04:46 _p4bl0: sorry 04:47 _p4bl0: wrong paste 05:02 (join) masm 05:10 ohwow-: Hello, when I send 'rotate to DC, it rotates the whole image, is it possible to rotate the stuff which is drawn after rotation? 05:10 ohwow-: like in OpenGL glRotatef? 06:12 (quit) Penten: Remote host closed the connection 06:30 (join) cmpitg 06:44 (join) didi 06:57 (quit) cmpitg: Read error: Connection reset by peer 07:00 (quit) didi: Quit: ERC Version 5.3 (IRC client for Emacs) 07:01 (nick) mario-go` -> mario-goulart 07:08 (part) snorble 07:14 (join) snorble 07:19 (join) didi 07:24 (quit) ohwow-: Read error: Connection reset by peer 07:46 (quit) svk_: Ping timeout: 252 seconds 07:51 (quit) snorble: Ping timeout: 240 seconds 07:54 (quit) ISF: Ping timeout: 240 seconds 07:55 (join) svk_ 07:55 (quit) littlebobby: Quit: Ex-Chat 08:08 (quit) janne: Ping timeout: 240 seconds 08:09 (join) janne 08:19 (quit) Lajla: Read error: Connection reset by peer 08:19 (join) Lajla 08:27 (join) shofetim 08:33 (join) cpach 08:40 (part) shofetim: "ERC Version 5.3 (IRC client for Emacs)" 09:00 (join) mithos28 09:10 (join) racket 09:10 racket: [racket] plt pushed 1 new commit to master: http://bit.ly/p3tRep 09:10 racket: [racket/master] fix bug introduced in recent refactor - Robby Findler 09:10 (part) racket 09:13 didi: I think there might be a correction to be made on "Continue: Web Applications in Racket". 09:14 didi: Just before the SQL section, it's told to use (build-path (current-directory) "the-blog-data.db") to set the path to the DB. 09:14 didi: But once inside `start', the current path is changed. 09:15 didi: Also, to a location that normal users (Linus here) don't have permissions. 09:15 didi: s/Linus/Linux 09:30 (join) snorble 09:34 (join) grettke 10:07 (quit) didi: Quit: ERC Version 5.3 (IRC client for Emacs) 10:09 (join) lucian 10:20 (nick) samth_away -> samth 10:32 (quit) grettke: 10:38 (join) anRch 10:38 (join) ryoko-sha 10:59 (join) cmpitg 11:05 (quit) lucian: Remote host closed the connection 11:09 (quit) cmpitg: Read error: Connection reset by peer 11:11 (part) dnolen 11:12 (part) cpach 11:13 (join) cmpitg 11:25 (join) dherman 11:31 danking: Isn't there a way to use syntax-rules or syntax-case patterns to discern between symbols and numbers? 11:34 samth: danking: if you want directly in the pattern language, you should use `syntax-parse' 11:34 samth: otherwise, this works: (syntax-case stx () [foo (number? (syntax-e #'foo)) ...] [_ ...]) 11:35 stamourv: +1 to syntax-parse, it's awesome. 11:35 stamourv: I haven't used syntax-case since. 11:40 danking: samth: thanks 11:49 (quit) noelwelsh: Quit: noelwelsh 11:56 (quit) anRch: Quit: anRch 11:58 (join) jonrafkind 12:02 (join) anRch 12:21 (join) asumu 12:25 (join) racket 12:25 racket: [racket] plt pushed 2 new commits to master: http://bit.ly/ojYQWc 12:25 racket: [racket/master] fixed bug in exception handling for drawing; Closes PR 12044 - Matthias Felleisen 12:25 racket: [racket/master] documented error reporting functions - Matthias Felleisen 12:25 (part) racket 12:27 (quit) tfb: Read error: Connection reset by peer 12:34 (quit) anRch: Quit: anRch 12:36 (quit) cmpitg: Ping timeout: 276 seconds 12:52 (part) ryoko-sha 13:08 stamourv: rudybot: later tell didi Could you file a bug report for that DB location problem? 13:08 rudybot: minion: memo for didi: stamourv told me to tell you: Could you file a bug report for that DB location problem? 13:13 jonrafkind: stamourv, you know about all the 'TR missed opts' during raco setup, right? 13:16 (quit) stamourv: Read error: Connection reset by peer 13:16 (join) stamourv 13:16 jonrafkind: stamourv, you know about all the 'TR missed opts' during raco setup, right? 13:17 samth: stamourv: rudybots later functionality doesn't work in #racket 13:17 stamourv: jonrafkind: If warnings are activated, TR spits out performance debugging info, that's by design. 13:17 stamourv: Is that a problem? 13:18 jonrafkind: ah I see, I forgot that I had warnings enabled 13:18 stamourv: samth: Oh, I see, minion's not in this channel 13:18 jonrafkind: it would be nice if it said '[warning]' or something so its obvious its from a logger.. 13:18 samth: it's kind of a low-rent implementation by rudybot 13:19 stamourv: jonrafkind: Well, it does say that it's a message from TR's optimizer, and you explicitly turned logging on. What more do you want? 13:19 jonrafkind: its hard to differentiate between a warning and a forgotten printf 13:20 (join) lucian 13:20 stamourv: Sure, but you're turning on warnings, so it's normal to see more output than usual. 13:21 stamourv: I'm not sure I understand your point. 13:21 jonrafkind: ugh.. how do I know what messages are enabled by warnings and which are always there becuase of some printf? 13:21 stamourv: You turn off warnings? 13:22 jonrafkind: yes, thats one solution. an awful one, imo 13:22 stamourv: So what do you want me to do? 13:22 stamourv: And why do you need to distinguish between warnings and stray printfs? 13:22 samth: you set up a logger that sends warnings somewhere else? 13:23 (join) didi 13:25 stamourv: didi: Could you file a bug report for that DB location problem? 13:26 didi: stamourv: Sure. Where do I report it? 13:27 samth: bugs.racket-lang.org 13:27 didi: Thanks. 13:32 (quit) dherman: Quit: dherman 13:46 (join) anRch 14:50 (join) racket 14:50 racket: [racket] plt pushed 1 new commit to master: http://bit.ly/p36UvY 14:50 racket: [racket/master] adjusted expected error messages to accommodate Stephen's change - Matthias Felleisen 14:50 (part) racket 15:06 (join) racket 15:06 racket: [racket] plt pushed 63 new commits to master: http://bit.ly/o9hbPz 15:06 racket: [racket/master] Added a button for the performance report tool when in a typed language. - Vincent St-Amour 15:06 racket: [racket/master] Relocate TR logging capture. - Vincent St-Amour 15:06 racket: [racket/master] Report optimizations and missed optimizations with the DrRacket tool. - Vincent St-Amour 15:06 (part) racket 15:09 (join) racket 15:09 racket: [racket] plt pushed 1 new commit to master: http://bit.ly/ppHU5h 15:09 racket: [racket/master] create hash codes for place shared objects - Kevin Tew 15:09 (part) racket 15:12 (join) dherman 15:14 (quit) dherman: Client Quit 15:16 (quit) anRch: Quit: anRch 16:04 rapacity: rudybot: (number? +nan.0) 16:04 rudybot: rapacity: your sandbox is ready 16:04 rudybot: rapacity: ; Value: #t 16:08 (join) misterm 16:12 (join) dherman 16:23 (quit) rekahsoft: Write error: Broken pipe 16:23 (join) rekahsoft 16:39 danking: Suppose I want an ordering of symbols, can I do that directly, or must I convert to strings or something? I don't care what the order is, as long as its total over the symbols and that if (eq? x x) then (not (< x x)) 16:46 (join) racket 16:46 racket: [racket] plt pushed 1 new commit to master: http://bit.ly/ndwCH1 16:46 racket: [racket/master] macro-stepper: disable taint display until correct - Ryan Culpepper 16:46 (part) racket 17:03 (join) cky_ 17:07 (join) tzhuang 17:07 (quit) cky: *.net *.split 17:18 (nick) elliottcable -> ec|fkn_away_nick 17:27 (join) ISF 17:39 (quit) lucian: Remote host closed the connection 17:46 (quit) cky_: Changing host 17:46 (join) cky_ 17:46 (nick) cky_ -> cky 17:54 (quit) mceier: Quit: leaving 18:00 (quit) dherman: Quit: dherman 18:28 (join) bmp 18:30 (quit) bmp: Client Quit 18:30 (join) bmp 18:45 (join) bluezenix1 18:48 (quit) ISF: Ping timeout: 240 seconds 18:51 (quit) bluezenix1: Ping timeout: 252 seconds 19:10 (join) bluezenix 19:10 (quit) masm: Ping timeout: 240 seconds 19:13 (join) ISF 19:24 (quit) bmp: Quit: Leaving... 19:36 eli: danking: (sort '(s y m b o l s) stringstring #:cache-keys? #t) 19:37 (quit) didi: Ping timeout: 276 seconds 20:08 (quit) bluezenix: Quit: Leaving. 20:11 (join) bluezenix 20:25 (join) bmp 20:33 (quit) jonrafkind: Read error: Operation timed out 20:52 svk_: Is there a way to run applications embedding racket under valgrind, possibly ignoring the internal racket stuff? Running it normally it seems to quit on an invalid read almost immediately 20:57 (join) saint_cypher 20:58 (quit) saint_cypher: Client Quit 21:00 (quit) mithos28: Quit: mithos28 21:04 svk_: Oh, --vex-iropt-precise-memory-exns=yes helps quite a bit 21:07 (quit) bmp: Quit: Leaving... 21:08 (join) bmp 21:15 (quit) bluezenix: Quit: Leaving. 21:22 (join) mithos28 21:30 (quit) bmp: Quit: Bye! 22:16 (join) neilv 22:18 (join) racket 22:18 racket: [racket] plt pushed 6 new commits to master: http://bit.ly/oTvEoZ 22:18 racket: [racket/master] clarification - Matthew Flatt 22:18 racket: [racket/master] allow larger font sizes --- up to 1024 - Matthew Flatt 22:18 racket: [racket/master] fix docs to clarify that `#%expression' appears from local-expand - Matthew Flatt 22:18 (part) racket 22:20 (join) cmpitg 22:26 (join) racket 22:26 racket: [racket] plt pushed 3 new commits to master: http://bit.ly/pohJoz 22:26 racket: [racket/master] fix a bug in the arity checking for contracts - Robby Findler 22:26 racket: [racket/master] typo - Robby Findler 22:26 racket: [racket/master] made the htdp lang's executable creation code use the modules that - Robby Findler 22:26 (part) racket 22:31 (quit) cmpitg: Quit: leaving 23:11 (quit) neilv: Ping timeout: 255 seconds 23:24 (quit) tzhuang: Ping timeout: 276 seconds