2015-04-22T00:00:38Z nyef: It can be. It's my log for most of writing the ARM backend for SBCL. 2015-04-22T00:00:56Z cmack quit (Ping timeout: 244 seconds) 2015-04-22T00:01:08Z drmeister: I'm really excited about this. If speeding clasp up now means writing Common Lisp code to generate more efficient code - that's great. 2015-04-22T00:01:15Z drmeister: I love writing Common Lisp code. 2015-04-22T00:01:27Z nyef: It, ah, ends 363 days ago. 2015-04-22T00:01:28Z drmeister: C++ ... not so much. 2015-04-22T00:01:51Z drmeister loves him some macros. 2015-04-22T00:02:23Z nyef: Shortly before giving up on the whole "altstack" thing and moving the lisp stack pointer out of the register set and into a static symbol. 2015-04-22T00:02:38Z drmeister: beach taught me a use case for compiler macros as well. 2015-04-22T00:03:43Z nyef: Oh, DEFTRANSFORM. That's also fun. 2015-04-22T00:03:45Z drmeister: This was where you were perplexed as to how it had ever worked before you rewrote it? 2015-04-22T00:05:17Z nyef: No, I knew how it had worked originally, this was where I realized that any approach that involved monkeying the system stack pointer was going to lead to PAIN, and so something else had to be done. 2015-04-22T00:05:26Z vdamewood quit (Max SendQ exceeded) 2015-04-22T00:06:06Z nyef: So, add DEFTRANSFORM to your list. It's similar to a compiler-macro, but you also get access to derived-type information. 2015-04-22T00:06:40Z Longlius joined #lisp 2015-04-22T00:06:43Z drmeister: I have to talk to beach about type inference - that's derived-type information - correct? 2015-04-22T00:07:02Z nyef: Yes. 2015-04-22T00:07:28Z drmeister: He's working on it in Cleavir - I'm not really clear on how far along it is. 2015-04-22T00:07:50Z nyef: And, as I said earlier, there's a hook using DEFKNOWN and DEFOPTIMIZER to allow specifying a type-deriver for a function. 2015-04-22T00:08:06Z drmeister: I've also got an interesting case where I have a lot of type information in my C++ function prototypes - I wonder if that will be useful for type inference and if so - how I will get it out to Clasp. 2015-04-22T00:08:08Z nyef: "If the arguments are thus and such, then the result is going to be..." 2015-04-22T00:08:17Z drmeister: Oh wait - I have clang build into clasp. 2015-04-22T00:09:05Z drmeister: I'll build it into my static analyzer. 2015-04-22T00:09:58Z nyef: You might also want to have a quick look at SYS:SRC;COMPILER;ALIENCOMP.LISP. 2015-04-22T00:10:50Z nyef: "Oh, you're doing an %ALIEN-FUNCALL. First, blow up if the type information is not available and constant. Second, here's the return type!" 2015-04-22T00:12:49Z drmeister: nyef: This is awesome - thanks. 2015-04-22T00:15:51Z Petit_Dejeuner joined #lisp 2015-04-22T00:16:52Z drmeister: I've reached a new level of exhaustion - I'm off to bed. Thanks again. 2015-04-22T00:16:56Z nyef: Sleep well. 2015-04-22T00:19:47Z Karl_Dscc joined #lisp 2015-04-22T00:20:35Z pillton quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-04-22T00:24:45Z clop2 joined #lisp 2015-04-22T00:28:00Z mogglebang quit (Quit: mogglebang) 2015-04-22T00:29:12Z _sjs joined #lisp 2015-04-22T00:31:00Z defaultxr joined #lisp 2015-04-22T00:35:20Z linux_dream quit (Quit: Leaving) 2015-04-22T00:35:25Z intinig joined #lisp 2015-04-22T00:36:07Z vdamewood joined #lisp 2015-04-22T00:36:58Z Brozo joined #lisp 2015-04-22T00:37:01Z Brozo: sup 2015-04-22T00:39:21Z keen_______ quit (Read error: Connection reset by peer) 2015-04-22T00:41:36Z jlongster quit (Ping timeout: 240 seconds) 2015-04-22T00:41:51Z keen_______ joined #lisp 2015-04-22T00:42:27Z cyphase quit (Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number) 2015-04-22T00:42:29Z intinig quit (Ping timeout: 248 seconds) 2015-04-22T00:48:44Z manuel__ joined #lisp 2015-04-22T00:51:28Z Vutral joined #lisp 2015-04-22T00:56:06Z Niac joined #lisp 2015-04-22T00:56:41Z harish quit (Ping timeout: 246 seconds) 2015-04-22T00:58:24Z Petit_Dejeuner: Is there a list of useful repl functions like time and documentation? 2015-04-22T00:58:49Z Petit_Dejeuner: useful for the repl 2015-04-22T01:00:25Z Karl_Dscc quit (Remote host closed the connection) 2015-04-22T01:00:27Z zeitue quit (Ping timeout: 256 seconds) 2015-04-22T01:01:16Z ajtulloc_ joined #lisp 2015-04-22T01:03:00Z Petit_Dejeuner: This seems adequate. Well, this seems 2015-04-22T01:03:08Z Petit_Dejeuner: copy paste, mess up, http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/sec_the_envir_t_dictionary.html 2015-04-22T01:04:39Z ajtulloc_ quit (Remote host closed the connection) 2015-04-22T01:04:59Z ajtulloch quit (Ping timeout: 256 seconds) 2015-04-22T01:05:37Z pillton joined #lisp 2015-04-22T01:08:48Z jlongster joined #lisp 2015-04-22T01:11:48Z Brozo left #lisp 2015-04-22T01:14:03Z jlongster quit (Ping timeout: 276 seconds) 2015-04-22T01:14:05Z zeitue joined #lisp 2015-04-22T01:16:40Z happy-dude joined #lisp 2015-04-22T01:17:11Z pjb: Petit_Dejeuner: cf: com.informatimago.common-lisp.interactive.interactive and com.informatimago.common-lisp.interactive.browser. 2015-04-22T01:21:28Z JokesOnYou77 joined #lisp 2015-04-22T01:23:08Z nikki93_ joined #lisp 2015-04-22T01:24:59Z joneshf-laptop quit (Remote host closed the connection) 2015-04-22T01:25:03Z jlongster joined #lisp 2015-04-22T01:27:17Z mogglebang joined #lisp 2015-04-22T01:29:00Z zeitue quit (Ping timeout: 276 seconds) 2015-04-22T01:33:45Z linux_dream joined #lisp 2015-04-22T01:37:01Z ajtulloch joined #lisp 2015-04-22T01:40:12Z intinig joined #lisp 2015-04-22T01:41:42Z {[]}grant joined #lisp 2015-04-22T01:42:18Z zeitue joined #lisp 2015-04-22T01:43:31Z wemeetagain quit (Ping timeout: 256 seconds) 2015-04-22T01:44:45Z WaREX joined #lisp 2015-04-22T01:45:26Z cmack joined #lisp 2015-04-22T01:47:20Z eeach joined #lisp 2015-04-22T01:47:49Z intinig quit (Ping timeout: 264 seconds) 2015-04-22T01:48:37Z ajtulloch quit (Remote host closed the connection) 2015-04-22T01:49:52Z vdamewood quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2015-04-22T01:50:13Z cmack quit (Ping timeout: 264 seconds) 2015-04-22T01:50:50Z ajtulloch joined #lisp 2015-04-22T01:53:09Z {[]}grant quit (Ping timeout: 245 seconds) 2015-04-22T01:54:43Z grant- joined #lisp 2015-04-22T01:56:37Z wemeetagain joined #lisp 2015-04-22T01:59:54Z c74d3 is now known as c74d 2015-04-22T02:01:48Z emaczen joined #lisp 2015-04-22T02:02:31Z ndrei quit (Ping timeout: 255 seconds) 2015-04-22T02:03:14Z grant- is now known as {0}grant 2015-04-22T02:03:42Z nikki93_ quit (Remote host closed the connection) 2015-04-22T02:08:31Z mogglebang quit (Quit: mogglebang) 2015-04-22T02:08:37Z smokeink joined #lisp 2015-04-22T02:10:00Z harish joined #lisp 2015-04-22T02:11:35Z gigetoo quit (Ping timeout: 250 seconds) 2015-04-22T02:11:53Z nikki93_ joined #lisp 2015-04-22T02:18:45Z gigetoo joined #lisp 2015-04-22T02:19:03Z echo-area joined #lisp 2015-04-22T02:19:51Z hiyosi quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2015-04-22T02:21:45Z RenRenJuan joined #lisp 2015-04-22T02:23:19Z C6248 joined #lisp 2015-04-22T02:29:25Z ajtulloch quit (Remote host closed the connection) 2015-04-22T02:29:30Z C6248: &j lispgames 2015-04-22T02:29:41Z rszeno quit (Quit: Leaving.) 2015-04-22T02:30:29Z ajtulloch joined #lisp 2015-04-22T02:32:16Z ajtulloch quit (Remote host closed the connection) 2015-04-22T02:32:34Z Brozo joined #lisp 2015-04-22T02:33:58Z mj-0 joined #lisp 2015-04-22T02:34:22Z sigjuice joined #lisp 2015-04-22T02:37:05Z akkad: irc is hard 2015-04-22T02:37:53Z pjb: So hard! Let's go shopping. 2015-04-22T02:40:28Z linux_dream quit (Quit: Leaving) 2015-04-22T02:42:37Z C6248: let's go shopping a new teclado 2015-04-22T02:42:43Z ajtulloch joined #lisp 2015-04-22T02:42:59Z C6248: but here the costs are higher than in America 2015-04-22T02:44:08Z C6248: so it's not suitable... XD 2015-04-22T02:44:38Z intinig joined #lisp 2015-04-22T02:51:14Z manuel__ quit (Quit: manuel__) 2015-04-22T02:51:39Z C6248 quit (Quit: Page closed) 2015-04-22T02:52:53Z intinig quit (Ping timeout: 245 seconds) 2015-04-22T02:53:55Z ajtulloch quit (Remote host closed the connection) 2015-04-22T02:59:47Z ajtulloch joined #lisp 2015-04-22T03:02:03Z ajtulloch quit (Remote host closed the connection) 2015-04-22T03:02:39Z ajtulloch joined #lisp 2015-04-22T03:03:19Z manuel__ joined #lisp 2015-04-22T03:05:11Z Petit_Dejeuner: If I define a method using :after, :before, or :around without defining a "base" method, what should happen? 2015-04-22T03:05:31Z Petit_Dejeuner: I can't find anything on it in CLHS. 2015-04-22T03:06:32Z pjb: (when (next-method-p) (call-next-method)) 2015-04-22T03:06:39Z Brozo quit (Quit: Leaving...) 2015-04-22T03:07:10Z Fare joined #lisp 2015-04-22T03:07:13Z dmiles_afk quit (Read error: Connection reset by peer) 2015-04-22T03:07:17Z pjb: Petit_Dejeuner: https://pupeno.files.wordpress.com/2011/08/common-lisp-method-composition.png 2015-04-22T03:07:58Z mj-0 quit (Ping timeout: 244 seconds) 2015-04-22T03:08:30Z manuel__ quit (Quit: manuel__) 2015-04-22T03:10:38Z Petit_Dejeuner: But, if a a primary method doesn't exist then the arrows never get a chance to branch in that graph. 2015-04-22T03:10:49Z Petit_Dejeuner: if a* 2015-04-22T03:11:48Z dmiles_afk joined #lisp 2015-04-22T03:12:11Z pjb: Hence the (when (next-method-p). 2015-04-22T03:12:29Z Fare: can an :around method skip the non-existent primary method? 2015-04-22T03:12:49Z pjb: Yes, it can not (call-next-method). 2015-04-22T03:13:56Z Fare: what I thought 2015-04-22T03:14:53Z Petit_Dejeuner: Alright, that makes sense. Thanks. 2015-04-22T03:14:55Z pjb: See 7.6.6.2 Standard Method Combination 2015-04-22T03:16:16Z Ukari joined #lisp 2015-04-22T03:16:49Z manuel__ joined #lisp 2015-04-22T03:18:54Z JokesOnYou77: If I have a nested loop over the same list, where the inner loop starts from the ( + 1 index-of-the-outer-loop) is the runtime still O(n^2)? 2015-04-22T03:19:01Z clop2 quit (Ping timeout: 255 seconds) 2015-04-22T03:19:27Z pjb: Yes. 2015-04-22T03:19:41Z JokesOnYou77: It works out to Sum(n -1) from i = 1 to (n -1) but I can't figure the big-O time 2015-04-22T03:19:47Z JokesOnYou77: pjb, ty :) 2015-04-22T03:19:50Z pjb: you will process n^2/2 elements and O(n^2/2) = O(n^2). 2015-04-22T03:20:37Z CEnnis91 quit (Quit: Connection closed for inactivity) 2015-04-22T03:21:23Z JokesOnYou77: Ahhh, didn't realize it worked out to n^2/2 hmmm...ty. 2015-04-22T03:21:59Z JokesOnYou77: funny how big a difference it makes in real time. Though I supposes that could be expressed in one of the other various little-o, or omega varieties. 2015-04-22T03:22:06Z pjb: Simple geometry: you have a square, you cut it in the diagonal so you get a rectangle. base=n height=n surface(number of cells)=n*n/2 2015-04-22T03:24:19Z pjb: s/rectangle/triangle/ 2015-04-22T03:24:22Z JokesOnYou77: That was the perfect explanation for me! I completely git it now. I was using it (at least in one place) to create an association matrix which is often a symmetric matrix, but I cut out the bottom half to shorten run time and your explanation actually looks like my matrix result 2015-04-22T03:25:31Z pjb: about computation real time, the thing is that O(.) doesn't say much, for one thing (the constants matter), and that with current memory architectures, caches matter a lot. 2015-04-22T03:25:58Z pjb: Check the triptic: http://www.ilikebigbits.com/blog/2014/4/21/the-myth-of-ram-part-i 2015-04-22T03:27:00Z Fare: so some design review: can someone look at the latest cl-launch patch? https://gitlab.common-lisp.net/xcvb/cl-launch/commit/cee6caa02e2822aee0c794d4e1b6805157a3c3ac 2015-04-22T03:27:04Z JokesOnYou77: I'll give it a read. I never actually took algorithms in school so I may have missed some of the end-lessons kinds of things that would come at the close of such a class 2015-04-22T03:27:29Z Fare: basically, I'm adding options -sm and -Ds to cl-launch as well as -DE 2015-04-22T03:27:35Z alusion quit (Quit: WeeChat 0.4.2) 2015-04-22T03:28:17Z Fare: but I'm a bit worried that the design is more complex than desired 2015-04-22T03:28:36Z scymtym_ quit (Ping timeout: 276 seconds) 2015-04-22T03:29:38Z Fare: I could simplify a bit by having -sm and -Ds actually change the current package, but maybe that's the wrong thing. 2015-04-22T03:30:11Z Fare: I'm also wondering if -sm should be renamed -sE (or -spE if the current package is changed) 2015-04-22T03:30:28Z vr-rm quit (Quit: Ex-Chat) 2015-04-22T03:30:55Z Fare: and whether it's OK to use main as the default name of the entry function, being funcall'ed with argv as argument. 2015-04-22T03:31:09Z defaultxr quit (Quit: gnight) 2015-04-22T03:31:35Z pjb: Yes main as the default entry point of a program seems ok. 2015-04-22T03:31:51Z bgs100 joined #lisp 2015-04-22T03:32:03Z Fare: funcall'ed with argv rather than apply'ed with argv? 2015-04-22T03:32:18Z Fare: that's the standard set by Xach's buildapp, I believe 2015-04-22T03:32:18Z pjb: argv envv? 2015-04-22T03:33:19Z Fare: env is not portably available on all lisps the way argv was already such a pain to get (especially argv0, that I'm *not* passing to main but must be gotten by calling (argv0)) 2015-04-22T03:33:19Z pjb: Implementations usually have their own API for argv andn envv, that they process themselves first. 2015-04-22T03:33:54Z Fare: some implementations don't let you access the entire environment, iirc 2015-04-22T03:34:08Z Petit_Dejeuner: I'm trying to chain several methods together, but all the :before methods don't seem to be run. When I had everything under one large method it worked fine. Is there anything obviously wrong with this code? http://paste.lisp.org/display/147328 2015-04-22T03:34:13Z Fare: but I may be wrong and just not have tried hard enough 2015-04-22T03:34:14Z cmack joined #lisp 2015-04-22T03:34:22Z pjb: In my (clisp) scripts, I have (main ext:*args*) ; So indeed, I would say it's the right thing to do. 2015-04-22T03:34:39Z JokesOnYou77 quit (Quit: Ex-Chat) 2015-04-22T03:34:53Z pjb: The thing is that in anycase, command argument lists need further parsing, so there's little point of using apply. 2015-04-22T03:35:04Z Fare: in any case, buildapp set the standard to just call the provided main function with an argv list as single argument, excluding argv0 2015-04-22T03:35:12Z pjb: And also, call-arguments-limit. 2015-04-22T03:35:14Z Fare: which is pretty reasonable. 2015-04-22T03:35:30Z pjb: yes. 2015-04-22T03:35:37Z Fare: yes, that's a good argument against apply in this case as a portable interface 2015-04-22T03:35:38Z nyef: Petit_Dejeuner: Yes. You only get ONE method named UPDATE :BEFORE ((PLAYER-GUN PLAYER-GUN)). 2015-04-22T03:35:44Z pillton: Fare: lisp-executable takes a different route by using DEFINE-PROGRAM. 2015-04-22T03:36:04Z Fare: pillton: I haven't looked at it in years. What does it do? 2015-04-22T03:36:05Z nyef: Petit_Dejeuner: Or, more specifically, one method with a given qualifier and set of specializers. 2015-04-22T03:36:08Z hjs joined #lisp 2015-04-22T03:36:17Z Petit_Dejeuner: nyef, Thanks. I guess I'll have to turn these into functions. 2015-04-22T03:36:20Z Fare: asdf also comes bundled with program-op, these days. 2015-04-22T03:36:50Z nyef: Petit_Dejeuner: Or a set of mixins, or... 2015-04-22T03:37:16Z Petit_Dejeuner: What do common lisp mixins look like? 2015-04-22T03:37:28Z nyef: Normal classes, just fairly minimal. 2015-04-22T03:37:43Z hjs: Has anyone seen GC problems with SBCL? I'm testing numerical code on arrays and lists of double-floats, fixnums, etc, and I find sbcl on Linux often crashing into LDB with a lack of memory. 2015-04-22T03:38:10Z nyef: The point is that you get to use multiple inheritance to add behavior, and you can stick a :before method on each mixin... 2015-04-22T03:38:22Z nyef: hjs: Large data sets? 2015-04-22T03:38:37Z pillton: Fare: http://paste.lisp.org/display/147329 2015-04-22T03:38:39Z Fare: Petit_Dejeuner, see "traits" in other languages 2015-04-22T03:38:52Z nyef: hjs: 32-bit or 64-bit system, and are you doing anything with --dynamic-space-size or whatever the parameter is called? 2015-04-22T03:38:52Z Fare: Petit_Dejeuner, and see how lisp-interface-library uses them. 2015-04-22T03:39:18Z pillton: Fare: It is a bit different to the way your cl-launch works, but you should get the idea of what DEFINE-PROGRAM does. 2015-04-22T03:39:25Z cmack quit (Ping timeout: 264 seconds) 2015-04-22T03:39:26Z nyef: Petit_Dejeuner: Or have a look at the various CLOS mixin classes. 2015-04-22T03:40:13Z Fare: pillton, does he somehow fork before he save-lisp-and-die? 2015-04-22T03:40:39Z pillton: Fare: I am the author. No, I start a new lisp and communicate with it. 2015-04-22T03:40:44Z oleo quit (Read error: Connection reset by peer) 2015-04-22T03:41:03Z hjs: nyef: a couple of 1mb arrays of double-floats, looping 100 times multiplying them element-wise into a new array. 2015-04-22T03:41:42Z Fare: yeah, starting a new lisp works... but can be a configuration HELL if you're using a non-default configuration. 2015-04-22T03:41:45Z hjs: nyef: Just running sbcl on linux, SBCL 1.1.14.debian 2015-04-22T03:42:07Z nyef: Hrm... So, depending on how that goes, you might have (* 300 8) => 2.4 gigs of memory allocated? 2015-04-22T03:42:10Z Fare: i.e. your sbcl is not in $PATH, you have a different $CL_SOURCE_REGISTRY, etc. 2015-04-22T03:42:30Z nyef: hjs: Which CPU type? 2015-04-22T03:42:43Z oleo joined #lisp 2015-04-22T03:42:54Z nyef: Or, failing that, what's the value of sb-vm:n-word-bits? 2015-04-22T03:43:07Z pillton: Fare: I send the contents of asdf:*central-registry* to the new machine. 2015-04-22T03:43:08Z hjs: nyef: What's weird is that each such loop is in a different function. The 1st fcn runs, then the 2nd function which does the same, but slightly differently, crashes. 2015-04-22T03:43:16Z Fare: pillton, that's so ASDF1. 2015-04-22T03:43:26Z pillton: Fare: Keep on mind I finished lisp-executable in 2011 or so. 2015-04-22T03:43:38Z Fare: pillton, no offense meant. 2015-04-22T03:43:38Z manuel__ quit (Quit: manuel__) 2015-04-22T03:44:11Z Fare: lisp-executable was a notable advance. 2015-04-22T03:44:20Z pillton: Fare: I actually prefer *central-registry*. I do find the (:tree (:home )) appealing though. 2015-04-22T03:44:41Z hjs: nyef: Basically, I'm trying to optimize vectorized operations, comparing Antik to common-lisp-statistics, etc. 2015-04-22T03:44:45Z nikki93_ quit (Remote host closed the connection) 2015-04-22T03:44:55Z Fare: I understand the appeal of the central-registry, especially after its main issues were fixed by gwking 2015-04-22T03:45:04Z hjs: nyef: Example code: (defun testgenericcls (n m) (declare (type (integer 1 10000000) n m)) (let ((v1 (cls:iseq m)) (v2 (cls:rseq 0 .1 m))) (time (progn (dotimes (i n) (setq v1 (cls:* v1 v2))))) (reduce #'+ v1))) 2015-04-22T03:45:10Z Fare: but it just doesn't scale to end-user-dom. 2015-04-22T03:45:19Z pillton: Fare: Cheers. My point was that DEFINE-PROGRAM hides the interface on how one invokes a program. 2015-04-22T03:45:33Z hjs: nyef: ~/lisp/cls$ uname -a Linux hjstein-ThinkPad-X1-Carbon-2nd 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux 2015-04-22T03:45:53Z nyef: Okay, so a 64-bit system, which means probably the larger heap sizes. 2015-04-22T03:46:07Z hjs: nyef: That's what I'd expect. 2015-04-22T03:46:07Z pillton: Fare: I found the most annoying thing with generating command line programs wasn't generating the command line program. It was parsing the command line arguments. 2015-04-22T03:47:13Z nyef: What happens if you call (sb-ext:dynamic-space-size)? 2015-04-22T03:47:22Z Fare: pillton, I like the design of lisp-executable, within its constraints. But it was both too much and not enough for what I was aiming for: I wanted to work on every single platform, and to close rather than keep open the configuration HELL 2015-04-22T03:47:41Z Fare: pillton, yes, I wrote command-line-arguments for that 2015-04-22T03:47:44Z badkins quit 2015-04-22T03:48:08Z hjs: * (sb-ext:dynamic-space-size) 1073741824 2015-04-22T03:48:09Z Fare: I also wrote N "lightweight" programs that have their own mini-library for that purpose 2015-04-22T03:48:16Z nyef: So, a one-gig heap. 2015-04-22T03:48:28Z clop2 joined #lisp 2015-04-22T03:48:35Z Fare: and I recently hacked CLON so it plays nicer with the build system. 2015-04-22T03:48:45Z Fare: (hopefully Didier will merge after ELS) 2015-04-22T03:49:17Z Fare: I'd like Didier to complete CLON enough that I can tell everyone "just use CLON". 2015-04-22T03:49:19Z nyef: As a simple "throw more memory at the problem" approach, try starting sbcl with --dynamic-space-size 4096 2015-04-22T03:49:25Z hjs: But I would have thought a low memory would have triggered a gc, which should have prevented an out of memory, because I only have 2 arrays referenced at any given time. 2015-04-22T03:49:31Z pillton: Fare: Fair enough. 2015-04-22T03:49:34Z nyef: Or even --dynamic-space-size 8192 2015-04-22T03:49:43Z hjs: Well, actually, 3. 2015-04-22T03:49:44Z Fare: CLON is not lightweight at all, though — and its default mode of operation involves loading FFI code. 2015-04-22T03:49:47Z nyef: Id've thought you'd've had... yeah, three. 2015-04-22T03:49:53Z ajtulloch quit (Ping timeout: 256 seconds) 2015-04-22T03:50:03Z nyef: But there's also possible data retention, the arrays might not be as small as you think they are, and so on. 2015-04-22T03:50:15Z intinig joined #lisp 2015-04-22T03:50:28Z Fare: so I'm still somewhat partial to my command-line-arguments library, though I believe it's better for it to be deprecated by CLON. 2015-04-22T03:50:49Z Fare: Didier had a bit too much fun writing CLON. 2015-04-22T03:50:51Z nyef: Which CLON? Weren't there three or four projects by that name? 2015-04-22T03:51:14Z Fare: (ql:quickload "com.dvlsoft.clon") 2015-04-22T03:51:46Z nyef: hjs: Your other fun new tools should be ROOM and SB-EXT:GC, particularly with the :FULL T option. 2015-04-22T03:51:48Z hjs: Still, 1,000,000 elements, worst case 64 bit pointers to boxed 64 bit doubles is only 24mb/structure. 2015-04-22T03:52:28Z nyef: And if 100 of them are hanging around, that's another story. 2015-04-22T03:52:34Z Fare: pillton, I see you have a gnu-style argv parser in lisp-executable 2015-04-22T03:52:35Z pjb: But you would use a specialized array. 2015-04-22T03:52:40Z pjb: So only 8MB. 2015-04-22T03:52:53Z pjb: 24 milli bits seems very low for a structure. 2015-04-22T03:53:07Z pillton: Fare: Yeah. It was meant to be configurable. 2015-04-22T03:53:31Z hjs: I'm testing different things - lists, general arrays, arrays of double-floats, etc. And yes, an array of double-floats should only be about 8mb 2015-04-22T03:54:15Z pjb: That said, if I was a teacher, I'd give exercises to my students with actual structures using 512 millibits :-) 2015-04-22T03:54:31Z pillton: Fare: The only thing I did wrong with lisp-executable was that I only wrote a syntactic interface for creating programs. 2015-04-22T03:54:33Z nyef: hjs: So, I have basically no idea what's going on with your system, but it sounds like you have far more stuff allocated or being retained than you think you do, especially around those loops. 2015-04-22T03:54:39Z hjs: But, with a loop like (dotimes (i 100) (setq v1 (antik:* v1 v2))), there shouldn't be 100 hanging out, unless either there's a memory leak or the GC is starting up too late. 2015-04-22T03:54:46Z pillton: Fare: I have a library now which generates command line programs and it is a pain. 2015-04-22T03:55:20Z nyef: hjs: Or antik:* creates a structure that refers to its arguments. 2015-04-22T03:55:24Z Fare: on top of lisp-executable? 2015-04-22T03:55:44Z nyef: That might count as a memory leak, but it might be a deliberate design decision. 2015-04-22T03:55:59Z nyef: (I don't know if it does or not, just that it's a plausibility.) 2015-04-22T03:56:01Z hjs: Runs fine with a (gc :full t) after each test call. 2015-04-22T03:56:26Z hjs: None of the functions hold onto the memory. 2015-04-22T03:56:29Z pillton: Fare: Yes. https://github.com/markcox80/chains/blob/master/src/pee-programs.lisp#L188 2015-04-22T03:56:33Z emaczen quit (Ping timeout: 276 seconds) 2015-04-22T03:56:37Z nyef: Hrm... Right, also try with a (sb-sys:scrub-control-stack) in place of the call to GC. 2015-04-22T03:57:09Z pillton: Fare: That is the wrong way to do it. I hadn't read the AMOP book when I wrote lisp-executable. 2015-04-22T03:57:40Z intinig quit (Ping timeout: 256 seconds) 2015-04-22T03:57:45Z Fare: I'm not sure there's a right way yet 2015-04-22T03:58:08Z Fare: but what I like is that the API be defined in terms of a lisp function, and then you put a shell skin on that function. 2015-04-22T03:58:23Z Fare: this way, my main use case is at the REPL 2015-04-22T03:58:31Z pillton: Fare: AMOP's argument for the syntactic, glue and object layers is very convincing in my opinion. 2015-04-22T03:58:47Z Fare: and if I need the functionality from the shell, I can keep thinking in Lisp terms. 2015-04-22T03:58:48Z hjs: nyef: Thanks. I guess I'll report it to the sbcl people... 2015-04-22T03:58:53Z pillton: Fare: lisp-executable has PROGRAM-FUNCALL for repl cases. 2015-04-22T03:59:05Z cluck quit (Remote host closed the connection) 2015-04-22T03:59:26Z nyef: Yeah, I'm not up for tangling with that GC any more tonight. 2015-04-22T03:59:45Z nyef: Though I did learn something new about the heap size, so thank you. 2015-04-22T03:59:56Z Fare: I like think in the opposite way: the basic API is the funcall, and the define-program is the second-class citizen. 2015-04-22T04:00:30Z pillton: Fare: Ok. Fair enough. What I wanted to see was something like a manpage. 2015-04-22T04:01:18Z Fare: although for the asdf build and test scripts, where I had to be backward compatible with existing shell-scripts and makefile invocations, I used a hybrid strategy, that is way over-engineered. 2015-04-22T04:01:29Z Fare: (see tools/ in the minimakefile branch of asdf) 2015-04-22T04:03:36Z pillton: Fare: Will do. I have to go now. Thanks for the chat. 2015-04-22T04:04:01Z Zhivago: hjs: Are you perhaps producing lexical closures unintentionally? 2015-04-22T04:08:25Z ajtulloch joined #lisp 2015-04-22T04:12:21Z CEnnis91 joined #lisp 2015-04-22T04:12:22Z gingerale joined #lisp 2015-04-22T04:14:37Z jumblerg joined #lisp 2015-04-22T04:14:43Z nyef: Zhivago: Looks a little bit like stack conservatism to me, hence why I asked for a test with scrub-control-stack instead of GC. 2015-04-22T04:19:53Z hjs: Zhivago: Hard to see how. The loops are in functions like (defun test1 (m n) ... (dotimes (i 100) (setq v1 (v* v1 v2)))). 2015-04-22T04:20:12Z nell joined #lisp 2015-04-22T04:20:28Z hjs: nyef: As for using (sb-sys:scrub-control-stack), still exhausts heap on 2nd test. 2015-04-22T04:20:59Z nyef: Interesting. 2015-04-22T04:21:21Z nell is now known as alusion 2015-04-22T04:21:29Z pjb: hjs: does v* modify v1? 2015-04-22T04:21:56Z nyef: What happens if you "just" do two loops with a call to (room) before and after the call to (gc :full t)? 2015-04-22T04:22:00Z bgs100 quit (Quit: bgs100) 2015-04-22T04:22:24Z nyef: It should give you some fairly direct information on how much memory is used by one loop and how much is freed by the GC. 2015-04-22T04:22:28Z harish quit (Ping timeout: 245 seconds) 2015-04-22T04:22:46Z Zhivago: Does that produce a result relating v1 and v2 to the new value of v1? 2015-04-22T04:23:15Z hjs: Not exactly... Here's an example multiplier: 2015-04-22T04:23:22Z hjs: (defun v3* (a b) 2015-04-22T04:23:29Z hjs: (cond ((and (typep a '(vector double-float)) 2015-04-22T04:23:36Z hjs: (typep b '(vector double-float))) 2015-04-22T04:23:42Z hjs: (let ((a a) (b b) (c (make-array (length a) :element-type 'double-float))) 2015-04-22T04:23:48Z hjs: (declare (type (simple-array double-float (*)) a b c)) 2015-04-22T04:23:54Z hjs: (dotimes (i (length a)) 2015-04-22T04:24:01Z hjs: (setf (aref c i) (* (aref a i) (aref b i)))) 2015-04-22T04:24:07Z hjs: c)) 2015-04-22T04:24:14Z hjs: (t (antik:* a b)))) 2015-04-22T04:24:27Z nyef: ... This is why we have a paste service. 2015-04-22T04:24:39Z hjs: Didn't know about that... :) 2015-04-22T04:25:19Z Bahman joined #lisp 2015-04-22T04:25:20Z hjs: How do I not paste like a moron when using https://webchat.freenode.net/? 2015-04-22T04:25:38Z pjb: by using http://paste.lisp.org/new instead. 2015-04-22T04:26:27Z kobain quit (Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/) 2015-04-22T04:27:12Z pjb: hjs: how is v* related to v3*? 2015-04-22T04:27:19Z White_Flame: maybe the topic should be updated as "post code with http://paste.lisp.org/" instead of just the naked URL 2015-04-22T04:28:25Z hjs: They're all doing something along the lines of (dotimes (i (length a)) (setf (aref c i) (* (aref a i) (aref b i)))) 2015-04-22T04:28:39Z pjb: that's where your problem resides. 2015-04-22T04:28:42Z Bike: does that actually give you any advantage over (map '(simple-array double-float) #'* a b)? 2015-04-22T04:28:42Z nyef: White_Flame: "There's a topic?" 2015-04-22T04:28:52Z qubitnerd joined #lisp 2015-04-22T04:29:04Z pjb: If you call (setf v1 (v* v1 v2)), then you should not make-array and instead call (modify* v1 v2) 2015-04-22T04:29:30Z pjb: and do something along the lines of (setf (aref a i) (* (aref a i) (aref b i))) ; no c here! 2015-04-22T04:30:24Z Bike: or (map-into v1 #'* v1 v2)? 2015-04-22T04:30:41Z hjs: Preceeded by (let ((c (make-array (length a) :element-type 'double-float))... 2015-04-22T04:32:00Z pjb: nope. 2015-04-22T04:32:03Z pjb: no make-array. 2015-04-22T04:32:18Z hjs: Yes. (map-into ...) should be optimal if the semantics of the v* fcns didn't require returning a new object. 2015-04-22T04:32:34Z pjb: you got it wrong. 2015-04-22T04:32:50Z hjs: Huh? 2015-04-22T04:32:55Z pjb: You don't call function whose semantics is not what you want. You WRITE functions whose semantics is what you want! 2015-04-22T04:32:58Z Bike: what pjb is saying is that if you're doing (setq x (do-something-with x)) you might as well just have a destructive version of do-something-with instead of haveint it allocate new stuff. 2015-04-22T04:35:18Z hjs: Of course. But this is just test code for comparing different ways of multiplying vectors & lists elementwise. The point is to basically have numerics handling in lisp similar to what's in matlab (i.e. - what was in xlispstat), where one could do (* '(1 2 3) '(4 5 6)), or (* #(1 2 3), #(4 5 6)), etc. 2015-04-22T04:35:47Z pjb: then don't complain about the garbage. 2015-04-22T04:36:51Z hjs: I'm not complaining about it creating a lot of garbage. I'm complaining about it not GCing it & instead falling into LDB with "heap exhausted". 2015-04-22T04:36:59Z Bike: i assume you're aware of the LAPACK etc interfaces that already exist 2015-04-22T04:39:05Z hjs: Yes. The idea is to make it easy to work on vectors and matrices while giving a route for it to be faster. Multiplying lists elementwise is necessarily slow because generic * must be used on each element. It'd be nice if the compiler could figure out to specialize when having, for example, arrays of double-floats. And it mostly does, although I'd think it should recognize this case with (map ...), but it doesn't. 2015-04-22T04:39:56Z Harag joined #lisp 2015-04-22T04:40:20Z hjs: So, the idea is to get the code to pick as specialized a version of * that it can, so if someone needs speed, they can switch from lists to arrays of double-floats, and at least become competitive with something like matlab. 2015-04-22T04:40:32Z ndrei joined #lisp 2015-04-22T04:40:57Z Bike: are you going to write sparse matrices, gaussian elimination, all that junk? 2015-04-22T04:42:34Z sdothum quit (Quit: ZNC - 1.6.0 - http://znc.in) 2015-04-22T04:42:37Z Brozo joined #lisp 2015-04-22T04:43:07Z hjs: Not planning on it... I got involved because I used to use xlispstat, which already had this, but was based on xlisp - not CL, byte compiler, etc. 2015-04-22T04:43:24Z Bike: ic. 2015-04-22T04:43:51Z hjs: xlispstat is aging, so I started looking around to see if anyone had ported it to common lisp so that I could at least compile my code. 2015-04-22T04:44:17Z nyef quit (Ping timeout: 256 seconds) 2015-04-22T04:44:47Z hjs: Found the packages Antik & common-lisp-statistics. The former has vectorized operations & the latter attempts to be a port, but it's incomplete. 2015-04-22T04:45:08Z Bike: it would be a neat trick if sbcl realized that (map '(array double-float) something some-arrays-of-dfs) could use a specialized something, probably complicated to implement, though 2015-04-22T04:45:55Z hjs: Managed to get some of my code to run in common-lisp-statistics, but was disappointed in the performance, so started to dig into the vectorized operations. 2015-04-22T04:46:24Z ndrei quit (Ping timeout: 256 seconds) 2015-04-22T04:48:12Z Brozo quit (Quit: Leaving...) 2015-04-22T04:52:42Z loke: Wow. I had no idea that the CL LAPACK was implemented by compiling the Fortran code to Lisp using f2cl. I'd have expected it to call out into native libraries. 2015-04-22T04:53:16Z f3lp joined #lisp 2015-04-22T04:54:03Z Slothel: hey guys, quick question 2015-04-22T04:54:20Z Slothel: So, in Windows 7, I have two explorer windows up, pointing to the exact same folder. 2015-04-22T04:54:44Z Slothel: One explorer tab shows set A of files, other explorer tab shows set B 2015-04-22T04:54:45Z intinig joined #lisp 2015-04-22T04:54:50Z Slothel: the two are not identical 2015-04-22T04:54:58Z Slothel: any ideas what in the f* is going on? 2015-04-22T04:55:04Z loke: Slothel: Is there a Lisp question in there? 2015-04-22T04:55:17Z hjs: Here's one timing result: http://paste.lisp.org/display/147334 2015-04-22T04:55:22Z Slothel: loke: Not directly, no. 2015-04-22T04:55:36Z Slothel: Other than it's a folder with my .lisp files in there 2015-04-22T04:55:43Z loke: Slothel: Try pressing F5. Other than that, I recommend you go to a windows channel? 2015-04-22T04:55:49Z Bike: i don't want to be mean, but that is not a computer help channel 2015-04-22T04:56:02Z Bike: hjs: yeah, figures. it's a bit of a complicated consideration, which i hadn't realized. 2015-04-22T04:56:14Z Slothel: yeab no problem 2015-04-22T04:56:33Z Bike: hjs: maybe it would speed up if you passed it (lambda (a b) (declare (optimize bla bla) (type double-float a b)) (* a b)) instead of *, but that's a pain 2015-04-22T05:00:25Z pt1 joined #lisp 2015-04-22T05:03:25Z intinig quit (Ping timeout: 264 seconds) 2015-04-22T05:05:23Z kcj joined #lisp 2015-04-22T05:07:12Z QualityAddict joined #lisp 2015-04-22T05:07:40Z futpib joined #lisp 2015-04-22T05:08:08Z hjs: Possibly. I don't mind so much the pain because I'll stick it into the generic vectorized * code and won't have to worry about it in the future. 2015-04-22T05:08:55Z hjs: The problem is the heap becoming exhausted even though, while I'm creating a lot of large arrays, I 2015-04-22T05:09:12Z hjs: 'm also throwing them away, and only have a few active at any given time. 2015-04-22T05:10:00Z hjs: I'm surprised the GC is failing to reclaim the space. 2015-04-22T05:10:01Z pt1 quit (Remote host closed the connection) 2015-04-22T05:10:13Z Bike: yeah i don't know the first thing about gc, so 2015-04-22T05:11:03Z hjs: Anyway, I guess I'll report it... 2015-04-22T05:13:56Z mogglebang joined #lisp 2015-04-22T05:16:00Z ajtulloch quit (Remote host closed the connection) 2015-04-22T05:16:36Z ASau quit (Ping timeout: 240 seconds) 2015-04-22T05:17:00Z jlongster quit (Ping timeout: 272 seconds) 2015-04-22T05:17:42Z nikki93_ joined #lisp 2015-04-22T05:18:33Z Harag quit (Quit: Harag) 2015-04-22T05:18:59Z cmack joined #lisp 2015-04-22T05:19:06Z nikki93_ quit (Remote host closed the connection) 2015-04-22T05:23:00Z gingerale quit (Ping timeout: 276 seconds) 2015-04-22T05:25:58Z futpib quit (Ping timeout: 250 seconds) 2015-04-22T05:30:59Z Pastaf quit (Quit: Leaving) 2015-04-22T05:32:09Z qubitnerd quit (Quit: WeeChat 1.1.1) 2015-04-22T05:33:35Z clop2 quit (Ping timeout: 256 seconds) 2015-04-22T05:34:18Z oleo quit (Quit: Leaving) 2015-04-22T05:35:13Z hjs left #lisp 2015-04-22T05:36:19Z sunwukong` joined #lisp 2015-04-22T05:39:51Z nell joined #lisp 2015-04-22T05:43:29Z PinealGlandOptic quit (Ping timeout: 244 seconds) 2015-04-22T05:45:14Z __reset left #lisp 2015-04-22T05:46:07Z kori quit (Quit: WeeChat 1.1.1) 2015-04-22T05:46:37Z Bahman quit (Ping timeout: 256 seconds) 2015-04-22T05:49:14Z zadock quit (Quit: Leaving) 2015-04-22T05:50:18Z yrdz quit (Ping timeout: 276 seconds) 2015-04-22T05:50:50Z mrSpec joined #lisp 2015-04-22T05:53:54Z jdz quit (Ping timeout: 252 seconds) 2015-04-22T05:54:25Z chu joined #lisp 2015-04-22T05:55:21Z quazimod1 joined #lisp 2015-04-22T05:57:34Z quazimodo quit (Ping timeout: 252 seconds) 2015-04-22T05:58:48Z xinau joined #lisp 2015-04-22T05:59:46Z mj-0 joined #lisp 2015-04-22T06:00:10Z jdz joined #lisp 2015-04-22T06:00:12Z intinig joined #lisp 2015-04-22T06:01:34Z x1n4u quit (Ping timeout: 244 seconds) 2015-04-22T06:02:44Z quazimodo joined #lisp 2015-04-22T06:05:41Z quazimod1 quit (Ping timeout: 248 seconds) 2015-04-22T06:07:26Z stepnem joined #lisp 2015-04-22T06:07:45Z intinig quit (Ping timeout: 250 seconds) 2015-04-22T06:07:58Z pt1 joined #lisp 2015-04-22T06:09:25Z Harag joined #lisp 2015-04-22T06:10:50Z eeach quit (Ping timeout: 256 seconds) 2015-04-22T06:12:11Z eeach joined #lisp 2015-04-22T06:13:23Z psy_ quit (Ping timeout: 250 seconds) 2015-04-22T06:15:04Z mogglebang quit (Quit: mogglebang) 2015-04-22T06:17:56Z eeach quit (Quit: eeach) 2015-04-22T06:18:32Z ndrei joined #lisp 2015-04-22T06:18:47Z Mon_Ouie quit (Ping timeout: 265 seconds) 2015-04-22T06:18:49Z pranavrc joined #lisp 2015-04-22T06:18:49Z pranavrc quit (Changing host) 2015-04-22T06:18:49Z pranavrc joined #lisp 2015-04-22T06:18:50Z pranavrc quit (Remote host closed the connection) 2015-04-22T06:20:37Z CEnnis91 quit (Quit: Connection closed for inactivity) 2015-04-22T06:26:22Z peterhil quit (Quit: Must not waste too much time here...) 2015-04-22T06:28:17Z chu quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2015-04-22T06:31:00Z mishoo joined #lisp 2015-04-22T06:36:25Z pranavrc joined #lisp 2015-04-22T06:43:25Z mvilleneuve joined #lisp 2015-04-22T06:48:26Z emaczen joined #lisp 2015-04-22T06:49:28Z ehu joined #lisp 2015-04-22T06:51:47Z balle joined #lisp 2015-04-22T06:55:20Z peterhil joined #lisp 2015-04-22T06:57:38Z Ven joined #lisp 2015-04-22T06:57:39Z smokeink: loading this code with quicklisp, https://github.com/pvlpenev/lispwebtales/tree/master/source/chapter5/linkdemo results in error: NIL fell through ETYPECASE expression. Wanted one of (SIMPLE-STRING STRING). [Condition of type SB-KERNEL:CASE-FAILURE] this is the culprit code https://github.com/pvlpenev/lispwebtales/blob/master/source/chapter5/linkdemo/defmodule.lisp#L3-L33 any idea what could be the reason i 2015-04-22T06:57:40Z smokeink: get that error ? and how to fix it? 2015-04-22T06:58:10Z balle quit (Remote host closed the connection) 2015-04-22T06:59:14Z balle joined #lisp 2015-04-22T07:00:16Z Harag quit (Ping timeout: 240 seconds) 2015-04-22T07:04:38Z intinig joined #lisp 2015-04-22T07:08:38Z sunwukong` quit (Read error: Connection reset by peer) 2015-04-22T07:09:04Z sunwukong` joined #lisp 2015-04-22T07:12:16Z zeitue quit (Ping timeout: 272 seconds) 2015-04-22T07:12:54Z intinig quit (Ping timeout: 244 seconds) 2015-04-22T07:13:40Z jlongster joined #lisp 2015-04-22T07:13:47Z intinig joined #lisp 2015-04-22T07:14:20Z cadadar joined #lisp 2015-04-22T07:18:12Z jlongster quit (Ping timeout: 250 seconds) 2015-04-22T07:21:52Z emaczen: The currency-converter program packaged in the CCL distribution does not work. It writes: "Evaluation aborted on #" and then kills my REPL in emacs. What can I do? 2015-04-22T07:22:01Z notty quit (Ping timeout: 255 seconds) 2015-04-22T07:22:30Z emaczen: I am runnning OS X 10.10.3 2015-04-22T07:23:31Z marvi quit (Ping timeout: 256 seconds) 2015-04-22T07:23:42Z marvi joined #lisp 2015-04-22T07:23:42Z marvi quit (Changing host) 2015-04-22T07:23:42Z marvi joined #lisp 2015-04-22T07:23:43Z Fare: fix it? 2015-04-22T07:24:18Z Fare: I used to have a currency converter in perl 2015-04-22T07:24:19Z ajtulloch joined #lisp 2015-04-22T07:24:42Z Fare: but I didn't keep it updated the last few years 2015-04-22T07:25:04Z emaczen: I was just trying to follows a tutorial for building OS X applications with CCL 2015-04-22T07:25:29Z cadadar quit (Quit: Leaving.) 2015-04-22T07:25:30Z emaczen: Oh wait I didn't specify correclty 2015-04-22T07:25:37Z zeitue joined #lisp 2015-04-22T07:25:56Z devll joined #lisp 2015-04-22T07:26:03Z mj-0 quit (Remote host closed the connection) 2015-04-22T07:26:07Z cadadar joined #lisp 2015-04-22T07:26:28Z emaczen: When I run (CCL::build-application ...) and pass the arguments as shows in the tutorial it crashes the the error I mentioned above. 2015-04-22T07:27:12Z munksgaard joined #lisp 2015-04-22T07:27:15Z Cymew joined #lisp 2015-04-22T07:28:42Z Fare: I don't know much about OS X, sorry 2015-04-22T07:29:31Z emaczen: no worries. CCL derives from Macintosh Common Lisp and there are Cocoa bindings (the api for UIs). 2015-04-22T07:30:05Z emaczen: The manual I am looking at seems to be the most updated one and targets OS X 10.6 -- 5 years ago... 2015-04-22T07:30:32Z emaczen: Hopefully someone can tell me what needs to be changed if anything. 2015-04-22T07:30:43Z devll quit (Remote host closed the connection) 2015-04-22T07:30:46Z Fare: probably not much 2015-04-22T07:30:52Z cadadar quit (Client Quit) 2015-04-22T07:31:54Z cadadar joined #lisp 2015-04-22T07:32:01Z H4ns: emaczen: you'll probably find help on the clozure cl list (https://lists.clozure.com/mailman/listinfo/openmcl-devel) 2015-04-22T07:32:32Z Grue` quit (Ping timeout: 252 seconds) 2015-04-22T07:32:51Z H4ns: emaczen: you can also try #ccl, although most people there would also see your inquiry here. 2015-04-22T07:33:23Z emaczen: H4ns: Thanks, I will join tomorrow -- I'm exhausted and heading to bed. Night all 2015-04-22T07:34:44Z mj-0 joined #lisp 2015-04-22T07:40:14Z stepnem quit (Ping timeout: 252 seconds) 2015-04-22T07:40:40Z ASau joined #lisp 2015-04-22T07:41:24Z ggole joined #lisp 2015-04-22T07:42:48Z emaczen quit (Ping timeout: 252 seconds) 2015-04-22T07:44:33Z Fare quit (Ping timeout: 245 seconds) 2015-04-22T07:45:35Z gniourf_gniourf quit (Quit: WeeChat 0.4.2) 2015-04-22T07:46:35Z qubitnerd joined #lisp 2015-04-22T07:51:23Z quazimod1 joined #lisp 2015-04-22T07:52:25Z arenz joined #lisp 2015-04-22T07:52:25Z cadadar quit (Read error: Connection reset by peer) 2015-04-22T07:52:37Z cadadar joined #lisp 2015-04-22T07:54:46Z angavrilov joined #lisp 2015-04-22T07:55:06Z quazimodo quit (Ping timeout: 276 seconds) 2015-04-22T07:55:27Z schoppenhauer quit (Ping timeout: 265 seconds) 2015-04-22T07:56:03Z Beetny joined #lisp 2015-04-22T08:00:35Z francogrex joined #lisp 2015-04-22T08:01:58Z francogrex: hi, newer sbcl assmbly is generating what is called a 'safepoint': http://paste.lisp.org/display/147339 can someone tell me what is this and why it has been added in the new releases? 2015-04-22T08:02:07Z |3b| quit (Read error: Connection reset by peer) 2015-04-22T08:02:49Z |3b|` joined #lisp 2015-04-22T08:02:58Z cadadar quit (Quit: Leaving.) 2015-04-22T08:03:30Z cadadar joined #lisp 2015-04-22T08:07:58Z brucem: francogrex: http://stackoverflow.com/questions/21859232/understanding-the-sbcl-entry-exit-assembly-boiler-plate-code 2015-04-22T08:09:24Z mj-0 quit (Remote host closed the connection) 2015-04-22T08:13:09Z schoppenhauer joined #lisp 2015-04-22T08:14:15Z marsjaninzmarsa joined #lisp 2015-04-22T08:19:05Z cadadar quit (Quit: Leaving.) 2015-04-22T08:19:16Z francogrex: brucem: good ref I'll read. thanks 2015-04-22T08:19:19Z cadadar joined #lisp 2015-04-22T08:19:45Z brucem: francogrex: there's some other material around as well ... pkhuong had a blog post in 2008 about one part of it ... 2015-04-22T08:19:56Z brucem: francogrex: Also, if you ask in #sbcl, you'll get even better info. :) 2015-04-22T08:20:10Z pranavrc quit (Ping timeout: 250 seconds) 2015-04-22T08:21:33Z Ukari quit (Read error: Connection reset by peer) 2015-04-22T08:22:37Z francogrex: ok 2015-04-22T08:23:12Z cmack quit (Ping timeout: 250 seconds) 2015-04-22T08:30:22Z wooden_ joined #lisp 2015-04-22T08:30:35Z francogrex quit 2015-04-22T08:31:29Z redeemed joined #lisp 2015-04-22T08:31:34Z wooden quit (Ping timeout: 252 seconds) 2015-04-22T08:31:55Z Tristam quit (Ping timeout: 244 seconds) 2015-04-22T08:32:13Z replcated_ quit (Ping timeout: 264 seconds) 2015-04-22T08:32:42Z RenRenJuan quit (Ping timeout: 272 seconds) 2015-04-22T08:33:50Z replcated joined #lisp 2015-04-22T08:34:50Z cadadar quit (Quit: Leaving.) 2015-04-22T08:35:25Z cadadar joined #lisp 2015-04-22T08:35:43Z RenRenJuan joined #lisp 2015-04-22T08:38:23Z zacharias joined #lisp 2015-04-22T08:38:40Z pranavrc joined #lisp 2015-04-22T08:38:40Z pranavrc quit (Changing host) 2015-04-22T08:38:40Z pranavrc joined #lisp 2015-04-22T08:43:11Z mega1 joined #lisp 2015-04-22T08:43:44Z przl joined #lisp 2015-04-22T08:45:43Z Tristam joined #lisp 2015-04-22T08:46:17Z robot-beethoven quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2015-04-22T08:47:31Z milosn quit (Ping timeout: 255 seconds) 2015-04-22T08:50:00Z A205B064 quit (Ping timeout: 244 seconds) 2015-04-22T08:51:14Z cadadar quit (Quit: Leaving.) 2015-04-22T08:51:25Z cadadar joined #lisp 2015-04-22T08:56:35Z cadadar quit (Quit: Leaving.) 2015-04-22T08:56:49Z cadadar joined #lisp 2015-04-22T09:01:55Z d4ryus__ joined #lisp 2015-04-22T09:03:59Z kjeldahl: join /#sbcl 2015-04-22T09:04:05Z kjeldahl: duh sry 2015-04-22T09:04:23Z Karl_Dscc joined #lisp 2015-04-22T09:04:57Z d4ryus_ quit (Ping timeout: 256 seconds) 2015-04-22T09:07:40Z cadadar quit (Quit: Leaving.) 2015-04-22T09:07:53Z cadadar joined #lisp 2015-04-22T09:09:16Z remi`bd joined #lisp 2015-04-22T09:10:46Z chu joined #lisp 2015-04-22T09:15:25Z qubitnerd quit (Ping timeout: 264 seconds) 2015-04-22T09:19:54Z mj-0 joined #lisp 2015-04-22T09:19:57Z drmeister: Hello 2015-04-22T09:23:15Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2015-04-22T09:23:38Z cadadar quit (Quit: Leaving.) 2015-04-22T09:24:42Z cadadar joined #lisp 2015-04-22T09:24:58Z mj-0 quit (Ping timeout: 245 seconds) 2015-04-22T09:26:30Z Karl_Dscc quit (Remote host closed the connection) 2015-04-22T09:31:38Z ndrei quit (Ping timeout: 265 seconds) 2015-04-22T09:32:50Z Niac quit (Remote host closed the connection) 2015-04-22T09:34:15Z cadadar quit (Quit: Leaving.) 2015-04-22T09:34:29Z cadadar joined #lisp 2015-04-22T09:44:13Z theos quit (Disconnected by services) 2015-04-22T09:44:13Z itheos joined #lisp 2015-04-22T09:47:59Z Karl_Dscc joined #lisp 2015-04-22T09:48:12Z bjorkintosh joined #lisp 2015-04-22T09:50:35Z cadadar quit (Quit: Leaving.) 2015-04-22T09:51:06Z cadadar joined #lisp 2015-04-22T09:51:14Z nowhereman_ joined #lisp 2015-04-22T09:52:24Z nowhere_man_ quit (Ping timeout: 256 seconds) 2015-04-22T09:53:23Z quazimodo joined #lisp 2015-04-22T09:53:56Z przl quit (Ping timeout: 246 seconds) 2015-04-22T09:54:34Z quazimod1 quit (Ping timeout: 255 seconds) 2015-04-22T10:03:37Z mj-0 joined #lisp 2015-04-22T10:04:07Z mj-0 quit (Remote host closed the connection) 2015-04-22T10:06:30Z cadadar quit (Quit: Leaving.) 2015-04-22T10:06:40Z cadadar joined #lisp 2015-04-22T10:07:20Z fsvehla joined #lisp 2015-04-22T10:08:06Z gravicappa joined #lisp 2015-04-22T10:08:47Z jlongster joined #lisp 2015-04-22T10:12:02Z milosn joined #lisp 2015-04-22T10:12:59Z joneshf-laptop joined #lisp 2015-04-22T10:13:22Z jlongster quit (Ping timeout: 256 seconds) 2015-04-22T10:13:51Z Karl_Dscc quit (Remote host closed the connection) 2015-04-22T10:15:21Z milosn quit (Read error: Connection reset by peer) 2015-04-22T10:16:59Z milosn joined #lisp 2015-04-22T10:17:08Z ajtulloc_ joined #lisp 2015-04-22T10:19:58Z attila_lendvai joined #lisp 2015-04-22T10:20:19Z qubitnerd joined #lisp 2015-04-22T10:20:36Z przl joined #lisp 2015-04-22T10:20:53Z ajtulloch quit (Ping timeout: 256 seconds) 2015-04-22T10:22:57Z stepnem joined #lisp 2015-04-22T10:24:17Z kcj quit (Read error: Connection reset by peer) 2015-04-22T10:24:52Z Shinmera joined #lisp 2015-04-22T10:24:59Z milosn quit (Read error: Connection reset by peer) 2015-04-22T10:25:41Z milosn joined #lisp 2015-04-22T10:26:46Z Shinmera: drmeister: Hullo. 2015-04-22T10:27:03Z przl quit (Ping timeout: 245 seconds) 2015-04-22T10:27:30Z drmeister: Shinmera are you home yet? 2015-04-22T10:27:45Z sdothum joined #lisp 2015-04-22T10:27:50Z Shinmera: No, I'm at Luton airport right now, waiting for my gate to open. 2015-04-22T10:28:00Z Shinmera: These bastards charge for their wifi! 2015-04-22T10:28:08Z Shinmera shakes fist at clouds 2015-04-22T10:28:11Z drmeister: Same here at Heathrow 2015-04-22T10:28:27Z drmeister: That'll show them 2015-04-22T10:28:29Z Shinmera: How are you holding up? Slept well? 2015-04-22T10:29:12Z ndrei joined #lisp 2015-04-22T10:29:44Z drmeister: Meh. Up 'til 3 woke at 7:30. Took Uber to the airport, whizzing through narrow London streets getting car sick. 2015-04-22T10:30:01Z drmeister: I have a coffee now. Things are looking up. 2015-04-22T10:30:58Z Shinmera: I had a surprisingly problem-free trip through London this time, thanks to a very helpful clerk at Greenwich station. 2015-04-22T10:31:15Z drmeister: You left your chocolates at the bar. Thank you. 2015-04-22T10:31:38Z Shinmera: Well, they were supposed to be for everyone at the conference, so that wasn't on accident :) 2015-04-22T10:32:05Z drmeister: I appreciated it 2015-04-22T10:32:20Z echo-area quit (Remote host closed the connection) 2015-04-22T10:32:33Z ajtulloc_ quit (Quit: Leaving...) 2015-04-22T10:32:41Z drmeister: Do you know of any good web references on type inference? 2015-04-22T10:32:53Z Shinmera: So, how are you feeling now that you've talked to people? Still feeling depressed about the possibility that people might not care? 2015-04-22T10:33:08Z drmeister: I can load them on my phone for when my laptop dies 2015-04-22T10:33:08Z cadadar quit (Read error: Connection reset by peer) 2015-04-22T10:33:14Z Shinmera: I do not, sorry. It's not an area I've ever looked into. 2015-04-22T10:33:24Z cadadar joined #lisp 2015-04-22T10:33:40Z drmeister: I'll toss that question out to the wider audience then. 2015-04-22T10:33:43Z whartung quit (Ping timeout: 255 seconds) 2015-04-22T10:33:57Z drmeister: I need to talk with beach about it. 2015-04-22T10:34:51Z drmeister: Tagging, vops, type inference. Those are my burning interests for the next little while. 2015-04-22T10:35:48Z drmeister: If the difference between where I am and where I want to be (fast clasp) is a few macros - then I'm in a great place. 2015-04-22T10:36:18Z c74d quit (Ping timeout: 276 seconds) 2015-04-22T10:36:39Z harish_ joined #lisp 2015-04-22T10:38:22Z mj-0 joined #lisp 2015-04-22T10:39:12Z przl joined #lisp 2015-04-22T10:39:20Z c74d joined #lisp 2015-04-22T10:39:53Z drmeister: It looks like vops are all these overlapping operations with trade offs in cost, type awareness, speed and size. The compiler mixes and matches them according to the programmers declares. 2015-04-22T10:39:56Z milosn quit (Read error: Connection reset by peer) 2015-04-22T10:40:22Z milosn joined #lisp 2015-04-22T10:41:19Z drmeister: What I have now is essentially the most general, most expensive operations for everything. 2015-04-22T10:42:05Z drmeister: Beach is working on type inference. 2015-04-22T10:43:12Z Shinmera: Right. 2015-04-22T10:43:35Z milosn quit (Read error: Connection reset by peer) 2015-04-22T10:43:54Z whartung joined #lisp 2015-04-22T10:43:57Z drmeister: I can't use sbcls vops directly because llvm uses different instructions and cleavir provides different info. But something like vops will fit nicely between cleavir and llvm 2015-04-22T10:45:53Z drmeister: I was excited to hear that the Google folks had tried and given up on adding llvm as a backend to sbcl. Not in a schadenfreude way. But that what I'm doing is hard and I've made a lot of progress. 2015-04-22T10:47:41Z drmeister: I need to get to my gate. I'll talk to you later. 2015-04-22T10:50:13Z Ethan- joined #lisp 2015-04-22T10:50:14Z Shinmera: Have a good flight! 2015-04-22T10:54:10Z cadadar quit (Quit: Leaving.) 2015-04-22T10:54:23Z cadadar joined #lisp 2015-04-22T10:55:13Z Karl_Dscc joined #lisp 2015-04-22T10:56:25Z happy-dude quit (Quit: Connection closed for inactivity) 2015-04-22T10:58:46Z attila_lendvai quit (Ping timeout: 250 seconds) 2015-04-22T10:59:15Z intinig quit (Read error: Connection reset by peer) 2015-04-22T11:00:14Z intinig joined #lisp 2015-04-22T11:00:34Z drmeister: Same to you Shinmera - lets talk more later. 2015-04-22T11:01:40Z gendl joined #lisp 2015-04-22T11:05:07Z gendl quit (Client Quit) 2015-04-22T11:08:47Z jlongster joined #lisp 2015-04-22T11:10:05Z cadadar quit (Read error: Connection reset by peer) 2015-04-22T11:10:13Z yeticry quit (Ping timeout: 250 seconds) 2015-04-22T11:10:26Z pt1 quit (Read error: No route to host) 2015-04-22T11:10:34Z cadadar joined #lisp 2015-04-22T11:10:47Z pt1 joined #lisp 2015-04-22T11:11:03Z yeticry joined #lisp 2015-04-22T11:12:07Z attila_lendvai joined #lisp 2015-04-22T11:12:07Z attila_lendvai quit (Changing host) 2015-04-22T11:12:07Z attila_lendvai joined #lisp 2015-04-22T11:14:00Z jlongster quit (Ping timeout: 276 seconds) 2015-04-22T11:15:09Z Shinmera quit (Quit: しつれいしなければならないんです。) 2015-04-22T11:15:25Z cadadar quit (Client Quit) 2015-04-22T11:15:29Z Harag joined #lisp 2015-04-22T11:16:37Z cadadar joined #lisp 2015-04-22T11:19:17Z loke quit (Remote host closed the connection) 2015-04-22T11:20:22Z yrk joined #lisp 2015-04-22T11:20:55Z yrk quit (Changing host) 2015-04-22T11:20:55Z yrk joined #lisp 2015-04-22T11:24:34Z rszeno joined #lisp 2015-04-22T11:25:44Z pillton: How do you create an account at gitlab.common-lisp.net? 2015-04-22T11:27:46Z cadadar quit (Read error: Connection timed out) 2015-04-22T11:28:34Z cadadar joined #lisp 2015-04-22T11:28:51Z ndrei quit (Ping timeout: 250 seconds) 2015-04-22T11:29:48Z zadock joined #lisp 2015-04-22T11:30:36Z ndrei joined #lisp 2015-04-22T11:30:42Z milosn joined #lisp 2015-04-22T11:31:03Z milosn quit (Read error: Connection reset by peer) 2015-04-22T11:32:13Z Beetny quit (Ping timeout: 264 seconds) 2015-04-22T11:32:42Z sz0 quit (Ping timeout: 252 seconds) 2015-04-22T11:35:26Z przl quit (Ping timeout: 246 seconds) 2015-04-22T11:35:35Z cadadar quit (Quit: Leaving.) 2015-04-22T11:40:53Z milosn_ joined #lisp 2015-04-22T11:42:11Z manuel__ joined #lisp 2015-04-22T11:43:17Z ndrei quit (Ping timeout: 248 seconds) 2015-04-22T11:44:46Z milosn_ quit (Client Quit) 2015-04-22T11:44:51Z milosn__ joined #lisp 2015-04-22T11:45:12Z przl joined #lisp 2015-04-22T11:48:01Z the_real_intinig joined #lisp 2015-04-22T11:48:01Z ndrei joined #lisp 2015-04-22T11:48:01Z milosn__ is now known as milosn 2015-04-22T11:49:17Z xinau quit (Ping timeout: 256 seconds) 2015-04-22T11:51:21Z intinig quit (Ping timeout: 244 seconds) 2015-04-22T11:52:51Z the_real_intinig is now known as intinig 2015-04-22T11:54:09Z k-dawg joined #lisp 2015-04-22T11:55:44Z itheos is now known as theos 2015-04-22T11:56:39Z milosn quit (Ping timeout: 256 seconds) 2015-04-22T11:56:53Z Ukari joined #lisp 2015-04-22T11:57:25Z f3lp quit (Ping timeout: 264 seconds) 2015-04-22T11:58:05Z vaporatorius joined #lisp 2015-04-22T11:59:33Z Cymew: adding llvm as a backend to sbcl, that sounds... involved... 2015-04-22T12:03:57Z nyef joined #lisp 2015-04-22T12:10:47Z ebrasca joined #lisp 2015-04-22T12:11:22Z Jaskologist joined #lisp 2015-04-22T12:13:03Z ndrei quit (Ping timeout: 244 seconds) 2015-04-22T12:13:16Z qubitnerd quit (Ping timeout: 240 seconds) 2015-04-22T12:15:46Z ebrasca quit (Ping timeout: 256 seconds) 2015-04-22T12:17:58Z killmaster quit (Quit: Bye!) 2015-04-22T12:18:16Z frkout quit (Ping timeout: 240 seconds) 2015-04-22T12:18:57Z killmaster joined #lisp 2015-04-22T12:22:41Z selat joined #lisp 2015-04-22T12:25:25Z eudoxia joined #lisp 2015-04-22T12:25:37Z harish_ quit (Ping timeout: 264 seconds)