irclog2html for #linuxpakistan on 20060730

01:50.25*** join/#linuxpakistan pundai (n=pundai@d142-179-43-195.bchsia.telus.net)
02:39.53*** join/#linuxpakistan pundai (n=pundai@d142-179-43-195.bchsia.telus.net)
02:40.05pundaiyo maplist check this out
02:40.15pundai[40]> (defun all-but-last (lst)
02:40.17pundai<PROTECTED>
02:40.19pundai<PROTECTED>
02:40.23pundaiALL-BUT-LAST
02:40.25pundai[41]> (all-but-last '(1 2 3 4))
02:40.27pundai(1 2 3)
02:40.29pundai[42]> (all-but-last '())
02:40.31pundaiSegmentation fault
02:40.33pundaihahahahaha
02:40.35pundaithats awesome
02:40.37pundaiclisp :)
03:33.35*** join/#linuxpakistan pundai (n=pundai@d205-250-120-184.bchsia.telus.net)
05:17.19*** join/#linuxpakistan jojomonkey (n=jojomonk@c-67-176-62-37.hsd1.co.comcast.net)
05:17.20*** mode/#linuxpakistan [+v jojomonkey] by ChanServ
09:14.38maplistbeating linux_linux to the punch: http://www.naseeb.com/domains/article-detail.php?uname=fn&aid=126156
13:15.59*** join/#linuxpakistan barlas (n=Aqeel@linuxpakistan/user/barlas)
13:15.59*** mode/#linuxpakistan [+v barlas] by ChanServ
13:47.37*** join/#linuxpakistan fawad (n=fawad@c-24-15-18-66.hsd1.il.comcast.net)
13:48.47fawadaoa, folks.
14:40.51*** join/#linuxpakistan jojomonkey (n=jojomonk@c-67-176-62-37.hsd1.co.comcast.net)
14:40.51*** mode/#linuxpakistan [+v jojomonkey] by ChanServ
15:06.01*** join/#linuxpakistan aqeeliz (n=Aqeel@linuxpakistan/user/barlas)
15:06.01*** mode/#linuxpakistan [+v aqeeliz] by ChanServ
15:54.28*** join/#linuxpakistan phoenix__ (n=chatzill@202.125.143.66)
15:54.45phoenix__salam guys
15:54.53phoenix__some problem with LP
15:55.09phoenix__cant post messages there
15:56.39phoenix__Error in posting
15:56.44phoenix__DEBUG MODE
15:56.49phoenix__SQL Error : 1062 Duplicate entry '0' for key 1
15:56.56phoenix__INSERT INTO phpbb_posts (topic_id, forum_id, poster_id, post_username, post_time, poster_ip, enable_bbcode, enable_html, enable_smilies,
15:57.01phoenix__enable_sig) VALUES (5563, 16, 3217, '', 1154275006, 'ca7d8f42', 1, 0, 1, 1)
15:57.05phoenix__Line : 240
15:57.10phoenix__File : functions_post.php
15:59.09*** join/#linuxpakistan phoenix___ (n=chatzill@202.125.143.66)
16:05.31jargonphoenix_'s ghost: yeah, we know
16:14.57jargonmissed the 's'
16:26.16maplisti bet that f***** lambda broke linuxpakistan to keep serious employers from posting their serious job ads!
16:46.40jargonyeah, he's a trouble maker
16:46.58jargondude, i seriously think linux_linux and shell_lahore are the same person
16:48.11jargonwell, i got to do some shopping , later
16:49.54maplistsql is hard, let's go shopping!
17:06.56mapliston my site, i log the user's ip address whenever they signup or login
17:07.12maplistbut i don't allow users to stay logged in: they close the browser, they're gone.
17:28.08*** join/#linuxpakistan mo0oh (n=mo0oh@203.101.162.88)
17:32.43maplista cow?
17:33.43mo0ohl0l
17:34.12mo0ohi didn't check my last nick in name option
18:44.14*** join/#linuxpakistan pundai (n=pundai@d142-179-43-195.bchsia.telus.net)
18:44.26pundaiyo maplist around
19:06.58jargonpundai, yo
19:06.59maplistyo
19:08.02pundaihey nm figured it out
19:08.12pundai= v equals v eql
19:08.41jargonpundai, how's work? you still @ the same place ?
19:09.26pundaiyep
19:09.30pundaibrb
19:11.07jargonsame here, going to get some wendy's
19:12.00pundaii cant go for wendy's
19:12.05pundaiitd take me like 1.5 hrs to walk there and back
19:12.16pundaii just finished some spicy caju
19:13.12maplistthis is probably better:
19:13.12maplist(defun all-but-last (lst)
19:13.12maplist<PROTECTED>
19:13.12maplist<PROTECTED>
19:13.13maplist<PROTECTED>
19:13.39maplist(length some-list) is O(n)
19:13.39maplist(rest some-list) is O(1)
19:14.00pundaiah
19:14.02pundaithanks!
19:14.28maplistif you had scheme, you could use tail call elimination, which would remove all the stack calls while still letting you write the code in recursive format.
19:15.16pundaicuz lists are just car and cdr right
19:15.19maplistalso, append is slow
19:15.34pundaicons?
19:16.44maplistcons is slow, too!  but since you're not dealing with megabytes of data, it doesn't matter
19:16.58pundaiso htf do you make a list
19:17.07maplist(list 1 2 ... )
19:17.28pundaiyeah but its (list (first lst) (all-but-last (rest lst)))
19:17.28maplist(list "string" 23 'symbol '(cat list))
19:17.58maplistwell, i'm lazy, so i just cons it all up and then reverse it before printing it out
19:18.02maplister, returning it
19:18.48maplistlike this:
19:18.55maplist(define (all-but-last lst)
19:18.55maplist<PROTECTED>
19:18.55maplist(define (all-but-last-aux lst result)
19:18.55maplist<PROTECTED>
19:18.56maplist<PROTECTED>
19:18.58maplist<PROTECTED>
19:19.00maplister
19:19.06maplist(define (all-but-last-aux lst result)
19:19.07maplist<PROTECTED>
19:19.07maplist<PROTECTED>
19:19.13maplist<PROTECTED>
19:19.13maplist<PROTECTED>
19:19.13maplist<PROTECTED>
19:28.29*** join/#linuxpakistan pundai_ (n=pundai@d205-250-120-184.bchsia.telus.net)
19:30.56maplistmy lisp has silenced pundai.
19:31.04pundai_i got booted
19:31.04pundai_:P
19:31.23pundai_and i dont remember my nickserv password
19:31.23pundai_sweet
19:31.33pundai_i was asking what does reverse do
19:31.49pundai_omfg get these hicks to turn off their country music
19:32.05maplistcountry music isn't all bad
19:32.39pundai_im starting to not like music at all
19:32.42maplistlisten to http://www.waxor.com/~child/anyway/righteously.mp3
19:32.42pundai_its too noisy for me
19:33.07pundai_gonna walk downstairs now, lets see if i get dc'ed
19:35.04pundai_ahh my ears
20:18.02jargonthat's horrible
20:57.06pundai_jargon, :)
21:03.46jargonlater
21:03.48*** part/#linuxpakistan jargon (n=jojomonk@c-67-176-62-37.hsd1.co.comcast.net)
22:05.43*** join/#linuxpakistan Nav91 (i=Nav91@ris91-2-82-227-27-54.fbx.proxad.net)
22:05.49Nav91hello
22:05.53Nav91how are you?
22:09.49*** part/#linuxpakistan Nav91 (i=Nav91@ris91-2-82-227-27-54.fbx.proxad.net)
23:09.45*** join/#linuxpakistan jojomonkey (n=jojomonk@c-67-176-62-37.hsd1.co.comcast.net)
23:09.45*** mode/#linuxpakistan [+v jojomonkey] by ChanServ
23:48.21*** join/#linuxpakistan fawad (n=fawad@linuxpakistan/admin/fawad)
23:48.21*** mode/#linuxpakistan [+o fawad] by ChanServ
23:57.53jargonfawad, hey
23:58.01jargonget my email?

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.