00:03 (quit) jao: Ping timeout: 248 seconds 00:21 (join) raphie 00:21 raphie: I'm looking to split up a list into multiple sub-lists -- anyone got any tips? 00:21 mithos28: raphie: partition 00:21 raphie: basically, I'd like it to work like this with a test function: 00:22 (join) rmathews 00:22 raphie: (split even? (list 1 3 6 3 9 10)) --> (list (list 1 3) (list 3 9)) 00:22 raphie: IIRC partition won't do that 00:23 mithos28: so split-at will help 00:24 raphie: mithos28: but that takes an index, right? how would I get that to work? 00:24 mithos28: (length (memf proc list)) 00:24 raphie: and it returns just two lists, whereas my function would return an arbitrary number 00:24 mithos28: or just write the function yourself 00:25 mithos28: thats why I said 'will help' not does what you want 00:25 raphie: ahh, okay 00:26 mithos28: there is also group-by 00:26 mithos28: nvm, not what you want 00:27 raphie: huh, I think it'd be a good experience to write it myself. so I'm a tad new to racket--all of the recursive functions so far have just iterated over a single list. how would I "switch modes" from inserting into a sub-list to creating a new sublist? 00:27 raphie: as in, if my proc is even? and the list is (list 1 2 3) 00:28 raphie: the function would add 1 to a sublist, then see that 2's even and instead of adding 3 to 1's sublist, create a new sublist for it 00:28 mithos28: what does it do when the list is (list) vs (list 2) 00:29 (join) asvil 00:29 mithos28: try writing out some cases and see if you can understand what the step is 00:30 raphie: okay! I guess (list) should produce (list) and (list 2) should probably produce (list (list) (list)) 00:35 (join) Kaylin 00:44 mithos28: Just broke TR soundness. Again. 00:55 (quit) raphie: Read error: Connection reset by peer 01:12 (quit) rapacity: Ping timeout: 248 seconds 01:12 (join) rapacity 01:25 (join) Kaylin1 01:27 (quit) Kaylin: Ping timeout: 248 seconds 01:31 (quit) mceier: Quit: leaving 01:42 (join) Kaylin 01:45 (quit) Kaylin1: Ping timeout: 246 seconds 01:47 (join) blubberdiblub 01:48 (part) blubberdiblub: "WeeChat 0.3.8" 02:00 (join) dsantiago 02:01 (join) gridaphobe 02:39 (join) mceier 02:43 (quit) ASau: Ping timeout: 248 seconds 02:54 (quit) jonrafkind: Ping timeout: 264 seconds 02:56 (join) mye 03:13 (join) djcoin 03:30 (join) RacketCommitBot 03:30 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/CtREFw 03:30 RacketCommitBot: racket/master 0e8b5f8 Eli Barzilay: New Racket version 5.3.3.1. 03:30 (part) RacketCommitBot 03:30 (quit) tcsc: Quit: computer sleeping 03:31 (join) rmathews_ 03:32 (quit) rmathews: Ping timeout: 245 seconds 03:32 (nick) rmathews_ -> rmathews 03:42 (quit) gridaphobe: Remote host closed the connection 03:42 (join) gridaphobe 03:47 (quit) gridaphobe: Ping timeout: 255 seconds 04:18 (quit) mithos28: Quit: mithos28 04:35 (join) bitonic 04:37 (join) soegaard 04:59 (part) tobi 05:00 (join) tobi 05:06 (quit) cataska: Quit: ERC Version 5.3 (IRC client for Emacs) 05:24 (join) mye_ 05:27 (quit) mye: Ping timeout: 245 seconds 05:27 (nick) mye_ -> mye 05:28 (quit) Demosthenex: Ping timeout: 244 seconds 05:30 (join) Demosthenex 05:38 (join) tilde` 05:59 (quit) sizz: Quit: No Ping reply in 180 seconds. 05:59 (join) sizz 06:05 (quit) Kaylin: Read error: Connection reset by peer 06:35 (join) ijp 06:57 (quit) bitonic: Ping timeout: 248 seconds 06:58 (join) rmathews 07:06 (quit) Demosthenex: Ping timeout: 245 seconds 07:08 (join) Demosthenex 07:09 (join) jeapostrophe 07:09 (quit) jeapostrophe: Changing host 07:09 (join) jeapostrophe 07:15 (join) mizu_no_oto 07:17 (join) BeLucid 07:24 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 07:27 (join) bitonic 07:39 (join) mizu_no_oto 07:44 (join) anonymou2 08:00 (quit) bitonic: Remote host closed the connection 08:00 (join) bitonic 08:16 (join) didi` 08:19 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 08:22 (join) francisl 08:25 (join) anonymou3 08:27 anonymou3: "and continuation, which is the evaluation context surrounding an expression." 08:27 anonymou3: I think it's better to replace "an expression" with "the redex" 08:28 anonymou3: and it is better to replace "evaluation context". I think it is still easy to confuse it with just "the text surrounding redex". 08:29 anonymou3: here: http://docs.racket-lang.org/reference/eval-model.html 08:30 anonymou3: ah... deep night in US 08:33 (join) karswell 08:43 (join) jeapostr1phe 08:43 (quit) jeapostrophe: Read error: Connection reset by peer 08:48 (quit) francisl: Quit: francisl 08:49 (quit) bitonic: Ping timeout: 244 seconds 08:50 (join) bitonic 09:01 (join) RacketCommitBot 09:01 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/DrloUg 09:01 RacketCommitBot: racket/master cd202f5 Jay McCarthy: Supporting headers and stateless in web-server/test 09:01 (part) RacketCommitBot 09:17 (quit) didi`: Ping timeout: 264 seconds 09:23 (join) samth_ 09:26 (quit) qrstuv1: Read error: Connection reset by peer 09:26 (join) Aune 09:28 (quit) samth: Ping timeout: 252 seconds 09:30 (join) samth 09:32 (join) vkz 09:45 (join) rins 09:49 (join) tcsc 09:51 (quit) snorble_: Read error: Connection reset by peer 09:52 (join) snorble_ 10:01 (join) didi 10:17 (quit) tcsc: Quit: computer sleeping 10:18 (quit) Aune: Quit: Hath Deprated 10:18 (join) Aune 10:21 (join) myx 10:27 (quit) bjz: Ping timeout: 245 seconds 10:40 (join) Kaylin 10:50 (quit) jeapostr1phe: Ping timeout: 240 seconds 10:52 (join) anRch 11:03 (quit) asvil: Ping timeout: 248 seconds 11:07 (join) jao 11:07 (quit) jao: Changing host 11:07 (join) jao 11:07 (join) eli 11:07 (quit) eli: Changing host 11:07 (join) eli 11:10 (quit) bitonic: Ping timeout: 245 seconds 11:16 (join) tcsc 11:17 (quit) mceier: Quit: leaving 11:18 (join) mithos28 11:22 mye: anonymou3: I had the exact same thought when I read this two days ago 11:23 mye: but was too lazy to send an email, if you do I'm sure someone will comment 11:24 mye: Or better, just do a pull request on github 11:24 (quit) jao: Ping timeout: 248 seconds 11:25 (quit) tilde`: Quit: meh. 11:28 (join) bitonic 11:29 (quit) anRch: Quit: anRch 11:31 (join) RacketCommitBot 11:31 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/78jplg 11:31 RacketCommitBot: racket/master c2b8671 Eric Dobson: Fix :print-type. Closes PR13503. 11:31 RacketCommitBot: racket/master 19241c0 Eric Dobson: Make overlap more precise. 11:31 RacketCommitBot: racket/master 40a9794 Eric Dobson: Add missing pure functions. 11:31 (part) RacketCommitBot 11:32 mithos28: stamourv: thanks 11:33 (join) RacketCommitBot 11:33 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/hXlXsw 11:33 RacketCommitBot: racket/master 469a697 J. Ian Johnson: For/product treated like for/sum for special annotation. Also allowed no annotation to be consistent with the docs. 11:33 (part) RacketCommitBot 11:33 (join) francisl 11:45 (quit) Kaylin: Quit: Leaving. 11:48 mye: Is it only me or is code that much harder to read if functions aren't equipped with a purpose statement? 11:49 mithos28: depends on the function, but yes if it is doing anything complicated 11:49 mithos28: https://github.com/plt/racket/commit/19241c09792dc23ff0c633ab6406d5b9189a2e83#L1R10 11:49 rudybot: http://tinyurl.com/avu7fht 11:50 mithos28: Like that function I added yesterday. It doesn't have a purpose statement, but is still readable 11:52 (quit) rins: Ping timeout: 246 seconds 11:53 didi: mye: I think it's very nice how CL and elisp handle it with a string right after the lambda list. 11:54 (join) rins 11:54 mye: good example of how to communicate intent through naming. I believe that when coding one thinks the function name is so obviously descriptive that a reader *for sure* can figure it out as well. 11:54 mye: But for most function names this is probably not true 12:02 (join) Kaylin 12:02 (join) jeapostrophe 12:02 (quit) jeapostrophe: Changing host 12:02 (join) jeapostrophe 12:07 (quit) stevenfx: Remote host closed the connection 12:08 asumu: mye: purpose statements are great, yeah. Now to get students to understand this. :p 12:08 (join) zacts 12:10 anonymou3: mye: should I send it to dev@racket-lang.org or users@racket-lang.org, and, maybe, I can use http://bugs.racket.com ? 12:11 mye: anonymou3: Hard to say which is best. I'd ask on users 12:11 anonymou3: mye: thx 12:11 (join) eikonos 12:12 (quit) eikonos: Changing host 12:12 (join) eikonos 12:18 (quit) Kaylin: Read error: Connection reset by peer 12:21 mye: asumu: I want javascript devs to understand this :\ 12:21 mye: I think I'll hibernate in racket land again until the module system for js is ready 12:22 (join) gridaphobe 12:31 (join) RacketCommitBot 12:31 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/LVRFcA 12:31 RacketCommitBot: racket/master 4797173 Sam Tobin-Hochstadt: Properly unquote in error message.... 12:31 (part) RacketCommitBot 12:32 (join) ASau 12:37 (join) mceier 12:37 (quit) djcoin: Quit: WeeChat 0.3.9.2 12:40 (join) cipher 12:40 (quit) cipher: Changing host 12:40 (join) cipher 12:49 (quit) gridaphobe: Remote host closed the connection 12:50 (join) gridaphobe 12:51 (quit) Shviller: Ping timeout: 245 seconds 12:51 (join) Shviller 12:55 (quit) gridaphobe: Ping timeout: 276 seconds 12:57 (quit) zacts: Quit: ERC Version 5.3 (IRC client for Emacs) 12:58 (join) Kaylin 13:02 (quit) tcsc: Quit: bye! 13:15 (join) gridaphobe 13:17 (quit) bitonic: Ping timeout: 244 seconds 13:26 (join) jonrafkind 13:37 (quit) mithos28: Quit: mithos28 13:43 anonymou3: Do I get it correctly: I MUST read The Racket Reference to get a good racket developer(for free)? 13:43 anonymou3: to be a good* 13:43 anonymou3: become 13:43 didi: anonymou3: Hehe. 13:43 didi: I was wondering... 13:48 (quit) jeapostrophe: Ping timeout: 256 seconds 13:53 (quit) cdidd: Remote host closed the connection 14:12 (quit) ijp: Read error: Operation timed out 14:12 (join) ijp` 14:16 asumu: anonymou3: I would say the Guide is better. 14:16 asumu: Though you will probably need to consult the Reference every so often for details. 14:17 didi consults the documentation _all_ the time 14:18 asumu has a 'r' search shortcut set in Opera 14:20 didi has a `raco-docs' command in StumpWM 14:20 anonymou3: interesting, do programmers that programmed on a language more than 10000 hours do the same... 14:21 anonymou3: s/that/ 14:21 anonymou3: will asumu and didi do it after 10 years... 14:22 anonymou3: ah, return that... 14:22 anonymou3: ...? 14:22 asumu: I'm pretty sure no matter how many hours I program in Racket, I will look things up. 14:23 asumu: My cache isn't that large and my web browser is my swap. 14:23 didi: anonymou3: There is always something to be discovered or relearned. 14:23 (quit) ijp`: Read error: Operation timed out 14:23 (join) RacketCommitBot 14:23 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/o1g1KA 14:23 RacketCommitBot: racket/master 670efed Neil Toronto: Increased timeout for matrix tests 14:23 (part) RacketCommitBot 14:23 (join) ijp`` 14:25 (quit) Aune: Quit: Hath Deprated 14:28 (join) bitonic 14:31 (quit) gridaphobe: Remote host closed the connection 14:32 (join) gridaphobe 14:33 (join) jeapostrophe 14:33 (quit) ijp``: Quit: The garbage collector got me 14:36 (quit) gridaphobe: Ping timeout: 244 seconds 14:37 (quit) karswell: Remote host closed the connection 14:37 (join) karswell` 14:40 (quit) bitonic: Ping timeout: 246 seconds 14:42 anonymou3: thx 14:45 (join) jao 14:45 (quit) jao: Changing host 14:45 (join) jao 14:55 (join) mithos28 14:58 (join) bjz 15:00 (quit) Kaylin: Read error: Connection reset by peer 15:08 (quit) rmathews: Quit: ... 15:10 (quit) mithos28: Quit: mithos28 15:16 sirdancealot: should i get the fishing line spools printed with PLA or ABS? o_) 15:25 (join) Nisstyre-laptop 15:28 (join) bitonic 15:29 (quit) sirdancealot: Ping timeout: 256 seconds 15:41 (join) Fare 15:43 (join) sirdancealot 15:47 (quit) bitonic: Ping timeout: 252 seconds 15:50 (join) bitonic 16:07 (join) RacketCommitBot 16:07 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/rA-_aA 16:07 RacketCommitBot: racket/master c19b8a4 Danny Yoo: Correct the contract in Example 3 to use and/c.... 16:07 (part) RacketCommitBot 16:07 (quit) jonrafkind: Ping timeout: 245 seconds 16:08 (join) dyoo 16:11 dyoo: Stay safe for folks on the US new england area! Hope things are not too bad there. 16:12 (quit) jeapostrophe: Ping timeout: 260 seconds 16:12 (quit) eikonos: Quit: Leaving. 16:12 (join) molbdnilo 16:13 (join) jonrafkind 16:14 (join) bitonic` 16:15 asumu: dyoo: it's pretty snowy and windy 16:16 asumu isn't too concerned unless the power goes out 16:16 dyoo: It's just starting to lightly snow here in Salt Lake again, but probably nothing like what East coast folks there are seeing. Just looked out the window and thought of friends out there. 16:17 (quit) bitonic: Ping timeout: 264 seconds 16:27 (join) eikonos 16:27 (quit) eikonos: Changing host 16:27 (join) eikonos 16:28 (join) mithos28 16:29 (join) rbarraud__ 16:38 (quit) sirdancealot: Ping timeout: 245 seconds 16:40 (join) sirdancealot 16:41 (quit) soegaard: Quit: soegaard 16:43 anonymou3: bremner, please, don't kill me. 16:43 (quit) mithos28: Quit: mithos28 16:43 anonymou3: "a set of tools—for using a family of programming languages." 16:43 anonymou3: http://docs.racket-lang.org/guide/intro.html 16:43 anonymou3: maybe better say "the"? 16:43 anonymou3: I am not sure 16:48 stchang: in the drracket repl, when the result is a syntax object, what is the thing I get back, where I can click the arrow to expand to get more information? 16:48 stchang: is that a snip? 16:48 (quit) Fare: Ping timeout: 276 seconds 16:48 stchang: im trying to figure out how to get the expanding box 16:49 (join) z0lt 16:50 (join) soegaard 16:50 (quit) soegaard: Client Quit 16:55 (quit) molbdnilo: Quit: molbdnilo 16:57 (join) Fare 17:03 (join) gridaphobe 17:04 (quit) Fare: Ping timeout: 245 seconds 17:05 dyoo: stchang: that's a snip. The DrRacket printer sees that the value is a syntax object, and re-prints it as a graphical snip. 17:07 asumu: stchang: might be from mrlib/syntax-browser.rkt 17:09 (join) Fare 17:12 anonymou3 isn't sure why people ignore him. Even those who approved him to report about grammar mistakes. If the people changed their opinion - he is going to stop. 17:12 anonymou3: even the people* 17:14 (quit) sirdancealot: Ping timeout: 255 seconds 17:14 dyoo: anonymou3: sorry, didn't see your message 17:15 dyoo: I'm right in the middle of attacking PR 13350, so I sorta ignore IRC for a bit… :( 17:16 anonymou3: dyoo: 00:43 < anonymou3> "a set of tools—for using a family of programming languages." 17:16 anonymou3: 00:43 < anonymou3> http://docs.racket-lang.org/guide/intro.html 17:16 anonymou3: 00:43 < anonymou3> maybe better say "the"? 17:16 anonymou3: 00:43 < anonymou3> I am not sure 17:17 anonymou3: (I was sending very similar grammar report, but English is not my native and I know only essential grammar) 17:17 dyoo: anonymou3: I think "the" is too definitive. If you phrase the third line item as: "Racket is a set of tools for using the family of programming languages", it almost sounds like there's a claim that Racket includes all programming languages, which isn't right. 17:18 anonymou3: the previous sentence is "[Racket is] a family of programming languages—variants of Racket, and more; or" 17:18 anonymou3: [Racket can mean]* 17:21 anonymou3: so, maybe it should be "a set of tools—for using the family of programming languages." 17:21 anonymou3 is sorry for bad wording at first 17:23 dyoo: But the term: "the family" is too big. I don't think Racket captures the whole universe of programming languages. It's a good set to tools to attack a certain class of programming languages, but it's not "The family". That's why "a" is necessary: it's a smaller claim than "the". 17:25 dyoo: Also, note that IRC communication is very asynchronous. It'd be nice if it were like face-to-face communication or instant messaging, but it isn't. So if you don't get instant replies to your questions, please do not take offense: it's almost certainly not because you're being actively ignored. Rather, most of us keep IRC open, but only look at it periodically: we use a "polling" strategy, rather than let IRC dictate the flow of our actions. 17:25 dyoo: Same thing with email. 17:27 Nisstyre-laptop: dyoo: sometimes I deliberately close IRC or else it's too tempting to get distracted 17:27 Nisstyre-laptop: I should probably do that right now 17:28 stchang: dyoo, asumu: thanks ill check it out 17:28 anonymou3: dyoo: Thank you :) 17:28 dyoo: anonymou3: no problem! 17:28 dyoo: stchang: uh, what thing did I just help with? :) 17:29 dyoo: oh, the snip stuff! Right, no problem. 17:29 (quit) vkz: Quit: vkz 17:30 bremner: dyoo: btw, I gave a simple BNF assignment using ragg: http://tesseract.cs.unb.ca/pl/homework-4.html 17:31 bremner: and the submodule stuff you whipped up/ 17:31 dyoo: bremner: :) Very cool! I hope it works out well. 17:31 bremner: dyoo: it seems to have gone fine. 17:31 dyoo: ok, gotta figure out why in the world the following uses 100% CPU: (require readline/pread) (read-char readline-input) 17:45 (join) em 17:45 anonymou3: Maybe racket-lang.org should use … instead of ...?(I don't know how important it is either) 17:45 anonymou3: it uses "..." in search 17:46 (join) emma 17:46 anonymou3: s/either< 17:48 anonymou3: /* 17:51 (join) dauterive 17:51 bremner: depends on people's unicode font support, I suppose. 17:53 (quit) emma: Remote host closed the connection 17:53 (quit) em: Remote host closed the connection 17:56 (join) emma 18:06 (join) mithos28 18:08 (nick) emma -> em 18:22 (quit) mithos28: Quit: mithos28 18:24 (quit) didi: Ping timeout: 240 seconds 18:25 dyoo: Whew. Ok, figured the heart of the silly problem. The current readline FFI bindings are evil: they are busy polling all the way. Must fix it so it's callback-driven. 18:47 (nick) bitonic` -> bitonic 18:47 (quit) francisl: Read error: Operation timed out 18:54 (quit) anonymou3: Quit: Lost terminal 18:54 (quit) anonymou2: Quit: Lost terminal 18:57 (join) dnolen 18:59 (join) acarrico1 19:00 (quit) acarrico: Quit: Leaving. 19:00 (nick) acarrico1 -> acarrico 19:16 (join) emma_ 19:19 (nick) emma_ -> em 19:21 (join) anonymou1 19:25 (quit) z0lt: Ping timeout: 245 seconds 19:26 (join) z0lt 19:47 (join) mithos28 20:02 (quit) mithos28: Quit: mithos28 20:05 (quit) bjz: Quit: Leaving... 20:17 dyoo: question: anyone have experience dealing with async C apis for FFI? I'm having some problems fixing readline. 20:26 (quit) dauterive: Read error: Connection reset by peer 20:34 (quit) gridaphobe: Remote host closed the connection 20:35 (join) gridaphobe 20:38 (join) em 20:39 (quit) gridaphobe: Ping timeout: 255 seconds 20:41 (join) dauterive 20:42 (quit) dauterive: Read error: Connection reset by peer 20:43 (quit) z0lt: Ping timeout: 246 seconds 20:44 (join) z0lt 20:56 (quit) jonrafkind: Ping timeout: 256 seconds 21:00 (quit) dnolen: Ping timeout: 276 seconds 21:11 (join) didi 21:16 (quit) dyoo: Quit: dyoo 21:19 (join) mithos28 21:19 (join) mizu_no_oto 21:32 (join) francisl 21:34 (quit) mithos28: Quit: mithos28 21:35 (join) francisl_ 21:45 (join) eataix 21:45 (quit) Demosthenex: Read error: Operation timed out 21:48 (join) Demosthenex 21:49 (quit) francisl_: Quit: francisl_ 22:03 (join) rmathews 22:09 (quit) eikonos: Quit: Leaving. 22:14 (join) rins_ 22:14 (quit) karswell`: Read error: Operation timed out 22:14 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 22:14 (join) karswell` 22:15 (quit) rins: Ping timeout: 256 seconds 22:17 (join) eikonos 22:17 (quit) eikonos: Changing host 22:17 (join) eikonos 22:21 (join) mizu_no_oto 22:22 (quit) z0lt: Ping timeout: 256 seconds 22:23 (join) z0lt 22:29 (quit) eikonos: Quit: Leaving. 22:40 (join) dnolen 22:41 (quit) Fare: Ping timeout: 245 seconds 22:44 (join) dyoo 22:58 (join) mithos28 23:00 (join) eikonos 23:00 (quit) eikonos: Changing host 23:00 (join) eikonos 23:03 (quit) dnolen: Ping timeout: 252 seconds 23:08 (quit) jao: Ping timeout: 255 seconds 23:09 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 23:13 (quit) eikonos: Ping timeout: 245 seconds 23:16 (quit) z0lt: Read error: Connection reset by peer 23:16 (join) z0lt 23:37 (quit) didi: Ping timeout: 256 seconds 23:40 (join) eikonos 23:40 (quit) eikonos: Changing host 23:40 (join) eikonos 23:46 (join) jeapostrophe 23:46 (quit) jeapostrophe: Changing host 23:46 (join) jeapostrophe 23:53 (quit) eikonos: Ping timeout: 246 seconds 23:53 (quit) Demosthenex: Ping timeout: 245 seconds 23:54 (join) rplaca 23:55 (join) Demosthenex 23:59 (quit) jeapostrophe: Ping timeout: 264 seconds