2017-09-01T00:11:33Z nachoBA quit (Quit: Leaving) 2017-09-01T00:21:12Z Guest14502 joined #lisp 2017-09-01T00:21:40Z safe joined #lisp 2017-09-01T00:29:25Z Kaisyu joined #lisp 2017-09-01T00:30:52Z whoman quit (Remote host closed the connection) 2017-09-01T00:31:01Z Guest14502 quit (Ping timeout: 252 seconds) 2017-09-01T00:31:19Z whoman joined #lisp 2017-09-01T00:35:43Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-01T00:37:18Z pierpa quit (Quit: Page closed) 2017-09-01T00:46:46Z Amplituhedron quit (Quit: Konversation terminated!) 2017-09-01T00:47:03Z LiamH quit (Ping timeout: 248 seconds) 2017-09-01T00:53:28Z Kyo91 joined #lisp 2017-09-01T00:56:48Z JuanDaugherty quit (Quit: Ex-Chat) 2017-09-01T01:05:59Z d4ryus2 joined #lisp 2017-09-01T01:09:26Z d4ryus1 quit (Ping timeout: 260 seconds) 2017-09-01T01:15:17Z phinxy joined #lisp 2017-09-01T01:19:01Z paule32 quit (Quit: paule32) 2017-09-01T01:36:07Z postit quit (Quit: quiting) 2017-09-01T01:36:25Z neoncontrails quit (Remote host closed the connection) 2017-09-01T01:36:54Z neoncontrails joined #lisp 2017-09-01T01:37:10Z lambdice quit (Quit: Page closed) 2017-09-01T01:39:44Z brendyn joined #lisp 2017-09-01T01:41:25Z neoncontrails quit (Ping timeout: 252 seconds) 2017-09-01T01:47:31Z karswell quit (Remote host closed the connection) 2017-09-01T01:49:29Z dieggsy joined #lisp 2017-09-01T01:52:03Z attila_lendvai quit (Quit: Leaving.) 2017-09-01T01:55:51Z Kyo91 quit (Ping timeout: 248 seconds) 2017-09-01T02:00:51Z dieggsy quit (Ping timeout: 255 seconds) 2017-09-01T02:01:30Z AX31_A13X joined #lisp 2017-09-01T02:03:45Z AxelAlex quit (Ping timeout: 240 seconds) 2017-09-01T02:07:22Z malice joined #lisp 2017-09-01T02:07:34Z malice: How are these things called? #+sbcl #+nil etc. 2017-09-01T02:08:37Z PuercoPop: feature expressions 2017-09-01T02:11:34Z malice: Thanks! 2017-09-01T02:12:09Z JohnTalent quit (Ping timeout: 240 seconds) 2017-09-01T02:14:55Z marvin3 joined #lisp 2017-09-01T02:15:00Z mson joined #lisp 2017-09-01T02:16:54Z Kyo91 joined #lisp 2017-09-01T02:17:15Z marvin2 quit (Ping timeout: 240 seconds) 2017-09-01T02:25:08Z grublet quit (Ping timeout: 255 seconds) 2017-09-01T02:42:24Z damke joined #lisp 2017-09-01T02:47:30Z vtomole joined #lisp 2017-09-01T02:56:19Z chens joined #lisp 2017-09-01T02:57:39Z shiranuidong quit (Ping timeout: 240 seconds) 2017-09-01T02:57:47Z shiranuidong joined #lisp 2017-09-01T03:00:36Z whoman quit (Remote host closed the connection) 2017-09-01T03:01:12Z rngoodn joined #lisp 2017-09-01T03:02:41Z whoman joined #lisp 2017-09-01T03:03:17Z rngoodn quit (Client Quit) 2017-09-01T03:04:03Z shka_ joined #lisp 2017-09-01T03:04:17Z froggey quit (Ping timeout: 255 seconds) 2017-09-01T03:05:38Z chens quit (Remote host closed the connection) 2017-09-01T03:06:00Z chens joined #lisp 2017-09-01T03:06:23Z chens is now known as Guest27099 2017-09-01T03:06:35Z schoppenhauer quit (Ping timeout: 240 seconds) 2017-09-01T03:07:01Z phinxy quit (Quit: Leaving) 2017-09-01T03:07:51Z marvin3 quit 2017-09-01T03:08:48Z schoppenhauer joined #lisp 2017-09-01T03:09:58Z jasom: clhs #+ 2017-09-01T03:09:58Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/02_dhq.htm 2017-09-01T03:10:06Z jasom: malice: see above ^^^ 2017-09-01T03:11:28Z froggey joined #lisp 2017-09-01T03:11:33Z JohnTalent joined #lisp 2017-09-01T03:19:00Z oleo quit (Ping timeout: 246 seconds) 2017-09-01T03:19:24Z Bike quit (Ping timeout: 240 seconds) 2017-09-01T03:22:14Z Guest27099 quit (Remote host closed the connection) 2017-09-01T03:22:38Z chens` joined #lisp 2017-09-01T03:24:28Z chens` quit (Remote host closed the connection) 2017-09-01T03:24:52Z chens` joined #lisp 2017-09-01T03:28:26Z chens` is now known as chens 2017-09-01T03:33:04Z Kyo91 quit (Ping timeout: 252 seconds) 2017-09-01T03:49:31Z damke_ joined #lisp 2017-09-01T03:50:08Z Kyo91 joined #lisp 2017-09-01T03:51:15Z damke quit (Ping timeout: 240 seconds) 2017-09-01T03:53:05Z safe quit (Read error: Connection reset by peer) 2017-09-01T03:54:46Z Kyo91 quit (Ping timeout: 248 seconds) 2017-09-01T03:59:06Z whoman: ":allocation :class"! this is exactly what i was looking for the other day. i dont think i worded my question properly at the time 2017-09-01T04:02:15Z damke_ quit (Ping timeout: 240 seconds) 2017-09-01T04:02:49Z damke_ joined #lisp 2017-09-01T04:03:50Z neoncontrails joined #lisp 2017-09-01T04:03:51Z Jesin quit (Ping timeout: 260 seconds) 2017-09-01T04:09:35Z damke_ quit (Ping timeout: 240 seconds) 2017-09-01T04:10:38Z damke_ joined #lisp 2017-09-01T04:20:06Z Jesin joined #lisp 2017-09-01T04:22:47Z deba5e12 joined #lisp 2017-09-01T04:23:02Z vtomole: clhs macro-character 2017-09-01T04:23:02Z specbot: Couldn't find anything for macro-character. 2017-09-01T04:23:40Z vtomole: clhs read 2017-09-01T04:23:40Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_rd_rd.htm 2017-09-01T04:36:08Z JuanDaugherty joined #lisp 2017-09-01T04:40:36Z phinxy joined #lisp 2017-09-01T04:45:56Z oleo joined #lisp 2017-09-01T04:50:39Z phinxy quit (Ping timeout: 240 seconds) 2017-09-01T04:58:55Z zRecursive joined #lisp 2017-09-01T05:00:05Z zooey quit (Remote host closed the connection) 2017-09-01T05:00:22Z zooey joined #lisp 2017-09-01T05:01:59Z damke joined #lisp 2017-09-01T05:03:35Z damke_ quit (Ping timeout: 240 seconds) 2017-09-01T05:04:20Z Bock joined #lisp 2017-09-01T05:04:49Z oleo quit (Quit: irc client terminated!) 2017-09-01T05:10:24Z damke_ joined #lisp 2017-09-01T05:10:55Z damke quit (Ping timeout: 240 seconds) 2017-09-01T05:12:05Z dec0n joined #lisp 2017-09-01T05:13:44Z JohnTalent: phoe: maybe I'm from an alternate timeline. 2017-09-01T05:13:50Z JohnTalent quit (Quit: leaving) 2017-09-01T05:14:48Z mson quit (Quit: Connection closed for inactivity) 2017-09-01T05:20:09Z vlatkoB joined #lisp 2017-09-01T05:35:32Z Karl_Dscc joined #lisp 2017-09-01T05:37:48Z DeadTrickster quit (Read error: Connection reset by peer) 2017-09-01T05:38:14Z DeadTrickster joined #lisp 2017-09-01T05:46:42Z knobo2 joined #lisp 2017-09-01T05:47:51Z scymtym quit (Ping timeout: 248 seconds) 2017-09-01T05:51:27Z flamebeard joined #lisp 2017-09-01T05:52:07Z knobo2 quit (Ping timeout: 248 seconds) 2017-09-01T05:53:04Z beach: Good morning everyone! 2017-09-01T05:53:13Z shka_: beach: good morning! 2017-09-01T05:53:33Z d4ryus2 is now known as d4ryus 2017-09-01T05:57:23Z vtomole quit (Ping timeout: 260 seconds) 2017-09-01T06:01:45Z obm joined #lisp 2017-09-01T06:04:03Z angavrilov joined #lisp 2017-09-01T06:04:14Z neoncontrails quit (Remote host closed the connection) 2017-09-01T06:04:53Z neoncontrails joined #lisp 2017-09-01T06:06:48Z neoncontrails quit (Read error: Connection reset by peer) 2017-09-01T06:07:17Z BitPuffin|osx quit (Remote host closed the connection) 2017-09-01T06:07:56Z BitPuffin|osx joined #lisp 2017-09-01T06:08:15Z neoncontrails joined #lisp 2017-09-01T06:08:36Z neoncontrails quit (Remote host closed the connection) 2017-09-01T06:08:47Z clintm: Good morning, beach! 2017-09-01T06:09:12Z neoncontrails joined #lisp 2017-09-01T06:10:11Z Karl_Dscc quit (Remote host closed the connection) 2017-09-01T06:13:18Z neoncontrails quit (Ping timeout: 246 seconds) 2017-09-01T06:15:33Z shka_ quit (Ping timeout: 248 seconds) 2017-09-01T06:20:57Z ak5 joined #lisp 2017-09-01T06:25:05Z rafadc joined #lisp 2017-09-01T06:25:49Z rafadc quit (Client Quit) 2017-09-01T06:32:51Z nsrahmad joined #lisp 2017-09-01T06:35:56Z damke joined #lisp 2017-09-01T06:37:11Z rafadc joined #lisp 2017-09-01T06:37:59Z deba5e12 quit (Ping timeout: 248 seconds) 2017-09-01T06:38:15Z damke_ quit (Ping timeout: 240 seconds) 2017-09-01T06:39:14Z nsrahmad quit (Ping timeout: 246 seconds) 2017-09-01T06:40:21Z phoe joined #lisp 2017-09-01T06:40:25Z knobo2 joined #lisp 2017-09-01T06:45:21Z mingus` joined #lisp 2017-09-01T06:46:05Z jasom: beacn saying "good morning" usually means I should be in bed 2017-09-01T06:47:14Z jackdaniel: heh 2017-09-01T06:48:39Z mingus quit (Ping timeout: 248 seconds) 2017-09-01T06:52:11Z beach: It is good that I serve some purpose. I also serve the purpose of reminding loke to go to lunch when I say "Good morning everyone!" 2017-09-01T06:54:06Z Zhivago: A life well lived. 2017-09-01T06:58:23Z chens quit (Remote host closed the connection) 2017-09-01T07:00:00Z chens joined #lisp 2017-09-01T07:00:17Z damke quit (Read error: Connection reset by peer) 2017-09-01T07:00:43Z damke joined #lisp 2017-09-01T07:01:44Z phoe quit (Ping timeout: 240 seconds) 2017-09-01T07:02:35Z zRecursive left #lisp 2017-09-01T07:03:08Z grublet joined #lisp 2017-09-01T07:05:55Z varjag joined #lisp 2017-09-01T07:07:05Z mishoo joined #lisp 2017-09-01T07:07:06Z wigust quit (Read error: Connection reset by peer) 2017-09-01T07:07:07Z mingus` is now known as mingus 2017-09-01T07:12:39Z nowhere_man quit (Ping timeout: 240 seconds) 2017-09-01T07:17:45Z scymtym joined #lisp 2017-09-01T07:19:35Z shka: "what's my purpose? You tell people go to bed." 2017-09-01T07:20:15Z obm quit (Ping timeout: 240 seconds) 2017-09-01T07:27:16Z nowhere_man joined #lisp 2017-09-01T07:29:09Z phoe joined #lisp 2017-09-01T07:36:32Z malice quit (Remote host closed the connection) 2017-09-01T07:38:58Z beach: And to have lunch. 2017-09-01T07:39:24Z grublet: i think soneone must have told me to go to bed 2017-09-01T07:39:29Z grublet: cause i slept for a long time, which is unusual 2017-09-01T07:42:20Z pyx joined #lisp 2017-09-01T07:42:24Z pyx quit (Client Quit) 2017-09-01T07:53:31Z raynold quit (Quit: Connection closed for inactivity) 2017-09-01T07:58:53Z JuanDaugherty quit (Quit: I'll be back.) 2017-09-01T07:59:25Z hajovonta joined #lisp 2017-09-01T08:00:28Z Kevslinger quit (Quit: Connection closed for inactivity) 2017-09-01T08:00:39Z vydd joined #lisp 2017-09-01T08:00:39Z vydd quit (Changing host) 2017-09-01T08:00:39Z vydd joined #lisp 2017-09-01T08:00:57Z vydd quit (Client Quit) 2017-09-01T08:12:07Z obm joined #lisp 2017-09-01T08:13:38Z nowhere_man quit (Remote host closed the connection) 2017-09-01T08:15:27Z nowhere_man joined #lisp 2017-09-01T08:17:29Z test1600 joined #lisp 2017-09-01T08:28:41Z nowhere_man quit (Remote host closed the connection) 2017-09-01T08:28:42Z hhdave joined #lisp 2017-09-01T08:32:45Z mazoe joined #lisp 2017-09-01T08:34:23Z nowhere_man joined #lisp 2017-09-01T08:53:01Z obm quit (Read error: Connection reset by peer) 2017-09-01T08:53:38Z Murii joined #lisp 2017-09-01T08:54:36Z Mon_Ouie joined #lisp 2017-09-01T08:56:01Z jameser joined #lisp 2017-09-01T08:57:42Z DeadTrickster_ joined #lisp 2017-09-01T08:59:15Z obm joined #lisp 2017-09-01T09:01:20Z arquebus joined #lisp 2017-09-01T09:04:14Z mazoe` joined #lisp 2017-09-01T09:06:14Z mishoo quit (Ping timeout: 240 seconds) 2017-09-01T09:06:28Z ak5 quit (Read error: Connection reset by peer) 2017-09-01T09:06:45Z mazoe quit (Ping timeout: 248 seconds) 2017-09-01T09:06:49Z ak5 joined #lisp 2017-09-01T09:08:17Z nirved joined #lisp 2017-09-01T09:09:44Z DeadTrickster quit (Read error: Connection reset by peer) 2017-09-01T09:10:02Z arquebus quit (Quit: Konversation disconnected) 2017-09-01T09:10:07Z DeadTrickster joined #lisp 2017-09-01T09:17:07Z nirved quit (Quit: Leaving) 2017-09-01T09:21:48Z nyangawa joined #lisp 2017-09-01T09:28:58Z Sigyn quit (Quit: NO HEARTBEAT, NO SERVICE.) 2017-09-01T09:29:54Z Sigyn joined #lisp 2017-09-01T09:30:15Z DeadTrickster quit (Read error: Connection reset by peer) 2017-09-01T09:30:16Z test1600 quit (Quit: Leaving) 2017-09-01T09:30:38Z DeadTrickster joined #lisp 2017-09-01T09:33:14Z nyangawa quit (Remote host closed the connection) 2017-09-01T09:33:54Z michalisko joined #lisp 2017-09-01T09:38:55Z chens quit (Quit: Asta la vista) 2017-09-01T09:52:14Z defaultxr quit (Ping timeout: 240 seconds) 2017-09-01T09:52:50Z misv joined #lisp 2017-09-01T10:06:35Z mazoe` quit (Ping timeout: 240 seconds) 2017-09-01T10:07:24Z larme quit (Ping timeout: 252 seconds) 2017-09-01T10:07:54Z okflo` joined #lisp 2017-09-01T10:08:36Z okflo` quit (Client Quit) 2017-09-01T10:09:16Z okflo joined #lisp 2017-09-01T10:10:12Z dddddd joined #lisp 2017-09-01T10:12:15Z ak5 quit (Read error: Connection reset by peer) 2017-09-01T10:16:01Z Mon_Ouie quit (Ping timeout: 260 seconds) 2017-09-01T10:19:33Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-01T10:28:37Z m00natic joined #lisp 2017-09-01T10:32:06Z Bike joined #lisp 2017-09-01T10:34:18Z larme joined #lisp 2017-09-01T10:44:19Z zacts quit (Ping timeout: 264 seconds) 2017-09-01T10:44:36Z pjb joined #lisp 2017-09-01T10:49:06Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-09-01T10:54:48Z marvin2 joined #lisp 2017-09-01T10:59:39Z shiranuidong quit (Remote host closed the connection) 2017-09-01T11:01:55Z damke_ joined #lisp 2017-09-01T11:02:15Z mazoe joined #lisp 2017-09-01T11:03:54Z damke quit (Ping timeout: 240 seconds) 2017-09-01T11:04:30Z zacts joined #lisp 2017-09-01T11:07:23Z Arnot joined #lisp 2017-09-01T11:09:21Z margeas joined #lisp 2017-09-01T11:19:44Z DeadTrickster_ quit (Ping timeout: 240 seconds) 2017-09-01T11:20:38Z flamebeard quit (Quit: Leaving) 2017-09-01T11:24:19Z DeadTrickster_ joined #lisp 2017-09-01T11:24:25Z flamebeard joined #lisp 2017-09-01T11:39:14Z Younder quit (Ping timeout: 240 seconds) 2017-09-01T11:44:24Z lnostdal quit (Ping timeout: 246 seconds) 2017-09-01T11:48:14Z EvW1 joined #lisp 2017-09-01T11:49:34Z c__ quit (Remote host closed the connection) 2017-09-01T11:51:42Z paule32 joined #lisp 2017-09-01T12:00:02Z rpg joined #lisp 2017-09-01T12:04:23Z rpg quit (Ping timeout: 248 seconds) 2017-09-01T12:08:22Z pareidolia quit (Quit: ZNC - http://znc.in) 2017-09-01T12:11:39Z DeadTrickster quit (Read error: Connection reset by peer) 2017-09-01T12:12:22Z DeadTrickster joined #lisp 2017-09-01T12:15:56Z lnostdal joined #lisp 2017-09-01T12:16:06Z larme quit (Ping timeout: 252 seconds) 2017-09-01T12:16:33Z lnostdal quit (Read error: Connection reset by peer) 2017-09-01T12:17:18Z hjudt: anyone here who has experience with radiance and clip? 2017-09-01T12:17:37Z Shinmera: I might. 2017-09-01T12:18:24Z hjudt: i'd need help with a clip template. i want to print a table (from db query). i specify :headers and :rows. i can loop over headers, and the headers line is printed fine. but how can i loop over the columns in the rows? 2017-09-01T12:18:42Z hjudt: i have not found an example in the tutorial here: https://github.com/Shirakumo/radiance-tutorial/blob/master/Part%202.md 2017-09-01T12:18:47Z hjudt: nor on the clip manual page 2017-09-01T12:19:32Z Shinmera: How are you retrieving the data? Using the data-model, or? 2017-09-01T12:20:37Z hjudt: no, i have not managed to go so far: https://pastebin.com/DfRc1FvF 2017-09-01T12:21:19Z hjudt: data-model would be the next step then 2017-09-01T12:21:28Z Shinmera: What are "rows" and "cols"? Lists of strings? 2017-09-01T12:21:57Z hjudt: 1 sec... 2017-09-01T12:22:56Z hjudt: cols is a list of strings (cols is the headers), rows is data; each row is a list of values and the rows is a list of these lists. 2017-09-01T12:23:15Z Bike quit (Ping timeout: 252 seconds) 2017-09-01T12:24:07Z hjudt: e.g. eval of query-database is (("val1" "val2" "val3") ("val4" "val5" "val6")) ("header1" "header2" "header3") 2017-09-01T12:24:30Z Shinmera: Okey, so you just nest two iterate attributes. Like so: 2017-09-01T12:24:34Z hjudt: so i need to iterate over rows, but then over "val1" "val2" "val3" 2017-09-01T12:24:57Z hjudt: ok, thanks, i will try this... 2017-09-01T12:26:01Z Shinmera: Or, since you seem to want to output a table: 2017-09-01T12:26:30Z Shinmera: And a for the header line, of course. 2017-09-01T12:27:00Z kuwze` joined #lisp 2017-09-01T12:27:12Z kuwze` quit (Remote host closed the connection) 2017-09-01T12:27:17Z flamebeard quit (Ping timeout: 248 seconds) 2017-09-01T12:27:24Z kuwze quit (Quit: Page closed) 2017-09-01T12:27:56Z hjudt: thanks, using iterate="*" makes this work now. i guess i need some more practice getting acquainted to that clipboard reference * stuff. 2017-09-01T12:28:10Z Shinmera: * just means "the current clipboard" 2017-09-01T12:28:25Z Shinmera: and iterate binds the current clipboard to the value it's currently iterating over in its body. 2017-09-01T12:28:28Z attila_lendvai joined #lisp 2017-09-01T12:29:24Z flamebeard joined #lisp 2017-09-01T12:29:26Z hjudt: yes, thanks, i believe i finally understand that now. it feels a bit awkward using this at first. 2017-09-01T12:29:52Z Shinmera: Yeah. Clip has a few warts. 2017-09-01T12:29:57Z phoe quit (Quit: leaving) 2017-09-01T12:32:03Z Shinmera: It shouldn't be difficult to use other templating systems with Radiance if you end up not liking Clip. 2017-09-01T12:32:55Z dim: if using PostgreSQL, you can have HTML output from psql with \pset format html 2017-09-01T12:34:04Z hjudt: in fact, i like it a bit better than using a s-exp generator like cl-who or spinneret. it's not so much the ability to view the template directly in the browser, but having to recompile all the time is more tedious than simply saving the template and hitting reload in the browser. 2017-09-01T12:34:43Z Shinmera: I see. 2017-09-01T12:34:52Z hjudt: so as long as it does what i need it to i have no problems with it. 2017-09-01T12:35:21Z Murii quit (Ping timeout: 252 seconds) 2017-09-01T12:35:29Z Shinmera: Well, if you see ways to improve it, don't hesitate to file an issue. 2017-09-01T12:36:09Z hjudt: another question: if i would like to print the number of rows, would it be better to provide this value with clip:process or can it be done in the template? 2017-09-01T12:36:41Z Shinmera: You can do it in the template: 2017-09-01T12:37:28Z Arnot quit (Quit: Page closed) 2017-09-01T12:37:32Z hjudt: ok fine. i guess it is rather a design decision then where to put this? 2017-09-01T12:37:36Z Shinmera: The template vs. parameter thing is mostly a tradeoff in readability. If you do too much processing in the template, it quickly becomes hard to read. 2017-09-01T12:37:47Z hjudt: i see 2017-09-01T12:41:40Z larme joined #lisp 2017-09-01T12:50:50Z mson joined #lisp 2017-09-01T12:53:27Z fredokun joined #lisp 2017-09-01T12:54:58Z flamebeard quit (Quit: Leaving) 2017-09-01T12:57:00Z Bike joined #lisp 2017-09-01T12:57:11Z hjudt: another, none-web related issue: the db query returns 10157.0d0 as integer. how can i convert this into a nice-looking integer (10157)? 2017-09-01T12:57:31Z Shinmera: one of round, floor, ceiling, truncate 2017-09-01T12:59:28Z hjudt: ok, so i need to find out if it is a double float (type reported) and then if it is 0d0 transform it into integer to get rid of the .0d0? 2017-09-01T12:59:57Z hjudt: any easy way to achieve that? 2017-09-01T13:00:33Z hjudt: because double floats should stay double floats (or floats) if needed. 2017-09-01T13:00:45Z oleo joined #lisp 2017-09-01T13:01:35Z hjudt: so need to check if round returns second return value not equal to 0 2017-09-01T13:02:06Z Bike: floats aren't always that nice 2017-09-01T13:03:19Z random-nick joined #lisp 2017-09-01T13:03:54Z damke_ quit (Ping timeout: 240 seconds) 2017-09-01T13:05:16Z Mon_Ouie joined #lisp 2017-09-01T13:06:13Z damke_ joined #lisp 2017-09-01T13:07:49Z AX31_A13X quit (Quit: AX31_A13X) 2017-09-01T13:19:56Z random-nick quit (Quit: quit) 2017-09-01T13:20:13Z random-nick joined #lisp 2017-09-01T13:24:16Z random-nick quit (Remote host closed the connection) 2017-09-01T13:24:48Z hjudt: i came up with this https://pastebin.com/kPpL33CP, using it in the clip template 2017-09-01T13:25:39Z beach: EQUAL is not great. Use = instead. 2017-09-01T13:26:13Z beach: hjudt: The rule is "use the most specific construct that will work". 2017-09-01T13:26:16Z random-nick joined #lisp 2017-09-01T13:27:04Z beach: hjudt: Also, there is no particular reason to have a NOT in the test in the IF. You could reverse the THEN and the ELSE forms instead. 2017-09-01T13:27:24Z mishoo joined #lisp 2017-09-01T13:28:51Z beach: hjudt: What if the float is a short-float or a long-float? 2017-09-01T13:29:00Z hjudt: = does not work, equal does. i've simplified the rest: https://pastebin.com/FCcfdP5X 2017-09-01T13:29:11Z Bike: doesn't work on what? 2017-09-01T13:29:26Z beach: hjudt: Wouldn't it be better to say (typep number 'float)? 2017-09-01T13:30:29Z beach: hjudt: In fact, in this case, you should use ZEROP instead of comparing to 0 2017-09-01T13:30:34Z Bike: equal on numbers should do eql, and floats and integers are never eql, so it's pretty likely to never be true 2017-09-01T13:30:36Z beach: It is even more specific. 2017-09-01T13:31:37Z beach: Er, did you reverse the THEN and the ELSE? 2017-09-01T13:32:04Z beach: hjudt: I would have thought this: (if (zerop r) i number) 2017-09-01T13:33:20Z rafadc quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-01T13:33:43Z Bike: i'm also not sure what is being done with the number that you want to have it be an integer but only somtimes 2017-09-01T13:33:54Z jdz: There's also TYPECASE. 2017-09-01T13:33:58Z Bike: for example, if you're just displaying it to the user, you can control digits getting printed and all 2017-09-01T13:34:12Z hjudt: now i have: https://pastebin.com/3SWQGVGg 2017-09-01T13:34:38Z beach: That's much better. 2017-09-01T13:35:23Z hjudt: yes. @Bike: it is only for display, but i need to handle cases when there are strings, and i don't know what type the values will be. 2017-09-01T13:36:00Z Bike: "when there are strings" 2017-09-01T13:36:01Z Bike: ? 2017-09-01T13:36:02Z hjudt: so the function does exactly what it needs to do now, but maybe the name doesn't tell the whole story. 2017-09-01T13:36:06Z Bike: like, if the "number" is actually a string? 2017-09-01T13:36:14Z beach: If the argument can be a string, you shouldn't call the parameter NUMBER. 2017-09-01T13:38:35Z arbv_ joined #lisp 2017-09-01T13:38:35Z beach: Bike: For a reference to a special variable, we generate a symbol-value-ast inside which there is a load-time-value-ast. To which should I assign the source location of the variable? Both? 2017-09-01T13:38:43Z arbv quit (Read error: Connection reset by peer) 2017-09-01T13:38:43Z arbv_ is now known as arbv 2017-09-01T13:39:18Z Mon_Ouie quit (Ping timeout: 248 seconds) 2017-09-01T13:39:26Z sellout- quit (Quit: Leaving.) 2017-09-01T13:39:38Z jdz: hjudt: have you tried using TRUNCATE? 2017-09-01T13:40:56Z wxie joined #lisp 2017-09-01T13:41:41Z Bike: beach: Both, I think 2017-09-01T13:41:51Z beach: Yeah, that's what I think. 2017-09-01T13:41:53Z beach: Thanks. 2017-09-01T13:42:06Z hjudt: jdz: what improvement would truncate yield? 2017-09-01T13:42:40Z jdz: hjudt: It does what your function does, only better. 2017-09-01T13:42:47Z hjudt: how? 2017-09-01T13:43:26Z jdz: Buy being implemented. 2017-09-01T13:43:29Z hjudt: it always truncates. i only want it to truncate .0d0 or .0 values. 2017-09-01T13:43:30Z beach: jdz: What makes you think TRUNCATE returns the original number if it is not an integer. 2017-09-01T13:44:08Z jdz: Oh, I misread the docstring :/ 2017-09-01T13:44:29Z jdz: And also the implementation. 2017-09-01T13:44:30Z deba5e12 joined #lisp 2017-09-01T13:44:34Z hjudt: can anyone recommend a better name than simplify-number? i've change the parameter name "number" to item. 2017-09-01T13:44:38Z jdz: Should be a hint not to write any code today. 2017-09-01T13:45:39Z marvin2: can someone remind me when is 'fun different than #'fun (while passing both to higher order function) 2017-09-01T13:45:47Z hjudt: the most exact probably would be: possibly-simplify-float 2017-09-01T13:46:26Z jdz: hjudt: I still think TRUNCATE should be used instead of ROUND. 2017-09-01T13:46:38Z hjudt: reason? 2017-09-01T13:46:54Z jdz: You do not care which the nearest integer is. 2017-09-01T13:47:09Z Bike: marvin2: if you use 'fun it forces a runtime lookup of the global function, which means (a) it will be sensitive to redefinitions (b) it will not get any local function by that name 2017-09-01T13:49:01Z jdz: I imagine the implementation of ROUND is more complicated than that of TRUNCATE, but I might be completely wrong on this. 2017-09-01T13:49:15Z pjb: yes, it is. It needs tests… 2017-09-01T13:49:21Z wxie quit (Quit: Bye.) 2017-09-01T13:49:51Z hjudt: jdz: ok. changed that. also renamed the function to "simplify-data". 2017-09-01T13:50:15Z hjudt: https://pastebin.com/KbDKqctQ 2017-09-01T13:51:16Z pjb: Why stop at integers? (if (= f (rationalize f)) (rationalize f) f) 2017-09-01T13:51:38Z pjb: So that (simplify-data 0.33333334) --> 1/3 2017-09-01T13:53:00Z pjb: Actually: (defun simplify-data (f) (if (= f (float (rationalize f) f)) (rationalize f) f)) (simplify-data 0.33333333333) #| --> 1/3 |# 2017-09-01T13:53:21Z hjudt: pjb: because i do not have to deal with other data than floats 2017-09-01T13:53:39Z hjudt: and even floats is already overkill, the only data type i need to care about are double floats 2017-09-01T13:53:56Z pjb: think more. 2017-09-01T13:54:30Z hjudt: ? 2017-09-01T13:54:43Z pjb: I'm talking about output, not input. 2017-09-01T13:55:25Z Lowl3v3l joined #lisp 2017-09-01T13:55:27Z dieggsy joined #lisp 2017-09-01T13:56:15Z hjudt: no, output is fine now. it is mostly about data ids printed as e.g. 10.0d0 which should be 10. nothing more. 2017-09-01T13:56:33Z pjb: and why shouldn't 0.33333333333333333333d0 be printed as 1/3? 2017-09-01T13:57:14Z hjudt: because that is not part of my use case 2017-09-01T13:57:31Z HeyFlash joined #lisp 2017-09-01T13:57:35Z hjudt: any additional code for stuff which doesn't fix anything for my use case is unnecessary 2017-09-01T13:58:07Z dec0n quit (Read error: Connection reset by peer) 2017-09-01T13:58:55Z PinealGlandOptic joined #lisp 2017-09-01T14:01:19Z varjag quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-09-01T14:02:21Z hjudt: pjb: but maybe in the future i will have to deal with more presentation issues, so i might come back to your idea... 2017-09-01T14:03:31Z c__ joined #lisp 2017-09-01T14:06:47Z Zhivago: Perhaps an explicit epsilon would make it more robust? 2017-09-01T14:11:44Z Kyo91 joined #lisp 2017-09-01T14:12:07Z gendl: Hi, the :depends-on in a .asd file don't necessarily get compiled/loaded or monolithic-compile-bundled in deterministic sequential order, do they? 2017-09-01T14:12:43Z gendl: i.e. the latter ones can't depend on the former ones, right? 2017-09-01T14:13:00Z djh: Using format, I know if I want a number to have leading zeros, I can do it by padding e.g. (format t "~5,'0d" 1) - but is there any way I can specify the padding as a parameter, rather than it being in the control string? 2017-09-01T14:14:01Z Bike: use v instead of a number 2017-09-01T14:14:22Z Bike: "In place of a prefix parameter to a directive, V (or v) can be used. In this case, format takes an argument from args as a parameter to the directive. The argument should be an integer or character." 2017-09-01T14:14:27Z djh: brilliant! Ty 2017-09-01T14:16:48Z beach: gendl: I think that's true. But if you have that situation, normally one of the systems in the list should have an explicit dependency on the other. 2017-09-01T14:17:38Z beach: gendl: So if you have a system A that depends on C and D and you need for C to be compiled first, then I would think D would have a dependency on C as well, and your problem is solved. 2017-09-01T14:19:05Z pjb: Zhivago: not really. (rationalize 3.1415927 #|this pi in single-float|#) #| --> 93343/29712 |# (rationalize 3.1415929) #| --> 355/113 |# the question is rather the maximum size you want to accept for the denominator. But you definitely want an exact float = there! 2017-09-01T14:21:22Z Kevslinger joined #lisp 2017-09-01T14:31:00Z loke: Good evening everybody! 2017-09-01T14:31:15Z gendl: beach: maybe i'm letting myself get confused, but I what I have is a low-level library which depends on cl+ssl and doesn't depend on anything I have control over, and what I need is for cffi:*foreign-library-directories* to get set to a certain value before cl+ssl itself actually gets loaded... 2017-09-01T14:31:17Z beach: Hello loke. 2017-09-01T14:32:40Z gendl: so i've made a system called :cffi-setup, which :depends-on :cffi, then does this variable setting itself, 2017-09-01T14:32:48Z beach: I see. 2017-09-01T14:33:06Z gendl: so now i need to make something depend on :cffi-setup such that it gets compiled/loaded before the other low-level library which depends on :cl+ssl 2017-09-01T14:33:31Z DeadTrickster quit (Read error: Connection reset by peer) 2017-09-01T14:33:40Z beach: I don't know of a solution for that. That doesn't mean it doesn't exist, of course. I am definitely not an ASDF expert. 2017-09-01T14:33:43Z gendl: adding :cffi-setup to the start of the :depends-on of the low-level library doesn't work reliably, because those :depends-on don't get loaded in deterministic order 2017-09-01T14:33:56Z DeadTrickster joined #lisp 2017-09-01T14:33:57Z beach: Yes, I understand. 2017-09-01T14:34:38Z gendl: adding to :defsystem-depends-on does superficially appear to work, and indeed it does work for normal ql:quickload or asdf:load-system of the system, 2017-09-01T14:35:08Z gendl: but it falls apart when trying to load prebuilt monolithic-compile-bundles, since the :defsystem-depends-on stuff doesn't end up in the monolithic-compile-bundle fasl. 2017-09-01T14:35:16Z Shinmera: gendl: The gross hack solution is to explicitly load cffi in a toplevel form in you asd, then add the directory there as well. 2017-09-01T14:35:21Z Shinmera: *your 2017-09-01T14:35:58Z gendl: shinmera: will that solve the monolithic-compile-bundle problem? 2017-09-01T14:36:32Z Shinmera: I've never used it, so I have no idea. 2017-09-01T14:40:05Z obm quit (Ping timeout: 248 seconds) 2017-09-01T14:40:38Z gendl: in theory, (asdf:operate 'asdf:monolithic-compile-bundle-op ) should spit out a fasl which, when loaded, gives the identical effect as (asdf:load-system ) [but without asdf itself ending up in the image]. 2017-09-01T14:41:08Z Shinmera: Ah. In that case, no. 2017-09-01T14:41:43Z Karl_Dscc joined #lisp 2017-09-01T14:41:45Z gendl: I think that's right - because the monolithic-compile-bundle operation isn't going to respect random side-effecting forms which have been placed in .asd files. 2017-09-01T14:41:58Z gendl: it only will look through the official dependency graph and build the fasl accordingly. 2017-09-01T14:42:45Z drcode quit (Ping timeout: 248 seconds) 2017-09-01T14:43:35Z Shinmera: You'd also have to hook into the m-c-b-op to inject the setup code into the resulting lisp/fasl file. 2017-09-01T14:45:39Z sellout- joined #lisp 2017-09-01T14:49:59Z Xach: those random side-effecting forms are bad and i do not like them 2017-09-01T14:50:41Z Shinmera: Well, I called them a "gross hack" for a reason 2017-09-01T14:51:22Z Xach: i would call them worse but this is a family channel 2017-09-01T14:51:29Z Shinmera: Heh! 2017-09-01T14:52:34Z Shinmera is reminded of https://github.com/Shinmera/qt-libs/blob/master/qt-libs.asd#L20 and fears Xach's wrath 2017-09-01T14:54:01Z DeadTrickster quit (Read error: Connection reset by peer) 2017-09-01T14:54:22Z DeadTrickster joined #lisp 2017-09-01T14:55:54Z Xach: i think readtables are a bit in the same boat 2017-09-01T14:56:19Z Xach: 98% of the time you can ignore them, but sometimes you are stuck with the fact that any old code can be read as a result of any old character 2017-09-01T14:56:54Z Xach: that's with respect to analyzing code as text somehow 2017-09-01T14:57:02Z gendl: Xach: this has to do with zacl -- trying to get the build to work on Windows, where the ssl DLLs have to be put in a known location and specified somehow with cffi:*foreign-library-directories*. I'm starting to think i'll just have to hack the generate.lisp to load the cffi setup explicitly before loading the main monofasl. 2017-09-01T14:57:31Z Xach: gendl: do you need ssl support? there are ways to avoid loading the ssl libraries, i think. 2017-09-01T14:57:45Z Shinmera fears Xach's wrath once again https://github.com/Shinmera/qtools/blob/master/dynamic.lisp 2017-09-01T14:58:45Z Xach: I think it may be a matter of hacking up the tools that process systems (and source forms) to emit enough info to get the kind of data you want on the other side. but it's sometimes annoying to have to do a thing to know what it takes to get it done. 2017-09-01T14:59:20Z Shinmera: gendl: If you deploy a binary instead you could just deploy the ssl libraries in the same folder as the binary. 2017-09-01T15:00:22Z gendl: shinmera: 1) I'm not confident that Windows will always automatically search the binary directory for DLLs (i've seen mixed results especially with Windows Server versions), and 2017-09-01T15:00:47Z gendl: 2) with CCL, the default deployment is to have 64-bit and 32-bit executables in the same directory, and each of these need different DLL versions. 2017-09-01T15:00:55Z Shinmera: I see. 2017-09-01T15:01:34Z knobo2 quit (Ping timeout: 240 seconds) 2017-09-01T15:02:06Z Shinmera: I think in this case doing something that emits additional code when ASDF writes out the monolithic source file for CL+SSL would be "ok". 2017-09-01T15:02:17Z varjag joined #lisp 2017-09-01T15:02:58Z rafadc joined #lisp 2017-09-01T15:03:08Z Shinmera: I forgot how that part of ASDF works though, so I can't give explicit examples on how to do it. 2017-09-01T15:05:10Z gendl: part of me is still thinking there should be a way to wrap with my own system such that the dependencies are set up using normal :depends-on, to ensure things happen in the right order. But maybe not, in which case I'll need to take the dive and understand more about monofasl mechanism. 2017-09-01T15:05:20Z gendl: Thanks for everyone's feedback, will think about this offline for a while and report back. 2017-09-01T15:06:56Z Shinmera: That the load order in depends-on is not ensure has bothered me a lot too. 2017-09-01T15:07:01Z Shinmera: *ensured 2017-09-01T15:09:29Z rpg joined #lisp 2017-09-01T15:13:23Z slyrus: Shinmera: halftone looks very nice 2017-09-01T15:14:08Z fredokun left #lisp 2017-09-01T15:15:11Z Shinmera: Glad you like it 2017-09-01T15:16:41Z slyrus: nice to see that qtools apps "just work" from quicklisp 2017-09-01T15:16:53Z Shinmera: Apparently not for entirely everyone :( 2017-09-01T15:17:23Z slyrus: gotta start somewhere... 2017-09-01T15:19:58Z serviteur joined #lisp 2017-09-01T15:24:59Z _main_ joined #lisp 2017-09-01T15:25:38Z _main_ quit (Read error: Connection reset by peer) 2017-09-01T15:26:16Z Murii|osx joined #lisp 2017-09-01T15:27:44Z __main__ quit (Ping timeout: 240 seconds) 2017-09-01T15:28:01Z _main_ joined #lisp 2017-09-01T15:31:22Z beach: Bike: I noticed that we store the INFO instance (created by querying the environment) in the FDEFINITION-AST. That seems kind of strange to me. I mean, I probably thought it was a good idea at the time, but I no longer do. 2017-09-01T15:31:37Z _main_ is now known as __main__ 2017-09-01T15:32:28Z Bike: doesn't it work the same way for lexical variables? 2017-09-01T15:32:42Z Bike: well, ther'es no instruction for it, but the INFO is used as an identity. 2017-09-01T15:32:54Z beach: I see. 2017-09-01T15:33:03Z beach: Let me dig deeper. 2017-09-01T15:33:21Z phoe joined #lisp 2017-09-01T15:36:06Z deba5e12 quit (Ping timeout: 248 seconds) 2017-09-01T15:38:53Z amaldo quit (Quit: Leaving) 2017-09-01T15:43:22Z raynold joined #lisp 2017-09-01T15:55:26Z HeyFlash quit (Remote host closed the connection) 2017-09-01T15:57:10Z dieggsy quit (Quit: ERC (IRC client for Emacs 26.0.50)) 2017-09-01T15:58:53Z beach: I see no call to cleavir-ast:info. 2017-09-01T15:59:10Z beach: Which leads me to think that it is not used. 2017-09-01T16:00:07Z sellout- quit (Quit: Leaving.) 2017-09-01T16:00:37Z beach: Bike: Do you see any? 2017-09-01T16:01:20Z ryanbw quit (Ping timeout: 260 seconds) 2017-09-01T16:04:23Z hajovonta quit (Quit: hajovonta) 2017-09-01T16:06:51Z sellout- joined #lisp 2017-09-01T16:09:34Z shka quit (Quit: Konversation terminated!) 2017-09-01T16:10:36Z Bike: don't think i see any. 2017-09-01T16:10:50Z Bike: also, apparently what i meant was that the identity of the info is used 2017-09-01T16:11:51Z otwieracz quit (Ping timeout: 248 seconds) 2017-09-01T16:12:00Z beach: Yes, I see. But that can't be the case if the slot reader is never called, can it? 2017-09-01T16:12:45Z Bike: I mean, cleavir-env:identity is called in convert-form for lexical-variable-info 2017-09-01T16:14:36Z beach: Sure, I can see that. 2017-09-01T16:15:13Z Bike: I'm probably confused. I don't remember what the info slot of ASTs is even for. 2017-09-01T16:15:25Z Mon_Ouie joined #lisp 2017-09-01T16:15:57Z beach: It is only in one ast, the fdefinition-ast. 2017-09-01T16:16:08Z Bike: ....oooookay, yeah, i see. 2017-09-01T16:16:21Z beach: And I don't see it ever accessed, so it can't be used as far as I can tell. 2017-09-01T16:16:38Z Bike: yeah, ast-to-hir just uses the name-ast. 2017-09-01T16:16:51Z beach: I mean, we use explicit package prefixes and never slot-value, so if it is ever used, there must be cleavir-ast:info somewhere in the source. 2017-09-01T16:16:56Z beach: And I don't see an instance of that. 2017-09-01T16:17:26Z beach: ... or possibly an "(info" in the cleavir-ast files. 2017-09-01T16:17:33Z beach: But neither of those is present. 2017-09-01T16:17:52Z Bike: Yeah. 2017-09-01T16:18:19Z Bike: maybe slime-who-calls or slime-list-callers could be precise. 2017-09-01T16:18:39Z beach: Tell you what. Since Clasp uses this stuff more than I do, could you try to remove the slot, and the parameter from make-fdefinition-ast and see whether things still work? 2017-09-01T16:19:15Z Bike: Sure. 2017-09-01T16:19:20Z beach: Thanks. 2017-09-01T16:19:49Z beach: I need to do some stuff away from the keyboard. 2017-09-01T16:27:35Z epony quit (Ping timeout: 260 seconds) 2017-09-01T16:29:55Z rafadc quit (Ping timeout: 264 seconds) 2017-09-01T16:33:03Z nzambe joined #lisp 2017-09-01T16:34:11Z EvW1 quit (Ping timeout: 246 seconds) 2017-09-01T16:36:18Z butterthebuddha quit (Max SendQ exceeded) 2017-09-01T16:37:35Z butterthebuddha joined #lisp 2017-09-01T16:38:15Z neoncontrails joined #lisp 2017-09-01T16:38:17Z m00natic quit (Read error: Connection reset by peer) 2017-09-01T16:39:34Z hhdave quit (Ping timeout: 240 seconds) 2017-09-01T16:42:33Z neoncontrails quit (Remote host closed the connection) 2017-09-01T16:45:44Z Mon_Ouie quit (Quit: WeeChat 1.9) 2017-09-01T16:49:50Z neoncontrails joined #lisp 2017-09-01T16:56:00Z otwieracz joined #lisp 2017-09-01T16:58:14Z d4ryus quit (Ping timeout: 240 seconds) 2017-09-01T17:00:21Z damke joined #lisp 2017-09-01T17:02:34Z damke_ quit (Ping timeout: 240 seconds) 2017-09-01T17:10:10Z MetaYan quit (Ping timeout: 260 seconds) 2017-09-01T17:14:24Z DeadTrickster quit (Read error: Connection reset by peer) 2017-09-01T17:14:51Z DeadTrickster joined #lisp 2017-09-01T17:16:03Z d4ryus joined #lisp 2017-09-01T17:16:16Z Lowl3v3l quit (Remote host closed the connection) 2017-09-01T17:16:21Z nowhere_man quit (Remote host closed the connection) 2017-09-01T17:16:57Z BitPuffin|osx quit (Ping timeout: 252 seconds) 2017-09-01T17:18:06Z nowhere_man joined #lisp 2017-09-01T17:20:39Z Murii|osx quit (Quit: My MacBook Air has gone to sleep. ZZZzzz…) 2017-09-01T17:20:47Z Lowl3v3l joined #lisp 2017-09-01T17:21:14Z damke quit (Ping timeout: 240 seconds) 2017-09-01T17:21:24Z Lowl3v3l left #lisp 2017-09-01T17:22:17Z Lowl3v3l joined #lisp 2017-09-01T17:25:03Z scymtym quit (Ping timeout: 255 seconds) 2017-09-01T17:26:13Z phoe quit (Ping timeout: 240 seconds) 2017-09-01T17:27:34Z Jesin quit (Read error: Connection reset by peer) 2017-09-01T17:27:43Z Jesin joined #lisp 2017-09-01T17:28:26Z vlatkoB_ joined #lisp 2017-09-01T17:29:36Z zacts quit (Ping timeout: 252 seconds) 2017-09-01T17:32:08Z vlatkoB quit (Ping timeout: 240 seconds) 2017-09-01T17:32:10Z zacts joined #lisp 2017-09-01T17:33:02Z paule32 quit (Remote host closed the connection) 2017-09-01T17:33:19Z paule32 joined #lisp 2017-09-01T17:33:23Z phoe joined #lisp 2017-09-01T17:37:11Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-01T17:39:45Z shka_ joined #lisp 2017-09-01T17:43:22Z Xach: Aha! A bug fix on one end results in a bug find on the other 2017-09-01T17:44:11Z phoe: 99 little bugs in the code~ 2017-09-01T17:44:16Z Xach: one of clsql's system definitions seems to use "bad" asdf syntax, specifically: :depends-on (... (:feature sbcl sb-bsd-sockets)) 2017-09-01T17:44:30Z rpg joined #lisp 2017-09-01T17:45:01Z Xach: I suppose that would work if clsql-postgresql-socket-system::sbcl is in cl:*features* but I doubt that's the intent 2017-09-01T17:46:54Z Xach: ah yes, even alluded to in asdf::featurep 2017-09-01T17:47:54Z d4ryus quit (Ping timeout: 240 seconds) 2017-09-01T17:48:45Z dim: when something is too complex to be properly documented... anyway 2017-09-01T17:49:25Z dim: I guess I have quite some work to do on pgloader before allowing myself such comments ;-) 2017-09-01T17:51:03Z Bike quit (Ping timeout: 252 seconds) 2017-09-01T17:52:13Z rpg: Xach: do you refer to the docstring for FEATUREP? 2017-09-01T17:54:46Z Kyo91 quit (Ping timeout: 248 seconds) 2017-09-01T17:55:03Z Xach: rpg: yes 2017-09-01T17:55:40Z rpg: As an aside, kind of want to change that to "ANSI spec" from "CLHS".... 2017-09-01T17:55:42Z Xach: rpg: I wrote my own featurep and signaled an error on non-keywords because of the grammar in the manual. 2017-09-01T17:55:53Z Xach: rpg: but asdf::featurep is more lenient 2017-09-01T17:56:11Z Xach: rpg: as a result mine caught clsql-postgresql-socket3's use of a bare "sbcl" feature expression. 2017-09-01T17:56:58Z rpg: I'll see about doing the same: seems reasonable. 2017-09-01T17:57:48Z Bike joined #lisp 2017-09-01T17:58:04Z Xach: wellllll. people *do* use non-keywords in cl:*features*. or at least i think i've seen it a time or two. 2017-09-01T17:58:05Z d4ryus joined #lisp 2017-09-01T17:59:03Z Xach: it's just that in this case, the combination of my misexpectations (due to manual) and the real behavior of asdf (due to code) clashed 2017-09-01T17:59:47Z Xach: oh also clsql-postgresql-socket3 has a bug 2017-09-01T17:59:50Z Xach: the definition, anyway 2017-09-01T18:01:05Z Bicyclidine joined #lisp 2017-09-01T18:01:46Z dim: CL-USER> (every #'keywordp *features*) => NIL 2017-09-01T18:02:01Z Kyo91 joined #lisp 2017-09-01T18:02:03Z Bike quit (Ping timeout: 252 seconds) 2017-09-01T18:02:17Z dim: (loop for f in *features* unless (keywordp f) collect f) => (CFFI-FEATURES:FLAT-NAMESPACE CFFI-FEATURES:X86-64 CFFI-FEATURES:UNIX CFFI-FEATURES:DARWIN CFFI-SYS::FLAT-NAMESPACE CHIPZ-SYSTEM:GRAY-STREAMS) 2017-09-01T18:02:33Z dim: I guess there's a better way write that loop, but it was so easy to type it in... 2017-09-01T18:03:04Z oleo: why can't classnames be keywords ? 2017-09-01T18:03:37Z oleo: (make-instance 'blah) does work but (make-instance :bla) does not 2017-09-01T18:05:07Z dim: make-instance must be given the symbol of the class, do you have a :bla class defined? 2017-09-01T18:05:25Z DeadTrickster_ quit (Ping timeout: 248 seconds) 2017-09-01T18:05:48Z Bicyclidine: i have no problem defining a :bla class on sbcl, and making an instance thereof 2017-09-01T18:05:58Z DeadTrickster quit (Ping timeout: 248 seconds) 2017-09-01T18:07:28Z oleo: aah 2017-09-01T18:07:36Z oleo: no the class is define only via bla 2017-09-01T18:07:42Z oleo: that's why 2017-09-01T18:11:43Z epony joined #lisp 2017-09-01T18:12:51Z epony quit (Client Quit) 2017-09-01T18:13:29Z Xach: dim: (remove-if 'keywordp *features*) springs to mind 2017-09-01T18:13:34Z rpg: Oh, yes, ok. 2017-09-01T18:14:38Z rpg: dim, Xach : Yes, Norvig defines FIND-ALL-IF as an alias for REMOVE-IF-NOT... 2017-09-01T18:14:54Z rpg: I mean REMOVE-IF, sorry 2017-09-01T18:15:44Z Bicyclidine: minion: memo for beach: removing the info slot has no apparent effect, i.e. clasp works the same. 2017-09-01T18:15:45Z minion: Remembered. I'll tell beach when he/she/it next speaks. 2017-09-01T18:15:53Z neoncont_ joined #lisp 2017-09-01T18:15:56Z rpg: BTW, anyone use org-babel with CL? I find that if I execute code snippets that contain IN-PACKAGE, they don't work properly. It looks like org may be squirting individual lines into SLIME? 2017-09-01T18:16:00Z DeadTrickster joined #lisp 2017-09-01T18:16:06Z rpg: s/lines/s-xpressions/ 2017-09-01T18:16:08Z neoncontrails quit (Ping timeout: 240 seconds) 2017-09-01T18:16:13Z DeadTrickster_ joined #lisp 2017-09-01T18:16:43Z dim: remove-if-not. some day it'll stick to mind... 2017-09-01T18:16:55Z DeadTrickster quit (Read error: Connection reset by peer) 2017-09-01T18:17:08Z DeadTrickster joined #lisp 2017-09-01T18:18:51Z phoe: remove-when, remove-unless, remove-whilst, remove-following, remove-notwithstanding 2017-09-01T18:19:49Z dim: well I like loop, so I'm not in a dire need to remember names of every Higher Order Function in the standard 2017-09-01T18:19:53Z dlowe: remove-unless-not 2017-09-01T18:20:18Z Xach: dont-remove-unless-aint 2017-09-01T18:20:43Z DeadTrickster_ quit (Ping timeout: 240 seconds) 2017-09-01T18:20:49Z dim: maybe-remove-unless-when 2017-09-01T18:23:28Z rpg: Do I need :var *package* (find-package 'my-package) ? 2017-09-01T18:24:07Z rpg: hm. Seems like the value assigned to package is interpreted in elisp! 2017-09-01T18:26:46Z MrBusiness3 joined #lisp 2017-09-01T18:28:01Z Bicyclidine: minion: memo for beach: sorry, i built it wrong and don't actually know yet, fixing 2017-09-01T18:28:02Z minion: Remembered. I'll tell beach when he/she/it next speaks. 2017-09-01T18:29:03Z MrBismuth quit (Ping timeout: 240 seconds) 2017-09-01T18:29:33Z Bock quit (Ping timeout: 252 seconds) 2017-09-01T18:51:45Z bigos joined #lisp 2017-09-01T18:52:41Z knobo2 joined #lisp 2017-09-01T18:54:35Z papachan joined #lisp 2017-09-01T19:00:49Z Lowl3v3l quit (Quit: Leaving.) 2017-09-01T19:01:15Z yeticry_ joined #lisp 2017-09-01T19:04:07Z yeticry quit (Ping timeout: 264 seconds) 2017-09-01T19:04:08Z brendyn quit (Ping timeout: 240 seconds) 2017-09-01T19:13:44Z sellout- quit (Quit: Leaving.) 2017-09-01T19:14:24Z scymtym joined #lisp 2017-09-01T19:14:35Z bigos quit (Quit: Leaving) 2017-09-01T19:19:01Z marvin2 quit (Ping timeout: 248 seconds) 2017-09-01T19:25:28Z Th30n joined #lisp 2017-09-01T19:29:05Z kslt1 joined #lisp 2017-09-01T19:32:30Z shka_ quit (Ping timeout: 260 seconds) 2017-09-01T19:35:23Z shrdlu68 joined #lisp 2017-09-01T19:35:59Z deba5e12 joined #lisp 2017-09-01T19:39:14Z oleo quit (Read error: Connection reset by peer) 2017-09-01T19:40:37Z mson quit (Quit: Connection closed for inactivity) 2017-09-01T19:43:27Z Denommus joined #lisp 2017-09-01T19:43:41Z EvW joined #lisp 2017-09-01T19:46:03Z Kyo91 quit (Ping timeout: 240 seconds) 2017-09-01T19:47:49Z Suzuran42 joined #lisp 2017-09-01T19:48:14Z Karl_Dscc quit (Remote host closed the connection) 2017-09-01T19:49:26Z Khisanth quit (Ping timeout: 248 seconds) 2017-09-01T19:50:55Z Suzuran quit (Ping timeout: 246 seconds) 2017-09-01T19:50:56Z Suzuran42 is now known as Suzuran 2017-09-01T19:53:09Z shrdlu68: New machine, would there be a clash if I installed distro-provided sbcl and then built sbcl from git mirror? 2017-09-01T19:53:38Z mazoe quit (Ping timeout: 255 seconds) 2017-09-01T19:54:06Z whoman: nah, i did it for this setup 2017-09-01T19:54:26Z whoman: uninstall distro-sbcl before make install git-sbcl 2017-09-01T19:54:46Z whoman: not that it would clash. but just in case we dont run the wrong one afterward 2017-09-01T19:55:02Z shrdlu68: But then I won't have a lisp to buid with. 2017-09-01T19:55:08Z shrdlu68: Do you mean after? 2017-09-01T19:55:22Z jasom: shrdlu68: with gentoo there is a minor clash because it's install is stupid 2017-09-01T19:55:41Z whoman: 'make install' is one of the commands to install sbcl, which we do after compiling with distro-sbcl 2017-09-01T19:55:47Z shrdlu68: I've previously had a situation where the distro-provided version shipped with some outdated dependencies (I think it was asdf), and the files persisted even after uninstalling the distro version. 2017-09-01T19:55:51Z whoman: obv wtf. 2017-09-01T19:56:13Z jasom: shrdlu68: gentoo sets SBCL_HOME in /etc/profile rather than correctly configuring sbcl to find the image; major WTF 2017-09-01T19:56:16Z whoman: its what i did, just saying 2017-09-01T19:56:23Z shrdlu68: whoman: Oh, didn't think there. 2017-09-01T19:56:46Z whoman: also, you can rm -rf ~/{*sbcl*,*quicklisp*} 2017-09-01T19:57:18Z shrdlu68: ...which is why I'm hesistant to taint the system with the distro version. 2017-09-01T19:58:40Z oleo joined #lisp 2017-09-01T20:00:48Z Kyo91 joined #lisp 2017-09-01T20:02:28Z Khisanth joined #lisp 2017-09-01T20:04:50Z maarhart joined #lisp 2017-09-01T20:06:36Z Murii|osx joined #lisp 2017-09-01T20:07:19Z maarhart quit (Client Quit) 2017-09-01T20:08:13Z dddddd quit (Ping timeout: 240 seconds) 2017-09-01T20:14:04Z vlatkoB_ quit (Remote host closed the connection) 2017-09-01T20:21:17Z dddddd joined #lisp 2017-09-01T20:21:48Z arrdem joined #lisp 2017-09-01T20:22:30Z deba5e12 quit (Read error: Connection reset by peer) 2017-09-01T20:22:36Z whoman: thats why i uninstalled it after 2017-09-01T20:22:47Z stylewarning: Hello lisp friends 2017-09-01T20:22:49Z whoman: now i am using git-sbcl for git-sbcl, and etc 2017-09-01T20:22:50Z whoman: hello 2017-09-01T20:23:31Z shrdlu68: whoman: Think I'll do the same. 2017-09-01T20:23:46Z whoman: (make-instance 'standard-method :function (lambda ())) 2017-09-01T20:23:50Z whoman: ok 2017-09-01T20:24:38Z gigetoo quit (Ping timeout: 248 seconds) 2017-09-01T20:24:51Z Th30n: What's the recommended way to get the directory of the lisp source code file? 2017-09-01T20:25:08Z Th30n: I currently have this: #.(uiop:pathname-directory-pathname (or *compile-file-truename* *load-truename*)) 2017-09-01T20:25:24Z pie3 joined #lisp 2017-09-01T20:25:29Z gigetoo joined #lisp 2017-09-01T20:26:12Z stylewarning: What are some cool Lisp snippets people have run across 2017-09-01T20:31:58Z Xach: Th30n: you don't need the uiop bit. 2017-09-01T20:32:12Z Xach: Th30n: oh, sorry. the directory. that's a fine way to do it. 2017-09-01T20:32:21Z whoman: shrdlu68, btw, i am just updating now from 1.3.20 -> 1.3.21 2017-09-01T20:33:04Z Bicyclidine: minion: memo for beach: got it right this time. removing the slot is indeed ineffective. it's possible i'm missing some obscure use but it doesn't seem likely. 2017-09-01T20:33:05Z minion: Remembered. I'll tell beach when he/she/it next speaks. 2017-09-01T20:34:28Z Th30n: Xach: Ok, thanks for confirmation! 2017-09-01T20:36:23Z aeth_ joined #lisp 2017-09-01T20:36:55Z whoman: Unexpected HTTP status for #: 404 2017-09-01T20:37:31Z Xach: nooooo 2017-09-01T20:38:17Z stylewarning: With a name like bodge.borodust what do you expect 2017-09-01T20:38:48Z aeth quit (Ping timeout: 252 seconds) 2017-09-01T20:38:52Z kslt1 quit (Remote host closed the connection) 2017-09-01T20:38:55Z varjag quit (Read error: Connection reset by peer) 2017-09-01T20:39:01Z aeth_ is now known as aeth 2017-09-01T20:39:15Z whoman: well, cl-bodge =) 2017-09-01T20:39:24Z whoman isnt british/english 2017-09-01T20:39:31Z whoman: is it like 'pants' ? 2017-09-01T20:40:17Z Th30n quit (Quit: Soo tired... Good night!) 2017-09-01T20:43:02Z mishoo_ joined #lisp 2017-09-01T20:44:23Z mishoo quit (Ping timeout: 240 seconds) 2017-09-01T20:46:30Z angavrilov quit (Remote host closed the connection) 2017-09-01T20:48:08Z Kyo91 quit (Ping timeout: 240 seconds) 2017-09-01T20:50:14Z pierpa joined #lisp 2017-09-01T20:56:02Z defaultxr joined #lisp 2017-09-01T20:57:13Z random-nick quit (Remote host closed the connection) 2017-09-01T21:17:07Z marvin2 joined #lisp 2017-09-01T21:17:55Z Bicyclidine quit (Ping timeout: 264 seconds) 2017-09-01T21:28:09Z neoncont_ quit (Remote host closed the connection) 2017-09-01T21:29:35Z neoncontrails joined #lisp 2017-09-01T21:33:14Z peterppp joined #lisp 2017-09-01T21:35:13Z shrdlu68 quit (Ping timeout: 240 seconds) 2017-09-01T21:35:32Z okflo quit (Remote host closed the connection) 2017-09-01T21:36:47Z pie3 quit (Quit: Leaving) 2017-09-01T21:36:55Z brendyn joined #lisp 2017-09-01T21:44:26Z attila_lendvai quit (Quit: Leaving.) 2017-09-01T21:48:10Z scottj joined #lisp 2017-09-01T21:50:27Z wxie joined #lisp 2017-09-01T21:58:51Z jmarciano joined #lisp 2017-09-01T21:59:53Z dyelar quit (Quit: Leaving.) 2017-09-01T22:01:51Z knobo2 quit (Ping timeout: 252 seconds) 2017-09-01T22:02:20Z rafadc joined #lisp 2017-09-01T22:12:37Z c__ quit (Remote host closed the connection) 2017-09-01T22:26:26Z Denommus quit (Quit: going home) 2017-09-01T22:29:31Z Bike joined #lisp 2017-09-01T22:30:28Z jmarciano quit (Remote host closed the connection) 2017-09-01T22:36:33Z wxie quit (Quit: Bye.) 2017-09-01T22:45:30Z whoman quit (Remote host closed the connection) 2017-09-01T22:45:52Z whoman joined #lisp 2017-09-01T22:47:11Z rafadc quit (Quit: Bye!) 2017-09-01T22:52:50Z papachan quit (Quit: Saliendo) 2017-09-01T22:52:53Z clintm quit (Remote host closed the connection) 2017-09-01T22:56:31Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-01T23:03:12Z Murii|osx quit (Quit: Textual IRC Client: www.textualapp.com) 2017-09-01T23:04:18Z PinealGlandOptic quit (Quit: leaving) 2017-09-01T23:05:24Z rpg joined #lisp 2017-09-01T23:18:05Z mishoo_ quit (Ping timeout: 246 seconds) 2017-09-01T23:24:28Z paule32 quit (Read error: Connection reset by peer) 2017-09-01T23:29:39Z xristos joined #lisp 2017-09-01T23:34:43Z peterppp quit (Ping timeout: 264 seconds) 2017-09-01T23:35:33Z whoman quit (Read error: Connection reset by peer) 2017-09-01T23:36:03Z whoman joined #lisp 2017-09-01T23:39:42Z peterppp joined #lisp 2017-09-01T23:41:38Z raynold quit (Quit: Connection closed for inactivity) 2017-09-01T23:52:30Z Bicyclidine joined #lisp 2017-09-01T23:56:16Z Bike quit (Ping timeout: 246 seconds) 2017-09-01T23:59:41Z EvW quit (Ping timeout: 255 seconds) 2017-09-02T00:04:43Z peterppp quit (Ping timeout: 264 seconds) 2017-09-02T00:17:09Z kobain joined #lisp 2017-09-02T00:19:48Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-02T00:28:20Z mrcom quit (Ping timeout: 248 seconds) 2017-09-02T00:28:57Z mrcom joined #lisp 2017-09-02T00:33:08Z dtornabene joined #lisp 2017-09-02T00:36:13Z mrSpec quit (Ping timeout: 240 seconds) 2017-09-02T00:37:06Z peterppp joined #lisp 2017-09-02T00:37:07Z mxh- quit (Ping timeout: 264 seconds) 2017-09-02T00:37:07Z ircbrowse quit (Ping timeout: 264 seconds) 2017-09-02T00:37:50Z mrSpec joined #lisp 2017-09-02T00:38:09Z AeroNotix quit (Ping timeout: 246 seconds) 2017-09-02T00:38:14Z mrSpec is now known as Guest83409 2017-09-02T00:39:56Z mxh- joined #lisp 2017-09-02T00:40:31Z AeroNotix joined #lisp 2017-09-02T00:41:37Z ircbrowse joined #lisp 2017-09-02T00:41:58Z zulu_inuoe_ joined #lisp 2017-09-02T00:44:34Z zulu_inuoe quit (Ping timeout: 240 seconds) 2017-09-02T00:55:34Z margeas quit (Ping timeout: 255 seconds) 2017-09-02T00:57:04Z EvilAngel joined #lisp 2017-09-02T01:01:07Z peterppp quit (Ping timeout: 264 seconds) 2017-09-02T01:04:38Z grublet quit (Ping timeout: 248 seconds) 2017-09-02T01:05:11Z d4ryus1 joined #lisp 2017-09-02T01:08:03Z d4ryus quit (Ping timeout: 240 seconds) 2017-09-02T01:11:20Z raynold joined #lisp 2017-09-02T01:15:30Z kobain quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2017-09-02T01:17:04Z emacsoma` quit (Remote host closed the connection) 2017-09-02T01:27:35Z safe joined #lisp 2017-09-02T01:31:35Z Karl_Dscc joined #lisp 2017-09-02T01:39:50Z fiddlerwoaroof quit (Ping timeout: 248 seconds) 2017-09-02T01:46:41Z Bike joined #lisp 2017-09-02T01:49:07Z Bicyclidine quit (Ping timeout: 255 seconds) 2017-09-02T02:09:17Z quazimodo quit (Remote host closed the connection) 2017-09-02T02:10:14Z rpg joined #lisp 2017-09-02T02:13:18Z Karl_Dscc quit (Remote host closed the connection) 2017-09-02T02:15:44Z quazimodo joined #lisp 2017-09-02T02:15:51Z marvin3 joined #lisp 2017-09-02T02:18:14Z marvin2 quit (Ping timeout: 248 seconds) 2017-09-02T02:25:14Z deba5e12 joined #lisp 2017-09-02T02:32:48Z fiddlerwoaroof joined #lisp 2017-09-02T02:44:48Z pierpa quit (Quit: Page closed) 2017-09-02T02:49:10Z fiddlerwoaroof quit (Ping timeout: 248 seconds) 2017-09-02T02:49:35Z damke joined #lisp 2017-09-02T02:51:59Z grublet joined #lisp 2017-09-02T02:55:54Z Kyo91 joined #lisp 2017-09-02T02:56:18Z bigdaddytank joined #lisp 2017-09-02T02:56:37Z scottj quit (Quit: leaving) 2017-09-02T03:01:02Z Bike quit (Ping timeout: 252 seconds) 2017-09-02T03:03:17Z jameser joined #lisp 2017-09-02T03:04:01Z Bike joined #lisp 2017-09-02T03:06:14Z schoppenhauer quit (Ping timeout: 248 seconds) 2017-09-02T03:07:57Z schoppenhauer joined #lisp 2017-09-02T03:08:21Z beach: Good morning everyone! 2017-09-02T03:08:21Z minion: beach, memo from Bicyclidine: removing the info slot has no apparent effect, i.e. clasp works the same. 2017-09-02T03:08:21Z minion: beach, memo from Bicyclidine: sorry, i built it wrong and don't actually know yet, fixing 2017-09-02T03:08:21Z minion: beach, memo from Bicyclidine: got it right this time. removing the slot is indeed ineffective. it's possible i'm missing some obscure use but it doesn't seem likely. 2017-09-02T03:19:14Z phinxy joined #lisp 2017-09-02T03:20:55Z quazimodo quit (Ping timeout: 260 seconds) 2017-09-02T03:22:30Z quazimodo joined #lisp 2017-09-02T03:24:14Z beach: Bike: Thanks. Can you push that change, please? 2017-09-02T03:24:45Z Bike: sure 2017-09-02T03:25:54Z marvin3 quit 2017-09-02T03:26:20Z Kyo91 quit (Ping timeout: 252 seconds) 2017-09-02T03:28:04Z grublet quit (Ping timeout: 248 seconds) 2017-09-02T03:28:49Z quazimodo quit (Read error: Connection reset by peer) 2017-09-02T03:35:31Z quazimodo joined #lisp 2017-09-02T03:42:37Z grublet joined #lisp 2017-09-02T03:43:00Z dddddd quit (Remote host closed the connection) 2017-09-02T03:51:31Z pjb quit (Ping timeout: 255 seconds) 2017-09-02T03:51:43Z damke_ joined #lisp 2017-09-02T03:53:36Z ryanbw joined #lisp 2017-09-02T03:53:54Z damke quit (Ping timeout: 240 seconds) 2017-09-02T03:58:07Z Bike quit (Ping timeout: 246 seconds) 2017-09-02T04:04:15Z mrcom quit (Read error: Connection reset by peer) 2017-09-02T04:04:32Z mrcom joined #lisp 2017-09-02T04:08:39Z bigdaddytank quit (Quit: Peace out!) 2017-09-02T04:10:30Z deba5e12 quit (Ping timeout: 260 seconds) 2017-09-02T04:15:00Z serviteur quit (Remote host closed the connection) 2017-09-02T04:17:40Z Lowl3v3l joined #lisp 2017-09-02T04:30:24Z phinxy quit (Read error: Connection reset by peer) 2017-09-02T04:30:39Z phinxy joined #lisp 2017-09-02T04:32:21Z pjb joined #lisp 2017-09-02T04:32:44Z phinxy quit (Read error: No route to host) 2017-09-02T04:36:03Z zooey quit (Ping timeout: 268 seconds) 2017-09-02T04:37:50Z FreeBirdLjj joined #lisp 2017-09-02T04:38:12Z terpri quit (Ping timeout: 240 seconds) 2017-09-02T04:38:42Z zooey joined #lisp 2017-09-02T04:38:47Z EvilAngel quit (Quit: I need a shrubbery!) 2017-09-02T04:39:20Z terpri joined #lisp 2017-09-02T04:40:29Z whartung quit (Ping timeout: 255 seconds) 2017-09-02T04:42:12Z FreeBirdLjj quit (Ping timeout: 248 seconds) 2017-09-02T04:46:17Z whartung joined #lisp 2017-09-02T04:53:53Z drcode joined #lisp 2017-09-02T05:03:10Z phinxy joined #lisp 2017-09-02T05:04:51Z phinxy left #lisp 2017-09-02T05:05:15Z FreeBirdLjj joined #lisp 2017-09-02T05:09:26Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-02T05:21:27Z bigdaddytank joined #lisp 2017-09-02T05:24:31Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-02T05:25:49Z yrk quit (Read error: Connection reset by peer) 2017-09-02T05:28:07Z drcode quit (Quit: ZNC 1.6.5 - http://znc.in) 2017-09-02T05:29:17Z Bock joined #lisp 2017-09-02T05:29:58Z drcode joined #lisp 2017-09-02T05:31:51Z FreeBirdLjj joined #lisp 2017-09-02T05:32:43Z bigdaddytank quit (Quit: Peace out!) 2017-09-02T05:38:30Z SaganMan joined #lisp 2017-09-02T05:39:35Z shka_ joined #lisp 2017-09-02T05:42:57Z dtornabene quit (Quit: Leaving) 2017-09-02T05:51:10Z knobo2 joined #lisp 2017-09-02T06:07:07Z nauar joined #lisp 2017-09-02T06:10:25Z safe quit (Read error: Connection reset by peer) 2017-09-02T06:10:47Z grublet quit (Ping timeout: 252 seconds) 2017-09-02T06:11:06Z bigdaddytank joined #lisp 2017-09-02T06:15:40Z beach: I am getting more and more convinced that it is healthy to rewrite software from scratch from time to time. 2017-09-02T06:15:51Z beach: Unfortunately, it also takes a lot of time and effort. 2017-09-02T06:18:59Z Kyo91 joined #lisp 2017-09-02T06:23:26Z Kyo91 quit (Ping timeout: 252 seconds) 2017-09-02T06:23:35Z Kyo91 joined #lisp 2017-09-02T06:25:57Z shka_: i don't think there is anything to add 2017-09-02T06:27:49Z bigdaddytank quit (Quit: Peace out!) 2017-09-02T06:28:42Z Kyo91 quit (Ping timeout: 264 seconds) 2017-09-02T06:39:52Z beach: Right. 2017-09-02T07:00:56Z damke_ quit (Read error: Connection reset by peer) 2017-09-02T07:04:18Z trn quit (Excess Flood) 2017-09-02T07:04:28Z trn joined #lisp 2017-09-02T07:06:09Z damke_ joined #lisp 2017-09-02T07:15:00Z angavrilov joined #lisp 2017-09-02T07:16:07Z phinxy joined #lisp 2017-09-02T07:27:00Z whoman: hmm 2017-09-02T07:31:54Z neoncontrails quit (Remote host closed the connection) 2017-09-02T07:35:36Z beach: whoman: "hmm" what? 2017-09-02T07:36:24Z vlatkoB joined #lisp 2017-09-02T07:44:02Z whoman: i notice also that whole rewrites or throwaway / live code seems to be becoming a thing \ 2017-09-02T07:46:17Z beach: I see. 2017-09-02T07:46:21Z phinxy quit (Read error: Connection reset by peer) 2017-09-02T07:46:29Z phinxy joined #lisp 2017-09-02T07:50:08Z whoman quit (Remote host closed the connection) 2017-09-02T07:50:13Z damke_ quit (Ping timeout: 240 seconds) 2017-09-02T07:53:03Z whoman joined #lisp 2017-09-02T07:54:30Z damke_ joined #lisp 2017-09-02T07:56:42Z Mon_Ouie joined #lisp 2017-09-02T08:02:17Z beach: Where did you notice it? 2017-09-02T08:02:41Z phinxy quit (Read error: Connection reset by peer) 2017-09-02T08:02:58Z phinxy joined #lisp 2017-09-02T08:04:24Z beach: My observation was just based on my own experience. In particular how the design is often substantially improved by a rewrite. 2017-09-02T08:09:05Z phinxy quit (Read error: Connection reset by peer) 2017-09-02T08:09:18Z phinxy joined #lisp 2017-09-02T08:14:42Z Mon_Ouie quit (Ping timeout: 240 seconds) 2017-09-02T08:20:25Z Murii joined #lisp 2017-09-02T08:24:14Z Kyo91 joined #lisp 2017-09-02T08:26:28Z vibs29 quit (Ping timeout: 255 seconds) 2017-09-02T08:28:39Z Kyo91 quit (Ping timeout: 246 seconds) 2017-09-02T08:30:01Z whoman: i see that as well in my own rewrites, even with english =) well, there are a lot of 'livecoding' environments appearing, and lots more code generating; but i am mostly noticing the various levels of benefit to starting many things over , in living as well. each day new, each moment new, each session new 2017-09-02T08:34:42Z SaganMan: can you recommend me a good one for lisp and python? 2017-09-02T08:37:29Z Shinmera: tu 2017-09-02T08:37:37Z beach: SaganMan: What do you want a recommendation for? A book? 2017-09-02T08:37:40Z Shinmera: Wrong window, nevermind 2017-09-02T08:38:09Z SaganMan: livecoding environment beach 2017-09-02T08:38:20Z beach: Ah, OK. Sorry. 2017-09-02T08:39:52Z Murii|osx joined #lisp 2017-09-02T08:40:43Z beach: There was a YouTube video of a guy doing music in real time with Common Lisp. I think he was just using SLIME, though. Does anyone remember the video? 2017-09-02T08:41:36Z Mon_Ouie joined #lisp 2017-09-02T08:42:49Z shka_: beach: yes 2017-09-02T08:43:04Z beach: https://www.youtube.com/watch?v=xzTH_ZqaFKI is one 2017-09-02T08:44:51Z shka_: beach: baggers has some live 3D code demos on youtube 2017-09-02T08:45:43Z shka_: like this: https://www.youtube.com/watch?v=82o5NeyZtvw 2017-09-02T08:46:08Z shka_: it is actually fairly impressive 2017-09-02T08:47:21Z Murii|osx quit (Quit: Textual IRC Client: www.textualapp.com) 2017-09-02T08:52:11Z beach: Let's hope SaganMan gets some inspiration from those videos. 2017-09-02T08:53:47Z beach: SaganMan: This channel is dedicated to Common Lisp, so for other languages, you probably need to ask elsewhere. 2017-09-02T08:54:50Z vibs29 joined #lisp 2017-09-02T08:54:56Z mishoo_ joined #lisp 2017-09-02T08:58:12Z knobo2 quit (Ping timeout: 240 seconds) 2017-09-02T09:02:53Z shka_: SaganMan: https://www.youtube.com/watch?v=82o5NeyZtvw 2017-09-02T09:02:58Z shka_: btw 2017-09-02T09:04:32Z Shinmera: I have some live coding stuff too: https://www.youtube.com/playlist?list=PLkDl6Irujx9OdVIjVFdNZYCQ5OFTjYlAU https://www.youtube.com/playlist?list=PLkDl6Irujx9Poirb63aATXXWHCVCHwlQA https://www.youtube.com/playlist?list=PLkDl6Irujx9Mh3BWdBmt4JtIrwYgihTWp 2017-09-02T09:05:09Z SaganMan: that's awesome videos 2017-09-02T09:25:07Z Ven joined #lisp 2017-09-02T09:25:32Z Ven is now known as Guest66504 2017-09-02T09:30:11Z knobo2 joined #lisp 2017-09-02T09:32:15Z grublet joined #lisp 2017-09-02T09:33:56Z scymtym quit (Ping timeout: 248 seconds) 2017-09-02T09:34:17Z peterppp joined #lisp 2017-09-02T09:56:42Z Murii quit (Ping timeout: 240 seconds) 2017-09-02T09:58:44Z DeadTrickster quit (Ping timeout: 260 seconds) 2017-09-02T10:02:33Z Guest66504 quit (Ping timeout: 240 seconds) 2017-09-02T10:04:48Z Ven joined #lisp 2017-09-02T10:05:13Z Ven is now known as Guest63547 2017-09-02T10:07:01Z stylewarning: beach, around a year ago I did some stuff somewhat regularly 2017-09-02T10:09:10Z stylewarning: beach e.g., https://youtu.be/v6iOtLinE2c 2017-09-02T10:14:39Z stylewarning: Shoddy computer science computing numerical bounds on discrete-Fourier-like transform lengths https://youtu.be/idvZv4baCao 2017-09-02T10:15:00Z stylewarning: I suppose I should note all videos are done on-the-fly w/o editing or planning. Mostly weekend hacking. 2017-09-02T10:15:39Z scymtym joined #lisp 2017-09-02T10:20:02Z stylewarning: beach: oops. you said music 2017-09-02T10:20:57Z Guest63547 is now known as Ven`` 2017-09-02T10:21:13Z knobo2 quit (Ping timeout: 240 seconds) 2017-09-02T10:28:01Z knobo2 joined #lisp 2017-09-02T10:36:03Z damke_ quit (Ping timeout: 246 seconds) 2017-09-02T10:36:21Z margeas joined #lisp 2017-09-02T10:36:33Z knobo2 quit (Ping timeout: 240 seconds) 2017-09-02T10:39:12Z vibs29 quit (Ping timeout: 240 seconds) 2017-09-02T10:39:12Z damke_ joined #lisp 2017-09-02T10:40:09Z Kyo91_ joined #lisp 2017-09-02T10:40:13Z mishoo_ quit (Ping timeout: 240 seconds) 2017-09-02T10:42:40Z knobo2 joined #lisp 2017-09-02T10:43:16Z nauar quit 2017-09-02T10:44:54Z Kyo91_ quit (Ping timeout: 264 seconds) 2017-09-02T10:45:04Z shrdlu68 joined #lisp 2017-09-02T10:47:50Z shrdlu68: Xach: Hi, I'm having trouble quickloading fast-io: https://paste.pound-python.org/show/137vGLrmMBtyE2DKUfqn/ 2017-09-02T10:49:54Z Karl_Dscc joined #lisp 2017-09-02T10:53:00Z stylewarning: shrdlu68: try quickloading trivial-features 2017-09-02T10:53:13Z stylewarning: Then try fast-Io right after 2017-09-02T10:54:15Z shrdlu68: Already did, no luck. Let me paste the result after doing that. 2017-09-02T10:56:24Z shrdlu68: https://paste.pound-python.org/show/HezPqbYrRAcZSOJausE9/ 2017-09-02T10:59:07Z Murii|osx joined #lisp 2017-09-02T11:00:38Z shrdlu68: glv2/ironclad is many commits (97) ahead of froydnj/ironclad 2017-09-02T11:01:11Z shrdlu68: Shouldn't we be using the former rather than the latter in quicklisp? 2017-09-02T11:01:36Z damke joined #lisp 2017-09-02T11:01:40Z phoe: shrdlu68: there's a lot of story behind this. 2017-09-02T11:01:49Z phoe: Xach: what is the current state of ironclad in Quicklisp? 2017-09-02T11:02:27Z shrdlu68: phoe: What's the story? 2017-09-02T11:03:06Z XachX: I need to switch over to sharplispers 2017-09-02T11:04:18Z damke_ quit (Ping timeout: 246 seconds) 2017-09-02T11:05:41Z kolko quit (Quit: ZNC - http://znc.in) 2017-09-02T11:06:12Z phoe: shrdlu68: in other words, https://github.com/sharplispers/ironclad is the maintained version, as agreed with froydnj 2017-09-02T11:06:30Z phoe: and glv2 who is its current active maintainer AFAIK 2017-09-02T11:06:44Z shrdlu68: I see. 2017-09-02T11:08:32Z kolko joined #lisp 2017-09-02T11:09:25Z knobo2 quit (Ping timeout: 248 seconds) 2017-09-02T11:18:51Z mfiano: If you think that is bad, look at cl-png...it's 8 years ahead of quicklisp 2017-09-02T11:20:20Z Ellenor quit (Ping timeout: 240 seconds) 2017-09-02T11:21:02Z Bike joined #lisp 2017-09-02T11:37:39Z beach: stylewarning: I wasn't the one asking. It was SaganMan. 2017-09-02T11:38:49Z oleo quit (Remote host closed the connection) 2017-09-02T11:39:25Z phoe: mfiano: wat 2017-09-02T11:39:26Z phoe: really? 2017-09-02T11:39:26Z oleo joined #lisp 2017-09-02T11:39:50Z mfiano: Yes, it's pointing at a release rather than master. 2017-09-02T11:40:28Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-02T11:43:42Z peterppp quit (Ping timeout: 264 seconds) 2017-09-02T11:43:48Z phoe: well someone needs to make a new release at github 2017-09-02T11:43:57Z phoe: Xach: ^ ? 2017-09-02T11:44:36Z mfiano: That system is pretty much garbage anyway. 2017-09-02T11:45:27Z Ellenor joined #lisp 2017-09-02T11:45:53Z mfiano: It uses the antiquated libpng 1.2 which your distribution may not even carry anymore, and it writes to memory locations out of what is allocated etc 2017-09-02T11:48:32Z DeadTrickster_ joined #lisp 2017-09-02T11:48:51Z random-nick joined #lisp 2017-09-02T11:55:19Z varjag joined #lisp 2017-09-02T11:59:47Z rpg joined #lisp 2017-09-02T12:00:30Z phoe: ...ouch 2017-09-02T12:13:33Z neoncontrails joined #lisp 2017-09-02T12:15:36Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-02T12:22:10Z mishoo_ joined #lisp 2017-09-02T12:23:37Z neoncontrails quit (Remote host closed the connection) 2017-09-02T12:28:27Z phinxy quit (Read error: No route to host) 2017-09-02T12:28:43Z phinxy joined #lisp 2017-09-02T12:28:54Z EvW1 joined #lisp 2017-09-02T12:38:07Z vaporatorius quit (Ping timeout: 240 seconds) 2017-09-02T12:43:54Z Orion3k quit (Quit: Leaving) 2017-09-02T12:47:13Z mishoo__ joined #lisp 2017-09-02T12:48:26Z dddddd joined #lisp 2017-09-02T12:49:39Z mishoo_ quit (Ping timeout: 260 seconds) 2017-09-02T12:51:53Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-02T12:52:29Z mishoo__ quit (Quit: (save-lisp-and-die)) 2017-09-02T12:53:45Z mishoo joined #lisp 2017-09-02T13:01:17Z damke_ joined #lisp 2017-09-02T13:02:53Z damke quit (Ping timeout: 240 seconds) 2017-09-02T13:03:06Z mishoo quit (Quit: (save-lisp-and-die)) 2017-09-02T13:06:01Z stylewarning: beach, you're a generic function which dispatches to other people ;D 2017-09-02T13:06:14Z beach: Heh, thanks (I guess). 2017-09-02T13:07:04Z ntinos quit (Quit: Chat comfortably. Anywhere.) 2017-09-02T13:07:17Z stylewarning: beach, there's been material on typed subsets of Common Lisp that allow full compile time type inference and checking. I think there was even material on doing parametric polymorphism. 2017-09-02T13:07:50Z stylewarning: Have you thought about this at all, either academically, or from a pragmatic setting of allowing some practical subset that could help programmers write better programs? 2017-09-02T13:08:03Z beach: Not really, no. 2017-09-02T13:09:52Z ntinos joined #lisp 2017-09-02T13:15:06Z peterppp joined #lisp 2017-09-02T13:16:35Z peterppp quit (Read error: Connection reset by peer) 2017-09-02T13:16:54Z peterpp_ joined #lisp 2017-09-02T13:17:33Z zaoqi joined #lisp 2017-09-02T13:17:42Z mishoo joined #lisp 2017-09-02T13:23:48Z rpg joined #lisp 2017-09-02T13:26:51Z deba5e12 joined #lisp 2017-09-02T13:28:36Z rpg quit (Ping timeout: 248 seconds) 2017-09-02T13:32:27Z mishoo_ joined #lisp 2017-09-02T13:33:55Z mishoo quit (Ping timeout: 248 seconds) 2017-09-02T13:41:07Z zaoqi_ joined #lisp 2017-09-02T13:41:12Z zaoqi quit (Ping timeout: 246 seconds) 2017-09-02T13:44:36Z drcode quit (Ping timeout: 248 seconds) 2017-09-02T13:48:47Z drcode joined #lisp 2017-09-02T13:49:51Z drcode quit (Excess Flood) 2017-09-02T13:53:02Z ristur joined #lisp 2017-09-02T13:54:28Z EvW1 quit (Ping timeout: 246 seconds) 2017-09-02T13:54:30Z phinxy quit (Ping timeout: 255 seconds) 2017-09-02T13:55:10Z phinxy joined #lisp 2017-09-02T13:56:18Z phinxy left #lisp 2017-09-02T14:05:43Z damke joined #lisp 2017-09-02T14:06:49Z solyd joined #lisp 2017-09-02T14:07:24Z solyd: stupid question, but I can't find anything on google - how can i get an outline of a lisp file? 2017-09-02T14:07:31Z solyd: to see functions/macros/class definitions 2017-09-02T14:07:39Z solyd: and easily navigate / search by name 2017-09-02T14:08:13Z damke_ quit (Ping timeout: 240 seconds) 2017-09-02T14:08:39Z stylewarning: You usually can't of a lisp file 2017-09-02T14:08:54Z stylewarning: You can use APROPOS, a built in Lisp function 2017-09-02T14:11:23Z Bike: there is a system called manifest that gives an interactive map of packages in a web browser. 2017-09-02T14:12:07Z Shinmera: staple-server will do the same. 2017-09-02T14:12:18Z _death: hide-show works ok 2017-09-02T14:15:44Z raynold quit (Quit: Connection closed for inactivity) 2017-09-02T14:31:44Z pjb: solyd: you can use emacs outline-mode. 2017-09-02T14:32:18Z ryan_vw left #lisp 2017-09-02T14:32:19Z pjb: err, nope, doesn't seem to work. 2017-09-02T14:34:53Z pjb: Well, outline-minor-mode. But you would have to work on the bindings, and to follow the conventions for outline mode… 2017-09-02T14:36:32Z pjb: solyd: otherwise you can write it yourself. That's the point of lisp being homoiconic: so you can easily write tools working on lisp sources: (with-open-file (in "source.lisp") (loop for sexp = (read in nil nil) while sexp when (string= "DEF" (and (listp sexp) (first sexp)) :end2 (max (length (string (first sexp)) 3))) do (print (second sexp)))) 2017-09-02T14:36:34Z pjb: basically. 2017-09-02T14:37:28Z ryan_vw joined #lisp 2017-09-02T14:37:34Z nullniverse joined #lisp 2017-09-02T14:37:59Z drcode joined #lisp 2017-09-02T14:41:03Z drcode quit (Excess Flood) 2017-09-02T14:42:42Z peterpp_ quit (Quit: Ex-Chat) 2017-09-02T14:42:56Z peterpp__ joined #lisp 2017-09-02T14:56:35Z mishoo_ quit (Ping timeout: 252 seconds) 2017-09-02T14:57:21Z Murii|osx quit (Quit: My MacBook Air has gone to sleep. ZZZzzz…) 2017-09-02T15:03:52Z DeadTrickster_ quit (Read error: Connection reset by peer) 2017-09-02T15:04:21Z DeadTrickster_ joined #lisp 2017-09-02T15:04:34Z mishoo_ joined #lisp 2017-09-02T15:05:52Z sellout- joined #lisp 2017-09-02T15:09:07Z mishoo_ quit (Ping timeout: 240 seconds) 2017-09-02T15:11:51Z zaoqi_ quit (Read error: Connection reset by peer) 2017-09-02T15:13:15Z sellout- quit (Ping timeout: 255 seconds) 2017-09-02T15:14:05Z zaoqi_ joined #lisp 2017-09-02T15:25:11Z mishoo_ joined #lisp 2017-09-02T15:25:11Z Oladon quit (Read error: Connection reset by peer) 2017-09-02T15:25:24Z whoman: solyd, speedbar, or projectile, or imenu 2017-09-02T15:25:41Z Oladon joined #lisp 2017-09-02T15:25:42Z whoman: lol 2017-09-02T15:26:30Z kolko quit (Quit: ZNC - http://znc.in) 2017-09-02T15:27:59Z saki joined #lisp 2017-09-02T15:28:18Z kolko joined #lisp 2017-09-02T15:28:24Z Cthulhux quit (Quit: ne praeteriverit priusquam obesa cantaverit) 2017-09-02T15:34:22Z EvW joined #lisp 2017-09-02T15:35:37Z Cthulhux joined #lisp 2017-09-02T15:35:37Z Cthulhux quit (Changing host) 2017-09-02T15:35:37Z Cthulhux joined #lisp 2017-09-02T15:36:11Z mishoo_ quit (Ping timeout: 252 seconds) 2017-09-02T15:38:54Z chiyosaki joined #lisp 2017-09-02T15:39:19Z kolko quit (Quit: ZNC - http://znc.in) 2017-09-02T15:39:29Z saki quit (Ping timeout: 252 seconds) 2017-09-02T15:41:08Z kolko joined #lisp 2017-09-02T15:42:55Z AxelAlex joined #lisp 2017-09-02T15:48:30Z slyrus quit (Remote host closed the connection) 2017-09-02T15:49:41Z varjag quit (Ping timeout: 240 seconds) 2017-09-02T15:57:21Z scymtym quit (Ping timeout: 246 seconds) 2017-09-02T16:00:20Z slyrus joined #lisp 2017-09-02T16:04:38Z damke_ joined #lisp 2017-09-02T16:05:37Z zaoqi_ quit (Quit: zaoqi_) 2017-09-02T16:06:33Z damke quit (Ping timeout: 240 seconds) 2017-09-02T16:13:18Z whoman quit (Remote host closed the connection) 2017-09-02T16:13:37Z whoman joined #lisp 2017-09-02T16:27:20Z gigetoo quit (Ping timeout: 252 seconds) 2017-09-02T16:27:41Z gigetoo joined #lisp 2017-09-02T16:32:08Z oleo: oO 2017-09-02T16:34:33Z damke_ quit (Ping timeout: 240 seconds) 2017-09-02T16:38:54Z peterpp__ quit (Ping timeout: 264 seconds) 2017-09-02T16:40:05Z defaultxr quit (Ping timeout: 248 seconds) 2017-09-02T16:44:05Z raynold joined #lisp 2017-09-02T16:54:56Z hexfive joined #lisp 2017-09-02T16:56:10Z knobo2 joined #lisp 2017-09-02T16:59:42Z EvW quit (Ping timeout: 240 seconds) 2017-09-02T17:03:22Z scymtym joined #lisp 2017-09-02T17:04:37Z knobo2 quit (Ping timeout: 248 seconds) 2017-09-02T17:05:01Z neoncontrails joined #lisp 2017-09-02T17:08:51Z vibs29 joined #lisp 2017-09-02T17:10:35Z random-nick quit (Remote host closed the connection) 2017-09-02T17:15:18Z Th30n joined #lisp 2017-09-02T17:19:00Z knobo2 joined #lisp 2017-09-02T17:20:09Z varjag joined #lisp 2017-09-02T17:24:55Z drcode joined #lisp 2017-09-02T17:29:56Z neoncontrails quit (Remote host closed the connection) 2017-09-02T17:30:27Z vaporatorius joined #lisp 2017-09-02T17:30:27Z vaporatorius quit (Changing host) 2017-09-02T17:30:27Z vaporatorius joined #lisp 2017-09-02T17:31:39Z vap1 joined #lisp 2017-09-02T17:31:57Z vap1 quit (Remote host closed the connection) 2017-09-02T17:32:07Z vlatkoB quit (Ping timeout: 240 seconds) 2017-09-02T17:33:58Z vlatkoB joined #lisp 2017-09-02T17:35:07Z random-nick joined #lisp 2017-09-02T17:36:03Z Bock quit (Ping timeout: 248 seconds) 2017-09-02T17:37:07Z alexshendi joined #lisp 2017-09-02T17:37:59Z bpanthi1 joined #lisp 2017-09-02T17:38:50Z Bock joined #lisp 2017-09-02T17:59:05Z peterpp__ joined #lisp 2017-09-02T18:05:11Z shrdlu68 quit (Ping timeout: 240 seconds) 2017-09-02T18:07:37Z knobo2 quit (Ping timeout: 240 seconds) 2017-09-02T18:11:34Z Murii|osx joined #lisp 2017-09-02T18:15:26Z dcluna quit (Read error: Connection reset by peer) 2017-09-02T18:19:27Z dcluna joined #lisp 2017-09-02T18:22:07Z varjag quit (Ping timeout: 240 seconds) 2017-09-02T18:23:25Z bpanthi1 quit (Quit: bpanthi1) 2017-09-02T18:30:26Z Th30n quit (Quit: ERC (IRC client for Emacs 25.2.1)) 2017-09-02T18:31:07Z oleo quit (Read error: Connection reset by peer) 2017-09-02T18:32:23Z prnc joined #lisp 2017-09-02T18:35:31Z knobo2 joined #lisp 2017-09-02T18:36:05Z prnc quit (Quit: Leaving...) 2017-09-02T18:38:06Z oleo joined #lisp 2017-09-02T18:39:09Z oleo quit (Client Quit) 2017-09-02T18:39:50Z kuwze joined #lisp 2017-09-02T18:40:08Z kuwze: hey I am trying to use slime and I am getting this error: 2017-09-02T18:40:14Z kuwze: Versions differ: 2.20 (slime) vs 2.19 (swank). Continue? (y or n) 2017-09-02T18:40:22Z kuwze: also I am using SBCL 1.3.3.debian 2017-09-02T18:41:03Z kuwze: and I installed slime via quicklisp: 2017-09-02T18:41:05Z pjb: Yep. Did you use quicklisp to install slilme? 2017-09-02T18:41:09Z pjb: Oh, you did. 2017-09-02T18:41:22Z pjb: Perhaps emacs is finding a different slime? 2017-09-02T18:42:42Z kuwze: pjb: I have (load (expand-file-name "~/quicklisp/slime-helper.el")) in my init.el 2017-09-02T18:43:03Z SaganMan quit (Quit: WeeChat 1.0.1) 2017-09-02T18:43:21Z pjb: kuwze: you could search for all instances of slime.el and swank.lisp and remove the bad ones… 2017-09-02T18:43:37Z pjb: find / \( -name swank.lisp -o -name slime.el \) -print 2017-09-02T18:51:52Z varjag joined #lisp 2017-09-02T18:56:06Z drmeister: How does one determine if something is a class? I'm writing the CLOS::CLASSP predicate. 2017-09-02T18:56:15Z karswell joined #lisp 2017-09-02T18:57:01Z pjb: (defun classp (x) (typep x 'class)) 2017-09-02T18:57:02Z kuwze: pjb: thank you, it turns out that emacs somehow installed slime without me knowing... I guess that's because I was loading ac-slime and slime-company above (load (expand-file-name "~/quicklisp/slime-helper.el"))? 2017-09-02T18:57:12Z drmeister: I see ECL uses this: 2017-09-02T18:57:12Z drmeister: https://gitlab.com/embeddable-common-lisp/ecl/blob/develop/src/clos/kernel.lsp#L53 2017-09-02T18:57:17Z kuwze: I mean it installed slime via elpa 2017-09-02T18:58:47Z drmeister: pjb: Thank you 2017-09-02T18:59:17Z drmeister: I need a definition that avoids metacircularity issues. 2017-09-02T18:59:37Z Orion3k joined #lisp 2017-09-02T18:59:46Z drmeister: I didn't mention that. 2017-09-02T19:00:10Z pjb: drmeister: the thing is that you can have implementation specific types of classes beyond standard-class and structure-class. (don't you have a c++-class type ?) 2017-09-02T19:00:33Z pjb: drmeister: so only the implementation can implement classp by expanding the class type: 2017-09-02T19:00:56Z pjb: (defun classp (x) (typep x '(or standard-class structure-class foo-class implementation-class whatever-class))) 2017-09-02T19:00:57Z drmeister: Right 2017-09-02T19:01:16Z pjb: or you can resolve the circularity with (deftype class () '(or standard-class structure-class foo-class implementation-class whatever-class)) 2017-09-02T19:02:23Z pjb: Since you would need to have such a definition eventually anyways… 2017-09-02T19:03:10Z pjb: drmeister: notice that there are two parallel structures here: types and class hierarchy. 2017-09-02T19:03:24Z pjb: So you can define the class type before you define the class class and its subclasses. 2017-09-02T19:04:33Z Bike: instancep and subclassp seem like primitive enough operations... the latter just searches the CPL as by FIND 2017-09-02T19:08:30Z pjb: drmeister: so actually, classp could be different from typep. It would depend on how you implement types or classes. Which one is lower level in your implementation? 2017-09-02T19:08:59Z drmeister: classes are lower than types 2017-09-02T19:09:28Z drmeister: If I understand what you are saying. 2017-09-02T19:13:58Z drmeister: Integrating what you said - I'm using this: 2017-09-02T19:13:59Z drmeister: https://www.irccloud.com/pastebin/zSAUV9kt/ 2017-09-02T19:14:21Z drmeister: The _lisp->_Roots._XXXX are classes defined at startup. 2017-09-02T19:14:33Z MetaYan joined #lisp 2017-09-02T19:14:43Z Bike: would subclassp not catch those...? 2017-09-02T19:16:05Z drmeister: It would once the class-precedence-list is setup. 2017-09-02T19:16:11Z drmeister: https://www.irccloud.com/pastebin/GY0xoAd3/ 2017-09-02T19:17:25Z Bike: i see. 2017-09-02T19:21:57Z shrdlu68 joined #lisp 2017-09-02T19:22:00Z deba5e12 quit (Ping timeout: 240 seconds) 2017-09-02T19:24:00Z deba5e12 joined #lisp 2017-09-02T19:29:45Z shrdlu68: I've had this same problems quickloading fast-io in the past, could someone try to quickload it so I can know whether it's something unique to my set-up? 2017-09-02T19:32:00Z knobo2 quit (Quit: WeeChat 1.7) 2017-09-02T19:33:41Z whoman: loads successfully here 2017-09-02T19:34:26Z shrdlu68: whoman: Good. What lisp? What version? 2017-09-02T19:35:19Z oleo joined #lisp 2017-09-02T19:35:22Z shrdlu68: This is a brand new set-up, so I'm really scratching my head trying to figure out what's up. 2017-09-02T19:36:53Z whoman: shrdlu68, sbcl 1.3.21 2017-09-02T19:37:29Z kuwze: what is the purpose of common-lisp-hyperspec-symbol-table? 2017-09-02T19:37:29Z shrdlu68: me too. 2017-09-02T19:37:54Z peterpp__ is now known as peterppp 2017-09-02T19:43:40Z kuwze: also, how do you remove a package from quicklisp to reinstall it again? 2017-09-02T19:44:00Z phoe: kuwze: reinstall it again? what do you mean? 2017-09-02T19:44:20Z phoe: if there is a new version, you can update-all-dists and it will update it 2017-09-02T19:44:32Z kuwze: I installed clhs and I followed the instructions, but I want to install it again to go through the instructions again 2017-09-02T19:44:53Z whoman: check ~/quicklisp/dist[s]/quicklisp/software/ .. 2017-09-02T19:44:57Z phoe: ^ 2017-09-02T19:45:23Z kuwze: thank you! 2017-09-02T19:48:22Z kuwze: wait clhs installs the HyperSpec locally, but when I use hyperspec-lookup it points me to a website instead of the locally installed file 2017-09-02T19:59:51Z shrdlu68: I deleted ~/quicklisp and reinstalled quicklisp using ccl. 2017-09-02T20:00:06Z shrdlu68: quickloading fast-io worked after that. 2017-09-02T20:00:09Z fiddlerwoaroof joined #lisp 2017-09-02T20:00:19Z Bicyclidine joined #lisp 2017-09-02T20:00:36Z shrdlu68: I'd tried the same thing with sbcl and failed. But now that it's installed sbcl loads it just fine. 2017-09-02T20:02:21Z Bike quit (Ping timeout: 246 seconds) 2017-09-02T20:02:43Z shka_ quit (Ping timeout: 248 seconds) 2017-09-02T20:04:04Z phoe: kuwze: are you using hyperspec-lookup from inside CL or inside slime? 2017-09-02T20:04:52Z kuwze: phoe: inside slime 2017-09-02T20:05:12Z kuwze: I mean I am running hyperspec-lookup with M-x 2017-09-02T20:05:20Z kuwze: so not inside slime I guess 2017-09-02T20:08:14Z nullniverse quit (Remote host closed the connection) 2017-09-02T20:13:58Z al-damiri joined #lisp 2017-09-02T20:15:18Z marvin2 joined #lisp 2017-09-02T20:15:26Z _death: set common-lisp-hyperspec-root 2017-09-02T20:15:50Z kolko quit (Read error: Connection reset by peer) 2017-09-02T20:18:11Z kolko joined #lisp 2017-09-02T20:22:31Z bigdaddytank joined #lisp 2017-09-02T20:22:31Z Murii|osx quit (Quit: Textual IRC Client: www.textualapp.com) 2017-09-02T20:22:42Z bigos joined #lisp 2017-09-02T20:39:45Z kuwze quit (Quit: Page closed) 2017-09-02T20:42:22Z chiyosaki quit (Ping timeout: 240 seconds) 2017-09-02T20:45:24Z attila_lendvai joined #lisp 2017-09-02T20:45:24Z attila_lendvai quit (Changing host) 2017-09-02T20:45:24Z attila_lendvai joined #lisp 2017-09-02T20:48:34Z hexfive quit (Quit: WeeChat 1.9) 2017-09-02T20:50:16Z deba5e12 quit (Read error: Connection reset by peer) 2017-09-02T20:50:24Z saki joined #lisp 2017-09-02T20:50:41Z brendyn quit (Ping timeout: 240 seconds) 2017-09-02T20:53:35Z bigdaddytank quit (Quit: Peace out!) 2017-09-02T20:54:26Z angavrilov quit (Remote host closed the connection) 2017-09-02T20:58:06Z JohnTalent joined #lisp 2017-09-02T20:58:32Z bigos quit (Remote host closed the connection) 2017-09-02T21:12:02Z sellout- joined #lisp 2017-09-02T21:14:46Z MetaYan quit (Ping timeout: 246 seconds) 2017-09-02T21:18:33Z ristur quit (Quit: leaving) 2017-09-02T21:25:10Z Murii|linux joined #lisp 2017-09-02T21:28:11Z kuwze joined #lisp 2017-09-02T21:30:12Z pierpa joined #lisp 2017-09-02T21:30:56Z defaultxr joined #lisp 2017-09-02T21:31:14Z defaultxr quit (Client Quit) 2017-09-02T21:31:27Z nullniverse joined #lisp 2017-09-02T21:31:30Z Murii|linux quit (Quit: Time to go! Cya!) 2017-09-02T21:31:40Z defaultxr joined #lisp 2017-09-02T21:31:57Z Murii|linux joined #lisp 2017-09-02T21:34:12Z defaultxr quit (Client Quit) 2017-09-02T21:35:30Z defaultxr joined #lisp 2017-09-02T21:56:41Z Murii|linux quit (Remote host closed the connection) 2017-09-02T22:08:07Z random-nick quit (Remote host closed the connection) 2017-09-02T22:18:40Z varjag quit (Ping timeout: 240 seconds) 2017-09-02T22:24:51Z TCZ joined #lisp 2017-09-02T22:30:01Z astronavt joined #lisp 2017-09-02T22:35:21Z astronavt quit (Remote host closed the connection) 2017-09-02T22:36:30Z MetaYan joined #lisp 2017-09-02T22:46:54Z slyrus: how can I allow for an :after method on initialize-instance to take kw args that don't have corresponding slots? 2017-09-02T22:47:27Z slyrus: e.g. (make-instance 'foo :awesomeness 5) where my i-i method will do something (awesome) with that value, even though there's not awesomeness slot in 'foo? 2017-09-02T22:51:12Z TCZ quit (Quit: Leaving) 2017-09-02T22:51:39Z saki quit (Ping timeout: 260 seconds) 2017-09-02T22:58:56Z saki joined #lisp 2017-09-02T23:01:20Z phoe: slyrus: sounds like a case for &ALLOW-OTHER-KEYS 2017-09-02T23:01:42Z slyrus quit (Ping timeout: 255 seconds) 2017-09-02T23:06:39Z d4ryus1 quit (Quit: WeeChat 1.9) 2017-09-02T23:07:25Z attila_lendvai quit (Quit: Leaving.) 2017-09-02T23:12:43Z varjag joined #lisp 2017-09-02T23:13:05Z peterppp quit (Ping timeout: 264 seconds) 2017-09-02T23:16:02Z d4ryus joined #lisp 2017-09-02T23:16:41Z pentashift joined #lisp 2017-09-02T23:19:26Z mrcom quit (Read error: Connection reset by peer) 2017-09-02T23:21:37Z varjag quit (Ping timeout: 240 seconds) 2017-09-02T23:21:43Z vlatkoB quit (Remote host closed the connection) 2017-09-02T23:23:09Z slyrus joined #lisp 2017-09-02T23:26:13Z mrcom joined #lisp 2017-09-02T23:39:09Z Bicyclidine: slyrus: if you just put the &key on the initialize-instance method that's enough. 2017-09-02T23:42:10Z Bicyclidine: that will make it a valid argument to make-instance and so on, and being a slot initarg is irrelevant. 2017-09-02T23:50:04Z froggey quit (Ping timeout: 252 seconds) 2017-09-02T23:50:39Z froggey joined #lisp 2017-09-02T23:59:33Z kozy quit (Remote host closed the connection) 2017-09-03T00:00:01Z kozy joined #lisp 2017-09-03T00:03:57Z kozy quit (Remote host closed the connection) 2017-09-03T00:04:18Z kozy joined #lisp 2017-09-03T00:05:42Z Achylles joined #lisp 2017-09-03T00:07:13Z Jesin quit (Quit: Leaving) 2017-09-03T00:08:33Z Karl_Dscc quit (Remote host closed the connection) 2017-09-03T00:13:05Z kjak__ quit (Quit: Lost terminal) 2017-09-03T00:13:38Z oleo quit (Read error: Connection reset by peer) 2017-09-03T00:15:45Z kjak_ joined #lisp 2017-09-03T00:20:58Z eazar001 joined #lisp 2017-09-03T00:23:09Z oleo joined #lisp 2017-09-03T00:23:55Z slyrus: Bicyclidine: that's what I thought, but I must have been doing something wrong... 2017-09-03T00:24:22Z Bicyclidine: how did it go? 2017-09-03T00:24:32Z slyrus: trying again now 2017-09-03T00:24:51Z slyrus: it's so hot here my computer overheated, had to reboot 2017-09-03T00:28:41Z alexshendi quit (Read error: Connection reset by peer) 2017-09-03T00:29:11Z whoman: ah - print-unreadable-object cannot be read back - how to serialise CLOS instances properly ? 2017-09-03T00:30:28Z Bicyclidine: make up a format. 2017-09-03T00:30:33Z Bicyclidine: or just use #. if you're feeling lazy. 2017-09-03T00:32:50Z nowhere_man quit (Remote host closed the connection) 2017-09-03T00:39:28Z slyrus: ah... the problem is mito's dao won't let me have initargs that don't correspond to slots 2017-09-03T00:41:22Z slyrus: never mind. operator error. 2017-09-03T00:46:57Z nowhere_man joined #lisp 2017-09-03T00:50:53Z saki quit (Quit: saki) 2017-09-03T01:01:52Z AJavaIdiot joined #lisp 2017-09-03T01:04:13Z d4ryus1 joined #lisp 2017-09-03T01:07:06Z d4ryus quit (Ping timeout: 240 seconds) 2017-09-03T01:29:04Z margeas quit (Ping timeout: 252 seconds) 2017-09-03T01:34:50Z Achylles quit (Quit: Leaving) 2017-09-03T01:45:07Z mrcom_ joined #lisp 2017-09-03T01:45:15Z mrcom quit (Read error: Connection reset by peer) 2017-09-03T01:45:57Z Bike joined #lisp 2017-09-03T01:46:00Z Bike quit (Remote host closed the connection) 2017-09-03T01:48:24Z Bicyclidine quit (Ping timeout: 260 seconds) 2017-09-03T01:49:14Z mson joined #lisp 2017-09-03T01:50:03Z Bike joined #lisp 2017-09-03T01:58:28Z pierpa quit (Quit: Page closed) 2017-09-03T01:59:10Z JuanDaugherty joined #lisp 2017-09-03T02:04:39Z jameser joined #lisp 2017-09-03T02:06:57Z jameser quit (Client Quit) 2017-09-03T02:10:20Z JuanDaugherty quit (Quit: Ex Chat) 2017-09-03T02:13:00Z JuanDaugherty joined #lisp 2017-09-03T02:13:29Z nicdev joined #lisp 2017-09-03T02:18:36Z marvin2 quit (Ping timeout: 240 seconds) 2017-09-03T02:22:35Z dddddd quit (Remote host closed the connection) 2017-09-03T02:27:50Z hexfive joined #lisp 2017-09-03T02:29:01Z jameser joined #lisp 2017-09-03T02:33:55Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-03T02:40:02Z saki joined #lisp 2017-09-03T02:43:02Z Kyo91_ joined #lisp 2017-09-03T02:47:50Z DeadTrickster_ quit (Read error: Connection reset by peer) 2017-09-03T02:48:13Z DeadTrickster_ joined #lisp 2017-09-03T02:55:33Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-03T02:57:04Z hexfive quit (Ping timeout: 252 seconds) 2017-09-03T03:02:12Z brendyn joined #lisp 2017-09-03T03:04:20Z AJavaIdiot quit (Quit: ChatZilla 0.9.93 [Firefox 55.0.3/20170824053622]) 2017-09-03T03:11:53Z safe joined #lisp 2017-09-03T03:14:09Z hexfive joined #lisp 2017-09-03T03:17:21Z Kyo91_ quit (Ping timeout: 246 seconds) 2017-09-03T03:25:00Z FreeBirdLjj joined #lisp 2017-09-03T03:26:13Z pjb quit (Remote host closed the connection) 2017-09-03T03:27:03Z pentashift quit (Remote host closed the connection) 2017-09-03T03:27:55Z pjb joined #lisp 2017-09-03T03:29:36Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-09-03T03:47:15Z searcher2 joined #lisp 2017-09-03T03:47:18Z searcher quit (Read error: Connection reset by peer) 2017-09-03T03:49:39Z searcher3 joined #lisp 2017-09-03T03:49:46Z searcher2 quit (Read error: Connection reset by peer) 2017-09-03T04:00:31Z JohnTalent: compile executable-> invoke model of other languages 2017-09-03T04:46:12Z iqubic: White_Flame: Oh? What does CL have? 2017-09-03T04:46:25Z White_Flame: if you want a binary executable, you wrap up a current snapshot of the running Lisp image into an executable 2017-09-03T04:46:36Z iqubic: Huh? 2017-09-03T04:46:37Z White_Flame: but pretty much everything is done "live" in the system 2017-09-03T04:46:38Z beach: iqubic: Yes, they all have REPLs. Most people interact with their favorite Common Lisp implementation using Emacs + SLIME 2017-09-03T04:47:08Z iqubic: beach: How does SLIME work? 2017-09-03T04:47:10Z White_Flame: iqubic: I haven't used emacs lisp much at all, but I suspect the idea behind how you run programs is similar, repl-driven 2017-09-03T04:47:20Z iqubic: White_Flame: it is. 2017-09-03T04:47:38Z beach: iqubic: Common Lisp is a "dynamic language" which means that there is no strict separation between compile time and run time. The semantics of the language are defined in terms of a sequence of interactions. 2017-09-03T04:47:45Z White_Flame: a CL executable is a snapshot image of a running system, plus a declaration of which toplevel function to call as the "main()" equivalent when executed 2017-09-03T04:48:00Z iqubic: Emacs even let's you eval s-exps arbitrarily. 2017-09-03T04:48:12Z iqubic: s/let's/lets/ 2017-09-03T04:48:31Z iqubic: So how does SLIME work? 2017-09-03T04:48:48Z White_Flame: yes, that's basically what slime allows you to do as well. It connects via socket into a running Lisp, and runs the REPL commands through that socket 2017-09-03T04:49:05Z Bike quit (Ping timeout: 246 seconds) 2017-09-03T04:49:13Z iqubic: What do you mean by running lisp? 2017-09-03T04:49:29Z White_Flame: the SLIME client runs in emacs & runs the display and input, while the Swank server (part of the SLIME package) is a daemon in the Lisp which accepts those remote commands and runs themn 2017-09-03T04:49:40Z iqubic: It seems that lisp has a lot of terminology that I'm not used to. 2017-09-03T04:49:50Z White_Flame: which languages are you used to? 2017-09-03T04:50:13Z iqubic: Haskell, and Java are the only other languages I've studied in depth. 2017-09-03T04:50:35Z White_Flame: ok, so a "running Lisp" is sort of like a "running JVM" 2017-09-03T04:50:46Z iqubic: Oh, that makes sense. 2017-09-03T04:50:55Z White_Flame: it's the environment with the compiler, GC, etc, as an OS Process 2017-09-03T04:51:14Z iqubic: Alright, that makes perfect sense, 2017-09-03T04:51:49Z White_Flame: and that environment can run a repl, threading, listen to socket connections including for SLIME, etc 2017-09-03T04:52:22Z iqubic: I see. So what benifits does SLIME have? 2017-09-03T04:52:24Z White_Flame: and that entire environment can get snapshotted into an executable 2017-09-03T04:52:50Z iqubic: I see. But I take it Lisp executables are not that common. 2017-09-03T04:52:51Z White_Flame: SLIME is basically the IDE. It lets you interactively evaluate stuff, [re]compile source code files into the running system, run the debugger, etc 2017-09-03T04:53:01Z iqubic: Ah, I see. 2017-09-03T04:53:02Z jlf joined #lisp 2017-09-03T04:53:26Z beach: White_Flame: Impressive explanation! 2017-09-03T04:53:33Z White_Flame: you can just run sbcl from the commandline, and manually do (load "whatever.lisp") etc as a simple REPL, but SLIME is much richer. 2017-09-03T04:53:59Z iqubic: I think I want to use SLIME to automate the boring stuff. 2017-09-03T04:54:16Z beach: Most people use Common Lisp through SLIME. 2017-09-03T04:54:18Z White_Flame: SLIME is the expected development environment for common lisp 2017-09-03T05:08:01Z vtomole joined #lisp 2017-09-03T05:08:37Z holycow joined #lisp 2017-09-03T05:10:13Z ricabrera joined #lisp 2017-09-03T05:18:31Z dmiles quit (Read error: Connection reset by peer) 2017-09-03T05:20:02Z dmiles joined #lisp 2017-09-03T05:28:46Z FreeBirdLjj joined #lisp 2017-09-03T05:34:52Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-09-03T05:40:41Z pjb quit (Read error: Connection reset by peer) 2017-09-03T05:44:21Z beach: iqubic: Once you have a Common Lisp implementation installed, it is recommended that you use Quicklisp to install SLIME and other libraries you might need. 2017-09-03T05:45:18Z iqubic: what is QuickLisp? 2017-09-03T05:45:33Z iqubic: What CL implementation do you recommend beach? 2017-09-03T05:45:48Z iqubic: and how can I get QuickLisp to work? 2017-09-03T05:46:04Z beach: iqubic: Quicklisp is THE library manager for Common Lisp libraries. 2017-09-03T05:46:12Z impulse quit (Read error: Connection reset by peer) 2017-09-03T05:46:26Z beach: https://www.quicklisp.org/beta/ 2017-09-03T05:46:54Z iqubic: Oh, so it's like Haskell's Cabal, just for Lisp. 2017-09-03T05:47:08Z beach: I use SBCL myself. It all depends on the features you want. The SBCL compiler generates very fast code, but CCL compiles faster. 2017-09-03T05:47:21Z vtomole quit (Ping timeout: 260 seconds) 2017-09-03T05:52:29Z iqubic: I'm installing sbcl now. 2017-09-03T05:52:48Z iqubic: After that I'll need help installing SLIME. 2017-09-03T05:52:51Z JuanDaugherty: ql is like cabal install 2017-09-03T05:53:09Z iqubic: JuanDaugherty: I get that. 2017-09-03T05:53:21Z JuanDaugherty: not cabal 2017-09-03T05:54:04Z beach: iqubic: Read the Quicklisp page and follow the instructions. Towards the end of that page, there are instructions to install SLIME. 2017-09-03T05:54:47Z iqubic: Can I do that in the morning? 2017-09-03T05:55:13Z beach: You can do it any time of day. And in any time zone. 2017-09-03T05:55:14Z iqubic: It's just about 23:00 here. 2017-09-03T05:55:29Z beach: US west coast, I take it? 2017-09-03T05:55:33Z iqubic: Yes. 2017-09-03T05:56:16Z beach: There are almost always several people here in #lisp. From all around the world. 2017-09-03T05:56:35Z iqubic: Cool. Thanks for all the help 2017-09-03T05:56:42Z beach: Sure. 2017-09-03T05:57:24Z SaganMan quit (Ping timeout: 248 seconds) 2017-09-03T05:57:52Z rippa joined #lisp 2017-09-03T05:59:18Z al-damiri quit (Quit: Connection closed for inactivity) 2017-09-03T06:07:01Z SaganMan joined #lisp 2017-09-03T06:10:48Z Guest83409 quit (Changing host) 2017-09-03T06:10:48Z Guest83409 joined #lisp 2017-09-03T06:10:59Z Guest83409 is now known as mrSpec 2017-09-03T06:11:06Z terpri quit (Ping timeout: 240 seconds) 2017-09-03T06:23:31Z SaganMan quit (Ping timeout: 248 seconds) 2017-09-03T06:29:17Z DeadTrickster_ quit (Read error: Connection reset by peer) 2017-09-03T06:29:51Z DeadTrickster_ joined #lisp 2017-09-03T06:34:29Z iqubic quit (Remote host closed the connection) 2017-09-03T06:40:16Z Murii|linux joined #lisp 2017-09-03T06:50:15Z narendraj9 joined #lisp 2017-09-03T06:57:08Z Murii|linux quit (Read error: Connection reset by peer) 2017-09-03T06:57:38Z eazar001 quit (Quit: WeeChat 1.9) 2017-09-03T07:04:04Z QualityAddict joined #lisp 2017-09-03T07:06:31Z SaganMan joined #lisp 2017-09-03T07:14:29Z Kyo91_ joined #lisp 2017-09-03T07:16:18Z shka_ joined #lisp 2017-09-03T07:18:41Z Kyo91_ quit (Ping timeout: 240 seconds) 2017-09-03T07:20:59Z Kyo91_ joined #lisp 2017-09-03T07:22:03Z SaganMan quit (Ping timeout: 260 seconds) 2017-09-03T07:25:21Z Kyo91_ quit (Ping timeout: 240 seconds) 2017-09-03T07:26:32Z narendraj9 quit (Ping timeout: 240 seconds) 2017-09-03T07:28:34Z defaultxr quit (Ping timeout: 248 seconds) 2017-09-03T07:30:14Z damke_ joined #lisp 2017-09-03T07:32:30Z FreeBirdLjj joined #lisp 2017-09-03T07:34:13Z chens joined #lisp 2017-09-03T07:34:17Z random-nick joined #lisp 2017-09-03T07:34:45Z narendraj9 joined #lisp 2017-09-03T07:37:10Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-09-03T07:40:09Z QualityAddict quit (Remote host closed the connection) 2017-09-03T07:43:35Z angavrilov joined #lisp 2017-09-03T07:48:47Z mson quit (Quit: Connection closed for inactivity) 2017-09-03T07:54:57Z narendraj9 quit (Remote host closed the connection) 2017-09-03T07:54:59Z JuanDaugherty quit (Quit: Ex Chat) 2017-09-03T07:55:25Z JuanDaugherty joined #lisp 2017-09-03T08:00:06Z QualityAddict joined #lisp 2017-09-03T08:00:58Z _main_ joined #lisp 2017-09-03T08:01:20Z _main_ quit (Read error: Connection reset by peer) 2017-09-03T08:02:02Z _main_ joined #lisp 2017-09-03T08:02:07Z safe quit (Read error: Connection reset by peer) 2017-09-03T08:03:34Z _main_ quit (Read error: Connection reset by peer) 2017-09-03T08:03:58Z __main__ quit (Ping timeout: 252 seconds) 2017-09-03T08:03:58Z _main_0 joined #lisp 2017-09-03T08:04:36Z mishoo_ joined #lisp 2017-09-03T08:08:21Z terpri joined #lisp 2017-09-03T08:10:01Z solyd quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2017-09-03T08:18:32Z c__ joined #lisp 2017-09-03T08:19:17Z c__ quit (Max SendQ exceeded) 2017-09-03T08:19:48Z c__ joined #lisp 2017-09-03T08:20:27Z c__ quit (Max SendQ exceeded) 2017-09-03T08:20:57Z c__ joined #lisp 2017-09-03T08:21:45Z c__ quit (Max SendQ exceeded) 2017-09-03T08:22:12Z c__ joined #lisp 2017-09-03T08:22:52Z c__ quit (Max SendQ exceeded) 2017-09-03T08:33:43Z FreeBirdLjj joined #lisp 2017-09-03T08:36:10Z saki quit (Remote host closed the connection) 2017-09-03T08:37:59Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-09-03T08:39:36Z saki joined #lisp 2017-09-03T09:04:32Z mishoo_ quit (Ping timeout: 240 seconds) 2017-09-03T09:13:20Z random-nick quit (Remote host closed the connection) 2017-09-03T09:16:26Z random-nick joined #lisp 2017-09-03T09:19:42Z JuanDaugherty quit (Remote host closed the connection) 2017-09-03T09:20:35Z wxie joined #lisp 2017-09-03T09:22:20Z oleo quit (Remote host closed the connection) 2017-09-03T09:27:30Z mishoo_ joined #lisp 2017-09-03T09:31:30Z oleo joined #lisp 2017-09-03T09:34:33Z FreeBirdLjj joined #lisp 2017-09-03T09:34:57Z peterppp joined #lisp 2017-09-03T09:37:11Z MetaYan quit (Quit: leaving) 2017-09-03T09:37:26Z MetaYan joined #lisp 2017-09-03T09:39:14Z FreeBirdLjj quit (Ping timeout: 248 seconds) 2017-09-03T09:42:07Z onehrxn joined #lisp 2017-09-03T09:50:44Z DeadTrickster_ quit (Read error: Connection reset by peer) 2017-09-03T09:52:03Z DeadTrickster joined #lisp 2017-09-03T09:55:46Z onehrxn quit (Remote host closed the connection) 2017-09-03T09:56:01Z onehrxn joined #lisp 2017-09-03T09:56:31Z onehrxn quit (Remote host closed the connection) 2017-09-03T09:56:47Z onehrxn joined #lisp 2017-09-03T09:57:16Z onehrxn quit (Remote host closed the connection) 2017-09-03T09:57:34Z onehrxn joined #lisp 2017-09-03T09:58:01Z onehrxn quit (Remote host closed the connection) 2017-09-03T09:58:17Z onehrxn joined #lisp 2017-09-03T09:58:46Z onehrxn quit (Remote host closed the connection) 2017-09-03T09:59:01Z onehrxn joined #lisp 2017-09-03T09:59:31Z onehrxn quit (Remote host closed the connection) 2017-09-03T10:00:20Z wxie quit (Quit: Bye.) 2017-09-03T10:01:47Z kora9 joined #lisp 2017-09-03T10:02:00Z MetaYan quit (Quit: leaving) 2017-09-03T10:02:29Z kora9: I just figured out the best ever protection against attacks in applications. Don't allow the user to ever enter any input anywhere :P 2017-09-03T10:03:18Z phoe: kora9: it becomes even better 2017-09-03T10:03:18Z oleo: lol 2017-09-03T10:03:27Z phoe: the most secure code is the one that does not exist 2017-09-03T10:03:35Z kora9: phoe, That's true! 2017-09-03T10:03:49Z kora9: phoe, It's like how the best standards are the ones that are unspecified 2017-09-03T10:03:53Z phoe: can't attack what is already void of attack vector 2017-09-03T10:04:06Z phoe: kora9: ...actually, that's how Python came to be 2017-09-03T10:04:12Z kora9: phoe, hahaha 2017-09-03T10:04:18Z mishoo_ quit (Ping timeout: 248 seconds) 2017-09-03T10:04:30Z kora9: phoe, Sometimes it's surprising what a lot of effort and no direction can produce in terms of result 2017-09-03T10:06:36Z phoe: kora9: isn't that how all cancers start? 2017-09-03T10:06:42Z phoe ducks 2017-09-03T10:07:00Z kora9: phoe, Cancer is very successful, it just doesn't share our goals 2017-09-03T10:07:06Z kora9 ducks and covers 2017-09-03T10:07:40Z onehrxn joined #lisp 2017-09-03T10:08:10Z onehrxn quit (Remote host closed the connection) 2017-09-03T10:08:32Z onehrxn joined #lisp 2017-09-03T10:08:32Z onehrxn quit (Remote host closed the connection) 2017-09-03T10:08:46Z onehrxn joined #lisp 2017-09-03T10:09:17Z onehrxn quit (Remote host closed the connection) 2017-09-03T10:09:31Z onehrxn joined #lisp 2017-09-03T10:10:02Z onehrxn quit (Remote host closed the connection) 2017-09-03T10:10:15Z onehrxn joined #lisp 2017-09-03T10:10:47Z onehrxn quit (Remote host closed the connection) 2017-09-03T10:11:01Z onehrxn joined #lisp 2017-09-03T10:11:32Z onehrxn quit (Remote host closed the connection) 2017-09-03T10:17:41Z marvin2 joined #lisp 2017-09-03T10:18:41Z Whitesquall joined #lisp 2017-09-03T10:19:42Z grublet2 joined #lisp 2017-09-03T10:21:52Z grublet quit (Ping timeout: 240 seconds) 2017-09-03T10:26:54Z saki quit (Quit: saki) 2017-09-03T10:35:20Z FreeBirdLjj joined #lisp 2017-09-03T10:35:51Z pjb joined #lisp 2017-09-03T10:39:48Z FreeBirdLjj quit (Ping timeout: 260 seconds) 2017-09-03T10:40:50Z phinxy joined #lisp 2017-09-03T10:42:11Z phinxy left #lisp 2017-09-03T10:42:35Z random-nick quit (Remote host closed the connection) 2017-09-03T10:44:01Z Kyo91_ joined #lisp 2017-09-03T10:48:32Z Kyo91_ quit (Ping timeout: 246 seconds) 2017-09-03T10:50:51Z holycow quit (Quit: Lost terminal) 2017-09-03T10:51:33Z grublet2 is now known as grublet 2017-09-03T10:58:09Z margeas joined #lisp 2017-09-03T10:58:35Z margeas quit (Client Quit) 2017-09-03T10:58:46Z margeas joined #lisp 2017-09-03T11:01:31Z damke joined #lisp 2017-09-03T11:03:32Z damke_ quit (Ping timeout: 240 seconds) 2017-09-03T11:13:07Z Posterdati quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2017-09-03T11:14:19Z Posterdati joined #lisp 2017-09-03T11:15:32Z josemanuel joined #lisp 2017-09-03T11:18:47Z dddddd joined #lisp 2017-09-03T11:19:18Z Karl_Dscc joined #lisp 2017-09-03T11:19:21Z JuanDaugherty joined #lisp 2017-09-03T11:25:02Z random-nick joined #lisp 2017-09-03T11:25:13Z peterppp left #lisp 2017-09-03T11:29:33Z chens quit (Remote host closed the connection) 2017-09-03T11:30:21Z Murii|linux joined #lisp 2017-09-03T11:32:06Z wxie joined #lisp 2017-09-03T11:32:14Z jameser joined #lisp 2017-09-03T11:32:18Z grublet quit (Ping timeout: 260 seconds) 2017-09-03T11:35:20Z zaoqi joined #lisp 2017-09-03T11:38:29Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-03T11:38:53Z zaoqi created zKanren: cKanren without halting 2017-09-03T11:39:31Z mishoo_ joined #lisp 2017-09-03T11:42:45Z josemanuel quit (Quit: leaving) 2017-09-03T11:49:05Z zaoqi quit (Read error: Connection reset by peer) 2017-09-03T11:49:45Z zaoqi joined #lisp 2017-09-03T12:02:42Z phoe: zaoqi: without halting problem? 2017-09-03T12:05:11Z zaoqi quit (Ping timeout: 246 seconds) 2017-09-03T12:05:38Z zaoqi joined #lisp 2017-09-03T12:08:46Z Bike joined #lisp 2017-09-03T12:09:08Z saki joined #lisp 2017-09-03T12:10:29Z FreeBirdLjj joined #lisp 2017-09-03T12:11:04Z beach: phoe: I can't remember. Did I ever ask you to read the Clordane specification? http://metamodular.com/clordane.pdf 2017-09-03T12:11:40Z beach: phoe: If not, I would appreciate your remarks on it. Not in detail, but the overall idea. 2017-09-03T12:11:41Z phoe: beach: not yet. 2017-09-03T12:11:49Z phoe: I will. 2017-09-03T12:12:15Z beach: Thanks. 2017-09-03T12:12:23Z beach: There are actually only a few pages of text. 2017-09-03T12:13:15Z beach: Around 9 in fact. 2017-09-03T12:15:22Z phoe: It's not much, yes. 2017-09-03T12:15:26Z Bicyclidine joined #lisp 2017-09-03T12:15:32Z phoe: I will read it today, digest it and give you my feedback. 2017-09-03T12:15:39Z beach: No rush. 2017-09-03T12:15:55Z beach: As you can see, it has been lying around for a few years. 2017-09-03T12:16:40Z jameser joined #lisp 2017-09-03T12:17:03Z phoe: Things in Lisp often tend to lie around for a few years. 2017-09-03T12:17:17Z beach: It is good that we don't have to rush. 2017-09-03T12:17:29Z phoe: T 2017-09-03T12:18:27Z Bike quit (Ping timeout: 246 seconds) 2017-09-03T12:22:11Z zaoqi quit (Quit: zaoqi) 2017-09-03T12:35:36Z Posterdati quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2017-09-03T12:36:16Z Posterdati joined #lisp 2017-09-03T12:37:35Z kuwze: I don't know if this is the right place to ask... but does anyone know how I could fix this bit of elisp/slime code? https://gist.github.com/kuwze/df06ddaea1e14568f4b2246843d3bcea 2017-09-03T12:38:29Z kora9 quit (Quit: Leaving) 2017-09-03T12:41:43Z jameser quit (Quit: Textual IRC Client: www.textualapp.com) 2017-09-03T12:45:33Z kuwze quit (Quit: Page closed) 2017-09-03T12:46:50Z kuwze joined #lisp 2017-09-03T12:49:14Z phoe: perhaps #emacs might help better 2017-09-03T12:50:42Z moei quit (Ping timeout: 248 seconds) 2017-09-03T12:51:36Z EvW1 joined #lisp 2017-09-03T12:52:47Z moei joined #lisp 2017-09-03T12:53:31Z beach: kuwze: What is wrong with it? 2017-09-03T12:55:14Z abel-abel joined #lisp 2017-09-03T13:00:48Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-03T13:01:09Z damke_ joined #lisp 2017-09-03T13:03:32Z damke quit (Ping timeout: 240 seconds) 2017-09-03T13:09:36Z pjb: Yes, "What is wrong with it?" is the right answer. 2017-09-03T13:10:28Z aindilis quit (Remote host closed the connection) 2017-09-03T13:12:52Z Whitesquall quit (Ping timeout: 240 seconds) 2017-09-03T13:16:14Z arquebus joined #lisp 2017-09-03T13:16:54Z oleo quit (Ping timeout: 246 seconds) 2017-09-03T13:17:59Z moei quit (Read error: Connection reset by peer) 2017-09-03T13:18:32Z moei joined #lisp 2017-09-03T13:18:36Z oleo joined #lisp 2017-09-03T13:20:29Z Bike joined #lisp 2017-09-03T13:20:36Z dddddd quit (Ping timeout: 248 seconds) 2017-09-03T13:21:27Z Bicyclidine quit (Ping timeout: 246 seconds) 2017-09-03T13:22:08Z raynold quit (Quit: Connection closed for inactivity) 2017-09-03T13:23:33Z nirved joined #lisp 2017-09-03T13:27:13Z arquebus quit (Quit: konversation disconnects) 2017-09-03T13:30:36Z nullniverse quit (Ping timeout: 240 seconds) 2017-09-03T13:33:58Z dddddd joined #lisp 2017-09-03T13:44:37Z Whitesquall joined #lisp 2017-09-03T13:47:21Z kuwze: er I figured it out... I was supposed to use slime-repl-mode-map instead of slime-mode-map 2017-09-03T13:47:48Z kuwze: thank you though... sorry about the confusion, I'll ask my emacs questions over in #emacs instead 2017-09-03T13:51:18Z jlf left #lisp 2017-09-03T13:52:39Z phoe: kuwze: actually, if they are slime-specific, #lisp might be better 2017-09-03T14:01:22Z FreeBirdLjj joined #lisp 2017-09-03T14:03:44Z pjb: and if they are emacs lisp specific (and not specifically emacs specific) ##lisp might be better than #emacs. Last time I was on #emacs, it was more like #lispcafe than ##lisp… 2017-09-03T14:04:00Z pjb: s/#emacs/#emacscafe/ 2017-09-03T14:06:24Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-03T14:06:43Z FreeBirdLjj joined #lisp 2017-09-03T14:09:18Z narendraj9 joined #lisp 2017-09-03T14:15:26Z narendraj9 quit (Remote host closed the connection) 2017-09-03T14:20:07Z Kyo91_ joined #lisp 2017-09-03T14:33:09Z brendyn quit (Ping timeout: 240 seconds) 2017-09-03T14:42:31Z wxie quit (Remote host closed the connection) 2017-09-03T14:47:06Z dddddd quit (Ping timeout: 240 seconds) 2017-09-03T14:54:11Z yrk joined #lisp 2017-09-03T15:03:24Z dddddd joined #lisp 2017-09-03T15:06:21Z Kyo91_ quit (Ping timeout: 252 seconds) 2017-09-03T15:08:40Z Kyo91_ joined #lisp 2017-09-03T15:09:12Z strelox joined #lisp 2017-09-03T15:12:22Z Ca2n joined #lisp 2017-09-03T15:16:44Z Ca2n quit (Max SendQ exceeded) 2017-09-03T15:18:23Z maarhart joined #lisp 2017-09-03T15:20:49Z maarhart quit (Client Quit) 2017-09-03T15:25:47Z Lowl3v3l quit (Remote host closed the connection) 2017-09-03T15:27:01Z Lowl3v3l joined #lisp 2017-09-03T15:33:45Z EvW1 quit (Ping timeout: 246 seconds) 2017-09-03T15:34:48Z Kyo91_ quit (Ping timeout: 246 seconds) 2017-09-03T15:35:47Z Kyo91_ joined #lisp 2017-09-03T15:37:24Z saki quit (Quit: saki) 2017-09-03T15:39:30Z nirved quit (Quit: Leaving) 2017-09-03T15:40:01Z Kyo91_ quit (Ping timeout: 240 seconds) 2017-09-03T15:42:28Z dddddd quit (Ping timeout: 248 seconds) 2017-09-03T15:46:04Z Mon_Ouie quit (Ping timeout: 264 seconds) 2017-09-03T15:48:53Z slyrus quit (Quit: Client Quit) 2017-09-03T15:51:45Z slyrus joined #lisp 2017-09-03T15:52:44Z chens joined #lisp 2017-09-03T15:55:38Z dddddd joined #lisp 2017-09-03T15:58:17Z whoman quit (Remote host closed the connection) 2017-09-03T15:58:41Z whoman joined #lisp 2017-09-03T15:58:58Z DeadTrickster_ joined #lisp 2017-09-03T16:03:36Z DeadTrickster_ quit (Ping timeout: 240 seconds) 2017-09-03T16:08:21Z abel-abel quit (Remote host closed the connection) 2017-09-03T16:17:38Z varjag joined #lisp 2017-09-03T16:18:28Z yrk quit (Read error: Connection reset by peer) 2017-09-03T16:23:35Z macdavid313 joined #lisp 2017-09-03T16:23:44Z macdavid313 quit (Client Quit) 2017-09-03T16:36:56Z Th30n joined #lisp 2017-09-03T16:40:34Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-03T16:41:11Z FreeBirdLjj joined #lisp 2017-09-03T16:44:14Z karswell_ joined #lisp 2017-09-03T16:44:15Z dddddd quit (Ping timeout: 252 seconds) 2017-09-03T16:44:40Z karswell quit (Read error: Connection reset by peer) 2017-09-03T16:45:32Z FreeBirdLjj quit (Ping timeout: 246 seconds) 2017-09-03T16:52:43Z iqubic joined #lisp 2017-09-03T16:55:26Z iqubic: How does one install quicklisp? 2017-09-03T16:56:16Z Shinmera: By following the instructions. https://www.quicklisp.org/beta/ 2017-09-03T16:56:42Z iqubic: Shinmera: I'm new to lisp. 2017-09-03T16:57:13Z dddddd joined #lisp 2017-09-03T16:57:51Z Bike: the instructions give an explanation to the level of showing terminal input (for just sbcl though) 2017-09-03T16:57:51Z iqubic: Shinmera: I'm not sure I want to run this: 'curl -O https://beta.quicklisp.org/quicklisp.lisp' 2017-09-03T16:58:03Z iqubic: Bike: I'm using sbcl 2017-09-03T16:58:05Z Bike: uh, why not 2017-09-03T16:58:33Z iqubic: Bike: Is that fine to run? 2017-09-03T16:58:40Z Bike: it just downloads the file 2017-09-03T16:58:45Z iqubic: AH, I see. 2017-09-03T16:58:56Z Bike: you don't need to use curl to do that if you're not comfortable with curl 2017-09-03T16:59:06Z iqubic: I am fine using curl 2017-09-03T16:59:17Z JuanDaugherty just installed it from ubuntu, first time not using the file 2017-09-03T16:59:39Z iqubic: should I verify the checksum? 2017-09-03T16:59:53Z iqubic: using gpg? 2017-09-03T17:00:08Z Bike: if you want 2017-09-03T17:00:22Z defaultxr joined #lisp 2017-09-03T17:00:47Z damke joined #lisp 2017-09-03T17:01:08Z iqubic: Apparently I don't have a public key, so gpg won't work for me. 2017-09-03T17:01:20Z iqubic: Should I trust quicklisp? 2017-09-03T17:03:11Z damke_ quit (Ping timeout: 240 seconds) 2017-09-03T17:03:31Z Bike: don't have a public key...? 2017-09-03T17:03:35Z Bike: well, it's probably fine, though 2017-09-03T17:05:30Z iqubic: Why the heck does the quicklisp installer return nil when the installation is successful? 2017-09-03T17:05:42Z iqubic: That threw me for a loop 2017-09-03T17:06:29Z iqubic: Now, do I want to install vecto, like the quicklisp page tells me to? 2017-09-03T17:07:22Z Bike: that's just an example 2017-09-03T17:07:28Z Bike: you can install whatever you please 2017-09-03T17:07:45Z iqubic: What does vecto do? 2017-09-03T17:08:11Z Bike: dunno 2017-09-03T17:08:17Z Bike: https://www.xach.com/lisp/vecto/ this, apparently 2017-09-03T17:08:55Z iqubic: What I really want is SLIME. 2017-09-03T17:09:30Z Bike: install quicklisp-slime-helper, then 2017-09-03T17:09:33Z Bike: you'll need emacs of course 2017-09-03T17:09:38Z iqubic: I have emacs 2017-09-03T17:09:41Z sellout- quit (Quit: Leaving.) 2017-09-03T17:10:00Z Bike: go for broke then 2017-09-03T17:10:03Z iqubic: SLIME is why I'm getting quicklisp set up. 2017-09-03T17:10:14Z JuanDaugherty left #lisp 2017-09-03T17:10:21Z iqubic: What the heck is swank? 2017-09-03T17:11:47Z Bike: the lisp system that bridges the lisp implementation to SLIME 2017-09-03T17:12:07Z iqubic: So it's like a backend? 2017-09-03T17:12:24Z Bike: yeah 2017-09-03T17:12:57Z antoszka: iqubic: after you've installed the quicklisp-slime-helper from quicklisp, it will display code you need to manually insert into your emacs config. It's an important step, unless you're using a common-lisp-aware preconfigured distribution of emacs (like portacle or spacemacs). 2017-09-03T17:14:09Z antoszka: iqubic: it's a backend, and a protocol of the same name that's used for talking to a live Lisp image (think of the lisp image roughly of as an "interpreter" that you can send code into and see results of evaluation). 2017-09-03T17:14:49Z antoszka: Though the lisp will in most cases compile the code to native binaries for your platform. 2017-09-03T17:15:59Z iqubic: so a lisp image is a runnning repl? 2017-09-03T17:16:16Z phoe: iqubic: not really 2017-09-03T17:16:23Z phoe: a REPL is simply some code running in a Lisp image 2017-09-03T17:16:36Z phoe: it's more or less (loop (print (eval (read)))) plus some fancy features 2017-09-03T17:17:29Z ainttimmy joined #lisp 2017-09-03T17:19:17Z antoszka: iqubic: but, yeah, roughly speaking the lisp image is evaluating the code that you write in the REPL 2017-09-03T17:19:41Z antoszka: iqubic: more or less like the interactive python prompt, or irb from ruby, or tclsh in tcl. 2017-09-03T17:20:23Z antoszka: iqubic: including keeping some state around for whatever you happen to be fiddling around with. 2017-09-03T17:21:45Z krasnal joined #lisp 2017-09-03T17:21:50Z antoszka: iqubic: the repl can be either local (like when you start SBCL in the shell), or communicating via the swank protocol from a local or remote host. 2017-09-03T17:22:24Z antoszka: iqubic: you can start a swank listener on a server and connect over TCP from a swank client (like Emacs with SLIME) on your local machine. 2017-09-03T17:22:53Z antoszka: Though the protocol is not protected in any way, so it's more secure to set up an SSH tunnel but that's not related to the idea. 2017-09-03T17:24:18Z antoszka: Just a security consideration. 2017-09-03T17:25:04Z varjag quit (Ping timeout: 264 seconds) 2017-09-03T17:32:28Z davsebamse joined #lisp 2017-09-03T17:38:00Z sindan joined #lisp 2017-09-03T17:45:00Z sindan: I don't see a slime channel, so maybe someone can help here? It's slightly annoying that the lines in the REPL buffer in slime get soft-wrapped. My buffer is maybe 180 chars long but lines get broken up at about 80 columns. Is there a quick setting to let lines extend to the right without being wrapped? 2017-09-03T17:46:28Z pjb: sindan: (setf *print-right-margin* nil) 2017-09-03T17:46:36Z Th30n quit (Quit: ERC (IRC client for Emacs 25.2.1)) 2017-09-03T17:46:42Z pjb: sindan: or (setf *print-right-margin* 180) 2017-09-03T17:48:34Z sindan: pjb: it was set to nil. Setting it to a number solved the problem. 2017-09-03T17:48:53Z sindan: thanks! 2017-09-03T17:50:59Z iqubic: Is lisp a functional pogramming language? 2017-09-03T17:51:25Z random-nick: well, lisp has functions 2017-09-03T17:51:46Z pjb: and it functions. So it's functional. 2017-09-03T17:51:49Z iqubic: Yes, but is it functional like Haskell or Erlang? 2017-09-03T17:52:07Z pjb: It's more functional that Haskell: it functions more. Haskell is lazy. 2017-09-03T17:52:08Z random-nick: no, you can do other paradigms in lisp 2017-09-03T17:52:20Z iqubic: random-nick: I see. 2017-09-03T17:52:27Z iqubic: Does Lisp support recursion? 2017-09-03T17:52:33Z pjb: Yes. 2017-09-03T17:52:44Z pjb: But CL doesn't impose TCO. 2017-09-03T17:52:55Z pjb: So you will have to manage the depth of your recursions. 2017-09-03T17:53:53Z iqubic: (defun fact (n) (if (= 0 n) (1) (* n (fact (- n 1))))) 2017-09-03T17:54:03Z iqubic: Will that work correctly? 2017-09-03T17:54:23Z kenanb joined #lisp 2017-09-03T17:54:36Z pjb: Yes. 2017-09-03T17:55:04Z iqubic: And does that properly compute the factorial of n? 2017-09-03T17:55:55Z kenanb: hi folks! hell, i miss this channel 2017-09-03T17:56:16Z pjb: iqubic: no, there's a bug in it. But I'm not your implementation to signal you the bugs. 2017-09-03T17:56:27Z iqubic: pjb: What's the bug? 2017-09-03T17:56:51Z pjb: Use a CL implementation. 2017-09-03T17:57:09Z pjb: iqubic: cf. http://cliki.net/Getting+Started 2017-09-03T17:57:27Z kora9 joined #lisp 2017-09-03T17:57:54Z drcode quit (Ping timeout: 248 seconds) 2017-09-03T17:58:09Z iqubic: I found the bug. 2017-09-03T17:58:20Z iqubic: remove the brackets from around the 1. 2017-09-03T17:58:28Z pjb: ok 2017-09-03T17:58:41Z pjb: "Call 1" is meaningless. 2017-09-03T17:58:49Z iqubic: because lisp was trying to call the function 1 with no args 2017-09-03T17:59:12Z kora9: Hey everyone =) I am mid-way through Land of Lisp now and I've gotten to the part where you make your own web server, I'm not getting any errors, but the web browser when trying to access the generated page gives ERR_INVALID_HTTP_RESPONSE and I can't figure out what the issue is. (This uses clisp sockets, by the way) 2017-09-03T17:59:18Z kora9: http://paste.lisp.org/display/355000 2017-09-03T18:00:38Z pjb: kora9: I can load this code without any error. 2017-09-03T18:00:58Z kora9: pjb, me too, but can you load the page after running (serve '#hello-request-handler) ? 2017-09-03T18:01:24Z pjb: #H is an invalid reader macro. 2017-09-03T18:01:52Z kora9: ohh 2017-09-03T18:01:58Z kora9: pjb, Maybe I wrote '# instead of #'! 2017-09-03T18:02:21Z pjb: Try: telnet localhost 8080 RET GET / RET RET 2017-09-03T18:03:03Z pjb: check your clisp window for errors. 2017-09-03T18:04:02Z pjb: While developping web applications or web servers, it's nice to catch all errors, and to send backtraces and error messages to the browser so you see it more conspicuously than in the REPL ;-) 2017-09-03T18:04:30Z kora9: pjb, hm. "READ-LINE: Invalid byte #xFF in CHARSET:UTF-8 conversion, not a Unicode-16" 2017-09-03T18:04:43Z pjb: Yes, you also have to manage encodings. 2017-09-03T18:04:57Z kora9: pjb, That's great advice. I would implement that if I knew how, but I'm still in the early stages of learning to code :-) 2017-09-03T18:05:15Z kora9: Hmm. 2017-09-03T18:05:17Z pjb: you can start with clisp -E utf-8, and later specifically set the encoding for the sockets. 2017-09-03T18:05:30Z pjb: But notice that 1- http is a binary protocol, so you should open a binary socket. 2017-09-03T18:05:46Z pjb: 2- the encoding can change depending on the parts of the HTTP messages. 2017-09-03T18:06:16Z pjb: so you could use babel to decode/encode each part using the right encoding (negociated between the client and the server). 2017-09-03T18:06:40Z drcode joined #lisp 2017-09-03T18:07:51Z damke quit (Ping timeout: 240 seconds) 2017-09-03T18:08:05Z antoszka: iqubic: Some implementations do TCO behind the scenes, some don't, the standard does not mandate it (like it does for Scheme, which is only superficially similar). 2017-09-03T18:09:31Z impulse joined #lisp 2017-09-03T18:10:44Z kora9: pjb, When doing GET /greeting HTTP/1.1 it works though 2017-09-03T18:11:10Z pjb: http 1.0 clients still exist. 2017-09-03T18:11:29Z kora9: I tried with lynx but it wouldn't load the page. Let me retry 2017-09-03T18:12:01Z TMA: pjb: that's HTTP 0.9 (without the version indicator) 2017-09-03T18:12:14Z pjb: kora9: furthermore you will have to test your server with a fuzzer: any random input should be handled gracefully (ie. it's a legal HTTP command, then it should be processed, or it's not and an error message should be issued). Crashes and hang-ups ar enot acceptable. 2017-09-03T18:12:28Z pjb: TMA: Right. 2017-09-03T18:14:34Z kora9: pjb, Yeah but this is just a webserver for learning purposes, it's not a hunchentoot competitor i'm making =) 2017-09-03T18:14:43Z kora9: pjb, It's from a book called Land of Lisp 2017-09-03T18:15:20Z pjb: kora9: this only means that you will issue error messages in more cases, but you should still reject any bug, ie. any crash or DOSing. 2017-09-03T18:16:44Z TMA: kora9: in a sense, handling exceptional situations is a thing you need to learn too 2017-09-03T18:17:20Z drcode quit (Ping timeout: 240 seconds) 2017-09-03T18:17:46Z safe joined #lisp 2017-09-03T18:18:35Z TMA: kora9: I find that I spend more than a half of the time programming thinking about "how should I handle when this fails?" 2017-09-03T18:20:09Z edgar-rft: The art of getting paranoid by computer programming. 2017-09-03T18:20:22Z karswell_ quit (Remote host closed the connection) 2017-09-03T18:21:27Z karswell_ joined #lisp 2017-09-03T18:21:46Z kora9: pjb, TMA: Oh yes, definitely, but that comes later in the book. Implementing all this now is far above what my knowledge 2017-09-03T18:21:56Z kora9: is 2017-09-03T18:21:57Z iqubic: antoszka: does elisp have TCO? 2017-09-03T18:23:29Z kora9: pjb, Oh! It seems to be working in Firefox! 2017-09-03T18:23:42Z edgar-rft: iqubic, some implementation may have, but the CL standard doesn't enforce it 2017-09-03T18:25:30Z iqubic: edgar-rft: Aren't you also in #emacs? 2017-09-03T18:25:38Z edgar-rft: iqubic, sorry didn't read carefully enough, *elisp* doesn't 2017-09-03T18:25:48Z edgar-rft: yes, I'm everywhere 2017-09-03T18:26:12Z iqubic: I'm no longer in #emacs. Got banned. 2017-09-03T18:26:55Z edgar-rft: congrats, not many people managed to get banned on #emacs :-) 2017-09-03T18:27:04Z ainttimmy: xD 2017-09-03T18:29:31Z kora9: iqubic, What happened? 2017-09-03T18:30:17Z iqubic: I was banned for being a lying plagarist. 2017-09-03T18:30:34Z kora9: What did you lie and plagiarize? :P 2017-09-03T18:30:44Z iqubic: I found a elisp functon online and claimed that I wrote it. 2017-09-03T18:30:57Z kora9: Haha. Why? 2017-09-03T18:31:01Z iqubic: It was a thing for toggling comments. 2017-09-03T18:31:13Z iqubic: kora9: I wanted the people of #emacs t ike me more. 2017-09-03T18:31:26Z iqubic: I know that sounds petty. 2017-09-03T18:31:34Z kora9: Well, for being a liar and a plagiarizer, you're certainly very honest 2017-09-03T18:31:45Z iqubic: LOL 2017-09-03T18:32:19Z varjag joined #lisp 2017-09-03T18:34:07Z iqubic quit (Remote host closed the connection) 2017-09-03T18:34:17Z Bike: don't do that, though. both those qualities are far more unlikeale than being able to write code is likeable 2017-09-03T18:37:37Z JohnTalent joined #lisp 2017-09-03T18:37:46Z JohnTalent: Any of you use Common Lisp with SDL2? 2017-09-03T18:38:58Z kora9: JohnTalent, I think one of the guys I talked to in #lispgames was writing a game engine using SDL, or had done so 2017-09-03T18:39:47Z JohnTalent: kora9: ah okay. great thank you! 2017-09-03T18:39:55Z hexfive joined #lisp 2017-09-03T18:42:50Z Jesin joined #lisp 2017-09-03T18:45:15Z random-nick quit (Ping timeout: 252 seconds) 2017-09-03T18:49:39Z jsjolen joined #lisp 2017-09-03T18:50:33Z jsjolen: http://www.lispworks.com/documentation/lw70/CLHS/Body/f_boundp.htm huh I think I just found a typo in the CLHS. Look at notes, it says "bound" instead of "boundp" 2017-09-03T18:50:42Z Whitesquall quit (Ping timeout: 248 seconds) 2017-09-03T18:51:17Z yeticry_ quit (Read error: Connection reset by peer) 2017-09-03T18:51:36Z yeticry joined #lisp 2017-09-03T18:51:36Z Bike: already listed on the cliki page 2017-09-03T18:51:50Z jsjolen: Bike:There's an errata on cliki :)? 2017-09-03T18:52:27Z Bike: http://www.cliki.net/Proposed%20ANSI%20Revisions%20and%20Clarifications 2017-09-03T18:52:39Z jsjolen: Cool! 2017-09-03T18:52:50Z random-nick joined #lisp 2017-09-03T18:53:09Z Whitesquall joined #lisp 2017-09-03T18:54:30Z attila_lendvai joined #lisp 2017-09-03T18:54:30Z attila_lendvai quit (Changing host) 2017-09-03T18:54:30Z attila_lendvai joined #lisp 2017-09-03T18:58:43Z Kyo91_ joined #lisp 2017-09-03T18:58:56Z knicklux joined #lisp 2017-09-03T19:03:11Z Kyo91_ quit (Ping timeout: 255 seconds) 2017-09-03T19:03:56Z jsjolen quit (Remote host closed the connection) 2017-09-03T19:07:47Z kora9 quit (Quit: Leaving) 2017-09-03T19:08:20Z shka_ quit (Ping timeout: 240 seconds) 2017-09-03T19:15:23Z drcode joined #lisp 2017-09-03T19:19:18Z mishoo_ quit (Ping timeout: 240 seconds) 2017-09-03T19:24:50Z drcode quit (Ping timeout: 248 seconds) 2017-09-03T19:30:09Z ainttimmy quit (Quit: /* */) 2017-09-03T19:31:16Z askatasu1 joined #lisp 2017-09-03T19:31:35Z askatasu1 quit (Client Quit) 2017-09-03T19:37:55Z Mon_Ouie joined #lisp 2017-09-03T19:40:24Z jfo joined #lisp 2017-09-03T19:44:08Z karswell_ quit (Ping timeout: 240 seconds) 2017-09-03T19:46:11Z dmiles quit (Read error: Connection reset by peer) 2017-09-03T19:47:59Z dmiles joined #lisp 2017-09-03T19:48:48Z dmiles quit (Excess Flood) 2017-09-03T19:50:08Z dmiles joined #lisp 2017-09-03T19:58:25Z Lowl3v3l quit (Remote host closed the connection) 2017-09-03T20:00:42Z Murii|linux quit (Quit: Time to go! Cya!) 2017-09-03T20:03:14Z moei quit (Quit: Leaving...) 2017-09-03T20:10:09Z Kyo91_ joined #lisp 2017-09-03T20:10:42Z kenanb left #lisp 2017-09-03T20:18:04Z Mon_Ouie quit (Quit: WeeChat 1.9) 2017-09-03T20:18:40Z MetaYan joined #lisp 2017-09-03T20:19:00Z MrBismuth joined #lisp 2017-09-03T20:19:04Z Kyo91_ quit (Ping timeout: 264 seconds) 2017-09-03T20:19:07Z shrdlu68: I want to use sharplispers/ironclad, at least before ironclad is updated in quicklisp. Will cloning it into ~/common-lisp give it precedence over the one in quicklisp/dists/quicklisp/software/ ? 2017-09-03T20:21:02Z Kyo91_ joined #lisp 2017-09-03T20:21:02Z MetaYan quit (Client Quit) 2017-09-03T20:22:03Z MrBusiness3 quit (Ping timeout: 252 seconds) 2017-09-03T20:22:35Z whoman: check ql:*local-project-directories* 2017-09-03T20:25:54Z Kyo91_ quit (Ping timeout: 252 seconds) 2017-09-03T20:27:42Z knicklux quit (Remote host closed the connection) 2017-09-03T20:27:54Z MetaYan joined #lisp 2017-09-03T20:28:13Z random-nick quit (Remote host closed the connection) 2017-09-03T20:28:31Z strelox quit (Remote host closed the connection) 2017-09-03T20:31:56Z iqubic joined #lisp 2017-09-03T20:32:03Z shrdlu68: Ah, found the answer in quicklisp faq. 2017-09-03T20:32:48Z iqubic: What's the difference between defvar and defparameter? 2017-09-03T20:33:41Z knicklux joined #lisp 2017-09-03T20:33:48Z random-nick joined #lisp 2017-09-03T20:34:52Z Bike: defparameter sets the value every time, defvar only does if it hasn't been set already 2017-09-03T20:35:44Z iqubic: Can I use them in fucntions? 2017-09-03T20:37:42Z jfrancis: yes, but depending on what you're trying to do (create/set local vars vs. create/set global vars), you might be better off with let or let*. 2017-09-03T20:38:30Z iqubic: Yeah, I know. 2017-09-03T20:39:05Z Bike: in a function body they won't have their compile time side effect, so they're equivalent to nothing and setf respectively. 2017-09-03T20:39:21Z Bike: well usually nothing. a conditional nothing. 2017-09-03T20:40:50Z iqubic: What is a conditional nothing 2017-09-03T20:40:52Z iqubic: ?? 2017-09-03T20:41:35Z wharrgarbl quit (Ping timeout: 260 seconds) 2017-09-03T20:42:20Z Bike: like i said, defvar only sets the value of its variable if it hasn't been set already 2017-09-03T20:42:29Z Bike: so most of the time, depending on whether it's been set, it does nothing 2017-09-03T20:43:37Z rpg joined #lisp 2017-09-03T20:44:08Z zbigniew joined #lisp 2017-09-03T20:44:36Z wooden_ quit (Ping timeout: 252 seconds) 2017-09-03T20:52:11Z Whitesquall quit (Ping timeout: 240 seconds) 2017-09-03T20:57:02Z random-nick quit (Remote host closed the connection) 2017-09-03T21:01:47Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-09-03T21:12:01Z iqubic: How does setf differ from setq? 2017-09-03T21:12:21Z iqubic: And how are they different from defvar and defparameter. 2017-09-03T21:12:36Z iqubic: Why does lisp have a million ways to create variables? 2017-09-03T21:12:45Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-03T21:13:42Z whoman: setq takes unquoted symbol , setf does some reverse lookup magic 2017-09-03T21:13:54Z whoman: lisp actually has no variables 2017-09-03T21:14:43Z whoman: (setq unknown-symbol 5) ;; warning if 'unknown-symbol is not already known. 2017-09-03T21:15:12Z iqubic: and how do those differ from defvar and defparameter? 2017-09-03T21:15:37Z _death: clhs defvar 2017-09-03T21:15:38Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_defpar.htm 2017-09-03T21:15:55Z _death: from this link you can get to the rest of the operators and see for yourself 2017-09-03T21:16:13Z mishoo_ joined #lisp 2017-09-03T21:16:35Z whoman: defvar doesnt set value again if symbol already has associated value 2017-09-03T21:16:38Z Bike: setf and setq do not "create" variables 2017-09-03T21:16:45Z Bike: and you can ignore setq 2017-09-03T21:16:48Z wooden joined #lisp 2017-09-03T21:17:03Z iqubic: Ah. I see. They only reassign the variables. 2017-09-03T21:17:21Z jfo quit (Quit: Page closed) 2017-09-03T21:17:24Z iqubic: (1+ x) only works if x exists and has a value. 2017-09-03T21:17:43Z Bike: usually you'd say "if x is bound", but yes 2017-09-03T21:17:45Z iqubic: the 1+ macro uses setf under the hood. 2017-09-03T21:17:53Z Bike: 1+ isn't a macro 2017-09-03T21:17:59Z Bike: are you thinking of incf? 2017-09-03T21:18:18Z iqubic: Yes. 2017-09-03T21:18:26Z iqubic: I'm new to lisp. Forgive me. 2017-09-03T21:19:38Z whoman: reassign the *symbols* 2017-09-03T21:19:41Z _death: it uses the setf machinery, but not the setf operator 2017-09-03T21:19:42Z Bike: lucky for you i don't judge people by knowledge of programming languages 2017-09-03T21:20:43Z _death: whoman: lisp does have variables, and setf assigns to places.. variables are places 2017-09-03T21:21:38Z whoman: _death, sure, i try to just call them symbols though. names, difficult to associate with places. C has memory addresses but 'place' in lisp seems arbitrary or vaguely virtual 2017-09-03T21:22:15Z Bike: they're not symbols. if you do a lexical variable binding, and compile it, if the symbol is around there at runtime it's only for debugging. 2017-09-03T21:22:17Z whoman: in C i can visualize easily the memory/location/geometry of my code. in lisp, i dont know yet because i am still new. 2017-09-03T21:23:17Z Bike: in lisp it's not specified. it's also often not specified in C, for that matter 2017-09-03T21:23:18Z whoman: Bike, oh that is true.. i think i cant see that deeply into code quite yet. 2017-09-03T21:25:40Z _death: (defun black-hole (&rest whatever) (declare (ignore whatever))) (defun (setf black-hole) (new-thing &rest whatever) (declare (ignore whatever)) new-thing) (define-symbol-macro black-hole (black-hole)) 2017-09-03T21:25:42Z jmercouris joined #lisp 2017-09-03T21:27:05Z jmercouris: hello everyone, i'm trying to use uiop:delete-directory-tree and it is telling me that my directory is a wildcard path, but the output shows it is not 2017-09-03T21:27:13Z jmercouris: here's my code/response: https://pastebin.com/QXV7FXx8 2017-09-03T21:28:22Z _death: it's not telling you tht it's "a wildcard path" 2017-09-03T21:28:53Z jmercouris: what does it mean then? what is a physical dir? 2017-09-03T21:28:54Z _death: it's not not telling you that it's not not not a physical non-wildcard directory pathname 2017-09-03T21:29:03Z jmercouris: wait, i'm not understanding you now 2017-09-03T21:29:24Z iqubic quit (Remote host closed the connection) 2017-09-03T21:29:26Z whoman: _death, ehe... didnt know (defun (setf ..) ..) 2017-09-03T21:29:30Z _death: it wants a directory pathname, so I guess you'll want to add a slash to your string 2017-09-03T21:29:43Z jmercouris: you mean at the end? 2017-09-03T21:29:49Z _death: yes 2017-09-03T21:29:55Z jmercouris: that's very strange, because it's definitely pointing to the inode... 2017-09-03T21:30:03Z jmercouris: or whatever the dir files are called 2017-09-03T21:30:39Z jmercouris: i'm afraid that did not fix it 2017-09-03T21:30:44Z jmercouris: same exact complaint 2017-09-03T21:31:21Z jmercouris: it's a real dir too: "pwd" >> /Users/jmercouris/Projects/Next/next/tmp 2017-09-03T21:33:07Z _death: the docstring also says "not namestring", so I'm guessing you'll want to turn it into a pathname.. better yet, you may want to not deal with strings at all.. (merge-pathnames (make-pathname :directory '(:relative "tmp")) (asdf:system-source-directory :next)) 2017-09-03T21:33:32Z jmercouris: what is a pathname? a type of object? 2017-09-03T21:33:35Z mishoo_ quit (Ping timeout: 240 seconds) 2017-09-03T21:33:50Z jmercouris: i mean in this context of course, not in general 2017-09-03T21:33:56Z _death: clhs pathname 2017-09-03T21:33:56Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/a_pn.htm 2017-09-03T21:34:39Z _death: maybe a better introduction is in Practical Common Lisp 2017-09-03T21:34:59Z _death: http://www.gigamonkeys.com/book/practical-a-portable-pathname-library.html 2017-09-03T21:35:20Z jmercouris: ok thanks, i'll give it a read 2017-09-03T21:58:04Z hexfive quit (Quit: WeeChat 1.9) 2017-09-03T22:00:07Z hexfive joined #lisp 2017-09-03T22:01:39Z hexfive quit (Client Quit) 2017-09-03T22:02:34Z shrdlu68 quit (Quit: Lost terminal) 2017-09-03T22:02:42Z hexfive joined #lisp 2017-09-03T22:09:25Z omilu joined #lisp 2017-09-03T22:11:54Z krasnal quit (Remote host closed the connection) 2017-09-03T22:14:38Z knicklux quit (Quit: Leaving) 2017-09-03T22:17:23Z Guest38009 joined #lisp 2017-09-03T22:18:42Z pierpa joined #lisp 2017-09-03T22:20:56Z whoman: https://github.com/hcs64/tiramisu 2017-09-03T22:26:07Z Karl_Dscc quit (Remote host closed the connection) 2017-09-03T22:26:21Z varjag quit (Ping timeout: 252 seconds) 2017-09-03T22:27:37Z wxie joined #lisp 2017-09-03T22:39:03Z Bicyclidine joined #lisp 2017-09-03T22:41:47Z Bike quit (Ping timeout: 246 seconds) 2017-09-03T22:58:47Z deba5e12 joined #lisp 2017-09-03T23:02:35Z trocado joined #lisp 2017-09-03T23:04:41Z marvin2 quit 2017-09-03T23:07:04Z trocado: hi! is there any kind of map function that operates on sublists? like (map* #'round '((2.5 0.1) (0.9 1.1))) -> ((3 0) (1 1)) 2017-09-03T23:07:29Z trocado: or do I go and make my own? 2017-09-03T23:08:56Z JohnTalent: trocado: flatten them first? 2017-09-03T23:09:25Z trocado: but then I get (3 0 1 1)... 2017-09-03T23:11:30Z JohnTalent: trocado: what is it you want? 2017-09-03T23:12:33Z whoman: zip? 2017-09-03T23:12:41Z trocado: JohnTalent: I want to preserve the list structure: ((3 0) (1 1)) 2017-09-03T23:13:06Z libre-man quit (Ping timeout: 252 seconds) 2017-09-03T23:13:30Z shrdlu68 joined #lisp 2017-09-03T23:13:49Z JohnTalent: trocado: build it up again then. 2017-09-03T23:14:15Z JohnTalent: of perhaps just use setf on each evaluation. 2017-09-03T23:16:36Z JohnTalent: trocado: how about: https://stackoverflow.com/questions/36927219/reversing-list-with-sublists-and-atoms-in-lisp 2017-09-03T23:16:50Z JohnTalent: So instead of reverse you use #'round. 2017-09-03T23:18:34Z JohnTalent: and if you need to have sub sub lists, you just recurse into the utility function. 2017-09-03T23:20:00Z Kyo91_ joined #lisp 2017-09-03T23:20:57Z trocado: JohnTalent: yes, I'll try that, thanks! 2017-09-03T23:21:09Z Bicyclidine: (defun mapcar* (function list-of-lists) (mapcar (lambda (list) (mapcar function list)) list-of-lists))? 2017-09-03T23:22:27Z varjag joined #lisp 2017-09-03T23:22:54Z trocado: Bicyclidine: I was nesting mapcars, but was curious if there was a better way... 2017-09-03T23:23:13Z scottj left #lisp 2017-09-03T23:23:15Z whoman: there must be .. 2017-09-03T23:23:21Z whoman: recursion ? 2017-09-03T23:23:26Z Bicyclidine: well that's what any definition would do 2017-09-03T23:23:47Z Bicyclidine: this goes over each element once, and doesn't do any extraneous consing 2017-09-03T23:23:50Z Bicyclidine: dunno what else you want. 2017-09-03T23:23:52Z JohnTalent: trocado: yw. :) 2017-09-03T23:24:13Z aeth: There is probably loop magic that's more efficient, but why? It won't be clearer. 2017-09-03T23:24:16Z whoman: (for-each-leaf ..) 2017-09-03T23:24:29Z Kyo91_ quit (Ping timeout: 246 seconds) 2017-09-03T23:24:49Z whoman: isnt there a helpful macro or pattern for the common use-case ? 2017-09-03T23:25:06Z _death: there, after you write it 2017-09-03T23:25:09Z _death: *there is 2017-09-03T23:25:15Z aeth: Something like this? http://lisptips.com/post/43404489000/the-tree-walkers-of-cl 2017-09-03T23:25:23Z whoman: yeah yeah. i just figured it would be more common than that. 2017-09-03T23:26:18Z aeth: CL is a large language, but it's a large language that hasn't been added to in two decades. 2017-09-03T23:26:20Z whoman: aeth, excellent, that will probably do it 2017-09-03T23:27:19Z Kyo91_ joined #lisp 2017-09-03T23:27:20Z whoman: what i will need soon as well 2017-09-03T23:27:27Z varjag quit (Ping timeout: 260 seconds) 2017-09-03T23:27:44Z libre-man joined #lisp 2017-09-03T23:31:24Z pjb: aeth: what are you talking about? I added a new macro to it half an hour ago! 2017-09-03T23:31:46Z aeth: pjb: sorry, I haven't been following CL 18 2017-09-03T23:31:48Z Kyo91_ quit (Ping timeout: 252 seconds) 2017-09-03T23:32:07Z pjb: You've not been following CLaeth! 2017-09-03T23:34:18Z grublet joined #lisp 2017-09-03T23:34:28Z AxelAlex quit (Quit: AxelAlex) 2017-09-03T23:41:33Z shrdlu68: Expect some breakage with the new ironclad, once it's updated. 2017-09-03T23:44:22Z deba5e12 quit (Ping timeout: 260 seconds) 2017-09-03T23:46:46Z text1 joined #lisp 2017-09-03T23:49:37Z safe quit (Ping timeout: 260 seconds) 2017-09-03T23:50:17Z deba5e12 joined #lisp 2017-09-03T23:52:04Z margeas quit (Ping timeout: 264 seconds) 2017-09-03T23:55:31Z attila_lendvai quit (Quit: Leaving.) 2017-09-03T23:57:22Z malice joined #lisp 2017-09-04T00:02:13Z moei joined #lisp 2017-09-04T00:05:22Z Jesin quit (Ping timeout: 248 seconds) 2017-09-04T00:12:49Z chens quit (Ping timeout: 246 seconds) 2017-09-04T00:13:24Z Jesin joined #lisp 2017-09-04T00:14:56Z JuanDaugherty joined #lisp 2017-09-04T00:18:52Z fiddlerwoaroof: shrdlu68: ironclad has a new maintainer? 2017-09-04T00:18:54Z fiddlerwoaroof: great 2017-09-04T00:20:42Z shrdlu68: Yep, https://github.com/sharplispers/ironclad 2017-09-04T00:22:10Z drmeister: sbcl is 423'rd most installed package using Homebrew last year. 2017-09-04T00:22:53Z drmeister: https://brew.sh/analytics/install-on-request/ 2017-09-04T00:23:11Z JuanDaugherty: do more people use that than macports or the tarball? 2017-09-04T00:24:08Z JuanDaugherty: drmeister, as an implementor, do you know of any gc that isn't stop the world? 2017-09-04T00:25:09Z drmeister: JuanDaugherty: I have knowlege of only two GC's, Boehm and the Memory Pool System. 2017-09-04T00:25:32Z fiddlerwoaroof: i. 2017-09-04T00:25:37Z JuanDaugherty: well cheney is the main alternative i think 2017-09-04T00:25:44Z drmeister: MPS can be set up to guarantee no more than certain length pauses. 2017-09-04T00:25:57Z drmeister: Cheney? 2017-09-04T00:26:37Z JohnTalent: What is the secret to getting slime to work in emacs? i get [no match] 2017-09-04T00:26:45Z JohnTalent: despite following the directions to a t. 2017-09-04T00:26:51Z JohnTalent: (not a NIL) :) 2017-09-04T00:26:56Z JuanDaugherty: yeah, I'm looking for something that is either continuous or only stops a subspace/thread 2017-09-04T00:27:46Z JuanDaugherty: i think best I would be able to do short term is force it on regular thread terminations 2017-09-04T00:28:00Z Bicyclidine: cheney is a type of gc. i think mps implements it. 2017-09-04T00:28:02Z drmeister: JohnTalent: I use the github version of slime and you have to set up the path to your lisp. 2017-09-04T00:28:15Z drmeister: Mileage may vary. 2017-09-04T00:28:23Z JuanDaugherty: https://en.wikipedia.org/wiki/Cheney%27s_algorithm 2017-09-04T00:28:25Z drmeister: Yes - I see 2017-09-04T00:28:35Z JuanDaugherty: sbcl has an implementation 2017-09-04T00:28:49Z JohnTalent: drmeister: yes. like: (setq inferior-lisp-program (executable-find "sbcl")) 2017-09-04T00:29:08Z drmeister: JuanDaugherty: I don't know the answer to your question - sorry. 2017-09-04T00:29:26Z fiddlerwoaroof: I think ACL has a more modern GC, iirc 2017-09-04T00:29:27Z JuanDaugherty: np 2017-09-04T00:29:29Z Bicyclidine: the garbage collection handbook had tons of shit in it for this 2017-09-04T00:29:39Z fiddlerwoaroof: Does ABCL have its own GC or does it just use the JVM gc 2017-09-04T00:29:43Z Bicyclidine: i didn't get a ton out of it just because i wasn't working on that, but it's there 2017-09-04T00:30:20Z Bicyclidine: i think ABCL just uses the JVM's 2017-09-04T00:30:31Z JuanDaugherty: ty, didn't know of title 2017-09-04T00:31:08Z drmeister: I changed Clasp's pointer tagging scheme. Now general pointers end in 0xf 2017-09-04T00:31:09Z LooneyTunes joined #lisp 2017-09-04T00:31:36Z JuanDaugherty: too damn expensive though 2017-09-04T00:31:50Z Bicyclidine: welcome to academia! 2017-09-04T00:32:07Z drmeister buys used technical books 2017-09-04T00:32:18Z Bicyclidine: drmeister: woah, four bits now? 2017-09-04T00:32:47Z drmeister: No, I think I may have 16 byte alignment setup - or Boehm does that. 2017-09-04T00:34:11Z drmeister: Yeah - I don't recall telling Boehm what the alignment is - it may default to 16 bytes 2017-09-04T00:34:29Z drmeister: So - still 3 bits for tags 2017-09-04T00:38:05Z JuanDaugherty: well the TOC and bibliography are free, which makes it somewhat freely available 2017-09-04T00:38:13Z malice left #lisp 2017-09-04T00:38:19Z JuanDaugherty: since it's just a survey 2017-09-04T00:38:51Z JuanDaugherty: rich in the thing i was interested in though parallel and partitioned gc 2017-09-04T00:39:09Z pierpa quit (Quit: Page closed) 2017-09-04T00:39:10Z JuanDaugherty: in last chapters 2017-09-04T00:40:55Z JohnTalent: I feel like I should be trolling slime. 2017-09-04T00:41:03Z JuanDaugherty: in another channel was pointed to free download for it 2017-09-04T00:41:07Z grublet quit (Ping timeout: 255 seconds) 2017-09-04T00:43:32Z JuanDaugherty was surprised to see the ubuntu install of slime actually worked when emacs was opened on a lisp file 2017-09-04T00:45:58Z JuanDaugherty: (a lil) 2017-09-04T00:48:14Z sindan quit (Quit: Leaving) 2017-09-04T00:49:09Z JohnTalent: I am content to use vim. Keeps me on my toes. 2017-09-04T00:50:33Z pjb: Try ed, it'll keep you on your toe-nails! 2017-09-04T00:51:33Z JohnTalent: Overall I get the feeling that most errors are integration in lisp. The source code isn't the problem it's all the bits in between. A reason why many go back into the type-shelters native FFI of C/C++. 2017-09-04T00:52:01Z saki joined #lisp 2017-09-04T00:52:37Z JohnTalent: pjb: Would you believe 'echo "(exit)" > leave_slime.el'. 2017-09-04T00:56:31Z deba5e12 quit (Ping timeout: 240 seconds) 2017-09-04T01:02:06Z deba5e12 joined #lisp 2017-09-04T01:02:24Z d4ryus2 joined #lisp 2017-09-04T01:05:38Z d4ryus1 quit (Ping timeout: 248 seconds) 2017-09-04T01:09:39Z Bike joined #lisp 2017-09-04T01:12:19Z Bicyclidine quit (Ping timeout: 246 seconds) 2017-09-04T01:15:00Z mathrick quit (Remote host closed the connection) 2017-09-04T01:15:11Z AxelAlex joined #lisp 2017-09-04T01:22:24Z Ellenor quit (Quit: ... Sometimes, you just don't know if life is even a thing.) 2017-09-04T01:23:59Z searcher3 quit (Quit: Leaving) 2017-09-04T01:24:19Z searcher3 joined #lisp 2017-09-04T01:32:47Z dddddd quit (Read error: Connection reset by peer) 2017-09-04T01:33:07Z Kyo91_ joined #lisp 2017-09-04T01:38:10Z JuanDaugherty quit (Quit: Ex Chat) 2017-09-04T01:38:40Z Kyo91_ quit (Ping timeout: 240 seconds) 2017-09-04T01:42:15Z brendyn joined #lisp 2017-09-04T01:49:51Z jameser joined #lisp 2017-09-04T01:51:55Z JohnTalent: finally. my system only recognizes slime-lisp-implementations. 2017-09-04T01:59:45Z Bicyclidine joined #lisp 2017-09-04T02:00:51Z Bike quit (Ping timeout: 240 seconds) 2017-09-04T02:06:39Z renfield1 joined #lisp 2017-09-04T02:09:58Z renfield1 quit (Remote host closed the connection) 2017-09-04T02:15:15Z shrdlu68: Xach: Hi, can I get your opinion and feedback on cl-tls, and whether it would be suitable, now or later, to be adopted in quicklisp? 2017-09-04T02:16:46Z renfield1 joined #lisp 2017-09-04T02:17:02Z renfield1 quit (Remote host closed the connection) 2017-09-04T02:25:49Z Bike joined #lisp 2017-09-04T02:28:31Z Bicyclidine quit (Ping timeout: 240 seconds) 2017-09-04T02:31:16Z renfield1 joined #lisp 2017-09-04T02:41:36Z Kyo91_ joined #lisp 2017-09-04T02:43:49Z renfield1 quit (Remote host closed the connection) 2017-09-04T02:43:58Z renfield1 joined #lisp 2017-09-04T02:46:07Z Kyo91_ quit (Ping timeout: 246 seconds) 2017-09-04T02:46:24Z Kyo91_ joined #lisp 2017-09-04T02:51:28Z Kyo91_ quit (Ping timeout: 264 seconds) 2017-09-04T02:55:54Z AxelAlex quit (Remote host closed the connection) 2017-09-04T02:56:20Z AxelAlex joined #lisp 2017-09-04T03:00:35Z renfield1 quit (Ping timeout: 240 seconds) 2017-09-04T03:02:36Z Kyo91_ joined #lisp 2017-09-04T03:03:00Z iqubic joined #lisp 2017-09-04T03:04:06Z mulk_ quit (Ping timeout: 252 seconds) 2017-09-04T03:05:09Z jonh joined #lisp 2017-09-04T03:06:10Z iqubic: Do you guys like the extended loop syntax? 2017-09-04T03:06:30Z Bike: qsure 2017-09-04T03:07:07Z Kyo91_ quit (Ping timeout: 246 seconds) 2017-09-04T03:07:41Z mrcom_ quit (Quit: Leaving) 2017-09-04T03:07:47Z iqubic: (loop for i from 1 to 10 collecting i) 2017-09-04T03:07:54Z iqubic: I mean something like that. 2017-09-04T03:08:04Z mrcom joined #lisp 2017-09-04T03:09:03Z Bike: yep 2017-09-04T03:09:43Z iqubic: I have no idea what the above statement returns though. 2017-09-04T03:10:11Z iqubic: does it return the list (1 2 3 4 5 6 7 8 9 10)? 2017-09-04T03:11:14Z Bike: probably 2017-09-04T03:11:34Z Bike: yes 2017-09-04T03:14:22Z loke: LOOP is one of the best parts of CL. 2017-09-04T03:14:55Z iqubic: loke: You're here and in #emacs? 2017-09-04T03:15:18Z loke: Of course. 2017-09-04T03:15:32Z iqubic: I hate being banned from #emacs. 2017-09-04T03:15:52Z loke: You probably did somethingt hat was not accepted there. 2017-09-04T03:16:39Z iqubic: I know exactly what I did. 2017-09-04T03:17:18Z iqubic: It's just that the rules on #emacs are so much stricter and so much more heavily enforced than any other channel I regularly visit. 2017-09-04T03:17:36Z loke: To be honest, the #emacs rules are very loose. Certainly looser than here. 2017-09-04T03:18:06Z CharlieBrown: What could have been violated in #emacs? Recommending proprietary software? 2017-09-04T03:18:37Z Ellenor joined #lisp 2017-09-04T03:19:03Z iqubic: No, actually I was banned for being a "Lying plagrist" 2017-09-04T03:19:52Z iqubic: I found an elisp function online, and claimed that I wrote it. 2017-09-04T03:19:53Z loke: iqubic: Oh, relaly? That's,... interesting. I'd have expected it to be the endless barrage of questions that were being answered by teh first hit on google, combined with the expectation that other people do your work for you? 2017-09-04T03:20:27Z loke: I wasn't there, but I'm guessing it wasn't just that event. 2017-09-04T03:20:36Z iqubic: Well, that was also getting on their nerves. 2017-09-04T03:20:53Z loke: iqubic: Yeah... I can vouch for that :-) 2017-09-04T03:20:55Z iqubic: I'l be better when my ban is lifted in a few hours. 2017-09-04T03:21:06Z loke: iqubic: Try not to do the same here. :-) 2017-09-04T03:21:11Z iqubic: it was a 24 hour ban. 2017-09-04T03:21:19Z iqubic: loke: I won't 2017-09-04T03:21:21Z loke: That was remarkably nice of them. 2017-09-04T03:21:28Z xpoqp left #lisp 2017-09-04T03:21:32Z iqubic: loke: I suppose it was. 2017-09-04T03:22:16Z jmercouris: I didn't think it was even possible to get banned from #emacs :D 2017-09-04T03:22:29Z jmercouris: except for maybe xah 2017-09-04T03:22:32Z loke: jmercouris: Haha, yeah. I thought the same. 2017-09-04T03:22:38Z loke: At least he's taking it with good grace. 2017-09-04T03:22:45Z iqubic: why do you say that jmercouris? 2017-09-04T03:22:52Z loke: jmercouris: xah is really an exraordinary case. 2017-09-04T03:23:08Z iqubic: what's up with xah? 2017-09-04T03:23:10Z jmercouris: I've literally never heard of anybody getting banned from it, that's all, and I've seen some pretty "interesting" messages on there 2017-09-04T03:23:27Z jmercouris: iqubic: that's offtopic, don't want to derail this channel, just google him 2017-09-04T03:23:41Z iqubic: I will. 2017-09-04T03:23:48Z loke: I have installed the google result blocker for one reason only: to stop me from accidentally finding one of his pages when I do a searhc on emac. 2017-09-04T03:23:50Z loke: emacs 2017-09-04T03:24:22Z jmercouris: his tutorials are pretty good for beginners imo 2017-09-04T03:25:34Z loke: jmercouris: The problem with them is that even when they do contain useful information, it's interleaved with really terrible advice, and the beginner won't know what to filter out. 2017-09-04T03:25:40Z LooneyTunes quit (Ping timeout: 264 seconds) 2017-09-04T03:26:44Z jmercouris: yeah, that's always tough as a beginner though 2017-09-04T03:27:26Z loke: jmercouris: it's worse with a not-insignificant portion of the inromation is garbage. It's better to avoid his pages altogether. 2017-09-04T03:28:23Z iqubic: Alright, I see why xah got banned. 2017-09-04T03:28:39Z iqubic: I fear that I was banned because I was going down that same path. 2017-09-04T03:28:57Z loke: iqubic: Take solace in the fact that what you did was nowhere near as bad as him :-) 2017-09-04T03:29:11Z jmercouris: Self awareness is the first step towards improvement 2017-09-04T03:32:35Z velo-alien joined #lisp 2017-09-04T03:33:27Z iqubic: loke: It still got me banned. 2017-09-04T03:34:54Z trocado quit (Remote host closed the connection) 2017-09-04T03:36:47Z abel-abel joined #lisp 2017-09-04T03:45:18Z jack_rip_vim joined #lisp 2017-09-04T03:46:56Z vtomole joined #lisp 2017-09-04T03:55:57Z defaultxr: anyone know why Sly's REPL becomes unresponsive after a condition occurs and/or the debugger pops up? using emacs -Q and latest sly in MELPA. run M-x sly, evaluate (/ 1 0) in the REPL, press q in the debugger window, and then try evaluating another form in the REPL. for me it just says "[sly] REPL is busy" and the REPL never returns. 2017-09-04T04:03:24Z Lowl3v3l joined #lisp 2017-09-04T04:04:24Z wxie quit (Quit: Bye.) 2017-09-04T04:06:07Z jmercouris quit (Ping timeout: 240 seconds) 2017-09-04T04:10:39Z Guest38009 quit (Quit: Lost terminal) 2017-09-04T04:17:47Z test1600 joined #lisp 2017-09-04T04:18:03Z test1600_ joined #lisp 2017-09-04T04:18:23Z jmercouris joined #lisp 2017-09-04T04:19:36Z shka_ joined #lisp 2017-09-04T04:19:52Z beach: Good morning everyone! 2017-09-04T04:20:00Z deba5e12 quit (Ping timeout: 252 seconds) 2017-09-04T04:20:21Z iqubic: Morning beach. 2017-09-04T04:20:59Z iqubic: It's 21:20 here. I should be asleep. 2017-09-04T04:21:31Z beach: iqubic: http://www.total-knowledge.com/~ilya/mips/ugt.html 2017-09-04T04:21:41Z iqubic: My school starts in three days, and I can't afford to keep staying up until 2 each night. 2017-09-04T04:22:24Z iqubic: Oh. 2017-09-04T04:22:33Z iqubic: Good morning beach. 2017-09-04T04:23:14Z sellout- joined #lisp 2017-09-04T04:25:11Z abel-abel quit (Remote host closed the connection) 2017-09-04T04:28:01Z abel-abel joined #lisp 2017-09-04T04:35:24Z jmercouris quit (Ping timeout: 252 seconds) 2017-09-04T04:38:05Z akater joined #lisp 2017-09-04T04:43:19Z Lowl3v3l quit (Remote host closed the connection) 2017-09-04T04:45:00Z mathrick joined #lisp 2017-09-04T04:50:34Z mejja joined #lisp 2017-09-04T04:53:21Z sellout-1 joined #lisp 2017-09-04T04:53:23Z sellout- quit (Ping timeout: 248 seconds) 2017-09-04T04:56:48Z FreeBirdLjj joined #lisp 2017-09-04T05:00:33Z akater quit (Remote host closed the connection) 2017-09-04T05:00:44Z akater joined #lisp 2017-09-04T05:00:51Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-09-04T05:06:54Z saki quit (Quit: saki) 2017-09-04T05:07:18Z dec0n joined #lisp 2017-09-04T05:10:36Z jack_rip_vim quit (Ping timeout: 252 seconds) 2017-09-04T05:16:28Z JohnTalent quit (Quit: leaving) 2017-09-04T05:17:42Z akater quit (Quit: leaving) 2017-09-04T05:19:31Z test1600_ quit (Quit: Leaving) 2017-09-04T05:19:34Z test1600 quit (Quit: Leaving) 2017-09-04T05:20:06Z flamebeard joined #lisp 2017-09-04T05:24:04Z test1600 joined #lisp 2017-09-04T05:24:23Z vtomole: clhs cons 2017-09-04T05:24:23Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/a_cons.htm 2017-09-04T05:27:49Z damke joined #lisp 2017-09-04T05:28:45Z vlatkoB joined #lisp 2017-09-04T05:32:26Z oleo quit (Quit: irc client terminated!) 2017-09-04T05:33:57Z Kyo91_ joined #lisp 2017-09-04T05:38:17Z Kyo91_ quit (Ping timeout: 246 seconds) 2017-09-04T05:39:18Z Karl_Dscc joined #lisp 2017-09-04T05:39:21Z d4ryus2 is now known as d4ryus 2017-09-04T05:43:13Z Bike quit (Ping timeout: 246 seconds) 2017-09-04T05:48:28Z scymtym quit (Ping timeout: 255 seconds) 2017-09-04T05:52:53Z obm joined #lisp 2017-09-04T06:00:47Z mejja quit (Quit: Abort, Retry, Ignore?) 2017-09-04T06:04:17Z velo-alien quit (Ping timeout: 248 seconds) 2017-09-04T06:09:22Z jfrancis quit (Ping timeout: 260 seconds) 2017-09-04T06:09:59Z mishoo_ joined #lisp 2017-09-04T06:10:03Z MrBusiness3 joined #lisp 2017-09-04T06:10:42Z galdor quit (Read error: Connection reset by peer) 2017-09-04T06:10:48Z Karl_Dscc quit (Remote host closed the connection) 2017-09-04T06:10:59Z galdor joined #lisp 2017-09-04T06:11:13Z arrsim quit (Ping timeout: 246 seconds) 2017-09-04T06:11:38Z arrsim joined #lisp 2017-09-04T06:12:06Z Kyo91_ joined #lisp 2017-09-04T06:13:04Z MrBismuth quit (Ping timeout: 264 seconds) 2017-09-04T06:13:16Z marvin2 joined #lisp 2017-09-04T06:17:43Z Kyo91_ quit (Ping timeout: 255 seconds) 2017-09-04T06:24:37Z MrBismuth joined #lisp 2017-09-04T06:26:20Z MrBusiness3 quit (Ping timeout: 240 seconds) 2017-09-04T06:36:48Z damke_ joined #lisp 2017-09-04T06:38:51Z damke quit (Ping timeout: 240 seconds) 2017-09-04T06:40:00Z CrazyEddy quit (Remote host closed the connection) 2017-09-04T06:44:01Z CrazyEddy joined #lisp 2017-09-04T06:57:23Z CrazyEddy quit (Ping timeout: 246 seconds) 2017-09-04T06:57:29Z damke joined #lisp 2017-09-04T06:57:58Z Murii joined #lisp 2017-09-04T06:59:31Z damke_ quit (Ping timeout: 240 seconds) 2017-09-04T07:00:50Z varjag joined #lisp 2017-09-04T07:04:50Z CrazyEddy joined #lisp 2017-09-04T07:11:24Z scymtym joined #lisp 2017-09-04T07:12:49Z elfmacs joined #lisp 2017-09-04T07:13:47Z scottj joined #lisp 2017-09-04T07:14:03Z hajovonta joined #lisp 2017-09-04T07:14:43Z Mon_Ouie joined #lisp 2017-09-04T07:16:14Z vtomole quit (Ping timeout: 260 seconds) 2017-09-04T07:22:09Z Mon_Ouie quit (Ping timeout: 248 seconds) 2017-09-04T07:24:56Z iqubic quit (Remote host closed the connection) 2017-09-04T07:33:24Z Mon_Ouie joined #lisp 2017-09-04T07:42:27Z Mon_Ouie quit (Ping timeout: 248 seconds) 2017-09-04T07:51:00Z nostoi joined #lisp 2017-09-04T07:57:15Z hajovonta: hello 2017-09-04T07:57:27Z beach: Hello hajovonta. 2017-09-04T07:58:21Z _cosmonaut_ joined #lisp 2017-09-04T08:00:14Z _cosmonaut_ quit (Client Quit) 2017-09-04T08:00:34Z _cosmonaut_ joined #lisp 2017-09-04T08:03:52Z MetaYan left #lisp 2017-09-04T08:04:42Z MetaYan joined #lisp 2017-09-04T08:04:58Z jfrancis joined #lisp 2017-09-04T08:06:13Z text1 quit (Read error: Connection reset by peer) 2017-09-04T08:07:19Z hexfive quit (Quit: WeeChat 1.9) 2017-09-04T08:12:27Z aeth_ joined #lisp 2017-09-04T08:13:01Z Mon_Ouie joined #lisp 2017-09-04T08:14:07Z aeth quit (Ping timeout: 240 seconds) 2017-09-04T08:18:52Z Kyo91_ joined #lisp 2017-09-04T08:23:38Z Kyo91_ quit (Ping timeout: 255 seconds) 2017-09-04T08:30:09Z saki joined #lisp 2017-09-04T08:33:03Z mrcom quit (Read error: Connection reset by peer) 2017-09-04T08:40:56Z nostoi quit (Quit: Verlassend) 2017-09-04T08:41:57Z nirved joined #lisp 2017-09-04T08:43:15Z Murii quit (Ping timeout: 248 seconds) 2017-09-04T08:43:59Z Kyo91_ joined #lisp 2017-09-04T08:46:02Z grublet joined #lisp 2017-09-04T08:46:52Z scottj left #lisp 2017-09-04T08:48:20Z Kyo91_ quit (Ping timeout: 240 seconds) 2017-09-04T09:01:35Z _cosmonaut_ quit (Ping timeout: 252 seconds) 2017-09-04T09:03:52Z BitPuffin|osx joined #lisp 2017-09-04T09:07:24Z Murii joined #lisp 2017-09-04T09:09:07Z troydm quit (Ping timeout: 240 seconds) 2017-09-04T09:09:58Z margeas joined #lisp 2017-09-04T09:13:40Z troydm joined #lisp 2017-09-04T09:18:14Z BitPuffin|osx quit (Remote host closed the connection) 2017-09-04T09:22:29Z defaultxr quit (Ping timeout: 252 seconds) 2017-09-04T09:22:38Z mazoe joined #lisp 2017-09-04T09:25:05Z scymtym quit (Remote host closed the connection) 2017-09-04T09:25:07Z scymtym_ joined #lisp 2017-09-04T09:28:28Z BitPuffin|osx joined #lisp 2017-09-04T09:31:13Z troydm quit (Ping timeout: 255 seconds) 2017-09-04T09:32:30Z mazoe: hello #lisp. Does anyone know of an input library that handles Mac multitouch trackpads nicely? 2017-09-04T09:33:21Z pjb: mazoe: none. But you could use Garnet and hook multitouch events to its gesture system. 2017-09-04T09:34:10Z pjb: On the other hand, you will probably don't want to. Just write the code to handle your events yourself! 2017-09-04T09:36:55Z Kaisyu joined #lisp 2017-09-04T09:36:58Z mazoe: pjb: ok, yeah, thanks! 2017-09-04T09:37:45Z nirved quit (Quit: Leaving) 2017-09-04T09:38:37Z eli joined #lisp 2017-09-04T09:38:37Z eli quit (Changing host) 2017-09-04T09:38:37Z eli joined #lisp 2017-09-04T09:43:32Z attila_lendvai joined #lisp 2017-09-04T09:47:27Z _cosmonaut_ joined #lisp 2017-09-04T09:49:21Z marvin3 joined #lisp 2017-09-04T09:49:21Z shrdlu68 quit (Read error: Connection reset by peer) 2017-09-04T09:52:12Z marvin2 quit (Ping timeout: 260 seconds) 2017-09-04T09:54:36Z shka joined #lisp 2017-09-04T09:55:07Z shrdlu68 joined #lisp 2017-09-04T09:59:42Z brucem: pjb: do the APIs that Garnet uses still work? 2017-09-04T10:09:55Z _cosmonaut_ quit (Ping timeout: 246 seconds) 2017-09-04T10:11:20Z pjb: I don't know. IIRC, it has multiple backends. 2017-09-04T10:17:40Z m00natic joined #lisp 2017-09-04T10:18:36Z EvilAngel joined #lisp 2017-09-04T10:18:53Z troydm joined #lisp 2017-09-04T10:23:02Z EvilAngel quit (Client Quit) 2017-09-04T10:23:10Z EvilAngel joined #lisp 2017-09-04T10:24:53Z akkad quit (Excess Flood) 2017-09-04T10:25:16Z drcode joined #lisp 2017-09-04T10:27:16Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-04T10:34:09Z troydm quit (Ping timeout: 248 seconds) 2017-09-04T10:34:40Z akkad joined #lisp 2017-09-04T10:38:38Z MetaYan left #lisp 2017-09-04T10:42:34Z MetaYan joined #lisp 2017-09-04T10:44:07Z LoRdToLsToI joined #lisp 2017-09-04T10:50:00Z troydm joined #lisp 2017-09-04T10:52:47Z attila_lendvai quit (Quit: Leaving.) 2017-09-04T10:55:17Z Mon_Ouie quit (Ping timeout: 255 seconds) 2017-09-04T11:00:27Z troydm quit (Ping timeout: 260 seconds) 2017-09-04T11:01:39Z damke_ joined #lisp 2017-09-04T11:03:30Z damke quit (Ping timeout: 240 seconds) 2017-09-04T11:08:59Z wigust joined #lisp 2017-09-04T11:11:22Z troydm joined #lisp 2017-09-04T11:12:27Z _cosmonaut_ joined #lisp 2017-09-04T11:12:36Z dddddd joined #lisp 2017-09-04T11:14:27Z mazoe quit (Ping timeout: 260 seconds) 2017-09-04T11:15:17Z reverse_light quit (Ping timeout: 240 seconds) 2017-09-04T11:17:42Z aeth joined #lisp 2017-09-04T11:17:48Z aeth_ quit (Ping timeout: 246 seconds) 2017-09-04T11:20:16Z _cosmonaut_ quit (Ping timeout: 246 seconds) 2017-09-04T11:30:55Z akkad quit (Excess Flood) 2017-09-04T11:32:17Z saki quit (Ping timeout: 248 seconds) 2017-09-04T11:33:41Z akkad joined #lisp 2017-09-04T11:41:06Z wxie joined #lisp 2017-09-04T11:41:07Z troydm quit (Ping timeout: 240 seconds) 2017-09-04T11:41:09Z saki joined #lisp 2017-09-04T11:43:55Z troydm joined #lisp 2017-09-04T11:56:06Z zooey quit (Remote host closed the connection) 2017-09-04T11:56:28Z EvilAngel quit (Quit: integration is evolution. now go hack!) 2017-09-04T11:56:44Z zooey joined #lisp 2017-09-04T11:59:56Z LoRdToLsToI quit 2017-09-04T12:03:29Z saki quit (Quit: saki) 2017-09-04T12:03:29Z Mon_Ouie joined #lisp 2017-09-04T12:04:52Z saki joined #lisp 2017-09-04T12:10:04Z troydm quit (Ping timeout: 240 seconds) 2017-09-04T12:18:12Z SaganMan joined #lisp 2017-09-04T12:22:57Z Bike joined #lisp 2017-09-04T12:25:31Z _cosmonaut_ joined #lisp 2017-09-04T12:28:18Z MetaYan quit (Quit: Leaving) 2017-09-04T12:28:53Z elfmacs quit (Ping timeout: 255 seconds) 2017-09-04T12:30:22Z MetaYan joined #lisp 2017-09-04T12:31:47Z wigust quit (Remote host closed the connection) 2017-09-04T12:33:27Z EvW joined #lisp 2017-09-04T12:37:21Z troydm joined #lisp 2017-09-04T12:44:50Z Murii quit (Ping timeout: 240 seconds) 2017-09-04T12:45:27Z Kyo91_ joined #lisp 2017-09-04T12:45:36Z saki quit (Quit: saki) 2017-09-04T12:49:51Z Kyo91_ quit (Ping timeout: 246 seconds) 2017-09-04T12:52:51Z flamebeard quit (Quit: Leaving) 2017-09-04T12:54:47Z quazimodo quit (Ping timeout: 252 seconds) 2017-09-04T12:57:21Z saki joined #lisp 2017-09-04T12:57:23Z sz0 joined #lisp 2017-09-04T13:00:54Z damke joined #lisp 2017-09-04T13:02:30Z damke_ quit (Ping timeout: 240 seconds) 2017-09-04T13:02:31Z kobain joined #lisp 2017-09-04T13:05:36Z troydm quit (Ping timeout: 240 seconds) 2017-09-04T13:06:05Z jameser joined #lisp 2017-09-04T13:16:40Z abel-abel quit (Ping timeout: 255 seconds) 2017-09-04T13:18:58Z deba5e12 joined #lisp 2017-09-04T13:20:04Z rumbler31 joined #lisp 2017-09-04T13:32:55Z troydm joined #lisp 2017-09-04T13:33:04Z iqubic joined #lisp 2017-09-04T13:35:26Z velo-alien joined #lisp 2017-09-04T13:35:52Z Murii|osx joined #lisp 2017-09-04T13:37:17Z joast quit (Quit: Leaving.) 2017-09-04T13:41:39Z rumbler31 quit (Remote host closed the connection) 2017-09-04T13:44:01Z joast joined #lisp 2017-09-04T13:53:05Z joast quit (Quit: Leaving.) 2017-09-04T13:54:17Z dec0n quit (Read error: Connection reset by peer) 2017-09-04T13:55:42Z mishoo__ joined #lisp 2017-09-04T13:57:10Z mishoo_ quit (Ping timeout: 255 seconds) 2017-09-04T14:03:57Z quazimodo joined #lisp 2017-09-04T14:04:06Z whoman quit (Ping timeout: 240 seconds) 2017-09-04T14:07:00Z akkad quit (Excess Flood) 2017-09-04T14:08:33Z deba5e12 quit (Ping timeout: 248 seconds) 2017-09-04T14:09:37Z EvW quit (Ping timeout: 246 seconds) 2017-09-04T14:13:19Z kuwze quit (Ping timeout: 260 seconds) 2017-09-04T14:14:56Z test1600 quit (Quit: Leaving) 2017-09-04T14:17:12Z akkad joined #lisp 2017-09-04T14:17:55Z oleo joined #lisp 2017-09-04T14:21:33Z krasnal joined #lisp 2017-09-04T14:24:18Z rpg joined #lisp 2017-09-04T14:25:00Z rpg quit (Read error: Connection reset by peer) 2017-09-04T14:26:08Z rpg joined #lisp 2017-09-04T14:27:02Z rpg quit (Read error: Connection reset by peer) 2017-09-04T14:27:44Z rpg joined #lisp 2017-09-04T14:27:52Z wxie quit (Remote host closed the connection) 2017-09-04T14:28:49Z rpg quit (Read error: Connection reset by peer) 2017-09-04T14:30:41Z rpg joined #lisp 2017-09-04T14:31:40Z rpg quit (Read error: Connection reset by peer) 2017-09-04T14:38:02Z obm quit (Ping timeout: 255 seconds) 2017-09-04T14:40:08Z kuwze joined #lisp 2017-09-04T14:45:36Z brendyn quit (Ping timeout: 240 seconds) 2017-09-04T14:50:54Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-04T14:54:25Z _cosmonaut_ quit (Ping timeout: 248 seconds) 2017-09-04T14:54:40Z Murii|osx quit (Quit: Textual IRC Client: www.textualapp.com) 2017-09-04T14:55:42Z mrcom joined #lisp 2017-09-04T14:56:35Z jameser joined #lisp 2017-09-04T14:59:49Z papachan joined #lisp 2017-09-04T15:01:04Z Khisanth quit (Ping timeout: 240 seconds) 2017-09-04T15:02:03Z quazimodo quit (Read error: Connection reset by peer) 2017-09-04T15:02:21Z quazimodo joined #lisp 2017-09-04T15:03:18Z hajovonta quit (Quit: hajovonta) 2017-09-04T15:05:24Z FreeBirdLjj joined #lisp 2017-09-04T15:08:22Z sellout-1 quit (Quit: Leaving.) 2017-09-04T15:10:04Z jameser quit (Ping timeout: 240 seconds) 2017-09-04T15:10:17Z Murii|linux joined #lisp 2017-09-04T15:14:38Z Khisanth joined #lisp 2017-09-04T15:21:22Z weltung joined #lisp 2017-09-04T15:23:02Z foom joined #lisp 2017-09-04T15:24:54Z foom2 quit (Ping timeout: 246 seconds) 2017-09-04T15:25:37Z whoman joined #lisp 2017-09-04T15:27:09Z LiamH joined #lisp 2017-09-04T15:30:36Z Mon_Ouie quit (Ping timeout: 240 seconds) 2017-09-04T15:33:10Z zacts quit (Quit: WeeChat 1.9) 2017-09-04T15:36:50Z troydm quit (Ping timeout: 240 seconds) 2017-09-04T15:37:03Z zacts joined #lisp 2017-09-04T15:41:22Z damke_ joined #lisp 2017-09-04T15:43:06Z LiamH quit (Ping timeout: 240 seconds) 2017-09-04T15:43:50Z damke quit (Ping timeout: 240 seconds) 2017-09-04T15:45:37Z Xal quit (Ping timeout: 240 seconds) 2017-09-04T15:47:25Z Xal joined #lisp 2017-09-04T15:49:40Z nowhere_man quit (Read error: Connection reset by peer) 2017-09-04T15:51:53Z rumbler31 joined #lisp 2017-09-04T15:56:33Z sz0 quit (Quit: Connection closed for inactivity) 2017-09-04T15:57:14Z vtomole joined #lisp 2017-09-04T15:59:46Z nowhere_man joined #lisp 2017-09-04T16:00:27Z rpg joined #lisp 2017-09-04T16:02:01Z sjl quit (Ping timeout: 260 seconds) 2017-09-04T16:03:45Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-04T16:04:27Z troydm joined #lisp 2017-09-04T16:05:44Z vtomole: clhs macroexpand 2017-09-04T16:05:45Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_mexp_.htm 2017-09-04T16:10:44Z varjag quit (Quit: bbl) 2017-09-04T16:13:31Z Mon_Ouie joined #lisp 2017-09-04T16:14:30Z Karl_Dscc joined #lisp 2017-09-04T16:16:20Z FreeBirdLjj joined #lisp 2017-09-04T16:18:47Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-04T16:19:17Z rpg joined #lisp 2017-09-04T16:21:12Z Karl_Dscc quit (Remote host closed the connection) 2017-09-04T16:34:15Z arbv_ joined #lisp 2017-09-04T16:34:15Z arbv quit (Read error: Connection reset by peer) 2017-09-04T16:34:18Z arbv_ is now known as arbv 2017-09-04T16:36:08Z rumbler31 quit (Remote host closed the connection) 2017-09-04T16:36:35Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-04T16:39:10Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-09-04T16:46:20Z rumbler31 joined #lisp 2017-09-04T16:46:26Z Amplituhedron joined #lisp 2017-09-04T16:47:11Z Murii|linux quit (Ping timeout: 255 seconds) 2017-09-04T16:49:24Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-04T16:55:01Z fiddlerwoaroof: garnet does work on Linux still 2017-09-04T16:59:10Z rumbler31 quit (Remote host closed the connection) 2017-09-04T16:59:55Z knicklux joined #lisp 2017-09-04T17:00:26Z defaultxr joined #lisp 2017-09-04T17:00:38Z Lowl3v3l joined #lisp 2017-09-04T17:01:28Z damke joined #lisp 2017-09-04T17:02:00Z damke_ quit (Read error: Connection reset by peer) 2017-09-04T17:02:15Z varjag joined #lisp 2017-09-04T17:02:42Z m00natic quit (Remote host closed the connection) 2017-09-04T17:06:06Z phinxy joined #lisp 2017-09-04T17:12:07Z palter joined #lisp 2017-09-04T17:18:13Z beach` joined #lisp 2017-09-04T17:22:22Z beach quit (Ping timeout: 255 seconds) 2017-09-04T17:25:17Z joast joined #lisp 2017-09-04T17:28:46Z vlatkoB_ joined #lisp 2017-09-04T17:32:34Z vlatkoB quit (Ping timeout: 240 seconds) 2017-09-04T17:32:47Z Th30n joined #lisp 2017-09-04T17:33:21Z joast quit (Ping timeout: 248 seconds) 2017-09-04T17:36:28Z xuxuru joined #lisp 2017-09-04T17:40:21Z phinxy quit (Quit: Leaving) 2017-09-04T17:42:25Z quazimodo quit (Read error: Connection reset by peer) 2017-09-04T17:42:40Z quazimodo joined #lisp 2017-09-04T17:48:53Z joast joined #lisp 2017-09-04T17:53:53Z hexfive joined #lisp 2017-09-04T17:55:35Z nsnc_ quit (Ping timeout: 255 seconds) 2017-09-04T17:58:37Z nsnc_ joined #lisp 2017-09-04T17:59:41Z rumbler31 joined #lisp 2017-09-04T18:02:51Z beach` is now known as beach 2017-09-04T18:03:56Z rumbler31 quit (Ping timeout: 260 seconds) 2017-09-04T18:17:44Z satran joined #lisp 2017-09-04T18:19:21Z emaczen joined #lisp 2017-09-04T18:19:38Z emaczen: How could I use hunchentoot to monitor traffic? 2017-09-04T18:23:05Z marvin3: .. 2017-09-04T18:27:30Z damke quit (Ping timeout: 240 seconds) 2017-09-04T18:28:16Z dieggsy joined #lisp 2017-09-04T18:28:29Z abbe_ joined #lisp 2017-09-04T18:28:30Z galdor1 joined #lisp 2017-09-04T18:28:47Z AntiSpamMeta_ joined #lisp 2017-09-04T18:28:47Z AntiSpamMeta quit (Killed (moon.freenode.net (Nickname regained by services))) 2017-09-04T18:28:47Z AntiSpamMeta_ is now known as AntiSpamMeta 2017-09-04T18:28:53Z cpape` joined #lisp 2017-09-04T18:29:23Z tobel_ joined #lisp 2017-09-04T18:30:05Z tfb_ joined #lisp 2017-09-04T18:30:09Z jyc_ joined #lisp 2017-09-04T18:30:15Z redcedar_ joined #lisp 2017-09-04T18:31:06Z vtomole: I use google analytics 2017-09-04T18:32:22Z emaczen: vtomole: I don't care too much about lots of details and would be happy just logging visits 2017-09-04T18:32:59Z abbe quit (Disconnected by services) 2017-09-04T18:33:04Z abbe_ is now known as abbe 2017-09-04T18:35:27Z vtomole: You want to count how many requests are made to your server, or how many times different pages are accessed? 2017-09-04T18:35:35Z arrsim_ joined #lisp 2017-09-04T18:35:41Z malm quit (Killed (adams.freenode.net (Nickname regained by services))) 2017-09-04T18:35:44Z malm joined #lisp 2017-09-04T18:35:59Z rjeli_ joined #lisp 2017-09-04T18:36:07Z ikopico_ joined #lisp 2017-09-04T18:37:45Z sigjuice_ joined #lisp 2017-09-04T18:37:45Z cobol_ joined #lisp 2017-09-04T18:37:45Z Th30n quit (Quit: ERC (IRC client for Emacs 25.2.1)) 2017-09-04T18:37:45Z SaganMan quit (*.net *.split) 2017-09-04T18:37:45Z arrsim quit (*.net *.split) 2017-09-04T18:37:45Z galdor quit (*.net *.split) 2017-09-04T18:37:45Z Orion3k quit (*.net *.split) 2017-09-04T18:37:45Z jack_rabbit quit (*.net *.split) 2017-09-04T18:37:45Z jdz quit (*.net *.split) 2017-09-04T18:37:45Z hsu quit (*.net *.split) 2017-09-04T18:37:45Z trigt[m] quit (*.net *.split) 2017-09-04T18:37:45Z sigjuice quit (*.net *.split) 2017-09-04T18:37:45Z cobol quit (*.net *.split) 2017-09-04T18:37:45Z jyc quit (*.net *.split) 2017-09-04T18:37:45Z kjeldahl quit (*.net *.split) 2017-09-04T18:37:45Z reu quit (*.net *.split) 2017-09-04T18:37:45Z rjeli quit (*.net *.split) 2017-09-04T18:37:45Z ikopico quit (*.net *.split) 2017-09-04T18:37:45Z tfb quit (*.net *.split) 2017-09-04T18:37:45Z brandonz quit (*.net *.split) 2017-09-04T18:37:45Z gingerale quit (*.net *.split) 2017-09-04T18:37:45Z redcedar quit (*.net *.split) 2017-09-04T18:37:45Z tobel quit (*.net *.split) 2017-09-04T18:37:45Z cpape quit (*.net *.split) 2017-09-04T18:37:45Z ikopico_ is now known as ikopico 2017-09-04T18:37:45Z arrsim_ is now known as arrsim 2017-09-04T18:37:45Z tfb_ is now known as tfb 2017-09-04T18:37:45Z reu joined #lisp 2017-09-04T18:37:45Z tobel_ is now known as tobel 2017-09-04T18:37:45Z redcedar_ is now known as redcedar 2017-09-04T18:37:45Z jyc_ is now known as jyc 2017-09-04T18:38:06Z emaczen: vtomole: I think the first step would be to track how many page visits I get, then I would like to get unique page visits 2017-09-04T18:38:16Z deba5e12 joined #lisp 2017-09-04T18:39:36Z raydeejay quit (Ping timeout: 269 seconds) 2017-09-04T18:40:36Z jurov quit (Ping timeout: 240 seconds) 2017-09-04T18:40:52Z SAL9000_ joined #lisp 2017-09-04T18:41:34Z shka_ quit (Write error: Broken pipe) 2017-09-04T18:41:34Z vlatkoB_ quit (Write error: Broken pipe) 2017-09-04T18:41:34Z justinmcp quit (Write error: Broken pipe) 2017-09-04T18:41:34Z dmiles quit (Write error: Broken pipe) 2017-09-04T18:41:35Z mrSpec quit (Excess Flood) 2017-09-04T18:41:36Z SAL9000 quit (Quit: ZNC - http://znc.in) 2017-09-04T18:41:36Z mishoo__ quit (Remote host closed the connection) 2017-09-04T18:41:37Z shrdlu68: emaczen: I think you can specialize logging methods. 2017-09-04T18:41:47Z mrSpec joined #lisp 2017-09-04T18:42:10Z raydeejay joined #lisp 2017-09-04T18:42:11Z mrSpec is now known as Guest76270 2017-09-04T18:42:11Z justinmcp joined #lisp 2017-09-04T18:42:13Z jurov joined #lisp 2017-09-04T18:42:15Z shka_ joined #lisp 2017-09-04T18:42:16Z mishoo__ joined #lisp 2017-09-04T18:42:22Z vlatkoB joined #lisp 2017-09-04T18:42:42Z dmiles joined #lisp 2017-09-04T18:43:03Z shrdlu68: That way you get IPs, referrals, etc. with every hit. 2017-09-04T18:43:19Z Orion3k joined #lisp 2017-09-04T18:43:32Z gingerale joined #lisp 2017-09-04T18:43:43Z jack_rabbit joined #lisp 2017-09-04T18:43:47Z emaczen: shrdlu68: I think what I am going to do inside my handlers, is write the *request* object or pieces of it to a file 2017-09-04T18:43:55Z brandonz joined #lisp 2017-09-04T18:45:08Z kjeldahl joined #lisp 2017-09-04T18:47:05Z trigt[m] joined #lisp 2017-09-04T18:48:29Z Guest42768 joined #lisp 2017-09-04T18:49:38Z Guest42768: hi there 2017-09-04T18:50:59Z Guest76270 quit (Changing host) 2017-09-04T18:50:59Z Guest76270 joined #lisp 2017-09-04T18:51:09Z Guest76270 is now known as mrSpec 2017-09-04T18:58:09Z Guest42768 left #lisp 2017-09-04T18:58:14Z Murii|linux joined #lisp 2017-09-04T18:59:00Z Amplituhedron quit (Read error: Connection reset by peer) 2017-09-04T19:00:24Z rpg joined #lisp 2017-09-04T19:01:38Z raynold joined #lisp 2017-09-04T19:07:28Z EvW joined #lisp 2017-09-04T19:08:17Z impulse quit (Ping timeout: 248 seconds) 2017-09-04T19:10:20Z impulse joined #lisp 2017-09-04T19:13:04Z Mon_Ouie quit (Ping timeout: 240 seconds) 2017-09-04T19:14:30Z nassim joined #lisp 2017-09-04T19:16:39Z nassim left #lisp 2017-09-04T19:16:57Z Mon_Ouie joined #lisp 2017-09-04T19:17:56Z phoe: hey Gue... oh 2017-09-04T19:24:36Z mishoo_ joined #lisp 2017-09-04T19:25:54Z mishoo__ quit (Ping timeout: 248 seconds) 2017-09-04T19:27:04Z Mon_Ouie quit (Ping timeout: 240 seconds) 2017-09-04T19:29:04Z renfield1 joined #lisp 2017-09-04T19:29:24Z dieggsy quit (Quit: ERC (IRC client for Emacs 26.0.50)) 2017-09-04T19:29:53Z renfield1 quit (Remote host closed the connection) 2017-09-04T19:31:30Z deba5e12 quit (Ping timeout: 255 seconds) 2017-09-04T19:35:40Z vlatkoB quit (Remote host closed the connection) 2017-09-04T19:36:47Z slyrus quit (Quit: restarting) 2017-09-04T19:37:16Z slyrus joined #lisp 2017-09-04T19:38:00Z BlueRavenGT joined #lisp 2017-09-04T19:38:18Z knicklux quit (Ping timeout: 246 seconds) 2017-09-04T19:38:58Z scymtym_ quit (Ping timeout: 246 seconds) 2017-09-04T19:39:38Z knicklux joined #lisp 2017-09-04T19:40:20Z deba5e12 joined #lisp 2017-09-04T19:43:54Z knicklux quit (Client Quit) 2017-09-04T19:45:51Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-04T19:51:53Z rpg joined #lisp 2017-09-04T19:56:30Z hexfive quit (Quit: WeeChat 1.9) 2017-09-04T19:59:15Z jdz joined #lisp 2017-09-04T20:02:08Z Ven`` joined #lisp 2017-09-04T20:04:35Z Ven``: Hi! I'd like to try a quickfix on some lib that's a dependency on another lib I'm using. Not sure what's the correct way to go. Using the package and redefining the symbol? Editing the source code quicklisp downloaded? Thanks 2017-09-04T20:04:53Z shka_ quit (Ping timeout: 252 seconds) 2017-09-04T20:06:09Z jackdaniel: Ven``: clone the library to ~/quicklisp/local-projects/ and modify sources there 2017-09-04T20:06:31Z jackdaniel: quicklisp will pick your version library first 2017-09-04T20:07:12Z jackdaniel: s/version/version of/ 2017-09-04T20:07:25Z ralt joined #lisp 2017-09-04T20:07:36Z Ven``: jackdaniel: nice, thanks! will try. Fukamachi has a lot of nice-looking CL libs, but sometimes the answers to issues&PRs take a long time 2017-09-04T20:08:19Z jackdaniel: it's hard to blame people for not giving top priority to strangers requests ;) I'm off to sleep, good luck :) 2017-09-04T20:08:39Z vydd joined #lisp 2017-09-04T20:08:39Z vydd quit (Changing host) 2017-09-04T20:08:39Z vydd joined #lisp 2017-09-04T20:08:52Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-04T20:09:10Z Ven``: jackdaniel: Definitely not blaming anyone! That's why I was looking into someway to fix it myself locally :). 2017-09-04T20:10:53Z mfiano: Ven``: Where 'a long time' = never more than not. 2017-09-04T20:11:19Z Ven``: mfiano: sorry? :) 2017-09-04T20:11:37Z mfiano: I am waiting for answers from over a year....like multiple. 2017-09-04T20:11:41Z mfiano: I try to stay away from his race to emit shoddy libraries 2017-09-04T20:11:59Z iqubic: Who are we talking about? 2017-09-04T20:12:01Z Ven``: I don't have the tuits or the knowledge to write better libs, though. 2017-09-04T20:12:07Z mfiano: He is pretty much a lone wolf that doesn't care about community use I gathered 2017-09-04T20:12:09Z Ven``: iqubic: fukamachi 2017-09-04T20:13:53Z Kyo91_ joined #lisp 2017-09-04T20:14:10Z Ven``: Is there a way to check that a special variable is bound? I know it's kinda a hack, but it's just to Make It Work™ on my local-projects fork 2017-09-04T20:14:51Z Shinmera: boundp 2017-09-04T20:15:59Z iqubic: Are there any good Lisp test frameworks? 2017-09-04T20:16:10Z Shinmera: There's at least three brazillion. 2017-09-04T20:16:35Z Shinmera: It is estimated that at least one test framework spontaneously springs into existence every hour. 2017-09-04T20:16:51Z Ven``: Shinmera: btw, thank you so much for all the work you do on CL libs and ecosystem! It's really great. 2017-09-04T20:17:06Z Shinmera: My own test framework would be this: https://shinmera.github.io/parachute/ 2017-09-04T20:17:31Z Shinmera: Ven``: Thank you for the commendation. 2017-09-04T20:18:00Z iqubic: I might write my own test framework in lisp to get a feel for how how Lisp works. 2017-09-04T20:19:31Z whoman: fun and interest is good for learning =) what are ya testing ? 2017-09-04T20:19:48Z iqubic: Nothing at the moment 2017-09-04T20:19:53Z ralt: hello 2017-09-04T20:20:21Z iqubic: whoman: Why is it that many people in #emacs are also here in #lisp? 2017-09-04T20:20:38Z Shinmera: most use emacs to write lisp 2017-09-04T20:21:09Z iqubic: whoman: I hate being banned from #emacs. 2017-09-04T20:21:24Z iqubic: But I'll not complain about that here. 2017-09-04T20:21:32Z Shinmera: Already too late 2017-09-04T20:21:40Z ralt: I'm playing with logical pathnames right now, and I'm getting unexpected results. At least, not what I expected. I was expecting #P"/var/lib/foo/" back, not this. http://paste.lisp.org/display/355069 2017-09-04T20:21:50Z ralt: may anyone tell me what I'm doing wrong? 2017-09-04T20:22:01Z dim: iqubic: there are several good test frameworks already yes, http://www.cliki.net/test%20framework 2017-09-04T20:22:31Z ralt: I've seen some code able to do (translate-logical-pathname #P"FOO:") and get a folder back, and that'd be nice, but I don't understand the magic they've used to do it. 2017-09-04T20:22:31Z dim: iqubic: consider contributing to an existing piece of software / project in an area you like instead? 2017-09-04T20:22:53Z whoman: i can see too many answers for that. digital cloning, office water coolers, emacs is lisp, and shared interests 2017-09-04T20:23:00Z dim: iqubic: if you're into build tools, asdf and Quicklisp and buildapp and other projects certain would appreciate a nice Pull Request from you fixing their bugs... 2017-09-04T20:23:20Z whoman left #lisp 2017-09-04T20:23:23Z whoman joined #lisp 2017-09-04T20:23:46Z whoman: ralt, they might have to be set up (assigned?) elsewhere 2017-09-04T20:24:06Z ralt: whoman: see the paste, it sets up the translation, supposedly 2017-09-04T20:24:06Z iqubic: dim: I'm only just now learning lisp. I don't want to contribute to such a project yet. 2017-09-04T20:24:37Z iqubic: And I'm really new to lisp. 2017-09-04T20:24:48Z whoman: hmm 2017-09-04T20:25:04Z mfiano: Perhaps you should be reading instead of typing then 2017-09-04T20:25:38Z iqubic: mfiano: me, or someone else? 2017-09-04T20:25:53Z Ven``: uhm, (if (boundp '*x*) *x* 0) gives me a style warning :( 2017-09-04T20:25:58Z hsu joined #lisp 2017-09-04T20:26:13Z ralt: iqubic: enjoy writing a test framework! I'm sure you'll grow to like Lisp with time :) 2017-09-04T20:26:46Z whoman: Ven``, doesnt here 2017-09-04T20:27:24Z iqubic: when backquoting something with ` like for writting a macro, what the difference between , and ,@ ? 2017-09-04T20:27:26Z emaczen left #lisp 2017-09-04T20:27:28Z Ven``: (if (boundp '*b*) *b* 1) caught WARNING: Undefined variable: ; *B* 2017-09-04T20:27:45Z mfiano: (defvar *x* 0) ;; now it's zero outside of your environment 2017-09-04T20:27:47Z Ven``: iqubic: ,@ splices a list 2017-09-04T20:27:56Z Ven``: mfiano: sorry? 2017-09-04T20:28:05Z iqubic: What does that mean Ven``? 2017-09-04T20:28:05Z ralt: iqubic: I suggest running `(,(list 1 2 3)) and `(,@(list 1 2 3)) in the REPL :) 2017-09-04T20:28:09Z mfiano: initialize it as zero. 2017-09-04T20:28:26Z scymtym joined #lisp 2017-09-04T20:28:31Z Ven``: mfiano: I don't want to, I want it to be runnable outside of this little hack snippet 2017-09-04T20:28:46Z whoman: how is it possible? -> (length a) => 4, (car a) => nil ?? 2017-09-04T20:28:57Z mfiano: That will do that. Though you haven't shown us code either 2017-09-04T20:29:00Z Ven``: whoman: (cons nil nil) 2017-09-04T20:29:06Z iqubic: I'm not sure I see the difference ralt. 2017-09-04T20:29:11Z whoman: Ven``, aha, ty 2017-09-04T20:29:20Z iqubic: , gives me ((1 2 3)) 2017-09-04T20:29:27Z iqubic: ,@ gives me (1 2 3) 2017-09-04T20:29:44Z ralt: iqubic: in the second case, the list has been "spliced" 2017-09-04T20:29:55Z Ven``: iqubic: check the depth difference 2017-09-04T20:30:04Z ralt: iqubic: as in, the list itself has been removed, and only the elements are left 2017-09-04T20:30:09Z ralt: (somehow) 2017-09-04T20:30:27Z AxelAlex quit (Quit: AxelAlex) 2017-09-04T20:30:32Z Ven``: mfiano: yeah sorry, I'm trying to hack a lib together that isn't passing a special variable to a thread when it should :\ but it's between 2 libs 2017-09-04T20:30:56Z |3b|: Ven``: if you want to check a special variable but don't want to globally define it as special, declare it special locally 2017-09-04T20:31:03Z mfiano: special variables lose their environment across threads 2017-09-04T20:31:03Z iqubic: ralt: Do you use list splicing in macros? 2017-09-04T20:31:23Z ralt: iqubic: in macros or in normal code too 2017-09-04T20:31:41Z |3b|: (locally (declare (special *b*)) (if (boundp '*b*) *b* 1)) 2017-09-04T20:32:02Z Ven``: mfiano: how bad it is if they lose their env? 2017-09-04T20:32:43Z |3b|: implementations disagree on how non-global special variable bindings interact with thread creation 2017-09-04T20:33:01Z JuanDaugherty joined #lisp 2017-09-04T20:33:11Z |3b|: so if you want multiple threads to see same binding, you should probably use the global binding 2017-09-04T20:34:23Z Ven``: |3b|: the dynamic variable is created by cl-async ( https://github.com/orthecreedence/cl-async/blob/master/src/event-loop.lisp#L93-L96 ) but I want wesocket-driver to pass it to the thread it's creating, if it's defined ( https://github.com/fukamachi/websocket-driver/blob/b9205073469faa2d2bf21aa05d033618deb79990/src/ws/client.lisp#L189 ), so that my new thread can use the event loop. 2017-09-04T20:34:26Z Ven``: I'm trying to do that here 2017-09-04T20:34:58Z Ven``: apparently I need to prefix it with the package though, whoops. 2017-09-04T20:35:16Z |3b|: yeah, using the right symbol helps too :) 2017-09-04T20:35:51Z ralt: why does emacs add a space after #P when I type a "? 2017-09-04T20:36:08Z mfiano: That is paredit 2017-09-04T20:36:14Z mfiano: Not emacs 2017-09-04T20:36:26Z mfiano: Use something else for paren handling, or patch it not to 2017-09-04T20:36:38Z ralt: is that a common convention? 2017-09-04T20:37:00Z mfiano: No 2017-09-04T20:37:00Z ralt: I don't really care, I just use whatever convention is defined, but that's weird, because most of the code I've read doesn't have this space afaik 2017-09-04T20:37:04Z terpri quit (Ping timeout: 240 seconds) 2017-09-04T20:37:19Z Ven``: Let's try with (*event-base* . ,cl-async-base:*event-base*) :-) 2017-09-04T20:37:28Z mfiano: Right, it's an issue with paredit that many people do not like, but paredit is not the most maintained of software 2017-09-04T20:37:39Z Shinmera: You can circumvent it like so: https://github.com/Shinmera/.emacs/blob/master/shinmera-lisp.el#L111 2017-09-04T20:37:41Z mfiano: Luckily there are multiple alternatives these days 2017-09-04T20:38:18Z ralt: Shinmera: thanks 2017-09-04T20:39:41Z ralt: mfiano: I'll look around. But change.. ugh :P 2017-09-04T20:41:51Z malice joined #lisp 2017-09-04T20:47:11Z Denommus joined #lisp 2017-09-04T20:47:45Z satran quit (Remote host closed the connection) 2017-09-04T20:47:52Z malice quit (Read error: Connection reset by peer) 2017-09-04T20:51:41Z attila_lendvai joined #lisp 2017-09-04T20:51:41Z attila_lendvai quit (Changing host) 2017-09-04T20:51:41Z attila_lendvai joined #lisp 2017-09-04T20:53:17Z malice joined #lisp 2017-09-04T20:55:12Z oleo quit (Ping timeout: 255 seconds) 2017-09-04T20:57:48Z pierpa joined #lisp 2017-09-04T21:04:42Z Ven``: when I'm in a (break), am I supposed to be able to access any surrounding variables? maybe I should declare (debug 3) huh 2017-09-04T21:04:52Z rumbler31 joined #lisp 2017-09-04T21:07:10Z malice: Ven`` it depends on implementation, declaring higher debug levels helps 2017-09-04T21:07:55Z searcher2 joined #lisp 2017-09-04T21:09:03Z searcher3 quit (Read error: Connection reset by peer) 2017-09-04T21:09:10Z malice quit (Remote host closed the connection) 2017-09-04T21:09:36Z malice joined #lisp 2017-09-04T21:10:50Z Murii|linux quit (Remote host closed the connection) 2017-09-04T21:12:36Z Lowl3v3l quit (Remote host closed the connection) 2017-09-04T21:13:54Z rumbler31 quit (Remote host closed the connection) 2017-09-04T21:17:22Z Kyo91_ quit (Ping timeout: 248 seconds) 2017-09-04T21:17:38Z malice quit (Remote host closed the connection) 2017-09-04T21:22:43Z angavrilov quit (Remote host closed the connection) 2017-09-04T21:35:34Z mishoo_ quit (Ping timeout: 240 seconds) 2017-09-04T21:41:07Z quazimodo quit (Read error: Connection reset by peer) 2017-09-04T21:41:53Z Ven`` quit (Ping timeout: 260 seconds) 2017-09-04T21:42:06Z varjag quit (Ping timeout: 240 seconds) 2017-09-04T21:45:15Z Karl_Dscc joined #lisp 2017-09-04T21:45:39Z prxq joined #lisp 2017-09-04T21:47:49Z varjag joined #lisp 2017-09-04T21:52:36Z varjag quit (Ping timeout: 260 seconds) 2017-09-04T22:03:58Z renfield1 joined #lisp 2017-09-04T22:06:53Z renfield1 quit (Remote host closed the connection) 2017-09-04T22:13:36Z troydm quit (Ping timeout: 260 seconds) 2017-09-04T22:17:00Z renfield1 joined #lisp 2017-09-04T22:17:13Z renfield1 quit (Remote host closed the connection) 2017-09-04T22:18:02Z renfield1 joined #lisp 2017-09-04T22:18:09Z renfield1 quit (Remote host closed the connection) 2017-09-04T22:19:20Z renfield1 joined #lisp 2017-09-04T22:19:49Z renfield1 quit (Remote host closed the connection) 2017-09-04T22:20:41Z ralt quit (Remote host closed the connection) 2017-09-04T22:22:09Z troydm joined #lisp 2017-09-04T22:22:13Z AxelAlex joined #lisp 2017-09-04T22:24:19Z Ven joined #lisp 2017-09-04T22:24:42Z Ven is now known as Guest88896 2017-09-04T22:25:27Z Karl_Dscc quit (Remote host closed the connection) 2017-09-04T22:25:42Z AxelAlex quit (Client Quit) 2017-09-04T22:35:15Z terpri joined #lisp 2017-09-04T22:37:48Z renfield1 joined #lisp 2017-09-04T22:38:53Z xuxuru quit (Quit: xuxuru) 2017-09-04T22:39:12Z raynold quit (Quit: Connection closed for inactivity) 2017-09-04T22:40:51Z renfield1 quit (Remote host closed the connection) 2017-09-04T22:41:05Z margeas quit (Quit: Konversation terminated!) 2017-09-04T22:49:16Z wxie joined #lisp 2017-09-04T22:52:07Z sellout- joined #lisp 2017-09-04T22:52:47Z Guest88896 quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-04T22:52:47Z sellout- quit (Read error: Connection reset by peer) 2017-09-04T22:52:55Z sellout- joined #lisp 2017-09-04T23:00:30Z scymtym quit (Ping timeout: 240 seconds) 2017-09-04T23:16:14Z cromachina joined #lisp 2017-09-04T23:20:13Z Kaisyu joined #lisp 2017-09-04T23:20:15Z JohnTalent joined #lisp 2017-09-04T23:25:00Z quazimodo joined #lisp 2017-09-04T23:28:56Z emacsomancer joined #lisp 2017-09-04T23:33:04Z BitPuffin|osx quit (Ping timeout: 255 seconds) 2017-09-04T23:35:59Z arescorpio joined #lisp 2017-09-04T23:40:01Z JuanDaugherty quit (Quit: Ex Chat) 2017-09-04T23:52:22Z EvW quit (Ping timeout: 246 seconds) 2017-09-05T00:11:47Z nivpgir joined #lisp 2017-09-05T00:12:16Z nivpgir: hi, anyone here? 2017-09-05T00:13:31Z pillton: nivpgir: It is better to ask the question. 2017-09-05T00:15:06Z nivpgir: yeah, of course... I just didnt have much luck on other channel so I wanted to make sure 2017-09-05T00:15:12Z nivpgir: anyways... 2017-09-05T00:17:21Z nivpgir: im using ecl for a pretty simple script, but the ext:process-command-args doesnt seem to work. I cant even make it run the example they have on: https://common-lisp.net/project/ecl/static/manual/rn01re61.html 2017-09-05T00:18:20Z nivpgir: its supposed to parse the args and run the appropriate forms, but it always jumps to the *default* rule... 2017-09-05T00:19:42Z pillton: I would use a portable argument parser. 2017-09-05T00:20:50Z palter quit 2017-09-05T00:21:44Z nivpgir: ok, I can of course try that, I just thought it would be easier to just use something thats standard to the compiler... 2017-09-05T00:21:48Z pillton: There is lisp-executable, command-line-arguments, CLON and a few others I think. 2017-09-05T00:22:40Z nivpgir: anyways, I mostly want to see if someone has some experience and knows what might be the problem before I file a bug 2017-09-05T00:23:33Z mfiano: I know uiop has at least some command line argument parsing, though may not be as exhaustive as the ones mentioned above. The benefit is it's included with asdf3 2017-09-05T00:24:00Z mfiano: I would definitely try to write portable code, too, though. 2017-09-05T00:26:24Z nivpgir: Its not for a project, its basically a small script to control the screen brightness for my personal use only, and so I can compile for wach system Im using (which is only 1 atm) 2017-09-05T00:27:11Z nivpgir: anyways I feel like Im wasting your time by now 2017-09-05T00:27:37Z mfiano: So why would you rewrite that script should ECL stop functioning/being maintained in the future? 2017-09-05T00:27:56Z mfiano: Portable code saves time 2017-09-05T00:30:37Z nivpgir: yes, well, I wasnt trying to say that its not really a good idea to write protable code, just that my considerations were writing this script faster, and more conveniently, and I thought that function would be easier to implement for my case, obviously I was wrong... 2017-09-05T00:31:12Z nivpgir: If no one on #ecl will answer me soon Ill just file a bug and use some other library 2017-09-05T00:31:16Z mfiano: Well, as long as you are sure that the ECL API you are using is frozen, like the ANSI standard, then the only argument I have is the above. 2017-09-05T00:31:34Z mfiano: The ECL maintainer went to bed not very long ago. You will have better luck tomorrow 2017-09-05T00:32:09Z nivpgir: wow, seriously? you guys know that? cool... 2017-09-05T00:32:17Z nivpgir: well, Ill go to bed too... 2017-09-05T00:32:29Z sellout- quit (Quit: Leaving.) 2017-09-05T00:32:38Z nivpgir: Thanks anyway 2017-09-05T00:32:43Z Denommus quit (Quit: going home) 2017-09-05T00:33:09Z malice joined #lisp 2017-09-05T00:36:42Z pillton: nivpgir: The args argument in ext:process-command-args defaults to (ext:command-args). 2017-09-05T00:37:21Z pillton: nivpgir: I don't know how you are invoking your script, but I would assume that the list returned by (ext:command-args) contains values you are not expecting. 2017-09-05T00:37:58Z nivpgir: im executing it with 'ecl --shell' 2017-09-05T00:38:15Z pillton: Insert (print (ext:command-args)) before the (setq ...) form and you will see what it contains. 2017-09-05T00:39:57Z pillton: So you need to use (ext:process-command-args :rules +ls-rules+ :args (subseq (ext:command-args) 3)). 2017-09-05T00:40:40Z pillton: Personally, I would recommend you stop using this API. 2017-09-05T00:41:03Z pillton: It relies on eval. 2017-09-05T00:42:15Z nivpgir: ive done that... this is what I get: "/usr/bin/ecl --shell ./cl-brightness-control.lisp" 2017-09-05T00:42:33Z malice quit (Remote host closed the connection) 2017-09-05T00:44:29Z nivpgir: from my understanding it skips the first arg, and the "--shell" should just be skipped since its not matched 2017-09-05T00:44:50Z nivpgir: and maybe in the end cause default to run 2017-09-05T00:50:21Z pillton: My tests suggest it doesn't do any of that which is why I suggested you use subseq. 2017-09-05T00:51:04Z nivpgir: guess youre right, I just got the same 2017-09-05T00:51:44Z Jesin quit (Ping timeout: 248 seconds) 2017-09-05T00:52:13Z nivpgir: well ill just go now and rewrite it to use something different for arg parsing 2017-09-05T00:52:17Z nivpgir: good night 2017-09-05T00:52:26Z pillton: Good night. 2017-09-05T00:56:30Z nivpgir quit (Ping timeout: 240 seconds) 2017-09-05T01:00:49Z wxie quit (Remote host closed the connection) 2017-09-05T01:01:46Z d4ryus1 joined #lisp 2017-09-05T01:05:21Z iqubic_ joined #lisp 2017-09-05T01:05:21Z d4ryus quit (Ping timeout: 248 seconds) 2017-09-05T01:06:13Z iqubic quit (Ping timeout: 255 seconds) 2017-09-05T01:13:50Z Jesin joined #lisp 2017-09-05T01:18:07Z fiddlerwoaroof: Anyone here involved in the maintenance of parse-js? 2017-09-05T01:21:26Z grublet quit (Ping timeout: 260 seconds) 2017-09-05T01:24:03Z iqubic_ quit (Remote host closed the connection) 2017-09-05T01:32:24Z sellout- joined #lisp 2017-09-05T01:32:27Z sellout- quit (Client Quit) 2017-09-05T01:41:43Z Ca2n joined #lisp 2017-09-05T01:42:59Z Ca2n quit (Max SendQ exceeded) 2017-09-05T01:49:06Z carld joined #lisp 2017-09-05T01:50:49Z EvilAngel joined #lisp 2017-09-05T01:52:40Z EvilAngel: is there any reason why common lisp cannot be used for the same things Python and Ruby are? 2017-09-05T01:54:46Z loke: EvilAngel: No. 2017-09-05T01:55:07Z EvilAngel: certainly is not just a robust regex engine or the fact that they are designed for sysadmin and hackers. all this time and I'm still wondering why common lisp didn't gain more traction 2017-09-05T01:55:34Z EvilAngel: the one thing common-lisp did for me was make me hate programming in other languages 2017-09-05T01:56:06Z loke: EvilAngel: Well, the reason is more because it's not the competent people who chooses a "winning" technology, but rather the "lazy masses" 2017-09-05T01:56:17Z nsnc_ quit (Ping timeout: 240 seconds) 2017-09-05T01:56:22Z loke: That, and luck, I guess. 2017-09-05T01:56:30Z EvilAngel: ahh yes, so good marketing 2017-09-05T01:56:35Z EvilAngel: lol 2017-09-05T01:58:35Z loke: It's very rarely the best technology that "wins". Fortunately, it's also rarely the worst one. It's just that while better technology will still live on (like Lisp), truly worse technology is quickly forgotten (such as ST BASIC, do you remember that one? Didn't think so). Thus, you end up with a range where you have less-used great technology at the top, and the commonly used stuff at the bottom. 2017-09-05T01:58:46Z saki quit (Ping timeout: 260 seconds) 2017-09-05T01:58:57Z d4ryus2 joined #lisp 2017-09-05T02:01:34Z saki joined #lisp 2017-09-05T02:02:05Z d4ryus1 quit (Ping timeout: 240 seconds) 2017-09-05T02:03:12Z EvilAngel quit (Ping timeout: 248 seconds) 2017-09-05T02:03:35Z pjb quit (Remote host closed the connection) 2017-09-05T02:05:31Z pjb joined #lisp 2017-09-05T02:06:33Z EvilAngel joined #lisp 2017-09-05T02:06:33Z EvilAngel quit (Client Quit) 2017-09-05T02:06:43Z EvilAngel joined #lisp 2017-09-05T02:06:43Z EvilAngel quit (Client Quit) 2017-09-05T02:06:52Z EvilAngel joined #lisp 2017-09-05T02:06:52Z EvilAngel quit (Client Quit) 2017-09-05T02:07:53Z EvilAngel joined #lisp 2017-09-05T02:07:53Z EvilAngel quit (Client Quit) 2017-09-05T02:08:08Z EvilAngel joined #lisp 2017-09-05T02:08:08Z EvilAngel quit (Client Quit) 2017-09-05T02:12:49Z jameser joined #lisp 2017-09-05T02:14:55Z arescorpio quit (Excess Flood) 2017-09-05T02:19:34Z marvin3 quit (Ping timeout: 240 seconds) 2017-09-05T02:24:26Z sellout- joined #lisp 2017-09-05T02:33:09Z attila_lendvai quit (Quit: Leaving.) 2017-09-05T02:34:04Z jason_m joined #lisp 2017-09-05T02:39:21Z brendyn joined #lisp 2017-09-05T02:41:22Z vtomole: loke: Does that mean that C is pretty great since it hasn't died yet? 2017-09-05T02:42:37Z loke: vtomole: Well, C was muich better than the rest at the time it came out, for the purpose for which it was designed. 2017-09-05T02:43:12Z loke: Note, however, that one of those purposes was the ability to run on woefully underpowered hardware. 2017-09-05T02:43:39Z loke: Now, it's just intertia, which means that it occupies the other extreeme on the scape. 2017-09-05T02:43:45Z loke: scale 2017-09-05T02:44:29Z pierpa quit (Quit: Page closed) 2017-09-05T02:45:07Z vtomole: A gc-less lisp sounds ridculous, but it would be good for low-level programming I bet. 2017-09-05T02:47:54Z fiddlerwoaroof: vtomole: there are some gc-less lisps around 2017-09-05T02:48:16Z loke: vtomole: There were plenty of systems programming lagnauges around the time C came out. Mutlics were programmed in PLI for example. 2017-09-05T02:48:18Z fiddlerwoaroof: Things like this: https://github.com/wolfgangj/bone-lisp 2017-09-05T02:50:44Z vtomole: People being afraid of parentheses is very unfortunate. 2017-09-05T02:54:09Z test1600 joined #lisp 2017-09-05T02:55:02Z fiddlerwoaroof every once in a while I try erc again and I always endup back in weechat 2017-09-05T02:55:06Z loke: vtomole: They sure don't seem to be scared of } 2017-09-05T02:55:17Z vtomole: My brother doesn't know how to program. So Lisp is the first language i'm teaching him. I wonder how he will feel towards other languages since he is very comfotable with s-expressions. 2017-09-05T02:55:47Z loke: Most C code I've seen has 10 lines of nothing but }. However, putting them each on their own line is apparently scarier than putting them all tat the end? ))))) 2017-09-05T02:57:19Z fiddlerwoaroof: I guess we could lure C programmers in with this: http://paste.lisp.org/+7K7C 2017-09-05T02:57:48Z prxq_ joined #lisp 2017-09-05T02:59:04Z vtomole: fiddlerwoaroof: LMAO 2017-09-05T03:00:11Z vtomole: Write a lot of read macros so C programmers have no idea they are hacking on a Lisp. 2017-09-05T03:02:05Z prxq quit (Ping timeout: 240 seconds) 2017-09-05T03:02:08Z loke: fiddlerwoaroof: OK, that was... weird :-) 2017-09-05T03:05:35Z velo-alien quit (Quit: Leaving) 2017-09-05T03:10:47Z iqubic joined #lisp 2017-09-05T03:20:24Z whoman: hmm so read macros are powerful stuff eh 2017-09-05T03:20:38Z fiddlerwoaroof: Yeah, although you shouldn't usually use them 2017-09-05T03:20:43Z iqubic: all macrows are powerful 2017-09-05T03:21:01Z whoman: for DSLs mostly , or very specific patterns 2017-09-05T03:21:14Z fiddlerwoaroof: The main issue with read macros is that they confuse your tooling 2017-09-05T03:21:23Z iqubic: God, I really want to ask for help with emacs stuff, but I'm still banned from #emacs. 2017-09-05T03:21:46Z loke: read macros are incredibly powerful yes. 2017-09-05T03:21:51Z loke: But not all-powerful. 2017-09-05T03:21:56Z whoman: iqubic, whats up ? 2017-09-05T03:21:56Z fiddlerwoaroof: So, if do too much in readmacros, all of a sudden your text editor's ability to help you is quite diminished 2017-09-05T03:22:09Z fiddlerwoaroof: iqubic: you might ask in #lispcafe 2017-09-05T03:22:10Z whoman: hm good point 2017-09-05T03:23:00Z whoman: some things help a little. say, math or prolog style stuff. and dsl or special stuff like json . 2017-09-05T03:23:01Z jason_m quit (Remote host closed the connection) 2017-09-05T03:23:13Z whoman: json_macro 2017-09-05T03:23:39Z iqubic: whoman: I was banned from #emacs a few days ago, and the ban hasn't been lifted yet 2017-09-05T03:24:56Z rpg joined #lisp 2017-09-05T03:24:58Z rpg quit (Client Quit) 2017-09-05T03:26:56Z zRecursive joined #lisp 2017-09-05T03:29:36Z vtomole: iqubic: What did you do? 2017-09-05T03:30:41Z EvW joined #lisp 2017-09-05T03:33:52Z edgar-rft: here's how a macrow looks like -> (defmacro crow () (list 'cra 'cra 'cra)) 2017-09-05T03:38:04Z dddddd quit (Remote host closed the connection) 2017-09-05T03:40:53Z Ellenor is now known as frinod 2017-09-05T03:40:57Z frinod is now known as Ellenor 2017-09-05T03:42:12Z pillton: What is the cra operator? 2017-09-05T03:43:09Z iqubic: pillton: It's actually a symbol 2017-09-05T03:43:41Z whoman: iqubic, i was more curious about the emacs questions 2017-09-05T03:44:16Z iqubic: vtomole: I found a lisp function online, and tried to pass it off as my own. On top of that I kept asking very simple questions that could be answered with a simple google search. 2017-09-05T03:45:02Z iqubic: whoman: All of my questions currently fall into the "simple and easily answered with google" catagory at the moment. 2017-09-05T03:45:19Z iqubic: I'll work on solving my issues on my own right now. 2017-09-05T03:45:41Z whoman: okay. looks like you were praying for asking about emacs help is all 2017-09-05T03:45:59Z iqubic: Er.. I was? 2017-09-05T03:46:38Z whoman: God, I really want to ask for help with emacs stuff, but I'm still banned from #emacs. <--- no? i just like talking about emacs and lisp thats all. 2017-09-05T03:46:54Z iqubic: Oh, I see. 2017-09-05T03:47:10Z iqubic: I suppose you can read it as wanting help. 2017-09-05T03:47:19Z iqubic: But no, I don't need help right now. 2017-09-05T03:47:52Z whoman: i know. all i assumed is that you wanted to ask for help with emacs, nothign beyond that. let me know 2017-09-05T03:49:32Z iqubic: All I'm doing now is picking an emacs colorscheme. I don't really need help with that. 2017-09-05T03:49:54Z iqubic: I'm also setting up fonts and other such config stuff. 2017-09-05T03:50:06Z SaganMan joined #lisp 2017-09-05T03:50:08Z iqubic: It's so simple I can just google it 2017-09-05T03:50:54Z whoman: yes. but awesome =) setting up things just right is very important, like an office or work space 2017-09-05T03:54:10Z iqubic: Yeah, I understand. 2017-09-05T03:54:38Z iqubic: I'm going to be using org-mode for all my note taking in school, so I need to get this looking good as soon as possible 2017-09-05T03:59:31Z nowhere_man quit (Ping timeout: 260 seconds) 2017-09-05T04:00:00Z schoppenhauer quit (Ping timeout: 248 seconds) 2017-09-05T04:00:47Z safe joined #lisp 2017-09-05T04:01:26Z shka_ joined #lisp 2017-09-05T04:02:01Z schoppenhauer joined #lisp 2017-09-05T04:07:07Z Bike quit (Ping timeout: 255 seconds) 2017-09-05T04:09:48Z Lowl3v3l joined #lisp 2017-09-05T04:14:18Z EvW1 joined #lisp 2017-09-05T04:14:56Z EvW quit (Ping timeout: 240 seconds) 2017-09-05T04:14:57Z EvW1 is now known as EvW 2017-09-05T04:27:20Z Ellenor is now known as Freinode 2017-09-05T04:27:35Z EvW quit (Ping timeout: 240 seconds) 2017-09-05T04:27:44Z Freinode is now known as Ellenor 2017-09-05T04:29:20Z zaquest joined #lisp 2017-09-05T04:31:07Z beach: Good morning everyone! 2017-09-05T04:32:14Z iqubic: Morning Beach 2017-09-05T04:41:16Z kobain quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2017-09-05T04:41:48Z pjb quit (Remote host closed the connection) 2017-09-05T04:43:53Z Lowl3v3l quit (Quit: Leaving.) 2017-09-05T04:45:51Z oleo joined #lisp 2017-09-05T04:47:59Z vlatkoB joined #lisp 2017-09-05T04:50:22Z BW^- joined #lisp 2017-09-05T04:50:26Z BW^-: a bit OT but #algorithms is asleep: 2017-09-05T04:50:41Z FreeBirdLjj joined #lisp 2017-09-05T04:50:41Z BW^-: for dynamic digraph reachabiity (single/few-source), what libraries/implementations exist out there? 2017-09-05T04:51:48Z loke: BW^-: For Lisp? Are there any graph libraries? 2017-09-05T04:55:05Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-09-05T04:55:35Z BW^-: loke: for any language indeed. lisp would be great of course. 2017-09-05T04:55:46Z BW^-: loke: i don't find any interesting dynamic digraph reachability impl in *any* language 2017-09-05T04:55:47Z BW^-: lol 2017-09-05T04:56:03Z BW^-: it's like the graph scientists are living on their own planet where there are no programming languages and no implementors haha 2017-09-05T04:56:43Z BW^-: http://code-o-matic.blogspot.hk/2010/07/graph-reachability-transitive-closures.html 2017-09-05T04:57:04Z vtomole: Do you ever feel like programming language design has been "solved"? What other new things are there to be discovered? It feels like everything has been done.. 2017-09-05T04:58:04Z iqubic: Yes. Macros are the pinnical of language design. 2017-09-05T04:58:27Z vtomole: How so? 2017-09-05T04:58:59Z iqubic: Lisp Macros are the greatest thing ever. Full Stop. 2017-09-05T04:59:47Z beach: vtomole: It is hard to know what is left to be discovered before someone actually discovers it. 2017-09-05T05:01:15Z edgar-rft: Everything would be much easier if everyhing would be already discovered. Then we would know how much will still need to discover. 2017-09-05T05:04:19Z BW^-: loke: maaaybe this is something https://github.com/DimitrisAndreou/flexigraph/tree/master/src/gr/forth/ics/graph/algo/transitivity 2017-09-05T05:05:22Z vtomole: I don't know. It feels like all the "low-hanging" stuff has been done. Like Physics. Now there is a certain formula to language development. 2017-09-05T05:06:13Z oleo quit (Quit: irc client terminated!) 2017-09-05T05:07:20Z vtomole: Is there a pressing problem in PL theory right now? 2017-09-05T05:09:34Z loke: vtomole: For CS guys, there always is 2017-09-05T05:09:37Z loke: http://lambda-the-ultimate.org/node/5466 2017-09-05T05:10:14Z LooneyTunes joined #lisp 2017-09-05T05:11:19Z dec0n joined #lisp 2017-09-05T05:11:31Z loke: http://lambda-the-ultimate.org/node/5436 2017-09-05T05:11:40Z loke: “Program slicing provides explanations that illustrate how program outputs were produced from inputs. We build on an approach introduced in prior work by Perera et al., where dynamic slicing was defined for pure higher-order functional programs as a Galois connection between lattices of partial inputs and partial outputs. We extend this approach to imperative functional programs that combine higher-order programming with references and 2017-09-05T05:11:41Z loke: exceptions. We present proofs of correctness and optimality of our approach and a proof-of-concept implementation and experimental evaluation.” 2017-09-05T05:12:18Z vtomole: loke: Nice: http://graydon2.dreamwidth.org/253769.html 2017-09-05T05:12:34Z vtomole: That's what i needed, i was getting bummed out. 2017-09-05T05:12:59Z vtomole: Looks like the trend is towards more strict type systems though. 2017-09-05T05:13:01Z carld quit (Ping timeout: 260 seconds) 2017-09-05T05:13:14Z vtomole: *static* 2017-09-05T05:13:46Z loke: vtomole: Of course. That's because you can wrote proofs for them, which means more papers and more funding. 2017-09-05T05:13:55Z malice joined #lisp 2017-09-05T05:15:00Z vtomole: I've heard of languages that are strictly proofs haha. 2017-09-05T05:15:09Z vtomole: Coq if i recall 2017-09-05T05:15:09Z beach: loke: Very good point. 2017-09-05T05:15:28Z iqubic: loke: How are things on #emacs? 2017-09-05T05:16:06Z vtomole: Proof of correctness. You mean implementations that have no undefined behaviours? 2017-09-05T05:16:09Z loke: Very quiet. 2017-09-05T05:16:36Z iqubic: loke: I wouldn't know. I'm still banned. 2017-09-05T05:18:49Z iqubic: Still Banned from #emacs that is. 2017-09-05T05:19:32Z loke: vtomole: You might be intersted in this then? 2017-09-05T05:19:32Z loke: http://lambda-the-ultimate.org/node/5276 2017-09-05T05:21:39Z vtomole: loke: Awesome! Seems like the cutting edge stuff comes out of the Haskell people cause they love abstract mathematics more than any other group of hackers I know. 2017-09-05T05:22:13Z vtomole: But their implementations won't be popular cause "math phobia" 2017-09-05T05:25:09Z vtomole: How do you prove a lisp implementation to be correct? 2017-09-05T05:25:40Z edgar-rft: we assume them to be all wrong 2017-09-05T05:26:47Z vtomole: Oh so it's not with proofs that I learn in my Comp sci classes ;) 2017-09-05T05:27:43Z edgar-rft: vtomole: there are some ansi-test suits somewhere... 2017-09-05T05:30:04Z jackdaniel: yeah, ansi-test is on gitlab.common-lisp.net 2017-09-05T05:30:33Z jackdaniel: it covers big parts of the spec, we are adding things from time to time 2017-09-05T05:30:49Z jackdaniel: when we find bug in implementation which isn't tested there 2017-09-05T05:37:50Z flamebeard joined #lisp 2017-09-05T05:39:20Z Karl_Dscc joined #lisp 2017-09-05T05:43:08Z vtomole quit (Ping timeout: 260 seconds) 2017-09-05T05:43:30Z smokeink joined #lisp 2017-09-05T05:50:03Z iqubic: Night all. 2017-09-05T05:50:20Z iqubic: I need to sleep, 2017-09-05T05:50:34Z iqubic quit (Remote host closed the connection) 2017-09-05T05:52:45Z mingus` joined #lisp 2017-09-05T05:53:15Z carld joined #lisp 2017-09-05T05:55:49Z mingus quit (Ping timeout: 240 seconds) 2017-09-05T05:56:48Z froggey quit (Ping timeout: 248 seconds) 2017-09-05T05:57:13Z d4ryus2 is now known as d4ryus 2017-09-05T05:57:54Z carld quit (Ping timeout: 248 seconds) 2017-09-05T05:58:58Z froggey joined #lisp 2017-09-05T06:00:31Z damke joined #lisp 2017-09-05T06:00:54Z safe quit (Quit: Leaving) 2017-09-05T06:03:49Z BlueRavenGT quit (Ping timeout: 240 seconds) 2017-09-05T06:10:41Z Karl_Dscc quit (Remote host closed the connection) 2017-09-05T06:13:50Z carld joined #lisp 2017-09-05T06:16:14Z mishoo_ joined #lisp 2017-09-05T06:18:42Z carld quit (Ping timeout: 248 seconds) 2017-09-05T06:29:52Z varjag joined #lisp 2017-09-05T06:31:38Z vydd quit (Quit: Leaving) 2017-09-05T06:34:19Z carld joined #lisp 2017-09-05T06:37:54Z mingus` is now known as mingus 2017-09-05T06:39:05Z carld quit (Ping timeout: 240 seconds) 2017-09-05T06:41:37Z mishoo_ quit (Ping timeout: 248 seconds) 2017-09-05T06:44:46Z JohnTalent quit (Quit: leaving) 2017-09-05T06:47:49Z ricabrera quit (Ping timeout: 252 seconds) 2017-09-05T06:49:16Z smokeink quit (Ping timeout: 260 seconds) 2017-09-05T06:50:49Z ricabrera joined #lisp 2017-09-05T06:54:53Z carld joined #lisp 2017-09-05T06:55:29Z damke quit (Ping timeout: 240 seconds) 2017-09-05T06:58:18Z damke joined #lisp 2017-09-05T06:59:44Z carld quit (Ping timeout: 248 seconds) 2017-09-05T07:01:34Z damke_ joined #lisp 2017-09-05T07:03:09Z zRecursive quit (Remote host closed the connection) 2017-09-05T07:04:11Z damke quit (Ping timeout: 246 seconds) 2017-09-05T07:12:01Z mishoo joined #lisp 2017-09-05T07:15:27Z carld joined #lisp 2017-09-05T07:16:48Z epipping joined #lisp 2017-09-05T07:18:57Z LooneyTunes quit (Ping timeout: 246 seconds) 2017-09-05T07:19:10Z BW^- quit (Quit: BW^-) 2017-09-05T07:19:15Z Mon_Ouie joined #lisp 2017-09-05T07:19:36Z scymtym joined #lisp 2017-09-05T07:20:01Z carld quit (Ping timeout: 248 seconds) 2017-09-05T07:21:40Z hsu quit (Quit: Connection closed for inactivity) 2017-09-05T07:22:07Z krasnal quit (Read error: Connection reset by peer) 2017-09-05T07:28:02Z shrdlu68 quit (Ping timeout: 264 seconds) 2017-09-05T07:28:25Z shrdlu68 joined #lisp 2017-09-05T07:29:37Z shka_ quit (Ping timeout: 252 seconds) 2017-09-05T07:35:58Z carld joined #lisp 2017-09-05T07:40:35Z carld quit (Ping timeout: 240 seconds) 2017-09-05T07:44:30Z prxq_ quit (Remote host closed the connection) 2017-09-05T07:45:48Z Murii joined #lisp 2017-09-05T07:56:33Z carld joined #lisp 2017-09-05T08:01:31Z carld quit (Ping timeout: 252 seconds) 2017-09-05T08:09:41Z carld joined #lisp 2017-09-05T08:10:19Z hjudt: Shinmera: how can i concat string in clips lquery? ex: ... and i need to use something like (attr :id (format nil "r-~a" id)) but that doesn't work in the template. i need to create ids that can be referenced by javascript code for performing ajax requests. 2017-09-05T08:12:34Z ralt joined #lisp 2017-09-05T08:13:49Z carld quit (Ping timeout: 240 seconds) 2017-09-05T08:15:32Z Shinmera: hjudt: It does work if you either escape the " to be part of the attribute, or use ' to delimit the attribute string. 2017-09-05T08:15:54Z Shinmera: as in lquery='(attr :id (format nil "foo" ..))' or lquery="(attr :id (format nil \"foo\" ..))" 2017-09-05T08:16:03Z phinxy joined #lisp 2017-09-05T08:19:35Z hhdave joined #lisp 2017-09-05T08:30:10Z defaultxr quit (Ping timeout: 260 seconds) 2017-09-05T08:30:13Z carld joined #lisp 2017-09-05T08:34:57Z carld quit (Ping timeout: 255 seconds) 2017-09-05T08:48:50Z wigust joined #lisp 2017-09-05T08:55:29Z damke_ quit (Ping timeout: 240 seconds) 2017-09-05T08:56:54Z damke_ joined #lisp 2017-09-05T09:00:00Z hjudt: using single quotes this works, but double quotes cause string-input-strem end-of-file? 2017-09-05T09:01:53Z hjudt: i can live with using single quotes though, the html code looks fine 2017-09-05T09:08:09Z gigetoo quit (Ping timeout: 240 seconds) 2017-09-05T09:08:46Z smokeink joined #lisp 2017-09-05T09:09:07Z gigetoo joined #lisp 2017-09-05T09:09:53Z malice quit (Remote host closed the connection) 2017-09-05T09:10:17Z dkovalev joined #lisp 2017-09-05T09:12:15Z pjb joined #lisp 2017-09-05T09:13:34Z tonton quit (Ping timeout: 255 seconds) 2017-09-05T09:15:12Z tonton joined #lisp 2017-09-05T09:18:54Z larsen` is now known as larsen 2017-09-05T09:20:10Z zaquest quit (Quit: Leaving) 2017-09-05T09:21:45Z zaquest joined #lisp 2017-09-05T09:26:03Z neoncontrails joined #lisp 2017-09-05T09:34:03Z arquebus joined #lisp 2017-09-05T09:35:55Z arquebus quit (Read error: Connection reset by peer) 2017-09-05T09:36:04Z elfmacs joined #lisp 2017-09-05T09:38:25Z krasnal joined #lisp 2017-09-05T09:39:35Z smokeink quit (Ping timeout: 260 seconds) 2017-09-05T09:41:50Z BitPuffin|osx joined #lisp 2017-09-05T09:47:27Z elfmacs quit (Quit: WeeChat 1.9) 2017-09-05T10:00:23Z epipping quit (Ping timeout: 260 seconds) 2017-09-05T10:01:46Z dkovalev quit (Quit: Leaving) 2017-09-05T10:10:04Z searcher2 quit (Ping timeout: 240 seconds) 2017-09-05T10:10:23Z searcher2 joined #lisp 2017-09-05T10:13:31Z nowhere_man joined #lisp 2017-09-05T10:14:41Z jameser quit (Read error: Connection reset by peer) 2017-09-05T10:22:48Z phinxy quit (Read error: Connection reset by peer) 2017-09-05T10:23:01Z phinxy joined #lisp 2017-09-05T10:23:47Z jameser joined #lisp 2017-09-05T10:24:34Z test1600 quit (Quit: Leaving) 2017-09-05T10:25:11Z PinealGlandOptic joined #lisp 2017-09-05T10:25:16Z ralt quit (Ping timeout: 240 seconds) 2017-09-05T10:26:43Z Mon_Ouie quit (Ping timeout: 252 seconds) 2017-09-05T10:30:44Z carld joined #lisp 2017-09-05T10:35:35Z carld quit (Ping timeout: 260 seconds) 2017-09-05T10:37:41Z attila_lendvai joined #lisp 2017-09-05T10:37:41Z attila_lendvai quit (Changing host) 2017-09-05T10:37:41Z attila_lendvai joined #lisp 2017-09-05T10:43:24Z attila_lendvai quit (Quit: Leaving.) 2017-09-05T10:51:16Z carld joined #lisp 2017-09-05T10:51:32Z dddddd joined #lisp 2017-09-05T10:55:34Z carld quit (Ping timeout: 240 seconds) 2017-09-05T10:55:41Z Bike joined #lisp 2017-09-05T10:57:28Z angavrilov joined #lisp 2017-09-05T11:00:36Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-05T11:00:40Z damke joined #lisp 2017-09-05T11:02:49Z damke_ quit (Ping timeout: 240 seconds) 2017-09-05T11:03:15Z SaganMan quit (Quit: WeeChat 1.6) 2017-09-05T11:03:37Z krasnal quit (Read error: Connection reset by peer) 2017-09-05T11:04:45Z panji joined #lisp 2017-09-05T11:10:38Z SaganMan joined #lisp 2017-09-05T11:10:45Z nirved joined #lisp 2017-09-05T11:14:28Z nirved quit (Client Quit) 2017-09-05T11:15:15Z smokeink joined #lisp 2017-09-05T11:17:16Z panji quit (Read error: Connection reset by peer) 2017-09-05T11:19:54Z Bicyclidine joined #lisp 2017-09-05T11:21:53Z Bike quit (Ping timeout: 246 seconds) 2017-09-05T11:26:29Z shrdlu68 quit (Ping timeout: 240 seconds) 2017-09-05T11:27:11Z carld joined #lisp 2017-09-05T11:28:26Z shrdlu68 joined #lisp 2017-09-05T11:32:10Z carld quit (Ping timeout: 252 seconds) 2017-09-05T11:33:07Z malcom2073 quit (Remote host closed the connection) 2017-09-05T11:33:11Z hajovonta joined #lisp 2017-09-05T11:35:30Z krasnal joined #lisp 2017-09-05T11:38:14Z beach quit (Read error: Connection reset by peer) 2017-09-05T11:38:28Z beach joined #lisp 2017-09-05T11:42:49Z carld joined #lisp 2017-09-05T11:45:51Z Mon_Ouie joined #lisp 2017-09-05T11:47:03Z carld quit (Ping timeout: 240 seconds) 2017-09-05T11:53:16Z JuanDaugherty joined #lisp 2017-09-05T11:53:21Z EvW joined #lisp 2017-09-05T11:55:44Z deba5e12 quit (Ping timeout: 248 seconds) 2017-09-05T12:03:11Z carld joined #lisp 2017-09-05T12:05:34Z Shinmera: Are you sure you properly escaped both? 2017-09-05T12:08:00Z carld quit (Ping timeout: 248 seconds) 2017-09-05T12:11:34Z Bicyclidine quit (Ping timeout: 240 seconds) 2017-09-05T12:14:13Z phinxy quit (Quit: Leaving) 2017-09-05T12:14:14Z EvW quit (Ping timeout: 264 seconds) 2017-09-05T12:19:04Z vaporatorius quit (Ping timeout: 240 seconds) 2017-09-05T12:19:51Z hjudt: > blocks >> abstractions 2017-09-05T14:07:30Z SaganMan: as simple as that 2017-09-05T14:08:01Z beach: SaganMan: marvin2 is right, some languages are defined in such a way that it is very hard to create an implementation that generates fast code. The creators of Common Lisp very carefully avoided constructs that would make it hard to create a good compiler for the resulting language. 2017-09-05T14:08:19Z SaganMan: I'm surprised it's not in our curriculum of our students 2017-09-05T14:08:30Z carld quit (Ping timeout: 260 seconds) 2017-09-05T14:08:33Z mishoo quit (Ping timeout: 248 seconds) 2017-09-05T14:09:19Z SaganMan: beach: what about variants of lisp? scheme, clojure and any other? 2017-09-05T14:09:25Z beach: SaganMan: Here is a paper that you might be interested in: https://hal.archives-ouvertes.fr/hal-01544135/document 2017-09-05T14:09:45Z shka: SaganMan: universities are gradual become less appealing to smart people 2017-09-05T14:09:51Z shka: *becoming 2017-09-05T14:10:02Z shka: *graudaly 2017-09-05T14:10:12Z shka: *for 2017-09-05T14:10:16Z shka: i hate english 2017-09-05T14:10:45Z copec: In my experience SBCL is among the fastest of dynamic language runtimes even without declarations 2017-09-05T14:10:48Z SaganMan: shka: don't hate english, hate your keyboard :p 2017-09-05T14:10:53Z beach: SaganMan: There is no agreed-upon definition of what a "variant of Lisp" might be. I for one do not consider those languages to be "variants of Lisp". But #lisp is dedicated to Common Lisp, which is very clearly defined. 2017-09-05T14:11:20Z saki joined #lisp 2017-09-05T14:11:27Z sellout- joined #lisp 2017-09-05T14:11:27Z dlowe: Feel free to argue about it on ##lisp, though :) 2017-09-05T14:11:36Z SaganMan: I heard common lisp is oldest language next to fortran. 2017-09-05T14:12:00Z beach: That is false. 2017-09-05T14:12:09Z beach: Common Lisp dates from 1994. 2017-09-05T14:12:13Z SaganMan: beach: what's your defination of variant of lisp? 2017-09-05T14:12:27Z beach: SaganMan: I don't have one, and it is off topic. 2017-09-05T14:12:37Z varjag: 2nd version (and so far final) endition of common lisp anyway 2017-09-05T14:12:42Z SaganMan: ohh,ok beach 2017-09-05T14:12:57Z varjag: the original mccarthy lisp was 2nd to the original fortran 2017-09-05T14:13:04Z varjag: lisp changed since 2017-09-05T14:13:09Z wxie: beach:Then the Common Lisp spec is the most stable one. 2017-09-05T14:13:11Z varjag: so did fortran however 2017-09-05T14:13:12Z beach: SaganMan: Any attempt at such a definition would be disputed by most #lisp participants. 2017-09-05T14:13:42Z SaganMan: ah well, it's good people have their opinions (sarcasm) 2017-09-05T14:14:03Z lieven: varjag: that's of the languages surviving and still in somewhat regular use. there were a lot of earlier languages 2017-09-05T14:14:16Z varjag: fair enough 2017-09-05T14:14:23Z copec: CL is my favorite language, but Julia might interest you SaganMan 2017-09-05T14:14:27Z beach: SaganMan: Anyway, anyone who tries to convince you that "Lisp is inefficient" should be recommended the article in the link that I showed you. 2017-09-05T14:14:47Z SaganMan: but still, I don't know any other language which is as simple as lisp 2017-09-05T14:15:18Z SaganMan: simple not necessarily mean easy to master but the rules are easy, I think even a 10 year old can do lisp 2017-09-05T14:15:23Z Shinmera: I wouldn't call Lisp "simple" 2017-09-05T14:15:39Z Shinmera: Especially not after following implementation authors for years 2017-09-05T14:15:42Z beach: SaganMan: Common Lisp is definitely not a "simple" language. Take it from someone who is working on an implementation of it. 2017-09-05T14:16:04Z SaganMan: I mean the rules beach 2017-09-05T14:16:14Z _death: it can be simple to use for simple things 2017-09-05T14:17:01Z Bike: the evaluation rules are not simple. 2017-09-05T14:17:40Z SaganMan: hmm 2017-09-05T14:18:07Z shka: SaganMan: you are refering to scheme? 2017-09-05T14:18:39Z SaganMan: sicp does talk about scheme but I've seen a bit of lisp too 2017-09-05T14:19:43Z shka: right 2017-09-05T14:20:02Z shka: anyway, i think that every statement should be put in some concept 2017-09-05T14:20:06Z shka: for instance 2017-09-05T14:20:21Z shka: if lisp is simple, is it simple compared to what? 2017-09-05T14:20:31Z _death: in many languages for example, getting the successor of an integer is quite complicated 2017-09-05T14:20:34Z shka: i don't think it is simple when put next to scheme 2017-09-05T14:20:48Z shka: or fortran 2017-09-05T14:20:56Z shka: or forth 2017-09-05T14:21:06Z shka: fortran is actually not that simple :P 2017-09-05T14:21:07Z Shinmera: depends on which fortran :) 2017-09-05T14:21:10Z Bike: scheme is pretty complicated too. maybe not as complicated, but there are continuations, and stuff like local (define ...) syntax. 2017-09-05T14:21:23Z varjag quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-09-05T14:21:37Z SaganMan: context, yeah 2017-09-05T14:21:44Z shka: but i think that at least for me, lisp is quite easy to use 2017-09-05T14:22:03Z SaganMan: I came from embedded C mainly 2017-09-05T14:22:05Z shka: hovewer, it is thanks to existing stuff built by community 2017-09-05T14:22:12Z SaganMan: at91SAM and atmega 2017-09-05T14:22:26Z lieven: scheme is so simple it took them decades to correctly define their most important feature, tail call optimization :) 2017-09-05T14:22:41Z copec: The syntax is simple, but there is a very sophisticated environment backing that up with decades of thought put into it 2017-09-05T14:22:52Z copec: For Common Lisp. 2017-09-05T14:23:41Z shka: yup 2017-09-05T14:23:49Z pjb: SaganMan: emacs WAS written in C in the 80s. If it was written today, it could most certainly be written in lisp (probably in scheme). cf. edwin in MIT scheme. 2017-09-05T14:24:13Z carld joined #lisp 2017-09-05T14:24:38Z shka: anyway, common lisp is mostly the right thing™ so i am using it if i can 2017-09-05T14:26:06Z SaganMan: hmm, I still have long way to go and so much time to kill. 2017-09-05T14:26:14Z SaganMan: I think I'll have fun 2017-09-05T14:26:39Z pjb: In the 80s there was no Lisp implementation running on all the systems targetted by emacs. This is the reason why it was written in C. 2017-09-05T14:26:52Z flamebeard quit (Quit: Leaving) 2017-09-05T14:27:14Z wxie quit (Remote host closed the connection) 2017-09-05T14:27:17Z pjb: Today, thanks to the Internet and freedom software, most programming languages are available on most platforms (and there are a lot fewer platforms in use too). 2017-09-05T14:27:18Z SaganMan: ohh, is that so 2017-09-05T14:27:43Z shka: it is true 2017-09-05T14:27:48Z pjb: The first releases of GNU and emacs were done on 1/2" tapes! 2017-09-05T14:27:55Z SaganMan: lmao 2017-09-05T14:28:19Z einar__ quit (Quit: Leaving) 2017-09-05T14:29:16Z carld quit (Ping timeout: 252 seconds) 2017-09-05T14:31:40Z saki quit (Quit: saki) 2017-09-05T14:33:39Z scymtym quit (Ping timeout: 246 seconds) 2017-09-05T14:35:29Z Lowl3v3l joined #lisp 2017-09-05T14:42:55Z yrk joined #lisp 2017-09-05T14:43:42Z syamaoka left #lisp 2017-09-05T14:43:44Z karstensrage joined #lisp 2017-09-05T14:44:09Z karstensrage: why is lisp so freaking fast wrt to things like recursive factorial functions in tutorials? 2017-09-05T14:44:42Z jackdaniel: because we specially tweak compilers to win in factorial benchmarks, that's the sole reasonn ;) 2017-09-05T14:44:52Z LiamH joined #lisp 2017-09-05T14:45:17Z Bike: factorials are really easy. if you're just doing (factorial 7) or something obviously it's going to be quick. you can do that on paper. 2017-09-05T14:45:18Z jackdaniel: I'm joking of course. There are some very good CL compilers 2017-09-05T14:45:32Z jackdaniel: for which optimizing factorial isn't very hard 2017-09-05T14:45:36Z karstensrage: well (fact 9999) returns instantly 2017-09-05T14:45:59Z Bike: computers are good at arithmetic. 2017-09-05T14:46:16Z karstensrage: ill write a java one and see if its that fast 2017-09-05T14:47:11Z Bike: on my sbcl, 9999! takes around 50 ms 2017-09-05T14:47:11Z xantoz: java doesn't have TCO, so you would probably have to write it iteratively 2017-09-05T14:47:31Z Bike: and 99999! smashes my stack 2017-09-05T14:47:41Z Bike: this is the very dumb version without TCO 2017-09-05T14:47:49Z jackdaniel: CL standard doesn't have TCO either, and most implementation which support it turn it off by default 2017-09-05T14:47:54Z jackdaniel: for sake of debugging 2017-09-05T14:48:11Z xantoz: right. I was assuming he was using some CL implementation with TCO and it turned on 2017-09-05T14:48:16Z Bike: still, 9999! means ten thousand stack frames, could be worse 2017-09-05T14:48:27Z Bike: most of the time is probably bignum arithmetic or consing 2017-09-05T14:48:53Z pjb: karstensrage: the point is not that lisp is fast, it's that lisp is correct! 2017-09-05T14:50:56Z rippa joined #lisp 2017-09-05T14:51:01Z mishoo joined #lisp 2017-09-05T14:51:11Z karstensrage: TCO is tail call optimization? 2017-09-05T14:51:27Z jackdaniel: yes 2017-09-05T14:51:35Z karstensrage: ok thanks 2017-09-05T14:51:42Z karstensrage: so far pretty impressed 2017-09-05T14:51:53Z pjb: see for example: https://groups.google.com/forum/#!search/comp.lang.lisp$20pjb$20informatimago.com$20%22defun$20fact$20%22/comp.lang.lisp/m-XsCgI_jD4/M66oAe14zwYJ 2017-09-05T14:54:03Z Kyo91 joined #lisp 2017-09-05T14:54:10Z kozy joined #lisp 2017-09-05T14:54:28Z Shinmera: Also see Section 5 http://www.cliki.net/Infrequently%20Asked%20Questions 2017-09-05T14:54:30Z xantoz: speaking of Java, I found it incredibly annoying that they have specified their integers to overflow, without even an exception or reasonable way of detecting it, when I was implementing a toy lisp interpreter (with full bignum stack) on top of Java 2017-09-05T14:55:18Z xantoz: TCO was possible by wrapping eval in while (true) { }, however ;) 2017-09-05T14:55:23Z Shinmera: Well you can't detect overflow in C either 2017-09-05T14:55:52Z Shinmera: Or most languages that take after it, as far as I know 2017-09-05T14:56:14Z xantoz: Shinmera: you can at least drop down to assembly with C, and detect it in an architecture specific way 2017-09-05T14:56:28Z White_Flame: nor does C expose the carry flag, which always irkedme 2017-09-05T14:56:40Z TMA: Shinmera: an implementation is permitted to raise an integer overflow exception when signed arithmetic overflows 2017-09-05T14:56:45Z Shinmera: ASM isn't standard though, yeah? 2017-09-05T14:56:45Z xantoz: not all architectures have a carry flag/there might be other ways 2017-09-05T14:56:55Z Kyo91_ quit (Ping timeout: 260 seconds) 2017-09-05T14:57:00Z xantoz: the asm keyword is standard 2017-09-05T14:57:15Z margeas joined #lisp 2017-09-05T14:57:26Z xantoz: what goes into it is obviously not standardised 2017-09-05T14:57:55Z Shinmera: Right. So arguably it's not part of C, but instead of your compiler :) 2017-09-05T14:57:58Z Bike: huh, the java standard really does just say do modular arithmetic silently 2017-09-05T14:58:40Z White_Flame: yeah, if you look at the JVM instructions, it's very low level when it comes to math, with which primitive type to use as part of the instruction 2017-09-05T14:58:42Z Bike: and specifically says it cannot throw an exception 2017-09-05T14:59:08Z kuwze joined #lisp 2017-09-05T14:59:19Z xantoz: IIRC some processor architectures can actually cause an interrupt on overflow 2017-09-05T14:59:21Z TMA: it is still a bit better than saying "check your JVM documentation which arithmetic operations throw exception and when" 2017-09-05T14:59:27Z Bike: granted 2017-09-05T15:00:10Z carld joined #lisp 2017-09-05T15:00:23Z Xach: oho! 2017-09-05T15:00:25Z Jesin quit (Ping timeout: 260 seconds) 2017-09-05T15:00:47Z TMA: xantoz: yes. MIPS has signed arithmetic, that interrupts on overflow and unsigned, that does not; X86 has INTO (interupt if overflow) instruction 2017-09-05T15:01:09Z obm quit (Ping timeout: 240 seconds) 2017-09-05T15:01:18Z Jesin joined #lisp 2017-09-05T15:01:18Z Xach: sbcl is a bit lax. i just did (defackage foo (:documentation "bar" (:use cl) (:export ...))) and was baffled by the bugs for a few minutes. 2017-09-05T15:01:58Z Xach: :documentation must be a single string and no more! 2017-09-05T15:02:04Z _death: Xach: you just need your code to follow the documentation :) 2017-09-05T15:03:39Z vaporatorius joined #lisp 2017-09-05T15:04:58Z stylewarning: I've wanted to make a library to parse S-expression lists better 2017-09-05T15:05:03Z carld quit (Ping timeout: 248 seconds) 2017-09-05T15:06:56Z beach: stylewarning: What would the library do? And what would it improve upon? 2017-09-05T15:07:38Z stylewarning: I guess I've been a little tired writing repetitive code to check the validity of some S-expression with some syntax. 2017-09-05T15:08:22Z stylewarning: Which I usually do extremely rigorously for good error messages. 2017-09-05T15:09:21Z milanj joined #lisp 2017-09-05T15:10:14Z pjb: Shinmera: this is incorrect. The C standard allows implementations to detect overflow and to signal conditions. Only it doesn't imposes it, and almost all implementations don't try to detect it. But nothing in the C standard prevents an implementation to do the same as Lisp implementations. 2017-09-05T15:11:14Z _death: also there are well-known ways to detect integer overflows 2017-09-05T15:15:54Z neoncontrails quit (Remote host closed the connection) 2017-09-05T15:16:09Z _death: still software commonly doesn't bother, and the CVEs pile up when they affect security, little drops in the ocean 2017-09-05T15:16:23Z neoncontrails joined #lisp 2017-09-05T15:16:28Z Shinmera: like tears in the rain 2017-09-05T15:17:33Z neoncontrails quit (Remote host closed the connection) 2017-09-05T15:17:39Z varjag joined #lisp 2017-09-05T15:17:43Z neoncontrails joined #lisp 2017-09-05T15:20:52Z krasnal joined #lisp 2017-09-05T15:28:09Z beach: stylewarning: You may look at some patter-matching code. I think OnLisp has some, as does PAIP. 2017-09-05T15:28:43Z stylewarning: I have of course. But I want something specifically designed, actually, for writing complex macros 2017-09-05T15:29:01Z stylewarning: Maybe pattern matching like that in PAIP or even Optima are part of the answer, but I want more 2017-09-05T15:29:13Z beach: OK. 2017-09-05T15:29:58Z stylewarning: Like using a stock pattern library won't tell you what subpattern fails with nice names and stuff 2017-09-05T15:30:37Z stylewarning: I also started but never completed a project to turn Lisp into data structures 2017-09-05T15:30:43Z FreeBirdLjj joined #lisp 2017-09-05T15:31:11Z stylewarning: Specifically, parse and unparse, say, a LET form as it would appear in an AST node, or so 2017-09-05T15:31:54Z stylewarning: So I could write macros which build these data structures instead of splicing lists. I'm not sure really what that experiment would show 2017-09-05T15:32:49Z beach: I have a reader that can create what I call "concrete syntax trees", or CSTs. They are basically S-expressions wrapped in standard instances so that source information can be preserved. 2017-09-05T15:33:28Z beach: And I am currently working on a compiler front-end to convert CSTs to "abstract syntax trees" or ASTs as defined in the Cleavir compiler framework. 2017-09-05T15:34:04Z stylewarning: CSTs are good (: 2017-09-05T15:34:27Z stylewarning: I think that's the term of art, no? 2017-09-05T15:34:37Z beach: https://github.com/robert-strandh/Concrete-Syntax-Tree 2017-09-05T15:34:50Z beach: I wouldn't know. 2017-09-05T15:35:41Z dmiles quit (Read error: Connection reset by peer) 2017-09-05T15:35:53Z logicmoo joined #lisp 2017-09-05T15:35:56Z stylewarning: I have heard the term before for exactly the purpose you're describing (tracking position information) 2017-09-05T15:36:28Z beach: Are you sure it wasn't me who used it here? :) 2017-09-05T15:39:17Z kuwze quit (Ping timeout: 260 seconds) 2017-09-05T15:40:06Z TMA: beach: I have heard in the early 2000's in a compiler construction course; I am quite certain it was not you, unless you have changed your name, nationality and university affiliation since then 2017-09-05T15:40:48Z beach: TMA: I did not. I'll look for other uses of it at some point. 2017-09-05T15:41:03Z SaganMan quit (Ping timeout: 240 seconds) 2017-09-05T15:45:24Z saki joined #lisp 2017-09-05T15:50:09Z Murii|linux joined #lisp 2017-09-05T15:50:12Z murii_ joined #lisp 2017-09-05T15:51:17Z beach: TMA: Found some definitions. Thanks. 2017-09-05T15:52:20Z Shinmera: Well, that was easier than expected. Hoorah for further Portacle stability! https://github.com/Shinmera/portacle/issues/38#issuecomment-327216699 2017-09-05T15:52:48Z Shinmera hopes that was the actual fix. A clean build is still compiling. 2017-09-05T15:52:50Z phoe: Yay! 2017-09-05T15:53:03Z beach: Shinmera: Congratulations! 2017-09-05T15:53:43Z Shinmera: Now I just need to figure out why it refuses to build on OS X 10.11, fix that ASDF issue, and then it should be ready for 1.0, I think. 2017-09-05T15:59:15Z sellout-1 joined #lisp 2017-09-05T16:00:09Z Shinmera: If anyone knows a better way to do https://github.com/Shinmera/portacle/issues/37 than https://github.com/Shinmera/portacle/blob/master/config/sbcl-init.lisp#L46 I'd be all ears 2017-09-05T16:01:33Z vtomole joined #lisp 2017-09-05T16:02:09Z neoncontrails quit (Read error: Connection reset by peer) 2017-09-05T16:03:02Z neoncontrails joined #lisp 2017-09-05T16:03:25Z sellout- quit (Ping timeout: 260 seconds) 2017-09-05T16:03:49Z SaganMan joined #lisp 2017-09-05T16:05:28Z knicklux joined #lisp 2017-09-05T16:05:36Z rumbler31 joined #lisp 2017-09-05T16:10:10Z d4ryus quit (Quit: WeeChat 1.9) 2017-09-05T16:11:26Z vlatkoB quit (Read error: Connection reset by peer) 2017-09-05T16:13:17Z Karl_Dscc joined #lisp 2017-09-05T16:13:58Z kobain joined #lisp 2017-09-05T16:14:11Z jfrancis_phone joined #lisp 2017-09-05T16:17:35Z vlatkoB joined #lisp 2017-09-05T16:20:01Z dieggsy joined #lisp 2017-09-05T16:21:55Z LAG_ joined #lisp 2017-09-05T16:24:25Z SaganMan quit (Ping timeout: 260 seconds) 2017-09-05T16:27:10Z mishoo_ joined #lisp 2017-09-05T16:29:05Z mishoo quit (Ping timeout: 260 seconds) 2017-09-05T16:29:27Z SaganMan joined #lisp 2017-09-05T16:31:58Z SaganMan quit (Client Quit) 2017-09-05T16:38:17Z araujo quit (Read error: Connection reset by peer) 2017-09-05T16:38:48Z araujo joined #lisp 2017-09-05T16:43:04Z vtomole: clhs loop 2017-09-05T16:43:05Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_loop.htm 2017-09-05T16:43:57Z Kyo91_ joined #lisp 2017-09-05T16:44:17Z hhdave quit (Ping timeout: 248 seconds) 2017-09-05T16:45:03Z Kyo91 quit (Ping timeout: 240 seconds) 2017-09-05T16:49:36Z fiddlerwoaroof: beach: does second-climacs use presentation for "syntax classes" e.g. (string, number, symbol, keyword, etc..)? 2017-09-05T16:49:44Z m00natic quit (Remote host closed the connection) 2017-09-05T16:50:41Z varjag quit (Ping timeout: 248 seconds) 2017-09-05T16:53:10Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-05T16:53:48Z FreeBirdLjj joined #lisp 2017-09-05T16:57:04Z knusbaum joined #lisp 2017-09-05T16:58:18Z FreeBirdLjj quit (Ping timeout: 252 seconds) 2017-09-05T17:00:34Z krasnal quit (Read error: Connection reset by peer) 2017-09-05T17:00:50Z carld joined #lisp 2017-09-05T17:01:27Z damke joined #lisp 2017-09-05T17:02:49Z damke_ quit (Ping timeout: 240 seconds) 2017-09-05T17:02:49Z mrcom quit (Read error: Connection reset by peer) 2017-09-05T17:02:56Z jfrancis_phone quit (Ping timeout: 240 seconds) 2017-09-05T17:03:46Z defaultxr joined #lisp 2017-09-05T17:05:04Z carld quit (Ping timeout: 240 seconds) 2017-09-05T17:06:48Z jfrancis_phone joined #lisp 2017-09-05T17:07:40Z sellout-1 quit (Quit: Leaving.) 2017-09-05T17:09:02Z jfrancis_phone quit (Client Quit) 2017-09-05T17:13:54Z krasnal joined #lisp 2017-09-05T17:15:45Z murii_ quit (Ping timeout: 260 seconds) 2017-09-05T17:15:54Z Murii|linux quit (Ping timeout: 252 seconds) 2017-09-05T17:19:02Z vtomole quit (Ping timeout: 260 seconds) 2017-09-05T17:25:29Z xantoz: meta-2 /buffer *2 2017-09-05T17:25:33Z xantoz: oops 2017-09-05T17:26:17Z shka_ joined #lisp 2017-09-05T17:27:37Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-09-05T17:28:53Z vlatkoB_ joined #lisp 2017-09-05T17:30:01Z sellout- joined #lisp 2017-09-05T17:32:47Z vlatkoB quit (Ping timeout: 248 seconds) 2017-09-05T17:33:21Z dieggsy quit (Read error: Connection reset by peer) 2017-09-05T17:33:26Z wigust quit (Ping timeout: 264 seconds) 2017-09-05T17:34:31Z EvW1 quit (Ping timeout: 246 seconds) 2017-09-05T17:35:51Z attila_lendvai joined #lisp 2017-09-05T17:37:29Z beach: fiddlerwoaroof: It doesn't do anything at the moment, but that's what is planned. 2017-09-05T17:38:40Z beach: fiddlerwoaroof: The plan is even to distinguish between different "roles" of symbols, such as lexical variables, global functions, etc. 2017-09-05T17:43:07Z beach: I am even thinking of a way to show so-called UD and DU chains. Imagine hovering the pointer over the use of a lexical variable and get all the places where it might get its value highlighted. Or the other way around, hovering the pointer over a binding or assignment to a variable and get all the possible corresponding uses highlighted. 2017-09-05T17:46:05Z brendyn quit (Ping timeout: 260 seconds) 2017-09-05T17:46:43Z varjag joined #lisp 2017-09-05T17:48:30Z wigust joined #lisp 2017-09-05T17:51:55Z varjag quit (Ping timeout: 260 seconds) 2017-09-05T17:58:47Z hexfive joined #lisp 2017-09-05T18:02:44Z sellout- quit (Quit: Leaving.) 2017-09-05T18:03:00Z sellout- joined #lisp 2017-09-05T18:03:28Z sellout- quit (Client Quit) 2017-09-05T18:03:45Z sellout- joined #lisp 2017-09-05T18:04:15Z sellout- quit (Client Quit) 2017-09-05T18:04:33Z JuanDaugherty quit (Quit: Ex Chat) 2017-09-05T18:04:35Z sellout- joined #lisp 2017-09-05T18:05:04Z sellout- quit (Client Quit) 2017-09-05T18:08:53Z PinealGlandOptic quit (Quit: leaving) 2017-09-05T18:10:42Z dyelar joined #lisp 2017-09-05T18:14:33Z Kyo91_ quit (Ping timeout: 240 seconds) 2017-09-05T18:16:03Z wigust quit (Ping timeout: 240 seconds) 2017-09-05T18:17:02Z varjag joined #lisp 2017-09-05T18:29:39Z Kyo91_ joined #lisp 2017-09-05T18:31:38Z LAG_ quit (Quit: Connection closed for inactivity) 2017-09-05T18:32:04Z Bock quit (Ping timeout: 240 seconds) 2017-09-05T18:37:51Z logicmoo quit (Ping timeout: 248 seconds) 2017-09-05T18:41:25Z yeticry quit (Read error: Connection reset by peer) 2017-09-05T18:41:31Z yeticry_ joined #lisp 2017-09-05T18:43:21Z rjeli_ quit (Ping timeout: 252 seconds) 2017-09-05T18:44:47Z foom quit (Quit: Leaving) 2017-09-05T18:45:23Z Kyo91 joined #lisp 2017-09-05T18:46:29Z damke quit (Ping timeout: 240 seconds) 2017-09-05T18:47:05Z Denommus joined #lisp 2017-09-05T18:48:12Z Kyo91_ quit (Ping timeout: 255 seconds) 2017-09-05T18:48:32Z dieggsy joined #lisp 2017-09-05T19:03:27Z scymtym joined #lisp 2017-09-05T19:03:59Z krasnal quit (Ping timeout: 248 seconds) 2017-09-05T19:04:07Z sellout- joined #lisp 2017-09-05T19:16:03Z shka_ quit (Ping timeout: 240 seconds) 2017-09-05T19:18:11Z stylewarning: beach: I'm pretty sure! 2017-09-05T19:20:26Z rjeli joined #lisp 2017-09-05T19:22:14Z sellout- quit (Quit: Leaving.) 2017-09-05T19:24:53Z mishoo__ joined #lisp 2017-09-05T19:26:09Z mishoo_ quit (Ping timeout: 240 seconds) 2017-09-05T19:30:48Z Lowl3v3l quit (Remote host closed the connection) 2017-09-05T19:36:43Z vlatkoB_ quit (Remote host closed the connection) 2017-09-05T19:39:42Z fe[nl]ix: uint: very nice blog post :) 2017-09-05T19:39:53Z fe[nl]ix: I'll read it more thoroughly later 2017-09-05T19:40:55Z uint: thank you ;) 2017-09-05T19:49:11Z sellout- joined #lisp 2017-09-05T19:49:19Z Xal quit (Ping timeout: 248 seconds) 2017-09-05T19:51:00Z Xal joined #lisp 2017-09-05T20:01:05Z jollygood2 joined #lisp 2017-09-05T20:02:08Z krasnal joined #lisp 2017-09-05T20:02:14Z jollygood2: what construct would one usually use to do the job of list comprehensions? loop? 2017-09-05T20:02:25Z mfiano: map 2017-09-05T20:02:33Z mfiano: or one of its variants, loop also works 2017-09-05T20:02:55Z jollygood2: i can't see how i could easily express them with map, particularly when iterating over multiple lists 2017-09-05T20:03:02Z mfiano: map is nice in that it is a higher order function, so it fits this task well 2017-09-05T20:05:08Z jollygood2: for example, given list that is '(0 1 2) and "abc" string, I want lisp equivalent of this: [(0,'a'),(0,'b'),(0,'c'),(1,'a'),(1,'b'),(1,'c'),(2,'a'),(2,'b'),(2,'c')] 2017-09-05T20:06:03Z foom joined #lisp 2017-09-05T20:06:17Z knicklux quit (Quit: Leaving) 2017-09-05T20:07:53Z mfiano: look at alexandria map-combinations 2017-09-05T20:09:10Z mfiano: i think what you want is similar to cartesian product? 2017-09-05T20:09:22Z mfiano: if not the same. 2017-09-05T20:10:07Z mfiano: I guess you would need to (mapcar #'string (coerce "abc" 'list)) on the string first or similar, if you char acter characters vs strings as letters 2017-09-05T20:10:13Z jollygood2: yes kind of, except that what you do with each combination is arbitrary, consing them was just an example 2017-09-05T20:11:04Z mfiano: well then map-combinations 2017-09-05T20:17:03Z knusbaum quit (Ping timeout: 240 seconds) 2017-09-05T20:22:16Z mfiano: It would be pretty trivial to write a higher order function with a key argument defaulting to #'identity which uses map-combinations to do what you want I am pretty sure 2017-09-05T20:22:28Z pjb: jollygood2: (map 'list 'list '(0 1 2) "abc") #| --> ((0 #\a) (1 #\b) (2 #\c)) |# 2017-09-05T20:22:32Z mfiano: Unless I am just misunderstanding you 2017-09-05T20:23:09Z mfiano: pjb: he wants every combination. where is (0 #\b) etc? 2017-09-05T20:23:35Z mfiano: I offered a solution. Not sure if it is exactly what he wants 2017-09-05T20:25:39Z jollygood2: map-combination may be what i want, i'm installing alexandria now (new pc) 2017-09-05T20:25:41Z mfiano: Something like https://gist.github.com/mfiano/ae612803401e85894c4987d000f32f25 2017-09-05T20:25:48Z mfiano: Not sure if that is correct. quick sketch 2017-09-05T20:25:56Z deba5e12 joined #lisp 2017-09-05T20:26:40Z pjb: Oh, ok. 2017-09-05T20:27:37Z BlueRavenGT joined #lisp 2017-09-05T20:28:21Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-09-05T20:30:28Z drmeister: What is the freenode channel for learning Common Lisp? Lispcafe? 2017-09-05T20:30:53Z antoszka: drmeister: #clnoobs, #lisp 2017-09-05T20:31:15Z drmeister: Thank you 2017-09-05T20:31:39Z antoszka: drmeister: #lispcafe is mostly a lisper off-topic hangout :) 2017-09-05T20:31:48Z mfiano: jollygood2: Looking at my results, it maps sequences with themselves too, which is not part of the output you gave. for example (0 1), (1 2) 2017-09-05T20:31:54Z mfiano: So I'm not sure if that is ok 2017-09-05T20:32:08Z ralt` joined #lisp 2017-09-05T20:32:39Z jollygood2: yeah that is different than what i want 2017-09-05T20:35:08Z mishoo__ quit (Ping timeout: 240 seconds) 2017-09-05T20:36:41Z mfiano: Somehow I think the answer uses mapcar and apply, but I can't dedicate brainpower to this problem right now 2017-09-05T20:36:47Z mfiano: Sorry! 2017-09-05T20:37:03Z jollygood2: nested maps would work. or nested loops 2017-09-05T20:38:58Z jollygood2: (let ((xs '(0 1 2)) (ys '(10 20 30))) (mapcar (lambda (x) (mapcar (lambda (y) (list x y)) ys)) xs)) 2017-09-05T20:39:00Z jollygood2: (((0 10) (0 20) (0 30)) ((1 10) (1 20) (1 30)) ((2 10) (2 20) (2 30))) 2017-09-05T20:39:04Z jollygood2: just have to flatten it 2017-09-05T20:39:37Z jackdaniel: (alexandria:flatten *) 2017-09-05T20:40:59Z mfiano: wrong kind of flatten 2017-09-05T20:41:23Z jollygood2: with my original input: (let ((xs '(0 1 2)) (ys "abc")) (mapcar (lambda (x) (map 'list (lambda (y) (list x y)) ys)) xs)) 2017-09-05T20:42:21Z jollygood2: is there a right kind in alexandria or standard lib? 2017-09-05T20:42:34Z pjb: drmeister: if you ask about car in #lispcafe, you'll get http://www.car.fr ; if you ask about it in #lisp you'll get clhs car, and if you ask showing some consideration in #clnoobs you may get a personalized explaination. 2017-09-05T20:44:02Z mfiano: jollygood2: (apply #'append ...) 2017-09-05T20:44:08Z pjb: jollygood2: (com.informatimago.common-lisp.cesarum.list:combine '(0 1 2) (coerce "abc" 'list)) 2017-09-05T20:44:30Z jollygood2: isn't apply problematic if I have too many elements? 2017-09-05T20:45:02Z mfiano: Only if you are using ABCL really 2017-09-05T20:45:16Z mfiano: https://gist.github.com/mfiano/850b9f808b54cabeb4c6af23621051b2 2017-09-05T20:45:47Z Shinmera: Depends on how many arguments you have. 2017-09-05T20:46:12Z Shinmera: Clisp f.e. has call-arguments-limit at 4096. 2017-09-05T20:46:12Z mfiano: on SBCL and CCL that is nearly a 64bit number repesenting max arguments 2017-09-05T20:48:20Z Jesin quit (Quit: Leaving) 2017-09-05T20:50:12Z _death: if you want the cartesian product, there's alexandria:map-product 2017-09-05T20:50:28Z deba5e12 quit (Ping timeout: 240 seconds) 2017-09-05T20:50:44Z deba5e12 joined #lisp 2017-09-05T20:50:46Z mfiano: yes thts exactly what he wants heh 2017-09-05T20:50:52Z drmeister: pjb: thank you 2017-09-05T20:51:02Z mfiano: use that instead. it is surely more efficient than your version 2017-09-05T20:51:12Z jollygood2: nice 2017-09-05T20:53:58Z bjorkintosh joined #lisp 2017-09-05T20:54:36Z mfiano: I think anyway. I've never used that function. Still no time for brainpower. 2017-09-05T20:54:59Z iqubic joined #lisp 2017-09-05T20:55:25Z jollygood2: it does exactly what i want 2017-09-05T20:55:29Z deba5e12 quit (Ping timeout: 248 seconds) 2017-09-05T20:57:13Z deba5e12 joined #lisp 2017-09-05T21:00:53Z kuwze joined #lisp 2017-09-05T21:01:22Z murii_ joined #lisp 2017-09-05T21:01:23Z Murii|linux joined #lisp 2017-09-05T21:01:26Z xuxuru joined #lisp 2017-09-05T21:01:43Z pierpa joined #lisp 2017-09-05T21:07:29Z xrash joined #lisp 2017-09-05T21:09:33Z Karl_Dscc quit (Remote host closed the connection) 2017-09-05T21:09:47Z zooey quit (Ping timeout: 268 seconds) 2017-09-05T21:12:10Z pjb: jollygood2: if you have too many elements, you may use instead: http://paste.lisp.org/display/355137 2017-09-05T21:15:53Z zooey joined #lisp 2017-09-05T21:19:00Z Bike quit (Ping timeout: 252 seconds) 2017-09-05T21:19:10Z flazh1 quit (Quit: flazh1) 2017-09-05T21:19:17Z jollygood2: thanks pjb, _death, mfiano and others. i'll bbl 2017-09-05T21:19:20Z jollygood2 left #lisp 2017-09-05T21:19:52Z JohnTalent joined #lisp 2017-09-05T21:27:15Z attila_lendvai left #lisp 2017-09-05T21:27:22Z attila_lendvai joined #lisp 2017-09-05T21:27:45Z dieggsy quit (Ping timeout: 260 seconds) 2017-09-05T21:34:43Z carld joined #lisp 2017-09-05T21:37:33Z Kyo91 quit (Ping timeout: 240 seconds) 2017-09-05T21:45:39Z angavrilov quit (Remote host closed the connection) 2017-09-05T21:47:20Z groovy2shoes quit (Ping timeout: 246 seconds) 2017-09-05T21:47:21Z flazh joined #lisp 2017-09-05T21:47:33Z Mon_Ouie joined #lisp 2017-09-05T21:56:22Z mc40 joined #lisp 2017-09-05T21:56:23Z mc40 quit (Client Quit) 2017-09-05T21:57:07Z raynold joined #lisp 2017-09-05T21:59:51Z Bike joined #lisp 2017-09-05T22:05:09Z groovy2shoes joined #lisp 2017-09-05T22:11:42Z neoncontrails quit (Remote host closed the connection) 2017-09-05T22:12:11Z neoncontrails joined #lisp 2017-09-05T22:13:28Z xrash quit (Ping timeout: 240 seconds) 2017-09-05T22:14:22Z karswell joined #lisp 2017-09-05T22:14:33Z rumbler31 quit (Ping timeout: 240 seconds) 2017-09-05T22:16:31Z neoncontrails quit (Ping timeout: 248 seconds) 2017-09-05T22:16:35Z xrash joined #lisp 2017-09-05T22:27:13Z varjag quit (Ping timeout: 248 seconds) 2017-09-05T22:27:26Z ``Erik quit (Ping timeout: 255 seconds) 2017-09-05T22:29:14Z dmiles joined #lisp 2017-09-05T22:33:40Z MrBismuth quit (Read error: Connection reset by peer) 2017-09-05T22:40:51Z knusbaum joined #lisp 2017-09-05T22:43:34Z xuxuru quit (Quit: xuxuru) 2017-09-05T22:45:26Z LiamH quit (Quit: Leaving.) 2017-09-05T22:50:11Z cromachina_ joined #lisp 2017-09-05T22:50:44Z vtomole joined #lisp 2017-09-05T22:53:03Z cromachina quit (Ping timeout: 240 seconds) 2017-09-05T22:57:58Z MrBusiness joined #lisp 2017-09-05T23:00:22Z murii_ quit (Remote host closed the connection) 2017-09-05T23:00:23Z Murii|linux quit (Remote host closed the connection) 2017-09-05T23:03:03Z rpg joined #lisp 2017-09-05T23:03:51Z knusbaum quit (Quit: Leaving.) 2017-09-05T23:03:58Z attila_lendvai quit (Quit: Leaving.) 2017-09-05T23:07:03Z mrcom joined #lisp 2017-09-05T23:10:33Z margeas quit (Ping timeout: 255 seconds) 2017-09-05T23:12:48Z moei quit (Quit: Leaving...) 2017-09-05T23:15:45Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-05T23:17:26Z akkad hunts for a image recognition lib 2017-09-05T23:19:38Z Denommus quit (Ping timeout: 255 seconds) 2017-09-05T23:20:18Z ralt` quit (Remote host closed the connection) 2017-09-05T23:20:58Z sellout-1 joined #lisp 2017-09-05T23:20:59Z sellout- quit (Read error: Connection reset by peer) 2017-09-05T23:22:51Z varjag joined #lisp 2017-09-05T23:23:29Z jfrancis quit (Remote host closed the connection) 2017-09-05T23:27:17Z flip214 quit (Ping timeout: 255 seconds) 2017-09-05T23:27:24Z flip214 joined #lisp 2017-09-05T23:27:24Z flip214 quit (Changing host) 2017-09-05T23:27:24Z flip214 joined #lisp 2017-09-05T23:27:59Z varjag quit (Ping timeout: 248 seconds) 2017-09-05T23:33:06Z wxie joined #lisp 2017-09-05T23:34:59Z marvin2 quit (Quit: quit) 2017-09-05T23:37:33Z flip214 quit (Ping timeout: 240 seconds) 2017-09-05T23:37:40Z flip214 joined #lisp 2017-09-05T23:37:40Z flip214 quit (Changing host) 2017-09-05T23:37:40Z flip214 joined #lisp 2017-09-05T23:43:30Z Kaisyu joined #lisp 2017-09-05T23:51:33Z xrash quit (Ping timeout: 240 seconds) 2017-09-05T23:55:20Z bou joined #lisp 2017-09-05T23:55:30Z bou: hi 2017-09-05T23:55:42Z Bicyclidine joined #lisp 2017-09-05T23:55:43Z akkad: hi 2017-09-05T23:55:48Z bou left #lisp 2017-09-05T23:58:03Z carld quit (Ping timeout: 240 seconds) 2017-09-05T23:59:09Z Bike quit (Ping timeout: 255 seconds) 2017-09-06T00:02:25Z rumbler31 joined #lisp 2017-09-06T00:03:27Z neoncontrails joined #lisp 2017-09-06T00:06:34Z safe joined #lisp 2017-09-06T00:14:02Z Bike joined #lisp 2017-09-06T00:16:55Z Bicyclidine quit (Ping timeout: 240 seconds) 2017-09-06T00:19:35Z pjb quit (Ping timeout: 240 seconds) 2017-09-06T00:22:35Z Bicyclidine joined #lisp 2017-09-06T00:23:15Z Bike quit (Ping timeout: 252 seconds) 2017-09-06T00:27:24Z wxie quit (Remote host closed the connection) 2017-09-06T00:31:36Z aindilis joined #lisp 2017-09-06T00:31:41Z carld joined #lisp 2017-09-06T00:34:15Z Lowl3v3l joined #lisp 2017-09-06T00:35:03Z rpg joined #lisp 2017-09-06T00:38:45Z Bike joined #lisp 2017-09-06T00:39:56Z milanj quit (Quit: This computer has gone to sleep) 2017-09-06T00:42:17Z Bicyclidine quit (Ping timeout: 246 seconds) 2017-09-06T00:48:12Z dmitryl joined #lisp 2017-09-06T00:51:24Z ricabrera is now known as babalua 2017-09-06T00:51:28Z pillton: bou: It is better to just ask your question in order to start a discussion. 2017-09-06T00:51:38Z dmitryl: Hi! Please, can anyone explain me why incf function is missing in sbcl and what to use instead? Thx. 2017-09-06T00:51:50Z pillton: It isn't missing. 2017-09-06T00:52:34Z pillton: dmitryl: You can use paste.lisp.org to share your code. 2017-09-06T00:55:32Z Lowl3v3l quit (Remote host closed the connection) 2017-09-06T00:57:15Z dmitryl: I found my mistake while trying to explain it. Thank you anyway :) 2017-09-06T01:02:35Z BlueRavenGT quit (Ping timeout: 240 seconds) 2017-09-06T01:03:14Z anticrisis joined #lisp 2017-09-06T01:03:23Z hexfive quit (Quit: WeeChat 1.9) 2017-09-06T01:05:16Z anticrisis: Hi folks, does anyone know where to find the CDR (Common Lisp Document Repository) mailing list archives? This page only links to email addresses: https://common-lisp.net/project/cdr/#mailing 2017-09-06T01:15:48Z LooneyTunes joined #lisp 2017-09-06T01:16:34Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-06T01:18:43Z anticrisis: Ok, how about an easier question? Should I use EQ or EQL to compare the integer results of two functions? 2017-09-06T01:19:05Z Bike: eql 2017-09-06T01:19:13Z Bike: eq is undefined on integers 2017-09-06T01:19:51Z anticrisis: woah, didn't know that. SBCL (eq 5 5) returns T 2017-09-06T01:20:24Z Bike: try (eq (1+ most-positive-fixnum) (1+ most-positive-fixnum)) 2017-09-06T01:21:24Z anticrisis: how dare you add 1 to something which is called "most positive" 2017-09-06T01:21:58Z anticrisis: maybe SBCL should issue a warning, or something? 2017-09-06T01:22:25Z anticrisis: I mean, to the use of EQ on integers 2017-09-06T01:27:20Z mfiano: What's wrong with #'=? 2017-09-06T01:27:58Z anticrisis: umm 2017-09-06T01:29:27Z anticrisis: i suppose that would be the more obvious choice 2017-09-06T01:29:53Z Bike: i think someone was actually working on that warning 2017-09-06T01:30:00Z mfiano: I enjoyed your blog post. Nice to see you learning lisp by the way 2017-09-06T01:30:09Z anticrisis: oh thank you :) 2017-09-06T01:31:28Z Bike: but there's not much reason to use eq on sbcl anyway, it can reduce eql when it's possible 2017-09-06T01:32:38Z anticrisis: i was looking at CDR-8, generic equality and comparison... so i'm thinking about equality, a laudable goal 2017-09-06T01:34:19Z anticrisis: i think the spec for EQUALS is inconsistent with respect to hash tables, but wanted to review mailing list discussions about it... but can't find them 2017-09-06T01:40:41Z neoncontrails quit (Read error: Connection reset by peer) 2017-09-06T01:41:13Z neoncontrails joined #lisp 2017-09-06T01:48:05Z krasnal quit (Remote host closed the connection) 2017-09-06T01:52:22Z edgar-rft: Two integers *can* be EQ when it's two time the same integer stored at the same memory location. But that's usually *not* what you want to know. 2017-09-06T01:52:56Z JohnTalent: Shame the loop constructs are so taught and mishapen. dolist, recursion but *not* loop. 2017-09-06T01:54:19Z neoncontrails quit (Remote host closed the connection) 2017-09-06T01:54:48Z neoncontrails joined #lisp 2017-09-06T01:57:04Z rpg joined #lisp 2017-09-06T01:58:08Z anticrisis quit (Quit: be excellent to each other) 2017-09-06T01:59:27Z neoncontrails quit (Ping timeout: 248 seconds) 2017-09-06T02:02:10Z edgar-rft: In case anticrisis returns or anybody else wants to know, the currently valid email adresses fo all common-lisp.net mailinglists can be found here: 2017-09-06T02:03:33Z deba5e12 quit (Ping timeout: 240 seconds) 2017-09-06T02:06:14Z jameser joined #lisp 2017-09-06T02:06:22Z vtomole quit (Ping timeout: 260 seconds) 2017-09-06T02:10:11Z neoncontrails joined #lisp 2017-09-06T02:11:36Z dmitryl quit (Ping timeout: 252 seconds) 2017-09-06T02:30:08Z Bike quit (Ping timeout: 240 seconds) 2017-09-06T02:34:55Z LooneyTunes quit (Ping timeout: 240 seconds) 2017-09-06T02:41:54Z marusich joined #lisp 2017-09-06T02:51:34Z karswell quit (Remote host closed the connection) 2017-09-06T02:56:31Z dddddd quit (Remote host closed the connection) 2017-09-06T02:56:38Z Bike joined #lisp 2017-09-06T02:57:09Z babalua left #lisp 2017-09-06T02:58:53Z test1600 joined #lisp 2017-09-06T02:59:49Z beach: Good morning everyone! 2017-09-06T03:01:59Z pierpa quit (Quit: Page closed) 2017-09-06T03:07:31Z dmitryl joined #lisp 2017-09-06T03:10:37Z neoncontrails quit (Remote host closed the connection) 2017-09-06T03:11:13Z neoncontrails joined #lisp 2017-09-06T03:12:08Z neoncontrails quit (Remote host closed the connection) 2017-09-06T03:12:25Z neoncontrails joined #lisp 2017-09-06T03:12:31Z dmitryl quit (Ping timeout: 248 seconds) 2017-09-06T03:14:50Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-06T03:20:35Z kobain quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2017-09-06T03:20:54Z anticrisis joined #lisp 2017-09-06T03:21:39Z loke: edgar-rft: Your comment about integers and EQ is not really correct 2017-09-06T03:21:48Z anticrisis: edgar-rft: thank you! was offline but checked the irc logs just in case, appreciate the pointer 2017-09-06T03:22:01Z loke: if the integers are within FIXNUM range, they will be EQ in all Lisp implementations that I know of. 2017-09-06T03:23:57Z aeth: The implementation would have to work to make them *not* eq 2017-09-06T03:24:29Z loke: aeth: Exactly. :-) 2017-09-06T03:24:58Z loke: Well, arguably, I think ABCL can make it happen. It can box integers. 2017-09-06T03:26:01Z loke: I'm trying to force that right now, but I can't seem to be able to. 2017-09-06T03:26:41Z elderK joined #lisp 2017-09-06T03:28:15Z loke: Yay. I did it. 2017-09-06T03:28:32Z aeth: Well, I guess with ABCL, the JVM does all the hard work 2017-09-06T03:28:47Z aeth: How did you do it? 2017-09-06T03:28:55Z loke: On ABCL, the following yields T: (eq most-positive-fixnum most-positive-fixnum) 2017-09-06T03:29:11Z loke: however, the value of most-positive-fixnum is 2147483647, so 2017-09-06T03:29:20Z loke: this yields NIL: (eq 2147483647 2147483647) 2017-09-06T03:29:56Z aeth: 32 bit? 2017-09-06T03:30:07Z loke: I believe this is because ABCL creates a boxed integer using Integer.valueOf(). The JVM uses preallocated instances of boxed integers up to a limit (256, I think?) 2017-09-06T03:30:50Z loke: And I confirm that (eq 255 255) is T, while (eq 256 256) is NIL. 2017-09-06T03:31:05Z loke: So it clearly does exactly that. 2017-09-06T03:33:29Z brendyn joined #lisp 2017-09-06T03:43:09Z aeth: so ABCL's real fixnum is 255 :-P 2017-09-06T03:47:39Z edgar-rft: loke: (was away, sorry for the delay) If I understand that right is that "all objects that can be confused with a memory pointer" can also be EQ? I'm asking because a memory pointer at the machine level *is* a fixnum. 2017-09-06T03:49:23Z loke: edgar-rft: The formally correct answer is: There is no way of knowing, since different CL implementations do different things and the standard has nothing to say on the subject other than that the result is unpredictable. 2017-09-06T03:49:45Z loke: The CL spec has no conect of a "memory pointer". 2017-09-06T03:49:55Z beach: concept 2017-09-06T03:49:59Z loke: ABCL doesn't have that concept at all. 2017-09-06T03:50:54Z Bike quit (Ping timeout: 255 seconds) 2017-09-06T03:51:08Z loke: Now, you can of course investigate specific CL implementations to determine how something is implemented, as I just did with ABCL. It's an interesting intellectual excersise, and quite fun to do, but the results only apply to that particular implementation, and can change at any time. 2017-09-06T03:53:45Z beach: edgar-rft: Regarding your comment about the same integer being stored in some memory location, can I assume that you know that some (most?) implementations store fixnums directly in the "pointer" without allocating any memory? 2017-09-06T03:54:26Z edgar-rft: loke: I just have read the "Notes" section of CLHS EQ, and in deed it looks very messy. Thank you for pointing things out. One can learn every day something new on #lisp :-) 2017-09-06T03:54:28Z beach: edgar-rft: And that this is the reason why some implementations return true when EQ is applied to similar fixnums. 2017-09-06T03:55:41Z beach: edgar-rft: The situation you mention can happen of course, but only for bignums in a typical implementation. But I suppose you know this, right? 2017-09-06T03:55:50Z phoe: loke: actually 2017-09-06T03:55:54Z edgar-rft: beach: yes, I know, that's what I meant with "can be confused with a memory pointer", but "integer" can also be a bignum 2017-09-06T03:56:26Z phoe: in Java, small Integers (0-255) are cached, that's why ABCL is saying they are EQ. 2017-09-06T03:56:59Z phoe: Larger Integers are always created anew, so you are accessing two different Java instances of Integer class, which cannot be EQ. 2017-09-06T03:57:01Z edgar-rft: beach: the case I constructed was a situation that probably nobody really needs in practice. I was aware of that. 2017-09-06T03:57:15Z beach: OK. 2017-09-06T03:57:17Z phoe: Which actually outlines the idea of why EQ can fail for numbers pretty well. 2017-09-06T03:57:19Z loke: phoe: Correct. Which is exactly what I said, was it not? 2017-09-06T03:57:37Z phoe: loke: Woah, you did! 2017-09-06T03:57:40Z loke: phoe: I also believe it's -256 to 255 :-) 2017-09-06T03:57:53Z phoe: Negatives too? Oh. 2017-09-06T03:57:59Z loke: I think so. 2017-09-06T03:57:59Z phoe: I need to read up more. 2017-09-06T03:58:15Z phoe: And I need to read more closely. 2017-09-06T03:59:22Z edgar-rft: loke, beach: But I wasn't really aware that *most* implemetations think of fixnums as EQable. So... thank you! 2017-09-06T04:00:10Z edgar-rft will nontheless will continue to compare integers with EQL or = 2017-09-06T04:00:26Z phoe: very good instinct 2017-09-06T04:02:57Z anticrisis: hi again, I think what sparked this discussion was my investigation into CDR 8, generic equality... and I think there's a problem with one part of it... should I email cdr-discuss? The last message on that list was in 2014. 2017-09-06T04:03:55Z anticrisis: or should i email the author directly? or is there a better route to provide feedback? 2017-09-06T04:04:12Z zulu_inuoe joined #lisp 2017-09-06T04:04:36Z anticrisis: or, frankly, does anyone actually care so many years later? :-) 2017-09-06T04:05:12Z saki quit (Quit: saki) 2017-09-06T04:06:33Z zulu_inuoe_ quit (Ping timeout: 252 seconds) 2017-09-06T04:08:25Z beach: anticrisis: There is a fundamental flaw with the idea of a generic equality function. 2017-09-06T04:08:35Z dmitryl joined #lisp 2017-09-06T04:08:46Z beach: anticrisis: To work, it needs a third parameter, namely a "situation". 2017-09-06T04:09:11Z beach: The thing is that, whether two objects are equal or not, does not depend only on the objects, but also on the situation. 2017-09-06T04:09:35Z beach: For example, the phone company considers me and my wife to be the same person, because we have the same phone number. 2017-09-06T04:12:13Z anticrisis: beach: yes, that is true 2017-09-06T04:12:45Z beach: anticrisis: Kent Pitman wrote about this. Did you read that page? 2017-09-06T04:12:45Z anticrisis: but i also find the idea of a total ordering across types to be quite useful, for example when dealing with hash table keys 2017-09-06T04:13:08Z anticrisis: uh nope 2017-09-06T04:13:19Z dmitryl quit (Ping timeout: 248 seconds) 2017-09-06T04:13:22Z anticrisis: i just went through the cdr-discuss archives 2017-09-06T04:13:23Z beach: http://www.nhplace.com/kent/PS/EQUAL.html 2017-09-06T04:13:44Z anticrisis: thanks, let me look at that 2017-09-06T04:14:15Z anticrisis: meantime, total ordering, which for e.g. Erlang uses, is useful, no? 2017-09-06T04:15:42Z wigust joined #lisp 2017-09-06T04:16:12Z Lowl3v3l joined #lisp 2017-09-06T04:23:29Z marusich quit (Quit: Leaving) 2017-09-06T04:26:04Z anticrisis: if i want to make a hash table implementation that accepts arbitrary user-defined structures as keys, i have to define equality and comparison generically -- usually with a hash code function like SXHASH 2017-09-06T04:30:51Z phoe: not really 2017-09-06T04:31:06Z phoe: "arbitrary user-defined structures" actually follow patterns 2017-09-06T04:31:39Z phoe: all standard user-defined classes will be of types STRUCTURE-CLASS or STANDARD-CLASS for example 2017-09-06T04:32:05Z phoe: and all implementation-specific objects are enumerable and can, in the worst case, have different clauses for SXHASH. 2017-09-06T04:32:27Z phoe: I mean, types of all implementation-specific objects. 2017-09-06T04:32:38Z edgar-rft: not neccessarily. Spaghetti can have "arbitrary user-defined structures" that won't be accepted by any computer 2017-09-06T04:33:04Z Zhivago: Start by considering the equality operator you've configured the hash-table to use. 2017-09-06T04:33:24Z phoe: so I think that your implication has a false premise 2017-09-06T04:33:33Z iqubic quit (Remote host closed the connection) 2017-09-06T04:34:10Z edgar-rft: what I wanted to point out is that the whole program depends on a possibly exact definition of "arbitrary user-defined structures", because computers can't handle real arbitrariness. 2017-09-06T04:34:55Z Zhivago: It doesn't really -- it depends on which equality operator he's using -- that will provide the semantics. 2017-09-06T04:35:51Z edgar-rft: right, on the definition of "equality", too 2017-09-06T04:36:36Z Zhivago: If he's using EQ or EQL, then structure doesn't come into it. 2017-09-06T04:37:12Z edgar-rft: "structure" can be anything, not only defstruct 2017-09-06T04:38:33Z Zhivago: Sure, but EQ and EQL are identity operators. 2017-09-06T04:38:47Z phoe: all structures, end in end, are just words of computer memory 2017-09-06T04:39:11Z phoe: in the end* 2017-09-06T04:39:18Z phoe: it's too early for me to use English 2017-09-06T04:39:36Z edgar-rft: not with my spaghetti example above 2017-09-06T04:40:31Z edgar-rft: phoe: write in polish and use Google translator, we wanna have something to laugh about 2017-09-06T04:40:35Z al-damiri quit (Quit: Connection closed for inactivity) 2017-09-06T04:42:01Z anticrisis: i have a simple example, let me make a paste... 2017-09-06T04:42:34Z damke joined #lisp 2017-09-06T04:43:21Z anticrisis: http://paste.lisp.org/+7M19 2017-09-06T04:43:54Z anticrisis: ok, so we know why it behaves this way, but what if I want to make a hash table where those 'foo instances all refer to the same slot? 2017-09-06T04:45:23Z edgar-rft: does that mean if you store a new instance into the hash-table, you want an old instance to be overwritten? 2017-09-06T04:45:28Z anticrisis: yes 2017-09-06T04:46:29Z anticrisis: because, let's say, 'foo is some complex structure that indicates an address, and two instances of 'foo with the same slot values should be understood to refer to the same place 2017-09-06T04:46:56Z Lowl3v3l quit (Remote host closed the connection) 2017-09-06T04:47:53Z anticrisis: (equalp (make-instance 'foo) (make-instance 'foo)) is NIL, but I want an equality function that returns T 2017-09-06T04:48:08Z edgar-rft: the equality depends on the direct superclass or *any* superclass in the class hierarchy? 2017-09-06T04:48:44Z carld quit (Ping timeout: 260 seconds) 2017-09-06T04:49:20Z anticrisis: i'd say all superclasses, at least those that have slots 2017-09-06T04:49:30Z anticrisis: does that matter? 2017-09-06T04:49:39Z edgar-rft: yes, very much 2017-09-06T04:50:01Z anticrisis: I'd settle for the simpler case 2017-09-06T04:52:00Z anticrisis: this is what got me on the hunt for a generic equality function, and how i ran across CDR 8... 2017-09-06T04:53:37Z anticrisis: in a variety of other languages, hash table keys can use hash functions that would make those three 'foo instances equivalent 2017-09-06T04:53:58Z phoe: there are hash tables in portable CL that accept any predicate 2017-09-06T04:54:17Z edgar-rft: And there is no simple case. A CLOS class can have e.g. several direct superclasses. Which one is more important needs *your* decision. 2017-09-06T04:54:27Z cromachina_: works for structs 2017-09-06T04:55:19Z anticrisis: phoe: any recommendations? eg fset, sycamore 2017-09-06T04:56:55Z vlatkoB joined #lisp 2017-09-06T04:57:42Z anticrisis: if i were to implement a new hash table library, i might use a generic function that returned a hash code, so users could provide their own specialized methods to hash their classes/structures however they wanted 2017-09-06T04:58:33Z anticrisis: rather than an arbitrary predicate function, which could wind up being slower than computing (and presumably caching) a hash 2017-09-06T04:59:34Z shrdlu68 joined #lisp 2017-09-06T04:59:36Z loke: anticrisis: You'd need an equals function as well 2017-09-06T05:00:16Z loke: anticrisis: There are existing hash table implementations (on, the in the case of SBCL, buuilt-in) that allows you to pass arbitrary hash-code and equals-functions when creating the hashtable. 2017-09-06T05:00:19Z loke: That's more flexible. 2017-09-06T05:00:47Z loke: If you want to use a generic function, just pass that generic function to make-hash-table. 2017-09-06T05:00:59Z anticrisis: yes definitely, SBCL already solves this 2017-09-06T05:01:20Z loke: There are third-party hash table libraries that does the same, with pretty much the same API as the SBCL one. 2017-09-06T05:02:02Z anticrisis: so with that, do you think there's no point to CDR 8 anymore? 2017-09-06T05:02:39Z anticrisis: i guess i'm wondering if it's worth the effort to help fix it, and its implementation :generic-comparability, in Quicklisp 2017-09-06T05:03:25Z anticrisis: never mind, i'm guessing the answer is "it's up to you" :-) 2017-09-06T05:03:49Z loke: The concept of "equality" is very loose, and without the ability to, say, implement your own number classes by subclassing NUMBER, there is very little point to having it. 2017-09-06T05:03:51Z shka_ joined #lisp 2017-09-06T05:03:59Z cromachina_: you could also redefine sxhash and equalp if you are feeling dangerous 2017-09-06T05:04:24Z anticrisis: hah nice - that makes me nervous though :) 2017-09-06T05:04:31Z loke: If you could implement your own string class, you'd need to be able to to overload EQUALS so that it would work as expected for your new string class. But since CL doesn't provide this, what's the point? 2017-09-06T05:05:08Z loke: cromachina_: I wonder if there are any CL implementations that allows you to do tht. After all, EQUAL is typically inlined. 2017-09-06T05:05:30Z anticrisis: you could box up all the native types, of course 2017-09-06T05:06:22Z anticrisis: by "native" i mean the CL-defined types 2017-09-06T05:06:36Z Zhivago: Why would that help? 2017-09-06T05:07:56Z anticrisis: i was thinking in the context of defining your own NUMBER or STRING types, for whatever reasons 2017-09-06T05:08:49Z dec0n joined #lisp 2017-09-06T05:09:30Z dmitryl joined #lisp 2017-09-06T05:11:21Z cromachina_: loke, true 2017-09-06T05:11:42Z anticrisis: so, basically nobody online right now wants to defend CDR 8? :) 2017-09-06T05:11:56Z cromachina_: never used it.. 2017-09-06T05:13:14Z anticrisis: i'm too influenced by erlang's total ordering approach... it's comforting to know you can compare a symbol to a list and always get the same answer, even if it's not immediately obvious why that's useful :) 2017-09-06T05:13:19Z loke: anticrisis: I think it's one of those things that newcomers to Lisp feels would be a neat way to "fix" Lisp... Kinda like the afforts to create a "readable" syntax phase that all beginners go through. 2017-09-06T05:13:55Z anticrisis: like i said in our messages that crossed, you're right about that -- bringing familiar and comfortable concepts from other languages 2017-09-06T05:14:12Z dmitryl quit (Ping timeout: 252 seconds) 2017-09-06T05:14:27Z anticrisis: I happen to like {:a 1 :b 2}, don't you? :) 2017-09-06T05:14:59Z loke: anticrisis: and that is different from a Lisp plist, how? (:a 1 :b 2) 2017-09-06T05:16:07Z anticrisis: actually i like plists too -- just more used to hash tables, which i also know are less efficient until they get a bit bigger 2017-09-06T05:16:19Z loke: I generally use alists 2017-09-06T05:16:25Z loke: But, to each their own 2017-09-06T05:16:44Z Mon_Ouie quit (Ping timeout: 260 seconds) 2017-09-06T05:16:47Z anticrisis: i think erlang used plists primarily, and didn't add hash tables until just a few years ago 2017-09-06T05:16:53Z phoe: anticrisis: https://github.com/pnathan/genhash I think 2017-09-06T05:17:24Z anticrisis: phoe: ah yes, i was just looking at that, thank you! 2017-09-06T05:21:32Z anticrisis: thanks all for the discussion, it's always helpful 2017-09-06T05:26:09Z Mon_Ouie joined #lisp 2017-09-06T05:29:11Z raynold quit (Quit: Connection closed for inactivity) 2017-09-06T05:30:09Z elderK quit (Quit: WeeChat 1.9) 2017-09-06T05:30:14Z BlueRavenGT joined #lisp 2017-09-06T05:32:50Z carld joined #lisp 2017-09-06T05:34:29Z d4ryus joined #lisp 2017-09-06T05:37:32Z carld quit (Ping timeout: 240 seconds) 2017-09-06T05:40:02Z anticrisis: phoe: interestingly, pnathan is also the author of :generic-comparability, an implementation of CDR 8, which has some problems on hash tables... 2017-09-06T05:46:35Z Zhivago: Well, generic equality is pretty well self contradictory. 2017-09-06T05:47:46Z Karl_Dscc joined #lisp 2017-09-06T05:48:36Z flamebeard joined #lisp 2017-09-06T05:49:32Z Zhivago: Does 8.0 equal 8? For some purposes yes, others no. 2017-09-06T05:50:44Z d4ryus quit (Quit: WeeChat 1.9) 2017-09-06T05:51:05Z edgar-rft: 8.0 is more equal than 8 2017-09-06T05:51:50Z loke: Also, there is a reasonable argument that floating point numbers aren't equal to anything. 2017-09-06T05:52:06Z loke: The poin tis that an FP number isn't just a value. It's an estimation. 2017-09-06T05:52:38Z loke: So you have "approximately 8.1" = "apprixomately 8.1". Is that true or not? 2017-09-06T05:53:03Z Zhivago: I'd say interval, but in any case, by some metrics some estimations may be considered equal. 2017-09-06T05:53:26Z carld joined #lisp 2017-09-06T05:53:30Z loke: Zhivago: You'd need a comparison tolerance in order to make that assertion 2017-09-06T05:53:39Z Zhivago: The key is that the equality isn't a property of the 8.0 -- it's a property of the equality operator. 2017-09-06T05:53:45Z Zhivago: And why is that a problem? 2017-09-06T05:53:47Z loke: APL is the only language I've used that has an explicit comparison tolerance value. 2017-09-06T05:53:58Z loke: Zhivago: Right. 2017-09-06T05:54:07Z Zhivago: (float= a b e) :) 2017-09-06T05:54:08Z scymtym quit (Ping timeout: 240 seconds) 2017-09-06T05:54:22Z loke: Zhivago: No language other than APL (that I know of) does that. 2017-09-06T05:55:14Z jameser quit (Ping timeout: 260 seconds) 2017-09-06T05:55:15Z Bock joined #lisp 2017-09-06T05:56:56Z jameser joined #lisp 2017-09-06T05:57:25Z oleo quit (Quit: irc client terminated!) 2017-09-06T05:57:39Z d4ryus joined #lisp 2017-09-06T05:58:22Z carld quit (Ping timeout: 248 seconds) 2017-09-06T05:58:44Z Mon_Ouie quit (Ping timeout: 260 seconds) 2017-09-06T06:06:19Z weltung quit (Quit: Textual IRC Client: www.textualapp.com) 2017-09-06T06:10:19Z dmitryl joined #lisp 2017-09-06T06:10:42Z slyrus quit (Quit: Client Quit) 2017-09-06T06:10:43Z obm joined #lisp 2017-09-06T06:12:30Z mishoo__ joined #lisp 2017-09-06T06:13:14Z slyrus joined #lisp 2017-09-06T06:13:56Z carld joined #lisp 2017-09-06T06:14:43Z safe quit (Read error: Connection reset by peer) 2017-09-06T06:15:26Z dmitryl quit (Ping timeout: 248 seconds) 2017-09-06T06:15:38Z Karl_Dscc quit (Remote host closed the connection) 2017-09-06T06:17:06Z zulu_inuoe_ joined #lisp 2017-09-06T06:18:25Z defaultxr quit (Quit: gnight) 2017-09-06T06:18:32Z carld quit (Ping timeout: 240 seconds) 2017-09-06T06:18:33Z shka_ quit (Ping timeout: 252 seconds) 2017-09-06T06:19:02Z zulu_inuoe quit (Ping timeout: 240 seconds) 2017-09-06T06:27:14Z mrcom: anticrisis: I think you're looking for "deep equality" - the examination of two structures to see if their elements are themselves deeply equal. 2017-09-06T06:30:04Z CrazyEddy quit (Remote host closed the connection) 2017-09-06T06:34:30Z carld joined #lisp 2017-09-06T06:37:53Z mrcom: I'm not aware of any languages that do that out of the box (not familiar with Erlang), but there's often some library available. 2017-09-06T06:38:56Z carld quit (Ping timeout: 246 seconds) 2017-09-06T06:39:53Z anticrisis: mrcom: yes, that's part of it: CDR 8 specifies recursive tests to get you "deep equality." 2017-09-06T06:40:40Z Zhivago: It's not really very meaningful without considering what kind of deep equality that is -- does it mean interchangeability? Does it mean interchangeability under mutation? Does it mean some other form of equivalence? 2017-09-06T06:40:43Z anticrisis: phoe: I think this library is better, because it's more of a compatibility layer over implementations that provide hash tables that accept custom hash functions and predicates: https://github.com/metawilm/cl-custom-hash-table 2017-09-06T06:41:27Z mrcom: However, such libraries make assumptions about what "equals" means. They usually only consider two objects to be equal if they are of the same type. 2017-09-06T06:41:44Z mrcom: So floating-point 8.0 would not be equal to integer 8. 2017-09-06T06:41:51Z anticrisis: Zhivago: yes, but normally the context is well understood at the time. For instance, if I'm using deep equality to test hash table keys, it's because I want them to point to the same slot. 2017-09-06T06:42:09Z anticrisis: (like my example with class 'foo from before) 2017-09-06T06:42:10Z jackdaniel: Zhivago: afair it defines generic functions equals, compare and such 2017-09-06T06:42:25Z jackdaniel: so programmer is free to extend them to match their own problem domain definition of equality 2017-09-06T06:44:15Z mishoo__ quit (Ping timeout: 248 seconds) 2017-09-06T06:44:15Z Zhivago: Extending a generic equality operator with equalities with different semantics just leads to incoherence. 2017-09-06T06:44:25Z anticrisis: jackdaniel: the implementation of CDR 8 in quicklisp is unfortunately slightly broken, and the spec itself is problematic with respect to hash tables 2017-09-06T06:44:46Z jackdaniel: I haven't seen this implementation, just read the CDR 2017-09-06T06:45:45Z jackdaniel: I like the idea 2017-09-06T06:46:51Z anticrisis: I do too, but an earlier discussion here seemed to indicate not much enthusiasm for it 2017-09-06T06:47:36Z jackdaniel: I don't have much entusiasm for big chunkns of CL standard, that doesn't mean these parts are not useful for others, everyone picks what suits him best 2017-09-06T06:47:50Z jackdaniel: or her 2017-09-06T06:47:58Z milanj joined #lisp 2017-09-06T06:51:12Z anticrisis: do you happen to know if CDRs are still discussed somewhere? 2017-09-06T06:52:01Z jackdaniel: https://common-lisp.net/project/cdr/#mailing has mailing lists 2017-09-06T06:52:14Z anticrisis: unfortunately those are dormant since 2014 2017-09-06T06:52:41Z jackdaniel: until someone asks a question or proposes something and has a reply I'd say 2017-09-06T06:53:05Z jackdaniel: what I can say is that I try to implement some CDR's in ECL between releases 2017-09-06T06:53:24Z malice joined #lisp 2017-09-06T06:54:19Z anticrisis: ok, then i may write up my concerns with CDR 8's treatment of hash tables and email them into the hopefully-not void 2017-09-06T06:54:34Z jackdaniel: CDR1, CDR5, CDR7, CDR14 looking at *featuers* are there right now 2017-09-06T06:54:49Z jackdaniel: cool 2017-09-06T06:55:03Z carld joined #lisp 2017-09-06T06:59:58Z carld quit (Ping timeout: 255 seconds) 2017-09-06T07:01:07Z angavrilov joined #lisp 2017-09-06T07:01:28Z damke_ joined #lisp 2017-09-06T07:02:13Z Suzuran42 joined #lisp 2017-09-06T07:03:11Z Suzuran quit (Disconnected by services) 2017-09-06T07:03:11Z Suzuran42 is now known as Suzuran 2017-09-06T07:03:28Z damke quit (Ping timeout: 240 seconds) 2017-09-06T07:07:10Z Mon_Ouie joined #lisp 2017-09-06T07:07:50Z mrcom: Pardon my ignorance, but where are the semantics of HT-KEYS and HT-VALUES, referenced in CDR 8, defined? 2017-09-06T07:08:07Z anticrisis: that's actually part of what I'm writing about now... 2017-09-06T07:08:12Z hajovonta joined #lisp 2017-09-06T07:08:40Z anticrisis: they're mean to reference the loop keywords hash-keys and hash-values 2017-09-06T07:08:43Z anticrisis: *meant 2017-09-06T07:09:01Z anticrisis: it's an example implementation, not code 2017-09-06T07:09:25Z anticrisis: and, the example is incomplete and flawed 2017-09-06T07:09:49Z mishoo__ joined #lisp 2017-09-06T07:10:05Z jackdaniel: you could write to the author, and you may write improved CDR (replacing this one) 2017-09-06T07:10:29Z anticrisis: you can loop through a hash table like this (loop for k being the hash-keys in ht using (hash-value v) do...) 2017-09-06T07:11:14Z dmitryl joined #lisp 2017-09-06T07:11:40Z JohnTalent quit (Quit: leaving) 2017-09-06T07:12:14Z anticrisis: jackdaniel: i think i'll cc the author too, thanks 2017-09-06T07:13:41Z beaky quit (Quit: WeebChat 1.9) 2017-09-06T07:14:27Z Murii joined #lisp 2017-09-06T07:15:37Z carld joined #lisp 2017-09-06T07:16:28Z dmitryl quit (Ping timeout: 240 seconds) 2017-09-06T07:16:32Z malice: Can I use alexandria's once-only with macro which uses user-provided name? 2017-09-06T07:17:12Z malice: I'm thinking of macro like (defmacro with-user-name (name) (alexandria:once-only (name) `(let ((,name something)) (do-something)))) 2017-09-06T07:17:21Z malice: The problem is, the name given by once-only is different from the name 2017-09-06T07:18:35Z malice: Is it "good style" just evaluating the provided name multiple times? 2017-09-06T07:20:30Z carld quit (Ping timeout: 248 seconds) 2017-09-06T07:22:07Z fouric1 quit (Ping timeout: 248 seconds) 2017-09-06T07:22:23Z fouric1 joined #lisp 2017-09-06T07:22:25Z scymtym joined #lisp 2017-09-06T07:22:28Z BlueRavenGT quit (Ping timeout: 240 seconds) 2017-09-06T07:22:28Z Zhivago: Generally implicit multiple evaluation should be avoided. 2017-09-06T07:22:31Z jackdaniel: you could assert it is a symbol if you want to bind it, that would be better 2017-09-06T07:22:35Z jackdaniel: (defmacro with-user-name* (name) (check-type name symbol) `(let ((,name something)) (do-something))) 2017-09-06T07:23:07Z jackdaniel: if it is a different kind of construct, then I'm not sure what you want to achieve by avoiding once-only for value 2017-09-06T07:23:29Z anticrisis: for anyone interested, here's a draft of my message on CDR 8 (set to expire in one day): http://paste.lisp.org/+7M1L 2017-09-06T07:25:22Z varjag joined #lisp 2017-09-06T07:25:50Z Zhivago: What does equality between two hash tables mean? Does it mean that they can be used interchangeably (until mutated)? 2017-09-06T07:26:19Z anticrisis: Zhivago: yes, i believe that's what it means 2017-09-06T07:26:36Z Zhivago: Then you can't ignore the test they're configured to use. 2017-09-06T07:26:53Z anticrisis: for example, let's say you use a hash table for a certain collection of configuration params, and you want to test against another set... 2017-09-06T07:27:03Z shdeng joined #lisp 2017-09-06T07:27:14Z anticrisis: yes, that's correct 2017-09-06T07:27:41Z anticrisis: which is the problem with CDR-8 I'm pointing out 2017-09-06T07:28:05Z anticrisis: without concluding that the whole thing is invalid -- it's just an incomplete specification 2017-09-06T07:30:53Z mrcom: anticrisis: The whole equality definition for hash tables is broken. What would normally be wanted is what you did: (loop for k being the hash-keys in a 2017-09-06T07:30:54Z mrcom: always (EQUALS (gethash k a) (gethash k b))) 2017-09-06T07:31:42Z anticrisis: right, i should probably use EQUALS there instead of EQL 2017-09-06T07:32:02Z anticrisis: but that's secondary to the main point that there's something wrong with CDR-8 2017-09-06T07:32:47Z mrcom: Special-case might be keys-only search, and very rarely values-only. Never, ever want "same set of keys" and "same set of values" disjointly, which is what CDR 8 specifies. 2017-09-06T07:33:02Z anticrisis: yeah, i think that whole thing is weird 2017-09-06T07:33:17Z anticrisis: the fact that keys and values are disjoint 2017-09-06T07:33:53Z anticrisis: (equals (:a 1 :b 2) (:a 2 :b 1)) 2017-09-06T07:33:55Z Zhivago: What might make sense is to distinguish between the equality of the hash-tables and the hash-tables contents. 2017-09-06T07:33:58Z anticrisis: bizzare 2017-09-06T07:35:18Z anticrisis: Zhivago: I'd call the former "identity", like EQ, and the latter a "deep equality," in the way EQUALP works 2017-09-06T07:36:05Z anticrisis: but CDR-8 is trying to provide something that is like EQUALP, if I'm following it correctly 2017-09-06T07:36:23Z mrcom: Just a think-o by CDR-8's author. I'd suggest you just rewrite the whole thing - "case 1: compare keys and values, case 2: compare keys only, case 3: compare values only.", and drop the "in parallel". 2017-09-06T07:38:38Z tgips joined #lisp 2017-09-06T07:40:19Z mrcom: BTW, what's quicklisp doing wrong? 2017-09-06T07:42:02Z neoncontrails quit (Ping timeout: 240 seconds) 2017-09-06T07:42:35Z anticrisis: what's quicklisp doing wrong? what do you mean? 2017-09-06T07:43:36Z jackdaniel: I think he referes to the implementation available in QL 2017-09-06T07:44:29Z anticrisis: oh, maybe i should just remove that from my note, it's ancillary. 2017-09-06T07:45:36Z mrcom: No, that was my question - what's the QL implementation of CDR-8 doing wrong? 2017-09-06T07:45:48Z anticrisis: oh - hold on... 2017-09-06T07:46:04Z mrcom: Sorry, the lib avail via QL. 2017-09-06T07:46:13Z anticrisis: firstly, this issue: https://github.com/pnathan/generic-comparability/issues/5 2017-09-06T07:47:22Z mrcom: OK, get it. He implemented his spec, which is broken. 2017-09-06T07:47:30Z anticrisis: yep 2017-09-06T07:47:42Z shdeng quit (Ping timeout: 248 seconds) 2017-09-06T07:51:12Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-06T07:51:37Z jameser joined #lisp 2017-09-06T07:53:10Z anticrisis: does anyone know why sometimes emacs/SLIME repl decides to put backslashes in front of my " marks? have no idea why it does this sometimes and not other times. 2017-09-06T07:55:05Z anticrisis: I'm guessing it has something to do with some output in the buffer throwing off its parser -- clearing the buffer fixes the problem 2017-09-06T07:55:45Z jackdaniel: anticrisis: do you use paredit in your REPL? 2017-09-06T07:55:58Z jackdaniel: I had such problems, so I've left it enabled only for source code buffers 2017-09-06T08:00:55Z anticrisis: jackdaniel: yes, actually smartparens -- normally trouble-free 2017-09-06T08:05:50Z anticrisis: mrcom: fyi i think :generic-compatibility is completely broken with hash-tables, i'm about to file another issue. 2017-09-06T08:09:46Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-06T08:12:22Z hhdave joined #lisp 2017-09-06T08:14:27Z jameser joined #lisp 2017-09-06T08:14:42Z anticrisis: :generic-comparability I mean 2017-09-06T08:19:26Z attila_lendvai joined #lisp 2017-09-06T08:19:26Z attila_lendvai quit (Changing host) 2017-09-06T08:19:26Z attila_lendvai joined #lisp 2017-09-06T08:20:42Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-06T08:26:40Z jameser joined #lisp 2017-09-06T08:29:13Z jameser quit (Client Quit) 2017-09-06T08:29:25Z strelox joined #lisp 2017-09-06T08:39:48Z mishoo__ quit (Ping timeout: 240 seconds) 2017-09-06T08:40:06Z carld joined #lisp 2017-09-06T08:40:34Z mishoo__ joined #lisp 2017-09-06T08:43:34Z jameser joined #lisp 2017-09-06T08:44:28Z carld quit (Ping timeout: 240 seconds) 2017-09-06T08:53:10Z _cosmonaut_ joined #lisp 2017-09-06T08:57:22Z sz0 joined #lisp 2017-09-06T09:01:38Z Kevslinger quit (Quit: Connection closed for inactivity) 2017-09-06T09:08:42Z BitPuffin|osx joined #lisp 2017-09-06T09:12:11Z marvin2 joined #lisp 2017-09-06T09:12:28Z wigust quit (Remote host closed the connection) 2017-09-06T09:12:48Z anticrisis quit (Quit: be excellent to each other) 2017-09-06T09:23:55Z obm quit (Read error: Connection reset by peer) 2017-09-06T09:25:18Z mrcom quit (Read error: Connection reset by peer) 2017-09-06T09:25:20Z quazimodo quit (Ping timeout: 248 seconds) 2017-09-06T09:26:05Z mrcom joined #lisp 2017-09-06T09:26:18Z daniel-s joined #lisp 2017-09-06T09:32:57Z shdeng joined #lisp 2017-09-06T09:45:55Z Bike joined #lisp 2017-09-06T10:05:07Z knicklux joined #lisp 2017-09-06T10:10:08Z stux|RC-only quit (Ping timeout: 248 seconds) 2017-09-06T10:11:08Z ralt joined #lisp 2017-09-06T10:11:12Z ralt: hello 2017-09-06T10:11:29Z quazimodo joined #lisp 2017-09-06T10:14:06Z tgips quit (Remote host closed the connection) 2017-09-06T10:14:08Z Mon_Ouie quit (Ping timeout: 240 seconds) 2017-09-06T10:15:27Z stux|RC-only joined #lisp 2017-09-06T10:18:36Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-06T10:20:49Z jameser joined #lisp 2017-09-06T10:22:08Z eschatologist quit (Ping timeout: 240 seconds) 2017-09-06T10:22:47Z eschatologist joined #lisp 2017-09-06T10:23:12Z jameser quit (Client Quit) 2017-09-06T10:24:56Z flip214: is "wc -l ~/.quicklisp/dists/quicklisp/systems.txt" the right way to count the number of systems in QL? 2017-09-06T10:25:52Z XachX: flip214: not the best. 2017-09-06T10:26:08Z flip214: or should I only count the number of distinct first words? Still 1547. 2017-09-06T10:26:50Z flip214: is there some official "number of libraries in QL" that's updated for each release? 2017-09-06T10:27:27Z jackdaniel: libraries aren't the same as systems 2017-09-06T10:27:42Z jackdaniel: one library may have dozen of them, often it has two: foo and foo-test 2017-09-06T10:27:46Z Xach: flip214: (length (ql-dist:provided-releases (ql-dist:dist "quicklisp"))) 2017-09-06T10:28:12Z Xach: quicklisp tracks the releases of libraries, so counting releases is the thing to try 2017-09-06T10:30:13Z flip214: so, the 1546 number seems legit. 2017-09-06T10:30:43Z flip214: thank you! 2017-09-06T10:31:48Z Xach: no 2017-09-06T10:32:26Z flip214: no thanks? 2017-09-06T10:32:45Z Xach: yes 2017-09-06T10:32:52Z Xach: maybe 2017-09-06T10:33:23Z flip214: reminds me of Louis de Funès 2017-09-06T10:34:19Z Xof: now there's a cultural reference 2017-09-06T10:35:16Z Xof: probably lost on (most of) the anglosphere 2017-09-06T10:35:24Z beaky joined #lisp 2017-09-06T10:36:13Z flip214: nudge nudge wink wink. 2017-09-06T10:36:48Z flip214: Xof: I guess this reference only works for people > 35 years or so. 2017-09-06T10:40:00Z ralt: flip214: I'm not >35 y.o. 2017-09-06T10:41:59Z flip214: ralt: and you get the LdF reference? Well done. 2017-09-06T10:42:32Z ralt: flip214: I'm French, I think most people do 2017-09-06T10:42:41Z ralt: most French people do* 2017-09-06T10:44:21Z flip214: ralt: ah, okay. that's a good reason. 2017-09-06T10:44:56Z flip214: He was quite famous in the German-speaking world -- 30 years ago or so... 2017-09-06T10:45:29Z jollygood2 joined #lisp 2017-09-06T10:45:37Z jollygood2: hello. why doesn't this work? 2017-09-06T10:45:45Z jollygood2: (reduce 'funcall '(length (1+)) :initial-value "foo" :from-end t)) 2017-09-06T10:45:58Z jollygood2: The value (1+) is not of type (OR FUNCTION SYMBOL) 2017-09-06T10:47:20Z ralt: jollygood2: '(length . (1+)) would work "better" 2017-09-06T10:47:52Z jollygood2: (reduce 'funcall '(1+ length) :initial-value "foo" :from-end t)) 2017-09-06T10:48:11Z phoe: jollygood2: you seem to want ALEXANDRIA:CURRY 2017-09-06T10:48:13Z jollygood2: this worked, but I am getting this odd warning. 0[8] Help! ERROR-ERROR is 3 levels deep. Will try to THROW this thread to the toplevel. 2017-09-06T10:48:33Z phoe: This isn't a warning. This is SBCL crying for help for some reason. 2017-09-06T10:48:54Z jollygood2: phoe judging by the name I don't think that is what I want 2017-09-06T10:49:12Z phoe: oh wait a second 2017-09-06T10:49:32Z phoe: oooh, I just got it 2017-09-06T10:49:46Z phoe: I never used reduce with funcall before. 2017-09-06T10:49:54Z phoe: clever 2017-09-06T10:50:05Z dddddd joined #lisp 2017-09-06T10:50:30Z wxie joined #lisp 2017-09-06T10:50:36Z jollygood2: yeah, it works fine, returns 4. still don't get that notice though. I can safely ignore it? 2017-09-06T10:50:44Z phoe: don't get that notice? 2017-09-06T10:50:46Z phoe: what do you mean? 2017-09-06T10:51:11Z jollygood2: Help! ... notification I pasted above 2017-09-06T10:51:14Z phoe: can you copypaste your whole Lisp session from terminal to me? 2017-09-06T10:51:37Z jollygood2: moment 2017-09-06T10:51:43Z phoe: This error is going to happen when you never leave the SBCL debugger when an error happens. 2017-09-06T10:52:15Z _cosmonaut_ quit (Ping timeout: 240 seconds) 2017-09-06T10:52:42Z cro__ joined #lisp 2017-09-06T10:53:20Z zulu_inuoe joined #lisp 2017-09-06T10:53:47Z phoe: When an error happens, you enter the Lisp debugger. And you, the user, are meant to explicitly exit it in such case instead of evaluating more stuff. 2017-09-06T10:54:35Z jollygood2: it seems that I didn't exit lisp debugger. I restarted sbcl and now it works fine 2017-09-06T10:55:30Z test1600 quit (Quit: Leaving) 2017-09-06T10:55:58Z zulu_inuoe_ quit (Ping timeout: 248 seconds) 2017-09-06T10:55:58Z cromachina_ quit (Ping timeout: 248 seconds) 2017-09-06T10:57:02Z margeas joined #lisp 2017-09-06T10:59:36Z damke joined #lisp 2017-09-06T10:59:48Z daniel-s quit (Remote host closed the connection) 2017-09-06T11:01:48Z damke_ quit (Ping timeout: 240 seconds) 2017-09-06T11:06:18Z phoe: Yep. 2017-09-06T11:06:41Z yrk quit (Read error: Connection reset by peer) 2017-09-06T11:08:08Z MrBismuth joined #lisp 2017-09-06T11:10:53Z MrBusiness quit (Ping timeout: 246 seconds) 2017-09-06T11:11:12Z Mon_Ouie joined #lisp 2017-09-06T11:13:56Z _cosmonaut_ joined #lisp 2017-09-06T11:14:12Z shdeng quit (Quit: Leaving) 2017-09-06T11:16:35Z carld joined #lisp 2017-09-06T11:21:02Z carld quit (Ping timeout: 240 seconds) 2017-09-06T11:27:37Z al-damiri joined #lisp 2017-09-06T11:29:57Z Baggers joined #lisp 2017-09-06T11:30:09Z SAL9000_ is now known as SAL9000 2017-09-06T11:30:17Z Baggers left #lisp 2017-09-06T11:35:02Z Mon_Ouie quit (Ping timeout: 240 seconds) 2017-09-06T11:37:04Z carld joined #lisp 2017-09-06T11:41:28Z carld quit (Ping timeout: 240 seconds) 2017-09-06T11:42:59Z _death: what you actually seem to want is alexandria:compose 2017-09-06T11:43:45Z phoe: oh right, that 2017-09-06T11:51:19Z SaganMan joined #lisp 2017-09-06T11:52:25Z strelox quit (Remote host closed the connection) 2017-09-06T11:52:41Z carld joined #lisp 2017-09-06T11:57:02Z carld quit (Ping timeout: 240 seconds) 2017-09-06T11:57:14Z pjb joined #lisp 2017-09-06T12:00:02Z rpg joined #lisp 2017-09-06T12:01:12Z strelox joined #lisp 2017-09-06T12:04:29Z rpg quit (Ping timeout: 260 seconds) 2017-09-06T12:04:34Z ikopico quit (Quit: Imma make like traffic and jam) 2017-09-06T12:05:18Z ikopico joined #lisp 2017-09-06T12:05:20Z Mon_Ouie joined #lisp 2017-09-06T12:07:55Z ikopico quit (Client Quit) 2017-09-06T12:08:26Z ikopico joined #lisp 2017-09-06T12:08:32Z ralt: Excuse me #lisp, do you have a moment to talk about... logical pathnames? 2017-09-06T12:08:45Z ralt: I would like to make sure I'm getting something right. 2017-09-06T12:09:28Z ralt: first, http://www.lispworks.com/documentation/HyperSpec/Body/02_dhn.htm says this: 2017-09-06T12:09:46Z ralt: > #P<> is equivalent to #.(parse-namestring '<>), 2017-09-06T12:10:05Z ralt: so, #P"FOO:BAR;BAZ" is equivalent to #.(parse-namestring "FOO:BAR;BAZ") 2017-09-06T12:10:18Z ralt: secondly, http://www.lispworks.com/documentation/HyperSpec/Body/f_pars_1.htm says the following: 2017-09-06T12:10:31Z ralt: > * If host is nil and thing is a syntactically valid logical pathname namestring containing an explicit host, then it is parsed as a logical pathname namestring. 2017-09-06T12:10:31Z ralt: 2017-09-06T12:11:04Z ralt: so, as I understand it, #P"FOO:BAR;BAZ" is supposedly returning a LOGICAL-PATHNAME 2017-09-06T12:11:43Z ralt: lastly, when looking at http://www.lispworks.com/documentation/HyperSpec/Body/f_tr_log.htm (TRANSLATE-LOGICAL-PATHNAME), it says: 2017-09-06T12:11:46Z ralt: > Pathname is first coerced to a pathname. If the coerced pathname is a physical pathname, it is returned. If the coerced pathname is a logical pathname, the first matching translation (according to pathname-match-p) of the logical pathname host is applied, as if by calling translate-pathname. If the result is a logical pathname, this process is repeated. When the result is finally a physical pathname, it is returned. If no translation 2017-09-06T12:11:47Z ralt: matches, an error is signaled. 2017-09-06T12:12:21Z ralt: so, if no translation is set for "FOO", supposedly, (translate-logical-pathname #P"FOO:BAR;BAZ") should signal an error, right? 2017-09-06T12:13:03Z carld joined #lisp 2017-09-06T12:13:30Z ralt: right now, SBCL returns #P"FOO:BAR;BAZ", ECL returns #P"FOO:BAR;BAZ" in interpreted mode, NIL in compiled mode (I'm currently working on fixing ECL, and want to make sure the behavior is correct.) 2017-09-06T12:13:35Z ralt: CCL signals an error. 2017-09-06T12:13:46Z ralt: as I understand the spec, CCL is correct, right? 2017-09-06T12:14:39Z ikopico quit (Quit: Imma make like traffic and jam) 2017-09-06T12:16:41Z phoe: I am completely no specialist but your train of thought seems correct. 2017-09-06T12:16:54Z knicklux quit (Quit: Leaving) 2017-09-06T12:16:59Z phoe: Logical pathnames are probably the most obscure and least understood part of the standard. 2017-09-06T12:17:40Z ralt: such a great feature, though 2017-09-06T12:17:43Z ikopico joined #lisp 2017-09-06T12:17:48Z carld quit (Ping timeout: 264 seconds) 2017-09-06T12:18:12Z Shinmera: debatable 2017-09-06T12:19:30Z ralt: pjb: given that we previously talked about that, could you confirm my train of thought above? 2017-09-06T12:19:55Z Orion3k quit (Ping timeout: 255 seconds) 2017-09-06T12:20:14Z damke_ joined #lisp 2017-09-06T12:20:31Z jameser joined #lisp 2017-09-06T12:21:48Z damke quit (Ping timeout: 240 seconds) 2017-09-06T12:22:13Z Orion3k joined #lisp 2017-09-06T12:23:18Z pjb: ralt: yes, I think you found a bug in ecl and sbcl. 2017-09-06T12:23:30Z ralt: thank you 2017-09-06T12:23:44Z pjb: and in clisp too. 2017-09-06T12:23:48Z ralt: ECL already has an MR up for this, I'll report a bug to sbcl. 2017-09-06T12:23:56Z ralt: heh 2017-09-06T12:24:47Z ralt: should I give a heads-up in #sbcl before reporting the bug? 2017-09-06T12:25:22Z pjb: ralt: the error comes from make-pathname specification: "The resulting pathname is a logical pathname if and only its host component is a logical host or a string that names a defined logical host." 2017-09-06T12:25:36Z pjb: The host must be defined. 2017-09-06T12:25:42Z pjb: (if and only if). 2017-09-06T12:25:51Z drmeister: mop generic-function-argument-precedence-order 2017-09-06T12:25:51Z specbot: http://metamodular.com/CLOS-MOP/generic-function-argument-precedence-order.html 2017-09-06T12:25:57Z drmeister: What is this for? 2017-09-06T12:25:58Z pjb: parse-namestring has to call make-pathname. 2017-09-06T12:26:22Z ralt: pjb: but given that #.(parse-namestring) is called at read-time, no translation can be defined at this point? 2017-09-06T12:26:29Z wigust joined #lisp 2017-09-06T12:26:54Z drmeister: Does it change what order arguments should be dispatched on when a generic function is called? 2017-09-06T12:26:57Z jackdaniel: you may read file after compiling the previous one, in that case it could be valid 2017-09-06T12:27:10Z dieggsy joined #lisp 2017-09-06T12:27:11Z jackdaniel: if the earlier one had definition 2017-09-06T12:27:19Z pjb: drmeister: I think you should consider compute-applicable-methods to understand this generic function. It's my guess it's used around it. 2017-09-06T12:27:54Z pjb: drmeister: perhaps it's used to implement the order in compute-application-methods? 2017-09-06T12:28:03Z ralt: jackdaniel: this makes it un-appliable in ECL's compiled mode though, given that the compilation step is entirely separate from the read-time step of runtime. 2017-09-06T12:28:20Z drmeister: Ok, that would be less horrifying than what I was contemplating. 2017-09-06T12:29:56Z ralt: jackdaniel: or is the bug in ECL that #P"" should already be resolved to something else? Or, generally speaking, that no read macro should be executed at runtime? (i.e. when running a compiled program) 2017-09-06T12:30:27Z jackdaniel: ralt: I think that eval-when should help for that even in ECL 2017-09-06T12:30:29Z pjb: read macros should be executed when the source is read. 2017-09-06T12:30:39Z pjb: ie. at :compilation-time or at :execute time. 2017-09-06T12:30:40Z jackdaniel: regarding setting translation 2017-09-06T12:31:22Z ralt quit (Quit: ERC (IRC client for Emacs 25.2.1)) 2017-09-06T12:31:34Z pjb: But not at :load-toplevel time. This is for load-forms and load-time-value expressions… 2017-09-06T12:31:47Z ralt joined #lisp 2017-09-06T12:32:05Z ralt: jackdaniel: sorry, just lost my connection, did I miss something? 2017-09-06T12:32:15Z ralt: (I should setup a bnc..) 2017-09-06T12:33:21Z Kevslinger joined #lisp 2017-09-06T12:33:28Z pjb: ralt: nothing. 2017-09-06T12:33:38Z ralt: thanks 2017-09-06T12:33:50Z jackdaniel: http://hellsgate.pl/files/bd892470 2017-09-06T12:33:53Z pjb: ralt: you can check at: https://ccl.clozure.com/irc-logs/lisp/ 2017-09-06T12:33:55Z jackdaniel: rault ↑ 2017-09-06T12:33:59Z jackdaniel: ralt: * 2017-09-06T12:34:35Z ralt: thank you both 2017-09-06T12:35:41Z ralt: jackdaniel: eval-when didn't help, no, because as I understand it, there's no (eval-when (:read-toplevel)) 2017-09-06T12:36:46Z marvin2 quit (Ping timeout: 248 seconds) 2017-09-06T12:37:23Z Bike quit (Ping timeout: 255 seconds) 2017-09-06T12:37:56Z pjb: ralt: this is because of the bug. 2017-09-06T12:38:19Z ralt: pjb: clhs' parse-namestring doesn't mention make-pathname at all, or were you just saying the bug is because the implementations use it? 2017-09-06T12:38:59Z pjb: ralt: it has to use make-pathname. It could indeed use a lower-level implementation specific primitive, but the same semantics would have to be kept, I'd say. 2017-09-06T12:40:32Z marvin3 joined #lisp 2017-09-06T12:40:42Z ralt: pjb: so, as I understand it, you're saying that you can't use custom logical pathnames if the translations hasn't been compiled in another file previously? 2017-09-06T12:40:55Z ralt: s/compiled/defined/ 2017-09-06T12:42:07Z jackdaniel: I can imagine writing reader macro, which defines translation 2017-09-06T12:42:25Z jackdaniel: or even doing #.(setf …) 2017-09-06T12:42:45Z pjb: ralt: no. I'm saying there's a bug in ecl that makes it evaluate the reader macro too late. 2017-09-06T12:43:17Z pjb: Perhaps the reader macro returns (…) instead of calling eval on it? 2017-09-06T12:43:55Z pjb: ralt: you can test it: #.(parse-pathname "FOO:BAR.BAZ") vs. #P"FOO:BAR.BAZ" ; the former should work, assuming #. works. 2017-09-06T12:44:22Z pjb: also, check *read-suppress* and notice that the reader macro is "like" #. : it should not be subject to *read-suppress* (AFAIK). 2017-09-06T12:44:29Z ralt: also, clhs' parse-namestring says "if ... thing is a syntactically valid logical pathname namestring.... then it is parsed as a logical pathname namestring", which seems to conflict with "it has to use make-pathname rules", no? 2017-09-06T12:44:57Z ralt: pjb: in ECL, #P currently respects *read-suppress* (yet another bug, I guess) 2017-09-06T12:45:00Z pjb: make-pathname is used to build pathnames whatever they are. make-pathname has no parsing rules. only argument consistency rules. 2017-09-06T12:45:39Z ralt: but parse-namestring does have parsing rules 2017-09-06T12:45:46Z ralt: hence my confusion, I guess 2017-09-06T12:45:54Z pjb: (let ((*read-suppress* nil)) (read-from-string "#P\"foo\"")) #| --> #P"foo" ; 7 |# 2017-09-06T12:46:01Z jollygood2: is there a function that composes two functions? 2017-09-06T12:46:37Z jollygood2: (lambda (f g) (lambda (x) (funcall f (funcall g x))) 2017-09-06T12:46:37Z Shinmera: Compose them how 2017-09-06T12:46:40Z pjb: com.informatimago.common-lisp.cesarum.utility:compose swank::compose alexandria:compose 2017-09-06T12:46:55Z pjb: and indeed, you named it, this anonymous function. 2017-09-06T12:47:35Z pjb: (note: com.informatimago.common-lisp.cesarum.utility:compose is actually a macro, so it compose them at compilation-time providing a more efficient composed function). 2017-09-06T12:48:24Z pjb: (macroexpand '(com.informatimago.common-lisp.cesarum.utility:compose f g h)) #| --> #'(lambda (&rest com.informatimago.common-lisp.cesarum.utility::args) (f (g (apply #'h com.informatimago.common-lisp.cesarum.utility::args)))) ; t |# 2017-09-06T12:49:13Z jollygood2: pjb is efficiency a worthy trade off of not being able to pass it to a higher order function without wrapping it in a lambda first? 2017-09-06T12:49:28Z pjb: for this there are the others! 2017-09-06T12:49:54Z phoe: jollygood2: alexandria:compose is very popular 2017-09-06T12:50:24Z pjb: (mapcar (compose 1+ second list) '(1 2 3 4 5) '(10 20 30 40) '(100 200 300 400)) #| --> (11 21 31 41) |# 2017-09-06T12:50:44Z pjb: it's rare to have HOHOF. 2017-09-06T12:50:47Z ralt: pjb: #.(parse-namestring "FOO:BAR;BAZ") has exactly the same behavior in ECL 2017-09-06T12:50:59Z varjag quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-09-06T12:51:40Z dan quit (Read error: Connection reset by peer) 2017-09-06T12:52:22Z flamebeard_ joined #lisp 2017-09-06T12:52:55Z ralt: (also, (let ((*read-suppress* t)) (read-from-string "#P\"foo\"")) returns NIL in ECL.) 2017-09-06T12:53:30Z pjb: (load (compile-file "/tmp/f.lisp")) (f) --> The function F is undefined. in ecl (not the other implementations). 2017-09-06T12:54:43Z ralt: (and #P is not mentioned in *read-suppress*'s page) 2017-09-06T12:54:46Z EvW joined #lisp 2017-09-06T12:54:47Z pjb: ralt: this is correct. But this checks only read-time. We have a problem with having the read-time expressions being evaluated at compilation-time, and their result to be compiled in. 2017-09-06T12:54:56Z flamebeard quit (Ping timeout: 248 seconds) 2017-09-06T12:55:25Z flamebeard_ is now known as flamebeard 2017-09-06T12:56:56Z ralt: ah, and read-time expressions should also be evaluated at execute time? 2017-09-06T12:57:02Z Murii quit (Ping timeout: 240 seconds) 2017-09-06T12:57:34Z pjb: In the situation :execute too, of course, since in that situation the source is read. 2017-09-06T12:57:57Z pjb: The source is read at :compile-toplevel and at :execute. The fasl is read at :load-toplevele. 2017-09-06T12:58:22Z ralt: ok, so #P"" should be evaluated twice 2017-09-06T12:58:30Z pjb: No, only once. 2017-09-06T12:58:44Z pjb: Because either you do (load "source.lisp") or (load (compile-file "source.lisp")) 2017-09-06T12:58:51Z pjb: so there's only one read. 2017-09-06T12:59:11Z ralt: err, (load (compile-file "source.lisp")) does 2 reads, no? 2017-09-06T12:59:20Z pjb: No. Sexps are read only once. 2017-09-06T12:59:35Z pjb: In that case, load will load a fasl file. No read-time there. Only load-time. 2017-09-06T12:59:50Z ralt: but then, (load (compile-file "source.lisp")) should execute the reader macro at compilation time, no? 2017-09-06T12:59:54Z pjb: Yes. 2017-09-06T13:00:13Z ralt: and in this case, (eval-when (:compile-toplevel)) should fix it 2017-09-06T13:00:49Z damke joined #lisp 2017-09-06T13:01:28Z pjb: probabaly not. 2017-09-06T13:02:21Z _death: the times they are a nesting 2017-09-06T13:03:08Z damke_ quit (Ping timeout: 240 seconds) 2017-09-06T13:03:08Z ralt: ah, no, #P is still read-time before compile-time, so it should be #.(setf ...) 2017-09-06T13:04:51Z ralt: well, #.(progn (setf ...) 1), so that the list isn't evaluated 2017-09-06T13:06:25Z ralt: it's kind of awkward that the standard was designed this way, no? that the translations have to be defined at read-time to be usable with #P"" 2017-09-06T13:06:27Z pjb: ralt: how the source of the #P reader macro in ecl? It should be something like: (defun reader-dispatch-macro-pathname (stream arg sub-char) "Standard #P dispatch macro reader." (declare (ignore sub-char arg)) (parse-namestring (read stream t nil t))) 2017-09-06T13:06:27Z pjb: 2017-09-06T13:06:53Z ralt: pjb: that's basically it, yes 2017-09-06T13:07:06Z ralt: (accounting for *read-suppress*, and in C) 2017-09-06T13:07:10Z rpg joined #lisp 2017-09-06T13:07:18Z Bike joined #lisp 2017-09-06T13:07:29Z pjb: There should be no test for read-suppress in #P. 2017-09-06T13:07:49Z pjb: Ah, perhaps yes. 2017-09-06T13:09:30Z ralt: and the problem is essentially that (parse-namestring) is defining a pathname as a logical one only if the translation exists 2017-09-06T13:09:55Z mson joined #lisp 2017-09-06T13:10:23Z pjb: Yes. so sothing like: (defun reader-dispatch-macro-pathname (stream arg sub-char) "Standard #P dispatch macro reader." (declare (ignore sub-char arg)) (let ((namestring (read stream t nil t))) (if *read-suppress* nil (parse-namestring namestring)))) 2017-09-06T13:10:25Z wxie quit (Remote host closed the connection) 2017-09-06T13:10:44Z pjb: ralt: this is not a problem, this is what should be done AFAIK. 2017-09-06T13:11:17Z damke_ joined #lisp 2017-09-06T13:11:48Z damke quit (Ping timeout: 240 seconds) 2017-09-06T13:11:53Z ralt: pjb: sorry, but I don't understand what the supposed usage of translations + #P"" is then 2017-09-06T13:12:28Z mazoe joined #lisp 2017-09-06T13:12:35Z ralt: if I understand correctly, you're essentially saying that one needs to define the translations at read-time for #P"" logical pathnames to work 2017-09-06T13:12:51Z pjb: not necessarily the translations, but you have to define the logical host. 2017-09-06T13:13:46Z pjb: Which is done with eg.: (progn (eval-when (:compile-toplevel) (setf (logical-pathname-translations host) nil)) (eval-when (:load-toplevel :execute) (load-logical-pathname-translations host))) 2017-09-06T13:14:30Z pjb: But you're right, this may explain why most implementation accept to read a logical pathname even if the host is not defined yet. 2017-09-06T13:14:37Z pjb: For convenience. 2017-09-06T13:14:39Z damke joined #lisp 2017-09-06T13:14:46Z svetlyak40wt joined #lisp 2017-09-06T13:15:24Z ralt: it sucks that the spec can't answer whether parse-namestring is supposed to obey make-pathname's rules or not. 2017-09-06T13:15:29Z pjb: Notice that when you define the translations, if you use #P as in: (setf (logical-pathname-translations "H") '((#P"H:**;*.*" #P"/tmp/**/*.*"))) 2017-09-06T13:15:35Z pjb: you will get an error since H is not defined yet. 2017-09-06T13:16:08Z damke_ quit (Ping timeout: 240 seconds) 2017-09-06T13:16:41Z pjb: Hence my use of (and (ignore-errors (setf (logical-pathname-translations host) nil) t) (setf (logical-pathname-translations host) …)) 2017-09-06T13:17:47Z pjb: it does: "If host is nil and thing is a syntactically valid logical pathname namestring containing an explicit host, then it is parsed as a logical pathname namestring." 2017-09-06T13:18:05Z pjb: it must be a valid logical pathname namestring with a host. 2017-09-06T13:18:49Z pjb: But: "* Otherwise, the parsing of thing is implementation-defined." so implementations are free to do what they do. But because of that, it's not conforming to write code that falls in that case. 2017-09-06T13:19:18Z pjb: Therefore you have to define the host, because some implementations will signal an error, some will define a logical pathname with a host that doesn't exist, some may do something else! 2017-09-06T13:20:05Z pjb: From the little test I made, it looks like ecl reads, compiles, loads and executes correctly #P. But don't write non-conforming code. 2017-09-06T13:21:04Z ralt: I don't understand how the eval-when (:compile-toplevel) can work 2017-09-06T13:21:29Z pjb: which one? 2017-09-06T13:21:48Z ralt: if you have e.g. (progn (eval-when (:compile-toplevel) (setf (logical-pathname-translations "FOO") nil)) #P"FOO:BAR;BAZ"), then the #P is read-first, then the eval-when is executed, no? 2017-09-06T13:22:21Z ralt: (at compile-time, that is) 2017-09-06T13:23:14Z Bike: yeah, you'd have to do it in different forms 2017-09-06T13:23:47Z ralt: the standard requires implementations to read+compile form by form? 2017-09-06T13:25:47Z ralt: I thought it was file by file 2017-09-06T13:26:26Z Bike: form by form, yes 2017-09-06T13:26:47Z jackdaniel: that's why there is notion of a toplevel-from in the spec 2017-09-06T13:27:15Z jackdaniel: but I can't find it with l1sp.org 2017-09-06T13:27:24Z ralt: http://www.lispworks.com/documentation/HyperSpec/Body/03_bca.htm ? 2017-09-06T13:27:58Z jackdaniel: yes, and this: http://www.lispworks.com/documentation/HyperSpec/Body/26_glo_t.htm#top_level_form 2017-09-06T13:28:12Z pjb: ralt: of course, you have to separate the definition of the host from its use in reader macros! You cannot put them in the same progn. 2017-09-06T13:28:46Z jackdaniel: hum,: If the form is a progn form, each of its body forms is sequentially processed as a top level form in the same processing mode. 2017-09-06T13:29:12Z Bike: sure, but obviously it has to be read first 2017-09-06T13:29:21Z pjb: And this is why, when you need to put them in a single form such as in asdf, you have to use tricks using read-from-string or intern and funcall, etc. 2017-09-06T13:30:11Z Murii|osx joined #lisp 2017-09-06T13:31:01Z attila_lendvai quit (Quit: Leaving.) 2017-09-06T13:31:39Z obm joined #lisp 2017-09-06T13:33:04Z ralt: so, in ECL, apparently, the order is correct during the compilation. (eval-when (:compile-toplevel)) is evaluated first, then the #P"FOO:BAR;BAZ" is (parse-namestring)'d. At execute time, the (eval-when (:compile-toplevel)) is ignored, but the #P"FOO:BAR;BAZ" is (parse-namestring)'d again. 2017-09-06T13:33:15Z ralt: which is the bug. Read-time is occuring twice. 2017-09-06T13:33:44Z Bike: What? You mean, you compile-filed the lisp file, and then loaded the lisp file? 2017-09-06T13:34:22Z ralt: then I loaded the compiled file, yes 2017-09-06T13:34:51Z Bike: loading the compiled fasl is not the same as loading the lisp source file. the latter is :execute, the former is :load-toplevel 2017-09-06T13:35:06Z Bike: how can you tell that the pathname is read again? 2017-09-06T13:35:28Z ralt: I added a printf() in ECL source code where it runs (parse-namestring) when occuring a #P"" 2017-09-06T13:35:52Z ralt: s/occuring/meeting/ 2017-09-06T13:37:00Z ralt: hm. (eval-when (:execute)) isn't executed at all when executing the compiled file. 2017-09-06T13:37:10Z ralt: looks like another bug 2017-09-06T13:37:33Z Bike: i told you, :execute doesn't occur when you load a fasl 2017-09-06T13:37:35Z _death: what is "executing the compiled file" 2017-09-06T13:37:41Z Bike: :execute is when you load a source file 2017-09-06T13:37:59Z ralt: ecl --eval '(compile-file "foo.lisp" :system-p t)' --eval "(c:build-program \"foo\" :lisp-files '(\"foo.o\"))" 2017-09-06T13:38:02Z ralt: _death: ^ 2017-09-06T13:38:09Z ralt: Bike: ah, sorry 2017-09-06T13:38:23Z ralt: _death: sorry, the "executing" part is just running "./foo" 2017-09-06T13:38:42Z slyrus quit (Read error: Connection reset by peer) 2017-09-06T13:39:53Z sz0 quit (Quit: Connection closed for inactivity) 2017-09-06T13:42:35Z _death: I don't think this sense of the term correspond to eval-when's 2017-09-06T13:42:46Z oleo joined #lisp 2017-09-06T13:43:35Z moei joined #lisp 2017-09-06T13:43:40Z LiamH joined #lisp 2017-09-06T13:45:29Z slyrus joined #lisp 2017-09-06T13:49:32Z dieggsy quit (Ping timeout: 240 seconds) 2017-09-06T13:52:15Z whoma1 joined #lisp 2017-09-06T13:55:00Z whoman quit (Ping timeout: 264 seconds) 2017-09-06T13:57:51Z attila_lendvai joined #lisp 2017-09-06T13:57:51Z attila_lendvai quit (Changing host) 2017-09-06T13:57:51Z attila_lendvai joined #lisp 2017-09-06T13:57:55Z Denommus joined #lisp 2017-09-06T14:00:45Z __main__ joined #lisp 2017-09-06T14:01:34Z __main__ quit (Read error: Connection reset by peer) 2017-09-06T14:01:47Z renfield1 joined #lisp 2017-09-06T14:02:48Z _main_0 quit (Ping timeout: 240 seconds) 2017-09-06T14:03:48Z _main_ joined #lisp 2017-09-06T14:05:06Z jdz quit (*.net *.split) 2017-09-06T14:05:09Z hexfive joined #lisp 2017-09-06T14:05:16Z saki joined #lisp 2017-09-06T14:05:59Z __main__ joined #lisp 2017-09-06T14:06:44Z __main__ quit (Read error: Connection reset by peer) 2017-09-06T14:07:11Z Jesin joined #lisp 2017-09-06T14:07:52Z _main_ quit (Read error: Connection reset by peer) 2017-09-06T14:08:03Z renfield1 quit (Remote host closed the connection) 2017-09-06T14:08:37Z _rumbler31 joined #lisp 2017-09-06T14:08:53Z __main__ joined #lisp 2017-09-06T14:10:45Z _rumbler31 quit (Remote host closed the connection) 2017-09-06T14:11:40Z _rumbler31 joined #lisp 2017-09-06T14:11:58Z _cosmonaut_ quit (Ping timeout: 255 seconds) 2017-09-06T14:12:08Z shrdlu68: It seems I was incredibly naive in writing cl-tls. 2017-09-06T14:12:24Z jackdaniel: how so? 2017-09-06T14:12:46Z shrdlu68: It does not seem to be needed. 2017-09-06T14:13:40Z carld joined #lisp 2017-09-06T14:14:17Z svetlyak40wt quit (Read error: Connection timed out) 2017-09-06T14:14:21Z shrdlu68: And people have (perhaps well-placed) skepticism in adopting crypto libraries that are not widely used. 2017-09-06T14:15:13Z Shinmera: Wrapping bearssl in a CL lib would be very welcome in my opinion since cl+ssl and openssl are pretty terrible. 2017-09-06T14:15:19Z svetlyak40wt joined #lisp 2017-09-06T14:15:25Z Achylles joined #lisp 2017-09-06T14:15:38Z Akash9 joined #lisp 2017-09-06T14:15:54Z Akash9: hello need a little help please 2017-09-06T14:16:19Z pjb gives a little help to Akash9, but no more. 2017-09-06T14:16:55Z shrdlu68: I should pick out what projects I work on in future more carefully. 2017-09-06T14:17:09Z pjb: Akash9: Good Morning Mumbai! 2017-09-06T14:17:22Z pjb: shrdlu68: you mean that nobody has used cl-tls yet? 2017-09-06T14:17:29Z pjb: shrdlu68: what about yourself? 2017-09-06T14:17:45Z Akash9: Define a Recursive LISP function which takes two arguments first, an atom, second, a list, returns a list after removing first occurrence of that atom within the list. 2017-09-06T14:18:06Z carld quit (Ping timeout: 248 seconds) 2017-09-06T14:18:08Z Akash9: i have tried hard but cannot make the program 2017-09-06T14:18:14Z Akash9: any suggestions please 2017-09-06T14:18:20Z pjb: Akash9: what's your base case? 2017-09-06T14:18:22Z shrdlu68: pjb: None, and I haven't used it yet. 2017-09-06T14:18:33Z pjb: shrdlu68: don't lose hope: use it! 2017-09-06T14:19:06Z jackdaniel: Akash9: please consider joining #clnoobs for help 2017-09-06T14:19:23Z pjb: yes. 2017-09-06T14:19:26Z fe[nl]ix: Shinmera: if you think people are having difficulty loading openssl on the many operating systems out there, wait until they hear that they must compile bearssl themselves 2017-09-06T14:19:34Z jackdaniel: shrdlu68: pure lisp tls implementation could benefit for instance mezzano 2017-09-06T14:19:46Z pjb: good example. 2017-09-06T14:20:06Z pjb: You could had https to mezzano browser. 2017-09-06T14:20:08Z Akash9: jackdaniel : Thanks​ 2017-09-06T14:20:11Z jackdaniel: sure 2017-09-06T14:20:31Z Akash9 quit (Quit: Page closed) 2017-09-06T14:21:00Z Shinmera: fe[nl]ix: Well, since bearssl has practically no dependencies, it should be easy to deploy a precompiled version alongside. 2017-09-06T14:21:40Z jackdaniel: bear it with the application (snh snh) 2017-09-06T14:21:49Z shrdlu68: Shinmera: But why when there exist a native implementation? 2017-09-06T14:22:30Z jackdaniel: shrdlu68: another scenario: ECL could use pure lisp tls on Android by default 2017-09-06T14:22:44Z Shinmera: shrdlu68: because it is backed by experts and other industry teams that know what they're doing 2017-09-06T14:22:45Z jackdaniel: I think it is a worthy project 2017-09-06T14:23:43Z fe[nl]ix: shrdlu68: the author of ironclad has acknowledged that it has not verified it for side-channel attacks 2017-09-06T14:24:04Z fe[nl]ix: I wouldn't trust it at all in any security context 2017-09-06T14:24:18Z shrdlu68: fe[nl]ix: I am aware of that, but that can be fixed. 2017-09-06T14:24:19Z _death: would you trust openssl? :) 2017-09-06T14:24:36Z shrdlu68: But where does the motivation to fix it come from if no one will ever use it? 2017-09-06T14:24:42Z fe[nl]ix: _death: a lot more 2017-09-06T14:25:04Z dec0n quit (Ping timeout: 248 seconds) 2017-09-06T14:25:10Z dlowe: It's an interesting ecological question. A self-made implementation is actually safer from most automated attacks, which attack vulnerabilities in common libraries 2017-09-06T14:25:15Z shrdlu68: Someone will just write a NaCl binding and that would be used instead. 2017-09-06T14:25:22Z dlowe: but significantly less safe from a targeted attack 2017-09-06T14:25:58Z fe[nl]ix: dlowe: many side-channel attacks are very near to being universal 2017-09-06T14:26:51Z jackdaniel: shrdlu68: I think it would be used, like ironclad is widely used despite not beeing proven to be secure (and written by one person) 2017-09-06T14:26:58Z fe[nl]ix: shrdlu68: there's at least one person who will use it if you make it 2017-09-06T14:27:02Z fe[nl]ix: attila_lendvai :D 2017-09-06T14:27:41Z shrdlu68: fe[nl]ix: I've already made it. 2017-09-06T14:27:49Z astronavt joined #lisp 2017-09-06T14:28:16Z elfmacs joined #lisp 2017-09-06T14:30:33Z astronavt quit (Remote host closed the connection) 2017-09-06T14:30:41Z _death: fe[nl]ix: I think there are multiple facets to be considered.. yes, I'm pretty sure there are crypto issues in cl-tls and its dependents.. on the other hand, it's written in a memory-safe language 2017-09-06T14:30:45Z dec0n joined #lisp 2017-09-06T14:31:58Z Shinmera: JavaScript is "memory safe" and yet people break out all the time. 2017-09-06T14:31:58Z svetlyak40wt quit 2017-09-06T14:32:03Z _death: still more, it covers much less surface for attack 2017-09-06T14:32:17Z svetlyak40wt joined #lisp 2017-09-06T14:32:52Z fe[nl]ix: shrdlu68: have you verified Ironclad ? openssl's equivalent, libcrypto, is actually much higher quality than libssl 2017-09-06T14:33:14Z raynold joined #lisp 2017-09-06T14:34:03Z _death: Shinmera: the JS implementations they break that way are usually written in C++, if I'm not mistaken.. also, I'm not sure it makes sense to compare a JavaScript interpreter to a TLS implementation 2017-09-06T14:34:06Z carld joined #lisp 2017-09-06T14:35:12Z Shinmera: It makes sense insofar that it means even in a memory safe language there's ways to break the sandbox. 2017-09-06T14:35:46Z Shinmera: Unless of course you have a bug-free implementation :) 2017-09-06T14:37:09Z flamebeard quit (Quit: Leaving) 2017-09-06T14:37:13Z _death: Shinmera: I'm not claiming it solves all problems.. just that it's one more point to consider when thinking about trusting software 2017-09-06T14:37:24Z shrdlu68: fe[nl]ix: I haven't (personally) verified ironclad. 2017-09-06T14:37:35Z Lowl3v3l joined #lisp 2017-09-06T14:38:02Z Kyo91 joined #lisp 2017-09-06T14:38:27Z carld quit (Ping timeout: 240 seconds) 2017-09-06T14:40:17Z _death: one thing that could make sense in this context, btw, is to make sure everything is compiled with safety 3.. even if it means slower code 2017-09-06T14:40:26Z jackdaniel: I think "experts" argument is faulty - how to become an expert if not by writing things like this and improving them? by reading books and waiting for enlightenment? if that what makes an expert, no wonder security is in such sore state 2017-09-06T14:41:17Z Shinmera: jackdaniel: The experts argument isn't against writing it, but a reason why to prefer other solutions. 2017-09-06T14:41:27Z nexxus joined #lisp 2017-09-06T14:41:41Z _death: jackdaniel: I think it's not just that it's written by experts, but also audited by other experts.. and has suffered years in the battlefield.. although there may be a point, that when this kind of piece of software is used so extensively, experts may insert backdoors :) 2017-09-06T14:42:07Z mishoo__ quit (Ping timeout: 240 seconds) 2017-09-06T14:42:53Z elfmacs quit (Quit: WeeChat 1.9) 2017-09-06T14:42:59Z fe[nl]ix: Shinmera: given how many complaints I receive about libfixposix I don't think that most users would be able to compile bearssl 2017-09-06T14:43:03Z fe[nl]ix: not nowadays 2017-09-06T14:43:12Z obm quit (Ping timeout: 248 seconds) 2017-09-06T14:44:09Z pjb: You mean that ruby python java and javascript have achieved the dumbing down of the programming population? 2017-09-06T14:44:33Z _death: pjb: I don't think it's faults of the languages, but of the good salaries :) 2017-09-06T14:44:41Z jdz joined #lisp 2017-09-06T14:47:41Z hajovonta quit (Quit: hajovonta) 2017-09-06T14:49:12Z EvW quit (Ping timeout: 246 seconds) 2017-09-06T15:01:56Z Achylles quit (Remote host closed the connection) 2017-09-06T15:06:30Z ralt` joined #lisp 2017-09-06T15:10:06Z carld joined #lisp 2017-09-06T15:10:55Z ralt quit (Ping timeout: 255 seconds) 2017-09-06T15:11:26Z Mon_Ouie quit (Ping timeout: 248 seconds) 2017-09-06T15:12:47Z Achylles joined #lisp 2017-09-06T15:13:30Z slyrus quit (Quit: Client Quit) 2017-09-06T15:14:40Z carld quit (Ping timeout: 248 seconds) 2017-09-06T15:17:44Z slyrus joined #lisp 2017-09-06T15:18:17Z Achylles quit (Remote host closed the connection) 2017-09-06T15:21:00Z Jesin quit (Quit: Leaving) 2017-09-06T15:24:16Z Jesin joined #lisp 2017-09-06T15:25:00Z jollygood2 quit (Quit: http://www.okay.uz/ (Ping timeout)) 2017-09-06T15:26:10Z rippa joined #lisp 2017-09-06T15:26:24Z marvin3 quit (Ping timeout: 248 seconds) 2017-09-06T15:28:42Z dieggsy joined #lisp 2017-09-06T15:28:50Z edgar-rft quit (Quit: edgar-rft) 2017-09-06T15:33:24Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-06T15:33:48Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-09-06T15:34:03Z xrash joined #lisp 2017-09-06T15:36:01Z bitch quit (Remote host closed the connection) 2017-09-06T15:36:01Z Lord_of_Life quit (Remote host closed the connection) 2017-09-06T15:36:06Z al-damiri quit (Quit: Connection closed for inactivity) 2017-09-06T15:37:26Z svetlyak40wt quit (Read error: Connection timed out) 2017-09-06T15:38:22Z FreeBirdLjj joined #lisp 2017-09-06T15:38:52Z svetlyak40wt joined #lisp 2017-09-06T15:41:26Z jfrancis joined #lisp 2017-09-06T15:44:59Z slyrus quit (Quit: Client Quit) 2017-09-06T15:47:18Z mishoo__ joined #lisp 2017-09-06T15:48:15Z Mon_Ouie joined #lisp 2017-09-06T15:49:26Z Denommus quit (Ping timeout: 252 seconds) 2017-09-06T15:50:35Z dim: shrdlu68: cl-tls? can I use that to connect to MySQL and PostgreSQL servers? I would love to stop having to depend on openssl on the system in pgloader... 2017-09-06T15:50:55Z xrash quit (Read error: Connection reset by peer) 2017-09-06T15:55:43Z bitch joined #lisp 2017-09-06T15:58:50Z slyrus joined #lisp 2017-09-06T15:59:52Z Lord_of_Life joined #lisp 2017-09-06T16:01:04Z sellout- joined #lisp 2017-09-06T16:01:47Z sellout-1 quit (Ping timeout: 240 seconds) 2017-09-06T16:03:31Z sellout- is now known as sellout 2017-09-06T16:03:37Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-06T16:04:11Z shka_ joined #lisp 2017-09-06T16:04:42Z svetlyak40wt quit (Read error: Connection timed out) 2017-09-06T16:05:23Z svetlyak40wt joined #lisp 2017-09-06T16:08:51Z rpg joined #lisp 2017-09-06T16:13:24Z dieggsy quit (Remote host closed the connection) 2017-09-06T16:15:22Z shrdlu68: dim: You could be among the first to test it. It's not production-ready, but the biggest challenges is actually having people test it, report bugs, errors, bottlenecks, etc. 2017-09-06T16:15:53Z yrk joined #lisp 2017-09-06T16:16:06Z phinxy joined #lisp 2017-09-06T16:16:40Z knusbaum joined #lisp 2017-09-06T16:16:58Z Shinmera: A good test base should be querying a large variety of webservers, yeah? 2017-09-06T16:17:11Z shrdlu68: Shinmera: True. 2017-09-06T16:17:13Z _death: btw another alternative is to link bearssl into sbcl 2017-09-06T16:17:23Z Fade: shrdlu68: what is the project URL? 2017-09-06T16:17:27Z phinxy left #lisp 2017-09-06T16:17:43Z shrdlu68: Fade: https://github.com/shrdlu68/cl-tls/ 2017-09-06T16:17:51Z Fade: thx! 2017-09-06T16:18:48Z Fade: I also think this is a worthwhile project 2017-09-06T16:18:52Z Karl_Dscc joined #lisp 2017-09-06T16:19:13Z Fade: although this discussion makes me think that since we have quicklisp, we need something like freshmeat for lisp ecology. 2017-09-06T16:19:35Z mson quit (Quit: Connection closed for inactivity) 2017-09-06T16:19:35Z XachX: Yes 2017-09-06T16:21:14Z Shinmera: I'm excited to announce that Portacle 1.0 will probably be released within the week. 2017-09-06T16:21:46Z Fade: Shinmera: I was looking through the quicklisp dist update notes, and I have to say, you're a one man wrecking crew! 2017-09-06T16:22:00Z phoe: Shinmera: <3 ! 2017-09-06T16:22:07Z Shinmera: Feels somewhat strange to finally have it be "release ready". I keep worrying there's something major I've overlooked somehow. 2017-09-06T16:22:28Z phoe: Shinmera: you can worry about that for 1.1. 2017-09-06T16:22:31Z Karl_Dscc quit (Remote host closed the connection) 2017-09-06T16:22:53Z Shinmera: Fade: Oh, that's just from https://github.com/Shinmera?tab=overview&from=2017-08-16 when I removed the (in-package #:cl-user) from all my ASDs. 2017-09-06T16:23:07Z Fade chuckles 2017-09-06T16:23:18Z Fade: well, you also have a *lot* of systems. :) 2017-09-06T16:23:36Z Shinmera: I do, but I don't know if anyone actually uses them, heh. 2017-09-06T16:23:49Z Shinmera: phoe: Well, the problem with 1.0 is that it is somewhat of a promise that it should work well. 2017-09-06T16:25:20Z Shinmera: Having something advertised as "working well" only to find that it breaks badly is the kind of publicity I don't want to attract, haha 2017-09-06T16:25:22Z _death: Shinmera: you could always do what the big guys do and add a "b" suffix 2017-09-06T16:25:29Z marvin2 joined #lisp 2017-09-06T16:26:29Z nowhere_man quit (Remote host closed the connection) 2017-09-06T16:27:27Z jackdaniel: Shinmera: fingers crossed, hope you'll write an announcement to show on planet.lisp.org 2017-09-06T16:27:39Z Shinmera: jackdaniel: Will do. 2017-09-06T16:28:35Z Shinmera remembers when he put his first Lisp project, lQuery, on Quicklisp, and worried for weeks before and after about it not working for other people, or people getting mad at him for the shit software he wrote. 2017-09-06T16:30:44Z Fade: I think it's unreasonable for people to get 'mad' about you doing a bunch of work for them for free. 2017-09-06T16:31:07Z Shinmera: I never said that my fears were reasonable in any way, haha 2017-09-06T16:31:11Z Fade: if it's really bad work, there is the question of 'why publish this?' but also, patches are always welcome! 2017-09-06T16:31:30Z nowhere_man joined #lisp 2017-09-06T16:32:27Z Shinmera: Well, the most convincing argument is just that most people simply won't care either way, so it's unlikely you'll get to hear of it whether they like it or not. 2017-09-06T16:32:40Z Fade: in my experience, your systems are usually quite nicely arranged, though I admit that this is just a subjective metric. 2017-09-06T16:33:11Z Shinmera: Glad to hear. 2017-09-06T16:36:24Z nowhere_man quit (Remote host closed the connection) 2017-09-06T16:38:14Z dlowe: If people are angry enough to care, you've managed to succeed in a way 2017-09-06T16:38:21Z dlowe: er, care enough to be angry 2017-09-06T16:38:43Z mfiano: Shinmera has a plethora of nice systems -- much like fukamachi, except the latter barely maintains existing software nor respond to issues. Also Shinmer's code quality is much better in my opinion. Thanks Shinmera! :) 2017-09-06T16:38:43Z dlowe: most things I write just go plunk into the Internet and I never hear about them again. 2017-09-06T16:38:59Z Shinmera: dlowe: That's the view of an advertiser, I guess. 2017-09-06T16:39:20Z dlowe: Shinmera: something that people care about can be improved. 2017-09-06T16:39:31Z dlowe: but not much will save a software project that no one wants 2017-09-06T16:39:55Z Fade: typically every software project has at least one user 2017-09-06T16:40:07Z Shinmera: The scenario I imagine is that someone tries it out, it doesn't work, and they get mad or disappointed that they wasted their time with it, then just give up and do something else. 2017-09-06T16:40:16Z Fade: software with zero users is just wasted time. 2017-09-06T16:40:28Z Shinmera: Fade: Eh. There's the learning aspect. 2017-09-06T16:40:39Z shrdlu68: Not necessarily ^ 2017-09-06T16:40:52Z Fade: typically i'm the first client of whatever software occurs in my emacs buffers. 2017-09-06T16:41:22Z Fade: also, typically, this is more than enough reason for the software to exist. 2017-09-06T16:42:36Z Denommus joined #lisp 2017-09-06T16:42:59Z _death: Shinmera: that can happen to the best of software 2017-09-06T16:43:50Z Shinmera: _death: Well, yes. I've experienced it a lot myself, which is why I'm worried about it :) 2017-09-06T16:43:54Z hhdave quit (Ping timeout: 260 seconds) 2017-09-06T16:47:42Z _death: maybe one day anger-oriented development will take off.. pissed off people sending no nonsense patches 2017-09-06T16:49:14Z EvW1 joined #lisp 2017-09-06T16:49:54Z Murii|osx quit (Quit: Textual IRC Client: www.textualapp.com) 2017-09-06T16:52:23Z _death: I know I submitted a patch or two like that ;) 2017-09-06T16:52:29Z Shinmera: That sounds like what I do with my own projects half of the time. https://filebox.tymoon.eu//file/TVRReE5nPT0= 2017-09-06T16:52:47Z Shinmera: I'm sure the thing doesn't track a lot of the other swears I've used. 2017-09-06T16:53:46Z Shinmera: Hire me today! 2017-09-06T16:58:37Z _death: anyway, I tried running portacle yesterday and didn't have any obvious issues (archlinux) 2017-09-06T16:58:59Z Shinmera: Great! 2017-09-06T16:59:11Z svetlyak40wt quit (Remote host closed the connection) 2017-09-06T16:59:16Z nowhere_man joined #lisp 2017-09-06T16:59:26Z Shinmera: Though quite a bit has changed since the last release. Hopefully in the direction of more stability rather than less. 2017-09-06T17:00:47Z damke_ joined #lisp 2017-09-06T17:02:45Z defaultxr joined #lisp 2017-09-06T17:02:47Z damke quit (Ping timeout: 240 seconds) 2017-09-06T17:07:19Z yaewa joined #lisp 2017-09-06T17:08:35Z moei quit (Ping timeout: 246 seconds) 2017-09-06T17:09:47Z damke_ quit (Ping timeout: 240 seconds) 2017-09-06T17:14:51Z mson joined #lisp 2017-09-06T17:18:03Z arbv quit (Read error: Connection reset by peer) 2017-09-06T17:18:13Z arbv_ joined #lisp 2017-09-06T17:18:37Z arbv_ is now known as arbv 2017-09-06T17:18:58Z weltung joined #lisp 2017-09-06T17:25:55Z arbv quit (Quit: ZNC - http://znc.in) 2017-09-06T17:29:22Z arbv joined #lisp 2017-09-06T17:32:01Z brendyn quit (Ping timeout: 240 seconds) 2017-09-06T17:32:31Z vlatkoB quit (Ping timeout: 240 seconds) 2017-09-06T17:33:10Z arbv quit (Read error: Connection reset by peer) 2017-09-06T17:34:20Z vlatkoB joined #lisp 2017-09-06T17:37:06Z jasom quit (Quit: WeeChat 1.7.1) 2017-09-06T17:38:09Z SaganMan quit (Quit: WeeChat 1.6) 2017-09-06T17:41:22Z arbv joined #lisp 2017-09-06T17:46:31Z arbv quit (Quit: ZNC - http://znc.in) 2017-09-06T17:47:37Z arbv joined #lisp 2017-09-06T17:47:43Z jasom joined #lisp 2017-09-06T17:48:00Z strelox quit (Remote host closed the connection) 2017-09-06T17:49:23Z Karl_Dscc joined #lisp 2017-09-06T17:49:30Z arbv quit (Read error: Connection reset by peer) 2017-09-06T17:49:54Z arbv joined #lisp 2017-09-06T17:54:48Z arbv quit (Quit: ZNC - http://znc.in) 2017-09-06T17:55:57Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-06T17:55:59Z arbv joined #lisp 2017-09-06T17:56:30Z phoe: does portacle finally include a sane editor like vim? 2017-09-06T17:56:36Z phoe ducks 2017-09-06T17:56:43Z FreeBirdLjj joined #lisp 2017-09-06T17:59:00Z flip214: phoe: why are you ducking? that's an entirely good question, from my POV. ;) 2017-09-06T17:59:12Z flip214: evil mode isn't included, sadly.... 2017-09-06T17:59:26Z flip214: and following the instructions didn't work for me, the last 3 tries or so. 2017-09-06T18:01:04Z FreeBirdLjj quit (Ping timeout: 246 seconds) 2017-09-06T18:02:42Z jasom quit (Quit: restarting) 2017-09-06T18:03:32Z Shinmera: "didn't work" in what way? 2017-09-06T18:04:29Z jasom joined #lisp 2017-09-06T18:05:03Z arbv quit (Read error: Connection reset by peer) 2017-09-06T18:05:14Z arbv_ joined #lisp 2017-09-06T18:05:38Z arbv_ is now known as arbv 2017-09-06T18:06:07Z flip214: can't remember right now. But I can re-try tomorrow, and tell you details, okay? 2017-09-06T18:06:34Z akkad: is clml still considered the best option in CL for stats ml? 2017-09-06T18:07:53Z Shinmera: flip214: Wait for the release first 2017-09-06T18:08:17Z flip214: Shinmera: Well, I'd have tested on emacs25 from Debian amd64 2017-09-06T18:08:39Z Shinmera: I don't really care about that :) 2017-09-06T18:09:25Z flip214: oh, okay. 2017-09-06T18:09:38Z flip214: how long until the release? 2017-09-06T18:09:53Z flip214: do you have some kind of beta, so that we might make it work for the release already? 2017-09-06T18:10:24Z Shinmera: Within the week. 2017-09-06T18:10:38Z phoe quit (Ping timeout: 248 seconds) 2017-09-06T18:12:16Z Shinmera: I don't have betas, but if the build wasn't broken right now you could make your own package 2017-09-06T18:12:28Z JuanDaugherty joined #lisp 2017-09-06T18:12:31Z arbv quit (Read error: Connection reset by peer) 2017-09-06T18:12:40Z arbv_ joined #lisp 2017-09-06T18:12:51Z arbv_ is now known as arbv 2017-09-06T18:13:46Z Shinmera: I wanted to set up Travis at some point but the builds kept on breaking for unrelated reasons so I stop it 2017-09-06T18:13:50Z Shinmera: *stopped 2017-09-06T18:19:50Z swflint quit (Ping timeout: 255 seconds) 2017-09-06T18:19:50Z arbv quit (Read error: Connection reset by peer) 2017-09-06T18:19:58Z arbv_ joined #lisp 2017-09-06T18:20:22Z arbv_ is now known as arbv 2017-09-06T18:25:52Z edgar-rft joined #lisp 2017-09-06T18:25:54Z swflint joined #lisp 2017-09-06T18:25:59Z Bock quit (Ping timeout: 260 seconds) 2017-09-06T18:26:22Z FreeBirdLjj joined #lisp 2017-09-06T18:29:45Z ralt`` joined #lisp 2017-09-06T18:31:10Z wigust quit (Ping timeout: 246 seconds) 2017-09-06T18:31:43Z phoe joined #lisp 2017-09-06T18:33:29Z wigust joined #lisp 2017-09-06T18:33:33Z Blukunfando joined #lisp 2017-09-06T18:33:34Z ralt` quit (Ping timeout: 240 seconds) 2017-09-06T18:35:43Z jasom quit (Quit: WeeChat 1.7.1) 2017-09-06T18:36:12Z jasom joined #lisp 2017-09-06T18:39:33Z palter joined #lisp 2017-09-06T18:41:06Z rpg: [Unimportant question:] Anyone know how to make SLIME not highlight all strings starting with check- ? I mean, I'm happy to have check-type highlighted, but I have humdrum functions with check- prefixed names and having them all in SCREAMING-BRIGHT-RED is a nuisance... 2017-09-06T18:42:20Z _death: looks like slime-additional-font-lock-keywords 2017-09-06T18:45:31Z rpg: _death: Thanks, looks right to me. 2017-09-06T18:48:01Z varjag joined #lisp 2017-09-06T18:49:27Z rpg: _death: I see why it's happening for me -- it's happening inside case labels, which look like function calls to the regexp... 2017-09-06T18:56:54Z _death: yeah you get used to the false-lock.. first instance that comes to my mind is when I have a function taking a parameter called 'block' 2017-09-06T18:58:07Z arbv quit (Read error: Connection reset by peer) 2017-09-06T18:58:24Z arbv joined #lisp 2017-09-06T18:59:33Z dyelar quit (Quit: Leaving.) 2017-09-06T19:02:01Z Blukunfando quit (Ping timeout: 240 seconds) 2017-09-06T19:04:13Z BlueRavenGT joined #lisp 2017-09-06T19:05:57Z ralt`` is now known as ralt 2017-09-06T19:06:18Z rpg: One more emacs question: if you have a close parenthesis stranded on a line by itself, does paredit (or something else) have a command to pull it up to the previous close-paren? 2017-09-06T19:07:59Z Xof quit (Ping timeout: 255 seconds) 2017-09-06T19:08:04Z Blukunfando joined #lisp 2017-09-06T19:13:36Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-06T19:13:45Z _death: I don't use paredit.. if it's at the end of the form and point is at the right place I just C-c C-].. otherwise I use M-j which in my case is bound to a small delete-indentation-forward function that evaluates (delete-indentation t), but that leaves a space so I delete it.. don't care much for golf 2017-09-06T19:14:47Z palter quit 2017-09-06T19:15:08Z pjb: minion: memo for rpg: Just type ) on the previous parentheses, to have slime re-align and move parentheses. 2017-09-06T19:15:08Z minion: Remembered. I'll tell rpg when he/she/it next speaks. 2017-09-06T19:15:55Z whoma1 is now known as whoman 2017-09-06T19:17:19Z _death: heh, guess you can tell I set up erc to hide joins/parts/quits.. overall a good thing still 2017-09-06T19:18:08Z warweasle joined #lisp 2017-09-06T19:19:59Z shka_ quit (Ping timeout: 248 seconds) 2017-09-06T19:23:18Z rpg joined #lisp 2017-09-06T19:24:02Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-06T19:24:39Z FreeBirdLjj joined #lisp 2017-09-06T19:25:00Z nzambe quit (Remote host closed the connection) 2017-09-06T19:25:51Z nzambe joined #lisp 2017-09-06T19:26:52Z scottj joined #lisp 2017-09-06T19:28:32Z whoman: rpg, yes, emacs itself has: 2017-09-06T19:28:39Z whoman: M-^ 2017-09-06T19:28:43Z whoman: one of my favorite commands 2017-09-06T19:28:55Z FreeBirdLjj quit (Read error: Connection reset by peer) 2017-09-06T19:29:19Z FreeBirdLjj joined #lisp 2017-09-06T19:29:19Z frgo joined #lisp 2017-09-06T19:31:50Z scymtym quit (Ping timeout: 255 seconds) 2017-09-06T19:32:44Z rpg: Thanks! I see. You put it on the line with the orphaned ) and that does the trick. 2017-09-06T19:32:44Z minion: rpg, memo from pjb: Just type ) on the previous parentheses, to have slime re-align and move parentheses. 2017-09-06T19:33:07Z frgo quit (Remote host closed the connection) 2017-09-06T19:33:16Z rpg: pjb's solution works, too. 2017-09-06T19:34:45Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-06T19:35:22Z FreeBirdLjj joined #lisp 2017-09-06T19:38:54Z FreeBirdLjj quit (Read error: No route to host) 2017-09-06T19:39:24Z Prokopp joined #lisp 2017-09-06T19:39:25Z FreeBirdLjj joined #lisp 2017-09-06T19:40:17Z Prokopp: Hello everyone 2017-09-06T19:40:55Z Prokopp quit (Client Quit) 2017-09-06T19:44:21Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-06T19:49:27Z FreeBirdLjj joined #lisp 2017-09-06T19:49:35Z phoe: Hey Prok-- oh 2017-09-06T19:51:19Z Xof joined #lisp 2017-09-06T19:54:49Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-06T19:55:29Z FreeBirdLjj joined #lisp 2017-09-06T19:58:52Z warweasle quit (Quit: later) 2017-09-06T19:59:28Z FreeBird_ joined #lisp 2017-09-06T20:00:01Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-09-06T20:03:18Z vlatkoB quit (Remote host closed the connection) 2017-09-06T20:03:59Z Baggers joined #lisp 2017-09-06T20:04:51Z FreeBird_ quit (Remote host closed the connection) 2017-09-06T20:05:26Z FreeBirdLjj joined #lisp 2017-09-06T20:05:44Z papachan quit (Quit: Saliendo) 2017-09-06T20:08:46Z angavrilov quit (Remote host closed the connection) 2017-09-06T20:09:40Z FreeBird_ joined #lisp 2017-09-06T20:09:47Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-09-06T20:11:51Z Murii|osx joined #lisp 2017-09-06T20:12:01Z wigust quit (Ping timeout: 240 seconds) 2017-09-06T20:14:53Z FreeBird_ quit (Remote host closed the connection) 2017-09-06T20:15:28Z FreeBirdLjj joined #lisp 2017-09-06T20:19:08Z FreeBirdLjj quit (Read error: No route to host) 2017-09-06T20:19:43Z FreeBirdLjj joined #lisp 2017-09-06T20:24:55Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-06T20:29:33Z FreeBirdLjj joined #lisp 2017-09-06T20:29:51Z rpg quit (Quit: Textual IRC Client: www.textualapp.com) 2017-09-06T20:31:39Z CrazyEddy joined #lisp 2017-09-06T20:34:57Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-06T20:35:34Z FreeBirdLjj joined #lisp 2017-09-06T20:39:19Z FreeBirdLjj quit (Read error: Connection reset by peer) 2017-09-06T20:39:34Z FreeBirdLjj joined #lisp 2017-09-06T20:44:47Z Jesin quit (Ping timeout: 240 seconds) 2017-09-06T20:44:59Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-06T20:47:23Z Jesin joined #lisp 2017-09-06T20:49:39Z FreeBirdLjj joined #lisp 2017-09-06T20:49:42Z quazimodo quit (Ping timeout: 246 seconds) 2017-09-06T20:55:01Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-06T20:55:48Z FreeBirdLjj joined #lisp 2017-09-06T20:56:31Z mishoo__ quit (Ping timeout: 255 seconds) 2017-09-06T21:00:11Z FreeBirdLjj quit (Ping timeout: 252 seconds) 2017-09-06T21:00:25Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-09-06T21:01:10Z scymtym joined #lisp 2017-09-06T21:06:07Z Kyo91 quit (Ping timeout: 248 seconds) 2017-09-06T21:11:31Z marvin2 quit (Ping timeout: 240 seconds) 2017-09-06T21:12:13Z marusich joined #lisp 2017-09-06T21:13:48Z marvin2 joined #lisp 2017-09-06T21:23:51Z Murii|osx quit (Quit: My MacBook Air has gone to sleep. ZZZzzz…) 2017-09-06T21:25:35Z Kaisyu joined #lisp 2017-09-06T21:28:18Z carld joined #lisp 2017-09-06T21:30:47Z _rumbler31 quit (Ping timeout: 240 seconds) 2017-09-06T21:31:31Z varjag quit (Ping timeout: 240 seconds) 2017-09-06T21:37:19Z prxq joined #lisp 2017-09-06T21:44:04Z mrcom quit (Read error: Connection reset by peer) 2017-09-06T21:46:38Z Bike quit (Ping timeout: 260 seconds) 2017-09-06T21:49:25Z Baggers quit (Remote host closed the connection) 2017-09-06T21:54:13Z ralt quit (Quit: ERC (IRC client for Emacs 25.2.1)) 2017-09-06T21:54:42Z ralt joined #lisp 2017-09-06T22:01:00Z Khisanth quit (Ping timeout: 264 seconds) 2017-09-06T22:05:58Z Karl_Dscc quit (Remote host closed the connection) 2017-09-06T22:08:09Z knusbaum quit (Quit: Leaving.) 2017-09-06T22:08:36Z daniel-s joined #lisp 2017-09-06T22:11:07Z Ziemas joined #lisp 2017-09-06T22:12:59Z Jesin quit (Quit: Leaving) 2017-09-06T22:14:29Z Khisanth joined #lisp 2017-09-06T22:14:44Z MetaYan: Shinmera: I've been using Portacle for quite some time now with CEPL on OS X 10.11.6, but I've had to build it on my own to get it to run. 2017-09-06T22:15:37Z wotfan joined #lisp 2017-09-06T22:18:12Z Shinmera: MetaYan: OS X 10.11 builds should be back with 1.0 2017-09-06T22:18:25Z daniel-s quit (Remote host closed the connection) 2017-09-06T22:18:41Z Shinmera: Can't do 10.10 unfortunately. Things start breaking in more recent versions if I build on that. 2017-09-06T22:19:21Z wotfan quit (Remote host closed the connection) 2017-09-06T22:19:31Z rpg joined #lisp 2017-09-06T22:20:00Z JuanDaugherty quit (Quit: Ex Chat) 2017-09-06T22:20:59Z lmohseni joined #lisp 2017-09-06T22:21:14Z MetaYan: Shinmera: The thing is, it's been running fine with CEPL for days now, and suddenly SBCL got stuck in an infinite loop by just entering an unmatched parenthesis in the REPL. Trying to debug and see where it's stuck. Any ideas how to go about it (that might be useful to you, before I restart it)? 2017-09-06T22:21:47Z Shinmera: Never seen that before, sorry. 2017-09-06T22:22:39Z rpg quit (Client Quit) 2017-09-06T22:23:35Z rpg joined #lisp 2017-09-06T22:23:38Z MetaYan: SBCL is stuck at 100% CPU usage and Emacs is showing "Missing closing delimiter: )". 2017-09-06T22:24:24Z lmohseni: that's a happy error message :) 2017-09-06T22:24:33Z MetaYan: Exactly. 2017-09-06T22:24:40Z LiamH quit (Quit: Leaving.) 2017-09-06T22:24:52Z MetaYan: It sure made my eyes rise. 2017-09-06T22:25:05Z lmohseni: sorry if u mentioned this, but what version of sbcl are you running? 2017-09-06T22:25:15Z MetaYan: SBCL 1.3.21 2017-09-06T22:25:48Z MetaYan: SLIME 2.20 2017-09-06T22:26:28Z lmohseni: this might be totally unrelated, but i kept running into an infinite loop when tring to load quicklisp after pulling sbcl master a few days ago 2017-09-06T22:26:33Z MetaYan: I had a different keyboard layout, and accidentally entered a closing paren instead of opening. Bam. 2017-09-06T22:26:44Z lmohseni: i fixed it by nucking ~/.cache/common-lisp 2017-09-06T22:26:51Z lmohseni: or equiv. 2017-09-06T22:27:19Z MetaYan: Yes, I clear the cache every time I update quicklisp. 2017-09-06T22:27:50Z lmohseni: as of SBCL 1.3.21.65-7bf6995ed, seems fixed 2017-09-06T22:28:33Z lmohseni: also, i built my sbcl without --fancy 2017-09-06T22:29:12Z hexfive quit (Quit: WeeChat 1.9) 2017-09-06T22:29:55Z MetaYan: What do you mean was fixed in 1.3.21.65? 2017-09-06T22:30:02Z lmohseni left #lisp 2017-09-06T22:30:11Z lmohseni joined #lisp 2017-09-06T22:30:36Z lmohseni: the infinite loop when trying to load ql went away 2017-09-06T22:30:55Z _krator44: what's --fancy? 2017-09-06T22:31:19Z prxq quit (Remote host closed the connection) 2017-09-06T22:31:29Z MetaYan: The thing is, I have it in the infinite loop right now, so if someone has an idea what could be useful to get some info from it, please holler. 2017-09-06T22:31:31Z lmohseni: ah, if you've ever cloned and built sbcl from scratch, you can enable/disable various features 2017-09-06T22:31:56Z lmohseni: most that's a happy error message :) 2017-09-06T22:31:57Z lmohseni: Exactly. [16:25] 2017-09-06T22:31:57Z lmohseni: *** LiamH (~healy@vpn202075.nrl.navy.mil) has quit: Quit: Leaving. 2017-09-06T22:31:57Z lmohseni: It sure made my eyes rise. 2017-09-06T22:32:00Z lmohseni: sorry if u mentioned this, but what version of sbcl are you 2017-09-06T22:32:03Z lmohseni: running? 2017-09-06T22:32:06Z lmohseni: SBCL 1.3.21 2017-09-06T22:32:10Z lmohseni: SLIME 2.20 [16:26] 2017-09-06T22:32:13Z lmohseni: this might be totally unrelated, but i kept running into an 2017-09-06T22:32:13Z lmohseni quit (Killed (Sigyn (Spam is off topic on freenode.))) 2017-09-06T22:39:21Z Bike joined #lisp 2017-09-06T22:51:06Z antonv joined #lisp 2017-09-06T22:56:27Z wxie joined #lisp 2017-09-06T22:58:23Z Jesin joined #lisp 2017-09-06T23:00:10Z manny8888 joined #lisp 2017-09-06T23:07:10Z dmitryl joined #lisp 2017-09-06T23:07:46Z marvin2 quit 2017-09-06T23:17:38Z weltung quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-06T23:21:24Z EvW1 quit (Ping timeout: 255 seconds) 2017-09-06T23:26:26Z yaewa quit (Quit: Leaving...) 2017-09-06T23:26:38Z MetaYan: Shinmera: I just noticed that it's actually portacle that's stuck in an infinite loop. Is it of any use to you? 2017-09-06T23:32:55Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-06T23:34:38Z mson quit (Quit: Connection closed for inactivity) 2017-09-06T23:35:04Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-09-06T23:44:48Z attila_lendvai quit (Quit: Leaving.) 2017-09-07T00:01:34Z carld quit (Ping timeout: 248 seconds) 2017-09-07T00:11:23Z pierpa joined #lisp 2017-09-07T00:17:06Z quazimodo joined #lisp 2017-09-07T00:17:47Z sellout quit (Quit: Leaving.) 2017-09-07T00:22:55Z d4ryus quit (Ping timeout: 248 seconds) 2017-09-07T00:42:25Z Bicyclidine joined #lisp 2017-09-07T00:43:13Z Bike quit (Ping timeout: 246 seconds) 2017-09-07T00:44:01Z Denommus quit (Quit: going home) 2017-09-07T00:45:16Z mhd joined #lisp 2017-09-07T00:53:58Z nowhere_man quit (Remote host closed the connection) 2017-09-07T00:55:40Z Mon_Ouie quit (Ping timeout: 255 seconds) 2017-09-07T01:00:52Z Mon_Ouie joined #lisp 2017-09-07T01:02:44Z nowhere_man joined #lisp 2017-09-07T01:02:52Z Bike joined #lisp 2017-09-07T01:04:49Z carld joined #lisp 2017-09-07T01:04:58Z grumble quit (Ping timeout: 615 seconds) 2017-09-07T01:05:07Z rumble joined #lisp 2017-09-07T01:05:29Z Bicyclidine quit (Ping timeout: 252 seconds) 2017-09-07T01:05:53Z Mon_Ouie quit (Read error: Connection reset by peer) 2017-09-07T01:11:02Z hexfive joined #lisp 2017-09-07T01:13:38Z ralt quit (Quit: Connection closed for inactivity) 2017-09-07T01:16:46Z phoe quit (Ping timeout: 248 seconds) 2017-09-07T01:18:25Z phoe joined #lisp 2017-09-07T01:18:31Z margeas quit (Ping timeout: 240 seconds) 2017-09-07T01:22:20Z Jesin quit (Quit: Leaving) 2017-09-07T01:22:37Z grublet quit (Ping timeout: 248 seconds) 2017-09-07T01:28:25Z babalua joined #lisp 2017-09-07T01:33:02Z Bock joined #lisp 2017-09-07T01:36:00Z defaultxr quit (Ping timeout: 240 seconds) 2017-09-07T01:36:19Z Bicyclidine joined #lisp 2017-09-07T01:37:03Z Bike quit (Ping timeout: 260 seconds) 2017-09-07T01:40:19Z babalua quit (Quit: babalua) 2017-09-07T01:41:03Z babalua joined #lisp 2017-09-07T01:42:44Z rumbler31 quit (Remote host closed the connection) 2017-09-07T01:43:26Z phoe quit (Ping timeout: 252 seconds) 2017-09-07T01:44:01Z hexfive quit (Ping timeout: 240 seconds) 2017-09-07T01:45:04Z ski: minion: chant 2017-09-07T01:45:04Z minion: MORE RECENT 2017-09-07T01:45:19Z babalua quit (Client Quit) 2017-09-07T01:46:05Z babalua joined #lisp 2017-09-07T01:47:30Z antonv quit (Ping timeout: 240 seconds) 2017-09-07T01:49:45Z Jesin joined #lisp 2017-09-07T01:50:19Z babalua quit (Client Quit) 2017-09-07T01:51:03Z babalua joined #lisp 2017-09-07T01:55:19Z babalua quit (Client Quit) 2017-09-07T01:56:02Z babalua joined #lisp 2017-09-07T01:56:27Z jameser joined #lisp 2017-09-07T01:59:56Z karswell joined #lisp 2017-09-07T02:01:04Z hexfive joined #lisp 2017-09-07T02:01:24Z mhd quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2017-09-07T02:01:24Z mhd quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2017-09-07T02:02:36Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T02:04:44Z phoe joined #lisp 2017-09-07T02:08:30Z safe joined #lisp 2017-09-07T02:08:58Z saki quit (Ping timeout: 246 seconds) 2017-09-07T02:12:30Z brendyn joined #lisp 2017-09-07T02:12:31Z wxie quit (Quit: Bye.) 2017-09-07T02:13:35Z jameser joined #lisp 2017-09-07T02:14:09Z itruslove quit (Remote host closed the connection) 2017-09-07T02:14:10Z Guest36961 quit (Remote host closed the connection) 2017-09-07T02:14:38Z saki joined #lisp 2017-09-07T02:18:04Z marusich quit (Ping timeout: 246 seconds) 2017-09-07T02:19:37Z milanj quit (Quit: This computer has gone to sleep) 2017-09-07T02:24:39Z milanj joined #lisp 2017-09-07T02:29:54Z Orion3k quit (Ping timeout: 240 seconds) 2017-09-07T02:30:05Z saki quit (Quit: saki) 2017-09-07T02:34:37Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T02:34:56Z dddddd quit (Remote host closed the connection) 2017-09-07T02:37:12Z jameser joined #lisp 2017-09-07T02:39:55Z Orion3k joined #lisp 2017-09-07T02:43:57Z arescorpio joined #lisp 2017-09-07T02:45:53Z Orion3k quit (Ping timeout: 260 seconds) 2017-09-07T02:46:47Z Orion3k joined #lisp 2017-09-07T02:48:29Z elfmacs joined #lisp 2017-09-07T02:50:48Z babalua quit (Quit: babalua) 2017-09-07T02:51:28Z babalua joined #lisp 2017-09-07T02:52:34Z manny8888 quit (Ping timeout: 240 seconds) 2017-09-07T02:52:54Z manny8888 joined #lisp 2017-09-07T02:54:07Z kozy quit (Quit: No Ping reply in 180 seconds.) 2017-09-07T02:55:19Z babalua quit (Client Quit) 2017-09-07T02:56:02Z babalua joined #lisp 2017-09-07T02:56:07Z kozy joined #lisp 2017-09-07T03:02:10Z elfmacs quit (Ping timeout: 246 seconds) 2017-09-07T03:02:14Z rpg joined #lisp 2017-09-07T03:03:55Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T03:03:57Z drcode quit (Ping timeout: 248 seconds) 2017-09-07T03:07:03Z jameser joined #lisp 2017-09-07T03:16:04Z Bike joined #lisp 2017-09-07T03:17:09Z arescorpio quit (Quit: Leaving.) 2017-09-07T03:17:57Z Bicyclidine quit (Ping timeout: 246 seconds) 2017-09-07T03:18:47Z defaultxr joined #lisp 2017-09-07T03:24:19Z damke_ joined #lisp 2017-09-07T03:25:23Z pierpa quit (Quit: Page closed) 2017-09-07T03:26:23Z damke joined #lisp 2017-09-07T03:28:30Z carld quit (Ping timeout: 240 seconds) 2017-09-07T03:29:47Z damke_ quit (Ping timeout: 240 seconds) 2017-09-07T03:30:07Z EvW joined #lisp 2017-09-07T03:35:05Z beach: Good morning everyone! 2017-09-07T03:35:19Z babalua quit (Quit: babalua) 2017-09-07T03:36:02Z babalua joined #lisp 2017-09-07T03:37:49Z marusich joined #lisp 2017-09-07T03:37:52Z nullniverse joined #lisp 2017-09-07T03:40:19Z babalua quit (Client Quit) 2017-09-07T03:41:02Z babalua joined #lisp 2017-09-07T03:42:53Z EvW quit (Ping timeout: 248 seconds) 2017-09-07T03:44:59Z BitPuffin|osx quit (Ping timeout: 252 seconds) 2017-09-07T03:48:38Z itruslove joined #lisp 2017-09-07T03:49:33Z shka_ joined #lisp 2017-09-07T03:50:34Z pjb quit (Ping timeout: 240 seconds) 2017-09-07T03:52:11Z giraffe joined #lisp 2017-09-07T03:52:35Z giraffe is now known as Guest34710 2017-09-07T03:54:34Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T03:55:24Z rpg joined #lisp 2017-09-07T03:55:29Z rpg quit (Client Quit) 2017-09-07T03:56:27Z test1600 joined #lisp 2017-09-07T03:57:38Z schoppenhauer quit (Ping timeout: 252 seconds) 2017-09-07T03:59:12Z schoppenhauer joined #lisp 2017-09-07T04:01:04Z wheelsucker joined #lisp 2017-09-07T04:02:50Z damke_ joined #lisp 2017-09-07T04:05:19Z babalua quit (Quit: babalua) 2017-09-07T04:05:27Z damke quit (Ping timeout: 240 seconds) 2017-09-07T04:06:03Z babalua joined #lisp 2017-09-07T04:09:02Z elfmacs joined #lisp 2017-09-07T04:10:06Z Bike quit (Ping timeout: 246 seconds) 2017-09-07T04:10:30Z babalua quit (Client Quit) 2017-09-07T04:11:12Z babalua joined #lisp 2017-09-07T04:14:37Z pjb joined #lisp 2017-09-07T04:16:00Z marusich quit (Quit: Leaving) 2017-09-07T04:17:16Z shrdlu68: Morning beach. 2017-09-07T04:18:23Z text1 joined #lisp 2017-09-07T04:18:25Z nalik891 joined #lisp 2017-09-07T04:18:37Z whoma1 joined #lisp 2017-09-07T04:19:11Z SiCC quit (Ping timeout: 248 seconds) 2017-09-07T04:19:16Z wigust joined #lisp 2017-09-07T04:19:20Z wheelsucker quit (Ping timeout: 248 seconds) 2017-09-07T04:19:22Z _krator44 quit (Excess Flood) 2017-09-07T04:19:24Z nullniverse quit (Read error: Connection reset by peer) 2017-09-07T04:20:52Z logicmoo joined #lisp 2017-09-07T04:20:52Z __SiCC__ joined #lisp 2017-09-07T04:20:52Z mxh- quit (Ping timeout: 248 seconds) 2017-09-07T04:20:52Z myrkraverk quit (Ping timeout: 248 seconds) 2017-09-07T04:20:52Z sbryant quit (Ping timeout: 248 seconds) 2017-09-07T04:20:52Z myrkraverk_ joined #lisp 2017-09-07T04:20:52Z _krator44 joined #lisp 2017-09-07T04:20:52Z nydel quit (Ping timeout: 248 seconds) 2017-09-07T04:20:52Z neuri8 quit (Ping timeout: 248 seconds) 2017-09-07T04:20:52Z sigjuice_ quit (Ping timeout: 248 seconds) 2017-09-07T04:20:52Z nydel joined #lisp 2017-09-07T04:20:52Z schoppenhauer quit (Ping timeout: 248 seconds) 2017-09-07T04:20:52Z fouric1 quit (Ping timeout: 248 seconds) 2017-09-07T04:20:52Z fiddlerwoaroof quit (Ping timeout: 248 seconds) 2017-09-07T04:20:52Z cyberlard quit (Ping timeout: 248 seconds) 2017-09-07T04:20:58Z pillton quit (Ping timeout: 260 seconds) 2017-09-07T04:21:02Z fouric1 joined #lisp 2017-09-07T04:21:10Z sbryant joined #lisp 2017-09-07T04:21:11Z myrkraverk_ is now known as myrkraverk 2017-09-07T04:21:17Z safe quit (Ping timeout: 248 seconds) 2017-09-07T04:21:17Z whoman quit (Ping timeout: 248 seconds) 2017-09-07T04:21:18Z dmiles quit (Ping timeout: 248 seconds) 2017-09-07T04:21:35Z fiddlerwoaroof joined #lisp 2017-09-07T04:21:55Z sigjuice joined #lisp 2017-09-07T04:22:16Z mishoo__ joined #lisp 2017-09-07T04:22:43Z vibs29 quit (Ping timeout: 260 seconds) 2017-09-07T04:23:28Z pjb quit (Ping timeout: 252 seconds) 2017-09-07T04:23:42Z mxh- joined #lisp 2017-09-07T04:23:52Z neuri8 joined #lisp 2017-09-07T04:24:47Z bigdaddytank joined #lisp 2017-09-07T04:24:49Z cyberlard joined #lisp 2017-09-07T04:25:09Z vibs29 joined #lisp 2017-09-07T04:25:47Z carld joined #lisp 2017-09-07T04:26:04Z schoppenhauer joined #lisp 2017-09-07T04:27:20Z kjeldahl quit (Ping timeout: 240 seconds) 2017-09-07T04:27:21Z l04m33[m] quit (Ping timeout: 240 seconds) 2017-09-07T04:27:31Z quazimodo quit (Ping timeout: 240 seconds) 2017-09-07T04:29:09Z akkad: getting error trying to load osicat on lispworks. this was working. The files are all present, so unable to determine cause of error https://gist.github.com/de4d73bade2062bade3cb565422def05 2017-09-07T04:29:19Z quazimodo joined #lisp 2017-09-07T04:29:47Z text1 quit (Read error: Connection reset by peer) 2017-09-07T04:31:21Z akkad: ahh Illegal car (OS-UNIX-P) in compound form ((OS-UNIX-P) "o"). 2017-09-07T04:36:36Z hexfive quit (Quit: WeeChat 1.9) 2017-09-07T04:37:01Z mishoo__ quit (Ping timeout: 240 seconds) 2017-09-07T04:39:29Z kjeldahl joined #lisp 2017-09-07T04:40:38Z Lowl3v3l quit (Remote host closed the connection) 2017-09-07T04:40:45Z saki joined #lisp 2017-09-07T04:41:00Z l04m33[m] joined #lisp 2017-09-07T04:43:03Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T04:44:00Z dmitryl quit (Ping timeout: 240 seconds) 2017-09-07T04:45:03Z safe joined #lisp 2017-09-07T04:45:58Z bigdaddytank: Hello other Lispers. I was wondering if anyone has used/uses Gauche Scheme 2017-09-07T04:46:09Z akkad: yes. 2017-09-07T04:46:16Z akkad: see #scheme and we can chat there 2017-09-07T04:50:19Z babalua quit (Quit: babalua) 2017-09-07T04:51:03Z babalua joined #lisp 2017-09-07T04:52:46Z wheelsucker joined #lisp 2017-09-07T04:55:19Z babalua quit (Client Quit) 2017-09-07T04:56:04Z babalua joined #lisp 2017-09-07T04:56:33Z FreeBirdLjj joined #lisp 2017-09-07T04:59:53Z mrcom joined #lisp 2017-09-07T05:01:13Z FreeBirdLjj quit (Ping timeout: 260 seconds) 2017-09-07T05:01:37Z MetaHertz joined #lisp 2017-09-07T05:06:30Z BlueRavenGT quit (Ping timeout: 240 seconds) 2017-09-07T05:07:28Z pillton joined #lisp 2017-09-07T05:11:15Z mishoo__ joined #lisp 2017-09-07T05:13:32Z beach: bigdaddytank: This channel is dedicated to Common Lisp. 2017-09-07T05:14:11Z akkad: ® 2017-09-07T05:14:22Z shka_: ™ 2017-09-07T05:14:53Z angavrilov joined #lisp 2017-09-07T05:16:46Z Xal quit (Remote host closed the connection) 2017-09-07T05:17:49Z carld quit (Ping timeout: 248 seconds) 2017-09-07T05:17:49Z bigdaddytank quit (Quit: Peace out!) 2017-09-07T05:24:29Z shka_: *sigh* i really wish there was a good way to sandbox lisp code 2017-09-07T05:25:53Z oleo quit (Quit: irc client terminated!) 2017-09-07T05:26:04Z beach: There is. 2017-09-07T05:26:06Z wigust quit (Remote host closed the connection) 2017-09-07T05:26:09Z beach: Use first-class global environments. 2017-09-07T05:26:56Z shka_: beach: i know that SICL is awesome, but my software is supposed to be portable 2017-09-07T05:27:44Z shka_: so i am just sacrificing security for now 2017-09-07T05:28:07Z beach: Clasp is in the process of acquiring first-class global environments. Maybe we should convince the maintainers of other Common Lisp implementations to do the same. 2017-09-07T05:28:21Z shka_: your manual can format your hard drive during compilation (yay!) 2017-09-07T05:30:02Z shka_: beach: amazingly i seem to stumble for use cases for global environments quite often 2017-09-07T05:30:58Z beach: I am not amazed. I found several needs that would be met by first-class global environments, which is why I invented them. 2017-09-07T05:32:15Z shka_: I am. Because if idiot like me writes software that could use first class environments it is surprising that they are not common already 2017-09-07T05:32:43Z mishoo__ quit (Ping timeout: 260 seconds) 2017-09-07T05:32:43Z mnoonan quit (Ping timeout: 260 seconds) 2017-09-07T05:33:24Z beach: It's a common mistake to think that way. Someone has to think of something first. And before that happen, by definition, nobody has thought about it before. 2017-09-07T05:33:59Z shka_: right 2017-09-07T05:34:18Z beach: That mistake of yours is also why many people don't think they can come up with original ideas, because "obviously, if I can think of it, then someone must have done it before". If you can avoid such thinking, you can actually come up with a lot of new stuff. 2017-09-07T05:35:02Z loke: There is also a large barrier between "thinking about it" and "doing soemthing about it". For all intents and purposes in this case, unless you did something about ti, it never happened. :-) 2017-09-07T05:35:10Z loke: Beach did something about it. 2017-09-07T05:35:19Z shka_: just do it 2017-09-07T05:35:26Z beach: loke: Indeed. 2017-09-07T05:35:41Z shka_: make first class global envs come true! 2017-09-07T05:36:25Z beach: Also, I am simplifying things a bit. A person can be trained to "do something about it". That's what training to be a researcher is about. 2017-09-07T05:37:37Z beach: Contrary to common belief, doing research is not about "talent" (there is strong evidence that there is no such thing as intrinsic "talent") but about hard work. 2017-09-07T05:38:25Z shka_: heh 2017-09-07T05:38:31Z shka_: reminds me of Bach 2017-09-07T05:39:17Z beach: So, many people avoid doing things because they think they are not "talented". But, most people are capable of basically anything, given that the right amount of work is put into the effort. 2017-09-07T05:39:42Z beach: shka_: How so? 2017-09-07T05:39:46Z White_Flame: and the right amount of electrical shock incentive 2017-09-07T05:39:50Z shka_: beach: once asked what is the secret of his talent he modestly explained that he just works really hard 2017-09-07T05:40:34Z beach: shka_: I had not heard that before. But I totally believe it. 2017-09-07T05:40:34Z Karl_Dscc joined #lisp 2017-09-07T05:40:46Z jameser joined #lisp 2017-09-07T05:40:49Z shka_: http://bookhaven.stanford.edu/2013/03/my-music-is-better-because-i-work-harder-bachs-st-matthew-passion/ 2017-09-07T05:41:11Z wheelsucker: genius is 1% inspiration and 99% perspiration - Edison. 2017-09-07T05:41:23Z beach: I recommend a book: "PEAK, Secrets from the New Science of Expertise" by Anders Ericsson. 2017-09-07T05:42:48Z beach: wheelsucker: Yes, the book I recommended is just more accumulated evidence. 2017-09-07T05:44:32Z jameser quit (Client Quit) 2017-09-07T05:48:47Z flamebeard joined #lisp 2017-09-07T05:49:05Z shka_: beach: btw, since you are around: did you benchmarked that new generic function dispatch algorithm implementation you invented? 2017-09-07T05:49:26Z beach: Only as a simulation. It is in the paper. 2017-09-07T05:49:34Z shka_: right 2017-09-07T05:55:28Z obm joined #lisp 2017-09-07T05:56:20Z beach: So, for example, with SICL, I noticed that I was largely incapable of writing system code using only a subset of the language. It was just too painful. So I had to come up with a way to make the full language work from the start, so that I could write things like (defclass standard-class (class) ...). 2017-09-07T05:56:27Z beach: I also wanted to avoid having several code instances for the same purpose, to avoid maintenance problems. These two requirements made it impossible to write a subset of an implementation in some other language and then gradually bootstrap. 2017-09-07T05:56:28Z beach: So I had to figure out how to write Common Lisp in Common Lisp, using a host implementation. But then I ran into the problem of distinguishing between host code and target code. To fix that problem, I needed first-class global environments. 2017-09-07T05:57:43Z obm quit (Read error: Connection reset by peer) 2017-09-07T06:01:04Z jameser joined #lisp 2017-09-07T06:01:30Z loke: beach: But if the host doesn't support FCGE's, is that a problem? 2017-09-07T06:01:38Z beach: No. 2017-09-07T06:02:10Z shka_: eh 2017-09-07T06:02:11Z beach: First-class global environments are defined by a protocol consisting of generic functions and classes that are supported by every conforming Common Lisp implementation. 2017-09-07T06:02:26Z shka_: if only sicl was actually something that you can run :/ 2017-09-07T06:02:46Z beach: shka_: I am working on it. 2017-09-07T06:02:58Z shka_: yes, but you work on many things 2017-09-07T06:03:04Z shka_: at once 2017-09-07T06:03:12Z beach: shka_: Yes, I am sorry about that. 2017-09-07T06:03:37Z shka_: it is ok, i will just figure out how to clone you 2017-09-07T06:03:39Z pillton: There is no need to apologise. 2017-09-07T06:04:04Z beach: pillton: I wasn't quite serious about that apology. 2017-09-07T06:04:40Z shka_: i guess 20×20 cluster of beaches will be able to finish all your projects 2017-09-07T06:05:11Z beach: shka_: Like I said, there is nothing special about me, other than the work I put in. Anyone can do it. 2017-09-07T06:06:19Z scymtym quit (Ping timeout: 252 seconds) 2017-09-07T06:06:40Z beach: shka_: So what I mean to say is that, rather than wishing for clones of me, just roll up your sleeves and get to work. 2017-09-07T06:06:59Z shka_: yeah, yeah 2017-09-07T06:07:03Z shka_: i'm working 2017-09-07T06:07:12Z beach: Good. 2017-09-07T06:07:48Z pillton: shka_: It is better to encourage more people to work in common lisp. This would increase the probability of someone having the same problems as beach and is willing to commit to the problem. 2017-09-07T06:08:00Z shka_: but i just realized that my approach "write documents by writing lisp code" means "documents can also format your hard drive" 2017-09-07T06:08:19Z shka_: which SUCKS 2017-09-07T06:08:43Z loke: shka_: You need a security model that allows you to compartmentalise execution contexts. 2017-09-07T06:09:00Z beach: loke: Yes, that's how this discussion started. 2017-09-07T06:09:08Z beach: *sigh* i really wish there was a good way to sandbox lisp code 2017-09-07T06:09:10Z loke: Oops. Sorry :-) 2017-09-07T06:09:32Z daniel-s joined #lisp 2017-09-07T06:09:41Z loke: I started reading just below that :-) 2017-09-07T06:09:44Z shka_: but having full language that can be used to write is just so useful that I just don't want to let it go 2017-09-07T06:09:48Z beach: loke: Heh. 2017-09-07T06:10:57Z shka_: so for now it will end with software for those with brave hearts 2017-09-07T06:11:08Z shka_: or tiny brains 2017-09-07T06:11:13Z shka_: or both 2017-09-07T06:11:44Z ralt joined #lisp 2017-09-07T06:14:27Z beach: shka_: There is nothing in the full Common Lisp language that allows a user to format the hard drive. 2017-09-07T06:14:27Z beach: shka_: The Common Lisp language definition doesn't even have a glossary entry for "hard drive". 2017-09-07T06:14:44Z beach` joined #lisp 2017-09-07T06:14:44Z shka_: beach: that was a joke 2017-09-07T06:14:51Z carld joined #lisp 2017-09-07T06:15:51Z zotan quit (Ping timeout: 255 seconds) 2017-09-07T06:15:56Z shka_: by format hard drive i meant any disastrous action that can be performed as accident or malicious act 2017-09-07T06:16:54Z jackdaniel: (labels ((foo () (1+ (foo))) (foo)) 2017-09-07T06:17:32Z shka_: jackdaniel: that was random 2017-09-07T06:17:46Z jackdaniel: that was the most evil disastrous thing I could think of 2017-09-07T06:18:09Z jackdaniel: I'm a very gentle person as you see ;) 2017-09-07T06:19:00Z beach quit (Ping timeout: 255 seconds) 2017-09-07T06:19:10Z shka_: you don't belong to this cruel and painful world my angel 2017-09-07T06:19:17Z Karl_Dscc quit (Remote host closed the connection) 2017-09-07T06:19:58Z carld quit (Ping timeout: 260 seconds) 2017-09-07T06:20:48Z Zhivago: shka_: (%%maybe-evil-do%%) 2017-09-07T06:21:15Z shka_: "i am not a virus i am a dolphin" 2017-09-07T06:22:36Z zotan joined #lisp 2017-09-07T06:26:41Z akkad: delphis, or womb fish? 2017-09-07T06:30:12Z Kaisyu joined #lisp 2017-09-07T06:30:19Z babalua quit (Quit: babalua) 2017-09-07T06:30:20Z shka_: not sure where this is going 2017-09-07T06:31:01Z babalua joined #lisp 2017-09-07T06:34:14Z weltung joined #lisp 2017-09-07T06:35:26Z carld joined #lisp 2017-09-07T06:35:48Z mishoo__ joined #lisp 2017-09-07T06:36:16Z beach` is now known as beach 2017-09-07T06:39:41Z beach: shka_: So, the idea with first-class global environments is that, while you can use any functions to implement some software, you can restrict the USERS of that software so that they can't do such disastrous things. 2017-09-07T06:40:19Z babalua quit (Quit: babalua) 2017-09-07T06:40:21Z shka_: beach: exactly what i need 2017-09-07T06:40:23Z carld quit (Ping timeout: 260 seconds) 2017-09-07T06:41:04Z babalua joined #lisp 2017-09-07T06:43:00Z impulse quit (Ping timeout: 240 seconds) 2017-09-07T06:48:58Z wheelsucker quit (Ping timeout: 246 seconds) 2017-09-07T06:51:03Z varjag joined #lisp 2017-09-07T06:54:54Z impulse joined #lisp 2017-09-07T06:55:05Z Kevslinger quit (Quit: Connection closed for inactivity) 2017-09-07T06:55:59Z carld joined #lisp 2017-09-07T06:56:23Z mishoo_ joined #lisp 2017-09-07T06:58:05Z mishoo__ quit (Ping timeout: 248 seconds) 2017-09-07T07:00:29Z damke joined #lisp 2017-09-07T07:00:30Z carld quit (Ping timeout: 240 seconds) 2017-09-07T07:02:38Z jackdaniel: I wonder if having first-class global environments could serve a purpose packages do 2017-09-07T07:02:47Z damke_ quit (Ping timeout: 240 seconds) 2017-09-07T07:03:01Z ralt: what's "environment" in this context? 2017-09-07T07:03:38Z loke: ralt: All the information that normally would be "global" in CL. 2017-09-07T07:03:56Z loke: Like all the global variables, class definitions, etc. 2017-09-07T07:04:34Z loke: That said. They are usually bound to symbols, so just making the packages belong to an environment goes a long way. 2017-09-07T07:04:47Z loke: I don't know exactly how beach did it. 2017-09-07T07:05:42Z loke: Note that a package can be looked up by name, which is bad, because you want to have two different piceses pieces of code to be able to do (FIND-PACKAGE "FOO") and get different results. 2017-09-07T07:06:16Z vlatkoB joined #lisp 2017-09-07T07:06:27Z Zhivago: Probably you don't want to operate at the package level, but at the symbol level. 2017-09-07T07:06:37Z safe quit (Read error: Connection reset by peer) 2017-09-07T07:06:49Z loke: Zhivago: Like I said, I haven't given it as much thought as Beach 2017-09-07T07:07:01Z Shinmera: Just read the paper :shrug: http://metamodular.com/environments.pdf 2017-09-07T07:07:01Z Colleen: ‾\(ツ)/‾ 2017-09-07T07:07:38Z Zhivago: Or rather, at the binding level. 2017-09-07T07:08:13Z loke: Shinmera: that paper only addresses features of base CL though 2017-09-07T07:08:27Z loke: For example, does threads belong to an environment? 2017-09-07T07:09:55Z loke: Also, beach does talk specifically about the need to link a package to an environment. 2017-09-07T07:10:39Z loke: (or rather, replacing them with something that is. but semantics) 2017-09-07T07:10:46Z beach: loke: In SICL, symbols don't have slots for functions, values, etc. They are part of the environment instead. 2017-09-07T07:10:59Z loke: beach: I see 2017-09-07T07:11:32Z loke: beach: So (symbol-function 'foo) would look up foo's function definition in the active environment? Rather than looking at the symbol itself. 2017-09-07T07:11:32Z loke: ? 2017-09-07T07:11:37Z beach: I have (defclass symbol (t) ((%name ...) (%package ...)) (:metaclass built-in-class)) 2017-09-07T07:11:52Z beach: loke: Correct. 2017-09-07T07:12:03Z loke: I see. That's actually a much clearer way to handle things. 2017-09-07T07:12:17Z beach: I agree (of course) :) 2017-09-07T07:12:17Z loke: Thant would imply that :FOO is _always_ going to be the same iobject, regardless of environment? 2017-09-07T07:12:27Z beach: Correct. 2017-09-07T07:12:50Z loke: Now that I think about it... if it wasn't, things could be awefully painful :-) 2017-09-07T07:13:01Z beach: Yep. :) 2017-09-07T07:13:25Z loke: OK, I need to play with sicl 2017-09-07T07:13:37Z beach: That would not be easy. 2017-09-07T07:13:55Z loke: It's not compilable? 2017-09-07T07:14:07Z beach: Correct. It is not. 2017-09-07T07:14:27Z beach: There are instructions to get a REPL, but it runs inside the host and it borrows a lot from that host. 2017-09-07T07:14:55Z loke: beach: Fair enough. But does it contain enough to be able to actually instantiate more than one environment? 2017-09-07T07:15:16Z beach: Yes, I do that in the bootstrapping procedure. 2017-09-07T07:15:30Z shka_ quit (Ping timeout: 240 seconds) 2017-09-07T07:15:41Z nullniverse joined #lisp 2017-09-07T07:15:41Z loke: OK, I'll take a look later. :-) 2017-09-07T07:15:48Z beach: But nothing is laid out or documented for general consumption. 2017-09-07T07:16:15Z beach: So you will need some hand holding to make it work. 2017-09-07T07:16:28Z carld joined #lisp 2017-09-07T07:16:29Z loke: I'm not going to ask that of you. :-) 2017-09-07T07:16:37Z loke: Instead, I'll be happy waiting until it's easier. 2017-09-07T07:16:44Z beach: That's better. 2017-09-07T07:17:14Z danieli quit (Ping timeout: 240 seconds) 2017-09-07T07:18:01Z nalik891 quit (Ping timeout: 240 seconds) 2017-09-07T07:19:16Z loke: qua 2017-09-07T07:19:18Z loke: Oops 2017-09-07T07:20:00Z nullniverse quit (Ping timeout: 240 seconds) 2017-09-07T07:20:19Z babalua quit (Quit: babalua) 2017-09-07T07:20:51Z flip214: Shinmera: would you mind changing the first screenshot in "Using it" on https://portacle.github.io/? 2017-09-07T07:21:03Z carld quit (Ping timeout: 248 seconds) 2017-09-07T07:21:04Z babalua joined #lisp 2017-09-07T07:21:12Z flip214: The font should be much bigger, ie. the window size should be reduced. 2017-09-07T07:21:34Z flip214: about a third of the left side window is empty anyway. 2017-09-07T07:21:45Z flip214: sorry, left side *buffer* 2017-09-07T07:21:56Z Shinmera: I don't feel it's very important that you can read what's actually in the frame, given that it's just for reference. 2017-09-07T07:22:34Z jackdaniel: It doesn't look good though (given it goes beyond margins and is unreadable) - imo 2017-09-07T07:22:38Z nullniverse joined #lisp 2017-09-07T07:23:02Z Shinmera: The going beyond margins is intentional and looks good in my opinion. 2017-09-07T07:23:13Z jackdaniel: mhm 2017-09-07T07:23:27Z flip214: Shinmera: you can keep the image width bigger than the text column, that's fine - but the text _should_ be readable, IMO. 2017-09-07T07:23:33Z ralt: I like this effect too, but the font is definitely too small 2017-09-07T07:24:34Z flip214: same for the screenshot after "hit the ↵ key" 2017-09-07T07:25:19Z babalua quit (Client Quit) 2017-09-07T07:25:25Z Shinmera: That screenshot is at native resolution, so it should be exactly as big as it is when you actually use portacle. 2017-09-07T07:25:33Z manny8888 quit 2017-09-07T07:25:48Z flip214: and if you could include the evil plugin, it would be great! (not enabled, just available, so that there's no download needed) 2017-09-07T07:26:03Z babalua joined #lisp 2017-09-07T07:26:17Z flip214: Shinmera: yeah, and with modern hi-dpi displays it's actually too small ;/ 2017-09-07T07:26:29Z Shinmera: you kids and your toys 2017-09-07T07:26:57Z scymtym joined #lisp 2017-09-07T07:27:00Z flip214: if only 2017-09-07T07:27:06Z jdz: Are you guys talking about the screenshot that is mostly blank space? 2017-09-07T07:27:08Z hajovonta joined #lisp 2017-09-07T07:27:15Z flip214: jdz: that one, too. 2017-09-07T07:28:06Z ralt: Shinmera: ah, I had a question about portacle. Do you think it would be feasible to have it load e.g. a ~/.portacle file at startup? The use case I had in mind was shipping portacle along with an application of mine, with some custom changes. 2017-09-07T07:28:15Z Shinmera: Anyway, the reason why the screenshot is the way it is, is because at one point Portacle automatically maximised itself. I felt it would be right to represent that. 2017-09-07T07:28:29Z ralt: just having it as a dependency rather than forking it would be nicer 2017-09-07T07:28:37Z ralt: s/forking/embedding/ 2017-09-07T07:28:41Z Shinmera: ralt: What would load that? Emacs? SBCL? 2017-09-07T07:28:53Z ralt: Shinmera: emacs 2017-09-07T07:29:01Z Shinmera: ralt: Just use the user.el then 2017-09-07T07:29:03Z ralt: or, well, one file for each 2017-09-07T07:29:19Z ralt: ah, the normal emacs files are loaded as usual? 2017-09-07T07:29:22Z jdz: The one with PROGN looks readable for me on my 270 DPI 13.6" screen, but that's probably because the browser has doubled its size? 2017-09-07T07:29:23Z Shinmera: No 2017-09-07T07:30:01Z Shinmera: ralt: https://github.com/portacle/config/blob/master/help.txt#L337 2017-09-07T07:30:29Z ralt: ha 2017-09-07T07:30:31Z ralt: thanks 2017-09-07T07:30:40Z ralt: hadn't noticed this existed, sorry 2017-09-07T07:32:11Z Shinmera: I don't suppose emacs has hooks for hi-dpi monitors? 2017-09-07T07:33:38Z BitPuffin|osx joined #lisp 2017-09-07T07:33:56Z jdz: I'm running emacs, which uses GTK 3, and I've had to add GDK_SCALE=0.5 to make menus appear where they're supposed to appear. 2017-09-07T07:34:32Z obm joined #lisp 2017-09-07T07:34:32Z shrdlu68 quit (Read error: Connection reset by peer) 2017-09-07T07:35:28Z Shinmera: Portacle is built with GTK2 2017-09-07T07:37:04Z carld joined #lisp 2017-09-07T07:37:05Z jdz: Nice resolution support on Linux still sucks. 2017-09-07T07:39:28Z Shinmera: It sucks in general cause a lot of applications and websites aren't optimised for it anyway. 2017-09-07T07:40:20Z jdz: I can deal with crappy looking websites (I've been exposed to GeoCities). 2017-09-07T07:40:31Z Orion3k quit (Ping timeout: 240 seconds) 2017-09-07T07:41:00Z daniel-s quit (Ping timeout: 240 seconds) 2017-09-07T07:41:00Z Shinmera: If my browser wouldn't cache things I don't want it to even when I hard-refresh I could confirm that the screenshots on the website are now a bit more suitable 2017-09-07T07:41:20Z jdz: I've wanted >200dpi displays for like 20 years now. 2017-09-07T07:41:44Z carld quit (Ping timeout: 246 seconds) 2017-09-07T07:41:54Z Shinmera: I've wanted a larger colour space than 32 bits for 10 years and I don't think it'll come within my lifetime. 2017-09-07T07:42:09Z ralt: jdz: for your pleasure http://code.divshot.com/geo-bootstrap/ 2017-09-07T07:42:43Z jdz: ralt: oh yes, there's no place like home! 2017-09-07T07:43:01Z jdz: Although it's missing the "under construction" icon :/ 2017-09-07T07:44:29Z jdz: Oh wait, it's there! 2017-09-07T07:44:43Z jackdaniel: ralt: fantastic 2017-09-07T07:46:10Z ralt: heh 2017-09-07T07:46:14Z jdz: Shinmera: the new "full-screen" screenshot is a lot better now (IMO). 2017-09-07T07:47:20Z ralt: it's a shame that isn't supported by browsers anymore 2017-09-07T07:47:56Z jdz: ralt: easily mitigated with DHTML! 2017-09-07T07:48:10Z marvin2 joined #lisp 2017-09-07T07:50:30Z flip214: Shinmera: thanks a lot, that's better! 2017-09-07T07:51:02Z Shinmera: Also noticed that I forgot to undo the margin thingy on small widths. 2017-09-07T07:57:33Z carld joined #lisp 2017-09-07T07:58:17Z shdeng joined #lisp 2017-09-07T08:00:19Z babalua quit (Quit: babalua) 2017-09-07T08:01:02Z babalua joined #lisp 2017-09-07T08:02:07Z carld quit (Ping timeout: 246 seconds) 2017-09-07T08:03:01Z EvW1 joined #lisp 2017-09-07T08:05:19Z babalua quit (Client Quit) 2017-09-07T08:06:04Z babalua joined #lisp 2017-09-07T08:11:53Z raynold quit (Quit: Connection closed for inactivity) 2017-09-07T08:14:14Z hhdave joined #lisp 2017-09-07T08:15:10Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T08:16:35Z damke_ joined #lisp 2017-09-07T08:16:38Z yeticry_ quit (Read error: Connection reset by peer) 2017-09-07T08:16:50Z yeticry joined #lisp 2017-09-07T08:17:58Z Orion3k joined #lisp 2017-09-07T08:18:09Z jameser joined #lisp 2017-09-07T08:18:26Z damke quit (Ping timeout: 240 seconds) 2017-09-07T08:19:58Z defaultxr quit (Ping timeout: 252 seconds) 2017-09-07T08:22:01Z jameser_ joined #lisp 2017-09-07T08:22:22Z jameser quit (Read error: Connection reset by peer) 2017-09-07T08:34:45Z carld joined #lisp 2017-09-07T08:35:13Z strelox joined #lisp 2017-09-07T08:39:00Z SaganMan joined #lisp 2017-09-07T08:39:31Z carld quit (Ping timeout: 240 seconds) 2017-09-07T08:43:01Z fourier joined #lisp 2017-09-07T08:45:08Z fourier: after latest update of quicklisp my test asdf based on prove failed to compil: Component :PROVE-ASDF not found, required by NIL 2017-09-07T08:45:48Z _cosmonaut_ joined #lisp 2017-09-07T08:46:23Z manumanumanu quit (Ping timeout: 260 seconds) 2017-09-07T08:47:11Z scottj left #lisp 2017-09-07T08:50:10Z fourier: how to fix it? anyone else experienced this problem? compilers ccl and lispworks on windows 2017-09-07T08:53:52Z Murii joined #lisp 2017-09-07T08:54:30Z Murii quit (Read error: Connection reset by peer) 2017-09-07T08:55:56Z nalik891 joined #lisp 2017-09-07T08:56:09Z Murii joined #lisp 2017-09-07T08:58:31Z nullniverse quit (Ping timeout: 240 seconds) 2017-09-07T09:00:46Z nalik891 quit (Ping timeout: 248 seconds) 2017-09-07T09:01:16Z jameser_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T09:02:50Z jameser joined #lisp 2017-09-07T09:05:19Z fourier: ok it seems to be this issue: https://github.com/quicklisp/quicklisp-client/issues/108 2017-09-07T09:08:37Z margeas joined #lisp 2017-09-07T09:11:20Z renfield1 joined #lisp 2017-09-07T09:15:07Z renfield1 quit (Remote host closed the connection) 2017-09-07T09:20:53Z EvW1 quit (Ping timeout: 246 seconds) 2017-09-07T09:25:22Z danieli joined #lisp 2017-09-07T09:28:31Z EvW joined #lisp 2017-09-07T09:31:28Z hjudt: Shinmera: when using Clips, how is one expected to add data to javascript code. e.g. my ajax code needs the database name, and there is more than one database. currently i use dbname and in the javascript code i read $(#dbname).text to generate the proper data payload for jquery.getJSON(). In other template languages i could probably reference this with {{dbname}} 2017-09-07T09:31:34Z hjudt: directly in the template. 2017-09-07T09:32:11Z Shinmera: Modern HTML says you should use data-foo attributes for that kind of stuff 2017-09-07T09:32:43Z hjudt: ok, that's probably better and I've already read up on it. 2017-09-07T09:33:04Z Shinmera: lquery has a shorthand data function for it, too 2017-09-07T09:33:31Z hjudt: second question: which default database does r-database draw in, as mentioned in the tutorial? i believe the docs should be a bit more specific about it? 2017-09-07T09:33:34Z Shinmera: as in, (data :foo "bla") => data-foo="bla" 2017-09-07T09:34:15Z hjudt: ah fine, that's great then. will it also properly escape the string if necessary (not necessary in my case though)? 2017-09-07T09:34:15Z Shinmera: What's r-database? Do you mean the database interface, or r-data-model? 2017-09-07T09:34:24Z Shinmera: hjudt: Of course 2017-09-07T09:34:34Z hjudt: sorry, yes, r-data-model. i will look up the page... 2017-09-07T09:35:16Z Shinmera: r-data-model depends on the database interface. When an interface is loaded, an implementation for it is loaded according to your configuration. 2017-09-07T09:35:19Z babalua quit (Quit: babalua) 2017-09-07T09:35:25Z hjudt: oh, it's on page 1 actually. i haven't used r-data-model yet, not sure i will need it... https://github.com/Shirakumo/radiance-tutorial/blob/master/Part%201.md 2017-09-07T09:35:47Z Shinmera: The default configuration that's set up contains the following: https://github.com/Shirakumo/radiance/blob/master/default-config.lisp 2017-09-07T09:36:03Z babalua joined #lisp 2017-09-07T09:37:27Z hjudt: i see. maybe if you could mention this on the tutorial page (or at the start of the tutorial) that would be helpful. i have not yet read about this default-config.lisp. 2017-09-07T09:38:49Z Shinmera: The configuration happens last. 2017-09-07T09:39:08Z Shinmera: Because it's not really part of the development of an application. You shouldn't have to care about what the implementation is. 2017-09-07T09:40:04Z hjudt: where can i find info about r-simple-model? there is nothing in github radiance or radiance-contrib? 2017-09-07T09:40:04Z Shinmera: https://github.com/Shirakumo/radiance-contribs/tree/master/r-data-model 2017-09-07T09:40:19Z babalua quit (Client Quit) 2017-09-07T09:40:26Z hjudt: is that a in-memory db? 2017-09-07T09:40:37Z Shinmera: I haven't gotten around to writing docs for all the contribs. 2017-09-07T09:40:44Z Shinmera: r-data-model is not a database at all. 2017-09-07T09:40:54Z Shinmera: It's just a wrapper around the database interface. 2017-09-07T09:41:03Z babalua joined #lisp 2017-09-07T09:41:48Z stux|RC-only quit (Ping timeout: 260 seconds) 2017-09-07T09:42:56Z hjudt: ah ok, i've got confused about r-simple-model and i-lambdalite... so LambdaLite is the backend. 2017-09-07T09:43:03Z Shinmera: The default implementation is i-lambdalite, which is in-memory but does persist, as is required by the interface specification. 2017-09-07T09:43:31Z Shinmera: ::look up radiance database 2017-09-07T09:43:31Z Colleen: 2.5 database https://github.com/shirakumo/radiance#25-database 2017-09-07T09:43:48Z stux|RC-only joined #lisp 2017-09-07T09:46:26Z damke_ quit (Ping timeout: 240 seconds) 2017-09-07T09:47:27Z Shinmera: Hrm 2017-09-07T09:47:38Z Shinmera: actually, I don't think I mention the configuration of interface implementations in Part 7. 2017-09-07T09:47:48Z Shinmera: I'll fix that once I'm done with Portacle. 2017-09-07T09:48:27Z flip214: Shinmera: "done"? whenever is software "done"? 2017-09-07T09:48:47Z flip214: if you said "once I've done this release", then yeah.... but "done" sounds very optimistic ;) 2017-09-07T09:48:52Z damke_ joined #lisp 2017-09-07T09:49:30Z Shinmera: I said "once I'm done" 2017-09-07T09:49:51Z EvW quit (Ping timeout: 248 seconds) 2017-09-07T09:50:19Z babalua quit (Quit: babalua) 2017-09-07T09:51:00Z babalua joined #lisp 2017-09-07T09:51:08Z EvW1 joined #lisp 2017-09-07T09:55:19Z babalua quit (Client Quit) 2017-09-07T09:56:04Z babalua joined #lisp 2017-09-07T10:05:05Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-09-07T10:06:31Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T10:08:14Z jameser joined #lisp 2017-09-07T10:14:58Z dddddd joined #lisp 2017-09-07T10:18:30Z shka: lambdalite is cute 2017-09-07T10:18:56Z SaganMan quit (Quit: WeeChat 1.6) 2017-09-07T10:19:18Z loke: shka: What's that? 2017-09-07T10:19:18Z SaganMan joined #lisp 2017-09-07T10:19:40Z shka: loke: https://github.com/Wukix/LambdaLite 2017-09-07T10:20:37Z shka: quite a hack :-) 2017-09-07T10:23:38Z shka: i don't know why, but I really enjoy hacks like this 2017-09-07T10:25:47Z Bike joined #lisp 2017-09-07T10:27:15Z loke: It's pretty cool 2017-09-07T10:27:26Z loke: Some support for indexes would be useful though :-) 2017-09-07T10:28:05Z Shinmera: I don't think indexes would be very useful for the tiny amounts of data that they want to support. 2017-09-07T10:29:26Z shka: it is good enough for multitude of use cases anyway 2017-09-07T10:30:06Z Shinmera: Having support for more serious cl-native data stores in Radiance would be nice, but I don't have the time... well, I don't have the will to do it. Let's put it that way. 2017-09-07T10:30:56Z shka: if person needs it, he can cook some postmodern support i guess 2017-09-07T10:31:08Z Shinmera: Radiance already has an implementation for that 2017-09-07T10:31:23Z Shinmera: I meant something that doesn't require an external DB 2017-09-07T10:31:29Z shka: ah, i see 2017-09-07T10:31:49Z shka: at this point it is whatever i guess 2017-09-07T10:32:14Z shka: once you have postmodern, you can do all kinds of usefull stuff with it 2017-09-07T10:32:37Z shka: (i may be biased, i like PG) 2017-09-07T10:35:20Z carld joined #lisp 2017-09-07T10:38:15Z jackdaniel: paul graham? 2017-09-07T10:38:40Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T10:38:51Z SaganMan quit (Quit: WeeChat 1.6) 2017-09-07T10:39:05Z antoszka: postgresql :) 2017-09-07T10:39:16Z SaganMan joined #lisp 2017-09-07T10:39:29Z carld quit (Ping timeout: 240 seconds) 2017-09-07T10:39:32Z EvW1 quit (Ping timeout: 246 seconds) 2017-09-07T10:50:22Z milanj quit (Quit: This computer has gone to sleep) 2017-09-07T10:50:49Z attila_lendvai joined #lisp 2017-09-07T10:54:01Z damke joined #lisp 2017-09-07T10:54:50Z damke_ quit (Read error: Connection reset by peer) 2017-09-07T10:55:51Z carld joined #lisp 2017-09-07T10:59:04Z d4ryus joined #lisp 2017-09-07T10:59:11Z hjudt: Shinmera: it might be nice to be more explicit about these technologies in the tutorial part where you start using them. e.g., as a new user i'd like to know what will be done by that database implementation. i read the tutorial because usually you use the manual only to look up things (changes to defaults). so the tutorial could just mention that the default setting is to use an in-memory database and where 2017-09-07T10:59:17Z hjudt: to read up how to change that, and it would be fine. 2017-09-07T10:59:33Z hjudt: just my 2¢ 2017-09-07T11:00:42Z carld quit (Ping timeout: 255 seconds) 2017-09-07T11:00:57Z hjudt: apart from that, i like the tutorial so far and find it quite helpful. i'm not through with it though. 2017-09-07T11:01:23Z damke_ joined #lisp 2017-09-07T11:02:43Z Bike quit (Remote host closed the connection) 2017-09-07T11:03:42Z Bike joined #lisp 2017-09-07T11:03:46Z damke quit (Ping timeout: 240 seconds) 2017-09-07T11:11:25Z carld joined #lisp 2017-09-07T11:11:28Z Bicyclidine joined #lisp 2017-09-07T11:12:53Z Bike quit (Ping timeout: 246 seconds) 2017-09-07T11:15:30Z carld quit (Ping timeout: 240 seconds) 2017-09-07T11:16:13Z Bicyclidine quit (Ping timeout: 248 seconds) 2017-09-07T11:16:26Z m00natic joined #lisp 2017-09-07T11:18:40Z Achylles joined #lisp 2017-09-07T11:31:05Z Achylles quit (Remote host closed the connection) 2017-09-07T11:32:01Z carld joined #lisp 2017-09-07T11:34:23Z Achylles joined #lisp 2017-09-07T11:36:13Z carld quit (Ping timeout: 240 seconds) 2017-09-07T11:41:58Z mazoe quit (Ping timeout: 260 seconds) 2017-09-07T11:44:54Z milanj joined #lisp 2017-09-07T11:47:06Z dddddd quit (Ping timeout: 240 seconds) 2017-09-07T11:48:13Z Shinmera: hjudt: My rationale for not talking about it in the tutorial was that I didn't want to go on a lengthy tangent to explain how things worked that might potentially confuse people, when it's not really necessary to know about all of this straight ahead. 2017-09-07T11:49:13Z elfmacs quit (Ping timeout: 240 seconds) 2017-09-07T11:50:09Z Shinmera: I'll read the part again and see what I can do to address your concerns, though 2017-09-07T11:56:23Z pjb joined #lisp 2017-09-07T11:59:31Z rumbler31 joined #lisp 2017-09-07T11:59:55Z rpg joined #lisp 2017-09-07T12:00:38Z dddddd joined #lisp 2017-09-07T12:04:18Z rpg quit (Ping timeout: 246 seconds) 2017-09-07T12:06:28Z weltung quit (Quit: Textual IRC Client: www.textualapp.com) 2017-09-07T12:07:48Z carld joined #lisp 2017-09-07T12:10:47Z Kevslinger joined #lisp 2017-09-07T12:12:45Z carld quit (Ping timeout: 248 seconds) 2017-09-07T12:16:15Z Bike joined #lisp 2017-09-07T12:22:03Z shdeng quit (Quit: Leaving) 2017-09-07T12:25:07Z dddddd quit (Ping timeout: 260 seconds) 2017-09-07T12:29:16Z Bike quit (Ping timeout: 255 seconds) 2017-09-07T12:34:58Z rumbler31 quit (Remote host closed the connection) 2017-09-07T12:35:16Z mson joined #lisp 2017-09-07T12:36:28Z vaporatorius quit (Remote host closed the connection) 2017-09-07T12:37:30Z dddddd joined #lisp 2017-09-07T12:39:41Z rumbler31 joined #lisp 2017-09-07T12:43:51Z jameser joined #lisp 2017-09-07T12:46:13Z rumbler31 quit (Remote host closed the connection) 2017-09-07T12:53:47Z mingus quit (Read error: Connection reset by peer) 2017-09-07T12:56:21Z mingus joined #lisp 2017-09-07T12:58:48Z Shinmera: Any OS X users here? Do you use the standard Paredit keybindings to slurp/barf etc (As in, C-{, C-}, C-(, C-) ) or do you use something else that you find to be more convenient or sensible? 2017-09-07T12:59:29Z Shinmera: Cause I don't really like the idea of those bindings myself, since on a lot of keyboards {}() require shift or altgr in addition. 2017-09-07T12:59:39Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T12:59:42Z Shinmera: *key layouts 2017-09-07T13:00:25Z Shinmera: Well, on OS X it requires alt and shift respectively, but anyway. 2017-09-07T13:01:08Z jameser joined #lisp 2017-09-07T13:02:18Z Shinmera: Typically I use C-left, C-right, etc but those are (by default) used by OS X itself, I believe. 2017-09-07T13:03:01Z strelox quit (Ping timeout: 255 seconds) 2017-09-07T13:03:16Z damke joined #lisp 2017-09-07T13:04:01Z vap1 joined #lisp 2017-09-07T13:04:02Z vaporatorius joined #lisp 2017-09-07T13:04:05Z vaporatorius quit (Changing host) 2017-09-07T13:04:05Z vaporatorius joined #lisp 2017-09-07T13:05:11Z sz0 joined #lisp 2017-09-07T13:05:24Z Bike joined #lisp 2017-09-07T13:05:26Z damke_ quit (Ping timeout: 240 seconds) 2017-09-07T13:05:27Z Bike quit (Remote host closed the connection) 2017-09-07T13:05:49Z Bike joined #lisp 2017-09-07T13:06:16Z rumble is now known as grumble 2017-09-07T13:06:48Z orivej joined #lisp 2017-09-07T13:10:59Z dddddd quit (Ping timeout: 240 seconds) 2017-09-07T13:13:06Z dec0n quit (Ping timeout: 240 seconds) 2017-09-07T13:13:25Z chens joined #lisp 2017-09-07T13:13:49Z chens is now known as Guest26895 2017-09-07T13:14:30Z Guest26895 quit (Client Quit) 2017-09-07T13:14:51Z chens` joined #lisp 2017-09-07T13:16:24Z dec0n joined #lisp 2017-09-07T13:18:41Z chens` is now known as chens 2017-09-07T13:23:36Z dddddd joined #lisp 2017-09-07T13:26:34Z pjb: Shinmera: you should just bind those commands to the key chords YOU find convenient! 2017-09-07T13:27:34Z Shinmera: pjb: Portacle is intended to come with convenient default sets. This is why I'm asking for other opinions. 2017-09-07T13:27:52Z Shinmera: What I think about it, given that I don't use OS X, is of little relevance to that. 2017-09-07T13:28:41Z pjb: Well, I wouldn't know, I've always used a us-QWERTY keyboard layout. 2017-09-07T13:28:59Z strelox joined #lisp 2017-09-07T13:29:01Z Shinmera: And for that the defaults are fine? 2017-09-07T13:29:10Z pjb: And since 1981, that means iop[]\ and IOP{}| 2017-09-07T13:29:15Z pjb: yes. 2017-09-07T13:29:19Z Shinmera: Ok, good. 2017-09-07T13:30:05Z pjb: You may want to add bindings for other variants, such as es-QWERTY, AZERTY, QWERTZ, etc. 2017-09-07T13:31:18Z pjb: Shinmera: you may also consider people using lispy keyboard layout, where () is exchanged with []. 2017-09-07T13:31:25Z pjb: Easier for them. :-0 2017-09-07T13:31:27Z pjb: :-) 2017-09-07T13:33:20Z wxie joined #lisp 2017-09-07T13:33:27Z LiamH joined #lisp 2017-09-07T13:34:04Z Shinmera: I think I'll just make a note of the C-{ etc bindings in the help file, for those of which the C- don't work. 2017-09-07T13:39:20Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T13:39:38Z _cosmonaut_ quit (Quit: Leaving.) 2017-09-07T13:39:59Z _cosmonaut_ joined #lisp 2017-09-07T13:42:44Z pjb: Furthermore, these bindings depend on the terminal you're using. You need different bindings in an iso terminal than in a X window or a ns window… 2017-09-07T13:42:54Z jameser joined #lisp 2017-09-07T13:47:25Z babalua quit (Quit: babalua) 2017-09-07T13:48:24Z lmohseni joined #lisp 2017-09-07T13:48:41Z rumbler31 joined #lisp 2017-09-07T13:50:30Z mishoo_ quit (Ping timeout: 240 seconds) 2017-09-07T13:53:05Z lmohseni left #lisp 2017-09-07T13:54:37Z dec0n quit (Read error: Connection reset by peer) 2017-09-07T13:57:02Z babalua joined #lisp 2017-09-07T13:59:09Z EvW joined #lisp 2017-09-07T13:59:22Z mnoonan joined #lisp 2017-09-07T14:00:19Z d4ryus quit (Quit: WeeChat 1.9) 2017-09-07T14:02:30Z wxie quit (Quit: Bye.) 2017-09-07T14:03:06Z rumbler31 quit (Quit: Leaving...) 2017-09-07T14:03:12Z fourier quit (Quit: Page closed) 2017-09-07T14:08:25Z carld joined #lisp 2017-09-07T14:10:39Z cro__ quit (Read error: Connection reset by peer) 2017-09-07T14:13:00Z carld quit (Ping timeout: 240 seconds) 2017-09-07T14:14:19Z wheelsucker joined #lisp 2017-09-07T14:15:17Z ralt: pjb: hello, could you double-check what I said in there? https://gitlab.com/embeddable-common-lisp/ecl/issues/404#note_39516135 2017-09-07T14:16:36Z al-damiri joined #lisp 2017-09-07T14:22:14Z mishoo_ joined #lisp 2017-09-07T14:23:19Z test1600 quit (Quit: Leaving) 2017-09-07T14:28:52Z carld joined #lisp 2017-09-07T14:29:56Z flamebeard quit (Quit: Leaving) 2017-09-07T14:30:06Z hajovonta quit (Quit: hajovonta) 2017-09-07T14:33:07Z pjb: ralt: note: since you have only literals in the logical pathname translations, you could use '(("BAR;*.*" #P"/foo/*.*")) 2017-09-07T14:33:33Z carld quit (Ping timeout: 255 seconds) 2017-09-07T14:33:47Z ralt: true 2017-09-07T14:34:07Z ralt: just used (list) out of habit given that I wrote many examples the past few days 2017-09-07T14:35:06Z pjb: The first file should work in all cases! 2017-09-07T14:36:14Z oleo joined #lisp 2017-09-07T14:36:32Z ralt: So (eval-when (:compile-toplevel) (print "foo")) should be executed by the compiled file, you mean? 2017-09-07T14:36:34Z pjb: well, no. 2017-09-07T14:37:04Z pjb: Yes, but you added a translate-logical-pathname at run-time. 2017-09-07T14:37:14Z pjb: (it would be implicit in any file operation anyways). 2017-09-07T14:37:37Z pjb: At run-time, you need to redefine the logical host, as such at run-time. 2017-09-07T14:37:49Z scymtym quit (Ping timeout: 252 seconds) 2017-09-07T14:38:32Z ralt: oh 2017-09-07T14:38:42Z rpg joined #lisp 2017-09-07T14:38:48Z pjb: If you don't need the path at compilation time (ie. if you're not including files, or writing a build system), then you only need to define the logical host; it can have no translations. 2017-09-07T14:39:09Z pjb: But at load-time/run-time (:load-toplevel :execute), you need to define the translations. 2017-09-07T14:39:50Z pjb: It's simplier to think about these questions if you assume that you are compiling on one machine, and loading/running on the customer's machine, 10,000 km away. 2017-09-07T14:39:52Z ralt: you mean (eval-when (:compile-toplevel) (setf (logical-pathname-translation "FOO") nil)) (eval-when (:load-toplevel :execute) (setf (logical-pathname-translations "FOO") '((...)))) (format t "~A~%" (translate-logical-pathname #P"FOO:BAR;BAZ")) 2017-09-07T14:39:58Z jameser quit (Read error: Connection reset by peer) 2017-09-07T14:40:00Z pjb: Yes. 2017-09-07T14:40:01Z ralt: let me try that 2017-09-07T14:40:28Z jameser joined #lisp 2017-09-07T14:40:37Z pjb: And with a good alternative, for the user (or at least the installer script), to use (load-logical-pathname-translations "FOO") 2017-09-07T14:40:45Z impulse quit (Ping timeout: 246 seconds) 2017-09-07T14:41:42Z pjb: Remember that in the example I shown you (builder, loghost, generate-application), it's a build system. So here we define and use the path in the same :execute situation. (those files are not explicitely compiled, they're loaded). 2017-09-07T14:41:49Z Kyo91 joined #lisp 2017-09-07T14:42:13Z attila_lendvai quit (Ping timeout: 252 seconds) 2017-09-07T14:42:21Z pjb: Furthermore, you have to consider that you may have a :load-toplevel environment different from the :execute environment, when you have a save-image in the middle, 2017-09-07T14:42:59Z ralt: only :execute is run when restoring a dumped image, right? 2017-09-07T14:43:10Z pjb: This means that the translations you define at :load-toplevel (which may be done on a different computer than the compilation, therefore that may have to be different), will also be different from the translations at :execute which are defined and used by each different user. 2017-09-07T14:43:24Z pjb: ralt: no, :execute is only done when loading the source file with load. 2017-09-07T14:43:28Z obm quit (Ping timeout: 246 seconds) 2017-09-07T14:43:34Z ralt: oh 2017-09-07T14:43:37Z pjb: when the image is restored, it's implementation specific how it's done. 2017-09-07T14:44:00Z pjb: usually there's a "toplevel" or "main" function specified to the save image function, that is called, and you have to do your initializations there. 2017-09-07T14:44:49Z pjb: A lot of initializations are done invisibly by the implementation, restoring the image. But the point here is that you don't want to inherit the developer's environment, you want to initialize a user environment! 2017-09-07T14:45:02Z attila_lendvai joined #lisp 2017-09-07T14:45:02Z attila_lendvai quit (Changing host) 2017-09-07T14:45:02Z attila_lendvai joined #lisp 2017-09-07T14:45:42Z pjb: ralt: but basically, what you would do at :execute, you would do also when restoring the image (application initialization). 2017-09-07T14:45:53Z pjb: bbl (1 hour) 2017-09-07T14:46:04Z oleo: saving an image that requires a compile not ? 2017-09-07T14:46:21Z pjb: not necessarily: you can load sources and save the image. 2017-09-07T14:46:31Z pjb: You may have an interpreter or an implicit compiler… 2017-09-07T14:46:38Z oleo: ya sbcl has one 2017-09-07T14:46:50Z oleo: unless you set interpret-mode as default..... 2017-09-07T14:47:41Z impulse joined #lisp 2017-09-07T14:47:52Z oleo: what i found is no matter what i did, either with compile-toplevel, load-toplevel or :execute, my muffle-warnings declaration took only effect after when i saved an image with it.... 2017-09-07T14:48:04Z varjag quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-09-07T14:48:58Z oleo: otherwise on toplevel it was like the first start would be always always still contain warnings....only when i loaded a file twice the effect was ok 2017-09-07T14:49:23Z oleo: i thought eval was evaluating twice! 2017-09-07T14:49:51Z oleo: so eval-when does not eval twice ? 2017-09-07T14:51:11Z vaporatorius quit (Quit: Leaving) 2017-09-07T14:53:52Z ralt: pjb: so, that doesn't work... at compile time, the pathname is fine, but when running the executable, read-time for #P"" triggers before even (eval-when (:load-toplevel :execute)), so it's created as a non-logical pathname 2017-09-07T14:55:01Z sellout- joined #lisp 2017-09-07T14:55:09Z ralt: (load time only, actually) 2017-09-07T14:55:17Z lmohseni joined #lisp 2017-09-07T14:57:03Z rippa joined #lisp 2017-09-07T14:57:34Z lmohseni quit (Remote host closed the connection) 2017-09-07T14:58:12Z Lowl3v3l joined #lisp 2017-09-07T14:58:55Z ralt: ... which is the original issue. 2017-09-07T14:59:22Z ralt: in a compiled file, read-time is supposed to happen before (eval-when (:load-toplevel)), right? 2017-09-07T15:00:44Z _death: in a compiled file forms don't need to be read 2017-09-07T15:01:31Z ralt: yeah, the issue is that read-time occurs twice in ECL model 2017-09-07T15:03:32Z araujo quit (Read error: Connection reset by peer) 2017-09-07T15:03:36Z Bike: i'm kind of confused about that. are you sure that it's actually being READ twice? or does it just look up logical pathnames twice or something. 2017-09-07T15:03:58Z Bike: i mean i thought you compiled this all the way down to an object file. 2017-09-07T15:04:54Z carld joined #lisp 2017-09-07T15:09:49Z carld quit (Ping timeout: 248 seconds) 2017-09-07T15:12:21Z FreeBirdLjj joined #lisp 2017-09-07T15:12:26Z ralt: Bike: I added a printf() there: https://gitlab.com/embeddable-common-lisp/ecl/blob/develop/src/c/read.d#L1364 (ctrl+f "sharp_P_reader"), so yes, I'm pretty sure it's read twice. 2017-09-07T15:16:14Z whoma1 is now known as whoman 2017-09-07T15:16:53Z Bike: that's freakin bizarre, then 2017-09-07T15:17:05Z dieggsy joined #lisp 2017-09-07T15:17:45Z jameser_ joined #lisp 2017-09-07T15:18:04Z Bike: and to answer your question, yes, the compiler is run before the file is loaded, and the compiler does all the reading. except this time apparently. 2017-09-07T15:19:25Z jameser quit (Ping timeout: 248 seconds) 2017-09-07T15:20:10Z ralt: Bike: it's more like restoring an image, it's booting up from scratch, except it skips the compilation part 2017-09-07T15:20:12Z ralt: somehow 2017-09-07T15:20:19Z ralt: my understanding of this bootstrap process is fuzzy 2017-09-07T15:21:27Z _death: it may be ok for it to do that, under the "as-if" rule 2017-09-07T15:23:10Z Murii quit (Ping timeout: 248 seconds) 2017-09-07T15:26:45Z _death: I think it's just wrongheaded to try to work around your problem using eval-when.. the solution is to use two files 2017-09-07T15:27:32Z _death: either that or set up the translations at read-time as well 2017-09-07T15:27:32Z kolko quit (Quit: ZNC - http://znc.in) 2017-09-07T15:29:49Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T15:31:05Z kolko joined #lisp 2017-09-07T15:31:48Z rpg joined #lisp 2017-09-07T15:31:51Z strelox quit (Remote host closed the connection) 2017-09-07T15:33:50Z _cosmonaut_ quit (Ping timeout: 248 seconds) 2017-09-07T15:35:09Z dieggsy quit (Remote host closed the connection) 2017-09-07T15:35:59Z Bike: restoring an image still doesn't seem like something that would read 2017-09-07T15:37:21Z _death: well, one lazy way of externalizing objects is to print them as #.(foo) 2017-09-07T15:37:43Z _death: so #P... may also make sense 2017-09-07T15:38:32Z nullniverse joined #lisp 2017-09-07T15:41:16Z ralt: _death: using 2 files doesn't change anything 2017-09-07T15:41:40Z ralt: _death: using #.() works, but it means you can't use it with runtime values 2017-09-07T15:41:44Z ralt: which sucks 2017-09-07T15:41:58Z ralt: (right now, I'm just using plain strings instead of #P"") 2017-09-07T15:42:50Z pjb: #P"FOO:BAR;BAZ" is a logical pathname. This is a literal. It can be (and should be!) compiled in. There's absolutely no reason why it should be read again (ie. why parse-namestring has to be evaluated again) at load time. 2017-09-07T15:43:35Z pjb: Also, the only condition for the _creation_ of a logical pathname is that the logical host exists. There is no need for an actual logical pathname translation matching the logical path. 2017-09-07T15:44:12Z pjb: The translation is only needed when you use file operations (or explicitely call translate-logical-pathname or translate-pathname). 2017-09-07T15:44:19Z pjb: (or truename). 2017-09-07T15:44:46Z pjb: that #.() works and #P"" doesn't demonstrates the bug. 2017-09-07T15:45:18Z pjb: ralt: the patch is to use your own reader macro (I provided the source yesterday). 2017-09-07T15:45:37Z rumbler31 joined #lisp 2017-09-07T15:46:46Z elfmacs joined #lisp 2017-09-07T15:46:54Z ralt: pjb: sorry, which patch? 2017-09-07T15:47:46Z phinxy joined #lisp 2017-09-07T15:47:49Z phinxy quit (Max SendQ exceeded) 2017-09-07T15:49:16Z elfmacs quit (Client Quit) 2017-09-07T15:50:36Z pjb: ralt: (defun reader-dispatch-macro-pathname (stream arg sub-char) "Standard #P dispatch macro reader." (declare (ignore sub-char arg)) (let ((namestring (read stream t nil t))) (if *read-suppress* nil (parse-namestring namestring)))) 2017-09-07T15:50:52Z ralt: pjb: ah, sorry 2017-09-07T15:50:56Z ralt: pjb: ECL already does that 2017-09-07T15:51:05Z pjb: and of course: (set-dispatch-macro-character #\# #\P 'reader-dispatch-macro-pathname) 2017-09-07T15:51:35Z pjb: Try it. 2017-09-07T15:51:52Z pjb: If it doesn't work, then you may try to add a make-load-form method to pathname. 2017-09-07T15:56:46Z marvin2 quit (Ping timeout: 248 seconds) 2017-09-07T15:58:49Z raynold joined #lisp 2017-09-07T15:59:00Z kuwze quit (Ping timeout: 260 seconds) 2017-09-07T16:00:25Z _death: ralt: why do you say that two files don't work? 2017-09-07T16:00:53Z pjb: because of the bug. 2017-09-07T16:01:06Z _death: seems to work here 2017-09-07T16:01:10Z _death: ecl 16.1.3 2017-09-07T16:03:03Z knusbaum joined #lisp 2017-09-07T16:03:08Z raynold: ahh it's a wonderful day 2017-09-07T16:05:22Z whoman: yes 2017-09-07T16:05:37Z gko quit (Quit: ZNC - http://znc.in) 2017-09-07T16:05:50Z _death: http://paste.lisp.org/display/355257 2017-09-07T16:07:35Z whoman: its working? 2017-09-07T16:08:49Z Shinmera: Hoorah, hoorah! Portacle 1.0 is here! https://reader.tymoon.eu/article/356 2017-09-07T16:09:29Z EvW quit (Ping timeout: 240 seconds) 2017-09-07T16:10:05Z varjag joined #lisp 2017-09-07T16:10:13Z _death: Shinmera: congratulations 2017-09-07T16:11:14Z whoman: sick with it! 2017-09-07T16:12:26Z Shinmera: _death: Thank you 2017-09-07T16:12:50Z Shinmera goes to play some Splatoon 2 to celebrate 2017-09-07T16:12:58Z Murii|osx joined #lisp 2017-09-07T16:14:22Z JuanitoJons joined #lisp 2017-09-07T16:15:43Z knusbaum quit (Quit: Leaving.) 2017-09-07T16:18:53Z knusbaum joined #lisp 2017-09-07T16:19:37Z BitPuffin|osx quit (Ping timeout: 260 seconds) 2017-09-07T16:24:02Z sz0 quit (Quit: Connection closed for inactivity) 2017-09-07T16:24:23Z Murii joined #lisp 2017-09-07T16:25:57Z ralt: _death: ... uh. Happy to be proved wrong. I'll have to figure out why asdf:make-build doesn't have the same behavior then... 2017-09-07T16:26:17Z jasom: Shinmera: huzzah! I've seen lots of "I don't want to use portacle because of the scary warning" from newbies on reddit and irc. 2017-09-07T16:26:19Z MetaYan: Shinmera: Thank you! A very good way of spreading Lisp into the world. 2017-09-07T16:26:31Z gko joined #lisp 2017-09-07T16:27:09Z Shinmera: jasom: Well, the warning was there for a reason. I didn't want to unnecessarily disappoint people. A negative first impression is pretty bad. 2017-09-07T16:27:10Z jasom: Shinmera: how did you end up handling shared libraries on linux; I was building some portable stuff myself and I discovered that RPATH can be made relative to the path of the executable which makes some things much easier 2017-09-07T16:27:35Z Shinmera: jasom: I wrote about that in depth here https://reader.tymoon.eu/article/350 2017-09-07T16:27:42Z jasom: Shinmera: not saying the warning was bad, but saying that removing it was a necessary step to helping people onboard with it 2017-09-07T16:27:49Z Shinmera: jasom: Of course. 2017-09-07T16:28:51Z Shinmera: Someone else on twitter suggested RPATH to me as well some time back. Making this work however would require binary rewriting with patchelf, and I don't currently have the desire to investigate that angle. 2017-09-07T16:29:11Z jasom: Shinmera: it might have been me actually since it's how I do it 2017-09-07T16:29:16Z Shinmera: My approach is horrible and convoluted, but it seems to work. 2017-09-07T16:29:33Z Shinmera: Ah. I don't have a good memory for names, sorry. 2017-09-07T16:29:39Z jasom: so you're using ld-wrap.so 2017-09-07T16:29:55Z jasom: Shinmera: no my twitter handle is something different; probably Aidenn0 (I don't use twitter much) 2017-09-07T16:29:57Z pjb: ralt: well, it looks like in ecl build-program working on .o files produces an executable that is not a saved image, but instead a fasl file. Ie. with ecl, load-time occurs when you execute the binary! 2017-09-07T16:30:04Z wheelsucker quit (Remote host closed the connection) 2017-09-07T16:30:06Z Shinmera: jasom: Yes. https://github.com/portacle/launcher/blob/master/src/ld-wrap.c 2017-09-07T16:31:02Z beach: Shinmera: Congratulations to 1.0! 2017-09-07T16:31:12Z Shinmera: beach: Thank you! 2017-09-07T16:31:13Z jasom: Shinmera: I remember reading that article but didn't realize that the last paragraph was your final linux solution 2017-09-07T16:31:33Z jasom: I suppose I can stop updating lispsticks now :) 2017-09-07T16:32:08Z Shinmera: I suppose so, yes. 2017-09-07T16:32:55Z Shinmera: I wish I could stop maintaining some things (glaring at qt-libs). 2017-09-07T16:32:56Z wheelsucker joined #lisp 2017-09-07T16:33:01Z jasom: lol 2017-09-07T16:34:20Z kuwze_ joined #lisp 2017-09-07T16:34:52Z shrdlu68 joined #lisp 2017-09-07T16:35:45Z Shinmera: Some of the stuff in the article is actually out of date now. Just yesterday I discovered that git has an environment variable for the CURL cainfo that isn't documented. This allows me to get rid of the weird windows config file kludge. 2017-09-07T16:36:10Z Shinmera: Thankfully too, cause I need to do the same thing on Linux, where the path trickery doesn't work. 2017-09-07T16:36:11Z BitPuffin|osx joined #lisp 2017-09-07T16:36:11Z pjb: ralt: http://paste.lisp.org/display/355259 2017-09-07T16:37:42Z jameser_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T16:39:39Z DGASAU quit (Read error: Connection reset by peer) 2017-09-07T16:40:55Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T16:41:19Z Karl_Dscc joined #lisp 2017-09-07T16:42:35Z rpg joined #lisp 2017-09-07T16:45:26Z hhdave quit (Ping timeout: 240 seconds) 2017-09-07T16:48:11Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-07T16:48:15Z pillton quit (Read error: Connection reset by peer) 2017-09-07T16:48:20Z mingus` joined #lisp 2017-09-07T16:48:35Z flak joined #lisp 2017-09-07T16:51:09Z rippa quit (Ping timeout: 248 seconds) 2017-09-07T16:51:41Z mingus quit (Ping timeout: 248 seconds) 2017-09-07T16:54:58Z Karl_Dscc quit (Remote host closed the connection) 2017-09-07T16:58:01Z JuanitoJons quit (Quit: Leaving) 2017-09-07T16:58:10Z scymtym joined #lisp 2017-09-07T16:58:13Z shka_ joined #lisp 2017-09-07T16:58:42Z dddddd quit (Ping timeout: 260 seconds) 2017-09-07T16:59:59Z defaultxr joined #lisp 2017-09-07T17:01:13Z damke_ joined #lisp 2017-09-07T17:03:06Z damke quit (Ping timeout: 240 seconds) 2017-09-07T17:05:23Z carld joined #lisp 2017-09-07T17:06:06Z DGASAU joined #lisp 2017-09-07T17:06:56Z gacepa joined #lisp 2017-09-07T17:06:56Z shka_: beach: regarding global envs 2017-09-07T17:07:40Z shka_: so essentially what you did is: turn package-symbol into package contains symbols, env maps symbols to other objects 2017-09-07T17:08:05Z shka_: from two part system into three part system 2017-09-07T17:08:51Z drcode joined #lisp 2017-09-07T17:08:52Z drcode quit (Remote host closed the connection) 2017-09-07T17:09:59Z carld quit (Ping timeout: 264 seconds) 2017-09-07T17:11:03Z dddddd joined #lisp 2017-09-07T17:15:13Z drcode joined #lisp 2017-09-07T17:15:27Z FreeBirdLjj joined #lisp 2017-09-07T17:17:27Z m00natic quit (Remote host closed the connection) 2017-09-07T17:20:11Z drcode quit (Read error: Connection reset by peer) 2017-09-07T17:20:58Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-07T17:21:36Z FreeBirdLjj joined #lisp 2017-09-07T17:24:06Z karswell quit (Remote host closed the connection) 2017-09-07T17:25:06Z karswell joined #lisp 2017-09-07T17:26:21Z FreeBirdLjj quit (Ping timeout: 248 seconds) 2017-09-07T17:28:58Z vlatkoB_ joined #lisp 2017-09-07T17:32:33Z vlatkoB quit (Ping timeout: 240 seconds) 2017-09-07T17:34:19Z ralt: pjb: yes, we figured that out, the problem is that read time occurs twice 2017-09-07T17:40:06Z damke_ quit (Ping timeout: 240 seconds) 2017-09-07T17:40:50Z d4ryus joined #lisp 2017-09-07T17:43:09Z shrdlu68 quit (Quit: Lost terminal) 2017-09-07T17:52:40Z FreeBirdLjj joined #lisp 2017-09-07T17:53:43Z beach: shka_: Almost right. 2017-09-07T17:54:20Z beach: shka_: A package still contains symbols, and a symbol still have an optional package. 2017-09-07T17:55:03Z beach: But the mapping from symbols to other objects such as functions, as you point out, is no longer direct, but indirect through the environment. 2017-09-07T17:55:30Z jasom: beach: and the mapping from strings to packages is also through the environment? 2017-09-07T17:55:47Z beach: Yes, I think it will be. 2017-09-07T17:56:09Z beach: So it will be analogous to FIND-CLASS where there are two independent mappings. 2017-09-07T17:56:25Z beach: FIND-CLASS and CLASS-NAME may use different names. 2017-09-07T17:56:31Z beach: I am thinking packages will be the same. 2017-09-07T17:56:35Z jasom is trying to think of what things in lisp are named solely by strings; packages are, and symbols within a package are. ASDF systems are too, but that's not part of the standard. 2017-09-07T17:57:15Z jasom won't go on his "why aren't packages named by symbols" rant 2017-09-07T17:57:49Z phoe: if symbols name packages, what package are these symbols in? 2017-09-07T17:58:27Z Bike: another package. hierarchy, see 2017-09-07T17:58:36Z jasom: phoe: no time to talk now, but they are resolved in *package* just like any other symbol when read 2017-09-07T17:58:41Z Bike: and at some point you have a nameless package which is like keyword. 2017-09-07T17:58:52Z Kyo91 quit (Ping timeout: 248 seconds) 2017-09-07T17:58:53Z dlowe: there are uninterned symbols 2017-09-07T17:59:01Z dlowe: you just use one of those for the top-level package names 2017-09-07T17:59:06Z jasom: phoe: https://github.com/jasom/spm-reader/blob/master/spm-example.lisp 2017-09-07T17:59:20Z JuanDaugherty joined #lisp 2017-09-07T17:59:26Z jasom: dlowe: thats right, uninterned symbols would let you have anonymous packages which you can't have right now. every package must have a name in the global nmespace 2017-09-07T17:59:53Z jasom: phoe: if you want to talk more, I'm back in 90 minutes 2017-09-07T18:00:50Z dlowe: jasom: packages named by uninterned symbols would *be* the global namespace. 2017-09-07T18:00:52Z Kyo91 joined #lisp 2017-09-07T18:03:01Z White_Flame: yeah, I think that's along the ideas I had as well, of a graph of packages instead of just a flat global package list 2017-09-07T18:05:46Z ``Erik joined #lisp 2017-09-07T18:07:38Z phoe: jasom: I see. Interesting. 2017-09-07T18:08:53Z MetaYan: phoe: I noticed in irc-log that you were offering me a tour just after my irc client had completely flipped out some days ago. I was not trying to be rude. 2017-09-07T18:08:59Z _death: doesn't really make sense to me.. 2017-09-07T18:10:52Z mhd joined #lisp 2017-09-07T18:12:30Z phoe quit (Ping timeout: 240 seconds) 2017-09-07T18:14:58Z Suzuran42 joined #lisp 2017-09-07T18:16:19Z tephra joined #lisp 2017-09-07T18:18:08Z Suzuran quit (Ping timeout: 246 seconds) 2017-09-07T18:18:08Z Suzuran42 is now known as Suzuran 2017-09-07T18:21:04Z LooneyTunes joined #lisp 2017-09-07T18:24:19Z dieggsy joined #lisp 2017-09-07T18:25:45Z _death: dlowe: symbols only exist in a process, an if they're uninterned you can't designate them directly in source 2017-09-07T18:26:15Z dlowe: #:foo 2017-09-07T18:26:32Z _death: so, which package does this designate? 2017-09-07T18:26:36Z antoszka: none 2017-09-07T18:26:46Z antoszka: #:foo is uninterned 2017-09-07T18:27:31Z dlowe: or rather, #:foo creates an uninterned symbol by the reader 2017-09-07T18:27:33Z _death: dlowe: if I have two packages named by different uninterned symbols with the name "FOO".. 2017-09-07T18:28:10Z dlowe: actually.. actually if you made KEYWORD the root package, all sorts of nice things come out 2017-09-07T18:28:27Z dlowe: because then you could make uninterned symbols "mean" an anonymous package 2017-09-07T18:28:27Z _death: dlowe: this is what spm-reader does, if I understand it correctly.. 2017-09-07T18:28:38Z dlowe didn't actually look at spm-reader 2017-09-07T18:31:58Z _death: also I'm not sure symbols-as-package-names would be an improvement.. for example they'd make package designators more difficult 2017-09-07T18:32:29Z Bock quit (Ping timeout: 240 seconds) 2017-09-07T18:32:30Z dieggsy` joined #lisp 2017-09-07T18:33:04Z SaganMan quit (Quit: WeeChat 1.6) 2017-09-07T18:33:30Z dieggsy quit (Ping timeout: 240 seconds) 2017-09-07T18:34:04Z Bike: i don't think so. it would eliminate strings as package designators, but that's not that common. you'd still have symbols as package designators, they just wouldn't be keywords so often. 2017-09-07T18:34:40Z dieggsy` quit (Client Quit) 2017-09-07T18:36:07Z _death: Bike: as I typed RET I realized that I meant something a bit different.. 2017-09-07T18:37:32Z sellout- quit (Quit: Leaving.) 2017-09-07T18:37:35Z dlowe: I disagree. Strings are package designators are quite common for use when the package is not loaded at read-time 2017-09-07T18:37:43Z dlowe: which is kind of a problem with the whole setup 2017-09-07T18:38:52Z dlowe: what happens when you need to reference :foo:bar:baz before :foo:bar is loaded? I guess you can put the resolution rules in the package designator space. 2017-09-07T18:39:20Z EvW joined #lisp 2017-09-07T18:40:14Z Bike: you could write find-package explicitly, or yeah extend it so that strings are read 2017-09-07T18:41:22Z _death: so you resort to global names 2017-09-07T18:43:53Z phoe joined #lisp 2017-09-07T18:46:28Z Jesin quit (Quit: Leaving) 2017-09-07T18:47:39Z dieggsy` joined #lisp 2017-09-07T18:48:57Z mishoo_ quit (Ping timeout: 260 seconds) 2017-09-07T18:50:54Z _death: currently packages are named by strings and the identity of these strings doesn't matter, so the reader can do with operating at the level of characters, which is what appears in the source file, and so does the user who writes the source file.. once you expect package names to be identity-based, it looks like it'd mean trouble 2017-09-07T18:52:53Z _death: referring to symbols already demands context, unless they're fully qualified with the package name.. but if the name is a symbol as well, what then? 2017-09-07T18:54:34Z _death: so you resort a special way to designate this root package, which makes it easy to refer to the packages in it 2017-09-07T18:54:46Z _death: (the packages named by symbols in it) 2017-09-07T18:55:35Z Bike: i mean you just restated the goal. package names dependent on context 2017-09-07T18:55:49Z BlueRavenGT joined #lisp 2017-09-07T18:55:54Z _death: so packages not named by symbols in it are second-class (or rather, third-class :).. they are more difficult to refer to.. this indeed creates a hierarchy of packages, but maybe not in the way intended 2017-09-07T18:58:37Z emaczen joined #lisp 2017-09-07T18:59:07Z _death: Bike: yes, from the spm-reader's example, that's what I think the goal is.. but the goal does not necessitate symbols as package names, so are there any other goals making this worthwhile 2017-09-07T19:00:33Z LooneyTunes quit (Ping timeout: 240 seconds) 2017-09-07T19:02:29Z dieggsy`` joined #lisp 2017-09-07T19:03:25Z dieggsy` quit (Ping timeout: 248 seconds) 2017-09-07T19:05:13Z moei joined #lisp 2017-09-07T19:08:25Z shrdlu68 joined #lisp 2017-09-07T19:11:29Z _death: we already have package-local nicknames.. there are existing hierarchical package solutions that still use strings.. I suppose it makes anonymous packages natural, but it still seems an overkill for that 2017-09-07T19:14:51Z papachan joined #lisp 2017-09-07T19:16:06Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T19:16:35Z gacepa quit (Quit: Connection closed for inactivity) 2017-09-07T19:18:52Z dieggsy`` quit (Ping timeout: 252 seconds) 2017-09-07T19:19:06Z pacon quit (Ping timeout: 240 seconds) 2017-09-07T19:19:58Z sellout- joined #lisp 2017-09-07T19:20:00Z sjl joined #lisp 2017-09-07T19:20:19Z pacon joined #lisp 2017-09-07T19:25:14Z FreeBirdLjj quit (Remote host closed the connection) 2017-09-07T19:25:50Z FreeBirdLjj joined #lisp 2017-09-07T19:29:05Z White_Flame: actually, I think you could reuse uninterned symbols via #= 2017-09-07T19:29:10Z White_Flame: in source code 2017-09-07T19:29:16Z _death: (also, they're not really anonymous packages... but they achieve what we usually want when we think "anonymous packages") 2017-09-07T19:29:31Z _death: White_Flame: only within the same form 2017-09-07T19:29:34Z White_Flame: however, if you were to reload the source, it'd all be different :) 2017-09-07T19:30:06Z White_Flame: _death: sure, just use a toplevel progn or whatever 2017-09-07T19:30:36Z FreeBirdLjj quit (Ping timeout: 248 seconds) 2017-09-07T19:30:44Z _death: and what about other files 2017-09-07T19:32:23Z White_Flame: (setf *nobody-else-use-this* #1#) , other file #.*nobody-else-use-this* ;) 2017-09-07T19:32:46Z White_Flame: (setf cl-user::*nobody-else-use-this* #1#) , other file #.cl-user::*nobody-else-use-this* ;) 2017-09-07T19:33:07Z White_Flame: obviously, I do not condone any of this :) 2017-09-07T19:33:10Z _death: by the way, old lisps didn't have strings 2017-09-07T19:33:24Z dlowe: or integers 2017-09-07T19:33:44Z _death: maybe they had obarray hacks that used symbols as names 2017-09-07T19:33:55Z dlowe: we should be grateful we do not hack in such benighted times. 2017-09-07T19:34:06Z Murii|osx quit (Quit: Textual IRC Client: www.textualapp.com) 2017-09-07T19:34:25Z White_Flame: there was some split function for 'ABC -> (A B C) that was quite old 2017-09-07T19:34:43Z White_Flame: as well as the inverse 2017-09-07T19:34:44Z _death: dlowe: do you mean integers, or just the octal-by-default? 2017-09-07T19:34:47Z zacts quit (Ping timeout: 246 seconds) 2017-09-07T19:35:15Z _death: White_Flame: exploden 2017-09-07T19:36:58Z dlowe: I mean integers. 2017-09-07T19:37:47Z _death: dlowe: so they used peano style tricks? :) 2017-09-07T19:38:07Z nullniverse quit (Ping timeout: 252 seconds) 2017-09-07T19:38:17Z dlowe: they used number-shaped symbols 2017-09-07T19:38:34Z dlowe: trying to find the article that I ran across this 2017-09-07T19:38:55Z zacts joined #lisp 2017-09-07T19:39:03Z _death: ----- ;; horizontal one 2017-09-07T19:39:24Z dlowe: https://www.snellman.net/blog/archive/2017-09-04-lisp-numbers/ 2017-09-07T19:39:51Z dlowe: it's a fun read 2017-09-07T19:39:58Z _death: eh, it's from 3 days ago 2017-09-07T19:40:35Z _death: I thought "Snellman's blog? I don't remember that entry" 2017-09-07T19:42:08Z shrdlu68: "As far as I know, the source code hasn't been preserved"--very unfortunate. 2017-09-07T19:52:31Z pzuck joined #lisp 2017-09-07T19:53:14Z jasom: dlowe: why would you refer to :foo:bar:baz before :foo:bar is loaded? In the rare event that you have to do that, then you use INTERN just like you do right now when the package you need doesn't exist at read time 2017-09-07T19:54:39Z dlowe: jasom: I've done it in asd files and also where lisp implementations will error on a non-existent package even when using #+/- 2017-09-07T19:54:42Z jasom: dlowe: most externally referenced packages would still have a global name, because that's useful. However you can now do something like import :my-super-awseome-library as msal and refer to its symbols as msal:foo and another package can import :my-string-arithmetic-library as msal and do msal:bar with no issue 2017-09-07T19:55:19Z dlowe: jasom: yes, package local nicknames are quite cool, and that's wasn't the context of the discussion at the time 2017-09-07T19:55:20Z jasom: dlowe: lisp implementations aren't supposed to intern anything in a #- I thought 2017-09-07T19:55:36Z sctb joined #lisp 2017-09-07T19:56:02Z jasom: dlowe: and then internal only packages it should be a non-issue for; just have foo depend on foo/bar but now you call it :foo:bar 2017-09-07T19:58:50Z jasom: _death: spm-reader was just a demonstration that at least two useful non-standard things are solved merely by having package names as keywords. 2017-09-07T19:59:18Z jasom: _death: It's elegant at the implementation level, but is not necessarily superior from an ergonomics standpoint from impelementing those features in other ways 2017-09-07T20:00:35Z jasom: _death: also package name collisions are an issue with nicknames as-in-the-standard, and lisp's historic way of resolving name collisions is to use symbols as names for things. 2017-09-07T20:02:20Z jasom: (intern "BAZ" (intern "BAR" :foo)) <-- :foo:bar:baz before :foo:bar is loaded. This is not worse than calling the function foo:bar before foo is loaded, and I still maintain should be a rarity. 2017-09-07T20:04:30Z phinxy joined #lisp 2017-09-07T20:05:51Z phinxy left #lisp 2017-09-07T20:06:26Z emaczen quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-09-07T20:09:02Z Lowl3v3l quit (Remote host closed the connection) 2017-09-07T20:13:46Z _death: so intern creates packages? 2017-09-07T20:15:05Z mson quit (Quit: Connection closed for inactivity) 2017-09-07T20:17:52Z flak quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-09-07T20:18:13Z mishoo_ joined #lisp 2017-09-07T20:20:08Z _death: jasom: I think the idea is interesting, but there's not enough experience with it to determine whether it's a step forward 2017-09-07T20:21:38Z akkad looks for fare 2017-09-07T20:23:05Z _death: jasom: also, maybe you're aware, but it seems to have been discussed in the cl-su-ai 2017-09-07T20:37:53Z _death: this led me to arrive at a Fahlman's post where he says: I propose that henceforth all silly lisp code be interned in a package 2017-09-07T20:37:53Z _death: named "(-". Symbols in this package would print as \(-:foo. 2017-09-07T20:38:17Z _death: I then recalled that Fahlman is the guy who invented the smiley 2017-09-07T20:42:25Z fe[nl]ix: (\(-:make-\:\) '\(-:ny) 2017-09-07T20:45:02Z sctb quit (Remote host closed the connection) 2017-09-07T20:51:14Z kuwze_ quit (Ping timeout: 260 seconds) 2017-09-07T20:51:45Z Achylles quit (Quit: Leaving) 2017-09-07T20:52:37Z papachan quit (Quit: Saliendo) 2017-09-07T20:52:40Z parjanya joined #lisp 2017-09-07T20:52:53Z _death: imagine if Kernighan invented the smiley.. it'd be :-} 2017-09-07T20:53:50Z knusbaum: ha! 2017-09-07T20:58:09Z nzambe quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2017-09-07T21:02:59Z Myk267 joined #lisp 2017-09-07T21:03:14Z jasom: _death: intern doesn't create packages, but it won't be evaluated until run-time, at which (hopefully) the package exists 2017-09-07T21:04:57Z daniel-s joined #lisp 2017-09-07T21:06:37Z sellout- quit (Ping timeout: 260 seconds) 2017-09-07T21:07:22Z jasom: cl-su-ai? 2017-09-07T21:07:31Z _death: jasom: http://cl-su-ai.cddddr.org/ 2017-09-07T21:07:45Z pjb quit (Ping timeout: 252 seconds) 2017-09-07T21:08:15Z _death: I munged it to a single file you can read using gnus @ https://adeht.org/dump/cl-su-ai.7z 2017-09-07T21:08:41Z sellout- joined #lisp 2017-09-07T21:10:07Z pjb joined #lisp 2017-09-07T21:12:00Z jasom: _death: neat to see others thought of it; it's not surprising (it was the obvious way of adding package-local nicknames to me) 2017-09-07T21:13:08Z jasom: "Also, I have come around to the view that a package name should be a string, not a symbol. This eliminates the issue of where the package name is interned." 2017-09-07T21:13:14Z _death: jasom: there are also comments re hierarchical packages there btw 2017-09-07T21:14:06Z Bike quit (Ping timeout: 248 seconds) 2017-09-07T21:15:23Z pjb quit (Ping timeout: 264 seconds) 2017-09-07T21:15:30Z _death: jasom: too bad there are many discussions that, it seems, were lost.. there's also https://www.saildart.org which I have yet to thoroughly investigate 2017-09-07T21:16:01Z parjanya quit (Ping timeout: 252 seconds) 2017-09-07T21:16:25Z ralt: _death: I couldn't make sense of this ML archive until I read the date... eh 2017-09-07T21:17:20Z malice quit (Ping timeout: 246 seconds) 2017-09-07T21:17:52Z _death: ralt: hehe I spent some months reading it.. of course not remembering all the details, but got the spirit of things 2017-09-07T21:18:59Z jasom: _death: was there any discussion about having a hook for converting a token to a symbol? That would allow much user customization. I saw one for a per-package hook for interning, which is close but not identical 2017-09-07T21:20:03Z _death: like "soft interning"? 2017-09-07T21:20:28Z kolko quit (Ping timeout: 248 seconds) 2017-09-07T21:20:48Z jasom: _death: right, when you determine that a token is not a number, then the reader right now calls intern, I'm suggesting having it call a hook in the readtable 2017-09-07T21:20:51Z Myk267 quit (Remote host closed the connection) 2017-09-07T21:21:14Z Myk267 joined #lisp 2017-09-07T21:21:26Z jasom: so then the package system becomes decoupled from the reader 2017-09-07T21:22:18Z _death: I don't know whether it was mentioned or not.. but my guess is "likely" because it's obviously useful 2017-09-07T21:22:56Z Shinmera: Hookable interning would allow for package local nicknames as a library and all sorts of stuff. 2017-09-07T21:27:39Z jasom: _death: this is archive is great; here's the birth of :allow-other-keys: http://cl-su-ai.cddddr.org/msg05534.html 2017-09-07T21:28:07Z mishoo_ quit (Ping timeout: 252 seconds) 2017-09-07T21:29:57Z MetaHertz quit (Ping timeout: 260 seconds) 2017-09-07T21:30:42Z Karl_Dscc joined #lisp 2017-09-07T21:31:38Z Kyo91_ joined #lisp 2017-09-07T21:31:39Z jasom: Shinmera: yup; if you extended it to numbers and pseudo-numbers it would allow portable novel numeric literais that don't start with a macro character. 2017-09-07T21:33:47Z _death: also easier handling of unit-typed numerals.. like 42kg 2017-09-07T21:33:58Z Kyo91 quit (Ping timeout: 240 seconds) 2017-09-07T21:35:15Z cromachina joined #lisp 2017-09-07T21:35:58Z Kyo91_ quit (Ping timeout: 248 seconds) 2017-09-07T21:36:19Z _death: with macroexpansion-hook and evalhook (see mailing list), it's very likely that all times were considered wrt to hooks and implementations had them 2017-09-07T21:38:09Z jasom: _death: interestingly 42g could be a potential number, but 42kg cannot 2017-09-07T21:38:55Z _death: what do you mean? 2017-09-07T21:39:02Z jasom: clhs 2.3.1.1 2017-09-07T21:39:02Z specbot: Potential Numbers as Tokens: http://www.lispworks.com/reference/HyperSpec/Body/02_caa.htm 2017-09-07T21:39:20Z jasom: "no letter that is adjacent to another letter may ever be treated as a number marker" 2017-09-07T21:39:24Z drdo quit (Quit: ...) 2017-09-07T21:39:25Z White_Flame: basically the same as how floating point numbers are tagged 2017-09-07T21:39:55Z White_Flame: ah, no, not quite 2017-09-07T21:40:40Z _death: still, (let ((*read-base* 36)) (read-from-string "42kg")) ;) 2017-09-07T21:40:41Z jasom: all potential numbers that are not actually numbers are reserved for the implementation's use 2017-09-07T21:43:10Z _death: the old UNITS system uses symbols 2017-09-07T21:43:34Z rpg joined #lisp 2017-09-07T21:43:37Z carld joined #lisp 2017-09-07T21:43:55Z JuanDaugherty quit (Quit: Ex Chat) 2017-09-07T21:43:56Z rumbler31 quit (Ping timeout: 246 seconds) 2017-09-07T21:44:17Z _death: so if lisp at some time had no integers, 20 years from now I can imagine someone on irc (!) saying, at some point lisp had no units 2017-09-07T21:44:28Z Bike joined #lisp 2017-09-07T21:49:03Z _death: hmm, maybe the name was MEASURES.. https://github.com/lispm/measures 2017-09-07T21:56:45Z sjl_ joined #lisp 2017-09-07T21:59:06Z sjl quit (Ping timeout: 240 seconds) 2017-09-07T22:03:10Z carld quit (Ping timeout: 248 seconds) 2017-09-07T22:07:59Z Karl_Dscc quit (Remote host closed the connection) 2017-09-07T22:09:46Z varjag quit (Ping timeout: 240 seconds) 2017-09-07T22:10:35Z angavrilov quit (Remote host closed the connection) 2017-09-07T22:13:44Z rpg quit (Read error: Connection reset by peer) 2017-09-07T22:14:16Z rpg joined #lisp 2017-09-07T22:21:13Z pierpa joined #lisp 2017-09-07T22:21:24Z carld joined #lisp 2017-09-07T22:22:29Z pillton joined #lisp 2017-09-07T22:26:54Z pillton quit (Quit: ERC (IRC client for Emacs 25.2.1)) 2017-09-07T22:27:29Z pillton joined #lisp 2017-09-07T22:32:29Z vlatkoB_ quit (Remote host closed the connection) 2017-09-07T22:33:16Z knusbaum quit (Quit: Leaving.) 2017-09-07T22:38:38Z Patzy quit (Ping timeout: 255 seconds) 2017-09-07T22:40:10Z Patzy joined #lisp 2017-09-07T22:45:36Z wxie joined #lisp 2017-09-07T22:46:22Z rumbler31 joined #lisp 2017-09-07T22:48:16Z whoman quit (Remote host closed the connection) 2017-09-07T22:48:37Z whoman joined #lisp 2017-09-07T22:48:50Z rumbler31 quit (Remote host closed the connection) 2017-09-07T22:49:34Z LiamH quit (Quit: Leaving.) 2017-09-07T22:49:38Z Myk267 quit (Read error: Connection reset by peer) 2017-09-07T22:56:11Z attila_lendvai quit (Quit: Leaving.) 2017-09-07T22:57:14Z rumbler31 joined #lisp 2017-09-07T22:59:10Z shka_ quit (Ping timeout: 264 seconds) 2017-09-07T23:06:09Z varjag joined #lisp 2017-09-07T23:06:28Z moei quit (Quit: Leaving...) 2017-09-07T23:09:11Z zachk joined #lisp 2017-09-07T23:10:54Z varjag quit (Ping timeout: 248 seconds) 2017-09-07T23:20:03Z rumbler31 quit (Remote host closed the connection) 2017-09-07T23:23:07Z wooden quit (Ping timeout: 260 seconds) 2017-09-07T23:26:36Z wooden joined #lisp 2017-09-07T23:28:45Z ralt quit (Quit: Connection closed for inactivity) 2017-09-07T23:29:57Z detectiveaoi joined #lisp 2017-09-07T23:33:51Z safe joined #lisp 2017-09-07T23:42:00Z pjb joined #lisp 2017-09-07T23:44:29Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-07T23:44:48Z detectiveaoi quit (Quit: Leaving...) 2017-09-07T23:46:13Z Bike quit (Remote host closed the connection) 2017-09-07T23:46:35Z Bike joined #lisp 2017-09-07T23:48:16Z pjb: White_Flame: (explode 'abc) #| --> (#\A #\B #\C) |# (implode '(a b c)) #| --> abc ; :internal |# (symbol-package 'explode) #| --> # |# not so old ;-) 2017-09-07T23:51:17Z malice joined #lisp 2017-09-07T23:52:02Z EvW quit (Ping timeout: 246 seconds) 2017-09-07T23:57:46Z yrk quit (Read error: Connection reset by peer) 2017-09-08T00:01:56Z emaczen joined #lisp 2017-09-08T00:05:41Z emaczen: I'm interested in making lisp databases, what is the common interface for writing to disk? Is there some kind of malloc for the disk that will implicitly get called? 2017-09-08T00:05:59Z emaczen: called through this common interface I'm assuming exists 2017-09-08T00:06:16Z emaczen: Would this be at the OS level? 2017-09-08T00:06:40Z edgar-rft: CLHS with-open-file 2017-09-08T00:06:40Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_w_open.htm 2017-09-08T00:07:00Z edgar-rft: emaczen ^^ 2017-09-08T00:08:13Z emaczen: edgar-rft: How would you return results from a query of a huge file without potentially reading the entire stream? 2017-09-08T00:09:28Z emaczen: My understanding is that DB systems are often implemented as BTrees, how is that BTree mapped to the disk? 2017-09-08T00:11:00Z sveit joined #lisp 2017-09-08T00:11:41Z jasom: emaczen: see manardb for a memory mapped database; note that you are limited in size if you mmap 2017-09-08T00:11:55Z jasom: emaczen: you seek 2017-09-08T00:12:30Z emaczen: jasom: Ok, so #'file-position? I think I'll go re-read BTrees for a little then 2017-09-08T00:12:37Z jasom: emaczen: yes, file-position if you don't mmap 2017-09-08T00:12:55Z jasom: if you mmap, then you are limited to OSes that support mmap and will need to write some c-ish code for mapping it 2017-09-08T00:13:31Z emaczen: The file-system is an abstraction right? Are the bytes I see in a file really laid out contiguously on disk? 2017-09-08T00:13:34Z malice: jasom: wouldn't cffi work too? 2017-09-08T00:13:41Z jasom: emaczen: a btree is mapped to disk usually by using a file offset as a pointer. 2017-09-08T00:14:05Z jasom: malice: yes you write c-ish code in cffi 2017-09-08T00:14:10Z malice: got it :) 2017-09-08T00:14:30Z malice: emaczen: why do you want to make database in lisp? 2017-09-08T00:15:08Z jasom: emaczen: they may or may not be laid out continguously on disk; you can use raw partitions to ensure that they are contiguous at the LBA level, but with SSDs and block remapping rotating disks it still mgiht not be contiguous 2017-09-08T00:15:29Z emaczen: jasom: So it is an abstraction 2017-09-08T00:15:59Z jasom: emaczen: yes, but even if you directly call to the disk it might not be contiguous because there is an abstraction in the firmware 2017-09-08T00:16:10Z xrash joined #lisp 2017-09-08T00:17:44Z jasom: 30+ years ago disks were addressed with the actual coordinates, but even before they switched to linear addressing the coordinates became a lie because the cylinder and sector density increased but the head-count staid fairly fixed 2017-09-08T00:19:14Z jasom: emaczen: but if you basically think of a BTree as like an in-memory tree, but with file-offsets instead of memory pointers, you are set for a basic implementation. 2017-09-08T00:20:10Z jasom: If you have fixed size internal nodes and store data only in the leaves then you could, in theory, use offsets in terms of the node count but I don't know if anyone has done it that way. 2017-09-08T00:21:35Z aeth: how do you actually use this in Lisp, though? 2017-09-08T00:21:57Z jasom: aeth: If you need to read a node, you (setf (file-position stream) offset) 2017-09-08T00:22:09Z jasom: then read it in however. 2017-09-08T00:23:09Z jasom: a first implementation might store items with any of these: http://cliki.net/serialization 2017-09-08T00:23:51Z jasom: cl-conspack is probably the best item listed there for a database, as it does prioritize a compact representation 2017-09-08T00:23:59Z rosa joined #lisp 2017-09-08T00:24:11Z rosa: can lisp automatically regenerating there own code without needing to write it to a seperate file then execute that file 2017-09-08T00:24:16Z rosa: its* 2017-09-08T00:24:29Z jasom: rosa: what do you mkean "regenerating" 2017-09-08T00:24:50Z jasom: rosa: it can compile functions (including function redefinitions) without any file access, if that's a question 2017-09-08T00:25:00Z rosa: like re-write itself acording to specific conditions 2017-09-08T00:25:16Z jasom: rosa: "re-write itself" is still unclear to me. 2017-09-08T00:25:24Z jasom: what is "itself"? a lisp program? 2017-09-08T00:25:28Z rosa: yes 2017-09-08T00:25:31Z phoe: minion: memo for mrottenkolber: thanks - I got your message, I will think of it. 2017-09-08T00:25:31Z minion: Remembered. I'll tell mrottenkolber when he/she/it next speaks. 2017-09-08T00:25:33Z jasom: If so, then yes, as ASDF can upgrade itself live 2017-09-08T00:26:33Z aeth: There are only three places where you'll have issues with "rewriting itself" afaik. Package definitions and (in some implementations) struct definitions. Also potentially inline functions and macros (a function could have access to a stale version of an inline function or macro unless that is also recompiled). 2017-09-08T00:26:36Z rosa: like say u autogenerate a lisp program according to certain conditions and various factors, can u do that to itself without needing to execute a seperate process everytime its code is regenorated? 2017-09-08T00:26:37Z jasom: rosa: the only gotcha is that functions defined within the same file can't be portably redefined independently unless you declare them "notinline" since functions in the same file are allowed to be mutually inlined 2017-09-08T00:26:42Z aeth: I think ASDF and UIOP handle packages specially 2017-09-08T00:26:46Z jasom: rosa: yes 2017-09-08T00:26:58Z jasom: rosa: lisp can incrementally compile and load programs at runtime 2017-09-08T00:27:19Z jasom: rosa: though see aeth's comments about structures and package definitions 2017-09-08T00:27:28Z rpg joined #lisp 2017-09-08T00:27:39Z jasom: packages *can* be redefined at runtime just fine, but you have to do it right. structs are more problematic 2017-09-08T00:27:44Z aeth: Adding to package definitions is no problem. Removing is the issue, iirc. 2017-09-08T00:27:55Z aeth: You can do that manually, of course. Tricky, though 2017-09-08T00:27:56Z jasom: aeth: yeah, you have to delete the package and recreate 2017-09-08T00:28:24Z jasom: rosa: every time you type in DEFUN at the repl, you're modifying a live running program. 2017-09-08T00:28:38Z rosa: kinda like regenorating external modules that it uses then reloading them except that the modules are inside the program itself 2017-09-08T00:29:48Z pillton: jasom: Does "mutually inlined" mean a user can request specific functions to be inlined? 2017-09-08T00:30:09Z rosa: or probably not like that as it ay not have full access to the code's variables and stuff 2017-09-08T00:30:13Z rosa: have* 2017-09-08T00:30:20Z xrash quit (Ping timeout: 248 seconds) 2017-09-08T00:30:21Z rosa: as it may not have* 2017-09-08T00:33:05Z xrash joined #lisp 2017-09-08T00:33:14Z safe quit (Quit: Leaving) 2017-09-08T00:36:35Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-08T00:36:58Z carld quit (Ping timeout: 240 seconds) 2017-09-08T00:45:31Z zachk quit (Quit: Leaving) 2017-09-08T00:49:00Z margeas quit (Ping timeout: 248 seconds) 2017-09-08T00:51:07Z Achylles joined #lisp 2017-09-08T00:52:50Z rosa: is it possible to impliment a self modifying program by having a "mother" program monitor a certain file that it uses as its main program for any changes and upon detecting a change it shall recompile that file if it is a compilable language then (if compilable based on wether the file compiles succesfully or not) execute that file from the point where the previous file was at before it detected the code change including all current 2017-09-08T00:52:51Z rosa: variable, arrays and other stuf that will allow it to continue from where it was paused during the code change 2017-09-08T00:55:38Z carld joined #lisp 2017-09-08T00:56:18Z Bike: seems complicated. 2017-09-08T00:56:19Z rosa: for example it might auto append and prepend code to a certain segment of code that is based on how many lines the code segment is 2017-09-08T00:56:51Z Bike: but yes, you can do whatever you please 2017-09-08T00:59:53Z emaczen quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-09-08T01:08:28Z Jesin joined #lisp 2017-09-08T01:09:31Z rosa quit (Remote host closed the connection) 2017-09-08T01:12:14Z saki quit (Quit: saki) 2017-09-08T01:15:08Z defaultxr quit (Quit: brb) 2017-09-08T01:15:42Z JuanDaugherty joined #lisp 2017-09-08T01:16:27Z defaultxr joined #lisp 2017-09-08T01:18:27Z Bicyclidine joined #lisp 2017-09-08T01:19:34Z jiacobucci joined #lisp 2017-09-08T01:20:16Z dddddd quit (Quit: Hasta otra..) 2017-09-08T01:20:33Z Bike quit (Ping timeout: 246 seconds) 2017-09-08T01:36:51Z daniel-s quit (Read error: Connection reset by peer) 2017-09-08T01:38:50Z d4ryus1 joined #lisp 2017-09-08T01:42:00Z d4ryus quit (Ping timeout: 240 seconds) 2017-09-08T01:47:30Z milanj quit (Quit: This computer has gone to sleep) 2017-09-08T01:47:30Z jiacobucci quit (Read error: Connection reset by peer) 2017-09-08T01:54:33Z saki joined #lisp 2017-09-08T01:54:35Z lambda-11235 joined #lisp 2017-09-08T01:57:16Z lambda-11235 quit (Read error: Connection reset by peer) 2017-09-08T01:57:56Z drcode joined #lisp 2017-09-08T02:01:17Z jealousmonk joined #lisp 2017-09-08T02:07:06Z lambda-11235 joined #lisp 2017-09-08T02:16:15Z jameser joined #lisp 2017-09-08T02:17:28Z froggey quit (Ping timeout: 240 seconds) 2017-09-08T02:17:28Z Achylles quit (Quit: Leaving) 2017-09-08T02:18:25Z iqubic joined #lisp 2017-09-08T02:19:19Z froggey joined #lisp 2017-09-08T02:24:02Z elfmacs joined #lisp 2017-09-08T02:32:48Z xrash quit (Read error: Connection reset by peer) 2017-09-08T02:34:24Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-08T02:40:58Z safe joined #lisp 2017-09-08T02:46:01Z parjanya joined #lisp 2017-09-08T02:48:23Z zRecursive joined #lisp 2017-09-08T02:48:34Z sjl joined #lisp 2017-09-08T02:49:35Z JuanDaugherty quit (Quit: Ex Chat) 2017-09-08T02:50:12Z sjl_ quit (Ping timeout: 260 seconds) 2017-09-08T02:54:43Z sellout- quit (Quit: Leaving.) 2017-09-08T02:55:26Z chens` joined #lisp 2017-09-08T02:56:26Z sellout- joined #lisp 2017-09-08T02:56:30Z rumbler31 joined #lisp 2017-09-08T02:58:54Z chens quit (Ping timeout: 246 seconds) 2017-09-08T02:59:08Z pierpa quit (Quit: Page closed) 2017-09-08T03:05:03Z iqubic_ joined #lisp 2017-09-08T03:05:20Z iqubic_ quit (Remote host closed the connection) 2017-09-08T03:06:00Z mhd quit (Ping timeout: 180 seconds) 2017-09-08T03:06:33Z iqubic quit (Remote host closed the connection) 2017-09-08T03:06:36Z mhd quit (Ping timeout: 248 seconds) 2017-09-08T03:07:50Z nowhere_man quit (Remote host closed the connection) 2017-09-08T03:15:49Z zRecursive quit (Remote host closed the connection) 2017-09-08T03:16:19Z arescorpio joined #lisp 2017-09-08T03:16:59Z mhd joined #lisp 2017-09-08T03:17:02Z JuanDaugherty joined #lisp 2017-09-08T03:18:08Z mhd quit (Quit: Textual IRC Client: www.textualapp.com) 2017-09-08T03:18:08Z mhd quit (Client Quit) 2017-09-08T03:19:42Z safe quit (Quit: Leaving) 2017-09-08T03:23:25Z test1600 joined #lisp 2017-09-08T03:24:26Z nowhere_man joined #lisp 2017-09-08T03:26:51Z JuanDaugherty quit (Quit: Ex Chat) 2017-09-08T03:37:32Z Bicyclidine quit (Ping timeout: 248 seconds) 2017-09-08T03:38:27Z arescorpio quit (Quit: Leaving.) 2017-09-08T03:46:01Z jameser joined #lisp 2017-09-08T03:47:14Z chiyosaki joined #lisp 2017-09-08T03:48:40Z whoman quit (Read error: Connection reset by peer) 2017-09-08T03:48:45Z saki quit (Ping timeout: 240 seconds) 2017-09-08T03:49:31Z whoman joined #lisp 2017-09-08T03:49:34Z jasom: pillton: I meant that any function defined within the same LOAD command can assume that the definitions of all other such functions will not change, which allows for (among other things) inlining 2017-09-08T03:50:29Z brandonz quit (Ping timeout: 255 seconds) 2017-09-08T03:51:24Z chiyosaki quit (Ping timeout: 248 seconds) 2017-09-08T03:52:32Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-08T03:56:44Z schoppenhauer quit (Ping timeout: 248 seconds) 2017-09-08T03:58:28Z schoppenhauer joined #lisp 2017-09-08T03:58:35Z jameser joined #lisp 2017-09-08T04:01:27Z wxie quit (Quit: Bye.) 2017-09-08T04:02:35Z JuanDaugherty joined #lisp 2017-09-08T04:14:40Z vtomole joined #lisp 2017-09-08T04:19:28Z rngoodn joined #lisp 2017-09-08T04:21:29Z orivej quit (Ping timeout: 246 seconds) 2017-09-08T04:23:50Z beach: Good morning everyone! 2017-09-08T04:25:03Z phoe: oho 2017-09-08T04:25:05Z phoe: it's time to sleep 2017-09-08T04:29:11Z elfmacs quit (Ping timeout: 246 seconds) 2017-09-08T04:36:05Z impulse quit (Ping timeout: 240 seconds) 2017-09-08T04:43:32Z impulse joined #lisp 2017-09-08T04:56:46Z FreeBirdLjj joined #lisp 2017-09-08T05:00:57Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-09-08T05:01:39Z dec0n joined #lisp 2017-09-08T05:06:04Z jealousmonk quit (Ping timeout: 248 seconds) 2017-09-08T05:06:32Z Guest24 joined #lisp 2017-09-08T05:06:33Z Guest24 quit (Excess Flood) 2017-09-08T05:09:02Z JuanDaugherty quit (Ping timeout: 260 seconds) 2017-09-08T05:10:12Z JuanDaugherty joined #lisp 2017-09-08T05:10:34Z vtomole quit (Ping timeout: 260 seconds) 2017-09-08T05:10:35Z abrcdbr joined #lisp 2017-09-08T05:10:37Z saki joined #lisp 2017-09-08T05:22:35Z rumbler31 quit (Remote host closed the connection) 2017-09-08T05:23:39Z d4ryus1 is now known as d4ryus 2017-09-08T05:26:23Z test1600 quit (Quit: Leaving) 2017-09-08T05:27:13Z damke_ joined #lisp 2017-09-08T05:27:17Z parjanya quit (Remote host closed the connection) 2017-09-08T05:28:36Z Bock joined #lisp 2017-09-08T05:30:08Z pjb quit (Remote host closed the connection) 2017-09-08T05:33:19Z al-damiri quit (Quit: Connection closed for inactivity) 2017-09-08T05:34:02Z pjb joined #lisp 2017-09-08T05:39:17Z pjb quit (Remote host closed the connection) 2017-09-08T05:39:21Z flamebeard joined #lisp 2017-09-08T05:45:15Z flamebeard quit (Read error: Connection reset by peer) 2017-09-08T05:45:27Z carld quit (Ping timeout: 240 seconds) 2017-09-08T05:46:06Z lambda-11235 quit (Quit: WeeChat 1.9) 2017-09-08T05:46:23Z Karl_Dscc joined #lisp 2017-09-08T05:46:26Z carld joined #lisp 2017-09-08T05:46:26Z flamebeard joined #lisp 2017-09-08T05:51:33Z oleo quit (Quit: irc client terminated!) 2017-09-08T06:02:50Z shka_ joined #lisp 2017-09-08T06:03:09Z BlueRavenGT quit (Ping timeout: 248 seconds) 2017-09-08T06:04:29Z scymtym quit (Ping timeout: 240 seconds) 2017-09-08T06:04:34Z jasom: that joke will get old eventually 2017-09-08T06:05:01Z beach: What joke? 2017-09-08T06:05:36Z jasom: 21:24:25 beach | Good morning everyone! 21:25:41 phoe | it's time to sleep 2017-09-08T06:05:40Z hsu joined #lisp 2017-09-08T06:11:24Z abrcdbr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-08T06:15:18Z carld quit (Ping timeout: 255 seconds) 2017-09-08T06:16:21Z sjl_ joined #lisp 2017-09-08T06:17:14Z Karl_Dscc quit (Remote host closed the connection) 2017-09-08T06:17:37Z mishoo_ joined #lisp 2017-09-08T06:17:37Z flamebeard quit (Quit: Leaving) 2017-09-08T06:18:00Z flamebeard joined #lisp 2017-09-08T06:18:29Z sjl quit (Ping timeout: 240 seconds) 2017-09-08T06:20:08Z angavrilov joined #lisp 2017-09-08T06:26:14Z carenz joined #lisp 2017-09-08T06:27:42Z scymtym joined #lisp 2017-09-08T06:28:11Z shka_: hello 2017-09-08T06:28:25Z beach: Hello shka_. 2017-09-08T06:32:08Z milanj joined #lisp 2017-09-08T06:33:25Z obm joined #lisp 2017-09-08T06:38:01Z dtornabene joined #lisp 2017-09-08T06:38:45Z elfmacs joined #lisp 2017-09-08T06:49:32Z pillton: jasom: I don't think that is right. 2017-09-08T06:49:48Z pillton: jasom: I'll have to look that up later tonight. 2017-09-08T06:50:12Z vypr joined #lisp 2017-09-08T06:51:17Z phoe: jasom: not a joke 2017-09-08T06:51:22Z phoe: I need to go to sleep 2017-09-08T06:58:19Z elfmacs quit (Quit: WeeChat 1.9) 2017-09-08T07:01:49Z hajovonta joined #lisp 2017-09-08T07:03:05Z damke_ quit (Ping timeout: 240 seconds) 2017-09-08T07:03:58Z damke joined #lisp 2017-09-08T07:06:27Z phoe quit (Ping timeout: 240 seconds) 2017-09-08T07:14:24Z damke_ joined #lisp 2017-09-08T07:14:45Z damke quit (Ping timeout: 240 seconds) 2017-09-08T07:15:00Z babalua quit (Quit: babalua) 2017-09-08T07:15:35Z babalua joined #lisp 2017-09-08T07:15:43Z hajovonta quit (Remote host closed the connection) 2017-09-08T07:15:54Z Shinmera: Xach: Are you responsible for https://twitter.com/planet_lisp? Any idea why it hasn't been updating? 2017-09-08T07:16:35Z shka_ quit (Ping timeout: 255 seconds) 2017-09-08T07:19:31Z babalua quit (Client Quit) 2017-09-08T07:20:08Z babalua joined #lisp 2017-09-08T07:30:29Z ralt joined #lisp 2017-09-08T07:32:19Z jasom: clhs 3.2.2.3 2017-09-08T07:32:19Z specbot: Semantic Constraints: http://www.lispworks.com/reference/HyperSpec/Body/03_bbc.htm 2017-09-08T07:32:29Z rngoodn quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-08T07:32:34Z jasom: pillton: see above: "A call within a file to a named function that is defined in the same file refers to that function, unless that function has been declared notinline. The consequences are unspecified if functions are redefined individually at run time or multiply defined in the same file. " 2017-09-08T07:45:59Z varjag joined #lisp 2017-09-08T07:53:53Z carld joined #lisp 2017-09-08T07:58:20Z carld quit (Ping timeout: 248 seconds) 2017-09-08T08:02:22Z yoonkn joined #lisp 2017-09-08T08:05:48Z troydm quit (Ping timeout: 248 seconds) 2017-09-08T08:06:10Z hajovonta joined #lisp 2017-09-08T08:07:05Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-08T08:08:57Z Intensity quit (Remote host closed the connection) 2017-09-08T08:09:43Z jameser joined #lisp 2017-09-08T08:09:58Z dtornabene quit (Ping timeout: 264 seconds) 2017-09-08T08:14:30Z carld joined #lisp 2017-09-08T08:15:24Z milanj quit (Quit: This computer has gone to sleep) 2017-09-08T08:15:58Z anthracite joined #lisp 2017-09-08T08:16:55Z troydm joined #lisp 2017-09-08T08:16:56Z hajovonta: hello 2017-09-08T08:17:54Z hhdave joined #lisp 2017-09-08T08:18:17Z _cosmonaut_ joined #lisp 2017-09-08T08:18:57Z carld quit (Ping timeout: 240 seconds) 2017-09-08T08:24:02Z Intensity joined #lisp 2017-09-08T08:26:28Z nowolfer joined #lisp 2017-09-08T08:32:12Z SaganMan joined #lisp 2017-09-08T08:33:31Z cturner[m] left #lisp 2017-09-08T08:35:09Z carld joined #lisp 2017-09-08T08:39:32Z carld quit (Ping timeout: 240 seconds) 2017-09-08T08:41:56Z BitPuffin|osx quit (Remote host closed the connection) 2017-09-08T08:42:35Z BitPuffin|osx joined #lisp 2017-09-08T08:50:36Z mishoo_ quit (Ping timeout: 248 seconds) 2017-09-08T08:51:44Z SaganMan quit (Quit: WeeChat 1.6) 2017-09-08T08:55:24Z milanj joined #lisp 2017-09-08T08:55:39Z strelox joined #lisp 2017-09-08T08:59:35Z SaganMan joined #lisp 2017-09-08T09:02:34Z beach: Hello hajovonta. 2017-09-08T09:02:34Z dtornabene joined #lisp 2017-09-08T09:04:42Z mishoo_ joined #lisp 2017-09-08T09:05:44Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-09-08T09:06:43Z attila_lendvai joined #lisp 2017-09-08T09:07:27Z jameser joined #lisp 2017-09-08T09:14:25Z hsu quit (Quit: Connection closed for inactivity) 2017-09-08T09:19:43Z drdo joined #lisp 2017-09-08T09:20:54Z troydm quit (Ping timeout: 252 seconds) 2017-09-08T09:21:28Z hjudt: Shinmera: now i stumbled over a severe problem: https://pastebin.com/ASPEKZ5D 2017-09-08T09:22:18Z hjudt: paste this into a .ctml template and view it in the browser. then paste it into a html file and view it in the browser. notice what it does to the in the javascript code? 2017-09-08T09:22:53Z hjudt: i mean view the ctml in the browser after it has been processed by radiance... 2017-09-08T09:23:35Z redeemed joined #lisp 2017-09-08T09:23:40Z hjudt: in a nutshell: r-clip somehow interferes with the jquery .html() so that it is no longer possible to add tags via javascript. 2017-09-08T09:24:14Z daniel-s joined #lisp 2017-09-08T09:24:33Z hjudt: actually i believe it not to be a problem with jquery but any strings that contain html tags in javascript... 2017-09-08T09:26:24Z hjudt: another minor problem: if i omit the xmlns as i am allowed to in html5, then firefox will show me the dom structure instead of rendering the page. 2017-09-08T09:26:39Z shrdlu68 quit (Quit: Lost terminal) 2017-09-08T09:30:22Z mishoo_ quit (Ping timeout: 264 seconds) 2017-09-08T09:30:55Z hjudt: actually this may not be a problem with clip, because manually processing it (clip:process-to-string...) doesn't cause this 2017-09-08T09:32:23Z marvin2 joined #lisp 2017-09-08T09:32:31Z Shinmera: hjudt: Plump by default serialises everything as XHTML. You need to emit the proper content-type header. 2017-09-08T09:32:47Z Shinmera: Or rather, it serialises as XML, so in effect XHTML 2017-09-08T09:34:01Z hjudt: if i download the file via wget, then all seems correct. if i load it in the browser, it doesn't work. 2017-09-08T09:34:10Z hjudt: (for the first problem) 2017-09-08T09:34:38Z hjudt: where can i set a default content type header? 2017-09-08T09:35:20Z Shinmera: If you're using r-clip, it should set that header for you. 2017-09-08T09:35:51Z hjudt: i do 2017-09-08T09:37:26Z Shinmera: If I (plump:serialize (r-clip:process #p"test.ctml")) The file looks just fine. 2017-09-08T09:37:46Z hjudt: yet omitting xmlns in the template makes the browser show the dom tree instead of the rendered page 2017-09-08T09:38:17Z Shinmera: Well yes. Without an xml namespace, the xml document can't be rendered. 2017-09-08T09:39:40Z hjudt: ok. is there a way to not render it as an xml document, that is as html5? 2017-09-08T09:40:32Z Shinmera: No. 2017-09-08T09:40:34Z Shinmera: Besides, why? 2017-09-08T09:40:38Z shrdlu68 joined #lisp 2017-09-08T09:41:36Z arbv quit (Quit: ZNC - http://znc.in) 2017-09-08T09:42:44Z arbv joined #lisp 2017-09-08T09:44:31Z Shinmera: I don't know what you mean by "notice what it does to the ?" It doesn't seem to do anything at all with it from what I can see. 2017-09-08T09:45:44Z hjudt: mistake on my behalf. clip works correctly, but when i view the page served by radiance in the browser, then the ... does not get printed. 2017-09-08T09:46:09Z hjudt: that is, only XXX is printed, everything enclosed by the tags is not. 2017-09-08T09:46:38Z hjudt: but saving the file to disk, then opening it in the browser makes it render fine. 2017-09-08T09:46:42Z hjudt: radiance problem? 2017-09-08T09:47:45Z hjudt: however, if i use html entities <b>...</b> it works fine when served by radiance too. 2017-09-08T09:47:58Z hjudt: can you reproduce this? 2017-09-08T09:48:39Z Shinmera: It's not a fault of Radiance. The emitted page source is not transformed in anyway. 2017-09-08T09:48:57Z hjudt: server setup problem? 2017-09-08T09:49:05Z Shinmera: No, a browser problem. 2017-09-08T09:49:17Z hjudt: both opera and firefox have this problem. 2017-09-08T09:49:29Z Shinmera: It seems that it does not consider sub-elements in script tags as part of the script. 2017-09-08T09:49:44Z Shinmera: As in, script tags are not treated as fulltext nodes. 2017-09-08T09:50:09Z hjudt: but why does it work when opening the file from disk? 2017-09-08T09:50:42Z Shinmera: Because it probably doesn't treat it like real XML. 2017-09-08T09:50:54Z Shinmera: Since there's no content-type header to go by for a file. 2017-09-08T09:51:01Z elfmacs joined #lisp 2017-09-08T09:51:34Z Shinmera: https://developer.mozilla.org/en-US/docs/Archive/Web/Writing_JavaScript_for_HTML 2017-09-08T09:52:16Z Shinmera: Generally: 1. don't write inline JS 2. if you do, either escape special characters or use CDATA 2017-09-08T09:52:30Z Shinmera: But still you'll probably want to do 1. 2017-09-08T09:53:40Z hjudt: i've placed this file (see pastebin) on an apache web server and there it works fine. 2017-09-08T09:53:53Z Shinmera: Because the webserver doesn't emit the content-type tag. 2017-09-08T09:53:59Z arbv quit (Ping timeout: 255 seconds) 2017-09-08T09:54:09Z Shinmera: If you output XHTML with the text/html standard content-type you'll run into other problems before long. 2017-09-08T09:55:22Z Shinmera: You either have to stick with XHTML all the way, or HTML all the way. Unfortunately, only XHTML is really supported by Clip/Plump right now. 2017-09-08T09:55:29Z arbv joined #lisp 2017-09-08T09:55:58Z hjudt: 2 works, so i could probably do 1 too. 2017-09-08T09:56:40Z Shinmera: The reason why you don't want to write inline JS is because it doesn't cache well. You'll also want to place your scripts before the closing . 2017-09-08T09:56:54Z Shinmera: So that the DOM can start rendering and doesn't have to wait for your scripts to load. 2017-09-08T09:57:48Z hjudt: i've only started with it, so i haven't decided on the file/directory layout anyway 2017-09-08T09:58:30Z hjudt: i am not sure if it is better to use html5 than xhtml. probably only if using some of that media stuff. 2017-09-08T09:58:52Z Shinmera: You can use XHTML5. 2017-09-08T10:00:27Z Shinmera: Anyway, if you want to use JS files with Clip, just place the file in the static/ folder and use