00:33 (quit) jeapostrophe: Ping timeout: 246 seconds 00:41 (quit) mithos28: Remote host closed the connection 00:41 (join) mithos28 00:52 (quit) mithos28: Read error: Connection reset by peer 00:52 (join) mithos28 00:57 (quit) jackhammer2022: Quit: Textual IRC Client: http://www.textualapp.com/ 00:58 (quit) Kaylin: Read error: Connection reset by peer 01:01 (quit) hash_table: Ping timeout: 260 seconds 01:01 (quit) getpwnam: Ping timeout: 260 seconds 01:03 (join) RacketCommitBot 01:03 RacketCommitBot: [racket] plt pushed 57 new commits to master: http://git.io/hHsGPw 01:03 RacketCommitBot: [racket/master] Change require from mzlib/class to racket/class. - Patrick Mahoney 01:03 RacketCommitBot: [racket/master] Change lang of struct.rkt from scheme/base to racket/base. - Patrick Mahoney 01:03 RacketCommitBot: [racket/master] Require racket/struct-info instead of scheme/struct-info. - Patrick Mahoney 01:03 (part) RacketCommitBot 01:04 mithos28: 57 commits wow! 01:16 (quit) mceier: Quit: leaving 01:34 (nick) em -> em_ 01:41 (join) noelw 01:46 (quit) noelw: Client Quit 01:52 (quit) dnolen: Ping timeout: 246 seconds 01:53 (join) noelw 01:53 (quit) noelw: Remote host closed the connection 02:00 (join) lewis1711 02:05 (nick) gf3 -> wangf3 02:11 (join) mceier 02:56 (join) Shambles_1 02:56 (quit) Shambles_: Ping timeout: 268 seconds 03:00 (quit) Shvillr: Read error: Connection reset by peer 03:00 (join) Shviller 03:36 (quit) jonrafkind: Ping timeout: 272 seconds 03:44 (quit) mithos28: Quit: mithos28 04:04 (join) bitonic 04:19 (join) jesyspa 04:25 (join) noelw 04:34 (join) Jeanne-Kamikaze 04:43 (quit) cdidd: Ping timeout: 246 seconds 04:46 lewis1711: maybe I should stop using sets so much. it's hard to use the regular car/cdr tricks on them. 04:46 lewis1711: end up writing stuff like this: 04:46 lewis1711: (define (set-flatten xs) 04:46 lewis1711: (list->set (flatten (set-map xs set->list)))) 04:48 noelw: Implement fold on your sets. It's the universal traversal 04:48 noelw: Or implement an iterator for for-comprehenesions 04:49 lewis1711: noelw: the implementations of flatten I've seen involve the use of car cons, and I don't know how to emulate that with sets 04:49 lewis1711: but yeah usually I use for/set, or for/fold or whatever 04:50 noelw: Flatten is (Setof (Setof X)) -> (Setof X) ? 04:50 noelw: Seems you could write that with map and insert 04:50 noelw: Since insert should deduplicate 04:51 lewis1711: what does insert do? not a recognised symbol in 5.3 04:52 noelw: Oh, I'm being a n00b 04:52 noelw: set-add 04:53 noelw: Or perhaps set-union would do it one step 04:53 lewis1711: how? I did try this but failed badly 04:53 lewis1711: I tried set-union with a fold 04:53 noelw: Ok, I see 04:53 noelw: that's what I'd do 04:54 noelw: Flatten is recursive 04:54 noelw: So you'd have to do a recursive fold + set-union 04:56 (join) gciolli 04:58 lewis1711: rudybot: (for/fold ([accum (set)]) ([s (set (set) (set 1) (set 1 2))]) (set-union accum s)) 04:58 rudybot: lewis1711: ; Value: # 04:59 lewis1711: rudybot: (for/fold ([accum (set)]) ([s (set (set) (set "r") (set "q") (set "r" "q"))]) (set-union accum s)) 04:59 rudybot: lewis1711: ; Value: # 04:59 noelw: yeah dawg 04:59 lewis1711: I swear I tried that:/ oh well, cool 05:01 lewis1711: ugh it irritates me how set-map returns a list. but I digress 05:01 lewis1711: I can use for/set but it's uglier 05:05 (join) masm 05:07 lewis1711: actually.. no it's not. I am going to use it on lists as well, more consistent 05:07 (join) add^_ 05:07 lewis1711: for/list, rather 05:17 (quit) jyc: Remote host closed the connection 05:33 (join) djcoin 05:34 (quit) djcoin: Client Quit 05:57 (join) djcoin 06:03 (quit) djcoin: Quit: WeeChat 0.3.7 06:04 (join) djcoin 06:08 (quit) noelw: Quit: noelw 06:14 (join) noelw 06:18 (join) Shvillr 06:30 (quit) lewis1711: Quit: Leaving. 06:49 (quit) jao: Ping timeout: 264 seconds 07:10 (quit) karswell: Remote host closed the connection 07:12 (quit) Jeanne-Kamikaze: Ping timeout: 260 seconds 07:13 (quit) gciolli: Quit: Leaving. 07:20 (join) karswell 07:24 (join) Jeanne-Kamikaze 07:40 (join) jeapostrophe 07:40 (quit) jeapostrophe: Changing host 07:40 (join) jeapostrophe 07:55 (quit) noelw: Quit: noelw 08:15 (join) kanak 08:21 (join) noelw 08:58 (quit) Shviller: Read error: Connection reset by peer 08:58 (join) getpwnam 08:58 (join) Shviller 08:59 (join) hash_table 09:02 (join) The_third_man 09:02 The_third_man: hi ! 09:03 The_third_man: I just stumbled upon some scribble files and it seems linked with racket 09:03 bremner: yes 09:03 The_third_man: my problem is that I don't find a source/binary for scribble 09:03 The_third_man: (the official does not explain how to get it, or where it is) 09:03 bremner: a racket install ususally includes a binary (a script I think) called scribble 09:03 The_third_man: ok 09:04 The_third_man: thank you :) 09:04 The_third_man: which compiler would you advise ? 09:04 bremner: e.g. on Debian/Ubuntu /usr/bin/scribble 09:04 bremner: compiler? 09:05 The_third_man: nevermind 09:05 The_third_man: thanks again ! 09:08 (quit) jeapostrophe: Ping timeout: 244 seconds 09:15 (quit) vu3rdd: Remote host closed the connection 09:34 (quit) hash_table: Ping timeout: 244 seconds 09:34 (quit) getpwnam: Ping timeout: 244 seconds 09:36 (quit) noelw: Quit: noelw 09:41 (join) emadshaaban 09:52 (join) jao 09:52 (quit) jao: Changing host 09:52 (join) jao 09:54 (join) Kaylin 10:01 (join) mye 10:05 (quit) mceier: Quit: leaving 10:07 (join) noelw 10:14 (join) billyoc 10:22 (topic) -: Racket -- http://racket-lang.org -- logs at http://racket-lang.org/irc-logs/ 10:22 (names) -: gabot gciolli billyoc noelw mye Kaylin jao emadshaaban The_third_man Shviller kanak Jeanne-Kamikaze karswell Shvillr djcoin add^_ masm jesyspa bitonic Shambles_1 Nisstyre_ dsantiago popaya zurtik sklentikle romtank jrslepak spanner flying_rhino jrslepak_neu jschuster majoh cataska rapacity sizz aidy bremner ivan` asumu `micro Haffe Draggor noam ameoba dspt_ @ChanServ acarrico Gertm em ivan\ danking errstr server_failure benatkin Cryovat snorble_ trink 10:22 (names) -: winklet SHODAN antono m4burns hyko mattmigh` duckinator friscosam DT` ianjneu BeLucid_ triffiddd typeless stamourv Araq sid0 samth SeanTAllen mario-goulart rudybot cky wkelly pqmodn eMBee skarpflier triffidd sethalves pmatey offby1 jamessan DraX wangf3 chandler rotty ozzloy stchang bartbes otterdam 10:26 (join) eli 10:26 (quit) eli: Changing host 10:26 (join) eli 10:40 (join) getpwnam 10:41 (join) hash_table 10:45 (quit) jrslepak: Read error: Connection reset by peer 10:45 (join) jrslepak 10:49 (quit) gciolli: Quit: Leaving. 10:55 (quit) Shambles_1: Quit: Leaving. 10:55 (join) Shambles_ 11:00 (quit) spanner: Ping timeout: 246 seconds 11:08 (join) jeapostrophe 11:08 (quit) jeapostrophe: Changing host 11:08 (join) jeapostrophe 11:08 (quit) jrslepak: Ping timeout: 272 seconds 11:09 (quit) Nisstyre_: Remote host closed the connection 11:11 (quit) triffidd: Ping timeout: 245 seconds 11:11 (quit) triffiddd: Ping timeout: 244 seconds 11:11 (quit) typeless: Ping timeout: 244 seconds 11:11 (quit) server_failure: Ping timeout: 245 seconds 11:11 (quit) skarpflier: Ping timeout: 246 seconds 11:12 (quit) winklet: Ping timeout: 252 seconds 11:12 (quit) trink: Ping timeout: 252 seconds 11:15 (join) mceier 11:25 (quit) noelw: Quit: noelw 11:27 asumu: eli: do you think it'd be possible to extend XREPL to render those bluebox things? 11:28 eli: asumu: I didn't even see them. (I'm assuming that you're talking about the new drr thing.) 11:28 asumu: (yes) 11:36 (join) cdidd 11:40 (join) gciolli 11:45 (quit) jeapostrophe: Ping timeout: 252 seconds 11:49 (join) skarpflier 11:49 (join) triffiddd 11:49 (join) typeless 11:49 (join) trink 11:49 (join) server_failure 11:49 (join) winklet 11:49 (join) triffidd 11:49 (join) anRch 11:50 (join) vu3rdd 11:50 (quit) vu3rdd: Changing host 11:50 (join) vu3rdd 11:55 (join) jeapostrophe 11:55 (quit) jeapostrophe: Changing host 11:55 (join) jeapostrophe 11:58 (join) bitonic` 12:02 (quit) bitonic: Ping timeout: 245 seconds 12:04 (join) mammoth 12:04 (join) mye_ 12:05 (quit) flying_rhino: Ping timeout: 272 seconds 12:06 (join) nilyaK 12:06 (join) spanner 12:07 (quit) mye: Ping timeout: 248 seconds 12:09 (join) mithos28 12:11 (quit) spanner: Ping timeout: 246 seconds 12:16 (join) jrslepak 12:16 (nick) bitonic` -> bitonic 12:20 (join) spanner 12:22 (quit) vu3rdd: Remote host closed the connection 12:34 (join) bitonic 12:36 (quit) spanner: Ping timeout: 245 seconds 12:38 (quit) skarpflier: Ping timeout: 252 seconds 12:38 (quit) triffidd: Ping timeout: 244 seconds 12:38 (quit) winklet: Ping timeout: 244 seconds 12:38 (quit) typeless: Ping timeout: 244 seconds 12:38 (quit) triffiddd: Ping timeout: 244 seconds 12:38 (quit) trink: Ping timeout: 244 seconds 12:38 (quit) server_failure: Ping timeout: 244 seconds 12:46 (join) mye 12:46 (join) triffidd 12:46 (join) winklet 12:46 (join) triffiddd 12:46 (join) spanner 12:46 (join) server_failure 12:46 (join) trink 12:46 (join) skarpflier 12:46 (join) typeless 12:48 (quit) mye_: Ping timeout: 260 seconds 12:49 (join) sikilpaake 12:49 sikilpaake: does anybody know any good scheme/racket podcasts? 12:49 mithos28: There is the racket one on floss weekly 12:50 mithos28: http://twit.tv/floss167 12:50 mithos28: But that is just one episode 12:52 (join) jonrafkind 12:52 (quit) server_failure: Ping timeout: 245 seconds 12:52 (quit) trink: Ping timeout: 245 seconds 12:52 (quit) typeless: Ping timeout: 245 seconds 12:52 (quit) skarpflier: Ping timeout: 245 seconds 12:52 (quit) spanner: Ping timeout: 244 seconds 12:52 (quit) triffiddd: Ping timeout: 245 seconds 12:52 (quit) winklet: Ping timeout: 245 seconds 12:52 (quit) triffidd: Ping timeout: 252 seconds 12:52 sikilpaake: mithos28: there isn't one where i can like suscribe and listen to programming conversations? 12:53 mithos28: Not that I know of 12:53 sikilpaake: mithos28: which programming podcasts do you listen to? 12:53 mithos28: TWIG, but thats more news about tech 12:53 mithos28: not programming 12:53 sikilpaake: mithos28: hmm.. yeah 12:54 (join) spanner 12:54 sikilpaake: mithos28: so are you studying computers in university? or are self-taught? 12:54 sikilpaake: mithos28: so are you studying computers in university? or are *you self-taught? 12:55 mithos28: mithos28: I studied at university, and am now a software engineer 12:56 sikilpaake: oh, nice 12:56 sikilpaake: so you use racket at work, then? 12:56 mithos28: no, just as a hobby 12:57 Gertm: sikilpaake: there's "Programming Throwdown", Hanselminutes (MS-oriented though), Software Engineering Radio 12:57 Gertm: There are more but I can't remember. 12:57 sikilpaake: Gertm: is "software engineering radio" OS-agnostic? 12:57 (quit) anRch: Quit: anRch 12:58 Gertm: Yes, I believe so. 12:59 jonrafkind: everyone know that HEAD is broken right? 12:59 Gertm: sikilpaake: It's a bit 'enterprisey' at times though. 12:59 sikilpaake: Gertm: werd 12:59 sikilpaake: Gertm: thanks 12:59 (quit) spanner: Ping timeout: 272 seconds 12:59 Gertm: Sure, np. 13:00 mithos28: jonrafkind: HEAD is always broken, see all the open bug reports 13:00 jonrafkind: https://launchpadlibrarian.net/114847087/buildlog_ubuntu-karmic-lpia.racket_5.3.0.22-20120905~karmic_FAILEDTOBUILD.txt.gz 13:00 rudybot: http://tinyurl.com/9vymnpa 13:01 mithos28: I asume it was that frtime patch that got pulled in yesterday 13:01 jonrafkind: yes of course 13:01 jonrafkind: im sort of amazed with ~20 people working on racket it takes so long for an email to get sent about it 13:01 sikilpaake: Gertm: dude, who else in this room should i ask for podcasts? 13:02 asumu: jonrafkind: that's what DrDr is for. 13:02 (join) trink 13:02 (join) skarpflier 13:02 (join) winklet 13:02 (join) triffidd 13:02 (join) server_failure 13:02 (join) triffiddd 13:02 (join) typeless 13:02 (join) spanner 13:07 (join) anRch 13:15 (quit) spanner: Ping timeout: 245 seconds 13:16 (quit) djcoin: Quit: WeeChat 0.3.7 13:18 (join) spanner 13:19 (quit) bitonic: Ping timeout: 252 seconds 13:19 (quit) gciolli: Ping timeout: 240 seconds 13:20 (quit) typeless: Ping timeout: 240 seconds 13:20 (quit) triffidd: Ping timeout: 240 seconds 13:20 (quit) skarpflier: Ping timeout: 240 seconds 13:20 (quit) server_failure: Ping timeout: 240 seconds 13:20 (quit) triffiddd: Ping timeout: 240 seconds 13:20 (quit) winklet: Ping timeout: 240 seconds 13:20 (quit) trink: Ping timeout: 240 seconds 13:23 (join) winklet 13:23 (join) triffidd 13:23 (join) server_failure 13:23 (join) triffiddd 13:23 (join) trink 13:23 (join) skarpflier 13:24 (join) typeless 13:29 (join) MayDaniel 13:30 mye: I need a 2D parametric plot in two parameters. Can I do this with plot somehow? 13:32 asumu: mye: not sure, you might ask on the mailing list. 13:39 (quit) typeless: Ping timeout: 255 seconds 13:39 (quit) triffiddd: Ping timeout: 255 seconds 13:39 (quit) server_failure: Ping timeout: 255 seconds 13:39 (quit) skarpflier: Ping timeout: 255 seconds 13:39 (quit) triffidd: Ping timeout: 255 seconds 13:39 (quit) trink: Ping timeout: 255 seconds 13:39 (quit) winklet: Ping timeout: 255 seconds 13:42 (quit) spanner: Ping timeout: 245 seconds 13:47 (join) bitonic 13:47 (quit) bitonic: Remote host closed the connection 13:48 (join) gciolli 13:53 (part) add^_ 13:53 (quit) jeapostrophe: Ping timeout: 268 seconds 13:55 (join) mye_ 13:58 (quit) mye: Ping timeout: 246 seconds 14:01 (join) triffidd 14:02 (join) skarpflier 14:02 (join) typeless 14:02 (join) trink 14:02 (join) triffiddd 14:02 (join) winklet 14:02 (join) server_failure 14:02 (join) jeapostrophe 14:02 (quit) jeapostrophe: Changing host 14:02 (join) jeapostrophe 14:04 (nick) wangf3 -> gf3 14:04 (quit) mithos28: Quit: mithos28 14:07 (join) spanner 14:08 (quit) gciolli: Quit: Leaving. 14:08 (quit) billyoc: Remote host closed the connection 14:11 (quit) spanner: Ping timeout: 246 seconds 14:15 (quit) triffidd: Ping timeout: 246 seconds 14:15 (quit) winklet: Ping timeout: 240 seconds 14:15 (quit) server_failure: Ping timeout: 240 seconds 14:15 (quit) triffiddd: Ping timeout: 240 seconds 14:16 (quit) trink: Ping timeout: 255 seconds 14:16 (quit) skarpflier: Ping timeout: 255 seconds 14:16 (quit) typeless: Ping timeout: 255 seconds 14:16 (quit) acarrico: Ping timeout: 268 seconds 14:17 (join) gciolli 14:17 (join) Lj_ 14:18 (quit) Lj_: Client Quit 14:21 (join) spanner 14:24 (quit) jschuster: Ping timeout: 244 seconds 14:25 (join) typeless 14:25 (join) server_failure 14:25 (join) triffidd 14:25 (join) trink 14:25 (join) triffiddd 14:25 (join) skarpflier 14:25 (join) winklet 14:31 (join) cdshines 14:32 (join) acarrico 14:32 cdshines: Hello all. Could anyone of you help me with racket formlets? 14:32 asumu: cdshines: possibly, ask anyway. 14:32 (quit) anRch: Quit: anRch 14:32 (quit) jrslepak: Quit: What happened to Systems A through E? 14:36 (quit) cdshines: Ping timeout: 245 seconds 14:38 (join) cdshines 14:41 (quit) spanner: Ping timeout: 246 seconds 14:41 cdshines: seems like my messages have lost somewhere. I asked 1) examples of working and quality code of webapps in Racket and 2) what #:attributes are allowed in predefined formltes like (text-input) etc.? 14:43 (quit) winklet: Ping timeout: 256 seconds 14:43 (quit) skarpflier: Ping timeout: 256 seconds 14:43 (quit) triffidd: Ping timeout: 256 seconds 14:43 (quit) triffiddd: Ping timeout: 256 seconds 14:43 (quit) trink: Ping timeout: 256 seconds 14:43 (quit) typeless: Ping timeout: 256 seconds 14:43 (quit) server_failure: Ping timeout: 256 seconds 14:55 (quit) cdshines: Ping timeout: 245 seconds 15:04 (quit) jao: Remote host closed the connection 15:16 (quit) kanak: Remote host closed the connection 15:19 (join) kanak 15:21 (join) typeless 15:21 (join) skarpflier 15:21 (join) server_failure 15:21 (join) triffidd 15:21 (join) trink 15:21 (join) triffiddd 15:21 (join) winklet 15:22 (join) bitonic 15:24 (join) spanner 15:50 (part) emadshaaban 16:24 (quit) nilyaK: Read error: Connection reset by peer 16:34 (quit) mammoth: Ping timeout: 265 seconds 16:35 (quit) MayDaniel: Read error: Connection reset by peer 16:38 (quit) jonrafkind: Ping timeout: 268 seconds 16:39 (quit) hash_table: Ping timeout: 264 seconds 16:39 (quit) getpwnam: Ping timeout: 264 seconds 16:43 (join) jrslepak 16:50 (join) jonrafkind 16:54 (quit) acarrico: Ping timeout: 240 seconds 17:10 (join) acarrico 17:12 (quit) bitonic: Read error: Connection reset by peer 17:13 (join) bitonic 17:13 (quit) kanak: Ping timeout: 264 seconds 17:15 (quit) Jeanne-Kamikaze: Quit: Did you hear that ? 17:29 (join) chimeracoder 17:30 (quit) gciolli: Remote host closed the connection 17:44 (join) gciolli 17:51 chimeracoder: From browsing the mail archives, it seems Racket/Scribble still doesn't have a format for lightweight inline documentation of functions (like Python's docstring) 17:51 (join) sizz_ 17:51 (quit) romtank: Ping timeout: 252 seconds 17:51 chimeracoder: Is there an easier way to integrate function documentation into the code besides scribble/srcdoc's (provide) statements? 17:52 (join) romtank 17:52 (join) sybex 17:52 (quit) popaya: Ping timeout: 252 seconds 17:52 (quit) zurtik: Ping timeout: 252 seconds 17:52 jonrafkind: I think it has a (define/doc) form or something where you can provide the documentation right next to the function 17:52 (join) zurtik 17:52 (join) popaya 17:52 (quit) sklentikle: Ping timeout: 252 seconds 17:53 (quit) sizz: Ping timeout: 276 seconds 17:53 chimeracoder: jonrafkind: which lang is this in? I haven't been able to find anything like that anywhere yet :-/ 17:53 jonrafkind: i have to find it, i saw it somewhere 17:53 chimeracoder: thanks - I'm on a computer that doesn't have racket atm 17:54 (join) djcoin 17:54 jonrafkind: well I suppose you could write a macro that expands to (define) and (proc-doc) 17:55 chimeracoder: ah yes, I meant proc-doc, not provide 17:56 chimeracoder: I guess I could do that - I'm honestly not too familiar with Racket/Scheme's macro system yet 17:57 chimeracoder: proc-doc is great, but the main thing I like about Python's docstrings is that it's got no structure - really, just a description, so I can use docstrings as stubs while working 17:58 jonrafkind: so you actually refer to foo.__doc__ or whatever it is at hte repl? 17:59 chimeracoder: no - it's more that I can put a one-liner at the top of the function when I write it (perhaps the function name isn't descriptive enough, or I want to note a bug/edge case) 17:59 jonrafkind: but you can just do that with a comment 17:59 chimeracoder: that helps me when I come back to it in a week 17:59 chimeracoder: well, yes, but it also serves as a basis for when I'm writing the actual documentation 17:59 jonrafkind: in fact i dont know what the hubbub is about python doc strings, i never use them in any way. i just read the online docs 18:00 chimeracoder: well, online docs can be autogenerated from docstrings 18:00 chimeracoder: they're not mutually exclusive 18:00 jonrafkind: yea true 18:00 chimeracoder: but docstrings let me write hte documentation as I write the code (single-step) 18:00 chimeracoder: which makes writing the documentation at the end easier, because the work is already half-done 18:01 chimeracoder: (and I benefit in the meantime from having partial documentation when coding) 18:01 jonrafkind: I guess you could expand to (proc-doc function-name any "whatever you would put in a python doc string") 18:01 jonrafkind: except that racket doesn't have """ so you have to escape " characters 18:01 jonrafkind: well thats not true, it does have heredocs 18:01 jonrafkind: not that I can remember how you type them 18:02 chimeracoder: hmm 18:02 chimeracoder: Python fakes this because standalone strings evaluate to empty statements 18:02 chimeracoder: I assume there's no way to use the native comments in racket without re-parsing? 18:03 chimeracoder: I never really thought about using comments in reader macros, haha 18:03 jonrafkind: right 18:08 chimeracoder: Okay, so would the best approach be to do something like this? https://gist.github.com/3645946 18:10 jonrafkind: i updated it.. something like that 18:12 (quit) bitonic: Ping timeout: 276 seconds 18:16 chimeracoder: okay, thanks 18:16 chimeracoder: let me install racket + try that out 18:22 (quit) jeapostrophe: Ping timeout: 244 seconds 18:23 (join) jao 18:23 (quit) jao: Changing host 18:23 (join) jao 18:28 (quit) jrslepak: Quit: What happened to Systems A through E? 18:28 (join) dzhus 18:28 (join) jyc 18:28 chimeracoder: hmm - not quite working for me. What's the purpose of putting the define statement as literal-id and then having an underscore in the pattern? 18:28 chimeracoder: shouldn't the define statement be part of the pattern to be matched? 18:29 jonrafkind: the _ matches the macro itself 18:29 (join) anRch 18:29 jonrafkind: putting define as the literal ensures that its not matched as a pattern variable 18:30 jonrafkind: the define is part of the pattern 18:30 jonrafkind: the pattern is (_ docstr (define (name arg ...) body ...)) 18:30 chimeracoder: oh, I see 18:31 (join) getpwnam 18:32 (join) hash_table 18:35 (part) sikilpaake 19:00 (join) flying_rhino 19:03 (quit) djcoin: Quit: WeeChat 0.3.7 19:15 (quit) gciolli: Quit: Leaving. 19:17 (join) RacketCommitBot 19:17 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/tR5yRA 19:17 RacketCommitBot: [racket/master] fix documentation of the prompt installed by `module' - Matthew Flatt 19:17 RacketCommitBot: [racket/master] change a thread's initial prompt to use the default handler - Matthew Flatt 19:17 (part) RacketCommitBot 19:23 (join) Nisstyre_ 19:24 (quit) anRch: Quit: anRch 19:46 (join) yoklov 20:03 (quit) jesyspa: Quit: leaving 20:04 (quit) jonrafkind: Ping timeout: 240 seconds 20:08 (join) RacketCommitBot 20:08 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/gLI3OA 20:08 RacketCommitBot: [racket/master] fix one frtime compilation error by updating require and provide forms in collects/frtime/reactive.rkt - Gregory Cooper 20:08 RacketCommitBot: [racket/master] fix the other frtime compilation error by commenting out the body of collects/frtime/frtime-opt-lang.rkt - Gregory Cooper 20:08 (part) RacketCommitBot 20:13 (join) jeapostrophe 20:13 (quit) jeapostrophe: Changing host 20:13 (join) jeapostrophe 20:19 (quit) chimeracoder: Quit: WeeChat 0.3.7 20:27 (join) lewis1711 20:44 (quit) dzhus: Read error: Operation timed out 21:07 lewis1711: I love it when text books give a mathematical description of an algorithm instead of imperative pseudocode... the former usually makes it far easier to write in languages like racket 21:20 (quit) masm: Quit: Leaving. 21:34 (quit) jeapostrophe: Ping timeout: 245 seconds 22:03 (nick) Nisstyre_ -> Nisstyre 22:06 asumu: lewis1711: although sometimes I wish they would give working code and not pseudocode. 22:07 asumu: (or you can be Knuth and provide working code in your own architecture/language...) 22:10 (join) jrslepak 22:11 (part) Shambles_ 22:13 lewis1711: asumu: I am fine with pseudocode usually. it's just if it's imperative I feel a bit dirty translating it into a nice language like racket or scala 22:13 lewis1711: where as if it's an equation.. much better 22:16 (join) Shambles_ 22:27 (quit) flying_rhino: Ping timeout: 265 seconds 22:40 (join) crundar 22:47 (join) mithos28 22:50 (quit) Shvillr: Ping timeout: 276 seconds 22:50 (join) Shvillr 23:08 (join) jonrafkind 23:29 lewis1711: http://pastie.org/4671814 I've gotten myself confused... I could write the procedure on line 17 without first computing the whole powerset, right? by using my defn of powerset and using a #:when clause there... except i tried a couple of places and I'm not sure where 23:31 mithos28: lewis1711: I'm not sure what your question is. 23:32 lewis1711: mithos28: I calculated the whole powerset then filtered it, could I do it more efficiently? 23:33 mithos28: What is eclosed 23:34 mithos28: Also what do you mean by more efficiently, not generating the whole power set, or not storing the whole power set in memory at once? 23:35 (quit) jao: Ping timeout: 255 seconds 23:35 (join) vu3rdd 23:35 (quit) vu3rdd: Changing host 23:35 (join) vu3rdd 23:36 lewis1711: mithos28: not generating the whole powerset. eclosed? generates whether the given set has a closure under epsilon. it just returns a boolean 23:36 lewis1711: deterministic finite automata 23:38 mithos28: well if (eclosed? trans-func s) returns true for all s, then you have to generate the whole power set 23:39 mithos28: What property of eclosed can you use to not have to iterate over every element of the porewr set 23:39 lewis1711: that's true 23:39 lewis1711: I more meant, if eclosed is false than I can avoid adding it to the powerset in the first place 23:40 mithos28: But you want to run eclosed on every element in the powerset 23:40 mithos28: thus you do need to generate the whole power set, correct? 23:42 lewis1711: mithos28: I need to generate every possible element of the powerset yes, but I don't need to add every single possible element to the result. is your point sort of "what are you saving since you have to calculate every subset anyway" ? hmm 23:43 mithos28: Yes, what is your measure of efficency that you are not meeting? 23:43 lewis1711: I guess just generating an extra long powerset when I cut away many of the results 23:43 lewis1711: guess it doesn't *really* matter 23:54 (join) jeapostrophe 23:54 (quit) jeapostrophe: Changing host 23:54 (join) jeapostrophe 23:55 (join) adu