00:13 (quit) jrslepak: Quit: What happened to Systems A through E? 00:17 (quit) acarrico: Ping timeout: 244 seconds 00:25 (quit) Fare: Ping timeout: 246 seconds 00:32 (join) acarrico 00:41 (join) vkz 00:42 (join) nilyaK 01:04 (join) agam 01:13 (quit) vkz: Quit: vkz 01:22 (join) RacketCommitBot 01:22 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/IM1NoA 01:22 RacketCommitBot: [racket/master] macro-debugger: fix deriv parser for begin-for-syntax - Ryan Culpepper 01:22 RacketCommitBot: [racket/master] macro-debugger: improve internal error debugging support - Ryan Culpepper 01:22 RacketCommitBot: [racket/master] macro-debugger: workaround for instrumentation problem in provide - Ryan Culpepper 01:22 (part) RacketCommitBot 01:30 (join) vkz 01:39 (quit) em: Ping timeout: 246 seconds 01:41 (join) em 01:51 (quit) jeapostrophe: Ping timeout: 245 seconds 01:52 (quit) mithos28: Quit: mithos28 02:10 (join) Skola 02:42 (quit) yoklov: Quit: computer sleeping 03:08 (quit) jonrafkind: Ping timeout: 244 seconds 03:12 (join) _AlbireoX 03:21 (quit) AlbireoX: *.net *.split 03:23 (join) nilyaK1 03:25 (quit) vkz: Quit: vkz 03:25 (quit) nilyaK: Ping timeout: 265 seconds 03:33 (join) hkBst 03:33 (quit) hkBst: Changing host 03:33 (join) hkBst 03:40 (quit) djcb: Remote host closed the connection 03:56 (join) djcb 04:01 (quit) Skola: Quit: Lost terminal 04:26 (join) mceier 04:32 (join) bas_ 04:32 (nick) bas_ -> Skola 04:43 (quit) djcb: Remote host closed the connection 04:48 (join) ahinki 05:24 (join) gciolli 05:30 (join) lewis1711 05:30 lewis1711: http://rosettacode.org/wiki/Power_set#Racket if anyone can do a nicer job, please edit, I would not misrepresent this fine language :) 05:31 lewis1711: (or I will edit for you if you don't have an account) 05:36 mrcarrot: while i have not learned any racket or scheme yet, to me the Scheme solution seems to be more simple... 05:38 lewis1711: mrcarrot: scheme version works on lists, not sets. it would probably work in racket though 05:39 mrcarrot: okay 05:40 (quit) kvda: Quit: -___- 05:40 (join) kvda 05:42 mrcarrot: interesting that haskell has a ready function for this: subsequences from Data.List 05:47 (nick) nilyaK1 -> nilyaK 05:47 (quit) Shvillr: Read error: Connection reset by peer 05:50 (join) Shvillr 05:52 (quit) kvda: Quit: -___- 05:53 lewis1711: yes haskell does have a lot of useful predefined functions 05:53 lewis1711: many of which are trivial, but none the less handy 06:01 (quit) ivan\: Ping timeout: 246 seconds 06:04 (join) ivan\ 06:07 (join) kvda 06:08 (quit) ivan\: Ping timeout: 246 seconds 06:12 (join) nilyaK1 06:13 (join) rostayob 06:14 (quit) nilyaK: Ping timeout: 248 seconds 06:16 (join) ivan\ 06:48 (join) masm 06:51 (quit) rostayob: Quit: WeeChat 0.3.5 06:53 (quit) Nisstyre: Ping timeout: 265 seconds 06:58 (join) rostayob 07:16 (quit) rostayob: Quit: WeeChat 0.3.5 07:16 (join) rostayob 07:56 (quit) lewis1711: Read error: Connection reset by peer 08:04 (quit) nilyaK1: Ping timeout: 255 seconds 08:13 (join) lewis1711 08:20 (join) samth_ 08:21 (join) fasta_ 08:22 fasta_: When I open a certain file and press 'debug' on it, drracket uses 100% CPU and becomes completely unusable. Is drracket meant as some inside joke? 08:22 fasta_: It is a an extremely simple script (perhaps 100 lines or so). 08:23 fasta_: Then if I press C-c, I get an 'internal error' (user break). 08:23 fasta_: It is not an internal error, it is exactly what I asked for. 08:23 fasta_: Then I get a few contracts that are broken (so more bugs in the program). 08:24 fasta_: Again, is drracket meant as some kind of bad joke or is it only meant to get more research funding to give the illusion that you are creating something? 08:25 bremner: hey, way to open with hostility. 08:27 fasta_: I think I have tested it for the past 5 years or so and I have seen zero improvement. 08:27 fasta_: It might be that the internals have been optimized by 50%, but the GUI is still as bad (or worse) as ever. 08:28 fasta_: The 50% is a made up number. 08:28 (quit) gciolli: Ping timeout: 246 seconds 08:29 fasta_: How can I set the memory limit to something more ... modern? 08:29 fasta_: I would have expected it to find it under preferences, but no. 08:32 bremner: Racket -> Limit Memory 08:38 fasta_: Even with the very latest git version it still uses 100% CPU when apparently it is not doing anything. 08:38 (quit) kvda: Quit: x___x 08:43 fasta_: I suspect there is some algorithmic inefficieny in displaying a large number of variables. 08:43 fasta_: inefficiency 08:47 fasta_: bremner: are you saying that you use drracket? 08:53 (join) gciolli 09:25 bremner: fasta_: well, I used it enough to find that switch. I'm not really interested in a discussion on whether I think it is a "private joke" or not. 09:29 (quit) rostayob: Ping timeout: 260 seconds 09:29 mrcarrot: what is really racket-textual about? i can not find any information on the website that would tell some more 09:29 mrcarrot: is it racket without drracket gracket? 09:31 (join) Fare 09:31 bremner: drracket is an application running on gracket 09:32 bremner: gracket is racket + some more libraries (e.g. gtk) 09:33 mrcarrot: so what is then racket-textual? 09:33 bremner: don't know. Where do you find it? 09:34 mrcarrot: http://download.racket-lang.org/all-versions.html 09:34 chandler: racket-textual is racket without the GUI bits 09:34 bremner: oh, I never use the precompiled packages. So I suppose it's just racket, without some of the libs. 09:34 chandler: so, no drracket, no gracket, no slideshow, etc. 09:35 mrcarrot: i will have to compile and check... 09:38 (nick) noelw_away -> noelw 09:40 (join) jeapostrophe 09:40 (join) yoklov 09:44 (join) kanak 10:09 (quit) samth_: Ping timeout: 246 seconds 10:11 (join) Kaylin 10:19 (join) bmp 10:19 stamourv: eli: pong 10:20 (quit) yoklov: Quit: computer sleeping 10:21 (quit) Fare: Ping timeout: 246 seconds 10:21 (join) yoklov 10:26 (join) Nisstyre 10:30 (quit) yoklov: Quit: computer sleeping 10:36 (join) rostayob 10:40 (quit) jeapostrophe: Ping timeout: 260 seconds 10:41 (quit) dous: Remote host closed the connection 10:43 (join) jrslepak 10:44 Diarmid: mrcarrot: asumu mentioned this to me yesterday http://planet.plt-scheme.org/display.ss?package=parseq.plt&owner=bzlib it might be what you're looking for 10:47 Diarmid: mrcarrot: There's documentation on the home page link. 10:48 Kaylin: (define RE? (lambda x (helpfunction (car x) 0))) 10:48 Kaylin: why does this pass the helper function the entire list that x is? if I call for example (RE? `(l m n)) the entire list (l m n) is passed to helperfunction, I tested it many times, but I don't understand WHY (it's the behavior I want but it is confusing me) 10:49 (part) fasta_ 10:49 Kaylin thinks she screwed up some parentheses somewhere. 10:54 chandler: Kaylin: Compare (lambda x x) with (lambda (x) x) . 10:54 chandler: rudybot: eval (define foo (lambda x x)) 10:54 rudybot: chandler: your sandbox is ready 10:54 rudybot: chandler: Done. 10:54 chandler: rudybot: eval (foo 1 2 3) 10:54 rudybot: chandler: ; Value: (1 2 3) 10:55 chandler: rudybot: eval (foo '(1 2 3)) 10:55 rudybot: chandler: ; Value: ((1 2 3)) 10:55 Kaylin: ah ok, so I'm not totally crazy 10:55 Kaylin: (in this case) 10:56 Kaylin: thanks :) 11:02 (join) yoklov 11:02 mrcarrot: Diarmid: thanks, but that was not at all what i was looking for... 11:02 Diarmid: mrcarrot: I thought you were the one looking for the parsec-like parsing library. 11:03 mrcarrot: Diarmid: no, i was looking for something similar to acid-state... which is more like a "database" 11:03 Diarmid: Oh, sorry, it was rostayob. 11:03 rostayob: Diarmid: I think that was me :) 11:03 rostayob: yes 11:03 Diarmid: Did you see the link I mentioned? 11:04 mrcarrot: hello rostayob 11:04 Diarmid: rostayob: I've decided I rather like it. 11:04 rostayob: Diarmid: parsec or the racket parsec? 11:05 Diarmid: rostayob: The link was for Parseq (q instead of c this time) for Racket. 11:05 Diarmid: rostayob: http://planet.plt-scheme.org/display.ss?package=parseq.plt&owner=bzlib 11:06 rostayob: Diarmid: yeah I got that 11:07 Diarmid: rostayob: Combinator parsing seems to go nicely with combinator formatting, which certainly beats the tar out of Common Lisp style format strings. 11:07 (join) jeapostrophe 11:07 rostayob: Diarmid: I have no idea about the CL thing, but I believe you 11:09 Diarmid: rostayob: http://www.gigamonkeys.com/book/a-few-format-recipes.html The ones near the end will give you an idea of the 'problem'. They look sort of like regular expressions, but can have complex control flow too. They can be... rather difficult to read. 11:11 Diarmid: rostayob: I liked the http://synthcode.com/scheme/fmt library as a alternative. http://synthcode.com/scheme/irregex makes regular expressions quite a bit more readable to me. 11:15 rostayob: Diarmid: too many things, too little time :) 11:16 Diarmid: rostayob: I mostly end up fighting text and running command line programs, so this sort of thing ends up being important to me. 11:16 rostayob: yeah those things are often very important 11:16 rostayob: even if they look like details they take/add a lot of pain :) 11:21 (quit) Kaylin: Quit: Leaving. 11:24 (join) itasyno 11:25 (join) jldavis76 11:27 (quit) hkBst: Remote host closed the connection 11:27 (join) hkBst 11:27 (quit) hkBst: Changing host 11:27 (join) hkBst 11:33 (quit) jldavis76: Quit: Page closed 11:38 (quit) hkBst: Quit: Konversation terminated! 11:41 (join) anRch 11:47 (join) Fare 11:48 (quit) realitygrill: Quit: realitygrill 11:50 (quit) ahinki: Quit: ChatZilla 0.9.88.1 [Firefox 11.0/20120310173008] 12:04 (quit) jrslepak: Quit: This computer has gone to sleep 12:07 (quit) Skola: Ping timeout: 260 seconds 12:07 (quit) agam: Quit: Computer has gone to sleep 12:14 (join) Skola 12:15 (quit) anRch: Quit: anRch 12:17 (quit) Shviller: Ping timeout: 260 seconds 12:17 (join) Shviller 12:24 (join) sid0 12:24 sid0: hm, strange that racket's FFI doesn't support (_list o 0) 12:24 (join) anRch 12:28 sid0: (it should pass in null to the C function and return an empty list) 12:36 (join) agam 12:39 (join) kvda 12:41 (join) agam_ 12:42 (quit) agam: Ping timeout: 260 seconds 12:44 (join) jonrafkind 12:52 (quit) veer: Remote host closed the connection 12:55 (quit) yoklov: Quit: computer sleeping 12:58 (quit) kvda: Quit: x___x 12:59 (nick) noelw -> noelw_away 13:00 (quit) anRch: Quit: anRch 13:02 (quit) Fare: Ping timeout: 246 seconds 13:09 (join) yoklov 13:11 (quit) rostayob: Ping timeout: 272 seconds 13:18 (join) realitygrill 13:20 (join) asdfhjkl 13:20 (quit) agam_: Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/ 13:22 (quit) jeapostrophe: Read error: Operation timed out 13:25 (join) rostayob 13:27 (join) MayDaniel 13:33 sid0 considers submitting a pull request 13:34 stamourv: sid0: Cool, what about? 13:35 stamourv: Oh, sorry, it's obvious from scrollback. 13:35 stamourv: Yeah, that sounds cool. 13:35 stamourv: I don't know much about the FFI, but eli certainly does. 13:36 sid0: stamourv: Yeah, seems like a simple enough fix 13:40 (join) jeapostrophe 13:48 (quit) rostayob: Ping timeout: 252 seconds 13:58 (join) djcb 14:00 (quit) gciolli: Ping timeout: 246 seconds 14:04 (join) RacketCommitBot 14:04 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/woBk3A 14:04 RacketCommitBot: [racket/master] Clarifying what #lang web-server has - Jay McCarthy 14:04 (part) RacketCommitBot 14:12 (quit) yoklov: Quit: computer sleeping 14:19 (join) anRch 14:20 (join) Fare 14:21 gf3: hi gents, having an issue with the sandbox, I'm receiving the following error when trying to build a sandbox and eval some code: 14:21 gf3: file-exists?: `exists' access denied for /usr/lib/libcrypto.so 14:21 gf3: couldn't find much on the googles 14:35 (join) yoklov 14:42 (quit) djcb: Read error: Connection reset by peer 14:44 (join) djcb 15:02 (quit) anRch: Quit: anRch 15:04 (quit) itasyno: Ping timeout: 245 seconds 15:14 (join) GeneralMaximus 15:17 (join) itasyno 15:21 (quit) jeapostrophe: Ping timeout: 248 seconds 15:23 (join) jeapostrophe 15:23 (join) kvda 15:24 samth: gf3: probably the code you are running is using the sha1 library or something else that accesses libcrypto 15:24 (join) vkz 15:25 gf3: samth: I don't think it is 15:25 gf3: samth: I move my code to a different server, and suddenly I am receiving these errors 15:25 gf3: despite using the same version of racket 15:25 samth: oh, i know what's going on 15:25 samth: you probably haven't compiled some of the files 15:26 gf3: oh crap 15:26 samth: are you using drracket? 15:26 samth: b/c that tries to compile automatically 15:26 gf3 yells at sysadmin 15:26 gf3: samth: thanks I'll recompile and report back 15:26 samth: and it uses sha1 to compare files to see if they need to be compiled 15:27 gf3: samth: I am not using drracket 15:27 samth: gf3: can you submit a bug report about this -- the compiler ought not cause sandbox errors even in this case 15:27 gf3: samth: sure thing 15:28 gf3: samth: FWIW this is my sandbox → https://raw.github.com/gf3/protobot/master/sandboxed-ipc-repl.rkt 15:28 samth: i bet it's the planet package not being compiled, or some such 15:28 gf3: samth: I actually can't find the bug tracker 15:28 gf3: is it GH issues? 15:28 samth: no 15:29 samth: (but it will be soon) 15:29 samth: http://bugs.racket-lang.org/ 15:33 gf3: samth: thanks, and done 15:37 (quit) kvda: Quit: x___x 15:44 (join) dzhus 15:51 (quit) GeneralMaximus: Quit: Leaving 16:00 (join) rostayob 16:15 (nick) gf3 -> GoogleAndroid 16:15 (nick) GoogleAndroid -> gf3 16:23 (quit) vkz: Quit: vkz 16:23 lewis1711: does anyone know how "listof" and "vectorof" are implemented for contracts? wanting to write "setof" 16:26 stamourv: rudybot: doc set/c 16:26 rudybot: stamourv: your sandbox is ready 16:26 rudybot: stamourv: http://docs.racket-lang.org/reference/sets.html#(def._((lib._racket%2Fset..rkt)._set%2Fc)) 16:26 stamourv: lewis1711: ^ 16:27 lewis1711: *clicks* 16:30 lewis1711: oh. thanks stamourv. wondering why it uses a different naming convention though 16:31 samth: lewis1711: the difference between list/c and listof doesn't really have a counterpart for sets 16:38 (quit) Skola: Quit: Lost terminal 16:52 (quit) realitygrill: Quit: realitygrill 16:57 lewis1711: I was unaware of list/c forms and the like. useful info 16:57 (join) vkz 16:58 lewis1711: also I have decided that racket modules with type contracts hit the sweet spot for me as far as dynamic vs safety/static goes 17:04 chandler: samth: It wouldn't be particularly efficient, but why couldn't there be a `setof' contract? 17:06 (join) DanBurton 17:10 (quit) noelw_away: Ping timeout: 245 seconds 17:17 (join) kvda 17:24 sid0: hm, wonder why rackunit/text-ui's run-tests doesn't take multiple test suites as input but text/gui does 17:25 samth: chandler: which one are you thinking of 17:25 samth: set/c is like listof 17:26 chandler: Er, sorry. Is there any reaosn there couldn't be a set contract that acts like `list/c'? 17:26 chandler: "reason". Gah. 17:27 samth: chandler: as in, each specified element must be present? 17:29 (quit) kvda: Quit: x___x 17:29 (quit) lewis1711: Quit: Leaving. 17:35 (join) realitygrill 17:37 (quit) MayDaniel: 17:51 (join) nilyaK 18:12 (quit) jeapostrophe: Ping timeout: 248 seconds 18:16 (join) jrslepak 18:31 (quit) realitygrill: Quit: realitygrill 18:38 (quit) Fare: Ping timeout: 246 seconds 18:44 (join) realitygrill 18:47 (part) DanBurton 18:49 (nick) samth -> samth_away 18:57 (join) dnolen 19:04 (join) jeapostrophe 19:14 (quit) itasyno: Ping timeout: 246 seconds 19:19 (join) lewis1711 19:25 (quit) yoklov: Quit: computer sleeping 19:27 (join) antithesis 19:29 (quit) antithesis: Quit: yes leaving 19:33 (join) itasyno 19:35 (quit) dnolen: Quit: ERC Version 5.3 (IRC client for Emacs) 19:53 (quit) jeapostrophe: Ping timeout: 260 seconds 20:12 (join) neilv 20:12 (quit) neilv: Changing host 20:12 (join) neilv 20:14 (quit) nilyaK: Quit: Leaving. 20:17 (join) dous 20:26 (quit) dzhus: Remote host closed the connection 20:34 (quit) jonrafkind: Ping timeout: 260 seconds 20:34 (join) asurai 20:34 (quit) itasyno: Ping timeout: 246 seconds 20:35 (quit) bmp: Disconnected by services 20:35 (nick) asurai -> bmp 20:35 (join) jeapostrophe 20:42 (quit) jrslepak: Quit: This computer has gone to sleep 20:45 (quit) realitygrill: Quit: realitygrill 20:50 (join) itasyno 20:51 (quit) asdfhjkl: Quit: Leaving 20:56 (join) tyson1 20:57 (quit) tyson1: Client Quit 20:58 (join) tyson1 20:59 (quit) tyson1: Client Quit 21:09 (quit) mceier: Quit: leaving 21:10 (join) jrslepak 21:13 (join) yoklov 21:17 (quit) vkz: Quit: vkz 21:28 (quit) itasyno: Ping timeout: 246 seconds 21:29 (quit) lewis1711: Quit: Page closed 21:32 (quit) masm: Quit: Leaving. 21:37 (join) samth_ 21:47 (join) nilyaK 21:48 (quit) samth_: Ping timeout: 246 seconds 22:11 (quit) bmp: Quit: Leaving... 22:28 (join) vkz 22:36 (join) bmp 22:43 (join) nilyaK1 22:44 (quit) nilyaK: Disconnected by services 22:44 (nick) nilyaK1 -> nilyaK 22:45 (join) lewis1711 22:46 (join) Kaylin 22:54 (join) jonrafkind 23:01 (quit) vkz: Quit: vkz 23:24 lewis1711: just thought of a decent use for macros - an implementation of enums 23:27 offby1: I use macros to scrape snow off my boots in winter 23:27 rudybot: ijp: 23:28 chandler: rudybot: hush, you 23:28 rudybot: chandler: you can call it browse-url-chromium, and adapt it from the other two. 23:29 lewis1711: offby1: I don't think I've read that bit of the racket reference yet 23:30 offby1: it's in "unstable/severe-weather" 23:31 lewis1711: I hope there's a typed version available so I don't get run time errors when i try and scrape off slush instead 23:32 offby1: I think slush inherits from snow 23:33 jeapostrophe: lewis1711: the ffi has enums. what do /you/ mean by enum? 23:34 lewis1711: jeapostrophe: a list of symbols I can qualify with a name 23:34 jeapostrophe: lewis1711: in like a contract...? when would you use the name? 23:35 lewis1711: so given a list '(blue green red), I could then do 'colour-red' 23:36 jeapostrophe: and get a number...? 23:36 lewis1711: sure, if that's faster to do checks on than a symbol 23:36 lewis1711: it's basically so I can use a symbol that I know "exists" 23:36 lewis1711: instead of one I am just creating on the fly 23:36 jeapostrophe: ah, i see 23:37 lewis1711: I don't know if there's a better way for it. very likely 23:40 jeapostrophe: https://github.com/jeapostrophe/exp/blob/master/enum.rkt 23:40 jeapostrophe: like that? 23:41 lewis1711: yes. is that yours jeapostrophe? 23:42 jeapostrophe: ya, i just wrote it in the four minutes between my messages 23:42 jeapostrophe: but, that's what you meant? 23:42 jeapostrophe: i think i want that sometimes too 23:47 lewis1711: I don't understand how yours work, but my attempts don't. can I steal it? 23:49 jeapostrophe: you should try to understand it 23:49 jeapostrophe: look at the macro stepper and i'm happy to answer questions 23:49 jeapostrophe: but ya, use it 23:52 lewis1711: I struggle with simple macros right now 23:54 jeapostrophe: you should read PLAI's macro chapters 23:55 lewis1711: PLAI? 23:56 jeapostrophe: http://www.cs.brown.edu/~sk/Publications/Books/ProgLangs/ 23:58 lewis1711: rudybot: (define-syntax-rule (enum symbol-list) (for ([sym symbol-list] [n (in-range 0 (length symbol-list))]) (define sym n))) 23:58 rudybot: lewis1711: your sandbox is ready 23:58 rudybot: lewis1711: Done. 23:58 lewis1711: rudybot: (enum '(cat dog)) 23:58 rudybot: lewis1711: error: begin (possibly implicit): no expression after a sequence of internal definitions in: ((define sym n)) 23:58 lewis1711: fail :( 23:58 jeapostrophe: you should look at that in the macro stepper 23:59 jeapostrophe: that for is in the expansion so it happens at run-time, not at transform-time 23:59 jeapostrophe: in contrast, my 'for' happens at transform-time and sets up the list of identifies that is implicitly iterated over