00:00:09 Their site looks pretty... german. Not a bonus for me. 00:00:29 Hexstream: it was the prices that was doing it for me 00:00:47 Well, I don't like prices in Euros either. ;P 00:01:00 Quadrescence: meh I keep pasting and re-pasting this stuff 00:01:08 lol, google can convert for you if you want 00:01:14 <|3b|> buyvm.net lists some really cheap VPS, seem to always be out of stock though 00:01:27 I don't really trust automated translation... 00:01:27 if there was some way to put it on a bot (the few-liners to get C-c C-k to compile file into where ASDF puts it) 00:01:41 Hexstream: the site is in English as well you know 00:01:57 maxm, I'll post it on my blog, since I am having trouble finding it in the manual 00:02:17 it actually defaults to English for me 00:02:31 There are some English words here and there, but I can't seem to find a way to set it 100% in English. I guess I can't go wrong with linode. :) 00:03:07 Hexstream: the wee Union Jack in the top right corner, no? 00:03:14 -!- VieiraN [~VieiraN@177.103.136.5] has quit [Quit: leaving] 00:03:40 Guthur: Hah, my god. Ok. I was looking for "English" or something. 00:04:00 chiguire|m [~chiguire@190.39.219.179] has joined #lisp 00:04:00 -!- chiguire|m [~chiguire@190.39.219.179] has quit [Changing host] 00:04:01 chiguire|m [~chiguire@gentoo/developer/chiguire] has joined #lisp 00:04:12 Hexstream: I should add the disclaimer now that I have never actually used these guys 00:04:32 it was the cost compared to my current provider that was really selling it 00:05:35 Quadrescence: its in the 2nd part (annotation) to http://paste.lisp.org/display/129073 The two hacks there are independent, 1st one is for making ASDF fasl location unique per compilation policy, and 2nd one is for making C-c C-k in slime use ASDF for fasl location 00:06:14 -!- Fullmoon [~Fullmoon@dsl-stat-43-17.mmc.at] has quit [Quit: Fullmoon] 00:06:17 -!- dnolen [~user@p72-0-226-118-static.acedsl.com] has quit [Ping timeout: 255 seconds] 00:06:17 also the 2nd hack is implementation independent, while 1st one is for sbcl only 00:09:09 two- [~textual@67.23.193.215] has joined #lisp 00:10:10 -!- iLogical [~iLogical@unaffiliated/ilogical] has quit [Ping timeout: 276 seconds] 00:10:55 sykopomp [~sykopomp@gateway/tor-sasl/sykopomp] has joined #lisp 00:13:35 -!- two- [~textual@67.23.193.215] has quit [Ping timeout: 260 seconds] 00:15:03 -!- Hexstream [~hexstream@modemcable019.12-178-173.mc.videotron.ca] has left #lisp 00:22:15 -!- sellout [~Adium@c-98-245-90-138.hsd1.co.comcast.net] has quit [Quit: Leaving.] 00:22:40 paul0 [~paul0@201.47.45.226.dynamic.adsl.gvt.net.br] has joined #lisp 00:23:54 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 244 seconds] 00:25:11 iocor [~textual@unaffiliated/iocor] has joined #lisp 00:25:12 https://gist.github.com/2622705 00:25:13 yup 00:31:39 context? 00:38:59 stlifey_ [~stlifey@119.121.144.74] has joined #lisp 00:39:28 -!- bobbysmith007 [~russ@216.155.103.30] has quit [Quit: Leaving.] 00:40:10 bobbysmith007 [~russ@216.155.103.30] has joined #lisp 00:42:10 -!- stlifey [~stlifey@119.121.147.68] has quit [Ping timeout: 260 seconds] 00:44:52 -!- iocor [~textual@unaffiliated/iocor] has quit [Quit: Computer has gone to sleep.] 00:47:09 sellout [~Adium@c-98-245-92-119.hsd1.co.comcast.net] has joined #lisp 00:48:57 echo-area [~user@182.92.247.2] has joined #lisp 00:49:30 -!- KognizantKog [~user@72.168.55.98] has quit [Remote host closed the connection] 00:49:43 spacebait [~spacebat@staff-250-045.wireless.adelaide.edu.au] has joined #lisp 00:51:04 -!- Houl [~Parmi@unaffiliated/houl] has quit [Quit: weil das Wetter so schön ist] 00:55:21 -!- jacius [~jacius@c-24-13-89-230.hsd1.il.comcast.net] has quit [Remote host closed the connection] 00:57:19 -!- kvsari [~kvsari@119-173-226-28.rev.home.ne.jp] has quit [Quit: leaving] 01:00:24 -!- lars_t_h [~lars_t_h@002129043132.mbb.telenor.dk] has quit [Quit: Leaving] 01:01:54 replore [~replore@203.152.213.161.static.zoot.jp] has joined #lisp 01:02:26 statonjr [~statonjr@cpe-098-024-165-246.carolina.res.rr.com] has joined #lisp 01:11:28 tensorpudding_ [~michael@99.56.168.139] has joined #lisp 01:14:27 DataLinkDkt [~DataLink@58.165.204.123] has joined #lisp 01:14:43 -!- DataLinkDkt [~DataLink@58.165.204.123] has quit [Client Quit] 01:15:10 -!- tensorpudding [~michael@99.160.221.61] has quit [Ping timeout: 276 seconds] 01:16:24 DataLinkDkt [~DataLink@58.165.204.123] has joined #lisp 01:16:46 -!- DataLinkDkt is now known as DataLinkDroid 01:16:49 -!- replore [~replore@203.152.213.161.static.zoot.jp] has quit [Read error: Connection reset by peer] 01:20:38 leo2007 [~leo@119.255.41.67] has joined #lisp 01:25:52 neoesque [~neoesque@210.59.147.232] has joined #lisp 01:31:26 -!- bobbysmith007 [~russ@216.155.103.30] has quit [Quit: Leaving.] 01:32:03 bobbysmith007 [~russ@216.155.103.30] has joined #lisp 01:38:37 -!- flavioribeiro [~flaviorib@187-15-149-253.user.veloxzone.com.br] has quit [Remote host closed the connection] 01:40:04 |SLB| [~slabua@host76-162-dynamic.2-79-r.retail.telecomitalia.it] has joined #lisp 01:41:35 -!- [SLB] [~slabua@unaffiliated/slabua] has quit [Ping timeout: 252 seconds] 01:41:53 patrickwonders [~patrickwo@mobile-198-228-226-073.mycingular.net] has joined #lisp 01:43:19 -!- Kenjin [~josesanto@bl19-235-53.dsl.telepac.pt] has quit [Ping timeout: 260 seconds] 01:43:21 -!- Kwucks [ca091892@gateway/web/freenode/ip.202.9.24.146] has quit [Ping timeout: 245 seconds] 01:43:30 Kenjin [~josesanto@2.80.235.53] has joined #lisp 01:47:02 -!- patrickwonders [~patrickwo@mobile-198-228-226-073.mycingular.net] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi] 01:51:31 _schulte_ [~eschulte@c-174-56-50-60.hsd1.nm.comcast.net] has joined #lisp 01:56:36 -!- DataLinkDroid [~DataLink@58.165.204.123] has quit [Quit: Leaving now] 01:57:55 -!- harish [~harish@119.234.197.235] has quit [Ping timeout: 255 seconds] 02:10:04 springz [~springz@116.231.109.177] has joined #lisp 02:12:04 two- [~textual@c-67-171-131-23.hsd1.wa.comcast.net] has joined #lisp 02:14:05 -!- Guthur [~user@host86-150-21-142.range86-150.btcentralplus.com] has quit [Remote host closed the connection] 02:16:36 harish [~harish@119.234.199.166] has joined #lisp 02:22:54 -!- _schulte_ [~eschulte@c-174-56-50-60.hsd1.nm.comcast.net] has quit [Quit: leaving] 02:23:11 -!- Joreji [~thomas@vpn-ho1.unidsl.de] has quit [Read error: Operation timed out] 02:23:29 -!- stlifey_ [~stlifey@119.121.144.74] has quit [Quit: WeeChat 0.3.7] 02:31:41 -!- chiguire|m [~chiguire@gentoo/developer/chiguire] has quit [Ping timeout: 255 seconds] 02:34:28 flavioribeiro [~flaviorib@201.53.12.75] has joined #lisp 02:37:27 Kron_ [~Kron@2.49.66.141] has joined #lisp 02:38:02 VieiraN [~VieiraN@177.103.123.124] has joined #lisp 02:40:59 -!- pnq [~nick@ACA32E71.ipt.aol.com] has quit [Ping timeout: 252 seconds] 02:48:07 -!- kennyd [kennyd@93-136-59-234.adsl.net.t-com.hr] has quit [Ping timeout: 276 seconds] 02:50:53 kennyd [kennyd@78-0-200-173.adsl.net.t-com.hr] has joined #lisp 02:52:06 ramkrsna [ramkrsna@nat/redhat/x-hesvburnewfatepq] has joined #lisp 02:54:11 KognizantKog [~user@72.168.55.98] has joined #lisp 02:54:34 yates [~user@nc-71-48-9-61.dhcp.embarqhsd.net] has joined #lisp 02:55:31 using ql+slime+emacs, is there a way to get help on the top-level systems shown via (ql:system-apropos "sys-search-string")? 02:56:01 (using sbcl) 02:57:47 or do i actually have to load the system first? 02:58:26 Yuuhi`` [benni@p5483AAD8.dip.t-dialin.net] has joined #lisp 03:00:05 -!- Yuuhi` [benni@p5483B83B.dip.t-dialin.net] has quit [Ping timeout: 248 seconds] 03:02:23 ?> 03:02:50 a few quick pointers sure would save me some time - please someone? 03:02:59 kushal [kdas@fedora/kushal] has joined #lisp 03:07:07 am i being lazy? 03:09:26 gko [~gko@220.228.255.204] has joined #lisp 03:11:11 alvis` [~user@tx-184-6-180-2.dhcp.embarqhsd.net] has joined #lisp 03:11:18 *yates* thinks it's quite quiet around here tonight... 03:13:00 -!- alvis [~user@tx-184-6-180-2.dhcp.embarqhsd.net] has quit [Ping timeout: 272 seconds] 03:16:48 chirp chirp 03:17:40 -!- bobbysmith007 [~russ@216.155.103.30] has quit [Quit: Leaving.] 03:18:09 how do you get help on package "foo" in slime, assuming it's loaded? 03:18:19 bobbysmith007 [~russ@216.155.103.30] has joined #lisp 03:25:36 -!- borkman [~user@S0106001111de1fc8.cg.shawcable.net] has quit [Read error: Connection reset by peer] 03:27:29 -!- dreish [~dreish@minus.dreish.org] has quit [Quit: dreish] 03:28:22 anyone? please? 03:28:26 struggling here.. 03:29:24 nikodemus [~nikodemus@178-55-57-180.bb.dnainternet.fi] has joined #lisp 03:29:35 just the basics? 03:30:30 something like this? (asdf:system-description (asdf:find-system :alexandria)) 03:31:29 I'm not sure if something similar is possible for systems you didn't download yet 03:31:50 kennyd: thanks. isn't there a way to list the top level functions of the package? 03:32:01 there's also asdf:system-long-description 03:32:05 what you provided just gives a basic info string 03:32:54 do-external-symbols + fboundp 03:33:57 borkman [~user@S0106001111de1fc8.cg.shawcable.net] has joined #lisp 03:35:09 kennyd: i don't understand 03:35:22 -!- TDJACR [~TDJACR@unaffiliated/tdjacr] has left #lisp 03:35:25 -!- springz [~springz@116.231.109.177] has quit [Ping timeout: 260 seconds] 03:35:49 (do-external-symbols (sym :package) (if (fboundp sym) (print sym))) 03:36:19 springz [~springz@116.231.109.177] has joined #lisp 03:36:47 Spion [~spion@unaffiliated/spion] has joined #lisp 03:37:57 kennyd: working on it - thanks much for your suggestions. 03:38:23 no problem 03:39:10 TDJACR [~TDJACR@unaffiliated/tdjacr] has joined #lisp 03:40:46 -!- Spion_ [~spion@unaffiliated/spion] has quit [Ping timeout: 276 seconds] 03:41:52 so if i do C-c C-d f in slime and specify package:function, i get the help on that function in that package, right? 03:42:53 if i do C-c C-d h then i'm telling slime to look up the specified function in the hyperspec, right? 03:43:58 seangrove [~user@c-71-202-126-17.hsd1.ca.comcast.net] has joined #lisp 03:46:21 ah. i see 03:47:09 C-c C-d f looks up the function and displays in emacs, whether a cl function or some other package function or whatnot. 03:47:19 -!- |SLB| [~slabua@host76-162-dynamic.2-79-r.retail.telecomitalia.it] has quit [Quit: Close the world, Open the nExt] 03:47:30 C-c C-d h does hyper spec lookup in external web browser. 03:47:39 [SLB] [~slabua@host76-162-dynamic.2-79-r.retail.telecomitalia.it] has joined #lisp 03:47:39 -!- [SLB] [~slabua@host76-162-dynamic.2-79-r.retail.telecomitalia.it] has quit [Changing host] 03:47:39 [SLB] [~slabua@unaffiliated/slabua] has joined #lisp 03:49:08 yes 03:49:43 -!- Kenjin [~josesanto@2.80.235.53] has quit [Quit: Computer has gone to sleep] 03:50:46 well shoot - if i do C-c C-d f weblocks-demo:start-weblocks-demo i see an args argument but no description of what it is... 03:52:18 it probably doesn't have documentation string 03:54:01 mrky [~yhiselamu@lap.ee] has joined #lisp 03:54:12 :( 03:54:20 hello. is it fine to always use 'function-name instead of #'function-name ? 03:54:27 angavrilov [~angavrilo@217.71.227.190] has joined #lisp 03:55:25 yates you meant you get &rest args instead of actual arguments? 03:56:35 it takes the same arguments as start-weblocks. press M-. when cursor is over start-weblocks-demo. then press it again on start-weblocks 03:57:39 just a quick tip how to jump to the function's source if you don't know what it's doing. 04:01:05 kennyd: cool. like ctags, i guess? 04:01:11 yup. 04:01:19 -!- leo2007 [~leo@119.255.41.67] has quit [Quit: rcirc on GNU Emacs 24.0.96.1] 04:01:19 M-* goes back 04:01:44 M-, does too, easier to press 04:03:13 intesresting M-. works for standard functions too 04:05:19 kennyd: didn't know M-, 04:05:28 -!- jasox [~jasox@178.239.26.130] has quit [Ping timeout: 276 seconds] 04:05:57 have you run the weblocks-demo? it keeps on complaining about a default store. 04:06:32 {10093F4883}> has no default store defined (try :DEFAULT-STORE or moving WEBLOCKS:DEFSTORE after WEBLOCKS:DEFWEBAPP) 04:06:51 i don't know what it means by "try :DEFAULT-STORE". Where?!? 04:07:16 i'm just running (weblocks-demo:start-weblocks-demo) 04:08:05 that's just a warning not an error 04:08:15 I get the same thing and it works fine 04:08:18 kennyd: yeah, but it doesn't seem to run. 04:08:22 really? 04:08:29 yes 04:08:57 i'm entering localhost:8080 in my browser and i get the hunchentoot web server, not the demo 04:09:10 so use a different port 04:09:36 or stop hunchentoot server 04:09:51 I'll bbiab 04:14:11 sysfault_ [~exalted@c-68-37-216-107.hsd1.nj.comcast.net] has joined #lisp 04:14:40 -!- sysfault_ [~exalted@c-68-37-216-107.hsd1.nj.comcast.net] has quit [Client Quit] 04:29:10 -!- samebchase [samuel@pi.nipl.net] has quit [Remote host closed the connection] 04:36:07 -!- lilin [~lilin@116.19.167.215] has quit [Remote host closed the connection] 04:36:48 -!- Bacteria [~Bacteria@2001:388:608c:946:71e4:3581:93fc:add4] has quit [Read error: Connection reset by peer] 04:37:00 Bacteria [~Bacteria@2001:388:608c:946:71e4:3581:93fc:add4] has joined #lisp 04:41:08 -!- ramkrsna [ramkrsna@nat/redhat/x-hesvburnewfatepq] has quit [Ping timeout: 240 seconds] 04:44:41 -!- mrky [~yhiselamu@lap.ee] has quit [Quit: quit] 04:45:52 -!- benny [~benny@i577A7F76.versanet.de] has quit [Ping timeout: 245 seconds] 04:51:25 weblocks-elephant-demo is trying to load the bbdb from a weird place: Could not load /usr/local/BerkeleyDB.4.5/lib/libdb-4.5.so into /usr/local/BerkeleyDB.4.5/lib/libdb-4.5.so 04:57:08 jcowan [~John@mail.digitalkingdom.org] has joined #lisp 05:02:07 nipra [~nipra@61.12.27.114] has joined #lisp 05:02:19 CLISP returns T to (integerp (realpart #C(1 2.0))). Is that conformant? 05:03:17 yates: that's the location in some weird distribution, I got around that using my own checked out version of elephant and modifying my-config.sexp to match my bdb installation 05:03:48 didi [~user@unaffiliated/didi/x-1022147] has joined #lisp 05:04:20 jcowan: i don't think so, but don't quote me on that :) 05:04:55 The description of #C says it must do floating-point coercion, and obviously this does not: the real part remains 1, not 1.0. 05:05:11 Same with the `complex` function. 05:05:57 yates: elephant is not very quicklisp friendly since one has to manually modify my-config.sexp 05:06:12 -!- petter [~user@217.118.44.36] has quit [Quit: time to go to work...] 05:06:15 jcowan: exactly. and i can't think of any place where silently coercing floats back to rationals is allowed 05:06:41 -!- flavioribeiro [~flaviorib@201.53.12.75] has quit [Remote host closed the connection] 05:06:52 That would be bizarre: you don't want an inherently inexact value silently treated as exact. 05:07:23 petter: ok, good to know - i guess - i'm still a super-newbie. 05:07:41 i can't get weblocks-demo to work properly 05:08:07 What is more, you wind up with numbers that are the same in the sense of = but act differently in a way that the type system can't describe. 05:08:29 CLisp's `typeof` returns COMPLEX for all complex numbers; it never says "COMPLEX FLOAT" or "COMPLEX RATIONAL" or what have you. 05:08:34 jcowan: i would report it as a bug. maybe they have a rationale, or maybe it's a snafu 05:08:43 benny` [~benny@i577A16F9.versanet.de] has joined #lisp 05:08:52 -!- benny` is now known as benny 05:09:58 jcowan: are you running with --ansi or whatever the commandline flag is that one at least at some point needed to get clisp to act properly? 05:10:29 isn't it supposed to be the same demo as this? http://weblocks.viridian-project.de/weblocks-demo 05:10:53 i keep getting this on start: {1004546D63}> has no default store defined (try :DEFAULT-STORE or moving WEBLOCKS:DEFSTORE after WEBLOCKS:DEFWEBAPP) 05:11:04 nikodemus: 2.44.1 does not recognize --ansi 05:11:12 even though I (weblocks:defstore *weblocks-store* :memory) before starting 05:11:30 oh, it's -ansi, and no, that has no effect. 05:12:31 oh, nm. got it. 05:13:01 thanks folks. 05:13:03 good nite. 05:13:04 -!- yates [~user@nc-71-48-9-61.dhcp.embarqhsd.net] has quit [Quit: rcirc on GNU Emacs 24.0.95.1] 05:31:01 cfy|school [~user@218.75.16.111] has joined #lisp 05:31:07 -!- neoesque [~neoesque@210.59.147.232] has quit [Remote host closed the connection] 05:34:01 theos [~theos@unaffiliated/theos] has joined #lisp 05:37:09 -!- ISF [~ivan@187.106.49.167] has quit [Ping timeout: 255 seconds] 05:43:29 -!- nikodemus [~nikodemus@178-55-57-180.bb.dnainternet.fi] has quit [Ping timeout: 245 seconds] 05:44:56 The CLISP people consider this an extension to ANSI, but I'm arguing that the expression above produces an anti-ANSI result. 05:45:40 -!- trebor_home [~email@dslb-178-004-027-091.pools.arcor-ip.net] has quit [Ping timeout: 252 seconds] 05:47:59 ramkrsna [ramkrsna@nat/redhat/x-bgznmpyusziyxezm] has joined #lisp 05:48:40 ok 05:48:51 -!- cfy|school [~user@218.75.16.111] has quit [Remote host closed the connection] 05:51:21 edgar-rft [~user@HSI-KBW-078-043-123-191.hsi4.kabel-badenwuerttemberg.de] has joined #lisp 05:52:16 jlongster [~user@pool-108-4-74-122.rcmdva.fios.verizon.net] has joined #lisp 05:52:27 -!- jcowan [~John@mail.digitalkingdom.org] has left #lisp 05:53:19 ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has joined #lisp 05:58:42 -!- nipra [~nipra@61.12.27.114] has quit [Quit: Leaving] 05:59:57 sdemarre [~serge@91.176.39.207] has joined #lisp 06:00:09 -!- VieiraN [~VieiraN@177.103.123.124] has quit [Quit: leaving] 06:13:55 Kwucks [cbdb88d8@gateway/web/freenode/ip.203.219.136.216] has joined #lisp 06:19:20 -!- sdemarre [~serge@91.176.39.207] has quit [Ping timeout: 260 seconds] 06:22:19 -!- theos [~theos@unaffiliated/theos] has quit [Read error: Connection reset by peer] 06:24:27 -!- paul0 [~paul0@201.47.45.226.dynamic.adsl.gvt.net.br] has quit [Quit: paul0] 06:27:36 -!- treyka [~treyka@85.234.199.185] has quit [Read error: Operation timed out] 06:27:55 hkBst [~marijn@79.170.210.172] has joined #lisp 06:27:55 -!- hkBst [~marijn@79.170.210.172] has quit [Changing host] 06:27:55 hkBst [~marijn@gentoo/developer/hkbst] has joined #lisp 06:28:32 n1tn4tsn0k [~nitnatsno@178.46.3.180] has joined #lisp 06:29:28 -!- statonjr [~statonjr@cpe-098-024-165-246.carolina.res.rr.com] has quit [Quit: statonjr] 06:30:12 teggi [~teggi@123.21.175.206] has joined #lisp 06:32:05 Fullmoon [~Fullmoon@dsl-stat-43-17.mmc.at] has joined #lisp 06:35:28 snearch [~snearch@f053007062.adsl.alicedsl.de] has joined #lisp 06:36:49 -!- Phoodus [~foo@ip72-223-116-248.ph.ph.cox.net] has quit [Ping timeout: 245 seconds] 06:41:27 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Remote host closed the connection] 06:42:01 abeaumont [~abeaumont@90.165.165.246] has joined #lisp 06:42:29 -!- springz [~springz@116.231.109.177] has quit [Ping timeout: 248 seconds] 06:43:00 stassats [~stassats@wikipedia/stassats] has joined #lisp 06:45:57 hi 06:46:04 luc143r [luc143r@14.194.140.206] has joined #lisp 06:46:20 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 06:46:48 it is possible to use hunchentoot to build a animated webpage, with menus and animations? 06:47:13 -!- Quadrescence [~quad@unaffiliated/quadrescence] has quit [Read error: Connection reset by peer] 06:47:18 hunchentoot is a web-server 06:47:23 Posterdati: hunchentoot is a http server, and what you seem to talk about is front end technology 06:47:50 Posterdati: hunchentoot is suitable for building dynamic web sites, as the backend component. 06:48:15 neoesque [~neoesque@210.59.147.232] has joined #lisp 06:48:28 -!- luc143r [luc143r@14.194.140.206] has left #lisp 06:49:27 H4ns: is there any free solution? 06:49:31 Posterdati: ? 06:49:49 Posterdati: a free solution to learning how the web works? 06:49:58 -!- Fullmoon [~Fullmoon@dsl-stat-43-17.mmc.at] has quit [Quit: Fullmoon] 06:50:15 H4ns: forget it th 06:50:21 H4ns: thanks 06:52:31 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Ping timeout: 276 seconds] 06:58:04 -!- profmakx [~profmakx@unaffiliated/profmakx] has quit [Read error: Connection reset by peer] 06:59:09 ur5us [~ur5us@210.193.69.111.dynamic.snap.net.nz] has joined #lisp 07:02:13 -!- toekutr [~user@50-0-51-2.dsl.static.sonic.net] has quit [Remote host closed the connection] 07:04:26 profmakx [~profmakx@2a01:4f8:150:3181:2::20] has joined #lisp 07:04:39 -!- snearch [~snearch@f053007062.adsl.alicedsl.de] has quit [Quit: Verlassend] 07:04:51 -!- profmakx is now known as Guest66783 07:05:55 gravicappa [~gravicapp@ppp91-77-168-217.pppoe.mtu-net.ru] has joined #lisp 07:06:45 -!- Kwucks [cbdb88d8@gateway/web/freenode/ip.203.219.136.216] has quit [Quit: Page closed] 07:06:49 -!- ltriant [~ltriant@lithium.mailguard.com.au] has quit [Ping timeout: 276 seconds] 07:09:19 -!- TimKack` is now known as TimKack 07:12:33 kiuma [~kiuma@static-217-133-17-91.clienti.tiscali.it] has joined #lisp 07:14:04 -!- KognizantKog [~user@72.168.55.98] has quit [Read error: Connection reset by peer] 07:19:49 -!- tensorpudding_ [~michael@99.56.168.139] has quit [Ping timeout: 276 seconds] 07:20:45 -!- homie [~levgue@xdsl-87-79-192-69.netcologne.de] has quit [Read error: Connection reset by peer] 07:21:24 springz_ [~springz@116.231.109.177] has joined #lisp 07:22:11 homie [~levgue@xdsl-87-79-192-69.netcologne.de] has joined #lisp 07:22:40 ivan-kanis [~user@nantes.visionobjects.com] has joined #lisp 07:23:05 jdz [~jdz@193.206.22.97] has joined #lisp 07:26:14 Quadrescence [~quad@unaffiliated/quadrescence] has joined #lisp 07:28:08 nipra [~nipra@61.12.27.114] has joined #lisp 07:28:55 -!- springz_ [~springz@116.231.109.177] has quit [Ping timeout: 276 seconds] 07:30:38 ghost_ [~ghost@2001:da8:d800:101:216:d3ff:feae:1b91] has joined #lisp 07:31:11 -!- jlongster [~user@pool-108-4-74-122.rcmdva.fios.verizon.net] has quit [Ping timeout: 244 seconds] 07:32:20 homie` [~levgue@xdsl-78-35-172-157.netcologne.de] has joined #lisp 07:32:39 -!- wbooze [~wbooze@xdsl-87-79-192-69.netcologne.de] has quit [Ping timeout: 245 seconds] 07:34:37 -!- homie [~levgue@xdsl-87-79-192-69.netcologne.de] has quit [Ping timeout: 245 seconds] 07:38:16 ahinki [~chatzilla@212.99.10.150] has joined #lisp 07:44:06 -!- seangrove [~user@c-71-202-126-17.hsd1.ca.comcast.net] has quit [Ping timeout: 244 seconds] 07:48:21 mishoo [~mishoo@79.112.112.91] has joined #lisp 07:48:32 -!- hyoyoung [seoz@enlightenment2.osuosl.org] has quit [Remote host closed the connection] 07:51:40 Binario01 [~Bin10@99-40-155-90.lightspeed.stlsmo.sbcglobal.net] has joined #lisp 07:52:14 -!- pirateking-_- [~piratekin@c-67-169-182-169.hsd1.ca.comcast.net] has quit [Quit: pirateking-_-] 07:52:28 -!- Binario01 [~Bin10@99-40-155-90.lightspeed.stlsmo.sbcglobal.net] has quit [Remote host closed the connection] 07:52:41 hyoyoung [seoz@enlightenment2.osuosl.org] has joined #lisp 07:54:55 -!- EyesIsMine [~Eyes@WiseOS/Founder/EyesIsMine] has quit [Ping timeout: 276 seconds] 07:55:00 -!- teggi [~teggi@123.21.175.206] has quit [Read error: Connection reset by peer] 07:55:29 teggi [~teggi@123.21.175.206] has joined #lisp 07:56:12 pirateking-_- [~piratekin@c-67-169-182-169.hsd1.ca.comcast.net] has joined #lisp 08:10:54 varjag [~eugene@122.62-97-226.bkkb.no] has joined #lisp 08:11:18 jtza8 [~jtza8@196-210-240-114.dynamic.isadsl.co.za] has joined #lisp 08:12:07 -!- cods [~cods@rsbac/developer/cods] has quit [Ping timeout: 245 seconds] 08:15:44 -!- Guest7205 [~x@2001:4968:200:0:5652:ff:fe55:7b51] has quit [Read error: Connection reset by peer] 08:17:59 treyka [~treyka@77.109.79.57] has joined #lisp 08:18:39 cods [~cods@tuxee.net] has joined #lisp 08:19:04 -!- cods [~cods@tuxee.net] has quit [Changing host] 08:19:04 cods [~cods@rsbac/developer/cods] has joined #lisp 08:22:42 LaPingvino [~LaPingvin@d54C06DE6.access.telenet.be] has joined #lisp 08:23:49 tychon [~tychon@82.113.106.174] has joined #lisp 08:24:02 (mapcar (lambda (str) (concatenate 'string "Hello " str "!")) lispers) 08:25:43 kiuma: unbound variable "lispers" 08:25:52 did you mean "*lispers*"? 08:26:12 yes sure :) 08:30:40 Phoodus [~foo@wsip-68-107-217-139.ph.ph.cox.net] has joined #lisp 08:30:51 -!- spacebait [~spacebat@staff-250-045.wireless.adelaide.edu.au] has quit [Ping timeout: 256 seconds] 08:31:10 holycow [~fekoff@69.172.160.67] has joined #lisp 08:31:18 hi guys 08:31:27 -!- Guest66783 is now known as profmakx 08:31:33 -!- profmakx [~profmakx@2a01:4f8:150:3181:2::20] has quit [Changing host] 08:31:33 profmakx [~profmakx@unaffiliated/profmakx] has joined #lisp 08:32:29 c_arenz [arenz@nat/ibm/x-hlzmnhfoxerjidal] has joined #lisp 08:35:13 -!- treyka [~treyka@77.109.79.57] has quit [Ping timeout: 276 seconds] 08:38:34 -!- homie` [~levgue@xdsl-78-35-172-157.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 08:42:40 -!- profmakx [~profmakx@unaffiliated/profmakx] has quit [Read error: Connection reset by peer] 08:47:01 homie [~levgue@xdsl-78-35-172-157.netcologne.de] has joined #lisp 08:47:44 treyka [~treyka@77.109.79.57] has joined #lisp 08:49:01 profmakx [~profmakx@2a01:4f8:150:3181:2::20] has joined #lisp 08:49:14 -!- profmakx [~profmakx@2a01:4f8:150:3181:2::20] has quit [Changing host] 08:49:14 profmakx [~profmakx@unaffiliated/profmakx] has joined #lisp 08:52:01 eni [~eni@31.171.153.13] has joined #lisp 08:54:56 ferada [~ferada@dslb-088-068-142-141.pools.arcor-ip.net] has joined #lisp 08:55:03 -!- holycow [~fekoff@69.172.160.67] has quit [Quit: Lost terminal] 08:56:13 -!- DDR [~chatzilla@d142-179-78-231.bchsia.telus.net] has quit [Quit: for the love of god this is not safe for work] 09:08:32 kilon [~kvirc@178.59.17.196] has joined #lisp 09:09:08 n1nt4tsn0k|1 [~nitnatsno@178.46.14.146] has joined #lisp 09:11:38 -!- n1tn4tsn0k [~nitnatsno@178.46.3.180] has quit [Ping timeout: 240 seconds] 09:15:47 tcr [~tcr@178-83-229-138.dynamic.hispeed.ch] has joined #lisp 09:22:35 how to guesstimate how much memory I would need to host an hash table of counters (bigint) for 33 millions users (user name is a string)? 09:23:32 I'd start by making such a hash-table and seeing how much memory it uses. 09:23:55 Then I'd think carefully about why I believed that such a hash-table is a good idea. 09:24:44 dim: (progn (sb-ext:gc :full t) (room) (create-ht) (sb-ext:gc :full t) (room)) 09:24:51 that would depend on the hash table and function implementations, your average user name, the bigint implementation and average number stored, etc; so I agree, first test it 09:24:52 dim: don't you have the users in a database, perhaps with a unique integer key anyway? 09:25:17 then you could just use the integer for lookup... 09:25:18 33 millions of users? where did you get so much? 09:25:19 flip214: unique key is the user name, the database is distributed 09:25:38 I would solve the problem with pgsql as usual, but I'm curious about doing it in CL this time, as I'm learning CL 09:26:00 -!- echo-area [~user@182.92.247.2] has quit [Ping timeout: 260 seconds] 09:26:54 A more interesting question is -- what do you use these counters for? 09:27:02 on sbcl, 1.5 * 33 millions words for the vector, the rest is your data 09:27:28 It's likely that you don't need a complete or consistent mapping. 09:27:29 plus collisions 09:27:38 In which case you can represent it far more efficiently. 09:27:38 Zhivago: just updating some stats counters 09:27:39 well, with todays server sizes (minimum 8GB RAM, etc) it shouldn't really be a problem. don't know what you've got, though. 09:27:48 stassats: plus extra space to reduce collisions. 09:27:56 EyesIsMine [~Eyes@WiseOS/Founder/EyesIsMine] has joined #lisp 09:28:25 well I will do it in SQL this time again, not a good CL exercize it seems 09:28:29 pkhuong: isn't "1.5" factor that extra size? 09:28:37 dim: I don't follow. 09:28:55 It's not about CL. 09:28:58 -!- teggi [~teggi@123.21.175.206] has quit [Ping timeout: 252 seconds] 09:29:02 pkhuong: I could either solve my problem with tools I already know or solve it with new tools, like CL, that I'm learning 09:29:20 well that I'm trying to learn when I can make up some time for it here and there 09:29:25 It's likely that you're solving the wrong problem in the first place. What do these stats get used for? 09:29:25 stassats: thinko. I read that as 3 for some reason (index and key-value) 09:29:51 Zhivago: well, to show stats, that's about it, really 09:29:54 there's a stroke failure somewhere in mcclim drei, cause huge,bold fonts won't show me where the active paren match is....but large, roman fonts do.... 09:30:00 users like to have stats, I have to compute stats 09:30:14 (let ((table (make-hash-table :test #'equal))) (loop ... (incf (gethash name table) value)) ...) What's hard about this? 09:30:33 -!- eni [~eni@31.171.153.13] has quit [Ping timeout: 260 seconds] 09:30:47 pkhuong: I promise you that if some day you're helping me I'll notice you about it, ok? 09:31:03 Then do it the easy way. Generate periodic reports and store them in a file; keep a hot cache for frequent users. 09:31:55 That way it will scale. 09:31:57 Zhivago: yeah, that's already done. Now how do you generate the first numbers for those past events (about 10 billions of them for 33 millions of users) when your new system wasn't implemented? 09:32:28 A reducing sort upon a stream. 09:32:38 we're getting there, then 09:33:02 as the end result is a user/counter association, I though I would store the result in a hash-table 09:33:18 what do you think? 09:33:28 just do it with a hash table if that's what you need. Even if it takes hours, who cares? You're only running this once. 09:33:30 Well, if it's a hack to run once, who cares? 09:34:06 I care to know if running it once will swamp the machine using its swap or just run ok with the RAM I have here, how can I know about that? 09:34:22 dim: depends on the usernames, and size of the counters. 09:34:42 dim: it'll grow linearly 09:34:42 Run it and find out; if it does, then just drop half of the users and run it twice. 09:35:03 To a certain extent, it also depends on the hash function, but that's more easily fixed. 09:35:15 counters are less than 10 billion, int should be enough, maybe bigint is required, usernames are string of about 3 to 20 chars with an average at 14 chars maybe 09:35:38 ascii or not? 09:36:01 dim: do you have a 64bit machine? 09:36:10 I think it's limited to ascii in practice yes 09:36:11 dim: none of that is CL-specific. 09:36:16 64 bits, 8GB RAM 09:36:23 pkhuong: *exactly* 09:36:25 dim: in practice or in actuality? 09:36:39 lost in translation 09:36:51 dim: so why does it seem like it's not a good CL exercise? 09:37:11 because I don't want to be running the code to guess if I can run it 09:37:30 but you're willing to whine on IRC instead? 09:37:43 I would just federate counters from the distributed sources in a table then count/group by in SQL and be done 09:37:46 stassats: sure. 09:38:01 I'm always ok to whine on IRC 09:40:54 dim: you were given the information some time ago to determine the amount of memory it'd take... 09:42:04 11:26 on sbcl, 1.5 * 33 millions words for the vector, the rest is your data 09:42:15 pkhuong: are you refering to that? 09:42:35 Hussaind [~hussain@115.124.115.71] has joined #lisp 09:42:58 Let's suppose that you eliminate all non-ascii usernames to that each is a 32 byte simple-base-string. There's 33e6*32 for the key, 33e6*8 for the counter, and 33e6*1.5*8 for the vector; total: 1.7e9 bytes. 09:43:16 -!- jtza8 [~jtza8@196-210-240-114.dynamic.isadsl.co.za] has quit [Ping timeout: 252 seconds] 09:43:42 -!- Hussaind [~hussain@115.124.115.71] has left #lisp 09:45:34 (time (make-hash-table :size 33000000)), 1,324,435,712 bytes consed 09:45:55 teggi [~teggi@123.21.175.206] has joined #lisp 09:46:14 pkhuong: what's the vector in an hash-table? 09:46:17 oh right, and 33e6*8 bytes for the references to the keys. 09:46:19 stassats: these 1.3G don't include real keys and values, do they? 09:46:34 flip214: what do you think? 09:47:20 I think that asking is more polite than stating 09:48:34 flip214: stassats clearly proves you wrong 09:48:43 dim: it's how hash tables are implemented. The only difference with the textbook scheme is that SBCL keeps key-value pairs contiguously allocated, and only store key-value pair indices in a separate hash-function-addressed vector (simplifies some concurrent operations, and iteration). 09:48:46 i think it's obvious that (make-hash-table :size 33000000) doesn't create any keys and values 09:49:40 dim: hence the 1.5 extra words per entry (instead of .5 extra key-value pairs). 09:50:54 ok, thx 09:51:07 that's SBCL specicif though, but ok, I can easily use that here 09:51:11 -!- neoesque [~neoesque@210.59.147.232] has quit [Quit: Bye!] 09:51:21 *dim* is getting used to developping with CCL and running with either CCL or SBCL 09:51:44 dim: yes, the language agnostic way is "usage is linear. Just run it and see". 09:51:53 springz [~springz@116.231.109.177] has joined #lisp 09:51:59 pkhuong: if you create the ht for the right size, 1.5 rehash size doesn't come into play, so it's power-of-two-ceiling 09:52:04 (sb-int::power-of-two-ceiling 33000000) => 33554432 09:52:18 stassats: not necessarily a win. In fact, most probably not. 09:56:37 pkhuong: it appears that i get the same value nevertheless 09:57:10 thanks guys for all the answers, I would guestimate 2GB of RAM to maintain the counters, meaning I can actually implement it in CL. will see about it... thx 09:57:43 wbooze [~wbooze@xdsl-78-35-172-157.netcologne.de] has joined #lisp 09:58:27 dim: or you could have executed and measured (and scaled if necessary) in a tenth of the time here. 09:59:04 stassats: the index vector is a power-of-two-sized to make (mod length) faster. 09:59:09 not really, I don't think so, and I like to think before doing anyway 09:59:25 xan_ [~xan@80.174.78.166.dyn.user.ono.com] has joined #lisp 10:00:35 Joreji [~thomas@vpn-eu2.unidsl.de] has joined #lisp 10:01:18 kvsari [~kvsari@119-173-226-78.rev.home.ne.jp] has joined #lisp 10:01:30 -!- tr-808 [brambles@unaffiliated/contempt] has quit [Quit: leaving] 10:02:24 ikki [~ikki@187.193.136.2] has joined #lisp 10:02:28 tr-808 [brambles@unaffiliated/contempt] has joined #lisp 10:09:56 kofeine [~Miranda@knowingly-handling.volia.net] has joined #lisp 10:16:08 Guthur [~user@host86-150-21-142.range86-150.btcentralplus.com] has joined #lisp 10:17:16 -!- mutley89 [~mutley89@cpc1-hudd6-0-0-cust741.4-1.cable.virginmedia.com] has quit [Ping timeout: 276 seconds] 10:17:55 -!- Tristam [~Tristam@bodhilinux/team/Tristam] has quit [Ping timeout: 260 seconds] 10:22:43 -!- cyphase [~cyphase@unaffiliated/cyphase] has quit [Ping timeout: 244 seconds] 10:22:58 MoALTz [~no@host-92-2-137-237.as43234.net] has joined #lisp 10:29:47 mensch [~mensch@c-67-189-240-148.hsd1.ma.comcast.net] has joined #lisp 10:41:36 MoALTz_ [~no@host-92-8-152-245.as43234.net] has joined #lisp 10:42:29 -!- MoALTz [~no@host-92-2-137-237.as43234.net] has quit [Ping timeout: 248 seconds] 10:43:06 cyphase [~cyphase@unaffiliated/cyphase] has joined #lisp 10:46:23 -!- springz [~springz@116.231.109.177] has quit [Ping timeout: 260 seconds] 10:48:33 -!- ur5us [~ur5us@210.193.69.111.dynamic.snap.net.nz] has quit [Ping timeout: 244 seconds] 10:52:27 puchacz [~puchacz@87-194-5-99.bethere.co.uk] has joined #lisp 10:53:08 eni [~eni@31.171.153.13] has joined #lisp 10:53:29 MoALTz__ [~no@host-92-2-123-115.as43234.net] has joined #lisp 10:53:57 ignas [~ignas@office.pov.lt] has joined #lisp 10:55:38 -!- MoALTz__ [~no@host-92-2-123-115.as43234.net] has quit [Client Quit] 10:56:18 -!- MoALTz_ [~no@host-92-8-152-245.as43234.net] has quit [Ping timeout: 244 seconds] 11:01:00 -!- ferada [~ferada@dslb-088-068-142-141.pools.arcor-ip.net] has quit [Ping timeout: 252 seconds] 11:05:00 ferada [~ferada@dslb-088-068-142-141.pools.arcor-ip.net] has joined #lisp 11:05:02 -!- Bacteria [~Bacteria@2001:388:608c:946:71e4:3581:93fc:add4] has quit [Ping timeout: 245 seconds] 11:06:38 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 11:08:38 Jeanne-Kamikaze [~Jeanne-Ka@75.Red-88-7-128.staticIP.rima-tde.net] has joined #lisp 11:09:44 -!- ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 245 seconds] 11:10:20 snearch [~snearch@f053007062.adsl.alicedsl.de] has joined #lisp 11:11:42 manahino [~manahino@softbank126108006128.bbtec.net] has joined #lisp 11:13:54 -!- gko [~gko@220.228.255.204] has quit [Ping timeout: 265 seconds] 11:16:32 jtza8 [~jtza8@196-210-240-114.dynamic.isadsl.co.za] has joined #lisp 11:18:57 -!- eni [~eni@31.171.153.13] has quit [Quit: Leaving] 11:22:25 statonjr [~statonjr@cpe-098-024-165-246.carolina.res.rr.com] has joined #lisp 11:23:09 -!- kofeine [~Miranda@knowingly-handling.volia.net] has left #lisp 11:24:13 -!- tychon [~tychon@82.113.106.174] has quit [Ping timeout: 276 seconds] 11:24:54 tychon [~tychon@82.113.106.174] has joined #lisp 11:27:45 BrianRice` [~water@75-172-8-148.tukw.qwest.net] has joined #lisp 11:27:45 -!- BrianRice [~water@75-172-8-148.tukw.qwest.net] has quit [Read error: Connection reset by peer] 11:27:46 -!- BrianRice` is now known as BrianRice 11:29:19 BrianRice` [~water@75-172-8-148.tukw.qwest.net] has joined #lisp 11:29:20 -!- BrianRice [~water@75-172-8-148.tukw.qwest.net] has quit [Read error: Connection reset by peer] 11:29:21 -!- BrianRice` is now known as BrianRice 11:29:45 Bacteria [~Bacteria@115-64-180-132.static.tpgi.com.au] has joined #lisp 11:31:43 theos [~theos@unaffiliated/theos] has joined #lisp 11:32:47 -!- LaPingvino [~LaPingvin@d54C06DE6.access.telenet.be] has quit [Ping timeout: 255 seconds] 11:33:39 -!- statonjr [~statonjr@cpe-098-024-165-246.carolina.res.rr.com] has quit [Quit: statonjr] 11:34:42 stlifey [~stlifey@119.121.149.50] has joined #lisp 11:35:32 jasox [~jasox@178.239.26.130] has joined #lisp 11:37:48 Guest13819 [~L@41.155.68.245] has joined #lisp 11:37:51 -!- Guest13819 [~L@41.155.68.245] has left #lisp 11:38:42 -!- kilon [~kvirc@178.59.17.196] has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/] 11:41:19 leo2007 [~leo@123.114.33.41] has joined #lisp 11:42:49 -!- Bacteria [~Bacteria@115-64-180-132.static.tpgi.com.au] has quit [Quit: Bacteria] 11:45:15 LaPingvino [~LaPingvin@d54C06DE6.access.telenet.be] has joined #lisp 11:51:42 -!- antifuchs [foobar@care.boinkor.net] has quit [Ping timeout: 272 seconds] 11:51:53 -!- jjkola [~jjkola@xdsl-83-150-83-66.nebulazone.fi] has quit [Read error: Connection reset by peer] 11:52:14 pnq [~nick@AC816F3A.ipt.aol.com] has joined #lisp 11:54:37 antifuchs [foobar@care.boinkor.net] has joined #lisp 12:00:59 -!- c_arenz [arenz@nat/ibm/x-hlzmnhfoxerjidal] has quit [Ping timeout: 245 seconds] 12:01:29 iocor [~textual@unaffiliated/iocor] has joined #lisp 12:01:40 -!- pnq [~nick@AC816F3A.ipt.aol.com] has quit [Ping timeout: 256 seconds] 12:02:32 -!- theos [~theos@unaffiliated/theos] has quit [Ping timeout: 245 seconds] 12:03:30 pnq [~nick@AC816F3A.ipt.aol.com] has joined #lisp 12:03:38 theos [~theos@unaffiliated/theos] has joined #lisp 12:04:37 -!- Guthur [~user@host86-150-21-142.range86-150.btcentralplus.com] has quit [Remote host closed the connection] 12:08:23 -!- sepi [ygcdiiua3z@hcl-club.lu] has quit [Ping timeout: 245 seconds] 12:10:32 sepi [bycg840mhd@hcl-club.lu] has joined #lisp 12:14:38 -!- Kryztof [~user@81.174.155.115] has quit [Ping timeout: 245 seconds] 12:16:33 MoALTz [~no@host-92-8-238-139.as43234.net] has joined #lisp 12:17:35 S11001001 [~sirian@fsf/member/S11001001] has joined #lisp 12:18:31 visar [~visar@46.217.68.22] has joined #lisp 12:19:27 c_arenz [arenz@nat/ibm/x-sxiyzethlqbnzbtm] has joined #lisp 12:19:41 -!- visar [~visar@46.217.68.22] has left #lisp 12:21:38 iLogical [~iLogical@unaffiliated/ilogical] has joined #lisp 12:24:59 gaidal [~gaidal@h164n1-m-sp-d4.ias.bredband.telia.com] has joined #lisp 12:26:12 -!- MoALTz [~no@host-92-8-238-139.as43234.net] has quit [Ping timeout: 244 seconds] 12:26:29 -!- [SLB] [~slabua@unaffiliated/slabua] has quit [Quit: Close the world, Open the nExt] 12:34:27 -!- nipra [~nipra@61.12.27.114] has quit [Ping timeout: 255 seconds] 12:34:39 -!- froggey [~froggey@unaffiliated/froggey] has quit [Ping timeout: 250 seconds] 12:34:43 xristos [~x@2001:4968:200:0:5652:ff:fe55:7b51] has joined #lisp 12:34:57 -!- xristos is now known as Guest14602 12:35:29 froggey [~froggey@unaffiliated/froggey] has joined #lisp 12:36:52 ngz [~user@103.69.69.86.rev.sfr.net] has joined #lisp 12:37:18 vervic [~vervic@vie-91-186-155-031.dsl.sil.at] has joined #lisp 12:38:07 -!- profmakx [~profmakx@unaffiliated/profmakx] has quit [Read error: Connection reset by peer] 12:42:21 -!- teggi [~teggi@123.21.175.206] has quit [Ping timeout: 265 seconds] 12:44:27 profmakx [~profmakx@2a01:4f8:150:3181:2::20] has joined #lisp 12:44:53 -!- profmakx is now known as Guest99969 12:46:44 cymew [~cymew@fw01d.snowmen.se] has joined #lisp 12:49:47 -!- c_arenz [arenz@nat/ibm/x-sxiyzethlqbnzbtm] has quit [Read error: Operation timed out] 12:51:03 teggi [~teggi@123.21.175.206] has joined #lisp 12:53:40 -!- snearch [~snearch@f053007062.adsl.alicedsl.de] has quit [Quit: Verlassend] 12:54:44 -!- pnq [~nick@AC816F3A.ipt.aol.com] has quit [Ping timeout: 245 seconds] 12:55:51 ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has joined #lisp 12:58:11 MoALTz [~no@host-92-8-157-26.as43234.net] has joined #lisp 13:01:26 Joreji_ [~thomas@u-0-037.vpn.rwth-aachen.de] has joined #lisp 13:03:35 -!- varjag [~eugene@122.62-97-226.bkkb.no] has quit [Quit: Leaving] 13:04:33 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Disconnected by services] 13:04:33 attila_lendvai1 [~attila_le@178-164-240-129.pool.digikabel.hu] has joined #lisp 13:07:43 -!- Vivitron` [~user@pool-173-48-170-228.bstnma.fios.verizon.net] has quit [Remote host closed the connection] 13:07:43 -!- lboat [~lboat@pool-173-48-170-228.bstnma.fios.verizon.net] has quit [Remote host closed the connection] 13:15:50 -!- Joreji_ [~thomas@u-0-037.vpn.rwth-aachen.de] has quit [Ping timeout: 260 seconds] 13:16:13 c_arenz [arenz@nat/ibm/x-jbmtwvzhssszpabe] has joined #lisp 13:16:18 flavioribeiro [~flaviorib@ct1corp.globo.com] has joined #lisp 13:19:35 Is there a CL library that has an immutable RB-tree-based "functional map container"? 13:19:53 -!- Jeanne-Kamikaze [~Jeanne-Ka@75.Red-88-7-128.staticIP.rima-tde.net] has quit [Quit: Did you hear that ?] 13:20:34 there's one in ..... 13:20:40 new jersey 13:20:43 lol 13:21:07 -!- Guest99969 [~profmakx@2a01:4f8:150:3181:2::20] has quit [Changing host] 13:21:08 Guest99969 [~profmakx@unaffiliated/profmakx] has joined #lisp 13:21:33 -!- Guest99969 is now known as profmakx 13:22:17 Joreji_ [~thomas@u-0-013.vpn.rwth-aachen.de] has joined #lisp 13:22:41 lboat [~lboat@pool-173-48-170-228.bstnma.fios.verizon.net] has joined #lisp 13:23:28 yeah, in the http://mythryl.org/ language you mean? 13:23:57 dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has joined #lisp 13:27:10 -!- jtza8 [~jtza8@196-210-240-114.dynamic.isadsl.co.za] has quit [Ping timeout: 244 seconds] 13:27:50 jtza8 [~jtza8@196-210-240-114.dynamic.isadsl.co.za] has joined #lisp 13:28:01 Modius: maybe fset 13:28:16 see http://www.cliki.net/data%20structure 13:29:36 -!- ramkrsna [ramkrsna@nat/redhat/x-bgznmpyusziyxezm] has quit [Quit: Leaving] 13:33:20 -!- puchacz [~puchacz@87-194-5-99.bethere.co.uk] has quit [Ping timeout: 260 seconds] 13:39:05 -!- manahino [~manahino@softbank126108006128.bbtec.net] has quit [Read error: Connection reset by peer] 13:40:24 -!- vervic [~vervic@vie-91-186-155-031.dsl.sil.at] has quit [Quit: vervic] 13:41:51 kilon [~kilon@athedsl-386254.home.otenet.gr] has joined #lisp 13:41:56 madalu [~user@unaffiliated/madalu] has joined #lisp 13:44:06 -!- TDJACR [~TDJACR@unaffiliated/tdjacr] has quit [Changing host] 13:44:06 TDJACR [~TDJACR@lilug/member/tdjacr] has joined #lisp 13:45:37 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Read error: Connection reset by peer] 13:46:20 gko [~gko@114-34-168-13.HINET-IP.hinet.net] has joined #lisp 13:46:20 araujo [~araujo@gentoo/developer/araujo] has joined #lisp 13:50:59 -!- kushal [kdas@fedora/kushal] has quit [Ping timeout: 245 seconds] 13:51:27 -!- Joreji_ [~thomas@u-0-013.vpn.rwth-aachen.de] has quit [Ping timeout: 244 seconds] 13:53:25 Bacteria [~Bacteria@115-64-180-132.static.tpgi.com.au] has joined #lisp 13:53:42 Joreji_ [~thomas@u-0-013.vpn.rwth-aachen.de] has joined #lisp 13:54:03 echo-area [~user@182.92.247.2] has joined #lisp 13:56:05 tsuru [~charlie@adsl-74-179-198-242.bna.bellsouth.net] has joined #lisp 13:57:05 samebchase [samuel@pi.nipl.net] has joined #lisp 13:57:36 Vivitron [~user@pool-173-48-170-228.bstnma.fios.verizon.net] has joined #lisp 14:02:12 lilin [~lilin@116.19.167.215] has joined #lisp 14:05:56 rmarianski [~rmariansk@mail.marianski.com] has joined #lisp 14:06:37 -!- kpreid [~kpreid@128.153.213.162] has quit [Quit: Quitting] 14:08:44 -!- blackwolf [~blackwolf@ool-4575fc51.dyn.optonline.net] has quit [Ping timeout: 246 seconds] 14:08:48 RenJuan [~juan@cpe-72-228-189-184.buffalo.res.rr.com] has joined #lisp 14:09:12 didi [~user@unaffiliated/didi/x-1022147] has joined #lisp 14:10:29 rpg [~rpg@216.243.156.16.real-time.com] has joined #lisp 14:11:07 hi rpg 14:11:19 hi, fe[nl]ix 14:11:53 -!- ace4016 [~ace4016@cpe-024-074-197-085.ec.res.rr.com] has quit [Ping timeout: 246 seconds] 14:13:08 ace4016 [~ace4016@cpe-024-074-197-085.ec.res.rr.com] has joined #lisp 14:18:06 morning 14:20:44 hi slyrus_ 14:22:24 -!- TimKack [~user@c-2ec2a1f0-74736162.cust.telenor.se] has quit [Remote host closed the connection] 14:23:29 TimKack [~user@c-2ec2a1f0-74736162.cust.telenor.se] has joined #lisp 14:24:42 Jeanne-Kamikaze [~Jeanne-Ka@75.Red-88-7-128.staticIP.rima-tde.net] has joined #lisp 14:26:04 -!- kiuma [~kiuma@static-217-133-17-91.clienti.tiscali.it] has quit [Quit: Leaving] 14:27:56 _schulte_ [~eschulte@c-174-56-50-60.hsd1.nm.comcast.net] has joined #lisp 14:28:09 -!- TimKack [~user@c-2ec2a1f0-74736162.cust.telenor.se] has quit [Remote host closed the connection] 14:28:42 nyef [~nyef@c-174-63-105-188.hsd1.ma.comcast.net] has joined #lisp 14:28:47 Guthur [~user@212.183.128.28] has joined #lisp 14:29:04 TimKack [~user@c-2ec2a1f0-74736162.cust.telenor.se] has joined #lisp 14:30:08 ISF [~ivan@187.106.49.167] has joined #lisp 14:32:07 jlongster [~user@pool-108-4-74-122.rcmdva.fios.verizon.net] has joined #lisp 14:34:01 -!- iLogical [~iLogical@unaffiliated/ilogical] has quit [Ping timeout: 276 seconds] 14:34:04 -!- TimKack [~user@c-2ec2a1f0-74736162.cust.telenor.se] has quit [Remote host closed the connection] 14:38:20 -!- Bacteria [~Bacteria@115-64-180-132.static.tpgi.com.au] has quit [Quit: Bacteria] 14:39:36 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Read error: Connection reset by peer] 14:40:15 araujo [~araujo@gentoo/developer/araujo] has joined #lisp 14:40:35 -!- madalu [~user@unaffiliated/madalu] has quit [Read error: Connection reset by peer] 14:41:16 -!- Joreji_ [~thomas@u-0-013.vpn.rwth-aachen.de] has quit [Ping timeout: 265 seconds] 14:44:24 -!- teggi [~teggi@123.21.175.206] has quit [Read error: Connection reset by peer] 14:44:32 -!- mgsk [~Mark@li357-97.members.linode.com] has quit [Quit: ...] 14:44:34 TimKack [~user@c-2ec2a1f0-74736162.cust.telenor.se] has joined #lisp 14:44:43 teggi [~teggi@123.21.175.206] has joined #lisp 14:44:52 naeg [~naeg@194.208.239.170] has joined #lisp 14:45:40 KognizantKog [~user@72.168.55.98] has joined #lisp 14:46:25 -!- echo-area [~user@182.92.247.2] has quit [Read error: Connection reset by peer] 14:46:34 -!- loke [~elias@bb115-66-85-121.singnet.com.sg] has quit [Quit: Leaving] 14:47:58 naeg_ [~naeg@194.208.239.170] has joined #lisp 14:49:08 -!- naeg [~naeg@194.208.239.170] has quit [Ping timeout: 240 seconds] 14:49:28 -!- TimKack [~user@c-2ec2a1f0-74736162.cust.telenor.se] has quit [Ping timeout: 265 seconds] 14:49:40 -!- kvsari [~kvsari@119-173-226-78.rev.home.ne.jp] has quit [Quit: leaving] 14:51:11 -!- ahinki [~chatzilla@212.99.10.150] has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0/20120501201020]] 14:54:02 schoppenhauer [~christoph@unaffiliated/schoppenhauer] has joined #lisp 14:55:53 -!- dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has quit [Ping timeout: 245 seconds] 14:57:10 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Ping timeout: 255 seconds] 14:57:22 -!- bobbysmith007 [~russ@216.155.103.30] has quit [Quit: Leaving.] 14:58:00 bobbysmith007 [~russ@216.155.103.30] has joined #lisp 14:59:00 -!- rk[afk] [~karason@stallman.cse.ohio-state.edu] has quit [Remote host closed the connection] 15:02:33 -!- brendyn [brendyn@2a01:7e00::f03c:91ff:fedf:65b4] has quit [Ping timeout: 245 seconds] 15:02:41 bondar [~rukugu@41.72.193.86] has joined #lisp 15:05:14 Joreji_ [~thomas@u-0-022.vpn.rwth-aachen.de] has joined #lisp 15:06:59 -!- KognizantKog [~user@72.168.55.98] has quit [Remote host closed the connection] 15:07:04 brendyn [brendyn@2a01:7e00::f03c:91ff:fedf:65b4] has joined #lisp 15:10:41 -!- Jeanne-Kamikaze [~Jeanne-Ka@75.Red-88-7-128.staticIP.rima-tde.net] has quit [Quit: Did you hear that ?] 15:11:46 -!- lilin [~lilin@116.19.167.215] has left #lisp 15:12:07 TimKack [~user@c-2ec2320a-74736162.cust.telenor.se] has joined #lisp 15:14:33 LiamH [~none@pdp8.nrl.navy.mil] has joined #lisp 15:17:18 -!- Joreji_ [~thomas@u-0-022.vpn.rwth-aachen.de] has quit [Ping timeout: 252 seconds] 15:18:31 -!- bobbysmith007 [~russ@216.155.103.30] has quit [Quit: Leaving.] 15:19:13 bobbysmith007 [~russ@216.155.103.30] has joined #lisp 15:21:42 ykm [~yash@180.148.60.197] has joined #lisp 15:23:33 -!- slyrus_ [~chatzilla@99-28-161-110.lightspeed.miamfl.sbcglobal.net] has quit [Ping timeout: 248 seconds] 15:24:20 francisl [~flavoie@199.84.164.114] has joined #lisp 15:33:23 [SLB] [~balthasar@unaffiliated/slabua] has joined #lisp 15:33:45 slyrus_ [~chatzilla@99-28-161-110.lightspeed.miamfl.sbcglobal.net] has joined #lisp 15:34:27 loke [~elias@bb115-66-85-121.singnet.com.sg] has joined #lisp 15:35:41 -!- jdz [~jdz@193.206.22.97] has quit [Quit: Byebye.] 15:37:00 -!- rpg [~rpg@216.243.156.16.real-time.com] has quit [Ping timeout: 260 seconds] 15:37:03 Spion_ [~spion@unaffiliated/spion] has joined #lisp 15:40:28 -!- Spion [~spion@unaffiliated/spion] has quit [Ping timeout: 245 seconds] 15:41:40 antgreen [user@nat/redhat/x-mnhuzrgzdnkkljsl] has joined #lisp 15:41:43 -!- cymew [~cymew@fw01d.snowmen.se] has quit [Quit: Konversation terminated!] 15:42:14 -!- Posterdati [~tapioca@host49-216-dynamic.16-87-r.retail.telecomitalia.it] has quit [Ping timeout: 272 seconds] 15:43:03 rpg [~rpg@216.243.156.16.real-time.com] has joined #lisp 15:46:49 -!- EyesIsMine [~Eyes@WiseOS/Founder/EyesIsMine] has quit [Ping timeout: 276 seconds] 15:49:54 paul0 [~paul0@201.47.45.226.dynamic.adsl.gvt.net.br] has joined #lisp 15:52:53 vervic [~vervic@vie-91-186-155-031.dsl.sil.at] has joined #lisp 15:52:58 -!- ivan-kanis [~user@nantes.visionobjects.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 15:54:39 Posterdati [~tapioca@host75-208-dynamic.11-87-r.retail.telecomitalia.it] has joined #lisp 15:57:25 EyesIsMine [~Eyes@WiseOS/Founder/EyesIsMine] has joined #lisp 15:58:56 any tip on debugging a cl-yacc parser? 16:00:01 Rewrite it as a recursive-descent parser instead? 16:00:13 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Quit: Konversation terminated!] 16:01:03 it's not a shift/reduce conflict here, but a parse error at runtime and I don't grok where it's stuck at in the rules 16:01:25 Houl [~Parmi@unaffiliated/houl] has joined #lisp 16:02:27 -!- naeg_ [~naeg@194.208.239.170] has quit [Quit: WeeChat 0.3.7] 16:03:13 dim: can you show your failed parser? 16:03:20 I can't help you, I'm afraid. I found a long time ago that it was easier to just deal with recursive-descent parsing than to try and debug anything involving a parser generator. (-: 16:03:38 I'm using cl-yacc in my tamplate language, it works pretty well. 16:04:04 yeah I've been using it for a COPY like syntax with success already 16:04:11 and here it's about parsing ini files 16:04:18 nothing rocket science 16:05:27 http://paste.lisp.org/display/129350 16:05:50 didi [~user@unaffiliated/didi/x-1022147] has joined #lisp 16:05:55 what's the error you're getting? 16:06:07 dim: basically, yes. For most languages or applications, you don't need the complexity of lalr parsers. I started my last project with zebu, but eventually I switched to my own simple recursive descent parser generator. 16:06:08 Unexpected terminal :CR (value " 16:06:08 "). Expected one of: (:KEY :BO NIL) 16:06:27 that seems to be when finished parsing an options list, back to a new section 16:06:53 Perhaps a problem with recursion in rules? 16:07:01 pjb: well I'm trying not to lose too much time on the parsing 16:07:07 dim: have you tested to run just the lexer on the imput data to ensure that you're getting the correct sequence of tokens? 16:07:26 (and I'm not using configparser because I want to be able to have both INI and COPY syntax in the same file on another project later) 16:07:38 dim: NIL represents probably the empty strings. It should use it, but doesn't 16:07:53 loke: I did see some lexer output in the slime debug but that's not... errr... ok 16:08:09 Just run the lexer manually 16:09:04 You're not the only one who have had to debug that stuff recently: 16:09:04 http://code.google.com/p/docbrowser/source/browse/template/parser.lisp#210 16:09:10 That's my lexer debugger :-) 16:09:34 -!- treyka [~treyka@77.109.79.57] has quit [Ping timeout: 276 seconds] 16:09:46 I didn't even get started on the parser until I was sure the lexer did the right thing. 16:09:51 eni [~eni@31.171.153.13] has joined #lisp 16:10:53 m7w [~chatzilla@80.249.86.95] has joined #lisp 16:11:03 thanks that's helpful here 16:11:17 -!- m7w [~chatzilla@80.249.86.95] has quit [Read error: Connection reset by peer] 16:11:21 I've been optimistic, like in "I did same recently, can't go wrong easily" 16:11:23 ahah. 16:11:29 jcazevedo [~jcazevedo@193.136.27.164] has joined #lisp 16:12:22 interresting as you see things when looking at the lexer output 16:12:24 fuuuuuuuu, even an ape computes faster than you! 16:12:27 lol 16:12:33 with the right banana ofc...... 16:12:49 matched the empty string at position 20710, this will cause an infinite loop 16:12:54 that's not cool, also 16:14:08 -!- Ralith [~ralith@63.64.64.178] has quit [Ping timeout: 240 seconds] 16:15:10 -!- antifuchs [foobar@care.boinkor.net] has quit [Ping timeout: 272 seconds] 16:15:44 -!- ferada [~ferada@dslb-088-068-142-141.pools.arcor-ip.net] has quit [Quit: Leaving] 16:16:05 -!- ISF [~ivan@187.106.49.167] has quit [Ping timeout: 260 seconds] 16:16:08 -!- attila_lendvai1 [~attila_le@178-164-240-129.pool.digikabel.hu] has quit [Quit: Leaving.] 16:16:48 antifuchs [foobar@care.boinkor.net] has joined #lisp 16:19:35 m7w [~chatzilla@80.249.86.95] has joined #lisp 16:21:34 saschakb [~saschakb@p4FEA10DE.dip0.t-ipconnect.de] has joined #lisp 16:22:16 wishbone4 [~user@167.216.131.126] has joined #lisp 16:22:21 -!- jasom [~aidenn@ip72-194-213-200.sb.sd.cox.net] has quit [Quit: leaving] 16:23:06 pnq [~nick@AC8203E6.ipt.aol.com] has joined #lisp 16:23:15 -!- jasox [~jasox@178.239.26.130] has quit [Ping timeout: 265 seconds] 16:23:33 jasom [~aidenn@ip72-194-213-200.sb.sd.cox.net] has joined #lisp 16:24:00 -!- stlifey [~stlifey@119.121.149.50] has quit [Read error: Connection reset by peer] 16:25:48 nialo- [~nialo@ool-182d5684.dyn.optonline.net] has joined #lisp 16:26:24 -!- nialo` [~nialo@ool-182d5684.dyn.optonline.net] has quit [Ping timeout: 245 seconds] 16:41:52 ok, so one has to use ("\\^\\n") to ignore empty lines in cl-lex (this is in turn using cl-ppcre) 16:44:45 tensorpudding_ [~michael@99.56.168.139] has joined #lisp 16:46:59 -!- vervic [~vervic@vie-91-186-155-031.dsl.sil.at] has quit [Quit: vervic] 16:49:15 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Remote host closed the connection] 16:54:35 -!- eni [~eni@31.171.153.13] has quit [Ping timeout: 260 seconds] 16:54:35 -!- slyrus_ [~chatzilla@99-28-161-110.lightspeed.miamfl.sbcglobal.net] has quit [Ping timeout: 252 seconds] 16:56:28 kmcorbett [~kmcorbett@199.180.145.100] has joined #lisp 16:57:04 -!- angavrilov [~angavrilo@217.71.227.190] has quit [Remote host closed the connection] 16:57:38 angavrilov [~angavrilo@217.71.227.190] has joined #lisp 16:58:10 alexshendi [~alexshend@ip-109-84-251-229.web.vodafone.de] has joined #lisp 16:59:18 -!- pirateking-_- [~piratekin@c-67-169-182-169.hsd1.ca.comcast.net] has quit [Quit: pirateking-_-] 17:00:33 -!- paul0 [~paul0@201.47.45.226.dynamic.adsl.gvt.net.br] has quit [Quit: paul0] 17:02:52 -!- c_arenz [arenz@nat/ibm/x-jbmtwvzhssszpabe] has quit [Ping timeout: 276 seconds] 17:03:33 -!- tcr [~tcr@178-83-229-138.dynamic.hispeed.ch] has quit [Quit: Leaving.] 17:04:10 ferada [~ferada@dslb-088-069-043-179.pools.arcor-ip.net] has joined #lisp 17:05:49 -!- _stink_ [~stink@li61-113.members.linode.com] has quit [Quit: leaving] 17:05:50 -!- leo2007 [~leo@123.114.33.41] has quit [Ping timeout: 272 seconds] 17:06:48 Jeanne-Kamikaze [~Jeanne-Ka@75.Red-88-7-128.staticIP.rima-tde.net] has joined #lisp 17:06:53 toekutr [~user@50-0-51-2.dsl.static.sonic.net] has joined #lisp 17:08:26 dim: empty lines often contain spaces or even tabs. 17:08:27 -!- kmcorbett [~kmcorbett@199.180.145.100] has quit [Quit: Leaving.] 17:09:20 statonjr [~statonjr@cpe-098-024-165-246.carolina.res.rr.com] has joined #lisp 17:09:42 -!- alexshendi [~alexshend@ip-109-84-251-229.web.vodafone.de] has quit [Quit: Leaving] 17:10:14 insomniaSalt [~milan@unaffiliated/iammilan] has joined #lisp 17:10:53 then they are not empty, are they? 17:13:06 -!- bondar [~rukugu@41.72.193.86] has quit [Remote host closed the connection] 17:13:18 bondar [~rukugu@41.72.193.86] has joined #lisp 17:13:27 -!- bondar [~rukugu@41.72.193.86] has quit [Remote host closed the connection] 17:17:53 timepilot [~timepilot@66.71.231.196] has joined #lisp 17:18:23 -!- ikki [~ikki@187.193.136.2] has quit [Ping timeout: 260 seconds] 17:18:52 lol I also find it easier to write recursive descent parser manually.. then go through with yacc 17:19:18 -!- cyphase [~cyphase@unaffiliated/cyphase] has quit [Read error: Connection reset by peer] 17:20:18 I also have an excellent earley parser that I need to release, it kind of models the one available for python, but is way better, with closures allowed as token types, so you can do programmatic lookback/lookforward assertions 17:21:02 -!- Joreji [~thomas@vpn-eu2.unidsl.de] has quit [Ping timeout: 272 seconds] 17:21:04 ikki [~ikki@187.193.136.2] has joined #lisp 17:21:22 -!- francisl [~flavoie@199.84.164.114] has quit [Quit: francisl] 17:21:47 ISF [~ivan@143.106.196.60] has joined #lisp 17:22:28 and each rule is a class, so you can do stuff like: (defrule ?rule (extra-slot) ::= token1 (lambda (self next-token) (store something in self) t) ?subrule token2 (lambda (self next-token) (check-if-makes-sense-p self next) 17:24:24 I kind'a like the way yacc forces you to declare the grammar 17:24:35 my problem here lies down to the lexer and the regexp engine 17:24:40 unsurprisingly enough 17:24:51 thats the easiest part man, lexers are easy 17:25:05 -!- iocor [~textual@unaffiliated/iocor] has quit [Quit: Computer has gone to sleep.] 17:25:19 well, then call it on the regexp 17:25:45 attila_lendvai [~attila_le@178-164-240-129.pool.digikabel.hu] has joined #lisp 17:25:46 -!- attila_lendvai [~attila_le@178-164-240-129.pool.digikabel.hu] has quit [Changing host] 17:25:46 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 17:26:44 don't use regexp 17:26:58 Joreji [~thomas@vpn-eu2.unidsl.de] has joined #lisp 17:26:59 use something like (let (c idx (state :start)) (labels (next-char () ...) (parse-error (...))) then one big (loop (case state (:start...))))) 17:27:17 its just a big state machine, and very easy to debug, by simply adding printfs 17:27:39 -!- chu [~mathew.ba@CPE-124-187-216-209.lns3.dea.bigpond.net.au] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 17:28:46 lisp makes it easy, with outer LET with state and helper variables, followed by labels with tiny functions, followed by main state machine loop 17:29:34 -!- ghost_ [~ghost@2001:da8:d800:101:216:d3ff:feae:1b91] has quit [Quit: ] 17:29:54 I just want to lexer to ignore empty lines 17:30:06 maxm: no need to have a case 17:30:20 (loop with state = #'start ...) 17:31:04 actually, that wouldn't work. But you see what I mean. 17:31:12 ah I remember the monad based parser, was it you who wrote that blog? 17:31:35 no, but even without the monads you can keep the state as a function object 17:31:50 francisl [~flavoie@199.84.164.114] has joined #lisp 17:31:52 I did publish a small library that used the smug parser 17:32:36 bondar [~rukugu@41.72.193.86] has joined #lisp 17:32:40 instead of (setf state :next-state) you just do (setf state #'next-state) 17:32:43 *maxm* kind of came from non-functional language background, so I still straddle the middle ground so to speak, so it does not usually occur to me to use functional objects like that 17:32:54 and then (funcall state) 17:33:06 I do this in C too :D 17:33:18 *maxm* still had not used funcallable instances, always occurs to me after the fact to try them.. kind of opposite of object-oriented approach :-) 17:33:55 jasox [~jasox@178.239.26.130] has joined #lisp 17:34:00 I've never used a funcallable instance either. closures seem to fill that niche for me just fine 17:36:14 -!- Jeanne-Kamikaze [~Jeanne-Ka@75.Red-88-7-128.staticIP.rima-tde.net] has quit [Quit: Did you hear that ?] 17:36:18 cyphase [~cyphase@unaffiliated/cyphase] has joined #lisp 17:37:51 object+generic function also work 17:38:12 Jeanne-Kamikaze [~Jeanne-Ka@75.Red-88-7-128.staticIP.rima-tde.net] has joined #lisp 17:38:15 instead of closure+funcall 17:39:09 -!- kilon [~kilon@athedsl-386254.home.otenet.gr] has quit [Read error: Connection reset by peer] 17:39:34 dlowe: each time you call a generic function ;) 17:40:24 -!- bondar [~rukugu@41.72.193.86] has quit [Remote host closed the connection] 17:40:36 bondar [~rukugu@41.72.193.86] has joined #lisp 17:40:37 -!- bondar [~rukugu@41.72.193.86] has quit [Client Quit] 17:41:45 pkhuong: the runtime does all sorts of implicit things that I'm free to ignore 17:41:53 -!- lemoinem [~swoog@199.180.99.170] has quit [Ping timeout: 244 seconds] 17:42:24 -!- ykm [~yash@180.148.60.197] has quit [Quit: Lost terminal] 17:42:45 lemoinem [~swoog@216.252.87.34] has joined #lisp 17:42:49 kilon [~kilon@athedsl-402408.home.otenet.gr] has joined #lisp 17:44:31 treyka [~treyka@85.234.199.185] has joined #lisp 17:44:56 TimKack` [~user@c-2ec21d6b-74736162.cust.telenor.se] has joined #lisp 17:45:22 kpreid [~kpreid@128.153.213.162] has joined #lisp 17:45:55 -!- ikki [~ikki@187.193.136.2] has quit [Ping timeout: 260 seconds] 17:46:07 ikki [~ikki@189.247.242.111] has joined #lisp 17:47:33 -!- TimKack [~user@c-2ec2320a-74736162.cust.telenor.se] has quit [Ping timeout: 248 seconds] 17:48:07 -!- ignas [~ignas@office.pov.lt] has quit [Ping timeout: 252 seconds] 17:49:32 fiveop [~fiveop@dslb-178-002-103-044.pools.arcor-ip.net] has joined #lisp 17:50:19 iocor [~textual@unaffiliated/iocor] has joined #lisp 17:51:12 how does one match against an empty line using ppcre and cl-lex? "^$" and "^\\n" are not it. 17:52:04 ^$ should do it 17:52:44 it's not doing it, I still see my :cr symbol for empty lines 17:52:45 -!- timepilot [~timepilot@66.71.231.196] has quit [Quit: timepilot] 17:52:50 ^\\s+$ for a blank line 17:53:00 and the matching of empty line is done first 17:53:20 stassats: I'm after empty, the test file has empty, but I can try blank too, thx 17:53:28 kdas_ [~kdas@114.143.165.228] has joined #lisp 17:53:45 stassats: surely you mean ^\\s*$ 17:53:50 failed. again. 17:54:13 matched the empty string at position 689, this will cause an infinite loop 17:54:22 dlowe: i insert riddles to keep the opponent on his toes! 17:54:26 (not really) 17:54:30 dim: yes, it will match as an empty string 17:54:35 -!- kdas_ is now known as kushal 17:54:38 I know and understand it should 17:54:43 -!- kushal [~kdas@114.143.165.228] has quit [Changing host] 17:54:43 kushal [~kdas@fedora/kushal] has joined #lisp 17:54:49 I also witness my test case failing 17:55:47 ok I'll eat redoundant :cr in the parser. 17:59:48 -!- pnq [~nick@AC8203E6.ipt.aol.com] has quit [Ping timeout: 256 seconds] 18:01:06 oh, you want to match multiple blank lines? 18:01:14 you'd need to use a regex option for that 18:01:21 -!- antgreen [user@nat/redhat/x-mnhuzrgzdnkkljsl] has quit [Ping timeout: 265 seconds] 18:01:57 just a single at a time 18:02:31 but that's too late I rekoned failure to implement that in the lexer and understand anything for tonight's, that'll be in the parser 18:02:42 kmcorbett [~kmcorbett@199.180.145.100] has joined #lisp 18:03:09 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 252 seconds] 18:03:29 and it works. 18:04:08 -!- Kron_ [~Kron@2.49.66.141] has quit [Quit: Kron awayyy!] 18:06:43 -!- peterhil [~peterhil@gatekeeper.brainalliance.com] has quit [Ping timeout: 245 seconds] 18:07:43 -!- profmakx [~profmakx@unaffiliated/profmakx] has quit [Read error: Connection reset by peer] 18:10:55 -!- billstclair [~billstcla@unaffiliated/billstclair] has quit [Quit: Linkinus - http://linkinus.com] 18:11:28 billstclair [~billstcla@unaffiliated/billstclair] has joined #lisp 18:12:31 -!- dxq is now known as seabot 18:13:45 -!- MoALTz [~no@host-92-8-157-26.as43234.net] has quit [Quit: brb] 18:14:07 profmakx [~profmakx@2a01:4f8:150:3181:2::20] has joined #lisp 18:14:33 -!- profmakx is now known as Guest70842 18:15:17 ("host=([A-Za-z0-9._/-]+)\\s*" (return (values :host $1))) 18:15:20 that's good feature tho 18:15:34 I mean I still appreciate using cl-lex and cl-ppcre for the lexer 18:15:36 -!- homie [~levgue@xdsl-78-35-172-157.netcologne.de] has quit [Read error: Connection reset by peer] 18:16:05 leo2007 [~leo@123.114.33.41] has joined #lisp 18:17:10 homie [~levgue@xdsl-78-35-172-157.netcologne.de] has joined #lisp 18:17:37 metaphysician [~matrix@unaffiliated/meta-coder] has joined #lisp 18:19:14 attila_lendvai [~attila_le@178-164-240-129.pool.digikabel.hu] has joined #lisp 18:19:15 -!- attila_lendvai [~attila_le@178-164-240-129.pool.digikabel.hu] has quit [Changing host] 18:19:15 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #lisp 18:19:47 milanj [~milanj_@93-86-216-175.dynamic.isp.telekom.rs] has joined #lisp 18:21:15 seangrove [~user@70-36-236-249.dsl.static.sonic.net] has joined #lisp 18:24:26 kanru` [~user@199.195.142.182] has joined #lisp 18:26:41 KognizantKog [~user@72.168.55.98] has joined #lisp 18:36:45 slyrus_ [~chatzilla@173-228-44-92.dsl.static.sonic.net] has joined #lisp 18:36:59 -!- kushal [~kdas@fedora/kushal] has quit [Quit: Leaving] 18:39:52 FreeArtMan [~fam@213.175.106.134] has joined #lisp 18:40:32 blackwolf [~blackwolf@ool-4575fc51.dyn.optonline.net] has joined #lisp 18:42:50 dekuked [6c14d93b@gateway/web/freenode/ip.108.20.217.59] has joined #lisp 18:45:18 -!- iocor [~textual@unaffiliated/iocor] has quit [Quit: Computer has gone to sleep.] 18:47:30 -!- homie [~levgue@xdsl-78-35-172-157.netcologne.de] has quit [Read error: Connection reset by peer] 18:48:20 -!- gilez [~gdmalet@tux.uwaterloo.ca] has quit [Remote host closed the connection] 18:48:28 iocor [~textual@cpc1-aztw25-2-0-cust6.aztw.cable.virginmedia.com] has joined #lisp 18:48:31 -!- iocor [~textual@cpc1-aztw25-2-0-cust6.aztw.cable.virginmedia.com] has quit [Changing host] 18:48:31 iocor [~textual@unaffiliated/iocor] has joined #lisp 18:48:58 homie [~levgue@xdsl-78-35-172-157.netcologne.de] has joined #lisp 18:51:19 zeissoctopus [~zeissocto@183178133120.ctinets.com] has joined #lisp 18:52:12 -!- zeissoctopus [~zeissocto@183178133120.ctinets.com] has quit [Client Quit] 18:54:32 BrianRice` [~water@75-172-8-148.tukw.qwest.net] has joined #lisp 18:54:32 -!- BrianRice [~water@75-172-8-148.tukw.qwest.net] has quit [Read error: Connection reset by peer] 18:54:33 -!- BrianRice` is now known as BrianRice 18:54:51 -!- jtza8 [~jtza8@196-210-240-114.dynamic.isadsl.co.za] has quit [Ping timeout: 255 seconds] 18:55:32 jtza8 [~jtza8@196-210-240-114.dynamic.isadsl.co.za] has joined #lisp 18:56:50 BrianRice` [~water@75-172-8-148.tukw.qwest.net] has joined #lisp 18:56:50 -!- BrianRice [~water@75-172-8-148.tukw.qwest.net] has quit [Read error: Connection reset by peer] 18:56:51 -!- BrianRice` is now known as BrianRice 18:58:38 klltkr [~klltkr@188-222-83-162.zone13.bethere.co.uk] has joined #lisp 18:59:02 -!- jcazevedo [~jcazevedo@193.136.27.164] has quit [Quit: Leaving] 18:59:11 -!- Quadrescence is now known as booklet 19:00:39 BrianRice` [~water@75-172-8-148.tukw.qwest.net] has joined #lisp 19:00:40 -!- BrianRice [~water@75-172-8-148.tukw.qwest.net] has quit [Read error: Connection reset by peer] 19:00:42 -!- BrianRice` is now known as BrianRice 19:01:47 ivan-kanis [~user@89.83.137.164] has joined #lisp 19:05:37 zeissoctopus [~zeissocto@183178133120.ctinets.com] has joined #lisp 19:06:11 BrianRice` [~water@75-172-8-148.tukw.qwest.net] has joined #lisp 19:06:11 -!- BrianRice [~water@75-172-8-148.tukw.qwest.net] has quit [Read error: Connection reset by peer] 19:06:12 -!- BrianRice` is now known as BrianRice 19:08:58 -!- tychon [~tychon@82.113.106.174] has quit [Ping timeout: 276 seconds] 19:12:02 -!- zeissoctopus [~zeissocto@183178133120.ctinets.com] has quit [Quit: ] 19:12:20 -!- Joreji [~thomas@vpn-eu2.unidsl.de] has quit [Ping timeout: 252 seconds] 19:12:23 zeissoctopus [~zeissocto@183178133120.ctinets.com] has joined #lisp 19:12:39 -!- zeissoctopus [~zeissocto@183178133120.ctinets.com] has quit [Client Quit] 19:12:42 -!- sysfault [~exalted@p3m/member/sysfault] has quit [Remote host closed the connection] 19:12:44 Kryztof [~user@81.174.155.115] has joined #lisp 19:14:58 BrianRice` [~water@75-172-8-148.tukw.qwest.net] has joined #lisp 19:15:00 -!- BrianRice [~water@75-172-8-148.tukw.qwest.net] has quit [Read error: Connection reset by peer] 19:15:00 -!- BrianRice` is now known as BrianRice 19:15:24 -!- homie [~levgue@xdsl-78-35-172-157.netcologne.de] has quit [Read error: Connection reset by peer] 19:16:20 -!- impulse32 [~impulse@bas3-toronto48-1176442267.dsl.bell.ca] has quit [Ping timeout: 260 seconds] 19:16:22 -!- BrianRice [~water@75-172-8-148.tukw.qwest.net] has quit [Read error: Connection reset by peer] 19:16:28 BrianRice` [~water@75-172-8-148.tukw.qwest.net] has joined #lisp 19:16:55 homie [~levgue@xdsl-78-35-172-157.netcologne.de] has joined #lisp 19:17:34 BrianRice [~water@75-172-8-148.tukw.qwest.net] has joined #lisp 19:17:37 -!- BrianRice` [~water@75-172-8-148.tukw.qwest.net] has quit [Read error: Connection reset by peer] 19:18:15 -!- metaphysician [~matrix@unaffiliated/meta-coder] has quit [Quit: leaving] 19:18:34 eni [~eni@31.171.153.13] has joined #lisp 19:20:25 -!- seangrove [~user@70-36-236-249.dsl.static.sonic.net] has quit [Read error: Connection reset by peer] 19:20:30 seangrove [~user@70-36-236-249.dsl.static.sonic.net] has joined #lisp 19:24:33 -!- eni [~eni@31.171.153.13] has quit [Ping timeout: 250 seconds] 19:24:40 attila_lendvai1 [~attila_le@188-143-61-34.pool.digikabel.hu] has joined #lisp 19:24:41 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Disconnected by services] 19:25:02 tychon [~tychon@82.113.106.174] has joined #lisp 19:25:14 -!- teggi [~teggi@123.21.175.206] has quit [Remote host closed the connection] 19:27:56 -!- KognizantKog [~user@72.168.55.98] has quit [Remote host closed the connection] 19:29:09 zeissoctopus [~zeissocto@183178133120.ctinets.com] has joined #lisp 19:29:14 -!- ozzloy is now known as ozzloy_ 19:32:31 -!- bobbysmith007 [~russ@216.155.103.30] has quit [Read error: Connection reset by peer] 19:33:45 -!- homie [~levgue@xdsl-78-35-172-157.netcologne.de] has quit [Read error: Connection reset by peer] 19:33:57 bobbysmith007 [~russ@216.155.103.30] has joined #lisp 19:34:44 -!- Guest70842 [~profmakx@2a01:4f8:150:3181:2::20] has quit [Read error: Connection reset by peer] 19:35:11 homie [~levgue@xdsl-78-35-172-157.netcologne.de] has joined #lisp 19:37:19 eni [~eni@31.171.153.13] has joined #lisp 19:37:50 -!- schoppenhauer [~christoph@unaffiliated/schoppenhauer] has quit [Quit: leaving] 19:40:20 is there a plist facility in CL? 19:40:32 what? 19:40:37 what's a "plist facility"? 19:41:07 profmakx [~profmakx@2a01:4f8:150:3181:2::20] has joined #lisp 19:41:18 Hi! Can I use usocket to make Unix domain sockets (ie. socket as files) or should I use Clozure's and SBCL's own socket implementations? I found there is Iolib, but the tests doesn't seem to run on OS X with either SBCL or CCL. 19:41:19 it seems I'm searching for get-properties 19:41:24 elisp calls them plist 19:41:32 -!- profmakx is now known as Guest77041 19:41:52 glhs glossary/property list 19:41:55 clhs glossary/property list 19:41:56 http://www.lispworks.com/reference/HyperSpec/Body/26_glo_p.htm#property_list 19:44:29 ok I was after getf 19:45:22 -!- ozzloy_ is now known as ozzloy 19:55:18 -!- CrazyEddy [~gentleman@wrongplanet/CrazyEddy] has quit [Ping timeout: 244 seconds] 19:58:48 -!- angavrilov [~angavrilo@217.71.227.190] has quit [Ping timeout: 244 seconds] 19:59:02 mrSpec [~Spec@unaffiliated/mrspec] has joined #lisp 20:02:09 -!- homie [~levgue@xdsl-78-35-172-157.netcologne.de] has quit [Read error: Operation timed out] 20:02:52 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 20:04:44 -!- wbooze [~wbooze@xdsl-78-35-172-157.netcologne.de] has quit [Ping timeout: 245 seconds] 20:07:00 -!- mathrick_ [~mathrick@85.218.148.156] has quit [Read error: Connection reset by peer] 20:07:22 mathrick_ [~mathrick@85.218.148.156] has joined #lisp 20:08:50 -!- eni [~eni@31.171.153.13] has quit [Ping timeout: 260 seconds] 20:09:08 -!- slyrus_ [~chatzilla@173-228-44-92.dsl.static.sonic.net] has quit [Ping timeout: 244 seconds] 20:09:30 stassats` [~stassats@wikipedia/stassats] has joined #lisp 20:09:46 -!- minion [~minion@pppoe.178-66-10-200.dynamic.avangarddsl.ru] has quit [Disconnected by services] 20:09:48 minion [~minion@pppoe.178-66-37-60.dynamic.avangarddsl.ru] has joined #lisp 20:09:51 -!- specbot [~specbot@pppoe.178-66-10-200.dynamic.avangarddsl.ru] has quit [Disconnected by services] 20:09:55 specbot [~specbot@pppoe.178-66-37-60.dynamic.avangarddsl.ru] has joined #lisp 20:10:01 Froward [~uh-oh@206.231.99.110] has joined #lisp 20:10:21 CrazyEddy [~alternati@wrongplanet/CrazyEddy] has joined #lisp 20:13:19 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 276 seconds] 20:15:09 KognizantKog [~user@72.168.55.98] has joined #lisp 20:15:25 is it possible to specify a default value for hash-tables or is the proper course that in cases where default value is desired the hash must be initialized? 20:15:41 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Read error: Connection reset by peer] 20:16:27 a default value? 20:16:58 eg. keys would automatically have an initial value of 0 20:17:08 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 20:17:15 what does that even mean ? 20:17:18 I'm doing this now: http://sprunge.us/ZAfK?cl 20:17:23 derrida: look at the optional argument to gethash 20:17:42 pkhuong: :) 20:17:53 *sykopomp* learns something new every day. 20:18:03 i was looking at make-hash-table instead. 20:18:11 derrida: (incf (gethash key ht 0)) 20:18:24 fe[nl]ix: hey! you did know what i meant! 20:18:55 :D 20:19:26 -!- LaPingvino [~LaPingvin@d54C06DE6.access.telenet.be] has quit [Ping timeout: 252 seconds] 20:19:54 -!- seangrove [~user@70-36-236-249.dsl.static.sonic.net] has quit [Read error: Connection reset by peer] 20:20:00 seangrove [~user@70-36-236-249.dsl.static.sonic.net] has joined #lisp 20:20:07 TimKack`` [~user@c-2ec2859f-74736162.cust.telenor.se] has joined #lisp 20:20:43 ;) 20:21:03 -!- ivan-kanis [~user@89.83.137.164] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:21:32 -!- TimKack` [~user@c-2ec21d6b-74736162.cust.telenor.se] has quit [Ping timeout: 244 seconds] 20:23:34 chiguire|m [~chiguire@gentoo/developer/chiguire] has joined #lisp 20:26:00 -!- milanj [~milanj_@93-86-216-175.dynamic.isp.telekom.rs] has quit [Ping timeout: 256 seconds] 20:26:56 wbooze [~wbooze@xdsl-78-35-148-224.netcologne.de] has joined #lisp 20:27:31 kuzary [~who@gateway/tor-sasl/kuzary] has joined #lisp 20:28:03 -!- theos [~theos@unaffiliated/theos] has quit [Read error: Operation timed out] 20:28:57 sdemarre [~serge@91.176.39.207] has joined #lisp 20:32:18 -!- zeissoctopus [~zeissocto@183178133120.ctinets.com] has quit [Quit: ] 20:35:24 -!- fiveop [~fiveop@dslb-178-002-103-044.pools.arcor-ip.net] has quit [Quit: humhum] 20:36:58 milanj [~milanj_@93-86-216-175.dynamic.isp.telekom.rs] has joined #lisp 20:37:20 my current problem: load file contents of pathname into a string. my current solution: http://paste.lisp.org/display/129353 my question: does there exist a simpler or otherwise better solution? 20:39:20 robot-beethoven, CL-FAD:COPY-STREAM 20:39:36 copy a stream into a string stream 20:39:57 booklet: brilliant! thanks 20:42:05 or make a vector and read-sequence :P 20:42:24 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Read error: Connection reset by peer] 20:43:10 -!- FreeArtMan [~fam@213.175.106.134] has quit [Quit: Out of this 3D] 20:43:20 or alexandria:read-file-into-string 20:43:31 oh yeah, I forgot about the alexandria function 20:43:47 FreeArtMan [~fam@213.175.106.134] has joined #lisp 20:43:52 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 20:44:14 -!- FreeArtMan [~fam@213.175.106.134] has quit [Read error: Connection reset by peer] 20:45:53 -!- ISF [~ivan@143.106.196.60] has quit [Ping timeout: 245 seconds] 20:46:41 -!- sammi` [sammi@gateway/shell/devio.us/x-irtfvpscwrcojkmm] has quit [Quit: Lost terminal] 20:46:45 IIRC alexandria doesn't have the facility to get a list of strings (one per line)? 20:47:29 sammi` [sammi@gateway/shell/devio.us/x-jfhjmkrohbygpwga] has joined #lisp 20:50:16 what are some decently interesting channels on freenode? 20:50:29 I lurk in here, never say anything, never really read anything interesting either 20:50:33 #lisp is neat for its high signal:noise ratio. 20:50:45 that's true 20:52:26 #postgresql is very helpful and friendly, #emacs is a whole experience, quite useful if you're using emacs 20:52:42 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Read error: Connection reset by peer] 20:53:24 pkhuong, what does the power spectrum of #lisp look like 20:54:07 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 20:54:29 gn people here 20:54:45 -!- m7w [~chatzilla@80.249.86.95] has quit [Ping timeout: 252 seconds] 20:57:43 DDR [~chatzilla@d142-179-78-231.bchsia.telus.net] has joined #lisp 20:58:17 -!- kmcorbett [~kmcorbett@199.180.145.100] has quit [Quit: Leaving.] 20:58:23 Question about sbcl-suggested define-constant macro --- wouldn't it make sense to check and see if the new value is EQUALP to the old? 20:58:41 rpg: there's one in alexandria 20:59:12 fe[nl]ix: Thanks! 20:59:28 -!- S11001001 [~sirian@fsf/member/S11001001] has quit [Remote host closed the connection] 21:02:01 what's the best way to test if "bird" comes before "ant" in a list? 21:03:08 robot-beethoven: what do you mean by "best"? 21:03:37 robot-beethoven: if you want "best" as in "clearest", you'd do something other than if you want "best" as in "fastest" 21:03:53 this sounds like a homework question 21:03:58 -!- TimKack`` [~user@c-2ec2859f-74736162.cust.telenor.se] has quit [Ping timeout: 256 seconds] 21:04:09 blackwolf: aha! 21:04:17 robot-beethoven: Write (< (position ) (position )) until your profiling tells you otherwise ;) 21:04:27 blackwolf: Oh :/ 21:04:38 lars_t_h [~lars_t_h@037096009212.mbb.telenor.dk] has joined #lisp 21:04:41 mutley89 [~mutley89@cpc1-hudd6-0-0-cust741.4-1.cable.virginmedia.com] has joined #lisp 21:05:58 -!- bobbysmith007 [~russ@216.155.103.30] has quit [Quit: Leaving.] 21:06:11 sellout: sadly, < operates only on numbers. 21:06:27 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Read error: Connection reset by peer] 21:06:35 bobbysmith007 [~russ@216.155.103.30] has joined #lisp 21:06:56 H4ns: Well, I'm not writing the program for him  21:07:08 -!- Dodek [am291698@duch.mimuw.edu.pl] has quit [Ping timeout: 240 seconds] 21:07:53 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 21:09:58 -!- Guthur [~user@212.183.128.28] has quit [Remote host closed the connection] 21:12:42 blackwolf: no homework, teachers or human-evaluation for me -- my learning is motivated by a passionate curiousness (and the crafting of a personal website) 21:13:31 blackwolf: but I see where you'd get the impressions: the question was very general and easily solveable 21:14:05 a website about ants and birds? I'm not sure you'll get venture capital funding. :) 21:15:16 blackwolf: he's a regular participant, you are not. and this channel is about programming, not finding venture capital. 21:15:34 fwiw, a recursive solution would work, checking the first element and possibly recursing through the rest of the list. 21:15:39 robot-beethoven, i have a question for you 21:15:58 h4ns: relax. I'm just pulling his chain. 21:16:16 robot-beethoven, how does one recover from executing (set-syntax-from-char #\( #\)) 21:17:19 bobbysmith0071 [~russ@216.155.103.30] has joined #lisp 21:18:45 allow me to participate: (defun not-homework (lst) (cond ((null lst) :neither) ((string= (car lst) "ant") :ant) ((string= (car lst) "bird") :bird) (t (not-homework (cdr lst))))) 21:18:48 fe[nl]ix: I wonder if it would be worth proposing an addition to the SBCL manual, pointing the interested reader to the alexandria macro. 21:18:49 TimKack [~user@c-2ec292c7-74736162.cust.telenor.se] has joined #lisp 21:18:54 -!- bobbysmith007 [~russ@216.155.103.30] has quit [Ping timeout: 255 seconds] 21:19:10 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Read error: Connection reset by peer] 21:19:28 blackwolf: use paste.lisp.org for code pastes. 21:19:29 rpg: this macro is asking for trouble. 21:20:04 -!- Jeanne-Kamikaze [~Jeanne-Ka@75.Red-88-7-128.staticIP.rima-tde.net] has quit [Quit: Did you hear that ?] 21:20:06 -!- gravicappa [~gravicapp@ppp91-77-168-217.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 21:20:13 agh. Also, I just realize that for the case where DEFCONSTANT is a nuisance, you want EQUALP to be the test... 21:20:14 rpg: It causes weird issues like (eql [something that evaluates to +x+] +x+) => nil. 21:20:36 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 21:20:39 rpg: so that strings are compared case-insensitively? 21:20:56 pkhuong: You're right. I probably just want EQUAL. 21:21:13 But definitely not EQL... 21:21:28 or maybe not defconstant... 21:22:08 pkhuong: I want constants for s-expressions that really ARE (at least semantically) constant. 21:22:43 -!- KognizantKog [~user@72.168.55.98] has quit [Remote host closed the connection] 21:22:50 booklet: is that when you give up and start a new lisp image? or is there a restart that can save you from no-open-paren land? 21:23:04 accept the mystery 21:23:11 pkhuong: These are s-expressions for logical (sub)formulae that I reuse in multiple locations. 21:23:29 I usually just use parameters and document so that people don't do stupid things, or, if it really matters, wrap the parameter in a symbol macro. 21:25:27 pkhuong: I'm not sure what you mean by "parameters" in this context. I suppose I could use a symbol-macro for this but... yuck. 21:25:34 parameter as in defparameter. 21:25:59 -!- kanru` [~user@199.195.142.182] has quit [Remote host closed the connection] 21:26:00 and the symbol macro is just (define-symbol-macro foo (load-time-value *foo* t)) 21:26:13 with a type declaration if needed. 21:26:46 -!- nyef [~nyef@c-174-63-105-188.hsd1.ma.comcast.net] has quit [Ping timeout: 276 seconds] 21:26:48 -!- booklet is now known as Quadrescence 21:26:59 pkhuong: If for no other reason, I hate to give up +the-name-that-says-its-a-constant+ because it really is one. 21:27:15 (define-symbol-macro +foo+ ...)? 21:27:16 -!- iocor [~textual@unaffiliated/iocor] has quit [Quit: Computer has gone to sleep.] 21:27:34 pkhuong: Right. I should check and see if SBCL will scold me for that. 21:27:38 -!- chiguire|m [~chiguire@gentoo/developer/chiguire] has quit [Ping timeout: 240 seconds] 21:28:38 pkhuong: It does seem that a language intended for symbolic computation, should be able to accept a tree of symbols as a constant without pushing the programmer through these kinds of hoops. 21:29:09 rpg: the language is also meant for sane compilation. 21:29:15 (it seems like a literate English speaker should be able to muster his commas correctly, too, so there) 21:29:29 *rpg* fails 21:29:36 There's no way to sanely compile non-EQL constants in separate fasls. 21:30:05 And thus we'd run into exactly the same issues with (eq +x+ +x+) => NIL that the alexandria macro may cause. 21:30:10 dim: why don't you just type (apropos "FILE-CONTENT") and find com.informatimago.common-lisp.cesarum.file:string-list-text-file-contents ? 21:30:38 pkhuong: I should simply make an s-expression constant definer macro that hides this from the programmer in a way that makes my intent clear, instead of complaining. 21:30:50 buuuuuuuuuuuuu, who gave that long name ? 21:31:18 pkhuong: thanks for putting me on the right track. 21:31:20 constants are compiled in as if they have been typed in the source. Nice for performance, ugly for non-trivial values. 21:32:27 So, in the interest of sanity, the consequences are undefined if the values aren't EQL each time the defconstant form is evaluated. 21:32:30 robot-beethoven: (member "ant" (member "bird" '("a" "bird" "before" "an" "ant") :test (function string=)) :test (function string=)) 21:32:38 -!- mrSpec [~Spec@unaffiliated/mrspec] has quit [Remote host closed the connection] 21:32:44 udzinari [~user@ip-89-102-12-6.net.upcbroadband.cz] has joined #lisp 21:33:16 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Read error: Connection reset by peer] 21:34:41 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 21:34:50 pjb: clever! 21:36:17 -!- milanj [~milanj_@93-86-216-175.dynamic.isp.telekom.rs] has quit [Quit: Leaving] 21:37:22 iLogical [~iLogical@unaffiliated/ilogical] has joined #lisp 21:37:45 rpg: in older usage(e.g. Tom Paine's pamphlets) your comma would have been properly placed :) 21:39:33 fe[nl]ix: These are the macros that try men's souls. 21:40:31 chiguire|m [~chiguire@190.39.219.179] has joined #lisp 21:40:31 -!- chiguire|m [~chiguire@190.39.219.179] has quit [Changing host] 21:40:31 chiguire|m [~chiguire@gentoo/developer/chiguire] has joined #lisp 21:42:21 :D 21:42:41 Guthur [~user@212.183.128.28] has joined #lisp 21:42:54 ebobby [~fms@38.111.144.18] has joined #lisp 21:44:10 nyef [~nyef@c-174-63-105-188.hsd1.ma.comcast.net] has joined #lisp 21:44:35 -!- Froward [~uh-oh@206.231.99.110] has left #lisp 21:45:33 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Read error: Connection reset by peer] 21:47:02 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 21:48:18 -!- sdemarre [~serge@91.176.39.207] has quit [Ping timeout: 272 seconds] 21:50:07 udzinari` [~user@ip-89-102-12-6.net.upcbroadband.cz] has joined #lisp 21:51:50 -!- jtza8 [~jtza8@196-210-240-114.dynamic.isadsl.co.za] has quit [Ping timeout: 252 seconds] 21:51:58 is anyone here successfully using ECL on windows? I can't get it to produce a standalone executable 21:52:37 jtza8 [~jtza8@196-210-240-114.dynamic.isadsl.co.za] has joined #lisp 21:53:08 -!- udzinari [~user@ip-89-102-12-6.net.upcbroadband.cz] has quit [Ping timeout: 240 seconds] 21:53:47 -!- n1nt4tsn0k|1 [~nitnatsno@178.46.14.146] has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/] 21:54:17 dreish [~dreish@minus.dreish.org] has joined #lisp 21:54:17 -!- ehu [~ehuels@ip118-64-212-87.adsl2.static.versatel.nl] has quit [Ping timeout: 260 seconds] 21:55:12 Dodek [am291698@duch.mimuw.edu.pl] has joined #lisp 21:55:42 __zero [~zero@221.Red-79-147-36.dynamicIP.rima-tde.net] has joined #lisp 21:56:11 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Read error: Connection reset by peer] 21:56:35 -!- leo2007 [~leo@123.114.33.41] has quit [Quit: rcirc on GNU Emacs 24.0.96.1] 21:57:19 paulo_ [~foo@112.204.18.209] has joined #lisp 21:57:32 -!- LiamH [~none@pdp8.nrl.navy.mil] has quit [Quit: Leaving.] 21:57:37 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 21:57:48 -!- nialo- [~nialo@ool-182d5684.dyn.optonline.net] has quit [Ping timeout: 272 seconds] 22:02:00 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Read error: Connection reset by peer] 22:02:37 -!- kilon [~kilon@athedsl-402408.home.otenet.gr] has quit [Remote host closed the connection] 22:02:59 -!- Tordek [tordek@gateway/shell/blinkenshell.org/x-erwodnqryahhcgid] has quit [Read error: Operation timed out] 22:03:31 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 22:04:05 -!- nyef [~nyef@c-174-63-105-188.hsd1.ma.comcast.net] has quit [Quit: G'night all.] 22:04:24 billitch [~billitch@70-36-196-160.dsl.static.sonic.net] has joined #lisp 22:04:48 Tordek [tordek@supporter.blinkenshell.org] has joined #lisp 22:05:41 -!- __zero [~zero@221.Red-79-147-36.dynamicIP.rima-tde.net] has quit [Ping timeout: 248 seconds] 22:05:42 Deltafire: you need a C compiler. I think it uses msvc's cl.exe by default on windows. 22:05:45 -!- statonjr [~statonjr@cpe-098-024-165-246.carolina.res.rr.com] has quit [Quit: statonjr] 22:06:17 -!- mathrick_ [~mathrick@85.218.148.156] has quit [Read error: Connection reset by peer] 22:06:38 mathrick_ [~mathrick@85.218.148.156] has joined #lisp 22:07:12 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Read error: Connection reset by peer] 22:07:22 Tristam [~Tristam@bodhilinux/team/Tristam] has joined #lisp 22:07:58 pnq [~nick@AC81482E.ipt.aol.com] has joined #lisp 22:08:23 -!- Guthur [~user@212.183.128.28] has quit [Remote host closed the connection] 22:08:33 i have msvc 2010 express - i used that to build ecl 22:08:43 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 22:08:55 -!- tychon [~tychon@82.113.106.174] has quit [Quit: Bye] 22:08:58 i can get it to produce .o files, but the function to produce the exe seems to be missing 22:10:15 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Read error: Connection reset by peer] 22:10:28 ledai [~lda@75.Red-83-61-34.dynamicIP.rima-tde.net] has joined #lisp 22:11:08 Deltafire: then you can write a main function in C and call ecl from it. 22:11:45 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 22:11:49 -!- francisl [~flavoie@199.84.164.114] has quit [Ping timeout: 245 seconds] 22:13:00 ltriant [~ltriant@lithium.mailguard.com.au] has joined #lisp 22:13:05 hmm, i wonder why the 'c:build-program' function is missing 22:14:25 looking closer at the .o file it created, it's actually fasl 22:14:53 Deltafire: did you enable (and load) the native code compiler? 22:15:50 it's an optional module to save space when it's useless. 22:16:00 oh.... how do i enable that? 22:16:21 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Read error: Connection reset by peer] 22:17:09 no clue. Search in the manual? 22:17:30 something like (require 'cmp) 22:17:51 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 22:19:41 thanks pjb - getting a bit further now :) 22:19:45 iocor [~textual@unaffiliated/iocor] has joined #lisp 22:19:47 the manual didn't mention that step :( 22:20:30 ignas [~ignas@ctv-79-132-160-221.vinita.lt] has joined #lisp 22:20:58 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Read error: Connection reset by peer] 22:21:00 impulse32 [~impulse@bas3-toronto48-1176442267.dsl.bell.ca] has joined #lisp 22:21:54 -!- udzinari` [~user@ip-89-102-12-6.net.upcbroadband.cz] has quit [Ping timeout: 252 seconds] 22:22:56 and i have a working .exe :D 22:25:30 ISF [~ivan@143.106.196.60] has joined #lisp 22:27:24 sysfault [~exalted@p3m/member/sysfault] has joined #lisp 22:28:35 slyrus_ [~chatzilla@173-228-44-92.dsl.static.sonic.net] has joined #lisp 22:31:03 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 22:31:29 -!- klltkr [~klltkr@188-222-83-162.zone13.bethere.co.uk] has quit [Remote host closed the connection] 22:31:31 -!- rmarianski [~rmariansk@mail.marianski.com] has quit [Quit: leaving] 22:31:37 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Read error: Connection reset by peer] 22:33:15 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 22:33:46 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Write error: Broken pipe] 22:34:17 statonjr [~statonjr@adsl-74-235-90-174.clt.bellsouth.net] has joined #lisp 22:35:38 -!- ngz [~user@103.69.69.86.rev.sfr.net] has quit [Ping timeout: 240 seconds] 22:36:25 homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 22:36:28 -!- flavioribeiro [~flaviorib@ct1corp.globo.com] has quit [Remote host closed the connection] 22:37:00 -!- homie` [~levgue@xdsl-78-35-148-224.netcologne.de] has quit [Read error: Connection reset by peer] 22:38:12 -!- ferada [~ferada@dslb-088-069-043-179.pools.arcor-ip.net] has quit [Quit: leaving] 22:39:24 ynniv [~ynniv@c-76-23-252-81.hsd1.ct.comcast.net] has joined #lisp 22:41:01 homie [~levgue@xdsl-78-35-148-224.netcologne.de] has joined #lisp 22:45:36 Bike [~Glossina@63-230-161-149.ptld.qwest.net] has joined #lisp 22:48:05 -!- robot-beethoven [~user@c-24-118-142-0.hsd1.mn.comcast.net] has quit [Ping timeout: 260 seconds] 22:48:20 -!- Houl [~Parmi@unaffiliated/houl] has quit [Quit: weil das Wetter so schön ist] 22:55:23 -!- Dodek [am291698@duch.mimuw.edu.pl] has quit [Read error: Operation timed out] 22:55:36 -!- Guest77041 [~profmakx@2a01:4f8:150:3181:2::20] has quit [Read error: Connection reset by peer] 22:57:34 gerardpaapu [~gerardpaa@210.48.104.34] has joined #lisp 22:57:52 -!- Tristam [~Tristam@bodhilinux/team/Tristam] has quit [Read error: Operation timed out] 22:58:07 -!- gaidal [~gaidal@h164n1-m-sp-d4.ias.bredband.telia.com] has quit [Quit: Leaving] 22:58:46 -!- jtza8 [~jtza8@196-210-240-114.dynamic.isadsl.co.za] has quit [Remote host closed the connection] 22:59:10 -!- ledai [~lda@75.Red-83-61-34.dynamicIP.rima-tde.net] has quit [Ping timeout: 260 seconds] 22:59:11 tsuru` [~charlie@adsl-74-179-196-101.bna.bellsouth.net] has joined #lisp 23:00:04 Kron_ [~Kron@2.49.66.141] has joined #lisp 23:01:40 -!- tsuru [~charlie@adsl-74-179-198-242.bna.bellsouth.net] has quit [Ping timeout: 276 seconds] 23:01:41 -!- pnq [~nick@AC81482E.ipt.aol.com] has quit [Ping timeout: 248 seconds] 23:01:57 profmakx [~profmakx@2a01:4f8:150:3181:2::20] has joined #lisp 23:02:24 -!- profmakx is now known as Guest50098 23:04:14 -!- mishoo [~mishoo@79.112.112.91] has quit [Ping timeout: 255 seconds] 23:04:24 -!- EarlGray [~mitra@despairing-occident.volia.net] has quit [Ping timeout: 265 seconds] 23:05:57 -!- statonjr [~statonjr@adsl-74-235-90-174.clt.bellsouth.net] has quit [Read error: Connection reset by peer] 23:06:24 statonjr [~statonjr@adsl-74-235-90-174.clt.bellsouth.net] has joined #lisp 23:12:46 Mazingaro [~Tetsuja@host75-208-dynamic.11-87-r.retail.telecomitalia.it] has joined #lisp 23:13:04 -!- REPLeffect [~REPLeffec@69.54.115.254] has quit [Ping timeout: 244 seconds] 23:13:13 REPLeffect [~REPLeffec@69.54.115.254] has joined #lisp 23:13:27 -!- Guest50098 [~profmakx@2a01:4f8:150:3181:2::20] has quit [Read error: Connection reset by peer] 23:14:18 -!- statonjr [~statonjr@adsl-74-235-90-174.clt.bellsouth.net] has quit [Quit: statonjr] 23:15:48 permanente [~profmakx@2a01:4f8:150:3181:2::20] has joined #lisp 23:17:01 Guthur [~user@212.183.128.28] has joined #lisp 23:18:09 Ralith [~ralith@63.64.64.178] has joined #lisp 23:19:16 -!- jlongster [~user@pool-108-4-74-122.rcmdva.fios.verizon.net] has quit [Ping timeout: 244 seconds] 23:19:49 -!- Guthur [~user@212.183.128.28] has quit [Remote host closed the connection] 23:20:28 -!- Mazingaro [~Tetsuja@host75-208-dynamic.11-87-r.retail.telecomitalia.it] has quit [Remote host closed the connection] 23:21:27 Dodek [am291698@duch.mimuw.edu.pl] has joined #lisp 23:22:22 -!- gerardpaapu [~gerardpaa@210.48.104.34] has left #lisp 23:22:52 tensorpudding__ [~michael@99.56.169.230] has joined #lisp 23:24:34 -!- impulse32 [~impulse@bas3-toronto48-1176442267.dsl.bell.ca] has quit [Ping timeout: 272 seconds] 23:24:53 dnolen [~user@cpe-98-14-92-234.nyc.res.rr.com] has joined #lisp 23:25:03 -!- anthraci- [anthracite@2a01:7e00::f03c:91ff:fedf:eaaa] has quit [Ping timeout: 245 seconds] 23:27:01 -!- tensorpudding_ [~michael@99.56.168.139] has quit [Ping timeout: 276 seconds] 23:27:07 -!- froggey [~froggey@unaffiliated/froggey] has quit [Ping timeout: 264 seconds] 23:28:00 anthracite [anthracite@2a01:7e00::f03c:91ff:fedf:eaaa] has joined #lisp 23:31:00 manahino [~manahino@softbank126108006128.bbtec.net] has joined #lisp 23:31:09 -!- seangrove [~user@70-36-236-249.dsl.static.sonic.net] has quit [Ping timeout: 244 seconds] 23:33:00 froggey [~froggey@unaffiliated/froggey] has joined #lisp 23:34:13 flavioribeiro [~flaviorib@201.53.12.75] has joined #lisp 23:34:18 BigHugeDog [~QQ@218.58.12.207] has joined #lisp 23:34:47 -!- permanente [~profmakx@2a01:4f8:150:3181:2::20] has quit [Read error: Connection reset by peer] 23:35:13 paul0 [~paul0@201.47.45.101.dynamic.adsl.gvt.net.br] has joined #lisp 23:38:06 -!- harish [~harish@119.234.199.166] has quit [Ping timeout: 256 seconds] 23:42:02 stassats`: Do you know why my QMenuBar would appear wide even thought I'm adding it to a QVBoxLayout using (#_addWidget vbox menubar 0)? 23:42:39 -!- TimKack [~user@c-2ec292c7-74736162.cust.telenor.se] has quit [Ping timeout: 245 seconds] 23:45:29 -!- attila_lendvai1 [~attila_le@188-143-61-34.pool.digikabel.hu] has quit [Quit: Leaving.] 23:46:09 permanente [~profmakx@2a01:4f8:150:3181:2::20] has joined #lisp 23:49:29 -!- ebobby is now known as e-gone 23:51:37 -!- Yuuhi`` [benni@p5483AAD8.dip.t-dialin.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:56:00 -!- wishbone4 [~user@167.216.131.126] has quit [Remote host closed the connection] 23:58:16 -!- huangjs [~huangjs@190.8.100.83] has quit [Read error: Connection reset by peer]