00:00:18 -!- sstrickl [~sstrickl@c-98-216-238-231.hsd1.ma.comcast.net] has quit [Ping timeout: 265 seconds] 00:01:19 bokr [~eduska@95.154.102.124] has joined #scheme 00:19:59 -!- Daemmerung [~goetter@1133sae.mazama.net] has quit [Quit: Smoove out.] 00:35:50 Michael_Mohamed [~Mohamdu@129-97-241-106.uwaterloo.ca] has joined #scheme 00:39:11 -!- Mohamdu [Mohamdu@2002:8161:d089::8161:d089] has quit [Ping timeout: 240 seconds] 00:48:36 saccade [~saccade@209-6-54-113.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 00:59:13 -!- Michael_Mohamed [~Mohamdu@129-97-241-106.uwaterloo.ca] has quit [Ping timeout: 246 seconds] 01:00:13 sah0s [~anto@92.251.250.199.threembb.ie] has joined #scheme 01:00:28 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 252 seconds] 01:11:01 Mikaeel_Mohamed [~Mohamdu@129-97-241-106.uwaterloo.ca] has joined #scheme 01:13:16 mejja [~user@c-68b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 01:16:40 Can identifiers in scheme start with numbers? 01:17:04 yes they can :) 01:20:04 xavieran: Depends on the implementation. 01:20:22 But strictly according to R5RS (and R6RS) they can't. 01:21:13 Ah 01:21:24 The plt-scheme interpreter seems to allow it 01:21:38 > (define 3-as 's) 01:21:38 > 3-as 01:21:39 s 01:22:42 I don't think it does if you use #lang r6rs 01:23:22 Looks like you're right 01:23:29 Running that as a script fails 01:28:15 -!- fradgers- [~fradgers-@5ad4c06e.bb.sky.com] has left #scheme 01:33:02 jengle [~jengle@69.0.90.194] has joined #scheme 01:33:25 -!- jengle [~jengle@69.0.90.194] has left #scheme 01:38:46 proq [~user@unaffiliated/proqesi] has joined #scheme 01:39:04 Question 01:39:25 Is there a gdb-like debugger for plt scheme? 01:39:32 (yes I'm also googling) 01:40:52 -!- Colloguy [~flx@64.134.221.128] has quit [Quit: bye] 01:44:58 So I've found that DrScheme has debugging features, however, is there a console debugger for it? 01:45:02 For mzscheme? 01:48:10 -!- mejja [~user@c-68b6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Quit: ChatZilla 0.9.86-rdmsoft [XULRunner 1.9.0.14/2009090900]] 01:57:45 -!- RageOfThou [~RageOfTho@users-55-232.vinet.ba] has quit [Ping timeout: 265 seconds] 01:58:44 grettke [~grettke@cpe-65-30-16-243.wi.res.rr.com] has joined #scheme 02:01:54 xavieran: Did you try looking for the word "debug" on http://docs.plt-scheme.org/ ? If so, you'd find Errortrace: http://docs.plt-scheme.org/errortrace/index.html 02:03:38 Hmm... I'll look into that. Thanks 02:04:59 THat was brilliant! 02:05:07 Solved my problem _instantly_! 02:05:17 I was quoting a list instead of using (list ...) 02:13:42 foof: should I expect the net and net/http modules on chibi to be working on OS X? (I see that net is marked as TODO even if the modules exist) 02:14:13 tizoc: Yes, they should work. 02:14:49 I go back and forth between Linux and OS X, but am using mostly OS X these days, and testing fairly often on Linux. 02:15:09 I test rarely on Plan 9, and so far never on Windows :) 02:21:08 heh, ok, good (linux and osx are the plataforms I care right now) 02:34:56 foof: Windows users are... crying 02:35:19 -!- proq [~user@unaffiliated/proqesi] has quit [Remote host closed the connection] 02:35:52 grettke: I actually have Windows installed now, I just need to setup mingw. 02:36:28 ... and then learn the Windows ways of doing things so I can make Windows versions of the net and filesystem, etc. modules. 02:37:03 foof: When you run using mingw do you need to deal with Windows specific APIs for those things? 02:37:33 proq [~user@unaffiliated/proqesi] has joined #scheme 02:37:34 mingw isn't cygwin, it's normal windows using gcc 02:37:59 foof: oh ok 02:38:06 foof: get-addr-info doesn't seem to be working for me - (get-address-info "127.0.0.1" "80" #f) raises "ERROR: not a string: #" 02:38:06 -!- scheibo [~scheibo@dsl-173-206-227-128.tor.primus.ca] has quit [Ping timeout: 276 seconds] 02:38:41 tizoc: Latest dev? 02:38:59 foof: yes, just cloned because mine was patched 02:39:21 latest dev is in a state of flux 02:39:31 I even warned the mailing list about it :) 02:41:17 foof: ah, forgot about that. I'm going to go back to the stable tag (my version prior to cloning was neither latest dev or stable) 02:43:13 Hmmm, I thought I had updated everything necessary in the stubber but apparently not, if you grab tip right now it should work :) 02:43:51 ok, cool (that proc worked fine for me on stable, just tested) 02:44:18 But again, not much reason to use tip at the moment. 02:44:29 brb 02:52:36 -!- attila_lendvai [~ati@89.135.202.127] has quit [Ping timeout: 245 seconds] 02:52:59 reprore_ [~reprore@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 02:54:30 seangrove [~user@c-67-188-2-246.hsd1.ca.comcast.net] has joined #scheme 02:55:46 -!- timj__ [~timj@e176223090.adsl.alicedsl.de] has quit [Ping timeout: 246 seconds] 02:58:29 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Quit: Leaving] 03:09:42 timj__ [~timj@e176201072.adsl.alicedsl.de] has joined #scheme 03:15:37 -!- proq [~user@unaffiliated/proqesi] has quit [Ping timeout: 264 seconds] 03:21:00 jonrafkind [~jon@lre-west-4-229.usahousing.utah.edu] has joined #scheme 03:23:56 -!- timj__ [~timj@e176201072.adsl.alicedsl.de] has quit [Ping timeout: 258 seconds] 03:24:31 Colloguy [~flx@64.134.236.48] has joined #scheme 03:24:43 -!- reprore_ [~reprore@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 03:30:58 -!- jonrafkind [~jon@lre-west-4-229.usahousing.utah.edu] has quit [Ping timeout: 264 seconds] 03:37:14 timj__ [~timj@e176203150.adsl.alicedsl.de] has joined #scheme 03:40:13 -!- offby1 [~user@pdpc/supporter/monthlybyte/offby1] has quit [Ping timeout: 264 seconds] 03:43:02 Does plt-scheme use short-circuit evaluation? 03:43:06 eg. 03:43:15 (and (pair? x) (car x)) ? 03:44:12 It does :) 03:44:22 Have you considered looking in the documentation? 03:44:37 http://docs.plt-scheme.org/guide/conditionals.html?q=and#%28part._and+or%29 might be a good read. 03:44:57 -rudybot:#scheme- http://tinyurl.com/yboxt42 03:46:03 -!- grettke [~grettke@cpe-65-30-16-243.wi.res.rr.com] has quit [] 03:46:37 *chandler* upgrades to 4.2.5 03:53:37 Yes, I tend to experiment in the interpreter. 03:54:06 offby1 [~user@pdpc/supporter/monthlybyte/offby1] has joined #scheme 03:57:32 -!- bzzbzz [~franco@modemcable240.34-83-70.mc.videotron.ca] has quit [Quit: leaving] 04:04:17 adu [~ajr@pool-74-96-89-29.washdc.fios.verizon.net] has joined #scheme 04:22:45 sstrickl [~sstrickl@c-98-216-238-231.hsd1.ma.comcast.net] has joined #scheme 04:30:34 -!- nowhere_man [~pierre@lec67-4-82-235-57-28.fbx.proxad.net] has quit [Read error: No route to host] 04:32:26 nowhere_man [~pierre@lec67-4-82-235-57-28.fbx.proxad.net] has joined #scheme 04:37:32 -!- seangrove [~user@c-67-188-2-246.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 04:38:23 seangrove [~user@c-67-188-2-246.hsd1.ca.comcast.net] has joined #scheme 04:41:13 -!- Mikaeel_Mohamed [~Mohamdu@129-97-241-106.uwaterloo.ca] has quit [Ping timeout: 248 seconds] 04:44:56 Fare [~Fare@c-24-218-127-11.hsd1.ma.comcast.net] has joined #scheme 04:47:07 -!- bokr [~eduska@95.154.102.124] has quit [Quit: Leaving.] 04:48:53 -!- sphex_ [~nobody@modemcable072.42-37-24.mc.videotron.ca] has quit [Quit: leaving] 04:50:41 do you guys use a different syntax highlight script than what comes with vim by default? The default is not all that good :-(. 04:51:01 sundaymorning: I use the default. What's wrong with it? 04:53:28 for instance map is highlighted but foldr isn't, require doesn't get highlighted either and there's a bunch of other stuff like that. I think it would be better if the first identifier of a list was always highlighted except if it's a quote. 04:53:30 sundaymorning: Does yours look something like: http://www.flickr.com/photos/xavieran/4486105304/sizes/o/ 04:54:07 sundaymorning: I guess you'd have to add those rules to the syntax file then... 04:55:25 yeah, in your example everything seems to be fine, though it would be nicer if make-mobile was highlighted, I think 05:00:47 This is a quick ugly hack, but what about :highlight Fst ctermbg=green guibg=green and then :match Fst /(\(\w\)\+/ ? 05:01:00 (the main drawback being it embeds the initial parens) 05:04:05 sundaymorning: /(\(\s\|\n\)*\(\w\|[->\.+*':]\)\+/ is even better. 05:04:59 -!- adzuci [~ada2358@unaffiliated/ada2358] has quit [Ping timeout: 260 seconds] 05:06:27 adzuci [~ada2358@login.ccs.neu.edu] has joined #scheme 05:06:59 this one is cool: /(\([^ ]\)\+[ \)]/ 05:07:19 -!- seangrove [~user@c-67-188-2-246.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 05:08:03 seangrove [~user@c-67-188-2-246.hsd1.ca.comcast.net] has joined #scheme 05:10:45 Wow, that's pretty bright... 05:10:49 Too bright for me ;) 05:10:56 Well, you choose the colors, he! 05:11:09 And of course, you also have ctermfg= and guifg= 05:11:14 Mmh 05:20:28 is there a function which will return the sign of a number (that is, -1 if the number is < 0 or 1 otherwise)? 05:23:02 you probably want -1, 0, or 1 05:23:14 but no, I don't know of a built-in function that does that; I seem to recall writing it myself once 05:24:25 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 05:24:55 (define (sign n) (if (< n 0) -1 1)) 05:25:00 Pretty simple 05:25:11 well ... 05:25:24 yeah, but if there was a builtin one I'd rather use that 05:25:30 traditionally it's (cond ((zero? n) 0) ((negative? n) -1) (else 1)) 05:25:43 Ah, that would be right 05:28:56 (quotient n (if (zero? n) 1 (abs n))) 05:29:39 -!- sstrickl [~sstrickl@c-98-216-238-231.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer] 05:31:51 sstrickl [~sstrickl@c-98-216-238-231.hsd1.ma.comcast.net] has joined #scheme 05:32:37 foof: too clever 05:35:23 I like this 05:35:49 SICP - St. Ignatius College Preparatory School 05:36:32 SSWFG -- Some Stupid With a Flare Gun 05:38:40 offby1: millions of beginning guitar students salute you 05:38:57 *offby1* points to the "No Smoke On The Water" sign 05:52:45 kar8nga [~kar8nga@91.35.72-86.rev.gaoland.net] has joined #scheme 05:53:19 *Jafet* now playing: The Blow - Parentheses 05:57:07 bokr [~eduska@95.154.102.124] has joined #scheme 06:00:14 -!- sah0s [~anto@92.251.250.199.threembb.ie] has quit [Quit: sah0s] 06:01:46 -!- sstrickl [~sstrickl@c-98-216-238-231.hsd1.ma.comcast.net] has quit [Ping timeout: 245 seconds] 06:06:39 -!- Fare [~Fare@c-24-218-127-11.hsd1.ma.comcast.net] has quit [Ping timeout: 265 seconds] 06:11:02 -!- sundaymorning [~root@189.107.171.219] has quit [Ping timeout: 246 seconds] 06:12:28 -!- foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has quit [Ping timeout: 265 seconds] 06:18:01 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Ping timeout: 264 seconds] 06:18:16 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 06:20:21 Mikaeel_Mohamed [~Mohamdu@129-97-241-106.uwaterloo.ca] has joined #scheme 06:21:05 elderK [~elderK@pdpc/supporter/active/elderk] has joined #scheme 06:25:49 sstrickl_ [~sstrickl@c-98-216-238-231.hsd1.ma.comcast.net] has joined #scheme 06:32:16 -!- sstrickl_ [~sstrickl@c-98-216-238-231.hsd1.ma.comcast.net] has quit [Ping timeout: 265 seconds] 06:32:41 -!- Colloguy [~flx@64.134.236.48] has quit [Ping timeout: 248 seconds] 06:35:24 -!- adu [~ajr@pool-74-96-89-29.washdc.fios.verizon.net] has quit [Quit: adu] 06:38:03 proq [~user@unaffiliated/proqesi] has joined #scheme 06:43:20 -!- kar8nga [~kar8nga@91.35.72-86.rev.gaoland.net] has quit [Remote host closed the connection] 06:44:22 kar8nga [~kar8nga@91.35.72-86.rev.gaoland.net] has joined #scheme 06:55:55 paraita [~paraita@85-171-229-50.rev.numericable.fr] has joined #scheme 06:56:03 hi guys 06:56:37 am I in the right place for PLT Scheme ? 06:57:01 paraita: yes 06:57:41 ahhh 06:57:58 Adamant: with how serious some of those cats take paleolithic, i wouldn't be surprised if they believed in the cave-bogeyman 06:58:41 i'm having problems trying to compile PLT Scheme with --enabled-share 06:59:39 klutometis: if they give you any guff tell them you'll put potato starch and cane sugar in their workout water 07:00:51 paraita: can you paste any compiler error messages to a pastebin and give us a link? 07:00:59 sure 07:01:01 no guarantees but that would probably help 07:01:15 and we'll probably have PLT folks on sooner or later 07:03:10 paraita: shouldn't it be --enabled-shared, by the way, with a `d'? 07:03:25 paraita: sorry, --enable-shared, with one `d' 07:04:50 proq` [~user@71-20-201-84.war.clearwire-wmx.net] has joined #scheme 07:06:46 -!- proq [~user@unaffiliated/proqesi] has quit [Ping timeout: 276 seconds] 07:07:21 -!- proq` is now known as proq 07:07:29 -!- proq [~user@71-20-201-84.war.clearwire-wmx.net] has quit [Changing host] 07:07:30 proq [~user@unaffiliated/proqesi] has joined #scheme 07:12:25 melba [~blee@unaffiliated/lazz0] has joined #scheme 07:16:33 -!- kar8nga [~kar8nga@91.35.72-86.rev.gaoland.net] has quit [Remote host closed the connection] 07:19:24 pavelludiq [~quassel@91.139.196.209] has joined #scheme 07:22:52 JoelMcCracken [~joelmccra@pool-96-236-231-67.pitbpa.east.verizon.net] has joined #scheme 07:23:10 make is runing again, just to be sure 07:23:27 the config.log is available here: http://pastebin.com/2avzDJ3B 07:24:46 have you heard of PLT Scheme changing name to PLT Racket ? Adamant , klutometis ? 07:26:56 paraita: good joke :P 07:27:36 kar8nga [~kar8nga@91.35.72-86.rev.gaoland.net] has joined #scheme 07:30:12 paraita: you look like you're on Ubuntu or something Ubuntu-derived, do you have all the plumbing you need for compilation, like header file and stuff 07:30:20 *header files 07:30:25 Colloguy [~flx@99.48.50.108] has joined #scheme 07:33:14 this is what i get in xterm 07:33:18 http://pastebin.com/eEnit0Kq 07:34:58 yeah, i'm on ubuntu 9.10 for the moment, i think i installed all dependencies, in fact i did a apt-cache depends plt-scheme and apt-get install everything returned by apt-cache 07:35:37 http://pre.plt-scheme.org/plt/include/schthread.h 07:35:52 if i don't put the --enable-shared parameter, make runs fine 07:36:15 but i need those shared libs 07:37:13 -!- Mikaeel_Mohamed [~Mohamdu@129-97-241-106.uwaterloo.ca] has quit [Ping timeout: 248 seconds] 07:37:29 looks like you are not getting that 07:37:50 without doing a lot of digging 07:38:40 does apt-get haul in everything you might need, or just stuff for the default install 07:39:01 as tweaked by direct parameters to apt-get 07:39:44 if you're passing in custom stuff to configure and apt-get doesn't know about it, and it doesn't look for all the possible stuff the package might need 07:39:54 then it could miss stuff 07:40:02 i think it just give me what i need for the default install 07:40:06 I haven't used apt a lot 07:40:24 my problem might be here 07:41:14 -!- seangrove [~user@c-67-188-2-246.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 07:41:18 i'm using ubuntu 64 bits, is mrEd working on that ? 07:41:53 i had kind of problems too on my macbook runing snow leopard, couldn't compile anymore 07:41:59 seangrove [~user@c-67-188-2-246.hsd1.ca.comcast.net] has joined #scheme 07:42:00 no clue. 07:42:16 ah hell, thanks anyway 07:42:20 I know 64-bit switchover has caused problems for lots of language-related folks 07:42:20 i guess i'll wait 07:42:24 yeah, sorry 07:42:40 thx again :D 07:42:42 there are PLT folks here, but it might take a while for them to get on 07:43:52 paraita: I suspect you're either missing headers needed for compilation or a whole lib or something that you only need when you pass in that option 07:44:02 but that's just a guess 07:44:28 i'll check everything 07:53:55 -!- kar8nga [~kar8nga@91.35.72-86.rev.gaoland.net] has quit [Remote host closed the connection] 08:05:59 -!- seangrove [~user@c-67-188-2-246.hsd1.ca.comcast.net] has quit [Ping timeout: 276 seconds] 08:08:16 I'm assuming PLT-SCHEME has an ncurses like library? 08:08:22 awesome! 08:23:02 This is strange 08:23:15 Google doesn't seem to be turning up a lot of info. 08:28:15 -!- hiyuh [~hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has quit [Quit: |_ e /\ \/ i |/| G] 08:39:25 sah0s [~anto@92.251.147.78.threembb.ie] has joined #scheme 08:40:24 xavieran: very fresh, but http://osdir.com/ml/plt-scheme/2010-01/msg00473.html 08:41:45 Is the tarball the source for that? 08:42:22 Looks like it. 08:42:30 Is Jay related to John? ;) 08:46:03 By at least one capital letter, yes. 08:58:20 PygoscelisPapua [~pygospa@f055224052.adsl.alicedsl.de] has joined #scheme 09:13:27 Hmm 09:13:29 :D 09:15:21 fradgers- [~fradgers-@5ad4c06e.bb.sky.com] has joined #scheme 09:15:45 Apparently that file doesn't exist anymore... 09:22:19 xavieran: http://list.cs.brown.edu/pipermail/plt-scheme/2010-January/037960.html 09:23:27 Yes I've read this 09:23:37 Question, where do I get the work that he is talking about though? 09:25:45 xavieran: at the bottom there's a link to the zip file, have to rename it tgz though 09:26:30 Okay, it calls itself .bin, thanks, I will check this out :) 09:26:35 now, for dinner ... :D 09:35:28 -!- fradgers- [~fradgers-@5ad4c06e.bb.sky.com] has left #scheme 09:35:41 fradgers- [~fradgers-@5ad4c06e.bb.sky.com] has joined #scheme 09:39:27 fschwidom [~fschwidom@p5B26C742.dip0.t-ipconnect.de] has joined #scheme 09:45:56 -!- fschwidom [~fschwidom@p5B26C742.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 09:52:41 dfkjjkfd [~paulh@82-13-ftth.onsnetstudenten.nl] has joined #scheme 10:02:58 bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has joined #scheme 10:04:56 -!- proq [~user@unaffiliated/proqesi] has quit [Ping timeout: 265 seconds] 10:10:03 -!- jmcphers [~jmcphers@218.185.108.156] has quit [Remote host closed the connection] 10:10:58 jmcphers [~jmcphers@218.185.108.156] has joined #scheme 10:13:09 -!- PygoscelisPapua [~pygospa@f055224052.adsl.alicedsl.de] has quit [Ping timeout: 265 seconds] 10:14:31 PygoscelisPapua [~pygospa@f055031085.adsl.alicedsl.de] has joined #scheme 10:31:37 xwl [~user@123.115.122.41] has joined #scheme 10:36:05 attila_lendvai [~ati@89.135.202.127] has joined #scheme 10:38:32 -!- sepult [~levgue@xdsl-87-79-116-53.netcologne.de] has quit [Read error: Connection reset by peer] 10:41:20 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 276 seconds] 10:43:09 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 10:54:51 Sveklo [~sveklo@unaffiliated/sveklo] has joined #scheme 10:57:19 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 260 seconds] 10:57:30 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 11:14:22 foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has joined #scheme 11:26:53 Hey guys, I just finished section 2.2.2 of SICP and wrote up a little article on my blog. Any comments, criticism, etc.? :D 11:26:54 http://enjacyna.wordpress.com/2010/04/03/sicp-section-2-2/ 11:27:05 Anyways, I'm off to bed :) 11:42:23 xavieran: interesting, my mum's maiden name is Jacyna 11:43:16 seems pretty rare 11:49:36 -!- Sveklo [~sveklo@unaffiliated/sveklo] has quit [Remote host closed the connection] 11:50:28 fabe [~fabe@p54A7E13F.dip.t-dialin.net] has joined #scheme 11:57:25 -!- xwl [~user@123.115.122.41] has quit [Remote host closed the connection] 11:58:49 antoszka: Polish? 11:59:01 I also am polish, my father's name is Jacyna 12:01:31 -!- bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has quit [Quit: bombshelter13b] 12:07:52 -!- virl [~virl__@chello062178085149.1.12.vie.surfer.at] has quit [Remote host closed the connection] 12:13:59 -!- elderK [~elderK@pdpc/supporter/active/elderk] has quit [Ping timeout: 265 seconds] 12:26:50 -!- bokr [~eduska@95.154.102.124] has quit [Ping timeout: 260 seconds] 12:37:15 -!- xwl_ [~user@esprx01x.nokia.com] has quit [Remote host closed the connection] 12:41:17 xwl_ [~user@esprx01x.nokia.com] has joined #scheme 12:58:31 xwl_` [~user@esprx01x.nokia.com] has joined #scheme 12:59:20 -!- xwl_` [~user@esprx01x.nokia.com] has quit [Remote host closed the connection] 13:08:34 grettke [~grettke@cpe-65-30-16-243.wi.res.rr.com] has joined #scheme 13:11:12 -!- snorble [~none@s83-179-14-105.cust.tele2.se] has left #scheme 13:17:02 snorble [~none@s83-179-14-105.cust.tele2.se] has joined #scheme 13:34:24 Lajla [~Lajla@213-84-222-243.adsl.xs4all.nl] has joined #scheme 13:35:09 Is there a scheme procedure that can read a string and return an S-expression, so like (read "(+ 1 2)") ===> (+ 1 2)? 13:36:40 Yes, read can do that :) 13:37:06 However, read accepts a port as an optional argument (defaulting to the current input port), so to read a string you'll have to create a string port from your string 13:37:25 sjamaan, how do I do that? 13:37:32 You can try (call-with-input-string "(+ 1 2)" read) 13:37:54 reference to undefined identifier: call-with-input-string 13:37:56 This is nonstandard, so it might not work in your Scheme (or not without loading an extra library) 13:37:57 I use drscheme by the way. 13:38:05 What library exactly? 13:38:18 Well, RTFM then, since I don't know DrScheme well enough 13:41:13 You could use srfi 6 13:41:27 (read (open-input-string "(+ 1 2)")) 13:46:13 IJP, well, that one also, (by the way, I already saw all those things on the net, they kind of assume you have some lib included I guess, because no one says which one) 13:46:26 'unidentified identifier' 13:47:55 Lajla: You *really* should read the manual of your chosen implementation if you decide to use it seriously 13:47:59 use (require srfi/6), like I said 13:48:55 Ah, found it. 13:49:16 Which DrScheme language are you using? #lang scheme? 13:49:49 IJP, well, I changed that one now. 13:50:05 I was using r5rs 13:50:10 Now I took an extention 13:50:35 Ah, I was wondering why call-with-input-string hadn't been imported 13:50:49 sjamaan, well, the manual to the implementation is longer than the formal specification of scheme itself, and with 90% already in my knowledge or just making common sense, reading it one swiftly gives up on. 13:51:00 I guess because I used the bare minimum. 13:51:07 Any way, thanks for your help. 13:51:15 It has a search facility 13:55:12 IJP, true, but that doesn't solve the issue of reading the entire manual in advance for things like this, also, I had no idea what to search for, I tried google, didn't help, asked here, did help. 13:55:36 Point about those search facilities is that you have to know essential terms, for google less so, for IRC even less so. 13:56:34 So my own advanced swarm intelligence called my central nervous system quickly addapted and realized the optimal solution was to ask it to other advanced artificial neural swarm intelligences which have an impressive ability to understand what you mean even if your terminology is off. =P 13:57:17 MrFahrenheit [~RageOfTho@users-33-186.vinet.ba] has joined #scheme 14:19:57 -!- fabe [~fabe@p54A7E13F.dip.t-dialin.net] has quit [Remote host closed the connection] 14:24:09 -!- Checkie [4947@unaffiliated/checkie] has quit [Ping timeout: 248 seconds] 14:25:10 elderK [~elderK@pdpc/supporter/active/elderk] has joined #scheme 14:30:28 xavieran: Yeah, Polish. 14:33:20 Nice :) My father emigrated in 1980. Escaped the communists. 14:43:58 -!- sah0s [~anto@92.251.147.78.threembb.ie] has quit [Ping timeout: 258 seconds] 14:46:23 scheibo [~scheibo@dsl-173-206-227-128.tor.primus.ca] has joined #scheme 14:55:35 Fare [~Fare@c-24-218-127-11.hsd1.ma.comcast.net] has joined #scheme 14:57:14 sundaymorning [~root@189.107.171.219] has joined #scheme 15:14:15 I want to do something like this (define (f x) (get-field x)), so when I do (f y) the field y is accessed, if I call (f z), then the field z, etc. 15:14:21 How do I do that? 15:14:45 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 265 seconds] 15:14:56 It'd be something like a C macro, where the identifier really remains the same. 15:27:06 I thought it would be an easy one :( 15:27:42 -!- foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has quit [Ping timeout: 276 seconds] 15:28:24 sundaymorning: It's easy alright 15:28:48 (define-syntax f (syntax-rules () ((f fieldname) (get-field 'fieldname)))) 15:29:01 (assuming that the field name is a symbol) 15:29:51 -!- mjonsson [~mjonsson@cpe-74-68-121-85.nyc.res.rr.com] has quit [Ping timeout: 276 seconds] 15:30:27 However, it's probably better to just ask the user to use get-field directly, as that allows him to a) use computed field names b) pass get-field to higher-order functions 15:30:45 Macros shouldn't be used unless absolutely necessary 15:32:25 hm, I was trying to use define-syntax-rule 15:33:44 in my case the user doesn't know the value directly, the function is a foldr with a helper function which gets a certain field from all the objects. The user passes which field is that 15:33:57 I thought a macro would be a good idea here 15:34:34 apertu [~alper@host-194-88-211-36.snto-msu.net] has joined #scheme 15:42:41 Daemmerung [~goetter@1133sae.mazama.net] has joined #scheme 15:48:56 can't you let your objects inherit from some base which has the field z and then use (get-base-z inherited-object) ? 15:49:10 alvatar [~alvatar@60.126.222.87.dynamic.jazztel.es] has joined #scheme 15:51:31 I don't really see how that helps. I'd need to write one function for each different field? 15:59:14 that function would be generated by your base class definition. we can help you better if we know what object system you use. 15:59:22 lisppaste: url 15:59:23 To use the lisppaste bot, visit http://paste.lisp.org/new/scheme and enter your paste. 15:59:30 (if needed) 16:00:15 dsmith [~dsmith@66.178.229.162] has joined #scheme 16:04:43 I'm not sure, I'm following the allegro planet package's lead. There's a define-object macro that I call to create my class. It seems to use class* function for defining class if that helps any 16:06:31 all my objects have fields x and y and the base class have them as well, afaik. I want to use a function that does some operation using foldl in x or y of all the objects of the world. 16:07:00 reprore_ [~reprore@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 16:07:00 if it will be done on x or y is decided by the user 16:07:08 chittoor [~chittoor@117.204.49.9] has joined #scheme 16:08:17 -!- chittoor [~chittoor@117.204.49.9] has quit [Read error: Connection reset by peer] 16:08:43 Mikaeel_Mohamed [~Mohamdu@129-97-241-106.uwaterloo.ca] has joined #scheme 16:08:53 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 265 seconds] 16:11:34 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 16:12:12 mjonsson [~mjonsson@cpe-74-68-121-85.nyc.res.rr.com] has joined #scheme 16:22:02 -!- elderK [~elderK@pdpc/supporter/active/elderk] has quit [Quit: elderK] 16:25:18 virl [~virl__@chello062178085149.1.12.vie.surfer.at] has joined #scheme 16:32:22 scheme/class seems to use the *syntax* (get-field name obj) for some reason. I tried to do some things with it but it seems horribly overcomplicated. 16:36:13 positron_ [~positron@unaffiliated/sergio/x-8197433] has joined #scheme 16:36:17 yeah, if name was a string it would be a lot simpler 16:37:26 jonrafkind [~jon@c-98-202-82-46.hsd1.ut.comcast.net] has joined #scheme 16:43:45 -!- Mikaeel_Mohamed [~Mohamdu@129-97-241-106.uwaterloo.ca] has quit [Ping timeout: 276 seconds] 16:50:00 -!- Poeir [~Poeir@c-98-228-48-133.hsd1.il.comcast.net] has quit [Quit: Leaving] 16:56:50 Poeir [~Poeir@c-98-228-48-133.hsd1.il.comcast.net] has joined #scheme 17:00:26 -!- jonrafkind [~jon@c-98-202-82-46.hsd1.ut.comcast.net] has quit [Ping timeout: 258 seconds] 17:01:01 -!- grettke [~grettke@cpe-65-30-16-243.wi.res.rr.com] has quit [] 17:07:58 jao [~jao@39.Red-88-27-171.staticIP.rima-tde.net] has joined #scheme 17:20:52 Fabse [~mightyfid@wikipedia/Track-n-Field] has joined #scheme 17:25:42 -!- apertu [~alper@host-194-88-211-36.snto-msu.net] has quit [Quit: Ex-Chat] 17:42:10 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Ping timeout: 265 seconds] 17:52:34 luz [~davids@201.37.229.31] has joined #scheme 17:54:01 hi 17:54:22 what's the right way to do a nested do loop, like the usual nested for loops in C? 17:54:35 it doesn't seem to work well for me 17:55:45 alvatar pasted "nested loops" at http://paste.lisp.org/display/97279 17:56:04 that doesn't work... why? 17:56:11 Dunno. 17:56:18 I never use "do" because it's kind of complicated 17:56:22 I can't ever remember how to use it 17:56:39 that's right 17:57:28 I assume that you want your loop to terminate based on the values of j and/or fx. But it's not clear that you're modifying those values inside the loop. My first guess would be that this code runs forever 17:57:51 -!- xavieran [~xavieran@ppp118-209-62-101.lns20.mel4.internode.on.net] has quit [Ping timeout: 276 seconds] 17:57:57 oh wait, fx>= is a function; never mind 17:58:13 yes :) 17:58:17 but still ... 17:58:18 it actually terminates 17:58:27 I can't even understand why it terminates :) 17:58:31 Lemme try it 17:58:46 actually, I'm using single do loops with no trouble 17:58:54 I just don't know how to make nested... 17:59:26 I annotated the version that works 17:59:37 alvatar annotated #97279 "single do" at http://paste.lisp.org/display/97279#1 18:00:41 -!- attila_lendvai [~ati@89.135.202.127] has quit [Ping timeout: 248 seconds] 18:09:20 alvatar: Add some print statements, that might help. Perhaps "res" is zero? 18:09:35 The code looks fine, but maybe we're overlooking something 18:10:14 xavieran [~xavieran@ppp118-209-187-103.lns20.mel6.internode.on.net] has joined #scheme 18:11:49 I generally use named let for loops ... 18:11:52 *sjamaan* too 18:12:00 or else I use some of the spiffy new iteration thingies in PLT v4 18:12:04 alvatar: The code works here, when I call it like (make-2d-field 2 2 2 (constantly 1)) 18:12:16 It returns #u8(1 234 15 228) 18:12:30 -!- MrFahrenheit [~RageOfTho@users-33-186.vinet.ba] has quit [Ping timeout: 258 seconds] 18:12:37 No idea if that's correct, but it terminates so it must be your call that's wrong 18:14:35 -!- Poeir [~Poeir@c-98-228-48-133.hsd1.il.comcast.net] has quit [Quit: This computer has gone to sleep] 18:16:42 Poeir [~Poeir@c-98-228-48-133.hsd1.il.comcast.net] has joined #scheme 18:18:44 sjamaan: the results it produces are wrong... 18:18:54 does it produce the same for both functions? 18:18:58 they should... 18:20:12 No, it produces #u8(1 1 1 1) 18:20:31 which is the right answer :) 18:20:39 heh 18:21:25 the single do is doing things right, the other isnt 18:21:31 What should res be? 18:21:56 If I change res to 1 it returns #u8(1 1 223 84) 18:22:07 I think the (fx* i j) is wrong 18:22:26 ohi man 18:22:28 You get 0 and 1 for i and j 18:22:39 So it will set 0 * 0, 0 * 1, 1 * 0 and 1 * 1 18:22:50 you are right 18:22:53 so dumb 18:23:04 I think you need to multiply j by size-x and add i to it 18:23:06 (or something) 18:23:09 yes 18:23:26 that's so typical in C, but now I have a mix of C and scheme in mind 18:23:30 this things happen 18:23:34 that's the problem 18:23:36 let me try 18:23:51 -!- cky [~cky@cpe-065-190-148-048.nc.res.rr.com] has quit [Ping timeout: 276 seconds] 18:24:26 The bogus numbers are just uninitialized slots in the vector 18:26:10 -!- bipt [~bpt@cl-851.chi-02.us.sixxs.net] has quit [Ping timeout: 260 seconds] 18:26:27 -!- Nshag [user@lns-bzn-22-82-249-98-71.adsl.proxad.net] has quit [Ping timeout: 276 seconds] 18:27:08 alvatar: I think you should break this up into slightly smaller pieces (e.g., one piece handles a one-dimensional vector; the other invokes the first piece twice to simulate two dimensions), and write simple unit tests for each piece 18:27:31 it worked fixing what sjamaan said 18:27:41 the point is that I believed that my mistake was in the syntax 18:28:14 offby1: I was doing that when I read your responses :) 18:28:20 but now it works :) 18:28:28 very C-ish, though 18:28:35 I agree with offby1 that named lets are easier to read 18:28:49 I never use do either 18:29:06 Takes me longer to look up the syntax than to write the loop with named lets 18:29:36 you are right... 18:30:46 cky [~cky@cpe-065-190-148-048.nc.res.rr.com] has joined #scheme 18:33:56 sjamaan: much as I like PLT's iterators, I can never remember _their_ syntax, either 18:34:11 I don't really know PLT's iterators 18:34:37 Iterators aren't very Schemely anyway 18:34:44 I never remember their syntax. I always wind up with `letrec'. 18:35:04 letrec is clumsy :S 18:35:24 I find it less clumsy than named let most of the time, to be honest. 18:35:46 sstrickl [~sstrickl@c-98-216-238-231.hsd1.ma.comcast.net] has joined #scheme 18:35:50 I find it pushes code farther to the right than named let 18:36:06 my code is pretty progressive. 18:36:13 Probably because of the explicit lambda and 'rec' in there 18:36:15 heh 18:36:17 Although I hear rudybot was spotted at one of those Tea Party rallies 18:36:28 I'm a right-side-of-the-monitor reactionary. 18:36:43 I insist on remaining on the outside of the monitor. 18:36:50 Inside a monitor, it's too dark to read 18:36:55 XD 18:37:21 s/^(.)/\1KC/ 18:37:26 bipt [~bpt@cl-851.chi-02.us.sixxs.net] has joined #scheme 18:37:34 But not inside of a dog, provided you've got an iPad. 18:38:01 and a large enough dog 18:38:21 I'm thinking Marmaduke-size hijinks here. 18:38:29 Nshag [user@lns-bzn-60-82-254-198-216.adsl.proxad.net] has joined #scheme 18:41:02 David Lichteblau's progress with CL bindings to Qt is tempting me to look at creating a similar set of bindings for PLT. 18:42:50 acarrico [~acarrico@pppoe-68-142-33-192.gmavt.net] has joined #scheme 18:43:33 sepult [~levgue@xdsl-78-35-208-244.netcologne.de] has joined #scheme 18:54:27 chandler, you promised you would first make char? and symbol? stop being praedicates for me. =( 18:55:14 I did what? 18:55:29 heh! 18:55:43 chandler the all-powerful dude who can change the standard 18:55:47 Bow before him! 18:55:55 sjamaan, I mean a library of some sorts. 18:56:09 Lajla: Isn't that really trivial? 18:56:14 sjamaan, yes. 18:56:15 (and (char? x) x) 18:56:42 sjamaan, that's one of the ways I guess, but I'm sure that if I do it myself I will probably skip efficiency at some point. 18:56:52 So better let some one who actually knows this langauge do it. 18:56:53 Like you. 18:57:06 Your relentless expertise is accepted. 18:57:37 sjamaan, also, I disagree with that one. 18:57:47 Assuming that x has some side effect. 18:58:01 It doesn't have to be a macro 18:58:15 (define (char?* x) (and (char? x) x)) 18:58:53 sjamaan, but what if I test some data that has a side effect? 18:59:18 It's a function, the side effect would happen once 18:59:18 *chandler* is convinced that #scheme occupies an intersection between the universe I inhabit and some other universe, and that certain participants in this channel who seem incomprehensible to me are really quite ordinary in their own reality. 18:59:31 (char?* (begin (display "hai") (newline) #\1) will just return 1 and print "hai" once 18:59:33 What if x is bound to (begin (display "Hello, Nurse!") #\c) 19:00:25 sjamaan, hmm, if you're sure. 19:00:44 Lajla: If *you're* not, please read the part about Scheme's evaluation model in R5RS again 19:00:49 This is basic stuff 19:02:33 Ohh 19:02:35 wait, I get it. 19:03:05 With if x is bound to that, I mean to that S-expression, not its evaluation 19:03:38 ? 19:03:43 with if? 19:03:44 You're still confused, or else the Scheme from your universe is different from mine. 19:03:53 Do you mean: What if (define x (begin (display "Hello, Nurse!") #\c)) ? 19:05:31 ? Then "Hello, Nurse" would be displayed, and then #\c bound to x and the call (char?* x) would be the same as (char?* #\c) 19:06:03 Maybe we should go get that nurse 19:06:06 No, I meant quoted, but I guess the idea is that a character can't possibly have a side effect of some sorts. 19:06:12 fabe [~fabe@p54A7E13F.dip.t-dialin.net] has joined #scheme 19:06:15 o_O 19:06:38 If the list is quoted, then the answer would be #f 19:06:41 Hey, I was the one that claimed languages should be learnt from the formal specifications and not the tutorials, you guys adivsed the reverse. 19:06:59 Yes, but can a character have a side effect when it evaluates to itself? 19:07:05 Who is "you guys"? 19:07:07 Double-o_O 19:07:11 Lajla: not in any standard Scheme, no 19:07:20 I suppose than it works. 19:07:25 offby1: Not in any non-standard Scheme I've seen either :) 19:07:37 I'm reminded of that babbage quote about giving computers the wrong input 19:07:59 then* 19:08:42 Definitely another universe 19:09:19 Maybe my client connects throughout the multiverse. 19:09:34 cpr420 [~cpr420@unaffiliated/cpr420] has joined #scheme 19:10:26 seangrove [~user@c-67-188-2-246.hsd1.ca.comcast.net] has joined #scheme 19:11:26 -!- bipt [~bpt@cl-851.chi-02.us.sixxs.net] has quit [Ping timeout: 260 seconds] 19:13:46 Sveklo [~sveklo@unaffiliated/sveklo] has joined #scheme 19:24:27 bipt [~bpt@cl-851.chi-02.us.sixxs.net] has joined #scheme 19:25:29 -!- alvatar [~alvatar@60.126.222.87.dynamic.jazztel.es] has quit [Quit: leaving] 19:38:20 rdd` [~user@c83-250-52-182.bredband.comhem.se] has joined #scheme 19:39:56 -!- rdd` is now known as rdd 19:49:22 -!- seangrove [~user@c-67-188-2-246.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 20:01:51 -!- rdd [~user@c83-250-52-182.bredband.comhem.se] has quit [Read error: Connection reset by peer] 20:04:12 Checkie [13459@unaffiliated/checkie] has joined #scheme 20:08:04 -!- jao [~jao@39.Red-88-27-171.staticIP.rima-tde.net] has quit [Read error: Connection reset by peer] 20:11:21 bgs100 [57o9@unaffiliated/bgs100] has joined #scheme 20:19:50 jao [~jao@122.Red-88-27-170.staticIP.rima-tde.net] has joined #scheme 20:22:13 -!- Colloguy [~flx@99.48.50.108] has quit [Ping timeout: 264 seconds] 20:28:48 schmir [~schmir@p54A9236D.dip0.t-ipconnect.de] has joined #scheme 20:36:10 -!- tps_ [~tps@hoasb-ff08dd00-36.dhcp.inet.fi] has quit [Quit: Leaving] 20:46:01 -!- acarrico [~acarrico@pppoe-68-142-33-192.gmavt.net] has quit [Ping timeout: 248 seconds] 20:46:51 -!- dfkjjkfd [~paulh@82-13-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 20:55:01 -!- Sveklo [~sveklo@unaffiliated/sveklo] has quit [Remote host closed the connection] 21:00:01 acarrico [~acarrico@pppoe-68-142-33-192.gmavt.net] has joined #scheme 21:10:22 -!- melba [~blee@unaffiliated/lazz0] has quit [Quit: my favourite color is blue......NO, YELLOWWWWWWWWW] 21:10:44 -!- schmir [~schmir@p54A9236D.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 21:22:34 -!- reprore_ [~reprore@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 21:25:37 -!- Fabse [~mightyfid@wikipedia/Track-n-Field] has quit [] 21:30:55 seangrove [~user@c-67-188-2-246.hsd1.ca.comcast.net] has joined #scheme 21:35:39 -!- IJP [~Ian@host86-174-203-114.range86-174.btcentralplus.com] has quit [Quit: leaving] 21:40:22 Hey all, I'm trying to convert some opengl c code to chicken scheme, but I'm having trouble figuring out how to modify an array 21:40:38 Any hints on how to write this in scheme would be appreciated - http://pastie.org/902061 21:41:57 Looks like red book example 9-1.... 21:42:50 seems easy 21:43:04 http://groups.google.com/group/plt-scheme/browse_thread/thread/403cda9f563dff5d - see rbex91.ss - this is PLT, not Chicken 21:43:06 -rudybot:#scheme- http://tinyurl.com/yz93wbt 21:48:06 Checking it now 21:49:08 -!- Fare [~Fare@c-24-218-127-11.hsd1.ma.comcast.net] has quit [Ping timeout: 265 seconds] 21:49:54 Colloguy [~flx@64.134.223.159] has joined #scheme 21:50:51 seangrove: http://gist.github.com/354881 is an outline for PLT scheme 21:51:02 and by "outline" I mean: I'm too lazy to actually finish it and test it 21:51:56 plt certainly looks nice 21:52:06 Oh, and change the "for" to "for*" 21:52:08 that * is crucial 21:53:25 ...and it makes sense to have it. 21:59:05 jonrafkind [~jon@c-98-202-82-46.hsd1.ut.comcast.net] has joined #scheme 22:41:19 Mr_Awesome [~eric@pool-72-69-240-30.chi01.dsl-w.verizon.net] has joined #scheme 22:41:48 MononcQc [~ferd@modemcable062.225-20-96.mc.videotron.ca] has joined #scheme 22:42:11 -!- acarrico [~acarrico@pppoe-68-142-33-192.gmavt.net] has quit [Ping timeout: 245 seconds] 22:48:39 flonum [~ben@24-138-98-109.zing-net.ca] has joined #scheme 22:53:59 masm [~masm@bl5-104-233.dsl.telepac.pt] has joined #scheme 22:56:09 -!- Colloguy [~flx@64.134.223.159] has quit [Ping timeout: 248 seconds] 22:58:28 -!- sepult [~levgue@xdsl-78-35-208-244.netcologne.de] has quit [Ping timeout: 258 seconds] 22:59:15 attila_lendvai [~ati@89.135.205.78] has joined #scheme 22:59:54 -!- masm [~masm@bl5-104-233.dsl.telepac.pt] has quit [Quit: Leaving.] 23:05:31 elderK [~elderK@pdpc/supporter/active/elderk] has joined #scheme 23:06:31 bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has joined #scheme 23:11:59 -!- pavelludiq [~quassel@91.139.196.209] has quit [Read error: Connection reset by peer] 23:13:50 mejja [~user@host-90-239-74-210.mobileonline.telia.com] has joined #scheme 23:16:46 -!- mejja [~user@host-90-239-74-210.mobileonline.telia.com] has quit [Client Quit] 23:21:08 -!- Poeir [~Poeir@c-98-228-48-133.hsd1.il.comcast.net] has quit [Read error: Connection reset by peer] 23:21:48 Poeir [~Poeir@c-98-228-48-133.hsd1.il.comcast.net] has joined #scheme 23:29:34 MrFahrenheit [~RageOfTho@users-55-179.vinet.ba] has joined #scheme 23:32:33 foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has joined #scheme 23:36:40 -!- foof [~user@i220-220-122-111.s02.a013.ap.plala.or.jp] has quit [Remote host closed the connection] 23:39:37 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 23:48:49 Mikaeel_Mohamed [~Mohamdu@CPE0013f7bc6820-CM0013f7bc681c.cpe.net.cable.rogers.com] has joined #scheme 23:55:29 sepult [~levgue@xdsl-87-78-25-92.netcologne.de] has joined #scheme 23:56:20 -!- flonum [~ben@24-138-98-109.zing-net.ca] has quit [Ping timeout: 268 seconds]