00:07 (quit) tauntaun: Quit: Ex-Chat 00:27 (quit) snorble: Ping timeout: 244 seconds 00:29 (quit) rekahsoft: Ping timeout: 255 seconds 00:30 (quit) dnolen: Quit: dnolen 00:31 (join) rekahsoft 00:40 (join) jonrafkind 00:43 (quit) bugQ: Remote host closed the connection 01:10 (part) theratking862 01:25 (quit) jonrafkind: Ping timeout: 276 seconds 01:39 (quit) srid: Quit: Computer has gone to sleep. 02:06 (join) snorble 02:10 (quit) realitygrill: Read error: Connection reset by peer 02:11 (join) realitygrill 02:26 (join) littlebobby 03:00 (join) racket 03:00 racket: [racket] plt pushed 3 new commits to master: http://bit.ly/ltG2Kf 03:00 racket: [racket/master] Finish converting `scheme' -> `racket'. - Eli Barzilay 03:00 racket: [racket/master] A long overdue scan to eliminate files without terminating newlines. - Eli Barzilay 03:00 racket: [racket/master] Get rid of "defaultly"s. - Eli Barzilay 03:00 (part) racket 03:07 (join) racket 03:07 racket: [racket] plt pushed 1 new commit to master: http://bit.ly/lfh5c3 03:07 racket: [racket/master] Fix some xv-induced binary junk. - Eli Barzilay 03:07 (part) racket 03:13 (join) masm 03:15 (quit) ckrailo: Quit: Computer has gone to sleep. 03:19 (join) Lajla 03:19 (quit) realitygrill: Quit: realitygrill 03:22 (join) hkBst 03:46 (quit) TA1AET: Quit: WeeChat 0.3.5 04:21 (join) void- 04:25 (quit) Lajla: Read error: Connection reset by peer 04:26 void-: Hi, i'm trying to output raw bytes from racket but they seems to be unicode prefixed. Do I need to set locale or do something special with my port? I'm using write-byte 04:26 (join) Lajla 04:27 (quit) Lajla: Read error: Connection reset by peer 04:35 (join) Mordae 04:35 Mordae: Hi. 05:26 (join) Lajla 05:44 (join) MayDaniel 05:44 (quit) MayDaniel: Changing host 05:44 (join) MayDaniel 05:49 (quit) MayDaniel: Read error: Connection reset by peer 07:01 (join) yoklov1 07:01 (quit) yoklov1: Read error: Connection reset by peer 07:01 (join) yoklov2 07:03 (quit) vu3rdd: Ping timeout: 244 seconds 07:05 (quit) yoklov2: Client Quit 07:10 (quit) twem2: Quit: leaving 07:36 (join) yoklov1 07:56 (quit) yoklov1: Quit: Leaving. 07:58 (join) yoklov1 07:58 (quit) yoklov1: Client Quit 08:04 (join) yoklov1 08:55 (join) lucian 09:01 (join) tom_i 09:05 (join) mithos28 09:08 (quit) yoklov1: Quit: Leaving. 09:12 (join) JuanDaugherty 09:19 (join) yoklov1 09:31 (quit) mithos28: Quit: mithos28 09:32 (quit) yoklov1: Quit: Leaving. 09:37 (quit) hkBst: Read error: Connection reset by peer 09:39 (join) mithos28 09:41 (quit) mithos28: Client Quit 09:52 (quit) Lajla: Ping timeout: 252 seconds 10:00 (join) mithos28 10:07 (quit) rekahsoft: Ping timeout: 240 seconds 10:07 (join) rekahsoft 10:13 (quit) jao: Ping timeout: 255 seconds 10:16 (join) neilv 10:26 (join) ckrailo 10:29 (join) tauntaun 10:32 (join) yoklov1 10:42 (join) racket 10:42 racket: [racket] plt pushed 2 new commits to master: http://bit.ly/jPV3Xo 10:42 racket: [racket/master] Fixing example from Naurin Zamir - Jay McCarthy 10:42 racket: [racket/master] Adding initial value to textarea-input - Jay McCarthy 10:42 (part) racket 10:53 (quit) yoklov1: Quit: Leaving. 10:57 (quit) ckrailo: Ping timeout: 252 seconds 10:59 (quit) neilv: Ping timeout: 255 seconds 11:04 (join) ckrailo 11:13 (nick) samth_away -> samth 11:15 (join) srid 11:15 samth: void-: i don't think write-byte should be affected by the encoding 11:16 (join) realitygrill 11:24 (quit) realitygrill: Read error: Connection reset by peer 11:25 (part) Mordae 11:25 (join) realitygrill 11:26 tauntaun: Scribble's @racket[] command isn't generating hyperlinks to functions that I'm documenting by defproc. I'm guessing this is because my functions are (obviously) not part of Racket. But is there some other way to do this cross-referencing? 11:30 samth: are your requring your module `for-label'? 11:30 samth: where are you locating/building your documentation? 11:34 tauntaun: My module does require racket 'for-label' (if that's what you mean), and it's being built far away from the racket directory. 11:34 (quit) srid: Quit: Textual IRC Client: http://www.textualapp.com/ 11:42 (join) dnolen 11:46 samth: tauntaun: you need to require the file you are documenting `for-label' 11:47 samth: or rather, the file you want to have hyperlinks to 11:48 tauntaun: OK. But how should I let Scribble know where that file is? (I'm putting my scrbl's in a separate doc dir than my src.) 11:49 tauntaun: (sorry samth, I keep forgetting to invoke your handle.) 11:50 samth: if you're creating a collection, you'll need an info.rkt file 12:28 (join) jonrafkind 12:29 (quit) realitygrill: Read error: Connection reset by peer 12:29 (join) realitygrill 12:31 tauntaun: samth: You asked yesterday for ideas on how to add advice to contract documentation. I just had a chat with eli, who IIUC suggested favoring contracts at the module level (provide/contract) to those at function level (define/contract). 12:31 tauntaun: This advice would not have occurred to me as a novice... 12:31 tauntaun: and is semi-obvious only in hindsight. 12:31 tauntaun: So PLT might consider adding such a note to the docs. 12:32 (quit) tom_i: Ping timeout: 240 seconds 12:45 jonrafkind: i mainly use define/contract 12:45 jonrafkind: doesn't provide/contract assume the contracts only matter for users of a module 12:45 jonrafkind: and then code within the module is already perfect? 12:55 (join) Lajla 12:56 (join) anRch 13:21 samth: jonrafkind: i wouldn't phrase it that way 13:22 samth: it uses the contract to protect the module from other modules 13:22 jonrafkind: so replace 'users' with 'modules' ? 13:24 samth: that's not my point 13:25 samth: the idea of contracts is that they live on a boundary between two communicating parties 13:25 samth: if the relevant parties in your system are modules, then use provide contracts 13:25 samth: there's no "perfect" or "matter" here 13:26 jonrafkind: but if you define a function with define/contract and provide it the the contract applies both inside the module and outside, right? 13:27 samth: yes, the contract is between the definition and its context 13:28 jonrafkind: so using provide/contract only protects code from outside the module, leaving the module itself unprotected 13:28 jonrafkind: im just saying i prefer to protect all parties involved 13:28 samth: both parties are protected in both cases -- the question is who the parties *are* 13:28 jonrafkind: you lost me 13:29 jonrafkind: inside module A: (define/contract foo ...) (foo) ;; the usage of foo is protected in module A 13:29 samth: with `provide/contract' there are two parties -- the module doing the providing, and the module doing the requiring 13:29 samth: with `define/contract' there are two parties -- the definition, and the context 13:29 samth: there are always two parties 13:31 tauntaun: FWIW, eli's point was that favoring provide/contract over define/contract strikes a good compromise as to runtime cost. 13:31 jonrafkind: module A: (provide foo) (define/contract foo ...) ;; module B: (require 'a) (foo) ;; now A's foo is protected within B 13:31 (quit) realitygrill: Ping timeout: 255 seconds 13:31 jonrafkind: but in module A `foo' is protected within A itself 13:32 jonrafkind: but if you do module A: (provide/contract foo ...) (define foo ...) now usages of foo within A are not protected 13:32 samth: tauntaun: if you make the parties more fine-grained, then there are more boundary crossings, and thus more contract checks 13:32 samth: jonrafkind: yes, because in the second case the whole of module A is the party to the contract 13:33 jonrafkind: ok so thats my point, in one case only code outside modules are protected, in another case all code is protected 13:33 (join) realitygrill 13:34 samth: in all cases, code outside the boundary is treated differently than code inside the boundary 13:34 jonrafkind: yes, so what? 13:35 samth: so, `provide/contract' and `define/contract' are different choices of boundaries 13:35 jonrafkind: yes, im glad we agree 13:35 samth: there's nothing about "perfect" or when contracts "matter" 13:35 jonrafkind: todays pointless argument brought to you by the letter "R" 13:36 jonrafkind: if the boundary is on the module then code within the module won't use the contract and its assumed the code within the module will use the function properly 13:36 jonrafkind: so if you can't make such an assumption (because of mistakes) its nice to put the boundary on the function itself 13:36 (join) yoklov1 13:37 (quit) masm: Quit: Leaving. 13:42 (join) JoelMcCracken 13:52 (join) lucian_ 13:54 (quit) lucian: Ping timeout: 258 seconds 14:00 (quit) tauntaun: Quit: Ex-Chat 14:04 (join) carleastlund 14:56 (quit) anRch: Quit: anRch 15:21 (join) tom_i 15:23 (quit) realitygrill: Read error: Connection reset by peer 15:24 (join) realitygrill 15:41 (quit) yoklov1: Quit: Leaving. 15:43 (join) lucian 15:46 (quit) lucian_: Ping timeout: 258 seconds 15:46 (join) yoklov1 15:49 (part) tom_i 15:58 (join) David 15:59 (join) MayDaniel 16:00 David: Hello, I am trying to output xml rss feed form a link, with dr racket, can you help me please? Can I do that with dr racket? Thank you 16:00 David: I mean, to create a simple webpage, that shows news from two rss feed sources using dr racket 16:01 askhader: David: There are racket libraries to help you do this 16:02 askhader: Can you show us what you have so far? 16:02 David: I have nothing, I am planing to start right now, but I dont know if racket parse RSS 16:03 David: is there any example how can i do it, since I am new to racket 16:04 askhader: I can't find any. 16:04 askhader: But you can certainly implement it yourself =) 16:04 David: which library shoud i use? 16:05 _p4bl0: David: http://docs.racket-lang.org/ before asking question :-) 16:05 _p4bl0: http://docs.racket-lang.org/xml/index.html 16:05 _p4bl0: also 16:18 (join) tauntaun 16:19 (join) shofetim 16:21 tauntaun: There don't seem to be type predicates like "setof" or "pairof", in analogy with "listof", for use in Scribble and elsewhere. Are those hiding anywhere? 16:23 stamourv: There's set/c and cons/c. 16:24 stamourv: Te reason both list/c and listof exist is that listof is for lists of any number of elements that all respect a given contract, whereas list/c is for heterogenous lists of fixed length. 16:25 stamourv: s/Te/The/ 16:28 tauntaun: Great, thanks. 16:30 (quit) David: Quit: Page closed 16:32 stamourv: mithos28: I'm looking at your new pull request. 16:33 stamourv: In collects/tests/typed-scheme/succeed/require-struct.rkt, why are some lines commented out? 16:35 stamourv: Also, #:extra-constructor-name is a bit verbose. Maybe #:extra-constructor? 16:36 (join) tunes 16:37 carleastlund: stamourv, #:extra-constructor-name is from struct 16:38 stamourv: carleastlund: Oops, missed that. 16:38 stamourv: Nevermind then. 16:43 (quit) yoklov1: Quit: Leaving. 16:48 (quit) MayDaniel: Read error: Connection reset by peer 16:49 (quit) tauntaun: Ping timeout: 258 seconds 16:49 (join) masm 16:51 (quit) rekahsoft: Ping timeout: 276 seconds 16:52 (join) rekahsoft 16:54 (join) dnolen_ 16:54 (join) tauntaun 16:56 (quit) dnolen: Ping timeout: 252 seconds 17:05 (quit) tauntaun: Quit: Ex-Chat 17:24 (quit) Demosthenes: Ping timeout: 260 seconds 17:30 (quit) mithos28: Quit: mithos28 17:31 (join) Demosthenes 17:35 (join) mithos28 17:37 (quit) littlebobby: Quit: Ex-Chat 17:39 (join) ehine1 17:40 ehine1: Is there a way to choose a default folder for all saved files in Racket? 17:41 jonrafkind: you mean in drracket? 17:41 ehine1: yes 17:42 jonrafkind: hm, im not sure.. 17:42 ehine1: okay 17:43 jonrafkind: can you make a bug report about it? 17:44 ehine1: haha probably not, I don't know much about racket/drracket. 17:45 jonrafkind: there should be a button inside drracket 17:45 jonrafkind: tools -> report bug i think 17:45 ehine1: alright 17:50 (join) yoklov1 18:14 (quit) lucian: Remote host closed the connection 18:17 (join) racket 18:17 racket: [racket] plt pushed 1 new commit to master: http://bit.ly/jL6jln 18:17 racket: [racket/master] Add `block' to `scribble/text', to explicitly ask for an indentation block. - Eli Barzilay 18:17 (part) racket 18:17 (quit) mithos28: Quit: mithos28 18:29 (join) mithos28 18:37 (quit) rekahsoft: Ping timeout: 260 seconds 18:37 (join) rekahsoft 19:06 (join) ApeShot 19:07 ApeShot: So I've noticed that under gnome on ubuntu, the latest racket does not handle disabling smoothing in device contexts properly. 19:07 ApeShot: That is, I can't disable smoothing. 19:08 ApeShot: The method `set-smoothing` has no effect on whether subsequent blits are smoother or not. 19:15 (quit) dnolen_: Ping timeout: 252 seconds 19:20 jonrafkind: can you ask on the mailing list? 19:20 ApeShot: Of course. I've been trying to look at the source, but I can't find where the device context interface is defined. 19:20 ApeShot: Never delved into the racket source before. 19:20 ApeShot: It is true of both bitmap and canvas device contexts 19:28 yoklov1: i've looked before 19:28 yoklov1: at those 19:28 yoklov1: iirc they're all just cairo at the bottom 19:28 yoklov1: i'll see if i can find you a path for them 19:29 ApeShot: Thanks 19:29 ApeShot: I'm pretty sure I'm doing this correctly. I set the smoothing to 'unsmoothed, set the scale to some factor, and then blit a bitmap. The bitmap shows up scaled by the appropriate factor, but smoothed 19:29 yoklov1: so you are looking for bitmap-dc and 19:29 ApeShot: dc and bitmap-dc 19:30 yoklov1: right 19:30 yoklov1: yeah 19:30 yoklov1: oka 19:30 yoklov1: collects/racket/draw/private 19:30 yoklov1: they're in there 19:31 ApeShot: Awesome, thanks 19:31 ApeShot: I'm sending a mailing list post now 19:31 (quit) mithos28: Quit: mithos28 19:31 ApeShot: I'll paste in the code that causes the problem 19:40 ApeShot: Well, nothing leaps out at me. It seems like the smoothing slot is being set correctly (it defaults to 'unsmoothed anyway) 19:41 ApeShot: So the problem may be in the calls out to cairo 19:45 jonrafkind: that code isn't ultra mature so probably you're right 19:50 (quit) ckrailo: Quit: Computer has gone to sleep. 19:51 ApeShot: But they look superficially correct 19:53 (quit) yoklov1: Quit: Leaving. 19:54 (join) yoklov1 19:54 ApeShot: Does racket bundle its own cairo or is it using my version? 19:54 ApeShot: That could be the problem 19:57 (join) yoklov2 19:57 (quit) yoklov1: Read error: Connection reset by peer 19:58 (join) yoklov1 19:58 (quit) yoklov2: Read error: Connection reset by peer 20:04 (join) gienah 20:05 (join) mithos28 20:08 (join) racket 20:08 racket: [racket] plt pushed 1 new commit to master: http://bit.ly/iXZIT4 20:08 racket: [racket/master] set the current directory based on the tab's get-directory before starting the stepper. - John Clements 20:08 (part) racket 20:18 (quit) realitygrill: Ping timeout: 240 seconds 20:22 (join) dnolen 20:24 (join) realitygrill 20:24 (quit) ehine1: 20:25 (quit) ApeShot: Remote host closed the connection 20:38 (quit) yoklov1: Quit: Leaving. 20:40 (quit) jonrafkind: Read error: Operation timed out 20:57 (quit) masm: Ping timeout: 258 seconds 21:01 (join) yoklov1 21:03 (quit) tunes: Quit: Leaving 21:22 (quit) mithos28: Quit: mithos28 21:24 (join) asurai 21:25 (nick) asurai -> bmp 21:25 (quit) bmp: Remote host closed the connection 21:25 (join) bmp 21:26 (join) asurai 21:27 (quit) bmp: Disconnected by services 21:27 (nick) asurai -> bmp 21:41 (quit) Demosthenes: Read error: Operation timed out 21:55 (join) Demosthenes 21:56 (quit) carleastlund: Quit: carleastlund 22:02 (quit) realitygrill: Ping timeout: 240 seconds 22:32 (quit) rekahsoft: Ping timeout: 264 seconds 22:32 (join) rekahsoft 22:38 (quit) blomqvist: Read error: Connection reset by peer 22:41 (join) blomqvist 22:51 (join) mithos28 23:10 (quit) bmp: Quit: Leaving... 23:10 (join) tauntaun 23:12 (join) jonrafkind 23:32 (join) bmp 23:55 (quit) mithos28: Quit: mithos28