00:13 (join) kvda 00:44 (quit) jao: Ping timeout: 264 seconds 00:47 (quit) drumond19: Remote host closed the connection 00:58 (join) mye__ 01:40 (quit) jrslepak: Ping timeout: 265 seconds 01:44 (join) jhemann__ 01:45 (quit) yoklov: Quit: computer sleeping 01:46 (join) jrslepak 01:47 (quit) jhemann_: Ping timeout: 246 seconds 01:48 (join) yoklov 01:48 (quit) dnolen: Remote host closed the connection 02:02 (join) bluezenix 02:08 (join) antithesis 02:11 (quit) antithesis: Remote host closed the connection 02:12 (join) antithesis 02:12 (quit) kvda: Quit: x__x 02:14 (quit) antithesis: Remote host closed the connection 02:15 (join) antithesis 02:16 (quit) antithesis: Remote host closed the connection 02:17 (join) antithesis 02:32 (quit) jonrafkind: Read error: Operation timed out 02:32 (quit) antithesis: Remote host closed the connection 02:32 (quit) mye__: Ping timeout: 244 seconds 02:33 (quit) bluezenix: Quit: Leaving. 02:34 (join) antithesis 02:38 (quit) antithesis: Remote host closed the connection 02:39 (join) antithesis 02:44 (join) kvda 02:44 (quit) antithesis: Remote host closed the connection 02:45 (join) antithesis 02:48 (quit) antithesis: Remote host closed the connection 02:50 (quit) yoklov: Quit: computer sleeping 03:14 (join) bluezenix 03:24 (quit) Shambles_: Quit: Leaving. 03:26 (join) Shambles_ 03:27 (join) jeapostrophe 03:40 (quit) jhemann__: Ping timeout: 260 seconds 03:49 (quit) mithos28: Quit: mithos28 03:55 (join) ahinki 04:01 (join) noelw 04:09 (quit) ivan\: Ping timeout: 276 seconds 04:11 (join) ivan\ 04:13 (join) hkBst 04:13 (quit) hkBst: Changing host 04:13 (join) hkBst 04:15 (join) Shvillr_ 04:15 (quit) Shviller: Disconnected by services 04:15 (nick) Shvillr_ -> Shviller 04:21 (quit) kvda: Quit: x__x 04:32 (quit) jeapostrophe: Remote host closed the connection 04:59 (join) Skola 05:08 (join) chemuduguntar 05:08 chemuduguntar: hello 05:11 chemuduguntar: how do I convert a number to a string? 05:12 (part) chemuduguntar: "ERC Version 5.3 (IRC client for Emacs)" 05:13 (join) chemuduguntar 05:17 (join) rbarraud_ 05:18 noelw: number->string 05:23 (join) tfb 05:54 (quit) dgs: *.net *.split 05:59 (join) dgs 06:01 (quit) Kaylin: Read error: Connection reset by peer 06:07 (join) bitonic 06:15 (join) masm 06:28 (quit) rbarraud_: Ping timeout: 245 seconds 06:30 (join) tfb_ 06:33 (quit) tfb: Ping timeout: 252 seconds 06:37 (quit) rudybot: Remote host closed the connection 06:37 (join) rudybot 06:50 (join) RacketCommitBot 06:50 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/DLksjA 06:50 RacketCommitBot: [racket/master] provide provide, so it's possible to use provide and require in - Stephen Bloch 06:50 (part) RacketCommitBot 06:54 (quit) tfb_: Read error: Connection reset by peer 07:57 (join) jhemann 08:05 (join) kanak 08:50 (join) zyoung 09:06 (join) dnolen 09:16 (join) mceier 09:16 (quit) noam_: Ping timeout: 265 seconds 09:20 (join) noam 09:22 (join) sstrickl 09:32 (quit) jrslepak: Quit: This computer has gone to sleep 10:07 (quit) ASau`: Ping timeout: 246 seconds 10:09 (join) ASau` 10:22 (join) ambrosebs 10:23 ambrosebs: samth: maybe continue our discussion here 10:23 (join) gridaphobe 10:23 samth: ambrosebs: or via email 10:23 samth: but sure 10:24 ambrosebs: samth: email is easier to reference later, I'll do that 10:25 (part) ambrosebs 10:35 (join) RacketCommitBot 10:35 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/TcgnkA 10:35 RacketCommitBot: [racket/master] Hide internal fields in color% and point%. - Asumu Takikawa 10:35 RacketCommitBot: [racket/master] Add missing method contracts for color% - Asumu Takikawa 10:35 (part) RacketCommitBot 10:39 asumu: Hmm, submodule support for #lang seems wonky right now. 10:42 (quit) dnolen: Ping timeout: 252 seconds 10:45 stamourv: asumu: You mean the `reader' submodule stuff? 10:54 asumu: stamourv: Yeah. 10:54 asumu: I managed to make a program loop infinitely at module load-time somehow. 10:54 asumu: I might just be doing something stupid though. 10:56 (join) yoklov 11:00 (quit) yoklov: Client Quit 11:00 (join) yoklov 11:03 asumu: http://paste.lisp.org/display/129134 11:04 asumu: Running tuvalu.rkt there causes DrRacket to get stuck. 11:04 (quit) ahinki: Quit: ChatZilla 0.9.88.2 [Firefox 12.0/20120417165043] 11:05 asumu: Also, #lang reader (submod "something.rkt" reader) works, but seems to get the wrong relative requires. 11:05 asumu: i.e., it's relative to the module that declared that #lang. Not sure if that's intended. 11:10 stamourv: Odd. 11:10 asumu: Oh, and I've also caused online syntax check to go in an infinite loop. 11:10 (quit) Skola: Ping timeout: 246 seconds 11:11 asumu: If you load "tuvalu.rkt" DrRacket will die. 11:11 asumu: (well, just eat all your memory anyway) 11:11 stamourv: Good to know. 11:11 stamourv: Nothing in there looks especially problematic, though. 11:11 asumu: Yeah, exactly. It's weird. 11:12 stamourv: `strip-context' makes me a bit uneasy, but apart from that... 11:13 asumu: This is an example from the #lang reader docs. 11:14 asumu: (modified to use submodules) 11:14 stamourv: I don't see submodules in your paste. 11:14 asumu: main.rkt has a submodule. 11:15 stamourv: Nevermind, missed it. 11:30 (quit) kanak: Ping timeout: 272 seconds 11:40 (join) djcb 11:42 (join) pmatey 11:43 (join) kanak 11:45 (join) friscosam 11:54 (join) mye 11:57 (quit) bluezenix: Quit: Leaving. 12:00 (join) ambrosebs 12:06 (join) jao 12:06 (quit) jao: Changing host 12:06 (join) jao 12:11 (quit) noelw: Quit: noelw 12:15 (quit) yoklov: Quit: computer sleeping 12:18 (quit) kanak: Ping timeout: 260 seconds 12:24 (join) yoklov 12:28 (join) jonrafkind 12:28 (join) dzhus 12:33 (quit) jhemann: Ping timeout: 246 seconds 12:38 (quit) hkBst: Quit: Konversation terminated! 12:40 (join) Skola 12:41 (quit) Skola: Client Quit 12:41 (join) djcb` 12:42 (quit) djcb: Ping timeout: 252 seconds 12:46 (join) kanak 12:51 (join) alkabetz 12:51 (join) jhemann 12:57 (quit) jhemann: Ping timeout: 245 seconds 12:57 (join) jhemann 13:08 (join) aalix 13:09 (join) bluezenix 13:15 (quit) gridaphobe: Remote host closed the connection 13:31 (quit) yoklov: Quit: computer sleeping 13:38 (quit) bitonic: Quit: WeeChat 0.3.5 13:48 (quit) bluezenix: Quit: Leaving. 13:50 (join) anRch 14:04 (join) jeapostrophe 14:19 (quit) pmatey: Read error: Operation timed out 14:19 (quit) masm: Ping timeout: 245 seconds 14:20 (quit) jhemann: Ping timeout: 260 seconds 14:20 (join) masm 14:24 (quit) ambrosebs: Ping timeout: 256 seconds 14:25 (join) ambrosebs 14:31 (quit) ambrosebs: Remote host closed the connection 14:39 (quit) anRch: Quit: anRch 14:43 (quit) eli: Changing host 14:43 (join) eli 14:48 (join) samth 14:49 (quit) sstrickl: Changing host 14:49 (join) sstrickl 14:49 (quit) jonrafkind: Changing host 14:49 (join) jonrafkind 14:50 (join) dyoo 14:51 dyoo: chemuduguntar: number->string. See: http://docs.racket-lang.org/reference/generic-numbers.html#(def._((quote._~23~25kernel)._number-~3estring)) 14:52 (quit) jonrafkind: Quit: Ex-Chat 14:52 (join) jonrafkind 14:56 (quit) stamourv: Changing host 14:56 (join) stamourv 15:08 (quit) asumu: Changing host 15:08 (join) asumu 15:21 flying_rhino: any idea when will we have classes in typed racket? Timeframe? 15:21 flying_rhino: no pressure here but I would like to know. 15:21 asumu: flying_rhino: Ideally a few months, but that really depends. 15:21 asumu: And it will take longer to support all the features that classes provide. 15:22 flying_rhino: is there some sort of todo list somewhere (like there is on many open source projects) ? 15:22 asumu: Yes, on the github. I'll find the link. 15:22 flying_rhino: thank you 15:23 asumu: https://github.com/plt/racket/wiki/Intro-Projects 15:23 (join) antithesis 15:23 asumu: Building TR support for classes is a large enough undertaking that it's not listed there. 15:23 stamourv: flying_rhino: Part of that is a TODO for Racket itself, and part of it is external libraries/tools that would be nice to have. 15:24 asumu: There's no real TODO for major features though. 15:25 flying_rhino: I don't really need OOP. What I am really trying to do is implement component based model. OOP can help me with that but I don't really need all features. 15:26 flying_rhino: if you don't know what component based design is, I can explain 15:29 flying_rhino: actually they are officialy called component based entities but who cares. I would like someone to give me pointers. 15:30 flying_rhino: in case someone tried to do something similar 15:30 stamourv: I can't say I have experience with that. 15:30 (join) bitonic 15:30 stamourv: But, IIRC, ryanc did some work in the area. 15:31 stamourv: I think he had some papers at GPCE (Generic Programming and Component Engineering). 15:31 stamourv: They're on his website: http://www.cs.utah.edu/~ryan/ 15:32 samth: flying_rhino: component based entites sounds just like the observer pattern 15:32 samth: from what i can find on the web 15:32 (join) pmatey 15:32 samth: stamourv: i think what flying_rhino is taking about is pretty different from anything ryan has done 15:32 stamourv: Could be, I just matched keywords. 15:33 flying_rhino: well, component based entities make oberver pattern easy to implement, but they are not the same thing, I think 15:34 samth: stamourv: http://cowboyprogramming.com/2007/01/05/evolve-your-heirachy/ 15:34 flying_rhino: samth: yes I read that, but thanks 15:37 (join) MayDaniel 15:37 flying_rhino: component based entities take inspiration from relational databases (though they are somewhat different). Basically every game entity consists of bunch of components. So tank consists of health component (consisting of current health, max health and damage), graphic component (mesh and texture or sprite) and physical component (box for physic engine). 15:38 flying_rhino: components can be linked and unlinked dynamically, like if you link camera to rocket entity, you can observe the world from that rocket's perspective. Philosophy is that "everything can become anything", so it is closer to relational modeling than to hierarhical oop modeling. 15:39 stamourv: AFAIK, Racket doesn't do that out of the box. 15:39 stamourv: _But_, one of the really great things about Racket is how malleable it is. 15:40 flying_rhino: it is pretty popular in game development circles (since most games are too complex for simple OOP) especially for MMORPGs. I am not building MMORPG but would like to implement such system. 15:40 stamourv: Racket really is whatever you want to it be. 15:40 samth: flying_rhino: i would say that you don't need to use classes to implement componets 15:40 flying_rhino: stamourv: well I plan to implememnt the thing, so I am asking before I dive :) 15:40 stamourv: So with a bit of hacking (and possibly macros), you can build your own library/DSL for component design. 15:40 stamourv: flying_rhino: Cool! 15:41 asumu: Reusable components sounds like mixins to me. 15:41 (join) jhemann 15:41 stamourv: When you do, please make it available! 15:41 stamourv: PLaneT is great for that, and Github works too. 15:41 asumu: Yeah that would be neat to have. 15:41 flying_rhino: stamourv: that's pretty much the plan, but I think it owuld be easier with classes. I am not afraid of macros, but I am used to classes for most stuff. 15:42 flying_rhino: Not that I won't use macros, too 15:43 stamourv: Macros on top of the class system sound like a good plan. 15:43 flying_rhino: asumu: I never used mixins, but I think they are like interfaces, right? 15:43 stamourv: Mixins too, as asumu said. 15:45 (quit) MayDaniel: Read error: Connection reset by peer 15:47 (quit) aalix: Ping timeout: 265 seconds 15:48 dyoo: flying_rhino: is there any association between this and interactive fiction, out of curiosity? 15:48 flying_rhino: yeah I am trying to build a goddamn game (don't hold your breath for it, it is about 0.1% complete) 15:50 asumu: flying_rhino: mixins are basically bundles of methods/fields that you can "mix in" to classes on the fly. 15:50 dyoo: ah... that's what I was thinking subconsciously. I wanted to start looking at Inform, and the phrases you were using echoes their documentation a bit 15:50 asumu: Hence the analogy to components. 15:51 asumu: Each component might be a mixin that you mix in to your base player or rock class. 15:51 asumu: That said, I don't know anything about component-based programming in the game design world so the analogy may fall apart at some point. 15:54 flying_rhino: asumu: yeah but components can be linked and unlinked from entity. Entity is not like a class. Entity usually just consists of ID. For example, you can unlink camera component form tank entity and link it to projectile entity (if player wants to see the world from rocket's perspective), simply by swaping ID it is linked to 15:55 flying_rhino: it is better to think of it as relational database, but without the database. 15:56 flying_rhino: basically components can be class instances, but entity, even if it is some kind of class, only has ID. All functionality comes from components 15:56 flying_rhino: Well ID or some other kind of thing you use to point/ refer to it. 15:58 flying_rhino: *even if it is some kind of class instance 16:01 flying_rhino: now all I have to do is figure out the best way to implement this thing 16:05 flying_rhino: and yeah I'll make it avilable when/if this sees the light of day. 16:05 (join) yoklov 16:07 (join) bluezenix 16:11 (quit) ASau`: Ping timeout: 246 seconds 16:12 (join) ASau` 16:20 (quit) pmatey: Ping timeout: 260 seconds 16:22 (join) pmatey 16:26 (quit) jeapostrophe: Changing host 16:26 (join) jeapostrophe 16:26 (quit) kanak: Ping timeout: 265 seconds 16:34 (quit) antithesis: Remote host closed the connection 16:38 (join) Kaylin 16:49 (join) RacketCommitBot 16:49 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/EqBz0w 16:49 RacketCommitBot: [racket/master] Adding new options re Galler - Jay McCarthy 16:49 (part) RacketCommitBot 16:57 (quit) jeapostrophe: Ping timeout: 272 seconds 17:07 (join) ssbr_ 17:14 (join) RacketCommitBot 17:14 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/X4lH-g 17:14 RacketCommitBot: [racket/master] added a skeleton 2htdp/image guide section - Robby Findler 17:14 (part) RacketCommitBot 17:27 (quit) pmatey: Ping timeout: 265 seconds 17:28 (quit) djcb`: Read error: Connection reset by peer 17:28 (join) pmatey 17:29 (quit) jhemann: Ping timeout: 260 seconds 17:29 (quit) ssbr_: Ping timeout: 260 seconds 17:31 (join) jhemann 17:32 (join) ssbr_ 17:33 (part) dyoo 17:36 (join) jhemann_ 17:36 (quit) jhemann: Ping timeout: 240 seconds 17:43 (quit) jhemann_: Ping timeout: 250 seconds 17:44 (join) jhemann 18:11 (quit) ssbr_: Ping timeout: 252 seconds 18:13 (join) ssbr_ 18:19 (part) sstrickl 18:25 (quit) jhemann: Ping timeout: 250 seconds 18:31 (quit) zyoung: Ping timeout: 245 seconds 18:32 (quit) ssbr_: Ping timeout: 265 seconds 18:33 (join) ssbr_ 18:35 (join) ssbr__ 18:38 (quit) ssbr_: Ping timeout: 245 seconds 18:40 (nick) ssbr__ -> ssbr_ 18:42 (join) RacketCommitBot 18:42 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/rGAq8w 18:42 RacketCommitBot: [racket/master] fix resolution of relative module path in a submodule - Matthew Flatt 18:42 (part) RacketCommitBot 18:48 (nick) samth -> samth_away 18:49 (quit) bluezenix: Quit: Leaving. 18:55 (join) zyoung 18:56 (join) jeapostrophe 19:01 jonrafkind: jamessan, some guy is asking about supybot, he thinks the project is dead 19:01 jonrafkind: in #sourceforge 19:03 jamessan: not dead yet, just lower on my list than some other projects, so it doesn't get as much love as it could. gribble and Limnoria are two more active versions, from which I try to incorporate useful changes 19:04 jonrafkind: ah yes, #sourceforge has an instance of gribble 19:06 jamessan: I'm hoping to be able to catch up on some of my OSS projects soon. finishing off a compilers course right now, which has been rather time consuming 19:19 (quit) yoklov: Quit: computer sleeping 19:24 (quit) jonrafkind: Ping timeout: 245 seconds 19:26 (join) jhemann 19:28 (quit) dzhus: Remote host closed the connection 19:30 (join) yoklov 19:48 (join) jonrafkind 19:50 (join) ssbr__ 19:53 (quit) ivan\: Quit: ERC Version 5.3 (IRC client for Emacs) 19:54 (join) ivan\ 19:56 (quit) crdueck: Remote host closed the connection 19:59 (quit) mceier: Quit: leaving 20:00 (quit) bitonic: Quit: WeeChat 0.3.5 20:11 (join) dented42 20:13 (join) jrslepak 20:14 (join) dnolen 20:21 chemuduguntar: hello 20:21 (quit) dgs: Ping timeout: 245 seconds 20:22 chemuduguntar: is (tcp-connect "myhost" port) sufficient to open a tcp connection? 20:22 chemuduguntar: i have netcat listening on that port with the 'netcat -l -p ' 20:23 (quit) pmatey: Quit: leaving 20:23 chemuduguntar: i can telnet to it, and it works, but I can't seem to get racket to be able to do it 20:23 offby1: I'd think that'd suffice. 20:25 offby1: seems to work for me 20:31 (quit) mye: Quit: Leaving 20:34 (quit) Kaylin: Quit: Leaving. 20:35 chemuduguntar: http://pastebin.com/6MAcQf4e is that enough? 20:35 (join) ssbr_ 20:37 (quit) ssbr__: Ping timeout: 240 seconds 20:41 (join) dgs 20:42 (quit) ssbr_: Ping timeout: 240 seconds 20:44 (quit) jonrafkind: Ping timeout: 265 seconds 20:46 (quit) dnolen: Ping timeout: 244 seconds 20:52 (join) ssbr_ 20:59 (join) dented42_ 20:59 (quit) dented42: Ping timeout: 265 seconds 20:59 (nick) dented42_ -> dented42 21:03 asumu: chemuduguntar: that URL errors for me 21:05 chemuduguntar: oops i set it to expire 21:06 chemuduguntar: (define in '()) 21:06 chemuduguntar: (define out '()) 21:06 chemuduguntar: (set!-values (in out) (tcp-connect "localhost" 7000)) 21:06 chemuduguntar: (print "hello world" out) 21:06 chemuduguntar: that's what i had :) 21:06 asumu: Ah, okay. First, stylistic thing: you're better off (define-values (in out) ...) instead of set! 21:07 asumu: Always avoid set! if possible. :) 21:07 asumu: Second, that looks like it'd work. What happened when you ran it? 21:08 asumu: Try (flush-output out) 21:09 chemuduguntar: ok 21:09 asumu: As the docs say, the port is block-buffered so you won't necessarily immediately see the result. 21:10 chemuduguntar: asumu: ah, excellent 21:11 (quit) masm: Quit: Leaving. 21:12 chemuduguntar: ok 21:23 (quit) jeapostrophe: Ping timeout: 246 seconds 21:38 (join) drumond19 21:47 (quit) ssbr_: Ping timeout: 260 seconds 21:48 offby1: I might even close the output port 21:51 (join) jhemann_ 21:52 (join) ssbr_ 21:52 (quit) jhemann: Ping timeout: 252 seconds 22:20 (quit) ssbr_: Ping timeout: 265 seconds 22:23 (join) Kaylin 22:23 (join) dented42 22:39 (join) mithos28 22:43 (join) ambrosebs 22:57 (join) jonrafkind 23:07 (join) drumond1_ 23:09 (quit) drumond19: Ping timeout: 260 seconds 23:13 ambrosebs: is a Scope in Typed Racket a binding position for type variables? 23:14 ambrosebs: I'm trying to understand the implementation 23:15 offby1: dunno :-| 23:28 (join) RacketCommitBot 23:28 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/eDmAww 23:28 RacketCommitBot: [racket/master] preserve submoduleness in module path index for expanded submodules - Matthew Flatt 23:28 (part) RacketCommitBot 23:32 (quit) jao: Ping timeout: 260 seconds 23:34 (join) jeapostrophe 23:43 (quit) ambrosebs: Ping timeout: 250 seconds 23:52 (quit) jeapostrophe: Ping timeout: 246 seconds 23:55 (quit) zyoung: Quit: Leaving.