2014-11-09T00:01:11Z eee-blt quit (Ping timeout: 265 seconds) 2014-11-09T00:01:15Z Bike quit (Ping timeout: 265 seconds) 2014-11-09T00:01:25Z duper joined #lisp 2014-11-09T00:01:38Z rvchangue joined #lisp 2014-11-09T00:01:45Z Adeon quit (Remote host closed the connection) 2014-11-09T00:01:47Z Bike joined #lisp 2014-11-09T00:01:54Z Adeon joined #lisp 2014-11-09T00:02:09Z swflint quit (Ping timeout: 265 seconds) 2014-11-09T00:02:17Z Petit_Dejeuner joined #lisp 2014-11-09T00:02:21Z peterhil joined #lisp 2014-11-09T00:02:37Z arrsim joined #lisp 2014-11-09T00:02:51Z |3b| quit (Read error: Connection reset by peer) 2014-11-09T00:03:36Z joshe quit (Ping timeout: 265 seconds) 2014-11-09T00:04:23Z uber joined #lisp 2014-11-09T00:04:23Z uber quit (Max SendQ exceeded) 2014-11-09T00:04:24Z linux_dream quit (Quit: Leaving) 2014-11-09T00:04:31Z gko joined #lisp 2014-11-09T00:04:34Z clop3 joined #lisp 2014-11-09T00:04:53Z uber joined #lisp 2014-11-09T00:07:12Z swflint_away joined #lisp 2014-11-09T00:07:22Z swflint_away is now known as swflint 2014-11-09T00:07:47Z eee-blt joined #lisp 2014-11-09T00:08:08Z Oddity joined #lisp 2014-11-09T00:08:19Z kanru` joined #lisp 2014-11-09T00:13:00Z kuimacro joined #lisp 2014-11-09T00:16:57Z miql joined #lisp 2014-11-09T00:20:36Z zygentoma quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2014-11-09T00:21:47Z miql quit (Ping timeout: 255 seconds) 2014-11-09T00:22:40Z Fullma joined #lisp 2014-11-09T00:25:39Z nha_ joined #lisp 2014-11-09T00:27:10Z ivan\ joined #lisp 2014-11-09T00:27:32Z guicho joined #lisp 2014-11-09T00:28:09Z nha quit (Ping timeout: 258 seconds) 2014-11-09T00:30:31Z guicho_ joined #lisp 2014-11-09T00:30:48Z guicho quit (Client Quit) 2014-11-09T00:30:51Z guicho_ quit (Read error: Connection reset by peer) 2014-11-09T00:31:00Z guicho joined #lisp 2014-11-09T00:31:16Z kuimacro quit (Ping timeout: 256 seconds) 2014-11-09T00:31:28Z BitPuffin quit (Ping timeout: 244 seconds) 2014-11-09T00:33:36Z guicho_ joined #lisp 2014-11-09T00:34:24Z joast quit (Ping timeout: 245 seconds) 2014-11-09T00:35:04Z guicho quit (Client Quit) 2014-11-09T00:35:32Z guicho joined #lisp 2014-11-09T00:35:55Z pjb: It's a bad idea to use (intern x #.*package*) because packages are not writable in fasl files! (intern x) is already equivalent to (intern x *package*) You may use (intern x (load-time-value *package*)) instead, but in general, just specify the package you want to intern to explicitely. (intern x "MY-PACKAGE"). 2014-11-09T00:35:59Z guicho_ quit (Client Quit) 2014-11-09T00:37:08Z guicho quit (Client Quit) 2014-11-09T00:37:09Z guicho_ joined #lisp 2014-11-09T00:37:09Z guicho_ quit (Client Quit) 2014-11-09T00:37:31Z guicho joined #lisp 2014-11-09T00:38:53Z Shinmera quit (Quit: しつれいしなければならないんです。) 2014-11-09T00:41:06Z juiko joined #lisp 2014-11-09T00:41:15Z dilated_dinosaur quit (Quit: Leaving) 2014-11-09T00:44:10Z miql joined #lisp 2014-11-09T00:49:25Z miql quit (Ping timeout: 272 seconds) 2014-11-09T00:49:59Z Kanae joined #lisp 2014-11-09T00:51:12Z paule32 quit (Remote host closed the connection) 2014-11-09T00:55:29Z vowyer_: pjb: thanks for the insight 2014-11-09T00:55:49Z MrWoohoo quit (Quit: ["Textual IRC Client: www.textualapp.com"]) 2014-11-09T01:07:32Z dagnachew quit (Quit: WeeChat 1.0.1) 2014-11-09T01:11:18Z miql joined #lisp 2014-11-09T01:14:17Z stardiviner joined #lisp 2014-11-09T01:16:10Z miql quit (Ping timeout: 255 seconds) 2014-11-09T01:24:15Z zRecursive joined #lisp 2014-11-09T01:25:50Z dagnachew joined #lisp 2014-11-09T01:27:03Z Mon_Ouie quit (Remote host closed the connection) 2014-11-09T01:28:01Z Mon_Ouie joined #lisp 2014-11-09T01:35:43Z kuimacro joined #lisp 2014-11-09T01:38:33Z miql joined #lisp 2014-11-09T01:42:52Z miql quit (Ping timeout: 240 seconds) 2014-11-09T01:46:51Z normanrichards joined #lisp 2014-11-09T01:46:57Z normanrichards quit (Client Quit) 2014-11-09T01:52:04Z Kanae quit (Ping timeout: 244 seconds) 2014-11-09T01:56:20Z Bike: (intern x #.(package-name *package*)), clearly 2014-11-09T02:00:16Z munksgaard quit (Read error: Connection reset by peer) 2014-11-09T02:02:18Z pavelpenev quit (Ping timeout: 256 seconds) 2014-11-09T02:04:48Z edgar-rft joined #lisp 2014-11-09T02:05:18Z chu quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-09T02:05:47Z miql joined #lisp 2014-11-09T02:08:01Z kcj joined #lisp 2014-11-09T02:10:41Z miql quit (Ping timeout: 255 seconds) 2014-11-09T02:12:10Z wizzo quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2014-11-09T02:17:07Z bege joined #lisp 2014-11-09T02:17:29Z theotherstupidgu quit (Ping timeout: 265 seconds) 2014-11-09T02:17:49Z theotherstupidgu joined #lisp 2014-11-09T02:24:41Z Hache_ quit (Remote host closed the connection) 2014-11-09T02:27:57Z Karl_Dscc quit (Remote host closed the connection) 2014-11-09T02:29:37Z xrash quit (Remote host closed the connection) 2014-11-09T02:32:54Z miql joined #lisp 2014-11-09T02:33:20Z madalu joined #lisp 2014-11-09T02:37:43Z beach joined #lisp 2014-11-09T02:37:56Z beach: Good morning everyone! 2014-11-09T02:38:11Z miql quit (Ping timeout: 264 seconds) 2014-11-09T02:40:09Z vowyer_: beach: morning? It's 23.40 here :D 2014-11-09T02:43:09Z vaporatorius joined #lisp 2014-11-09T02:43:48Z beach: Yeah, I was hoping to catch Xach, but this is Saturday night where he is so I can't expect him to be on IRC. 2014-11-09T02:48:32Z matko quit (Remote host closed the connection) 2014-11-09T02:55:11Z kuimacro quit (Ping timeout: 265 seconds) 2014-11-09T03:00:04Z miql joined #lisp 2014-11-09T03:04:23Z miql quit (Ping timeout: 240 seconds) 2014-11-09T03:06:57Z loz quit (Quit: Leaving.) 2014-11-09T03:09:08Z cpc26_ quit (Read error: Connection reset by peer) 2014-11-09T03:09:39Z cpc26 joined #lisp 2014-11-09T03:09:45Z ggole joined #lisp 2014-11-09T03:19:25Z stardiviner quit (Quit: my website: http://stardiviner.dyndns-blog.com/) 2014-11-09T03:25:59Z doh` quit (Remote host closed the connection) 2014-11-09T03:27:23Z miql joined #lisp 2014-11-09T03:30:17Z vaporatorius quit (Remote host closed the connection) 2014-11-09T03:32:28Z miql quit (Ping timeout: 265 seconds) 2014-11-09T03:43:14Z corni joined #lisp 2014-11-09T03:45:32Z madmalik quit (Quit: Connection closed for inactivity) 2014-11-09T03:45:58Z gabriel_laddel quit (Ping timeout: 250 seconds) 2014-11-09T03:49:33Z Nerock joined #lisp 2014-11-09T03:51:08Z gabriel_laddel joined #lisp 2014-11-09T03:54:27Z miql joined #lisp 2014-11-09T03:55:11Z mearnsh quit (Ping timeout: 265 seconds) 2014-11-09T03:55:59Z Xach: Of course I am on IRC 2014-11-09T03:56:05Z Xach: but not for long! 2014-11-09T03:56:21Z beach: OK, no problem. 2014-11-09T03:56:53Z beach: So my question was whether you update the list of ASDF files manually, then? 2014-11-09T03:57:37Z beach: And, what should I do to get mcclim-truetype recognized? 2014-11-09T03:58:13Z gabriel_laddel quit (Ping timeout: 258 seconds) 2014-11-09T03:58:54Z Xach: beach: i set up an environment where every system file in the "universe" is visible to asdf, then build them one by one. whichever one builds is included. it is mostly automatic. 2014-11-09T03:58:59Z miql quit (Ping timeout: 245 seconds) 2014-11-09T03:59:11Z beach: Oh, I see. 2014-11-09T03:59:18Z Xach: beach: if i were you, i would eliminate the dependency on clim-clx, or make clim-clx its own system. 2014-11-09T03:59:25Z beach: Yes. Got it. 2014-11-09T03:59:38Z beach: I will do that and then tell you when it's done. 2014-11-09T03:59:43Z Xach: ok 2014-11-09T03:59:44Z beach: Is that all I need to do? 2014-11-09T04:00:06Z Xach: Yes - if there are problems building, I can alert you, too, via a github issue 2014-11-09T04:00:17Z beach: Excellent! We have a deal. 2014-11-09T04:00:50Z Xach: it helps to know the expectations. i have not reported mcclim system problems because i did not expect them to be addressed, and also nobody complained. 2014-11-09T04:01:00Z Xach: more the latter than the former 2014-11-09T04:01:22Z beach: Yeah, I get it. Maybe the maintainer will be a bit more reactive now. 2014-11-09T04:01:48Z beach: Plus, that now someone complained :) 2014-11-09T04:01:58Z gabriel_laddel joined #lisp 2014-11-09T04:02:38Z znode joined #lisp 2014-11-09T04:04:09Z beach vanishes for a while. 2014-11-09T04:06:14Z zeitue quit (Ping timeout: 265 seconds) 2014-11-09T04:12:04Z corni quit (Ping timeout: 260 seconds) 2014-11-09T04:14:21Z zRecursive quit (Remote host closed the connection) 2014-11-09T04:19:29Z znode quit (Quit: (null)) 2014-11-09T04:21:37Z miql joined #lisp 2014-11-09T04:21:52Z zeitue joined #lisp 2014-11-09T04:25:08Z zeitue quit (Read error: Connection reset by peer) 2014-11-09T04:26:12Z miql quit (Ping timeout: 258 seconds) 2014-11-09T04:27:37Z |3b|`` joined #lisp 2014-11-09T04:28:34Z |3b|`` is now known as |3b| 2014-11-09T04:28:52Z Nerock quit (Ping timeout: 240 seconds) 2014-11-09T04:29:07Z zeitue joined #lisp 2014-11-09T04:31:39Z LiamH quit (Quit: Leaving.) 2014-11-09T04:32:10Z mtakkman joined #lisp 2014-11-09T04:36:31Z kuimacro joined #lisp 2014-11-09T04:40:09Z mearnsh joined #lisp 2014-11-09T04:48:50Z miql joined #lisp 2014-11-09T04:53:40Z miql quit (Ping timeout: 265 seconds) 2014-11-09T04:56:33Z leo2007 quit (Quit: rcirc on GNU Emacs 25.0.50.1) 2014-11-09T04:59:27Z juiko quit (Ping timeout: 245 seconds) 2014-11-09T05:02:51Z leo2007 joined #lisp 2014-11-09T05:03:41Z gabriel_laddel quit (Remote host closed the connection) 2014-11-09T05:04:39Z Ethan- quit (Ping timeout: 272 seconds) 2014-11-09T05:07:09Z jdz quit (Ping timeout: 260 seconds) 2014-11-09T05:12:31Z guicho quit (Quit: さようなら) 2014-11-09T05:16:12Z miql joined #lisp 2014-11-09T05:20:47Z miql quit (Ping timeout: 250 seconds) 2014-11-09T05:36:39Z vowyer_ quit (Remote host closed the connection) 2014-11-09T05:37:29Z doh` joined #lisp 2014-11-09T05:43:10Z miql joined #lisp 2014-11-09T05:48:23Z miql quit (Ping timeout: 264 seconds) 2014-11-09T05:56:44Z dagnachew quit (Remote host closed the connection) 2014-11-09T06:02:23Z caps joined #lisp 2014-11-09T06:04:08Z caps: (format t "~a" #\return) prints ^M on *slime-repl sbcl*. need help. 2014-11-09T06:04:36Z pjb: caps: help for what? 2014-11-09T06:04:41Z beach: caps: Return *is* Control-M. 2014-11-09T06:06:22Z caps: i was printing an animation for buffering. and it keeps on printing ^M in between. 2014-11-09T06:06:36Z pjb: With some work, you could make slime move the cursor at the beginning of the line when it receives a #\Return, and overwrite the line. 2014-11-09T06:06:53Z beach: caps: Why are you printing returns if you don't want them? 2014-11-09T06:07:17Z pjb: See for example: https://gitorious.org/nasium-lse/nasium-lse/source/src/swank-terminal.lisp 2014-11-09T06:08:56Z pjb: caps: you could hook it up with Gray streams too, or perhaps hack swank streams. 2014-11-09T06:09:58Z rpg quit (Quit: rpg) 2014-11-09T06:10:13Z pjb: On the other hand, I don't think it'd be easy to do it only from the slime side. IIRC, the slime repl is not a comint buffer, so comint output filters wouldn't do, and anyways slime does more sophisticated stuff in its repl buffers. 2014-11-09T06:10:22Z miql joined #lisp 2014-11-09T06:12:55Z caps: okay. 2014-11-09T06:13:48Z pjb: caps: if you want to print progress, it would be easier to do something like wget, detecting whether you are on a terminal (that would support #\Return) or not, and therefore using a different way of displaying progress (eg. display lines of dots instead of an updated percentage). 2014-11-09T06:15:14Z miql quit (Ping timeout: 256 seconds) 2014-11-09T06:16:16Z bgs100 quit (Quit: bgs100) 2014-11-09T06:21:17Z ofosos joined #lisp 2014-11-09T06:23:16Z caps: : what is "lse-"? 2014-11-09T06:24:19Z boogie joined #lisp 2014-11-09T06:26:58Z caps: : thanks for swank-terminal.lisp. 2014-11-09T06:35:55Z tesuji joined #lisp 2014-11-09T06:37:33Z miql joined #lisp 2014-11-09T06:39:19Z ofosos_ joined #lisp 2014-11-09T06:41:52Z ofosos quit (Ping timeout: 256 seconds) 2014-11-09T06:42:23Z miql quit (Ping timeout: 264 seconds) 2014-11-09T06:44:20Z denisrum joined #lisp 2014-11-09T06:46:59Z Nizumzen quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2014-11-09T06:47:09Z devon quit (Remote host closed the connection) 2014-11-09T06:49:19Z pjb: caps: LSE = Langage Symbolique d'Enseignement http://en.wikipedia.org/wiki/LSE_(programming_language) 2014-11-09T06:57:06Z urandom__ joined #lisp 2014-11-09T06:57:40Z wizzo joined #lisp 2014-11-09T06:58:57Z jusss` joined #lisp 2014-11-09T07:01:21Z GlassOctober joined #lisp 2014-11-09T07:01:22Z cy quit (Read error: Connection reset by peer) 2014-11-09T07:01:58Z ndrei joined #lisp 2014-11-09T07:02:29Z GlassOctober is now known as cy 2014-11-09T07:04:26Z jusss` is now known as jusss 2014-11-09T07:04:45Z miql joined #lisp 2014-11-09T07:06:32Z Ethan- joined #lisp 2014-11-09T07:06:43Z doh` quit (Ping timeout: 255 seconds) 2014-11-09T07:08:09Z mrSpec joined #lisp 2014-11-09T07:09:33Z miql quit (Ping timeout: 250 seconds) 2014-11-09T07:17:23Z yuikov quit (Remote host closed the connection) 2014-11-09T07:23:53Z gravicappa joined #lisp 2014-11-09T07:25:33Z vowyer_ joined #lisp 2014-11-09T07:29:58Z vowyer_ quit (Ping timeout: 244 seconds) 2014-11-09T07:31:56Z miql joined #lisp 2014-11-09T07:31:57Z boogie quit (Remote host closed the connection) 2014-11-09T07:32:01Z pyx joined #lisp 2014-11-09T07:32:16Z pyx quit (Client Quit) 2014-11-09T07:32:43Z ofosos joined #lisp 2014-11-09T07:33:35Z ofosos_ quit (Ping timeout: 244 seconds) 2014-11-09T07:36:51Z miql quit (Ping timeout: 250 seconds) 2014-11-09T07:38:07Z oleo__ joined #lisp 2014-11-09T07:38:23Z innertracks quit (Quit: innertracks) 2014-11-09T07:38:41Z oleo is now known as Guest59548 2014-11-09T07:39:24Z Guest59548 quit (Ping timeout: 258 seconds) 2014-11-09T07:41:05Z caps quit (Remote host closed the connection) 2014-11-09T07:42:20Z pjb quit (Ping timeout: 255 seconds) 2014-11-09T07:44:08Z chu joined #lisp 2014-11-09T07:51:00Z pjb joined #lisp 2014-11-09T07:52:08Z jumblerg joined #lisp 2014-11-09T07:54:32Z kuimacro quit (Quit: Nettalk6 - www.ntalk.de) 2014-11-09T07:58:53Z caps joined #lisp 2014-11-09T07:59:06Z miql joined #lisp 2014-11-09T08:02:51Z doh` joined #lisp 2014-11-09T08:03:43Z ofosos_ joined #lisp 2014-11-09T08:04:31Z miql quit (Ping timeout: 272 seconds) 2014-11-09T08:04:35Z ofosos quit (Ping timeout: 265 seconds) 2014-11-09T08:07:16Z doh` quit (Ping timeout: 250 seconds) 2014-11-09T08:07:35Z ale4L3 joined #lisp 2014-11-09T08:09:59Z pt1 joined #lisp 2014-11-09T08:10:11Z ofosos joined #lisp 2014-11-09T08:10:16Z theotherstupidgu quit (Ping timeout: 256 seconds) 2014-11-09T08:10:53Z drdanmaku quit (Quit: Connection closed for inactivity) 2014-11-09T08:10:58Z theotherstupidgu joined #lisp 2014-11-09T08:13:17Z ofosos_ quit (Ping timeout: 265 seconds) 2014-11-09T08:13:46Z zickzackv joined #lisp 2014-11-09T08:14:50Z beach: Xach: I interchanged :clim-clx and :mcclim in the :depends-on lists of :mcclim-truetype and :mcclim-freetype. They both build now. It is not an ideal solution, but I can't do better right now. 2014-11-09T08:15:20Z atgreen quit (Remote host closed the connection) 2014-11-09T08:16:00Z beach: I need to do some serious preventive maintenance on McCLIM. *sigh* 2014-11-09T08:17:57Z theotherstupidgu quit (Quit: leaving) 2014-11-09T08:18:06Z zickzackv quit (Ping timeout: 250 seconds) 2014-11-09T08:21:22Z zickzackv joined #lisp 2014-11-09T08:22:05Z Grue` quit (Ping timeout: 264 seconds) 2014-11-09T08:22:33Z MoALTz joined #lisp 2014-11-09T08:23:00Z Shinmera joined #lisp 2014-11-09T08:26:17Z miql joined #lisp 2014-11-09T08:26:57Z pavelpenev joined #lisp 2014-11-09T08:28:39Z vaporatorius joined #lisp 2014-11-09T08:30:33Z urandom__ quit (Quit: Konversation terminated!) 2014-11-09T08:31:45Z miql quit (Ping timeout: 272 seconds) 2014-11-09T08:32:24Z zickzackv quit (Ping timeout: 250 seconds) 2014-11-09T08:32:47Z boogie joined #lisp 2014-11-09T08:34:52Z caps quit (Remote host closed the connection) 2014-11-09T08:37:04Z bb010g quit (Quit: Connection closed for inactivity) 2014-11-09T08:38:11Z boogie quit (Ping timeout: 264 seconds) 2014-11-09T08:40:40Z mishoo joined #lisp 2014-11-09T08:43:47Z wchun quit (Ping timeout: 272 seconds) 2014-11-09T08:44:12Z caps joined #lisp 2014-11-09T08:47:00Z cy quit (Read error: Connection reset by peer) 2014-11-09T08:47:45Z caps: pjb: what argument should i provide to com.informatimago.lse:terminal-carriage-return in *slime-repl sbcl* on emacs? 2014-11-09T08:47:54Z cy joined #lisp 2014-11-09T08:48:34Z resttime quit (Quit: resttime) 2014-11-09T08:51:36Z Grue` joined #lisp 2014-11-09T08:53:27Z miql joined #lisp 2014-11-09T08:54:18Z sol___ quit (Quit: Page closed) 2014-11-09T08:57:33Z Nizumzen joined #lisp 2014-11-09T08:58:01Z miql quit (Ping timeout: 244 seconds) 2014-11-09T08:59:55Z jackdaniel quit (Quit: leaving) 2014-11-09T09:00:10Z tesuji quit (Ping timeout: 265 seconds) 2014-11-09T09:00:46Z jackdaniel joined #lisp 2014-11-09T09:01:56Z doh` joined #lisp 2014-11-09T09:07:17Z zickzackv joined #lisp 2014-11-09T09:08:15Z sol__ joined #lisp 2014-11-09T09:12:34Z Blaguvest is now known as semtex-h 2014-11-09T09:12:51Z loz joined #lisp 2014-11-09T09:13:49Z angavrilov joined #lisp 2014-11-09T09:14:18Z vowyer_ joined #lisp 2014-11-09T09:16:51Z gravicappa quit (Read error: Connection reset by peer) 2014-11-09T09:18:50Z vowyer_ quit (Ping timeout: 256 seconds) 2014-11-09T09:20:20Z Lowl3v3l joined #lisp 2014-11-09T09:20:40Z miql joined #lisp 2014-11-09T09:25:24Z miql quit (Ping timeout: 244 seconds) 2014-11-09T09:32:06Z nydel: i'm trying to kinda parse the results of (time (+ 2 2)) into values, some sexpr / list etc.. how could one do this? i see that (multiple-value-list (time (+ 2 2))) returns the eval-down of (list 4) and (multiple-value-bind (a b c d e f g) (time (+ 2 2))) evaluates down to nil. any help greatly appreciated. 2014-11-09T09:32:35Z aftershave joined #lisp 2014-11-09T09:33:27Z wooden_ quit (Ping timeout: 244 seconds) 2014-11-09T09:33:50Z boogie joined #lisp 2014-11-09T09:35:51Z nand1`` joined #lisp 2014-11-09T09:36:16Z aftershave quit (Client Quit) 2014-11-09T09:37:04Z nand1` quit (Ping timeout: 244 seconds) 2014-11-09T09:39:08Z boogie quit (Ping timeout: 250 seconds) 2014-11-09T09:40:55Z caps: time function print timing information to *trace-output*. i think you have to parse that. 2014-11-09T09:41:35Z Shinmera: !clhs time 2014-11-09T09:41:40Z Shinmera: clhs time 2014-11-09T09:41:40Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_time.htm 2014-11-09T09:41:45Z Shinmera: " The nature and format of the printed information is implementation-defined" 2014-11-09T09:42:12Z Shinmera: If you want to grab the output, dive into time With M-. and see what kind of functions the implementation uses to get the information. 2014-11-09T09:42:52Z stepnem joined #lisp 2014-11-09T09:43:37Z nydel: caps: Shinmera: thank yous! i wonder if i can format to *standard-output* or *terminal-io* for a minute 2014-11-09T09:44:06Z Shinmera: What do you want the output of time for anyway? 2014-11-09T09:44:36Z nydel: i'm trying to present a counter-argument to the claim "2 + 2 = 4" and i'm going with that the one side implies a form not evaluated down and the other implies an expressed value, with their respective calculation times underlining the difference. 2014-11-09T09:45:00Z bicyclethief quit (Remote host closed the connection) 2014-11-09T09:45:48Z Shinmera: That still doesn't explain why you need the values time outputs rather than being content with just seeing what it prints. 2014-11-09T09:46:26Z MrWoohoo joined #lisp 2014-11-09T09:46:54Z Shinmera: If you're looking to benchmark something you might want to look at trivial-benchmark. 2014-11-09T09:47:02Z nydel: (+ 2 2) and 4 will evaluate down to the same thing 2014-11-09T09:47:11Z Grue`: timing such a simple operation as 2+2 wouldn't really be accurate 2014-11-09T09:47:27Z Shinmera: Also the compiler might inline it if it's smart enough. 2014-11-09T09:47:29Z Grue`: you need to loop it many times, and even then the compiler might optimize it or something 2014-11-09T09:47:31Z nydel: Grue`: i thought of that & so i am doing it 10k times 2014-11-09T09:47:42Z nydel: Grue`: but i'm not sure how to do the same to "4" 2014-11-09T09:47:53Z miql joined #lisp 2014-11-09T09:48:37Z nydel: something like (loop for i from 0 to 999 collect [(+ 2 2)] 4) i guess 2014-11-09T09:48:42Z beach: nydel: It is very likely that the compiler applies an optimization technique known as "constant propagation" so that the + function will never be called at runtime if you give it constant arguments. 2014-11-09T09:48:52Z nydel: inside #'time of course 2014-11-09T09:49:24Z nydel: beach: i was worried about that. how similar is this to memoization? 2014-11-09T09:49:42Z beach: constant propagation is much simpler. 2014-11-09T09:50:02Z Shinmera: You can write a very simple compiler macro to do constant propagation. 2014-11-09T09:51:17Z nydel: ! does sbcl do constant propagation automatically 2014-11-09T09:51:44Z beach: Yes. 2014-11-09T09:51:54Z Shinmera: M-. on + would've told you so 2014-11-09T09:52:22Z miql quit (Ping timeout: 240 seconds) 2014-11-09T09:52:44Z nydel: blip blep blop. how do i stop it from so doing? 2014-11-09T09:53:04Z nydel: (i'm running backward exercises all over the place today!) 2014-11-09T09:53:07Z Shinmera: Writing a wrapper around + might work. 2014-11-09T09:53:27Z yuikov joined #lisp 2014-11-09T09:54:19Z nydel: what about writing my own addition function definition 2014-11-09T09:54:20Z leo2007 quit (Ping timeout: 258 seconds) 2014-11-09T09:54:21Z munksgaard joined #lisp 2014-11-09T09:54:51Z mishoo quit (Ping timeout: 244 seconds) 2014-11-09T09:54:51Z beach: What is it that you are trying to measure? 2014-11-09T09:54:56Z nydel: i kind of think it'll still optimize 2014-11-09T09:55:25Z nydel: beach: really i'm just trying to present any counter-argument to the claim "2 + 2 = 4" 2014-11-09T09:55:37Z nydel: no wrong answers, it's just an exercise. 2014-11-09T09:55:54Z beach: And how would that counter argument be phrased? 2014-11-09T09:56:01Z yuikov_ joined #lisp 2014-11-09T09:56:07Z mishoo joined #lisp 2014-11-09T09:56:14Z jusss quit (Ping timeout: 256 seconds) 2014-11-09T09:56:45Z nydel: i was thinking the results of timing both (+ 2 2) and 4 in a few languages 2014-11-09T09:57:05Z nydel: but i'd rather you told me how that counter argument might be formed. anything you might think of. 2014-11-09T09:57:09Z beach: How is that a counter argument to 2 + 2 = 4? 2014-11-09T09:57:30Z pppp2 joined #lisp 2014-11-09T09:57:48Z nydel: the idea of the exercise is that "2 + 2 = 4" is true. so the counter-arguments assume an arena of moral & scientific / mathematic relativism. 2014-11-09T09:58:01Z nydel: any counter will be false but some more interesting than others 2014-11-09T09:58:20Z Shinmera: I think what he's trying to say is that "2+2" isn't the same as it involves computation. 2014-11-09T09:58:31Z beach: And the one you are trying to obtain is something like "They don't take the same time to compute"? 2014-11-09T09:58:39Z nydel: Shinmera: that's my first (and i suspect lame) attempt 2014-11-09T09:58:46Z yuikov quit (Ping timeout: 244 seconds) 2014-11-09T09:58:49Z yuikov_ quit (Remote host closed the connection) 2014-11-09T09:58:49Z nydel: but there must be a billion ways to argue against the claim 2014-11-09T09:59:04Z nydel: beach: yes, right. weak isn't it? 2014-11-09T09:59:10Z nydel: anyone have something better? 2014-11-09T09:59:25Z yuikov joined #lisp 2014-11-09T09:59:50Z beach: That's good enough. But any good compiler will optimize away the addition, so you might have to resort to assembler. 2014-11-09T09:59:50Z yuikov quit (Read error: Connection reset by peer) 2014-11-09T10:00:37Z francogrex joined #lisp 2014-11-09T10:01:08Z nydel: it's actually had different time results in one go in 12 languages & 19 interpreters so far 2014-11-09T10:01:23Z nydel: but i feel there's something way cooler to use to argue aginst 2 + 2 = 4 2014-11-09T10:01:38Z beach: That only proves that those languages don't have a "good compiler". 2014-11-09T10:01:46Z Shinmera: You might have better chances at a compiler that isn't as good as SBCL http://shinmera.tymoon.eu/public/screenshot-2014.11.09-11:01:36.png 2014-11-09T10:01:47Z leo2007 joined #lisp 2014-11-09T10:01:52Z mishoo quit (Ping timeout: 244 seconds) 2014-11-09T10:02:38Z nydel: beach, Shinmera, time (+ 2 2) and 4 separately in your SBCL's & tell me the times aren't different, could you? 2014-11-09T10:03:02Z nydel: my primary computer isn't at peak shape so i believe it if that's the problem - is why i ask 2014-11-09T10:03:05Z beach: nydel: The accuracy of TIME is not good enough for that anyway. 2014-11-09T10:03:35Z nydel: too minute? 2014-11-09T10:04:07Z beach: nydel: Furthermore, you are timing the evaluation of the form, which might include compiling it. All that stuff will make the time for the addition insignificant. 2014-11-09T10:05:41Z nydel: beach: thaaaaaat made sense. plus i should be timing (+ 4) not 4. 2014-11-09T10:05:53Z defaultxr quit (Quit: gnight) 2014-11-09T10:06:16Z nydel: wait why does (+ 2 2) take twice as long as (+ 4) ? [and (+ 4 0)] 2014-11-09T10:06:26Z beach: nydel: My SBCL reports 1 or 2 μs, which is probably more than 1000 times slower than the addition takes. 2014-11-09T10:06:49Z beach: Because it takes longer to compile? 2014-11-09T10:07:00Z drewc quit (Ping timeout: 256 seconds) 2014-11-09T10:07:37Z nydel: but i'm running them parallel and 10k times each 2014-11-09T10:08:00Z beach: And how are you doing that? 2014-11-09T10:08:18Z beach: (loop repeat 10000 do (+ 2 2))? 2014-11-09T10:08:47Z beach: If so, there is another optimization that will remove any computation without side effects in a context where the value is not needed. 2014-11-09T10:08:47Z nydel: close. recursive function calls in bordeaux threads 2014-11-09T10:08:47Z ndrei quit (Ping timeout: 264 seconds) 2014-11-09T10:09:30Z alpha-: *cough* overhead *cough* 2014-11-09T10:09:31Z beach: Recursive function calls? Then you will measure the time for recursive function calls and not for additions. 2014-11-09T10:09:42Z Shinmera: This seems like an exercise in futility to me. 2014-11-09T10:09:50Z beach: nydel: There is no way you can win here. 2014-11-09T10:10:04Z yuikov joined #lisp 2014-11-09T10:10:05Z nydel: Shinmera is right & beach i accept that 2014-11-09T10:10:18Z nydel: i've enough on this particular "counter-argument" 2014-11-09T10:10:29Z nydel: if anyone can think of another i'd love to hear it. 2014-11-09T10:11:03Z Shinmera: You can define an algebra where 2+2 isn't the same as 4. *shrug* 2014-11-09T10:11:21Z nydel: no *shrug*ing, this is good 2014-11-09T10:11:32Z beach: I would start by phrasing the problem differently. When most people see 2 + 2 and 4, they think of the standard mathematical interpretation of it, in which case they are the same. 2014-11-09T10:11:54Z nydel: base 3 would make for 4 to not exist, for example. 2014-11-09T10:12:11Z nydel: what else might they see, beach? 2014-11-09T10:12:55Z LoicLisp joined #lisp 2014-11-09T10:13:19Z beach: I think Shinmera has the key. You will have to use a non-standard interpretation of one or more of the symbols `2', `+', `=', and `4'. 2014-11-09T10:13:20Z pt1 quit (Remote host closed the connection) 2014-11-09T10:13:57Z mtakkman quit (Remote host closed the connection) 2014-11-09T10:14:06Z beach: Like in digital logic, + is used for OR, so 10 + 10 = 10 2014-11-09T10:14:46Z beach: Or rather 1 + 1 = 1, because it is usually limited to a single operand. 2014-11-09T10:15:03Z miql joined #lisp 2014-11-09T10:15:07Z nydel: clap f'kin clap beach 2014-11-09T10:15:09Z ndrei joined #lisp 2014-11-09T10:15:14Z nydel: that is by far the best answer i've heard so far 2014-11-09T10:16:43Z Shinmera: You could also just remap the numbers so that 4 is something else. 2014-11-09T10:17:47Z oleo__ quit (Quit: Verlassend) 2014-11-09T10:17:54Z nydel: Shinmera: this doesn't necessarily have to be attacked in terms of computer science or pure maths even 2014-11-09T10:18:15Z nydel: but that give me an idea, i mean, i could say that 2 + 2 is equal to twotwo, and 4 is equal to four. 2014-11-09T10:18:26Z nydel: (i need 20 of these) 2014-11-09T10:18:53Z Nizumzen quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2014-11-09T10:19:06Z agumonkey joined #lisp 2014-11-09T10:19:46Z miql quit (Ping timeout: 255 seconds) 2014-11-09T10:19:49Z agumonkey quit (Client Quit) 2014-11-09T10:20:20Z agumonkey joined #lisp 2014-11-09T10:24:41Z kcj quit (Quit: kcj) 2014-11-09T10:24:43Z caps quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-09T10:25:50Z yuikov quit (Remote host closed the connection) 2014-11-09T10:27:06Z denisrum quit (Ping timeout: 265 seconds) 2014-11-09T10:27:34Z yuikov joined #lisp 2014-11-09T10:32:07Z yuikov quit (Remote host closed the connection) 2014-11-09T10:32:18Z hiroakip joined #lisp 2014-11-09T10:32:24Z yuikov joined #lisp 2014-11-09T10:33:57Z yuikov quit (Remote host closed the connection) 2014-11-09T10:34:43Z oleo joined #lisp 2014-11-09T10:35:03Z boogie joined #lisp 2014-11-09T10:37:17Z agumonkey quit (Quit: ZNC - http://znc.in) 2014-11-09T10:38:01Z agumonkey joined #lisp 2014-11-09T10:38:30Z drewc joined #lisp 2014-11-09T10:38:36Z nand1``` joined #lisp 2014-11-09T10:40:02Z nand1`` quit (Read error: Connection reset by peer) 2014-11-09T10:40:05Z boogie quit (Ping timeout: 264 seconds) 2014-11-09T10:41:42Z agumonkey quit (Client Quit) 2014-11-09T10:42:12Z agumonkey joined #lisp 2014-11-09T10:42:15Z miql joined #lisp 2014-11-09T10:43:16Z doh` quit (Remote host closed the connection) 2014-11-09T10:44:03Z robot-beethoven quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-09T10:47:05Z miql quit (Ping timeout: 250 seconds) 2014-11-09T10:47:31Z yuikov joined #lisp 2014-11-09T10:48:39Z chu quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-09T10:57:09Z paule32 joined #lisp 2014-11-09T11:00:13Z ofosos_ joined #lisp 2014-11-09T11:02:23Z ofosos quit (Ping timeout: 265 seconds) 2014-11-09T11:06:53Z ale4L3 quit (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org) 2014-11-09T11:09:24Z miql joined #lisp 2014-11-09T11:09:56Z k-stz joined #lisp 2014-11-09T11:09:56Z Karl_Dscc joined #lisp 2014-11-09T11:14:11Z miql quit (Ping timeout: 264 seconds) 2014-11-09T11:15:13Z caps joined #lisp 2014-11-09T11:16:25Z francogrex quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2014-11-09T11:20:12Z Indecipherable joined #lisp 2014-11-09T11:20:15Z jumblerg quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2014-11-09T11:23:10Z caps: how do i use com.informatimago.lse to move the print cursor to the beginning? 2014-11-09T11:23:13Z theos quit (Disconnected by services) 2014-11-09T11:23:45Z theos joined #lisp 2014-11-09T11:24:03Z madmalik joined #lisp 2014-11-09T11:25:26Z caps: can anyone show an example? 2014-11-09T11:29:19Z shifty` joined #lisp 2014-11-09T11:32:40Z zickzackv quit (Ping timeout: 250 seconds) 2014-11-09T11:34:21Z zickzackv joined #lisp 2014-11-09T11:34:46Z hiroakip quit (Ping timeout: 265 seconds) 2014-11-09T11:35:42Z boogie joined #lisp 2014-11-09T11:36:25Z ndrei quit (Ping timeout: 244 seconds) 2014-11-09T11:36:36Z miql joined #lisp 2014-11-09T11:38:08Z mathrick quit (Ping timeout: 255 seconds) 2014-11-09T11:38:30Z yuikov quit (Remote host closed the connection) 2014-11-09T11:39:02Z yuikov joined #lisp 2014-11-09T11:40:11Z mtakkman joined #lisp 2014-11-09T11:40:39Z boogie quit (Ping timeout: 245 seconds) 2014-11-09T11:41:16Z miql quit (Ping timeout: 250 seconds) 2014-11-09T11:46:31Z yuikov quit (Remote host closed the connection) 2014-11-09T11:47:04Z teiresias quit (Ping timeout: 255 seconds) 2014-11-09T11:48:07Z teiresias joined #lisp 2014-11-09T11:53:50Z hiroakip joined #lisp 2014-11-09T11:54:09Z mathrick joined #lisp 2014-11-09T11:54:24Z Beetny quit (Ping timeout: 245 seconds) 2014-11-09T12:03:47Z miql joined #lisp 2014-11-09T12:03:50Z nerock joined #lisp 2014-11-09T12:04:21Z nerock: hi, can someone help me with a sort of silly question with scheme, im stuck 2014-11-09T12:05:50Z oleo: shoot 2014-11-09T12:07:07Z nerock: (define (revhalf L) (if(evenList1 L)(removelastHalf (Length L) (reverse1 L) )) 2014-11-09T12:07:32Z nerock: when i call (revhalf '(1 2 3 4 5 6)) 2014-11-09T12:07:42Z nerock: it give me (revhalf '(1 2 3 4 5 6)) 2014-11-09T12:08:00Z nerock: (1 2 3 4 5 6) 2014-11-09T12:08:25Z miql quit (Ping timeout: 240 seconds) 2014-11-09T12:08:50Z nerock: sorry i mean when i call (revhalf '(1 2 3 4 5 6)) it gives me 2014-11-09T12:08:53Z oleo: what are you trying to achieve ? 2014-11-09T12:09:01Z nerock: (6 5 4 3 2 1) 2014-11-09T12:09:06Z oleo: and why don't you ask in #scheme ? 2014-11-09T12:09:27Z oleo: ya it gives you the last thing in your define 2014-11-09T12:10:46Z oleo: you don't touch parameters given.... 2014-11-09T12:11:01Z oleo: L is something you operate on, altering it is dangerous.... 2014-11-09T12:11:26Z oleo: use another variable inside your define and touch that one.... 2014-11-09T12:12:03Z nerock: basically all i want is to take a list and reverse it first then remove the last half 2014-11-09T12:13:23Z oleo: the remove gives you a temporary you didn't store anywhere.... 2014-11-09T12:13:48Z oleo: see it ? 2014-11-09T12:14:01Z Grue`: isn't it the same as removing the first half and reversing the rest? 2014-11-09T12:14:42Z Grue`: in fact just (reverse (butlast list (/ (length list) 2))) 2014-11-09T12:15:05Z Grue`: wait, not butlast 2014-11-09T12:15:20Z Grue`: nthcdr 2014-11-09T12:15:40Z corni joined #lisp 2014-11-09T12:15:55Z MouldyOldBones quit (Ping timeout: 250 seconds) 2014-11-09T12:16:22Z killmaster quit (Ping timeout: 240 seconds) 2014-11-09T12:16:46Z nerock: im not allowed to use nthcdr :/ 2014-11-09T12:17:30Z Grue`: well idk if it even exists in scheme, but it's just cdr applied n times 2014-11-09T12:17:39Z Grue`: can't be too hard to implement 2014-11-09T12:17:57Z fumpful joined #lisp 2014-11-09T12:18:43Z moriarty joined #lisp 2014-11-09T12:18:49Z moriarty left #lisp 2014-11-09T12:19:05Z killmaster joined #lisp 2014-11-09T12:22:30Z fumpful left #lisp 2014-11-09T12:24:02Z nerock quit (Quit: irc2go) 2014-11-09T12:25:44Z nand1```` joined #lisp 2014-11-09T12:26:54Z nand1``` quit (Ping timeout: 245 seconds) 2014-11-09T12:28:00Z vowyer_ joined #lisp 2014-11-09T12:30:59Z miql joined #lisp 2014-11-09T12:32:27Z MouldyOldBones joined #lisp 2014-11-09T12:35:30Z miql quit (Ping timeout: 250 seconds) 2014-11-09T12:36:31Z boogie joined #lisp 2014-11-09T12:37:23Z yeticry quit (Ping timeout: 240 seconds) 2014-11-09T12:38:32Z turwar quit (Ping timeout: 250 seconds) 2014-11-09T12:38:32Z caps quit (Remote host closed the connection) 2014-11-09T12:39:24Z zickzackv quit (Ping timeout: 250 seconds) 2014-11-09T12:39:45Z yeticry joined #lisp 2014-11-09T12:40:24Z BitPuffin joined #lisp 2014-11-09T12:41:34Z boogie quit (Ping timeout: 250 seconds) 2014-11-09T12:42:34Z Hache_ joined #lisp 2014-11-09T12:44:47Z jusss joined #lisp 2014-11-09T12:47:09Z ndrei joined #lisp 2014-11-09T12:52:29Z tesuji joined #lisp 2014-11-09T12:52:33Z arenz joined #lisp 2014-11-09T12:58:10Z miql joined #lisp 2014-11-09T12:59:47Z arenz quit (Ping timeout: 264 seconds) 2014-11-09T13:00:37Z nand1```` quit (Read error: Connection reset by peer) 2014-11-09T13:02:43Z miql quit (Ping timeout: 250 seconds) 2014-11-09T13:07:11Z zickzackv joined #lisp 2014-11-09T13:08:53Z mathrick quit (Ping timeout: 240 seconds) 2014-11-09T13:10:05Z H4ns: (defun nthcdr (n list) 2014-11-09T13:10:10Z H4ns: oehm 2014-11-09T13:11:13Z H4ns: (defun nthcdr* (n list) (if (zerop n) list (nthcdr (1- n) (cdr list)))) 2014-11-09T13:11:28Z zickzackv quit (Ping timeout: 250 seconds) 2014-11-09T13:11:29Z madmalik quit (Ping timeout: 244 seconds) 2014-11-09T13:14:04Z madmalik joined #lisp 2014-11-09T13:18:05Z ggole: (nthcdr -1 nil) 2014-11-09T13:23:10Z Xach: beach: http://report.quicklisp.org/mcclim/2014-11-09/failtail.txt has the latest failure log 2014-11-09T13:23:19Z resttime joined #lisp 2014-11-09T13:23:30Z jusss` joined #lisp 2014-11-09T13:23:32Z mathrick joined #lisp 2014-11-09T13:24:19Z stassats joined #lisp 2014-11-09T13:24:49Z puchacz joined #lisp 2014-11-09T13:24:59Z pnpuff joined #lisp 2014-11-09T13:25:09Z puchacz: hi, has anybody built a whiltelist html sanitiser atop of (cxml-dom:make-dom-builder) please? 2014-11-09T13:25:20Z miql joined #lisp 2014-11-09T13:25:23Z jusss quit (Ping timeout: 240 seconds) 2014-11-09T13:25:37Z stassats: i did, not with a dom builder 2014-11-09T13:25:55Z puchacz: stassats, does it choke on html5? 2014-11-09T13:26:01Z stassats: haven't tried 2014-11-09T13:26:07Z zygentoma joined #lisp 2014-11-09T13:26:12Z puchacz: which parser are you using? 2014-11-09T13:26:15Z ehu joined #lisp 2014-11-09T13:26:25Z stassats: closure-html 2014-11-09T13:26:43Z puchacz: is it open source / can I see it pls? 2014-11-09T13:26:55Z stassats: it's not / i don't know 2014-11-09T13:27:10Z puchacz: ok, don't worry then :-) 2014-11-09T13:27:46Z stassats: basically i defined methods for hax:start-element and hax:end-element and conditionally called call-next-method 2014-11-09T13:28:30Z puchacz: do you copy text content of forbidden tags when you remove them? 2014-11-09T13:28:44Z puchacz: does not make sense for say