2017-06-13T00:05:35Z cggong joined #lisp 2017-06-13T00:14:38Z ebrasca quit (Remote host closed the connection) 2017-06-13T00:15:18Z MrWoohoo joined #lisp 2017-06-13T00:16:19Z segmond joined #lisp 2017-06-13T00:22:38Z segmond quit (Quit: l8r) 2017-06-13T00:22:38Z EvW1 quit (Ping timeout: 255 seconds) 2017-06-13T00:23:09Z segmond joined #lisp 2017-06-13T00:31:13Z Merv_ joined #lisp 2017-06-13T00:37:27Z drcode joined #lisp 2017-06-13T00:37:57Z pareidolia quit (Ping timeout: 245 seconds) 2017-06-13T00:39:04Z zeroish joined #lisp 2017-06-13T00:40:31Z quazimodo joined #lisp 2017-06-13T00:40:46Z pareidolia joined #lisp 2017-06-13T00:43:08Z zeroish quit (Ping timeout: 240 seconds) 2017-06-13T00:43:46Z cromachina joined #lisp 2017-06-13T00:44:44Z pve quit (Ping timeout: 268 seconds) 2017-06-13T00:48:35Z cggong quit (Quit: cggong) 2017-06-13T00:49:25Z kmb quit (Quit: kmb) 2017-06-13T00:53:59Z quazimodo quit (Ping timeout: 268 seconds) 2017-06-13T00:57:08Z arescorpio joined #lisp 2017-06-13T00:59:27Z quazimodo joined #lisp 2017-06-13T01:02:30Z diegs_ quit (Ping timeout: 240 seconds) 2017-06-13T01:03:16Z flavio81 joined #lisp 2017-06-13T01:06:19Z Merv_ quit (Ping timeout: 268 seconds) 2017-06-13T01:08:36Z cggong joined #lisp 2017-06-13T01:11:06Z daemoz_ quit (Remote host closed the connection) 2017-06-13T01:11:25Z daemoz_ joined #lisp 2017-06-13T01:11:36Z emacsomancer joined #lisp 2017-06-13T01:12:08Z trocado quit (Ping timeout: 246 seconds) 2017-06-13T01:16:59Z phinxy quit (Quit: Leaving) 2017-06-13T01:19:01Z arbv quit (Ping timeout: 255 seconds) 2017-06-13T01:19:50Z Lowl3v3l quit (Remote host closed the connection) 2017-06-13T01:33:38Z shdeng joined #lisp 2017-06-13T01:36:28Z flavio81 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2017-06-13T01:36:44Z flavio81 joined #lisp 2017-06-13T01:37:56Z quazimodo quit (Ping timeout: 260 seconds) 2017-06-13T01:40:03Z zeroish joined #lisp 2017-06-13T01:44:10Z zeroish quit (Ping timeout: 240 seconds) 2017-06-13T01:45:04Z deba5e12 quit (Ping timeout: 255 seconds) 2017-06-13T01:47:04Z deba5e12 joined #lisp 2017-06-13T01:51:40Z deba5e12 quit (Ping timeout: 240 seconds) 2017-06-13T01:53:30Z deba5e12 joined #lisp 2017-06-13T01:55:17Z butter_the_buddh joined #lisp 2017-06-13T02:01:49Z Merv_ joined #lisp 2017-06-13T02:08:52Z vtomole joined #lisp 2017-06-13T02:09:57Z brendyn quit (Ping timeout: 240 seconds) 2017-06-13T02:10:22Z jameser joined #lisp 2017-06-13T02:22:59Z Ukari joined #lisp 2017-06-13T02:24:05Z knusbaum joined #lisp 2017-06-13T02:28:10Z knusbaum quit (Ping timeout: 240 seconds) 2017-06-13T02:30:48Z butter_the_buddh quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-06-13T02:33:47Z butter_the_buddh joined #lisp 2017-06-13T02:34:50Z Merv_ quit (Ping timeout: 240 seconds) 2017-06-13T02:35:48Z diegs_ joined #lisp 2017-06-13T02:36:05Z knusbaum joined #lisp 2017-06-13T02:41:06Z zeroish joined #lisp 2017-06-13T02:41:39Z vtomole quit (Ping timeout: 260 seconds) 2017-06-13T02:43:49Z flavio81 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2017-06-13T02:44:05Z flavio81 joined #lisp 2017-06-13T02:45:44Z flavio81 left #lisp 2017-06-13T02:51:53Z anon joined #lisp 2017-06-13T02:52:16Z anon is now known as Guest67551 2017-06-13T02:56:18Z cggong quit (Quit: cggong) 2017-06-13T02:57:13Z S1ohy joined #lisp 2017-06-13T02:59:55Z prole quit (Remote host closed the connection) 2017-06-13T02:59:59Z _rumbler31 joined #lisp 2017-06-13T03:04:30Z _rumbler31 quit (Ping timeout: 240 seconds) 2017-06-13T03:07:23Z vtomole joined #lisp 2017-06-13T03:09:10Z knusbaum quit (Ping timeout: 240 seconds) 2017-06-13T03:09:25Z cggong joined #lisp 2017-06-13T03:15:07Z zeroish quit (Ping timeout: 255 seconds) 2017-06-13T03:15:17Z diegs_ quit (Quit: WeeChat 1.9-dev) 2017-06-13T03:16:40Z daemoz_: You guys heard of ABCL? Any thoughts on it? 2017-06-13T03:16:48Z daemoz_ is now known as daemoz 2017-06-13T03:24:07Z FreeBirdLjj joined #lisp 2017-06-13T03:28:46Z FreeBirdLjj quit (Ping timeout: 268 seconds) 2017-06-13T03:29:44Z plll joined #lisp 2017-06-13T03:30:16Z plll quit (Client Quit) 2017-06-13T03:31:47Z Merv_ joined #lisp 2017-06-13T03:32:46Z cggong quit (Quit: cggong) 2017-06-13T03:33:25Z manuel__ quit (Quit: manuel__) 2017-06-13T03:37:27Z schoppenhauer quit (Ping timeout: 240 seconds) 2017-06-13T03:39:16Z schoppenhauer joined #lisp 2017-06-13T03:39:49Z brendyn joined #lisp 2017-06-13T03:42:25Z vtomole quit (Quit: Page closed) 2017-06-13T03:44:35Z deba5e12 quit (Ping timeout: 240 seconds) 2017-06-13T03:45:11Z pjb: daemoz: what do you know of abcl? What's your thoughts on it? 2017-06-13T03:49:15Z akkad: daemoz: #abcl is apropos 2017-06-13T03:50:48Z vtomole joined #lisp 2017-06-13T03:50:59Z vtomole: What does "STYLE-WARNING: using deprecated EVAL-WHEN situation names COMPILE" mean? 2017-06-13T03:50:59Z minion: vtomole, memo from beach: I improved the SICL README https://github.com/robert-strandh/SICL so that it now contains instructions for starting a REPL. Please check it out and give me feedback. 2017-06-13T03:55:20Z Bike: clhs eval-when 2017-06-13T03:55:20Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/s_eval_w.htm 2017-06-13T03:56:02Z Bike: "The use of eval, compile, and load is deprecated." [you're supposed to use :execute, :compile-toplevel, and :load-toplevel instead, resp.] 2017-06-13T03:56:45Z knusbaum joined #lisp 2017-06-13T03:57:22Z sondr3 quit (Ping timeout: 255 seconds) 2017-06-13T03:59:07Z vtomole: Bike: I have used those: (eval-when (:compile-toplevel :load-toplevel :execute) (defparameter *ending-tag* "")) 2017-06-13T04:00:50Z knusbaum quit (Ping timeout: 240 seconds) 2017-06-13T04:02:31Z vtomole: beach: Number 7 on the instructions "(defparameter *b* ...)" to load the REPL gives me an error: The name NIL does not designate any package. 2017-06-13T04:03:02Z Bike: well, just ignore it then 2017-06-13T04:05:03Z Merv_ quit (Ping timeout: 255 seconds) 2017-06-13T04:07:05Z Ukari quit (Ping timeout: 240 seconds) 2017-06-13T04:11:33Z zeroish joined #lisp 2017-06-13T04:12:08Z fiddlerwoaroof: Are there any tools for diffing s-expressions? 2017-06-13T04:12:48Z fiddlerwoaroof: I'm trying to merge my .emacs between computers and "normal" diff is being annoying 2017-06-13T04:15:11Z Bike quit (Ping timeout: 246 seconds) 2017-06-13T04:17:22Z butter_the_buddh quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-06-13T04:22:21Z rumbler31 quit (Remote host closed the connection) 2017-06-13T04:27:24Z Arcaelyx_ is now known as Arcaelyx 2017-06-13T04:27:25Z arescorpio quit (Quit: Leaving.) 2017-06-13T04:30:39Z butter_the_buddh joined #lisp 2017-06-13T04:31:13Z Kevslinger quit (Quit: Connection closed for inactivity) 2017-06-13T04:31:53Z pillton: fiddlerwoaroof: Alternatively, you can use the system-name function to load the "right" initialisation file. 2017-06-13T04:41:35Z sbodin quit (Ping timeout: 240 seconds) 2017-06-13T04:41:38Z rumbler31 joined #lisp 2017-06-13T04:43:30Z knobo quit (Ping timeout: 240 seconds) 2017-06-13T04:44:30Z zeroish quit (Ping timeout: 240 seconds) 2017-06-13T04:45:50Z rumbler31 quit (Ping timeout: 240 seconds) 2017-06-13T04:46:28Z Ukari joined #lisp 2017-06-13T04:46:29Z Ukari quit (Client Quit) 2017-06-13T04:48:04Z rumbler31 joined #lisp 2017-06-13T04:51:25Z emacsoma` joined #lisp 2017-06-13T04:52:31Z rumbler31 quit (Ping timeout: 246 seconds) 2017-06-13T04:52:45Z emacsomancer quit (Ping timeout: 255 seconds) 2017-06-13T04:55:04Z daemoz: pjb: Semes interesting. I wonder about how it's implemented. Does it use a different garbage collector? 2017-06-13T04:55:45Z sondr3 joined #lisp 2017-06-13T04:58:39Z fiddlerwoaroof: daemoz: I've used abcl a bit, my current job involves lots of JVM work, but I haven't really had an opportunity to use abcl yet 2017-06-13T04:59:42Z pjb: daemoz: AFAIK, it uses the JVM garbage collector. 2017-06-13T04:59:59Z pjb: daemoz: it compiles lisp code to jar .class 2017-06-13T05:00:10Z BlueRavenGT quit (Ping timeout: 240 seconds) 2017-06-13T05:00:24Z butter_the_buddh quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-06-13T05:04:24Z dec0n joined #lisp 2017-06-13T05:10:51Z mishoo joined #lisp 2017-06-13T05:13:00Z akkad: abcl works well for longer running tasks imho 2017-06-13T05:13:24Z damke__ joined #lisp 2017-06-13T05:17:53Z rumbler31 joined #lisp 2017-06-13T05:21:19Z lpaste quit (Quit: Quit) 2017-06-13T05:21:50Z rumbler31 quit (Ping timeout: 240 seconds) 2017-06-13T05:26:14Z mishoo quit (Ping timeout: 246 seconds) 2017-06-13T05:29:21Z rumbler31 joined #lisp 2017-06-13T05:30:13Z Harag joined #lisp 2017-06-13T05:31:47Z mishoo joined #lisp 2017-06-13T05:32:06Z beach: Good morning everyone! 2017-06-13T05:32:20Z beach: vtomole: How strange! I don't get that error. 2017-06-13T05:33:30Z rumbler31 quit (Ping timeout: 240 seconds) 2017-06-13T05:34:31Z vtomole: beach: Check my pull request, I added a couple of things to the README, specifically, how to use Cleavir. 2017-06-13T05:37:32Z beach: I merged it, thanks. 2017-06-13T05:38:16Z lemonpepper24 quit (Ping timeout: 268 seconds) 2017-06-13T05:38:20Z beach: But the HIR interpreter is deprecated. I know Bike uses it, but it has a lot of duplicated code with the HIR compiler which is what I maintain. 2017-06-13T05:39:08Z beach: I am still interested in that package problem. I don't get that error. Then again, I am turning dyslexic, so maybe I didn't type the right name. 2017-06-13T05:41:58Z zeroish joined #lisp 2017-06-13T05:44:16Z Karl_Dscc joined #lisp 2017-06-13T05:48:30Z daemoz: Cool, and from what I heard you can access java classes in abcl 2017-06-13T05:49:22Z dec0n quit (Read error: Connection reset by peer) 2017-06-13T05:49:56Z vtomole: beach: Could be an SBCL problem? I have "1.3.1.debian" Maybe that's too old. 2017-06-13T05:50:15Z beach: Doesn't sound plausible. 2017-06-13T05:50:46Z dec0n joined #lisp 2017-06-13T05:50:50Z beach: Maybe someone else could double check. 2017-06-13T05:51:51Z butter_the_buddh joined #lisp 2017-06-13T05:52:02Z vtomole: beach: First thing google found:https://github.com/dimitri/pgloader/issues/492 2017-06-13T05:53:08Z beach: vtomole: Why are you showing me this? 2017-06-13T05:53:44Z vtomole: Cause i got the same error when i tried to load the repl "The name NIL does not designate any package." 2017-06-13T05:53:57Z vtomole: That post talks about it being an SBCL issue. 2017-06-13T05:54:04Z beach: Ah, I see. 2017-06-13T05:54:33Z oleo quit (Quit: irc client terminated!) 2017-06-13T05:55:59Z segmond quit (Quit: Zzzzzleping time) 2017-06-13T05:56:28Z rumbler31 joined #lisp 2017-06-13T05:58:48Z shka_ joined #lisp 2017-06-13T06:00:11Z gingerale joined #lisp 2017-06-13T06:00:46Z rumbler31 quit (Ping timeout: 246 seconds) 2017-06-13T06:05:11Z damke joined #lisp 2017-06-13T06:07:52Z damke__ quit (Ping timeout: 268 seconds) 2017-06-13T06:14:29Z vlatkoB joined #lisp 2017-06-13T06:14:34Z random_numbers quit (Quit: gtg) 2017-06-13T06:15:30Z zeroish quit (Ping timeout: 240 seconds) 2017-06-13T06:19:10Z Karl_Dscc quit (Remote host closed the connection) 2017-06-13T06:22:09Z vtomole quit (Ping timeout: 260 seconds) 2017-06-13T06:24:48Z butter_the_buddh quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-06-13T06:25:03Z FreeBirdLjj joined #lisp 2017-06-13T06:26:28Z butter_the_buddh joined #lisp 2017-06-13T06:29:11Z butter_the_buddh quit (Client Quit) 2017-06-13T06:29:23Z FreeBirdLjj quit (Ping timeout: 255 seconds) 2017-06-13T06:30:41Z safe quit (Read error: Connection reset by peer) 2017-06-13T06:37:05Z butter_the_buddh joined #lisp 2017-06-13T06:50:35Z gingerale quit (Remote host closed the connection) 2017-06-13T06:51:04Z shka_ quit (Ping timeout: 260 seconds) 2017-06-13T06:54:28Z drcode quit (Ping timeout: 260 seconds) 2017-06-13T06:55:40Z varjag joined #lisp 2017-06-13T06:56:44Z quazimodo joined #lisp 2017-06-13T06:59:31Z rumbler31 joined #lisp 2017-06-13T07:01:23Z damke_ joined #lisp 2017-06-13T07:03:46Z rumbler31 quit (Ping timeout: 246 seconds) 2017-06-13T07:03:48Z scymtym joined #lisp 2017-06-13T07:04:36Z damke quit (Ping timeout: 268 seconds) 2017-06-13T07:08:33Z angavrilov joined #lisp 2017-06-13T07:08:40Z Merv_ joined #lisp 2017-06-13T07:12:08Z Lowl3v3l joined #lisp 2017-06-13T07:12:18Z zeroish joined #lisp 2017-06-13T07:13:01Z rumbler31 joined #lisp 2017-06-13T07:14:15Z satran joined #lisp 2017-06-13T07:17:10Z rumbler31 quit (Ping timeout: 240 seconds) 2017-06-13T07:17:43Z adolf_stalin quit (Quit: Leaving...) 2017-06-13T07:21:48Z satran quit (Quit: satran) 2017-06-13T07:24:26Z knobo joined #lisp 2017-06-13T07:27:49Z parjanya quit (Remote host closed the connection) 2017-06-13T07:30:09Z _user joined #lisp 2017-06-13T07:31:10Z norfumpit quit (Ping timeout: 255 seconds) 2017-06-13T07:31:17Z vsync quit (Ping timeout: 245 seconds) 2017-06-13T07:33:56Z vsync joined #lisp 2017-06-13T07:37:37Z nirved joined #lisp 2017-06-13T07:41:15Z jackdaniel: minion: memo for hhdave re iOS executable code, see https://www.macstories.net/linked/apples-app-store-guidelines-now-allow-executable-code-in-educational-apps-and-developer-tools/ 2017-06-13T07:41:16Z minion: does torturing a poor bot with things beyond its comprehension please you? 2017-06-13T07:41:22Z jackdaniel: minion: memo for hhdave: re iOS executable code, see https://www.macstories.net/linked/apples-app-store-guidelines-now-allow-executable-code-in-educational-apps-and-developer-tools/ 2017-06-13T07:41:23Z minion: Remembered. I'll tell hhdave when he/she/it next speaks. 2017-06-13T07:46:30Z zeroish quit (Ping timeout: 240 seconds) 2017-06-13T07:47:31Z Dotcra joined #lisp 2017-06-13T07:50:21Z flash- joined #lisp 2017-06-13T07:51:44Z hal_ joined #lisp 2017-06-13T07:53:32Z hal_: hi, is multiplication lazy in lisp such as this exemple wouldn't bother to multiply 2 by 4 (...) as the first number is zero (* 0 2 4 5 2 5) ? 2017-06-13T07:56:40Z Grue`: it's not lazy in that (* 0 (computationally-expensive-function)) will still calculate the second argument no matter what 2017-06-13T07:56:54Z jackdaniel: standard doesn't say anything about laziness, but it's not unlikely that some implementation optimizes this with a compiler macro 2017-06-13T07:57:14Z jackdaniel: that it won't multiply, but yes, all arguments will be evaluated 2017-06-13T07:57:46Z hal_: ok thanks a lot :) 2017-06-13T07:57:59Z jackdaniel: (unless compiler "knows", that computionally-expensive-function doesn't have side effects, then it could optimize it anyways) 2017-06-13T08:00:48Z Subfusc quit (K-Lined) 2017-06-13T08:00:48Z pchrist quit (K-Lined) 2017-06-13T08:00:50Z tapioco quit (Ping timeout: 240 seconds) 2017-06-13T08:01:12Z ecraven quit (K-Lined) 2017-06-13T08:01:31Z ecraven joined #lisp 2017-06-13T08:01:47Z butter_the_buddh quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-06-13T08:02:52Z hal_ quit (Quit: Page closed) 2017-06-13T08:02:59Z Subfusc joined #lisp 2017-06-13T08:03:36Z butter_the_buddh joined #lisp 2017-06-13T08:08:18Z butter_the_buddh quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-06-13T08:08:54Z hhdave joined #lisp 2017-06-13T08:11:19Z quazimodo quit (Read error: Connection reset by peer) 2017-06-13T08:11:28Z arbv joined #lisp 2017-06-13T08:11:36Z quazimodo joined #lisp 2017-06-13T08:17:04Z Merv__ joined #lisp 2017-06-13T08:17:56Z salv0 joined #lisp 2017-06-13T08:18:25Z butter_the_buddh joined #lisp 2017-06-13T08:19:27Z _user quit (Ping timeout: 240 seconds) 2017-06-13T08:20:17Z Trystam joined #lisp 2017-06-13T08:20:27Z Merv_ quit (Ping timeout: 268 seconds) 2017-06-13T08:22:54Z Tristam quit (Ping timeout: 255 seconds) 2017-06-13T08:23:12Z Trystam is now known as Tristam 2017-06-13T08:27:27Z quazimodo quit (Read error: Connection reset by peer) 2017-06-13T08:31:15Z Dotcra quit (Quit: leaving) 2017-06-13T08:38:22Z tapioco joined #lisp 2017-06-13T08:44:11Z zeroish joined #lisp 2017-06-13T08:47:28Z flash- quit (Remote host closed the connection) 2017-06-13T08:47:34Z flash- joined #lisp 2017-06-13T08:50:30Z butter_the_buddh quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-06-13T08:58:33Z fiddlerwoaroof: Does anyone use slime-company? 2017-06-13T08:59:05Z fiddlerwoaroof: I'm having an issue where slime-setup doesn't seem to be initializing slime-company 2017-06-13T09:01:59Z damke joined #lisp 2017-06-13T09:02:01Z lemoinem quit (Ping timeout: 255 seconds) 2017-06-13T09:03:37Z damke_ quit (Ping timeout: 268 seconds) 2017-06-13T09:09:40Z srcerer quit (Ping timeout: 260 seconds) 2017-06-13T09:11:28Z defaultxr quit (Ping timeout: 255 seconds) 2017-06-13T09:16:46Z zeroish quit (Ping timeout: 246 seconds) 2017-06-13T09:20:49Z rk[ghost]: is there a method to get the value of a defparameter without calling eval? 2017-06-13T09:22:18Z phoe: rk[ghost]: what do you mean, the value of a defparameter? 2017-06-13T09:22:21Z phoe: clhs defparameter 2017-06-13T09:22:21Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_defpar.htm 2017-06-13T09:22:37Z phoe: the return value of DEFPARAMETER is the name of the variable that you define using it 2017-06-13T09:22:51Z phoe: so (defparameter *foo* 42) ;=> *FOO* 2017-06-13T09:23:24Z phoe: so if you do not want to evaluate this list, then you can just grab its second element - that's the return value. 2017-06-13T09:25:11Z rk[ghost]: so if i make a variable using defparamter, and i pass the name of the varialbe say '*foo* in to a function. can i get its value without calling (eval '*foo*) 2017-06-13T09:25:32Z phoe: rk[ghost]: (+ *foo* *foo*) ;=> 84 2017-06-13T09:25:49Z phoe: read up about rules of evaluation in Common Lisp. 2017-06-13T09:25:58Z rk[ghost]: right, i thought that at first. however what i am really trying to do with it isn't working.. so i am confused 2017-06-13T09:26:04Z rk[ghost]: i will come back 2017-06-13T09:26:05Z phoe: rk[ghost]: what are you trying to do? 2017-06-13T09:26:36Z rk[ghost]: i am trying to pass foo in to a function and updates its value 2017-06-13T09:26:59Z rk[ghost]: the function may also get passed bar 2017-06-13T09:27:02Z rk[ghost]: or maybe even baz 2017-06-13T09:27:35Z phoe: rk[ghost]: you might want to consider a macro for this because you will not need to quote its argument. 2017-06-13T09:28:00Z phoe: (defmacro update (variable-name new-value) `(setf ,variable-name ,new-value)) 2017-06-13T09:28:12Z phoe: (update *foo* 128) 2017-06-13T09:28:16Z rk[ghost]: i really need to read up on macros. -.- 2017-06-13T09:28:16Z phoe: *foo* ;=> 128 2017-06-13T09:28:26Z phoe: but then again 2017-06-13T09:28:30Z phoe: why not just use SETF? 2017-06-13T09:28:40Z rk[ghost]: aye aye though- what you said makes sense 2017-06-13T09:28:52Z White_Flame: or, pass the symbol in and use symbol-value 2017-06-13T09:28:58Z phoe: ^ 2017-06-13T09:29:12Z White_Flame: (defun update (symbol delta) (incf (symbol-value symbol) delta)) 2017-06-13T09:29:20Z White_Flame: (update '*foo* 3) 2017-06-13T09:29:28Z White_Flame: note the quote 2017-06-13T09:30:07Z rk[ghost]: doh, i was using setq 2017-06-13T09:30:08Z White_Flame: however, this only updates the toplevel binding. You can have subsequent dynamic bindings which won't reflect this properly 2017-06-13T09:30:17Z rk[ghost]: i suppose that was my problem, eh 2017-06-13T09:30:28Z White_Flame: the macro solution should work with whatever the current binding is 2017-06-13T09:30:32Z rk[ghost]: however, thanks for the suggestions as i think this will help me in other endeavors. 2017-06-13T09:30:38Z phoe: rk[ghost]: generally, don't use setq directly 2017-06-13T09:30:46Z phoe: setf is much smarter. 2017-06-13T09:30:47Z White_Flame: yeah, setf supercedes all the other set variations 2017-06-13T09:30:55Z rk[ghost]: aye aye; 2017-06-13T09:31:04Z rk[ghost] throws away knowledge of sefq 2017-06-13T09:31:10Z phoe: White_Flame: but what about set-difference!?! 2017-06-13T09:31:25Z phoe: does setf supersede this too? 2017-06-13T09:31:33Z White_Flame: of course 2017-06-13T09:31:48Z White_Flame: supercedes all hash set libraries, too 2017-06-13T09:32:36Z arbv quit (Ping timeout: 268 seconds) 2017-06-13T09:32:52Z arbv joined #lisp 2017-06-13T09:35:03Z rk[ghost]: ah.. so that (symbol-value) was actually the answer to my original question!! 2017-06-13T09:36:51Z fiddlerwoaroof: Hmm, quicklisp-slime-helper calls slime-setup and that seems to prevent any new contribs from being added 2017-06-13T09:37:04Z yeticry quit (Ping timeout: 246 seconds) 2017-06-13T09:37:27Z yeticry joined #lisp 2017-06-13T09:38:23Z nowhereman_ quit (Ping timeout: 260 seconds) 2017-06-13T09:39:49Z pjb quit (Ping timeout: 255 seconds) 2017-06-13T09:47:23Z fiddlerwoaroof: Ok, it's a bad interaction between slime-company and use-package 2017-06-13T09:51:07Z flash- quit (Remote host closed the connection) 2017-06-13T09:57:53Z arbv quit (Read error: Connection reset by peer) 2017-06-13T09:58:13Z arbv joined #lisp 2017-06-13T10:02:53Z _user joined #lisp 2017-06-13T10:04:41Z lemoinem joined #lisp 2017-06-13T10:10:21Z daemoz: /join #clim 2017-06-13T10:10:34Z damke_ joined #lisp 2017-06-13T10:10:58Z _user: daeemoz: lol 2017-06-13T10:11:17Z jackdaniel: good marketing strategy :) 2017-06-13T10:11:24Z nowhereman_ joined #lisp 2017-06-13T10:11:46Z daemoz: Just gettnig the word out there lol 2017-06-13T10:11:53Z zeroish joined #lisp 2017-06-13T10:13:18Z damke quit (Ping timeout: 268 seconds) 2017-06-13T10:13:34Z pve joined #lisp 2017-06-13T10:14:01Z logicmoo joined #lisp 2017-06-13T10:15:27Z knobo quit (Ping timeout: 240 seconds) 2017-06-13T10:16:53Z dmiles quit (Ping timeout: 260 seconds) 2017-06-13T10:21:41Z m00natic joined #lisp 2017-06-13T10:22:08Z _user quit (Ping timeout: 240 seconds) 2017-06-13T10:25:31Z drcode joined #lisp 2017-06-13T10:26:24Z damke joined #lisp 2017-06-13T10:29:20Z damke_ quit (Ping timeout: 268 seconds) 2017-06-13T10:36:07Z ecraven: when would I get the error "The value 4149330171 is not of type (MOD 11) when binding #:G1620"? 2017-06-13T10:36:11Z ecraven: that's a gensym, right? 2017-06-13T10:36:18Z MetaHertz joined #lisp 2017-06-13T10:36:31Z phoe: ecraven: yes, it is 2017-06-13T10:36:38Z augustinus1 joined #lisp 2017-06-13T10:36:47Z phoe: what part of code does this for you? 2017-06-13T10:36:53Z phoe: do you have a stack trace? 2017-06-13T10:37:10Z pjb joined #lisp 2017-06-13T10:37:21Z ecraven: https://github.com/stumpwm/stumpwm/issues/357 2017-06-13T10:37:21Z Reinisch quit (Ping timeout: 268 seconds) 2017-06-13T10:37:22Z ecraven: this one, 2017-06-13T10:37:50Z ecraven: could the (MOD 11) thing be a type defined as (deftype win-gravity '(member :unmap :north-west :north ...)) (with 11 members)? 2017-06-13T10:38:01Z ecraven: problem is, that bug crashes my stumpwm, so I cannot interact with it any longer 2017-06-13T10:38:19Z phoe: MOD 11 is a numeric type: one of 0, 1, ..., 9, 10 2017-06-13T10:38:42Z ecraven: well, (def-clx-class (wm-size-hints) ... (win-gravity nil :type (or null win-gravity)) ...) 2017-06-13T10:38:43Z phoe: I don't think MEMBER compiles to numeric stuff like that 2017-06-13T10:39:06Z ecraven: hm.. maybe (decode-type (member-vector +win-gravity-vector+) (aref vector 17)) does that? 2017-06-13T10:39:23Z phoe: "The work around we got at was wrapping the value in question with a call to (mod (decode-type ...) :north-west)? 2017-06-13T11:13:14Z jackdaniel: ah, decode-type returns a keyword, I think it would be clearer, yes 2017-06-13T11:13:22Z ecraven: oh, sorry, didn't know that :-/ 2017-06-13T11:13:26Z ecraven: should I fix it? 2017-06-13T11:19:19Z jackdaniel: ecraven: if you could, that would be great 2017-06-13T11:21:15Z ecraven: of course, I'm the one who botched it after all ;) 2017-06-13T11:21:22Z ecraven: still not entirely at home in CL :-/ 2017-06-13T11:26:37Z dim: it takes time 2017-06-13T11:26:49Z ecraven: indeed ;) 2017-06-13T11:27:07Z ecraven: jackdaniel: #75, sorry for all the additional work 2017-06-13T11:27:48Z jackdaniel: not a problem, thank you for working on this 2017-06-13T11:27:55Z jackdaniel: btw, gravity can't have value 0? 2017-06-13T11:28:26Z butter_the_buddh quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-06-13T11:29:12Z cggong joined #lisp 2017-06-13T11:29:23Z jackdaniel: if it is a valid value, then it should be (<= 0 gravity #.(1- (length +win-gravity+))) 2017-06-13T11:30:23Z jackdaniel: I haven't cought that at first review, sorry 2017-06-13T11:31:50Z Bike joined #lisp 2017-06-13T11:32:04Z jackdaniel: ecraven: could you fix that in pr? 2017-06-13T11:32:40Z ecraven: well, according to the ICCCM 0 is not a valid value 2017-06-13T11:32:53Z daemoz quit (Remote host closed the connection) 2017-06-13T11:33:12Z ecraven: The win_gravity may be any of the values specified for WINGRAVITY in the core protocol except for Unmap: 2017-06-13T11:33:16Z daemoz joined #lisp 2017-06-13T11:33:29Z rumbler31 joined #lisp 2017-06-13T11:33:57Z jackdaniel: alright, if it isn't then the way it is now is OK 2017-06-13T11:34:39Z cggong quit (Quit: cggong) 2017-06-13T11:35:29Z jackdaniel: merged, thanks again :) 2017-06-13T11:35:45Z butter_the_buddh joined #lisp 2017-06-13T11:37:50Z rumbler31 quit (Ping timeout: 240 seconds) 2017-06-13T11:42:16Z knobo quit (Remote host closed the connection) 2017-06-13T11:45:05Z kjak_ quit (Ping timeout: 240 seconds) 2017-06-13T11:46:18Z ecraven: on the contrary, thank you for the patience in helping me fix this 2017-06-13T11:50:52Z N3vYn left #lisp 2017-06-13T11:56:30Z shdeng quit (Quit: Leaving) 2017-06-13T11:56:47Z knobo joined #lisp 2017-06-13T12:00:01Z mishoo quit (Ping timeout: 258 seconds) 2017-06-13T12:00:49Z malice joined #lisp 2017-06-13T12:02:23Z scymtym_ joined #lisp 2017-06-13T12:02:37Z damke_ joined #lisp 2017-06-13T12:02:38Z cggong joined #lisp 2017-06-13T12:02:42Z mishoo joined #lisp 2017-06-13T12:02:47Z beach: What arguments would match a macro lambda list like this: (a &rest (&key c) (&key d)) 2017-06-13T12:03:15Z beach: sorry, I meant (a &rest (&key c) &key d) 2017-06-13T12:03:17Z Xach: For the clx pull requests I am interested more in "what & why" but the commit message just says "what" 2017-06-13T12:05:01Z Bike: 4 (:c 5) :d 7 i think 2017-06-13T12:05:15Z beach: Let me check... 2017-06-13T12:05:32Z damke quit (Ping timeout: 268 seconds) 2017-06-13T12:06:02Z Bike: no, wait, misunderstood the rest 2017-06-13T12:06:03Z jackdaniel: Xach: I will put more attention to this next time 2017-06-13T12:06:15Z beach: Bike: Yeah, I don't think it matches. 2017-06-13T12:06:30Z scymtym quit (Ping timeout: 240 seconds) 2017-06-13T12:07:29Z jackdaniel: is it a valid lambda list though? 2017-06-13T12:07:41Z manuel__ joined #lisp 2017-06-13T12:07:46Z beach: Yes. 2017-06-13T12:08:17Z beach: Anywhere where an ordinary lambda list can only have a symbol (as after &rest), you can put a destructuring lambda list. 2017-06-13T12:08:19Z Bike: destructuring rest is not something i really deal with 2017-06-13T12:08:31Z beach: It's strange, yes. 2017-06-13T12:08:47Z beach: Some simple cases make sense though. 2017-06-13T12:10:11Z cggong quit (Quit: cggong) 2017-06-13T12:12:13Z rumbler31 joined #lisp 2017-06-13T12:14:08Z quazimodo joined #lisp 2017-06-13T12:14:13Z knobo quit (Remote host closed the connection) 2017-06-13T12:15:53Z Bike quit (Ping timeout: 255 seconds) 2017-06-13T12:18:42Z rumbler31 quit (Remote host closed the connection) 2017-06-13T12:20:48Z beach: This one: (a &rest (&key ((:b b))) &key ((:b c))) works for arguments: 1 :b 2 2017-06-13T12:21:07Z beach: Both B and C receive the value 2. 2017-06-13T12:21:57Z Grue`` joined #lisp 2017-06-13T12:22:02Z malice: Is there an alias in CL for (prog1 (prin1 x) (terpri)) ? 2017-06-13T12:22:20Z malice: Because #'print prints newline first, which is sometimes not really a great thing. 2017-06-13T12:24:37Z beach: This one: (a &rest (&key b &allow-other-keys) &key c &allow-other-keys) also works for the arguments: 1 :b 2 :c 3 2017-06-13T12:24:58Z beach: ... in SBCL. 2017-06-13T12:29:36Z butter_the_buddh quit (Quit: Textual IRC Client: www.textualapp.com) 2017-06-13T12:32:55Z knobo joined #lisp 2017-06-13T12:39:49Z lexicall joined #lisp 2017-06-13T12:41:25Z lexicall: It's been a long time since the last release of Lispworks, haven't heard anything about LW 7.1 or any upgrades. 2017-06-13T12:41:49Z lexicall: I wonder how are they going these days 2017-06-13T12:43:34Z rk[ghost]: is there an eqv to setf that doesn't actually update the value? 2017-06-13T12:44:49Z Xach: rk[ghost]: what does it do instead? 2017-06-13T12:44:52Z jackdaniel: rk[ghost]: what it does then? 2017-06-13T12:44:54Z jackdaniel: heh 2017-06-13T12:47:50Z tapioco quit (Ping timeout: 240 seconds) 2017-06-13T12:50:26Z dlowe: launches the nuclear missiles 2017-06-13T12:50:36Z dlowe: I knew we shouldn't have written that into the standard. 2017-06-13T12:52:00Z jeremiah__ quit (Quit: Konversation terminated!) 2017-06-13T12:52:57Z lexicall: oh oh do not mistake SETF with SETFIRE 2017-06-13T12:53:28Z rk[ghost]: so let's say i have a list bob: (defparameter bob '(1 2 3 4)), (setf (nth 2 bob) 5) makes bob (1 2 5 4), but i just want to get the list (1 2 5 4) returned but not set it to bob 2017-06-13T12:54:23Z jackdaniel: rk[ghost]: (substitute 3 4 '(1 2 3 4 5)) 2017-06-13T12:55:48Z jackdaniel: it's not exactly what you wanted, but writing function taking nth element shouldn't be hard 2017-06-13T12:56:11Z dlowe: rk[ghost]: also, consider (setf (nth 2 (copy-list bob)) 5) 2017-06-13T12:59:07Z tapioco joined #lisp 2017-06-13T12:59:17Z jackdaniel: (substitute-if 5 (let ((nth 0)) (lambda (x) (zerop (1+ (decf nth))))) '(1 2 3 4 5) :count 1) ; for instance, may be wrapped in some simpler interface 2017-06-13T12:59:41Z pchrist joined #lisp 2017-06-13T13:00:32Z xaotuk joined #lisp 2017-06-13T13:02:33Z cggong joined #lisp 2017-06-13T13:03:44Z beach: (append (subseq list 0 n) (list element) (nthcdr list (1+ n))) or something like that. 2017-06-13T13:03:47Z lexicall quit (Quit: Ah, my macbook is gonna sleep!) 2017-06-13T13:04:25Z rk[ghost]: aye, i was hoping to save complexity, i might just rebuild the list in a new way. i was hoping to utilize the fanciness of setf 2017-06-13T13:05:11Z jackdaniel: I think that dlowe solution is optimal for that purpose 2017-06-13T13:05:22Z rk[ghost]: aye 2017-06-13T13:05:30Z beach: Except that it copies the tail end unnecessarily. 2017-06-13T13:05:39Z jackdaniel: if you have lists long enough that performance / memory usage matters, you probably have a wrong structure 2017-06-13T13:05:59Z Grue``: rk[ghost]: what you want requires copying the , and it's impossible to do it reliably for all setfable places 2017-06-13T13:06:27Z rk[ghost]: right-o 2017-06-13T13:06:47Z Bike joined #lisp 2017-06-13T13:06:50Z Bike quit (Remote host closed the connection) 2017-06-13T13:07:12Z Bike joined #lisp 2017-06-13T13:08:54Z rk[ghost]: and i simplified my case a little bit as what i really want is something like (setf (nth (car (cdr sally)) (nth (car sally) bob)) val) 2017-06-13T13:09:24Z dlowe: (car (cdr ...)) can be spelled (second ...) 2017-06-13T13:09:28Z rk[ghost]: so i will try with copy-list bob and see if my jazz blows up 2017-06-13T13:09:42Z rk[ghost]: sure or (cadr) 2017-06-13T13:10:24Z dlowe: reaching for the car/cdr composite functions makes me think I need to refactor my code to something else, like classes or structures. 2017-06-13T13:11:01Z jackdaniel: caaddareverest 2017-06-13T13:12:01Z rk[ghost]: i have been tempted to make ca*d*r functions for longer than the default ones supports :P 2017-06-13T13:13:15Z dlowe: I like beach's solution, except it traverses n multiple times. Maybe just (defun substitute-index (index list val) (loop for e in list as i from 0 collect (if (= i index) value e))) 2017-06-13T13:14:01Z rk[ghost]: right-o. thanks for all the solutions everyone 2017-06-13T13:14:05Z rk[ghost]: long live lisp! 2017-06-13T13:16:38Z dlowe: hm. that still unnecessarily copies. 2017-06-13T13:17:29Z EvW joined #lisp 2017-06-13T13:19:15Z rumbler31 joined #lisp 2017-06-13T13:22:18Z mrottenkolber joined #lisp 2017-06-13T13:22:27Z mrottenkolber: Hey 2017-06-13T13:22:54Z mrottenkolber: could anyone on Windows/Darwin test this and reply to the issue with the results? https://github.com/death/monotonic-clock/pull/1 2017-06-13T13:24:21Z rumbler31 quit (Ping timeout: 258 seconds) 2017-06-13T13:24:22Z knobo quit (Quit: WeeChat 1.7) 2017-06-13T13:25:26Z knobo joined #lisp 2017-06-13T13:25:56Z Lowl3v3l quit (Quit: Leaving.) 2017-06-13T13:26:18Z damke joined #lisp 2017-06-13T13:26:40Z mrottenkolber: That would be amazing! 2017-06-13T13:28:07Z rumbler31 joined #lisp 2017-06-13T13:28:24Z manuel__ quit (Quit: manuel__) 2017-06-13T13:28:28Z deba5e12 quit (Ping timeout: 255 seconds) 2017-06-13T13:29:24Z damke_ quit (Ping timeout: 268 seconds) 2017-06-13T13:30:32Z dlowe: this was way more annoying than I thought it would be http://paste.lisp.org/display/348650 2017-06-13T13:31:38Z EvW quit (Remote host closed the connection) 2017-06-13T13:31:47Z EvW joined #lisp 2017-06-13T13:31:53Z Bike: isn't that nsubstitute? 2017-06-13T13:31:59Z Bike: thta does look annoying 2017-06-13T13:33:39Z oleo joined #lisp 2017-06-13T13:34:10Z zeroish quit (Ping timeout: 240 seconds) 2017-06-13T13:36:16Z cggong quit (Quit: cggong) 2017-06-13T13:36:33Z rk[ghost]: aye, my brain hurtz; 2017-06-13T13:36:47Z rk[ghost]: 6am.. haven't slept. going to toss this one in the bucket for the moment:P 2017-06-13T13:37:17Z rk[ghost]: setf does magic and i am no magician.. 2017-06-13T13:38:31Z rk[ghost]: for a 2 dimensional list.. *smelly capacitor smokes poofs from brain* 2017-06-13T13:38:49Z Bike: in this case it's only setting variables and cdrs, not that magical. 2017-06-13T13:39:19Z rk[ghost]: sure, but setf works in anycase i can seem to throw at it 2017-06-13T13:39:50Z rk[ghost]: i thought i could use its magic without having to just rebuild my list with manually substituting at the right spot. 2017-06-13T13:40:14Z dlowe: well, you can do what I did with copy-list and it's fine. 2017-06-13T13:41:43Z rk[ghost]: i must have done it wrong, because i used a copy-list and it still updated the original list as well. 2017-06-13T13:42:47Z Bike: like (substitute-index index (copy-list list) val)? 2017-06-13T13:42:51Z nowhereman_: I just encountered a problem I solved but don't understand: if I save an SBCL image, it fails at loading "sb-rotate-byte" 2017-06-13T13:42:53Z nowhereman_: except if I load it before saving the image 2017-06-13T13:42:54Z rk[ghost]: i even tried doing a (let ((list-copy (copy-list my-list))) (setf (nth ... ...) list-copy)) and it still updated the original list 2017-06-13T13:43:16Z Bike: well, the content of those dots is important 2017-06-13T13:43:29Z rk[ghost]: for the ... see above. 2017-06-13T13:43:32Z Bike: copy-list does a "shallow" copy, in that it won't copy the cars of the lists 2017-06-13T13:43:37Z rk[ghost]: ah. 2017-06-13T13:47:14Z manuel__ joined #lisp 2017-06-13T13:50:10Z cromachina quit (Read error: Connection reset by peer) 2017-06-13T13:50:11Z Harag quit (Quit: Harag) 2017-06-13T13:53:10Z phoe: https://github.com/eudoxia0/crane <- should I be using this with postgres? or exist there better tools? 2017-06-13T13:54:14Z jackdaniel: postmodern ? 2017-06-13T13:54:38Z jackdaniel: http://marijnhaverbeke.nl/postmodern/ 2017-06-13T13:57:37Z phoe: yes, I know about postmodern - I'm just looking at all the choices right now. 2017-06-13T13:57:51Z Reinisch joined #lisp 2017-06-13T13:59:01Z phoe: crane seems to be more pleasant from the development point of view - it seems to automatically define and redefine DB schema 2017-06-13T13:59:40Z jackdaniel: if you are into orms 2017-06-13T13:59:46Z foom joined #lisp 2017-06-13T14:05:28Z TDT joined #lisp 2017-06-13T14:07:38Z dim: don't use orms. 2017-06-13T14:07:54Z jackdaniel: ↑ 2017-06-13T14:07:59Z dim: see http://tapoueh.org/blog/2017/06/how-to-write-sql/ 2017-06-13T14:08:21Z dim: Clojure has a fantastic YeSQL lib that would be very easy to port to CL 2017-06-13T14:08:25Z Reinisch quit (Quit: Have a great day!) 2017-06-13T14:08:37Z dim: use Postmodern and have your queries in .sql files 2017-06-13T14:09:52Z whartung quit (Read error: Connection reset by peer) 2017-06-13T14:10:30Z xaotuk quit (Ping timeout: 240 seconds) 2017-06-13T14:10:52Z dec0n quit (Read error: Connection reset by peer) 2017-06-13T14:11:24Z zeroish joined #lisp 2017-06-13T14:12:54Z whartung joined #lisp 2017-06-13T14:16:33Z knobo quit (Remote host closed the connection) 2017-06-13T14:20:05Z EvW quit (Ping timeout: 255 seconds) 2017-06-13T14:20:09Z knobo joined #lisp 2017-06-13T14:20:23Z rumbler3_ joined #lisp 2017-06-13T14:24:30Z rumbler3_ quit (Ping timeout: 240 seconds) 2017-06-13T14:26:43Z nowhere_man joined #lisp 2017-06-13T14:26:44Z nowhereman_ quit (Read error: Connection reset by peer) 2017-06-13T14:28:25Z loke___ joined #lisp 2017-06-13T14:29:53Z oleo quit (Quit: irc client terminated!) 2017-06-13T14:31:08Z nowhere_man quit (Ping timeout: 240 seconds) 2017-06-13T14:32:32Z LiamH joined #lisp 2017-06-13T14:39:58Z Reinisch joined #lisp 2017-06-13T14:42:40Z oleo joined #lisp 2017-06-13T14:43:47Z yrk joined #lisp 2017-06-13T14:43:50Z knobo quit (Ping timeout: 240 seconds) 2017-06-13T14:44:08Z Kaisyu joined #lisp 2017-06-13T14:45:03Z kmb joined #lisp 2017-06-13T14:46:04Z knobo joined #lisp 2017-06-13T14:47:28Z nowhere_man joined #lisp 2017-06-13T14:47:39Z FreeBirdLjj joined #lisp 2017-06-13T14:48:07Z brendyn quit (Ping timeout: 255 seconds) 2017-06-13T14:48:59Z varjag: hm.. bordeaux-fft knocks sbcl into ldb 2017-06-13T14:50:37Z varjag: arm64 though, perhaps hasn't been tested that much 2017-06-13T14:50:53Z diegs_ joined #lisp 2017-06-13T14:51:39Z phoe: dim: hm 2017-06-13T14:51:40Z _death: some people start from application and see the database as auxiliary, hence they like ORMs and often need to migrate data.. others start from database schemas and then go to write the applications.. no need for ORM or to migrate data often 2017-06-13T14:51:52Z varjag: what '' means in context ob sbcl 2017-06-13T14:51:59Z varjag: something return address? 2017-06-13T14:52:28Z phoe: so basically I will want a .sql file for each query I want 2017-06-13T14:55:45Z phoe: this seems sane. 2017-06-13T14:56:26Z jameser joined #lisp 2017-06-13T14:57:09Z rippa joined #lisp 2017-06-13T14:58:16Z phoe: dim: how do I use .sql files with postmodern though? 2017-06-13T14:58:50Z zeroish75 joined #lisp 2017-06-13T15:00:06Z ryanwatkins joined #lisp 2017-06-13T15:01:50Z nowhereman_ joined #lisp 2017-06-13T15:01:50Z nowhere_man quit (Read error: Connection reset by peer) 2017-06-13T15:02:49Z phoe: dim: https://github.com/TBRSS/cl-yesql ? 2017-06-13T15:03:45Z FreeBirdLjj quit (Remote host closed the connection) 2017-06-13T15:04:16Z FreeBirdLjj joined #lisp 2017-06-13T15:08:19Z diegs_ quit (Ping timeout: 255 seconds) 2017-06-13T15:09:29Z duckqlz quit (Remote host closed the connection) 2017-06-13T15:09:29Z duckqlz_ quit (Remote host closed the connection) 2017-06-13T15:12:47Z cggong joined #lisp 2017-06-13T15:16:03Z Grue``: I have the opposite advice: don't ever write raw SQL, it's insecure and error prone 2017-06-13T15:16:16Z _death: insecure? 2017-06-13T15:16:34Z EvW joined #lisp 2017-06-13T15:16:35Z phoe: I have contradictory advice now 2017-06-13T15:17:17Z phoe: contradicting, even 2017-06-13T15:17:27Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-06-13T15:18:26Z Grue``: well, do you like to write Lisp or do you like to write SQL? your choice really 2017-06-13T15:19:27Z _death: in recent years I use SQL syntax for SQL queries.. before that I used postmodern's s-sql 2017-06-13T15:20:06Z loke___: _death: SQL syntax for SQL queries... What a novel idea. :-) 2017-06-13T15:21:11Z rumbler3_ joined #lisp 2017-06-13T15:21:25Z yeticry_ joined #lisp 2017-06-13T15:21:31Z _death: s-sql was convenient when I needed to actually build the query.. if the alternative is string interpolation or such, then of course s-sql is better 2017-06-13T15:22:06Z Grue``: the problem is the assumption that SQL has the best syntax for its domain. unlike better syntaxes like Lisp's, it's not composable 2017-06-13T15:22:21Z _death: but if the alternative is to write the query a bit differently, then maybe s-sql isn't so advantageous 2017-06-13T15:24:37Z Grue``: the basic task in a CRUD app is to have a table filtered by a bunch of filters from a HTML form. the SQL query in question would have arbitrary amount of JOINs and WHERE clauses 2017-06-13T15:24:43Z yeticry quit (Ping timeout: 268 seconds) 2017-06-13T15:25:27Z _death: Grue: there are many variables here.. for example, if you're aiming at portable SQL or (say) Pg-specific.. the RDBMSs always come up with new syntax, so it is possible that you want to use the one they use instead of playing catch-up 2017-06-13T15:26:09Z Grue``: I had to manually construct such queries a few times (due to lack of support for certain db features in the ORM) and it's not pretty 2017-06-13T15:26:30Z rumbler3_ quit (Ping timeout: 240 seconds) 2017-06-13T15:29:42Z _death: I've not yet tried the yesql approach.. but I have something I recently started writing that I may volunteer for that experiment :) 2017-06-13T15:30:01Z phoe: I think I'll try CL-YESQL just for the sake of readability by non-lispers. 2017-06-13T15:30:15Z phoe: And from what I guess, I will need to talk to them one da. 2017-06-13T15:30:17Z phoe: day. 2017-06-13T15:31:48Z QwertyDragon_ joined #lisp 2017-06-13T15:31:50Z phoe: which will also mean that I will write SQL. 2017-06-13T15:33:49Z knobo quit (Remote host closed the connection) 2017-06-13T15:37:10Z phillip joined #lisp 2017-06-13T15:37:18Z phillip is now known as Guest70553 2017-06-13T15:38:28Z Guest70553: I need help. When I try to eval variable in repl I get this error: 2017-06-13T15:38:33Z Guest70553: Debugger entered--Lisp error: (wrong-type-argument listp CL-USER>) 2017-06-13T15:38:33Z Guest70553: slime-repl-add-to-input-history("*loc*") 2017-06-13T15:38:33Z Guest70553: slime-repl-send-input(t) 2017-06-13T15:38:33Z Guest70553: slime-repl-return(nil) 2017-06-13T15:38:36Z Guest70553: call-interactively(slime-repl-return nil nil) 2017-06-13T15:38:39Z Guest70553: command-execute(slime-repl-return) 2017-06-13T15:38:42Z Guest70553: 2017-06-13T15:39:03Z Guest70553: Can't find the solution on google 2017-06-13T15:39:22Z phoe: Guest70553: pastebin, for goodness's sake 2017-06-13T15:39:29Z FreeBird_ joined #lisp 2017-06-13T15:39:30Z dlowe: what are you typing in the repl? 2017-06-13T15:39:32Z phoe: ^ 2017-06-13T15:39:37Z phoe: what is your Lisp implementation? 2017-06-13T15:39:40Z Guest70553: sorry, I forgot about that 2017-06-13T15:39:43Z Guest70553: clisp 2017-06-13T15:39:43Z al-damiri joined #lisp 2017-06-13T15:39:47Z Guest70553: phoe clisp 2017-06-13T15:40:24Z Guest70553: dlowe I tried to eval variable *loc* which is defined in some lisp file 2017-06-13T15:40:43Z phoe: Guest70553: the "(wrong-type-argument listp CL-USER>)" thing seems craxzy 2017-06-13T15:40:48Z Grue``: did you load the file first? 2017-06-13T15:40:54Z beach: Guest70553: Probably the wrong package. 2017-06-13T15:40:59Z Guest70553: Grue`` yes 2017-06-13T15:40:59Z phoe: is it pulling in the SLIME prompt as a symbol or what? 2017-06-13T15:41:16Z Grue``: perhaps print-object on the value of *loc* results in error 2017-06-13T15:41:26Z jsmith_ quit (Remote host closed the connection) 2017-06-13T15:41:27Z beach: Guest70553: Does that file have an (IN-PACKAGE ) form in it? 2017-06-13T15:42:05Z jsmith_ joined #lisp 2017-06-13T15:42:30Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-06-13T15:42:40Z Guest70553: beach It is only one file, I am learning lisp, single file with 2 global defparameter variables, I did eval on them with no errors 2017-06-13T15:43:02Z knicklux joined #lisp 2017-06-13T15:43:09Z Guest70553: Yesterday it was fine, and it started making problems no idea why 2017-06-13T15:43:34Z _death: what version of slime are you using 2017-06-13T15:44:25Z Guest70553: sec 2017-06-13T15:45:29Z Ukari joined #lisp 2017-06-13T15:45:35Z Guest70553: ;; Version: 2.19 2017-06-13T15:45:51Z Guest70553: death ;; Version: 2.19 2017-06-13T15:46:09Z jsmith_ quit (Ping timeout: 240 seconds) 2017-06-13T15:47:04Z Guest70553: Entire life I have phantom errors in emacs :D 2017-06-13T15:47:15Z Guest70553: But only when I want to learn 2017-06-13T15:48:44Z _death: it could be that the slime-repl-input-history was messed up somehow.. try again? 2017-06-13T15:49:08Z Guest70553: _death I think also, i'm gona delete it now 2017-06-13T15:49:55Z knobo joined #lisp 2017-06-13T15:51:56Z araujo joined #lisp 2017-06-13T15:52:38Z Guest70553: _death It was, after deleting ~/.slime... history files it is working again. Thank you very much, to all of you :). One kiss :* 2017-06-13T15:53:15Z Guest70553: I am now ready and inspired :) 2017-06-13T15:53:42Z diegs_ joined #lisp 2017-06-13T15:53:44Z _death: those who learn the wrong things from history may benefit from erasing it altogether :) 2017-06-13T15:53:57Z knobo quit (Remote host closed the connection) 2017-06-13T15:54:59Z Merv__ quit (Remote host closed the connection) 2017-06-13T15:55:20Z Guest70553: _death lol. I got it saved before deleting :), no worries 2017-06-13T15:55:21Z Guest70553: :) 2017-06-13T15:55:29Z Guest70553: I value history, very much 2017-06-13T15:57:27Z DingoSaar_ joined #lisp 2017-06-13T15:57:40Z Guest70553: Great community here, really, thank you one more time 2017-06-13T15:58:29Z Merv__ joined #lisp 2017-06-13T15:59:56Z gingerale joined #lisp 2017-06-13T16:00:21Z DingoSaar_ quit (Client Quit) 2017-06-13T16:00:57Z DingoSaar quit (Ping timeout: 240 seconds) 2017-06-13T16:03:23Z Guest70553 quit (Ping timeout: 260 seconds) 2017-06-13T16:03:58Z Reinisch quit (Ping timeout: 260 seconds) 2017-06-13T16:04:19Z shka_ joined #lisp 2017-06-13T16:06:49Z mejja joined #lisp 2017-06-13T16:07:11Z knobo joined #lisp 2017-06-13T16:07:50Z Reinisch joined #lisp 2017-06-13T16:10:35Z mrottenkolber quit (Ping timeout: 246 seconds) 2017-06-13T16:12:10Z EvW quit (Ping timeout: 240 seconds) 2017-06-13T16:13:06Z damke_ joined #lisp 2017-06-13T16:14:41Z cggong quit (Quit: cggong) 2017-06-13T16:15:17Z damke quit (Ping timeout: 268 seconds) 2017-06-13T16:16:32Z cggong joined #lisp 2017-06-13T16:16:42Z knobo quit (Remote host closed the connection) 2017-06-13T16:20:31Z knusbaum joined #lisp 2017-06-13T16:20:33Z knusbaum quit (Remote host closed the connection) 2017-06-13T16:20:48Z phinxy joined #lisp 2017-06-13T16:21:01Z knobo joined #lisp 2017-06-13T16:22:38Z slyrus quit (Ping timeout: 260 seconds) 2017-06-13T16:23:02Z slyrus_ joined #lisp 2017-06-13T16:23:09Z rumbler3_ joined #lisp 2017-06-13T16:23:26Z slyrus joined #lisp 2017-06-13T16:23:31Z slyrus___ quit (Ping timeout: 255 seconds) 2017-06-13T16:26:39Z slyrus_ quit (Read error: Connection reset by peer) 2017-06-13T16:26:42Z pjb joined #lisp 2017-06-13T16:27:53Z rumbler3_ quit (Ping timeout: 255 seconds) 2017-06-13T16:30:25Z slyrus quit (Ping timeout: 246 seconds) 2017-06-13T16:31:19Z ericmathison quit (Ping timeout: 268 seconds) 2017-06-13T16:32:41Z FreeBird_ quit (Remote host closed the connection) 2017-06-13T16:33:16Z FreeBirdLjj joined #lisp 2017-06-13T16:33:46Z slyrus joined #lisp 2017-06-13T16:33:48Z araujo quit (Ping timeout: 240 seconds) 2017-06-13T16:35:04Z slyrus quit (Read error: Connection reset by peer) 2017-06-13T16:35:38Z hhdave quit (Ping timeout: 258 seconds) 2017-06-13T16:36:01Z andrzejk_ joined #lisp 2017-06-13T16:37:12Z nowhereman_ quit (Ping timeout: 260 seconds) 2017-06-13T16:37:21Z slyrus joined #lisp 2017-06-13T16:37:28Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-06-13T16:37:37Z slyrus_ joined #lisp 2017-06-13T16:39:21Z knicklux quit (Remote host closed the connection) 2017-06-13T16:40:59Z mejja quit (Quit: \ No newline at end of file) 2017-06-13T16:44:28Z d4ryus joined #lisp 2017-06-13T16:46:12Z malice: what is the name of attempt-resync restart for sb-int:stream-decoding-error ? 2017-06-13T16:46:16Z malice: attempt-resync does not work 2017-06-13T16:46:43Z malice: I tried (invoke-restart 'attempt-resync) 2017-06-13T16:47:19Z malice: ugh 2017-06-13T16:47:34Z malice: it's probably sb-int:attempt-resync... idk why I previously thought it's not there 2017-06-13T16:49:39Z Baggers joined #lisp 2017-06-13T16:49:39Z deba5e12 joined #lisp 2017-06-13T16:52:11Z Oddity quit (Ping timeout: 255 seconds) 2017-06-13T16:52:25Z whoman joined #lisp 2017-06-13T16:53:24Z cggong quit (Quit: cggong) 2017-06-13T16:54:26Z knobo quit (Ping timeout: 255 seconds) 2017-06-13T16:55:12Z _paul0 joined #lisp 2017-06-13T16:55:22Z LiamH quit (Ping timeout: 268 seconds) 2017-06-13T16:56:15Z LiamH joined #lisp 2017-06-13T16:56:15Z knobo joined #lisp 2017-06-13T16:57:40Z jsmith_ joined #lisp 2017-06-13T16:58:07Z lemonpepper24 joined #lisp 2017-06-13T16:58:35Z paul0 quit (Ping timeout: 240 seconds) 2017-06-13T16:58:54Z Oddity joined #lisp 2017-06-13T17:02:35Z m00natic quit (Remote host closed the connection) 2017-06-13T17:07:09Z defaultxr joined #lisp 2017-06-13T17:09:04Z knicklux joined #lisp 2017-06-13T17:09:31Z teggi joined #lisp 2017-06-13T17:13:28Z phinxy quit (Ping timeout: 255 seconds) 2017-06-13T17:14:12Z phinxy joined #lisp 2017-06-13T17:17:25Z whoman2 joined #lisp 2017-06-13T17:19:54Z vlatkoB_ joined #lisp 2017-06-13T17:20:35Z whoman quit (Ping timeout: 246 seconds) 2017-06-13T17:23:44Z vlatkoB quit (Ping timeout: 246 seconds) 2017-06-13T17:23:53Z rumbler3_ joined #lisp 2017-06-13T17:26:16Z kjak_ joined #lisp 2017-06-13T17:26:29Z teggi quit (Remote host closed the connection) 2017-06-13T17:28:10Z rumbler3_ quit (Ping timeout: 240 seconds) 2017-06-13T17:33:52Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-06-13T17:34:51Z damke_ quit (Read error: Connection reset by peer) 2017-06-13T17:34:58Z Reinisch quit (Ping timeout: 260 seconds) 2017-06-13T17:35:21Z damke_ joined #lisp 2017-06-13T17:36:27Z slyrus quit (Ping timeout: 240 seconds) 2017-06-13T17:36:43Z teggi joined #lisp 2017-06-13T17:39:46Z Karl_Dscc joined #lisp 2017-06-13T17:45:30Z diegs_ quit (Ping timeout: 240 seconds) 2017-06-13T17:46:25Z knobo quit (Remote host closed the connection) 2017-06-13T17:49:27Z Merv__ quit (Remote host closed the connection) 2017-06-13T17:53:30Z QwertyDragon_ quit (Quit: Leaving) 2017-06-13T17:59:09Z Ukari quit (Ping timeout: 240 seconds) 2017-06-13T18:02:10Z cggong joined #lisp 2017-06-13T18:02:16Z phinxy quit (Ping timeout: 258 seconds) 2017-06-13T18:02:49Z cggong quit (Client Quit) 2017-06-13T18:03:00Z shka_: yo all 2017-06-13T18:03:28Z shka_: i need example of how hyper specs describes classes 2017-06-13T18:03:49Z shka_: phoe: ping! 2017-06-13T18:06:28Z _death: clhs standard-object 2017-06-13T18:06:28Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/t_std_ob.htm 2017-06-13T18:08:21Z MajorFowlUp joined #lisp 2017-06-13T18:08:40Z shka_: _death: well, i guess it needs to be enough 2017-06-13T18:09:54Z sukaeto: re: the whole SQL discussion - I've been using Fukamachi's SxQL and I've been pretty happy with it 2017-06-13T18:10:24Z sukaeto: almost everything I've wanted to do, he's implemented 2017-06-13T18:10:41Z sukaeto: and it's relatively easy to extend with your own clauses 2017-06-13T18:13:29Z _death: I played with it a while ago.. it looked nice 2017-06-13T18:14:53Z Ukari joined #lisp 2017-06-13T18:21:18Z sbodin joined #lisp 2017-06-13T18:21:24Z Bock quit (Read error: Connection reset by peer) 2017-06-13T18:23:07Z teggi quit (Quit: Leaving...) 2017-06-13T18:24:42Z rumbler3_ joined #lisp 2017-06-13T18:26:09Z tankfeeder joined #lisp 2017-06-13T18:27:27Z knobo joined #lisp 2017-06-13T18:29:04Z rumbler3_ quit (Ping timeout: 246 seconds) 2017-06-13T18:29:35Z MajorFowlUp is now known as MajorlyFowledUp 2017-06-13T18:31:37Z MajorlyFowledUp is now known as MajorFowlUp 2017-06-13T18:33:26Z cggong joined #lisp 2017-06-13T18:35:03Z diegs_ joined #lisp 2017-06-13T18:36:55Z tankfeeder left #lisp 2017-06-13T18:41:40Z MrWoohoo quit (Ping timeout: 255 seconds) 2017-06-13T18:42:37Z tiago quit (Quit: ZNC - http://znc.in) 2017-06-13T18:45:16Z logicmoo is now known as dmles 2017-06-13T18:45:19Z dmles is now known as dmioles 2017-06-13T18:47:02Z Reinisch joined #lisp 2017-06-13T18:57:19Z Kevslinger joined #lisp 2017-06-13T18:59:27Z quazimodo quit (Read error: Connection reset by peer) 2017-06-13T18:59:50Z mishoo quit (Ping timeout: 240 seconds) 2017-06-13T19:00:07Z cggong quit (Quit: cggong) 2017-06-13T19:00:09Z lemonpepper24 quit (Ping timeout: 240 seconds) 2017-06-13T19:01:42Z damke joined #lisp 2017-06-13T19:04:15Z damke_ quit (Ping timeout: 268 seconds) 2017-06-13T19:04:46Z mrottenkolber joined #lisp 2017-06-13T19:05:36Z prole joined #lisp 2017-06-13T19:07:57Z damke quit (Ping timeout: 268 seconds) 2017-06-13T19:08:10Z dmioles is now known as dmiles 2017-06-13T19:14:22Z cggong joined #lisp 2017-06-13T19:16:16Z slyrus joined #lisp 2017-06-13T19:19:43Z lemonpepper24 joined #lisp 2017-06-13T19:20:04Z LiamH quit (Ping timeout: 260 seconds) 2017-06-13T19:21:39Z LiamH joined #lisp 2017-06-13T19:23:30Z scymtym_ quit (Ping timeout: 240 seconds) 2017-06-13T19:24:12Z slyrus__ joined #lisp 2017-06-13T19:24:30Z slyrus_ quit (Ping timeout: 240 seconds) 2017-06-13T19:25:25Z rumbler3_ joined #lisp 2017-06-13T19:25:37Z MrWoohoo joined #lisp 2017-06-13T19:29:30Z rumbler3_ quit (Ping timeout: 240 seconds) 2017-06-13T19:29:42Z andrzejk_: hi people 2017-06-13T19:31:08Z slyrus__ quit (Ping timeout: 246 seconds) 2017-06-13T19:32:36Z jackdaniel: o/ 2017-06-13T19:33:00Z jackdaniel: andrzejk_: fyi there is polish channel #lisp-pl if you are interested 2017-06-13T19:33:10Z andrzejk_: thnks 2017-06-13T19:34:51Z slyrus_ joined #lisp 2017-06-13T19:37:30Z Merv_ joined #lisp 2017-06-13T19:39:57Z dbh joined #lisp 2017-06-13T19:43:04Z dbh quit (Client Quit) 2017-06-13T19:48:27Z midre quit (Ping timeout: 258 seconds) 2017-06-13T19:51:35Z ryanbw quit (Ping timeout: 240 seconds) 2017-06-13T19:51:57Z omilu quit (Ping timeout: 240 seconds) 2017-06-13T19:55:36Z ebrasca joined #lisp 2017-06-13T19:57:45Z varjagg joined #lisp 2017-06-13T20:00:30Z gingerale quit (Ping timeout: 240 seconds) 2017-06-13T20:01:38Z vlatkoB_ quit (Remote host closed the connection) 2017-06-13T20:04:09Z DeadTrickster quit (Ping timeout: 240 seconds) 2017-06-13T20:08:46Z BlueRavenGT joined #lisp 2017-06-13T20:09:16Z knicklux quit (Quit: Leaving) 2017-06-13T20:26:10Z rumbler3_ joined #lisp 2017-06-13T20:26:52Z phinxy joined #lisp 2017-06-13T20:29:02Z Jesin quit (Quit: Leaving) 2017-06-13T20:30:30Z rumbler3_ quit (Ping timeout: 240 seconds) 2017-06-13T20:31:22Z ebrasca is now known as ebrasca-afk 2017-06-13T20:31:44Z Jesin joined #lisp 2017-06-13T20:33:25Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-06-13T20:33:26Z angavrilov quit (Remote host closed the connection) 2017-06-13T20:44:49Z arbv quit (Quit: ZNC - http://znc.in) 2017-06-13T20:45:07Z quazimodo joined #lisp 2017-06-13T20:45:38Z arbv joined #lisp 2017-06-13T20:57:15Z manuel__ quit (Quit: manuel__) 2017-06-13T21:01:52Z manuel__ joined #lisp 2017-06-13T21:04:58Z dispersed quit (Ping timeout: 260 seconds) 2017-06-13T21:09:15Z andrzejk_ quit (Quit: My iMac has gone to sleep. ZZZzzz…) 2017-06-13T21:13:16Z diegs_: how is lisp (SBCL) as a scripting language? For most 'misc' tasks/scripts, I'll use bash and/or python, but I just find lisp fun and was just wondering 2017-06-13T21:13:27Z diegs_: I guess i mean not for standalone applications or isolated research, etc. 2017-06-13T21:14:53Z emacsomancer joined #lisp 2017-06-13T21:15:21Z switchy left #lisp 2017-06-13T21:15:39Z whoman2: elisp is also nice and powerful and convenient. 2017-06-13T21:16:30Z diegs_: Oh i love me some elisp, but it seems odd to use it for standalone scripts that aren't emacs related 2017-06-13T21:17:27Z zeroish quit (Ping timeout: 268 seconds) 2017-06-13T21:18:01Z dispersed joined #lisp 2017-06-13T21:18:07Z zeroish75 quit (Ping timeout: 246 seconds) 2017-06-13T21:18:54Z andrzejk_ joined #lisp 2017-06-13T21:18:57Z ealfonso joined #lisp 2017-06-13T21:20:18Z zeroish75 joined #lisp 2017-06-13T21:20:23Z zeroish joined #lisp 2017-06-13T21:21:10Z scymtym joined #lisp 2017-06-13T21:22:22Z arpunk joined #lisp 2017-06-13T21:22:45Z arpunk left #lisp 2017-06-13T21:23:03Z manuel__ quit (Quit: manuel__) 2017-06-13T21:25:17Z ealfonso: I would like to use read-line on a usocket stream, but I only know when to stop reading to based on a timeout (ie I can't use newline or EOF). how can I achieve this? 2017-06-13T21:25:28Z manuel__ joined #lisp 2017-06-13T21:26:55Z rumbler3_ joined #lisp 2017-06-13T21:28:50Z jsmith_: doesn't read-line require a newline to function? 2017-06-13T21:30:13Z ealfonso: jsmith_ there's the :eof-value kw arg 2017-06-13T21:30:13Z ealfonso: 2017-06-13T21:30:44Z jsmith_ is now known as JonSmith 2017-06-13T21:31:10Z rumbler3_ quit (Ping timeout: 240 seconds) 2017-06-13T21:31:16Z Bike quit (Ping timeout: 255 seconds) 2017-06-13T21:32:30Z JonSmith: Yeah, but I mean, you read-line on a stream that doesn't have a newline but stays open (assuming like a tcp connection or w/e), it'll block until you get a newline 2017-06-13T21:32:31Z ealfonso: I'm also getting this: "There is no applicable method for the generic function # when called with arguments (# NIL 9999)". which is strange since (describe 'usocket:socket-receive) says: "SOCKET-RECEIVE names a generic function: Lambda-list: (USOCKET BUFFER LENGTH &KEY)" 2017-06-13T21:33:48Z JonSmith: but if your protocol indicates you'll always get a newline you could just readline in a loop and check the time or whatever 2017-06-13T21:33:53Z ealfonso: JonSmith yeah, so I guess I can't use read-line, and I have to do it manually, which I'm trying via usocket:socket-receive, but for some reason it's complaining with error above 2017-06-13T21:34:43Z ealfonso: JonSmith I can't check the time because read-line blocks, and I can't guarantee I will get a newline 2017-06-13T21:34:49Z JonSmith: it's complaining about a bad lambda list, so maybe the type of something is wrong 2017-06-13T21:35:49Z JonSmith: my guess would be the buffer 2017-06-13T21:35:50Z ealfonso: docs say I can pass nil for buffer and nil for length, and first arg should be a socket: https://common-lisp.net/project/usocket/api-docs.shtml 2017-06-13T21:36:18Z JonSmith: so, whats different between a socket and a stream-usocket? 2017-06-13T21:36:27Z JonSmith: or i guess, is there one? 2017-06-13T21:36:43Z whoman2: oh gosh. lisp needs a (diff ) 2017-06-13T21:37:57Z JonSmith: yeah socket-receive wants a datagram-usocket 2017-06-13T21:38:49Z JonSmith: you might be able to do wait-for-input or something like that 2017-06-13T21:38:59Z salv0 quit (Remote host closed the connection) 2017-06-13T21:39:38Z JonSmith: or because it's a stream just use the normal stream reading stuff 2017-06-13T21:40:21Z JonSmith: read-byte/read-sequence 2017-06-13T21:41:28Z diegs_ quit (Quit: WeeChat 1.9-dev) 2017-06-13T21:42:04Z loke___ quit (Quit: Leaving) 2017-06-13T21:42:35Z andrzejk_ quit (Quit: Textual IRC Client: www.textualapp.com) 2017-06-13T21:46:16Z cggong quit (Quit: cggong) 2017-06-13T21:47:47Z cggong joined #lisp 2017-06-13T21:47:47Z ealfonso: JonSmith how is this different from read-line? I can't specify a timeout and read-sequence seems to block 2017-06-13T21:48:42Z JonSmith: yeah, so you'd do read-byte probably 2017-06-13T21:49:19Z JonSmith: unless you can peek the stream and see how many bytes are in it then tailor your read-sequence to that length 2017-06-13T21:49:32Z JonSmith: i'm not a usocket expert 2017-06-13T21:49:50Z JonSmith: but read-byte would be easy if ineffiient 2017-06-13T21:49:57Z JonSmith: inefficient 2017-06-13T21:50:48Z akkad quit (Remote host closed the connection) 2017-06-13T21:51:22Z ealfonso: looking at (describe 'read-byte), doesn't say much. so it doesn't block? I don't see a way to get a usocket stream's length 2017-06-13T21:52:11Z Karl_Dscc quit (Remote host closed the connection) 2017-06-13T21:53:08Z shka_ quit (Ping timeout: 260 seconds) 2017-06-13T21:53:48Z JonSmith: if the socket is :READY state you know it's available to read a byte from it 2017-06-13T21:54:25Z JonSmith: would be worth googling an example i'm sure 2017-06-13T21:56:29Z moei quit (Quit: Leaving...) 2017-06-13T21:56:53Z EvW1 joined #lisp 2017-06-13T21:56:54Z JonSmith: ah, 2017-06-13T21:56:58Z JonSmith: maybe this: http://clhs.lisp.se/Body/f_rd_c_1.htm 2017-06-13T21:56:59Z _death: whoman2: here you go, feel free to improve: http://paste.lisp.org/display/348671 2017-06-13T21:57:02Z JonSmith: read-char-no-hang? 2017-06-13T21:57:26Z msb quit (Ping timeout: 246 seconds) 2017-06-13T21:58:32Z JonSmith: in which case you'd just read in a loop until you hit a null and buffer it up yourself however you like 2017-06-13T21:58:43Z xaotuk joined #lisp 2017-06-13T21:58:50Z akkad joined #lisp 2017-06-13T21:59:34Z msb joined #lisp 2017-06-13T21:59:48Z rumbler31 quit (Ping timeout: 260 seconds) 2017-06-13T22:01:27Z pjb: (com.informatimago.common-lisp.cesarum.list:tree-difference '(if (= a b) yes no) '(if (= a 0) yes nil)) #| --> (= (= = (/= b 0) . =) = (/= no nil) . =) |# 2017-06-13T22:01:40Z diegs_ joined #lisp 2017-06-13T22:02:58Z JonSmith: you might also be able to do something implementation specific 2017-06-13T22:05:09Z _user joined #lisp 2017-06-13T22:05:23Z _death: I suppose k should have initial value of 1.. 2017-06-13T22:05:34Z diegs_: anyone here gotten iolib working with quicklisp and SBCL? 2017-06-13T22:05:42Z diegs_: getting an error when (ql:quickload-ing 2017-06-13T22:10:41Z Baggers quit (Remote host closed the connection) 2017-06-13T22:10:48Z zeroish quit (Ping timeout: 240 seconds) 2017-06-13T22:11:08Z zeroish75 quit (Ping timeout: 240 seconds) 2017-06-13T22:12:16Z fe[nl]ix: diegs_: iolib needs a supporting C library named libfixposix 2017-06-13T22:12:39Z diegs_: fe[nl]ix: i've _think_ got that bit, the error is: (IOLIB/GROVEL::GROVEL-ERROR # 1 "g++" ("-m64" "-Wno-write-strings" "-I/home/diego/quicklisp/dists/quicklisp/software/iolib-v0.8.2/src/grovel/" "-o" "/home/diego/.cache/common-lisp/sbcl-1.3.18.62-f6ff1ee2e-linux-x64/home/diego/quicklisp/dists/quicklisp/software/iolib-v0.8.2/src/syscalls/ffi-types-unix" 2017-06-13T22:12:43Z diegs_: "/home/diego/.cache/common-lisp/sbcl-1.3.18.62-f6ff1ee2e-linux-x64/home/diego/quicklisp/dists/quicklisp/software/iolib-v0.8.2/src/syscalls/ffi-types-unix.c") "" #) 2017-06-13T22:12:45Z diegs_: source: (ERROR (QUOTE GROVEL-ERROR) :FORMAT-CONTROL FORMAT-CONTROL :FORMAT-ARGUMENTS FORMAT-ARGUMENTS) 2017-06-13T22:12:48Z diegs_: whoops 2017-06-13T22:13:00Z diegs_: well that _is_ the error. Something about grovel? 2017-06-13T22:13:12Z cggong quit (Quit: cggong) 2017-06-13T22:13:37Z Merv__ joined #lisp 2017-06-13T22:14:23Z Bike joined #lisp 2017-06-13T22:14:43Z fe[nl]ix: diegs_: try loading it with (asdf:load-system :iolib) and paste the error somewhere like paste.lisp.org 2017-06-13T22:15:52Z Merv_ quit (Ping timeout: 255 seconds) 2017-06-13T22:17:19Z diegs_: fe[nl]ix: http://paste.lisp.org/display/348672 2017-06-13T22:18:06Z phinxy quit (Read error: Connection reset by peer) 2017-06-13T22:18:40Z fe[nl]ix: that doesn't say much 2017-06-13T22:18:52Z fe[nl]ix: is there more in the REPL buffer ? 2017-06-13T22:20:39Z mejja joined #lisp 2017-06-13T22:21:08Z nowhereman_ joined #lisp 2017-06-13T22:21:50Z diegs_: there is, let me see 2017-06-13T22:22:22Z fe[nl]ix: I annotated the paste with the command line to run 2017-06-13T22:22:32Z fe[nl]ix: try in in a terminal and paste the error 2017-06-13T22:24:07Z diegs_: when y try from command line i don't seem to get an error 2017-06-13T22:24:34Z diegs_: i think. 2017-06-13T22:24:35Z fe[nl]ix: well, that's strange 2017-06-13T22:24:58Z fe[nl]ix: is there an actual error message in the REPL ? something coming from the compiler ? 2017-06-13T22:25:11Z diegs_: fe[nl]ix: https://gist.github.com/therockmandolinist/f1c9fc363b669ce69288e73abdc87f3d 2017-06-13T22:25:29Z diegs_: that's the actual full output of running asdf:load-system 2017-06-13T22:25:44Z whoman2: _death, thank you :)! 2017-06-13T22:25:49Z manuel__ quit (Quit: manuel__) 2017-06-13T22:26:21Z diegs_: fe[nl]ix: and i think i lied and am getting the same error in command line but my terminal is configured weirdly so i can't see all of it 2017-06-13T22:26:28Z fe[nl]ix: crap 2017-06-13T22:26:35Z fe[nl]ix: I think I know what it is 2017-06-13T22:26:50Z fe[nl]ix: I'll do a new release 2017-06-13T22:27:17Z fe[nl]ix: sorry, I should have released it before 2017-06-13T22:27:39Z rumbler31 joined #lisp 2017-06-13T22:27:50Z fe[nl]ix: in the meanwhile, you could clone the git repository and put it into local-projects 2017-06-13T22:28:17Z fe[nl]ix: diegs_: the fix is this commit: https://github.com/sionescu/iolib/commit/c9beaf1ba0ca37ed88b312c844595ba943c19232 2017-06-13T22:28:20Z phinxy joined #lisp 2017-06-13T22:28:43Z diegs_: i see 2017-06-13T22:28:59Z nirved quit (Quit: Leaving) 2017-06-13T22:29:51Z ealfonso: JonSmith thanks, read-char-no-hang was exactly what I needed. 2017-06-13T22:30:05Z fe[nl]ix: diegs_: it's because if an optimization in recent SBCL 2017-06-13T22:30:18Z ealfonso: can I shrink or grow an existing array or sequence? 2017-06-13T22:30:41Z diegs_: fe[nl]ix: cloning worked :) thanks 2017-06-13T22:31:41Z d4ryus1 joined #lisp 2017-06-13T22:31:50Z rumbler31 quit (Ping timeout: 240 seconds) 2017-06-13T22:32:36Z ealfonso: (describe 'ADJUST-ARRAY) => ... Adjust ARRAY's dimensions to the given DIMENSIONS and stuff. 2017-06-13T22:32:51Z ealfonso: "and stuff"... very professional 2017-06-13T22:33:51Z Bike: implementation docstrings for standard functions are often kind of crap, since the CLHS is inevitably better 2017-06-13T22:33:59Z Bike: also, you may or may not be interested in vector-push-extend 2017-06-13T22:34:27Z d4ryus quit (Ping timeout: 240 seconds) 2017-06-13T22:34:42Z fe[nl]ix: diegs_: I made the release 2017-06-13T22:35:02Z fe[nl]ix: should be in the next Quicklisp update 2017-06-13T22:36:23Z _user quit (Ping timeout: 268 seconds) 2017-06-13T22:40:48Z scymtym quit (Ping timeout: 240 seconds) 2017-06-13T22:41:08Z ealfonso quit (Ping timeout: 240 seconds) 2017-06-13T22:43:05Z xaotuk quit (Ping timeout: 240 seconds) 2017-06-13T22:44:11Z diegs_: cool, thanks! 2017-06-13T22:47:04Z Lowl3v3l joined #lisp 2017-06-13T22:47:34Z rumbler31 joined #lisp 2017-06-13T22:47:47Z zeroish75 joined #lisp 2017-06-13T22:47:52Z zeroish joined #lisp 2017-06-13T22:51:50Z rumbler31 quit (Ping timeout: 240 seconds) 2017-06-13T22:59:00Z moei joined #lisp 2017-06-13T22:59:04Z diegs_ quit (Ping timeout: 255 seconds) 2017-06-13T22:59:39Z varjagg quit (Ping timeout: 240 seconds) 2017-06-13T22:59:56Z LiamH quit (Quit: Leaving.) 2017-06-13T23:02:10Z isoraqathedh_ joined #lisp 2017-06-13T23:02:26Z isoraqathedh quit (Disconnected by services) 2017-06-13T23:02:30Z isoraqathedh_ is now known as isoraqathedh 2017-06-13T23:02:50Z quazimodo quit (Ping timeout: 240 seconds) 2017-06-13T23:03:10Z cpt_nemo quit (Write error: Broken pipe) 2017-06-13T23:03:10Z forgot quit (Write error: Broken pipe) 2017-06-13T23:03:10Z ck_ quit (Remote host closed the connection) 2017-06-13T23:03:11Z cpt_nemo joined #lisp 2017-06-13T23:03:21Z forgot joined #lisp 2017-06-13T23:05:24Z rumbler31 joined #lisp 2017-06-13T23:05:26Z S1ohy quit (Read error: Connection reset by peer) 2017-06-13T23:08:25Z ck_ joined #lisp 2017-06-13T23:09:08Z araujo joined #lisp 2017-06-13T23:09:08Z araujo quit (Changing host) 2017-06-13T23:09:08Z araujo joined #lisp 2017-06-13T23:14:12Z ealfonso joined #lisp 2017-06-13T23:14:51Z attila_lendvai joined #lisp 2017-06-13T23:17:11Z ealfonso: Bike vector-push-extend doesn't seem to work for sequences 2017-06-13T23:17:57Z Bike: Well. No. It says "vector" right there. If you want to add to a list you can use push. 2017-06-13T23:19:20Z ealfonso: s/sequences/arrays 2017-06-13T23:19:21Z phinxy quit (Read error: Connection reset by peer) 2017-06-13T23:19:47Z ealfonso: Bike I can just use subseq for my purposes 2017-06-13T23:21:26Z Bike: subseq doesn't work on multidimensional arrays either. and i don't know how you go from vector-push-extend to subseq, but hey, if you got whatever you're doing working 2017-06-13T23:22:08Z zeroish quit (Ping timeout: 246 seconds) 2017-06-13T23:22:08Z zeroish75 quit (Ping timeout: 246 seconds) 2017-06-13T23:35:38Z JonSmith quit (Remote host closed the connection) 2017-06-13T23:36:12Z JonSmith joined #lisp 2017-06-13T23:40:28Z JonSmith quit (Ping timeout: 255 seconds) 2017-06-13T23:43:38Z slyrus quit (Ping timeout: 260 seconds) 2017-06-13T23:44:39Z zeroish75 joined #lisp 2017-06-13T23:44:44Z zeroish joined #lisp 2017-06-13T23:49:28Z zeroish quit (Ping timeout: 260 seconds) 2017-06-13T23:49:28Z zeroish75 quit (Ping timeout: 260 seconds) 2017-06-13T23:51:54Z deba5e12 quit (Remote host closed the connection) 2017-06-13T23:52:34Z tapioco quit (Ping timeout: 255 seconds) 2017-06-13T23:54:10Z mrottenkolber quit (Ping timeout: 258 seconds) 2017-06-13T23:54:12Z coyo quit (Remote host closed the connection) 2017-06-13T23:57:38Z pve quit (Ping timeout: 260 seconds)