00:44 freakazoid: is (let loop () (do stuff...) (loop)) considered kosher? 00:45 mithos28: I use it. I this the main loop of your thread? 00:45 mithos28: *Is 00:45 freakazoid: yep 00:45 mithos28: That is how I would write an infinite loop. If you are doing it a lot, write a macro. 00:46 freakazoid: cool, thanks 00:46 freakazoid: I had been about to say it seemed weird to have a let with no bindings but then I realized it did have a binding, just no arguments to the lambda it was making 00:47 mithos28: I also use (let () …), it makes an internal definition context 00:47 mithos28: so I can then use defines and other similar macros 00:50 freakazoid: makes sense 01:05 (quit) jrslepak: Quit: This computer has gone to sleep 01:07 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/z043QA 01:07 RacketCommitBot: [racket/master] Replaced PLaneT logo - Neil Toronto 01:23 (quit) jeapostrophe: Ping timeout: 255 seconds 01:25 (join) jeapostrophe 01:35 (quit) jeapostrophe: Ping timeout: 244 seconds 01:50 (quit) EmmanuelOga: Ping timeout: 244 seconds 01:57 (quit) freakazoid: Quit: Computer has gone to sleep. 02:03 (quit) francisl: Quit: francisl 02:27 asumu: The new PLaneT logo is slick. 02:35 ohwow: new logo? 02:36 ohwow: ah, on git 02:38 jonrafkind: hooray.. planet.. 03:17 (quit) jonrafkind: Ping timeout: 248 seconds 03:17 (quit) realitygrill: Quit: realitygrill 03:26 (quit) zerokarmaleft: Read error: Operation timed out 03:26 (join) zerokarmaleft 03:27 (join) ambrosebs 03:27 (part) ambrosebs 03:54 (quit) mithos28: Quit: mithos28 03:55 (quit) karswell: Read error: Connection reset by peer 04:09 (join) mithos28 04:13 (join) ahinki 04:15 (quit) mithos28: Quit: mithos28 04:34 (join) bluezenix 05:06 (quit) noam: Read error: Connection reset by peer 05:06 (join) noam 05:25 (quit) bluezenix: Quit: Leaving. 05:46 (join) masm 05:49 (join) bluezenix 06:24 (quit) Shviller: Ping timeout: 260 seconds 06:24 (join) Shviller 07:12 (join) zephyrfalcon 07:17 (join) bluezenix1 07:17 (quit) bluezenix: Ping timeout: 244 seconds 07:25 (join) jeapostrophe 07:26 (join) ambrosebs 07:26 (part) ambrosebs 07:29 (quit) bluezenix1: Quit: Leaving. 07:32 (join) keenbug 07:54 (join) francisl 07:55 (quit) francisl: Client Quit 08:02 (join) samyess 08:02 samyess: bonjour, quelqu'un qui parle francais pourrait m'aider? 08:09 (join) jrslepak 08:18 (quit) masm: Ping timeout: 240 seconds 08:20 (quit) zephyrfalcon: Quit: zephyrfalcon 08:34 (quit) jrslepak: Quit: This computer has gone to sleep 08:40 (join) EmmanuelOga 08:52 (join) masm 09:01 (quit) jeapostrophe: Ping timeout: 258 seconds 09:02 (quit) noam: Read error: Connection reset by peer 09:03 (join) noam 09:08 (quit) samyess: 09:10 (join) francisl 09:11 (quit) Shvillr: Ping timeout: 244 seconds 09:12 (join) Shvillr 09:28 (quit) francisl: Quit: francisl 09:29 (join) ambrosebs 09:29 (part) ambrosebs 09:30 (quit) acarrico: Ping timeout: 240 seconds 09:34 (join) acarrico 09:41 (quit) keenbug: Ping timeout: 248 seconds 10:00 (join) jeapostrophe 10:05 (quit) jeapostrophe: Ping timeout: 248 seconds 10:12 (quit) metadave: Read error: Connection reset by peer 10:12 (join) metadave 10:21 (join) jeapostrophe 10:27 (quit) ahinki: Read error: Connection reset by peer 10:28 (quit) metadave: Read error: Connection reset by peer 10:28 (join) metadave 10:34 (nick) samth_away -> samth 10:34 (join) dnolen 10:35 (quit) dnolen: Client Quit 10:43 (join) vk_noob 10:43 vk_noob: hi all! 10:46 vk_noob: i'm triyng to parse html-file using HTML: Parsing Library, but all i can't understand how to get content of element (as example). Could anyone show me example of code for this? 10:49 vk_noob: or how to get the value of name attr of the first meta element if i have # already? 10:51 (join) freakazoid 10:51 (quit) jeapostrophe: Ping timeout: 252 seconds 10:53 samth: rudybot: init racket 10:53 rudybot: samth: your sandbox is ready 10:53 samth: rudybot: (require html) 10:53 rudybot: samth: Done. 10:53 samth: rudybot: (define x (read-html (open-input-string "foo"))) 10:53 rudybot: samth: error: current-directory: `exists' access denied for /usr/local/src/rudybot/ 10:54 samth: rudybot: (open-input-string "foo") 10:54 rudybot: samth: ; Value: # 10:54 samth: rudybot: (define p (open-input-string "foo")) 10:54 rudybot: samth: Done. 10:54 samth: p 10:54 samth: rudybot: (read-html p) 10:54 rudybot: samth: error: current-directory: `exists' access denied for /usr/local/src/rudybot/ 10:55 samth: vk_noob: sadly, i can't demo w/ rudybot, but you want to use (html-content my-html-struct) 10:56 samth: that will give you a list, which will have the head element in it 10:57 samth: rudybot: (make-head null (list (make-meta (list (attribute #f #f "name" "foo")))))) 10:57 rudybot: samth: ,f read-from-string 10:57 samth: rudybot: eval (make-head null (list (make-meta (list (attribute #f #f "name" "foo"))))) 10:57 rudybot: samth: error: current-directory: `exists' access denied for /usr/local/src/rudybot/ 10:57 samth: offby1, something is wrong here 10:58 samth: vk_noob: that's basically the idea, though 10:59 asumu: Or you could use read-html-as-xml and use (se-path* '(head meta) the-xml) to extract it. 11:01 (quit) attila_lendvai: Ping timeout: 244 seconds 11:04 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/hC38xg 11:04 RacketCommitBot: [racket/master] fix dist specs for "icons" change - Matthew Flatt 11:06 (join) anRch 11:12 (join) MayDaniel 11:14 vk_noob: samth: unfortunatly i don't understand you 11:14 vk_noob: > (head? the-head) #t > (html-content the-head) . . reference to an identifier before its definition: html-content 11:15 samth: vk_noob: how are you requiring the html library? 11:16 vk_noob: (require html) 11:18 samth: sorry, it's html-full-content 11:19 vk_noob: what does it means? 11:19 samth: vk_noob: what are you asking? 11:19 samth: the function is called `html-full-content' 11:23 vk_noob: yes, it works! thank you! 11:23 vk_noob: and the second question - what about extracting attr values? 11:29 vk_noob: for example, if i have access to by the-first-meta, how can i know the value of content attr 11:36 samth: you should use the `html-element-attributes' function 11:36 samth: which will give you a list of attributes 11:37 samth: and then you can use `attribute-value' to extract the value of the appropriate attribute 11:39 vk_noob: i'm think i'm understand. will try. thank you! 11:40 samth: no problem 11:43 (join) hamm 11:48 (quit) freakazoid: Quit: Computer has gone to sleep. 11:56 (join) mithos28 11:56 (join) JoelMcCracken 11:57 (join) jeapostrophe 11:57 (join) dingfeng 12:08 (join) dnolen 12:10 samth: dnolen: your functional js workshop looks quite cool 12:11 dnolen: samth: thanks! should be fun. 12:12 (quit) anRch: Quit: anRch 12:12 (quit) samth: Quit: Ex-Chat 12:12 (quit) hamm: Ping timeout: 240 seconds 12:13 (quit) jeapostrophe: Quit: leaving 12:15 (quit) vk_noob: Quit: Page closed 12:21 (join) samth 12:22 (quit) sstrickl: Quit: sstrickl 12:22 (join) vk_noob 12:23 (join) keenbug 12:24 (join) anRch 12:27 (quit) keenbug: Ping timeout: 255 seconds 12:27 (join) realitygrill 12:28 (join) sstrickl 12:44 (join) freakazoid 13:06 (quit) loz`: Remote host closed the connection 13:06 (join) loz` 13:08 (quit) anRch: Quit: anRch 13:10 (quit) masm: Ping timeout: 248 seconds 13:16 (quit) realitygrill: Read error: Connection reset by peer 13:16 (join) realitygrill 13:19 (quit) realitygrill: Client Quit 13:25 (join) mithos28_ 13:34 (join) keenbug 13:36 (part) metadave: "Leaving" 13:42 (join) realitygrill 13:43 (join) hamm 13:55 (join) masm 14:00 (quit) mithos28_: Quit: mithos28_ 14:14 (join) jonrafkind 14:21 (quit) hamm: Ping timeout: 244 seconds 14:21 (quit) vk_noob: Ping timeout: 265 seconds 14:43 (join) karswell 14:43 (join) DanBurton 14:44 (quit) realitygrill: Read error: Connection reset by peer 14:44 (join) realitygrill 14:53 (quit) masm: Quit: Leaving. 15:06 (join) hamm 15:11 (quit) bfulgham: Quit: bfulgham 15:12 samth: sstrickl/someone else with a mac, can you test http://bugs.racket-lang.org/query/?cmd=view%20audit-trail&database=default&pr=566&return_url=http%3A%2F%2Fbugs.racket-lang.org%2Fquery%2F%3Fdatabase%3Ddefault%3Bdebug%3D%3BState%3Dany%3Bignoreclosed%3DIgnore%2520Closed%3BSynopsis%3D%3Bmultitext%3D%3Bcolumns%3DSynopsis%3Bcolumns%3DCategory%3Bcmd%3Dsubmit%2520query%3Bsortby%3DNumber 15:12 rudybot: http://tinyurl.com/7qqbkpt 15:13 (join) mithos28_ 15:14 stamourv: rudybot saves the day! 15:19 (join) bfulgham 15:20 samth: just closed an 11-year-old bug 15:22 stamourv: Closed as in fixed, or just closed because it was obsolete? 15:23 sstrickl: samth: a) works as advertised here (brings to front), b) since that's from 1998, it's almost certainly OS 8 or earlier, which... yeah, close that. 15:23 jrslepak_: well, the part of it that doesn't appear to refer to Mac OS Classic- specific behavior seems to have been fixed 15:23 sstrickl: right, exactly. 15:23 jrslepak_: drag-and-drop also opens files as it should 15:23 sstrickl: (I just tested it myself also.) 15:23 jrslepak_: (even on the dock!) 15:24 samth: stamourv: closed b/c it got fixed 15:24 samth: just like 566 15:24 sstrickl: in this case, I think it got "fixed" because everyone moved on to a better OS 15:24 jrslepak_: would be nice if right-clicking on the dock icon gave some indication about minimized DrRacket windows though 15:24 sstrickl: jrslepak_: does it not? Does it with other apps? 15:25 sstrickl: (I've never minimized, so...) 15:27 sstrickl: samth: So yes, bug #566 can be closed, but now jrslepak_ has an altogether separate bug to submit :D 15:48 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/n3rm_Q 15:48 RacketCommitBot: [racket/master] Whitespace cleanup. - Vincent St-Amour 15:48 RacketCommitBot: [racket/master] Fix for/sum: when summing something other than integers. - Vincent St-Amour 15:50 (quit) hamm: Ping timeout: 244 seconds 15:58 (quit) freakazoid: Quit: Computer has gone to sleep. 15:59 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/PT8G7g 15:59 RacketCommitBot: [racket/master] fix reconstruction of `provide' forms in module expansion - Matthew Flatt 16:06 (quit) bfulgham: Quit: bfulgham 16:06 (join) bfulgham 16:06 (join) freakazoid 16:11 (quit) realitygrill: Quit: realitygrill 16:18 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/dGr5zQ 16:18 RacketCommitBot: [racket/master] guard against strange syntax objects being passed to 'code' - Robby Findler 16:22 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/IHi6Pw 16:22 RacketCommitBot: [racket/master] change the strategy drracket uses for the convertible? values - Robby Findler 16:46 (quit) PresiserpObabo: Ping timeout: 252 seconds 16:55 (join) realitygrill 17:03 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/uF2vcw 17:03 RacketCommitBot: [racket/master] macro-stepper: fix display of "confusable" objects - Ryan Culpepper 17:03 RacketCommitBot: [racket/master] macro-stepper: fix reset/obsolete/shutdown behavior - Ryan Culpepper 17:03 RacketCommitBot: [racket/master] rackunit: change exn:test to extent exn:fail - Ryan Culpepper 17:03 (quit) freakazoid: Ping timeout: 260 seconds 17:06 (join) freakazoid 17:06 (join) jrslepak 17:10 (quit) EmmanuelOga: Ping timeout: 244 seconds 17:14 (quit) Pauan: Ping timeout: 260 seconds 17:17 (quit) JoelMcCracken: Ping timeout: 255 seconds 17:24 (quit) realitygrill: Quit: realitygrill 17:26 (quit) dingfeng: Ping timeout: 265 seconds 17:29 (join) Pauan 17:39 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/BLpRBg 17:39 RacketCommitBot: [racket/master] more atoms can be shared now, so wrap 'em up - Robby Findler 17:45 (join) francisl 17:49 (quit) rgrinberg: Ping timeout: 260 seconds 17:49 (quit) Shviller: Ping timeout: 258 seconds 17:49 (quit) keenbug: Ping timeout: 252 seconds 17:55 (join) Shviller 17:57 (join) masm 18:02 (join) rgrinberg 18:03 (quit) MayDaniel: Read error: Connection reset by peer 18:12 (quit) DanBurton: Quit: Leaving 18:13 (quit) dnolen: Quit: Page closed 18:47 (quit) loz`: Remote host closed the connection 18:50 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/QmmY2g 18:50 RacketCommitBot: [racket/master] clean up `set!' implementation in ASL to avoid catching failures - Matthew Flatt 18:50 RacketCommitBot: [racket/master] another futures bug fix - Matthew Flatt 19:15 (quit) karswell: Remote host closed the connection 19:20 (join) karswell 19:47 (join) fridim_ 20:35 (quit) masm: Quit: Leaving. 20:47 (quit) jonrafkind: Ping timeout: 244 seconds 21:11 (quit) mithos28_: Quit: mithos28_ 22:17 (quit) freakazoid: Quit: Computer has gone to sleep. 22:21 (nick) elliottcable -> mittens 22:24 (quit) francisl: Quit: francisl 22:33 (nick) mittens -> elliottcable 23:04 (join) jonrafkind 23:19 (join) Lajla 23:19 (join) EmmanuelOga 23:36 (quit) jrslepak: Quit: Leaving 23:47 (quit) EmmanuelOga: Ping timeout: 244 seconds