2015-03-26T02:58:19Z ccl-logbot joined #lisp 2015-03-26T02:58:19Z 2015-03-26T02:58:19Z names: ccl-logbot cmbntr ASau` AntiSpamMeta_ Colleen innertracks echo-area zhsso smokeink harish Harag defaultxr dfinninger november` Quadrescence bgs100 oleo_ k-dawg BlueRavenGT Jaskologist slyrus fugue Petit_Dejeuner_ GGMethos ThePhoeron zadock kjeldahl nell robot-beethoven moei linux_dream hitecnologys cyphase larion Ethan- didi quazimodo f03lipe badkins zacharias xinau Patzy foom sol__ c74d milosn knobo pjb kbtr ecraven rak[1] qlkzy __main__ ajtulloc_ ered 2015-03-26T02:58:19Z names: j_king Fade Tuxedo JuanDaugherty kons kobain backupthrick pyon wz1000 akkad d4ryus lemoinem spockokt Mon_Ouie cluck Vutral yasha9 CEnnis91 yeticry fe[nl]ix_ schoppenhauer agumonkey Grue`` theos rlazo stardiviner ndrei Odin- pillton scymtym Sgeo_ sdothum tessier sharkz em wglb` alpha- stepnem jrm balle vrrm ASau sivoais ivan4th mrcom keen__________25 les seg decent_ rtoym Longlius karswell schjetne eazar001 klltkr_ killmaster Rudolph-Miller cmatei mikaelj 2015-03-26T02:58:19Z names: hyoyoung jtz joneshf-laptop resttime_ Cheery aeth sshirokov Bike flip214 sellout stopbyte abbe snafuchs tkd Zotan Adlai nydel psy_ srcerer alexherbo2 CrazyEddy Posterdati gendl bhyde` rvchangue_ impulse paul0` MrWoohoo easye mearnsh sword` jeaye wemeetagain bipt billstclair zeroish marsjaninzmarsa thomas _5kg dan64 _death dim sbryant axion GuilOooo farhaven replcated johs ozzloy copec anunnaki heddwch joga trigen Xach funnel jdz loke gniourf clintm aap 2015-03-26T02:58:19Z names: Jubb NaNDude mtd ramus gigetoo motumla nicdev danlentz qbit arbscht vlnx misv dmiles_akf djinni` Kruppe SAL9000 brandonz froggey faheem_ fikusz justinmcp minion specbot ssake ahungry Khisanth rvirding aksatac trig-ger d4gg4d whartung tristero zbigniew Soft p_l Tristam acieroid clop2 musegarden Excedrin hefner kanru joast Oddity dilated_dinosaur yeltzooo setheus swflint_away wolf_mozart Grue` reb` theBlackDragon Oladon josteink ``Erik sid_cypher 2015-03-26T02:58:19Z names: isoraqathedh tuturto |3b| john-mcaleely White_Flame stokachu notty lonjil sulky luis capitaomorte smull wooden teiresias trmd yang alakra j0ni ferada Intensity eMBee trn housel RazWelles newcup vhost- quasisane sfa drmeister honkfestival yorick ski eak mathrick scharan pchrist Ralt arrsim ircbrowse cross alchemis7 zickzackv zymurgy Tordek vsync phadthai deego dfox Subfusc Takumo metaf5 troydm brucem ben_vulpes Natch xristos lieven PuercoPop jackc_ Plazma 2015-03-26T02:58:19Z names: someone jackdaniel enfors_ gko girrig bcoburn_ dlowe kalzz larme nisstyre K1rk Vivitron drdo bobbysmith007 zyoung Zhivago SHODAN samebchase finnrobi diginet ivan\ nopf rotty lifenoodles joshe oGMo Neptu renard_ p_l|backup nitro_idiot viaken phf tstc galdor nitrix moomin-aba_ hratsimihah ineiros H4ns yauz_2 tokenrove mood emlow mburke nightfly dxtr ggherdov az endou________ sepi cpt_nemo lpaste fe[nl]ix Blkt sytse daimrod gz gluegadget splittist 2015-03-26T02:58:19Z names: victor_lowther cojy_ NhanH joshmcmillan_ agam pok jpanest jasom brent80_plow arrdem antoszka eagleflo clog Borbus alex6407 bege jayne s_e cods ck_ jsnell cibs AeroNotix stux|RC-only mingvs bthom peccu2 Neet edran_ gabc tomaw z0d katco oconnore The_third_man bytecrawler ft Mandus gabot guaqua wenincode gensym 2015-03-26T02:59:52Z ASau quit (Ping timeout: 272 seconds) 2015-03-26T03:01:35Z AntiSpamMeta_ is now known as AntiSpamMeta 2015-03-26T03:03:32Z badkins quit 2015-03-26T03:05:52Z k-dawg quit (Quit: This computer has gone to sleep) 2015-03-26T03:16:03Z zacharias_ joined #lisp 2015-03-26T03:16:04Z ASau` is now known as ASau 2015-03-26T03:18:46Z Kolt joined #lisp 2015-03-26T03:19:10Z zacharias quit (Ping timeout: 265 seconds) 2015-03-26T03:28:29Z ghking joined #lisp 2015-03-26T03:28:50Z gklimowicz joined #lisp 2015-03-26T03:30:32Z a2015 joined #lisp 2015-03-26T03:30:46Z cyphase quit (Ping timeout: 265 seconds) 2015-03-26T03:31:39Z ghking quit (Client Quit) 2015-03-26T03:32:11Z gko__ joined #lisp 2015-03-26T03:34:23Z Slothel joined #lisp 2015-03-26T03:34:25Z Slothel: hey quick question 2015-03-26T03:34:43Z Slothel: Im running through a beginner lisp tutorial that is showing how to nest function calls like (car (cdr '(1 2 3))) 2015-03-26T03:35:00Z zhsso quit (Remote host closed the connection) 2015-03-26T03:35:14Z Slothel: is there a way I can use a variable to determine which element to grab instead of explicitly writing cdr n times to get the element 2015-03-26T03:35:19Z zhsso joined #lisp 2015-03-26T03:35:23Z {-}grant joined #lisp 2015-03-26T03:35:32Z |3b|: clhs nth 2015-03-26T03:35:32Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_nth.htm 2015-03-26T03:35:52Z zhsso quit (Remote host closed the connection) 2015-03-26T03:36:04Z Slothel: sure I would assume there's already a function that does that but I'd like to know how it works 2015-03-26T03:36:29Z |3b|: probably a loop of some sort 2015-03-26T03:36:54Z didi left #lisp 2015-03-26T03:39:32Z SAL9000: possibly something like (defun nth (n list) (if (== n 0) (car list) (nth (1- n) list))) 2015-03-26T03:39:51Z SAL9000: sorry, should be 2015-03-26T03:39:56Z SAL9000: (defun nth (n list) (if (== n 0) (car list) (nth (1- n) (cdr list)))) 2015-03-26T03:40:49Z Slothel: hey, thanks! 2015-03-26T03:40:51Z Slothel: that makes sense 2015-03-26T03:41:19Z |3b|: note that you shouldn't actually do that in CL (which is the topic of this channel) since CL doesn't guarantee tail call elimination 2015-03-26T03:41:25Z Niac joined #lisp 2015-03-26T03:41:32Z mbuf joined #lisp 2015-03-26T03:41:35Z Slothel: Don't shoot me for my stupidity but I think it would be cool if you could use a function as a function name when defining your own functions so that you could use a return value from one to spawn another function 2015-03-26T03:42:16Z Bike: i do not understand what you mean 2015-03-26T03:42:21Z |3b| doesn't either 2015-03-26T03:43:14Z |3b|: you can return functions from functions, but you can't do something like ((returns-a-function) 1 2 3), you need (funcall (returns-a-function) 1 2 3) 2015-03-26T03:43:34Z |3b|: in CL at least, the former can work in scheme i think 2015-03-26T03:43:38Z cyphase joined #lisp 2015-03-26T03:43:44Z ajtulloc_ quit (Remote host closed the connection) 2015-03-26T03:43:55Z SAL9000: CL-USER> ((lambda (x) (1+ x)) 2) 2015-03-26T03:43:56Z SAL9000: 3 2015-03-26T03:44:14Z |3b|: right, LAMBDA is a special case, it doesn't return a function in that form 2015-03-26T03:44:38Z |3b|: it is evaluated directly with special rules 2015-03-26T03:44:59Z Slothel: Ah. No basically the idea I have in my head is using returns from functions to generate other functions where the function-body is generated by the return value so you basically have like a meta-programming thing 2015-03-26T03:45:04Z Slothel: I know I'm not making much sense. 2015-03-26T03:45:14Z Bike: sounds like a macro. 2015-03-26T03:45:20Z SAL9000: clhs defmacro 2015-03-26T03:45:20Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_defmac.htm 2015-03-26T03:45:59Z |3b|: yeah, macro might be what you want (but you probably should avoid them until you learn more), or you can compile arbitrary things at runtime if you really need to 2015-03-26T03:46:38Z SAL9000: |3b|: just tested that with nested lambdas. I stand corrected. 2015-03-26T03:47:41Z |3b|: SAL9000: presumably you could distinguish it with *macroexpand-hook* as well, but i'm too lazy to check that at the moment, and the spec is pretty clear about it being a special evaluation rule anyway 2015-03-26T03:50:35Z fugue: r5rs let* 2015-03-26T03:51:11Z defaultxr quit (Quit: gnight) 2015-03-26T03:52:18Z bgs100 quit (Quit: bgs100) 2015-03-26T03:54:06Z beach joined #lisp 2015-03-26T03:54:10Z Zhivago: Lambda is a special case because it names a function -- itself. 2015-03-26T03:54:16Z beach: Good morning everyone! 2015-03-26T03:54:57Z Zhivago: Handling cases like ((x) y) isn't hard, but then it becomes hard when you try to generalize it to (let ((a (x)) (a y)) 2015-03-26T03:55:37Z Zhivago: So you need something to discriminate that case, such as (funcall a y), which brings us back to the current state of affairs. 2015-03-26T03:55:52Z Zhivago: At which point you might as well just write (funcall (x) y) 2015-03-26T03:56:44Z drmeister: Hi beach 2015-03-26T03:57:33Z Slothel: I have to say this is one of the more civil programming channels I've ever been on. 2015-03-26T03:57:36Z Slothel: That is all. 2015-03-26T03:58:06Z ajtulloch joined #lisp 2015-03-26T03:58:34Z beach: Slothel: What prompted you to say that? I am asking because #lisp is the only one I frequent. 2015-03-26T03:58:35Z drmeister: It's so nice working with LaTeX again. No messing with menus and fonts. 2015-03-26T03:59:11Z drmeister: Slothel: Wait until someone mentions hygienic macros - that's when the knives come out. 2015-03-26T03:59:45Z Slothel: drmeister: Just because I asked a question and did not get any insults or subtle digs thrown my way 2015-03-26T04:00:06Z Slothel: drmeister: Which, given my experience on #archlinux and a few other channels, is not common 2015-03-26T04:00:39Z Bike: clever digs are usually reserved for other languages/systems, so you're already well on your way 2015-03-26T04:00:53Z aeth: hmm... Lisp 1 or Lisp 2? :-p 2015-03-26T04:01:32Z beach: drmeister: How is the paper going? 2015-03-26T04:02:28Z ajtulloc_ joined #lisp 2015-03-26T04:03:47Z beach: No answer; that's a bad sign. 2015-03-26T04:05:12Z drmeister: I dunno - I wrote a bunch of stuff - and LaTeX made it look absolutely fabulous! 2015-03-26T04:05:21Z ajtulloch quit (Ping timeout: 252 seconds) 2015-03-26T04:05:26Z beach: That's its job. 2015-03-26T04:07:16Z drmeister: I'm making tea - back in a few min. 2015-03-26T04:09:13Z drmeister: Slothel - I'm glad you like it - I've learned an enormous amount hanging out here. 2015-03-26T04:10:32Z drmeister: beach: I have two pages of prose - do you mind if I send it to you - it's a bit raw but you could give me some course correction if it's necessary. 2015-03-26T04:10:52Z Slothel: drmeister: I'd love to sit down some day and just learn latex, but I never seem to get the time. I've forced myself to learn Lisp by using it for this next project I'm working on. I'm the type of learner that needs some sort of project to really apply what I learn 2015-03-26T04:11:02Z beach: drmeister: Go right ahead. 2015-03-26T04:12:18Z drmeister: Slothel: If someone asked me which one to learn: Lisp or LaTeX I'd say Lisp 100 times over before I said LaTeX. 2015-03-26T04:12:56Z Slothel: drmeister: True, I just wish there were more hours in the day so I could learn both ^^ 2015-03-26T04:15:32Z drmeister: beach: Uh - can you handle a DVI file? Or do you want the .tex file or PDF? 2015-03-26T04:15:51Z beach: PDF is best. Use pdflatex. 2015-03-26T04:16:03Z Slothel: I know this is valuable to learn because right now coding is fun again, I haven't been excited about code in awhile 2015-03-26T04:16:15Z Slothel: I think I got burnt out on C 2015-03-26T04:17:32Z drmeister: Adobe Acrobat makes PDF's look like dog food on a retina mac. 2015-03-26T04:17:53Z sdothum quit (Quit: ZNC - 1.6.0 - http://znc.in) 2015-03-26T04:18:13Z drmeister: I'm using Skim to view the DVI files. Muah! 2015-03-26T04:18:23Z drmeister flares his fingers out from his lips. 2015-03-26T04:18:33Z f03lipe quit (Ping timeout: 252 seconds) 2015-03-26T04:18:36Z qubitnerd joined #lisp 2015-03-26T04:18:59Z beach: There are plenty of decent PDF readers out there: Evince, xpdf, etc. 2015-03-26T04:19:06Z qubitnerd quit (Changing host) 2015-03-26T04:19:06Z qubitnerd joined #lisp 2015-03-26T04:19:19Z beach: What's the KDE one again? 2015-03-26T04:19:44Z attila_lendvai joined #lisp 2015-03-26T04:19:44Z attila_lendvai quit (Changing host) 2015-03-26T04:19:44Z attila_lendvai joined #lisp 2015-03-26T04:19:45Z drmeister: I'll shut up about how beautiful the output is now. I wrote my thesis in LaTeX - it's a sight for sore eyes after 20 years of Microsoft Word. 2015-03-26T04:20:17Z beach: drmeister: You live in a strange world. 2015-03-26T04:21:03Z drmeister: I'm only in Chemistry because I need to make molecules. 2015-03-26T04:21:12Z mj-0 joined #lisp 2015-03-26T04:21:19Z drmeister: It wasn't for the molecules - I'd be so out of here. 2015-03-26T04:22:10Z drmeister: Oh - you are waiting for a PDF - hang on. 2015-03-26T04:22:20Z aap quit (Ping timeout: 246 seconds) 2015-03-26T04:22:40Z beach: drmeister: No rush. I think it is best that I read it while you sleep. 2015-03-26T04:22:43Z beach: No? 2015-03-26T04:23:44Z qubitnerd quit (Ping timeout: 246 seconds) 2015-03-26T04:25:27Z beach: drmeister: Don't worry about it. DVI is fine. 2015-03-26T04:26:03Z zhsso joined #lisp 2015-03-26T04:26:28Z drmeister: No problem - I need to put it aside 'till tomorrow. I wanted to get it to you so I can work on my lecture for tomorrow and maybe spend a few minutes tracking down an UNWIND bug in CClasp. 2015-03-26T04:26:55Z drmeister: DO-SYMBOLS goes into an infinite loop. 2015-03-26T04:26:57Z beach: That's fine. I have plenty to read. 2015-03-26T04:28:09Z drmeister: I have to get some source code debugging working in CClasp - it's driving me nuts. 2015-03-26T04:28:20Z drmeister: Source code tracking. 2015-03-26T04:29:19Z beach: drmeister: I shall need that too very soon. I am now at a point where I have a SICL REPL and I am going to need debugging tools. 2015-03-26T04:29:23Z drmeister: I am getting better at debugging in assembly code. 2015-03-26T04:29:40Z Slothel: Is it worthwhile to learn assembly anymore 2015-03-26T04:30:03Z beach: Slothel: Only if you are writing a backend for a compiler probably. 2015-03-26T04:30:09Z drmeister: Slothel - Absolutely - it's also very gratifying. 2015-03-26T04:30:54Z drmeister: It's something few people do and so it's like a secret power you can develop. 2015-03-26T04:31:10Z BlueRavenGT quit (Ping timeout: 252 seconds) 2015-03-26T04:31:44Z drmeister: But then - I am working with a backend of a compiler. 2015-03-26T04:31:54Z |3b|: beach: also useful if you need to read the output of a compiler for whatever reason (debugging, reverse engineering, etc), though "reading" and "writing" might imply different levels of learning 2015-03-26T04:32:01Z zhsso quit (Remote host closed the connection) 2015-03-26T04:32:13Z beach: |3b|: Good point. 2015-03-26T04:32:51Z Slothel: I'm also enjoying how everything in Lisp seems general enough that you dont actually have to know the 'type' of function paramaters 2015-03-26T04:32:53Z Bike: or you're on some embedded machine and don't want to use C, or a few other reasons 2015-03-26T04:33:07Z |3b| would say it is "worthwhile", but lots of things are, so you need to prioritize, and it might not be very high on the list depending on your goals 2015-03-26T04:34:11Z Bike: of course, it's a lot easier to learn ARM or MIPS or something, rather than x86, except x86 is probably what your PC uses 2015-03-26T04:34:44Z Slothel: I think I'd like to learn it for the sole purpose that it might help me understand what my programs are actually doing to the machine 2015-03-26T04:34:52Z Slothel: Which I sort of lack an intuition for currently 2015-03-26T04:35:27Z |3b| might rate learning cache architectures above asm these days 2015-03-26T04:35:30Z Bike: depends on what "actually" and "the machine" mean. most assembly languages are pretty high level nowadays, because everyone loves abstractions 2015-03-26T04:36:43Z Slothel: hmm 2015-03-26T04:37:10Z Slothel: I want to go really low-level. I know how to do Big O analysis but that isn't quite sufficient 2015-03-26T04:37:22Z Slothel: I want to write more efficient code 2015-03-26T04:37:28Z Bike: i can recommend you a few books on transistor physics :p 2015-03-26T04:37:32Z Slothel: haha 2015-03-26T04:37:38Z Slothel: That's something I'd actually read tbh 2015-03-26T04:37:45Z mj-0 quit (Remote host closed the connection) 2015-03-26T04:38:56Z beach: There is a very good book out there called "Inner Loops". Unfortunately, after it was written, timing machine code became totally impossible on most processors because of things like speculative execution, branch prediction, cache behavior, etc, etc. 2015-03-26T04:40:13Z Slothel: beach: Might it still have some education merit though? I'm interested in anything that helps me understand low-level concepts 2015-03-26T04:40:36Z cyphase quit (Ping timeout: 256 seconds) 2015-03-26T04:40:50Z mj-0 joined #lisp 2015-03-26T04:41:03Z SAL9000: as far as I know, for efficient code you need data locality (less cache thrashing) and minimum (unpredictable) branching. 2015-03-26T04:41:05Z Bike: the difficulty is that computers are pretty complex and abstractions are always leaky. transistors _usually_ don't matter to code you write, but you can dope them wrong to fuck up a CSPRNG or something. cache doesn't matter by some metrics but does by others 2015-03-26T04:41:29Z stepnem quit (Ping timeout: 245 seconds) 2015-03-26T04:41:59Z Slothel: Bike: Can you recommend me any transistor physics books that require only a Calc 2 understanding of maths? 2015-03-26T04:42:20Z Slothel: Most of the textbooks I've skimmed use a lot more difficult maths than I understand currently 2015-03-26T04:42:43Z Bike: How's your electrodynamics and solids chemistry? 2015-03-26T04:42:43Z Slothel: For instance I tried to read Elements of Statistical Machine Learning and had to give up at Chapter 3 2015-03-26T04:43:00Z Bike: well, i guess generally i'd try Mead. dude makes nonlinearity look easy 2015-03-26T04:43:12Z Slothel: Bike: I know basically nothing. At this point I've taken Physics 1. I'm still in college. 2015-03-26T04:44:21Z Bike: i don't know if there's much point trying without some familiarity with circuits, at least from my experience. also sorry this is off topic. 2015-03-26T04:45:30Z Bike: I took a logic circuits class at my school that involved CMOS drawings of logic gates, but once I learned some circuits I realized I actually learned very little from that part of that class. 2015-03-26T04:46:01Z Bike: well, if you're at school the best thing to do is hang out in the library and bug professors, really. 2015-03-26T04:46:26Z Slothel: Yeah.. I have tremendous social anxiety which makes talking to them nearly impossible 2015-03-26T04:46:33Z Slothel: But I guess I'll just take a bunch of classes 2015-03-26T04:46:40Z Slothel: I was looking into EE at one point but went the CS route instead 2015-03-26T04:47:38Z kushal joined #lisp 2015-03-26T04:47:38Z Bike: i've found EE education more preferable, but that's just me. and don't feel too anxious about talking to professors, they love talking about themselves. 2015-03-26T04:47:50Z Zhivago: A bit like women, then. 2015-03-26T04:47:56Z cluck quit (Remote host closed the connection) 2015-03-26T04:49:23Z Bike: I don't want to be civil in response to bizarre unprompted sexism by an op so I'm going to leave for a bit, ta 2015-03-26T04:49:27Z Bike left #lisp 2015-03-26T04:49:34Z zhsso joined #lisp 2015-03-26T04:49:41Z mrcom quit (Read error: Connection reset by peer) 2015-03-26T04:50:12Z zhsso quit (Read error: Connection reset by peer) 2015-03-26T04:52:47Z linux_dream quit (Quit: Leaving) 2015-03-26T04:53:26Z cyphase joined #lisp 2015-03-26T04:53:52Z drmeister left #lisp 2015-03-26T04:59:54Z bb010g joined #lisp 2015-03-26T05:01:01Z Mon_Ouie quit (Ping timeout: 264 seconds) 2015-03-26T05:10:52Z beach: Slothel: Yes, it's still a good book. 2015-03-26T05:12:35Z Slothel: ? 2015-03-26T05:12:54Z beach: Inner Loops 2015-03-26T05:12:59Z Slothel: Oh, yes. 2015-03-26T05:13:06Z beach: Sorry, I was away. 2015-03-26T05:13:12Z Slothel: Hey so I just had a weird thought, it might be stupid but then again it might not be 2015-03-26T05:13:15Z beach: In the Common Lisp HyperSpec, we are told that places can be macro forms and how they are then treated. We are also told that this is how SETF deals with places. But where does it say that GET-SETF-EXPANSION is in charge of possible macro expansion? 2015-03-26T05:13:24Z Slothel: Is there a way to calculate referential information like...take this channel for example 2015-03-26T05:13:36Z Slothel: I know that a certain number of bits can express all the text that has gone through this channel tonight 2015-03-26T05:13:51Z Slothel: But it could be in actuality quite *information* low, like if we all just posted 0's endlessly for example 2015-03-26T05:14:00Z dfinninger quit (Remote host closed the connection) 2015-03-26T05:14:06Z Slothel: Whereas a tutorial on applying a Laplace Transform would be *information high* 2015-03-26T05:14:09Z Slothel: If you get what I mean 2015-03-26T05:15:05Z beach: Slothel: There is no general way of computing it. But you get a decent idea if you compress it, say using gzip --best. 2015-03-26T05:15:36Z Slothel: Oh ok, that makes sense. 2015-03-26T05:16:44Z beach: Also with respect to places: Is it possible that there might be some Common Lisp operator that must treat places differently, so that either it can't use GET-SETF-EXPANSION, or so that GET-SET-EXPANSION can't be in charge of macro expanding the place? 2015-03-26T05:16:55Z xinau quit (Ping timeout: 255 seconds) 2015-03-26T05:16:56Z beach: And if not, where can this information be found in the Common Lisp HyperSpec? 2015-03-26T05:19:19Z |3b|: clhs 5.1.1.1 2015-03-26T05:19:19Z specbot: Evaluation of Subforms to Places: http://www.lispworks.com/reference/HyperSpec/Body/05_aaa.htm 2015-03-26T05:20:01Z |3b|: seems pretty clear, but maybe i'm not understanding the question 2015-03-26T05:20:29Z |3b|: or maybe not 2015-03-26T05:20:39Z |3b| might also be up too late :p 2015-03-26T05:20:39Z beach: reading... 2015-03-26T05:21:34Z beach: Yeah, maybe not. :( 2015-03-26T05:21:54Z {-}grant quit (Remote host closed the connection) 2015-03-26T05:22:23Z zhsso joined #lisp 2015-03-26T05:22:31Z |3b|: i think get-setf-expansion isn't "in charge of" anything besides providing information the SETF macro uses 2015-03-26T05:23:45Z beach: But when I call GET-SETF-EXPANSION in SBCL on (say) (MM ...) in an environment where MM is defined as a macro, SBCL expands the macro first. 2015-03-26T05:24:47Z beach: If this is conforming behavior, I would like to see where the Common Lisp HyperSpec says so, if possible. 2015-03-26T05:25:10Z |3b|: yeah, i guess it does do a good chunk of the actual work of SETF 2015-03-26T05:25:15Z beach: Maybe my question is not clear. If I have (SETF (MM ...) ...) and MM is a macro, then it should be expanded, provided that there is no SETF expander for MM. But who does the expansion? SETF or GET-SETF-EXPANSION? 2015-03-26T05:25:28Z mrcom joined #lisp 2015-03-26T05:26:03Z |3b|: i think get-setf-expansion need to do so, so user code can use the results 2015-03-26T05:26:33Z |3b|: though setf is presumably allowed to do whatever it wants within the constraints of the macro's spec 2015-03-26T05:26:39Z beach: That's certainly what SBCL does and that makes a lot of sense so that it is not the responsibility of each operator to do it. 2015-03-26T05:28:25Z beach: But I don't see where the Common Lisp HyperSpec says this, and I don't see it specified in other operators that use places. For all I know, only SETF macroexpands the place as described and other operators don't. 2015-03-26T05:30:15Z beach: Some operators, such as ROTATEF and SHIFTF show the behavior in terms of SETF so they must macroexpand as well. But I am pretty sure there are operators that only mention that some argument is a "place". 2015-03-26T05:30:54Z |3b|: clhs 5.1.2.7 2015-03-26T05:30:54Z specbot: Macro Forms as Places: http://www.lispworks.com/reference/HyperSpec/Body/05_abg.htm 2015-03-26T05:31:41Z beach: Hmm. I guess you are right. "Common Lisp expands the macro form..." 2015-03-26T05:31:48Z innertracks quit (Quit: innertracks) 2015-03-26T05:32:01Z beach: which suggests that this happens any time such a place is used. 2015-03-26T05:32:12Z beach: |3b|: Thanks! 2015-03-26T05:33:59Z robot-beethoven quit (Ping timeout: 250 seconds) 2015-03-26T05:34:03Z beach: Note to self: In Common Lisp version 2, mention that GET-SETF-EXPANSION is in charge of macro expansion. 2015-03-26T05:35:26Z zhsso_ joined #lisp 2015-03-26T05:37:20Z ehu joined #lisp 2015-03-26T05:37:40Z Zhivago: Why don't you go for version three? Otherwise it's quite confusing with CLTL2. 2015-03-26T05:37:59Z beach: Yeah, maybe so. 2015-03-26T05:38:12Z beach: You are not the only one mentioning this. 2015-03-26T05:38:51Z zhsso quit (Ping timeout: 252 seconds) 2015-03-26T05:40:44Z Mon_Ouie joined #lisp 2015-03-26T05:42:01Z beach: But then some people will ask what happened to version 2. I think I had better come up with some other way of referring to it. 2015-03-26T05:45:26Z Zhivago: CLTNG. 2015-03-26T05:45:41Z gingerale joined #lisp 2015-03-26T05:46:11Z Zhivago: You could always call it NewLisp :) 2015-03-26T05:46:48Z beach: I need to think about it. It is not urgent. 2015-03-26T05:50:23Z jasom: also someone has a CL with a name themed to the 21st century ... fukamachi maybe? 2015-03-26T05:50:42Z beach: Yeah. CL21 2015-03-26T05:50:47Z jasom: http://cl21.org/ <-- there it is 2015-03-26T05:50:49Z vdamewood joined #lisp 2015-03-26T05:50:57Z Zhivago: CL is the steampunk of languages. It doesn't suit the 21st century. 2015-03-26T05:51:03Z Zhivago: T, on the other hand ... 2015-03-26T05:51:15Z beach: jasom: But that's quite different from what I am planning. 2015-03-26T05:52:24Z jasom: also drewc's CLtL3 2015-03-26T05:53:51Z jasom: http://webcache.googleusercontent.com/search?q=cache:Pb6qgX_6YvIJ:ilc2009.scheming.org/node/48+&cd=1&hl=en&ct=clnk&gl=us 2015-03-26T05:59:47Z fugue quit (Quit: leaving) 2015-03-26T06:00:39Z ehu quit (Quit: Leaving.) 2015-03-26T06:03:00Z mj-0 quit (Remote host closed the connection) 2015-03-26T06:05:02Z Vutral quit (Ping timeout: 256 seconds) 2015-03-26T06:05:31Z Kolt quit (Quit: Leaving) 2015-03-26T06:06:20Z dfinninger joined #lisp 2015-03-26T06:08:13Z pillton quit (Ping timeout: 272 seconds) 2015-03-26T06:09:02Z zhsso_ quit 2015-03-26T06:10:42Z cyphase quit (Ping timeout: 256 seconds) 2015-03-26T06:12:20Z f03lipe joined #lisp 2015-03-26T06:12:30Z innertracks joined #lisp 2015-03-26T06:12:44Z innertracks quit (Client Quit) 2015-03-26T06:12:51Z pillton joined #lisp 2015-03-26T06:17:30Z danlentz quit (Ping timeout: 252 seconds) 2015-03-26T06:18:44Z kcj joined #lisp 2015-03-26T06:19:01Z Blaguvest joined #lisp 2015-03-26T06:20:47Z sunwukong joined #lisp 2015-03-26T06:21:56Z Zhivago: Watch out for bad monkeys. 2015-03-26T06:23:39Z cyphase joined #lisp 2015-03-26T06:25:30Z pt1 joined #lisp 2015-03-26T06:27:11Z keen__________25 quit (Read error: Connection reset by peer) 2015-03-26T06:28:26Z keen__________25 joined #lisp 2015-03-26T06:28:37Z beach: Zhivago: ? 2015-03-26T06:30:10Z dfinninger quit (Remote host closed the connection) 2015-03-26T06:32:50Z mj-0 joined #lisp 2015-03-26T06:33:23Z Zhivago: beach: sunwukong. 2015-03-26T06:33:52Z f03lipe quit (Quit: Leaving) 2015-03-26T06:34:02Z f03lipe joined #lisp 2015-03-26T06:34:18Z oleo_ quit (Quit: Leaving) 2015-03-26T06:38:29Z drmeister joined #lisp 2015-03-26T06:38:54Z pt1 quit (Remote host closed the connection) 2015-03-26T06:39:39Z ggole joined #lisp 2015-03-26T06:41:18Z pillton: I think something is wrong with the CCL log bot. 2015-03-26T06:42:39Z selat joined #lisp 2015-03-26T06:43:44Z Guest45297 joined #lisp 2015-03-26T06:44:00Z gingerale quit (Ping timeout: 250 seconds) 2015-03-26T06:44:06Z momo-reina joined #lisp 2015-03-26T06:44:10Z sunwukong: Zhivago: I'm already reformed, thanks to a long journey to the West... 2015-03-26T06:44:29Z frkout joined #lisp 2015-03-26T06:46:05Z pillton: It would be good if you could introduce a setf expander without using a macro. 2015-03-26T06:47:09Z pillton: It would also be good if the store variables weren't substituted prior to calling the setf expander. 2015-03-26T06:47:52Z f03lipe quit (Ping timeout: 272 seconds) 2015-03-26T06:48:04Z munksgaard joined #lisp 2015-03-26T06:56:18Z yati_ joined #lisp 2015-03-26T07:02:12Z Shinmera joined #lisp 2015-03-26T07:04:25Z fepilepe joined #lisp 2015-03-26T07:04:36Z Blaguvest quit 2015-03-26T07:05:33Z beach: pillton: In SICL, you can use the generic function (SETF SETF-EXPANDER) to introduce a setf expander in a first-class global environment. 2015-03-26T07:05:59Z pillton: beach: Nice. 2015-03-26T07:07:30Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T07:07:45Z fepilepe quit (Client Quit) 2015-03-26T07:08:42Z quazimodo quit (Ping timeout: 250 seconds) 2015-03-26T07:09:06Z fepilepe joined #lisp 2015-03-26T07:10:43Z a2015 quit (Quit: Page closed) 2015-03-26T07:11:20Z thodg joined #lisp 2015-03-26T07:12:32Z beach: Time to get to work! 2015-03-26T07:12:34Z beach left #lisp 2015-03-26T07:13:36Z attila_lendvai quit (Ping timeout: 252 seconds) 2015-03-26T07:19:52Z fepilepe quit (Quit: Leaving) 2015-03-26T07:20:05Z f3lp joined #lisp 2015-03-26T07:20:13Z Mon_Ouie quit (Ping timeout: 264 seconds) 2015-03-26T07:20:19Z f3lp quit (Remote host closed the connection) 2015-03-26T07:20:52Z fepilepe joined #lisp 2015-03-26T07:21:07Z fepilepe quit (Read error: Connection reset by peer) 2015-03-26T07:21:24Z f3lp joined #lisp 2015-03-26T07:22:28Z angavrilov joined #lisp 2015-03-26T07:23:22Z paul0`` joined #lisp 2015-03-26T07:24:29Z Vutral joined #lisp 2015-03-26T07:25:00Z momo-reina quit (Remote host closed the connection) 2015-03-26T07:25:52Z Vutral quit (Excess Flood) 2015-03-26T07:26:39Z paul0` quit (Ping timeout: 250 seconds) 2015-03-26T07:27:31Z momo-reina joined #lisp 2015-03-26T07:27:45Z pt1 joined #lisp 2015-03-26T07:27:48Z chu joined #lisp 2015-03-26T07:28:43Z f3lp quit (Quit: Leaving) 2015-03-26T07:29:26Z pt1 quit (Remote host closed the connection) 2015-03-26T07:30:03Z pt1 joined #lisp 2015-03-26T07:30:36Z cyphase quit (Ping timeout: 256 seconds) 2015-03-26T07:31:02Z dfinninger joined #lisp 2015-03-26T07:32:37Z radioninja joined #lisp 2015-03-26T07:32:51Z dsp_ joined #lisp 2015-03-26T07:33:36Z momo-reina quit (Remote host closed the connection) 2015-03-26T07:35:09Z psy_ quit (Quit: Leaving) 2015-03-26T07:35:31Z dfinninger quit (Ping timeout: 255 seconds) 2015-03-26T07:35:54Z mj-0 joined #lisp 2015-03-26T07:36:05Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T07:36:28Z mj-0 joined #lisp 2015-03-26T07:36:35Z larion quit (Ping timeout: 246 seconds) 2015-03-26T07:38:20Z bjorkintosh joined #lisp 2015-03-26T07:43:18Z cyphase joined #lisp 2015-03-26T07:44:28Z Vutral joined #lisp 2015-03-26T07:44:55Z kobain quit (Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/) 2015-03-26T07:45:57Z yakccd joined #lisp 2015-03-26T07:47:59Z Ven joined #lisp 2015-03-26T07:48:28Z Vutral quit (Excess Flood) 2015-03-26T07:49:00Z Beetny joined #lisp 2015-03-26T07:49:15Z larion joined #lisp 2015-03-26T07:50:32Z Shinmera: Is there an emacs/slime command to yank with string escape rules? As in, yanking foo"bar\baz is put into the buffer as foo\"bar\\baz 2015-03-26T07:50:54Z Beetny quit (Read error: Connection reset by peer) 2015-03-26T07:53:16Z Vutral joined #lisp 2015-03-26T07:54:49Z larion quit (Ping timeout: 250 seconds) 2015-03-26T07:55:12Z mishoo joined #lisp 2015-03-26T07:57:24Z Vutral quit (Excess Flood) 2015-03-26T07:58:18Z frkout_ joined #lisp 2015-03-26T08:00:28Z cyphase quit (Ping timeout: 265 seconds) 2015-03-26T08:01:25Z Beetny joined #lisp 2015-03-26T08:01:57Z frkout quit (Ping timeout: 248 seconds) 2015-03-26T08:05:41Z vrrm quit (Ping timeout: 246 seconds) 2015-03-26T08:06:04Z css106420_ joined #lisp 2015-03-26T08:06:59Z Ven quit (Ping timeout: 252 seconds) 2015-03-26T08:07:01Z stardiviner quit (Ping timeout: 264 seconds) 2015-03-26T08:07:51Z Cymew joined #lisp 2015-03-26T08:08:41Z Vutral joined #lisp 2015-03-26T08:09:20Z Slothel quit (Ping timeout: 252 seconds) 2015-03-26T08:09:47Z vr-rm joined #lisp 2015-03-26T08:10:03Z pgomes joined #lisp 2015-03-26T08:10:32Z Grue`` quit (Remote host closed the connection) 2015-03-26T08:10:37Z Guest45297 quit (Ping timeout: 265 seconds) 2015-03-26T08:11:14Z joneshf-laptop quit (Ping timeout: 246 seconds) 2015-03-26T08:13:12Z cyphase joined #lisp 2015-03-26T08:14:48Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T08:19:37Z knobo quit (Ping timeout: 255 seconds) 2015-03-26T08:20:59Z stardiviner joined #lisp 2015-03-26T08:21:25Z Harag quit (Ping timeout: 264 seconds) 2015-03-26T08:21:49Z frkout_ quit (Remote host closed the connection) 2015-03-26T08:22:15Z frkout joined #lisp 2015-03-26T08:23:13Z pgomes quit (Ping timeout: 264 seconds) 2015-03-26T08:23:23Z cadadar joined #lisp 2015-03-26T08:24:56Z munksgaard quit (Ping timeout: 246 seconds) 2015-03-26T08:25:17Z thodg quit (Ping timeout: 246 seconds) 2015-03-26T08:31:01Z kushal quit (Ping timeout: 264 seconds) 2015-03-26T08:32:27Z dfinninger joined #lisp 2015-03-26T08:32:55Z mvilleneuve joined #lisp 2015-03-26T08:36:49Z perl_startup joined #lisp 2015-03-26T08:37:06Z dfinninger quit (Ping timeout: 250 seconds) 2015-03-26T08:39:07Z pgomes joined #lisp 2015-03-26T08:39:17Z stardiviner quit (Ping timeout: 248 seconds) 2015-03-26T08:39:47Z stepnem joined #lisp 2015-03-26T08:41:37Z arenz joined #lisp 2015-03-26T08:44:43Z edgar-rft joined #lisp 2015-03-26T08:44:54Z kushal joined #lisp 2015-03-26T08:44:59Z kushal quit (Remote host closed the connection) 2015-03-26T08:45:27Z kushal joined #lisp 2015-03-26T08:50:15Z pgomes quit (Ping timeout: 252 seconds) 2015-03-26T08:53:00Z attila_lendvai joined #lisp 2015-03-26T08:53:00Z attila_lendvai quit (Changing host) 2015-03-26T08:53:00Z attila_lendvai joined #lisp 2015-03-26T08:53:42Z Harag joined #lisp 2015-03-26T08:54:26Z hitecnologys: Shinmera: I don't think so. 2015-03-26T08:56:53Z mj-0 joined #lisp 2015-03-26T08:58:02Z joneshf-laptop joined #lisp 2015-03-26T08:59:36Z cadadar quit (Ping timeout: 272 seconds) 2015-03-26T09:00:53Z cadadar joined #lisp 2015-03-26T09:03:08Z flip214: Value of NIL in ... is NIL, not a NIL. 2015-03-26T09:06:57Z wz1000 quit (Quit: WeeChat 1.1.1) 2015-03-26T09:09:29Z chu quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-03-26T09:09:37Z mj-0 quit (Remote host closed the connection) 2015-03-26T09:10:21Z zacharias_ quit (Quit: WeeChat 1.1.1) 2015-03-26T09:11:22Z Ven joined #lisp 2015-03-26T09:11:24Z Ethan- quit (Remote host closed the connection) 2015-03-26T09:12:23Z zadock quit (Quit: Leaving) 2015-03-26T09:14:17Z mj-0 joined #lisp 2015-03-26T09:14:22Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:14:33Z harish quit (Ping timeout: 250 seconds) 2015-03-26T09:14:47Z mj-0 joined #lisp 2015-03-26T09:15:23Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:16:01Z mj-0 joined #lisp 2015-03-26T09:16:13Z ovenpasta joined #lisp 2015-03-26T09:16:24Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:16:45Z mj-0 joined #lisp 2015-03-26T09:16:59Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:17:26Z mj-0 joined #lisp 2015-03-26T09:17:36Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:18:04Z mj-0 joined #lisp 2015-03-26T09:19:03Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:19:53Z mj-0 joined #lisp 2015-03-26T09:20:07Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:20:30Z mj-0 joined #lisp 2015-03-26T09:20:46Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:21:07Z mj-0 joined #lisp 2015-03-26T09:21:12Z yati_ quit (Ping timeout: 252 seconds) 2015-03-26T09:21:47Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:21:57Z munksgaard joined #lisp 2015-03-26T09:22:23Z mj-0 joined #lisp 2015-03-26T09:22:43Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:23:00Z mj-0 joined #lisp 2015-03-26T09:23:29Z selat quit (Quit: Lost terminal) 2015-03-26T09:23:30Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:23:37Z mj-0 joined #lisp 2015-03-26T09:23:57Z larion joined #lisp 2015-03-26T09:23:58Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:24:15Z mj-0 joined #lisp 2015-03-26T09:24:29Z stardiviner joined #lisp 2015-03-26T09:24:30Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:24:44Z knobo joined #lisp 2015-03-26T09:24:52Z mj-0 joined #lisp 2015-03-26T09:25:05Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:26:11Z mj-0 joined #lisp 2015-03-26T09:27:24Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:28:37Z mj-0 joined #lisp 2015-03-26T09:28:53Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:29:14Z mj-0 joined #lisp 2015-03-26T09:29:27Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:29:51Z mj-0 joined #lisp 2015-03-26T09:30:29Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:31:05Z mj-0 joined #lisp 2015-03-26T09:31:05Z cadadar quit (Quit: Leaving.) 2015-03-26T09:31:08Z _5kg quit (Ping timeout: 244 seconds) 2015-03-26T09:31:34Z jtza8 joined #lisp 2015-03-26T09:31:34Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:31:43Z mj-0 joined #lisp 2015-03-26T09:31:50Z stardiviner quit (Ping timeout: 252 seconds) 2015-03-26T09:31:56Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:32:11Z _5kg joined #lisp 2015-03-26T09:32:20Z mj-0 joined #lisp 2015-03-26T09:32:21Z Niac quit (Remote host closed the connection) 2015-03-26T09:32:58Z elvis4526 joined #lisp 2015-03-26T09:33:13Z dfinninger joined #lisp 2015-03-26T09:33:13Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:33:37Z mj-0 joined #lisp 2015-03-26T09:33:43Z yati_ joined #lisp 2015-03-26T09:33:48Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:34:12Z mj-0 joined #lisp 2015-03-26T09:34:25Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:34:50Z mj-0 joined #lisp 2015-03-26T09:35:29Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:36:05Z mj-0 joined #lisp 2015-03-26T09:36:19Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:36:43Z mj-0 joined #lisp 2015-03-26T09:36:56Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:37:20Z mj-0 joined #lisp 2015-03-26T09:37:58Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:38:13Z dfinninger quit (Ping timeout: 264 seconds) 2015-03-26T09:38:35Z mj-0 joined #lisp 2015-03-26T09:39:23Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:39:49Z mj-0 joined #lisp 2015-03-26T09:40:05Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:40:26Z mj-0 joined #lisp 2015-03-26T09:40:56Z cyphase quit (Ping timeout: 256 seconds) 2015-03-26T09:40:56Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:41:03Z mj-0 joined #lisp 2015-03-26T09:41:42Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:42:15Z xan_ joined #lisp 2015-03-26T09:42:18Z mj-0 joined #lisp 2015-03-26T09:42:56Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T09:44:11Z mj-0 joined #lisp 2015-03-26T09:44:45Z stardiviner joined #lisp 2015-03-26T09:45:24Z larion quit (Ping timeout: 252 seconds) 2015-03-26T09:45:32Z mj-0 quit (Read error: No route to host) 2015-03-26T09:46:30Z sebboh joined #lisp 2015-03-26T09:46:59Z larion joined #lisp 2015-03-26T09:47:29Z perl_startup quit (Ping timeout: 246 seconds) 2015-03-26T09:47:47Z perl_startup joined #lisp 2015-03-26T09:49:37Z stardiviner quit (Ping timeout: 264 seconds) 2015-03-26T09:49:49Z p_l quit (Ping timeout: 245 seconds) 2015-03-26T09:53:06Z tsumetai joined #lisp 2015-03-26T09:53:36Z cyphase joined #lisp 2015-03-26T10:01:10Z radioninja quit (Ping timeout: 252 seconds) 2015-03-26T10:02:16Z stardiviner joined #lisp 2015-03-26T10:02:22Z Karl_Dscc joined #lisp 2015-03-26T10:06:50Z zacharias joined #lisp 2015-03-26T10:08:51Z stardiviner quit (Ping timeout: 256 seconds) 2015-03-26T10:09:46Z troll- joined #lisp 2015-03-26T10:09:52Z troll-: lisp is fookin garbage 2015-03-26T10:09:57Z radioninja joined #lisp 2015-03-26T10:10:16Z hitecnologys: troll-: do you have more to share with us? 2015-03-26T10:10:25Z troll-: you fucking nugget 2015-03-26T10:10:49Z hitecnologys: I may be, but what about you? 2015-03-26T10:11:09Z troll-: suck my cock 2015-03-26T10:11:30Z joga: wouldn't that be pedophilia? 2015-03-26T10:11:30Z jackdaniel: isn't it that zool from yesterday? 2015-03-26T10:11:30Z hitecnologys: Sombody, please ban this gentleman. He's incapable of constructive discussion. 2015-03-26T10:11:46Z troll-: bitchass punk 2015-03-26T10:11:49Z clintm: Aww, come on, troll... at least be creative. 2015-03-26T10:11:58Z hitecnologys: Indeed. 2015-03-26T10:12:20Z hitecnologys: I miss those original trolls. Nowadays they're like bots. 2015-03-26T10:12:32Z jackdaniel: you know, you could say something more on-topic. like, erm, idk, parenthesis isn't *original*, but it's better then nothing. something like too many parenthesis ;) 2015-03-26T10:12:43Z clintm: or "clojure is clearly the way and the light" 2015-03-26T10:13:00Z troll-: fuck off n1gger 2015-03-26T10:13:22Z joga: nice censoring there 2015-03-26T10:13:24Z jackdaniel: (setf troll nil) ;-) 2015-03-26T10:13:31Z clintm: or maybe "McCarthy stole lisp from Rich Hickey" 2015-03-26T10:13:46Z troll-: lisp is for virgins 2015-03-26T10:13:47Z clintm: jack and I's suggestions are pretty good, imo. You shoudl take notes. 2015-03-26T10:13:50Z joga: guess this channel is quiet enough for people to actually talk to trolls 2015-03-26T10:13:53Z troll-: bitchass punks 2015-03-26T10:14:07Z hitecnologys: Oh, here we go! The loop! 2015-03-26T10:14:16Z clintm: eliza bot, maybe? 2015-03-26T10:14:17Z joga: nah this is in plural 2015-03-26T10:14:17Z clintm: heh 2015-03-26T10:14:21Z jackdaniel: lisp is for virgins -- lisp is for ppl of pure hearts ;D 2015-03-26T10:14:26Z hitecnologys: Bleh, right. 2015-03-26T10:14:29Z troll-: punk madafaka 2015-03-26T10:14:48Z joga: probably someone teaching their little brother to play badass on irc 2015-03-26T10:14:53Z hitecnologys: Maybe he's on Markov chains? 2015-03-26T10:15:02Z perl_startup: lol 2015-03-26T10:15:04Z joga: insufflated markov chains do that to you, yes 2015-03-26T10:15:05Z brucem: It is probably just a 6 year old child. 2015-03-26T10:15:12Z brucem: maybe 7. 2015-03-26T10:15:18Z troll-: fuck you 2015-03-26T10:15:30Z joga: no, it would be illegal 2015-03-26T10:15:39Z jackdaniel: sufficiently primitive AI is impossible to differen tiate then 6 yo 2015-03-26T10:15:40Z jackdaniel: ;D 2015-03-26T10:15:45Z hitecnologys: No, 6-year-old is more intellignent than this specimen over there. 2015-03-26T10:16:03Z troll-: fuck off 2015-03-26T10:16:04Z clintm: I used to imagine that people like Jeff Bezos or Larry Ellison would get on IRC and be a complete retard just for the irony of it iall. 2015-03-26T10:16:11Z hitecnologys: troll-: no you! 2015-03-26T10:16:14Z brucem: troll- actually came to #dylan to harass me there. 2015-03-26T10:16:17Z brucem: I guess he must be 6. 2015-03-26T10:16:26Z hitecnologys: Mmm. 2015-03-26T10:16:36Z jackdaniel: clintm: nice idea idd. when ill be fame and popular, and smart, and everything, ill do that ;d 2015-03-26T10:16:36Z troll-: lisp is for losers 2015-03-26T10:17:11Z hitecnologys: troll-: what exactly are you trying to accomplish by saying that out loud? 2015-03-26T10:17:14Z troll-: loser fags 2015-03-26T10:17:27Z jackdaniel: fags or virgins? (?) 2015-03-26T10:17:36Z troll-: punks 2015-03-26T10:17:37Z clintm: could be both 2015-03-26T10:18:03Z hitecnologys: clintm: don't play with my imagination... 2015-03-26T10:18:03Z Shinmera: Can we stop spamming the chat with bot fodder? 2015-03-26T10:18:04Z jackdaniel: really? tought beeing a fag requires initiation 2015-03-26T10:18:13Z troll-: faggits 2015-03-26T10:18:13Z echo-area quit (Read error: Connection reset by peer) 2015-03-26T10:18:26Z november` left #lisp 2015-03-26T10:18:27Z axion: /ignore troll- 2015-03-26T10:18:30Z hitecnologys: Right. 2015-03-26T10:18:31Z troll-: stfu fag 2015-03-26T10:18:34Z hitecnologys shuts up 2015-03-26T10:18:38Z Shinmera: axion: I can't ignore all the people reacting to it. 2015-03-26T10:18:39Z p_l joined #lisp 2015-03-26T10:18:42Z troll-: suck my cock 2015-03-26T10:18:44Z troll-: bitch 2015-03-26T10:18:56Z troll-: lisp noobs 2015-03-26T10:19:16Z clintm hugs troll- 2015-03-26T10:19:59Z troll-: fuck off 2015-03-26T10:20:10Z troll-: PUNK 2015-03-26T10:20:11Z axion: Shinmera: this is true. i'm uncertain which is more childish, a troll or responding to said troll expecting a constructive result 2015-03-26T10:21:34Z brucem: axion: I've seen the latter happen. 2015-03-26T10:21:37Z troll- left #lisp 2015-03-26T10:21:43Z hitecnologys: Shinmera: more on topic: I was always wondering how long did it took for you to develop radiance? I mean the whole planning and designing as well as time you needed to relize you need one included. 2015-03-26T10:22:04Z stardiviner joined #lisp 2015-03-26T10:22:12Z clintm: You can tell a lot about a community by how they respond to trolls. #haskell is a great example. 2015-03-26T10:22:53Z jackdaniel: clintm: you mean? 2015-03-26T10:22:55Z Shinmera: hitecnologys: I started with Radiance as my first project in Lisp, which was... two years ago in June now, I think. 2015-03-26T10:23:00Z hitecnologys: Shinmera: I'm asking since I've been doing something similar for quite some time and I'm uncertain whether I should dump it or not since it's very time consuming and prevents me from working. 2015-03-26T10:23:30Z Shinmera: hitecnologys: I finalised development on it in last December. 2015-03-26T10:23:50Z Shinmera: Next is the specification process, followed by implementation corrections and documentation. 2015-03-26T10:23:58Z Shinmera: But code-wise it is complete. 2015-03-26T10:24:19Z hitecnologys: Shinmera: oh, I've been Lisping for about the same time but I'm still doing the system of mine. 2015-03-26T10:24:41Z Shinmera: The history of Radiance goes many years further back though, since it is the fifth iteration in my series of frameworks. The first of which happened in early 2010. 2015-03-26T10:25:02Z hitecnologys: How did you come up with idea? 2015-03-26T10:25:34Z hitecnologys: I ended up needing similar project because duplicative code. 2015-03-26T10:26:04Z sebboh quit (Ping timeout: 255 seconds) 2015-03-26T10:26:09Z Shinmera: I was doing a webcomic at the time and hated that all websites I knew required people to sign up twice, once for the webcomic section and once for the forum. That was stupid. All other solutions like joomla or wordpress always looked horrible, were a mess to set up and administer, or both. So I started on writing my own that would allow better interaction between various components, which is still the main goal 2015-03-26T10:26:10Z Shinmera: of Radiance. 2015-03-26T10:26:14Z mj-0 joined #lisp 2015-03-26T10:26:42Z hitecnologys: I see. 2015-03-26T10:27:18Z Shinmera: Radiance is the first iteration that was really designed to be used for anyone else but me though. I wouldn't want to have anyone else use the previous versions (which were written in PHP). 2015-03-26T10:28:31Z Shinmera: Also see my slides for ELS https://github.com/Shinmera/talks/blob/master/els2015-radiance/slides.pdf 2015-03-26T10:28:34Z hitecnologys: And what's you opinion on anybody else using it now? 2015-03-26T10:29:09Z Shinmera: Right now I still do not suggest it due to the absolute lack of documentation aside from tutorial articles, and the potential to still change during the specification process. 2015-03-26T10:29:22Z hitecnologys: I see. 2015-03-26T10:29:28Z Shinmera: But I've already written a bunch of large projects in it, so it is "ready". 2015-03-26T10:30:12Z dsp_: Shinmera: interesting. i have not seen this before. does it build upon hunchentoot or is it completely from scratch? does it include a http server in it, or does it run on top of another, or? 2015-03-26T10:30:29Z Shinmera: dsp_: Radiance does not care about the server. 2015-03-26T10:30:33Z perl_startup quit (Ping timeout: 244 seconds) 2015-03-26T10:30:45Z Shinmera: It is a web-application environment, more than a framework in the traditional sense. 2015-03-26T10:31:02Z Shinmera: The server, as well as other parts, is implemented in the form of an interface that applications use. 2015-03-26T10:31:23Z Shinmera: The actual implementation of the interface is left up to the developer or end-user/sysop though and can be effortlessly exchanged. 2015-03-26T10:31:31Z stardiviner quit (Ping timeout: 256 seconds) 2015-03-26T10:31:49Z Shinmera: In other words, you can use any server you want. 2015-03-26T10:32:13Z dsp_: so it would be something called via fastcgi or something? 2015-03-26T10:32:19Z Shinmera: I implemented drivers for hunchentoot, wookie, and woo (incomplete) though. 2015-03-26T10:32:38Z Shinmera: If you can fit that into the interface model, possibly, I guess. 2015-03-26T10:32:46Z Shinmera: I don't know anything about CGI, so 2015-03-26T10:32:57Z dsp_: i am just wondering, it sounds like it requires native lisp hooks 2015-03-26T10:33:10Z dsp_: i.e. it is not server agnostic but something you latch on to another lisp app 2015-03-26T10:34:00Z dfinninger joined #lisp 2015-03-26T10:34:01Z Shinmera: Unfortunately I can't quite follow what you mean. If you can write a module/lisp code that offers the functions as specified in https://github.com/Shirakumo/radiance-core/blob/master/standard-interfaces.lisp#L102 then you're golden. 2015-03-26T10:34:13Z resttime_ quit (Quit: resttime_) 2015-03-26T10:34:36Z hitecnologys: Shinmera: there's this problem I have with rewriting anything I see or know it there. It may be good but it degrades my productivity exponentially the further I go until it reaches complex values. What's surprising is that you reached the point I wanted to reach but going different path. I was studing you codes and I came to conclusion that I might just throw away all the hacks I have and start doing actual 2015-03-26T10:34:38Z hitecnologys: work instead of rewriting the whole stack by using and improving some else's products. Is this good or bad? I'm confused, really. 2015-03-26T10:35:01Z hitecnologys: (Ah, I hate the limit of characters per message) 2015-03-26T10:35:23Z Shinmera: hitecnologys: Well. Uh. I hardly ever worked on anyone else's projects, so I can't tell you! 2015-03-26T10:35:43Z Shinmera: I'd be happy to hear that Radiance is being put to use though and I'd be glad to improve it with feedback. 2015-03-26T10:36:03Z attila_lendvai quit (Ping timeout: 256 seconds) 2015-03-26T10:36:33Z hitecnologys: Shinmera: well, I wasn't actually expecting someone to help me figure out. That was mostly rethorical question. 2015-03-26T10:36:38Z Shinmera: The good part of Radiance is that, as long as you don't use driver-specific functions, you can always at any point decide to write your own that does what you want and still have your code work. 2015-03-26T10:37:30Z pjb: - 2015-03-26T10:38:20Z stardiviner joined #lisp 2015-03-26T10:38:43Z hitecnologys: Eh... I should probably get back to work. Thank you for consultation. 2015-03-26T10:38:44Z dfinninger quit (Ping timeout: 256 seconds) 2015-03-26T10:39:00Z stardiviner quit (Client Quit) 2015-03-26T10:39:03Z Karl_Dscc quit (Remote host closed the connection) 2015-03-26T10:39:58Z selat joined #lisp 2015-03-26T10:40:55Z p_l quit (Ping timeout: 255 seconds) 2015-03-26T10:41:15Z Shinmera: dsp_: Alternatively though you can drop the server interface altogether by stubbing it, and manually call RADIANCE:REQUEST yourself. 2015-03-26T10:41:39Z Shinmera: dsp_: So you could also have something that calls into lisp from outside like CGI, I guess. I haven't explored that possibility myself, so I can't tell you anything more certain. 2015-03-26T10:43:36Z dsp_: yeah no worries, just i was looking at it briefly for an overview. i am sure i could figure it out if i invested time to actually RTFC ;) thanks 2015-03-26T10:47:23Z jtza8 quit (Ping timeout: 256 seconds) 2015-03-26T10:49:38Z kcj quit (Remote host closed the connection) 2015-03-26T10:49:57Z Shinmera quit (Quit: 昼ごはんを食べます。) 2015-03-26T10:51:58Z EvW joined #lisp 2015-03-26T10:53:13Z larion quit (Ping timeout: 264 seconds) 2015-03-26T10:53:43Z danlentz joined #lisp 2015-03-26T10:55:40Z keen__________26 joined #lisp 2015-03-26T10:56:11Z stardiviner joined #lisp 2015-03-26T10:56:49Z sdothum joined #lisp 2015-03-26T10:56:50Z stardiviner quit (Client Quit) 2015-03-26T10:58:16Z perl_startup joined #lisp 2015-03-26T10:58:43Z keen__________25 quit (Ping timeout: 256 seconds) 2015-03-26T10:59:28Z intinig joined #lisp 2015-03-26T11:02:34Z stardiviner joined #lisp 2015-03-26T11:05:27Z rlazo quit (Remote host closed the connection) 2015-03-26T11:07:19Z theos quit (Disconnected by services) 2015-03-26T11:07:47Z theos joined #lisp 2015-03-26T11:14:35Z kushal quit (Quit: Leaving) 2015-03-26T11:14:53Z JJaskologist joined #lisp 2015-03-26T11:14:58Z kushal joined #lisp 2015-03-26T11:15:09Z Oladon1 joined #lisp 2015-03-26T11:16:19Z larion joined #lisp 2015-03-26T11:16:25Z Beetny quit (Ping timeout: 256 seconds) 2015-03-26T11:16:25Z djinni` quit (Ping timeout: 256 seconds) 2015-03-26T11:16:25Z capitaomorte quit (Ping timeout: 256 seconds) 2015-03-26T11:16:33Z capitaomorte` joined #lisp 2015-03-26T11:16:46Z gravicappa joined #lisp 2015-03-26T11:17:07Z Beetny joined #lisp 2015-03-26T11:17:16Z yeltzooo9 joined #lisp 2015-03-26T11:17:20Z Vivitron` joined #lisp 2015-03-26T11:17:20Z samebcha1e joined #lisp 2015-03-26T11:17:56Z finnrobi_ joined #lisp 2015-03-26T11:18:01Z yeltzooo quit (Ping timeout: 256 seconds) 2015-03-26T11:18:13Z oGMo_ joined #lisp 2015-03-26T11:18:41Z motumla_ joined #lisp 2015-03-26T11:19:16Z knobo quit (Ping timeout: 252 seconds) 2015-03-26T11:19:23Z quasisan1 joined #lisp 2015-03-26T11:19:32Z moomin-aba__ joined #lisp 2015-03-26T11:19:32Z nopf_ joined #lisp 2015-03-26T11:19:36Z nydel quit (Ping timeout: 265 seconds) 2015-03-26T11:19:46Z jackc__ joined #lisp 2015-03-26T11:19:51Z tokenrov1 joined #lisp 2015-03-26T11:19:52Z Ven_ joined #lisp 2015-03-26T11:19:54Z funnel_ joined #lisp 2015-03-26T11:20:05Z Rudolph-Miller_ joined #lisp 2015-03-26T11:20:07Z jeremy__ joined #lisp 2015-03-26T11:20:07Z mood_ joined #lisp 2015-03-26T11:21:06Z tsumetai` joined #lisp 2015-03-26T11:21:06Z cmatei_ joined #lisp 2015-03-26T11:21:35Z d4ryus_ joined #lisp 2015-03-26T11:21:45Z fikusz_ joined #lisp 2015-03-26T11:21:57Z JJaskologist quit (Ping timeout: 248 seconds) 2015-03-26T11:22:06Z luis` joined #lisp 2015-03-26T11:22:10Z mj-0 quit (Remote host closed the connection) 2015-03-26T11:22:49Z stokachu_ joined #lisp 2015-03-26T11:22:51Z xan__ joined #lisp 2015-03-26T11:22:52Z sepi quit (Remote host closed the connection) 2015-03-26T11:23:00Z sepi joined #lisp 2015-03-26T11:23:17Z ineiros_ joined #lisp 2015-03-26T11:23:37Z jeremy__ quit (Client Quit) 2015-03-26T11:23:51Z jeremy__ joined #lisp 2015-03-26T11:23:51Z jeremy__ quit (Remote host closed the connection) 2015-03-26T11:23:55Z mikaelj_ joined #lisp 2015-03-26T11:24:06Z ski_ joined #lisp 2015-03-26T11:24:06Z jeremy__ joined #lisp 2015-03-26T11:24:06Z jeremy__ quit (Remote host closed the connection) 2015-03-26T11:24:12Z ajtulloc_ quit (Remote host closed the connection) 2015-03-26T11:24:26Z djinni` joined #lisp 2015-03-26T11:24:30Z jeremy__ joined #lisp 2015-03-26T11:24:38Z jeremy__ quit (Client Quit) 2015-03-26T11:24:50Z rvchangu- joined #lisp 2015-03-26T11:25:05Z tsumetai quit (*.net *.split) 2015-03-26T11:25:05Z xan_ quit (*.net *.split) 2015-03-26T11:25:05Z Ven quit (*.net *.split) 2015-03-26T11:25:05Z stepnem quit (*.net *.split) 2015-03-26T11:25:05Z Jaskologist quit (*.net *.split) 2015-03-26T11:25:05Z slyrus quit (*.net *.split) 2015-03-26T11:25:05Z Rudolph-Miller quit (*.net *.split) 2015-03-26T11:25:05Z mikaelj quit (*.net *.split) 2015-03-26T11:25:05Z rvchangue_ quit (*.net *.split) 2015-03-26T11:25:05Z motumla quit (*.net *.split) 2015-03-26T11:25:05Z fikusz quit (*.net *.split) 2015-03-26T11:25:05Z stokachu quit (*.net *.split) 2015-03-26T11:25:05Z luis quit (*.net *.split) 2015-03-26T11:25:05Z quasisane quit (*.net *.split) 2015-03-26T11:25:05Z ski quit (*.net *.split) 2015-03-26T11:25:05Z mathrick quit (*.net *.split) 2015-03-26T11:25:05Z Tordek quit (*.net *.split) 2015-03-26T11:25:05Z jackc_ quit (*.net *.split) 2015-03-26T11:25:05Z Vivitron quit (*.net *.split) 2015-03-26T11:25:05Z samebchase quit (*.net *.split) 2015-03-26T11:25:05Z finnrobi quit (*.net *.split) 2015-03-26T11:25:05Z oGMo quit (*.net *.split) 2015-03-26T11:25:05Z Zotan quit (*.net *.split) 2015-03-26T11:25:05Z tkd quit (*.net *.split) 2015-03-26T11:25:05Z snafuchs quit (*.net *.split) 2015-03-26T11:25:05Z abbe quit (*.net *.split) 2015-03-26T11:25:05Z stopbyte quit (*.net *.split) 2015-03-26T11:25:05Z sellout quit (*.net *.split) 2015-03-26T11:25:05Z flip214 quit (*.net *.split) 2015-03-26T11:25:05Z stokachu_ is now known as stokachu 2015-03-26T11:25:11Z oGMo_ is now known as oGMo 2015-03-26T11:26:29Z _5kg quit (Ping timeout: 245 seconds) 2015-03-26T11:27:23Z slyrus joined #lisp 2015-03-26T11:27:35Z przl joined #lisp 2015-03-26T11:27:52Z _5kg joined #lisp 2015-03-26T11:27:54Z kushal quit (Ping timeout: 244 seconds) 2015-03-26T11:29:03Z yasha_ joined #lisp 2015-03-26T11:29:21Z Zotan joined #lisp 2015-03-26T11:29:21Z tkd joined #lisp 2015-03-26T11:29:21Z snafuchs joined #lisp 2015-03-26T11:29:21Z abbe joined #lisp 2015-03-26T11:29:21Z stopbyte joined #lisp 2015-03-26T11:29:21Z sellout joined #lisp 2015-03-26T11:29:21Z flip214 joined #lisp 2015-03-26T11:29:24Z kushal joined #lisp 2015-03-26T11:30:30Z elvis4526 quit (*.net *.split) 2015-03-26T11:30:30Z ecraven quit (*.net *.split) 2015-03-26T11:30:30Z pyon quit (*.net *.split) 2015-03-26T11:30:30Z d4ryus quit (*.net *.split) 2015-03-26T11:30:30Z yasha9 quit (*.net *.split) 2015-03-26T11:30:30Z cmatei quit (*.net *.split) 2015-03-26T11:30:30Z funnel quit (*.net *.split) 2015-03-26T11:30:30Z NaNDude quit (*.net *.split) 2015-03-26T11:30:30Z Oladon quit (*.net *.split) 2015-03-26T11:30:30Z nopf quit (*.net *.split) 2015-03-26T11:30:30Z mood quit (*.net *.split) 2015-03-26T11:30:30Z tokenrove quit (*.net *.split) 2015-03-26T11:30:30Z ineiros quit (*.net *.split) 2015-03-26T11:30:30Z moomin-aba_ quit (*.net *.split) 2015-03-26T11:30:30Z bjorkintosh quit (*.net *.split) 2015-03-26T11:30:30Z Patzy quit (*.net *.split) 2015-03-26T11:30:30Z balle quit (*.net *.split) 2015-03-26T11:30:30Z Cheery quit (*.net *.split) 2015-03-26T11:30:30Z sshirokov quit (*.net *.split) 2015-03-26T11:30:30Z sword` quit (*.net *.split) 2015-03-26T11:30:30Z replcated quit (*.net *.split) 2015-03-26T11:30:30Z anunnaki quit (*.net *.split) 2015-03-26T11:30:30Z loke quit (*.net *.split) 2015-03-26T11:30:30Z brandonz quit (*.net *.split) 2015-03-26T11:30:30Z justinmcp quit (*.net *.split) 2015-03-26T11:30:30Z Oddity quit (*.net *.split) 2015-03-26T11:30:30Z bhyde` quit (*.net *.split) 2015-03-26T11:30:30Z alchemis7 quit (*.net *.split) 2015-03-26T11:30:30Z dfox quit (*.net *.split) 2015-03-26T11:30:30Z jackdaniel quit (*.net *.split) 2015-03-26T11:30:30Z ivan\ quit (*.net *.split) 2015-03-26T11:30:30Z rotty quit (*.net *.split) 2015-03-26T11:30:31Z yauz_2 quit (*.net *.split) 2015-03-26T11:30:31Z H4ns quit (*.net *.split) 2015-03-26T11:30:31Z hratsimihah quit (*.net *.split) 2015-03-26T11:30:31Z galdor quit (*.net *.split) 2015-03-26T11:30:31Z nitrix quit (*.net *.split) 2015-03-26T11:30:31Z tstc quit (*.net *.split) 2015-03-26T11:30:31Z viaken quit (*.net *.split) 2015-03-26T11:30:31Z nitro_idiot quit (*.net *.split) 2015-03-26T11:30:31Z phf quit (*.net *.split) 2015-03-26T11:30:31Z p_l|backup quit (*.net *.split) 2015-03-26T11:30:31Z Neptu quit (*.net *.split) 2015-03-26T11:30:31Z renard_ quit (*.net *.split) 2015-03-26T11:30:35Z mathrick joined #lisp 2015-03-26T11:30:40Z funnel_ is now known as funnel 2015-03-26T11:30:42Z mood_ is now known as mood 2015-03-26T11:32:03Z AntiSpamMeta quit (Read error: Connection reset by peer) 2015-03-26T11:32:15Z AntiSpamMeta joined #lisp 2015-03-26T11:32:19Z knobo joined #lisp 2015-03-26T11:33:08Z srcerer quit (Ping timeout: 265 seconds) 2015-03-26T11:33:51Z bjorkintosh joined #lisp 2015-03-26T11:33:51Z Patzy joined #lisp 2015-03-26T11:33:51Z balle joined #lisp 2015-03-26T11:33:51Z Cheery joined #lisp 2015-03-26T11:33:51Z sshirokov joined #lisp 2015-03-26T11:33:51Z bhyde` joined #lisp 2015-03-26T11:33:51Z sword` joined #lisp 2015-03-26T11:33:51Z replcated joined #lisp 2015-03-26T11:33:51Z anunnaki joined #lisp 2015-03-26T11:33:51Z loke joined #lisp 2015-03-26T11:33:51Z brandonz joined #lisp 2015-03-26T11:33:51Z justinmcp joined #lisp 2015-03-26T11:33:51Z Oddity joined #lisp 2015-03-26T11:33:51Z alchemis7 joined #lisp 2015-03-26T11:33:51Z dfox joined #lisp 2015-03-26T11:33:51Z jackdaniel joined #lisp 2015-03-26T11:33:51Z ivan\ joined #lisp 2015-03-26T11:33:51Z rotty joined #lisp 2015-03-26T11:33:51Z yauz_2 joined #lisp 2015-03-26T11:33:51Z H4ns joined #lisp 2015-03-26T11:33:51Z hratsimihah joined #lisp 2015-03-26T11:33:51Z nitrix joined #lisp 2015-03-26T11:33:51Z galdor joined #lisp 2015-03-26T11:33:51Z tstc joined #lisp 2015-03-26T11:33:51Z phf joined #lisp 2015-03-26T11:33:51Z viaken joined #lisp 2015-03-26T11:33:51Z nitro_idiot joined #lisp 2015-03-26T11:33:51Z p_l|backup joined #lisp 2015-03-26T11:33:51Z Neptu joined #lisp 2015-03-26T11:33:51Z renard_ joined #lisp 2015-03-26T11:34:14Z p_l joined #lisp 2015-03-26T11:35:37Z AntiSpamMeta quit (Read error: Connection reset by peer) 2015-03-26T11:35:49Z AntiSpamMeta joined #lisp 2015-03-26T11:37:07Z stepnem joined #lisp 2015-03-26T11:37:13Z myrkraverk joined #lisp 2015-03-26T11:37:41Z myrkraverk: In SBCL, is there a way to get a length, *after* doing sb-sys:vector-sap ? Or do I need to do it first? 2015-03-26T11:38:37Z myrkraverk: As in, when I (sb-sys:vector-sap (coerce (format nil "~A~%" foo) 'simple-base-string)) 2015-03-26T11:41:15Z myrkraverk: Yeah, taking the length of the resulting string from format works; for sb-posix:write. 2015-03-26T11:42:31Z xinau joined #lisp 2015-03-26T11:45:54Z xiaoguo joined #lisp 2015-03-26T11:46:29Z Vutral quit (Ping timeout: 248 seconds) 2015-03-26T11:47:38Z dim: why are you using sbcl specific APIs here? 2015-03-26T11:47:51Z Jubb quit (Read error: Connection reset by peer) 2015-03-26T11:48:29Z NaNDude joined #lisp 2015-03-26T11:48:49Z quazimodo joined #lisp 2015-03-26T11:51:16Z Beetny quit (Ping timeout: 256 seconds) 2015-03-26T11:52:32Z mj-0 joined #lisp 2015-03-26T11:56:23Z mguzmann joined #lisp 2015-03-26T11:56:26Z pjb` joined #lisp 2015-03-26T11:57:37Z alexherbo2 quit (Quit: WeeChat 1.1.1) 2015-03-26T11:58:23Z alexherbo2 joined #lisp 2015-03-26T11:58:38Z pjb quit (Ping timeout: 256 seconds) 2015-03-26T12:00:22Z ecraven joined #lisp 2015-03-26T12:00:51Z mguzmann quit (Client Quit) 2015-03-26T12:01:41Z jtza8 joined #lisp 2015-03-26T12:01:46Z myrkraverk: dim, as in, asking in #lisp, or in this particular code? 2015-03-26T12:02:10Z mj-0 quit (Remote host closed the connection) 2015-03-26T12:02:13Z Jubb joined #lisp 2015-03-26T12:02:14Z dim: I mean as opposed to commonly used trivial-* libs that are portable 2015-03-26T12:02:17Z mj-0 joined #lisp 2015-03-26T12:02:53Z myrkraverk: Oh, well; I'm doing a pid/lock file. And I guess I'm just used to the posix interface for it. 2015-03-26T12:03:06Z dim: ok 2015-03-26T12:04:16Z Jaskologist joined #lisp 2015-03-26T12:06:21Z pyon joined #lisp 2015-03-26T12:06:35Z Harag quit (Ping timeout: 250 seconds) 2015-03-26T12:07:01Z quazimodo quit (Ping timeout: 264 seconds) 2015-03-26T12:07:09Z Harag joined #lisp 2015-03-26T12:07:13Z jtza8 quit (Remote host closed the connection) 2015-03-26T12:08:29Z Quadrescence quit (Quit: This computer has gone to sleep) 2015-03-26T12:09:56Z intinig quit (Remote host closed the connection) 2015-03-26T12:10:00Z rhllor joined #lisp 2015-03-26T12:10:34Z intinig joined #lisp 2015-03-26T12:10:50Z przl quit (Ping timeout: 265 seconds) 2015-03-26T12:11:32Z sol__ quit (Remote host closed the connection) 2015-03-26T12:12:39Z intinig quit (Remote host closed the connection) 2015-03-26T12:12:39Z sol__ joined #lisp 2015-03-26T12:12:53Z intinig joined #lisp 2015-03-26T12:13:42Z Mon_Ouie joined #lisp 2015-03-26T12:14:26Z Jubb quit (Remote host closed the connection) 2015-03-26T12:15:52Z Harag quit (Ping timeout: 255 seconds) 2015-03-26T12:16:30Z the_real_intinig joined #lisp 2015-03-26T12:17:19Z dfinninger joined #lisp 2015-03-26T12:17:48Z quazimodo joined #lisp 2015-03-26T12:18:45Z intinig quit (Ping timeout: 246 seconds) 2015-03-26T12:18:58Z xinau quit (Ping timeout: 250 seconds) 2015-03-26T12:21:36Z dfinninger quit (Ping timeout: 252 seconds) 2015-03-26T12:24:02Z przl joined #lisp 2015-03-26T12:33:53Z xinau joined #lisp 2015-03-26T12:34:37Z the_real_intinig quit (Remote host closed the connection) 2015-03-26T12:35:58Z hlavaty joined #lisp 2015-03-26T12:36:30Z Quadrescence joined #lisp 2015-03-26T12:38:53Z Vutral joined #lisp 2015-03-26T12:40:12Z Karl_Dscc joined #lisp 2015-03-26T12:43:28Z cadadar joined #lisp 2015-03-26T12:45:11Z cadadar1 joined #lisp 2015-03-26T12:45:16Z mj-0 quit (Remote host closed the connection) 2015-03-26T12:45:31Z ziocroc joined #lisp 2015-03-26T12:45:36Z cadadar quit (Client Quit) 2015-03-26T12:48:02Z Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2015-03-26T12:48:28Z mj-0 joined #lisp 2015-03-26T12:50:01Z mj-0 quit (Read error: Connection reset by peer) 2015-03-26T12:51:15Z yrk joined #lisp 2015-03-26T12:51:44Z yrk quit (Changing host) 2015-03-26T12:51:44Z yrk joined #lisp 2015-03-26T12:55:44Z frkout quit (Ping timeout: 244 seconds) 2015-03-26T12:56:13Z Mon_Ouie quit (Ping timeout: 264 seconds) 2015-03-26T12:59:27Z mbuf quit (Quit: Leaving) 2015-03-26T13:00:37Z yati_ quit (Ping timeout: 248 seconds) 2015-03-26T13:05:42Z hlavaty quit (Remote host closed the connection) 2015-03-26T13:06:40Z mishoo quit (Read error: No route to host) 2015-03-26T13:07:10Z hlavaty joined #lisp 2015-03-26T13:08:21Z eudoxia joined #lisp 2015-03-26T13:10:07Z Harag joined #lisp 2015-03-26T13:11:14Z LiamH joined #lisp 2015-03-26T13:11:17Z Cymew: http://paste.lisp.org/+351M 2015-03-26T13:11:20Z hiyosi joined #lisp 2015-03-26T13:11:34Z Cymew: Anyone care to tell me the bleeding obvious reason a is not updated? 2015-03-26T13:11:52Z Cymew: I know it's a doh moment in there somewhere... 2015-03-26T13:12:03Z Quadrescence: Cymew, you don't need SETF in there 2015-03-26T13:13:14Z Cymew: Hmm. Really? But surely all variables should act the same then, should they not? 2015-03-26T13:13:47Z Quadrescence: a DO/DO* clause has the form (VAR INIT NEXT-VALUE) 2015-03-26T13:13:57Z Quadrescence: you just provide the next value, like (+ m 1) 2015-03-26T13:14:30Z cadadar1 quit (Quit: Leaving.) 2015-03-26T13:14:40Z cadadar joined #lisp 2015-03-26T13:14:42Z dlowe: (1+ m) 2015-03-26T13:14:49Z Quadrescence: dlowe, w/e doesn't matter 2015-03-26T13:14:58Z Quadrescence: dlowe, also looks nicer when all the other operations are binary 2015-03-26T13:15:11Z Quadrescence: Cymew, do you really want A to equal 0 all the time? You write (- M2 M2) 2015-03-26T13:15:31Z Cymew: I never remember if it's 1+ or +1 so I use the long form... 2015-03-26T13:16:00Z Cymew: Quadrescence: Nope, that's the deal I do not want A eq 0 all the time. 2015-03-26T13:16:23Z Quadrescence: Then perhaps you want (- M2 N2) :) 2015-03-26T13:16:47Z Cymew: There was the doh! moment 2015-03-26T13:16:54Z Quadrescence: Cymew, you say M2 = (* M M), and M is initialized to 1, yet M2 is initialized to 0. Do you actually want it to be initialized to 1? 2015-03-26T13:16:55Z Cymew: Thanks Quadrescence! 2015-03-26T13:17:38Z Quadrescence: (likewise with A, B, and C) 2015-03-26T13:18:13Z Cymew: Does that make a difference? 2015-03-26T13:18:38Z Cymew: I have not thought that far yet, since A was acting so "strange" 2015-03-26T13:19:19Z Quadrescence: Cymew, If M2 is supposed to always equal (* M M), I recommend you put (* M M) as the initialization as well 2015-03-26T13:19:25Z Quadrescence: likewise for N2, A, B, and C. 2015-03-26T13:19:51Z Quadrescence: i.e., (m2 (* m m) (* m m)) 2015-03-26T13:19:58Z cadadar quit (Quit: Leaving.) 2015-03-26T13:20:02Z Quadrescence: or (b (* 2 m n) (* 2 m n)) 2015-03-26T13:20:37Z _pakchoi_ops joined #lisp 2015-03-26T13:21:38Z gklimowicz quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-03-26T13:22:15Z Cymew: At least I can see the difference between M and N now. Jeebus. 2015-03-26T13:23:04Z dlowe: this is why we like long variable names in lisp land 2015-03-26T13:24:03Z Quadrescence: dlowe, this code looks like abstract number theoretic code 2015-03-26T13:24:11Z Quadrescence: i don't think long variable names would be appropriate ;) 2015-03-26T13:24:15Z Cymew: Yeah, when I'm not doing math I do that. 2015-03-26T13:24:23Z dlowe: there's still easier names to pick apart than m and n 2015-03-26T13:24:34Z mishoo joined #lisp 2015-03-26T13:24:48Z Cymew: It's far easier to program a webserver than number theory, at least when I'm involved. 2015-03-26T13:25:38Z Quadrescence: dlowe, ℳ abd 𝔑 ? :) 2015-03-26T13:25:51Z dlowe: perfect! 2015-03-26T13:25:52Z Quadrescence: and* 2015-03-26T13:27:01Z Quadrescence: Alright, time for bed. Adios. 2015-03-26T13:27:04Z Quadrescence quit (Quit: This computer has gone to sleep) 2015-03-26T13:32:07Z cadadar joined #lisp 2015-03-26T13:35:10Z intinig joined #lisp 2015-03-26T13:41:40Z tkhoa2711 joined #lisp 2015-03-26T13:43:20Z hlavaty quit (Remote host closed the connection) 2015-03-26T13:43:37Z intinig quit (Ping timeout: 264 seconds) 2015-03-26T13:45:44Z vdamewood quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-03-26T13:45:55Z tkhoa2711 quit (Client Quit) 2015-03-26T13:46:29Z yasha_ quit (Ping timeout: 248 seconds) 2015-03-26T13:53:41Z gklimowicz joined #lisp 2015-03-26T13:56:36Z Posterdati: hi 2015-03-26T13:57:53Z Posterdati: please, I've got a problem with cl-who and section tag... (:section :id 0) is badly converted in html5: ... 2015-03-26T13:59:12Z cadadar quit (Quit: Leaving.) 2015-03-26T13:59:27Z cadadar joined #lisp 2015-03-26T13:59:44Z yasha_ joined #lisp 2015-03-26T13:59:56Z intinig joined #lisp 2015-03-26T14:00:49Z Shinmera joined #lisp 2015-03-26T14:00:53Z ndrei quit (Ping timeout: 248 seconds) 2015-03-26T14:00:58Z paradoja joined #lisp 2015-03-26T14:02:17Z frkout joined #lisp 2015-03-26T14:05:17Z flip214: Posterdati: (:section :id "0") 2015-03-26T14:06:49Z Posterdati: whatever: it becames .... 2015-03-26T14:07:16Z frkout quit (Ping timeout: 256 seconds) 2015-03-26T14:08:44Z Posterdati: flip214: ok I tried (:section :id "0") I did something wrong elsewhere 2015-03-26T14:09:56Z mood: Even with the 0 as a number it works for me 2015-03-26T14:10:06Z cadadar quit (Quit: Leaving.) 2015-03-26T14:10:21Z cadadar joined #lisp 2015-03-26T14:11:02Z cadadar quit (Client Quit) 2015-03-26T14:11:12Z cadadar joined #lisp 2015-03-26T14:11:30Z intinig quit (Remote host closed the connection) 2015-03-26T14:12:04Z intinig joined #lisp 2015-03-26T14:14:45Z Posterdati: flip214: thanks 2015-03-26T14:14:50Z Posterdati: flip214: solved! 2015-03-26T14:17:30Z _pakchoi_ops quit (Read error: Connection reset by peer) 2015-03-26T14:19:53Z kushal quit (Ping timeout: 252 seconds) 2015-03-26T14:20:09Z Ven joined #lisp 2015-03-26T14:20:27Z intinig quit (Ping timeout: 256 seconds) 2015-03-26T14:23:00Z oleo joined #lisp 2015-03-26T14:23:49Z oleo: hello :) 2015-03-26T14:24:07Z kushal joined #lisp 2015-03-26T14:25:29Z rhllor quit (Quit: rhllor) 2015-03-26T14:27:25Z ruste joined #lisp 2015-03-26T14:31:36Z mvdwege joined #lisp 2015-03-26T14:32:56Z mvdwege: trying to compile clsql-postgresql on sbcl 1.2.4 bombs with "Component CLSQL-UFFI-SYSTEM::UFFI does not match version 2.0". Google gives no useful answers. What do I need to fix this? 2015-03-26T14:34:55Z bobbysmith007: mvdwege: try using the clsql-postgresql-socket3 backend 2015-03-26T14:35:13Z bobbysmith007: unless you REALLY need the c bridge you will be much happier 2015-03-26T14:35:36Z mvdwege: bobbysmith007: ah, ok. Will do that. Is the same solution applicable for clsql-mysl? 2015-03-26T14:35:45Z bobbysmith007: mvdwege: nope :) 2015-03-26T14:36:06Z bobbysmith007: mvdwege: you might get lucky and have it work by loading clsql-cffi before loading anything else 2015-03-26T14:36:12Z mvdwege: bobbysmith007: aaarrgh. I need to connect to both. Postgres was the most important, so I asked that one first. 2015-03-26T14:36:29Z ski_ is now known as ski 2015-03-26T14:36:38Z bobbysmith007: clsql-cffi uses the newer FFI lib, tends to be faster and has less bugs 2015-03-26T14:37:33Z mvdwege: bobbysmith007: I suspected something like that; especially when I saw the conditional :depends-on 2015-03-26T14:37:44Z mvdwege: bobbysmith007: and yep, loading clsql-cffi first works. thx! 2015-03-26T14:38:43Z bobbysmith007: mvdwege: huzzah... I will have to look at what uffi is doing, though I (have long) suspect that the appropriate action is to drop uffi for cffi altogether 2015-03-26T14:39:18Z mvdwege: bobbysmith007: From what I've seen you'd be right. 2015-03-26T14:41:42Z bobbysmith007: mvdwege: part of the problem is that uffi's only existance (to the best of my knowledge) is in support of clsql and the maintainer of both was at one point in history reticent to move over. That was years ago now though, and the world is a much different place thanks to quicklisp (Thanks Xach!) and a few other modernizations. Now I suspect the problem is more no one taking the time to actually raise the issue and do the work. Espe 2015-03-26T14:42:50Z mvdwege: bobbysmith007: Yeah, I tried to raise the issue, but the mailing list won't let me subscribe. 2015-03-26T14:43:47Z bobbysmith007: *sigh* thats another problem in itself I guess. What was the error and I will bring it to Kevins attention 2015-03-26T14:43:56Z bobbysmith007: (the error subing to the list) 2015-03-26T14:44:27Z mvdwege: bobbysmith007: No error at all, just no confirmation mail at all. I saw Kevin's mail, and I just forgot to mail him, and then today I just straight went to IRC. 2015-03-26T14:44:41Z bobbysmith007: ahh 2015-03-26T14:44:43Z mvdwege: bobbysmith007: I'll drop him a mail sometime this afternoon. 2015-03-26T14:45:34Z xificurC joined #lisp 2015-03-26T14:46:27Z bobbysmith007: mvdwege: for what its worth, I have been running clsql-cffi successfully for many years. Also while the mysql backend is improving, historically speaking it is one of the less well tested / well used backends. Plenty of people have been improving it though, so I believe it should do most of what you need without too much trouble. 2015-03-26T14:47:12Z mvdwege: bobbysmith007: Mysql is not a big thing in production here, so I'm not going to stress it like I will the Pg backend, so that's fine ;) 2015-03-26T14:49:20Z Shinmera: Is there a specific reason you want to use CLSQL as opposed to, say, Postmodern? 2015-03-26T14:49:20Z bobbysmith007: mvdwege: you probably still want to use the postgres-socket3 backend for postgres. It uses cl-postgres / postmodern and has support for things like command objects / parameterized queries that the others are lacking. It also tends to do a bit better with correctly typing the results for you 2015-03-26T14:49:52Z bobbysmith007: Shinmera: well if you are trying to talk to two different types of databases at once, then clsql has that benefit 2015-03-26T14:50:23Z Shinmera: I just never had an easy time with clsql, so I can't personally recommend using it. 2015-03-26T14:50:30Z Shinmera: But yeah, it has that potential benefit. 2015-03-26T14:50:30Z bobbysmith007: theres also some differences in the ORM / query layer that might suggest some preference toward one or the other 2015-03-26T14:50:34Z remi`bd joined #lisp 2015-03-26T14:51:38Z mvdwege: Shinmera: if I had to deal with pg alone, sure. I like postmodern better. but while I don't have to connect to both at the same time, I do use Pg and MySQL. 2015-03-26T14:51:53Z bobbysmith007: Shinmera: if you wanted just postgres, I would definitely suggest that postmodern is probably a better starting place. Unfortunately I have one app talking to 3-4 different databases and clsql handles that and nothing else does 2015-03-26T14:52:29Z bobbysmith007: mvdwege: also be sure to checkout clsql-helper which is my mud-ball of utilities accumulated from 8 years of clsql use 2015-03-26T14:52:42Z Shinmera: You could try your hands on using an SQL generator and then using various specific back-ends. 2015-03-26T14:52:44Z bobbysmith007: it rounds some of the rough edges 2015-03-26T14:53:07Z mvdwege: Shinmera: Oh for sure. This is Lisp after all ; 2015-03-26T14:53:27Z bobbysmith007: also cl-csv and datatable are pretty well integrated with clsql and make importing / exporting pretty reasonable 2015-03-26T14:53:29Z Shinmera is doing almost that in Radiance 2015-03-26T14:53:54Z mvdwege: bobbysmith007: Oh cool. Installed. 2015-03-26T14:54:29Z bobbysmith007: mvdwege: also finally clsql-orm will generate your classes from existing database schemas (by default clsql is sort of setup to go classes->schema instead of schema->classes) 2015-03-26T14:56:42Z mvdwege: bobbysmith007: That's nice. Unfortunately some of my data is in queries with lots of joins and aggregates. That does not usually play well with ORMs. Best ORM I've seen to work with that was Perl's DBIx::Class, and even that used pseudoSQL to basically throw raw queries at the DB. 2015-03-26T14:58:09Z stardiviner quit (Ping timeout: 245 seconds) 2015-03-26T14:58:49Z ndrei joined #lisp 2015-03-26T14:59:25Z bobbysmith007: mvdwedge: clsql-helper:db-objs is nice for that, give a class name and a query and it makes instances of each of the rows mapping column->slots, but yeah you are giving it raw sql. I like my ORMs as thin as possible while staying useful 2015-03-26T15:00:10Z cadadar quit (Quit: Leaving.) 2015-03-26T15:00:53Z ahungry_ joined #lisp 2015-03-26T15:01:30Z dfinninger joined #lisp 2015-03-26T15:04:20Z hlavaty joined #lisp 2015-03-26T15:05:13Z cluck joined #lisp 2015-03-26T15:10:05Z vaporatorius joined #lisp 2015-03-26T15:11:45Z stardiviner joined #lisp 2015-03-26T15:11:54Z intinig joined #lisp 2015-03-26T15:13:32Z xiaoguo quit (Ping timeout: 265 seconds) 2015-03-26T15:14:53Z rhllor joined #lisp 2015-03-26T15:15:46Z rhllor quit (Read error: Connection reset by peer) 2015-03-26T15:17:48Z rhllor joined #lisp 2015-03-26T15:20:10Z paradoja quit (Read error: Connection reset by peer) 2015-03-26T15:20:41Z gravicappa quit (Remote host closed the connection) 2015-03-26T15:25:29Z Oladon1 is now known as Oladon 2015-03-26T15:26:31Z f3lp joined #lisp 2015-03-26T15:27:44Z p_l: mvdwege: out of CL ORMs, perec I think could deal with such data pretty well, on Ruby front, Sequel and Datamapper 2015-03-26T15:27:49Z aap joined #lisp 2015-03-26T15:28:32Z mvdwege: p_l: thanks for the perec tip. 2015-03-26T15:28:50Z d4ryus joined #lisp 2015-03-26T15:29:17Z antgreen joined #lisp 2015-03-26T15:29:24Z p_l: also, postmodern is also an ORM, and take care that ORM doesn't need to map into classes in ActiveRecord pattern :) 2015-03-26T15:30:20Z harish joined #lisp 2015-03-26T15:31:46Z d4ryus_ quit (Ping timeout: 244 seconds) 2015-03-26T15:34:28Z radioninja quit (Ping timeout: 252 seconds) 2015-03-26T15:34:28Z Petit_Dejeuner_ quit (Ping timeout: 252 seconds) 2015-03-26T15:37:08Z intinig quit (Remote host closed the connection) 2015-03-26T15:38:25Z f3lp quit (Quit: Leaving) 2015-03-26T15:38:39Z xiaoguo joined #lisp 2015-03-26T15:38:42Z karswell quit (Remote host closed the connection) 2015-03-26T15:38:49Z f3lp joined #lisp 2015-03-26T15:41:27Z pt1 quit (Ping timeout: 252 seconds) 2015-03-26T15:42:04Z emaczen joined #lisp 2015-03-26T15:42:57Z kobain joined #lisp 2015-03-26T15:43:10Z emaczen: I just installed a newer version of SBCL and if I run sbcl in the terminal it will start that newer version. However, Slime is still running the older version -- how do I tell slime of the newer version? 2015-03-26T15:44:13Z aap quit (Ping timeout: 255 seconds) 2015-03-26T15:46:04Z f3lp quit (Quit: Leaving) 2015-03-26T15:46:38Z f3lp joined #lisp 2015-03-26T15:46:45Z emaczen: the differences between install paths are: /usr/bin and /usr/local/bin 2015-03-26T15:49:41Z emaczen: ahh this in my init.el file 2015-03-26T15:49:51Z emaczen: thanks 2015-03-26T15:50:13Z bb010g quit (Quit: Connection closed for inactivity) 2015-03-26T15:50:56Z f3lp quit (Client Quit) 2015-03-26T15:51:03Z ndrei quit (Ping timeout: 250 seconds) 2015-03-26T15:51:43Z f3lp joined #lisp 2015-03-26T15:51:59Z pjb` is now known as pjb 2015-03-26T15:54:28Z intinig joined #lisp 2015-03-26T15:54:51Z munksgaard quit (Ping timeout: 252 seconds) 2015-03-26T15:55:01Z smokeink quit (Ping timeout: 255 seconds) 2015-03-26T15:57:51Z f3lp_ joined #lisp 2015-03-26T15:59:15Z innertracks joined #lisp 2015-03-26T16:01:35Z ndrei joined #lisp 2015-03-26T16:05:07Z przl quit (Ping timeout: 252 seconds) 2015-03-26T16:06:35Z aap joined #lisp 2015-03-26T16:06:44Z hlavaty quit (Remote host closed the connection) 2015-03-26T16:06:47Z emaczen quit (Remote host closed the connection) 2015-03-26T16:06:48Z innertracks quit (Quit: innertracks) 2015-03-26T16:07:32Z BlueRavenGT joined #lisp 2015-03-26T16:09:00Z Cymew quit (Ping timeout: 272 seconds) 2015-03-26T16:15:07Z sebboh joined #lisp 2015-03-26T16:16:07Z larion quit (Ping timeout: 252 seconds) 2015-03-26T16:16:51Z przl joined #lisp 2015-03-26T16:23:28Z wheelsucker joined #lisp 2015-03-26T16:25:26Z ovenpasta quit (Ping timeout: 246 seconds) 2015-03-26T16:27:27Z BitPuffin joined #lisp 2015-03-26T16:37:27Z mvilleneuve quit (Quit: This computer has gone to sleep) 2015-03-26T16:38:08Z knobo quit (Ping timeout: 272 seconds) 2015-03-26T16:45:04Z bb010g joined #lisp 2015-03-26T16:45:41Z munksgaard joined #lisp 2015-03-26T16:48:06Z loz1 joined #lisp 2015-03-26T16:49:39Z Karl_Dscc quit (Remote host closed the connection) 2015-03-26T16:51:32Z mvdwege quit (Ping timeout: 250 seconds) 2015-03-26T16:52:12Z Bicyclidine joined #lisp 2015-03-26T16:53:39Z f3lp_ quit (Quit: Leaving) 2015-03-26T16:53:40Z f3lp quit (Quit: Leaving) 2015-03-26T16:53:59Z f3lp joined #lisp 2015-03-26T16:56:17Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2015-03-26T16:56:21Z ggole quit 2015-03-26T16:56:33Z beach joined #lisp 2015-03-26T16:56:47Z beach: Good evening everyone! 2015-03-26T16:59:59Z hlavaty joined #lisp 2015-03-26T17:03:58Z theseb joined #lisp 2015-03-26T17:04:44Z boogie joined #lisp 2015-03-26T17:05:07Z JJaskologist joined #lisp 2015-03-26T17:06:24Z a2015 joined #lisp 2015-03-26T17:07:00Z theseb left #lisp 2015-03-26T17:08:05Z BitPuffin quit (Ping timeout: 265 seconds) 2015-03-26T17:08:11Z Jaskologist quit (Ping timeout: 252 seconds) 2015-03-26T17:08:46Z mj-0 joined #lisp 2015-03-26T17:11:30Z f3lp quit (Remote host closed the connection) 2015-03-26T17:12:20Z ziocroc quit (Ping timeout: 272 seconds) 2015-03-26T17:16:32Z eazar001 quit (Ping timeout: 246 seconds) 2015-03-26T17:17:01Z boogie quit (Quit: Leaving...) 2015-03-26T17:18:29Z fe[nl]ix_: hej beach :) 2015-03-26T17:19:14Z f3lp joined #lisp 2015-03-26T17:19:27Z munksgaa1d joined #lisp 2015-03-26T17:19:58Z beach: fe[nl]ix_: Are you going to ELS? 2015-03-26T17:20:12Z fe[nl]ix_: yes, just registered 2015-03-26T17:20:17Z beach: Excellent! 2015-03-26T17:20:41Z Shinmera: More people to meet, hooray. 2015-03-26T17:20:49Z fe[nl]ix_: also, it's payed by the corp 2015-03-26T17:20:50Z fe[nl]ix_: yay 2015-03-26T17:21:03Z beach: Wow! Impressive. Travel too? 2015-03-26T17:21:13Z gingerale joined #lisp 2015-03-26T17:21:21Z Natch quit (Remote host closed the connection) 2015-03-26T17:21:32Z przl quit (Ping timeout: 252 seconds) 2015-03-26T17:22:55Z munksgaard quit (Ping timeout: 256 seconds) 2015-03-26T17:27:49Z munksgaard joined #lisp 2015-03-26T17:28:07Z fe[nl]ix_: beach: yes 2015-03-26T17:28:23Z mvdwege joined #lisp 2015-03-26T17:28:26Z fe[nl]ix_: the excuse is that I'll meet other colleagues, etc... 2015-03-26T17:28:37Z fe[nl]ix_: i.e. Martin Cracauer is talking 2015-03-26T17:28:45Z beach: I wouldn't call that "excuse". It a fact. 2015-03-26T17:28:45Z badkins joined #lisp 2015-03-26T17:28:56Z beach: It IS a fact. 2015-03-26T17:29:45Z That_Engineer joined #lisp 2015-03-26T17:30:04Z eazar001 joined #lisp 2015-03-26T17:30:36Z beach: He is a keynote speaker right? 2015-03-26T17:31:09Z munksgaa1d quit (Ping timeout: 250 seconds) 2015-03-26T17:32:05Z Bicyclidine quit (Ping timeout: 248 seconds) 2015-03-26T17:32:50Z beach: I'll answer that myself: Yes he is! 2015-03-26T17:32:58Z mvdwege quit (Read error: No route to host) 2015-03-26T17:33:41Z That_Engineer quit (Client Quit) 2015-03-26T17:34:13Z zacharias quit (Ping timeout: 244 seconds) 2015-03-26T17:34:34Z gravicappa joined #lisp 2015-03-26T17:36:47Z intinig quit (Remote host closed the connection) 2015-03-26T17:37:21Z xiaoguo quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2015-03-26T17:37:22Z intinig joined #lisp 2015-03-26T17:38:38Z munksgaard quit (Ping timeout: 256 seconds) 2015-03-26T17:39:32Z dfinninger quit (Remote host closed the connection) 2015-03-26T17:39:43Z ovenpasta joined #lisp 2015-03-26T17:42:06Z intinig quit (Ping timeout: 272 seconds) 2015-03-26T17:45:32Z hitecnologys quit (Quit: ZNC - http://znc.in) 2015-03-26T17:46:34Z arenz quit (Ping timeout: 256 seconds) 2015-03-26T17:49:45Z Denommus joined #lisp 2015-03-26T17:49:48Z hitecnologys joined #lisp 2015-03-26T17:51:36Z Patzy quit (Ping timeout: 246 seconds) 2015-03-26T17:51:51Z josemanuel joined #lisp 2015-03-26T17:52:23Z Patzy joined #lisp 2015-03-26T17:53:05Z ziocroc joined #lisp 2015-03-26T17:55:56Z foom quit (Ping timeout: 265 seconds) 2015-03-26T17:57:52Z ziocroc quit (Ping timeout: 255 seconds) 2015-03-26T18:00:56Z munksgaard joined #lisp 2015-03-26T18:02:28Z perl_startup quit (Remote host closed the connection) 2015-03-26T18:03:19Z Mon_Ouie joined #lisp 2015-03-26T18:03:37Z Mon_Ouie quit (Changing host) 2015-03-26T18:03:37Z Mon_Ouie joined #lisp 2015-03-26T18:05:24Z futpib joined #lisp 2015-03-26T18:06:57Z intinig joined #lisp 2015-03-26T18:07:01Z urandom__ joined #lisp 2015-03-26T18:08:28Z intinig quit (Remote host closed the connection) 2015-03-26T18:09:04Z intinig joined #lisp 2015-03-26T18:13:37Z intinig quit (Ping timeout: 264 seconds) 2015-03-26T18:14:33Z munksgaard quit (Ping timeout: 252 seconds) 2015-03-26T18:15:19Z munksgaard joined #lisp 2015-03-26T18:16:39Z jlongster joined #lisp 2015-03-26T18:20:31Z linux_dream joined #lisp 2015-03-26T18:21:29Z mj-0 quit (Remote host closed the connection) 2015-03-26T18:26:55Z kushal quit (Quit: Leaving) 2015-03-26T18:29:35Z aap_ joined #lisp 2015-03-26T18:30:41Z munksgaard quit (Ping timeout: 252 seconds) 2015-03-26T18:32:02Z hlavaty quit (Remote host closed the connection) 2015-03-26T18:32:06Z jasom: 'tis a sad day; I'm updating a python program that was originally written in lisp. 2015-03-26T18:32:22Z Natch joined #lisp 2015-03-26T18:33:10Z dlowe: reddit? 2015-03-26T18:33:25Z aap quit (Ping timeout: 264 seconds) 2015-03-26T18:33:39Z jasom: dlowe: no. An internal tool here at work. I wrote it initially in lisp, and my boss had me rewrite it "in a language someone else at the company knows" 2015-03-26T18:33:53Z aap_ is now known as aap 2015-03-26T18:34:07Z dlowe: if you could have gotten one more person to learn CL, it would technically have fulfilled the boss's command 2015-03-26T18:34:13Z jasom: heh 2015-03-26T18:34:16Z dlowe: too bad 2015-03-26T18:34:31Z jasom: well he prototypes his stuff in haskell, and then ports to python, so at least he knows what I'm going through 2015-03-26T18:35:20Z dfinninger joined #lisp 2015-03-26T18:35:35Z jasom: we had a Factor guy in our group at one point, so I guess all the people who like unpopular languages end up here 2015-03-26T18:36:13Z mood: ...and then rewrite their stuff in Python? 2015-03-26T18:36:20Z pjb quit (Ping timeout: 252 seconds) 2015-03-26T18:36:35Z jasom: mood: yup 2015-03-26T18:36:41Z jasom: or perl 2015-03-26T18:36:47Z jasom: or C 2015-03-26T18:37:12Z dlowe: you could use ecl to transpile to C :D 2015-03-26T18:37:43Z mood: Is the C ECL produces remotely readable? 2015-03-26T18:37:54Z eudoxia quit (Quit: Leaving) 2015-03-26T18:38:05Z jackdaniel: mood: yes, but lisp objects or of one type cl_object 2015-03-26T18:38:24Z jasom imagines that conversation "Well it's machine generated C code that communicates in tcl over a socket to a wish interpreter that renders the gui" 2015-03-26T18:38:32Z jackdaniel: and it's not that pretty (it's generated code after all) 2015-03-26T18:39:02Z linux_dream quit (Quit: Leaving) 2015-03-26T18:41:55Z pt1 joined #lisp 2015-03-26T18:42:19Z psy_ joined #lisp 2015-03-26T18:43:12Z pgomes joined #lisp 2015-03-26T18:45:15Z pjb joined #lisp 2015-03-26T18:45:34Z tokenrov1 is now known as tokenrove 2015-03-26T18:50:17Z cadadar joined #lisp 2015-03-26T18:50:39Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-03-26T18:50:52Z hlavaty joined #lisp 2015-03-26T18:51:07Z pt1 quit (Remote host closed the connection) 2015-03-26T18:51:12Z yeticry quit (Ping timeout: 244 seconds) 2015-03-26T18:53:25Z yeticry joined #lisp 2015-03-26T18:53:46Z foom joined #lisp 2015-03-26T18:54:55Z josemanuel quit (Quit: Saliendo) 2015-03-26T18:56:41Z pjb: jasom: you have a moral obligation not to. 2015-03-26T18:57:26Z pjb: jasom: http://en.wikipedia.org/wiki/Programming_ethics 2015-03-26T18:58:22Z dlowe: so serious :p 2015-03-26T18:59:16Z pjb: You may also write a lisp program to read the python code and convert it back to lisp. But since we don't work 4 hours a week, we don't have the time to do this kind of meta job, IME. 2015-03-26T19:04:19Z BlueRavenGT quit (Ping timeout: 250 seconds) 2015-03-26T19:06:43Z scymtym_ joined #lisp 2015-03-26T19:09:48Z BlueRavenGT joined #lisp 2015-03-26T19:10:15Z bb010g quit (Quit: Connection closed for inactivity) 2015-03-26T19:13:34Z innertracks joined #lisp 2015-03-26T19:14:12Z przl joined #lisp 2015-03-26T19:14:23Z innertracks quit (Client Quit) 2015-03-26T19:15:33Z pt1 joined #lisp 2015-03-26T19:20:05Z jasom: pjb: I'm pretty sure everyone was joking about it 2015-03-26T19:21:06Z beach left #lisp 2015-03-26T19:21:33Z Bicyclidine joined #lisp 2015-03-26T19:22:04Z radioninja joined #lisp 2015-03-26T19:29:13Z bb010g joined #lisp 2015-03-26T19:30:27Z mvilleneuve joined #lisp 2015-03-26T19:32:14Z dim: jasom: what about teaching lisp to someone in the company then? 2015-03-26T19:32:35Z dim: like said dlowe and I missed, but still, really 2015-03-26T19:34:35Z dlowe: That's a hard sell. 2015-03-26T19:35:11Z rem_ joined #lisp 2015-03-26T19:35:29Z dlowe: "Please learn this whole not-very-popular computer language so you can maintain my code." 2015-03-26T19:35:59Z Xach beats the averages 2015-03-26T19:36:02Z Shinmera: One would word it a bit more pleasantly than that, I would hope. 2015-03-26T19:36:02Z pjb: dlowe: this is bullshit. 2015-03-26T19:36:06Z Xach: ...with a club 2015-03-26T19:36:29Z pjb: dlowe: they write programs in stranger programming languages, and expect you to maintain them all the time! 2015-03-26T19:36:57Z pt1 quit (Remote host closed the connection) 2015-03-26T19:40:13Z knobo joined #lisp 2015-03-26T19:41:09Z gko__ quit (Quit: Connection closed for inactivity) 2015-03-26T19:43:19Z jackdaniel: when i was evangelising cl in company it didn't actually work out 2015-03-26T19:44:28Z dim: I just tell people that it's better than python at being dynamic and "full batteries inside" and it supports threads for real and then you have a fast binary to use 2015-03-26T19:44:29Z jackdaniel: funny joke about ELS I encountered - somebody asked - "You'll meet all the rest 3 lispers there?" 2015-03-26T19:44:32Z jackdaniel: :) 2015-03-26T19:44:54Z dim: then when possible just show them how you work with SLIME and C-M-x to recompile on the fly in the running program then test again 2015-03-26T19:45:03Z dim: it's quite magic the lisp development experience 2015-03-26T19:45:09Z dim: debug a mistake while they watch 2015-03-26T19:45:28Z dim: mainly when I'm asked about why cl, I talk about the developer experience 2015-03-26T19:45:55Z hiroaki joined #lisp 2015-03-26T19:45:58Z hiroakip joined #lisp 2015-03-26T19:46:20Z jasom: I was once in a room with 3 professional APL developers 2015-03-26T19:46:24Z mood: I actually have no idea how many people to expect at ELS 2015-03-26T19:46:40Z Xach: mood: the last one had around 50 or 60, i think 2015-03-26T19:47:27Z dim: I won't be there unfortunately 2015-03-26T19:47:33Z mood: Xach: thanks 2015-03-26T19:48:05Z dim: well unfortunately for me, of course 2015-03-26T19:48:37Z dim: anyway, I didn't have as much choice as I would have wanted when organizing pgday.paris and there's a schedule conflict 2015-03-26T19:50:30Z edgar-rft quit (Quit: edgar-rft) 2015-03-26T19:50:57Z innertracks joined #lisp 2015-03-26T19:51:32Z Xach: dim! 2015-03-26T19:51:50Z Xach: postgres was written in lisp! this is like a pg event! 2015-03-26T19:53:22Z dim: hehe 2015-03-26T19:53:31Z dim: only the query optimizer actually 2015-03-26T19:53:45Z dim: and we still have lisp like data structure and constructs in the C code, of sorts 2015-03-26T19:54:43Z pillton quit (Ping timeout: 272 seconds) 2015-03-26T19:57:43Z dim: http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/include/nodes/pg_list.h;h=a17500082b1ae2bd69f7661a65fed57bbf21e142;hb=HEAD 2015-03-26T19:58:36Z dim: cons/append/member/first/union/difference/ 2015-03-26T20:01:16Z alusion joined #lisp 2015-03-26T20:01:53Z dim: that's the only "lispy" thing you'll spot in PostgreSQL sources nowadays, as far as I can tell 2015-03-26T20:02:41Z lmohseni joined #lisp 2015-03-26T20:03:36Z lmohseni quit (Client Quit) 2015-03-26T20:04:32Z rem_: what does setf do ? 2015-03-26T20:04:48Z Bicyclidine: modify things 2015-03-26T20:05:03Z rem_: what makes it spcial ? 2015-03-26T20:05:26Z Shinmera: Special compared to what 2015-03-26T20:05:27Z rem_: whay dont use setq 2015-03-26T20:05:54Z rem_: im confused when modfying variables 2015-03-26T20:06:13Z rem_: i know global and local 2015-03-26T20:06:26Z rem_: but when modfing a local one 2015-03-26T20:06:35Z rem_: why i should use setf 2015-03-26T20:06:46Z rem_: and what is its scope 2015-03-26T20:08:08Z jasom: rem_: setf is a generic setter 2015-03-26T20:08:22Z jasom: rem_: for setting a variable, setf and setq are synonymous 2015-03-26T20:08:48Z ajtulloch joined #lisp 2015-03-26T20:09:06Z rem_: aha 2015-03-26T20:09:06Z jasom: rem_: you can e.g. do (setf (car x) 3). You can't do that with setq 2015-03-26T20:09:16Z Shinmera: Try macroexpand on something like '(setf foo 0). 2015-03-26T20:09:24Z ndrei quit (Ping timeout: 245 seconds) 2015-03-26T20:09:25Z xinau quit (Ping timeout: 248 seconds) 2015-03-26T20:09:46Z Bicyclidine: rem_: if it helps, (setf foo bar) is exactly the same as (setq foo bar) when foo is just a symbol. 2015-03-26T20:09:53Z hitecnologys quit (Quit: ZNC - http://znc.in) 2015-03-26T20:09:58Z jasom: clhs 5.1 2015-03-26T20:09:58Z specbot: Generalized Reference: http://www.lispworks.com/reference/HyperSpec/Body/05_a.htm 2015-03-26T20:10:09Z izirku joined #lisp 2015-03-26T20:10:10Z jasom: ^^^ that has more info than you probably want right now rem_ but does talk about setf 2015-03-26T20:10:22Z malbertife joined #lisp 2015-03-26T20:10:47Z rem_: it confused me more 2015-03-26T20:10:51Z jasom: but the advantage of setf is you only need to remember the syntax for reading a place, and then you also know how to write a place 2015-03-26T20:11:06Z rem_: i get the setq but set f i didnt get it from that site 2015-03-26T20:11:10Z dim: (setf (gethash key hash-table) value) ; made it for me 2015-03-26T20:11:21Z dim: rem_: basically, setq is a very limited form of setf 2015-03-26T20:11:26Z dim: just use setf and stop wondering 2015-03-26T20:11:40Z rem_: :D 2015-03-26T20:12:12Z spockokt: what if... we were all setf incorrectly in life ? 2015-03-26T20:12:16Z spockokt: dim: that is what i wonder 2015-03-26T20:12:48Z spockokt: like... what if we were to be defparameter or defvar'd instead? 2015-03-26T20:13:00Z ajtulloch quit (Remote host closed the connection) 2015-03-26T20:13:09Z spockokt: what if... the world we know it is just a closure in a larger scoping block? 2015-03-26T20:13:41Z dim: review your classics, old philosophers have plenty of answers to that 2015-03-26T20:13:45Z rem_: hhhhhhhhhh ull remain local in all ur life 2015-03-26T20:13:55Z rem_: just stop wondering :D 2015-03-26T20:13:58Z rem_: live it 2015-03-26T20:14:37Z spockokt: dim: answers or more questions? 2015-03-26T20:14:42Z hitecnologys joined #lisp 2015-03-26T20:14:49Z dim: usually they spell it that the whole universe we now lies in a grain of dirt stuck in the nail of a God, and the life of the universe is a blink of his eyes 2015-03-26T20:15:01Z dim: we know, even 2015-03-26T20:15:03Z hiyosi joined #lisp 2015-03-26T20:15:53Z dim: you can also just watch Men in Black again ;-) 2015-03-26T20:17:27Z spockokt: as a very young kid that ending made me question so many things. as if i couldnt pester my parents with enough questions they didnt have clear answers for 2015-03-26T20:17:35Z spockokt: those marbles man 2015-03-26T20:17:38Z spockokt: what even is? 2015-03-26T20:18:08Z badkins quit (Read error: Connection reset by peer) 2015-03-26T20:18:35Z jasom found most of the classic philosophers to be pointless and onanistic but that's getting off topic 2015-03-26T20:19:58Z sol__ quit (Ping timeout: 250 seconds) 2015-03-26T20:21:37Z ajtulloch joined #lisp 2015-03-26T20:25:36Z Xof joined #lisp 2015-03-26T20:25:43Z sol__ joined #lisp 2015-03-26T20:30:13Z futpib quit (Quit: Konversation terminated!) 2015-03-26T20:30:22Z gingerale quit (Ping timeout: 250 seconds) 2015-03-26T20:31:59Z cadadar quit (Quit: Leaving.) 2015-03-26T20:33:25Z hiroaki quit (Ping timeout: 248 seconds) 2015-03-26T20:33:44Z hiroakip quit (Ping timeout: 272 seconds) 2015-03-26T20:34:58Z ziocroc joined #lisp 2015-03-26T20:37:32Z loz1 quit (Ping timeout: 272 seconds) 2015-03-26T20:39:29Z hitecnologys quit (Quit: ZNC - http://znc.in) 2015-03-26T20:40:01Z quazimodo quit (Ping timeout: 264 seconds) 2015-03-26T20:41:16Z ndrei joined #lisp 2015-03-26T20:41:20Z slyrus quit (Ping timeout: 272 seconds) 2015-03-26T20:41:54Z ehu joined #lisp 2015-03-26T20:42:56Z slyrus joined #lisp 2015-03-26T20:43:09Z przl quit (Ping timeout: 245 seconds) 2015-03-26T20:43:53Z ajtulloch quit (Remote host closed the connection) 2015-03-26T20:48:55Z badkins joined #lisp 2015-03-26T20:52:13Z hiroakip joined #lisp 2015-03-26T20:52:14Z hiroaki joined #lisp 2015-03-26T20:53:21Z gravicappa quit (Remote host closed the connection) 2015-03-26T20:55:29Z nightfly quit (Quit: moving to destiny) 2015-03-26T20:59:01Z ahungry_ quit (Quit: leaving) 2015-03-26T20:59:44Z hitecnologys joined #lisp 2015-03-26T21:00:26Z ajtulloch joined #lisp 2015-03-26T21:06:31Z JJaskologist quit (Ping timeout: 250 seconds) 2015-03-26T21:06:46Z Kanae joined #lisp 2015-03-26T21:09:38Z intinig joined #lisp 2015-03-26T21:12:28Z Posterdati: flip214: hi 2015-03-26T21:12:33Z deego left #lisp 2015-03-26T21:12:40Z eudoxia joined #lisp 2015-03-26T21:12:42Z rhllor quit (Quit: rhllor) 2015-03-26T21:12:43Z Posterdati: flip214: how are you? 2015-03-26T21:13:07Z eazar001 is now known as fabio75 2015-03-26T21:13:13Z alokbeniwal joined #lisp 2015-03-26T21:13:15Z fabio75 quit (Quit: WeeChat 1.1.1) 2015-03-26T21:13:38Z eazar001 joined #lisp 2015-03-26T21:13:49Z eazar001 quit (Client Quit) 2015-03-26T21:14:16Z intinig quit (Ping timeout: 272 seconds) 2015-03-26T21:14:54Z eazar001 joined #lisp 2015-03-26T21:15:11Z eazar001 quit (Client Quit) 2015-03-26T21:15:45Z hitecnologys quit (Quit: ZNC - http://znc.in) 2015-03-26T21:15:53Z eazar001 joined #lisp 2015-03-26T21:16:08Z eazar001 is now known as fabio75 2015-03-26T21:16:33Z innertracks quit (Quit: innertracks) 2015-03-26T21:16:43Z hitecnologys joined #lisp 2015-03-26T21:17:57Z innertracks joined #lisp 2015-03-26T21:22:19Z fabio75 quit (Quit: WeeChat 1.1.1) 2015-03-26T21:22:38Z innertracks quit (Client Quit) 2015-03-26T21:23:06Z eazar001 joined #lisp 2015-03-26T21:25:35Z Karl_Dscc joined #lisp 2015-03-26T21:29:24Z angavrilov quit (Remote host closed the connection) 2015-03-26T21:33:26Z Longlius quit (Remote host closed the connection) 2015-03-26T21:35:37Z gklimowicz quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-03-26T21:36:39Z malbertife quit (Read error: Connection reset by peer) 2015-03-26T21:37:57Z LiamH quit (Quit: Leaving.) 2015-03-26T21:39:05Z Bicyclidine quit (Ping timeout: 246 seconds) 2015-03-26T21:41:57Z ehu quit (Quit: Leaving.) 2015-03-26T21:43:56Z Harag quit (Ping timeout: 246 seconds) 2015-03-26T21:44:34Z tessier quit (Ping timeout: 256 seconds) 2015-03-26T21:47:57Z s1n4 joined #lisp 2015-03-26T21:49:14Z alokbeniwal quit 2015-03-26T21:49:52Z Bicyclidine joined #lisp 2015-03-26T21:50:01Z alokbeniwal joined #lisp 2015-03-26T21:51:23Z tessier joined #lisp 2015-03-26T21:52:37Z BlueRavenGT quit (Ping timeout: 264 seconds) 2015-03-26T21:55:55Z sebboh left #lisp 2015-03-26T22:01:27Z dfinninger quit (Remote host closed the connection) 2015-03-26T22:01:43Z xificurC quit (Ping timeout: 256 seconds) 2015-03-26T22:03:13Z vdamewood joined #lisp 2015-03-26T22:12:21Z wheelsucker quit (Quit: Client Quit) 2015-03-26T22:12:23Z larion joined #lisp 2015-03-26T22:12:36Z css106420_: So I've heard that Lisp provides more benefit to a programmer if he doesn't try to construct programs like he would in say, C 2015-03-26T22:12:45Z css106420_: But coming from C, that's the way I think 2015-03-26T22:12:58Z css106420_: What's the best way to force myself to think in a different paradigm 2015-03-26T22:14:02Z slyrus quit (Ping timeout: 265 seconds) 2015-03-26T22:14:07Z zygentoma joined #lisp 2015-03-26T22:14:24Z Xach: css106420_: start with small projects from beginner tutorials. 2015-03-26T22:14:36Z Xach: css106420_: don't get ahead of yourself too much. 2015-03-26T22:15:19Z Xach: css106420_: work from good material - i think Practical Common Lisp and Paradigms of AI Programming cover some of CL's unique advantageous features pretty well 2015-03-26T22:15:27Z css106420_: Xach: I've been forcing myself to learn Lisp by using it for my next project which is fairly large, not trivial 2015-03-26T22:15:31Z css106420_: Xach: is this a mistake? 2015-03-26T22:16:24Z Xach: css106420_: I dunno. It seems like you could get frustrated in that scenario. I learned it because I felt like it, and worked on projects for fun. 2015-03-26T22:16:49Z Xach: I had some trouble because I learned Scheme first and read ANSI Common Lisp, so my CL code was very schemey initially. 2015-03-26T22:16:57Z Xach: I think things even out eventually. 2015-03-26T22:17:13Z hitecnologys: css106420_: I depends on not trivial in what what. I've been learning it working on pretty large project too, but it's been going for years and it's already been rewritten in many languages, so decide for yourself whether you're ready or not. 2015-03-26T22:17:15Z mvilleneuve quit (Quit: This computer has gone to sleep) 2015-03-26T22:17:26Z css106420_: Xach: I'm just the type of learner that needs a project in order to really learn something 2015-03-26T22:17:32Z hitecnologys: s/what what/what way/ 2015-03-26T22:17:39Z Longlius joined #lisp 2015-03-26T22:17:58Z css106420_: Xach: but I have a large amount of experience in other languages so I may not get *as* frustrated as I would if I was attempting to build something in Lisp coming from no experience 2015-03-26T22:18:45Z Xach: css106420_: It could be fun to just dig in, and solicit feedback as you go from people with experience. 2015-03-26T22:19:08Z Xach: css106420_: CL has a lot of stuff, so one of the easiest kinds of feedback to provide is "That thing you wrote could be shorter using this built-in thing" 2015-03-26T22:19:26Z css106420_: Xacg: Right, that's probably where I'll have the most trouble, ignorance in regards to libraries 2015-03-26T22:19:31Z Xach: Harder to provide: "the overarching design needs to be reworked like so" 2015-03-26T22:20:25Z Xach: good luck with it! 2015-03-26T22:20:28Z pillton joined #lisp 2015-03-26T22:20:43Z dim: css106420_: the CL standard already is quite a big lib in my experience 2015-03-26T22:21:03Z dim: I think I'm about 3 years into it now and I still discover things as I go 2015-03-26T22:21:12Z Xach: same here after 14 years 2015-03-26T22:21:29Z Xach: i don't know how people keep up with something that is also constantly changing, like emacs... 2015-03-26T22:21:38Z dim: sounds like emacs 2015-03-26T22:21:47Z dim: well yeah emacs is "worse" on that angle ok 2015-03-26T22:21:53Z css106420_: I actually like the idea of the standard being large 2015-03-26T22:22:02Z css106420_: No end of things to discover 2015-03-26T22:22:22Z dim: so many ways to do things, too 2015-03-26T22:22:44Z css106420_: Like Perl in that regard? 2015-03-26T22:23:40Z Xach: to a degree 2015-03-26T22:23:40Z dim: I recently was quite surprised as being able to use reduce to simplify expressions ;-) 2015-03-26T22:24:32Z hitecnologys: dim: simplify? 2015-03-26T22:24:54Z dim: parse "a || b || c" into (|| a b c) 2015-03-26T22:25:17Z hitecnologys: Ah. 2015-03-26T22:25:33Z hitecnologys: I thought I really missed something. 2015-03-26T22:25:37Z nisstyre quit (Ping timeout: 264 seconds) 2015-03-26T22:27:17Z gklimowicz joined #lisp 2015-03-26T22:27:21Z css106420_: I was quite surprised yesterday when I did a search for Lisp IDE's 2015-03-26T22:27:31Z css106420_: Seem like all of the ones that aren't Emacs cost a lot of money 2015-03-26T22:27:36Z css106420_: *Seems 2015-03-26T22:27:38Z css106420_ is now known as Slothel 2015-03-26T22:28:30Z Xach: Clozure CL has a mac IDE. 2015-03-26T22:28:42Z Xach: I am too used to Emacs to give it a ton of time, though. 2015-03-26T22:29:10Z Slothel: Excuse my ignorance but does Emacs have a debugger or real-time syntax checking? 2015-03-26T22:29:10Z Xach: I like the lispworks ide, but even when I worked where there was an Enterprise site license, i mostly used it to start slime and connect via emacs. 2015-03-26T22:29:18Z hitecnologys: Slothel: right. There were many people who tried solving this problem but I haven't heard of any great successes so Emacs is the only full-featured open source IDE at the moment, as far as I know, 2015-03-26T22:29:31Z dim: I tried CCL editor to see if I could answer friends wanting to try lisp without having to learn Emacs 2015-03-26T22:29:36Z Xach: Slothel: it has a debugger. syntax checking is done on demand after trying to compile. 2015-03-26T22:29:37Z hitecnologys: Slothel: there's SLIME that does. 2015-03-26T22:29:38Z dim: I told them they had to learn Emacs 2015-03-26T22:29:47Z Xach: the CCL IDE is an emacs variant. 2015-03-26T22:30:06Z Xach: (based on hemlock) 2015-03-26T22:30:07Z Slothel: I don't have a problem learning Emacs but it seems like quite the task if I'm learning Lisp simultaneously 2015-03-26T22:30:09Z dim: yeah but the one window per file and lack of interactive things killed me 2015-03-26T22:30:13Z dim: no C-M-x etc 2015-03-26T22:30:23Z nisstyre joined #lisp 2015-03-26T22:30:28Z Slothel: Which brings me to my next question, are there any standards as far as indentation/comments/etc. in Lisp 2015-03-26T22:30:41Z Xach: dim: i think it has many of the things i like in emacs/slime but under different keys and names 2015-03-26T22:30:46Z Slothel: The tutorial I'm going through hasn't mentioned anything about that 2015-03-26T22:30:47Z Xach: Slothel: yes. 2015-03-26T22:30:51Z gklimowi_ joined #lisp 2015-03-26T22:31:08Z hitecnologys: There was this style recommendations PDF which I lost somewhere. 2015-03-26T22:31:33Z Slothel: Xach: Is there a document you could refer me to? Lisp seems like it could potentially become quite unwieldy with parentheses flying around everywhere 2015-03-26T22:31:35Z dim: Xach: it might be that the window arrangements was too much for me to actually dive in enough, thanks for the tip, might as well advice CCL to some friends and wait to see how they like it ;-) 2015-03-26T22:31:37Z Petit_Dejeuner joined #lisp 2015-03-26T22:31:46Z clop joined #lisp 2015-03-26T22:31:53Z pjb: There's also MCLIDE which is not Clozure CL, but which is compiled with Clozure CL. 2015-03-26T22:32:04Z Slothel: dim: Did you find it difficult to remember all of the Emacs commands? It just seems like there are so many hotkeys I can't keep track of them 2015-03-26T22:32:17Z dim: Slothel: there's on average less parens in lisp than ()+[]+{}+; in C or Java really 2015-03-26T22:32:37Z dim: Slothel: can't remember, I've been using Emacs for 15 years now 2015-03-26T22:32:53Z dim: pjb: is MCLIDE multi platforms? 2015-03-26T22:33:04Z Slothel: dim: I'm just wondering if learning Emacs and Lisp at the same time is a good idea or a really bad one 2015-03-26T22:33:11Z pjb: dim: no. 2015-03-26T22:33:17Z clop: two bad ideas ?? :) 2015-03-26T22:33:24Z dim: Slothel: just run through the Emacs tutorial 2015-03-26T22:33:25Z hitecnologys: Slothel: it's definitely not bad idea. 2015-03-26T22:33:38Z dim: then have a look at how to use Slime, maybe they have a tutorial too 2015-03-26T22:33:45Z dim: and you're all set, enough to start 2015-03-26T22:33:47Z Slothel: dim: I settled on Lisp because it seemed like (for the project I'm working on) I'd have to bend over backwards to accomplish the same feats in C 2015-03-26T22:34:06Z dim: it looks to me that way for every projects now that I'm used to CL ;-) 2015-03-26T22:34:29Z gklimowicz quit (Ping timeout: 248 seconds) 2015-03-26T22:34:57Z Slothel: Well I guess as soon as I can figure out why wireless isn't working in my arch linux install I'll get emacs and give it a shot 2015-03-26T22:35:08Z Slothel: Though honestly I wish like Eclipse had a lisp plugin or somethng 2015-03-26T22:36:08Z radioninja quit (Ping timeout: 252 seconds) 2015-03-26T22:36:40Z dim: wait until you're played with SLIME, you won't care about Eclipse a dime 2015-03-26T22:37:05Z dim: well that's what it did to me, but to be honnest I already didn't care much about Eclipse at the time... 2015-03-26T22:37:25Z quazimodo joined #lisp 2015-03-26T22:37:42Z Slothel: dim: It isn't that I have warm fuzzies for Eclipse, but it's what I'm used to using. 2015-03-26T22:37:52Z Slothel: It was actually *required* by one particular pedantic professor I had 2015-03-26T22:37:58Z Slothel: and ever since then I haven't bothered to switch 2015-03-26T22:38:04Z innertracks joined #lisp 2015-03-26T22:38:12Z innertracks quit (Client Quit) 2015-03-26T22:38:27Z dim: gotcha 2015-03-26T22:39:13Z dim: well begin with the Emacs tutorial (C-h t) and try to remember that you will enjoy that strange things in time, with SLIME connected to your running CL instance where you can edit the code live 2015-03-26T22:39:48Z hitecnologys: Slothel: I've used Eclipse for a long time for Python development and I can assure you SLIME and Emacs feel much more comfortable to work with. 2015-03-26T22:41:18Z Slothel: hitecnologys: Gotcha. I've got just one more question 2015-03-26T22:41:34Z Slothel: hitecnologys: Have you any experience with Huchentoot? I want to run it behind Apache 2015-03-26T22:41:46Z hitecnologys: Slothel: why would you want Apache? 2015-03-26T22:41:51Z Slothel: hitecnologys: If so, does Huchentoot scale well to 100's, possibly 1000's of users? 2015-03-26T22:41:56Z Slothel: hitecnologys: For the front-end 2015-03-26T22:42:02Z innertracks joined #lisp 2015-03-26T22:42:17Z hitecnologys: Slothel: I do have experience running Hunchentoot beind both Apache and Nginx. It works just fine. 2015-03-26T22:42:25Z Xach: I ran hunchentoot for a pretty active site. I used apache initially and then used nginx. It handled thousands of users. 2015-03-26T22:43:01Z sunwukong quit (Ping timeout: 264 seconds) 2015-03-26T22:43:48Z hitecnologys: Slothel: you might want to plan you application to be able to freely switch server, though. Hunchentoot has limits as it's not asynchronous. 2015-03-26T22:44:52Z hitecnologys: Slothel: there's also mod_lisp for Apache but I hasn't had a change to try it out yet. 2015-03-26T22:48:08Z dim: I did pgcharts with hunchentoot, and some other little projects, never had to scale to more than me for those things ;-) 2015-03-26T22:48:45Z cpc26 joined #lisp 2015-03-26T22:48:53Z dim: Slothel: I like using an hacked-up version of simple-routes with hunchentoot (for the URL dispatch), have a look at https://github.com/dimitri/pgcharts/tree/master/lib 2015-03-26T22:49:17Z dim: https://github.com/dimitri/pgcharts/commits/master/lib/simple-routes.lisp even if you want to see the edits I made to the original 2015-03-26T22:50:13Z bb010g quit (Quit: Connection closed for inactivity) 2015-03-26T22:52:09Z cadadar joined #lisp 2015-03-26T22:57:25Z Slothel: dim: Thank you! Perfect. 2015-03-26T22:57:58Z dim: there are other routing projects around, this is simply the one I prefered... 2015-03-26T22:58:20Z Slothel: dim: It looks good. I'll probably have more to say when I actually use it 2015-03-26T22:58:21Z dim: you can see usage at https://github.com/dimitri/pgcharts/blob/master/src/server.lisp 2015-03-26T22:58:36Z hitecnologys: There's RESTAS. It's also worth a look. 2015-03-26T23:00:00Z cadadar quit (Quit: Leaving.) 2015-03-26T23:01:55Z pillton: Is there a way to make the slime repl handle #\return characters like a terminal does? i.e. not print ^M. 2015-03-26T23:02:37Z dim: well slime knows when your expression is complete' 2015-03-26T23:02:38Z gklimowi_ quit (Read error: Connection reset by peer) 2015-03-26T23:02:45Z ziocroc quit (Quit: ziocroc) 2015-03-26T23:02:55Z dim: I tend to use C-j there so that I have proper indentation at the prompt 2015-03-26T23:02:58Z kons` joined #lisp 2015-03-26T23:03:13Z dim: just hit return when done is what I got used to do... 2015-03-26T23:03:34Z pjb quit (Ping timeout: 245 seconds) 2015-03-26T23:03:37Z dim: there's also C-RET to end the expression with closing parens and send it 2015-03-26T23:03:59Z dim: maybe C-RET is what you want here 2015-03-26T23:05:02Z Vutral quit (Excess Flood) 2015-03-26T23:08:34Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-03-26T23:12:19Z rem_ quit (Quit: Page closed) 2015-03-26T23:12:44Z qbit quit (Ping timeout: 245 seconds) 2015-03-26T23:14:33Z resttime joined #lisp 2015-03-26T23:21:06Z xan__ quit (Ping timeout: 250 seconds) 2015-03-26T23:21:38Z linux_dream joined #lisp 2015-03-26T23:24:50Z linux_dream quit (Client Quit) 2015-03-26T23:25:25Z Vutral joined #lisp 2015-03-26T23:26:22Z eazar001 is now known as fabio75 2015-03-26T23:26:50Z fabio75 is now known as KTL 2015-03-26T23:27:27Z KTL is now known as eazar001 2015-03-26T23:30:07Z vaporatorius quit (Quit: Leaving) 2015-03-26T23:33:10Z gklimowicz joined #lisp 2015-03-26T23:33:50Z Shinmera quit (Quit: しつれいしなければならないんです。) 2015-03-26T23:40:53Z pgomes quit (Ping timeout: 252 seconds) 2015-03-26T23:41:10Z dfinninger joined #lisp 2015-03-26T23:41:40Z alusion quit (Quit: WeeChat 1.2-dev) 2015-03-26T23:42:16Z qbit joined #lisp 2015-03-26T23:42:40Z qbit is now known as Guest27982 2015-03-26T23:43:10Z Denommus quit (Quit: going home) 2015-03-26T23:47:46Z alusion joined #lisp 2015-03-26T23:48:10Z dfinninger quit (Remote host closed the connection) 2015-03-26T23:53:34Z eudoxia quit (Quit: Leaving) 2015-03-26T23:56:31Z zygentoma quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2015-03-26T23:59:34Z remi`bd quit (Quit: leaving) 2015-03-27T00:06:20Z a2015 quit (Quit: Page closed) 2015-03-27T00:08:05Z Slothel: Well. I might have a chance to be promoted to T3 2015-03-27T00:08:08Z Slothel: this is exciting 2015-03-27T00:08:20Z Slothel: I realize this is not really on topic but, I jsut found out and Im extremely happy 2015-03-27T00:11:09Z clintm: congrats, Slothel. No idea what T3 is, so I'm just going to assume you've been upgraded to "Terminator 3" via Skynet. 2015-03-27T00:11:23Z Slothel: clintm: I wish. T3 meaning Tier 3 2015-03-27T00:11:32Z Slothel: It's just tech support but it's a great job while I'm going through school 2015-03-27T00:14:30Z kons` quit (Remote host closed the connection) 2015-03-27T00:17:36Z sheilong joined #lisp 2015-03-27T00:18:20Z alokbeniwal quit (Remote host closed the connection) 2015-03-27T00:18:31Z Slothel: has anyone seen this: http://alarm.cti.depaul.edu/lisptutor/ 2015-03-27T00:18:35Z clintm: That's awesome. My first tech job was doing phone support for netscape navigator. Man, that seems like a thousand years ago. 2015-03-27T00:18:53Z Slothel: clintm: Heh, yeah I mean I don't want to be doing this forever. I'm in school for CS/EE 2015-03-27T00:19:01Z mishoo quit (Ping timeout: 264 seconds) 2015-03-27T00:19:08Z Slothel: clintm: But right now it's an amazing job as I don't have supervisors, I work a night shift with only 2 other people 2015-03-27T00:19:51Z clintm: I was escorted from the building by security for dumping the call queue by hanging up on people. I've mellowed considerably since the mid-90s. 2015-03-27T00:20:26Z gabriel_laddel joined #lisp 2015-03-27T00:20:40Z clintm: if the queue was green though, we could play... I think it was quake we were all playing. Anyway... yea, not incredibly proud of that one. 2015-03-27T00:21:55Z hiyosi joined #lisp 2015-03-27T00:23:13Z s1n4 quit (Ping timeout: 264 seconds) 2015-03-27T00:23:34Z Slothel: clintm: My first job was in a call center and 2015-03-27T00:23:38Z Slothel: clintm: I did nearly the same thing 2015-03-27T00:24:23Z _pakchoi_ops joined #lisp 2015-03-27T00:25:05Z jlongster quit (Ping timeout: 256 seconds) 2015-03-27T00:26:46Z clintm: I'm still in contact with almost everyone I went through training with, which seems really weird. 2015-03-27T00:27:00Z clintm: ok, enough of memory lane. 2015-03-27T00:37:48Z Slothel: chaha 2015-03-27T00:37:57Z Slothel: I was jsut on a call that's why I didn't respond 2015-03-27T00:38:01Z Slothel: However, onward with my story 2015-03-27T00:38:18Z Slothel: So I was working for a law firm/call center and my managers quickly discovered that I was "good with computers" 2015-03-27T00:38:41Z Slothel: I eventually started managing their database for them (MySQL) because they didn't know how and they didn't want to always be at the mercy of IT 2015-03-27T00:38:48Z alokbeniwal joined #lisp 2015-03-27T00:38:54Z Slothel: Well, the IT department had an opening that my managers told me I should apply for 2015-03-27T00:39:07Z Slothel: They basically praised me telling me I was a "shoe-in" and they'd recommend me 2015-03-27T00:39:20Z Slothel: Well after applying I never got an interview, and the IT director hired some kid from his chuch 2015-03-27T00:39:23Z Slothel: *church 2015-03-27T00:39:37Z Slothel: The managers never spoke with the Director about me or offered any recommendation 2015-03-27T00:39:43Z stepnem quit (Ping timeout: 250 seconds) 2015-03-27T00:39:52Z Slothel: So I quickly became demoralized and after working there for 2 years I just stopped taking calls 2015-03-27T00:39:59Z Slothel: Took them about a week to figure it out but yeah I was canned 2015-03-27T00:40:17Z TeMPOraL joined #lisp 2015-03-27T00:43:59Z Xach: This is a channel for discussing Common Lisp 2015-03-27T00:44:09Z Xach: Please use private messages for other stuff 2015-03-27T00:46:38Z Denommus joined #lisp 2015-03-27T00:51:26Z jlongster joined #lisp 2015-03-27T00:51:44Z a2015 joined #lisp 2015-03-27T00:53:57Z ajtulloc_ joined #lisp 2015-03-27T00:55:49Z jlongster quit (Ping timeout: 248 seconds) 2015-03-27T00:56:04Z Denommus quit (Quit: Bye) 2015-03-27T00:56:47Z ajtulloch quit (Ping timeout: 252 seconds) 2015-03-27T00:57:07Z defaultxr joined #lisp 2015-03-27T00:58:08Z Slothel: Xach: I was just responding to someone who was talkking to me 2015-03-27T00:58:46Z Slothel: xach: but udnerstood 2015-03-27T00:58:48Z Slothel: *understood 2015-03-27T01:03:37Z eschatologist joined #lisp 2015-03-27T01:03:43Z linux_dream joined #lisp 2015-03-27T01:06:44Z Slothel: So, in regards to my previous question, does anyone have any documentation they'd recommend on coding conventions in lisp 2015-03-27T01:06:48Z Slothel: Indentation/etc. 2015-03-27T01:07:01Z harish quit (Ping timeout: 250 seconds) 2015-03-27T01:07:16Z White_Flame: use emacs, hit tab a lot 2015-03-27T01:07:33Z TeMPOraL: https://google-styleguide.googlecode.com/svn/trunk/lispguide.xml, http://norvig.com/luv-slides.ps 2015-03-27T01:07:45Z TeMPOraL: and look at some source code 2015-03-27T01:07:58Z TeMPOraL: and yes, what White_Flame says :) 2015-03-27T01:08:12Z Bicyclidine: clhs 2.4.4.2 2015-03-27T01:08:12Z specbot: Notes about Style for Semicolon: http://www.lispworks.com/reference/HyperSpec/Body/02_ddb.htm 2015-03-27T01:08:19Z TeMPOraL: the second link I pasted (the presentation) is actually quite cool IMO 2015-03-27T01:08:22Z Bicyclidine: for a minor part of style that is in the standard for some reason 2015-03-27T01:08:27Z EvW quit (Quit: EvW) 2015-03-27T01:09:37Z ajtulloc_ quit (Remote host closed the connection) 2015-03-27T01:11:56Z TeMPOraL: anyone has some experience with cl-launch? 2015-03-27T01:12:18Z TeMPOraL: I got it to work, but it has some weird quirks 2015-03-27T01:12:41Z TeMPOraL: especially the first example script from the documentation fails with SBCL saying somethinga about standard-input failing through an etypecase somewhere 2015-03-27T01:14:54Z TeMPOraL: or including -Q (use quicklisp) seems to silence output from scripts that don't use an entry point function... 2015-03-27T01:15:54Z Xach wonders how -Q works 2015-03-27T01:16:36Z TeMPOraL: Xach: funnily, when I do $ cl -Q '(print "hello")' from the console, it works fine 2015-03-27T01:16:59Z TeMPOraL: but try putting it in a file - #!/usr/bin/cl -Q [newline] (print "hello") 2015-03-27T01:17:01Z TeMPOraL: and suddenly no output : 2015-03-27T01:17:04Z TeMPOraL: :D 2015-03-27T01:17:51Z SAL9000: Is there a Common Lisp library for creating and manipulating EPUB files? 2015-03-27T01:18:38Z Xach: SAL9000: I don't remember seeing anything like that. 2015-03-27T01:21:25Z Bicyclidine quit (Ping timeout: 248 seconds) 2015-03-27T01:21:42Z gabriel_laddel quit (Ping timeout: 246 seconds) 2015-03-27T01:29:00Z Karl_Dscc quit (Remote host closed the connection) 2015-03-27T01:32:52Z Xach: so many new projects this month! 2015-03-27T01:34:51Z edgar-rft joined #lisp 2015-03-27T01:35:54Z Jaskologist joined #lisp 2015-03-27T01:37:50Z That_Engineer joined #lisp 2015-03-27T01:38:03Z That_Engineer quit (Client Quit) 2015-03-27T01:39:27Z BlueRavenGT joined #lisp 2015-03-27T01:40:38Z hiroaki quit (Ping timeout: 250 seconds) 2015-03-27T01:40:52Z hiroakip quit (Ping timeout: 256 seconds) 2015-03-27T01:41:08Z sismondi joined #lisp 2015-03-27T01:41:21Z stopbyte quit (Ping timeout: 276 seconds) 2015-03-27T01:41:53Z Adlai: =bu23 2015-03-27T01:42:03Z Adlai: oops 2015-03-27T01:42:19Z ajtulloch joined #lisp 2015-03-27T01:42:34Z vdamewood quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-03-27T01:46:29Z alokbeniwal quit (Remote host closed the connection) 2015-03-27T01:47:08Z nell quit (Quit: WeeChat 0.4.2) 2015-03-27T01:50:28Z badkins quit 2015-03-27T01:50:34Z cyphase quit (Ping timeout: 265 seconds) 2015-03-27T01:50:54Z nell joined #lisp 2015-03-27T01:51:04Z alusion quit (Ping timeout: 245 seconds) 2015-03-27T01:51:14Z sismondi quit (Quit: sismondi) 2015-03-27T01:51:50Z jlongster joined #lisp 2015-03-27T01:52:43Z eschatologist quit (Quit: Textual IRC Client: www.textualapp.com) 2015-03-27T01:56:20Z jlongster quit (Ping timeout: 252 seconds) 2015-03-27T01:59:33Z sismondi joined #lisp 2015-03-27T02:02:04Z robot-beethoven joined #lisp 2015-03-27T02:02:44Z Mon_Ouie quit (Remote host closed the connection) 2015-03-27T02:03:12Z cyphase joined #lisp 2015-03-27T02:04:04Z urandom__ quit (Quit: Konversation terminated!) 2015-03-27T02:04:57Z zhsso joined #lisp 2015-03-27T02:05:57Z thomas is now known as evilthomas 2015-03-27T02:06:35Z SAL9000: does the defgeneric lambda-list support default arguments? 2015-03-27T02:07:20Z SAL9000: for some reason, (defgeneric foo (bar &key (baz :bam))) fails with "invalid ... in the generic function lambda list" 2015-03-27T02:07:57Z {[]}grant joined #lisp 2015-03-27T02:08:29Z alusion joined #lisp 2015-03-27T02:10:24Z jlongster joined #lisp 2015-03-27T02:11:21Z larion quit (Ping timeout: 265 seconds) 2015-03-27T02:13:06Z larion joined #lisp 2015-03-27T02:14:48Z Bicyclidine joined #lisp 2015-03-27T02:15:01Z Xach: SAL9000: It does not. You can add them to defmethods though. 2015-03-27T02:15:07Z harish joined #lisp 2015-03-27T02:16:32Z linux_dream quit (Quit: Leaving) 2015-03-27T02:18:36Z oleo is now known as Guest55262 2015-03-27T02:18:56Z {[]}grant quit (Read error: Connection reset by peer) 2015-03-27T02:19:29Z oleo_ joined #lisp 2015-03-27T02:19:38Z {[]}grant joined #lisp 2015-03-27T02:21:30Z nialo joined #lisp 2015-03-27T02:22:04Z Guest55262 quit (Ping timeout: 272 seconds) 2015-03-27T02:22:36Z sdothum quit (Quit: ZNC - 1.6.0 - http://znc.in) 2015-03-27T02:22:46Z ajtulloc_ joined #lisp 2015-03-27T02:23:40Z {[]}grant quit (Remote host closed the connection) 2015-03-27T02:23:59Z scymtym_ quit (Ping timeout: 245 seconds) 2015-03-27T02:24:40Z gklimowi_ joined #lisp 2015-03-27T02:25:31Z ajtulloch quit (Ping timeout: 252 seconds) 2015-03-27T02:26:43Z nialo is now known as bcoburn 2015-03-27T02:27:08Z frkout joined #lisp 2015-03-27T02:27:19Z ajtulloc_ quit (Remote host closed the connection) 2015-03-27T02:27:46Z gklimowicz quit (Ping timeout: 272 seconds) 2015-03-27T02:28:30Z {[]}grant joined #lisp 2015-03-27T02:30:17Z SAL9000: How does one "overload" comparisons of CLOS classes? 2015-03-27T02:30:42Z dfinninger joined #lisp 2015-03-27T02:30:51Z SAL9000: e.g. (equal structA structB) should test (equal (unique-slot structA) (unique-slot structB)) 2015-03-27T02:31:24Z Xach: You can't change the behavior of built-in equality functions. 2015-03-27T02:31:26Z Bicyclidine: can't. usually you just define your own predicate and use that. 2015-03-27T02:33:08Z eschatologist joined #lisp 2015-03-27T02:33:46Z linux_dream joined #lisp 2015-03-27T02:35:10Z White_Flame: you can, and I have, by overriding the common-lisp package symbols, but who knows what sort of assumptions you'd be breaking by doing that 2015-03-27T02:35:27Z echo-area joined #lisp 2015-03-27T02:35:37Z White_Flame: basically, if it's of the type(s) you care about, do a comparison. else, defer to the old cl:equal 2015-03-27T02:35:53Z White_Flame: again, a very dangerous thing to be mucking about with the CL symbols 2015-03-27T02:37:15Z Xach: "overriding"? 2015-03-27T02:37:23Z Xach: http://home.pipeline.com/~hbaker1/ObjectIdentity.html is an interesting paper on the topic 2015-03-27T02:38:02Z dfinninger quit (Remote host closed the connection) 2015-03-27T02:38:13Z White_Flame: redefining cl:equalp in my case, such that strings would be compared case-sensitively, while deferring to the old cl:equalp so that structs would also compare slot-by-slot 2015-03-27T02:39:27Z Xach: definitely an if it breaks, you get to keep both pieces situation 2015-03-27T02:39:31Z White_Flame: yep 2015-03-27T02:40:01Z White_Flame: but the most approachable way to deeply compare structures with string slot values being compared with case 2015-03-27T02:40:41Z White_Flame: the system did churn along happily without issue, but later versions removed the need to do that and cl:equalp returned to normal 2015-03-27T02:43:18Z chu joined #lisp 2015-03-27T02:53:18Z munksgaard joined #lisp 2015-03-27T02:54:03Z dfinninger joined #lisp 2015-03-27T02:54:11Z dfinninger quit (Remote host closed the connection) 2015-03-27T02:54:18Z ajtulloch joined #lisp 2015-03-27T02:54:37Z ajtulloch quit (Remote host closed the connection) 2015-03-27T02:55:34Z ajtulloch joined #lisp 2015-03-27T02:55:57Z gko__ joined #lisp 2015-03-27T02:57:09Z ajtulloch quit (Remote host closed the connection) 2015-03-27T02:57:37Z ajtulloch joined #lisp 2015-03-27T02:58:10Z dfinninger joined #lisp 2015-03-27T02:59:16Z dfinninger quit (Remote host closed the connection) 2015-03-27T03:00:51Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-03-27T03:01:52Z jasom: You can shadow equalp 2015-03-27T03:02:14Z jasom: and have it call cl:equalp on the appropriate builtin types 2015-03-27T03:03:06Z jasom: The equality tester I want, when I do want a completely generic one isn't in the standard anyway. Like equalp only case-sensitive for characters and strings 2015-03-27T03:04:17Z dfinninger joined #lisp 2015-03-27T03:05:31Z chu_ joined #lisp 2015-03-27T03:07:50Z munksgaard quit (Ping timeout: 252 seconds) 2015-03-27T03:08:19Z Xach: I'd be reluctant to have code that had calls to an EQUALP that wasn't CL:EQUALP unless it had lots of context making it clear. 2015-03-27T03:08:30Z Xach: I think I'd prefer it have a different name like EQUIV or something. 2015-03-27T03:09:02Z jasom: equ and equa aren't taken, nor is equal-p 2015-03-27T03:09:19Z jasom: clhs e 2015-03-27T03:09:19Z specbot: Couldn't find anything for e. 2015-03-27T03:09:21Z chu quit (Ping timeout: 265 seconds) 2015-03-27T03:09:28Z jasom: e is free as well, apparently 2015-03-27T03:10:44Z pillton: The difficulty I have with abbreviations is that I remember the term, not the term's abbreviation. 2015-03-27T03:11:01Z jasom: ≈ is free as well 2015-03-27T03:11:19Z yakccd quit (Remote host closed the connection) 2015-03-27T03:11:20Z pillton: That means approximately equal. 2015-03-27T03:11:23Z jasom: ≅ maybe? 2015-03-27T03:11:58Z jasom: or ≊ 2015-03-27T03:12:23Z jasom: the first is isomorphic, the second equivalence 2015-03-27T03:13:46Z jasom: pillton: the important thing is knowing what the abbreviation means when you read it 2015-03-27T03:15:10Z eschatologist quit (Quit: Textual IRC Client: www.textualapp.com) 2015-03-27T03:16:40Z alokbeniwal joined #lisp 2015-03-27T03:16:41Z ajtulloch quit (Remote host closed the connection) 2015-03-27T03:18:38Z pillton: That is my argument against shadowing. 2015-03-27T03:20:36Z Bicyclidine: does SAL9000 actually want to equate things that are only possibly objects with their classes 2015-03-27T03:22:14Z jasom: Bicyclidine: I think SAL9000 was hoping to add methods to equal or equalp 2015-03-27T03:22:47Z Bicyclidine: i'm thinking they might have a more specific problem, is all 2015-03-27T03:24:27Z SAL9000: jasom, Bicyclidine: I want to add methods to equal, so that it DWIMs when comparing two objects derived from the same particular base class. 2015-03-27T03:25:16Z Xach: can't be done. 2015-03-27T03:25:44Z SAL9000: so there's nothing like the PRINT-OBJECT generic? 2015-03-27T03:25:54Z SAL9000: but for equal* 2015-03-27T03:26:02Z jasom: SAL9000: correct; you can create your own generic function though 2015-03-27T03:26:10Z jasom: someone suggested EQUIV as a good name 2015-03-27T03:26:16Z Bicyclidine: no. there's one in a cdr, but i don't know how many implementations it's in 2015-03-27T03:26:34Z jasom totally forgot about the CDRs 2015-03-27T03:26:36Z Bicyclidine: hm, i bet the ridiculous amount of options to PRINT is a good show of how a general equivalence would have to be 2015-03-27T03:27:04Z SAL9000: I was thinking DWIM-equivalence rather than general equivalence 2015-03-27T03:27:18Z SAL9000: so, only implement it for objects that it makes sense to implement for 2015-03-27T03:27:32Z SAL9000: and if you need specialized things, use the non-generic comparisons 2015-03-27T03:27:52Z pillton: The problem DWIM is that you might be alone in what you mean. 2015-03-27T03:27:55Z dfinninger quit (Remote host closed the connection) 2015-03-27T03:27:59Z Bicyclidine: print is also DWIM 2015-03-27T03:27:59Z pillton: The problem with .. 2015-03-27T03:28:01Z clop quit (Ping timeout: 264 seconds) 2015-03-27T03:28:03Z Bicyclidine: and it is huge, is what i mean 2015-03-27T03:28:21Z jasom: https://common-lisp.net/project/cdr/document/8/cleqcmp.html 2015-03-27T03:28:35Z SAL9000: pillton: that's what consensus is for, isn't it? 2015-03-27T03:28:44Z SAL9000: I get your point, though. 2015-03-27T03:28:49Z pillton: Not when it comes to equivalence. 2015-03-27T03:29:03Z pillton: The same goes for serialisation. 2015-03-27T03:29:19Z pillton: The same goes for printing as Bicyclidine states. 2015-03-27T03:29:50Z pillton agrees with Bicyclidine too. 2015-03-27T03:30:16Z Bicyclidine: SAL9000: so, i think it's often better to focus on your immediate problem. maybe your application works fine with sal-class-equal 2015-03-27T03:31:30Z SAL9000: Bicyclidine: It'll work fine without generic equal, yes; if there was a generic equal, though, I would like to leverage it. 2015-03-27T03:31:54Z Bicyclidine: understandable. 2015-03-27T03:32:06Z alokbeniwal quit (Remote host closed the connection) 2015-03-27T03:32:08Z jasom: SAL9000: I think the current consensus in #lisp is that a generic equal would be slower and less clear 2015-03-27T03:32:19Z SAL9000: OK. 2015-03-27T03:33:35Z zhsso quit (Remote host closed the connection) 2015-03-27T03:34:31Z zhsso joined #lisp 2015-03-27T03:36:07Z SAL9000: is there something like MAPCAR which only returns the first match? 2015-03-27T03:36:25Z Bicyclidine: match? mapcar doesn't match. 2015-03-27T03:36:26Z pillton: clhs find 2015-03-27T03:36:26Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_find_.htm 2015-03-27T03:36:28Z stopbyte joined #lisp 2015-03-27T03:36:56Z pillton: or find-if 2015-03-27T03:37:00Z SAL9000: thanks 2015-03-27T03:37:32Z clop joined #lisp 2015-03-27T03:38:51Z zhsso quit (Ping timeout: 252 seconds) 2015-03-27T03:40:02Z JokesOnYou77_ joined #lisp 2015-03-27T03:40:05Z JokesOnYou77_: Hi all 2015-03-27T03:41:03Z linux_dream quit (Quit: Leaving) 2015-03-27T03:41:23Z dfinninger joined #lisp 2015-03-27T03:41:41Z sol__ quit (Ping timeout: 248 seconds) 2015-03-27T03:43:18Z sol__ joined #lisp 2015-03-27T03:46:18Z gendl quit (Ping timeout: 272 seconds) 2015-03-27T03:47:42Z gendl joined #lisp 2015-03-27T03:48:01Z JokesOnYou77_ is now known as JokesOnYou77 2015-03-27T03:48:56Z mbuf joined #lisp 2015-03-27T03:49:36Z Quadrescence joined #lisp 2015-03-27T03:52:00Z dfinninger quit (Remote host closed the connection) 2015-03-27T03:53:30Z dfinninger joined #lisp 2015-03-27T03:54:10Z scottj joined #lisp 2015-03-27T03:56:49Z larion quit (Ping timeout: 255 seconds) 2015-03-27T03:57:03Z bb010g joined #lisp 2015-03-27T04:00:16Z nell quit (Ping timeout: 252 seconds) 2015-03-27T04:01:49Z beach joined #lisp 2015-03-27T04:01:57Z beach: Good morning everyone! 2015-03-27T04:02:17Z pillton: Hey beach. Hey JokesOnYou77. 2015-03-27T04:02:20Z ajtulloch joined #lisp 2015-03-27T04:09:19Z JokesOnYou77: Hi beach 2015-03-27T04:12:38Z defaultxr quit (Quit: gnight) 2015-03-27T04:14:40Z theseb joined #lisp 2015-03-27T04:15:24Z selat quit (Quit: Lost terminal) 2015-03-27T04:17:32Z ggole joined #lisp 2015-03-27T04:17:53Z Quadrescence quit (Quit: This computer has gone to sleep) 2015-03-27T04:24:08Z aloksingh joined #lisp 2015-03-27T04:26:16Z kushal joined #lisp 2015-03-27T04:30:46Z drmeister: Hi beach. 2015-03-27T04:34:12Z drmeister: beach: I just sent you an email about a problem I think I've uncovered when HIR is generated for iterator functions. 2015-03-27T04:34:58Z larion joined #lisp 2015-03-27T04:35:06Z zhsso joined #lisp 2015-03-27T04:35:44Z beach: drmeister: OK, I'll have a look at it. 2015-03-27T04:38:53Z ajtulloc_ joined #lisp 2015-03-27T04:39:10Z beach: I confirm that there is a problem. 2015-03-27T04:39:34Z Petit_Dejeuner quit (Read error: Connection reset by peer) 2015-03-27T04:39:34Z Petit_Dejeuner joined #lisp 2015-03-27T04:39:43Z zhsso quit (Ping timeout: 252 seconds) 2015-03-27T04:39:50Z dfinninger quit (Remote host closed the connection) 2015-03-27T04:39:52Z longlius_ joined #lisp 2015-03-27T04:39:56Z lifenoodles quit (Ping timeout: 256 seconds) 2015-03-27T04:39:59Z sismondi quit (Quit: putting system to sleep and me too) 2015-03-27T04:40:28Z drmeister: I don't see an UNWIND-INSTRUCTION in the HIR. 2015-03-27T04:40:30Z Longlius quit (Read error: Connection reset by peer) 2015-03-27T04:42:12Z Guest27982 quit (Ping timeout: 256 seconds) 2015-03-27T04:42:38Z lifenoodles joined #lisp 2015-03-27T04:42:39Z ajtulloch quit (Ping timeout: 252 seconds) 2015-03-27T04:43:23Z chu_ quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-03-27T04:43:33Z JokesOnYou77 quit (Quit: Ex-Chat) 2015-03-27T04:45:31Z theseb quit (Quit: Leaving) 2015-03-27T04:45:31Z aap quit (Read error: Connection reset by peer) 2015-03-27T04:45:38Z beach: drmeister: Did you do a "pull" recently? 2015-03-27T04:45:52Z mj-0 joined #lisp 2015-03-27T04:46:03Z drmeister: Not in a few days. 2015-03-27T04:46:13Z Dynasty joined #lisp 2015-03-27T04:46:24Z aap joined #lisp 2015-03-27T04:46:47Z beach: Anyway, never mind. I fixed a problem recently, but I don't think this is it. 2015-03-27T04:46:54Z qbit joined #lisp 2015-03-27T04:47:17Z qbit is now known as Guest33555 2015-03-27T04:47:22Z drmeister: I'm heading to bed - I'll talk to you tomorrow. 2015-03-27T04:47:26Z beach: OK. 2015-03-27T04:47:31Z drmeister: Thanks. 2015-03-27T04:49:24Z Slothel: Hey, I just read an article about Xach 2015-03-27T04:49:32Z Slothel: talking about lisp hackers 2015-03-27T04:49:34Z Slothel: pretty cool 2015-03-27T04:50:05Z aloksingh quit (Remote host closed the connection) 2015-03-27T04:51:29Z yeticry quit (Ping timeout: 250 seconds) 2015-03-27T04:52:08Z kcj joined #lisp 2015-03-27T04:52:11Z jlongster quit (Ping timeout: 252 seconds) 2015-03-27T04:52:25Z yeticry joined #lisp 2015-03-27T04:53:18Z nell joined #lisp 2015-03-27T04:55:11Z futpib joined #lisp 2015-03-27T04:59:08Z sol__ quit (Ping timeout: 272 seconds) 2015-03-27T04:59:33Z edgar-rft quit (Quit: edgar-rft) 2015-03-27T05:00:43Z sol__ joined #lisp 2015-03-27T05:00:54Z cyphase quit (Ping timeout: 256 seconds) 2015-03-27T05:03:13Z futpib quit (Quit: Konversation terminated!) 2015-03-27T05:03:36Z karswell joined #lisp 2015-03-27T05:03:50Z gingerale joined #lisp 2015-03-27T05:05:03Z zhsso joined #lisp 2015-03-27T05:05:14Z Niac joined #lisp 2015-03-27T05:05:21Z stardiviner quit (Ping timeout: 246 seconds) 2015-03-27T05:07:15Z zhsso quit (Client Quit) 2015-03-27T05:08:03Z innertracks quit (Quit: innertracks) 2015-03-27T05:09:28Z mj-0 quit (Remote host closed the connection) 2015-03-27T05:10:25Z keen__________27 joined #lisp 2015-03-27T05:11:49Z keen__________26 quit (Ping timeout: 264 seconds) 2015-03-27T05:13:48Z cyphase joined #lisp 2015-03-27T05:14:18Z cluck quit (Remote host closed the connection) 2015-03-27T05:20:32Z Harag joined #lisp 2015-03-27T05:29:37Z ajtulloch joined #lisp 2015-03-27T05:30:11Z frkout quit (Remote host closed the connection) 2015-03-27T05:30:37Z frkout joined #lisp 2015-03-27T05:31:56Z Bicyclidine quit (Ping timeout: 265 seconds) 2015-03-27T05:33:15Z ajtulloc_ quit (Ping timeout: 252 seconds) 2015-03-27T05:33:23Z BlueRavenGT quit (Ping timeout: 265 seconds) 2015-03-27T05:47:26Z ajtulloc_ joined #lisp 2015-03-27T05:48:50Z stardiviner joined #lisp 2015-03-27T05:49:20Z Bike joined #lisp 2015-03-27T05:50:51Z ajtulloch quit (Ping timeout: 252 seconds) 2015-03-27T05:53:25Z pranavrc joined #lisp 2015-03-27T05:53:25Z pranavrc quit (Changing host) 2015-03-27T05:53:25Z pranavrc joined #lisp 2015-03-27T05:55:02Z aloksingh joined #lisp 2015-03-27T05:58:21Z kolt` joined #lisp 2015-03-27T05:59:02Z kolt`: irc in lisp is weird 2015-03-27T05:59:45Z renopt joined #lisp 2015-03-27T06:00:52Z slyrus joined #lisp 2015-03-27T06:01:22Z kolt` quit (Client Quit) 2015-03-27T06:06:13Z slyrus quit (Remote host closed the connection) 2015-03-27T06:07:29Z sunwukong joined #lisp 2015-03-27T06:08:18Z ajtulloch joined #lisp 2015-03-27T06:08:40Z oleo_ quit (Quit: Leaving) 2015-03-27T06:09:06Z Mon_Ouie joined #lisp 2015-03-27T06:11:45Z ajtulloc_ quit (Ping timeout: 252 seconds) 2015-03-27T06:26:05Z kobain quit (Read error: Connection reset by peer) 2015-03-27T06:26:24Z kobain joined #lisp 2015-03-27T06:28:06Z pt1 joined #lisp 2015-03-27T06:31:03Z qubitnerd joined #lisp 2015-03-27T06:33:46Z schaueho joined #lisp 2015-03-27T06:36:38Z flip214: clhs #. 2015-03-27T06:36:38Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/02_dhf.htm 2015-03-27T06:38:33Z flip214: hmmm, wasn't there a splicing read-time evaluation too? 2015-03-27T06:40:01Z Bike: nope 2015-03-27T06:40:46Z lieven quit (Changing host) 2015-03-27T06:40:46Z lieven joined #lisp 2015-03-27T06:41:01Z a2015 quit (Quit: Page closed) 2015-03-27T06:42:54Z sheilong quit (Quit: Konversation terminated!) 2015-03-27T06:44:13Z ajtulloch quit (Remote host closed the connection) 2015-03-27T06:44:47Z keen__________27 quit (Read error: Connection timed out) 2015-03-27T06:45:14Z ajtulloch joined #lisp 2015-03-27T06:46:23Z keen__________27 joined #lisp 2015-03-27T06:47:22Z mj-0 joined #lisp 2015-03-27T06:47:49Z gingerale quit (Ping timeout: 264 seconds) 2015-03-27T06:49:31Z ajtulloch quit (Ping timeout: 252 seconds) 2015-03-27T06:58:03Z Harag quit (Quit: Harag) 2015-03-27T07:00:02Z hiroakip joined #lisp 2015-03-27T07:00:17Z hiroaki joined #lisp 2015-03-27T07:00:37Z Quadrescence joined #lisp 2015-03-27T07:01:19Z hlavaty quit (Ping timeout: 255 seconds) 2015-03-27T07:01:36Z Kolt joined #lisp 2015-03-27T07:02:18Z Kolt: Can I ask emacs related questions here? 2015-03-27T07:02:34Z kobain quit (Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/) 2015-03-27T07:03:40Z pillton: Kolt: Not really. Questions related to slime are ok. 2015-03-27T07:03:41Z SAL9000: Kolt: I'd recommend asking in #emacs 2015-03-27T07:04:08Z Kolt: thanks 2015-03-27T07:04:23Z pillton: This channel is about Common Lisp. 2015-03-27T07:06:36Z Kolt quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-03-27T07:06:40Z cyphase quit (Ping timeout: 265 seconds) 2015-03-27T07:08:44Z frkout quit (Remote host closed the connection) 2015-03-27T07:09:47Z Guest23195 joined #lisp 2015-03-27T07:10:14Z quazimodo quit (Ping timeout: 272 seconds) 2015-03-27T07:10:15Z hiroaki quit (Ping timeout: 256 seconds) 2015-03-27T07:10:32Z mj-0 quit (Remote host closed the connection) 2015-03-27T07:10:38Z hiroakip quit (Ping timeout: 264 seconds) 2015-03-27T07:11:05Z mj-0 joined #lisp 2015-03-27T07:15:08Z mj-0 quit (Ping timeout: 246 seconds) 2015-03-27T07:23:48Z angavrilov joined #lisp 2015-03-27T07:24:31Z resttime quit (Quit: resttime) 2015-03-27T07:29:24Z f3lp quit (Ping timeout: 245 seconds) 2015-03-27T07:29:50Z void_AT joined #lisp 2015-03-27T07:30:09Z void_AT is now known as AT_void 2015-03-27T07:30:48Z mishoo joined #lisp 2015-03-27T07:32:46Z a2015 joined #lisp 2015-03-27T07:34:56Z Beetny joined #lisp 2015-03-27T07:36:36Z eazar001_ joined #lisp 2015-03-27T07:36:56Z eazar001 quit (Read error: Connection reset by peer) 2015-03-27T07:37:27Z kushal quit (Ping timeout: 256 seconds) 2015-03-27T07:37:42Z Quadrescence quit (Quit: This computer has gone to sleep) 2015-03-27T07:38:22Z eazar001_ quit (Client Quit) 2015-03-27T07:38:40Z eazar001 joined #lisp 2015-03-27T07:38:50Z Vutral quit (Ping timeout: 264 seconds) 2015-03-27T07:40:00Z beach left #lisp 2015-03-27T07:43:57Z vdamewood joined #lisp 2015-03-27T07:44:13Z Harag joined #lisp 2015-03-27T07:44:21Z Baggers joined #lisp 2015-03-27T07:45:30Z xificurC joined #lisp 2015-03-27T07:46:29Z attila_lendvai joined #lisp 2015-03-27T07:47:01Z PuercoPop: TeMPOraL: you have to place the code you want to run inside a function named main, if you want to change the entry point you use -E I've use it with relative success but there are some quirks, (For example when trying to use wookie to serve a folder) 2015-03-27T07:47:17Z aloksing_ joined #lisp 2015-03-27T07:48:38Z aloksingh quit (Ping timeout: 256 seconds) 2015-03-27T07:49:06Z pgomes joined #lisp 2015-03-27T07:50:03Z kushal joined #lisp 2015-03-27T07:50:22Z AT_void quit (Quit: Page closed) 2015-03-27T07:51:13Z mvilleneuve joined #lisp 2015-03-27T07:51:56Z Harag quit (Quit: Harag) 2015-03-27T07:56:56Z pgomes quit (Ping timeout: 265 seconds) 2015-03-27T07:59:00Z knobo quit (Ping timeout: 272 seconds) 2015-03-27T08:01:52Z remi`bd joined #lisp 2015-03-27T08:04:21Z arenz joined #lisp 2015-03-27T08:06:29Z rtoym_ joined #lisp 2015-03-27T08:06:35Z Dynasty quit (Quit: ChatZilla 0.9.91.1 [Firefox 36.0.4/20150320202338]) 2015-03-27T08:07:01Z clog quit (Ping timeout: 255 seconds) 2015-03-27T08:07:44Z rtoym quit (Ping timeout: 245 seconds) 2015-03-27T08:07:53Z rtoym_ is now known as rtoym 2015-03-27T08:08:21Z __main__ quit (Ping timeout: 248 seconds) 2015-03-27T08:08:32Z Guest23195 quit (Ping timeout: 265 seconds) 2015-03-27T08:08:55Z Shinmera joined #lisp 2015-03-27T08:12:07Z mj-0 joined #lisp 2015-03-27T08:14:34Z knobo joined #lisp 2015-03-27T08:17:34Z mj-0 quit (Ping timeout: 250 seconds) 2015-03-27T08:18:27Z __main__ joined #lisp 2015-03-27T08:19:01Z gklimowicz joined #lisp 2015-03-27T08:20:18Z Harag joined #lisp 2015-03-27T08:20:36Z rtoym quit (Remote host closed the connection) 2015-03-27T08:21:10Z ramus quit (Ping timeout: 272 seconds) 2015-03-27T08:21:26Z ramus joined #lisp 2015-03-27T08:22:26Z gklimowi_ quit (Ping timeout: 272 seconds) 2015-03-27T08:22:59Z Harag quit (Client Quit) 2015-03-27T08:25:54Z Harag joined #lisp 2015-03-27T08:25:54Z guicho joined #lisp 2015-03-27T08:28:15Z Guest23195 joined #lisp 2015-03-27T08:28:20Z Ven joined #lisp 2015-03-27T08:29:38Z Harag quit (Client Quit) 2015-03-27T08:29:52Z Harag joined #lisp 2015-03-27T08:30:38Z Harag quit (Client Quit) 2015-03-27T08:31:16Z attila_lendvai1 joined #lisp 2015-03-27T08:31:16Z attila_lendvai quit (Disconnected by services) 2015-03-27T08:31:17Z attila_lendvai1 quit (Changing host) 2015-03-27T08:31:17Z attila_lendvai1 joined #lisp 2015-03-27T08:31:17Z tkhoa2711 joined #lisp 2015-03-27T08:31:48Z tkhoa2711 quit (Client Quit) 2015-03-27T08:32:45Z Guest23195 is now known as cyphase 2015-03-27T08:33:36Z cyphase quit (Changing host) 2015-03-27T08:33:36Z cyphase joined #lisp 2015-03-27T08:34:20Z guicho quit (Quit: guicho went back to his lisp repl for hacking) 2015-03-27T08:34:58Z Vutral joined #lisp 2015-03-27T08:36:10Z ehu joined #lisp 2015-03-27T08:36:23Z Harag joined #lisp 2015-03-27T08:37:34Z stepnem joined #lisp 2015-03-27T08:42:15Z yorick quit (Ping timeout: 252 seconds) 2015-03-27T08:43:41Z aloksingh joined #lisp 2015-03-27T08:44:54Z Baggers quit (Remote host closed the connection) 2015-03-27T08:45:45Z aloksing_ quit (Ping timeout: 265 seconds) 2015-03-27T08:47:27Z aloksingh quit (Read error: Connection reset by peer) 2015-03-27T08:47:32Z aloksing_ joined #lisp 2015-03-27T08:50:53Z jackdaniel: cl-launch ? 2015-03-27T08:51:58Z jackdaniel: http://ix.io/gaJ <- example 2015-03-27T08:52:37Z Vutral quit (Ping timeout: 248 seconds) 2015-03-27T08:54:53Z longlius_ quit (Remote host closed the connection) 2015-03-27T08:55:11Z _pakchoi_ops quit (Remote host closed the connection) 2015-03-27T08:55:45Z PuercoPop: yeah, hunchentoot worked np, but I was left wondering why didn't wookie 2015-03-27T08:59:56Z radioninja joined #lisp 2015-03-27T08:59:57Z balle quit (Read error: Connection reset by peer) 2015-03-27T09:00:15Z vr-rm quit (Ping timeout: 265 seconds) 2015-03-27T09:01:18Z stardiviner quit (Quit: Weird in coding now, or make love, only two things push me away from IRC.) 2015-03-27T09:01:22Z ehu1 joined #lisp 2015-03-27T09:01:41Z psy_ quit (Ping timeout: 248 seconds) 2015-03-27T09:01:43Z Shinmera quit (Quit: しつれいしなければならないんです。) 2015-03-27T09:02:59Z ehu quit (Ping timeout: 246 seconds) 2015-03-27T09:03:46Z Niac quit (Remote host closed the connection) 2015-03-27T09:04:03Z aloksingh joined #lisp 2015-03-27T09:04:15Z mj-0 joined #lisp 2015-03-27T09:05:49Z harish quit (Ping timeout: 264 seconds) 2015-03-27T09:06:31Z Shinmera joined #lisp 2015-03-27T09:06:59Z ehu joined #lisp 2015-03-27T09:07:24Z aloksing_ quit (Ping timeout: 256 seconds) 2015-03-27T09:07:59Z larion quit (Ping timeout: 265 seconds) 2015-03-27T09:07:59Z ehu2 joined #lisp 2015-03-27T09:09:55Z mtd quit (Ping timeout: 265 seconds) 2015-03-27T09:10:02Z ehu1 quit (Ping timeout: 264 seconds) 2015-03-27T09:11:31Z ehu quit (Ping timeout: 256 seconds) 2015-03-27T09:11:33Z quazimodo joined #lisp 2015-03-27T09:15:59Z cadadar joined #lisp 2015-03-27T09:17:55Z psy_ joined #lisp 2015-03-27T09:19:31Z przl joined #lisp 2015-03-27T09:19:45Z przl quit (Client Quit) 2015-03-27T09:19:54Z przl joined #lisp 2015-03-27T09:20:46Z Vutral joined #lisp 2015-03-27T09:22:49Z gklimowicz quit (Ping timeout: 244 seconds) 2015-03-27T09:26:25Z balle joined #lisp 2015-03-27T09:27:45Z _pakchoi_ops joined #lisp 2015-03-27T09:31:25Z munksgaard joined #lisp 2015-03-27T09:32:54Z hlavaty joined #lisp 2015-03-27T09:35:47Z ft quit (Ping timeout: 252 seconds) 2015-03-27T09:37:42Z _pakchoi_ops quit (Quit: No Ping reply in 240 seconds.) 2015-03-27T09:39:08Z _pakchoi_ops joined #lisp 2015-03-27T09:42:58Z pranavrc quit (Read error: Connection reset by peer) 2015-03-27T09:43:23Z pranavrc joined #lisp 2015-03-27T09:46:01Z larion joined #lisp 2015-03-27T09:46:44Z bb3121 joined #lisp 2015-03-27T09:58:28Z ft joined #lisp 2015-03-27T10:01:19Z edgar-rft joined #lisp 2015-03-27T10:02:35Z Harag quit (Quit: Harag) 2015-03-27T10:02:45Z Shinmera quit (Quit: しつれいしなければならないんです。) 2015-03-27T10:04:19Z clog joined #lisp 2015-03-27T10:04:53Z omykolaichyk joined #lisp 2015-03-27T10:05:05Z scymtym_ joined #lisp 2015-03-27T10:06:44Z vr-rm joined #lisp 2015-03-27T10:09:17Z decent_ is now known as decent 2015-03-27T10:09:24Z yeticry quit (Ping timeout: 245 seconds) 2015-03-27T10:11:41Z yeticry joined #lisp 2015-03-27T10:12:52Z guicho joined #lisp 2015-03-27T10:13:42Z larion quit (Ping timeout: 256 seconds) 2015-03-27T10:15:04Z Longlius joined #lisp 2015-03-27T10:16:08Z yeticry quit (Ping timeout: 246 seconds) 2015-03-27T10:17:10Z yeticry joined #lisp 2015-03-27T10:18:20Z aloksingh quit (Remote host closed the connection) 2015-03-27T10:22:34Z smokeink joined #lisp 2015-03-27T10:24:53Z harish joined #lisp 2015-03-27T10:25:11Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2015-03-27T10:26:53Z ovenpasta quit (Ping timeout: 250 seconds) 2015-03-27T10:28:02Z ovenpasta joined #lisp 2015-03-27T10:28:44Z ayon joined #lisp 2015-03-27T10:28:54Z ayon: Hi all :) 2015-03-27T10:30:55Z ayon: How do I access the keys of a plist that is quoted like so: '(:NAME "para" :ATTRIBUTES (:STYLE "width: 100px") :CONTENT (.. same ... but NOT quoted?) 2015-03-27T10:31:34Z mbuf quit (Quit: Leaving) 2015-03-27T10:31:51Z Karl_Dscc joined #lisp 2015-03-27T10:31:51Z ayon: For instance: (getf a-tree :name ) returns NIL 2015-03-27T10:32:49Z attila_lendvai1 quit (Ping timeout: 252 seconds) 2015-03-27T10:32:59Z H4ns: please paste a complete example directly from your repl to paste.lisp.org 2015-03-27T10:33:36Z ayon: sure, one sec. You want the code that sets it all Up, or just the output? 2015-03-27T10:34:24Z H4ns: enough of it to demonstrate the problem. maybe you want to first experiment in the repl to see whether you can reproduce the unwanted behavior outside of your program 2015-03-27T10:34:59Z H4ns: there is no difference in accessing a plist that has been generated by a function to a plist that you've written into your source code in quoted form when it comes to GETF. 2015-03-27T10:35:18Z H4ns: quoting is just a technique that allows you to put literal data into your code. 2015-03-27T10:35:32Z ayon: http://paste.lisp.org/display/146533 2015-03-27T10:36:25Z H4ns: oh boy. 2015-03-27T10:36:27Z ayon: I don't actually quote it, it's produced by a macro... 2015-03-27T10:36:38Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-03-27T10:37:15Z ayon: I am a lisp newbie...you could tell yes? 2015-03-27T10:37:47Z nopf_ is now known as nopf 2015-03-27T10:38:44Z H4ns: ayon: how do you learn lisp? your code looks really really unusual and i have trouble following what's going on. 2015-03-27T10:39:05Z ayon: Oh, I left out $lw-debug, it's just a wrapper around (format t "~A ~S~C" arg1 arg2) 2015-03-27T10:39:09Z H4ns: ayon: there are many very basic mistakes that you could avoid by reading good books and good code, and that'd make your code easier to review. 2015-03-27T10:39:16Z omykolaichyk quit (Quit: Ex-Chat) 2015-03-27T10:39:46Z SAL9000 quit (Ping timeout: 256 seconds) 2015-03-27T10:40:14Z ovenpasta quit (Ping timeout: 245 seconds) 2015-03-27T10:40:15Z H4ns: ayon: for example, your indentation is not very regular and does not follow common style, you use a $ prefix to almost everything with no apparent reason, you try to use strings as symbols, you setf variables that you've not declared, you're using macros where functions would do etc. pp. 2015-03-27T10:40:21Z ayon: I am reading Common LISP: A gentle intro... ANSI Common LISP (Graham), Practical Common LISP (Seibel) and On Lisp 2015-03-27T10:40:35Z qubitnerd quit (Ping timeout: 246 seconds) 2015-03-27T10:40:54Z ayon: Sorry, the point is to create a kind of DSL 2015-03-27T10:40:58Z H4ns: maybe choose one of them and follow it from start to end before you try to pick things from different books without having an understanding what these things are 2015-03-27T10:41:02Z SAL9000 joined #lisp 2015-03-27T10:41:38Z munksgaard quit (Ping timeout: 246 seconds) 2015-03-27T10:41:39Z Adlai notices commas inside a string... those will not unquote 2015-03-27T10:41:41Z guicho quit (Quit: guicho went back to his lisp repl for hacking) 2015-03-27T10:41:41Z H4ns: are you interested in solving a problem or are you interested in applying a solution to some problem? 2015-03-27T10:43:52Z ayon: That's a good question... 2015-03-27T10:44:32Z H4ns: try testing what you do in an incremental fashion 2015-03-27T10:44:40Z ayon: I do. 2015-03-27T10:44:45Z H4ns: i.e. use the repl to evaluate calls to your functions and macroexpansions 2015-03-27T10:44:51Z ayon: I do. 2015-03-27T10:45:03Z ayon: And it all works, except it doesn't. 2015-03-27T10:45:03Z H4ns: well, if you did, you would know that your first macro does not work at all 2015-03-27T10:45:08Z GuilOooo quit (Ping timeout: 265 seconds) 2015-03-27T10:45:11Z ayon: But it does... 2015-03-27T10:45:24Z ayon: It just doesn't work the way I intended it to... 2015-03-27T10:45:26Z H4ns: then you've not shown us the code that you say works. 2015-03-27T10:45:42Z ayon: Ahh, I will paste the whole kit there, and make sure it runs in a REPL 2015-03-27T10:45:51Z H4ns: no need. 2015-03-27T10:46:12Z H4ns: just use macroexpand to look at the expansion of your $lw-define-presenter-function 2015-03-27T10:46:27Z H4ns: it does not work at all. as it stands, it is completely bogus. 2015-03-27T10:46:59Z H4ns: then look at $lw-define-presenter-functions - what is funcs_to_declare? is it a variable? where do you declare it? you don't. fix that. 2015-03-27T10:47:02Z Harag joined #lisp 2015-03-27T10:47:32Z Harag quit (Client Quit) 2015-03-27T10:47:47Z H4ns: then look at the go-down local function. why is it a local function? the name suggests that you want to go down somewhere, but you don't 2015-03-27T10:48:25Z alpha-: I love being able to use sigils in variable names, same as in perl 2015-03-27T10:48:30Z ayon: You are correct, I had left over definition in my repl... 2015-03-27T10:48:33Z alpha-: flexibility is great 2015-03-27T10:48:42Z Harag joined #lisp 2015-03-27T10:48:43Z Cymew joined #lisp 2015-03-27T10:49:06Z ayon: Sorry, go-down is being built incrementally, it is supposed to recursively traverse the tree and output some text. 2015-03-27T10:49:46Z echo-area quit (Remote host closed the connection) 2015-03-27T10:51:02Z hitecnologys_ joined #lisp 2015-03-27T10:51:10Z ayon: I will have to go back and see why the macro doesn't work. 2015-03-27T10:51:41Z larion joined #lisp 2015-03-27T10:52:24Z gravicappa joined #lisp 2015-03-27T10:52:38Z H4ns: a macro needs to expand to exactly one form. if you need it to expand to multiple forms, wrap them in a progn. 2015-03-27T10:52:46Z hitecnologys quit (Ping timeout: 252 seconds) 2015-03-27T10:52:47Z hitecnologys_ is now known as hitecnologys 2015-03-27T10:52:53Z H4ns: also learn what a symbol is. hint: it is not a string. 2015-03-27T10:53:48Z xan_ joined #lisp 2015-03-27T10:54:13Z ayon: I understand that it is not a string, however I would like, if possible, to define a function based on inputted string... 2015-03-27T10:55:57Z H4ns: why? 2015-03-27T10:56:48Z ayon: It seemed like the optimal solution... 2015-03-27T10:57:14Z H4ns: before you can say whether a solution is optimal, you need to get an understanding of your options. 2015-03-27T10:57:18Z _pakchoi_ops quit (Remote host closed the connection) 2015-03-27T10:57:21Z sdothum joined #lisp 2015-03-27T10:57:32Z dim: hey H4ns! btw the problem with the dynamic scoping the other day was (of course) a mispelling issue after having changed the binding name and not changing it properly in the let form, which is hard to track in SLIME without restarting the whole image, unfortunately 2015-03-27T10:57:55Z H4ns: dim: pew! :) 2015-03-27T10:58:22Z dim: yeah I was like "I though I knew how it worked, and there's not even threading getting in the way here, damn it" ;-) 2015-03-27T10:59:21Z dim: I guess the lesson is to always restart the image when refactoring 2015-03-27T11:01:13Z JJaskologist joined #lisp 2015-03-27T11:01:36Z muir1 joined #lisp 2015-03-27T11:04:36Z Jaskologist quit (Ping timeout: 244 seconds) 2015-03-27T11:04:48Z k-dawg joined #lisp 2015-03-27T11:07:27Z theos quit (Disconnected by services) 2015-03-27T11:07:58Z theos joined #lisp 2015-03-27T11:15:33Z kcj quit (Remote host closed the connection) 2015-03-27T11:17:09Z Xach: Last night I dreamed I read some code that had (let ((foo 42 :alias baz)) ...) and I thought it was wrong, so I looked it up in the clhs and it really was valid. I was so excited to have a new example of finding new things in CL all the time. 2015-03-27T11:17:57Z dim: hehe 2015-03-27T11:18:37Z dim: but of course it was only a dream, :alias isn't valid, right? 2015-03-27T11:18:51Z dim: (just tested. you got me.) 2015-03-27T11:19:12Z Xach: My dream state synthesized a pretty convincing fragment of the spec 2015-03-27T11:19:49Z dim: that's quite elaborate dreaming here 2015-03-27T11:19:54Z ayon: How would one define a function based on an input string to a macro? I.e. how can I convert a string so that it becomes the name of the function? 2015-03-27T11:20:57Z dim: you intern it as a symbol, using intern 2015-03-27T11:20:59Z dim: clhs intern 2015-03-27T11:20:59Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_intern.htm 2015-03-27T11:21:09Z ayon: But that produces something other than the string 2015-03-27T11:21:13Z dim: but your question sounds strange to me, care to explain the use case? 2015-03-27T11:21:51Z ayon: I want to define some arbitrary function, with a macro like (my-macro "foo") and then call the function with (foo ...) 2015-03-27T11:22:46Z Xach: ayon: the symbol-name of the symbol foo, under default settings, is "FOO" 2015-03-27T11:24:35Z intinig joined #lisp 2015-03-27T11:25:15Z larion quit (Ping timeout: 265 seconds) 2015-03-27T11:25:32Z paradoja joined #lisp 2015-03-27T11:25:33Z Cymew: Xach: Some would say you've spent way too much time with clhs if it shows up in your dreams! 2015-03-27T11:26:01Z larion joined #lisp 2015-03-27T11:28:21Z Karl_Dscc quit (Remote host closed the connection) 2015-03-27T11:29:06Z pt1_ joined #lisp 2015-03-27T11:29:09Z pt1 quit (Read error: Connection reset by peer) 2015-03-27T11:30:26Z intinig quit 2015-03-27T11:30:53Z cpc26_ joined #lisp 2015-03-27T11:31:41Z pranavrc quit (Remote host closed the connection) 2015-03-27T11:33:03Z cpc26 quit (Read error: Connection reset by peer) 2015-03-27T11:33:46Z qubitnerd joined #lisp 2015-03-27T11:34:06Z qubitnerd is now known as Guest28156 2015-03-27T11:35:05Z pranavrc joined #lisp 2015-03-27T11:36:18Z ehu2 is now known as ehu 2015-03-27T11:38:31Z Guest28156 quit (Ping timeout: 255 seconds) 2015-03-27T11:40:13Z intinig joined #lisp 2015-03-27T11:43:28Z yati_ joined #lisp 2015-03-27T11:43:59Z Xach: or not enough, if bogus entries are showing up 2015-03-27T11:44:46Z bb3121 quit (Read error: Connection reset by peer) 2015-03-27T11:44:53Z scymtym_ quit (Ping timeout: 250 seconds) 2015-03-27T11:45:46Z ayon: How can I convert SIMPLE-ARRAY CHARACTER to something I can use subseq with? 2015-03-27T11:47:45Z Vutral quit (Excess Flood) 2015-03-27T11:47:57Z ayon: Basically I want to get a substring from a variable that is input as a string 2015-03-27T11:49:02Z jackdaniel: ayon: doesn't subseq work with strings? 2015-03-27T11:49:43Z Xach: subseq works with strings 2015-03-27T11:50:33Z ayon: except it keeps saying var is not type of SEQUENCE when calling the macro... 2015-03-27T11:50:59Z ayon: (type-of ...) returns SIMPLE-ARRAY CHARATER as the type of var 2015-03-27T11:51:08Z jackdaniel: (subseq "asdfasdf" 1 3) 2015-03-27T11:51:15Z mj-0 quit (Remote host closed the connection) 2015-03-27T11:51:29Z Adlai: is it multidimensional? 2015-03-27T11:51:42Z mj-0 joined #lisp 2015-03-27T11:51:50Z ayon: Yeah sorry, I gave the wrong info, the problem is before the subseq call, it's the macro call that wants a SEQUENCE. 2015-03-27T11:52:17Z jackdaniel: ayon: paste code somewhere (but not here) 2015-03-27T11:52:18Z mj-0 quit (Read error: Connection reset by peer) 2015-03-27T11:52:30Z ayon: k, 1 sec 2015-03-27T11:53:55Z jackdaniel counted 1 sec already 2015-03-27T11:53:57Z intinig quit (Remote host closed the connection) 2015-03-27T11:53:58Z jackdaniel: dozen of times ;) 2015-03-27T11:54:17Z Vutral joined #lisp 2015-03-27T11:55:04Z pjb joined #lisp 2015-03-27T11:55:33Z ayon: http://paste.lisp.org/display/146535 2015-03-27T11:55:52Z ayon: Sorry, I wanted to test in REPL so I had to collect up some funcs 2015-03-27T11:56:04Z eudoxia joined #lisp 2015-03-27T11:56:37Z cadadar quit (Ping timeout: 248 seconds) 2015-03-27T11:57:34Z cadadar joined #lisp 2015-03-27T11:58:36Z Xach: ayon: $LW-DEFINE-PRESENTER-FUNCTION is a macro, so when you call it with FUNC, it gets the symbol FUNC as an argument. Not a sequence. 2015-03-27T11:59:16Z GuilOooo joined #lisp 2015-03-27T11:59:37Z ayon: I see... 2015-03-27T12:00:03Z Xach: ayon: READ-FROM-STRING is an odd way to do what that code is doing. it is more typical to use a s-expression template via ` 2015-03-27T12:01:13Z ayon: Xach: I tried that, I would refactor the code once I can figure out how to make it do exactly what I want. 2015-03-27T12:01:36Z jackdaniel: http://ix.io/h9e - maybe try such construct? 2015-03-27T12:01:51Z Xach: ayon: If I were doing the same task, I would use macrolet instead to generate a sequence of DEFUN forms in a PROGN. 2015-03-27T12:02:01Z pjb: jackdaniel: there's an annotate button on paste.lisp.org! 2015-03-27T12:02:12Z Xach: but maybe there are more constraints not visible from that snippet 2015-03-27T12:02:12Z jackdaniel: pjb: didn't notice it, thanks 2015-03-27T12:02:17Z jackdaniel: ill remember next time 2015-03-27T12:02:39Z pjb: ayon: functions are named by symbols in lisp, not by strings. 2015-03-27T12:03:19Z ayon: I do understand that. 2015-03-27T12:03:34Z pjb: the *funcs-to-declare* should contain symbols, not strings. 2015-03-27T12:03:36Z pjb: then 2015-03-27T12:05:06Z cadadar left #lisp 2015-03-27T12:05:39Z ayon: ($lw-define-presenter-function "foo") works 2015-03-27T12:05:57Z ayon: So why doesn't it work with "foo" is a string from a list of strings with (dolist ? 2015-03-27T12:06:03Z muir1 left #lisp 2015-03-27T12:06:44Z Zhivago: Is it a macro? 2015-03-27T12:06:45Z Xach: ayon: because macros do not evaluate their arguments normally. they receive the source code, not the value that source code evaluates to. 2015-03-27T12:06:55Z ayon: Obviously because func is being taken literally instead of interpolated, so how can I get to evaluate the argument? 2015-03-27T12:07:27Z Zhivago: Perhaps you want something like `($lw-define-presenter-function ,foo) in another macro? 2015-03-27T12:07:29Z ayon: Zhivago: yes it's a macro 2015-03-27T12:07:51Z ayon: I'll try it. 2015-03-27T12:08:09Z przl quit (Ping timeout: 252 seconds) 2015-03-27T12:08:57Z jackdaniel: ayon: http://paste.lisp.org/display/146535#1 <- have you checked my paste? 2015-03-27T12:09:14Z SAL9000 quit (Ping timeout: 265 seconds) 2015-03-27T12:09:14Z jackdaniel: /annotation/ 2015-03-27T12:10:28Z munksgaard joined #lisp 2015-03-27T12:10:40Z Karl_Dscc joined #lisp 2015-03-27T12:12:08Z ayon: jackdaniel: I am not sure what it means, it looks like what I am doin? 2015-03-27T12:12:24Z ayon: Zhivago: no joy, same issue with the wrapper macro 2015-03-27T12:13:12Z SAL9000 joined #lisp 2015-03-27T12:14:14Z Zhivago: Perhaps a lisppaste would help? 2015-03-27T12:14:22Z jackdaniel: ayon: try replacing your macro whith http://paste.lisp.org/display/146535#2 2015-03-27T12:14:38Z ayon: zhivago: http://paste.lisp.org/display/146535 2015-03-27T12:15:48Z pt1_ quit (Remote host closed the connection) 2015-03-27T12:17:21Z Zhivago: You need to do the dolist in the macro. 2015-03-27T12:17:43Z ayon: ahh... 2015-03-27T12:17:45Z Zhivago: Get rid of the function completely. 2015-03-27T12:17:57Z ayon: jackdaniel: your code gets rid of the problem...but nothing is defined... 2015-03-27T12:18:59Z ayon: The only issue is, it needs to be dynamic...I.e. core functions now, new functions maybe later at runtime 2015-03-27T12:19:56Z ayon: Maybe i'll just write them all out by hand...but I wanted to find a more elegant solution and just list over them 2015-03-27T12:22:09Z ndrei quit (Ping timeout: 250 seconds) 2015-03-27T12:24:26Z Ven joined #lisp 2015-03-27T12:24:53Z jackdaniel: (defmacro presenter-function (name) `(defun ,name () (list 1 2 3))) 2015-03-27T12:25:00Z jackdaniel: this defines function put as a name 2015-03-27T12:25:43Z cadadar joined #lisp 2015-03-27T12:26:24Z jackdaniel: your may check how macro expands like (macroexpand-1 '(presenter-function mmy-fun)) 2015-03-27T12:28:12Z cadadar quit (Client Quit) 2015-03-27T12:32:36Z SAL9000: Is there a CSS parser for Common Lisp? There's https://github.com/bhyde/css-parser but it seems to be in alpha. 2015-03-27T12:32:48Z pt1 joined #lisp 2015-03-27T12:33:01Z Zhivago: ayon: You can generate source code using a do loop and then compile it using COMPILE, I guess. 2015-03-27T12:35:07Z Xach: SAL9000: https://github.com/AccelerationNet/css-selectors seems to include one, but I'm not sure if it's exposed via the API in a direct way 2015-03-27T12:35:57Z SAL9000: Xach: doesn't look like it. I'm trying to identify whether a given element in a DOM tree is, say, centered, bold, etc. 2015-03-27T12:41:04Z Beetny quit (Ping timeout: 255 seconds) 2015-03-27T12:41:31Z SAL9000: is there a reference somewhere on how to write type declarations? 2015-03-27T12:41:35Z SAL9000: can't find anything useful on clhs 2015-03-27T12:43:33Z SAL9000: never mind, found it 2015-03-27T12:46:54Z Soft quit (Ping timeout: 245 seconds) 2015-03-27T12:47:01Z mikaelj_ quit (Ping timeout: 252 seconds) 2015-03-27T12:47:01Z ayon: Zhivago, jackdaniel, Xach, H4ns, thanks for all the help :) 2015-03-27T12:47:48Z ayon: I didn't get the loop to work, so I just write them out one after another, it's more explicit anyway 2015-03-27T12:48:03Z mikaelj joined #lisp 2015-03-27T12:49:50Z emaczen joined #lisp 2015-03-27T12:54:14Z emaczen: Does anyone here use slime-company ? 2015-03-27T12:54:32Z intinig joined #lisp 2015-03-27T12:54:47Z devll joined #lisp 2015-03-27T12:54:52Z clop quit (Ping timeout: 252 seconds) 2015-03-27T12:56:02Z Guest33555 is now known as qbit 2015-03-27T12:58:59Z emaczen: nvm, it seems that you must type 3 characters before company does anything. 2015-03-27T12:59:16Z intinig quit (Ping timeout: 252 seconds) 2015-03-27T12:59:34Z pranavrc quit 2015-03-27T13:00:30Z Soft joined #lisp 2015-03-27T13:01:29Z psy_ quit (Ping timeout: 245 seconds) 2015-03-27T13:02:31Z redeemed joined #lisp 2015-03-27T13:04:06Z przl joined #lisp 2015-03-27T13:04:21Z ziocroc joined #lisp 2015-03-27T13:06:57Z clop joined #lisp 2015-03-27T13:08:35Z intinig joined #lisp 2015-03-27T13:09:22Z przl quit (Ping timeout: 256 seconds) 2015-03-27T13:09:46Z EvW joined #lisp 2015-03-27T13:10:06Z LiamH joined #lisp 2015-03-27T13:11:43Z badkins joined #lisp 2015-03-27T13:11:43Z Harag quit (Read error: Connection reset by peer) 2015-03-27T13:11:50Z vdamewood quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-03-27T13:12:13Z SAL9000: anyone know a common lisp package for finding common substrings in two strings? 2015-03-27T13:14:57Z soul11021 joined #lisp 2015-03-27T13:15:41Z soul11021 left #lisp 2015-03-27T13:16:35Z przl joined #lisp 2015-03-27T13:17:26Z pjb: SAL9000: you can use MISMATCH but you will have to write your algorithm yourself I'm afraid. 2015-03-27T13:18:29Z xificurC quit (Remote host closed the connection) 2015-03-27T13:18:57Z pjb: ayon: the question is whether the function you want to define, will be used in your program source, or will only be called at run-time. 2015-03-27T13:19:20Z pjb: ayon: in the former case, then you shall define them with a macro: $lw-define-presenter-functions should be a macro. 2015-03-27T13:19:36Z Mon_Ouie quit (Ping timeout: 250 seconds) 2015-03-27T13:19:43Z pjb: ayon: in the later case, then you probably do not need to "name" them, and you can just use functions to create your (anonymous) functions. 2015-03-27T13:20:54Z theseb joined #lisp 2015-03-27T13:21:08Z pjb: ayon: if you want to name them, you can always use (compile name `(lambda (arg-attrs &rest arg-rest) (list* :name ,(string name) :attributes arg-attrs :content arg-rest))) 2015-03-27T13:21:47Z splittist: SAL9000: or cl-string-match 2015-03-27T13:23:38Z digiorgi joined #lisp 2015-03-27T13:24:33Z emaczen quit (Remote host closed the connection) 2015-03-27T13:24:38Z digiorgi: I read that if i use the &rest or &body arguments in a macro i cant modify that argument, because it shields in a self rewriting code. Is it now true? 2015-03-27T13:25:06Z H4ns: digiorgi: what do you mean by "now true"? 2015-03-27T13:25:09Z Adlai: digiorgi: you could try modifying that argument, but the consequences are undefined, so your printer might catch fire 2015-03-27T13:25:24Z H4ns: digiorgi: you must not modify macro arguments because a macro might be expanded more than once. 2015-03-27T13:25:25Z ndrei joined #lisp 2015-03-27T13:26:01Z digiorgi: thanks! But why a macro is expanded more than once in the same code? 2015-03-27T13:26:16Z H4ns: digiorgi: because the compile might need to do multiple passes over the code. 2015-03-27T13:26:47Z ruste quit (Read error: Connection reset by peer) 2015-03-27T13:28:13Z emaczen joined #lisp 2015-03-27T13:28:18Z digiorgi: thanks! OnLisp is really i good book, i didn't read such things in Practical CL, perhaps my fault 2015-03-27T13:30:56Z theseb quit (Quit: Leaving) 2015-03-27T13:32:25Z emaczen quit (Remote host closed the connection) 2015-03-27T13:33:02Z bobbysmith007: SAL9000: the CSS parse should be exposed enough to make it usable. (css:parse-results "tag.class") => (:AND (:ELEMENT "tag") (:CLASS "class")) 2015-03-27T13:34:23Z bobbysmith007: SAL9000: actually it sounds like you want a css parser not a selector parser, apologies 2015-03-27T13:34:35Z oleo joined #lisp 2015-03-27T13:35:23Z oleo: hello :) 2015-03-27T13:36:31Z ASau quit (Ping timeout: 252 seconds) 2015-03-27T13:38:44Z ayon: pjb: Thanks! I actually do use that method (anonymous functions) for a lot of stuff, but this small group of say 20 functions defines a DSL for describing data presentation (like HAML) 2015-03-27T13:39:05Z gklimowicz joined #lisp 2015-03-27T13:40:09Z Adlai: now this is a weird one: in slime sprof browsing mode, defining a keyboard macro to expand a frame (RET) and move up one row (C-p), then repeatedly executing it - closes each frame when moving to the next 2015-03-27T13:40:34Z ASau joined #lisp 2015-03-27T13:41:12Z pjb: ayon: then $lw-define-presenter-functions should be a macro. 2015-03-27T13:42:02Z zadock joined #lisp 2015-03-27T13:42:03Z ayon: pjb it is :) 2015-03-27T13:42:07Z pjb: Good. 2015-03-27T13:42:22Z ayon: I fixed it now, so it's working and quite fun! 2015-03-27T13:43:06Z Adlai: mitigation: use the up arrow key instead of C-p 2015-03-27T13:43:08Z ayon: Now I will get back to the tree walker that emits the HTML and see how it goes. 2015-03-27T13:45:02Z luis` is now known as luis1 2015-03-27T13:45:09Z Adlai ended up with Callers and Calls above the first row of the report :-\ 2015-03-27T13:46:18Z luis1 is now known as luis 2015-03-27T13:46:19Z yasha_ quit (Ping timeout: 244 seconds) 2015-03-27T13:52:40Z KingCons_ joined #lisp 2015-03-27T13:54:30Z gingerale joined #lisp 2015-03-27T13:58:32Z yasha_ joined #lisp 2015-03-27T13:59:26Z stepnem quit (Ping timeout: 246 seconds) 2015-03-27T14:01:48Z cluck joined #lisp 2015-03-27T14:04:43Z stepnem joined #lisp 2015-03-27T14:05:05Z dfinninger joined #lisp 2015-03-27T14:05:48Z wheely joined #lisp 2015-03-27T14:07:35Z wheely quit (Quit: WeeChat 1.1.1) 2015-03-27T14:07:47Z ziocroc quit (Quit: ziocroc) 2015-03-27T14:08:29Z jlongster joined #lisp 2015-03-27T14:11:02Z qubitnerd joined #lisp 2015-03-27T14:13:33Z wheelsucker joined #lisp 2015-03-27T14:15:25Z devll quit (Ping timeout: 264 seconds) 2015-03-27T14:18:52Z przl_ joined #lisp 2015-03-27T14:20:53Z ndrei quit (Ping timeout: 250 seconds) 2015-03-27T14:21:03Z Fizzixnerd joined #lisp 2015-03-27T14:21:11Z Fizzixnerd: join #ghc-mod 2015-03-27T14:21:13Z Fizzixnerd: list 2015-03-27T14:21:19Z Fizzixnerd: whoops 2015-03-27T14:21:29Z dfinninger quit (Remote host closed the connection) 2015-03-27T14:22:28Z przl quit (Ping timeout: 256 seconds) 2015-03-27T14:23:00Z Baggers joined #lisp 2015-03-27T14:26:07Z ndrei joined #lisp 2015-03-27T14:30:01Z ayon: How can I get the actual typed representation of a :symbol-Like-thIs for printing? 2015-03-27T14:30:11Z ayon: I.e. not all UPPCASEd? 2015-03-27T14:30:51Z pjb: (symbol-name :symbol-Like-thIs) --> ":SYMBOL-LIKE-THIS" 2015-03-27T14:31:02Z flip214: ayon: (intern "symbol-Like-thIs" :keyword) 2015-03-27T14:31:23Z pjb: or just: :|symbol-Like-thIs| 2015-03-27T14:31:34Z ayon: and if it's a variable? 2015-03-27T14:31:39Z pjb: what? 2015-03-27T14:31:44Z Xach: ayon: by default, a symbol with mixed case like that does have an all-uppercase symbol-name. 2015-03-27T14:31:54Z pjb: (let ((|myVariable| 42)) |myVariable|) --> 42 2015-03-27T14:32:07Z Xach: ayon: you can change case when printing with the value of *print-case*, among other options. 2015-03-27T14:32:10Z pjb: (let ((|my very own Variable| 42)) |my very own Variable|) --> 42 2015-03-27T14:32:21Z Xach: that changes the printed case, not the actual symbol name case 2015-03-27T14:32:23Z ayon: I am iterating over a plist with key value pairs, and I want to print the key in the right case 2015-03-27T14:32:34Z pjb: And you can also preserve it while reading with (SETF (READTABLEu-CASE *READTABLE*) :PRESERVE) 2015-03-27T14:32:49Z Xach: the printer does what's right to read back properly 2015-03-27T14:32:58Z Xach: you have to be more specific if you want a different version of right 2015-03-27T14:33:00Z pjb: s/u-/-/ 2015-03-27T14:34:04Z ayon: (format nil "~A=\"~A\"" k v) 2015-03-27T14:34:22Z Shinmera joined #lisp 2015-03-27T14:34:29Z pjb: (format nil "~A=\"~A\"" '|my Key| 42) --> "my key=\"42\"" 2015-03-27T14:34:29Z ayon: Where k, can be any typed symbol, like :style, :width, and I want it to say style="xxx" instead of STYLE="xxx" 2015-03-27T14:34:39Z pjb: ayon: you need to control *print-case* if you print symbols! 2015-03-27T14:35:00Z pjb: (format nil "~A=\"~A\"" (symbol-name '|my Key|) 42) --> "my Key=\"42\"" 2015-03-27T14:35:07Z jdz: clhs ~( 2015-03-27T14:35:08Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/22_cha.htm 2015-03-27T14:35:11Z Xach: ayon: one easy way is "~(~A~)=~S" k v" 2015-03-27T14:35:13Z pjb: you can print the symbol-name instead, if you don't want to control the *print-case*. 2015-03-27T14:35:16Z Xach: (sans that final ") 2015-03-27T14:35:36Z pjb: there's no configuration of ~( that preserves the symbol name case! 2015-03-27T14:36:37Z ayon: hrrm, with *print-case* I can up it or down it, but there's not way to say: Just print what you received. 2015-03-27T14:37:02Z jdz: also, to print such a plist: (format nil "~{~(~A~)=\"~A\"~^ ~}" http-attr-plist) 2015-03-27T14:37:26Z Xach: ayon: because by default, symbol names are converted to all uppercase, so what was received is no longer available. 2015-03-27T14:37:43Z ayon: Thought so. 2015-03-27T14:37:48Z ayon: it's not a biggy 2015-03-27T14:37:56Z ayon: Just a visual kind of thing 2015-03-27T14:38:38Z ayon: downcase is better than up :) so that's what I'll change 2015-03-27T14:39:10Z paradoja quit (Remote host closed the connection) 2015-03-27T14:39:29Z ayon: god I love lisp. 2015-03-27T14:40:23Z bobbysmith007 left #lisp 2015-03-27T14:40:55Z intinig quit (Remote host closed the connection) 2015-03-27T14:41:08Z ayon: Once you get it to work, man does it do some cool stuff 2015-03-27T14:41:15Z intinig joined #lisp 2015-03-27T14:41:29Z jdz: ayon: did you try my suggestion yet? 2015-03-27T14:41:46Z jdz: it'll blow your socks off! 2015-03-27T14:41:49Z jdz: guaranteed 2015-03-27T14:41:50Z ayon: OMG, no, but I will 2015-03-27T14:41:54Z ayon: I love format so much 2015-03-27T14:41:58Z Karl_Dscc quit (Remote host closed the connection) 2015-03-27T14:42:07Z larion quit (Ping timeout: 255 seconds) 2015-03-27T14:42:26Z gklimowicz quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-03-27T14:43:02Z ayon: Yup, works and is awesome 2015-03-27T14:44:15Z jlongster quit (Ping timeout: 246 seconds) 2015-03-27T14:45:09Z ayon: jdz: Thanks! got rid of several lines of code 2015-03-27T14:45:34Z jdz: awesome 2015-03-27T14:46:01Z jdz: one thing you'll probably want to do is ensure that the values are properly escaped, though 2015-03-27T14:47:46Z hiroaki joined #lisp 2015-03-27T14:48:05Z hiroakip joined #lisp 2015-03-27T14:48:13Z eudoxia quit (Quit: Leaving) 2015-03-27T14:49:26Z Fizzixnerd quit (Remote host closed the connection) 2015-03-27T14:49:44Z ayon: jdz: Yeah, for right now I am just getting things rigged up and working 2015-03-27T14:49:47Z ruste joined #lisp 2015-03-27T14:49:55Z dfinninger joined #lisp 2015-03-27T14:50:10Z ayon: jdz: you did mean escaped from nasty code, or something else? 2015-03-27T14:50:29Z jlongster joined #lisp 2015-03-27T14:50:41Z ayon: jdz: like a sanitize function? 2015-03-27T14:51:53Z jdz: ayon; the FORMAT call wraps values in double quotes, so you must ensure all double quotes in attribute values are escaped 2015-03-27T14:53:24Z pjb: In general, you can use ~S to print escaped strings, but for HTML/XML there are more complex rules, so you really want to implement STANDARDS. 2015-03-27T14:54:15Z smokeink quit (Quit: Lost terminal) 2015-03-27T14:56:50Z qubitnerd quit (Quit: WeeChat 1.1.1) 2015-03-27T14:57:06Z hiroaki quit (Ping timeout: 250 seconds) 2015-03-27T14:57:26Z hiroakip quit (Ping timeout: 265 seconds) 2015-03-27T14:58:08Z intinig quit (Remote host closed the connection) 2015-03-27T14:58:11Z clop2 quit (Ping timeout: 246 seconds) 2015-03-27T15:00:21Z ayon: So when using format, or print, all " in the string have \, is that a printing convention, or will they have to be removed/stripped? 2015-03-27T15:01:23Z jdz: that's the readable representation of the string. you can use PRINT on it to see how it will be written 2015-03-27T15:02:29Z Mon_Ouie joined #lisp 2015-03-27T15:04:12Z a2015 quit (Quit: Page closed) 2015-03-27T15:05:22Z larion joined #lisp 2015-03-27T15:06:00Z gklimowicz joined #lisp 2015-03-27T15:06:39Z pjb: ayon: why don't you try it yourself? (let ((*print-circle* nil)) (format t "~W~%~:*~A~%~:*~S~%" "hello\"world\"\\!")) 2015-03-27T15:07:22Z pjb: ayon: have a look at with-standard-io-syntax 2015-03-27T15:07:23Z pjb: clhs with-standard-io-syntax 2015-03-27T15:07:24Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_w_std_.htm 2015-03-27T15:07:47Z Adlai wonders what swank-sbcl will think of getting http://superuser.com/a/668155 2015-03-27T15:07:48Z dfinninger quit (Remote host closed the connection) 2015-03-27T15:09:02Z pjb: ayon: (dolist (*print-circle* '(nil t)) (dolist (*print-escape* '(nil t)) (format t "~A ~A~%" *print-circle* *print-escape*) (format t "~W~%~:*~A~%~:*~S~%" "hello\"world\"\\!"))) 2015-03-27T15:09:08Z vaporatorius joined #lisp 2015-03-27T15:09:31Z redeemed quit (Quit: q) 2015-03-27T15:10:31Z dfinninger joined #lisp 2015-03-27T15:11:07Z clop2 joined #lisp 2015-03-27T15:13:50Z oleo quit (Ping timeout: 252 seconds) 2015-03-27T15:15:17Z Karl_Dscc joined #lisp 2015-03-27T15:15:39Z josemanuel joined #lisp 2015-03-27T15:15:56Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2015-03-27T15:16:31Z oleo joined #lisp 2015-03-27T15:19:57Z innertracks joined #lisp 2015-03-27T15:20:58Z devll joined #lisp 2015-03-27T15:21:48Z balle quit (Ping timeout: 250 seconds) 2015-03-27T15:22:06Z oleo: eat your eyes :) ♡ 2015-03-27T15:23:46Z ovenpasta joined #lisp 2015-03-27T15:24:00Z ruste quit (Read error: Connection reset by peer) 2015-03-27T15:24:06Z scottj left #lisp 2015-03-27T15:24:22Z ruste joined #lisp 2015-03-27T15:25:56Z clop quit (Ping timeout: 252 seconds) 2015-03-27T15:25:57Z rhllor joined #lisp 2015-03-27T15:27:51Z Harag joined #lisp 2015-03-27T15:28:04Z gravicappa quit (Remote host closed the connection) 2015-03-27T15:29:26Z Adlai: whoooo, killed the livelocked swank by closing its socket from gdb, crashed remaining threads into debugger, restarted swank, reconnected :D 2015-03-27T15:29:40Z d4ryus___ joined #lisp 2015-03-27T15:29:57Z Adlai was mentally preparing himself for losing this lisp image 2015-03-27T15:30:22Z Adlai: do people ever keep image backups using save-lisp-and-die ? 2015-03-27T15:31:03Z oleo: not really.... 2015-03-27T15:31:05Z Fade: I use images as executable binaries quite a bit. 2015-03-27T15:31:07Z oleo: at least not me 2015-03-27T15:31:16Z oleo: mine tend to get very big.... 2015-03-27T15:31:20Z oleo: with all stuff loaded.... 2015-03-27T15:31:33Z oleo: at least that's not a smart way..... 2015-03-27T15:31:44Z oleo: know what you really need ....then have a go.... 2015-03-27T15:32:02Z intinig joined #lisp 2015-03-27T15:32:10Z Harag quit (Ping timeout: 256 seconds) 2015-03-27T15:32:44Z d4ryus quit (Ping timeout: 256 seconds) 2015-03-27T15:32:46Z Fade: I've started writing system integration and system administrative stuff in lisp in the past year, and being able to push a binary around to various systems for cluster ssh is ++useful. 2015-03-27T15:33:16Z Fade: now, that's not a 'backup' per se but it is an image. :) 2015-03-27T15:33:26Z Adlai: "Heap exhausted, game over. Welcome to LDB" ☹ 2015-03-27T15:33:43Z Adlai: after a manually initiated gc 2015-03-27T15:33:58Z Adlai: at least i learned how to kill a livelocked slime 2015-03-27T15:34:19Z Ven joined #lisp 2015-03-27T15:37:09Z Cymew quit (Ping timeout: 250 seconds) 2015-03-27T15:37:37Z clop joined #lisp 2015-03-27T15:39:45Z arenz quit (Ping timeout: 250 seconds) 2015-03-27T15:44:29Z SAL9000: any recommendations on how to generate EPUB files from Lisp? 2015-03-27T15:45:34Z jasom: epub is the one that's a zipped up webpage, right? 2015-03-27T15:45:59Z pjb: yes. 2015-03-27T15:46:08Z jasom: there are tools to generate xhtml and svg 2015-03-27T15:46:11Z SAL9000: it's zipped up restricted subset of HTML + some meta files for table of contents and such 2015-03-27T15:46:13Z pjb: I don't know if we have a zipper. There's an unzipper in quicklisp. 2015-03-27T15:46:14Z xan_ quit (Quit: Lost terminal) 2015-03-27T15:46:14Z jasom: no good tools for generating css 2015-03-27T15:46:23Z SAL9000: css I don't care about at this stage 2015-03-27T15:46:23Z BitPuffin joined #lisp 2015-03-27T15:46:41Z przl_ quit (Ping timeout: 250 seconds) 2015-03-27T15:46:56Z Shinmera quit (Quit: しつれいしなければならないんです。) 2015-03-27T15:47:01Z oleo: only old css 2015-03-27T15:47:01Z jasom: https://common-lisp.net/project/zip/ 2015-03-27T15:47:11Z oleo: nothing which covers the new ones ? 2015-03-27T15:47:12Z pt1 quit (Ping timeout: 252 seconds) 2015-03-27T15:47:12Z munksgaard quit (Ping timeout: 252 seconds) 2015-03-27T15:48:09Z emlow quit (Quit: emlow) 2015-03-27T15:49:01Z jasom: and it looks like zip is in quicklisp 2015-03-27T15:49:33Z thierryg joined #lisp 2015-03-27T15:49:44Z oleo: jasom: one of the reasons why closure is failing at some sites requiring new css.... 2015-03-27T15:49:55Z ayon: pjb: Sorry, not grokking it, setting both print-readably and print-escape to nil still produces strings with \ in them. So I think they are "in there" and I need to strip them out 2015-03-27T15:49:59Z Shinmera joined #lisp 2015-03-27T15:50:31Z pjb: ayon: the string contains a #\\ character! 2015-03-27T15:50:47Z jasom: oleo: I have no idea what you're talking about 2015-03-27T15:50:54Z SAL9000: any recommendations of nice xml output/templating libraries? 2015-03-27T15:50:59Z k-dawg quit (Quit: This computer has gone to sleep) 2015-03-27T15:50:59Z pjb: ayon: and ~S ignores *print-escape*, it binds it to t. 2015-03-27T15:51:01Z SAL9000: cliki has a huuuge list, most of which is parsers 2015-03-27T15:51:13Z jasom: SAL9000: for xhtml, I recommend cl-who 2015-03-27T15:51:45Z ayon: I don't use ~S in the format statement 2015-03-27T15:51:55Z ayon: (format nil "~{~(~A~)=\"~A\"~^ ~}" attrs-plist) 2015-03-27T15:52:17Z SAL9000: jasom: unfortunately I'll be dealing with non-html xml too, because epub 2015-03-27T15:52:27Z jasom: SAL9000: I hear good things about cxml for generating xml too 2015-03-27T15:52:27Z ayon: Produces:style=\"width: 100px\" id=\"main_para\", naturally I guess 2015-03-27T15:52:52Z jasom: SAL9000: I've used cl-who for non-html xml before as well, I don't recall if it handles namespaces but it will automatically balance tags for you 2015-03-27T15:53:33Z ayon: pjb: and (remove #\\ ...) doesn't remove them, or doesn't seem to... 2015-03-27T15:53:34Z pjb: ayon: what I'm saying is that the ~W ~A and ~S format specifiers are influenced by some *print-…* global variables. Therefore when you want a specific output, you have to control them, or use something else than the provided behavior. 2015-03-27T15:53:55Z badkins quit (Read error: Connection reset by peer) 2015-03-27T15:54:15Z ayon: pjb: maybe I misunderstand the concept of controlling them, I set them to nil... 2015-03-27T15:54:16Z pjb: A form such as: (format nil "~{~(~A~)=\"~A\"~^ ~}" attrs-plist) will probably give you broken result, because the exact result depends on the current setting of those *print-…* variables. 2015-03-27T15:54:46Z pjb: Yes, bind them to some value. (it's better to bind then locally, rather than setting them). 2015-03-27T15:54:55Z intinig quit (Remote host closed the connection) 2015-03-27T15:55:02Z przl joined #lisp 2015-03-27T15:55:06Z ayon: Okay, I will try locally 2015-03-27T15:56:09Z pjb: (let ((key :name) (val "my \"real\" Name is \\.")) …) 2015-03-27T15:56:33Z ayon: (let ((*print-readably* nil) (*print-escape* nil)) 2015-03-27T15:56:45Z ayon: pjb: but still no joy, 2015-03-27T15:56:59Z pjb: (let ((val "\">