2015-01-04T00:00:47Z Xach: cl-ppcre is generally very good code. if you find yourself thinking something has to be a mistake, it probably is a misunderstanding. 2015-01-04T00:00:56Z Xach: and you can skip over it until later. 2015-01-04T00:01:02Z kcj joined #lisp 2015-01-04T00:01:20Z Luna_ quit (Quit: Leaving) 2015-01-04T00:01:45Z rurumate: thanks for explanations guys. Sorry if I'm being persistent, I'm a bit drunk and will rest now. 2015-01-04T00:01:58Z Shinmera: Reading code drunk is not the best idea. 2015-01-04T00:02:03Z Xach: remember: if you learn while drunk, you have to get drunk again to apply what you learned 2015-01-04T00:02:06Z Shinmera: Have a good one! 2015-01-04T00:02:57Z malbertife quit (Ping timeout: 240 seconds) 2015-01-04T00:06:16Z Shinmera quit (Quit: しつれいしなければならないんです。) 2015-01-04T00:06:34Z rurumate quit (Ping timeout: 250 seconds) 2015-01-04T00:09:19Z towodo quit (Quit: towodo) 2015-01-04T00:09:32Z stardiviner joined #lisp 2015-01-04T00:09:34Z stardiviner quit (Changing host) 2015-01-04T00:09:34Z stardiviner joined #lisp 2015-01-04T00:17:41Z bege quit (Quit: leaving) 2015-01-04T00:18:20Z xrash quit (Remote host closed the connection) 2015-01-04T00:19:41Z zRecursive joined #lisp 2015-01-04T00:20:51Z innertracks joined #lisp 2015-01-04T00:20:53Z eudoxia_ quit (Quit: Leaving) 2015-01-04T00:30:31Z towodo joined #lisp 2015-01-04T00:34:52Z hiroakip quit (Ping timeout: 240 seconds) 2015-01-04T00:36:17Z mishoo quit (Ping timeout: 240 seconds) 2015-01-04T00:41:02Z Hexstream joined #lisp 2015-01-04T00:41:03Z akkad ponders how ACL compares with LW since they have like 45 people vs like 2 2015-01-04T00:42:58Z Vutral quit (Ping timeout: 250 seconds) 2015-01-04T00:43:47Z spacebat joined #lisp 2015-01-04T00:44:32Z nikki93: hey guys so I have a macro b that calls a macro a like (defmacro b (name...) (let ... `( ... (a (defun ,name (...) (foo ,name 2015-01-04T00:44:43Z nikki93: and the macro a takes name and does a (defvar ,name inside it 2015-01-04T00:44:57Z nikki93: so I need to use the variable ,name in b after a has defvar'd it 2015-01-04T00:45:38Z nikki93: I tried doing (eval-when (:compile-toplevel :load-toplevel :execute) (defvar ,name ... inside a but b code still gives an undefined variable error 2015-01-04T00:45:52Z nyef: nikki93: lisppaste? 2015-01-04T00:47:33Z nikki93: nyef: so here's the macro 'a' that uses 'b': https://github.com/nikki93/lgame/blob/master/entity-system.lisp#L47 2015-01-04T00:47:33Z nikki93: nyef: and here's the macro 'b': https://github.com/nikki93/lgame/blob/master/system.lisp#L19 2015-01-04T00:48:01Z nikki93: as you can see, b passes class-name to a and a does a defvar by that name, and b defun's a function that refers to a variable by that name 2015-01-04T00:48:25Z hvxgr quit (Quit: leaving) 2015-01-04T00:48:49Z hvxgr joined #lisp 2015-01-04T00:49:00Z nyef: IIRC, LET destroys toplevelness. 2015-01-04T00:49:11Z nikki93: oh you're right 2015-01-04T00:50:05Z nyef: Why do you even need cell-class-var? 2015-01-04T00:51:15Z nikki93: nyef: there's definitely a better way to do this but -- basically I define another side class which is used by this one, and a slot in the main class keeps track of which side class is being used 2015-01-04T00:51:54Z nyef: ... And the side class varies at runtime? 2015-01-04T00:51:55Z nikki93: nyef: so I do a (let ((,other-class (..side class definition..) and then use ,other-class in the initform 2015-01-04T00:52:54Z Vutral joined #lisp 2015-01-04T00:52:57Z nikki93: no it doesn't, which is why I think I should do this some other way 2015-01-04T00:53:10Z nyef: Good. You're on the right track there. 2015-01-04T00:53:17Z nikki93: hehe 2015-01-04T00:53:36Z nikki93: i know this looks like some crazy hacks but I promise it makes life sorta easier 2015-01-04T00:54:07Z nikki93: what do you think is a good way to store the class -> side-class mapping then 2015-01-04T00:54:47Z nikki93: I could use the symbol-plist I guess 2015-01-04T00:55:03Z nyef: Augh! An hour ago, I knew what I was doing. Then dinner was ready, and I left off before actually naming the next test case. And now I have no idea what it was going to be. 2015-01-04T00:55:24Z Vutral quit (Excess Flood) 2015-01-04T00:56:48Z nyef: So, you have a class, and you have a "side-class". Is there any particular relation between the two in terms of names? 2015-01-04T00:56:52Z Bicyclidine quit (Ping timeout: 240 seconds) 2015-01-04T00:57:43Z nikki93: nope the name can be defined by the user for both cases 2015-01-04T00:57:50Z Vutral joined #lisp 2015-01-04T00:57:54Z klltkr joined #lisp 2015-01-04T00:58:03Z nikki93: basically it looks like (defbigclass bla () (defsideclass bleh ...) (...)) 2015-01-04T00:58:17Z nikki93: so a defbigclass is just a defclass with an additional side class definition between the superclass list and slot list 2015-01-04T00:58:22Z nyef: So, it's some odd form of nesting? 2015-01-04T00:58:32Z nikki93: yeah basically 2015-01-04T00:58:46Z ejbs: nikki93: Have you checked out CEPL? (just seeing that you're coding a game) 2015-01-04T00:58:56Z nikki93: ejbs: yup I have! :D 2015-01-04T00:59:00Z nikki93: ejbs: are you the guy that made it? 2015-01-04T00:59:26Z ejbs: nikki93: Hehe, no :) I wish! 2015-01-04T00:59:30Z nyef: So, the sideclass definition is always the third sub-form in the big-class definition? 2015-01-04T00:59:37Z nikki93: ya 2015-01-04T00:59:49Z ejbs: nikki93: Hey, where's the code for loading texture atlas's? 2015-01-04T00:59:53Z nikki93: nyef: what I'm thinking now is to keep side-class in there the way I did, then set a symbol plist thing 2015-01-04T01:00:05Z nyef shakes his head. 2015-01-04T01:00:06Z nikki93: ejbs: check sprite.lisp and gfx.lisp 2015-01-04T01:00:10Z nyef: What's the side-class for? 2015-01-04T01:00:12Z ejbs: thanks 2015-01-04T01:00:33Z nyef: (How is it used/instantiated?) 2015-01-04T01:01:13Z nikki93: nyef: the big class stores a hash table of ids to instances of teh side class and manages them (it is a subclass of a class that manages this) 2015-01-04T01:01:30Z nikki93: nyef: but the subclass can override this management 2015-01-04T01:01:43Z nikki93: nyef: also you can define methods on the side-class or bigclass to define ur own functionality 2015-01-04T01:02:29Z nikki93: nyef: here's an example usage: https://github.com/nikki93/lgame/blob/master/test.lisp#L7 2015-01-04T01:03:08Z nyef: Hrm. 2015-01-04T01:03:33Z nikki93: nyef: yeah the side class and main class often have similar names 2015-01-04T01:04:39Z nyef: But the main class is always associated with the same side class? 2015-01-04T01:04:45Z nikki93: yeah but the thing is 2015-01-04T01:04:52Z nikki93: there is only one instance of the main class ever 2015-01-04T01:05:00Z nikki93: so I didn't mind putting it in a slot 2015-01-04T01:05:00Z nyef: Ah, a singleton? 2015-01-04T01:05:05Z nyef: Hrm. 2015-01-04T01:05:13Z nikki93: just made life way easier cuz the base class can just ask it for its side class 2015-01-04T01:05:13Z nikki93: indeed 2015-01-04T01:05:20Z nikki93: i dunno if this pattern is making sense to you lol 2015-01-04T01:05:34Z nikki93: its my weird idea of how to manage game entities in a way that allows for live coding and speedy development 2015-01-04T01:05:39Z nyef: It's not. And that's partly because you're doing something completely bizarre, and partly the wine. 2015-01-04T01:05:48Z nikki93: you can add/remove functionality on the fly and dynamically on entities 2015-01-04T01:06:07Z nikki93: but at the same time it's pretty efficient 2015-01-04T01:06:20Z nikki93: I think I have a solution (: 2015-01-04T01:06:31Z nikki93: it's a naughty solution tho 2015-01-04T01:08:07Z moei quit (Quit: Leaving...) 2015-01-04T01:08:10Z nikki93: nyef: I'm about to ask you a weird question 2015-01-04T01:08:18Z nikki93: nyef: what happens if you put a defclass in an initform 2015-01-04T01:08:32Z nikki93: nyef: like (slot :initform (defclass bla ...) ) --- will it redef the class every new instance created 2015-01-04T01:09:35Z ejbs: nikki93: Probably, yeah. Try it out? 2015-01-04T01:12:03Z nyef: That's... yeah, that's about right. 2015-01-04T01:12:10Z nyef: Eesh. 2015-01-04T01:13:14Z moei joined #lisp 2015-01-04T01:13:29Z nyef: And it's time for me to try and figure out what on earth I was thinking about 90 minutes ago. 2015-01-04T01:14:11Z nikki93: good luck 2015-01-04T01:14:21Z nikki93: I'm addicted to common lisp now -- I need to get back to doing school work 2015-01-04T01:14:22Z towodo quit (Quit: towodo) 2015-01-04T01:14:34Z nikki93: got this nietzsche paper to write and some other stuff and I've just been hacking on lisp instead 2015-01-04T01:15:10Z nyef: Remember, when you stare into the CONS, the CONS stares back into you. 2015-01-04T01:15:28Z nyef: Also, nihilism should begin with oneself. 2015-01-04T01:16:08Z nyef: ... And (setf (symbol-value nil) t). 2015-01-04T01:16:46Z akkad: nyef remember he dodged two wars... 2015-01-04T01:16:58Z nyef: ... and pretty much didn't get laid? 2015-01-04T01:17:10Z akkad: he got the std that killed him somehow 2015-01-04T01:17:16Z nyef: Okay, that's fair. 2015-01-04T01:17:57Z nyef: Anyway, I have a set of misleading-yet-entirely-accurate test cases to write. And make work. 2015-01-04T01:18:26Z nikki93: nyef: k I fixed it with more hacks. feels good 2015-01-04T01:18:29Z spacebat quit (Ping timeout: 244 seconds) 2015-01-04T01:18:33Z nikki93: actually it's neater now 2015-01-04T01:19:38Z ejbs` joined #lisp 2015-01-04T01:20:55Z tadni quit (Remote host closed the connection) 2015-01-04T01:21:23Z tadni joined #lisp 2015-01-04T01:21:23Z ejbs quit (Ping timeout: 244 seconds) 2015-01-04T01:23:42Z Bicyclidine joined #lisp 2015-01-04T01:24:57Z bege joined #lisp 2015-01-04T01:26:02Z stardiviner quit (Quit: my website: http://stardiviner.dyndns-blog.com/) 2015-01-04T01:34:31Z tadni quit (Remote host closed the connection) 2015-01-04T01:34:52Z tadni joined #lisp 2015-01-04T01:36:58Z k-dawg joined #lisp 2015-01-04T01:36:59Z stardiviner joined #lisp 2015-01-04T01:37:04Z jasom: what would happen if I had two lisp processess that loaded the same ASDF system at the same time? 2015-01-04T01:37:16Z jasom: s/loading/compiling 2015-01-04T01:38:17Z |3b| would expect bad things, at least some small fraction of the time 2015-01-04T01:38:28Z jasom: |3b|: okay, so it's not expected to be safe 2015-01-04T01:38:44Z ejbs`` joined #lisp 2015-01-04T01:38:53Z |3b| wouldn't expect it to, but can't say if specific implementations or asdf expect it to 2015-01-04T01:38:58Z jasom: ah 2015-01-04T01:39:04Z jasom: I'll ask on the asdf mailing list 2015-01-04T01:39:17Z jasom knows poiu can do parallel builds 2015-01-04T01:39:19Z |3b|: but it is the sort of thing that someone would need tjo intentionally make safe, it wouldn't be safe by coincidence 2015-01-04T01:40:12Z jasom: |3b|: right, which is why I was asking 2015-01-04T01:40:16Z _m___ joined #lisp 2015-01-04T01:40:16Z |3b|: for example implementations would need to not have partial .fasl files in existence, or have any window where overwriting it would fail or have side effects 2015-01-04T01:40:17Z ejbs` quit (Ping timeout: 240 seconds) 2015-01-04T01:41:18Z |3b|: and some implementations might worry about that sort of thing, but i'd be surprised if all of them did so, and got it right on all OS 2015-01-04T01:41:49Z |3b|: (and all variations of (particularly networked) filesystems) 2015-01-04T01:42:08Z nyef: What was that about Nightmare File System? 2015-01-04T01:44:31Z towodo joined #lisp 2015-01-04T01:44:51Z attila_lendvai quit (Quit: Leaving.) 2015-01-04T01:55:57Z ejbs`` quit (Remote host closed the connection) 2015-01-04T02:00:22Z Mon_Ouie quit (Ping timeout: 240 seconds) 2015-01-04T02:02:38Z nikki93 quit 2015-01-04T02:04:48Z munksgaard quit (Ping timeout: 265 seconds) 2015-01-04T02:10:11Z robot-beethoven joined #lisp 2015-01-04T02:11:49Z innertracks quit (Quit: innertracks) 2015-01-04T02:12:22Z slyrus joined #lisp 2015-01-04T02:19:25Z Dynasty quit (Quit: ChatZilla 0.9.91.1 [Firefox 34.0.5/20141126041045]) 2015-01-04T02:27:28Z oudeis_ joined #lisp 2015-01-04T02:28:42Z oudeis quit (Ping timeout: 250 seconds) 2015-01-04T02:34:16Z arpunk quit (Remote host closed the connection) 2015-01-04T02:34:32Z arpunk joined #lisp 2015-01-04T02:42:57Z impulse quit (Ping timeout: 240 seconds) 2015-01-04T02:51:51Z mishoo joined #lisp 2015-01-04T02:52:32Z zRecursive: cmucl reports: Error in KERNEL::UNDEFINED-SYMBOL-ERROR-HANDLER: the function GENERATE-CRC32-TABLE is undefined. when loading quicklisp/setup.lisp. 2015-01-04T02:55:37Z oudeis_ quit (Ping timeout: 244 seconds) 2015-01-04T02:56:18Z nyef: ... Oh, wow. Someone still uses CMUCL? 2015-01-04T02:57:22Z zRecursive: nyef: cmucl seems still maintained ? 2015-01-04T02:57:42Z nyef: Yes, thanks to rtoym, IIRC. 2015-01-04T02:58:07Z nyef: I'm just always surprised whenever I hear about it being used, or about maintenance being done. 2015-01-04T02:59:21Z zRecursive: i indeed like its image name: lisp :) 2015-01-04T02:59:44Z zRecursive: file /usr/local/bin/lisp => /usr/local/bin/lisp: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 6.3, stripped 2015-01-04T02:59:58Z oudeis joined #lisp 2015-01-04T03:01:36Z zRecursive: Great! thw cmucl built maxima works very well. 2015-01-04T03:12:43Z echo-area quit (Remote host closed the connection) 2015-01-04T03:13:37Z echo-area joined #lisp 2015-01-04T03:14:40Z spacebat joined #lisp 2015-01-04T03:15:59Z dagnachew quit (Remote host closed the connection) 2015-01-04T03:22:17Z _m___ quit (Ping timeout: 240 seconds) 2015-01-04T03:26:44Z zRecursive quit (Remote host closed the connection) 2015-01-04T03:39:01Z Karl_Dscc quit (Remote host closed the connection) 2015-01-04T03:39:17Z klltkr quit (Ping timeout: 240 seconds) 2015-01-04T03:47:47Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2015-01-04T03:51:30Z MrWoohoo quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-01-04T03:52:19Z nyef: 10 out of 29 tests failed, but if I get all of them to pass then I think that I at least have the region union logic basically working. 2015-01-04T03:54:05Z npatrick04 joined #lisp 2015-01-04T04:10:52Z beach joined #lisp 2015-01-04T04:11:02Z beach: Good morning everyone! 2015-01-04T04:12:37Z nyef: Hello beach. 2015-01-04T04:13:59Z nyef is struggling with a region union operation still. 2015-01-04T04:14:39Z beach: How is the region represented again? 2015-01-04T04:15:44Z nyef: https://github.com/abridgewater/nq-clim/blob/master/geometry/standard-rectangle-set.lisp 2015-01-04T04:16:38Z nyef: I'll get it working this time, I know I will, but it might be tomorrow. 2015-01-04T04:17:16Z nyef: Actually, if it doesn't happen in the next 43 minutes, it WILL be tomorrow. 2015-01-04T04:17:35Z beach: Is that the same representation as is mentioned in the CLIM spec? 2015-01-04T04:18:50Z beach: Er, the first element of a Y-span is a Y-span? 2015-01-04T04:19:18Z beach: Y coordinate perhaps? 2015-01-04T04:19:19Z nyef: Not quite. It's trivial to transform it to the output of (region-set-regions ... :normalize :x-banding), and it's a permitted subset of REGION-SET. 2015-01-04T04:19:27Z nyef: It's the span of Y coordinates. 2015-01-04T04:19:43Z beach: The comments says the first element of a Y-span is a Y-span. 2015-01-04T04:19:50Z nyef: Yeah, I see that now. 2015-01-04T04:19:54Z nyef: Good catch. 2015-01-04T04:21:04Z stardiviner quit (Quit: my website: http://stardiviner.dyndns-blog.com/) 2015-01-04T04:21:23Z nyef: I'm really not sure how to re-word this for clarity, TBH. 2015-01-04T04:21:36Z beach: The names X-span and Y-span are sort of like big-endian and little-endian. They don't directly correspond to the concept. It would be great to have a one-sentence explanation in the comment so that the reader doesn't have to go buy the book. 2015-01-04T04:21:36Z beach: 2015-01-04T04:21:39Z Ukari joined #lisp 2015-01-04T04:22:29Z nyef: Yeah, sending people to buy the book just to read five pages out of 1174 is a bit much. 2015-01-04T04:23:13Z beach: I mean, does an X-span correspond to fixed X coordinates, with several Y coordinates, or does it span several X coordinates with fixed Y coordinates? 2015-01-04T04:23:15Z |3b|: what, they don't already have a copy? :p 2015-01-04T04:23:38Z beach: Perhaps I should get myself a copy. Thanks |3b|. 2015-01-04T04:23:41Z |3b|: making them go dig it up on the other hand ;) 2015-01-04T04:24:10Z nyef: beach: If you're going to be doing client-side rendering, it might well be interesting for you. 2015-01-04T04:24:22Z beach: Yes, I agree. 2015-01-04T04:24:30Z |3b| is surprised, its is actually readily accessible 2015-01-04T04:24:44Z nyef: It almost has me ready to consider implementing more of the CLIM geometry specification. 2015-01-04T04:24:51Z beach: Though a lot of info is now available as research articles on the web. 2015-01-04T04:25:22Z nyef: There are some good sections on doing geometric clipping on graphics operations prior to rasterization. 2015-01-04T04:25:41Z beach: nyef: While you were away, we agreed that there are efficient algorithms to compute the intersection and union of two regions defined by Bezier segments. 2015-01-04T04:26:02Z nyef: Okay, that sounds good. 2015-01-04T04:26:29Z beach: Then, ellipses could be represented as very good approximations of such regions. 2015-01-04T04:26:29Z nyef: I'm not completely convinced about using Bezier segments to define regions, though. 2015-01-04T04:26:36Z beach: Oh, OK. 2015-01-04T04:26:39Z beach: Never mind then. 2015-01-04T04:26:57Z nyef: Good thing we each have our own implementation to mess with then, right? 2015-01-04T04:27:04Z beach: Indeed. 2015-01-04T04:27:31Z beach: It allows for very general shapes of regions, though, including regions for defining glyphs. 2015-01-04T04:27:54Z beach: But, yeah, I am into client-side rendering these days. 2015-01-04T04:29:37Z jleija quit (Quit: leaving) 2015-01-04T04:35:01Z nyef: Oh, hell. Just found another case that I hadn't considered with the union operation. /-: 2015-01-04T04:44:46Z DrCode quit (Remote host closed the connection) 2015-01-04T04:45:11Z DrCode joined #lisp 2015-01-04T04:46:31Z oudeis quit (Quit: This computer has gone to sleep) 2015-01-04T04:49:25Z nyef: Hrm. 10 failures. 2015-01-04T04:49:42Z beach: Where do your tests come from? 2015-01-04T04:49:55Z nyef: I basically made them up. 2015-01-04T04:50:06Z arcwest2 joined #lisp 2015-01-04T04:50:42Z nyef: ... Oh. Forgot the subset test. Oops. 2015-01-04T04:50:56Z nyef: This is far, far more complicated than I should be trying to do with LOOP. 2015-01-04T04:51:22Z nyef: Yeah, 50-line LOOP form (including comments). 2015-01-04T04:51:26Z oleo is now known as Guest34380 2015-01-04T04:51:38Z nyef: Three levels of conditionals. 2015-01-04T04:51:40Z nyef: This isn't right. 2015-01-04T04:52:25Z beach: Time to break it up into smaller functions, it seems. 2015-01-04T04:52:49Z nyef: Thinking about it. 2015-01-04T04:53:13Z oleo__ joined #lisp 2015-01-04T04:54:17Z Guest34380 quit (Ping timeout: 240 seconds) 2015-01-04T04:55:07Z nyef: Okay, the first thing to do is to add the new test case, since I don't want to forget it. 2015-01-04T04:57:08Z towodo quit (Quit: towodo) 2015-01-04T04:59:22Z Zamenhof quit (Ping timeout: 240 seconds) 2015-01-04T05:01:14Z nyef: I think I know where I'm going wrong with this. I'm trying to do it by analogy with the way I handled the X-spans, but there's an explosion of special cases and nested depths if I do it that way. 2015-01-04T05:01:48Z nyef: I need to step through each side independently. 2015-01-04T05:02:27Z nyef: And that means iteration control more obnoxious than LOOP will easily support. 2015-01-04T05:08:31Z Zamenhof joined #lisp 2015-01-04T05:12:25Z innertracks joined #lisp 2015-01-04T05:13:03Z nyef: beach: I should credit you as Robert Strandh, shouldn't I? 2015-01-04T05:15:05Z enitiz joined #lisp 2015-01-04T05:15:42Z beach: Yes. What do I deserve credit for? 2015-01-04T05:15:58Z brandonz joined #lisp 2015-01-04T05:16:31Z nyef: Pointing out problems with comments. 2015-01-04T05:16:39Z beach: Oh, OK :) 2015-01-04T05:16:51Z nyef: (the "a Y-span starts with a Y-span?" thing.) 2015-01-04T05:17:12Z beach: Yes, yes. I remember. Minor thing though. I don't insist on being credited. 2015-01-04T05:17:13Z nyef: It's still not good, but it's at least a little better. 2015-01-04T05:19:13Z klltkr joined #lisp 2015-01-04T05:20:25Z zRecursive joined #lisp 2015-01-04T05:22:51Z BitPuffin quit (Ping timeout: 256 seconds) 2015-01-04T05:23:10Z klltkr quit (Client Quit) 2015-01-04T05:23:23Z beach: nyef: So this is the first time you use GitHub? 2015-01-04T05:23:33Z beach: I only see that one repository. 2015-01-04T05:24:30Z nyef: I used it briefly a while back to comment on something or other, and more recently I had to start using it because they started using it at the office. 2015-01-04T05:24:37Z nyef: But this is the first public thing I've posted to it. 2015-01-04T05:25:11Z beach: I see. Do you mind if I look at the code and maybe make suggestions, improve comments and such? 2015-01-04T05:25:20Z beach: No promise. I just wanted to ask beforehand. 2015-01-04T05:26:09Z nyef: I won't stop you, but I'm currently aware that there are a LOT of loose ends and whatnot. 2015-01-04T05:26:24Z beach: I'll keep that in mind. 2015-01-04T05:27:46Z nyef: I also have some stuff from another previous incarnation of nq-clim that I've yet to import. 2015-01-04T05:27:57Z nyef: Mostly because it doesn't fit yet. 2015-01-04T05:28:20Z beach: OK. Don't worry, I won't make major contributions. 2015-01-04T05:28:43Z beach: It will be equivalent to public domain, yes? 2015-01-04T05:29:05Z beach: ... or MIT or something like that. 2015-01-04T05:29:13Z nyef: I'm likely to use MIT or one of the BSDs for a license. Plausibly the 3-clause BSD license. 2015-01-04T05:29:29Z beach: OK. Just wanted to know. 2015-01-04T05:29:52Z Ukari quit (Ping timeout: 240 seconds) 2015-01-04T05:30:47Z innertracks quit (Quit: innertracks) 2015-01-04T05:32:47Z beach: nyef: How about using #.(format nil "...") for docstrings? Then you can use ~@ so that you don't have to have text in column 0 of the source, but the resulting text will still be in column 0. 2015-01-04T05:33:33Z nyef: Mmm. Maybe. Is that what you've been doing with, what was it, SICL? 2015-01-04T05:33:40Z beach: Yes. 2015-01-04T05:33:51Z nyef: Don't you also have them out-of-line? 2015-01-04T05:33:56Z beach: Yes. 2015-01-04T05:34:05Z beach: But I see you don't so that's your preference. 2015-01-04T05:34:33Z nyef: I've been a bit spotty about docstrings anyway, focusing more on trying to get parts of the system working. 2015-01-04T05:34:55Z beach: Yes. I was thinking about something I could contribute. 2015-01-04T05:34:59Z Ethan- quit (Ping timeout: 264 seconds) 2015-01-04T05:35:12Z beach: I wasn't suggesting that you change your focus. 2015-01-04T05:35:28Z beach: It's fine if you say no. 2015-01-04T05:37:25Z nyef: I think I'd like to do an edit pass to deal with docstrings once I have the basic system working end-to-end, and thus have a reasonable grasp on what the various parts all do. 2015-01-04T05:37:41Z beach: Sure, no problem. 2015-01-04T05:37:56Z DrCode quit (Remote host closed the connection) 2015-01-04T05:37:56Z nyef: The main thing that I could probably do with is feedback on the general direction I'm going with things. 2015-01-04T05:38:16Z beach: I'll keep that in mind. 2015-01-04T05:38:30Z DrCode joined #lisp 2015-01-04T05:38:41Z nyef: Am I missing anything important? Am I doing anything horribly wrong that's going to bite me later? 2015-01-04T05:39:02Z beach: Got it. 2015-01-04T05:42:48Z beach: The idea of having multiple packages is a good one in my opinion, but it is not what the CLIM II spec suggests. Is this one of the "NQ" parts? 2015-01-04T05:43:51Z nyef: It doesn't take much to add a file that has a large :USE list and a large :EXPORT list to provide a single package with all of the public symbols. 2015-01-04T05:44:13Z beach: Good point. 2015-01-04T05:44:28Z nyef: It's always been on the plan, but until it's ready for users there isn't over-much point. 2015-01-04T05:45:01Z beach: I was thinking about the CLIM-INTERNALS package rather than the CLIM package. 2015-01-04T05:45:30Z beach: But since the spec says "might", it probably doesn't matter if there is a single one or multiple "implementation" packages. 2015-01-04T05:46:14Z nyef: Yeah, there's no conflict with the spec there. 2015-01-04T05:46:20Z beach: Multiple packages is, in fact, a lot better. 2015-01-04T05:46:33Z innertracks joined #lisp 2015-01-04T05:46:49Z nyef: At this point I'm expecting conflicts around event handling, regions, and the design-based drawing model. 2015-01-04T05:47:16Z beach: Naming conflicts? 2015-01-04T05:47:31Z nyef: Conflicts between what nq-clim does and what the spec requires. 2015-01-04T05:47:46Z beach: Sure. Hence the NQ part. 2015-01-04T05:48:53Z beach: I am just trying to figure out which parts of the spec you intend to respect (separation between sheets and output records, for instance) and which parts you do NOT intend to respect. I am sure that is not quite clear to you either right now. 2015-01-04T05:49:34Z nyef: Right, I'm still figuring out in what ways the spec makes sense. 2015-01-04T05:49:45Z beach: Understandable. 2015-01-04T05:50:14Z hekmek quit (Quit: Verlassend) 2015-01-04T05:51:29Z scymtym joined #lisp 2015-01-04T05:54:13Z npatrick04 quit (Remote host closed the connection) 2015-01-04T05:57:10Z nyef: I also need to find another system to target for a backend. 2015-01-04T05:58:09Z nyef: A decade ago that system might have been windows, but it sure isn't now. 2015-01-04T05:58:34Z beach: "another" as in a second one? 2015-01-04T05:58:40Z nyef: Yes. 2015-01-04T05:59:03Z beach: How about a framebuffer backend? 2015-01-04T05:59:16Z beach: It would still be X11, but very different. 2015-01-04T05:59:19Z nyef: It's become plainly obvious to me that an X11 backend will contain almost no cleverness with the adaptive toolkit, and that's something that I want to experiment with. 2015-01-04T05:59:29Z beach: Oh, I see. 2015-01-04T06:00:00Z nyef: A framebuffer? If I went in that direction, I'd more likely bind to the Linux framebuffer interface. Boom, no more X11 required. 2015-01-04T06:00:13Z beach: OK. 2015-01-04T06:00:32Z beach didn't know about the existence of such an interface. 2015-01-04T06:00:38Z nyef: But at the same time, no need for adaptive toolkit stuff. 2015-01-04T06:01:14Z beach: I have no opinion about what toolkit you might choose. 2015-01-04T06:01:21Z nyef: MacOS Carbon might have been a good target. Cocoa might have to suffice. 2015-01-04T06:02:38Z nyef: I don't really want to try to bind to Qt or GTk+ (or whatever it's called these days). 2015-01-04T06:02:56Z nyef: It's still a ways off, though, anyway. 2015-01-04T06:03:14Z akkad: if you have a large string you wish to make less obvious in your saved image, what are some easy ways to not have it show up in strings(1) 2015-01-04T06:03:51Z nyef: akkad: Compress it. 2015-01-04T06:03:51Z Hexstream: akkad: Maybe some XORing scheme? 2015-01-04T06:04:19Z akkad: yeah compression sounds fine. it's not secrets, IV's or anything like that. just html 2015-01-04T06:04:40Z nyef: Why are you worried about it showing up in strings(1)? 2015-01-04T06:05:14Z akkad: how. the question is always how. -Mitnick 2015-01-04T06:05:35Z Hexstream: Probably not very effective if you make the code open-source anyway, which is usually a good idea... And no need to tell you about "security by obscurity"... 2015-01-04T06:05:58Z akkad: security through minority actually works. your password is obscure... otherwise it's a poor password 2015-01-04T06:06:20Z nyef: akkad: Reminds me of the joke about the (American) Indian. "I know how, I want to know why." 2015-01-04T06:06:58Z akkad: let's just say we don't want grep(1) saying "this binary ALSO matches" 2015-01-04T06:07:34Z Hexstream: akkad: Well, if nobody cares anyway there's no point in hiding, and if someone cares then they'll quickly pierce the veil of obscurity. So it's typically self-defeating and pointless one way or another. 2015-01-04T06:08:25Z akkad: same explanation of "why would you want to distribute a binary?" -rubyWord 2015-01-04T06:10:33Z Hexstream: Not as easy to google as I anticipated. 2015-01-04T06:12:26Z akkad: Hiding? I'm just trying to get better page size boundary alignment to avoid extra cache misses and extra page faults 2015-01-04T06:12:52Z BlueRavenGT quit (Ping timeout: 240 seconds) 2015-01-04T06:13:10Z nyef: Riiight. Compress that sucker. 2015-01-04T06:14:01Z akkad: TLB misses really suck 2015-01-04T06:14:02Z Hexstream: akkad: I don't understand what that has to do with "strings". I must be missing something. 2015-01-04T06:15:12Z akkad: security bike shedding is easily halted with performance optimization discussion :P 2015-01-04T06:16:57Z Hexstream: If I understood everything correctly, this is the sloppiest moving-the-goalposts I've ever seen. Whatever. 2015-01-04T06:17:04Z |3b| was going to say "just include that strings(1) exploit" to keep people from looking at it :p 2015-01-04T06:19:18Z akkad: |3b| true. 2015-01-04T06:21:19Z nyef: Ugh. It's gotten late again. Time for me to sign off. 2015-01-04T06:21:22Z nyef quit (Quit: G'night all.) 2015-01-04T06:32:11Z Jubb joined #lisp 2015-01-04T06:33:51Z protist joined #lisp 2015-01-04T06:40:26Z akkad: Hexstream: you're right. Hiding anything won't work absolutely. so why bother with crypto at all? 2015-01-04T06:41:11Z Zhivago: It works if you can keep the secrets secret. 2015-01-04T06:41:22Z antonv quit (Ping timeout: 240 seconds) 2015-01-04T06:42:16Z |3b| would argue properly done crypto isn't just 'hiding' 2015-01-04T06:42:18Z cpc26_ joined #lisp 2015-01-04T06:43:12Z cpc26 quit (Ping timeout: 265 seconds) 2015-01-04T06:43:27Z Hexstream: akkad: Stupid little obfuscation tricks can't be usefully compared to strong crypto other than by saying that they're completely different things, I think. 2015-01-04T06:43:51Z cpc26 joined #lisp 2015-01-04T06:43:57Z hvxgr quit (Ping timeout: 240 seconds) 2015-01-04T06:45:37Z arpunk quit (Ping timeout: 240 seconds) 2015-01-04T06:46:37Z cpc26_ quit (Ping timeout: 240 seconds) 2015-01-04T06:47:48Z Zhivago: In this case it seems that the effect is to frustrate stupid people, which has some intrinsic value, I guess. 2015-01-04T06:48:39Z akkad: from Greek kruptos ‘hidden.’ 2015-01-04T06:48:57Z protist quit (Quit: Konversation terminated!) 2015-01-04T06:49:08Z akkad: just tire of that age old security strawman against raising the bar. 2015-01-04T06:50:18Z arpunk joined #lisp 2015-01-04T06:53:00Z |3b|: considering the number of people who don't even bother to have a bar, i'm not sure it is a strawman 2015-01-04T06:54:04Z zRecursive: what's the corresponding function of save-lisp-and-die in cmucl ? 2015-01-04T06:55:03Z akkad: ccl:save-application 2015-01-04T06:55:15Z akkad: e.g. (ccl:save-application "./jsonip-ccl" :prepend-kernel t :toplevel-function #'jsonip::main ) 2015-01-04T06:55:28Z akkad: oops misread 2015-01-04T06:55:39Z zRecursive: akkad: thanks! i want to save a stumpwm image 2015-01-04T06:55:54Z akkad: that;'s for ccl 2015-01-04T06:56:01Z wjiang joined #lisp 2015-01-04T06:56:01Z akkad: clozure 2015-01-04T06:56:03Z zRecursive: hehe 2015-01-04T06:56:10Z Hexstream: zRecursive: Do you have a particular reason to use CMUCL specifically instead of SBCL, its much more popular successor? 2015-01-04T06:56:31Z wjiang quit (Max SendQ exceeded) 2015-01-04T06:56:42Z zRecursive: here, sbcl image is too big for an old box 2015-01-04T06:57:00Z Hexstream: Ah. That sounds like an ok reason. :) 2015-01-04T06:57:01Z wjiang joined #lisp 2015-01-04T06:57:08Z akkad: :D 2015-01-04T06:57:42Z wjiang quit (Max SendQ exceeded) 2015-01-04T06:57:46Z zRecursive: all is ok except the saving the image 2015-01-04T06:58:09Z wjiang joined #lisp 2015-01-04T06:58:36Z akkad: save-lisp? 2015-01-04T06:58:47Z wjiang quit (Max SendQ exceeded) 2015-01-04T06:58:47Z |3b|: is cmucl much smaller? 2015-01-04T06:59:05Z akkad: yeah looks like save-lisp works on cmucl 2015-01-04T06:59:48Z zRecursive: googling ... 2015-01-04T07:00:01Z akkad: (save-lisp "/tmp/foo") 2015-01-04T07:00:14Z |3b| thought it was similar size as sbcl, and would have tried ccl or maybe clisp for smaller images 2015-01-04T07:00:36Z zRecursive: |3b|: maybe later 2015-01-04T07:02:47Z arcwest2 quit (Quit: Nettalk6 - www.ntalk.de) 2015-01-04T07:05:48Z _m___ joined #lisp 2015-01-04T07:06:19Z oleo__ is now known as oleo 2015-01-04T07:07:06Z oleo quit (Quit: Verlassend) 2015-01-04T07:07:13Z stassats joined #lisp 2015-01-04T07:08:33Z pacon joined #lisp 2015-01-04T07:08:55Z gregburd_ is now known as gregburd 2015-01-04T07:09:25Z oleo joined #lisp 2015-01-04T07:09:34Z oleo quit (Changing host) 2015-01-04T07:09:34Z oleo joined #lisp 2015-01-04T07:09:39Z Zhivago: Cmucl has a bytecode interpreter, so it may potentially have much smaller images, at the cost of performance. 2015-01-04T07:14:41Z dmean joined #lisp 2015-01-04T07:14:54Z hvxgr joined #lisp 2015-01-04T07:15:22Z _m___ quit (Ping timeout: 240 seconds) 2015-01-04T07:16:20Z akkad: I've created a new encoding, I'll call it UTF-16. :P 2015-01-04T07:16:54Z Hexstream: Nice, I thought clisp was the only still-worked-on Common Lisp implementation using bytecode. (Well, not entirely sure clisp is still being worked on given the lack of release in years but I don't care to investigate more deeply). 2015-01-04T07:19:31Z pawanspace joined #lisp 2015-01-04T07:25:04Z pawanspace quit (Quit: Colloquy for iPhone - http://colloquy.mobi) 2015-01-04T07:25:37Z akkad: is the editor included with ccl related to Hemlock? 2015-01-04T07:27:16Z wiky joined #lisp 2015-01-04T07:28:16Z Hexstream: According to http://en.wikipedia.org/wiki/Clozure_CL, yes. 2015-01-04T07:34:13Z tesuji joined #lisp 2015-01-04T07:34:29Z tesuji quit (Changing host) 2015-01-04T07:34:29Z tesuji joined #lisp 2015-01-04T07:35:33Z urandom__ quit (Quit: Konversation terminated!) 2015-01-04T07:37:55Z zRecursive: Unfortunately the cmucl image is almost the same size as SBCL. ls -l quicklisp/local-projects/stumpwm/stumpwm => 44264965 quicklisp/local-projects/stumpwm/stumpwm. will try CCL or CLISP as |3b| suggested. the command is: (ext:save-lisp "stumpwm" :purify t :load-init-file nil :process-command-line nil :executable t :batch-mode nil :print-herald nil :init-function #'stumpwm:stumpwm) 2015-01-04T07:42:14Z fantazo joined #lisp 2015-01-04T07:44:58Z mrkkrp joined #lisp 2015-01-04T07:45:29Z zRecursive left #lisp 2015-01-04T07:48:24Z wiky quit (Read error: Connection reset by peer) 2015-01-04T07:48:44Z wiky joined #lisp 2015-01-04T07:54:44Z _5kg quit (Ping timeout: 265 seconds) 2015-01-04T07:58:32Z bgs100 quit (Quit: bgs100) 2015-01-04T08:01:02Z pendapi: zRecursive what's the RSS look like? 2015-01-04T08:01:13Z pendapi: akkad use gzip insteadl of aes 2015-01-04T08:02:01Z pendapi: akkad: unless you have ussid18 proof encryption, I'd not even bother 2015-01-04T08:02:15Z stassats: what? 2015-01-04T08:04:18Z test1600 joined #lisp 2015-01-04T08:07:19Z zRecursive joined #lisp 2015-01-04T08:07:25Z akkad: pendapi: good point. thanks 2015-01-04T08:08:54Z akkad: USSID 18 is titled, “Legal Compliance and U.S. Persons Minimization Procedures” for encryption decoded by SIGINT 2015-01-04T08:10:17Z rurumate joined #lisp 2015-01-04T08:10:29Z mrSpec joined #lisp 2015-01-04T08:12:22Z Ukari joined #lisp 2015-01-04T08:24:43Z tesuji quit (Read error: Connection reset by peer) 2015-01-04T08:25:14Z tesuji joined #lisp 2015-01-04T08:28:10Z bambams quit (Ping timeout: 255 seconds) 2015-01-04T08:30:11Z enitiz quit (Ping timeout: 264 seconds) 2015-01-04T08:30:51Z wiky quit (Read error: Connection reset by peer) 2015-01-04T08:31:19Z wiky joined #lisp 2015-01-04T08:35:02Z vinleod joined #lisp 2015-01-04T08:35:40Z gingerale joined #lisp 2015-01-04T08:35:49Z innertracks quit (Quit: innertracks) 2015-01-04T08:36:28Z Shinmera joined #lisp 2015-01-04T08:39:08Z _5kg joined #lisp 2015-01-04T08:39:54Z nathanael joined #lisp 2015-01-04T08:39:58Z Ethan- joined #lisp 2015-01-04T08:40:31Z ndrei quit (Remote host closed the connection) 2015-01-04T08:41:22Z nathanael quit (Quit: nathanael) 2015-01-04T08:41:52Z nathanael joined #lisp 2015-01-04T08:42:09Z ndrei joined #lisp 2015-01-04T08:43:09Z akkad: It does not yet support decompression. 2015-01-04T08:43:29Z wiky quit (Remote host closed the connection) 2015-01-04T08:43:50Z wiky joined #lisp 2015-01-04T08:45:44Z enitiz joined #lisp 2015-01-04T08:45:59Z nathanael quit (Client Quit) 2015-01-04T08:46:17Z rurumate quit (Ping timeout: 256 seconds) 2015-01-04T08:47:43Z _m___ joined #lisp 2015-01-04T08:48:11Z zRecursive quit (Remote host closed the connection) 2015-01-04T08:49:14Z yeticry quit (Read error: Connection reset by peer) 2015-01-04T08:51:33Z kapil__ quit (Quit: Connection closed for inactivity) 2015-01-04T08:55:01Z yeticry joined #lisp 2015-01-04T08:57:35Z ehu joined #lisp 2015-01-04T09:03:43Z MarkusBarthlen joined #lisp 2015-01-04T09:08:40Z Ukari quit (Ping timeout: 250 seconds) 2015-01-04T09:10:57Z wgslayer quit (Remote host closed the connection) 2015-01-04T09:11:10Z enitiz quit (Remote host closed the connection) 2015-01-04T09:13:28Z wgslayer joined #lisp 2015-01-04T09:14:23Z wgslayer quit (Remote host closed the connection) 2015-01-04T09:18:17Z pt1 joined #lisp 2015-01-04T09:18:39Z akkad: (chipz:decompress *STDOUT* 'chipz:gzip (salza2:compress-data (babel:string-to-octets "Hello World") 'salza2::gzip-compressor)) ;; no joy 2015-01-04T09:19:28Z arpunk quit (Ping timeout: 255 seconds) 2015-01-04T09:19:48Z CrazyEddy quit (Quit: Leaving) 2015-01-04T09:21:32Z echo-are` joined #lisp 2015-01-04T09:21:45Z |3b|: is *stdout* bound to some binary stream? 2015-01-04T09:22:17Z |3b|: works for me with it wrapped in octets-to-string and NIL instead of *stdout* 2015-01-04T09:22:37Z akkad: (babel:octets-to-string (chipz:decompress nil 'chipz:gzip (salza2:compress-data (babel:string-to-octets "Hello World") 'salza2::gzip-compressor)) :encoding :utf-8) 2015-01-04T09:22:59Z echo-area quit (Ping timeout: 264 seconds) 2015-01-04T09:23:09Z |3b|: yep, that returns "Hello World" 2015-01-04T09:23:27Z akkad: "I get it! chipz and salsa" 2015-01-04T09:27:39Z klltkr joined #lisp 2015-01-04T09:28:11Z kcj quit (Remote host closed the connection) 2015-01-04T09:29:14Z MarkusBarthlen quit (Read error: Connection reset by peer) 2015-01-04T09:29:22Z scymtym quit (Ping timeout: 255 seconds) 2015-01-04T09:29:47Z ndrei quit (Remote host closed the connection) 2015-01-04T09:30:39Z ndrei joined #lisp 2015-01-04T09:33:11Z Bicyclidine quit (Ping timeout: 264 seconds) 2015-01-04T09:36:26Z mrSpec quit (Read error: No route to host) 2015-01-04T09:41:52Z xificurC joined #lisp 2015-01-04T09:41:57Z drdanmaku quit (Quit: Connection closed for inactivity) 2015-01-04T09:45:59Z CrazyEddy joined #lisp 2015-01-04T09:48:19Z gingerale quit (Ping timeout: 265 seconds) 2015-01-04T09:48:29Z dmean left #lisp 2015-01-04T09:48:43Z ndrei quit (Remote host closed the connection) 2015-01-04T09:49:23Z yeticry quit (Ping timeout: 264 seconds) 2015-01-04T09:49:44Z mrSpec joined #lisp 2015-01-04T09:50:07Z yeticry joined #lisp 2015-01-04T09:50:16Z ndrei joined #lisp 2015-01-04T09:51:24Z sol__ joined #lisp 2015-01-04T09:53:42Z wgslayer joined #lisp 2015-01-04T09:57:34Z vinleod quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-01-04T09:57:59Z vinleod joined #lisp 2015-01-04T10:00:49Z wiky quit (Remote host closed the connection) 2015-01-04T10:02:00Z wiky joined #lisp 2015-01-04T10:03:33Z rurumate joined #lisp 2015-01-04T10:05:27Z wiky quit (Client Quit) 2015-01-04T10:06:42Z rurumate quit (Client Quit) 2015-01-04T10:09:07Z malbertife joined #lisp 2015-01-04T10:13:12Z schaueho joined #lisp 2015-01-04T10:14:16Z stassats quit (Ping timeout: 244 seconds) 2015-01-04T10:16:27Z defaultxr quit (Quit: gnight) 2015-01-04T10:19:22Z Mon_Ouie joined #lisp 2015-01-04T10:19:28Z Mon_Ouie quit (Changing host) 2015-01-04T10:19:28Z Mon_Ouie joined #lisp 2015-01-04T10:20:34Z shka joined #lisp 2015-01-04T10:20:40Z shka: good day lispers! 2015-01-04T10:20:48Z shka: :-) 2015-01-04T10:21:12Z MoALTz_ quit (Quit: going back to sleep) 2015-01-04T10:21:19Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2015-01-04T10:21:49Z nostoi joined #lisp 2015-01-04T10:22:51Z hardenedapple joined #lisp 2015-01-04T10:23:19Z AeroNotix: lo 2015-01-04T10:24:25Z pt1 quit (Remote host closed the connection) 2015-01-04T10:25:54Z akkad: wee 2015-01-04T10:28:17Z akkad: wow deflate vs gzip on 133k strings in a giant list sure generate more errors on decryption than gzip 2015-01-04T10:29:49Z Bicyclidine joined #lisp 2015-01-04T10:35:39Z xificurC quit (Ping timeout: 256 seconds) 2015-01-04T10:36:47Z theos quit (Ping timeout: 256 seconds) 2015-01-04T10:37:18Z aftershave quit (Quit: Textual IRC Client: www.textualapp.com) 2015-01-04T10:39:04Z malbertife_ joined #lisp 2015-01-04T10:39:53Z theos joined #lisp 2015-01-04T10:40:21Z oudeis joined #lisp 2015-01-04T10:41:07Z scymtym joined #lisp 2015-01-04T10:43:10Z malbertife quit (Ping timeout: 255 seconds) 2015-01-04T10:52:27Z akkad: chipz have severe sbcl optimizations? 2015-01-04T10:52:33Z pjb: - 2015-01-04T10:52:41Z akkad: it's like 10x faster than acl/lw 2015-01-04T10:54:52Z _5kg quit (Ping timeout: 245 seconds) 2015-01-04T10:56:59Z nostoi quit (Quit: Verlassend) 2015-01-04T10:57:10Z H4ns: tag 2015-01-04T10:57:12Z H4ns: oops 2015-01-04T10:59:05Z Alfr joined #lisp 2015-01-04T10:59:38Z jtza8 joined #lisp 2015-01-04T11:00:13Z MoALTz joined #lisp 2015-01-04T11:04:02Z Alfr quit (Quit: Leaving) 2015-01-04T11:04:27Z wgslayer quit (Quit: Leaving) 2015-01-04T11:06:22Z wgslayer joined #lisp 2015-01-04T11:07:24Z pendapi: akkad: got an example of the code? 2015-01-04T11:07:53Z beach: pjb: Are you making any progress on the infrastructure for Common Lisp version 2? 2015-01-04T11:08:21Z beach: pjb: Just checking. No need to rush if you don't have time. 2015-01-04T11:08:59Z akkad: pendapi: https://gist.github.com/b881217cfe93d7b9f477 2015-01-04T11:09:10Z impulse joined #lisp 2015-01-04T11:09:23Z Ober: wow real piece of crap code there 2015-01-04T11:09:25Z pjb: Yes. The hard disks of the old server failed, so I had to fasten the migration to the new one. It's not finished yet. 2015-01-04T11:09:46Z beach: pjb: OK, like I said, just checking. 2015-01-04T11:09:48Z pendapi: ugg. don't use acl. stick to sbcl. 2015-01-04T11:10:22Z akkad: it's 20s vs like 2 on sbcl 2015-01-04T11:10:49Z Ober: akkad: profile it 2015-01-04T11:11:25Z test1600 quit (Quit: HydraIRC -> http://www.hydrairc.com <- It'll be on slashdot one day...) 2015-01-04T11:12:35Z munksgaard joined #lisp 2015-01-04T11:14:53Z xrash joined #lisp 2015-01-04T11:15:32Z Hexstream: pjb: "hasten", rather. :) (Also, never heard of "Common Lisp version 2" before. What?) 2015-01-04T11:15:37Z Ober: akkad: (with-profiling (:type :time) (your code)) 2015-01-04T11:16:02Z Ober: (with-profiler even 2015-01-04T11:16:35Z beach: Hexstream: A project to clean up the Common Lisp HyperSpec. Basically define more undefined situations, and fixing bugs. 2015-01-04T11:17:18Z Hexstream: beach: Sounds nice. Any good public sources of information about it? Or is it still embryonic? 2015-01-04T11:17:51Z beach: Hexstream: We are waiting for pjb to have time to set up the infrastructure. 2015-01-04T11:18:08Z beach: Hexstream: A major goal is this: An implementation that is conforming with respect to Common Lisp version 2 will also be conforming with respect to the Common Lisp HyperSpec. 2015-01-04T11:18:12Z Ober: no copywrite issueS? 2015-01-04T11:18:16Z beach: [modulo bugs] 2015-01-04T11:18:33Z beach: Ober: We start with the dpANS which is freely available. 2015-01-04T11:18:45Z Hexstream: Right, sounds like something that should exist and could nicely compliment other efforts. 2015-01-04T11:19:09Z LaGaVuLiN__ joined #lisp 2015-01-04T11:19:15Z beach: Hexstream: Yes, the secret is to avoid changing the language, like some people do. 2015-01-04T11:19:47Z Hexstream: I think there's enough space for various efforts of various different scopes. :) 2015-01-04T11:20:35Z beach: Hexstream: Except that all the attempts that change the language in some radical way are bound to fail. We hope that this one will not fail. In fact, a modern implementation such as SBCL should already mostly be conforming. 2015-01-04T11:20:49Z akkad: beach nice 2015-01-04T11:21:13Z Hexstream: A related idea of mine, though just an idea at this point, would be just taking the CLHS and producing a version that is exactly the same except with the markup converted to modern HTML5 + CSS3 in a way that it can formally be verified that no user-visible semantic changes have occured. 2015-01-04T11:21:49Z beach: Hexstream: That is, unfortunately, illegal. 2015-01-04T11:21:57Z malbertife_ quit (Ping timeout: 240 seconds) 2015-01-04T11:22:02Z Hexstream: beach: Yes, with eventual participation of Lispworks, I mean. 2015-01-04T11:22:38Z Hexstream: Well, probably an intermingling of making a large amount of work in private and sharing the results with Lispworks and negotiating and adjusting, etc. 2015-01-04T11:22:52Z beach: Hexstream: I have been told that the dpANS differs from the final standard in only very insignificant ways. I think it is better to start with the dpANS. 2015-01-04T11:22:54Z Hexstream: With many such cycles. 2015-01-04T11:23:33Z H4ns: shaving the lawyer's yak is what i'd call that. 2015-01-04T11:23:54Z beach: H4ns: Which one? 2015-01-04T11:24:10Z H4ns: all that messing around "licensing restrictions" 2015-01-04T11:24:17Z beach: Indeed. 2015-01-04T11:24:20Z beach: Very sad. 2015-01-04T11:24:51Z Hexstream: "There's more than one irritatingly bad way to do it!" 2015-01-04T11:26:19Z Hexstream: beach: As for "all the attempts that change the language in some radical way are bound to fail", I agree with the caveat that making a new language based on Common Lisp could possibly succeed, though with a very small chance of success/relevance. 2015-01-04T11:26:29Z Hexstream: (But of course I'd say that...) 2015-01-04T11:26:46Z H4ns: how can something that is irrelevant be successful? 2015-01-04T11:27:33Z beach: H4ns: You speak in riddles today. :) What is it that you find irrelevant? 2015-01-04T11:27:35Z Hexstream: I did not imply this. I meant "with a very small chance of success, with a very small chance of relevance". 2015-01-04T11:28:08Z H4ns: beach: :) i misunderstood hexstream's sentence regarding a "new language based on common lisp" 2015-01-04T11:28:28Z beach: Oh, whew! I thought I had some brain damage last night. 2015-01-04T11:28:51Z H4ns: don't worry, it is more likely me. i'm sick and should rather watch t.v. or something. 2015-01-04T11:29:01Z Hexstream: And well, you could make for instance an operating system that would be a "failure" yet would be relevant. Like Plan 9. 2015-01-04T11:29:09Z beach: H4ns: Sorry to hear that. Yeah, try to get some rest. 2015-01-04T11:30:34Z beach: Hexstream: I am not smart enough, and I don't have the means to surround myself with sufficiently many sufficiently smart people to create a language that is guaranteed to be better than Common Lisp. So I might as well try to do something useful that doesn't require that much brain power. 2015-01-04T11:32:26Z Hexstream: beach: This is too early to share, but: http://www.stream-lisp.org/ I spent much of 2014 trying to gear up to significantly improve this (notably through improving http://www.hexstreamsoft.com/articles/notes-tips-standard-common-lisp-symbols/), but my plans broke down horribly, and I also lost most of my sanity in the process. o_o 2015-01-04T11:32:26Z beach: Now, if I won the lottery that would be another matter. Problem is, I don't play. 2015-01-04T11:33:07Z Hexstream: Things are definitely boiling up for me and 2015 should be quite interesting, at last... 2015-01-04T11:34:20Z beach: Hexstream: Very ambitious. Nearly impossible for a single person to do from scratch, unless you take a few years off from your ordinary life. 2015-01-04T11:34:40Z Hexstream: Well, that's pretty much what I'm doing already. I don't have an "ordinary life". 2015-01-04T11:34:41Z beach: Starting from the dpANS on the other hand, should be quite doable. 2015-01-04T11:34:55Z beach: Hexstream: Oh, congratulations then. :) 2015-01-04T11:35:47Z Hexstream: Well, financed by Mom™, so not really a merit thing, but I try to make up for it... o_o 2015-01-04T11:37:08Z huza joined #lisp 2015-01-04T11:37:15Z beach: I don't know what to say. 2015-01-04T11:38:03Z Hexstream: I know, it's fucking crazy. Batshit insane, and probably not a good idea. 2015-01-04T11:38:19Z Hexstream: As long as I'm conscious of that, I think it's less dangerous. 2015-01-04T11:38:34Z Grue`: nooo, you removed &aux, my favorite :( 2015-01-04T11:38:37Z wasamasa: &key+? 2015-01-04T11:38:42Z wasamasa: Hexstream: are you drew adams? 2015-01-04T11:38:48Z Hexstream: wasamasa: LIke &key &allow-other-keys 2015-01-04T11:38:53Z Hexstream: wasamasa: Nope. 2015-01-04T11:39:09Z GuilOooo quit (Quit: leaving) 2015-01-04T11:39:11Z wasamasa: Hexstream: he's the guy so creative he named all of his minor emacs packages xyz+ 2015-01-04T11:40:11Z Hexstream: Here's my favorite non-obvious Stream Lisp idea: https://twitter.com/StreamLisp/status/437414508215414784 2015-01-04T11:40:37Z _5kg joined #lisp 2015-01-04T11:42:55Z echo-are` quit (Read error: Connection reset by peer) 2015-01-04T11:51:28Z Hexstream: 6:51AM here, time to get some sleep. Sorry if I traumatized anyone. :) 2015-01-04T11:51:31Z Hexstream left #lisp 2015-01-04T11:52:00Z impulse quit (Read error: No route to host) 2015-01-04T11:53:01Z impulse joined #lisp 2015-01-04T11:53:41Z akkad: anyone have elisp code that calls out to CL? 2015-01-04T11:53:50Z akkad: in something other than say org-babel mode 2015-01-04T11:53:58Z pjb: slime. 2015-01-04T11:54:25Z akkad: ahh the nrepl/cider clone right. 2015-01-04T11:54:31Z akkad: yes, obvious troll. 2015-01-04T11:55:30Z gabriel_laddel quit (Remote host closed the connection) 2015-01-04T11:55:39Z huza quit (Quit: WeeChat 0.3.8) 2015-01-04T11:59:50Z Beetny quit (Ping timeout: 250 seconds) 2015-01-04T12:06:52Z oudeis quit (Ping timeout: 255 seconds) 2015-01-04T12:07:28Z impulse quit (Quit: leaving) 2015-01-04T12:07:41Z impulse joined #lisp 2015-01-04T12:07:41Z oudeis joined #lisp 2015-01-04T12:11:16Z huza joined #lisp 2015-01-04T12:12:46Z stassats joined #lisp 2015-01-04T12:13:21Z elderK joined #lisp 2015-01-04T12:16:09Z GuilOooo joined #lisp 2015-01-04T12:18:57Z jtza8 quit (Ping timeout: 240 seconds) 2015-01-04T12:23:57Z oudeis quit (Ping timeout: 265 seconds) 2015-01-04T12:24:36Z oudeis joined #lisp 2015-01-04T12:25:07Z manuel__ joined #lisp 2015-01-04T12:35:53Z BitPuffin joined #lisp 2015-01-04T12:40:42Z BitPuffin quit (Ping timeout: 245 seconds) 2015-01-04T12:43:49Z elderK quit (Quit: leaving) 2015-01-04T12:44:14Z egp_ quit (Remote host closed the connection) 2015-01-04T12:45:20Z serichsen joined #lisp 2015-01-04T12:47:44Z _8hzp joined #lisp 2015-01-04T12:48:01Z teiresias joined #lisp 2015-01-04T12:49:37Z hzp quit (Ping timeout: 240 seconds) 2015-01-04T12:53:55Z _8hzp quit (Ping timeout: 265 seconds) 2015-01-04T12:58:11Z serichsen quit (Read error: Connection reset by peer) 2015-01-04T12:58:27Z serichsen joined #lisp 2015-01-04T12:58:29Z ggole joined #lisp 2015-01-04T13:02:22Z Bicyclidine quit (Ping timeout: 245 seconds) 2015-01-04T13:03:12Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-01-04T13:03:24Z manuel__ quit (Quit: manuel__) 2015-01-04T13:07:55Z towodo joined #lisp 2015-01-04T13:09:25Z pt1 joined #lisp 2015-01-04T13:11:44Z manuel__ joined #lisp 2015-01-04T13:11:50Z theos quit (Disconnected by services) 2015-01-04T13:11:52Z stassats quit (Ping timeout: 240 seconds) 2015-01-04T13:12:16Z theos joined #lisp 2015-01-04T13:17:10Z tesuji quit (Ping timeout: 244 seconds) 2015-01-04T13:21:07Z serichsen quit (Quit: Hm. Try to restart Emacs) 2015-01-04T13:23:39Z serichsen joined #lisp 2015-01-04T13:23:45Z serichsen: Hello! 2015-01-04T13:25:11Z dagnachew joined #lisp 2015-01-04T13:29:24Z Bicyclidine joined #lisp 2015-01-04T13:29:28Z aftershave joined #lisp 2015-01-04T13:34:39Z pt1 quit (Remote host closed the connection) 2015-01-04T13:37:47Z Patzy quit (Ping timeout: 245 seconds) 2015-01-04T13:38:32Z tesuji joined #lisp 2015-01-04T13:38:33Z Patzy joined #lisp 2015-01-04T13:42:52Z notty joined #lisp 2015-01-04T13:43:30Z ndrei quit (Remote host closed the connection) 2015-01-04T13:44:27Z alchemis7 quit (Remote host closed the connection) 2015-01-04T13:46:29Z alchemis7 joined #lisp 2015-01-04T13:47:08Z ndrei joined #lisp 2015-01-04T13:52:56Z tharugrim quit (Ping timeout: 250 seconds) 2015-01-04T13:53:50Z butyoudonot joined #lisp 2015-01-04T13:54:57Z beach: hello serichsen. 2015-01-04T13:59:17Z serichsen: Hey! :) Happy New Year! 2015-01-04T14:00:42Z Ven joined #lisp 2015-01-04T14:00:52Z inkogneato joined #lisp 2015-01-04T14:01:09Z Ven quit (Client Quit) 2015-01-04T14:01:12Z beach: You too. 2015-01-04T14:03:43Z butyoudonot: How to divide a number without a modulo? Like (/ 27 10) -> 2 2015-01-04T14:03:56Z fantazo quit (Quit: Verlassend) 2015-01-04T14:04:16Z beach: clhs floor 2015-01-04T14:04:16Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_floorc.htm 2015-01-04T14:06:54Z hitecnologys: clhs truncate 2015-01-04T14:06:55Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_floorc.htm 2015-01-04T14:07:49Z hello_ joined #lisp 2015-01-04T14:08:37Z BitPuffin joined #lisp 2015-01-04T14:08:56Z beach: butyoudonot: In case you didn't get it, those two links were for you. 2015-01-04T14:09:34Z beach: In fact, it's just one link twice. 2015-01-04T14:09:55Z butyoudonot: Yep, thanks. I'm googling how to get the first part of this tuple now 2015-01-04T14:10:14Z hello_ quit (Client Quit) 2015-01-04T14:10:28Z beach: butyoudonot: Nothing special to do. Just keep one value: (let ((result (floor 27 10))) (print result)) 2015-01-04T14:10:47Z beach: butyoudonot: It's not a tuple, it's two return values. 2015-01-04T14:11:07Z danlentz quit (Quit: danlentz) 2015-01-04T14:11:32Z mrkkrp: clhs multiple-value-bind 2015-01-04T14:11:32Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_multip.htm 2015-01-04T14:11:36Z ehu: butyoudonot: you have to take special action to catch the second and next values 2015-01-04T14:11:44Z ehu: see that link by mrkkrp 2015-01-04T14:12:12Z hitecnologys: There's also NTH-VALUE, if you don't care about other values. 2015-01-04T14:16:04Z Lowl3v3l joined #lisp 2015-01-04T14:18:01Z drdanmaku joined #lisp 2015-01-04T14:18:21Z inkogneato quit (Quit: inkogneato) 2015-01-04T14:20:43Z xorox90 joined #lisp 2015-01-04T14:22:25Z EvW joined #lisp 2015-01-04T14:22:31Z holycow joined #lisp 2015-01-04T14:24:10Z huza quit (Quit: WeeChat 0.3.8) 2015-01-04T14:27:36Z mrSpec quit (Ping timeout: 250 seconds) 2015-01-04T14:28:10Z beach: butyoudonot: Did you figure out what to do? 2015-01-04T14:28:32Z Ven joined #lisp 2015-01-04T14:29:51Z butyoudonot: Yep, thanks 2015-01-04T14:33:34Z araujo quit (Ping timeout: 255 seconds) 2015-01-04T14:34:05Z _m___ quit (Remote host closed the connection) 2015-01-04T14:35:22Z araujo joined #lisp 2015-01-04T14:36:50Z hekmek joined #lisp 2015-01-04T14:37:03Z butyoudonot: How do you guys convert number to a list? 2015-01-04T14:37:05Z gingerale joined #lisp 2015-01-04T14:37:53Z hitecnologys: Err. How do you expect that to happen? 2015-01-04T14:38:18Z dagnachew quit (Quit: WeeChat 1.0.1) 2015-01-04T14:40:34Z hitecnologys: butyoudonot: what exactly are you trying to do? 2015-01-04T14:41:11Z hitecnologys: butyoudonot: if you want to make list of some length, then you need MAKE-LIST. 2015-01-04T14:42:04Z mrSpec joined #lisp 2015-01-04T14:45:26Z nyef joined #lisp 2015-01-04T14:45:39Z nyef: G'morning all. 2015-01-04T14:45:44Z beach: Hello nyef. 2015-01-04T14:45:58Z nyef: I'm here for maybe an hour and a half this morning, then I probably have to head out for a while. 2015-01-04T14:46:20Z beach: And I won't stick around, because I need to go spend time with my (admittedly small) family. 2015-01-04T14:46:28Z nyef: Fair enough. 2015-01-04T14:46:45Z nyef: I think I have rectangle-set unity figured out 2015-01-04T14:47:04Z Zamenhof quit (Ping timeout: 255 seconds) 2015-01-04T14:47:35Z nyef: I'm at 9 failures out of 30, all to do with coalescing adjacent Y-spans with identical X-spans. 2015-01-04T14:47:42Z oudeis quit (Quit: This computer has gone to sleep) 2015-01-04T14:48:20Z Grue`: butyoudonot: (list number) 2015-01-04T14:48:47Z hitecnologys: nyef: morning. 2015-01-04T14:49:36Z theos quit (Remote host closed the connection) 2015-01-04T14:51:39Z nyef: Oh, and it looks like I'll be able to shake some common structure out of this mess so that the remaining set operations go a lot more smoothly. 2015-01-04T14:52:01Z Ven quit (Read error: Connection reset by peer) 2015-01-04T14:55:38Z ejbs` joined #lisp 2015-01-04T14:56:45Z theos joined #lisp 2015-01-04T14:58:58Z Zamenhof joined #lisp 2015-01-04T14:59:47Z nyef: And all tests passed. What remains is cleanup. 2015-01-04T15:00:11Z ehu quit (Ping timeout: 264 seconds) 2015-01-04T15:03:09Z Karl_Dscc joined #lisp 2015-01-04T15:05:14Z Zamenhof quit (Read error: Connection reset by peer) 2015-01-04T15:07:36Z pt1 joined #lisp 2015-01-04T15:07:42Z pt1 quit (Remote host closed the connection) 2015-01-04T15:08:53Z Zamenhof joined #lisp 2015-01-04T15:11:31Z Ukari joined #lisp 2015-01-04T15:11:49Z Ven joined #lisp 2015-01-04T15:11:52Z pacon quit (Read error: Connection reset by peer) 2015-01-04T15:13:13Z Zamenhof quit (Ping timeout: 244 seconds) 2015-01-04T15:14:50Z ehu joined #lisp 2015-01-04T15:16:06Z Lowl3v3l quit (Quit: Leaving) 2015-01-04T15:24:05Z Ethan- quit (Ping timeout: 256 seconds) 2015-01-04T15:26:08Z stassats joined #lisp 2015-01-04T15:31:20Z nyef: Hrm. 2015-01-04T15:31:47Z nyef: Using (RETURN) inside LOOP looks like it should trump COLLECT and other value-accumulation clauses. 2015-01-04T15:32:04Z pegu quit (Read error: No route to host) 2015-01-04T15:32:16Z nyef: Oh. Right, not using them, no wonder my code didn't break. 2015-01-04T15:37:10Z circ-user-50VK3 joined #lisp 2015-01-04T15:37:15Z towodo_ joined #lisp 2015-01-04T15:38:00Z holycow quit (Quit: Lost terminal) 2015-01-04T15:38:13Z towodo quit (Ping timeout: 244 seconds) 2015-01-04T15:38:13Z towodo_ is now known as towodo 2015-01-04T15:38:49Z circ-user-50VK3 quit (Remote host closed the connection) 2015-01-04T15:40:19Z ska` joined #lisp 2015-01-04T15:41:02Z ejbs`` joined #lisp 2015-01-04T15:42:34Z ejbs` quit (Ping timeout: 250 seconds) 2015-01-04T15:43:45Z n0den1te joined #lisp 2015-01-04T15:44:15Z n0den1te: hi, does anyone know how I can get tab-completion in the inferior lisp window in emacs? 2015-01-04T15:44:47Z stassats: why would you want to do that? 2015-01-04T15:45:06Z n0den1te: I'm using clisp -- tried using slime, but it just kept interrupting my repl input by constantly flashing in the status buffer 2015-01-04T15:45:10Z nyef: Bind the tab key to something like dabbrev-expand (IIRC). Or use M-/ instead. 2015-01-04T15:45:18Z nyef: Also, try not using clisp. d-: 2015-01-04T15:45:28Z n0den1te: stassats: why not? 2015-01-04T15:45:43Z stassats: n0den1te: nobody uses the inferior lisp buffer 2015-01-04T15:45:46Z nyef: (You may have a good reason to use clisp, but I found it very frustrating to use the one time that I had a good reason to use it.) 2015-01-04T15:45:48Z n0den1te: nyef: M-/ works, thanks! 2015-01-04T15:45:59Z EvW quit (Ping timeout: 265 seconds) 2015-01-04T15:46:15Z nyef: You'll also find that M-/ tends to work no matter what buffer you're in. 2015-01-04T15:46:35Z n0den1te: nyef: so what do people use? CCL,SBCL? 2015-01-04T15:46:39Z stassats: or not work 2015-01-04T15:46:55Z nyef: stassats: Or that, yes. 2015-01-04T15:47:00Z n0den1te: nyef: I'm just using clisp since that's what comes along with cygwin package managers. 2015-01-04T15:47:21Z stassats: cygwin, another thing i would steer clear of 2015-01-04T15:47:35Z nyef: Ah, windows. That was my good reason for using clisp that one time. Well, that and SBCL not having a working windows port at the time. 2015-01-04T15:47:49Z Shinmera: On windows CCL would be the primary choice, iirc. 2015-01-04T15:47:58Z Shinmera: Or, not using windows. 2015-01-04T15:49:20Z n0den1te: Shinmera: I might switch over to Linux some time - let's just say that *not* using windows is not an option right now. 2015-01-04T15:49:24Z nyef: My primary choice would be not using windows in the first place. My secondary choice would be SBCL because I'm an SBCL hacker. Then probably CCL. 2015-01-04T15:49:34Z nyef: n0den1te: VirtualBox? 2015-01-04T15:49:51Z n0den1te: nyef: yeah, I have that too 2015-01-04T15:50:06Z Blaguvest quit (Ping timeout: 244 seconds) 2015-01-04T15:50:25Z Shinmera: I don't personally use windows anymore, but a friend of mine had less issues with CCL than SBCL. 2015-01-04T15:53:42Z n0den1te: nyef: is there a 64-bit windows port of SBCL available? 2015-01-04T15:53:49Z stassats: yes 2015-01-04T15:54:34Z n0den1te: ok, I'll try that when I get to it. Thanks 2015-01-04T15:55:34Z Grue`: sbcl works pretty well on windows, it even has an installer 2015-01-04T15:56:12Z stassats: the last SBCL is particularly broken on windows, though 2015-01-04T15:56:35Z Grue`: in what way? 2015-01-04T15:56:48Z stassats: uses 1.5 times more memory 2015-01-04T15:56:57Z oudeis joined #lisp 2015-01-04T15:57:36Z stassats: it does that everywhere, but at least everywhere else it is supposed to be virtual most of the time 2015-01-04T15:57:37Z Grue`: not a big deal then 2015-01-04T15:57:47Z normanrichards joined #lisp 2015-01-04T15:58:37Z stassats: is it not? non-working programs doesn't sound like a small deal 2015-01-04T15:59:20Z n0den1te: Grue`: 1.5x memory consumption where most of it is eaten up by the compiler is _bad_ 2015-01-04T15:59:39Z n0den1te: Grue`: particularly in cases where programs were previously working 2015-01-04T16:01:46Z Grue`: i develop on windows and deploy on linux, so if it happens to use less memory on linux that's a nice bonus! 2015-01-04T16:02:09Z pjb: n0den1te: use the clisp -I option! 2015-01-04T16:02:29Z stassats: Grue`: well, it uses 1.5 more memory on linux too, just that it has some help from madvise 2015-01-04T16:02:33Z n0den1te: pjb: is that for tab completion? 2015-01-04T16:02:37Z egp_ joined #lisp 2015-01-04T16:02:51Z stassats: but on 32-bit arches, it may not even start with a larger heap 2015-01-04T16:03:08Z pjb: n0den1te: clisp is very good. I use only clisp for my scripts. 2015-01-04T16:03:33Z pjb: n0den1te: cygwin is also very good, if you have to use MS-Windows. 2015-01-04T16:03:50Z pjb: n0den1te: (of course, if you have a PC that can run MS-Windows, you could as well install Linux on it). 2015-01-04T16:04:30Z n0den1te: pjb: yes, I use emacs mainly under cygwin 2015-01-04T16:05:01Z n0den1te: pjb: for some reason, I don't like it any other way :-) 2015-01-04T16:05:29Z pjb: For completion, you may want to use auto-complete-mode. 2015-01-04T16:05:41Z n0den1te: but SLIME is annoying, so I just use the inferior lisp mode 2015-01-04T16:06:02Z pjb: What problem do you have with slime? Nowadays, it works well. 2015-01-04T16:06:54Z ndrei quit (Quit: Lost terminal) 2015-01-04T16:07:01Z n0den1te: well, for one thing, it works over a local socket connection and it keeps beeping into my status buffer about connection status. 2015-01-04T16:07:27Z pjb: n0den1te: it does that when it cannot connect. 2015-01-04T16:07:33Z pjb: Solve this problem and it will be ok. 2015-01-04T16:07:56Z n0den1te: pjb: no, it's connected alright. Why does it have to keep flashing then? 2015-01-04T16:08:02Z pjb: Perhaps you didn't configure inferior-lisp-program ? 2015-01-04T16:08:26Z n0den1te: no, it's done 2015-01-04T16:08:56Z n0den1te: SLIME works - but for those annoying messages and inability to gracefully quit trashed sessions 2015-01-04T16:09:26Z pjb: What's the value of swank:*use-dedicated-output-stream* ? 2015-01-04T16:09:41Z pjb: I have: (defparameter swank:*use-dedicated-output-stream* nil) in ~/.swank.lisp 2015-01-04T16:09:49Z stassats: it defaults to nil 2015-01-04T16:10:03Z n0den1te: I haven't set it - so I guess nil 2015-01-04T16:10:17Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2015-01-04T16:11:25Z _2_jain joined #lisp 2015-01-04T16:11:37Z _2_jain: ;) 2015-01-04T16:11:47Z _2_jain left #lisp 2015-01-04T16:11:54Z arcwest2 joined #lisp 2015-01-04T16:12:09Z Shinmera: .. 2015-01-04T16:12:26Z Shinmera: n0den1te: What do you mean by "inability to quit trashed sessions"? 2015-01-04T16:12:31Z Grue`: i remember somebody saying clisp didn't work with slime well recently 2015-01-04T16:13:25Z oudeis quit (Quit: This computer has gone to sleep) 2015-01-04T16:13:28Z n0den1te: Shinmera: let's say that I have a b0rked clisp session (for some reason)... then I should be able to quickly close the SLIME session and restart it anew, right? 2015-01-04T16:13:40Z Shinmera: n0den1te: in the repl, type: ,restart 2015-01-04T16:13:43Z pearle joined #lisp 2015-01-04T16:13:46Z n0den1te: Shinmera: nope. SLIME constantly beeps about my buffer about *LOST* connections 2015-01-04T16:14:35Z Shinmera: Well, given your peculiar setup prerequisites I can't easily tell you what exactly the culprit is 2015-01-04T16:14:56Z Shinmera: I can however tell you that emacs and slime work wonderfully well on windows if you don't use cygwin or clisp. 2015-01-04T16:15:08Z pjb: Grue`: this is not true, and hasn't been true for several years now. 2015-01-04T16:15:15Z n0den1te: Shinmera: no worries. I have given up on SLIME for now. I'm happy just using plain inferior lisp mode. :-) 2015-01-04T16:15:17Z Shinmera: ((I have a portable CL environment that works on all platforms just dandy)) 2015-01-04T16:15:26Z Shinmera: n0den1te: You should not be. 2015-01-04T16:15:44Z n0den1te: :D 2015-01-04T16:15:48Z Xach: Nothing is worse than someone who thinks they are happy when they really aren't 2015-01-04T16:15:59Z Xach: True happiness must be thrust upon them 2015-01-04T16:16:11Z n0den1te: .... 2015-01-04T16:16:34Z Shinmera: #lisp is the true #ingsoc 2015-01-04T16:16:46Z pjb: Xach: happiness is a differential social construct :-) 2015-01-04T16:16:46Z n0den1te: that's like saying "Life as a hermit is true happiness" 2015-01-04T16:17:13Z stassats: i would give up on slime if i misconfigured it and refused to properly configure it too 2015-01-04T16:17:48Z n0den1te: err 2015-01-04T16:18:19Z n0den1te: I have only 4 lines on my slime setup load-path (to SLIME .el files), inferior-lisp-program, require 'slime and slime-setup 2015-01-04T16:18:22Z REPLeffect quit (Ping timeout: 265 seconds) 2015-01-04T16:18:26Z n0den1te: is there anything more to do? 2015-01-04T16:18:47Z dandersen joined #lisp 2015-01-04T16:19:17Z stassats: who knows, you're not telling what's wrong with it 2015-01-04T16:19:43Z Grue`` joined #lisp 2015-01-04T16:20:22Z REPLeffect joined #lisp 2015-01-04T16:20:42Z Grue` quit (Ping timeout: 250 seconds) 2015-01-04T16:20:47Z ejbs`` quit (Ping timeout: 265 seconds) 2015-01-04T16:21:55Z Zamenhof joined #lisp 2015-01-04T16:23:42Z Grue`` is now known as Grue` 2015-01-04T16:24:31Z n0den1te: :-) 2015-01-04T16:25:19Z k-dawg quit (Quit: This computer has gone to sleep) 2015-01-04T16:26:28Z normanrichards quit 2015-01-04T16:27:57Z arpunk joined #lisp 2015-01-04T16:31:02Z flip214: Is there a way to make a symbol available with a single ":", but not import it into the other package? 2015-01-04T16:31:19Z nyef: flip214: Yes. Don't :USE the package. 2015-01-04T16:31:30Z pjb: Yes, :USE the package! 2015-01-04T16:31:30Z stassats: but use doesn't import 2015-01-04T16:31:36Z flip214: I'd like to use a slot "ID" in a package and make accesors accessible as PACKAGE:ID 2015-01-04T16:31:37Z pjb: :using it doesn't :import it! 2015-01-04T16:31:38Z edgar-rft quit (Quit: computation destroyed into mental vacuum) 2015-01-04T16:32:05Z flip214: but not override ID slots and/or methods in other packages... 2015-01-04T16:32:07Z nyef: Right, I'll let you lot wrangle over that, then. I need to head out. 2015-01-04T16:32:13Z nyef quit (Quit: Gone for a bit) 2015-01-04T16:32:26Z pjb: Also, you can use and import all you want, you can always write p:s 2015-01-04T16:33:16Z flip214: pjb: if the symbol isn't exported, I need p::s - and that I'd like to avoid. 2015-01-04T16:33:32Z Luna_ joined #lisp 2015-01-04T16:33:41Z Grue`: then export it 2015-01-04T16:34:07Z oudeis joined #lisp 2015-01-04T16:34:13Z pjb: So: (defpackage "C" (:export "ID" "M")) (defpackage "U" (:import-from "C" "M")) (in-package "U") (defmethod m (o) (c:id o)) 2015-01-04T16:34:16Z flip214: yeah, but that means other packages :USEing p would automatically override their s, too! 2015-01-04T16:34:17Z stassats: don't use, don't import, if you use, do shadow it 2015-01-04T16:34:48Z pjb: ie. import-from the other symbols, but the ones you want to be able to access only by qualifying them. 2015-01-04T16:34:50Z flip214: stassats: that's one way, but I'd like to not burden the users. 2015-01-04T16:35:06Z stassats: there's no other way 2015-01-04T16:35:07Z Grue`: flip214: it's no big deal if other packages use slot name from that package though 2015-01-04T16:35:08Z flip214: pjb: good idea, a kind of shadow package. thanks. 2015-01-04T16:35:36Z pjb: Perhaps (defpackage "U" (:use "C") (:shadow "ID")) (in-package "U 2015-01-04T16:35:39Z flip214: Grue`: it might be, if they use one of the classes in there as base classes - then the slots might collide. 2015-01-04T16:35:51Z pjb: ") (define-my-own id) ; is more what you want. 2015-01-04T16:36:18Z Grue`: having two id slots from different packages would also be quite confusing 2015-01-04T16:36:29Z pjb: Not if they are a:id and b:id. 2015-01-04T16:36:48Z pjb: as in: client:id part:id 2015-01-04T16:36:59Z stassats: with :id as the initarg 2015-01-04T16:37:18Z flip214: I'm about to use 'p:s as initarg for that reason. 2015-01-04T16:38:05Z pt1 joined #lisp 2015-01-04T16:38:15Z pjb: (defclass s (client part) ((client:id :initarg :client-id) (part:id :initarg :part-id))) 2015-01-04T16:38:28Z pjb: (make-instance 's :client-id 1 :part-id "x92") 2015-01-04T16:38:31Z Grue`: if something has an ID, i would assume it uniquely identifies it; so having two IDs is superfluous 2015-01-04T16:38:47Z pjb: Grue`: you've never worked for real users. 2015-01-04T16:39:46Z pt1 quit (Remote host closed the connection) 2015-01-04T16:40:34Z flip214: Grue`: never seen a table with some auto-increment column and a unique multi-key index for the "business primary key"? 2015-01-04T16:40:39Z oleo quit (Quit: Verlassend) 2015-01-04T16:41:15Z stassats: ever been in a turkish prison? 2015-01-04T16:41:28Z oleo joined #lisp 2015-01-04T16:41:36Z Grue`: they don't have to be all called ID, it's a two-letter variable name, you only use it when it's really obvious what it does 2015-01-04T16:42:02Z stassats: EyeDee 2015-01-04T16:42:04Z pjb: the thing is that client:id and part:id are (may be) different symbols. 2015-01-04T16:42:43Z pjb: Whether the symbol is named "ID" or "CLIENT-ID" is irrelevant. 2015-01-04T16:43:53Z flip214: stassats: either you're quite happy (or sarcastic) right now, or I don't understand your prison sentence. 2015-01-04T16:44:29Z stassats: flip214: have you seen a grown man naked? 2015-01-04T16:45:15Z Grue`: client:id and part:id on the same object sounds like something that would happen if a SQL programmer was writing in CL 2015-01-04T16:45:18Z flip214: hmmm, am I in the wrong channel here, or did it mutate to #ZEN-questions this year? 2015-01-04T16:45:51Z Grue`: practical common lisp is SO last decade 2015-01-04T16:46:45Z flip214: stassats: yes, but will I want to have refused the answer? 2015-01-04T16:46:56Z flip214: Grue`: right, CL21 for the win! 2015-01-04T16:47:32Z k-dawg joined #lisp 2015-01-04T16:48:29Z karswell joined #lisp 2015-01-04T16:49:12Z oudeis quit (Quit: This computer has gone to sleep) 2015-01-04T16:51:34Z n0den1te quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-01-04T16:55:17Z dandersen proposes a new standard wherein the only change is the date 2015-01-04T16:57:23Z EvW joined #lisp 2015-01-04T16:57:41Z k-stz joined #lisp 2015-01-04T16:59:47Z innertracks joined #lisp 2015-01-04T17:02:57Z psy quit (Ping timeout: 244 seconds) 2015-01-04T17:03:12Z schaueho quit (Ping timeout: 245 seconds) 2015-01-04T17:04:04Z flip214: dandersen: I'm not sure whether such important changes would come easily. 2015-01-04T17:04:52Z Vutral quit (Ping timeout: 245 seconds) 2015-01-04T17:07:58Z tharugrim joined #lisp 2015-01-04T17:08:17Z Vutral joined #lisp 2015-01-04T17:09:33Z davazp joined #lisp 2015-01-04T17:10:55Z k-dawg quit (Quit: This computer has gone to sleep) 2015-01-04T17:12:54Z manuel__ quit (Quit: manuel__) 2015-01-04T17:13:43Z karswell quit (Remote host closed the connection) 2015-01-04T17:14:09Z oudeis joined #lisp 2015-01-04T17:14:28Z oleo is now known as Guest97615 2015-01-04T17:14:29Z karswell joined #lisp 2015-01-04T17:15:54Z oleo__ joined #lisp 2015-01-04T17:15:59Z Ukari quit (Quit: Leaving.) 2015-01-04T17:17:19Z Guest97615 quit (Ping timeout: 245 seconds) 2015-01-04T17:20:30Z hvxgr quit (Quit: leaving) 2015-01-04T17:20:44Z hvxgr joined #lisp 2015-01-04T17:25:39Z hvxgr quit (Quit: leaving) 2015-01-04T17:25:58Z hvxgr joined #lisp 2015-01-04T17:26:23Z oudeis quit (Quit: This computer has gone to sleep) 2015-01-04T17:27:56Z emlow joined #lisp 2015-01-04T17:30:05Z pegu joined #lisp 2015-01-04T17:34:30Z ejbs joined #lisp 2015-01-04T17:35:36Z tadni quit (Remote host closed the connection) 2015-01-04T17:43:36Z GGMethos quit (Quit: WeeChat 1.0.1) 2015-01-04T17:46:06Z dandersen1 joined #lisp 2015-01-04T17:46:52Z dandersen quit (Read error: Connection reset by peer) 2015-01-04T17:52:39Z oleo__ quit (Quit: Verlassend) 2015-01-04T17:54:35Z MutSbeta joined #lisp 2015-01-04T17:54:41Z davazp quit (Remote host closed the connection) 2015-01-04T17:54:42Z oleo__ joined #lisp 2015-01-04T17:54:56Z oleo__ quit (Read error: Connection reset by peer) 2015-01-04T17:56:16Z dandersen1 is now known as dkcl 2015-01-04T17:56:23Z dkcl quit (Changing host) 2015-01-04T17:56:23Z dkcl joined #lisp 2015-01-04T17:56:28Z oleo joined #lisp 2015-01-04T18:01:18Z manuel__ joined #lisp 2015-01-04T18:01:51Z Ven joined #lisp 2015-01-04T18:04:08Z Lowl3v3l joined #lisp 2015-01-04T18:04:18Z butyoudonot: Grue`: oh, sorry, I meant to a list with digits. Like, 123 -> '(1 2 3) 2015-01-04T18:05:18Z stassats: butyoudonot: divide by the base repeatedly 2015-01-04T18:06:12Z GGMethos joined #lisp 2015-01-04T18:07:13Z mrkkrp: Is it part of the standard in which package by default all code is contained? I saw 'cl:defpackage' on the first line of one library, so I'm wondering why didn't the author of the library use plain 'defpackage'. 2015-01-04T18:07:35Z butyoudonot: stassats: here what I've tried http://paste.lisp.org/display/145075 2015-01-04T18:08:23Z stassats: don't use recursion 2015-01-04T18:08:41Z butyoudonot: why? 2015-01-04T18:08:45Z stassats: and your LET had a stroke 2015-01-04T18:08:57Z stassats: butyoudonot: the question should be "why use recursion" 2015-01-04T18:08:59Z stassats: not the reverse 2015-01-04T18:09:06Z butyoudonot: why? 2015-01-04T18:09:20Z stassats: you should answer it, you did 2015-01-04T18:09:48Z butyoudonot: I mean, why non-recursion is a default approach? How you've decided that? 2015-01-04T18:09:59Z Grue`: mrkkrp: usually it's (in-package :cl) (defpackage ...); the starting package depends on how the file is loaded 2015-01-04T18:10:01Z khisanth_ is now known as Khisanth 2015-01-04T18:10:15Z stassats: butyoudonot: because there's no reason to employ recursion 2015-01-04T18:10:43Z hitecnologys: butyoudonot: recursion is more resource-consuming. 2015-01-04T18:10:54Z mrkkrp: Grue`, then (cl:defpackage :foo) (cl:in-package #:foo) should work just as well 2015-01-04T18:11:06Z Grue`: mrkkrp: but that's ugly 2015-01-04T18:11:13Z gravicappa joined #lisp 2015-01-04T18:11:57Z mrkkrp: Grue`, it's interesting! why 'cl:' prefix is ugly and whole extra line is not ugly? :D 2015-01-04T18:12:01Z bgs100 joined #lisp 2015-01-04T18:12:24Z stassats: (in-package :cl) is totally wrong 2015-01-04T18:12:29Z hvxgr quit (Quit: leaving) 2015-01-04T18:12:35Z stassats: or bad, never do that 2015-01-04T18:12:52Z hvxgr joined #lisp 2015-01-04T18:13:27Z Grue`: oh right, i probably meant cl-user 2015-01-04T18:13:48Z mrkkrp: as far as I know it's difficult to define something new in :cl 2015-01-04T18:13:49Z stassats: mrkkrp: almost nobody writes cl:defpackage 2015-01-04T18:14:49Z mrkkrp: stassats, perphas so, but my original question is rather why would one want to write cl:defpackage in the first place 2015-01-04T18:14:50Z tadni joined #lisp 2015-01-04T18:14:56Z Grue`: then again, its not guaranteed that defpackage in cl-user is the same as in cl 2015-01-04T18:15:13Z stassats: mrkkrp: no real reason 2015-01-04T18:15:36Z stassats: some people put -*- base: 10 -*- to this day 2015-01-04T18:15:53Z sol__ quit (Remote host closed the connection) 2015-01-04T18:16:12Z Grue`: maybe cl:defpackage is the most correct way after all... 2015-01-04T18:16:52Z stassats: correct for what? 2015-01-04T18:16:55Z mrkkrp: stassats, Grue` said that 'the starting package depends on how the file is loaded 2015-01-04T18:16:57Z mrkkrp: ' 2015-01-04T18:17:34Z Bicyclidine: ah, but what if i've defined a reader macro on #\c! all your efforts are for naught 2015-01-04T18:17:36Z stassats: so does readtable 2015-01-04T18:18:54Z stassats: Bicyclidine: that can be circumvented, not so with a reader macro on #\( 2015-01-04T18:19:12Z EvW quit (Ping timeout: 265 seconds) 2015-01-04T18:20:14Z eudoxia joined #lisp 2015-01-04T18:21:09Z Grue`: apparently a lot of libraries will break if I (shadow 'defpackage) in CL-USER 2015-01-04T18:26:11Z mrkkrp: there are many ways how to break libraries 2015-01-04T18:27:07Z eni_ joined #lisp 2015-01-04T18:28:35Z stepnem joined #lisp 2015-01-04T18:29:57Z stassats quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-01-04T18:38:00Z pt1 joined #lisp 2015-01-04T18:39:11Z dkcl quit (Excess Flood) 2015-01-04T18:39:44Z dandersen joined #lisp 2015-01-04T18:43:53Z mrkkrp: what does quickproject do exactly to add a project directory to asdf configuration? 2015-01-04T18:46:14Z Grue`: I think it just puts it into quicklisp's local-projects directory by default, which is scanned by asdf 2015-01-04T18:47:42Z mrkkrp: Grue`, do you mean it moves the directory itself?? 2015-01-04T18:48:45Z Bicyclidine: well, let's check the ol' source https://github.com/xach/quickproject/blob/master/quickproject.lisp#L175-176 2015-01-04T18:50:04Z xificurC joined #lisp 2015-01-04T18:50:34Z Grue`: hmm, looks like it actually adds it to *central-registry* but it's useless since it'll just get reset on restart anyway 2015-01-04T18:50:40Z pjb: mrkkrp: it is not conforming to evaluate different defpackage forms on the same package. 2015-01-04T18:51:13Z pjb: mrkkrp: therefore it is perfectly expected that some program or library provides its own defpackage macro, with a conforming behavior in such a common circumstance. 2015-01-04T18:51:32Z beach left #lisp 2015-01-04T18:51:52Z pjb: mrkkrp: therefore it is perfectly understandable that some code may want to use cl:defpackage instead of whatever defpackage macro is provided by the current program or library. 2015-01-04T18:53:26Z pjb: And this is the magic of Common Lisp (vs. eg. scheme or emacs lisp), that unqualified symbols are interned with respect to the current *package*, and that therefore a symbol such as CAR, + or DEFPACKAGE is very not necessarily CL:CAR, CL:+ or CL:DEFPACKAGE. 2015-01-04T18:54:00Z pjb: This allows you to load a file with lisp code with different definition for symbols named the same as standard symbols. 2015-01-04T18:54:58Z arcwest2 quit (Ping timeout: 250 seconds) 2015-01-04T18:54:58Z pjb: I would even argue that it would be good not to put in-package forms in source files, but instead to set the current *package* in the code that load them (but this wouldn't be convenient in the current asdf set up). 2015-01-04T18:55:45Z psy joined #lisp 2015-01-04T18:56:04Z arcwest2 joined #lisp 2015-01-04T18:56:19Z pjb: Perhaps we should add a :package option to asdf:defsystem, to be used as the package to be bound to *package* when loading or compiling the system. 2015-01-04T18:58:20Z karswell quit (Read error: Connection reset by peer) 2015-01-04T18:59:16Z karswell joined #lisp 2015-01-04T19:01:24Z arcwest2 quit (Ping timeout: 264 seconds) 2015-01-04T19:01:34Z EvW joined #lisp 2015-01-04T19:01:47Z hekmek quit (Quit: Verlassend) 2015-01-04T19:01:55Z arcwest2 joined #lisp 2015-01-04T19:03:47Z Alfr joined #lisp 2015-01-04T19:09:52Z mrkkrp left #lisp 2015-01-04T19:11:41Z Joreji joined #lisp 2015-01-04T19:11:58Z Jubb quit (Remote host closed the connection) 2015-01-04T19:13:43Z Zamenhof: anyone know of the top of their head, which open source CL compilers permit TCO? 2015-01-04T19:14:12Z AeroNotix: Zamenhof: SBCL, CLISP sometimes afaikr 2015-01-04T19:14:22Z Bicyclidine: Zamenhof: kind of old, but http://0branch.com/notes/tco-cl.html 2015-01-04T19:14:59Z Zamenhof: Bicyclidine: Thanks! 2015-01-04T19:16:14Z pawanspace joined #lisp 2015-01-04T19:16:16Z isoraqathedh_l is now known as isoraqathedh 2015-01-04T19:17:23Z dandersen: Zamenhof: CCL, too 2015-01-04T19:18:17Z xificurC quit (Remote host closed the connection) 2015-01-04T19:19:50Z Zamenhof: CCL is what I typically hack on. I wasn't sure if this was a default, or a compiler optimization I needed to enable. 2015-01-04T19:20:17Z Baggers joined #lisp 2015-01-04T19:20:50Z Bicyclidine: according to that page and the linked wiki page, it has tco for debug < 3. 2015-01-04T19:21:23Z Zamenhof: I'm surprised I never came across that page. But it is very helpful to me. Thx again. 2015-01-04T19:21:31Z dandersen: http://www.reddit.com/r/lisp/comments/1jd7tl/tail_call_optimisation_in_common_lisp/ 2015-01-04T19:21:48Z dandersen: I'm surprised I'm linking to reddit, but there are specific CCL-related examples there 2015-01-04T19:22:30Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2015-01-04T19:22:59Z Zamenhof: that's helpful too. 2015-01-04T19:24:18Z manuel__ quit (Quit: manuel__) 2015-01-04T19:26:08Z eni_ quit (Remote host closed the connection) 2015-01-04T19:26:51Z antonv joined #lisp 2015-01-04T19:27:37Z pawanspace quit (Quit: Colloquy for iPhone - http://colloquy.mobi) 2015-01-04T19:29:19Z xorox90 quit (Quit: Connection closed for inactivity) 2015-01-04T19:33:28Z jtza8 joined #lisp 2015-01-04T19:36:37Z Baggers: Hey folks, i'm trying to get the hang of named-readtables. I set up a readtable as follows (named-readtables:defreadtable fn_lambda (:merge :standard) (:macro-char #\GREEK_SMALL_LETTER_LAMDA #'lambda-reader) (:case :preserve)) in a package called :fn_. Another package :depends on this library and uses (named-readtables:in-readtable fn_::fn_lambda) at the top of the file (just after it's own in-package). The problem 2015-01-04T19:36:38Z Baggers: is that I then use 'C-c C-k' to compile the file and I get hundreds of warning, it doesnt even recognize defun at that point. Seems I don't know where/how to use this. Any tips from anyone? 2015-01-04T19:38:17Z pt1 quit (Remote host closed the connection) 2015-01-04T19:45:02Z Ven joined #lisp 2015-01-04T19:46:57Z pnpuff joined #lisp 2015-01-04T19:47:11Z Baggers: After that I cant even (print "test") from the repl as it says The function my-package::print is undefined. 2015-01-04T19:47:24Z pnpuff left #lisp 2015-01-04T19:47:32Z Baggers: After that I cant even (print "test") from the repl as it says 'The function my-package::print is undefined.' 2015-01-04T19:50:19Z pt1 joined #lisp 2015-01-04T19:50:21Z oconnore quit (Ping timeout: 244 seconds) 2015-01-04T19:50:43Z pt1 quit (Remote host closed the connection) 2015-01-04T19:51:12Z oconnore joined #lisp 2015-01-04T19:51:16Z lispm joined #lisp 2015-01-04T19:52:51Z ehu: Baggers: that's correct. 2015-01-04T19:52:51Z LaGaVuLiN__ quit (Quit: Leaving) 2015-01-04T19:53:02Z ehu: Baggers: the symbol's name is "PRINT" not "print" 2015-01-04T19:53:20Z marioxcc joined #lisp 2015-01-04T19:53:38Z marioxcc left #lisp 2015-01-04T19:57:06Z pawanspace joined #lisp 2015-01-04T19:58:06Z bbmouse joined #lisp 2015-01-04T19:58:20Z manuel__ joined #lisp 2015-01-04T19:58:57Z aftershave quit (Read error: Connection reset by peer) 2015-01-04T19:59:09Z ehu: Baggers: that's what case preservation does. 2015-01-04T19:59:11Z pawanspace quit (Client Quit) 2015-01-04T19:59:14Z oudeis joined #lisp 2015-01-04T19:59:41Z aftershave joined #lisp 2015-01-04T20:00:37Z francogrex joined #lisp 2015-01-04T20:00:45Z francogrex quit (Client Quit) 2015-01-04T20:00:57Z d4gg4d quit (Ping timeout: 240 seconds) 2015-01-04T20:01:00Z psy quit (Ping timeout: 244 seconds) 2015-01-04T20:01:55Z d4gg4d joined #lisp 2015-01-04T20:02:50Z Alfr quit (Quit: Leaving) 2015-01-04T20:04:30Z Baggers: ehu: hmm then I'll try again 2015-01-04T20:05:00Z towodo quit (Ping timeout: 264 seconds) 2015-01-04T20:05:20Z manuel__ quit (Quit: manuel__) 2015-01-04T20:05:46Z Baggers: ehu: why would case preservation affect symbols totally unrelated to reader macros? 2015-01-04T20:07:03Z ejbs: Baggers: A readtable isn't only about reader macros, see: http://www.lispworks.com/documentation/lw60/CLHS/Body/t_rdtabl.htm 2015-01-04T20:07:03Z hitecnologys: Baggers: it affects readtable. 2015-01-04T20:07:46Z pjb: Zamenhof: the problem with TCO in CL, is that it is rather hard to know whether a call is a tail call, and there are a lot of places that would look like they're tail, but they're actually not. 2015-01-04T20:07:47Z Bicyclidine: Baggers: you put :case :preserve 2015-01-04T20:07:59Z pjb: Zamenhof: specifically, because of macros. 2015-01-04T20:08:28Z Baggers: ehu: Bicyclidine: ejbs: hitecnologys: Cheers, I have it working now 2015-01-04T20:09:08Z Baggers: thought I had tried that earlier! but hey I'm just glad it's playing nice 2015-01-04T20:09:25Z Zamenhof: pjb: good point, i realize that now. 2015-01-04T20:10:42Z tesuji quit (Ping timeout: 245 seconds) 2015-01-04T20:11:00Z bbmouse quit (Remote host closed the connection) 2015-01-04T20:11:02Z Baggers: ejbs: thanks for the link, I'll definitely go through all that 2015-01-04T20:11:20Z ejbs: pjb: Huh? Shouldn't you be fine after macro expansion? 2015-01-04T20:12:16Z circ-user-7xqlT joined #lisp 2015-01-04T20:13:19Z circ-user-7xqlT left #lisp 2015-01-04T20:13:33Z klltkr joined #lisp 2015-01-04T20:14:26Z bbmouse joined #lisp 2015-01-04T20:15:14Z moei quit (Quit: Leaving...) 2015-01-04T20:15:50Z bbmouse quit (Remote host closed the connection) 2015-01-04T20:16:16Z bbmouse joined #lisp 2015-01-04T20:16:31Z bbmouse quit (Remote host closed the connection) 2015-01-04T20:16:56Z bbmouse joined #lisp 2015-01-04T20:17:00Z defaultxr joined #lisp 2015-01-04T20:18:41Z pt1 joined #lisp 2015-01-04T20:19:33Z EvW quit (Ping timeout: 265 seconds) 2015-01-04T20:21:07Z dim: is (member :little-endian *features*) a good way to check? 2015-01-04T20:21:12Z urandom__ joined #lisp 2015-01-04T20:22:01Z serichsen: dim: I think that there is a featurep function somewhere in asdf or so. 2015-01-04T20:22:22Z pjb: dim: depends on the implementation. 2015-01-04T20:22:36Z dim: it's more about the portability that I'm worried, works with SBCL already 2015-01-04T20:22:44Z dim: I'm interested into only SBCL and CCL at this point tho 2015-01-04T20:22:50Z pjb: ejbs: sure after macro expansion. What I'm saying is that a lot of calls that you write won't be tail calls anyways. 2015-01-04T20:22:57Z dim: but if I can limit the non-portable code easily I'm all for it 2015-01-04T20:23:02Z dim: pjb: know of a portable test? 2015-01-04T20:23:26Z pjb: Check cliki.net 2015-01-04T20:23:57Z pjb: http://cliki.net/features 2015-01-04T20:24:54Z dim: found http://www.cliki.net/features 2015-01-04T20:24:55Z dim: yeah ok 2015-01-04T20:25:54Z serichsen: It is uiop:featurep 2015-01-04T20:26:02Z serichsen: comes with asdf 2015-01-04T20:26:08Z alchemis7 quit (Read error: Connection reset by peer) 2015-01-04T20:26:40Z dim: yeah but that's not the problem I'm having 2015-01-04T20:26:40Z alchemis7 joined #lisp 2015-01-04T20:28:31Z serichsen: dim: I thought you were looking for a portable way to check for a feature programmatically. 2015-01-04T20:28:43Z psy joined #lisp 2015-01-04T20:28:48Z francogrex joined #lisp 2015-01-04T20:29:03Z dim: yeah, no, I'm interested into a way to determine if I'm on a big or little endian setup at runtime 2015-01-04T20:29:19Z dim: but I'm bored to death with that code so I'll switch a movie on now 2015-01-04T20:29:30Z lispm: CCL on my Mac has :LITTLE-ENDIAN-HOST 2015-01-04T20:30:58Z exm joined #lisp 2015-01-04T20:32:00Z jtza8 quit (Ping timeout: 264 seconds) 2015-01-04T20:32:43Z |3b|: dim: i think trivial-features has things for that 2015-01-04T20:32:47Z Zhivago quit (Ping timeout: 245 seconds) 2015-01-04T20:33:11Z Mandus: pwd 2015-01-04T20:33:28Z Mandus left #lisp 2015-01-04T20:33:30Z dandersen: ~/common-lisp 2015-01-04T20:33:34Z dandersen: Oh well 2015-01-04T20:33:35Z hzp joined #lisp 2015-01-04T20:37:46Z dim: |3b|: it does, thanks! 2015-01-04T20:38:12Z dagnachew joined #lisp 2015-01-04T20:41:02Z arcwest2 quit (Quit: Nettalk6 - www.ntalk.de) 2015-01-04T20:45:45Z ejbs: pjb: Oh yes, I see. I thought we were talking from the compiler's view point 2015-01-04T20:45:50Z tesuji joined #lisp 2015-01-04T20:46:48Z ggole quit 2015-01-04T20:47:25Z phadthai quit (Remote host closed the connection) 2015-01-04T20:49:07Z nikki93 joined #lisp 2015-01-04T20:49:39Z EvW joined #lisp 2015-01-04T20:51:07Z stacksmith quit (Ping timeout: 244 seconds) 2015-01-04T20:56:09Z nyef joined #lisp 2015-01-04T20:57:04Z jtza8 joined #lisp 2015-01-04T21:02:14Z pt1 quit (Remote host closed the connection) 2015-01-04T21:02:45Z Mon_Ouie quit (Remote host closed the connection) 2015-01-04T21:03:12Z nyef: Hello all. 2015-01-04T21:03:21Z stacksmith joined #lisp 2015-01-04T21:03:46Z ehu: nyef: hi. 2015-01-04T21:03:48Z normanrichards joined #lisp 2015-01-04T21:04:05Z Beetny joined #lisp 2015-01-04T21:10:35Z francogrex quit (Quit: leaving) 2015-01-04T21:10:45Z Zamenhof: anyone use the Portable Hemlock Emacs clone? https://gitorious.org/hemlock 2015-01-04T21:10:54Z Zamenhof: looks like it is being actively developed 2015-01-04T21:11:25Z dandersen is now known as dkcl 2015-01-04T21:11:28Z dkcl tried, once 2015-01-04T21:11:39Z nyef: Zamenhof: I tried it recently to no good effect, but that could easily have been problems with my local environment and not knowing what I was doing. 2015-01-04T21:13:15Z Zamenhof: A CL-based emacs would be great; I understand porting the millions of lines of emacs lisp is the challenge, though. 2015-01-04T21:14:02Z shka quit (Quit: WeeChat 1.0.1) 2015-01-04T21:14:37Z nyef: ... and you just missed the point. 2015-01-04T21:14:43Z DeadTrickster quit (Ping timeout: 272 seconds) 2015-01-04T21:16:38Z stepnem quit (Ping timeout: 244 seconds) 2015-01-04T21:18:28Z thawes joined #lisp 2015-01-04T21:18:59Z nyef: Aww... I can't (SETF NTH-VALUE)? 2015-01-04T21:19:14Z jtza8 quit (Remote host closed the connection) 2015-01-04T21:21:48Z munksgaard quit (Read error: Connection reset by peer) 2015-01-04T21:22:24Z |3b| isn't sure where (setf nth-value) would do something useful 2015-01-04T21:22:27Z hitecnologys: nyef: right. It doesn't have SETF-function. 2015-01-04T21:23:26Z nyef: |3b|: I have a symbol-macrolet of some symbol to a VALUES of three variables, and I want to set one of them given the symbol. 2015-01-04T21:23:42Z |3b|: ah 2015-01-04T21:24:45Z nyef: It's one of those cases of something completely and utterly insane on the surface, but having its own twisted logic once you dig into it. 2015-01-04T21:25:18Z |3b|: yeah, had gotten as far as using it on values, but not why you wouldn't have the values individually 2015-01-04T21:25:28Z |3b|: symbol macro makes sense though 2015-01-04T21:27:40Z urandom_1 joined #lisp 2015-01-04T21:27:48Z nyef: I think I have a simplification for the core logic of what I'm doing, but the control flow is getting rather twisted. 2015-01-04T21:28:11Z urandom__ quit (Ping timeout: 265 seconds) 2015-01-04T21:28:31Z |3b| is playing with GPU, so my control flow is twisted to start with :/ 2015-01-04T21:28:34Z phf` left #lisp 2015-01-04T21:30:10Z nyef: I'm already using a combination of a macrolet, a symbol-macrolet, and a values place to destructure some data. 2015-01-04T21:30:31Z nyef: Well, to pull data from a list an destructure it. 2015-01-04T21:31:16Z nyef: I think that I might shadow the symbol-macrolet with another one in order to save having to pass the list names around... 2015-01-04T21:32:12Z PinealGlandOptic quit (Quit: leaving) 2015-01-04T21:33:51Z MoALTz_ joined #lisp 2015-01-04T21:34:12Z JokesOnYou77 joined #lisp 2015-01-04T21:35:13Z MoALTz quit (Ping timeout: 255 seconds) 2015-01-04T21:37:15Z capcar joined #lisp 2015-01-04T21:38:20Z hardenedapple quit (Quit: WeeChat 1.0.1) 2015-01-04T21:39:10Z ska` quit (Ping timeout: 244 seconds) 2015-01-04T21:40:12Z Shinmera quit (Quit: しつれいしなければならないんです。) 2015-01-04T21:42:25Z arpunk quit (Remote host closed the connection) 2015-01-04T21:42:40Z arpunk joined #lisp 2015-01-04T21:43:34Z scymtym quit (Ping timeout: 245 seconds) 2015-01-04T21:49:13Z gravicappa quit (Remote host closed the connection) 2015-01-04T21:54:36Z pacon joined #lisp 2015-01-04T21:54:57Z hrs joined #lisp 2015-01-04T21:56:59Z oleo quit (Quit: Verlassend) 2015-01-04T21:58:45Z yrdz` joined #lisp 2015-01-04T22:00:02Z tesuji quit (Ping timeout: 244 seconds) 2015-01-04T22:01:54Z yrdz` quit (Client Quit) 2015-01-04T22:02:31Z oleo joined #lisp 2015-01-04T22:03:57Z rtra quit (Ping timeout: 265 seconds) 2015-01-04T22:04:36Z yrdz joined #lisp 2015-01-04T22:04:51Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2015-01-04T22:05:45Z tadni quit (Remote host closed the connection) 2015-01-04T22:06:12Z tadni joined #lisp 2015-01-04T22:08:13Z hrs quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-01-04T22:08:15Z arrdem: Playing with implementing a simple stack VM as a lisp target, is there any interesting prior art beyond the Interlisp VM and the MIT machines? 2015-01-04T22:08:41Z rtra joined #lisp 2015-01-04T22:09:49Z thawes quit (Ping timeout: 256 seconds) 2015-01-04T22:10:10Z ehu: arrdem: beyond that any self-respecting lisper implemented his own? No. 2015-01-04T22:12:57Z hrs joined #lisp 2015-01-04T22:13:47Z joswig joined #lisp 2015-01-04T22:14:04Z joswig quit (Client Quit) 2015-01-04T22:14:23Z thawes joined #lisp 2015-01-04T22:14:40Z mrSpec quit (Quit: mrSpec) 2015-01-04T22:16:10Z ehu quit (Ping timeout: 255 seconds) 2015-01-04T22:17:36Z lispm quit (Ping timeout: 244 seconds) 2015-01-04T22:17:41Z keen__________22 quit (Read error: Connection reset by peer) 2015-01-04T22:19:38Z keen__________22 joined #lisp 2015-01-04T22:24:09Z |3b|: arrdem: did you look at clisp's bytecode? 2015-01-04T22:25:34Z pacon quit (Read error: Connection reset by peer) 2015-01-04T22:26:11Z oleo quit (Ping timeout: 265 seconds) 2015-01-04T22:26:36Z nydel: can i get the host address of my repl's machine without opening a socket? 2015-01-04T22:27:38Z bbmouse quit (Ping timeout: 265 seconds) 2015-01-04T22:30:47Z nyef: nydel: ifconfig, maybe? 2015-01-04T22:31:20Z arrdem: |3b|: nope. I don't have much of a background in CL. I'll take a look. 2015-01-04T22:31:35Z AeroNotix: nyef: why can't you open a socket? 2015-01-04T22:31:46Z AeroNotix: nyef: cat /etc/hostname ? 2015-01-04T22:31:46Z Zhivago joined #lisp 2015-01-04T22:31:53Z |3b|: arrdem: clisp has a cl-specific bytecode interpreter, don't remember if it is stack-based or not, but at least might give you ideas for useful opcodes 2015-01-04T22:32:05Z nyef: AeroNotix: Did you mean "nydel"? 2015-01-04T22:32:10Z arrdem: |3b|: sure that's basically what I'm fishing for at this point. 2015-01-04T22:32:36Z AeroNotix: nyef: yeah 2015-01-04T22:32:43Z AeroNotix: nydel: : why can't you open a socket? 2015-01-04T22:32:48Z AeroNotix: nydel: : cat /etc/hostname ? 2015-01-04T22:32:48Z arrdem: guile has a bytecode vm as well, right? 2015-01-04T22:32:53Z fe[nl]ix: nydel: in general, there's no such thing as a host address 2015-01-04T22:39:42Z manuel__ joined #lisp 2015-01-04T22:39:49Z kcj joined #lisp 2015-01-04T22:45:59Z xrash quit (Read error: Connection reset by peer) 2015-01-04T22:57:04Z thawes quit (Remote host closed the connection) 2015-01-04T23:00:16Z Bicyclidine quit (Ping timeout: 255 seconds) 2015-01-04T23:01:43Z manuel__ quit (Quit: manuel__) 2015-01-04T23:03:52Z dkcl quit (Ping timeout: 240 seconds) 2015-01-04T23:05:20Z normanrichards quit 2015-01-04T23:06:07Z BlastHardcheese quit (Ping timeout: 255 seconds) 2015-01-04T23:06:19Z Luna_ quit (Quit: Leaving) 2015-01-04T23:06:32Z peccu2 quit (Ping timeout: 240 seconds) 2015-01-04T23:06:32Z peccu2 joined #lisp 2015-01-04T23:07:23Z urandom_1 quit (Quit: Konversation terminated!) 2015-01-04T23:08:17Z cyraxjoe quit (Ping timeout: 240 seconds) 2015-01-04T23:08:33Z EvW quit (Ping timeout: 244 seconds) 2015-01-04T23:08:50Z nyef: Hrm. (loop for (start-1 end-1 x-spans-1) = (multiple-value-list span-1) then (multiple-value-list (next-span set-1)) do ...) seems a bit much. /-: 2015-01-04T23:10:03Z MightyJoe joined #lisp 2015-01-04T23:11:53Z araujo quit (Read error: Connection reset by peer) 2015-01-04T23:12:41Z araujo joined #lisp 2015-01-04T23:12:58Z dandersen joined #lisp 2015-01-04T23:13:42Z Shinmera joined #lisp 2015-01-04T23:13:51Z Shinmera quit (Client Quit) 2015-01-04T23:15:16Z tadni quit (Ping timeout: 244 seconds) 2015-01-04T23:16:55Z araujo quit (Client Quit) 2015-01-04T23:17:51Z nikki93 quit (Read error: Connection reset by peer) 2015-01-04T23:18:18Z nikki93 joined #lisp 2015-01-04T23:26:00Z Karl_Dscc quit (Ping timeout: 264 seconds) 2015-01-04T23:26:12Z meiji11 joined #lisp 2015-01-04T23:26:48Z Bicyclidine joined #lisp 2015-01-04T23:27:17Z Joreji quit (Read error: Connection reset by peer) 2015-01-04T23:29:39Z manuel__ joined #lisp 2015-01-04T23:29:39Z manuel__ quit (Client Quit) 2015-01-04T23:33:00Z attila_lendvai joined #lisp 2015-01-04T23:34:53Z dim: nydel: see ip-interfaces in Quicklisp 2015-01-04T23:35:56Z p_l: arrdem: clisp has stack-oriented bytecoded VM 2015-01-04T23:36:31Z exm quit (Quit: Leaving.) 2015-01-04T23:37:10Z dim: nydel: (mapcar #'ip-interfaces:ip-interface-address (ip-interfaces:get-ip-interfaces)) gives (#(127 0 0 1) #(192 168 0 10)) here, FWIW 2015-01-04T23:41:37Z kristof joined #lisp 2015-01-04T23:41:48Z huza joined #lisp 2015-01-04T23:43:04Z nyef: dim: So, you're behind a NAT router of some sort. 2015-01-04T23:43:49Z p_l: heh, it only gives me 7 IP addresses 2015-01-04T23:45:33Z eudoxia quit (Quit: Leaving) 2015-01-04T23:46:08Z inkogneato joined #lisp 2015-01-04T23:47:08Z enitiz joined #lisp 2015-01-04T23:47:18Z inkogneato quit (Client Quit) 2015-01-04T23:53:53Z Karl_Dscc joined #lisp 2015-01-04T23:54:57Z hitecnologys quit (Ping timeout: 240 seconds) 2015-01-04T23:55:23Z nyef: Hrm. With ten tests defined for a set-intersection operation, I get a single success by using the set-union operation. 2015-01-04T23:55:45Z hitecnologys joined #lisp 2015-01-04T23:56:04Z robot-beethoven joined #lisp 2015-01-04T23:56:57Z huza quit (Ping timeout: 240 seconds) 2015-01-04T23:57:02Z |3b|: sounds reasonable 2015-01-04T23:57:33Z |3b|: union and intersection are same if sets are same, but probably not otherwise 2015-01-04T23:57:39Z dandersen quit (Quit: Leaving.) 2015-01-04T23:57:56Z exm joined #lisp 2015-01-04T23:58:25Z nyef: No probably about it. 2015-01-04T23:59:36Z dandersen joined #lisp 2015-01-04T23:59:45Z MoALTz__ joined #lisp