2015-06-17T00:03:53Z k-dawg quit (Quit: This computer has gone to sleep) 2015-06-17T00:04:35Z myztic joined #lisp 2015-06-17T00:05:27Z Petit_Dejeuner joined #lisp 2015-06-17T00:09:28Z zygentoma quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2015-06-17T00:11:07Z innertracks joined #lisp 2015-06-17T00:17:31Z karswell quit (Read error: Connection reset by peer) 2015-06-17T00:17:48Z stepnem quit (Ping timeout: 276 seconds) 2015-06-17T00:18:13Z Karl_Dscc quit (Remote host closed the connection) 2015-06-17T00:18:28Z karswell joined #lisp 2015-06-17T00:23:25Z harish_ quit (Ping timeout: 265 seconds) 2015-06-17T00:27:03Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2015-06-17T00:33:36Z askatasuna joined #lisp 2015-06-17T00:35:11Z scharan quit (Quit: WeeChat 0.4.2) 2015-06-17T00:41:35Z veckon joined #lisp 2015-06-17T00:42:36Z nikki93 joined #lisp 2015-06-17T00:43:12Z veckon left #lisp 2015-06-17T00:43:43Z clop2 quit (Ping timeout: 265 seconds) 2015-06-17T00:47:36Z pjb: drmeister: if (declaim (optimize (space 0))) then it would be good to keep the source in the fasl, to be able to return a meaningful result from function-lambda-expression. On the other hand if (declaim (optimize (space 3))), then you may indeed try to avoid saving it. 2015-06-17T00:51:03Z nyef: Or even make it conditional on (> space debug). 2015-06-17T00:51:26Z pjb: Well, I don't see function-lambda-expression as a debugging facility. More like a documentation thing. 2015-06-17T00:51:36Z pjb: Also space can be used to filter docstrings. 2015-06-17T00:53:03Z spacebat` joined #lisp 2015-06-17T00:53:39Z spacebat`: #lisp: favourite pattern matching utility? 2015-06-17T00:54:54Z zacts quit (Quit: leaving) 2015-06-17T00:56:04Z clop2 joined #lisp 2015-06-17T00:56:34Z pjb: com.informatimago.common-lisp.cesarum.pmatch of course. 2015-06-17T00:56:45Z pjb: Faré prefers fare-matcher. 2015-06-17T00:56:57Z pjb: taoufik prefers his matcher. 2015-06-17T00:57:12Z pjb: Edi prefers cl-ppcre. 2015-06-17T00:57:54Z pjb: spacebat`: It's possible that fare-matcher is better than cesarum.pmatch; he's a better programmer than myself. 2015-06-17T00:58:29Z zacts joined #lisp 2015-06-17T01:02:35Z spacebat`: :) 2015-06-17T01:03:24Z spacebat`: I need something with a liberal license too, but I just wanted an opinion to help narrow the search 2015-06-17T01:03:39Z zacts: spacebat`: I wish I had your nick 2015-06-17T01:03:45Z zacts: it's cool 2015-06-17T01:03:48Z nyef: Ugh. This insufficiently-accursed spec. Mentions in the description for abstract class AREA that a constructor for any subclass may return +NOWHERE+ if it is handed parameters for an region that has no area. But doesn't mention it in the description of any of the region constructors! 2015-06-17T01:03:57Z zacts: I now want to get a t-shirt of a bat wearing a space helmet 2015-06-17T01:04:17Z zacts: (as long as the t-shirt is all fair trade and environmentally friendlier of course) 2015-06-17T01:05:19Z spacebat`: its from Ted Hughes' The Iron Man, there's a SpaceBatAngelDragon 2015-06-17T01:06:38Z zacts: oui 2015-06-17T01:06:41Z zacts: c'est bon 2015-06-17T01:08:40Z stevegt quit (Quit: Client Exiting) 2015-06-17T01:08:58Z klltkr joined #lisp 2015-06-17T01:09:44Z spacebat`: fare recommends optima 2015-06-17T01:10:05Z spacebat`: but its llgpl :) 2015-06-17T01:10:43Z askatasuna quit (Ping timeout: 256 seconds) 2015-06-17T01:11:29Z pjb: zacts: try: spacepteropus 2015-06-17T01:12:00Z zacts: there is this emacs starter kit for vimmers called spacemacs 2015-06-17T01:12:06Z zacts: I tried it once, it was cool 2015-06-17T01:12:08Z zacts: but 2015-06-17T01:12:18Z zacts: eventually it becomes limiting, as it departs from default emacs quite a lot 2015-06-17T01:12:19Z aap_ joined #lisp 2015-06-17T01:12:30Z pjb: or spacechiroptera 2015-06-17T01:15:27Z stevegt__ joined #lisp 2015-06-17T01:15:40Z aap quit (Ping timeout: 256 seconds) 2015-06-17T01:22:18Z Quadrescence joined #lisp 2015-06-17T01:22:20Z xrash quit (Remote host closed the connection) 2015-06-17T01:24:25Z sfbae quit (Ping timeout: 244 seconds) 2015-06-17T01:24:35Z sfbae joined #lisp 2015-06-17T01:24:49Z robot-beethoven joined #lisp 2015-06-17T01:29:28Z sfbae quit (Ping timeout: 276 seconds) 2015-06-17T01:36:06Z sheilong joined #lisp 2015-06-17T01:40:16Z jaykru quit (Quit: yawn) 2015-06-17T01:46:43Z yeticry quit (Ping timeout: 264 seconds) 2015-06-17T01:47:18Z yeticry joined #lisp 2015-06-17T01:48:25Z harish_ joined #lisp 2015-06-17T01:48:59Z sfbae joined #lisp 2015-06-17T01:50:31Z harish_ quit (Client Quit) 2015-06-17T01:53:34Z nikki93 quit (Remote host closed the connection) 2015-06-17T01:54:08Z nikki93 joined #lisp 2015-06-17T01:58:36Z nikki93 quit (Ping timeout: 252 seconds) 2015-06-17T02:00:22Z defaultxr joined #lisp 2015-06-17T02:01:56Z drmeister: pjb: You raise an excellent point. But wouldn't it be better to just store the lambda-list, closure-p and name? 2015-06-17T02:05:13Z Davidbrcz quit (Ping timeout: 264 seconds) 2015-06-17T02:05:49Z Bike: function-lambda-expression returns a valid lambda or nuthin, just a lambda list ain't enough 2015-06-17T02:20:20Z jleija quit (Quit: leaving) 2015-06-17T02:21:46Z stardiviner quit (Ping timeout: 265 seconds) 2015-06-17T02:22:10Z echo-area joined #lisp 2015-06-17T02:22:28Z frkout joined #lisp 2015-06-17T02:24:58Z thomas is now known as evilthomas 2015-06-17T02:26:23Z harish joined #lisp 2015-06-17T02:27:47Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2015-06-17T02:31:30Z clop2 quit (Ping timeout: 272 seconds) 2015-06-17T02:33:06Z kobain quit (Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/) 2015-06-17T02:35:34Z stardiviner joined #lisp 2015-06-17T02:37:10Z prphp joined #lisp 2015-06-17T02:37:51Z askatasuna joined #lisp 2015-06-17T02:39:21Z araujo_ joined #lisp 2015-06-17T02:41:19Z araujo quit (Ping timeout: 264 seconds) 2015-06-17T02:41:48Z EvW quit (Ping timeout: 256 seconds) 2015-06-17T02:42:16Z prphp quit (Ping timeout: 272 seconds) 2015-06-17T02:46:49Z icosa1 joined #lisp 2015-06-17T02:47:55Z spyrosoft quit (Ping timeout: 264 seconds) 2015-06-17T02:49:05Z manuel_ quit (Quit: manuel_) 2015-06-17T02:49:40Z sfbae quit (Quit: a) 2015-06-17T02:55:02Z OxMLR quit (Remote host closed the connection) 2015-06-17T02:57:18Z jaykru joined #lisp 2015-06-17T02:59:57Z myztic quit (Ping timeout: 265 seconds) 2015-06-17T03:05:22Z beach joined #lisp 2015-06-17T03:05:33Z beach: Good morning everyone! 2015-06-17T03:06:50Z nyef: Hello beach. 2015-06-17T03:08:48Z bb010g joined #lisp 2015-06-17T03:09:56Z psy_ quit (Quit: Leaving) 2015-06-17T03:10:09Z gingerale joined #lisp 2015-06-17T03:10:32Z psy_ joined #lisp 2015-06-17T03:10:42Z harish quit (Ping timeout: 276 seconds) 2015-06-17T03:11:44Z lptm quit (Quit: fix config) 2015-06-17T03:12:13Z pyon joined #lisp 2015-06-17T03:12:30Z cluck quit (Remote host closed the connection) 2015-06-17T03:14:31Z myztic joined #lisp 2015-06-17T03:17:02Z drmeister: If I write an ASDF system :cleavir-clasp and I use (require :cleavir-clasp) to load it (this works) - where do I put the (provide :cleavir-clasp) to keep it from loading more than once? 2015-06-17T03:17:22Z drmeister: What's the commonly accepted place to put it? 2015-06-17T03:17:55Z drmeister: Hi beach! 2015-06-17T03:19:29Z phadthai quit (Ping timeout: 250 seconds) 2015-06-17T03:19:48Z beach: drmeister: ASDF takes care of that as I recall. 2015-06-17T03:20:44Z drmeister: Hmm, it doesn't appear to in my case. I (require :clasp-cleavir), it loads and then *modules* --> no "CLASP-CLEAVIR" "clasp-cleavir" 2015-06-17T03:21:07Z phadthai joined #lisp 2015-06-17T03:21:14Z beach: Right, it calls ASDF again and ASDF realizes it is already loaded. 2015-06-17T03:21:35Z beach: Again, from memory. 2015-06-17T03:21:47Z kcj joined #lisp 2015-06-17T03:22:31Z drmeister: Hmm, for this system it tries to load it again and it crashes - I don't know why. 2015-06-17T03:22:41Z drmeister: Maybe it's a problem with inlining. 2015-06-17T03:23:06Z drmeister: I'll try loading it twice in a row myself. Currently it's being loaded from another file. 2015-06-17T03:24:15Z beach: What do you mean by "the system being loaded"? 2015-06-17T03:24:20Z beach: The ASDF file? 2015-06-17T03:24:29Z drmeister: I've just been through a day of painfully slow debugging of bootstrapping problems involving bringing up Cleavir with inlining. 2015-06-17T03:24:58Z drmeister: Yes, the ASDF system. I'm loading it using (require :clasp-cleavir) - it loads "clasp-cleavir.asd" 2015-06-17T03:25:37Z beach: Who cares? 2015-06-17T03:25:50Z drmeister: I do, it crashes the second time. 2015-06-17T03:25:59Z beach: Then there is a bug. 2015-06-17T03:26:04Z drmeister: Yeah. 2015-06-17T03:26:24Z beach: But the solution to that problem is not to prevent it from being loaded a second time. 2015-06-17T03:26:28Z harish joined #lisp 2015-06-17T03:26:30Z beach: The solution is to find the bug. 2015-06-17T03:27:10Z pyon is now known as lptm 2015-06-17T03:28:20Z Jesin quit (Quit: Leaving) 2015-06-17T03:28:45Z drmeister: After finding about 20 bugs today and getting tired and wanting to try and launch a multi-hour compile before I fall asleep I thought I could leave one bug for tomorrow. You know. Otherwise what would I do with my time? 2015-06-17T03:28:58Z nikki93 joined #lisp 2015-06-17T03:29:04Z beach: I see. 2015-06-17T03:29:15Z beach: Don't call require then. 2015-06-17T03:29:21Z beach: Call ASDF instead. 2015-06-17T03:29:23Z drmeister: Right. I don't walk away from bugs. 2015-06-17T03:29:57Z drmeister: At first I thought it was because the module wasn't being PROVIDE'd. But now I see that that is not the problem. 2015-06-17T03:30:26Z drmeister: system, not module, system. Modules are what python has. 2015-06-17T03:30:34Z beach: My guess would be that if you PROVIDE it and then change some source, it won't be recompiled. 2015-06-17T03:31:09Z beach: Just guessing of course. 2015-06-17T03:31:12Z drmeister: Yes, I was concerned about that. 2015-06-17T03:31:51Z drmeister: Are you still working on the little laptop? 2015-06-17T03:31:58Z beach: Yes. 2015-06-17T03:32:04Z beach: A few more days. 2015-06-17T03:32:45Z drmeister: Off the top of your head, what else should I inline? CONSP,CAR,CDR,RPLACA,RPLACD currently. 2015-06-17T03:34:10Z drmeister: I have eq-instruction generating efficient code but I haven't inlined EQ yet. 2015-06-17T03:35:16Z beach: EQ is good. 2015-06-17T03:36:44Z trebor_home joined #lisp 2015-06-17T03:36:51Z smokeink joined #lisp 2015-06-17T03:37:34Z beach: If you think there is a problem with inlining, you probably should not inline more things until you find this problem or decide the problem is elsewhere. 2015-06-17T03:37:51Z drmeister: Jumping to another topic: what does the source code tracking API look like at this point? 2015-06-17T03:38:07Z drmeister: Debugging cclasp at this point is like reading tea leaves. 2015-06-17T03:38:36Z nyef: Mmm... tea... 2015-06-17T03:40:23Z beach: drmeister: Can I perhaps as you to look in the file source-tracking.lisp? 2015-06-17T03:40:45Z drmeister: Whoah. There's a source-tracking.lisp file - I'm there. 2015-06-17T03:41:18Z sdothum quit (Ping timeout: 256 seconds) 2015-06-17T03:42:38Z innertracks quit (Quit: innertracks) 2015-06-17T03:44:21Z alusion quit (Quit: WeeChat 1.3-dev) 2015-06-17T03:44:35Z nell joined #lisp 2015-06-17T03:45:08Z nell quit (Client Quit) 2015-06-17T03:46:13Z nell joined #lisp 2015-06-17T03:49:01Z drmeister: Cool. Ok, so for (defgeneric begin-source (source-info expression)), source-info is the form that I passed to generate-ast and expression is a sub-form and begin-source returns the source position of the sub-form or nil? 2015-06-17T03:50:19Z nikki93 quit (Remote host closed the connection) 2015-06-17T03:51:10Z drmeister: That's just summarizing what I think I read several times. 2015-06-17T03:51:35Z drmeister: Then the question is: "How do I get the source info for a MIR instruction"? 2015-06-17T03:51:51Z nikki93 joined #lisp 2015-06-17T03:52:50Z beach: drmeister: source-info is not a form. 2015-06-17T03:53:23Z beach: drmeister: Currently generate-ast doesn't take a source-info object as an argument, because I haven't added that yet. 2015-06-17T03:54:02Z beach: The reason I haven't added it yet, is that last time I changed the signature of some function, it created problems for you for months. 2015-06-17T03:54:12Z beach: So I am being more cautious this time. 2015-06-17T03:54:15Z drmeister: Ah, I assumed it was what I currently pass generate-ast. 2015-06-17T03:54:38Z mbuf joined #lisp 2015-06-17T03:54:44Z beach: As the comment explains, it is an object that the implementation decides upon and that is used for dispatch. 2015-06-17T03:55:24Z drmeister: I appreciate your thoughtfulness, I can handle generate-ast changing it's signature. For better debugging I would happily suffer quite a bit. 2015-06-17T03:56:21Z drmeister: Once I had it fixed in my mind that it was the form it stuck. 2015-06-17T03:57:02Z drmeister: Reading again... 2015-06-17T03:57:22Z beach: You wouldn't be able to write a method specialized to a form. 2015-06-17T03:57:27Z drmeister: I see. 2015-06-17T03:57:42Z scymtym joined #lisp 2015-06-17T03:57:56Z drmeister: I glossed over that. 2015-06-17T03:59:07Z drmeister: Are the types of SOURCE-INFO and the return value of BEGIN-SOURCE the same? 2015-06-17T04:00:42Z beach: Typically not. 2015-06-17T04:00:54Z kushal joined #lisp 2015-06-17T04:01:00Z drmeister: What does SOURCE-INFO represent? Is it just used for dispatching? 2015-06-17T04:01:02Z beach: But Cleavir doesn't care what you return from BEGIN-SOURCE. 2015-06-17T04:01:28Z beach: drmeister: you can use it to hold things like information about the file, and whatnot. 2015-06-17T04:02:01Z beach: That way, you don't have to remember what file you are compiling. 2015-06-17T04:02:32Z beach: You can store your hash table in it that maps forms to source information. 2015-06-17T04:02:59Z drmeister: I see. So I set this SOURCE-INFO thing up, pass it to generate-ast and then Cleavir calls BEGIN-SOURCE passing this SOURCE-INFO into it along with sub-expressions and BEGIN-SOURCE returns objects that Cleavir sees as opaque but they identify source info about the sub-expression. 2015-06-17T04:03:40Z beach: Sounds right. 2015-06-17T04:03:57Z Xof quit (Ping timeout: 240 seconds) 2015-06-17T04:04:10Z drmeister: What about the other end, when translating the MIR instructions, can I get the source info for each MIR instruction? 2015-06-17T04:04:40Z beach: Ultimately, this information will be passed from AST to HIR to MIR. 2015-06-17T04:05:16Z phadthai quit (Ping timeout: 265 seconds) 2015-06-17T04:05:19Z askatasuna quit (Quit: WeeChat 1.2) 2015-06-17T04:05:24Z phadthai joined #lisp 2015-06-17T04:07:17Z jason_m quit (Ping timeout: 240 seconds) 2015-06-17T04:07:28Z drmeister: Well, if you have the time to implement more or all of this I would greatly appreciate it. I have the source location available already from my reader and weak-key hash tables. 2015-06-17T04:07:58Z drmeister: I'm feeling a strong sense of deja vu. If I've said this already I apologize. 2015-06-17T04:08:24Z beach: Personally, I think if you introduce new code in several different parts of the system at the same time, you will have a much harder time debugging problems that pop up. 2015-06-17T04:09:20Z beach: So my suggestion would be that if you want source tracking, you should turn off inlining for now, especially if you think that there is a problem with inlining as you said before. 2015-06-17T04:09:21Z drmeister: Is that a general observation or are you pointing out something about my coding style (which is ok). 2015-06-17T04:09:55Z beach: I am not commenting on your code. 2015-06-17T04:10:06Z drmeister: Turn off inlining - yes, I can do that easily. 2015-06-17T04:10:32Z drmeister: I didn't mean that in any backhanded way. I've been all over the place in the past couple of weeks. 2015-06-17T04:10:56Z nyef: drmeister: Literally as well as figuratively? 2015-06-17T04:11:03Z beach: I am commenting on how you add several new "modules" to your system, which is still not fully tested, and then, when a problem shows up, you don't have a very good idea of where it is, like the bug in method combination, for instance. 2015-06-17T04:11:20Z rtoym: Is it legal for the style-warning condition to have a different class precedence list? I was wondering if I could add a new class to the precedence list. 2015-06-17T04:11:37Z brucem: drmeister, beach: "slow and steady wins the race" 2015-06-17T04:12:32Z beach: drmeister: You can do what you want of course, but it is hard for me to debug a "problem with Cleavir" that turns out to be a problem with method combination in Clasp. 2015-06-17T04:12:54Z rtoym: I want to create a new condition style-warning-reference which is a style-warning. 2015-06-17T04:13:37Z beach: I think you can add new classes to the precedence list of pretty much any class. 2015-06-17T04:14:02Z beach: rtoym: ... as long as you don't break the relative order of what is specified. 2015-06-17T04:14:55Z nyef: rtoym: That's what I'm remembering as well. Trying to find chapter and verse now. 2015-06-17T04:15:13Z aridere joined #lisp 2015-06-17T04:16:06Z drmeister: I recorded the source tracking conversation in Evernote. I'll refer to that in the future. 2015-06-17T04:17:00Z beach: drmeister: I just download all the logs to my computer. Then I can use my usual tools on it, like grep, etc. 2015-06-17T04:17:44Z drmeister: beach: There is so much in the logs, but yes, good idea. 2015-06-17T04:18:18Z beach: drmeister: Yeah, several megabytes as I recall. Perhaps even a gigabyte or so. 2015-06-17T04:18:47Z nyef: clhs condition 2015-06-17T04:18:47Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/e_cnd.htm 2015-06-17T04:18:51Z nell quit (Quit: WeeChat 1.3-dev) 2015-06-17T04:19:01Z beach: drmeister: Didn't make a dent in the disk space available on this dinky laptop. 2015-06-17T04:19:16Z nyef: Says that an implementation may define new subtypes of any defined condition class. 2015-06-17T04:20:13Z drmeister: General question: Is there any way to trace what files ASDF is loading as it loads them? 2015-06-17T04:20:42Z OrangeShark quit (Quit: Leaving) 2015-06-17T04:21:27Z nyef: I would argue that an instance of any implementation-specific subclass of some condition class specified to be used in a given situation is legit, because it is also (indirectly) an instance of the superclass in question. 2015-06-17T04:22:36Z Bike: well i mean of course you can throw in classes. like, hash-table's listed cpl is hash-table, t. there's gonna be stuff in the middle. 2015-06-17T04:23:22Z nell joined #lisp 2015-06-17T04:24:44Z nikki93 quit (Remote host closed the connection) 2015-06-17T04:25:17Z nikki93 joined #lisp 2015-06-17T04:27:31Z spacebat` quit (Ping timeout: 264 seconds) 2015-06-17T04:29:25Z spacebat` joined #lisp 2015-06-17T04:30:02Z nikki93 quit (Ping timeout: 256 seconds) 2015-06-17T04:31:21Z drmeister: Hmm, when I turn off inlining I can load the :clasp-cleavir ASDF system six times, no problem. 2015-06-17T04:33:58Z emaczen quit (Remote host closed the connection) 2015-06-17T04:35:06Z tmtwd joined #lisp 2015-06-17T04:37:37Z trebor_home quit (Ping timeout: 240 seconds) 2015-06-17T04:39:32Z xan_ joined #lisp 2015-06-17T04:40:51Z CrazyEddy joined #lisp 2015-06-17T04:42:58Z xan__ quit (Ping timeout: 265 seconds) 2015-06-17T04:43:13Z harish quit (Ping timeout: 256 seconds) 2015-06-17T04:44:51Z trebor_home joined #lisp 2015-06-17T04:50:01Z jaykru quit (Quit: leaving desu) 2015-06-17T04:50:37Z Davidbrcz joined #lisp 2015-06-17T04:50:46Z mvilleneuve joined #lisp 2015-06-17T04:53:48Z araujo_ quit (Quit: Leaving) 2015-06-17T04:55:50Z harish joined #lisp 2015-06-17T04:57:21Z tmtwd quit (Quit: Leaving) 2015-06-17T04:59:49Z kushal quit (Ping timeout: 265 seconds) 2015-06-17T05:02:06Z emaczen joined #lisp 2015-06-17T05:02:40Z selat joined #lisp 2015-06-17T05:02:45Z yeticry quit (Read error: Connection reset by peer) 2015-06-17T05:03:13Z malbertife joined #lisp 2015-06-17T05:06:27Z BitPuffin|osx quit (Ping timeout: 256 seconds) 2015-06-17T05:08:35Z yeticry joined #lisp 2015-06-17T05:09:17Z oleo_ quit (Quit: Leaving) 2015-06-17T05:09:21Z Devon: ;;; Seems to me, given, e.g., (defmacro bar ... (declare (indent baz)) ...) 2015-06-17T05:09:21Z Devon: ;;; slime should tell emacs to (put 'bar 'common-lisp-indent-function 'baz) 2015-06-17T05:09:21Z Devon: ;;; has this been done already? 2015-06-17T05:09:45Z RussT1 joined #lisp 2015-06-17T05:10:42Z nyef: Note that you'd need to arrange for INDENT to be declaimed as a declaration. 2015-06-17T05:10:58Z nikki93 joined #lisp 2015-06-17T05:11:10Z tmtwd joined #lisp 2015-06-17T05:11:25Z Bike: i think zwei or something had declarations like that 2015-06-17T05:12:05Z nyef: Almost certainly, but that would be in the context of Lisp Machine Lisp. 2015-06-17T05:15:09Z mvilleneuve quit (Quit: This computer has gone to sleep) 2015-06-17T05:18:44Z A205B064 quit (Ping timeout: 265 seconds) 2015-06-17T05:18:46Z Devon: I've used Local Variables but that's awkward. 2015-06-17T05:20:30Z Devon: Surely someone already has some find-file-hook to do this. 2015-06-17T05:25:20Z beach left #lisp 2015-06-17T05:34:07Z Brozo quit (Quit: Leaving...) 2015-06-17T05:38:49Z nyef quit (Ping timeout: 264 seconds) 2015-06-17T05:56:42Z GuilOooo quit (Ping timeout: 244 seconds) 2015-06-17T05:56:51Z nell quit (Quit: WeeChat 1.3-dev) 2015-06-17T05:56:56Z GuilOooo joined #lisp 2015-06-17T06:00:22Z wgslayer joined #lisp 2015-06-17T06:01:09Z Tristam quit (Remote host closed the connection) 2015-06-17T06:02:47Z Tristam joined #lisp 2015-06-17T06:05:13Z nell joined #lisp 2015-06-17T06:11:10Z trebor_home quit (Ping timeout: 244 seconds) 2015-06-17T06:11:16Z CrazyEddy quit (Remote host closed the connection) 2015-06-17T06:11:40Z RussT1 quit (Read error: Connection reset by peer) 2015-06-17T06:12:28Z nikki93 quit (Remote host closed the connection) 2015-06-17T06:13:01Z nikki93 joined #lisp 2015-06-17T06:16:15Z psy_ quit (Ping timeout: 265 seconds) 2015-06-17T06:17:19Z nikki93 quit (Ping timeout: 245 seconds) 2015-06-17T06:17:25Z keen__________ joined #lisp 2015-06-17T06:18:18Z keen_________ quit (Read error: Connection reset by peer) 2015-06-17T06:21:20Z nikki93 joined #lisp 2015-06-17T06:24:18Z Xof joined #lisp 2015-06-17T06:26:02Z pt1 joined #lisp 2015-06-17T06:28:22Z Shinmera joined #lisp 2015-06-17T06:30:13Z qubitnerd joined #lisp 2015-06-17T06:31:25Z CrazyEddy joined #lisp 2015-06-17T06:31:45Z mrSpec joined #lisp 2015-06-17T06:35:03Z innertracks joined #lisp 2015-06-17T06:36:38Z innertracks quit (Client Quit) 2015-06-17T06:39:08Z malbertife quit (Ping timeout: 272 seconds) 2015-06-17T06:40:10Z sfa_ quit (Ping timeout: 255 seconds) 2015-06-17T06:40:25Z Jaskologist quit (Ping timeout: 265 seconds) 2015-06-17T06:40:52Z psy_ joined #lisp 2015-06-17T06:41:10Z sfa joined #lisp 2015-06-17T06:41:39Z sheilong quit (Quit: WeeChat 1.1.1) 2015-06-17T06:42:23Z futpib joined #lisp 2015-06-17T06:48:17Z tmtwd quit (Quit: Leaving) 2015-06-17T06:49:54Z ndrei joined #lisp 2015-06-17T06:59:19Z araujo joined #lisp 2015-06-17T07:05:53Z jewel joined #lisp 2015-06-17T07:08:56Z yasha_ joined #lisp 2015-06-17T07:11:07Z futpib quit (Ping timeout: 256 seconds) 2015-06-17T07:12:40Z yasha9 quit (Ping timeout: 276 seconds) 2015-06-17T07:15:13Z aap_ is now known as aap 2015-06-17T07:17:15Z lispyone joined #lisp 2015-06-17T07:17:30Z tessier quit (Changing host) 2015-06-17T07:17:30Z tessier joined #lisp 2015-06-17T07:18:25Z przl joined #lisp 2015-06-17T07:19:48Z harish quit (Ping timeout: 252 seconds) 2015-06-17T07:20:03Z OldK joined #lisp 2015-06-17T07:20:29Z mishoo joined #lisp 2015-06-17T07:21:04Z radioninja quit (Ping timeout: 245 seconds) 2015-06-17T07:22:37Z lispyone quit (Ping timeout: 264 seconds) 2015-06-17T07:26:05Z Cymew joined #lisp 2015-06-17T07:26:23Z theos quit (Disconnected by services) 2015-06-17T07:26:58Z theos joined #lisp 2015-06-17T07:27:22Z Whymind joined #lisp 2015-06-17T07:27:50Z Mon_Ouie joined #lisp 2015-06-17T07:28:17Z cadadar joined #lisp 2015-06-17T07:29:09Z Davidbrcz quit (Ping timeout: 252 seconds) 2015-06-17T07:30:13Z egrep quit (Quit: Error -38: Black hole has swalled this client.) 2015-06-17T07:30:45Z egrep joined #lisp 2015-06-17T07:34:08Z Mon_Ouie quit (Ping timeout: 264 seconds) 2015-06-17T07:34:31Z grouzen joined #lisp 2015-06-17T07:36:41Z munksgaard joined #lisp 2015-06-17T07:38:04Z hiroakip joined #lisp 2015-06-17T07:40:31Z Ven joined #lisp 2015-06-17T07:41:34Z mvilleneuve joined #lisp 2015-06-17T07:42:20Z stepnem joined #lisp 2015-06-17T07:48:05Z mvilleneuve quit (Ping timeout: 265 seconds) 2015-06-17T07:48:11Z ggole joined #lisp 2015-06-17T07:59:33Z dkcl quit (Remote host closed the connection) 2015-06-17T08:01:27Z dkcl joined #lisp 2015-06-17T08:03:05Z nikki93 quit (Remote host closed the connection) 2015-06-17T08:04:31Z ASau quit (Read error: Connection reset by peer) 2015-06-17T08:05:19Z theverbg quit (Ping timeout: 276 seconds) 2015-06-17T08:06:04Z OldK quit (Ping timeout: 245 seconds) 2015-06-17T08:06:19Z ASau joined #lisp 2015-06-17T08:07:19Z flash- joined #lisp 2015-06-17T08:08:20Z OldK joined #lisp 2015-06-17T08:10:28Z kcj_ joined #lisp 2015-06-17T08:12:51Z kcj quit (Ping timeout: 250 seconds) 2015-06-17T08:13:28Z Harag joined #lisp 2015-06-17T08:13:50Z wooden quit (Ping timeout: 246 seconds) 2015-06-17T08:14:37Z ASau` joined #lisp 2015-06-17T08:14:39Z ASau quit (Read error: Connection reset by peer) 2015-06-17T08:16:17Z munksgaard quit (Ping timeout: 240 seconds) 2015-06-17T08:18:25Z wooden joined #lisp 2015-06-17T08:18:44Z wooden quit (Changing host) 2015-06-17T08:18:44Z wooden joined #lisp 2015-06-17T08:20:37Z przl quit (Ping timeout: 240 seconds) 2015-06-17T08:21:01Z redeemed joined #lisp 2015-06-17T08:24:42Z Shinmera: drmeister: You can use (asdf/plan:plan-actions (asdf:make-plan 'asdf/plan:sequential-plan :load-op :system)) 2015-06-17T08:25:03Z ASau` is now known as ASau 2015-06-17T08:26:11Z Shinmera: drmeister: However, from my experience ASDF may not perform certain actions. Why/how that happens I'm not entirely sure about. The performing of certain actions may also invoke further ASDF operations, meaning further plans are generated and traversed. 2015-06-17T08:28:28Z Shinmera: drmeister: Otherwise, just a simple (trace cl:load) should work. 2015-06-17T08:30:33Z yenda joined #lisp 2015-06-17T08:31:04Z jewel quit (Ping timeout: 245 seconds) 2015-06-17T08:31:23Z przl joined #lisp 2015-06-17T08:33:08Z bytecrawler joined #lisp 2015-06-17T08:33:17Z cadadar quit (Quit: Leaving.) 2015-06-17T08:33:43Z nikki93 joined #lisp 2015-06-17T08:37:00Z qubitnerd quit (Ping timeout: 276 seconds) 2015-06-17T08:37:49Z Harag quit (Ping timeout: 256 seconds) 2015-06-17T08:40:05Z nikki93 quit (Ping timeout: 246 seconds) 2015-06-17T08:41:12Z harish_ joined #lisp 2015-06-17T08:42:33Z loz joined #lisp 2015-06-17T08:43:14Z harish_ quit (Read error: Connection reset by peer) 2015-06-17T08:43:33Z loz: greetings 2015-06-17T08:44:27Z loz: is there any kind of lisp suitable for embedded? like 192k ram microcontrollers 2015-06-17T08:45:11Z H4ns: loz: not common lisp. try #scheme or picolisp or something like that. chicken scheme is pretty small and embeddable friendly. 2015-06-17T08:46:12Z loz: H4ns: not cl, but i think people here have used wide range of lisps 2015-06-17T08:46:33Z loz: one i found is maru, but its repl is around 400k 2015-06-17T08:48:01Z przl quit (Ping timeout: 256 seconds) 2015-06-17T08:50:23Z jackdaniel: I'd say best shot would be scheme 2015-06-17T08:50:55Z jackdaniel: http://microscheme.org/ 2015-06-17T08:53:02Z angavrilov joined #lisp 2015-06-17T08:54:14Z larion joined #lisp 2015-06-17T09:00:50Z qubitnerd joined #lisp 2015-06-17T09:03:14Z p_l: loz: there's also the approach of writing a compiler in CL and generating code this way 2015-06-17T09:03:58Z Karl_Dscc joined #lisp 2015-06-17T09:04:09Z p_l: harkens back to JPL embedded work back when 192k ram would be huge, and Symbolics Lisp Machines' microcode (generated by "LIL" language, written in Lisp) 2015-06-17T09:05:25Z zacharias joined #lisp 2015-06-17T09:07:22Z mea-culp` joined #lisp 2015-06-17T09:09:50Z mea-culpa quit (Ping timeout: 246 seconds) 2015-06-17T09:10:51Z mea-culp` is now known as mea-culpa 2015-06-17T09:13:01Z cadadar joined #lisp 2015-06-17T09:13:33Z Joreji joined #lisp 2015-06-17T09:16:20Z mrSpec quit (Read error: No route to host) 2015-06-17T09:17:57Z larion quit (Ping timeout: 276 seconds) 2015-06-17T09:18:10Z larion joined #lisp 2015-06-17T09:18:13Z cadadar quit (Read error: Connection reset by peer) 2015-06-17T09:18:28Z cadadar joined #lisp 2015-06-17T09:19:21Z lispyone joined #lisp 2015-06-17T09:21:33Z qsun quit (Read error: Connection reset by peer) 2015-06-17T09:21:59Z qsun joined #lisp 2015-06-17T09:23:03Z Karl_Dscc quit (Remote host closed the connection) 2015-06-17T09:23:47Z lispyone quit (Ping timeout: 265 seconds) 2015-06-17T09:24:13Z cadadar quit (Quit: Leaving.) 2015-06-17T09:24:51Z cadadar joined #lisp 2015-06-17T09:25:20Z fantazo joined #lisp 2015-06-17T09:25:31Z k-dawg joined #lisp 2015-06-17T09:25:38Z k-dawg quit (Remote host closed the connection) 2015-06-17T09:27:18Z Harag joined #lisp 2015-06-17T09:27:25Z qsun quit (Read error: Connection reset by peer) 2015-06-17T09:27:44Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2015-06-17T09:27:54Z qsun joined #lisp 2015-06-17T09:29:53Z k-dawg joined #lisp 2015-06-17T09:31:02Z mrSpec joined #lisp 2015-06-17T09:32:23Z yenda quit (Remote host closed the connection) 2015-06-17T09:32:53Z qsun_ joined #lisp 2015-06-17T09:34:18Z k-dawg quit (Client Quit) 2015-06-17T09:35:13Z qsun quit (Ping timeout: 255 seconds) 2015-06-17T09:35:46Z attila_lendvai joined #lisp 2015-06-17T09:36:27Z nikki93 joined #lisp 2015-06-17T09:36:51Z loke_ joined #lisp 2015-06-17T09:37:05Z loke_: Has anyone seen any problems with CFFI after the most recent QL update? 2015-06-17T09:37:43Z loke_: I'm doing a simple function call and now getting "The value 0 is not of type SB-SYS:SYSTEM-AREA-POINTER" 2015-06-17T09:38:17Z loke_: It's inside the thing defined by defcfun 2015-06-17T09:40:15Z cadadar quit (Quit: Leaving.) 2015-06-17T09:40:39Z nikki93 quit (Ping timeout: 245 seconds) 2015-06-17T09:44:10Z Beetny joined #lisp 2015-06-17T09:44:17Z ndrei quit (Ping timeout: 250 seconds) 2015-06-17T09:46:31Z ndrei joined #lisp 2015-06-17T09:46:35Z emaczen quit (Remote host closed the connection) 2015-06-17T09:46:50Z emaczen joined #lisp 2015-06-17T09:47:42Z sz0 quit (Quit: Bye.) 2015-06-17T09:47:42Z Karl_Dscc joined #lisp 2015-06-17T09:49:01Z mrSpec quit (Ping timeout: 264 seconds) 2015-06-17T09:49:24Z milosn quit (Ping timeout: 245 seconds) 2015-06-17T09:49:34Z sz0 joined #lisp 2015-06-17T09:50:08Z OldK` joined #lisp 2015-06-17T09:50:32Z milosn joined #lisp 2015-06-17T09:50:39Z AeroNotix quit (Ping timeout: 245 seconds) 2015-06-17T09:51:16Z ndrei quit (Ping timeout: 265 seconds) 2015-06-17T09:51:39Z OldK quit (Ping timeout: 250 seconds) 2015-06-17T09:52:27Z AeroNotix joined #lisp 2015-06-17T09:52:52Z thodg joined #lisp 2015-06-17T09:54:39Z munksgaard joined #lisp 2015-06-17T09:55:18Z defaultxr quit (Quit: gnight) 2015-06-17T09:56:54Z ndrei joined #lisp 2015-06-17T09:59:54Z gravicappa joined #lisp 2015-06-17T09:59:57Z troydm quit (Quit: What is hope? That all of your wishes and all of your dreams come true? (C) Rau Le Creuset) 2015-06-17T10:01:09Z remi`bd joined #lisp 2015-06-17T10:01:41Z intinig joined #lisp 2015-06-17T10:02:11Z troydm joined #lisp 2015-06-17T10:03:07Z mrSpec joined #lisp 2015-06-17T10:03:41Z Karl_Dscc quit (Remote host closed the connection) 2015-06-17T10:06:01Z qsun_ quit (Read error: Connection reset by peer) 2015-06-17T10:06:30Z qsun_ joined #lisp 2015-06-17T10:08:54Z mea-culpa quit (Remote host closed the connection) 2015-06-17T10:09:21Z loke_ quit (Ping timeout: 244 seconds) 2015-06-17T10:11:21Z icosa1 quit (Remote host closed the connection) 2015-06-17T10:12:01Z p_l: actually, wouldn't something like "LIL" allow for completely C-less SBCL (or other impl) images? 2015-06-17T10:12:25Z ndrei quit (Ping timeout: 264 seconds) 2015-06-17T10:13:16Z echo-area quit (Remote host closed the connection) 2015-06-17T10:15:11Z robot-beethoven quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2015-06-17T10:18:32Z BitPuffin|osx joined #lisp 2015-06-17T10:23:49Z ndrei joined #lisp 2015-06-17T10:25:27Z loz: p_l this lil? https://github.com/fare/lisp-interface-library 2015-06-17T10:28:37Z kcj_ quit (Ping timeout: 264 seconds) 2015-06-17T10:33:17Z Quadrescence quit (Quit: This computer has gone to sleep) 2015-06-17T10:38:01Z xificurC quit (Ping timeout: 250 seconds) 2015-06-17T10:38:01Z phadthai quit (Read error: Connection reset by peer) 2015-06-17T10:38:52Z phadthai joined #lisp 2015-06-17T10:39:22Z ASau quit (Ping timeout: 276 seconds) 2015-06-17T10:46:08Z sdothum joined #lisp 2015-06-17T10:47:26Z xificurC joined #lisp 2015-06-17T10:50:17Z ndrei quit (Ping timeout: 246 seconds) 2015-06-17T10:52:10Z ndrei joined #lisp 2015-06-17T10:52:12Z hiroakip quit (Ping timeout: 276 seconds) 2015-06-17T10:53:13Z xificurC quit (Ping timeout: 264 seconds) 2015-06-17T10:53:18Z xificurC_ joined #lisp 2015-06-17T10:57:29Z aerique: I can't recall and can't find in my older code what to do to get SBCL to report optimizations notes. 2015-06-17T10:58:28Z aerique: ah nevermind 2015-06-17T10:58:30Z attila_lendvai quit (Ping timeout: 252 seconds) 2015-06-17T10:58:55Z aerique: Found the answer and my own question on reddit :-| 2015-06-17T11:00:33Z ndrei quit (Ping timeout: 250 seconds) 2015-06-17T11:01:23Z nikki93 joined #lisp 2015-06-17T11:01:49Z ndrei joined #lisp 2015-06-17T11:05:41Z larion quit (Ping timeout: 246 seconds) 2015-06-17T11:06:30Z nikki93 quit (Ping timeout: 276 seconds) 2015-06-17T11:07:30Z larion joined #lisp 2015-06-17T11:16:05Z hardenedapple joined #lisp 2015-06-17T11:16:05Z Cymew: Optimizations notes? 2015-06-17T11:16:05Z minion: Cymew, memo from pjb: you need to read the giants: https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html 2015-06-17T11:16:05Z minion: Cymew, memo from pjb: You can always do: (defpackage "CYMEW-LISP" (:use "CL") (:shadow "AREF") (:export "CAR" … "AREF")) (defun cymew-lisp:aref (a &rest indices) (apply (function cl:aref) (mapcar (function 1-) indices))) (defun (setf cymew-lisp:aref) …) (defpackage "CYMEW-LISP-USER (:use "CYMEW-LISP")) (in-package "CYMEW-LISP-USER") 2015-06-17T11:16:38Z p_l: loz: no, LIL from Symbolics, which was a small "pascal semantics with lisp syntax and style" programming language, used to write microcode for Ivory 2015-06-17T11:16:54Z ndrei quit (Ping timeout: 276 seconds) 2015-06-17T11:17:17Z Karl_Dscc joined #lisp 2015-06-17T11:17:29Z ndrei joined #lisp 2015-06-17T11:17:42Z loz: p_l: google gives me "Illuminati and Satanic Symbolism in Lil Wayne ft Big Sean" for lil from symbolics :D 2015-06-17T11:18:06Z p_l: welcome to the internet, we got loonies 2015-06-17T11:26:31Z sdothum quit (Quit: ZNC - 1.6.0 - http://znc.in) 2015-06-17T11:34:34Z sdothum joined #lisp 2015-06-17T11:35:42Z arpunk quit (Read error: Connection reset by peer) 2015-06-17T11:36:20Z arpunk joined #lisp 2015-06-17T11:37:42Z emaczen: I need some help with the CCL cocoa-bridge. I'm following the currency-converter tutorial, and without using IB you need to create the connections between the gui-elements and the controller class. 2015-06-17T11:37:57Z emaczen: I need help creating this connections from code 2015-06-17T11:39:09Z loz: guys, how do i merge my fixes to upstream for 2012-year cl library? 2015-06-17T11:39:22Z yasha_ quit (Quit: Ухожу я от вас (xchat 2.4.5 или старше)) 2015-06-17T11:39:41Z EvW joined #lisp 2015-06-17T11:46:29Z Beetny quit (Ping timeout: 244 seconds) 2015-06-17T11:49:17Z mood: loz: That depends entirely on the library author's way of handling that. If it's on GitHub you'll normally open a pull request 2015-06-17T11:49:34Z trebor_home joined #lisp 2015-06-17T11:49:37Z user4 joined #lisp 2015-06-17T11:49:43Z Jaskologist joined #lisp 2015-06-17T11:49:57Z loz: mood: nope, its not on github 2015-06-17T11:51:39Z przl joined #lisp 2015-06-17T11:52:46Z hiroakip joined #lisp 2015-06-17T11:53:38Z user4 quit (Quit: Leaving) 2015-06-17T11:53:38Z thodg quit (Ping timeout: 246 seconds) 2015-06-17T11:53:45Z loz: btw there is a design question, we have nice http client drakma, that tries to determine stream type according its content-type 2015-06-17T11:54:10Z loz: but inside it has only (defvar *text-content-types* '(("text" . nil)) 2015-06-17T11:54:57Z loz: should a library add content-types it uses to this list? 2015-06-17T11:55:18Z xificurC_ quit (Quit: WeeChat 1.2) 2015-06-17T11:55:39Z xificurC joined #lisp 2015-06-17T11:56:06Z loz: or should drakma contain predefined lisp for popular formats? 2015-06-17T11:56:51Z mood: loz: You could also locally bind *text-content-types* to include whatever you need it to 2015-06-17T11:57:46Z loz: why would i want to bind it locally, instead of just add content types? they are unique and does not affect each other 2015-06-17T11:58:50Z mood: Because adding a content type could, potentially, break other code that depends on a byte vector result 2015-06-17T11:58:52Z EvW quit (Ping timeout: 265 seconds) 2015-06-17T11:58:57Z yasha9 joined #lisp 2015-06-17T12:00:28Z loz: oh damn, ye, it can break other code 2015-06-17T12:01:50Z munksgaard quit (Quit: Lost terminal) 2015-06-17T12:02:02Z drmeister: Shinmera: Thank you. (trace cl:load) - that's so simple. 2015-06-17T12:02:05Z nikki93 joined #lisp 2015-06-17T12:03:02Z ndrei quit (Ping timeout: 252 seconds) 2015-06-17T12:04:55Z ndrei joined #lisp 2015-06-17T12:05:12Z nyef joined #lisp 2015-06-17T12:06:35Z nikki93 quit (Ping timeout: 246 seconds) 2015-06-17T12:08:59Z shum joined #lisp 2015-06-17T12:10:37Z sdothum quit (Ping timeout: 240 seconds) 2015-06-17T12:10:44Z lispyone joined #lisp 2015-06-17T12:11:03Z EvW joined #lisp 2015-06-17T12:14:25Z ASau joined #lisp 2015-06-17T12:15:31Z larion quit (Ping timeout: 250 seconds) 2015-06-17T12:16:05Z larion joined #lisp 2015-06-17T12:17:13Z Jordan_ joined #lisp 2015-06-17T12:18:46Z lispyone quit (Remote host closed the connection) 2015-06-17T12:19:00Z rtoym quit (Ping timeout: 252 seconds) 2015-06-17T12:19:20Z Ven joined #lisp 2015-06-17T12:20:56Z larion quit (Ping timeout: 256 seconds) 2015-06-17T12:22:04Z Jordan_ quit (Ping timeout: 256 seconds) 2015-06-17T12:22:14Z larion joined #lisp 2015-06-17T12:22:19Z cadadar joined #lisp 2015-06-17T12:24:13Z frkout quit (Remote host closed the connection) 2015-06-17T12:24:34Z rtoym joined #lisp 2015-06-17T12:27:59Z qubitner1 joined #lisp 2015-06-17T12:28:01Z lptm quit (Ping timeout: 264 seconds) 2015-06-17T12:28:53Z Shinmera: Finally, success! https://twitter.com/Shinmera/status/611146291452739584 2015-06-17T12:31:00Z qubitnerd quit (Ping timeout: 276 seconds) 2015-06-17T12:37:13Z Baggers joined #lisp 2015-06-17T12:43:58Z jason_m joined #lisp 2015-06-17T12:44:09Z drmeister: Shinmera: Great job! 2015-06-17T12:44:55Z Shinmera: drmeister: Did you figure out the issue with having to dump the AST? 2015-06-17T12:46:10Z drmeister: Shinmera: Yes - it turned out that I didn't need to dump the AST. I had misunderstood how ECL injected code into the FASL to set up inlining. 2015-06-17T12:47:45Z drmeister: Shinmera: Once you have an OpenGL context (if that is what do you call it) with Qtools can you do any kind of OpenGL programming for rendering within it? 2015-06-17T12:49:28Z nyef: Shinmera: Congratulations! Looking forward to being able to try that myself at some point. 2015-06-17T12:50:03Z eudoxia joined #lisp 2015-06-17T12:50:23Z Shinmera: drmeister: Yes. 2015-06-17T12:50:26Z Ethan- joined #lisp 2015-06-17T12:50:50Z Shinmera: drmeister: That particular example just uses cl-opengl to draw the square https://github.com/Shinmera/qtools/blob/master/examples/opengl/opengl.lisp#L43 2015-06-17T12:51:25Z drmeister: Nice - I'll take a look at that. 2015-06-17T12:52:10Z Shinmera: The QPainter class is very nice, it lets you switch between Qt painting calls and direct OpenGL calls as you please. 2015-06-17T12:52:37Z alexherbo2 quit (Ping timeout: 240 seconds) 2015-06-17T12:53:20Z Shinmera: There's also the possibility to use QGLFrameBuffer to draw with OpenGL offscreen. 2015-06-17T12:53:41Z Shinmera: Or QPainter, that is. 2015-06-17T12:53:48Z Ralt quit (Ping timeout: 256 seconds) 2015-06-17T12:55:18Z p_l: I don't think you can get far with mixing if you used OpenGL the way I want to use it (too many 3d programming presentations read recently... xD) 2015-06-17T12:55:29Z p_l: I wonder if there's still the old "paint on overlay" support in QT 2015-06-17T13:00:08Z Karl_Dscc quit (Remote host closed the connection) 2015-06-17T13:00:32Z mathrick quit (Ping timeout: 264 seconds) 2015-06-17T13:01:46Z Harag quit (Ping timeout: 265 seconds) 2015-06-17T13:02:03Z qubitner1 quit (Quit: WeeChat 1.2) 2015-06-17T13:03:01Z nikki93 joined #lisp 2015-06-17T13:05:18Z shum quit (Quit: ZNC - 1.6.0 - http://znc.in) 2015-06-17T13:06:46Z yenda joined #lisp 2015-06-17T13:06:55Z wgslayer quit (Quit: Leaving.) 2015-06-17T13:07:04Z alexherbo2 joined #lisp 2015-06-17T13:07:24Z nikki93 quit (Ping timeout: 256 seconds) 2015-06-17T13:11:53Z selat quit (Quit: Lost terminal) 2015-06-17T13:12:11Z Ralt joined #lisp 2015-06-17T13:20:07Z flash-- joined #lisp 2015-06-17T13:20:12Z kami joined #lisp 2015-06-17T13:20:20Z mea-culpa joined #lisp 2015-06-17T13:20:22Z kami: Good afternoon. 2015-06-17T13:20:32Z prphp joined #lisp 2015-06-17T13:20:59Z Karl_Dscc joined #lisp 2015-06-17T13:21:12Z cluck joined #lisp 2015-06-17T13:22:08Z przl quit (Ping timeout: 264 seconds) 2015-06-17T13:23:50Z flash- quit (Ping timeout: 256 seconds) 2015-06-17T13:25:57Z przl joined #lisp 2015-06-17T13:26:25Z ndrei quit (Ping timeout: 276 seconds) 2015-06-17T13:26:30Z Baggers: Shinmera: Great job! 2015-06-17T13:28:57Z Baggers: Shinmera: this recent post on /r/lisp can help with main thread issues with ccl http://www.reddit.com/r/lisp/comments/38wedz/osx_clozurecl_slime_emacs_lispbuildersdl_clopengl/ 2015-06-17T13:29:48Z Baggers: Shinmera: So far on OSX with sbcl i'm hacking it with swank in communication :style nil. But that is extremely unsatisfactory 2015-06-17T13:29:48Z hiroakip quit (Ping timeout: 265 seconds) 2015-06-17T13:30:45Z Shinmera: I was thinking something similar as what the OP is describing. 2015-06-17T13:31:05Z Shinmera: Right now I need to concentrate on my lunch though, I'll research more closely later. 2015-06-17T13:31:25Z Baggers: hehe that definitely takes priority 2015-06-17T13:32:43Z dwrngr joined #lisp 2015-06-17T13:34:50Z frkout joined #lisp 2015-06-17T13:38:09Z Adlai quit (Ping timeout: 245 seconds) 2015-06-17T13:38:11Z ndrei joined #lisp 2015-06-17T13:39:09Z frkout quit (Ping timeout: 250 seconds) 2015-06-17T13:39:25Z oleo joined #lisp 2015-06-17T13:40:08Z Adlai joined #lisp 2015-06-17T13:42:19Z ynix joined #lisp 2015-06-17T13:42:28Z ynix: Hey, is anyone using Linedit with SBCL on Windows? 2015-06-17T13:42:34Z intinig quit 2015-06-17T13:42:44Z oleo: nope 2015-06-17T13:42:50Z oleo: i used it once on linux 2015-06-17T13:42:54Z oleo: was ok 2015-06-17T13:43:23Z ynix: Yeah I've got it working on OSX and Linux, but the install fails on Windows. 2015-06-17T13:44:27Z nyef: Isn't Linedit some ncurses thing? 2015-06-17T13:45:08Z oleo: but i'm better off with sb-aclrepl.... 2015-06-17T13:45:28Z oleo: and some custom prompt..... 2015-06-17T13:45:29Z sdothum joined #lisp 2015-06-17T13:45:38Z oleo: and rlwrap 2015-06-17T13:50:53Z ynix quit (Quit: Leaving) 2015-06-17T13:52:44Z nyef: rlwrap is a poor substitute for good command-line UI, but it's largely workable. 2015-06-17T13:53:00Z nyef: The main thing that I miss with it is tab-completion. 2015-06-17T13:53:20Z oleo: i have tab-completion 2015-06-17T13:53:32Z nyef: Ooh. How? 2015-06-17T13:54:08Z oleo: you have to generate all the symbols for the completion to work 2015-06-17T13:54:20Z nyef: Oh. Eesh. 2015-06-17T13:54:26Z oleo: i got it from someone who did it in abcl 2015-06-17T13:54:37Z sdothum quit (Quit: ZNC - 1.6.0 - http://znc.in) 2015-06-17T13:54:42Z oleo: can give you my script if you want 2015-06-17T13:55:04Z oleo: exec rlwrap -b "[]()'\" " --remember -c -f /home/oleo/.sbcl_completions -H /home/oleo/.sbcl_history -s 65535 $SBCL 2015-06-17T13:55:20Z oleo: so that's how the script uses the completions file 2015-06-17T13:55:22Z nyef: Ah, thanks. 2015-06-17T13:55:34Z oleo: and to generate the completions wait i'll just paste 2015-06-17T13:55:40Z Ven quit (Ping timeout: 276 seconds) 2015-06-17T13:57:02Z mea-culpa quit (Remote host closed the connection) 2015-06-17T13:57:03Z oleo: http://paste.lisp.org/display/150000 2015-06-17T13:57:50Z oleo: but i think you have to regenerate the file from time to time..... 2015-06-17T13:57:55Z oleo: when you use new libs.... 2015-06-17T13:58:03Z hiroakip joined #lisp 2015-06-17T13:58:06Z oleo: where the symbols were not already in that file.... 2015-06-17T13:58:15Z oleo: s/were/are/ 2015-06-17T13:58:33Z mea-culpa joined #lisp 2015-06-17T13:58:34Z nyef: Nice paste number. (-: 2015-06-17T13:58:50Z oleo: ah, didn't even notice :) 2015-06-17T13:58:52Z nyef: Umm... 2015-06-17T13:58:53Z oleo: hahaha 2015-06-17T13:58:56Z nyef: clhs user-homedir-pathname 2015-06-17T13:58:56Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_user_h.htm 2015-06-17T13:59:06Z nyef: Because screw using GETENV. 2015-06-17T13:59:51Z oleo: ok 2015-06-17T13:59:52Z oleo: lol 2015-06-17T14:02:34Z lispyone joined #lisp 2015-06-17T14:03:20Z Ven joined #lisp 2015-06-17T14:03:36Z kushal joined #lisp 2015-06-17T14:03:40Z nikki93 joined #lisp 2015-06-17T14:03:44Z kushal quit (Changing host) 2015-06-17T14:03:44Z kushal joined #lisp 2015-06-17T14:03:52Z OldK` quit (Remote host closed the connection) 2015-06-17T14:08:30Z nikki93 quit (Ping timeout: 276 seconds) 2015-06-17T14:08:48Z Jordan_ joined #lisp 2015-06-17T14:10:24Z yenda quit (Remote host closed the connection) 2015-06-17T14:12:24Z Joreji quit (Ping timeout: 276 seconds) 2015-06-17T14:12:46Z Baggers left #lisp 2015-06-17T14:13:40Z Joreji joined #lisp 2015-06-17T14:17:58Z grees joined #lisp 2015-06-17T14:18:07Z qubitnerd joined #lisp 2015-06-17T14:19:33Z EvW quit (Ping timeout: 276 seconds) 2015-06-17T14:20:53Z sheilong joined #lisp 2015-06-17T14:21:22Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2015-06-17T14:30:13Z ndrei quit (Ping timeout: 265 seconds) 2015-06-17T14:33:33Z tmtwd joined #lisp 2015-06-17T14:35:26Z Petit_Dejeuner quit (Ping timeout: 244 seconds) 2015-06-17T14:36:52Z ahungry_ joined #lisp 2015-06-17T14:39:01Z Mhoram quit (Read error: Connection reset by peer) 2015-06-17T14:39:48Z Mhoram joined #lisp 2015-06-17T14:39:55Z vaporatorius quit (Quit: Leaving) 2015-06-17T14:39:57Z jason_m quit (Ping timeout: 240 seconds) 2015-06-17T14:42:39Z raellear joined #lisp 2015-06-17T14:45:43Z trebor_home quit (Ping timeout: 255 seconds) 2015-06-17T14:46:22Z hiroakip quit (Ping timeout: 276 seconds) 2015-06-17T14:47:30Z vaporatorius joined #lisp 2015-06-17T14:50:07Z elimik31 joined #lisp 2015-06-17T14:50:26Z mvilleneuve joined #lisp 2015-06-17T14:51:06Z nyef quit (Ping timeout: 256 seconds) 2015-06-17T14:51:06Z Ethan- quit (Remote host closed the connection) 2015-06-17T14:51:50Z Karl_Dscc quit (Remote host closed the connection) 2015-06-17T14:53:59Z Jordan_ quit 2015-06-17T14:54:39Z pt1 quit (Ping timeout: 256 seconds) 2015-06-17T14:56:51Z frkout joined #lisp 2015-06-17T14:57:05Z tokenrove: linedit uses termcap; it doesn't go through ncurses. I don't think it will work under Windows except perhaps in Cygwin. 2015-06-17T15:01:23Z frkout quit (Remote host closed the connection) 2015-06-17T15:01:24Z grees quit (Remote host closed the connection) 2015-06-17T15:01:51Z frkout joined #lisp 2015-06-17T15:02:38Z fantazo quit (Ping timeout: 272 seconds) 2015-06-17T15:03:02Z icosa joined #lisp 2015-06-17T15:04:38Z Brozo joined #lisp 2015-06-17T15:05:49Z Cymew quit (Ping timeout: 264 seconds) 2015-06-17T15:06:48Z frkout quit (Read error: Connection reset by peer) 2015-06-17T15:07:39Z przl quit (Ping timeout: 276 seconds) 2015-06-17T15:12:45Z Karl_Dscc joined #lisp 2015-06-17T15:13:10Z vaporatorius quit (Quit: Leaving) 2015-06-17T15:16:09Z p_l: it would have to use CFFI to access Win32 Console API 2015-06-17T15:16:22Z p_l: (or any other FFI, just encouraging portable ones xD) 2015-06-17T15:16:49Z innertracks joined #lisp 2015-06-17T15:16:50Z smokeink quit (Remote host closed the connection) 2015-06-17T15:19:43Z vaporatorius joined #lisp 2015-06-17T15:20:33Z redeemed quit (Quit: q) 2015-06-17T15:21:15Z attila_lendvai joined #lisp 2015-06-17T15:21:15Z attila_lendvai quit (Changing host) 2015-06-17T15:21:15Z attila_lendvai joined #lisp 2015-06-17T15:23:48Z jlongster joined #lisp 2015-06-17T15:25:18Z qsun_ quit (Read error: Connection reset by peer) 2015-06-17T15:25:35Z qsun_ joined #lisp 2015-06-17T15:25:45Z synchromesh joined #lisp 2015-06-17T15:28:35Z flash-- quit (Remote host closed the connection) 2015-06-17T15:29:04Z cods quit (Ping timeout: 256 seconds) 2015-06-17T15:29:07Z synchromesh quit (Client Quit) 2015-06-17T15:29:52Z mvilleneuve quit (Ping timeout: 272 seconds) 2015-06-17T15:29:56Z mvilleneuve_ joined #lisp 2015-06-17T15:31:20Z larion quit (Ping timeout: 256 seconds) 2015-06-17T15:39:06Z DamienCassou joined #lisp 2015-06-17T15:39:08Z synchromesh joined #lisp 2015-06-17T15:39:13Z DamienCassou: hi 2015-06-17T15:39:16Z arpunk quit (Ping timeout: 255 seconds) 2015-06-17T15:40:19Z DamienCassou: is it possible to open a stream for write with a different user than the one executing the current lisp file? I guess the only way is to go through the creation of a new shell 2015-06-17T15:40:24Z yrk quit (Ping timeout: 256 seconds) 2015-06-17T15:43:08Z loz: user is specified per process 2015-06-17T15:43:23Z loz: (if we are talking about unix-like systems) 2015-06-17T15:44:16Z keen__________ quit (Read error: Connection timed out) 2015-06-17T15:45:36Z sarkyniin joined #lisp 2015-06-17T15:45:38Z sarkyniin: Hey 2015-06-17T15:45:41Z gravicappa quit (Remote host closed the connection) 2015-06-17T15:45:43Z sarkyniin: I'm reading SICP and using arch linux 2015-06-17T15:45:50Z sarkyniin: what's the preferred scheme implementation for a beginner? 2015-06-17T15:45:54Z sarkyniin: Just classic mit-scheme? 2015-06-17T15:46:20Z Bike: try #scheme 2015-06-17T15:46:36Z sarkyniin: oh 2015-06-17T15:46:36Z loz: racket has sicp dialect or how do they call it 2015-06-17T15:46:40Z Petit_Dejeuner joined #lisp 2015-06-17T15:46:41Z keen__________ joined #lisp 2015-06-17T15:46:50Z dim: DamienCassou: maybe you can change euid from lisp? 2015-06-17T15:46:56Z dlowe: there's ##lisp, too 2015-06-17T15:46:58Z DamienCassou: loz: that's what I thought too. Thanks 2015-06-17T15:47:13Z p_l: DamienCassou: fwiw, mit-scheme was the canonical one for SICP 2015-06-17T15:47:26Z DamienCassou: sarkyniin: ^ 2015-06-17T15:47:30Z p_l: (at least so long as we are talking not just about the book, but 6.001) 2015-06-17T15:47:38Z DamienCassou: p_l: I guess that was not for me 2015-06-17T15:47:47Z p_l: ... ahh, right 2015-06-17T15:47:52Z p_l: mixed up replies 2015-06-17T15:48:06Z sarkyniin: p_l: yeah, that's the one I have installed 2015-06-17T15:48:07Z sarkyniin: thanks 2015-06-17T15:48:34Z sarkyniin: lisp is kinda hard to understand since my first programming language experience was ruby 2015-06-17T15:48:43Z sarkyniin: well more hard to read than to understand 2015-06-17T15:49:03Z p_l: sarkyniin: old 6.001 course materials might be of use, and a student club is still keeping the course alive as an extra course 2015-06-17T15:49:49Z grouzen quit (Ping timeout: 245 seconds) 2015-06-17T15:50:14Z gniourf quit (Quit: Leaving) 2015-06-17T15:51:29Z gniourf joined #lisp 2015-06-17T15:52:46Z jason_m joined #lisp 2015-06-17T15:55:28Z mvilleneuve_ quit (Quit: This computer has gone to sleep) 2015-06-17T15:58:13Z gniourf quit (Quit: Leaving) 2015-06-17T15:58:37Z qubitner1 joined #lisp 2015-06-17T15:58:49Z sdothum joined #lisp 2015-06-17T15:58:59Z ndrei joined #lisp 2015-06-17T15:59:32Z gniourf joined #lisp 2015-06-17T16:00:37Z zacharias quit (Ping timeout: 240 seconds) 2015-06-17T16:01:04Z emaczen quit (Ping timeout: 245 seconds) 2015-06-17T16:01:22Z qubitnerd quit (Ping timeout: 252 seconds) 2015-06-17T16:03:49Z arpunk joined #lisp 2015-06-17T16:08:30Z theos: sarkyniin if you want to learn CL, get land of lisp 2015-06-17T16:10:34Z PuercoPop: sarkyniin: try #racket, Racket has a sicp mode, complete with the picture language and the non deterministic evaluator and is an easy install so imho it is the easiest way to get through the SICP 2015-06-17T16:10:53Z sarkyniin: PuercoPop: yeah I downloaded racket 2015-06-17T16:10:56Z sarkyniin: drracket is useful too 2015-06-17T16:13:48Z qsun_ quit (Read error: Connection reset by peer) 2015-06-17T16:14:13Z qsun_ joined #lisp 2015-06-17T16:14:46Z Ven joined #lisp 2015-06-17T16:17:01Z qsun_ quit (Read error: Connection reset by peer) 2015-06-17T16:17:07Z qsun__ joined #lisp 2015-06-17T16:18:22Z Petit_Dejeuner quit (Ping timeout: 256 seconds) 2015-06-17T16:18:33Z DamienCassou left #lisp 2015-06-17T16:19:17Z eudoxia_ joined #lisp 2015-06-17T16:20:17Z eudoxia quit (Read error: Connection reset by peer) 2015-06-17T16:21:55Z fantazo joined #lisp 2015-06-17T16:22:44Z nyef joined #lisp 2015-06-17T16:23:18Z qsun__ quit (Read error: Connection reset by peer) 2015-06-17T16:23:22Z eudoxia_ quit (Client Quit) 2015-06-17T16:23:38Z qsun__ joined #lisp 2015-06-17T16:25:13Z posterdati300 joined #lisp 2015-06-17T16:27:42Z qsun__ quit (Read error: Connection reset by peer) 2015-06-17T16:28:09Z qsun__ joined #lisp 2015-06-17T16:29:14Z qsun__ quit (Read error: Connection reset by peer) 2015-06-17T16:29:44Z qsun__ joined #lisp 2015-06-17T16:30:01Z fourier joined #lisp 2015-06-17T16:30:32Z posterdati300 quit (Ping timeout: 264 seconds) 2015-06-17T16:31:08Z qsun__ quit (Read error: Connection reset by peer) 2015-06-17T16:31:17Z akersof quit (Ping timeout: 240 seconds) 2015-06-17T16:31:33Z qsun__ joined #lisp 2015-06-17T16:31:42Z akersof joined #lisp 2015-06-17T16:33:46Z qsun__ quit (Read error: Connection reset by peer) 2015-06-17T16:33:51Z jangle joined #lisp 2015-06-17T16:34:11Z qsun__ joined #lisp 2015-06-17T16:37:16Z torpig quit (Ping timeout: 265 seconds) 2015-06-17T16:38:07Z qsun__ quit (Read error: Connection reset by peer) 2015-06-17T16:38:37Z qsun__ joined #lisp 2015-06-17T16:38:38Z fourier quit (Ping timeout: 240 seconds) 2015-06-17T16:40:01Z alexshendi joined #lisp 2015-06-17T16:41:02Z zygentoma joined #lisp 2015-06-17T16:41:07Z pantheon joined #lisp 2015-06-17T16:42:19Z fourier joined #lisp 2015-06-17T16:43:13Z arrdem_ joined #lisp 2015-06-17T16:43:21Z vap1 joined #lisp 2015-06-17T16:43:21Z tmtwd_ joined #lisp 2015-06-17T16:43:34Z salv00 joined #lisp 2015-06-17T16:43:40Z TylerDurden joined #lisp 2015-06-17T16:43:51Z karswell` joined #lisp 2015-06-17T16:44:04Z Trystam joined #lisp 2015-06-17T16:44:08Z theos quit (Disconnected by services) 2015-06-17T16:44:23Z pantheon left #lisp 2015-06-17T16:44:38Z theos joined #lisp 2015-06-17T16:45:09Z nyef quit (*.net *.split) 2015-06-17T16:45:10Z vaporatorius quit (*.net *.split) 2015-06-17T16:45:10Z tmtwd quit (*.net *.split) 2015-06-17T16:45:10Z sheilong quit (*.net *.split) 2015-06-17T16:45:10Z Xof quit (*.net *.split) 2015-06-17T16:45:11Z Tristam quit (*.net *.split) 2015-06-17T16:45:11Z karswell quit (*.net *.split) 2015-06-17T16:45:11Z arrdem quit (*.net *.split) 2015-06-17T16:45:11Z salv0 quit (*.net *.split) 2015-06-17T16:45:12Z MrWoohoo quit (*.net *.split) 2015-06-17T16:45:12Z Intensity quit (*.net *.split) 2015-06-17T16:45:12Z schjetne quit (*.net *.split) 2015-06-17T16:46:37Z qsun__ quit (Read error: Connection reset by peer) 2015-06-17T16:47:06Z qsun__ joined #lisp 2015-06-17T16:47:41Z qsun__ quit (Read error: Connection reset by peer) 2015-06-17T16:48:11Z qsun__ joined #lisp 2015-06-17T16:48:43Z qsun__ quit (Read error: Connection reset by peer) 2015-06-17T16:48:57Z nyef joined #lisp 2015-06-17T16:49:47Z qsun joined #lisp 2015-06-17T16:52:35Z qsun quit (Read error: Connection reset by peer) 2015-06-17T16:53:05Z qsun joined #lisp 2015-06-17T16:53:48Z askatasuna joined #lisp 2015-06-17T16:54:07Z schjetne joined #lisp 2015-06-17T16:55:59Z bgs100 joined #lisp 2015-06-17T16:59:10Z Whymind quit (Read error: Connection reset by peer) 2015-06-17T16:59:48Z Baggers joined #lisp 2015-06-17T17:01:01Z raellear quit (Ping timeout: 256 seconds) 2015-06-17T17:01:30Z k-stz joined #lisp 2015-06-17T17:04:59Z torpig joined #lisp 2015-06-17T17:08:45Z posterdati300 joined #lisp 2015-06-17T17:11:01Z akersof quit 2015-06-17T17:11:46Z larxy joined #lisp 2015-06-17T17:12:08Z sarkyniin left #lisp 2015-06-17T17:12:45Z TylerDurden is now known as sheilong 2015-06-17T17:13:26Z larxy: Hi! If you where to add a language feature to CL, where would you hook it in? Using a walker? perhaps the question is too generic. 2015-06-17T17:14:06Z qubitnerd joined #lisp 2015-06-17T17:14:17Z Adlai: larxy:you could implement control flow features as high-order functions, and wrap them with 'sugar' macros 2015-06-17T17:14:23Z Adlai: that should cover most usecases 2015-06-17T17:14:50Z radioninja joined #lisp 2015-06-17T17:15:26Z Davidbrcz joined #lisp 2015-06-17T17:16:38Z qubitner1 quit (Ping timeout: 244 seconds) 2015-06-17T17:17:18Z qsun_ joined #lisp 2015-06-17T17:17:19Z qsun quit (Read error: Connection reset by peer) 2015-06-17T17:17:21Z Shinmera: larxy: What's a "language feature"? 2015-06-17T17:17:24Z dfsdf joined #lisp 2015-06-17T17:22:19Z nikki93 joined #lisp 2015-06-17T17:23:03Z fourier: larxy: depending on 'language feature'. it could be just macros or reader macros 2015-06-17T17:23:15Z fourier: any other ways? 2015-06-17T17:24:11Z qsun_ quit (Read error: Connection reset by peer) 2015-06-17T17:24:41Z qsun_ joined #lisp 2015-06-17T17:25:31Z larxy: I would like to change/add/remove syntax and semantics, but at the end convert the lisp-form to a CL form. 2015-06-17T17:25:53Z Bike: that's not very specific. maybe you just need macros. 2015-06-17T17:26:02Z Hache joined #lisp 2015-06-17T17:26:08Z dlowe: larxy: what is your program intended to do? 2015-06-17T17:26:34Z Hache quit (Remote host closed the connection) 2015-06-17T17:26:38Z brpocock: I seem to have read that, the only feature that can't be represented directly in CL, are “proper” continuations. Although continuation-passing-forms are possible. So, I suppose that would be the one “feature” left to add? 2015-06-17T17:28:25Z icosa quit (Read error: Connection reset by peer) 2015-06-17T17:29:07Z larxy: brpocock: interesting, I guess that (CPS) would be needed if I want something like haskell. 2015-06-17T17:29:29Z qubitner1 joined #lisp 2015-06-17T17:30:15Z Bike: haskell's Cont monad doesn't require any notable language support, as far as i know. just monads 2015-06-17T17:30:59Z nikki93 quit (Remote host closed the connection) 2015-06-17T17:31:15Z dlowe: if you want something like haskell, perhaps you want haskell. 2015-06-17T17:31:21Z brpocock: I don't pretend to fathom the deep magic in λ calculus, but I have seen some very short Scheme become a bit uglier CL. *shrug* 2015-06-17T17:31:29Z Jesin joined #lisp 2015-06-17T17:32:15Z hardenedapple quit (Quit: WeeChat 1.2) 2015-06-17T17:32:21Z Bike: 1930s mathematics is hardly magical 2015-06-17T17:32:30Z qubitnerd quit (Ping timeout: 252 seconds) 2015-06-17T17:33:09Z Bike: and you can write CPS in CL just as well as in scheme, since all you need is closures. that's why it's a "style". call/cc et al let you write more normally while taking advantage of some niceties of CPS. 2015-06-17T17:33:55Z Bike: as evidenced from cl-cont. http://quickdocs.org/cl-cont/api 2015-06-17T17:34:20Z qsun_ quit (Read error: Connection reset by peer) 2015-06-17T17:34:48Z qsun_ joined #lisp 2015-06-17T17:37:33Z shka joined #lisp 2015-06-17T17:38:54Z eudoxia joined #lisp 2015-06-17T17:41:01Z qubitnerd joined #lisp 2015-06-17T17:42:23Z ggole quit (Ping timeout: 256 seconds) 2015-06-17T17:43:00Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2015-06-17T17:43:32Z tokenrove: i thought there were specific limitations, like continuations in CL don't interact well with conditions or something 2015-06-17T17:44:18Z qubitner1 quit (Ping timeout: 276 seconds) 2015-06-17T17:45:00Z tokenrove: but that might be based on reading kent pitman's unwind-protect vs continuations and accepting it at face value 2015-06-17T17:45:22Z bb010g quit (Quit: Connection closed for inactivity) 2015-06-17T17:46:02Z emaczen joined #lisp 2015-06-17T17:46:12Z brpocock: IIRC, the cl-cont (and friends) only work when calling other functions which are specially instrumented to work with them, or so? 2015-06-17T17:46:35Z pt1 joined #lisp 2015-06-17T17:47:09Z p_l ponders if ZIO by chance counts as Continuation-Passing-Style.. 2015-06-17T17:47:39Z nyef: p_l: That sounds something like "accidentally turing-complete". 2015-06-17T17:47:52Z p_l: it uses a kind-of dispatch table and a variable to know which function to call next, from my understanding, a bit like state machine, to implement a variable pipeline 2015-06-17T17:47:54Z BWV988 joined #lisp 2015-06-17T17:48:09Z p_l: it's also at heart of nearly all disk i/o of my PC ^^; 2015-06-17T17:48:14Z Intensity joined #lisp 2015-06-17T17:48:47Z p_l: nyef: yes, it does sound like "accidentally turing-complete" 2015-06-17T17:49:22Z BWV988 is now known as upthelazyriver 2015-06-17T17:49:45Z p_l: after each "call" in the pipeline ends, it takes stock of the set of flags for the object and dispatches to next function according to that 2015-06-17T17:50:49Z ndrei_ joined #lisp 2015-06-17T17:54:08Z ndrei quit (Ping timeout: 256 seconds) 2015-06-17T17:55:15Z upthelazyriver left #lisp 2015-06-17T17:57:25Z BitPuffin|osx quit (Ping timeout: 264 seconds) 2015-06-17T17:57:28Z attila_lendvai: cl-cont and delico (originally call/cc in arnesi) are delimited continuation libs, i.e. your continuation only captures stuff that is within the bounds of transformed functions. if you call out from the transformed world, then you cannot capture a continuation anymore. I think both libs generate both the cc and non-cc versions in their defun/cc macros 2015-06-17T17:58:25Z qubitner1 joined #lisp 2015-06-17T17:59:37Z zacharias joined #lisp 2015-06-17T18:00:59Z hlavaty quit (Read error: Connection reset by peer) 2015-06-17T18:01:16Z hlavaty joined #lisp 2015-06-17T18:01:22Z qubitnerd quit (Ping timeout: 265 seconds) 2015-06-17T18:01:29Z futpib joined #lisp 2015-06-17T18:01:53Z raellear joined #lisp 2015-06-17T18:02:47Z jasom: Short of running the cffi groveler on errno.h, is there a library that will already let me decode errno? I need to retry on EINTR 2015-06-17T18:03:12Z Patzy quit (Ping timeout: 256 seconds) 2015-06-17T18:03:34Z haom joined #lisp 2015-06-17T18:04:01Z Patzy joined #lisp 2015-06-17T18:04:09Z agdistis joined #lisp 2015-06-17T18:04:21Z larion joined #lisp 2015-06-17T18:04:26Z qsun_ quit (Read error: Connection reset by peer) 2015-06-17T18:04:49Z pt1 quit (Remote host closed the connection) 2015-06-17T18:04:53Z qsun_ joined #lisp 2015-06-17T18:05:05Z jasom: ah, sb-posix has them 2015-06-17T18:05:17Z brpocock: Is there maybe a definition in your compiler? SBCL has them in sb-posix/sb-unix 2015-06-17T18:06:09Z malbertife joined #lisp 2015-06-17T18:09:16Z emaczen quit (Remote host closed the connection) 2015-06-17T18:10:55Z nyef: Note that SBCL considers sb-unix to be an "internal" package, liable to change incompatibly without notice. Stick with sb-posix if you want to be on the safe side. 2015-06-17T18:12:52Z defaultxr joined #lisp 2015-06-17T18:17:17Z BWV988 joined #lisp 2015-06-17T18:17:20Z brpocock: There wouldn't happen to be any (conveniently already-written) method-combination libraries that, say, implement variable-arity-based dispatch like Clojure likes, are there? 2015-06-17T18:17:30Z cods joined #lisp 2015-06-17T18:17:39Z innertracks quit (Quit: innertracks) 2015-06-17T18:18:23Z p_l: even if it doesn't have them, contextl might have interesting snippets of code to reuse? 2015-06-17T18:18:49Z ehu joined #lisp 2015-06-17T18:19:52Z brpocock: I vaguely envision (&rest blah) (ecase (length blah) (1 (dest-bin/ … macro, just curious to /not/ see anything pop up in QL or quick Googlage. But yeah, thanks :-) 2015-06-17T18:20:10Z Posterdati: hi 2015-06-17T18:20:19Z nyef: ... How do I enable paredit in the CCL editor? 2015-06-17T18:20:25Z attila_lendvai quit (Quit: Leaving.) 2015-06-17T18:20:29Z BWV988: hi Posterdati :-) 2015-06-17T18:20:52Z adhoc quit (Ping timeout: 272 seconds) 2015-06-17T18:20:55Z qubitner1 quit (Ping timeout: 256 seconds) 2015-06-17T18:21:38Z Posterdati: how can I use iolib.sockets:accept-connection in an unblocking fashion? Since it is in a server thread loop it happens that exiting from loop to finish the thread is not possible due to blocking accept-connection... Thanks 2015-06-17T18:22:07Z munksgaard joined #lisp 2015-06-17T18:22:59Z rvchangu- joined #lisp 2015-06-17T18:23:49Z fe[nl]ix: Posterdati: pass :wait nil 2015-06-17T18:24:07Z pjb: Posterdati: you can't. I told you, you'd have to use accept4, or else fcntl before calling accept-connection. 2015-06-17T18:24:35Z Posterdati: pjb: accept4??? 2015-06-17T18:24:40Z pjb: on linux. 2015-06-17T18:24:50Z rvchangue_ quit (Ping timeout: 244 seconds) 2015-06-17T18:25:07Z reb`: Posterdati: Read the Unix manual page for accept: "man 2 accept" 2015-06-17T18:25:18Z tmtwd_ quit (Ping timeout: 272 seconds) 2015-06-17T18:25:29Z dlowe: Posterdati: you're not calling accept-connection in response to a read event on the listener? 2015-06-17T18:25:46Z Quadrescence joined #lisp 2015-06-17T18:25:49Z Posterdati: man 2 accept 2015-06-17T18:25:49Z Posterdati: No manual entry for accept in section 2 2015-06-17T18:26:08Z reb`: Install some manuals. 2015-06-17T18:26:14Z Posterdati: installed 2015-06-17T18:26:20Z munksgaard quit (Ping timeout: 246 seconds) 2015-06-17T18:26:26Z reb`: What OS are you using? 2015-06-17T18:26:37Z nyef: clhs values-list 2015-06-17T18:26:37Z Posterdati: reb`: debian 8 2015-06-17T18:26:37Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_vals_l.htm 2015-06-17T18:27:09Z brpocock: http://linux.die.net/man/2/accept 2015-06-17T18:27:41Z fe[nl]ix: pjb: yes it's possible, wtf are you talking about ? 2015-06-17T18:27:46Z pjb: Posterdati: but :wait nil should work too. 2015-06-17T18:28:14Z Posterdati: and how can I test for client object returned? 2015-06-17T18:28:15Z fe[nl]ix: all FDs created with IOlib are non-blocking by default 2015-06-17T18:28:31Z pjb: fe[nl]ix: Since I assume some level of competence, if such a question is asked, I assume it's not trivially possible, so I start searching for the lower levels. 2015-06-17T18:28:54Z BWV988: not the nil by autechre :-) 2015-06-17T18:29:01Z pjb: I mean, if the guy cannot even type M-. on accept-connection to check the parameters, what hope is there? 2015-06-17T18:29:38Z fe[nl]ix: Posterdati: if you pass :wait nil and there's no connection pending, it will return NIL 2015-06-17T18:30:00Z fe[nl]ix: then you have to poll the descriptor for read status 2015-06-17T18:30:03Z reb`: Posterdati: "sudo apt-get install manpages-dev" may work for you. 2015-06-17T18:32:00Z nikki93 joined #lisp 2015-06-17T18:32:04Z qsun_ quit (Ping timeout: 244 seconds) 2015-06-17T18:34:46Z Posterdati: working thanks 2015-06-17T18:34:56Z qsun_ joined #lisp 2015-06-17T18:35:31Z Posterdati: fe[nl]ix: I tested the code with :wait nil but wasn't working, maybe I did something wrong, because now it is working 2015-06-17T18:35:45Z kushal quit (Ping timeout: 252 seconds) 2015-06-17T18:36:14Z qsun_ quit (Read error: Connection reset by peer) 2015-06-17T18:36:19Z qsun__ joined #lisp 2015-06-17T18:36:36Z fe[nl]ix: cool :) 2015-06-17T18:36:39Z nikki93 quit (Ping timeout: 265 seconds) 2015-06-17T18:37:10Z Petit_Dejeuner joined #lisp 2015-06-17T18:39:48Z tmtwd_ joined #lisp 2015-06-17T18:40:17Z Petit_Dejeuner quit (Client Quit) 2015-06-17T18:42:53Z qsun__ quit (Read error: Connection reset by peer) 2015-06-17T18:43:23Z qsun__ joined #lisp 2015-06-17T18:44:10Z karswell` is now known as karswell 2015-06-17T18:47:26Z qsun__ quit (Read error: Connection reset by peer) 2015-06-17T18:47:46Z qsun joined #lisp 2015-06-17T18:49:30Z dwrngr left #lisp 2015-06-17T18:50:41Z SHODAN quit (Quit: No Ping reply in 180 seconds.) 2015-06-17T18:51:17Z BWV988 left #lisp 2015-06-17T18:52:58Z SHODAN joined #lisp 2015-06-17T18:53:37Z Posterdati: jackdaniel: ecl performing quite well on the mips boards 2015-06-17T18:54:02Z yrdz quit (Read error: Connection reset by peer) 2015-06-17T18:54:08Z yrdz` joined #lisp 2015-06-17T18:54:47Z qsun quit (Read error: Connection reset by peer) 2015-06-17T18:55:17Z qsun joined #lisp 2015-06-17T18:55:26Z aeth: Is there something like POSITION but for symbols instead of sequences? So e.g. I can try to find the first #\- in a symbol. If it's a string I can just do (position #\- "foo-bar") 2015-06-17T18:55:41Z dlowe: aeth: you'll have to get the name of the symbol first 2015-06-17T18:55:58Z dlowe: aeth: (position #\- (string 'foo-bar)) would work 2015-06-17T18:56:13Z dlowe: or (position #\- (symbol-name 'foo-bar)) 2015-06-17T19:00:24Z yrdz` is now known as yrdz 2015-06-17T19:00:35Z yrdz quit (Changing host) 2015-06-17T19:00:35Z yrdz joined #lisp 2015-06-17T19:05:36Z Baggers left #lisp 2015-06-17T19:07:41Z haom left #lisp 2015-06-17T19:08:22Z munksgaard joined #lisp 2015-06-17T19:12:08Z cadadar quit (Quit: Leaving.) 2015-06-17T19:22:16Z jackdaniel: Posterdati: that's good 2015-06-17T19:22:43Z francogrex joined #lisp 2015-06-17T19:22:54Z francogrex left #lisp 2015-06-17T19:25:15Z nyef: (nq-clim/geometry/standard-rectangle:make-rectangle* 10 20 10 40) => #.NQ-CLIM/GEOMETRY/NOWHERE:+NOWHERE+ 2015-06-17T19:25:20Z nyef: Right, that's done. 2015-06-17T19:29:50Z prphp quit (Read error: Connection reset by peer) 2015-06-17T19:30:09Z prphp joined #lisp 2015-06-17T19:32:42Z nikki93 joined #lisp 2015-06-17T19:33:45Z selat joined #lisp 2015-06-17T19:36:04Z yenda joined #lisp 2015-06-17T19:37:01Z developernotes joined #lisp 2015-06-17T19:37:16Z nikki93 quit (Ping timeout: 256 seconds) 2015-06-17T19:42:50Z raellear quit (Ping timeout: 252 seconds) 2015-06-17T19:43:30Z dwrngr joined #lisp 2015-06-17T19:44:09Z raellear joined #lisp 2015-06-17T19:44:28Z yenda quit (Ping timeout: 272 seconds) 2015-06-17T19:47:25Z PuercoPop: brpocock: https://github.com/fare/lisp-interface-library does afaik. 2015-06-17T19:50:46Z pt1 joined #lisp 2015-06-17T19:51:34Z smithzv joined #lisp 2015-06-17T19:51:52Z smithzv left #lisp 2015-06-17T19:53:15Z psy_ quit (Quit: Leaving) 2015-06-17T19:53:39Z psy_ joined #lisp 2015-06-17T19:55:57Z psy_ quit (Client Quit) 2015-06-17T19:55:59Z pt1 quit (Remote host closed the connection) 2015-06-17T19:56:48Z raellear quit (Ping timeout: 244 seconds) 2015-06-17T19:57:12Z attila_lendvai joined #lisp 2015-06-17T19:57:12Z attila_lendvai quit (Changing host) 2015-06-17T19:57:12Z attila_lendvai joined #lisp 2015-06-17T20:00:50Z attila_lendvai quit (Client Quit) 2015-06-17T20:02:41Z aeth: It'd be great if there was a complete separation of presentation from data on the Internet so I could e.g. get all my programming reference information inside emacs instead of having to search for things. 2015-06-17T20:03:03Z brpocock: ewww mode? :) 2015-06-17T20:03:30Z emaczen joined #lisp 2015-06-17T20:03:32Z jackdaniel: aeth: gopher? 2015-06-17T20:03:42Z aeth: no, more like e.g. if someone wrote a Creative Commons Hyperspec replacement (i.e. people free to copy it, etc.) in Markdown, rst, LaTeX etc. Doesn't matter which 2015-06-17T20:03:44Z brpocock: @PuercoPop: Thanks, looks like it probably does do so, but perhaps in a more complex way than is worthwhile for me to decode today :-( bookmarked for later though. 2015-06-17T20:04:03Z aeth: So then SLIME could ship with a hyperspec that you interact with completely differently than the HTML version of it 2015-06-17T20:04:14Z dlowe: ... apt-get install hyperspec 2015-06-17T20:04:36Z aeth: yeah, but I'm guessing that's the .html files. Why can't we have something like that instead of DESCRIBE, etc.? 2015-06-17T20:04:41Z aeth: Within the REPL itself 2015-06-17T20:04:49Z fourier: aeth: have you read this thread? http://www.reddit.com/r/lisp/comments/36kkdc/copyright_on_hyperspec/ 2015-06-17T20:04:55Z dlowe: aeth: it's not. 2015-06-17T20:05:02Z dlowe: C-c C-d h 2015-06-17T20:05:10Z brpocock: (ql:quickload :clhs) ? 2015-06-17T20:05:22Z emaczen: aeth: If I install GCL I get .info hyperspec files 2015-06-17T20:05:25Z dlowe: I mean, it is, but you can still gt it from emacs and slime 2015-06-17T20:05:33Z jangle quit (Quit: jangle) 2015-06-17T20:06:06Z elimik31 quit (Ping timeout: 244 seconds) 2015-06-17T20:06:10Z dlowe: aeth: I'm doing a project that generates another hyperspec. It turns out to be a wicked hard problem to do right. 2015-06-17T20:07:04Z remi`bd quit (Quit: leaving) 2015-06-17T20:07:17Z aeth: C-c C-d h opens firefox. It would be much better if I could just do (spec 'cons) and see something like http://www.lispworks.com/documentation/HyperSpec/Body/f_cons.htm 2015-06-17T20:07:19Z dlowe: though it has occurred to me that you could probably get mechanical turk to do it for a few thousand :p 2015-06-17T20:07:44Z aeth: There's no video in CLHS, there's no audio, there's no important images, etc. It would work fine within the SLIME REPL 2015-06-17T20:08:00Z dlowe: aeth: install w3m so you can browse from emacs 2015-06-17T20:08:01Z PuercoPop: brpocock: well you asked for conveniently already written :D. I guess otherwise you could hack something using the with-foo macro idiom and macro lambda lists, although it would work an a per function basis. 2015-06-17T20:08:04Z Bike: aeth: run a browser, open http://l1sp.org/cl/cons? 2015-06-17T20:08:08Z fourier: dlowe: I thought maybe we can start a kickstarter project to fund the conversion? how many man-months we need to finish the job. 2015-06-17T20:08:39Z cluck: dlowe: emacs has eww now 2015-06-17T20:08:45Z Bike: sorry, i should have read earlier messages. 2015-06-17T20:08:54Z brpocock: Yeah, the fact that (defgeneric) barfs on variable-arity means e.g. (defmethod foo :arity (a)) (defmethod foo :arity (a b)) doesn't work :-( 2015-06-17T20:08:57Z aeth: Bike: but the browser seems like an unnecessary step. It's just text, and it's not going to change anytime soon, and even if it was some sort of CC openspec wiki or something, it could always use some sort of cache that checks for updates (or be in Quicklisp or something) 2015-06-17T20:09:14Z Bike: aeth: you can install a clhs in emacs's info 2015-06-17T20:09:15Z dlowe: aeth: well, that's the state of things. 2015-06-17T20:09:19Z Bike: not... that i like it much, but it exists 2015-06-17T20:09:52Z aeth: dlowe: Why is the hyperspec hard to get right? And have you considered wikiing it to crowdsource it? 2015-06-17T20:10:01Z hydan joined #lisp 2015-06-17T20:10:19Z dlowe: aeth: have you read the copyright of the hyperspec? go ahead. we'll wait. 2015-06-17T20:10:29Z aeth: I don't mean using the hyperspec itself. 2015-06-17T20:10:39Z dlowe: the draft ansi spec from which the hyperspec is derived is in LaTeX format 2015-06-17T20:10:40Z aeth: You can write a new description of the Common Lisp language. 2015-06-17T20:10:54Z dlowe: sure, but it won't be the spec. 2015-06-17T20:11:24Z brpocock: It *is* in Quicklisp. At least, the text is. 2015-06-17T20:11:31Z cluck: dlowe: alternatively you can just read it in info format (thanks to gcl) http://www.cliki.net/Hyperspec-Info 2015-06-17T20:11:41Z slyrus joined #lisp 2015-06-17T20:11:46Z dlowe: cluck: I have to wonder how that came to be 2015-06-17T20:12:03Z cluck: dlowe: what? 2015-06-17T20:12:10Z selat quit (Quit: Lost terminal) 2015-06-17T20:12:10Z dlowe: the info format version 2015-06-17T20:12:13Z Bike: i remember doing a latex -> troff -> info or some weird chain of conversions 2015-06-17T20:12:56Z Bike: oh, here it is: http://users-phys.au.dk/harder/dpans.html 2015-06-17T20:13:23Z Bike: "There are various existing ways to do the latter, though, by opening a web browser at the right spot in the Common Lisp HyperSpec. But this means leaving Emacs ... a Bad Thing™. " sounds pretty much like what aeth said 2015-06-17T20:13:49Z foom: ooh, fancy! 2015-06-17T20:13:53Z selat joined #lisp 2015-06-17T20:13:54Z cluck: dlowe: if i had to bet i'd say thanks to RMS 2015-06-17T20:14:04Z aeth: Bike: yes 2015-06-17T20:17:30Z foom: So, making a freely copyable modifiable hyperspec is basically done already 2015-06-17T20:17:59Z aeth: from the page: "I won't distribute the converted files, as the draft doesn't grant me permission to do so. So, you need to run the converter on the original TeX files yourself." 2015-06-17T20:18:17Z Bike: he links the tex in the instructions 2015-06-17T20:18:23Z Bike: i don't see a copyright notice in it, though 2015-06-17T20:18:28Z aeth: It's not really free, but it does work better in emacs than loading a separate tab on a separate web browser in a separate window (or even using an emacs web browser) 2015-06-17T20:18:56Z loke_ joined #lisp 2015-06-17T20:19:09Z fantazo quit (Quit: Verlassend) 2015-06-17T20:19:28Z foom: ISTR it's a generally held belief that the draft is freely distributable/modifiable. 2015-06-17T20:20:12Z thodg joined #lisp 2015-06-17T20:20:49Z Patzy quit (Ping timeout: 264 seconds) 2015-06-17T20:21:00Z dlowe: at least, there's probably not a cranky individual who will sue you for modifying it 2015-06-17T20:21:29Z Patzy joined #lisp 2015-06-17T20:22:41Z nikki93 joined #lisp 2015-06-17T20:24:06Z foom: Well, if anyone has standing, it's the individual contributors who wrote it. 2015-06-17T20:24:59Z thodg quit (Read error: Connection reset by peer) 2015-06-17T20:25:47Z EvW joined #lisp 2015-06-17T20:27:21Z nikki93 quit (Ping timeout: 250 seconds) 2015-06-17T20:27:22Z loke_ quit (Remote host closed the connection) 2015-06-17T20:28:48Z Davidbrcz quit (Ping timeout: 272 seconds) 2015-06-17T20:29:02Z brpocock: As for “who is responsible” for GCL's, it seems: http://git.savannah.gnu.org/cgit/gcl.git/commit/?id=4178627fc69f6d05bf6c72386fabcd3dd7600f40 2015-06-17T20:29:26Z malbertife quit (Ping timeout: 272 seconds) 2015-06-17T20:29:29Z hiroakip joined #lisp 2015-06-17T20:29:34Z aeth: It's kind of disappointing that Lisp is specified in LaTeX, though. It would make more sense to specify it in s-expressions of strings that can be converted to whatever. i.e. specified in Lisp itself. 2015-06-17T20:31:13Z alexherbo2 quit (Quit: WeeChat 1.2) 2015-06-17T20:31:32Z oleo: eh ? 2015-06-17T20:32:12Z oleo: in latex ? 2015-06-17T20:32:13Z oleo: where ? 2015-06-17T20:32:38Z aeth: http://quimby.gnus.org/circus/cl/dpANS3/ http://quimby.gnus.org/circus/cl/dpANS3R/ 2015-06-17T20:33:38Z aeth: Those are links from the info converter linked to above http://users-phys.au.dk/harder/dpans.html 2015-06-17T20:34:39Z myztic quit (Ping timeout: 256 seconds) 2015-06-17T20:34:40Z oleo: well i got may dpans in pdf...... 2015-06-17T20:34:49Z oleo: converted it myself....once you compile...... 2015-06-17T20:35:04Z oleo: you get a bunch of files which you can then merge..... 2015-06-17T20:35:31Z oleo: or wait i think that was ansicl, dpans comes with 3 versions..... 2015-06-17T20:36:06Z oleo: in letter format, in double sided and a4 consecutive or some such.... 2015-06-17T20:36:35Z oleo: i don't like the double sided...... 2015-06-17T20:36:46Z oleo: simple consecutive a4 is the one i use..... 2015-06-17T20:36:49Z Bike: are the ellipses really necessary 2015-06-17T20:37:10Z oleo: sorry 2015-06-17T20:37:13Z oleo: just habit 2015-06-17T20:38:10Z developernotes quit (Quit: Textual IRC Client: www.textualapp.com) 2015-06-17T20:39:02Z BWV988 joined #lisp 2015-06-17T20:39:15Z kami: XachX: would you mind adding a (unless (boundp 'quicklisp-slime-helper-dist) (setq ...) to this line: https://github.com/quicklisp/quicklisp-slime-helper/blob/master/slime-helper-template.el#L4 ? 2015-06-17T20:39:18Z larxy: aeth: what about DESCRIBE? though it is in no specified format, but atleast callable through slime/emacs. 2015-06-17T20:39:41Z angavrilov quit (Remote host closed the connection) 2015-06-17T20:40:35Z aeth: larxy: yes, I just wish there was a SPEC-DESCRIBE that returned the much more verbose spec description 2015-06-17T20:40:38Z Trystam is now known as Tristam 2015-06-17T20:41:09Z larxy: aeth: like haskell's :t 2015-06-17T20:41:20Z Bike: doesn't that give you a type? 2015-06-17T20:41:33Z Bike: no local ghci, darn 2015-06-17T20:42:07Z larxy: Bike: yes 2015-06-17T20:42:27Z Bike: that's not much like something that pulls the description from the standard 2015-06-17T20:42:36Z aeth: If there was a description of the Common Lisp language defined in s-expression form, then you could just access it with SPEC-DESCRIBE, or convert it to whatever you wanted (info, html, tex, etc.) if you wanted that. 2015-06-17T20:43:00Z rvchangu- quit (Ping timeout: 256 seconds) 2015-06-17T20:43:19Z larxy: Bike: correct, I like Clisp's describe with fetches hyperspec. But sbcl is often enough to get the type i need. 2015-06-17T20:43:40Z aeth: oh, clisp fetches hyperspec? That must be why I like that one better than sbcl's 2015-06-17T20:44:02Z Bike: you can hook into it and stuff, i think. 2015-06-17T20:44:11Z tankrim quit (Read error: Connection reset by peer) 2015-06-17T20:44:11Z lispyone quit (Read error: Connection reset by peer) 2015-06-17T20:44:14Z attila_lendvai joined #lisp 2015-06-17T20:44:30Z Bike: ...well you can do that for anything. i mean it is set up to grab hyperspec stuff, anyway. 2015-06-17T20:44:34Z lispyone joined #lisp 2015-06-17T20:44:52Z BWV988 quit (Quit: Page closed) 2015-06-17T20:45:11Z hydan quit (Read error: Connection reset by peer) 2015-06-17T20:46:04Z tankrim joined #lisp 2015-06-17T20:46:09Z srcerer_ joined #lisp 2015-06-17T20:46:20Z rvchangue_ joined #lisp 2015-06-17T20:46:20Z larxy: Bike: you can set the hyperspec repo to local (if you work offline, or just faster), but can you hook deeper? like having your own description with examples, for example the condition system (without having to surf to PCL). 2015-06-17T20:47:10Z Bike: i dunno, i don't use clisp. i was thinking of DESCRIBE-OBJECT, which you're probably not allowed to specialize on standard symbols, but whatever 2015-06-17T20:47:43Z tessier quit (Ping timeout: 250 seconds) 2015-06-17T20:48:03Z myztic joined #lisp 2015-06-17T20:48:09Z lieven quit (Ping timeout: 250 seconds) 2015-06-17T20:48:35Z srcerer quit (Ping timeout: 250 seconds) 2015-06-17T20:49:44Z aeth: interesting. https://news.ycombinator.com/item?id=9732827 2015-06-17T20:50:08Z tessier joined #lisp 2015-06-17T20:50:10Z aeth: I wonder if this means better Parenscript (or a replacement to Parenscript) 2015-06-17T20:50:28Z lieven joined #lisp 2015-06-17T20:52:09Z rvchangue_ quit (Ping timeout: 276 seconds) 2015-06-17T20:53:01Z Baggers joined #lisp 2015-06-17T20:53:08Z qsun quit (Read error: Connection reset by peer) 2015-06-17T20:54:10Z qsun joined #lisp 2015-06-17T20:56:02Z arrdem_ is now known as arrdem 2015-06-17T20:56:09Z Brozo quit (Quit: Leaving...) 2015-06-17T20:56:21Z srcerer_ is now known as srcerer 2015-06-17T20:56:29Z Brozo joined #lisp 2015-06-17T20:57:01Z qsun quit (Read error: Connection reset by peer) 2015-06-17T20:57:12Z vydd joined #lisp 2015-06-17T20:57:28Z qsun joined #lisp 2015-06-17T20:58:14Z dwrngr quit (Remote host closed the connection) 2015-06-17T21:01:12Z jasom: aeth: in the near-term it means nothing 2015-06-17T21:02:19Z jasom: aeth: I started on getting eclipse-lisp ported to emscripten (clisp and ecl both can't be ported without a lot of changes for various reasons) 2015-06-17T21:02:37Z ahungry_ quit (Quit: leaving) 2015-06-17T21:02:59Z jasom: I don't think webassembly changes the fact that the web is a non-von-neumann architecture (i.e. you can't generate a bunch of bytes in core and then branch to them) 2015-06-17T21:03:10Z shka quit (Quit: Konversation terminated!) 2015-06-17T21:03:14Z jasom: which means sbcl and ccl won't port 2015-06-17T21:04:02Z p_l: jasom: afaik it's doable with asm.js, but frankly speaking, I wouldn't want to deal with asm.js 2015-06-17T21:04:16Z jasom: p_l: it's not 2015-06-17T21:04:25Z jasom: p_l: emscripten compiles to asm.js 2015-06-17T21:04:43Z p_l: jasom: not like it could make my opinion of asm.js better 2015-06-17T21:04:44Z jasom: asm.js doesn't have a stack pointer, for example which makes finding gc roots problematic 2015-06-17T21:04:54Z aeth: p_l: asm.js is dead (in the long run). There's now WebAssembly (.wasm) https://github.com/WebAssembly/design 2015-06-17T21:05:08Z jasom: aeth: webassembly is just a further codification of asm.js 2015-06-17T21:05:31Z aeth: jasom: ah 2015-06-17T21:05:45Z jasom: with the idea that once it's adopted as a separate file-type they can make breaking changes to wasm without having to pull more cruft into javascript 2015-06-17T21:06:37Z jasom: but stack manipulation is not on the table, nor (as far as I know) is executing out of the heap. 2015-06-17T21:07:10Z jasom: I was hopeful that clisp would port, since it uses a byte-code compiler, but it relies heavily on the existance of a manipulable stack pointer 2015-06-17T21:07:46Z rvchangue_ joined #lisp 2015-06-17T21:08:20Z jasom: ECL's interpreter does very nearly port, but you have no compiler until someone ports a C compiler to asm.js, and even then you'd have to change how compiled objects are loaded into your image. 2015-06-17T21:08:21Z aeth: jasom: will .wasm add anything that will make porting easier or is it impossible with the way it's designed? I haven't looked into asm.js 2015-06-17T21:09:12Z jasom: aeth: I'm pretty sure that .wasm doesn't add an explicit stack, so that will make garbage collection problematic 2015-06-17T21:09:25Z jasom: it will likely at some point in the future add support for JITs, I suppose. 2015-06-17T21:09:34Z aeth: https://github.com/WebAssembly/design/blob/master/FutureFeatures.md#gcdom-integration 2015-06-17T21:09:42Z aeth: It looks like they want to have their own GC 2015-06-17T21:09:57Z jasom: aeth: that's talking about accessing javascript objects from wasm 2015-06-17T21:10:18Z jasom: somoene has ported boehm to asm.js so there exists a non-moving gc already 2015-06-17T21:10:25Z p_l: just read the HN thread about WebAssembly 2015-06-17T21:10:27Z PuercoPop: jasom: one thing I tried to do a while back was evaluate how hard would it be to map the desugared subset of CL that sbcl uses as a ICR (afaik) to the semantics spider monkey's AST that escodegen uses. 2015-06-17T21:10:35Z p_l: It makes me consider leaving IT 2015-06-17T21:10:46Z Bike: feeling optimistic, huh? 2015-06-17T21:10:58Z p_l: move somewhere where there will be no need or possibility to run web browser more complex than links 2015-06-17T21:11:12Z PuercoPop: of course things like #'open that use syscall would never work but it could be a nice start 2015-06-17T21:11:52Z klltkr joined #lisp 2015-06-17T21:12:05Z jasom: PuercoPop: if you provide a runtime, you can support things like open 2015-06-17T21:12:31Z p_l: Bike: today was a day marking that I managed to have a modest amount of tabs on "modern browser", without big "web" applications except for GMail open, from murderizing any other productivity, and it still caused GPU stalls that impacted whole system UI 2015-06-17T21:12:58Z Bike: heh. computers. 2015-06-17T21:13:27Z aeth: p_l: invent a new thing on top of the Internet, like the web, but without all the stuff that's been added on top of it recently. So simple hyperlinked documents defined with s-expressions 2015-06-17T21:13:27Z nyef: Computers. Can't live with 'em, but at least you can sell 'em for parts? 2015-06-17T21:13:31Z PuercoPop: like whalesong does to support racket's numeric tower? There are somethings that could map the the web APIs but others like shared state in threads are still not possible 2015-06-17T21:13:34Z aeth: p_l: the web is lost forever to multimedia 2015-06-17T21:13:47Z p_l: aeth: multimedia is actually least problematic part of the stack 2015-06-17T21:13:59Z jasom: p_l: disable hardware acceleration and use profile-sync-daemon 2015-06-17T21:14:10Z Bike: maybe we should stop calling them stacks, and start calling them piles 2015-06-17T21:14:11Z PuercoPop: Clojure's approach of leave it to the host semantics and focus on interfaces makes their job easier than in the case of CL. 2015-06-17T21:14:21Z p_l: even though thanks to mostly Mozilla HTML5 Video is kinda broken 2015-06-17T21:14:21Z aeth: ok the web is forever lost to news sites embedding 30 JavaScript trackers just to read a 500 word article. 2015-06-17T21:14:27Z Davidbrcz joined #lisp 2015-06-17T21:14:41Z p_l: aeth: the web is forever lost to rampant webdevs 2015-06-17T21:14:48Z p_l: and browser developers 2015-06-17T21:15:05Z qsun quit (Read error: Connection reset by peer) 2015-06-17T21:15:10Z p_l: but mostly, lost to JS 2015-06-17T21:15:26Z p_l: hell, a fixed up java applet would be all that would be needed for huge part of this crap 2015-06-17T21:15:56Z qsun joined #lisp 2015-06-17T21:16:03Z aeth: JS will be dead whenever some trendy language using .wasm comes along. Web development is based on trends that seem to change completely every year. 2015-06-17T21:16:26Z aeth: Unfortunately it will probably be based on Java or something 2015-06-17T21:16:29Z Longlius quit (Remote host closed the connection) 2015-06-17T21:16:30Z p_l: aeth: the damage will be already done, just with wasm this time, and huge amount of replicated work 2015-06-17T21:16:51Z p_l: replicated as in I'm essentially running two extra layers of emulation to get shit running 2015-06-17T21:17:27Z aeth: The problem is that web browsers give too much power to the web sites in terms of visuals/design/scripting. 2015-06-17T21:17:56Z qsun quit (Read error: Connection reset by peer) 2015-06-17T21:18:03Z aeth: Because of this, every single website has to look and feel differently. It's a million steps back from the desktop where at least Windows kinda feels the same, Mac OS X kinda feels the same, GNOME kinda feels the same, KDE kinda feels the same, etc. 2015-06-17T21:18:23Z p_l: Mozilla's constant spiel about Web as portable application platform, bolstered early on by Apple, is probably to blame 2015-06-17T21:18:24Z aeth: (Except GNOME apps don't feel the same because it redesigns its design to be worse about every 6 months) 2015-06-17T21:18:26Z p_l: Google as well 2015-06-17T21:19:08Z qsun joined #lisp 2015-06-17T21:20:07Z aeth: Well, the web is better than the 1990s where you'd get CD-ROMs for Windows 9x to do everything. Does anyone here remember Encarta? 2015-06-17T21:20:14Z p_l: I do 2015-06-17T21:20:28Z p_l: I somewhat find it semi-better - some of them had Java-based apps 2015-06-17T21:20:49Z aeth: At least I can use Wikipedia under Linux even though Wikipedia ironically seems about 10 years behind the web development best practices now 2015-06-17T21:20:59Z p_l: aeth: probably that's why ;P 2015-06-17T21:21:20Z scymtym quit (Ping timeout: 246 seconds) 2015-06-17T21:21:41Z p_l: aeth: also, current situation is that I have huge HTML5 crap coupled with proprietary NPAPI plugins that don't work outside of Windows and OSX 2015-06-17T21:22:02Z aeth: NPAPI? 2015-06-17T21:22:19Z p_l: aeth: Netscape Plugin API 2015-06-17T21:22:23Z p_l: yes, that 2015-06-17T21:22:38Z selat quit (Quit: Lost terminal) 2015-06-17T21:22:54Z aeth: wow 2015-06-17T21:22:54Z p_l: It's why I need to use an android tablet at the same time as I work so I can do video conference, because they made a native application for that 2015-06-17T21:23:27Z emaczen: I'm trying to write a larger parenscript program with dependencies. I think the solution is to check each package you depend on for parenscript files, and then compile them to JS files, but I wanted to check with what people are doing and what has been done. 2015-06-17T21:23:27Z nikki93 joined #lisp 2015-06-17T21:24:00Z tmtwd_ quit (Ping timeout: 276 seconds) 2015-06-17T21:26:00Z grouzen joined #lisp 2015-06-17T21:26:25Z aeth: p_l: I think there's a way to kill the web browser, though. And that's to encourage things like JSON APIs in parallel to .html files 2015-06-17T21:26:53Z aeth: So you can e.g. one day in emacs be able to just load emacs-native content from the Internet by parsing machine-friendly data, no need for the browser. 2015-06-17T21:27:09Z p_l: aeth: and murder HTTP used as half-baked reimplementation of half an OSI stack, done on drunken binge 2015-06-17T21:27:46Z p_l: json is probably bad choice, because you can forget about validation and specs that work 2015-06-17T21:27:55Z nikki93 quit (Ping timeout: 256 seconds) 2015-06-17T21:28:04Z Bike: definitely piles. 2015-06-17T21:28:06Z aeth: p_l: well yeah s-expressions work fine too 2015-06-17T21:28:49Z aeth: Imo there should be no reason to use anything other than s-expressions except when importing for compatability and when exporting to some final form (e.g. PDF or HTML) if needed. 2015-06-17T21:28:53Z p_l: aeth: S-expressions aren't too good for inter-app traffic, IMO 2015-06-17T21:29:06Z p_l: aeth: unless you impose extra structure on top of S-expressions 2015-06-17T21:29:25Z aeth: Well, yes, you build on s-expressions just like many standards build on XML 2015-06-17T21:29:28Z p_l: remember, S-expressions were never intended to be portable 2015-06-17T21:29:49Z p_l: aeth: XML semantics put on S-expressions or ASN.1 would be nice, yes 2015-06-17T21:30:19Z jasom: emaczen: I compile all the lisp files into one large .js file 2015-06-17T21:30:24Z p_l: ASN.1 DER would be a bit better, because then you drop the infamous XML Canonicalization stuff, which was necessary for crypto 2015-06-17T21:30:39Z futpib quit (Ping timeout: 245 seconds) 2015-06-17T21:30:42Z jasom: emaczen: I don't have dependencies on external parenscript files though right now. 2015-06-17T21:30:43Z emaczen: jasom: How does that work for out for debugging? 2015-06-17T21:30:56Z jasom: emaczen: it's fine on chrome, a bit slow on firefox 2015-06-17T21:31:11Z jasom: I can nearly always tell by the function name which file it came from 2015-06-17T21:31:33Z jasom: I considered adding a comment between each file, but I haven't needed it yet 2015-06-17T21:31:56Z emaczen: Either way, you hook into ASDF somehow right? 2015-06-17T21:32:06Z jasom: umm I probably should 2015-06-17T21:32:10Z aeth: If I were designing a modern lispm OS I would (1) use different types of s-expressions for everything on the OS that might be done with text or XML on Unix (logs, configuration, etc.); (2) encourage a dual-strategy of e.g. HTML and special s-expressions for data servers with the goal that eventually everything can be native in apps accessing Internet APIs on this lispm OS rather than through a browser. 2015-06-17T21:32:18Z stepnem quit (Ping timeout: 256 seconds) 2015-06-17T21:32:40Z jasom: right now I have an eval-when that does it all, and I added the parenscript files as external dependencies of the lisp file that runs the eval-when 2015-06-17T21:33:07Z aeth: So the emacs-equivalent on this lispm OS would e.g. parse online documentation (with local caching?) based on an s-expression API format from the Internet, rather than constantly throwing the user into the browser 2015-06-17T21:33:26Z eudoxia quit (Quit: Leaving) 2015-06-17T21:33:27Z p_l: aeth: I'd actually drop S-Expressions in many areas, leaving it as extra way for when you need to use text serialization 2015-06-17T21:33:55Z emaczen: jasom: Can you point me to this eval-when? I've always used ASDF for compiling so I am not familiar with it. 2015-06-17T21:33:59Z ndrei_ quit (Ping timeout: 245 seconds) 2015-06-17T21:34:04Z jasom: clhs eval-when 2015-06-17T21:34:04Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/s_eval_w.htm 2015-06-17T21:34:21Z jasom: emaczen: it's an ugly hack since I was too busy to lookup how to customize ASDF 2015-06-17T21:34:45Z jasom: I use eval-when to generate the javascript at compile-time. I don't recommend this approach 2015-06-17T21:34:49Z emaczen: Does it get executed at the same time when you (require :your-package)? 2015-06-17T21:35:06Z jasom: emaczen: yes (though I don't use require, since it's non-portable) 2015-06-17T21:35:25Z emaczen: asdf:load-package then? 2015-06-17T21:35:32Z aeth: p_l: what about compressed text s-expressions? 2015-06-17T21:35:42Z lispyone quit (Remote host closed the connection) 2015-06-17T21:35:44Z jasom: emaczen: well how it works now is that it gets executed when the lisp file is compiled, not loaded, so it may not get executed if everything is up-to-date. 2015-06-17T21:36:41Z qsun quit (Read error: Connection reset by peer) 2015-06-17T21:36:55Z qsun joined #lisp 2015-06-17T21:37:34Z aeth: (Oh, and in the unlikely event that people would use this hypothetical emacs-like editor/browser on their hypothetical lispm OS, what will probably happen is that that emacs would just grow into a new web browser over 20 years) 2015-06-17T21:37:44Z larion quit (Ping timeout: 245 seconds) 2015-06-17T21:38:02Z p_l: aeth: ASN.1 DER has certain advantages that mean that it's easy for example to create signed documents where you sign *contents* instead of *byte string* 2015-06-17T21:38:34Z qsun quit (Read error: Connection reset by peer) 2015-06-17T21:38:39Z brpocock: +1 aeth, I'll beta-test, let me know when it's on GitHub ;-) 2015-06-17T21:38:53Z askatasuna quit (Quit: WeeChat 1.2) 2015-06-17T21:38:59Z qsun joined #lisp 2015-06-17T21:39:38Z p_l: aeth: also, consider, iirc, Interlisp, which didn't use text by default 2015-06-17T21:40:21Z brpocock: I'd be happy enough with whatever notation, so long as it preserves some basic hyperlinking. JavaDoc in Eclipse is a fair example. 2015-06-17T21:40:31Z zygentoma quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2015-06-17T21:41:25Z emaczen: jasom: Where do you put your eval-when form? 2015-06-17T21:41:34Z alexshendi left #lisp 2015-06-17T21:41:40Z jasom: emaczen: in a .lisp file that depends on the parenscript I want compiled 2015-06-17T21:41:56Z PuercoPop: p_l: Regarding unnecessary layers of compatibility/abstraction a friend was befuddled when I explained websockets to him. 2015-06-17T21:42:08Z p_l: heh 2015-06-17T21:42:23Z p_l: Websockets is somewhat sane 2015-06-17T21:44:09Z jasom: I agree, it's one of the more sane things to come out of the web 2.0 craze 2015-06-17T21:44:32Z qsun quit (Read error: Connection reset by peer) 2015-06-17T21:44:39Z jasom: there were dozens of server-push and polling solutions; how about just a simple bi-directional message passing system? 2015-06-17T21:44:48Z grouzen quit (Ping timeout: 272 seconds) 2015-06-17T21:45:18Z qsun joined #lisp 2015-06-17T21:46:04Z p_l: WebRTC shows how assholish decisions involved in making todays internet access broke stuff - they have to emulate SCTP over UDP 2015-06-17T21:46:17Z Baggers quit (Remote host closed the connection) 2015-06-17T21:46:37Z jasom: p_l: see also spdy/http2 2015-06-17T21:46:52Z jasom: which implements 60% of SCTP over tcp 2015-06-17T21:47:45Z s1n4 quit (Quit: leaving) 2015-06-17T21:48:49Z emaczen: Do browsers have a one-pass compile/load phase for JS 2015-06-17T21:48:55Z brpocock: PuercoPop: after making a gross macro DEFN, I see QL "incongruent methods" does 95% of the work, better. Just needs '&='&rest 2015-06-17T21:49:00Z aeth: I guess this is what happens when you have lots of users too soon, like with the web 2015-06-17T21:49:46Z aeth: There were a lot of really bad decisions in the 1990s with web browsers that we're still living with 2015-06-17T21:49:50Z brpocock: emaczen: More often a kind of JIT interpreter/compiler hybrid, eg https://wingolog.org/archives/2011/08/02/a-closer-look-at-crankshaft-v8s-optimizing-compiler 2015-06-17T21:52:22Z yenda joined #lisp 2015-06-17T21:53:25Z rvchangue_ quit (Ping timeout: 276 seconds) 2015-06-17T21:54:27Z robot-beethoven joined #lisp 2015-06-17T21:54:30Z jasom: emaczen: basically I created a .lisp file with an (eval-when (:compile-toplevel) generate-js-here) and had it depend on :static-file components that contained the parenscript 2015-06-17T21:54:45Z larion joined #lisp 2015-06-17T21:55:17Z jasom: emaczen: it actually does a few other things, such as apply the React jsx transformation, and (depending on a feature flag) run the result through a minifier 2015-06-17T21:55:45Z nyef quit (Ping timeout: 250 seconds) 2015-06-17T21:55:55Z aeth: brpocock: I'm not sure if git is the ideal platform for Common Lisp projects, actually. git is line-based whereas lines in Lisp only really seem to matter for whitespace and comments. 2015-06-17T21:56:06Z jasom: emaczen: much cleaner would be to create a new "perform" operation to do all this 2015-06-17T21:56:12Z adhoc joined #lisp 2015-06-17T21:56:21Z emaczen: jasom: Yeah, I just need to get something to "work" first :) 2015-06-17T21:57:45Z emaczen: That's still pretty cool though :) 2015-06-17T21:58:29Z aeth: One thing that annoys me about git is that changes in indentation or newlines can make a commit look more significant than it actually is, e.g. turn a LET into a LET* and every definition at the top of that LET* is "changed" even if you don't change anything there, because there's one more space in front of each line for the bindings part of the LET*. 2015-06-17T21:58:56Z oGMo: how is that anything related to git :p 2015-06-17T21:59:32Z aeth: git works based on diffs of text lines, rather than based on diffs that are smart 2015-06-17T21:59:38Z oGMo: like ever vcs ever 2015-06-17T21:59:39Z Bike: sub-line-based diffs are weird. 2015-06-17T21:59:45Z Bike: so are line based diffs, but still. 2015-06-17T21:59:51Z brpocock: I often use “ignore whitespace” in (ediff, meld, GitHib) to preview. And use emacs+slime autoformatter before committing to ensure consistent indentation, at least (although a ~<-like smart word wrap at ~72…80 cols would be nice) 2015-06-17T22:00:03Z oGMo: though you can make it ignore some whitespace, but 2015-06-17T22:00:14Z aeth: changing a let to a let* in a place with 10 bindings should be a change of 1 (the let to let*) not a change of 10 (the 10 lines) 2015-06-17T22:00:14Z DalekBaldwin joined #lisp 2015-06-17T22:00:30Z Denommus quit (Quit: going home) 2015-06-17T22:01:01Z aeth: brpocock: I try to wrap at 100 but Lisp is so verbose in variable/function names that I often just make it 120 2015-06-17T22:01:04Z brpocock: @aeth: although a git-alike that could parse Lisp source texts inherently would be nice. (Whilst preserving reader macros and the like) 2015-06-17T22:01:06Z Bike: requires a more complicated program to make diffs. worse is better or something 2015-06-17T22:01:50Z aeth: brpocock: it would be great if there was a DVCS that didn't care about the wrapping or the indentation, so someone could use tabs or spaces or a mix, and have it wrap at 80 or 100 or 120 or never, and everyone could still cooperate on that one file 2015-06-17T22:01:51Z cadadar joined #lisp 2015-06-17T22:01:51Z rvchangue_ joined #lisp 2015-06-17T22:01:54Z brpocock: I still like 72, but then, I tend to have 4×2 “windows” in Emacs going. 2015-06-17T22:01:54Z aeth: The problem would be the comments 2015-06-17T22:02:46Z aeth: emacs already auto-intents Lisp well, so a lot of the work's already been done 2015-06-17T22:02:49Z brpocock: I started writing an Emacs “Lisp Cleaner” to re-wrap, re-format, case-fold to lower-case, and M-q the comments and docstrings. 2015-06-17T22:04:26Z brpocock: However, it's on the pile of “maybe someday it won't mutilate lines ending in ; and sometimes chomp random letters out of function names;” but slime (for &body) + paredit + M-x indent-region / M-q in comments/docstrings do most of the work. 2015-06-17T22:04:37Z spyrosoft joined #lisp 2015-06-17T22:05:17Z sheilong quit (Quit: bbl) 2015-06-17T22:05:49Z brpocock: It probably should iterate on the syntax-class of the strings rather than trying to use re-search-forward & paredit-in-(string comment …)-p to figure out what things are being 2015-06-17T22:06:19Z jasom: emaczen: https://phab.jasom.org/F4884 <-- I made a simple example 2015-06-17T22:06:23Z cadadar quit (Client Quit) 2015-06-17T22:06:29Z rvchangue_ quit (Ping timeout: 246 seconds) 2015-06-17T22:06:42Z brpocock: We used a not-dissimilar Elisp macro as a Subversion commit hook, and Eclipse's formatter does much of the same on-save for Java. 2015-06-17T22:06:54Z aeth: Bike: technically you don't even have to make it separate to git, it can just be something that runs alongside git, i.e. it changes the code you're working to into a standard format for the repo but then when you pull someone else's code and view it in the editor, you're viewing it the way you want 2015-06-17T22:07:42Z aeth: Obviously not as useful as an s-exp-aware DVCS (10 lines will still be 10 lines) but it would give you a lot of the features of one without having to code one 2015-06-17T22:09:55Z aeth: It would just need to know about a few "always newline", e.g. "(defun foo (bar baz)\n", and the rest would be based on the configured line length with a default used in the repo itself 2015-06-17T22:10:30Z brpocock: It's plausible that even unwrapping all non-(string,comment) #\newlines and padding every (actual) #\( #\) with #\newline to either side would be a viable hack, if you could reformat things on the way (in out) 2015-06-17T22:10:50Z aeth: "(blah ; comment\n" could also be handled as another "always newline" moment in the code 2015-06-17T22:11:09Z brpocock: ( \n defun foo \n ( \n + x 1 \n ) \n ) \n 2015-06-17T22:12:25Z s1n4 joined #lisp 2015-06-17T22:14:22Z rvchangue_ joined #lisp 2015-06-17T22:17:54Z k-stz quit (Remote host closed the connection) 2015-06-17T22:18:36Z qsun quit (Read error: Connection reset by peer) 2015-06-17T22:19:04Z qsun joined #lisp 2015-06-17T22:20:41Z novemberist joined #lisp 2015-06-17T22:21:20Z mrSpec quit (Quit: mrSpec) 2015-06-17T22:23:49Z myztic quit (Ping timeout: 255 seconds) 2015-06-17T22:24:16Z nikki93 joined #lisp 2015-06-17T22:25:34Z fourier quit (Ping timeout: 256 seconds) 2015-06-17T22:26:26Z rvchangue_ quit (Ping timeout: 246 seconds) 2015-06-17T22:28:07Z pjb: aeth: do double commits! 2015-06-17T22:28:48Z pjb: aeth: type * after let then C-x v v C-x v v let -> let* RET then M-q and C-x v v C-x v v Reindent. RET 2015-06-17T22:29:08Z nikki93 quit (Ping timeout: 265 seconds) 2015-06-17T22:29:10Z oleo_ joined #lisp 2015-06-17T22:29:56Z pjb: aeth: but arguably, since let -> let* changes the semantics for all the binding expressions, you do want them in the diff for code review. 2015-06-17T22:30:33Z fourier joined #lisp 2015-06-17T22:30:46Z oleo quit (Ping timeout: 252 seconds) 2015-06-17T22:32:24Z rvchangue_ joined #lisp 2015-06-17T22:34:40Z brpocock: pjb: less so when it's a change like respelling a function name to be longer-or-shorter and having a list of keyword args re-align, eg. 2015-06-17T22:35:07Z aretecode joined #lisp 2015-06-17T22:37:15Z ehu quit (Quit: Leaving.) 2015-06-17T22:37:41Z myztic joined #lisp 2015-06-17T22:38:19Z quazimodo quit (Ping timeout: 265 seconds) 2015-06-17T22:38:52Z Shinmera quit (Quit: しつれいしなければならないんです。) 2015-06-17T22:38:58Z qsun quit (Read error: Connection reset by peer) 2015-06-17T22:39:10Z qsun joined #lisp 2015-06-17T22:39:48Z drmeister: Cleavir+clasp+inlining compiles and runs. No timing data yet. Must proceed carefully. 2015-06-17T22:40:11Z jaykru joined #lisp 2015-06-17T22:40:18Z slyrus: nice! 2015-06-17T22:40:36Z slyrus: things are faster than when we last spoke? 2015-06-17T22:41:37Z man213 joined #lisp 2015-06-17T22:43:58Z Kooda quit (Quit: Squee!) 2015-06-17T22:45:01Z qsun quit (Read error: Connection reset by peer) 2015-06-17T22:45:28Z qsun joined #lisp 2015-06-17T22:45:49Z gingerale quit (Remote host closed the connection) 2015-06-17T22:48:50Z drmeister: Yes and inlining should improve things speed wise. 2015-06-17T22:50:21Z drmeister: slyrus: I gave a talk at Google in Boston last week. It's online. The first 10 min give a nice summary of what I'm trying to achieve. 2015-06-17T22:50:39Z slyrus: cool! I'll check it out. 2015-06-17T22:50:39Z munksgaard quit (Ping timeout: 256 seconds) 2015-06-17T22:50:53Z mishoo quit (Ping timeout: 265 seconds) 2015-06-17T22:51:25Z drmeister: I'm coming out August 3 to give part 2 at Google in mountain view 2015-06-17T22:51:39Z man213: drmeister: just finished watching it several minutes ago and building clasp right now! it was really great talk! 2015-06-17T22:52:05Z schjetne: drmeister: I saw it too, really cool to get the longer version of the chemistry part. 2015-06-17T22:52:14Z k-dawg joined #lisp 2015-06-17T22:52:16Z k-dawg quit (Client Quit) 2015-06-17T22:52:36Z drmeister: schjetne: Thanks! 2015-06-17T22:52:51Z drmeister: man213: Thanks as well. 2015-06-17T22:53:26Z drmeister: man213: I'll have a new version of Clasp going up soon. This one will be... faster. 2015-06-17T22:53:30Z fourier quit (Ping timeout: 244 seconds) 2015-06-17T22:54:26Z drmeister: If you run into trouble - check out #clasp - or just sit tight for a bit (indeterminate time < 2weeks) 2015-06-17T22:54:44Z man213: Is there a connection between the Lego concept and so called "click chemistry"? 2015-06-17T22:54:52Z drmeister: slyrus: https://drmeister.wordpress.com 2015-06-17T22:55:04Z drmeister: That has the video link. 2015-06-17T22:55:12Z man213: drmeister: Is there a connection between the Lego concept and so called "click chemistry"? 2015-06-17T22:55:34Z man213: sorry, forgot that i can't edit my previous message here 2015-06-17T22:57:05Z drmeister: "Click chemistry" means take really robust, clean reactions and use them to connect together molecules into larger ones. Forming amide bonds are one of those reactions. I'm making rigid building blocks and connecting them through two amide bonds - so in that respect - yes. 2015-06-17T22:57:39Z man213: drmeister: Got it. 2015-06-17T22:57:49Z drmeister: Chemical reactions range from highly unreliable to excellent in terms of how well they work. "Click chemistry" means limiting yourself to the really excellent ones. 2015-06-17T22:58:18Z RussT1 joined #lisp 2015-06-17T22:58:33Z schjetne: The nanobot implications are very facinating. I guess if we end up in a grey goo dystopia and someone asks the classic 'what is Lisp used for' question we can just point and say 'that' ;) 2015-06-17T22:59:49Z drmeister: Grey goo is probably impossible because any nanodevice that would work that fast would (1) melt itself and (2) run out of fuel before it could do much damage. 2015-06-17T23:00:11Z drmeister: We already live with "Green goo", we deal with it with weed wackers. 2015-06-17T23:00:23Z oGMo: drmeister: stop injecting realsim into paranoid fantasies ;) 2015-06-17T23:00:31Z oGMo: "realism" 2015-06-17T23:00:59Z drmeister: Then there is just the insane complexity of trying to build a molecular device that can disassemble any bond. I'm a card carrying chemist - I teach this stuff to undergraduates - that's nuts. 2015-06-17T23:01:35Z drmeister: Eric Drexler had a wonderful imagination but he laid an egg with that concept. 2015-06-17T23:01:37Z oGMo: i'm not---never even took highschool chem---but that's always seemed logical 2015-06-17T23:01:56Z schjetne: I also learned something new about lignin 2015-06-17T23:02:07Z OrangeShark joined #lisp 2015-06-17T23:02:21Z drmeister: "Lignin - a material that you can make anything out of - except money" - unknown. 2015-06-17T23:02:42Z drmeister: Yeah, it's biological plastic. It's the only really disordered polymer in nature. 2015-06-17T23:03:17Z drmeister: I shouldn't say "only" but definitely the most prevalent by many, many orders of magnitude. 2015-06-17T23:03:31Z p_l: chemistry also belongs to the few sciences that have subfields where "go boom" is common occurence... :D 2015-06-17T23:03:52Z p_l reads "in the pipeline"'s "stuff I won't work with" page ;) 2015-06-17T23:04:20Z schjetne: I learned about the carboniferous period in school, but they never bothered to tell us why it was carboniferous, so thanks for clearing that up! 2015-06-17T23:05:05Z man213: "go booom" is the great evidence of your efforts. it's hard to describe to people what you're making or researching when you're dealing with invisible things. server side programming for example :) 2015-06-17T23:05:08Z drmeister: Carboniferous period: 100 million years of trees building lignin and nothing was able to break it down but forest fires. 2015-06-17T23:05:54Z drmeister: CO2 levels went down, O2 levels went up, bugs the size of Volkswagens. 2015-06-17T23:06:06Z drmeister: Well, dinner plates. 2015-06-17T23:06:16Z p_l: man213: fluorine chemistry or lots of volatile nitrogen bonds are both things to run away from. Fast. Upwind 2015-06-17T23:06:32Z drmeister: Anyway - we should probably get back on topic. 2015-06-17T23:08:13Z slyrus quit (Ping timeout: 264 seconds) 2015-06-17T23:09:46Z myztic quit (Ping timeout: 256 seconds) 2015-06-17T23:09:54Z cheryllium joined #lisp 2015-06-17T23:10:42Z jlongster quit (Ping timeout: 265 seconds) 2015-06-17T23:11:04Z DalekBaldwin quit (Ping timeout: 244 seconds) 2015-06-17T23:12:07Z man213: I remember in school me and my friend were making Hg(SCN)2 at home. It was very impressive to watch it's thermal decomposition. Another good example of matherial evidence of how cool science is. 2015-06-17T23:13:24Z Bike: They let you do Pharoah's Serpent at home? 2015-06-17T23:13:59Z hiroakip quit (Ping timeout: 245 seconds) 2015-06-17T23:14:43Z man213: They? 2015-06-17T23:15:01Z yenda quit (Remote host closed the connection) 2015-06-17T23:15:21Z Bike: your teachers, i guess? 2015-06-17T23:17:30Z man213: We called it ginger worms). No, they did not knew about it. For them we were ordinary hooligans. 2015-06-17T23:17:31Z burtons quit (Read error: Connection reset by peer) 2015-06-17T23:17:42Z drmeister: Oh dear. 2015-06-17T23:17:49Z jlongster joined #lisp 2015-06-17T23:18:02Z man213: Pharoah's Serpent - what an intresting name! 2015-06-17T23:18:10Z drmeister: That is dangerous stuff. Hazmat cleanup level stuff. 2015-06-17T23:19:24Z drmeister: You're here so I'd say you avoided significant neurological damage. But if you have any more mercury compounds, you should probably bring them to someone who can deal with them. 2015-06-17T23:20:14Z drmeister is a fan on carbon, hydrogen, nitrogen and oxygen. 2015-06-17T23:20:21Z aeth quit (Ping timeout: 276 seconds) 2015-06-17T23:20:22Z drmeister: You know where you stand with those elements. 2015-06-17T23:20:40Z man213: It was years ago, and we were young and stupid. 2015-06-17T23:21:33Z aeth joined #lisp 2015-06-17T23:21:44Z radioninja quit (Ping timeout: 252 seconds) 2015-06-17T23:21:56Z man213: My friend is working somewhere in Tashkent now, in pharma company, and I studied at theor. physics department)) 2015-06-17T23:22:12Z yenda joined #lisp 2015-06-17T23:22:26Z edgar-rft quit (Ping timeout: 246 seconds) 2015-06-17T23:22:36Z myztic joined #lisp 2015-06-17T23:23:42Z thodg joined #lisp 2015-06-17T23:24:19Z qsun quit (Read error: Connection reset by peer) 2015-06-17T23:24:43Z qsun joined #lisp 2015-06-17T23:25:02Z nikki93 joined #lisp 2015-06-17T23:26:06Z DalekBaldwin joined #lisp 2015-06-17T23:26:07Z qsun quit (Read error: Connection reset by peer) 2015-06-17T23:26:32Z qsun joined #lisp 2015-06-17T23:27:22Z pjb: drmeister: ah the good old CHON (it's Oxygen then Nitrogen) popularised by Asimov. 2015-06-17T23:29:17Z drmeister: pjb: CHON? Where did he coin that term? 2015-06-17T23:30:08Z pjb: It's only a mnemotechnic term for Carbon Hydrogen Oxygen and Nitrogen, needed to synthesize food in space ships. 2015-06-17T23:30:16Z nikki93 quit (Ping timeout: 276 seconds) 2015-06-17T23:30:26Z pjb: Chow CHON :-) 2015-06-17T23:30:47Z mdln joined #lisp 2015-06-17T23:31:11Z schjetne: That sounds like something the level 5 vegans could eat 2015-06-17T23:31:11Z manuel_ joined #lisp 2015-06-17T23:31:29Z jlongster quit (Ping timeout: 245 seconds) 2015-06-17T23:31:37Z qsun quit (Read error: Connection reset by peer) 2015-06-17T23:32:07Z qsun joined #lisp 2015-06-17T23:32:08Z pjb: Well, nutritionally, this is insufficient, we need oligoelements too. A few atoms of that, a few atoms of the other, in addition to CHON. 2015-06-17T23:33:06Z CyberLard joined #lisp 2015-06-17T23:33:19Z mdln quit (Remote host closed the connection) 2015-06-17T23:33:32Z pjb: Potassium, Calcium, Magnesium, Lithium, Selenium, Gold, Xenon, etc. 2015-06-17T23:33:35Z jlongster joined #lisp 2015-06-17T23:33:42Z mdln joined #lisp 2015-06-17T23:34:08Z radioninja joined #lisp 2015-06-17T23:35:25Z spyrosoft quit (Ping timeout: 250 seconds) 2015-06-17T23:35:27Z qsun quit (Read error: Connection reset by peer) 2015-06-17T23:35:42Z mdln quit (Remote host closed the connection) 2015-06-17T23:35:43Z pjb` joined #lisp 2015-06-17T23:35:46Z edgar-rft joined #lisp 2015-06-17T23:36:29Z qsun joined #lisp 2015-06-17T23:36:53Z schjetne: pjb: Xenon is a nutrient? 2015-06-17T23:37:21Z prphp quit (Ping timeout: 265 seconds) 2015-06-17T23:37:37Z pjb`: schjetne: there's a theory you need a few of them in the brain to set up a communication channel between the brain and the soul. 2015-06-17T23:38:01Z jlongster quit (Ping timeout: 250 seconds) 2015-06-17T23:38:04Z pjb is now known as Guest75471 2015-06-17T23:38:06Z Guest75471 quit (Ping timeout: 256 seconds) 2015-06-17T23:38:13Z pjb` is now known as pjb 2015-06-17T23:38:14Z cluck: correction, there's a stupid theory 2015-06-17T23:38:36Z aeth: Let's say I define a constant list within a function definition. so e.g. (defun foo (n) (let ((bar '("a" "b" "c" "d" "e" "f" "g"))) (elt bar n))) 2015-06-17T23:38:47Z pjb: cluck: until we have instrument to detect them in all human brains, and wonder what they're used for. 2015-06-17T23:39:02Z pjb: aeth: ok. 2015-06-17T23:39:15Z qsun quit (Read error: Connection reset by peer) 2015-06-17T23:39:18Z aeth: Would it be better to instead (defparameter *bar* '("a" "b" "c" "d" "e" "f" "g")) and change the defun to (defun foo (n) (elt *bar* n)) for performance? 2015-06-17T23:39:26Z pjb: No. 2015-06-17T23:39:27Z aeth: Or does it not actually create a new bar every time it's run? 2015-06-17T23:39:34Z pjb: It doesn't. 2015-06-17T23:39:39Z pjb: That's what literal means, basically. 2015-06-17T23:39:43Z qsun joined #lisp 2015-06-17T23:39:52Z cluck: pjb: >implying the singularity won't end us all before that ever has a chance to happen ;) 2015-06-17T23:39:54Z pjb: This is also why you should not mutate your literals, even if the implementation allows it. 2015-06-17T23:40:03Z pjb: cluck: granted. 2015-06-17T23:40:18Z aeth: pjb: so that's why I need to do it as '("a" "b" "c" ...) instead of (list "a" "b" "c" ...) ? 2015-06-17T23:40:36Z pjb: yes. list would create a new list each time. 2015-06-17T23:40:46Z qsun quit (Read error: Connection reset by peer) 2015-06-17T23:40:54Z qsun_ joined #lisp 2015-06-17T23:42:47Z qsun_ quit (Read error: Connection reset by peer) 2015-06-17T23:43:14Z qsun_ joined #lisp 2015-06-17T23:43:40Z aeth: What if I defun inside of a defun? It doesn't call the inside defun to literally make a new bar each time, does it? (defun foo () (defun bar () ... 2015-06-17T23:43:56Z pjb: it's a very bad idea. It won't do what you think it does. 2015-06-17T23:44:10Z Longlius joined #lisp 2015-06-17T23:44:21Z pjb: It does indeed literally make a new bar each time. 2015-06-17T23:44:21Z aeth: Even if bar's only used inside of foo? 2015-06-17T23:44:21Z brpocock: macroexpand defun is edifying there :-) 2015-06-17T23:44:33Z pjb: even. 2015-06-17T23:45:17Z XachX: pjb: pohl, rather 2015-06-17T23:45:23Z pjb: and it's even worse, because if for any reason, it's known there's a bar function in the same compilation unit, the all the calls to bar may be hardwired, and then the each redefinition is useless. 2015-06-17T23:45:42Z pjb: XachX: thanks, I had a doubt indeed. 2015-06-17T23:46:16Z ceryo joined #lisp 2015-06-17T23:46:36Z pjb: aeth: use flet or labels to declare local functions. 2015-06-17T23:48:05Z mdln joined #lisp 2015-06-17T23:49:11Z qsun_ quit (Read error: Connection reset by peer) 2015-06-17T23:49:27Z qsun joined #lisp 2015-06-17T23:49:34Z kami quit (Ping timeout: 272 seconds) 2015-06-17T23:52:50Z Bike: on the note of micronutrients i want to mention that humans need trace vanadium and no one really knows why, because i think that's pretty spooky. 2015-06-17T23:53:22Z Bike: aeth: scheme lets "define" do an actual local definition, but it's by macro hackery to have something like flet. maybe that's why you're confused? 2015-06-17T23:55:10Z ceryo quit (Ping timeout: 265 seconds) 2015-06-17T23:55:42Z qsun quit (Read error: Connection reset by peer) 2015-06-17T23:56:10Z qsun joined #lisp 2015-06-17T23:58:14Z jlongster joined #lisp 2015-06-17T23:58:16Z quazimodo joined #lisp