00:00 ozzloy: but i am a human and i not only expected it to work the way it did, i also can't figure out what other behavior a human might expect 00:01 mithos28: ozzloy: that (apply string (map char-upcase (string->list a-string))) == (string-upcase a-string) 00:04 ozzloy: rudybot, (equal? (apply string (map char-downcase (string->list "Σ"))) (string-downcase "Σ")) 00:04 rudybot: ozzloy: ; Value: #t 00:04 ozzloy: mithos28, i assume you meant downcasing Σ, not upcasing, since that's the example given 00:05 mithos28: yes 00:05 ozzloy: i'm talking specifically about the text of the guide near the bottom of this page http://docs.racket-lang.org/guide/characters.html 00:06 mithos28: I think that is final sigma vs non-final sigma 00:06 mithos28: rudybot (string-downcase "Σ") 00:07 ozzloy: i did that already up above 00:07 ozzloy: oh you parted and joined since i did 00:07 ozzloy: rudybot, (string-downcase "Σ") ; "σ" 00:07 rudybot: ozzloy: ; Value: "σ" 00:07 ozzloy: rudybot, (char-downcase #\Σ) ; #\σ 00:07 rudybot: ozzloy: ; Value: #\σ 00:07 mithos28: rudybot, (string-downcase "aΣ") 00:07 rudybot: mithos28: your sandbox is ready 00:07 rudybot: mithos28: ; Value: "aς" 00:08 mithos28: there you go 00:08 ozzloy: oh, neat 00:08 (join) realitygrill_ 00:08 mithos28: rudybot, (string-downcase "ΣΣ") 00:08 rudybot: mithos28: ; Value: "σς" 00:08 ozzloy: what's going on there? 00:08 ozzloy: that is definitely not what i'd expect 00:08 mithos28: I'm not sure why a single sigma is not converted to a final sigma 00:08 mithos28: why not 00:09 mithos28: sigma has a different form at the end of a word 00:09 ozzloy: because i don't know about that 00:09 ozzloy: well, i didn't 00:09 mithos28: That is why you don't use char-downcase, because noone understands all of unicode 00:09 (quit) realitygrill: Ping timeout: 240 seconds 00:09 (nick) realitygrill_ -> realitygrill 00:10 ozzloy: cool cool 00:10 mithos28: Strings are probably convoluted data structure in common use 00:11 ozzloy: s/probably/probably the most/ ? 00:11 mithos28: yes, it is late and I should go to bed 00:12 ozzloy: thanks! 00:12 ozzloy: thanks for clarifying that for me. much obliged. sleep well 00:13 (part) mithos28 00:14 ozzloy: rudybot, (equal? (apply string (map char-downcase (string->list "sigma: Σ"))) (string-downcase "sigma: Σ")) 00:14 rudybot: ozzloy: ; Value: #t 00:14 ozzloy: rudybot, (equal? (apply string (map char-downcase (string->list "sigmasigma: ΣΣ"))) (string-downcase "sigmasigma: ΣΣ")) 00:14 rudybot: ozzloy: ; Value: #f 00:19 ozzloy: rudybot, (equal? (apply string (map char-downcase (string->list "aΣ"))) (string-downcase "aΣ")) 00:19 rudybot: ozzloy: ; Value: #f 00:45 (join) jeapostrophe 00:46 (join) freakazo_ 00:46 (quit) freakazoid: Ping timeout: 240 seconds 00:46 (nick) freakazo_ -> freakazoid 01:51 (quit) freakazoid: Quit: Computer has gone to sleep. 01:58 (quit) jyc: Remote host closed the connection 02:09 (quit) jeapostrophe: Ping timeout: 244 seconds 02:26 (quit) realitygrill: Quit: realitygrill 02:42 (quit) yoklov: Ping timeout: 255 seconds 02:53 (quit) jonrafkind: Ping timeout: 248 seconds 03:46 (quit) Shviller: Ping timeout: 240 seconds 03:47 (join) Shviller 05:13 (join) masm 06:07 (quit) masm: Quit: Leaving. 06:11 (quit) SHODAN: Ping timeout: 268 seconds 06:19 (join) veer 06:42 (quit) veer: Quit: Leaving 07:13 (nick) Qajla -> B-ratmazoon 07:27 (join) MayDaniel 07:58 (quit) RPR: Ping timeout: 240 seconds 08:41 (join) gciolli 08:42 (part) gciolli 08:43 (join) gciolli 08:44 (part) gciolli 08:44 (join) gciolli 08:45 (quit) gciolli: Client Quit 08:51 (join) anRch 08:53 (join) karswell 09:37 (join) gciolli 09:40 (quit) novato_nl: Ping timeout: 240 seconds 09:52 (join) tyson1 09:59 (quit) karswell: Ping timeout: 240 seconds 10:00 (join) jeapostrophe 10:03 gciolli: are there any spgsql users? 10:17 (quit) tyson1: Quit: Leaving. 10:33 (join) mithos28 10:56 (join) Wuf 11:01 Wuf: Hi, I'm trying to find a better way to write this: 11:01 RacketCommitBot: [racket] plt pushed 3 new commits to master: http://git.io/YfyoqA 11:01 RacketCommitBot: [racket/master] fix missing initialization - Matthew Flatt 11:01 RacketCommitBot: [racket/master] fix typo - Matthew Flatt 11:01 RacketCommitBot: [racket/master] fix typo - Matthew Flatt 11:01 Wuf: http://pastebin.com/raw.php?i=YaJdK6AS 11:01 Wuf: I feel like I'm using Racket just like C or any other procedural language in that part. 11:01 Wuf: But I can't think of a more functional way to do the same. 11:10 (join) yoklov 11:11 (part) yoklov 11:12 (join) yoklov 11:12 (join) RPR 11:14 (quit) anRch: Quit: anRch 11:16 yoklov: hahah, someone was having trouble with ending sigmas? the problem with strings is that they're based on technology that is several thousand years old :p 11:19 yoklov: Wuf: so what you don't like is the let/ec and the setting? 11:20 Wuf: yoklov, yes, exactly. 11:20 yoklov: well the let/ec can be ditched if you use a for/or i think 11:21 yoklov: as well as the setting of representable 11:21 yoklov: i do not really see what this program does, to be honest 11:21 Wuf: I was thinking of for/fold to accumulate the result, if only for had a :#unless clause... 11:21 Wuf: well, :#until, clause. 11:21 yoklov: oh, hm. 11:22 yoklov: so for the 2nd setting 11:22 yoklov: of result 11:22 yoklov: what... are you doing there? 11:24 Wuf: Inside the inner loop I search for two numbers that when added, give 'i' as a result. 11:25 Wuf: After the loop, if they weren't found, I add 'i' to 'result'. 11:25 RacketCommitBot: [racket] plt pushed 5 new commits to master: http://git.io/SdOW8Q 11:25 RacketCommitBot: [racket/master] scheme/racket cleanup - Matthias Felleisen 11:25 RacketCommitBot: [racket/master] initial stage of game pad, need to turn play file into test - Matthias Felleisen 11:25 RacketCommitBot: [racket/master] an interactive test for various game pad configs - Matthias Felleisen 11:26 (quit) gciolli: Read error: Connection reset by peer 11:27 Wuf: yoklov: this one is more verbose, but includes the puzzle question at the top so it's easier to understand. 11:27 Wuf: http://pastebin.com/raw.php?i=jqMKc67Y 11:29 (nick) chaozzbubi -> ChaozZBubi 11:29 yoklov: okay, haha, i've done that one before. project euler? 11:29 yoklov: now, to figure out why for/or isn't working here :/ 11:31 yoklov: oh 11:31 yoklov: ()+ result i) 11:31 yoklov: err 11:34 yoklov: http://pastebin.com/ZDPWHEQp 11:34 yoklov: for/or shortcircuits, so it removes the need for the let/ec 11:34 yoklov: and the unless 11:35 yoklov: err #:unless removes the need for the setting 11:35 yoklov: though you could also do (if (for/or...) r (+ r i)) 11:35 yoklov: or whatever 11:36 Wuf: There must be some different semantic meaning in that #:unless(for/or from what I wanted to write. 11:37 yoklov: oh? 11:37 yoklov: how so? 11:38 yoklov: it gave the same answer for me for *limit* 100 11:39 yoklov: there is no (until) loop, if thats what you're talking about 11:40 yoklov: (you could write one yourself quite easily though) 11:41 (quit) Wuf: Ping timeout: 240 seconds 12:28 (join) freakazoid 12:40 (join) SHODAN 12:43 (quit) mithos28: Quit: mithos28 13:01 (join) mithos28 13:11 (join) snearch 13:18 (join) jonrafkind 13:18 (join) realitygrill 13:34 (join) jao 13:42 (join) yoklov` 13:42 (quit) yoklov: Read error: Connection reset by peer 13:43 (quit) gf3: Ping timeout: 252 seconds 13:44 (quit) danking: Ping timeout: 252 seconds 13:45 (quit) jrslepak_: Ping timeout: 252 seconds 13:46 (join) Lajla 13:46 (join) danking 13:46 (join) gf3 13:47 (join) jrslepak_ 13:48 (join) tyson1 14:21 (part) tyson1 14:25 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/n8Q1Jw 14:25 RacketCommitBot: [racket/master] `lambda' -> `λ' - Eli Barzilay 15:03 (quit) yoklov`: Quit: ERC Version 5.3 (IRC client for Emacs) 15:06 (join) yoklov 15:17 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/q0JeOg 15:17 RacketCommitBot: [racket/master] 2011 -> 2012 - Eli Barzilay 15:32 (quit) yoklov: Remote host closed the connection 15:32 (quit) mithos28: Quit: mithos28 15:33 (join) mithos28 15:38 (quit) jao: Ping timeout: 240 seconds 15:39 (join) yoklov 16:02 (quit) jonrafkind: Ping timeout: 240 seconds 16:03 (quit) freakazoid: Quit: Computer has gone to sleep. 16:12 (quit) jeapostrophe: Ping timeout: 248 seconds 16:15 (quit) mithos28: Quit: mithos28 16:21 (join) mithos28 16:26 (quit) snearch: Quit: Verlassend 17:01 (join) jeapostrophe 17:05 (join) alois 17:12 (quit) alois: Quit: Ex-Chat 17:31 (quit) snorble: Quit: snorble 17:36 (quit) mithos28: Quit: mithos28 17:39 (quit) Lajla: Read error: Connection reset by peer 17:39 (join) Lajla 17:42 (join) mithos28 17:47 (join) wingie 17:47 (part) wingie: "WeeChat 0.3.5" 17:49 (join) samth_ 17:49 (quit) samth_: Remote host closed the connection 17:54 (quit) mithos28: Quit: mithos28 18:00 (join) snorble 18:02 (quit) jeapostrophe: Ping timeout: 240 seconds 18:13 (quit) samth_away: Quit: Ex-Chat 18:30 (join) freakazoid 18:32 ozzloy: haha, i tried to submit a bug report via drracket's submitter and i get "Forbidden You don't have permission ..." 18:33 (join) jonrafkind 18:36 ozzloy: ok, i tried bugs.racket-lang.org and i get the same 18:37 ozzloy: jonrafkind, hey, drracket's bug submit and bugs.racket-lang.org aren't accepting bugs from me 18:37 ozzloy: well, one bug 18:37 ozzloy: report 18:37 jonrafkind: I am a robot 18:37 jonrafkind: Please input candy 18:37 ozzloy: um... 18:38 ozzloy hands jonrafkind some gum 18:38 ozzloy: but... i'm pretty sure that's bad for robots 18:38 jonrafkind: anyway eli is the master of that bug stuff 18:38 ozzloy: kk 18:38 jonrafkind: he did some web commits today.. maybe its related 18:39 ozzloy: i doubt it 18:39 ozzloy: he just changed lambda to the lambda char and 2011 to 2012 18:39 jonrafkind: yea 18:39 jonrafkind: hm 18:40 ozzloy: anyways, src/README says use users@racket-lang.org as last resort 18:40 jonrafkind: yea, thats fine 18:43 ozzloy: omg, sent! 18:43 ozzloy: i was hoping to figure out wtf, but idk scribble so bbq tla 18:44 ozzloy: oh balls, i forgot to look through existing bugs 18:44 jonrafkind: hells bells! 18:45 ozzloy: society is crumbling 18:46 jonrafkind: thats my hope 18:46 ozzloy: are you the joker? 18:46 jonrafkind: 3rd cousin 18:49 ozzloy: well no bugs match anyways 18:49 ozzloy: plus it's a silly bug, i bet if it was submitted already it would have been fixed 19:04 ozzloy: rudybot, '\\ 19:04 rudybot: ozzloy: ; Value: |\| 19:04 ozzloy: rudybot, '\asdf\ 19:04 rudybot: ozzloy: asdf is common lisp stuff.. 19:04 ozzloy: rudybot, '\aaaa\ 19:04 rudybot: ozzloy: AAAA 19:05 ozzloy: rudybot, '\aa\\ 19:05 rudybot: ozzloy: ; Value: |aa\| 19:06 ozzloy: rudybot, '\ # \ 19:06 rudybot: ozzloy: eh? Try "rudybot: help". 19:07 RacketCommitBot: [racket] plt pushed 1 new commit to master: http://git.io/SrO9kA 19:07 RacketCommitBot: [racket/master] fix typo - Matthew Flatt 19:08 ozzloy: yay! 19:08 ozzloy: that was fast 19:08 jonrafkind: ooh what service 19:08 jonrafkind: on a holiday 19:08 ozzloy: indeed 19:09 ozzloy: thanks matt (is matthew in here?) 19:09 (join) jeapostrophe 19:09 jonrafkind: nah matthew doesn't use irc 19:10 jonrafkind: he was here like once, last year 19:10 ozzloy: does he speak chinese? 19:11 jonrafkind: hm good question 19:11 jonrafkind: maybe a little 19:11 jonrafkind: ive never heard him say anything in chinese though 19:11 ozzloy: http://www.cs.utah.edu/~mflatt/ he's got some under his name 19:29 (quit) jeapostrophe: Ping timeout: 268 seconds 20:17 (quit) MayDaniel: Read error: Connection reset by peer 20:21 (quit) abbe: Read error: Connection reset by peer 20:23 (join) abbe 20:26 (join) abbe_ 20:28 (quit) abbe: Ping timeout: 252 seconds 20:31 (quit) abbe_: Changing host 20:31 (join) abbe_ 20:31 (nick) abbe_ -> abbe 20:48 (quit) RPR: Ping timeout: 240 seconds 21:08 (quit) yoklov: Quit: ERC Version 5.3 (IRC client for Emacs) 21:52 (join) jeapostrophe 21:54 eli: ozzloy: Yes, it's my fault. 21:54 eli: I've revised the apache configuration today. 22:03 (join) mithos28 22:07 (quit) jeapostrophe: Ping timeout: 255 seconds 22:26 (quit) mithos28: Quit: mithos28 22:48 (quit) realitygrill: Quit: realitygrill 22:54 (join) realitygrill 23:18 (join) mithos28 23:34 (join) veer 23:45 eli: ozzloy: (for when you get sober...) -- it was roughly the same speed it took me to break it...