2016-02-17T00:01:04Z Wizek joined #lisp 2016-02-17T00:01:06Z rjnw quit (Quit: Connection closed for inactivity) 2016-02-17T00:01:40Z profess quit (Ping timeout: 248 seconds) 2016-02-17T00:02:42Z almih99 quit (Remote host closed the connection) 2016-02-17T00:03:36Z profess joined #lisp 2016-02-17T00:08:20Z quazimodo quit (Ping timeout: 252 seconds) 2016-02-17T00:13:28Z csd_ joined #lisp 2016-02-17T00:15:11Z papachan quit (Read error: Connection reset by peer) 2016-02-17T00:15:24Z newcup joined #lisp 2016-02-17T00:17:24Z clintm: Is there any reason to use spacemacs if you're not a vim person? In fact, I guess the first thing I'd need to do is disable evil. 2016-02-17T00:17:36Z quazimodo joined #lisp 2016-02-17T00:17:45Z csd_ quit (Ping timeout: 240 seconds) 2016-02-17T00:17:49Z emaczen: jasom: I definitely can't change from parenscript now... 2016-02-17T00:18:04Z jasom: emaczen: how so? 2016-02-17T00:18:21Z jasom: clintm: if you're not a vim person and not interested in modal editors, I would say there isn't. 2016-02-17T00:18:59Z emaczen: I guess I could if I really wanted to, but I'm just trying to finish off my current project. 2016-02-17T00:19:01Z clintm: jasom: ok, cool. 2016-02-17T00:19:21Z emaczen: I also wrote a tiny (send object :message) system 2016-02-17T00:19:23Z jasom: emaczen: no, I'm saying use parenscript, and pass the result to cl-javascript 2016-02-17T00:19:50Z emaczen: jasom: Ohhh, I'll look into that -- thanks 2016-02-17T00:20:02Z emaczen: jasom: That sounds like a good compile-time solution too 2016-02-17T00:20:03Z jasom: macroexpand for parenscript happens in common-lisp 2016-02-17T00:23:00Z mj12` quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2016-02-17T00:23:56Z mj12` joined #lisp 2016-02-17T00:24:28Z emaczen: jasom: is cl-javascript in quicklisp? I'm not seeing it... 2016-02-17T00:24:50Z emaczen: Wow, I don't think I've updated quicklisp... 2016-02-17T00:25:23Z f0ff quit (Quit: ERC (IRC client for Emacs 25.1.50.1)) 2016-02-17T00:26:10Z jasom: emaczen: it doesn't appear to be in quicklisp 2016-02-17T00:26:51Z antonv quit (Ping timeout: 265 seconds) 2016-02-17T00:27:18Z ACE_Recliner quit (Ping timeout: 250 seconds) 2016-02-17T00:28:21Z jasom: oh it is, under cl-js 2016-02-17T00:30:14Z emaczen: jasom: Thanks, this is so much easier now! 2016-02-17T00:30:47Z jasom: emaczen: I'd be interested to see the use-case if at some point in the future you have time to describe it. 2016-02-17T00:30:50Z scymtym quit (Ping timeout: 260 seconds) 2016-02-17T00:31:00Z huitzilopochtli joined #lisp 2016-02-17T00:31:23Z emaczen: jasom: Sure, I'll let you know if it works out. 2016-02-17T00:31:32Z emaczen: I don't think it will be that interesting though 2016-02-17T00:32:55Z dkcl quit (Read error: Connection reset by peer) 2016-02-17T00:33:11Z dkcl joined #lisp 2016-02-17T00:36:49Z briantrice joined #lisp 2016-02-17T00:38:42Z grublet joined #lisp 2016-02-17T00:41:20Z harish_ quit (Ping timeout: 260 seconds) 2016-02-17T00:43:35Z djinni` quit (Quit: Leaving) 2016-02-17T00:43:42Z Winowa: hello 2016-02-17T00:44:16Z Winowa: is there a way i can wirte a for loop or other approach to find a minimum value in the list 2016-02-17T00:44:35Z Winowa: the given min only reads integers, 2016-02-17T00:44:49Z pillton: Winowa: (loop for x in list minimizing x) 2016-02-17T00:46:13Z Winowa: how will that find the minimum value in the list if it keeps decrementing x 2016-02-17T00:46:47Z jasom: Winowa: "for x in list" sets x to each element of the list and "minimizing x" tells it to return the smallest x 2016-02-17T00:47:17Z pillton: Winowa: Perhaps this is easier: (reduce #'min list) 2016-02-17T00:48:08Z briantrice quit (Quit: briantrice) 2016-02-17T00:48:29Z Xach_ joined #lisp 2016-02-17T00:48:46Z Shinmera: or if the list is within call-arguments-limit: (apply #'min list) 2016-02-17T00:48:59Z Shinmera: *list size 2016-02-17T00:49:41Z dreamaddict: if I am making a macro: (defmacro use-these (x y z) (do-stuff-to ,x)) 2016-02-17T00:49:55Z dreamaddict: is there a way to insert the name/location of x into the macro 2016-02-17T00:50:02Z dreamaddict: ,x isn't it, I'm pretty sure 2016-02-17T00:50:11Z jasom: dreamaddict: do you know how macros work? 2016-02-17T00:50:16Z Xach quit (Ping timeout: 250 seconds) 2016-02-17T00:50:22Z dreamaddict: not a whole lot, I'm kind of trying to figure it out right now 2016-02-17T00:50:27Z dreamaddict: essentially they return a code fragment 2016-02-17T00:50:29Z pillton: dreamaddict: Test the function do-stuff-to first. 2016-02-17T00:50:35Z jasom: dreamaddict: right, which is a list 2016-02-17T00:50:56Z jasom: dreamaddict: so e.g. (defmacro use-these (x y z) (list 'do-stuff-to x)) would work 2016-02-17T00:51:10Z dreamaddict: or `(do-stuff-to x) 2016-02-17T00:51:15Z dreamaddict: I forgot the backquote when I typed it 2016-02-17T00:51:22Z jasom: dreamaddict: you mean `(do-stuff-to ,x) 2016-02-17T00:51:30Z dreamaddict: that I am not sure of 2016-02-17T00:51:40Z dreamaddict: I want, instead of x, to put the name of the variable instead 2016-02-17T00:51:49Z arescorpio joined #lisp 2016-02-17T00:51:52Z pillton: dreamaddict: Start a paste which shows the input and the desired code for that input. 2016-02-17T00:51:59Z AlphaAtom quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-02-17T00:52:03Z dreamaddict: sure 2016-02-17T00:52:18Z jasom: dreamaddict: *if* x is the name of the variable, then `(do-stuff-to ,x) will work; note that consumers of your macro could put any form they want there 2016-02-17T00:53:30Z dreamaddict: http://paste.lisp.org/display/307435 2016-02-17T00:53:43Z dreamaddict: right now I am the only consumer, and this is me "dipping my toe" into macros 2016-02-17T00:53:50Z dreamaddict: as opposed to just reading about them :P 2016-02-17T00:53:57Z jasom: dreamaddict: what you have written is correct 2016-02-17T00:54:19Z dreamaddict: only...will do-stuff-to do it on the actual locations, or copies of the values? 2016-02-17T00:54:39Z dreamaddict: this is my first try at getting around the scope of flet 2016-02-17T00:54:50Z jasom: dreamaddict: invoking (use-these a b c) will be identical to invoking (do-stuff-to a b c) 2016-02-17T00:54:52Z djinni` joined #lisp 2016-02-17T00:54:57Z dreamaddict: ok perfect 2016-02-17T00:55:01Z dreamaddict: perfect, that's what I wanted to know 2016-02-17T00:55:04Z dreamaddict: awesome :) 2016-02-17T00:55:28Z Passer quit (Ping timeout: 250 seconds) 2016-02-17T00:55:30Z jasom: dreamaddict: it calls your macro function with the unevaluated arguments of the macro, and replaces your macro with whatever your macro function returns 2016-02-17T00:56:30Z sjl quit (Ping timeout: 256 seconds) 2016-02-17T00:56:49Z stepnem quit (Ping timeout: 265 seconds) 2016-02-17T00:58:06Z Shinmera quit (Quit: しつれいしなければならないんです。) 2016-02-17T00:59:52Z pillton: dreamaddict: Jasom's use of the term "macro function" is really important. People's confusion with these functions is mostly to do with when they are invoked and with what arguments. 2016-02-17T01:00:18Z dreamaddict: yes, a macro is a function that takes in arguments and returns "code" as "data" 2016-02-17T01:00:32Z dreamaddict: of which both words are in quotes because the distinction between code and data in Lisp is awesomely blurry 2016-02-17T01:00:49Z dreamaddict: I still get jitters writing one for the first time though :P 2016-02-17T01:01:11Z pillton: My favourite section of the hyperspec is 3.1.2. 2016-02-17T01:01:13Z pillton: clhs 3.1.2 2016-02-17T01:01:14Z specbot: The Evaluation Model: http://www.lispworks.com/reference/HyperSpec/Body/03_ab.htm 2016-02-17T01:03:13Z jasom: really all of chapter 3 is great 2016-02-17T01:04:05Z pillton: Well... Not 3.2. Minimal compilation destroys parts of 3.1.2. 2016-02-17T01:04:21Z ebrasca` joined #lisp 2016-02-17T01:07:50Z m_zr0_ joined #lisp 2016-02-17T01:10:38Z wilfredh quit (Quit: Connection closed for inactivity) 2016-02-17T01:11:41Z m_zr0 quit (Ping timeout: 276 seconds) 2016-02-17T01:13:00Z ACE_Recliner joined #lisp 2016-02-17T01:13:55Z wz1000 quit (Ping timeout: 240 seconds) 2016-02-17T01:14:28Z csd_ joined #lisp 2016-02-17T01:21:44Z bolichep joined #lisp 2016-02-17T01:22:22Z briantrice joined #lisp 2016-02-17T01:23:10Z wwwbukolaycom quit 2016-02-17T01:24:07Z smokeink joined #lisp 2016-02-17T01:25:23Z manfoo7 quit (Ping timeout: 264 seconds) 2016-02-17T01:33:21Z Passer joined #lisp 2016-02-17T01:34:26Z quasisan1 is now known as quasisane 2016-02-17T01:34:48Z varjag_ quit (Quit: Connection closed for inactivity) 2016-02-17T01:36:42Z quasus quit (Ping timeout: 252 seconds) 2016-02-17T01:38:06Z dreamaddict: the best md5 hash library to use is...? does alexandria have one? 2016-02-17T01:39:04Z spyrosoft left #lisp 2016-02-17T01:41:22Z _sjs joined #lisp 2016-02-17T01:41:28Z ebrasca`: dreamaddict: maybe https://encrypted.google.com/search?sclient=psy-ab&site=&source=hp&btnG=Search&q=md5+hash+lisp 2016-02-17T01:41:50Z ebrasca` quit (Remote host closed the connection) 2016-02-17T01:50:41Z NeverDie joined #lisp 2016-02-17T01:52:43Z FreeBirdLjj joined #lisp 2016-02-17T01:57:11Z Karl_Dscc quit (Remote host closed the connection) 2016-02-17T01:57:18Z lisse quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2016-02-17T01:58:57Z dreamaddict quit (Remote host closed the connection) 2016-02-17T01:59:05Z circ-user-S6w8v quit (Remote host closed the connection) 2016-02-17T02:08:21Z nisstyre quit (Ping timeout: 265 seconds) 2016-02-17T02:10:36Z _z joined #lisp 2016-02-17T02:11:13Z AJavaIdiot quit (Quit: ChatZilla 0.9.92 [Firefox 44.0.2/20160210153822]) 2016-02-17T02:12:09Z jsgrant quit (Ping timeout: 240 seconds) 2016-02-17T02:15:38Z aap_ joined #lisp 2016-02-17T02:17:55Z josteink quit (Ping timeout: 240 seconds) 2016-02-17T02:18:44Z aap quit (Ping timeout: 248 seconds) 2016-02-17T02:24:56Z josteink joined #lisp 2016-02-17T02:26:21Z test1600 quit (Quit: Leaving) 2016-02-17T02:26:26Z EvW quit (Ping timeout: 276 seconds) 2016-02-17T02:27:53Z wz1000 joined #lisp 2016-02-17T02:33:18Z ahungry quit (Remote host closed the connection) 2016-02-17T02:35:03Z _z quit (Read error: Connection reset by peer) 2016-02-17T02:35:55Z josteink quit (Ping timeout: 240 seconds) 2016-02-17T02:36:50Z Xach_ quit (Ping timeout: 276 seconds) 2016-02-17T02:37:21Z nisstyre joined #lisp 2016-02-17T02:39:48Z FreeBirdLjj quit (Remote host closed the connection) 2016-02-17T02:40:23Z FreeBirdLjj joined #lisp 2016-02-17T02:40:25Z sondr3 quit (Quit: Sleep) 2016-02-17T02:40:43Z ahungry joined #lisp 2016-02-17T02:43:38Z Xach joined #lisp 2016-02-17T02:44:16Z s00pcan__ joined #lisp 2016-02-17T02:45:01Z qubitnerd joined #lisp 2016-02-17T02:46:50Z s00pcan_ quit (Ping timeout: 250 seconds) 2016-02-17T02:48:42Z loke`` quit (Ping timeout: 250 seconds) 2016-02-17T02:50:48Z kpoi joined #lisp 2016-02-17T02:51:31Z kpoi left #lisp 2016-02-17T02:52:50Z defaultxr joined #lisp 2016-02-17T02:53:12Z loke`` joined #lisp 2016-02-17T02:54:00Z briantrice quit (Quit: briantrice) 2016-02-17T02:59:58Z briantrice joined #lisp 2016-02-17T02:59:58Z Harag quit (Read error: Connection reset by peer) 2016-02-17T03:00:53Z _sjs quit (Ping timeout: 276 seconds) 2016-02-17T03:01:11Z Harag joined #lisp 2016-02-17T03:01:17Z knobo quit (Quit: WeeChat 1.4) 2016-02-17T03:03:14Z josteink joined #lisp 2016-02-17T03:03:55Z Valjan quit (Read error: Connection reset by peer) 2016-02-17T03:08:09Z msb quit (Quit: ENOENT) 2016-02-17T03:08:46Z harish_ joined #lisp 2016-02-17T03:09:22Z emaczen: jasom: I don't think cl-js is what I was looking for.... 2016-02-17T03:09:58Z msb joined #lisp 2016-02-17T03:11:11Z jaykru quit (Read error: Connection reset by peer) 2016-02-17T03:11:25Z Sucks joined #lisp 2016-02-17T03:11:40Z lnostdal__ quit (Ping timeout: 252 seconds) 2016-02-17T03:12:31Z briantrice quit (Quit: briantrice) 2016-02-17T03:17:52Z jasom: minion: memo for dreamaddict: ironclad has pretty much every hash function you might want 2016-02-17T03:17:53Z minion: Remembered. I'll tell dreamaddict when he/she/it next speaks. 2016-02-17T03:18:00Z jasom: emaczen: too bad 2016-02-17T03:18:08Z jsgrant joined #lisp 2016-02-17T03:18:32Z Sucks quit (Read error: Connection reset by peer) 2016-02-17T03:18:43Z jasom: emaczen: I've been looking at using it to test my non-DOM dependent parenscript libraries without a browser, but haven't had time to purpose it to that yet 2016-02-17T03:18:51Z Sucks joined #lisp 2016-02-17T03:18:53Z Sucks quit (Max SendQ exceeded) 2016-02-17T03:19:16Z Sucks joined #lisp 2016-02-17T03:19:50Z emaczen: jasom: That sounds like a good usage 2016-02-17T03:20:21Z emaczen: My usage is just to get a string representation of a function to be interpreted as a function when javascript code is loaded 2016-02-17T03:21:36Z Sucks quit (Remote host closed the connection) 2016-02-17T03:21:54Z Sucks joined #lisp 2016-02-17T03:22:27Z edgar-rft quit (Quit: edgar-rft) 2016-02-17T03:23:48Z Sucks quit (Read error: Connection reset by peer) 2016-02-17T03:24:14Z Sucks joined #lisp 2016-02-17T03:27:11Z jasom: emaczen: oh, I'm not sure if parenscript has that... let me check 2016-02-17T03:27:44Z emaczen: jasom: All I need to do is remove the quotes around "(function (x) { ... })" 2016-02-17T03:28:25Z lnostdal__ joined #lisp 2016-02-17T03:28:35Z Harag quit (Read error: Connection reset by peer) 2016-02-17T03:29:20Z emaczen: I guess the trick is telling parenscript how to remove those quotes 2016-02-17T03:29:30Z d3lf0 quit 2016-02-17T03:29:55Z jasom: oh, no problem, I found the IR for that, let me just see who emits the ir 2016-02-17T03:29:56Z Harag joined #lisp 2016-02-17T03:30:02Z emaczen: IR? 2016-02-17T03:30:50Z enderby` joined #lisp 2016-02-17T03:31:49Z jasom: intermediate-representation 2016-02-17T03:32:16Z jasom: doh! there's no special operator for generating that :( 2016-02-17T03:32:58Z enderby quit (Ping timeout: 272 seconds) 2016-02-17T03:33:21Z jasom: (ps::define-expression-operator escape (string) `(ps-js:escape ,string)) ought to define one though (note I have not tested) 2016-02-17T03:33:30Z enderby`` joined #lisp 2016-02-17T03:34:08Z jasom just tested it and that works 2016-02-17T03:34:32Z jasom: (ps:ps (escape "function () {return 3;}")) => "function () {return 3;};" 2016-02-17T03:35:01Z jasom: note that "escape" is a symbol, so you'll have to use the same symbol as whichever you use for the define-expression-operator (i.e. packages matter) 2016-02-17T03:35:03Z attila_lendvai quit (Ping timeout: 240 seconds) 2016-02-17T03:35:57Z jasom: I suppose "escape" is a bad name, perhaps literal-js is better? 2016-02-17T03:35:59Z enderby` quit (Ping timeout: 276 seconds) 2016-02-17T03:36:04Z jasom: but you can name it whatever you want 2016-02-17T03:36:14Z jasom: and it might make a good feature-request for upstream 2016-02-17T03:37:30Z Sucks quit (Quit: No Ping reply in 180 seconds.) 2016-02-17T03:37:42Z emaczen: what did you bind escape to? 2016-02-17T03:37:50Z clintm: is vsedach's repo on github the canonical latest-greatest for parenscript, or is there somewhere else to look? 2016-02-17T03:38:51Z Sucks joined #lisp 2016-02-17T03:40:37Z emaczen: jasom: nevermind -- I didn't see the first form you wrote 2016-02-17T03:40:40Z csd_ quit (Ping timeout: 265 seconds) 2016-02-17T03:41:55Z Sucks quit (Read error: Connection reset by peer) 2016-02-17T03:42:17Z Sucks joined #lisp 2016-02-17T03:43:45Z emaczen: jasom: I'm still unsure how I get parenscript to remove the quotes though 2016-02-17T03:47:08Z lisse joined #lisp 2016-02-17T03:48:54Z Passer quit (Remote host closed the connection) 2016-02-17T03:51:32Z qubitnerd quit (Ping timeout: 248 seconds) 2016-02-17T03:52:52Z kushal joined #lisp 2016-02-17T03:52:58Z jasom: emaczen: use define-expression-operator to define the special operator, and then you can uset htat operator within parenscript 2016-02-17T03:53:21Z jasom: (there isn't a special operator within parenscript to do what you want, but the definition for one is trivial, and I pasted it) 2016-02-17T03:53:38Z jasom: clintm: it is latest and greatest 2016-02-17T03:57:24Z clintm: Do any of you know of a project to duplicate or extend the functionality of figwheel in CL and parenscript? I'm planning on spending a significant part of this coming weekend working on it, but if there's a project already going on, I'd rather contribute to that. figwheel is a websockets connected repl <-> the browser for clojurescript. 2016-02-17T03:57:35Z whiteline quit (Ping timeout: 265 seconds) 2016-02-17T03:57:57Z clintm: I'm pretty sure it does more than that, but that's the part I'm most interested in at the moment. 2016-02-17T03:59:53Z jasom: clintm: I thought figwheel was for hot-loading code over websockets? 2016-02-17T04:01:06Z jasom: clintm: and if that's the case, I'm not aware of any tools to do that. 2016-02-17T04:01:07Z clintm: Yep, it does that as well. :) 2016-02-17T04:01:47Z jasom: sadly lisp doesn't have a universal websockets backend a-la ring 2016-02-17T04:01:56Z clintm: I've poked around a bit in the code and watching how it works in chrome's dev tools and it seems pretty straightforward. We'll see if it proves to be. 2016-02-17T04:02:03Z jasom: clack is a fairly universal http abstraction, but it doesn't support websockets AFAIK 2016-02-17T04:02:25Z Valjan joined #lisp 2016-02-17T04:02:43Z emaczen: jasom: what is (ps:js-escape ...) -- i don't have that symbol 2016-02-17T04:03:10Z clintm: I guess I'll have to write an adapter for clack to one of the implementations. Maybe hunchensocket - maybe I can follow loosely the hunchentoot support in clack as a guide. We'll see. 2016-02-17T04:03:41Z emaczen: jasom: I'm sorry, I just really need it broken down more -- it doesn't make sense to me. 2016-02-17T04:03:55Z clintm: CL is the only language I use regularly that, when faced with a "I guess I'll have to write x", I'm excited. 2016-02-17T04:04:25Z jasom: emaczen: ps-js:escape 2016-02-17T04:04:26Z ryan_vw joined #lisp 2016-02-17T04:04:37Z jasom: not ps:js-escape 2016-02-17T04:05:01Z marusich joined #lisp 2016-02-17T04:05:36Z ryan_vw left #lisp 2016-02-17T04:06:33Z groscoe_ quit (Ping timeout: 240 seconds) 2016-02-17T04:06:38Z emaczen: Ok, I see that now, but what does it do -- if I try to evaluate it in the repl I get an undefined-function error 2016-02-17T04:06:38Z ryan_vw joined #lisp 2016-02-17T04:07:23Z jasom: it's not a function 2016-02-17T04:07:32Z jasom: it's a symbol used in the intermediate representation for parenscript 2016-02-17T04:07:47Z jasom: in parenscript special operators emit a specific IR format 2016-02-17T04:08:32Z jasom: and ps-js:escape just passes it's argument (which must be a string) straight through as raw javascript 2016-02-17T04:09:11Z Harag quit (Ping timeout: 264 seconds) 2016-02-17T04:09:39Z jasom: s/it's/its 2016-02-17T04:09:40Z Warlock_29A joined #lisp 2016-02-17T04:09:44Z enderby`` quit (Ping timeout: 250 seconds) 2016-02-17T04:11:07Z emaczen: alright, I'll try it out and see what happens. 2016-02-17T04:11:39Z emaczen: thanks, if it "passes it straight through as raw javascript" then it should be sufficient 2016-02-17T04:18:35Z arescorpio quit (Quit: Leaving.) 2016-02-17T04:22:44Z badkins quit (Remote host closed the connection) 2016-02-17T04:26:30Z emaczen: jasom: will you look at a paste? 2016-02-17T04:31:05Z AntiSpamMeta quit (Excess Flood) 2016-02-17T04:32:33Z Nikotiini joined #lisp 2016-02-17T04:32:48Z _sjs joined #lisp 2016-02-17T04:33:03Z mbuf joined #lisp 2016-02-17T04:33:18Z AntiSpamMeta joined #lisp 2016-02-17T04:35:24Z grindhold quit (Read error: Connection reset by peer) 2016-02-17T04:35:57Z grindhold joined #lisp 2016-02-17T04:39:50Z ramky joined #lisp 2016-02-17T04:40:01Z jsgrant quit (Read error: Connection reset by peer) 2016-02-17T04:42:58Z ASau quit (Ping timeout: 252 seconds) 2016-02-17T04:47:11Z BlueRavenGT joined #lisp 2016-02-17T04:56:37Z Harag joined #lisp 2016-02-17T04:59:46Z zamro joined #lisp 2016-02-17T04:59:50Z schoppenhauer1 quit (Ping timeout: 276 seconds) 2016-02-17T05:01:04Z schoppenhauer1 joined #lisp 2016-02-17T05:02:40Z vlatkoB joined #lisp 2016-02-17T05:03:09Z Wizek__ joined #lisp 2016-02-17T05:05:35Z Wizek quit (Ping timeout: 260 seconds) 2016-02-17T05:06:40Z lisse quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2016-02-17T05:06:47Z Sucks quit (Ping timeout: 264 seconds) 2016-02-17T05:19:50Z happy-dude quit (Quit: Connection closed for inactivity) 2016-02-17T05:20:14Z BlueRavenGT quit (Ping timeout: 265 seconds) 2016-02-17T05:22:03Z Wizek joined #lisp 2016-02-17T05:24:32Z whiteline joined #lisp 2016-02-17T05:24:32Z Wizek__ quit (Ping timeout: 256 seconds) 2016-02-17T05:25:26Z emaczen: (read-from-string "({ := '(function equals(p) { return x === p('x') && y === p('y');}))") 2016-02-17T05:25:43Z emaczen: ^^ why does this give me an unmatched paren condition? 2016-02-17T05:26:13Z OrangeShark quit (Quit: Leaving) 2016-02-17T05:26:34Z emaczen: an "unmatched close paren condition" to be precise 2016-02-17T05:28:26Z Nikotiini quit (Ping timeout: 252 seconds) 2016-02-17T05:30:21Z Warlock[29A] joined #lisp 2016-02-17T05:31:50Z Opodeldoc: I have no idea what that's even trying to do, but all I see is there's 1 more '{' than '}' 2016-02-17T05:32:30Z emaczen: (read-from-string "(create := '(function equals(p) { return x === p('x') && y === p('y');}))") 2016-02-17T05:33:04Z emaczen: I replaced the first "{" with ps:create 2016-02-17T05:33:34Z emaczen: Can you read that from a string yourself? I pretty much just want to ignore the '(function ...) but I do not want to wrap it in quotes. 2016-02-17T05:34:59Z Wizek quit (Ping timeout: 264 seconds) 2016-02-17T05:37:07Z zamro quit (Read error: Connection reset by peer) 2016-02-17T05:37:23Z beach joined #lisp 2016-02-17T05:37:30Z beach: Good morning everyone! 2016-02-17T05:37:40Z Opodeldoc: emaczen: ask beach :) 2016-02-17T05:38:13Z emaczen: morning beach 2016-02-17T05:38:26Z emaczen: I've got a question for you. 2016-02-17T05:38:31Z Opodeldoc: emaczen: All I can get out of it is clisp complaining about an object starting with ), but that all looks balanced to me 2016-02-17T05:39:20Z beach: emaczen: I know nothing about parenscript. 2016-02-17T05:39:55Z emaczen: beach: It is only generating parenscript, and the question is not about what gets generated 2016-02-17T05:40:05Z beach: Ask away then. 2016-02-17T05:40:49Z emaczen: (read-from-string "(ps:create := (function equals(p) { return x === p('x') && y === p('y'); }))") 2016-02-17T05:40:59Z Warlock[29A] quit (Remote host closed the connection) 2016-02-17T05:41:05Z beach: I know nothing about { in Common Lisp. 2016-02-17T05:41:09Z emaczen: ^^ Why does this expression result in a "missing closed paren condition" 2016-02-17T05:41:30Z beach: ') is not valid in Common Lisp. 2016-02-17T05:42:01Z emaczen: Let me try what I want then. 2016-02-17T05:42:02Z beach: and ; starts a comment, so the rest of the line is not read 2016-02-17T05:42:58Z emaczen: If I wrap (function ...) with quotes then everything is fine because the reader treats it as a string right? All I want to happen is for that to happen but no quotes. 2016-02-17T05:43:16Z emaczen: Sorry for the bad English... 2016-02-17T05:43:34Z emaczen: Am I making sense? 2016-02-17T05:43:43Z beach: I think it is a bad idea to attempt to use READ for that kind of thing. 2016-02-17T05:43:48Z beach: It is not meant for that. 2016-02-17T05:43:52Z Warlock[29A] joined #lisp 2016-02-17T05:44:06Z beach: What do you expect READ to do with that kind of mess? 2016-02-17T05:44:51Z Opodeldoc: http://www.cliki.net/parser%20generator ? 2016-02-17T05:45:46Z emaczen: I overrode print-object for hash-tables to give me a ({ key: value) syntax -- and then converting it to a cons by doing (read-from-string (format nil "~a" the-hash-table)) is generating the parenscript code to create javascript objects 2016-02-17T05:46:22Z Opodeldoc: ._. 2016-02-17T05:47:19Z Opodeldoc: Programmable programming languages, yes. But damn. 2016-02-17T05:47:43Z mishoo joined #lisp 2016-02-17T05:49:14Z emaczen: Is this just madness? 2016-02-17T05:49:17Z beach: Yes. 2016-02-17T05:49:38Z beach: And you didn't answer my question. 2016-02-17T05:50:00Z emaczen: I thought I did? 2016-02-17T05:50:34Z beach: Sorry to hear that. 2016-02-17T05:50:48Z emaczen: It converts that expression to a cons 2016-02-17T05:50:58Z beach: What do you expect READ to do when it sees a semicolon, other than skip the rest of the line. 2016-02-17T05:51:27Z beach: ... which is what the reader macro for semicolon does. 2016-02-17T05:51:39Z emaczen: beach: good point -- so I originally had quotes around the (function ...) 2016-02-17T05:51:57Z beach: And what do you expect READ to do when it sees ')? 2016-02-17T05:53:07Z beach: You *could* program READ to do something with your input, but it would be hard, and it is not meant for that kind of stuff. 2016-02-17T05:53:13Z Valjan quit (Remote host closed the connection) 2016-02-17T05:53:15Z emaczen: beach: can I tell READ to ignore everything in the (function ...) form? 2016-02-17T05:53:58Z Valjan joined #lisp 2016-02-17T05:54:07Z beach: You are not supposed to use READ to read some arbitrary sequence of characters. It is not meant for that kind of stuff. 2016-02-17T05:54:23Z Opodeldoc: emaczen: I think you have to mutate READ until it's nolonger useful for reading sexps, or just come up with a parser 2016-02-17T05:55:09Z Opodeldoc: Even if you get it to ignore (function ...) which will likely break the first time its contents has unbalanced parens... if it's even possible at all, there's just be more exceptional cases later 2016-02-17T05:55:14Z Opodeldoc: Write a parser :) 2016-02-17T05:55:30Z emaczen: Let me give you the big picture then... 2016-02-17T05:56:28Z emaczen: 9 months ago I wrote the classical (send obj :message) object-system 2016-02-17T05:57:23Z nowolfer joined #lisp 2016-02-17T05:58:14Z beach: Sorry to hear that. 2016-02-17T05:58:16Z emaczen: It was implemented with a labels form inside of a defun form and I implemented inheritance quickly/poorly so that each super-class was a local function in the labels form 2016-02-17T05:59:30Z emaczen: This created a lot duplication of super-classes and would turn 7000 lines of code to 70,000 -- (but everything works great except a 1 to 2 second page delay to load all 70,000 lines of code in the web-browser) 2016-02-17T06:00:04Z emaczen: So I'm basically just trying to fix it by create a hash-table to hold classes and their methods 2016-02-17T06:00:06Z bolichep quit (Ping timeout: 250 seconds) 2016-02-17T06:01:17Z beach: That doesn't explain why you are attempting to use READ to turn an arbitrary sequence of characters into Common Lisp objects. 2016-02-17T06:01:29Z beach: READ was not meant for that kind of stuff. 2016-02-17T06:01:47Z lnostdal_ joined #lisp 2016-02-17T06:01:52Z Bike: Do you just want a read/write syntax for hash tables? There's a few of those in the wild already. Or... what the hell, are you trying to read arbitrary javascript 2016-02-17T06:02:12Z nowolfer: which function should be implement if i want to implementing the original lisp? just eval? 2016-02-17T06:02:16Z Bike: Well, you can do that, but the way to do it would be to have an actual delimiter. 2016-02-17T06:02:22Z Bike: eval is basic, yes. 2016-02-17T06:03:21Z emaczen: If I just put quotes around the (function ...) form like so: (read-from-string "({ := "(function equals(p) { return x === p('x') && y === p('y'); })")") 2016-02-17T06:03:58Z emaczen: then it does everything correct except the quotes are wrapped around the (function ...) form and hence parenscript creates a string rather than a javascript function object. 2016-02-17T06:04:05Z Bike: What do you want the read-from-string call to return, exactly? 2016-02-17T06:04:07Z nowolfer: Bike: But eval can be implement using the seven basic form, isn't it? 2016-02-17T06:04:28Z Bike: mister VC's? yeah, sure. 2016-02-17T06:04:33Z beach: nowolfer: This channel is about Common Lisp. There are more than seven special operators in Common Lisp. 2016-02-17T06:04:40Z Bike: that's not how it was done historically, jsyk 2016-02-17T06:05:18Z emaczen: So read-from-string returns a cons of the form ({ key: value ...) which if I wrape in (ps:ps ...) parenscript will compile to javascript 2016-02-17T06:05:24Z lnostdal__ quit (Ping timeout: 248 seconds) 2016-02-17T06:05:53Z Bike: It returns... a cons with a hash table in it? Or what? 2016-02-17T06:06:22Z emaczen: It returns a cons with the syntax for parenscript to create a javascript object 2016-02-17T06:06:42Z Opodeldoc: ._. 2016-02-17T06:06:44Z ACE_Recliner quit (Ping timeout: 250 seconds) 2016-02-17T06:07:04Z emaczen: Opodeldoc: What is ._. ? 2016-02-17T06:07:19Z Opodeldoc: Exactly. 2016-02-17T06:07:22Z Bike: it's a face indicating a kind of fear and confusion. 2016-02-17T06:07:46Z clintm: like working with node.js 2016-02-17T06:09:15Z Bike: emacszen, i cannot figure out what you want to do, but I'm just going to say that if you want READ to work on javascript code you should properly delimit it. (function #j"equals...") or something. 2016-02-17T06:09:18Z Zhivago: Although special operator in CL just means 'not to be expanded by code-walkers'. :) 2016-02-17T06:09:51Z clintm quit (Remote host closed the connection) 2016-02-17T06:10:02Z clintm joined #lisp 2016-02-17T06:11:21Z emaczen: Bike: I'm just converting hash-tables to javascript objects -- very simple and it works except for when my values are of the form (function ...) 2016-02-17T06:11:41Z Valjan quit (Remote host closed the connection) 2016-02-17T06:12:22Z Bike: okay, so your read/write format for javascript functions is broken. are javascript functions a separate class or what? 2016-02-17T06:13:16Z sauvin joined #lisp 2016-02-17T06:13:25Z freehck joined #lisp 2016-02-17T06:14:31Z emaczen: Originally, in my hash-table I just have defun forms, but here I have already called the parenscript compiler because all I need to do is get Lisp to just copy the (function ...) form and then it will be a string in javascript code that when interpreted/compiled/loaded by the web-browser will become a javascript function object 2016-02-17T06:15:02Z Valjan joined #lisp 2016-02-17T06:15:08Z emaczen: Shall I make a paste? 2016-02-17T06:15:24Z Bike: if you want. i guess you neeed to know how to pass function text to parenscript, then. 2016-02-17T06:17:11Z emaczen: Bike: If I quote the (function ...) form like: (read-from-string "( := "(function equals(p)return x === p('x') && y === p('y');)")") 2016-02-17T06:17:31Z Bike: then you get a value that's a string, yes. 2016-02-17T06:17:34Z emaczen: Then I will have a javascript object with values as strings but I want functions 2016-02-17T06:18:14Z emaczen: Beach has made it clear though that hacking READ to do this would be painful 2016-02-17T06:18:24Z Bike: you're dealing with multiple phases here and i think there is some confusion about what is happening in which phase. 2016-02-17T06:18:48Z emaczen: I'll make the paste then 2016-02-17T06:19:28Z Bike: Presumably you can have something like a hash table with a key of "foo" and a value that's a lisp 4, and there's some kind of translator that takes the 4 and makes a javascript thing out of it, probably discriminating on the class of the value. 2016-02-17T06:20:54Z Bike: so you need to know when that translator outputs functions and what you need to input to get a function. unless i'm totally misreading this. 2016-02-17T06:21:44Z Valjan quit (Ping timeout: 276 seconds) 2016-02-17T06:25:32Z beach: Opodeldoc: Thanks for all the info. I don't think I will cite it in the paper, but it is still interesting. 2016-02-17T06:26:08Z Opodeldoc: beach: I think it's safe to assume most editing is editing ;) 2016-02-17T06:26:25Z beach: Sounds right. 2016-02-17T06:26:35Z kushal quit (Ping timeout: 240 seconds) 2016-02-17T06:26:48Z beach: Opodeldoc: Maybe you should write and submit a paper as well. 2016-02-17T06:26:58Z beach: You seem to have a lot to say. 2016-02-17T06:27:49Z Opodeldoc: beach: Maybe after some coffee. Or if boredom drives me to trying to write the interfaces to make it network transparent for shits and giggles hah 2016-02-17T06:27:57Z beach: The reference on keystroke statistics is probably not good enough, because all I claim is that operations are "close", and such statistics were not collected it seems. 2016-02-17T06:27:57Z Opodeldoc: I'd just use NFS for that though really. 2016-02-17T06:28:53Z beach takes a break. 2016-02-17T06:29:52Z emaczen: http://paste.lisp.org/+6L8P. -- here it is, let me know if you have questions 2016-02-17T06:32:26Z Bike: emaczen: so you have a function t hat takes a hash table where values are the output from ps:ps and returns javascript code to produce something like that hash table? 2016-02-17T06:33:33Z Opodeldoc: beach: I wound up starting to read Finseth's Craft of Text Editing, something about it is oddly addicting 2016-02-17T06:34:47Z emaczen: Bike: Yes, I should maybe clarify that I only need to generate the parenscript code (which is what my overloaded print-object method specialized on hash-table essentially does) and then parenscript will create the javascript. 2016-02-17T06:35:26Z Bike: Okay. So why does this involve the reader at all? 2016-02-17T06:35:36Z Bike: You like... print out the hash table, and then immediately read it again? Do I have that right? 2016-02-17T06:35:43Z emaczen: The (read-from-string (format nil "~a" ...)) just converts the types and works, but not when the values are functions 2016-02-17T06:35:44Z emaczen: Yes 2016-02-17T06:35:50Z Bike: Why are you doing that? 2016-02-17T06:36:11Z emaczen: Because it was a quick solution for hash-tables that didn't have function values. 2016-02-17T06:36:23Z Bike: Okay so my advice is do something else. 2016-02-17T06:36:29Z ACE_Recliner joined #lisp 2016-02-17T06:36:42Z emaczen: Hah yeah I agree... 2016-02-17T06:37:44Z Bike: All the values in this hash table are strings, right? Strings output by ps? 2016-02-17T06:40:57Z nowolfer quit (Ping timeout: 265 seconds) 2016-02-17T06:41:01Z emaczen: No, it does numbers correctly too 2016-02-17T06:41:10Z emaczen: It does numbers and lists 2016-02-17T06:41:21Z Bike: Are they lisp numbers or strings representing numbers? 2016-02-17T06:41:30Z nowolfer joined #lisp 2016-02-17T06:41:53Z emaczen: (ps:ps '(1 2 3)) => [1, 2, 3] 2016-02-17T06:41:57Z kushal joined #lisp 2016-02-17T06:41:59Z emaczen: Is an example 2016-02-17T06:42:07Z Bike: that's not a lisp value. 2016-02-17T06:42:31Z d4ryus is now known as Guest24821 2016-02-17T06:42:31Z d4ryus_ joined #lisp 2016-02-17T06:42:31Z Guest24821 quit (Killed (tepper.freenode.net (Nickname regained by services))) 2016-02-17T06:42:31Z d4ryus_ is now known as d4ryus 2016-02-17T06:42:33Z emaczen: I'm just trying to convert to javascript object syntax 2016-02-17T06:43:01Z emaczen: and (function ...) without quotes around it will give me a javascript function object. 2016-02-17T06:43:04Z Bike: (type-of (ps:ps '(1 2 3))) => STRING. so all your values in your lisp hash table are lisp strings. okay. i think this is easy then, assuming you hav esomething to strop the semicolon I just got. 2016-02-17T06:43:34Z emaczen: Okay, then yes everything is a string 2016-02-17T06:47:28Z emaczen: But it has to be a cons to pass to (ps:ps ...) 2016-02-17T06:47:45Z Bike: You already passed it through parenscript, why do it again? 2016-02-17T06:48:08Z emaczen: I've only passed the defun forms through 2016-02-17T06:48:32Z Bike: So the values in the hash tables AREN'T ps output? 2016-02-17T06:50:28Z emaczen: Only the functions 2016-02-17T06:54:56Z Bike: emaczen: okay, so other than the extra comma, why does this not work? http://paste.lisp.org/+6L8P/1 2016-02-17T06:56:54Z DeadTrickster_ joined #lisp 2016-02-17T06:58:43Z emaczen: The return type of hash->js is a string right? 2016-02-17T06:59:14Z Bike: Actually I just had it write to a stream, but yeah it outputs a string, essentially. 2016-02-17T07:00:18Z Bike: oh, javascript allows the worthless comma, how convenient for me 2016-02-17T07:00:26Z emaczen: haha 2016-02-17T07:00:32Z NNaNDude joined #lisp 2016-02-17T07:00:50Z emaczen: So I only have the defuns done ahead of time. 2016-02-17T07:01:06Z Bike: i don't see a point in distinguishing functions from other values like that. 2016-02-17T07:01:19Z Bike: the nail that stands out gets hammered down 2016-02-17T07:01:40Z emaczen: Bike: I agree -- I just went down a rabbit hole 2016-02-17T07:01:47Z NaNDude quit (Read error: Connection reset by peer) 2016-02-17T07:01:56Z emaczen: I kept "hacking" at something that isn't worth hacking at. 2016-02-17T07:02:07Z Bike: yeah, you gotta know when to fold 2016-02-17T07:02:38Z Bike: for me, taking a side road through writing my own parser for data->data conversion is usually a good indication to do something else 2016-02-17T07:04:15Z emaczen: Hah yeah... 2016-02-17T07:05:08Z Don_John quit (Quit: Later) 2016-02-17T07:05:11Z emaczen: Part of it, is that this project is "done" other than me fixing my poorly written object-system (if you saw my earlier ranting I was telling beach about) and I just want to be completely done! 2016-02-17T07:05:19Z emaczen: Bike: Thanks for the sanity restoration 2016-02-17T07:05:23Z Don_John joined #lisp 2016-02-17T07:05:24Z angavrilov joined #lisp 2016-02-17T07:06:30Z beach: Opodeldoc: I haven't read it in detail, but maybe I will one day. 2016-02-17T07:06:34Z zRecursive joined #lisp 2016-02-17T07:06:35Z Bike: mhm 2016-02-17T07:07:53Z Opodeldoc: beach: Most the code in it's in C. Nothing really earth shattering in it, I'm just amused at things like thinking 100kb is "large" 2016-02-17T07:08:14Z beach: Heh, yes, I see. 2016-02-17T07:08:32Z Opodeldoc: "As I write this chapter, it occupies about 60 Kilobyes of the roughly 100 Kilobytes of free RAM disk space on my lap-top computer. I simply don't have the room to store what amounts to both the "old" and "new" versions at once." 2016-02-17T07:09:20Z Bike: wow, i don't know if i've ever seen "laptop" hyphenated like that before 2016-02-17T07:10:44Z emaczen quit (Ping timeout: 252 seconds) 2016-02-17T07:10:49Z |3b|: clintm: at one point https://github.com/3b/slime-proxy let me interact with parenscript code running on browser(s) from slime, it has probably bitrotted quite a bit since then though :( 2016-02-17T07:10:56Z emaczen joined #lisp 2016-02-17T07:12:39Z Opodeldoc quit (Read error: Connection reset by peer) 2016-02-17T07:13:32Z beach left #lisp 2016-02-17T07:16:31Z xrash quit (Remote host closed the connection) 2016-02-17T07:19:03Z mathrick quit (Ping timeout: 240 seconds) 2016-02-17T07:22:40Z Mon_Ouie quit (Ping timeout: 260 seconds) 2016-02-17T07:27:22Z mishoo: |3b|: any chance to look into this? https://github.com/3b/clws/issues/12 2016-02-17T07:28:33Z Opodeldoc joined #lisp 2016-02-17T07:36:22Z flambard joined #lisp 2016-02-17T07:41:02Z quazimodo quit (Ping timeout: 276 seconds) 2016-02-17T07:43:38Z HDurer quit (Ping timeout: 276 seconds) 2016-02-17T07:44:25Z Don_John quit (Read error: Connection reset by peer) 2016-02-17T07:44:50Z mathrick joined #lisp 2016-02-17T07:49:30Z mvilleneuve joined #lisp 2016-02-17T07:51:34Z manfoo7 joined #lisp 2016-02-17T07:51:44Z HDurer joined #lisp 2016-02-17T07:54:13Z Ven joined #lisp 2016-02-17T07:54:44Z varjag joined #lisp 2016-02-17T07:56:07Z quazimodo joined #lisp 2016-02-17T07:56:26Z harish_ quit (Ping timeout: 272 seconds) 2016-02-17T07:56:58Z Beetny joined #lisp 2016-02-17T07:58:38Z Ven_ joined #lisp 2016-02-17T08:00:39Z Munksgaard1 joined #lisp 2016-02-17T08:01:08Z Cymew joined #lisp 2016-02-17T08:02:13Z ASau joined #lisp 2016-02-17T08:02:18Z mastokley quit (Ping timeout: 250 seconds) 2016-02-17T08:02:38Z Ven quit (Ping timeout: 265 seconds) 2016-02-17T08:02:44Z _sjs quit (Ping timeout: 248 seconds) 2016-02-17T08:05:02Z fugue joined #lisp 2016-02-17T08:05:31Z tralala joined #lisp 2016-02-17T08:06:49Z |3b|: mishoo: added a reply to the issue 2016-02-17T08:07:00Z earl-ducaine_ quit (Ping timeout: 260 seconds) 2016-02-17T08:07:01Z nikki93 quit (Remote host closed the connection) 2016-02-17T08:07:07Z AlphaAtom joined #lisp 2016-02-17T08:07:38Z ralt: |3b|: https://github.com/johnmastro/trident-mode.el 2016-02-17T08:08:11Z ralt: (for parenscript live evaluation in the browser, while staying in your repl.) 2016-02-17T08:08:26Z |3b|: ralt: direct that to whoever wanted it, not me :p 2016-02-17T08:08:36Z |3b| already has a solution, but doesn't want it at the moment 2016-02-17T08:09:30Z ralt: clintm ^ 2016-02-17T08:10:52Z moei quit (Quit: Leaving...) 2016-02-17T08:11:21Z |3b| would probably look into the remote-debugger features in various browsers if i were wanting that now, though the cross-platform-ness of just going through ws is nice 2016-02-17T08:11:35Z emaczen quit (Ping timeout: 240 seconds) 2016-02-17T08:13:38Z gravicappa joined #lisp 2016-02-17T08:18:06Z ACE_Recliner quit (Ping timeout: 265 seconds) 2016-02-17T08:20:21Z prohobo joined #lisp 2016-02-17T08:21:32Z malbertife joined #lisp 2016-02-17T08:22:07Z quazimodo quit (Read error: No route to host) 2016-02-17T08:22:21Z malbertife quit (Client Quit) 2016-02-17T08:23:35Z aerique joined #lisp 2016-02-17T08:32:56Z plertrood joined #lisp 2016-02-17T08:33:57Z igam joined #lisp 2016-02-17T08:36:17Z fugue quit (Read error: Connection reset by peer) 2016-02-17T08:37:22Z csd_ joined #lisp 2016-02-17T08:38:14Z ASau quit (Ping timeout: 276 seconds) 2016-02-17T08:38:23Z fugue joined #lisp 2016-02-17T08:38:28Z fugue left #lisp 2016-02-17T08:39:12Z ASau joined #lisp 2016-02-17T08:39:20Z fugue_ joined #lisp 2016-02-17T08:39:33Z fugue_ left #lisp 2016-02-17T08:41:35Z csd_ quit (Ping timeout: 240 seconds) 2016-02-17T08:41:47Z TMM quit (Quit: Ex-Chat) 2016-02-17T08:44:52Z nowolfer quit (Ping timeout: 248 seconds) 2016-02-17T08:46:29Z oleo quit (Quit: Verlassend) 2016-02-17T08:47:59Z qubitnerd joined #lisp 2016-02-17T08:47:59Z ysz joined #lisp 2016-02-17T08:49:23Z HDurer quit (Ping timeout: 264 seconds) 2016-02-17T08:50:08Z jackdaniel: is there a way (using bordeaux-thread), to verify if the lock is held by any thread? 2016-02-17T08:50:20Z jackdaniel didn't found anything like that in the API 2016-02-17T08:50:32Z quazimodo joined #lisp 2016-02-17T08:51:19Z zRecursive left #lisp 2016-02-17T08:51:53Z _death: there's a wait-p optional.. but what you're asking for is susceptible to race conditions 2016-02-17T08:53:32Z jackdaniel: it's very specific use-case, so there shouldn't be a problem with that (hopefully) 2016-02-17T08:53:59Z jackdaniel: but wait-p signals an error (well, I can handle it of course, that's what I'll probably do) 2016-02-17T08:54:48Z Shinmera joined #lisp 2016-02-17T08:56:33Z JitanRo joined #lisp 2016-02-17T08:57:07Z jackdaniel: a, nvm, I did it from the same thread (it doesn't signal a condition form the other one) 2016-02-17T08:57:10Z jackdaniel: all clear, thanks 2016-02-17T08:57:18Z jackdaniel: s/form/from/ 2016-02-17T08:59:55Z ysz quit (Quit: This computer has gone to sleep) 2016-02-17T09:00:10Z HDurer joined #lisp 2016-02-17T09:04:31Z harish_ joined #lisp 2016-02-17T09:04:33Z HDurer quit (Ping timeout: 240 seconds) 2016-02-17T09:07:43Z nikki93 joined #lisp 2016-02-17T09:08:28Z l1x quit (Quit: Updating details, brb) 2016-02-17T09:08:38Z l1x joined #lisp 2016-02-17T09:09:42Z otwieracz: Hey! 2016-02-17T09:09:52Z armenbadal joined #lisp 2016-02-17T09:10:04Z otwieracz: I am having some issue with streams in CCL (working fine in SBCL, but not sure if it's correct): 2016-02-17T09:10:51Z otwieracz: with (with-temporary-file) I open temporary file. Then, I do uiop:run-program and this program will write something into temporary-path from with-temporary-file 2016-02-17T09:10:51Z probnyj joined #lisp 2016-02-17T09:10:59Z probnyj quit (Remote host closed the connection) 2016-02-17T09:11:36Z otwieracz: And then, in SBCL I am able to read contents of this file using stream opened with with-temporary-file just after the command finishes. 2016-02-17T09:11:43Z jackdaniel quit (Ping timeout: 240 seconds) 2016-02-17T09:11:49Z otwieracz: While in CCL this stream is empty. 2016-02-17T09:12:47Z nikki93 quit (Ping timeout: 264 seconds) 2016-02-17T09:12:51Z otwieracz: But when in body of with-open-file I do (with-open-file), then I am able read contents of the file. 2016-02-17T09:13:00Z otwieracz: Should I somehow rewind this stream? 2016-02-17T09:13:42Z HDurer joined #lisp 2016-02-17T09:15:38Z Shinmera: You can try setting file-position to :start 2016-02-17T09:16:42Z knicklux joined #lisp 2016-02-17T09:17:03Z otwieracz: OK, let's try. 2016-02-17T09:17:39Z otwieracz: Nope – still empty. 2016-02-17T09:18:40Z nikki93 joined #lisp 2016-02-17T09:20:08Z william3 joined #lisp 2016-02-17T09:21:39Z jackdaniel joined #lisp 2016-02-17T09:22:41Z otwieracz: Under CCL „(file-length output-stream)” returns 0, in SBCL - 6. 2016-02-17T09:22:49Z ysz joined #lisp 2016-02-17T09:23:25Z nikki93 quit (Ping timeout: 260 seconds) 2016-02-17T09:24:42Z armenbadal left #lisp 2016-02-17T09:27:27Z marusich quit (Quit: Leaving) 2016-02-17T09:29:57Z william3 quit (Remote host closed the connection) 2016-02-17T09:30:13Z Karl_Dscc joined #lisp 2016-02-17T09:33:44Z zotherstupidguy joined #lisp 2016-02-17T09:34:30Z nopf quit (Remote host closed the connection) 2016-02-17T09:34:46Z haasn quit (Quit: haasn) 2016-02-17T09:34:54Z ggole joined #lisp 2016-02-17T09:35:35Z qubitnerd quit (Ping timeout: 264 seconds) 2016-02-17T09:37:53Z scymtym_: otwieracz: did you try FINISH-OUTPUT before reading? 2016-02-17T09:38:49Z quazimodo quit (Ping timeout: 265 seconds) 2016-02-17T09:39:35Z otwieracz: Yep. 2016-02-17T09:39:48Z otwieracz: But the file I had stream to is filled in by different process. 2016-02-17T09:40:54Z quazimodo joined #lisp 2016-02-17T09:42:14Z william3 joined #lisp 2016-02-17T09:42:55Z qubitnerd joined #lisp 2016-02-17T09:46:26Z william3 quit (Ping timeout: 250 seconds) 2016-02-17T09:46:55Z earl-ducaine_ joined #lisp 2016-02-17T09:47:11Z UtkarshRay joined #lisp 2016-02-17T09:49:56Z earl-ducaine quit (Ping timeout: 248 seconds) 2016-02-17T09:52:36Z Warlock[29A] quit (*.net *.split) 2016-02-17T09:52:37Z Warlock_29A quit (*.net *.split) 2016-02-17T09:52:37Z jtz quit (*.net *.split) 2016-02-17T09:52:37Z SHODAN quit (*.net *.split) 2016-02-17T09:52:37Z vlnx quit (*.net *.split) 2016-02-17T09:52:37Z zaquest quit (*.net *.split) 2016-02-17T09:52:37Z froggey quit (*.net *.split) 2016-02-17T09:52:37Z easye quit (*.net *.split) 2016-02-17T09:52:37Z faheem quit (*.net *.split) 2016-02-17T09:52:37Z bege quit (*.net *.split) 2016-02-17T09:52:38Z arpunk quit (*.net *.split) 2016-02-17T09:52:38Z ircbrows- quit (*.net *.split) 2016-02-17T09:52:38Z rvirding quit (*.net *.split) 2016-02-17T09:52:38Z sfa_ quit (*.net *.split) 2016-02-17T09:52:38Z dwchandler quit (*.net *.split) 2016-02-17T09:52:38Z segmond quit (*.net *.split) 2016-02-17T09:52:38Z lemoinem quit (*.net *.split) 2016-02-17T09:52:38Z sz0 quit (*.net *.split) 2016-02-17T09:52:38Z pok quit (*.net *.split) 2016-02-17T09:52:38Z tanuzzo quit (*.net *.split) 2016-02-17T09:52:38Z nightfly_ quit (*.net *.split) 2016-02-17T09:52:38Z drmeister quit (*.net *.split) 2016-02-17T09:52:38Z seg quit (*.net *.split) 2016-02-17T09:52:38Z pootler_ quit (*.net *.split) 2016-02-17T09:52:38Z d4gg4d quit (*.net *.split) 2016-02-17T09:52:38Z failproofshark quit (*.net *.split) 2016-02-17T09:52:39Z neuri8- quit (*.net *.split) 2016-02-17T09:52:39Z jsnell_ quit (*.net *.split) 2016-02-17T09:52:39Z misv quit (*.net *.split) 2016-02-17T09:52:39Z ggherdov_ quit (*.net *.split) 2016-02-17T09:52:39Z kalzz quit (*.net *.split) 2016-02-17T09:52:39Z killmaster quit (*.net *.split) 2016-02-17T09:52:39Z technik quit (*.net *.split) 2016-02-17T09:52:39Z fe[nl]ix quit (*.net *.split) 2016-02-17T09:52:39Z Blkt quit (*.net *.split) 2016-02-17T09:52:39Z pjb quit (*.net *.split) 2016-02-17T09:52:39Z specbot quit (*.net *.split) 2016-02-17T09:52:39Z kini quit (*.net *.split) 2016-02-17T09:52:40Z musegarden3 quit (*.net *.split) 2016-02-17T09:52:40Z luis quit (*.net *.split) 2016-02-17T09:52:40Z eagleflo quit (*.net *.split) 2016-02-17T09:52:40Z asedeno quit (*.net *.split) 2016-02-17T09:52:40Z alms_clozure quit (*.net *.split) 2016-02-17T09:52:41Z oGMo quit (*.net *.split) 2016-02-17T09:52:41Z karbak quit (*.net *.split) 2016-02-17T09:52:41Z MikeSeth quit (*.net *.split) 2016-02-17T09:52:41Z tiago quit (*.net *.split) 2016-02-17T09:52:41Z sekrit quit (*.net *.split) 2016-02-17T09:52:48Z easye joined #lisp 2016-02-17T09:52:50Z pjb joined #lisp 2016-02-17T09:52:50Z fe[nl]ix joined #lisp 2016-02-17T09:52:50Z Blkt joined #lisp 2016-02-17T09:52:50Z prohobo: HOLY JESUS BALLS 2016-02-17T09:52:50Z specbot joined #lisp 2016-02-17T09:52:50Z sfa joined #lisp 2016-02-17T09:52:51Z ircbrowse joined #lisp 2016-02-17T09:52:54Z nightfly_ joined #lisp 2016-02-17T09:52:54Z misv joined #lisp 2016-02-17T09:52:55Z eagleflo joined #lisp 2016-02-17T09:52:55Z SHODAN joined #lisp 2016-02-17T09:52:55Z lemoinem joined #lisp 2016-02-17T09:52:56Z oGMo joined #lisp 2016-02-17T09:52:56Z jtz joined #lisp 2016-02-17T09:52:58Z froggey joined #lisp 2016-02-17T09:52:58Z tiago joined #lisp 2016-02-17T09:52:58Z failproofshark joined #lisp 2016-02-17T09:52:58Z killmaster joined #lisp 2016-02-17T09:53:00Z zaquest joined #lisp 2016-02-17T09:53:01Z karbak joined #lisp 2016-02-17T09:53:02Z technik joined #lisp 2016-02-17T09:53:05Z neuri8 joined #lisp 2016-02-17T09:53:05Z bege joined #lisp 2016-02-17T09:53:06Z luis joined #lisp 2016-02-17T09:53:06Z MikeSeth joined #lisp 2016-02-17T09:53:14Z jsnell joined #lisp 2016-02-17T09:53:16Z dwchandler joined #lisp 2016-02-17T09:53:22Z segmond joined #lisp 2016-02-17T09:53:26Z musegarden3 joined #lisp 2016-02-17T09:53:31Z arpunk joined #lisp 2016-02-17T09:53:46Z william3 joined #lisp 2016-02-17T09:53:56Z seg joined #lisp 2016-02-17T09:54:31Z AntiSpamMeta_ joined #lisp 2016-02-17T09:54:31Z AntiSpamMeta quit (Killed (wilhelm.freenode.net (Nickname regained by services))) 2016-02-17T09:54:31Z AntiSpamMeta_ is now known as AntiSpamMeta 2016-02-17T09:55:18Z kini joined #lisp 2016-02-17T09:55:34Z qubitnerd quit (Ping timeout: 272 seconds) 2016-02-17T09:55:37Z sekrit joined #lisp 2016-02-17T09:55:40Z yuankode joined #lisp 2016-02-17T09:55:41Z Opodeldoc: Ride it like a surfboard. 2016-02-17T09:56:28Z kalzz joined #lisp 2016-02-17T09:56:42Z AeroNotix quit (Ping timeout: 250 seconds) 2016-02-17T09:57:06Z tanuzzo joined #lisp 2016-02-17T09:58:02Z srcerer quit (Ping timeout: 272 seconds) 2016-02-17T09:58:48Z pok joined #lisp 2016-02-17T09:59:52Z alms_clozure joined #lisp 2016-02-17T10:00:02Z vlnx joined #lisp 2016-02-17T10:01:00Z almih joined #lisp 2016-02-17T10:01:32Z sz0 joined #lisp 2016-02-17T10:01:49Z AeroNotix joined #lisp 2016-02-17T10:02:05Z asedeno joined #lisp 2016-02-17T10:02:26Z aap_ is now known as aap 2016-02-17T10:03:33Z asedeno quit (*.net *.split) 2016-02-17T10:03:33Z tanuzzo quit (*.net *.split) 2016-02-17T10:03:33Z william3 quit (*.net *.split) 2016-02-17T10:03:34Z fe[nl]ix quit (*.net *.split) 2016-02-17T10:03:34Z Blkt quit (*.net *.split) 2016-02-17T10:03:34Z easye quit (*.net *.split) 2016-02-17T10:03:34Z pjb quit (*.net *.split) 2016-02-17T10:03:34Z knicklux quit (*.net *.split) 2016-02-17T10:03:34Z ASau quit (*.net *.split) 2016-02-17T10:03:34Z aerique quit (*.net *.split) 2016-02-17T10:03:34Z manfoo7 quit (*.net *.split) 2016-02-17T10:03:35Z NNaNDude quit (*.net *.split) 2016-02-17T10:03:35Z defaultxr quit (*.net *.split) 2016-02-17T10:03:35Z FreeBirdLjj quit (*.net *.split) 2016-02-17T10:03:35Z huitzilopochtli quit (*.net *.split) 2016-02-17T10:03:35Z newcup quit (*.net *.split) 2016-02-17T10:03:35Z profess quit (*.net *.split) 2016-02-17T10:03:35Z lonjil quit (*.net *.split) 2016-02-17T10:03:35Z jdz quit (*.net *.split) 2016-02-17T10:03:43Z lonjil joined #lisp 2016-02-17T10:03:47Z Blkt joined #lisp 2016-02-17T10:03:51Z stepnem joined #lisp 2016-02-17T10:03:57Z fe[nl]ix joined #lisp 2016-02-17T10:04:04Z manfoo7 joined #lisp 2016-02-17T10:04:08Z ASau joined #lisp 2016-02-17T10:04:10Z william3 joined #lisp 2016-02-17T10:04:16Z FreeBirdLjj joined #lisp 2016-02-17T10:04:24Z defaultxr joined #lisp 2016-02-17T10:04:27Z knicklux joined #lisp 2016-02-17T10:04:28Z aerique joined #lisp 2016-02-17T10:05:08Z lannart joined #lisp 2016-02-17T10:05:08Z NaNDude joined #lisp 2016-02-17T10:05:11Z jdz joined #lisp 2016-02-17T10:05:41Z pootler_ joined #lisp 2016-02-17T10:06:06Z plertrood quit (Read error: Connection reset by peer) 2016-02-17T10:06:08Z profess joined #lisp 2016-02-17T10:06:13Z huitzilopochtli joined #lisp 2016-02-17T10:07:01Z rvirding joined #lisp 2016-02-17T10:07:01Z drmeister joined #lisp 2016-02-17T10:07:23Z nowolfer joined #lisp 2016-02-17T10:07:32Z mbuf quit (Ping timeout: 248 seconds)