2016-08-22T00:01:23Z wildlander joined #lisp 2016-08-22T00:07:19Z Josh2 quit (Remote host closed the connection) 2016-08-22T00:11:18Z EvW quit (Ping timeout: 265 seconds) 2016-08-22T00:12:00Z wccoder joined #lisp 2016-08-22T00:15:15Z pillton: Bike: What type inferencing algorithm did you use? 2016-08-22T00:15:18Z atheris joined #lisp 2016-08-22T00:15:39Z MrWoohoo quit (Ping timeout: 244 seconds) 2016-08-22T00:16:31Z wccoder quit (Ping timeout: 244 seconds) 2016-08-22T00:18:25Z emaczen joined #lisp 2016-08-22T00:23:20Z mastokley joined #lisp 2016-08-22T00:24:24Z emaczen quit (Ping timeout: 276 seconds) 2016-08-22T00:27:21Z m00natic quit (Read error: Connection reset by peer) 2016-08-22T00:27:49Z FlingItNow quit (Quit: leaving) 2016-08-22T00:28:30Z jokleinn joined #lisp 2016-08-22T00:30:07Z steelbird joined #lisp 2016-08-22T00:30:17Z kundry_wag quit (Remote host closed the connection) 2016-08-22T00:32:08Z Lexicall joined #lisp 2016-08-22T00:34:44Z oleo quit (Read error: Connection reset by peer) 2016-08-22T00:34:54Z oleo joined #lisp 2016-08-22T00:38:06Z doesthiswork joined #lisp 2016-08-22T00:39:44Z Bike: right now i'm using beach's, which probably doesn't have a name 2016-08-22T00:40:06Z pillton: Does it use unification or forwards/backwards iteration? 2016-08-22T00:41:22Z Bike: forwards iteration. there are no type variables. 2016-08-22T00:41:38Z wildlander quit (Quit: Saliendo) 2016-08-22T00:42:20Z Karl_Dscc quit (Remote host closed the connection) 2016-08-22T00:42:43Z Bike: how it goes: make a hash table where the keys are control arcs and the values are alists variable -> type, where the variables are only those live at that arc and the types are initially T. make a work list and put every instruction on it. iterate the work list. for each instruction, compute the output types from the input types, and put this information in the hash table. if there's a change, put the 2016-08-22T00:42:49Z Bike: successors of the instruction back on the work list. 2016-08-22T00:43:04Z Bike: did that cut off? i'm never sure how long messages work 2016-08-22T00:43:18Z pillton: I got it all. 2016-08-22T00:44:11Z Bike: ok cool. 2016-08-22T00:44:46Z Bike: obviously this doesn't resemble HM or anything. and i think it will probably hang on (loop for x = (the (eql 3) 3) then (1+ x)), if the type lattice was fine enough, which it is presently not. 2016-08-22T00:44:56Z pillton: Ok. I've seen a paper with something similar. 2016-08-22T00:45:32Z pillton: I'm struggling to understand how this algorithm works when you evaluate a branch of a conditional. 2016-08-22T00:46:54Z Bike: a general condition could be anything. cleavir has a "typeq" conditional, which is basically (if (typep something 'a-type) then else). is it obvious how the algorithm treats that? 2016-08-22T00:47:26Z emeritus joined #lisp 2016-08-22T00:48:09Z pillton: That case is fine, it is the (if (my-predicate x) then else) which I find hard. I can see it working with a unification approach. 2016-08-22T00:48:25Z zygentoma quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-08-22T00:48:35Z pillton: Though, I can't find the algorithm for performing the unification. 2016-08-22T00:49:42Z Bike: the initial plan is to inline aggressively, so that hopefully (my-predicate x) will end up something more amenable to analysis. since my-predicate could be literally anything it's hard to saw anything general. 2016-08-22T00:50:19Z Bike: one generalization/expansion is to treat the types of functions as functions on types, but that's pretty far off 2016-08-22T00:50:24Z Bike: to say anything* 2016-08-22T00:52:53Z Bike: this is seriously provisional. right now cleavir has no type inference. by tomorrow it might be to the point of realizing that in (cons (car x) (cdr x)) it does not need to check that x is a list twice 2016-08-22T00:56:01Z pillton: Right. Does it support polymorphism? 2016-08-22T00:56:06Z arescorpio joined #lisp 2016-08-22T00:56:56Z emaczen joined #lisp 2016-08-22T00:57:28Z Bike: pillton, let me introduce you to the cleavir type system https://github.com/robert-strandh/SICL/blob/master/Code/Cleavir/Type-inference/update.lisp#L14-L29 2016-08-22T00:58:11Z pillton: Oh right. 2016-08-22T00:58:12Z harish quit (Ping timeout: 276 seconds) 2016-08-22T00:59:42Z pillton: All right. I might try a couple of schemes then and see how I fair. 2016-08-22T01:00:18Z Bike: i mean, i've read tapl. i can do math later. right now i want to kill a few type checks. 2016-08-22T01:00:49Z Bike: common lisp types are like categorically different from most research on types, so... difficulties 2016-08-22T01:01:19Z pillton: I'm skim reading TAPL at the moment. It proposes a unifcation approach. 2016-08-22T01:02:57Z pillton: As does "A Practical Approach to Type Inference for EuLisp" by Kind and Friedrich. 2016-08-22T01:05:06Z pillton: The later has its limits since it encodes types as bit codes. 2016-08-22T01:07:17Z safe joined #lisp 2016-08-22T01:09:36Z adhoc_ joined #lisp 2016-08-22T01:09:36Z adhoc_ quit (Client Quit) 2016-08-22T01:10:48Z pillton: Speaking of TAPL, do you have a cheat sheet for the notation? 2016-08-22T01:17:07Z angavrilov quit (Ping timeout: 244 seconds) 2016-08-22T01:17:45Z angavrilov joined #lisp 2016-08-22T01:25:45Z shdeng joined #lisp 2016-08-22T01:26:25Z emaczen quit (Ping timeout: 244 seconds) 2016-08-22T01:27:52Z emaczen joined #lisp 2016-08-22T01:27:59Z emaczen quit (Client Quit) 2016-08-22T01:31:54Z eSVG quit (Ping timeout: 250 seconds) 2016-08-22T01:34:16Z LastElemental joined #lisp 2016-08-22T01:34:42Z Lexicall quit (Ping timeout: 250 seconds) 2016-08-22T01:35:54Z Bike: it's that bullshit version of implication, right? thing on top implies thing on bottom. and that gamma thing http://cs.stackexchange.com/a/41837 2016-08-22T01:36:14Z LElemental quit (Ping timeout: 244 seconds) 2016-08-22T01:36:42Z eSVG joined #lisp 2016-08-22T01:36:43Z LElemental joined #lisp 2016-08-22T01:39:02Z LastElemental quit (Ping timeout: 250 seconds) 2016-08-22T01:40:47Z OMGilluminated joined #lisp 2016-08-22T01:40:59Z OMGilluminated left #lisp 2016-08-22T01:41:11Z LastElemental joined #lisp 2016-08-22T01:42:56Z LElemental quit (Ping timeout: 250 seconds) 2016-08-22T01:43:24Z jimdopango joined #lisp 2016-08-22T01:43:42Z LElemental joined #lisp 2016-08-22T01:44:26Z rumbler31: I was doing a long-running calculation and landed in the debugger. The problem was easy to fix, but when I issued a slime restart frame, ccl came back with "%apply-in-frame has bitrotted" I can eval in frames all I want, but are explicit constructs of restart-case et al necessary in order to recover from errors after landing in the debugger, or is there intrinsic restarting capability in slime, or ccl, or what? this part is new to me 2016-08-22T01:45:29Z rumbler31: I know that its sort of a ccl specific thing, but generally, I can see how when in the slime debugger I can inspect and change objects and values, but I haven't yet been able to figure out if restarting execution is supposed to be supported, or if Im making assumptions about how things work 2016-08-22T01:46:07Z pillton: Bike: Yeah. It is the problem of "ok, I'm on page 322, what does mean again? and has its definition changed since it was first introduced?" 2016-08-22T01:46:24Z LastElemental quit (Ping timeout: 250 seconds) 2016-08-22T01:46:32Z pillton: Bike: I should start a wiki. 2016-08-22T01:47:03Z pillton: Bike: Then I can relive the early 2000s. 2016-08-22T01:48:07Z LastElemental joined #lisp 2016-08-22T01:49:24Z pillton: rumbler31: The idea of restarts are part of the cl standard. I don't use those fancy implementation specific features. 2016-08-22T01:49:52Z LElemental quit (Ping timeout: 250 seconds) 2016-08-22T01:50:20Z pillton: rumbler31: I recommend implementing your "long-running calculation" so it is restartable. 2016-08-22T01:50:32Z rumbler31: pillton: so you're saying you end up explicitly coding all of the restarts you care about, but don't find yourself in the debugger continuing execution, you simply start it all over again? 2016-08-22T01:50:44Z LElemental joined #lisp 2016-08-22T01:52:09Z pillton: rumbler31: No. I implement my stuff so it is restartable. There is always some idiot on the clusters I use who consumes all of the diskspace or allocates 128G of memory. 2016-08-22T01:52:12Z Bike: for convenience, we introduce the slight abuse of notation that in the remainder of this paper beginning at the previous sentence, 'define' means 'undefine'. next, 2016-08-22T01:52:47Z pillton: rumbler31: Or, I need this new result based off of this old data. 2016-08-22T01:53:20Z LastElemental quit (Ping timeout: 250 seconds) 2016-08-22T01:53:48Z pillton: rumber31: Or, today, there are 15 people competing for resources. 2016-08-22T01:55:02Z LastElemental joined #lisp 2016-08-22T01:55:32Z pillton: Bike: Yes! Think of the non-linear readers people! 2016-08-22T01:55:59Z Bike: heh, and tapl has that ridiculous chapter precession chart, too 2016-08-22T01:56:45Z rumbler31: yea, I should have coded it up more carefully, but I also was hoping that slime would help me correct things and restart execution. And if that is generally a thing that #lisp expects should be doable then I will try to figure out where my installation is lacking, or if this is something that isn't common or isn't understood to be supported, then I won't spend too much time on it 2016-08-22T01:56:48Z LElemental quit (Ping timeout: 250 seconds) 2016-08-22T01:57:04Z harish joined #lisp 2016-08-22T01:57:24Z slyrus: knobo: fixed and pushed 2016-08-22T01:57:41Z LElemental joined #lisp 2016-08-22T01:57:46Z slyrus: Xach: not sure how long it's been broken, but can you put the latest opticl in the next quicklisp? 2016-08-22T01:58:06Z Xach: slyrus: sure 2016-08-22T01:58:26Z reepca joined #lisp 2016-08-22T01:58:31Z slyrus: thanks! 2016-08-22T02:00:16Z LastElemental quit (Ping timeout: 250 seconds) 2016-08-22T02:02:02Z LastElemental joined #lisp 2016-08-22T02:02:17Z asc232 joined #lisp 2016-08-22T02:02:41Z jimdopango quit (Quit: Page closed) 2016-08-22T02:03:44Z LElemental quit (Ping timeout: 250 seconds) 2016-08-22T02:04:45Z LElemental joined #lisp 2016-08-22T02:05:14Z FreeBirdLjj joined #lisp 2016-08-22T02:05:50Z Lexicall joined #lisp 2016-08-22T02:07:13Z LastElemental quit (Ping timeout: 250 seconds) 2016-08-22T02:08:40Z SpikeMaster joined #lisp 2016-08-22T02:09:00Z LastElemental joined #lisp 2016-08-22T02:09:01Z kamog quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2016-08-22T02:09:39Z LastElemental quit (Client Quit) 2016-08-22T02:10:40Z LElemental quit (Ping timeout: 250 seconds) 2016-08-22T02:16:29Z nalik quit (Quit: Leaving) 2016-08-22T02:25:09Z quazimodo quit (Ping timeout: 258 seconds) 2016-08-22T02:25:09Z quazimod1 quit (Ping timeout: 260 seconds) 2016-08-22T02:27:13Z Lexicall left #lisp 2016-08-22T02:27:20Z SpikeMaster left #lisp 2016-08-22T02:29:38Z scottj quit (Quit: leaving) 2016-08-22T02:33:05Z slyrus quit (Ping timeout: 244 seconds) 2016-08-22T02:33:28Z slyrus_ joined #lisp 2016-08-22T02:34:31Z slyrus_ is now known as slyrus 2016-08-22T02:44:07Z zacharias_ joined #lisp 2016-08-22T02:44:19Z dmiles quit (Read error: Connection reset by peer) 2016-08-22T02:46:45Z sjl quit (Ping timeout: 276 seconds) 2016-08-22T02:47:20Z zacharias quit (Ping timeout: 265 seconds) 2016-08-22T02:53:55Z FreeBirdLjj quit (Remote host closed the connection) 2016-08-22T02:54:40Z swflint quit (Ping timeout: 250 seconds) 2016-08-22T02:55:08Z swflint_away joined #lisp 2016-08-22T02:55:16Z swflint_away is now known as swflint 2016-08-22T03:01:26Z dvxd quit (Quit: dvxd) 2016-08-22T03:02:54Z CrLF0710 quit (Ping timeout: 250 seconds) 2016-08-22T03:06:26Z cibs quit (Ping timeout: 240 seconds) 2016-08-22T03:08:24Z loke__: Hello Lisp! 2016-08-22T03:08:34Z cibs joined #lisp 2016-08-22T03:09:12Z dmiles joined #lisp 2016-08-22T03:09:37Z mastokley quit (Ping timeout: 258 seconds) 2016-08-22T03:10:21Z jdtest quit (Read error: Connection reset by peer) 2016-08-22T03:10:58Z jdtest joined #lisp 2016-08-22T03:14:12Z FreeBirdLjj joined #lisp 2016-08-22T03:14:25Z LiamH quit (Quit: Leaving.) 2016-08-22T03:20:49Z kobain quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-08-22T03:20:51Z d4ryus quit (Ping timeout: 264 seconds) 2016-08-22T03:23:25Z d4ryus joined #lisp 2016-08-22T03:23:36Z Seteeri joined #lisp 2016-08-22T03:25:51Z Seteeri: hi! is anyone familiar with iterate? 2016-08-22T03:26:48Z rumbler3_ joined #lisp 2016-08-22T03:28:54Z loke__: Seteeri: No. But I know LOOP pretty well. 2016-08-22T03:29:03Z rumbler31 quit (Ping timeout: 240 seconds) 2016-08-22T03:29:57Z Seteeri: I'm trying to figure out how to translate a simple loop statement into an iterate one 2016-08-22T03:31:43Z loke__: Seteeri: why? 2016-08-22T03:32:06Z Seteeri: For exploratory purposes 2016-08-22T03:32:45Z loke__: OK, have fun. :-) I won't be able to help you. I never found iterate particularly interesting. 2016-08-22T03:40:29Z defaultxr quit (Quit: gnight) 2016-08-22T03:41:53Z rumbler3_: I have a long running calculation that seems to be creating a heap size into the double digit gigabytes. I convert a largish file, 800 megs or so, into a list of objects. this seems to inflate the data out to about 1.5-2 gig in memory. For a set of files, I inflate one into a list, process the list of objects and store an alist of values, and collect these alists as I go. after about 200 files, I now have a heap of size 12gb, and when I 2016-08-22T03:41:54Z rumbler3_: pause the calc and invoke room and ccl::heap-utilization, it tells me that the i have essentially 10 gb of cons 2016-08-22T03:42:40Z rumbler3_: the alists are lists of numbers, I wouldn't expect a list of several million numbers to get to be 10 gb of cons, but maybe I need to sit down with a calc 2016-08-22T03:43:09Z kushal joined #lisp 2016-08-22T03:46:46Z rumbler3_: how can I get more visibility into what is going on in regards to garbage collecting? my first approach that got me far was to increase the size of lisp heap size increases, since as I read in a file that I expect to be of a certain size, but I only read in one at a time and then condense the data down and move on 2016-08-22T03:48:19Z rumbler3_: instead of having to reallocate every few mb, I can reallocate less often with a more appropriate amount of space. While I'm doing this for several hundred files, I figured that retaining vm pages throughout this process would help, but I am ignorant of this as I assume it means (you just asked for x amount of resources and now you want to free them, only to immediately turn around and ask for them again) 2016-08-22T03:48:54Z rumbler3_: but I figured that if I didn't do this I would avoid holding on to resources I don't end up using, so with this latest run, I am not retaining pages, but still have a large heap size 2016-08-22T03:53:10Z fluter quit (Ping timeout: 250 seconds) 2016-08-22T03:56:28Z doesthiswork quit (Quit: Page closed) 2016-08-22T03:58:32Z jleija quit (Quit: leaving) 2016-08-22T04:03:56Z akkad: mmap possible? 2016-08-22T04:06:04Z slyrus quit (Ping timeout: 260 seconds) 2016-08-22T04:09:39Z rumbler3_: i dont know 2016-08-22T04:10:08Z EvW joined #lisp 2016-08-22T04:11:30Z smokeink joined #lisp 2016-08-22T04:14:48Z rumbler3_: I guess so. it will make some of what I want to do later more complicated. 2016-08-22T04:14:49Z EvW quit (Ping timeout: 260 seconds) 2016-08-22T04:15:20Z FreeBirdLjj quit (Remote host closed the connection) 2016-08-22T04:15:32Z akkad: hmm. 2016-08-22T04:15:34Z akkad: what sort of logs? 2016-08-22T04:15:52Z akkad: something you could use pgloader to put into a db and then use? 2016-08-22T04:16:20Z rumbler3_: objects that are modified and need to be written back, may be of a different size than originally read in. the mmmap approach would only help when crunching on them, and later I do plan on needing to make new objects. Although I guess I could just always write to a new file... 2016-08-22T04:17:35Z rumbler3_: the logs are mostly binary, and contain vehicle telemetry, encoder positions, temperatures, etc. an hour's worth of data consumes about 800 megs or so 2016-08-22T04:17:46Z rumbler3_: tagged structure similar to a wav file 2016-08-22T04:18:10Z akkad: interesting. got any code you are allowed to demo? or demo data? 2016-08-22T04:20:21Z rumbler3_: not yet. but, i've been meaning to publish some parts, although really I think that at least for the work i've done so far, it can mostly be replaced by PCL's binary types implementation 2016-08-22T04:20:28Z eSVG quit (Ping timeout: 250 seconds) 2016-08-22T04:21:05Z rumbler3_: so really, if you've read that chapter of pcl, its that, except with most of the class stuff that allows composite types to be represented and composed into one object, right now I just pick apart composite objects and store them in a list 2016-08-22T04:21:53Z rumbler3_: and my syntax doesn't take advantage of specifying a reader/writer inside the definition, I have a macro function with a case for that, and I haven't bothered to write writer generating code yet 2016-08-22T04:22:27Z akkad: interesting 2016-08-22T04:23:21Z rumbler3_: I read enough of the chapter back when I was starting with lisp, and I didn't understand the class composition stuff at first, but my memory of how to get it done stuck, so after I finally started and referenced the book, I was like, Its uncanny how similar the described task fits my needs 2016-08-22T04:24:26Z rumbler3_: and i've been hoping to keep my understanding about lisp and memory inside lisp, since I figure i'm not the first person to be in this position, although on irc I guess I seem to be, you're not the first person to suggest going out to mmap 2016-08-22T04:25:36Z rumbler3_: another approach I was considering was moving my crunch code down so that it happens on each object right after it's read, but I haven't figured out how to make that clean yet. 2016-08-22T04:26:03Z rumbler3_: I assumed it would keep the memory costs down, but again, clearly i've made other assumptions that have turned out to be wrong 2016-08-22T04:26:44Z rumbler3_: as I figured expanding one file at a time shouldn't cost more than a gb or two and for what I'm doing I don't care right now. 2016-08-22T04:39:45Z akkad: rumbler3_: how does your code run on sbcl vs ccl? 2016-08-22T04:39:59Z akkad: i find binary file operations tend to be very fast under sbcl by comparison 2016-08-22T04:40:25Z rumbler3_: I haven't run it on sbcl yet 2016-08-22T04:40:48Z akkad: may make a major difference 2016-08-22T04:41:16Z akkad: ironclad/chipz/salza/scrypt all show great benefit from sbcl vs ccl/allegro/lw 2016-08-22T04:41:55Z rumbler3_: on a tangent, is it better to install slime via quicklisp or slime via mepla? 2016-08-22T04:42:11Z akkad: quicklisp 2016-08-22T04:42:22Z akkad: ql:quickload :quicklisp-slime-helper 2016-08-22T04:42:45Z akkad: and something like ;;(load (expand-file-name (concat dotfiles-dir "quicklisp/slime-helper.el"))) 2016-08-22T04:42:45Z akkad: 2016-08-22T04:43:10Z akkad: (when (file-exists-p "~/quicklisp/slime-helper.el") (load (expand-file-name "~/quicklisp/slime-helper.el")) ;; rather 2016-08-22T04:43:47Z vlatkoB joined #lisp 2016-08-22T04:45:45Z smokeink quit (Ping timeout: 265 seconds) 2016-08-22T04:48:27Z mastokley joined #lisp 2016-08-22T04:49:35Z rumbler3_: at the moment, it looks like the melpa version is newer? but anyways, thanks for the help. I guess I can try sbcl and see what happens 2016-08-22T04:54:07Z quazimodo joined #lisp 2016-08-22T04:54:11Z quazimod1 joined #lisp 2016-08-22T04:54:52Z rumbler3_ quit (Ping timeout: 240 seconds) 2016-08-22T04:55:57Z Petit_Dejeuner joined #lisp 2016-08-22T04:58:42Z reepca quit (Remote host closed the connection) 2016-08-22T04:59:25Z Seteeri quit (Read error: Connection reset by peer) 2016-08-22T05:03:14Z lemoinem quit (Ping timeout: 265 seconds) 2016-08-22T05:03:58Z ghostlight quit (Quit: ZNC - http://znc.in) 2016-08-22T05:04:12Z asc232 quit (Ping timeout: 265 seconds) 2016-08-22T05:04:28Z ghostlight joined #lisp 2016-08-22T05:04:51Z lemoinem joined #lisp 2016-08-22T05:10:58Z knobo: slyrus: no url. I use it on a backend for an infokiosk. 2016-08-22T05:11:19Z Grue` joined #lisp 2016-08-22T05:12:01Z arescorpio quit (Excess Flood) 2016-08-22T05:12:44Z atheris quit (Ping timeout: 244 seconds) 2016-08-22T05:16:27Z asc232 joined #lisp 2016-08-22T05:16:42Z rpb joined #lisp 2016-08-22T05:25:05Z shka joined #lisp 2016-08-22T05:28:13Z beach: Good morning everyone! 2016-08-22T05:28:41Z oleo quit (Quit: Leaving) 2016-08-22T05:28:45Z jackdaniel: beach: hey o/ we've encountered really disturbing bug in clim with loke__ ^_^ 2016-08-22T05:29:00Z beach: The one with OBJECT? 2016-08-22T05:29:32Z jackdaniel: yes 2016-08-22T05:29:39Z beach: Very weird. 2016-08-22T05:29:50Z beach: Sounds like someone took the spec a bit too literally. 2016-08-22T05:30:20Z flamebeard joined #lisp 2016-08-22T05:30:39Z safe quit (Read error: Connection reset by peer) 2016-08-22T05:31:05Z Bike: in positive news, check it http://imgur.com/a/5r7TY 2016-08-22T05:31:17Z Bike: candid before and after shots 2016-08-22T05:32:16Z beach: Bike: Making progress? 2016-08-22T05:32:39Z Bike: yeah! it works! 2016-08-22T05:32:45Z Bike: though it leaves a few stray predecessors around. 2016-08-22T05:32:48Z beach: What does it do? 2016-08-22T05:33:06Z Bike: removes impossible typeq branches 2016-08-22T05:33:15Z Bike: the top picture is before, the bottom is after 2016-08-22T05:33:20Z beach: Wow, already! Impressive. 2016-08-22T05:34:06Z beach: The top picture is smaller though. 2016-08-22T05:34:19Z Bike: oh drat, it got ordered backwards. 2016-08-22T05:34:25Z beach: Oh, that explains it. 2016-08-22T05:34:33Z Bike: ok, the top picture is after. the one with all the type errors is the one without pruning. 2016-08-22T05:34:42Z beach: Very nice! 2016-08-22T05:35:18Z Bike: the amount of redundant assignment instructions means it still checks the cons twice, but that's better than eight times 2016-08-22T05:35:37Z beach: Heh, right. 2016-08-22T05:36:11Z beach: To remove the second check in (let ((a (car x)) (b (cdr x))) ...) requires a different transformation that I have designed. 2016-08-22T05:36:29Z beach: It replicates the paths between the CAR and the CDR. 2016-08-22T05:36:46Z cibs quit (Ping timeout: 240 seconds) 2016-08-22T05:37:19Z beach: Bike: That's very impressive work! 2016-08-22T05:37:28Z beach: Bike: Thanks for doing that! 2016-08-22T05:37:36Z Bike: it's more fragile than i'd like, but it's goin pretty well, yeah 2016-08-22T05:37:52Z ramky joined #lisp 2016-08-22T05:38:00Z beach: Sure. There are a lot of details to consider. 2016-08-22T05:38:55Z cibs joined #lisp 2016-08-22T05:40:19Z Bike: do you have any suggestions for totally cutting out a path? as is, all the instructions are still accessible in that they're predecessors of some of the reachable instructions. 2016-08-22T05:40:54Z beach: But not reachable from the ENTER instruction? 2016-08-22T05:41:04Z Bike: right. 2016-08-22T05:41:10Z beach: Yes, I have a function for that. 2016-08-22T05:41:14Z beach: Hold on... 2016-08-22T05:42:49Z beach: cleavir-ir:set-predecessors 2016-08-22T05:43:10Z Bike: oh. damn. 2016-08-22T05:43:31Z beach: What? 2016-08-22T05:43:46Z Bike: i looked through cleavir-ir and didn't see it, that's all. 2016-08-22T05:43:59Z fluter joined #lisp 2016-08-22T05:44:00Z beach: OK. 2016-08-22T05:44:32Z slyrus joined #lisp 2016-08-22T05:47:39Z Bike: i came up with a kind of generalized version of cleavir-ir:delete-instruction, without knowing delete-instruction existed. don't want to duplicate work, you know 2016-08-22T05:48:17Z beach: In what way is it more general? 2016-08-22T05:48:53Z Bike: works on instructions with multiple successors. you pass the successor you don't want deleted as an argument. 2016-08-22T05:49:04Z Bike: er, that you don't want disconnected. 2016-08-22T05:49:10Z beach: Yes, I understand. 2016-08-22T05:49:30Z beach: How was it done before? 2016-08-22T05:49:42Z Bike: how was what done before? 2016-08-22T05:49:54Z beach: Deleting an instruction with more than one successor. 2016-08-22T05:49:57Z beach: Replace with NOP and then delete? 2016-08-22T05:50:15Z Bike: Um, I don't know. If you have code that does that I don't know where it is. 2016-08-22T05:50:26Z beach: Right, maybe I don't have any. 2016-08-22T05:56:31Z beach: Bike: What is the source code of your example? 2016-08-22T05:56:50Z Bike: (lambda (x) (declare (cons x)) (cons (car x) (cdr x))) 2016-08-22T05:57:14Z beach: Nice! 2016-08-22T05:58:40Z Bike: the THEs are inserted by generate-ast from the declaration, of course. the dumber THEs are due to the ftype declarations on car and cdr. there shouldn't really be any THE Ts, but it doesn't have any impact so i'm putting fixing that off 2016-08-22T05:59:06Z beach: OK. 2016-08-22T05:59:39Z beach: Did you inline CAR and CDR that you defined yourself? 2016-08-22T06:01:10Z Bike: yeah. it's just the expansion you have in the docs. 2016-08-22T06:01:26Z beach: And how did you handle the environment? 2016-08-22T06:01:26Z Warlock[29A] quit (Read error: Connection reset by peer) 2016-08-22T06:01:34Z beach: Did you create a SICL first-class global environment? 2016-08-22T06:01:59Z Bike: i have a bunch of machinery to use sbcl lexenvs. (which is why i was worried about weird values types, most functions in sbcl have a return type with &optional) 2016-08-22T06:02:14Z beach: Very nice! 2016-08-22T06:03:14Z beach: I have been thinking about setting up the environment machinery so that Cleavir can be used as a compiler for SBCL. 2016-08-22T06:03:29Z beach: But I never got around to it. 2016-08-22T06:03:45Z Bike: i have unfortunately been running into the macroexpand problem. i can't really compile code with setf in it, for one 2016-08-22T06:04:38Z beach: I am guessing that you didn't set things up completely. 2016-08-22T06:04:45Z beach: It is a bit complicated to do. 2016-08-22T06:05:10Z beach: But it would be worth doing it properly at some point. 2016-08-22T06:05:31Z Bike: i have a bunch of methods on sb-c::lexenv. what more do you do? hopefully you don't mean defining my own setf 2016-08-22T06:05:53Z Bike: sb-kernel:lexenv, rather. good ol skullduggery 2016-08-22T06:06:06Z beach: I wrote some stuff about it. Let me dig it up for you... 2016-08-22T06:06:43Z Bike: oh, or i guess i could set *macroexpand-hook*, if there's not a type declaration in macroexpand 2016-08-22T06:08:26Z smokeink joined #lisp 2016-08-22T06:10:36Z beach: I remember writing a lot of stuff about how to configure the Cleavir environment code for a particular implementation. But I can't find it now. 2016-08-22T06:10:50Z beach: It is not trivial and there are two techniques possible. 2016-08-22T06:11:06Z beach: The reason it is not trivial is because of how Common Lisp itself is defined. 2016-08-22T06:11:25Z Bike: sure. environments are all mysterious, for one 2016-08-22T06:11:41Z FreeBirdLjj joined #lisp 2016-08-22T06:11:53Z beach: As long as only the global environment is needed, it is not that bad. 2016-08-22T06:12:11Z zacts joined #lisp 2016-08-22T06:12:13Z beach: The question is what happens with lexical environments. 2016-08-22T06:12:34Z beach: One can either use those of the host, or the default ones provided by cleavir. 2016-08-22T06:13:10Z scymtym quit (Ping timeout: 244 seconds) 2016-08-22T06:13:11Z Bike: yeah, i have accessors for sbcl lexical environments but the compiler makes cleavir's. 2016-08-22T06:13:20Z beach: Right. 2016-08-22T06:13:46Z beach: But you can't pass a Cleavir environment to the host macroexpand. 2016-08-22T06:14:00Z beach: Or to get-setf-expander. 2016-08-22T06:14:14Z wccoder joined #lisp 2016-08-22T06:14:53Z beach: I sorted all this out for drmeister, because he is using it for Clasp. 2016-08-22T06:15:09Z Bike: does he not just use cleavir's? 2016-08-22T06:17:42Z beach: Bike: Let me spend some time today (UTC+2) digging up the documentation and get back to you about setting things up for SBCL. That could be a valuable thing to do. 2016-08-22T06:18:25Z beach: I don't remember. 2016-08-22T06:18:30Z ggole joined #lisp 2016-08-22T06:18:32Z wccoder quit (Ping timeout: 240 seconds) 2016-08-22T06:18:50Z beach: But it is not that easy because of macroexpansion in lexical environments. 2016-08-22T06:18:56Z Bike: ok, sure. i mean, probably helpful later but i can do ok for now, don't worry about it too much. 2016-08-22T06:19:10Z beach: OK. 2016-08-22T06:19:39Z beach: I just think it would be valuable to have a complete environment setup for SBCL so that one can test things more easily. 2016-08-22T06:20:08Z Bike: yeah, probably. my inline expansions thing is pretty hacky 2016-08-22T06:24:08Z peterh joined #lisp 2016-08-22T06:24:40Z DeadTrickster joined #lisp 2016-08-22T06:25:58Z beach: The other possibility is for me to tell you how to set up a SICL first-class global environment. 2016-08-22T06:26:45Z beach: I went through that with jackdaniel so I know that it is not very well documented at the moment. I could work on documenting it. 2016-08-22T06:27:43Z beach: Anyway, this is very exciting stuff! 2016-08-22T06:28:43Z Bike: i'll be more excited when it's stable enough to actually be incorporated :) 2016-08-22T06:30:43Z ggole_ joined #lisp 2016-08-22T06:33:04Z shka quit (Ping timeout: 260 seconds) 2016-08-22T06:33:08Z DeadTrickster quit (Ping timeout: 265 seconds) 2016-08-22T06:33:41Z ggole quit (Ping timeout: 244 seconds) 2016-08-22T06:34:41Z beach: Bike: I should get to work. Do you have any questions before I go? 2016-08-22T06:35:06Z Bike: don't think so. see you. 2016-08-22T06:35:14Z beach: Yes, take care. 2016-08-22T06:35:17Z beach left #lisp 2016-08-22T06:38:53Z ggole__ joined #lisp 2016-08-22T06:41:30Z ggole_ quit (Ping timeout: 250 seconds) 2016-08-22T06:47:58Z ggole_ joined #lisp 2016-08-22T06:48:28Z pillton: Inferior-shell makes life so much better. 2016-08-22T06:49:18Z fluter quit (Ping timeout: 250 seconds) 2016-08-22T06:49:47Z pareidolia joined #lisp 2016-08-22T06:50:31Z kushal quit (Quit: Leaving) 2016-08-22T06:50:56Z ggole__ quit (Ping timeout: 265 seconds) 2016-08-22T06:52:52Z yeticry quit (Ping timeout: 240 seconds) 2016-08-22T06:53:55Z quazimod1 quit (Quit: leaving) 2016-08-22T06:55:03Z yeticry joined #lisp 2016-08-22T06:57:24Z fluter joined #lisp 2016-08-22T06:58:07Z deank quit 2016-08-22T07:01:42Z kdas__ joined #lisp 2016-08-22T07:03:31Z mishoo joined #lisp 2016-08-22T07:04:21Z piterbig joined #lisp 2016-08-22T07:05:11Z piterbig quit (Client Quit) 2016-08-22T07:08:42Z quazimodo quit (Ping timeout: 276 seconds) 2016-08-22T07:09:56Z quazimodo joined #lisp 2016-08-22T07:10:27Z deank joined #lisp 2016-08-22T07:20:33Z nightfly quit (Quit: WeeChat 1.4) 2016-08-22T07:20:34Z fouric quit (Quit: WeeChat 1.4) 2016-08-22T07:20:35Z varjag joined #lisp 2016-08-22T07:20:54Z zacts quit (Ping timeout: 265 seconds) 2016-08-22T07:23:26Z mastokley quit (Ping timeout: 244 seconds) 2016-08-22T07:25:31Z puchacz joined #lisp 2016-08-22T07:31:32Z peterh quit (Ping timeout: 265 seconds) 2016-08-22T07:32:04Z peterh joined #lisp 2016-08-22T07:35:17Z shka joined #lisp 2016-08-22T07:36:11Z kdas__ quit (Quit: Leaving) 2016-08-22T07:40:04Z knicklux quit (Remote host closed the connection) 2016-08-22T07:40:51Z robotoad joined #lisp 2016-08-22T07:41:09Z Munksgaard joined #lisp 2016-08-22T07:42:00Z scymtym joined #lisp 2016-08-22T07:42:30Z przl joined #lisp 2016-08-22T07:42:39Z kokonaisluku joined #lisp 2016-08-22T07:49:22Z lexicall joined #lisp 2016-08-22T07:50:14Z scymtym_ joined #lisp 2016-08-22T07:51:57Z lexicall: hi, i'm compiling a lisp file using slime-compile-file. there are some macros defined in it and those macros require some external functions that are, also defined in the same file. but when i launched slime-compile-file the slime complains "undefined function XXX". it's weird that i already have that function XXX defined in the same file. so how can i fix this? 2016-08-22T07:52:51Z lexicall: the compilation passed if i load that file in advance. 2016-08-22T07:53:14Z Bike: (eval-when (:compile-toplevel :load-toplevel :execute) (defun needed-function ...)), and put them before any time the macros need to be expanded 2016-08-22T07:53:29Z kushal joined #lisp 2016-08-22T07:54:00Z vydd joined #lisp 2016-08-22T07:54:00Z vydd quit (Changing host) 2016-08-22T07:54:00Z vydd joined #lisp 2016-08-22T07:54:00Z lexicall: Bike: thanks and generally in what time should i use this expression? 2016-08-22T07:54:08Z Bike: "in what time"? 2016-08-22T07:54:20Z lexicall: I mean when should i use that 2016-08-22T07:54:26Z scymtym quit (Ping timeout: 258 seconds) 2016-08-22T07:54:43Z Bike: well, what you need to understand is the phases of processing a file 2016-08-22T07:55:07Z Bike: the compiler needs to evaluate defmacro forms, because macros are expanded at compile time 2016-08-22T07:55:15Z lexicall: macros are compiled before functions? 2016-08-22T07:55:41Z Bike: basically yes 2016-08-22T07:56:03Z przl quit (Ping timeout: 250 seconds) 2016-08-22T07:56:04Z Bike: the compiler doesn't need to evaluate defun forms, since most functions don't need to be called by the compiler 2016-08-22T07:56:27Z lexicall: ok i got that point. 2016-08-22T07:56:29Z Bike: if a function does need to be called by the compiler, most often because it's used in a macroexpander but not always, you need to tell it to evaluate the defun form with eval-when. make sense? 2016-08-22T07:56:40Z lexicall: sure :) 2016-08-22T08:01:33Z Bike quit (Quit: sleep) 2016-08-22T08:03:12Z knicklux joined #lisp 2016-08-22T08:04:01Z scymtym_ quit (Ping timeout: 258 seconds) 2016-08-22T08:04:04Z tmtwd quit (Ping timeout: 260 seconds) 2016-08-22T08:12:30Z kilfer quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2016-08-22T08:16:37Z zacharias_ quit (Ping timeout: 250 seconds) 2016-08-22T08:24:38Z lexicall quit (Ping timeout: 250 seconds) 2016-08-22T08:26:40Z kokonaisluku quit (Quit: ChatZilla 0.9.92 [Firefox 45.3.0/20160803111628]) 2016-08-22T08:34:21Z SumoSudo joined #lisp 2016-08-22T08:40:35Z tmtwd joined #lisp 2016-08-22T08:44:09Z ovenpasta joined #lisp 2016-08-22T08:44:46Z Karl_Dscc joined #lisp 2016-08-22T08:45:47Z robotoad quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-08-22T08:49:22Z EvW joined #lisp 2016-08-22T08:49:26Z ASau quit (Ping timeout: 265 seconds) 2016-08-22T08:51:25Z harish quit (Ping timeout: 252 seconds) 2016-08-22T08:54:08Z przl joined #lisp 2016-08-22T08:55:52Z przl_ joined #lisp 2016-08-22T08:55:57Z przl quit (Client Quit) 2016-08-22T09:00:12Z arduo joined #lisp 2016-08-22T09:07:27Z Josh2 joined #lisp 2016-08-22T09:08:10Z araujo quit (Read error: Connection reset by peer) 2016-08-22T09:09:04Z araujo joined #lisp 2016-08-22T09:12:52Z pierpa joined #lisp 2016-08-22T09:12:59Z Karl_Dscc quit (Remote host closed the connection) 2016-08-22T09:12:59Z taij33n joined #lisp 2016-08-22T09:15:32Z DeadTrickster joined #lisp 2016-08-22T09:22:32Z quazimodo quit (Ping timeout: 240 seconds) 2016-08-22T09:22:34Z gigetoo quit (Read error: No route to host) 2016-08-22T09:23:06Z gigetoo joined #lisp 2016-08-22T09:25:53Z m00natic joined #lisp 2016-08-22T09:29:05Z scymtym joined #lisp 2016-08-22T09:40:20Z hhdave joined #lisp 2016-08-22T09:40:47Z scymtym_ joined #lisp 2016-08-22T09:43:07Z Karl_Dscc joined #lisp 2016-08-22T09:43:48Z hhdave_ joined #lisp 2016-08-22T09:44:13Z kushal quit (Quit: Leaving) 2016-08-22T09:45:00Z hhdave quit (Ping timeout: 244 seconds) 2016-08-22T09:45:00Z hhdave_ is now known as hhdave 2016-08-22T09:45:13Z scymtym quit (Ping timeout: 258 seconds) 2016-08-22T09:45:31Z zacharias joined #lisp 2016-08-22T09:45:52Z scymtym_ quit (Quit: ERC (IRC client for Emacs 25.1.50.1)) 2016-08-22T09:46:32Z scymtym joined #lisp 2016-08-22T09:49:54Z strelox joined #lisp 2016-08-22T09:53:43Z hhdave quit (Quit: hhdave) 2016-08-22T09:56:52Z gigetoo quit (Read error: No route to host) 2016-08-22T09:57:29Z gigetoo joined #lisp 2016-08-22T09:58:31Z tmtwd quit (Ping timeout: 252 seconds) 2016-08-22T09:58:35Z lambda-smith joined #lisp 2016-08-22T10:04:41Z mrcom joined #lisp 2016-08-22T10:05:13Z asc232 quit (Remote host closed the connection) 2016-08-22T10:08:00Z gigetoo quit (Read error: No route to host) 2016-08-22T10:08:36Z gigetoo joined #lisp 2016-08-22T10:12:21Z shka quit (Quit: Konversation terminated!) 2016-08-22T10:15:44Z groovy2shoes quit (Quit: Leaving) 2016-08-22T10:19:35Z lambda-smith quit (Quit: Konversation terminated!) 2016-08-22T10:20:17Z arbv joined #lisp 2016-08-22T10:24:47Z przl_ quit (Ping timeout: 244 seconds) 2016-08-22T10:46:46Z yeticry quit (Ping timeout: 250 seconds) 2016-08-22T10:47:28Z ramky quit (Quit: Leaving) 2016-08-22T10:48:42Z yeticry joined #lisp 2016-08-22T10:50:12Z edgar-rft quit (Quit: edgar-rft) 2016-08-22T10:52:23Z przl joined #lisp 2016-08-22T10:56:44Z rpb quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-08-22T10:57:03Z eli quit (Ping timeout: 240 seconds) 2016-08-22T10:57:17Z barbone joined #lisp 2016-08-22T10:57:23Z przl quit (Ping timeout: 250 seconds) 2016-08-22T11:00:44Z fluter quit (Ping timeout: 258 seconds) 2016-08-22T11:06:03Z EvW quit (Ping timeout: 240 seconds) 2016-08-22T11:06:59Z shka joined #lisp 2016-08-22T11:15:03Z DGASAU quit (Ping timeout: 276 seconds) 2016-08-22T11:15:34Z Oladon quit (Read error: Connection reset by peer) 2016-08-22T11:16:18Z Oladon joined #lisp 2016-08-22T11:16:53Z alphor quit (Ping timeout: 250 seconds) 2016-08-22T11:17:02Z ahungry` joined #lisp 2016-08-22T11:17:17Z ahungry quit (Remote host closed the connection) 2016-08-22T11:18:11Z bitch quit (Ping timeout: 250 seconds) 2016-08-22T11:18:24Z alphor joined #lisp 2016-08-22T11:19:07Z lexicall joined #lisp 2016-08-22T11:19:18Z lexicall quit (Client Quit) 2016-08-22T11:19:29Z drdo quit (Ping timeout: 250 seconds) 2016-08-22T11:19:51Z boomer joined #lisp 2016-08-22T11:19:59Z drdo joined #lisp 2016-08-22T11:19:59Z fluter joined #lisp 2016-08-22T11:22:07Z ghostlight quit (Ping timeout: 252 seconds) 2016-08-22T11:22:54Z DGASAU joined #lisp 2016-08-22T11:22:57Z kushal joined #lisp 2016-08-22T11:25:47Z ghostlight joined #lisp 2016-08-22T11:25:48Z ghostlight quit (Max SendQ exceeded) 2016-08-22T11:26:17Z ghostlight joined #lisp 2016-08-22T11:26:18Z ghostlight quit (Max SendQ exceeded) 2016-08-22T11:26:47Z ghostlight joined #lisp 2016-08-22T11:27:28Z slyrus_ joined #lisp 2016-08-22T11:27:31Z slyrus quit (Ping timeout: 250 seconds) 2016-08-22T11:28:03Z Oddity quit (Ping timeout: 276 seconds) 2016-08-22T11:29:30Z slyrus_ is now known as slyrus 2016-08-22T11:30:36Z sjl joined #lisp 2016-08-22T11:32:42Z PlasmaStar quit (Ping timeout: 250 seconds) 2016-08-22T11:34:29Z PlasmaStar joined #lisp 2016-08-22T11:36:29Z yeticry quit (Quit: leaving) 2016-08-22T11:38:51Z Oddity joined #lisp 2016-08-22T11:38:55Z Oddity quit (Changing host) 2016-08-22T11:38:55Z Oddity joined #lisp 2016-08-22T11:41:24Z akkad: (defvar class "flow") (find-class class) ;; what is the right way to conver class to a symbol find-class can use? 2016-08-22T11:45:08Z durm joined #lisp 2016-08-22T11:45:51Z jdz: akkad: class names are symbols. 2016-08-22T11:46:17Z akkad: right. this is the problem I'm trying to solve. string var -> symbol 2016-08-22T11:46:23Z knobo: akkad: (intern (string-upcase class)) 2016-08-22T11:46:32Z akkad: hmm upcase. 2016-08-22T11:47:04Z knobo: akkad: probably, yes. Deppends on what you want to do. 2016-08-22T11:47:09Z akkad: that did it 2016-08-22T11:47:50Z akkad: knobo: thanks 2016-08-22T12:00:29Z shdeng quit (Quit: Leaving) 2016-08-22T12:01:15Z sjl quit (Read error: Connection reset by peer) 2016-08-22T12:05:50Z FreeBirdLjj quit (Remote host closed the connection) 2016-08-22T12:14:37Z akkad: (somefunction 'someClass 'someField "53") (defun mywrapper (class field value) (somefunction (find-class (intern (string-upcase class))) (intern (string-upcase class)) value)) 2016-08-22T12:15:57Z Josh3 joined #lisp 2016-08-22T12:15:59Z przl joined #lisp 2016-08-22T12:17:46Z Josh2 quit (Ping timeout: 250 seconds) 2016-08-22T12:17:47Z Josh3 is now known as Josh2 2016-08-22T12:23:02Z bogdanm joined #lisp 2016-08-22T12:25:54Z Josh3 joined #lisp 2016-08-22T12:27:03Z Josh2 quit (Ping timeout: 240 seconds) 2016-08-22T12:27:03Z Josh3 is now known as Josh2 2016-08-22T12:29:07Z barbone quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-08-22T12:29:31Z PosterdatiMobile joined #lisp 2016-08-22T12:35:19Z PosterdatiMobile quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-08-22T12:35:41Z PosterdatiMobile joined #lisp 2016-08-22T12:38:17Z arduo quit (Read error: No route to host) 2016-08-22T12:38:35Z krasnal quit (Read error: No route to host) 2016-08-22T12:38:37Z holly2 quit (Ping timeout: 244 seconds) 2016-08-22T12:44:50Z malice` quit (Ping timeout: 264 seconds) 2016-08-22T12:50:07Z sjl joined #lisp 2016-08-22T12:50:50Z holly2 joined #lisp 2016-08-22T12:57:47Z krasnal joined #lisp 2016-08-22T13:00:06Z quazimodo joined #lisp 2016-08-22T13:04:29Z milanj joined #lisp 2016-08-22T13:05:57Z edgar-rft joined #lisp 2016-08-22T13:11:58Z milanj: hi 2016-08-22T13:12:13Z LiamH joined #lisp 2016-08-22T13:12:26Z milanj: s there a easy way to find dependency tree with ql (or maybe asdf) 2016-08-22T13:12:26Z milanj: how can i found out dependency tree with quicklisp (or maybe asdf) 2016-08-22T13:12:40Z przl quit (Ping timeout: 252 seconds) 2016-08-22T13:12:42Z milanj: want to know how i'm getting specific library loaded 2016-08-22T13:13:10Z Xach: milanj: if it is in quicklisp, (ql-dist:dependency-tree system-name) 2016-08-22T13:13:19Z Xach: milanj: e.g. (ql-dist:dependency-tree "vecto") 2016-08-22T13:13:51Z milanj: cool, I can do that on every system in my local project 2016-08-22T13:13:55Z milanj: thanks Xach 2016-08-22T13:16:27Z Xach: milanj: it doesn't work on local projects - only the parts that come from quicklisp 2016-08-22T13:16:35Z Xach: milanj: it doesn't introspect the system files, it uses precompiled info 2016-08-22T13:16:44Z milanj: I meant, do it on every project that my local project depends on 2016-08-22T13:16:52Z Xach: ah ok 2016-08-22T13:18:04Z przl joined #lisp 2016-08-22T13:18:41Z cromachina quit (Quit: Leaving) 2016-08-22T13:23:53Z Xach: jackdaniel: !!! 2016-08-22T13:24:33Z smokeink quit (Ping timeout: 240 seconds) 2016-08-22T13:28:40Z eSVG joined #lisp 2016-08-22T13:29:48Z ahirsch joined #lisp 2016-08-22T13:32:31Z smokeink joined #lisp 2016-08-22T13:34:31Z dyelar joined #lisp 2016-08-22T13:36:15Z Karl_Dscc quit (Remote host closed the connection) 2016-08-22T13:39:03Z warweasle joined #lisp 2016-08-22T13:39:07Z Xach: jackdaniel: it looks like a few mcclim apps are broken by recent mcclim changes :( 2016-08-22T13:39:25Z Xach: jackdaniel: beirc and ernestine specifically 2016-08-22T13:39:54Z warweasle: Xach: Is mcclim work learning? Would it add anything to SDL2? 2016-08-22T13:40:23Z Xach: warweasle: i am a mcclim pessimist 2016-08-22T13:40:47Z varjag: Xach: bumpty on sharplispers/cl-jpeg 2016-08-22T13:41:02Z Xach: varjag: not sure what that means? 2016-08-22T13:41:16Z varjag: new pull request 2016-08-22T13:41:25Z Xach: varjag: do you have commit access? 2016-08-22T13:41:29Z slyrus quit (Ping timeout: 244 seconds) 2016-08-22T13:41:37Z varjag: no 2016-08-22T13:41:46Z Xach: hmm, ok, i will try to give you commit access 2016-08-22T13:42:02Z varjag: cool 2016-08-22T13:42:39Z Xach: varjag: ok, i have tried to send an invitation to have write access 2016-08-22T13:42:44Z Xach: varjag: if there are problems, please let me know 2016-08-22T13:43:18Z varjag: it worked, thanks 2016-08-22T13:44:16Z warweasle: Xach: Ok. I'm glad I'm not the only skeptic. 2016-08-22T13:44:28Z warweasle would use gtk or something similar. 2016-08-22T13:47:37Z ferada: which comes with the fun of going through c wrappers and back, it's no panacea either 2016-08-22T13:49:27Z varjag: i liked using mcclim own grapher for exploring my datasets 2016-08-22T13:49:44Z varjag: was fairly easy to match node presentation to what i wanted 2016-08-22T13:50:05Z yeticry joined #lisp 2016-08-22T13:50:23Z varjag: steep learning curve though overall 2016-08-22T13:51:22Z warweasle: ferada: Don't you still need to call through Win32 or Xlib or something anyway? 2016-08-22T13:51:35Z Patzy joined #lisp 2016-08-22T13:53:12Z ferada: you can just talk the x procotol through a socket 2016-08-22T13:53:25Z ferada: at least that way your image can't be so easily hosed 2016-08-22T13:54:06Z KaliLinuxGR quit (Remote host closed the connection) 2016-08-22T13:54:08Z ferada: in contrast to gtk/... bindings i mean 2016-08-22T13:54:30Z warweasle: ferada: That makes sense. Windows can't do that can it? 2016-08-22T13:54:54Z ferada: there are x servers for windows 2016-08-22T13:55:16Z trebor_win joined #lisp 2016-08-22T13:55:39Z peterh quit (Ping timeout: 264 seconds) 2016-08-22T13:56:16Z holly2 quit (Ping timeout: 265 seconds) 2016-08-22T13:56:21Z warweasle: ferada: I've had good luck using SDL from a different thread. 2016-08-22T13:56:56Z holly2 joined #lisp 2016-08-22T13:58:48Z ferada: sure, now you just have to add a ui toolkit on top ... assuming you need all that functionality in the first place 2016-08-22T13:58:49Z warweasle: ferada: Then again, I have been accused of that there insanity. 2016-08-22T13:59:06Z KaliLinuxGR joined #lisp 2016-08-22T13:59:59Z warweasle: ferada: I was thinking using gtk from another thread might be a good compromise. Although I really wish I could split a lisp process somehow. Not just lightweight threads. 2016-08-22T14:00:49Z ferada: warweasle: the issue isn't threads or not, it's interfacing with the ref counting system, signals, marshalling, type system via glib, ... 2016-08-22T14:01:02Z am55 joined #lisp 2016-08-22T14:01:31Z Karl_Dscc joined #lisp 2016-08-22T14:01:35Z holly2 quit (Ping timeout: 265 seconds) 2016-08-22T14:02:43Z deank quit (Ping timeout: 252 seconds) 2016-08-22T14:02:46Z ferada: i'm more hopeful about mcclim because of that mostly 2016-08-22T14:02:51Z eSVG quit (Ping timeout: 250 seconds) 2016-08-22T14:03:12Z yeticry quit (Ping timeout: 240 seconds) 2016-08-22T14:05:31Z yeticry joined #lisp 2016-08-22T14:06:19Z warweasle: ferada: I'm not against it, but I don't have time to learn everything and I need pros and cons. 2016-08-22T14:06:45Z warweasle: ferada: But I'm presently doing a rather large project so it would be a while, if ever. 2016-08-22T14:07:17Z kushal quit (Quit: Leaving) 2016-08-22T14:08:44Z holly2 joined #lisp 2016-08-22T14:09:29Z warweasle *tries* to be open minded...although clinch is the greatest thing since the thermos. 2016-08-22T14:10:26Z yeticry quit (Ping timeout: 250 seconds) 2016-08-22T14:10:41Z DGASAU quit (Read error: Connection reset by peer) 2016-08-22T14:11:40Z yeticry joined #lisp 2016-08-22T14:11:42Z DGASAU joined #lisp 2016-08-22T14:16:06Z EvW joined #lisp 2016-08-22T14:18:28Z sellout- quit (Quit: Leaving.) 2016-08-22T14:20:19Z Petit_Dejeuner quit (Ping timeout: 260 seconds) 2016-08-22T14:20:51Z deank joined #lisp 2016-08-22T14:23:47Z jackdaniel: Xach: you mean today's changes? 2016-08-22T14:24:01Z Xach: jackdaniel: I don't know the timeframe of the brakage. 2016-08-22T14:24:06Z Xach: jackdaniel: it has to do with missing clim-tab-layout package 2016-08-22T14:24:17Z jackdaniel: Xach: OK, I'm on it 2016-08-22T14:24:18Z jackdaniel: thanks 2016-08-22T14:24:30Z warweasle: Xach: Are you doing an update today? 2016-08-22T14:25:10Z Xach: warweasle: Possibly 2016-08-22T14:25:57Z warweasle: Xach: I'll check in my changes. Also, I'd like to switch clinch back to the master branch. Should I add an issue? 2016-08-22T14:25:58Z wildlander joined #lisp 2016-08-22T14:26:09Z Xach: warweasle: if you don't make an issue i will likely forget 2016-08-22T14:26:17Z beach joined #lisp 2016-08-22T14:26:25Z beach: Good afternoon everyone! 2016-08-22T14:26:34Z warweasle: beach: Hi 2016-08-22T14:29:23Z robotoad joined #lisp 2016-08-22T14:29:35Z warweasle: Xach: Ok 2016-08-22T14:29:40Z oleo joined #lisp 2016-08-22T14:29:40Z beach: warweasle: Whether or not CLIM is worth learning depends on your objectives. An important objective of mine is to use native Common Lisp code as much as possible. For reasons of ease of debugging and safety, but also as a matter of principle. 2016-08-22T14:30:18Z warweasle: beach: Ok. That's the problem. I have not principles. ;) 2016-08-22T14:30:45Z jackdaniel: Xach: could you pull now? I believe it's fixed 2016-08-22T14:31:18Z warweasle: beach: I'm not even above using mangled symbols for calling C++. 2016-08-22T14:31:28Z beach: warweasle: I understand. 2016-08-22T14:31:52Z beach: warweasle: Your lack of principles do not exclude your using CLIM of course. 2016-08-22T14:31:59Z beach: does 2016-08-22T14:33:20Z warweasle: beach: That reminds me of a story about a company who wouldn't use the open source license which had "...do on evil..." in it. Which is impossible to define legally. But the joke was, "We reserve the right to be evil." 2016-08-22T14:34:02Z beach: Good one! 2016-08-22T14:34:53Z beach: warweasle: As a matter of fact, the FSF explicitly excludes such clauses in order to consider a license as acceptable. 2016-08-22T14:35:10Z beach: Different topic: When there are a bunch of transformations to intermediate code in a compiler, some transformations depend on other having already been done, and some transformations will destroy what some others did so that they need to be applied again. 2016-08-22T14:35:11Z beach: This problem looks like what a build system needs to solve, but with a twist. Any ideas how to express such issues? 2016-08-22T14:35:15Z Josh2 quit (Ping timeout: 276 seconds) 2016-08-22T14:35:27Z Anselmo quit (Quit: WeeChat 1.5) 2016-08-22T14:36:16Z warweasle: beach: A topological sort? 2016-08-22T14:36:22Z rme quit (Quit: rme) 2016-08-22T14:36:22Z rme quit (Quit: rme) 2016-08-22T14:36:24Z Josh2 joined #lisp 2016-08-22T14:36:45Z eSVG joined #lisp 2016-08-22T14:36:55Z kushal joined #lisp 2016-08-22T14:37:14Z beach: warweasle: Some transformations need to be applied more than once in a particular order. Let me think about whether topological sort can be applied in that case. 2016-08-22T14:37:56Z warweasle: beach: If not, you can use some logic programming, like gambol. 2016-08-22T14:38:01Z warweasle: Although I find that...er...difficult. 2016-08-22T14:38:36Z aries_liuxueyang quit (Ping timeout: 250 seconds) 2016-08-22T14:38:48Z beach: I'll think about it some more and investigate the suggestions. Thanks. 2016-08-22T14:40:18Z jackdaniel: iirc nanopass compiler framework defines optimizations as a tree with declarations of direct dependencies (i.e :depends-on '(t1 t2 t3)) 2016-08-22T14:41:09Z akkad: ok 2016-08-22T14:41:15Z papachan joined #lisp 2016-08-22T14:42:37Z beach: jackdaniel: Sure. I was more wondering what to do with such a dependency graph. 2016-08-22T14:43:30Z beach: One possibility is to compute a pre-defined "program" from it. The other possibility is record actions as they happen with a time stamp. 2016-08-22T14:44:03Z Th30n joined #lisp 2016-08-22T14:45:00Z TeMPOraL quit (Ping timeout: 276 seconds) 2016-08-22T14:45:24Z eSVG quit (Read error: Connection reset by peer) 2016-08-22T14:47:16Z przl quit (Ping timeout: 252 seconds) 2016-08-22T14:51:24Z _sjs quit (Ping timeout: 244 seconds) 2016-08-22T14:51:53Z aries_liuxueyang joined #lisp 2016-08-22T14:52:38Z robotoad quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-08-22T14:53:28Z przl joined #lisp 2016-08-22T14:53:54Z adolf_stalin joined #lisp 2016-08-22T14:55:23Z beach: Furthermore, there also needs to information about what operations need to be done over again when some other operation is performed. 2016-08-22T14:56:03Z aries_liuxueyang quit (Ping timeout: 240 seconds) 2016-08-22T14:57:31Z saturniid quit (Remote host closed the connection) 2016-08-22T14:58:03Z knicklux quit (Quit: Leaving) 2016-08-22T14:58:17Z TeMPOraL joined #lisp 2016-08-22T14:58:45Z al-damiri joined #lisp 2016-08-22T14:59:06Z Munksgaard quit (Quit: Leaving.) 2016-08-22T14:59:42Z kobain joined #lisp 2016-08-22T15:03:17Z saturniid joined #lisp 2016-08-22T15:04:30Z akkad: so I have a function that takes (retrieve-from-index 'someClass 'someField "value") and (defun mywrapper(class field value) (retrieve-from-index (find-symbol (intern (string-upcase class))) field value)). I can't seem to get the dereferenced 'field' to a symbol 2016-08-22T15:05:14Z robotoad joined #lisp 2016-08-22T15:07:55Z flamebeard quit (Quit: Leaving) 2016-08-22T15:08:14Z eivarv joined #lisp 2016-08-22T15:09:25Z Grue`: what is find-symbol? 2016-08-22T15:09:44Z |3b|: akkad: you probably want to specify a package to INTERN 2016-08-22T15:09:59Z |3b|: or FIND-SSYMBOL, which you should be using directly without INTERN 2016-08-22T15:10:12Z |3b|: clhs find-symbol 2016-08-22T15:10:12Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_find_s.htm 2016-08-22T15:10:14Z akkad: for the second item? field? 2016-08-22T15:10:17Z akkad: or for class? 2016-08-22T15:10:35Z |3b|: for everything really 2016-08-22T15:10:41Z TMA: akkad: both the class and the slot (aka. field) is named by a symbol 2016-08-22T15:10:43Z akkad: k. 2016-08-22T15:11:08Z |3b|: seems a bit risk to rely on the value of *PACKAGE* at runtime, especially when you don't need to 2016-08-22T15:11:35Z Grue`: ouch, didn't realize it was a built-in. what a weird function 2016-08-22T15:11:47Z |3b|: (you can bind *PACKAGE* yourself instead of specifying the package in the call, but without more context hard to say if that would be better) 2016-08-22T15:12:37Z |3b|: Grue`: not really, when you consider symbols are runtime objects in CL, not just a part of the parse tree fed to an AOT compiler then discarded 2016-08-22T15:16:45Z aries_liuxueyang joined #lisp 2016-08-22T15:16:56Z BusFactor1 joined #lisp 2016-08-22T15:18:04Z beach: The option of computing a "program" from the dependency graph has the advantage that the resulting program can be cached. 2016-08-22T15:19:53Z vydd quit (Remote host closed the connection) 2016-08-22T15:21:43Z Bike joined #lisp 2016-08-22T15:21:54Z ggole_: The optimal compiler pass order can't be computed because there isn't one - passes are interdependent. 2016-08-22T15:22:37Z ggole_: There are two reasonable solutions: iterate until fixed point (very common) or fuse multiple passes into an optimistic single pass of some kind (eg, SCCP) 2016-08-22T15:23:18Z ggole_: Doing a few iterations and calling it done even if you aren't really sure is probably also fine in practice 2016-08-22T15:23:53Z shka quit (Quit: Konversation terminated!) 2016-08-22T15:24:08Z sellout- joined #lisp 2016-08-22T15:25:23Z sellout- quit (Client Quit) 2016-08-22T15:26:33Z Th30n quit (Ping timeout: 240 seconds) 2016-08-22T15:27:13Z sellout- joined #lisp 2016-08-22T15:29:55Z akkad: so the best way to convert a string to a symbol of the slot name of a class is find-symbol? 2016-08-22T15:29:59Z araujo quit (Ping timeout: 244 seconds) 2016-08-22T15:30:32Z Th30n joined #lisp 2016-08-22T15:31:09Z araujo joined #lisp 2016-08-22T15:31:15Z Bike: yes. 2016-08-22T15:32:56Z dyelar quit (Ping timeout: 265 seconds) 2016-08-22T15:33:10Z mastokley joined #lisp 2016-08-22T15:33:10Z mastokley quit (Max SendQ exceeded) 2016-08-22T15:33:27Z beach: ggole_: I wasn't talking about "optimal". Just "correct". Client code would have to determine what passes to execute in which order. The code I was discussing would just take care of doing required operations (smaller than "passes") so that the thing doesn't fail. 2016-08-22T15:33:41Z mastokley joined #lisp 2016-08-22T15:34:09Z akkad: Bike: thanks 2016-08-22T15:34:11Z beach: Anyway, I need to go. Sorry. 2016-08-22T15:34:14Z beach left #lisp 2016-08-22T15:36:20Z kresbak joined #lisp 2016-08-22T15:38:54Z kresbak: ahh it's a wonderful day 2016-08-22T15:43:03Z mastokley quit (Ping timeout: 264 seconds) 2016-08-22T15:48:58Z jsmith_ joined #lisp 2016-08-22T15:50:59Z dyelar joined #lisp 2016-08-22T15:53:31Z failproo1shark is now known as failproofshark 2016-08-22T15:53:46Z prole joined #lisp 2016-08-22T15:54:46Z Petit_Dejeuner joined #lisp 2016-08-22T15:57:25Z vydd joined #lisp 2016-08-22T15:57:33Z attila_lendvai joined #lisp 2016-08-22T16:00:44Z drdo quit (Ping timeout: 250 seconds) 2016-08-22T16:01:27Z drdo joined #lisp 2016-08-22T16:03:33Z EvW quit (Ping timeout: 240 seconds) 2016-08-22T16:03:42Z EvW1 joined #lisp 2016-08-22T16:03:44Z aries_liuxueyang quit (Read error: Connection reset by peer) 2016-08-22T16:04:04Z housel quit (Ping timeout: 240 seconds) 2016-08-22T16:04:04Z fiddlerwoaroof quit (Ping timeout: 240 seconds) 2016-08-22T16:04:04Z Nikotiini quit (Ping timeout: 240 seconds) 2016-08-22T16:04:05Z parus quit (Ping timeout: 240 seconds) 2016-08-22T16:04:29Z housel joined #lisp 2016-08-22T16:04:34Z ovenpasta quit (Ping timeout: 240 seconds) 2016-08-22T16:04:34Z theBlackDragon quit (Ping timeout: 240 seconds) 2016-08-22T16:04:35Z danieli quit (Ping timeout: 240 seconds) 2016-08-22T16:04:35Z Cthulhux quit (Ping timeout: 240 seconds) 2016-08-22T16:04:59Z aries_liuxueyang joined #lisp 2016-08-22T16:05:01Z loke quit (Remote host closed the connection) 2016-08-22T16:05:19Z loke joined #lisp 2016-08-22T16:05:22Z Cthulhux joined #lisp 2016-08-22T16:05:33Z ghostlight quit (Ping timeout: 240 seconds) 2016-08-22T16:05:43Z parus joined #lisp 2016-08-22T16:05:57Z fiddlerwoaroof joined #lisp 2016-08-22T16:05:59Z Nikotiini joined #lisp 2016-08-22T16:06:03Z ovenpasta joined #lisp 2016-08-22T16:06:03Z nzambe quit (Ping timeout: 240 seconds) 2016-08-22T16:06:05Z theBlackDragon joined #lisp 2016-08-22T16:06:34Z wizzo quit (Ping timeout: 240 seconds) 2016-08-22T16:07:03Z iskander quit (Ping timeout: 264 seconds) 2016-08-22T16:07:41Z drdo quit (Ping timeout: 250 seconds) 2016-08-22T16:07:48Z loke quit (Remote host closed the connection) 2016-08-22T16:07:48Z wizzo joined #lisp 2016-08-22T16:08:02Z loke joined #lisp 2016-08-22T16:08:07Z EvW1 quit (Ping timeout: 252 seconds) 2016-08-22T16:08:59Z drdo joined #lisp 2016-08-22T16:09:03Z habs quit (Ping timeout: 240 seconds) 2016-08-22T16:09:38Z danieli joined #lisp 2016-08-22T16:10:04Z chr15m quit (Ping timeout: 240 seconds) 2016-08-22T16:10:47Z danieli quit (Changing host) 2016-08-22T16:10:47Z danieli joined #lisp 2016-08-22T16:11:16Z ghostlight joined #lisp 2016-08-22T16:11:17Z ghostlight quit (Max SendQ exceeded) 2016-08-22T16:11:34Z sausages quit (Ping timeout: 240 seconds) 2016-08-22T16:11:49Z sausages joined #lisp 2016-08-22T16:12:13Z ghostlight joined #lisp 2016-08-22T16:12:13Z ghostlight quit (Max SendQ exceeded) 2016-08-22T16:12:43Z ghostlight joined #lisp 2016-08-22T16:12:43Z ghostlight quit (Max SendQ exceeded) 2016-08-22T16:13:13Z ghostlight joined #lisp 2016-08-22T16:13:14Z ghostlight quit (Max SendQ exceeded) 2016-08-22T16:13:14Z shka joined #lisp 2016-08-22T16:13:43Z ghostlight joined #lisp 2016-08-22T16:13:43Z ghostlight quit (Max SendQ exceeded) 2016-08-22T16:14:04Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-22T16:14:13Z ghostlight joined #lisp 2016-08-22T16:14:14Z ghostlight quit (Max SendQ exceeded) 2016-08-22T16:14:37Z Jesin quit (Quit: Leaving) 2016-08-22T16:14:43Z ghostlight joined #lisp 2016-08-22T16:14:43Z ghostlight quit (Max SendQ exceeded) 2016-08-22T16:15:13Z ghostlight joined #lisp 2016-08-22T16:15:14Z ghostlight quit (Max SendQ exceeded) 2016-08-22T16:15:47Z ghostlight joined #lisp 2016-08-22T16:15:49Z ghostlight quit (Max SendQ exceeded) 2016-08-22T16:16:13Z ghostlight joined #lisp 2016-08-22T16:16:13Z ghostlight quit (Max SendQ exceeded) 2016-08-22T16:16:30Z iskander joined #lisp 2016-08-22T16:16:45Z ghostlight joined #lisp 2016-08-22T16:16:46Z ghostlight quit (Max SendQ exceeded) 2016-08-22T16:16:53Z Jesin joined #lisp 2016-08-22T16:17:08Z kresbak quit (Quit: Lost terminal) 2016-08-22T16:17:17Z ghostlight joined #lisp 2016-08-22T16:22:59Z loke quit (Remote host closed the connection) 2016-08-22T16:27:38Z DeadTrickster quit (Ping timeout: 265 seconds) 2016-08-22T16:28:31Z przl quit (Ping timeout: 265 seconds) 2016-08-22T16:29:39Z Th30n quit (Ping timeout: 276 seconds) 2016-08-22T16:30:59Z asc232 joined #lisp 2016-08-22T16:33:01Z Josh2 quit (Read error: Connection reset by peer) 2016-08-22T16:33:02Z frgo joined #lisp 2016-08-22T16:33:22Z Josh2 joined #lisp 2016-08-22T16:37:34Z dyelar quit (Ping timeout: 240 seconds) 2016-08-22T16:37:59Z frgo quit (Ping timeout: 260 seconds) 2016-08-22T16:38:16Z Davidbrcz joined #lisp 2016-08-22T16:40:44Z gingerale joined #lisp 2016-08-22T16:45:47Z smokeink quit (Ping timeout: 250 seconds) 2016-08-22T16:45:50Z Th30n joined #lisp 2016-08-22T16:45:56Z przl joined #lisp 2016-08-22T16:46:34Z varjag quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2016-08-22T16:48:49Z phoe quit (Ping timeout: 265 seconds) 2016-08-22T16:51:21Z dyelar joined #lisp 2016-08-22T16:55:04Z whartung quit (Quit: whartung) 2016-08-22T16:56:19Z jdtest2 joined #lisp 2016-08-22T16:57:06Z whartung joined #lisp 2016-08-22T16:57:36Z jdtest quit (Ping timeout: 265 seconds) 2016-08-22T17:06:01Z phoe joined #lisp 2016-08-22T17:06:35Z zacharias quit (Ping timeout: 250 seconds) 2016-08-22T17:15:09Z quazimodo quit (Ping timeout: 276 seconds) 2016-08-22T17:20:16Z jdtest2 quit (Read error: Connection reset by peer) 2016-08-22T17:23:17Z jdtest joined #lisp 2016-08-22T17:25:49Z Davidbrcz quit (Ping timeout: 260 seconds) 2016-08-22T17:26:53Z frgo joined #lisp 2016-08-22T17:27:59Z easye: Hello community! I'm looking to transcribe the information from a Common Lisp REST server API into a Swagger contract . 2016-08-22T17:29:31Z easye: Swagger contracts can be compiled from YAML, so if I can somehow grovel my API (currently implemented in RESTAS on top of Huchentoot) into such a file, it would be a good first start. 2016-08-22T17:30:26Z easye: As far as I know, there isn't a Common Lisp Swagger transformation tool, so my first concrete question would be if anyone can point me to an example of code towards this tool. 2016-08-22T17:30:31Z mastokley joined #lisp 2016-08-22T17:30:45Z m00natic quit (Remote host closed the connection) 2016-08-22T17:31:46Z warweasle quit (Quit: All I know is pain.) 2016-08-22T17:31:49Z frgo quit (Remote host closed the connection) 2016-08-22T17:33:16Z easye: The second question would be a request for a pointer to a "Java Annotations" like package for Common Lisp that I could re-purpose to a compiler into the neeed YAML format. Rather than Java-style annotations, I suppose one could take something that grovels CL docstrings with an easy API for adding additional tags. 2016-08-22T17:36:25Z easye: (I'm purposely not considering trying to introspect the actual code that implements the API, as I don't think that question is well defined enough. I suppose if I were to constrain my implementation to be purely functional--i.e. the implementation has no side-effects--one could theoretically code such a beast. But this is meant to be a practical Common Lisp question...) 2016-08-22T17:36:46Z shka quit (Quit: Konversation terminated!) 2016-08-22T17:38:21Z __acher__ joined #lisp 2016-08-22T17:42:26Z milanj quit (Quit: This computer has gone to sleep) 2016-08-22T17:42:36Z shka joined #lisp 2016-08-22T17:42:56Z vydd_ joined #lisp 2016-08-22T17:43:46Z mordocai: easye: To be fair, you can introspect code that has side effects as long as you read it instead of evaling it. In any case, i'm pretty new myself so I don't have any advice. Hopefully someone will come along with some. 2016-08-22T17:44:41Z vydd quit (Read error: Connection reset by peer) 2016-08-22T17:44:53Z vydd joined #lisp 2016-08-22T17:46:25Z milanj joined #lisp 2016-08-22T17:48:05Z vydd_ quit (Ping timeout: 244 seconds) 2016-08-22T17:49:45Z easye: mordocai: Yeah, I guess you are right. Mainly I am constrained by a lack a form declaring the parameters to a given RESTAS/Hunchentoot call. It would actually help normalize my code to wrap a given Huchentoot handler in a WITH-PARARMETERS form that would describe how to parse the various query strings, fragment identifiers into usable variables in the first place. A side effect of such a declaration would be an easily coded 2016-08-22T17:49:45Z easye: description of all the input parameters to a given REST call. And that would be 90% of the code anyways. 2016-08-22T17:50:09Z Grue` quit (Ping timeout: 244 seconds) 2016-08-22T17:50:33Z easye: Creating the WITH-PARAMETERS mechanism for RESTAS is actually a reasonable strategy to start with. Thanks! 2016-08-22T17:53:09Z hhdave_ joined #lisp 2016-08-22T17:53:25Z Grue` joined #lisp 2016-08-22T17:58:13Z BlueRavenGT joined #lisp 2016-08-22T18:02:28Z zacts joined #lisp 2016-08-22T18:02:32Z easye: I think I will call such a system "Stagger"... 2016-08-22T18:03:33Z papachan quit (Ping timeout: 258 seconds) 2016-08-22T18:05:47Z habs joined #lisp 2016-08-22T18:07:17Z BusFactor1 quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-08-22T18:09:14Z shka: hi all! 2016-08-22T18:09:33Z zacts quit (Quit: WeeChat 1.5) 2016-08-22T18:09:42Z shka: quick question 2016-08-22T18:10:16Z shka: or actually let my try this one 2016-08-22T18:12:55Z hel-io joined #lisp 2016-08-22T18:13:33Z BusFactor1 joined #lisp 2016-08-22T18:18:49Z gravicappa joined #lisp 2016-08-22T18:19:19Z wccoder joined #lisp 2016-08-22T18:20:06Z MoALTz joined #lisp 2016-08-22T18:20:32Z bocaneri quit (Remote host closed the connection) 2016-08-22T18:21:29Z phoe: that was a very quick question 2016-08-22T18:22:02Z DeadTrickster joined #lisp 2016-08-22T18:23:04Z shka: phoe: :D 2016-08-22T18:23:52Z wccoder quit (Ping timeout: 258 seconds) 2016-08-22T18:26:39Z __acher__ quit (Ping timeout: 276 seconds) 2016-08-22T18:26:48Z Cthulhux quit (Changing host) 2016-08-22T18:26:48Z Cthulhux joined #lisp 2016-08-22T18:27:39Z sjl quit (Ping timeout: 260 seconds) 2016-08-22T18:28:14Z pjb joined #lisp 2016-08-22T18:28:54Z __acher__ joined #lisp 2016-08-22T18:32:34Z mordocai: easye: This is the only thing I found with a google search btw https://github.com/mmontone/cl-rest-server/blob/master/src/swagger.lisp 2016-08-22T18:35:05Z zacts joined #lisp 2016-08-22T18:36:50Z vlatkoB quit (Remote host closed the connection) 2016-08-22T18:37:23Z xrash joined #lisp 2016-08-22T18:39:45Z BusFactor1 quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-08-22T18:40:05Z BusFactor1 joined #lisp 2016-08-22T18:40:18Z kushal quit (Ping timeout: 276 seconds) 2016-08-22T18:41:07Z Th30n quit (Quit: leaving) 2016-08-22T18:44:59Z Xizor joined #lisp 2016-08-22T18:45:29Z easye: mordocai: That's actually much closer to anything I found. Thanks! 2016-08-22T18:47:18Z yrk joined #lisp 2016-08-22T18:47:52Z yrk quit (Changing host) 2016-08-22T18:47:53Z yrk joined #lisp 2016-08-22T18:49:09Z karswell joined #lisp 2016-08-22T18:49:52Z przl quit (Quit: leaving) 2016-08-22T18:50:04Z hel-io quit (Remote host closed the connection) 2016-08-22T18:51:20Z milanj quit (Quit: This computer has gone to sleep) 2016-08-22T18:51:27Z knicklux joined #lisp 2016-08-22T18:52:41Z PosterdatiMobile quit (Ping timeout: 244 seconds) 2016-08-22T18:53:51Z Crescimmano quit (Ping timeout: 264 seconds) 2016-08-22T18:53:52Z Posterdati quit (Ping timeout: 264 seconds) 2016-08-22T18:58:59Z Crescimmano joined #lisp 2016-08-22T19:03:19Z attila_lendvai joined #lisp 2016-08-22T19:03:27Z hel-io joined #lisp 2016-08-22T19:03:49Z tanuzzo quit (Ping timeout: 260 seconds) 2016-08-22T19:04:03Z Crescimmano quit (Ping timeout: 264 seconds) 2016-08-22T19:04:36Z EvW joined #lisp 2016-08-22T19:04:53Z bogdanm quit (Quit: Leaving) 2016-08-22T19:05:46Z __acher__ quit (Remote host closed the connection) 2016-08-22T19:06:03Z __acher__ joined #lisp 2016-08-22T19:06:29Z PosterdatiMobile joined #lisp 2016-08-22T19:06:38Z fitzsim joined #lisp 2016-08-22T19:06:54Z Posterdati joined #lisp 2016-08-22T19:09:32Z sjl joined #lisp 2016-08-22T19:09:33Z Crescimmano joined #lisp 2016-08-22T19:11:59Z tanuzzo joined #lisp 2016-08-22T19:12:50Z aindilis2 quit (Ping timeout: 244 seconds) 2016-08-22T19:13:30Z sweater joined #lisp 2016-08-22T19:16:44Z iskander quit (Quit: Quit) 2016-08-22T19:16:50Z Josh2 quit (Remote host closed the connection) 2016-08-22T19:17:10Z Cthulhux: is lispworks worth the money when you're developing freeware? 2016-08-22T19:17:25Z TruePika joined #lisp 2016-08-22T19:17:44Z TruePika: meh, I can't get quicklisp installed under clisp, somehow 2016-08-22T19:17:52Z Xach: TruePika: what happens when you try? 2016-08-22T19:17:54Z TruePika: DEFPACKAGE QL-CLISP: There is no symbol EXT::RENAME-DIRECTORY . 2016-08-22T19:18:01Z Xach: TruePika: what version of clisp? 2016-08-22T19:18:19Z Xach: TruePika: it will say at startup, or via (lisp-implementation-version) 2016-08-22T19:18:29Z varjag joined #lisp 2016-08-22T19:18:34Z Josh2 joined #lisp 2016-08-22T19:18:38Z TruePika: "2.41 (2006-10-13) (built on tree.slackware.lan [127.0.0.1])" 2016-08-22T19:18:50Z TruePika: ...okay, it _might_ be old 2016-08-22T19:19:01Z TruePika: >_> 2016-08-22T19:19:17Z Xach: yes, that is too old, sorry. 2016-08-22T19:19:18Z fiddlerwoaroof: easye: depending on how big your codebase is, you might consider writing your own macro that automatically stores the information needed to generate the yaml file 2016-08-22T19:19:31Z Xach: 10 years is not long in lisp years but in this case it is still too old 2016-08-22T19:19:45Z Ven joined #lisp 2016-08-22T19:19:57Z fiddlerwoaroof: For example, you could expand to something like (progn (define-my-route ...) (swagger-api:save-route .....) 2016-08-22T19:20:29Z fiddlerwoaroof: (you probably will need some gensyms in there or something 2016-08-22T19:20:52Z fiddlerwoaroof: And, maybe a call to eval-when 2016-08-22T19:22:48Z TruePika: I'm also going to need to somehow get a cronjob to run a script, where the script uses quicklisp 2016-08-22T19:23:05Z TruePika is not very familiar with cron 2016-08-22T19:23:11Z Xach: TruePika: When I do that, I build an executable with buildapp. But I also don't use clisp. I use sbcl for that. 2016-08-22T19:23:43Z raydeejay: I was going to say save an image, but yeah, probably better to just package an exe out of it :) 2016-08-22T19:23:47Z TruePika: yeah, I tend to run SBCL, but I only run CLisp on this particular machine 2016-08-22T19:24:37Z phoe: TruePika: why? 2016-08-22T19:25:53Z TruePika: phoe: because SBCL feels too heavy for the system IMO (running a PIII at 800MHz) 2016-08-22T19:26:18Z TruePika: also I don't feel like compiling SBCL right now, I've done it far enough times already <_< 2016-08-22T19:27:48Z vydd quit (Read error: Connection reset by peer) 2016-08-22T19:28:12Z TruePika: and buildapp doesn't support clisp 2016-08-22T19:28:15Z TruePika: meh, sbcl it is 2016-08-22T19:31:19Z zacts quit (Ping timeout: 250 seconds) 2016-08-22T19:32:41Z TruePika: the last time I tried compiling SBCL via CLisp, I ran out of memory 2016-08-22T19:32:54Z asc232 quit (Remote host closed the connection) 2016-08-22T19:33:01Z TruePika: granted, that was on a Wii without a swapfile, but still... 2016-08-22T19:34:15Z TruePika: meh, maybe I should have used `nice` for this <_< 2016-08-22T19:35:28Z pareidol` joined #lisp 2016-08-22T19:36:14Z iskander joined #lisp 2016-08-22T19:36:56Z pareidolia quit (Ping timeout: 250 seconds) 2016-08-22T19:40:30Z milanj joined #lisp 2016-08-22T19:40:32Z scymtym quit (Ping timeout: 258 seconds) 2016-08-22T19:42:39Z zacts joined #lisp 2016-08-22T19:44:34Z papachan joined #lisp 2016-08-22T19:48:42Z sweater quit (Read error: Connection reset by peer) 2016-08-22T19:49:00Z zacharias joined #lisp 2016-08-22T19:51:40Z EvW quit (Ping timeout: 250 seconds) 2016-08-22T19:52:11Z Josh2 quit (Remote host closed the connection) 2016-08-22T19:54:52Z Josh2 joined #lisp 2016-08-22T19:56:28Z EvW joined #lisp 2016-08-22T20:01:59Z sweater joined #lisp 2016-08-22T20:06:24Z robotoad quit (Quit: Textual IRC Client: www.textualapp.com) 2016-08-22T20:07:28Z robotoad joined #lisp 2016-08-22T20:12:49Z norfumpit quit (Quit: norfumpit) 2016-08-22T20:14:14Z SumoSudo quit (Ping timeout: 265 seconds) 2016-08-22T20:17:26Z norfumpit joined #lisp 2016-08-22T20:17:29Z eivarv quit (Quit: Sleep) 2016-08-22T20:19:10Z puchacz quit (Quit: Konversation terminated!) 2016-08-22T20:19:37Z jtmcf quit (Remote host closed the connection) 2016-08-22T20:20:00Z wccoder joined #lisp 2016-08-22T20:21:03Z gingerale quit (Remote host closed the connection) 2016-08-22T20:21:30Z jtmcf joined #lisp 2016-08-22T20:22:21Z programisto quit (Ping timeout: 276 seconds) 2016-08-22T20:23:11Z rumbler31 joined #lisp 2016-08-22T20:24:57Z wccoder quit (Ping timeout: 276 seconds) 2016-08-22T20:28:15Z programisto joined #lisp 2016-08-22T20:36:47Z rpg joined #lisp 2016-08-22T20:37:28Z shka quit (Quit: Konversation terminated!) 2016-08-22T20:38:35Z asc232 joined #lisp 2016-08-22T20:39:07Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2016-08-22T20:41:12Z sweater_ joined #lisp 2016-08-22T20:41:41Z zacharias quit (Ping timeout: 244 seconds) 2016-08-22T20:42:02Z sweater quit (Read error: Connection reset by peer) 2016-08-22T20:43:07Z zacts quit (Ping timeout: 252 seconds) 2016-08-22T20:45:19Z Ven joined #lisp 2016-08-22T20:46:14Z Ven quit (Client Quit) 2016-08-22T20:48:13Z rumbler31: http://paste.lisp.org/display/323957 2016-08-22T20:48:48Z rumbler31: assuming header-and-containers is a list of objects, and process container is a thin wrapper around funcall method object 2016-08-22T20:49:12Z xrash quit (Ping timeout: 240 seconds) 2016-08-22T20:49:46Z rumbler31: I return the car of the original list, and the created alist. is there any way that i'm somehow "leaking" the cdr of the origin list such that it is unable to be collected? 2016-08-22T20:50:18Z rumbler31: I call this function in a loop with takes a list of files, and for each file creates a list of objects from it, which get passed to this function 2016-08-22T20:50:40Z rumbler31: for some reason, as I process lots of files, my heap grows to become several gigabytes 2016-08-22T20:51:53Z rumbler31: ccl:heap-utilization shows a breakdown of heap contents by category, and when the heap is this large, most of it is of type cons, with nothing more specific. I dont know how I'm creating so much garbage that can't be collected 2016-08-22T20:53:49Z scymtym joined #lisp 2016-08-22T20:55:31Z JuanDaugherty quit (Quit: Hibernate, reboot, exeunt, etc.) 2016-08-22T20:56:15Z papachan quit (Ping timeout: 250 seconds) 2016-08-22T20:56:24Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-22T20:56:51Z gravicappa quit (Ping timeout: 264 seconds) 2016-08-22T20:57:01Z milanj quit (Quit: This computer has gone to sleep) 2016-08-22T21:00:33Z zacharias joined #lisp 2016-08-22T21:05:23Z slyrus joined #lisp 2016-08-22T21:06:42Z papachan joined #lisp 2016-08-22T21:09:39Z rjnw joined #lisp 2016-08-22T21:13:13Z slyrus quit (Read error: Connection reset by peer) 2016-08-22T21:15:53Z slyrus joined #lisp 2016-08-22T21:17:16Z varjag quit (Ping timeout: 250 seconds) 2016-08-22T21:19:51Z ggole_ quit 2016-08-22T21:20:09Z hhdave_ quit (Quit: hhdave_) 2016-08-22T21:27:28Z knicklux quit (Quit: Leaving) 2016-08-22T21:30:25Z ahirsch quit (Quit: Leaving) 2016-08-22T21:35:48Z KaliLinuxGR quit (Ping timeout: 276 seconds) 2016-08-22T21:41:19Z bhyde joined #lisp 2016-08-22T21:45:59Z jself_ is now known as jself 2016-08-22T21:46:24Z prole quit (Remote host closed the connection) 2016-08-22T21:49:04Z KaliLinuxGR joined #lisp 2016-08-22T21:49:31Z KaliLinuxGR quit (Read error: Connection reset by peer) 2016-08-22T21:49:59Z KaliLinuxGR joined #lisp 2016-08-22T21:54:15Z kraison joined #lisp 2016-08-22T21:57:54Z zacharias quit (Ping timeout: 276 seconds) 2016-08-22T21:59:51Z __acher__ quit (Ping timeout: 264 seconds) 2016-08-22T22:03:06Z EvW quit (Remote host closed the connection) 2016-08-22T22:03:22Z EvW joined #lisp 2016-08-22T22:04:31Z adolf_stalin quit (Remote host closed the connection) 2016-08-22T22:05:03Z Velveeta_Chef quit (Ping timeout: 276 seconds) 2016-08-22T22:05:20Z __acher__ joined #lisp 2016-08-22T22:05:46Z eschatologist quit (Quit: ZNC 1.6.3+deb1 - http://znc.in) 2016-08-22T22:06:13Z LiamH quit (Quit: Leaving.) 2016-08-22T22:07:58Z milanj joined #lisp 2016-08-22T22:08:05Z eschatologist joined #lisp 2016-08-22T22:11:03Z hel-io quit (Remote host closed the connection) 2016-08-22T22:11:16Z prole joined #lisp 2016-08-22T22:12:16Z hel-io joined #lisp 2016-08-22T22:12:19Z strelox quit (Remote host closed the connection) 2016-08-22T22:13:18Z hel-io quit (Read error: Connection reset by peer) 2016-08-22T22:13:52Z hel-io joined #lisp 2016-08-22T22:19:21Z MoALTz quit (Quit: Leaving) 2016-08-22T22:20:58Z dyelar quit (Quit: Leaving.) 2016-08-22T22:25:51Z pareidol` quit (Ping timeout: 276 seconds) 2016-08-22T22:25:51Z Velveeta_Chef joined #lisp 2016-08-22T22:25:51Z Velveeta_Chef quit (Changing host) 2016-08-22T22:25:51Z Velveeta_Chef joined #lisp 2016-08-22T22:26:58Z Xizor quit (Read error: Connection reset by peer) 2016-08-22T22:27:57Z joga quit (Changing host) 2016-08-22T22:27:57Z joga joined #lisp 2016-08-22T22:29:25Z sweater_ quit (Read error: Connection reset by peer) 2016-08-22T22:29:43Z sweater_ joined #lisp 2016-08-22T22:31:37Z papachan quit (Quit: Leaving) 2016-08-22T22:33:12Z deathtoall joined #lisp 2016-08-22T22:33:17Z deathtoall left #lisp 2016-08-22T22:34:19Z codertilldeath joined #lisp 2016-08-22T22:34:30Z Crescimmano quit (Remote host closed the connection) 2016-08-22T22:37:16Z atheris joined #lisp 2016-08-22T22:37:33Z DeadTrickster quit (Ping timeout: 240 seconds) 2016-08-22T22:37:52Z pierpa quit (Ping timeout: 250 seconds) 2016-08-22T22:39:26Z cibs quit (Ping timeout: 240 seconds) 2016-08-22T22:41:34Z cibs joined #lisp 2016-08-22T22:52:42Z Bike: rumbler31: that doesn't seem like it would leak if process-container doesn't, but you're also making a new cons for every push newval. 2016-08-22T22:53:45Z rumbler31: I'm making a new alist from the names of the methods passed in, 2016-08-22T22:54:30Z TruePika: I'm not entirely sure, but I don't think SBCL is compiling 2016-08-22T22:54:50Z Bike: it is kind of hard to get sbcl to not compile, or did you mean building sbcl 2016-08-22T22:54:59Z TruePika: building 2016-08-22T22:55:07Z fiddlerwoaroof: rumbler31: You could also preallocate a vector that's big enough something like (make-array 10000 :fill-pointer 0) and fill it up with the read in data 2016-08-22T22:55:13Z TruePika: `lisp.run` is at over 115 minutes CPU time... 2016-08-22T22:55:33Z TruePika: let me go pastebin the terminal right now 2016-08-22T22:55:58Z TruePika: This is the terminal at the moment: http://pastebin.ca/3703517 2016-08-22T22:56:15Z fiddlerwoaroof: rumbler31: If the vector is also adjustable and you use vector-push-extend it'll even resize itself. 2016-08-22T22:56:39Z Bike: that's... a little brief, yeah. i've never built sbcl with clisp but building sbcl usually causes so much output that the instructions recommend using a fast terminal to display it 2016-08-22T22:56:59Z Bike: is this the same 2006 clisp 2016-08-22T22:57:16Z TruePika: so I need to update clisp, is what you're saying <_< 2016-08-22T22:57:34Z TruePika: meh, building Lisp so I can build Lisp with Lisp 2016-08-22T22:57:34Z fiddlerwoaroof: Can ecl now build sbcl? And, would that be any faster? 2016-08-22T22:57:37Z Bike: or build it with so mething else, or just download an sbcl binary. 2016-08-22T22:57:43Z hel-io quit (Remote host closed the connection) 2016-08-22T22:58:33Z Bike: sbcl's INSTALL file says "CLISP (only some versions: 2.44.1 is OK, 2.47 is not)" 2016-08-22T22:58:53Z TruePika: Okay, I'll pull 2.44.1 since that is known OK 2016-08-22T22:59:50Z TruePika: I use clisp sometimes (mainly at REPL), so might as well update it to something...not as broken 2016-08-22T23:00:04Z robotoad quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-08-22T23:00:23Z Bike: good plan 2016-08-22T23:00:30Z slyrus quit (Ping timeout: 265 seconds) 2016-08-22T23:00:56Z rumbler31: fiddlerwoaroof: I'm not sure what is going on, so I"m not sure how that would help. I open a stream from the input file then make the objects. I expect that whenever I am done with the objects they will go away and expect that if I've coded it right that the GC will find that they are otherwise unreachable and reclaim them 2016-08-22T23:01:21Z TruePika: (besides, it's useful to have a version on x86 since I can't compile SBCL under PPC without running out of memory) 2016-08-22T23:01:26Z rumbler31: since the output of heap-utilization doesn't show that the objects are sticking around, rather that I have 10gb of cons, I don't know what to do 2016-08-22T23:01:55Z TruePika: rumbler31: that is a lot of cons 2016-08-22T23:02:10Z Bike: maybe you could make a weak table and see if things are still around? 2016-08-22T23:02:53Z rumbler31: right, and I don't know why it should be the case. when I finally finish the computation, the resulting cons is about 1gb worth, the exact value depends obviously. 2016-08-22T23:03:03Z rumbler31: bike: what do you mean, log things in the weak table and 2016-08-22T23:03:16Z rumbler31: regularly, maphash? 2016-08-22T23:03:16Z __acher__ quit (Ping timeout: 244 seconds) 2016-08-22T23:03:32Z Bike: something like that. it's just a guess, i've never had to debug memory leaks. 2016-08-22T23:06:19Z wildlander quit (Quit: o/) 2016-08-22T23:07:53Z BlueRavenGT quit (Read error: No route to host) 2016-08-22T23:10:23Z rpg: TruePika: I've always just grabbed an SBCL binary, then bootstrapped from there. I mean, it's cool that SBCL boots in lots of ways, but I'm lazy, and I just want to have SBCL, I'm not interested in the build process per se 2016-08-22T23:10:29Z sellout- quit (Quit: Leaving.) 2016-08-22T23:10:50Z Bike: it makes sense if they actually use clisp 2016-08-22T23:11:16Z rpg: Bike: Not if it takes more than 2.4s to get it working! ;-) Downloading SBCL isn't that painful. 2016-08-22T23:11:33Z rpg: but, of course, if the platform isn't well supported, then my remarks mean nothing 2016-08-22T23:11:34Z BusFactor1 quit (Ping timeout: 240 seconds) 2016-08-22T23:15:29Z adolf_stalin joined #lisp 2016-08-22T23:17:19Z Kaisyu joined #lisp 2016-08-22T23:18:52Z jsmith_ quit 2016-08-22T23:21:04Z al-damiri quit (Quit: Connection closed for inactivity) 2016-08-22T23:22:02Z Bike: want people's opinions: if you declare the return type of a function to have some number of values, e.g. (function * integer) being one value, would you expect it to be okay for that function to return more values than are in the return type? 2016-08-22T23:22:46Z rpg: I would think it would be ok, but it would also be ok for the compiler to throw them on the floor, since it's entitled to trust what you tell it. 2016-08-22T23:23:21Z rpg: In the best of all worlds, trying to read more than one argument from a function declared in such a way should raise a compiler error.l 2016-08-22T23:25:01Z phoe: rpg: wouldn't the missing values be coerced to NIL? 2016-08-22T23:25:20Z phoe: like (VALUES) does? 2016-08-22T23:25:42Z Bike: you mean like THE does. 2016-08-22T23:25:53Z rpg: phoe: Yes, I'm claiming that the compiler would be entitled to give back only the first value, and give NIL for the rest. 2016-08-22T23:25:53Z Bike: that's what i'm asking. whether function returns should be treated the same way. 2016-08-22T23:27:04Z rpg: But.... If you're going to do that, the compiler should notice that you are calling the function in a way that is wrong (since it has the DECLAIM in hand), so shouldn't it call you an idiot? (I mean "emit a helpful warning")? 2016-08-22T23:27:32Z Bike: i'm learning that it's kind of annoying to check 2016-08-22T23:28:10Z moei quit (Quit: Leaving...) 2016-08-22T23:28:11Z Bike: and what i'm asking is whether it's legitimate to consider it wrong 2016-08-22T23:28:45Z Bike: (the integer (values 4 'fork)) is unambiguously conforming code that doesn't signal an error or anything 2016-08-22T23:33:01Z rpg: I thought you were asking about a case like (the integer (nth-value 2 (values 4 'fork))) 2016-08-22T23:33:27Z rpg is now known as rpg[Away] 2016-08-22T23:33:33Z Bike: ...well, nth-value returns NIL there 2016-08-22T23:33:36Z Blukunfando quit (Ping timeout: 258 seconds) 2016-08-22T23:34:32Z phoe quit (Ping timeout: 240 seconds) 2016-08-22T23:36:15Z Bike: clhs says that, say, if you have (ftype (function * integer) foo), then (foo whatever) is equivalent to (the integer (foo whatever)). but if that's so, foo can return however many values. which makes multiple value call essentially impossible to optimize 2016-08-22T23:39:07Z moei joined #lisp 2016-08-22T23:40:46Z mishoo quit (Ping timeout: 252 seconds) 2016-08-22T23:45:15Z Josh2 quit (Remote host closed the connection) 2016-08-22T23:48:09Z robotoad joined #lisp 2016-08-22T23:51:41Z Denommus joined #lisp 2016-08-22T23:59:55Z rpg[Away] quit (Quit: My Mac has gone to sleep. ZZZzzz…)