00:02:18 rageous [~Adium@71-215-200-175.mpls.qwest.net] has joined #scheme 00:02:57 *qu1j0t3* is washing his hair 00:03:13 klutometis: would it be fun? 00:06:40 -!- rageous [~Adium@71-215-200-175.mpls.qwest.net] has quit [Ping timeout: 260 seconds] 00:06:57 madmuppet006 [~user@122-62-124-247.jetstream.xtra.co.nz] has joined #scheme 00:07:06 i prefer to avoid getting code jammed anywhere 00:07:18 -!- ijp [~user@host86-182-156-174.range86-182.btcentralplus.com] has quit [Quit: off to finish reading hyperion] 00:07:45 thanks for your guys help! have a good one 00:07:49 -!- schemenewb [8e01f581@gateway/web/freenode/ip.142.1.245.129] has quit [Quit: Page closed] 00:08:39 I am trying to write a procedure to find perfect numbers .. it does not work because it says the next number is perfect .. any chance someone can have a look at it http://pastebin.com/01mv5N9m 00:09:55 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 00:12:58 qu1j0t3: I think so; they try to limit the social aspect by design, such that we're not allowed to collaborate until the round is done. 00:13:05 But I'd love to have some comraderie. 00:13:32 camaraderie* 00:13:49 Also, it will bump up the number of people using Scheme. 00:14:03 The preliminary round just started; and ends in roughly 24 hours. 00:15:45 hm 00:18:49 madmuppet006: What should the procedure do? Tell if n is a perfect number or not? 00:19:14 didi:yes if I enter 6 it shoudl return #t 00:19:42 didi: does not do that but does it for 7 instead 00:19:49 madmuppet006: OK. First, change `perfect' to `perfect?'. It's more idiomatic. 00:21:01 didi:k 00:21:59 madmuppet006: `phelper' is suppose to sum the proper divisor, right? 00:22:37 didi:yes 00:25:56 madmuppet006: Why do you terminate `phelper' when (zero? (modulo n a))? 00:26:08 No, you don't. 00:26:10 :^) 00:27:24 rageous [~Adium@71-215-200-175.mpls.qwest.net] has joined #scheme 00:28:09 -!- Radium_ [~carbon@117.203.2.40] has quit [Ping timeout: 272 seconds] 00:28:13 didi: its a part of a question in concrete abstractions .. I have a procedure that works fine while not using the square root to improve the efficiency of the function 00:29:19 -!- Kucuq [b201bc26@gateway/web/freenode/ip.178.1.188.38] has quit [Quit: Page closed] 00:30:11 -!- rageous [~Adium@71-215-200-175.mpls.qwest.net] has quit [Remote host closed the connection] 00:30:58 klutometis: Are you doing GCJ? Come chat in #gcj2 :-D 00:31:44 madmuppet006: Look at your accumulation. 00:31:47 rageous [~Adium@71-215-200-175.mpls.qwest.net] has joined #scheme 00:31:53 klutometis: As for Jamming in Scheme, see http://www.go-hero.net/jam/09/name/cky and for the year 2010 too :-D 00:32:12 The solution for Decision Tree is especially instructive. 00:32:19 -!- homie` [~levgue@xdsl-78-35-151-245.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 00:32:54 madmuppet006: Specially, look at what happens with (/ n a). 00:33:51 cky: Cool, thanks; yeah, looks like they did a +m on #gcj. Is that to discourage collaboration, or something? 00:33:53 didi:thanks I do need (/ n a) but I need to add (+ a acc and (/ n a)) 00:34:16 klutometis: Yes, it's +m'd during a contest. 00:34:19 klutometis: That's why we have #gcj2. 00:34:26 klutometis: Anyway, http://www.go-hero.net/jam/10/lang/Scheme 00:34:30 Fellow Schemers. :-D 00:34:50 Not that one should be collaborating even in #gcj2, but at least it's not silenced. 00:35:23 cky: Are those stats collected automatically, or do you have to opt in? 00:35:47 klutometis: Automatic. There's a GCJ contestant called foxlit who wrote a program to download everybody's submissions and analyse them. 00:36:23 Shamefully ;-), last year I coded exclusively in Ruby. 00:36:27 -!- leppie [~lolcow@196.215.142.236] has quit [Ping timeout: 265 seconds] 00:36:37 And the years before, even though I had some Scheme submissions, most entries were in Perl. 00:37:20 klutometis: The script tries to guess the language based on various heuristics, and for most languages they work well enough, but for languages like GolfScript where there is no clear structure, it's much harder. :-P 00:37:31 So my GolfScript entries got misidentified for a while. 00:37:51 madmuppet006: Why is that? 00:38:11 cky: Hmm; I wonder how they'll classify my Scheme-embedded-in-org-mode solutions. 00:38:21 I guess you'll find out. :-D 00:38:39 brcrth [~user@unaffiliated/brcrth] has joined #scheme 00:38:41 madmuppet006: Also, think about your example, 6. What are its divisors? 00:39:45 icrazyhack [~horieyui@115.173.241.77] has joined #scheme 00:39:46 didi:because I have the square root in there I have to add the number that divides and its other half which would not otherwise be added 00:40:20 didi:yeah I have not added the 1 although I should have the 2 and 3 00:40:23 madmuppet006: Are you sure you can use sqrt as the limit? 00:40:42 didi:yeah says so in the book 00:40:55 rudybot: (sqrt 6) 00:40:56 didi: your sandbox is ready 00:40:56 didi: ; Value: 2.449489742783178 00:41:04 (modulo 6 3) 00:41:06 rudybot: (modulo 6 3) 00:41:06 didi: ; Value: 0 00:41:43 leppie [~lolcow@196-210-234-248.dynamic.isadsl.co.za] has joined #scheme 00:43:37 didi: got it 00:43:59 didi: thanks 00:44:05 madmuppet006: No problem. 00:44:20 madmuppet006: Keep going. 00:44:44 I changed some initial values when I first called phelper 00:45:39 didi: changed acc to 1 and changed a to 2 to avoid dividing by one and getting the number and then the divisors 00:46:33 madmuppet006: I don't know what algorithm you're implementing, but go you! 00:49:15 didi:http://pastebin.com/29Ew2pBY works fine .. thanks for the help 00:49:31 madmuppet006: yw 00:49:36 didi: oops perfect? 00:49:41 :^) 00:50:56 madmuppet006: You can also, if you like, drop the `n' from the parameters list of `phelper'. 00:54:05 didi:thanks again ..:) 00:55:12 klutometis: it's pretty much impossible for me to do anything at the moment, but by all means let me know some point in the future. Camaraderie on Tap 00:58:49 -!- amgarchIn9 [~amgarchin@p4FD61967.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 00:59:05 s3rhart [~even@65.35.253.91] has joined #scheme 01:03:02 qu1j0t3: Sounds good; thanks. 01:04:04 homie [~levgue@xdsl-78-35-151-245.netcologne.de] has joined #scheme 01:05:41 -!- madmuppet006 [~user@122-62-124-247.jetstream.xtra.co.nz] has left #scheme 01:12:16 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 01:16:54 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Ping timeout: 260 seconds] 01:22:09 -!- dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has quit [Ping timeout: 260 seconds] 01:23:08 horieyui [~horieyui@115.173.241.77] has joined #scheme 01:23:27 -!- icrazyhack [~horieyui@115.173.241.77] has quit [Ping timeout: 260 seconds] 01:34:38 -!- horieyui [~horieyui@115.173.241.77] has quit [Ping timeout: 245 seconds] 01:43:54 -!- snits [~snits@75-167-15-187.phnx.qwest.net] has quit [Quit: leaving] 01:52:50 -!- brcrth [~user@unaffiliated/brcrth] has left #scheme 02:01:10 kvda [~kvda@124-169-131-183.dyn.iinet.net.au] has joined #scheme 02:08:31 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #scheme 02:10:09 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Ping timeout: 245 seconds] 02:15:20 estevocastro [~estevocas@cpe-74-72-192-178.nyc.res.rr.com] has joined #scheme 02:24:44 -!- jewel [~jewel@196-215-16-219.dynamic.isadsl.co.za] has quit [Ping timeout: 246 seconds] 02:25:32 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 02:25:40 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 02:29:45 -!- estevocastro [~estevocas@cpe-74-72-192-178.nyc.res.rr.com] has quit [Read error: Operation timed out] 02:29:50 es [~estevocas@cpe-74-72-192-178.nyc.res.rr.com] has joined #scheme 02:29:58 -!- es [~estevocas@cpe-74-72-192-178.nyc.res.rr.com] has quit [Remote host closed the connection] 02:30:12 estevocastro [~estevocas@cpe-74-72-192-178.nyc.res.rr.com] has joined #scheme 02:41:10 Radium_ [~carbon@117.203.2.40] has joined #scheme 02:51:12 madmuppet006 [~user@122-62-124-247.jetstream.xtra.co.nz] has joined #scheme 02:53:48 -!- turbofail [~user@c-24-5-89-172.hsd1.ca.comcast.net] has quit [Ping timeout: 245 seconds] 03:14:34 can someone point me to a .scheme.init howto please .. I have been trying to write one so I can increase the memory but if fails to load at startup 03:16:46 -!- zxq9 [~zxq9@FL1-119-244-165-111.okn.mesh.ad.jp] has quit [Ping timeout: 260 seconds] 03:18:56 zxq9 [~zxq9@FL1-119-244-165-111.okn.mesh.ad.jp] has joined #scheme 03:22:34 this sounds like implementation-dependent issue 03:22:50 -!- ssbr_ [~ssbr@python/site-packages/ssbr] has quit [Ping timeout: 246 seconds] 03:23:03 *kudkudyak* scratches his head 03:26:09 r126f_ [~ruwin126@120.142.67.254] has joined #scheme 03:26:12 -!- felipe [~felipe@unaffiliated/felipe] has quit [Ping timeout: 265 seconds] 03:26:12 -!- r126f [~ruwin126@120.142.67.254] has quit [Ping timeout: 265 seconds] 03:26:12 -!- Obfuscate [~keii@ip98-176-16-175.sd.sd.cox.net] has quit [Ping timeout: 265 seconds] 03:27:48 Obfuscate [~keii@ip98-176-16-175.sd.sd.cox.net] has joined #scheme 03:32:28 it does indeed 03:32:32 MIT I'd guess 03:32:44 yeah 03:35:06 -!- kvda [~kvda@124-169-131-183.dyn.iinet.net.au] has quit [Quit: Computer has gone to sleep.] 03:35:27 I know nothing about the MIT-scheme init file. But I'd try typing "ulimit -a" at the shell, to see if perhaps there's a memory limit from _that_ 03:38:23 -!- bzzbzz_ [~franco@modemcable151.155-57-74.mc.videotron.ca] has quit [Quit: leaving] 03:39:56 offby1:http://pastebin.com/Zer2PhRd result of ulimit -a 03:40:19 it says "max memory size unlimited", so my theory is kaput :-( 03:54:19 -!- sawjig [~sawjig@gateway/tor-sasl/sawjig] has quit [Ping timeout: 276 seconds] 03:59:36 -!- madmuppet006 [~user@122-62-124-247.jetstream.xtra.co.nz] has left #scheme 03:59:38 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 240 seconds] 04:01:25 preflex [~preflex@unaffiliated/mauke/bot/preflex] has joined #scheme 04:05:28 confab [~confab@c-71-193-9-153.hsd1.ca.comcast.net] has joined #scheme 04:17:15 Fare [~Fare@173-9-65-97-NewEngland.hfc.comcastbusiness.net] has joined #scheme 04:34:28 irus [~user@58.239.196.32] has joined #scheme 04:35:38 -!- jhemann [~Jason@adsl-99-137-201-46.dsl.bltnin.sbcglobal.net] has quit [Ping timeout: 240 seconds] 04:39:26 jhemann [~Jason@99.137.201.46] has joined #scheme 04:41:15 realitygrill [~realitygr@adsl-76-226-136-76.dsl.sfldmi.sbcglobal.net] has joined #scheme 04:46:55 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Ping timeout: 264 seconds] 04:47:23 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 04:47:39 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 05:01:11 -!- forcer [~forcer@hmbg-5f77e694.pool.mediaWays.net] has quit [Ping timeout: 246 seconds] 05:02:32 -!- jhemann [~Jason@99.137.201.46] has quit [Read error: Connection reset by peer] 05:02:47 jhemann [~Jason@adsl-99-137-201-46.dsl.bltnin.sbcglobal.net] has joined #scheme 05:04:19 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 05:11:29 tom_i [~thomasing@ingserv.demon.co.uk] has joined #scheme 05:13:04 -!- MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has quit [Ping timeout: 245 seconds] 05:14:28 republican_devil [~g@pool-108-13-218-184.lsanca.fios.verizon.net] has joined #scheme 05:33:00 -!- homie [~levgue@xdsl-78-35-151-245.netcologne.de] has quit [Read error: Connection reset by peer] 05:34:36 homie [~levgue@xdsl-78-35-151-245.netcologne.de] has joined #scheme 05:46:02 cswords [~cswords@c-98-223-234-80.hsd1.in.comcast.net] has joined #scheme 05:51:15 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 06:02:19 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Disconnected by services] 06:02:19 attila_lendvai1 [~attila_le@87.247.54.138] has joined #scheme 06:02:23 -!- attila_lendvai1 is now known as attila_lendvai 06:02:23 -!- attila_lendvai [~attila_le@87.247.54.138] has quit [Changing host] 06:02:23 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 06:09:38 -!- jhemann [~Jason@adsl-99-137-201-46.dsl.bltnin.sbcglobal.net] has quit [Ping timeout: 245 seconds] 06:11:45 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 06:12:10 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Remote host closed the connection] 06:15:39 homie` [~levgue@xdsl-78-35-190-92.netcologne.de] has joined #scheme 06:15:53 Arafangion` [~Arafangio@220-244-108-23.static.tpgi.com.au] has joined #scheme 06:17:12 MichaelRaskin [~MichaelRa@3ad50e34.broker.freenet6.net] has joined #scheme 06:17:36 -!- homie [~levgue@xdsl-78-35-151-245.netcologne.de] has quit [Ping timeout: 260 seconds] 06:24:26 leo2007 [~leo@111.194.106.191] has joined #scheme 06:26:12 -!- republican_devil [~g@pool-108-13-218-184.lsanca.fios.verizon.net] has quit [Remote host closed the connection] 06:29:44 -!- jao` [~user@pdpc/supporter/professional/jao] has quit [Ping timeout: 246 seconds] 06:36:00 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Read error: Operation timed out] 06:39:38 cdidd [~cdidd@93-80-56-92.broadband.corbina.ru] has joined #scheme 06:40:25 jewel [~jewel@196-215-117-85.dynamic.isadsl.co.za] has joined #scheme 06:44:01 -!- irus [~user@58.239.196.32] has quit [Remote host closed the connection] 06:48:08 didi [~user@unaffiliated/didi/x-1022147] has joined #scheme 06:51:09 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 06:58:15 -!- realitygrill [~realitygr@adsl-76-226-136-76.dsl.sfldmi.sbcglobal.net] has quit [Quit: Computer has gone to sleep] 07:09:19 -!- kudkudyak [~user@94.72.150.209] has quit [Ping timeout: 245 seconds] 07:10:38 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 240 seconds] 07:15:55 -!- estevocastro [~estevocas@cpe-74-72-192-178.nyc.res.rr.com] has quit [Ping timeout: 265 seconds] 07:18:00 kudkudyak [~user@94.72.150.209] has joined #scheme 07:26:11 jakky [jokk@2001:470:33:2::1ce] has joined #scheme 07:27:25 mmc [~michal@178-85-63-71.dynamic.upc.nl] has joined #scheme 07:31:06 -!- jakky [jokk@2001:470:33:2::1ce] has quit [Ping timeout: 260 seconds] 07:38:20 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Ping timeout: 252 seconds] 07:47:35 -!- Radium_ [~carbon@117.203.2.40] has quit [Read error: Connection reset by peer] 07:50:22 amgarchIn9 [~amgarchin@p4FD61A1F.dip0.t-ipconnect.de] has joined #scheme 07:50:33 Radium_ [~carbon@117.203.17.209] has joined #scheme 08:05:52 -!- mmc [~michal@178-85-63-71.dynamic.upc.nl] has quit [Ping timeout: 276 seconds] 08:09:47 forcer [~forcer@hmbg-5f7665ea.pool.mediaWays.net] has joined #scheme 08:17:42 keenbug [~daniel@p4FE399AD.dip.t-dialin.net] has joined #scheme 08:20:05 -!- Arafangion` [~Arafangio@220-244-108-23.static.tpgi.com.au] has quit [Ping timeout: 248 seconds] 08:22:19 mmc [~michal@178-85-63-71.dynamic.upc.nl] has joined #scheme 08:22:28 -!- samth is now known as samth_away 08:24:46 -!- samth_ [~samth@nomad.ccs.neu.edu] has quit [Ping timeout: 260 seconds] 08:27:16 schemenewb [4889f0ae@gateway/web/freenode/ip.72.137.240.174] has joined #scheme 08:30:54 Hi, I'm stuck with the error "compile: identifier used out of context in: generateSample" for the following code http://codepaste.net/ri4ifk . Any help is appreciated. 08:37:41 -!- schemenewb [4889f0ae@gateway/web/freenode/ip.72.137.240.174] has quit [Quit: Page closed] 08:56:24 -!- leo2007 [~leo@111.194.106.191] has quit [Quit: rcirc on GNU Emacs 24.0.95.1] 08:56:56 -!- leppie [~lolcow@196-210-234-248.dynamic.isadsl.co.za] has quit [Ping timeout: 265 seconds] 09:05:36 leppie [~lolcow@196-210-191-106.dynamic.isadsl.co.za] has joined #scheme 09:16:24 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Ping timeout: 260 seconds] 09:17:58 add^_ [~add^_^@m83-185-142-102.cust.tele2.se] has joined #scheme 09:28:57 kvda [~kvda@124-169-131-183.dyn.iinet.net.au] has joined #scheme 09:46:37 -!- mmc [~michal@178-85-63-71.dynamic.upc.nl] has quit [Ping timeout: 276 seconds] 09:59:31 palach [~Miranda@93.175.8.83] has joined #scheme 10:04:13 -!- leppie [~lolcow@196-210-191-106.dynamic.isadsl.co.za] has quit [Ping timeout: 245 seconds] 10:06:27 MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has joined #scheme 10:08:51 leppie [~lolcow@196-215-106-210.dynamic.isadsl.co.za] has joined #scheme 10:10:04 -!- tom_i [~thomasing@ingserv.demon.co.uk] has quit [Read error: Connection reset by peer] 10:11:56 t0lkman [~Talkman@c-67-170-223-126.hsd1.ca.comcast.net] has joined #scheme 10:13:07 -!- drdo [~drdo@roach0.drdo.eu] has quit [Remote host closed the connection] 10:14:07 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 10:14:21 tom_i [~thomasing@ingserv.demon.co.uk] has joined #scheme 10:15:59 -!- MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has quit [Ping timeout: 245 seconds] 10:16:27 *foof* curses glibc 10:18:27 masm [~masm@bl17-201-211.dsl.telepac.pt] has joined #scheme 10:20:55 -!- tom_i [~thomasing@ingserv.demon.co.uk] has quit [Ping timeout: 246 seconds] 10:21:42 drdo [~drdo@roach0.drdo.eu] has joined #scheme 10:28:26 -!- homie` [~levgue@xdsl-78-35-190-92.netcologne.de] has quit [Read error: Connection reset by peer] 10:30:36 araujo [~araujo@190.38.61.1] has joined #scheme 10:30:37 -!- araujo [~araujo@190.38.61.1] has quit [Changing host] 10:30:37 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 10:31:50 -!- drdo [~drdo@roach0.drdo.eu] has quit [Quit: I'm finished!] 10:33:04 -!- s3rhart [~even@65.35.253.91] has quit [Quit: Leaving.] 15:17:23 ccl-logbot [~ccl-logbo@setf.clozure.com] has joined #scheme 15:17:23 15:17:23 -!- names: ccl-logbot estevocastro tom_i kk` eni tomodo ijp karswell soveran gcartier pygospa felipe gravicappa leppie SHODAN homie` drdo araujo masm stis add^_ keenbug forcer Radium_ amgarchIn9 kudkudyak jewel cdidd MichaelRaskin cswords copumpkin Fare confab preflex Obfuscate r126f_ zxq9 rageous Euthydemus` aehrisch xian ToxicFrog jrslepak djcb Nisstyre levi edw cyphase bipt Aperculum X-Scale amgarching stepnem LeoNerd ecraven gabot dan64 amoe Inode mgodshall 15:17:23 -!- names: teiresias rvchangue snarkyboojum DGASAU mario-goulart daedric ASau pothos bfig wollw REPLeffect fhd noam Quadrescence acarrico kaiku hive-mind weinholt yosafbridge fbs tonyg Axioplase_ tessier hiato samth_away shardz arbscht sharkbird dostoyevsky peterhil fgudin aking nowhere_man em sporous antono surrounder ski tali713 zbigniew dsp_ joast ft gffa twem2 eli Khisanth pchrist SeanTAllen rudybot BigEndian cky cataska qu1j0t3 foocraft offby1 Zuchto pjb 15:17:23 -!- names: micro___ gnomon z0d acieroid ray tizoc asumu saccadewrk_ FireFly cmatei Pepe_ rmrfchik YokYok sad0ur DerGuteMoritz certainty finnrobi sontek dlouhy ve klutometis antoszka jrslepak_neu fizzie clog bweaver kandinski brendyn kanru evhan devn rapacity Saeren cow-orker aoh ec duncanm dnm ineiros Razz eMBee danking rotty ozzloy foof fds stamourv muep 15:24:58 jhemann [~Jason@adsl-99-137-201-46.dsl.bltnin.sbcglobal.net] has joined #scheme 15:34:33 Skola [~bas@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has joined #scheme 15:34:43 Skola_ [~bas@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has joined #scheme 15:34:44 -!- Skola_ [~bas@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has quit [Client Quit] 15:38:05 xwl [~user@123.108.223.115] has joined #scheme 15:39:03 -!- kk` [~kk@unaffiliated/kk/x-5380134] has quit [Quit: WeeChat 0.3.7] 15:39:28 kk` [~kk@unaffiliated/kk/x-5380134] has joined #scheme 15:39:28 Arafangion [~Arafangio@220-244-108-23.static.tpgi.com.au] has joined #scheme 15:39:37 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #scheme 15:39:56 -!- tom_i [~thomasing@ingserv.demon.co.uk] has quit [Ping timeout: 260 seconds] 15:40:51 -!- xwl [~user@123.108.223.115] has quit [Remote host closed the connection] 15:47:17 tom_i [~thomasing@ingserv.demon.co.uk] has joined #scheme 15:53:23 jhemann_ [~Jason@adsl-108-67-91-61.dsl.bltnin.sbcglobal.net] has joined #scheme 15:53:34 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Remote host closed the connection] 15:56:51 -!- jhemann [~Jason@adsl-99-137-201-46.dsl.bltnin.sbcglobal.net] has quit [Ping timeout: 260 seconds] 16:03:47 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 16:05:58 realitygrill [~realitygr@adsl-76-226-136-76.dsl.sfldmi.sbcglobal.net] has joined #scheme 16:13:05 chrissbx [~chrissbx@c-98-217-198-35.hsd1.ma.comcast.net] has joined #scheme 16:20:06 -!- noam [~noam@37.142.141.69] has quit [Read error: Connection reset by peer] 16:20:37 -!- leppie [~lolcow@196-209-224-2.dynamic.isadsl.co.za] has quit [Ping timeout: 265 seconds] 16:21:17 noam [~noam@37.142.141.69] has joined #scheme 16:21:39 -!- noam [~noam@37.142.141.69] has quit [Read error: Connection reset by peer] 16:21:57 noam [~noam@37.142.141.69] has joined #scheme 16:24:36 leppie [~lolcow@196.215.142.131] has joined #scheme 16:27:11 antithesis [~antithesi@81.71.110.7] has joined #scheme 16:38:41 dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has joined #scheme 16:43:49 -!- tom_i [~thomasing@ingserv.demon.co.uk] has quit [Ping timeout: 265 seconds] 16:48:23 -!- homie` [~levgue@xdsl-78-35-190-92.netcologne.de] has quit [Read error: Connection reset by peer] 16:48:43 -!- noam [~noam@37.142.141.69] has quit [Read error: Connection reset by peer] 16:49:00 noam [~noam@37.142.141.69] has joined #scheme 16:49:57 homie` [~levgue@xdsl-78-35-190-92.netcologne.de] has joined #scheme 16:50:25 -!- chrissbx [~chrissbx@c-98-217-198-35.hsd1.ma.comcast.net] has quit [Ping timeout: 276 seconds] 16:52:30 -!- homie` [~levgue@xdsl-78-35-190-92.netcologne.de] has quit [Read error: Connection reset by peer] 16:53:34 chrissbx [~chrissbx@c-98-217-198-35.hsd1.ma.comcast.net] has joined #scheme 16:56:23 Steve__ [~Steve@c-71-195-232-180.hsd1.ut.comcast.net] has joined #scheme 16:57:26 Have a question about vectors and lists. Checked "The Scheme Programming Language", but it didn't elucidate. What are the differences between a vector and a list? Why would one use a vector instead of a list? Or vice versa? 16:58:36 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 16:58:42 one main reason is vectors are a random access data structure, lists are linear access 16:59:07 I did see (vector-ref), but noted that (list-ref) seemed to work similarly. 16:59:20 similarly, but with a different time complexity 16:59:31 So, it's a matter of performance... 16:59:38 usually 17:00:06 ok. thanks. 17:00:12 I also typically expect vectors to be mutated frequently, where as I typically expect lists to be mutated infrequently, if at all 17:01:15 rudybot: you mutate my lists; I'll cut you 17:01:15 ijp: rudybot won't let you mutate literals :) 17:01:20 good 17:01:21 I guess it would be less costly to change vectors than lists. 17:02:49 Steve__: It's a matter of asymptotic performance. For some algorithms, constant random access is essential. 17:03:26 woonie [~woonie@175.156.118.115] has joined #scheme 17:11:39 tom_i [~thomasing@ingserv.demon.co.uk] has joined #scheme 17:13:55 -!- Steve__ [~Steve@c-71-195-232-180.hsd1.ut.comcast.net] has quit [Quit: Leaving] 17:15:07 MrFahrenheit [~RageOfTho@users-55-233.vinet.ba] has joined #scheme 17:31:25 t0lkman [~Talkman@c-67-170-223-126.hsd1.ca.comcast.net] has joined #scheme 17:33:06 adu [~ajr@pool-71-241-252-15.washdc.fios.verizon.net] has joined #scheme 17:36:34 -!- chrissbx [~chrissbx@c-98-217-198-35.hsd1.ma.comcast.net] has quit [Ping timeout: 276 seconds] 17:38:05 MrWiggin [~Bill@adsl-75-15-123-237.dsl.snlo01.sbcglobal.net] has joined #scheme 17:44:30 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 17:44:50 -!- ijp [~user@host86-182-156-174.range86-182.btcentralplus.com] has quit [Ping timeout: 260 seconds] 17:50:31 -!- ft [efftee@shell.chaostreff-dortmund.de] has quit [Ping timeout: 264 seconds] 17:51:06 _schulte_ [~eschulte@c-174-56-50-60.hsd1.nm.comcast.net] has joined #scheme 18:03:15 -!- dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has quit [Ping timeout: 252 seconds] 18:04:45 -!- gcartier [~gcartier@modemcable034.210-160-184.mc.videotron.ca] has quit [Remote host closed the connection] 18:10:30 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 260 seconds] 18:12:08 -!- jhemann_ [~Jason@adsl-108-67-91-61.dsl.bltnin.sbcglobal.net] has quit [Ping timeout: 245 seconds] 18:12:50 jhemann [~Jason@adsl-108-67-91-61.dsl.bltnin.sbcglobal.net] has joined #scheme 18:14:03 homie [~levgue@xdsl-78-35-190-92.netcologne.de] has joined #scheme 18:24:00 Ragnaroek [~chatzilla@91-67-230-210-dynip.superkabel.de] has joined #scheme 18:24:26 using an xtra pair of parens seems to be a no-no 18:24:32 ? 18:25:12 mmc [~michal@178-85-63-71.dynamic.upc.nl] has joined #scheme 18:25:25 ! 18:25:28 rudybot: (+ 2 3) 18:25:28 *offby1: your sandbox is ready 18:25:29 *offby1: ; Value: 5 18:25:30 rudybot: ((+ 2 3)) 18:25:31 *offby1: error: procedure application: expected procedure, given: 5 (no arguments) 18:25:36 rudybot: (+ (2) 3) 18:25:37 *offby1: error: procedure application: expected procedure, given: 2 (no arguments) 18:25:42 rudybot: ((+) 2 3) 18:25:42 *offby1: error: procedure application: expected procedure, given: 0; arguments were: 2 3 18:25:45 etc etc etc 18:27:16 eval: bad function in : ((+ 2 3)) 18:27:27 mm hmm 18:27:52 unlike many other languages, parentheses aren't optional. 18:28:04 They mean something specific, and you need exactly the right number. 18:28:09 was driving me crazy with a more complicated function - the eval: bad function error 18:28:48 made me think i wrote the functions wrong - i'll have to pay better attention 18:29:22 ijp [~user@host86-182-156-174.range86-182.btcentralplus.com] has joined #scheme 18:29:26 thnx 18:37:01 -!- gravicappa [~gravicapp@ppp91-77-177-170.pppoe.mtu-net.ru] has quit [Ping timeout: 276 seconds] 18:38:25 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Ping timeout: 260 seconds] 18:38:53 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 18:41:55 -!- eni [~eni@gob75-5-82-230-88-217.fbx.proxad.net] has quit [Ping timeout: 260 seconds] 18:44:17 -!- MrWiggin [~Bill@adsl-75-15-123-237.dsl.snlo01.sbcglobal.net] has left #scheme 18:45:21 MrWiggin [~Bill@adsl-75-15-123-237.dsl.snlo01.sbcglobal.net] has joined #scheme 18:51:48 -!- rageous [~Adium@71-215-200-175.mpls.qwest.net] has quit [Read error: Connection reset by peer] 18:52:16 gcartier [~gcartier@modemcable034.210-160-184.mc.videotron.ca] has joined #scheme 18:55:09 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #scheme 18:55:49 -!- Fare [~Fare@173-9-65-97-NewEngland.hfc.comcastbusiness.net] has quit [Quit: Leaving] 18:58:10 homie` [~levgue@xdsl-84-44-178-141.netcologne.de] has joined #scheme 18:58:21 -!- tomodo [~tomodo@gateway/tor-sasl/tomodo] has quit [Quit: leaving] 19:00:19 -!- homie [~levgue@xdsl-78-35-190-92.netcologne.de] has quit [Ping timeout: 260 seconds] 19:03:43 -!- homie` [~levgue@xdsl-84-44-178-141.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 19:04:14 -!- gcartier [~gcartier@modemcable034.210-160-184.mc.videotron.ca] has quit [Remote host closed the connection] 19:04:58 gcartier [~gcartier@modemcable034.210-160-184.mc.videotron.ca] has joined #scheme 19:05:53 homie [~levgue@xdsl-84-44-178-141.netcologne.de] has joined #scheme 19:06:23 -!- gcartier [~gcartier@modemcable034.210-160-184.mc.videotron.ca] has quit [Remote host closed the connection] 19:07:40 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 19:07:54 airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has joined #scheme 19:10:57 jakky [jokk@2001:470:33:2::1ce] has joined #scheme 19:11:57 -!- kk` [~kk@unaffiliated/kk/x-5380134] has quit [Quit: WeeChat 0.3.7] 19:12:18 kk` [~kk@unaffiliated/kk/x-5380134] has joined #scheme 19:14:38 -!- adu [~ajr@pool-71-241-252-15.washdc.fios.verizon.net] has quit [Read error: Connection reset by peer] 19:15:13 adu [~ajr@pool-71-241-252-15.washdc.fios.verizon.net] has joined #scheme 19:15:25 gcartier [~gcartier@modemcable034.210-160-184.mc.videotron.ca] has joined #scheme 19:16:07 -!- adu [~ajr@pool-71-241-252-15.washdc.fios.verizon.net] has quit [Read error: Connection reset by peer] 19:16:43 adu [~ajr@pool-71-241-252-15.washdc.fios.verizon.net] has joined #scheme 19:16:55 -!- jakky [jokk@2001:470:33:2::1ce] has quit [Ping timeout: 264 seconds] 19:19:03 -!- adu [~ajr@pool-71-241-252-15.washdc.fios.verizon.net] has quit [Read error: Connection reset by peer] 19:19:08 adu [~ajr@pool-71-241-252-15.washdc.fios.verizon.net] has joined #scheme 19:25:44 -!- bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has quit [Ping timeout: 265 seconds] 19:27:47 -!- cdidd [~cdidd@93-80-56-92.broadband.corbina.ru] has quit [Remote host closed the connection] 19:31:13 bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has joined #scheme 19:31:49 -!- _schulte_ [~eschulte@c-174-56-50-60.hsd1.nm.comcast.net] has quit [Ping timeout: 245 seconds] 19:35:26 *offby1* is glad MrWiggin wasn't wiggin out 19:35:36 jakky [jokk@2001:470:33:2::1ce] has joined #scheme 19:36:24 -!- bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has quit [Ping timeout: 245 seconds] 19:39:36 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Read error: Connection reset by peer] 19:41:38 _schulte_ [~eschulte@c-174-56-50-60.hsd1.nm.comcast.net] has joined #scheme 19:47:19 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 19:49:56 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 19:51:25 -!- woonie [~woonie@175.156.118.115] has quit [Ping timeout: 260 seconds] 19:53:48 -!- gcartier [~gcartier@modemcable034.210-160-184.mc.videotron.ca] has quit [Remote host closed the connection] 19:55:11 -!- Skola [~bas@5352A3FB.cm-6-3c.dynamic.ziggo.nl] has quit [Quit: Lost terminal] 20:03:38 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Remote host closed the connection] 20:04:29 -!- ASau [~user@128-72-117-212.broadband.corbina.ru] has quit [Read error: Connection reset by peer] 20:04:55 bipt [~bpt@cpe-173-095-170-102.nc.res.rr.com] has joined #scheme 20:05:23 ASau [~user@128-72-117-212.broadband.corbina.ru] has joined #scheme 20:07:05 -!- tom_i [~thomasing@ingserv.demon.co.uk] has quit [Ping timeout: 260 seconds] 20:07:14 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 20:09:19 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 245 seconds] 20:09:41 -!- homie [~levgue@xdsl-84-44-178-141.netcologne.de] has quit [Read error: Connection reset by peer] 20:11:00 -!- realitygrill [~realitygr@adsl-76-226-136-76.dsl.sfldmi.sbcglobal.net] has quit [Quit: Computer has gone to sleep] 20:11:16 homie [~levgue@xdsl-84-44-178-141.netcologne.de] has joined #scheme 20:11:46 -!- homie [~levgue@xdsl-84-44-178-141.netcologne.de] has quit [Remote host closed the connection] 20:13:53 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 20:16:23 homie [~levgue@xdsl-84-44-178-141.netcologne.de] has joined #scheme 20:17:07 -!- jewel [~jewel@196-215-117-85.dynamic.isadsl.co.za] has quit [Ping timeout: 276 seconds] 20:27:59 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Remote host closed the connection] 20:29:13 -!- adu [~ajr@pool-71-241-252-15.washdc.fios.verizon.net] has quit [Quit: adu] 20:30:53 leo2007 [~leo@123.123.251.39] has joined #scheme 20:33:34 realitygrill [~realitygr@thewall.novi.lib.mi.us] has joined #scheme 20:35:32 -!- airolson [~airolson@CPE00222d55a738-CM00222d55a735.cpe.net.cable.rogers.com] has quit [] 20:38:18 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 20:38:43 -!- Arafangion [~Arafangio@220-244-108-23.static.tpgi.com.au] has quit [Ping timeout: 265 seconds] 20:47:43 -!- realitygrill [~realitygr@thewall.novi.lib.mi.us] has quit [Quit: Computer has gone to sleep] 21:00:44 realitygrill [~realitygr@76.226.198.82] has joined #scheme 21:03:55 -!- estevocastro [estevocast@nat/hackerschool.com/x-arqahqdgbranmoax] has quit [Ping timeout: 276 seconds] 21:11:52 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has left #scheme 21:14:30 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Remote host closed the connection] 21:18:01 ssbr_ [~ssbr@python/site-packages/ssbr] has joined #scheme 21:23:57 gcartier [~gcartier@modemcable034.210-160-184.mc.videotron.ca] has joined #scheme 21:24:42 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 21:32:08 -!- bfig [~b_fin_g@r186-50-161-172.dialup.adsl.anteldata.net.uy] has quit [Read error: Connection reset by peer] 21:32:41 bfig [~b_fin_g@r186-50-182-65.dialup.adsl.anteldata.net.uy] has joined #scheme 21:41:23 snorble_ [~snorble@c193-14-18-68.cust.tele2.se] has joined #scheme 21:44:34 f8l [~f8l@77-255-7-152.adsl.inetia.pl] has joined #scheme 21:49:13 -!- antithesis [~antithesi@81.71.110.7] has quit [Quit: yes leaving] 21:50:04 -!- mmc [~michal@178-85-63-71.dynamic.upc.nl] has quit [Ping timeout: 276 seconds] 21:50:34 -!- gcartier [~gcartier@modemcable034.210-160-184.mc.videotron.ca] has quit [Remote host closed the connection] 21:50:47 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Remote host closed the connection] 21:52:08 -!- homie [~levgue@xdsl-84-44-178-141.netcologne.de] has quit [Read error: Connection reset by peer] 21:55:16 -!- add^_ [~add^_^@m83-185-142-102.cust.tele2.se] has quit [Quit: add^_] 21:57:04 -!- Ragnaroek [~chatzilla@91-67-230-210-dynip.superkabel.de] has quit [Ping timeout: 252 seconds] 22:00:01 homie [~levgue@xdsl-84-44-178-141.netcologne.de] has joined #scheme 22:01:01 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 22:08:52 CampinSam [~Sam@24-176-98-217.dhcp.jcsn.tn.charter.com] has joined #scheme 22:21:38 nowhereman [~pierre@AStrasbourg-551-1-101-186.w90-13.abo.wanadoo.fr] has joined #scheme 22:24:44 -!- nowhere_man [~pierre@AStrasbourg-551-1-132-131.w90-26.abo.wanadoo.fr] has quit [Ping timeout: 245 seconds] 22:24:44 choas [~lars@p4FDC59A5.dip.t-dialin.net] has joined #scheme 22:36:08 -!- karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has quit [Remote host closed the connection] 22:37:08 -!- keenbug [~daniel@p4FE399AD.dip.t-dialin.net] has quit [Ping timeout: 265 seconds] 22:37:16 -!- rudybot [~luser@ec2-50-18-28-110.us-west-1.compute.amazonaws.com] has quit [Read error: Connection reset by peer] 22:39:33 -!- bfig [~b_fin_g@r186-50-182-65.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 265 seconds] 22:41:39 adu [~ajr@pool-71-241-252-15.washdc.fios.verizon.net] has joined #scheme 22:46:23 karswell [~coat@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 22:52:04 alexei [~amgarchin@p4FD61A1F.dip0.t-ipconnect.de] has joined #scheme 22:52:16 -!- amgarchIn9 [~amgarchin@p4FD61A1F.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 22:53:23 -!- jhemann [~Jason@adsl-108-67-91-61.dsl.bltnin.sbcglobal.net] has quit [Ping timeout: 245 seconds] 23:01:31 bfig [~b_fin_g@r186-53-132-183.dialup.adsl.anteldata.net.uy] has joined #scheme 23:10:00 chrissbx [~chrissbx@c-98-217-198-35.hsd1.ma.comcast.net] has joined #scheme 23:10:09 -!- choas [~lars@p4FDC59A5.dip.t-dialin.net] has quit [Ping timeout: 245 seconds] 23:12:20 brcrth [~user@unaffiliated/brcrth] has joined #scheme 23:15:04 -!- f8l [~f8l@77-255-7-152.adsl.inetia.pl] has quit [Quit: WeeChat 0.3.7] 23:23:33 dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has joined #scheme 23:28:36 rageous [~Adium@71-215-200-175.mpls.qwest.net] has joined #scheme 23:33:30 crdueck_ [~cdk@129-97-210-228.uwaterloo.ca] has joined #scheme 23:33:47 -!- crdueck_ [~cdk@129-97-210-228.uwaterloo.ca] has left #scheme 23:33:53 crdueck_ [~cdk@129-97-210-228.uwaterloo.ca] has joined #scheme 23:34:27 -!- realitygrill [~realitygr@76.226.198.82] has quit [Quit: Computer has gone to sleep] 23:34:35 hello, can someone explain why this happenes (define a '(1 2 3 4)) (append (rest a) (first a)) gives (2 3 4 . 1)... why is that decimal there? 23:34:44 rudybot [~luser@ec2-50-18-28-110.us-west-1.compute.amazonaws.com] has joined #scheme 23:36:08 crdueck_: because (first a) is NOT a list 23:36:20 crdueck_: append takes N lists and puts them together 23:37:16 crdueck_: do you know how lists work? 23:37:47 adu: yes, it clicked. that was a big oversight on my part. thanks 23:39:11 rudybot: (let ((a '(1 2 3 4))) (append (cdr a) (list (car a)))) 23:39:12 adu: your sandbox is ready 23:39:12 adu: ; Value: (2 3 4 1) 23:39:38 rudybot: (cons 4 1) 23:39:38 adu: ; Value: (4 . 1) 23:39:42 gcartier [~gcartier@modemcable034.210-160-184.mc.videotron.ca] has joined #scheme 23:40:00 crdueck_: it's not a decimal 23:42:11 crdueck_: it's a dot 23:44:44 -!- brcrth [~user@unaffiliated/brcrth] has left #scheme