2016-07-30T00:02:40Z oleo_ joined #lisp 2016-07-30T00:05:55Z grimsley quit (Quit: Leaving) 2016-07-30T00:05:56Z oleo quit (Ping timeout: 244 seconds) 2016-07-30T00:08:50Z burtons joined #lisp 2016-07-30T00:11:00Z wildlander quit (Quit: Saliendo) 2016-07-30T00:16:18Z DGASAU quit (Read error: Connection reset by peer) 2016-07-30T00:17:18Z DGASAU joined #lisp 2016-07-30T00:19:23Z burtons quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-07-30T00:20:48Z sevenless quit (Quit: Lost terminal) 2016-07-30T00:21:07Z dainis quit (Ping timeout: 252 seconds) 2016-07-30T00:22:34Z atheris joined #lisp 2016-07-30T00:23:35Z dainis joined #lisp 2016-07-30T00:24:33Z cromachina joined #lisp 2016-07-30T00:24:45Z deank quit (Quit: quit) 2016-07-30T00:32:55Z wildlander joined #lisp 2016-07-30T00:38:18Z pillton: Horay, my first use of cltl2:enclose. 2016-07-30T00:42:03Z pillton: Why is an error signalled if you use a symbol-macrolet for a name which is also a global variable? 2016-07-30T00:43:05Z deank joined #lisp 2016-07-30T00:43:39Z Bike: you mean a constant? 2016-07-30T00:44:00Z pillton: Or a global dynamic variable. 2016-07-30T00:44:34Z Bike: oh, how about that. 2016-07-30T00:44:48Z pillton: It is in the spec too. 2016-07-30T00:45:00Z pillton: "If an attempt is made to bind a symbol that is defined as a global variable, an error of type program-error is signaled." 2016-07-30T00:45:21Z Bike: weird. 2016-07-30T00:45:49Z ekinmur joined #lisp 2016-07-30T00:45:54Z ekinmur quit (Client Quit) 2016-07-30T00:46:09Z pillton: I came across it trying to implement the equivalent of macrolet for my namespace. 2016-07-30T00:46:16Z pillton: Which is also the reason I needed enclose. 2016-07-30T00:48:01Z EDT is now known as |EDT| 2016-07-30T00:48:51Z |EDT| is now known as [EDT] 2016-07-30T00:48:58Z [EDT] is now known as EDT 2016-07-30T00:52:29Z ekinmur joined #lisp 2016-07-30T01:01:02Z ekinmur quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-07-30T01:06:32Z DougNYC quit 2016-07-30T01:09:19Z didi joined #lisp 2016-07-30T01:10:55Z didi: With SBCL, can I set --dynamic-space-size inside a shebang lisp script? 2016-07-30T01:11:22Z Bike: put it in the shebang line, maybe 2016-07-30T01:12:19Z dainis quit (Ping timeout: 260 seconds) 2016-07-30T01:13:35Z didi: Bike: It enters the REPL instead of running the script. 2016-07-30T01:16:47Z axion: You could use roswell with and just use 'exec ros dynamic-space-size=xxx ...' as the docs specify 2016-07-30T01:17:02Z Bike: i was going to say throw in a --script, but computers suck http://stackoverflow.com/questions/4303128/how-to-use-multiple-arguments-with-a-shebang-i-e 2016-07-30T01:17:29Z didi: axion: What is roswell? 2016-07-30T01:17:40Z didi: Bike: Oh well. 2016-07-30T01:18:00Z yrk quit (Read error: Connection reset by peer) 2016-07-30T01:18:23Z axion: https://gist.github.com/fukamachi/94f067a22776bede563c 2016-07-30T01:19:27Z didi: axion: I will take a look at it. Thank you. 2016-07-30T01:19:30Z axion: So the script starts out as interpreted by whatever `sh' is linked to, usually bash, and then starts `ros' 2016-07-30T01:19:40Z axion: and ros dynamic-space-size=x will change what you need 2016-07-30T01:21:20Z karswell quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2016-07-30T01:36:10Z wildlander quit (Quit: Saliendo) 2016-07-30T01:47:40Z shikhin is now known as sortiecat 2016-07-30T01:47:45Z sortiecat is now known as shikhin 2016-07-30T01:51:15Z Sucks joined #lisp 2016-07-30T01:55:39Z Blukunfando joined #lisp 2016-07-30T02:05:03Z yappy quit (Remote host closed the connection) 2016-07-30T02:05:37Z DGASAU quit (Ping timeout: 260 seconds) 2016-07-30T02:10:56Z DGASAU joined #lisp 2016-07-30T02:19:56Z EDT quit (Changing host) 2016-07-30T02:19:56Z EDT joined #lisp 2016-07-30T02:22:27Z karswell joined #lisp 2016-07-30T02:22:37Z unrahul quit (Quit: Connection closed for inactivity) 2016-07-30T02:26:33Z _sjs joined #lisp 2016-07-30T02:39:59Z DGASAU quit (Read error: Connection reset by peer) 2016-07-30T02:40:21Z DGASAU joined #lisp 2016-07-30T02:52:34Z gilez joined #lisp 2016-07-30T02:55:46Z Sucks quit (Quit: Leaving) 2016-07-30T02:58:20Z Karl_Dscc joined #lisp 2016-07-30T03:06:50Z sondr3_ joined #lisp 2016-07-30T03:08:20Z sondr3 quit (Ping timeout: 244 seconds) 2016-07-30T03:09:17Z pierpa quit (Ping timeout: 258 seconds) 2016-07-30T03:13:04Z quasus quit (Ping timeout: 260 seconds) 2016-07-30T03:19:08Z mastokley quit (Ping timeout: 250 seconds) 2016-07-30T03:20:46Z harish_ joined #lisp 2016-07-30T03:23:26Z nzambe quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2016-07-30T03:24:39Z nzambe joined #lisp 2016-07-30T03:26:57Z gilez quit (Ping timeout: 276 seconds) 2016-07-30T03:28:34Z asc232 joined #lisp 2016-07-30T03:29:24Z Karl_Dscc quit (Remote host closed the connection) 2016-07-30T03:35:16Z DGASAU quit (Ping timeout: 264 seconds) 2016-07-30T03:36:33Z adolf_stalin joined #lisp 2016-07-30T03:37:28Z DeadTrickster_ quit (Ping timeout: 252 seconds) 2016-07-30T03:40:25Z arescorpio joined #lisp 2016-07-30T03:40:25Z DGASAU joined #lisp 2016-07-30T03:42:02Z didi quit (Quit: you can't /fire me, I /quit) 2016-07-30T03:45:09Z DGASAU quit (Ping timeout: 260 seconds) 2016-07-30T03:47:26Z arescorpio quit (Ping timeout: 244 seconds) 2016-07-30T03:47:46Z mastokley joined #lisp 2016-07-30T03:50:59Z Josh2 quit (Remote host closed the connection) 2016-07-30T03:56:07Z jsmith_ joined #lisp 2016-07-30T03:58:43Z axion: What does the @1= part mean here? http://paste.lisp.org/display/321656 2016-07-30T04:00:59Z jsmith_ quit (Ping timeout: 258 seconds) 2016-07-30T04:01:52Z adolf_stalin quit (Remote host closed the connection) 2016-07-30T04:02:48Z gema` quit (Quit: bye) 2016-07-30T04:07:49Z jsmith_ joined #lisp 2016-07-30T04:08:04Z cromachina: im not sure myself, but it looks strikingly like a reference tag 2016-07-30T04:12:28Z jsmith_ quit (Ping timeout: 265 seconds) 2016-07-30T04:16:11Z yeticry quit (Remote host closed the connection) 2016-07-30T04:16:35Z yeticry joined #lisp 2016-07-30T04:25:32Z adolf_stalin joined #lisp 2016-07-30T04:32:06Z DGASAU joined #lisp 2016-07-30T04:32:24Z vlatkoB joined #lisp 2016-07-30T04:40:19Z adolf_stalin quit (Remote host closed the connection) 2016-07-30T04:41:40Z Sucks joined #lisp 2016-07-30T04:42:14Z beach joined #lisp 2016-07-30T04:42:21Z beach: Good morning everyone! 2016-07-30T04:42:37Z axion: Hi, beach. 2016-07-30T04:44:04Z DGASAU quit (Ping timeout: 260 seconds) 2016-07-30T04:44:31Z DGASAU joined #lisp 2016-07-30T04:52:03Z SamSkulls joined #lisp 2016-07-30T04:53:20Z grouzen joined #lisp 2016-07-30T04:57:25Z dainis joined #lisp 2016-07-30T04:59:24Z mastokley quit (Ping timeout: 244 seconds) 2016-07-30T05:04:46Z cibs quit (Ping timeout: 240 seconds) 2016-07-30T05:05:18Z jsmith_ joined #lisp 2016-07-30T05:06:48Z cibs joined #lisp 2016-07-30T05:09:27Z MrWoohoo joined #lisp 2016-07-30T05:11:38Z Sucks quit (Quit: Leaving) 2016-07-30T05:13:21Z gingerale joined #lisp 2016-07-30T05:19:37Z deank quit (Remote host closed the connection) 2016-07-30T05:20:40Z unbalancedparen quit (Quit: WeeChat 1.5) 2016-07-30T05:22:09Z gravicappa joined #lisp 2016-07-30T05:22:38Z _sjs quit (Ping timeout: 258 seconds) 2016-07-30T05:34:14Z sondr3_ quit (Ping timeout: 250 seconds) 2016-07-30T05:35:28Z mr_yogurt: If I want to make executables that aren't 50 megabytes for "hello, world", what should I be using? 2016-07-30T05:35:59Z H4ns: mr_yogurt: c 2016-07-30T05:40:59Z narendraj9 joined #lisp 2016-07-30T05:41:37Z narendraj9 quit (Remote host closed the connection) 2016-07-30T05:42:28Z narendraj9 joined #lisp 2016-07-30T05:42:31Z jleija quit (Quit: leaving) 2016-07-30T05:45:28Z beach: I don't particularly care about small executables, nor about executables at all, but given the frequency of this complaint, I wonder why no implementation is delivered as a shared object file. Is it hard to do? 2016-07-30T05:45:29Z araujo_ joined #lisp 2016-07-30T05:45:58Z H4ns: it is uninteresting work. allegro cl can be used as a library. 2016-07-30T05:46:46Z H4ns: also, lisp likes to use the whole process including all memory management and signals, so it is not particularly easy to cohabit with anything else. 2016-07-30T05:47:24Z beach: That seems like an issue that is orthogonal to shipping it as a .so, though. No? 2016-07-30T05:47:49Z araujo quit (Ping timeout: 244 seconds) 2016-07-30T05:47:59Z H4ns: yes and no. if it'd be easy to cohabit a lisp, the work would not be as uninteresting to make it into an so because the result would be more useful. 2016-07-30T05:49:22Z beach: I guess I don't know what you mean by "to cohabit a lisp". 2016-07-30T05:50:25Z H4ns: a lisp as an .so would be cool if one could just use it as a library from a main program written in another language. but given that the typical lisp needs a lot of control over the process, that is not really possible. 2016-07-30T05:51:04Z H4ns: mr_yogurt: if you're really into getting a small executable, look at ecl 2016-07-30T05:51:10Z beach: Oh, I see. Well that's what I meant by orthogonal. Just shipping the Common Lisp system as a .so would solve the problem of size of executables. 2016-07-30T05:51:17Z imposter joined #lisp 2016-07-30T05:51:25Z fiddlerwoaroof: Couldn't the lisp provide replacements for things like malloc that would allow C programs to get unmanaged memory? 2016-07-30T05:51:41Z fiddlerwoaroof: Anyways, this is above my paygrade :) 2016-07-30T05:51:47Z H4ns: beach: yes - but it would still uninteresting work to make this happen, and that is how the two things are connected :) 2016-07-30T05:52:00Z beach: H4ns: Got it! :) 2016-07-30T05:52:34Z mr_yogurt: H4ns: thanks. I've heard about ecl but I wasn't sure if it was the recommended one or if there was something better. 2016-07-30T05:52:34Z H4ns: the "executable size" complaint is in the same ballpark as "too many parens", anyway 2016-07-30T05:52:43Z axion: mr_yogurt: also, implementations such as sbcl have an option to compress images 2016-07-30T05:52:55Z axion: iirc sbcl uses zlib (off by default) 2016-07-30T05:52:56Z H4ns: mr_yogurt: sbcl and ccl are better common lisp implementations. 2016-07-30T05:53:06Z H4ns: axion: that gets you from 50 to maybe 30 mb 2016-07-30T05:53:24Z mr_yogurt: H4ns: what do you mean by "better"? 2016-07-30T05:53:26Z fiddlerwoaroof: I have a fairly comple program that's only 21mb 2016-07-30T05:53:31Z axion: H4ns: I recently distributed one that was 17M 2016-07-30T05:53:41Z fiddlerwoaroof: compressed with --compress 8 2016-07-30T05:53:43Z H4ns: mr_yogurt: more complete, faster, better interactive development experience etc. 2016-07-30T05:53:46Z H4ns: axion: WOW 2016-07-30T05:54:21Z H4ns: we're talking about "hello world", don't forget that. you're not going to impress anyone with 17MB if they're looking for 2K 2016-07-30T05:55:01Z mr_yogurt: H4ns: is there anything wrong with developing with sbcl and delivering with ecl? 2016-07-30T05:55:09Z fiddlerwoaroof: I wonder how the image size grows, does it remain level for a while and then increase? 2016-07-30T05:55:17Z H4ns: mr_yogurt: there is nothing wrong with it, no. 2016-07-30T05:56:09Z H4ns: fiddlerwoaroof: the runtime's size is basically constant, so expect your images to grow slowly, depending on how much code you write and how much data you include in your image. 2016-07-30T05:57:26Z deank joined #lisp 2016-07-30T05:58:33Z shka_ joined #lisp 2016-07-30T06:00:20Z jsmith_ quit (Remote host closed the connection) 2016-07-30T06:00:58Z jsmith_ joined #lisp 2016-07-30T06:01:34Z atheris quit (Ping timeout: 252 seconds) 2016-07-30T06:05:03Z jsmith_ quit (Ping timeout: 240 seconds) 2016-07-30T06:09:16Z beach: Why is it that ECL has smaller executables? Is it just that the system has fewer features than (say) SBCL? 2016-07-30T06:12:13Z H4ns: it can compile .lisp to c and then use the system linker, i.e. its library has c entry points iiuc. 2016-07-30T06:13:01Z beach: I guess I can ask jackdaniel for details. 2016-07-30T06:13:12Z H4ns: he if anyone should know. 2016-07-30T06:13:19Z beach: Yeah. 2016-07-30T06:15:36Z kobain quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-07-30T06:16:30Z lucas_ai joined #lisp 2016-07-30T06:17:15Z dainis quit (Ping timeout: 276 seconds) 2016-07-30T06:20:51Z lucas_ai quit (Remote host closed the connection) 2016-07-30T06:31:12Z tmtwd quit (Ping timeout: 240 seconds) 2016-07-30T06:32:28Z asc232 quit (Quit: Saliendo) 2016-07-30T06:32:38Z lucas_ai joined #lisp 2016-07-30T06:34:18Z stepnem joined #lisp 2016-07-30T06:34:59Z beach: From looking at the web, I understand that the price of a 1TB internal disk is about 100 USD. That would make the cost per megabyte around 0.0001 USD. For a 50MB executable, that comes to 0.005 USD. And 20000 of them will fit on the disk. 2016-07-30T06:38:34Z beach: RAM is a bit more expensive. It looks like around 100 USD for 16GB. So that comes to 0.3 USD for 50MB, right? 2016-07-30T06:42:13Z beach: Here is an interesting calculation to be made: Given the total number of copies of Common Lisp executables the world thinks it needs, how much time would it be worth spending to get the size of a Common Lisp executable down to something close to 0? 2016-07-30T06:44:21Z ggole joined #lisp 2016-07-30T06:44:26Z joga: perhaps it's not that relevant how much it would cost to store 2016-07-30T06:44:52Z joga: but you can't make a 64KB intro with it :p 2016-07-30T06:45:00Z joga: *kB 2016-07-30T06:45:24Z mr_yogurt: i'm having trouble compiling to an executeable with ecl. documentation seems to be saying (compile-file "myfile.lisp" :system-p t) should get me an object file, but it's just giving me a .fasc like (compile-file "myfile.lisp") does. 2016-07-30T06:45:30Z beach: Sure. What really counts here is the psychological effect. But I don't know how to evaluate that. 2016-07-30T06:56:17Z barbone quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-07-30T06:57:39Z beach: mr_yogurt: So what is YOUR reason for not wanting a 50MB executable? 2016-07-30T06:58:59Z mr_yogurt: tbh no good reason. it just feels wrong to me that printing "hello, world" takes 50mb. 2016-07-30T06:59:18Z beach: But do you typically deliver such simple applications? 2016-07-30T07:00:48Z mr_yogurt: ...i've yet to actually deliver any useful applications. :( 2016-07-30T07:01:49Z mr_yogurt: just a handful of small projects for personal use 2016-07-30T07:02:07Z yeticry quit (Read error: Connection reset by peer) 2016-07-30T07:05:09Z tmtwd joined #lisp 2016-07-30T07:05:45Z lucas_ai quit (Quit: Leaving) 2016-07-30T07:08:11Z yeticry joined #lisp 2016-07-30T07:12:56Z latemus joined #lisp 2016-07-30T07:18:20Z mr_yogurt quit (Ping timeout: 250 seconds) 2016-07-30T07:18:29Z zeissoctopus joined #lisp 2016-07-30T07:19:36Z Petit_Dejeuner quit (Ping timeout: 258 seconds) 2016-07-30T07:22:34Z mishoo joined #lisp 2016-07-30T07:29:44Z przl quit (Remote host closed the connection) 2016-07-30T07:29:53Z _sjs joined #lisp 2016-07-30T07:31:49Z sondr3 joined #lisp 2016-07-30T07:32:47Z Bike quit (Quit: leaving) 2016-07-30T07:33:28Z angavrilov joined #lisp 2016-07-30T07:34:15Z _sjs quit (Ping timeout: 244 seconds) 2016-07-30T07:36:25Z sondr3 quit (Ping timeout: 258 seconds) 2016-07-30T07:38:34Z xantoz quit (Read error: Connection reset by peer) 2016-07-30T07:40:06Z harish_ quit (Ping timeout: 244 seconds) 2016-07-30T07:41:24Z fluter quit (Ping timeout: 260 seconds) 2016-07-30T07:47:05Z smokeink joined #lisp 2016-07-30T07:54:39Z fluter joined #lisp 2016-07-30T08:15:33Z tmtwd quit (Ping timeout: 276 seconds) 2016-07-30T08:16:59Z fluter quit (Ping timeout: 260 seconds) 2016-07-30T08:21:18Z fluter joined #lisp 2016-07-30T08:28:35Z attila_lendvai joined #lisp 2016-07-30T08:29:18Z barbone joined #lisp 2016-07-30T08:30:08Z cromachina quit (Ping timeout: 258 seconds) 2016-07-30T08:32:45Z cromachina joined #lisp 2016-07-30T08:34:24Z deank quit 2016-07-30T08:35:11Z eivarv joined #lisp 2016-07-30T08:36:27Z EvW joined #lisp 2016-07-30T08:37:57Z imposter quit (Ping timeout: 244 seconds) 2016-07-30T08:43:30Z Blukunfando quit (Ping timeout: 276 seconds) 2016-07-30T08:47:26Z m00natic joined #lisp 2016-07-30T08:47:27Z ASau joined #lisp 2016-07-30T08:52:48Z defaultxr quit (Ping timeout: 250 seconds) 2016-07-30T08:57:01Z edgar-rft quit (Quit: edgar-rft) 2016-07-30T08:59:29Z Davidbrcz joined #lisp 2016-07-30T09:17:05Z varjag joined #lisp 2016-07-30T09:17:17Z ggole_ joined #lisp 2016-07-30T09:20:06Z ggole quit (Ping timeout: 250 seconds) 2016-07-30T09:22:48Z kokonaisluku joined #lisp 2016-07-30T09:25:12Z EvW quit (Ping timeout: 250 seconds) 2016-07-30T09:29:39Z SamSkulls quit (Quit: ERC (IRC client for Emacs 25.1.50.1)) 2016-07-30T09:30:57Z rme quit (Quit: rme) 2016-07-30T09:30:57Z rme quit (Quit: rme) 2016-07-30T09:32:14Z Davidbrcz quit (Ping timeout: 260 seconds) 2016-07-30T09:33:24Z sondr3 joined #lisp 2016-07-30T09:38:06Z sondr3 quit (Ping timeout: 276 seconds) 2016-07-30T09:41:41Z _sjs joined #lisp 2016-07-30T09:45:40Z quazimodo quit (Ping timeout: 250 seconds) 2016-07-30T09:45:58Z quazimod1 quit (Ping timeout: 265 seconds) 2016-07-30T09:46:06Z _sjs quit (Ping timeout: 250 seconds) 2016-07-30T09:46:33Z Davidbrcz joined #lisp 2016-07-30T09:50:19Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-07-30T10:02:41Z diphuser joined #lisp 2016-07-30T10:04:46Z attila_lendvai joined #lisp 2016-07-30T10:10:42Z quazimodo joined #lisp 2016-07-30T10:11:04Z DavidGu joined #lisp 2016-07-30T10:12:49Z oleo_ quit (Quit: Leaving) 2016-07-30T10:14:51Z d4ryus quit (Ping timeout: 264 seconds) 2016-07-30T10:15:37Z quazimodo quit (Ping timeout: 260 seconds) 2016-07-30T10:17:14Z d4ryus joined #lisp 2016-07-30T10:18:08Z oleo joined #lisp 2016-07-30T10:24:18Z Orion3k quit (Quit: Leaving) 2016-07-30T10:45:41Z 17WAAB3QE joined #lisp 2016-07-30T10:45:43Z DavidGu quit (Read error: Connection reset by peer) 2016-07-30T10:45:49Z 1JTAAVVO3 joined #lisp 2016-07-30T10:45:51Z DavidGu joined #lisp 2016-07-30T10:51:25Z eivarv quit (Quit: Sleep) 2016-07-30T10:54:48Z eivarv joined #lisp 2016-07-30T11:03:40Z zeissoctopus quit (Quit: Leaving) 2016-07-30T11:04:36Z kokonaisluku quit (Quit: ChatZilla 0.9.92 [Firefox 45.2.0/20160608172852]) 2016-07-30T11:05:12Z ssake_ quit (Ping timeout: 240 seconds) 2016-07-30T11:06:10Z quasus joined #lisp 2016-07-30T11:07:07Z ssake_ joined #lisp 2016-07-30T11:20:09Z papachan: morning 2016-07-30T11:26:40Z oleo: morning 2016-07-30T11:34:22Z Karl_Dscc joined #lisp 2016-07-30T11:34:47Z sondr3 joined #lisp 2016-07-30T11:35:23Z DeadTrickster_ joined #lisp 2016-07-30T11:37:33Z DavidGu1 joined #lisp 2016-07-30T11:37:33Z DavidGu quit (Read error: Connection reset by peer) 2016-07-30T11:37:34Z DavidGu1 is now known as DavidGu 2016-07-30T11:39:39Z sondr3 quit (Ping timeout: 276 seconds) 2016-07-30T11:44:16Z Aiwass joined #lisp 2016-07-30T11:48:27Z DavidGu1 joined #lisp 2016-07-30T11:48:28Z DavidGu quit (Read error: Connection reset by peer) 2016-07-30T11:48:34Z DavidGu1 is now known as DavidGu 2016-07-30T11:54:55Z ukari joined #lisp 2016-07-30T12:00:37Z ukari quit (Ping timeout: 260 seconds) 2016-07-30T12:08:36Z Aiwass quit (Ping timeout: 244 seconds) 2016-07-30T12:09:36Z latemus quit (Quit: leaving) 2016-07-30T12:12:06Z Josh2 joined #lisp 2016-07-30T12:16:35Z DavidGu quit (Read error: Connection reset by peer) 2016-07-30T12:16:46Z gargaml joined #lisp 2016-07-30T12:17:40Z rme joined #lisp 2016-07-30T12:18:55Z DavidGu joined #lisp 2016-07-30T12:23:22Z harish_ joined #lisp 2016-07-30T12:23:51Z DavidGu quit (Ping timeout: 264 seconds) 2016-07-30T12:25:45Z DavidGu joined #lisp 2016-07-30T12:27:12Z MrWoohoo quit (Ping timeout: 244 seconds) 2016-07-30T12:29:42Z harish_ quit (Ping timeout: 276 seconds) 2016-07-30T12:29:52Z DavidGu quit (Ping timeout: 252 seconds) 2016-07-30T12:33:25Z barbone quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-07-30T12:36:56Z gargaml quit (Quit: WeeChat 1.5) 2016-07-30T12:37:07Z kokonaisluku joined #lisp 2016-07-30T12:37:53Z DavidGu joined #lisp 2016-07-30T12:38:10Z araujo_ quit (Quit: Leaving) 2016-07-30T12:38:40Z araujo joined #lisp 2016-07-30T12:38:54Z araujo quit (Changing host) 2016-07-30T12:38:54Z araujo joined #lisp 2016-07-30T12:40:05Z gargaml joined #lisp 2016-07-30T12:41:27Z varjag quit (Ping timeout: 260 seconds) 2016-07-30T12:45:57Z grouzen quit (Ping timeout: 276 seconds) 2016-07-30T12:53:52Z prole joined #lisp 2016-07-30T13:02:20Z gargaml quit (Quit: WeeChat 1.5) 2016-07-30T13:02:38Z jsmith_ joined #lisp 2016-07-30T13:07:07Z jsmith_ quit (Ping timeout: 260 seconds) 2016-07-30T13:17:49Z kokonaisluku quit (Remote host closed the connection) 2016-07-30T13:25:28Z karswell quit (Read error: Connection reset by peer) 2016-07-30T13:26:23Z karswell joined #lisp 2016-07-30T13:29:32Z EvW joined #lisp 2016-07-30T13:36:20Z sondr3 joined #lisp 2016-07-30T13:36:57Z harish_ joined #lisp 2016-07-30T13:41:15Z sondr3 quit (Ping timeout: 264 seconds) 2016-07-30T13:43:17Z harish_ quit (Ping timeout: 260 seconds) 2016-07-30T13:43:40Z mishoo quit (Ping timeout: 244 seconds) 2016-07-30T13:46:45Z `lain joined #lisp 2016-07-30T13:49:40Z diphuser quit (Ping timeout: 264 seconds) 2016-07-30T13:49:59Z Blukunfando joined #lisp 2016-07-30T13:59:43Z DavidGu quit (Quit: DavidGu) 2016-07-30T14:02:58Z sunwukong joined #lisp 2016-07-30T14:03:02Z cagmz joined #lisp 2016-07-30T14:05:25Z _sjs joined #lisp 2016-07-30T14:05:46Z payphone joined #lisp 2016-07-30T14:08:17Z hhdave joined #lisp 2016-07-30T14:08:24Z gargaml joined #lisp 2016-07-30T14:09:20Z dainis joined #lisp 2016-07-30T14:09:54Z _sjs quit (Ping timeout: 260 seconds) 2016-07-30T14:11:45Z mastokley joined #lisp 2016-07-30T14:11:48Z narendraj9 quit (Ping timeout: 265 seconds) 2016-07-30T14:13:02Z smokeink quit (Ping timeout: 260 seconds) 2016-07-30T14:17:59Z ukari joined #lisp 2016-07-30T14:19:03Z sunwukong quit (Ping timeout: 264 seconds) 2016-07-30T14:21:01Z diphuser joined #lisp 2016-07-30T14:23:18Z sunwukong joined #lisp 2016-07-30T14:23:29Z sunwukong quit (Client Quit) 2016-07-30T14:23:45Z mishoo joined #lisp 2016-07-30T14:24:12Z EvW quit (Ping timeout: 250 seconds) 2016-07-30T14:25:13Z cagmz quit (Remote host closed the connection) 2016-07-30T14:30:25Z phoe: So, guys - someone suggested https://github.com/mabragor/cl-secure-read to me as a way of securing READ. 2016-07-30T14:30:34Z phoe: From what I see it only protects from macro character abuse. 2016-07-30T14:30:49Z phoe: It doesn't address internbombing or excessive input size. 2016-07-30T14:35:42Z wtetzner_ joined #lisp 2016-07-30T14:37:19Z diphuser quit (Ping timeout: 260 seconds) 2016-07-30T14:37:24Z ggole_ is now known as ggole 2016-07-30T14:38:07Z kobain joined #lisp 2016-07-30T14:40:04Z Yuuhi joined #lisp 2016-07-30T14:41:34Z ggole: phoe: seems like you'd want to write your own (wrapper around) intern to achieve that 2016-07-30T14:41:45Z phoe: ggole: I did! 2016-07-30T14:41:50Z phoe: I just need to polish and modularize it. 2016-07-30T14:42:05Z phoe: And not really intern; I actually need to hack around the reader. 2016-07-30T14:42:48Z ggole: How did you approach it? The first thing that comes to mind is that you would "intern" in your own table with a bound on size, and then if it were not too large walk the table to intern for real 2016-07-30T14:43:15Z cromachina: where are you reading from? what symbols do you not want to intern? does the input need to generate complex s-expressions? 2016-07-30T14:43:57Z ggole: (I'm actually not familiar with "internbombing" - the name suggests either huge numbers of symbols or symbols with large names that consume lots of memory.) 2016-07-30T14:44:53Z phoe: ggole: no no, actually. 2016-07-30T14:44:57Z phoe: READ auto-interns, right? 2016-07-30T14:45:11Z ggole: Right. 2016-07-30T14:45:14Z cromachina: and interning creates a new symbol if needed 2016-07-30T14:45:19Z phoe: So just by READing arbitrary input you can blow your stack with interned symbols. 2016-07-30T14:45:27Z H4ns: your stack? 2016-07-30T14:45:28Z cromachina: an attacker can send a1 a2 a3, etc.. 2016-07-30T14:45:39Z phoe: Wait. 2016-07-30T14:45:40Z phoe: Your heap. 2016-07-30T14:45:42Z ASau quit (Ping timeout: 260 seconds) 2016-07-30T14:45:43Z phoe: Not the stack, right. 2016-07-30T14:45:52Z ggole: Ah, that seems pretty much what I had in mind. 2016-07-30T14:46:16Z phoe: ggole: I approached it threefold. 2016-07-30T14:46:31Z H4ns: using read for untrusted data is calling for problems. 2016-07-30T14:46:40Z phoe: First, there's a NAMED-READTABLE that replaces all macro characters beside #\( #\) #\" with erroring macro chars. 2016-07-30T14:47:19Z phoe: Second, I create a temporary package for each READ and read in it. This way I intern a given number of symbols, then trash the package, which uninterns the symbols and allows them to be GCed. 2016-07-30T14:47:44Z phoe: Third, and unfinished - I need to make sure I never read more than, let's say, 64 kB of sexpression at once. 2016-07-30T14:48:26Z phoe: Fourth, paranoia - any sort of error thrashes the whole read attempt. 2016-07-30T14:49:17Z ggole: I see, there's the bounding. 2016-07-30T14:49:56Z cromachina: how is the read initiated? 2016-07-30T14:50:12Z atheris joined #lisp 2016-07-30T14:50:19Z phoe: cromachina: I actually found that READ is not what I want because of the way it treats non-terminating macro characters. 2016-07-30T14:50:20Z ggole: What about package-qualified symbols? 2016-07-30T14:50:34Z phoe: ggole: that's the point. 2016-07-30T14:50:37Z ggole: They won't read into your prepared sandbox package, right? 2016-07-30T14:50:47Z phoe: I make : a macro character that errors out. 2016-07-30T14:50:54Z ggole: Ah. 2016-07-30T14:50:55Z phoe: The thing is, READ doesn't fire up the macro character function. 2016-07-30T14:51:04Z phoe: I need to hack around and use READ-DELIMITED-LIST. 2016-07-30T14:51:20Z phoe: Which triggers the error function of #\:. 2016-07-30T14:51:34Z phoe: Crazy, but seems to do the trick. 2016-07-30T14:51:45Z cromachina: i mean, are you reading some command over a socket? like "read " 2016-07-30T14:51:54Z H4ns: why don't you just write or use a secure reader? it seems to be the wrong approach to try making the existing reader secure. nobody will ever be able to audit that. 2016-07-30T14:52:17Z ggole: Depends on how much of the Lisp read syntax you want, I suppose 2016-07-30T14:52:30Z phoe: cromachina: all I want are sexpressions that contain lists, symbols, integers and strings. 2016-07-30T14:52:47Z H4ns: write a reader that can read lists, symbols, integers and strings then. 2016-07-30T14:52:49Z phoe: H4ns: I've considered it, but the hacks I can use so far seem to work. 2016-07-30T14:52:58Z phoe: And I'm lazy. 2016-07-30T14:53:35Z cromachina: lazy is bad for security lol 2016-07-30T14:53:36Z H4ns: lazy and secure are two things that hardly blend. 2016-07-30T14:53:47Z H4ns: cromachina: *5* 2016-07-30T14:54:14Z TMA quit (Ping timeout: 258 seconds) 2016-07-30T14:54:28Z barbone joined #lisp 2016-07-30T14:56:55Z mastokley quit (Ping timeout: 258 seconds) 2016-07-30T15:01:31Z jleija joined #lisp 2016-07-30T15:03:07Z rme quit (Quit: rme) 2016-07-30T15:03:18Z adolf_stalin joined #lisp 2016-07-30T15:05:19Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-07-30T15:06:28Z unrahul joined #lisp 2016-07-30T15:08:04Z adolf_stalin quit (Ping timeout: 250 seconds) 2016-07-30T15:09:08Z ekinmur joined #lisp 2016-07-30T15:09:18Z adolf_stalin joined #lisp 2016-07-30T15:13:09Z eivarv quit (Quit: Sleep) 2016-07-30T15:14:53Z diphuser joined #lisp 2016-07-30T15:15:42Z Anselmo quit (Ping timeout: 258 seconds) 2016-07-30T15:16:42Z eivarv joined #lisp 2016-07-30T15:21:32Z sondr3 joined #lisp 2016-07-30T15:23:08Z wtetzner_ quit (Remote host closed the connection) 2016-07-30T15:25:38Z sanitytest joined #lisp 2016-07-30T15:27:11Z eivarv quit (Quit: Sleep) 2016-07-30T15:30:57Z jsmith_ joined #lisp 2016-07-30T15:31:27Z Khisanth quit (Quit: Leaving) 2016-07-30T15:34:13Z rme joined #lisp 2016-07-30T15:36:32Z adolf_stalin quit (Ping timeout: 240 seconds) 2016-07-30T15:37:13Z jason_m joined #lisp 2016-07-30T15:37:57Z dyelar joined #lisp 2016-07-30T15:38:20Z adolf_stalin joined #lisp 2016-07-30T15:41:04Z atheris quit (Quit: Ex-Chat) 2016-07-30T15:41:51Z atheris joined #lisp 2016-07-30T15:41:52Z jleija quit (Ping timeout: 264 seconds) 2016-07-30T15:42:20Z jleija joined #lisp 2016-07-30T15:45:07Z dyelar quit (Quit: Leaving.) 2016-07-30T15:46:32Z k-stz joined #lisp 2016-07-30T15:47:23Z k-stz quit (Remote host closed the connection) 2016-07-30T15:47:52Z Davidbrcz quit (Ping timeout: 252 seconds) 2016-07-30T15:49:54Z vlatkoB quit (Remote host closed the connection) 2016-07-30T15:49:58Z adolf_st_ joined #lisp 2016-07-30T15:51:11Z vlatkoB joined #lisp 2016-07-30T15:51:33Z eivarv joined #lisp 2016-07-30T15:52:56Z sanitytest quit (Quit: Page closed) 2016-07-30T15:53:09Z adolf_stalin quit (Ping timeout: 276 seconds) 2016-07-30T15:56:04Z vlatkoB quit (Remote host closed the connection) 2016-07-30T15:56:19Z meowmeowmeow joined #lisp 2016-07-30T15:57:04Z tharugrim joined #lisp 2016-07-30T15:57:41Z vlatkoB joined #lisp 2016-07-30T16:00:33Z Davidbrcz joined #lisp 2016-07-30T16:00:36Z Davidbrcz quit (Read error: Connection reset by peer) 2016-07-30T16:04:07Z Jesin joined #lisp 2016-07-30T16:09:06Z mr_yogurt joined #lisp 2016-07-30T16:10:49Z meowmeowmeow quit (Remote host closed the connection) 2016-07-30T16:11:38Z gargaml quit (Quit: WeeChat 1.5) 2016-07-30T16:19:08Z 1JTAAVVO3 quit (Ping timeout: 250 seconds) 2016-07-30T16:19:53Z 17WAAB3QE quit (Ping timeout: 265 seconds) 2016-07-30T16:21:58Z adolf_stalin joined #lisp 2016-07-30T16:22:48Z safe joined #lisp 2016-07-30T16:23:29Z Jesin quit (Quit: Leaving) 2016-07-30T16:24:43Z adolf_st_ quit (Ping timeout: 265 seconds) 2016-07-30T16:29:30Z eivarv quit (Quit: Sleep) 2016-07-30T16:30:45Z phoe: H4ns: cromachina: https://github.com/phoe-krk/secure-read 2016-07-30T16:30:46Z phoe: welp 2016-07-30T16:32:00Z varjag joined #lisp 2016-07-30T16:33:41Z phoe: still buggy 2016-07-30T16:33:44Z phoe: but you can see the idea 2016-07-30T16:34:17Z ekinmur quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-07-30T16:37:47Z EvW joined #lisp 2016-07-30T16:38:16Z adolf_st_ joined #lisp 2016-07-30T16:39:52Z Bike joined #lisp 2016-07-30T16:40:22Z adolf_stalin quit (Ping timeout: 244 seconds) 2016-07-30T16:41:11Z edgar-rft joined #lisp 2016-07-30T16:44:43Z jetgun joined #lisp 2016-07-30T16:45:43Z wtetzner joined #lisp 2016-07-30T16:46:38Z DeadTrickster joined #lisp 2016-07-30T16:48:01Z wtetzner quit (Remote host closed the connection) 2016-07-30T16:49:37Z unbalancedparen joined #lisp 2016-07-30T16:54:33Z gravicappa quit (Ping timeout: 240 seconds) 2016-07-30T16:55:38Z cpape joined #lisp 2016-07-30T16:57:18Z Jesin joined #lisp 2016-07-30T16:58:45Z Davidbrcz joined #lisp 2016-07-30T17:03:40Z EvW quit (Ping timeout: 250 seconds) 2016-07-30T17:03:48Z fiddlerwoaroof: Hmm, yason seems to run into trouble when parsing from a socket stream 2016-07-30T17:04:02Z fiddlerwoaroof: it parses objects, booleans and arrays just fine 2016-07-30T17:04:18Z fiddlerwoaroof: But when I try to send an integer, I get a lookahead error. 2016-07-30T17:04:54Z Davidbrcz quit (Ping timeout: 260 seconds) 2016-07-30T17:07:30Z Khisanth joined #lisp 2016-07-30T17:08:39Z H4ns: fiddlerwoaroof: "lookahead error"? can you paste the complete error message to paste.lisp.org? 2016-07-30T17:08:43Z fiddlerwoaroof: ok 2016-07-30T17:08:52Z mishoo quit (Ping timeout: 240 seconds) 2016-07-30T17:09:28Z DeadTrickster quit (Ping timeout: 244 seconds) 2016-07-30T17:09:33Z jetgun left #lisp 2016-07-30T17:10:23Z grimsley joined #lisp 2016-07-30T17:14:05Z rme quit (Quit: rme) 2016-07-30T17:14:05Z rme quit (Quit: rme) 2016-07-30T17:14:47Z fiddlerwoaroof: So, flexi-streams is actually reporting the error, but it looks like yason is expecting some stream operation that is not supported 2016-07-30T17:14:49Z fiddlerwoaroof: http://paste.lisp.org/+6W8F 2016-07-30T17:15:57Z fiddlerwoaroof: The input from the socket there was the number 1 2016-07-30T17:19:45Z H4ns: that's something which i'm not really inclined to fix inside of yason, as that'd require it to wrap all its streams to make sure they can be rewound. if you need this to work, you'll probably have to wrap your socket stream in a buffering stream. 2016-07-30T17:20:02Z H4ns: sorry, i don't have a solution that you could just use. 2016-07-30T17:20:42Z fiddlerwoaroof: No problem, I suppose it can't be fixed by changing the parser because the parser can't tell whether the number's done yet? 2016-07-30T17:22:21Z H4ns: yes. it is using peek-char all over. 2016-07-30T17:23:04Z H4ns: i have a faint remembrance of a stream class that provided one character lookback, but it could be that i implemented that myself back then. 2016-07-30T17:24:38Z Petit_Dejeuner joined #lisp 2016-07-30T17:36:43Z grimsley quit (Quit: Leaving) 2016-07-30T17:36:51Z xaotuk joined #lisp 2016-07-30T17:42:29Z adolf_st_ quit (Remote host closed the connection) 2016-07-30T17:43:28Z pmc joined #lisp 2016-07-30T17:48:33Z vaporatorius quit (Ping timeout: 240 seconds) 2016-07-30T17:51:31Z pmc_ joined #lisp 2016-07-30T17:54:53Z pmc quit (Ping timeout: 250 seconds) 2016-07-30T17:54:55Z vaporatorius joined #lisp 2016-07-30T17:55:14Z pierpa joined #lisp 2016-07-30T17:55:28Z eivarv joined #lisp 2016-07-30T17:55:30Z xaotuk quit (Ping timeout: 258 seconds) 2016-07-30T17:57:51Z EvW joined #lisp 2016-07-30T17:58:34Z Josh2 quit (Remote host closed the connection) 2016-07-30T17:59:00Z Josh2 joined #lisp 2016-07-30T17:59:19Z DeadTrickster joined #lisp 2016-07-30T17:59:34Z ukari quit (Ping timeout: 244 seconds) 2016-07-30T18:01:56Z xrash joined #lisp 2016-07-30T18:05:10Z adolf_stalin joined #lisp 2016-07-30T18:05:37Z defaultxr joined #lisp 2016-07-30T18:06:09Z kobain quit (Ping timeout: 260 seconds) 2016-07-30T18:06:54Z Karl_Dscc quit (Remote host closed the connection) 2016-07-30T18:08:23Z Jesin quit (Quit: Leaving) 2016-07-30T18:10:44Z Jesin joined #lisp 2016-07-30T18:13:01Z dainis quit (Ping timeout: 244 seconds) 2016-07-30T18:14:06Z phoe: (check-type 3 integer) 2016-07-30T18:14:13Z phoe: This produces weird comment outputs on SBCL for me 2016-07-30T18:14:50Z phoe: http://paste.lisp.org/display/321718 2016-07-30T18:15:06Z mishoo joined #lisp 2016-07-30T18:15:52Z m_zr0_ quit (Ping timeout: 258 seconds) 2016-07-30T18:15:57Z dainis joined #lisp 2016-07-30T18:15:58Z Bike: that's because the first argument of check-type is a place 2016-07-30T18:16:00Z Bike: 3 is not a place 2016-07-30T18:16:28Z impaktor: phoe: eldoc-mode, really nifty. 2016-07-30T18:17:26Z phoe: impaktor: ? 2016-07-30T18:17:44Z phoe: Oh wait. 2016-07-30T18:17:46Z phoe: 3 is not a place. 2016-07-30T18:17:48Z phoe: Right. 2016-07-30T18:18:12Z Bike: because check-type errors offer a use-value restart 2016-07-30T18:18:48Z impaktor: phoe: if you have eldoc-mode on when typing check-type you'll see that the first argument is place. 2016-07-30T18:19:03Z DeadTrickster quit (Ping timeout: 244 seconds) 2016-07-30T18:19:07Z impaktor: ...assuming you're using emacs. 2016-07-30T18:19:16Z DeadTrickster_ quit (Ping timeout: 265 seconds) 2016-07-30T18:19:49Z phoe: impaktor: yes yes. 2016-07-30T18:20:07Z phoe: I just derped for a moment and copied that bit of code from a code file without looking at the bottom. 2016-07-30T18:20:41Z xrash quit (Remote host closed the connection) 2016-07-30T18:20:49Z eudoxia joined #lisp 2016-07-30T18:20:57Z mishoo quit (Ping timeout: 260 seconds) 2016-07-30T18:21:00Z xrash joined #lisp 2016-07-30T18:21:39Z John[Lisbeth] joined #lisp 2016-07-30T18:22:04Z adolf_stalin quit (Remote host closed the connection) 2016-07-30T18:23:30Z phoe: Hum. 2016-07-30T18:23:53Z phoe: I might either end up pushing one more commit to BORDEAUX-THREADS or make a workaround for the functionality I want. 2016-07-30T18:24:41Z phoe: The macro WITH-LOCK-HELD ((PLACE) &BODY BODY) can have its lambda-list expanded into ((PLACE &OPTIONAL WAIT-P) &BODY BODY) while maintaining backwards compatibility. 2016-07-30T18:25:07Z Bike: maybe make it a &key. 2016-07-30T18:25:26Z phoe: Bike: good idea. 2016-07-30T18:25:42Z phoe: But then, uh. 2016-07-30T18:26:02Z phoe: Would be inconsistent. ACQUIRE-LOCK has a (LOCK &OPTIONAL WAIT-P) llist. 2016-07-30T18:26:11Z Bike: oh. 2016-07-30T18:26:35Z phoe: So not so good when put in context. 2016-07-30T18:35:48Z tharugrim quit (Ping timeout: 258 seconds) 2016-07-30T18:39:09Z libreman: Can somebody help me with debugging in slime and caveman2? Because tracing a function makes it trace output go to the *inferior-lisp* buffer in emacs, and stepping a function does not seem to work at all. This behaviour only happens when I send a request to the webserver, not if I call functions form the repl. 2016-07-30T18:39:34Z jsmith_ quit (Read error: Connection reset by peer) 2016-07-30T18:40:14Z rumbler31 joined #lisp 2016-07-30T18:43:42Z adolf_stalin joined #lisp 2016-07-30T18:47:12Z aries_liuxueyang quit (Ping timeout: 240 seconds) 2016-07-30T18:48:58Z tharugrim joined #lisp 2016-07-30T18:50:03Z aries_liuxueyang joined #lisp 2016-07-30T18:50:27Z Bike: stepping is something in the implementation, and the implementation might just not care about having a good stepper 2016-07-30T18:50:59Z xaotuk joined #lisp 2016-07-30T18:51:01Z fkac quit (Ping timeout: 252 seconds) 2016-07-30T18:55:01Z mishoo joined #lisp 2016-07-30T18:56:54Z eudoxia quit (Quit: Leaving) 2016-07-30T18:58:46Z yxabc joined #lisp 2016-07-30T18:58:55Z yxabc2 joined #lisp 2016-07-30T18:59:23Z xrash quit (Ping timeout: 265 seconds) 2016-07-30T18:59:40Z libreman: Bike: I'm using sbcl and stepping does work outside of caveman. 2016-07-30T19:00:47Z Bike: what are the optimize settings on caveman? you need debug > the rest for stepping to happen 2016-07-30T19:01:12Z tharugrim quit (Ping timeout: 260 seconds) 2016-07-30T19:01:35Z nullman quit (Ping timeout: 244 seconds) 2016-07-30T19:01:54Z xrash joined #lisp 2016-07-30T19:02:15Z mishoo quit (Ping timeout: 264 seconds) 2016-07-30T19:03:21Z nullman joined #lisp 2016-07-30T19:03:35Z libreman: I execute this before loading my caveman project: (declaim (optimize (speed 0) (safety 2) (debug 3))) 2016-07-30T19:08:17Z grouzen joined #lisp 2016-07-30T19:11:07Z wtetzner joined #lisp 2016-07-30T19:17:12Z yxabc2 quit (Ping timeout: 258 seconds) 2016-07-30T19:17:16Z Blukunfando quit (Ping timeout: 265 seconds) 2016-07-30T19:17:54Z yxabc quit (Ping timeout: 276 seconds) 2016-07-30T19:18:42Z xrash quit (Remote host closed the connection) 2016-07-30T19:20:21Z jdz: is caveman using threads? 2016-07-30T19:20:37Z jdz: you could try without threads while debugging 2016-07-30T19:21:11Z xrash joined #lisp 2016-07-30T19:21:19Z tharugrim joined #lisp 2016-07-30T19:22:37Z unrahul quit (Quit: Connection closed for inactivity) 2016-07-30T19:26:08Z libreman: No that does not change anything. Trace information still ends up in the wrong buffer and step does not seem to do anything 2016-07-30T19:28:24Z diphuser quit (Ping timeout: 260 seconds) 2016-07-30T19:34:38Z adolf_stalin quit (Remote host closed the connection) 2016-07-30T19:34:48Z tharugrim quit (Ping timeout: 276 seconds) 2016-07-30T19:35:44Z safe quit (Read error: Connection reset by peer) 2016-07-30T19:37:14Z xrash quit (Ping timeout: 244 seconds) 2016-07-30T19:38:07Z attila_lendvai joined #lisp 2016-07-30T19:40:10Z xrash joined #lisp 2016-07-30T19:48:46Z EvW quit (Ping timeout: 250 seconds) 2016-07-30T19:56:13Z pmc_ quit (Ping timeout: 250 seconds) 2016-07-30T19:56:54Z kobain joined #lisp 2016-07-30T19:57:34Z payphone quit (Read error: Connection reset by peer) 2016-07-30T19:57:40Z phoe: Is there some way to print keywords as normal symbols, without their : prefix? 2016-07-30T19:58:21Z Grue`: (print (symbol-name :foo)) 2016-07-30T19:59:23Z phoe: Gotcha. Thanks. 2016-07-30T20:03:37Z John[Lisbeth] quit (Remote host closed the connection) 2016-07-30T20:05:40Z knobo: Which eval-when should I use to make sure a form is evaluated when I start a saved lisp image? 2016-07-30T20:06:12Z knobo: Maybe I have to add it to an init function? 2016-07-30T20:06:30Z Orion3k joined #lisp 2016-07-30T20:10:22Z pmc joined #lisp 2016-07-30T20:12:30Z Grue`: loading a saved lisp image doesn't reload the code. so eval-when can't possibly do anything when an image is loaded 2016-07-30T20:12:37Z eivarv quit (Quit: Sleep) 2016-07-30T20:15:29Z adolf_stalin joined #lisp 2016-07-30T20:15:43Z phoe: CASE labels are compared using EQ? 2016-07-30T20:15:48Z phoe: Or EQL? 2016-07-30T20:16:02Z Grue`: eql 2016-07-30T20:16:15Z EvW joined #lisp 2016-07-30T20:16:20Z phoe: With no way to change it other than defining a custom CASE? 2016-07-30T20:18:28Z xrash quit (Ping timeout: 264 seconds) 2016-07-30T20:19:19Z Grue`: I guess not... 2016-07-30T20:19:51Z cromachina: if you want more relaxed comparison, then optima might help 2016-07-30T20:20:12Z eivarv joined #lisp 2016-07-30T20:20:30Z Grue`: I thought alexandria had something, but its destructuring-case also only uses EQL 2016-07-30T20:20:31Z phoe: cromachina: I need STRING= 2016-07-30T20:21:00Z Bike: there's a string-case in quicklisp 2016-07-30T20:21:08Z cromachina: optimization requirement? 2016-07-30T20:21:13Z phoe: Bike: ! 2016-07-30T20:21:14Z xrash joined #lisp 2016-07-30T20:22:33Z cromachina: alexandria also has switch 2016-07-30T20:23:57Z cromachina: (alexandria:switch ("hello" :test #'string=) ("hello" 1) (t 2)) 2016-07-30T20:24:17Z phoe: oh holy hell. 2016-07-30T20:24:28Z Grue`: oh, that must be what I was thinking of 2016-07-30T20:24:28Z phoe: string-case is pretty powerful - but it's not what I need. 2016-07-30T20:24:34Z phoe: I need STRING= to compare symbols. 2016-07-30T20:24:54Z phoe: As in - I have uninterned symbols. 2016-07-30T20:25:08Z phoe: And the only way to properly compare them with anything else is through STRING=. 2016-07-30T20:25:08Z cromachina: would switch not work? 2016-07-30T20:25:08Z Grue`: I was about to say, EQL compares symbols already 2016-07-30T20:25:24Z phoe: Grue`: yes, but not when it comes to different uninterned symbols. 2016-07-30T20:25:33Z phoe: (eql (make-symbol "A") (make-symbol "A")) 2016-07-30T20:26:06Z Grue`: maybe you should just intern them when you're making them 2016-07-30T20:27:10Z phoe: This would drop my internbombing protection. 2016-07-30T20:27:16Z phoe: They come from the evil outside world. 2016-07-30T20:28:05Z phoe: Sigh. I'll just hack together a simple macro to turn this into a COND with STRING=. 2016-07-30T20:28:36Z cromachina: phoe: did you see my suggestion above? 2016-07-30T20:28:38Z Grue`: alexandria:switch is exactly what you want 2016-07-30T20:28:46Z phoe: cromachina: ! 2016-07-30T20:28:54Z phoe: I didn't know you meant something from Alexandria. 2016-07-30T20:29:05Z cromachina: lol 2016-07-30T20:30:17Z mr_yogurt quit (Ping timeout: 244 seconds) 2016-07-30T20:30:46Z IPmonger joined #lisp 2016-07-30T20:31:36Z phoe: Good! It helped. 2016-07-30T20:31:45Z phoe: Now only to dig up a string=-getf. 2016-07-30T20:31:45Z grouzen quit (Ping timeout: 250 seconds) 2016-07-30T20:32:43Z phoe: Found it. Piles of old unused code do pay well. 2016-07-30T20:33:43Z knobo: Grue`: ok. 2016-07-30T20:40:06Z xrash quit (Ping timeout: 244 seconds) 2016-07-30T20:41:25Z adolf_stalin quit (Remote host closed the connection) 2016-07-30T20:43:13Z xrash joined #lisp 2016-07-30T20:43:29Z SamSkulls joined #lisp 2016-07-30T20:44:42Z DeadTrickster joined #lisp 2016-07-30T20:44:44Z DeadTrickster_ joined #lisp 2016-07-30T20:49:28Z raphaelss joined #lisp 2016-07-30T20:50:04Z raphaelss quit (Remote host closed the connection) 2016-07-30T20:51:12Z IPmonger quit (Ping timeout: 240 seconds) 2016-07-30T20:56:02Z Blukunfando joined #lisp 2016-07-30T20:56:37Z knobo: loke: sbcl does not save foreign memory. 2016-07-30T20:57:51Z pmc quit (Quit: Leaving) 2016-07-30T21:01:12Z vlatkoB quit (Remote host closed the connection) 2016-07-30T21:07:45Z xrash quit (Ping timeout: 276 seconds) 2016-07-30T21:11:03Z ggole quit 2016-07-30T21:11:40Z _sjs joined #lisp 2016-07-30T21:12:32Z xrash joined #lisp 2016-07-30T21:19:11Z grimsley joined #lisp 2016-07-30T21:23:41Z ekinmur joined #lisp 2016-07-30T21:24:55Z fiddlerwoaroof: phoe: could you intern them temporarily and then unintern via unwind-protect? 2016-07-30T21:25:13Z fiddlerwoaroof: That might be crazy, but it also might be faster 2016-07-30T21:29:19Z holly2 quit (Ping timeout: 250 seconds) 2016-07-30T21:34:19Z holly2 joined #lisp 2016-07-30T21:37:25Z phoe: fiddlerwoaroof: actually 2016-07-30T21:37:33Z phoe: I don't know 2016-07-30T21:38:12Z fiddlerwoaroof: If you quarantined this to a specific package, it shouldn't really affect too much 2016-07-30T21:38:23Z phoe: fiddlerwoaroof: faster? 2016-07-30T21:38:55Z xrash quit (Ping timeout: 250 seconds) 2016-07-30T21:39:03Z cpt_nemo quit (Ping timeout: 276 seconds) 2016-07-30T21:39:07Z phoe: the only difference here is deleting package vs uninterning all symbols 2016-07-30T21:39:12Z fiddlerwoaroof: Doesn't string= have to iterate through both strings while eql just compares the symbol's identity? 2016-07-30T21:39:21Z dainis quit (Ping timeout: 250 seconds) 2016-07-30T21:39:27Z phoe: fiddlerwoaroof: t 2016-07-30T21:39:49Z phoe: but the thing is - I'd need to maintain a list of symbols I don't want to unintern 2016-07-30T21:39:56Z phoe: this would increase complexity. 2016-07-30T21:40:02Z phoe: and the solution I have now works. 2016-07-30T21:40:07Z Josh2 quit (Remote host closed the connection) 2016-07-30T21:40:09Z fiddlerwoaroof: so, if there's lots of equality checking, something like (progn (mapcar #'intern symbols) (unwind-protect (do-something symbols) (mapcar #'unintern symbols)) 2016-07-30T21:40:13Z phoe: the moment I need optimization - I'll be sure to hit you folks up. 2016-07-30T21:40:24Z Josh2 joined #lisp 2016-07-30T21:40:35Z EvW quit (Ping timeout: 250 seconds) 2016-07-30T21:40:44Z fiddlerwoaroof: If all the symbols to be uninterned were interned into a TMP-SYMBOLS package you wouldn't need to explicitly deal with that 2016-07-30T21:40:50Z wtetzner quit (Remote host closed the connection) 2016-07-30T21:41:06Z phoe: fiddlerwoaroof: I can't EQL symbols from TMP-SYMBOLS and a different package. 2016-07-30T21:41:18Z phoe: and the symbols from different package are certainly not something I'd like to unintern. 2016-07-30T21:41:34Z xrash joined #lisp 2016-07-30T21:42:02Z fiddlerwoaroof: If this is a reader, can't you decide where to intern the symbols read by the reader? Or, do you want your reader to support packages? 2016-07-30T21:42:07Z phoe: No. 2016-07-30T21:42:16Z phoe: I want my reader to be safe. 2016-07-30T21:42:44Z phoe: I have data structures like (#:STRUCTURE #:A 1 #:B 2 #:C 3). 2016-07-30T21:42:56Z phoe: When I read this, I want to intern *nothing* for good. 2016-07-30T21:43:02Z phoe: Because this comes from the outside. 2016-07-30T21:43:31Z phoe: Once I read this, I want to be able to STRING=-GETF something under key #:B. 2016-07-30T21:43:38Z phoe: That's why STRING=-GETF. 2016-07-30T21:43:43Z phoe: So that 2016-07-30T21:43:49Z phoe: 's how I get the value 2, in this case. 2016-07-30T21:44:39Z EvW joined #lisp 2016-07-30T21:44:58Z phoe: Interning all the symbols changes absolutely nothing for me because this does not change anything when it comes to comparing them. 2016-07-30T21:46:28Z fiddlerwoaroof: Yeah, I don't think your use case fits the idea I had 2016-07-30T21:46:33Z phoe: Ayup. 2016-07-30T21:46:49Z phoe: I need to use STRING= because it's the only thing I can do over here. 2016-07-30T21:47:02Z fiddlerwoaroof: I was thinking if you had to do something complicated involving lots of string comparisons, it might make sense to temporarily intern things around the operation 2016-07-30T21:47:46Z Bike: loop for (key value) on (cdr struct) by #'cddr when (string= key test-key) do (return value), notsobad 2016-07-30T21:48:25Z Polyphony joined #lisp 2016-07-30T21:48:58Z phoe: Bike: nothing complicated. 2016-07-30T21:49:11Z phoe: Bike: I already have string=-getf, thanks 2016-07-30T21:54:19Z dainis joined #lisp 2016-07-30T21:55:29Z cagmz joined #lisp 2016-07-30T21:57:08Z jleija quit (Quit: leaving) 2016-07-30T21:57:22Z gingerale quit (Remote host closed the connection) 2016-07-30T21:59:14Z quazimodo joined #lisp 2016-07-30T22:03:19Z quazimod1 joined #lisp 2016-07-30T22:04:01Z xrash quit (Ping timeout: 265 seconds) 2016-07-30T22:04:27Z Josh2 quit (Remote host closed the connection) 2016-07-30T22:06:34Z xrash joined #lisp 2016-07-30T22:14:39Z tharugrim joined #lisp 2016-07-30T22:15:08Z xrash quit (Ping timeout: 265 seconds) 2016-07-30T22:15:19Z shka_ quit (Ping timeout: 250 seconds) 2016-07-30T22:15:28Z angavrilov quit (Remote host closed the connection) 2016-07-30T22:15:57Z Denommus joined #lisp 2016-07-30T22:17:38Z xrash joined #lisp 2016-07-30T22:20:00Z tharugrim quit (Ping timeout: 258 seconds) 2016-07-30T22:20:35Z m0j0 joined #lisp 2016-07-30T22:23:32Z xrash quit (Ping timeout: 240 seconds) 2016-07-30T22:27:24Z xrash joined #lisp 2016-07-30T22:30:29Z dfigrish joined #lisp 2016-07-30T22:30:36Z dfigrish: hi 2016-07-30T22:31:29Z phoe: Hay 2016-07-30T22:35:01Z dainis quit (Quit: dainis) 2016-07-30T22:35:27Z dfigrish: execuse me, but cffi is already 0.17.1, hunchentoot - 1.2.35 etc :) 2016-07-30T22:38:51Z Bike: it's op-only topic now, so... i guess wait 2016-07-30T22:39:24Z xrash quit (Remote host closed the connection) 2016-07-30T22:39:40Z xrash joined #lisp 2016-07-30T22:39:48Z dfigrish: Bike: why it's op-only *now*? 2016-07-30T22:40:21Z Bike: i think someone put racial slurs in the topic? i don't remember. something like that 2016-07-30T22:40:48Z rumbler3_ joined #lisp 2016-07-30T22:41:08Z dfigrish: ugh 2016-07-30T22:41:10Z DGASAU quit (Ping timeout: 244 seconds) 2016-07-30T22:43:45Z rumbler31 quit (Ping timeout: 244 seconds) 2016-07-30T22:44:07Z ekinmur quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-07-30T22:49:54Z prole quit (Remote host closed the connection) 2016-07-30T22:50:15Z xaotuk quit (Ping timeout: 264 seconds) 2016-07-30T22:50:36Z John[Lisbeth] joined #lisp 2016-07-30T22:52:15Z phoe: we need an operator over here 2016-07-30T22:54:35Z lemoinem quit (Ping timeout: 244 seconds) 2016-07-30T22:55:17Z lemoinem joined #lisp 2016-07-30T22:55:57Z adolf_stalin joined #lisp 2016-07-30T23:00:40Z edgar-rft: phoe: I've heard that Lisp has special operators. 2016-07-30T23:01:32Z phoe: edgar-rft: does #lisp have special operators!? 2016-07-30T23:02:20Z m00natic quit (Remote host closed the connection) 2016-07-30T23:05:34Z dfigrish: o_O 2016-07-30T23:07:07Z dyelar joined #lisp 2016-07-30T23:08:25Z didi joined #lisp 2016-07-30T23:12:36Z mr_yogurt joined #lisp 2016-07-30T23:13:32Z John[Lisbeth]: I want to take a function or a macro and a list and preform the function/macro on each item in the list 2016-07-30T23:13:45Z EvW quit (Ping timeout: 250 seconds) 2016-07-30T23:14:46Z cagmz quit 2016-07-30T23:14:46Z axion: mapcar? 2016-07-30T23:14:55Z Polyphony: (mapcar #'function list) should do 2016-07-30T23:16:18Z dfigrish quit (Quit: rcirc on GNU Emacs 25.1.50.1) 2016-07-30T23:17:20Z John[Lisbeth]: what does #'symbol evaluate to? 2016-07-30T23:17:57Z Velveeta_Chef quit (Read error: No route to host) 2016-07-30T23:18:01Z aindilis2 quit (Remote host closed the connection) 2016-07-30T23:18:20Z Polyphony: #'+ evaluates into # in SBCL 2016-07-30T23:18:37Z John[Lisbeth]: I can't write it as prefix notation? 2016-07-30T23:19:16Z Polyphony: No I think you'll have to (funcall #'+ 1 2) 2016-07-30T23:19:18Z Polyphony: for example 2016-07-30T23:19:28Z DeadTrickster quit (Ping timeout: 250 seconds) 2016-07-30T23:19:32Z DeadTrickster_ quit (Ping timeout: 240 seconds) 2016-07-30T23:21:09Z axion: What do you mean by prefix notation? 2016-07-30T23:21:33Z Polyphony: I think he was asking if he could (#'+ 1 2) instead of (funcall #'+ 1 2) 2016-07-30T23:23:47Z edgar-rft: you can write (mapcar (function ) lisp) if that is prefix enough 2016-07-30T23:23:50Z John[Lisbeth]: I want to do the equivelant of (quote 1 2 3) for '(1 2 3) 2016-07-30T23:24:16Z John[Lisbeth]: function is the function I need 2016-07-30T23:24:42Z edgar-rft: #' == (function ) 2016-07-30T23:25:14Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-07-30T23:25:48Z John[Lisbeth]: t 2016-07-30T23:26:36Z m0j0 quit (Quit: Textual IRC Client: www.textualapp.com) 2016-07-30T23:34:35Z tharugrim joined #lisp 2016-07-30T23:36:14Z pmc joined #lisp 2016-07-30T23:37:15Z eivarv quit (Quit: Sleep) 2016-07-30T23:37:39Z hhdave quit (Quit: hhdave) 2016-07-30T23:42:12Z John[Lisbeth]: chrome fixed my pdf reader so I am reading gentle again 2016-07-30T23:44:50Z mif_ joined #lisp 2016-07-30T23:45:57Z eivarv joined #lisp 2016-07-30T23:46:44Z mif_ quit (Client Quit) 2016-07-30T23:50:21Z adhoc[afk] is now known as adhoc[] 2016-07-30T23:50:41Z aindilis2 joined #lisp 2016-07-30T23:52:31Z Denommus quit (Remote host closed the connection) 2016-07-30T23:52:45Z eivarv quit (Quit: Sleep) 2016-07-30T23:57:55Z karswell quit (Remote host closed the connection) 2016-07-30T23:58:49Z karswell joined #lisp