2014-09-25T00:02:10Z Jubb joined #lisp 2014-09-25T00:03:16Z bbyler_tho quit (Remote host closed the connection) 2014-09-25T00:04:57Z Bicyclidine quit (Ping timeout: 272 seconds) 2014-09-25T00:06:00Z zacts joined #lisp 2014-09-25T00:06:05Z zacts quit (Changing host) 2014-09-25T00:06:05Z zacts joined #lisp 2014-09-25T00:06:32Z bbyler_tho joined #lisp 2014-09-25T00:06:56Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2014-09-25T00:07:52Z dfox_ quit (Ping timeout: 240 seconds) 2014-09-25T00:09:17Z jkaye joined #lisp 2014-09-25T00:13:41Z jkaye quit (Ping timeout: 260 seconds) 2014-09-25T00:16:57Z p_l quit (Ping timeout: 245 seconds) 2014-09-25T00:17:44Z zRecursive joined #lisp 2014-09-25T00:20:40Z common-lisper joined #lisp 2014-09-25T00:21:53Z csziacobus: is iterating over alists broken for anyone else using ITERATE? 2014-09-25T00:22:12Z eudoxia joined #lisp 2014-09-25T00:22:22Z eudoxia quit (Client Quit) 2014-09-25T00:25:42Z Bicyclidine joined #lisp 2014-09-25T00:25:44Z Bicyclidine quit (Client Quit) 2014-09-25T00:30:50Z zRecursive: clhs iterate 2014-09-25T00:30:50Z specbot: Couldn't find anything for iterate. 2014-09-25T00:30:53Z harish_ quit (Ping timeout: 240 seconds) 2014-09-25T00:31:12Z zz_karupa is now known as karupa 2014-09-25T00:31:14Z bbyler_tho quit (Remote host closed the connection) 2014-09-25T00:32:51Z common-lisper quit (Remote host closed the connection) 2014-09-25T00:33:37Z hiyosi_ quit (Ping timeout: 245 seconds) 2014-09-25T00:34:40Z attila_lendvai quit (Ping timeout: 260 seconds) 2014-09-25T00:35:29Z attila_lendvai joined #lisp 2014-09-25T00:35:30Z attila_lendvai quit (Changing host) 2014-09-25T00:35:30Z attila_lendvai joined #lisp 2014-09-25T00:37:59Z karupa is now known as zz_karupa 2014-09-25T00:41:09Z Jesin joined #lisp 2014-09-25T00:41:25Z zophy joined #lisp 2014-09-25T00:42:28Z ivan\_ joined #lisp 2014-09-25T00:43:55Z drmeister quit (Remote host closed the connection) 2014-09-25T00:44:07Z yrk quit (Remote host closed the connection) 2014-09-25T00:44:09Z drmeister joined #lisp 2014-09-25T00:46:22Z Jesin quit (Ping timeout: 272 seconds) 2014-09-25T00:46:57Z common-lisper joined #lisp 2014-09-25T00:47:16Z Jesin joined #lisp 2014-09-25T00:47:16Z varjag_ quit (Quit: Connection closed for inactivity) 2014-09-25T00:47:41Z zz_karupa is now known as karupa 2014-09-25T00:48:22Z hiyosi_ joined #lisp 2014-09-25T00:50:37Z yacks quit (Ping timeout: 260 seconds) 2014-09-25T00:51:03Z jyuan` quit (Remote host closed the connection) 2014-09-25T00:51:39Z jyuan joined #lisp 2014-09-25T00:51:57Z ivan\ quit (*.net *.split) 2014-09-25T00:51:57Z attila_lendvai quit (Quit: Leaving.) 2014-09-25T00:51:57Z ivan\_ is now known as ivan\ 2014-09-25T00:52:16Z ltbarcly quit (Quit: Computer has gone to sleep.) 2014-09-25T00:53:05Z Jesin quit (Ping timeout: 272 seconds) 2014-09-25T00:53:17Z yacks joined #lisp 2014-09-25T00:54:40Z csziacobus quit (Quit: csziacobus) 2014-09-25T00:59:55Z jamestfarrington joined #lisp 2014-09-25T00:59:59Z jyuan quit (Read error: Connection reset by peer) 2014-09-25T01:01:57Z theethicalegoist quit (Ping timeout: 272 seconds) 2014-09-25T01:04:06Z alexherbo2 quit (Ping timeout: 250 seconds) 2014-09-25T01:07:23Z jamestfarrington quit (Quit: Leaving) 2014-09-25T01:08:42Z drmeiste_ quit (Remote host closed the connection) 2014-09-25T01:11:31Z c107 joined #lisp 2014-09-25T01:17:16Z alexherbo2 joined #lisp 2014-09-25T01:18:37Z drmeiste_ joined #lisp 2014-09-25T01:19:25Z zlrth joined #lisp 2014-09-25T01:25:20Z xyjprc joined #lisp 2014-09-25T01:25:55Z josteink joined #lisp 2014-09-25T01:39:31Z drmeiste_ quit (Read error: Connection reset by peer) 2014-09-25T01:44:27Z drmeister quit (Remote host closed the connection) 2014-09-25T01:44:46Z huza joined #lisp 2014-09-25T01:45:04Z drmeister joined #lisp 2014-09-25T01:48:59Z drmeiste_ joined #lisp 2014-09-25T01:51:08Z zlrth quit (Remote host closed the connection) 2014-09-25T01:53:23Z dfox joined #lisp 2014-09-25T01:57:43Z harish_ joined #lisp 2014-09-25T01:59:13Z didi joined #lisp 2014-09-25T01:59:29Z common-lisper quit (Remote host closed the connection) 2014-09-25T01:59:34Z didi: Can I make a binary input stream from a string? 2014-09-25T02:00:38Z nyef: Sure, grab flexi-streams and... umm... maybe babel? Convert the string to octets under some encoding, then set up a binary input stream over the resulting octet vector. 2014-09-25T02:01:22Z didi: Uh. I see. Thank you, nyef. 2014-09-25T02:01:33Z alchemis7 left #lisp 2014-09-25T02:01:33Z alchemis7 joined #lisp 2014-09-25T02:02:09Z holycow_ joined #lisp 2014-09-25T02:02:14Z nyef: Not quite what you had in mind? 2014-09-25T02:02:51Z didi: I didn't think it would involve grabbing libraries. 2014-09-25T02:03:24Z nyef: You can probably do so without external libraries with a little bit of work, depending on your lisp implementation. 2014-09-25T02:03:29Z marsbot is now known as marsam 2014-09-25T02:05:37Z nyef: For SBCL, I'd use SB-EXT:STRING-TO-OCTETS in place of babel, then define a subclass of SB-GRAY:FUNDAMENTAL-BINARY-INPUT-STREAM with a slot for position and a slot for the octet-vector. A method for SB-GRAY:STREAM-READ-BYTE gets things up and going, and the rest is filing off rough edges. 2014-09-25T02:06:15Z didi: nyef: Cool. I am using SBCL. Thank you. 2014-09-25T02:06:15Z nyef: Or just, you know, grab babel and flexi-streams, and have most of the work already done and the portability issues taken care of. 2014-09-25T02:07:38Z zeebrah joined #lisp 2014-09-25T02:10:09Z jkaye joined #lisp 2014-09-25T02:14:41Z jkaye quit (Ping timeout: 244 seconds) 2014-09-25T02:15:20Z p_l joined #lisp 2014-09-25T02:17:24Z yeticry joined #lisp 2014-09-25T02:18:22Z kobain quit (Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/) 2014-09-25T02:19:52Z sz0 quit (Ping timeout: 240 seconds) 2014-09-25T02:21:29Z JokesOnYou77 joined #lisp 2014-09-25T02:21:45Z stacksmith quit (Ping timeout: 272 seconds) 2014-09-25T02:22:08Z yeticry quit (Ping timeout: 272 seconds) 2014-09-25T02:23:28Z stacksmith joined #lisp 2014-09-25T02:23:40Z marsam is now known as marsbot 2014-09-25T02:24:10Z kanru joined #lisp 2014-09-25T02:25:47Z common-lisper joined #lisp 2014-09-25T02:28:48Z yeticry joined #lisp 2014-09-25T02:33:52Z yeticry quit (Remote host closed the connection) 2014-09-25T02:35:08Z Lowfyr joined #lisp 2014-09-25T02:35:12Z Lowfyr: Hello everyone 2014-09-25T02:35:39Z yeticry joined #lisp 2014-09-25T02:35:40Z JokesOnYou77: Howdy 2014-09-25T02:38:16Z normanrichards joined #lisp 2014-09-25T02:39:17Z Lowfyr: I am trying to set up emacs with slime to get ready to do some common lisp programming 2014-09-25T02:39:41Z Lowfyr: But I get this error message 2014-09-25T02:40:00Z Lowfyr: STYLE-WARNING: redefining EMACS-INSPECT (#) in DEFMETHOD 2014-09-25T02:40:00Z Lowfyr: STYLE-WARNING: 2014-09-25T02:40:00Z Lowfyr: Implicitly creating new generic function 2014-09-25T02:40:00Z Lowfyr: SWANK-BACKEND::STREAM-READ-CHAR-WILL-HANG-P. 2014-09-25T02:40:27Z Bike: that's a style warning, not an error, it should keep going 2014-09-25T02:40:40Z yeticry quit (Ping timeout: 260 seconds) 2014-09-25T02:41:01Z Lowfyr: Oh ok, why does this warning pop up? Is it something I can, or should fix? 2014-09-25T02:42:08Z Bike: No, it's just in the slime sources. Don't sweat it. 2014-09-25T02:42:44Z nyef: That's actually two style-warnings, but style-warnings generally don't indicate any serious problems. 2014-09-25T02:43:01Z nyef: Full warnings merit fixing, as do errors. 2014-09-25T02:43:18Z nyef: style-warnings are more a matter of choice. 2014-09-25T02:44:06Z Lowfyr: Oh ok 2014-09-25T02:44:33Z nyef: Which doesn't mean that you shouldn't consider fixing them for code you write yourself, but for a library that someone else wrote that you're using, it's less critical. 2014-09-25T02:44:55Z lyanchih joined #lisp 2014-09-25T02:46:32Z Lowfyr: So it's basically warning me now about something inside the slime code, but the same kind of warning may pop up if I do something which is considered bad practice inside of my own code. 2014-09-25T02:46:59Z Bike: yeah. 2014-09-25T02:47:34Z nyef: A STYLE-WARNING doesn't indicate anything out-and-out wrong per se, but it is typically something that you might want to fix. 2014-09-25T02:48:30Z nyef: Whereas a full warning is something like "this code is doing something weird that will cause errors when it gets run" or the like. 2014-09-25T02:49:51Z nyef: If you're using SBCL, try (defun foo (x) (+ x nil)): You'll get a WARNING, and calling FOO will result in an error. 2014-09-25T02:50:50Z harish_ quit (Remote host closed the connection) 2014-09-25T02:51:20Z Lowfyr: Constant NIL conflicts with its asserted type Number. Yeah. 2014-09-25T02:51:59Z nyef: And running it nets you a simple-type-error from sb-c::%compile-time-type-error. 2014-09-25T02:52:00Z harish_ joined #lisp 2014-09-25T02:53:12Z nyef: So style-warning is the compiler saying "this could be better", warning is the compiler saying "this is going to break", and error is the compiler saying "I give up". 2014-09-25T02:54:03Z liangchao joined #lisp 2014-09-25T02:54:10Z JokesOnYou77: Lowfyr, also, as it hasn't been said yet, welcome to the world of lisp with emacs :D (not sure if this is actually your first time using slime but I thought I'd say congrats anyways) 2014-09-25T02:54:34Z bgs100 quit (Quit: bgs100) 2014-09-25T02:54:42Z kobain joined #lisp 2014-09-25T02:54:54Z Lowfyr: Ok, my thanks to you guys :) 2014-09-25T02:55:17Z liangchao quit (Client Quit) 2014-09-25T02:55:44Z nyef: Mmm. Welcome, good luck, and have fun! (-: 2014-09-25T02:56:13Z liangchao joined #lisp 2014-09-25T02:56:15Z Lowfyr: Haha, thank you JokesOnYou77, yeah I am indeed quite new, I already lurked some in this channel as I've been fascinated by lisp for a while now. 2014-09-25T02:56:49Z antonv joined #lisp 2014-09-25T02:57:17Z liangchao: test 2014-09-25T02:57:20Z common-lisper: I have had the same warnings that you describe for a while 2014-09-25T02:57:27Z nyef: liangchao: Test failed. 2014-09-25T02:57:27Z common-lisper: hasn't been a problem for me 2014-09-25T02:59:03Z Lowfyr: But guess it's futile to resist my urge to learn some lisp, so I am finally starting. 2014-09-25T02:59:05Z common-lisper quit (Remote host closed the connection) 2014-09-25T03:00:00Z xyjprc quit (Ping timeout: 272 seconds) 2014-09-25T03:01:12Z kanru quit (Remote host closed the connection) 2014-09-25T03:01:44Z kanru joined #lisp 2014-09-25T03:03:23Z yacks quit (Ping timeout: 240 seconds) 2014-09-25T03:07:04Z Fare joined #lisp 2014-09-25T03:07:53Z phao quit (Quit: Leaving) 2014-09-25T03:09:53Z yacks joined #lisp 2014-09-25T03:10:56Z nyef quit (Quit: G'night all.) 2014-09-25T03:17:14Z karupa quit (Quit: ZNC - http://znc.in) 2014-09-25T03:17:24Z drmeiste_: Damnit! The Cern guys announced Cling (C++ interpreter based on Clang) on Hacker news today. I was going to release Clasp (Common Lisp compiler based on Clang) today. As sir Topum-Hat would say "Confusion and Delay!" 2014-09-25T03:17:26Z JokesOnYou77: Lowfyr, hooray! Congrats! It's an awesome language. Also happens to be my first so I'm a bit biased, but I still love it. 2014-09-25T03:18:13Z drmeiste_: Actually, I think it's kind of funny. 2014-09-25T03:18:18Z drmeiste_ is now known as drmeister_ 2014-09-25T03:18:20Z karupa joined #lisp 2014-09-25T03:20:42Z brucem: drmeister_: cling has been around for years and years :) and on HN before. 2014-09-25T03:21:21Z cpt_nemo joined #lisp 2014-09-25T03:21:53Z Lowfyr: I already know some Java and C++, which made me a bit unsure if it would not make more sense to learn Clojure, as Java is the language I currently have to work with the most. But I figured that common lisp would be better to get the "lisp experience". What is your opinion on this? 2014-09-25T03:22:14Z zRecursive: ABCL 2014-09-25T03:22:50Z drmeister_: Lowfyr: Absolutely, Common Lisp is the best lisp experience. 2014-09-25T03:23:03Z theos: CL is best! get SBCL+slime and you are good to go 2014-09-25T03:23:11Z theos: and quicklisp is a must! 2014-09-25T03:23:16Z wgl quit (Remote host closed the connection) 2014-09-25T03:23:16Z drmeister_: It's really awesome and almost every feature has been really well thought out. 2014-09-25T03:24:00Z zRecursive left #lisp 2014-09-25T03:24:04Z zacharias_ joined #lisp 2014-09-25T03:24:36Z drmeister_: brucem: I spoke with Richard Brooksby - he's cool with me releasing Clasp with the modified version of MPS. 2014-09-25T03:24:48Z liangchao quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-09-25T03:25:07Z brucem: drmeister_: interesting. He'd asked us before to stick to official releases. :) 2014-09-25T03:25:39Z liangchao joined #lisp 2014-09-25T03:25:41Z jleija joined #lisp 2014-09-25T03:26:02Z rme quit (Ping timeout: 185 seconds) 2014-09-25T03:26:39Z drmeister_: The official release wouldn't work very well with Clasp - especially on OS X. OS X has a lousy implementation of mprotect. 2014-09-25T03:26:58Z zacharias quit (Ping timeout: 258 seconds) 2014-09-25T03:27:47Z drmeister_: I really want their incremental garbage collection - but they disabled it for Clasp, so it runs faster because it doesn't use mprotect as much but pause times are longer. 2014-09-25T03:28:12Z rme quit (Ping timeout: 245 seconds) 2014-09-25T03:29:02Z drmeister_: They are going to make this an option in the future and what I really want is to convince Apple to fix it. 2014-09-25T03:29:13Z yeticry joined #lisp 2014-09-25T03:29:15Z rme joined #lisp 2014-09-25T03:29:52Z finitoo joined #lisp 2014-09-25T03:30:49Z drmeister_: I'm just compiling Clasp with MPS now. The compiled minimal Clasp (no CLOS) is working fine and compiling the full Clasp. 2014-09-25T03:31:00Z yacks quit (Ping timeout: 250 seconds) 2014-09-25T03:31:26Z yacks joined #lisp 2014-09-25T03:32:09Z drmeister_: brucem: Are you still hacking lldb? 2014-09-25T03:32:33Z drmeister_: The Xcode 6.0.1 release that just came out has a much improved version of lldb. 2014-09-25T03:32:38Z brucem: drmeister_: I will be ... I'm trying to see if I can find someone to sponsor the work, so I'm being patient. :) 2014-09-25T03:33:57Z yeticry quit (Ping timeout: 260 seconds) 2014-09-25T03:34:13Z drmeister_: The new version of lldb still doesn't seem to handle JITted code. My backtraces in GDB show C++ and Common Lisp source interleaved in the backtraces but lldb still just shows me disassembly for Common Lisp frames. 2014-09-25T03:34:14Z nell joined #lisp 2014-09-25T03:34:36Z bit` quit (Ping timeout: 246 seconds) 2014-09-25T03:36:23Z meiji11` joined #lisp 2014-09-25T03:39:47Z brucem: drmeister_: does it know how to find your DWARF info? 2014-09-25T03:41:28Z drmeister_: I don't know. I'd love to have someone tell me it does and how to turn it on. 2014-09-25T03:41:50Z rme quit (Quit: rme) 2014-09-25T03:41:50Z rme quit (Quit: rme) 2014-09-25T03:42:00Z drmeister_: This page doesn't say much and is out of date: http://llvm.org/docs/DebuggingJITedCode.html 2014-09-25T03:42:03Z mvilleneuve joined #lisp 2014-09-25T03:42:23Z innertracks joined #lisp 2014-09-25T03:43:45Z drmeister_: In 2013 they said it was an upcoming feature: http://blog.llvm.org/2013/06/lldb-33-and-beyond.html 2014-09-25T03:44:10Z didi left #lisp 2014-09-25T03:46:21Z pjb` is now known as pjb 2014-09-25T03:46:57Z urandom__ quit (Quit: Konversation terminated!) 2014-09-25T03:48:14Z Lowfyr: Ok I'll go and try to learn something, see you soon. 2014-09-25T03:49:18Z JokesOnYou77 quit (Ping timeout: 246 seconds) 2014-09-25T03:49:38Z Lowfyr quit (Remote host closed the connection) 2014-09-25T03:49:42Z JokesOnYou77 joined #lisp 2014-09-25T03:50:29Z brucem: drmeister_: I'll check on something ... 2014-09-25T03:50:48Z bit` joined #lisp 2014-09-25T03:53:43Z karupa quit (Quit: ZNC - http://znc.in) 2014-09-25T03:54:05Z brucem: drmeister_: what platform are you trying this on? 2014-09-25T03:55:46Z zz_karupa joined #lisp 2014-09-25T03:56:27Z zz_karupa is now known as karupa 2014-09-25T03:57:37Z drmeister_: OS X 2014-09-25T04:00:55Z huza quit (Quit: WeeChat 0.3.8) 2014-09-25T04:04:07Z angavrilov joined #lisp 2014-09-25T04:05:36Z resttime quit (Read error: Connection reset by peer) 2014-09-25T04:05:56Z resttime joined #lisp 2014-09-25T04:06:01Z jleija quit (Quit: leaving) 2014-09-25T04:09:47Z innertracks quit (Ping timeout: 245 seconds) 2014-09-25T04:10:48Z jkaye joined #lisp 2014-09-25T04:12:14Z H4ns joined #lisp 2014-09-25T04:14:40Z reb` joined #lisp 2014-09-25T04:14:46Z gingerale joined #lisp 2014-09-25T04:15:29Z jkaye quit (Ping timeout: 260 seconds) 2014-09-25T04:16:27Z reb quit (Ping timeout: 245 seconds) 2014-09-25T04:19:56Z JokesOnYou77 quit (Ping timeout: 272 seconds) 2014-09-25T04:20:08Z innertracks joined #lisp 2014-09-25T04:20:22Z JokesOnYou77 joined #lisp 2014-09-25T04:22:23Z innertracks quit (Client Quit) 2014-09-25T04:23:57Z drmeiste_ joined #lisp 2014-09-25T04:24:49Z gingerale- joined #lisp 2014-09-25T04:26:31Z ikk3r joined #lisp 2014-09-25T04:26:51Z ikk3r quit (Client Quit) 2014-09-25T04:27:09Z drmeister_ quit (Ping timeout: 272 seconds) 2014-09-25T04:27:10Z Kabaka quit (Ping timeout: 272 seconds) 2014-09-25T04:27:47Z gingerale quit (Ping timeout: 272 seconds) 2014-09-25T04:27:47Z gingerale- is now known as gingerale 2014-09-25T04:27:49Z didi joined #lisp 2014-09-25T04:29:41Z farhaven quit (Ping timeout: 272 seconds) 2014-09-25T04:29:52Z didi: What library should one use for portable sockets? (Internet and Local (Abstract inclusive) namespaces) 2014-09-25T04:30:26Z didi: (finitoo is spamming) 2014-09-25T04:32:04Z Kabaka joined #lisp 2014-09-25T04:32:59Z H4ns: didi: to my knowledge, there is none that covers both 2014-09-25T04:33:26Z didi: H4ns: oic. Bummer. 2014-09-25T04:33:35Z pillton: didi: What are Local (Abstract inclusive) namespaces? 2014-09-25T04:33:50Z didi: pillton: They are also known as Unix. 2014-09-25T04:34:13Z didi: The "abstract" kind is implemented in Linux. 2014-09-25T04:34:43Z pillton: BASIC-BINARY-IPC then. 2014-09-25T04:34:53Z pillton: It only does IPv4. 2014-09-25T04:35:12Z pillton: Sorry, it only does IPv4 for the Internet side of things. 2014-09-25T04:35:31Z H4ns: uh, nice 2014-09-25T04:37:03Z H4ns: it looks as if ipv6 would not be hard to add if required. 2014-09-25T04:37:28Z pillton: No. I'm just not fluent enough in IPv6 to test my implementation. 2014-09-25T04:37:37Z didi: pillton: Thank you. Unfortunately I don't see any mention to a local abstract socket. 2014-09-25T04:37:49Z mvilleneuve quit (Quit: This computer has gone to sleep) 2014-09-25T04:37:58Z pillton: http://markcox80.github.io/basic-binary-ipc/#sec-6 2014-09-25T04:38:35Z didi: pillton: That is what I am reading. I can't find the word "abstract". Maybe I am missing it or it is using another term? 2014-09-25T04:40:09Z pillton: didi: I'm not familiar with Abstract local sockets. Is it not PF_LOCAL sockets? 2014-09-25T04:40:49Z didi: pillton: You can read about it in unix(7). 2014-09-25T04:41:58Z didi: Well, if you are in a Linux system, I guess. 2014-09-25T04:42:16Z pillton: Thanks for the man page. 2014-09-25T04:42:22Z pillton: It doesn't support them. 2014-09-25T04:42:22Z didi: np 2014-09-25T04:42:23Z drmeiste_ quit (Remote host closed the connection) 2014-09-25T04:42:30Z didi: oic 2014-09-25T04:42:59Z resttime quit (Quit: resttime) 2014-09-25T04:43:37Z pillton: Try passing a string with the first character null. 2014-09-25T04:43:57Z pillton: I don't have access to linux box now. 2014-09-25T04:44:09Z Fare: didi: you could add support to usocket, at least on your favorite implementation, e.g. sbcl 2014-09-25T04:44:21Z sheilong joined #lisp 2014-09-25T04:44:36Z Fare: IOlib probably supports it, too, in its own way 2014-09-25T04:45:06Z kpreid quit (Quit: Quitting) 2014-09-25T04:45:09Z didi: Fare: I like how SBCL can make a stream out of a socket. Can I do the same with usocket and/or IOlib? 2014-09-25T04:45:35Z kpreid joined #lisp 2014-09-25T04:45:37Z didi is familiar with neither 2014-09-25T04:46:25Z JokesOnYou77: I 2014-09-25T04:47:15Z Fare: didi: IOlib can make streams out of anything that is stream-like 2014-09-25T04:47:41Z didi: Fare: Do you favor one of the two? 2014-09-25T04:47:43Z Fare: iolib is a CL API on top of the POSIX API. 2014-09-25T04:48:09Z Fare: usocket is a portability layer on top of whatever your implementation provides 2014-09-25T04:48:30Z didi: Hum 2014-09-25T04:48:35Z Fare: if you don't care too much about Windows, IOlib might be a more portable solution 2014-09-25T04:49:10Z JokesOnYou77: I'm looking for a good resource to learn how to do socket communication between images. I have an image that uses a tree to store a (very) large amount of information and I want to load it into ram on a remote machine and access it remotely. 2014-09-25T04:49:15Z Fare: IOlib depends on linking some special C library, so it's more heavyweight to install and use. 2014-09-25T04:49:43Z pillton: BASIC-BINARY-IPC works on all platforms and only requires CFFI. 2014-09-25T04:52:02Z gingerale quit (Ping timeout: 250 seconds) 2014-09-25T04:55:40Z kcj joined #lisp 2014-09-25T04:56:27Z oleo__ quit (Quit: Verlassend) 2014-09-25T04:59:50Z zRecursive joined #lisp 2014-09-25T05:04:38Z pt1 joined #lisp 2014-09-25T05:06:11Z marsbot is now known as marsam 2014-09-25T05:06:48Z didi: Fare, pillton: Thank you. 2014-09-25T05:08:32Z c107 quit (Remote host closed the connection) 2014-09-25T05:09:20Z mr-foobar quit (Quit: Leaving...) 2014-09-25T05:09:22Z Fare quit (Quit: Leaving) 2014-09-25T05:09:28Z pillton: didi: No problem. 2014-09-25T05:23:09Z antonv: there is also cl-async - a wrapper around libevent. Supports Windows. 2014-09-25T05:26:55Z kcj quit (Remote host closed the connection) 2014-09-25T05:27:47Z nell quit (Quit: WeeChat 1.1-dev) 2014-09-25T05:33:13Z Cymew joined #lisp 2014-09-25T05:35:09Z pjb: - 2014-09-25T05:38:20Z liangchao quit (Read error: Connection reset by peer) 2014-09-25T05:38:34Z jusss joined #lisp 2014-09-25T05:42:31Z pt1 quit (Remote host closed the connection) 2014-09-25T05:42:39Z drmeiste_ joined #lisp 2014-09-25T05:44:28Z marsam is now known as marsbot 2014-09-25T05:46:15Z TDog_ joined #lisp 2014-09-25T05:46:36Z JokesOnYou77 quit (Quit: Leaving) 2014-09-25T05:47:35Z drmeiste_ quit (Ping timeout: 272 seconds) 2014-09-25T05:47:50Z rvirding quit (Ping timeout: 272 seconds) 2014-09-25T05:48:23Z pt1 joined #lisp 2014-09-25T05:48:28Z victor_lowther__ quit (Ping timeout: 272 seconds) 2014-09-25T05:49:06Z rvirding_ joined #lisp 2014-09-25T05:49:23Z victor_lowther__ joined #lisp 2014-09-25T05:49:45Z TDog quit (Ping timeout: 260 seconds) 2014-09-25T05:49:56Z TDog_ is now known as TDog 2014-09-25T05:55:59Z sdemarre joined #lisp 2014-09-25T06:01:50Z Shinmobile joined #lisp 2014-09-25T06:05:12Z meiji11` quit (Remote host closed the connection) 2014-09-25T06:11:08Z kobain quit (Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/) 2014-09-25T06:11:31Z jkaye joined #lisp 2014-09-25T06:12:29Z madrik joined #lisp 2014-09-25T06:12:30Z KCL_ joined #lisp 2014-09-25T06:13:51Z reb`` joined #lisp 2014-09-25T06:14:19Z pranavrc joined #lisp 2014-09-25T06:15:04Z reb` quit (Ping timeout: 272 seconds) 2014-09-25T06:15:22Z KCL quit (Ping timeout: 240 seconds) 2014-09-25T06:16:19Z jkaye quit (Ping timeout: 272 seconds) 2014-09-25T06:16:39Z jusss is now known as X0X0 2014-09-25T06:16:46Z didi: It is unfortunate there is no `peek-char'. I had an idea with SBCL's socket stream. One can use `listen' to know if there is something to be read from it, `peek-char' to block until there is something there but leaving the stream alone after it and `read-char' to actually read from it, or block until something is there. My very early tests indicate that this might actually work. 2014-09-25T06:16:56Z didi: s/peek-char/peek-byte 2014-09-25T06:19:45Z pjb: It wasn't expected that binary streams could be interactive. 2014-09-25T06:21:21Z mr-foobar joined #lisp 2014-09-25T06:22:46Z przl joined #lisp 2014-09-25T06:22:50Z didi: pjb: Using a coding system that uses one and the whole byte I think it can be faked. 2014-09-25T06:23:16Z pjb: This is quite untasteful. 2014-09-25T06:23:25Z didi: I am open for suggestions. 2014-09-25T06:24:09Z pjb: Reduce your expectations, or use implementation specific peek-byte (some have it), or else as you said. 2014-09-25T06:24:15Z pjb: We don't have much choice. 2014-09-25T06:24:21Z didi: :-( 2014-09-25T06:24:55Z kami joined #lisp 2014-09-25T06:24:59Z kami: Good morning 2014-09-25T06:26:24Z defaultxr quit (Quit: gnight) 2014-09-25T06:26:31Z edgar-rft: didi: `read-char-no-hang' returns NIL if there is no character in the stream to read 2014-09-25T06:26:38Z stacksmi` joined #lisp 2014-09-25T06:27:04Z MoALTz quit (Quit: Leaving) 2014-09-25T06:27:06Z didi: edgar-rft: Right, right. I was hoping for something more... binary. ;-) 2014-09-25T06:27:39Z mishoo joined #lisp 2014-09-25T06:28:45Z stacksmith quit (Ping timeout: 272 seconds) 2014-09-25T06:29:35Z didi: Well, SBCL doesn't seem to have `peek-byte'. 2014-09-25T06:29:35Z freaksken joined #lisp 2014-09-25T06:30:01Z hiyosi_ quit (Ping timeout: 272 seconds) 2014-09-25T06:31:40Z Soft quit (Ping timeout: 272 seconds) 2014-09-25T06:32:00Z didi: Maaaybe I can make a flexi-stream out of a socket stream. But I just learned about flexi-stream. 2014-09-25T06:37:40Z varjag joined #lisp 2014-09-25T06:38:54Z pt1 quit (Remote host closed the connection) 2014-09-25T06:43:35Z mishoo quit (Quit: (save-lisp-and-die)) 2014-09-25T06:43:49Z mvilleneuve joined #lisp 2014-09-25T06:44:16Z sheilong quit (Ping timeout: 250 seconds) 2014-09-25T06:46:31Z Soft joined #lisp 2014-09-25T06:47:44Z Harag joined #lisp 2014-09-25T06:48:26Z mishoo joined #lisp 2014-09-25T06:49:29Z sdemarre quit (Ping timeout: 260 seconds) 2014-09-25T06:50:42Z X0X0 is now known as blablabla 2014-09-25T06:57:48Z przl quit (Ping timeout: 260 seconds) 2014-09-25T07:01:25Z zRecursive quit (Remote host closed the connection) 2014-09-25T07:03:06Z cmatei joined #lisp 2014-09-25T07:03:33Z zacharias_ is now known as zacharias 2014-09-25T07:04:19Z przl joined #lisp 2014-09-25T07:08:57Z yeticry joined #lisp 2014-09-25T07:13:05Z przl quit (Ping timeout: 272 seconds) 2014-09-25T07:13:42Z eschulte quit (Ping timeout: 246 seconds) 2014-09-25T07:13:44Z liangchao joined #lisp 2014-09-25T07:14:02Z yeticry quit (Remote host closed the connection) 2014-09-25T07:14:04Z liangchao quit (Client Quit) 2014-09-25T07:15:30Z shka joined #lisp 2014-09-25T07:18:30Z liangchao joined #lisp 2014-09-25T07:18:37Z didi: Hum, unless reading chars and converting them to bytes using `char-code' turns out to be too much expensive, I think this will be cool. 2014-09-25T07:18:52Z liangchao quit (Remote host closed the connection) 2014-09-25T07:19:40Z liangchao joined #lisp 2014-09-25T07:19:54Z eschulte joined #lisp 2014-09-25T07:23:43Z jtza8 joined #lisp 2014-09-25T07:26:18Z hiyosi_ joined #lisp 2014-09-25T07:26:18Z zeebrah quit (Ping timeout: 250 seconds) 2014-09-25T07:26:20Z easye`` quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-09-25T07:26:34Z easye joined #lisp 2014-09-25T07:28:04Z nydel quit (Quit: WeeChat 0.4.2) 2014-09-25T07:29:30Z nydel joined #lisp 2014-09-25T07:30:44Z drmeiste_ joined #lisp 2014-09-25T07:30:56Z hiyosi_ quit (Ping timeout: 260 seconds) 2014-09-25T07:31:46Z yeticry joined #lisp 2014-09-25T07:34:00Z moore33 joined #lisp 2014-09-25T07:34:53Z drmeiste_ quit (Ping timeout: 240 seconds) 2014-09-25T07:35:20Z didi quit (Quit: you can't /fire me, I /quit) 2014-09-25T07:36:07Z yeticry quit (Ping timeout: 245 seconds) 2014-09-25T07:42:37Z Asgeir joined #lisp 2014-09-25T07:48:37Z arenz joined #lisp 2014-09-25T07:53:36Z kcj joined #lisp 2014-09-25T07:54:12Z Beetny joined #lisp 2014-09-25T07:58:31Z Shinmobile quit (Quit: じつれいしなければならないんです。) 2014-09-25T08:03:55Z ndrei joined #lisp 2014-09-25T08:04:44Z yeticry joined #lisp 2014-09-25T08:05:36Z zacharias quit (Quit: Bye!) 2014-09-25T08:05:55Z prxq joined #lisp 2014-09-25T08:07:56Z ans quit (Quit: ZNC - http://znc.in) 2014-09-25T08:08:24Z stassats joined #lisp 2014-09-25T08:08:26Z pt1 joined #lisp 2014-09-25T08:09:48Z yeticry quit (Remote host closed the connection) 2014-09-25T08:10:02Z ans joined #lisp 2014-09-25T08:10:02Z DGASAU quit (Read error: Connection reset by peer) 2014-09-25T08:11:01Z DGASAU joined #lisp 2014-09-25T08:11:17Z prxq: I have this foreign library that produces output. I'd like to have that output, unbuffered, in the slime output buffer. I did set (setf swank:*globally-redirect-io* T) but, output is till sent to *inferior-lisp*. 2014-09-25T08:11:23Z prxq: any ideas? 2014-09-25T08:11:34Z stassats: huh, my ccl saved app stopped working today 2014-09-25T08:12:16Z stassats: (:INTERNAL REVIVE-SHARED-LIBRARIES) probably suggests that i updated something 2014-09-25T08:13:16Z stassats: the whole of ccl stopped working, actually 2014-09-25T08:14:44Z stassats: and i have no idea which shared library it misses, since the error is "received signal 11; faulting address: 0x1ed address not mapped to object" 2014-09-25T08:15:32Z przl joined #lisp 2014-09-25T08:22:29Z zeebrah joined #lisp 2014-09-25T08:27:03Z hiyosi_ joined #lisp 2014-09-25T08:31:00Z hlavaty: drewc: picolisp doesnt have quasiquote 2014-09-25T08:31:08Z wilfredh joined #lisp 2014-09-25T08:31:29Z wasamasa: the scalpel of lisp implementations, huh 2014-09-25T08:31:32Z hiyosi_ quit (Ping timeout: 245 seconds) 2014-09-25T08:32:49Z hlavaty: wasamasa: there are reasons for this which are incomprehensible to some people 2014-09-25T08:33:06Z wasamasa: hlavaty: of course, it's just syntactical sugar for using LIST instead 2014-09-25T08:33:18Z wasamasa: also, someone please permaban finitoo 2014-09-25T08:33:36Z wasamasa: I get /query spam 2014-09-25T08:34:34Z hlavaty: wasamasa: scalpel also doesnt have a diesel engine :-) 2014-09-25T08:34:53Z mr-foobar quit (Ping timeout: 260 seconds) 2014-09-25T08:36:02Z stepnem joined #lisp 2014-09-25T08:36:16Z zophy quit (Ping timeout: 260 seconds) 2014-09-25T08:39:27Z clop2 quit (Ping timeout: 246 seconds) 2014-09-25T08:39:52Z ChanServ has set mode +o p_l 2014-09-25T08:40:08Z p_l: query spam again? 2014-09-25T08:40:39Z p_l has set mode +b *!*man@90.174.5.120 2014-09-25T08:40:46Z blablabla is now known as OOXX 2014-09-25T08:40:51Z stacksmi` quit (Ping timeout: 246 seconds) 2014-09-25T08:41:11Z finitoo [~pl@tsugumi.brage.info] has been kicked from #lisp by p_l (I'm too tired to give a nice kick message, but please don't spam) 2014-09-25T08:41:11Z finitoo joined #lisp 2014-09-25T08:41:55Z p_l has set mode -b+b *!*man@90.174.5.120 *!*@90.174.5.120 2014-09-25T08:42:38Z finitoo [~pl@tsugumi.brage.info] has been kicked from #lisp by p_l (Too tired to write banmasks right as well. Shoo~) 2014-09-25T08:42:59Z prxq: p_l: yes 2014-09-25T08:43:25Z p_l: corrected ban mask, autorejoin won't work for him/her/it 2014-09-25T08:43:34Z Asgeir: :D 2014-09-25T08:43:35Z hiyosi_ joined #lisp 2014-09-25T08:44:01Z stassats: does "please don't spam" ever work? 2014-09-25T08:45:37Z przl quit (Ping timeout: 260 seconds) 2014-09-25T08:45:38Z wasamasa: I don't think so 2014-09-25T08:45:42Z wasamasa: these are bots after all 2014-09-25T08:46:08Z wasamasa: what puzzles me is that this one sends me some spanish text that tells me it's a free webcam, then a link to a webcam showing goldfish 2014-09-25T08:46:24Z work_op quit (Remote host closed the connection) 2014-09-25T08:46:59Z yeticry joined #lisp 2014-09-25T08:47:06Z wasamasa: how is this ever supposed to rake in money for those guys? 2014-09-25T08:47:22Z p_l: maybe it got hacked 2014-09-25T08:47:23Z stassats: why did you go there? 2014-09-25T08:48:58Z hiyosi_ quit (Ping timeout: 272 seconds) 2014-09-25T08:49:03Z wasamasa: to make sure it's spam 2014-09-25T08:49:20Z pt1 quit (Remote host closed the connection) 2014-09-25T08:49:31Z pt1 joined #lisp 2014-09-25T08:49:31Z stassats: well, you're only helping them 2014-09-25T08:50:33Z nug700 quit (Quit: bye) 2014-09-25T08:52:52Z yeticry quit (Ping timeout: 240 seconds) 2014-09-25T08:52:55Z OOXX is now known as jusss 2014-09-25T08:55:08Z prxq: so i have this null-terminated cstring. What's the best way to pass it to format? Obviously it has to be converted - but what is the best way? I'm using sbcl + cffi 2014-09-25T08:55:19Z prxq: c string 2014-09-25T08:55:28Z stassats: make a lisp string out of it 2014-09-25T08:55:33Z prxq: how? 2014-09-25T08:55:43Z antonv quit (Excess Flood) 2014-09-25T08:55:52Z stassats: cffi:foreign-string-to-lisp, naturally 2014-09-25T08:56:08Z antonv joined #lisp 2014-09-25T08:56:23Z prxq: ah... thanks stassats 2014-09-25T09:01:40Z Shinmera joined #lisp 2014-09-25T09:01:42Z oudeis joined #lisp 2014-09-25T09:03:19Z pt1 quit (Remote host closed the connection) 2014-09-25T09:05:11Z lambda joined #lisp 2014-09-25T09:07:25Z wasamasa quit (Quit: ZNC - http://znc.in) 2014-09-25T09:08:35Z wasamasa joined #lisp 2014-09-25T09:18:12Z theos quit (Disconnected by services) 2014-09-25T09:18:38Z theos joined #lisp 2014-09-25T09:18:47Z drmeiste_ joined #lisp 2014-09-25T09:23:07Z drmeiste_ quit (Ping timeout: 245 seconds) 2014-09-25T09:32:39Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-09-25T09:33:51Z malice joined #lisp 2014-09-25T09:34:57Z zacharias joined #lisp 2014-09-25T09:35:03Z malice: Hello! Is :element-type value passed to MAKE-ARRAY making compiler optimize it, or is it just for type safety? 2014-09-25T09:35:39Z stassats: it makes a specialized array 2014-09-25T09:39:40Z jusss quit (Read error: Connection reset by peer) 2014-09-25T09:39:54Z jusss joined #lisp 2014-09-25T09:41:03Z harish_ quit (Ping timeout: 246 seconds) 2014-09-25T09:44:25Z hiyosi_ joined #lisp 2014-09-25T09:46:01Z BitPuffin joined #lisp 2014-09-25T09:46:27Z ndrei quit (Quit: Lost terminal) 2014-09-25T09:46:47Z ndrei joined #lisp 2014-09-25T09:49:03Z mac_ifie_ joined #lisp 2014-09-25T09:49:16Z hiyosi_ quit (Ping timeout: 272 seconds) 2014-09-25T09:50:37Z jusss quit (Ping timeout: 245 seconds) 2014-09-25T09:51:28Z mac_ified quit (Ping timeout: 250 seconds) 2014-09-25T09:51:48Z pt1 joined #lisp 2014-09-25T09:54:17Z schoppenhauer quit (Ping timeout: 260 seconds) 2014-09-25T09:56:35Z pt1 quit (Ping timeout: 244 seconds) 2014-09-25T09:58:31Z pjb: malice: It _may_ make a specialized array. See also upgraded-array-element-type 2014-09-25T09:58:48Z malice: Okay... 2014-09-25T10:02:56Z jegaxd26 joined #lisp 2014-09-25T10:04:56Z ered quit (Ping timeout: 260 seconds) 2014-09-25T10:06:50Z ered joined #lisp 2014-09-25T10:10:24Z przl joined #lisp 2014-09-25T10:11:54Z schoppenhauer joined #lisp 2014-09-25T10:12:36Z jkaye joined #lisp 2014-09-25T10:16:35Z karupa is now known as zz_karupa 2014-09-25T10:17:01Z Asgeir: does cl:with-open-stream call cl:finish-output on its stream before closing it? I can't find an answer in the hyperspec, but the IOLib tutorial implies it 2014-09-25T10:17:13Z Asgeir: (source: http://pages.cs.wisc.edu/~psilord/blog/data/iolib-tutorial/tutorial.html ) 2014-09-25T10:17:17Z stassats: it calls close 2014-09-25T10:17:46Z jkaye quit (Ping timeout: 272 seconds) 2014-09-25T10:17:48Z jegaxd26 quit (Ping timeout: 246 seconds) 2014-09-25T10:18:09Z jegaxd26 joined #lisp 2014-09-25T10:18:51Z Asgeir: well, it could call finish-output before calling close. I could make sense to flush the output of your stream prior to close it. 2014-09-25T10:19:32Z H4ns: explicit calls to finish-output have the additional benefit that you can be sure that errors get signalled if they occur. 2014-09-25T10:19:38Z stassats: that's what CLOSE is supposed to be doing 2014-09-25T10:20:02Z H4ns: at least on some implementations, close silently ignores errors when calling finish-output, which can be surprising. 2014-09-25T10:20:07Z farhaven joined #lisp 2014-09-25T10:20:19Z buzzykins quit (Quit: Lost terminal) 2014-09-25T10:20:26Z Asgeir: hum 2014-09-25T10:20:56Z H4ns: i tried to convince one implementor that this behavior was unexpected, but i was not successful in convincing them to change it. 2014-09-25T10:21:43Z Asgeir: :D 2014-09-25T10:22:55Z aoh quit (Changing host) 2014-09-25T10:22:55Z aoh joined #lisp 2014-09-25T10:23:03Z fe[nl]ix: Asgeir: (DEFMETHOD CLOSE :BEFORE IOLIB.STREAMS:DUAL-CHANNEL-GRAY-STREAM) calls finish-output 2014-09-25T10:23:38Z Asgeir: oh 2014-09-25T10:24:04Z acieroid quit (Ping timeout: 260 seconds) 2014-09-25T10:24:42Z chr` joined #lisp 2014-09-25T10:27:31Z Asgeir: the tutorial, which is great btw, explains that we should manually call cl:close on our sockets instead of using iolib:with-open-socket, because the last will always call finish-output on the socket, and if the socket has been closed before that point, it will raise an error. 2014-09-25T10:28:28Z Asgeir: (lines 1347–1353) 2014-09-25T10:30:32Z Asgeir: if I'm not misunderstanding, this is just not right. 2014-09-25T10:30:55Z kcj quit (Remote host closed the connection) 2014-09-25T10:31:58Z fe[nl]ix: that is correct 2014-09-25T10:32:43Z fe[nl]ix: if there's a network error while some data is still in the stream buffer, close will attempt to flush the buffer and signal an error 2014-09-25T10:34:15Z Asgeir: thanks for your explanations :D 2014-09-25T10:36:17Z fe[nl]ix: that can happen with file streams too 2014-09-25T10:36:39Z fe[nl]ix: but file-system I/O errors are usually rare 2014-09-25T10:38:26Z acieroid joined #lisp 2014-09-25T10:41:54Z vinleod joined #lisp 2014-09-25T10:41:57Z edgar-rft quit (Quit: existence destroyed into permanent disaster) 2014-09-25T10:45:14Z hiyosi_ joined #lisp 2014-09-25T10:50:19Z hiyosi_ quit (Ping timeout: 272 seconds) 2014-09-25T10:50:37Z lyanchih quit (Quit: lyanchih) 2014-09-25T10:55:08Z honkfestival quit (Remote host closed the connection) 2014-09-25T10:56:27Z nyef joined #lisp 2014-09-25T10:56:44Z nyef: G'morning all. 2014-09-25T10:58:49Z nyef: G'morning all. 2014-09-25T10:58:53Z igorw joined #lisp 2014-09-25T10:59:16Z nyef: Oops. Wrong window, sorry about the repeat, was trying to repeat a shell command. 2014-09-25T11:01:53Z przl quit (Ping timeout: 260 seconds) 2014-09-25T11:03:05Z kami` joined #lisp 2014-09-25T11:03:53Z yeticry joined #lisp 2014-09-25T11:04:28Z mr-foobar joined #lisp 2014-09-25T11:04:42Z kami quit (Ping timeout: 250 seconds) 2014-09-25T11:05:46Z BitPuffin quit (Ping timeout: 272 seconds) 2014-09-25T11:06:56Z drmeiste_ joined #lisp 2014-09-25T11:08:03Z kami` quit (Ping timeout: 272 seconds) 2014-09-25T11:11:22Z drmeiste_ quit (Ping timeout: 240 seconds) 2014-09-25T11:13:50Z ndrei quit (Quit: Lost terminal) 2014-09-25T11:13:53Z yeticry quit (Ping timeout: 240 seconds) 2014-09-25T11:14:13Z ndrei joined #lisp 2014-09-25T11:15:52Z yacks quit (Ping timeout: 260 seconds) 2014-09-25T11:16:07Z Longlius quit (Quit: Leaving) 2014-09-25T11:16:11Z huza joined #lisp 2014-09-25T11:17:18Z wchun quit (Quit: Leaving) 2014-09-25T11:19:52Z bjorkintosh quit (Ping timeout: 240 seconds) 2014-09-25T11:22:37Z H4ns: fe[nl]ix: right. unless your system has finite disk space :) 2014-09-25T11:23:06Z stassats: i wish my errors were rare 2014-09-25T11:23:17Z stassats: can't figure the bloody SATA errors 2014-09-25T11:24:13Z honkfestival joined #lisp 2014-09-25T11:24:47Z flip214: use smartctl and run self-tests? 2014-09-25T11:25:22Z stassats: that is off-topic, sorry 2014-09-25T11:26:22Z zeebrah quit (Ping timeout: 250 seconds) 2014-09-25T11:30:40Z drmeiste_ joined #lisp 2014-09-25T11:32:20Z theos: (backup data and run fsck. format to ext4) 2014-09-25T11:32:36Z stassats: i didn't ask for help, sorry 2014-09-25T11:36:21Z `JRG joined #lisp 2014-09-25T11:36:48Z manfoo7`` quit (Remote host closed the connection) 2014-09-25T11:43:07Z urandom__ joined #lisp 2014-09-25T11:44:22Z huza quit (Quit: WeeChat 0.3.8) 2014-09-25T11:46:06Z hiyosi_ joined #lisp 2014-09-25T11:46:08Z BitPuffin joined #lisp 2014-09-25T11:47:23Z honkfestival quit (Remote host closed the connection) 2014-09-25T11:48:41Z ehu joined #lisp 2014-09-25T11:50:37Z hiyosi_ quit (Ping timeout: 245 seconds) 2014-09-25T11:51:29Z honkfestival joined #lisp 2014-09-25T11:52:09Z yacks joined #lisp 2014-09-25T11:52:39Z igorw left #lisp 2014-09-25T11:58:37Z przl joined #lisp 2014-09-25T12:08:57Z munksgaard joined #lisp 2014-09-25T12:10:32Z stacksmith joined #lisp 2014-09-25T12:12:26Z droider_ joined #lisp 2014-09-25T12:20:33Z spiines joined #lisp 2014-09-25T12:22:15Z mvilleneuve quit (Quit: This computer has gone to sleep) 2014-09-25T12:23:08Z Beetny quit (Ping timeout: 250 seconds) 2014-09-25T12:23:21Z droider_ quit 2014-09-25T12:25:40Z ndrei quit (Remote host closed the connection) 2014-09-25T12:25:56Z ndrei joined #lisp 2014-09-25T12:27:36Z oudeis quit (Quit: This computer has gone to sleep) 2014-09-25T12:28:53Z yeticry joined #lisp 2014-09-25T12:29:04Z gravicappa joined #lisp 2014-09-25T12:31:07Z pillton quit (Remote host closed the connection) 2014-09-25T12:33:07Z yeticry quit (Ping timeout: 245 seconds) 2014-09-25T12:34:52Z BitPuffin quit (Ping timeout: 240 seconds) 2014-09-25T12:39:14Z BitPuffin joined #lisp 2014-09-25T12:39:54Z yeticry joined #lisp 2014-09-25T12:40:33Z munksgaard quit (Remote host closed the connection) 2014-09-25T12:42:57Z zeebrah joined #lisp 2014-09-25T12:43:29Z wilfredh quit (Quit: Connection closed for inactivity) 2014-09-25T12:43:57Z ndrei quit (Ping timeout: 258 seconds) 2014-09-25T12:44:58Z yeticry quit (Remote host closed the connection) 2014-09-25T12:45:11Z Harag quit (Remote host closed the connection) 2014-09-25T12:46:05Z ndrei joined #lisp 2014-09-25T12:46:48Z hiyosi_ joined #lisp 2014-09-25T12:47:37Z Harag joined #lisp 2014-09-25T12:47:59Z kuzy000_ joined #lisp 2014-09-25T12:49:04Z oudeis joined #lisp 2014-09-25T12:51:12Z cmack`` quit (Remote host closed the connection) 2014-09-25T12:51:27Z hiyosi_ quit (Ping timeout: 246 seconds) 2014-09-25T12:51:50Z yeticry joined #lisp 2014-09-25T12:56:14Z drmeiste_: README.md files on github are terribly formatted. 2014-09-25T12:56:52Z ehu quit (Ping timeout: 240 seconds) 2014-09-25T12:56:55Z H4ns: drmeiste_: i think you can use formats other than markdown if you don't like markdown. 2014-09-25T12:56:56Z wasamasa checks drmeister's github account 2014-09-25T12:56:57Z yeticry quit (Ping timeout: 245 seconds) 2014-09-25T12:57:06Z fe[nl]ix: drmeiste_: how so ? 2014-09-25T12:57:07Z drmeiste_: Nothing yet. 2014-09-25T12:57:37Z drmeiste_: How do you get any formatting into a README.md file? 2014-09-25T12:57:53Z H4ns: drmeiste_: you just use markdown 2014-09-25T12:57:57Z fe[nl]ix: you use Markdown rules 2014-09-25T12:58:02Z yeticry joined #lisp 2014-09-25T12:58:13Z wasamasa: # title # 2014-09-25T12:58:19Z wasamasa: **bold text** 2014-09-25T12:58:28Z wasamasa: [caption](url) 2014-09-25T12:58:31Z wasamasa: and so on 2014-09-25T12:58:37Z H4ns: wasamasa: a markdown reference url would be so much more helpful 2014-09-25T12:58:41Z Grue`: is there a lispy format for structured text? 2014-09-25T12:58:49Z drmeiste_: What about line breaks? Single line breaks get run into the same line on github 2014-09-25T12:58:55Z wasamasa: drmeiste_: do two of them 2014-09-25T12:58:55Z H4ns: drmeiste_: https://help.github.com/articles/github-flavored-markdown 2014-09-25T12:59:03Z H4ns: drmeiste_: just read the documentation. 2014-09-25T12:59:07Z drmeiste_: When I do two of them they look like dogfood 2014-09-25T12:59:14Z wasamasa: no, they look like paragraphs 2014-09-25T12:59:19Z wasamasa: and turn into paragraphs 2014-09-25T12:59:20Z drmeiste_: H4ns: Thank you. 2014-09-25T12:59:39Z Grue`: you can also make README.txt with plaintext 2014-09-25T13:00:34Z drmeiste_: Apologies if I sound a little stressed out - I'm a little stressed out. 2014-09-25T13:01:19Z wasamasa: drmeiste_: it's mostly the same markup as used in plain-text mail 2014-09-25T13:01:33Z H4ns: and so on 2014-09-25T13:01:35Z rme joined #lisp 2014-09-25T13:01:43Z pranavrc quit 2014-09-25T13:05:25Z varjag quit (Quit: Leaving) 2014-09-25T13:05:37Z ndrei quit (Ping timeout: 260 seconds) 2014-09-25T13:06:36Z TheMoonMaster left #lisp 2014-09-25T13:07:28Z ndrei joined #lisp 2014-09-25T13:07:40Z jusss joined #lisp 2014-09-25T13:09:22Z jkaye joined #lisp 2014-09-25T13:09:28Z drmeiste_: Good old HTML, I can always depend on you. 2014-09-25T13:09:55Z drmeiste_: I thought these were flat text files. But README.md accepts HTML - I know, I'm the last person to figure that out. 2014-09-25T13:11:23Z eudoxia joined #lisp 2014-09-25T13:11:26Z harish_ joined #lisp 2014-09-25T13:13:11Z mac_ifie_ quit (Remote host closed the connection) 2014-09-25T13:13:20Z svetlyak40wt joined #lisp 2014-09-25T13:14:58Z yeticry quit (Ping timeout: 272 seconds) 2014-09-25T13:21:37Z bjorkintosh joined #lisp 2014-09-25T13:22:25Z yeticry joined #lisp 2014-09-25T13:23:58Z oleo joined #lisp 2014-09-25T13:26:52Z Harag quit (Ping timeout: 240 seconds) 2014-09-25T13:27:21Z moore33 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2014-09-25T13:28:01Z yeticry quit (Ping timeout: 272 seconds) 2014-09-25T13:32:51Z baotiao joined #lisp 2014-09-25T13:33:40Z yeticry joined #lisp 2014-09-25T13:34:32Z zacharias quit (Quit: Bye!) 2014-09-25T13:35:14Z ndrei quit (Ping timeout: 272 seconds) 2014-09-25T13:35:57Z zacharias joined #lisp 2014-09-25T13:38:03Z finnrobi_ quit (Remote host closed the connection) 2014-09-25T13:38:37Z hitecnologys joined #lisp 2014-09-25T13:39:32Z finnrobi joined #lisp 2014-09-25T13:40:01Z baotiao quit (Quit: baotiao) 2014-09-25T13:40:27Z dlowe: anybody want to suggest a parser generator library? 2014-09-25T13:40:32Z eudoxia: esrap 2014-09-25T13:41:14Z dlowe: eudoxia: cool, thanks. and only two years since last update! 2014-09-25T13:41:28Z yeticry quit (Ping timeout: 260 seconds) 2014-09-25T13:41:42Z dlowe: I'm not being sarcastic - all the ones on cliki seem to be in some state of abandonment 2014-09-25T13:41:44Z eudoxia: dlowe: *shrug*, it works fine 2014-09-25T13:41:55Z hiyosi_ joined #lisp 2014-09-25T13:41:59Z eudoxia: yeah, cliki is never exactly encouraging 2014-09-25T13:42:13Z mvilleneuve joined #lisp 2014-09-25T13:43:06Z eudoxia: but really, esrap works and has a pretty nice interface 2014-09-25T13:43:44Z eudoxia: dlowe: if you want an example of a vaguely C-like parser: https://github.com/eudoxia0/cmacro/blob/master/src/parser.lisp 2014-09-25T13:43:55Z dlowe: yeah, it looks nice. 2014-09-25T13:44:38Z nyef: I really don't see the point of a parser generator library. Pretty much any time I've needed a parser I've been able to put together a hand-coded recursive-descent parser easily enough. 2014-09-25T13:45:13Z Adlai: your parser generator library is internal 2014-09-25T13:45:45Z eudoxia_ joined #lisp 2014-09-25T13:45:45Z eudoxia quit (Read error: Connection reset by peer) 2014-09-25T13:46:37Z drmeiste_: Ok, Clasp is out 2014-09-25T13:46:37Z aerique_ quit (Quit: ...) 2014-09-25T13:46:43Z drmeiste_ is now known as drmeister_ 2014-09-25T13:47:04Z drmeister_: https://github.com/drmeister 2014-09-25T13:47:08Z dlowe: nyef: I think such parsers are error-prone in comparison. 2014-09-25T13:47:10Z drmeister_: I'll post announcements later 2014-09-25T13:47:20Z dlowe: drmeister: congrats! 2014-09-25T13:47:32Z stassats: no way 2014-09-25T13:47:48Z attila_lendvai joined #lisp 2014-09-25T13:47:48Z attila_lendvai quit (Changing host) 2014-09-25T13:47:48Z attila_lendvai joined #lisp 2014-09-25T13:48:02Z Grue`: nice languages breakdown 32% assembly 27% C++ 17% C 15% Common Lisp 2014-09-25T13:48:39Z drmeister_: stassats: Let's talk later if you are still interested in exposing Qt 2014-09-25T13:49:07Z stassats: i guess i am 2014-09-25T13:49:26Z ndrei joined #lisp 2014-09-25T13:49:31Z stassats: but later 2014-09-25T13:49:55Z fortitude joined #lisp 2014-09-25T13:50:32Z Adlai: drmeister_: your punch card is incredibly disciplined! 2014-09-25T13:50:39Z DGASAU quit (Ping timeout: 258 seconds) 2014-09-25T13:50:59Z qbit is now known as qbash 2014-09-25T13:51:57Z qbash is now known as qbit 2014-09-25T13:52:46Z normanrichards quit 2014-09-25T13:53:09Z spiines quit (Ping timeout: 260 seconds) 2014-09-25T13:54:24Z DGASAU` joined #lisp 2014-09-25T13:55:01Z ndrei quit (Ping timeout: 272 seconds) 2014-09-25T13:57:04Z DGASAU` is now known as DGASAU 2014-09-25T13:57:12Z whfkvfszjibsaybx joined #lisp 2014-09-25T13:58:26Z varjag joined #lisp 2014-09-25T13:58:39Z splittist_: drmeister_: congrats! I see some of your git commit comments are a bit like mine: 'changes', 'stuff', 'lots of changes' (: 2014-09-25T14:00:01Z whfkvfszjibsaybx: Lusers 2014-09-25T14:00:07Z whfkvfszjibsaybx: Sry 2014-09-25T14:00:14Z whfkvfszjibsaybx left #lisp 2014-09-25T14:00:47Z eudoxia_: Humanity has won its battle. Common Lisp now runs on LLVM 2014-09-25T14:01:02Z stassats quit (Ping timeout: 245 seconds) 2014-09-25T14:03:08Z Shinmera: But the war ain't over 2014-09-25T14:04:33Z spiines joined #lisp 2014-09-25T14:05:38Z shka` joined #lisp 2014-09-25T14:07:22Z attila_lendvai quit (Quit: Leaving.) 2014-09-25T14:08:42Z DGASAU quit (Remote host closed the connection) 2014-09-25T14:08:52Z shka quit (Ping timeout: 240 seconds) 2014-09-25T14:08:58Z yeticry joined #lisp 2014-09-25T14:10:34Z mac_ified joined #lisp 2014-09-25T14:11:47Z common-lisper joined #lisp 2014-09-25T14:12:00Z DGASAU joined #lisp 2014-09-25T14:12:21Z common-lisper quit (Client Quit) 2014-09-25T14:14:56Z przl quit (Ping timeout: 250 seconds) 2014-09-25T14:15:05Z yeticry quit (Remote host closed the connection) 2014-09-25T14:15:30Z ltbarcly joined #lisp 2014-09-25T14:17:49Z vinleod quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2014-09-25T14:18:56Z moore33 joined #lisp 2014-09-25T14:20:30Z jegaxd26 quit (Read error: Connection reset by peer) 2014-09-25T14:21:00Z cmack joined #lisp 2014-09-25T14:22:21Z jordonbiondo joined #lisp 2014-09-25T14:22:35Z drmeister_ quit (Remote host closed the connection) 2014-09-25T14:23:39Z moore33: I guess it's an error if a displaced array "hangs off the end" of the array it is displaced to? 2014-09-25T14:25:39Z fe[nl]ix: ?? 2014-09-25T14:25:56Z moore33: That is, it's too big for target array? 2014-09-25T14:26:12Z DKordic` joined #lisp 2014-09-25T14:26:13Z DKordic quit (Remote host closed the connection) 2014-09-25T14:26:36Z yeticry joined #lisp 2014-09-25T14:26:45Z moore33: Otherwise, it would seem to offer an easy way to implement access with a stride. 2014-09-25T14:27:49Z splittist_: It may not be guaranteed to error when created, but I'm not sure you could go farther than that. 2014-09-25T14:27:55Z przl joined #lisp 2014-09-25T14:28:17Z moore33: splittist_:I would refrain from accessing the non-existant locations :) 2014-09-25T14:31:40Z yeticry quit (Remote host closed the connection) 2014-09-25T14:31:56Z drmeiste_ joined #lisp 2014-09-25T14:32:51Z zlrth joined #lisp 2014-09-25T14:32:51Z varjag quit (Quit: Leaving) 2014-09-25T14:33:24Z yeticry joined #lisp 2014-09-25T14:33:25Z drmeiste_ quit (Read error: Connection reset by peer) 2014-09-25T14:34:24Z drmeiste_ joined #lisp 2014-09-25T14:35:05Z splittist_: "The :DISPLACED-TO array is too small" 2014-09-25T14:35:33Z GodelBummer_ joined #lisp 2014-09-25T14:37:15Z pt1 joined #lisp 2014-09-25T14:38:18Z moore33: More's the pity. 2014-09-25T14:38:18Z drmeiste_ quit (Read error: Connection reset by peer) 2014-09-25T14:38:25Z yeticry quit (Ping timeout: 260 seconds) 2014-09-25T14:38:25Z splittist_: "It is required that the total size of A [the base array] be no smaller than the sum of the total size of B [the displaced array] plus the offset n supplied by the displaced-index-offset." 2014-09-25T14:38:40Z moore33: Yup. 2014-09-25T14:38:46Z moore33: Oh well. 2014-09-25T14:39:15Z drmeiste_ joined #lisp 2014-09-25T14:39:16Z splittist_: What was your plan? 2014-09-25T14:39:21Z ltbarcly quit (Quit: Computer has gone to sleep.) 2014-09-25T14:40:06Z moore33: splittist_ Use a two-dimensional array to implement a stride when accessing an array of e.g., vectors. 2014-09-25T14:40:39Z pjb: you can do that. 2014-09-25T14:40:43Z moore33: a 2d displaced array, that is. 2014-09-25T14:40:55Z pjb: if your vectors are displaced to a bigger vector. 2014-09-25T14:41:14Z joast quit (Quit: Leaving.) 2014-09-25T14:41:16Z moore33: pjb:That's the problem... well, maybe it isn't a problem. 2014-09-25T14:41:30Z Soft quit (Quit: -y) 2014-09-25T14:41:42Z pt1 quit (Ping timeout: 246 seconds) 2014-09-25T14:41:44Z moore33: Sort of depends on the motivation for the stride. 2014-09-25T14:41:44Z minion quit (Remote host closed the connection) 2014-09-25T14:41:50Z minion joined #lisp 2014-09-25T14:42:57Z splittist_: where did I see column-major-aref? 2014-09-25T14:43:00Z jusss quit (Read error: Connection reset by peer) 2014-09-25T14:43:07Z moore33: No, I think it is problematic. 2014-09-25T14:43:12Z pjb: It's trivial: (defun a (n m) (let* ((storage (make-array (* n m))) (2d (make-array (list n m) :displaced-to storage)) (aov (make-array n))) (loop for o from 0 by m for i below n do (setf (aref aov i) (make-array m :displaced-to storage :displaced-index-offset o))) (values 2d aov))) 2014-09-25T14:44:42Z faheem__1: drmeiste_: can i ask build questions here? 2014-09-25T14:45:06Z drmeiste_: faheem__1: I suppose so - what do other people think? It's Common Lisp related. 2014-09-25T14:45:28Z splittist_: I'm pretty sure people will tell you if it becomes annoying (: 2014-09-25T14:45:37Z moore33: pjb: At that point, I think it would be easier to explicitly calculate the 1d index. 2014-09-25T14:45:38Z faheem__1: or i can add issues. but irc is more interactive 2014-09-25T14:45:46Z drmeiste_: Yes, please tell me if it's annoying. 2014-09-25T14:45:57Z drmeiste_: What's up? 2014-09-25T14:46:13Z faheem__1: drmeiste_: cloning right now 2014-09-25T14:46:15Z pjb: moore33: of course, in general, it's good to abstract things with functions. 2014-09-25T14:46:21Z faheem__1: slow sucky connection 2014-09-25T14:46:37Z GodelBummer_ quit (Ping timeout: 246 seconds) 2014-09-25T14:46:38Z drmeiste_: Oh, good - so you haven't run into problems that are my fault yet. Whew - I can enjoy my coffee. 2014-09-25T14:46:57Z faheem__1: drmeiste_: not yet :-) 2014-09-25T14:47:18Z pjb: (multiple-value-bind (2d aov) (a 3 4) (loop for i below 3 do (loop for j below 4 do (setf (aref 2d i j) (list i j)))) (values 2d aov)) 2014-09-25T14:47:27Z faheem__1: it's always good to enjoy coffee. if it is good coffee 2014-09-25T14:47:37Z drmeiste_: It's great coffee. 2014-09-25T14:47:41Z drmeiste_ is now known as drmeister_ 2014-09-25T14:47:44Z moore33: pjb: I was thinking that a displaced array would be a convenient way for a user to specify that data is to be accessed using a stride... you solutions aren't doing it for me :) 2014-09-25T14:48:06Z gingerale joined #lisp 2014-09-25T14:48:40Z drmeister_: faheem__1: Do the links here look obscenely huge to you? They are much larger than the text. http://drmeister.wordpress.com/2014/09/18/announcing-clasp/ 2014-09-25T14:48:47Z splittist_: moore33: you're concerned about the vector not being an integral multiple of the stride? 2014-09-25T14:48:52Z faheem__1: drmeister_: how bug are your repositories? i may have to do it in stages 2014-09-25T14:48:56Z drmeister_: Well, 50% larger. 2014-09-25T14:48:57Z pjb: if you want to access only every second elements, yes, you will need a function. 2014-09-25T14:49:08Z splittist_ suspects he doesn't understand 'stride' 2014-09-25T14:49:29Z shka` quit (Remote host closed the connection) 2014-09-25T14:49:37Z pjb: But it is so obvious, I wonder why you're considering anything else. 2014-09-25T14:50:17Z moore33: splittist_:I'm more concerned that the displaced offset causes the displaced array, which will probably match the size of the target, to slide off the end. 2014-09-25T14:50:53Z pjb: It cannot, since you would never compile with (safety 0). 2014-09-25T14:51:12Z moore33: I might :) 2014-09-25T14:51:26Z pjb: You can't be so dumb. 2014-09-25T14:51:29Z pjb: It's impossible. 2014-09-25T14:52:08Z drmeister_: faheem__1: I'm not really sure. I'm connected in through my phone at the moment and having trouble getting into github. 2014-09-25T14:52:27Z moore33: Anyway, aref isn't specified to signal an error... but I digress. 2014-09-25T14:52:40Z drmeister_: There is quite a lot of stuff in there. The external-clang repo has all of boost within it. 2014-09-25T14:52:47Z wasamasa: drmeister_: looks like it isn't on hackernews yet 2014-09-25T14:52:50Z faheem__1: drmeister_: i'm not sure what links you mean 2014-09-25T14:52:57Z pjb: moore33: yes, but CL implementers are not C implementers. As I said, they're not so dumn. 2014-09-25T14:53:08Z pjb: s/n/b/ 2014-09-25T14:53:09Z drmeister_: wasamasa: I submitted it about 10 minutes ago. 2014-09-25T14:53:19Z splittist_: drmeister_: external-clang also has a couple of ~ backup files, by the looks of things. 2014-09-25T14:53:20Z faheem__1: sigh. anyone knows how to clone incrementally with git? in hg i can do hg -r revnum. 2014-09-25T14:53:23Z drmeister_: I see it under "new" #9. 2014-09-25T14:53:43Z drmeister_: splittist_: I think I have some cleanup to do. 2014-09-25T14:54:10Z drmeister_: "No plan survives contact with the enemy". 2014-09-25T14:54:22Z vlnx quit (Ping timeout: 250 seconds) 2014-09-25T14:54:41Z drmeister_ is off to do some cleaning 2014-09-25T14:55:04Z didi joined #lisp 2014-09-25T14:56:41Z faheem__1: drmeister_: "but C++ is tedious language to write complex, experimental code within" 2014-09-25T14:56:58Z faheem__1: missing "a" 2014-09-25T14:57:00Z moore33: pjb: Anyway, I think I can use displaced arrays for my purpose if the displaced offset is 0 and instead the offset is applied at each row access. 2014-09-25T14:57:05Z faheem__1 in petty pedant mode 2014-09-25T14:57:48Z moore33: Making the user supply a function to access the data doesn't seem like the right thing here. 2014-09-25T14:57:56Z Soft joined #lisp 2014-09-25T14:58:35Z drmeister_: faheem__1: Thank you. 2014-09-25T14:59:06Z Xach: drmeister_: that blog post is pretty messed up. 2014-09-25T14:59:17Z drmeister_: Xach: Which one? 2014-09-25T14:59:32Z Xach: the one titled "Clasp github repository" 2014-09-25T15:00:50Z marsbot is now known as marsam 2014-09-25T15:01:05Z faheem__1: Xach: what's the problem with it? 2014-09-25T15:01:17Z drmeister_: There is no blog post titled "Clasp github repository" 2014-09-25T15:01:21Z faheem__1: drmeister_: you have quotes like “clbind”. not standard 2014-09-25T15:01:37Z Xach: drmeister_: That's not the impression a visitor to http://drmeister.wordpress.com/ would get. 2014-09-25T15:01:38Z vlnx joined #lisp 2014-09-25T15:01:43Z faheem__1: drmeister_: http://drmeister.wordpress.com/2014/09/18/announcing-clasp/ 2014-09-25T15:02:04Z faheem__1: Hello, everyone! 2014-09-25T15:02:15Z faheem__1: Clasp github repository <- BIG FONT 2014-09-25T15:02:44Z drmeister_: The "Clasp github repository" phrase is a link. For some reason the font is large - I haven't figured out how to make it look like a link. 2014-09-25T15:03:09Z drmeister_: It's just this: Clasp github repository 2014-09-25T15:03:09Z DGASAU quit (Read error: Connection reset by peer) 2014-09-25T15:03:26Z Xach: drmeister_: there's also no proper post title visible above it 2014-09-25T15:03:35Z joast joined #lisp 2014-09-25T15:03:37Z drmeister_: I think the title= is the problem. changing. 2014-09-25T15:03:37Z Xach: and there's a thing on the right that says "LINK" but cannot be clicked 2014-09-25T15:03:50Z wasamasa: "article.format-link .entry-content a { font-size: 1.57143rem; […] }" 2014-09-25T15:03:52Z joast quit (Client Quit) 2014-09-25T15:03:52Z wasamasa: there is your problem 2014-09-25T15:04:10Z faheem__1: drmeister_: how big are the build sizes? 2014-09-25T15:04:44Z drmeister_: Wordpress! You have one freakin' job - display stuff I write the way I want it written! 2014-09-25T15:05:06Z drmeister_: wasamasa: where is that? 2014-09-25T15:05:12Z askatasuna joined #lisp 2014-09-25T15:05:16Z faheem__1: well, wordpress is written in PHP. surprised it can run at all 2014-09-25T15:05:21Z wasamasa: drmeister_: firefox told me that's the css rule for the links 2014-09-25T15:05:28Z wasamasa: drmeister_: so it's in your theme I guess 2014-09-25T15:06:44Z pt1 joined #lisp 2014-09-25T15:06:53Z drmeister_: I have to move to get a better connection. This is frustrating. 2014-09-25T15:07:45Z lambda quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-09-25T15:09:10Z svetlyak40wt quit (Remote host closed the connection) 2014-09-25T15:09:34Z drmeister_: I changed the link to read: "Link to Clasp github repository" so it's a bit more clear. When I get to my office I'll wrestle with font sizes - for crying out loud. 2014-09-25T15:09:42Z DGASAU joined #lisp 2014-09-25T15:10:27Z drmeister_ quit (Read error: Connection reset by peer) 2014-09-25T15:10:46Z wasamasa: drmeister_: asides from that, I've been informed that with the current license of clasp you'd better get permission of the people who contribute to it, similiar to how the FSF does it with emacs 2014-09-25T15:10:50Z wasamasa: damnit 2014-09-25T15:11:23Z yeticry joined #lisp 2014-09-25T15:11:33Z pt1 quit (Ping timeout: 260 seconds) 2014-09-25T15:12:43Z bcoburn quit (Remote host closed the connection) 2014-09-25T15:13:26Z didi: wasamasa: Why? 2014-09-25T15:13:45Z common-lisper joined #lisp 2014-09-25T15:13:48Z wasamasa: didi: dunno, ask the emacs devs why they started doing that 2014-09-25T15:14:09Z bcoburn joined #lisp 2014-09-25T15:14:55Z didi: wasamasa: That's weird. 2014-09-25T15:15:35Z faheem__1: wasamasa: that's FSF policy 2014-09-25T15:15:35Z foom: you only need to do that if you want to allow yourself to relicense their code in the future 2014-09-25T15:15:55Z faheem__1: afaik no license actually requires it. 2014-09-25T15:16:03Z foom: There's usually no reason for random projects to do so 2014-09-25T15:16:12Z zlrth quit (Ping timeout: 260 seconds) 2014-09-25T15:16:13Z bcoburn quit (Remote host closed the connection) 2014-09-25T15:17:24Z faheem__1: it is not necessarily a bad idea, but it adds a lot of overhead 2014-09-25T15:17:54Z faheem__1: after the event though, if you want to change licenses, it can be quite difficult to track contributors down 2014-09-25T15:17:59Z MoALTz joined #lisp 2014-09-25T15:18:38Z faheem__1: in 2009-2010 mecurial decided to change its license. and tracked down most of its contributors. it was a business. 2014-09-25T15:18:43Z foom: LGPL license means no distributing standalone binaries with lgpl-incompatible user code, right? 2014-09-25T15:19:04Z przl quit (Ping timeout: 250 seconds) 2014-09-25T15:19:18Z faheem__1: ask the Software Freedom Conservancy and/or Matt Mackall if you want to know how it went down 2014-09-25T15:19:34Z bcoburn joined #lisp 2014-09-25T15:19:57Z faheem__1: at the time mercurial contributors were already several hundred people 2014-09-25T15:20:43Z faheem__1: drmeister: if clasp looks like it is starting to go places, you might want to talk to the SFC. 2014-09-25T15:21:23Z faheem__1: foom: LGPL relaxes the linking condition afaik 2014-09-25T15:22:13Z foom: it relaxes it to "you must be able to replace the LGPL'd part of the binary" 2014-09-25T15:22:35Z foom: Which, for a static C binary, traditionally meant "you need to provide the .o files, so you can rerun the linker" 2014-09-25T15:22:50Z faheem__1: i thought it basically doesn't require the linked code to be the same license 2014-09-25T15:22:57Z foom: it doesn't, but it requires the above 2014-09-25T15:23:02Z drmeister quit (Remote host closed the connection) 2014-09-25T15:23:14Z drmeister joined #lisp 2014-09-25T15:23:15Z foom: For shared libraries, it's sufficient to just keep the LGPL'd code in a different .so 2014-09-25T15:23:24Z foom: So you can replace the .so file with a new one 2014-09-25T15:23:50Z splittist_: Let's leave the license discussions to when drmeister wants to close-source the project, or at least until more than one person has actually built it (: 2014-09-25T15:23:51Z ejbs joined #lisp 2014-09-25T15:24:00Z ejbs: drmeister: Congratulations 2014-09-25T15:24:03Z dlowe: eudoxia_: esrap worked great. thanks 2014-09-25T15:24:07Z mordocai joined #lisp 2014-09-25T15:24:12Z drmeiste_ joined #lisp 2014-09-25T15:24:35Z kobain joined #lisp 2014-09-25T15:24:38Z eudoxia_: dlowe: yw 2014-09-25T15:24:41Z kobain_ joined #lisp 2014-09-25T15:24:49Z kobain_ quit (Client Quit) 2014-09-25T15:25:33Z schoppenhauer quit (Ping timeout: 260 seconds) 2014-09-25T15:25:59Z dlowe: eudoxia_: https://github.com/dlowe-net/orcabot/commit/2ba21533964672c3cb6502e4557b942384a68f72 2014-09-25T15:27:03Z eudoxia_: infix to RPN, neat 2014-09-25T15:27:48Z davy_dude joined #lisp 2014-09-25T15:27:58Z davy_dude quit (Client Quit) 2014-09-25T15:28:25Z Ven joined #lisp 2014-09-25T15:30:12Z Ven quit (Client Quit) 2014-09-25T15:32:12Z ndrei joined #lisp 2014-09-25T15:33:25Z eudoxia_: the clasp post isn't going to stay on the front page of HN on its own people 2014-09-25T15:33:32Z eudoxia_: comment or something 2014-09-25T15:33:44Z common-lisper quit 2014-09-25T15:34:07Z common-lisper joined #lisp 2014-09-25T15:34:29Z moore33 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2014-09-25T15:34:52Z sid_cypher quit (Ping timeout: 245 seconds) 2014-09-25T15:35:13Z Shinmera: Maybe people are too busy trying it out to comment 2014-09-25T15:35:42Z splittist_: That would be contrary to the normal Hacker News approach to comments... 2014-09-25T15:37:03Z easye: Suggestion for naming a logging function other than "log" or "trace"? 2014-09-25T15:37:06Z faheem__1: drmeiste_: is boehm or mps easier to build? 2014-09-25T15:37:15Z joast joined #lisp 2014-09-25T15:37:17Z normanrichards joined #lisp 2014-09-25T15:37:19Z Shinmera: splittist_: I generally don't read comments or HN, so I am blissfully unaware. 2014-09-25T15:37:30Z easye Just realized overloading CL:LOG is a bad idea (tm). 2014-09-25T15:37:44Z Xach: heh 2014-09-25T15:37:47Z easye: I guess MSG. 2014-09-25T15:37:49Z zlrth joined #lisp 2014-09-25T15:37:50Z posterdati300 joined #lisp 2014-09-25T15:37:56Z ferada: logv, format-log, ... 2014-09-25T15:38:03Z ejbs: Refreshed Clasp github page, stars went from 19 to 28 :) 2014-09-25T15:38:29Z faheem__1: stars? 2014-09-25T15:38:50Z faheem__1: bjam. eww. 2014-09-25T15:38:54Z splittist_: journal, dear-diary ? 2014-09-25T15:40:19Z resttime joined #lisp 2014-09-25T15:40:28Z easye: note is kinda good. 2014-09-25T15:40:33Z ndrei quit (Ping timeout: 260 seconds) 2014-09-25T15:40:44Z splittist_: agreed. nb for shor? 2014-09-25T15:40:50Z splittist_: shorT, that is 2014-09-25T15:41:02Z easye: nb is a cool choise . 2014-09-25T15:41:05Z easye: err choice. 2014-09-25T15:41:12Z Grue`: yeah if HN post has more comments than upvotes it gets auto-downmodded to the second page 2014-09-25T15:41:16Z ndrei joined #lisp 2014-09-25T15:41:28Z moore33 joined #lisp 2014-09-25T15:41:41Z zacts is now known as cphuntington97- 2014-09-25T15:41:43Z moore33: urk 2014-09-25T15:41:55Z moore33: Can you define new c++ subclasses from Lisp in clasp? 2014-09-25T15:42:03Z aftershave joined #lisp 2014-09-25T15:42:11Z cphuntington97- is now known as zacts 2014-09-25T15:42:27Z sid_cypher joined #lisp 2014-09-25T15:42:51Z drmeister: moore33: Yes, you can subclass C++ classes in Common Lisp and add CLOS slots to them. I had to do that to get the ASTMatcher library to work. 2014-09-25T15:43:04Z schoppenhauer joined #lisp 2014-09-25T15:43:19Z moore33: drmeister: That sounds pretty cool. 2014-09-25T15:43:27Z bbyler_tho joined #lisp 2014-09-25T15:43:35Z drmeister: It definitely works with the Boehm garbage collector. I'm less sure about the MPS GC - but we'll get it working if not. 2014-09-25T15:44:26Z drmeister: The reason why I'm not sure is because the MPS GC moves memory around and C++ objects don't like to be moved. Some of them get angry when you move them. 2014-09-25T15:45:09Z moore33: You could say that. 2014-09-25T15:45:12Z faheem__1: drmeiste_: did you see my comments about licensing above? 2014-09-25T15:46:15Z drmeister: The Clasp build process uses a static analyzer that I wrote in Clasp that interrogates the 172 C++ source files of Clasp and identifies every C++ class that needs to be managed by the GC and builds the metadata that informs the MPS GC how to move them. 2014-09-25T15:47:51Z drmeister: faheem__1: Yeah. I'm going to let the dust settle before I think about licenses again. 2014-09-25T15:48:34Z spiines left #lisp 2014-09-25T15:48:44Z drmeister: I switched the theme on Wordpress - it looks better now. The default theme was bizarre. 2014-09-25T15:48:53Z drmeister: http://drmeister.wordpress.com/2014/09/18/announcing-clasp/ 2014-09-25T15:49:39Z Xach: drmeister: looks better indeed 2014-09-25T15:49:48Z drmeister: Xach: Thank you! 2014-09-25T15:50:03Z Xach: drmeister: though it's traditional when using the web to link words inline rather than split them off and label them as "link to xyz". 2014-09-25T15:50:18Z Xach: but that's a minor detail 2014-09-25T15:50:48Z easye: Hmmm. ISO has defined "lb(x)" for log base 2. I always used Knuth's "lg(x)". 2014-09-25T15:50:51Z drmeister: Xach: I put in all those "Link to" when I had the bizarro font. Could you give me a more precise example of what you mean? 2014-09-25T15:51:30Z eudoxia_: Clasp is a ... 2014-09-25T15:51:30Z drmeister: Do you mean rather than "Link to Clasp github repository" use "Clasp github repository" 2014-09-25T15:51:40Z mordocai quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-09-25T15:51:45Z faheem__1: drmeister: warning: unknown warning option '-Wno-unused-local-typedef' [-Wunknown-warning-option] 2014-09-25T15:51:45Z LiamH joined #lisp 2014-09-25T15:51:50Z drmeister: Ah, you mean really inline. 2014-09-25T15:52:02Z faheem__1: are you requiring 4.9? 2014-09-25T15:52:47Z jlongster joined #lisp 2014-09-25T15:52:53Z Xach: drmeister: More like "Today I am happy to announce, etc, [with code available now on github]", where [...] is a link. 2014-09-25T15:52:57Z drmeister: faheem__1: You are building! Fantastic. I have an issue with that warning - it was just added to the latest Clang compiler and I'm caught between worlds. I cant use the latest Clang on OS X but I do use it on Linux. 2014-09-25T15:53:05Z innertracks joined #lisp 2014-09-25T15:53:41Z faheem__1: drmeister: i'm 100% sure it will fail, but i'm trying 2014-09-25T15:53:44Z ndrei quit (Ping timeout: 250 seconds) 2014-09-25T15:53:49Z Xach: "Clasp uses [LLVM] ...", "Clasp builds on [ECL]", etc 2014-09-25T15:54:13Z ndrei joined #lisp 2014-09-25T15:54:22Z drmeister: Xach, eudoxia_: Done - thanks for that suggestion. 2014-09-25T15:54:23Z faheem__1: drmeister: if you can run a distributed build, add in instruction for that 2014-09-25T15:54:31Z marsam is now known as marsbot 2014-09-25T15:54:43Z zeebrah quit (Ping timeout: 272 seconds) 2014-09-25T15:55:09Z faheem__1: drmeister: my default is 4.7, but i also have 4.9. what should i use? 2014-09-25T15:55:40Z faheem__1: oh, never mind. you use clang. and mine is out of date 2014-09-25T15:55:43Z drmeister: faheem__1: 4.9 what? GCC? 2014-09-25T15:56:01Z faheem__1: Debian clang version 3.4.2-4 (tags/RELEASE_34/dot2-final) (based on LLVM 3.4.2) 2014-09-25T15:56:10Z faheem__1: drmeister: yes 2014-09-25T15:56:19Z drmeister: faheem__1: Yes, it requires Clang. The externals-clasp downloads the specific release of llvm/clang3.6 that I use. 2014-09-25T15:56:21Z H4ns: . 2014-09-25T15:56:58Z faheem__1: drmeister: you point to the externals thingy by default? 2014-09-25T15:57:11Z drmeister: faheem__1: Are you on linux or OS X? 2014-09-25T15:57:13Z fortitude quit (Quit: leaving) 2014-09-25T15:57:41Z faheem__1: failed with ...skipped

