00:14 (quit) jao: Ping timeout: 240 seconds 00:25 (quit) SeanTAllen: Read error: Connection reset by peer 00:35 (quit) realitygrill: Quit: realitygrill 00:45 (quit) jeapostrophe: Ping timeout: 252 seconds 00:51 (quit) dnolen: Read error: Connection reset by peer 00:54 (quit) Demosthenes: Read error: Connection reset by peer 00:58 (join) karswell 00:59 (join) Demosthenes 01:03 (join) realitygrill 01:05 (join) SeanTAllen 01:09 (quit) Demosthenes: Read error: Connection reset by peer 01:09 (join) Demosthenes 01:21 (quit) jrslepak: Quit: Leaving 01:42 CurryMan: Any way to return true if all items in a list are true and flase otherwise? 01:44 cky: CurryMan: Sure. 01:44 jonrafkind: like #t true? 01:44 cky: rudybot: (require srfi/1) 01:44 rudybot: cky: your sandbox is ready 01:44 rudybot: cky: Done. 01:45 CurryMan: yeah 01:45 jonrafkind: (not (not (and some-list))) 01:45 CurryMan: list I have (list #t #t #f) => #f but (list #t #t #t) => #t 01:45 jonrafkind: err.. andmap I guess 01:45 CurryMan: facepalm... 01:45 cky: rudybot: (all values '(1 2 3 4)) 01:45 rudybot: cky: error: reference to an identifier before its definition: all in module: 'program 01:45 cky: rudybot: (every values '(1 2 3 4)) 01:45 rudybot: cky: ; Value: 4 01:46 cky: rudybot: (every values '(1 2 #f 4)) 01:46 rudybot: cky: ; Value: #f 01:46 jonrafkind: (andmap values some-list) 01:46 cky: rudybot: (andmap values '(1 2 3 4)) 01:46 rudybot: cky: ; Value: 4 01:46 cky: rudybot: (andmap values '(1 #f 3 4)) 01:46 rudybot: cky: ; Value: #f 01:46 cky: ;-D 01:46 CurryMan: (andmap (lambda (x) (cond 01:46 CurryMan: [x #t] 01:46 CurryMan: [else #f])) (list #t #t #f)) 01:47 CurryMan: eek.. sorry. Totally forgot about andmap. yay! 01:47 jonrafkind: well you dont need that lambda.. values will work just fine 01:47 CurryMan: yea hfor sure... that's awesome. 02:02 (quit) realitygrill: Quit: realitygrill 02:17 (join) snearch 02:24 (part) CurryMan 02:35 (join) gciolli 02:45 (join) veer 02:47 (quit) gciolli: Quit: Leaving. 02:53 (quit) yoklov: Quit: computer sleeping 03:06 (quit) jonrafkind: Ping timeout: 252 seconds 03:39 (quit) snearch: Quit: Verlassend 03:40 (join) snearch 03:41 (quit) snearch: Read error: Connection reset by peer 03:44 (nick) chaozzbubi -> ChaozZBubi 03:44 (join) snearch 03:45 (quit) snearch: Read error: Connection reset by peer 03:46 (join) snearch 03:46 (join) Blkt 03:47 (quit) snearch: Read error: Connection reset by peer 03:47 (join) snearch 03:47 Blkt: good morning everyone 03:49 (quit) snearch: Remote host closed the connection 03:50 (quit) Shviller: Ping timeout: 244 seconds 03:50 (join) snearch 03:50 (join) Shviller 03:55 (quit) snearch: Quit: Verlassend 03:56 (join) snearch 03:58 (quit) snearch: Read error: Connection reset by peer 03:59 (join) sindoc 03:59 (quit) sindoc: Client Quit 04:07 noelw: hi 04:23 (join) bfulgham_ 04:25 (quit) bfulgham: Ping timeout: 248 seconds 04:25 (nick) bfulgham_ -> bfulgham 05:17 (join) ahinki 06:20 (join) sindoc 06:23 (join) tim-brown 06:24 tim-brown: morning all! 06:25 tim-brown: is there any way to, given a file descriptor (integer), produce an input/output port? 06:25 tim-brown: or am i too lazy and do i have to write a proper port handler? 06:36 noelw: You can do the reverse 06:36 noelw: Dunno about fd -> port 06:36 noelw: Oh… you're too lazy to read the docs, it seems 06:36 noelw: search for 'port fd' 06:37 noelw: There are three results 06:37 noelw: You want the last two 06:37 noelw: ;-) 06:42 (quit) Shvillr: Ping timeout: 252 seconds 06:42 (join) Shvillr 06:43 (quit) freakazoid: *.net *.split 06:43 (quit) sethalves: *.net *.split 06:47 (join) freakazoid 06:47 (join) sethalves 07:06 (join) masm 07:38 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/0CMG0w 07:38 RacketCommitBot: [racket/master] add `ffi/com', `ffi/unsafe/com' - Matthew Flatt 07:38 RacketCommitBot: [racket/master] fix bytecode optimizer bugs - Matthew Flatt 08:27 (join) gciolli 08:27 (join) jeapostrophe 09:18 (join) jrslepak 09:22 (quit) noelw: Ping timeout: 268 seconds 09:25 (nick) ChaozZBubi -> chaozzbubi 09:36 (quit) Demosthenes: Ping timeout: 255 seconds 09:46 (join) noelw 09:49 (join) dnolen 09:49 (join) realitygrill 10:02 (quit) karswell: Ping timeout: 244 seconds 10:04 (join) karswell 10:06 (quit) veer: Remote host closed the connection 10:13 (nick) samth_away -> samth 10:23 (quit) realitygrill: Ping timeout: 248 seconds 10:33 (quit) bill_h: Remote host closed the connection 10:42 (quit) dnolen: Read error: Connection reset by peer 10:44 (join) anRch 10:47 (quit) ahinki: Quit: ChatZilla 0.9.88 [Firefox 10.0/20120104111456] 10:57 (join) yoklov 11:19 (quit) gciolli: Ping timeout: 240 seconds 11:22 tim-brown: i've written an extension in C 11:23 tim-brown: when i require it, I get: load-extension: expected module `xxxx', but found module `xxxx' in: /home/tim/Projects/scheme/xxxx/compiled/native/x86_64-linux/3m/xxxx.so 11:24 tim-brown: extension is generated from SWIG 11:29 (quit) anRch: Read error: Connection reset by peer 11:29 (join) anRch 11:32 tim-brown: no takers? 11:33 stamourv: I'm not too familiar with C extensions, sorry. 11:35 samth: tim-brown: so the xxxxs are the same? 11:40 (nick) chaozzbubi -> ChaozZBubi 11:43 (quit) jrslepak: Quit: This computer has gone to sleep 11:50 tim-brown: yes 11:51 tim-brown: ... although i'm not sure (from the way they're rendered) whether maybe one is a byte string and one a character string 11:54 tim-brown: but all the xxxx's are the same in all 4 occurrences I sent 11:55 (join) langmartin 12:08 (join) MayDaniel 12:10 RacketCommitBot: [racket] plt pushed 2 new commits to master: https://github.com/plt/racket/compare/7850a26...8976a4c 12:10 RacketCommitBot: [racket/master] clean up and generalize optimizer support for omittable primitives - Matthew Flatt 12:10 RacketCommitBot: [racket/master] avoid some unnecessary work in string port creation - Matthew Flatt 12:24 (quit) Blkt: Quit: ERC Version 5.3 (IRC client for Emacs) 12:26 (quit) karswell: Ping timeout: 268 seconds 12:27 (quit) jeapostrophe: Read error: Operation timed out 12:33 (quit) anRch: Quit: anRch 12:35 (join) gciolli 12:42 (join) jeapostrophe 12:59 (quit) gciolli: Ping timeout: 240 seconds 13:05 (part) tim-brown: "Leaving" 13:39 (join) jao 13:53 (quit) sindoc: Quit: Leaving. 13:57 (quit) samth: Quit: Ex-Chat 13:58 (join) samth 14:16 (quit) langmartin: Remote host closed the connection 14:20 (join) langmartin 14:23 (join) jeapostr1phe 14:23 (quit) jeapostrophe: Read error: Connection reset by peer 14:26 (join) platinuum 14:34 (quit) MayDaniel: Read error: Connection reset by peer 14:41 RacketCommitBot: [racket] plt pushed 6 new commits to master: http://git.io/2u_fWA 14:41 RacketCommitBot: [racket/master] Change 'bitmap' to use collection-file-path (with its new #:fail) argument, - Robby Findler 14:41 RacketCommitBot: [racket/master] tweak the printing of syntax errors again so the "in:" part is in tt font - Robby Findler 14:41 RacketCommitBot: [racket/master] relax the contract to match what the server actually needs - Robby Findler 14:47 bremner: eli: oh, I figured out my handin-server problem. I needed to link/copy hw/src/hw01/checker.rkt into hw/hw01/checker.rkt 14:49 bremner: which, to be fair, is explained the handin-server docs. 14:49 (quit) langmartin: Quit: ERC Version 5.3 (IRC client for Emacs) 15:04 (join) anRch 15:08 (quit) samth: Quit: Ex-Chat 15:10 (join) jonrafkind 15:11 (join) samth 15:11 (quit) jeapostr1phe: Ping timeout: 240 seconds 15:12 (join) jeapostrophe 15:14 (join) gciolli 15:25 (quit) gciolli: Quit: Leaving. 15:26 (quit) samth: Quit: Ex-Chat 15:28 (nick) petey` -> petey 15:33 yoklov: wow. oxryly probably has the coolest job that i've ever heard of. 15:34 yoklov had no clue anybody actually used scheme outside of academia 15:35 (quit) platinuum: Quit: Peace 15:35 (nick) jschuster_away -> jschuster 15:38 (part) jschuster: "Leaving" 15:40 (join) DanBurton 15:51 stamourv: yoklov: Quite a few people do, and there's a bunch on this channel. 15:52 stamourv: Although they tend to use Racket, not Scheme ;). 15:52 (join) wilbur 15:52 yoklov: right, haha 15:53 (part) wilbur 15:54 yoklov: for some reason i tended to think that most of the people here were either hobbiests or academics. huh. 15:54 (join) Wilbur 15:55 yoklov: still, game development is a place i would have really never expected to see scheme. 15:58 (quit) Wilbur: Client Quit 15:59 (join) gciolli 16:03 stamourv: yoklov: There's a lot of scripting in game dev, which is why you see a fait amount of lua too. 16:05 yoklov: yeah, i sorta thought all the big companies either used lua or actionscript 16:06 yoklov: or stuff like that 16:09 bremner: big companies use lua? 16:09 bremner: oh, in game dev. huh. 16:09 yoklov: idk 16:09 yoklov: that's at least what i've heard 16:10 (quit) anRch: Quit: anRch 16:12 yoklov: but i really dont know anything :p 16:19 (quit) jeapostrophe: Read error: Operation timed out 16:20 (quit) gciolli: Quit: Leaving. 16:21 (join) jeapostrophe 16:29 (join) simonk 16:52 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/yjVz3w 16:52 RacketCommitBot: [racket/master] add missing OS X thread-data synchronization - Matthew Flatt 17:01 (join) mmk1 17:02 mmk1: hi everybody 17:02 mmk1: can somebody help me? 17:03 Oxryly: yoklov: yeah we don't actually script in scheme or racket per se. we do use it to build tools though. 17:04 Oxryly: the PLT people have really put together a fantastic development ecosystem. 17:06 mmk1: Do you know minefield's codes for dr-racket? 17:11 (join) karswell 17:11 jonrafkind: mmk1, the minesweeper game? 17:12 mmk1: yes jonrafkind 17:12 jonrafkind: what about it 17:12 mmk1: can you help me :) 17:12 jonrafkind: ask something 17:13 mmk1: I'm a new dr racket member and today I have to make a minesweeper with dr-racket I need to code 17:13 mmk1: do you have code jonrafkind? 17:14 jonrafkind: i guess so 17:14 Oxryly: mmk1: school assignment? 17:14 mmk1: yes Oxrly pls someone help me 17:15 mmk1: jonrafkind if you have code can you give me pls 17:15 yoklov: whoa dejavu 17:15 mmk1: it's too important for me Oxryly 17:15 yoklov: Oxryly: you use it to build tools? 17:16 yoklov: and i agree about the development ecosystem, racket et al is remarkably full-featured 17:18 Oxryly: mmk1: you probably won't find much help here if this is an assignment for you to implement 17:18 Oxryly: yoklov: yeah we've used it in a tools that compiles data for the game runtime (and some of that data is script) 17:19 jonrafkind: Oxryly, do you use printf to debug racket programs? 17:19 Oxryly: mmk1: I should say, ask specific questions if you want help. 17:19 mmk1: yes I know Oxryly I have to implement but tomorrow I must send to teacher with e-mail I haven't made code yet 17:20 Oxryly: jonrafkind: sometimes. mostly we examine pieces of the code at the repl. 17:20 mmk1: Make us a beauty pls :))) Oxryly 17:21 mmk1: jonrafkind : help me pls 17:22 Oxryly: jonrafkind: and we've used the errortrace lib to narrow things down sometimes. our debugging approach is fairly haphazard. 17:22 Oxryly: mmk1: ask a specific question 17:23 jonrafkind: racket needs a real debugger.. 17:23 mmk1: okey how I make coordinate and how ı make bomb? 17:24 stamourv: jonrafkind: Then write one! :D 17:24 jonrafkind: yea.. ive had 2/3 false starts in the past 17:24 jonrafkind: im getting ready for attempt #4! 17:24 Oxryly: jonrafkind: yeah. seems like a big task. 17:24 stamourv: Great! 17:25 stamourv: Oxryly: IIRC, most of the pieces are already there. 17:25 stamourv: As in, there's already some good introspection facilities, control (call/cc and co), etc. 17:26 mmk1: ;; An example implementation of the ever-popular Minesweeper game. ;;;;;;;;;;;;;;;;; Configuration ;;;;;;;;;;;;;;;;;; #lang mzscheme (require mzlib/etc ; defines build-vector mzlib/class mzlib/unit mred mrlib/include-bitmap) (provide game@) ;; Layout constants (define TILE-HW 24) ; height/width of a tile (define B-WIDTH 16) ; number of tiles across (define B-HEIGHT 16) ; num 17:27 mmk1: I send to how I make a code you can see 17:28 Oxryly: jonrafkind: we could really use help with profiling (both time and space) 17:28 jonrafkind: have you used the new profiler eli wrote? 17:29 Oxryly: jonrafkind: nope. where/what is it? 17:29 Oxryly: oh, profile? 17:30 jonrafkind: im pretty sure its this one http://docs.racket-lang.org/profile/index.html?q=profiler 17:30 jonrafkind: but i haven't used it myself.. I just know its relatively new 17:30 Oxryly: jonrafkind: that looks promising. i'll have to give it a try. 17:32 (quit) mmk1: Quit: Page closed 17:32 (join) mmk1 17:32 mmk1: http://pastebin.com/B5fB6L86 17:33 mmk1: this code made myself but it did not work where I did mistake? 17:34 jonrafkind: you got that from plt/collects/games/mines/mines.rkt 17:35 mmk1: Yes I have to say lie to you because of you 17:36 mmk1: nobody help me nobody give code me 17:39 asumu: mmk1: You can run minesweeper if you run the "plt-games" executable in Racket. 17:40 (quit) Oxryly: Quit: leaving 17:40 asumu: You really should think on your own to write this game though. 17:40 (join) jschuster 17:40 (join) Oxryly 17:42 (quit) mmk1: Ping timeout: 258 seconds 17:53 stamourv: samth: Found a pretty bad bug in TR. 17:54 stamourv: If you have a function with type `(case-> (Integer Integer -> Integer) (Float Float -> Float))', the types that go in the type-table for the arguments will be `Float'. 17:55 stamourv: That's not a problem for typechecking, but that causes the optimizer to be too aggressive, which causes segfaults. 17:59 (quit) DanBurton: Quit: Leaving 18:08 simonk: I'm looking for a racket project I can help out with (and improve my knowledge in the process). Any suggestions on projects under active development, with reasonable code quality? Maybe the "db" module or similar? 18:10 (quit) jeapostrophe: Ping timeout: 252 seconds 18:10 (quit) Oxryly: Quit: leaving 18:13 RacketCommitBot: [racket] plt pushed 10 new commits to release: http://git.io/KDEdxg 18:13 RacketCommitBot: [racket/release] Caching with weak boxes, cleanup, planet download icon - Neil Toronto 18:13 RacketCommitBot: [racket/release] Contract fix - Neil Toronto 18:13 RacketCommitBot: [racket/release] Rewrote flomaps and rendering in Typed Racket for speed and safety - Neil Toronto 18:13 asumu: simonk: Have you seen the projects list on github? 18:14 asumu: simonk: https://github.com/plt/racket/wiki/Intro-Projects 18:22 stamourv: samth: Fixed it. 18:25 (join) jeapostrophe 18:29 (nick) jschuster -> jschuster_away 18:35 simonk: asumu: Thanks. The core-lib-cleanup items are possibilities, but was more looking for places I could start by writing unit tests (no project has enough unit tests:-), minor bugfixes etc. 18:44 (join) Oxryly 19:41 (join) dnolen 19:43 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/03Qgkg 19:43 RacketCommitBot: [racket/master] change Scribble xref formats, so that HTML info works for Latex - Matthew Flatt 19:51 (quit) noelw: Quit: noelw 19:57 (join) realitygrill 20:40 (quit) simonk: 20:46 (quit) jonrafkind: Ping timeout: 268 seconds 20:49 (quit) masm: Quit: Leaving. 21:05 (quit) Shvillr: Ping timeout: 240 seconds 21:06 (join) Shvillr 21:07 (quit) jeapostrophe: Read error: Operation timed out 21:11 (join) Prometheus 21:36 (nick) ChaozZBubi -> chaozzbubi 22:46 (join) jeapostrophe 22:59 ozzloy: sim 22:59 ozzloy: T_T 23:01 (quit) jeapostrophe: Ping timeout: 240 seconds 23:03 (quit) Prometheus: Ping timeout: 252 seconds 23:05 (join) grettke 23:17 (join) jrslepak 23:18 (quit) dnolen: Ping timeout: 268 seconds 23:25 (join) jonrafkind 23:25 asumu: ozzloy: Same reaction here. :p 23:40 ozzloy: asumu, you wanted to talk to simonk too? 23:46 (join) jeapostrophe