00:44 (join) cdidd 00:49 neilv: this is not really about racket, but since the channel is dead-silent... for the rackout living room media appliance thing... when it is being used to play music, any opinions on whether it can just blank the display, or will most people want some visualization thing? 00:50 jonrafkind: visualization should be an option 00:50 jonrafkind: make it run xscreensaver 00:50 (join) jg_ 00:50 jg_: @ 00:51 jg_: help 00:51 (part) jg_ 00:51 neilv: i'm wondering what to invest in first. both take considerable effort to do right in an appliance-y resilient way 00:51 jonrafkind: blanking vs visualization? 00:52 neilv: yes 00:52 jonrafkind: whats so hard about it 00:52 neilv: the details 00:54 neilv: examples: what kind of blanking (black screen, some kind of dpms level, acpi, etc.), will it work out of the box on all devices (say, some tvs will cut out speakers), can we be sure to turn it back on always, are we going to be powering on and off a huge tv and quickly kill it every time the song changes, etc. 00:55 jonrafkind: black screen 00:56 neilv: that would probably be the default out-of-box, yes 00:56 neilv: but eventually we'd want to power down the display as an option 01:03 neilv: i think i'll adapt the fullscreen text-on-black-background "greeter" window go blank while music is playing, and then restore the greeting when music stopped 01:07 neilv: this is what the greeter window looks like (running under kvm, so it's not getting reverse dns and displaying an fqdn): http://imgur.com/F75qL 01:24 (quit) yoklov: Read error: Connection reset by peer 01:26 (join) yoklov_ 01:27 (quit) bjz: Ping timeout: 255 seconds 01:36 (join) offby1 01:36 (quit) offby1: Changing host 01:36 (join) offby1 01:41 (join) dzhus 01:47 (quit) adu: Quit: adu 01:52 (join) vhsmaia_ 02:02 (quit) offby1: *.net *.split 02:02 (quit) neilv: *.net *.split 02:02 (quit) ioa: *.net *.split 02:02 (quit) jao: *.net *.split 02:02 (quit) jyc_: *.net *.split 02:02 (quit) SeanTAllen: *.net *.split 02:02 (quit) danking: *.net *.split 02:02 (quit) cky: *.net *.split 02:03 (quit) Nisstyre-laptop: *.net *.split 02:03 (quit) Kaylin: Quit: Leaving. 02:04 (join) Nisstyre-laptop 02:04 (quit) vhsmaia_: Remote host closed the connection 02:22 (quit) Nisstyre-laptop: Quit: Leaving 02:43 (quit) m4burns: *.net *.split 02:43 (quit) ozzloy: *.net *.split 02:43 (quit) ChanServ: *.net *.split 02:43 (quit) jonrafkind: *.net *.split 02:43 (quit) CoverSlide: *.net *.split 02:43 (quit) Shambles_: *.net *.split 02:43 (quit) stchang: *.net *.split 02:43 (quit) cataska: *.net *.split 02:43 (quit) stamourv: *.net *.split 02:43 (quit) felipe: *.net *.split 02:43 (quit) yoklov_: *.net *.split 02:43 (quit) cdidd: *.net *.split 02:43 (quit) spanner: *.net *.split 02:43 (quit) jaaso: *.net *.split 02:43 (quit) tewk: *.net *.split 02:45 (join) Draggor 02:45 (join) Shambles_ 02:48 (join) CoverSlide 02:48 (join) jonrafkind 02:48 (join) yoklov_ 02:48 (join) cdidd 02:48 (join) m4burns 02:48 (join) spanner 02:48 (join) cataska 02:48 (join) ozzloy 02:48 (join) jaaso 02:48 (join) stamourv 02:48 (join) felipe 02:48 (join) samth_away 02:48 (join) tewk 02:48 (join) ChanServ 02:48 (join) wkelly 02:50 (join) otterdam 02:59 (quit) otterdam: Changing host 02:59 (join) otterdam 03:17 (join) ewemoa 03:17 (join) enoan 03:18 ewemoa: i'm having trouble with the sha1 function in racket 5.3's file/sha1: http://pastie.org/private/lylydpfyuoxxxolpmq4wa 03:22 jonrafkind: works for me 03:23 ewemoa: jonrafkind: thanks for checking 03:23 ewemoa: i guess i will try under another os 03:23 jonrafkind: although the file i tested on has a sha1 starting with 'c' 03:23 jonrafkind: also racket's sha1 is absurdly slow 03:24 jonrafkind: sha1sum on the command line took an order of magnitude less time 03:24 ewemoa: i only seem to have problems with sha1 results that are supposed to have leading zeros 03:24 ewemoa: it does seem slow yes 03:24 jonrafkind: do you have a small file that has leading 0's in its sha1 03:25 ewemoa: i will look for one 03:25 jonrafkind: ok i found one 03:25 jonrafkind: just a sec 03:25 jonrafkind: ok you are right, it prints 39 instead of 40 now, bcause the sum has a leading 0 03:26 ewemoa: thanks for the verification 03:28 jonrafkind: well if you use sha1-bytes you will get the full string 03:28 jonrafkind: i guess converting each byte chops off leading 0's 03:29 ewemoa: aha 03:30 jonrafkind: hm, but from my little tests it seems bytes->hex-string works.. 03:30 jonrafkind: if you manually execute (bytes->hex-string (sha1-bytes in)) then it works 03:30 ewemoa: thanks! 03:31 jonrafkind: (define (sha1 in) 03:31 jonrafkind: (format "~x" (sha1-input in))) 03:31 jonrafkind: because sha1 uses ~x to print which somehow takes off leading 0's 03:31 jonrafkind: im not exactly sure how ~x works but it definitely does not use bytes->hex-string to work 03:32 (join) Nisstyre-laptop 03:32 jonrafkind: can you file a bug report for this 03:32 ewemoa: how does one do that? 03:32 jonrafkind: bugs.racket-lang.org 03:32 ewemoa: thanks i'll look into it 03:32 ewemoa: thanks for your help 03:33 jonrafkind: if you can attach a file that has leading 0's in its sha1 that would be good too (a small file) 03:33 ewemoa: i will look for a small one 03:35 (join) RacketCommitBot 03:35 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/lLm_tg 03:35 RacketCommitBot: racket/master cdf7cad Eli Barzilay: New Racket version 5.3.1.3. 03:35 (part) RacketCommitBot 03:39 (quit) jonrafkind: Ping timeout: 244 seconds 03:40 (quit) ambrosebs: Ping timeout: 240 seconds 03:42 (quit) CoverSlide: *.net *.split 03:42 (quit) m4burns: *.net *.split 03:42 (quit) ozzloy: *.net *.split 03:42 (quit) samth_away: *.net *.split 03:42 (quit) ChanServ: *.net *.split 03:42 (quit) wkelly: *.net *.split 03:42 (quit) enoan: *.net *.split 03:42 (quit) cataska: *.net *.split 03:42 (quit) stamourv: *.net *.split 03:42 (quit) felipe: *.net *.split 03:42 (quit) yoklov_: *.net *.split 03:42 (quit) cdidd: *.net *.split 03:42 (quit) spanner: *.net *.split 03:42 (quit) jaaso: *.net *.split 03:42 (quit) tewk: *.net *.split 04:05 (join) cdidd 04:20 (join) gciolli 04:24 (join) bitonic 04:29 (join) samth_away 04:29 (join) CoverSlide 04:29 (join) m4burns 04:29 (join) spanner 04:29 (join) cataska 04:29 (join) ozzloy 04:29 (join) jaaso 04:29 (join) stamourv 04:29 (join) tewk 04:29 (join) ChanServ 04:30 (quit) otterdam: Excess Flood 04:31 (join) wkelly 04:32 (join) otterdam 04:41 (quit) gciolli: Quit: Leaving. 04:41 (quit) otterdam: Changing host 04:41 (join) otterdam 04:41 (quit) cdidd: Read error: Connection reset by peer 04:59 (join) offby1 04:59 (join) neilv 04:59 (join) Shviller 04:59 (join) SeanTAllen 04:59 (join) cky 04:59 (join) danking 05:08 (quit) offby1: *.net *.split 05:08 (quit) neilv: *.net *.split 05:08 (quit) Shviller: *.net *.split 05:08 (quit) SeanTAllen: *.net *.split 05:08 (quit) danking: *.net *.split 05:08 (quit) cky: *.net *.split 05:14 (join) offby1 05:14 (join) neilv 05:14 (join) Shviller 05:14 (join) SeanTAllen 05:14 (join) danking 05:14 (join) cky 05:14 (quit) otterdam: Excess Flood 05:16 (join) otterdam 05:34 (quit) wkelly: *.net *.split 05:34 (quit) samth_away: *.net *.split 05:34 (quit) CoverSlide: *.net *.split 05:34 (quit) m4burns: *.net *.split 05:34 (quit) ozzloy: *.net *.split 05:34 (quit) Shviller: *.net *.split 05:34 (quit) SeanTAllen: *.net *.split 05:34 (quit) danking: *.net *.split 05:34 (quit) cky: *.net *.split 05:34 (quit) offby1: *.net *.split 05:34 (quit) neilv: *.net *.split 05:34 (quit) ChanServ: *.net *.split 05:34 (quit) cataska: *.net *.split 05:34 (quit) stamourv: *.net *.split 05:34 (quit) spanner: *.net *.split 05:34 (quit) jaaso: *.net *.split 05:34 (quit) tewk: *.net *.split 05:38 (join) cky 05:38 (join) danking 05:38 (join) SeanTAllen 05:38 (join) Shviller 05:38 (join) neilv 05:38 (join) offby1 05:38 (join) wkelly 05:38 (join) samth_away 05:38 (join) CoverSlide 05:38 (join) m4burns 05:38 (join) spanner 05:38 (join) cataska 05:38 (join) ozzloy 05:38 (join) jaaso 05:38 (join) ChanServ 05:38 (join) tewk 05:38 (join) stamourv 05:44 (quit) samth_away: *.net *.split 05:44 (quit) CoverSlide: *.net *.split 05:45 (join) cdidd 05:45 (quit) wkelly: *.net *.split 05:54 (join) samth_away 05:55 (join) CoverSlide 05:56 (join) wkelly 06:05 (part) ewemoa 06:09 (quit) bitonic: Ping timeout: 246 seconds 06:24 (join) veer 06:52 (join) bitonic 06:56 (join) MayDaniel 07:06 (quit) bitonic: Ping timeout: 246 seconds 07:09 (join) bitonic 07:38 (join) ambrosebs 07:50 (join) gciolli 08:05 (quit) gciolli: Quit: Leaving. 08:06 (quit) ambrosebs: Ping timeout: 252 seconds 08:12 (join) masm 08:18 (join) nathanpc 08:37 (quit) neilv: Ping timeout: 245 seconds 08:37 (join) jeapostrophe 08:37 (quit) jeapostrophe: Changing host 08:37 (join) jeapostrophe 08:47 (quit) veer: Quit: Leaving 08:53 (join) hash_table 08:53 (quit) jeapostrophe: Ping timeout: 245 seconds 08:55 (join) jeapostrophe 08:55 (quit) jeapostrophe: Changing host 08:55 (join) jeapostrophe 08:59 (join) ambrosebs 09:00 (join) mithos28 09:19 (quit) dzhus: Ping timeout: 252 seconds 09:23 (join) jao 09:23 (quit) jao: Changing host 09:23 (join) jao 09:30 (join) didi` 09:31 didi`: rudybot: (find-seconds 0 0 0 19 10 2008) 09:31 rudybot: didi`: your sandbox is ready 09:31 rudybot: didi`: error: reference to an identifier before its definition: find-seconds in module: 'program 09:31 didi`: rudybot: (require racket/date) 09:31 rudybot: didi`: Done. 09:31 didi`: rudybot: (find-seconds 0 0 0 19 10 2008) 09:31 rudybot: didi`: error: car: expects argument of type ; given: #f 09:34 (quit) didi`: Client Quit 09:38 (join) anRch 09:52 (join) adu 10:06 (quit) adu: Quit: adu 10:35 (join) mizu_no_oto 10:49 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 10:54 (quit) cdidd: Remote host closed the connection 10:55 (join) mizu_no_oto 10:56 (quit) anRch: Quit: anRch 10:58 (join) bro_grammer 11:01 (quit) hash_table: Ping timeout: 265 seconds 11:30 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 11:47 (join) hash_table 11:49 (quit) bro_grammer: Ping timeout: 268 seconds 11:53 (quit) bitonic: Read error: Connection reset by peer 11:54 (join) bitonic 11:54 (join) mizu_no_oto 11:56 (quit) bitonic: Remote host closed the connection 11:56 (join) bitonic 12:06 (join) cdidd 12:07 (quit) jeapostrophe: Ping timeout: 265 seconds 12:19 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 12:20 (join) mizu_no_oto 12:27 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 12:28 (join) Shvillr_ 12:28 (quit) Shviller: Disconnected by services 12:28 (nick) Shvillr_ -> Shviller 12:30 (quit) ambrosebs: Ping timeout: 272 seconds 12:40 (join) stchang 12:42 (join) jeapostrophe 12:42 (quit) jeapostrophe: Changing host 12:42 (join) jeapostrophe 12:47 (join) mizu_no_oto 12:48 (quit) mizu_no_oto: Client Quit 12:48 (quit) jeapostrophe: Ping timeout: 248 seconds 12:52 (join) mizu_no_oto 13:11 (quit) jao: Ping timeout: 245 seconds 13:32 (join) jonrafkind 13:35 (quit) offby1: Quit: ERC Version 5.3 (IRC client for Emacs) 13:36 (join) offby1 13:36 (quit) offby1: Changing host 13:36 (join) offby1 13:56 (join) RacketCommitBot 13:56 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/KyDX3A 13:56 RacketCommitBot: racket/master 5861bf0 Sam Tobin-Hochstadt: Make Typed Racket name printing more deterministic. 13:56 (part) RacketCommitBot 13:57 (join) adu 14:06 (join) MayDaniel_ 14:07 (quit) MayDaniel: Ping timeout: 245 seconds 14:09 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 14:09 (join) RacketCommitBot 14:09 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/La6hIQ 14:09 RacketCommitBot: racket/master cfb256f Matthew Flatt: cocoa: update PSMTabBarControl for x86_64... 14:09 RacketCommitBot: racket/master 55b358f Matthew Flatt: list PSMTabBarControl among included software 14:09 (part) RacketCommitBot 14:15 (quit) MayDaniel_: 14:16 (join) bro_grammer 14:18 (quit) hash_table: Ping timeout: 260 seconds 14:19 (quit) mithos28: Quit: mithos28 14:20 (join) mithos28 14:33 (join) jackhammer2022 14:35 (join) mizu_no_oto 14:36 (quit) mizu_no_oto: Client Quit 14:41 (quit) Nisstyre-laptop: Ping timeout: 264 seconds 14:42 (join) mizu_no_oto 14:45 (quit) cdidd: Remote host closed the connection 14:45 (join) dzhus 14:46 (join) Nisstyre-laptop 14:52 (join) RacketCommitBot 14:52 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/UO-hoQ 14:52 RacketCommitBot: racket/master 995af02 James Swaine: Make future trace docs point to the right place when discussing gc-info 14:52 (part) RacketCommitBot 14:56 (quit) jschuster: Read error: No route to host 14:57 (join) jschuster 15:00 (quit) bitonic: Ping timeout: 245 seconds 15:00 (join) untrusted 15:03 (join) jeapostrophe 15:03 (quit) jeapostrophe: Changing host 15:03 (join) jeapostrophe 15:08 (quit) adu: Quit: adu 15:10 (quit) dzhus: Remote host closed the connection 15:12 (part) Saizan 15:22 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 15:32 (part) untrusted: "ERC Version 5.3 (IRC client for Emacs)" 16:18 (quit) Nisstyre-laptop: Ping timeout: 260 seconds 16:26 (join) jao 16:26 (quit) jao: Changing host 16:26 (join) jao 16:26 (join) anRch 16:38 (join) mizu_no_oto 16:39 (quit) mizu_no_oto: Client Quit 16:47 (join) Nisstyre-laptop 16:51 (join) tfb 17:05 (quit) jeapostrophe: Ping timeout: 245 seconds 17:06 (quit) mithos28: Quit: mithos28 17:07 (quit) Nisstyre-laptop: Ping timeout: 248 seconds 17:07 (join) mithos28 17:31 (join) shalalalalalaaal 17:31 shalalalalalaaal: hi 17:31 shalalalalalaaal: is there a way to have a servlet monitor file changes to a template and reload the template? 17:31 shalalalalalaaal: so I don't have to re-compile or re-interpret the rkt file to get the updated template? 17:36 (quit) tfb: Quit: gone 17:40 (join) nilyaK 17:41 jonrafkind: you might be able to do the same hack that I tried recently for gui programs. detect when the file changes, then copy it to a new module in /tmp, then dynamic-require the new module into the servlet 17:42 jonrafkind: if you can update the servlet paths to use that new module then it might work 17:42 (join) mizu_no_oto 17:43 shalalalalalaaal: jonrafkind: can you elaborate? 17:44 jonrafkind: well if you have a file used by a servlet called a.rkt and it changes because you are editing it, then have a thread which monitors the file for changes (maybe with md5sum) and if it changes then do (copy-file "a.rkt" "/tmp/x1.rkt") where x1 is some generated name. then do (dynamic-require "/tmp/x1.rkt" 'servlet-thing) in the server 17:45 shalalalalalaaal: ah, I see 17:45 jonrafkind: but you will have to name it a new module each time the file changes otherwise racket wont load it 17:46 shalalalalalaaal: k 17:47 shalalalalalaaal: i wonder, but doubt, if there is support for inotify in racket 17:47 shalalalalalaaal: for linux 17:48 jonrafkind: it shouldnt be too hard to write an ffi binding for it 18:01 (quit) anRch: Quit: anRch 18:05 (quit) nilyaK: Quit: Leaving. 18:07 (join) scott` 18:07 (quit) scott`: Changing host 18:07 (join) scott` 18:07 (nick) scott` -> Guest88075 18:14 (join) scott_ 18:14 (quit) scott_: Changing host 18:14 (join) scott_ 18:20 (join) FrostyX 18:20 FrostyX: hi 18:20 mithos28: FrostyX: Hello 18:22 FrostyX: I wanna ask about somethink. With roomamtes we discussed about it, but we didnt find any solution ... why some of us cant run code where is redefinition of variable ? ... (define a 5) and second line (define a 6) give us some error ... module: duplicate definition for identifier in: a 18:23 FrostyX: do you know where is problem ? 18:24 mithos28: How are you running that? You will have different answers depending on interactive window vs. definition window. And depending on the language you are using 18:26 FrostyX: Personaly i write code in drracket in the window on top and run it by run button in toolbar. I have "determine language from source" and in code window it generated me #lang racket 18:26 mithos28: Ok so you should be getting an error of 'duplicate definition 18:27 FrostyX: why that ? 18:27 mithos28: Because you are defining 'a' twice in a module 18:27 mithos28: And that is disallowed 18:28 mithos28: define in a module, is different from define at the top-level 18:30 FrostyX: but it works for some my roommates and in learning script (i dont know if it is right word) it is written its possible to do ... so what I should do to get it work for me 18:30 FrostyX: ? 18:30 FrostyX: please 18:31 mithos28: If you really want that you could use #lang racket/load, but I don't think you want the top level behavior 18:32 mithos28: Why do you want to be able to write two defines, instead of just changing the first one 18:34 FrostyX: It is normal to modify variable or not ? ... for example when i want increment variable ... (define a (+ a 1)) 18:34 mithos28: You want set! for that 18:35 mithos28: (set! a (+ a 1)) 18:35 mithos28: define at the toplevel acts like set! on the second or later case 18:36 (join) RacketCommitBot 18:36 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/5Qxj9A 18:36 RacketCommitBot: racket/master 47a33f2 Danny Yoo: Added another example for for/fold/derived: for/max.... 18:36 (part) RacketCommitBot 18:37 FrostyX: oh okey. So it is written wrong in my script ... maybe set is in next chapters ... I was confused cause there are working examples with two defines to one symbol ... and it work for some of my schoolmates (how it is possible then?) .. 18:37 FrostyX: and thx for solution :-) 18:37 mithos28: What #lang are they using 18:38 (join) dzhus 18:39 FrostyX: I can ask ... 18:39 (join) dnolen 18:40 FrostyX: Okey, I have asked on our facebook group .. have to wait for answer .. 18:40 (join) bjz 18:47 (join) bitonic 18:54 (quit) dzhus: Remote host closed the connection 19:05 FrostyX: mithos28: no answers. they are sleeping I guess. I'll tell you tomorrow okey ? :) 19:24 (join) adu 19:42 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 19:43 (join) Shviller 19:59 (join) felipe 20:06 (join) mizu_no_oto 20:06 (quit) adu: Quit: adu 20:21 (join) Nisstyre-laptop 20:29 (quit) eMBee: Ping timeout: 272 seconds 20:32 (quit) sizz: Remote host closed the connection 20:33 (join) eMBee 20:35 (quit) jonrafkind: Ping timeout: 240 seconds 20:36 (join) sizz 21:32 (quit) shalalalalalaaal: Ping timeout: 245 seconds 21:38 (quit) FrostyX: Ping timeout: 252 seconds 21:53 (quit) pavelpenev: Read error: Operation timed out 22:06 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 22:11 (quit) bjz: Quit: Leaving... 22:15 (quit) masm: Quit: Leaving. 22:23 (quit) nathanpc: Quit: Computer has gone to sleep. 22:24 (join) mizu_no_oto 22:38 (quit) mithos28: Quit: mithos28 22:40 (join) mithos28 22:42 (join) bjz 22:45 (quit) dnolen: Ping timeout: 246 seconds 23:02 (join) dnolen 23:26 (quit) dnolen: Ping timeout: 256 seconds 23:40 (join) cdidd 23:41 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 23:51 (quit) bro_grammer: Ping timeout: 272 seconds