2014-12-15T15:52:44Z ccl-logbot joined #lisp 2014-12-15T15:52:44Z 2014-12-15T15:52:44Z names: ccl-logbot nyef Vutral ehu Ven squest stardiviner genii EvW ack006 thawes nell mhd_ stepnem harish kjeldahl _5kg oleo TrafficMan matija` LiamH cmack` attila_lendvai cyphase_ yrk tesuji mdcox jumblerg DeadTrickster BitPuffin vaporatorius JuanDaugherty araujo fridim_ _loic_ Kanae yeticry hiyosi chu Hache_ Shinmera gravicappa hlavaty urandom__ quazimodo angavrilov wmunny alexherbo2 isoraqathedh pt1 isis_ zacharias mvilleneuve sol__ arenz schoppenhauer 2014-12-15T15:52:44Z names: redeemed ASau GGMethos CrazyWoods aerique mishoo moei theos keen___________2 loke mrSpec sdemarre pjb manuel___ c74d3 ft aksatac_ ans jdz Anarch ggole leo2007 MrWoohoo psy_ frkout kushal cpc26__ ivan\ TDT stacksmith Zhivago nisstyre k-dawg nha_ clop Plazma pillton dxtr mingvs hazz byte48 lifenoodles bb010g gmcastil Oddity grungier abeaumont tharugrim resttime Natch rtra necronian alchemis7 hitecnologys copec z0d karswell njsg salv0 Krystof Intensity 2014-12-15T15:52:44Z names: drewc schjetne clog arrdem testin ConstantineXVI Sgeo lonjil Rudolph-Miller bend3r gko nicdev chameco joshe bege swflint edran kalzz PuercoPop trn splittist arrsim |3b| sbryant nightshade427 endou_____ gluegadget sword ered ahungry Khisanth mutley89 Patzy froggey oconnore_ someone superjudge nightfly qlkzy funnel clop2 AntiSpamMeta BlastHardcheese Takumo ecraven brucem Posterdati Kruppe tbarletz ``Erik misv jayne lieven ska-fan Vivitron Odin- impulse 2014-12-15T15:52:44Z names: xristos bambams _d3f kyl_ bobbysmith007 brent80_plow Kohelet Xach tessier_ brandonz_ rvchangue_ john-mca` ssake diginet katco girrig mindCrime__ yonkie_ sivoais ozzloy_ jlow1 capitaomorte` Kabaka vhost- TristamWrk housel Nshag tristero shifty778 fmu seg __main__ vsync shwouchk Qudit314159 nand1` wglb stopbit eazar001 Jubb soggybread JokerDoom les ski dandersen wasamasa Ralt Jesin CrazyEddy s00pcan Soft SHODAN blahzik acieroid yrdz rme posterdati300 gendl 2014-12-15T15:52:44Z names: DrCode gniourf adlai easye akkad faheem_ rick-monster farhaven flip214 fikusz specbot minion agumonkey emlow munge` Grue` ananna ircbrowse Longlius fe[nl]ix wooden codeburg gf3 Colleen qbit billstclair gigetoo justinmcp gregburd_ krrrcks finnrobi ThePhoeron White_Flame troydm mearnsh hugod klltkr lemoinem avawn teiresias gz victor_lowther NhanH cyraxjoe nowhere_man dmiles_afk replcated backupthrick mathrick Bike galdor ferada dfox johs killmaster cibs 2014-12-15T15:52:44Z names: anunnaki paritybit kanru Adeon emma tmh_ bcoburn joast ivan4th ggherdov segmond rs0 ryankarason honkfestival redline6561 vlnx drmeister rvirding d4gg4d Amaan hrnz jeaye kirin` heurist InvalidCo njsg_ Neptu alpha- larme FrostyX reb` cpt_nemo p_l|backup viaken drdo K1rk wormphle1m Faed abbe gabc sauerkrause hyoyoung_ j0ni yorick Borbus_ tokenrove hzp eli xorpse bool_ whartung scymtym jtz zymurgy Tristam lpaste mikaelj sytse phf` cosmicexplorer Subfusc 2014-12-15T15:52:44Z names: guaqua gabot danlentz quasisane bjorkintosh GuilOooo Tordek eagleflo pok_ Hydan cmbntr jsnell theBlackDragon vert2 phadthai kbtr_ josteink rtoym smull thomas aap Neet sfa jpanest Riviera Blkt stux|RC-only _death daimrod H4ns cods samebchase ramus mood peccu2 axion scharan snafuchs dlowe pchrist sshirokov j_king antoszka gensym benny AeroNotix p_l zickzackv roo jasom sellout joga p4nd4m4n_ enn ck_ mband eMBee luis sjl oGMo renard_ tomaw stokachu ttm 2014-12-15T15:52:44Z names: nitro_idiot djinni` sigjuice rotty_ yeltzooo tstc zbigniew Mandus dim cross eak_ yauz tkd dan64 setheus s_e 2014-12-15T15:52:47Z ehu quit (Ping timeout: 272 seconds) 2014-12-15T15:54:57Z edgar-rft joined #lisp 2014-12-15T15:55:26Z squest: it's midnight here :) 2014-12-15T15:56:22Z nyef: Why don't we all just use the UGT time zone? 2014-12-15T15:56:27Z ehu joined #lisp 2014-12-15T15:57:15Z squest: good evening then 2014-12-15T15:58:47Z Karl_Dscc joined #lisp 2014-12-15T15:59:35Z ivan4th: adlai: I once wrote an XML pretty printer using CL pretty printer after reading the paper you mentioned. The problem is, as far as I remember, that the output is not quite stable across implementations 2014-12-15T15:59:58Z adlai: json is much simpler than XML though 2014-12-15T16:00:05Z Shinmera quit (Quit: しつれいしなければならないんです。) 2014-12-15T16:00:25Z sheilong joined #lisp 2014-12-15T16:00:30Z ivan4th: the problem was not with XML but with minor differences in how the standard is implemented in different lisps 2014-12-15T16:01:56Z ivan4th: this doesn't always pose a big problem, but still you may get different output from the same code 2014-12-15T16:03:46Z Shinmera joined #lisp 2014-12-15T16:04:55Z mdcox quit (Ping timeout: 255 seconds) 2014-12-15T16:05:15Z ivan4th: adlai: http://paste.lisp.org/display/144699 it wasn't just XML pretty printer though. It did some complex handling of html-like tags defined in some file called tags.xml 2014-12-15T16:05:39Z ivan4th: but dunno, maybe it can be of some use anyway 2014-12-15T16:07:30Z adlai: ivan4th: interesting, I'll have a look. thanks 2014-12-15T16:07:54Z ivan4th: you're welcome 2014-12-15T16:08:56Z ivan4th: I was using both SBCL & CLISP back then and remember having some problems with CLISP. But seems like CLISP isn't widely used nowadays 2014-12-15T16:09:05Z przl joined #lisp 2014-12-15T16:11:44Z chu quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-12-15T16:12:01Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2014-12-15T16:13:02Z pt1_ joined #lisp 2014-12-15T16:14:06Z ndrei joined #lisp 2014-12-15T16:15:12Z hiroakip joined #lisp 2014-12-15T16:15:50Z thawes quit (Read error: Connection reset by peer) 2014-12-15T16:16:36Z pt1 quit (Ping timeout: 250 seconds) 2014-12-15T16:16:41Z thawes joined #lisp 2014-12-15T16:17:17Z pt1_ quit (Ping timeout: 240 seconds) 2014-12-15T16:18:46Z milosn joined #lisp 2014-12-15T16:19:45Z eudoxia joined #lisp 2014-12-15T16:20:06Z unoyunodos joined #lisp 2014-12-15T16:23:19Z mtd joined #lisp 2014-12-15T16:23:37Z Vutral quit (Ping timeout: 240 seconds) 2014-12-15T16:24:59Z squest quit (Ping timeout: 264 seconds) 2014-12-15T16:26:00Z mtd quit (Remote host closed the connection) 2014-12-15T16:26:11Z gingerale joined #lisp 2014-12-15T16:26:28Z dim: you can use yason and add your own print methods to your objects too 2014-12-15T16:27:57Z dim: see end of https://github.com/dimitri/pgcharts/blob/master/src/model.lisp 2014-12-15T16:27:59Z hiroakip quit (Ping timeout: 264 seconds) 2014-12-15T16:28:35Z mhd_ quit (Ping timeout: 264 seconds) 2014-12-15T16:29:03Z redeemed quit (Quit: q) 2014-12-15T16:30:23Z boogie joined #lisp 2014-12-15T16:30:33Z towodo joined #lisp 2014-12-15T16:31:29Z cyphase_ quit (Ping timeout: 245 seconds) 2014-12-15T16:32:44Z agumonkey quit (Ping timeout: 244 seconds) 2014-12-15T16:35:32Z boogie quit (Ping timeout: 256 seconds) 2014-12-15T16:37:40Z Vutral joined #lisp 2014-12-15T16:37:50Z ehu quit (Ping timeout: 250 seconds) 2014-12-15T16:38:06Z Guest57770 joined #lisp 2014-12-15T16:41:04Z ehu joined #lisp 2014-12-15T16:41:34Z k-dawg quit (Quit: This computer has gone to sleep) 2014-12-15T16:43:32Z agumonkey joined #lisp 2014-12-15T16:45:17Z REPLeffect joined #lisp 2014-12-15T16:45:34Z REPLeffect quit (Client Quit) 2014-12-15T16:45:54Z REPLeffect joined #lisp 2014-12-15T16:46:31Z ehu quit (Remote host closed the connection) 2014-12-15T16:46:44Z attila_lendvai quit (Quit: Leaving.) 2014-12-15T16:46:59Z towodo quit (Quit: towodo) 2014-12-15T16:47:03Z mtd joined #lisp 2014-12-15T16:47:14Z boogie joined #lisp 2014-12-15T16:47:17Z ehu joined #lisp 2014-12-15T16:47:52Z boogie quit (Remote host closed the connection) 2014-12-15T16:48:08Z REPLeffect quit (Client Quit) 2014-12-15T16:49:09Z attila_lendvai joined #lisp 2014-12-15T16:49:09Z attila_lendvai quit (Changing host) 2014-12-15T16:49:09Z attila_lendvai joined #lisp 2014-12-15T16:49:53Z sdemarre quit (Ping timeout: 250 seconds) 2014-12-15T16:51:29Z przl quit (Ping timeout: 260 seconds) 2014-12-15T16:52:37Z zacharias quit (Ping timeout: 258 seconds) 2014-12-15T16:52:56Z francis49 joined #lisp 2014-12-15T16:53:15Z francis49: hello 2014-12-15T16:54:06Z francis49: someone used allegro common lisp express for fractals? 2014-12-15T16:54:54Z oGMo: it's possible, but you could do so using other implementations as well 2014-12-15T16:55:35Z oGMo: i don't see ACL mentioned a lot, so I'm not sure if anyone here has specific familiarity 2014-12-15T16:56:00Z francis49: oGMo, what other implementation you mean? 2014-12-15T16:56:19Z oGMo: who/what is unoyunodos and why is it privmsg'ing 2014-12-15T16:56:40Z oGMo: francis49: SBCL and CCL are used most heavily here 2014-12-15T16:56:47Z ehu quit (Ping timeout: 264 seconds) 2014-12-15T16:57:08Z Xach: oGMo: spammer, maybe? 2014-12-15T16:58:07Z oGMo: sneaky if so, avoiding publics 2014-12-15T16:58:15Z francis49: oGMo, but they do not have a nice ide. 2014-12-15T16:58:26Z oGMo: francis49: they have emacs and slime! those are pretty nice. 2014-12-15T16:58:46Z oGMo: and i think CCL actually has its own IDE on OSX 2014-12-15T16:58:54Z jasom: francis49: I see lispworks mentioned here more often than ACL 2014-12-15T16:59:12Z francis49: ah yes sure, but i first am a windows user. i dont know emacs and slime 2014-12-15T17:00:46Z oGMo: nobody knows them before learning; both work fine in windows (and osx) to my knowledge 2014-12-15T17:01:22Z francis49: oGMo, sure 2014-12-15T17:01:50Z francis49: jason, lispworks personal edition is too limited 2014-12-15T17:03:11Z jasom: francis49: I think most of those here who use lw have a commercial license 2014-12-15T17:03:55Z shka joined #lisp 2014-12-15T17:04:02Z shka: good evening lispers 2014-12-15T17:04:05Z francis49: jasom, sure that's true. 2014-12-15T17:04:17Z francis49: shka hello to you 2014-12-15T17:04:37Z francis49: jasom, too expensive i think 2014-12-15T17:05:00Z sol__: is lispworks worth the investement? how much better is it than emacs/slime as a dev environment (debugging, code inspection etc.)? 2014-12-15T17:05:20Z innertracks joined #lisp 2014-12-15T17:05:29Z francis49: sol, sure, but too heavy to learn 2014-12-15T17:07:03Z francis49: oGMo, do you know "lispide"? 2014-12-15T17:07:10Z oGMo: francis49: nope 2014-12-15T17:07:40Z sol__: francis49, implying emacs/slime weren't heavy to learn? i still discover new trick every day... 2014-12-15T17:08:04Z oGMo: emacs/slime aren't heavy to learn :P 2014-12-15T17:08:21Z jasom: you can use emacs and slime with some small setup and just menu items for everythin 2014-12-15T17:08:28Z oGMo: exactly 2014-12-15T17:08:36Z francis49: sol, as sayd before, i am a windows user 2014-12-15T17:08:49Z Poenikatu joined #lisp 2014-12-15T17:09:31Z francis49: oGMo, wait i find the urel of lispide 2014-12-15T17:09:58Z Poenikatu|2 joined #lisp 2014-12-15T17:10:12Z mdcox joined #lisp 2014-12-15T17:10:13Z Poenikatu quit (Client Quit) 2014-12-15T17:10:16Z francis49: oGMo, give a look http://www.daansystems.com/lispide/ 2014-12-15T17:10:18Z gendl quit (Ping timeout: 245 seconds) 2014-12-15T17:10:27Z oGMo: no thanks 2014-12-15T17:10:58Z francis49: i used this with sbcl 2014-12-15T17:11:09Z bb010g quit (Quit: Connection closed for inactivity) 2014-12-15T17:12:02Z wmunny: francis49: emacs and slime runs on windows with no problem 2014-12-15T17:12:20Z Poenikatu|2 is now known as Poenikatu 2014-12-15T17:12:31Z francis49: wmunny, i think i must do a try then 2014-12-15T17:13:39Z EvW quit (Remote host closed the connection) 2014-12-15T17:13:49Z EvW joined #lisp 2014-12-15T17:14:01Z towodo joined #lisp 2014-12-15T17:14:30Z francis49: time to go freinds 2014-12-15T17:14:41Z francis49: thank you all and bye 2014-12-15T17:15:13Z drmeister: Does anyone understand how SLIME updates source file-positions for source code that falls after code that you insert into a file? 2014-12-15T17:15:33Z francis49 left #lisp 2014-12-15T17:15:34Z drmeister: We have another bot: unoyunodos 2014-12-15T17:18:29Z mvilleneuve quit (Quit: This computer has gone to sleep) 2014-12-15T17:19:39Z jdz: drmeister: doesn't it look for the top-level form around the location? 2014-12-15T17:20:59Z ChanServ has set mode +o Xach 2014-12-15T17:21:21Z Xach has set mode -bbbb *!*CLIENTE04@187.153.59.* *!*sardariya@92.50.59.* *!*esucg0aq4@197.195.158.* *!*Freeway-@*.cm-12-3c.dynamic.ziggo.nl 2014-12-15T17:21:24Z Xach has set mode +b *!*unoyunodo@213.143.51.* 2014-12-15T17:21:29Z unoyunodos [~xach@pdpc/supporter/professional/xach] has been kicked from #lisp by Xach (spam) 2014-12-15T17:21:35Z Xach has set mode -o Xach 2014-12-15T17:22:04Z drmeister: I was thinking more about when you view source in the SLIME debugger. When I compile a function, I embed source file information within the compiled code. That source file information will become out of date when I compile functions within the source file. 2014-12-15T17:22:06Z Xach: drmeister: in my experience, it doesn't 2014-12-15T17:22:33Z Xach: drmeister: i often jump to the wrong form when i've been editing a file, so i recompile the whole thing sometimes to fix. 2014-12-15T17:22:45Z Xach: "often" is maybe too strong a term, but it happens. 2014-12-15T17:22:49Z drmeister: Ah - ok. That makes sense. 2014-12-15T17:23:26Z drmeister: I assumed there was magic in there somewhere to keep track of source information and update it in realtime. 2014-12-15T17:23:27Z towodo quit (Quit: towodo) 2014-12-15T17:24:07Z Xach: drmeister: pretty sure it just asks the implementation. most have some kind of source location facility. 2014-12-15T17:24:30Z Xach: under different names but the same general idea: "where is the thing named by defined?" 2014-12-15T17:24:53Z psy_ quit (Ping timeout: 245 seconds) 2014-12-15T17:25:09Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-12-15T17:25:10Z EvW quit (Ping timeout: 265 seconds) 2014-12-15T17:25:10Z drmeister: Yes, I'm just learning about those as I implement swank in clasp. 2014-12-15T17:25:43Z towodo joined #lisp 2014-12-15T17:25:53Z Xach: lispworks does that under the umbrella of something called "dspecs" 2014-12-15T17:26:10Z gendl joined #lisp 2014-12-15T17:26:23Z drmeister: I just figured out how it spoofs the source info when it compiles a single function. 2014-12-15T17:27:12Z oudeis joined #lisp 2014-12-15T17:28:06Z Xach: i would expect that to vary by implementation, but i haven't looked into it. 2014-12-15T17:28:52Z drmeister: It does. ECL/Clasp COMPILE-FILE accept :source-truename and :source-offset flags to spoof the source info generation. 2014-12-15T17:29:25Z cpc26 joined #lisp 2014-12-15T17:30:01Z drmeister: The details between ECL and Clasp differ widely from there. 2014-12-15T17:30:28Z drmeister: Other implementations differ as well. 2014-12-15T17:30:45Z Poenikatu: Can anybody help me? I tried to join ##mac (and ##apple) but was told that I had to be identified by services. What does that mean? 2014-12-15T17:30:57Z cpc26__ quit (Ping timeout: 258 seconds) 2014-12-15T17:31:56Z tharugrim quit (Ping timeout: 265 seconds) 2014-12-15T17:31:59Z arcwest1 joined #lisp 2014-12-15T17:32:46Z tharugrim joined #lisp 2014-12-15T17:34:20Z gendl quit (Quit: gendl) 2014-12-15T17:35:51Z beach joined #lisp 2014-12-15T17:36:11Z beach: Good evening everyone! 2014-12-15T17:37:14Z drdanmaku joined #lisp 2014-12-15T17:37:28Z hazz quit (Ping timeout: 258 seconds) 2014-12-15T17:38:26Z hazz joined #lisp 2014-12-15T17:39:05Z Xach: Poenikatu: https://freenode.net/faq.shtml has info about registration 2014-12-15T17:39:39Z Xach: Poenikatu: that should also give you some good info about where to get freenode and irc help. (maybe.) this is not a great place for irc help. 2014-12-15T17:40:02Z Petit_Dejeuner_ joined #lisp 2014-12-15T17:40:11Z przl joined #lisp 2014-12-15T17:40:23Z Poenikatu: Xach: Many thanks. I realise that #lisp is not a good place for irc help, but I had to start somewhere. 2014-12-15T17:40:40Z nyef: Hello beach. 2014-12-15T17:41:23Z ack006: Good evening :-) 2014-12-15T17:43:54Z Karl_Dscc quit (Remote host closed the connection) 2014-12-15T17:44:01Z shka: beach: good evening sir 2014-12-15T17:44:43Z jtza8 joined #lisp 2014-12-15T17:44:46Z kristof joined #lisp 2014-12-15T17:44:56Z kristof quit (Signing in (kristof)) 2014-12-15T17:44:56Z kristof joined #lisp 2014-12-15T17:45:13Z beach: drmeister: Am I understanding this correctly? You have been working all this time without using SLIME? 2014-12-15T17:45:46Z kristof is now known as Guest60085 2014-12-15T17:46:19Z kushal quit (Quit: Leaving) 2014-12-15T17:48:44Z Guest60085 quit (Client Quit) 2014-12-15T17:48:54Z Clarice joined #lisp 2014-12-15T17:49:03Z Clarice is now known as kristof 2014-12-15T17:51:29Z arenz quit (Ping timeout: 264 seconds) 2014-12-15T17:52:38Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-12-15T17:52:56Z adlai: is it idiomatic to shallow-copy a CLOS instance thus? http://paste.lisp.org/+33NH 2014-12-15T17:53:47Z adlai: tl;dr: EVAL the return values of make-load-form[-saving-slots] 2014-12-15T17:54:24Z Xach: I haven't seen that before. 2014-12-15T17:54:54Z Xach: I don't know every idiom, of course, but that doesn't seem like a very widespread practice in my experience. 2014-12-15T17:54:55Z drmeister: beach: Yes. 2014-12-15T17:56:12Z drmeister: You can't have SLIME until you have a functioning Common Lisp. There are thousands of details that have to be correct before you can run something like SLIME. 2014-12-15T17:56:46Z beach: You could have developed Clasp using an existing Common Lisp implementation. 2014-12-15T17:56:58Z Poenikatu quit (Changing host) 2014-12-15T17:56:58Z Poenikatu joined #lisp 2014-12-15T17:57:23Z drmeister: No existing Common Lisp implementation supports LLVM and interoperates with C++. 2014-12-15T17:57:23Z gravicappa quit (Ping timeout: 264 seconds) 2014-12-15T17:57:55Z drmeister: So no, I couldn't 2014-12-15T17:58:36Z beach: Right. I am still wondering why it would not have been possible to take advantage of an existing Common Lisp for some things like writing the compiler. I guess I am not sufficiently familiar with all the restrictions. 2014-12-15T17:58:50Z drmeister: Maybe you could get C++ interoperation and LLVM but it would probably have taken me just as long. 2014-12-15T17:59:53Z adlai wants a copy of the first argument to update-instance-for-different-class 2014-12-15T17:59:58Z oGMo: you could _call_ llvm using CL-LLVM 2014-12-15T18:00:27Z drmeister: CL-LLVM is a C API - not the C++ API. I could get LLVM but not C++ interoperation. 2014-12-15T18:00:30Z oGMo: and thus implement a lisp using mostly any other CL, or obviously, write your own assembler etc, but that's a lot more work than it's worth 2014-12-15T18:00:45Z oGMo: drmeister: true, though, there are other possible ways ofr C++ interop 2014-12-15T18:00:46Z drmeister: Everyone seems to think this is so easy. I wonder why no one has done it before. 2014-12-15T18:02:06Z Hache_ quit (Remote host closed the connection) 2014-12-15T18:02:09Z beach: drmeister: I don't think anyone thinks it's easy. 2014-12-15T18:02:38Z oGMo: yeah it's not _easy_, but there are possibilities 2014-12-15T18:02:59Z oGMo: LLVM really opens a lot of doors though 2014-12-15T18:03:00Z Grue`: adlai: I'm not sure what (setf (second init) it) is supposed to do; I tried for one of my own classes, and this doesn't replace the correct value 2014-12-15T18:03:18Z Grue`: so this code is probably highly unportable if it even works at all 2014-12-15T18:03:33Z kami joined #lisp 2014-12-15T18:05:22Z kami: Good evening #lisp. 2014-12-15T18:05:49Z beach: Hello kami. 2014-12-15T18:07:15Z beach: drmeister: I seem to have offended you. I certainly didn't mean to do that. I am just trying to understand what is going on. 2014-12-15T18:08:25Z jumblerg joined #lisp 2014-12-15T18:08:38Z drmeister: Oh, sorry - no - no one has offended me. I'm just editing code. 2014-12-15T18:08:55Z adlai: Grue`: works on CCL, fails on SBCL, which has a PROGN and separate SETFs for each slot. I'll work on a portable replacement later (it should just replace all references to the original object in the init form, to the return value of evaluating the creation form 2014-12-15T18:09:23Z pnpuff joined #lisp 2014-12-15T18:09:32Z beach: drmeister: Whew! 2014-12-15T18:09:38Z wilfredh joined #lisp 2014-12-15T18:09:41Z beach: Dinner. I might be back later. 2014-12-15T18:09:46Z wmunny: hello everyone im new on lisp i would like to know if it is possible to compile lisp to one executable file and if yes how 2014-12-15T18:10:19Z drmeister: You are talking to someone who has spent three years hiking out of a swamp. These suggestions of "why didn't you just ..." are a bit annoying to have to rebut when they come up every couple of months. 2014-12-15T18:10:46Z jlow1 quit (Quit: WeeChat 1.0.1) 2014-12-15T18:11:11Z Grue`: wmunny: the most portable way would be (uiop:dump-image "foo.exe" :executable t ...other options...) 2014-12-15T18:11:40Z Bike_ joined #lisp 2014-12-15T18:12:01Z Bike quit (Read error: Connection reset by peer) 2014-12-15T18:12:18Z wmunny: Grue`: is it the same for linux ?? i dont use windows and i saw a .exe there 2014-12-15T18:12:37Z Grue`: that's just a random filename 2014-12-15T18:12:45Z Grue`: as indicated by "foo" 2014-12-15T18:13:04Z wmunny: Grue`: and how do i define the stating function like the main on other languages ?? 2014-12-15T18:13:51Z kristof: drmeister: Is there any summative documentation of your efforts? 2014-12-15T18:14:18Z kristof: drmeister: Brief or long, describing your decisions and rationale. 2014-12-15T18:15:05Z drmeister: kristof: Not yet - but I'm being asked to write some. 2014-12-15T18:16:03Z Karl_Dscc joined #lisp 2014-12-15T18:16:54Z Grue`: wmunny: well, I'm looking it up now... 2014-12-15T18:17:13Z EvW joined #lisp 2014-12-15T18:17:16Z sol__ quit (Quit: Leaving) 2014-12-15T18:17:37Z BitPuffin quit (Ping timeout: 240 seconds) 2014-12-15T18:18:31Z sol__ joined #lisp 2014-12-15T18:18:46Z Grue`: wmunny: but it seems that something like (uiop:register-image-restore-hook some-function nil) will cause this function to run when the image is restored 2014-12-15T18:19:18Z tesuji quit (Ping timeout: 265 seconds) 2014-12-15T18:19:56Z wmunny: ok 2014-12-15T18:19:56Z Grue`: wmunny: many implementations have their own way to dump images, which might be more convenient 2014-12-15T18:20:05Z wmunny: Grue`: ok i will try that 2014-12-15T18:20:22Z wmunny: Grue`: thanks 2014-12-15T18:20:26Z psy_ joined #lisp 2014-12-15T18:20:30Z Grue`: np 2014-12-15T18:22:16Z mrSpec quit (Ping timeout: 250 seconds) 2014-12-15T18:22:54Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-12-15T18:23:41Z MoALTz joined #lisp 2014-12-15T18:23:55Z jumblerg joined #lisp 2014-12-15T18:24:45Z nha_ left #lisp 2014-12-15T18:26:45Z _8hzp joined #lisp 2014-12-15T18:28:20Z hzp quit (Ping timeout: 250 seconds) 2014-12-15T18:28:28Z ndrei quit (Ping timeout: 244 seconds) 2014-12-15T18:28:35Z aftershave joined #lisp 2014-12-15T18:29:28Z admg joined #lisp 2014-12-15T18:29:28Z aftershave quit (Client Quit) 2014-12-15T18:33:49Z Bike_ is now known as Bike 2014-12-15T18:35:10Z innertracks quit (Quit: innertracks) 2014-12-15T18:37:39Z innertracks joined #lisp 2014-12-15T18:37:49Z oleo is now known as Guest60792 2014-12-15T18:37:53Z bjorkintosh quit (Read error: Connection reset by peer) 2014-12-15T18:39:37Z oleo__ joined #lisp 2014-12-15T18:40:28Z Guest60792 quit (Ping timeout: 250 seconds) 2014-12-15T18:43:59Z tristero quit (Ping timeout: 245 seconds) 2014-12-15T18:44:10Z Kabaka quit (Ping timeout: 256 seconds) 2014-12-15T18:45:56Z tesuji joined #lisp 2014-12-15T18:46:18Z innertracks quit (Quit: innertracks) 2014-12-15T18:46:50Z innertracks joined #lisp 2014-12-15T18:47:17Z hiroakip joined #lisp 2014-12-15T18:48:54Z boogie joined #lisp 2014-12-15T18:48:54Z boogie quit (Remote host closed the connection) 2014-12-15T18:49:00Z patojo joined #lisp 2014-12-15T18:50:31Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-12-15T18:52:07Z srcerer joined #lisp 2014-12-15T18:52:13Z ggole quit (Ping timeout: 258 seconds) 2014-12-15T18:52:38Z hiyosi joined #lisp 2014-12-15T18:55:05Z milosn quit (Ping timeout: 264 seconds) 2014-12-15T18:55:33Z corni joined #lisp 2014-12-15T18:56:43Z Davidbrcz joined #lisp 2014-12-15T18:58:08Z jumblerg joined #lisp 2014-12-15T18:58:16Z scymtym_ joined #lisp 2014-12-15T18:58:41Z jtza8 quit (Ping timeout: 264 seconds) 2014-12-15T18:59:46Z zacharias joined #lisp 2014-12-15T19:01:10Z tristero joined #lisp 2014-12-15T19:02:02Z gravicappa joined #lisp 2014-12-15T19:02:22Z wmunny quit (Quit: WeeChat 1.0.1) 2014-12-15T19:04:08Z ggole joined #lisp 2014-12-15T19:05:59Z isis__ joined #lisp 2014-12-15T19:06:48Z towodo quit (Quit: towodo) 2014-12-15T19:07:41Z Davidbrcz quit (Ping timeout: 264 seconds) 2014-12-15T19:08:04Z towodo joined #lisp 2014-12-15T19:08:59Z isis_ quit (Ping timeout: 250 seconds) 2014-12-15T19:09:32Z rhllor joined #lisp 2014-12-15T19:10:36Z bjorkintosh joined #lisp 2014-12-15T19:14:26Z normanrichards joined #lisp 2014-12-15T19:14:42Z malpas joined #lisp 2014-12-15T19:14:55Z malpas is now known as aleamb 2014-12-15T19:15:37Z Kabaka joined #lisp 2014-12-15T19:16:31Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-12-15T19:16:34Z beach left #lisp 2014-12-15T19:17:03Z Xach finds himself wishing for a more efficient directory / wildcard implementation 2014-12-15T19:17:44Z Xach: I think sbcl is consing up a full-blown pathname for every entry when I'm interested only in a subset. And I have a lot of files involved. 2014-12-15T19:19:43Z rtra quit (Ping timeout: 265 seconds) 2014-12-15T19:21:26Z jumblerg joined #lisp 2014-12-15T19:23:53Z Xach waits and waits 2014-12-15T19:24:32Z jumblerg quit (Client Quit) 2014-12-15T19:25:38Z eschulte joined #lisp 2014-12-15T19:26:20Z rtra joined #lisp 2014-12-15T19:26:55Z z0d quit (Quit: leaving) 2014-12-15T19:27:33Z eschulte: I have a (setf foo) method which works when used directly, but (setf (aref (foo ...) 0) ...) has no effect. Any suggestion (or pointer to documentation) on how to define a setf expander which will work with a wrapping aref? 2014-12-15T19:28:30Z nyef: eschulte: You don't, you write a normal FOO function at that point. 2014-12-15T19:28:34Z przl quit (Ping timeout: 250 seconds) 2014-12-15T19:28:55Z nyef: The SETF magic is in the AREF, and it calls the non-SETF FOO because it's merely being read from, not used as a place. 2014-12-15T19:29:01Z hiroakip quit (Ping timeout: 258 seconds) 2014-12-15T19:31:35Z rhllor quit (Quit: Page closed) 2014-12-15T19:31:51Z normanrichards quit (Read error: Connection reset by peer) 2014-12-15T19:33:14Z eudoxia quit (Ping timeout: 258 seconds) 2014-12-15T19:33:56Z eschulte: nyef: I don't follow what you mean by "normal FOO function" 2014-12-15T19:34:18Z foom joined #lisp 2014-12-15T19:34:34Z Shinmera: You define a FOO function that returns the array you want to manipulate. 2014-12-15T19:35:25Z Vutral quit (Ping timeout: 250 seconds) 2014-12-15T19:37:58Z junxit joined #lisp 2014-12-15T19:37:59Z ack006: ah i like the smell of asdf / quicklisp dependency hell in the morning 2014-12-15T19:38:15Z pgomes joined #lisp 2014-12-15T19:40:55Z Xach: haaaaa. i've been sitting patiently while *inferior-lisp* was in ldb. 2014-12-15T19:41:32Z Xach tries again 2014-12-15T19:42:06Z dim: wow, do that doesn't happen only to me? thanks Xach for making me feel less alone on that ;-) 2014-12-15T19:42:21Z dim: s/do/so/ 2014-12-15T19:43:13Z dim: and, mmm, what about filtering file names in a subprocess so that your sbcl only sees the right targets? I guess it woulnd't feel as good 2014-12-15T19:43:39Z foom: you might be interested in a function that a co-worked just discovered (and then enabled by default for everyone here): (slime-redirect-inferior-output) 2014-12-15T19:44:08Z Xach forgot this server is a repurposed windows desktop computer with only 6GB of memory...seemed like so much at the time... 2014-12-15T19:44:16Z nyef: Or in building SBCL without LDB, or there's some magic incantation to disable LDB without breaking the debugger... 2014-12-15T19:45:44Z mindCrime__ quit (Quit: Konversation terminated!) 2014-12-15T19:45:59Z Xach: I used http://xach.livejournal.com/208882.html 2014-12-15T19:46:55Z Vutral joined #lisp 2014-12-15T19:47:14Z foom: Anyways, not having to ever look at a separate inferior-lisp buffer seems like an all around Good Thing to have turned on. I recommend it. :) 2014-12-15T19:47:16Z nyef: Yeah, that's about right. 2014-12-15T19:48:21Z arcwest1 quit (Quit: Nettalk6 - www.ntalk.de) 2014-12-15T19:49:05Z edgar-rft quit (Quit: the consequences are unspecified) 2014-12-15T19:49:20Z hazz quit (Ping timeout: 258 seconds) 2014-12-15T19:50:36Z mrSpec joined #lisp 2014-12-15T19:50:58Z milosn joined #lisp 2014-12-15T19:51:06Z junxit` joined #lisp 2014-12-15T19:51:34Z fragamus joined #lisp 2014-12-15T19:51:54Z Xach: dim: i think i'm going to have to use a subprocess and process the output a line at a time. i apparently don't have enough ram to deal with all the files at once. 2014-12-15T19:52:32Z z0d joined #lisp 2014-12-15T19:52:59Z hazz joined #lisp 2014-12-15T19:53:12Z ack006: installing iolib using quicklisp, only to realize that it doesn't include libfixposix, neither does my distro, ha, fun to be had. 2014-12-15T19:53:54Z loz1 joined #lisp 2014-12-15T19:53:57Z junxit quit (Ping timeout: 240 seconds) 2014-12-15T19:54:12Z Xach: quicklisp includes a few things that rely on C libraries that can take some work to obtain 2014-12-15T19:54:19Z przl joined #lisp 2014-12-15T19:54:21Z Xach: not a ton, but they are there 2014-12-15T19:54:30Z Xach: i had a hard time getting libtcod installed on my system 2014-12-15T19:54:33Z ack006: Xach: :-) 2014-12-15T19:54:49Z Ober joined #lisp 2014-12-15T19:54:55Z ack006: yeah, i'm finding out right now :-) 2014-12-15T19:58:22Z Vutral quit (Ping timeout: 244 seconds) 2014-12-15T19:59:57Z hiroakip joined #lisp 2014-12-15T20:00:06Z dim: Xach: I did that once with just uiop run-program facility, FWIW 2014-12-15T20:00:36Z dim: I remember having had trouble wanting to make it into a pipe or streaming source for pgloader, but as you can have pgloader read from stdin I didn't pursue it 2014-12-15T20:01:17Z przl quit (Ping timeout: 265 seconds) 2014-12-15T20:02:02Z EvW1 joined #lisp 2014-12-15T20:02:12Z EvW quit (Remote host closed the connection) 2014-12-15T20:04:13Z gingerale quit (Ping timeout: 272 seconds) 2014-12-15T20:04:37Z ack006: now here's the interesting part: iolib project has libfixposix: http://common-lisp.net/project/iolib/files/libfixposix/ 2014-12-15T20:04:55Z Xach: ack006: how so? 2014-12-15T20:04:55Z ack006: but apparently quicklisp doesn't 2014-12-15T20:05:11Z dim: you still need to have libfixposix.so at the right PATH 2014-12-15T20:05:12Z Xach: Quicklisp does not install C libraries. 2014-12-15T20:05:17Z dim: I'm not convinced it's QL job to do that 2014-12-15T20:05:24Z adlai: Xach: what's your policy on including moving targets in quicklisp? (re: my issue on github, to add scalpl) 2014-12-15T20:05:33Z Xach: I'd like it if somehow QL could make it easier, but I don't know how at the moment. 2014-12-15T20:05:49Z dim: adlai: see https://build.opensuse.org/package/show/home:sionescu/libfixposix 2014-12-15T20:05:57Z adlai: me? 2014-12-15T20:05:59Z dim: well sorry, ack006, see https://build.opensuse.org/package/show/home:sionescu/libfixposix 2014-12-15T20:06:08Z Xach: adlai: I add projects if they are portable (work on sbcl and at least one other lisp), if they are licensed so i can redistribute them, and if someone asks. 2014-12-15T20:06:14Z ack006: i've seen other systems build c files during loading, but i'm not sure if they were libraries 2014-12-15T20:06:20Z Xach: adlai: i don't judge quality or propriety, usually. 2014-12-15T20:06:48Z Xach: ack006: some projects do compile C code. they do that as part of their build via ASDF. iolib doesn't work like that, though. 2014-12-15T20:06:50Z adlai: Xach: doing (ql:quickload :scalpl) would fetch a snapshot, not the latest master commit, right? 2014-12-15T20:07:06Z ack006: Xach: ah, i see... 2014-12-15T20:07:25Z Xach: adlai: It depends on how it is added to Quicklisp. I can take snapshots of a git repo, or track a "stable" branch, fetch a release tarball, or a number of other things. 2014-12-15T20:07:41Z Xach: adlai: for git, it is a monthly snapshot, not the latest straight from git 2014-12-15T20:08:16Z adlai: hm, maybe I should wait a while for this 2014-12-15T20:08:34Z adlai: (things still change more frequently) 2014-12-15T20:08:43Z Bicyclidine joined #lisp 2014-12-15T20:09:02Z foom: I think I've seen someone use asdf to invoke a C compiler to build a thing before, haven't I? (maybe I was imagining it) 2014-12-15T20:09:36Z Xach: foom: yes, that happens 2014-12-15T20:09:51Z foom: If that happens, presumably quicklisp will do that too. 2014-12-15T20:09:54Z Xach: that is not what iolib does, though. 2014-12-15T20:10:05Z foom: So the issue is just iolib doesn't have an asdf-based build system for libfixposix? 2014-12-15T20:10:08Z adlai had a quicklisp installation fail because "cc" was not installed on the system 2014-12-15T20:10:10Z ack006: Xach: osicat compiled some c files when i loaded it using quicklisp 2014-12-15T20:10:10Z dim: well yes iolib does that *too* 2014-12-15T20:10:27Z dim: installing iolib, IIRC, requires building C code 2014-12-15T20:10:36Z dim: I had problem where my CC was using ccache 2014-12-15T20:10:43Z ack006: actually osicat-posix did the c compiling 2014-12-15T20:10:44Z Bicyclidine: wasn't that moved into libfixposix 2014-12-15T20:11:01Z dim: there's still some C compiling for the iolib parts 2014-12-15T20:11:16Z dim: can't remember what/why, I switched to uiop 2014-12-15T20:11:18Z foom: I'm not sure why libfixposix is separate from iolib, I can't see why anyone would ever use it other than because iolib requires it. 2014-12-15T20:11:35Z ack006: foom: exactly. 2014-12-15T20:11:42Z dim: uiop documentation is bad, and it's hard to follow the source code because of the with-upgradability macros everywhere, but at least it's easy to have that anywhere 2014-12-15T20:12:17Z Xach: the food is bad, and such small portions too! 2014-12-15T20:12:18Z dim: fe[nl]ix is the author of both libfixposix and iolib, maybe he will spot the conversation and have something to say to that 2014-12-15T20:12:28Z ack006: foom: the iolib project on common-lisp has the files, but they're not used by quicklisp 2014-12-15T20:13:17Z Vutral joined #lisp 2014-12-15T20:13:22Z dlowe: he managed to get libfixposix into debian, though, so if you're using that, at least it's an apt-get away 2014-12-15T20:13:50Z Xach: That is because of the design of Quicklisp and the design of iolib. Quicklisp includes some stuff that requires shared libraries to be installed somehow (quicklisp doesn't do it) before building, and iolib is such a library. 2014-12-15T20:13:57Z ndrei joined #lisp 2014-12-15T20:14:17Z Xach: cl-ncurses requires ncurses be installed, for example. 2014-12-15T20:14:31Z ack006: Xach: ah i see. 2014-12-15T20:14:59Z Xach: i think there are some database libraries that are in the same boat, maybe for mysql or sqlite or both 2014-12-15T20:15:22Z foom: There's a difference between "requires a shared library that is generally available", which it makes sense for quicklisp to not be bothered with, and "requires a shared library that's basically part of the lisp library you want to use". 2014-12-15T20:15:33Z foom: It could be sensible for someone to figure out a solution for the latter. 2014-12-15T20:15:39Z dim: cl-mysql and cl-sqlite and mssql systems are like that Xach, yes 2014-12-15T20:15:43Z ack006: i'm using arch linux, and libfixposix is in the AUR. i'll get it from there. 2014-12-15T20:15:58Z dim: which is a good reason to prefer qmynd over cl-mysql 2014-12-15T20:16:14Z dim: maybe artisan-mysql someday ;-) 2014-12-15T20:17:00Z foom: Since, on unix systems, you can often reasonably depend on a working C compiler. If you care about windows, of course that's right out the window. 2014-12-15T20:17:55Z Xach: It's a deliberate design choice of iolib that I don't understand very well. 2014-12-15T20:17:59Z dim: some ddl are easy to have on windows, and if you place them in the same location as the .exe file you're good to go 2014-12-15T20:18:16Z Xach: I understand the implications but not the motivation. 2014-12-15T20:18:17Z Jesin quit (Quit: Leaving) 2014-12-15T20:18:37Z dim: but freetds doesn't seem to be in the list of easy to have DDLs, so mssql is out of luck to run easily on windows, which is kind of ... fun 2014-12-15T20:19:34Z dim: simple-odbc would be another example of dynamic loaded libs here 2014-12-15T20:19:42Z Xach: get art obrezan working on a native protocol implementation 2014-12-15T20:19:52Z dim: plain-odbc I mean 2014-12-15T20:20:14Z dim: native protocol for MS SQL, you need to be quite... in need for it 2014-12-15T20:20:31Z dim: I'm quite thankful freetds exists and exposed in lisp at all 2014-12-15T20:20:48Z dim: using is has been quite easy, even if I should send some patches to it now 2014-12-15T20:21:05Z Xach: the tds protocol is documented 2014-12-15T20:21:13Z dim: https://github.com/dimitri/pgloader/blob/master/src/monkey/mssql.lisp not that much monkey patching 2014-12-15T20:21:41Z Xach: I'm always happy to volunteer people for work 2014-12-15T20:21:50Z dim: Xach: I've been working on the MySQL protocol for qmynd and I can tell you I'm not willingly doing such things again 2014-12-15T20:21:54Z dim: hehe 2014-12-15T20:22:18Z dim: given the right paycheck I'd "volunteer" 2014-12-15T20:22:20Z Xach: mssql protocol is just one letter different 2014-12-15T20:22:30Z dim: hehe 2014-12-15T20:23:53Z BitPuffin joined #lisp 2014-12-15T20:25:41Z jamesf joined #lisp 2014-12-15T20:25:49Z Bicyclidine quit (Quit: Lost terminal) 2014-12-15T20:26:38Z ack006: wow, found this: http://lisp-search.acceleration.net/ 2014-12-15T20:26:50Z ack006: guess it'd be nice if this was linked from the quicklisp site 2014-12-15T20:27:22Z Bicyclidine joined #lisp 2014-12-15T20:27:37Z Xach: It is not kept up to date. quickdocs.org (linked from quicklisp.org) is 2014-12-15T20:27:47Z ggole quit 2014-12-15T20:27:48Z ejbs joined #lisp 2014-12-15T20:27:51Z ack006: Xach: ah :-) 2014-12-15T20:30:05Z copec quit (*.net *.split) 2014-12-15T20:30:05Z fmu quit (*.net *.split) 2014-12-15T20:30:05Z GuilOooo quit (*.net *.split) 2014-12-15T20:30:05Z pok_ quit (*.net *.split) 2014-12-15T20:30:05Z H4ns quit (*.net *.split) 2014-12-15T20:30:05Z jasom quit (*.net *.split) 2014-12-15T20:30:05Z p4nd4m4n_ quit (*.net *.split) 2014-12-15T20:30:05Z enn quit (*.net *.split) 2014-12-15T20:30:06Z luis quit (*.net *.split) 2014-12-15T20:30:06Z s_e quit (*.net *.split) 2014-12-15T20:30:06Z dan64 quit (*.net *.split) 2014-12-15T20:30:06Z paritybit quit (*.net *.split) 2014-12-15T20:30:06Z Mandus quit (*.net *.split) 2014-12-15T20:30:06Z roo quit (*.net *.split) 2014-12-15T20:30:06Z dim quit (*.net *.split) 2014-12-15T20:30:55Z ack006: sadly, quickdocs appears to be in the docks for maintenance atm: http://quickdocs.org/iolib/api 2014-12-15T20:31:22Z copec joined #lisp 2014-12-15T20:31:22Z fmu joined #lisp 2014-12-15T20:31:22Z paritybit joined #lisp 2014-12-15T20:31:22Z GuilOooo joined #lisp 2014-12-15T20:31:22Z pok_ joined #lisp 2014-12-15T20:31:22Z H4ns joined #lisp 2014-12-15T20:31:22Z roo joined #lisp 2014-12-15T20:31:22Z jasom joined #lisp 2014-12-15T20:31:22Z p4nd4m4n_ joined #lisp 2014-12-15T20:31:22Z enn joined #lisp 2014-12-15T20:31:22Z luis joined #lisp 2014-12-15T20:31:22Z s_e joined #lisp 2014-12-15T20:31:22Z dan64 joined #lisp 2014-12-15T20:31:22Z Mandus joined #lisp 2014-12-15T20:31:22Z dim joined #lisp 2014-12-15T20:31:23Z ack006: the other site had the docs i needed, so best to keep both :-) 2014-12-15T20:32:12Z roo quit (Max SendQ exceeded) 2014-12-15T20:32:21Z roo joined #lisp 2014-12-15T20:32:57Z sol__ quit (Ping timeout: 240 seconds) 2014-12-15T20:34:05Z foom: Hah. quickdocs' error page claims to be in japanese. 2014-12-15T20:34:21Z ack006: ^_^ 2014-12-15T20:34:27Z foom: 2014-12-15T20:35:09Z Xach: maybe it's meant to indicate "yes, lang!" in german 2014-12-15T20:35:41Z ack006: © 2013 Eitarow Fukamachi, makes sense 2014-12-15T20:36:04Z tesuji quit (Ping timeout: 245 seconds) 2014-12-15T20:36:10Z foom: Except that it's actually english. But yea, other than that makes sense. :) 2014-12-15T20:36:38Z ack006: http://8arrow.org/ 2014-12-15T20:36:53Z adlai: Grue`: http://paste.lisp.org/+33NH/1 should work on any implementation 2014-12-15T20:37:53Z Davidbrcz joined #lisp 2014-12-15T20:38:30Z nyef: Xach: Any luck on the verbosity stuff? 2014-12-15T20:40:36Z Bicyclidine quit (Ping timeout: 260 seconds) 2014-12-15T20:40:59Z Jesin joined #lisp 2014-12-15T20:41:10Z Xach: nyef: no. 2014-12-15T20:41:47Z Xach: nyef: i have had a few ideas about making every quicklisp system temporarily invisible, then handling the missing-component error. but then i'm not sure how to load that component quietly without potentially loading other non-quicklisp components quietly. 2014-12-15T20:41:59Z Xach: and i thought about making it return the *wrong* pathname, but that won't work either 2014-12-15T20:42:06Z Xach: ...handling that error some clever way 2014-12-15T20:42:39Z nyef: ... Make ALL of the systems temporarily invisible? 2014-12-15T20:43:14Z Vutral quit (Ping timeout: 245 seconds) 2014-12-15T20:43:24Z nyef: At any rate, it does sound like a pain of a problem. 2014-12-15T20:43:24Z oleo__ quit (Quit: Verlassend) 2014-12-15T20:43:25Z Xach: hmm 2014-12-15T20:43:46Z thawes quit (Remote host closed the connection) 2014-12-15T20:44:25Z przl joined #lisp 2014-12-15T20:44:29Z logand joined #lisp 2014-12-15T20:45:04Z Xach: making them all invisible has a devilish charm 2014-12-15T20:46:55Z logand quit (Read error: Connection reset by peer) 2014-12-15T20:47:07Z logand joined #lisp 2014-12-15T20:49:58Z przl quit (Ping timeout: 256 seconds) 2014-12-15T20:52:10Z oleo joined #lisp 2014-12-15T20:52:43Z towodo quit (Quit: towodo) 2014-12-15T20:53:51Z tesuji joined #lisp 2014-12-15T20:54:11Z _loic_ quit (Remote host closed the connection) 2014-12-15T20:54:23Z eni_ joined #lisp 2014-12-15T20:54:52Z innertracks quit (Quit: innertracks) 2014-12-15T20:55:20Z Vutral joined #lisp 2014-12-15T20:55:23Z karswell quit (Remote host closed the connection) 2014-12-15T20:56:08Z fe[nl]ix: somebody summoned me 2014-12-15T20:56:14Z karswell joined #lisp 2014-12-15T20:57:21Z fe[nl]ix: Xach, ack006: libfixposix is separate because it needs autoconf & automake 2014-12-15T20:57:44Z Xach: foom: there you go. 2014-12-15T20:57:51Z fe[nl]ix: putting that into an ASDF extension would not be a good idea 2014-12-15T20:57:55Z ack006: fe[nl]ix: ah, i see. thanks for looking into it :-) 2014-12-15T20:58:11Z kristof quit (Ping timeout: 250 seconds) 2014-12-15T20:58:15Z fe[nl]ix: foom: and I would use libfixposix outside iolib 2014-12-15T20:58:37Z fe[nl]ix: it's IMO the best POSIX compat layer out there 2014-12-15T20:58:54Z fe[nl]ix: and definitely more useable than libbsd or gnulib 2014-12-15T21:00:35Z loz1 quit (Ping timeout: 272 seconds) 2014-12-15T21:00:36Z srcerer_ joined #lisp 2014-12-15T21:00:39Z srcerer quit (Ping timeout: 245 seconds) 2014-12-15T21:00:39Z kanru quit (Ping timeout: 245 seconds) 2014-12-15T21:00:42Z foom: Could have an asdf extension which just shells out to run autoconf, automake, make? 2014-12-15T21:00:58Z foom: Only difficult part seems where to put and then how to find the resulting .so. 2014-12-15T21:01:04Z joast quit (Ping timeout: 245 seconds) 2014-12-15T21:01:15Z Puffin joined #lisp 2014-12-15T21:01:30Z jamesf quit (Write error: Broken pipe) 2014-12-15T21:01:47Z fe[nl]ix: I should probably advertise it more 2014-12-15T21:01:52Z nyef: And how do you tie that into the practice of using S-L-A-D :EXECUTABLE T and shipping the resulting binary off to another computer? 2014-12-15T21:01:53Z foom: fe[nl]ix: a lot of the stuff in it looked to me like wrappers not because of compat/portability but because it's hard to use macros from lisp. 2014-12-15T21:01:54Z BitPuffin quit (Ping timeout: 245 seconds) 2014-12-15T21:01:54Z alexherbo2 quit (Ping timeout: 245 seconds) 2014-12-15T21:01:54Z clog quit (Ping timeout: 245 seconds) 2014-12-15T21:01:54Z Adeon quit (Ping timeout: 245 seconds) 2014-12-15T21:01:54Z njsg_ quit (Ping timeout: 245 seconds) 2014-12-15T21:02:19Z mdcox quit (Ping timeout: 245 seconds) 2014-12-15T21:02:19Z Guest57770 quit (Ping timeout: 245 seconds) 2014-12-15T21:02:19Z Oddity quit (Ping timeout: 245 seconds) 2014-12-15T21:02:19Z shifty778 quit (Ping timeout: 245 seconds) 2014-12-15T21:02:20Z finnrobi quit (Ping timeout: 245 seconds) 2014-12-15T21:02:20Z p_l|backup quit (Ping timeout: 245 seconds) 2014-12-15T21:02:44Z Kanae quit (Ping timeout: 245 seconds) 2014-12-15T21:02:44Z ananna quit (Ping timeout: 245 seconds) 2014-12-15T21:02:44Z bcoburn quit (Ping timeout: 245 seconds) 2014-12-15T21:02:53Z foom: Just from a first glance. But I'd not have considered that as something I'd ever want except from another language's FFI. 2014-12-15T21:02:55Z anannie joined #lisp 2014-12-15T21:03:12Z njsg_ joined #lisp 2014-12-15T21:03:34Z Bike quit (Ping timeout: 245 seconds) 2014-12-15T21:03:37Z foom: If my impression was wrong, sorry, I didn't spend much time looking at it. 2014-12-15T21:03:58Z Adeon joined #lisp 2014-12-15T21:04:12Z p_l|backup joined #lisp 2014-12-15T21:04:14Z mdcox joined #lisp 2014-12-15T21:04:21Z finnrobi joined #lisp 2014-12-15T21:04:22Z fe[nl]ix: foom: it started as macro wrapper, but then it evolved 2014-12-15T21:04:38Z Bike joined #lisp 2014-12-15T21:04:51Z fridim_ quit (Ping timeout: 258 seconds) 2014-12-15T21:05:13Z fe[nl]ix: I wasn't satisfied with the compatibility and availability of posix_spawn so I wrote something better(IMO) 2014-12-15T21:06:00Z fe[nl]ix: the wrappers hide the possible lack of O_CLOEXEC and issue a fcntl underneath where necessary 2014-12-15T21:06:59Z patojo quit (Quit: Leaving...) 2014-12-15T21:06:59Z fe[nl]ix: I moved almost all OS-dependent code from iolib to autoconf-land where it's easier to do it 2014-12-15T21:08:41Z JuanDaugherty quit (Remote host closed the connection) 2014-12-15T21:09:32Z rick-monster quit (Ping timeout: 260 seconds) 2014-12-15T21:09:58Z akkad: is there a freeware clone of capi? 2014-12-15T21:10:04Z Xach: akkad: no. 2014-12-15T21:10:07Z jtza8 joined #lisp 2014-12-15T21:10:49Z akkad: can we unban ams? 2014-12-15T21:10:55Z Xach: No. 2014-12-15T21:11:20Z Ober: why not? 2014-12-15T21:11:41Z akkad: ok 2014-12-15T21:11:53Z Xach: Because I don't think it's worth it. 2014-12-15T21:12:14Z sdemarre joined #lisp 2014-12-15T21:12:29Z pgomes quit (Ping timeout: 264 seconds) 2014-12-15T21:13:36Z jtza8 quit (Remote host closed the connection) 2014-12-15T21:15:26Z shifty778 joined #lisp 2014-12-15T21:15:30Z alexherbo2 joined #lisp 2014-12-15T21:16:06Z bcoburn joined #lisp 2014-12-15T21:16:28Z Kanae joined #lisp 2014-12-15T21:17:29Z Jesin quit (Quit: Leaving) 2014-12-15T21:18:29Z munge` quit (Ping timeout: 264 seconds) 2014-12-15T21:19:40Z Jesin joined #lisp 2014-12-15T21:20:00Z hiroakip quit (Ping timeout: 244 seconds) 2014-12-15T21:20:17Z tesuji quit (Ping timeout: 264 seconds) 2014-12-15T21:20:23Z angavrilov quit (Remote host closed the connection) 2014-12-15T21:21:55Z matija` quit (Read error: Connection reset by peer) 2014-12-15T21:22:44Z wasamasa: who is ams? 2014-12-15T21:24:49Z towodo joined #lisp 2014-12-15T21:24:56Z pnpuff quit (Read error: Connection reset by peer) 2014-12-15T21:25:04Z pnpuff joined #lisp 2014-12-15T21:25:13Z pnpuff quit (Changing host) 2014-12-15T21:25:13Z pnpuff joined #lisp 2014-12-15T21:25:26Z Xach: Alfred M. Szmidt, who, when he was here, frequently started arguments and insulted various people. The noise became bannable. 2014-12-15T21:25:43Z Xach: All the way back in November of 2012, by the logs. 2014-12-15T21:26:47Z wasamasa: thanks 2014-12-15T21:30:17Z nikki93 joined #lisp 2014-12-15T21:31:40Z ndrei quit (Ping timeout: 265 seconds) 2014-12-15T21:33:09Z nikki93: any of you guys tried the nimrod language? 2014-12-15T21:33:20Z ejbs quit (Ping timeout: 260 seconds) 2014-12-15T21:33:37Z pgomes joined #lisp 2014-12-15T21:35:25Z Longlius quit (Ping timeout: 272 seconds) 2014-12-15T21:35:46Z genii is now known as ChristmasPresent 2014-12-15T21:37:18Z Shinmera: Even if we did it wouldn't be on topic. 2014-12-15T21:38:06Z Oddity joined #lisp 2014-12-15T21:38:17Z Bicyclidine joined #lisp 2014-12-15T21:38:29Z ChristmasPresent is now known as genii 2014-12-15T21:38:50Z akkad: yeah: we are here to 1. Answer SICP stuff, and 2. Answer: "Can lisp do this or that?" 2014-12-15T21:39:51Z dlowe: SICP is in Scheme. :p 2014-12-15T21:40:05Z dlowe: There's ##lisp for discussing any language in the lisp family 2014-12-15T21:40:49Z Bicyclidine: i believe that is the joke 2014-12-15T21:41:10Z dlowe: It can be difficult to tell. 2014-12-15T21:45:20Z octophore joined #lisp 2014-12-15T21:45:38Z eudoxia joined #lisp 2014-12-15T21:45:51Z pgomes quit (Ping timeout: 250 seconds) 2014-12-15T21:46:38Z joast joined #lisp 2014-12-15T21:50:36Z gravicappa quit (Remote host closed the connection) 2014-12-15T21:51:29Z eni_ quit (Remote host closed the connection) 2014-12-15T21:53:53Z mrSpec quit (Quit: mrSpec) 2014-12-15T21:53:56Z gabriel_laddel joined #lisp 2014-12-15T21:54:07Z Shinmera quit (Quit: しつれいしなければならないんです。) 2014-12-15T21:55:12Z gabriel_laddel quit (Changing host) 2014-12-15T21:55:13Z gabriel_laddel joined #lisp 2014-12-15T21:55:31Z genii is now known as ChristmasPresent 2014-12-15T21:56:15Z ChristmasPresent is now known as genii 2014-12-15T21:56:37Z eschulte quit (Quit: leaving) 2014-12-15T21:57:41Z hiroakip joined #lisp 2014-12-15T21:58:17Z matko joined #lisp 2014-12-15T22:00:22Z fragamus quit (Quit: My iMac has gone to sleep. ZZZzzz…) 2014-12-15T22:01:46Z sdemarre quit (Ping timeout: 255 seconds) 2014-12-15T22:04:06Z pnpuff quit (Quit: Lost terminal) 2014-12-15T22:04:34Z clog joined #lisp 2014-12-15T22:04:39Z z0d quit (*.net *.split) 2014-12-15T22:05:16Z malice_ joined #lisp 2014-12-15T22:06:29Z dim: FWIW ams has been a pita on #emacs too and I'm ok with him being banned both from #emacs and here 2014-12-15T22:08:23Z eudoxia_ joined #lisp 2014-12-15T22:08:48Z __main__ quit (Ping timeout: 264 seconds) 2014-12-15T22:09:51Z nikki93 quit (Ping timeout: 265 seconds) 2014-12-15T22:11:05Z genii is now known as ChristmasPresent 2014-12-15T22:11:37Z ChristmasPresent is now known as genii 2014-12-15T22:11:48Z eudoxia quit (Ping timeout: 264 seconds) 2014-12-15T22:12:15Z nikki93 joined #lisp 2014-12-15T22:15:34Z octophore_ joined #lisp 2014-12-15T22:15:35Z octophore_ quit (Excess Flood) 2014-12-15T22:16:02Z octophore_ joined #lisp 2014-12-15T22:16:42Z milosn: maw maw 2014-12-15T22:16:43Z milosn: :D 2014-12-15T22:16:52Z octophore_ quit (Read error: Connection reset by peer) 2014-12-15T22:17:47Z bgs100 joined #lisp 2014-12-15T22:18:29Z octophore quit (Ping timeout: 264 seconds) 2014-12-15T22:19:13Z octophore joined #lisp 2014-12-15T22:21:11Z eudoxia_ quit (Quit: Leaving) 2014-12-15T22:21:33Z octophore_ joined #lisp 2014-12-15T22:21:34Z octophore_ quit (Excess Flood) 2014-12-15T22:21:47Z z0d joined #lisp 2014-12-15T22:21:51Z nell quit (Quit: WeeChat 1.1-dev) 2014-12-15T22:22:12Z JuanDaugherty joined #lisp 2014-12-15T22:23:07Z Longlius joined #lisp 2014-12-15T22:23:53Z octophore quit (Ping timeout: 264 seconds) 2014-12-15T22:25:46Z admg quit (Quit: Bye) 2014-12-15T22:28:22Z octophore joined #lisp 2014-12-15T22:29:28Z MoALTz quit (Quit: Leaving) 2014-12-15T22:31:01Z mishoo quit (Ping timeout: 255 seconds) 2014-12-15T22:34:57Z DeadTrickster: sbcl stopped all networking with Unexpected errno 24 (SB-BSD-SOCKETS:GET-PROTOCOL-BY-NAME "tcp") 2014-12-15T22:35:00Z shka quit (Quit: WeeChat 1.0.1) 2014-12-15T22:35:04Z ack006 quit (Quit: Leaving) 2014-12-15T22:35:26Z octophore_ joined #lisp 2014-12-15T22:35:29Z octophore quit (Read error: Connection reset by peer) 2014-12-15T22:37:39Z drmeister: What is the most useful key combo for evaluating stuff in SLIME? M-C-x? C-x-C-e? 2014-12-15T22:37:59Z adlai uses C-cC-c and M-x force-compile-system 2014-12-15T22:38:11Z _death: I usually use C-M-x 2014-12-15T22:38:14Z adlai: er that's ,force-compile-system 2014-12-15T22:38:27Z Sgeo quit (Quit: No Ping reply in 180 seconds.) 2014-12-15T22:38:27Z drmeister: Is C-cC-c supposed to print a result? 2014-12-15T22:38:27Z _death: sometimes C-c C-l 2014-12-15T22:38:50Z adlai: isn't C-cC-l the one that leaves implementation-specific fasls? 2014-12-15T22:38:57Z Sgeo joined #lisp 2014-12-15T22:39:01Z adlai: since it usually doesn't work through asdf 2014-12-15T22:39:05Z Bicyclidine: DeadTrickster: ran out of fds? 2014-12-15T22:39:18Z DeadTrickster: yep 2014-12-15T22:39:29Z DeadTrickster: but it's just drakma in a loop 2014-12-15T22:39:39Z mood: drmeister: C-c C-c doesn't print anything (unless there are warnings) for me 2014-12-15T22:39:48Z _death: adlai: not everything I do has a system 2014-12-15T22:40:06Z adlai: sounds like you need a better ~drumroll~ system 2014-12-15T22:40:19Z drmeister: Ok, C-c C-c generates compiler messages but it doesn't generate output. 2014-12-15T22:40:21Z _death: adlai: also, it loads.. C-c C-k compiles 2014-12-15T22:41:01Z nydel joined #lisp 2014-12-15T22:42:09Z isis__ quit (Ping timeout: 244 seconds) 2014-12-15T22:42:12Z octophore joined #lisp 2014-12-15T22:42:39Z _death: in the scratch buffer C-j is handy 2014-12-15T22:42:47Z dim: FWIW I usually ql:quickload my stuff manually once then C-M-x away 2014-12-15T22:43:05Z dim: and sometimes C-c C-l to validate lots of changes in a single file 2014-12-15T22:43:30Z drmeister: M-C-x evaluates stuff just fine. Why would you use C-c C-c to compile a DEFUN and not M-C-x? 2014-12-15T22:43:54Z _death: drmeister: I guess because slime then highlights errors/warnings 2014-12-15T22:44:13Z mood: drmeister: I believe I got into using it because C-c C-c highlights the part being compiled, or something 2014-12-15T22:44:21Z octophore_ quit (Ping timeout: 250 seconds) 2014-12-15T22:44:31Z nikki93 quit (Ping timeout: 258 seconds) 2014-12-15T22:44:32Z drmeister: It highlights errors - does it? That's interesting. I'll have to figure out how to support that. 2014-12-15T22:44:34Z nikki93_ joined #lisp 2014-12-15T22:46:26Z drmeister: C-c C-c doesn't seem to work properly - must investigate. 2014-12-15T22:47:04Z octophore quit (Ping timeout: 265 seconds) 2014-12-15T22:47:15Z cmatei joined #lisp 2014-12-15T22:48:40Z nikki93_ quit (Remote host closed the connection) 2014-12-15T22:49:00Z cmatei quit (Remote host closed the connection) 2014-12-15T22:49:27Z LiamH quit (Quit: Leaving.) 2014-12-15T22:49:30Z hiroakip quit (Ping timeout: 258 seconds) 2014-12-15T22:52:48Z towodo quit (Quit: towodo) 2014-12-15T22:55:20Z innertracks joined #lisp 2014-12-15T22:55:44Z drmeister: M-C-x works just fine. 2014-12-15T22:55:46Z hazz quit (Ping timeout: 265 seconds) 2014-12-15T22:56:07Z drmeister: I have the beginnings of a SLIME interface. 2014-12-15T22:56:11Z Qudit314159 quit (Remote host closed the connection) 2014-12-15T22:57:02Z cmatei joined #lisp 2014-12-15T23:00:49Z kristof joined #lisp 2014-12-15T23:01:24Z defaultxr joined #lisp 2014-12-15T23:04:23Z CrazyM4n joined #lisp 2014-12-15T23:04:36Z junxit`` joined #lisp 2014-12-15T23:04:52Z Davidbrcz quit (Ping timeout: 245 seconds) 2014-12-15T23:05:38Z CrazyM4n: So I've decided I wanted to learn a lisp dialect - just for fun 2014-12-15T23:05:51Z CrazyM4n: What's the difference between CLisp and Scheme? 2014-12-15T23:06:14Z Bicyclidine: they're different languages 2014-12-15T23:06:31Z Bicyclidine: so, lots of stuff. 2014-12-15T23:06:59Z CrazyM4n: Okay, but they have strikingly similar syntaxes 2014-12-15T23:07:04Z kristof: They're not extraordinarily different. The same concepts are there. The biggest differences lie in the object system, basic types, and what standard functions are provided 2014-12-15T23:07:21Z kristof: Oh, and Scheme has continuations, CL does not. 2014-12-15T23:07:25Z CrazyM4n: Where can I look through the standard libraries? 2014-12-15T23:07:30Z Bicyclidine: syntax isn't what you should look at in a language 2014-12-15T23:07:37Z hiroakip joined #lisp 2014-12-15T23:07:40Z junxit` quit (Ping timeout: 256 seconds) 2014-12-15T23:07:56Z Xach: CrazyM4n: common lisp is specified by http://l1sp.org/cl/ 2014-12-15T23:07:57Z CrazyM4n: That's why I'm asking, Bicyclidine 2014-12-15T23:08:12Z innertracks quit (Remote host closed the connection) 2014-12-15T23:08:12Z kristof: CrazyM4n: The hyperspec™ has all the functions listed. ANSI Common Lisp, by Paul Graham, is a good walkthrough of Common Lisp. 2014-12-15T23:08:24Z Xach: It is a bad walkthrough of Common Lisp. 2014-12-15T23:08:27Z kristof: Oh :( 2014-12-15T23:08:29Z Bicyclidine: for scheme you want the r7rs. #scheme would know better of course 2014-12-15T23:08:36Z Xach: If you read it, you may think that CL and Scheme are more similar than they really are. 2014-12-15T23:09:04Z Xach: Practical Common Lisp covers more CL ground. 2014-12-15T23:09:07Z kristof: I meant it more as a "here are all the features of Common Lisp" book, not a "here's how to idiomatically use Common Lisp" 2014-12-15T23:09:41Z CrazyM4n: Which one is used more? I'd assume Common Lisp is 2014-12-15T23:09:51Z Sgeo quit (Quit: No Ping reply in 180 seconds.) 2014-12-15T23:09:58Z CrazyM4n: And whichever one is used more would probably be the one that I'd like to start with 2014-12-15T23:10:07Z Xach: The problem, for me, is that it's more like "Here is some depth on the features of Common Lisp I like, and here is a tiny bit about the parts I hate, along with discouragement against using them." 2014-12-15T23:10:19Z kristof: Xach: Okay, I would agree with that sentiment. 2014-12-15T23:10:20Z Sgeo joined #lisp 2014-12-15T23:10:39Z kristof: CrazyM4n: I think both Scheme and Common Lisp are equally unpopular. :) 2014-12-15T23:10:40Z Xach: I think it's got good ideas if you can put them in context. But it's hard to do that if it's the first book you read. 2014-12-15T23:11:17Z CrazyM4n: :P 2014-12-15T23:11:22Z hazz joined #lisp 2014-12-15T23:11:50Z kristof: CrazyM4n: This is a predominantly common lisp channel, so most of us vastly prefer CL to Scheme. 2014-12-15T23:12:13Z CrazyM4n: kristof: I'm not worried about it being unpopular, I learned J for pete's sake :) 2014-12-15T23:12:25Z CrazyM4n: And I understand, but it's nice to know what I'm getting into 2014-12-15T23:12:35Z kristof: Well, what were you looking for in particular? 2014-12-15T23:13:30Z CrazyM4n: Well, I know haskell to an extent, and I wanted to learn another functional language, and Lisp seems rather nice 2014-12-15T23:13:36Z goldenlight joined #lisp 2014-12-15T23:13:44Z CrazyM4n: Lisp isn't pure, correct? 2014-12-15T23:13:48Z kristof: Nope 2014-12-15T23:13:55Z CrazyM4n: It is pure? 2014-12-15T23:14:00Z kristof: It is not 2014-12-15T23:14:08Z Bicyclidine: it has side effects. 2014-12-15T23:14:24Z CrazyM4n: Okay, that's what I wanted 2014-12-15T23:14:29Z CrazyM4n: Is it lazy? 2014-12-15T23:14:36Z mood: Nope 2014-12-15T23:14:36Z Bicyclidine: nope 2014-12-15T23:14:42Z CrazyM4n: Hm 2014-12-15T23:15:05Z kristof: CrazyM4n: When you talk about impure functional programming languages, that really only requires 3 things: the ability to accept function pointers, the ability to return function pointers, and the ability to construct closures 2014-12-15T23:15:20Z kristof: That's doesn't mean spectacularly much. :) 2014-12-15T23:15:38Z Bicyclidine: not much point in putting "pointers" in that 2014-12-15T23:15:51Z hazz quit (Max SendQ exceeded) 2014-12-15T23:15:51Z kristof: I think in terms of pointers, sorry 2014-12-15T23:16:07Z Xach: common lisp style does not especially emphasize functional programming over other techniques, either. 2014-12-15T23:16:13Z CrazyM4n: Closures? 2014-12-15T23:16:31Z Bicyclidine: functions retaining access to the lexical environment they're defined in. 2014-12-15T23:16:44Z cpt_nemo quit (Ping timeout: 256 seconds) 2014-12-15T23:16:51Z hazz joined #lisp 2014-12-15T23:16:59Z CrazyM4n: Ah 2014-12-15T23:17:16Z kristof: There's a good chapter on closures in Let Over Lambda. 2014-12-15T23:17:36Z innertracks joined #lisp 2014-12-15T23:17:49Z antoszka: A good part of Let Over Lambda is actually about/around closures. 2014-12-15T23:18:08Z antoszka: As the title suggests, it's pretty much the central concept ;) 2014-12-15T23:18:21Z CrazyM4n: Since it's impure, I assume there's nothing like Monads or anything 2014-12-15T23:18:35Z CrazyM4n: Is it strict? 2014-12-15T23:18:45Z kristof: By not being lazy, it's strict. 2014-12-15T23:18:48Z Bicyclidine: it is strict, but there are restarts 2014-12-15T23:19:00Z Bicyclidine: and there are monads, drewc wrote a monadic parser combinator library 2014-12-15T23:19:07Z CrazyM4n: Er, not strict 2014-12-15T23:19:25Z CrazyM4n: Sorry, I'm tired. I meant to ask about if it has a strict type system 2014-12-15T23:19:32Z CrazyM4n: Or if there is a type system at all 2014-12-15T23:19:35Z malice_ is now known as malice 2014-12-15T23:19:42Z Bicyclidine: actually i guess macros could be non-strict, in some way 2014-12-15T23:19:47Z kristof: CrazyM4n: Common Lisp is a strongly, dynamically typed language. 2014-12-15T23:19:55Z kristof: CrazyM4n: You can't lie about types. But they're late-bound. 2014-12-15T23:19:59Z Bicyclidine: with optional annotation types 2014-12-15T23:20:50Z cpt_nemo joined #lisp 2014-12-15T23:21:24Z CrazyM4n: Can you compile lisp or is it interpreted? 2014-12-15T23:21:33Z kristof: CrazyM4n: My favorite parts of Common Lisp include its object system, its condition system, and its macro facilities :) 2014-12-15T23:21:37Z corni quit (Ping timeout: 260 seconds) 2014-12-15T23:21:39Z Bicyclidine: it's usually compiled 2014-12-15T23:21:41Z Bicyclidine: clhs compile 2014-12-15T23:21:41Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_cmp.htm 2014-12-15T23:22:40Z CrazyM4n: How fast is it? Compared to python, maybe 2014-12-15T23:22:58Z kristof: Much faster in naive comparisons. That depends, though 2014-12-15T23:23:21Z Bicyclidine: most implementations much faster than cpython, but cpython is slow so that's not saying much 2014-12-15T23:23:28Z kristof: Python, by itself, is single threaded and interpreted. Also, the fact that everything is boxed in Python means a lot of potentially unnecessary dereferences 2014-12-15T23:23:40Z Bicyclidine: sbcl and ccl target native code, clisp has a bytecode interpreter, abcl does jvm bytecode. bla bla bla 2014-12-15T23:24:50Z kristof: CrazyM4n: However, stuff that needs to be VERY fast in Python is usually written in C. 2014-12-15T23:25:18Z kristof: CrazyM4n: SBCL and CCL are native code compilers like Bicyclidine mentioned, which produce very optimized code. Also, those two compilers support multithreading. 2014-12-15T23:27:10Z CrazyM4n: I almost don't want to ask to avoid a flame war, but what about Racket? Looking at the code examples, it looks quite nice and much more updated than CL or Scheme 2014-12-15T23:27:52Z kristof: Comparable to CL. 2014-12-15T23:28:00Z kristof: Excellent language :) 2014-12-15T23:28:01Z Bicyclidine: look, you can try more than one language. i don't want to sit here making up a pros/cons table for you, just check 'em out, it's all free anyway 2014-12-15T23:28:01Z Xach: CrazyM4n: this is a channel for people who like and prefer Common Lisp. The people who like and prefer other stuff chat about how great it is elsewhere. 2014-12-15T23:28:07Z logand quit (Ping timeout: 250 seconds) 2014-12-15T23:28:13Z kristof: ^ 2014-12-15T23:28:27Z antoszka: CrazyM4n: It's a nice language, but very different for being a Scheme. 2014-12-15T23:28:31Z CrazyM4n: I'm not asking about how great it is, I literally know nothing about lisp 2014-12-15T23:28:46Z CrazyM4n: Okay, maybe I'll look at it later then 2014-12-15T23:28:49Z Xach: CrazyM4n: Racket is not Common Lisp, so you should check somewhere other than #lisp for info. 2014-12-15T23:28:53Z Bicyclidine: lisp, scheme, and racket are all different languages. this channel is only for common lisp. 2014-12-15T23:29:22Z Bicyclidine: which is why i mentioned #scheme earlier; they would of course know more about scheme there 2014-12-15T23:29:25Z hitecnologys quit (Ping timeout: 250 seconds) 2014-12-15T23:29:28Z CrazyM4n: Okay, well what do you guys recommend to learn Common Lisp? 2014-12-15T23:29:42Z kristof: Practical Common Lisp 2014-12-15T23:29:42Z Xach: CrazyM4n: I really like Practical Common Lisp. It's free online, and you can buy it, too. 2014-12-15T23:29:43Z akkad: Uncommoners unwelcomed 2014-12-15T23:29:44Z akkad: Crazy Practical Common Lisp then probably PAIP 2014-12-15T23:29:57Z Xach: CrazyM4n: Paradigms of AI Programming is a good CL book, too. 2014-12-15T23:30:16Z kristof: CrazyM4n: It's also a good idea, after PCL, to just browse through the hyperspec and familiarize yourself with what's available to you 2014-12-15T23:30:17Z akkad: avoid PG :P 2014-12-15T23:30:19Z Xach: CrazyM4n: i was put off by the title, because I'm not really interested in AI topics, but it's actually a very good book on general CL concepts and techniques. 2014-12-15T23:30:25Z hitecnologys joined #lisp 2014-12-15T23:30:37Z kristof: And not a very good book on AI 2014-12-15T23:30:37Z akkad: there's an org-drill of the clhs 2014-12-15T23:30:50Z akkad: http://linbsd.org/clhs.org 2014-12-15T23:31:42Z CrazyM4n: I will look at all those, thanks 2014-12-15T23:33:08Z thawes joined #lisp 2014-12-15T23:33:33Z CrazyM4n: Practical Common Lisp looks pretty great 2014-12-15T23:34:01Z kristof: Yup! Now go forth and prosper! 2014-12-15T23:34:02Z antoszka: CrazyM4n: www.flownet.com/gat/packages.pdf ← this is another important thing to read once you start playing around in the REPL and strange things start biting you in the ass ;) 2014-12-15T23:34:11Z Colleen quit (Read error: Connection reset by peer) 2014-12-15T23:34:24Z CrazyM4n: Now, aren't there like 20 CL compilers? Which should I use on Ubuntu? 2014-12-15T23:34:27Z davazp joined #lisp 2014-12-15T23:35:11Z antoszka: CrazyM4n: sbcl 2014-12-15T23:35:11Z Bicyclidine: sbcl or ccl probably 2014-12-15T23:35:20Z Xach: CrazyM4n: SBCL and Clozure CL are both very good. 2014-12-15T23:35:21Z antoszka: and/or ccl, yeah 2014-12-15T23:35:27Z Colleen joined #lisp 2014-12-15T23:35:37Z Bicyclidine: sbcl's in the repos, so i guess that's easiest 2014-12-15T23:35:38Z Xach: CrazyM4n: It's usually best, for CL software, to avoid the package system for installation, though. 2014-12-15T23:35:42Z kristof: Which repos? 2014-12-15T23:36:02Z Bicyclidine: ubuntu's 2014-12-15T23:36:05Z kristof: Oh, ubuntu 2014-12-15T23:36:06Z CrazyM4n: Xach: Why do you say? 2014-12-15T23:36:14Z kristof: CrazyM4n: People forget to update them. 2014-12-15T23:36:15Z Bicyclidine: 'cos it's always out of date 2014-12-15T23:36:16Z Xach: CrazyM4n: it's often very out of date. sometimes it's not, but it often is. 2014-12-15T23:36:49Z kristof: That's how it is with every other language, too. People use their own community tools to get updated source, not the distribution's. Which makes sense. 2014-12-15T23:36:50Z Bicyclidine: i haven't had much trouble with just installing the implementation from repos, though. except for one stupid bug report i filed from the out-of-date-ness 2014-12-15T23:37:38Z CrazyM4n: Does it matter that much? SBCL from the repos is 1.1.14 and the newest version is 1.2.6 2014-12-15T23:37:44Z CrazyM4n: Or should I update it 2014-12-15T23:37:52Z Xach: As long as everything works, it's good. If things go bad, it's typical advice to try to get it from the primary upstream source. 2014-12-15T23:37:52Z kristof: You should update. 2014-12-15T23:38:09Z Bicyclidine: it's probably ok for starting out 2014-12-15T23:38:19Z CrazyM4n: I'll update then, it's not too big of a pain (I hope) 2014-12-15T23:38:31Z Bicyclidine: nah 2014-12-15T23:40:14Z Karl_Dscc quit (Remote host closed the connection) 2014-12-15T23:42:03Z CrazyM4n: How do you, you know, exit the REPL? 2014-12-15T23:42:22Z Bicyclidine: EOF or (sb-ext:quit). you should get slime 2014-12-15T23:42:23Z jasom: CrazyM4n: implementation dependent, but (cl-user::quit) usually works 2014-12-15T23:42:51Z adlai quit (Ping timeout: 250 seconds) 2014-12-15T23:42:59Z Bicyclidine: oops, it's 'exit' now 2014-12-15T23:44:44Z CrazyM4n: Does CL interface well with hardware? Like, how easy is it to read files or get USB input or something of the like 2014-12-15T23:44:55Z kristof: Plenty simple. 2014-12-15T23:44:57Z fe[nl]ix quit (Ping timeout: 260 seconds) 2014-12-15T23:45:16Z kristof: Well 2014-12-15T23:45:20Z fe[nl]ix joined #lisp 2014-12-15T23:45:21Z abbe_ joined #lisp 2014-12-15T23:45:23Z poindontcare joined #lisp 2014-12-15T23:45:23Z jasom: CrazyM4n: not any harder than any other systems language 2014-12-15T23:45:25Z easye quit (Ping timeout: 260 seconds) 2014-12-15T23:45:25Z abbe quit (Ping timeout: 260 seconds) 2014-12-15T23:45:30Z easye` joined #lisp 2014-12-15T23:45:33Z CrazyM4n: Makes sense 2014-12-15T23:45:34Z kristof: CrazyM4n: Hardware stuff isn't in the standard, but stuff like SBCL has plenty of support for it 2014-12-15T23:46:08Z CrazyM4n: On Linux I guess it's easy to read from hardware from the streams in /dev/ and stuff 2014-12-15T23:46:09Z Bicyclidine: files are supported, i'd hardly call that hardware though 2014-12-15T23:46:23Z kristof: CrazyM4n: But that's a good point that jasom's making. Common Lisp is a general purpose systems language, and you should expect it to be capable of anything you want, besides maybe software with real-time constraints. 2014-12-15T23:46:25Z CrazyM4n: But does it work well with those is what I'm asking - the file streams 2014-12-15T23:46:27Z abbe_ is now known as abbe 2014-12-15T23:46:30Z Bicyclidine: yeah, sure 2014-12-15T23:46:59Z CrazyM4n: Okay, I was just wondering because it was kind of a pain to work with them in another couple languages 2014-12-15T23:47:18Z Xach: The downside of CL compared to other programming environments is taht because it's not very popular, the pool of people writing and giving away free code is smaller. So for a given task, you may find that you're the first or only person interested in it, and you have to write stuff yourself. There's just less stuff to reuse. 2014-12-15T23:47:41Z Xach: (One downside, not the only one.) 2014-12-15T23:48:05Z genii is now known as ChristmasPresent 2014-12-15T23:48:26Z ChristmasPresent is now known as genii 2014-12-15T23:48:46Z jasom: CrazyM4n: USB is a pain to work with in general; lisp doesn't make it any harder 2014-12-15T23:49:28Z nyef: Hmm? USB from Lisp? Been there, done that. 2014-12-15T23:49:44Z CrazyM4n: That goes without saying, but I was referencing the file streams in general, like /dev/urandom 2014-12-15T23:49:52Z CrazyM4n: Maybe I worded it weirdly 2014-12-15T23:50:09Z CrazyM4n: I definitely worded it terribly, actually 2014-12-15T23:50:18Z jasom: CrazyM4n: yeah, it's just "open" (or more often "with-open-file") and set element-type to (unsigned-byte 8) 2014-12-15T23:50:21Z Bicyclidine: there are 'external formats' so you can specify you want to read bytes from urandom or whatever 2014-12-15T23:50:26Z kristof: CrazyM4n: The standard has functions for reading from file streams, and for dealign with binary data. 2014-12-15T23:50:40Z CrazyM4n: That's nice 2014-12-15T23:51:27Z kristof: CrazyM4n: Also, Common Lisp macros allow you to write safer code. The macro WITH-OPEN-FILE makes sure to close your file after you leave the scope of that code. UNWIND-PROTECT will execute code (usually cleanup code), even on exceptions. Etc. 2014-12-15T23:51:39Z kristof: CrazyM4n: Compare that to C++ where you don't have stack unwind protection. 2014-12-15T23:52:11Z kristof: That eliminates entire code patterns. 2014-12-15T23:52:26Z CrazyM4n: That's definitely useful, sounds like it's kind of like with in python, am I not mistaken? 2014-12-15T23:52:37Z wasamasa: yes, python has special syntax for it 2014-12-15T23:52:54Z wasamasa: CL is powerful enough to define such a thing if it doesn't exist yet 2014-12-15T23:53:01Z goldenlight quit (Quit: Lost terminal) 2014-12-15T23:54:49Z foom: "Compare that to C++ where you don't have stack unwind protection" are you kidding? C++ has probably the best scoped-resource idiom of any language these days. 2014-12-15T23:55:14Z _death: foom: nope 2014-12-15T23:55:40Z kristof: Destructors are called on stack unwinding, but unwind-protect is more general 2014-12-15T23:55:42Z foom: I mean, there's plenty to dislike about C++, but saying it can't close a file on unwind is just wrong. 2014-12-15T23:55:53Z kristof: Well, I wasn't saying that :P 2014-12-15T23:56:01Z CrazyM4n: C++ probably wasn't the best comparison for that, I agree 2014-12-15T23:56:02Z _death: foom: it can, and does, but that encourages sloppy code 2014-12-15T23:56:17Z CrazyM4n: C would have been a better comparison, probably 2014-12-15T23:57:10Z dagnachew joined #lisp 2014-12-15T23:58:49Z innertracks quit (Quit: innertracks) 2014-12-15T23:59:31Z manuel__ joined #lisp