00:23 (join) veer 00:24 (quit) getpwnam: Ping timeout: 252 seconds 00:24 veer: is there simple one liner to get all files absolute path in a directory ? 00:24 (quit) hash_table: Ping timeout: 252 seconds 00:29 (join) cdidd 00:36 asumu: veer: (map (compose path->complete-path path->string) (directory-list "somedir")) 00:36 asumu: Does that do what you want? 00:41 veer: thanks asumu , I didn't knew about path->complete-path 00:44 (quit) dnolen: Remote host closed the connection 00:47 veer: asumu: it did not work , but build-path does what I want 00:55 (quit) jeapostrophe: Ping timeout: 252 seconds 01:00 eli: veer: In the nightly builds (and the next release) you can do thi: (directory-list #:build? #t) 01:00 eli: asumu: There's no need for a `path->string' there, btw. 01:03 (quit) yoklov: Ping timeout: 244 seconds 01:07 asumu: Oh, good point. 01:52 (join) hkBst 02:32 (quit) noam: Read error: Connection reset by peer 02:32 (join) noam 02:43 (join) dented42 03:12 (quit) jonrafkind: Ping timeout: 260 seconds 03:27 (quit) kvda: Quit: Computer has gone to sleep. 03:49 (join) dzhus 03:52 (quit) veer: Remote host closed the connection 04:29 (join) gciolli 04:48 (quit) bro_down: Remote host closed the connection 04:48 (join) bro_down 04:51 (join) soegaard 04:53 (quit) jyc: Read error: Connection reset by peer 05:03 (quit) gciolli: Ping timeout: 260 seconds 05:36 (join) gciolli 05:36 (part) gciolli 05:42 (quit) ivan\: Ping timeout: 245 seconds 05:44 (join) ivan\ 05:57 (join) veer 06:00 (join) genbattle 06:00 (join) RacketCommitBot 06:00 RacketCommitBot: [racket] plt pushed 4 new commits to master: http://git.io/QDaLYg 06:00 RacketCommitBot: [racket/master] raco setup: print "nothing to do" to stdout instead of sdterr - Matthew Flatt 06:00 RacketCommitBot: [racket/master] adjust font-substitution hack for Mac OS X - Matthew Flatt 06:00 RacketCommitBot: [racket/master] racket/place: avoid place-termination cycle - Matthew Flatt 06:00 (part) RacketCommitBot 06:02 (quit) Kaylin: Quit: Leaving. 06:24 (join) bitonic 06:26 (join) masm 06:29 (quit) genbattle: Read error: Connection reset by peer 06:53 (join) kreol[Ukr] 07:13 (join) mye 07:27 (quit) noam: Read error: Connection reset by peer 07:27 (join) noam 08:01 (join) jesyspa 08:04 (join) kanak 08:12 (quit) noam: Read error: Connection reset by peer 08:12 (join) noam 08:12 (quit) noam: Read error: Connection reset by peer 08:12 (quit) Shviller: Ping timeout: 250 seconds 08:13 (join) noam 08:13 (join) Shviller 08:43 (join) jeapostrophe 08:43 (quit) jeapostrophe: Changing host 08:43 (join) jeapostrophe 08:57 (join) getpwnam 08:57 (join) hash_table 09:18 (quit) jrslepak: Quit: This computer has gone to sleep 09:30 (join) mye_ 09:32 (quit) mye: Ping timeout: 265 seconds 09:34 (quit) bitonic: Ping timeout: 245 seconds 09:36 (join) bitonic 09:38 (quit) hash_table: Ping timeout: 265 seconds 09:38 (quit) getpwnam: Ping timeout: 265 seconds 10:21 (join) zkl 10:22 (part) zkl 10:28 (join) getpwnam 10:28 (join) hash_table 10:29 (quit) soegaard: Ping timeout: 245 seconds 10:43 (join) gciolli 10:51 (quit) hkBst: Quit: Konversation terminated! 10:58 (quit) bitonic: Ping timeout: 245 seconds 11:00 (quit) jesyspa: Quit: leaving 11:01 (quit) jeapostrophe: Ping timeout: 248 seconds 11:12 (join) bitonic 11:17 (quit) bitonic: Ping timeout: 245 seconds 11:27 (join) anRch 11:29 (join) jeapostrophe 11:29 (quit) jeapostrophe: Changing host 11:29 (join) jeapostrophe 11:29 (join) bitonic 11:33 (join) Demosthenes 12:02 (join) mceier 12:07 (quit) getpwnam: Ping timeout: 260 seconds 12:07 (quit) hash_table: Ping timeout: 260 seconds 12:12 (join) antithesis 12:15 (quit) bitonic: Ping timeout: 245 seconds 12:18 (join) gridaphobe 12:19 (quit) gridaphobe: Client Quit 12:22 (join) dspt 12:26 (quit) dented42: Quit: Computer has gone to sleep. 12:28 (join) bitonic 12:29 (quit) dzhus: Read error: Connection reset by peer 12:33 (quit) bitonic: Read error: Operation timed out 12:36 Cryovat: TR question time: 12:37 Cryovat: I imported f32vector from ffi/vector using [opaque F32Vector f32vector?] 12:38 Cryovat: Will that predicate be checked every time an imported function taking f32vector as argument is invoked? 12:41 samth: Cryovat: yes 12:41 samth: but i believe that f32vector? is just a tag check 12:42 (quit) veer: Quit: Leaving 12:46 Cryovat: I was doing some very primitive benchmarking 12:47 Cryovat: https://gist.github.com/1a2005b7a33bdad11871 12:47 Cryovat: Using this code 12:48 Cryovat: It looks like the typed version is slower by a magnitude of four 12:48 (join) bitonic 12:49 (quit) noam: Read error: Connection reset by peer 12:49 (join) noam 12:51 (join) djcb 12:51 (quit) anRch: Quit: anRch 12:54 (join) sindoc 12:54 Cryovat: I need to run, but will be back in a couple of hours, sorry 12:54 (quit) Demosthenes: Ping timeout: 248 seconds 12:59 (join) dented42 13:00 samth: Cryovat: (a) i encourage you to make your gists public 13:00 samth: (b) you can have multiple files in 1 gist 13:00 samth: and yes, that's going to be slow 13:01 samth: b/c of all the contract checks 13:01 samth: if you're really just doing computation on float vectors, use flvectors, and you won't need require/typed at all 13:11 (quit) djcb: Remote host closed the connection 13:21 (quit) dented42: Ping timeout: 250 seconds 13:25 (join) sindoc1 13:25 (quit) sindoc: Read error: Connection reset by peer 13:28 (join) sindoc 13:28 (quit) sindoc1: Read error: Connection reset by peer 13:28 (join) sindoc1 13:28 (quit) sindoc: Read error: Connection reset by peer 13:33 (join) sindoc 13:33 (quit) sindoc1: Read error: Connection reset by peer 13:35 (join) sindoc1 13:35 (quit) sindoc: Read error: Connection reset by peer 13:35 (join) sindoc 13:35 (quit) sindoc1: Read error: Connection reset by peer 13:36 (part) sindoc 13:36 (join) sindoc 13:37 (join) sindoc1 13:37 (quit) sindoc: Read error: Connection reset by peer 13:39 (join) jonrafkind 13:39 (quit) jonrafkind: Changing host 13:39 (join) jonrafkind 13:48 (join) yakov 13:49 (quit) gciolli: Quit: Leaving. 13:54 (join) dented42 13:58 (join) jao 13:58 (quit) jao: Changing host 13:58 (join) jao 14:04 (join) Hortisimo 14:05 Hortisimo: Hello, I am trying to integrate DrRacket into the GIMP using Dbus for summer research 14:05 Hortisimo: anyone know where I should start learning how to do that? 14:06 Hortisimo: thanks 14:06 stamourv: Hortisimo: Sounds awesome! 14:07 stamourv: I haven't worked with either GIMP or DBus, but it seems like a first step would be to find/write a Racket library for DBus. 14:07 Hortisimo: thanks, i think the biggest problem for me is learning how to make a dbus library 14:07 Hortisimo: yeah 14:08 stamourv: If you need to write one, you probably want to use an existing C library and the Racket FFI. 14:08 Hortisimo: cool, i'll check it out. thanks 14:08 stamourv: I haven't used the FFI myself, but I hear it's really easy to use. 14:09 stamourv: Several people on this channel have used it a lot, feel free to ask any questions you may have. :) 14:10 jonrafkind: there is a dbus interface in python you can probably base your library after 14:11 Hortisimo: awesome 14:11 Hortisimo: and i'd find that in the FFI? 14:13 (quit) antithesis: Quit: antithesis 14:13 (join) antithesis 14:14 jonrafkind: what do you mean in the ffi 14:14 jonrafkind: i mean probably python uses its own ffi to talk to dbus, through ctypes or something 14:14 jonrafkind: so you can copy its interface with the racket ffi 14:14 jonrafkind: actually dbus is quite string based so maybe you don't even need any c functions to call it.. 14:14 (join) Mungojelly 14:16 Mungojelly: hi! i'm learning some racket. why are there so few things on this planet thing? is it hard to get something posted there, or is really no one sharing much in racket? 14:17 asumu: Mungojelly: well, it's not as well populated as CPAN or Hackage yet. If you're comparing to those, it's just because there are fewer developers using Racket (yet). 14:17 asumu: There are people who also develop Racket code on github. 14:17 asumu: And haven't packaged it up on PLaneT (for various reasons) 14:18 Mungojelly: ok thanks asumu, i'll look around on github and see what's there :) 14:18 asumu: Is there a particular thing you're looking for? 14:18 Mungojelly: not really. i just learned about php for a few days and it made me sad. :( there's plenty of stuff written in that. :( if there's not much written in Racket that makes me double sad. :(( 14:19 Mungojelly: also i was wondering if i wrote random fun junk in racket if it would be hard to get it on PLaneT :D 14:19 (join) yakov_ 14:19 asumu: No, it's easy to get packages on PLaneT so feel free! 14:20 asumu: There's also a featureful web server and web app libraries in Racket, so I think it's fairly competitive with PHP. 14:20 asumu: (as a tool-chain. obviously as a language I think it's far better :)) 14:21 Mungojelly: php left a foul taste in my mouth, i'm sorry i mentioned it, the only language i can think of in its class is old fashioned basic with lots of gotos. 14:21 Mungojelly: actually that almost makes me see the appeal. i loved basic when i was little. 14:21 Mungojelly: i copied a whole program once out of a basic magazine my dad got me. :D 14:22 asumu: I used BASIC a bit when I was younger too. 14:22 asumu: (though I never looked back when I found Ruby and then Scheme) 14:22 Mungojelly: i could make racket a basic mode that'd be fun ;) 14:23 (quit) yakov: Ping timeout: 250 seconds 14:23 (part) kreol[Ukr]: "Ухожу я от вас" 14:24 Mungojelly: yeah, when you find the real languages it's like "oh, why's everyone else doing it wrong then?" but i'm still on the "huh?" side of that with monads, so i guess we're all at our own place. 14:25 Mungojelly: OH i remembered my actual, racket-related question! where can i find a formal grammar?? 14:26 (quit) noam: Read error: Connection reset by peer 14:26 Mungojelly: i like to read the formal grammars of languages i'm learning. i know lojban, so grammars of mere computer languages no longer scare me. :D 14:26 (join) noam 14:27 Mungojelly: does that not make sense with racket? is the formal grammar of racket the grammar of s-expressions? it's like one line? 14:29 Mungojelly: oh i guess there's the grammar for comments and stuff, and the #lang line. that might still be useful to me. i just learned the #| |# comment form a few moments ago. 14:30 friscosam: Mungojelly: if you're learning how languages are implemented in Racket, building a BASIC is a nice exercise: https://github.com/samdphillips/basic 14:31 (quit) yakov_: Ping timeout: 252 seconds 14:31 asumu: Mungojelly: http://pre.racket-lang.org/docs/html/reference/syntax-model.html#(part._fully-expanded) 14:31 (quit) sindoc1: Quit: Leaving. 14:31 asumu: That's probably the closest thing to a formal grammar of Racket. 14:32 asumu: The thing is, you won't actually program in that language though. 14:32 asumu: Since the base "racket" language is actually built as macros on top of that core language. 14:33 Mungojelly: aha, so some of the usual grammar is in those macros? 14:34 Mungojelly: i've poked around the racket source a little but i don't understand it quite yet :) 14:35 Mungojelly: but it's beautiful! good job, everyone! 14:35 (quit) jeapostrophe: Ping timeout: 245 seconds 14:36 (quit) dented42: Quit: Computer has gone to sleep. 14:37 asumu: Thanks, and yes, the language(s) you'll actually use in Racket are defined by additional macros. 14:37 asumu: You may also want to see http://docs.racket-lang.org/reference/syntax.html 14:37 asumu: (more useful than the core syntax) 14:37 asumu: And the Guide is probably the most helpful in actually learning the language. 14:37 asumu: s/syntax/grammar/ 14:39 Mungojelly: yes, i went through How to Design Programs a couple of years ago i think it was, and then recently i went through some tutorials, and now i'm reading the Guide and then i'm going to read the Reference. 14:48 (quit) Hortisimo: Quit: Page closed 14:48 (join) dented42 14:50 (join) netrino 15:13 (quit) dented42: Quit: Computer has gone to sleep. 15:21 Shambles_: If you're encouraging people to build BASIC's, I do hope you encourage 'em to build BBC BASIC's. I think that was the only one with references 'back in the day', so you could have real data structures, which is actually the main thing 'wrong with' old BASIC's. Most actually allowed structured programming (I think GW-BASIC might have been an exception, but I'm not sure), even if people didn't use it. 15:29 Cryovat: samth: Delayed thanks for your response 15:29 Cryovat: Unfortuantely, flvector isn't an option 15:30 Cryovat: The project I'm tinkering with is a game that uses OpenGL for graphics 15:31 Cryovat: And unless I've misunderstood how flvector works/is represented in memory, the ffi vectors are the only things that looks like what it expects 15:38 (join) jeapostrophe 15:38 (quit) jeapostrophe: Changing host 15:38 (join) jeapostrophe 15:49 (join) Kaylin 15:51 (join) FareTower 15:53 Cryovat: If a flvector looks the same in memory as a f32/f64vector, I can use that instead 15:53 (join) Demosthenes 15:56 Cryovat: For the record, I'm using buffer objects, and the functionality depends on OpenGL being able to copy contiguous arrays of homogenous numbers between system and video memory 15:57 (quit) FareTower: Ping timeout: 245 seconds 16:01 (join) Sgeo 16:02 (join) anRch 16:05 (join) FareTower 16:13 samth: Cryovat: flvectors are also represented homongenously 16:14 samth: see `flvector->cpointer` 16:14 samth: rudybot: (require ffi) 16:14 rudybot: samth: your sandbox is ready 16:14 rudybot: samth: error: default-load-handler: cannot open input file: "/mnt/racket-5.2.900.1/collects/ffi/main.rkt" (No such file or directory; errno=2) 16:14 samth: rudybot: (require ffi/unsafe) 16:14 rudybot: samth: Done. 16:14 samth: rudybot: doc flvector->cpointer 16:14 rudybot: samth: http://docs.racket-lang.org/foreign/Miscellaneous_Support.html#(def._((quote._~23~25foreign)._flvector-~3ecpointer)) 16:17 Cryovat: Ah, great 16:17 Cryovat: Will the data type depend on architecture? 16:17 samth: no, it shouldn't 16:17 samth: ah, but it's not f32s 16:18 samth: so that might be an issue 16:20 (quit) kanak: Read error: Operation timed out 16:20 Cryovat: Are they doubles? 16:23 samth: yes 16:26 Cryovat: Damn 16:27 Cryovat: Switching to an flvector made my hacky benchmark twice as fast as the non-typed version 16:27 Cryovat: But the opengl.org wiki recommends against doubles 16:30 Cryovat: Maybe i could hack together some unsafe code that copies a double array to a f32vector 16:32 (quit) Kaylin: Quit: Leaving. 16:33 samth: that would be tricky 16:33 samth: you'd have to convert doubles to floats 16:33 samth: really tr should just support f32vectors 16:34 Cryovat: If I knew how, I'd make a patch for it 16:37 Cryovat: Anyways, thanks for taking the time to answer my questions :) 16:38 (join) Kaylin 16:39 (quit) Kaylin: Read error: Connection reset by peer 16:40 (join) Kaylin 16:43 (quit) mye_: Ping timeout: 256 seconds 17:02 (quit) netrino: Quit: Ave! 17:02 (join) getpwnam 17:04 (join) samth_ 17:25 (quit) anRch: Quit: anRch 17:35 (quit) antithesis: Quit: antithesis 17:45 (quit) jonrafkind: Ping timeout: 260 seconds 18:27 (join) jonrafkind 18:27 (quit) jonrafkind: Changing host 18:27 (join) jonrafkind 18:27 (quit) Kaylin: Quit: Leaving. 18:35 (join) jyc 18:40 (join) Kaylin 18:52 (join) jrslepak 18:52 (quit) jeapostrophe: Ping timeout: 245 seconds 18:55 (join) dzhus 19:09 (quit) mceier: Quit: leaving 19:18 (join) samth 19:18 (quit) samth: Changing host 19:18 (join) samth 19:22 (nick) samth -> samth_away 19:33 (quit) samth_: Ping timeout: 265 seconds 19:36 (quit) dzhus: Ping timeout: 244 seconds 19:41 (quit) bitonic: Quit: WeeChat 0.3.7 19:42 (join) ssbr_ 19:54 (quit) Demosthenes: Ping timeout: 250 seconds 19:57 (join) Demosthenes 19:57 (join) dnolen 20:01 (join) dented42 20:05 (quit) dented42: Ping timeout: 244 seconds 20:08 Kaylin: hi, just started playing with racket and tcp, except I seem to be doing something wrong here, it's probably obvious bc I am a total noob but what is it? http://pastebin.com/GcagiSNg 20:08 Kaylin: I tried to connect to my friend's IRC server, I can connect with telnet but this code doesn't seem to work, when I use printf it looks like the correct data output in DrRacket, idk what I screwed up. 20:08 (join) kvda 20:14 (quit) jrslepak_neu: Ping timeout: 245 seconds 20:15 (join) dented42 20:16 (quit) stchang: Read error: Operation timed out 20:17 (join) jrslepak_neu 20:18 (join) stchang 20:24 (quit) dented42: Ping timeout: 244 seconds 20:24 (quit) stchang: Read error: Operation timed out 20:25 (quit) Demosthenes: Ping timeout: 265 seconds 20:26 (join) dented42 20:26 (join) Demosthenes 20:27 (join) stchang 20:32 (quit) dented42: Ping timeout: 252 seconds 20:43 (join) dented42 20:49 (quit) masm: Quit: Leaving. 20:52 (quit) dented42: Ping timeout: 260 seconds 21:15 (quit) jao: Ping timeout: 252 seconds 21:33 asumu: Kaylin: maybe it's the buffering mode? 21:34 Kaylin has no idea. 21:41 (join) jeapostrophe 21:41 (quit) jeapostrophe: Changing host 21:41 (join) jeapostrophe 21:42 (join) dented42 21:47 (quit) Nisstyre: Quit: Leaving 21:51 (quit) rapacity: Ping timeout: 244 seconds 22:02 (join) xwolf- 22:02 (quit) xwolf-: Client Quit 22:06 (quit) Sgeo: Read error: Connection reset by peer 22:06 (join) Sgeo 22:15 (quit) getpwnam: Read error: Connection reset by peer 22:23 (join) hash_table 22:23 (quit) acarrico: Ping timeout: 252 seconds 22:24 (join) getpwnam 22:25 (join) acarrico 22:27 (join) jonathansizz 22:46 (join) manu3000 23:00 (quit) FareTower: Quit: Leaving 23:02 (join) Sgeo_ 23:02 (join) random_malice 23:03 (join) bro_grammer 23:04 (join) DraX_ 23:04 (quit) noam: Read error: Connection reset by peer 23:04 (join) noam 23:05 (join) spanner_ 23:05 (join) errstr- 23:05 (quit) Sgeo: Read error: Connection reset by peer 23:05 (quit) DraX: Quit: Disconnecting from stoned server. 23:05 (quit) errstr: Quit: ZNC - http://znc.sourceforge.net 23:05 (quit) spanner: Quit: No Ping reply in 180 seconds. 23:06 (quit) hash_table: Ping timeout: 260 seconds 23:06 (quit) getpwnam: Ping timeout: 260 seconds 23:12 (quit) kvda: Quit: Computer has gone to sleep. 23:15 (join) kvda 23:18 (nick) sizz_ -> sizz 23:20 (quit) dented42: Ping timeout: 244 seconds 23:49 (quit) kvda: Quit: Computer has gone to sleep. 23:53 (join) PfhatHome