00:00:43 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Read error: 104 (Connection reset by peer)] 00:01:13 -!- r2q2 [n=user@c-71-228-37-14.hsd1.il.comcast.net] has quit [Remote closed the connection] 00:02:17 -!- a-s [n=user@92.80.99.25] has quit [Connection reset by peer] 00:02:52 -!- lelf [n=lelf@217.118.90.255] has quit ["used jmIrc"] 00:04:06 -!- vasa [n=vasa@mm-29-81-84-93.dynamic.pppoe.mgts.by] has quit ["I am not vasya, i am vasa"] 00:14:34 -!- jonrafkind [n=jon@wireless272.wireless.utah.edu] has quit [Read error: 110 (Connection timed out)] 00:16:11 -!- moghar [n=user@unaffiliated/moghar] has quit [Remote closed the connection] 00:28:44 antoszka [n=antoszka@unaffiliated/antoszka] has joined #scheme 00:33:33 -!- ecraven [n=nex@140.78.42.103] has quit ["bbl"] 00:46:12 Adamant [n=Adamant@c-69-254-76-231.hsd1.ga.comcast.net] has joined #scheme 00:52:16 -!- antoszka [n=antoszka@unaffiliated/antoszka] has quit ["+++ killed by SIGSEGV +++"] 00:59:37 -!- name [n=name@sburn/devel/name] has quit ["Lost terminal"] 01:06:48 -!- kib2 [n=kib@bd137-1-82-228-159-28.fbx.proxad.net] has quit ["Quitte"] 01:09:48 gweiqi [n=greg@69.120.126.163] has joined #scheme 01:13:53 drdo [n=psykon@167.111.54.77.rev.vodafone.pt] has joined #scheme 01:14:57 wingo-tp: no, that's the libguile directory created by Tom Lord from scm. 01:15:45 and since Tom Lord claims to have started guile, the earliest change by him *should* be when guile was started 01:15:47 so... 01:15:48 wingo-tp: and the earliest change that Tom Lord made is libguile/ChangeLog-scm:Fri Dec 2 19:52:40 1994 Tom Lord (lord@x1.cygnus.com) 01:17:44 that was changing things in scm he didn't like before he did the real guile work 01:20:55 wasabi_________ [n=wasabi@ntoska205253.oska.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 01:24:33 dakeyras_ [n=dakeyras@pool-98-117-125-63.sttlwa.fios.verizon.net] has joined #scheme 01:27:07 augustbankr [n=bankr@68-116-166-32.dhcp.oxfr.ma.charter.com] has joined #scheme 01:32:56 augustbankr pasted "Double" at http://paste.lisp.org/display/72077 01:33:02 -!- wasabi________ [n=wasabi@ntoska205253.oska.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 110 (Connection timed out)] 01:33:09 hi there 01:33:45 can someone please explain how this syntax achieved the doubling? 01:34:14 i am following the PLT scheme guide and encountered this code and got stuck. 01:40:35 -!- dakeyras_ [n=dakeyras@pool-98-117-125-63.sttlwa.fios.verizon.net] has quit [] 01:41:39 offby1: ping 01:43:48 kerplop 01:43:53 gotta leave for home in a few minutes 01:44:42 offby1: jfyi, all sandbox issues are flushed out 01:44:51 ah, that's nice! 01:45:03 one more thing to commit tomorrow, and that's it 01:45:09 I dunno if I'll pull from svn ... I guess I will if you say those changes are sufficiently groovy :) 01:45:56 Well, groovy in a sense of closing down all of the leftover problems. 01:46:01 Are you able (or, for that matter, willing) to take a look at the problem I mentioned earlier -- where (it seems) that converting my code to from mutable to immutable hashes made it slow down? 01:46:26 unfortunately you'll have to look at a bit of code ... nothing too complex, though; just my little anagram program. 01:46:36 (It will also help if you use git to get it though) 01:46:53 Not now, I'm already half asleep. 01:47:54 do you have my original whine in your IRC buffer, or should I mail it to you? 01:48:01 or post it to the dev list for that matter? 01:48:03 Anyway, I'll tell you when it's comitted tomorrow, and what you'll need to take care of. 01:48:21 (very little, fwiw) 01:48:29 Yes, I have it. 01:48:33 good, good, good. 01:48:41 OK, then, whenever you get to it. 01:48:51 iirc, you might just try the list. 01:49:23 there's lots of factors in these things, and the two hash implementations are completely different. 01:49:32 *eli* yaaaaaaaaaaaaaaaaaaaaaaaaaaaaawns 01:53:10 hoooooooooooo kaaaaaaaaaaaaaay 01:55:36 Get a room you two. 02:04:01 -!- augustbankr [n=bankr@68-116-166-32.dhcp.oxfr.ma.charter.com] has quit ["Leaving"] 02:07:08 -!- sam___ [n=Sami__@hoasnet-fe1add00-113.dhcp.inet.fi] has quit [] 02:12:36 -!- levi [n=user@levi.dsl.xmission.com] has quit [Read error: 104 (Connection reset by peer)] 02:12:42 levi [n=user@levi.dsl.xmission.com] has joined #scheme 02:23:22 -!- melito [n=melito@70.99.250.82] has quit ["Leaving..."] 02:48:29 offby2 [n=Android@m5d0e36d0.tmodns.net] has joined #scheme 02:48:45 lo de la la 02:49:19 rudybot: whoz ur daD 02:49:24 geckosenator [n=sean@c-24-8-193-190.hsd1.co.comcast.net] has joined #scheme 02:49:33 hmm. 02:49:44 a gecko. 02:50:30 rudybot: uptime 02:50:30 offby2: I've been up for three weeks, four days; this tcp/ip connection has been up for three weeks, four days 02:50:34 yay 02:50:42 record, i think 02:52:51 offby2_ [n=Android@m3e0436d0.tmodns.net] has joined #scheme 02:53:19 a1len [n=James@unaffiliated/a1len] has joined #scheme 02:54:07 -!- mfredrickson [n=mfredric@c-98-212-171-158.hsd1.il.comcast.net] has quit [] 02:56:01 -!- offby2 [n=Android@m5d0e36d0.tmodns.net] has quit [Read error: 104 (Connection reset by peer)] 02:57:19 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 03:02:24 -!- offby2_ [n=Android@m3e0436d0.tmodns.net] has quit ["AndroidIrc Disconnecting"] 03:02:36 offby2 [n=Android@m4e0436d0.tmodns.net] has joined #scheme 03:03:01 offby2: Android? 03:07:42 -!- Nshag [i=user@Mix-Orleans-106-3-182.w193-248.abo.wanadoo.fr] has quit ["Quitte"] 03:07:46 offby2_ [n=Android@q-static-138-125.avvanta.com] has joined #scheme 03:10:02 -!- offby2 [n=Android@m4e0436d0.tmodns.net] has quit [Read error: 104 (Connection reset by peer)] 03:10:32 CaptainMorgan [n=CaptainM@c-24-61-150-59.hsd1.ma.comcast.net] has joined #scheme 03:16:24 -!- AshyIsMe [n=User@220.157.86.160] has quit [Read error: 104 (Connection reset by peer)] 03:19:42 -!- offby2_ [n=Android@q-static-138-125.avvanta.com] has quit [Read error: 104 (Connection reset by peer)] 03:27:35 -!- athos [n=philipp@92.250.204.223] has quit ["leaving"] 03:31:22 jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has joined #scheme 03:31:41 lolo2 [n=lolo@c-69-180-160-4.hsd1.mn.comcast.net] has joined #scheme 03:33:11 can someone help me, i want to insert an item into the end of a list only if it is not allready in there 03:33:12 http://pastebin.com/m4ced0849 03:33:36 -!- attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has quit [Read error: 113 (No route to host)] 03:38:57 do you know about the append function? 03:39:18 yeah 03:40:13 do you have to modify the original list? 03:40:22 no 03:40:36 new list is fine 03:41:21 (append '(x y z) (list 'zz)) ; => (x y z zz) 03:42:00 it needs to continue 03:42:39 what do you mean by "continue?" 03:43:01 (insert 7 ls) => (7) (insert 8 ls) => (7 8) 03:43:48 you mean so you can do (lambda (x xs) (insert 7 xs) (insert 8 xs) (insert 9 xs)) ? 03:45:02 AshyIsMe [n=User@220.157.86.160] has joined #scheme 03:45:05 http://pastebin.com/m17f4dd6e 03:45:13 that is the problem 03:46:45 do you know how to test functions in an interpreter? 03:47:11 no... all i do is plug and chug 03:47:42 how civilized 03:47:57 do you mean trace> 03:47:59 ? 03:48:15 i have never used trace 03:48:30 I just mean trying out the function to make sure it takes the right input and gives the right output 03:49:04 anyway, your function is right except for the (begin...) part 03:49:19 what needs to be fixed? 03:49:45 I was hoping you would pick up on my incredibly subtle hints as to exactly what you should do 03:50:24 I know it takes () when i want the value of item 03:50:37 or it spits back () when i want ls 03:51:12 mejja: yeah, android from the bus. 03:51:21 pain in the butt, but an awful lot of fun. 03:51:52 ozy' pls help me out 03:52:10 lolo2: try using the append function in slightly clever ways 03:52:33 that's why I mentioned it in the first place 03:52:55 (begin (set! ls (reverse (append (list item) ls))) ls))) does the same thing 03:54:03 reverse is in the wrong place i think 03:56:43 lolo2: no. just no. 03:57:07 take out the entire (begin ...) part. 03:57:12 and everything inside it. 03:57:23 ok 03:57:25 start with (apply ...) and work inward. 03:57:36 er 03:57:40 (append ...) 03:57:42 not apply 03:57:46 ok 03:58:04 bhrgunatha [n=chatzill@118-170-44-194.dynamic.hinet.net] has joined #scheme 04:02:02 elmex_ [n=elmex@e180068039.adsl.alicedsl.de] has joined #scheme 04:02:48 the same thing is happening, i will need a set! in there right? 04:03:06 no. what do you have now? 04:03:22 (append (list item) (reverse ls)))) 04:04:17 the (reverse ...) is not necessary 04:04:33 just put the arguments of append in the right order 04:04:41 :) ok 04:05:09 (append ok (list item)) 04:05:25 by ok i mean ls 04:05:29 -!- CaptainMorgan [n=CaptainM@c-24-61-150-59.hsd1.ma.comcast.net] has quit [Remote closed the connection] 04:05:30 that's much better 04:06:53 what elce needs to be done? ls does not get updated? 04:08:59 ls can't be updated from inside the insert function, the way it is right now 04:09:20 so you can call it as (set! ls (insert 7 ls)) 04:09:35 or you can use set-cdr! inside the definition of insert 04:10:31 the only trouble being that this won't work for empty lists anyway 04:11:04 :( yeah it needs to start from empty list... i need a helper function? 04:11:31 the problem said to return a new list, so I'm not sure why it shows its examples the way it does 04:11:39 yeah 04:11:54 is this for a class? (due tonight, presumably?) 04:12:02 study for final tomarrow 04:14:58 how do i get this working? 04:17:43 -!- elmex [n=elmex@e180069150.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)] 04:17:44 -!- elmex_ is now known as elmex 04:18:35 the only way to get it working the way the examples show is to write it as a macro 04:19:54 since my teacher never said that word once in class i take it something is wrong.... 04:20:28 my guess is that the example isn't actually supposed to mean what it seems to mean 04:20:59 and that the function as you have it right now conforms to the description 04:21:26 try calling (insert 7 '()), (insert 2 '(7)), etc. 04:23:47 (insert 2 '(7)) => (7) 04:24:42 (insert 7 '()) => () 04:24:52 http://paste.lisp.org/display/72081 <== okay, how does your code look different from this? 04:25:49 not any motr 04:25:51 more 04:26:12 what did you have? I'm curious 04:26:31 paste it as a reply to that 04:26:35 (click "annotate") 04:27:59 http://paste.lisp.org/display/72081#1 04:28:15 *ozy`* facepalms 04:28:52 im just doing whatever i can think of 04:29:08 unless you think that the question truly is wrong 04:29:10 updating a list in-place is surprisingly tricky 04:29:30 you either need a macro, or else you must always invoke your function like (setq list (your-function list item)) 04:29:35 lolo2: if you don't know what macros are, the example (not the question) is wrong. 04:29:44 either way, the example and the question disagree 04:30:33 well we did not learn setq only set! set-car! and setcdr! so i guess ill move on... 04:30:50 ha, I said "setq" 04:30:55 ignore offby1, he's speaking common lisp for some reason :p 04:30:55 I'm mixing up Emacs with Scheme 04:31:00 :) 04:31:08 still, the general point holds. 04:31:59 Lemonator [n=kniu@CMU-311358.WV.CC.CMU.EDU] has joined #scheme 04:32:40 yeah... lolo2, just relax and ignore the example, and rest assured that the question itself asks for exactly what my version does :p 04:32:57 ok thanks! 04:33:02 truly 04:34:21 -!- lolo2 [n=lolo@c-69-180-160-4.hsd1.mn.comcast.net] has quit ["Leaving"] 04:38:04 -!- kniu [n=kniu@OLAWDYME.RES.CMU.EDU] has quit [Read error: 110 (Connection timed out)] 04:44:28 Riastradh: critter alert! 04:45:31 *offby1* jerks awake 04:45:48 fuzzy critter? #\fuzzface 04:46:29 *mejja* reads '#\f*ckface' 04:46:39 tsk tsk 04:46:41 feelthy mind 04:46:48 so what new scheme news? 04:46:55 oh yeah, I gotta write up my gripe 04:47:09 Are you drunk Sir? 04:47:14 no, should I be? 04:48:40 Don't ask me, ask your wife 04:50:46 mejja pasted "x11base.c" at http://paste.lisp.org/display/72083 04:58:46 banisterfiend [n=john@203-97-217-154.cable.telstraclear.net] has joined #scheme 04:58:56 how do i indent lisp code? 04:59:08 mejja, hmm, unfortunately, I have no x86-64 machine right now to test that on. 04:59:48 banisterfiend: let an editor handle it 05:00:05 ozy: but im unsure when to add a newline 05:00:27 I try to err on the side of shorter lines 05:00:35 because I hate long lines 05:00:45 terser lisps would help with this, though 05:01:07 xwl [n=user@221.221.162.216] has joined #scheme 05:01:46 The criteria for when to break lines are numerous and subtle. 05:03:25 I break them when they're too long, myself. 05:03:28 *offby1* ducks 05:07:22 Gee, ediff needs a newline on the last line... 05:10:41 Excuse me: for *where* to break lines. 05:20:08 Steve Yegge wrote about how hard it was to autoindent Javascript 05:38:17 -!- gweiqi [n=greg@69.120.126.163] has left #scheme 05:43:03 tizoc_ [n=user@r190-135-3-124.dialup.adsl.anteldata.net.uy] has joined #scheme 05:44:40 -!- offby1 [n=user@q-static-138-125.avvanta.com] has quit [Remote closed the connection] 05:45:54 jlongster [n=user@c-68-59-187-95.hsd1.tn.comcast.net] has joined #scheme 05:52:01 offby1 [n=user@q-static-138-125.avvanta.com] has joined #scheme 05:53:12 well, steve yegge also wrote a 435 KB monstrosity of an elisp file which is unable to get the most -basic- indentation right 05:53:18 :) 05:53:40 -!- tizoc [n=user@r190-135-2-118.dialup.adsl.anteldata.net.uy] has quit [Read error: 110 (Connection timed out)] 05:54:24 hint: if your indentation strategy is to cycle amongst indentation possibilities every time you hit TAB, and the first one is never the right one, then it totally breaks indent-region 05:57:58 -!- Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has quit [Read error: 54 (Connection reset by peer)] 05:59:18 ... fortunately, when you need to get work done, as opposed to theorizing about it, there is the 18kb http://mihai.bazon.net/projects/emacs-javascript-mode. End rant. 06:03:48 Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has joined #scheme 06:04:21 raikov [n=igr@81.153.145.122.ap.yournet.ne.jp] has joined #scheme 06:07:51 duly noted 06:10:41 -!- jlongster [n=user@c-68-59-187-95.hsd1.tn.comcast.net] has quit [Read error: 60 (Operation timed out)] 06:22:28 -!- AtnNn [n=welcome@modemcable230.56-56-74.mc.videotron.ca] has quit ["strawberries"] 06:31:11 CaptainMorgan [n=CaptainM@c-24-61-150-59.hsd1.ma.comcast.net] has joined #scheme 06:33:27 johnnowak [n=johnnowa@207-38-171-48.c3-0.wsd-ubr1.qens-wsd.ny.cable.rcn.com] has joined #scheme 06:44:34 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [Read error: 104 (Connection reset by peer)] 06:45:11 Adamant [n=Adamant@c-69-254-76-231.hsd1.ga.comcast.net] has joined #scheme 06:47:59 are tehre any other quite large lisp chans besides #scheme and #lisp ? 06:48:20 -!- CaptainMorgan [n=CaptainM@c-24-61-150-59.hsd1.ma.comcast.net] has quit [Remote closed the connection] 06:49:07 doubt it 06:49:14 maybe there's a #clojure 06:49:15 #emacs ? 06:49:46 im banned from #lisp 06:49:46 how long to bans in #lisp typically last? 06:49:46 do* 06:50:58 you're banned until Lisp overtakes Java in undergraduate popularity 06:51:20 banisterfiend: whad'ja do, slide down their banister? They're fussy about that 06:52:06 -!- mejja [n=user@c-4db6e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit ["*bork bork*"] 06:52:24 offby1: i went online when i was drunk and posted a link of a russian porn 06:52:56 it was stupid 06:53:00 (but the porn was great) 06:57:06 heh 06:58:08 saccade_ [n=saccade@65.78.24.47] has joined #scheme 06:59:17 lol 07:05:17 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [Read error: 104 (Connection reset by peer)] 07:13:40 -!- bhrgunatha [n=chatzill@118-170-44-194.dynamic.hinet.net] has quit ["ChatZilla 0.9.84 [Firefox 3.1b3pre/20081209062230]"] 07:19:04 Adamant__ [n=Adamant@c-69-254-76-231.hsd1.ga.comcast.net] has joined #scheme 07:26:46 -!- brundlefliege [n=musha68k@h081217092231.dyn.cm.kabsi.at] has quit [] 07:33:44 mfredrickson [n=mfredric@c-98-212-171-158.hsd1.il.comcast.net] has joined #scheme 07:41:12 -!- mfredrickson [n=mfredric@c-98-212-171-158.hsd1.il.comcast.net] has quit [] 07:41:50 -!- araujo [n=araujo@gentoo/developer/araujo] has quit ["Leaving"] 07:42:27 araujo [n=araujo@gentoo/developer/araujo] has joined #scheme 07:50:19 -!- emma [n=emma@unaffiliated/emma] has quit [Connection timed out] 07:59:27 In Soviet Russia, porn watch you. 08:06:10 iframe [n=iframe@201.124.40.106] has joined #scheme 08:09:09 -!- Adamant__ [n=Adamant@c-69-254-76-231.hsd1.ga.comcast.net] has quit [Connection reset by peer] 08:11:07