00:00 (join) ambrosebs 00:18 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 00:37 (quit) lusory: Ping timeout: 250 seconds 00:40 mithos28: Is there a rule on when a function should end in '!'? 00:41 Nisstyre: mithos28: when it mutates something 00:41 mithos28: Why do the channel operations not meet that? 00:42 Nisstyre: I'm not familiar with that part of Racket 00:42 Nisstyre: but are you sure it's not a "functional update" ? 00:42 Nisstyre: i.e. it returns a copy? 00:42 mithos28: yes 00:42 Nisstyre: then idk 00:42 Nisstyre: oh wait channels, yeah I never used that part of the threading api 00:43 Nisstyre: but I do know that processes aren't allowed to mutate global state 00:43 Nisstyre: or shouldn't 00:46 mithos28: what do you mean global state? box-set! doesn't mutate global state any more than channels do 00:46 Nisstyre: mithos28: I know, I wasn't sure what operations you were referring to though 00:47 Nisstyre: mithos28: anyway, there's no requirement that a procedure that mutates something should have ! suffixed, it's just a convention 00:47 mithos28: Right thats what I'm asking about 00:47 Nisstyre: and -put is just as good imo 00:47 mithos28: well another interesting case is in the case of ports 00:48 Nisstyre: mithos28: why is that? 00:48 mithos28: read-bytes vs read-bytes! 00:49 Nisstyre: mithos28: the second one mutates something 00:50 (quit) francisl: Quit: francisl 00:50 mithos28: so does the first 00:50 mithos28: It mutates the state of the port 00:51 Nisstyre: mithos28: yes but that's somewhat different from the kind of mutation most ! procedures have 00:51 (quit) kofno: Remote host closed the connection 00:51 Nisstyre: namely, we're not reassigning something that was defined 00:52 Nisstyre: it makes sense if you think about it for a while 00:53 Nisstyre: mithos28: if the rule were "put ! at the end of side-effecty procedures" then you'd be right 00:55 cipher: technically isn't copying a side effect? depending on your terminology. just playing devil's advocate ;P 00:56 mithos28: cipher: What do you mean copying? 00:56 cipher: returning a copy instead of mutation 00:56 Nisstyre: cipher: memory management doesn't count 00:56 cipher: it's changing the state of something! 00:57 mithos28: cipher: Its not observable in the core language 00:57 cipher: what about when memory runs out 00:57 mithos28: cipher: No such thing in the language. Implementations are just flawed. 00:58 cipher: tell that to a real program 01:00 mithos28: You just need a real computer, ie a turing machine 01:00 cipher: when you find one let me know 01:01 cipher: you can have all my money 01:04 cipher: this is the closest I've seen :-) https://www.youtube.com/watch?v=E3keLeMwfHY 01:04 (quit) noam: Ping timeout: 256 seconds 01:05 (join) myx 01:07 (quit) safekeeping: Read error: Connection reset by peer 01:21 (join) kofno 01:22 (join) francisl 01:24 (quit) jeapostrophe: Ping timeout: 260 seconds 01:25 (quit) jao: Ping timeout: 246 seconds 02:11 (join) bniels 02:20 (quit) francisl: Quit: francisl 02:57 (quit) jonrafkind: Ping timeout: 248 seconds 03:08 (quit) ewemoa: Quit: Leaving. 03:19 (quit) bniels: Read error: Connection reset by peer 03:30 (join) RacketCommitBot 03:30 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/h-4exA 03:30 RacketCommitBot: racket/master c445a60 Eli Barzilay: New Racket version 5.3.1.10. 03:30 (part) RacketCommitBot 03:33 (join) bniels 03:39 (quit) ambrosebs: Remote host closed the connection 03:40 (quit) mithos28: Quit: mithos28 03:42 (join) mye 04:26 (quit) Nisstyre: Quit: Leaving 04:31 (quit) Nisstyre-laptop: Ping timeout: 264 seconds 04:53 (join) mye_ 04:53 (join) ambrosebs 04:55 (join) kofno_ 05:02 (quit) mye: *.net *.split 05:02 (quit) kofno: *.net *.split 05:02 (nick) mye_ -> mye 05:06 (quit) karswell: Remote host closed the connection 05:17 (join) karswell 05:21 (quit) nilyaK: Quit: Leaving. 05:22 (join) spiderwe` 05:23 (quit) Haffe: Ping timeout: 246 seconds 05:23 (join) fasta_ 05:25 (join) bartbes__ 05:25 (join) asumu_ 05:26 (join) blubberdi 05:27 (join) bitonic 05:29 (quit) sid0: Ping timeout: 245 seconds 05:29 (join) jamessan` 05:29 (quit) jamessan`: Changing host 05:29 (join) jamessan` 05:29 (quit) blubberdiblub: Ping timeout: 260 seconds 05:29 (quit) jamessan: Ping timeout: 260 seconds 05:29 (quit) bartbes_: Ping timeout: 260 seconds 05:29 (quit) spiderweb: Ping timeout: 260 seconds 05:29 (quit) asumu: Ping timeout: 260 seconds 05:29 (quit) fasta: Ping timeout: 260 seconds 05:32 (quit) karswell: Remote host closed the connection 05:37 (join) Haffe 05:42 (join) karswell 06:04 (join) masm 06:21 (quit) dsantiago: Quit: Computer has gone to sleep. 06:23 (join) dsantiago 06:37 (quit) spiderwe`: Ping timeout: 246 seconds 07:16 (quit) mceier: Quit: leaving 07:17 (quit) kofno_: Read error: Connection reset by peer 07:18 (nick) jamessan` -> jamessan 07:18 (join) sid0 07:19 (join) kofno 07:22 (quit) SrPx: Quit: SrPx 07:24 (join) noelw 07:26 (join) SrPx 07:28 (quit) SrPx: Client Quit 07:36 (join) SrPx 07:39 (join) nejucomo 07:44 (join) RacketCommitBot 07:44 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/LbCStQ 07:44 RacketCommitBot: racket/master 1fc222f Matthew Flatt: fix declaration mismatch for GC function 07:44 (part) RacketCommitBot 07:46 (quit) nejucomo: Ping timeout: 276 seconds 07:49 (join) veer 07:59 (quit) kofno: Remote host closed the connection 08:00 (join) kofno 08:14 (quit) SrPx: Quit: SrPx 08:15 (join) cdidd 08:17 (quit) Demosthenex: Read error: Operation timed out 08:19 (quit) bniels: Quit: WeeChat 0.3.8 08:20 (join) Demosthenex 08:24 (join) RacketCommitBot 08:24 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/UG8zLw 08:24 RacketCommitBot: racket/master c2468f1 Matthew Flatt: racket/draw: fix another problem with the JPEG binding... 08:24 (part) RacketCommitBot 08:30 (join) netrino 08:35 (quit) noelw: Quit: noelw 08:40 (quit) veer: Quit: Leaving 08:58 (join) zyoung 09:00 (join) jeapostrophe 09:00 (quit) jeapostrophe: Changing host 09:00 (join) jeapostrophe 09:05 (join) lusory 09:08 (join) soegaard 09:14 jeapostrophe: asumu_: the pfds package's info.rkt needs to be a different place if you want the scribblings to be built, before info files in the collection root don't get read by setup 09:17 (join) mizu_no_oto 09:20 (join) safekeeping 09:20 (quit) ambrosebs: 09:22 (join) skchrko 09:29 (join) SrPx 09:49 (quit) SrPx: Quit: SrPx 09:53 (join) anRch 09:57 (join) bniels 10:04 (join) dnolen 10:04 (join) Shvillr_ 10:04 (quit) Shviller: Disconnected by services 10:04 (nick) Shvillr_ -> Shviller 10:04 (quit) Shvillr: Read error: Connection reset by peer 10:05 (join) Shvillr 10:12 (quit) bniels: Quit: WeeChat 0.3.8 10:12 (quit) bremner: Ping timeout: 250 seconds 10:14 (join) mceier 10:17 (join) bremner 10:17 (quit) bremner: Changing host 10:17 (join) bremner 10:22 (join) noelw 10:34 (quit) jeapostrophe: Ping timeout: 246 seconds 10:49 (quit) bitonic: Remote host closed the connection 10:50 (join) bitonic 10:54 greghendershott: https://gist.github.com/4346071 is a draft of a short guide to Git workflow for new/casual contributors. Very much want anyone's corrections or feedback. 10:56 samth: greghendershott: looks great 10:56 samth: i'd change all the places you write PLT to Racket 10:56 greghendershott: samth: Thanks. I meant the "PLT" places to refer to the GitHub account named PLT 10:56 greghendershott: But I'll double-check. 10:57 greghendershott: Understand what you mean. 10:57 samth: oh, then you should format them as `plt/racket` 10:57 greghendershott: OK 10:58 samth: but where you say "PLT master branch" i think "Racket master branch" is more accurate, since the PLT acct has other repos 10:58 samth: greghendershott: also, for fancier formatting: http://www.gist.io/4346071 10:59 greghendershott: samth: oh wow, I didn't know about that. 10:59 (quit) zyoung: Remote host closed the connection 10:59 samth: it's not affiliated with github, just a cool webapp someone created 10:59 (quit) dnolen: Ping timeout: 252 seconds 11:00 greghendershott: Hmm I kind of prefer the old style. This is very Garamond-y and big. Although maybe more mobile-readable. Anyway, neat option. 11:01 greghendershott: Although if gist.io is powered by Racket then I take that back, it looks 100x better. :) 11:03 (quit) anRch: Quit: anRch 11:04 samth: greghendershott: no -- powered by python, it seems 11:04 samth: :) 11:07 soegaard: greghendershott In the case where you *did* make a change to the master branch. How do you fix it? 11:10 greghendershott: soegaard: I had merged one of my topic branches onto my master. Plus I had a bunch of merge commits from the resulting non-fast-forward pulls. 11:10 greghendershott: I was ready this morning to declare git bankruptcy, nuke the repo, and refork. 11:10 greghendershott: But since I was ready to do that, I felt brave enough to try rebasing my master on upstream/master. 11:10 greghendershott: And that worked. 11:11 soegaard: Is it possible to rename a branch? (And then make a new master) 11:11 greghendershott: `git rebase -i upstream/master`, simply delete the commit lines, and continue 11:11 greghendershott: I wondered about that. But since I was ready to throw it all away, I tried the rebase. 11:12 greghendershott: soegaard: ^ I wondered about renaming, and trying to create a new master. 11:13 greghendershott: I assumed that would go horribly wrong somehow if `master` were "special", so ... 11:14 soegaard: I think the master name is merely convention. 11:15 greghendershott: What I might add to the guide (if I can give the correct advice), is what to do when a pull request isn't accepted — quickly, or ever — but you like what you did and want it in your own Racket build (or _a_ build). 11:15 greghendershott: And I think the advice is, don't use `master` for that 11:15 greghendershott: make some other branch like `my-build` 11:16 greghendershott: IIUC ? 11:16 soegaard: It is just so easy to forget, that it would be nice if there were a recipe to fix it. 11:16 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 11:17 soegaard: http://stackoverflow.com/questions/1526794/rename-remote-git-branch 11:17 soegaard: Is close 11:17 soegaard: Also: http://stackoverflow.com/questions/7084273/renaming-remote-git-branch 11:17 (join) mithos28 11:18 soegaard: But is is more difficult than I thought it would be. 11:37 (join) hash_table 11:43 (quit) safekeeping: Quit: Page closed 11:44 (join) carleastlund 11:46 greghendershott: I made a bunch of revs to https://gist.github.com/4346071 including some screen shots and samth's suggestions. I added advice about a my-build branch. I'm going to let it sit for awhile. Still welcome anyone's critiques. Thanks. 11:52 (join) ambrosebs 11:56 (join) jeapostrophe 11:56 (quit) jeapostrophe: Changing host 11:56 (join) jeapostrophe 11:58 samth: greghendershott: also, you should consider putting that in a CONTRIBUTING file in the repo 12:03 (join) jao 12:03 (quit) jao: Changing host 12:03 (join) jao 12:18 (join) MayDaniel 12:29 (join) spiderweb 12:42 (join) pnpuff 12:47 (quit) skchrko: Quit: Leaving 12:50 (quit) ambrosebs: Ping timeout: 250 seconds 12:54 (quit) noelw: Quit: noelw 12:55 (join) soegaard_ 12:55 (quit) soegaard: Read error: Connection reset by peer 12:55 (nick) soegaard_ -> soegaard 13:05 (join) skchrko 13:12 (quit) myx: Quit: ушёл 13:12 (quit) sgeo: Read error: Connection reset by peer 13:17 (join) mizu_no_oto 13:17 (quit) cdidd: Ping timeout: 265 seconds 13:28 (quit) ChanServ: *.net *.split 13:30 (join) ChanServ 13:32 (join) nilyaK 13:39 (join) anRch 13:40 (join) jonrafkind 13:49 (quit) skchrko: Quit: . 13:58 (nick) spiderweb -> bartok 13:58 (quit) hash_table: Ping timeout: 255 seconds 14:22 (join) cdidd 14:23 asumu_: jeapostrophe: thanks, I'll fix that. 14:23 (nick) asumu_ -> asumu 14:23 (join) asumu 14:25 (quit) nilyaK: Read error: Connection reset by peer 14:27 asumu: greghendershott: Great guide! When you suggest using -f, you might suggest caution since it's history destroying. I usually use it in conjunction with -n to make sure I'm not doing anything silly. 14:28 (join) noelw 14:29 asumu: (good advice on topic branches too... I am guilty of often not following it and mucking up my master) 14:29 (quit) pnpuff: Quit: bye 14:32 greghendershott: asumu: I suggested -f in case someone had already pushed their topic branch to their forked repo on GitHub, e.g. for "backup"., before they squashed/rebased commits to make the pull request. 14:33 greghendershott: If they squash/rebase down to one commit, they can't push that without -f (AFIK). 14:33 greghendershott: And I think you on the receiving end wants things squashed/based properly. :) 14:34 greghendershott: So I wanted them not to give up. 14:34 greghendershott: But I'll revise re -n, and emphasize that -f will lose history, even if in this case it's on purpose and desirable to lose it. 14:34 greghendershott: Thanks! 14:42 (join) hash_table 14:43 (join) nilyaK 14:50 (quit) hash_table: Ping timeout: 264 seconds 14:59 (quit) anRch: Ping timeout: 255 seconds 15:11 (join) sstrickl 15:17 (quit) mizu_no_oto: Quit: ["Textual IRC Client: www.textualapp.com"] 15:17 (join) noam 15:19 (join) mizu_no_oto 15:23 (join) danl-ndi 15:24 danl-ndi: can anyone point me to the source for equal-hash-code? part of racket hash tables 15:25 danl-ndi: or tell my (equal-hash-code '((a 1) (b 2))) would give different results on windows vs linux ... both 32bit 15:27 (join) safekeeping 15:27 danl-ndi: rudybot: 1 15:27 rudybot: danl-ndi: your sandbox is ready 15:27 rudybot: danl-ndi: ; Value: 1 15:27 danl-ndi: rudybot: (equal-hash-code 'a) 15:27 rudybot: danl-ndi: ; Value: 48576 15:28 danl-ndi: rudybot: (equal-hash-code 'a) 15:28 rudybot: danl-ndi: ; Value: 48576 15:28 danl-ndi: rudybot: (equal-hash-code 'b) 15:28 rudybot: danl-ndi: ; Value: 10210 15:28 danl-ndi: rudybot: (equal-hash-code 'c) 15:28 rudybot: danl-ndi: ; Value: 3166 15:28 danl-ndi: rudybot: (equal-hash-code 'd) 15:28 rudybot: danl-ndi: ; Value: 91741 15:33 (quit) carleastlund: Ping timeout: 256 seconds 15:35 soegaard: danl-ndi: https://github.com/plt/racket/blob/master/src/racket/src/hash.c 15:37 (join) shakes808 15:37 shakes808: Hello 15:37 danl-ndi: soegaard: yep. the bad news in there is that it uses the pointers so the same list will hash to different values on different invocations 15:38 danl-ndi: might there be any hash that uses values, so is consistent across invocations? 15:39 shakes808: I have been looking for a way to compose an email with hyperlinks in it. I found how to make a website but I need to do it through outlook or an email friendly way. Anyone have any idea how to do this? 15:39 soegaard: That doesn's sound right. From the docs: "for any two calls with equal? values, the returned number is the same." 15:41 soegaard: danl-ndi: You mean on the same equal list on different systems. 15:41 danl-ndi: soegaard: yeah somethings off. I have (equal-hash-code 'b) and (equal-hash-code 'c) both yielding 3363 on 32bit racket on windows 15:42 danl-ndi: soegaard: yes that too. regardless of host platform or invocation... true idempotence 15:42 soegaard: They give 3236 9539 on OS X 64 bit. 15:42 (quit) mizu_no_oto: Ping timeout: 245 seconds 15:42 (join) safekeeping__ 15:42 (quit) safekeeping: Quit: Leaving 15:44 (join) mizu_no_oto 15:44 danl-ndi: yeah rudybot seems find. although 'b give 10210 on rudybot, different than your system 15:45 danl-ndi: need something that just looks at content, not memory locations 15:48 (join) carleastlund 15:50 soegaard: And cross platform? 15:50 (join) skchrko 15:50 soegaard: I don't think hash-equal-code uses memory locations. 15:51 soegaard: Or… Actually 'b is interned so it the pointer can be used. 15:51 soegaard: … so the pointer to it can be used. 15:52 (quit) kofno: Remote host closed the connection 15:53 (join) Nisstyre 15:55 (quit) sstrickl: Quit: sstrickl 15:56 (quit) carleastlund: Remote host closed the connection 15:56 (join) carleastlund_ 16:05 (quit) noam: Read error: Connection reset by peer 16:05 (join) noam 16:06 (quit) nilyaK: Quit: Leaving. 16:10 (quit) sizz: Remote host closed the connection 16:22 (join) stilluntrusted 16:27 (quit) ChanServ: *.net *.split 16:27 (quit) carleastlund_: Remote host closed the connection 16:28 (join) carleastlund 16:28 (quit) carleastlund: Client Quit 16:29 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 16:30 (join) ChanServ 16:31 greghendershott: danl-ndi: I don't think equal-hash-code is intended to be used for serialization, persistence, cross-platform. You could use something like SHA-1 instead? 16:32 greghendershott: http://docs.racket-lang.org/openssl/index.html 16:32 (quit) shakes808: Ping timeout: 245 seconds 16:35 greghendershott: Or more flavors of SHA: http://planet.racket-lang.org/display.ss?package=sha.plt&owner=gh or http://planet.racket-lang.org/display.ss?package=crypto.plt&owner=vyzo 16:44 (quit) stilluntrusted: Remote host closed the connection 16:45 (quit) masm: Ping timeout: 255 seconds 16:49 (join) masm 16:54 (quit) masm: Ping timeout: 248 seconds 16:57 (join) masm 16:58 danl-ndi: greghendershott: k I'll take a look. I need to operate on arbitrary racket values... at least most of them 17:03 greghendershott: Maybe also see serialization: http://docs.racket-lang.org/reference/serialization.html ? 17:03 (join) masm1 17:04 (quit) masm: Ping timeout: 248 seconds 17:07 (quit) noelw: Quit: noelw 17:09 (quit) Shvillr: Read error: Connection reset by peer 17:15 (quit) masm1: Ping timeout: 256 seconds 17:15 (join) Shvillr 17:16 (join) masm 17:27 (join) sstrickl 17:27 (quit) sstrickl: Changing host 17:27 (join) sstrickl 17:29 (quit) masm: Ping timeout: 248 seconds 17:34 (quit) sstrickl: Quit: sstrickl 17:38 (join) masm 17:38 (quit) karswell: Remote host closed the connection 17:42 (quit) masm: Ping timeout: 264 seconds 17:48 (join) karswell 17:53 (quit) jonrafkind: Ping timeout: 252 seconds 18:04 (join) masm 18:13 (quit) MayDaniel: Read error: Connection reset by peer 18:26 (quit) jeapostrophe: Ping timeout: 248 seconds 18:28 (join) jonrafkind 18:30 (join) nilyaK 18:50 (quit) karswell: Remote host closed the connection 19:00 (join) karswell 19:25 (join) jeapostrophe 19:25 (quit) jeapostrophe: Changing host 19:25 (join) jeapostrophe 19:48 (join) RacketCommitBot 19:48 RacketCommitBot: [racket] plt pushed 2 new commits to master: http://git.io/ctB-Sw 19:48 RacketCommitBot: racket/master 155ec7d Neil Toronto: Reviewing and refactoring `math/matrix', part 1... 19:48 RacketCommitBot: racket/master 8d5a069 Neil Toronto: Moar `math/matrix' review/refactoring... 19:48 (part) RacketCommitBot 19:56 (quit) masm: Quit: Leaving. 19:56 (join) masm 19:58 (join) francisl 20:29 (quit) bitonic: Remote host closed the connection 20:42 (quit) netrino: Quit: Ave! 20:59 (join) sw2wolf 21:03 (quit) jeapostrophe: Ping timeout: 252 seconds 21:09 (join) mizu_no_oto 21:22 (quit) jschuster: Quit: Coyote finally caught me 21:22 (quit) mizu_no_oto: Quit: Computer has gone to sleep. 21:23 (join) jschuster 21:29 (quit) masm: Quit: Leaving. 21:32 (quit) BeLucid_: Ping timeout: 264 seconds 21:59 (join) ambrosebs 22:18 (quit) cipher: Ping timeout: 250 seconds 22:28 (quit) ambrosebs: Read error: Connection reset by peer 22:36 (quit) nilyaK: Read error: Connection reset by peer 22:47 (quit) cataska: Read error: Connection reset by peer 22:50 (quit) mithos28: Quit: mithos28 22:51 (join) mithos28 22:56 (join) cataska 22:57 (join) nilyaK 23:02 (quit) nilyaK: Read error: Connection reset by peer 23:06 (join) monktopher 23:09 (quit) Shvillr: Ping timeout: 245 seconds 23:10 (join) Shvillr 23:19 (quit) hyko: Read error: Operation timed out 23:20 (quit) monktopher: Quit: Page closed 23:21 (quit) eMBee: Ping timeout: 264 seconds 23:21 (quit) SeanTAllen: Ping timeout: 276 seconds 23:23 (quit) mithos28: Quit: mithos28 23:25 (join) nilyaK 23:25 (join) eMBee 23:25 (join) hyko 23:28 (join) sid0_ 23:36 (join) SeanTAllen 23:40 (quit) cdidd: Remote host closed the connection 23:59 (nick) elliottcable -> elliottcable___