clasp_mps_o for lack of gc_interface.o... 2014-09-25T15:57:55Z faheem__1: drmeister: debian gnu linux 2014-09-25T15:58:06Z faheem__1: gnu/linux 2014-09-25T15:58:07Z drmeister: Ok. 2014-09-25T15:58:16Z faheem__1: wheezy 2014-09-25T15:58:57Z faheem__1: drmeister: what is your build enviroment again? 2014-09-25T15:59:35Z fortitude joined #lisp 2014-09-25T16:00:23Z ndrei quit (Ping timeout: 240 seconds) 2014-09-25T16:00:36Z drmeister: faheem__1: Ok, this is what I was worried about. We need to get you to the proper version of clang. externals-clang will get you there. 2014-09-25T16:00:46Z innertracks quit (Quit: innertracks) 2014-09-25T16:01:24Z faheem__1: drmeister: i'm cloning the externals thingy 2014-09-25T16:01:32Z eudoxia_: one of the things i like about Arch is clang/llvm is always up to date 2014-09-25T16:01:36Z normanrichards quit 2014-09-25T16:01:40Z zacts quit (Quit: leaving) 2014-09-25T16:01:55Z faheem__1: do you point to it by default , and if so, where? 2014-09-25T16:02:01Z drmeister: Great - try that and then try to build Clasp again. I have to prepare for class now so I won't be back for another 2 hours. 2014-09-25T16:02:06Z ndrei joined #lisp 2014-09-25T16:02:35Z faheem__1: drmeister: what is the config variable for the externals? 2014-09-25T16:02:44Z drmeister: I'll leave IRC open so you can /msg me or leave me messages here - or post issues to github. 2014-09-25T16:02:46Z faheem__1: some path perhaps? 2014-09-25T16:02:54Z faheem__1: drmeister: ok 2014-09-25T16:02:55Z `JRG quit (Ping timeout: 246 seconds) 2014-09-25T16:03:26Z drmeister: The externals-clang repository has it's own instructions to build it and it's very short and in the README.md of https://github.com/drmeister/externals-clasp 2014-09-25T16:04:01Z drmeister: If I've done everything correctly (big IF) the only config variables that you need to worry about are in the local.config file. 2014-09-25T16:04:19Z faheem__1: drmeister: Copy local.config.darwin or local.config.linux to local.config. no local.config.linux 2014-09-25T16:04:28Z faheem__1: there is a local.config.template 2014-09-25T16:04:40Z drmeister: Thank you - stand by. 2014-09-25T16:05:42Z MutSbeta joined #lisp 2014-09-25T16:10:22Z MutSbeta quit (Client Quit) 2014-09-25T16:10:42Z MutSbeta joined #lisp 2014-09-25T16:10:57Z drmeister: Argh, for some reason it's not pushing the changes to github. I might have my authentication messed up on my linux machine. 2014-09-25T16:11:09Z MutSbeta quit (Client Quit) 2014-09-25T16:11:24Z drmeister: faheem__1: Use the local.config.template and change TARGET-OS = linux from TARGET-OS = darwin 2014-09-25T16:11:44Z drmeister: I'll figure out why I can't push changes when I get back. 2014-09-25T16:11:44Z faheem__1: drmeister: will do. thanks. 2014-09-25T16:11:57Z stacksmith: drmeister: You need staff! A web person, a sysadmin, and a bootlicking lackey, at least. 2014-09-25T16:12:08Z faheem__1 is templated to make disparaging remarks about git, as a mercurial user 2014-09-25T16:12:11Z MutSbeta joined #lisp 2014-09-25T16:12:15Z drmeister: Oh and change the PJOBS to the number of processors you can spare to do the build. 2014-09-25T16:12:18Z faheem__1: *tempted* 2014-09-25T16:12:24Z faheem__1: drmeister: ok 2014-09-25T16:12:37Z faheem__1: stacksmith: that's what grants are for. :-) 2014-09-25T16:12:42Z drmeister: stacksmith: Yes, yes I do. 2014-09-25T16:13:19Z stassats joined #lisp 2014-09-25T16:13:28Z faheem__1: TARGET-OS is already linux 2014-09-25T16:14:00Z drmeister: Comments so far on hacker news are pretty positive and the left coast should be waking up and enjoying their coffee as we speak. 2014-09-25T16:14:44Z faheem__1: east coast? 2014-09-25T16:14:51Z faheem__1: no, west 2014-09-25T16:15:36Z stassats: maybe drmeister is in hawaii 2014-09-25T16:15:48Z moore33: Out of curiosity, where is the 100x slowdown relative to SBCL coming from? 2014-09-25T16:16:05Z przl joined #lisp 2014-09-25T16:16:11Z stassats: indirection? 2014-09-25T16:16:22Z eudoxia_: i'm gonna guess the GC 2014-09-25T16:16:29Z eudoxia_: i don't have a single fact to back this up 2014-09-25T16:16:41Z faheem__1: moore33: unknown, but probably a bunch of stuff. 2014-09-25T16:16:48Z stassats: eudoxia_: the context was about the compiler 2014-09-25T16:17:04Z spockokt_ quit (Remote host closed the connection) 2014-09-25T16:17:10Z moore33: I kind of doubt it's the GC. My wild-ass guess is lack of CL type propagation + inlining. 2014-09-25T16:17:12Z eudoxia_: stassats: pretty sure it refers to speed of generated code 2014-09-25T16:18:23Z drmeister: moore33: 100x slowdown - I think because I don't do any Lisp language level optimizations. All bindings are put on the heap. beach is working on Cleavir that I plan to incorporate into Clasp - it will do the language level optimizations. At that point I don't see why it couldn't approach the speed of C. 2014-09-25T16:18:59Z drmeister: It's the speed of the generated code. 2014-09-25T16:20:34Z gravicappa quit (Remote host closed the connection) 2014-09-25T16:20:36Z drmeister: LLVM is a library designed to compile C/C++ and it's completely stack based. LLVM optimizers do stack/register optimization very well. I hardly use the stack because of Closures and I haven't figured out escape analysis. Cleavir does escape analysis. 2014-09-25T16:21:00Z drmeister: Gotta run. Time to think about carbonyl chemistry. 2014-09-25T16:21:33Z ndrei quit (Ping timeout: 272 seconds) 2014-09-25T16:22:04Z Cymew quit (Ping timeout: 258 seconds) 2014-09-25T16:22:50Z marsbot is now known as marsam 2014-09-25T16:22:58Z ndrei joined #lisp 2014-09-25T16:23:01Z faheem__1: ok, weird: checking for C compiler default output file name... configure: error: C compiler cannot create executables 2014-09-25T16:23:19Z faheem__1: and the externals thingy crashes 2014-09-25T16:23:44Z stassats: are you asking it to create 32-bit binaries on a 64-bit system? 2014-09-25T16:23:54Z faheem__1: oh, i see it is looking in a directory called ~/local. 2014-09-25T16:24:13Z faheem__1: stassats: i don't think so 2014-09-25T16:24:15Z mvilleneuve quit (Quit: This computer has gone to sleep) 2014-09-25T16:24:50Z faheem__1: need to set GCC-TOOLCHAIN to something sensible 2014-09-25T16:26:23Z kushal joined #lisp 2014-09-25T16:26:24Z zacharias quit (Quit: Bye!) 2014-09-25T16:26:30Z faheem__1: this needs a clean target 2014-09-25T16:30:49Z drdanmaku joined #lisp 2014-09-25T16:31:22Z jkaye quit (Remote host closed the connection) 2014-09-25T16:31:59Z jkaye joined #lisp 2014-09-25T16:35:13Z faheem__1: warning: mismatched versions of Boost.Build engine and core 2014-09-25T16:35:13Z faheem__1: warning: Boost.Build engine (bjam) is 2011.04.00 2014-09-25T16:35:14Z faheem__1: warning: Boost.Build core (at /usr/local/src/clasp/externals-clasp/boost/tools/build/v2) is 2013.05-svn 2014-09-25T16:35:31Z faheem__1: it's using the external bjam 2014-09-25T16:35:59Z jasom: drmeister: I get up at 7, but just saw clasp 2014-09-25T16:36:31Z jkaye quit (Ping timeout: 272 seconds) 2014-09-25T16:36:53Z moore33 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2014-09-25T16:38:55Z przl quit (Quit: leaving) 2014-09-25T16:39:17Z arenz quit (Ping timeout: 272 seconds) 2014-09-25T16:39:23Z faheem__1: it would really be a lot easier to hop in a time machine and fetch clasp from 2020, say. 2014-09-25T16:40:51Z faheem__1 searches for git future-clone 2014-09-25T16:41:46Z easye: faheem_1: All you have to do is accelerate away from the Earth's reference frame at an appreciable value of c, and then return. Relativity takes care of the rest. 2014-09-25T16:44:19Z nyef: easye: The real trick, of course, is getting back to now from then. 2014-09-25T16:44:49Z faheem__1: easye: time dilation isn't quite the same thing 2014-09-25T16:46:32Z moyamo joined #lisp 2014-09-25T16:47:22Z JuanitoJons joined #lisp 2014-09-25T16:48:03Z samebchase: Hello everyone, I'm getting this error: http://paste.lisp.org/display/143841 while attempting to run SLIME. 2014-09-25T16:48:22Z stassats: your slime is too old 2014-09-25T16:48:30Z samebchase: ah 2014-09-25T16:49:45Z Xach: samebchase: if you update the quicklisp dist, it includes a newer slime 2014-09-25T16:49:52Z Xach: (ql:update-dist "quicklisp") will do the trick 2014-09-25T16:50:03Z samebchase: Thanks 2014-09-25T16:54:29Z vlnx quit (Ping timeout: 272 seconds) 2014-09-25T16:55:50Z vlnx joined #lisp 2014-09-25T16:56:31Z zacts joined #lisp 2014-09-25T16:56:59Z jegaxd26 joined #lisp 2014-09-25T16:57:20Z prxq: samebchase: don't forget to restart emacs 2014-09-25T16:58:18Z varjag_ joined #lisp 2014-09-25T17:01:12Z samebchase: Yeah, I restarted emacs and then it worked 2014-09-25T17:01:22Z Xach: yay 2014-09-25T17:01:53Z common-lisper quit 2014-09-25T17:05:09Z jkaye joined #lisp 2014-09-25T17:05:45Z samebchase: heh 2014-09-25T17:06:50Z samebchase: What's the best way to start a swank server on a port that I specify and then manually do M-x slime-connect? 2014-09-25T17:07:18Z ndrei quit (Ping timeout: 258 seconds) 2014-09-25T17:07:23Z stassats: there's a start-swank.lisp file 2014-09-25T17:08:12Z copec quit (Quit: checkity check out.) 2014-09-25T17:08:44Z backupthrick joined #lisp 2014-09-25T17:08:52Z ndrei joined #lisp 2014-09-25T17:09:03Z Longlius joined #lisp 2014-09-25T17:09:13Z BitPuffin quit (Ping timeout: 258 seconds) 2014-09-25T17:09:15Z bbyler_tho quit (Remote host closed the connection) 2014-09-25T17:09:59Z copec joined #lisp 2014-09-25T17:09:59Z copec quit (Excess Flood) 2014-09-25T17:10:17Z samebchase: cool 2014-09-25T17:10:18Z copec joined #lisp 2014-09-25T17:14:01Z stassats: indeed, i made it! 2014-09-25T17:14:53Z dlowe: I've been getting weird swank errors lately from local-time 2014-09-25T17:15:09Z stassats: how weird is weird? 2014-09-25T17:15:13Z dlowe: which was very confusing, because I was working with local-time at the time 2014-09-25T17:15:34Z dlowe: The value LOCAL-TIME::%READ-TIMESTRING is not of type FUNCTION. 2014-09-25T17:15:42Z dlowe: (SWANK-BACKEND::MAKE-SOURCE-RECORDER LOCAL-TIME::%READ-TIMESTRING #) [tl,external] 2014-09-25T17:15:44Z ndrei quit (Ping timeout: 258 seconds) 2014-09-25T17:16:29Z ehu joined #lisp 2014-09-25T17:16:29Z ggole joined #lisp 2014-09-25T17:16:43Z stassats: ok, that's due to sbcl readtable changes 2014-09-25T17:16:50Z stassats: update your slime 2014-09-25T17:17:32Z dlowe: heh. I figured, but thought I'd mention it. 2014-09-25T17:18:06Z stassats: it looks like i fixed it in 2.7, right 2014-09-25T17:18:55Z gendl quit (Quit: gendl) 2014-09-25T17:19:09Z stassats: but 2.7 is broken with the above thing, so at least 2.8 is needed 2014-09-25T17:19:59Z dlowe: thanks, stassats 2014-09-25T17:20:47Z stassats: i think you also need to update named-readtables because of the sbcl readtable changes 2014-09-25T17:20:56Z stassats: and something else too, don't remember what, though 2014-09-25T17:21:22Z dlowe: I just blindly trusted Xach and updated my quicklisp dist :D 2014-09-25T17:21:30Z dlowe: problem solved 2014-09-25T17:22:40Z wglb joined #lisp 2014-09-25T17:22:44Z grungier quit (Remote host closed the connection) 2014-09-25T17:23:18Z zymurgy quit (Quit: WeeChat 0.3.8) 2014-09-25T17:25:58Z lduros joined #lisp 2014-09-25T17:26:27Z Xach rubs hands, cackles 2014-09-25T17:30:31Z drmeister quit (Remote host closed the connection) 2014-09-25T17:31:12Z drmeister joined #lisp 2014-09-25T17:31:49Z Shinmera: Soon Xach will have the world at his feet 2014-09-25T17:32:08Z stassats is still not using quicklisp 2014-09-25T17:32:18Z MutSbeta quit (Quit: Leaving.) 2014-09-25T17:32:40Z mvilleneuve joined #lisp 2014-09-25T17:33:21Z Xach howls in anger 2014-09-25T17:33:40Z stassats: minion uses quicklisp, though 2014-09-25T17:33:55Z stassats: minion: do you like quicklisp? 2014-09-25T17:33:56Z minion: here i am, brain the size of a planet, and all i do is answer your silly questions all day... maybe you have time to like quicklisp 2014-09-25T17:34:16Z grungier joined #lisp 2014-09-25T17:35:10Z wglb quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-09-25T17:36:50Z vaporatorius joined #lisp 2014-09-25T17:39:30Z zacts: why would one ever not want to use SBCL? 2014-09-25T17:39:36Z zacts: other than portability issues? 2014-09-25T17:40:05Z Shinmera: I hear the commercial ones are pretty awesome 2014-09-25T17:40:22Z Shinmera: CCL is also a good alternative, especially on Windows 2014-09-25T17:40:25Z tbarletz joined #lisp 2014-09-25T17:40:30Z Shinmera: ABCL if you want the JVM 2014-09-25T17:40:33Z Shinmera: ECL for embedding, etc 2014-09-25T17:40:41Z Shinmera: lots of reasons because they all have their purpose. 2014-09-25T17:40:43Z eudoxia_: but for everything else, there's SBCL 2014-09-25T17:41:10Z phao joined #lisp 2014-09-25T17:41:31Z nyef: zacts: SBCL doesn't run on every type of CPU out there. 2014-09-25T17:42:15Z moyamo: Is clisp still even actively developed? 2014-09-25T17:42:19Z nyef: And there is the occasional really-broken release... 2014-09-25T17:43:51Z nyef: (Which has been my fault a couple of times, at that.) 2014-09-25T17:44:20Z nyef: That said, SBCL is my go-to lisp implementation. 2014-09-25T17:45:07Z nyef: Oh, GC stuff. Specific GC requirements might mean that SBCL is a non-option. 2014-09-25T17:45:37Z jordonbiondo quit (Remote host closed the connection) 2014-09-25T17:45:49Z jordonbiondo joined #lisp 2014-09-25T17:46:38Z nyef: (If you want to run SBCL on a CPU that it doesn't currently support, by the way, I'm willing to discuss a contract for writing a new backend for the compiler.) 2014-09-25T17:48:23Z clop: is there a usual way to use defconstant in asdf-loadable files, like (defconstant *foo* '(a b c)), without running into this SBCL strict redefinition thing? 2014-09-25T17:49:17Z eudoxia_ quit (Quit: Lost terminal) 2014-09-25T17:51:06Z gendl joined #lisp 2014-09-25T17:51:12Z gendl: #quicklisp 2014-09-25T17:51:37Z nyef: clop: SBCL has DEFCONSTANT-EQX, IIRC. Or one trick is (defconstant *whatever* (if (boundp '*whatever*) *whatever* '(some value not guaranteed eql under similarity rules))). 2014-09-25T17:51:58Z nyef: Oh, wait, constants are supposed to be +constant+, not *variable*. 2014-09-25T17:52:17Z nyef: Your other angle is to name it as if it were +constant+ but use DEFPARAMETER. 2014-09-25T17:52:21Z stassats: alexandria has define-constant 2014-09-25T17:52:33Z oleo: +true_dat+ 2014-09-25T17:52:36Z stassats: i prefer (defparameter *whatever*) for non-eql things 2014-09-25T17:52:50Z clop: yeah i guess it just seems like a quoted object should be a constant... thanks, i'll use a boundp thing to workaround it 2014-09-25T17:53:03Z stassats: unless i know that for optimization's sack i need a constant, a constant list is rarely worth it 2014-09-25T17:53:20Z JuanitoJons quit (Ping timeout: 250 seconds) 2014-09-25T17:53:54Z nyef: Then there's fun-and-games with things like class instances with interning semantics, or singleton instances, but those are fairly rare scenarios. 2014-09-25T17:54:18Z drmeister quit (Remote host closed the connection) 2014-09-25T17:54:32Z drmeister joined #lisp 2014-09-25T17:54:48Z drewc: dlowe: parser combinator generator? https://github.com/drewc/smug yay! :) 2014-09-25T17:55:04Z dlowe: drewc: too late! the microproject is done 2014-09-25T17:55:46Z drewc: dlowe: dang .... should have woken up and #lisp'd a while ago... my bad :) 2014-09-25T17:56:02Z dlowe: I already wrote a smug thing 2014-09-25T17:56:56Z drewc: well, then you have done the correct thing. 2014-09-25T18:00:31Z drewc thinks it is all about SMUG'ness ... Simply Monads, Über Good! 2014-09-25T18:04:16Z faheem__1: did the good doctor go off somewhere? 2014-09-25T18:05:38Z wglb joined #lisp 2014-09-25T18:06:17Z joshe quit (Remote host closed the connection) 2014-09-25T18:06:44Z joshe joined #lisp 2014-09-25T18:08:02Z JuanitoJons joined #lisp 2014-09-25T18:08:33Z kushal quit (Ping timeout: 246 seconds) 2014-09-25T18:08:41Z ndrei joined #lisp 2014-09-25T18:09:48Z svetlyak40wt joined #lisp 2014-09-25T18:09:54Z joshe quit (Remote host closed the connection) 2014-09-25T18:10:36Z joshe joined #lisp 2014-09-25T18:12:17Z KCL joined #lisp 2014-09-25T18:12:35Z ilhami joined #lisp 2014-09-25T18:14:29Z svetlyak40wt quit (Ping timeout: 260 seconds) 2014-09-25T18:15:17Z KCL_ quit (Ping timeout: 245 seconds) 2014-09-25T18:18:02Z stacksmith has been trying to figure out what Monads are for a while. Continuations? 2014-09-25T18:18:34Z faheem__1: stacksmith: you're probably on the wrong channel for that 2014-09-25T18:18:50Z stacksmith: faheem__1: most definitely. 2014-09-25T18:19:21Z aftershave quit (Quit: Textual IRC Client: www.textualapp.com) 2014-09-25T18:21:17Z stassats quit (Ping timeout: 258 seconds) 2014-09-25T18:21:38Z zacharias joined #lisp 2014-09-25T18:21:43Z zacharias quit (Changing host) 2014-09-25T18:21:44Z zacharias joined #lisp 2014-09-25T18:24:29Z innertracks joined #lisp 2014-09-25T18:24:48Z dlowe: stacksmith: they're a monoid in the category of endofunctors. 2014-09-25T18:25:13Z dlowe: stacksmith: j/k 2014-09-25T18:25:52Z hiroakip joined #lisp 2014-09-25T18:26:18Z drewc: stacksmith: now, is Elohim a monad? Us gnostics want to know! 2014-09-25T18:26:34Z Haskellfant quit (Ping timeout: 272 seconds) 2014-09-25T18:26:35Z drewc: (not joking, but not lisping either) 2014-09-25T18:26:40Z stacksmith: dlowe: not that different from 'A monad is a construction that, given an underlying type system, embeds a corresponding type system (called the monadic type system) into it (that is, each monadic type acts as the underlying type). This monadic type system preserves all significant aspects of the underlying type system, while adding features particular to the monad' 2014-09-25T18:27:00Z nyef: drewc: I thought that the entire point of gnosticism is that they DO know? 2014-09-25T18:27:42Z Karl_Dscc joined #lisp 2014-09-25T18:28:00Z drewc: nyef: well, it is still a debate ... but only so they do not get killed... they know. 2014-09-25T18:28:11Z dlowe: stacksmith: look at https://github.com/drewc/smug/blob/master/smug.org and read the explanation 2014-09-25T18:28:50Z stacksmith likes recursive descent parsers... 2014-09-25T18:29:15Z drewc: dlowe, stacksmith: https://github.com/drewc/smug/blob/master/doc/tutorial.org is the more 'modern' version, though is a WIP 2014-09-25T18:29:46Z dlowe: drewc: ah, I like that you prepended your symbols with . 2014-09-25T18:30:06Z drewc: but it does go into some details about what monads are in a dynamic type system. 2014-09-25T18:30:33Z codeburg quit (Remote host closed the connection) 2014-09-25T18:30:45Z drewc: dlowe: yeah, it is a lot easier to read then #\= was, and beyond that, it simply feels better. 2014-09-25T18:31:03Z codeburg joined #lisp 2014-09-25T18:32:51Z drewc: stacksmith: given that monadic parser is what parsec among others use, it is about as monadic as it gets, yet the definition is like 10 LOC.... it really opened my eyes to monadic thingies. 2014-09-25T18:33:54Z drewc: or: want to know more about monads and SMUG and Parsec? https://github.com/drewc/smug/blob/master/doc/monparsing.org <--- the paper that started it all! :P 2014-09-25T18:34:09Z stacksmith: drewc: thanks, reading and waiting for my eyes to be opened. I've become quite stupid sometime during the last decade or two. 2014-09-25T18:34:19Z JuanitoJons quit (Ping timeout: 258 seconds) 2014-09-25T18:36:08Z drewc: stacksmith: http://www.urbandictionary.com/define.php?term=stupid%20is%20as%20stupid%20does :D 2014-09-25T18:36:32Z stacksmith: As mama always says... 2014-09-25T18:36:36Z drewc is done pasting URLs now, not SPAM but still, I apologize. 2014-09-25T18:36:41Z mvilleneuve quit (Quit: This computer has gone to sleep) 2014-09-25T18:36:48Z yrk joined #lisp 2014-09-25T18:37:14Z yrk quit (Changing host) 2014-09-25T18:37:15Z yrk joined #lisp 2014-09-25T18:42:01Z angavrilov quit (Remote host closed the connection) 2014-09-25T18:42:06Z SvenGek joined #lisp 2014-09-25T18:43:47Z moyamo quit (Remote host closed the connection) 2014-09-25T18:43:51Z husker joined #lisp 2014-09-25T18:45:08Z katco` joined #lisp 2014-09-25T18:46:18Z husker quit (Client Quit) 2014-09-25T18:46:26Z Haskellfant joined #lisp 2014-09-25T18:46:32Z katco quit (Ping timeout: 245 seconds) 2014-09-25T18:47:22Z sfa quit (Ping timeout: 260 seconds) 2014-09-25T18:49:10Z sfa joined #lisp 2014-09-25T18:49:52Z hiroakip quit (Ping timeout: 245 seconds) 2014-09-25T18:53:00Z MutSbeta joined #lisp 2014-09-25T18:56:30Z stassats joined #lisp 2014-09-25T18:58:25Z stassats quit (Client Quit) 2014-09-25T18:59:29Z FracV quit (Remote host closed the connection) 2014-09-25T18:59:53Z FracV joined #lisp 2014-09-25T19:00:12Z gingerale quit (Ping timeout: 245 seconds) 2014-09-25T19:01:11Z svetlyak40wt joined #lisp 2014-09-25T19:01:15Z svetlyak40wt quit (Remote host closed the connection) 2014-09-25T19:03:15Z katco` is now known as katco 2014-09-25T19:04:02Z hugod quit (Remote host closed the connection) 2014-09-25T19:04:18Z stacksmith: Xach, (or anyone else) - any advice on how to do maintenance work on a project that is in Quicklisp? Should I set up a git repo right in the /quicklisp/dists/... hierarchy, or keep a working copy elsewhere (and deal with the uncertainty and name conflicts)? 2014-09-25T19:04:25Z pgomes joined #lisp 2014-09-25T19:04:45Z hugod joined #lisp 2014-09-25T19:05:15Z gendl: stacksmith: when I ever touch anything from Quicklisp, 2014-09-25T19:05:29Z gendl: i set up a working copy in …/quicklisp/local-projects/ 2014-09-25T19:05:41Z madrik quit (Remote host closed the connection) 2014-09-25T19:05:43Z madrik` joined #lisp 2014-09-25T19:05:44Z Xach: stacksmith: i would do it in local-projects. 2014-09-25T19:05:49Z gendl: the .asd file there will take precedence over the one in …/quicklisp/dists/… 2014-09-25T19:06:05Z stacksmith: I can count on precedence? 2014-09-25T19:06:38Z stacksmith is scared about quickloading the wrong version... 2014-09-25T19:06:53Z pgomes quit (Client Quit) 2014-09-25T19:06:54Z Xach: yes 2014-09-25T19:07:23Z Fare joined #lisp 2014-09-25T19:07:37Z stacksmith: Thanx 2014-09-25T19:08:48Z Ven joined #lisp 2014-09-25T19:09:00Z gigetoo_ joined #lisp 2014-09-25T19:09:08Z gigetoo quit (Read error: No route to host) 2014-09-25T19:09:26Z Xach: I'd like to make it easier to do that. 2014-09-25T19:09:57Z gigetoo_ is now known as gigetoo 2014-09-25T19:10:55Z P4Titan joined #lisp 2014-09-25T19:11:12Z P4Titan: Hello all, how can I have multiple values stored in the accumulator of fold 2014-09-25T19:11:19Z gendl: Xach: you’d like to make it easier to quickload the wrong version? 2014-09-25T19:11:47Z Grue`: what is fold? 2014-09-25T19:12:23Z P4Titan: the fold function, (fold (lambda '(x acc) ...) '() list) 2014-09-25T19:12:34Z Grue`: it's called reduce here 2014-09-25T19:12:41Z P4Titan: ok 2014-09-25T19:12:50Z P4Titan: I assumed it had the same name 2014-09-25T19:13:00Z P4Titan: so, how can I store multiple values in reduce 2014-09-25T19:13:05Z ilhami: Hello Lisp :D 2014-09-25T19:13:19Z svetlyak40wt joined #lisp 2014-09-25T19:13:23Z Xach: gendl: I'd like to make it easier to type a few commands and have a "hackable" local version of a quicklisp-provided project. 2014-09-25T19:13:35Z Grue`: P4Titan: you can make the function return a list of values 2014-09-25T19:13:49Z fridim__ quit (Ping timeout: 272 seconds) 2014-09-25T19:13:53Z Xach: gendl: right now there are too many steps from finding the location of the project to fetching it into a suitable place and loading it. 2014-09-25T19:14:05Z P4Titan: is that the way it is done? 2014-09-25T19:14:33Z P4Titan: with (values ...)? 2014-09-25T19:15:01Z prxq: P4Titan: there is multiple-value-list, which may be of interest 2014-09-25T19:15:49Z fe[nl]ix: stacksmith: I'm using the old ASDF1 approach of using an explicit symlink directory 2014-09-25T19:15:59Z Grue`: I'm not sure if reduce even works with multiple values 2014-09-25T19:16:01Z P4Titan: prxq: how does that work 2014-09-25T19:16:25Z fe[nl]ix: stacksmith: especially since I often have more than one checkout of the projects I maintain 2014-09-25T19:16:46Z P4Titan: It takes the return of values and makes it into a list? 2014-09-25T19:16:54Z bbyler_tho joined #lisp 2014-09-25T19:16:58Z Fare: fe[nl]ix, almost equivalent but easier to maintain, asdf 3.1.3.7's .cl-source-registry.cache 2014-09-25T19:17:35Z fe[nl]ix: easier how ? 2014-09-25T19:18:18Z prxq: P4Titan: right 2014-09-25T19:18:20Z Fare: there's a script that will update it for you 2014-09-25T19:18:21Z Grue`: ok, reduce definitely returns only one value; but that one value can be a list or whatever 2014-09-25T19:18:24Z SvenGek quit (Quit: Leaving) 2014-09-25T19:18:35Z Fare: if you point it at the top of your source trees 2014-09-25T19:18:48Z oudeis quit (Quit: This computer has gone to sleep) 2014-09-25T19:19:23Z cmack` joined #lisp 2014-09-25T19:19:56Z fe[nl]ix: Fare: no, thanks 2014-09-25T19:20:52Z cmack quit (Ping timeout: 240 seconds) 2014-09-25T19:21:01Z P4Titan: thanks~ 2014-09-25T19:21:16Z Fare: ok. But it should still accelerate source-registry scanning in situations where you want your users not to have to deal with configuration (e.g. debian) 2014-09-25T19:22:03Z fe[nl]ix: I have only one user 2014-09-25T19:22:46Z Fare: fe[nl]ix, and he's willing to be a sysadmin, too, it seems. 2014-09-25T19:22:56Z tobel joined #lisp 2014-09-25T19:23:03Z fe[nl]ix: he even works as sysadmin :D 2014-09-25T19:23:08Z Fare: :-) 2014-09-25T19:23:37Z Fare: I'm just trying to design these interfaces so they work for non-sysadmins, too 2014-09-25T19:24:07Z Fare: of course, sysadmins can survive anything. Even shellshock. 2014-09-25T19:24:10Z hiroakip joined #lisp 2014-09-25T19:24:40Z fe[nl]ix: hahaha 2014-09-25T19:27:32Z bbyler_tho quit (Remote host closed the connection) 2014-09-25T19:28:42Z ilhami quit (Quit: Nettalk6 - www.ntalk.de) 2014-09-25T19:31:18Z drmeister quit (Remote host closed the connection) 2014-09-25T19:31:52Z drmeister joined #lisp 2014-09-25T19:32:26Z hiroakip quit (Ping timeout: 272 seconds) 2014-09-25T19:32:46Z P4Titan: How would I add 1 to the second element of a list and return a new modified list? 2014-09-25T19:33:00Z P4Titan: I am asking for the best way to do that 2014-09-25T19:35:43Z Fare: p4titan: in clojure, (update-in mylist [1] inc) 2014-09-25T19:35:53Z P4Titan: In scheme anyone? 2014-09-25T19:36:18Z oleo is now known as Guest72904 2014-09-25T19:36:30Z Fare: p4titan: ask #scheme, but more like (cons (car mylist) (1+ (cadr mylist)) (cddr mylist)) 2014-09-25T19:36:41Z Fare: that said, reimplementing update-in would be cool 2014-09-25T19:36:44Z drewc: In common lisp anyone? :) 2014-09-25T19:36:49Z jasom: Fare: you're missing a cons 2014-09-25T19:36:54Z Fare: jasom: yup 2014-09-25T19:37:05Z Fare: list* can help, too 2014-09-25T19:37:33Z jasom: `(,(car mylist) ,(1+ (cadr mylist)) ,@mylist) 2014-09-25T19:37:44Z Grue`: (progn (incf (cadr mylist)) mylist) 2014-09-25T19:38:02Z oleo__ joined #lisp 2014-09-25T19:38:13Z Fare: Grue: nice trap 2014-09-25T19:38:24Z francogrex joined #lisp 2014-09-25T19:38:34Z drewc: (let ((list (copy-list '(1 2 3)))) (prog1 list (setf (second list) (1+ (second list))))) 2014-09-25T19:39:11Z drewc: it does say "return a new modified list" after all! :P 2014-09-25T19:39:20Z Grue`: yeah he asked for destructive op 2014-09-25T19:39:24Z Guest72904 quit (Ping timeout: 260 seconds) 2014-09-25T19:40:06Z Grue`: new or modified, that is the question 2014-09-25T19:40:15Z Soft quit (Ping timeout: 258 seconds) 2014-09-25T19:40:25Z drewc: that is why I modified the new list... 2014-09-25T19:40:35Z drewc: so that question need not be answered. 2014-09-25T19:40:55Z oudeis joined #lisp 2014-09-25T19:41:47Z drewc loves making requirements work in code, even if they are not actual requirements or even what was meant 2014-09-25T19:41:58Z Fare: P4Titan, a good exercise would be to port update-in to CL or Scheme. It's a good utility. 2014-09-25T19:42:09Z tobel quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-09-25T19:42:27Z Fare: maybe we need a cloclure implementation of clojure in CL. 2014-09-25T19:42:30Z francogrex: (let* ((list1 '(1 2 3)) (list2 list1)) (format t "before: ~a ~a~%" list1 list2) (setf (second list1) 6) (format t "after: ~a ~a~%" list1 list2)) 2014-09-25T19:42:36Z jasom: Fare: isn't clojure with immutable types though? 2014-09-25T19:42:44Z Fare: by default 2014-09-25T19:42:46Z jasom hasn't done any clojure for about 3 years 2014-09-25T19:42:51Z innertracks quit (Quit: innertracks) 2014-09-25T19:42:54Z drewc: Grue`: though, reading it, I have to modify the list first, before copy'ing it. 2014-09-25T19:42:56Z francogrex knows not what the question was! 2014-09-25T19:43:04Z Fare: it also has explicitly mutable vars, refs, atoms, agents. 2014-09-25T19:43:25Z Grue`: so like rust? 2014-09-25T19:43:40Z francogrex: (let* ((list1 '(1 2 3)) (list2 (copy-list list1))) (format t "before: ~a ~a~%" list1 list2) (setf (second list1) 6) (format t "after: ~a ~a~%" list1 list2)) 2014-09-25T19:43:41Z svetlyak40wt quit (Remote host closed the connection) 2014-09-25T19:43:42Z drewc: iron-oxide lisp? 2014-09-25T19:43:42Z Fare: I don't know exactly what rust does, but there are probably commonalities 2014-09-25T19:43:54Z _death: (collect (map-fn t (lambda (x y) (if (= x 1) (1+ y) y)) (scan-range) (scan 'list input))) ;) 2014-09-25T19:44:10Z Grue`: something rust-like would probably be cool: imagine a lisp without gc 2014-09-25T19:44:16Z jasom: hmm, someone just put a bunch of machine-learning related stuff up on github 2014-09-25T19:44:16Z sdemarre joined #lisp 2014-09-25T19:44:38Z _death: jasom: gabor? 2014-09-25T19:44:39Z jasom: svd, latent semantic indexing, @ct 2014-09-25T19:44:53Z jasom: _death: apparently 2014-09-25T19:44:56Z drewc: francogrex: that is wrong ... you modify a constant 2014-09-25T19:45:04Z Fare: vars a locally bound per thread; refs+agents partake in transactions; atoms are individually serialized. 2014-09-25T19:45:07Z manfoo7: Hi, I have a very simple question about lisp's unless macro 2014-09-25T19:45:11Z _death: jasom: http://quotenil.com/Migration-to-github.html 2014-09-25T19:45:18Z manfoo7: How does the name relate to what the macro does? 2014-09-25T19:45:45Z manfoo7: unless the condition is false, do the following??? 2014-09-25T19:45:47Z francogrex: drewc: yes sbcl would have kicked my ass; clisp was more linient 2014-09-25T19:45:50Z francogrex: lenient 2014-09-25T19:45:56Z jasom: manfoo7: unless the condition is true, do the following 2014-09-25T19:45:57Z Grue`: manfoo7: unless the condition is true 2014-09-25T19:46:07Z francogrex: (list 1 2 3) 2014-09-25T19:46:16Z SvenGek joined #lisp 2014-09-25T19:46:21Z didi quit (Quit: you can't /fire me, I /quit) 2014-09-25T19:46:28Z Grue`: as opposed to *when* condition is true 2014-09-25T19:46:30Z jasom: manfoo7: (unless X Y) === (when (not X) Y) 2014-09-25T19:46:31Z _death: manfoo7: unless = when-not 2014-09-25T19:46:35Z francogrex: but again I just butted in without knowing what was being really discussed ! 2014-09-25T19:47:26Z manfoo7: I know what the function does, I just cannot understand its naming 2014-09-25T19:47:55Z SvenGek: manfoo7: I think it comes from other languages 2014-09-25T19:47:59Z manfoo7: if the condition is true, you just jump over the body, so how is this "unless" 2014-09-25T19:48:04Z SvenGek: Doesn't perl have it? 2014-09-25T19:48:09Z francogrex: manfoo7: english not first language? http://www.wordwebonline.com/search.pl?w=unless 2014-09-25T19:48:10Z drewc: francogrex: exactly what you butted in with is what was being discussed, and I was butting in as a compiler, so you did perfectly! 2014-09-25T19:48:12Z jasom: manfoo7: (unless (doesnt-understand manfoo7) (explain-it)) 2014-09-25T19:48:22Z attila_lendvai joined #lisp 2014-09-25T19:48:24Z jasom: manfoo7: (unless (understands manfoo7) (explain-it)) 2014-09-25T19:48:29Z jasom: ignore my first one 2014-09-25T19:48:44Z sdemarre quit (Ping timeout: 260 seconds) 2014-09-25T19:49:38Z jasom: manfoo7: it executes the body unless the condition is true. 2014-09-25T19:49:45Z manfoo7: sorry to bother you with this, indeed english is not my first language 2014-09-25T19:50:01Z francogrex: neither it is mine, so np 2014-09-25T19:50:03Z manfoo7: but your dictionary gives the following definition 2014-09-25T19:50:09Z drewc: manfoo7: unless :: "conj. Except on the condition that; except under the circumstances that: " 2014-09-25T19:50:16Z manfoo7: if not , 2014-09-25T19:50:20Z manfoo7: except when 2014-09-25T19:50:29Z francogrex: if not x then y 2014-09-25T19:50:32Z Fare ponders shellshock, and wonders if $CL_SOURCE_REGISTRY could be a security risk in the future. 2014-09-25T19:50:46Z manfoo7: so the first one is fine with me 2014-09-25T19:50:56Z Grue`: SBCL_HOME = rm -rf / 2014-09-25T19:50:57Z dlowe: Fare: perhaps not a widespread one :) 2014-09-25T19:50:57Z jasom: Fare: yes for lisp CGI scripts that rely on it 2014-09-25T19:51:01Z manfoo7: but except when seems a bit contradictory to the first one 2014-09-25T19:51:18Z jasom: except when doesn't sound right; which dictionary is it? 2014-09-25T19:51:19Z SvenGek: Except when X happens, do Y 2014-09-25T19:51:24Z francogrex: (unless (> 3 2) 5) and then (unless (< 3 2) 5) 2014-09-25T19:51:30Z jasom: SvenGek: oh, that makes sense 2014-09-25T19:51:34Z Fare: jasom: well let's hope the CGI protocol doesn't export a variable named CL_SOURCE_REGISTRY 2014-09-25T19:51:45Z drewc: manfoo7: I prefer "when not", as (WHEN (NOT ...) ...) is the same thing . 2014-09-25T19:51:52Z manfoo7: well, the dictionary pointed to me by francogrex 2014-09-25T19:52:01Z jasom: Fare: it does if you pass it in as a GET parameter 2014-09-25T19:52:12Z Fare: jasom: does it? lovely! 2014-09-25T19:52:30Z drewc: when not foo, evaluate bar. (when (not foo) (eval bar)) 2014-09-25T19:52:38Z francogrex: "if not" is the opposite of "if" or "if yes" if you will 2014-09-25T19:52:56Z jasom: Fare: oh, I'm wrong 2014-09-25T19:52:58Z hiroakip joined #lisp 2014-09-25T19:53:02Z jasom hasn't written a CGI script in about 5 years 2014-09-25T19:53:11Z Grue`: if unless is giving you trouble, god help you when you encounter #-(and) and #+(or) 2014-09-25T19:53:50Z nyef quickly pushes :NIL onto *FEATURES*. 2014-09-25T19:54:12Z manfoo7: Grue`: It does not pose any trouble at all. My level of english made me think it does the opposite of what it actually do 2014-09-25T19:54:17Z Soft joined #lisp 2014-09-25T19:54:20Z SvenGek: if : unless :: while : until 2014-09-25T19:54:21Z jasom: nyef: that's why I use #+(or) instead of #+nil 2014-09-25T19:54:38Z innertracks joined #lisp 2014-09-25T19:55:12Z nyef: jasom: As do I. And occasionally I use #+#.(cl:if ... '(and) '(or)) 2014-09-25T19:55:24Z francogrex: did anyone use 'swig' before? (for cffi or other translations)? 2014-09-25T19:55:24Z jasom: nyef: ... 2014-09-25T19:55:45Z jasom: nyef: I didn't even know #. was valid after #+; is it defined to use READ to read the next thing? 2014-09-25T19:55:51Z jasom: francogrex: I have 2014-09-25T19:56:03Z francogrex: jasom: for cffi? (curious) 2014-09-25T19:56:15Z jasom: francogrex: yup 2014-09-25T19:56:20Z drewc: Grue`: I had trouble with that, and while english is not my first language, It was my second a long long time ago... so now I use #+(or) save for when I never want it commited, when i use a #+NIL so I will not commit it or get laughed at trying. 2014-09-25T19:56:23Z Fare: CL_SOURCE_REGISTRY='(#.(uiop:run-program "/bin/sh -c '\''echo ok'\'' > /tmp/foo" :output :interactive))' cl -l sbcl -ip 2 2014-09-25T19:56:49Z nyef: clhs #+ 2014-09-25T19:56:49Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/02_dhq.htm 2014-09-25T19:57:11Z nyef: Read 'em and weep: The feature expression is READ with a specific binding of *PACKAGE*. 2014-09-25T19:57:12Z oudeis quit (Quit: This computer has gone to sleep) 2014-09-25T19:57:54Z jasom: aha #-#.(cl:car cl:*features*) 2014-09-25T19:58:48Z nyef: Not infrequently used with (cl:if (cl:find-symbol ...)), or even weirder things. 2014-09-25T19:58:52Z Fare: #+#:gensym 2014-09-25T19:59:36Z Fare: #+#:+ 2014-09-25T19:59:56Z francogrex: what is this supposed to be practiaclly doing? #+#:+ ? 2014-09-25T19:59:59Z jasom: #+#:} 2014-09-25T20:00:28Z nyef: Although the worst-case scenario that I can recall is in SBCL: #!+#.(cl:if (cl:member sb-assembling cl:*features*) win32 '(or)) 2014-09-25T20:00:31Z jasom: what emoticons can we make with this 2014-09-25T20:00:35Z Fare: jasom: is that an african lady smiley? 2014-09-25T20:00:47Z drewc: that took me a bit of reading, and I did not weep, but "This is because KEYWORD is the package used by default when reading[2] feature expressions in the #+ and #- reader macros" ... which I knew, probably from reading that before .... and I may have wept. 2014-09-25T20:01:15Z madrik` quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-09-25T20:01:18Z jasom: Fare: or a guy with a long beard and a turban 2014-09-25T20:01:38Z madrik joined #lisp 2014-09-25T20:01:48Z francogrex: seriously what is this? #+#:gensym 2014-09-25T20:02:19Z jasom: francogrex: it's like #+foo except guaranteed to never be in *features* since #:foo will be a fresh uninterned symbol 2014-09-25T20:02:38Z Patzy quit (Ping timeout: 244 seconds) 2014-09-25T20:03:17Z Patzy joined #lisp 2014-09-25T20:03:45Z francogrex: jasom: ok but what is its usefulness? 2014-09-25T20:03:53Z jasom: francogrex: just to be obtuse 2014-09-25T20:04:01Z francogrex: ha 2014-09-25T20:04:35Z manfoo7: drewc: what do you guys denote by #+(or) and #+nil, some library functions? 2014-09-25T20:04:41Z jasom: nyef: what does sbcl use #! for? 2014-09-25T20:04:48Z Fare: it's safer than #+nil in commenting out your code, and easier to remember than #+(or) 2014-09-25T20:04:58Z nyef: A feature test on the target system. 2014-09-25T20:05:00Z jasom: manfoo7: it's a quick way to comment out a single expression for code 2014-09-25T20:05:02Z Fare: actually, it's shorter than #+(or) 2014-09-25T20:05:20Z Fare: #+#:O 2014-09-25T20:05:21Z jasom: #+(or)(some-multiline expression I want to comment out) 2014-09-25T20:05:53Z innertracks quit (Quit: innertracks) 2014-09-25T20:05:57Z jasom: it can be hard to balance parentheses if you are using ; or #||# to comment out code 2014-09-25T20:06:02Z sdemarre joined #lisp 2014-09-25T20:06:07Z manfoo7: jasom: Didn't know about that, thank you for the information 2014-09-25T20:06:18Z drewc: manfoo7: it is a read-time conditional which always fails... so a comment basically. 2014-09-25T20:06:24Z jasom: Fare: but your version CONSes 2014-09-25T20:06:36Z Fare: at compile-time only 2014-09-25T20:06:40Z jasom ducks 2014-09-25T20:06:45Z francogrex: #| this is a test comment |# 2014-09-25T20:06:58Z jasom: we need an ngensym for a non-consing implementation of gensym 2014-09-25T20:07:15Z jasom: (Yes that was a joke) 2014-09-25T20:08:14Z drmeister quit (Remote host closed the connection) 2014-09-25T20:08:24Z Fare: #.(progn(read)(read)) 2014-09-25T20:08:30Z drmeister joined #lisp 2014-09-25T20:08:51Z jasom: Fare: okay, that's evil 2014-09-25T20:09:06Z jasom: but won't work during LOAD, right? 2014-09-25T20:10:06Z francogrex: indeed that is evil 2014-09-25T20:10:18Z francogrex: i like it 2014-09-25T20:10:37Z drewc: jasom: I stopped using #| |# some 10 years ago, because of the balancing act. It took about 3 years after than before #+NIL turned into #+(or) ... which I used up until today, when #+#:|This is a comment commenting why I am commenting out this code| started to rear its ugly head 2014-09-25T20:11:26Z Xach: #+#:|This is a comment first explaining the mechanism of #+#:, then explaining why the following code is commented out| 2014-09-25T20:12:05Z Xach: #+#:|Just google this if you don't understand it. HA 2014-09-25T20:12:07Z Xach: | 2014-09-25T20:12:13Z drewc thanks Fare for that.... ... and now Xach as well, because it needed more evil! 2014-09-25T20:12:26Z Xach googles sharp-plus sharp-colon pipe 2014-09-25T20:12:53Z Karl_Dscc quit (Remote host closed the connection) 2014-09-25T20:14:09Z yacks quit (Remote host closed the connection) 2014-09-25T20:14:51Z pgomes joined #lisp 2014-09-25T20:15:01Z sdemarre quit (Ping timeout: 272 seconds) 2014-09-25T20:20:10Z francogrex: sorry to break the fun a little, but how would you "translate" this expression in http://rosettacode.org/wiki/Machine_code#C to lisp: (int, int))buf)(a, b) ? 2014-09-25T20:20:41Z francogrex: actually ((int (*) (int, int))buf)(a, b) 2014-09-25T20:20:46Z Xach: (funcall buff a b)? 2014-09-25T20:20:53Z Xach: buf, rather. 2014-09-25T20:21:23Z francogrex: ok so all that int int is simply a funcall 2014-09-25T20:21:52Z pgomes quit (Quit: Leaving) 2014-09-25T20:22:07Z francogrex: buf is a pointer 2014-09-25T20:22:50Z edgar-rft joined #lisp 2014-09-25T20:24:59Z boogie joined #lisp 2014-09-25T20:26:32Z nyef: francogrex: The first int declares a return value, the (*) says "pointer", the (int, int) declares the argument types. And the entire thing is a cast of buf (thus to a function pointer), followed by calling through the pointer with specific parameters. 2014-09-25T20:28:16Z francogrex: ok the cast thing was troubling me. In lisp, expect through (c)ffi this cannot be done right? 2014-09-25T20:31:00Z P4Titan quit (Ping timeout: 246 seconds) 2014-09-25T20:32:32Z troydm quit (Quit: What is hope? That all of your wishes and all of your dreams come true? (C) Rau Le Creuset) 2014-09-25T20:34:29Z nyef: What, call through a C function pointer? 2014-09-25T20:35:53Z jasom: francogrex: if you mean branch directly to machine code, then you need to use FFI, correct. 2014-09-25T20:36:05Z francogrex: yes I mean executing a memory address. lisp accesses memory though cffi/ffi 2014-09-25T20:36:17Z francogrex: jasom: yes 2014-09-25T20:38:28Z drmeiste_: faheem__1: I'm back 2014-09-25T20:39:31Z askatasuna quit (Quit: WeeChat 1.0) 2014-09-25T20:39:55Z askatasuna joined #lisp 2014-09-25T20:43:00Z innertracks joined #lisp 2014-09-25T20:44:05Z svetlyak40wt joined #lisp 2014-09-25T20:44:57Z bbyler_tho joined #lisp 2014-09-25T20:47:58Z malice quit (Ping timeout: 272 seconds) 2014-09-25T20:48:32Z svetlyak40wt quit (Ping timeout: 245 seconds) 2014-09-25T20:50:01Z malice joined #lisp 2014-09-25T20:51:17Z jordonbiondo quit (Remote host closed the connection) 2014-09-25T20:51:34Z jordonbiondo joined #lisp 2014-09-25T20:56:18Z faheem__1: drmeiste_: hey 2014-09-25T20:56:54Z innertracks quit (Quit: innertracks) 2014-09-25T20:58:44Z pnpuff joined #lisp 2014-09-25T21:01:30Z ahungry_ quit (Quit: leaving) 2014-09-25T21:01:51Z ejbs quit (Remote host closed the connection) 2014-09-25T21:02:23Z atgreen joined #lisp 2014-09-25T21:03:23Z troydm joined #lisp 2014-09-25T21:05:58Z TheMoonMaster joined #lisp 2014-09-25T21:09:18Z klltkr joined #lisp 2014-09-25T21:09:44Z drmeister: faheem__1: How are things going? 2014-09-25T21:09:47Z jordonbiondo quit (Ping timeout: 245 seconds) 2014-09-25T21:12:19Z faheem__1: drmeister: doing ok. was having a pointless argument on unix.sx chat about whether ubuntu exploits debian. 2014-09-25T21:12:35Z faheem__1: instead of doing something actually useful. 2014-09-25T21:12:42Z drmeister: faheem__1: And how are things going with building Clasp? 2014-09-25T21:13:16Z faheem__1: drmeister: i ran into some issue. you have time to talk about it now? 2014-09-25T21:13:22Z ltbarcly joined #lisp 2014-09-25T21:13:25Z drmeister will sleep easier knowing that someone - somewhere was able to build it. 2014-09-25T21:13:32Z faheem__1: drmeister: heh 2014-09-25T21:13:36Z drmeister: faheem__1: Rock on! 2014-09-25T21:13:43Z drmeister: faheem__1: Yes. 2014-09-25T21:13:52Z faheem__1: drmeister: ok. one sec. let me review 2014-09-25T21:14:09Z GGMethos quit (Ping timeout: 272 seconds) 2014-09-25T21:14:36Z faheem__1: ok, so i'm trying to build the externals thingy 2014-09-25T21:15:20Z faheem__1: make tries to use my system bjam. that's hurdle number 1 2014-09-25T21:15:21Z drmeister: Yes, someone pointed out that it was building a debug build of LLVM - that was for me - I'm trying to turn that off but for some reason cannot upload changes to externals-clasp. 2014-09-25T21:15:48Z faheem__1: drmeister: i don't specially care about debug. though i'm a little concerned about space 2014-09-25T21:15:54Z jasom: drmeister: the pack is pretty big 2014-09-25T21:16:10Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2014-09-25T21:16:11Z faheem__1: how much space does a full build of external require? 2014-09-25T21:16:21Z drmeister: Yeah - I'm going through and cleaning things up - sorry - should have thought of that before hand. 2014-09-25T21:16:47Z drmeister: faheem__1: I don't know - I just assumed everyone has infinite storage space apparently. 2014-09-25T21:17:03Z drmeister looks around the room sheepishly. 2014-09-25T21:17:13Z SvenGek quit 2014-09-25T21:17:15Z GGMethos joined #lisp 2014-09-25T21:17:31Z faheem__1: drmeister: ok. well, don't worry about it for now. if i run out of space, i'll let you know 2014-09-25T21:18:11Z faheem__1: drmeister: you also badly need a clean target 2014-09-25T21:18:47Z faheem__1: actually your make tries to call clean. 2014-09-25T21:19:12Z faheem__1: warning: mismatched versions of Boost.Build engine and core 2014-09-25T21:19:12Z faheem__1: warning: Boost.Build engine (bjam) is 2011.04.00 2014-09-25T21:19:12Z faheem__1: warning: Boost.Build core (at /usr/local/src/clasp/externals-clasp/boost/tools/build/v2) is 2013.05-svn 2014-09-25T21:19:21Z faheem__1: this bit needs to be fixed, i think 2014-09-25T21:19:54Z faheem__1: jasom: git pack? 2014-09-25T21:20:27Z drmeister: faheem__1: I apparently can upload to externals-clasp now - I'm adding "make clean" 2014-09-25T21:20:41Z faheem__1: drmeister: ok 2014-09-25T21:21:02Z faheem__1: back in a couple o fminutes 2014-09-25T21:21:27Z antonv quit (Ping timeout: 258 seconds) 2014-09-25T21:21:30Z drmeister: faheem__1: How do you know my make tries to call clean - it just went into an infinite loop when I added the "make clean" target and said "make clean" 2014-09-25T21:22:42Z drmeister: Never mind, found it. 2014-09-25T21:22:49Z ltbarcly quit (Quit: Computer has gone to sleep.) 2014-09-25T21:22:54Z madrik quit (Quit: sleep) 2014-09-25T21:27:13Z kuzy000_ quit (Ping timeout: 260 seconds) 2014-09-25T21:27:33Z askatasuna quit (Quit: WeeChat 1.0) 2014-09-25T21:28:40Z c107 joined #lisp 2014-09-25T21:29:08Z nug700 joined #lisp 2014-09-25T21:29:34Z hiyosi_ quit (Ping timeout: 250 seconds) 2014-09-25T21:30:01Z minion quit (Remote host closed the connection) 2014-09-25T21:30:01Z specbot quit (Remote host closed the connection) 2014-09-25T21:30:02Z easye quit (Read error: Connection reset by peer) 2014-09-25T21:31:36Z jasom: drmeister: makefile is wrong; shouldn't clasp-mps depend on boostbuildv2-build and compile-commands? 2014-09-25T21:33:09Z faheem__1: drmeister: back now. pulling 2014-09-25T21:33:52Z bgs100 joined #lisp 2014-09-25T21:34:20Z marsam is now known as marsbot 2014-09-25T21:34:51Z drmeister: faheem__1: "make clean" is now a working option. 2014-09-25T21:35:11Z faheem__1: drmeister: so i see. can you look at the bjam thing? 2014-09-25T21:35:39Z faheem__1: i'm currently crashing with - checking for C compiler default output file name... configure: error: C compiler cannot create executables 2014-09-25T21:36:00Z drmeister: Is that when you build externals-clasp? 2014-09-25T21:36:01Z faheem__1: but the bjam mismatch may be screwing things up. that's the obvious next thing to fix. 2014-09-25T21:36:06Z faheem__1: drmeister: yes 2014-09-25T21:36:32Z ilhami joined #lisp 2014-09-25T21:36:33Z drmeister: I have the bjam mismatch thing as well. I hacked bjam to fix a few things and that's what we are using. 2014-09-25T21:36:40Z drmeister: I think the warning is a red-herring. 2014-09-25T21:37:08Z drmeister: Can you post a gist of the build log? 2014-09-25T21:37:14Z faheem__1: drmeister: i don't think so. i think it is using the bjam on my system. the version is correct. 2014-09-25T21:37:22Z faheem__1: drmeister: sure. where is it? 2014-09-25T21:37:43Z drmeister: Just copy and paste what you see on your terminal. 2014-09-25T21:37:58Z faheem__1: drmeister: ok 2014-09-25T21:38:04Z drmeister: Is this bugging anyone - should we take it private? 2014-09-25T21:38:11Z Fare: drmeister, btw, congratulations! 2014-09-25T21:38:18Z drmeister: Fare: Thank you! 2014-09-25T21:38:23Z faheem__1: how do i paste a giste? 2014-09-25T21:38:31Z faheem__1: gist 2014-09-25T21:38:32Z drmeister: ASDF integration is coming next. 2014-09-25T21:38:35Z Fare: yay! 2014-09-25T21:38:55Z Fare: on time for asdf 3.1.4, I hope. 2014-09-25T21:39:09Z faheem__1: nm, apparently just go to https://gist.github.com/ 2014-09-25T21:39:54Z prxq quit (Ping timeout: 272 seconds) 2014-09-25T21:40:28Z drmeister: faheem__1: Can you type "which bjam" on your command line? 2014-09-25T21:40:39Z drmeister: That will tell you where it is getting bjam from. 2014-09-25T21:41:14Z faheem__1: drmeister: https://gist.github.com/fmitha/1933a81e2610f5835a02 2014-09-25T21:41:36Z faheem__1: drmeister: /usr/bin/bjam system, like i said 2014-09-25T21:41:52Z drmeister: Can I just say - it really warms my heart to see someone else struggling with my build system for a change? :-) 2014-09-25T21:42:00Z faheem__1: drmeister: lol 2014-09-25T21:42:12Z faheem__1: i do a lot of customized building. 2014-09-25T21:42:19Z drmeister: faheem__1: Yup, that's not right. 2014-09-25T21:42:24Z faheem__1: backporting stuff to debian stable, mostly 2014-09-25T21:42:35Z drmeister: I see that the makefile uses $(BJAM) but I don't set it - hang on. 2014-09-25T21:42:47Z faheem__1: drmeister: i think that is ok. you just have to get make to use your local copy of bjame 2014-09-25T21:43:16Z Fare quit (Quit: Leaving) 2014-09-25T21:44:24Z faheem__1: which should always point to the system bjam 2014-09-25T21:44:44Z faheem__1: though the cognoscenti tell me which is the wrong thing to use 2014-09-25T21:44:47Z mac_ified quit (Ping timeout: 245 seconds) 2014-09-25T21:45:27Z drmeister: I added: BJAM = $(PREFIX)/release/bin/bjam to the makefile - can you give that a whirl? 2014-09-25T21:45:37Z faheem__1: drmeister: ok. pull? 2014-09-25T21:45:48Z drmeister: Pull! 2014-09-25T21:45:56Z drmeister cocks his rifle and shoots. 2014-09-25T21:46:08Z nyef: Heh. Was trying to figure out how to make that joke. (-: 2014-09-25T21:46:18Z faheem__1: hmm still same error 2014-09-25T21:46:33Z rme: One usually shoots skeet with a shotgun, though. 2014-09-25T21:46:41Z faheem__1: that reminds me of Annie Get Your Gun, for some reason 2014-09-25T21:46:42Z Xach: drmeister is up for a challenge 2014-09-25T21:46:58Z faheem__1: clay pigeons 2014-09-25T21:47:22Z drmeister: My bjam goes to: ~/local/clasp/Contents/boost_build_v2/bin/bjam but I have all sorts of stuff in my .bash_profile that I don't want you to have to bother with - hang on. 2014-09-25T21:47:39Z faheem__1: hang on, prefix is sourced from where? the config thing? 2014-09-25T21:48:08Z francogrex just placed an order on a AMOP. I hope worth 35 euros will make me a good OO expert! 2014-09-25T21:48:09Z faheem__1: yes, that won't work. prefix is user set in local.config 2014-09-25T21:49:09Z faheem__1: drmeister: since you know where bjame is relative to the makefile, maybe a relative path, relative to the makefile path? 2014-09-25T21:49:17Z drmeister: faheem__1: Can you pull again and type: make printenv 2014-09-25T21:49:45Z drmeister: It will print $(BJAM) at the end and you can check if that file exists. 2014-09-25T21:50:08Z faheem__1: drmeister: ok 2014-09-25T21:50:41Z faheem__1: drmeister: it does. 2014-09-25T21:51:05Z drmeister: And if you make clean and make - what happens? 2014-09-25T21:51:10Z faheem__1: drmeister: same error 2014-09-25T21:52:02Z Asgeir quit (Quit: leaving) 2014-09-25T21:52:05Z faheem__1: you might need a ./ deal. that path isn't in PATH 2014-09-25T21:52:36Z drmeister: Where would I need ./ ? 2014-09-25T21:52:55Z didi joined #lisp 2014-09-25T21:53:00Z faheem__1: hmm, maybe not 2014-09-25T21:53:14Z faheem__1: drmeister: if the whole path is specified, then i guess it is redundant 2014-09-25T21:53:19Z drmeister: I just added "make bjamversion" and it invokes $(BJAM) -v - could you pull and run that? 2014-09-25T21:53:55Z specbot joined #lisp 2014-09-25T21:53:55Z minion joined #lisp 2014-09-25T21:54:32Z didi: What is the purpose of `:element-type' in `with-output-to-string'? It seems I can't arbitrarily choose the type. Is there a set of types I can use? 2014-09-25T21:55:11Z nyef: didi: I'd expect either CHARACTER or BASE-CHAR. 2014-09-25T21:55:11Z faheem__1: drmeister: i see there is llvm/ directory created in the externals-clasp directory. shall i delete that? 2014-09-25T21:55:17Z nyef: (or is it BASE-CHARACTER? I forget.) 2014-09-25T21:55:18Z faheem__1: its not deleted by make clean 2014-09-25T21:55:34Z faheem__1: what is the command to find the root of a git repo? 2014-09-25T21:55:47Z drmeister: Nah - that's ok, you can delete it but it will just have to be fetched again with git. 2014-09-25T21:55:47Z didi: nyef: oic 2014-09-25T21:55:59Z nyef: didi: If those are the two valid element types, then I expect that it would chose between a STRING and a BASE-STRING for the actual result. 2014-09-25T21:56:02Z hiyosi_ joined #lisp 2014-09-25T21:56:07Z Bike: drmeister: you(r announcement) showed up on my twitter feed today. welcome to the big time 2014-09-25T21:56:11Z faheem__1: drmeister: hmm. does it need to be cleaned? 2014-09-25T21:56:30Z faheem__1: this is a git submodule? 2014-09-25T21:56:31Z drmeister: I clean inside of it. But you are right "make clean" should "make clean". I'll fix that. 2014-09-25T21:57:10Z drmeister: faheem__1: No - those scare me. It's just llvm fetched when you use "make gitllvm" 2014-09-25T21:57:14Z faheem__1: do i have to do an equivalent of `hg update`? I'm running `git pull -u` 2014-09-25T21:57:23Z drmeister: Which is invoked automatically by "make" 2014-09-25T21:57:29Z faheem__1: drmeisterdrok 2014-09-25T21:57:39Z faheem__1: drmeister: ok 2014-09-25T21:58:43Z faheem__1: make bjamversion -> Boost.Jam Version 2011.4. OS=LINUX. 2014-09-25T21:58:48Z faheem__1: that's my system version 2014-09-25T21:59:22Z drmeister: (sigh) 2014-09-25T21:59:33Z drmeister: I have to run to catch a train - I'll be back in 10 min. 2014-09-25T21:59:40Z faheem__1: drmeister: ok 2014-09-25T21:59:50Z drmeiste_ quit (Remote host closed the connection) 2014-09-25T21:59:56Z faheem__1: i'll have to go to sleep at some point, but we can pick this up tomorrow 2014-09-25T22:00:16Z pnpuff quit (Quit: Lost terminal) 2014-09-25T22:00:53Z hiyosi_ quit (Ping timeout: 260 seconds) 2014-09-25T22:02:48Z P4Titan joined #lisp 2014-09-25T22:06:49Z Shinmera quit (Quit: しつれいしなければならないんです。) 2014-09-25T22:06:54Z drmeiste_ joined #lisp 2014-09-25T22:07:56Z didi quit (Quit: you can't /fire me, I /quit) 2014-09-25T22:08:11Z drmeiste_: Back in the saddle. 2014-09-25T22:08:15Z drmeiste_ is now known as drmeister_ 2014-09-25T22:08:55Z drmeister_: And plunging into the darkness under Philadelphia on a train (sigh). 2014-09-25T22:09:22Z mishoo quit (Ping timeout: 245 seconds) 2014-09-25T22:09:35Z faheem__1: drmeister: you have 2014-09-25T22:09:38Z faheem__1: boost-clean: -(cd $(BOOST_SOURCE_DIR); bjam --toolset=$(BOOST_TOOLSET) --clean debug) -(cd $(BOOST_SOURCE_DIR); bjam --toolset=$(BOOST_TOOLSET) --clean release) 2014-09-25T22:09:50Z drmeister_: I pushed a more better version of "make bjamversion". 2014-09-25T22:09:58Z drmeister_: Ah - that would be the problem. Hang on. 2014-09-25T22:09:58Z faheem__1: you have bjam there. should be $(BJAME) 2014-09-25T22:11:00Z drmeister_: faheem__1: Thank you much for spotting that. It's fixed and pushed up. 2014-09-25T22:11:06Z defaultxr joined #lisp 2014-09-25T22:11:19Z drmeister_: All "bjam" are now "$(BJAM)" 2014-09-25T22:11:58Z drmeister_: This is so much better than slamming my head on my desk. 2014-09-25T22:12:16Z drmeister_ has unorthodox debugging methods 2014-09-25T22:12:28Z faheem__1: drmeister_: recloning llvm 2014-09-25T22:13:53Z fortitude quit (Quit: leaving) 2014-09-25T22:14:46Z svetlyak40wt joined #lisp 2014-09-25T22:15:03Z faheem__1: ok, still erroring at that compiler error 2014-09-25T22:15:23Z faheem__1: time for another paste, methinks 2014-09-25T22:16:04Z drmeister_: You know what makes me REALLY nervous about putting something like: rm -rf $(LLVM_SOURCE_DIR) in case LLVM_SOURCE_DIR changes to something else like in the future. Should I be worried? 2014-09-25T22:16:21Z drmeister_: I've had rm -rf run away from me one too many times. 2014-09-25T22:16:56Z faheem__1: https://gist.github.com/fmitha/b5b273b197f86b5d527f 2014-09-25T22:17:24Z drmeister_: Adding "rm -rf llvm" - hang on. 2014-09-25T22:17:57Z faheem__1: drmeister_: as the xen of python says, better explicit than implicit 2014-09-25T22:18:19Z faheem__1: -- Explicit is better than implicit. -- 2014-09-25T22:18:42Z faheem__1: Though here I should probably be quoting the Zen of Common Lisp. But I don't know what it is. 2014-09-25T22:19:02Z svetlyak40wt quit (Ping timeout: 244 seconds) 2014-09-25T22:19:02Z drmeister_: I added: rm -rf ./$(LLVM_SOURCE_DIR) and pushed it 2014-09-25T22:19:25Z drmeister_: It's the sound of two parentheses clapping. 2014-09-25T22:19:26Z nyef: This is a Makefile problem, and thus the Tao of Unix Programming would surely be the more appropriate canon? 2014-09-25T22:19:36Z AeroNotix: if I have a library that I want to do some initialization code one and only once when it's loaded. Is there a preferred place to put that? 2014-09-25T22:19:54Z faheem__1: nyef: i don't know what that is either. 2014-09-25T22:21:09Z faheem__1: drmeister_: did you see my paste? 2014-09-25T22:21:25Z ehu quit (Ping timeout: 260 seconds) 2014-09-25T22:21:35Z faheem__1: drmeister_: i don't know if removing llvm every time is necessary. it takes ages to clone 2014-09-25T22:21:51Z faheem__1: just make you clean it, perhaps? 2014-09-25T22:21:54Z sz0 joined #lisp 2014-09-25T22:22:06Z drmeister_: Yes, it looked like git coughed up a hairball while downloading llvm - then I went and fixed make clean. Looking deeper into the paste now. 2014-09-25T22:22:11Z faheem__1: just make sure you clean it 2014-09-25T22:22:38Z faheem__1: what do others think? 2014-09-25T22:22:52Z drmeister_: faheem__1: Oh ok. Maybe I should have "make really-clean" 2014-09-25T22:23:02Z faheem__1: drmeister_: yeah 2014-09-25T22:23:24Z drmeister_: Hang on, I'm a little hung up on "make clean". 2014-09-25T22:24:42Z faheem__1: now i'm getting a -> /bin/sh: 2: ../configure: not found 2014-09-25T22:25:36Z faheem__1: yes, i see llvm is empty 2014-09-25T22:25:49Z drmeister_: faheem__1: Ok, it's still having trouble with llvm ../configure 2014-09-25T22:26:00Z jasom: error: "none" is not a known value of feature 2014-09-25T22:26:02Z drmeister_: Your llvm directory is empty? 2014-09-25T22:26:04Z faheem__1: i don't think having llvm in make clean works, since make clean is usually run before the build 2014-09-25T22:26:11Z faheem__1: drmeister_: yeah 2014-09-25T22:26:28Z faheem__1: well, it ran make clean when building, i think 2014-09-25T22:27:18Z drmeister_: Ooops, good point - usually I sort this stuff out before anyone sees it. 2014-09-25T22:28:12Z faheem__1: yes, here -> make[4]: Leaving directory `/usr/local/src/clasp/externals-clasp' 2014-09-25T22:28:12Z faheem__1: rm -rf ./llvm 2014-09-25T22:28:28Z drmeister_: Ok, now "make clean" just removes the build-debug and build-release directories within llvm/ 2014-09-25T22:28:32Z faheem__1: this is shortly after it has cloned llvm 2014-09-25T22:28:33Z drmeister_: "make really-clean" nukes the llvm directory. 2014-09-25T22:28:44Z faheem__1: drmeister_: ok 2014-09-25T22:28:49Z drmeister_: You can pull to get this new version. 2014-09-25T22:28:56Z faheem__1: drmeister_: ok. one sec 2014-09-25T22:29:36Z drmeister_: I really appreciate this faheem__1 - help with debugging build systems is as unglamorous as it gets. 2014-09-25T22:29:56Z faheem__1: drmeister_: no problem. 2014-09-25T22:30:05Z faheem__1: this is really a superior form of procrastination 2014-09-25T22:30:41Z faheem__1: cloning llvm again 2014-09-25T22:30:54Z drmeister_: Isn't it and it's like gold panning. You keep thinking "it's going to work if I just type 'make' one more time". 2014-09-25T22:31:01Z Xach: as much as i love advancing common lisp implementations, please consider private messages if it's truly of interest only to you two. (i can't tell.) 2014-09-25T22:31:26Z drmeister_: Xach: No sweat - I didn't think this would go on so long. 2014-09-25T22:31:35Z drmeister_: Thanks for everyone's patience. 2014-09-25T22:31:52Z Xach: it's your call. 2014-09-25T22:32:00Z drmeister_: Going private. 2014-09-25T22:34:57Z jlongster quit (Ping timeout: 260 seconds) 2014-09-25T22:36:51Z jasom: man I hate make; let me know when you guys figure it out so I can build it. 2014-09-25T22:37:13Z drmeister_ quit (Read error: Connection reset by peer) 2014-09-25T22:37:52Z lisper29 joined #lisp 2014-09-25T22:41:05Z buzzy_ joined #lisp 2014-09-25T22:41:15Z faheem__1: drmeister: https://gist.github.com/fmitha/122eaee6107d7d9ee178 2014-09-25T22:41:38Z faheem__1: that's the output of configure i think 2014-09-25T22:42:23Z faheem__1: drmeister: the problem is obvious -> ../configure: line 2201: /home/faheem/local/gcc-4.8.3/bin/gcc: No such file or directory 2014-09-25T22:43:43Z faheem__1: in local.config i have -> export GCC-TOOLCHAIN = gcc-4.9 2014-09-25T22:44:02Z faheem__1: ok, i just realised, will he be able to see any of this when he reconnects? 2014-09-25T22:44:30Z freaksken quit (Ping timeout: 272 seconds) 2014-09-25T22:44:33Z francogrex quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-09-25T22:44:48Z joshe: indeed 2014-09-25T22:45:03Z joshe: you might want to paste it to him in private message when he reconnects 2014-09-25T22:45:12Z faheem__1: joshe: ok 2014-09-25T22:45:25Z drmeiste_ joined #lisp 2014-09-25T22:45:26Z faheem__1: i see he has gcc hardwired all over the place in the makefile. 2014-09-25T22:46:08Z drmeiste_: faheem__1: I'm back - we have a fire going, I have a strong wireless connection and a glass of wine. I'm ready to debug. 2014-09-25T22:46:24Z drmeiste_ is now known as drmeister_ 2014-09-25T22:47:39Z faheem__1: drmeister_: ok, the problem is obvious. you have gcc hardwired in your makefile 2014-09-25T22:47:42Z P4Titan quit (Ping timeout: 258 seconds) 2014-09-25T22:47:58Z faheem__1: see the llvm-setup-debug and llvm-setup-release targets 2014-09-25T22:47:59Z ilhami quit (Quit: Nettalk6 - www.ntalk.de) 2014-09-25T22:48:05Z faheem__1: you want to go private again? 2014-09-25T22:48:32Z faheem__1: btw, what is $(GCC-TOOLCHAIN) supposed to be? 2014-09-25T22:49:27Z jkaye quit (Remote host closed the connection) 2014-09-25T22:49:40Z faheem__1: btw, local.config.linux appeared with an extra line 2014-09-25T22:49:53Z faheem__1: export TOOLSET = gcc 2014-09-25T22:50:52Z drmeister_: faheem__1: Got it - let's take private 2014-09-25T22:51:03Z faheem__1: drmeister_: ok, shall i msg you? 2014-09-25T22:51:17Z faheem__1: is /msg drmeister_ ok? 2014-09-25T22:51:40Z drmeister_: faheem__1: I think so. 2014-09-25T22:51:50Z drmeister_: I did it from my end. 2014-09-25T22:51:53Z faheem__1: drmeister_: ok 2014-09-25T22:52:23Z byte48 quit (Quit: out) 2014-09-25T22:52:30Z zeebrah joined #lisp 2014-09-25T22:52:33Z pillton joined #lisp 2014-09-25T22:54:42Z jtza8 quit (Remote host closed the connection) 2014-09-25T22:56:49Z hiyosi_ joined #lisp 2014-09-25T23:00:39Z vaporatorius quit (Remote host closed the connection) 2014-09-25T23:01:07Z jlongster joined #lisp 2014-09-25T23:01:17Z drmeister quit (Remote host closed the connection) 2014-09-25T23:01:53Z drmeister joined #lisp 2014-09-25T23:01:56Z hiyosi_ quit (Ping timeout: 260 seconds) 2014-09-25T23:05:22Z alexherbo2 quit (Read error: Connection reset by peer) 2014-09-25T23:05:23Z jlongster quit (Ping timeout: 240 seconds) 2014-09-25T23:08:29Z ggole quit 2014-09-25T23:09:06Z c107 quit (Remote host closed the connection) 2014-09-25T23:09:27Z hiroakip quit (Ping timeout: 245 seconds) 2014-09-25T23:09:52Z drewc quit (Ping timeout: 240 seconds) 2014-09-25T23:10:21Z ndrei quit (Ping timeout: 260 seconds) 2014-09-25T23:12:23Z WarWeasle joined #lisp 2014-09-25T23:14:17Z LiamH quit (Quit: Leaving.) 2014-09-25T23:15:03Z ilhami joined #lisp 2014-09-25T23:15:11Z svetlyak40wt joined #lisp 2014-09-25T23:17:52Z WarWeasle quit (Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )) 2014-09-25T23:19:47Z svetlyak40wt quit (Ping timeout: 272 seconds) 2014-09-25T23:21:59Z jlongster joined #lisp 2014-09-25T23:24:14Z ilhami quit (Quit: Nettalk6 - www.ntalk.de) 2014-09-25T23:25:30Z stepnem quit (Ping timeout: 272 seconds) 2014-09-25T23:26:17Z lduros quit (Remote host closed the connection) 2014-09-25T23:34:54Z ltbarcly joined #lisp 2014-09-25T23:35:25Z hiyosi_ joined #lisp 2014-09-25T23:37:08Z tadni joined #lisp 2014-09-25T23:37:54Z Longlius quit (Remote host closed the connection) 2014-09-25T23:41:25Z stacksmith quit (Remote host closed the connection) 2014-09-25T23:44:45Z drewc joined #lisp 2014-09-25T23:45:35Z effy joined #lisp 2014-09-25T23:46:15Z boogie quit (Remote host closed the connection) 2014-09-25T23:47:22Z Soft quit (Ping timeout: 245 seconds) 2014-09-25T23:48:36Z jlongster quit (Ping timeout: 260 seconds) 2014-09-25T23:49:11Z Soft joined #lisp 2014-09-25T23:49:52Z lisper29 quit (Quit: Leaving)