2017-12-01T00:13:30Z damke joined #lisp 2017-12-01T00:15:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T00:15:44Z Walex: Zhivago: in the discussion above you have referred to "cell". In Common Lisp that is a "slot", which maps pretty closely to the C notion of 'l-value' (and indeed it is as a rule implemented as an 'l-value'). The "value" slot of a symbol, or the "CAR" and "CDR" slots of "CONS" values, are all "slots", that is have the same semantics as l-values, or "anonymous variables". Because of legacy reasons the relevant sections of CLHS are written with poor terminology an 2017-12-01T00:16:22Z damke_ joined #lisp 2017-12-01T00:18:58Z damke__ joined #lisp 2017-12-01T00:19:01Z damke quit (Ping timeout: 240 seconds) 2017-12-01T00:19:51Z cromachina joined #lisp 2017-12-01T00:20:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T00:26:59Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-01T00:29:55Z Ven`` joined #lisp 2017-12-01T00:30:32Z margeas quit (Ping timeout: 240 seconds) 2017-12-01T00:31:54Z groovy2shoes quit (Quit: Leaving) 2017-12-01T00:31:59Z brendyn joined #lisp 2017-12-01T00:32:11Z raphaelss quit (Ping timeout: 240 seconds) 2017-12-01T00:32:49Z neoncontrails joined #lisp 2017-12-01T00:34:12Z jameser joined #lisp 2017-12-01T00:42:59Z astronavt joined #lisp 2017-12-01T00:45:22Z fikka quit (Ping timeout: 260 seconds) 2017-12-01T00:47:50Z astronavt quit (Ping timeout: 255 seconds) 2017-12-01T00:49:02Z k-stz quit (Remote host closed the connection) 2017-12-01T00:55:14Z aeth: Walex: your line cut off after "poor terminology an" 2017-12-01T00:55:33Z Zhivago: Walex: Sorry -- did you ever get around to the bit which has a point to it? 2017-12-01T00:55:38Z aeth: (it's a design flaw of IRC to (1) cut off at an arbitrary point that depends on your nick and the IRC server and (2) not provide any way of knowing that it cut off) 2017-12-01T00:56:21Z Zhivago: Also I didn't refer to "cell" -- you seem to be confused. 2017-12-01T00:56:39Z borei joined #lisp 2017-12-01T00:57:56Z mson joined #lisp 2017-12-01T00:58:33Z quazimodo quit (Ping timeout: 268 seconds) 2017-12-01T00:58:43Z aeth: You're correct that the terminology in CLHS is odd at points. That's not particularly specific to CL, though. Every language has its own, incompatible terminology quirks and it's easy to say the wrong thing if you talk about it to a different language community. Even Scheme uses different words for almost identical concepts as CL (and Scheme is as close as you're going to CL in mainstream languages except elisp) 2017-12-01T00:59:07Z quazimodo joined #lisp 2017-12-01T00:59:34Z Zhivago: Is that Walex's point -- that the terminology is odd? 2017-12-01T00:59:40Z aeth: What's a "list"? A "vector"? An "array"? A "string"? etc. Depends on the language. 2017-12-01T00:59:49Z aeth: Zhivago: I think Walex's point is that CL's terminology is incorrect and dated. 2017-12-01T01:01:16Z Zhivago: I don't know -- he was going on in some confused fashion about variable bindings earlier. 2017-12-01T01:01:28Z Zhivago: I'm not sure that he's caught up to lexical bindings yet. 2017-12-01T01:01:31Z damke joined #lisp 2017-12-01T01:02:36Z prxq quit (Remote host closed the connection) 2017-12-01T01:04:01Z damke__ quit (Ping timeout: 240 seconds) 2017-12-01T01:06:17Z turkja joined #lisp 2017-12-01T01:06:41Z damke quit (Ping timeout: 240 seconds) 2017-12-01T01:09:58Z zachk quit (Quit: night) 2017-12-01T01:12:29Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-01T01:14:26Z __paul0 quit (Quit: Leaving) 2017-12-01T01:14:33Z paul0 joined #lisp 2017-12-01T01:16:37Z Ven`` joined #lisp 2017-12-01T01:19:30Z fikka joined #lisp 2017-12-01T01:20:33Z igemnace joined #lisp 2017-12-01T01:22:11Z Jesin joined #lisp 2017-12-01T01:24:22Z sz0 joined #lisp 2017-12-01T01:24:27Z fikka quit (Ping timeout: 268 seconds) 2017-12-01T01:25:38Z dieggsy joined #lisp 2017-12-01T01:29:14Z damke joined #lisp 2017-12-01T01:38:50Z cpt_nemo joined #lisp 2017-12-01T01:43:45Z astronavt joined #lisp 2017-12-01T01:46:20Z vancan1ty quit (Ping timeout: 255 seconds) 2017-12-01T01:48:12Z astronavt quit (Ping timeout: 240 seconds) 2017-12-01T01:50:00Z danieli quit (Remote host closed the connection) 2017-12-01T01:57:19Z karswell joined #lisp 2017-12-01T02:01:32Z dieggsy quit (Remote host closed the connection) 2017-12-01T02:01:32Z Aaryn quit (Read error: Connection reset by peer) 2017-12-01T02:02:56Z asarch joined #lisp 2017-12-01T02:05:47Z damke_ joined #lisp 2017-12-01T02:06:29Z rm8 quit (Quit: i slep) 2017-12-01T02:07:17Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-01T02:07:57Z eSVG joined #lisp 2017-12-01T02:08:01Z damke quit (Ping timeout: 240 seconds) 2017-12-01T02:08:37Z damke joined #lisp 2017-12-01T02:10:35Z damke__ joined #lisp 2017-12-01T02:10:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T02:12:58Z amer joined #lisp 2017-12-01T02:13:01Z damke quit (Ping timeout: 240 seconds) 2017-12-01T02:13:07Z angavrilov joined #lisp 2017-12-01T02:13:27Z clog_ joined #lisp 2017-12-01T02:13:32Z libre-ma1 joined #lisp 2017-12-01T02:15:01Z Oladon1 joined #lisp 2017-12-01T02:15:56Z orivej_ joined #lisp 2017-12-01T02:18:12Z quazimod1 joined #lisp 2017-12-01T02:18:14Z nyef` joined #lisp 2017-12-01T02:18:31Z impulse- joined #lisp 2017-12-01T02:19:01Z pareidolia_ joined #lisp 2017-12-01T02:20:33Z dotcra joined #lisp 2017-12-01T02:21:12Z libre-man quit (Ping timeout: 248 seconds) 2017-12-01T02:21:12Z angavrilov_ quit (Read error: Connection reset by peer) 2017-12-01T02:21:14Z cess11_ joined #lisp 2017-12-01T02:21:21Z rumbler31 joined #lisp 2017-12-01T02:22:16Z igemnace_ joined #lisp 2017-12-01T02:22:40Z igemnace quit (*.net *.split) 2017-12-01T02:22:40Z quazimodo quit (*.net *.split) 2017-12-01T02:22:40Z orivej quit (*.net *.split) 2017-12-01T02:22:40Z clog quit (*.net *.split) 2017-12-01T02:22:40Z davsebamse quit (*.net *.split) 2017-12-01T02:22:40Z amerlyq quit (*.net *.split) 2017-12-01T02:22:41Z borodust quit (*.net *.split) 2017-12-01T02:22:41Z impulse quit (*.net *.split) 2017-12-01T02:22:41Z terpri quit (*.net *.split) 2017-12-01T02:22:41Z Oladon quit (*.net *.split) 2017-12-01T02:22:41Z pok quit (*.net *.split) 2017-12-01T02:22:41Z ryan_vw quit (*.net *.split) 2017-12-01T02:22:41Z NaNDude quit (*.net *.split) 2017-12-01T02:22:41Z nyef quit (*.net *.split) 2017-12-01T02:22:42Z zagura quit (*.net *.split) 2017-12-01T02:22:42Z christoph_debian quit (*.net *.split) 2017-12-01T02:22:42Z cess11 quit (*.net *.split) 2017-12-01T02:22:42Z butterthebuddha quit (*.net *.split) 2017-12-01T02:22:42Z pareidolia quit (*.net *.split) 2017-12-01T02:22:42Z ineiros_ quit (*.net *.split) 2017-12-01T02:22:42Z dotc quit (*.net *.split) 2017-12-01T02:22:42Z ck_ quit (*.net *.split) 2017-12-01T02:22:42Z pareidolia_ is now known as pareidolia 2017-12-01T02:22:44Z clog_ is now known as clog 2017-12-01T02:22:57Z zagura joined #lisp 2017-12-01T02:22:58Z zagura quit (Changing host) 2017-12-01T02:22:58Z zagura joined #lisp 2017-12-01T02:23:12Z butterthebuddha joined #lisp 2017-12-01T02:23:41Z terpri joined #lisp 2017-12-01T02:25:00Z igemnace_ is now known as igemnace 2017-12-01T02:25:21Z damke__ quit (Ping timeout: 240 seconds) 2017-12-01T02:26:00Z christoph_debian joined #lisp 2017-12-01T02:26:52Z dwts quit (Ping timeout: 260 seconds) 2017-12-01T02:26:57Z Tordek quit (Ping timeout: 240 seconds) 2017-12-01T02:27:04Z Josh_2 joined #lisp 2017-12-01T02:27:22Z damke__ joined #lisp 2017-12-01T02:27:44Z pok joined #lisp 2017-12-01T02:27:44Z ineiros joined #lisp 2017-12-01T02:27:44Z davsebamse joined #lisp 2017-12-01T02:27:44Z borodust joined #lisp 2017-12-01T02:27:44Z ryan_vw joined #lisp 2017-12-01T02:27:44Z NaNDude joined #lisp 2017-12-01T02:27:44Z ck_ joined #lisp 2017-12-01T02:28:47Z Tordek joined #lisp 2017-12-01T02:31:49Z yain- joined #lisp 2017-12-01T02:34:27Z yain quit (Ping timeout: 240 seconds) 2017-12-01T02:44:29Z astronavt joined #lisp 2017-12-01T02:44:46Z quazimod1 quit (Ping timeout: 264 seconds) 2017-12-01T02:49:14Z astronavt quit (Ping timeout: 258 seconds) 2017-12-01T02:49:27Z vap1 quit (Ping timeout: 240 seconds) 2017-12-01T02:54:43Z internet1cafe: hi 2017-12-01T02:57:49Z loke: Hello 2017-12-01T02:58:06Z _cosmonaut_ joined #lisp 2017-12-01T03:06:01Z dddddd quit (Remote host closed the connection) 2017-12-01T03:07:30Z fikka joined #lisp 2017-12-01T03:07:42Z mson quit (Quit: Connection closed for inactivity) 2017-12-01T03:11:57Z fikka quit (Ping timeout: 240 seconds) 2017-12-01T03:25:39Z dwts joined #lisp 2017-12-01T03:27:20Z pmc_ joined #lisp 2017-12-01T03:28:37Z terpri quit (Remote host closed the connection) 2017-12-01T03:29:10Z pmc_ quit (Client Quit) 2017-12-01T03:38:16Z bkst quit (Ping timeout: 268 seconds) 2017-12-01T03:41:49Z mson joined #lisp 2017-12-01T03:45:17Z astronavt joined #lisp 2017-12-01T03:47:32Z sjl joined #lisp 2017-12-01T03:49:07Z jack_rabbit quit (Ping timeout: 260 seconds) 2017-12-01T03:50:47Z astronavt quit (Ping timeout: 276 seconds) 2017-12-01T03:51:53Z sjl quit (Ping timeout: 250 seconds) 2017-12-01T03:54:00Z Firedancer quit (Ping timeout: 246 seconds) 2017-12-01T04:01:14Z Firedancer joined #lisp 2017-12-01T04:01:51Z fikka joined #lisp 2017-12-01T04:02:10Z asarch quit (Ping timeout: 264 seconds) 2017-12-01T04:03:21Z damke__ quit (Ping timeout: 240 seconds) 2017-12-01T04:05:16Z damke__ joined #lisp 2017-12-01T04:06:05Z fikka quit (Ping timeout: 240 seconds) 2017-12-01T04:07:21Z damke joined #lisp 2017-12-01T04:07:36Z milanj_ quit (Quit: This computer has gone to sleep) 2017-12-01T04:09:45Z damke__ quit (Ping timeout: 246 seconds) 2017-12-01T04:10:28Z jack_rabbit joined #lisp 2017-12-01T04:10:48Z damke_ joined #lisp 2017-12-01T04:13:21Z damke quit (Ping timeout: 240 seconds) 2017-12-01T04:17:00Z beach: Good morning everyone! 2017-12-01T04:17:51Z bkst joined #lisp 2017-12-01T04:20:18Z loke: Hello Beach! 2017-12-01T04:20:37Z jack_rabbit quit (Ping timeout: 260 seconds) 2017-12-01T04:20:43Z jack_rabbit_ joined #lisp 2017-12-01T04:21:19Z Josh_2 quit (Remote host closed the connection) 2017-12-01T04:32:29Z raphaelss joined #lisp 2017-12-01T04:34:33Z damke joined #lisp 2017-12-01T04:36:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T04:39:21Z damke quit (Ping timeout: 240 seconds) 2017-12-01T04:41:46Z orivej_ quit (Ping timeout: 264 seconds) 2017-12-01T04:46:15Z astronavt joined #lisp 2017-12-01T04:47:18Z Arcaelyx quit (Quit: Textual IRC Client: www.textualapp.com) 2017-12-01T04:50:06Z Bike quit (Quit: Lost terminal) 2017-12-01T04:50:42Z astronavt quit (Ping timeout: 246 seconds) 2017-12-01T04:51:38Z alexmlw joined #lisp 2017-12-01T04:55:54Z d4ryus joined #lisp 2017-12-01T04:56:00Z fikka joined #lisp 2017-12-01T04:56:25Z shka joined #lisp 2017-12-01T05:00:49Z fikka quit (Ping timeout: 248 seconds) 2017-12-01T05:08:16Z fortitude quit (Quit: Leaving) 2017-12-01T05:11:24Z nonlinear joined #lisp 2017-12-01T05:11:48Z orivej joined #lisp 2017-12-01T05:18:27Z marusich joined #lisp 2017-12-01T05:18:35Z jack_rabbit_ is now known as jack_rabbit 2017-12-01T05:21:43Z damke joined #lisp 2017-12-01T05:25:34Z wigust joined #lisp 2017-12-01T05:28:34Z madrik joined #lisp 2017-12-01T05:44:48Z butterthebuddha quit (Max SendQ exceeded) 2017-12-01T05:46:37Z butterthebuddha joined #lisp 2017-12-01T05:47:00Z astronavt joined #lisp 2017-12-01T05:48:33Z jstoddard quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-12-01T05:51:32Z mson quit (Quit: Connection closed for inactivity) 2017-12-01T05:51:36Z astronavt quit (Ping timeout: 246 seconds) 2017-12-01T05:57:46Z Jesin quit (Quit: Leaving) 2017-12-01T06:00:10Z Jen joined #lisp 2017-12-01T06:00:34Z Jen is now known as Guest34941 2017-12-01T06:03:30Z SuperJen quit (Ping timeout: 246 seconds) 2017-12-01T06:10:43Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-01T06:11:17Z quazimodo joined #lisp 2017-12-01T06:12:49Z zmt00 quit (Quit: Leaving) 2017-12-01T06:12:52Z jameser joined #lisp 2017-12-01T06:22:25Z LocaMocha joined #lisp 2017-12-01T06:26:48Z grublet quit (Quit: Leaving) 2017-12-01T06:27:03Z Arcaelyx joined #lisp 2017-12-01T06:27:08Z grublet joined #lisp 2017-12-01T06:33:44Z josh5tone quit (Ping timeout: 252 seconds) 2017-12-01T06:34:45Z milanj_ joined #lisp 2017-12-01T06:37:41Z damke quit (Ping timeout: 240 seconds) 2017-12-01T06:39:00Z damke joined #lisp 2017-12-01T06:39:16Z Karl_Dscc joined #lisp 2017-12-01T06:40:01Z oleo quit (Quit: Leaving) 2017-12-01T06:40:53Z _cosmonaut_ quit (Ping timeout: 250 seconds) 2017-12-01T06:43:56Z fikka joined #lisp 2017-12-01T06:44:51Z josh5tone joined #lisp 2017-12-01T06:45:41Z damke quit (Ping timeout: 240 seconds) 2017-12-01T06:47:46Z astronavt joined #lisp 2017-12-01T06:48:19Z damke joined #lisp 2017-12-01T06:48:44Z fikka quit (Ping timeout: 255 seconds) 2017-12-01T06:49:38Z quazimodo quit (Ping timeout: 255 seconds) 2017-12-01T06:51:46Z flamebeard joined #lisp 2017-12-01T06:52:26Z astronavt quit (Ping timeout: 252 seconds) 2017-12-01T06:56:03Z raphaelss quit (Remote host closed the connection) 2017-12-01T06:58:35Z neoncontrails quit (Remote host closed the connection) 2017-12-01T07:01:25Z vlatkoB joined #lisp 2017-12-01T07:04:26Z yurinew joined #lisp 2017-12-01T07:04:30Z yurinew is now known as naf 2017-12-01T07:04:44Z naf quit (Changing host) 2017-12-01T07:04:44Z naf joined #lisp 2017-12-01T07:06:04Z naf is now known as jw 2017-12-01T07:07:32Z dec0n joined #lisp 2017-12-01T07:10:47Z scymtym quit (Ping timeout: 255 seconds) 2017-12-01T07:11:19Z Karl_Dscc quit (Remote host closed the connection) 2017-12-01T07:20:47Z marusich quit (Quit: Leaving) 2017-12-01T07:20:59Z varjag joined #lisp 2017-12-01T07:23:36Z sjl joined #lisp 2017-12-01T07:27:56Z damke_ joined #lisp 2017-12-01T07:28:01Z sjl quit (Ping timeout: 248 seconds) 2017-12-01T07:30:23Z damke quit (Ping timeout: 252 seconds) 2017-12-01T07:31:02Z neoncontrails joined #lisp 2017-12-01T07:33:49Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-01T07:36:09Z juki joined #lisp 2017-12-01T07:36:31Z jameser joined #lisp 2017-12-01T07:37:15Z Guest34941 quit (Remote host closed the connection) 2017-12-01T07:37:39Z Guest34941 joined #lisp 2017-12-01T07:38:25Z SuperJen joined #lisp 2017-12-01T07:38:30Z fikka joined #lisp 2017-12-01T07:39:55Z greaser|q quit (Changing host) 2017-12-01T07:39:55Z greaser|q joined #lisp 2017-12-01T07:39:58Z greaser|q is now known as GreaseMonkey 2017-12-01T07:41:50Z Guest34941 quit (Ping timeout: 255 seconds) 2017-12-01T07:42:07Z damke joined #lisp 2017-12-01T07:43:11Z fikka quit (Ping timeout: 255 seconds) 2017-12-01T07:43:36Z Jen joined #lisp 2017-12-01T07:43:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T07:43:59Z Jen is now known as Guest78748 2017-12-01T07:46:58Z vap1 joined #lisp 2017-12-01T07:46:58Z vaporatorius joined #lisp 2017-12-01T07:46:58Z vaporatorius quit (Changing host) 2017-12-01T07:46:58Z vaporatorius joined #lisp 2017-12-01T07:47:14Z SuperJen quit (Ping timeout: 255 seconds) 2017-12-01T07:47:46Z CrazyEddy quit (Remote host closed the connection) 2017-12-01T07:48:31Z astronavt joined #lisp 2017-12-01T07:50:01Z damke quit (Ping timeout: 240 seconds) 2017-12-01T07:50:19Z BitPuffin|osx joined #lisp 2017-12-01T07:51:14Z yeticry_ joined #lisp 2017-12-01T07:52:01Z shka quit (Ping timeout: 248 seconds) 2017-12-01T07:52:38Z madrik quit (Remote host closed the connection) 2017-12-01T07:53:13Z astronavt quit (Ping timeout: 258 seconds) 2017-12-01T07:53:32Z bkst quit (Ping timeout: 240 seconds) 2017-12-01T07:53:59Z yeticry quit (Ping timeout: 258 seconds) 2017-12-01T07:54:41Z varjag quit (Ping timeout: 248 seconds) 2017-12-01T07:56:55Z quazimodo joined #lisp 2017-12-01T07:58:43Z vlatkoB quit (Remote host closed the connection) 2017-12-01T07:59:00Z Cymew joined #lisp 2017-12-01T07:59:29Z jw is now known as naf 2017-12-01T08:00:02Z vlatkoB joined #lisp 2017-12-01T08:01:57Z Ven`` joined #lisp 2017-12-01T08:02:09Z bkst joined #lisp 2017-12-01T08:08:33Z hajovonta: hello beach! 2017-12-01T08:12:35Z fikka joined #lisp 2017-12-01T08:17:12Z neoncontrails quit 2017-12-01T08:18:53Z neoncontrails joined #lisp 2017-12-01T08:23:19Z varjag joined #lisp 2017-12-01T08:24:38Z knobo joined #lisp 2017-12-01T08:25:06Z raphaelss joined #lisp 2017-12-01T08:28:02Z Ven` joined #lisp 2017-12-01T08:28:03Z Ven`` quit (Read error: Connection reset by peer) 2017-12-01T08:30:55Z sz0 quit (Quit: Connection closed for inactivity) 2017-12-01T08:31:26Z Ven` quit (Client Quit) 2017-12-01T08:31:38Z _cosmonaut_ joined #lisp 2017-12-01T08:34:07Z vivek quit (Ping timeout: 248 seconds) 2017-12-01T08:34:24Z scymtym joined #lisp 2017-12-01T08:36:20Z vap1 quit (Quit: Leaving) 2017-12-01T08:48:22Z nirved joined #lisp 2017-12-01T08:49:16Z astronavt joined #lisp 2017-12-01T08:51:08Z nowhere_man quit (Ping timeout: 255 seconds) 2017-12-01T08:51:11Z quazimodo quit (Ping timeout: 248 seconds) 2017-12-01T08:53:13Z phoe: morning everyone 2017-12-01T08:53:51Z drdo: morning 2017-12-01T08:53:59Z astronavt quit (Ping timeout: 252 seconds) 2017-12-01T08:57:18Z Ven`` joined #lisp 2017-12-01T08:57:22Z pjb quit (Ping timeout: 264 seconds) 2017-12-01T09:04:01Z BitPuffin|osx quit (Ping timeout: 248 seconds) 2017-12-01T09:05:26Z HDurer quit (Remote host closed the connection) 2017-12-01T09:07:45Z fikka quit (Ping timeout: 248 seconds) 2017-12-01T09:07:54Z quazimodo joined #lisp 2017-12-01T09:09:45Z hhdave joined #lisp 2017-12-01T09:12:45Z milanj_ quit (Quit: Leaving) 2017-12-01T09:13:25Z neoncontrails quit (Remote host closed the connection) 2017-12-01T09:14:01Z hhdave quit (Ping timeout: 240 seconds) 2017-12-01T09:15:35Z naf quit (Ping timeout: 250 seconds) 2017-12-01T09:15:55Z neoncontrails joined #lisp 2017-12-01T09:19:51Z DeadTrickster joined #lisp 2017-12-01T09:22:14Z resttime joined #lisp 2017-12-01T09:23:54Z pjb joined #lisp 2017-12-01T09:24:28Z yurinew joined #lisp 2017-12-01T09:25:05Z yurinew quit (K-Lined) 2017-12-01T09:26:21Z turkja quit (Ping timeout: 240 seconds) 2017-12-01T09:28:15Z pjb quit (Ping timeout: 246 seconds) 2017-12-01T09:30:27Z nowhere_man joined #lisp 2017-12-01T09:30:32Z lerax joined #lisp 2017-12-01T09:30:53Z hajovonta: hi phoe 2017-12-01T09:31:13Z EvW1 joined #lisp 2017-12-01T09:32:22Z resttime: Is it possible to connect to a lisp REPL on a device where you can only talk with it via a serial connection? 2017-12-01T09:33:25Z loke: resttime: Yes. 2017-12-01T09:33:38Z loke: resttime: You have to simply tunnel somehow. 2017-12-01T09:33:47Z loke: You could, for example set up PPP 2017-12-01T09:34:03Z loke: I'm sure there are way of tunneling a serial connection over TCP as well 2017-12-01T09:34:29Z loke: And by "tunnel". I mean "expose" 2017-12-01T09:35:47Z EvW1 quit (Ping timeout: 252 seconds) 2017-12-01T09:37:02Z phoe quit (Ping timeout: 255 seconds) 2017-12-01T09:38:53Z damke_ joined #lisp 2017-12-01T09:39:01Z phoe joined #lisp 2017-12-01T09:39:39Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-01T09:40:07Z turkja joined #lisp 2017-12-01T09:40:23Z resttime: Hmmm, I guess to double check: Suupose there's an embedded ARM system like raspberry pi but can only have a single serial connection to communicate to it with something like 'screen /dev/ttyUSB0' (not SSH). THere is a way to connect on a computer with SLIME to the swank server that a lisp is running on this device? 2017-12-01T09:41:44Z resttime: Never done something like this except SSH tunneling, so I suppose this is fairly new to me. 2017-12-01T09:43:21Z phoe: resttime: tunnel SSH, that'll be the easiest. 2017-12-01T09:43:48Z epicsaga joined #lisp 2017-12-01T09:44:50Z resttime: phoe: I don't think the device has that capability which is why I'm kinda stuck 2017-12-01T09:45:12Z resttime: Errr, for the device I'm thinking about doing this with that is 2017-12-01T09:45:32Z loke: Extending SLIME to support communication over serial should be trivial. 2017-12-01T09:47:15Z frob joined #lisp 2017-12-01T09:47:39Z frob is now known as Guest32558 2017-12-01T09:50:02Z astronavt joined #lisp 2017-12-01T09:50:23Z White_Flame quit (Ping timeout: 248 seconds) 2017-12-01T09:50:41Z White_Flame joined #lisp 2017-12-01T09:50:54Z jdz: There are "protocols" to multiplex a serial line, for instance XMODEM for file transfer. 2017-12-01T09:52:44Z resttime: Hmmm, I'm probably going to have a lot of research to do. Completely new stuff to me. 2017-12-01T09:53:41Z jdz: Yes, I just finished reading "UNIX-HATERS Handbook", which states that the stuff from 1980ies should still work today. 2017-12-01T09:54:05Z loke: jdz: It does, if you use Unix :-) 2017-12-01T09:54:57Z resttime: I was hoping there would be some kind of simple way to just do "SSH tunneling port but with a serial connection" 2017-12-01T09:55:02Z astronavt quit (Ping timeout: 255 seconds) 2017-12-01T09:55:05Z jdz: I've had to poke around with stty and whatnot on OSX to get some stuff working, and I did manage to get it working, so I bet the stuff still works. 2017-12-01T09:56:22Z resttime: I suppose topics I should be looking into then is PPP and multiplexing protocols 2017-12-01T09:56:48Z jdz: And terminal emulation (welcome to the world of hurt!). 2017-12-01T09:57:02Z jdz: Maybe s/terminal/console. 2017-12-01T09:57:47Z Zhivago: Linux tun/tap should be easy to run over serial. 2017-12-01T09:58:53Z resttime: Yeah, it's that 'screen /dev/ttyUSB0' can drop me into a busybox shell on the device and I was wondering if I could do the stuff I would do if I used like SSH on tunneling the swank server port 2017-12-01T10:00:14Z Zhivago: Well, you could if you ran a network over that serial line. 2017-12-01T10:00:40Z Zhivago: Otherwise you might need to think about it more. 2017-12-01T10:01:11Z d4ryus: Are you able to start a swank instance listening on a local port? or is there no network at all? 2017-12-01T10:01:46Z phoe: d4ryus: if he had network, he wouldn't need to use serial I guess. 2017-12-01T10:02:01Z juki quit (Quit: ERC (IRC client for Emacs 25.3.1)) 2017-12-01T10:03:55Z d4ryus: i had a broken ethernet on my pi and no wifi available. But i was able to start swank and then tunnel stuff via usb terminal and netcat. Was quite a hack yes, but it worked 2017-12-01T10:04:01Z fikka joined #lisp 2017-12-01T10:04:53Z HDurer joined #lisp 2017-12-01T10:04:53Z HDurer quit (Changing host) 2017-12-01T10:04:53Z HDurer joined #lisp 2017-12-01T10:07:07Z resttime: Hmmmm, that's reassuring to know. I suppose I will also try and explore whether it's possible to enable networking. I've so far assumed it wasn't because connections with the device have been only serial with the screen utility and I would imagine people would want to switch to something better if they could (hence conclusion that couldn't) 2017-12-01T10:07:51Z resttime: Like I remember someone mentioning using zmodem to get files from the device. 2017-12-01T10:08:02Z resttime: Then they found out that screen could do it too 2017-12-01T10:10:53Z resttime: This unix connections stuff is so far kinda an anomaly to me 2017-12-01T10:11:44Z White_Flame quit (Quit: No Ping reply in 180 seconds.) 2017-12-01T10:12:00Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-12-01T10:12:07Z dddddd joined #lisp 2017-12-01T10:14:06Z White_Flame joined #lisp 2017-12-01T10:15:25Z epicsaga quit (Read error: Connection reset by peer) 2017-12-01T10:17:19Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-01T10:17:50Z DeadTrickster joined #lisp 2017-12-01T10:22:11Z CrazyEddy joined #lisp 2017-12-01T10:22:38Z thinkpad quit (Read error: Connection reset by peer) 2017-12-01T10:25:28Z thinkpad joined #lisp 2017-12-01T10:30:06Z hexfive quit (Quit: WeeChat 1.9.1) 2017-12-01T10:34:33Z damke joined #lisp 2017-12-01T10:35:04Z thinkpad quit (Read error: Connection reset by peer) 2017-12-01T10:35:28Z thinkpad joined #lisp 2017-12-01T10:36:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T10:37:36Z Ven`` joined #lisp 2017-12-01T10:38:45Z Niac_ quit (Read error: Connection reset by peer) 2017-12-01T10:38:55Z Niac joined #lisp 2017-12-01T10:42:20Z Ven`` quit (Client Quit) 2017-12-01T10:43:38Z shifty quit (Ping timeout: 255 seconds) 2017-12-01T10:45:29Z eSVG quit (Ping timeout: 276 seconds) 2017-12-01T10:48:30Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-01T10:51:01Z astronavt joined #lisp 2017-12-01T10:51:20Z Tobbi joined #lisp 2017-12-01T10:54:23Z dmiles quit (Ping timeout: 250 seconds) 2017-12-01T10:55:45Z astronavt quit (Ping timeout: 246 seconds) 2017-12-01T10:58:45Z Ven`` joined #lisp 2017-12-01T10:59:38Z sjl joined #lisp 2017-12-01T10:59:45Z dmiles joined #lisp 2017-12-01T11:01:39Z damke_ joined #lisp 2017-12-01T11:01:57Z orivej quit (Ping timeout: 260 seconds) 2017-12-01T11:02:12Z m00natic joined #lisp 2017-12-01T11:03:21Z damke quit (Ping timeout: 240 seconds) 2017-12-01T11:03:59Z sjl quit (Ping timeout: 248 seconds) 2017-12-01T11:04:17Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-01T11:07:35Z damke joined #lisp 2017-12-01T11:09:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T11:09:24Z juki joined #lisp 2017-12-01T11:15:28Z damke_ joined #lisp 2017-12-01T11:16:22Z juki left #lisp 2017-12-01T11:17:21Z damke quit (Ping timeout: 240 seconds) 2017-12-01T11:20:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T11:20:49Z schweers joined #lisp 2017-12-01T11:21:31Z damke_ joined #lisp 2017-12-01T11:24:17Z margeas joined #lisp 2017-12-01T11:25:21Z Ven`` quit (Ping timeout: 248 seconds) 2017-12-01T11:27:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T11:28:27Z bkst quit (Ping timeout: 240 seconds) 2017-12-01T11:28:51Z damke_ joined #lisp 2017-12-01T11:32:35Z damke joined #lisp 2017-12-01T11:34:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T11:38:21Z damke quit (Ping timeout: 240 seconds) 2017-12-01T11:43:26Z EvW joined #lisp 2017-12-01T11:43:56Z knobo quit (Ping timeout: 255 seconds) 2017-12-01T11:51:47Z astronavt joined #lisp 2017-12-01T11:55:37Z quazimodo quit (Ping timeout: 260 seconds) 2017-12-01T11:56:59Z astronavt quit (Ping timeout: 276 seconds) 2017-12-01T12:03:52Z wxie joined #lisp 2017-12-01T12:07:27Z jibanes quit (Ping timeout: 240 seconds) 2017-12-01T12:07:54Z Niac quit (Quit: Lost terminal) 2017-12-01T12:09:37Z fikka quit (Ping timeout: 260 seconds) 2017-12-01T12:10:02Z Xach kermit 2017-12-01T12:12:26Z raynold: ahh it's a wonderful day 2017-12-01T12:12:37Z phoe: XachX: are you a muppet now 2017-12-01T12:13:04Z Xach: was just thinking of serial interfaces 2017-12-01T12:13:17Z fikka joined #lisp 2017-12-01T12:13:53Z igemnace quit (Quit: WeeChat 1.9.1) 2017-12-01T12:16:57Z nowhere_man quit (Ping timeout: 258 seconds) 2017-12-01T12:17:27Z fikka quit (Ping timeout: 240 seconds) 2017-12-01T12:18:48Z knobo joined #lisp 2017-12-01T12:20:18Z bkst joined #lisp 2017-12-01T12:21:52Z jack_rabbit quit (Ping timeout: 240 seconds) 2017-12-01T12:22:19Z fikka joined #lisp 2017-12-01T12:24:04Z jameser joined #lisp 2017-12-01T12:24:52Z EvW quit (Ping timeout: 240 seconds) 2017-12-01T12:25:17Z damke joined #lisp 2017-12-01T12:26:26Z libre-ma1 is now known as libreman 2017-12-01T12:26:41Z fikka quit (Ping timeout: 248 seconds) 2017-12-01T12:30:24Z orivej joined #lisp 2017-12-01T12:30:44Z megalography joined #lisp 2017-12-01T12:31:20Z fikka joined #lisp 2017-12-01T12:34:12Z EvW1 joined #lisp 2017-12-01T12:34:27Z wxie quit (Quit: Bye.) 2017-12-01T12:35:13Z jack_rabbit joined #lisp 2017-12-01T12:48:01Z damke quit (Ping timeout: 240 seconds) 2017-12-01T12:52:35Z astronavt joined #lisp 2017-12-01T12:57:12Z astronavt quit (Ping timeout: 246 seconds) 2017-12-01T12:58:49Z marvin2 joined #lisp 2017-12-01T12:59:09Z marvin2 left #lisp 2017-12-01T13:02:50Z neoncontrails quit 2017-12-01T13:03:16Z damke joined #lisp 2017-12-01T13:03:48Z neoncontrails joined #lisp 2017-12-01T13:08:45Z asarch joined #lisp 2017-12-01T13:18:15Z knobo quit (Ping timeout: 250 seconds) 2017-12-01T13:18:40Z damke quit (Read error: Connection reset by peer) 2017-12-01T13:23:49Z damke joined #lisp 2017-12-01T13:28:01Z damke quit (Ping timeout: 240 seconds) 2017-12-01T13:28:44Z eSVG joined #lisp 2017-12-01T13:29:32Z zaquest_ joined #lisp 2017-12-01T13:29:34Z zaquest quit (Read error: Connection reset by peer) 2017-12-01T13:31:07Z knobo joined #lisp 2017-12-01T13:31:17Z mson joined #lisp 2017-12-01T13:33:57Z eSVG quit (Ping timeout: 246 seconds) 2017-12-01T13:37:06Z karswell_ joined #lisp 2017-12-01T13:38:37Z karswell quit (Ping timeout: 250 seconds) 2017-12-01T13:38:59Z Guest78748 quit (Remote host closed the connection) 2017-12-01T13:39:25Z Guest78748 joined #lisp 2017-12-01T13:41:56Z oleo2 joined #lisp 2017-12-01T13:51:14Z SuperJen joined #lisp 2017-12-01T13:51:58Z Tristam quit (Ping timeout: 264 seconds) 2017-12-01T13:53:23Z astronavt joined #lisp 2017-12-01T13:54:39Z Guest78748 quit (Ping timeout: 248 seconds) 2017-12-01T13:56:14Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-01T13:56:24Z Tristam joined #lisp 2017-12-01T13:57:07Z rumbler31: Xach: have you seen hoppi? 2017-12-01T13:58:02Z astronavt quit (Ping timeout: 255 seconds) 2017-12-01T13:58:19Z random-nick joined #lisp 2017-12-01T14:01:16Z damke joined #lisp 2017-12-01T14:03:12Z dddddd quit (Ping timeout: 240 seconds) 2017-12-01T14:03:25Z Jen joined #lisp 2017-12-01T14:03:35Z karswell_ quit (Ping timeout: 240 seconds) 2017-12-01T14:03:48Z Jen is now known as Guest84297 2017-12-01T14:05:42Z dddddd joined #lisp 2017-12-01T14:06:55Z SuperJen quit (Ping timeout: 248 seconds) 2017-12-01T14:08:09Z LiamH joined #lisp 2017-12-01T14:10:21Z damke quit (Ping timeout: 246 seconds) 2017-12-01T14:13:52Z EvW1 quit (Ping timeout: 258 seconds) 2017-12-01T14:14:16Z Xach: rumbler31: what's hoppi? 2017-12-01T14:17:52Z lnostdal joined #lisp 2017-12-01T14:24:43Z danieli joined #lisp 2017-12-01T14:24:43Z danieli quit (Changing host) 2017-12-01T14:24:43Z danieli joined #lisp 2017-12-01T14:31:27Z Bike joined #lisp 2017-12-01T14:34:05Z bkst quit (Ping timeout: 250 seconds) 2017-12-01T14:40:32Z Guest84297 quit (Remote host closed the connection) 2017-12-01T14:40:33Z dwts: hey guys, has anyone used lisp for generating code in other languages? I believe I've read this is not that uncommon for lisp. I was thiking about writing lisp code to generate terraform code for me 2017-12-01T14:40:56Z Guest84297 joined #lisp 2017-12-01T14:42:04Z nyef`: dwts: Umm... You realize that any native-code lisp compiler fits that definition, right? 2017-12-01T14:42:43Z FreeBirdLjj joined #lisp 2017-12-01T14:43:04Z dwts: nyef`: native as in machine code? I'm interested in generating terraform code which is more like json 2017-12-01T14:43:07Z Zhivago: There is nothing particularly special about lisp for that task in either direction. 2017-12-01T14:43:25Z Zhivago: nyef's point is that what you are describing is a compiler, of which there are many written in lisp. 2017-12-01T14:43:34Z dwts: oh 2017-12-01T14:44:05Z knobo quit (Ping timeout: 240 seconds) 2017-12-01T14:44:07Z dwts: maybe transpiler is more correct? but now I see nyef`'s point 2017-12-01T14:44:14Z nyef`: Another example would be from the "XP" paper, where they abuse the lisp pretty-printer to produce Pascal syntax. 2017-12-01T14:44:36Z dwts: hm, let me search that 2017-12-01T14:44:46Z Bike: json isn't really a programming language, though? 2017-12-01T14:45:00Z beach: I am pretty sure it's a common technique. 2017-12-01T14:45:08Z dwts: yes, but it could still be treated like code 2017-12-01T14:45:10Z nyef`: No, JSON is a serialized data format. But it's also a subset of JavaScript. 2017-12-01T14:45:33Z nyef`: ... ECMAScript? HotWired? Something like that. 2017-12-01T14:46:04Z dwts: nyef`: this one? https://www.researchgate.net/publication/242313131_Using_the_new_common_Lisp_pretty_printer 2017-12-01T14:46:18Z Bike: dunno what you mean by "treated like code". just saying that writing out data structures can be a little easier. 2017-12-01T14:46:30Z nyef`: (ECzeMAScript?) 2017-12-01T14:46:37Z Bike: data is code, but people deal with "data" more, so they give it better formats 2017-12-01T14:47:06Z nyef`: dwts: I don't know, I get a "service temporarily unavailable" from that link. 2017-12-01T14:47:21Z dwts: Bike: well I want to use lisp to generate some tfvar files. then these files can be executed by terraform 2017-12-01T14:47:27Z FreeBirdLjj quit (Ping timeout: 248 seconds) 2017-12-01T14:47:35Z Bike: i'm sure it's doable 2017-12-01T14:47:45Z dwts: nyef`: yeah, The site is temporarily down while we do some maintenance. It will be back up shortly. 2017-12-01T14:47:52Z dwts: that's what I get atm 2017-12-01T14:47:58Z dwts: Bike: understood 2017-12-01T14:48:24Z Bike: i don't see an actual syntax description, but https://www.terraform.io/intro/getting-started/variables.html looks simple enough 2017-12-01T14:50:12Z Zhivago: Transpilers are just compilers. 2017-12-01T14:50:21Z dwts: yeah, I just want to automate some processes, I don't want to copy/paste then edit files every time I'm creating a new instance. 2017-12-01T14:51:15Z dwts: Zhivago: sure, I just got the impression that when compilers mentioned earlier machine code was implied 2017-12-01T14:51:46Z rippa joined #lisp 2017-12-01T14:51:50Z sjl joined #lisp 2017-12-01T14:52:33Z Bike: sometimes it is, but drawing distinctions like that becomes untenable pretty fast 2017-12-01T14:53:01Z Zhivago: Machine code is often not machine code. 2017-12-01T14:53:24Z Zhivago: Or, conversely, what is the code that a javascript machine runs? 2017-12-01T14:53:30Z Bike: in any case this is a configuration file format. doesn't look like it has any control flow. easy 2017-12-01T14:54:01Z astronavt joined #lisp 2017-12-01T14:54:14Z dwts: roger, thank you guys 2017-12-01T14:54:28Z Bike: https://www.terraform.io/docs/configuration/syntax.html oh, there's the syntax. 2017-12-01T14:54:42Z Bike: and it accepts json too. So you could skip work and use one of the existing json output dealies. 2017-12-01T14:55:06Z mishoo_ joined #lisp 2017-12-01T14:55:34Z dwts: yes it does accept json too but I prefer tf syntax 2017-12-01T14:56:11Z Zhivago: So that you can take advantage of its string interpolation? :) 2017-12-01T14:56:35Z dwts: lol 2017-12-01T14:56:37Z Zhivago: If you're generating it as output you might as well make it the simplest and stupidest format available with the best library support. 2017-12-01T14:56:59Z Zhivago: Machine generated code trying to be clever is a recipe for excitement. 2017-12-01T14:57:38Z Zhivago: Particularly coupled with what is probably a buggy parser that isn't used by a zillion people. 2017-12-01T14:57:46Z dwts: I was planning to feed it us input after generating it to the terraform tool to create me some ec2 instances 2017-12-01T14:58:05Z _rumbler31 joined #lisp 2017-12-01T14:58:39Z astronavt quit (Ping timeout: 246 seconds) 2017-12-01T14:59:01Z dwts: Zhivago: it's open source, so you can go bug hunting if you are interested: https://github.com/hashicorp/terraform , although you don't sound very excited about it :P 2017-12-01T15:00:20Z Zhivago: I would rather stab myself in the face with a fish-fork. 2017-12-01T15:01:08Z Bike: What's the difference between a fish fork and a regular proletarian fork? Longer middle tine? 2017-12-01T15:01:14Z Bike: er... antitine. 2017-12-01T15:01:29Z dwts: Zhivago: your nickname is familiar, i think I've seen your nick in C related irc channels in the past. You'd rather stab yourself because of go or because you disklike that specific tool? :P 2017-12-01T15:01:36Z Jesin joined #lisp 2017-12-01T15:02:01Z dwts: why proletarian though? :P 2017-12-01T15:02:20Z Zhivago: Than go bug hunting in yet another random configuration language implementation by some well intentioned people. 2017-12-01T15:02:27Z Bike: "Fish forks (and knives) often have an incurve shaped form (pictured); we believe this feature was simply to differentiate it from all the other forks that could be present on the table, as potentially there could be a considerable amount." nice 2017-12-01T15:02:36Z Zhivago: The fish-fork, ... yes. 2017-12-01T15:02:43Z cromachina quit (Read error: Connection reset by peer) 2017-12-01T15:03:02Z Zhivago: Although I understand that the incision is to accommodate the spine of the fish. 2017-12-01T15:03:24Z dwts: Zhivago: you sound disappointed, are you preparing me for the worse? :p 2017-12-01T15:04:45Z Zhivago: https://www.pinterest.co.kr/pin/110690103311307799/ 2017-12-01T15:04:53Z Zhivago: Disappointed in what? 2017-12-01T15:05:19Z dwts: in configuration language implementations? 2017-12-01T15:05:53Z Zhivago: Oh, not at all -- I am looking forward to hearing your tale of woe at some point so that I can then refer back to the logs and tell you that I told you so. 2017-12-01T15:06:28Z dwts: lol 2017-12-01T15:08:25Z dwts: Zhivago: to be honest i've had some bad experiences with puppet :P 2017-12-01T15:08:43Z dwts: and soon I'll have to start learning chef 2017-12-01T15:08:47Z dwts: so yeah, keep the logs 2017-12-01T15:09:02Z Zhivago: I'm looking forward to when they start naming them after serial killers. 2017-12-01T15:09:02Z Poeticode is now known as P_C 2017-12-01T15:09:23Z P_C is now known as PiC 2017-12-01T15:09:23Z nika joined #lisp 2017-12-01T15:09:32Z PiC is now known as P_C 2017-12-01T15:10:04Z nyef`: Or the origin of the phrase "going postal"? 2017-12-01T15:11:00Z Younder: that postal worker from NY 2017-12-01T15:11:19Z Younder: mad max 2017-12-01T15:11:21Z Zhivago: Should probably have been "going NYC". 2017-12-01T15:11:59Z Younder: Currently it seems only movies are qualified ;) 2017-12-01T15:12:01Z Zhivago: Although if you do visit NYC, I recommend rowing on the Hudson river. 2017-12-01T15:13:44Z Tobbi joined #lisp 2017-12-01T15:14:02Z Younder: Xach love it when I introduce this as a channel for the vocally impaired 2017-12-01T15:14:51Z _cosmonaut_ quit (Remote host closed the connection) 2017-12-01T15:15:14Z nyef`: Younder: Wikipedia's list of postal killings doesn't include a single incident in NYC. 2017-12-01T15:15:28Z nyef`: Or NY at all. 2017-12-01T15:15:33Z nyef`: A couple in NJ, though. 2017-12-01T15:16:27Z dwts: Zhivago: lol, I don't like the idea 2017-12-01T15:19:43Z teddy_error quit (Quit: Peace ☮︎) 2017-12-01T15:20:42Z trn quit (Ping timeout: 246 seconds) 2017-12-01T15:21:54Z Ven`` joined #lisp 2017-12-01T15:21:58Z k-stz joined #lisp 2017-12-01T15:22:30Z hajovonta quit (Quit: hajovonta) 2017-12-01T15:24:43Z luis quit (Read error: Connection reset by peer) 2017-12-01T15:27:11Z warweasle joined #lisp 2017-12-01T15:28:00Z mingus joined #lisp 2017-12-01T15:31:12Z FreeBirdLjj joined #lisp 2017-12-01T15:33:43Z flamebeard quit (Quit: Leaving) 2017-12-01T15:33:53Z nika quit (Ping timeout: 255 seconds) 2017-12-01T15:36:50Z damke joined #lisp 2017-12-01T15:37:44Z nika joined #lisp 2017-12-01T15:37:52Z neoncontrails quit (Remote host closed the connection) 2017-12-01T15:38:24Z neoncontrails joined #lisp 2017-12-01T15:40:06Z eudoxia joined #lisp 2017-12-01T15:40:11Z oleo2 quit (Ping timeout: 255 seconds) 2017-12-01T15:41:04Z mson quit (Quit: Connection closed for inactivity) 2017-12-01T15:42:13Z oleo joined #lisp 2017-12-01T15:43:07Z neoncontrails quit (Ping timeout: 260 seconds) 2017-12-01T15:44:34Z moei quit (Quit: Leaving...) 2017-12-01T15:49:03Z hexfive joined #lisp 2017-12-01T15:49:16Z trn joined #lisp 2017-12-01T15:50:31Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-01T15:54:48Z Cymew quit (Remote host closed the connection) 2017-12-01T15:54:51Z astronavt joined #lisp 2017-12-01T15:58:07Z dec0n quit (Read error: Connection reset by peer) 2017-12-01T15:59:40Z astronavt quit (Ping timeout: 258 seconds) 2017-12-01T16:04:17Z hhdave joined #lisp 2017-12-01T16:05:31Z jmsb joined #lisp 2017-12-01T16:06:17Z mson joined #lisp 2017-12-01T16:06:29Z yain- quit (Remote host closed the connection) 2017-12-01T16:06:33Z neoncontrails joined #lisp 2017-12-01T16:07:59Z Ven`` joined #lisp 2017-12-01T16:09:50Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-01T16:10:02Z Ven`` quit (Client Quit) 2017-12-01T16:10:34Z DeadTrickster joined #lisp 2017-12-01T16:12:27Z Guest32558 quit (Ping timeout: 240 seconds) 2017-12-01T16:14:35Z pareidolia quit (Ping timeout: 240 seconds) 2017-12-01T16:15:29Z Ven`` joined #lisp 2017-12-01T16:17:07Z Ven`` quit (Client Quit) 2017-12-01T16:18:30Z pareidolia joined #lisp 2017-12-01T16:20:41Z wigust_ joined #lisp 2017-12-01T16:22:23Z wigust quit (Ping timeout: 248 seconds) 2017-12-01T16:22:41Z damke quit (Ping timeout: 240 seconds) 2017-12-01T16:22:52Z fikka quit (Ping timeout: 240 seconds) 2017-12-01T16:24:57Z damke joined #lisp 2017-12-01T16:30:50Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-01T16:31:34Z DeadTrickster joined #lisp 2017-12-01T16:31:59Z Karl_Dscc joined #lisp 2017-12-01T16:32:08Z neoncontrails quit (Remote host closed the connection) 2017-12-01T16:32:17Z damke quit (Remote host closed the connection) 2017-12-01T16:32:26Z damke_ joined #lisp 2017-12-01T16:36:22Z sz0 joined #lisp 2017-12-01T16:36:28Z varjag quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-12-01T16:37:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T16:38:43Z damke_ joined #lisp 2017-12-01T16:40:59Z shifty joined #lisp 2017-12-01T16:45:14Z _rumbler31: Xach: https://bitbucket.org/cloudycat/hoppi 2017-12-01T16:45:29Z _rumbler31: application for talking over serial/usb connections from lisp to a calculator 2017-12-01T16:49:11Z osune joined #lisp 2017-12-01T16:50:27Z damke joined #lisp 2017-12-01T16:50:45Z Younder: I use kermit to connect to my old HP50p 2017-12-01T16:50:52Z nowhere_man joined #lisp 2017-12-01T16:51:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T16:52:08Z mathrick joined #lisp 2017-12-01T16:55:48Z astronavt joined #lisp 2017-12-01T16:58:08Z zmt00 joined #lisp 2017-12-01T16:58:36Z Younder: _rumbler31, if you are using kermit anyhow why not writer script in kermit. I don't see the need for Lisp. 2017-12-01T16:59:45Z johnnybanana joined #lisp 2017-12-01T16:59:56Z johnnybanana: Hello could someone help me with a lisp problem? 2017-12-01T17:00:12Z astronavt quit (Ping timeout: 240 seconds) 2017-12-01T17:00:32Z Younder: Depends on the problem I guess, 2017-12-01T17:00:54Z Younder: perhaps you should just state it 2017-12-01T17:01:05Z SaganMan joined #lisp 2017-12-01T17:01:19Z whaack left #lisp 2017-12-01T17:01:25Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-01T17:01:49Z johnnybanana: so i am trying to define a macro 2017-12-01T17:02:07Z _rumbler31: Younder: I didn't make it, and I referenced it both for looking into the cocoa apis for enumerating connected serial/usb devices, as well as using them to communicate with them from lisp in my own work, not necessarily using kermit 2017-12-01T17:02:46Z johnnybanana: that will take any number of expressions and have each be evaluated and printed in order, using the "=>" format, with semicolons separating pairs 2017-12-01T17:03:13Z Younder: so a PAIP style lang? 2017-12-01T17:03:19Z johnnybanana: (let ((x 3) (y 2)) (macro-call (+ x y) x y)) (+ X Y) => 5;X => 3;Y => 2 2017-12-01T17:03:50Z Bike: Okay. How's it going. 2017-12-01T17:04:01Z damke quit (Ping timeout: 240 seconds) 2017-12-01T17:04:14Z johnnybanana: this is what I have so far: (defmacro macro-call (expr) `(format t "~&~S => ~S~%" ',expr ,expr)) 2017-12-01T17:04:28Z johnnybanana: how to i make it for multiple expressions? 2017-12-01T17:04:34Z _rumbler31: format will let you do that! 2017-12-01T17:04:49Z Bike: it just means you need to output one of those for each expr. 2017-12-01T17:05:07Z johnnybanana: Im not sure how to incorporate the semicolons in the format 2017-12-01T17:05:09Z _rumbler31: you can give an argument that is a list, and a few control caracters will iterate through it and use the list as the source of each iteration 2017-12-01T17:05:28Z Bike: so (macro-calls x y) macroexpands into like (progn (macro-call x) (macro-call y)) 2017-12-01T17:05:43Z Bike: or (progn (macro-call x) (write-string ";") (macro-call y)) if you want. 2017-12-01T17:06:12Z johnnybanana: _rumbler31: How could i implement that with format? 2017-12-01T17:06:18Z _rumbler31: looking it up now 2017-12-01T17:06:24Z johnnybanana: Bike: what does write-string do? 2017-12-01T17:06:39Z _rumbler31: http://www.lispworks.com/documentation/HyperSpec/Body/22_cgd.htm 2017-12-01T17:06:40Z Bike: outputs a string 2017-12-01T17:08:08Z damke joined #lisp 2017-12-01T17:08:37Z _rumbler31: so (format nil "~{ => ; ~A ~}" (mapcar #'eval macro-body-arg)) 2017-12-01T17:09:28Z schweers quit (Remote host closed the connection) 2017-12-01T17:10:13Z Bike: don't eval. 2017-12-01T17:10:24Z johnnybanana: what is eval for? 2017-12-01T17:10:35Z Bike: it evaluates forms. you should not use it here. 2017-12-01T17:11:23Z impulse- quit (Ping timeout: 250 seconds) 2017-12-01T17:11:24Z damke_ joined #lisp 2017-12-01T17:11:31Z _rumbler31: well how else do you get the output of each form 2017-12-01T17:12:09Z moei joined #lisp 2017-12-01T17:12:14Z johnnybanana: Bike: how could I improve my code? 2017-12-01T17:12:24Z johnnybanana: this is what i have 2017-12-01T17:12:25Z johnnybanana: (defmacro macro-call (@body args) `(format nil "~{ => ; ~A ~}" (mapcar #'eval ,@args))) 2017-12-01T17:12:41Z Bike: _rumbler31: expand into something, like they'd already wrote. 2017-12-01T17:13:15Z Bike: With their original definition, (macro-call x) => (format t "~&~s => ~s~%" 'x x) which works fine. 2017-12-01T17:13:38Z Bike: there's no need to use eval. you don't want to use eval, both for general style reasons, and because it makes the original example impossible since eval doesn't know about lexical bindings. 2017-12-01T17:14:01Z damke quit (Ping timeout: 240 seconds) 2017-12-01T17:14:04Z FreeBirdLjj joined #lisp 2017-12-01T17:15:03Z _rumbler31: Bike: oh, its a macro, so the forms get 2017-12-01T17:15:22Z _rumbler31: put back, and evalutated like normal 2017-12-01T17:15:27Z Bike: yes. 2017-12-01T17:15:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T17:15:56Z Bike: johnnybanana: what you can do is just expand into several format calls like the one you already had. one for each form. no need for fancier format strings, and definitely no need to loop at runtime 2017-12-01T17:16:23Z johnnybanana: how will I know how many format calls to have though 2017-12-01T17:17:45Z Bike: you have one for each argument to the macro, of course. 2017-12-01T17:18:01Z Bike: (defmacro macro-calls (&rest forms) ...you can just do (length forms) here. 2017-12-01T17:18:06Z damke_ joined #lisp 2017-12-01T17:18:16Z Bike: (but it might be more natural to use mapcar etc) 2017-12-01T17:19:07Z _rumbler31: I"ll totally concede that use of format iteration is "cute" for this use 2017-12-01T17:19:18Z johnnybanana: Hm let me try that out 2017-12-01T17:21:44Z johnnybanana: So this is what I have (defmacro macro-call (&rest form) `(mapcar #'(format t "~&~S => ~S~%" ',form ,form) ,@form)) 2017-12-01T17:21:58Z johnnybanana: Im trying to test with this (let ((x 1) (y 2)) (macro-call (+ x y) x y)) 2017-12-01T17:22:15Z johnnybanana: in the hopes of this being printed "(+ X Y) => 3;X => 1;Y => 2" 2017-12-01T17:23:49Z teddy_error joined #lisp 2017-12-01T17:24:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T17:24:23Z hhdave_ joined #lisp 2017-12-01T17:24:45Z Bike: No 2017-12-01T17:24:51Z Bike: Do not expand into mapcar 2017-12-01T17:25:04Z Bike: that doesn't even make sense, what is #'(format 2017-12-01T17:25:21Z Bike: I already gave you an example of what your expansion could look like, try aiming for that 2017-12-01T17:25:47Z hhdave quit (Ping timeout: 260 seconds) 2017-12-01T17:27:40Z hhdave joined #lisp 2017-12-01T17:29:05Z hhdave_ quit (Ping timeout: 255 seconds) 2017-12-01T17:29:06Z _rumbler31: oh I see 2017-12-01T17:29:35Z brendyn quit (Ping timeout: 250 seconds) 2017-12-01T17:30:00Z _rumbler31: at runtime he wants to emit "=>" so the inner body will look like (write-string " => ; ") (form1) ... 2017-12-01T17:30:13Z johnnybanana: _rumbler31: any thoughts? 2017-12-01T17:30:20Z _rumbler31: bike is smarter than me 2017-12-01T17:30:23Z _rumbler31: so listen to him 2017-12-01T17:32:10Z warweasle: _rumbler31: To be fair, Bike is smarter than a lot of people. 2017-12-01T17:32:36Z warweasle: But that's just because he's a lisper. :P 2017-12-01T17:32:56Z Zhivago: What actual problem is johnny trying to solve? 2017-12-01T17:35:11Z beach: I am guessing a "homework problem". 2017-12-01T17:38:04Z jibanes joined #lisp 2017-12-01T17:40:12Z emacsomancer joined #lisp 2017-12-01T17:43:46Z johnnybanana quit (Quit: Page closed) 2017-12-01T17:44:26Z bansheee joined #lisp 2017-12-01T17:44:47Z foird44 joined #lisp 2017-12-01T17:45:31Z phoe: Is there a simple way to use drakma to download files into a directory, like wget? 2017-12-01T17:45:44Z pseudonymous joined #lisp 2017-12-01T17:45:57Z phoe: Because I just realized that I'm about to reinvent wget with my custom code, and that doesn't sound good. 2017-12-01T17:47:27Z warweasle: I had to alias wgit to wget...because git. 2017-12-01T17:50:32Z raphaelss quit (Remote host closed the connection) 2017-12-01T17:51:41Z foird44 quit (Quit: ERC (IRC client for Emacs 26.0.50)) 2017-12-01T17:52:09Z m00natic quit (Remote host closed the connection) 2017-12-01T17:52:29Z eudoxia: phoe: https://github.com/eudoxia0/trivial-download 2017-12-01T17:54:05Z mathrick quit (Ping timeout: 240 seconds) 2017-12-01T17:55:57Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-01T17:56:27Z phoe: eudoxia: thanks. 2017-12-01T17:56:32Z astronavt joined #lisp 2017-12-01T17:56:33Z phoe: That's what I needed. 2017-12-01T18:00:43Z bansheee: Could someone help me with a problem I am stuck on? 2017-12-01T18:01:14Z astronavt quit (Ping timeout: 252 seconds) 2017-12-01T18:01:41Z Bike: Sure, describe it. 2017-12-01T18:01:43Z pjb joined #lisp 2017-12-01T18:07:09Z shenghi quit (Remote host closed the connection) 2017-12-01T18:07:22Z yurinew joined #lisp 2017-12-01T18:07:46Z yurinew left #lisp 2017-12-01T18:07:49Z shenghi joined #lisp 2017-12-01T18:09:43Z bansheee: Could someone help me with a problem I am stuck on? 2017-12-01T18:10:22Z pjb: Not if no don't tell us more about your problem. 2017-12-01T18:10:30Z pjb: s/\/you/ 2017-12-01T18:10:43Z _death: the problem of asking if someone could help him with a problem he's stuck on 2017-12-01T18:12:39Z phoe: I need a MULTIPLE-VALUE-MAPCAR 2017-12-01T18:13:14Z _death: like (m-v-c #'mapcar ...) ? 2017-12-01T18:13:20Z warweasle: phoe: Like a destructing-bind? 2017-12-01T18:13:23Z SaganMan: when you're in irc, it's general rule to not ask if someone can help. 2017-12-01T18:15:45Z nirved: what would multiple-value-mapcar return? collecting the values as well? 2017-12-01T18:16:26Z himmAllRight quit (Remote host closed the connection) 2017-12-01T18:16:38Z phoe: warweasle: https://pastebin.com/v74zRzqP 2017-12-01T18:17:00Z phoe: yes, collecting the values, but collecting multiple values into multiple lists 2017-12-01T18:17:18Z SaganMan: multiple valued mapcar? 2017-12-01T18:17:27Z himmAllRight joined #lisp 2017-12-01T18:17:39Z phoe: SaganMan: yes, one that can operate on forms that return multiple values 2017-12-01T18:17:43Z oleo: what about mapcar 'list then ? 2017-12-01T18:17:53Z phoe: mapcar on gethash will only give you the first value. 2017-12-01T18:18:03Z phoe: oleo: what do you mean? 2017-12-01T18:18:21Z groovy2shoes joined #lisp 2017-12-01T18:18:46Z oleo: (mapcar 'list '(a b c d)) 2017-12-01T18:19:23Z Bike: if you can specify the number of values beforehand it shouldn't be hard. 2017-12-01T18:19:44Z warweasle: phoe: Oh, I see. That is a clever operation. 2017-12-01T18:19:45Z Bike: otherwise it would be kind of tricky to account for different calls returning different values and stuff. 2017-12-01T18:19:49Z SaganMan: won't the result of that be ((a)(b)(c)(d))? 2017-12-01T18:20:52Z nowhere_man quit (Ping timeout: 240 seconds) 2017-12-01T18:21:04Z mson quit (Quit: Connection closed for inactivity) 2017-12-01T18:21:54Z warweasle: phoe: (alexandria:MULTIPLE-VALUE-COMPOSE can do what you need. 2017-12-01T18:22:01Z phoe: Bike: wouldn't be too tricky. the multiple-value-mapcar would keep an internal counter of how many values were at most returned; every time this counter is bumped up, new dummy list(s) filled with NILs are returned. 2017-12-01T18:22:05Z phoe: warweasle: let me look. 2017-12-01T18:22:15Z nirved: if using it on hash table there's maphash 2017-12-01T18:22:26Z varjag joined #lisp 2017-12-01T18:22:49Z phoe: oooh, that is nice. 2017-12-01T18:22:58Z phoe: nirved: gethash is just an example. 2017-12-01T18:23:11Z Guest32558 joined #lisp 2017-12-01T18:26:41Z vertigo quit (Ping timeout: 255 seconds) 2017-12-01T18:28:05Z vertigo joined #lisp 2017-12-01T18:29:07Z Bike: well, i wrote it for one list 2017-12-01T18:29:13Z bansheee quit (Quit: Page closed) 2017-12-01T18:29:17Z Bike: nth returning nil instead of erring unexpectedly convenient 2017-12-01T18:29:47Z skrtskrt joined #lisp 2017-12-01T18:30:58Z skrtskrt: I am currently working on a macro where it takes a list of variables and a body of code, and ensures that the variables revert to their original values after the body of code is evaluated 2017-12-01T18:31:37Z phoe: skrtskrt: what do you mean, revert? 2017-12-01T18:32:02Z phoe: do you mean that you store their values somewhere before the body of code, execute the code, and then set the variables to these stored values? 2017-12-01T18:32:11Z kmb joined #lisp 2017-12-01T18:32:19Z knobo joined #lisp 2017-12-01T18:32:25Z skrtskrt: This is what I have so far 2017-12-01T18:32:25Z skrtskrt: https://pastebin.com/V7Njp5B6 2017-12-01T18:32:54Z phoe: skrtskrt: your indentation is off 2017-12-01T18:33:09Z skrtskrt: for example : (let ((x 'a)) (var-revert (x) x)) should end up with 'a 2017-12-01T18:33:25Z DeadTrickster_ joined #lisp 2017-12-01T18:33:28Z skrtskrt: So the code is fine, but how can I minimize this to just one macro 2017-12-01T18:33:38Z SaganMan quit (Quit: WeeChat 1.6) 2017-12-01T18:33:47Z phoe: macrolet is the trivial solution 2017-12-01T18:33:52Z phoe: just make one macro local to the other 2017-12-01T18:36:02Z phoe: ...aw shit 2017-12-01T18:36:06Z phoe just killed his lisp with (defvar *foo* #1=(1 2 3 . #1#)) 2017-12-01T18:36:46Z White_Flame quit (Read error: Connection reset by peer) 2017-12-01T18:36:57Z DeadTrickster quit (Ping timeout: 260 seconds) 2017-12-01T18:38:10Z Bike: might try putting a *print-length* definition in your rc 2017-12-01T18:38:30Z teddy_error quit (Quit: Peace ☮︎) 2017-12-01T18:38:47Z phoe: it actually wasn't about printing methinks 2017-12-01T18:38:52Z phoe: because DEFVAR would print *FOO* 2017-12-01T18:39:10Z phoe: the backtrace shows that it went into a loop on #'LENGTH 2017-12-01T18:39:29Z phoe: ...why on earth would it call LENGTH? 2017-12-01T18:40:24Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-01T18:40:36Z _death: you likely wanted to quote it 2017-12-01T18:40:37Z Bike: Oh, because you didn't quote it. 2017-12-01T18:40:43Z phoe: aw shit 2017-12-01T18:40:47Z phoe: you are correct 2017-12-01T18:41:14Z nika quit (Quit: Leaving...) 2017-12-01T18:41:30Z phoe: now that is a function call with an infinite argument list 2017-12-01T18:42:39Z phoe: Bike: do you have your code anywhere nearby? 2017-12-01T18:42:56Z Bike: you mean the code I just wrote? i can paste it if you like. 2017-12-01T18:43:05Z phoe: since I just realized that a MULTIPLE-VALUE-MAP{CAR,CAN,LIST,CON} would be really handy. 2017-12-01T18:43:08Z phoe: Bike: yes. 2017-12-01T18:43:58Z Bike: http://sprunge.us/WEON 2017-12-01T18:46:08Z phoe: this feels like yak shaving 2017-12-01T18:46:12Z phoe: let's do it 2017-12-01T18:46:36Z Bike: (let ((hash (make-hash-table))) (setf (gethash 'fuck hash) t (gethash 'shit hash) nil) (multiple-value-mapcar (rcurry #'gethash hash) '(fuck shit stack)) => (T NIL NIL), (T T NIL) 2017-12-01T18:48:01Z phoe: now we need to generalize it to an arbitrary number of arglists. 2017-12-01T18:48:40Z phoe: ...shouldn't be too hard, I think we only need to modify the first LET* binding 2017-12-01T18:48:44Z knobo quit (Ping timeout: 255 seconds) 2017-12-01T18:48:54Z raphaelss joined #lisp 2017-12-01T18:54:37Z shka joined #lisp 2017-12-01T18:56:08Z rm8 joined #lisp 2017-12-01T18:57:04Z terpri joined #lisp 2017-12-01T18:57:17Z astronavt joined #lisp 2017-12-01T19:00:42Z knobo joined #lisp 2017-12-01T19:00:53Z phoe: well, this does become complex 2017-12-01T19:01:16Z phoe: we need a minimum length of all argument lists but maximum length of all multiple-value-lists 2017-12-01T19:01:30Z _death: I doubt the usefulness of these constructs.. 2017-12-01T19:02:14Z astronavt quit (Ping timeout: 255 seconds) 2017-12-01T19:02:32Z _death: better to just work on lists instead of pretending that you're dealing with multiple values.. 2017-12-01T19:03:57Z phoe: I have a function that returns multiple values. 2017-12-01T19:04:05Z Bike: for the argument lists you can do (loop for l = lists then (mapcar #'cdr l) until (some #'endp l) collecting (multiple-value-list (apply function (mapcar #'first l)))) 2017-12-01T19:04:07Z Bike: or something. 2017-12-01T19:04:18Z phoe: I want to mapcar this function over a sequence and not lose any data in the process. 2017-12-01T19:04:32Z _death: phoe: then use multiple-value-list to get a list of the values and work on this list 2017-12-01T19:05:19Z phoe: hm, for me this means destructuring-bind + multiple-value-list + some means of collecting the results. 2017-12-01T19:05:34Z phoe: also, multiple-value-list isn't a function. I cannot use it in mapcar. 2017-12-01T19:05:36Z _death: rather than back-and-forth translating between mechanisms 2017-12-01T19:10:04Z teddy_error joined #lisp 2017-12-01T19:10:25Z phoe: ...I think I got it, just let me test real quick 2017-12-01T19:10:56Z osune quit (Quit: rl needs me) 2017-12-01T19:11:03Z _rumbler31: johnnybanana: you figure it out? 2017-12-01T19:12:09Z phoe: https://p.teknik.io/1InTD 2017-12-01T19:12:59Z phoe: woah 2017-12-01T19:14:17Z knobo quit (Ping timeout: 260 seconds) 2017-12-01T19:14:27Z wigust_ quit (Ping timeout: 240 seconds) 2017-12-01T19:16:38Z knobo joined #lisp 2017-12-01T19:21:29Z damke_ joined #lisp 2017-12-01T19:22:07Z orivej quit (Ping timeout: 248 seconds) 2017-12-01T19:24:03Z phoe: Bike: I allowed myself to blog it at https://blog.teknik.io/phoe/p/1604 - I hope you have nothing against it. 2017-12-01T19:24:25Z Bike: death of the author, bruh (this is EXACTLY what that phrase means) 2017-12-01T19:24:35Z skrtskrt quit (Ping timeout: 260 seconds) 2017-12-01T19:26:34Z phoe: death of the author is one thing, but you wrote the code, you hold the copyright 2017-12-01T19:26:47Z shenghi quit (Ping timeout: 276 seconds) 2017-12-01T19:28:41Z knobo quit (Ping timeout: 240 seconds) 2017-12-01T19:29:10Z phoe: aaah, works just as it should. that was good yak shaving time - thanks, folks. 2017-12-01T19:32:46Z phoe: Another thing. 2017-12-01T19:33:13Z shenghi joined #lisp 2017-12-01T19:33:30Z phoe: How can I find a string that is the most #'STRING> of all the strings from a list? 2017-12-01T19:34:03Z phoe: ...wasn't I discussing such a function on #lisp about a year ago or something? 2017-12-01T19:34:13Z Bike: alexandria:extremum 2017-12-01T19:35:39Z phoe: Bike: perfect, thank you. 2017-12-01T19:49:34Z wigust joined #lisp 2017-12-01T19:50:39Z resttime quit (Quit: Leaving) 2017-12-01T19:53:05Z P_C is now known as Poeticode 2017-12-01T19:53:34Z random-nick quit (Remote host closed the connection) 2017-12-01T19:57:47Z random-nick joined #lisp 2017-12-01T19:58:06Z astronavt joined #lisp 2017-12-01T19:59:06Z teddy_error quit (Quit: Peace ☮︎) 2017-12-01T20:00:52Z White_Flame joined #lisp 2017-12-01T20:02:47Z astronavt quit (Ping timeout: 252 seconds) 2017-12-01T20:03:05Z josemanuel joined #lisp 2017-12-01T20:03:39Z kolko quit (Quit: ZNC - http://znc.in) 2017-12-01T20:04:08Z KarlDscc joined #lisp 2017-12-01T20:05:14Z Karl_Dscc quit (Ping timeout: 255 seconds) 2017-12-01T20:07:16Z mkew64 joined #lisp 2017-12-01T20:07:28Z ngqrl quit (Ping timeout: 240 seconds) 2017-12-01T20:07:42Z beaky quit (Read error: Connection reset by peer) 2017-12-01T20:08:24Z demiurge quit (Quit: edk) 2017-12-01T20:09:08Z easye quit (Ping timeout: 240 seconds) 2017-12-01T20:09:36Z beaky joined #lisp 2017-12-01T20:09:53Z dieggsy joined #lisp 2017-12-01T20:11:07Z ngqrl joined #lisp 2017-12-01T20:14:21Z vlatkoB quit (Remote host closed the connection) 2017-12-01T20:18:14Z warweasle quit (Quit: rcirc on GNU Emacs 24.4.1) 2017-12-01T20:22:47Z sonicrules1234 joined #lisp 2017-12-01T20:23:09Z sonicrules1234 left #lisp 2017-12-01T20:28:03Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-12-01T20:29:57Z White_Flame quit (Ping timeout: 240 seconds) 2017-12-01T20:31:18Z papachan` joined #lisp 2017-12-01T20:31:33Z papachan` quit (Remote host closed the connection) 2017-12-01T20:31:40Z White_Flame joined #lisp 2017-12-01T20:32:02Z eudoxia quit (Quit: Leaving) 2017-12-01T20:40:14Z FreeBirdLjj joined #lisp 2017-12-01T20:41:11Z edk joined #lisp 2017-12-01T20:42:57Z wigust quit (Ping timeout: 260 seconds) 2017-12-01T20:44:47Z FreeBirdLjj quit (Ping timeout: 276 seconds) 2017-12-01T20:50:13Z scymtym quit (Ping timeout: 250 seconds) 2017-12-01T20:52:47Z Jesin quit (Quit: Leaving) 2017-12-01T20:53:50Z raphaelss quit (Ping timeout: 255 seconds) 2017-12-01T20:54:23Z nowhere_man joined #lisp 2017-12-01T20:55:06Z lerax left #lisp 2017-12-01T20:58:47Z astronavt joined #lisp 2017-12-01T21:02:23Z KZiemian joined #lisp 2017-12-01T21:03:44Z astronavt quit (Ping timeout: 255 seconds) 2017-12-01T21:05:46Z fikka joined #lisp 2017-12-01T21:06:07Z KZiemian: Hello World 2017-12-01T21:06:42Z KZiemian: I have a question 2017-12-01T21:06:48Z shka: yes? 2017-12-01T21:06:49Z KZiemian: I need to learn some ccldoc 2017-12-01T21:06:57Z shka: phoe: ping 2017-12-01T21:07:09Z shka: phoe: KZiemian needs you 2017-12-01T21:07:10Z KZiemian: only place that I found to this moment ist this 2017-12-01T21:07:17Z KZiemian: https://github.com/Clozure/ccldoc 2017-12-01T21:08:18Z KZiemian: shka: I try to find phoe from almost half a hauer 2017-12-01T21:08:27Z shka: KZiemian: sorry, i can't help with ccldoc myself 2017-12-01T21:08:39Z KZiemian: shka: no problem, in worst case 2017-12-01T21:08:39Z shka: i ended up writing my own documentation tool 2017-12-01T21:08:53Z KZiemian: shka: I will hunt phoe tomorow 2017-12-01T21:09:12Z KZiemian: shka: good for you :) 2017-12-01T21:09:26Z shka: heh not so sure about that! 2017-12-01T21:09:45Z KZiemian: personaly I don't know why we decided on ccldos 2017-12-01T21:09:48Z KZiemian: ccldoc 2017-12-01T21:10:02Z shka: well, options are somewhat lackluster 2017-12-01T21:10:05Z KZiemian: I was off for a month doing my part of job 2017-12-01T21:10:19Z KZiemian: I go back and order is to work in ccldoc 2017-12-01T21:10:27Z fikka quit (Ping timeout: 240 seconds) 2017-12-01T21:10:33Z KarlDscc quit (Remote host closed the connection) 2017-12-01T21:10:51Z shka: honestly, all existing documentation tools are suboptimal 2017-12-01T21:10:53Z KZiemian: shka: I don't know pros and cons, but better do anything than noting 2017-12-01T21:10:56Z shka: including my own 2017-12-01T21:11:06Z shka: ideally, i would rewrite it 2017-12-01T21:11:11Z shka: but no time for that 2017-12-01T21:11:27Z KZiemian: shka: this same is true with every my program 2017-12-01T21:11:49Z whoman quit (Remote host closed the connection) 2017-12-01T21:12:09Z KZiemian: shka: I have no idea about existing documenation tools 2017-12-01T21:12:22Z shka: well, to be fair even gnu cat get's updates so perhaps there is no such thing as perfect application 2017-12-01T21:12:37Z whoman joined #lisp 2017-12-01T21:12:53Z KZiemian: shka: even if there suboptimal is better that put this project longer in the state of coma 2017-12-01T21:13:02Z shka: yup 2017-12-01T21:13:59Z shka: i will eventually try to build proper documentation tool 2017-12-01T21:14:16Z shka: i know more about the problem now! 2017-12-01T21:16:22Z KZiemian: thatnk you :) 2017-12-01T21:16:37Z Younder: KZiemian, arent you the guy I talked to on RUST 2017-12-01T21:17:21Z KZiemian: Younder: I only reamber talking about RUST few times 2017-12-01T21:17:36Z KZiemian: Younder: only face to face talks 2017-12-01T21:18:07Z KZiemian: Younder: at least I don't remeber any thing more then that 2017-12-01T21:18:39Z phoe: KZiemian: #ccl 2017-12-01T21:18:49Z White_Flame quit (Read error: Connection reset by peer) 2017-12-01T21:18:56Z phoe: this channel might be more helpful since ccldoc is pretty ccl-specific 2017-12-01T21:19:49Z kolko joined #lisp 2017-12-01T21:19:53Z White_Flame joined #lisp 2017-12-01T21:21:33Z KZiemian: phoe: I was there, but because was quiet I come here 2017-12-01T21:23:32Z knobo joined #lisp 2017-12-01T21:23:32Z KZiemian: phoe: I need few tips 2017-12-01T21:24:45Z KZiemian: phoe: we talk today or in the future? 2017-12-01T21:24:59Z KZiemian: phoe: I send my question on Discord 2017-12-01T21:25:25Z KZiemian: phoe: I try to catch you on Discord or #ccl 2017-12-01T21:25:26Z KZiemian: ? 2017-12-01T21:26:46Z dan64- quit (Quit: ZNC - http://znc.in) 2017-12-01T21:28:25Z dyelar quit (Quit: Leaving.) 2017-12-01T21:31:07Z duallist joined #lisp 2017-12-01T21:32:22Z fikka joined #lisp 2017-12-01T21:33:52Z KZiemian: I must go, it is to late here 2017-12-01T21:33:57Z KZiemian: say you 2017-12-01T21:34:16Z KZiemian quit (Quit: Page closed) 2017-12-01T21:37:32Z knobo quit (Ping timeout: 240 seconds) 2017-12-01T21:37:34Z scymtym joined #lisp 2017-12-01T21:37:45Z dan64 joined #lisp 2017-12-01T21:39:33Z fikka quit (Quit: leaving) 2017-12-01T21:40:01Z fikka joined #lisp 2017-12-01T21:42:55Z impulse joined #lisp 2017-12-01T21:44:11Z Th30n joined #lisp 2017-12-01T21:44:41Z Younder: rust is a quiet thing 2017-12-01T21:46:35Z Younder: try one of the noisy groups like Haskell, they should be right up your alley. You are a Haskell programmer you just don't know it yet 2017-12-01T21:47:25Z shka quit (Ping timeout: 250 seconds) 2017-12-01T21:48:55Z Younder: If, like me, you love math 2017-12-01T21:49:26Z orivej joined #lisp 2017-12-01T21:54:39Z random-nick quit (Remote host closed the connection) 2017-12-01T21:57:08Z pierpa joined #lisp 2017-12-01T21:59:34Z astronavt joined #lisp 2017-12-01T22:02:37Z whoman: haskell taught me math, or i learned math thru/with haskell 2017-12-01T22:02:53Z phoe quit (Read error: Connection reset by peer) 2017-12-01T22:04:56Z astronavt quit (Ping timeout: 255 seconds) 2017-12-01T22:06:32Z dieggsy quit (Ping timeout: 252 seconds) 2017-12-01T22:11:19Z knobo joined #lisp 2017-12-01T22:12:33Z DeadTrickster_ quit (Read error: Connection reset by peer) 2017-12-01T22:13:04Z DeadTrickster_ joined #lisp 2017-12-01T22:17:26Z Tobbi joined #lisp 2017-12-01T22:19:13Z phoe joined #lisp 2017-12-01T22:19:35Z Bike quit (Ping timeout: 260 seconds) 2017-12-01T22:23:52Z jack_rabbit quit (Ping timeout: 240 seconds) 2017-12-01T22:29:51Z nowhere_man quit (Ping timeout: 268 seconds) 2017-12-01T22:30:15Z nowhere_man joined #lisp 2017-12-01T22:34:39Z pseudonymous quit (Remote host closed the connection) 2017-12-01T22:34:41Z mkew64 quit (Ping timeout: 248 seconds) 2017-12-01T22:34:58Z pseudonymous joined #lisp 2017-12-01T22:35:40Z knobo1 joined #lisp 2017-12-01T22:36:34Z jack_rabbit joined #lisp 2017-12-01T22:38:25Z knobo quit (Ping timeout: 248 seconds) 2017-12-01T22:43:12Z LiamH quit (Quit: Leaving.) 2017-12-01T22:44:18Z mkew64 joined #lisp 2017-12-01T22:49:32Z sjl quit (Ping timeout: 260 seconds) 2017-12-01T22:50:15Z mishoo_ quit (Ping timeout: 250 seconds) 2017-12-01T22:50:36Z whaack joined #lisp 2017-12-01T22:51:43Z arbv quit (Ping timeout: 248 seconds) 2017-12-01T22:52:40Z Bike joined #lisp 2017-12-01T22:52:44Z arbv joined #lisp 2017-12-01T22:53:03Z DeadTrickster_ quit (Read error: Connection reset by peer) 2017-12-01T22:53:26Z DeadTrickster_ joined #lisp 2017-12-01T22:56:57Z arbv quit (Ping timeout: 240 seconds) 2017-12-01T22:58:00Z kokonaisluku joined #lisp 2017-12-01T22:58:16Z arbv joined #lisp 2017-12-01T23:00:42Z astronavt joined #lisp 2017-12-01T23:01:54Z kokonaisluku quit (Client Quit) 2017-12-01T23:03:02Z damke joined #lisp 2017-12-01T23:03:45Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-01T23:04:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T23:05:12Z astronavt quit (Ping timeout: 240 seconds) 2017-12-01T23:08:30Z Tobbi joined #lisp 2017-12-01T23:10:50Z damke_ joined #lisp 2017-12-01T23:12:01Z damke quit (Ping timeout: 240 seconds) 2017-12-01T23:20:13Z nirved quit (Quit: Leaving) 2017-12-01T23:20:58Z neoncontrails joined #lisp 2017-12-01T23:21:26Z knobo1 quit (Ping timeout: 276 seconds) 2017-12-01T23:22:52Z edk is now known as demiurge 2017-12-01T23:27:41Z alexmlw quit (Quit: alexmlw) 2017-12-01T23:28:53Z knobo1 joined #lisp 2017-12-01T23:29:12Z pseudonymous quit (Ping timeout: 260 seconds) 2017-12-01T23:30:44Z wxie joined #lisp 2017-12-01T23:34:23Z damke joined #lisp 2017-12-01T23:34:55Z Th30n quit (Quit: leaving) 2017-12-01T23:35:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T23:38:51Z mson joined #lisp 2017-12-01T23:49:02Z knobo1 quit (Ping timeout: 260 seconds) 2017-12-01T23:49:53Z White_Flame quit (Read error: Connection reset by peer) 2017-12-01T23:50:28Z _rumbler31 quit (Ping timeout: 252 seconds) 2017-12-01T23:50:41Z White_Flame joined #lisp 2017-12-01T23:50:45Z knobo1 joined #lisp 2017-12-01T23:51:02Z damke_ joined #lisp 2017-12-01T23:52:21Z damke quit (Ping timeout: 240 seconds) 2017-12-01T23:54:00Z damke joined #lisp 2017-12-01T23:54:47Z wxie quit (Remote host closed the connection) 2017-12-01T23:55:13Z fikka quit (Ping timeout: 248 seconds) 2017-12-01T23:56:11Z zachk joined #lisp 2017-12-01T23:56:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-01T23:57:55Z pseudonymous joined #lisp 2017-12-01T23:59:41Z damke quit (Ping timeout: 240 seconds) 2017-12-02T00:00:53Z knobo1 quit (Ping timeout: 250 seconds) 2017-12-02T00:01:27Z astronavt joined #lisp 2017-12-02T00:02:21Z jameser joined #lisp 2017-12-02T00:06:07Z astronavt quit (Ping timeout: 258 seconds) 2017-12-02T00:21:21Z fikka joined #lisp 2017-12-02T00:25:35Z mkew64 quit (Ping timeout: 240 seconds) 2017-12-02T00:27:01Z fikka quit (Ping timeout: 268 seconds) 2017-12-02T00:29:55Z cromachina joined #lisp 2017-12-02T00:31:16Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-02T00:32:26Z k-stz quit (Remote host closed the connection) 2017-12-02T00:38:07Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.1)) 2017-12-02T00:44:10Z Guest32558 quit (Quit: WeeChat 1.9.1) 2017-12-02T00:44:17Z pseudonymous quit (Ping timeout: 268 seconds) 2017-12-02T00:46:43Z resttime joined #lisp 2017-12-02T00:49:41Z margeas quit (Ping timeout: 240 seconds) 2017-12-02T00:51:24Z Elronnd joined #lisp 2017-12-02T00:54:37Z Elronnd: I'm trying a to learn webdev with lisp. I looked at a few frameworks, and what I found were clack and ningle, which seemed nice and simple. But I have problems with both of them 2017-12-02T00:55:02Z Elronnd: with ningle, with this simple script, http://sprunge.us/aYTF, when I run it it says it worked and it's listening. But it's definitely not listening 2017-12-02T00:55:38Z Elronnd: with clack, there's a minimal example that says to pass it a lambda taking an env. But it doesn't tell you what things are in the 'env', so how tf do you get at the env? 2017-12-02T00:57:08Z resttime: Elronnd: I'm running your example and I get "HHHG" when I visit localhost:5000 2017-12-02T00:57:14Z resttime: What's the issue? 2017-12-02T00:57:56Z Elronnd: no idea 2017-12-02T00:57:58Z Elronnd: I get this https://files.catbox.moe/srjgnl.png 2017-12-02T00:58:05Z Elronnd: and nothing from a browser either 2017-12-02T00:58:46Z Bike: did the sbcl process terminate? 2017-12-02T00:58:55Z Elronnd: yes 2017-12-02T00:59:02Z Elronnd: I thought it intentionally forked to the background 2017-12-02T00:59:58Z _death: use --load instead of --script 2017-12-02T01:00:01Z resttime: For me: https://files.catbox.moe/6hfblv.png , maybe it's because you're running the file as a script? 2017-12-02T01:00:13Z Bike: yeah i don't think it forks to background. 2017-12-02T01:00:28Z fikka joined #lisp 2017-12-02T01:00:34Z Elronnd: it's working now 2017-12-02T01:00:36Z Elronnd: thanks _death! 2017-12-02T01:02:12Z astronavt joined #lisp 2017-12-02T01:02:21Z damke joined #lisp 2017-12-02T01:02:34Z Elronnd: how do you get the coloured repl? 2017-12-02T01:02:55Z resttime: I'm using SLIME on the emacs editor 2017-12-02T01:03:30Z Elronnd: ah 2017-12-02T01:03:50Z ikki joined #lisp 2017-12-02T01:04:12Z resttime: Which I sure hope you're using it too for dev'ing lisp lol 2017-12-02T01:04:35Z resttime: Or SLIMV for VIM 2017-12-02T01:05:19Z _death: can try https://portacle.github.io/ 2017-12-02T01:05:40Z Elronnd: resttime: yeah I'm using slimv+vim. It's meh but it does the job 2017-12-02T01:06:52Z astronavt quit (Ping timeout: 240 seconds) 2017-12-02T01:07:06Z fikka quit (Ping timeout: 268 seconds) 2017-12-02T01:12:45Z jasom: Elronnd: If you have the time to get it setup, I strongly recommend emacs+slime+evil (evil is a vim compatibility package for emacs). 2017-12-02T01:13:25Z jasom: Elronnd: it's not urgent since slimv+vim "does the job" as you say, but slime is definitely less "meh" and more "wow" 2017-12-02T01:13:59Z Elronnd: ok 2017-12-02T01:14:10Z Elronnd: is there a guide to emacs somewhere? Or should I just dive in? 2017-12-02T01:16:12Z resttime: The Paredit package would be a nice addition to check out as well if you're not too overwhelmed with new stuff. It helps with manipulating/balancing parenthesis. 2017-12-02T01:17:46Z zachk quit (Quit: g'night) 2017-12-02T01:18:18Z resttime: I'd say learn how to configure the emacs to manage packages, get the recommended ones, and then dive in. 2017-12-02T01:18:47Z resttime: So in VIM that would be like "Go get pathogen and install ctrl-p" etc. 2017-12-02T01:19:01Z Elronnd: ok 2017-12-02T01:23:58Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-02T01:24:26Z Tobbi joined #lisp 2017-12-02T01:24:45Z Tobbi quit (Client Quit) 2017-12-02T01:33:09Z pierpa: when you launch emacs it display some useful informations, including pointers to tutorials 2017-12-02T01:33:20Z astronavt joined #lisp 2017-12-02T01:37:45Z neoncontrails quit 2017-12-02T01:38:08Z omilu joined #lisp 2017-12-02T01:41:17Z earl-ducaine joined #lisp 2017-12-02T01:47:21Z damke quit (Ping timeout: 240 seconds) 2017-12-02T01:50:17Z orivej quit (Ping timeout: 276 seconds) 2017-12-02T01:58:34Z kmb quit (Quit: kmb) 2017-12-02T02:03:57Z OUT_61h_al quit (Ping timeout: 240 seconds) 2017-12-02T02:04:11Z intrigue left #lisp 2017-12-02T02:05:54Z OUT_61h_al joined #lisp 2017-12-02T02:07:02Z Oladon1 is now known as Oladon 2017-12-02T02:25:32Z johnnymacs quit (Remote host closed the connection) 2017-12-02T02:27:32Z Karl_Dscc joined #lisp 2017-12-02T02:33:05Z ikki quit (Ping timeout: 248 seconds) 2017-12-02T02:33:06Z d4ryus1 joined #lisp 2017-12-02T02:36:23Z d4ryus quit (Ping timeout: 258 seconds) 2017-12-02T02:37:24Z eSVG joined #lisp 2017-12-02T02:45:47Z KarlDscc joined #lisp 2017-12-02T02:47:01Z ikki joined #lisp 2017-12-02T02:47:38Z fikka joined #lisp 2017-12-02T02:47:41Z Karl_Dscc quit (Ping timeout: 240 seconds) 2017-12-02T02:51:57Z fikka quit (Ping timeout: 240 seconds) 2017-12-02T02:58:28Z KarlDscc quit (Remote host closed the connection) 2017-12-02T02:59:23Z hexfive quit (Quit: WeeChat 1.9.1) 2017-12-02T03:19:05Z terpri quit (Remote host closed the connection) 2017-12-02T03:21:00Z rm8 quit (Quit: i slep) 2017-12-02T03:26:00Z astronavt quit (Remote host closed the connection) 2017-12-02T03:28:12Z OUT_61h_al is now known as saemcro 2017-12-02T03:40:25Z ikki_ joined #lisp 2017-12-02T03:41:58Z fikka joined #lisp 2017-12-02T03:44:02Z ikki quit (Ping timeout: 276 seconds) 2017-12-02T03:46:27Z fikka quit (Ping timeout: 240 seconds) 2017-12-02T03:54:05Z DeadTrickster_ quit (Read error: Connection reset by peer) 2017-12-02T03:54:44Z DeadTrickster_ joined #lisp 2017-12-02T04:05:06Z damke joined #lisp 2017-12-02T04:08:11Z Bike quit (Quit: Lost terminal) 2017-12-02T04:08:16Z pierpa quit (Quit: Page closed) 2017-12-02T04:18:04Z brendyn joined #lisp 2017-12-02T04:22:30Z ebrasca joined #lisp 2017-12-02T04:24:09Z dddddd quit (Remote host closed the connection) 2017-12-02T04:24:29Z ebrasca: Hi 2017-12-02T04:24:46Z ebrasca: I like to get help with: 2017-12-02T04:24:48Z ebrasca: open-network-stream: make client process failed: Connection refused, :name, sly-1, :buffer, nil, :host, 127.0.0.1, :service, 4005, :nowait, nil 2017-12-02T04:29:59Z paul0 quit (Ping timeout: 250 seconds) 2017-12-02T04:30:37Z nika joined #lisp 2017-12-02T04:33:07Z jameser joined #lisp 2017-12-02T04:35:01Z jameser quit (Client Quit) 2017-12-02T04:35:54Z ikki_ quit (Ping timeout: 260 seconds) 2017-12-02T04:36:47Z jameser joined #lisp 2017-12-02T04:38:34Z mson quit (Quit: Connection closed for inactivity) 2017-12-02T04:45:08Z ebrasca: I have read http://joaotavora.github.io/sly/#Connecting-to-a-remote-Lisp but I can't make sly to connect. 2017-12-02T04:49:50Z paul0 joined #lisp 2017-12-02T04:50:14Z grublet quit (Ping timeout: 252 seconds) 2017-12-02T04:55:49Z mson joined #lisp 2017-12-02T04:57:12Z orivej joined #lisp 2017-12-02T04:58:35Z Guest1878 quit (Ping timeout: 240 seconds) 2017-12-02T04:59:21Z waveprop joined #lisp 2017-12-02T04:59:45Z waveprop is now known as Guest29042 2017-12-02T05:02:32Z jasom: Elronnd: https://jasom.github.io/clack-tutorial/pages/getting-started-with-clack/ please tell me any questions about clack not answered there so I can improve it (it's still a draft) 2017-12-02T05:03:16Z jasom: Elronnd: and it includes a link to the official docs for what env is: http://quickdocs.org/lack/#the-environment 2017-12-02T05:06:38Z damke_ joined #lisp 2017-12-02T05:07:01Z damke quit (Ping timeout: 240 seconds) 2017-12-02T05:07:55Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-02T05:08:37Z wxie joined #lisp 2017-12-02T05:09:43Z sjl joined #lisp 2017-12-02T05:13:57Z sjl quit (Ping timeout: 240 seconds) 2017-12-02T05:14:33Z DeadTrickster_ quit (Read error: Connection reset by peer) 2017-12-02T05:15:09Z DeadTrickster joined #lisp 2017-12-02T05:21:00Z raphaelss joined #lisp 2017-12-02T05:22:13Z wxie quit (Remote host closed the connection) 2017-12-02T05:28:28Z beach: Good morning everyone! 2017-12-02T05:29:21Z eSVG quit (Ping timeout: 250 seconds) 2017-12-02T05:29:50Z fikka joined #lisp 2017-12-02T05:33:08Z arbv quit (Ping timeout: 255 seconds) 2017-12-02T05:34:18Z arbv joined #lisp 2017-12-02T05:34:44Z fikka quit (Ping timeout: 268 seconds) 2017-12-02T05:44:48Z jmsb quit (Remote host closed the connection) 2017-12-02T05:45:39Z resttime quit (Quit: Leaving) 2017-12-02T05:48:08Z damke joined #lisp 2017-12-02T05:49:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-02T05:52:35Z damke_ joined #lisp 2017-12-02T05:52:36Z eSVG joined #lisp 2017-12-02T05:54:01Z damke quit (Ping timeout: 240 seconds) 2017-12-02T06:00:10Z wheelsucker joined #lisp 2017-12-02T06:10:02Z red-dot joined #lisp 2017-12-02T06:15:39Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-02T06:16:16Z DeadTrickster joined #lisp 2017-12-02T06:16:28Z asarch quit (Quit: Leaving) 2017-12-02T06:16:44Z earl-ducaine quit (Remote host closed the connection) 2017-12-02T06:16:59Z earl-ducaine joined #lisp 2017-12-02T06:24:21Z vlatkoB joined #lisp 2017-12-02T06:26:09Z arbv quit (Ping timeout: 248 seconds) 2017-12-02T06:26:37Z wheelsucker quit (Quit: Client Quit) 2017-12-02T06:27:01Z arbv joined #lisp 2017-12-02T06:38:13Z wigust joined #lisp 2017-12-02T06:45:05Z fikka joined #lisp 2017-12-02T06:49:37Z fikka quit (Ping timeout: 248 seconds) 2017-12-02T06:55:00Z wheelsucker joined #lisp 2017-12-02T07:02:09Z damke joined #lisp 2017-12-02T07:03:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-02T07:04:03Z FreeBirdLjj joined #lisp 2017-12-02T07:04:51Z rippa joined #lisp 2017-12-02T07:05:02Z alexmlw joined #lisp 2017-12-02T07:06:12Z mathi_aihtam joined #lisp 2017-12-02T07:07:09Z marusich joined #lisp 2017-12-02T07:17:28Z mathi_aihtam quit (Quit: mathi_aihtam) 2017-12-02T07:17:58Z mathi_aihtam joined #lisp 2017-12-02T07:19:02Z mathi_aihtam quit (Read error: Connection reset by peer) 2017-12-02T07:19:15Z mathi_aihtam joined #lisp 2017-12-02T07:23:59Z wheelsucker quit (Read error: Connection reset by peer) 2017-12-02T07:35:55Z wheelsucker joined #lisp 2017-12-02T07:38:57Z myrkraverk quit (Ping timeout: 240 seconds) 2017-12-02T07:39:54Z mathi_aihtam quit (Quit: mathi_aihtam) 2017-12-02T07:41:08Z jack_rabbit quit (Quit: Leaving) 2017-12-02T07:41:53Z NaNDude quit (Ping timeout: 248 seconds) 2017-12-02T07:42:03Z mathi_aihtam joined #lisp 2017-12-02T07:43:29Z Guest29042 quit (Quit: leaving) 2017-12-02T07:44:56Z jack_rabbit joined #lisp 2017-12-02T07:51:58Z smurfrobot joined #lisp 2017-12-02T07:56:35Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-02T07:57:00Z DeadTrickster joined #lisp 2017-12-02T08:03:24Z easye joined #lisp 2017-12-02T08:04:26Z jameser joined #lisp 2017-12-02T08:05:29Z mathi_aihtam quit (Quit: mathi_aihtam) 2017-12-02T08:14:14Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-02T08:15:06Z jameser joined #lisp 2017-12-02T08:25:51Z easye quit (Remote host closed the connection) 2017-12-02T08:26:19Z easye joined #lisp 2017-12-02T08:32:19Z knobo1 joined #lisp 2017-12-02T08:32:41Z nowhere_man quit (Ping timeout: 240 seconds) 2017-12-02T08:33:51Z myrkraverk joined #lisp 2017-12-02T08:42:21Z duallist quit (Quit: WeeChat 1.4) 2017-12-02T08:42:22Z zmt00 quit (Quit: Leaving) 2017-12-02T08:43:03Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-02T08:45:51Z sjl joined #lisp 2017-12-02T08:45:57Z pseudonymous joined #lisp 2017-12-02T08:48:34Z mson quit (Quit: Connection closed for inactivity) 2017-12-02T08:50:42Z sjl quit (Ping timeout: 260 seconds) 2017-12-02T08:51:12Z marusich quit (Quit: Leaving) 2017-12-02T09:04:44Z zooey quit (Ping timeout: 248 seconds) 2017-12-02T09:10:33Z zooey joined #lisp 2017-12-02T09:27:30Z smurfrobot quit (Remote host closed the connection) 2017-12-02T09:29:43Z juki joined #lisp 2017-12-02T09:37:40Z arbv quit (Ping timeout: 258 seconds) 2017-12-02T09:38:50Z SlowJimmy joined #lisp 2017-12-02T09:39:22Z SlowJimmy quit (Read error: Connection reset by peer) 2017-12-02T09:39:30Z arbv joined #lisp 2017-12-02T09:39:35Z mishoo_ joined #lisp 2017-12-02T09:42:23Z wxie joined #lisp 2017-12-02T09:45:06Z pseudonymous quit (Ping timeout: 268 seconds) 2017-12-02T09:48:06Z mishoo_ quit (Ping timeout: 260 seconds) 2017-12-02T09:51:09Z SlowJimmy joined #lisp 2017-12-02T09:52:25Z KZiemian joined #lisp 2017-12-02T09:55:07Z frob joined #lisp 2017-12-02T09:55:19Z fikka joined #lisp 2017-12-02T09:55:31Z frob is now known as Guest34322 2017-12-02T09:57:33Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-02T09:57:56Z DeadTrickster joined #lisp 2017-12-02T10:04:09Z KZiemian: phoe: are on the other side? 2017-12-02T10:06:07Z shka joined #lisp 2017-12-02T10:07:41Z damke quit (Ping timeout: 240 seconds) 2017-12-02T10:12:14Z fikka quit (Ping timeout: 268 seconds) 2017-12-02T10:16:15Z orivej quit (Quit: No Ping reply in 180 seconds.) 2017-12-02T10:17:22Z orivej joined #lisp 2017-12-02T10:21:46Z d4ryus1 is now known as d4ryus 2017-12-02T10:22:54Z BitPuffin|osx joined #lisp 2017-12-02T10:22:54Z damke joined #lisp 2017-12-02T10:27:35Z KZiemian quit (Ping timeout: 260 seconds) 2017-12-02T10:28:01Z smurfrobot joined #lisp 2017-12-02T10:28:54Z random-nick joined #lisp 2017-12-02T10:36:47Z nika quit (Quit: Leaving...) 2017-12-02T10:37:20Z smurfrobot quit (Ping timeout: 255 seconds) 2017-12-02T10:42:14Z jackdaniel: join the dark side - we have cookies and free meals 2017-12-02T10:42:17Z Karl_Dscc joined #lisp 2017-12-02T10:42:17Z margeas joined #lisp 2017-12-02T10:46:23Z sjl joined #lisp 2017-12-02T10:50:41Z sjl quit (Ping timeout: 248 seconds) 2017-12-02T10:51:08Z josemanuel quit (Quit: leaving) 2017-12-02T10:52:06Z fikka joined #lisp 2017-12-02T10:53:51Z BitPuffin|osx quit (Ping timeout: 248 seconds) 2017-12-02T10:54:28Z quazimodo joined #lisp 2017-12-02T10:55:27Z wxie quit (Ping timeout: 248 seconds) 2017-12-02T10:58:41Z dotcra is now known as dotc 2017-12-02T10:58:41Z shifty quit (Ping timeout: 248 seconds) 2017-12-02T11:01:43Z fikka quit (Ping timeout: 250 seconds) 2017-12-02T11:02:41Z damke quit (Ping timeout: 240 seconds) 2017-12-02T11:05:06Z juki quit (Ping timeout: 260 seconds) 2017-12-02T11:06:19Z tomw joined #lisp 2017-12-02T11:09:24Z damke joined #lisp 2017-12-02T11:12:48Z epony quit (Quit: QUIT) 2017-12-02T11:18:55Z quazimodo quit (Ping timeout: 248 seconds) 2017-12-02T11:21:20Z Th30n joined #lisp 2017-12-02T11:42:25Z ikki_ joined #lisp 2017-12-02T11:47:13Z Guest34322 quit (Ping timeout: 248 seconds) 2017-12-02T11:47:27Z fikka joined #lisp 2017-12-02T11:47:43Z arbv quit (Ping timeout: 248 seconds) 2017-12-02T11:48:57Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-02T11:50:43Z nowhere_man joined #lisp 2017-12-02T11:52:02Z fikka quit (Ping timeout: 255 seconds) 2017-12-02T11:52:05Z knobo2 joined #lisp 2017-12-02T11:53:26Z arbv joined #lisp 2017-12-02T11:55:01Z knobo1 quit (Ping timeout: 250 seconds) 2017-12-02T12:06:33Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-02T12:10:12Z varjag joined #lisp 2017-12-02T12:11:43Z atlan joined #lisp 2017-12-02T12:12:05Z Th30n quit (Ping timeout: 240 seconds) 2017-12-02T12:12:12Z atlan: 13:11 *** NAMES @fe[nl]ix __main__ _death _krator44 _Trasformatore_ _whitelogger ``Erik aaronjensen abbe add^__ adulteratedjedi AeroNotix aeth aijony akash47 akr alandipert alexmlw alms_clozure alphor amer angavrilov angular_mike antismap AntiSpamMeta antoszka aoh arbv Arcaelyx argoneus Aritheanie arrsim ArthurAGleckler[ asedeno askatasuna astronavt[m] atlan azrazalea banjiewen beach beaky benny billstclair bitch Bl 2017-12-02T12:12:12Z atlan quit (Killed (Sigyn (Spam is off topic on freenode.))) 2017-12-02T12:12:37Z wxie joined #lisp 2017-12-02T12:20:55Z wxie quit (Remote host closed the connection) 2017-12-02T12:23:49Z ikki_ is now known as ikki 2017-12-02T12:25:20Z random-nick quit (Quit: quit) 2017-12-02T12:25:35Z random-nick joined #lisp 2017-12-02T12:28:17Z varjag quit (Ping timeout: 248 seconds) 2017-12-02T12:29:35Z vaporatorius quit (Ping timeout: 240 seconds) 2017-12-02T12:29:42Z vaporatorius joined #lisp 2017-12-02T12:29:42Z vaporatorius quit (Changing host) 2017-12-02T12:29:42Z vaporatorius joined #lisp 2017-12-02T12:30:17Z varjag joined #lisp 2017-12-02T12:30:42Z Tobbi joined #lisp 2017-12-02T12:33:35Z smurfrobot joined #lisp 2017-12-02T12:34:10Z Bike joined #lisp 2017-12-02T12:38:45Z epony joined #lisp 2017-12-02T12:39:48Z Th30n joined #lisp 2017-12-02T12:41:53Z fikka joined #lisp 2017-12-02T12:42:17Z mishoo_ joined #lisp 2017-12-02T12:44:17Z phoe: is that a misconfigured IRC client, or just someone being a dick? 2017-12-02T12:45:38Z jackdaniel: looks like accidential paste. no need to call people (even hypothetically) dicks without a good reason 2017-12-02T12:48:55Z Younder: every has and is someones D&A 2017-12-02T12:50:01Z phoe: that's what I meant by a misconfigured IRC client, you're right. 2017-12-02T12:50:35Z osune joined #lisp 2017-12-02T12:50:41Z Younder: perhaps we should just live with it. This society has become somewhat excessively polite. Next we will all be hypocritical liars. 2017-12-02T12:52:20Z fikka quit (Ping timeout: 255 seconds) 2017-12-02T12:53:45Z phoe: we are already beginning to become them 2017-12-02T12:56:23Z jackdaniel: speak for yourself ;) 2017-12-02T12:57:51Z BitPuffin|osx joined #lisp 2017-12-02T13:01:29Z damke_ joined #lisp 2017-12-02T13:01:58Z dddddd joined #lisp 2017-12-02T13:02:49Z smurfrobot quit (Remote host closed the connection) 2017-12-02T13:02:52Z ski quit (Quit: Lost terminal) 2017-12-02T13:03:41Z damke quit (Ping timeout: 240 seconds) 2017-12-02T13:03:56Z asarch joined #lisp 2017-12-02T13:05:25Z _paul0 joined #lisp 2017-12-02T13:07:12Z phoe: ;) 2017-12-02T13:07:30Z Shinmera joined #lisp 2017-12-02T13:08:47Z paul0 quit (Ping timeout: 248 seconds) 2017-12-02T13:10:38Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-02T13:25:38Z EvW joined #lisp 2017-12-02T13:27:54Z Tobbi joined #lisp 2017-12-02T13:28:20Z scymtym quit (Ping timeout: 268 seconds) 2017-12-02T13:28:23Z phoe: How can I get a list of ALL subclasses of a given class, direct and indirect? 2017-12-02T13:28:55Z phoe: Other than repeatedly using CLASS-DIRECT-SUBCLASSES, that is. 2017-12-02T13:29:22Z Shinmera: Repeatedly using CLASS-DIRECT-SUBCLASSES. 2017-12-02T13:34:00Z phoe: Is there no utility function for this anywhere? 2017-12-02T13:35:26Z Shinmera: (defun class-subclasses (c) (let (r) (labels ((r (c) (unless (find c r) (push c r) (mapc #'r (c2mop:class-direct-subclasses c))))) (r c)))) 2017-12-02T13:35:29Z Shinmera: Now there is 2017-12-02T13:35:42Z Shinmera: Err, if you return r at the end there. 2017-12-02T13:35:55Z fikka joined #lisp 2017-12-02T13:37:58Z phoe: Thanks. 2017-12-02T13:38:05Z phoe: This *should* be in a utility library somewhere. 2017-12-02T13:38:33Z Shinmera: Most utility libraries don't want to pull in C2MOP. 2017-12-02T13:38:43Z phoe: Agreed. 2017-12-02T13:40:48Z mson joined #lisp 2017-12-02T13:40:49Z fikka quit (Ping timeout: 248 seconds) 2017-12-02T13:42:32Z python476 joined #lisp 2017-12-02T13:42:39Z FreeBirdLjj joined #lisp 2017-12-02T13:43:20Z scymtym joined #lisp 2017-12-02T13:45:12Z smurfrobot joined #lisp 2017-12-02T13:49:28Z beach: chls pushnew 2017-12-02T13:49:34Z beach: clhs pushnew 2017-12-02T13:49:34Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_pshnew.htm 2017-12-02T13:50:28Z Shinmera: beach: Was that meant for my snippet? 2017-12-02T13:50:34Z _death: phoe: there are utility libraries for the mop, like moptilities 2017-12-02T13:51:09Z beach: Shinmera: Yes. Always use the most specific construct that will do the job. 2017-12-02T13:51:28Z Shinmera: beach: I specifically don't use pushnew because the unless also prevents re-traversing the subclasses if the class was already traversed. 2017-12-02T13:51:49Z beach: Ah, right, I see that now. Funny what lack of indentation will do. 2017-12-02T13:51:54Z Shinmera: :) 2017-12-02T13:52:52Z beach: You should definitely do (let ((r '())) ...) though, rather than (let (r) ...). 2017-12-02T13:53:01Z Shinmera: Sure. I should also not use single-letter names. 2017-12-02T13:53:18Z beach: True, dat. 2017-12-02T13:53:19Z Shinmera: I wrote it as concisely as I could directly in IRC. 2017-12-02T13:53:42Z beach: I understand. And I will now go back to more important stuff. :) 2017-12-02T13:58:10Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-02T13:59:00Z python476 quit (Read error: Connection reset by peer) 2017-12-02T13:59:01Z froggey quit (Ping timeout: 240 seconds) 2017-12-02T14:01:10Z froggey joined #lisp 2017-12-02T14:03:10Z motersen joined #lisp 2017-12-02T14:03:57Z motersen quit (Client Quit) 2017-12-02T14:08:05Z FreeBirdLjj joined #lisp 2017-12-02T14:08:24Z k-stz joined #lisp 2017-12-02T14:08:50Z smurfrobot quit (Remote host closed the connection) 2017-12-02T14:11:46Z motersen joined #lisp 2017-12-02T14:13:16Z raynold quit (Quit: Connection closed for inactivity) 2017-12-02T14:13:30Z NaNDude joined #lisp 2017-12-02T14:15:36Z motersen quit (Client Quit) 2017-12-02T14:16:00Z motersen joined #lisp 2017-12-02T14:20:48Z karswell joined #lisp 2017-12-02T14:21:22Z jstoddard joined #lisp 2017-12-02T14:21:55Z eSVG quit (Ping timeout: 250 seconds) 2017-12-02T14:24:35Z red-dot joined #lisp 2017-12-02T14:25:51Z terpri joined #lisp 2017-12-02T14:27:33Z osune: where do i find videos of the european lisp symposium from 2014 ? 2017-12-02T14:28:47Z ikki quit (Ping timeout: 268 seconds) 2017-12-02T14:29:43Z Shinmera: There probably aren't any. 2017-12-02T14:31:10Z smurfrobot joined #lisp 2017-12-02T14:37:10Z damke joined #lisp 2017-12-02T14:37:18Z osune: bummer 2017-12-02T14:37:24Z phoe: _death: ooh, thanks. 2017-12-02T14:39:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-02T14:45:01Z damke quit (Ping timeout: 240 seconds) 2017-12-02T14:45:21Z motersen quit (Ping timeout: 248 seconds) 2017-12-02T14:48:24Z knobo3 joined #lisp 2017-12-02T14:49:55Z moei quit (Quit: Leaving...) 2017-12-02T14:51:54Z knobo2 quit (Ping timeout: 260 seconds) 2017-12-02T14:54:03Z joast quit (Ping timeout: 268 seconds) 2017-12-02T15:00:59Z dddddd quit (Remote host closed the connection) 2017-12-02T15:11:56Z fikka joined #lisp 2017-12-02T15:12:14Z ebrasca quit (Read error: Connection reset by peer) 2017-12-02T15:12:30Z ebrasca joined #lisp 2017-12-02T15:16:15Z fikka quit (Ping timeout: 248 seconds) 2017-12-02T15:26:59Z palter joined #lisp 2017-12-02T15:27:12Z smurfrobot quit (Remote host closed the connection) 2017-12-02T15:30:59Z ngqrl quit (Changing host) 2017-12-02T15:30:59Z ngqrl joined #lisp 2017-12-02T15:38:25Z phoe: Can I put any kind of hook that will execute whenever a class is being defined via DEFCLASS? 2017-12-02T15:39:33Z Xach: phoe: I haven't done that much, but my first instinct is via a metaclass and the standard initialize-instance stuff on it. 2017-12-02T15:43:19Z myrkraverk_ joined #lisp 2017-12-02T15:43:34Z smurfrobot joined #lisp 2017-12-02T15:43:37Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-02T15:44:15Z myrkraverk quit (Ping timeout: 250 seconds) 2017-12-02T15:44:26Z myrkraverk_ is now known as myrkraverk 2017-12-02T15:45:41Z angavrilov quit (Ping timeout: 240 seconds) 2017-12-02T15:45:57Z angavrilov joined #lisp 2017-12-02T15:49:49Z phoe: Xach: I mean, I want to execute code every time a DEFCLASS is issued. 2017-12-02T15:50:19Z Xach: phoe: Right. That is what I mean too. 2017-12-02T15:50:32Z mson quit (Quit: Connection closed for inactivity) 2017-12-02T15:50:39Z phoe: Hmmm. This means that my classes would need custom metaclasses. 2017-12-02T15:50:56Z Xach: Yes. I think that might be the only standardly way. 2017-12-02T15:51:59Z phoe: My problem is, I'm defining some protocol classes that are not meant to be instantiated. This class can be subclassed, both by other protocol classes and by concrete classes. 2017-12-02T15:53:05Z phoe: I want a programmatic way to get all concrete subclasses of a given protocol class. So, for example, if there's a protocol class A, a concrete class B that subclasses A, a protocol class C that subclasses A, and a concrete class D that subclasses C, (class-concrete-classes 'a) should return (B D). 2017-12-02T15:53:43Z pjb: you can get them using the MOP at runtime. 2017-12-02T15:54:03Z phoe: pjb: I don't know how to differentiate protocol classes from concrete classes. 2017-12-02T15:54:28Z pjb: You could use a different metaclass. 2017-12-02T15:54:41Z pjb: That could be useful to do some other things, if you need to differentiate them. 2017-12-02T15:54:57Z phoe: I have power over how I define protocol classes, so I can just enumerate them in some sort of list or hash table or whatever. But I have no power over redefining classes, so if the user defines class A as a concrete class, then my records are no longer valid. 2017-12-02T15:55:12Z pjb: Alternatively, protocol classes or concrete classes, or both, could inherit from a protocol or concrete abstract superclass. 2017-12-02T15:55:22Z phoe: pjb: I'm using Qtools which uses its own custom metaclass, already. 2017-12-02T15:55:39Z pjb: So, using a specific superclass for protocols. 2017-12-02T15:55:54Z phoe: pjb: this won't work, because each concrete class would be a subclass of a protocol class which would be a subclass of that specific superclass for protocols. 2017-12-02T15:56:05Z phoe: So each concrete class would be an indirect subclass of that specific protocol class. 2017-12-02T15:56:12Z phoe: Just like all protocol classes. 2017-12-02T15:56:51Z pjb: If you have control over defining protocol classes, then you can use a specific macro that will record them as such. 2017-12-02T15:56:54Z phoe: Like, I have a protocol class LOGGER, a concrete class STANDARD-LOGGER subclassing LOGGER, a protocol class FANCY-LOGGER subclassing LOGGER, a concrete class STANDARD-FANCY-LOGGER subclassing FANCY-LOGGER. 2017-12-02T15:56:57Z pjb: (in addition to expand to a defclass). 2017-12-02T15:57:07Z phoe: Yes, I have already said, I have control over recording them. 2017-12-02T15:57:18Z phoe: I have no control over the user removing or redefining them. 2017-12-02T15:58:58Z phoe: So I wish I had some standard means of introducing global hooks whenever a class is (re)defined. 2017-12-02T15:59:06Z jstoddard quit (Ping timeout: 260 seconds) 2017-12-02T15:59:07Z Shinmera: Provide a facility to define your protocol classes that maintains the state, rather than letting them use just defclass. 2017-12-02T15:59:18Z Shinmera: so a wrapper around defclass. 2017-12-02T15:59:23Z Shinmera: and then: document and trust 2017-12-02T15:59:30Z phoe: Hah, so what I'm already doing. 2017-12-02T15:59:33Z jstoddard joined #lisp 2017-12-02T15:59:38Z phoe: Fine. 2017-12-02T15:59:51Z pjb: phoe: McCLIM does this by providing its own defclass macro. 2017-12-02T16:00:14Z Shinmera: Generally if you tell your users how to do something, they won't go against you unless they already have good reason to, or are somehow oblivious. In the latter case you did not document well enough 2017-12-02T16:00:37Z Shinmera: And in the former case there's no reason to struggle anyway because they will do what they want no matter. 2017-12-02T16:01:03Z damke joined #lisp 2017-12-02T16:02:08Z moei joined #lisp 2017-12-02T16:02:28Z pjb: phoe: then I would say, you should think about what makes a protocol class vs. a concrete class, if the user can redefine them. 2017-12-02T16:02:33Z jstoddar` joined #lisp 2017-12-02T16:02:43Z jstoddard quit (Remote host closed the connection) 2017-12-02T16:03:15Z pjb: phoe: also when it's done. Granted, one can define or redefine classes at run-time, but defclass is a macro, so clearly, creating classes at run-time is rather a rare occurence (changing classes may be more frequent). 2017-12-02T16:03:25Z damke_ joined #lisp 2017-12-02T16:03:43Z pjb: phoe: so perhaps you want a pair of run-time functions: register-protocol-class unregister-protocol-class 2017-12-02T16:05:41Z damke quit (Ping timeout: 240 seconds) 2017-12-02T16:13:43Z eudoxia joined #lisp 2017-12-02T16:17:29Z yurichev joined #lisp 2017-12-02T16:18:29Z phoe: I think so, yes. 2017-12-02T16:19:57Z serviteur joined #lisp 2017-12-02T16:20:37Z foschia joined #lisp 2017-12-02T16:21:24Z foschia quit (Quit: Leaving) 2017-12-02T16:26:17Z juki joined #lisp 2017-12-02T16:29:24Z saemcro left #lisp 2017-12-02T16:34:02Z wigust_ joined #lisp 2017-12-02T16:37:19Z wigust quit (Ping timeout: 248 seconds) 2017-12-02T16:39:02Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-02T16:39:45Z DeadTrickster joined #lisp 2017-12-02T16:40:38Z asarch quit (Quit: Leaving) 2017-12-02T16:41:49Z joast joined #lisp 2017-12-02T16:49:41Z ikki joined #lisp 2017-12-02T16:51:23Z gargaml joined #lisp 2017-12-02T16:57:49Z osune quit (Quit: rl needs me) 2017-12-02T17:00:06Z fikka joined #lisp 2017-12-02T17:00:44Z nowhere_man quit (Ping timeout: 255 seconds) 2017-12-02T17:03:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-02T17:04:30Z damke_ joined #lisp 2017-12-02T17:04:51Z fikka quit (Ping timeout: 250 seconds) 2017-12-02T17:04:59Z Josh_2 joined #lisp 2017-12-02T17:07:00Z ryanwatkins joined #lisp 2017-12-02T17:09:54Z borodust: hi Xach, do you have a couple of moments for quick debug session? 2017-12-02T17:10:04Z borodust: hello #lisp 2017-12-02T17:10:09Z Josh_2: Evening borodust 2017-12-02T17:10:11Z Xach: borodust: Sure! 2017-12-02T17:10:13Z Xach: I can try stuff 2017-12-02T17:10:23Z borodust: i'll pm you 2017-12-02T17:10:26Z Xach: Ok 2017-12-02T17:12:14Z Xach waits patiently 2017-12-02T17:12:34Z SaganMan joined #lisp 2017-12-02T17:14:15Z borodust: forgot how to open a query buffer for a moment ;p 2017-12-02T17:18:39Z gargaml quit (Quit: WeeChat 1.9.1) 2017-12-02T17:21:54Z knobo4 joined #lisp 2017-12-02T17:24:41Z wanzohanzo joined #lisp 2017-12-02T17:24:49Z knobo3 quit (Ping timeout: 248 seconds) 2017-12-02T17:25:09Z smurfrobot quit (Remote host closed the connection) 2017-12-02T17:25:14Z Elronnd: jasom: neat, bookmarked, thanks! 2017-12-02T17:25:24Z smurfrobot joined #lisp 2017-12-02T17:26:29Z nowhere_man joined #lisp 2017-12-02T17:28:08Z wanzohanzo quit (Remote host closed the connection) 2017-12-02T17:28:21Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-02T17:28:47Z motersen joined #lisp 2017-12-02T17:29:38Z ikki quit (Ping timeout: 260 seconds) 2017-12-02T17:32:45Z fikka joined #lisp 2017-12-02T17:32:50Z mejja joined #lisp 2017-12-02T17:34:27Z brendyn quit (Ping timeout: 240 seconds) 2017-12-02T17:36:48Z shenghi quit (Read error: Connection reset by peer) 2017-12-02T17:37:03Z shenghi joined #lisp 2017-12-02T17:38:21Z eudoxia quit (Quit: Leaving) 2017-12-02T17:38:30Z fikka quit (Ping timeout: 260 seconds) 2017-12-02T17:39:47Z smurfrobot quit (Remote host closed the connection) 2017-12-02T17:40:20Z jmsb joined #lisp 2017-12-02T17:41:07Z jstoddar` quit (Remote host closed the connection) 2017-12-02T17:41:58Z atlan joined #lisp 2017-12-02T17:47:14Z SaganMan: Good Morning peeps 2017-12-02T17:47:40Z atlan left #lisp 2017-12-02T17:48:49Z nowhere_man quit (Ping timeout: 248 seconds) 2017-12-02T17:49:55Z atlan joined #lisp 2017-12-02T17:50:32Z motersen quit (Ping timeout: 260 seconds) 2017-12-02T17:52:22Z atlan: Hi, I'm having trouble with quickload trying to find something from sbcl 1.4.1 when I've got 1.4.2 locally. Could I tell it to look in a different dir? I'm running brewed sbcl on macos sierra 2017-12-02T17:53:59Z zmt00 joined #lisp 2017-12-02T17:56:54Z jstoddard joined #lisp 2017-12-02T17:56:57Z karswell quit (Ping timeout: 240 seconds) 2017-12-02T17:58:08Z didi joined #lisp 2017-12-02T17:58:54Z didi: Does SERIES have a maintainer? 2017-12-02T18:03:35Z Arcaelyx quit (Remote host closed the connection) 2017-12-02T18:05:25Z AlexeyKamenew joined #lisp 2017-12-02T18:06:37Z smurfrobot joined #lisp 2017-12-02T18:06:42Z AlexeyKamenew quit (Remote host closed the connection) 2017-12-02T18:07:04Z AlexeyKamenew joined #lisp 2017-12-02T18:09:33Z EvW quit (Quit: EvW) 2017-12-02T18:10:08Z AlexeyKamenew is now known as Green___ 2017-12-02T18:10:16Z Green___ is now known as Rebo 2017-12-02T18:10:31Z Rebo is now known as Green___ 2017-12-02T18:14:36Z Green___ is now known as Rebo 2017-12-02T18:17:31Z pfdietz joined #lisp 2017-12-02T18:18:09Z ryanwatkins quit (Read error: Connection reset by peer) 2017-12-02T18:20:29Z wheelsucker quit (Quit: Client Quit) 2017-12-02T18:20:45Z damke joined #lisp 2017-12-02T18:21:08Z shifty joined #lisp 2017-12-02T18:22:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-02T18:25:15Z alexmlw quit (Quit: alexmlw) 2017-12-02T18:25:39Z damke_ joined #lisp 2017-12-02T18:25:51Z EvW joined #lisp 2017-12-02T18:26:41Z damke quit (Ping timeout: 240 seconds) 2017-12-02T18:27:00Z fikka joined #lisp 2017-12-02T18:30:42Z SaganMan quit (Quit: laters) 2017-12-02T18:31:42Z fikka quit (Ping timeout: 260 seconds) 2017-12-02T18:32:04Z OinkOink- joined #lisp 2017-12-02T18:33:41Z tomw quit (Ping timeout: 260 seconds) 2017-12-02T18:34:55Z ryan_vw quit (Read error: Connection reset by peer) 2017-12-02T18:36:15Z turkja quit (Ping timeout: 248 seconds) 2017-12-02T18:36:21Z narendraj9 joined #lisp 2017-12-02T18:40:33Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-02T18:40:59Z DeadTrickster joined #lisp 2017-12-02T18:41:42Z Guest84297 quit (Remote host closed the connection) 2017-12-02T18:42:05Z Guest84297 joined #lisp 2017-12-02T18:53:19Z narendraj9 quit (Ping timeout: 268 seconds) 2017-12-02T18:54:37Z Tobbi quit (Quit: Leaving) 2017-12-02T18:59:02Z Tobbi joined #lisp 2017-12-02T19:01:05Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-02T19:02:04Z DeadTrickster joined #lisp 2017-12-02T19:02:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-02T19:03:08Z smurfrobot quit (Remote host closed the connection) 2017-12-02T19:04:41Z Arcaelyx joined #lisp 2017-12-02T19:05:08Z dddddd joined #lisp 2017-12-02T19:06:00Z aijony quit (Read error: Connection reset by peer) 2017-12-02T19:06:33Z aijony joined #lisp 2017-12-02T19:06:46Z damke joined #lisp 2017-12-02T19:10:55Z smurfrobot joined #lisp 2017-12-02T19:12:07Z damke_ joined #lisp 2017-12-02T19:14:41Z damke quit (Ping timeout: 240 seconds) 2017-12-02T19:15:16Z Jesin joined #lisp 2017-12-02T19:15:54Z ikki joined #lisp 2017-12-02T19:20:17Z phoe: quicklisp fetches it from sourceforce, where it has not been updated since 2010 2017-12-02T19:21:09Z didi: phoe: I see. There is https://github.com/tokenrove/series with some commits after 2010. 2017-12-02T19:21:22Z fikka joined #lisp 2017-12-02T19:21:31Z didi: s/some/a few 2017-12-02T19:25:41Z fikka quit (Ping timeout: 240 seconds) 2017-12-02T19:26:57Z smurfrobot quit (Remote host closed the connection) 2017-12-02T19:27:06Z msb quit (Read error: Connection reset by peer) 2017-12-02T19:27:36Z zachk joined #lisp 2017-12-02T19:28:24Z smurfrobot joined #lisp 2017-12-02T19:29:56Z msb joined #lisp 2017-12-02T19:30:59Z OinkOink- quit (Quit: Leaving) 2017-12-02T19:31:05Z BitPuffin|osx quit (Ping timeout: 276 seconds) 2017-12-02T19:33:44Z vlatkoB quit (Read error: Connection reset by peer) 2017-12-02T19:34:55Z phoe: didi: you could contact the author of this fork and perhaps open a quicklisp-projects issue for changing the mirror. 2017-12-02T19:35:46Z didi: phoe: Thanks, but I don't think I have enough information to open such issue. 2017-12-02T19:36:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-02T19:47:50Z damke_ joined #lisp 2017-12-02T19:50:15Z smurfrobot quit (Remote host closed the connection) 2017-12-02T19:59:20Z Th30n quit (Quit: leaving) 2017-12-02T20:02:35Z knobo joined #lisp 2017-12-02T20:05:52Z knobo4 quit (Ping timeout: 240 seconds) 2017-12-02T20:07:08Z mson joined #lisp 2017-12-02T20:07:40Z smurfrobot joined #lisp 2017-12-02T20:08:16Z safe joined #lisp 2017-12-02T20:10:38Z shenghi quit (Ping timeout: 260 seconds) 2017-12-02T20:11:04Z shenghi joined #lisp 2017-12-02T20:11:06Z easye quit (Ping timeout: 260 seconds) 2017-12-02T20:23:33Z mathi_aihtam joined #lisp 2017-12-02T20:23:56Z smurfrobot quit (Remote host closed the connection) 2017-12-02T20:28:28Z phoe: didi: then just open it and let it stay open. Perhaps someone else will be able to pick it up. 2017-12-02T20:34:38Z Rebo quit 2017-12-02T20:38:57Z yurichev quit (Ping timeout: 248 seconds) 2017-12-02T20:42:40Z sz0 quit (Quit: Connection closed for inactivity) 2017-12-02T20:43:05Z pseudonymous joined #lisp 2017-12-02T20:45:09Z arbv quit (Read error: Connection reset by peer) 2017-12-02T20:45:51Z damke joined #lisp 2017-12-02T20:47:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-02T20:48:00Z damke_ joined #lisp 2017-12-02T20:48:01Z scymtym quit (Ping timeout: 250 seconds) 2017-12-02T20:49:50Z arbv joined #lisp 2017-12-02T20:50:10Z philozz joined #lisp 2017-12-02T20:50:21Z damke quit (Ping timeout: 240 seconds) 2017-12-02T20:54:53Z angavrilov quit (Remote host closed the connection) 2017-12-02T21:02:27Z SlowJimmy quit (Ping timeout: 240 seconds) 2017-12-02T21:07:39Z damke joined #lisp 2017-12-02T21:09:00Z fikka joined #lisp 2017-12-02T21:10:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-02T21:11:18Z wigust_ quit (Ping timeout: 260 seconds) 2017-12-02T21:14:06Z fikka quit (Ping timeout: 260 seconds) 2017-12-02T21:18:53Z safe quit (Read error: Connection reset by peer) 2017-12-02T21:18:59Z shka quit (Ping timeout: 276 seconds) 2017-12-02T21:19:33Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-02T21:19:37Z juki left #lisp 2017-12-02T21:20:01Z DeadTrickster joined #lisp 2017-12-02T21:24:44Z scymtym joined #lisp 2017-12-02T21:25:51Z shifty quit (Ping timeout: 240 seconds) 2017-12-02T21:26:27Z Xach quit (Ping timeout: 240 seconds) 2017-12-02T21:27:06Z philozz quit (Quit: philozz) 2017-12-02T21:28:40Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-12-02T21:30:49Z mejja quit (Quit: mejja) 2017-12-02T21:36:10Z whoman: hmm, slots are not setf places ? 2017-12-02T21:37:03Z Bike: slot-value and accessors are 2017-12-02T21:39:09Z whoman: ah. i was hoping for a record update, reverse destructuring-bind i suppose; or if it is not too hard to make a slot-values place 2017-12-02T21:39:38Z Bike: clhs with-slots 2017-12-02T21:39:38Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_w_slts.htm 2017-12-02T21:39:42Z Bike: that, maybe? 2017-12-02T21:40:46Z whoman: yes, the reverse of that yes, sorry =) 2017-12-02T21:40:56Z Bike: ....reverse? 2017-12-02T21:41:30Z whoman: hmm for eg. (set-slots obj [(] :moo 'cow :grass 'poo [)]) 2017-12-02T21:41:45Z Bike: oh, i see. 2017-12-02T21:41:51Z Bike: you can use reinitialize-instance like that. 2017-12-02T21:41:54Z whoman: it is a nice way to keep data changes in places, i think it is functional-style 2017-12-02T21:41:59Z whoman: hmmm 2017-12-02T21:42:16Z whoman: that sounds a bit more surgery than i feel is required =) 2017-12-02T21:42:42Z Bike: reinitialize instance more or less lets you set a bunch of slots at once. is that not what you said? 2017-12-02T21:42:59Z groovy2shoes quit (Quit: moritura te saluto) 2017-12-02T21:43:26Z groovy2shoes joined #lisp 2017-12-02T21:43:32Z whoman: yes, exactly .. but, i assumed the title was something that shouldnt happen as often as i would like it to (all the time) 2017-12-02T21:43:34Z damke_ joined #lisp 2017-12-02T21:43:46Z whoman: i am also accustomed to C and pointers and reallocating and fragmentation and etc 2017-12-02T21:43:55Z Bike: what does that have to do with anything? 2017-12-02T21:44:16Z _death: whoman: https://gist.github.com/death/c63fa9dca9bca8d70d00ce78b4e5cadb an old hack 2017-12-02T21:46:01Z damke quit (Ping timeout: 240 seconds) 2017-12-02T21:46:04Z Guest34322 joined #lisp 2017-12-02T21:50:30Z varjag quit (Ping timeout: 260 seconds) 2017-12-02T21:51:57Z Xach joined #lisp 2017-12-02T21:53:01Z SuperJen joined #lisp 2017-12-02T21:53:18Z serviteur quit (Ping timeout: 260 seconds) 2017-12-02T21:54:48Z Xach: borodust: hi, when i try to dist-update it does not think there is anything new. version issue maybe? 2017-12-02T21:54:56Z varjag joined #lisp 2017-12-02T21:56:06Z Guest84297 quit (Ping timeout: 260 seconds) 2017-12-02T21:56:51Z Xach: i am very excited to try the fix 2017-12-02T21:58:50Z whoman: _death, cool thanks 2017-12-02T22:01:33Z raynold joined #lisp 2017-12-02T22:01:34Z smurfrobot joined #lisp 2017-12-02T22:03:30Z fikka joined #lisp 2017-12-02T22:06:41Z ikki quit (Ping timeout: 240 seconds) 2017-12-02T22:08:01Z fikka quit (Ping timeout: 248 seconds) 2017-12-02T22:11:26Z varjag quit (Ping timeout: 255 seconds) 2017-12-02T22:15:00Z borodust: Xach: need to replace the dist 2017-12-02T22:15:17Z borodust: quicklisp doesn't support same day updates iirc 2017-12-02T22:15:28Z Xach: borodust: sure it does. just add more numbers. 2017-12-02T22:15:32Z borodust: i see 2017-12-02T22:15:37Z Xach: the version is an arbitrary string 2017-12-02T22:15:46Z borodust: need to patchup quickdist then 2017-12-02T22:15:47Z Xach: you could append "00" and go to "01" or whatever 2017-12-02T22:15:52Z borodust: nice 2017-12-02T22:16:04Z borodust: i guess is8601 would do 2017-12-02T22:16:16Z borodust: *iso 2017-12-02T22:19:58Z varjag joined #lisp 2017-12-02T22:21:13Z Karl_Dscc quit (Remote host closed the connection) 2017-12-02T22:22:02Z borodust: Xach: lemme know if replacing a dist worked for you 2017-12-02T22:22:38Z borodust: while i'm patching up quickdist for having a better precision ;p 2017-12-02T22:23:15Z Shinmera: I made a bunch of fixes for quickdist to allow that like years ago 2017-12-02T22:23:22Z Shinmera: Never submitted them. Whoops. 2017-12-02T22:23:28Z borodust: Shinmera: :( 2017-12-02T22:23:54Z earl-ducaine: Lispologists! q: getting an SBCL warning that I'm using an obsolete form of do when I try and compile the following: (defun my-do-old () (do ((alfa 0.0)) () (return (list alfa)))) 2017-12-02T22:24:17Z earl-ducaine: I'm guessing that that's the old way of writing: (defun my-do-ansi () (do ((alfa 0.0)) (nil) (return (list alfa)))) 2017-12-02T22:24:19Z eazar001 joined #lisp 2017-12-02T22:25:16Z earl-ducaine: i.e. exit condition for 'do forever' used to be just the empty list now the exit clause must have the condition to be checked, even if it's constant. 2017-12-02T22:25:32Z earl-ducaine: Can anyone confirm that is in fact the old behavior? 2017-12-02T22:25:50Z earl-ducaine: (mucking about with some ancient code) 2017-12-02T22:26:04Z devon joined #lisp 2017-12-02T22:26:41Z earl-ducaine: i.e. 'asking for a friend' :) 2017-12-02T22:30:23Z pseudonymous quit (Ping timeout: 248 seconds) 2017-12-02T22:31:45Z phoe: earl-ducaine: I think so, yes. I think the return condition must be explicitly stated, even if it's always NIL. 2017-12-02T22:32:28Z phoe: ;; Though that function could be obviously optimized to (defun my-do-old () (list 0.0)) - but I don't think that's what your question is about. 2017-12-02T22:32:35Z atlan quit (Quit: Leaving.) 2017-12-02T22:33:43Z borodust: Xach: not that you had any doubt but that indeed works ;p 2017-12-02T22:34:00Z borodust: i've updated dist with more precise "versions" 2017-12-02T22:36:29Z Bike: ducaine is asking about how do worked before CL, i think. 2017-12-02T22:37:59Z phoe: Bike: In this case, I have no idea. It could perhaps be possible to study CLtL1 and earlier Lisp manuals. 2017-12-02T22:38:28Z earl-ducaine: Thanks phoe just too lazy to qualify my example as being for illustritave purposes only! Bike: yes that's correct. 2017-12-02T22:38:35Z earl-ducaine: Just refered back to the Chinual and it seems even in Zeta Lisp (nil) was normative for 'do forever' 2017-12-02T22:39:15Z Bike: cltl2 has a required end-test. 2017-12-02T22:39:15Z earl-ducaine: So, it must of been a syntax error that just happened to work in older implementations. 2017-12-02T22:39:26Z Bike: figures. 2017-12-02T22:41:54Z zu22 joined #lisp 2017-12-02T22:45:10Z borei quit (Quit: Leaving.) 2017-12-02T22:45:49Z smurfrobot quit (Remote host closed the connection) 2017-12-02T22:49:49Z smurfrobot joined #lisp 2017-12-02T22:52:05Z devon quit (Ping timeout: 240 seconds) 2017-12-02T22:54:17Z nowhere_man joined #lisp 2017-12-02T23:01:34Z damke joined #lisp 2017-12-02T23:03:41Z wxie joined #lisp 2017-12-02T23:03:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-02T23:04:04Z hel-io joined #lisp 2017-12-02T23:06:52Z smurfrobot quit (Remote host closed the connection) 2017-12-02T23:07:47Z wxie quit (Remote host closed the connection) 2017-12-02T23:08:51Z bigos_ joined #lisp 2017-12-02T23:10:17Z damke_ joined #lisp 2017-12-02T23:11:45Z smurfrobot joined #lisp 2017-12-02T23:12:21Z damke quit (Ping timeout: 240 seconds) 2017-12-02T23:13:20Z mishoo_ quit (Ping timeout: 255 seconds) 2017-12-02T23:14:02Z damke joined #lisp 2017-12-02T23:15:01Z orivej quit (Ping timeout: 240 seconds) 2017-12-02T23:16:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-02T23:19:01Z eSVG joined #lisp 2017-12-02T23:23:02Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-02T23:23:20Z random-nick quit (Remote host closed the connection) 2017-12-02T23:23:56Z DeadTrickster joined #lisp 2017-12-02T23:25:18Z resttime joined #lisp 2017-12-02T23:29:30Z EvW quit (Ping timeout: 258 seconds) 2017-12-02T23:34:02Z mathi_aihtam quit (Quit: mathi_aihtam) 2017-12-02T23:36:46Z mathi_aihtam joined #lisp 2017-12-02T23:36:53Z mson quit (Quit: Connection closed for inactivity) 2017-12-02T23:40:11Z osune joined #lisp 2017-12-02T23:40:17Z hel-io quit (Remote host closed the connection) 2017-12-02T23:40:37Z hel-io joined #lisp 2017-12-02T23:41:03Z hel-io quit (Remote host closed the connection) 2017-12-02T23:41:22Z hel-io joined #lisp 2017-12-02T23:41:49Z hel-io quit (Remote host closed the connection) 2017-12-02T23:42:07Z hel-io joined #lisp 2017-12-02T23:42:35Z hel-io quit (Remote host closed the connection) 2017-12-02T23:42:52Z hel-io joined #lisp 2017-12-02T23:43:22Z hel-io quit (Remote host closed the connection) 2017-12-02T23:44:04Z SuperJen quit (Remote host closed the connection) 2017-12-02T23:44:30Z SuperJen joined #lisp 2017-12-02T23:50:31Z zulu_inuoe joined #lisp 2017-12-02T23:51:01Z smurfrobot quit (Remote host closed the connection) 2017-12-02T23:51:04Z Josh_2 quit (Remote host closed the connection) 2017-12-02T23:51:23Z fikka joined #lisp 2017-12-02T23:52:47Z zulu_inuoe_ quit (Ping timeout: 260 seconds) 2017-12-02T23:52:56Z eSVG quit (Ping timeout: 255 seconds) 2017-12-02T23:56:56Z fikka quit (Ping timeout: 276 seconds) 2017-12-03T00:00:01Z kozy quit (Remote host closed the connection) 2017-12-03T00:00:33Z kozy joined #lisp 2017-12-03T00:03:43Z jstoddar` joined #lisp 2017-12-03T00:05:31Z aindilis joined #lisp 2017-12-03T00:06:35Z TCZ joined #lisp 2017-12-03T00:07:34Z jstoddard quit (Remote host closed the connection) 2017-12-03T00:20:36Z ebrasca` joined #lisp 2017-12-03T00:21:25Z ebrasca quit (Remote host closed the connection) 2017-12-03T00:32:55Z cromachina_ joined #lisp 2017-12-03T00:34:57Z cromachina quit (Ping timeout: 240 seconds) 2017-12-03T00:35:33Z jstoddar` is now known as jstoddard 2017-12-03T00:39:12Z astronavt joined #lisp 2017-12-03T00:40:37Z aindilis quit (Ping timeout: 260 seconds) 2017-12-03T00:40:39Z damke_ joined #lisp 2017-12-03T00:43:01Z damke quit (Ping timeout: 240 seconds) 2017-12-03T00:45:45Z fikka joined #lisp 2017-12-03T00:50:41Z fikka quit (Ping timeout: 248 seconds) 2017-12-03T00:51:04Z zu22 left #lisp 2017-12-03T00:54:39Z pierpa joined #lisp 2017-12-03T00:55:32Z zachk quit (Quit: night) 2017-12-03T01:02:17Z damke joined #lisp 2017-12-03T01:04:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T01:04:31Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-03T01:05:12Z DeadTrickster joined #lisp 2017-12-03T01:08:49Z resttime quit (Ping timeout: 248 seconds) 2017-12-03T01:12:40Z ikki joined #lisp 2017-12-03T01:14:33Z TCZ quit (Quit: Leaving) 2017-12-03T01:15:13Z varjag quit (Ping timeout: 248 seconds) 2017-12-03T01:15:16Z Josh_2 joined #lisp 2017-12-03T01:15:25Z zmt00 quit (Quit: Leaving) 2017-12-03T01:15:50Z zmt00 joined #lisp 2017-12-03T01:29:12Z hhdave quit (Read error: Connection reset by peer) 2017-12-03T01:30:00Z hhdave joined #lisp 2017-12-03T01:35:26Z astronavt quit (Remote host closed the connection) 2017-12-03T01:41:12Z fikka joined #lisp 2017-12-03T01:43:32Z wooden quit (Ping timeout: 276 seconds) 2017-12-03T01:44:25Z damke_ joined #lisp 2017-12-03T01:45:57Z margeas quit (Ping timeout: 240 seconds) 2017-12-03T01:46:21Z fikka quit (Ping timeout: 240 seconds) 2017-12-03T01:46:21Z damke quit (Ping timeout: 240 seconds) 2017-12-03T01:46:32Z damke__ joined #lisp 2017-12-03T01:46:50Z astronavt joined #lisp 2017-12-03T01:47:30Z pierpa quit (Quit: Page closed) 2017-12-03T01:49:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T01:51:00Z thinkpad quit (Read error: Connection reset by peer) 2017-12-03T01:51:35Z smurfrobot joined #lisp 2017-12-03T01:53:17Z hel-io joined #lisp 2017-12-03T01:56:26Z smurfrobot quit (Ping timeout: 260 seconds) 2017-12-03T01:57:44Z wooden joined #lisp 2017-12-03T02:00:02Z thinkpad joined #lisp 2017-12-03T02:03:19Z marvin2 joined #lisp 2017-12-03T02:07:27Z nowhere_man quit (Ping timeout: 248 seconds) 2017-12-03T02:08:02Z philozz joined #lisp 2017-12-03T02:11:20Z nowhere_man joined #lisp 2017-12-03T02:12:12Z hel-io quit (Remote host closed the connection) 2017-12-03T02:12:32Z hel-io joined #lisp 2017-12-03T02:12:58Z hel-io quit (Remote host closed the connection) 2017-12-03T02:13:13Z hel-io joined #lisp 2017-12-03T02:13:44Z hel-io quit (Remote host closed the connection) 2017-12-03T02:14:02Z hel-io joined #lisp 2017-12-03T02:14:12Z resttime joined #lisp 2017-12-03T02:14:30Z hel-io quit (Remote host closed the connection) 2017-12-03T02:15:43Z hel-io joined #lisp 2017-12-03T02:17:03Z eSVG joined #lisp 2017-12-03T02:17:38Z damke joined #lisp 2017-12-03T02:19:16Z ryanwatkins joined #lisp 2017-12-03T02:19:21Z damke__ quit (Ping timeout: 240 seconds) 2017-12-03T02:20:05Z damke_ joined #lisp 2017-12-03T02:20:49Z hel-io quit (Ping timeout: 248 seconds) 2017-12-03T02:22:21Z damke quit (Ping timeout: 240 seconds) 2017-12-03T02:27:37Z marvin2 left #lisp 2017-12-03T02:31:41Z turkja joined #lisp 2017-12-03T02:32:19Z d4ryus1 joined #lisp 2017-12-03T02:35:20Z fikka joined #lisp 2017-12-03T02:35:23Z d4ryus quit (Ping timeout: 255 seconds) 2017-12-03T02:40:08Z fikka quit (Ping timeout: 268 seconds) 2017-12-03T02:40:39Z brendyn joined #lisp 2017-12-03T02:41:47Z osune` joined #lisp 2017-12-03T02:42:45Z k-stz quit (Remote host closed the connection) 2017-12-03T02:45:41Z osune quit (Ping timeout: 268 seconds) 2017-12-03T02:46:22Z hel-io joined #lisp 2017-12-03T02:51:02Z hel-io quit (Ping timeout: 260 seconds) 2017-12-03T02:53:59Z eazar001 quit (Quit: WeeChat 1.9.1) 2017-12-03T02:53:59Z kobain joined #lisp 2017-12-03T02:56:43Z damke joined #lisp 2017-12-03T02:59:00Z dieggsy joined #lisp 2017-12-03T02:59:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T03:01:32Z hel-io joined #lisp 2017-12-03T03:05:29Z vtomole joined #lisp 2017-12-03T03:06:26Z hel-io quit (Ping timeout: 260 seconds) 2017-12-03T03:10:12Z astronavt quit (Remote host closed the connection) 2017-12-03T03:11:28Z varjag joined #lisp 2017-12-03T03:14:15Z hel-io joined #lisp 2017-12-03T03:16:14Z varjag quit (Ping timeout: 260 seconds) 2017-12-03T03:18:57Z hel-io quit (Ping timeout: 240 seconds) 2017-12-03T03:19:36Z damke_ joined #lisp 2017-12-03T03:21:00Z dieggsy quit (Remote host closed the connection) 2017-12-03T03:21:02Z hel-io joined #lisp 2017-12-03T03:21:41Z damke quit (Ping timeout: 240 seconds) 2017-12-03T03:28:11Z fikka joined #lisp 2017-12-03T03:32:07Z vtomole quit (Quit: Page closed) 2017-12-03T03:33:11Z fikka quit (Ping timeout: 255 seconds) 2017-12-03T03:33:44Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-03T03:42:54Z Josh_2 quit (Remote host closed the connection) 2017-12-03T03:49:05Z Devon joined #lisp 2017-12-03T03:49:24Z ahungry joined #lisp 2017-12-03T03:49:31Z waveprop joined #lisp 2017-12-03T03:50:12Z Devon quit (Client Quit) 2017-12-03T03:50:34Z Devon joined #lisp 2017-12-03T03:53:10Z smurfrobot joined #lisp 2017-12-03T03:55:16Z beach: Good morning everyone! 2017-12-03T03:57:29Z smurfrobot quit (Ping timeout: 255 seconds) 2017-12-03T03:58:14Z orivej joined #lisp 2017-12-03T04:05:34Z damke joined #lisp 2017-12-03T04:07:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T04:11:20Z varjag joined #lisp 2017-12-03T04:11:50Z dieggsy joined #lisp 2017-12-03T04:14:21Z damke quit (Ping timeout: 240 seconds) 2017-12-03T04:15:56Z varjag quit (Ping timeout: 255 seconds) 2017-12-03T04:17:31Z kobain quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2017-12-03T04:20:04Z narendraj9 joined #lisp 2017-12-03T04:21:51Z osune` quit (Remote host closed the connection) 2017-12-03T04:22:56Z fikka joined #lisp 2017-12-03T04:26:19Z schoppenhauer quit (Read error: Connection reset by peer) 2017-12-03T04:27:11Z fikka quit (Ping timeout: 248 seconds) 2017-12-03T04:38:42Z FreeBirdLjj joined #lisp 2017-12-03T04:41:12Z philozz quit (Quit: philozz) 2017-12-03T04:44:29Z ikki_ joined #lisp 2017-12-03T04:44:57Z ikki quit (Read error: Connection reset by peer) 2017-12-03T04:46:32Z dieggsy quit (Ping timeout: 255 seconds) 2017-12-03T04:49:02Z ikki_ quit (Ping timeout: 255 seconds) 2017-12-03T04:58:09Z narendraj9 quit (Ping timeout: 248 seconds) 2017-12-03T05:00:27Z Guest34322 quit (Ping timeout: 240 seconds) 2017-12-03T05:09:56Z Bike quit (Quit: Lost terminal) 2017-12-03T05:15:42Z waveprop quit (Quit: leaving) 2017-12-03T05:18:41Z damke joined #lisp 2017-12-03T05:20:15Z dddddd quit (Remote host closed the connection) 2017-12-03T05:24:01Z bigos_ quit (Remote host closed the connection) 2017-12-03T05:31:17Z safe joined #lisp 2017-12-03T05:32:55Z Karl_Dscc joined #lisp 2017-12-03T05:37:07Z eazar001 joined #lisp 2017-12-03T05:38:59Z damke_ joined #lisp 2017-12-03T05:40:41Z damke quit (Ping timeout: 240 seconds) 2017-12-03T05:43:21Z damke joined #lisp 2017-12-03T05:43:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T05:48:41Z damke quit (Ping timeout: 240 seconds) 2017-12-03T05:49:38Z damke joined #lisp 2017-12-03T05:51:57Z ski joined #lisp 2017-12-03T05:56:04Z knobo1 joined #lisp 2017-12-03T05:57:37Z damke_ joined #lisp 2017-12-03T05:58:41Z damke quit (Ping timeout: 240 seconds) 2017-12-03T05:59:06Z knobo quit (Ping timeout: 260 seconds) 2017-12-03T06:01:26Z hel-io quit (Ping timeout: 260 seconds) 2017-12-03T06:01:30Z damke joined #lisp 2017-12-03T06:02:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T06:06:32Z damke_ joined #lisp 2017-12-03T06:08:21Z damke quit (Ping timeout: 240 seconds) 2017-12-03T06:10:29Z fikka joined #lisp 2017-12-03T06:11:44Z varjag joined #lisp 2017-12-03T06:14:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T06:15:05Z fikka quit (Ping timeout: 240 seconds) 2017-12-03T06:16:22Z varjag quit (Ping timeout: 260 seconds) 2017-12-03T06:17:01Z zmt00 quit (Quit: Leaving) 2017-12-03T06:23:10Z papachan quit (Ping timeout: 264 seconds) 2017-12-03T06:27:58Z hel-io joined #lisp 2017-12-03T06:29:51Z ahungry quit (Remote host closed the connection) 2017-12-03T06:30:11Z ketralnis joined #lisp 2017-12-03T06:32:00Z brendyn quit (Ping timeout: 268 seconds) 2017-12-03T06:32:42Z hel-io quit (Ping timeout: 260 seconds) 2017-12-03T06:38:52Z narendraj9 joined #lisp 2017-12-03T06:40:31Z eschulte quit (Ping timeout: 248 seconds) 2017-12-03T06:41:05Z mnoonan quit (Ping timeout: 240 seconds) 2017-12-03T06:43:47Z brendyn joined #lisp 2017-12-03T06:43:54Z basket joined #lisp 2017-12-03T06:43:57Z basket: Hi 2017-12-03T06:44:06Z beach: Hello basket. 2017-12-03T06:44:27Z turkja quit (Ping timeout: 240 seconds) 2017-12-03T06:45:39Z SuperJen quit (Remote host closed the connection) 2017-12-03T06:46:05Z SuperJen joined #lisp 2017-12-03T06:48:17Z hel-io joined #lisp 2017-12-03T06:48:29Z Jesin quit (Ping timeout: 255 seconds) 2017-12-03T06:49:16Z Karl_Dscc quit (Quit: Leaving) 2017-12-03T06:52:33Z dboswell quit (Remote host closed the connection) 2017-12-03T06:53:14Z hel-io quit (Ping timeout: 260 seconds) 2017-12-03T06:54:42Z hel-io joined #lisp 2017-12-03T06:58:04Z ebrasca` left #lisp 2017-12-03T06:59:02Z turkja joined #lisp 2017-12-03T06:59:18Z hel-io quit (Ping timeout: 260 seconds) 2017-12-03T07:00:20Z red-dot joined #lisp 2017-12-03T07:01:15Z wigust joined #lisp 2017-12-03T07:03:22Z hel-io joined #lisp 2017-12-03T07:09:02Z damke_ joined #lisp 2017-12-03T07:12:32Z eSVG quit (Ping timeout: 240 seconds) 2017-12-03T07:19:08Z narendraj9 quit (Read error: Connection reset by peer) 2017-12-03T07:19:49Z Jesin joined #lisp 2017-12-03T07:20:31Z narendraj9 joined #lisp 2017-12-03T07:20:43Z impulse quit (Ping timeout: 268 seconds) 2017-12-03T07:28:55Z impulse joined #lisp 2017-12-03T07:29:38Z eSVG joined #lisp 2017-12-03T07:41:01Z fikka joined #lisp 2017-12-03T07:41:16Z yeticry joined #lisp 2017-12-03T07:44:01Z yeticry_ quit (Ping timeout: 248 seconds) 2017-12-03T07:45:38Z fikka quit (Ping timeout: 255 seconds) 2017-12-03T07:46:57Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-03T07:47:45Z DeadTrickster joined #lisp 2017-12-03T07:55:00Z smurfrobot joined #lisp 2017-12-03T07:59:35Z smurfrobot quit (Ping timeout: 255 seconds) 2017-12-03T08:06:16Z arbv quit (Ping timeout: 260 seconds) 2017-12-03T08:07:59Z Devon quit (Ping timeout: 248 seconds) 2017-12-03T08:08:27Z arbv joined #lisp 2017-12-03T08:13:47Z BitPuffin|osx joined #lisp 2017-12-03T08:19:13Z tomw joined #lisp 2017-12-03T08:28:12Z damke_ quit (Ping timeout: 246 seconds) 2017-12-03T08:28:38Z damke_ joined #lisp 2017-12-03T08:31:10Z damke joined #lisp 2017-12-03T08:33:06Z damke_ quit (Ping timeout: 246 seconds) 2017-12-03T08:34:39Z tomw quit (Ping timeout: 248 seconds) 2017-12-03T08:36:30Z mishoo_ joined #lisp 2017-12-03T08:40:04Z arbv quit (Read error: Connection reset by peer) 2017-12-03T08:40:23Z arbv joined #lisp 2017-12-03T08:40:25Z shka joined #lisp 2017-12-03T08:40:32Z damke_ joined #lisp 2017-12-03T08:43:00Z rippa joined #lisp 2017-12-03T08:43:01Z damke quit (Ping timeout: 240 seconds) 2017-12-03T08:44:00Z damke joined #lisp 2017-12-03T08:45:21Z dmiles adds (defun my-do-ansi () (do ((alfa 0.0)) (nil) (return (list alfa)))) to wam-cl 2017-12-03T08:45:44Z dmiles as a testcase for optimizer 2017-12-03T08:46:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T08:46:23Z kjak quit (Ping timeout: 248 seconds) 2017-12-03T08:46:59Z dmiles: not bad.. https://pastebin.com/7LduXfQB 2017-12-03T08:47:42Z SuperJen quit (Remote host closed the connection) 2017-12-03T08:48:09Z SuperJen joined #lisp 2017-12-03T08:48:22Z eazar001 quit (Quit: WeeChat 1.9.1) 2017-12-03T08:49:26Z arbv quit (Ping timeout: 260 seconds) 2017-12-03T08:49:55Z dmiles: though it makes the far jump (no optiize) 2017-12-03T08:51:42Z arbv joined #lisp 2017-12-03T08:56:42Z narendraj9 quit (Remote host closed the connection) 2017-12-03T08:56:45Z fikka joined #lisp 2017-12-03T09:00:22Z dmiles: what optimization libaries convert that to (defun my-do-ansi () (list 0.0)) ? 2017-12-03T09:01:34Z fikka quit (Ping timeout: 260 seconds) 2017-12-03T09:03:12Z wxie joined #lisp 2017-12-03T09:08:18Z dmiles: perhaps http://dwim.hu/darcsweb/darcsweb.cgi?r=HEAD%20hu.dwim.partial-eval;a=summary 2017-12-03T09:09:51Z shka: hello 2017-12-03T09:10:39Z Amplituhedron joined #lisp 2017-12-03T09:11:15Z shka: beach: do you know about T lisp? It is said to be a remarkable implementation and it had first class envs akin to SICL. 2017-12-03T09:15:04Z pjb: T is in the scheme family: http://www.softwarepreservation.org/projects/LISP/scheme_family/#T_ 2017-12-03T09:15:11Z pjb: NIL is in the usual lisp family ;-) 2017-12-03T09:15:30Z pjb: (MacLisp) http://www.softwarepreservation.org/projects/LISP/maclisp_family/#NIL,_S-1_Lisp_ 2017-12-03T09:15:42Z shka: pjb: yeah, i STILL consider scheme to be a lisp :P 2017-12-03T09:15:48Z pjb: Sure. 2017-12-03T09:16:25Z dmiles: help me out.. should it be possible to git a scheme fully compatible to common lisp ? 2017-12-03T09:16:37Z pjb: dmiles: Have a look at (intersection common-lisp emacs-lisp scheme) http://www.informatimago.com/develop/lisp/com/informatimago/small-cl-pgms/intersection-r5rs-common-lisp-emacs-lisp/ 2017-12-03T09:17:06Z pjb: dmiles: you have to be careful to write your code to be meaningful in both lisp-1 and lisp-2. 2017-12-03T09:17:39Z pjb: dmiles: also, have a look at Butterfly CL (implemented in Butterfly Scheme), and at pseudo-scheme (implemented in CL), and a few others like that. 2017-12-03T09:20:35Z dmiles: oh good these are very helpfull 2017-12-03T09:26:26Z Th30n joined #lisp 2017-12-03T09:28:58Z pjb: dmiles: also, for a practical approach, you could have a look at Common Music version 2. 2017-12-03T09:29:57Z beach: shka: Yes, I know about T. I have read the Orbit paper and some other stuff related to T. 2017-12-03T09:30:11Z pjb: The version 3 uses C++ to implement the applicative scheme, but the version 2 did that with Common Lisp. It implements a small scheme in Common Lisp, and use it to implement the application in scheme. 2017-12-03T09:31:40Z fikka joined #lisp 2017-12-03T09:31:52Z dmiles: version 2 sounds great then.. secretly i was worried i would have to rewrite wam-cl to be able to run scheme code (like adding some special whatnot) 2017-12-03T09:32:40Z dmiles: even if i have to add that whatnot to do scheme .. at least i have an inchworm starting from converting a CL verison of Scheme to prolog 2017-12-03T09:32:41Z jstoddard quit (Remote host closed the connection) 2017-12-03T09:32:55Z beach: dmiles: In general, Common Lisp and Scheme are sufficiently different that one can not run programs in the other. Only if you use a very small subset of both of them, and if you are very careful how you write those programs will such a thing be possible. 2017-12-03T09:32:58Z jstoddard joined #lisp 2017-12-03T09:34:02Z dmiles: (special whatnot = call/cc) 2017-12-03T09:34:34Z pjb: dmiles: if the idea is to generaly mix and match languages in a common environment, you should definitely look at poplog. 2017-12-03T09:34:42Z hel-io quit (Ping timeout: 260 seconds) 2017-12-03T09:34:57Z pjb: dmiles: http://www.cliki.net/PopLog 2017-12-03T09:35:27Z dmiles: the only thing that scares me away from poplog is it is not on Lisp or Prolog 2017-12-03T09:35:30Z pjb: or work with beach to provide a separate scheme compiler targetting the sicl backend ;-) 2017-12-03T09:35:39Z dmiles: (so its harder for me to understand is all) 2017-12-03T09:36:16Z pjb: Better do that early while it's still time to add features to the backend if needed for scheme. 2017-12-03T09:36:33Z fikka quit (Ping timeout: 248 seconds) 2017-12-03T09:38:43Z dmiles: from what i understand is that SICL does everyting right as far as it prevides a lisp that can be implmented with not one specific part that isnt writen in lisp 2017-12-03T09:38:57Z pjb: Yes. 2017-12-03T09:39:27Z dmiles: meaning if you can impl at least these 100 or totallly a differnt 100 trampolines then you can get a full CL 2017-12-03T09:39:45Z quazimodo joined #lisp 2017-12-03T09:40:16Z dmiles: what are the actual numbers ? (probably not 100) 2017-12-03T09:41:59Z shifty joined #lisp 2017-12-03T09:43:10Z daniel-s joined #lisp 2017-12-03T09:48:42Z jstoddar` joined #lisp 2017-12-03T09:49:35Z fikka joined #lisp 2017-12-03T09:49:39Z beach: dmiles: What do you mean by a "trampoline" in this context? 2017-12-03T09:50:01Z jstoddard quit (Remote host closed the connection) 2017-12-03T09:53:01Z damke quit (Ping timeout: 240 seconds) 2017-12-03T09:53:02Z dmiles: well trampoline is a littel too little.. what i really meant was at least some kind of REPL that does some lisp (not quite CL) and then by tramplines i mean at least some lisp functionality exists in the impl like #'EQ #'MAKE-VECTOR REPLACD 2017-12-03T09:53:35Z dmiles: some functionally that SICL can at least begin to work with 2017-12-03T09:53:47Z beach: That is not how SICL works though. 2017-12-03T09:53:56Z dmiles: ah.. glad i am asking 2017-12-03T09:54:11Z turkja: pjb: i'm now a bit confused.. to what it looks to me, Common Music 2 is a pure CL application, it just automatically ports some of the Scheme code (translated code looks horrible, but works). Anyways, you write the programs in CL. I'm using it with SBCL. 2017-12-03T09:54:22Z dmiles: i keep getting SICL confused with some other Impl 2017-12-03T09:54:29Z damke joined #lisp 2017-12-03T09:54:46Z beach: dmiles: It is a common way of bootstrapping Common Lisp systems, and then the minimal system is written in something other than Common Lisp. I explicitly did not want to do it that way, because then I would have to write large parts of the system in a subset of Common Lisp and that turned out to be too painful. 2017-12-03T09:54:56Z pjb: turkja: I may be wrong. I thought it had basically the same structure as CM3. 2017-12-03T09:55:18Z jmercouris joined #lisp 2017-12-03T09:55:22Z turkja: It's CL, and it is still used quite a lot actually 2017-12-03T09:55:22Z pjb: I have the sources around, but I could only gave it a quick look. 2017-12-03T09:55:31Z pjb: ok. Better then! 2017-12-03T09:55:37Z dmiles: beach: so give a small overview of how SICL is written if you dont mind 2017-12-03T09:56:11Z pjb: I'd bet there's a document somewhere. 2017-12-03T09:56:20Z dmiles: yeah or a document 2017-12-03T09:56:21Z beach: It is written using the full Common Lisp language. To create an executable, it requires that some of the code be executed by a host Common Lisp system. 2017-12-03T09:56:27Z dmiles: (to to avoid write large parts of the system in a subset of Common Lisp ) 2017-12-03T09:56:34Z turkja: now wait 2017-12-03T09:56:34Z jmercouris: I saw this article on reddit, and it got me thinking about clos: https://www.reddit.com/r/programming/comments/7h7ffc/implementation_inheritance_is_evil/ 2017-12-03T09:56:34Z minion: jmercouris, memo from pjb: http://www.informatimago.com/develop/lisp/com/informatimago/small-cl-pgms/m-expression/index.html.in 2017-12-03T09:56:34Z minion: jmercouris, memo from pjb: have a look at: git clone http://git.informatimago.com/public/clang-ast 2017-12-03T09:56:44Z turkja: Common Music is different 2017-12-03T09:57:15Z pjb: jmercouris: I don't agree that inheritance is evil. IMO a better formulation would be that inheritance is too complex for mosts human brains, it seems. 2017-12-03T09:57:30Z beach: dmiles: For example, the SICL LOOP macro uses standard classes to represent the clauses, so CLOS is required to expand the LOOP macro. And of course, CLOS uses LOOP a lot. 2017-12-03T09:57:47Z pjb: (there are books full of formal semantics of OOPL, so indeed, it may be too complex for most humans). 2017-12-03T09:57:51Z jmercouris: pjb: It's about implementation inheritance in a multiple inheritance scenario 2017-12-03T09:58:20Z jmercouris: pjb: as far as I understand, interface inheritance = good, but implementation = bad, too much unexpected 2017-12-03T09:58:28Z dddddd joined #lisp 2017-12-03T09:58:29Z dmiles: beach: ahah not that LOOP<->CLOS relation would happen in the immagined SICL i had 2017-12-03T09:58:32Z beach: Anyway, I'll have lunch guests in a few minutes, so I'll be off for several hours. 2017-12-03T09:58:38Z dmiles: beach: ahah now i see.. that LOOP<->CLOS relation would happen in the immagined SICL i had 2017-12-03T09:58:40Z pjb: Well, in lisp we keep doing that. We call it "punning". Of course, it's done only at a small scale, eg. lists or trees are actually cons cells, so we may use car/cdr on them. 2017-12-03T09:59:37Z beach: dmiles: In SICL, I can also do things like (defclass symbol (t) ((%name ...) (%package ...)) (:metaclass built-in-class)) 2017-12-03T09:59:38Z pjb: jmercouris: I'd tend to agree, once you follow strictly the lyskov substitution principle, with good pre/post conditions defined for each of your methods, you cannot randomly use inheritance just for implementation. 2017-12-03T10:00:14Z beach: dmiles: Most Common Lisp implementations must do something special for built-in classes, because most implementations start with a subset that does not contain CLOS. 2017-12-03T10:00:27Z jmercouris: pjb: What is the lyskov substitution principle? 2017-12-03T10:00:27Z turkja: pjb: this is updated unofficial repo of CM2: https://github.com/ormf/cm 2017-12-03T10:00:49Z pjb: turkja: thank you. 2017-12-03T10:01:02Z jmercouris: pjb: Is your site down? I can't load your links 2017-12-03T10:01:17Z hel-io joined #lisp 2017-12-03T10:01:20Z jmercouris: it could also be my internet, I'm tethering as I have been moving these past few days... :\ 2017-12-03T10:01:29Z pjb: jmercouris: https://en.wikipedia.org/wiki/Liskov_substitution_principle 2017-12-03T10:01:31Z pjb: liskov. 2017-12-03T10:02:07Z turkja: This is how the translated code looks like: https://github.com/ormf/cm/blob/master/src/scales.lisp 2017-12-03T10:02:09Z pjb: jmercouris: do you mean for: git clone http://git.informatimago.com/public/clang-ast ? 2017-12-03T10:02:12Z pjb: it works from here. 2017-12-03T10:02:38Z pjb: turkja: so the source is really in scheme. 2017-12-03T10:03:03Z dmiles: beach: interesting .. so the intended usecase mostly to create executables? 2017-12-03T10:03:06Z pjb: Generated files cannot be maintained. This is why I started to write a C compiler targetting CL, to be able to run GNU emacs in a CL image. 2017-12-03T10:03:35Z turkja: pjb: originally yes, but it is somehow generated as Lisp, so it can be run on for example SBCL 2017-12-03T10:03:50Z pjb: turkja: Of course. 2017-12-03T10:04:05Z dmiles: (for instance if i couldnt on wam-cl produce executables) 2017-12-03T10:05:39Z beach: dmiles: By "the executable" I mean the SICL system itself, the one that gets executed when you type "sicl" to the shell prompt. 2017-12-03T10:05:58Z hel-io quit (Ping timeout: 260 seconds) 2017-12-03T10:06:12Z shrdlu68 joined #lisp 2017-12-03T10:06:15Z beach: dmiles: And, no, that is not the intended use case. 2017-12-03T10:07:52Z turkja: CM2 is IMHO still the best algorithmic composition system around :D 2017-12-03T10:08:05Z jmercouris: pjb: Yeah the clone :\ 2017-12-03T10:08:25Z jmercouris: says: The server unexpectedly dropped the connection 2017-12-03T10:10:01Z dmiles: beach: but it is for someone implementing lisp to borrow from so they dont need to maintain some copy? 2017-12-03T10:10:42Z jmercouris: pjb: Did you by any chance try my browser? 2017-12-03T10:10:56Z dmiles: beach: some copy of loop.lisp that they copied from XCL lisp 2017-12-03T10:11:33Z beach: dmiles: Sure, it is free. But you can't use it to obtain a full Common Lisp system from a subset of Common Lisp. I have no defined dependency order. There are circular dependencies. 2017-12-03T10:12:03Z dmiles: beach: circular is jsut fine for me.. sinc ei jsut implenet whatever breaks your loop 2017-12-03T10:12:15Z pjb: jmercouris: sorry, I'm short on time currently, so I cannot try stuff. 2017-12-03T10:12:29Z varjag joined #lisp 2017-12-03T10:12:36Z beach: dmiles: So, LOOP uses LOOP. 2017-12-03T10:12:51Z jmercouris: pjb: It's okay, if you do try it though, please let me know, I would be very interested in feedback about the usability of it 2017-12-03T10:13:10Z beach: dmiles: Every built-in class, like SYMBOL, PACKAGE, HASH-TABLE requires CLOS. 2017-12-03T10:13:46Z dmiles: beach: i ended making a somewhat minimal loop i assume will be redified by XMLs loop.. in our case (SICL and I) I end up not using your loop if it ends up being an issue 2017-12-03T10:13:46Z beach: dmiles: Do you intend to implement LOOP to break the dependency of LOOP so that you can use SICL LOOP in your system? 2017-12-03T10:13:59Z dmiles: XML/XCLs 2017-12-03T10:14:05Z beach: dmiles: The entire system is like that. 2017-12-03T10:14:45Z dmiles: well if they HASH-TABEL uses CLOS that is easier form me 2017-12-03T10:15:28Z dmiles: if PACKAGE uses CLOS (in fact i wrote my package impl in my sub-clos) 2017-12-03T10:15:35Z dmiles: that might be fine 2017-12-03T10:16:13Z jmercouris: beach: Which time zone are you in? 2017-12-03T10:16:23Z beach: UTC+1 2017-12-03T10:16:31Z jmercouris: beach: I thought you were australian? 2017-12-03T10:16:33Z varjag quit (Ping timeout: 248 seconds) 2017-12-03T10:16:59Z beach: I have no idea why you thought that. But I could have been and still live in UTC+1. 2017-12-03T10:17:18Z jmercouris: beach: If you don't mind me asking, where are you from? 2017-12-03T10:17:26Z dmiles: beach still i'll end up using ytour PACKAGE with my Less-Sub-CLOS jsut because my PACKAGE isnt all that brilliant 2017-12-03T10:17:57Z beach: jmercouris: That is a question that is too hard for me to answer, and if I tried, the answer would be misleading. I have lived in 5 countries on 4 continents. 2017-12-03T10:18:15Z dmiles: Less-sub-CLOS (less sub-CLOS than my current CLOS) 2017-12-03T10:19:10Z beach: jmercouris: I am a citizen of the European Union. That much is certain. 2017-12-03T10:20:06Z jmercouris: beach: Let me ask a simpler question, what is your first language? 2017-12-03T10:20:41Z turkja: beach: maybe you appear as australian because of your decent online times :) i'm at UTC+2 and log in usually around the same in the morning 2017-12-03T10:21:23Z beach: jmercouris: The one I master best is English. 2017-12-03T10:21:30Z beach: jmercouris: But that is off topic. 2017-12-03T10:21:39Z random-nick joined #lisp 2017-12-03T10:21:47Z jmercouris: Yep, sorry, didn't mean to derail the channel, I was just wondering because of the time discrepancies 2017-12-03T10:22:09Z dmiles typing and grammar is so poor usualyl he is asked in English is his first language 2017-12-03T10:23:39Z dmiles will probably do what ABCL did have sucky versions of lots of CL then let the .lisp libraries create the good versions 2017-12-03T10:24:04Z pjb: jmercouris: furthermore, beach originaly came from a country that doesn't exist anymore, and is living in a country that soon won't exist anymore either. 2017-12-03T10:24:30Z pjb: As for the EU, I won't expand here… 2017-12-03T10:25:05Z dmiles: (ABCL replaces the .java versions of MAKE-PACKAGE and HASH-TABLE with versions coded in lisp) 2017-12-03T10:25:56Z pjb: dmiles: the "replaces" part is only an artefact of the bootstrap process. You could more easily just generate a good lisp image eithout modifying the current one. 2017-12-03T10:26:20Z dmiles: (so ABCL contains as many cycles perhaps as SICL) 2017-12-03T10:27:13Z Th30n quit (Ping timeout: 248 seconds) 2017-12-03T10:27:53Z dmiles: pjb: you mean with SICL it actualyl may not need to modify what it loads on? 2017-12-03T10:28:10Z Th30n joined #lisp 2017-12-03T10:28:17Z sukaeto quit (Quit: WeeChat 1.0.1) 2017-12-03T10:28:51Z pjb: dmiles: I don't know precisely how sicl does it. In general, you can just build the future lisp image separately from the current process. Imagine you wrote it in C++! 2017-12-03T10:30:03Z dmiles: ah yes.. once the lisp is actualyl built on WAM CL.. and the entrie system is transpiled i suppose i never have to go back to my broken versions 2017-12-03T10:30:15Z jmercouris: pjb: How does the serialization process look? just like a memory dump? or does it have to be specialized and written? 2017-12-03T10:31:08Z pjb: jmercouris: it can be anything you want. The principle is to have an internal model of the new lisp image, and to save it to a file in the right format. 2017-12-03T10:31:35Z pjb: Since this file will contain the image loading part, you're free to do it however you want. 2017-12-03T10:32:54Z dmiles: (my package.trans.pl (which was made from package.lisp converting) replaces my https://github.com/TeamSPoon/wam_common_lisp/blob/master/prolog/wam_cl/package.pl dump bpackage version ) 2017-12-03T10:33:02Z jmercouris: So the image itself contains information on how to load the image? 2017-12-03T10:33:27Z jmercouris: So you are saying that the implementation of the image saving may change dramatically without the kernel changing? is that the idea? 2017-12-03T10:34:27Z jmsb quit (Ping timeout: 240 seconds) 2017-12-03T10:36:36Z dmiles: also i can just "translate" SICL to *.trans.pl files and then go in an fix my translation errors 2017-12-03T10:38:40Z dmiles: (eventually i would hope to not have any .pl files that i wrote myself) 2017-12-03T10:39:30Z dmiles: (this info for jmercouris kind of... and to confirm with pjb if that is also part of what he meant) 2017-12-03T10:40:12Z hel-io joined #lisp 2017-12-03T10:40:53Z dmiles: and realizing that beach's circular issue is not a problem if i dont even try to replace anyhting.. just run over everything and see what i can today translate into working 2017-12-03T10:41:50Z pjb: jmercouris: yes. 2017-12-03T10:42:18Z kjak joined #lisp 2017-12-03T10:42:31Z pjb: jmercouris: executable images (apart from ecl which doesn't actually generate images, but actual executables) contain code to load the rest of the image in their executable part. 2017-12-03T10:42:55Z pjb: jmercouris: and non executable images contain (usually) code to save an image, including an executable image, therefore they contain the code to load the image! 2017-12-03T10:44:07Z dmiles: it is probly extra work to uninclude the ability to write an image .. though AllegroCL did try for a bit 2017-12-03T10:44:32Z EvW joined #lisp 2017-12-03T10:45:11Z jstoddar` quit (Remote host closed the connection) 2017-12-03T10:45:31Z jstoddar` joined #lisp 2017-12-03T10:45:32Z pjb: It can be a feature requrested by commercial users. 2017-12-03T10:48:54Z EvW quit (Ping timeout: 260 seconds) 2017-12-03T10:53:57Z jstoddar` quit (Remote host closed the connection) 2017-12-03T10:56:25Z smurfrobot joined #lisp 2017-12-03T11:01:30Z smurfrobot quit (Ping timeout: 260 seconds) 2017-12-03T11:01:43Z damke_ joined #lisp 2017-12-03T11:03:21Z damke quit (Ping timeout: 240 seconds) 2017-12-03T11:09:26Z Ven`` joined #lisp 2017-12-03T11:13:23Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-03T11:14:05Z DeadTrickster joined #lisp 2017-12-03T11:23:05Z wxie quit (Quit: Bye.) 2017-12-03T11:23:45Z nowhere_man quit (Ping timeout: 248 seconds) 2017-12-03T11:26:51Z pseudonymous joined #lisp 2017-12-03T11:29:54Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-03T11:34:25Z varjag joined #lisp 2017-12-03T11:34:27Z kjeldahl joined #lisp 2017-12-03T11:35:29Z scymtym quit (Ping timeout: 248 seconds) 2017-12-03T11:39:11Z varjag quit (Ping timeout: 260 seconds) 2017-12-03T11:41:26Z Th30n quit (Ping timeout: 255 seconds) 2017-12-03T11:42:23Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-03T11:45:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T11:45:50Z damke joined #lisp 2017-12-03T11:46:26Z flip214: minion: note for attila_lendvai: Hi, would you care to discuss a small iterate feature request? You're the last committer, I didn't find anybody else caring about it. 2017-12-03T11:46:26Z minion: Remembered. I'll tell attila_lendvai when he/she/it next speaks. 2017-12-03T11:48:58Z jmercouris: pjb: Very interesting, I'm starting to understand non ecl- things a little more 2017-12-03T11:49:25Z nowhere_man joined #lisp 2017-12-03T11:49:49Z motersen joined #lisp 2017-12-03T11:49:57Z dddddd quit (Remote host closed the connection) 2017-12-03T11:52:33Z Amplituhedron quit (Ping timeout: 248 seconds) 2017-12-03T11:52:45Z safe quit (Quit: Leaving) 2017-12-03T11:55:02Z damke_ joined #lisp 2017-12-03T11:55:26Z scymtym joined #lisp 2017-12-03T11:55:31Z jmercouris quit (Ping timeout: 240 seconds) 2017-12-03T11:56:41Z damke quit (Ping timeout: 240 seconds) 2017-12-03T11:57:23Z SaganMan joined #lisp 2017-12-03T11:57:42Z motersen quit (Quit: rcirc on GNU Emacs 25.3.1) 2017-12-03T11:58:30Z motersen joined #lisp 2017-12-03T12:00:18Z mishoo_ quit (Ping timeout: 260 seconds) 2017-12-03T12:01:54Z motersen quit (Remote host closed the connection) 2017-12-03T12:03:02Z motersen joined #lisp 2017-12-03T12:05:54Z EvW1 joined #lisp 2017-12-03T12:10:34Z daniel-s quit (Ping timeout: 260 seconds) 2017-12-03T12:13:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T12:17:41Z phadthai quit (Ping timeout: 260 seconds) 2017-12-03T12:20:35Z margeas joined #lisp 2017-12-03T12:22:56Z Jen joined #lisp 2017-12-03T12:23:05Z nowhere_man quit (Ping timeout: 255 seconds) 2017-12-03T12:23:20Z Jen is now known as Guest89452 2017-12-03T12:25:42Z damke_ joined #lisp 2017-12-03T12:25:45Z EvW1 quit (Ping timeout: 258 seconds) 2017-12-03T12:26:09Z SuperJen quit (Ping timeout: 248 seconds) 2017-12-03T12:28:18Z wxie joined #lisp 2017-12-03T12:28:57Z ryanwatkins quit (Ping timeout: 240 seconds) 2017-12-03T12:29:12Z Guest34322 joined #lisp 2017-12-03T12:34:09Z wxie quit (Quit: Bye.) 2017-12-03T12:34:22Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-03T12:34:48Z DeadTrickster joined #lisp 2017-12-03T12:35:40Z random-nick quit (Remote host closed the connection) 2017-12-03T12:37:39Z Tobbi joined #lisp 2017-12-03T12:38:20Z ryanwatkins joined #lisp 2017-12-03T12:38:42Z beach: pjb: Thanks for the clarification! :) 2017-12-03T12:38:42Z random-nick joined #lisp 2017-12-03T12:39:10Z bkst joined #lisp 2017-12-03T12:41:25Z ryanwatk` joined #lisp 2017-12-03T12:43:04Z resttime left #lisp 2017-12-03T12:43:45Z quazimodo quit (Ping timeout: 248 seconds) 2017-12-03T12:44:37Z Xach: borodust: just tried with latest dist, no luck :( 2017-12-03T12:45:15Z Xach: borodust: https://gist.github.com/quicklisp/1514c6cc8381f7c7fa6ef7577acfc608 has it 2017-12-03T12:45:15Z bkst quit (Ping timeout: 250 seconds) 2017-12-03T12:45:19Z ryanwatkins quit (Ping timeout: 248 seconds) 2017-12-03T12:48:21Z Guest89452 quit (Remote host closed the connection) 2017-12-03T12:48:45Z Guest89452 joined #lisp 2017-12-03T12:48:50Z hel-io quit (Ping timeout: 260 seconds) 2017-12-03T12:49:25Z Bike joined #lisp 2017-12-03T12:51:44Z SuperJen joined #lisp 2017-12-03T12:55:26Z Th30n joined #lisp 2017-12-03T12:55:36Z Guest89452 quit (Ping timeout: 260 seconds) 2017-12-03T12:58:47Z red-dot joined #lisp 2017-12-03T13:02:22Z shrdlu68 quit (Ping timeout: 260 seconds) 2017-12-03T13:02:33Z damke joined #lisp 2017-12-03T13:02:44Z nika joined #lisp 2017-12-03T13:03:35Z basket quit (Ping timeout: 268 seconds) 2017-12-03T13:03:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T13:04:14Z BitPuffin|osx quit (Ping timeout: 260 seconds) 2017-12-03T13:05:34Z EvW joined #lisp 2017-12-03T13:06:49Z damke_ joined #lisp 2017-12-03T13:08:45Z phoe: I have a list (:a :b :c :d :e :f). There was a function that found an element in the list in a way that it returned the list's nthcdr containing that element, like, (foo :d list) ;=> (:d :e :f). What was that function? 2017-12-03T13:09:01Z damke quit (Ping timeout: 240 seconds) 2017-12-03T13:09:56Z Bike: member 2017-12-03T13:11:13Z phoe: member - thanks. 2017-12-03T13:12:37Z knobo2 joined #lisp 2017-12-03T13:13:04Z Xach: i was hoping this was a case for the obscure (to me) http://l1sp.org/cl/get-properties 2017-12-03T13:14:19Z bkst joined #lisp 2017-12-03T13:14:52Z hel-io joined #lisp 2017-12-03T13:16:38Z knobo1 quit (Ping timeout: 255 seconds) 2017-12-03T13:20:23Z shka: heh 2017-12-03T13:21:14Z shka: nice to see that i am not the only one that finds some parts of CL obscure 2017-12-03T13:25:04Z ym quit (Quit: Leaving) 2017-12-03T13:27:42Z Xach: that's one of those functions i want to use but can't find the situation often enough 2017-12-03T13:29:37Z shka: heh, this makes me want to make new project named that-one-project-that-uses-get-properties :D 2017-12-03T13:30:06Z orivej quit (Ping timeout: 268 seconds) 2017-12-03T13:34:18Z ryanwatk` quit (Remote host closed the connection) 2017-12-03T13:34:33Z ryanwatk` joined #lisp 2017-12-03T13:37:12Z phadthai joined #lisp 2017-12-03T13:42:32Z EvW quit (Ping timeout: 240 seconds) 2017-12-03T13:49:34Z smurfrobot joined #lisp 2017-12-03T13:55:32Z pseudonymous quit (Ping timeout: 255 seconds) 2017-12-03T13:57:50Z mishoo_ joined #lisp 2017-12-03T13:59:15Z shrdlu68 joined #lisp 2017-12-03T13:59:39Z Amplituhedron joined #lisp 2017-12-03T14:02:28Z borodust: Xach: ;( 2017-12-03T14:03:30Z hel-io quit (Ping timeout: 260 seconds) 2017-12-03T14:03:52Z borodust: hmm, alright, lets see what else that could be 2017-12-03T14:04:11Z borodust: too bad it mostly works on macos D: 2017-12-03T14:07:37Z hel-io joined #lisp 2017-12-03T14:10:24Z dmiles has i use properties sybols when i dont want to use a separate hastable 2017-12-03T14:10:55Z LiamH joined #lisp 2017-12-03T14:11:00Z dmiles: separate hashtable to remember something about the symbol 2017-12-03T14:12:53Z smurfrobot quit (Remote host closed the connection) 2017-12-03T14:13:02Z dmiles: for instance if i am printing out information about sometings in a list and that list might repeat.. the way i remember that i prointed the items is to put a property on that time 2017-12-03T14:13:50Z dmiles: rather than a hashtable that remembers i printed some item 2017-12-03T14:14:50Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-03T14:14:52Z dmiles: worst way ever to use them i know 2017-12-03T14:15:14Z DeadTrickster joined #lisp 2017-12-03T14:17:05Z k-stz joined #lisp 2017-12-03T14:18:27Z knobo2 quit (Ping timeout: 240 seconds) 2017-12-03T14:19:15Z knobo2 joined #lisp 2017-12-03T14:20:18Z trouble joined #lisp 2017-12-03T14:23:07Z hel-io quit (Remote host closed the connection) 2017-12-03T14:23:15Z dieggsy joined #lisp 2017-12-03T14:23:33Z mercipher joined #lisp 2017-12-03T14:23:34Z hel-io joined #lisp 2017-12-03T14:25:44Z smurfrobot joined #lisp 2017-12-03T14:26:56Z smurfrobot quit (Remote host closed the connection) 2017-12-03T14:26:58Z trouble quit (Quit: ERC (IRC client for Emacs 25.3.1)) 2017-12-03T14:29:38Z knobo2 quit (Ping timeout: 260 seconds) 2017-12-03T14:30:39Z dieggsy quit (Remote host closed the connection) 2017-12-03T14:31:42Z hel-io quit 2017-12-03T14:33:40Z knobo2 joined #lisp 2017-12-03T14:35:56Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-03T14:37:06Z DeadTrickster joined #lisp 2017-12-03T14:38:31Z smurfrobot joined #lisp 2017-12-03T14:45:57Z Amplituhedron quit (Ping timeout: 268 seconds) 2017-12-03T14:47:12Z pseudonymous joined #lisp 2017-12-03T14:47:25Z borodust: Xach: btw, does window with "Scene" title appear before crashing int debugger? 2017-12-03T14:48:35Z orivej joined #lisp 2017-12-03T14:50:21Z SuperJen quit (Remote host closed the connection) 2017-12-03T14:50:45Z SuperJen joined #lisp 2017-12-03T14:51:40Z shenghi quit (Remote host closed the connection) 2017-12-03T14:52:01Z shenghi joined #lisp 2017-12-03T14:56:54Z smurfrobot quit (Remote host closed the connection) 2017-12-03T14:59:27Z motersen quit (Ping timeout: 240 seconds) 2017-12-03T15:00:27Z shka quit (Quit: Konversation terminated!) 2017-12-03T15:00:33Z easye joined #lisp 2017-12-03T15:00:39Z smurfrobot joined #lisp 2017-12-03T15:00:45Z smurfrobot quit (Remote host closed the connection) 2017-12-03T15:00:59Z smurfrobot joined #lisp 2017-12-03T15:02:25Z EvW joined #lisp 2017-12-03T15:03:51Z eSVG quit (Ping timeout: 240 seconds) 2017-12-03T15:07:35Z EvW quit (Ping timeout: 276 seconds) 2017-12-03T15:08:15Z papachan joined #lisp 2017-12-03T15:13:11Z asarch joined #lisp 2017-12-03T15:14:14Z smurfrobot quit (Remote host closed the connection) 2017-12-03T15:15:31Z bluerama joined #lisp 2017-12-03T15:15:55Z basket joined #lisp 2017-12-03T15:16:59Z Th30n quit (Ping timeout: 255 seconds) 2017-12-03T15:17:20Z k-stz quit (Remote host closed the connection) 2017-12-03T15:20:13Z damke joined #lisp 2017-12-03T15:21:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T15:23:32Z bluerama quit (Quit: Page closed) 2017-12-03T15:23:45Z shrdlu68 quit (Ping timeout: 248 seconds) 2017-12-03T15:26:30Z dddddd joined #lisp 2017-12-03T15:27:12Z pseudonymous quit (Ping timeout: 240 seconds) 2017-12-03T15:27:18Z Xach: Shinmera: getting something new today - http://report.quicklisp.org/2017-12-03/failure-report/lionchat.html#lionchat 2017-12-03T15:29:33Z k-stz joined #lisp 2017-12-03T15:30:49Z ryanwatk` quit (Read error: Connection reset by peer) 2017-12-03T15:31:01Z damke_ joined #lisp 2017-12-03T15:31:05Z ryanwatk` joined #lisp 2017-12-03T15:33:01Z damke quit (Ping timeout: 240 seconds) 2017-12-03T15:35:45Z shrdlu68 joined #lisp 2017-12-03T15:42:51Z damke__ joined #lisp 2017-12-03T15:44:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T15:50:26Z ryanwatk` quit (Read error: Connection reset by peer) 2017-12-03T15:50:44Z ryanwatk` joined #lisp 2017-12-03T15:50:51Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-03T15:50:57Z shifty quit (Ping timeout: 248 seconds) 2017-12-03T15:58:59Z nika_ joined #lisp 2017-12-03T15:59:22Z nika quit (Read error: Connection reset by peer) 2017-12-03T16:02:08Z Th30n joined #lisp 2017-12-03T16:02:45Z Shinmera: Uuuuh 2017-12-03T16:02:48Z Shinmera: that makes no sense 2017-12-03T16:03:20Z Xach: Ok! 2017-12-03T16:03:33Z dieggsy joined #lisp 2017-12-03T16:03:45Z Shinmera: It's a variable that's defined like a line above where it's used, inside the ASD. 2017-12-03T16:05:10Z Shinmera: I also can't seem to reproduce it 2017-12-03T16:05:30Z Xach gives it another look 2017-12-03T16:07:13Z Xach: Now I get an error about destructuring-bind and sb-walker. hmm 2017-12-03T16:07:39Z Xach: something in ubiquitous now. 2017-12-03T16:07:40Z Shinmera: Oh boy. 2017-12-03T16:08:02Z Shinmera: Ubiquitous is about one of my least suspicious systems. 2017-12-03T16:08:16Z Xach: http://report.quicklisp.org/2017-12-03/failure-report/ubiquitous.html#ubiquitous 2017-12-03T16:09:01Z turkja quit (Ping timeout: 240 seconds) 2017-12-03T16:09:24Z Xach: well, no error 24 hours ago, but error now 2017-12-03T16:09:48Z Shinmera: Looks like phoe broke it https://github.com/Shinmera/ubiquitous/commit/fca63bbe4c0a4215fe2f11eac16e14bb77ad07c6 2017-12-03T16:10:17Z Shinmera: But I don't think that's invalid code-- yeah? 2017-12-03T16:11:10Z Shinmera: I'll ask #sbcl. 2017-12-03T16:11:13Z ryanwatk` quit (Ping timeout: 248 seconds) 2017-12-03T16:11:34Z EvW1 joined #lisp 2017-12-03T16:12:18Z scymtym: Shinmera: re that commit: the structure is (if found (values …) (values …) nil) instead of (if found (values …) (values … nil)) 2017-12-03T16:12:19Z arbv quit (Remote host closed the connection) 2017-12-03T16:12:55Z Shinmera: Ooh, I see it now 2017-12-03T16:12:57Z Shinmera: Good catch. 2017-12-03T16:13:54Z Shinmera: Pushed a fix. Thanks, scymtym 2017-12-03T16:14:15Z scymtym: sure 2017-12-03T16:14:27Z dieggsy quit (Remote host closed the connection) 2017-12-03T16:14:37Z XachX: funky error message 2017-12-03T16:14:44Z scymtym: i wish SBCL's PCL didn't use the walker thing 2017-12-03T16:16:05Z Xach: Shinmera: pushed? 2017-12-03T16:16:09Z Shinmera: Yes 2017-12-03T16:16:15Z Xach: To where? 2017-12-03T16:16:17Z Shinmera: Or not 2017-12-03T16:16:20Z Shinmera: ugh 2017-12-03T16:16:28Z Shinmera: Missed a minibuffer prompt. 2017-12-03T16:16:32Z Shinmera: pushed now, sorry. 2017-12-03T16:16:40Z Xach: mycket bra! 2017-12-03T16:16:51Z scymtym: on the bright side, since a few releases, the offending form would have been highlighted in SLIME instead of the whole method form. comparison: https://techfak.de/~jmoringe/macroexpansion-condition-locations.png 2017-12-03T16:17:44Z Xach: Shinmera: things look better now, thanks 2017-12-03T16:18:18Z kuwze joined #lisp 2017-12-03T16:19:09Z Shinmera: Hoorah 2017-12-03T16:21:02Z Shinmera has been dealing with gamepads crap on all OSs today and isn't ready to handle the rest of the world he built crumbling too 2017-12-03T16:23:21Z mathi_aihtam quit (Quit: mathi_aihtam) 2017-12-03T16:23:44Z turkja joined #lisp 2017-12-03T16:24:12Z mathi_aihtam joined #lisp 2017-12-03T16:31:21Z phoe: god damn, I broke ubiquitous 2017-12-03T16:31:32Z phoe: Shinmera: sorry 2017-12-03T16:33:04Z Xach: It's ok! I caught it! 2017-12-03T16:33:34Z kuwze: could someone point me at a good small codebase to learn how to break a project up? right now I just have a single humongous file. 2017-12-03T16:34:32Z beach: kuwze: I am fairly proud of Cluffer: https://github.com/robert-strandh/Cluffer 2017-12-03T16:35:04Z beach: kuwze: It uses CLOS a lot, just like other modern Common Lisp programs. And it comes with documentation and tests. 2017-12-03T16:35:15Z kuwze: beach: thank you! 2017-12-03T16:35:27Z beach: kuwze: Anytime. 2017-12-03T16:38:47Z pjb: kuwze: http://cliki.net/com.informatimago.hangman 2017-12-03T16:39:09Z pjb: kuwze: http://git.informatimago.com/viewgit/?a=tree&p=public/games/hangman-cocoa-lisp&h=e97207bf8840c93a3aa45f743c3ce3d56820e53c&hb=d2b05300c771147337bcbf074d4d7af60d813ff9&f=src 2017-12-03T16:40:04Z kuwze: pjb: thank you; that looks like a very minimal example 2017-12-03T16:40:52Z pjb: kuwze: https://gitlab.com/abnotation/gsharp is a little bigger. 2017-12-03T16:40:58Z Shinmera: I guess while we're at it, Ubiquitous is fairly small. https://github.com/Shinmera/ubiquitous 2017-12-03T16:44:31Z kuwze: thank you guys! 2017-12-03T16:46:23Z ikki joined #lisp 2017-12-03T16:49:16Z wigust_ joined #lisp 2017-12-03T16:49:32Z EvW1 quit (Ping timeout: 240 seconds) 2017-12-03T16:52:17Z wigust quit (Ping timeout: 248 seconds) 2017-12-03T16:53:28Z Devon joined #lisp 2017-12-03T16:57:21Z kuwze: okay I am trying to figure out thus bug. first of all, it only happens sometimes when I compile the whole project (ql:quickload "cl-oanda"). the bug/error goes away when I quit slime and restart it. 2017-12-03T16:57:31Z kuwze: here is the relevant code: https://gist.github.com/kuwze/57079a629a67d8dca229c8d795728d57 2017-12-03T16:57:36Z kuwze: this* 2017-12-03T16:58:08Z zmt00 joined #lisp 2017-12-03T16:58:32Z kuwze: I am using Clozure Common Lisp Version 1.11-r16635 (LinuxX8664) 2017-12-03T16:59:09Z Shinmera: dlowe: Apparently you sent me a note about Portacle debug settings a long time ago that I never got because plexi isn't in this channel? 2017-12-03T16:59:50Z Shinmera: dlowe: The answer is that it used to use restrict-compiler-policy to force debug to 3 at one point, until I discovered that certain systems like cl-opengl perform very poorly with that. 2017-12-03T17:01:36Z damke joined #lisp 2017-12-03T17:01:42Z beach: kuwze: "typex" and "orderBook" are never going to be EQL. 2017-12-03T17:02:08Z saemcro joined #lisp 2017-12-03T17:02:52Z kuwze: beach: thank you for pointing that out. 2017-12-03T17:02:59Z beach: kuwze: And RESULT is not a hash table, it's a list. 2017-12-03T17:03:01Z damke__ quit (Ping timeout: 240 seconds) 2017-12-03T17:03:33Z beach: kuwze: Why is this a macro? 2017-12-03T17:04:35Z mnoonan joined #lisp 2017-12-03T17:05:33Z beach: kuwze: Why are you implementing make-book as a macro rather than as a function? 2017-12-03T17:05:46Z clas_ joined #lisp 2017-12-03T17:05:55Z kuwze: beach: I guess I was trying to practice with macros; I am not sure what I was thinking at the time 2017-12-03T17:06:10Z kuwze: also what does this mean?: Process inferior-lisp segmentation fault (core dumped) 2017-12-03T17:06:42Z beach: kuwze: You can practice macros if you like, but then do it with something that requires a macro. I don't think make-book does. 2017-12-03T17:06:52Z osune joined #lisp 2017-12-03T17:07:10Z eschulte joined #lisp 2017-12-03T17:07:49Z beach: That means either of several things: 1. Your Common Lisp implementation is buggy. 2. You are doing something that the Common Lisp HyperSpec says has "undefined consequences" and your Common Lisp implementation is taking advantage of that, or 3. You are using buggy foreign code. 2017-12-03T17:08:04Z kuwze: beach: no, I don't want to add aritificial complexity. I'll change it to a function. 2017-12-03T17:08:24Z pseudonymous joined #lisp 2017-12-03T17:08:59Z kuwze: beach, in regards to the segfault: I am not using ffi, and I am using the mature CCL, so I guess it must be 2 2017-12-03T17:09:39Z beach: Possibly. Though CCL should not take advantage of those situations very much. 2017-12-03T17:10:23Z beach: kuwze: Oh, and given your level of knowledge of Common Lisp, I think Cluffer is probably too complicated at this point. But I didn't know that when I recommended it. Sorry. 2017-12-03T17:11:57Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-03T17:13:18Z papachan quit (Quit: WeeChat 2.0) 2017-12-03T17:14:50Z smurfrobot joined #lisp 2017-12-03T17:15:54Z kuwze: I'm sorry, but what's the newbite channel for common lisp? I don't want to bog down this channel 2017-12-03T17:16:06Z kuwze: newbie* 2017-12-03T17:16:30Z beach: #clnoobs, but I don't know how reactive it is. 2017-12-03T17:18:08Z Devon: (fboundp '(setf car)) => NIL (fdefinition '(setf car)) and (function '(setf car)) both err undefined-function; No simple way to detect setf-able names? 2017-12-03T17:18:53Z beach: Use FBOUNDP is you did. 2017-12-03T17:19:23Z smurfrobot quit (Ping timeout: 255 seconds) 2017-12-03T17:19:35Z basket: Devon: (fboundp '(setf car)) should return t 2017-12-03T17:19:37Z Devon: (fboundp '(setf car)) incorrectly returns NIL in CCL. 2017-12-03T17:19:43Z beach: basket: Why? 2017-12-03T17:19:51Z dddddd_ joined #lisp 2017-12-03T17:20:44Z dddddd quit (Ping timeout: 268 seconds) 2017-12-03T17:21:58Z basket: beach: Should it not? 2017-12-03T17:21:59Z Devon: CLHS 5.1.2.9 Other Compound Forms as Places 2017-12-03T17:22:07Z Tobbi joined #lisp 2017-12-03T17:22:13Z Devon: A function named (setf f) must return its first argument as its only value in order to preserve the semantics of setf. 2017-12-03T17:23:28Z beach: I can't find it now, but I think there is a general rule that when the Common Lisp HyperSpec says it's an "accessor", then it can be implemented either as a function or as a setf expander. 2017-12-03T17:23:35Z philozz joined #lisp 2017-12-03T17:24:24Z Devon: CLHS says in several places that (setf f), i.e., (setf car), is a function name. 2017-12-03T17:24:39Z Devon: i.e./e.g. 2017-12-03T17:24:48Z Shinmera: It's a function name, but that doesn't mean that an accessor needs to be a function 2017-12-03T17:25:06Z Shinmera: There is a section that specifies that an implementation is allowed to implement (setf foo) as a setf-expander on foo rather than a function. 2017-12-03T17:25:15Z Devon: Nobody ever said (setf car) was an accessor. 2017-12-03T17:25:30Z beach: clhs car 2017-12-03T17:25:31Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_car_c.htm 2017-12-03T17:25:56Z beach: Devon: CAR is an accessor. So you can use (setf (car
) ...) 2017-12-03T17:26:27Z Devon: Yes, CAR is an accessor and (SETF CAR) is a function name. 2017-12-03T17:26:27Z beach: Shinmera: Yes, but how to find it? :( 2017-12-03T17:26:43Z beach: Devon: Listen to Shinmera. 2017-12-03T17:26:52Z beach: clhs glossary/function name 2017-12-03T17:26:52Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/26_glo_f.htm#function_name 2017-12-03T17:27:23Z beach: Devon: function name doesn't mean that it is bound to a function. 2017-12-03T17:27:23Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-03T17:27:25Z Shinmera: beach: I'm looking 2017-12-03T17:27:32Z basket: It seems (fboundp '(setf car)) is nil on Allegro, LW, Clisp, and CCL, and T on SBCL 2017-12-03T17:27:47Z beach: basket: And that is perfectly valid. 2017-12-03T17:27:51Z basket: Right 2017-12-03T17:29:00Z Devon: The symbol CAR and the list (SETF CAR) are both function names. (fboundp 'car) works, if (fboundp '(setf car)) is not required to work, what does? 2017-12-03T17:29:16Z Shinmera: clhs 5.1.1.2 2017-12-03T17:29:16Z specbot: Setf Expansions: http://www.lispworks.com/reference/HyperSpec/Body/05_aab.htm 2017-12-03T17:29:19Z Shinmera: For each standardized accessor function F, unless it is explicitly documented otherwise, it is implementation-dependent whether the ability to use an F form as a setf place is implemented by a setf expander or a setf function. Also, it follows from this that it is implementation-dependent whether the name (setf F) is fbound. 2017-12-03T17:30:23Z Bike: the fact that you can (setf (car ...) ...) doesn't mean there's a function called (setf car). the setf working can also be accomplished by a setf expansion (into eg rplaca and returning the value) 2017-12-03T17:31:34Z Devon: Shinmera: Thanks for finding that. The question of how to detect whether a given symbol is setf-able or not remains unanswered. 2017-12-03T17:31:57Z Bike: i don't think you can. 2017-12-03T17:32:07Z pjb: And even if (setf f) is bound, it's still implementation-dependent whether it's used by setf! 2017-12-03T17:32:15Z Devon: Lol 2017-12-03T17:32:17Z Bike: get-setf-expansion will return a default sometimes, and if it returns the default you can check whether (setf f) is bound 2017-12-03T17:32:42Z Bike: but i don't know if that's reliable, maybe an implementation could return a non-default setf expansion that still doesn't work 2017-12-03T17:32:58Z pjb: Bike: I wouldn't be so sure. I'd rather use (macroexpand-1 '(setf (f x) v)) to check whether there's a (setf f) function… 2017-12-03T17:33:13Z beach: Shinmera: Thanks! 2017-12-03T17:40:16Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-03T17:41:35Z Tobbi joined #lisp 2017-12-03T17:41:50Z SaganMan quit (Quit: WeeChat 1.6) 2017-12-03T17:42:18Z Devon: (second (fourth (multiple-value-list (get-setf-expansion '(#:foo #:bar))))) => #'(SETF #:FOO) in CCL but it smells unportable 2017-12-03T17:42:43Z Bike: Why do you want to do this? 2017-12-03T17:43:42Z Bike: there can also be situations like, you have a file with (defun (setf foo) ...), and also (setf (foo ...) ...) forms in the file. while compiling the file there is no setf function (and no custom setf expansion), but it'll be fine when it's loaded 2017-12-03T17:43:42Z Devon: To require defsetf file-position 2017-12-03T17:44:10Z Bike: you're not allowed to define a setf for file-position, it's a CL symbol. 2017-12-03T17:44:16Z pjb: (second (fourth (multiple-value-list (get-setf-expansion '(car x))))) #| --> #:g66321 |# 2017-12-03T17:44:35Z philozz quit (Ping timeout: 255 seconds) 2017-12-03T17:44:42Z Devon: Right, if the expansion looks like #'(setf ##) then there is no expander. 2017-12-03T17:44:46Z pjb: ecl returns (RPLACA #:G143 #:G144), all the others a gensym. 2017-12-03T17:46:35Z aindilis joined #lisp 2017-12-03T17:46:41Z Bike: like, (defsetf file-position ...) is verboten. 2017-12-03T17:47:59Z Devon: (defsetf file-position file-position) => FILE-POSITION ; So CCL does it and implementations have so much latitude in this, it'd be truly bizarre to forbid it. 2017-12-03T17:47:59Z scymtym quit (Ping timeout: 255 seconds) 2017-12-03T17:48:30Z Bike: it's okay for an implementation to do it, but you can't. 2017-12-03T17:48:42Z Bike: clhs 11.1.2.1.2 and all. 2017-12-03T17:49:52Z Devon: 11.1.2.1.2 Constraints on the COMMON-LISP Package for Conforming Programs ... undefined ... 13. Defining a setf expander for it (via defsetf or define-setf-method). 2017-12-03T17:49:55Z Devon: bummer 2017-12-03T17:49:56Z nowhere_man joined #lisp 2017-12-03T17:50:12Z Bike: you'll just have to settle for calling file position with the new value yourself. 2017-12-03T17:50:52Z malice joined #lisp 2017-12-03T17:51:07Z Devon: (incf (file-position s) i) ; no such luck 2017-12-03T17:51:47Z FreeBirdLjj joined #lisp 2017-12-03T17:52:24Z Bike: maybe the reason it doesn't have a setf is that it doesn't return the new value like setf is supposed to. 2017-12-03T17:52:37Z Bike: instead it returns a success value (which is also kind of weird) 2017-12-03T17:52:38Z wooden quit (Ping timeout: 260 seconds) 2017-12-03T17:52:45Z Devon: Lack of (setf file-position) is ugly, implementors should support it. 2017-12-03T17:53:05Z brendyn quit (Ping timeout: 248 seconds) 2017-12-03T17:53:22Z Bike: but then you can't determine whether it actually changed or not. 2017-12-03T17:53:35Z Devon: Hmm, that breaks the only-fetch-once guarantee. 2017-12-03T17:53:58Z FreeBird_ joined #lisp 2017-12-03T17:54:18Z FreeBirdLjj quit (Read error: Connection reset by peer) 2017-12-03T17:58:15Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-03T17:58:40Z DeadTrickster joined #lisp 2017-12-03T18:01:32Z Devon: Thanks everyone, (incf (file-position s) i) will have to wait for the next *ahem* ANSI committee. 2017-12-03T18:03:31Z LiamH quit (Read error: Connection reset by peer) 2017-12-03T18:03:39Z LiamH joined #lisp 2017-12-03T18:03:57Z mparashar joined #lisp 2017-12-03T18:04:29Z scymtym joined #lisp 2017-12-03T18:06:59Z mathrick joined #lisp 2017-12-03T18:08:43Z dddddd_ is now known as dddddd 2017-12-03T18:09:40Z osune quit (Remote host closed the connection) 2017-12-03T18:10:56Z pjb: Devon: notice however that it should work on implementations running on POSIX systems, and assuming the stream is a binary stream or uses a 1-1 encoding. 2017-12-03T18:12:12Z pjb: I mean, (file-position s (1+ (file-position s))) 2017-12-03T18:14:08Z Elronnd quit (Ping timeout: 276 seconds) 2017-12-03T18:14:23Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-03T18:15:21Z Th30n quit (Ping timeout: 258 seconds) 2017-12-03T18:16:03Z palter quit 2017-12-03T18:16:17Z pjb: Devon: also, (defun fpos (stream) (file-position stream)) (defsetf fpos (stream) (position) `(file-position ,stream ,position)) and then: (incf (fpos stream) i) 2017-12-03T18:23:36Z wooden joined #lisp 2017-12-03T18:24:16Z Tobbi joined #lisp 2017-12-03T18:25:41Z damke quit (Ping timeout: 240 seconds) 2017-12-03T18:33:58Z Devon: pjb: Needs gensym s `(let ((,s ,stream)) (unless (file-position ,s ,position) (error "Unable to set file position.")) (file-position ,s)) 2017-12-03T18:34:44Z pjb: If you want to give more precise errors, ok. (incf nil) #| ERROR: The value nil is not of the expected type number. |# would do too. 2017-12-03T18:36:02Z Bike: defsetf does gensyms for you. 2017-12-03T18:37:02Z Devon: Sans error checking still needs the gensym temp s '(let ((,s ,stream)) (file-position ,s ,position) (file-position ,s)) 2017-12-03T18:37:23Z Devon: '/` 2017-12-03T18:37:37Z damke joined #lisp 2017-12-03T18:38:32Z rgrau joined #lisp 2017-12-03T18:39:34Z Bike: i mean, in the defsetf body stream is bound to a symbol. you don't have to worry about multiple evaluation. 2017-12-03T18:41:10Z mercipher quit (Ping timeout: 260 seconds) 2017-12-03T18:41:13Z nika_ quit (Quit: Leaving...) 2017-12-03T18:42:28Z malice quit (Remote host closed the connection) 2017-12-03T18:46:51Z malice joined #lisp 2017-12-03T18:48:55Z basket quit (Ping timeout: 268 seconds) 2017-12-03T18:49:05Z turkja quit (Ping timeout: 248 seconds) 2017-12-03T18:50:49Z fikka quit (Quit: leaving) 2017-12-03T18:51:16Z fikka joined #lisp 2017-12-03T18:51:40Z eazar001 joined #lisp 2017-12-03T18:53:21Z damke quit (Ping timeout: 240 seconds) 2017-12-03T18:53:29Z SuperJen quit (Remote host closed the connection) 2017-12-03T18:53:55Z SuperJen joined #lisp 2017-12-03T18:54:56Z Jen joined #lisp 2017-12-03T18:55:19Z Jen is now known as Guest70025 2017-12-03T18:56:34Z bkst quit (Ping timeout: 260 seconds) 2017-12-03T18:57:06Z shka joined #lisp 2017-12-03T18:57:18Z damke joined #lisp 2017-12-03T18:58:47Z SuperJen quit (Ping timeout: 268 seconds) 2017-12-03T19:00:29Z basket joined #lisp 2017-12-03T19:00:31Z FreeBird_ quit (Remote host closed the connection) 2017-12-03T19:01:07Z FreeBirdLjj joined #lisp 2017-12-03T19:01:26Z Th30n joined #lisp 2017-12-03T19:01:32Z damke_ joined #lisp 2017-12-03T19:03:29Z eazar001 quit (Quit: WeeChat 1.9.1) 2017-12-03T19:03:44Z damke quit (Ping timeout: 252 seconds) 2017-12-03T19:05:02Z Th30n quit (Client Quit) 2017-12-03T19:05:35Z FreeBirdLjj quit (Ping timeout: 255 seconds) 2017-12-03T19:05:37Z fikka quit (Ping timeout: 248 seconds) 2017-12-03T19:06:14Z damke joined #lisp 2017-12-03T19:07:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T19:09:22Z damke_ joined #lisp 2017-12-03T19:10:41Z damke quit (Ping timeout: 240 seconds) 2017-12-03T19:21:06Z adimanea joined #lisp 2017-12-03T19:24:28Z adimanea quit (Client Quit) 2017-12-03T19:29:09Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-03T19:32:09Z ikki quit (Ping timeout: 250 seconds) 2017-12-03T19:32:13Z eazar001 joined #lisp 2017-12-03T19:37:01Z didi left #lisp 2017-12-03T19:37:09Z varjag joined #lisp 2017-12-03T19:38:36Z Cthulhux quit (Remote host closed the connection) 2017-12-03T19:39:25Z Tobbi joined #lisp 2017-12-03T19:40:46Z igemnace joined #lisp 2017-12-03T19:42:24Z Karl_Dscc joined #lisp 2017-12-03T19:45:21Z malice quit (Remote host closed the connection) 2017-12-03T19:46:15Z nowhere_man quit (Remote host closed the connection) 2017-12-03T19:46:41Z nowhere_man joined #lisp 2017-12-03T19:49:47Z osune joined #lisp 2017-12-03T19:51:44Z ikki joined #lisp 2017-12-03T19:54:39Z Cr4zko joined #lisp 2017-12-03T19:54:43Z Cr4zko: My question still remains 2017-12-03T19:54:47Z Cr4zko: Wii or PS-Triple? 2017-12-03T19:55:48Z Cr4zko: No? 2017-12-03T19:55:55Z Cr4zko left #lisp 2017-12-03T20:00:10Z damke joined #lisp 2017-12-03T20:02:14Z random-nick quit (Remote host closed the connection) 2017-12-03T20:02:36Z damke_ quit (Ping timeout: 246 seconds) 2017-12-03T20:02:58Z neoncontrails joined #lisp 2017-12-03T20:05:17Z damke_ joined #lisp 2017-12-03T20:05:23Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-03T20:06:01Z damke quit (Ping timeout: 240 seconds) 2017-12-03T20:07:34Z damke joined #lisp 2017-12-03T20:08:08Z mparashar quit (Ping timeout: 255 seconds) 2017-12-03T20:10:18Z damke_ quit (Ping timeout: 246 seconds) 2017-12-03T20:14:10Z jealousmonk joined #lisp 2017-12-03T20:15:05Z smurfrobot joined #lisp 2017-12-03T20:19:38Z smurfrobot quit (Ping timeout: 255 seconds) 2017-12-03T20:21:20Z pierpa joined #lisp 2017-12-03T20:21:47Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-12-03T20:26:37Z nowhere_man quit (Remote host closed the connection) 2017-12-03T20:27:48Z Tobbi joined #lisp 2017-12-03T20:28:20Z nowhere_man joined #lisp 2017-12-03T20:34:27Z eSVG joined #lisp 2017-12-03T20:36:43Z random-nick joined #lisp 2017-12-03T20:38:58Z pmc_ joined #lisp 2017-12-03T20:41:55Z Devon quit (Ping timeout: 250 seconds) 2017-12-03T20:47:05Z mondec joined #lisp 2017-12-03T20:49:35Z fikka joined #lisp 2017-12-03T20:50:13Z pmc_ quit (Quit: Leaving) 2017-12-03T20:50:41Z mathi_aihtam quit (Quit: mathi_aihtam) 2017-12-03T20:52:05Z nowhereman joined #lisp 2017-12-03T20:53:36Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-03T20:54:17Z Guest70025 quit (Remote host closed the connection) 2017-12-03T20:54:23Z add^__ is now known as add^_ 2017-12-03T20:54:24Z aeth: "The function was called with fourteen arguments, but wants exactly twelve." I've created a monster. 2017-12-03T20:54:40Z Guest70025 joined #lisp 2017-12-03T20:55:11Z aeth: And, yes, this is *with* helper struct objects, standard objects, and arrays to try to minimize that number. 2017-12-03T20:55:25Z Tobbi joined #lisp 2017-12-03T20:55:59Z nowhere_man quit (Ping timeout: 248 seconds) 2017-12-03T20:58:14Z mathi_aihtam joined #lisp 2017-12-03T21:00:14Z fikka quit (Ping timeout: 260 seconds) 2017-12-03T21:00:20Z shka quit (Ping timeout: 255 seconds) 2017-12-03T21:06:51Z mathi_aihtam quit (Quit: mathi_aihtam) 2017-12-03T21:08:52Z mathi_aihtam joined #lisp 2017-12-03T21:09:10Z fikka joined #lisp 2017-12-03T21:09:51Z igemnace quit (Quit: WeeChat 1.9.1) 2017-12-03T21:12:25Z kuwze quit (Ping timeout: 260 seconds) 2017-12-03T21:16:57Z fikka quit (Quit: leaving) 2017-12-03T21:18:04Z fikka joined #lisp 2017-12-03T21:23:45Z mathi_aihtam quit (Ping timeout: 248 seconds) 2017-12-03T21:25:05Z shrdlu68 quit (Ping timeout: 255 seconds) 2017-12-03T21:25:46Z mathi_aihtam joined #lisp 2017-12-03T21:28:14Z wooden quit (Ping timeout: 255 seconds) 2017-12-03T21:29:05Z Josh_2 joined #lisp 2017-12-03T21:29:38Z mishoo_ quit (Ping timeout: 260 seconds) 2017-12-03T21:31:55Z wooden joined #lisp 2017-12-03T21:36:59Z eSVG quit (Ping timeout: 258 seconds) 2017-12-03T21:37:26Z Rawriful joined #lisp 2017-12-03T21:38:14Z damke_ joined #lisp 2017-12-03T21:40:41Z damke quit (Ping timeout: 240 seconds) 2017-12-03T21:44:06Z varjag quit (Ping timeout: 260 seconds) 2017-12-03T21:45:54Z asarch quit (Quit: Leaving) 2017-12-03T21:47:39Z eSVG joined #lisp 2017-12-03T21:48:50Z random-nick quit (Remote host closed the connection) 2017-12-03T21:49:02Z varjag joined #lisp 2017-12-03T21:53:54Z wigust_ quit (Ping timeout: 260 seconds) 2017-12-03T21:56:59Z Devon joined #lisp 2017-12-03T22:04:43Z Devon: clhs unless 2017-12-03T22:04:43Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_when_.htm 2017-12-03T22:04:53Z Devon: false/true in CLHS unless ... if the test-form yields false, the forms are evaluated ... Otherwise, if the test-form yields false ... 2017-12-03T22:05:17Z Devon: Is there a cleaned-up version fixing this sort of obvious error? 2017-12-03T22:09:09Z eazar001 quit (Quit: WeeChat 2.0) 2017-12-03T22:10:41Z Bike: there's http://www.cliki.net/Proposed%20ANSI%20Revisions%20and%20Clarifications, and it mentions that but otherwise I don't think so, no 2017-12-03T22:10:51Z Bike: maybe CLUS does, insofar as CLUS is a modified CLHS, which i don't think it is 2017-12-03T22:15:00Z smurfrobot joined #lisp 2017-12-03T22:17:20Z kokonaisluku joined #lisp 2017-12-03T22:19:11Z kokonaisluku quit (Remote host closed the connection) 2017-12-03T22:22:19Z shifty joined #lisp 2017-12-03T22:30:18Z mathi_aihtam quit (Ping timeout: 260 seconds) 2017-12-03T22:32:37Z smurfrobot quit (Remote host closed the connection) 2017-12-03T22:33:28Z Cthulhux joined #lisp 2017-12-03T22:35:00Z mondec quit (Quit: ERC (IRC client for Emacs 25.1.1)) 2017-12-03T22:37:35Z __main__ quit (Ping timeout: 240 seconds) 2017-12-03T22:38:19Z voidlily quit (Remote host closed the connection) 2017-12-03T22:40:00Z smurfrobot joined #lisp 2017-12-03T22:40:39Z clas_ quit (Quit: Leaving) 2017-12-03T22:40:51Z quazimodo joined #lisp 2017-12-03T22:44:05Z smurfrobot quit (Remote host closed the connection) 2017-12-03T22:44:25Z hyero joined #lisp 2017-12-03T22:44:49Z Cthulhux quit (Ping timeout: 248 seconds) 2017-12-03T22:45:45Z smurfrobot joined #lisp 2017-12-03T22:47:13Z Cthulhux joined #lisp 2017-12-03T22:47:16Z Cthulhux quit (Remote host closed the connection) 2017-12-03T22:51:03Z eSVG quit (Ping timeout: 250 seconds) 2017-12-03T22:51:16Z voidlily joined #lisp 2017-12-03T22:52:17Z pseudonymous quit (Ping timeout: 248 seconds) 2017-12-03T22:52:44Z pseudonymous joined #lisp 2017-12-03T22:53:55Z Cthulhux joined #lisp 2017-12-03T22:54:44Z Cthulhux quit (Changing host) 2017-12-03T22:54:44Z Cthulhux joined #lisp 2017-12-03T22:55:41Z mson joined #lisp 2017-12-03T22:55:41Z smurfrobot quit (Remote host closed the connection) 2017-12-03T22:55:59Z smurfrobot joined #lisp 2017-12-03T22:56:59Z jstoddard joined #lisp 2017-12-03T22:59:02Z FreeBirdLjj joined #lisp 2017-12-03T23:01:26Z damke joined #lisp 2017-12-03T23:02:26Z __main__ joined #lisp 2017-12-03T23:02:58Z Karl_Dscc quit (Remote host closed the connection) 2017-12-03T23:03:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T23:04:22Z smurfrobot quit (Remote host closed the connection) 2017-12-03T23:04:56Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-03T23:05:32Z FreeBirdLjj joined #lisp 2017-12-03T23:06:21Z damke quit (Ping timeout: 240 seconds) 2017-12-03T23:08:27Z damke joined #lisp 2017-12-03T23:09:19Z pseudonymous quit (Ping timeout: 248 seconds) 2017-12-03T23:09:41Z FreeBirdLjj quit (Read error: Connection reset by peer) 2017-12-03T23:09:48Z FreeBird_ joined #lisp 2017-12-03T23:12:18Z _main_ joined #lisp 2017-12-03T23:12:24Z damke_ joined #lisp 2017-12-03T23:13:17Z _main_ quit (Read error: Connection reset by peer) 2017-12-03T23:14:06Z __main__ quit (Read error: Connection reset by peer) 2017-12-03T23:14:14Z FreeBird_ quit (Ping timeout: 255 seconds) 2017-12-03T23:14:21Z damke quit (Ping timeout: 240 seconds) 2017-12-03T23:14:25Z _main_ joined #lisp 2017-12-03T23:15:24Z sourbloom joined #lisp 2017-12-03T23:17:35Z _main_ is now known as __main__ 2017-12-03T23:17:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-03T23:19:52Z FreeBirdLjj joined #lisp 2017-12-03T23:20:17Z wxie joined #lisp 2017-12-03T23:21:33Z osune quit (Remote host closed the connection) 2017-12-03T23:23:11Z vertigo quit (Changing host) 2017-12-03T23:23:11Z vertigo joined #lisp 2017-12-03T23:24:20Z FreeBirdLjj quit (Ping timeout: 255 seconds) 2017-12-03T23:26:14Z wxie quit (Remote host closed the connection) 2017-12-03T23:32:33Z Kaisyu joined #lisp 2017-12-03T23:34:56Z eSVG joined #lisp 2017-12-03T23:36:21Z Rawriful quit (Quit: WeeChat 1.4) 2017-12-03T23:37:13Z hyero quit (Remote host closed the connection) 2017-12-03T23:40:21Z k-stz quit (Remote host closed the connection) 2017-12-03T23:53:01Z varjag quit (Ping timeout: 260 seconds) 2017-12-03T23:54:08Z dieggsy joined #lisp 2017-12-04T00:03:50Z turkja joined #lisp 2017-12-04T00:13:40Z kokonaisluku joined #lisp 2017-12-04T00:18:45Z varjag joined #lisp 2017-12-04T00:23:29Z varjag quit (Ping timeout: 248 seconds) 2017-12-04T00:23:29Z Devon quit (Ping timeout: 248 seconds) 2017-12-04T00:36:59Z eSVG quit (Ping timeout: 276 seconds) 2017-12-04T00:39:08Z kokonaisluku quit (Quit: ChatZilla 0.9.93 [Firefox 52.5.0/20171117140933]) 2017-12-04T00:39:14Z karswell joined #lisp 2017-12-04T00:45:29Z vtomole joined #lisp 2017-12-04T00:51:20Z red-dot joined #lisp 2017-12-04T01:02:39Z vtomole quit (Quit: Page closed) 2017-12-04T01:04:55Z smurfrobot joined #lisp 2017-12-04T01:06:49Z damke_ joined #lisp 2017-12-04T01:09:26Z smurfrobot quit (Ping timeout: 260 seconds) 2017-12-04T01:13:37Z fikka quit (Ping timeout: 248 seconds) 2017-12-04T01:13:55Z eSVG joined #lisp 2017-12-04T01:15:56Z Guest34322 quit (Ping timeout: 255 seconds) 2017-12-04T01:24:32Z rgrau quit (Remote host closed the connection) 2017-12-04T01:24:35Z kobain joined #lisp 2017-12-04T01:25:29Z kobain quit (Max SendQ exceeded) 2017-12-04T01:26:03Z kobain joined #lisp 2017-12-04T01:26:43Z kobain quit (Max SendQ exceeded) 2017-12-04T01:27:10Z kobain joined #lisp 2017-12-04T01:28:05Z kobain quit (Max SendQ exceeded) 2017-12-04T01:47:05Z fikka joined #lisp 2017-12-04T01:53:37Z fikka quit (Ping timeout: 248 seconds) 2017-12-04T01:55:45Z margeas quit (Ping timeout: 248 seconds) 2017-12-04T02:00:56Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-04T02:01:36Z Tobbi joined #lisp 2017-12-04T02:01:43Z Tobbi quit (Client Quit) 2017-12-04T02:04:10Z igemnace joined #lisp 2017-12-04T02:17:48Z zooey quit (Ping timeout: 248 seconds) 2017-12-04T02:18:51Z zooey joined #lisp 2017-12-04T02:22:34Z fikka joined #lisp 2017-12-04T02:27:17Z fikka quit (Ping timeout: 255 seconds) 2017-12-04T02:30:32Z d4ryus2 joined #lisp 2017-12-04T02:30:34Z jameser joined #lisp 2017-12-04T02:33:00Z fikka joined #lisp 2017-12-04T02:33:35Z d4ryus1 quit (Ping timeout: 248 seconds) 2017-12-04T02:35:29Z mson quit (Quit: Connection closed for inactivity) 2017-12-04T02:37:53Z fikka quit (Ping timeout: 248 seconds) 2017-12-04T02:40:08Z moei quit (Quit: Leaving...) 2017-12-04T02:43:23Z fikka joined #lisp 2017-12-04T02:47:59Z fikka quit (Ping timeout: 248 seconds) 2017-12-04T02:50:37Z Josh_2: Vector access time is O(1) right? 2017-12-04T02:50:45Z Josh_2: but list is O(n)? something like that 2017-12-04T02:52:09Z Josh_2: I don't know how to represent the access time of lists O: 2017-12-04T02:52:20Z eli joined #lisp 2017-12-04T02:52:21Z eli quit (Changing host) 2017-12-04T02:52:21Z eli joined #lisp 2017-12-04T02:53:00Z fikka joined #lisp 2017-12-04T02:53:03Z Bike: O(n), yes. 2017-12-04T02:53:13Z Josh_2: and Vectors are O(1)? 2017-12-04T02:53:21Z Bike: yes. 2017-12-04T02:53:27Z Bike: in a framework where memory caches don't exist, anyway. 2017-12-04T02:53:48Z Josh_2: Thanks :) Just double checking as I'm putting this into a presentation that's a large chunk of my grade 2017-12-04T02:54:27Z Bike: idealized vector access is an addition to get the memory address followed by an access of the memory address. list access is a memory access for each cons cell traversed, etc 2017-12-04T02:54:55Z Josh_2: Yeah 2017-12-04T02:56:58Z Josh_2: Thanks :D 2017-12-04T02:57:19Z Josh_2: What addition is made? 2017-12-04T02:57:37Z fikka quit (Ping timeout: 248 seconds) 2017-12-04T03:04:33Z pierpa: the base address of the vector + the index accessed 2017-12-04T03:07:47Z Josh_2: Thanks :D 2017-12-04T03:08:20Z bkst joined #lisp 2017-12-04T03:09:36Z dmiles: something i dont get is on the page http://www.lispworks.com/reference/HyperSpec/Body/f_mexp_.htm .. #'MACROEXPAND uses "&optional env" ... but for a macro lambdalist, one uses "&environment env" like (defmacro expand-1 (form &environment env) ... ) ? 2017-12-04T03:10:25Z dmiles: the question is about if the " &environment env" ends up being optiuonal 2017-12-04T03:10:46Z dmiles: I mean in practice 2017-12-04T03:11:39Z dmiles: i mean treated exactly like an &optional 2017-12-04T03:12:13Z Bike: it's completely different 2017-12-04T03:12:23Z Bike: When you write a macro form, you can't provide an environment 2017-12-04T03:12:40Z Bike: the &environment in the lambda list indicates the compiler should pass the environment 2017-12-04T03:13:09Z Devon joined #lisp 2017-12-04T03:13:11Z Bike: if you have (defmacro expand-1 (form &environment env) ...), (expand-1 foo) is legal and (expand-1 foo bar) is not. 2017-12-04T03:13:18Z fikka joined #lisp 2017-12-04T03:13:19Z dmiles: oh so actualy MACROEXPAND and MACROEXPAND-1 would not been able to be macros? 2017-12-04T03:13:43Z Bike: i don't understand the grammar of your question. 2017-12-04T03:14:46Z dmiles: macroexpand is a function... so i was thinking aobut if it was a macro 2017-12-04T03:15:28Z dmiles: (i know i switched topics sorta fast from my original question) 2017-12-04T03:15:46Z Bike: macroexpand having an &optional env is different from a macro having an &environment env. the former allows an environment to be explicitly provided by the programmer. the latter just means that the macroexpander wants to use the environment the macro form is in. 2017-12-04T03:16:06Z dmiles: how would #'macroexpand gain access to a a Env ? 2017-12-04T03:16:14Z dmiles: (if it was "unsupplied) 2017-12-04T03:16:33Z Bike: it doesn't. if you don't supply an environment it uses the global environment. 2017-12-04T03:17:41Z fikka quit (Ping timeout: 240 seconds) 2017-12-04T03:18:09Z dmiles: ok.. now it makes more sense 2017-12-04T03:19:53Z dmiles: .. so (defmarco expand-1 arg &optional (env env-supplied-p) &environment env) might have been used if expand-1 wanted to be like macroexpand-1 ? 2017-12-04T03:20:18Z Bike: your lambda list is kind of garbled. 2017-12-04T03:20:39Z dmiles: oops yes 2017-12-04T03:20:39Z Bike: but if i understand it correctly, no. macroexpand-1 doesn't know about the environment it's called in. 2017-12-04T03:20:59Z Bike: no function knows about the lexical environment it's called from. 2017-12-04T03:22:14Z dmiles: i think that actually does answer a question i was going to ask.. 2017-12-04T03:23:52Z dmiles: but the (defmacro my-expand-1 (arg &optional penv &environment env) .. (let ((env-i-use (if penv penv env))) ... some code using env-i-use .. ) 2017-12-04T03:24:24Z dmiles: oh actualy now i see how what you said sort of answers my question 2017-12-04T03:24:41Z dmiles: the 'env' in this case was not just the global env 2017-12-04T03:24:49Z dmiles: the 'env' in this case was not just the global env? 2017-12-04T03:25:22Z Bike: if you have an &environment parameter, within the body of the macroexpander it will be bound to the environment the macro form is in. Let me give you an example. 2017-12-04T03:25:50Z Bike: say we have (defmacro dumb () 4) 2017-12-04T03:25:59Z bkst quit (Ping timeout: 255 seconds) 2017-12-04T03:26:23Z dmiles: (ah, i had sorta assumed the &environment env was just so the body would have a convience var named 'env for the global env :P) 2017-12-04T03:26:32Z Bike: that would be pointless. 2017-12-04T03:26:40Z dmiles: (ok go on) 2017-12-04T03:26:48Z Bike: now say we have (defmacro pexpand (form &environment env) (print (macroexpand-1 form env)) nil) 2017-12-04T03:27:02Z Bike: so it always expands into nil, but prints something at macroexpansion time. 2017-12-04T03:27:18Z Bike: if you have (pexpand (dumb)) it prints 4. 2017-12-04T03:27:40Z Bike: But if you have (macrolet ((dumb () 5)) (pexpand (dumb))) it prints 5. 2017-12-04T03:28:09Z knobo3 joined #lisp 2017-12-04T03:28:13Z Bike: In contrast, say you have (defmacro dumb-pexpand (form) (print (macroexpand-1 form)) nil) 2017-12-04T03:29:11Z Bike: then (dumb-pexpand (dumb)) => 4, but (macrolet ((dumb () 5)) (dumb-pexpand (dumb)) => 4. Because it doesn't use the local environment, it just uses the global one. 2017-12-04T03:30:15Z dmiles: ah, i see.. it really is about allowing macrolet to have a little highgene 2017-12-04T03:30:25Z dmiles: hygene* 2017-12-04T03:30:42Z Bike: i have no idea what you mean. 2017-12-04T03:31:11Z dmiles: well i was thinking macrolet is scoped in the body it appears 2017-12-04T03:31:18Z knobo2 quit (Ping timeout: 260 seconds) 2017-12-04T03:31:32Z dmiles: but this way it allows it to be used outside and still not be in the global 2017-12-04T03:31:40Z Bike: macrolet establishes a lexical environment with a macro in it. 2017-12-04T03:31:53Z Bike: i don't understand what you're saying. 2017-12-04T03:32:17Z Devon quit (Ping timeout: 248 seconds) 2017-12-04T03:33:26Z dmiles: FLET and MACROLET are scoped in a lexical enviroment.. the way they get decared is locally.. but that would place a limit on where they can be used 2017-12-04T03:33:44Z Bike: a limit? 2017-12-04T03:33:51Z Bike: you can use flet or macrolet wherever. 2017-12-04T03:33:54Z fikka joined #lisp 2017-12-04T03:34:04Z Bike: you could think of them as "placing limits" on the use of what they define. 2017-12-04T03:34:27Z dmiles: they will be limited to the local enviroment they get defined in 2017-12-04T03:34:53Z Bike: they define/bind things in a lexical scope. 2017-12-04T03:35:19Z Bike: The environment accessible with &environment contains information about these lexical scopes. 2017-12-04T03:35:25Z dmiles: why i call it a limit.. is if you use them within the scope you dont need to think about passing env arround 2017-12-04T03:35:55Z Bike: If macroexpand doesn't receive an environment parameter, it uses the global environment, which has no information about lexical bindings as produced by flet or macrolet. 2017-12-04T03:36:12Z Bike: As such, macroexpanders that need to expand other macros would behave badly if there was no &environment available. 2017-12-04T03:36:44Z dmiles: i might have to set up a testcase in the next couple houirs once i fix my current trouble 2017-12-04T03:37:28Z dmiles: what i was wondering is if other macroexpansions still use just the global enviroment even inside the lexical scope 2017-12-04T03:37:41Z Bike: Other macroexpansions? 2017-12-04T03:38:05Z dmiles: why i need to write it out into a body form :P 2017-12-04T03:38:13Z Bike: I don't understand. 2017-12-04T03:38:52Z dmiles: i9 am saying i doublt i can explain in english.. i'd have to write the code 2017-12-04T03:39:15Z fikka quit (Ping timeout: 268 seconds) 2017-12-04T03:39:25Z Bike: Is English not your first language? I have a hard time understanding what you try to convey. 2017-12-04T03:40:05Z dmiles: yes but i have a hard time using english 2017-12-04T03:40:49Z ikki quit (Ping timeout: 248 seconds) 2017-12-04T03:41:05Z sourbloom quit (Ping timeout: 255 seconds) 2017-12-04T03:42:20Z dmiles: so in about an hour .. i'll try to have the question better layed out 2017-12-04T03:43:21Z Bike: Okay. I might be asleep at that time. 2017-12-04T03:43:50Z dmiles: (the question about if macrolet can define macros that get used inside the same lexical scope but not actualyl defined in the same scope)) 2017-12-04T03:44:46Z loke: Perhaps he's asking about macros that expand into other macro calls? 2017-12-04T03:44:53Z Bike: beats me. 2017-12-04T03:44:58Z dmiles: yes that is what i am asking 2017-12-04T03:45:07Z loke: Like (defmacro foo (..) ...) (defmacro bar (...) `(foo ...)) 2017-12-04T03:45:38Z Bike: Aren't you writing an interpreter or compiler of some kind, dmiles? 2017-12-04T03:46:12Z loke: dmiles: The answer is that the unexpanded macro is returned from the first macro call. Then the compiler looks at the result of that first macro, and repeats by expanding the second macro. 2017-12-04T03:46:35Z loke: In other words, the recursive macro call isn't expanded by the macro itself. 2017-12-04T03:46:59Z dmiles: Bike: yes.. so i am trying to confirm that wheter or not the macrolet should be invisible to other macros that get called by other macros 2017-12-04T03:47:43Z Bike: Your terminology is confused. Macros are not called. 2017-12-04T03:47:53Z Bike: But, if you're writing an evaluator it's simple enough to explain the rules. 2017-12-04T03:48:27Z Bike: You have (defun eval (form env) ...). The first thing that ... does is macroexpand: just (macroexpand form env). macroexpand repeatedly calls macroexpand-1, as you probably know. 2017-12-04T03:48:38Z dmiles: *nod* 2017-12-04T03:48:52Z dmiles: (go on) 2017-12-04T03:49:16Z Bike: macroexpand-1 is something like (defun macroexpand-1 (form &optional env) (if (consp form) (let ((mf (macro-function (first form) env))) (if mf (funcall *macroexpand-hook* mf form env) ... 2017-12-04T03:50:03Z Bike: In other words, it looks up the macro definition in the environment it's passed, and if it's there, calls macroexpand-hook. macroexpand-hook is basically funcall, so the macroexpander function is called with two arguments, the form to expand, and the environment. 2017-12-04T03:50:18Z Bike: If the definition of the macro had an &environment, that's the environment it gets. if not it's ignored. 2017-12-04T03:51:01Z Bike: Now, if the form passed to eval is a macrolet form, like say (macrolet ((foo ...)) ...body...), all it does is recursively evaluate body in a new environment that includes the definition of foo. 2017-12-04T03:51:41Z Bike: like (defun eval (form env) ... (if (eq (first form) 'macrolet) ... (eval (cddr form) (augment-with-macros (second form) env)) ... 2017-12-04T03:53:08Z dmiles: i am starting to see now 2017-12-04T03:53:20Z brendyn joined #lisp 2017-12-04T03:54:05Z pierpa quit (Quit: Page closed) 2017-12-04T03:54:14Z fikka joined #lisp 2017-12-04T03:55:17Z LiamH quit (Ping timeout: 268 seconds) 2017-12-04T03:56:09Z Guest70025 quit (Remote host closed the connection) 2017-12-04T03:56:36Z Guest70025 joined #lisp 2017-12-04T03:56:52Z dmiles: i would have assumed that macrolet created a "special macro" with the meaning as "special" in "special vars" that as they are being (i'll stick with special vars (forget macros for the moment) as theire bindings are availbel shadowed in the global enviironment) 2017-12-04T03:57:31Z dmiles: i was thinking that macrolet would shadow any of its uses at the same level of its env 2017-12-04T03:57:58Z dmiles: (meaning it would not be usefull tp ass env to subsequent calls.. as the shadow macro would be present) 2017-12-04T03:58:16Z Bike: I don't know what that means but it sounds complicated. 2017-12-04T03:59:04Z dmiles: i dont see this happen hardly wuith macrolet.. but i see it all the time with labels 2017-12-04T03:59:09Z fikka quit (Ping timeout: 250 seconds) 2017-12-04T03:59:45Z ikki joined #lisp 2017-12-04T03:59:47Z dmiles: that a defun is overridden in a lexical scope 2017-12-04T03:59:56Z Bike: You can shadow bindings, yes. 2017-12-04T04:00:49Z dmiles: i dont need to pass an environment argument to make things use the right shadow 2017-12-04T04:01:17Z Bike: The environment describes what's present. It includes shadowing. 2017-12-04T04:01:36Z Bike: My earlier pexpand example showed that the environment includes shadow bindings. 2017-12-04T04:02:24Z damke_ quit (Read error: Connection reset by peer) 2017-12-04T04:02:41Z dmiles: ahah 2017-12-04T04:04:41Z fikka joined #lisp 2017-12-04T04:06:16Z hexfive joined #lisp 2017-12-04T04:09:11Z fikka quit (Ping timeout: 255 seconds) 2017-12-04T04:10:51Z serviteur joined #lisp 2017-12-04T04:12:47Z beach: Good morning everyone! 2017-12-04T04:15:20Z terpri quit (Remote host closed the connection) 2017-12-04T04:17:48Z basket: Good morning, beach 2017-12-04T04:18:19Z demiurge quit (Quit: edk) 2017-12-04T04:21:20Z zooey quit (Remote host closed the connection) 2017-12-04T04:21:33Z zooey joined #lisp 2017-12-04T04:24:46Z shka joined #lisp 2017-12-04T04:25:05Z fikka joined #lisp 2017-12-04T04:30:06Z fikka quit (Ping timeout: 260 seconds) 2017-12-04T04:35:30Z fikka joined #lisp 2017-12-04T04:38:55Z ikki quit (Ping timeout: 248 seconds) 2017-12-04T04:40:14Z fikka quit (Ping timeout: 255 seconds) 2017-12-04T04:45:43Z serviteur quit (Remote host closed the connection) 2017-12-04T04:51:57Z smurfrobot joined #lisp 2017-12-04T04:52:49Z Josh_2: Morning 2017-12-04T04:52:57Z shka: Josh_2: good morning 2017-12-04T04:54:34Z mparashar joined #lisp 2017-12-04T04:55:24Z Josh_2: This is not really lisp related although it is something I did in lisp :P anyways Quicksort has an average performance of O(n log n) and I have a real time of 15ms, how do I check if my sorting algorithm is hitting it's ideal time or not? 2017-12-04T04:55:30Z fikka joined #lisp 2017-12-04T04:55:52Z Josh_2: There is the point that it is doing more than just sorting so that's going to cause some issues 2017-12-04T04:56:01Z Josh_2: I have a graph that is pretty linear 2017-12-04T04:56:51Z smurfrobot quit (Remote host closed the connection) 2017-12-04T04:56:53Z Zhivago: Have it report the nunmber of interesting operations it did. 2017-12-04T04:56:56Z beach: Josh_2: That is going to be very hard for a single test case. 2017-12-04T04:57:12Z Josh_2: well I have 16 different tests 2017-12-04T04:57:21Z Zhivago: Then you'll be able to see the actual O for that particular input. 2017-12-04T04:57:25Z beach: Josh_2: With different sizes of the input? 2017-12-04T04:57:25Z smurfrobot joined #lisp 2017-12-04T04:57:37Z Josh_2: No the sizes are the same in all of them 2017-12-04T04:57:47Z beach: Josh_2: Then you can't test it. 2017-12-04T04:58:14Z beach: Josh_2: O(n log n) means that it is less than or equal to k*n*log(n) for some k, but you don't know the k. 2017-12-04T04:58:32Z dddddd quit (Remote host closed the connection) 2017-12-04T04:58:57Z beach: Josh_2: So no matter what your timing shows, you can always find a k that makes it true. 2017-12-04T04:59:31Z Josh_2: Ahh okay, well it is always sorting the same number of elements, but the variation in the elements change, causing quicksort to become faster than bucket sort 2017-12-04T05:00:07Z Josh_2: The larger the variation the slower bucket sort becomes 2017-12-04T05:00:12Z beach: Still, it is always going to be on the average O(n log n) for some k, no matter how many inputs you give it. 2017-12-04T05:00:17Z fikka quit (Ping timeout: 248 seconds) 2017-12-04T05:00:18Z smurfrobot quit (Remote host closed the connection) 2017-12-04T05:00:30Z neoncontrails quit (Remote host closed the connection) 2017-12-04T05:00:57Z Josh_2: Alrighty, I'll mention that the average is correct, but that the change in bucketsort is obvious 2017-12-04T05:01:00Z neoncontrails joined #lisp 2017-12-04T05:01:03Z Josh_2: I have to give a presentation.. 2017-12-04T05:02:12Z beach: Mentioning that the average is correct is not going to give any information, because the average is always correct for any finite number of test cases. 2017-12-04T05:02:28Z beach: So you are going to look ignorant if you say that. 2017-12-04T05:03:29Z beach: It would be better to check something like how good the choice of pivot is. 2017-12-04T05:03:37Z Josh_2: Well the spec is asking me to compare the times I got with theoretical times.. 2017-12-04T05:03:39Z beach: How close to the median element it is. 2017-12-04T05:03:53Z beach: OK, good luck with that then. 2017-12-04T05:04:09Z beach: Since theoretical times can be arbitrarily high. 2017-12-04T05:04:50Z Josh_2: Well 2017-12-04T05:05:26Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-04T05:05:39Z Josh_2: I already dicked my grade by doing sorting algorithms. My own fault for wasting a load of time because I didn't read the spec properly.. 2017-12-04T05:06:00Z Josh_2: It's okay though, I was allowed to use CL <3 2017-12-04T05:07:48Z jstoddard quit (Quit: Goodnight) 2017-12-04T05:09:39Z beach: Are you sorting a list or a vector? 2017-12-04T05:09:48Z Josh_2: vector 2017-12-04T05:14:42Z ym joined #lisp 2017-12-04T05:15:44Z fikka joined #lisp 2017-12-04T05:18:40Z Bike quit (Quit: Lost terminal) 2017-12-04T05:20:51Z fikka quit (Ping timeout: 260 seconds) 2017-12-04T05:25:03Z d4ryus2 is now known as d4ryus 2017-12-04T05:25:43Z neoncontrails joined #lisp 2017-12-04T05:26:15Z fikka joined #lisp 2017-12-04T05:26:25Z knobo4 joined #lisp 2017-12-04T05:29:38Z knobo3 quit (Ping timeout: 268 seconds) 2017-12-04T05:30:21Z mparashar quit (Ping timeout: 240 seconds) 2017-12-04T05:31:05Z fikka quit (Ping timeout: 255 seconds) 2017-12-04T05:35:50Z adimanea joined #lisp 2017-12-04T05:35:50Z eSVG quit (Ping timeout: 255 seconds) 2017-12-04T05:36:02Z adimanea quit (Client Quit) 2017-12-04T05:36:07Z Josh_2 quit (Remote host closed the connection) 2017-12-04T05:36:33Z nowhereman quit (Ping timeout: 248 seconds) 2017-12-04T05:36:39Z emacsoma` joined #lisp 2017-12-04T05:38:11Z nowhereman joined #lisp 2017-12-04T05:46:15Z fikka joined #lisp 2017-12-04T05:46:20Z eSVG joined #lisp 2017-12-04T05:47:37Z mercipher joined #lisp 2017-12-04T05:48:05Z nicdev` joined #lisp 2017-12-04T05:48:59Z nicdev quit (Ping timeout: 276 seconds) 2017-12-04T05:50:50Z fikka quit (Ping timeout: 260 seconds) 2017-12-04T05:50:53Z dieggsy quit (Ping timeout: 255 seconds) 2017-12-04T05:56:40Z fikka joined #lisp 2017-12-04T05:58:08Z EvW joined #lisp 2017-12-04T05:58:54Z galdor quit (Read error: Connection reset by peer) 2017-12-04T05:58:54Z mparashar joined #lisp 2017-12-04T05:59:13Z galdor joined #lisp 2017-12-04T06:01:14Z fikka quit (Ping timeout: 255 seconds) 2017-12-04T06:02:41Z EvW quit (Ping timeout: 248 seconds) 2017-12-04T06:04:34Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-04T06:06:32Z chenbin joined #lisp 2017-12-04T06:06:50Z fikka joined #lisp 2017-12-04T06:11:06Z zmt00 quit (Quit: Leaving) 2017-12-04T06:11:13Z fikka quit (Ping timeout: 248 seconds) 2017-12-04T06:14:05Z khisanth_ quit (Ping timeout: 240 seconds) 2017-12-04T06:14:17Z hexfive quit (Quit: WeeChat 1.9.1) 2017-12-04T06:16:04Z AntiSpamMeta quit (Remote host closed the connection) 2017-12-04T06:16:25Z AntiSpamMeta joined #lisp 2017-12-04T06:18:55Z smurfrobot joined #lisp 2017-12-04T06:21:20Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-04T06:22:14Z chenbin quit (Read error: Connection reset by peer) 2017-12-04T06:23:44Z smurfrobot quit (Ping timeout: 255 seconds) 2017-12-04T06:26:49Z mparashar quit (Quit: Leaving) 2017-12-04T06:26:50Z fikka joined #lisp 2017-12-04T06:27:21Z khisanth_ joined #lisp 2017-12-04T06:28:16Z SaganMan joined #lisp 2017-12-04T06:31:23Z fikka quit (Ping timeout: 255 seconds) 2017-12-04T06:32:08Z moei joined #lisp 2017-12-04T06:36:43Z Ziemas_ quit (Ping timeout: 258 seconds) 2017-12-04T06:37:20Z fikka joined #lisp 2017-12-04T06:40:31Z Ziemas joined #lisp 2017-12-04T06:41:37Z fikka quit (Ping timeout: 248 seconds) 2017-12-04T06:42:08Z Karl_Dscc joined #lisp 2017-12-04T06:43:12Z nowhereman quit (Remote host closed the connection) 2017-12-04T06:43:45Z knobo joined #lisp 2017-12-04T06:44:07Z damke_ joined #lisp 2017-12-04T06:45:11Z nowhereman joined #lisp 2017-12-04T06:46:50Z knobo4 quit (Ping timeout: 260 seconds) 2017-12-04T06:50:05Z raphaelss quit (Remote host closed the connection) 2017-12-04T06:50:45Z oleo quit (Quit: Leaving) 2017-12-04T06:51:54Z mishoo_ joined #lisp 2017-12-04T06:53:30Z vlatkoB joined #lisp 2017-12-04T06:54:50Z red-dot joined #lisp 2017-12-04T06:57:15Z fikka joined #lisp 2017-12-04T07:02:14Z fikka quit (Ping timeout: 260 seconds) 2017-12-04T07:02:48Z dec0n joined #lisp 2017-12-04T07:04:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-04T07:04:04Z sz0 joined #lisp 2017-12-04T07:07:40Z fikka joined #lisp 2017-12-04T07:09:43Z Karl_Dscc quit (Remote host closed the connection) 2017-12-04T07:12:31Z fikka quit (Ping timeout: 248 seconds) 2017-12-04T07:18:27Z pfdietz quit (Ping timeout: 240 seconds) 2017-12-04T07:19:59Z pfdietz joined #lisp 2017-12-04T07:26:36Z damke_ joined #lisp 2017-12-04T07:26:57Z Kevslinger quit (Quit: Connection closed for inactivity) 2017-12-04T07:27:37Z fikka joined #lisp 2017-12-04T07:30:07Z scymtym quit (Ping timeout: 248 seconds) 2017-12-04T07:30:20Z orivej quit (Ping timeout: 255 seconds) 2017-12-04T07:30:20Z mathrick quit (Read error: Connection reset by peer) 2017-12-04T07:32:18Z fikka quit (Ping timeout: 258 seconds) 2017-12-04T07:32:47Z bkst joined #lisp 2017-12-04T07:36:54Z damke joined #lisp 2017-12-04T07:38:06Z fikka joined #lisp 2017-12-04T07:39:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-04T07:42:41Z damke quit (Ping timeout: 240 seconds) 2017-12-04T07:42:45Z BitPuffin|osx joined #lisp 2017-12-04T07:43:03Z damke_ joined #lisp 2017-12-04T07:43:23Z fikka quit (Ping timeout: 276 seconds) 2017-12-04T07:44:00Z karswell_ joined #lisp 2017-12-04T07:46:08Z mathrick joined #lisp 2017-12-04T07:46:09Z karswell quit (Ping timeout: 248 seconds) 2017-12-04T07:46:41Z jibanes quit (Ping timeout: 248 seconds) 2017-12-04T07:48:31Z fikka joined #lisp 2017-12-04T07:52:20Z hyero joined #lisp 2017-12-04T07:53:07Z fikka quit (Ping timeout: 260 seconds) 2017-12-04T07:53:14Z hajovonta joined #lisp 2017-12-04T07:56:49Z hajovonta: hi all! 2017-12-04T07:57:42Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-12-04T07:58:05Z fikka joined #lisp 2017-12-04T08:00:44Z cess11_: hajovonta: Hi! 2017-12-04T08:02:44Z fikka quit (Ping timeout: 255 seconds) 2017-12-04T08:03:20Z raphaelss joined #lisp 2017-12-04T08:04:01Z EvW joined #lisp 2017-12-04T08:05:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-04T08:08:33Z EvW quit (Ping timeout: 248 seconds) 2017-12-04T08:08:35Z fikka joined #lisp 2017-12-04T08:08:39Z basket quit (Remote host closed the connection) 2017-12-04T08:13:21Z fikka quit (Ping timeout: 248 seconds) 2017-12-04T08:13:51Z wigust joined #lisp 2017-12-04T08:18:08Z shrdlu68 joined #lisp 2017-12-04T08:18:23Z shrdlu68 quit (Client Quit) 2017-12-04T08:18:46Z shka quit (Ping timeout: 260 seconds) 2017-12-04T08:24:00Z fikka joined #lisp 2017-12-04T08:24:20Z fikka quit (Client Quit) 2017-12-04T08:24:49Z fikka joined #lisp 2017-12-04T08:25:05Z shifty quit (Ping timeout: 248 seconds) 2017-12-04T08:34:48Z scymtym joined #lisp 2017-12-04T08:53:38Z varjag joined #lisp 2017-12-04T08:59:23Z cyberlard quit (Quit: Leaving) 2017-12-04T08:59:42Z mondec joined #lisp 2017-12-04T09:15:41Z Guest34322 joined #lisp 2017-12-04T09:17:16Z Cymew joined #lisp 2017-12-04T09:19:17Z mercipher left #lisp 2017-12-04T09:20:21Z flamebeard joined #lisp 2017-12-04T09:21:19Z smurfrobot joined #lisp 2017-12-04T09:24:54Z josh5tone quit (Ping timeout: 255 seconds) 2017-12-04T09:28:44Z zooey quit (Ping timeout: 248 seconds) 2017-12-04T09:28:59Z zooey joined #lisp 2017-12-04T09:31:24Z xrash joined #lisp 2017-12-04T09:31:26Z josh5tone joined #lisp 2017-12-04T09:34:09Z smurfrobot quit (Remote host closed the connection) 2017-12-04T09:35:09Z DeadTrickster_ joined #lisp 2017-12-04T09:38:05Z DeadTrickster quit (Ping timeout: 240 seconds) 2017-12-04T09:44:37Z damke joined #lisp 2017-12-04T09:44:50Z _cosmonaut_ joined #lisp 2017-12-04T09:50:31Z orivej joined #lisp 2017-12-04T09:52:21Z damke quit (Ping timeout: 240 seconds) 2017-12-04T09:52:28Z damke_ joined #lisp 2017-12-04T09:54:18Z sourbloom joined #lisp 2017-12-04T09:56:19Z ntinos joined #lisp 2017-12-04T09:57:47Z sourbloom quit (Client Quit) 2017-12-04T10:00:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-04T10:01:27Z damke_ joined #lisp 2017-12-04T10:01:40Z murii joined #lisp 2017-12-04T10:07:38Z damke joined #lisp 2017-12-04T10:08:33Z damke_ quit (Ping timeout: 246 seconds) 2017-12-04T10:13:00Z Kaisyu joined #lisp 2017-12-04T10:13:36Z nirved joined #lisp 2017-12-04T10:13:40Z ntinos quit (Read error: Connection reset by peer) 2017-12-04T10:15:37Z schweers joined #lisp 2017-12-04T10:24:45Z smurfrobot joined #lisp 2017-12-04T10:29:26Z smurfrobot quit (Ping timeout: 255 seconds) 2017-12-04T10:29:54Z SaganMan quit (Ping timeout: 260 seconds) 2017-12-04T10:29:57Z turkja quit (Quit: Leaving.) 2017-12-04T10:30:22Z knobo: I'd like to do patternmatching to get the most spesific result. Something like this: https://gist.github.com/knobo/adb1bfaa6756161d39b4f2b35fc89d5b 2017-12-04T10:30:35Z knobo: Maybe I could use optima? 2017-12-04T10:30:49Z turkja joined #lisp 2017-12-04T10:30:56Z turkja quit (Client Quit) 2017-12-04T10:32:59Z turkja joined #lisp 2017-12-04T10:33:05Z jackdaniel: your snippet doesn't clarify anything to me. to answer the question; optima may be used to do pattern matching from the most specific, if you arrange clauses in correct order (same as with cond really) 2017-12-04T10:36:27Z knobo: I see. 2017-12-04T10:36:41Z damke quit (Ping timeout: 240 seconds) 2017-12-04T10:39:18Z osune joined #lisp 2017-12-04T10:39:54Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-04T10:42:43Z neoncontrails quit (Read error: Connection reset by peer) 2017-12-04T10:43:30Z neoncontrails joined #lisp 2017-12-04T10:56:31Z red-dot joined #lisp 2017-12-04T10:58:32Z wxie joined #lisp 2017-12-04T11:02:34Z damke joined #lisp 2017-12-04T11:03:16Z raynold quit (Quit: Connection closed for inactivity) 2017-12-04T11:03:46Z damke_ joined #lisp 2017-12-04T11:07:00Z damke quit (Ping timeout: 246 seconds) 2017-12-04T11:07:21Z norayr joined #lisp 2017-12-04T11:16:20Z m00natic joined #lisp 2017-12-04T11:23:41Z margeas joined #lisp 2017-12-04T11:32:38Z dddddd joined #lisp 2017-12-04T11:36:56Z bkst quit (Ping timeout: 255 seconds) 2017-12-04T11:37:23Z wxie quit (Quit: Bye.) 2017-12-04T11:47:47Z igemnace quit (Quit: WeeChat 1.9.1) 2017-12-04T11:49:05Z knobo quit (Ping timeout: 255 seconds) 2017-12-04T11:51:56Z Tobbi joined #lisp 2017-12-04T11:52:59Z eSVG quit (Ping timeout: 276 seconds) 2017-12-04T12:01:51Z karswell_ quit (Quit: ERC (IRC client for Emacs 25.3.1)) 2017-12-04T12:02:41Z karswell joined #lisp 2017-12-04T12:07:25Z k-stz joined #lisp 2017-12-04T12:11:27Z bkst joined #lisp 2017-12-04T12:11:34Z EvW joined #lisp 2017-12-04T12:12:42Z EvW quit (Client Quit) 2017-12-04T12:15:04Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-04T12:16:04Z knobo joined #lisp 2017-12-04T12:18:10Z karswell quit (Ping timeout: 260 seconds) 2017-12-04T12:23:11Z Achylles joined #lisp 2017-12-04T12:28:40Z karswell joined #lisp 2017-12-04T12:36:07Z rumbler31 quit (Remote host closed the connection) 2017-12-04T12:36:47Z rumbler31 joined #lisp 2017-12-04T12:37:42Z EvW1 joined #lisp 2017-12-04T12:38:15Z Xach: I thought I would miss lisppaste more, but gist is pretty fine. 2017-12-04T12:39:02Z jdz: There's also lpaste.net. 2017-12-04T12:39:11Z strelox joined #lisp 2017-12-04T12:40:17Z wxie joined #lisp 2017-12-04T12:41:39Z wxie quit (Client Quit) 2017-12-04T12:49:15Z Xach: likes. sbcl 1.4.2 and new asdf busts some stuff, it seems. 2017-12-04T12:49:19Z Xach: yikes, rather. 2017-12-04T12:49:59Z Xach: http://report.quicklisp.org/2017-12-04/failure-report/sb-cga.html#sb-cga is key to a number of them - I don't understand it, does anyone else? 2017-12-04T12:51:29Z jdz: ASDF has started issuing warnings about test system definitions that do not follow the ASDF's naming convention? 2017-12-04T12:52:00Z Xach: that's part of the fun 2017-12-04T12:52:06Z Xach: i do not like it very much, but it is not fatal 2017-12-04T12:53:34Z Xach: i'm guessing something to do with madeira-port's customization of asdf 2017-12-04T12:54:32Z jdz: I would also guess that SBCL should not be compiling a "CCL port". 2017-12-04T12:55:00Z Xach: madeira-port manages that with feature expressions 2017-12-04T12:55:09Z Xach: it's a meta-project for asdf system definitions 2017-12-04T12:56:46Z _paul0 quit (Remote host closed the connection) 2017-12-04T12:56:52Z jdz: Xach: is that "madeira-port" system? 2017-12-04T12:57:04Z jdz: It loads just fine for me with SBCL-1.4.2.9 2017-12-04T12:57:11Z SaganMan joined #lisp 2017-12-04T12:57:30Z Xach: jdz: sb-cga makes use of madeira-port in a way that seems to fail for me. can you load sb-cga? 2017-12-04T12:58:11Z jdz: Yep, getting the same error. 2017-12-04T12:58:14Z Xach: Ok. 2017-12-04T12:58:36Z jdz: It's a failed assertion. 2017-12-04T12:58:48Z jdz: Well, you probably already know that. 2017-12-04T13:00:21Z Xach: http://report.quicklisp.org/2017-12-04/failure-report/array-operations.html#array-operations also looks like a new sbcl-related problem 2017-12-04T13:00:57Z Xach: and tpapp just announced no more lisp for him, too 2017-12-04T13:01:39Z troydm quit (Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset) 2017-12-04T13:02:04Z jdz: tpapp? 2017-12-04T13:02:10Z troydm joined #lisp 2017-12-04T13:02:39Z Xach: tamas k. papp 2017-12-04T13:02:46Z Xach: he switched to julia or something 2017-12-04T13:02:49Z paul0 joined #lisp 2017-12-04T13:04:09Z lieven quit (Quit: WeeChat 1.6) 2017-12-04T13:04:41Z _cosmonaut_ quit (Ping timeout: 255 seconds) 2017-12-04T13:05:31Z jdz: I can load array-operations, though. 2017-12-04T13:05:58Z lieven joined #lisp 2017-12-04T13:06:24Z jdz: The problem with sb-cga could be due to madeira-port not being up-to-date with a recent ASDF. 2017-12-04T13:06:40Z jameser joined #lisp 2017-12-04T13:06:48Z Xach: jdz: array-operations is a warning, so you will get a failure if you use :verbose t 2017-12-04T13:07:41Z jdz: Loads successfully (with warnings) even with :verbose t. 2017-12-04T13:08:07Z Xach: jdz: i think sbcl 1.4.2.9 has the fix already, actually 2017-12-04T13:11:08Z cyberlard joined #lisp 2017-12-04T13:12:35Z jdz: Yes, the problem with array-operations seems to be unrelated to the ASDF problem. 2017-12-04T13:18:44Z jdz: And yes, array-operations on GitHub has an "abandoned" badge since Oct 29 (the only commmit in over 4 years). 2017-12-04T13:20:07Z red-dot joined #lisp 2017-12-04T13:20:17Z jackdaniel: is it a popular dependency? 2017-12-04T13:21:06Z paule32 joined #lisp 2017-12-04T13:21:14Z paule32: hello 2017-12-04T13:21:30Z paule32: i working on string's 2017-12-04T13:21:55Z paule32: and i would like know, how translators works 2017-12-04T13:22:08Z paule32: i know/read there a hash tables 2017-12-04T13:22:09Z _cosmonaut_ joined #lisp 2017-12-04T13:22:30Z paule32: but how to build up, and look into? 2017-12-04T13:22:35Z paule32: as example 2017-12-04T13:23:11Z paule32: "you" -> translated into german "ich, du, er, sie, es" 2017-12-04T13:23:25Z paule32: "how" -> transl. german: "wie" 2017-12-04T13:23:41Z paule32: "are" -> transl. german: "wie" 2017-12-04T13:24:10Z paule32: "how are you": -> transl. german: "wie geht es dir" 2017-12-04T13:24:29Z jdz: General AI is not part of Common Lisp. 2017-12-04T13:25:08Z paule32: have i todo provide a list of word/words for each sentence? 2017-12-04T13:25:50Z jdz: (setf (gethash "you" *word-table*) '("ich" "du" "er" "sie" "es")) 2017-12-04T13:26:16Z jackdaniel: check out library `translate` 2017-12-04T13:26:24Z jackdaniel: it's in quicklisp and is really small 2017-12-04T13:28:50Z eSVG joined #lisp 2017-12-04T13:34:56Z eSVG quit (Ping timeout: 258 seconds) 2017-12-04T13:38:26Z Guest34322 quit (Ping timeout: 255 seconds) 2017-12-04T13:38:48Z damke joined #lisp 2017-12-04T13:39:22Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-04T13:39:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-04T13:40:17Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-04T13:44:13Z Jesin quit (Quit: Leaving) 2017-12-04T13:44:59Z binghe joined #lisp 2017-12-04T13:49:23Z Bike joined #lisp 2017-12-04T13:51:28Z cromachina_ quit (Read error: Connection reset by peer) 2017-12-04T13:52:53Z Kevslinger joined #lisp 2017-12-04T13:55:15Z asarch joined #lisp 2017-12-04T13:56:19Z Tobbi joined #lisp 2017-12-04T13:57:24Z chenbing joined #lisp 2017-12-04T13:59:40Z chenbing: hi ,is jess a full subset language of lisp? especially of common lisp 2017-12-04T14:02:14Z jackdaniel: what is jess? 2017-12-04T14:02:35Z ikki joined #lisp 2017-12-04T14:02:45Z chenbing: http://herzberg.ca.sandia.gov/ 2017-12-04T14:03:24Z chenbing: jess is a rule engine for java platform and it has lisp features 2017-12-04T14:04:19Z jdz: How does "has lisp features" relate to "a full subset of common lisp"? 2017-12-04T14:04:21Z jackdaniel: I don't see any lisp reference at first glance (not to mention common lisp) 2017-12-04T14:04:32Z jackdaniel: I highly doubt it is CL subset 2017-12-04T14:05:02Z jdz: Well, it's not too hard to be a subset of CL. 2017-12-04T14:05:10Z nonlinear quit (Ping timeout: 268 seconds) 2017-12-04T14:05:15Z jackdaniel: true that 2017-12-04T14:05:38Z jackdaniel: but that would impose, that you can run jess programs in CL 2017-12-04T14:06:19Z norayr left #lisp 2017-12-04T14:06:41Z nonlinear joined #lisp 2017-12-04T14:06:45Z jackdaniel: and since it introduces some rule operators, they would have to be implemented in this subset as well. if they are implemented in (say) Java, then valid program in Jess may simply not work on conforming CL implementation (unless you re-implement Jess in CL) 2017-12-04T14:07:32Z jdz: Pretty sure (call java.lang.Thread sleep 100) (from FAQ) is not a subset of CL . 2017-12-04T14:07:57Z chenbing: it just can runing in jvm 2017-12-04T14:08:24Z chenbing: call java api is a huge plus 2017-12-04T14:08:29Z tazjin quit 2017-12-04T14:08:53Z jackdaniel: yes, my point is that if it roots in java in it's core functionality, then it is not subset of CL 2017-12-04T14:09:20Z chenbing: yes i should be more serious 2017-12-04T14:09:36Z chenbing: after some my due dilligence 2017-12-04T14:10:03Z LiamH joined #lisp 2017-12-04T14:10:18Z _death: in my view calling java api is a huge minus 2017-12-04T14:10:56Z TCZ joined #lisp 2017-12-04T14:11:20Z chenbing: haha :-) 2017-12-04T14:16:57Z pjb: If it ran in abcl, it could be a subset of CL and you could still call java api. 2017-12-04T14:18:37Z Achylles quit (Quit: Leaving) 2017-12-04T14:18:42Z Bike: superset of a subset of lisp, as they say 2017-12-04T14:22:43Z chenbing: yeah I ran out of lisp a long time , it's time for me to back 2017-12-04T14:24:27Z _cosmonaut_ quit (Ping timeout: 240 seconds) 2017-12-04T14:29:01Z paule32: (defparameter *word-table* (make-hash-table)) 2017-12-04T14:29:17Z paule32: (setf (gethash "you" *word-table*) '("ich" "du" "er" "sie" "es")) 2017-12-04T14:29:22Z paule32: brings me error 2017-12-04T14:30:40Z paule32: (print (gethash "you" *word-table")) 2017-12-04T14:31:38Z whoman: what error. 2017-12-04T14:31:41Z pjb: WHAT error? 2017-12-04T14:32:23Z pjb: paule32: (there's not a lot of syntax in lisp, but there's still some syntax, and syntax matters!) 2017-12-04T14:32:48Z Bike: ask yourselves: do you really need more of this in your lives? 2017-12-04T14:32:59Z pjb: Good question. 2017-12-04T14:33:19Z paule32: end of file on # 2017-12-04T14:33:19Z paule32: (in form starting at line: 286, column: 0, position: 7307) 2017-12-04T14:33:19Z Bike: maybe paule32 can find a nice community somewhere that uses a language they can understand and react to, rather than hanging out here for a year and still not knowing what an error is 2017-12-04T14:33:42Z Bike: it's *word-table*. you wrote *word-table" 2017-12-04T14:33:47Z pjb: Well, there's #clnoobs 2017-12-04T14:33:58Z Bike: but it won't work as you want anyway because the hash table uses an eql test 2017-12-04T14:34:47Z pjb: paule32: could read clhs make-hash-table and notice that it's possible to use another test… But this may be over his IQ level. 2017-12-04T14:36:02Z whoman: sigh. humans can live in any conditions as long as we get used to it. Bike is very right we should be mindful. it doesnt pay anyone else to be strong, so we dont need to prove we can deal with things that arent even necessary. i do that often, i am very stubborn and lone wolf style. =P 2017-12-04T14:36:40Z nowhereman quit (Remote host closed the connection) 2017-12-04T14:36:48Z whoman: i can hardly understand clhs and ive done quite a few science thesis papers =p 2017-12-04T14:37:06Z nowhereman joined #lisp 2017-12-04T14:37:22Z whoman: not that i am smart. but clhs has quite an expectation 2017-12-04T14:37:29Z TCZ quit (Quit: Leaving) 2017-12-04T14:39:04Z whoman: oh i only feel smart when i am programming actually.. the rest of life is mostly thumbs down. 2017-12-04T14:39:52Z chenbing: every time in this chatroom I became humble 2017-12-04T14:40:31Z Bike: it's not about intelligence, it's about communication. specifically, none of us are able to communicate with paule32. 2017-12-04T14:40:45Z _cosmonaut_ joined #lisp 2017-12-04T14:41:05Z chenbing: paste code in pasting website is better style 2017-12-04T14:41:47Z jackdaniel: that's not it. we understand him, he just doesn't understand us (nor listens to advices) 2017-12-04T14:42:16Z jackdaniel: so trying to help him seems mundane and wasted effort after a few tries 2017-12-04T14:42:44Z paule32: don't be so hard 2017-12-04T14:43:02Z pjb: paule32: so can you make the link between the error message and the error? 2017-12-04T14:43:14Z paule32: i fix it 2017-12-04T14:43:21Z paule32: it was an typo 2017-12-04T14:43:24Z pjb: paule32: good. What about this error message: (print (gethash "you" *word-table")) #| ERROR: Unexpected end of file on # |# 2017-12-04T14:43:30Z pjb: paule32: would you say it's clearer? 2017-12-04T14:44:01Z paule32: yes, lisp is wise 2017-12-04T14:44:05Z pjb: paule32: or what about: *** - READ: input stream # ends within a string ? 2017-12-04T14:44:05Z nowhereman quit (Remote host closed the connection) 2017-12-04T14:44:30Z pjb: paule32: the point here is that different implementations have different error messages, and some may be friendlier and more understandable than others. 2017-12-04T14:44:31Z nowhereman joined #lisp 2017-12-04T14:44:53Z yeticry_ joined #lisp 2017-12-04T14:44:58Z pjb: paule32: what about: *** - READ: Eingabestream # endet innerhalb eines Strings. 2017-12-04T14:45:00Z ecraven: why is most of the code for the MIT CADR uppercased? wouldn't it have been easier to read if converted to lowercase? 2017-12-04T14:45:10Z pjb: paule32: Would you say it's the clearest error message of all? 2017-12-04T14:45:18Z paule32: why is it so hard? noone can support development with easier messages? 2017-12-04T14:45:23Z pjb: ecraven: because printers and punched cards didn't have lowercase. 2017-12-04T14:45:32Z pjb: paule32: what about: *** - READ: Eingabestream # endet innerhalb eines Strings. 2017-12-04T14:45:33Z _rumbler31 joined #lisp 2017-12-04T14:45:37Z pjb: paule32: Would you say it's the clearest error message of all? 2017-12-04T14:45:45Z paule32: it's missing " 2017-12-04T14:45:53Z paule32: strings begin, and end with " 2017-12-04T14:46:09Z paule32: i know 2017-12-04T14:46:15Z pjb: paule32: in lisp, strings can be multiline! 2017-12-04T14:46:25Z pjb: paule32: so there's no error, until you reach the end of the file. 2017-12-04T14:46:44Z pjb: paule32: if you prefer the later error message, then you should use clisp -Lgerman 2017-12-04T14:46:51Z paule32: the problem is, sometimes, i spent my time under terminal consoles text based, and sometimes under gui - where you can get eye cancer 2017-12-04T14:46:57Z pjb: paule32: but since this is something I told you to do last year, we don't have any hope. 2017-12-04T14:47:07Z paule32: like other, with C++ \ 2017-12-04T14:47:32Z yeticry quit (Ping timeout: 255 seconds) 2017-12-04T14:48:24Z whoman: tie yourself in a bag and roll off the docks -- like houdini, life is at stake -- you will find the way if the pressure is high enough. otherwise why get in the bag ? 2017-12-04T14:48:57Z yeticry_ quit (Read error: Connection reset by peer) 2017-12-04T14:49:17Z paule32: cewl 2017-12-04T14:49:42Z ecraven: pjb: but all the docstrings are properly cased, so it can't be for printing. did the MIT CADR actually use a card reader? 2017-12-04T14:49:57Z warweasle joined #lisp 2017-12-04T14:51:13Z yeticry joined #lisp 2017-12-04T14:51:14Z warweasle: I'm sure someone else has mentioned it, but hackaday had a lisp article: https://hackaday.com/2017/12/02/lisp-in-200-lines/ 2017-12-04T14:51:15Z pjb: ecraven: oh right, the MIT CADR was post punch-card… 2017-12-04T14:51:56Z ecraven: it might just be tradition, no deeper reason :-/ I find it harder to read than mixed or lower-case 2017-12-04T14:52:05Z pjb: ecraven: I would say it depend on the terminals they hard. Not all the early terminals (the first virtual teletypes) had lowercase, since teletypes had only uppercase. 2017-12-04T14:52:36Z pjb: ecraven: happily, you can use my downcase-lisp and downcase-lisp-region emacs commands. 2017-12-04T14:52:40Z ecraven: well, the actual *interface* (at least judging from running it with the usim simulator) supported lower-case characters alright 2017-12-04T14:53:30Z pjb: ecraven: https://gitlab.com/com-informatimago/emacs/blob/master/pjb-sources.el#L410 2017-12-04T14:54:04Z ecraven: pjb: thanks! that'll come in handy ;) 2017-12-04T14:54:11Z pjb: ecraven: even the Apple ][ only had uppercase! 2017-12-04T14:55:02Z rippa joined #lisp 2017-12-04T14:55:39Z ecraven: yea, but the user interface of the CADR definitely supported lower case, so I'm just wondering why it's only used in the docstrings, not in the actual source code 2017-12-04T14:55:50Z pjb: Even the ][+ didn't have lower case yet! 2017-12-04T14:56:07Z pjb: https://apple2history.org/history/ah06/ 2017-12-04T14:56:40Z ecraven: yea, but that's a consumer device and cost a lot less 2017-12-04T14:56:45Z pjb: you had to wait for 1981 to get lowercase! 2017-12-04T14:57:43Z pjb: Well, I would say that, plus we used to love uppercase. It gave a very computery style! 2017-12-04T14:58:21Z pjb: It's only those millenium youngster babygirls who can't stand uppercase, and who believe they're yelled at, which is not the case at all. 2017-12-04T14:58:45Z pjb: M-x caps-mode ! 2017-12-04T14:59:05Z fikka quit (Ping timeout: 240 seconds) 2017-12-04T14:59:52Z ecraven: hehe, I have fond memories of the C64, I don't remember there being a lower-case in the BASIC interpreter there either 2017-12-04T14:59:56Z ecraven: and that was way after 1981 2017-12-04T15:00:51Z sjl joined #lisp 2017-12-04T15:01:10Z jdz: ZX Spectrum Basic was also all uppercase. 2017-12-04T15:01:43Z damke_ joined #lisp 2017-12-04T15:01:52Z jdz: It also had a structure editor. 2017-12-04T15:01:53Z yeticry quit (Remote host closed the connection) 2017-12-04T15:01:58Z chenbing: memory is miracle 2017-12-04T15:02:06Z varjag: a keyword editor 2017-12-04T15:02:24Z yeticry joined #lisp 2017-12-04T15:02:43Z chenbing: thank god 2017-12-04T15:03:29Z EvW1 quit (Ping timeout: 255 seconds) 2017-12-04T15:03:51Z EvW joined #lisp 2017-12-04T15:03:57Z damke quit (Ping timeout: 246 seconds) 2017-12-04T15:04:07Z klltkr joined #lisp 2017-12-04T15:05:04Z smurfrobot joined #lisp 2017-12-04T15:05:23Z fikka joined #lisp 2017-12-04T15:08:41Z Cymew quit (Remote host closed the connection) 2017-12-04T15:09:57Z fikka quit (Ping timeout: 250 seconds) 2017-12-04T15:10:04Z papachan joined #lisp 2017-12-04T15:12:56Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-04T15:14:15Z klltkr joined #lisp 2017-12-04T15:14:18Z klltkr quit (Client Quit) 2017-12-04T15:14:19Z Guest70025 quit (Remote host closed the connection) 2017-12-04T15:15:11Z Guest70025 joined #lisp 2017-12-04T15:15:27Z fikka joined #lisp 2017-12-04T15:16:14Z Guest70025 quit (Remote host closed the connection) 2017-12-04T15:16:40Z Guest70025 joined #lisp 2017-12-04T15:19:29Z knobo quit (Ping timeout: 248 seconds) 2017-12-04T15:20:01Z fikka quit (Ping timeout: 248 seconds) 2017-12-04T15:21:21Z knobo joined #lisp 2017-12-04T15:23:05Z gigetoo quit (Ping timeout: 240 seconds) 2017-12-04T15:23:47Z whoman: sbcl is always yelling at me 2017-12-04T15:23:54Z gigetoo joined #lisp 2017-12-04T15:25:47Z dyelar joined #lisp 2017-12-04T15:26:20Z oleo joined #lisp 2017-12-04T15:26:49Z smurfrobot quit (Remote host closed the connection) 2017-12-04T15:28:15Z FreeBirdLjj joined #lisp 2017-12-04T15:28:33Z knobo quit (Ping timeout: 248 seconds) 2017-12-04T15:35:34Z fikka joined #lisp 2017-12-04T15:35:47Z mson joined #lisp 2017-12-04T15:36:22Z Jesin joined #lisp 2017-12-04T15:37:41Z chenbing quit (Quit: ERC (IRC client for Emacs 25.3.1)) 2017-12-04T15:39:57Z fikka quit (Ping timeout: 240 seconds) 2017-12-04T15:44:17Z flamebeard quit (Quit: Leaving) 2017-12-04T15:44:25Z klltkr joined #lisp 2017-12-04T15:46:01Z fikka joined #lisp 2017-12-04T15:46:09Z klltkr quit (Client Quit) 2017-12-04T15:46:47Z EvW quit (Ping timeout: 250 seconds) 2017-12-04T15:50:58Z fikka quit (Ping timeout: 260 seconds) 2017-12-04T15:51:38Z klltkr joined #lisp 2017-12-04T15:53:11Z varjag quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-12-04T15:53:11Z klltkr quit (Client Quit) 2017-12-04T15:55:24Z dec0n quit (Read error: Connection reset by peer) 2017-12-04T15:55:57Z shenghi quit (Remote host closed the connection) 2017-12-04T15:56:01Z fikka joined #lisp 2017-12-04T15:56:25Z shenghi joined #lisp 2017-12-04T15:57:30Z EvW joined #lisp 2017-12-04T15:59:44Z borodust: Xach: do you use macos in retina mode? 2017-12-04T16:00:25Z klltkr joined #lisp 2017-12-04T16:00:31Z klltkr quit (Client Quit) 2017-12-04T16:01:57Z klltkr joined #lisp 2017-12-04T16:02:38Z klltkr quit (Client Quit) 2017-12-04T16:06:13Z pjb: With their dumb names, imagine the confusion when Apple will release an iRetina computer… 2017-12-04T16:07:18Z borodust: Xach: or, oh well, with retina display? 2017-12-04T16:07:40Z jackdaniel: I plan to make a company, which will prepend "ur" before product names 2017-12-04T16:07:53Z jdz: I use macOS and Linux laptops, bot with >200dpi. 2017-12-04T16:07:54Z jackdaniel: so it will be urRetina, urPhone etc ;) 2017-12-04T16:08:16Z XachX: borodust: yes 2017-12-04T16:08:26Z borodust: XachX: understood, thank you 2017-12-04T16:09:11Z borodust: XachX: i'm starting to think that coudl be the source of the issue (so far that's the only difference between machines that has the bug and the ones that doesn't) 2017-12-04T16:09:21Z borodust: D: 2017-12-04T16:10:54Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-04T16:12:43Z klltkr joined #lisp 2017-12-04T16:13:34Z neoncontrails quit 2017-12-04T16:13:49Z klltkr quit (Client Quit) 2017-12-04T16:16:24Z eudoxia joined #lisp 2017-12-04T16:17:32Z EvW quit (Ping timeout: 276 seconds) 2017-12-04T16:17:37Z Pilu_ joined #lisp 2017-12-04T16:18:35Z Lord_Nightmare quit (Ping timeout: 240 seconds) 2017-12-04T16:20:22Z _cosmonaut_ quit (Ping timeout: 260 seconds) 2017-12-04T16:20:27Z Pilu_ quit (Quit: Leaving) 2017-12-04T16:21:47Z jmercouris joined #lisp 2017-12-04T16:21:55Z raphaelss quit (Remote host closed the connection) 2017-12-04T16:24:23Z EvW joined #lisp 2017-12-04T16:24:23Z SaganMan quit (Quit: WeeChat 1.6) 2017-12-04T16:24:52Z mercourisj joined #lisp 2017-12-04T16:26:09Z knobo joined #lisp 2017-12-04T16:27:18Z wheelsucker joined #lisp 2017-12-04T16:27:19Z Guest34322 joined #lisp 2017-12-04T16:27:22Z jmercouris quit (Ping timeout: 260 seconds) 2017-12-04T16:28:17Z mercourisj quit (Remote host closed the connection) 2017-12-04T16:28:38Z jmercouris joined #lisp 2017-12-04T16:28:50Z jmercouris quit (Remote host closed the connection) 2017-12-04T16:29:16Z jmercouris joined #lisp 2017-12-04T16:30:18Z jmercouris quit (Remote host closed the connection) 2017-12-04T16:30:50Z jmercouris joined #lisp 2017-12-04T16:31:50Z vibs29 quit (Ping timeout: 276 seconds) 2017-12-04T16:35:06Z mercourisj joined #lisp 2017-12-04T16:35:15Z vibs29 joined #lisp 2017-12-04T16:35:43Z nowhereman quit (Remote host closed the connection) 2017-12-04T16:36:10Z nowhereman joined #lisp 2017-12-04T16:37:21Z jmercouris quit (Ping timeout: 248 seconds) 2017-12-04T16:40:31Z smurfrobot joined #lisp 2017-12-04T16:44:44Z mercourisj quit (Ping timeout: 255 seconds) 2017-12-04T16:44:47Z jmercouris joined #lisp 2017-12-04T16:46:52Z mercourisj joined #lisp 2017-12-04T16:46:57Z mercourisj quit (Remote host closed the connection) 2017-12-04T16:47:26Z mercourisj joined #lisp 2017-12-04T16:49:46Z jmercouris quit (Ping timeout: 260 seconds) 2017-12-04T16:50:22Z mercourisj quit (Remote host closed the connection) 2017-12-04T16:52:15Z binghe quit (Ping timeout: 248 seconds) 2017-12-04T16:52:43Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-04T16:52:50Z EvW quit (Ping timeout: 255 seconds) 2017-12-04T16:52:50Z murii quit (Ping timeout: 255 seconds) 2017-12-04T16:54:30Z smurfrobot quit (Remote host closed the connection) 2017-12-04T16:54:54Z emacsoma` quit (Ping timeout: 260 seconds) 2017-12-04T16:54:55Z zmt00 joined #lisp 2017-12-04T16:55:10Z lagagain joined #lisp 2017-12-04T16:57:03Z Lord_Nightmare joined #lisp 2017-12-04T17:00:30Z ikki quit (Ping timeout: 260 seconds) 2017-12-04T17:04:58Z rm8 joined #lisp 2017-12-04T17:06:20Z kmb joined #lisp 2017-12-04T17:09:01Z osune is now known as _osune 2017-12-04T17:10:58Z Guest34322 quit (Quit: WeeChat 1.9.1) 2017-12-04T17:14:42Z hajovonta quit (Quit: hajovonta) 2017-12-04T17:15:56Z eudoxia quit (Remote host closed the connection) 2017-12-04T17:16:27Z mathi_aihtam joined #lisp 2017-12-04T17:23:25Z schweers quit (Ping timeout: 250 seconds) 2017-12-04T17:26:44Z varjag joined #lisp 2017-12-04T17:30:36Z zaquest_ quit (Ping timeout: 246 seconds) 2017-12-04T17:30:47Z molbdnilo joined #lisp 2017-12-04T17:33:07Z Karl_Dscc joined #lisp 2017-12-04T17:33:57Z Achylles joined #lisp 2017-12-04T17:33:58Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-04T17:34:14Z bkst quit (Ping timeout: 276 seconds) 2017-12-04T17:34:56Z brendyn quit (Ping timeout: 255 seconds) 2017-12-04T17:36:35Z raynold joined #lisp 2017-12-04T17:37:01Z eudoxia joined #lisp 2017-12-04T17:37:15Z raynold: ahh it's a wonderful day 2017-12-04T17:37:38Z molbdnilo quit (Quit: molbdnilo) 2017-12-04T17:38:45Z zaquest_ joined #lisp 2017-12-04T17:40:05Z fikka quit (Ping timeout: 255 seconds) 2017-12-04T17:45:11Z Denommus joined #lisp 2017-12-04T17:45:34Z mson quit (Quit: Connection closed for inactivity) 2017-12-04T17:47:10Z hhdave quit (Ping timeout: 260 seconds) 2017-12-04T17:54:34Z ninegrid quit (Remote host closed the connection) 2017-12-04T17:55:59Z fikka joined #lisp 2017-12-04T17:56:46Z Achylles quit (Quit: Leaving) 2017-12-04T18:00:21Z fikka quit (Ping timeout: 240 seconds) 2017-12-04T18:02:52Z bkst joined #lisp 2017-12-04T18:05:43Z whoman: =) how come ? 2017-12-04T18:05:56Z m00natic quit (Remote host closed the connection) 2017-12-04T18:08:00Z Karl_Dscc quit (Remote host closed the connection) 2017-12-04T18:10:10Z mson joined #lisp 2017-12-04T18:11:24Z osune joined #lisp 2017-12-04T18:11:26Z teddy_error joined #lisp 2017-12-04T18:12:32Z scymtym quit (Ping timeout: 240 seconds) 2017-12-04T18:16:11Z fikka joined #lisp 2017-12-04T18:17:13Z Karl_Dscc joined #lisp 2017-12-04T18:17:27Z wigust quit (Ping timeout: 240 seconds) 2017-12-04T18:20:54Z fikka quit (Ping timeout: 258 seconds) 2017-12-04T18:23:10Z shka joined #lisp 2017-12-04T18:25:05Z rumbler31 quit (Ping timeout: 255 seconds) 2017-12-04T18:26:35Z jibanes joined #lisp 2017-12-04T18:28:27Z turkja quit (Ping timeout: 240 seconds) 2017-12-04T18:33:48Z jealousmonk quit (Quit: Leaving) 2017-12-04T18:36:31Z fikka joined #lisp 2017-12-04T18:40:21Z jfb4 quit (Ping timeout: 240 seconds) 2017-12-04T18:41:18Z fikka quit (Ping timeout: 260 seconds) 2017-12-04T18:41:40Z raphaelss joined #lisp 2017-12-04T18:42:29Z jfb4 joined #lisp 2017-12-04T18:45:39Z vlatkoB quit (Remote host closed the connection) 2017-12-04T18:46:56Z fikka joined #lisp 2017-12-04T18:47:29Z fikka quit (Read error: Connection reset by peer) 2017-12-04T18:51:50Z nowhere_man joined #lisp 2017-12-04T18:52:17Z nowhereman quit (Ping timeout: 248 seconds) 2017-12-04T18:53:29Z motersen joined #lisp 2017-12-04T18:56:12Z Karl_Dscc quit (Remote host closed the connection) 2017-12-04T18:57:11Z fikka joined #lisp 2017-12-04T19:01:52Z scymtym joined #lisp 2017-12-04T19:03:02Z rgrau joined #lisp 2017-12-04T19:04:34Z libreman quit (Ping timeout: 264 seconds) 2017-12-04T19:04:47Z lagagain quit (Quit: Connection closed for inactivity) 2017-12-04T19:04:55Z mathrick quit (Read error: Connection reset by peer) 2017-12-04T19:06:22Z adi_ joined #lisp 2017-12-04T19:06:28Z mathrick joined #lisp 2017-12-04T19:10:24Z adi_ quit (Quit: leaving) 2017-12-04T19:10:26Z alexmlw joined #lisp 2017-12-04T19:14:50Z adi1 joined #lisp 2017-12-04T19:15:56Z mejja joined #lisp 2017-12-04T19:17:29Z libreman joined #lisp 2017-12-04T19:17:37Z adi1 quit (Client Quit) 2017-12-04T19:18:48Z m3adi3c joined #lisp 2017-12-04T19:20:09Z m3adi3c quit (Client Quit) 2017-12-04T19:22:41Z alexmlw quit (Quit: alexmlw) 2017-12-04T19:22:45Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-12-04T19:26:13Z m3adi3c joined #lisp 2017-12-04T19:26:57Z Josh_2 joined #lisp 2017-12-04T19:27:10Z m3adi3c quit (Client Quit) 2017-12-04T19:29:28Z knobo1 joined #lisp 2017-12-04T19:29:32Z fikka quit (Ping timeout: 268 seconds) 2017-12-04T19:31:43Z LocaMocha quit (Ping timeout: 248 seconds) 2017-12-04T19:32:35Z knobo quit (Ping timeout: 255 seconds) 2017-12-04T19:34:29Z fikka joined #lisp 2017-12-04T19:39:01Z fikka quit (Ping timeout: 240 seconds) 2017-12-04T19:40:01Z eschatologist quit (Ping timeout: 240 seconds) 2017-12-04T19:40:11Z eschatologist joined #lisp 2017-12-04T19:45:11Z BitPuffin|osx quit (Ping timeout: 255 seconds) 2017-12-04T19:45:38Z shifty joined #lisp 2017-12-04T19:54:48Z fikka joined #lisp 2017-12-04T19:56:08Z wigust joined #lisp 2017-12-04T19:56:43Z zooey quit (Remote host closed the connection) 2017-12-04T19:57:00Z zooey joined #lisp 2017-12-04T19:59:45Z fikka quit (Ping timeout: 268 seconds) 2017-12-04T20:00:27Z EvW1 joined #lisp 2017-12-04T20:00:59Z karswell quit (Remote host closed the connection) 2017-12-04T20:01:07Z damke joined #lisp 2017-12-04T20:02:20Z z3t0 joined #lisp 2017-12-04T20:02:54Z smurfrobot joined #lisp 2017-12-04T20:03:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-04T20:06:13Z Vivvy joined #lisp 2017-12-04T20:07:39Z rgrau quit (Ping timeout: 250 seconds) 2017-12-04T20:08:56Z Josh_2 quit (Remote host closed the connection) 2017-12-04T20:09:06Z zooey quit (Remote host closed the connection) 2017-12-04T20:09:29Z zooey joined #lisp 2017-12-04T20:12:05Z milanj joined #lisp 2017-12-04T20:15:05Z fikka joined #lisp 2017-12-04T20:15:33Z KongWubba joined #lisp 2017-12-04T20:19:35Z fikka quit (Ping timeout: 240 seconds) 2017-12-04T20:20:00Z smurfrobot quit (Remote host closed the connection) 2017-12-04T20:23:47Z knicklux joined #lisp 2017-12-04T20:25:32Z fikka joined #lisp 2017-12-04T20:26:25Z shifty quit (Remote host closed the connection) 2017-12-04T20:30:30Z fikka quit (Ping timeout: 260 seconds) 2017-12-04T20:30:39Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-12-04T20:32:49Z Xach announces the new Quicklisp, download stats 2017-12-04T20:34:28Z eudoxia: Xach: http://blog.quicklisp.org/ appears to be down for that reason? 2017-12-04T20:34:41Z whoman quit (Ping timeout: 240 seconds) 2017-12-04T20:35:00Z Xach: eudoxia: it doesn't appear down to me - what symptoms of down-ness do you get? 2017-12-04T20:35:17Z eudoxia: just "Firefox can’t establish a connection to the server at blog.quicklisp.org." 2017-12-04T20:35:18Z pfdietz_ joined #lisp 2017-12-04T20:35:24Z Xach: http://downforeveryoneorjustme.com/blog.quicklisp.org 2017-12-04T20:35:48Z Xach: Maybe it's trying https? 2017-12-04T20:35:51Z eudoxia: ping 15s -> no packets 2017-12-04T20:35:59Z Xach: it's hosted on blogger, and doesn't use SSL. 2017-12-04T20:36:02Z fikka joined #lisp 2017-12-04T20:36:03Z Bike: works for me. 2017-12-04T20:36:20Z eudoxia: how strange 2017-12-04T20:36:26Z eudoxia: maybe it's the corporate proxy 2017-12-04T20:36:40Z phoe: works for me 2017-12-04T20:36:45Z Bike: quicklisp blocked for pornographic content 2017-12-04T20:36:47Z teddy_error quit (Quit: Peace ☮︎) 2017-12-04T20:36:49Z eudoxia: huh, I can connect on my phone 2017-12-04T20:37:01Z Xach: Bike: boo 2017-12-04T20:37:15Z eudoxia: nevermind folks it's probably just the corporate proxy or isp 2017-12-04T20:37:38Z pfdietz quit (Ping timeout: 255 seconds) 2017-12-04T20:39:57Z Xach: Hmm, my host doesn't support SSL for custom domain blogs. Boo. 2017-12-04T20:40:46Z fikka quit (Ping timeout: 260 seconds) 2017-12-04T20:41:00Z eudoxia needs to migrate his blag off GitHub Pages to set up proper SSL 2017-12-04T20:46:09Z fikka joined #lisp 2017-12-04T20:50:53Z fikka quit (Ping timeout: 255 seconds) 2017-12-04T20:53:03Z terpri joined #lisp 2017-12-04T20:53:37Z dieggsy joined #lisp 2017-12-04T20:54:45Z whoman joined #lisp 2017-12-04T20:56:21Z fikka joined #lisp 2017-12-04T20:57:37Z motersen quit (Ping timeout: 248 seconds) 2017-12-04T20:57:55Z eudoxia quit (Quit: Leaving) 2017-12-04T20:59:36Z sarkic quit (Quit: leaving) 2017-12-04T20:59:39Z papachan quit (Quit: WeeChat 2.0) 2017-12-04T21:01:24Z strelox quit (Remote host closed the connection) 2017-12-04T21:01:35Z fikka quit (Ping timeout: 276 seconds) 2017-12-04T21:05:07Z wigust quit (Ping timeout: 268 seconds) 2017-12-04T21:06:27Z fikka joined #lisp 2017-12-04T21:07:44Z dieggsy quit (Quit: ERC (IRC client for Emacs 27.0.50)) 2017-12-04T21:08:39Z dieggsy joined #lisp 2017-12-04T21:08:53Z Vivvy quit (Ping timeout: 255 seconds) 2017-12-04T21:09:33Z warweasle quit (Quit: rcirc on GNU Emacs 24.4.1) 2017-12-04T21:10:57Z fikka quit (Ping timeout: 248 seconds) 2017-12-04T21:16:16Z MightyJoe is now known as cyraxjoe 2017-12-04T21:16:22Z rm8 quit (Quit: i slep) 2017-12-04T21:17:12Z oleo: who uses clinch:*blah* to name stuff baaaa 2017-12-04T21:17:19Z rm8 joined #lisp 2017-12-04T21:17:33Z oleo: i turned themall into clinch/*blah* etc 2017-12-04T21:17:59Z oleo: and still some of the stuff does not work as expected.... 2017-12-04T21:18:42Z drmeister: How do people use (defsystem ... :build-operation asdf:monolithic-compile-bundle-op ...)? 2017-12-04T21:19:14Z dieggsy quit (Ping timeout: 255 seconds) 2017-12-04T21:19:31Z drmeister: I'd like to use it like a regular asdf system where if the monolithic bundle doesn't exist - then it's built and if it does exist - then it is loaded - is that possible> 2017-12-04T21:19:32Z drmeister: ? 2017-12-04T21:20:09Z Xach: drmeister: the folks i know who use monolithic-bundle-op use it as an op at runtime, not in the definition 2017-12-04T21:20:19Z Xach: and for them it's to elide asdf entirely from the end product 2017-12-04T21:20:38Z drmeister: I see - that is actually a more attractive idea. 2017-12-04T21:21:19Z drmeister: How do they work with the product? Do they set :build-pathname to where they want it installed? 2017-12-04T21:22:04Z Xach: drmeister: no, the monolithic-bundle-op produces a number of monofasls, and a later script is called that loads all those monofasls and saves an image, iirc. 2017-12-04T21:22:20Z Xach: the script is a simple loader, does not involve asdf, hardcodes paths to the monofasl output 2017-12-04T21:22:41Z Xach: then the deliverable is a binary thing that is a saved image built from that script, iirc 2017-12-04T21:23:27Z drmeister: I think it works a little differently in ECL and Clasp - because they can't save an image. My recollection (a few weeks ago I implemented this) was that it generates a lot of object files and links them into a single library. 2017-12-04T21:23:36Z Xach: ah 2017-12-04T21:25:01Z drmeister: Ok, so I see that I'm in new territory with a new implementation of an uncommonly used feature. 2017-12-04T21:26:04Z jackdaniel: in ecl monolithic-bundle-op produces either executable or a shared object (disguised as fasb which may be loaded) which are constructed indeed from many *.o files 2017-12-04T21:26:30Z fikka joined #lisp 2017-12-04T21:26:32Z drmeister: jackdaniel: Thank you for that confirmation. 2017-12-04T21:26:36Z jackdaniel: which are results of calling (compile-file "foo.lisp" :system t) ; (or something very similar) by a higher level interface 2017-12-04T21:26:57Z oleo left #lisp 2017-12-04T21:27:04Z Shinmera: drmeister: I use monolithic-concatenate-source-op to create a single lisp file of some systems that can just be loaded standalone. 2017-12-04T21:27:07Z oleo joined #lisp 2017-12-04T21:27:18Z Shinmera: But I don't know what exactly you want to do 2017-12-04T21:27:22Z drmeister: jackdaniel: Do you use monolithic-bundle-op - if so - how do you direct where the output goes? 2017-12-04T21:27:32Z orivej quit (Ping timeout: 240 seconds) 2017-12-04T21:27:46Z jackdaniel: drmeister: I use asdf:make-build and :move-here argument 2017-12-04T21:27:53Z jackdaniel: it is documented in ECL manual 2017-12-04T21:27:58Z drmeister: I want to bundle up a bunch of ASDF systems into a single library and load that when Clasp starts up to minimize startup time. 2017-12-04T21:28:09Z jackdaniel: Fare wasn't very fond of this interface 2017-12-04T21:28:24Z neoncontrails joined #lisp 2017-12-04T21:28:59Z drmeister: jackdaniel: I've probably asked this a dozen times - ECL cannot create images - correct? 2017-12-04T21:29:30Z drmeister: We are having some trouble optimizing things because of how Clasp starts up and builds itself - I've always thought that ECL had the same issues. 2017-12-04T21:29:40Z jackdaniel: it can't *but* it's not impossible. GCL has save-lisp-and-die function and it has common roots as ECL 2017-12-04T21:30:07Z jackdaniel: afair it uses same function which was removed from glibc a while ago (which was used also by emacs), but I'm not sure about that 2017-12-04T21:30:23Z jackdaniel: regarding faster load, bundling systems into fasb indeed improves things 2017-12-04T21:30:31Z jackdaniel: because you simply dlopen them, and that is fast 2017-12-04T21:31:16Z jackdaniel: (internally of course, don't force people to use dlopen - (load "foo.fasb") should do) 2017-12-04T21:31:23Z fikka quit (Ping timeout: 255 seconds) 2017-12-04T21:31:29Z drmeister: What about starting up an ECL system? Clasp evaluates every top level form in order of how they were COMPILE-FILE'd - does ECL do that? 2017-12-04T21:32:26Z jackdaniel: in ECL you have libecl.so (which is *the* implementation) and ecl binary, which opens it. additionally in /usr/lib/ecl-xx/ you have fas files, which may be loaded (or required), which are also libraries 2017-12-04T21:32:45Z jackdaniel: so there is no compilation at start 2017-12-04T21:32:56Z jackdaniel: you just open bunch of shared objects 2017-12-04T21:33:01Z brendyn joined #lisp 2017-12-04T21:33:05Z jackdaniel: asdf for instance 2017-12-04T21:33:38Z jackdaniel: that is a very fine quality imo, that you can compile arbitrary system into a shared library (which could be used from other languages) 2017-12-04T21:33:49Z drmeister: Right - there is no compilation in Clasp except for fastgf has forced it on us until I can figure out how to get around it. 2017-12-04T21:34:44Z drmeister: I'll say that a bit more clearly: there is no compilation at startup in Clasp either, except for fastgf. 2017-12-04T21:35:47Z drmeister: But for instance. Every DEFUN that is compile-file'd leaves code in the fasl so that at startup the DEFUN code is evaluated to bind the each function to its symbol. 2017-12-04T21:35:59Z jackdaniel: ECL doesn't evaluate top-level forms at startup, it has vv internal structure which may be used to populate side effects though 2017-12-04T21:36:15Z drmeister: What is "vv internal structure"? 2017-12-04T21:36:33Z jackdaniel: I'm not able to describe details, it's complex and I don't understand it very well 2017-12-04T21:37:06Z Bike: sounds interesting. where is that in the source? 2017-12-04T21:38:02Z drmeister: What does a fasl file do at load time then? Does it somehow bind the final symbol value slots and function slots, classes and other system configuration info? 2017-12-04T21:38:03Z jackdaniel: it is scattered in src/cmp/ 2017-12-04T21:38:11Z Bike: ah, naturally 2017-12-04T21:38:21Z teddy_error joined #lisp 2017-12-04T21:38:38Z dieggsy joined #lisp 2017-12-04T21:39:30Z dyelar quit (Quit: Leaving.) 2017-12-04T21:39:46Z jackdaniel: drmeister: I don't remember. I have debugged this code and fixed some issues, but there are too many details to remember 2017-12-04T21:40:15Z jackdaniel: beauty of inherited code ;) 2017-12-04T21:40:21Z drmeister: That's ok - thanks. 2017-12-04T21:40:32Z drmeister: The beauty of inherited code that works. 2017-12-04T21:40:41Z aeth quit (Ping timeout: 240 seconds) 2017-12-04T21:41:10Z jackdaniel: any good recipes how to throw away being shy and record McCLIM video at instant? :) 2017-12-04T21:42:09Z aeth joined #lisp 2017-12-04T21:42:40Z drmeister: jackdaniel: Is there a way to get quicklisp in ECL to save the intermediate C files when it builds systems? 2017-12-04T21:43:16Z drmeister: pwd 2017-12-04T21:43:19Z drmeister: Whoops 2017-12-04T21:43:54Z jackdaniel: yes, you have to (ext:install-c-compiler) and set c::*delete-files* (name may be a little different) to nil 2017-12-04T21:44:24Z jackdaniel: useful for debugging 2017-12-04T21:44:37Z frob joined #lisp 2017-12-04T21:45:01Z frob is now known as Guest24518 2017-12-04T21:45:12Z jackdaniel: each file when compiled has 3 files associated: c, h and data 2017-12-04T21:45:18Z smurfrobot joined #lisp 2017-12-04T21:45:21Z jackdaniel: the last one contains vv data 2017-12-04T21:45:53Z jackdaniel: (which may be empty of course, if there is nothing interesting there) 2017-12-04T21:47:56Z zooey quit (Ping timeout: 248 seconds) 2017-12-04T21:47:57Z papachan joined #lisp 2017-12-04T21:48:36Z zooey joined #lisp 2017-12-04T21:50:20Z smurfrobot quit (Ping timeout: 276 seconds) 2017-12-04T21:52:46Z drmeister: jackdaniel: Does ECL do much inlining? 2017-12-04T21:53:08Z jackdaniel: I didn't count. it does some 2017-12-04T21:53:20Z jackdaniel: cmpinline may have some hints 2017-12-04T22:01:37Z mathi_aihtam quit (Ping timeout: 250 seconds) 2017-12-04T22:02:40Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.1)) 2017-12-04T22:03:58Z mathi_aihtam joined #lisp 2017-12-04T22:05:34Z mson quit (Quit: Connection closed for inactivity) 2017-12-04T22:06:00Z mondec` joined #lisp 2017-12-04T22:06:33Z mondec quit (Remote host closed the connection) 2017-12-04T22:08:25Z z3t0 quit (Remote host closed the connection) 2017-12-04T22:08:33Z mishoo_ quit (Ping timeout: 248 seconds) 2017-12-04T22:11:45Z fikka joined #lisp 2017-12-04T22:14:48Z teddy_error quit (Quit: Peace ☮︎) 2017-12-04T22:15:19Z Tobbi joined #lisp 2017-12-04T22:16:06Z KongWubba quit (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org) 2017-12-04T22:16:31Z fikka quit (Ping timeout: 248 seconds) 2017-12-04T22:23:23Z orivej joined #lisp 2017-12-04T22:26:29Z osune quit (Remote host closed the connection) 2017-12-04T22:26:47Z flazh quit (Quit: flazh) 2017-12-04T22:27:02Z flazh joined #lisp 2017-12-04T22:28:58Z Karl_Dscc joined #lisp 2017-12-04T22:31:42Z fikka joined #lisp 2017-12-04T22:32:27Z _rumbler31 quit (Ping timeout: 240 seconds) 2017-12-04T22:33:47Z flazh quit (Quit: flazh) 2017-12-04T22:34:05Z flazh joined #lisp 2017-12-04T22:36:16Z emacsomancer quit (Remote host closed the connection) 2017-12-04T22:36:29Z pseudonymous joined #lisp 2017-12-04T22:36:30Z fikka quit (Ping timeout: 260 seconds) 2017-12-04T22:37:15Z Bike quit (Ping timeout: 260 seconds) 2017-12-04T22:39:00Z wheelsucker quit (Quit: Client Quit) 2017-12-04T22:39:39Z knicklux quit (Quit: Leaving) 2017-12-04T22:42:33Z fikka joined #lisp 2017-12-04T22:46:55Z fikka quit (Ping timeout: 248 seconds) 2017-12-04T22:47:22Z mathi_aihtam quit (Quit: mathi_aihtam) 2017-12-04T22:49:29Z papachan quit (Quit: WeeChat 2.0) 2017-12-04T22:49:48Z LiamH quit (Quit: Leaving.) 2017-12-04T22:50:42Z Jesin quit (Quit: Leaving) 2017-12-04T22:57:17Z Karl_Dscc quit (Remote host closed the connection) 2017-12-04T23:02:29Z damke_ joined #lisp 2017-12-04T23:02:30Z fikka joined #lisp 2017-12-04T23:02:31Z pierpa joined #lisp 2017-12-04T23:04:05Z mathi_aihtam joined #lisp 2017-12-04T23:04:24Z zachk joined #lisp 2017-12-04T23:04:41Z damke quit (Ping timeout: 240 seconds) 2017-12-04T23:05:26Z sjl quit (Ping timeout: 255 seconds) 2017-12-04T23:05:52Z pseudonymous quit (Ping timeout: 240 seconds) 2017-12-04T23:07:13Z fikka quit (Ping timeout: 268 seconds) 2017-12-04T23:11:44Z phoe: There was a somewhat recent blogpost on SBCL's type inference and such, I remember an example about integers. Does anyone have a link anywhere handy? 2017-12-04T23:12:23Z larsen: I'm facing a problems using a couple of packages because package A's nickname clashes with the name of package B. what's the practice in such cases? 2017-12-04T23:12:31Z shka quit (Ping timeout: 248 seconds) 2017-12-04T23:12:54Z larsen: s/blems/blem/ 2017-12-04T23:12:57Z phoe: larsen: bt? 2017-12-04T23:13:17Z phoe: or another nickname? 2017-12-04T23:13:32Z larsen: mmm, sorry, what does bt mean? 2017-12-04T23:13:54Z wxie joined #lisp 2017-12-04T23:14:36Z phoe: bordeaux-threads 2017-12-04T23:14:45Z phoe: one of the most often clashing packages, considering binary-types 2017-12-04T23:14:51Z phoe: both have the bt nickname. 2017-12-04T23:14:55Z larsen: (in general, I'm puzzled because IMHO defining a nickname should be a choice of the user, not of the author of the package) 2017-12-04T23:15:08Z phoe: larsen: which packages are giving you the issue? 2017-12-04T23:15:20Z larsen: ah ok, no. it's another couple of packages. cl-flow (nickname flow) and flow 2017-12-04T23:15:22Z Bike joined #lisp 2017-12-04T23:15:34Z phoe: are they both on quicklisp? 2017-12-04T23:15:51Z larsen: I don't know, let me check 2017-12-04T23:16:10Z phoe: you could nonetheless file an issue on https://github.com/borodust/cl-flow/blob/master/packages.lisp#L5 2017-12-04T23:16:13Z phoe: borodust: ^ 2017-12-04T23:16:47Z larsen: harmony (which is the main system loading flow) is on quicklisp 2017-12-04T23:16:57Z larsen: ok. I'll do 2017-12-04T23:17:26Z larsen: I reckon there's no general technique to amend this error on my side 2017-12-04T23:17:31Z phoe: larsen: the general way is RENAME-PACKAGE to remove the conflict manually, but that's a destructive operation. 2017-12-04T23:17:40Z mathi_aihtam quit (Quit: mathi_aihtam) 2017-12-04T23:17:46Z phoe: like, you're modifying the nickname for your whole Lisp image. 2017-12-04T23:18:04Z phoe: you can keep the name and just remove the nicknames this way. 2017-12-04T23:18:16Z mfiano: phoe: gl is used by 3 packages if i recall correctly 2017-12-04T23:18:58Z larsen: ok. I found rename-package but it was not clear to me *when* I was supposed to call it, because so far I only have a set of dependencies in the .asd file for my system 2017-12-04T23:19:16Z larsen: anyway, I'll open that issue. thank you 2017-12-04T23:22:07Z jameser joined #lisp 2017-12-04T23:22:47Z fikka joined #lisp 2017-12-04T23:26:14Z wxie quit (Quit: Bye.) 2017-12-04T23:27:22Z fikka quit (Ping timeout: 260 seconds) 2017-12-04T23:27:53Z neoncontrails quit (Remote host closed the connection) 2017-12-04T23:28:03Z neoncontrails joined #lisp 2017-12-04T23:28:22Z neoncontrails quit (Remote host closed the connection) 2017-12-04T23:33:14Z fikka joined #lisp 2017-12-04T23:35:19Z Kaisyu joined #lisp 2017-12-04T23:35:39Z xrash quit (Read error: Connection reset by peer) 2017-12-04T23:37:27Z fikka quit (Ping timeout: 240 seconds) 2017-12-04T23:43:45Z fikka joined #lisp 2017-12-04T23:44:37Z Denommus quit (Quit: going home) 2017-12-04T23:47:14Z jack_rabbit_ joined #lisp 2017-12-04T23:48:38Z fikka quit (Ping timeout: 255 seconds) 2017-12-04T23:50:42Z jack_rabbit quit (Ping timeout: 260 seconds) 2017-12-04T23:51:13Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-04T23:53:05Z jasom: would this be a valid loop: (loop while (< foo limit) sum (bar) into foo) 2017-12-04T23:55:38Z peterhil quit (Ping timeout: 255 seconds) 2017-12-04T23:56:56Z cromachina joined #lisp 2017-12-04T23:58:38Z Jesin joined #lisp 2017-12-04T23:59:47Z phoe: why not 2017-12-04T23:59:52Z ninegrid joined #lisp 2017-12-04T23:59:56Z phoe: hm, wait a second though 2017-12-05T00:00:03Z phoe: is FOO defined early enough? 2017-12-05T00:00:24Z jasom: I haven't found an implementation that *doesn't* like it, and it seems correct with my first reading of the spec 2017-12-05T00:00:50Z phoe: also FOO isn't returned, but that's a detail 2017-12-05T00:01:00Z jasom: it's fine to not return foo 2017-12-05T00:01:15Z phoe: good 2017-12-05T00:01:31Z phoe: I think it's valid, AFAIK the variables are first collected and bound, and only then computation progresses 2017-12-05T00:01:33Z Bike: "The var argument is bound as if by the construct with to a zero of the appropriate type." 2017-12-05T00:01:37Z Bike: seems okay to me. 2017-12-05T00:01:43Z phoe: s/computation/loop 2017-12-05T00:02:16Z k-stz quit (Remote host closed the connection) 2017-12-05T00:03:29Z bkst quit (Ping timeout: 255 seconds) 2017-12-05T00:03:35Z red-dot joined #lisp 2017-12-05T00:03:45Z fikka joined #lisp 2017-12-05T00:04:17Z knobo1 quit (Ping timeout: 248 seconds) 2017-12-05T00:06:52Z TCZ joined #lisp 2017-12-05T00:08:26Z fikka quit (Ping timeout: 255 seconds) 2017-12-05T00:10:08Z bkst joined #lisp 2017-12-05T00:10:42Z turkja joined #lisp 2017-12-05T00:17:14Z shenghi quit (Ping timeout: 276 seconds) 2017-12-05T00:17:33Z mejja quit (Quit: mejja) 2017-12-05T00:18:08Z isoraqathedh quit (Ping timeout: 268 seconds) 2017-12-05T00:18:12Z isoraqathedh_ joined #lisp 2017-12-05T00:20:23Z shenghi joined #lisp 2017-12-05T00:22:56Z isoraqathedh_ is now known as isoraqathedh 2017-12-05T00:24:05Z fikka joined #lisp 2017-12-05T00:28:41Z fikka quit (Ping timeout: 255 seconds) 2017-12-05T00:29:53Z jack_rabbit_ quit (Ping timeout: 248 seconds) 2017-12-05T00:32:57Z pareidolia quit (Ping timeout: 240 seconds) 2017-12-05T00:33:03Z nirved quit (Quit: Leaving) 2017-12-05T00:36:32Z pareidolia joined #lisp 2017-12-05T00:42:35Z EvW1 quit (Ping timeout: 276 seconds) 2017-12-05T00:42:41Z jack_rabbit_ joined #lisp 2017-12-05T00:44:44Z fikka joined #lisp 2017-12-05T00:48:22Z yangby joined #lisp 2017-12-05T00:49:18Z mson joined #lisp 2017-12-05T00:49:35Z fikka quit (Ping timeout: 268 seconds) 2017-12-05T00:49:52Z igemnace joined #lisp 2017-12-05T00:50:00Z yangby quit (Client Quit) 2017-12-05T00:50:09Z jack_rabbit_ quit (Ping timeout: 248 seconds) 2017-12-05T00:51:12Z neoncontrails joined #lisp 2017-12-05T00:53:38Z Guest24518 quit (Ping timeout: 276 seconds) 2017-12-05T00:54:47Z zachk quit (Quit: night night) 2017-12-05T00:56:44Z zooey quit (Ping timeout: 248 seconds) 2017-12-05T00:57:54Z zooey joined #lisp 2017-12-05T01:02:16Z aeth: Why does clx have a separate opengl? 2017-12-05T01:02:23Z margeas quit (Ping timeout: 248 seconds) 2017-12-05T01:04:39Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-05T01:04:58Z fikka joined #lisp 2017-12-05T01:05:48Z jack_rabbit_ joined #lisp 2017-12-05T01:09:53Z fikka quit (Ping timeout: 276 seconds) 2017-12-05T01:10:09Z Xach: separate from what? 2017-12-05T01:11:30Z aeth: There's https://github.com/sharplispers/clx/blob/master/extensions/gl.lisp and there's https://github.com/3b/cl-opengl/ 2017-12-05T01:12:50Z Xach: clx's predates cl-opengl by a long long long long time. 2017-12-05T01:13:13Z sz0 quit (Quit: Connection closed for inactivity) 2017-12-05T01:15:04Z aeth: Is there anything that stops a CL X client from using cl-opengl? It looks like there's something called DRI that bypasses the X server. https://en.wikipedia.org/wiki/Direct_Rendering_Infrastructure 2017-12-05T01:15:25Z fikka joined #lisp 2017-12-05T01:16:07Z aeth: Unless I'm mistaken, it looks like it might be possible to write a pure CL 3D application for Linux except for OpenGL (and sound?) by writing an X client. 2017-12-05T01:17:02Z orivej quit (Ping timeout: 276 seconds) 2017-12-05T01:17:09Z aeth: Unless cl-opengl for some reason requires xlib... 2017-12-05T01:18:08Z aeth: The Windows backend would still have to use more foreign code, either directly or through something like cl-sdl2. 2017-12-05T01:20:12Z fikka quit (Ping timeout: 260 seconds) 2017-12-05T01:20:50Z smurfrobot joined #lisp 2017-12-05T01:25:21Z smurfrobot quit (Ping timeout: 248 seconds) 2017-12-05T01:25:32Z fikka joined #lisp 2017-12-05T01:30:06Z fikka quit (Ping timeout: 260 seconds) 2017-12-05T01:30:48Z aeth: I'm starting to think that the only way I can get the level of control I want for my game engine is to either write my own X client or write my own wrapper to xlib and then keep the cl-sdl2 backend for Windows until I eventually replace it with something built on the Windows API directly. 2017-12-05T01:34:30Z jibanes quit (Remote host closed the connection) 2017-12-05T01:35:40Z fikka joined #lisp 2017-12-05T01:37:26Z emaczen joined #lisp 2017-12-05T01:37:47Z emaczen: how can I capture #'time output into a string? 2017-12-05T01:38:48Z aeth: rebind its output temporarily. 2017-12-05T01:39:07Z aeth: I was going to say *standard-output* but it's actually *trace-output*, apparently 2017-12-05T01:39:32Z pfdietz_: Time prints to a stream, so with-output-to-string lets you bind the appropriate stream variable to a string-stream, then return the string. 2017-12-05T01:39:37Z aeth: (with-output-to-string (string-stream) (let ((*trace-output* string-stream)) (time (+ 1 2)))) 2017-12-05T01:39:59Z Bike: why do you want to do that? 2017-12-05T01:40:01Z pfdietz_: Or just (with-output-to-string (*trace-output*) ...) 2017-12-05T01:40:01Z emaczen: aeth: I was looking for *trace-output* -- I literally tried all streams except that one! 2017-12-05T01:40:11Z pfdietz_: CLHS 2017-12-05T01:40:15Z emaczen: pfdietz_: Yep that's what I've been doing 2017-12-05T01:40:17Z fikka quit (Ping timeout: 248 seconds) 2017-12-05T01:40:20Z pfdietz_: CLHS: time 2017-12-05T01:40:20Z aeth: The hyperspec says trace output. http://www.lispworks.com/documentation/HyperSpec/Body/m_time.htm 2017-12-05T01:42:25Z pfdietz_: Using get-internal-run-time might be more useful. 2017-12-05T01:44:58Z aeth: Generally, for timing you want this (* (/ internal-time-units-per-second) (get-internal-real-time)) unless its precision is too low (then you might need a foreign library? strange how its precision in SBCL is lower than SBCL's time precision) 2017-12-05T01:45:59Z milanj quit (Quit: This computer has gone to sleep) 2017-12-05T01:46:33Z aeth: Except you probably don't want rational, so you probably want to define a constant that's e.g. (coerce (/ internal-time-units per-second) 'double-float) because otherwise SBCL will complain (at max optimization level) that it can't really optimize it. 2017-12-05T01:46:54Z aeth: and if SBCL can't, they all probably can't 2017-12-05T01:47:45Z aeth: double-float will almost certainly cons under normal circumstances, which could affect your timing. One way to avoid this that might work on some implementations (it works in SBCL) is to work with double-floats stored to arrays of :element-type double-float. 2017-12-05T01:49:26Z aeth: e.g. (defconstant +seconds-per-time-unit+ (coerce (/ internal-time-units-per-second) 'double-float)) (declaim (inline %current-second)) (defun %current-second () "Converts internal CL time to a double-float second." (* (get-internal-real-time) +seconds-per-time-unit+)) 2017-12-05T01:50:02Z aeth: You'll want to inline that function because (1) it's trivial arithmetic that should never change and (2) otherwise you'll allocate a double-float when you can avoid that by setting to double-float arrays 2017-12-05T01:50:43Z python476 joined #lisp 2017-12-05T01:52:37Z aeth: #'%current-second will appear to cons if you disassemble it, but if you use it in a setf to an array of :element-type 'double-float it should potentially be non-consing, depending on if the implementation is that advanced. SBCL handles it afaik. 2017-12-05T01:54:12Z aeth: You can define a struct that's really just a vector if you want to have a higher level interface above the array, e.g. (defstruct (times (:type (vector double-float)) (:conc-name nil)) (current-time 0d0 :type double-float) ...) and make sure to always setf values of that struct with no non-constant intermediate doubles. 2017-12-05T01:55:32Z phadthai quit (Ping timeout: 240 seconds) 2017-12-05T01:56:07Z fikka joined #lisp 2017-12-05T01:59:31Z jibanes joined #lisp 2017-12-05T02:01:02Z fikka quit (Ping timeout: 260 seconds) 2017-12-05T02:03:48Z aeth: This portable code should be non-consing in SBCL for a time struct of 3 values: (defun time-diff (times) (declare ((simple-array double-float (3)) times) (optimize (speed 3))) (setf (new-time times) (%current-second) (time-diff times) (- (new-time times) (current-time times)) (current-time times) (new-time times)) times) 2017-12-05T02:04:21Z aeth: This assumes current-time has already been set to the current time. 2017-12-05T02:05:08Z aeth: I probably could have said this in far fewer IRC lines if Lisp paste was still up. 2017-12-05T02:06:31Z fikka joined #lisp 2017-12-05T02:08:50Z quazimodo quit (Ping timeout: 260 seconds) 2017-12-05T02:10:12Z pfdietz_: Or use single floats, which I believe in SBCL 64 bit are non-consing. 2017-12-05T02:10:58Z aeth: single-floats should be non-consing in most if not all 64 bit implementations, but it afaik depends on the time interval you're working with. If you do a short non-consing workaround and then coerce the end result to 'single-float, if you're careful, you shouldn't cons anywhere along the line 2017-12-05T02:11:13Z aeth: double-floats will definitely work for more time intervals 2017-12-05T02:11:36Z fikka quit (Ping timeout: 268 seconds) 2017-12-05T02:13:46Z aeth: oh oops, I used the name time-diff twice 2017-12-05T02:14:54Z aeth: The custom function should be update-time-diff and then you can add one more function to get the single-float value, which won't cons: (defun time-diff-to-single (times) (declare ((simple-array double-float (3)) times) (optimize (speed 3))) (coerce (time-diff times) 'single-float)) 2017-12-05T02:17:29Z aeth: I use something very similar and I just tested these in the REPL and they should be non-consing in SBCL. (Other implementations might cons, but if they do, someone should probably submit a patch. The hardest one to patch would be CLISP because it doesn't even have double-float arrays.) 2017-12-05T02:17:57Z TCZ quit (Quit: Leaving) 2017-12-05T02:18:52Z fiddlerwoaroof quit (Read error: Connection reset by peer) 2017-12-05T02:21:16Z fiddlerwoaroof joined #lisp 2017-12-05T02:25:16Z Bike quit (Quit: Lost terminal) 2017-12-05T02:26:32Z fikka joined #lisp 2017-12-05T02:27:13Z aeth: Something like this: https://gitlab.com/snippets/1687407 2017-12-05T02:28:30Z aeth: and it should match the first line of SBCL's time, that says e.g. "3.610 seconds of real time" 2017-12-05T02:29:45Z d4ryus1 joined #lisp 2017-12-05T02:31:14Z fikka quit (Ping timeout: 260 seconds) 2017-12-05T02:31:34Z phadthai joined #lisp 2017-12-05T02:33:05Z d4ryus quit (Ping timeout: 248 seconds) 2017-12-05T02:34:53Z eSVG joined #lisp 2017-12-05T02:37:00Z fikka joined #lisp 2017-12-05T02:41:53Z fikka quit (Ping timeout: 255 seconds) 2017-12-05T02:42:37Z aeth: It doesn't appear to cons in the disassemblies. It does appear to cons slightly when I run it repeatedly in sb-profile:profile, but I think that that's the struct itself. (declare (dynamic-extent ...)) might even be able to get rid of that. (room) doesn't show up any double-floats so it's probably good enough in SBCL. I'm not sure how I could profile other implementations to check. 2017-12-05T02:43:29Z tonton quit (Ping timeout: 255 seconds) 2017-12-05T02:43:46Z aeth: oooh, can't stack allocate it. 2017-12-05T02:46:10Z lieven quit (Ping timeout: 260 seconds) 2017-12-05T02:47:40Z fikka joined #lisp 2017-12-05T02:50:28Z sz0 joined #lisp 2017-12-05T02:50:45Z Bike joined #lisp 2017-12-05T02:52:14Z fikka quit (Ping timeout: 255 seconds) 2017-12-05T02:57:06Z kmb quit (Quit: kmb) 2017-12-05T02:57:47Z fikka joined #lisp 2017-12-05T02:58:00Z lieven joined #lisp 2017-12-05T02:59:02Z dieggsy quit (Quit: ERC (IRC client for Emacs 27.0.50)) 2017-12-05T03:00:44Z tonton joined #lisp 2017-12-05T03:01:49Z damke joined #lisp 2017-12-05T03:02:30Z fikka quit (Ping timeout: 260 seconds) 2017-12-05T03:04:15Z damke_ quit (Read error: Connection reset by peer) 2017-12-05T03:07:38Z fikka joined #lisp 2017-12-05T03:08:50Z mson quit (Quit: Connection closed for inactivity) 2017-12-05T03:11:27Z asarch quit (Quit: Leaving) 2017-12-05T03:12:43Z dddddd quit (Remote host closed the connection) 2017-12-05T03:15:59Z fikka quit (Ping timeout: 276 seconds) 2017-12-05T03:16:21Z phadthai quit (Ping timeout: 268 seconds) 2017-12-05T03:31:25Z fikka joined #lisp 2017-12-05T03:31:43Z hooman joined #lisp 2017-12-05T03:34:08Z hooman quit (Remote host closed the connection) 2017-12-05T03:34:08Z whoman quit (Remote host closed the connection) 2017-12-05T03:34:31Z drmeister: I'm using ASDF to build a monolithic fasl file for several systems that have dependencies between them. 2017-12-05T03:34:43Z drmeister: I wrote this file: build-cando.lisp 2017-12-05T03:34:46Z drmeister: https://www.irccloud.com/pastebin/lGOiheeE/ 2017-12-05T03:35:20Z drmeister: It uses (asdf:load-asd ...) for every dot-asd file that is part of the final monolithic bundle 2017-12-05T03:35:25Z whoman joined #lisp 2017-12-05T03:35:27Z drmeister: The system looks like this 2017-12-05T03:35:27Z whoman quit (Remote host closed the connection) 2017-12-05T03:35:53Z fikka quit (Ping timeout: 255 seconds) 2017-12-05T03:36:12Z drmeister: https://www.irccloud.com/pastebin/nk4pEhUq/ 2017-12-05T03:36:24Z drmeister: That's the build-cando.asd file. 2017-12-05T03:36:46Z drmeister: To build this I load the first file and then use (asdf:make :build-cando) 2017-12-05T03:37:06Z drmeister: If anyone has recommendations on better ways to do this - I'd love to hear them. 2017-12-05T03:46:58Z myrkraverk_ joined #lisp 2017-12-05T03:48:47Z myrkraverk quit (Ping timeout: 248 seconds) 2017-12-05T03:48:53Z myrkraverk_ is now known as myrkraverk 2017-12-05T03:49:23Z pfdietz_ quit 2017-12-05T03:52:02Z fikka joined #lisp 2017-12-05T03:56:38Z fikka quit (Ping timeout: 260 seconds) 2017-12-05T04:00:11Z dieggsy joined #lisp 2017-12-05T04:02:30Z fikka joined #lisp 2017-12-05T04:06:54Z dieggsy quit (Quit: ERC (IRC client for Emacs 27.0.50)) 2017-12-05T04:07:32Z fikka quit (Ping timeout: 268 seconds) 2017-12-05T04:08:59Z dieggsy joined #lisp 2017-12-05T04:09:22Z dieggsy quit (Remote host closed the connection) 2017-12-05T04:20:00Z mson joined #lisp 2017-12-05T04:21:09Z EvW joined #lisp 2017-12-05T04:22:14Z python476 quit (Ping timeout: 255 seconds) 2017-12-05T04:22:28Z fikka joined #lisp 2017-12-05T04:27:04Z dieggsy joined #lisp 2017-12-05T04:27:29Z fikka quit (Ping timeout: 276 seconds) 2017-12-05T04:32:57Z fikka joined #lisp 2017-12-05T04:36:12Z ryanbw joined #lisp 2017-12-05T04:37:23Z terpri quit (Remote host closed the connection) 2017-12-05T04:37:42Z fikka quit (Ping timeout: 260 seconds) 2017-12-05T04:39:15Z pierpa quit (Quit: Page closed) 2017-12-05T04:40:20Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-05T04:42:17Z whoman joined #lisp 2017-12-05T04:42:39Z whoman quit (Remote host closed the connection) 2017-12-05T04:43:02Z fikka joined #lisp 2017-12-05T04:43:28Z whoman joined #lisp 2017-12-05T04:47:39Z fikka quit (Ping timeout: 258 seconds) 2017-12-05T04:48:56Z Bike quit (Quit: Lost terminal) 2017-12-05T04:49:35Z eSVG quit (Ping timeout: 276 seconds) 2017-12-05T04:53:32Z fikka joined #lisp 2017-12-05T04:54:39Z SuperJen joined #lisp 2017-12-05T04:57:11Z SuperJen quit (Remote host closed the connection) 2017-12-05T04:57:37Z SuperJen joined #lisp 2017-12-05T04:58:14Z Guest70025 quit (Ping timeout: 255 seconds) 2017-12-05T04:58:14Z fikka quit (Ping timeout: 260 seconds) 2017-12-05T05:03:45Z fikka joined #lisp 2017-12-05T05:08:14Z Zhivago quit (Quit: Leaving) 2017-12-05T05:08:25Z d4ryus1 is now known as d4ryus 2017-12-05T05:08:29Z eSVG joined #lisp 2017-12-05T05:08:35Z fikka quit (Ping timeout: 255 seconds) 2017-12-05T05:10:12Z mfiano: How do I correctly specify the test/key of PUSHNEW for pushing conses of 2 symbols? 2017-12-05T05:13:54Z fikka joined #lisp 2017-12-05T05:15:35Z EvW quit (Ping timeout: 276 seconds) 2017-12-05T05:16:06Z rm8 quit (Quit: i slep) 2017-12-05T05:18:25Z fikka quit (Ping timeout: 248 seconds) 2017-12-05T05:18:38Z phadthai joined #lisp 2017-12-05T05:19:59Z quazimodo joined #lisp 2017-12-05T05:22:44Z red-dot joined #lisp 2017-12-05T05:33:09Z pjb: mfiano: (pushnew k l :test (function equal)) (equal '(a . b) '(a . b)) #| --> t |# 2017-12-05T05:33:51Z quazimodo quit (Ping timeout: 248 seconds) 2017-12-05T05:33:53Z fikka joined #lisp 2017-12-05T05:38:39Z fikka quit (Ping timeout: 248 seconds) 2017-12-05T05:38:45Z sjl joined #lisp 2017-12-05T05:41:58Z drmeister: https://www.irccloud.com/pastebin/bx93PDE4/ 2017-12-05T05:42:37Z drmeister: If the package :energy does not exist (find-package :energy) -> NIL then the system should signal a package-error - correct? 2017-12-05T05:43:29Z sjl quit (Ping timeout: 248 seconds) 2017-12-05T05:43:35Z drmeister: ECL and Clasp give the unhelpful error: There exists no package with name NIL 2017-12-05T05:49:37Z drmeister: SBCL gives a more helpful error - I will copy it. 2017-12-05T05:54:34Z fikka joined #lisp 2017-12-05T05:56:34Z fiddlerwoaroof quit (Ping timeout: 260 seconds) 2017-12-05T05:59:47Z fikka quit (Ping timeout: 276 seconds) 2017-12-05T06:01:27Z damke_ joined #lisp 2017-12-05T06:03:01Z damke quit (Ping timeout: 240 seconds) 2017-12-05T06:05:01Z fikka joined #lisp 2017-12-05T06:08:26Z BitPuffin|osx joined #lisp 2017-12-05T06:09:02Z pjb: drmeister: yes, a package-error. 2017-12-05T06:09:25Z pjb: drmeister: defpackage forms cannot include circular dependencies. For this you have to use run-time package functions. 2017-12-05T06:10:06Z fikka quit (Ping timeout: 260 seconds) 2017-12-05T06:15:03Z fikka joined #lisp 2017-12-05T06:19:21Z fikka quit (Ping timeout: 240 seconds) 2017-12-05T06:21:55Z drmeister: Thank you. 2017-12-05T06:23:13Z drmeister: Monolithic ASDF builds for the win - I can package up all of the cando Common Lisp source code along with cl-jupyter, cl-jupyter-widgets and nglview (for viewing molecules) into a single fasl file. 2017-12-05T06:24:31Z drmeister: It loads much faster than loading quicklisp systems at startup. 2017-12-05T06:24:57Z beach` joined #lisp 2017-12-05T06:28:56Z beach quit (Ping timeout: 252 seconds) 2017-12-05T06:29:45Z mson quit (Quit: Connection closed for inactivity) 2017-12-05T06:30:26Z hyero quit (Remote host closed the connection) 2017-12-05T06:30:43Z quazimodo joined #lisp 2017-12-05T06:31:57Z mishoo_ joined #lisp 2017-12-05T06:32:11Z shka joined #lisp 2017-12-05T06:32:59Z vlatkoB joined #lisp 2017-12-05T06:33:54Z SaganMan joined #lisp 2017-12-05T06:34:34Z madrik joined #lisp 2017-12-05T06:35:07Z fikka joined #lisp 2017-12-05T06:38:44Z lieven quit (Changing host) 2017-12-05T06:38:44Z lieven joined #lisp 2017-12-05T06:38:44Z Guest24518 joined #lisp 2017-12-05T06:39:51Z fikka quit (Ping timeout: 268 seconds) 2017-12-05T06:44:44Z beach` is now known as beach 2017-12-05T06:45:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-05T06:45:50Z fikka joined #lisp 2017-12-05T06:46:15Z fikka quit (Read error: Connection reset by peer) 2017-12-05T06:47:34Z murii joined #lisp 2017-12-05T06:49:50Z dieggsy quit (Ping timeout: 255 seconds) 2017-12-05T06:49:51Z beach: Good morning everyone! 2017-12-05T06:52:34Z loke: Beach! 2017-12-05T06:55:10Z damke_ joined #lisp 2017-12-05T06:55:13Z Guest24518 quit (Ping timeout: 255 seconds) 2017-12-05T06:56:00Z jack_rabbit_ is now known as jack_rabbit 2017-12-05T06:56:23Z oleo quit (Quit: Leaving) 2017-12-05T06:58:08Z Cymew joined #lisp 2017-12-05T06:58:46Z jack_rabbit: 'morning. 2017-12-05T06:59:34Z orivej joined #lisp 2017-12-05T07:01:24Z flamebeard joined #lisp 2017-12-05T07:01:24Z Karl_Dscc joined #lisp 2017-12-05T07:02:50Z raphaelss quit (Remote host closed the connection) 2017-12-05T07:02:59Z LocaMocha joined #lisp 2017-12-05T07:04:35Z chens joined #lisp 2017-12-05T07:05:55Z fikka joined #lisp 2017-12-05T07:06:49Z Zhivago joined #lisp 2017-12-05T07:10:41Z dec0n joined #lisp 2017-12-05T07:10:47Z fikka quit (Ping timeout: 255 seconds) 2017-12-05T07:12:19Z shka: beach: good morning! 2017-12-05T07:14:19Z Karl_Dscc quit (Remote host closed the connection) 2017-12-05T07:16:21Z fikka joined #lisp 2017-12-05T07:19:23Z jack_rabbit_ joined #lisp 2017-12-05T07:21:10Z fikka quit (Ping timeout: 268 seconds) 2017-12-05T07:21:58Z jack_rabbit quit (Ping timeout: 260 seconds) 2017-12-05T07:23:48Z jasom quit (Ping timeout: 240 seconds) 2017-12-05T07:24:15Z jack_rabbit_ quit (Ping timeout: 268 seconds) 2017-12-05T07:25:35Z jack_rabbit_ joined #lisp 2017-12-05T07:25:50Z jack_rabbit_ is now known as jack_rabbit 2017-12-05T07:26:19Z borodust: phoe larsen: that's unfortunate, but no :) i forged the API before Shinmera's :flow was introduced: naming is so hard, i don't feel like redoing all the name-fiddling again :/. More details in the issue comment. 2017-12-05T07:30:19Z borodust: phoe larsen: thank you nevertheless! :) 2017-12-05T07:32:49Z aindilis quit (Ping timeout: 248 seconds) 2017-12-05T07:36:58Z neoncontrails quit (Remote host closed the connection) 2017-12-05T07:38:24Z phoe: borodust: got it, thanks! 2017-12-05T07:42:17Z borodust: obviously, i'm the only one to blame for not pushing :cl-flow to quicklisp, but at the time i didn't feel like it was complete enough 2017-12-05T07:47:25Z osune joined #lisp 2017-12-05T07:48:22Z Shinmera: Search-replace flow: => cl-flow: and remove the nickname. 2017-12-05T07:48:32Z JenElizabeth joined #lisp 2017-12-05T07:51:31Z zmt00 quit (Quit: Leaving) 2017-12-05T07:51:35Z SuperJen quit (Ping timeout: 276 seconds) 2017-12-05T07:59:00Z borodust: Shinmera: nope, this nicknames is introduced exactly for the reason to have sound full symbol names 2017-12-05T07:59:07Z borodust: s/nicknames/nickname/ 2017-12-05T07:59:35Z borodust: flow:concurrently, flow:atomically and so on 2017-12-05T08:00:25Z Shinmera: I don't see the difference to just cl-flow:concurrently 2017-12-05T08:00:39Z emaczen quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-12-05T08:01:31Z scymtym quit (Ping timeout: 260 seconds) 2017-12-05T08:02:09Z chens quit (Ping timeout: 248 seconds) 2017-12-05T08:02:25Z borodust: ok 2017-12-05T08:04:37Z DeadTrickster__ joined #lisp 2017-12-05T08:07:41Z DeadTrickster_ quit (Ping timeout: 255 seconds) 2017-12-05T08:07:53Z EvW1 joined #lisp 2017-12-05T08:08:16Z larsen: borodust: ok, thanks for the update 2017-12-05T08:10:27Z larsen: yesterday night I was commenting on the general idea of nicknames defined by package authors. it seems to me a bad idea in general: wouldn't they serve the same purpose if it was the user assigning them when a package is used ? 2017-12-05T08:11:16Z Amplituhedron joined #lisp 2017-12-05T08:11:38Z borodust: larsen: to be fair, this nicknames is really should have been just a package name 2017-12-05T08:12:19Z borodust: that's not really a nickname, this is how it supposed to be addressed 2017-12-05T08:12:32Z borodust: otherwise, i agree about nickname thing 2017-12-05T08:12:58Z EvW1 quit (Ping timeout: 268 seconds) 2017-12-05T08:13:30Z larsen: ok, I guess I need to learn how to use rename-package then :) 2017-12-05T08:14:14Z quazimodo quit (Ping timeout: 260 seconds) 2017-12-05T08:14:58Z mc40 joined #lisp 2017-12-05T08:15:15Z mc40 quit (Client Quit) 2017-12-05T08:19:50Z shka quit (Ping timeout: 255 seconds) 2017-12-05T08:20:21Z scymtym joined #lisp 2017-12-05T08:20:33Z borodust: larsen: my apologies for the inconvenience 2017-12-05T08:20:39Z borodust: i'm pretty sure :gamekit package would be taken too ;p 2017-12-05T08:21:37Z larsen: no problem 2017-12-05T08:24:24Z larsen: I'm more concerned about one bit in the comment to the issue: " those two systems (this and Shinmera's flow) would never be able to coexist". Besides naming, do you see any other technical problem preventing them to work together ? 2017-12-05T08:24:48Z borodust: nope 2017-12-05T08:24:53Z larsen: ok 2017-12-05T08:25:24Z borodust: i meant that i'm not going to rename package and neither Shinmera, i'm pretty sure ;p 2017-12-05T08:28:59Z borodust: larsen: oh! Fare has a thing exactly for such cases: https://github.com/fare/package-renaming 2017-12-05T08:29:38Z larsen: I'll look into that, thanks 2017-12-05T08:30:10Z borodust: now that's a good reason to have whatever convenient nickname and jibberish main package name (java-style or whatever) 2017-12-05T08:34:02Z Ober: Shinmera: hey, you have mwe-log-commands installed? 2017-12-05T08:34:04Z aindilis joined #lisp 2017-12-05T08:36:53Z binghe joined #lisp 2017-12-05T08:40:22Z NaNDude quit (Ping timeout: 260 seconds) 2017-12-05T08:41:13Z mondec` quit (Read error: Connection reset by peer) 2017-12-05T08:43:05Z mondec` joined #lisp 2017-12-05T08:43:25Z varjag joined #lisp 2017-12-05T08:47:00Z fikka joined #lisp 2017-12-05T08:47:22Z Shinmera: Ober: I have no idea what that is 2017-12-05T08:47:38Z dddddd joined #lisp 2017-12-05T08:47:48Z Shinmera: borodust: It's already released on QL and people might be using it, so I can't without breaking people's code. 2017-12-05T08:48:04Z borodust: Shinmera: yup, exactly 2017-12-05T08:50:23Z Shinmera: Before I release anything I always check QL for systems with the same name to avoid problems like this 2017-12-05T08:51:06Z bkst quit (Ping timeout: 260 seconds) 2017-12-05T08:51:39Z borodust: that's what i did :) 2017-12-05T08:52:19Z borodust: but wasn't fast enough 2017-12-05T08:52:39Z Shinmera: I also prepare for the day when package-local-nicknames will be available on all implementations that matter by internally using FQDNs. I could then remove the shorter name for all of my systems in a big, breaking change. Alas I don't see the p-l-n future coming any time soon. 2017-12-05T08:54:54Z borodust: but that's no probs, that would always be the problem with custom dists 2017-12-05T08:55:44Z borodust: i'll investigate Fare's package-renaming and maybe add something convenient for bodge dist users 2017-12-05T08:57:07Z Shinmera: In other news apparently Harmony's WASAPI backend is pretty badly broken... but only on some Windows setups. SIGH. 2017-12-05T08:57:36Z Shinmera: So much for never having to touch that crap again 2017-12-05T09:07:43Z Amplituhedron quit (Ping timeout: 248 seconds) 2017-12-05T09:09:32Z fikka quit (Ping timeout: 240 seconds) 2017-12-05T09:11:31Z fikka joined #lisp 2017-12-05T09:14:53Z sjl joined #lisp 2017-12-05T09:16:11Z fikka quit (Ping timeout: 260 seconds) 2017-12-05T09:19:27Z sjl quit (Ping timeout: 240 seconds) 2017-12-05T09:20:07Z nirved joined #lisp 2017-12-05T09:20:37Z fikka joined #lisp 2017-12-05T09:24:47Z fikka quit (Ping timeout: 248 seconds) 2017-12-05T09:26:27Z damke_ quit (Ping timeout: 246 seconds) 2017-12-05T09:26:50Z knobo1 joined #lisp 2017-12-05T09:28:55Z dddddd quit (Remote host closed the connection) 2017-12-05T09:29:35Z fikka joined #lisp 2017-12-05T09:34:05Z fikka quit (Ping timeout: 240 seconds) 2017-12-05T09:38:27Z fikka joined #lisp 2017-12-05T09:38:40Z Amplituhedron joined #lisp 2017-12-05T09:45:15Z wigust joined #lisp 2017-12-05T09:48:08Z moei quit (Read error: Connection reset by peer) 2017-12-05T09:48:40Z moei joined #lisp 2017-12-05T09:54:20Z wigust quit (Ping timeout: 255 seconds) 2017-12-05T09:54:20Z _cosmonaut_ joined #lisp 2017-12-05T09:54:47Z madrik quit (Remote host closed the connection) 2017-12-05T09:57:29Z madrik joined #lisp 2017-12-05T10:02:17Z resttime joined #lisp 2017-12-05T10:05:57Z wigust joined #lisp 2017-12-05T10:12:00Z schweers joined #lisp 2017-12-05T10:12:51Z milanj joined #lisp 2017-12-05T10:13:56Z eSVG quit (Ping timeout: 276 seconds) 2017-12-05T10:19:05Z strelox joined #lisp 2017-12-05T10:21:28Z resttime: Is there a good way of handling C opaque structures as pointers without know the size of the structure in the CFFI? 2017-12-05T10:21:35Z resttime: Or impossible 2017-12-05T10:26:16Z varjag: why, unless you need to descend the structure it can be just an untyped pointer 2017-12-05T10:26:18Z Shinmera: I don't know what you mean. You have a pointer and you want to do... what with it? 2017-12-05T10:26:52Z ssake joined #lisp 2017-12-05T10:27:25Z Shinmera: Pointers are addresses as values. They don't in themselves contain data. 2017-12-05T10:27:29Z Shinmera: Aside from the address. 2017-12-05T10:27:46Z Shinmera: The struct is going to remain in memory whether you have a pointer to its starting address or not 2017-12-05T10:28:24Z resttime: Hmm, I guess here's the use case: http://liballeg.org/a5docs/trunk/keyboard.html 2017-12-05T10:28:39Z resttime: There is no function which straight up returns a structure pointer pointer 2017-12-05T10:28:42Z p_l: I'd probably add a "type" declaration for ease of debugging later on, but that's it 2017-12-05T10:29:01Z Shinmera: resttime: Liking to docs tells me exactly nothing about what you want to do 2017-12-05T10:29:04Z Shinmera: *linking 2017-12-05T10:29:21Z resttime: (still writing) 2017-12-05T10:29:50Z resttime: So I'm forced to define the cstruct with CFFI and then allocate the structure before then passing 2017-12-05T10:30:13Z varjag: resttime: there is probably an allocator method in the c api 2017-12-05T10:30:30Z ssake: remember to free 2017-12-05T10:30:35Z varjag: otherwise it can't really be "opaque" 2017-12-05T10:31:03Z resttime: varjag: There isn't, Use cases seem to be defining the keystate like: ALLEGRO_KEYBOARD_STATE keyState; 2017-12-05T10:31:05Z p_l: varjag: looks like there's no allocator, but you're expected to do malloc(sizeof struct_type) 2017-12-05T10:31:34Z varjag: ok, then it's all the way down the rabbit hole 2017-12-05T10:31:36Z Shinmera: What you do in this case is write a C program that emits the sizeof and then just allocate that. 2017-12-05T10:32:21Z Shinmera: Remember to run that program and record the size for all systems you want to run on. It might change! 2017-12-05T10:32:31Z Shinmera: Or don't and just pray it stays constant. 2017-12-05T10:32:32Z Zhivago: Or, perhaps better, write a C function to allocate it for you. 2017-12-05T10:32:47Z Zhivago: Remember that there is also alignment to consider. 2017-12-05T10:32:54Z Shinmera: Zhivago: Then you'd have to compile that C program on every system and you'd be back to the same deal. 2017-12-05T10:33:14Z p_l: SWIG can help automate some of that, iirc 2017-12-05T10:33:15Z Zhivago: Sure -- there's no way around that. 2017-12-05T10:33:24Z resttime: I was hoping to be able avoid external C stuff, but I guess it's "impossible" after all. 2017-12-05T10:33:25Z p_l: including writing helper libs 2017-12-05T10:33:32Z resttime: I'll just pray that the structure remains constant 2017-12-05T10:33:35Z Zhivago: The size of C structs is up to the C implementations. 2017-12-05T10:33:45Z varjag: it's possible, just a lot of typing 2017-12-05T10:33:50Z p_l: resttime: it seems to be that allegro went out of its way to be a PITA in this 2017-12-05T10:33:52Z varjag: i did just that with pjsip wrapper 2017-12-05T10:35:10Z resttime: p_l: Well they do have a new event system which mostly gets used. Someone using the bindings I wrote for allegro was wondering if there could be more support for the keyboard routines, so I started looking into this 2017-12-05T10:35:30Z resttime: Keyboard routines outside of the event system that is 2017-12-05T10:35:55Z Shinmera: Another thing you can do is grovel the headers 2017-12-05T10:37:15Z Shinmera: That would at least automate the "figuring out the sizeof" part. 2017-12-05T10:38:40Z JuanDaugherty joined #lisp 2017-12-05T10:38:58Z resttime: Shinmera: Well at this point I'm thinking that the structure probably won't be changing so I'll define the opaque type and write a WITH-KEYBOARD-STATE macro that could work 2017-12-05T10:39:28Z resttime: Or make a defctype that'll interally do the stuff with translate -to-foreign 2017-12-05T10:40:02Z resttime: And change a function or two that'll become an allocater 2017-12-05T10:42:09Z dmiles quit (Ping timeout: 248 seconds) 2017-12-05T10:42:15Z Zhivago: resttime: If the structure is opaque, you should not be allocating yourself in the first place. There is somewhere that it will have a complete type, and that's where the allocator needs to be. 2017-12-05T10:43:26Z resttime: Zhivago: I'm looking at how it's used and I don't think I have a choice :/ 2017-12-05T10:43:29Z resttime: http://www.gamefromscratch.com/post/2017/11/10/Allegro-Tutorial-Series-Part-4-Keyboard-and-Mouse.aspx 2017-12-05T10:46:15Z Zhivago: ALLEGRO_KEYBOARD_STATE has a complete type. 2017-12-05T10:46:59Z Zhivago: ALLEGRO_KEYBOARD seems to have an incomplete type -- which one do you need? 2017-12-05T10:47:26Z resttime: The state and hmmm, what's your definition of complete type and opaque 2017-12-05T10:47:38Z dmiles joined #lisp 2017-12-05T10:47:59Z Zhivago: opaque is gibberish made up by people to express an intent realized via a pointer to an incomplete type. 2017-12-05T10:48:29Z Zhivago: struct foo; <- this type is incomplete here. struct foo { int i; }; <- Now struct foo is a complete type, and has a sizeof, etc. 2017-12-05T10:49:45Z jameser joined #lisp 2017-12-05T10:49:54Z borodust: resttime: you possibly could benefit from cl-autowrap 2017-12-05T10:50:47Z fikka quit (Ping timeout: 250 seconds) 2017-12-05T10:50:56Z borodust: it can make opaque structs (bit blobs) 2017-12-05T10:51:27Z borodust: more like define than make, but anyway 2017-12-05T10:52:56Z margeas joined #lisp 2017-12-05T10:52:57Z fikka joined #lisp 2017-12-05T10:54:01Z borodust: resttime: shameful self-plug: if all you need is simple graphics, audio and input for your game w/o diving into native and/or configuration land, trivial-gamekit might work for you 2017-12-05T10:54:30Z Shinmera: The context is his existing library for Allegro 2017-12-05T10:54:40Z Shinmera: Plugging another system doesn't help. 2017-12-05T10:54:46Z borodust: oh 2017-12-05T10:55:00Z borodust: i see, my bad 2017-12-05T10:55:10Z resttime: borodust: Counter plug, if you need a monolith game programming library you can use my cl-liballegro :D 2017-12-05T10:55:19Z borodust: ;p 2017-12-05T10:55:43Z borodust: will it make distributable binaries for me? ;) 2017-12-05T10:56:41Z resttime checks out trivial-gamekit to stea- research features 2017-12-05T10:57:06Z Amplituhedron quit (Read error: Connection reset by peer) 2017-12-05T10:57:19Z Amplituhedron joined #lisp 2017-12-05T10:57:20Z fikka quit (Ping timeout: 255 seconds) 2017-12-05T10:57:31Z p_l: resttime: CFFI-grovel might help in getting manageable code for allegro 2017-12-05T10:59:32Z resttime: Well, at this point "everything" is written so it's probably alright 2017-12-05T11:00:03Z resttime: (didn't know much about many things when I first wrote bindings) 2017-12-05T11:00:19Z resttime: I'm curious though, is that CFFI-grovel requires the header files right? 2017-12-05T11:00:44Z resttime: So if one was to distrubutethey would also need to include them? 2017-12-05T11:01:54Z fikka joined #lisp 2017-12-05T11:04:48Z m00natic joined #lisp 2017-12-05T11:06:09Z fikka quit (Ping timeout: 248 seconds) 2017-12-05T11:06:15Z resttime: Hmmm yeah that seems to be the case 2017-12-05T11:07:57Z damke_ joined #lisp 2017-12-05T11:08:23Z orivej quit (Ping timeout: 255 seconds) 2017-12-05T11:10:58Z fikka joined #lisp 2017-12-05T11:12:18Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-05T11:12:30Z orivej joined #lisp 2017-12-05T11:12:40Z borodust: resttime: not only that, but you would require users to install whole gnu thing onto their machines for groveller to work :/ 2017-12-05T11:13:26Z resttime: borodust: Also cl-bodge looks interesting, game engines and stuff are currently above me since my knowledge is meagre :P 2017-12-05T11:14:26Z hhdave joined #lisp 2017-12-05T11:15:20Z fikka quit (Ping timeout: 255 seconds) 2017-12-05T11:15:20Z resttime: Maybe one day I'll have my own to add onto the pile of game enginers laying around 2017-12-05T11:16:48Z borodust: resttime: same boat ;p 2017-12-05T11:18:01Z resttime: borodust: In your exp do think making a game is orthogonal to making a game engine? 2017-12-05T11:18:12Z borodust: cl-bodge is a pile of functionality at the moment with vast api i literally don't have time to cover with docs - part of the reason trivial-gamekit exists 2017-12-05T11:18:26Z borodust: resttime: yes, totally 2017-12-05T11:18:33Z resttime: I'm a bit hesitant to go all into working in game engine because of that 2017-12-05T11:19:06Z borodust: if you want make game, you should start making a game, not tool 2017-12-05T11:19:35Z borodust: unless there's not tools, but then you would just write specific tool, not an engine 2017-12-05T11:19:42Z borodust: *there's no 2017-12-05T11:20:00Z fikka joined #lisp 2017-12-05T11:24:47Z fikka quit (Ping timeout: 276 seconds) 2017-12-05T11:27:56Z _cosmonaut_ quit (Ping timeout: 255 seconds) 2017-12-05T11:29:02Z fikka joined #lisp 2017-12-05T11:34:53Z jameser joined #lisp 2017-12-05T11:35:36Z orivej quit (Ping timeout: 260 seconds) 2017-12-05T11:44:35Z wxie joined #lisp 2017-12-05T11:46:22Z jmercouris joined #lisp 2017-12-05T11:47:58Z paule32: hello 2017-12-05T11:48:09Z paule32: have problem with hash table 2017-12-05T11:48:11Z paule32: https://pastebin.com/efwufLyu 2017-12-05T11:48:40Z paule32: the error from clisp is under the code 2017-12-05T11:49:26Z Tobbi joined #lisp 2017-12-05T11:50:53Z Tobbi quit (Remote host closed the connection) 2017-12-05T11:51:20Z jmercouris quit (Ping timeout: 255 seconds) 2017-12-05T11:51:48Z Tobbi joined #lisp 2017-12-05T11:52:45Z resttime: paule32: I think it's the way you're using LOOP 2017-12-05T11:53:08Z dec0n quit (Read error: Connection reset by peer) 2017-12-05T11:53:08Z resttime: There's a different way if you want to iterate a hashtable 2017-12-05T11:53:10Z Shinmera: resttime: If you're interested in gamedev and game engine dev: I have a weekly stream on Sundays where I do exactly that. https://events.tymoon.eu/1 https://www.youtube.com/playlist?list=PLkDl6Irujx9MtJPRRP5KBH40SGCenztPW 2017-12-05T11:54:14Z dec0n joined #lisp 2017-12-05T11:56:47Z borodust: resttime: i also can recommend Bagger's vids: https://www.twitch.tv/baggers___ https://www.youtube.com/channel/UCMV8p6Lb-bd6UZtTc_QD4zA 2017-12-05T11:56:52Z quazimodo joined #lisp 2017-12-05T11:57:04Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-05T11:57:25Z borodust: Pushing Pixels with Lisp series: https://www.youtube.com/watch?v=82o5NeyZtvw&list=PL2VAYZE_4wRITJBv6saaKouj4sWSG1FcS 2017-12-05T11:57:40Z Shinmera: Baggers' stuff is more about OpenGL and CEPL than necessarily gamedev, though. 2017-12-05T11:58:05Z Shinmera: Except for the one time he did make a game 2017-12-05T11:58:09Z Shinmera: (I wish he'd do it again) 2017-12-05T11:58:20Z mondec`` joined #lisp 2017-12-05T11:58:52Z mondec` quit (Ping timeout: 240 seconds) 2017-12-05T11:59:37Z milanj quit (Quit: This computer has gone to sleep) 2017-12-05T11:59:50Z borodust: resttime: also i can recommend #lispgames channel for sharing and acquiring lispgamedev experiences (not always on topic) 2017-12-05T12:02:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-05T12:03:05Z wxie: paule32: What do you want to do with the code 2017-12-05T12:03:09Z wxie: paule32: 2017-12-05T12:03:15Z wxie: paule32:     (loop for wrd in *word-table* 2017-12-05T12:03:15Z wxie:         do (*word-table* :test #'equal)) 2017-12-05T12:03:43Z beach: wxie: You may be wasting your time. paule32 has come here for quite some time, and he doesn't follow the advice he is given. 2017-12-05T12:04:11Z BitPuffin|osx quit (Ping timeout: 260 seconds) 2017-12-05T12:04:12Z paule32: Shinmera: cool streams 2017-12-05T12:04:16Z madrik quit (Ping timeout: 258 seconds) 2017-12-05T12:04:17Z beach: wxie: He continues to submit code that does not follow accepted conventions, and he refuses to go read a book about Common Lisp. 2017-12-05T12:04:38Z paule32: wxie: iterate through *word-list* 2017-12-05T12:04:52Z wxie: beach: Thanks. 2017-12-05T12:05:21Z murii quit (Ping timeout: 248 seconds) 2017-12-05T12:07:27Z hhdave quit (Read error: Connection reset by peer) 2017-12-05T12:07:59Z fikka quit (Ping timeout: 255 seconds) 2017-12-05T12:08:34Z fikka joined #lisp 2017-12-05T12:21:01Z Xof quit (Ping timeout: 240 seconds) 2017-12-05T12:23:32Z Bike joined #lisp 2017-12-05T12:27:11Z paule32: https://pastebin.com/HNRg53Nu 2017-12-05T12:27:18Z paule32: if you prefer ^ 2017-12-05T12:27:33Z paule32: i have reformat with emacs 2017-12-05T12:27:43Z milanj joined #lisp 2017-12-05T12:31:02Z bkst joined #lisp 2017-12-05T12:38:51Z wxie: paule32: *user-table* 2017-12-05T12:38:51Z wxie: #S(HASH-TABLE :TEST FASTHASH-EQL ((0 NIL) . ((1 . "paule32") (2 . "leero")))) 2017-12-05T12:39:13Z wxie: paule32: It seems not what you want, right? 2017-12-05T12:39:27Z quazimodo quit (Ping timeout: 240 seconds) 2017-12-05T12:39:51Z paule32: yes 2017-12-05T12:40:29Z paule32: at first, i would like see, if the input text/word is present 2017-12-05T12:40:37Z paule32: in *word-list* 2017-12-05T12:44:07Z wxie: paule32: *word-table* 2017-12-05T12:44:07Z wxie: #S(HASH-TABLE :TEST FASTHASH-EQL (2 . ("guten" "good")) (1 . ("hallo" "hello"))) 2017-12-05T12:44:29Z paule32: yes, sorry, *word-table* 2017-12-05T12:44:49Z wxie: paule32: This will cause problem. 2017-12-05T12:47:30Z paule32: yes 2017-12-05T12:49:26Z wxie: paule32: What is your wrd? 2017-12-05T12:49:57Z mondec`` quit (Ping timeout: 240 seconds) 2017-12-05T12:50:16Z paule32: wxie: line 75 => 1 for cw00001 2017-12-05T12:50:58Z paule32: cw00001 => line 58 => '("hallo" "hello") 2017-12-05T12:51:15Z mondec`` joined #lisp 2017-12-05T12:52:45Z Xach: borodust: anything I can try today? 2017-12-05T12:53:45Z borodust: hi Xach, i'm scheduling a debug session on friend's machine, if we would be able to reproduce the issue 2017-12-05T12:53:49Z malcom2073 quit (Remote host closed the connection) 2017-12-05T12:54:06Z borodust: Xach: meaning, not yet, no :) 2017-12-05T12:54:14Z Xach: Ok, thanks for looking into it. 2017-12-05T12:56:02Z EvW joined #lisp 2017-12-05T12:56:31Z borodust: Xach: thanks for your patience 2017-12-05T12:58:22Z JenElizabeth quit (Remote host closed the connection) 2017-12-05T12:58:47Z JenElizabeth joined #lisp 2017-12-05T13:04:02Z _cosmonaut_ joined #lisp 2017-12-05T13:08:33Z paule32: wxie: have i missing something? 2017-12-05T13:09:11Z fikka quit (Ping timeout: 255 seconds) 2017-12-05T13:09:48Z SaganMan: wxie: german? 2017-12-05T13:12:43Z fikka joined #lisp 2017-12-05T13:15:31Z paule32: it seems, there is a ( missing 2017-12-05T13:15:58Z wxie: paule32: ENDP: A proper list must not end with #1=#S(HASH-TABLE 2017-12-05T13:15:58Z wxie: :TEST FASTHASH-EQL (2 . ("guten" "good")) 2017-12-05T13:15:58Z wxie: (1 . ("hallo" "hello"))) 2017-12-05T13:16:32Z paule32: (2 . ("guten" "good")) (1 . ("hallo" "hello")) ) <--- this one 2017-12-05T13:16:38Z _cosmonaut_ quit (Ping timeout: 260 seconds) 2017-12-05T13:17:19Z fikka quit (Ping timeout: 248 seconds) 2017-12-05T13:17:26Z wxie: paule32: That one is for #S(. 2017-12-05T13:18:09Z paule32: yes, the last ) missing first ( 2017-12-05T13:19:47Z Guest24518 joined #lisp 2017-12-05T13:19:53Z jameser joined #lisp 2017-12-05T13:20:05Z wxie: paule32: So you can fix it. 2017-12-05T13:20:28Z paule32: wut? 2017-12-05T13:20:36Z paule32: the clisp sources? 2017-12-05T13:20:50Z wxie: Yes, the error. 2017-12-05T13:21:41Z paule32: not that i can't programming in C, but this is high math 2017-12-05T13:21:43Z fikka joined #lisp 2017-12-05T13:23:53Z paule32: or is it enough, to programming a if condition with the display/output code in Lisp? 2017-12-05T13:24:56Z jdz: wxie: it seems your enthusiasm is dwindling. 2017-12-05T13:26:05Z fikka quit (Ping timeout: 255 seconds) 2017-12-05T13:26:45Z fikka joined #lisp 2017-12-05T13:27:17Z k-stz joined #lisp 2017-12-05T13:28:44Z eSVG joined #lisp 2017-12-05T13:30:17Z wxie: paule32: I don't know what you want to test in the loop. Could you explain? 2017-12-05T13:31:33Z paule32: firstly, i would like print the *word-table* items of a given item/counter = wrd 2017-12-05T13:32:17Z fikka quit (Ping timeout: 248 seconds) 2017-12-05T13:33:04Z _cosmonaut_ joined #lisp 2017-12-05T13:34:51Z TCZ joined #lisp 2017-12-05T13:39:04Z TCZ quit (Client Quit) 2017-12-05T13:41:57Z _cosmonaut_ quit (Ping timeout: 240 seconds) 2017-12-05T13:45:01Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-05T13:47:29Z paule32: i have to go to meeting, back in some hours 2017-12-05T13:47:41Z paule32: may be someone has an idea 2017-12-05T13:47:43Z paule32: bbl 2017-12-05T13:49:18Z orivej joined #lisp 2017-12-05T13:50:21Z Vivvy joined #lisp 2017-12-05T13:58:20Z wxie: paule32: You need do something like loop for v being the hash-value of h do 2017-12-05T13:58:45Z wxie: paule32: You cannot use hash-table as list 2017-12-05T13:59:01Z _cosmonaut_ joined #lisp 2017-12-05T14:00:53Z wxie quit (Quit: Bye.) 2017-12-05T14:07:05Z Amplituhedron quit (Ping timeout: 240 seconds) 2017-12-05T14:09:14Z EvW quit (Ping timeout: 276 seconds) 2017-12-05T14:10:04Z Bike_ joined #lisp 2017-12-05T14:10:17Z Bike_ is now known as Bicyclidine 2017-12-05T14:11:28Z fikka joined #lisp 2017-12-05T14:15:35Z mathrick quit (Ping timeout: 240 seconds) 2017-12-05T14:16:39Z jackdaniel: alexandria has function which converts ht to plist afair 2017-12-05T14:16:54Z jackdaniel: also, for k/v, one could use maphash 2017-12-05T14:19:20Z EvW joined #lisp 2017-12-05T14:27:47Z cromachina quit (Read error: Connection reset by peer) 2017-12-05T14:29:37Z damke joined #lisp 2017-12-05T14:31:07Z rumbler31 joined #lisp 2017-12-05T14:34:47Z dieggsy joined #lisp 2017-12-05T14:34:50Z rumbler31 quit (Remote host closed the connection) 2017-12-05T14:35:11Z Vivvy quit (Ping timeout: 248 seconds) 2017-12-05T14:36:14Z dieggsy quit (Remote host closed the connection) 2017-12-05T14:36:40Z rumbler31 joined #lisp 2017-12-05T14:37:45Z Vivvy joined #lisp 2017-12-05T14:38:31Z dieggsy joined #lisp 2017-12-05T14:43:12Z raynold quit (Quit: Connection closed for inactivity) 2017-12-05T14:45:25Z dieggsy quit (Quit: ERC (IRC client for Emacs 27.0.50)) 2017-12-05T14:48:01Z rumbler31 quit (Ping timeout: 248 seconds) 2017-12-05T14:48:16Z rumbler31 joined #lisp 2017-12-05T14:54:31Z NaNDude joined #lisp 2017-12-05T14:55:19Z mson joined #lisp 2017-12-05T14:56:14Z _rumbler31 joined #lisp 2017-12-05T14:56:44Z kobain joined #lisp 2017-12-05T14:58:00Z sjl joined #lisp 2017-12-05T14:59:41Z rumbler31 quit (Ping timeout: 255 seconds) 2017-12-05T15:00:09Z epony quit (Read error: Connection reset by peer) 2017-12-05T15:00:39Z epony joined #lisp 2017-12-05T15:00:53Z sjl__ joined #lisp 2017-12-05T15:01:36Z resttime: I used lisp on CSV's to generate 'schedules' for a small C testing utility 2017-12-05T15:01:53Z damke_ joined #lisp 2017-12-05T15:02:06Z resttime: Adding 4 more definitions to that code I generated a C++ braced initializer list for an unordered map that associates hardware commands to hexstrings :3 2017-12-05T15:02:34Z sjl quit (Ping timeout: 260 seconds) 2017-12-05T15:02:34Z fikka quit (Ping timeout: 260 seconds) 2017-12-05T15:02:36Z warweasle joined #lisp 2017-12-05T15:03:36Z FreeBirdLjj joined #lisp 2017-12-05T15:03:39Z resttime: Doing the little stuff like this is nice 2017-12-05T15:03:41Z damke quit (Ping timeout: 240 seconds) 2017-12-05T15:03:49Z sz0 quit (Quit: Connection closed for inactivity) 2017-12-05T15:05:29Z oleo joined #lisp 2017-12-05T15:05:43Z papachan joined #lisp 2017-12-05T15:06:08Z dddddd joined #lisp 2017-12-05T15:08:10Z FreeBirdLjj quit (Ping timeout: 260 seconds) 2017-12-05T15:08:44Z rippa joined #lisp 2017-12-05T15:10:24Z TCZ joined #lisp 2017-12-05T15:19:06Z EvW quit (Remote host closed the connection) 2017-12-05T15:19:15Z fikka joined #lisp 2017-12-05T15:19:16Z EvW joined #lisp 2017-12-05T15:20:50Z flip214: can a macro signal the macroexpander to stop expanding this level, and continue with subforms only? 2017-12-05T15:20:56Z TCZ quit (Quit: Leaving) 2017-12-05T15:21:22Z Shinmera: What does that even mean 2017-12-05T15:21:53Z Shinmera: Macros are functions that are run at compile time to emit new forms in place of the macro expression. 2017-12-05T15:22:05Z flip214: Shinmera: yeah, right. 2017-12-05T15:22:50Z flip214: and I'd like to have (foo . args) to be expanded into (foo something . args), ie. insert a state argument into a function call. 2017-12-05T15:22:59Z nika_ joined #lisp 2017-12-05T15:23:15Z Shinmera: What part of that is a macro 2017-12-05T15:23:21Z flip214: currently I'm using a macro that puts the function on a gensym, and provides a macro that expands into such a call instead 2017-12-05T15:23:47Z flip214: but that means I can't trace the original function name anymore, I need to trace the gensym instead 2017-12-05T15:23:49Z schweers: flip214: is it possible you’re actually looking for refactoring tools? 2017-12-05T15:23:55Z flip214: schweers: no. 2017-12-05T15:24:01Z fikka quit (Ping timeout: 268 seconds) 2017-12-05T15:24:18Z flip214: on the source level I'd like this argument to be hidden. 2017-12-05T15:24:47Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-05T15:26:12Z Shinmera: (defmacro with-injected-thing (&body body) `(flet ((fn (&rest args) (apply fn something args))) ,@body)) ? 2017-12-05T15:26:27Z flip214: so, (defmacro define-state-fn (name args &body body) `(progn (defun , ,(cons state args) ...)) (defmacro ,name (args) (, state ,@ args))) is the gist of it 2017-12-05T15:27:00Z flip214: Shinmera: sadly no, different context - the function is defined on the top level. 2017-12-05T15:27:27Z Shinmera: And what prevents you from just supplying a foo* that calls foo with the argument you need? 2017-12-05T15:27:52Z flip214: what I'm asking is can I do something like (defmacro foo (args) (values `(,foo state ,@ args) :STOP-TRANSLATING-THIS-FORM))) 2017-12-05T15:28:09Z Shinmera: You can't have a function and macro bound to the same symbol, 2017-12-05T15:28:14Z Shinmera: so 2017-12-05T15:28:17Z Shinmera: no 2017-12-05T15:28:21Z flip214: Shinmera: it's still not possible to use the _visible_ symbol for tracing, seeing the documentation, etc. 2017-12-05T15:28:58Z fikka joined #lisp 2017-12-05T15:28:59Z Shinmera: but the visible symbol will be foo*, and you can trace that just fine 2017-12-05T15:29:07Z Shinmera: And you can copy the docstring over easy 2017-12-05T15:29:21Z Shinmera: Though arguably the docstring shouldn't be the same since it'll be supplying a hidden argument 2017-12-05T15:29:24Z flip214: Shinmera: still, foo* might create a conflict with another function 2017-12-05T15:30:00Z hexfive joined #lisp 2017-12-05T15:30:19Z Bicyclidine: What if the user was to write in the state argument? It would fail, if I follow correctly. 2017-12-05T15:31:07Z Bicyclidine: the macro and the function are essentially two different things. Giving them the same name is just confusing. 2017-12-05T15:31:52Z Shinmera: Yeah, you'd have different semantics for (foo ..) vs (funcall 'foo ..) 2017-12-05T15:31:55Z flip214: Bicyclidine: well, perhaps I should just put all that on a blog somewhere... having the big picture makes discussing about the feature easier 2017-12-05T15:32:13Z flip214: Shinmera: yeah, right, but that wouldn't be an issue for that usecase. 2017-12-05T15:32:27Z Shinmera: I can't see how that's ever possible. 2017-12-05T15:32:52Z Bicyclidine: if you don't want to allow funcall (or apply) then it's a macro. 2017-12-05T15:32:54Z mejja joined #lisp 2017-12-05T15:32:56Z jackdaniel: in McCLIM many macros have pairs 2017-12-05T15:33:03Z jackdaniel: invoke-with-foo which accepts the continuation 2017-12-05T15:33:14Z jackdaniel: and foo, which accepts body and creates lexical function for it 2017-12-05T15:33:36Z jackdaniel: s/for/from/ 2017-12-05T15:33:38Z fikka quit (Ping timeout: 255 seconds) 2017-12-05T15:34:04Z flip214: thanks for trying to help me, though! much appreciated! 2017-12-05T15:35:29Z FreeBirdLjj joined #lisp 2017-12-05T15:35:57Z Guest24518 quit (Ping timeout: 240 seconds) 2017-12-05T15:39:11Z sjl__ is now known as sjl 2017-12-05T15:42:11Z Devon joined #lisp 2017-12-05T15:49:00Z orivej quit (Ping timeout: 246 seconds) 2017-12-05T15:54:38Z fikka joined #lisp 2017-12-05T15:56:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-05T15:57:59Z flamebeard quit (Quit: Leaving) 2017-12-05T15:59:33Z dec0n quit (Read error: Connection reset by peer) 2017-12-05T15:59:39Z smurfrobot joined #lisp 2017-12-05T15:59:41Z Cymew quit (Remote host closed the connection) 2017-12-05T16:01:17Z Cymew joined #lisp 2017-12-05T16:01:27Z Cymew quit (Remote host closed the connection) 2017-12-05T16:02:14Z eSVG quit (Ping timeout: 255 seconds) 2017-12-05T16:02:21Z eudoxia joined #lisp 2017-12-05T16:03:22Z EvW quit (Ping timeout: 264 seconds) 2017-12-05T16:07:02Z Xof joined #lisp 2017-12-05T16:11:01Z fikka quit (Ping timeout: 240 seconds) 2017-12-05T16:11:16Z LiamH joined #lisp 2017-12-05T16:13:48Z Cymew joined #lisp 2017-12-05T16:14:38Z pjb: minion: memo for Josh_2: perhaps you want to count the ACTUAL number of operations needed to sort, and compare that for your different inputs. For sort algorithms, it's usually the number of swap that is counted. Or the number of accesses to the sequence. Or the number of comparison. Unless you have your own quicksort implementation, if you use cl:sort it will be easier to just count the number of comparisons. 2017-12-05T16:14:38Z minion: Remembered. I'll tell Josh_2 when he/she/it next speaks. 2017-12-05T16:17:00Z pjb: paule32: at this point, it might be a good idea to read a book about NLP… Perhaps Gazdar & Mellish, Natural Language Processing in LISP - An Introduction to Computational Linguistics, Addison Wesley. 2017-12-05T16:18:31Z Cymew quit (Ping timeout: 260 seconds) 2017-12-05T16:18:51Z smurfrobot quit (Remote host closed the connection) 2017-12-05T16:19:57Z Cymew joined #lisp 2017-12-05T16:21:27Z EvW1 joined #lisp 2017-12-05T16:25:04Z Cymew quit (Ping timeout: 268 seconds) 2017-12-05T16:25:45Z EvW1 quit (Ping timeout: 246 seconds) 2017-12-05T16:26:06Z Cymew joined #lisp 2017-12-05T16:30:46Z Cymew quit (Ping timeout: 260 seconds) 2017-12-05T16:32:11Z Cymew joined #lisp 2017-12-05T16:32:56Z mathi_aihtam joined #lisp 2017-12-05T16:36:50Z Cymew quit (Ping timeout: 260 seconds) 2017-12-05T16:38:31Z Cymew joined #lisp 2017-12-05T16:39:54Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-05T16:42:25Z orivej joined #lisp 2017-12-05T16:42:35Z neoncontrails joined #lisp 2017-12-05T16:42:57Z Cymew quit (Ping timeout: 240 seconds) 2017-12-05T16:44:00Z malcom2073 joined #lisp 2017-12-05T16:46:46Z binghe left #lisp 2017-12-05T16:50:04Z FreeBirdLjj joined #lisp 2017-12-05T16:50:33Z Cymew joined #lisp 2017-12-05T16:55:38Z Cymew quit (Ping timeout: 276 seconds) 2017-12-05T16:56:47Z Cymew joined #lisp 2017-12-05T17:01:10Z emaczen joined #lisp 2017-12-05T17:01:27Z Cymew quit (Ping timeout: 268 seconds) 2017-12-05T17:02:03Z varjag quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-12-05T17:02:56Z resttime quit (Quit: Leaving) 2017-12-05T17:04:29Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-05T17:05:24Z random-nick joined #lisp 2017-12-05T17:05:33Z Tobbi joined #lisp 2017-12-05T17:06:43Z teddy_error joined #lisp 2017-12-05T17:06:53Z emaczen: SBCL does a tail call optimization but CCL instead overflows the stack. Any suggestions for getting CCL to do the same tail call optimization? 2017-12-05T17:07:39Z emaczen: I could manually re-write but I think the recursive code is much more clear 2017-12-05T17:08:28Z beach: It is better to use iteration than recursion in Common Lisp. 2017-12-05T17:09:51Z domovod joined #lisp 2017-12-05T17:10:49Z rm8 joined #lisp 2017-12-05T17:12:04Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-12-05T17:14:41Z Bicyclidine: you'd have to check the ccl manual for when it does tail call optimization. 2017-12-05T17:15:09Z Karl_Dscc joined #lisp 2017-12-05T17:15:46Z Karl_Dscc quit (Remote host closed the connection) 2017-12-05T17:18:49Z mathrick joined #lisp 2017-12-05T17:20:07Z schweers: emaczen: SBCL does tco depending on the optimization settings, maybe CCL does so to, but has different criteria? 2017-12-05T17:21:59Z emaczen: schweers: I'm just finding out that my optimization settings are not what I thought they were. 2017-12-05T17:22:15Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-05T17:22:37Z schweers: have you tried aggressive optimizations? 2017-12-05T17:22:40Z emaczen: I expect (declaim (optimize ...)) to be evaluated at startup in init files for each implementations compiler. 2017-12-05T17:22:40Z smurfrobot joined #lisp 2017-12-05T17:22:54Z emaczen: schweers: what is an aggressive optimization? 2017-12-05T17:23:11Z schweers: (declaim (optimize (speed 3) (safety 1))) for instance 2017-12-05T17:23:23Z schweers: that’s what I mostly use when not debugging 2017-12-05T17:23:33Z beach: emaczen: Where did you put that declaim form? 2017-12-05T17:24:01Z warweasle quit (Quit: rcirc on GNU Emacs 24.4.1) 2017-12-05T17:25:14Z schweers: emaczen: um, I’m not sure, but it might be that declaim only has an effect during the compilation of the file in which it occurs 2017-12-05T17:25:33Z schweers: I put the aforementioned declaim at the beginning of my files 2017-12-05T17:25:51Z mathrick quit (Ping timeout: 248 seconds) 2017-12-05T17:26:10Z emaczen: beach: I put the declaim form at the top of my .ccl-init.lisp and .sbclrc 2017-12-05T17:26:38Z beach: That ought to work. 2017-12-05T17:27:04Z Bicyclidine: declaim is per file sometimes. i forget if it is in ccl. 2017-12-05T17:27:10Z schweers: beach: so declaim has an effect after the file in which it was put ends? 2017-12-05T17:27:35Z Bicyclidine: that's unspecified. 2017-12-05T17:27:36Z mathrick joined #lisp 2017-12-05T17:28:07Z Bicyclidine: unspecified for compile file. if the rc is loaded maybe it's defined to continue effecting. not sure. 2017-12-05T17:28:13Z emaczen: how can I check optimization settings in SBCL? #ccl informed me in CCL how to do it, which is how I found out. 2017-12-05T17:28:47Z _cosmonaut_ quit (Ping timeout: 276 seconds) 2017-12-05T17:29:08Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-05T17:29:20Z mson quit (Quit: Connection closed for inactivity) 2017-12-05T17:30:13Z phoe: sb-ext:describe-compiler-policy 2017-12-05T17:30:33Z phoe: http://www.sbcl.org/manual/#Compiler-Policy 2017-12-05T17:32:12Z emaczen: phoe: thanks, well the SBCL settings are as I expect 2017-12-05T17:35:30Z schweers: phoe: cool, thanks for mentioning this. I didn’t know this 2017-12-05T17:36:40Z Josh_2 joined #lisp 2017-12-05T17:40:25Z jasom joined #lisp 2017-12-05T17:40:46Z phoe: schweers: it pays to read software manuals once in a while, including your language specification and implementation manual :) 2017-12-05T17:40:53Z phoe: emaczen: no problem. BUT 2017-12-05T17:41:05Z phoe: take into account that these are global settings and can be modified by local declarations. 2017-12-05T17:41:38Z emaczen quit (Read error: Connection reset by peer) 2017-12-05T17:41:45Z phoe: If you want to be EXTRA sure that your programs are compiled without tricks like (declare (optimize (speed 3) (debug 0) (safety 0))) you may want to sb-ext:restrict-compiler-policy 2017-12-05T17:41:57Z phoe: which can set a minimum and maximum value on all optimization settings. 2017-12-05T17:42:50Z phoe: what is common in people's .sbclrc files is actually firmly setting the debug/safety policy to 3, so everything is compiled with debug 3 and safety 3. 2017-12-05T17:42:58Z Xach: common? 2017-12-05T17:43:01Z _rumbler31: beach: why is it better to do iteration than recursion in cl? 2017-12-05T17:43:29Z _rumbler31: emaczen: I've gotten ccl to do tco before, what code are you testing? 2017-12-05T17:43:43Z phoe: Xach: from the suggestions I saw over time on #lisp 2017-12-05T17:43:56Z phoe: _rumbler31: CL has no TCO so your stack may explode at the implementation's discretion 2017-12-05T17:43:57Z fikka joined #lisp 2017-12-05T17:44:22Z phoe: also, it is common for Lisp programmers in general to favor iterative programming style. Macros like LOOP are an example of that. 2017-12-05T17:44:44Z phoe: or rather, CL *standard* has no TCO, implementations may and do provide it. 2017-12-05T17:44:48Z phoe: most of the time. 2017-12-05T17:45:08Z phoe: but if someone does debug 3 safety 3, like above, then SBCL will not TCO. 2017-12-05T17:45:48Z smurfrobot quit (Remote host closed the connection) 2017-12-05T17:47:25Z Guest24518 joined #lisp 2017-12-05T17:47:30Z Xach: sometimes recursion is a great fit for a problem 2017-12-05T17:49:21Z fikka quit (Ping timeout: 248 seconds) 2017-12-05T17:51:44Z SaganMan quit (Quit: WeeChat 1.6) 2017-12-05T17:52:52Z FreeBirdLjj joined #lisp 2017-12-05T17:55:45Z EvW joined #lisp 2017-12-05T17:56:20Z Bicyclidine quit (Ping timeout: 260 seconds) 2017-12-05T17:57:28Z jasom: It is very rare that *tail* recursion is a better fit than interation 2017-12-05T17:57:38Z FreeBirdLjj quit (Ping timeout: 255 seconds) 2017-12-05T17:57:58Z jasom: The only one that comes to mind are state-machines, where tail-calling the next state is IMO more readable than alternatives. 2017-12-05T17:58:06Z neoncontrails quit (Remote host closed the connection) 2017-12-05T18:01:43Z m00natic quit (Remote host closed the connection) 2017-12-05T18:01:46Z JuanDaugherty quit (Ping timeout: 260 seconds) 2017-12-05T18:02:00Z Bike_ joined #lisp 2017-12-05T18:03:35Z Bike_ is now known as Bicyclidine 2017-12-05T18:03:53Z Vivvy quit (Ping timeout: 276 seconds) 2017-12-05T18:05:58Z orivej quit (Quit: No Ping reply in 180 seconds.) 2017-12-05T18:06:25Z FreeBirdLjj joined #lisp 2017-12-05T18:07:46Z orivej joined #lisp 2017-12-05T18:08:43Z mishoo_ quit (Quit: (save-lisp-and-die)) 2017-12-05T18:10:18Z vhost- is now known as reblank 2017-12-05T18:10:18Z mishoo joined #lisp 2017-12-05T18:13:30Z reblank is now known as reblonk 2017-12-05T18:15:17Z shka joined #lisp 2017-12-05T18:15:20Z shka: good evening! 2017-12-05T18:16:17Z kmb joined #lisp 2017-12-05T18:20:31Z milanj_ joined #lisp 2017-12-05T18:22:53Z neoncontrails joined #lisp 2017-12-05T18:22:55Z milanj quit (Ping timeout: 248 seconds) 2017-12-05T18:24:39Z varjag joined #lisp 2017-12-05T18:25:09Z Josh_2: Evening shka 2017-12-05T18:25:10Z minion: Josh_2, memo from pjb: perhaps you want to count the ACTUAL number of operations needed to sort, and compare that for your different inputs. For sort algorithms, it's usually the number of swap that is counted. Or the number of accesses to the sequence. Or the number of comparison. Unless you have your own quicksort implementation, if you use cl:sort it will be easier to just count the number of comparisons. 2017-12-05T18:25:45Z damke_ joined #lisp 2017-12-05T18:26:12Z Josh_2: pjb: Thanks for the memo but it's a bit late now :P I gave my presentation yesterday and the assessor said it was an excellent presentation and that I hit all the points 2017-12-05T18:27:13Z turkja quit (Ping timeout: 248 seconds) 2017-12-05T18:29:45Z Ven`` joined #lisp 2017-12-05T18:30:31Z Vivvy joined #lisp 2017-12-05T18:30:35Z pjb: Josh_2: congratulations! 2017-12-05T18:32:58Z EvW quit (Ping timeout: 258 seconds) 2017-12-05T18:33:13Z Josh_2: Would share my presentation but idk where to upload somewhere I don't have to sign up 2017-12-05T18:34:54Z jmercouris joined #lisp 2017-12-05T18:35:37Z EvW1 joined #lisp 2017-12-05T18:39:04Z random-nick quit (Remote host closed the connection) 2017-12-05T18:39:06Z Vivvy quit (Ping timeout: 260 seconds) 2017-12-05T18:40:37Z pseudonymous joined #lisp 2017-12-05T18:44:13Z Vivvy joined #lisp 2017-12-05T18:47:31Z knobo1 quit (Ping timeout: 268 seconds) 2017-12-05T18:48:05Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-05T18:52:26Z milanj__ joined #lisp 2017-12-05T18:53:53Z milanj_ quit (Ping timeout: 255 seconds) 2017-12-05T18:54:10Z strelox quit (Remote host closed the connection) 2017-12-05T18:54:50Z beach: _rumbler31: Because Common Lisp does not guarantee tail-call optimization. There are cases where recursion is the best way, of course (like when you deal with a data structure that is naturally recursive). But for traversing linear data structures, iteration is preferable. 2017-12-05T18:56:27Z Vivvy quit (Ping timeout: 240 seconds) 2017-12-05T18:56:31Z shka: thing is, common lisp is really functional language 2017-12-05T18:56:38Z shka: *is not really 2017-12-05T18:57:49Z zmt00 joined #lisp 2017-12-05T18:59:37Z knicklux joined #lisp 2017-12-05T19:01:07Z kmb quit (Quit: kmb) 2017-12-05T19:01:33Z Princess17b29a joined #lisp 2017-12-05T19:01:43Z orivej quit (Ping timeout: 258 seconds) 2017-12-05T19:01:59Z orivej joined #lisp 2017-12-05T19:02:21Z Cymew joined #lisp 2017-12-05T19:02:26Z jmercouris: I can't think of a scenario in which recursion is more performant than iteration, are there any examples? 2017-12-05T19:03:55Z pmcana joined #lisp 2017-12-05T19:04:03Z kmb joined #lisp 2017-12-05T19:04:25Z nowhere_man quit (Read error: Connection reset by peer) 2017-12-05T19:05:09Z dxtr quit (Quit: leaving) 2017-12-05T19:07:06Z Cymew quit (Ping timeout: 260 seconds) 2017-12-05T19:07:18Z jackdaniel: performance isn't the only metric important in software development 2017-12-05T19:07:34Z jackdaniel: *if* recursion is easier to learn and understand, it saves programmer time 2017-12-05T19:08:10Z beach: jmercouris: What jackdaniel says. It has to do with what makes the code easy to understand and maintain. 2017-12-05T19:08:15Z nowhere_man joined #lisp 2017-12-05T19:08:35Z shka: yes, exactly 2017-12-05T19:08:37Z beach: jmercouris: So if you traverse a tree, for example, recursion is often preferable to iteration. 2017-12-05T19:09:13Z shka: if your code needs to construct stack in order to iterate, you are better off with recursive function 2017-12-05T19:09:33Z beach: Indeed. 2017-12-05T19:09:49Z shka: most of the time 2017-12-05T19:10:02Z shka: sometimes performance IS really important 2017-12-05T19:10:24Z shka: but it is not that often 2017-12-05T19:11:01Z neoncontrails quit (Remote host closed the connection) 2017-12-05T19:11:20Z jmercouris: I'm a software engineer too, don't confuse me being a noob with lisp that I am a noob in general, I understand the importance of developer time, I am just wondering if there is ever a scenario in which a recursive implementation is more performant than an iterative one 2017-12-05T19:11:43Z beach: jmercouris: Define "performant". 2017-12-05T19:11:49Z SuperJen joined #lisp 2017-12-05T19:12:00Z jmercouris: beach: real time between start and completion of task 2017-12-05T19:12:27Z zachk joined #lisp 2017-12-05T19:12:32Z jmercouris: not necessarily time complexity, but on actual hardware, an example of a recursive solution being quicker 2017-12-05T19:12:40Z jackdaniel: if problem is better expressed iteratively, then you're better of using iteration. It's not always the case though 2017-12-05T19:12:45Z jackdaniel: someone mentioned state machines earlier 2017-12-05T19:13:03Z beach: I think that depends a lot on the implementation and on the architecture of the underlying computer. 2017-12-05T19:13:06Z jmercouris: state machines are a great use case for recursion, trees, as well, but will it every be quicker? 2017-12-05T19:13:39Z shka: jmercouris: if your stack is vector and it reallocates, you may hit sweet spot where performance degrades badly 2017-12-05T19:13:57Z jmercouris: shka: I wouldn't call that a "sweet" spot :P 2017-12-05T19:14:05Z shka: but that would be poor craft 2017-12-05T19:14:29Z shka: so as you can see, problem is not yet clearly defined 2017-12-05T19:14:31Z jackdaniel: jmercouris: given perfect implementation, which maps nicely into thought, what is faster: (loop over states if match my-state (do-my-state)) or maybe rather (do-my-state) ? 2017-12-05T19:15:03Z jmercouris: jackdaniel: I don't understand, can you please rephrase? 2017-12-05T19:15:23Z JenElizabeth quit (Ping timeout: 276 seconds) 2017-12-05T19:16:09Z shka: what people around think about cl-cont? 2017-12-05T19:16:25Z jackdaniel: shka: it is very slow, because it emulates cps 2017-12-05T19:16:58Z shka: i don't care about performance that much, i just want to know if it works correctly 2017-12-05T19:17:22Z jackdaniel: jmercouris: if you can do a tail call, you just call a function (and you are done), if you have a loop, you need to wait until function returns and decide what to do next (so the caller controls the execution) 2017-12-05T19:17:23Z shka: or there are some nasty bugs, corner cases etc. that 2017-12-05T19:17:33Z raynold joined #lisp 2017-12-05T19:17:36Z shka: that would make my pull my hair 2017-12-05T19:18:36Z jackdaniel: s/so the caller/because the caller/ 2017-12-05T19:18:56Z scymtym: shka: known limitations, rather. it can be useful if you are aware of the limitations but it won't give you anything like scheme's call/cc or reset/shift 2017-12-05T19:19:37Z jmercouris: jackdaniel: Aha I get it! Yes, that's a good example of a problem 2017-12-05T19:19:42Z shka: what else i can pick for continuations? 2017-12-05T19:19:53Z shka: is cl-cont still way to go? 2017-12-05T19:20:48Z jackdaniel: shka: you may pick scheme 2017-12-05T19:20:58Z jackdaniel: or ecl when 16.2.0 is released 2017-12-05T19:21:08Z shka: way to much code already written in CL 2017-12-05T19:21:10Z jackdaniel: I'm re-introducing delimited continuations there 2017-12-05T19:21:15Z Shinmera: You can pick not using continuations 2017-12-05T19:21:25Z shka: Shinmera: or that! 2017-12-05T19:21:37Z shka: still more likely then picking scheme 2017-12-05T19:21:39Z Shinmera: (also see http://okmij.org/ftp/continuations/against-callcc.html ) 2017-12-05T19:21:43Z scymtym: jackdaniel: is there documentation regarding ECL's continuations? 2017-12-05T19:21:50Z razzy: < razzy> hi, i would like to have random acces FIFO buffer 2017-12-05T19:21:50Z razzy: 20:03 < razzy> and i found only complicated solutions 2017-12-05T19:22:01Z nika_ quit (Quit: Leaving...) 2017-12-05T19:22:35Z jackdaniel: scymtym: I can send you a pdf (it was removed from documentation when they were removed, but it builds fine when you go back in time in git) 2017-12-05T19:23:03Z shka: perhaps i just write it manually with CPS style 2017-12-05T19:23:28Z shka: honestly, I like Graham style macros the most 2017-12-05T19:23:43Z shka: it is the least magical approach 2017-12-05T19:24:32Z scymtym: Shinmera: i think that one argues against call/cc specifically, not necessary against e.g. reset/shift (which closer to the style cl-cont supports) 2017-12-05T19:25:06Z scymtym: jackdaniel: please do if it doesn't cause too much trouble 2017-12-05T19:25:31Z jackdaniel: scymtym: sure 2017-12-05T19:26:17Z LocaMocha quit (Ping timeout: 255 seconds) 2017-12-05T19:32:12Z fikka joined #lisp 2017-12-05T19:34:59Z kmb quit (Quit: kmb) 2017-12-05T19:35:18Z asarch joined #lisp 2017-12-05T19:37:27Z mathrick quit (Ping timeout: 240 seconds) 2017-12-05T19:38:33Z kmb joined #lisp 2017-12-05T19:39:27Z fikka quit (Ping timeout: 240 seconds) 2017-12-05T19:40:05Z jmercouris quit (Ping timeout: 276 seconds) 2017-12-05T19:41:12Z mathrick joined #lisp 2017-12-05T19:46:07Z mathrick quit (Ping timeout: 248 seconds) 2017-12-05T19:48:19Z dxtr joined #lisp 2017-12-05T19:50:29Z smurfrobot joined #lisp 2017-12-05T19:56:51Z milanj__ quit (Quit: This computer has gone to sleep) 2017-12-05T19:57:16Z neoncontrails joined #lisp 2017-12-05T19:57:58Z smurfrobot quit (Ping timeout: 260 seconds) 2017-12-05T19:58:36Z mathrick joined #lisp 2017-12-05T20:00:53Z damke joined #lisp 2017-12-05T20:02:42Z Cymew joined #lisp 2017-12-05T20:02:45Z damke_ quit (Ping timeout: 246 seconds) 2017-12-05T20:02:57Z mejja quit (Quit: mejja) 2017-12-05T20:07:05Z Cymew quit (Ping timeout: 240 seconds) 2017-12-05T20:07:09Z razzy: solved :] 2017-12-05T20:07:45Z mathrick quit (Read error: Connection reset by peer) 2017-12-05T20:07:51Z Shinmera: scymtym: Yeah. It's worth reading anyway, though. 2017-12-05T20:08:27Z scymtym: Shinmera: agreed 2017-12-05T20:08:42Z Cymew joined #lisp 2017-12-05T20:13:01Z Cymew quit (Ping timeout: 258 seconds) 2017-12-05T20:14:41Z Cymew joined #lisp 2017-12-05T20:16:36Z Trystam joined #lisp 2017-12-05T20:17:53Z python476 joined #lisp 2017-12-05T20:18:38Z ketralnis quit (Quit: Coyote finally caught me) 2017-12-05T20:19:11Z Cymew quit (Ping timeout: 248 seconds) 2017-12-05T20:19:26Z Tristam quit (Ping timeout: 260 seconds) 2017-12-05T20:19:31Z Trystam is now known as Tristam 2017-12-05T20:24:37Z mathrick joined #lisp 2017-12-05T20:25:49Z paule32: yippie 2017-12-05T20:25:56Z paule32: (defvar cw1 cw00001) 2017-12-05T20:26:01Z vlatkoB quit (Remote host closed the connection) 2017-12-05T20:26:08Z paule32: (defvar cw00001 '("hallo" "hello")) 2017-12-05T20:26:21Z paule32: (setf (gethash cw1 *word-table*) cw00001) 2017-12-05T20:26:32Z paule32: (maphash #'(lambda (k v) (print k)) *word-table*) 2017-12-05T20:26:33Z Cymew joined #lisp 2017-12-05T20:26:45Z paule32: this code's do the job 2017-12-05T20:26:52Z paule32: lambda is great 2017-12-05T20:26:57Z fikka joined #lisp 2017-12-05T20:27:35Z jurov: Hi all, when I do (ql:quickload 'usocket) (usocket:socket-server #(127 0 0 1) 8910 nil nil) I get undefined function error. 2017-12-05T20:28:31Z jurov: NFI how to approach this? In dists/quicklisp/software/usocket-0.7.0.1/ the function does exist 2017-12-05T20:29:03Z Xach: jurov: hi! what does (ql:where-is-system "usocket") say? 2017-12-05T20:29:24Z jackdaniel: oh, there is such function? interesting! 2017-12-05T20:29:56Z knobo1 joined #lisp 2017-12-05T20:30:06Z Xach: i use that function very much when troubleshooting 2017-12-05T20:30:14Z Xach: since systems can be not what or where you expect 2017-12-05T20:30:31Z Xach: it is just a thin layer over a couple of asdf functions, but so handy 2017-12-05T20:30:39Z jurov: (ql:where-is-system "usocket") has output ~/quicklisp/dists/quicklisp/software/usocket-0.7.0.1/ which is right, and which I've checked 2017-12-05T20:31:06Z Cymew quit (Ping timeout: 260 seconds) 2017-12-05T20:31:27Z fikka quit (Ping timeout: 240 seconds) 2017-12-05T20:31:55Z terpri joined #lisp 2017-12-05T20:32:39Z Cymew joined #lisp 2017-12-05T20:33:13Z jurov: but (find-package "usocket") returns nil 2017-12-05T20:33:28Z Xach: jurov: (find-package "USOCKET") is more likely to work 2017-12-05T20:34:58Z knobo2 joined #lisp 2017-12-05T20:35:00Z Xach: jurov: i don't think usocket:socket-server is meant to be a function, is it? is it documented as such? 2017-12-05T20:35:41Z jurov: (do-external-symbols (s (find-package "USOCKET")) (print s)) does list USOCKET:SOCKET-SERVER 2017-12-05T20:35:52Z Xach: jurov: sure - but that doesn't mean it names a function 2017-12-05T20:35:55Z Karl_Dscc joined #lisp 2017-12-05T20:35:55Z jurov: and it's documented: https://common-lisp.net/project/usocket/api-docs.shtml 2017-12-05T20:37:17Z Cymew quit (Ping timeout: 268 seconds) 2017-12-05T20:37:32Z knicklux quit (Ping timeout: 240 seconds) 2017-12-05T20:37:39Z jurov: it is definitely something that can be called. and it worked fine on this machine few months ago. 2017-12-05T20:38:03Z _rumbler31: jurov: can you restart your lisp, ql usocket and then re-issue your test and paste full output? 2017-12-05T20:38:32Z Xach: I also get an undefined function error. Hmm. 2017-12-05T20:38:35Z knobo1 quit (Ping timeout: 276 seconds) 2017-12-05T20:40:07Z jurov: http://dpaste.com/23FD2HV 2017-12-05T20:40:42Z Xach: jurov: i think it would be good to discuss on the list, because that seems like a strange oversight 2017-12-05T20:40:53Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-12-05T20:40:54Z jurov: which list? 2017-12-05T20:41:12Z orivej quit (Ping timeout: 240 seconds) 2017-12-05T20:45:03Z paule32: jurov: you could be try: 127.0.0.1 instead 127 0 0 1 2017-12-05T20:45:54Z paule32: jurov: note: this is a string 2017-12-05T20:46:09Z cgay quit (Remote host closed the connection) 2017-12-05T20:46:11Z paule32: jurov: may be: "127.0.0.1" 2017-12-05T20:46:36Z jurov: paule32:but that has no influence on whether the function exists. and I remeber this working with the vector parameter 2017-12-05T20:48:53Z paule32: jurov: if you would like to set the vector value, try: (setf ip-address (vector 127 0 0 1)) 2017-12-05T20:49:32Z shka quit (Ping timeout: 255 seconds) 2017-12-05T20:50:22Z milanj__ joined #lisp 2017-12-05T20:50:29Z jurov: paule32: and what's the problem with #() notation? 2017-12-05T20:50:51Z paule32: symbols, not numbers 2017-12-05T20:51:50Z Xach: jurov: the usocket-devel list, which is not very busy, but still quite responsive 2017-12-05T20:52:05Z jurov: Xach: ok, ty 2017-12-05T20:53:29Z Jen joined #lisp 2017-12-05T20:53:48Z fikka joined #lisp 2017-12-05T20:53:52Z Jen is now known as Guest94462 2017-12-05T20:55:16Z Xach: jurov: i think i have sussed it 2017-12-05T20:55:43Z Xach: jurov: (ql:quickload "usocket-server") will load the file that defines what you want to use. 2017-12-05T20:55:49Z Xach: my grep failed me earlier 2017-12-05T20:56:22Z jurov: Yep, I found it announced here: https://mailman.common-lisp.net/pipermail/usocket-devel/2016-October/000618.html 2017-12-05T20:56:44Z SuperJen quit (Ping timeout: 255 seconds) 2017-12-05T20:58:01Z jurov: But then symbols should not be exported either, i guess? what is the usual practice? 2017-12-05T20:58:22Z Xach: jurov: it is not too unusual to act as it does. 2017-12-05T20:58:32Z Xach: there is no problem exporting symbols that are not fbound 2017-12-05T20:59:25Z Guest94462 quit (Remote host closed the connection) 2017-12-05T20:59:48Z Guest94462 joined #lisp 2017-12-05T20:59:57Z jurov: Xach tyvm! Seeing from that thread, you actually had the same problem :) 2017-12-05T21:00:19Z _rumbler31: oh dang, I forgot about that 2017-12-05T21:01:20Z scymtym quit (Ping timeout: 276 seconds) 2017-12-05T21:01:22Z Xach: heh 2017-12-05T21:01:43Z damke_ joined #lisp 2017-12-05T21:02:11Z rm8 quit (Quit: i slep) 2017-12-05T21:02:19Z alexmlw joined #lisp 2017-12-05T21:04:01Z damke quit (Ping timeout: 240 seconds) 2017-12-05T21:06:15Z cgay joined #lisp 2017-12-05T21:07:13Z Zakkor joined #lisp 2017-12-05T21:07:44Z Zakkor: (defun square (x) ... ; how come (x) isn't a function call in this case? 2017-12-05T21:08:10Z Bicyclidine: defun is a macro, so it can define its own syntax. 2017-12-05T21:08:34Z pjb: macros and special operators have special rules. 2017-12-05T21:09:08Z Zakkor: is it something you could do within the language? 2017-12-05T21:09:18Z pjb: It is. 2017-12-05T21:09:22Z Bicyclidine: you can define your own macros, yeah. 2017-12-05T21:09:43Z Zakkor: intredasting 2017-12-05T21:09:53Z pjb: Zakkor: (defmacro defun (name lambda-list &body body) `(setf (symbol-function ',name) (lambda ,lambda-list ,@body))) ; basically. 2017-12-05T21:10:07Z Bicyclidine: (defmacro myquote (form) (list 'quote form)). now (myquote (7)) => (7), whereas (print (7)) would be an error 2017-12-05T21:10:17Z pjb: lambda is a macro that expands to (function (lambda …)) and function is a special operator, so special rules. 2017-12-05T21:15:09Z Tobbi joined #lisp 2017-12-05T21:22:20Z scymtym joined #lisp 2017-12-05T21:23:50Z mishoo quit (Ping timeout: 260 seconds) 2017-12-05T21:26:36Z eudoxia quit (Quit: Leaving) 2017-12-05T21:26:37Z neoncontrails quit (Remote host closed the connection) 2017-12-05T21:27:12Z neoncontrails joined #lisp 2017-12-05T21:31:23Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-05T21:34:24Z asarch quit (Quit: Leaving) 2017-12-05T21:35:24Z rm8 joined #lisp 2017-12-05T21:39:11Z mson joined #lisp 2017-12-05T21:41:08Z orivej joined #lisp 2017-12-05T21:56:59Z shenghi quit (Remote host closed the connection) 2017-12-05T21:57:26Z shenghi joined #lisp 2017-12-05T22:12:05Z gabc quit (Ping timeout: 240 seconds) 2017-12-05T22:12:21Z gabc joined #lisp 2017-12-05T22:15:48Z LiamH quit (Quit: Leaving.) 2017-12-05T22:15:50Z raphaelss joined #lisp 2017-12-05T22:16:57Z python476 quit (Remote host closed the connection) 2017-12-05T22:17:20Z turkja joined #lisp 2017-12-05T22:18:35Z emacsomancer joined #lisp 2017-12-05T22:20:05Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.1)) 2017-12-05T22:22:40Z foschia joined #lisp 2017-12-05T22:23:08Z foschia: hi 2017-12-05T22:26:40Z smurfrobot joined #lisp 2017-12-05T22:27:29Z foschia quit (Quit: Leaving) 2017-12-05T22:34:39Z Bicyclidine quit (Quit: Page closed) 2017-12-05T22:40:53Z smurfrobot quit (Remote host closed the connection) 2017-12-05T22:48:03Z Cymew joined #lisp 2017-12-05T22:48:11Z smurfrobot joined #lisp 2017-12-05T22:48:15Z osune quit (Remote host closed the connection) 2017-12-05T22:48:46Z wigust quit (Ping timeout: 260 seconds) 2017-12-05T22:52:49Z Cymew quit (Ping timeout: 248 seconds) 2017-12-05T22:56:50Z Karl_Dscc quit (Remote host closed the connection) 2017-12-05T22:57:07Z hexfive quit (Quit: WeeChat 1.9.1) 2017-12-05T23:00:24Z Cymew joined #lisp 2017-12-05T23:04:35Z scymtym_ joined #lisp 2017-12-05T23:05:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-05T23:05:08Z Cymew quit (Ping timeout: 258 seconds) 2017-12-05T23:06:42Z foschia joined #lisp 2017-12-05T23:06:47Z scymtym quit (Ping timeout: 276 seconds) 2017-12-05T23:07:28Z damke_ joined #lisp 2017-12-05T23:09:28Z smurfrobot quit (Remote host closed the connection) 2017-12-05T23:10:13Z foschia: help me!! i'm lost in Stupid Parentheses ahahaha 2017-12-05T23:11:22Z nirved quit (Quit: Leaving) 2017-12-05T23:11:29Z Josh_2: wow 2017-12-05T23:11:45Z foschia: i'm a beginner lol :) 2017-12-05T23:12:00Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-05T23:12:01Z wxie joined #lisp 2017-12-05T23:12:58Z damke joined #lisp 2017-12-05T23:13:18Z turkja quit (Ping timeout: 268 seconds) 2017-12-05T23:13:19Z foschia: i'll solve my problem in a next moment.. bye bye :) 2017-12-05T23:13:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-05T23:13:30Z sjl quit (Ping timeout: 260 seconds) 2017-12-05T23:13:41Z foschia left #lisp 2017-12-05T23:15:55Z smurfrobot joined #lisp 2017-12-05T23:17:41Z alexmlw quit (Quit: alexmlw) 2017-12-05T23:22:11Z zulu_inuoe_ joined #lisp 2017-12-05T23:24:08Z zulu_inuoe quit (Ping timeout: 255 seconds) 2017-12-05T23:24:10Z dieggsy joined #lisp 2017-12-05T23:24:49Z pseudonymous quit (Ping timeout: 248 seconds) 2017-12-05T23:26:06Z schoppenhauer joined #lisp 2017-12-05T23:26:49Z papachan: that was quick :p 2017-12-05T23:26:49Z smurfrobot quit (Remote host closed the connection) 2017-12-05T23:28:05Z vaporatorius quit (Ping timeout: 240 seconds) 2017-12-05T23:28:51Z turkja joined #lisp 2017-12-05T23:32:54Z neoncontrails joined #lisp 2017-12-05T23:33:34Z phao joined #lisp 2017-12-05T23:34:51Z jack_rabbit quit (Ping timeout: 260 seconds) 2017-12-05T23:41:51Z ft quit (Ping timeout: 248 seconds) 2017-12-05T23:41:56Z smurfrobot joined #lisp 2017-12-05T23:42:45Z mathi_aihtam quit (Quit: mathi_aihtam) 2017-12-05T23:43:41Z ft joined #lisp 2017-12-05T23:43:51Z mathi_aihtam joined #lisp 2017-12-05T23:44:40Z wxie quit (Remote host closed the connection) 2017-12-05T23:44:48Z mathi_aihtam quit (Client Quit) 2017-12-05T23:46:08Z mathi_aihtam joined #lisp 2017-12-05T23:47:00Z pierpa joined #lisp 2017-12-05T23:48:56Z mson quit (Quit: Connection closed for inactivity) 2017-12-05T23:50:27Z mathi_aihtam quit (Ping timeout: 240 seconds) 2017-12-05T23:52:33Z jack_rabbit joined #lisp 2017-12-05T23:54:08Z ft quit (Remote host closed the connection) 2017-12-05T23:54:52Z ft joined #lisp 2017-12-05T23:55:07Z k-stz quit (Remote host closed the connection) 2017-12-05T23:57:14Z smurfrobot quit (Remote host closed the connection) 2017-12-05T23:57:22Z xrash joined #lisp 2017-12-05T23:59:21Z xrash quit (Read error: Connection reset by peer) 2017-12-06T00:01:16Z knobo3 joined #lisp 2017-12-06T00:01:44Z Josh_2 quit (Remote host closed the connection) 2017-12-06T00:01:52Z zotan quit (Ping timeout: 258 seconds) 2017-12-06T00:03:20Z zotan joined #lisp 2017-12-06T00:04:17Z knobo2 quit (Ping timeout: 248 seconds) 2017-12-06T00:04:31Z quazimodo joined #lisp 2017-12-06T00:12:36Z smurfrobot joined #lisp 2017-12-06T00:15:02Z Zakkor quit (Quit: Connection closed for inactivity) 2017-12-06T00:15:43Z mson joined #lisp 2017-12-06T00:17:26Z smurfrobot quit (Ping timeout: 260 seconds) 2017-12-06T00:22:48Z mondec`` quit (Read error: Connection reset by peer) 2017-12-06T00:22:48Z mondec``` joined #lisp 2017-12-06T00:25:50Z cromachina joined #lisp 2017-12-06T00:34:06Z papachan quit (Quit: WeeChat 2.0) 2017-12-06T00:35:22Z papachan joined #lisp 2017-12-06T00:41:17Z fikka quit (Quit: leaving) 2017-12-06T00:41:32Z EvW1 quit (Ping timeout: 240 seconds) 2017-12-06T00:41:39Z fikka joined #lisp 2017-12-06T00:41:58Z azzamsa joined #lisp 2017-12-06T00:44:04Z scottj joined #lisp 2017-12-06T00:47:01Z phao quit (Ping timeout: 240 seconds) 2017-12-06T00:47:10Z mathi_aihtam joined #lisp 2017-12-06T00:48:53Z margeas quit (Ping timeout: 268 seconds) 2017-12-06T00:50:17Z _cosmonaut_ joined #lisp 2017-12-06T00:52:05Z kmb quit (Quit: kmb) 2017-12-06T01:00:07Z jameser joined #lisp 2017-12-06T01:05:02Z hydan_ joined #lisp 2017-12-06T01:05:23Z hydan_ is now known as hydan 2017-12-06T01:05:31Z mingus` joined #lisp 2017-12-06T01:07:05Z ngqrl quit (Ping timeout: 252 seconds) 2017-12-06T01:08:46Z mingus quit (Ping timeout: 260 seconds) 2017-12-06T01:09:17Z reblonk is now known as vhost- 2017-12-06T01:10:57Z Colleen quit (Ping timeout: 240 seconds) 2017-12-06T01:11:25Z Colleen joined #lisp 2017-12-06T01:12:20Z fikka quit (Ping timeout: 255 seconds) 2017-12-06T01:12:36Z mondec``` quit (Remote host closed the connection) 2017-12-06T01:12:47Z mondec``` joined #lisp 2017-12-06T01:15:54Z Cymew joined #lisp 2017-12-06T01:20:33Z Cymew quit (Ping timeout: 248 seconds) 2017-12-06T01:27:41Z smurfrobot joined #lisp 2017-12-06T01:32:06Z smurfrobot quit (Ping timeout: 260 seconds) 2017-12-06T01:35:03Z zachk quit (Quit: night night :D) 2017-12-06T01:42:57Z Guest24518 quit (Ping timeout: 248 seconds) 2017-12-06T01:43:23Z ngqrl joined #lisp 2017-12-06T01:44:46Z Kaisyu joined #lisp 2017-12-06T01:51:56Z smurfrobot joined #lisp 2017-12-06T01:52:11Z fikka joined #lisp 2017-12-06T01:56:49Z phao joined #lisp 2017-12-06T01:56:53Z fikka quit (Ping timeout: 255 seconds) 2017-12-06T02:00:01Z jack_rabbit quit (Quit: Leaving) 2017-12-06T02:00:06Z danieli quit (Remote host closed the connection) 2017-12-06T02:06:14Z jack_rabbit joined #lisp 2017-12-06T02:07:41Z _rumbler31 quit (Remote host closed the connection) 2017-12-06T02:09:33Z smurfrobot quit (Remote host closed the connection) 2017-12-06T02:15:43Z neoncontrails quit (Remote host closed the connection) 2017-12-06T02:18:32Z vtomole joined #lisp 2017-12-06T02:22:02Z papachan quit (Quit: WeeChat 2.0) 2017-12-06T02:22:41Z smurfrobot joined #lisp 2017-12-06T02:23:57Z smurfrobot quit (Remote host closed the connection) 2017-12-06T02:24:35Z mathi_aihtam quit (Ping timeout: 255 seconds) 2017-12-06T02:29:18Z d4ryus1 joined #lisp 2017-12-06T02:31:53Z shenghi quit (Remote host closed the connection) 2017-12-06T02:32:23Z shenghi joined #lisp 2017-12-06T02:32:29Z d4ryus quit (Ping timeout: 268 seconds) 2017-12-06T02:33:17Z red-dot joined #lisp 2017-12-06T02:35:18Z rm8 quit (Quit: i quit) 2017-12-06T02:36:17Z yeticry_ joined #lisp 2017-12-06T02:38:54Z mson quit (Quit: Connection closed for inactivity) 2017-12-06T02:39:20Z yeticry quit (Ping timeout: 276 seconds) 2017-12-06T02:46:15Z fikka joined #lisp 2017-12-06T02:47:06Z azzamsa quit (Remote host closed the connection) 2017-12-06T02:48:55Z vtomole quit (Ping timeout: 260 seconds) 2017-12-06T02:49:29Z milanj__ quit (Quit: This computer has gone to sleep) 2017-12-06T02:49:53Z milanj__ joined #lisp 2017-12-06T02:50:14Z milanj__ quit (Client Quit) 2017-12-06T02:50:41Z fikka quit (Ping timeout: 248 seconds) 2017-12-06T02:52:11Z smurfrobot joined #lisp 2017-12-06T02:53:28Z smurfrobot quit (Remote host closed the connection) 2017-12-06T02:56:09Z mson joined #lisp 2017-12-06T02:56:12Z vtomole joined #lisp 2017-12-06T03:00:38Z QualityAddict quit (Remote host closed the connection) 2017-12-06T03:01:51Z damke_ joined #lisp 2017-12-06T03:02:14Z QualityAddict joined #lisp 2017-12-06T03:03:16Z holycow joined #lisp 2017-12-06T03:03:17Z eSVG joined #lisp 2017-12-06T03:03:21Z damke quit (Ping timeout: 240 seconds) 2017-12-06T03:03:54Z smurfrobot joined #lisp 2017-12-06T03:16:13Z smurfrobot quit (Remote host closed the connection) 2017-12-06T03:17:18Z ak5 joined #lisp 2017-12-06T03:21:35Z jack_rabbit quit (Ping timeout: 276 seconds) 2017-12-06T03:22:30Z mathi_aihtam joined #lisp 2017-12-06T03:24:53Z dieggsy quit (Remote host closed the connection) 2017-12-06T03:26:43Z smurfrobot joined #lisp 2017-12-06T03:26:57Z mathi_aihtam quit (Ping timeout: 240 seconds) 2017-12-06T03:37:49Z jack_rabbit joined #lisp 2017-12-06T03:41:08Z fikka joined #lisp 2017-12-06T03:46:17Z smurfrobot quit (Remote host closed the connection) 2017-12-06T03:46:41Z fikka quit (Ping timeout: 248 seconds) 2017-12-06T03:50:23Z yeticry_ quit (Ping timeout: 248 seconds) 2017-12-06T03:57:52Z johs_ joined #lisp 2017-12-06T03:58:12Z sjl joined #lisp 2017-12-06T03:59:04Z johs quit (Ping timeout: 240 seconds) 2017-12-06T03:59:04Z johs_ is now known as johs 2017-12-06T04:00:38Z smurfrobot joined #lisp 2017-12-06T04:03:11Z sjl quit (Ping timeout: 276 seconds) 2017-12-06T04:05:05Z yeticry joined #lisp 2017-12-06T04:05:05Z Bike quit (Ping timeout: 240 seconds) 2017-12-06T04:05:49Z kobain quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2017-12-06T04:06:14Z Bike joined #lisp 2017-12-06T04:09:29Z alphor quit (Ping timeout: 240 seconds) 2017-12-06T04:09:34Z dcluna quit (Ping timeout: 240 seconds) 2017-12-06T04:11:01Z Xof quit (Ping timeout: 240 seconds) 2017-12-06T04:11:04Z alphor joined #lisp 2017-12-06T04:11:31Z smurfrobot quit (Remote host closed the connection) 2017-12-06T04:12:15Z dcluna joined #lisp 2017-12-06T04:12:27Z foom quit (Remote host closed the connection) 2017-12-06T04:12:27Z Harzilein quit (Ping timeout: 240 seconds) 2017-12-06T04:15:05Z Bike quit (Quit: Lost terminal) 2017-12-06T04:22:40Z dieggsy joined #lisp 2017-12-06T04:22:49Z mathrick quit (Read error: Connection reset by peer) 2017-12-06T04:25:24Z smurfrobot joined #lisp 2017-12-06T04:26:24Z holycow quit (Quit: Lost terminal) 2017-12-06T04:29:31Z smurfrobot quit (Ping timeout: 240 seconds) 2017-12-06T04:30:35Z beach: Good morning everyone! 2017-12-06T04:32:02Z drmeister: Hi beach 2017-12-06T04:38:25Z Kevslinger quit (Quit: Connection closed for inactivity) 2017-12-06T04:38:37Z nicdev` is now known as nicdev 2017-12-06T04:40:08Z pierpa quit (Quit: Page closed) 2017-12-06T04:46:57Z Ober: morning 2017-12-06T04:51:39Z milanj__ joined #lisp 2017-12-06T04:55:46Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-06T04:56:14Z phao quit (Quit: Leaving) 2017-12-06T04:57:06Z emaczen joined #lisp 2017-12-06T04:59:49Z teddy_error quit (Quit: Peace ☮︎) 2017-12-06T05:01:00Z damke joined #lisp 2017-12-06T05:03:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-06T05:11:13Z damke_ joined #lisp 2017-12-06T05:11:14Z neoncontrails joined #lisp 2017-12-06T05:13:01Z damke quit (Ping timeout: 240 seconds) 2017-12-06T05:15:34Z red-dot joined #lisp 2017-12-06T05:24:50Z mathi_aihtam joined #lisp 2017-12-06T05:28:31Z fikka joined #lisp 2017-12-06T05:29:20Z vtomole quit (Ping timeout: 260 seconds) 2017-12-06T05:29:31Z mathi_aihtam quit (Ping timeout: 260 seconds) 2017-12-06T05:29:51Z dddddd quit (Remote host closed the connection) 2017-12-06T05:33:47Z fikka quit (Ping timeout: 268 seconds) 2017-12-06T05:37:59Z oleo quit (Quit: Leaving) 2017-12-06T05:38:23Z smurfrobot joined #lisp 2017-12-06T05:42:41Z mishoo joined #lisp 2017-12-06T05:48:04Z zmt00 quit (Quit: Leaving) 2017-12-06T06:01:52Z damke joined #lisp 2017-12-06T06:03:12Z smurfrobot quit (Remote host closed the connection) 2017-12-06T06:03:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-06T06:06:48Z damke_ joined #lisp 2017-12-06T06:08:41Z damke quit (Ping timeout: 240 seconds) 2017-12-06T06:10:34Z smurfrobot joined #lisp 2017-12-06T06:12:25Z shenghi quit (Remote host closed the connection) 2017-12-06T06:12:50Z shenghi joined #lisp 2017-12-06T06:14:57Z smurfrobot quit (Ping timeout: 248 seconds) 2017-12-06T06:15:23Z wigust joined #lisp 2017-12-06T06:22:24Z shenghi quit (Remote host closed the connection) 2017-12-06T06:22:26Z BitPuffin|osx joined #lisp 2017-12-06T06:22:35Z alexmlw joined #lisp 2017-12-06T06:22:37Z shenghi joined #lisp 2017-12-06T06:23:30Z dieggsy quit (Quit: ERC (IRC client for Emacs 27.0.50)) 2017-12-06T06:23:45Z jameser quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-06T06:24:42Z shka joined #lisp 2017-12-06T06:28:14Z aindilis quit (Ping timeout: 255 seconds) 2017-12-06T06:30:08Z flamebeard joined #lisp 2017-12-06T06:31:21Z mishoo quit (Ping timeout: 260 seconds) 2017-12-06T06:31:25Z alexmlw quit (Quit: alexmlw) 2017-12-06T06:33:23Z alexmlw joined #lisp 2017-12-06T06:34:13Z turkja quit (Ping timeout: 268 seconds) 2017-12-06T06:35:23Z neoncontrails quit (Remote host closed the connection) 2017-12-06T06:37:31Z mathi_aihtam joined #lisp 2017-12-06T06:43:03Z alexmlw quit (Quit: alexmlw) 2017-12-06T06:44:50Z Karl_Dscc joined #lisp 2017-12-06T06:48:30Z whoman: Control stack guard page temporarily disabled: proceed with caution 2017-12-06T06:48:54Z LocaMocha joined #lisp 2017-12-06T06:52:05Z pjb: Indeed. 2017-12-06T06:53:31Z vlatkoB joined #lisp 2017-12-06T06:54:12Z beach: whoman: Runaway recursion? 2017-12-06T06:54:19Z whoman: is there a way to create a graph of lisp forms, like "box notation" from gentle introduction to symbol computation ? 2017-12-06T06:54:35Z whoman: yes, experimenting with #1= and cons cells =) 2017-12-06T06:55:22Z beach: There is such software, yes. But I can't remember the name now. 2017-12-06T06:57:10Z whoman: no problem =) i will explore closer after i digest this book 2017-12-06T06:57:37Z whoman: good to know it exists for an idea i have later (geometry) 2017-12-06T06:57:55Z beach: Yes, I even remember trying it out. 2017-12-06T06:58:39Z beach: Ah, "Sdraw" 2017-12-06T06:58:55Z mson quit (Quit: Connection closed for inactivity) 2017-12-06T06:59:00Z shka: graphviz can be used for that as well 2017-12-06T06:59:18Z beach: That would require some work. 2017-12-06T06:59:54Z shka: not that much, cl-graphviz even has tutorial just for drawning lists 2017-12-06T07:00:11Z bkst quit (Ping timeout: 255 seconds) 2017-12-06T07:01:08Z beach: But I can't remember the link. :( 2017-12-06T07:02:23Z beach: whoman: http://www.cs.cmu.edu/~dst/Lisp/sdraw/ 2017-12-06T07:03:08Z ak5 quit (Ping timeout: 255 seconds) 2017-12-06T07:03:19Z mishoo joined #lisp 2017-12-06T07:04:26Z whoman: ouu cool, thanks! 2017-12-06T07:04:51Z yangby joined #lisp 2017-12-06T07:07:10Z Karl_Dscc quit (Remote host closed the connection) 2017-12-06T07:10:20Z Zhivago: whoman: I would suggest the dot language of graphviz. 2017-12-06T07:11:43Z whoman: alright i will try that first 2017-12-06T07:12:15Z whoman: "The Common Lisp standard specifies the interface between a Lisp implementation and the editor it provides. The interface is a function called ED." 2017-12-06T07:16:50Z fikka joined #lisp 2017-12-06T07:17:16Z aeth: Implementation-specific. Doesn't work in SBCL out of the box, but describe gives me enough information. Looks like in sbcl it uses *ed-functions* 2017-12-06T07:17:24Z aeth: (setf *ed-functions* (list (lambda (x) (declare (ignore x)) (uiop:run-program "emacs")))) 2017-12-06T07:17:39Z aeth: That almost works, errors on exit, though. I'd also need to figure out how to use its argument. 2017-12-06T07:18:05Z aeth: It's probably not used enough for there to be a trivial-ed package that makes all this easy. 2017-12-06T07:18:54Z whoman: strange type errors with it 2017-12-06T07:19:13Z whoman: ; Evaluation aborted on # UIOP breakage 2017-12-06T15:03:17Z Shinmera: As in, UIOP fro QL, ASDF internal UIOP 2017-12-06T15:03:19Z Shinmera: *from 2017-12-06T15:03:41Z damke quit (Ping timeout: 240 seconds) 2017-12-06T15:03:49Z Xach: Hmm! 2017-12-06T15:04:37Z Shinmera: But that shouldn't have anything to do with the error that's in your failure report. That one is just complete nonsense to me still. 2017-12-06T15:04:40Z Xach: Shinmera: I don't think that's the case 2017-12-06T15:05:16Z Xach: Shinmera: I am using uiop and asdf 3.3.1 both from sbcl. 2017-12-06T15:05:21Z Shinmera: Huh. 2017-12-06T15:05:27Z Xach: and my failure report's fatalest bit is the stamp< issue. 2017-12-06T15:06:02Z bkst joined #lisp 2017-12-06T15:06:25Z Shinmera: Oh! I actually use stamp< in halftone 2017-12-06T15:06:28Z Shinmera: My bad 2017-12-06T15:07:19Z Xach: Now, I could see an argument that halftone is not to blame and it's a breaking UI change in uiop or asdf or something. 2017-12-06T15:07:33Z Xach: I don't know too much what should be expected, though 2017-12-06T15:07:40Z Shinmera: It is a breaking change for sure. 2017-12-06T15:07:58Z Shinmera: But then again ASDF already made another elsewhere 2017-12-06T15:08:01Z Shinmera: so 2017-12-06T15:08:23Z Shinmera: I guess one just can't count on ASDF being stable anymore. 2017-12-06T15:08:37Z milanj__ joined #lisp 2017-12-06T15:09:50Z Shinmera: Workaround pushed. 2017-12-06T15:10:10Z sjl__ joined #lisp 2017-12-06T15:10:10Z Xach: I really thought I tested 3.3.1 impacts last month. These new breakages surprise me. 2017-12-06T15:10:30Z Xach: I hate change and things that break stress me out! 2017-12-06T15:11:22Z EvW joined #lisp 2017-12-06T15:12:22Z Shinmera: A relatable sentiment 2017-12-06T15:14:10Z mson joined #lisp 2017-12-06T15:14:11Z mathrick quit (Read error: Connection reset by peer) 2017-12-06T15:17:02Z mishoo joined #lisp 2017-12-06T15:18:13Z waynecolvin joined #lisp 2017-12-06T15:18:43Z eudoxia: the stamp< thing is something Fare reported: https://twitter.com/Ngnghm/status/937885821272756226 2017-12-06T15:20:29Z nika joined #lisp 2017-12-06T15:22:05Z flamebeard quit (Quit: Leaving) 2017-12-06T15:22:12Z Shinmera: I prefer not having to use Twitter to notice if my software suddenly breaks 2017-12-06T15:22:37Z Cymew quit (Remote host closed the connection) 2017-12-06T15:25:21Z igemnace quit (Ping timeout: 240 seconds) 2017-12-06T15:26:09Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-06T15:26:26Z FreeBirdLjj joined #lisp 2017-12-06T15:29:01Z Cymew joined #lisp 2017-12-06T15:29:46Z waynecolvin quit (Quit: WeeChat 1.9.1) 2017-12-06T15:29:59Z eudoxia: yes 2017-12-06T15:30:37Z waynecolvin joined #lisp 2017-12-06T15:32:05Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-06T15:33:38Z Cymew quit (Ping timeout: 255 seconds) 2017-12-06T15:34:56Z Cymew joined #lisp 2017-12-06T15:36:04Z jackdaniel: twiiter takes over github, woo hoo ;-) 2017-12-06T15:38:02Z k-stz joined #lisp 2017-12-06T15:38:35Z dieggsy joined #lisp 2017-12-06T15:38:38Z paule32 quit (Ping timeout: 260 seconds) 2017-12-06T15:39:23Z Cymew quit (Ping timeout: 252 seconds) 2017-12-06T15:39:28Z oleo: is translate-pathname broken in sbcl ? 2017-12-06T15:39:45Z oleo: Pathname components from SOURCE and FROM args to TRANSLATE-PATHNAME 2017-12-06T15:39:46Z oleo: did not match: 2017-12-06T15:39:46Z oleo: :NEWEST NIL 2017-12-06T15:40:33Z oleo: and what the heck is that -> (SB-IMPL::TRANSLATE-COMPONENT :NEWEST NIL :NEWEST T) 2017-12-06T15:40:34Z paule32 joined #lisp 2017-12-06T15:40:50Z oleo: twice the same key ? 2017-12-06T15:41:05Z Cymew joined #lisp 2017-12-06T15:46:08Z Cymew quit (Ping timeout: 268 seconds) 2017-12-06T15:46:33Z jmercouris joined #lisp 2017-12-06T15:46:45Z jmercouris: Have you guys seen this? https://github.com/shinh/sedlisp 2017-12-06T15:47:29Z jmercouris: Seems to be using some RB somehow, maybe there is an RB to SED transpiler they are using 2017-12-06T15:47:51Z sjl__ is now known as sjl 2017-12-06T15:48:15Z oleo: http://dpaste.com/092X51K 2017-12-06T15:48:40Z jdz: oleo: it's a nice feature of CL being able to override keyword parameters. 2017-12-06T15:48:56Z Zhivago: How do you know if something is a transpiler or not? 2017-12-06T15:49:05Z wigust quit (Ping timeout: 240 seconds) 2017-12-06T15:49:31Z rippa joined #lisp 2017-12-06T15:50:14Z waynecolvin: maybe (lisp-implimetation-type) ? I think that just gives the name 2017-12-06T15:50:32Z Bike: oleo: not that i work with logical pathnames much, but why *.*.*? 2017-12-06T15:51:31Z jmercouris: Zhivago: What do you mean? I have no idea if he wrote it in ruby and just committed the sed, or literally wrote it in sed, there's no way for me to know actually 2017-12-06T15:51:51Z wigust joined #lisp 2017-12-06T15:51:55Z Jesin quit (Quit: Leaving) 2017-12-06T15:52:03Z Zhivago: What I mean is how can you tell if a program is a transpiler or if it is a compiler? 2017-12-06T15:53:13Z knobo3 quit (Ping timeout: 250 seconds) 2017-12-06T15:53:15Z Cymew joined #lisp 2017-12-06T15:53:36Z Bike: the documentation suggests that the ruby file is a different implementation of the same thing (lisp via convoluted text editing) 2017-12-06T15:54:35Z paule32 quit (Ping timeout: 255 seconds) 2017-12-06T15:55:37Z waynecolvin: maybe (disassemble function) ? 2017-12-06T15:56:15Z dec0n quit (Read error: Connection reset by peer) 2017-12-06T15:56:22Z mercourisj joined #lisp 2017-12-06T15:56:28Z mercourisj: Zhivago: My best guess (not being a compiler expert or anything) is that a transpiler goes from language a -> language b, whereas a compiler will go from language a -> machine code 2017-12-06T15:57:17Z Zhivago: How do you know which languages are machine code? 2017-12-06T15:57:41Z eudoxia: there is no principled distinction between a compiler and a transpiler tbh 2017-12-06T15:57:45Z Zhivago: Does a transpiler magically turn into a compiler if a new machine is developed? 2017-12-06T15:57:54Z Cymew quit (Ping timeout: 258 seconds) 2017-12-06T15:57:56Z mercourisj: Zhivago: Can they persisted as 1 and 0 without an additional program? 2017-12-06T15:57:57Z Zhivago: Ah. It's an incoherent term used by idiots. 2017-12-06T15:58:25Z Zhivago: What machine codes are 'persisted as 1 and 0'? 2017-12-06T15:58:28Z jmercouris quit (Ping timeout: 268 seconds) 2017-12-06T15:58:30Z eudoxia: you can e.g. compile a high-level language to an SSA, very asm-looking JavaScript 2017-12-06T15:58:38Z waynecolvin: transpilers are a specialized subset of compilers 2017-12-06T15:58:47Z mercourisj: Zhivago: I'm sorry you feel this way about me, I won't bother you anymore 2017-12-06T15:58:56Z Zhivago: wayne: So, how do you determine if a compiler is a transpiler or not? 2017-12-06T15:59:24Z Cymew joined #lisp 2017-12-06T16:00:09Z waynecolvin: all compilers transform source code to object code, just sometimes the output is text files for further processing 2017-12-06T16:00:50Z mercourisj: I'll just leave this here: https://en.wikipedia.org/wiki/Source-to-source_compiler 2017-12-06T16:00:55Z mercourisj: There seems to be a very clear definition 2017-12-06T16:01:13Z dieggsy quit (Quit: ERC (IRC client for Emacs 27.0.50)) 2017-12-06T16:01:58Z Zhivago: wayne: So, a compiler which outputs assembly is a transpiler? But a compiler which includes an assembler and outputs the result of assembly is a compiler? 2017-12-06T16:02:44Z Zhivago: mercourisj: We have compilers from one machine code to another. Therefore machine code is source code. Therefore all compilers are transpilers? 2017-12-06T16:02:44Z brendyn quit (Ping timeout: 276 seconds) 2017-12-06T16:03:18Z smurfrobot joined #lisp 2017-12-06T16:03:29Z norserob quit (Quit: leaving) 2017-12-06T16:03:45Z Cymew quit (Ping timeout: 248 seconds) 2017-12-06T16:03:49Z waynecolvin: and a CPU is a hardware interpreter 2017-12-06T16:03:53Z jmercouris joined #lisp 2017-12-06T16:03:55Z Bike: this seems kind of tangential to the intended topic. 2017-12-06T16:04:10Z waynecolvin: what was the topic agan? 2017-12-06T16:04:21Z _cosmonaut_ quit (Ping timeout: 240 seconds) 2017-12-06T16:04:46Z Bike: some sed lisp thing. 2017-12-06T16:05:03Z Shinmera: Which is also off-topic 2017-12-06T16:05:26Z jmercouris: Zhivago: See: "A source-to-source compiler translates between programming languages that operate at approximately the same level of abstraction, while a traditional compiler translates from a higher level programming language to a lower level programming language." 2017-12-06T16:05:28Z Cymew joined #lisp 2017-12-06T16:05:29Z Bike: yeah. seizing on a word on the side is unnecessarily hostile, is all 2017-12-06T16:06:02Z mercourisj quit (Ping timeout: 255 seconds) 2017-12-06T16:06:16Z jmercouris: Bike: Not only hostile, but incorrect 2017-12-06T16:06:27Z paule32 joined #lisp 2017-12-06T16:06:36Z Shinmera: Can we just drop this 2017-12-06T16:07:00Z Bike: well, you brought it up, so if you want to argue about it go ahead i guess. except not since it's definitely off topic. 2017-12-06T16:07:46Z mercourisj joined #lisp 2017-12-06T16:07:50Z smurfrobot quit (Ping timeout: 255 seconds) 2017-12-06T16:08:10Z Zhivago: jmercouris: Ok, so would a lisp to C compiler be a compiler, but a lisp to C compiler be a transpiler? 2017-12-06T16:08:37Z Zhivago: Rather, C to lisp compiler be a transpiler? 2017-12-06T16:08:48Z waynecolvin: i'd kind of like to know HOW to compie lisp to C... 2017-12-06T16:09:07Z Bike: use ecl? 2017-12-06T16:09:07Z Zhivago: It's easy enough -- take a look at ECLS for an example. 2017-12-06T16:09:28Z Bike: the ecl internals manual also helpfully explains some things, e.g. how closures are implemented. 2017-12-06T16:09:28Z _death: "transpiler" is just javascript newspeak, they need to come up with new terms for everything because they lack historical education.. 2017-12-06T16:09:31Z jackdaniel: right, yet this compiled code still depends in core library 2017-12-06T16:09:54Z jackdaniel: and many optimizations are performed on ecl size, so it's not naive transpilation 2017-12-06T16:10:05Z Cymew quit (Ping timeout: 255 seconds) 2017-12-06T16:10:21Z Zhivago: Ah, so if you're clever about it, it's not a transpiler? :) 2017-12-06T16:10:38Z jackdaniel: well, all compilers are transpilers to machine code then 2017-12-06T16:10:45Z waynecolvin: lisp500 had a lisp-to-c compiler of sorts but i couldn't get it to work 2017-12-06T16:10:46Z jackdaniel: and all interpreters are transpilers to bytecode 2017-12-06T16:11:01Z jackdaniel: taking too broad definition makes the term meaningless 2017-12-06T16:11:01Z Zhivago: Well, not all interpreters use bytecode. 2017-12-06T16:11:15Z Zhivago: The term seems meaningless to start with. 2017-12-06T16:11:46Z jmercouris quit (Ping timeout: 260 seconds) 2017-12-06T16:11:47Z ercourisjm joined #lisp 2017-12-06T16:11:53Z ercourisjm: Can someone explain what (documentation) wants for "doc-type"? It says "symbol" in the CLHS, but I don't understand what they want 2017-12-06T16:11:57Z Zhivago: Apparantly a transpiler targets a language of the same level of abstraction and doesn't do many optimizations. 2017-12-06T16:12:00Z jackdaniel: I tend to disagree, but not enough to try prove my point 2017-12-06T16:12:05Z quazimodo quit (Ping timeout: 240 seconds) 2017-12-06T16:12:17Z mercourisj quit (Ping timeout: 248 seconds) 2017-12-06T16:12:26Z _death: ercourisjm: it depends what you want documentation for.. for example it could be the symbol FUNCTION or the symbol VARIABLE.. 2017-12-06T16:12:34Z Zhivago: Although how we measure the level of abstraction or determing the critical level of optimization is unclear. 2017-12-06T16:12:34Z Cymew joined #lisp 2017-12-06T16:12:42Z jackdaniel: right, that's closer to my representation of this word 2017-12-06T16:12:42Z ercourisjm: _death: Is there a list of FUNCTION, VARIABLE, etc that I can look up? 2017-12-06T16:12:58Z _death: clhs documentation 2017-12-06T16:12:59Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_docume.htm 2017-12-06T16:13:07Z jackdaniel: many terms are fuzzy (especially in natural language). but right, not well defined term 2017-12-06T16:13:39Z ercourisjm: _death: Ah, I see the section now, ok got it 2017-12-06T16:13:42Z ercourisjm: _death: Thank you 2017-12-06T16:13:55Z _death: ercourisjm: well, actually VARIABLE is not there.. but it's also a generic function, so can be extended with new doc-types 2017-12-06T16:14:05Z warweasle joined #lisp 2017-12-06T16:14:10Z Bike: it is, pretty far down. 2017-12-06T16:14:20Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-06T16:14:23Z ercourisjm: _death: I see variable 2017-12-06T16:14:44Z fikka joined #lisp 2017-12-06T16:14:57Z _death: ercourisjm: right.. my memory didn't fail but my scanner did :D 2017-12-06T16:16:02Z oleo: what does being constant mean in lisp ? 2017-12-06T16:16:15Z oleo: is it a type too ? 2017-12-06T16:16:28Z june quit (Quit: Leaving) 2017-12-06T16:16:31Z ercourisjm: oleo: There is defconstant 2017-12-06T16:16:50Z ercourisjm: oleo: Apparently constant is a built in class 2017-12-06T16:17:03Z Cymew quit (Ping timeout: 248 seconds) 2017-12-06T16:17:05Z Bike: no it isn't. 2017-12-06T16:17:13Z alandipert: i am using lisp for some adventofcode problems, i'd much appreciate any thoughts or feedback on my solution for today's puzzle http://adventofcode.com/2017/day/6 https://github.com/alandipert/advent-of-code-2017/blob/master/day06.lisp 2017-12-06T16:17:17Z ercourisjm: Bike: Accordig to my repl (describe 'constant) it is 2017-12-06T16:17:41Z ercourisjm: Bike: Can you explain exactly what is going on then? I'm not doubting your opinion, just trying to understand 2017-12-06T16:18:06Z Bike: whatever package you're in has a symbol CONSTANT and uses it to name a class. 2017-12-06T16:18:21Z Bike: The CL package doesn't even have a symbol CONSTANT (try (find-symbol "CONSTANT" "CL")) 2017-12-06T16:18:40Z jmercouris joined #lisp 2017-12-06T16:18:42Z Cymew joined #lisp 2017-12-06T16:18:57Z Bike: defconstant makes constant bindings. there is no way to alter a constant binding portably. you can't shadow them. that's what a constant is. 2017-12-06T16:19:05Z fikka quit (Ping timeout: 240 seconds) 2017-12-06T16:19:06Z _death: alandipert: looks similar to mine.. https://gist.github.com/death/02e716211827683c48a9c580348fd5a5 2017-12-06T16:20:08Z oleo: constant wrt the machine address 2017-12-06T16:20:49Z oleo: err memory address 2017-12-06T16:20:53Z alandipert: _death thanks! i just learned a few things from yours 2017-12-06T16:21:04Z Bike: lisp has no concept of memory addresses. 2017-12-06T16:21:40Z oleo: ya 2017-12-06T16:22:07Z Bike: So don't bring them up. 2017-12-06T16:22:15Z ercourisjm quit (Ping timeout: 250 seconds) 2017-12-06T16:22:21Z _cosmonaut_ joined #lisp 2017-12-06T16:22:55Z Cymew quit (Ping timeout: 248 seconds) 2017-12-06T16:23:00Z lxpz quit (Remote host closed the connection) 2017-12-06T16:23:07Z truename: another advent of code: https://pastebin.com/ErizrCk1 2017-12-06T16:23:50Z lxpz joined #lisp 2017-12-06T16:24:48Z Cymew joined #lisp 2017-12-06T16:25:03Z jmercouris quit (Ping timeout: 248 seconds) 2017-12-06T16:25:41Z jmercouris joined #lisp 2017-12-06T16:26:41Z mercourisj joined #lisp 2017-12-06T16:26:47Z mercourisj: I've asked this quesiton awhile ago and looked through the IRC logs to try to find it but could not, what's the way to list all of the variables defied by defvar? 2017-12-06T16:26:50Z waynecolvin: [13]> (do-external-symbols (x (find-package "COMMON-LISP")) (print x)) 2017-12-06T16:27:05Z Bike: mercourisj: isn't one. 2017-12-06T16:27:26Z Bike: not standardly, anyway 2017-12-06T16:27:55Z Shinmera: Here's how to do it on some implementations. https://github.com/Shinmera/staple/blob/master/symbols.lisp#L198 2017-12-06T16:28:21Z mercourisj: What about just listing all symbols? is that standard? 2017-12-06T16:28:28Z mercourisj: I can just filter for things with earmuffs I guess right? 2017-12-06T16:28:31Z Bike: clhs do-all-symbols 2017-12-06T16:28:31Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_do_sym.htm 2017-12-06T16:28:44Z Bike: earmuffs are just a convention, but you could do that, yes. 2017-12-06T16:28:52Z Younder: and then.. filter 2017-12-06T16:29:04Z mercourisj: Bike: Right yeah, that's what I'm saying, it's my own program after all 2017-12-06T16:29:18Z Cymew quit (Ping timeout: 268 seconds) 2017-12-06T16:29:29Z mercourisj: Shinmera: In your function, what does it mean for a symbol to special? 2017-12-06T16:29:34Z _death: (meta `(defvar ,(gensym))) ; do-all-symbols won't find it :) 2017-12-06T16:30:05Z jmercouris quit (Ping timeout: 240 seconds) 2017-12-06T16:30:24Z Bike: mercourisj: globally proclaimed special, which is what defvar does. 2017-12-06T16:30:28Z whoman: i think gensym is doing it wrong 2017-12-06T16:30:59Z Younder: Look Lisp allows you to enter a string for documantaion. It is however optional and should be. But if the interface is documented it should be possible to figure out what function you want. 2017-12-06T16:30:59Z Cymew joined #lisp 2017-12-06T16:31:09Z whoman: what is Look Lisp? 2017-12-06T16:31:36Z Younder: whoman, sigh Look.. Lisp 2017-12-06T16:31:38Z Bike: "look" is being used as a disjunct. 2017-12-06T16:31:45Z whoman: sigh Look ?? 2017-12-06T16:31:54Z Bike: don't be asinine. 2017-12-06T16:31:57Z whoman: i know. pointing at missing comma or other kind of pause 2017-12-06T16:31:59Z orivej quit (Ping timeout: 248 seconds) 2017-12-06T16:32:23Z whoman: .... asinine would be typing like a sloppy pig and expecting everyone to mentally compensate 2017-12-06T16:32:40Z jmercouris joined #lisp 2017-12-06T16:32:46Z jmercouris: Shinmera: Okay, very cool, thank you for sharing! 2017-12-06T16:32:49Z jmercouris: I'm going to stay offline until my connection stops breaking, sorry for the lurker spam 2017-12-06T16:32:54Z whoman: and of course usually those times being the times under emotion or stress or anger, which never leads to clarity or understanding. 2017-12-06T16:32:55Z Younder: whoman, thx 2017-12-06T16:33:05Z whoman: i want to point out the word "inter-face".. =) 2017-12-06T16:33:08Z Bike: you can just say that directly. 2017-12-06T16:33:37Z whoman: not usually the kind of thing i would break my idle for sharing =) 2017-12-06T16:34:00Z arbv quit (Remote host closed the connection) 2017-12-06T16:34:27Z mercourisj quit (Ping timeout: 240 seconds) 2017-12-06T16:34:39Z Younder: spam in the can, woman, a scam. 2017-12-06T16:35:01Z Cymew quit (Ping timeout: 240 seconds) 2017-12-06T16:35:14Z whoman: it is understood that listing symbols is how we inter-face with lisp. which is interesting because 'graphical' user inter-faces are probably less meaningfull due to not being as linguistic as text/repl/tui 2017-12-06T16:36:57Z Cymew joined #lisp 2017-12-06T16:37:29Z flip214: I tried to subscribe to the elsconf ML; the confirmation link arrived within a minute, but there's no password or welcome message after ~15 minutes.... 2017-12-06T16:37:47Z flip214: I hope someone is concerned about that! ;) 2017-12-06T16:38:01Z wigust quit (Ping timeout: 240 seconds) 2017-12-06T16:38:54Z Jesin joined #lisp 2017-12-06T16:39:54Z knobo3 joined #lisp 2017-12-06T16:40:41Z antoszka: flip214: I don't think you actually need the password to use the ML. 2017-12-06T16:41:02Z flip214: antoszka: for reading the archives I need it. 2017-12-06T16:41:15Z antoszka: Ah, okay, guess I never needed to do that. 2017-12-06T16:41:37Z Cymew quit (Ping timeout: 248 seconds) 2017-12-06T16:41:39Z flip214: Well, I'd like to get some more information, to present to my employer... 2017-12-06T16:41:45Z varjag quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-12-06T16:42:02Z jmercouris quit (Ping timeout: 255 seconds) 2017-12-06T16:42:57Z Cymew joined #lisp 2017-12-06T16:44:00Z moei joined #lisp 2017-12-06T16:45:01Z knobo3 quit (Ping timeout: 240 seconds) 2017-12-06T16:46:49Z flip214: ah, sorry for the noise. there's no automatic welcome mail, but "Awaiting moderator approval" 2017-12-06T16:47:14Z Cymew quit (Ping timeout: 255 seconds) 2017-12-06T16:52:30Z osune joined #lisp 2017-12-06T16:53:00Z warweasle is now known as warweasle_brb 2017-12-06T16:54:31Z mathi_aihtam joined #lisp 2017-12-06T16:54:46Z wigust joined #lisp 2017-12-06T16:58:29Z mak81[m] joined #lisp 2017-12-06T17:00:51Z EvW quit (Ping timeout: 240 seconds) 2017-12-06T17:00:53Z Guest94462 quit (Remote host closed the connection) 2017-12-06T17:01:14Z mak81[m] left #lisp 2017-12-06T17:01:20Z Guest94462 joined #lisp 2017-12-06T17:04:21Z Xach: Shinmera: looks good, thanks 2017-12-06T17:06:38Z neoncontrails joined #lisp 2017-12-06T17:07:14Z nowhere_man quit (Remote host closed the connection) 2017-12-06T17:09:09Z fikka joined #lisp 2017-12-06T17:09:44Z warweasle_brb is now known as warweasle 2017-12-06T17:13:51Z Cymew joined #lisp 2017-12-06T17:14:34Z fikka quit (Ping timeout: 258 seconds) 2017-12-06T17:16:36Z zmt00 joined #lisp 2017-12-06T17:18:17Z Cymew quit (Ping timeout: 260 seconds) 2017-12-06T17:19:29Z Amplituhedron quit (Ping timeout: 248 seconds) 2017-12-06T17:19:54Z Cymew joined #lisp 2017-12-06T17:20:45Z terpri` joined #lisp 2017-12-06T17:21:05Z terpri quit (Ping timeout: 248 seconds) 2017-12-06T17:21:27Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-12-06T17:21:28Z Karl_Dscc joined #lisp 2017-12-06T17:23:11Z Karl_Dscc quit (Remote host closed the connection) 2017-12-06T17:23:56Z mson quit (Quit: Connection closed for inactivity) 2017-12-06T17:24:15Z Cymew quit (Ping timeout: 248 seconds) 2017-12-06T17:29:37Z araujo joined #lisp 2017-12-06T17:33:48Z varjag joined #lisp 2017-12-06T17:39:02Z khisanth_ quit (Ping timeout: 260 seconds) 2017-12-06T17:40:20Z Devon quit (Remote host closed the connection) 2017-12-06T17:40:30Z khisanth_ joined #lisp 2017-12-06T17:42:17Z borodust: Xach: do you have a time for quick test? 2017-12-06T17:42:33Z Xach: borodust: sure 2017-12-06T17:49:01Z lnostdal quit (Ping timeout: 240 seconds) 2017-12-06T17:49:25Z borodust: Xach: thanks much for all your time 2017-12-06T17:51:04Z Xach: Looking forward to playing with it, going to write some toys and see how it goes 2017-12-06T17:52:29Z hhdave quit (Ping timeout: 255 seconds) 2017-12-06T17:52:40Z borodust: cool! enjoy :) 2017-12-06T17:52:56Z Cymew joined #lisp 2017-12-06T17:52:56Z borodust: i'll update dist with the fix in the meantime 2017-12-06T17:53:50Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-06T17:54:57Z Xach: borodust: can you populate canonical-distinfo-url? 2017-12-06T17:57:14Z borodust: Xach: hmm, not sure how i should do that 2017-12-06T17:57:22Z Cymew quit (Ping timeout: 264 seconds) 2017-12-06T17:57:45Z lnostdal joined #lisp 2017-12-06T17:58:11Z SaganMan quit (Quit: laters) 2017-12-06T17:58:33Z Xach: are your dists indelible? can you revert to previous dists by url? 2017-12-06T17:58:57Z Cymew joined #lisp 2017-12-06T17:59:23Z borodust: nope, there's only one dist 2017-12-06T17:59:58Z Xach: then the canonical distinfo url is the same as the subscription url 2017-12-06T17:59:59Z borodust: like, i clean dist directory every time and put latest dist 2017-12-06T18:00:13Z Xach: ok. that is a different style from the "main" quicklisp dist 2017-12-06T18:00:13Z borodust: *instead 2017-12-06T18:02:31Z borodust: Xach: yeah, basically, i have no idea what i am doing 2017-12-06T18:02:51Z Xach: borodust: no worries! there are no docs yet for how to do it 2017-12-06T18:02:56Z Xach is working on some 2017-12-06T18:03:12Z Cymew quit (Ping timeout: 240 seconds) 2017-12-06T18:04:51Z Cymew joined #lisp 2017-12-06T18:04:56Z Xach: borodust: but for quicklisp, all new stuff is added, and the old stuff stays in place, and new dists point to a mix of old and new archives 2017-12-06T18:05:27Z Xach: so one distinfo.txt is updated to point to the new system / release indexes, but the old ones stay in place pointing at older stuff 2017-12-06T18:05:41Z Xach: but there is a second distinfo.txt that never changes that matches up to that particular set of stuff 2017-12-06T18:05:41Z FreeBirdLjj joined #lisp 2017-12-06T18:06:30Z borodust: Xach: how do i tell quicklisp client to choose between dist versions? 2017-12-06T18:06:47Z pseudonymous joined #lisp 2017-12-06T18:07:01Z Xach: borodust: http://blog.quicklisp.org/2011/08/going-back-in-dist-time.html has the guide 2017-12-06T18:07:08Z borodust: ah, thank you! 2017-12-06T18:07:19Z borodust: cool 2017-12-06T18:09:07Z raphaelss joined #lisp 2017-12-06T18:09:35Z Cymew quit (Ping timeout: 248 seconds) 2017-12-06T18:10:46Z ski quit (Ping timeout: 260 seconds) 2017-12-06T18:10:50Z Cymew joined #lisp 2017-12-06T18:10:55Z hexfive joined #lisp 2017-12-06T18:12:31Z soma_ joined #lisp 2017-12-06T18:15:27Z Cymew quit (Ping timeout: 248 seconds) 2017-12-06T18:15:47Z rumbler3_ joined #lisp 2017-12-06T18:16:34Z dieggsy joined #lisp 2017-12-06T18:19:20Z soma_ quit (Ping timeout: 260 seconds) 2017-12-06T18:19:35Z fikka joined #lisp 2017-12-06T18:20:35Z rumbler3_ quit (Ping timeout: 255 seconds) 2017-12-06T18:22:57Z _cosmonaut_ quit (Ping timeout: 240 seconds) 2017-12-06T18:23:03Z shka joined #lisp 2017-12-06T18:28:41Z fikka quit (Ping timeout: 240 seconds) 2017-12-06T18:32:31Z m00natic quit (Ping timeout: 248 seconds) 2017-12-06T18:34:41Z nika quit (Quit: Leaving...) 2017-12-06T18:34:53Z osune: Xach: is this the recommended way to enable a custom dist too? 2017-12-06T18:34:54Z neoncontrails quit (Remote host closed the connection) 2017-12-06T18:35:14Z nika joined #lisp 2017-12-06T18:35:25Z nika quit (Client Quit) 2017-12-06T18:35:43Z mson joined #lisp 2017-12-06T18:35:54Z Xach: osune: install-dist is the way to do that 2017-12-06T18:36:21Z osune: thanks 2017-12-06T18:38:07Z shka: good evening 2017-12-06T18:40:50Z kmb joined #lisp 2017-12-06T18:42:20Z Karl_Dscc joined #lisp 2017-12-06T18:42:39Z neoncontrails joined #lisp 2017-12-06T18:49:21Z phoe: I want to use a hash table for storing vectors of 16 (unsigned-byte 8)s. How should I do that? EQUALP? 2017-12-06T18:49:53Z Xach: phoe: "storing" as keys? 2017-12-06T18:49:58Z phoe: Xach: yes 2017-12-06T18:50:19Z shka: phoe: custom hash function, custom comparsion functin 2017-12-06T18:51:05Z Xach: phoe: equalp works. 2017-12-06T18:54:26Z Poeticode is now known as Poetichristmas 2017-12-06T18:55:06Z pjb: phoe: yes, you have to use equalp. Notice that if they were vectors containing strings, strings would be compared case insensively. 2017-12-06T18:55:07Z yeticry_ joined #lisp 2017-12-06T18:55:22Z Plazma left #lisp 2017-12-06T18:55:35Z fikka joined #lisp 2017-12-06T18:55:50Z pjb: Also: (equalp #(#\a #\b #\c) "Abc") #| --> t |# 2017-12-06T18:58:13Z EvW1 joined #lisp 2017-12-06T18:58:53Z yeticry quit (Ping timeout: 276 seconds) 2017-12-06T19:05:51Z strelox quit (Remote host closed the connection) 2017-12-06T19:13:45Z dieggsy quit (Remote host closed the connection) 2017-12-06T19:17:55Z ski joined #lisp 2017-12-06T19:19:27Z fikka quit (Ping timeout: 248 seconds) 2017-12-06T19:21:03Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-06T19:22:03Z gendl: Hi, if I have an error object in a variable, how can I actually "throw" that error and land in the debugger? 2017-12-06T19:22:30Z Shinmera: SIGNAL/ERROR/WARN? 2017-12-06T19:23:00Z Bike: it's called signaling rather than throwing. 2017-12-06T19:23:11Z gendl: Bike: sorry. Ok. 2017-12-06T19:23:14Z Bike: if you aren't worried about any handlers, you can call invoke-debugger directly. 2017-12-06T19:23:29Z gendl: I have a handler-case like this: 2017-12-06T19:23:32Z Bike: but otherwise, ERROR signals and then invokes the debugger if there aren't handlers. 2017-12-06T19:24:07Z gendl: (handler-case (... some body...) (error (err) (signal err))) 2017-12-06T19:24:12Z gendl: can I do that? 2017-12-06T19:24:20Z Bike: sure. 2017-12-06T19:24:36Z gendl: I have an existing handler-case, I want to keep it mostly the same, but just have it signal the error right now for debugging purposes. 2017-12-06T19:24:45Z jasom: gendl: handler-bind will automatically resignal if you don't have a non-local exit; this is one of several differences between bind and case 2017-12-06T19:24:54Z gendl: In production it would do something different with that error. 2017-12-06T19:25:11Z jfb4 quit (Ping timeout: 255 seconds) 2017-12-06T19:25:22Z Bike: jasom: this is slightly inaccurate- rather than resignalling, it just doesn't stop the existing signaling from continuing 2017-12-06T19:25:25Z jackdaniel: handler-bind doesn't unwind the stack (important note if you are interested in a backtrace) 2017-12-06T19:25:31Z jasom: Bike: correct 2017-12-06T19:25:46Z Bike: i mean, maybe the same result here, i don't know 2017-12-06T19:25:46Z gendl: yes, i'm interested in a backtrace. 2017-12-06T19:25:48Z jasom: gendl: if you want a backtrace for debugging you want handler-bind 2017-12-06T19:26:21Z gendl: Ok. 2017-12-06T19:26:53Z jackdaniel: nb, if you want to have backtrace and actually handle the error, you want handler-bind inside handler-case ;) 2017-12-06T19:26:54Z gendl: so I can't do what I'm trying to do by just tweaking this handler-case - 2017-12-06T19:27:00Z jasom: gendl: for logging backtraces http://shinmera.github.io/dissect/ has a pretty good out-of-the-box experience; you can literally just bind #'dissect:present and be done. 2017-12-06T19:27:01Z jfb4 joined #lisp 2017-12-06T19:27:31Z gendl: jasom: thanks, I'll check it out. 2017-12-06T19:27:52Z jasom: gendl: handler-case will give you the backtrace for the scope in which the handler-case appears (the stack has already unwound to there by this point) handler-bind will have available the stacktrace at the point of the signal (the stack has yet to be unwound) 2017-12-06T19:28:20Z gendl: got it. 2017-12-06T19:28:20Z LocaMocha quit (Ping timeout: 255 seconds) 2017-12-06T19:29:03Z Shinmera: As jasom mentioned, with dissect you can capture the stack information and pass it around as you want. 2017-12-06T19:29:31Z jasom: this is also why handler-bind doesn't silence the error; you need to manually unwind the stack (e.g. throw) , wherase handler-case has already unwound the stack for you. 2017-12-06T19:32:21Z milanj__ quit (Quit: This computer has gone to sleep) 2017-12-06T19:42:49Z k-stz: In 64bit sbcl, fixnum are of size 2^63, this can be verified by adding `most-positive-fixnum' and `most-negative-fixnum'. That leaves a single bit (63+1) to be the lowtag identifying the type in memory. 2017-12-06T19:42:52Z k-stz: I try to understand how a single bit suffices for this, also reading the sbcl internals talks about lowtags. Where memory is dword (2x64bit) alligned and the least significant, low, 4bits of that alligned memory is used for type information. 2017-12-06T19:43:39Z shka: k-stz: either it is a fixnum or not? 2017-12-06T19:45:55Z k-stz: in sbcl all lips objects have type information in memory, so should't there be more bits to distinguish them all 2017-12-06T19:46:41Z jsnell: you can have different numbers of tag bits for different types 2017-12-06T19:46:58Z shka: well, to be fair i imagine that only fixnums and floats are worth inlining tag 2017-12-06T19:47:40Z shka: everything else is pretty much passed by reference anyway 2017-12-06T19:47:46Z k-stz: I have to admit I have no idea abou this stuff, so even basic stuff eludes me 2017-12-06T19:47:56Z jsnell: shka, that's just totally incorrect 2017-12-06T19:48:17Z shka: oh, ok 2017-12-06T19:49:30Z shka: jsnell: explain it, please 2017-12-06T19:49:33Z jsnell: k-stz: xxx0 are all fixnums; xxx1 are types of other values, with 3 bits to identify further 2017-12-06T19:52:18Z jsnell: shka: sorry, 2017-12-06T19:52:39Z jsnell: since literally everything you said is wrong, it's kind of hard to correct 2017-12-06T19:52:51Z Guest24518 quit (Ping timeout: 260 seconds) 2017-12-06T19:54:21Z shka: jsnell: ok, it is understandable 2017-12-06T19:58:07Z jsnell: I guess looking at https://github.com/sbcl/sbcl/blob/master/src/compiler/generic/early-objdef.lisp would be a useful thing to look at 2017-12-06T19:58:41Z jsnell: (and it's two bits for fixnums, so shame on me) 2017-12-06T20:00:19Z k-stz: So if i understand correctly: every pointer that starts with a 0, is identified to point to a fixnum, else the next 3 bits are read to identify other types. Now these 4bit-tag are already part of the pointer to the object in the lisp-heap, because they are dword aligned, the pointer doesn't need the lower 4 bits to distinguish the 16bytes within. 2017-12-06T20:00:31Z k-stz: *that _ends_ with a 0 bit 2017-12-06T20:00:51Z shka: jsnell: this looks fascinating 2017-12-06T20:01:05Z ski quit (Ping timeout: 248 seconds) 2017-12-06T20:01:30Z damke joined #lisp 2017-12-06T20:01:49Z shka: i was awed by sbcl ever since khoung blog post with forth implementation 2017-12-06T20:02:18Z sjl: k-stz: ending with a 0 doesn't mean it points to a fixnum -- it means the fixnum is immediately encoded in the other bits 2017-12-06T20:02:21Z sjl: there is no pointer 2017-12-06T20:02:50Z k-stz: sjl: ah that makes sense! because fixnums are supposed to guard against heap allocation 2017-12-06T20:03:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-06T20:03:04Z sjl: if by "guard against" you mean "avoid", yes 2017-12-06T20:03:10Z sjl: e.g. in > (defun foo (x) (+ 7 x)) 2017-12-06T20:03:19Z k-stz: sjl: thanks, I would have missed that 2017-12-06T20:03:21Z sjl: if I (disassemble 'foo) I get 2017-12-06T20:03:23Z sjl: ; 1D: BF0E000000 MOV EDI, 14 2017-12-06T20:03:32Z xrash joined #lisp 2017-12-06T20:03:39Z sjl: it moves the immediate value 14 into edi before calling the + function 2017-12-06T20:04:04Z sjl: because 111 is a raw 7, and 1110 is the tagged 7 2017-12-06T20:04:26Z k-stz: sjl: great example, thank you! 2017-12-06T20:04:28Z Shinmera: sjl: You can disassemble function objects too, so just (disassemble (lambda ..)) 2017-12-06T20:04:58Z sjl: Shinmera: yeah, I forget why I was in the habit of not doing that 2017-12-06T20:09:09Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-12-06T20:10:59Z nowhere_man joined #lisp 2017-12-06T20:11:26Z pjb: k-stz: there are other immediate values, notably characters. 2017-12-06T20:11:44Z pjb: with 8 remaining tag bits, you can have fun. 2017-12-06T20:13:02Z ski joined #lisp 2017-12-06T20:13:35Z safe joined #lisp 2017-12-06T20:14:07Z k-stz: that seems clever to me, is that common implementation practice? I guess the C malloc()/free() couple implementation might use those tricks too 2017-12-06T20:14:22Z pjb: Yes, almost all implementations use this kind of tricks. 2017-12-06T20:15:12Z pjb: In one or two old implementation, the type tag was relatively to a memory page, so all the object allocated in a given page were of the same type. But AFAIK, all implementations had immediate values, for optimization. 2017-12-06T20:15:15Z emerson quit (Quit: WeeChat 1.9.1) 2017-12-06T20:15:29Z sjl: k-stz: it's been common/around since 1966 https://www.snellman.net/blog/archive/2017-09-04-lisp-numbers/ 2017-12-06T20:15:51Z pjb: Since the start, the first LISP implementation used this trick, which was natural on the 7090. 2017-12-06T20:16:02Z emerson joined #lisp 2017-12-06T20:16:19Z pjb: Actually, one could say the 709/7090 was a lisp machine; it even had a EVAL I mean, XEC instruction! 2017-12-06T20:16:37Z rumbler3_ joined #lisp 2017-12-06T20:16:52Z sjl: pjb: do you have a source for that? the post I linked says disagrees that lisp 1/1.5 did it, and cites their manuals 2017-12-06T20:17:18Z pjb: It predates LISP, even: http://informatimago.com/articles/flpl/index.html 2017-12-06T20:18:09Z k-stz: A the concept seems to be called "tagged pointers" 2017-12-06T20:18:22Z sjl: sure. but according to the manuals, lisp 1/1.5 didn't do it, even if it was around beforehand 2017-12-06T20:18:46Z pjb: https://www.reddit.com/r/lisp/comments/4mp4oy/lisp_i_and_lisp_15_manuals_source_code/ 2017-12-06T20:21:53Z EvW1 quit (Ping timeout: 255 seconds) 2017-12-06T20:22:13Z osune: I'm looking at database bindings for storing a little bit of data (3 - 4 relational tables ; ~ 300 rows each ). I would go for cl-sqlite but I've seen rucksack(http://quickdocs.org/rucksack/ ), too. Has somebody experience with this? 2017-12-06T20:23:23Z Cymew joined #lisp 2017-12-06T20:23:40Z zooey quit (Ping timeout: 248 seconds) 2017-12-06T20:24:38Z jsnell: pjb: yes, those are the exact sources that show that those Lisp implementations did not encode immediate values in pointer values via tagging 2017-12-06T20:25:21Z pjb: It had TAGMSK and $FIX and $FLOAT to distinguish between those two types. 2017-12-06T20:25:25Z osune: or in extension plank ( http://quickdocs.org/planks/ ) ? 2017-12-06T20:25:27Z zooey joined #lisp 2017-12-06T20:27:45Z jsnell: pjb: you have a very curious definition of immediate, I guess. a number in Lisp I is four conses + a heap-allocated raw value 2017-12-06T20:27:46Z Cymew quit (Ping timeout: 258 seconds) 2017-12-06T20:30:38Z pjb: You may be right, indeed, MKNO conses… 2017-12-06T20:30:38Z josemanuel quit (Quit: leaving) 2017-12-06T20:31:11Z rumbler3_ quit (*.net *.split) 2017-12-06T20:31:11Z safe quit (*.net *.split) 2017-12-06T20:31:11Z shka quit (*.net *.split) 2017-12-06T20:31:11Z jself quit (*.net *.split) 2017-12-06T20:31:12Z johs quit (*.net *.split) 2017-12-06T20:31:12Z Arcaelyx quit (*.net *.split) 2017-12-06T20:31:12Z beaky quit (*.net *.split) 2017-12-06T20:31:12Z dotc quit (*.net *.split) 2017-12-06T20:31:12Z ArthurAGleckler[ quit (*.net *.split) 2017-12-06T20:31:13Z RichardPaulBck[m quit (*.net *.split) 2017-12-06T20:31:13Z dirb quit (*.net *.split) 2017-12-06T20:31:13Z equalunique[m] quit (*.net *.split) 2017-12-06T20:31:13Z astronavt[m] quit (*.net *.split) 2017-12-06T20:31:13Z Lord_of_Life quit (*.net *.split) 2017-12-06T20:31:13Z les quit (*.net *.split) 2017-12-06T20:31:13Z GreaseMonkey quit (*.net *.split) 2017-12-06T20:31:13Z jerme_ quit (*.net *.split) 2017-12-06T20:31:13Z alms_clozure quit (*.net *.split) 2017-12-06T20:31:14Z arrsim quit (*.net *.split) 2017-12-06T20:31:14Z cyraxjoe quit (*.net *.split) 2017-12-06T20:31:14Z wladz quit (*.net *.split) 2017-12-06T20:31:14Z salva quit (*.net *.split) 2017-12-06T20:31:14Z sjl quit (*.net *.split) 2017-12-06T20:31:14Z oleo quit (*.net *.split) 2017-12-06T20:31:14Z xantoz quit (*.net *.split) 2017-12-06T20:31:14Z dmiles quit (*.net *.split) 2017-12-06T20:31:15Z vap1 quit (*.net *.split) 2017-12-06T20:31:15Z vlatkoB quit (*.net *.split) 2017-12-06T20:31:15Z schweers quit (*.net *.split) 2017-12-06T20:31:15Z kjeldahl quit (*.net *.split) 2017-12-06T20:31:15Z Oladon quit (*.net *.split) 2017-12-06T20:31:15Z trigt[m] quit (*.net *.split) 2017-12-06T20:31:16Z Guest53490 quit (*.net *.split) 2017-12-06T20:31:16Z kammd[m] quit (*.net *.split) 2017-12-06T20:31:16Z akr quit (*.net *.split) 2017-12-06T20:31:16Z l04m33[m] quit (*.net *.split) 2017-12-06T20:31:16Z happy_gnu[m] quit (*.net *.split) 2017-12-06T20:31:16Z _krator44 quit (*.net *.split) 2017-12-06T20:31:16Z ggherdov quit (*.net *.split) 2017-12-06T20:32:02Z oleo joined #lisp 2017-12-06T20:32:57Z milanj joined #lisp 2017-12-06T20:33:39Z ggherdov joined #lisp 2017-12-06T20:33:41Z BitPuffin|osx quit (Ping timeout: 260 seconds) 2017-12-06T20:33:42Z jrm quit (Ping timeout: 260 seconds) 2017-12-06T20:33:47Z beaky joined #lisp 2017-12-06T20:33:48Z tkd quit (Ping timeout: 246 seconds) 2017-12-06T20:34:28Z Jach[m] quit (Ping timeout: 240 seconds) 2017-12-06T20:34:51Z Guest44824 quit (Ping timeout: 246 seconds) 2017-12-06T20:34:51Z hdurer[m] quit (Ping timeout: 246 seconds) 2017-12-06T20:34:57Z plll[m] quit (Ping timeout: 255 seconds) 2017-12-06T20:34:57Z thorondor[m] quit (Ping timeout: 255 seconds) 2017-12-06T20:34:57Z CharlieBrown quit (Ping timeout: 255 seconds) 2017-12-06T20:34:58Z dahs81[m] quit (Ping timeout: 248 seconds) 2017-12-06T20:35:28Z hiq[m] quit (Ping timeout: 240 seconds) 2017-12-06T20:35:28Z cryptomarauder[m quit (Ping timeout: 240 seconds) 2017-12-06T20:35:30Z Sovereign_Bleak quit (Ping timeout: 248 seconds) 2017-12-06T20:35:43Z phoe: osune: that's not a lot of data, rucksack might be able to help you here if you're looking for a portable solution. 2017-12-06T20:36:06Z jrm joined #lisp 2017-12-06T20:36:17Z Lord_of_Life joined #lisp 2017-12-06T20:39:17Z Tobbi joined #lisp 2017-12-06T20:40:18Z osune: phoe: thanks. Can you give pointers on how rucksack relates to planks, too? 2017-12-06T20:40:22Z fikka joined #lisp 2017-12-06T20:45:14Z thudec joined #lisp 2017-12-06T20:45:29Z fikka quit (Ping timeout: 276 seconds) 2017-12-06T20:45:31Z motersen joined #lisp 2017-12-06T20:47:54Z safe joined #lisp 2017-12-06T20:47:54Z shka joined #lisp 2017-12-06T20:47:54Z jself joined #lisp 2017-12-06T20:47:54Z johs joined #lisp 2017-12-06T20:47:54Z Arcaelyx joined #lisp 2017-12-06T20:47:54Z dotc joined #lisp 2017-12-06T20:47:54Z les joined #lisp 2017-12-06T20:47:54Z GreaseMonkey joined #lisp 2017-12-06T20:47:54Z jerme_ joined #lisp 2017-12-06T20:47:54Z alms_clozure joined #lisp 2017-12-06T20:47:54Z arrsim joined #lisp 2017-12-06T20:47:54Z cyraxjoe joined #lisp 2017-12-06T20:47:54Z wladz joined #lisp 2017-12-06T20:47:54Z salva joined #lisp 2017-12-06T20:48:00Z sjl joined #lisp 2017-12-06T20:48:00Z xantoz joined #lisp 2017-12-06T20:48:00Z dmiles joined #lisp 2017-12-06T20:48:00Z vap1 joined #lisp 2017-12-06T20:48:00Z vlatkoB joined #lisp 2017-12-06T20:48:00Z schweers joined #lisp 2017-12-06T20:48:00Z kjeldahl joined #lisp 2017-12-06T20:48:00Z Oladon joined #lisp 2017-12-06T20:48:00Z _krator44 joined #lisp 2017-12-06T20:48:23Z Arcaelyx quit (Max SendQ exceeded) 2017-12-06T20:48:33Z sjl quit (Quit: WeeChat 1.9) 2017-12-06T20:48:42Z sjl__ joined #lisp 2017-12-06T20:49:18Z sjl__ is now known as sjl 2017-12-06T20:49:47Z Arcaelyx joined #lisp 2017-12-06T20:50:27Z Firedancer quit (Ping timeout: 269 seconds) 2017-12-06T20:51:49Z thudec left #lisp 2017-12-06T20:52:12Z dmiles quit (Ping timeout: 240 seconds) 2017-12-06T20:53:18Z Firedancer joined #lisp 2017-12-06T20:54:25Z dmiles joined #lisp 2017-12-06T20:56:27Z khisanth_ quit (Ping timeout: 240 seconds) 2017-12-06T21:01:07Z tkd joined #lisp 2017-12-06T21:01:34Z milanj quit (Quit: This computer has gone to sleep) 2017-12-06T21:03:11Z felideon: phoe: on a cursory look, planks seems to abstract the rucksack transactions and serialization stuff. 2017-12-06T21:03:14Z felideon: err osune 2017-12-06T21:03:48Z EvW joined #lisp 2017-12-06T21:03:55Z shka quit (Ping timeout: 250 seconds) 2017-12-06T21:04:01Z osune: thanks, i ll take a look at the rucksack tutorial and go from there 2017-12-06T21:04:07Z felideon: osune: so if your 4 tables map nicely to CLOS objects, planks might be worth a shot. 2017-12-06T21:04:30Z felideon: osune: glwt because the link seems to be dead, unless you found it. 2017-12-06T21:04:43Z milanj joined #lisp 2017-12-06T21:05:10Z thijso joined #lisp 2017-12-06T21:05:18Z osune: planks didn't provide a tutorial / manual / docstrings or i missed them all ; so I was unsure what it provides 2017-12-06T21:05:50Z osune: felideon: the tutorial is in the quicklisp sources :) 2017-12-06T21:06:00Z felideon: ah cool. 2017-12-06T21:06:13Z felideon: osune: seems like https://github.com/drewc/planks/blob/master/src/persistent-objects.lisp is where the magic happens. 2017-12-06T21:06:50Z felideon: I'm assuming you want to inherit PERSISTENT-STANDARD-OBJECT when you create your classes. 2017-12-06T21:08:25Z osune: you are assuming wrong cause I have no idea what you are talking about ! This is my first dip into persistance in common lisp beside from "write it to a file", so this symbol is unkown to me. 2017-12-06T21:09:28Z osune: sorry on second thought this reads harsher than joking 2017-12-06T21:09:32Z paule32 quit (Ping timeout: 276 seconds) 2017-12-06T21:09:49Z khisanth_ joined #lisp 2017-12-06T21:10:16Z felideon: osune: no worries, I mispoke. I should have said 'I would imagine having to inherit' 2017-12-06T21:10:39Z eudoxia quit (Quit: Leaving) 2017-12-06T21:10:47Z felideon: osune: That class is defined by planks, which is why it is "unknown" to you. 2017-12-06T21:13:04Z osune: ahh I see. I think I start to understand the rucksack way first, from there I hope to understand what problem planks tries to solve. Thanks for your help 2017-12-06T21:13:04Z fikka joined #lisp 2017-12-06T21:13:56Z mishoo quit (Ping timeout: 260 seconds) 2017-12-06T21:14:08Z felideon: You might also just want to check out http://marijnhaverbeke.nl/postmodern/ 2017-12-06T21:14:42Z felideon: If you were to use postgres 2017-12-06T21:14:51Z vlatkoB quit (Remote host closed the connection) 2017-12-06T21:15:21Z warweasle quit (Quit: later) 2017-12-06T21:16:03Z osune: I think this is to heavy weight for my current usecase. But I keep it in mind. thanks 2017-12-06T21:16:09Z fikka quit (Client Quit) 2017-12-06T21:16:29Z fikka joined #lisp 2017-12-06T21:16:34Z felideon: no problem. 2017-12-06T21:19:41Z motersen quit (Ping timeout: 255 seconds) 2017-12-06T21:21:48Z felideon: osune: I see the tutorial now. I was wondering why class definitions had to be wrapped in transactions and the answer is in there. 2017-12-06T21:22:37Z felideon: osune: If you want another simple example, I also played with rucksack a few years ago, based on the tutorial. https://github.com/felideon/cluckin-sack/blob/master/cluckin-sack.lisp 2017-12-06T21:23:39Z osune: this will come in handy . thanks again 2017-12-06T21:28:57Z rgrau joined #lisp 2017-12-06T21:33:22Z jmercouris joined #lisp 2017-12-06T21:34:40Z papachan quit (Quit: WeeChat 2.0) 2017-12-06T21:38:57Z terpri` quit (*.net *.split) 2017-12-06T21:38:57Z osune quit (*.net *.split) 2017-12-06T21:38:57Z LiamH quit (*.net *.split) 2017-12-06T21:38:58Z Tristam quit (*.net *.split) 2017-12-06T21:38:58Z ryanbw quit (*.net *.split) 2017-12-06T21:38:58Z ym quit (*.net *.split) 2017-12-06T21:38:58Z dwts quit (*.net *.split) 2017-12-06T21:38:58Z cess11_ quit (*.net *.split) 2017-12-06T21:38:58Z gabot quit (*.net *.split) 2017-12-06T21:38:58Z Walex quit (*.net *.split) 2017-12-06T21:38:58Z nullman quit (*.net *.split) 2017-12-06T21:38:58Z fouric quit (*.net *.split) 2017-12-06T21:38:58Z manualcrank quit (*.net *.split) 2017-12-06T21:38:58Z dilated_dinosaur quit (*.net *.split) 2017-12-06T21:38:59Z TeMPOraL quit (*.net *.split) 2017-12-06T21:38:59Z runejuhl quit (*.net *.split) 2017-12-06T21:38:59Z SAL9000 quit (*.net *.split) 2017-12-06T21:38:59Z antismap quit (*.net *.split) 2017-12-06T21:38:59Z Oddity quit (*.net *.split) 2017-12-06T21:38:59Z naturalog quit (*.net *.split) 2017-12-06T21:38:59Z Aritheanie quit (*.net *.split) 2017-12-06T21:38:59Z micro quit (*.net *.split) 2017-12-06T21:38:59Z tessier quit (*.net *.split) 2017-12-06T21:38:59Z gingerale quit (*.net *.split) 2017-12-06T21:39:18Z jmercouris: instead of do-symbols is there a list of symbols I can just access? 2017-12-06T21:39:33Z Shinmera: No 2017-12-06T21:39:49Z jmercouris: Damn, I was hoping to use map or filter 2017-12-06T21:40:16Z Xach: jmercouris: what do you mean by access? 2017-12-06T21:40:27Z Shinmera: (defun package-symbols (p) (let (l) (do-symbols (s p l) (push s l)))) 2017-12-06T21:40:39Z jmercouris: Xach: Exactly what Shinmera just wrote 2017-12-06T21:41:08Z Xach: ok 2017-12-06T21:41:17Z jmercouris: I need to basically make autocomplete for my describe-symbol function in my browser and I was going to limit it to *earmuff* symbols, so I wanted to just have a filter 2017-12-06T21:41:44Z jmercouris: Shinmera: I'll just do something like that I guess, thanks 2017-12-06T21:43:05Z jmercouris: Another thing I've been thinking about lately is the elisp convention of (interactive) within a defun body making the command callable by the command system, is there a way I can achieve something similar in common lisp? 2017-12-06T21:43:18Z pjb: jmercouris: of course, you can filter the result of (package-symbols), but it would be faster to filter while do-symbols, or even, to use apropos-list. 2017-12-06T21:43:40Z pjb: (apropos-list "\\*" "CL-USER") #| --> (*read-eval* … *oldest-forward-compatible-asdf-version*) |# 2017-12-06T21:43:54Z pjb: but it's not conforming, the syntax in the first argument of apropos-list is implementation dependant. 2017-12-06T21:44:59Z jmercouris: pjb: I'd like to stick with things that are standard across implementations mostly 2017-12-06T21:45:35Z jmercouris: The thing about the (interactive) within the body of the defun is, I don't understand how I'd get a reference to the current function to register it, somehow I feel like this involves a part of lisp I am unfamiliar with so far 2017-12-06T21:45:44Z vtomole joined #lisp 2017-12-06T21:45:49Z pjb: This is why you have to implement your own apropos-list or similar using do-symbols. 2017-12-06T21:46:23Z Bike: jmercouris: it'd be easier to define a, like, defun-interactive macro. 2017-12-06T21:46:28Z pjb: jmercouris: first, in CL it's written (declare (interactive)). emacs lisp has this special case declaration (interactive). 2017-12-06T21:46:46Z pjb: jmercouris: then, indeed, non-standard declarations must be processed by your own tools. 2017-12-06T21:47:00Z Bike: which you shouldn't bother trying, it sucks 2017-12-06T21:47:02Z pjb: So if you want it to be processed when you evaluate the defun form, it must be your own defun macro. 2017-12-06T21:47:31Z Bike: you could also have a table of interactivity information, like a hash table where the keys are functions, and have a like (register-interactive function specification-goes-here) 2017-12-06T21:47:35Z jmercouris: pjb: So you're saying something like (def-interactive something ())? 2017-12-06T21:47:54Z pjb: No. I'm saying (shadow 'defun) (defmacro defun …) 2017-12-06T21:48:08Z pjb: Otherwise, you can defmacro define-command or defcommand. 2017-12-06T21:48:14Z jmercouris: pjb: Ah, hmm seems very easy for me to make a mistake there 2017-12-06T21:48:16Z pjb: interactive functions are commands. 2017-12-06T21:48:37Z jmercouris: I like introducing new forms instead of shadowing wherever possible 2017-12-06T21:48:43Z jmercouris: I think defcommand is a good name/idea 2017-12-06T21:48:53Z pjb: Yes. I've done that already. 2017-12-06T21:49:24Z jmercouris: Bike: pjb: Thanks for the suggestions! 2017-12-06T21:49:49Z pjb: jmercouris: be careful in macros, try to avoid compilation-time stuff, since it makes it harder to compile-file. 2017-12-06T21:50:58Z jmercouris: Yeah, I will have to be careful, I've already really messed up my keybinding definition macro I think, I will probably have to redo it and simplify the definition of commands I think 2017-12-06T21:51:19Z jmercouris: It is way too obtuse, even when I am implementing new keybindings I am having to look up my own syntax 2017-12-06T21:52:27Z pjb: have a look at hemlock-interface:defcommand too. 2017-12-06T21:53:00Z Bike: stumpwm also has something like interactive. 2017-12-06T21:53:16Z Bike: https://stumpwm.github.io/git/stumpwm-git_12.html#index-defcommand 2017-12-06T21:53:26Z emaczen: I'm getting different results between SBCL and CCL -- what are some common things to check? 2017-12-06T21:53:51Z Xach: emaczen: that is a pretty broad domain 2017-12-06T21:53:51Z emaczen: common things being caches, compiler settings etc... 2017-12-06T21:53:55Z pjb: For example, hemlock-interface:defcommand doesn't defun at compilation-time so the compiler cannot know that the command is a function, so if you try to call it in other code compiled, you will get a undefined function warning… This is bad. 2017-12-06T21:54:01Z Xach: emaczen: like arithmetic is differing? 2017-12-06T21:54:22Z pjb: But if you call the make-command function that follows at compilation-time it's bad too… 2017-12-06T21:54:34Z emaczen: Xach: No, just my code 2017-12-06T21:54:45Z jmercouris: I like the stumpwm API, maybe I will copy it 2017-12-06T21:54:46Z emaczen: Xach: I don't see why I would be getting different results? 2017-12-06T21:55:10Z Xach: emaczen: there are many differences, like in how random state works, the internal time units, etc. What kind of stuff does your code do? 2017-12-06T21:55:29Z mson quit (Quit: Connection closed for inactivity) 2017-12-06T21:56:17Z emaczen: there is no randomness or time in my code 2017-12-06T21:56:22Z emaczen: I'm really just building a list 2017-12-06T21:56:36Z emaczen: and in SBCL the list has length 1210 and with CCL the length is 768 2017-12-06T21:56:58Z jmercouris: emaczen: are you running both pieces of code on the same machine? 2017-12-06T21:57:05Z emaczen: jmercouris: Yes 2017-12-06T21:57:08Z kokonaisluku joined #lisp 2017-12-06T21:57:11Z Bike: i don't think we can answer this without some specifics of what the code does. 2017-12-06T21:57:24Z Bike: like. source. 2017-12-06T21:57:29Z waynecolvin quit (Ping timeout: 255 seconds) 2017-12-06T21:57:47Z Xach: emaczen: is it a list of symbols? 2017-12-06T21:57:57Z hexfour joined #lisp 2017-12-06T21:58:59Z emaczen: At the moment I'm mainly interested in looking at deleting caches or other compiler stuff that would be differnet between SBCL and CCL 2017-12-06T21:59:11Z Bike: might not even be relevant. 2017-12-06T21:59:13Z emaczen: I think I am loading the exact same code but am I? -- You know? 2017-12-06T21:59:17Z Karl_Dscc quit (Remote host closed the connection) 2017-12-06T21:59:30Z Bike: files are only cached on your disk as fasls. 2017-12-06T21:59:32Z whoman: buildapp still in good use? 2017-12-06T21:59:48Z Bike: (load (compile-file "whatever.lisp")) will force recompilation and reload of whatever's on your disk. 2017-12-06T21:59:53Z Xach: whoman: I use it, but I think the built-in stuff in asdf does a lot of stuff and more portably too. 2017-12-06T22:00:15Z orivej joined #lisp 2017-12-06T22:00:17Z Bike: alternately you could restart ccl and sbcl. 2017-12-06T22:00:28Z whoman: Xach, alright cool. (just looking to make custom toplevel/repl binary for slime.) 2017-12-06T22:00:31Z hexfive quit (Ping timeout: 248 seconds) 2017-12-06T22:01:01Z emaczen: I've deleted ~/.cache/common-lisp/ 2017-12-06T22:01:07Z emaczen: I've restarted both CCL and SBCL 2017-12-06T22:01:18Z Bike: so it's probably the same code. 2017-12-06T22:01:27Z emaczen: And I've been using (asdf:load-system :system :force t) 2017-12-06T22:02:04Z osune joined #lisp 2017-12-06T22:02:04Z LiamH joined #lisp 2017-12-06T22:02:04Z Tristam joined #lisp 2017-12-06T22:02:04Z ryanbw joined #lisp 2017-12-06T22:02:04Z ym joined #lisp 2017-12-06T22:02:04Z dwts joined #lisp 2017-12-06T22:02:04Z cess11_ joined #lisp 2017-12-06T22:02:04Z gabot joined #lisp 2017-12-06T22:02:04Z Walex joined #lisp 2017-12-06T22:02:04Z nullman joined #lisp 2017-12-06T22:02:04Z fouric joined #lisp 2017-12-06T22:02:04Z manualcrank joined #lisp 2017-12-06T22:02:04Z TeMPOraL joined #lisp 2017-12-06T22:02:04Z dilated_dinosaur joined #lisp 2017-12-06T22:02:04Z naturalog joined #lisp 2017-12-06T22:02:04Z runejuhl joined #lisp 2017-12-06T22:02:04Z SAL9000 joined #lisp 2017-12-06T22:02:04Z antismap joined #lisp 2017-12-06T22:02:04Z Oddity joined #lisp 2017-12-06T22:02:04Z Aritheanie joined #lisp 2017-12-06T22:02:04Z micro joined #lisp 2017-12-06T22:02:04Z tessier joined #lisp 2017-12-06T22:02:04Z gingerale joined #lisp 2017-12-06T22:02:05Z Bike: something to notice here is that the caching is done by asdf rather than by your implementation. 2017-12-06T22:02:35Z Bike: so what else are you doing? calling any libraries that use implementation details? getting into the package system? what? 2017-12-06T22:02:44Z Bike: there are a million ways code could work differently between implementations 2017-12-06T22:03:56Z vtomole quit (Changing host) 2017-12-06T22:03:56Z vtomole joined #lisp 2017-12-06T22:04:30Z emaczen: Bike: I'm using a fair bit of macros, 2017-12-06T22:04:50Z emaczen: There is some gensyming 2017-12-06T22:05:14Z drcode joined #lisp 2017-12-06T22:05:15Z emaczen: I still just find it hard to believe that the list can be 442 elements smaller 2017-12-06T22:05:30Z osune: did we have a netsplit ? 2017-12-06T22:05:34Z drcode quit (Remote host closed the connection) 2017-12-06T22:05:44Z Bike: none of that is relevant 2017-12-06T22:05:50Z Bike: just tell us what you are doing 2017-12-06T22:05:58Z Bike: is it proprietary? what? 2017-12-06T22:07:13Z emaczen: It is too complicated both in ammount of code and in english description 2017-12-06T22:07:16Z drcode joined #lisp 2017-12-06T22:07:28Z hhdave joined #lisp 2017-12-06T22:07:29Z Bike: that's why i asked for possible implementation specific stuff 2017-12-06T22:08:07Z emaczen: Bike: I can't think of any implementation specific parts in my code 2017-12-06T22:08:17Z emaczen: Maybe I'll do a search just to verify 2017-12-06T22:08:32Z Bike: does it use any libraries? 2017-12-06T22:08:41Z Bike: it doesn't seem like you have a sense for what is implementation specific 2017-12-06T22:09:10Z vtomole quit (Ping timeout: 260 seconds) 2017-12-06T22:10:08Z emaczen: Bike: No libraries other than :closer-mop which I load by default 2017-12-06T22:10:08Z emaczen: 2017-12-06T22:10:11Z emaczen: always 2017-12-06T22:10:22Z Guest24518 joined #lisp 2017-12-06T22:10:45Z emaczen: Give me a few examples of implementation specific attributes of common-lisp 2017-12-06T22:11:41Z hhdave quit (Ping timeout: 255 seconds) 2017-12-06T22:12:32Z Xach: specialized array types 2017-12-06T22:12:36Z Xach: fixnum size 2017-12-06T22:12:53Z Xach: valid external formats 2017-12-06T22:13:03Z Bike: mop, which packages exist, number of symbols in packages other than CL 2017-12-06T22:13:11Z Xach: limits, like call-arguments-limit 2017-12-06T22:13:35Z pjb: lisp-implementation-type, lisp-implementation-version 2017-12-06T22:13:45Z pjb: and of course, *features* 2017-12-06T22:13:47Z hhdave joined #lisp 2017-12-06T22:14:18Z Xach ponders a fingerprinter based on checking all such things 2017-12-06T22:15:22Z emaczen: Is there something to check all packages loaded? 2017-12-06T22:15:31Z Bike: (list-all-packages) 2017-12-06T22:17:29Z rumbler3_ joined #lisp 2017-12-06T22:18:07Z Xach: emaczen: it is cruel to string me along like this :( i am dying to know what is going on! 2017-12-06T22:18:21Z Xach: i would read 500 pages of code to figure out the puzzle 2017-12-06T22:18:28Z Xach: perhaps 5000 2017-12-06T22:18:44Z emaczen: Xach: Dang I'm getting lazy then... 2017-12-06T22:19:03Z jasom: also any symbols not in CL that are in CL-USER 2017-12-06T22:19:17Z jasom: e.g. cl-user:QUIT 2017-12-06T22:19:47Z SuperJen joined #lisp 2017-12-06T22:19:49Z emaczen: Xach: I'm inspecting, trying to find reasonable discrepancies, taking educated shots in the dark! 2017-12-06T22:20:18Z kokonaisluku quit (Quit: ChatZilla 0.9.93 [Firefox 52.5.0/20171117140933]) 2017-12-06T22:20:21Z Xach: emaczen: but no code sharing no matter what? 2017-12-06T22:20:30Z Xach: i don't mind, but it would help me stop caring 2017-12-06T22:21:08Z emaczen: Xach: not today 2017-12-06T22:21:18Z Xach: ok 2017-12-06T22:21:23Z Xach feels released 2017-12-06T22:22:02Z rumbler3_ quit (Ping timeout: 255 seconds) 2017-12-06T22:22:47Z jasom: emaczen: what happens when you modify literals (if you use backtick you may have literals and not realize it) 2017-12-06T22:23:05Z Guest94462 quit (Ping timeout: 240 seconds) 2017-12-06T22:23:06Z emaczen: jasom: Huh? 2017-12-06T22:23:33Z jasom: emaczen: e.g. (setf (cdr '(1 2 3)) nil) can be different between implementations 2017-12-06T22:23:54Z jasom: emaczen: with macros you can end up doing that accidentally pretty easily 2017-12-06T22:24:15Z emaczen: jasom: Oh so I should double check ` and ,? 2017-12-06T22:24:17Z jasom: emaczen: if sbcl has no style-warnings then you are less likely to be doing it though. 2017-12-06T22:24:26Z pjb: Indeed, on some implementation, it can fail because you try to modify read-only data. 2017-12-06T22:25:02Z jasom: and on other implementations it may cause all appearances of '(1 2 3) to behave like '(1) afterwards 2017-12-06T22:28:46Z Bike: undefined behavior more generally, of course 2017-12-06T22:28:57Z Bike: a good fraction of the million ways 2017-12-06T22:30:47Z jfb4 quit (Ping timeout: 255 seconds) 2017-12-06T22:32:40Z jfb4 joined #lisp 2017-12-06T22:36:58Z hhdave quit (Ping timeout: 264 seconds) 2017-12-06T22:37:06Z emaczen: well, I may have narrowed it down to a specific function of mine, SBCL always returns the same thing, whereas CCL does not and CCLs return value is very different each time... 2017-12-06T22:37:27Z emaczen: I still have no idea why or which implementation defined feature is causing it, but I'm getting there 2017-12-06T22:37:46Z Bike: paste the function? 2017-12-06T22:38:05Z hhdave joined #lisp 2017-12-06T22:41:27Z rumbler31 quit (Ping timeout: 240 seconds) 2017-12-06T22:42:25Z Bike quit (Ping timeout: 260 seconds) 2017-12-06T22:45:23Z emaczen: I will if I really can't figure it out -- if I pasted it, you would need a lot of other code still 2017-12-06T22:45:59Z Xach: we can do it!! 2017-12-06T22:46:29Z LiamH quit (Quit: Leaving.) 2017-12-06T22:48:17Z rumbler31 joined #lisp 2017-12-06T22:48:42Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.1)) 2017-12-06T22:52:07Z rumbler31: did he finally paste some code? 2017-12-06T22:55:14Z Jesin quit (Quit: Leaving) 2017-12-06T22:55:32Z drcode quit (Ping timeout: 240 seconds) 2017-12-06T22:55:57Z wigust quit (Ping timeout: 240 seconds) 2017-12-06T22:58:26Z pierpa joined #lisp 2017-12-06T23:01:33Z damke_ joined #lisp 2017-12-06T23:02:16Z SuperJen quit (Remote host closed the connection) 2017-12-06T23:02:41Z SuperJen joined #lisp 2017-12-06T23:03:21Z damke quit (Ping timeout: 240 seconds) 2017-12-06T23:05:57Z mson joined #lisp 2017-12-06T23:10:53Z sjl quit (Ping timeout: 250 seconds) 2017-12-06T23:11:34Z Bike joined #lisp 2017-12-06T23:13:24Z jmercouris: How do I convert a symbol to a string? 2017-12-06T23:14:03Z jmercouris: I have something like do-symbols in a list of symbols, I want to turn that list of symbols to a list of strings 2017-12-06T23:14:51Z Bike: you can use symbol-name to get the name of the symbol as a string. 2017-12-06T23:14:52Z karswell joined #lisp 2017-12-06T23:15:00Z Bike: do you need the name of the package also? 2017-12-06T23:15:22Z jmercouris: Bike: not for now, I'll just always assume the user is in my package 2017-12-06T23:16:47Z _rumbler31 joined #lisp 2017-12-06T23:18:15Z osune quit (Remote host closed the connection) 2017-12-06T23:18:30Z hhdave quit (Read error: Connection reset by peer) 2017-12-06T23:18:44Z rumbler31 quit (Ping timeout: 255 seconds) 2017-12-06T23:18:56Z wxie joined #lisp 2017-12-06T23:21:00Z dieggsy joined #lisp 2017-12-06T23:21:23Z _rumbler31 quit (Ping timeout: 252 seconds) 2017-12-06T23:21:55Z dieggsy quit (Client Quit) 2017-12-06T23:23:09Z dieggsy joined #lisp 2017-12-06T23:24:05Z mathi_aihtam quit (Quit: mathi_aihtam) 2017-12-06T23:24:57Z neuri8- quit (Ping timeout: 240 seconds) 2017-12-06T23:26:42Z jmercouris left #lisp 2017-12-06T23:31:05Z Kaisyu joined #lisp 2017-12-06T23:31:27Z pseudonymous quit (Ping timeout: 240 seconds) 2017-12-06T23:32:13Z Xach: it is interesting that you can make a web browser without knowing how to get a symbol name as a string. 2017-12-06T23:36:53Z jmercouris joined #lisp 2017-12-06T23:39:50Z whoman: we cant all make food but we can all eat it ? 2017-12-06T23:39:55Z wxie quit (Quit: Bye.) 2017-12-06T23:40:19Z jasom: what does "foreign function syscall" imply in a sbcl profile result? 2017-12-06T23:40:31Z jmercouris quit (Remote host closed the connection) 2017-12-06T23:40:38Z jasom: jmercouris: symbols are also string designators so you can just do e.g. (string 'foo) 2017-12-06T23:43:27Z raphaelss quit (Ping timeout: 248 seconds) 2017-12-06T23:44:17Z smurfrobot joined #lisp 2017-12-06T23:46:25Z terpri` joined #lisp 2017-12-06T23:49:26Z smurfrobot quit (Ping timeout: 276 seconds) 2017-12-06T23:50:38Z neuri8 joined #lisp 2017-12-06T23:55:36Z mejja joined #lisp 2017-12-06T23:55:38Z rgrau quit (Ping timeout: 255 seconds) 2017-12-06T23:57:52Z TehCraw joined #lisp 2017-12-07T00:01:26Z Amplituhedron joined #lisp 2017-12-07T00:03:17Z Kundry_Wag joined #lisp 2017-12-07T00:04:30Z clintm joined #lisp 2017-12-07T00:04:52Z clintm is now known as Guest43925 2017-12-07T00:05:00Z jmercouris joined #lisp 2017-12-07T00:05:16Z jmercouris: given this repl: https://gist.github.com/8deb84fc86ecf022f9704591e4fe7bed 2017-12-07T00:05:40Z jmercouris: how can I access CL-STRING-MATCH::MATCH: "lol" 2017-12-07T00:06:52Z hexfour quit (Ping timeout: 240 seconds) 2017-12-07T00:07:04Z Bike: look at the docs for cl-string-match and see what the provided accessors are 2017-12-07T00:07:05Z xrash quit (Remote host closed the connection) 2017-12-07T00:07:30Z jmercouris: Bike: I was hoping I had missed something, okay will do 2017-12-07T00:07:33Z pjb: I would type (lspack :cl-string-match t) 2017-12-07T00:07:49Z pjb: com.informatimago.common-lisp.interactive.interactive:lspack 2017-12-07T00:08:07Z jasom: blargh. Suggestions for debugging compiler macros? Specifically cffi:foreign-alloc appears to be not expanding to a fast path 2017-12-07T00:08:25Z pjb: add print expressions. 2017-12-07T00:08:28Z Bike: you want to determine whether or not it's expanding? 2017-12-07T00:08:39Z pjb: compiler macros are not necessarily used by an implementation. 2017-12-07T00:09:03Z Bike: jmercouris: (describe (find-class 'cl-string-match:re-match)) might also be informative. 2017-12-07T00:09:10Z pjb: Otherwise, to debug it, you can just call it directly (extrating the body in a normal function). 2017-12-07T00:09:22Z pjb: or (documentation 'cl-string-match:re-match 'function) 2017-12-07T00:09:39Z jasom: Bike: yes 2017-12-07T00:09:53Z Bike: probably i'd just add prints, yeah 2017-12-07T00:10:09Z jasom: Bike: well I know it's not expandingas expected because I end up with foreign-alloc on the stac rather than %foreign-alloc 2017-12-07T00:10:30Z Bike: so you want to know why? 2017-12-07T00:10:38Z Bike: i'd macroexpand things and see if there's a notinline 2017-12-07T00:12:08Z cromachina joined #lisp 2017-12-07T00:16:41Z jasom: I found it eventually; the compiler macro was slightly more stupid than I thought 2017-12-07T00:17:21Z jasom: specifically if you specify initial contents, then it completely loses all optimizations for the type being constant 2017-12-07T00:18:05Z rumbler31 joined #lisp 2017-12-07T00:18:25Z Kevslinger quit (Quit: Connection closed for inactivity) 2017-12-07T00:20:37Z quazimodo joined #lisp 2017-12-07T00:21:41Z jasom: I changed my with-foreign-alloc macro to perform the initialization of the memory manually and got a ~1000X speedup 2017-12-07T00:21:43Z kammd[m] joined #lisp 2017-12-07T00:21:43Z akr joined #lisp 2017-12-07T00:21:43Z happy_gnu[m] joined #lisp 2017-12-07T00:21:43Z dirb joined #lisp 2017-12-07T00:21:43Z thorondor[m] joined #lisp 2017-12-07T00:21:43Z Jach[m] joined #lisp 2017-12-07T00:21:44Z astronavt[m] joined #lisp 2017-12-07T00:21:44Z Sovereign_Bleak joined #lisp 2017-12-07T00:21:44Z l04m33[m] joined #lisp 2017-12-07T00:21:44Z cryptomarauder[m joined #lisp 2017-12-07T00:21:44Z dahs81[m] joined #lisp 2017-12-07T00:21:44Z RichardPaulBck[m joined #lisp 2017-12-07T00:21:44Z CharlieBrown joined #lisp 2017-12-07T00:21:44Z hdurer[m] joined #lisp 2017-12-07T00:21:44Z Guest15545 joined #lisp 2017-12-07T00:21:44Z plll[m] joined #lisp 2017-12-07T00:21:45Z hiq[m] joined #lisp 2017-12-07T00:21:45Z equalunique[m] joined #lisp 2017-12-07T00:21:45Z ArthurAGleckler[ joined #lisp 2017-12-07T00:21:50Z trigt[m] joined #lisp 2017-12-07T00:22:42Z rumbler31 quit (Ping timeout: 246 seconds) 2017-12-07T00:22:49Z emaczen quit (Read error: Connection reset by peer) 2017-12-07T00:23:04Z dieggsy quit (Quit: ERC (IRC client for Emacs 27.0.50)) 2017-12-07T00:23:43Z emaczen joined #lisp 2017-12-07T00:23:49Z Cymew joined #lisp 2017-12-07T00:24:12Z Bike: so with constant type and unconstant but specified count you'd want it to expand to `(%foreign-alloc (* ,count ,(foreign-type-size (eval type))))? 2017-12-07T00:24:27Z dieggsy joined #lisp 2017-12-07T00:24:40Z Bike: for initial contents you'd have to once-only the contents and take the length, i guess. 2017-12-07T00:24:52Z Bike: ...and then initialize it. 2017-12-07T00:26:56Z jmercouris: Why does find-symbol ALWAYS return nil on a known symbol found in do-symbols? 2017-12-07T00:27:37Z jmercouris: Damn, it is case sensitive 2017-12-07T00:27:41Z jmercouris: I would have never guessed 2017-12-07T00:28:29Z Cymew quit (Ping timeout: 255 seconds) 2017-12-07T00:29:33Z Devon joined #lisp 2017-12-07T00:34:20Z jmercouris quit (Ping timeout: 255 seconds) 2017-12-07T00:37:38Z TehCraw left #lisp 2017-12-07T00:40:05Z Xach: case-sensitive, case-folding 2017-12-07T00:41:46Z Amplituhedron quit (Ping timeout: 264 seconds) 2017-12-07T00:42:16Z hydan quit (Quit: Connection closed for inactivity) 2017-12-07T00:43:14Z vtomole joined #lisp 2017-12-07T00:46:46Z kmb quit (Quit: kmb) 2017-12-07T00:50:04Z kmb joined #lisp 2017-12-07T00:50:15Z kmb quit (Client Quit) 2017-12-07T01:00:50Z nirved quit (Quit: Leaving) 2017-12-07T01:03:38Z yangby joined #lisp 2017-12-07T01:05:03Z hexfour joined #lisp 2017-12-07T01:06:00Z Ober: huh. 'At the request of John McCarthy, Lisp’s creator, no single language that is a member of the Lisp family is to be intended to be the definitive dialect; that is, none is to be called just “LISP.” ' 2017-12-07T01:13:55Z k-stz: we do speak of lisp dialects and of languages being part of the lisp family 2017-12-07T01:15:17Z NaNDude quit (Read error: Connection reset by peer) 2017-12-07T01:15:30Z raphaelss joined #lisp 2017-12-07T01:16:23Z dieggsy quit (Ping timeout: 255 seconds) 2017-12-07T01:16:35Z NaNDude joined #lisp 2017-12-07T01:17:08Z kini: and yet here we are in a channel called #lisp where the topic says "Common Lisp" :) 2017-12-07T01:18:52Z rumbler31 joined #lisp 2017-12-07T01:22:29Z Bike: luckily, we call it "lisp" instead of "LISP" 2017-12-07T01:23:06Z Devon: One Lisp to rule them all 2017-12-07T01:23:36Z rumbler31 quit (Ping timeout: 260 seconds) 2017-12-07T01:25:15Z Zhivago quit (Remote host closed the connection) 2017-12-07T01:29:07Z k-stz: another tagged pointer example: (setf *a* (1+ most-positive-fixnum) *b* (1+ most-positive-fixnum)) (eq *a* *b*) => nil, but set *a* and *b* to the same fixnum number then (eq *a* *b*) ==> T ! For sbcl at least, because EQ does pointer comparison. I guess, then, with EQ one can test if a value is represented by an immediate tag pointer 2017-12-07T01:30:39Z mejja quit (Read error: Connection reset by peer) 2017-12-07T01:32:35Z fikka quit (Ping timeout: 250 seconds) 2017-12-07T01:33:47Z SuperJen quit (Remote host closed the connection) 2017-12-07T01:34:00Z Kundry_W` joined #lisp 2017-12-07T01:34:13Z SuperJen joined #lisp 2017-12-07T01:35:32Z Kundry_Wag quit (Ping timeout: 255 seconds) 2017-12-07T01:36:41Z Bike: informally, maybe. 2017-12-07T01:38:41Z lnostdal quit (Quit: https://www.QuantAtaraxia.pw/) 2017-12-07T01:41:23Z aeth: There's nothing restricting with-accessors to only be for accessors to CLOS objects, is there? It says undefined, but it should in most if not all implementations just be a trivial symbol-macrolet. http://www.lispworks.com/documentation/HyperSpec/Body/m_w_acce.htm 2017-12-07T01:42:48Z Bike: it says "accessor", which is broader than CLOS. i guess. 2017-12-07T01:42:58Z Bike: oh, but "slots" also. 2017-12-07T01:43:11Z aeth: I'm just wondering if it's also usable for structs 2017-12-07T01:43:14Z aeth: Which also have accessors 2017-12-07T01:43:23Z Kundry_W` quit (Ping timeout: 255 seconds) 2017-12-07T01:43:31Z Bike: well, they have slots, so sure 2017-12-07T01:44:58Z aeth: yeah, I was wondering that 2017-12-07T01:45:42Z smurfrobot joined #lisp 2017-12-07T01:45:55Z aeth: I'll probably copy the basic symbol-macrolet pattern (and change it slightly) for things that don't necessarily have that slot concept 2017-12-07T01:46:01Z dieggsy joined #lisp 2017-12-07T01:46:42Z EvW quit (Ping timeout: 246 seconds) 2017-12-07T01:47:01Z Bike: if an implementation did actually restrict it to standard objects, you could probably decently make a case against that to them 2017-12-07T01:47:33Z red-dot joined #lisp 2017-12-07T01:47:54Z aeth: Do generics apply to both standard CLOS objects and struct objects? 2017-12-07T01:48:05Z aeth: If they do, that would be a good case against special casing CLOS objects. 2017-12-07T01:48:31Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-07T01:50:41Z Bike: er, what? 2017-12-07T01:50:44Z Bike: "apply to"? 2017-12-07T01:55:11Z aeth: Sorry, I mean, you can do (defmethod meh ((foo foo) x) (values foo x)) and that's separate from (defmethod meh (y x) y) with the former being (FOO T) and the latter being (T T). Also, you can do (class-of (make-foo)) and get a structure-class just like you can do (class-of (make-instance 'bar)) and get a standard-class. 2017-12-07T01:55:38Z aeth: So they're definitely instances of a class with slots and accessors. 2017-12-07T01:57:50Z Bike: structure objects are certainly instances of a structure class, and structures are described as having slots and accessors. the question is whether with-accessors means the general senses of those terms or the CLOS-specific senses. 2017-12-07T01:58:34Z quazimodo quit (Ping timeout: 264 seconds) 2017-12-07T01:58:38Z aeth: I guess my (failed) argument is that defmethod uses the broader sense. 2017-12-07T01:59:43Z aeth: Although I don't think that would apply to my particular case, where I want to use it on a vector struct. I could definitely see this potentially failing. 2017-12-07T02:03:25Z smurfrobot quit (Ping timeout: 268 seconds) 2017-12-07T02:04:23Z Bike: what does defmethod have to do with anything? 2017-12-07T02:08:49Z aeth: It's a bad argument because CL is already inconsistent, so arguing that something would keep things simple and consistent wouldn't really be relevant in an interpretation of the specification. 2017-12-07T02:18:41Z Zhivago joined #lisp 2017-12-07T02:27:32Z d4ryus1 joined #lisp 2017-12-07T02:27:45Z Kevslinger joined #lisp 2017-12-07T02:30:35Z d4ryus quit (Ping timeout: 240 seconds) 2017-12-07T02:51:02Z dieggsy quit (Quit: ERC (IRC client for Emacs 27.0.50)) 2017-12-07T02:51:58Z dieggsy joined #lisp 2017-12-07T02:57:44Z yangby quit (Quit: Go out for a walk and buy a drink.) 2017-12-07T03:02:29Z fikka joined #lisp 2017-12-07T03:02:47Z damke joined #lisp 2017-12-07T03:03:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-07T03:04:50Z rumbler31 joined #lisp 2017-12-07T03:07:11Z fikka quit (Ping timeout: 248 seconds) 2017-12-07T03:10:18Z igemnace joined #lisp 2017-12-07T03:11:48Z pfdietz joined #lisp 2017-12-07T03:15:17Z karswell quit (Read error: No route to host) 2017-12-07T03:15:47Z karswell_ joined #lisp 2017-12-07T03:16:21Z pfdietz: The random tester appears to have exhausted itself on sbcl. Ah well, the latest campaign was fun while it lasted. Interesting how bugs can breed over time. 2017-12-07T03:19:44Z pfdietz: BTW, I would argue that 2017-12-07T03:19:53Z pfdietz: slot is very broadly defined in the CL spec 2017-12-07T03:20:18Z pfdietz: "slot n. a component of an object that can store a value." 2017-12-07T03:20:42Z pfdietz: "object n. 1. any Lisp datum. ``The function cons creates an object which refers to two other objects.''" 2017-12-07T03:22:18Z pfdietz: "accessor n. an operator that performs an access. See reader and writer." 2017-12-07T03:22:32Z Zhivago: What is the argument about? 2017-12-07T03:23:16Z pfdietz: "access n., [...] 2. n. (of a place) an attempt to access[1] the value of the place." 2017-12-07T03:23:30Z pfdietz: Whether WITH-ACCESSORS applies just to standard objects. 2017-12-07T03:24:50Z pfdietz: I think (with-accessors ((x car) (y cdr)) (cons 1 2) (values x y)) ==> 1, 2 would be valid. 2017-12-07T03:26:17Z pierpa quit (Quit: Page closed) 2017-12-07T03:27:03Z Zhivago: Sounds reasonable to me -- it looks like a convenience for establishing a symbol-macrolet. 2017-12-07T03:27:50Z Zhivago: Is there an interesting counter-argument? 2017-12-07T03:28:50Z Bike: I thought maybe it could do CLOS-specific optimizations like using more direct slot access when possible, but it seems to pretty specifically invoke the given accessors. 2017-12-07T03:30:26Z whoman: hmm what is this error from MOP - forward referenced class? not sure how that is going on 2017-12-07T03:30:57Z whoman: nevermind, intuited 2017-12-07T03:31:19Z Bike: (defclass foo (bar) ()): if bar is undefined when this is evaluated, it's forward-referenced. 2017-12-07T03:35:30Z mson quit (Quit: Connection closed for inactivity) 2017-12-07T03:38:02Z drcode joined #lisp 2017-12-07T03:39:24Z lanu joined #lisp 2017-12-07T03:43:07Z zooey quit (Remote host closed the connection) 2017-12-07T03:44:05Z zooey joined #lisp 2017-12-07T03:45:47Z zooey quit (Remote host closed the connection) 2017-12-07T03:46:06Z zooey joined #lisp 2017-12-07T03:46:42Z loke: pfdietz: When you are making guesses it's always good to check the spec first. 2017-12-07T03:47:04Z loke: pfdietz: CLHS has the following to say about WITH-ACCESSORS: “The consequences are undefined if any accessor-name is not the name of an accessor for the instance.” 2017-12-07T03:47:36Z safe quit (Quit: Leaving) 2017-12-07T03:48:26Z mson joined #lisp 2017-12-07T03:52:47Z EvW1 joined #lisp 2017-12-07T03:53:08Z aeth: That adds "instance", which does complicate things a bit. 2017-12-07T03:54:26Z loke: aeth: “instance” is defined as: “instance n. 1. a direct instance. 2. a generalized instance. 3. an indirect instance.] 2017-12-07T03:54:40Z loke: “direct instance n. (of a class C) an object whose class is C itself, rather than some subclass of C. ``The function make-instance always returns a direct instance of the class which is (or is named by) its first argument.''” 2017-12-07T03:55:01Z loke: “generalized instance n. (of a class) an object the class of which is either that class itself, or some subclass of that class. (Because of the correspondence between types and classes, the term ``generalized instance of X'' implies ``object of type X'' and in cases where X is a class (or class name) the reverse is also true. The former terminology emphasizes the view of X as a class while the latter emphasizes the view of X as a type 2017-12-07T03:55:01Z loke: specifier.)” 2017-12-07T03:55:16Z loke: “indirect instance n. (of a class C1) an object of class C2, where C2 is a subclass of C1. ``An integer is an indirect instance of the class number.''” 2017-12-07T03:55:51Z loke: Now here's the fun part... 2017-12-07T03:56:02Z sjl joined #lisp 2017-12-07T03:56:07Z loke: Let's look at the definition of “accessor: 2017-12-07T03:56:11Z aeth: It definitely looks like with-accessors should work on any accessor with a reader (foo x) and (setf (foo x) new-object) writer, e.g. cxr 2017-12-07T03:56:27Z loke: “accessor n. an operator that performs an access. See reader and writer.” 2017-12-07T03:56:33Z aeth: The HyperSpec states all the cxr things are accessors. http://www.lispworks.com/documentation/HyperSpec/Body/f_car_c.htm 2017-12-07T03:56:47Z aeth: with-accessors won't work when the writer isn't a setf writer, will it? 2017-12-07T03:57:14Z aeth: there wouldn't be any way to feed in a new-value 2017-12-07T03:57:19Z EvW1 quit (Ping timeout: 248 seconds) 2017-12-07T03:57:53Z fikka joined #lisp 2017-12-07T03:57:54Z loke: aeth: Yes. There is a non-normative note in the documenation for WITH-ACCESSORS suggesting the typical implementation is simply a MACROLET 2017-12-07T03:57:59Z loke: I mean SYMBOL-MACROLET 2017-12-07T03:58:41Z aeth: accessors are definitely something that the spec gets right imo. reader (foo ...) and writer (setf (foo ...) new-object) symmetry, that can apply to just about anything. 2017-12-07T03:59:14Z jameser joined #lisp 2017-12-07T03:59:20Z aeth: Isn't everything an instance since everything has a class, and so with-accessors should really just work on everything with a conventional accessor pair? 2017-12-07T03:59:23Z jameser quit (Client Quit) 2017-12-07T04:00:02Z loke: aeth: That's the thing. That reading is certainly a valid one... Here's the documentation for "accessor": 2017-12-07T04:00:08Z loke: “accessor n. an operator that performs an access. See reader and writer.” 2017-12-07T04:00:23Z loke: “access n., v.t. 1. v.t. (a place, or array) to read[1] or write[1] the value of the place or an element of the array. 2. n. (of a place) an attempt to access[1] the value of the place.” 2017-12-07T04:00:33Z sjl quit (Ping timeout: 248 seconds) 2017-12-07T04:00:39Z shka joined #lisp 2017-12-07T04:00:49Z neoncontrails quit (Remote host closed the connection) 2017-12-07T04:00:49Z Bike: just do it for structs and see if any implementation breaks it. 2017-12-07T04:01:07Z aeth: It seems natural that with-accessors is an abstraction over conventional/idiomatic CL accessors. (And that's probably one reason why it's better than with-slots, it's abstract.) 2017-12-07T04:01:21Z aeth: Bike: After this conversation, I'm tempted to do it over anything that has accessors, not just structs. 2017-12-07T04:01:23Z loke: Bike: Sounds unlikely. Why would any implementation deviate from the standard SYMBOL-MACROLET implementation? 2017-12-07T04:01:25Z neoncontrails joined #lisp 2017-12-07T04:01:40Z Bike: of course it's unlikely, that's why i'm saying to do it 2017-12-07T04:01:55Z Bike: throw caution to the fucking wind and do a programming thing 2017-12-07T04:02:03Z Bike: live on the edge 2017-12-07T04:02:28Z aeth: with-accessors on anything with well-defined accessors (i.e. a matching setf foo for any given foo) seems reasonable 2017-12-07T04:03:11Z loke can pretty much guarantee that it'll work on all implementations, regardless of whether it's allowed by the spec or not. 2017-12-07T04:03:20Z fikka quit (Ping timeout: 255 seconds) 2017-12-07T04:03:21Z aeth: The implementation is trivial (although SBCL, CCL, and ECL all have slight differences in the macroexpand-1, try it!), so there probably could be an implementation-specific workaround on implementations that don't use this interpretation. 2017-12-07T04:03:47Z dieggsy quit (Quit: ERC (IRC client for Emacs 27.0.50)) 2017-12-07T04:03:58Z loke: But, if the original intent of WITH-ACCESSORS was to be allowed for anything, what is the meaning of this statement: “The consequences are undefined if any accessor-name is not the name of an accessor for the instance.” 2017-12-07T04:04:28Z aeth: yes 2017-12-07T04:04:38Z loke: I guess they are referring to something with (WITH-ACCESSORS ((foo print)) x (foo)) 2017-12-07T04:04:49Z loke: That would kinda work, I guess. 2017-12-07T04:05:05Z loke: (minus the extra parens around foo 2017-12-07T04:06:02Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-07T04:07:12Z aeth: Two possibilities. (1) they were opening the door for optimizations or (2) they were opening the door for the trivial implementation, which technically makes things work for non-accessors like print. 2017-12-07T04:07:28Z aeth: Technically, #2 is a bit of #1, too, since checking would be slower 2017-12-07T04:08:51Z _paul0 is now known as paul0 2017-12-07T04:10:33Z dddddd quit (Remote host closed the connection) 2017-12-07T04:20:21Z dilated_dinosaur quit (Ping timeout: 260 seconds) 2017-12-07T04:20:48Z dilated_dinosaur joined #lisp 2017-12-07T04:21:45Z jameser joined #lisp 2017-12-07T04:26:29Z schoppenhauer quit (Ping timeout: 268 seconds) 2017-12-07T04:27:47Z schoppenhauer joined #lisp 2017-12-07T04:35:36Z safe joined #lisp 2017-12-07T04:38:25Z brendyn joined #lisp 2017-12-07T04:45:53Z aeth: I really like the CL concept of accessors. Compared across languages, even. e.g. https://en.wikipedia.org/wiki/Mutator_method 2017-12-07T04:46:11Z aeth: it doesn't look like anything really comes close 2017-12-07T04:47:12Z aeth: It seems like almost every language prefers boilerplate 2017-12-07T04:51:24Z Zhivago: Alternately you can see it as other languages preferring not to pollute their function namespace. 2017-12-07T04:52:03Z Zhivago: Since given a.b or whatever you can always produce foo_b(a). 2017-12-07T04:52:44Z whoman: accessors to what? lisp is just lists .. 2017-12-07T04:52:47Z Zhivago: Of course, then you need some boiler plate to make something like foo_b(a) = c work, or you need another explicit function. like foo_b_set(a, b). 2017-12-07T04:52:56Z Zhivago: whoman: Are you delusional or just stupid? 2017-12-07T04:53:23Z Zhivago: whoman: What does make-hash-table produce? 2017-12-07T04:55:52Z Zhivago: It would be nice if CL had first class places, though. 2017-12-07T04:57:32Z Bike: meaning manipulable objects instead of just macrology? 2017-12-07T04:58:50Z Zhivago: Yeah, something you could pass around. You can always wrap a use of a place in a lambda, but then you need one for each kind of use. 2017-12-07T04:59:49Z Devon: Some lists have first-class locatives. 2017-12-07T04:59:57Z Devon: lists/lisps 2017-12-07T05:00:14Z Zhivago: Although I guess you could do that and then use that object as a place which forwarded. 2017-12-07T05:01:14Z aeth: whoman: (defun lists-have-accessors-too (list) (flet ((caddddr (x) (cadddr (cdr x)))) (with-accessors ((first car) (second cadr) (third caddr) (fourth cadddr) (fifth caddddr)) list (values first second third fourth fifth)))) 2017-12-07T05:01:48Z Zhivago: Devon: Yeah, I'm not sure why they went out of fashion -- but I suspect it's because they didn't support place semantics. 2017-12-07T05:06:54Z aeth: Zhivago: You indirectly raise a good question. Does the spec allow implementing everything (including hash tables) as lists? (Not like anyone should try to do this, though!) 2017-12-07T05:07:28Z aeth: Zhivago: Can you provide a code example of what you'd want? 2017-12-07T05:07:41Z Zhivago: No, since then class-of or type-of would not produce the expected results. 2017-12-07T05:07:58Z Zhivago: You would need at least a class carrying header to wrap the list. 2017-12-07T05:09:02Z aeth: Zhivago: or just make the car a symbol that means that it's a hash-table. Any list without a type symbol in the car is a regular list 2017-12-07T05:10:09Z Zhivago: That would be one way to implement a class carrying header. 2017-12-07T05:10:51Z Zhivago: But that cons wouldn't be a cons anymore. 2017-12-07T05:12:43Z aeth: true 2017-12-07T05:14:48Z Zhivago: Sometimes I wonder if starting with dictionaries and then adding schema to them would have produced a better outcome. 2017-12-07T05:15:11Z k-stz quit (Remote host closed the connection) 2017-12-07T05:22:07Z neoncontrails joined #lisp 2017-12-07T05:22:19Z Zhivago: To be honest, I'm not sure that first class places matter, really. 2017-12-07T05:22:50Z smurfrobot joined #lisp 2017-12-07T05:23:07Z Zhivago: They're probably just one of those things that sounds like a good idea until you really think about it. 2017-12-07T05:23:11Z Devon quit (Ping timeout: 240 seconds) 2017-12-07T05:24:22Z Zhivago: A bit like transparent persistence and not having processes. 2017-12-07T05:27:27Z hexfour quit (Ping timeout: 260 seconds) 2017-12-07T05:28:07Z hexfour joined #lisp 2017-12-07T05:28:22Z smurfrobot quit (Ping timeout: 255 seconds) 2017-12-07T05:32:10Z SaganMan joined #lisp 2017-12-07T05:33:34Z beach: Good morning everyone! 2017-12-07T05:38:28Z shenghi quit (Remote host closed the connection) 2017-12-07T05:38:45Z shenghi joined #lisp 2017-12-07T05:39:43Z Devon joined #lisp 2017-12-07T05:40:26Z quazimodo joined #lisp 2017-12-07T05:45:08Z fikka joined #lisp 2017-12-07T05:50:21Z fikka quit (Ping timeout: 268 seconds) 2017-12-07T05:52:01Z neoncontrails quit (Remote host closed the connection) 2017-12-07T05:52:37Z neoncontrails joined #lisp 2017-12-07T05:53:05Z Devon quit (Ping timeout: 248 seconds) 2017-12-07T05:57:11Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-07T06:02:46Z damke_ joined #lisp 2017-12-07T06:03:01Z damke quit (Ping timeout: 240 seconds) 2017-12-07T06:03:02Z Bike quit (Quit: Lost terminal) 2017-12-07T06:03:28Z mishoo joined #lisp 2017-12-07T06:08:17Z emaczen: morning beach 2017-12-07T06:08:51Z quazimodo quit (Ping timeout: 260 seconds) 2017-12-07T06:09:38Z beach is watching the video of McCLIM made by jackdaniel. 2017-12-07T06:09:56Z beach: https://www.youtube.com/watch?v=kfBmRsPRdGg 2017-12-07T06:10:36Z EvW joined #lisp 2017-12-07T06:14:05Z pfdietz: One can defined a pseudo-pointer class in CL. It would hold reader and writer functions for some actual place. Define DEREF and (SETF DEREF) methods for it. 2017-12-07T06:14:13Z vlatkoB joined #lisp 2017-12-07T06:14:57Z EvW quit (Ping timeout: 240 seconds) 2017-12-07T06:15:36Z lanu quit (Quit: leaving) 2017-12-07T06:16:14Z dmiles: "class-of or type-of would not produce the expected results." I am litterally stuffing classof and typeof ijn the objects properties 2017-12-07T06:17:37Z dmiles: so i can use structs/lists/pldicts/hastables as the objects 2017-12-07T06:17:59Z vtomole quit (Ping timeout: 260 seconds) 2017-12-07T06:18:38Z Kevslinger quit (Quit: Connection closed for inactivity) 2017-12-07T06:20:23Z LocaMocha joined #lisp 2017-12-07T06:20:23Z LocaMocha quit (Max SendQ exceeded) 2017-12-07T06:20:50Z dmiles: (get-opv a-similar-point) ==> ((typeof . POINT)(classof . claz_u_point)(ref . #)(sname . "znst_5")(instance . claz_u_point)(x . 3)(y . -4)(z . 12) ) 2017-12-07T06:22:13Z hexfour quit (Quit: WeeChat 1.9.1) 2017-12-07T06:22:16Z dmiles: (get-opv 'sym) ==> ((classof . claz_symbol)(name . "SYM")(PACKAGE . #)(typeof . SYMBOL) ) 2017-12-07T06:22:58Z dmiles: my symbols are just standard objects 2017-12-07T06:23:16Z dmiles: well everyhitng but conses are 2017-12-07T06:23:20Z raynold: ahh it's a wonderful day 2017-12-07T06:23:38Z Zhivago: dmiles: Sure -- you can do that. 2017-12-07T06:23:58Z LocaMocha joined #lisp 2017-12-07T06:24:25Z Zhivago: Although it is incredibly inefficient. 2017-12-07T06:25:13Z Zhivago: The point being that if you re-use something but have class-of report something else, then it no-longer has the semantics of what you were re-using. 2017-12-07T06:25:43Z lanu joined #lisp 2017-12-07T06:25:47Z dmiles: well i wanted to proably switch out the underlying structure as i get more experience 2017-12-07T06:25:59Z Zhivago: A fine goal. 2017-12-07T06:26:00Z lanu: join #debian 2017-12-07T06:26:27Z lanu: part 2017-12-07T06:26:31Z lanu left #lisp 2017-12-07T06:26:40Z dmiles: i started out using asserted relations (typically that is the fastest) ... but it was messing with my setcdrs 2017-12-07T06:27:07Z jameser quit (Quit: Textual IRC Client: www.textualapp.com) 2017-12-07T06:28:11Z dmiles: now i on first setf move the property onto the dictionary .. so symbol-plist and values are on the dictionary 2017-12-07T06:28:36Z dmiles: typeof/clasof are still in the soops:o_p_v/3 asserta database 2017-12-07T06:28:44Z Zhivago: DOn't you define suitably abstracted operators on this data structure? 2017-12-07T06:29:19Z dmiles: yes.. sinc ei am abdtracted i dont actualyl think about the real storage 2017-12-07T06:29:58Z Zhivago: Good :) 2017-12-07T06:30:00Z dmiles: i just use: get_opv/3 set_opv/3 2017-12-07T06:30:19Z borodust: Xach: i've updated the dist, trivial-gamekit should work on retina too 2017-12-07T06:30:22Z dmiles: (i just mentioning it because i wonder if i'd be happy ever putitng oeverthing on one datastructure) 2017-12-07T06:32:14Z quazimodo joined #lisp 2017-12-07T06:32:25Z dmiles: oh where i was going is that i have sometimes a tree of storage pacakge[string]->symbol->value->classof 2017-12-07T06:33:05Z renard_ quit (Ping timeout: 240 seconds) 2017-12-07T06:33:07Z dmiles: and it is tempting to let them tree up 2017-12-07T06:33:32Z dmiles: so i can feel like i have real places 2017-12-07T06:37:21Z QualityAddict quit (Ping timeout: 248 seconds) 2017-12-07T06:38:07Z dmiles: some props i jsut synthesize there: https://github.com/TeamSPoon/wam_common_lisp/blob/master/prolog/wam_cl/soops.pl#L372-L394 2017-12-07T06:40:22Z dmiles: the language does at least come with a locative :P https://github.com/TeamSPoon/wam_common_lisp/blob/master/prolog/wam_cl/typeof.pl#L21 2017-12-07T06:42:41Z mishoo quit (Ping timeout: 248 seconds) 2017-12-07T06:42:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-07T06:44:12Z dec0n joined #lisp 2017-12-07T06:49:46Z Devon joined #lisp 2017-12-07T06:53:28Z impulse quit (Quit: Lost terminal) 2017-12-07T06:53:49Z beach: jackdaniel: Very nice video! Thanks! 2017-12-07T06:54:20Z Devon quit (Ping timeout: 255 seconds) 2017-12-07T06:55:28Z Karl_Dscc joined #lisp 2017-12-07T06:56:04Z marusich joined #lisp 2017-12-07T06:56:30Z orivej_ joined #lisp 2017-12-07T06:57:16Z karswell_ quit (Ping timeout: 260 seconds) 2017-12-07T06:57:22Z orivej quit (Ping timeout: 264 seconds) 2017-12-07T06:58:05Z vtomole joined #lisp 2017-12-07T06:59:53Z oleo quit (Quit: Leaving) 2017-12-07T07:00:35Z dmiles: has anyone done a setf expander that is based solely on gettign first class locatives? 2017-12-07T07:02:40Z dmiles: i am temped to continue doing it traditionally first with (get-setf-expander ..) returning a function call.. but would be nice so see something else 2017-12-07T07:04:54Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-07T07:04:56Z mishoo joined #lisp 2017-12-07T07:05:02Z dmiles: in prolog a variable, is insufficent was a locative i have to use '$LOC'(TermPtr,Offset) % a bit like C.. but at leas the GC moves my pointers 2017-12-07T07:05:35Z marusich quit (Ping timeout: 255 seconds) 2017-12-07T07:06:17Z marusich joined #lisp 2017-12-07T07:06:17Z xor-xor joined #lisp 2017-12-07T07:06:49Z renard_ joined #lisp 2017-12-07T07:07:59Z dmiles: so it looks like: TermPtr = cons(a,b), L = $LOC'(TermPtr,2), set_locative(L,b2), to 'replcd 2017-12-07T07:09:18Z jackdaniel: beach: thanks, my first video tutorial 2017-12-07T07:11:45Z beach: Congratulations! 2017-12-07T07:12:11Z d4ryus1 is now known as d4ryus 2017-12-07T07:12:20Z scymtym quit (Ping timeout: 255 seconds) 2017-12-07T07:13:19Z Karl_Dscc quit (Remote host closed the connection) 2017-12-07T07:14:13Z dmiles: oh cool! .. Daniel :) 2017-12-07T07:14:40Z dmiles: we like like twins.. left handed ahskenazi russian jews in family tree i can see 2017-12-07T07:15:31Z mson quit (Quit: Connection closed for inactivity) 2017-12-07T07:15:31Z jackdaniel: I'm sorry, I don't understand the last sentence 2017-12-07T07:15:38Z jackdaniel: could you elaborate? 2017-12-07T07:19:12Z beach: jackdaniel: He is making statements about your ancestors and your dexterity, as compared to his own. 2017-12-07T07:19:51Z jackdaniel: ah, you mean we look similar? heh 2017-12-07T07:20:11Z jackdaniel: in fact, I'm both handed, but I was left handed when I was a little 2017-12-07T07:20:55Z dmiles was watching video.. looked back at IRC just now 2017-12-07T07:22:01Z Jen joined #lisp 2017-12-07T07:22:02Z Guest24518 quit (Ping timeout: 255 seconds) 2017-12-07T07:22:24Z dmiles: There is a very strong genetic line that has moved in and accrossed europe over the centuries.. many of the people ended up in russia (my fammily did) 2017-12-07T07:22:24Z Jen is now known as Guest78438 2017-12-07T07:23:04Z zmt00 quit (Quit: Leaving) 2017-12-07T07:23:14Z dmiles: The head of Cycorp and many many programmers that have been hired at cycorp have ended up comming from this genetic line 2017-12-07T07:23:56Z Zhivago: And you ask why people talk about Jewish conspiracies. 2017-12-07T07:24:45Z dmiles: most of us are either left handed or close to it.. actually a few yearts ago at a dinner 25 out of 28 of us relize we are all left handed 2017-12-07T07:24:50Z jackdaniel: heh, ftr I'm not Jewish, but I can join the conspiracy ;) 2017-12-07T07:25:56Z SuperJen quit (Ping timeout: 268 seconds) 2017-12-07T07:25:57Z Zhivago: Of course, there is the high comorbidity rate with that group, so ymmv. 2017-12-07T07:26:22Z jackdaniel checks comorbidity word in his dictionary 2017-12-07T07:27:03Z dmiles: yeah.. i was trying to confirm it was "a thing" i could point jackdaniel's to and ran acrossed the high mobidity rate :( 2017-12-07T07:27:34Z jackdaniel: so many hard words 2017-12-07T07:27:53Z jackdaniel: mobidity is not found in my dictionary 2017-12-07T07:28:05Z Zhivago: comorbidity and morbidity are different. 2017-12-07T07:28:12Z dmiles: ah 2017-12-07T07:28:12Z jackdaniel: but I think we are getting offtopic 2017-12-07T07:32:10Z sjl joined #lisp 2017-12-07T07:33:20Z fikka joined #lisp 2017-12-07T07:36:32Z sjl quit (Ping timeout: 240 seconds) 2017-12-07T07:36:42Z raphaelss quit (Remote host closed the connection) 2017-12-07T07:38:16Z fikka quit (Ping timeout: 268 seconds) 2017-12-07T07:44:16Z jackdaniel: Xach: regarding top 100 downloaded projects in Quicklisp: you count raw downloads, or things which are quickloaded? For instance if I type (ql:quickload 'foo) and foo depends on alexandria (so both are downloaded) – is the counter increased for both foo and alexandria? 2017-12-07T07:44:59Z jackdaniel: I would find very useful count for top-level system downloads too 2017-12-07T07:46:26Z smurfrobot joined #lisp 2017-12-07T07:49:57Z hajovonta joined #lisp 2017-12-07T07:51:36Z Devon joined #lisp 2017-12-07T07:52:40Z aeth: This... is incredible really. I can copy the basic concept of with-accessors (let above a symbol-macrolet above the body) and abstract everything, with the only issue being that M-. doesn't like it, i.e. M-. looks for the definition of the symbol and fails to find it because the symbol is just a shorthand for some accessor-like form. 2017-12-07T07:53:40Z aeth: (M-. also fails in with-accessors if you use a name other than the accessor name) 2017-12-07T07:54:14Z vtomole quit (Ping timeout: 260 seconds) 2017-12-07T07:55:48Z safe quit (Read error: Connection reset by peer) 2017-12-07T07:55:57Z Devon quit (Ping timeout: 240 seconds) 2017-12-07T07:59:12Z borodust: Xach: also, please, check if this example blob works for you https://goo.gl/wH6Fok 2017-12-07T08:00:56Z smurfrobot quit (Remote host closed the connection) 2017-12-07T08:01:37Z shka quit (Ping timeout: 248 seconds) 2017-12-07T08:05:01Z varjag joined #lisp 2017-12-07T08:08:44Z lrvy joined #lisp 2017-12-07T08:09:15Z jdz: jackdaniel: pretty sure the stats count raw downloads. 2017-12-07T08:09:55Z jdz: (Pretty sure nobody quickloads rfc2388 without hunchentoot.) 2017-12-07T08:10:34Z jdz: Pretty sure I use pretty sure too much. 2017-12-07T08:10:45Z momofarm joined #lisp 2017-12-07T08:12:51Z smurfrobot joined #lisp 2017-12-07T08:13:21Z loke: jdz: I'm pretty sure that is not the case. 2017-12-07T08:13:46Z fikka joined #lisp 2017-12-07T08:14:20Z jackdaniel: sure, pretty thanks! 2017-12-07T08:14:30Z jdz: Then we'll have to wait for what Xach has to say. 2017-12-07T08:15:15Z jackdaniel: it is said in the post on planet lisp "raw downloads" 2017-12-07T08:15:19Z XachX: Raw downloads not quick loads 2017-12-07T08:15:26Z jackdaniel: I'm more curious if he is interested in adding another stat 2017-12-07T08:15:30Z jackdaniel: oh, you're here 2017-12-07T08:15:39Z XachX: It is 3am. Shhhh. 2017-12-07T08:15:47Z jackdaniel: heheh 2017-12-07T08:15:48Z XachX: Zzz 2017-12-07T08:15:57Z jackdaniel: sleep well 2017-12-07T08:16:24Z hajovonta: hi all 2017-12-07T08:16:49Z beach: Hello hajovonta. 2017-12-07T08:17:01Z jdz: Now I'm pretty sure loke was not talking about quicklisp. 2017-12-07T08:17:44Z smurfrobot quit (Ping timeout: 276 seconds) 2017-12-07T08:18:39Z loke: jdz: I'm pretty sure I was referring to your use of pretty sure. 2017-12-07T08:19:37Z jdz is now 99.8% sure all outstanding issues on #lisp are settled. 2017-12-07T08:20:44Z EvW joined #lisp 2017-12-07T08:21:56Z whoman: 99.8% is pretty sure ? 2017-12-07T08:22:10Z aeth: All that's left to settle is how many ;s to put at a comment that serves as a section title within a long file. 2017-12-07T08:22:30Z loke: aeth: three 2017-12-07T08:23:02Z aeth: so four ;s only go at the top of a file? 2017-12-07T08:23:05Z hajovonta: please help: I have an error starting slime: 2017-12-07T08:23:06Z jdz: whoman: nah, pretty sure is like 92.3%. 2017-12-07T08:23:06Z hajovonta: fatal error encountered in SBCL pid 11749(tid 140737353733888): 2017-12-07T08:23:06Z hajovonta: can't find core file at ~/sbcl/lib/sbcl/sbcl.core 2017-12-07T08:23:14Z hajovonta: but the core file is there. 2017-12-07T08:24:01Z whoman: =P 2017-12-07T08:24:57Z EvW quit (Ping timeout: 240 seconds) 2017-12-07T08:25:17Z whoman: i have a feeling that some people have gone crazy or are going crazy with lisp. shoehorning it into how they are thinking, rather than kind of meeting half way. there is a secret whispering in the clay to be sculpted into this or that shape ... just got to listen... and get a decent keyboard.. =) 2017-12-07T08:25:18Z jdz: 99.8% is more like "almost certain". 2017-12-07T08:25:34Z whoman: hmm i feel that almost is nearer 90% 2017-12-07T08:26:09Z whoman: quite sure feels around 95%, fairly is lower than 90% say 80-85% 2017-12-07T08:26:18Z jdz: But that's "almost sure", not "almost certain", right? 2017-12-07T08:26:33Z scymtym joined #lisp 2017-12-07T08:26:37Z whoman: i wonder how the Matrix would benefit from our human intervention of giving values to numbers. especially them pretty pesky pickly adjectivies 2017-12-07T08:26:51Z whoman: ahh yes. adjusting 2017-12-07T08:27:15Z whoman: literally pushes past 100% these days 2017-12-07T08:28:29Z jdz: More so if "like, whoa!" is added. 2017-12-07T08:28:43Z whoman: if we cannot work out our problems linguistically aka symbolically, i strongly feel certainly confident that surely we are getting too deep into the self-projected communal holograms 2017-12-07T08:28:56Z whoman: but like its like she said and im like whoa 2017-12-07T08:29:05Z whoman: haha oh ! 2017-12-07T08:29:20Z whoman: 'wow, are you serious' 2017-12-07T08:29:26Z orivej_ is now known as orivej 2017-12-07T08:30:13Z knobo3 joined #lisp 2017-12-07T08:30:41Z nirved joined #lisp 2017-12-07T08:30:44Z whoman: lists/trees of words/symbols, which mean different at different times and contexts; eval, compile, read, write, etc... this lisp thing should be rationed to the common folk. digital acid over here 2017-12-07T08:31:49Z Cymew joined #lisp 2017-12-07T08:31:59Z White_Flame quit (Ping timeout: 248 seconds) 2017-12-07T08:33:39Z whoman: people be getting all stuck up in that there them ideas and ideals of real words meaning real things. its good to experiment. programmers are magicians =) the current alchemy is to.. something human something computer something earth something science... well breaking habits. we should give ourselves more credit - look at all of this stuff we made !! holy hell what potential is life! ahem i hope everyone is inspired to their magnum opus 2017-12-07T08:34:35Z SaganMan quit (Quit: WeeChat 1.6) 2017-12-07T08:34:38Z shrdlu68 joined #lisp 2017-12-07T08:39:35Z shrdlu68: Hello, is anyone aware of a library that has functionality for generating combinations with repitions? 2017-12-07T08:40:36Z shrdlu68: That is, generating combinations from '(a b c) of length 2 should generate '(c c) 2017-12-07T08:41:19Z shrdlu68: And either '(a b) or '(b a), but not both. 2017-12-07T08:44:51Z smurfrobot joined #lisp 2017-12-07T08:46:12Z smurfrobot quit (Remote host closed the connection) 2017-12-07T08:51:56Z Devon joined #lisp 2017-12-07T08:53:51Z QualityAddict joined #lisp 2017-12-07T08:53:59Z mrSpec: shrdlu68: I don't. But you know that you can use remove-duplicates with :test #'set-equal? ;) 2017-12-07T08:54:08Z fikka quit (Ping timeout: 276 seconds) 2017-12-07T08:54:38Z alandipert: does anyone have ideas about how i could further speed the ev2! function? https://github.com/alandipert/advent-of-code-2017/blob/master/day05.lisp 2017-12-07T08:55:34Z araujo quit (Quit: Leaving) 2017-12-07T08:55:54Z alandipert: i tried inlining it in the run function, but that didn't seem to make any difference, so stuck with funcall 2017-12-07T08:56:17Z Devon quit (Ping timeout: 255 seconds) 2017-12-07T08:58:35Z hajovonta: mrSpec: that would not remove one of '(a b) and '(b a) because these are not identical. 2017-12-07T08:59:00Z hajovonta: or ... ? 2017-12-07T09:00:29Z XachX: hajovonta: try without ~? 2017-12-07T09:01:35Z orivej quit (Ping timeout: 240 seconds) 2017-12-07T09:01:40Z aeth: alandipert: That's because input is a global variable, and those are going to be slow because they're not lexical (or at least, the portable ones aren't) 2017-12-07T09:01:46Z murii joined #lisp 2017-12-07T09:02:11Z aeth: They should always be surrounded by *s so you know they're special, i.e. *input* 2017-12-07T09:02:46Z alandipert: aeth hm, but on line 33 i copy-seq it to a local 2017-12-07T09:02:48Z hajovonta: XachX: even with custom test function, it's probably better to come up with a smart generation algorithm from a performance viewpoint 2017-12-07T09:02:56Z mrSpec: hajovonta: (set-equal '(a b) '(b a)) → t 2017-12-07T09:03:05Z mrSpec: ,clhs set-equal 2017-12-07T09:03:16Z hajovonta: mrSpec: didn't know that, thanks 2017-12-07T09:03:35Z aeth: alandipert: why so many copies? You copy it twice, once when you convert it into a vector and then again with copy-seq 2017-12-07T09:04:50Z alandipert: aeth because ev2! mutates it.. i'm not sure the copies dominate since they're not in the hot loop (lines 36-37) 2017-12-07T09:05:12Z alandipert just tested not copying at all, runtime is same 2017-12-07T09:06:24Z aeth: and you tried inlining the functions already? hmm... 2017-12-07T09:08:33Z lrvy quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-07T09:08:45Z aeth: alandipert: what's the input? is part of the page not visible without logging in? 2017-12-07T09:09:54Z hhdave joined #lisp 2017-12-07T09:10:32Z aeth: also, if you're sure they're always fixnum, try benchmarking with '(simple-array fixnum (*)) instead of 'simple-vector 2017-12-07T09:11:05Z orivej joined #lisp 2017-12-07T09:11:08Z alandipert: aeth the input is user-dependent, but mine is here if you want to try it: https://gist.github.com/alandipert/63e4502350d90d7b251e99cac40a3895 2017-12-07T09:13:43Z alandipert: aeth i think that might have shaved off 10-20 ms, hard to say tho 2017-12-07T09:14:54Z alandipert: the time to beat is 130 ms.. that's how fast a similar and type-hinted clojure algorithm does it on my machine. currently my lisp goes to ~230ms 2017-12-07T09:16:57Z hhdave quit (Ping timeout: 240 seconds) 2017-12-07T09:17:00Z pjb quit (Remote host closed the connection) 2017-12-07T09:18:53Z beach: alandipert: Do you have to use simple vectors? It might be more efficient to use specialized vectors. 2017-12-07T09:19:19Z lrvy joined #lisp 2017-12-07T09:19:45Z aeth: If you want to make a higher-order-function faster, you can usually do that by converting it into a macro, afaik. 2017-12-07T09:20:03Z aeth: I just more than halved it by turning it into a macro, on my machine 2017-12-07T09:20:04Z alandipert: beach i don't think they have to be simple, i'm ignorant of this swath of CL :-) i went with simple because it seemed like.. the simplest 2017-12-07T09:21:10Z beach: alandipert: Well, in Common Lisp a simple vector has element type T. It might be better to use a vector type that stores numbers. 2017-12-07T09:21:12Z aeth: All I did was replaced the funcall with (progn ,@body) and now I define a function instead of passing in a higher order function. Real code should also use gensyms in macros. 2017-12-07T09:22:00Z Cymew quit (Remote host closed the connection) 2017-12-07T09:23:22Z aeth: Giving it a fixnum type doesn't make a big performance difference because fixnums are already unboxed (unlike e.g. double-float), fixnums will fit in a vector already, and it's being told they're fixnums with (the fixnum ...) 2017-12-07T09:24:08Z aeth: Even if it made no difference, though, '(simple-array fixnum (*)) in your coerce and removing the (the fixnum ...) feels more idiomatic 2017-12-07T09:24:38Z jdz: alandipert: What's the expected result? 2017-12-07T09:24:57Z damke_ joined #lisp 2017-12-07T09:25:00Z alandipert: jdz 23948711 2017-12-07T09:26:50Z mhitchman[m] joined #lisp 2017-12-07T09:29:10Z Cymew joined #lisp 2017-12-07T09:29:31Z jdz: I get 318883 :? 2017-12-07T09:29:35Z aeth: that's the first one 2017-12-07T09:30:56Z aeth: alandipert: Make sure that the length is known. That's the big thing for vectors. e.g. (declare (optimize (speed 3)) ((simple-array fixnum (1000)) code)) And use a macro instead of a higher order function, i.e. put the loop in a macro, and make the part that differs the body. 2017-12-07T09:31:16Z dddddd joined #lisp 2017-12-07T09:31:55Z jdz: aeth: Is there another input file? 2017-12-07T09:32:17Z aeth: I'm just using the same input file for both 2017-12-07T09:32:30Z jdz: For both what? 2017-12-07T09:32:44Z jdz: OK, what's part 2? 2017-12-07T09:33:08Z jdz: I'm reading the original task and there's only part 1? 2017-12-07T09:33:17Z alandipert: jdz you have to log in and solve part 1 in order to see part 2 2017-12-07T09:33:26Z jdz: Oh. 2017-12-07T09:33:32Z alandipert: i can post it tho, one sec 2017-12-07T09:33:35Z Cymew quit (Ping timeout: 240 seconds) 2017-12-07T09:34:04Z alandipert: jdz https://gist.github.com/alandipert/f62e73c6c0c273fbf7c5ed6e77bc18a5 2017-12-07T09:34:14Z jdz: alandipert: OK, thanks! 2017-12-07T09:34:59Z alandipert: aeth i can see how inlining via macro is faster, i was kind of hoping there would be a way to parameterize via defun name at least. and use (declare (inline ...)) 2017-12-07T09:35:25Z alandipert: aeth https://gist.github.com/alandipert/a15a83cb49d9cabf95781b7d987bbcab is my attempt at that, no faster though 2017-12-07T09:35:27Z quazimodo quit (Ping timeout: 248 seconds) 2017-12-07T09:35:44Z aeth: SBCL doesn't trust you, btw. It doesn't believe that it's not a fixnum because you're doing addition, afaik. When I disassemble, I see three object-not-fixnum-errors. If the numbers have a tighter bound than fixnum, you can save some checks each iteration of the loop (or at least, some of them might be in the loop) 2017-12-07T09:35:56Z aeth: Not sure which CL you're using. Maybe you use one that trusts the. 2017-12-07T09:35:59Z aeth: Or declare. 2017-12-07T09:36:08Z alandipert: i'm on sbcl 2017-12-07T09:36:27Z aeth: no, don't make the macro like that. 2017-12-07T09:36:47Z aeth: I mean, replace (evnfun code ptr) with (progn ,@body) 2017-12-07T09:36:53Z _cosmonaut_ joined #lisp 2017-12-07T09:38:38Z specbot quit (Remote host closed the connection) 2017-12-07T09:38:38Z smurfrobot joined #lisp 2017-12-07T09:38:45Z specbot joined #lisp 2017-12-07T09:38:45Z aeth: i.e. instead of calling a function, you're inlining the whole thing into the loop iteration manually, with the macro. 2017-12-07T09:39:32Z alandipert: im familiar with the technique, but was hoping to avoid its downsides 2017-12-07T09:39:43Z drcode quit (Ping timeout: 248 seconds) 2017-12-07T09:39:54Z smurfrobot quit (Remote host closed the connection) 2017-12-07T09:40:00Z aeth: SBCL cheats with its built-in higher order functions, and even then the cheating is a leaky abstraction and you can easily ruin performance. 2017-12-07T09:40:23Z aeth: Very high performance CL does not use higher order functions. 2017-12-07T09:40:34Z Cymew joined #lisp 2017-12-07T09:40:47Z kushal quit (Ping timeout: 248 seconds) 2017-12-07T09:41:13Z alandipert: sure... or we just write C 2017-12-07T09:41:46Z aeth: If prefer using C's macro systme 2017-12-07T09:41:50Z aeth: s/If prefer/If you/ 2017-12-07T09:41:51Z eli quit (Ping timeout: 248 seconds) 2017-12-07T09:42:15Z aeth: bah 2017-12-07T09:42:20Z jdz: alandipert: what CPU does the 130ms requirement for? 2017-12-07T09:42:20Z aeth: If you prefer using C's macro system. 2017-12-07T09:42:26Z jdz: s/does/is 2017-12-07T09:44:43Z kushal joined #lisp 2017-12-07T09:44:58Z alandipert: jdz its this clojure code, on java 9/macos, on i7 skylake https://github.com/bhauman/advent-of-clojure-2016/blob/master/src/advent_of_clojure_2017/day05.clj#L50-L59 2017-12-07T09:45:06Z kushal is now known as Guest62015 2017-12-07T09:49:00Z lrvy quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-07T09:50:10Z murii quit (Ping timeout: 264 seconds) 2017-12-07T09:50:55Z BitPuffin|osx joined #lisp 2017-12-07T09:52:05Z orivej quit (Ping timeout: 268 seconds) 2017-12-07T09:52:17Z aeth: And afaik you can meet the desired performance if you replace (evfun code ptr) with (progn ,@body) and redefine the functions to use this macro instead of to be passed in. Additionally, declaring it as a (simple-array fixnum (1000)) instead of * (unless it's going to be of a variable size) 2017-12-07T09:52:24Z aeth: In fact, just the length declaration might do it 2017-12-07T09:52:37Z aeth: Unknown length on a vector is expensive 2017-12-07T09:52:53Z Devon joined #lisp 2017-12-07T09:54:05Z aeth: You get a big, scary "SB-KERNEL:HAIRY-DATA-VECTOR-SET/CHECK-BOUNDS" in the disassembly without a known length, and it's every iteration of the loop because it's in ev2! 2017-12-07T09:54:34Z lrvy joined #lisp 2017-12-07T09:54:34Z aeth: in fact, it shows up twice. 2017-12-07T09:54:46Z jdz: alandipert: a straight-forward version I tried: http://lpaste.net/360573 2017-12-07T09:55:31Z schweers: aeth: are simple-arrays of unknown size really that big a deal? 2017-12-07T09:55:52Z jdz: My CPU is mobile i7-7500. 2017-12-07T09:56:05Z alandipert: jdz cool, i'll give that a look later. off to bed for now, thanks all for the help! 2017-12-07T09:56:23Z aeth: schweers: calling that function to check bounds 2000 times might have an impact in the performance if you're trying to minimize it 2017-12-07T09:57:00Z aeth: A lot of the time, it's not important. This is something that's trying to be made as fast as possible afaik. 2017-12-07T09:57:00Z schweers: It shouldn’t cause many memory operations though, right? 2017-12-07T09:57:17Z Devon quit (Ping timeout: 255 seconds) 2017-12-07T09:59:23Z Tobbi joined #lisp 2017-12-07T09:59:29Z aeth: Found the source: https://github.com/sbcl/sbcl/blob/7aa16ffc71fb5c04458297978292daa7f3f37dac/src/code/array.lisp 2017-12-07T09:59:44Z damke joined #lisp 2017-12-07T10:00:07Z aeth: I think that contains everything that's relevant 2017-12-07T10:00:27Z knobo3 quit (Ping timeout: 240 seconds) 2017-12-07T10:02:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-07T10:02:51Z knobo3 joined #lisp 2017-12-07T10:05:15Z turkja joined #lisp 2017-12-07T10:06:05Z aeth: jdz's version gives me a consistent 0.69, which is twice as fast as the macro-ified version of ev2+run. Giving it a known length of 1000 speeds it up to about 0.64. More than I thought, but fairly insignificant. It gets rid of several bounds checks, but the bounds checks probably aren't being called every iteration anymore. 2017-12-07T10:06:47Z jdz: Compiling with (safety 0) almost halves the time, but nobody should ever do that. 2017-12-07T10:06:58Z aeth: The macro version probably gave such a dramatic improvement because the compiler didn't have to bounds check as often. 2017-12-07T10:07:00Z hhdave joined #lisp 2017-12-07T10:07:08Z sebboh quit (Ping timeout: 240 seconds) 2017-12-07T10:07:17Z aeth: jdz: That's the path to the Dark Side 2017-12-07T10:07:30Z jibanes quit (Ping timeout: 268 seconds) 2017-12-07T10:07:34Z jdz could not agree more! 2017-12-07T10:08:00Z Amplituhedron joined #lisp 2017-12-07T10:08:05Z momofarm quit (Ping timeout: 240 seconds) 2017-12-07T10:08:42Z jdz: I wish one of the exercises will use 65-bit (or bigger) integers! 2017-12-07T10:09:10Z jibanes joined #lisp 2017-12-07T10:09:22Z aeth: known size is 2 bounds checks and 3 fixnum checks; unknown size adds 2 bounds checks; safety probably removes all the checks because the algorithm is flawless 2017-12-07T10:09:29Z aeth: s/safety/safety 0/ 2017-12-07T10:09:58Z aeth: jdz: Project Euler does, sometimes. 2017-12-07T10:10:18Z rgrau joined #lisp 2017-12-07T10:12:33Z Cymew_ joined #lisp 2017-12-07T10:12:34Z alandipert: jdz your code is awesome, thanks for sharing. i like not using fancy loop stuff. ok now to bed for real :-) 2017-12-07T10:12:36Z aeth: You might be able to remove some more checks if you're clever, without resorting to safety 0. That can get you some of the way there. 2017-12-07T10:13:27Z Cymew quit (Read error: Connection reset by peer) 2017-12-07T10:13:37Z aeth: e.g. maybe they're 32 bit signed integers? Then maybe the compiler can assume fixnum longer. 2017-12-07T10:14:35Z aeth: you'd slowly lose clarity, though 2017-12-07T10:14:40Z Amplituhedron quit (Read error: Connection reset by peer) 2017-12-07T10:15:33Z flamebeard joined #lisp 2017-12-07T10:15:39Z schweers: aeth: your measurements pretty much confirm what I suspected: bounds checks are not that expensive, since running times of programs on modern hardware are pretty much limited by the speed of memory operations. 2017-12-07T10:19:57Z aeth: Individually, the checks are pretty cheap. Collectively, they apparently add up. I don't get half the time, though. I get 0.04 seconds in the safety 0 version. And half the checks that are being removed are checks for fixnum. 2017-12-07T10:20:52Z jdz: Yes, "almost halves". 2017-12-07T10:20:54Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-07T10:20:57Z schweers: you can go from 0.69s to 0.04s? not bad, that on the other hand is not what I expected 2017-12-07T10:21:20Z jdz: Oh, I misread the number. 2017-12-07T10:21:28Z aeth: no 2017-12-07T10:21:38Z aeth: I mistyped a number 2017-12-07T10:21:45Z aeth: .064 2017-12-07T10:21:49Z aeth: Not 0.64 2017-12-07T10:21:56Z aeth: I think I need to sleep. 2017-12-07T10:22:19Z schweers: oh, ok 2017-12-07T10:22:25Z schweers: thanks for clarifying 2017-12-07T10:22:28Z aeth: Also, that's why you should always get in the habit of putting the leading zero! 00.64 would have been obvious 2017-12-07T10:23:07Z aeth: although I think I just was misreading it or something 2017-12-07T10:25:16Z quazimodo joined #lisp 2017-12-07T10:25:49Z aeth: Here's the overhead, btw: (let ((foo #(0 1 2 3 4 5 6 7))) (time (dotimes (i 10000000000) (sb-kernel:hairy-data-vector-set/check-bounds foo 4 42)))) 2017-12-07T10:29:04Z aeth: Or if that's not good enough: (let ((foo (coerce (loop for i from 0 to 10000 collect i) 'simple-vector))) (time (dotimes (i 10000000000) (sb-kernel:hairy-data-vector-set/check-bounds foo 400 42)))) 2017-12-07T10:30:34Z aeth: In order for it to matter, your data has to be huge or you have to have a very strict time constraint (maybe 200 frames per second?) 2017-12-07T10:31:01Z red-dot joined #lisp 2017-12-07T10:31:08Z fikka joined #lisp 2017-12-07T10:32:24Z wigust joined #lisp 2017-12-07T10:36:22Z fikka quit (Ping timeout: 264 seconds) 2017-12-07T10:36:49Z shrdlu68 quit (Ping timeout: 248 seconds) 2017-12-07T10:37:03Z shrdlu68 joined #lisp 2017-12-07T10:37:12Z BitPuffin|osx quit (Remote host closed the connection) 2017-12-07T10:37:54Z aeth: nevermind, that doesn't do what I think it does. 2017-12-07T10:52:15Z Cymew_ quit (Remote host closed the connection) 2017-12-07T10:53:31Z Devon joined #lisp 2017-12-07T10:58:07Z Devon quit (Ping timeout: 248 seconds) 2017-12-07T10:58:47Z Cymew joined #lisp 2017-12-07T11:01:25Z damke_ joined #lisp 2017-12-07T11:03:05Z Cymew quit (Ping timeout: 240 seconds) 2017-12-07T11:03:40Z igemnace quit (Quit: WeeChat 2.0) 2017-12-07T11:03:41Z damke quit (Ping timeout: 240 seconds) 2017-12-07T11:04:45Z Cymew joined #lisp 2017-12-07T11:06:45Z eSVG quit (Ping timeout: 258 seconds) 2017-12-07T11:08:11Z sjl joined #lisp 2017-12-07T11:09:21Z Cymew quit (Ping timeout: 250 seconds) 2017-12-07T11:10:41Z hvxgr quit (Ping timeout: 240 seconds) 2017-12-07T11:10:47Z Cymew joined #lisp 2017-12-07T11:12:27Z sjl quit (Ping timeout: 240 seconds) 2017-12-07T11:12:53Z hvxgr joined #lisp 2017-12-07T11:14:12Z wxie joined #lisp 2017-12-07T11:14:50Z m00natic joined #lisp 2017-12-07T11:14:52Z Cymew quit (Ping timeout: 240 seconds) 2017-12-07T11:15:23Z shrdlu68: When working with arrays of integers less than 128, is there a performance benefit in using :element-type '(unsigned-byte 7) rather than '(unsigned-byte 8) ? 2017-12-07T11:16:11Z schweers: shrdlu68: No, as the underlying hardware is probably byte-aligned 2017-12-07T11:16:35Z schweers: i.e. there is no machine instruction to fetch or address a 7-bit region of memory 2017-12-07T11:16:52Z Tobbi joined #lisp 2017-12-07T11:17:04Z shrdlu68: schweers: So implementations probably use octets in any case? 2017-12-07T11:17:14Z schweers: I guess 2017-12-07T11:17:42Z schweers: according to the CMUCL manual there are (or were?) even implementations which used even worse representations in such cases 2017-12-07T11:17:59Z schweers: but CMUCL and SBCL should just use octets 2017-12-07T11:18:46Z shrdlu68: I see, thanks! 2017-12-07T11:19:23Z jmercouris joined #lisp 2017-12-07T11:19:36Z jmercouris quit (Remote host closed the connection) 2017-12-07T11:19:53Z schweers: the same should be true of '(unsigned-byte 15) etc 2017-12-07T11:20:02Z schweers: bit-vectors being a notable exception 2017-12-07T11:20:04Z jmercouris joined #lisp 2017-12-07T11:20:14Z jmercouris: I have the following code https://gist.github.com/78247fc1030e208f023c50323d46b3e8 2017-12-07T11:20:23Z jmercouris: My compiler complains that help-contents is unused lexical variable 2017-12-07T11:20:24Z schweers: although .. now that I think of it, it’s not /really/ an exception 2017-12-07T11:20:40Z jmercouris: YET! I am using it on line 4 2017-12-07T11:20:59Z jmercouris: Additionally, the contents of "help-contents" is not actually being used within ps:ps somehow 2017-12-07T11:21:43Z schweers: weird 2017-12-07T11:22:07Z schweers: what is ps:ps? 2017-12-07T11:22:12Z schweers: a function? inlined? a macro? 2017-12-07T11:22:38Z jmercouris: schweers: https://gist.github.com/55ed1615fdd783e6c36455bbec1e34ff 2017-12-07T11:23:49Z schweers: if it’s a macro, and doesn’t use its argument ... on the other hand the SETF expression does use it anyway. I’m also confused 2017-12-07T11:24:16Z Zhivago: Perhaps it is just a symbol? 2017-12-07T11:25:34Z fikka joined #lisp 2017-12-07T11:25:42Z drcode joined #lisp 2017-12-07T11:26:17Z mercourisj joined #lisp 2017-12-07T11:26:38Z mercourisj: sorry, my internet keeps cutting out, I am checking the logs though, so don't worry 2017-12-07T11:26:41Z jmercouris quit (Ping timeout: 240 seconds) 2017-12-07T11:27:03Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-07T11:27:04Z mercourisj: from the project description: "The ps macro takes Parenscript code in the form of lists (Parenscript code and Common Lisp code share the same representation), translates as much as it can into constant JavaScript strings at macro-expansion time, and expands into a form that will evaluate to a string containing JavaScript code." 2017-12-07T11:29:57Z fikka quit (Ping timeout: 240 seconds) 2017-12-07T11:30:21Z jmercouris joined #lisp 2017-12-07T11:30:25Z jmercouris: Zhivago: What do you mean by "perhaps it is just a symbol"? 2017-12-07T11:30:35Z schweers: does insert-help contain what you expect? 2017-12-07T11:30:49Z fikka joined #lisp 2017-12-07T11:30:56Z Zhivago: ps:ps looks like a symbol. Perhaps that's how it is being used. 2017-12-07T11:31:12Z jmercouris: schweers: No 2017-12-07T11:31:19Z jmercouris: It looks like this: "document.body.innerHTML = helpContents;" 2017-12-07T11:31:27Z mercourisj quit (Ping timeout: 240 seconds) 2017-12-07T11:31:34Z jmercouris: Whereas it should look like "document.body.innerHTML = "contents of help-contents variable";" 2017-12-07T11:32:33Z mercourisj joined #lisp 2017-12-07T11:32:58Z shrdlu68: Is there a way to increase dynamic heap size in sbcl once it's running? 2017-12-07T11:35:59Z jmercouris quit (Ping timeout: 248 seconds) 2017-12-07T11:36:04Z schweers: shrdlu68: As far as I know this cannot be done. I wish there was a way though. Or rather I wish this could happen automatically. 2017-12-07T11:37:02Z mercourisj quit (Ping timeout: 258 seconds) 2017-12-07T11:37:15Z schweers: jmercouris: can you verify that SETF has any effect? Also, have you tried factoring the (PS:PS ...) expression into a function and calling that with HELP-CONTENTS as an argument? 2017-12-07T11:37:21Z thinkpad quit (Read error: Connection reset by peer) 2017-12-07T11:37:25Z yeticry joined #lisp 2017-12-07T11:37:54Z jmercouris joined #lisp 2017-12-07T11:38:46Z jmercouris: schweers: I haven't tried that, but I don't see how that would help, I didn't write ps:ps it is part of parenscript 2017-12-07T11:39:36Z mercourisj joined #lisp 2017-12-07T11:39:40Z schweers: I know, but I don’t know anything about parenscript, so I have no idea what the macro actually does. 2017-12-07T11:39:42Z mercourisj: schweers: setf most definitely has an effect, if you look at the outputted html it has an assignment on the innerhtml of the body 2017-12-07T11:39:52Z wigust quit (Ping timeout: 240 seconds) 2017-12-07T11:39:52Z mercourisj: what I need to figure it is how to inline to ps somehow :\ 2017-12-07T11:40:28Z schweers: Is it imporant to have the SETF inside the macro? 2017-12-07T11:40:30Z thinkpad joined #lisp 2017-12-07T11:40:32Z yeticry_ quit (Ping timeout: 255 seconds) 2017-12-07T11:41:21Z schweers: i.e. is setf meant to be carried through to js? 2017-12-07T11:41:27Z wigust joined #lisp 2017-12-07T11:43:02Z jmercouris quit (Ping timeout: 255 seconds) 2017-12-07T11:43:38Z jmercouris joined #lisp 2017-12-07T11:43:44Z jmercouris: schweers: Correct, it must be in JS the point is to set the text of the web page 2017-12-07T11:44:18Z jmercouris: schweers: Correct, it must be in JS the point is to set the text of the web page 2017-12-07T11:44:26Z Devon joined #lisp 2017-12-07T11:44:35Z mercourisj quit (Ping timeout: 255 seconds) 2017-12-07T11:45:01Z schweers: have you macroexpanded it? 2017-12-07T11:48:01Z mercourisj joined #lisp 2017-12-07T11:48:12Z mercourisj: yes, the macro expansion is the same as ps:ps 2017-12-07T11:48:46Z schweers: have you macroexpanded the PS invocation? 2017-12-07T11:48:59Z schweers: to see what it does with its arguments 2017-12-07T11:50:46Z mercourisj: Yes the issue is the symbol conversaion rather than evaluation 2017-12-07T11:50:55Z mercourisj: If you look in the reference here:https://common-lisp.net/project/parenscript/reference.html 2017-12-07T11:51:14Z mercourisj: You'll see the section "Symbol Conversion" which is what is happening with the value of help-contents, rather than an eval to its value 2017-12-07T11:51:43Z jmercouris quit (Ping timeout: 268 seconds) 2017-12-07T11:53:54Z jmercouris joined #lisp 2017-12-07T11:54:09Z jmercouris: alright, so reading the manual again, I retried ps:lisp, apparently ONLY at runtime does the lisp form get evaluated, so I was doing the macro expansion and it looked wrong to me, but did actually work 2017-12-07T11:54:41Z jmercouris: so to anyone reading the log in the future, the following is how I solved my problem (ps:lisp help-contents) instead of just using help-contents which was being translated to a js symbol helpContents 2017-12-07T11:55:00Z jmercouris: within (ps:lisp) any lisp can be eval'd at runtime 2017-12-07T11:55:21Z hajovonta: is that null lexical environment? 2017-12-07T11:55:36Z jmercouris: hajovonta: sorry, what is the question? 2017-12-07T11:55:59Z mercourisj quit (Ping timeout: 252 seconds) 2017-12-07T11:58:03Z jmercouris quit (Remote host closed the connection) 2017-12-07T11:58:20Z jmercouris joined #lisp 2017-12-07T11:58:55Z Bike joined #lisp 2017-12-07T11:59:04Z jdz: On SBCL: (upgraded-array-element-type '(unsigned-byte 7)) => (UNSIGNED-BYTE 7) 2017-12-07T11:59:44Z jdz: schweers: ^ 2017-12-07T12:00:23Z hajovonta: jmercouris: in the (ps:lisp) form 2017-12-07T12:00:48Z Devon: CCL> (upgraded-array-element-type '(unsigned-byte 7)) => (UNSIGNED-BYTE 8) 2017-12-07T12:02:16Z Bike: if you know it's an (unsigned-byte 7) you might as well tell the implementation so, since it upgrades regardless 2017-12-07T12:02:51Z milanj quit (Quit: This computer has gone to sleep) 2017-12-07T12:02:56Z jmercouris quit (Ping timeout: 260 seconds) 2017-12-07T12:03:12Z Devon: (ps:lisp '(upgraded-array-element-type '(unsigned-byte 7))) => (UPGRADED-ARRAY-ELEMENT-TYPE '(UNSIGNED-BYTE 7)) 2017-12-07T12:03:34Z Bike: okay? 2017-12-07T12:04:14Z Devon: Mindless, don't mind me. 2017-12-07T12:05:21Z lrvy quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-07T12:05:40Z jdz: I wrote a bit about arrays ages ago here: http://t-b-o-g.blogspot.com/2009/10/brians-brain-on-common-lisp-take-2.html 2017-12-07T12:07:32Z wxie quit (Remote host closed the connection) 2017-12-07T12:08:10Z BitPuffin|osx joined #lisp 2017-12-07T12:13:10Z Bike is now known as Bicyclidine 2017-12-07T12:16:47Z murii joined #lisp 2017-12-07T12:17:35Z EvW1 joined #lisp 2017-12-07T12:18:34Z Cymew joined #lisp 2017-12-07T12:18:34Z milanj joined #lisp 2017-12-07T12:23:13Z schweers: jdz: but does it have any benefit declaring the element type as (unsigned-byte 7)? 2017-12-07T12:23:36Z orivej joined #lisp 2017-12-07T12:23:47Z schweers: now that I think of it: there may be cases in which the compiler can prove that an operation on an element will not be larger than (unsigned-byte 8) 2017-12-07T12:23:50Z jdz: If that's what you will be storing there, then yes. 2017-12-07T12:24:29Z dddddd quit (Quit: Hasta otra..) 2017-12-07T12:25:31Z shrdlu68: 8-bit is to octet as 7-bit is to? 2017-12-07T12:25:54Z jdz: septet? 2017-12-07T12:26:08Z schweers: byte :-P 2017-12-07T12:26:30Z shrdlu68: Hehe, I'll go with septet 2017-12-07T12:27:00Z shrdlu68: (deftype septet... 2017-12-07T12:27:05Z jdz: schweers: let me look that up for you: https://en.wikipedia.org/wiki/Byte#9_bit 2017-12-07T12:27:35Z schweers: wasn’t always the case though, was it? 2017-12-07T12:27:57Z schweers: but I may very well be wrong about that, I’m not old enough to remember a time when a byte wasn’t 8 bits 2017-12-07T12:29:02Z jdz: I remember at least some architectures from early lisp days had 36-bit words, which I think implied 9-bit bytes. 2017-12-07T12:29:35Z _paul0 joined #lisp 2017-12-07T12:29:50Z TCZ joined #lisp 2017-12-07T12:30:18Z Devon: 7-bit bytes with a spare bit. 2017-12-07T12:30:45Z _paul0 quit (Remote host closed the connection) 2017-12-07T12:31:01Z jdz: s/I remember/I remember reading about/ 2017-12-07T12:31:22Z jdz: I have not touched a PDP-11 or a Lisp Machine in my life. 2017-12-07T12:31:53Z ecraven: jdz: I don't think lisp machine words were split into bytes 2017-12-07T12:31:57Z Devon: In fact, any byte size you like, as long as it fits. 2017-12-07T12:32:18Z Devon: That's where byte pointers come from. 2017-12-07T12:32:32Z paul0 quit (Ping timeout: 276 seconds) 2017-12-07T12:32:57Z Devon: (dpb hi (byte 8 8) lo) 2017-12-07T12:34:37Z jdz: I should read this: https://en.wikipedia.org/wiki/IBM_704 2017-12-07T12:35:19Z jdz: I also remember reading about strings being chunks of 5? characters (each one 7-bits) packed in words? 2017-12-07T12:35:19Z Devon: haha, CAR & CDR 2017-12-07T12:35:44Z Devon: Correct, the sign bit unused. 2017-12-07T12:35:52Z jdz: Or could be used for tag? 2017-12-07T12:36:02Z jdz: Maybe not. 2017-12-07T12:36:44Z ecraven: I think the 36 bit had 4 bit tags 2017-12-07T12:36:58Z jdz: Could be 4 characters, then. 2017-12-07T12:37:17Z jdz: Does it ring any bells for anybody? 2017-12-07T12:37:19Z Devon: I suppose the Symbolics 3600 had 32 bits + 4 tag bits. 2017-12-07T12:38:04Z shrdlu68: Just realized #'member only works with lists. 2017-12-07T12:38:16Z Devon: The LMITI (LMI+MIT+TI) CADR has 32 bits - tag bits, so maybe 28 to work with. 2017-12-07T12:38:46Z orivej quit (Ping timeout: 264 seconds) 2017-12-07T12:39:21Z Devon: #'find takes anything and you can :key #'car 2017-12-07T12:41:13Z pjb joined #lisp 2017-12-07T12:41:58Z jdz: Oh, this might be it (from IBM_704 page): «Alphanumeric characters were usually 6-bit BCD, packed six to a word.» 2017-12-07T12:42:15Z xor-xor quit (Quit: leaving) 2017-12-07T12:42:21Z Devon: No lowercase for you! 2017-12-07T12:43:35Z TCZ quit (Quit: Leaving) 2017-12-07T12:45:07Z pjb: lisp 1.5 charset: "0123456789#=\"###+ABCDEFGHI%.)###-JKLMNOPQRØ$*### /STUVWXYZ±,(###" 2017-12-07T12:45:11Z SaganMan joined #lisp 2017-12-07T12:45:14Z pjb: # = unallocated codepoint. 2017-12-07T12:45:56Z Devon: PDP-10 SIXBIT for filenames, SQUOZE for symbol tables, 7-bit ASCII for text, 8-bit SAIL for terminal output, 9-bit... not sure but I'm sure it got some use. 2017-12-07T12:45:57Z pjb: Funny: there's ± 2017-12-07T12:48:40Z pjb: ASCII was invented way later than LISP 1.5… 2017-12-07T12:50:59Z TCZ joined #lisp 2017-12-07T12:51:52Z EvW1 quit (Ping timeout: 240 seconds) 2017-12-07T12:53:50Z Devon: I suspect that " is a mistake and ' is more likely. 2017-12-07T12:54:56Z jdz: Why? 2017-12-07T12:55:56Z jdz: There is Ø and ±, and many unallocated codepoints. 2017-12-07T12:56:35Z Devon: https://en.wikipedia.org/wiki/BCD_(character_encoding)#48-character_BCD_code 2017-12-07T12:57:46Z jdz: Devon: what about it? It's very different from what pjb shared. 2017-12-07T12:57:58Z mson joined #lisp 2017-12-07T12:58:39Z Devon: Oops, https://en.wikipedia.org/wiki/BCD_(character_encoding)#IBM_704_BCD_code 2017-12-07T13:00:08Z jdz: That's a bit closer, does not have " nor '. 2017-12-07T13:02:06Z Devon: McCarthy's printer may have had a slightly different print chain installed. 2017-12-07T13:02:36Z Devon: or drum, as they probably had the top-of-the-line gear. 2017-12-07T13:05:27Z hajovonta: top gear 2017-12-07T13:07:33Z knobo3: | 2017-12-07T13:10:23Z dtornabene joined #lisp 2017-12-07T13:10:53Z Guest78438 quit (Read error: Connection reset by peer) 2017-12-07T13:11:19Z Guest78438 joined #lisp 2017-12-07T13:11:53Z _cosmonaut_ quit (Ping timeout: 268 seconds) 2017-12-07T13:19:33Z pjb: Well, foremost, the character set was determined by the printer chains. They could easily be changed for each printing job! 2017-12-07T13:20:34Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-07T13:21:15Z orivej joined #lisp 2017-12-07T13:24:19Z rawste joined #lisp 2017-12-07T13:28:44Z eSVG joined #lisp 2017-12-07T13:29:26Z shrdlu68 quit (Ping timeout: 255 seconds) 2017-12-07T13:30:27Z red-dot joined #lisp 2017-12-07T13:31:06Z Guest24518 joined #lisp 2017-12-07T13:33:14Z Tobbi joined #lisp 2017-12-07T13:38:13Z knobo3 is now known as knobo 2017-12-07T13:38:41Z _cosmonaut_ joined #lisp 2017-12-07T13:39:56Z hajovonta quit (Quit: hajovonta) 2017-12-07T13:42:56Z Bike joined #lisp 2017-12-07T13:51:21Z _cosmonaut_ quit (Ping timeout: 240 seconds) 2017-12-07T13:54:51Z wxie joined #lisp 2017-12-07T13:55:28Z Devon: Taking off now to shame the FCC. Happy hacking! 2017-12-07T13:59:18Z wxie quit (Client Quit) 2017-12-07T13:59:29Z Tobbi quit (Remote host closed the connection) 2017-12-07T13:59:35Z marusich quit (Ping timeout: 255 seconds) 2017-12-07T13:59:59Z Devon quit (Ping timeout: 268 seconds) 2017-12-07T14:00:21Z Tobbi joined #lisp 2017-12-07T14:00:28Z marusich joined #lisp 2017-12-07T14:02:09Z mishoo quit (Ping timeout: 248 seconds) 2017-12-07T14:03:34Z Guest78438 quit (Remote host closed the connection) 2017-12-07T14:03:59Z Guest78438 joined #lisp 2017-12-07T14:08:36Z Tobbi quit (Quit: Leaving) 2017-12-07T14:09:38Z marusich quit (Ping timeout: 252 seconds) 2017-12-07T14:10:21Z marusich joined #lisp 2017-12-07T14:14:32Z xrash joined #lisp 2017-12-07T14:16:35Z papachan joined #lisp 2017-12-07T14:17:48Z dddddd joined #lisp 2017-12-07T14:21:21Z TCZ quit (Quit: Leaving) 2017-12-07T14:22:47Z sjl joined #lisp 2017-12-07T14:25:16Z LiamH joined #lisp 2017-12-07T14:25:50Z GreaseMonkey quit (Remote host closed the connection) 2017-12-07T14:27:14Z _cosmonaut_ joined #lisp 2017-12-07T14:27:16Z greaser|q joined #lisp 2017-12-07T14:28:45Z cromachina quit (Quit: Leaving) 2017-12-07T14:33:26Z froggey quit (Ping timeout: 260 seconds) 2017-12-07T14:33:30Z dtornabene quit (Quit: Leaving) 2017-12-07T14:35:15Z froggey joined #lisp 2017-12-07T14:37:54Z trafaret1 joined #lisp 2017-12-07T14:38:05Z trafaret1 left #lisp 2017-12-07T14:44:17Z _whitelogger_ joined #lisp 2017-12-07T14:45:47Z SlowJimmy joined #lisp 2017-12-07T14:46:43Z SlowJimmy quit (Client Quit) 2017-12-07T14:47:45Z SlowJimmy joined #lisp 2017-12-07T14:48:26Z sjl quit (*.net *.split) 2017-12-07T14:48:26Z xrash quit (*.net *.split) 2017-12-07T14:48:27Z vlatkoB quit (*.net *.split) 2017-12-07T14:48:27Z Tristam quit (*.net *.split) 2017-12-07T14:48:27Z ryanbw quit (*.net *.split) 2017-12-07T14:48:27Z ym quit (*.net *.split) 2017-12-07T14:48:27Z dwts quit (*.net *.split) 2017-12-07T14:48:27Z cess11_ quit (*.net *.split) 2017-12-07T14:48:27Z gabot quit (*.net *.split) 2017-12-07T14:48:27Z Walex quit (*.net *.split) 2017-12-07T14:48:27Z nullman quit (*.net *.split) 2017-12-07T14:48:27Z fouric quit (*.net *.split) 2017-12-07T14:48:27Z manualcrank quit (*.net *.split) 2017-12-07T14:48:28Z TeMPOraL quit (*.net *.split) 2017-12-07T14:48:28Z runejuhl quit (*.net *.split) 2017-12-07T14:48:28Z SAL9000 quit (*.net *.split) 2017-12-07T14:48:28Z antismap quit (*.net *.split) 2017-12-07T14:48:28Z Oddity quit (*.net *.split) 2017-12-07T14:48:28Z naturalog quit (*.net *.split) 2017-12-07T14:48:28Z Aritheanie quit (*.net *.split) 2017-12-07T14:48:28Z micro quit (*.net *.split) 2017-12-07T14:48:28Z tessier quit (*.net *.split) 2017-12-07T14:48:28Z gingerale quit (*.net *.split) 2017-12-07T14:48:28Z greaser|q quit (*.net *.split) 2017-12-07T14:48:28Z _cosmonaut_ quit (*.net *.split) 2017-12-07T14:48:28Z red-dot quit (*.net *.split) 2017-12-07T14:48:28Z Cymew quit (*.net *.split) 2017-12-07T14:48:28Z murii quit (*.net *.split) 2017-12-07T14:48:28Z BitPuffin|osx quit (*.net *.split) 2017-12-07T14:48:29Z shenghi quit (*.net *.split) 2017-12-07T14:48:29Z RichardPaulBck[m quit (*.net *.split) 2017-12-07T14:48:30Z plll[m] quit (*.net *.split) 2017-12-07T14:48:30Z Guest43925 quit (*.net *.split) 2017-12-07T14:48:30Z l04m33[m] quit (*.net *.split) 2017-12-07T14:48:30Z khisanth_ quit (*.net *.split) 2017-12-07T14:48:30Z xantoz quit (*.net *.split) 2017-12-07T14:48:30Z vap1 quit (*.net *.split) 2017-12-07T14:48:31Z schweers quit (*.net *.split) 2017-12-07T14:48:31Z kjeldahl quit (*.net *.split) 2017-12-07T14:48:31Z Oladon quit (*.net *.split) 2017-12-07T14:48:31Z _krator44 quit (*.net *.split) 2017-12-07T14:48:31Z froggey quit (*.net *.split) 2017-12-07T14:48:32Z terpri` quit (*.net *.split) 2017-12-07T14:48:32Z Kaisyu quit (*.net *.split) 2017-12-07T14:48:33Z tkd quit (*.net *.split) 2017-12-07T14:48:33Z jself quit (*.net *.split) 2017-12-07T14:48:33Z johs quit (*.net *.split) 2017-12-07T14:48:33Z dotc quit (*.net *.split) 2017-12-07T14:48:33Z les quit (*.net *.split) 2017-12-07T14:48:33Z jerme_ quit (*.net *.split) 2017-12-07T14:48:33Z alms_clozure quit (*.net *.split) 2017-12-07T14:48:33Z arrsim quit (*.net *.split) 2017-12-07T14:48:33Z cyraxjoe quit (*.net *.split) 2017-12-07T14:48:34Z wladz quit (*.net *.split) 2017-12-07T14:48:34Z salva quit (*.net *.split) 2017-12-07T14:48:34Z pmcana quit (*.net *.split) 2017-12-07T14:48:34Z ssake quit (*.net *.split) 2017-12-07T14:48:34Z beach quit (*.net *.split) 2017-12-07T14:48:34Z isoraqathedh quit (*.net *.split) 2017-12-07T14:48:34Z zaquest_ quit (*.net *.split) 2017-12-07T14:48:34Z vibs29 quit (*.net *.split) 2017-12-07T14:48:34Z gigetoo quit (*.net *.split) 2017-12-07T14:48:34Z _osune quit (*.net *.split) 2017-12-07T14:48:34Z wooden quit (*.net *.split) 2017-12-07T14:48:34Z easye quit (*.net *.split) 2017-12-07T14:48:35Z kjak quit (*.net *.split) 2017-12-07T14:48:35Z zooey quit (*.net *.split) 2017-12-07T14:48:35Z renard_ quit (*.net *.split) 2017-12-07T14:48:35Z schoppenhauer quit (*.net *.split) 2017-12-07T14:48:35Z Colleen quit (*.net *.split) 2017-12-07T14:48:36Z msb quit (*.net *.split) 2017-12-07T14:48:36Z phoe quit (*.net *.split) 2017-12-07T14:48:36Z spudinski quit (*.net *.split) 2017-12-07T14:48:36Z otwieracz quit (*.net *.split) 2017-12-07T14:48:36Z whaack quit (*.net *.split) 2017-12-07T14:48:36Z gabiruh quit (*.net *.split) 2017-12-07T14:48:36Z jurov quit (*.net *.split) 2017-12-07T14:48:36Z peccu quit (*.net *.split) 2017-12-07T14:48:36Z vyzo quit (*.net *.split) 2017-12-07T14:48:36Z ircbrowse quit (*.net *.split) 2017-12-07T14:48:37Z lemoinem quit (*.net *.split) 2017-12-07T14:48:37Z dmh quit (*.net *.split) 2017-12-07T14:48:37Z ult quit (*.net *.split) 2017-12-07T14:48:37Z catern quit (*.net *.split) 2017-12-07T14:48:37Z MetaYan quit (*.net *.split) 2017-12-07T14:48:37Z dustyweb quit (*.net *.split) 2017-12-07T14:48:37Z samebchase quit (*.net *.split) 2017-12-07T14:48:37Z sbryant quit (*.net *.split) 2017-12-07T14:48:37Z mulk quit (*.net *.split) 2017-12-07T14:48:37Z drdo quit (*.net *.split) 2017-12-07T14:48:37Z Sigyn quit (*.net *.split) 2017-12-07T14:48:38Z eSVG quit (*.net *.split) 2017-12-07T14:48:38Z Guest62015 quit (*.net *.split) 2017-12-07T14:48:38Z varjag quit (*.net *.split) 2017-12-07T14:48:38Z hiq[m] quit (*.net *.split) 2017-12-07T14:48:38Z equalunique[m] quit (*.net *.split) 2017-12-07T14:48:38Z jrm quit (*.net *.split) 2017-12-07T14:48:38Z ggherdov quit (*.net *.split) 2017-12-07T14:48:38Z danieli quit (*.net *.split) 2017-12-07T14:48:39Z emacsomancer quit (*.net *.split) 2017-12-07T14:48:39Z dxtr quit (*.net *.split) 2017-12-07T14:48:39Z raynold quit (*.net *.split) 2017-12-07T14:48:39Z jasom quit (*.net *.split) 2017-12-07T14:48:39Z malcom2073 quit (*.net *.split) 2017-12-07T14:48:39Z myrkraverk quit (*.net *.split) 2017-12-07T14:48:39Z lieven quit (*.net *.split) 2017-12-07T14:48:39Z cyberlard quit (*.net *.split) 2017-12-07T14:48:39Z Ziemas quit (*.net *.split) 2017-12-07T14:48:39Z internet1cafe quit (*.net *.split) 2017-12-07T14:48:39Z heurist quit (*.net *.split) 2017-12-07T14:48:39Z nightfly quit (*.net *.split) 2017-12-07T14:48:39Z _Trasformatore_ quit (*.net *.split) 2017-12-07T14:48:39Z ksool quit (*.net *.split) 2017-12-07T14:48:39Z convexferret quit (*.net *.split) 2017-12-07T14:48:39Z gendl quit (*.net *.split) 2017-12-07T14:48:40Z Meow-J quit (*.net *.split) 2017-12-07T14:48:40Z tomaw quit (*.net *.split) 2017-12-07T14:48:40Z marusich quit (*.net *.split) 2017-12-07T14:48:40Z mson quit (*.net *.split) 2017-12-07T14:48:40Z flamebeard quit (*.net *.split) 2017-12-07T14:48:40Z rgrau quit (*.net *.split) 2017-12-07T14:48:40Z jibanes quit (*.net *.split) 2017-12-07T14:48:40Z hhdave quit (*.net *.split) 2017-12-07T14:48:40Z Guest15545 quit (*.net *.split) 2017-12-07T14:48:41Z jfb4 quit (*.net *.split) 2017-12-07T14:48:41Z Arcaelyx quit (*.net *.split) 2017-12-07T14:48:41Z emerson quit (*.net *.split) 2017-12-07T14:48:41Z mingus quit (*.net *.split) 2017-12-07T14:48:41Z Patzy quit (*.net *.split) 2017-12-07T14:48:41Z _death quit (*.net *.split) 2017-12-07T14:48:41Z snits_ quit (*.net *.split) 2017-12-07T14:48:41Z ecraven quit (*.net *.split) 2017-12-07T14:48:42Z zkat quit (*.net *.split) 2017-12-07T14:48:42Z ozzloy quit (*.net *.split) 2017-12-07T14:48:42Z brucem quit (*.net *.split) 2017-12-07T14:48:42Z brandonz quit (*.net *.split) 2017-12-07T14:48:42Z |3b| quit (*.net *.split) 2017-12-07T14:48:42Z eMBee quit (*.net *.split) 2017-12-07T14:48:42Z Ober quit (*.net *.split) 2017-12-07T14:48:42Z l1x quit (*.net *.split) 2017-12-07T14:48:42Z devlaf quit (*.net *.split) 2017-12-07T14:48:42Z trig-ger quit (*.net *.split) 2017-12-07T14:48:42Z Fade quit (*.net *.split) 2017-12-07T14:48:42Z mhitchman[m] quit (*.net *.split) 2017-12-07T14:48:43Z dahs81[m] quit (*.net *.split) 2017-12-07T14:48:43Z thorondor[m] quit (*.net *.split) 2017-12-07T14:48:43Z Princess17b29a quit (*.net *.split) 2017-12-07T14:48:43Z tripty quit (*.net *.split) 2017-12-07T14:48:43Z tfb quit (*.net *.split) 2017-12-07T14:48:43Z splittist quit (*.net *.split) 2017-12-07T14:48:43Z gbyers quit (*.net *.split) 2017-12-07T14:48:44Z argoneus quit (*.net *.split) 2017-12-07T14:48:44Z PyroLagus quit (*.net *.split) 2017-12-07T14:48:44Z rjeli quit (*.net *.split) 2017-12-07T14:48:44Z Guest78438 quit (*.net *.split) 2017-12-07T14:48:44Z Guest24518 quit (*.net *.split) 2017-12-07T14:48:45Z moei quit (*.net *.split) 2017-12-07T14:48:45Z dcluna quit (*.net *.split) 2017-12-07T14:48:45Z domovod quit (*.net *.split) 2017-12-07T14:48:45Z tonton quit (*.net *.split) 2017-12-07T14:48:45Z aijony quit (*.net *.split) 2017-12-07T14:48:45Z joast quit (*.net *.split) 2017-12-07T14:48:45Z dan64 quit (*.net *.split) 2017-12-07T14:48:45Z scottj quit (*.net *.split) 2017-12-07T14:48:45Z clog quit (*.net *.split) 2017-12-07T14:48:45Z jackdaniel quit (*.net *.split) 2017-12-07T14:48:45Z cods quit (*.net *.split) 2017-12-07T14:48:45Z pacon quit (*.net *.split) 2017-12-07T14:48:45Z michalisko quit (*.net *.split) 2017-12-07T14:48:46Z giraffe quit (*.net *.split) 2017-12-07T14:48:46Z ``Erik quit (*.net *.split) 2017-12-07T14:48:46Z eagleflo quit (*.net *.split) 2017-12-07T14:48:46Z engblom quit (*.net *.split) 2017-12-07T14:48:46Z add^_ quit (*.net *.split) 2017-12-07T14:48:46Z VSync quit (*.net *.split) 2017-12-07T14:48:46Z zymurgy quit (*.net *.split) 2017-12-07T14:48:46Z spacepluk quit (*.net *.split) 2017-12-07T14:48:46Z stux|RC quit (*.net *.split) 2017-12-07T14:48:47Z Zhivago quit (*.net *.split) 2017-12-07T14:48:47Z banjiewen quit (*.net *.split) 2017-12-07T14:48:47Z alphor quit (*.net *.split) 2017-12-07T14:48:47Z josh5tone quit (*.net *.split) 2017-12-07T14:48:47Z Posterdati quit (*.net *.split) 2017-12-07T14:48:47Z _whitelogger quit (*.net *.split) 2017-12-07T14:48:48Z TMA quit (*.net *.split) 2017-12-07T14:48:48Z antoszka quit (*.net *.split) 2017-12-07T14:48:48Z cpape quit (*.net *.split) 2017-12-07T14:48:48Z felideon quit (*.net *.split) 2017-12-07T14:48:48Z jeremyheiler quit (*.net *.split) 2017-12-07T14:48:48Z creat quit (*.net *.split) 2017-12-07T14:48:48Z aaronjensen quit (*.net *.split) 2017-12-07T14:48:48Z asedeno quit (*.net *.split) 2017-12-07T14:48:49Z mood quit (*.net *.split) 2017-12-07T14:48:49Z vhost- quit (*.net *.split) 2017-12-07T14:48:49Z stux|RC-only quit (*.net *.split) 2017-12-07T14:48:49Z larme quit (*.net *.split) 2017-12-07T14:48:49Z gilberth quit (*.net *.split) 2017-12-07T14:48:49Z kilimanjaro quit (*.net *.split) 2017-12-07T14:48:49Z tobel quit (*.net *.split) 2017-12-07T14:48:49Z billstclair quit (*.net *.split) 2017-12-07T14:48:49Z rvirding quit (*.net *.split) 2017-12-07T14:48:49Z elts quit (*.net *.split) 2017-12-07T14:48:49Z flip214 quit (*.net *.split) 2017-12-07T14:48:49Z terrorjack quit (*.net *.split) 2017-12-07T14:48:49Z jyc quit (*.net *.split) 2017-12-07T14:48:49Z gz_ quit (*.net *.split) 2017-12-07T14:48:49Z azrazalea quit (*.net *.split) 2017-12-07T14:48:49Z Bike quit (*.net *.split) 2017-12-07T14:48:50Z ArthurAGleckler[ quit (*.net *.split) 2017-12-07T14:48:50Z Sovereign_Bleak quit (*.net *.split) 2017-12-07T14:48:50Z xristos quit (*.net *.split) 2017-12-07T14:48:50Z mbrock quit (*.net *.split) 2017-12-07T14:48:50Z adulteratedjedi quit (*.net *.split) 2017-12-07T14:48:50Z nhandler quit (*.net *.split) 2017-12-07T14:48:50Z funnel quit (*.net *.split) 2017-12-07T14:48:50Z danielglh quit (*.net *.split) 2017-12-07T14:48:50Z rotty quit (*.net *.split) 2017-12-07T14:48:50Z malm quit (*.net *.split) 2017-12-07T14:48:50Z emma quit (*.net *.split) 2017-12-07T14:48:51Z p_l quit (*.net *.split) 2017-12-07T14:48:51Z fikka quit (*.net *.split) 2017-12-07T14:48:51Z lxpz quit (*.net *.split) 2017-12-07T14:48:51Z epony quit (*.net *.split) 2017-12-07T14:48:52Z trn quit (*.net *.split) 2017-12-07T14:48:52Z cross quit (*.net *.split) 2017-12-07T14:48:52Z kini quit (*.net *.split) 2017-12-07T14:48:52Z Shinmera quit (*.net *.split) 2017-12-07T14:48:52Z DGASAU quit (*.net *.split) 2017-12-07T14:48:52Z zacts quit (*.net *.split) 2017-12-07T14:48:52Z hjudt quit (*.net *.split) 2017-12-07T14:48:52Z pankracy quit (*.net *.split) 2017-12-07T14:48:52Z justinmcp quit (*.net *.split) 2017-12-07T14:48:52Z nimiux quit (*.net *.split) 2017-12-07T14:48:52Z koisoke quit (*.net *.split) 2017-12-07T14:48:53Z GGMethos quit (*.net *.split) 2017-12-07T14:48:53Z cibs quit (*.net *.split) 2017-12-07T14:48:53Z AeroNotix quit (*.net *.split) 2017-12-07T14:48:53Z nirved quit (*.net *.split) 2017-12-07T14:48:53Z NaNDude quit (*.net *.split) 2017-12-07T14:48:53Z happy_gnu[m] quit (*.net *.split) 2017-12-07T14:48:53Z Firedancer quit (*.net *.split) 2017-12-07T14:48:53Z jdz quit (*.net *.split) 2017-12-07T14:48:54Z amer quit (*.net *.split) 2017-12-07T14:48:54Z cpt_nemo quit (*.net *.split) 2017-12-07T14:48:54Z theBlackDragon quit (*.net *.split) 2017-12-07T14:48:54Z fe[nl]ix quit (*.net *.split) 2017-12-07T14:48:54Z Blkt quit (*.net *.split) 2017-12-07T14:48:54Z sebastien_ quit (*.net *.split) 2017-12-07T14:48:54Z akash47 quit (*.net *.split) 2017-12-07T14:48:54Z minion quit (*.net *.split) 2017-12-07T14:48:54Z pmden quit (*.net *.split) 2017-12-07T14:48:54Z chocolait quit (*.net *.split) 2017-12-07T14:48:54Z nopf quit (*.net *.split) 2017-12-07T14:48:54Z misv quit (*.net *.split) 2017-12-07T14:48:54Z sword quit (*.net *.split) 2017-12-07T14:48:54Z nikivi quit (*.net *.split) 2017-12-07T14:48:54Z Rovanion quit (*.net *.split) 2017-12-07T14:48:55Z sigjuice quit (*.net *.split) 2017-12-07T14:48:55Z joeygibson quit (*.net *.split) 2017-12-07T14:48:55Z danlentz quit (*.net *.split) 2017-12-07T14:48:55Z d4gg4d_ quit (*.net *.split) 2017-12-07T14:48:55Z CEnnis91 quit (*.net *.split) 2017-12-07T14:48:55Z tmc quit (*.net *.split) 2017-12-07T14:48:55Z Poetichristmas quit (*.net *.split) 2017-12-07T14:48:55Z benny quit (*.net *.split) 2017-12-07T14:48:55Z askatasuna quit (*.net *.split) 2017-12-07T14:48:55Z XachX quit (*.net *.split) 2017-12-07T14:48:55Z stylewarning quit (*.net *.split) 2017-12-07T14:48:55Z odin quit (*.net *.split) 2017-12-07T14:48:55Z alandipert quit (*.net *.split) 2017-12-07T14:48:55Z shaftoe quit (*.net *.split) 2017-12-07T14:48:55Z exit70 quit (*.net *.split) 2017-12-07T14:48:55Z beaky quit (Max SendQ exceeded) 2017-12-07T14:48:55Z LocaMocha quit (Max SendQ exceeded) 2017-12-07T14:49:02Z stux|RC-only joined #lisp 2017-12-07T14:49:42Z antismap joined #lisp 2017-12-07T14:50:00Z GGMethos joined #lisp 2017-12-07T14:50:45Z stux|RC joined #lisp 2017-12-07T14:51:17Z beaky joined #lisp 2017-12-07T14:51:24Z akr quit (Ping timeout: 246 seconds) 2017-12-07T14:51:45Z hdurer[m] quit (Ping timeout: 246 seconds) 2017-12-07T14:52:05Z Jach[m] quit (Ping timeout: 248 seconds) 2017-12-07T14:52:06Z trigt[m] quit (Ping timeout: 246 seconds) 2017-12-07T14:52:06Z dirb quit (Ping timeout: 246 seconds) 2017-12-07T14:52:06Z kammd[m] quit (Ping timeout: 246 seconds) 2017-12-07T14:52:06Z CharlieBrown quit (Ping timeout: 246 seconds) 2017-12-07T14:52:29Z cryptomarauder[m quit (Ping timeout: 255 seconds) 2017-12-07T14:52:30Z astronavt[m] quit (Ping timeout: 255 seconds) 2017-12-07T14:52:33Z sjl joined #lisp 2017-12-07T14:52:33Z xrash joined #lisp 2017-12-07T14:52:33Z vlatkoB joined #lisp 2017-12-07T14:52:33Z Tristam joined #lisp 2017-12-07T14:52:33Z ryanbw joined #lisp 2017-12-07T14:52:33Z ym joined #lisp 2017-12-07T14:52:33Z dwts joined #lisp 2017-12-07T14:52:33Z cess11_ joined #lisp 2017-12-07T14:52:33Z gabot joined #lisp 2017-12-07T14:52:33Z Walex joined #lisp 2017-12-07T14:52:33Z nullman joined #lisp 2017-12-07T14:52:33Z fouric joined #lisp 2017-12-07T14:52:33Z manualcrank joined #lisp 2017-12-07T14:52:33Z TeMPOraL joined #lisp 2017-12-07T14:52:33Z naturalog joined #lisp 2017-12-07T14:52:33Z runejuhl joined #lisp 2017-12-07T14:52:33Z SAL9000 joined #lisp 2017-12-07T14:52:33Z Oddity joined #lisp 2017-12-07T14:52:33Z Aritheanie joined #lisp 2017-12-07T14:52:33Z micro joined #lisp 2017-12-07T14:52:33Z tessier joined #lisp 2017-12-07T14:52:33Z gingerale joined #lisp 2017-12-07T14:53:30Z christoph_debian quit (Ping timeout: 246 seconds) 2017-12-07T14:54:51Z shaftoe joined #lisp 2017-12-07T14:54:51Z alandipert joined #lisp 2017-12-07T14:54:51Z odin joined #lisp 2017-12-07T14:54:51Z stylewarning joined #lisp 2017-12-07T14:54:51Z XachX joined #lisp 2017-12-07T14:54:51Z askatasuna joined #lisp 2017-12-07T14:54:51Z benny joined #lisp 2017-12-07T14:54:51Z Poetichristmas joined #lisp 2017-12-07T14:54:51Z tmc joined #lisp 2017-12-07T14:54:51Z exit70 joined #lisp 2017-12-07T14:54:51Z d4gg4d_ joined #lisp 2017-12-07T14:54:51Z danlentz joined #lisp 2017-12-07T14:54:51Z joeygibson joined #lisp 2017-12-07T14:54:51Z CEnnis91 joined #lisp 2017-12-07T14:54:51Z sigjuice joined #lisp 2017-12-07T14:54:51Z nikivi joined #lisp 2017-12-07T14:54:51Z sword joined #lisp 2017-12-07T14:54:51Z Rovanion joined #lisp 2017-12-07T14:54:51Z misv joined #lisp 2017-12-07T14:54:51Z nopf joined #lisp 2017-12-07T14:54:51Z chocolait joined #lisp 2017-12-07T14:54:51Z pmden joined #lisp 2017-12-07T14:54:51Z minion joined #lisp 2017-12-07T14:54:51Z akash47 joined #lisp 2017-12-07T14:54:51Z sebastien_ joined #lisp 2017-12-07T14:54:51Z Blkt joined #lisp 2017-12-07T14:54:51Z fe[nl]ix joined #lisp 2017-12-07T14:54:51Z theBlackDragon joined #lisp 2017-12-07T14:54:51Z cpt_nemo joined #lisp 2017-12-07T14:54:51Z amer joined #lisp 2017-12-07T14:54:51Z jdz joined #lisp 2017-12-07T14:54:51Z Firedancer joined #lisp 2017-12-07T14:54:51Z NaNDude joined #lisp 2017-12-07T14:54:51Z nirved joined #lisp 2017-12-07T14:54:51Z zooey joined #lisp 2017-12-07T14:54:51Z azrazalea joined #lisp 2017-12-07T14:54:51Z gz_ joined #lisp 2017-12-07T14:54:51Z jyc joined #lisp 2017-12-07T14:54:51Z terrorjack joined #lisp 2017-12-07T14:54:51Z flip214 joined #lisp 2017-12-07T14:54:51Z elts joined #lisp 2017-12-07T14:54:51Z rvirding joined #lisp 2017-12-07T14:54:51Z billstclair joined #lisp 2017-12-07T14:54:51Z tobel joined #lisp 2017-12-07T14:54:51Z kilimanjaro joined #lisp 2017-12-07T14:54:51Z gilberth joined #lisp 2017-12-07T14:54:51Z larme joined #lisp 2017-12-07T14:54:51Z card.freenode.net has set mode +o fe[nl]ix 2017-12-07T14:54:51Z vhost- joined #lisp 2017-12-07T14:54:51Z mood joined #lisp 2017-12-07T14:54:51Z asedeno joined #lisp 2017-12-07T14:54:51Z aaronjensen joined #lisp 2017-12-07T14:54:51Z creat joined #lisp 2017-12-07T14:54:51Z jeremyheiler joined #lisp 2017-12-07T14:54:51Z felideon joined #lisp 2017-12-07T14:54:51Z cpape joined #lisp 2017-12-07T14:54:51Z antoszka joined #lisp 2017-12-07T14:54:51Z TMA joined #lisp 2017-12-07T14:54:51Z Posterdati joined #lisp 2017-12-07T14:54:51Z josh5tone joined #lisp 2017-12-07T14:54:51Z alphor joined #lisp 2017-12-07T14:54:51Z banjiewen joined #lisp 2017-12-07T14:54:51Z Zhivago joined #lisp 2017-12-07T14:54:51Z froggey joined #lisp 2017-12-07T14:54:51Z greaser|q joined #lisp 2017-12-07T14:54:51Z _cosmonaut_ joined #lisp 2017-12-07T14:54:51Z marusich joined #lisp 2017-12-07T14:54:51Z Guest78438 joined #lisp 2017-12-07T14:54:51Z Guest24518 joined #lisp 2017-12-07T14:54:51Z eSVG joined #lisp 2017-12-07T14:54:51Z mson joined #lisp 2017-12-07T14:54:51Z Cymew joined #lisp 2017-12-07T14:54:51Z murii joined #lisp 2017-12-07T14:54:51Z BitPuffin|osx joined #lisp 2017-12-07T14:54:51Z fikka joined #lisp 2017-12-07T14:54:51Z flamebeard joined #lisp 2017-12-07T14:54:51Z rgrau joined #lisp 2017-12-07T14:54:51Z jibanes joined #lisp 2017-12-07T14:54:51Z hhdave joined #lisp 2017-12-07T14:54:51Z Guest62015 joined #lisp 2017-12-07T14:54:51Z varjag joined #lisp 2017-12-07T14:54:51Z renard_ joined #lisp 2017-12-07T14:54:51Z shenghi joined #lisp 2017-12-07T14:54:51Z schoppenhauer joined #lisp 2017-12-07T14:54:51Z terpri` joined #lisp 2017-12-07T14:54:51Z Kaisyu joined #lisp 2017-12-07T14:54:51Z jfb4 joined #lisp 2017-12-07T14:54:51Z khisanth_ joined #lisp 2017-12-07T14:54:51Z tkd joined #lisp 2017-12-07T14:54:51Z Arcaelyx joined #lisp 2017-12-07T14:54:51Z _krator44 joined #lisp 2017-12-07T14:54:51Z Oladon joined #lisp 2017-12-07T14:54:51Z kjeldahl joined #lisp 2017-12-07T14:54:51Z schweers joined #lisp 2017-12-07T14:54:51Z vap1 joined #lisp 2017-12-07T14:54:51Z xantoz joined #lisp 2017-12-07T14:54:51Z salva joined #lisp 2017-12-07T14:54:51Z wladz joined #lisp 2017-12-07T14:54:51Z cyraxjoe joined #lisp 2017-12-07T14:54:51Z arrsim joined #lisp 2017-12-07T14:54:51Z alms_clozure joined #lisp 2017-12-07T14:54:51Z jerme_ joined #lisp 2017-12-07T14:54:51Z les joined #lisp 2017-12-07T14:54:51Z dotc joined #lisp 2017-12-07T14:54:51Z johs joined #lisp 2017-12-07T14:54:51Z jself joined #lisp 2017-12-07T14:54:51Z jrm joined #lisp 2017-12-07T14:54:51Z ggherdov joined #lisp 2017-12-07T14:54:51Z moei joined #lisp 2017-12-07T14:54:51Z lxpz joined #lisp 2017-12-07T14:54:51Z mingus joined #lisp 2017-12-07T14:54:51Z danieli joined #lisp 2017-12-07T14:54:51Z dcluna joined #lisp 2017-12-07T14:54:51Z Colleen joined #lisp 2017-12-07T14:54:51Z scottj joined #lisp 2017-12-07T14:54:51Z emacsomancer joined #lisp 2017-12-07T14:54:51Z dxtr joined #lisp 2017-12-07T14:54:51Z raynold joined #lisp 2017-12-07T14:54:51Z pmcana joined #lisp 2017-12-07T14:54:51Z Princess17b29a joined #lisp 2017-12-07T14:54:51Z jasom joined #lisp 2017-12-07T14:54:51Z domovod joined #lisp 2017-12-07T14:54:51Z malcom2073 joined #lisp 2017-12-07T14:54:51Z epony joined #lisp 2017-12-07T14:54:51Z ssake joined #lisp 2017-12-07T14:54:51Z beach joined #lisp 2017-12-07T14:54:51Z myrkraverk joined #lisp 2017-12-07T14:54:51Z tonton joined #lisp 2017-12-07T14:54:51Z lieven joined #lisp 2017-12-07T14:54:51Z isoraqathedh joined #lisp 2017-12-07T14:54:51Z zaquest_ joined #lisp 2017-12-07T14:54:51Z vibs29 joined #lisp 2017-12-07T14:54:51Z gigetoo joined #lisp 2017-12-07T14:54:51Z cyberlard joined #lisp 2017-12-07T14:54:51Z _osune joined #lisp 2017-12-07T14:54:51Z Ziemas joined #lisp 2017-12-07T14:54:51Z wooden joined #lisp 2017-12-07T14:54:51Z easye joined #lisp 2017-12-07T14:54:51Z kjak joined #lisp 2017-12-07T14:54:51Z msb joined #lisp 2017-12-07T14:54:51Z aijony joined #lisp 2017-12-07T14:54:51Z joast joined #lisp 2017-12-07T14:54:51Z Shinmera joined #lisp 2017-12-07T14:54:51Z whaack joined #lisp 2017-12-07T14:54:51Z phoe joined #lisp 2017-12-07T14:54:51Z dan64 joined #lisp 2017-12-07T14:54:51Z trn joined #lisp 2017-12-07T14:54:51Z clog joined #lisp 2017-12-07T14:54:51Z cross joined #lisp 2017-12-07T14:54:51Z tripty joined #lisp 2017-12-07T14:54:51Z kini joined #lisp 2017-12-07T14:54:51Z jackdaniel joined #lisp 2017-12-07T14:54:51Z internet1cafe joined #lisp 2017-12-07T14:54:51Z heurist joined #lisp 2017-12-07T14:54:51Z cods joined #lisp 2017-12-07T14:54:51Z nightfly joined #lisp 2017-12-07T14:54:51Z pacon joined #lisp 2017-12-07T14:54:51Z _Trasformatore_ joined #lisp 2017-12-07T14:54:51Z DGASAU joined #lisp 2017-12-07T14:54:51Z ksool joined #lisp 2017-12-07T14:54:51Z convexferret joined #lisp 2017-12-07T14:54:51Z tfb joined #lisp 2017-12-07T14:54:51Z Meow-J joined #lisp 2017-12-07T14:54:51Z gendl joined #lisp 2017-12-07T14:54:51Z splittist joined #lisp 2017-12-07T14:54:51Z tomaw joined #lisp 2017-12-07T14:54:51Z michalisko joined #lisp 2017-12-07T14:54:51Z giraffe joined #lisp 2017-12-07T14:54:51Z Patzy joined #lisp 2017-12-07T14:54:51Z ``Erik joined #lisp 2017-12-07T14:54:51Z Sigyn joined #lisp 2017-12-07T14:54:51Z eagleflo joined #lisp 2017-12-07T14:54:51Z zacts joined #lisp 2017-12-07T14:54:51Z hjudt joined #lisp 2017-12-07T14:54:51Z spudinski joined #lisp 2017-12-07T14:54:51Z otwieracz joined #lisp 2017-12-07T14:54:51Z drdo joined #lisp 2017-12-07T14:54:51Z mulk joined #lisp 2017-12-07T14:54:51Z sbryant joined #lisp 2017-12-07T14:54:51Z samebchase joined #lisp 2017-12-07T14:54:51Z MetaYan joined #lisp 2017-12-07T14:54:51Z dustyweb joined #lisp 2017-12-07T14:54:51Z catern joined #lisp 2017-12-07T14:54:51Z ult joined #lisp 2017-12-07T14:54:51Z dmh joined #lisp 2017-12-07T14:54:51Z lemoinem joined #lisp 2017-12-07T14:54:51Z ircbrowse joined #lisp 2017-12-07T14:54:51Z vyzo joined #lisp 2017-12-07T14:54:51Z peccu joined #lisp 2017-12-07T14:54:51Z jurov joined #lisp 2017-12-07T14:54:51Z gabiruh joined #lisp 2017-12-07T14:54:51Z engblom joined #lisp 2017-12-07T14:54:51Z add^_ joined #lisp 2017-12-07T14:54:51Z Ober joined #lisp 2017-12-07T14:54:51Z pankracy joined #lisp 2017-12-07T14:54:51Z _death joined #lisp 2017-12-07T14:54:51Z snits_ joined #lisp 2017-12-07T14:54:51Z ecraven joined #lisp 2017-12-07T14:54:51Z VSync joined #lisp 2017-12-07T14:54:51Z Fade joined #lisp 2017-12-07T14:54:51Z trig-ger joined #lisp 2017-12-07T14:54:51Z devlaf joined #lisp 2017-12-07T14:54:51Z l1x joined #lisp 2017-12-07T14:54:51Z eMBee joined #lisp 2017-12-07T14:54:51Z |3b| joined #lisp 2017-12-07T14:54:51Z brandonz joined #lisp 2017-12-07T14:54:51Z brucem joined #lisp 2017-12-07T14:54:51Z ozzloy joined #lisp 2017-12-07T14:54:51Z zkat joined #lisp 2017-12-07T14:54:51Z zymurgy joined #lisp 2017-12-07T14:54:51Z spacepluk joined #lisp 2017-12-07T14:54:51Z xristos joined #lisp 2017-12-07T14:54:51Z mbrock joined #lisp 2017-12-07T14:54:51Z adulteratedjedi joined #lisp 2017-12-07T14:54:51Z nhandler joined #lisp 2017-12-07T14:54:51Z funnel joined #lisp 2017-12-07T14:54:51Z gbyers joined #lisp 2017-12-07T14:54:51Z justinmcp joined #lisp 2017-12-07T14:54:51Z nimiux joined #lisp 2017-12-07T14:54:51Z koisoke joined #lisp 2017-12-07T14:54:51Z danielglh joined #lisp 2017-12-07T14:54:51Z argoneus joined #lisp 2017-12-07T14:54:51Z rotty joined #lisp 2017-12-07T14:54:51Z malm joined #lisp 2017-12-07T14:54:51Z emma joined #lisp 2017-12-07T14:54:51Z p_l joined #lisp 2017-12-07T14:54:51Z PyroLagus joined #lisp 2017-12-07T14:54:51Z cibs joined #lisp 2017-12-07T14:54:51Z rjeli joined #lisp 2017-12-07T14:54:51Z AeroNotix joined #lisp 2017-12-07T14:55:07Z CEnnis91 quit (Max SendQ exceeded) 2017-12-07T14:55:07Z rann quit (Max SendQ exceeded) 2017-12-07T14:55:07Z beaky quit (Max SendQ exceeded) 2017-12-07T14:55:07Z fluter quit (Max SendQ exceeded) 2017-12-07T14:55:07Z GGMethos quit (Max SendQ exceeded) 2017-12-07T14:55:07Z angular_mike quit (Max SendQ exceeded) 2017-12-07T14:55:07Z _whitelogger_ quit (Read error: Connection reset by peer) 2017-12-07T14:55:09Z dec0n quit (Max SendQ exceeded) 2017-12-07T14:55:09Z butterthebuddha quit (Max SendQ exceeded) 2017-12-07T14:55:09Z pmcana quit (Max SendQ exceeded) 2017-12-07T14:55:09Z eli joined #lisp 2017-12-07T14:55:09Z ggherdov quit (Max SendQ exceeded) 2017-12-07T14:55:09Z Meow-J quit (Max SendQ exceeded) 2017-12-07T14:55:09Z raynold quit (Max SendQ exceeded) 2017-12-07T14:55:24Z zymurgy quit (Max SendQ exceeded) 2017-12-07T14:55:25Z dec0n joined #lisp 2017-12-07T14:55:30Z GGMethos joined #lisp 2017-12-07T14:56:31Z fluter_ joined #lisp 2017-12-07T14:56:33Z zymurgy joined #lisp 2017-12-07T14:56:38Z epony quit (Max SendQ exceeded) 2017-12-07T14:57:09Z epony joined #lisp 2017-12-07T14:57:16Z beaky joined #lisp 2017-12-07T14:57:20Z Guest78438 quit (Ping timeout: 268 seconds) 2017-12-07T14:58:40Z pmcana joined #lisp 2017-12-07T14:58:54Z angular_mike joined #lisp 2017-12-07T14:58:57Z AeroNotix quit (Ping timeout: 240 seconds) 2017-12-07T14:58:57Z rann joined #lisp 2017-12-07T14:59:01Z Meow-J joined #lisp 2017-12-07T15:00:42Z raynold joined #lisp 2017-12-07T15:00:47Z orivej quit (Ping timeout: 248 seconds) 2017-12-07T15:01:50Z ggherdov joined #lisp 2017-12-07T15:02:05Z damke joined #lisp 2017-12-07T15:02:07Z ggherdov quit (Excess Flood) 2017-12-07T15:02:16Z _whitelogger joined #lisp 2017-12-07T15:02:37Z JenElizabeth joined #lisp 2017-12-07T15:03:29Z knobo quit (Ping timeout: 255 seconds) 2017-12-07T15:03:54Z ggherdov joined #lisp 2017-12-07T15:04:12Z AeroNotix joined #lisp 2017-12-07T15:04:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-07T15:05:22Z knobo joined #lisp 2017-12-07T15:06:10Z mishoo joined #lisp 2017-12-07T15:09:24Z christoph_debian joined #lisp 2017-12-07T15:10:37Z tfb quit 2017-12-07T15:11:03Z tfb joined #lisp 2017-12-07T15:15:06Z rmbler31 joined #lisp 2017-12-07T15:15:21Z rmbler31 quit (Client Quit) 2017-12-07T15:15:56Z rmbler31 joined #lisp 2017-12-07T15:16:18Z Bike joined #lisp 2017-12-07T15:18:04Z rmbler31 quit (Client Quit) 2017-12-07T15:18:13Z pfdietz quit 2017-12-07T15:19:30Z Cymew quit (Remote host closed the connection) 2017-12-07T15:20:29Z oleo joined #lisp 2017-12-07T15:20:30Z fluter_ is now known as Guest97394 2017-12-07T15:20:30Z eli is now known as Guest24088 2017-12-07T15:20:30Z rann is now known as Guest59963 2017-12-07T15:20:30Z tfb is now known as Guest27743 2017-12-07T15:20:30Z zymurgy is now known as Guest22440 2017-12-07T15:20:38Z Guest24088 quit (Changing host) 2017-12-07T15:20:38Z Guest24088 joined #lisp 2017-12-07T15:20:41Z oleo quit (Changing host) 2017-12-07T15:20:41Z oleo joined #lisp 2017-12-07T15:20:53Z Guest27743 quit 2017-12-07T15:21:03Z emerson joined #lisp 2017-12-07T15:21:08Z Guest24088 is now known as eli 2017-12-07T15:21:15Z Guest27743 joined #lisp 2017-12-07T15:21:26Z Tobbi_ joined #lisp 2017-12-07T15:21:37Z Cymew joined #lisp 2017-12-07T15:21:46Z Guest27743 is now known as tfb 2017-12-07T15:21:47Z White_Flame joined #lisp 2017-12-07T15:21:48Z butterthebuddha joined #lisp 2017-12-07T15:21:50Z rumblre31 joined #lisp 2017-12-07T15:22:04Z Tobbi_ is now known as tobbi 2017-12-07T15:22:16Z tobbi is now known as Tobbi 2017-12-07T15:25:13Z nika joined #lisp 2017-12-07T15:25:16Z Kevslinger joined #lisp 2017-12-07T15:26:14Z Cymew quit (Ping timeout: 255 seconds) 2017-12-07T15:26:48Z _rumbler31_ joined #lisp 2017-12-07T15:27:40Z Cymew joined #lisp 2017-12-07T15:29:00Z jdz: tfb: thanks! 2017-12-07T15:32:00Z Cymew quit (Ping timeout: 246 seconds) 2017-12-07T15:33:33Z Cymew joined #lisp 2017-12-07T15:33:47Z FreeBirdLjj joined #lisp 2017-12-07T15:34:47Z akr joined #lisp 2017-12-07T15:36:31Z Guest59963 quit 2017-12-07T15:36:35Z k-stz joined #lisp 2017-12-07T15:36:39Z creat quit (Quit: ZNC - http://znc.in) 2017-12-07T15:37:09Z creat joined #lisp 2017-12-07T15:37:23Z sz0 joined #lisp 2017-12-07T15:37:31Z rann joined #lisp 2017-12-07T15:38:26Z Cymew quit (Ping timeout: 276 seconds) 2017-12-07T15:39:39Z Cymew joined #lisp 2017-12-07T15:39:51Z beaky quit (Quit: WeebChat 1.9.1) 2017-12-07T15:40:22Z rumblre31 quit (Quit: Page closed) 2017-12-07T15:41:58Z beaky joined #lisp 2017-12-07T15:42:12Z neoncontrails joined #lisp 2017-12-07T15:44:14Z Cymew quit (Ping timeout: 255 seconds) 2017-12-07T15:44:47Z FreeBirdLjj quit 2017-12-07T15:50:11Z EvW joined #lisp 2017-12-07T15:53:32Z murii quit (Ping timeout: 240 seconds) 2017-12-07T15:58:33Z Guest9260 joined #lisp 2017-12-07T15:58:33Z kammd[m] joined #lisp 2017-12-07T15:58:33Z dirb joined #lisp 2017-12-07T15:58:33Z l04m33[m] joined #lisp 2017-12-07T15:58:33Z happy_gnu[m] joined #lisp 2017-12-07T15:58:34Z Jach[m] joined #lisp 2017-12-07T15:58:34Z Guest64033 joined #lisp 2017-12-07T15:58:34Z thorondor[m] joined #lisp 2017-12-07T15:58:34Z astronavt[m] joined #lisp 2017-12-07T15:58:34Z Sovereign_Bleak joined #lisp 2017-12-07T15:58:34Z CharlieBrown joined #lisp 2017-12-07T15:58:35Z hiq[m] joined #lisp 2017-12-07T15:58:35Z dahs81[m] joined #lisp 2017-12-07T15:58:35Z cryptomarauder[m joined #lisp 2017-12-07T15:58:35Z equalunique[m] joined #lisp 2017-12-07T15:58:35Z RichardPaulBck[m joined #lisp 2017-12-07T15:58:35Z plll[m] joined #lisp 2017-12-07T15:58:35Z hdurer[m] joined #lisp 2017-12-07T15:58:40Z trigt[m] joined #lisp 2017-12-07T15:58:41Z mhitchman[m] joined #lisp 2017-12-07T15:58:43Z ArthurAGleckler[ joined #lisp 2017-12-07T16:00:10Z dec0n quit (Read error: Connection reset by peer) 2017-12-07T16:06:15Z hexfive joined #lisp 2017-12-07T16:12:32Z Oladon quit (Read error: Connection reset by peer) 2017-12-07T16:13:00Z Oladon joined #lisp 2017-12-07T16:15:23Z orivej joined #lisp 2017-12-07T16:16:00Z varjag quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-12-07T16:25:59Z python476 joined #lisp 2017-12-07T16:32:50Z LocaMocha joined #lisp 2017-12-07T16:35:00Z Guest22440 quit (Quit: WeeChat 1.4) 2017-12-07T16:35:17Z zymurgy joined #lisp 2017-12-07T16:35:47Z test1600 joined #lisp 2017-12-07T16:38:41Z python476 quit (Quit: ERC (IRC client for Emacs 25.3.1)) 2017-12-07T16:39:12Z ArthurAGleckler[ quit (Ping timeout: 240 seconds) 2017-12-07T16:39:13Z l04m33[m] quit (Ping timeout: 240 seconds) 2017-12-07T16:39:13Z equalunique[m] quit (Ping timeout: 240 seconds) 2017-12-07T16:39:13Z astronavt[m] quit (Ping timeout: 240 seconds) 2017-12-07T16:39:14Z python476 joined #lisp 2017-12-07T16:39:18Z happy_gnu[m] quit (Ping timeout: 248 seconds) 2017-12-07T16:39:29Z dirb quit (Ping timeout: 240 seconds) 2017-12-07T16:39:33Z hiq[m] quit (Ping timeout: 246 seconds) 2017-12-07T16:39:33Z kammd[m] quit (Ping timeout: 246 seconds) 2017-12-07T16:39:34Z mhitchman[m] quit (Ping timeout: 250 seconds) 2017-12-07T16:39:34Z thorondor[m] quit (Ping timeout: 250 seconds) 2017-12-07T16:39:34Z hdurer[m] quit (Ping timeout: 250 seconds) 2017-12-07T16:39:35Z CharlieBrown quit (Ping timeout: 250 seconds) 2017-12-07T16:39:35Z trigt[m] quit (Ping timeout: 255 seconds) 2017-12-07T16:39:36Z RichardPaulBck[m quit (Ping timeout: 255 seconds) 2017-12-07T16:39:41Z Guest9260 quit (Ping timeout: 255 seconds) 2017-12-07T16:39:41Z akr quit (Ping timeout: 255 seconds) 2017-12-07T16:39:41Z cryptomarauder[m quit (Ping timeout: 255 seconds) 2017-12-07T16:39:48Z Guest64033 quit (Ping timeout: 240 seconds) 2017-12-07T16:39:58Z dahs81[m] quit (Ping timeout: 264 seconds) 2017-12-07T16:39:58Z Sovereign_Bleak quit (Ping timeout: 264 seconds) 2017-12-07T16:40:11Z plll[m] quit (Ping timeout: 276 seconds) 2017-12-07T16:40:11Z Jach[m] quit (Ping timeout: 276 seconds) 2017-12-07T16:43:24Z Guest24518 quit (Ping timeout: 268 seconds) 2017-12-07T16:43:42Z TMA quit (Ping timeout: 258 seconds) 2017-12-07T16:44:06Z TMA joined #lisp 2017-12-07T16:44:09Z zmt00 joined #lisp 2017-12-07T16:46:43Z wigust quit (Quit: ZNC 1.6.5 - http://znc.in) 2017-12-07T16:46:46Z CEnnis91 joined #lisp 2017-12-07T16:46:56Z hexfour joined #lisp 2017-12-07T16:47:11Z SaganMan quit (Quit: WeeChat 1.6) 2017-12-07T16:49:29Z hexfive quit (Ping timeout: 255 seconds) 2017-12-07T16:58:11Z vap1 quit (Ping timeout: 240 seconds) 2017-12-07T17:00:50Z vap1 joined #lisp 2017-12-07T17:03:44Z smurfrobot joined #lisp 2017-12-07T17:07:29Z mathrick joined #lisp 2017-12-07T17:08:47Z smurfrobot quit (Ping timeout: 276 seconds) 2017-12-07T17:12:54Z Devon joined #lisp 2017-12-07T17:16:46Z Jesin joined #lisp 2017-12-07T17:17:38Z damke_ joined #lisp 2017-12-07T17:19:41Z damke quit (Ping timeout: 240 seconds) 2017-12-07T17:22:47Z yeticry quit (Ping timeout: 255 seconds) 2017-12-07T17:24:12Z yeticry joined #lisp 2017-12-07T17:28:00Z igemnace joined #lisp 2017-12-07T17:29:57Z orivej quit (Ping timeout: 240 seconds) 2017-12-07T17:30:45Z yeticry quit (Remote host closed the connection) 2017-12-07T17:31:24Z yeticry joined #lisp 2017-12-07T17:32:25Z vap1 quit (Ping timeout: 250 seconds) 2017-12-07T17:33:49Z hhdave quit (Ping timeout: 252 seconds) 2017-12-07T17:34:14Z test1600 quit (Quit: Leaving) 2017-12-07T17:34:29Z orivej joined #lisp 2017-12-07T17:34:32Z vap1 joined #lisp 2017-12-07T17:34:40Z dieggsy joined #lisp 2017-12-07T17:35:39Z damke joined #lisp 2017-12-07T17:37:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-07T17:38:41Z circ-user-81lkm joined #lisp 2017-12-07T17:39:57Z fikka quit (Ping timeout: 240 seconds) 2017-12-07T17:41:56Z EvW quit (Ping timeout: 276 seconds) 2017-12-07T17:44:22Z jmercouris joined #lisp 2017-12-07T17:46:02Z circ-user-81lkm: Is it possible to query a "system class" like character for its subclasses? e.g. http://www.lispworks.com/documentation/HyperSpec/Body/t_ch.htm#character has base-char and extended-char extending character. Something like (subclasses 'character) => '(base-char extended-char)? 2017-12-07T17:47:14Z Shinmera: You can't query class relationship information in CL at all, you need the MOP for that. 2017-12-07T17:47:52Z Shinmera: Well, aside from probing with subtypep 2017-12-07T17:48:10Z sellout joined #lisp 2017-12-07T17:48:12Z emaczen: Almost every implementation provides the MOP though 2017-12-07T17:48:40Z emaczen: There is even a library called closer-mop which will work on most implementations too 2017-12-07T17:48:41Z _death: types aren't necessarily classes, in particular base-char and extended-char are not classes 2017-12-07T17:49:21Z fikka joined #lisp 2017-12-07T17:49:34Z Bike: For that particular question you can use subtypep, i.e. (subtypep 'extended-char nil) 2017-12-07T17:49:43Z Bike: which i think is required to give you an actual result. 2017-12-07T17:50:02Z Shinmera: Afaiu he wants to get a list of subtypes, though. 2017-12-07T17:50:28Z Shinmera: If you know the set of concrete types you can probe with subtypep, I guess, but not in general. 2017-12-07T17:50:37Z Bike: the list of subtypes of almost any type is infinite 2017-12-07T17:50:48Z Shinmera: Yeah. 2017-12-07T17:50:50Z Bike: circ-user-81lkm: more information on what you're doing? 2017-12-07T17:51:03Z jmercouris: What's a good way to show the source for any given function? 2017-12-07T17:51:12Z _cosmonaut_ quit (Ping timeout: 240 seconds) 2017-12-07T17:51:16Z _death: jmercouris: M-. 2017-12-07T17:51:41Z jmercouris: _death: Outside of emacs, purely in Lisp 2017-12-07T17:51:49Z Bike: if you need to do it programmatically (and as i recall, you're making some kind of editor) it's implementation specific. Look through swank 2017-12-07T17:52:17Z Bike: and what you'll get is a source location, not the actual source form, which has probably been discarded 2017-12-07T17:52:30Z _death: jmercouris: there is no way in plain common lisp.. pjb has a package called ibcl which may be appropriate 2017-12-07T17:52:42Z jmercouris: Bike: You mean like a position + a file? 2017-12-07T17:52:48Z Bike: Yes. 2017-12-07T17:52:57Z Shinmera: https://github.com/Shirakumo/trial/blob/master/editor/function-inspector.lisp#L54 2017-12-07T17:53:00Z circ-user-81lkm: Well I saw a demo somewhere of a UI that produced a class hierarchy diagram and it included character and it's subtypes but I'm not sure how it produced that 2017-12-07T17:53:01Z Bike: i.e. what M-. uses 2017-12-07T17:53:18Z jmercouris: Maybe I'm just re-inventing emacs at this point, perhaps I shouldn't implement that 2017-12-07T17:53:20Z Bike: pragmatic, shinmera 2017-12-07T17:53:21Z pjb` joined #lisp 2017-12-07T17:53:48Z Shinmera: Bike: 's what I do 2017-12-07T17:53:48Z jmercouris: Ah, that is very good indeed, very simple 2017-12-07T17:53:49Z Bike: It's true, though, if you want to do editor things you could do worse than just bringing in swank rather than reimplementing it 2017-12-07T17:53:57Z akr joined #lisp 2017-12-07T17:54:01Z Bike: It also has completions and other stuff you were doing 2017-12-07T17:54:19Z jmercouris: Yeah, maybe it is pointless though, because someone can just use slime to connect to my program 2017-12-07T17:54:29Z pjb quit (Ping timeout: 255 seconds) 2017-12-07T17:55:13Z dddddd quit (Ping timeout: 248 seconds) 2017-12-07T17:55:16Z jmercouris: I should just get slime working with my standalone executable, and avoid too many things like "jump to source" and stuff like that, I'll leave it at showing docstrings for built in help 2017-12-07T17:56:48Z Bike: Is your program not an editor? 2017-12-07T17:56:57Z Shinmera: It's a web browser, if I remember correctly 2017-12-07T17:57:54Z Bike: lisp editing sounds like scope creep, then. 2017-12-07T17:59:05Z jmercouris: Bike: It is a web browser 2017-12-07T17:59:13Z jmercouris: http://github.com/nEXT-Browser/nEXT 2017-12-07T17:59:29Z pjb` is now known as pjb 2017-12-07T18:03:10Z dddddd joined #lisp 2017-12-07T18:05:09Z akr quit (Remote host closed the connection) 2017-12-07T18:05:19Z shka joined #lisp 2017-12-07T18:06:15Z m00natic quit (Remote host closed the connection) 2017-12-07T18:06:22Z fikka quit (Ping timeout: 264 seconds) 2017-12-07T18:07:12Z sjl: jmercouris: embed swank in the browser process, let people connect to and interact with it with whatever editor they want 2017-12-07T18:07:43Z mson quit (Quit: Connection closed for inactivity) 2017-12-07T18:08:09Z sjl: keeping https://github.com/slime/slime/issues/286 in mind 2017-12-07T18:08:15Z jmercouris: sjl: Yeah, I have a branch for that, I was so close to releasing it, but none of the GUI updates were making it on screen 2017-12-07T18:09:15Z Baggers joined #lisp 2017-12-07T18:09:25Z rgrau quit (Ping timeout: 252 seconds) 2017-12-07T18:10:17Z jmercouris: It doesn't make sense to me how that is even possible that the updates were not happening on screen, because all of the functions that update the gui have a (on-main-thread) macro which calls them in the ccl event process 2017-12-07T18:11:29Z circ-user-81lkm: Thanks for the MOP tip - I think this is what I'm after, e.g. (closer-mop:class-direct-subclasses (find-class 'character)) => (#) 2017-12-07T18:11:31Z emaczen: What does no more immobile pages left mean? It is an error I get from SBCL and then I get sent to LDB? 2017-12-07T18:11:50Z emaczen: Can I just start SBCL with "more immobile pages" like sb-ext:dynamic-space-size? 2017-12-07T18:12:27Z raphaelss joined #lisp 2017-12-07T18:13:12Z emaczen: "No more immobile pages available" -- is the exact error message 2017-12-07T18:13:33Z circ-user-81lkm: Although... I get different results in CCL vs. SBCL (where it gives nil) 2017-12-07T18:13:47Z Bike: circ-user-81lkm: extended-char and standard-char are not required to be classes 2017-12-07T18:14:14Z Bike: Whether they are types with elements in them is orthogonal to whether they are classes 2017-12-07T18:16:54Z varjag joined #lisp 2017-12-07T18:17:28Z hexfour quit (Read error: Connection reset by peer) 2017-12-07T18:17:53Z brendyn quit (Ping timeout: 255 seconds) 2017-12-07T18:18:26Z hexfour joined #lisp 2017-12-07T18:18:59Z dcluna quit (Ping timeout: 268 seconds) 2017-12-07T18:20:52Z dcluna joined #lisp 2017-12-07T18:22:19Z Cymew joined #lisp 2017-12-07T18:23:32Z sebboh joined #lisp 2017-12-07T18:26:39Z turkja quit (Ping timeout: 248 seconds) 2017-12-07T18:27:01Z Cymew quit (Ping timeout: 250 seconds) 2017-12-07T18:27:02Z pjb: jmercouris: it depends on how on-main-thread is implemented. 2017-12-07T18:28:15Z pjb: I've noticed that with the latest versions of macOS, if you try to draw in a timer, it doesn't work reliably, even though you configure the time to execute on the main thread. 2017-12-07T18:28:25Z Cymew joined #lisp 2017-12-07T18:30:23Z turkja joined #lisp 2017-12-07T18:31:20Z varjag quit (Remote host closed the connection) 2017-12-07T18:31:38Z orivej quit (Ping timeout: 255 seconds) 2017-12-07T18:32:16Z xrash quit (Read error: Connection reset by peer) 2017-12-07T18:33:22Z Cymew quit (Ping timeout: 264 seconds) 2017-12-07T18:34:25Z Cymew joined #lisp 2017-12-07T18:34:47Z turkja quit (Ping timeout: 255 seconds) 2017-12-07T18:37:08Z akr joined #lisp 2017-12-07T18:37:32Z jmercouris: pjb: Interesting, I'll try some more tests, I just switchted to that branch 2017-12-07T18:37:42Z jmercouris: Gotta go for now, but I'll report later if I come up with something 2017-12-07T18:38:24Z osune joined #lisp 2017-12-07T18:39:22Z Cymew quit (Ping timeout: 264 seconds) 2017-12-07T18:40:27Z Cymew joined #lisp 2017-12-07T18:43:51Z damke_ joined #lisp 2017-12-07T18:44:01Z damke quit (Ping timeout: 240 seconds) 2017-12-07T18:44:20Z fikka joined #lisp 2017-12-07T18:44:31Z BitPuffin|osx quit (Ping timeout: 240 seconds) 2017-12-07T18:44:46Z jmercouris quit (Ping timeout: 264 seconds) 2017-12-07T18:45:38Z Cymew quit (Ping timeout: 276 seconds) 2017-12-07T18:49:32Z fikka quit (Ping timeout: 276 seconds) 2017-12-07T18:50:59Z knobo quit (Ping timeout: 255 seconds) 2017-12-07T18:52:30Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-07T18:54:56Z fikka joined #lisp 2017-12-07T18:55:06Z kammd[m] joined #lisp 2017-12-07T18:55:06Z Guest87345 joined #lisp 2017-12-07T18:55:07Z happy_gnu[m] joined #lisp 2017-12-07T18:55:07Z l04m33[m] joined #lisp 2017-12-07T18:55:07Z Jach[m] joined #lisp 2017-12-07T18:55:07Z astronavt[m] joined #lisp 2017-12-07T18:55:07Z thorondor[m] joined #lisp 2017-12-07T18:55:07Z Sovereign_Bleak joined #lisp 2017-12-07T18:55:08Z RichardPaulBck[m joined #lisp 2017-12-07T18:55:08Z Guest2633 joined #lisp 2017-12-07T18:55:08Z equalunique[m] joined #lisp 2017-12-07T18:55:08Z dahs81[m] joined #lisp 2017-12-07T18:55:08Z cryptomarauder[m joined #lisp 2017-12-07T18:55:08Z CharlieBrown joined #lisp 2017-12-07T18:55:08Z plll[m] joined #lisp 2017-12-07T18:55:08Z hiq[m] joined #lisp 2017-12-07T18:55:09Z hdurer[m] joined #lisp 2017-12-07T18:55:14Z trigt[m] joined #lisp 2017-12-07T18:55:15Z ArthurAGleckler[ joined #lisp 2017-12-07T18:55:15Z dirb joined #lisp 2017-12-07T18:55:16Z mhitchman[m] joined #lisp 2017-12-07T18:55:37Z Tobbi joined #lisp 2017-12-07T18:58:12Z nika quit (Quit: Leaving...) 2017-12-07T19:01:15Z smurfrobot joined #lisp 2017-12-07T19:01:21Z fikka quit (Ping timeout: 248 seconds) 2017-12-07T19:02:10Z Devon quit (Ping timeout: 264 seconds) 2017-12-07T19:02:42Z hexfour quit (Ping timeout: 246 seconds) 2017-12-07T19:03:50Z circ-user-81lkm quit (Remote host closed the connection) 2017-12-07T19:08:45Z shenghi quit (Remote host closed the connection) 2017-12-07T19:09:02Z shenghi joined #lisp 2017-12-07T19:11:31Z sebboh quit (Changing host) 2017-12-07T19:11:31Z sebboh joined #lisp 2017-12-07T19:11:38Z varjag joined #lisp 2017-12-07T19:14:51Z earl-ducaine: Lispinators! I'd like to do a series of blog posts on MOP that provides enough practicle information and examples to alow someone get get started using it on real world problems (something that I found to be lacking either on the Internet or in the published literature.) 2017-12-07T19:15:06Z earl-ducaine: I'm collecting feedback to guage interest and collect ideas. Feel free to reply here on IRC or post a comment to my blog post requesting the same: https://wordpress.com/view/earlducaine.wordpress.com 2017-12-07T19:16:23Z rm8 joined #lisp 2017-12-07T19:17:10Z earl-ducaine: Oops, meant: https://earlducaine.wordpress.com/ 2017-12-07T19:18:25Z vertigo quit (Ping timeout: 248 seconds) 2017-12-07T19:20:07Z vertigo joined #lisp 2017-12-07T19:20:44Z Bike: earl-ducaine: this might not be what you had in mind, but the word wrap is weird https://i.imgur.com/3U7UPFn.png 2017-12-07T19:22:06Z whoman: earl-ducaine: interesting, thank you ! will check it out. 2017-12-07T19:22:53Z neoncontrails quit (Remote host closed the connection) 2017-12-07T19:23:02Z earl-ducaine: Damn. That's what you get for composing a Wordpress first in Emacs. Looked great on my screen with, probably because of exactly alined linebreaks. 2017-12-07T19:23:02Z Cymew joined #lisp 2017-12-07T19:23:28Z neoncontrails joined #lisp 2017-12-07T19:23:57Z DGASAU quit (Ping timeout: 240 seconds) 2017-12-07T19:24:10Z Bike: earl-ducaine: i think the discussion of slots is a bit confusing. objects still 'own' slots in clos 2017-12-07T19:24:51Z Bike: it might be worthwhile to be kind of anal about the distinction between slots (parts of an object, probably anonymous in a vector) and slot definitions 2017-12-07T19:25:09Z DGASAU joined #lisp 2017-12-07T19:25:23Z nonlinear quit (Ping timeout: 255 seconds) 2017-12-07T19:25:41Z ryanbw quit (Ping timeout: 260 seconds) 2017-12-07T19:25:45Z Bike: oh, you gave up on this post, i see... 2017-12-07T19:25:55Z Bike: my mistake 2017-12-07T19:27:22Z Bike: as structuring goes i'd use examples. like some basic features someone want: persistence, observers. stuff you can implement in a simple way in a page or so while introducing mop concepts 2017-12-07T19:27:25Z whoman: interesting how (error ..) is used in :initform s 2017-12-07T19:27:32Z earl-ducaine: Bike: that's exactly the kind of feedback I'm looking for! 2017-12-07T19:28:01Z Cymew quit (Ping timeout: 260 seconds) 2017-12-07T19:28:05Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-07T19:28:17Z whoman: singleton ~_~ 2017-12-07T19:29:10Z Cymew joined #lisp 2017-12-07T19:29:19Z whoman: anyone having success using nEXT browser ? why not just use Ceramic. =) 2017-12-07T19:29:56Z fikka joined #lisp 2017-12-07T19:30:41Z whoman: earl-ducaine: your mention of the AMOP book, is it a prerequisite ? 2017-12-07T19:30:55Z hexfour joined #lisp 2017-12-07T19:31:16Z Bike: AMOP isn't good as a textbook of how to use MOP because it's definitely intended as a book on developing MOP instead 2017-12-07T19:31:31Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-12-07T19:31:51Z Bike: but that just means there aren't any books on using MOP :D 2017-12-07T19:32:05Z whoman: that makes sense.. i read it the other day; was not sure if it was a preview, or a booklet/pamphlette, .. 2017-12-07T19:32:37Z whoman: but MOP is awesome! isn't it? we can defclass with not-yet-defined subclasses (forward) and... 2017-12-07T19:32:57Z LocaMocha quit (Ping timeout: 240 seconds) 2017-12-07T19:33:21Z Cymew quit (Ping timeout: 240 seconds) 2017-12-07T19:33:29Z RichardPaulBck[m quit (Ping timeout: 240 seconds) 2017-12-07T19:33:30Z ArthurAGleckler[ quit (Ping timeout: 246 seconds) 2017-12-07T19:33:31Z thorondor[m] quit (Ping timeout: 246 seconds) 2017-12-07T19:33:31Z akr quit (Ping timeout: 246 seconds) 2017-12-07T19:33:31Z cryptomarauder[m quit (Ping timeout: 246 seconds) 2017-12-07T19:33:34Z whoman: ...my sense of OOP is directly tied to syntax, of which CLOS looks like everything else, so i am reserving its application currently. its all just lists anyhow. 2017-12-07T19:33:42Z plll[m] quit (Ping timeout: 248 seconds) 2017-12-07T19:33:43Z l04m33[m] quit (Ping timeout: 248 seconds) 2017-12-07T19:33:45Z Jach[m] quit (Ping timeout: 255 seconds) 2017-12-07T19:33:45Z CharlieBrown quit (Ping timeout: 255 seconds) 2017-12-07T19:33:46Z dirb quit (Ping timeout: 250 seconds) 2017-12-07T19:33:46Z dahs81[m] quit (Ping timeout: 250 seconds) 2017-12-07T19:33:46Z Sovereign_Bleak quit (Ping timeout: 250 seconds) 2017-12-07T19:33:46Z happy_gnu[m] quit (Ping timeout: 250 seconds) 2017-12-07T19:33:50Z trigt[m] quit (Ping timeout: 255 seconds) 2017-12-07T19:33:50Z hiq[m] quit (Ping timeout: 255 seconds) 2017-12-07T19:33:58Z Guest87345 quit (Ping timeout: 264 seconds) 2017-12-07T19:33:58Z equalunique[m] quit (Ping timeout: 264 seconds) 2017-12-07T19:34:23Z mhitchman[m] quit (Ping timeout: 276 seconds) 2017-12-07T19:34:23Z kammd[m] quit (Ping timeout: 276 seconds) 2017-12-07T19:34:23Z Guest2633 quit (Ping timeout: 276 seconds) 2017-12-07T19:34:23Z hdurer[m] quit (Ping timeout: 276 seconds) 2017-12-07T19:34:23Z astronavt[m] quit (Ping timeout: 276 seconds) 2017-12-07T19:36:33Z fikka quit (Ping timeout: 248 seconds) 2017-12-07T19:40:48Z Devon joined #lisp 2017-12-07T19:44:16Z josemanuel joined #lisp 2017-12-07T19:44:17Z Cymew joined #lisp 2017-12-07T19:44:50Z whoman: ok earl-ducaine i read it all. my summary: its an introduction to the MOP book, as it talks mostly about it, so i was thinking about that book, and now at the end, after reading it, i feel like i am hungrier than when i came to dinner. i would have the impression that MOP is mysterious undocumented internal assembly unsafe scariness 2017-12-07T19:45:19Z smurfrobot quit (Remote host closed the connection) 2017-12-07T19:45:38Z smurfrobot joined #lisp 2017-12-07T19:46:40Z earl-ducaine: whoman: Yes, that's exactly what hope to dispell in the revised series! 2017-12-07T19:48:44Z whoman: oh! exciting =) 2017-12-07T19:49:01Z Cymew quit (Ping timeout: 260 seconds) 2017-12-07T19:50:19Z marars91027 joined #lisp 2017-12-07T19:50:47Z Xach: borodust: how do i try that new blob? 2017-12-07T19:50:49Z karswell_ joined #lisp 2017-12-07T19:51:20Z borodust: Xach: here's the link to archive: https://goo.gl/wH6Fok 2017-12-07T19:51:33Z borodust: Xach: just unpack and run hello-gamekit executable 2017-12-07T19:51:43Z _rumbler31_: whoman: Ceramic has been unstable every time I try to use it 2017-12-07T19:52:14Z borodust: Xach: sources are here: https://github.com/borodust/hello-gamekit 2017-12-07T19:52:27Z borodust: Xach: that's basically an example code from Getting Started guide 2017-12-07T19:52:41Z marars91027 quit (Client Quit) 2017-12-07T19:53:35Z jack_rabbit quit (Ping timeout: 248 seconds) 2017-12-07T19:54:51Z dieggsy quit (Remote host closed the connection) 2017-12-07T19:55:13Z milanj quit (Quit: This computer has gone to sleep) 2017-12-07T19:56:17Z Cymew joined #lisp 2017-12-07T19:56:48Z Xach: borodust: should i expect to see a difference in the scaling issue today with the latest dist update? 2017-12-07T19:57:11Z borodust: Xach: yes, but you need to update the dist first 2017-12-07T19:57:32Z borodust: and remove trivial-gamekit if it is still in local-projects 2017-12-07T19:57:38Z Xach: hmm, right! 2017-12-07T19:59:06Z Xach: no luck, and hello-gamekit is also scaled oddly :~( 2017-12-07T19:59:15Z borodust: ouch 2017-12-07T19:59:16Z brendyn joined #lisp 2017-12-07T19:59:18Z borodust: i'll take a look 2017-12-07T19:59:23Z Xach: would a video help again? 2017-12-07T20:00:31Z Cymew quit (Ping timeout: 240 seconds) 2017-12-07T20:01:45Z Guest24518 joined #lisp 2017-12-07T20:01:57Z Xach: It would basically show what you've seen before - 1/4 scaling in the lower left of the window 2017-12-07T20:02:14Z EvW joined #lisp 2017-12-07T20:02:23Z Cymew joined #lisp 2017-12-07T20:03:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-07T20:04:38Z borodust: Xach: hmm 2017-12-07T20:05:00Z borodust: can you nuke ~/.cache/common-lisp/* and check again? 2017-12-07T20:05:05Z Ober: Shinmera: do you profile your elisp methods for call counts? 2017-12-07T20:05:09Z borodust: i was pretty sure i fixed the issue D: 2017-12-07T20:06:28Z Ober: what is the right way to bundle your .cache/common-lisp fasls/sos 2017-12-07T20:06:34Z Cymew quit (Ping timeout: 252 seconds) 2017-12-07T20:06:37Z jack_rabbit joined #lisp 2017-12-07T20:06:37Z borodust: Xach: okay, got a second report issue stil persists 2017-12-07T20:06:39Z Ober: allegro puts it all in the same directory as the binary 2017-12-07T20:06:50Z Ober: well shared objects anyways 2017-12-07T20:06:50Z borodust: Xach: going in :) 2017-12-07T20:07:07Z soma_ joined #lisp 2017-12-07T20:08:21Z Cymew joined #lisp 2017-12-07T20:08:21Z Shinmera: Ober: I don't use elisp 2017-12-07T20:09:39Z Ober: Shinmera: emacs right? was looking to see if you could enable command-frequency, as very curious which slime functions I'm not making use of. you do a lot of stuff where it's not obvious to me which method you invoked 2017-12-07T20:12:54Z Shinmera: Uh, I don't use a lot of stuff 2017-12-07T20:12:58Z Cymew quit (Ping timeout: 264 seconds) 2017-12-07T20:14:05Z Ober: might be a simple as me not using the right `select last sexp and eval` 2017-12-07T20:14:20Z Cymew joined #lisp 2017-12-07T20:14:42Z Shinmera: I just C-c C-c for that. 2017-12-07T20:15:30Z Shinmera: Other than that the standard paredit things, plus multiple-cursors and expand-region are commands I frequently use. 2017-12-07T20:15:44Z Shinmera: I'm no emacs expert by any means 2017-12-07T20:17:10Z pjb quit (Ping timeout: 264 seconds) 2017-12-07T20:18:27Z borodust: Xach: holy moly, i'm dumb, found the source D: 2017-12-07T20:18:34Z soma_ quit (Ping timeout: 260 seconds) 2017-12-07T20:18:38Z neoncontrails joined #lisp 2017-12-07T20:18:44Z Cymew quit (Ping timeout: 240 seconds) 2017-12-07T20:18:51Z borodust: Xach: fixed it only for like 99% lol, and forgot one important thing 2017-12-07T20:19:11Z AntiSpamMeta quit (Quit: Restart requested by SantaC: brb) 2017-12-07T20:19:27Z AntiSpamMeta joined #lisp 2017-12-07T20:20:19Z Cymew joined #lisp 2017-12-07T20:20:25Z damke joined #lisp 2017-12-07T20:24:23Z remi`bd joined #lisp 2017-12-07T20:24:58Z Cymew quit (Ping timeout: 264 seconds) 2017-12-07T20:26:23Z raphaelss quit (Ping timeout: 252 seconds) 2017-12-07T20:27:19Z Ober: Shinmera: thanks 2017-12-07T20:27:41Z warweasle joined #lisp 2017-12-07T20:29:06Z Baggers quit (Remote host closed the connection) 2017-12-07T20:29:22Z Baggers joined #lisp 2017-12-07T20:34:17Z borodust: Xach: i updated the dist, please, check if this version works for you 2017-12-07T20:36:21Z Karl_Dscc joined #lisp 2017-12-07T20:38:19Z shka quit (Ping timeout: 252 seconds) 2017-12-07T20:40:38Z emaczen: What are the recommended speed and space settings for development? 2017-12-07T20:40:41Z emaczen: 1 or 0? 2017-12-07T20:42:23Z milanj joined #lisp 2017-12-07T20:43:22Z oleo: speed 1 space 1 ? 2017-12-07T20:43:36Z oleo: or space 0 ? 2017-12-07T20:43:48Z emaczen: yeah with declaim optimize 2017-12-07T20:44:12Z dirb joined #lisp 2017-12-07T20:44:35Z oleo: debug 2 2017-12-07T20:44:35Z pjb joined #lisp 2017-12-07T20:45:08Z oleo: won't that already make other stuff like speed and space have some default setting ? 2017-12-07T20:45:38Z Bike: they don't affect each other. 2017-12-07T20:46:54Z jmercouris joined #lisp 2017-12-07T20:47:02Z knobo joined #lisp 2017-12-07T20:47:06Z dieggsy joined #lisp 2017-12-07T20:47:10Z vlatkoB quit (Remote host closed the connection) 2017-12-07T20:47:55Z oleo: then why not keep it all at level 2 ? 2017-12-07T20:48:27Z Guest62015 is now known as kushal 2017-12-07T20:48:33Z kushal quit (Changing host) 2017-12-07T20:48:33Z kushal joined #lisp 2017-12-07T20:51:53Z Karl_Dscc quit (Remote host closed the connection) 2017-12-07T20:52:14Z smurfrobot quit (Remote host closed the connection) 2017-12-07T20:53:08Z a0503d44f joined #lisp 2017-12-07T20:59:18Z asarch joined #lisp 2017-12-07T21:00:16Z fourier joined #lisp 2017-12-07T21:07:04Z karswell_ is now known as karswell 2017-12-07T21:08:11Z EvW quit (Ping timeout: 240 seconds) 2017-12-07T21:08:53Z damke_ joined #lisp 2017-12-07T21:08:57Z asarch: What do you think?: http://www.tutorialspoint.com/lisp/ 2017-12-07T21:10:41Z damke quit (Ping timeout: 240 seconds) 2017-12-07T21:15:02Z raphaelss joined #lisp 2017-12-07T21:16:11Z dieggsy quit (Remote host closed the connection) 2017-12-07T21:16:30Z fikka joined #lisp 2017-12-07T21:17:06Z fourier: anyone have had any troubles with alignment/order of the fields in structs returned from C functions by cffi? 2017-12-07T21:19:06Z cgay: asarch: A lisp tutorial seems like a fine idea, even though I'm sure it's not the first. At first glance I can see some problems with the content. Are you asking because you wrote it and you want feedback or because you want to use it to learn Lisp? 2017-12-07T21:19:34Z Bike: tutorialspoint has been kind of bad when i've used it for C 2017-12-07T21:21:17Z fikka quit (Ping timeout: 255 seconds) 2017-12-07T21:22:11Z jmercouris: tutorialspoint is good for python, for lisp though, it was terrible, practical common lisp is a really good, though ironically somewhat impractical way of learning lisp 2017-12-07T21:22:49Z jmercouris: I felt like practical common lisp neglected many practical topics, the author addresses that in one of the chapters, but I guess when you get to there, you can start learning on your own 2017-12-07T21:23:04Z EvW joined #lisp 2017-12-07T21:23:06Z borodust: jmercouris: oh, wh.. ah, i see 2017-12-07T21:23:31Z fourier: there is common lisp recipes for practical topics as well as "cl cookbook" it is based on 2017-12-07T21:24:17Z jmercouris: the new CL cookbook on github is very good! 2017-12-07T21:25:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-07T21:25:56Z damke joined #lisp 2017-12-07T21:25:59Z jmercouris: borodust: Yeah lol, see here: http://www.gigamonkeys.com/book/conclusion-whats-next.html 2017-12-07T21:26:12Z cgay: I learned with Touretsky's Gentle Intro to Symbolic Computation, which I thought was excellent. It's very basic, but at the time I had no CS background so it worked for me. 2017-12-07T21:26:35Z warweasle quit (Quit: rcirc on GNU Emacs 24.4.1) 2017-12-07T21:26:45Z borodust: jmercouris: to be fair, that was my experience too 2017-12-07T21:27:14Z borodust: when i learned basics, i just went for making my own stuff 2017-12-07T21:27:23Z a0503d44f quit (Remote host closed the connection) 2017-12-07T21:27:56Z _rumbler31_: jmercouris: what practial topics do you feel PCL neglected 2017-12-07T21:28:09Z borodust: but practical there stands for more like "practical" part of CL 2017-12-07T21:28:27Z fourier: dont forget pcl was from 2005 iirc, so how much practical aspects do you want from 12-years old book 2017-12-07T21:29:04Z borodust: jmercouris: w/o nitty gritty confusing stuff 2017-12-07T21:30:08Z Shinmera: Well, I mean, when it comes to "practical" things the areas one might want to have covered is almost infinite. 2017-12-07T21:30:44Z jmercouris: Yeah, practical is a very large set, I would have just liked something more cookbooky 2017-12-07T21:31:39Z Shinmera: Have a look at Common Lisp Recipes then. 2017-12-07T21:33:55Z orivej joined #lisp 2017-12-07T21:33:59Z cgay: I guess you can't get much more cookbooky than that. 2017-12-07T21:34:41Z _rumbler31_: I was impressed with the mutlithreaeded section 2017-12-07T21:35:14Z mishoo quit (Ping timeout: 255 seconds) 2017-12-07T21:35:26Z jmercouris: I've seen them already, but point taken 2017-12-07T21:35:33Z _rumbler31_: I got the gist of the description of how to parallelize a process that can be described as a graph of operations, where peers can be processed simultaneously 2017-12-07T21:36:18Z jmercouris: _rumbler31_: You should take a distributed systems course, you'll learn all about different theories for proving correctness, order, etc 2017-12-07T21:36:34Z jmercouris: Also different scheduling, communication and signaling strategies to ensure correctness, even with failure etc 2017-12-07T21:36:35Z fikka joined #lisp 2017-12-07T21:36:45Z fourier: cl recipes is so awesome 2017-12-07T21:36:47Z _rumbler31_: sounds good! 2017-12-07T21:36:51Z raphaelss quit (Ping timeout: 240 seconds) 2017-12-07T21:37:04Z fourier: my favorite book, always revert to it 2017-12-07T21:39:30Z asarch: I want to use it as reference cgay 2017-12-07T21:39:40Z asarch: Does it worth? 2017-12-07T21:40:00Z asarch: I mean, is it a good tutorial? 2017-12-07T21:40:07Z omilu quit (Read error: Connection reset by peer) 2017-12-07T21:42:07Z flamebeard quit (Quit: Leaving) 2017-12-07T21:42:26Z fourier: just buy it 2017-12-07T21:43:02Z nirved quit (*.net *.split) 2017-12-07T21:43:02Z NaNDude quit (*.net *.split) 2017-12-07T21:43:02Z Firedancer quit (*.net *.split) 2017-12-07T21:43:02Z jdz quit (*.net *.split) 2017-12-07T21:43:02Z amer quit (*.net *.split) 2017-12-07T21:43:02Z cpt_nemo quit (*.net *.split) 2017-12-07T21:43:02Z theBlackDragon quit (*.net *.split) 2017-12-07T21:43:02Z fe[nl]ix quit (*.net *.split) 2017-12-07T21:43:02Z Blkt quit (*.net *.split) 2017-12-07T21:43:02Z sebastien_ quit (*.net *.split) 2017-12-07T21:43:02Z akash47 quit (*.net *.split) 2017-12-07T21:43:02Z minion quit (*.net *.split) 2017-12-07T21:43:02Z pmden quit (*.net *.split) 2017-12-07T21:43:02Z chocolait quit (*.net *.split) 2017-12-07T21:43:02Z nopf quit (*.net *.split) 2017-12-07T21:43:02Z misv quit (*.net *.split) 2017-12-07T21:43:02Z sword quit (*.net *.split) 2017-12-07T21:43:02Z nikivi quit (*.net *.split) 2017-12-07T21:43:03Z Rovanion quit (*.net *.split) 2017-12-07T21:43:03Z sigjuice quit (*.net *.split) 2017-12-07T21:43:03Z joeygibson quit (*.net *.split) 2017-12-07T21:43:03Z danlentz quit (*.net *.split) 2017-12-07T21:43:03Z d4gg4d_ quit (*.net *.split) 2017-12-07T21:43:03Z tmc quit (*.net *.split) 2017-12-07T21:43:03Z Poetichristmas quit (*.net *.split) 2017-12-07T21:43:03Z benny quit (*.net *.split) 2017-12-07T21:43:03Z askatasuna quit (*.net *.split) 2017-12-07T21:43:03Z XachX quit (*.net *.split) 2017-12-07T21:43:03Z stylewarning quit (*.net *.split) 2017-12-07T21:43:03Z odin quit (*.net *.split) 2017-12-07T21:43:03Z alandipert quit (*.net *.split) 2017-12-07T21:43:03Z shaftoe quit (*.net *.split) 2017-12-07T21:43:03Z exit70 quit (*.net *.split) 2017-12-07T21:43:12Z fourier: its not a tutotiral but accompanying book 2017-12-07T21:43:22Z sigjuice joined #lisp 2017-12-07T21:43:22Z amerlyq joined #lisp 2017-12-07T21:43:49Z exit70 joined #lisp 2017-12-07T21:44:25Z asarch: Thank you guys 2017-12-07T21:44:26Z asarch: Thank you very much :-) 2017-12-07T21:44:41Z asarch: See you later! Viel Spaẞ! 2017-12-07T21:45:07Z asarch quit (Quit: Leaving) 2017-12-07T21:45:43Z scottj left #lisp 2017-12-07T21:46:40Z knobo quit (Ping timeout: 252 seconds) 2017-12-07T21:46:47Z Kundry_Wag joined #lisp 2017-12-07T21:48:15Z nirved joined #lisp 2017-12-07T21:48:15Z NaNDude joined #lisp 2017-12-07T21:48:15Z Firedancer joined #lisp 2017-12-07T21:48:15Z jdz joined #lisp 2017-12-07T21:48:15Z cpt_nemo joined #lisp 2017-12-07T21:48:15Z theBlackDragon joined #lisp 2017-12-07T21:48:15Z fe[nl]ix joined #lisp 2017-12-07T21:48:15Z Blkt joined #lisp 2017-12-07T21:48:15Z sebastien_ joined #lisp 2017-12-07T21:48:15Z akash47 joined #lisp 2017-12-07T21:48:15Z minion joined #lisp 2017-12-07T21:48:15Z pmden joined #lisp 2017-12-07T21:48:15Z chocolait joined #lisp 2017-12-07T21:48:15Z nopf joined #lisp 2017-12-07T21:48:15Z misv joined #lisp 2017-12-07T21:48:15Z Rovanion joined #lisp 2017-12-07T21:48:15Z sword joined #lisp 2017-12-07T21:48:15Z nikivi joined #lisp 2017-12-07T21:48:15Z joeygibson joined #lisp 2017-12-07T21:48:15Z danlentz joined #lisp 2017-12-07T21:48:15Z d4gg4d_ joined #lisp 2017-12-07T21:48:15Z tmc joined #lisp 2017-12-07T21:48:15Z Poetichristmas joined #lisp 2017-12-07T21:48:15Z benny joined #lisp 2017-12-07T21:48:15Z askatasuna joined #lisp 2017-12-07T21:48:15Z XachX joined #lisp 2017-12-07T21:48:15Z stylewarning joined #lisp 2017-12-07T21:48:15Z odin joined #lisp 2017-12-07T21:48:15Z alandipert joined #lisp 2017-12-07T21:48:15Z shaftoe joined #lisp 2017-12-07T21:48:15Z card.freenode.net has set mode +o fe[nl]ix 2017-12-07T21:48:21Z damke quit (Ping timeout: 240 seconds) 2017-12-07T21:48:41Z nopf quit (Max SendQ exceeded) 2017-12-07T21:48:49Z nopf joined #lisp 2017-12-07T21:49:18Z damke joined #lisp 2017-12-07T21:50:49Z zachk joined #lisp 2017-12-07T21:51:46Z Ober: nice, modern book 2017-12-07T21:51:57Z Ober: also a great source of what to use, and what not to use 2017-12-07T21:54:37Z cgay: I think there were several overloaded bindings for "it" there, but oh well. 2017-12-07T21:54:43Z milanj quit (Quit: Leaving) 2017-12-07T21:55:34Z fourier: i meant cl recipes book 2017-12-07T21:57:36Z Younder: https://www.amazon.com/Purely-Functional-Structures-Chris-Okasaki/dp/0521663504 is also interesting 2017-12-07T21:57:41Z cgay: Yup. I think asarch was still referring to TutorialsPoint. 2017-12-07T22:01:39Z sz0 quit (Quit: Connection closed for inactivity) 2017-12-07T22:03:53Z rm8 quit (Quit: i quit) 2017-12-07T22:04:05Z fourier quit (Ping timeout: 240 seconds) 2017-12-07T22:09:33Z aeth: I personally find the best way to write fast CL is to use a mostly-functional style: i.e. pure functions that feed into mutable data structures. One way of getting non-consing pure functions without a lot of macro hacks is to use multiple return values, which will work for non-boxed values (obviously, within reason... 16 return values for a 4x4 matrix probably won't work well with this style). 2017-12-07T22:10:46Z sjl quit (Ping timeout: 260 seconds) 2017-12-07T22:10:51Z aeth: I also treat a zero-body do as pure, even though technically it's just a bunch of mutating gotos. This is because do is pure in Scheme (a macro makes it tail recursion instead of mutating values and having gotos) and that do is basically identical to CL's do minus the ability to do gotos in the do body, afaik. 2017-12-07T22:11:02Z damke_ joined #lisp 2017-12-07T22:12:09Z Devon: What is this zero-body, is it documented? 2017-12-07T22:12:21Z damke quit (Ping timeout: 240 seconds) 2017-12-07T22:12:49Z aeth: Devon: A zero-body do is a do that doesn't have a body... If you're using do in a purely functional way, you usually don't need a body (except perhaps for type declarations) because the body is for side effects. 2017-12-07T22:13:41Z aeth: I suppose nil body or something would be more accurate. 2017-12-07T22:13:48Z aeth: It probably got morphed in a game of telephone 2017-12-07T22:14:24Z aeth: The first three examples here don't have a body: http://www.lispworks.com/documentation/HyperSpec/Body/m_do_do.htm 2017-12-07T22:15:06Z Baggers quit (Remote host closed the connection) 2017-12-07T22:15:10Z aeth: Note that do uses 1+ instead of incf, so even though it's technically setting if you macroexpand it, you can pretend it's functional. 2017-12-07T22:16:29Z aeth: I think CL is more of a language for making functional languages than an actual functional language itself. You're ultimately going to be mutating, but you can hide it well and pretend you're pure. 2017-12-07T22:17:10Z aeth: Not just functional languages. CL seems like an excellent choice for implementing fifth-generation programming languages. https://en.wikipedia.org/wiki/Fifth-generation_programming_language 2017-12-07T22:17:31Z aeth: It's not surprising at all to see that article have the phrase "These types of languages were also built upon Lisp, many originating on the Lisp machine" 2017-12-07T22:17:58Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-07T22:19:06Z Devon: aeth: a disembodied do, like a loop macro with no do clause. 2017-12-07T22:20:43Z pfdietz joined #lisp 2017-12-07T22:21:08Z aeth: Yes, I suppose someone once used 'nil body' as an alternative to 'disembodied' and then someone with a dialect where 'nil' means 'zero' said 'zero' instead, and that's how I picked up the confusing term. 'nil body' at least still makes sense. 2017-12-07T22:21:16Z pfdietz: ML was originally implemented in lisp (as part of LCF.) 2017-12-07T22:26:31Z pfdietz quit (Ping timeout: 240 seconds) 2017-12-07T22:27:36Z aeth: Anyway, I see Lisp as a langauge for writing declarative (including purely functional) languages, rather than a declarative language, except where the work has already been done by some included macro (usually the macros are left to libraries). 2017-12-07T22:29:45Z aeth: Imo, there's not enough magic going on in the compiler for efficient pure functional programming out of the box... unless you abuse the language, but such abuses should probably be macroified, anyway. 2017-12-07T22:30:18Z pfdietz joined #lisp 2017-12-07T22:30:24Z jasom: okay I remember slime being able to eval an expression and add the result as a comment like ;; => FOO 2017-12-07T22:30:50Z jasom: do I need an extension or something for it because I can't find that; just the C-u C-x C-e which prints it with no comment 2017-12-07T22:33:54Z Bike quit (Ping timeout: 260 seconds) 2017-12-07T22:35:43Z Cymew joined #lisp 2017-12-07T22:36:58Z nirved quit (*.net *.split) 2017-12-07T22:36:58Z NaNDude quit (*.net *.split) 2017-12-07T22:36:58Z Firedancer quit (*.net *.split) 2017-12-07T22:36:58Z jdz quit (*.net *.split) 2017-12-07T22:36:58Z cpt_nemo quit (*.net *.split) 2017-12-07T22:36:59Z theBlackDragon quit (*.net *.split) 2017-12-07T22:36:59Z fe[nl]ix quit (*.net *.split) 2017-12-07T22:36:59Z Blkt quit (*.net *.split) 2017-12-07T22:36:59Z sebastien_ quit (*.net *.split) 2017-12-07T22:36:59Z akash47 quit (*.net *.split) 2017-12-07T22:36:59Z minion quit (*.net *.split) 2017-12-07T22:36:59Z pmden quit (*.net *.split) 2017-12-07T22:36:59Z chocolait quit (*.net *.split) 2017-12-07T22:36:59Z misv quit (*.net *.split) 2017-12-07T22:36:59Z sword quit (*.net *.split) 2017-12-07T22:36:59Z nikivi quit (*.net *.split) 2017-12-07T22:36:59Z Rovanion quit (*.net *.split) 2017-12-07T22:36:59Z joeygibson quit (*.net *.split) 2017-12-07T22:36:59Z danlentz quit (*.net *.split) 2017-12-07T22:36:59Z d4gg4d_ quit (*.net *.split) 2017-12-07T22:36:59Z tmc quit (*.net *.split) 2017-12-07T22:36:59Z Poetichristmas quit (*.net *.split) 2017-12-07T22:36:59Z benny quit (*.net *.split) 2017-12-07T22:36:59Z askatasuna quit (*.net *.split) 2017-12-07T22:36:59Z XachX quit (*.net *.split) 2017-12-07T22:36:59Z stylewarning quit (*.net *.split) 2017-12-07T22:36:59Z odin quit (*.net *.split) 2017-12-07T22:36:59Z alandipert quit (*.net *.split) 2017-12-07T22:37:00Z shaftoe quit (*.net *.split) 2017-12-07T22:39:21Z damke joined #lisp 2017-12-07T22:40:24Z Cymew quit (Ping timeout: 246 seconds) 2017-12-07T22:41:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-07T22:42:06Z nirved joined #lisp 2017-12-07T22:42:06Z NaNDude joined #lisp 2017-12-07T22:42:06Z Firedancer joined #lisp 2017-12-07T22:42:06Z jdz joined #lisp 2017-12-07T22:42:06Z cpt_nemo joined #lisp 2017-12-07T22:42:06Z theBlackDragon joined #lisp 2017-12-07T22:42:06Z fe[nl]ix joined #lisp 2017-12-07T22:42:06Z Blkt joined #lisp 2017-12-07T22:42:06Z sebastien_ joined #lisp 2017-12-07T22:42:06Z akash47 joined #lisp 2017-12-07T22:42:06Z minion joined #lisp 2017-12-07T22:42:06Z pmden joined #lisp 2017-12-07T22:42:06Z chocolait joined #lisp 2017-12-07T22:42:06Z misv joined #lisp 2017-12-07T22:42:06Z Rovanion joined #lisp 2017-12-07T22:42:06Z sword joined #lisp 2017-12-07T22:42:06Z nikivi joined #lisp 2017-12-07T22:42:06Z joeygibson joined #lisp 2017-12-07T22:42:06Z danlentz joined #lisp 2017-12-07T22:42:06Z d4gg4d_ joined #lisp 2017-12-07T22:42:06Z tmc joined #lisp 2017-12-07T22:42:06Z Poetichristmas joined #lisp 2017-12-07T22:42:06Z benny joined #lisp 2017-12-07T22:42:06Z askatasuna joined #lisp 2017-12-07T22:42:06Z XachX joined #lisp 2017-12-07T22:42:06Z stylewarning joined #lisp 2017-12-07T22:42:06Z odin joined #lisp 2017-12-07T22:42:06Z alandipert joined #lisp 2017-12-07T22:42:06Z shaftoe joined #lisp 2017-12-07T22:42:06Z card.freenode.net has set mode +o fe[nl]ix 2017-12-07T22:44:06Z wxie joined #lisp 2017-12-07T22:44:17Z pfdietz quit (Ping timeout: 240 seconds) 2017-12-07T22:45:36Z aindilis quit (Remote host closed the connection) 2017-12-07T22:47:33Z wxie quit (Remote host closed the connection) 2017-12-07T22:49:32Z Devon: Do you get 504: Gateway Time-out at http://LearnLispTheHardWay.org? 2017-12-07T22:51:16Z aeth: If I'm heavily abusing symbol macros, do you think it's clear enough if I use names like 'location.x instead of 'x-location or 'location-x to abstract over where I store the x location? Definitely probably violates every style guide in existence, but 'location.x seems like the most obvious name for this syntactic shortcut to me. 2017-12-07T22:51:58Z _rumbler31_ quit (Ping timeout: 246 seconds) 2017-12-07T22:52:11Z aeth: I have to heavily abuse symbol macros because otherwise my implementation leaks because I use 2D arrays, meaning arefs everywhere. Fortunately, arefs are very similar to accessors (they are accessors?), so I can basically copy the basic layout of with-accessors 2017-12-07T22:53:26Z aeth: e.g. (setf location.x 4f0) becomes (setf (aref location entity-id +x+) 4f0) where +x+ is 0 2017-12-07T22:54:03Z aeth: I could also use the name location-x or something else, but... I don't think I can use the idiomatic (x location) because then I need to add a lot more complexity than just a symbol-macrolet 2017-12-07T22:55:11Z aeth: I also absolutely hate macros that have fake macros/functions in the body that don't even exist because you can't really do things with them that you expect, and you basically can only figure out what's going on when a syntax error pops up by doing something wrong. 2017-12-07T22:55:55Z aeth: At least with location.x or location-x it's clear that it's a symbol, and fairly obvious that something like with-accessors is going on 2017-12-07T22:57:00Z aeth: I'm trying to get this API right because I have to rework half of my code every time I change it because it's very core to my game engine. 2017-12-07T22:57:05Z pjb quit (Ping timeout: 252 seconds) 2017-12-07T22:57:25Z nhandler quit (Remote host closed the connection) 2017-12-07T22:57:38Z pfdietz joined #lisp 2017-12-07T22:58:43Z vertigo quit (Remote host closed the connection) 2017-12-07T23:00:31Z nhandler joined #lisp 2017-12-07T23:01:52Z pfdietz quit (Ping timeout: 240 seconds) 2017-12-07T23:03:21Z damke quit (Ping timeout: 240 seconds) 2017-12-07T23:04:52Z remi`bd quit (Read error: No route to host) 2017-12-07T23:06:16Z republican_devil joined #lisp 2017-12-07T23:06:27Z republican_devil: how do lispers handle big data? 2017-12-07T23:06:31Z republican_devil: or e commerce? 2017-12-07T23:06:36Z republican_devil: without resporting to postgresql? 2017-12-07T23:06:42Z republican_devil: can files and lisp do it? 2017-12-07T23:10:08Z LiamH quit (Quit: Leaving.) 2017-12-07T23:11:48Z pierpa joined #lisp 2017-12-07T23:12:03Z Bicyclidine quit (Remote host closed the connection) 2017-12-07T23:13:33Z papachan: republican_devil ¯\_(ツ)_/¯ 2017-12-07T23:13:44Z Bike joined #lisp 2017-12-07T23:14:23Z anunnaki joined #lisp 2017-12-07T23:16:05Z Devon: republican_devil: (ql:system-apropos "sql") gets 44 hits, nosql gets none... 2017-12-07T23:18:14Z smurfrobot joined #lisp 2017-12-07T23:18:51Z whoman: aeth: i think dots are totally fine and i think that is also an interesting idea 2017-12-07T23:19:09Z whoman: i am looking at this right now, anaphoric macros: https://letoverlambda.com/index.cl/guest/chap6.html 2017-12-07T23:20:11Z osune quit (Remote host closed the connection) 2017-12-07T23:21:54Z republican_devil: no no 2017-12-07T23:22:01Z republican_devil: want to avoid sql and postgresql 2017-12-07T23:22:17Z republican_devil: aavoid nosql 2017-12-07T23:22:35Z aeth: Ah, interesting... with-accessors only works without problems because CL is a Lisp-2. This would have to be used with care because this would blow the stack as it infinitely expands the foo: (with-entity-accessors ((foo foo)) 42 foo) 2017-12-07T23:23:50Z smurfrobot quit (Ping timeout: 276 seconds) 2017-12-07T23:24:27Z aeth: republican_devil: Just about everyone uses postgresql through postmodern, afaik. And most of the rest will probably use some other SQL system with a different SQL database. 2017-12-07T23:24:47Z aeth: NoSQL would be tricky because quite a lot of them use JSON and CL's JSON support is fairly weak. 2017-12-07T23:24:59Z Shinmera: What are you talking about 2017-12-07T23:25:35Z Shinmera: There's like six or what JSON libraries to do the parsing and serialising in literally every way imaginable. 2017-12-07T23:25:39Z aeth: JSON doesn't map well to CL, and the popular libraries' arbitrary decisions are bad, especially the most popular's, cl-json 2017-12-07T23:25:48Z whoman: aeth: check out the variable capture of anaphoric macro, may help u out now that i think of it =) 2017-12-07T23:26:00Z aeth: thinking "nil" is more "null" than "false" is quite possibly the worst way to approach it, yet cl-json does it that way. 2017-12-07T23:26:11Z Shinmera: So 2017-12-07T23:26:55Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.1)) 2017-12-07T23:27:38Z Kaisyu joined #lisp 2017-12-07T23:27:43Z aeth: Shinmera: so the most popular (by far) JSON implementation is fundamentally flawed in the way it tries to connect JSON's data types to CL's data types 2017-12-07T23:27:47Z Shinmera: Also, there already are libraries to interface with mongo and couchdb, etc. 2017-12-07T23:28:01Z aeth: And being the most popular, that's probably the one most libraries use 2017-12-07T23:28:07Z Shinmera: aeth: So what? That doesn't make JSON support "weak". There's still all the other libraries that offer all the other options. 2017-12-07T23:29:06Z aeth: I'd call CL's regexp support weak if a fatally flawed regexp library was as popular as cl-ppcre and cl-ppcre was obscure 2017-12-07T23:29:15Z republican_devil: why use json? 2017-12-07T23:29:29Z Shinmera: And I'd call that stupid 2017-12-07T23:29:33Z republican_devil: why use a sql database? 2017-12-07T23:29:42Z aeth: republican_devil: People follow the trends, which in 2000 would have been XML and in 2017 is now JSON... In fact, in 2017 it's remaking everything that has been done with XML, but for JSON 2017-12-07T23:29:43Z republican_devil: oracle is cancer in my opinion 2017-12-07T23:29:58Z republican_devil: no no Im talking about using lisp not following trends 2017-12-07T23:29:59Z wxie joined #lisp 2017-12-07T23:30:06Z republican_devil: Im on frebsd with icewm and chrome 2017-12-07T23:30:52Z aeth: Shinmera: The problem is that you'll basically be forced to use multiple libraries that do essentially the same thing when it comes to something like JSON, since odds are one of your dependencies is using cl-json and another realized cl-json is stupid and is using one of the other 5 2017-12-07T23:31:28Z nirved quit (Quit: Leaving) 2017-12-07T23:31:43Z aeth: Compare this to something where there's one library (e.g. closer-mop, cl-ppcre, babel, trivial-features, trivial-gray-streams, bordeaux-threads, cffi, etc.) that dominates. Less likely to have a dependency explosion 2017-12-07T23:31:52Z safe joined #lisp 2017-12-07T23:31:53Z Shinmera: Then that's an issue with the libraries at hand. It doesn't say anything at all about the support for JSON in and of itself. 2017-12-07T23:32:42Z Shinmera: And again, because there are different ways to do it, there's different libraries to do it. This is not the case with the other examples you mentioned (mostly) because there's very little to do differnetly. 2017-12-07T23:34:03Z jmercouris quit (Remote host closed the connection) 2017-12-07T23:34:13Z Shinmera: mop, ppcre, encodings, ffi, features, threading, are all sets that are pretty well defined, and the way to implement a library for it is thus clear. The JSON mapping is not. 2017-12-07T23:34:34Z aeth: There's a different way to do babel... treat it like a portability library and e.g. use SBCL's much faster octets-to-string when on SBCL. There's many ways to do regular expressions. There's also probably many ways to do something like bt or cffi. There are different ways to handle what trivial-features does, one library I used to use used that alternative. 2017-12-07T23:35:04Z whoman: sb-alien 2017-12-07T23:35:15Z aeth: trivial-gray-streams is the only unambiguous basically-one-way-to-do-it library there that I know of. I don't know enough about closer-mop, but it might be the same way. 2017-12-07T23:35:52Z Shinmera: bt, ffi, etc. expose a min-max API and are thus also pretty clearly defined and couldn't well be done otherwise. 2017-12-07T23:35:57Z whoman: lisp libraries hmm could be treated a bit less as having an API and more of being a bunch of parts 2017-12-07T23:36:16Z aeth: I'll grant your point on bt. I'm not sure about cffi 2017-12-07T23:38:09Z aeth: Anyway, I do see it as a flaw in the CL ecosystem that there isn't a clearly correct (for most use cases) and popular JSON library... although, that might just be because a lot of people (like me) use s-expressions for data where other languages would use JSON, YAML, or XML. Still hurts interfacing with things written in other languages, though. 2017-12-07T23:38:20Z aeth: It's not a flaw in CL itself, obviously. 2017-12-07T23:38:48Z anunnaki is now known as verigo 2017-12-07T23:39:22Z aeth: Most of the stuff at the top of this are clearly the correct library for the thing they're trying to solve, or at least correct enough to not be worth using an alternative. http://blog.quicklisp.org/2017/12/november-2017-quicklisp-download-stats.html 2017-12-07T23:39:30Z verigo is now known as vertigo 2017-12-07T23:40:35Z Shinmera: trivial-backtrace for instance is no longer the best option though :^) 2017-12-07T23:41:39Z aindilis joined #lisp 2017-12-07T23:41:51Z jack_rabbit quit (Ping timeout: 248 seconds) 2017-12-07T23:43:42Z Shinmera heads off to bed 2017-12-07T23:45:22Z aindilis quit (Read error: Connection reset by peer) 2017-12-07T23:46:40Z rawste quit (Quit: ZZZzzz…) 2017-12-07T23:46:54Z python476 quit (Ping timeout: 258 seconds) 2017-12-07T23:48:21Z aindilis joined #lisp 2017-12-07T23:48:37Z pjb joined #lisp 2017-12-07T23:49:03Z aeth: republican_devil: If you're talking about using Lisp instead of SQL where SQL would normally be used, then I think it's still technically NoSQL 2017-12-07T23:49:06Z Devon: republican_devil: I scoped out various CL JSON libs for a product I was developing, found one which was round-trip correct, IIRC I still had to hack it a bit to get it right. 2017-12-07T23:49:37Z wxie quit (Quit: Bye.) 2017-12-07T23:50:39Z aeth: Devon: Yes, round-trip correctness, that's the issue. It's related to also having reasonable encodings. Not having a separate '() and #f here hurts CL in a naive encoding if one wants to use lists instead of arrays. 2017-12-07T23:50:43Z Devon: Anyone here ever use a "Semantic" database? 2017-12-07T23:51:04Z aeth: jcowan_ pointed out some workarounds to JSON encoding issues in #scheme a few weeks ago, iirc 2017-12-07T23:51:13Z aeth: I'm not sure if any CL library uses them 2017-12-07T23:51:58Z aeth: Devon: can you clarify? "semantic" sounds like it might be too much of a buzzword to search 2017-12-07T23:52:30Z Devon: I have this vague nightmarish recollection of ugly compromises. 2017-12-07T23:53:30Z Devon: Franz, Inc.'s hoopla, has anyone used it? 2017-12-07T23:53:32Z aeth: republican_devil: I'm not aware of a portable CL-native database that has any real popularity. I wouldn't be surprised if LispWorks and/or Allegro have their own proprietary ones. 2017-12-07T23:55:46Z aeth: Some of the entity systems used by #lispgames might be seen as CL-native in-memory databases, but they would be built around being real-time, not around big data. 2017-12-07T23:57:21Z jack_rabbit joined #lisp 2017-12-07T23:58:35Z aeth: A portable database that's not in-memory would probably need some portability around mmap. Does this exist? It looks like the only name match in Quicklisp is trivial-mmap. 2017-12-08T00:02:28Z aeth: https://github.com/zodmaner/trivial-mmap 2017-12-08T00:02:32Z aeth: It looks like this also has mmap. https://github.com/osicat/osicat 2017-12-08T00:15:39Z Zhivago quit (Ping timeout: 258 seconds) 2017-12-08T00:17:08Z orivej quit (Ping timeout: 276 seconds) 2017-12-08T00:23:25Z hydan joined #lisp 2017-12-08T00:28:14Z mejja joined #lisp 2017-12-08T00:31:03Z turkja joined #lisp 2017-12-08T00:32:02Z aeth: whoman: Thanks, your suggestion set me off in the right direction. I now store all the old values of the slot names in gensyms, and aref those gensyms instead of using the name directly. 2017-12-08T00:35:08Z smurfrobot joined #lisp 2017-12-08T00:35:21Z whoman: https://ptpb.pw/4UUX kekeke 2017-12-08T00:36:14Z aeth: whoman: Are you doing something with (safety 0) somewhere? 2017-12-08T00:36:36Z whoman: aeth: ah cool! gensym leaves a taste in my mouth. i had been conditioned to feel that hygiene is a good thing (??) but suddenly i see that capturing variables is something i will really enjoy the taste of 2017-12-08T00:37:44Z whoman: aeth: nope, just SDL2/threads 2017-12-08T00:38:17Z whoman: some time last night i had two sdl2 bindings going, very unconventionally, so i am sure that was it =) 2017-12-08T00:38:37Z aeth: C is (safety -1) all the time 2017-12-08T00:38:57Z whoman: there she is =) --> (defmacro alambda (parms &body body) `(labels ((self ,parms ,@body)) #'self)) 2017-12-08T00:39:16Z dmiles: Devon: you should invesigate CYC 2017-12-08T00:39:21Z whoman: aeth: heh! 2017-12-08T00:40:03Z dirb quit (Remote host closed the connection) 2017-12-08T00:40:06Z gigetoo quit (Ping timeout: 260 seconds) 2017-12-08T00:40:19Z dmiles: Devon: and/or KM http://www.cs.utexas.edu/users/mfkb/km/ http://www.cs.utexas.edu/users/mfkb/km/km-overview.script 2017-12-08T00:40:44Z _cosmonaut_ joined #lisp 2017-12-08T00:41:11Z gigetoo joined #lisp 2017-12-08T00:42:16Z dmiles is developing new Lisp to make integration of such programs Semantic Inference Engines easier with other Engine tools writtne in Prolog 2017-12-08T00:42:53Z dmiles: eaiser = less FFI thinking between objects 2017-12-08T00:43:07Z dmiles: thunking* 2017-12-08T00:43:32Z aeth: call it Epilog 2017-12-08T00:43:45Z dmiles: hehe yes perfect name Epilog 2017-12-08T00:44:57Z whoman: o-O 2017-12-08T00:45:02Z dmiles: ugh never google Prolog and Epilog together 2017-12-08T00:45:41Z dmiles: oh Epilog is coded in lisp 2017-12-08T00:48:16Z akr joined #lisp 2017-12-08T00:51:46Z josemanuel quit (Quit: leaving) 2017-12-08T00:51:47Z dmiles assumed aeth was teasing 2017-12-08T00:52:25Z whoman: it better be emacs lisp 2017-12-08T00:53:05Z zachk quit (Quit: night) 2017-12-08T00:53:13Z smurfrobot quit (Remote host closed the connection) 2017-12-08T00:53:27Z dmiles: why is that? 2017-12-08T00:54:30Z dmiles has sorta thought of implementing emacs lisp then use 'emacs-cl' to get to CL 2017-12-08T00:54:52Z dmiles: but i cant tell if emacs lisp is actualyl smaller or not 2017-12-08T00:55:29Z dmiles: also is there a library in CL to make ones lisp act like emacs lisp? 2017-12-08T00:56:00Z whoman: yes 2017-12-08T00:56:09Z whoman: also an impl. in guile =P 2017-12-08T00:56:18Z whoman: also cl-lib from emacs side could help 2017-12-08T00:56:27Z JenElizabeth quit (Remote host closed the connection) 2017-12-08T00:56:52Z JenElizabeth joined #lisp 2017-12-08T00:56:59Z whoman: elisp is actually quite nice.. 2017-12-08T00:57:02Z EvW quit (Ping timeout: 255 seconds) 2017-12-08T00:57:20Z aeth: dmiles: I think CL is small enough if you ignore CLOS and loop and use someone else's versions of those. Maybe a few other painful parts. 2017-12-08T00:57:24Z dmiles: i have two two versions one is cl-lib and the otehr https://github.com/larsbrinkhoff/emacs-cl 2017-12-08T00:57:37Z SuperJen joined #lisp 2017-12-08T00:57:42Z dmiles: not sure which si better of the two 2017-12-08T00:58:53Z dmiles: aeth: yeah that is what i been finding (that it isnt that biug.. actualyl even clos as far as i can tell in not even as big as Epilog KM or any other lisp applicaiton 2017-12-08T00:59:57Z mson joined #lisp 2017-12-08T01:00:04Z whoman: emacs-cl is definately older, cl-lib is official builtin 2017-12-08T01:00:16Z dmiles alwasy feels worse in #lisp when he unballances ()s 2017-12-08T01:00:57Z JenElizabeth quit (Ping timeout: 240 seconds) 2017-12-08T01:01:02Z aeth: it's fine, as long as you escape it first. #\( 2017-12-08T01:01:08Z whoman: (= 2017-12-08T01:02:36Z dmiles: hah 2017-12-08T01:03:05Z pjb: or even 2017-12-08T01:03:07Z pjb: \( 2017-12-08T01:03:57Z pjb: (car '(\()) --> \( 2017-12-08T01:05:46Z dmiles adds (symbol-name '\() to sanity-tests 2017-12-08T01:06:07Z happy_gnu[m] joined #lisp 2017-12-08T01:06:07Z kammd[m] joined #lisp 2017-12-08T01:06:07Z Jach[m] joined #lisp 2017-12-08T01:06:07Z Guest72603 joined #lisp 2017-12-08T01:06:07Z dirb joined #lisp 2017-12-08T01:06:08Z Sovereign_Bleak joined #lisp 2017-12-08T01:06:08Z l04m33[m] joined #lisp 2017-12-08T01:06:08Z CharlieBrown joined #lisp 2017-12-08T01:06:08Z astronavt[m] joined #lisp 2017-12-08T01:06:08Z thorondor[m] joined #lisp 2017-12-08T01:06:08Z Guest49954 joined #lisp 2017-12-08T01:06:08Z dahs81[m] joined #lisp 2017-12-08T01:06:08Z hdurer[m] joined #lisp 2017-12-08T01:06:08Z cryptomarauder[m joined #lisp 2017-12-08T01:06:08Z plll[m] joined #lisp 2017-12-08T01:06:08Z equalunique[m] joined #lisp 2017-12-08T01:06:09Z RichardPaulBck[m joined #lisp 2017-12-08T01:06:09Z hiq[m] joined #lisp 2017-12-08T01:06:14Z trigt[m] joined #lisp 2017-12-08T01:06:15Z mhitchman[m] joined #lisp 2017-12-08T01:06:16Z ArthurAGleckler[ joined #lisp 2017-12-08T01:06:21Z dmiles: oh and (symbol-name :\() 2017-12-08T01:08:20Z dmiles: clhs get-setf-method-inverse 2017-12-08T01:08:20Z specbot: Couldn't find anything for get-setf-method-inverse. 2017-12-08T01:08:27Z dmiles: ok good 2017-12-08T01:08:33Z momofarm joined #lisp 2017-12-08T01:10:26Z Bike: i think sbcl uses that to get cheap expansions from short defsetf. 2017-12-08T01:11:04Z dmiles: yeah i saw it in sbcl, xcl and abcl made me wonder 2017-12-08T01:12:18Z red-dot joined #lisp 2017-12-08T01:12:37Z dmiles: if it was standard 2017-12-08T01:14:08Z dmiles: xcl extracted much of sbcl sources is why 2017-12-08T01:15:08Z jibanes quit (Ping timeout: 252 seconds) 2017-12-08T01:15:11Z dmiles: it apears /me leaves of the last few words 2017-12-08T01:15:12Z papachan quit (Quit: WeeChat 2.0) 2017-12-08T01:15:50Z stylewarning: my lisp & quantum computing talk is online https://www.youtube.com/watch?v=f9vRcSAneiw 2017-12-08T01:16:27Z dmiles: of every sentence /me was actually paid once to write a neurolinguistic personal auditing program to detect souls whom do this 2017-12-08T01:16:55Z jibanes joined #lisp 2017-12-08T01:17:49Z dmiles: since they may often be the most likely to do reprisal attacks against previous employers 2017-12-08T01:19:51Z whoman quit (Remote host closed the connection) 2017-12-08T01:20:54Z whoman joined #lisp 2017-12-08T01:23:43Z jack_rabbit quit (Ping timeout: 248 seconds) 2017-12-08T01:26:12Z dmiles should starts charging for Ashkenazi genetic profiling 2017-12-08T01:26:36Z dmiles: oh, it was only the person doing introductions 2017-12-08T01:31:18Z whoman: oy 2017-12-08T01:32:35Z k-stz quit (Remote host closed the connection) 2017-12-08T01:33:22Z dmiles: vey 2017-12-08T01:33:24Z Bike: ...ashenkazi...? 2017-12-08T01:33:49Z whoman quit (Remote host closed the connection) 2017-12-08T01:34:00Z hexfour quit (Quit: WeeChat 1.9.1) 2017-12-08T01:34:42Z whoman joined #lisp 2017-12-08T01:35:24Z whoman quit (Remote host closed the connection) 2017-12-08T01:36:06Z whoman joined #lisp 2017-12-08T01:36:21Z dmiles: ashkenazi are a group of less 350 jews whom decendended from some italian women whom are now over 2 million people.. but prabably quite more.. since most do not know they came from this group 2017-12-08T01:36:22Z whoman` joined #lisp 2017-12-08T01:36:39Z whoman` quit (Remote host closed the connection) 2017-12-08T01:37:02Z dmiles: (or have any jewish people in their family anymore) 2017-12-08T01:37:16Z Kundry_Wag quit (Remote host closed the connection) 2017-12-08T01:37:17Z jack_rabbit joined #lisp 2017-12-08T01:37:19Z Kundry_W` joined #lisp 2017-12-08T01:37:39Z whoman` joined #lisp 2017-12-08T01:37:47Z drmeister: Hey - does anyone use dtrace? I'm trying to use it on clasp and it's not cooperating. 2017-12-08T01:38:12Z Devon: I use it all the time. 2017-12-08T01:38:37Z Devon: MacOSX hacked it to not work on most of their stuff. 2017-12-08T01:41:14Z Devon: I generally use this bash command at http://jovi.net/dtrace 2017-12-08T01:45:01Z whoman` is now known as hooman 2017-12-08T01:46:37Z sjl joined #lisp 2017-12-08T01:49:53Z fikka quit (Ping timeout: 250 seconds) 2017-12-08T01:50:41Z sjl quit (Ping timeout: 240 seconds) 2017-12-08T01:53:01Z nullman quit (Ping timeout: 260 seconds) 2017-12-08T01:53:39Z damke joined #lisp 2017-12-08T01:54:07Z jack_rabbit quit (Ping timeout: 248 seconds) 2017-12-08T01:54:07Z Devon quit (Ping timeout: 248 seconds) 2017-12-08T01:54:51Z nullman joined #lisp 2017-12-08T01:58:27Z lrvy joined #lisp 2017-12-08T02:00:25Z raphaelss joined #lisp 2017-12-08T02:00:48Z Xal joined #lisp 2017-12-08T02:04:14Z circ-user-jCPZY joined #lisp 2017-12-08T02:07:14Z jack_rabbit joined #lisp 2017-12-08T02:09:12Z lrvy quit (Quit: Textual IRC Client: www.textualapp.com) 2017-12-08T02:10:51Z lrvy joined #lisp 2017-12-08T02:14:00Z fikka joined #lisp 2017-12-08T02:18:41Z fikka quit (Ping timeout: 260 seconds) 2017-12-08T02:19:25Z drmeister: Devon: Thank you. 2017-12-08T02:20:07Z drmeister: I figured out my problem. I'm profiling our own code (Clasp Common Lisp) and I needed to start and stop profiling for a particular function. 2017-12-08T02:20:15Z jack_rabbit quit (Ping timeout: 248 seconds) 2017-12-08T02:20:28Z drmeister: I think I should buy the dtrace book. 2017-12-08T02:20:51Z drmeister: This is what I ended up doing. 2017-12-08T02:20:52Z drmeister: https://www.irccloud.com/pastebin/PwY0ggJt/ 2017-12-08T02:21:05Z drmeister: That generated this: 2017-12-08T02:21:17Z drmeister: https://usercontent.irccloud-cdn.com/file/hA4zAt1b/out-flame.svg 2017-12-08T02:22:24Z drmeister: That says that 86% of the time is being spent in LLVM. 2017-12-08T02:22:56Z drmeister: It's pretty clear that I have been undercounting the amount of time that Clasp spends running LLVM 2017-12-08T02:24:11Z philosaur joined #lisp 2017-12-08T02:26:44Z d4ryus1 joined #lisp 2017-12-08T02:27:38Z __rumbler31 joined #lisp 2017-12-08T02:29:53Z d4ryus quit (Ping timeout: 248 seconds) 2017-12-08T02:32:01Z __rumbler31 quit (Ping timeout: 248 seconds) 2017-12-08T02:34:06Z mejja quit (Quit: mejja) 2017-12-08T02:35:27Z Bike: how did that happen? 2017-12-08T02:37:48Z jack_rabbit joined #lisp 2017-12-08T02:39:46Z dmiles: stylewarning: btw, great pros/cons on languages 2017-12-08T02:40:22Z damke quit (Ping timeout: 252 seconds) 2017-12-08T02:41:22Z damke joined #lisp 2017-12-08T02:44:26Z Karl_Dscc joined #lisp 2017-12-08T02:47:48Z vir` joined #lisp 2017-12-08T02:49:12Z shenghi quit (Remote host closed the connection) 2017-12-08T02:49:29Z shenghi joined #lisp 2017-12-08T02:53:46Z smurfrobot joined #lisp 2017-12-08T02:55:51Z vir` quit (Remote host closed the connection) 2017-12-08T02:56:15Z vir` joined #lisp 2017-12-08T02:56:33Z Devon joined #lisp 2017-12-08T02:57:26Z vir` quit (Client Quit) 2017-12-08T02:58:07Z smurfrobot quit (Ping timeout: 248 seconds) 2017-12-08T02:59:53Z nowhere_man quit (Ping timeout: 255 seconds) 2017-12-08T03:01:28Z nowhere_man joined #lisp 2017-12-08T03:04:01Z damke_ joined #lisp 2017-12-08T03:04:15Z hooman: ,clhs defvar 2017-12-08T03:05:21Z damke quit (Ping timeout: 240 seconds) 2017-12-08T03:07:57Z fikka joined #lisp 2017-12-08T03:13:05Z fikka quit (Ping timeout: 240 seconds) 2017-12-08T03:13:25Z stylewarning: dmiles: ty 2017-12-08T03:15:05Z circ-user-jCPZY quit (Ping timeout: 240 seconds) 2017-12-08T03:15:16Z Kundry_W` quit (Ping timeout: 260 seconds) 2017-12-08T03:18:40Z dieggsy joined #lisp 2017-12-08T03:19:15Z Bike: clhs defvar 2017-12-08T03:19:15Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_defpar.htm 2017-12-08T03:20:24Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-08T03:20:49Z karswell_ joined #lisp 2017-12-08T03:21:11Z pjb quit (Ping timeout: 240 seconds) 2017-12-08T03:23:03Z hydan quit (Quit: Connection closed for inactivity) 2017-12-08T03:23:05Z karswell quit (Ping timeout: 255 seconds) 2017-12-08T03:24:33Z dddddd quit (Remote host closed the connection) 2017-12-08T03:26:45Z test1600 joined #lisp 2017-12-08T03:28:05Z Karl_Dscc quit (Remote host closed the connection) 2017-12-08T03:30:29Z hooman: thanks Bike ! it just bit my ankle that (defvar x) leaves 'x unbound ^_^/ 2017-12-08T03:31:03Z hooman was trying to save 4 bytes 2017-12-08T03:36:03Z sjl joined #lisp 2017-12-08T03:40:15Z sjl quit (Ping timeout: 248 seconds) 2017-12-08T03:47:48Z igemnace quit (Quit: WeeChat 2.0) 2017-12-08T03:48:02Z igemnace joined #lisp 2017-12-08T03:48:39Z pjb joined #lisp 2017-12-08T03:51:39Z red-dot joined #lisp 2017-12-08T03:56:14Z jack_rabbit quit (Read error: Connection reset by peer) 2017-12-08T03:58:35Z lrvy quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-08T04:00:43Z shka joined #lisp 2017-12-08T04:02:33Z fikka joined #lisp 2017-12-08T04:05:11Z lrvy joined #lisp 2017-12-08T04:09:11Z fikka quit (Ping timeout: 255 seconds) 2017-12-08T04:10:58Z Kundry_W` joined #lisp 2017-12-08T04:13:16Z jack_rabbit joined #lisp 2017-12-08T04:16:17Z hooman: clim-debugger is great, shows down to the cons (!), available on quicklisp. 2017-12-08T04:16:32Z Kundry_W` quit (Ping timeout: 240 seconds) 2017-12-08T04:16:59Z loke: hooman: The SLIME debugger does that too, and more. 2017-12-08T04:17:36Z loke: hooman: The neat things about CLIM is its ability to mix graphical representations of objects with text. 2017-12-08T04:18:27Z omilu joined #lisp 2017-12-08T04:21:16Z hooman: loke: ah really? i was just clicking, because ive never debugged lisp before, and i was clicking into cons cells and arrows were pointing at stuff etc 2017-12-08T04:21:40Z loke: Yes. Are you not using SLIME? 2017-12-08T04:21:54Z hooman: i am using slime yes 2017-12-08T04:21:56Z cromachina joined #lisp 2017-12-08T04:23:06Z hooman: but i am also having the issue with graphics , from common lisp to the screen, it is not a good time with SDL =) 2017-12-08T04:23:07Z loke: hooman: Then type an expression that returns a value, say (list 1 2 (cons 3 4) 5)) press RET and you should see the resulting list in red in the REPL. Then move the cursor to the result and press C-c C-v TAB 2017-12-08T04:23:20Z hooman: i will try to play around with clim-listener as well and see if it could animate some things 2017-12-08T04:23:26Z loke: that opens the SLIME inspector for that value. 2017-12-08T04:24:28Z hooman: loke: ah cool! 2017-12-08T04:24:35Z schoppenhauer quit (Ping timeout: 240 seconds) 2017-12-08T04:24:38Z Bike quit (Quit: Lost terminal) 2017-12-08T04:26:44Z eli quit (Ping timeout: 255 seconds) 2017-12-08T04:26:45Z schoppenhauer joined #lisp 2017-12-08T04:31:03Z pierpa quit (Quit: Page closed) 2017-12-08T04:33:29Z whoman quit (Remote host closed the connection) 2017-12-08T04:33:29Z hooman quit (Remote host closed the connection) 2017-12-08T04:36:20Z whoman joined #lisp 2017-12-08T04:36:28Z beach: Good morning everyone! 2017-12-08T04:36:55Z whoman: good morning 2017-12-08T04:37:48Z test1600_ joined #lisp 2017-12-08T04:41:01Z test1600 quit (Ping timeout: 260 seconds) 2017-12-08T04:48:17Z shka: beach: good morning 2017-12-08T05:01:56Z parjanya joined #lisp 2017-12-08T05:03:26Z parjanya: hi! how can "print" a standard-char as a simple string? like (print #\a) returning just "a"? 2017-12-08T05:04:44Z shka: parjanya: i would use format 2017-12-08T05:05:00Z shka: (format nil "~a" #\a) 2017-12-08T05:05:56Z karswell_ quit (Read error: No route to host) 2017-12-08T05:06:31Z parjanya: shka: ah, thank you! :) weird, I tried something similar and it didn’t work 2017-12-08T05:09:31Z vertigo quit (Ping timeout: 240 seconds) 2017-12-08T05:10:06Z SlowJimm` joined #lisp 2017-12-08T05:12:38Z dieggsy quit (Ping timeout: 255 seconds) 2017-12-08T05:13:35Z SlowJimmy quit (Ping timeout: 248 seconds) 2017-12-08T05:22:12Z vertigo joined #lisp 2017-12-08T05:24:10Z stylewarning: parjanya: (string #\a) 2017-12-08T05:26:28Z myrkraverk: What is the simplest way to print carriage-return in Lisp? To make an auto-updating status in a terminal, thing. 2017-12-08T05:26:59Z SaganMan joined #lisp 2017-12-08T05:27:26Z beach: (princ #\Return) I would think. No? 2017-12-08T05:28:11Z myrkraverk: Probably. 2017-12-08T05:30:02Z SaganMan: Morning everyone 2017-12-08T05:30:18Z beach: Hello SaganMan. 2017-12-08T05:50:20Z fikka joined #lisp 2017-12-08T05:51:15Z pjb quit (Ping timeout: 250 seconds) 2017-12-08T05:54:57Z fikka quit (Ping timeout: 240 seconds) 2017-12-08T06:00:14Z damke_ quit (Read error: Connection reset by peer) 2017-12-08T06:01:02Z damke_ joined #lisp 2017-12-08T06:07:45Z circ-user-jCPZY joined #lisp 2017-12-08T06:08:31Z circ-user-jCPZY quit (Remote host closed the connection) 2017-12-08T06:09:33Z safe quit (Quit: Leaving) 2017-12-08T06:16:55Z zmt00 quit (Quit: Leaving) 2017-12-08T06:17:37Z nowhere_man quit (Ping timeout: 248 seconds) 2017-12-08T06:18:26Z nowhere_man joined #lisp 2017-12-08T06:21:26Z LocaMocha joined #lisp 2017-12-08T06:27:11Z drcode quit (Ping timeout: 248 seconds) 2017-12-08T06:28:14Z hvxgr quit (Ping timeout: 255 seconds) 2017-12-08T06:28:33Z mishoo joined #lisp 2017-12-08T06:29:00Z zooey quit (Ping timeout: 248 seconds) 2017-12-08T06:29:24Z hvxgr joined #lisp 2017-12-08T06:29:50Z drcode joined #lisp 2017-12-08T06:31:59Z antismap quit (Ping timeout: 248 seconds) 2017-12-08T06:32:00Z zooey joined #lisp 2017-12-08T06:34:34Z oleo quit (Quit: Leaving) 2017-12-08T06:37:14Z BitPuffin|osx joined #lisp 2017-12-08T06:44:46Z fikka joined #lisp 2017-12-08T06:45:03Z neoncontrails quit (Remote host closed the connection) 2017-12-08T06:45:33Z neoncontrails joined #lisp 2017-12-08T06:49:23Z fikka quit (Ping timeout: 255 seconds) 2017-12-08T06:49:52Z neoncontrails quit (Ping timeout: 240 seconds) 2017-12-08T06:58:25Z greaser|q quit (Changing host) 2017-12-08T06:58:25Z greaser|q joined #lisp 2017-12-08T06:58:27Z greaser|q is now known as GreaseMonkey 2017-12-08T07:00:10Z dec0n joined #lisp 2017-12-08T07:06:30Z Lord_of_Life quit (Ping timeout: 246 seconds) 2017-12-08T07:06:30Z drmeister quit (Ping timeout: 246 seconds) 2017-12-08T07:07:26Z marusich quit (Quit: Leaving) 2017-12-08T07:07:39Z lonjil quit (Quit: No Ping reply in 180 seconds.) 2017-12-08T07:07:48Z drmeister joined #lisp 2017-12-08T07:07:49Z birk joined #lisp 2017-12-08T07:07:54Z dim quit (Ping timeout: 246 seconds) 2017-12-08T07:08:15Z itruslove quit (Ping timeout: 246 seconds) 2017-12-08T07:08:15Z MerinoBailon quit (Ping timeout: 246 seconds) 2017-12-08T07:08:15Z abbe quit (Ping timeout: 246 seconds) 2017-12-08T07:08:15Z sveit quit (Ping timeout: 246 seconds) 2017-12-08T07:08:38Z SlowJimm` quit (Read error: Connection reset by peer) 2017-12-08T07:08:57Z hdurer[m] quit (Ping timeout: 246 seconds) 2017-12-08T07:08:57Z Sovereign_Bleak quit (Ping timeout: 246 seconds) 2017-12-08T07:08:57Z GGMethos quit (Ping timeout: 246 seconds) 2017-12-08T07:08:58Z gko quit (Ping timeout: 246 seconds) 2017-12-08T07:09:18Z happy_gnu[m] quit (Ping timeout: 246 seconds) 2017-12-08T07:09:18Z pchrist quit (Ping timeout: 246 seconds) 2017-12-08T07:10:08Z vlatkoB joined #lisp 2017-12-08T07:10:23Z GGMethos joined #lisp 2017-12-08T07:10:32Z Guest24518 quit (Ping timeout: 276 seconds) 2017-12-08T07:10:33Z abbe joined #lisp 2017-12-08T07:10:38Z pchrist joined #lisp 2017-12-08T07:11:21Z smurfrobot joined #lisp 2017-12-08T07:11:22Z bailon joined #lisp 2017-12-08T07:11:26Z sveit joined #lisp 2017-12-08T07:12:04Z sjl joined #lisp 2017-12-08T07:12:46Z gko joined #lisp 2017-12-08T07:13:15Z itruslove joined #lisp 2017-12-08T07:13:29Z Lord_of_Life joined #lisp 2017-12-08T07:13:34Z dim joined #lisp 2017-12-08T07:14:08Z neoncontrails joined #lisp 2017-12-08T07:14:28Z plll[m] quit (Ping timeout: 250 seconds) 2017-12-08T07:14:28Z astronavt[m] quit (Ping timeout: 250 seconds) 2017-12-08T07:14:29Z Guest49954 quit (Ping timeout: 255 seconds) 2017-12-08T07:14:32Z RichardPaulBck[m quit (Ping timeout: 240 seconds) 2017-12-08T07:14:32Z Guest72603 quit (Ping timeout: 240 seconds) 2017-12-08T07:14:50Z dahs81[m] quit (Ping timeout: 252 seconds) 2017-12-08T07:14:51Z mhitchman[m] quit (Ping timeout: 255 seconds) 2017-12-08T07:14:52Z ArthurAGleckler[ quit (Ping timeout: 240 seconds) 2017-12-08T07:14:53Z thorondor[m] quit (Ping timeout: 250 seconds) 2017-12-08T07:14:56Z akr quit (Ping timeout: 255 seconds) 2017-12-08T07:15:08Z trigt[m] quit (Ping timeout: 240 seconds) 2017-12-08T07:15:18Z kammd[m] quit (Ping timeout: 255 seconds) 2017-12-08T07:15:18Z equalunique[m] quit (Ping timeout: 255 seconds) 2017-12-08T07:15:19Z hiq[m] quit (Ping timeout: 250 seconds) 2017-12-08T07:15:22Z l04m33[m] quit (Ping timeout: 264 seconds) 2017-12-08T07:15:23Z dirb quit (Ping timeout: 252 seconds) 2017-12-08T07:15:23Z Jach[m] quit (Ping timeout: 255 seconds) 2017-12-08T07:15:23Z cryptomarauder[m quit (Ping timeout: 255 seconds) 2017-12-08T07:15:23Z CharlieBrown quit (Ping timeout: 255 seconds) 2017-12-08T07:15:27Z smurfrobot quit (Ping timeout: 240 seconds) 2017-12-08T07:16:35Z sjl quit (Ping timeout: 240 seconds) 2017-12-08T07:17:47Z whoman quit (Read error: Connection reset by peer) 2017-12-08T07:19:14Z sz0 joined #lisp 2017-12-08T07:27:42Z jameser joined #lisp 2017-12-08T07:29:38Z flamebeard joined #lisp 2017-12-08T07:30:51Z itruslove quit (Remote host closed the connection) 2017-12-08T07:30:51Z giraffe quit (Remote host closed the connection) 2017-12-08T07:32:19Z Shinmera: Ugh, looks like ASDF 3.3.1 breaks yet another one of my projects in a subtle way 2017-12-08T07:33:21Z scymtym quit (Ping timeout: 240 seconds) 2017-12-08T07:39:35Z raphaelss quit (Remote host closed the connection) 2017-12-08T07:40:50Z whoman joined #lisp 2017-12-08T07:41:06Z itruslove joined #lisp 2017-12-08T07:43:09Z orivej joined #lisp 2017-12-08T07:44:11Z nowhere_man quit (Ping timeout: 260 seconds) 2017-12-08T07:45:31Z nowhere_man joined #lisp 2017-12-08T07:45:37Z giraffe joined #lisp 2017-12-08T07:49:17Z dtornabene joined #lisp 2017-12-08T07:53:22Z earl-ducaine quit (Read error: Connection reset by peer) 2017-12-08T07:55:48Z smurfrobot joined #lisp 2017-12-08T07:56:10Z Cymew joined #lisp 2017-12-08T07:56:15Z varjag joined #lisp 2017-12-08T07:56:48Z pjb joined #lisp 2017-12-08T08:00:11Z smurfrobot quit (Ping timeout: 240 seconds) 2017-12-08T08:03:36Z fikka joined #lisp 2017-12-08T08:08:15Z rjid joined #lisp 2017-12-08T08:09:37Z knobo joined #lisp 2017-12-08T08:11:41Z hajovonta joined #lisp 2017-12-08T08:13:01Z hajovonta: good morning! 2017-12-08T08:15:06Z dddddd joined #lisp 2017-12-08T08:15:35Z smurfrobot joined #lisp 2017-12-08T08:18:14Z nika_ joined #lisp 2017-12-08T08:18:57Z quazimodo quit (Ping timeout: 246 seconds) 2017-12-08T08:20:09Z rjid quit (Ping timeout: 260 seconds) 2017-12-08T08:20:44Z smurfrobot quit (Ping timeout: 276 seconds) 2017-12-08T08:27:24Z hajovonta quit (Remote host closed the connection) 2017-12-08T08:27:52Z hajovonta1 joined #lisp 2017-12-08T08:29:15Z smurfrobot joined #lisp 2017-12-08T08:30:16Z hajovonta1 is now known as hajovonta 2017-12-08T08:32:50Z shrdlu68 joined #lisp 2017-12-08T08:33:27Z neoncontrails quit (Ping timeout: 240 seconds) 2017-12-08T08:34:43Z beach: Hello hajovonta. 2017-12-08T08:35:46Z kark joined #lisp 2017-12-08T08:39:35Z smurfrobot quit (Remote host closed the connection) 2017-12-08T08:40:15Z smurfrobot joined #lisp 2017-12-08T08:40:27Z resttime joined #lisp 2017-12-08T08:45:47Z Jen joined #lisp 2017-12-08T08:46:30Z Jen is now known as Guest74955 2017-12-08T08:46:37Z murii joined #lisp 2017-12-08T08:46:51Z smurfrobot quit (Remote host closed the connection) 2017-12-08T08:47:48Z jameser quit (Quit: Textual IRC Client: www.textualapp.com) 2017-12-08T08:48:57Z SuperJen quit (Ping timeout: 240 seconds) 2017-12-08T08:51:46Z smurfrobot joined #lisp 2017-12-08T08:53:40Z scymtym joined #lisp 2017-12-08T08:58:01Z Guest74955 quit (Remote host closed the connection) 2017-12-08T08:58:18Z Guest74955 joined #lisp 2017-12-08T08:58:22Z shrdlu68: I'm using a ramfs file system as an octet vector and the speeds seem to be slow. 2017-12-08T08:58:51Z knobo quit (Ping timeout: 246 seconds) 2017-12-08T08:59:07Z shrdlu68: I'm using #'file-position to go to :start and :end. 2017-12-08T09:01:06Z knobo joined #lisp 2017-12-08T09:01:34Z shrdlu68: I need a really huge octet vector and using sbcl with --dynamic-space-size seems to use swap and gobble up so much memory the system becomes unresponsive. 2017-12-08T09:03:24Z itruslove quit (Ping timeout: 246 seconds) 2017-12-08T09:04:02Z |3b|: how huge / how much ram is available? 2017-12-08T09:05:58Z |3b|: and do you need to be able to use normal CL vector ops on it? (guessing not if you can replace it with file ops) 2017-12-08T09:06:45Z itruslove joined #lisp 2017-12-08T09:07:56Z shrdlu68: |3b|: I need 309319296 x 40 bits, which I think should use around 1.5GB. 2017-12-08T09:08:02Z shrdlu68: The system has 8GB of RAM. 2017-12-08T09:08:47Z schweers: that sounds like --dynamic-space-size and a regular vector or array should do the job 2017-12-08T09:08:56Z schweers: how much ram is in use? 2017-12-08T09:09:08Z |3b|: by N x 40 bits you mean you need that many values with at least that many bits? or a n*40 bitvector? 2017-12-08T09:09:41Z mson quit (Quit: Connection closed for inactivity) 2017-12-08T09:09:41Z shrdlu68: 40 bits n times. 2017-12-08T09:10:49Z shrdlu68: Perhaps the mistake I made was to create an n-size array of elements each an array of 40bits (5 octets) rather than just one octet vector. 2017-12-08T09:11:08Z raphaelss joined #lisp 2017-12-08T09:11:11Z |3b|: yeah, that sounds like a bad idea 2017-12-08T09:11:34Z |3b|: a 5 octet vector probably adds more overhead than contents 2017-12-08T09:12:02Z |3b|: (on 64 bit lisp, the pointer pointing to it is probably 8 bytes by itself, not including the actual array headers etc) 2017-12-08T09:12:29Z shrdlu68: Yikes, explains why it just kept gobbling up memory and not stoping. 2017-12-08T09:12:59Z smurfrobot quit (Remote host closed the connection) 2017-12-08T09:13:03Z |3b| would be surprised if the headers for each array were less than 16 bytes 2017-12-08T09:13:17Z |3b|: and not surprised by 2-3x that much 2017-12-08T09:14:12Z |3b|: also, you are using types arrays for the octets, right? :element-type '(unsigned-byte 8) 2017-12-08T09:14:44Z shrdlu68: Yes. 2017-12-08T09:14:46Z schweers quit (Read error: Connection reset by peer) 2017-12-08T09:15:00Z shrdlu68: Let me try with this new insight. 2017-12-08T09:15:03Z schweers joined #lisp 2017-12-08T09:15:30Z |3b|: yeah, single flat vector of octets should fit in 8GB 2017-12-08T09:16:41Z smurfrobot joined #lisp 2017-12-08T09:17:07Z lrvy quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-08T09:18:02Z lrvy joined #lisp 2017-12-08T09:19:51Z akr joined #lisp 2017-12-08T09:20:04Z sz0 quit (Quit: Connection closed for inactivity) 2017-12-08T09:22:07Z nirved joined #lisp 2017-12-08T09:22:53Z hydan joined #lisp 2017-12-08T09:24:41Z |3b|: yeah, 309319296 x 5-element octet vectors uses ~12GB, (* 5 309319296) element octet vector uses ~1.6GB 2017-12-08T09:25:15Z dmiles: do some lisps set a symbol that reflects what flags are on for eval-when macro ? 2017-12-08T09:26:14Z dmiles: i am abvout to for my lisp but i dislike making up names for this special var 2017-12-08T09:28:15Z beach: I set *COMPILER* to be either EVAL, COMPILE, or COMPILE-FILE. But I am not sure that's the best solution. 2017-12-08T09:29:01Z dmiles: is it set :execute the rest of the time? 2017-12-08T09:29:28Z dmiles: oops n/m :EVAL the rest of them? 2017-12-08T09:30:21Z beach: I guess so. 2017-12-08T09:31:23Z |3b|: for first case, looks like ~2.4GB is the 8-byte pointers in the big array, 9.9GB is the 5-element arrays, so about 32 bytes per 5-octet array (i'm guessing 24 bytes of header + 3 bytes of padding to round data up to a whole word of space) 2017-12-08T09:32:06Z birk is now known as lonjil 2017-12-08T09:32:06Z wooden quit (Ping timeout: 260 seconds) 2017-12-08T09:35:05Z dmiles: would (eval-when (:load-toplevel :compile-toplevel :execute) .. ) ever be untrue? 2017-12-08T09:35:38Z dmiles assumes these are ORed 2017-12-08T09:36:35Z happy_gnu[m] joined #lisp 2017-12-08T09:36:36Z Guest3886 joined #lisp 2017-12-08T09:36:36Z Sovereign_Bleak joined #lisp 2017-12-08T09:36:36Z Jach[m] joined #lisp 2017-12-08T09:36:36Z dirb joined #lisp 2017-12-08T09:36:36Z thorondor[m] joined #lisp 2017-12-08T09:36:36Z Guest55636 joined #lisp 2017-12-08T09:36:36Z l04m33[m] joined #lisp 2017-12-08T09:36:36Z kammd[m] joined #lisp 2017-12-08T09:36:36Z cryptomarauder[m joined #lisp 2017-12-08T09:36:36Z CharlieBrown joined #lisp 2017-12-08T09:36:36Z equalunique[m] joined #lisp 2017-12-08T09:36:36Z RichardPaulBck[m joined #lisp 2017-12-08T09:36:36Z astronavt[m] joined #lisp 2017-12-08T09:36:36Z dahs81[m] joined #lisp 2017-12-08T09:36:36Z hdurer[m] joined #lisp 2017-12-08T09:36:36Z hiq[m] joined #lisp 2017-12-08T09:36:37Z ArthurAGleckler[ joined #lisp 2017-12-08T09:36:37Z plll[m] joined #lisp 2017-12-08T09:36:43Z mhitchman[m] joined #lisp 2017-12-08T09:36:43Z trigt[m] joined #lisp 2017-12-08T09:37:53Z beach: dmiles: It is not a Boolean expression. It has to do with calling or not calling EVAL at compile-time, and generating or not generating code to be run at load time. 2017-12-08T09:38:30Z shrdlu68 quit (Read error: No route to host) 2017-12-08T09:39:28Z shrdlu68 joined #lisp 2017-12-08T09:40:55Z dmiles: it does mean though if :eval :compile or :compile-file in your case are found in *COMPILER* then to treat the code as there 2017-12-08T09:41:02Z dmiles: +? 2017-12-08T09:42:25Z beach: clhs 3.2.3.1 2017-12-08T09:42:25Z specbot: Processing of Top Level Forms: http://www.lispworks.com/reference/HyperSpec/Body/03_bca.htm 2017-12-08T09:42:43Z beach: That ↑ is what I do. 2017-12-08T09:43:12Z dmiles: perfect 2017-12-08T09:43:51Z beach: dmiles: When implementing a Common Lisp system, if you have a choice between doing it according to the Common Lisp HyperSpec and not doing it according to the Common Lisp HyperSpec, the first choice is always the best. 2017-12-08T09:44:14Z shrdlu68: |3b|: Didn't work, it was still gobling up memory for some reason, I've switched to CCL. 2017-12-08T09:44:29Z dmiles: i was reading eval-when and wasnt completely sure.. most of the time i match the examples 2017-12-08T09:44:59Z dmiles: (from the clhs) 2017-12-08T09:45:56Z beach: The Common Lisp HyperSpec examples are not normative, though, and they sometimes contain errors. 2017-12-08T09:46:58Z |3b|: shrdlu68: sounds like a reasonable workaround if it works :) 2017-12-08T09:47:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-08T09:47:03Z dmiles: too bad http://www.lispworks.com/documentation/HyperSpec/Body/s_eval_w.htm#eval-when doesnt like the 3.2.3.1 section 2017-12-08T09:47:17Z dmiles: like/link 2017-12-08T09:48:11Z smurfrobot quit (Remote host closed the connection) 2017-12-08T09:49:02Z smurfrobot joined #lisp 2017-12-08T09:49:30Z damke_ joined #lisp 2017-12-08T09:52:56Z pjb: shrdlu68: syscalls are way slower than function calls, which themselves are slower than inline native instructions to index an array. 2017-12-08T09:54:47Z pjb: dmiles: wfm http://www.lispworks.com/documentation/HyperSpec/Body/03_bca.htm 2017-12-08T09:55:17Z kark quit (Quit: Lost terminal) 2017-12-08T09:57:23Z dmiles: yep works for me to.. i was complaining that the eval-when page has great usefull links but everywhere but that page :P .. to have gotten there I would have had to stop at the top-level-forms glossary page first.. which then links to that page 2017-12-08T09:57:57Z shenghi quit (Remote host closed the connection) 2017-12-08T09:58:10Z shenghi joined #lisp 2017-12-08T10:03:18Z schweers: dmiles: you’re implementing your own common lisp? for fun and education, or do you think you can do better than those implementations that are already out there? 2017-12-08T10:06:11Z pjb: schweers: he can do different, not necessarily better. 2017-12-08T10:06:17Z pjb: We want different implementations. 2017-12-08T10:06:20Z quazimodo joined #lisp 2017-12-08T10:06:34Z hajovonta: diversity is king 2017-12-08T10:06:36Z dmiles: i mostly hope i can do as good as the top 40%.. i am writting it in Prolog for a few reasons.. one is to prove prolog is a general purpose programming language that makes things like creating lisp impls ultra easy. we already know it makes lisp interpretors in less lines than any other language.. but what i am interested in if it can do "as well" 2017-12-08T10:06:39Z pjb: If they were just better, we'd just use the best and be done with it. 2017-12-08T10:07:13Z schweers: ok, better in some respect ;) 2017-12-08T10:07:21Z schweers: dmiles: sounds cool :) 2017-12-08T10:07:38Z schweers has to admit to never having gotten around to learn prolog 2017-12-08T10:07:43Z shrdlu68: sounds like fun. 2017-12-08T10:07:52Z Jesin quit (Ping timeout: 240 seconds) 2017-12-08T10:07:58Z schweers: dmiles: do you generate native code? 2017-12-08T10:08:13Z sjl joined #lisp 2017-12-08T10:08:15Z dmiles: i generate protable prolog source code (liek a transpiler) 2017-12-08T10:08:32Z shrdlu68: dmiles: Is the code public yet? 2017-12-08T10:08:48Z dmiles: so the prolog sources can at the repl be evaluated or if its done in compile-file it can be compiled 2017-12-08T10:08:51Z momofarm quit (Ping timeout: 260 seconds) 2017-12-08T10:08:52Z schweers: are there (somewhat) good prolog native code compilers? 2017-12-08T10:09:05Z smurfrobot quit (Remote host closed the connection) 2017-12-08T10:09:42Z dmiles: there are good and less developed prolog compilers for differnt platforms .. in several langauges 2017-12-08T10:10:04Z schweers: out of curiosity: which implementation(s) do you use? 2017-12-08T10:10:20Z knobo quit (Ping timeout: 255 seconds) 2017-12-08T10:10:22Z dmiles: SWI-Prolog, Sicstus, Yap 2017-12-08T10:10:55Z dmiles: (oh of prolgo compiler interpretors) 2017-12-08T10:11:53Z eSVG quit (Ping timeout: 276 seconds) 2017-12-08T10:12:06Z dmiles: source code shrdlu68 is at https://github.com/TeamSPoon/wam_common_lisp/tree/master/prolog/wam_cl 2017-12-08T10:12:17Z dmiles: this file https://github.com/TeamSPoon/wam_common_lisp/blob/master/prolog/wam_cl/sanity-test.lisp translated to this file: https://github.com/TeamSPoon/wam_common_lisp/blob/master/prolog/wam_cl/sanity-test.lisp.trans.pl 2017-12-08T10:12:29Z knobo joined #lisp 2017-12-08T10:12:49Z sjl quit (Ping timeout: 248 seconds) 2017-12-08T10:12:53Z raphaelss quit (Remote host closed the connection) 2017-12-08T10:13:35Z dmiles: the lisp_compile_to_prolog(pkg,..) is there more informationally like: https://github.com/TeamSPoon/wam_common_lisp/blob/master/prolog/wam_cl/sanity-test.lisp.trans.pl#L44-L59 2017-12-08T10:13:59Z dmiles: to gert the symbols interned 2017-12-08T10:14:28Z Tobbi_ joined #lisp 2017-12-08T10:15:07Z dmiles: and to get the symbols interned ( packaged ) so the prolog code at https://github.com/TeamSPoon/wam_common_lisp/blob/master/prolog/wam_cl/sanity-test.lisp.trans.pl#L74-L88 can be understood 2017-12-08T10:15:55Z Sigyn quit (Quit: NO HEARTBEAT, NO SERVICE.) 2017-12-08T10:16:37Z Sigyn joined #lisp 2017-12-08T10:18:09Z dmiles: to give an example of *normal* implementing of lisp in prolog, it looks like this: https://www.metalevel.at/lisprolog/lisprolog.pl 2017-12-08T10:18:31Z Arcaelyx quit (Ping timeout: 252 seconds) 2017-12-08T10:18:33Z dmiles: (thats a reader and evaluator both) 2017-12-08T10:20:22Z shrdlu68 quit (Ping timeout: 268 seconds) 2017-12-08T10:20:58Z shrdlu68 joined #lisp 2017-12-08T10:21:00Z Arcaelyx joined #lisp 2017-12-08T10:21:28Z dmiles: so bonuses of the prolog system is it already has a decompiler, exe/dll maker, image load/save 2017-12-08T10:22:34Z dmiles: the drawbacks is the number developer that think implementing object systems on prolog as to be easy 2017-12-08T10:22:50Z schweers: how so? 2017-12-08T10:23:00Z dmiles: developers* maybe 10 worldwide would call such a thing easy 2017-12-08T10:23:15Z schweers: ah 2017-12-08T10:23:38Z dmiles: though 10,000 probalby have no problem if they bothered to try 2017-12-08T10:24:07Z schweers: I have no idea how many people can read and write prolog code 2017-12-08T10:24:40Z dmiles: everyone that gets to or past phD level in computer science is forced into at least 2 miserable weeks of leanring proliog 2017-12-08T10:25:16Z schweers: sorry if this sounds really stupid (I don’t have a PhD), but ... why? 2017-12-08T10:25:24Z rann quit 2017-12-08T10:25:36Z jackdaniel: we had prolog course on second year at uni 2017-12-08T10:25:36Z dmiles: they come away as much mythology as people would with lisp unfortiantly 2017-12-08T10:25:39Z jackdaniel: very cool language 2017-12-08T10:25:58Z jackdaniel: which broads programming perspectives 2017-12-08T10:26:01Z rann joined #lisp 2017-12-08T10:26:15Z schweers: I mean, why do people aspiring to this level /have/ to learn prolog? 2017-12-08T10:26:42Z schweers: jackdaniel: I imagine that to be the case, which is why I can see myself learning the language some day 2017-12-08T10:26:44Z jackdaniel: I suppose they are required to know at least some important programming paradigms 2017-12-08T10:26:49Z dmiles: jackdaniel: did they require lisp at some points to? 2017-12-08T10:26:53Z schweers: along with a few other languages 2017-12-08T10:27:13Z shrdlu68 quit (Ping timeout: 248 seconds) 2017-12-08T10:27:27Z jackdaniel: they did not 2017-12-08T10:27:40Z jackdaniel: but I've made AI scientific club and introduced Lisp there 2017-12-08T10:28:22Z lrvy quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-08T10:29:36Z Tobbi_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-08T10:30:07Z schweers: dmiles, jackdaniel: do you think free prolog implementations of today are usable or real world applications? Or is the language as it is today “only” useful to broaden the mind? Which would be totally fine if you ask me, that is still a very good reason to learn a language. 2017-12-08T10:31:07Z dmiles: definately very good for todays applications.. i think even more for future applications.. I have two applications that i would not even immagine using anthing other than prolog 2017-12-08T10:31:22Z schweers: on the other hand: if it were not, I guess you wouldn’t be writing a lisp implementation in it ;) 2017-12-08T10:31:35Z schweers: oh, including lisp? 2017-12-08T10:31:36Z dmiles: other then making a prolog-in-lisp (as most people end up) in my case 2017-12-08T10:32:28Z jackdaniel: I didn't use prolog outside this uni course 2017-12-08T10:32:34Z jackdaniel: I did like the easter egg though 2017-12-08T10:32:37Z dmiles: so i immagine 95% of the world would use lisp for such apps and make a prolog interpretor but leverage the inteire lisp ecosystem 2017-12-08T10:32:41Z jackdaniel: X=Y was that I think 2017-12-08T10:33:50Z dmiles: easter egg? https://pastebin.com/xkfKHEyT 2017-12-08T10:34:20Z jackdaniel: right, this one 2017-12-08T10:37:15Z dmiles: those applicaitons: a general purpose problem solver/simulator that can learn and be taught 2017-12-08T10:37:53Z smurfrobot joined #lisp 2017-12-08T10:38:38Z dtornabene quit (Remote host closed the connection) 2017-12-08T10:38:57Z dmiles: and can make further applications for running on computers that are based on what it learns from the previous 2017-12-08T10:40:17Z jackdaniel: hm, interesting perspective 2017-12-08T10:40:19Z dmiles: if one knew exactly how that was supposed to work.. lisp and prolog would be most natrual choices at that point 2017-12-08T10:42:39Z smurfrobot quit (Ping timeout: 248 seconds) 2017-12-08T10:43:06Z dmiles: neitehr languages are going to have what you need built.. what they offer is one the ability to design top down 2017-12-08T10:45:37Z dmiles: (well that they make *extreme* abstraction simple) 2017-12-08T10:46:23Z smurfrobot joined #lisp 2017-12-08T10:46:23Z varjag: the original problem with prolog was it doesn't scale up to real world problems 2017-12-08T10:46:28Z varjag: combinatorial explosion 2017-12-08T10:46:39Z varjag: so they introduced pruning 2017-12-08T10:46:53Z varjag: which detracts a lot from the original point of the language 2017-12-08T10:47:23Z test1600_ quit (Quit: Leaving) 2017-12-08T10:48:31Z fikka quit (Ping timeout: 250 seconds) 2017-12-08T10:49:21Z Devon quit (Ping timeout: 268 seconds) 2017-12-08T10:49:55Z dmiles: a huge project CYC made a prolog-like-system-in-lisp ... writting in their language has shown me incredicable ammounts of untility that prolog as a language is afraid to adopt 2017-12-08T10:50:06Z dmiles: utility* 2017-12-08T10:50:16Z otwieracz: Hi! 2017-12-08T10:50:23Z shrdlu68 joined #lisp 2017-12-08T10:50:32Z jackdaniel: hello o/ 2017-12-08T10:50:35Z otwieracz: I've got some weird pthreads/bordeaux-threads/maybe-lparallel related issue https://gist.github.com/otwieracz/d88dfc0d8b726f2610dda310e2b1e406 2017-12-08T10:50:39Z otwieracz: Oh, hi jackdaniel. 2017-12-08T10:50:44Z otwieracz: Seems like you're going to work today. ;) 2017-12-08T10:50:45Z dmiles: i suppose one would come to the same place with OntologyWorks or PowerLOOM 2017-12-08T10:51:01Z jackdaniel: otwieracz: yes, on threads- but in ECL 2017-12-08T10:51:14Z jackdaniel: but I keep fingers crossed for you :) 2017-12-08T10:51:33Z otwieracz: TL;DR - I've got a case where binary build with both CCL and SBCL lacks mutex fairness on certain machines. 2017-12-08T10:51:57Z otwieracz: Like, CentOS 7 in Google Cloud Platform. But not Ubuntu on GCP or CentOS on proxmox on bare metal. 2017-12-08T10:52:18Z otwieracz: And I have no idea where to report it. To BT, lparallel, SBCL or CCL? :) 2017-12-08T10:52:57Z jackdaniel: lparallel and bt seem like a bad fit, since they build abstraction on top of threads provided by the implementation 2017-12-08T10:53:10Z jackdaniel: since problem bites both sbcl and ccl it is not these implementations problem either (most probably) 2017-12-08T10:53:16Z otwieracz: But from the other hand, both CCL and SBCL are affected. 2017-12-08T10:53:30Z jackdaniel: so it is either something in pthread implementation on the machine, or Linux + Virtualization 2017-12-08T10:53:44Z otwieracz: That was my (and still is) my best guess. 2017-12-08T10:54:11Z otwieracz: Something weird happends and falls into uncommon case where due to virtualization CPU sharing something is being, maybe, optimized. 2017-12-08T10:54:16Z otwieracz: But I am totally guessing. 2017-12-08T10:54:37Z otwieracz: Still, I don't believe such bug will remain undetected if it won't be lisp-specific. 2017-12-08T10:54:42Z jackdaniel: so I don't think you should report it to any of these four projects 2017-12-08T10:55:03Z jackdaniel: bugs are undetected until someone detects them ;) 2017-12-08T10:55:13Z otwieracz: I should delete this gist and sit silent? :) 2017-12-08T10:55:29Z jackdaniel: nope, I would try to escalate to GCP 2017-12-08T10:55:45Z otwieracz: How? Hi, I've got a lisp program and it has mutex issues. 2017-12-08T10:55:57Z knobo quit (Ping timeout: 240 seconds) 2017-12-08T10:56:05Z otwieracz: I am afraid I first have to prove that problem is on their side before I blame them. 2017-12-08T10:56:08Z jackdaniel doesn't know google procedures for reporting bugs in their virtualization platforms 2017-12-08T10:56:51Z otwieracz: I'll try it on AWS. 2017-12-08T10:58:14Z knobo joined #lisp 2017-12-08T10:58:52Z dmiles: schweers, so as varjag was saying (i think) is most out of the box supposed features people learn to do on a small scale (niave brute force search and inference) do not work on a large scale. but is very enjoyable on a toy levels. Though if a person uses prolog as a macro programming language instead of a structured query language it scales to every level - no problem 2017-12-08T10:59:55Z smurfrobot quit (Remote host closed the connection) 2017-12-08T11:00:13Z pjb: otwieracz: I don't see any problem: other thread is correctly printed after a unlocking message. 2017-12-08T11:00:27Z Cymew quit (Remote host closed the connection) 2017-12-08T11:00:29Z schweers: sounds a bit like the situation with lisp: yes, lists are kinda cool for some algorithms (espectially to transform code) but shouldn’t be used in the large 2017-12-08T11:00:33Z pjb: otwieracz: I would just add finish-output after each format to ensure more reliable output. 2017-12-08T11:00:58Z jackdaniel: pjb: there is no mutex fairness 2017-12-08T11:01:13Z pjb: None was guaranted in the first place. 2017-12-08T11:01:22Z jackdaniel: so one thread is starved despite tryting to get the lock 2017-12-08T11:01:29Z schweers: I’m off for lunch, bbl 2017-12-08T11:01:31Z pjb: Yes, it may happen. 2017-12-08T11:01:44Z otwieracz: pjb: http://www.sbcl.org/manual/#Mutex-Support 2017-12-08T11:01:45Z dmiles: schweers, cheers 2017-12-08T11:01:50Z otwieracz: 12.4 2017-12-08T11:01:52Z otwieracz: „Mutexes are used for controlling access to a shared resource. One thread is allowed to hold the mutex, others which attempt to take it will be made to wait until it's free. Threads are woken in the order that they go to sleep. ” 2017-12-08T11:01:54Z jackdaniel: unfair mutexes are not overly useful 2017-12-08T11:01:55Z damke joined #lisp 2017-12-08T11:02:03Z rawste joined #lisp 2017-12-08T11:02:13Z otwieracz: pjb: *other thread* goes to sleep second or third, let's say. At most. 2017-12-08T11:02:20Z fikka joined #lisp 2017-12-08T11:02:23Z vertigo quit (Ping timeout: 248 seconds) 2017-12-08T11:02:24Z otwieracz: pjb: Is woken up at the very end on some platforms. 2017-12-08T11:02:46Z otwieracz: pjb: On others, correctly, just after thread started before it unlocked the lock. 2017-12-08T11:02:49Z yaewa joined #lisp 2017-12-08T11:02:56Z pjb: otwieracz: obviously, in sbcl, the other thread went to sleep first. 2017-12-08T11:03:10Z pjb: Try to make them go to sleep in a different order! 2017-12-08T11:03:18Z vertigo joined #lisp 2017-12-08T11:03:27Z otwieracz: I mean, wait. 2017-12-08T11:03:31Z pjb: eg. add (sleep 1) in do-in-loop. 2017-12-08T11:03:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-08T11:03:49Z pjb: or 0.01 2017-12-08T11:03:54Z otwieracz: let me add one finish-output 2017-12-08T11:04:09Z moei quit (Ping timeout: 268 seconds) 2017-12-08T11:04:13Z otwieracz: But: 2017-12-08T11:04:28Z otwieracz: „locking” message is printed just before any of looping threads goes to sleep. Correct? 2017-12-08T11:04:44Z pjb: without a finish-output, no, not necessarily. 2017-12-08T11:04:55Z otwieracz: OK, I will add finish-outputs, of course. 2017-12-08T11:05:18Z pjb: format only fills the buffer. 2017-12-08T11:06:01Z otwieracz: I am just testing it, give me a second 2017-12-08T11:08:01Z terpri` quit (Ping timeout: 250 seconds) 2017-12-08T11:08:17Z dddddd quit (Remote host closed the connection) 2017-12-08T11:11:35Z otwieracz: pjb: updated & tested https://gist.github.com/otwieracz/d88dfc0d8b726f2610dda310e2b1e406 2017-12-08T11:12:45Z Cymew joined #lisp 2017-12-08T11:13:13Z pjb: look good 2017-12-08T11:13:26Z otwieracz: …it doesn't? 2017-12-08T11:13:45Z otwieracz: On one machine it looks good, right. On the other still acts wrong. 2017-12-08T11:14:01Z otwieracz: finish-output changed nothing. 2017-12-08T11:17:43Z Cymew quit (Ping timeout: 268 seconds) 2017-12-08T11:17:45Z fikka quit (Read error: Connection reset by peer) 2017-12-08T11:18:45Z Cymew joined #lisp 2017-12-08T11:19:59Z nika_ quit (Remote host closed the connection) 2017-12-08T11:20:37Z nika_ joined #lisp 2017-12-08T11:21:57Z quazimodo quit (Ping timeout: 240 seconds) 2017-12-08T11:22:28Z fikka joined #lisp 2017-12-08T11:22:59Z otwieracz: jackdaniel: it's not GCP issue, same issue on Amazon Linux in EC2. 2017-12-08T11:23:11Z Cymew quit (Ping timeout: 248 seconds) 2017-12-08T11:23:47Z jackdaniel: maybe they use the same virtualization software? 2017-12-08T11:24:35Z nika_ quit (Ping timeout: 240 seconds) 2017-12-08T11:24:45Z otwieracz: No idea. 2017-12-08T11:25:25Z jackdaniel: if centos7 allows you to change kernel version, try newer Linux, that could narrow it even further 2017-12-08T11:25:47Z otwieracz: it doesn't. 2017-12-08T11:25:49Z otwieracz: IIRC 2017-12-08T11:27:14Z smurfrobot joined #lisp 2017-12-08T11:28:37Z phoe: How can I force ASDF dependencies to be loaded in a given order? 2017-12-08T11:28:48Z jackdaniel: add depends-on clause 2017-12-08T11:28:52Z phoe: jackdaniel: thanks. 2017-12-08T11:29:45Z pjb: otwieracz: you still did nothing to ensure the threads go lock in the order you want. 2017-12-08T11:30:50Z Karl_Dscc joined #lisp 2017-12-08T11:31:21Z karswell_ joined #lisp 2017-12-08T11:31:44Z otwieracz: Why do you think so? 2017-12-08T11:32:33Z otwieracz: You see when each thread is started, when is starts waiting on lock and when it acquires it. 2017-12-08T11:32:34Z sz0 joined #lisp 2017-12-08T11:33:30Z smurfrobot quit (Remote host closed the connection) 2017-12-08T11:34:14Z Cthulhux quit (Ping timeout: 255 seconds) 2017-12-08T11:36:04Z Cthulhux joined #lisp 2017-12-08T11:36:17Z otwieracz: There is no way for any of the looping threads to sleep on lock before outputting „locking”. 2017-12-08T11:36:30Z quazimodo joined #lisp 2017-12-08T11:37:46Z Cymew joined #lisp 2017-12-08T11:41:43Z phoe: How can I sort a list "like" the other? I mean, I have a list of class names, (FOO BAR BAZ QUUX FRED), and I have a list of objects that are (in)direct instances of these classes. I want to sort all of these objects so all FOOs come first, then come all BARs, then come all BAZs, and so on. 2017-12-08T11:42:28Z phoe: The instances are subclasses of one and only one of these classes, so there is no ambiguity here. 2017-12-08T11:42:48Z Shinmera: (loop for class in classes nconc (loop for instance in instances when (instancep instance class) collect instance)) 2017-12-08T11:43:37Z loke: phoe: (sort INSTANCES #'string< :key #'class-of ) 2017-12-08T11:43:56Z Shinmera: loke: That's not what he wants. 2017-12-08T11:43:58Z loke: Oh wait. 2017-12-08T11:44:01Z loke: Yeah, I noticed. 2017-12-08T11:44:07Z phoe: loke: this will sort them in order, but not in the order that I want. 2017-12-08T11:44:19Z phoe: string< will give me a lexicographic order. 2017-12-08T11:44:30Z Shinmera: Anyway, your sorting is not really a sorting at all but an implicit grouping. 2017-12-08T11:44:30Z phoe: Shinmera: thanks, I will check it out in a moment. 2017-12-08T11:44:31Z rawste quit (Ping timeout: 260 seconds) 2017-12-08T11:45:31Z Devon joined #lisp 2017-12-08T11:45:35Z Ven`` joined #lisp 2017-12-08T11:49:57Z Devon quit (Ping timeout: 240 seconds) 2017-12-08T11:54:47Z shrdlu68: clustering 2017-12-08T11:56:01Z shrdlu68: You can sort to cluster them, and them sort the subsequences by some means. 2017-12-08T11:56:17Z phoe: Yep, it's not sorting per se. More like radix sort of thing. 2017-12-08T11:57:02Z phoe: I could perhaps go O(n) by going through the list and going (push instance (gethash (class-of instance) hash-table)) 2017-12-08T11:57:14Z Cymew quit (Remote host closed the connection) 2017-12-08T11:57:16Z phoe: And then reading the hash-table values in the given order, nconcing the results. 2017-12-08T11:58:34Z Shinmera: profile before you try to optimise it 2017-12-08T11:59:14Z pjb: otwieracz: try: http://sprunge.us/QeBC 2017-12-08T12:00:29Z pjb: otwieracz: threading is not deterministic. Each thread executes at its own speed. Perhaps in parallel, perhaps sequentially with other threads (you can have different number of cores available!). Some threads may be busy processing unix signals, which may occur randomly. 2017-12-08T12:03:34Z rawste joined #lisp 2017-12-08T12:03:36Z rawste quit (Client Quit) 2017-12-08T12:03:37Z otwieracz: https://pastebin.ca/3945684 2017-12-08T12:03:46Z Cymew joined #lisp 2017-12-08T12:04:23Z otwieracz: But I need to look into your code, as I don't know what you've changed yet. 2017-12-08T12:05:10Z pjb: with it you should obtain the same output on all systems, I'd say. 2017-12-08T12:05:35Z rawste joined #lisp 2017-12-08T12:05:41Z shrdlu68: Is there a built-in binary search? 2017-12-08T12:06:35Z Bike joined #lisp 2017-12-08T12:07:03Z pjb: Well, actually I would have expected the "thread # waits on starting condition" messages closer to the "submitting thread #" messages. 2017-12-08T12:07:33Z pjb: shrdlu68: nope, but there are com.informatimago.common-lisp.cesarum.utility:dichotomy and com.informatimago.common-lisp.cesarum.utility:dichotomy-search 2017-12-08T12:07:40Z otwieracz: ok, but why it didn't finished? 2017-12-08T12:07:58Z pjb: I extended the sleep to 20. 2017-12-08T12:08:17Z Cymew quit (Ping timeout: 268 seconds) 2017-12-08T12:08:25Z pjb: (I expect the starting synchronization to take a little time). Otherwise it finishes here. 2017-12-08T12:09:46Z Cymew joined #lisp 2017-12-08T12:09:58Z wxie joined #lisp 2017-12-08T12:13:29Z EvW joined #lisp 2017-12-08T12:13:41Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-08T12:13:57Z Cymew quit (Ping timeout: 240 seconds) 2017-12-08T12:14:05Z nowhere_man quit (Ping timeout: 276 seconds) 2017-12-08T12:15:44Z Cymew joined #lisp 2017-12-08T12:18:54Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-08T12:20:06Z Cymew quit (Ping timeout: 260 seconds) 2017-12-08T12:21:04Z damke_ joined #lisp 2017-12-08T12:21:37Z Cymew joined #lisp 2017-12-08T12:22:04Z gtuser joined #lisp 2017-12-08T12:22:31Z wxie quit (Read error: Connection reset by peer) 2017-12-08T12:22:50Z wxie joined #lisp 2017-12-08T12:23:21Z damke quit (Ping timeout: 240 seconds) 2017-12-08T12:25:22Z shaftoe: any way to destructure a property list? 2017-12-08T12:25:42Z pjb: Not if you assume random order of the key-value pairs. 2017-12-08T12:25:56Z shaftoe: what about alist? 2017-12-08T12:25:59Z pjb: idem. 2017-12-08T12:26:09Z Cymew quit (Ping timeout: 248 seconds) 2017-12-08T12:26:31Z pjb: You could do: (destructuring-bind (&optional k1 v1 k2 v2 k3 v3 &rest others) p-list …) 2017-12-08T12:26:49Z shaftoe: lemme try that 2017-12-08T12:27:57Z pjb: But it wouldn't help, since you'd have to test for each key. 2017-12-08T12:28:49Z pjb: Better just do: (let ((v1 (getf plist k1)) (v2 (getf plist k2)) …) …) 2017-12-08T12:29:03Z k-stz joined #lisp 2017-12-08T12:29:04Z mrSpec: shaftoe: (destructuring-bind (&key a b) '(:b 5 :a 10) (print a)) isn't what you are looking for? 2017-12-08T12:29:35Z pjb: that would work, silly me… 2017-12-08T12:31:19Z shaftoe: ahh cool 2017-12-08T12:31:22Z shaftoe: cheers 2017-12-08T12:34:26Z mrSpec: :) 2017-12-08T12:38:23Z zooey quit (Read error: Connection reset by peer) 2017-12-08T12:38:39Z igemnace quit (Quit: WeeChat 2.0) 2017-12-08T12:39:09Z zooey joined #lisp 2017-12-08T12:41:31Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-12-08T12:43:39Z damke joined #lisp 2017-12-08T12:46:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-08T12:47:28Z Devon joined #lisp 2017-12-08T12:48:12Z wxie quit (Quit: Bye.) 2017-12-08T12:51:43Z Devon quit (Ping timeout: 248 seconds) 2017-12-08T12:52:50Z _death: also good to have &allow-other-keys 2017-12-08T12:54:56Z _death: wrote this some time ago https://gist.github.com/death/898330dda627876b00a05b33b11124f7 2017-12-08T12:57:50Z kolb: Is this a bug, or UB? 2017-12-08T12:57:56Z kolb: (with-simple-restart (abort "Exit command level ~D." level) (find-restart 'abort)) 2017-12-08T12:58:25Z kolb: (this returns an invalid pointer in both SBCL and CCL) 2017-12-08T12:58:33Z kolb: 1.4.1, 1.11 respectively 2017-12-08T12:58:46Z kolb: cpape: ^^^ 2017-12-08T12:58:58Z Younder: _death, powerplay ;) 2017-12-08T12:59:03Z Guest74955 quit (Remote host closed the connection) 2017-12-08T12:59:26Z Guest74955 joined #lisp 2017-12-08T13:02:07Z smurfrobot joined #lisp 2017-12-08T13:02:35Z pjb: kolb: nope: (let ((level 0)) (with-simple-restart (abort "Exit command level ~D." level) (print (find-restart 'abort)))) #| # --> # |# 2017-12-08T13:02:54Z pjb: kolb: the returned object is a restart, as expected. But it's dynamic extend. 2017-12-08T13:03:09Z yaewa quit (Quit: Leaving...) 2017-12-08T13:03:19Z pjb: It becomes invalid when you get out of dynamic scope, since you cannot invoke it anymore. 2017-12-08T13:03:37Z moei joined #lisp 2017-12-08T13:04:05Z kolb: pjb: so you say its UB to return that restart? 2017-12-08T13:04:14Z pjb: yes. 2017-12-08T13:04:17Z phoe: breaking dynamic extent is undefined. 2017-12-08T13:04:26Z kolb: cpape: ^^^ 2017-12-08T13:04:26Z phoe: you're basically returning what has already been freed. 2017-12-08T13:04:41Z kolb: SBCL still shouldn’t segfault 2017-12-08T13:04:56Z phoe: kolb: it can do whatever it pleases, it's undefined to do that in code. 2017-12-08T13:04:58Z Shinmera: It'd be nice if it wouldn't, but UB is UB. 2017-12-08T13:05:02Z kolb: CCL behavior seems more sensible 2017-12-08T13:05:11Z phoe: kolb: CCL also can do whatever it pleases, it's undefined to do that in code. 2017-12-08T13:05:34Z terpri` joined #lisp 2017-12-08T13:05:39Z kolb: "klar, kannste schon so machen, ist dann halt kacke" 2017-12-08T13:05:43Z SuperJen joined #lisp 2017-12-08T13:06:18Z Bike: dx violations are unfortunately kind of hard to determine sometimes. 2017-12-08T13:06:18Z neoncontrails joined #lisp 2017-12-08T13:06:25Z phoe: translation for non-Deutsch people: owszem, można to tak zrobić, ale i tak wyjdzie do dupy 2017-12-08T13:06:42Z Bike: lol 2017-12-08T13:06:49Z phoe: (: 2017-12-08T13:06:54Z kolb: :-) 2017-12-08T13:07:12Z kolb: international fam 2017-12-08T13:07:21Z Bike: hard to determine -> for the compiler, i mean, thus why you get bad behavior instead of an error. 2017-12-08T13:07:35Z shrdlu68: Is there a library that contains a sorting function such that I can sort subsequences in a sequences in a straight-forward manner? 2017-12-08T13:08:01Z shrdlu68: An "extensible" sorting function. 2017-12-08T13:08:16Z phoe: shrdlu68: subsequences in sequences? you could theoretically create displaced arrays (for vectors) and sort these 2017-12-08T13:08:17Z Bike: or just sort with :begin and :end? 2017-12-08T13:08:24Z ym quit (Quit: Leaving) 2017-12-08T13:08:26Z phoe: and use some sort of mapc for nested lists. 2017-12-08T13:08:31Z phoe: or what Bike said. 2017-12-08T13:08:35Z ym joined #lisp 2017-12-08T13:08:49Z Guest74955 quit (Ping timeout: 248 seconds) 2017-12-08T13:09:02Z Bike: well that's not true, it would have to be sort guaranteed to be in place 2017-12-08T13:09:04Z shrdlu68: I mean compare the subsequences to each other and sort them accordingly. 2017-12-08T13:09:06Z pjb: (let ((foo (coerce (loop repeat 20 collect (random 10)) 'vector))) (sort (make-array 10 :displaced-to foo :displaced-index-offset 5) '<) foo) #| --> #(0 5 9 5 1 0 1 2 2 2 3 4 5 6 9 2 0 3 8 1) |# 2017-12-08T13:09:14Z Bike: oh. that's weird. 2017-12-08T13:09:18Z pjb: Why do you want libraries for oneliners? 2017-12-08T13:09:32Z Bike: Like, use elements 0 and 1 as a value somehow, then 2 and 3, then 4 and 5? 2017-12-08T13:09:58Z shrdlu68: I've had to use a flat vector rather than a vector of vectors, hence the mess. 2017-12-08T13:10:35Z pjb: shrdlu68: use displaced arrays and no mess at all! 2017-12-08T13:10:52Z Bike: pjb, i think you missed the clarification. 2017-12-08T13:11:12Z smurfrobot quit (Remote host closed the connection) 2017-12-08T13:11:29Z kolb: phoe: I fed the polish version back into google translate, funny expression! 2017-12-08T13:11:33Z smurfrobot joined #lisp 2017-12-08T13:11:43Z pjb: You can build a vector of displaced arrays, sort it, and then do whatever you want with the result. 2017-12-08T13:12:26Z shrdlu68: pjb: It's a huge structure, the overhead would likely overwhelm my 8G of RAM. 2017-12-08T13:12:38Z pjb: Then do it as you want. 2017-12-08T13:13:04Z pjb: Alternatively, I take bitcoins for small (or big) jobs. 2017-12-08T13:13:15Z schweers: I want to treat a double-float as 8 consecutive bytes. Is there a portable way of doing so apart from using CFFI? 2017-12-08T13:13:34Z _death: shrdlu68: for data of this size you'd likely want to write something yourself 2017-12-08T13:13:42Z phoe: schweers: no. The representation, according to standathe standard, is implementation-dependent. 2017-12-08T13:13:43Z Bike: schweers: there's an ieee-floats library that i think can do that. 2017-12-08T13:14:17Z schweers: ok, lets say semi-portable: sbcl and ccl would be enough for me 2017-12-08T13:14:20Z pjb: schweers: com.informatimago.common-lisp.data-encoding.ieee-754:float-64-to-ieee-754 and com.informatimago.common-lisp.data-encoding.ieee-754:ieee-754-to-float-64 2017-12-08T13:14:23Z Bike: it is, but you can standardly get a significand and exponent and sign. 2017-12-08T13:14:25Z shrdlu68: _death: I see, I was making sure I was not missing an easier way of doing it. 2017-12-08T13:14:26Z mrSpec: _death: personally I think &allow-other-keys makes code harder to debug, when you miss something and destructuring-bind doesn't protest. 2017-12-08T13:14:29Z phoe: Bike: oh. Hm. Correct. 2017-12-08T13:14:30Z schweers: Bike: thanks, I’ll look at that 2017-12-08T13:14:39Z phoe: And from the sig/exp/sign you can compute the float back. 2017-12-08T13:14:46Z pjb: see also decode-float and integer-decode-float, and scale-float, etc. 2017-12-08T13:14:47Z schweers: pjb: thanks, I’ll look at that too :) 2017-12-08T13:14:57Z _death: shrdlu68: also, may want to do it without consuming so much RAM, but that's just oldtimer speaking ;) 2017-12-08T13:15:38Z _death: mrSpec: sure, but I often use plists for their ad-hoc extensibility.. otherwise, classes/structs will do 2017-12-08T13:16:23Z mrSpec: got it 2017-12-08T13:16:24Z Bike: looks like it returns an integer, but that's pretty straightforwardly turned into a byte vector if you want that 2017-12-08T13:16:37Z pjb: and mind the exponent too. 2017-12-08T13:16:46Z shrdlu68: _death: I'm not an oldtimer but I too feel this is inelegant. I have to generate combinations with repetitions, and I'm not aware of an efficient algorithm of doing so. 2017-12-08T13:17:32Z schweers: pjb: does this handle special cases like NaN and infinity? 2017-12-08T13:17:51Z pjb: schweers: not necessarily. 2017-12-08T13:18:07Z pjb: I didn't assume that such values could be lisp objects. 2017-12-08T13:18:10Z _death: shrdlu68: is this for testing (maybe fuzzing?) 2017-12-08T13:18:57Z phoe: schweers: NaN/infinity values aren't portable. CL standard doesn't conform to the IEEE float standard. 2017-12-08T13:19:11Z shrdlu68: _death: Nope. 2017-12-08T13:19:13Z red-dot joined #lisp 2017-12-08T13:20:12Z schweers: As both SBCL and CCL have infinity I should be fine, especially as I only /really/ care about SBCl. CCL portability is only something I aspire to in order to not be tied to just one implementation. 2017-12-08T13:20:17Z _death: shrdlu68: I see.. it seems like a classic problem so I'm guessing there are academic papers 2017-12-08T13:20:31Z schweers: so thanks for the tips, I’ll look into both of them 2017-12-08T13:26:43Z smurfrobot quit (Remote host closed the connection) 2017-12-08T13:27:06Z smurfrobot joined #lisp 2017-12-08T13:28:15Z wxie joined #lisp 2017-12-08T13:28:42Z eSVG joined #lisp 2017-12-08T13:28:57Z Bike is now known as Bicyclidine 2017-12-08T13:32:33Z EvW quit (Ping timeout: 246 seconds) 2017-12-08T13:33:23Z EvW joined #lisp 2017-12-08T13:36:48Z pjb: schweers: I wouldn't even know how to get infinity in lisp, since (/ 0) #| ERROR: division-by-zero detected performing / on (1 0) |# 2017-12-08T13:37:12Z pjb: (* most-positive-double-float most-positive-double-float) #| ERROR: floating-point-overflow detected performing * on (1.7976931348623157D+308 1.7976931348623157D+308) |# 2017-12-08T13:37:13Z pjb: etc. 2017-12-08T13:37:29Z schweers: pjb: I also havn’t found a portable way to do so. Both SBCL and CCL have constants for this. 2017-12-08T13:37:38Z Jen joined #lisp 2017-12-08T13:38:01Z Jen is now known as Guest70716 2017-12-08T13:38:12Z schweers: Ah, I’ve even got something for ecl although I can’t use it for different reasons 2017-12-08T13:38:28Z schweers: sbcl has sb-ext:double-float-positive-infinity and friends 2017-12-08T13:38:41Z schweers: ccl has the same symbol in the package ccl 2017-12-08T13:39:02Z schweers: but I think I don’t need infinity for the use case I described earlier 2017-12-08T13:40:04Z oleo joined #lisp 2017-12-08T13:40:41Z SuperJen quit (Ping timeout: 240 seconds) 2017-12-08T13:41:51Z smurfrobot quit (Remote host closed the connection) 2017-12-08T13:45:02Z knobo quit (Read error: Connection reset by peer) 2017-12-08T13:48:03Z Sigyn quit (Quit: NO HEARTBEAT, NO SERVICE.) 2017-12-08T13:48:35Z Devon joined #lisp 2017-12-08T13:48:35Z Sigyn joined #lisp 2017-12-08T13:53:05Z Devon quit (Ping timeout: 240 seconds) 2017-12-08T13:55:30Z wxie quit (Quit: Bye.) 2017-12-08T13:55:55Z rippa joined #lisp 2017-12-08T13:57:30Z smurfrobot joined #lisp 2017-12-08T14:01:30Z mson joined #lisp 2017-12-08T14:03:22Z Ven`` joined #lisp 2017-12-08T14:03:31Z random-nick joined #lisp 2017-12-08T14:05:02Z whoman quit (Remote host closed the connection) 2017-12-08T14:08:00Z whoman joined #lisp 2017-12-08T14:08:05Z Bike joined #lisp 2017-12-08T14:09:01Z LiamH joined #lisp 2017-12-08T14:09:52Z wooden joined #lisp 2017-12-08T14:13:56Z smurfrobot quit (Remote host closed the connection) 2017-12-08T14:15:11Z knobo joined #lisp 2017-12-08T14:18:01Z eschatologist quit (Ping timeout: 240 seconds) 2017-12-08T14:21:31Z smurfrobot joined #lisp 2017-12-08T14:22:49Z damke_ joined #lisp 2017-12-08T14:23:50Z __rumbler31 joined #lisp 2017-12-08T14:25:21Z damke quit (Ping timeout: 240 seconds) 2017-12-08T14:25:27Z knobo quit (Ping timeout: 240 seconds) 2017-12-08T14:26:05Z smurfrobot quit (Ping timeout: 240 seconds) 2017-12-08T14:28:12Z Cymew joined #lisp 2017-12-08T14:28:27Z smurfrobot joined #lisp 2017-12-08T14:30:31Z knobo joined #lisp 2017-12-08T14:33:12Z Cymew quit (Ping timeout: 268 seconds) 2017-12-08T14:35:27Z knobo quit (Ping timeout: 240 seconds) 2017-12-08T14:37:57Z Lord_of_Life quit (Changing host) 2017-12-08T14:37:57Z Lord_of_Life joined #lisp 2017-12-08T14:37:57Z Lord_of_Life quit (Changing host) 2017-12-08T14:37:57Z Lord_of_Life joined #lisp 2017-12-08T14:38:14Z himmAllRight quit (Remote host closed the connection) 2017-12-08T14:39:11Z himmAllRight joined #lisp 2017-12-08T14:40:16Z Cymew joined #lisp 2017-12-08T14:42:20Z emaczen` joined #lisp 2017-12-08T14:44:10Z fikka quit (Read error: Connection reset by peer) 2017-12-08T14:44:15Z emaczen quit (Ping timeout: 248 seconds) 2017-12-08T14:44:19Z domovod quit (Quit: WeeChat 1.9.1) 2017-12-08T14:44:22Z dec0n quit (Read error: Connection reset by peer) 2017-12-08T14:44:57Z Cymew quit (Ping timeout: 240 seconds) 2017-12-08T14:45:52Z knobo joined #lisp 2017-12-08T14:46:33Z Cymew joined #lisp 2017-12-08T14:46:35Z eschatologist joined #lisp 2017-12-08T14:49:45Z Devon joined #lisp 2017-12-08T14:50:07Z fikka joined #lisp 2017-12-08T14:51:11Z Cymew quit (Ping timeout: 260 seconds) 2017-12-08T14:54:01Z Devon quit (Ping timeout: 240 seconds) 2017-12-08T14:54:44Z random-nick quit (Remote host closed the connection) 2017-12-08T14:56:35Z fikka quit (Ping timeout: 240 seconds) 2017-12-08T14:56:50Z python476 joined #lisp 2017-12-08T14:57:07Z random-nick joined #lisp 2017-12-08T14:57:40Z cromachina quit (Read error: Connection reset by peer) 2017-12-08T14:59:00Z shrdlu68_ joined #lisp 2017-12-08T15:01:21Z xrash joined #lisp 2017-12-08T15:01:22Z damke joined #lisp 2017-12-08T15:01:28Z shrdlu68 quit (Remote host closed the connection) 2017-12-08T15:01:38Z warweasle joined #lisp 2017-12-08T15:03:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-08T15:04:56Z fikka joined #lisp 2017-12-08T15:05:02Z Guest24518 joined #lisp 2017-12-08T15:09:27Z fikka quit (Ping timeout: 240 seconds) 2017-12-08T15:09:31Z jfe joined #lisp 2017-12-08T15:09:34Z jfe: hello 2017-12-08T15:10:03Z beach: Hello jfe. 2017-12-08T15:10:14Z hajovonta quit (Quit: hajovonta) 2017-12-08T15:10:51Z jfe: i'm trying to get the function that corresponds to a symbol in a list but (function ...) seems to only accept "direct" symbols as arguments. is there a trick to doing this? 2017-12-08T15:11:05Z knobo quit (Ping timeout: 240 seconds) 2017-12-08T15:11:12Z beach: clhs fdefinition 2017-12-08T15:11:12Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_fdefin.htm 2017-12-08T15:12:13Z beach: jfe: You can't use FDEFINITION to find the definition of local functions. Only global ones. Is that adequate? 2017-12-08T15:12:17Z Jesin joined #lisp 2017-12-08T15:12:35Z jfe: beach: thanks, yes that's adequate. 2017-12-08T15:18:19Z smurfrobot quit (Remote host closed the connection) 2017-12-08T15:20:32Z karswell_ is now known as karswell 2017-12-08T15:23:00Z resttime quit (Quit: Leaving) 2017-12-08T15:28:13Z damke_ joined #lisp 2017-12-08T15:28:18Z Cymew joined #lisp 2017-12-08T15:28:56Z smurfrobot joined #lisp 2017-12-08T15:29:21Z damke quit (Ping timeout: 240 seconds) 2017-12-08T15:29:34Z Tobbi joined #lisp 2017-12-08T15:30:47Z shrdlu68_ quit (Remote host closed the connection) 2017-12-08T15:31:28Z svetlyak40wt joined #lisp 2017-12-08T15:32:41Z Cymew quit (Ping timeout: 240 seconds) 2017-12-08T15:35:48Z svetlyak40wt quit (Client Quit) 2017-12-08T15:36:26Z fourier joined #lisp 2017-12-08T15:38:52Z shrdlu68 joined #lisp 2017-12-08T15:41:12Z fikka joined #lisp 2017-12-08T15:41:48Z flamebeard quit (Quit: Leaving) 2017-12-08T15:42:11Z brendyn quit (Ping timeout: 240 seconds) 2017-12-08T15:42:36Z waynecolvin joined #lisp 2017-12-08T15:42:57Z fourier quit (Ping timeout: 248 seconds) 2017-12-08T15:42:59Z dalkire joined #lisp 2017-12-08T15:44:28Z EvW quit (Ping timeout: 258 seconds) 2017-12-08T15:47:16Z vlatkoB quit (Remote host closed the connection) 2017-12-08T15:48:27Z hexfive joined #lisp 2017-12-08T15:49:51Z igemnace joined #lisp 2017-12-08T15:50:08Z Devon joined #lisp 2017-12-08T15:52:33Z shrdlu68 quit (Ping timeout: 248 seconds) 2017-12-08T15:54:18Z Devon quit (Ping timeout: 246 seconds) 2017-12-08T15:54:18Z shrdlu68 joined #lisp 2017-12-08T15:55:13Z jfe quit (Ping timeout: 268 seconds) 2017-12-08T15:56:46Z EvW joined #lisp 2017-12-08T16:00:37Z Guest70716 quit (Remote host closed the connection) 2017-12-08T16:00:59Z Guest70716 joined #lisp 2017-12-08T16:02:36Z Cymew joined #lisp 2017-12-08T16:03:32Z phoe: (flet ((foo () 42)) #'foo) returns a proper function 2017-12-08T16:03:45Z xrash quit (Ping timeout: 248 seconds) 2017-12-08T16:03:50Z phoe: oh, I think I know what he was trying to do. 2017-12-08T16:04:02Z phoe: he was trying to see if a symbol is lexically fbound. 2017-12-08T16:04:05Z xrash joined #lisp 2017-12-08T16:04:53Z vlatkoB joined #lisp 2017-12-08T16:07:01Z Cymew quit (Ping timeout: 250 seconds) 2017-12-08T16:08:10Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-08T16:09:48Z vlatkoB quit (Remote host closed the connection) 2017-12-08T16:10:01Z quazimodo quit (Ping timeout: 240 seconds) 2017-12-08T16:11:20Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-08T16:11:28Z vlatkoB joined #lisp 2017-12-08T16:12:15Z fikka quit (Ping timeout: 248 seconds) 2017-12-08T16:12:25Z damke joined #lisp 2017-12-08T16:12:30Z damke_ quit (Ping timeout: 246 seconds) 2017-12-08T16:16:50Z quazimodo joined #lisp 2017-12-08T16:19:46Z schweers: is there a way to find the size of a (built-in) type in lisp? for instance to find out how much space is needed for a fixnum? 2017-12-08T16:20:24Z pjb: Read the source of the implementation. 2017-12-08T16:20:26Z beach: Sure. Round it up to an even number of bytes, and you have a pretty good idea. 2017-12-08T16:20:49Z Bike: it might not even be a universal quality. 2017-12-08T16:20:58Z schweers: I meant whether ther was a way to go from a type specifier to a number of bits or bytes 2017-12-08T16:21:15Z beach: schweers: Common Lisp doesn't work that way. 2017-12-08T16:21:20Z Shinmera: CL says nothing about memory, so no 2017-12-08T16:21:28Z pjb: It's ludicruous to try to know the size of fixnum: it could be inlined! 2017-12-08T16:21:31Z Bike: For example, you could have a complex that takes up a header word and two content words boxed, but in some situations it could be unboxed and only be the content words. 2017-12-08T16:21:53Z schweers: yeah, normally. I know. I thought I could make my cludge less hacky ;) 2017-12-08T16:22:02Z Ven`` joined #lisp 2017-12-08T16:22:17Z jfe joined #lisp 2017-12-08T16:22:19Z Bike: If your kludge involves objects having coherent sizes it's already too hacky. What are you doing? 2017-12-08T16:22:39Z orivej quit (Ping timeout: 246 seconds) 2017-12-08T16:23:24Z schweers: I have a large amount of data which will not fit into ram, so I’m offloading it into an on-disk key-value store (kyotocabinet). I can but byte vectors in there, and I want to dump a simple struct which constists of only ints and floats. 2017-12-08T16:23:33Z varjag: you can keep all your data over in c-land via cffi, and know the size of that 2017-12-08T16:23:37Z varjag is half-kidding 2017-12-08T16:23:43Z schweers: that is also why I asked about putting floats into a byte vector a little while ago 2017-12-08T16:24:02Z Bike: So you want to serialize. 2017-12-08T16:24:08Z schweers: varjag: I was thinking about that. Would have done it if I hadn’t gotten a good answer here ;) 2017-12-08T16:24:13Z schweers: basically, yes 2017-12-08T16:24:18Z schweers: but I want it compact 2017-12-08T16:24:35Z Bike: If you're only worried about integers and floats- for floats, you can check your implementation documentation. For integers, integer-length will tell you how many bits are required to store it. 2017-12-08T16:24:36Z pjb: If you want your data on file, then why do you care about the internal representation? 2017-12-08T16:24:41Z pjb: Just write the bytes you want! 2017-12-08T16:24:48Z Bike: Yes, the lisp's representation is irrelevant. 2017-12-08T16:25:02Z pjb: See for example: com.informatimago.common-lisp.heap. 2017-12-08T16:25:28Z Bike: And for an integer type specifier, well, (unsigned-byte 7) means it takes seven bits if you don't need a sign, of course 2017-12-08T16:25:48Z schweers: pjb: that is what I am doing, I just wondered if there was a better way. But given your comments and some more thought I guess it may be the right way after all 2017-12-08T16:26:21Z damke quit (Ping timeout: 240 seconds) 2017-12-08T16:26:48Z Bike: If you're worried about other possibly compound objects, the internal representation might not help since it could be full of pointers 2017-12-08T16:27:07Z Bike: which pretty much does you no good. 2017-12-08T16:27:28Z nowhere_man joined #lisp 2017-12-08T16:27:41Z schweers: nah, I know they consist only of primitives 2017-12-08T16:28:15Z vertigo quit (Ping timeout: 248 seconds) 2017-12-08T16:28:48Z damke joined #lisp 2017-12-08T16:29:45Z __rumbler31 quit (Quit: Leaving...) 2017-12-08T16:30:02Z vertigo joined #lisp 2017-12-08T16:30:18Z smurfrobot quit (Remote host closed the connection) 2017-12-08T16:33:38Z __rumbler31 joined #lisp 2017-12-08T16:37:33Z smurfrobot joined #lisp 2017-12-08T16:40:34Z shrdlu68 quit (Remote host closed the connection) 2017-12-08T16:41:01Z smurfrobot quit (Remote host closed the connection) 2017-12-08T16:43:11Z shrdlu68 joined #lisp 2017-12-08T16:44:35Z msb quit (Quit: ENOENT) 2017-12-08T16:50:08Z _cosmonaut_ quit (Ping timeout: 255 seconds) 2017-12-08T16:50:16Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-08T16:50:43Z msb joined #lisp 2017-12-08T16:50:51Z EvW quit (Ping timeout: 240 seconds) 2017-12-08T16:51:00Z Devon joined #lisp 2017-12-08T16:51:59Z fikka joined #lisp 2017-12-08T16:53:37Z jfe: can someone here explain the reason why many compilers are bootstrapped with C/C++? 2017-12-08T16:54:46Z Shinmera: Inertia, low-level control, bad foresight. 2017-12-08T16:55:12Z Devon quit (Ping timeout: 240 seconds) 2017-12-08T16:55:48Z zmt00 joined #lisp 2017-12-08T16:55:49Z jfe: i'm an amateur on compilers but i've been writing a simple one in lisp and it just seems silly to me to use anything but a high-level language for bootstrapping. 2017-12-08T16:56:27Z fikka quit (Ping timeout: 240 seconds) 2017-12-08T16:57:28Z schweers just realized that sbcl has no support for block compilation 2017-12-08T16:58:06Z schweers: is the proper way do deal with this to use large-ish labels blocks around what was previously an entry point function? 2017-12-08T16:59:27Z Shinmera: jfe: C is a systems language, so a primitive compiler for it is often a first target for a new platform. You can then bootstrap a better C compiler with that. If your language runtime is then written against C, you get a new target "for free". Or at least that's the idea behind writing a compiler in C. 2017-12-08T16:59:28Z Cymew joined #lisp 2017-12-08T16:59:37Z Shinmera: Naturally this does not go as smoothly as one would like, so 2017-12-08T16:59:40Z neoncontrails quit (Remote host closed the connection) 2017-12-08T17:00:09Z neoncontrails joined #lisp 2017-12-08T17:00:43Z varjag quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-12-08T17:01:19Z Bike: Depends on what you mean by "bootstrapping", jfe 2017-12-08T17:02:23Z Bike: The C _runtime_ is pretty much everywhere, and contains a number of useful things, so using it can be convenient. It would be shit to write a compiler in though. 2017-12-08T17:02:25Z python476 quit (Quit: damn you nickserv) 2017-12-08T17:02:40Z Bike: to write a compiler in C, i mean 2017-12-08T17:02:51Z Guest70716 quit (Remote host closed the connection) 2017-12-08T17:02:58Z beach: Yes, the GCC people are very brave. 2017-12-08T17:03:07Z beach: LLVM too, by the way. 2017-12-08T17:03:18Z Guest70716 joined #lisp 2017-12-08T17:03:26Z pjb: gcc has a good portion of greenspunning in it… 2017-12-08T17:03:34Z pjb: (being written by a lisper originally…) 2017-12-08T17:03:41Z Cymew quit (Ping timeout: 240 seconds) 2017-12-08T17:03:42Z beach: Indeed. 2017-12-08T17:03:47Z smurfrobot joined #lisp 2017-12-08T17:03:50Z Shinmera: beach: LLVM is C++, which is worse/better than C depending on who you ask :) 2017-12-08T17:04:05Z BitPuffin|osx quit (Ping timeout: 255 seconds) 2017-12-08T17:04:19Z beach: I can see that, yes. :) 2017-12-08T17:04:46Z neoncontrails quit (Ping timeout: 260 seconds) 2017-12-08T17:05:42Z __rumbler31 quit (Ping timeout: 246 seconds) 2017-12-08T17:05:52Z Shinmera: Isn't Clisp also largely written in C? 2017-12-08T17:06:19Z pjb: Shinmera: about 50% 2017-12-08T17:06:36Z Jesin quit (Remote host closed the connection) 2017-12-08T17:06:41Z Bike: Is it the compiler that is, or the runtime? 2017-12-08T17:07:01Z pjb: the run time. 2017-12-08T17:07:04Z beach: jfe: I think the analyses of Shinmera and Bike are correct. But there are many disadvantages with writing a Common Lisp system in C or C++. There seems to be a widespread idea that a lower-level language has to be used in order to implement a higher-level one. 2017-12-08T17:07:12Z pjb: The clisp compiler itself is written in CL. 2017-12-08T17:07:13Z _cosmonaut_ joined #lisp 2017-12-08T17:07:14Z Bike: Cos, you know, writing a language runtime in C I can understand, you could debate whether that's a good idea. Writing a compiler in C is just bad. 2017-12-08T17:07:38Z pjb: Bike: depends on whether you have a native compiler or not really. 2017-12-08T17:07:50Z Bike: What? 2017-12-08T17:07:56Z pjb: If you have a native compiler, then just add code generation for syscalls, and you can write your libcl instead of using libc. 2017-12-08T17:08:11Z pjb: (actually if you have a VM you can do that too). 2017-12-08T17:08:26Z Bike: Oh, you mean, for whether you should write a language runtime in C. Yes, sure. 2017-12-08T17:08:35Z python476 joined #lisp 2017-12-08T17:09:13Z Xal quit (Ping timeout: 268 seconds) 2017-12-08T17:09:35Z waynecolvin: what is needed to impliment a core lisp? isn't the execution model and debugging features different than C... 2017-12-08T17:09:50Z pjb: waynecolvin: not really. 2017-12-08T17:09:55Z Bike: what is "needed"? 2017-12-08T17:10:13Z Bike: and what is "core"? 2017-12-08T17:10:26Z pjb: A lot of things are implementation dependent and a default implementation doing nothing is often allowed. 2017-12-08T17:10:38Z pjb: notably the debugger, or the repl, or the garbage collector, etc, are optional. 2017-12-08T17:10:38Z Xal joined #lisp 2017-12-08T17:11:03Z pjb: Even the compiler is optional (you only need to perform minimal compilation, ie. macroexpanding (and special declaration noting). 2017-12-08T17:11:05Z beach: waynecolvin: The people who use C to implement Common Lisp often rely on traditional, but unspecified or undefined, features of C. 2017-12-08T17:11:32Z pjb: And conversely, C implementation can include REPL, debuggers and interpreters. Cf. Cint, EiC, etc. 2017-12-08T17:11:51Z pjb: There are very few (standard) C programmers. 2017-12-08T17:11:52Z waynecolvin: well, if CL has regular arguments, &key arguments etc, should your VM have bloated activation recotds for all functions? 2017-12-08T17:12:06Z pjb: As you wish. 2017-12-08T17:12:30Z Bike: Bloat sounds bad, whatever it is. So i'm going to say it "should not" have bloat. 2017-12-08T17:12:47Z beach: I was just about to say something similar. 2017-12-08T17:13:27Z pjb: About half the functions in CL can be implemented trivially calling the other half (eg. (setf (symbol-function 'delete) (symbol-function 'remove)) ; done ) 2017-12-08T17:14:12Z jasom: waynecolvin: C has variadic functions. keyword arguments are just a special case of variadic functions 2017-12-08T17:15:36Z jasom: waynecolvin: it is not required that lisp use the same ABI as used by C on the system, but doing so isn't automatically bad; even multiple return values of size less than N can be done efficiently for all ABIs that permit N registers to be modified by the caller 2017-12-08T17:16:02Z smurfrobot quit (Remote host closed the connection) 2017-12-08T17:16:20Z dddddd joined #lisp 2017-12-08T17:17:49Z igemnace quit (Quit: WeeChat 2.0) 2017-12-08T17:19:56Z Devon joined #lisp 2017-12-08T17:20:31Z shka: good evening 2017-12-08T17:20:43Z beach: Hello shka. 2017-12-08T17:22:10Z quazimodo quit (Ping timeout: 268 seconds) 2017-12-08T17:22:34Z EvW1 joined #lisp 2017-12-08T17:24:24Z neoncontrails joined #lisp 2017-12-08T17:24:49Z beach: waynecolvin: I have the same question as Bike, what is included in a "core lisp"? 2017-12-08T17:25:00Z raphaelss joined #lisp 2017-12-08T17:25:24Z FreeBirdLjj joined #lisp 2017-12-08T17:25:42Z waynecolvin: just a lisp kernel for bootstrapping, i used the wrong term 2017-12-08T17:25:57Z shka: waynecolvin: unfortunately, CL is not formally layered 2017-12-08T17:26:00Z Bike: you don't have to build a system that way. 2017-12-08T17:26:03Z beach: waynecolvin: So you would write the compiler in that subset? 2017-12-08T17:26:09Z smurfrobot joined #lisp 2017-12-08T17:26:18Z beach: waynecolvin: That turns out to be very painful. 2017-12-08T17:26:18Z shka: eulisp is 2017-12-08T17:26:42Z EvW1 quit (Ping timeout: 246 seconds) 2017-12-08T17:27:31Z waynecolvin: there are lisp/subset-to-c translators but i don't know what subset or how they work lol 2017-12-08T17:27:34Z pjb: If you're really serious about bootstrap, then you start at the bash, and echo bytes to your exe file. Then you will bootstrap from a few binary instructions. 2017-12-08T17:27:59Z smurfrobot quit (Remote host closed the connection) 2017-12-08T17:28:24Z beach: waynecolvin: I had a better idea for SICL, namely to use an existing Common Lisp implementation to compile the code. That way, I can use the full language to write the compiler. 2017-12-08T17:28:37Z smurfrobot joined #lisp 2017-12-08T17:29:18Z pjb: You may start implementing car cdr cons if null and lambda (no closure, just functions) and read-char in binary. This could be feasible. Then from that you could implement (still in binary) a simple reader, eval and print. Then you would be able to go on in "lisp". 2017-12-08T17:29:22Z waynecolvin: does it generate bytecode? 2017-12-08T17:29:46Z beach: waynecolvin: My system? No, when it is done it will generate native code. 2017-12-08T17:29:57Z pjb: beach lives in 2017, not in 1957. 2017-12-08T17:30:10Z beach: Thanks, pjb! :) 2017-12-08T17:31:05Z jackdaniel: waynecolvin: if you look for something minimal, what is not CL to bootstrap from, you may check out ecl_min (something used to build ecl's compiler) 2017-12-08T17:31:18Z pseudonymous joined #lisp 2017-12-08T17:31:29Z fikka joined #lisp 2017-12-08T17:31:41Z shka: pjb: 2017 sounds like beach should generate JS :P 2017-12-08T17:31:49Z beach: waynecolvin: But that's beside the point here. The point is that, if you build your system from a subset the way you describe, you either end up writing your compiler in a subset of the language, or you end up with code that is replaced once the system is built, or probably both. 2017-12-08T17:32:15Z vertigo quit (Ping timeout: 248 seconds) 2017-12-08T17:33:43Z pjb: This is something you do only the first time you implement a new language! 2017-12-08T17:33:47Z waynecolvin: interesting https://gitlab.com/embeddable-common-lisp/ecl/issues/350 hey that's you! 2017-12-08T17:34:17Z Shinmera: compiling to machine code or assembly just means emitting bytes or characters to disk or memory. Anything can do that. There's really no reason to bootstrap from a minimal system unless you have awful constraints like needing to interop with a system that is underspecified. 2017-12-08T17:34:25Z pjb: waynecolvin: have a look at http://www.sheepshellcode.com/blog/2014/12/31/writing-a-linux-executable-using-only-echo/ 2017-12-08T17:34:45Z jackdaniel: yup 2017-12-08T17:35:35Z waynecolvin: pjb : that's a classic 2017-12-08T17:36:24Z epony quit (Read error: Connection reset by peer) 2017-12-08T17:36:44Z pjb: waynecolvin: Start with that, implement your first primitive in binary by hand, until you have your minimal REPL, and then go on writing lisp. 2017-12-08T17:36:45Z epony joined #lisp 2017-12-08T17:37:08Z pjb: the eval can be very limited (not CL eval), cf. http://www.informatimago.com/develop/lisp/com/informatimago/small-cl-pgms/aim-8/aim-8.html 2017-12-08T17:38:02Z jackdaniel: reading LiSP is a very good reading to learn how to write it and discusses important topics like variables etc 2017-12-08T17:38:54Z waynecolvin: i worked out a text pattern to make DOS/CP-M86 assemble binary, but never made a Forth out of it 2017-12-08T17:39:18Z vibs29 quit (Ping timeout: 260 seconds) 2017-12-08T17:40:00Z vibs29 joined #lisp 2017-12-08T17:41:49Z panji joined #lisp 2017-12-08T17:42:27Z panji left #lisp 2017-12-08T17:43:25Z jack_rabbit quit (Read error: Connection reset by peer) 2017-12-08T17:44:05Z vibs29 quit (Ping timeout: 240 seconds) 2017-12-08T17:45:32Z vibs29 joined #lisp 2017-12-08T17:45:57Z fikka quit (Ping timeout: 240 seconds) 2017-12-08T17:46:41Z vertigo joined #lisp 2017-12-08T17:47:41Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-08T17:57:03Z jack_rabbit joined #lisp 2017-12-08T18:03:56Z Guest70716 quit (Remote host closed the connection) 2017-12-08T18:04:19Z Guest70716 joined #lisp 2017-12-08T18:12:50Z random-nick quit (Remote host closed the connection) 2017-12-08T18:20:13Z emaczen`: the link README-PREPARE.txt is broke at commonlisp.net/project/ecl 2017-12-08T18:20:42Z emaczen`: where should I got to read how to setup commonlisp and android? 2017-12-08T18:20:53Z jackdaniel: check out INSTALL file 2017-12-08T18:21:13Z jackdaniel: if you are intersted in eql5-android, you'll find a good tutorial in this project 2017-12-08T18:27:05Z pseudonymous quit (Ping timeout: 240 seconds) 2017-12-08T18:28:37Z abc joined #lisp 2017-12-08T18:28:54Z Fare joined #lisp 2017-12-08T18:29:00Z abc is now known as Guest42452 2017-12-08T18:31:00Z orivej joined #lisp 2017-12-08T18:31:10Z Guest42452 left #lisp 2017-12-08T18:32:48Z jfe quit (Remote host closed the connection) 2017-12-08T18:33:03Z jfe joined #lisp 2017-12-08T18:34:32Z j0nd0e joined #lisp 2017-12-08T18:35:24Z zooey quit (Ping timeout: 248 seconds) 2017-12-08T18:35:28Z smurfrobot: does amyone know of recent survey/review papers discussing implicit parallelism and functional programming languages like lisp? 2017-12-08T18:35:59Z pjb: Can you imagine anybody financing such a work today? 2017-12-08T18:36:05Z osune joined #lisp 2017-12-08T18:36:39Z emaczen`: I'm getting an Error with ECL: Detected access to an invalid or protected memory address 2017-12-08T18:36:48Z smurfrobot: i am just curious about what has been done in the area. 2017-12-08T18:36:53Z smurfrobot: so nothing recent? 2017-12-08T18:36:59Z Xach: lisp isn't like that. 2017-12-08T18:36:59Z pjb: No, nothing recent. 2017-12-08T18:37:13Z pjb: But google about it, you might find very good papers about it 30 years old. 2017-12-08T18:37:57Z smurfrobot: hmm ok thanks 2017-12-08T18:38:16Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-08T18:39:16Z turkja quit (Ping timeout: 260 seconds) 2017-12-08T18:40:01Z __rumbler31 joined #lisp 2017-12-08T18:40:55Z alexmlw joined #lisp 2017-12-08T18:42:13Z zooey joined #lisp 2017-12-08T18:44:06Z _cosmonaut_ quit (Remote host closed the connection) 2017-12-08T18:46:47Z random-nick joined #lisp 2017-12-08T18:48:45Z Ober: so can Iota transform something like libssh to portable cl? 2017-12-08T18:50:19Z phoe: Ober: what's Iota? 2017-12-08T18:50:21Z vertigo quit (Ping timeout: 260 seconds) 2017-12-08T18:50:45Z phoe: oooh, the compiler from froggey 2017-12-08T18:50:47Z vertigo joined #lisp 2017-12-08T18:51:03Z phoe: Ober: I think it can, since you can go from C through LLVM-IR to CL this way 2017-12-08T18:52:35Z osune: can somebody recommend a hassle "free" PAS like Heroku for CL ? I want to host a small chat bot for no cost but fun. 2017-12-08T18:52:50Z Ober: aws nano is free 2017-12-08T18:53:24Z froggey: Ober: theoretically. I'm not sure how you'd interact with a translated library though 2017-12-08T18:54:21Z SaganMan quit (Quit: WeeChat 1.6) 2017-12-08T18:54:23Z Ober: froggey: ok. will pass some stuff through it to get a better idea 2017-12-08T18:54:31Z Ober: great stuff btw :P 2017-12-08T18:55:30Z osune: Ober: does it has ready to go sbcl? There seems no maintained base "Buildapp" Template for Heroku. 2017-12-08T18:56:10Z waynecolvin: xlisp is fairly pretty easy to build on android (use make -f makefile.unix) but it isn't standard. ECL is much harder but there are binaries for arm32 you can download 2017-12-08T18:56:20Z Ober: you could host a docker on there you pull from anywhere 2017-12-08T18:56:32Z froggey: thanks, let me know if you run into trouble 2017-12-08T18:56:55Z osune: Ober: never used docker, so I totally missed this option. 2017-12-08T18:57:22Z Ober: `docker search sbcl` gives a ton of hits 2017-12-08T18:57:35Z osune: thanks i give it a look 2017-12-08T18:58:43Z phoe: My indentation just went crazy. My macro suddenly stopped indenting like it should and instead my macro is like https://i.imgtc.com/ni1wA3y.png 2017-12-08T18:59:13Z damke_ joined #lisp 2017-12-08T18:59:21Z damke quit (Ping timeout: 240 seconds) 2017-12-08T18:59:37Z osune: phoe: i only know this behavior if my lisp buffer has no repl mode (or was it the other way round?) 2017-12-08T19:01:01Z phoe: (defmacro define-raptor-module (name (&rest protocol-classes) &body clauses) ...) is how it's defined. 2017-12-08T19:02:22Z phoe: hah, restarting spacemacs solved it. mysterious 2017-12-08T19:02:57Z smurfrobot quit (Remote host closed the connection) 2017-12-08T19:04:28Z smurfrobot joined #lisp 2017-12-08T19:11:57Z k-stz: I'm reading "Lisp outside the box" and in a chapter on Memory, the author mentions "The stack is a data structure which, like the GCed heap, was originally invented for 2017-12-08T19:11:57Z k-stz: Lisp back in the 1950s.", I think that's interesting and like to back it up with some sources, but I can't find any, and for the stack I found contradicting ones 2017-12-08T19:12:32Z shka: hmmm 2017-12-08T19:12:45Z shka: that is interesting indeed! 2017-12-08T19:12:56Z k-stz: :-) 2017-12-08T19:13:12Z shka: i really don't know, but it may be even true 2017-12-08T19:13:32Z shka: p_l: help us! 2017-12-08T19:13:35Z k-stz: https://www.nicklevine.org/lisp-book/contents/chgc.pdf page 9 for the quote 2017-12-08T19:13:47Z pjb: k-stz: sources: https://github.com/informatimago/lisp-1-5 2017-12-08T19:14:25Z pjb: Also any early compilation book; they'll discuss at length about displays (storage for the frames of functions). 2017-12-08T19:14:45Z zooey quit (Remote host closed the connection) 2017-12-08T19:15:00Z shka: pjb: oh, wow, thanks! 2017-12-08T19:15:07Z shka: you are awesome 2017-12-08T19:15:17Z zooey joined #lisp 2017-12-08T19:16:15Z shka: i can't imagine how astonishingly innovative initial lisp was 2017-12-08T19:19:50Z Bike: oh, the stack as in being made out of frames 2017-12-08T19:20:18Z Bike: not having those explains why early fortran didn't have recursion 2017-12-08T19:20:46Z pjb: shka: Actually, it was a second generation system: LISP has been developped only because neither the FORTRAN guys nor the Algo guys accepted to add ternary IF or COND to their languages! As for the cons cells, they were invented by NSS: http://informatimago.com/articles/flpl/index.html 2017-12-08T19:22:52Z hydan quit (Quit: Connection closed for inactivity) 2017-12-08T19:23:05Z pjb: Algol 2017-12-08T19:23:33Z Bike: didn't even have enough bytes to finish the name 2017-12-08T19:23:44Z shka: pjb: fascinating 2017-12-08T19:33:20Z smurfrobot quit (Remote host closed the connection) 2017-12-08T19:36:31Z k-stz: pjb: I'll keep it in the back of my head, I might just have occasion to check out your work, but its too much for now 2017-12-08T19:36:33Z LocaMocha quit (Ping timeout: 248 seconds) 2017-12-08T19:37:05Z k-stz: thanks, though 2017-12-08T19:38:58Z Cthulhux quit (Changing host) 2017-12-08T19:38:58Z Cthulhux joined #lisp 2017-12-08T19:43:32Z EvW joined #lisp 2017-12-08T19:47:03Z shka quit (Quit: Konversation terminated!) 2017-12-08T19:49:59Z varjag joined #lisp 2017-12-08T19:51:58Z damke joined #lisp 2017-12-08T19:54:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-08T19:57:02Z damke_ joined #lisp 2017-12-08T19:57:05Z Jesin joined #lisp 2017-12-08T19:59:41Z damke quit (Ping timeout: 240 seconds) 2017-12-08T20:01:25Z damke joined #lisp 2017-12-08T20:03:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-08T20:12:27Z j0nd0e quit (Ping timeout: 240 seconds) 2017-12-08T20:13:39Z raphaelss quit (Quit: Leaving) 2017-12-08T20:14:35Z warweasle quit (Quit: rcirc on GNU Emacs 24.4.1) 2017-12-08T20:15:12Z shka joined #lisp 2017-12-08T20:21:34Z nirved quit (Quit: Leaving) 2017-12-08T20:22:25Z knobo joined #lisp 2017-12-08T20:22:47Z EvW quit (Remote host closed the connection) 2017-12-08T20:25:53Z zooey quit (Remote host closed the connection) 2017-12-08T20:26:25Z zooey joined #lisp 2017-12-08T20:29:28Z sz0 quit (Quit: Connection closed for inactivity) 2017-12-08T20:31:31Z EvW joined #lisp 2017-12-08T20:33:05Z dalkire quit (Remote host closed the connection) 2017-12-08T20:46:42Z sukaeto joined #lisp 2017-12-08T20:46:57Z knobo quit (Ping timeout: 248 seconds) 2017-12-08T20:49:00Z knobo joined #lisp 2017-12-08T20:49:19Z smurfrobot joined #lisp 2017-12-08T20:51:49Z fikka joined #lisp 2017-12-08T20:55:41Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-12-08T20:56:21Z fikka quit (Ping timeout: 246 seconds) 2017-12-08T20:57:27Z knobo quit (Ping timeout: 240 seconds) 2017-12-08T20:57:31Z Devon quit (Ping timeout: 260 seconds) 2017-12-08T20:57:47Z osune quit (Remote host closed the connection) 2017-12-08T20:58:45Z osune joined #lisp 2017-12-08T20:59:05Z pierpa joined #lisp 2017-12-08T21:04:06Z python476: ever wanted to see lisp and quantum computers ? https://www.youtube.com/watch?v=f9vRcSAneiw 2017-12-08T21:05:55Z Guest70716 quit (Remote host closed the connection) 2017-12-08T21:06:21Z Guest70716 joined #lisp 2017-12-08T21:10:59Z jfe quit (Ping timeout: 276 seconds) 2017-12-08T21:15:43Z shka quit (Ping timeout: 248 seconds) 2017-12-08T21:25:15Z gtuser quit (Quit: gtuser) 2017-12-08T21:25:20Z Bike quit (Ping timeout: 260 seconds) 2017-12-08T21:30:28Z vlatkoB quit (Remote host closed the connection) 2017-12-08T21:38:28Z fikka joined #lisp 2017-12-08T21:42:57Z fikka quit (Ping timeout: 240 seconds) 2017-12-08T21:51:18Z Jesin quit (Quit: Leaving) 2017-12-08T21:53:09Z Cthulhux: lovely 2017-12-08T21:53:12Z python476: https://twitter.com/agumonkey/status/939246475774775301 2017-12-08T21:53:20Z python476: Cthulhux: you watched it ? 2017-12-08T21:53:29Z Cthulhux: not completely yet 2017-12-08T21:53:32Z Cthulhux: TL;DW ;-) 2017-12-08T21:53:55Z python476: Cthulhux: as you wish 2017-12-08T21:54:20Z jfe joined #lisp 2017-12-08T21:54:22Z python476: I loved the "grad students discover lisp and report about it down the road" 2017-12-08T21:54:47Z python476: anyway back to lol 2017-12-08T21:56:15Z Xof quit (Ping timeout: 248 seconds) 2017-12-08T21:56:25Z damke_ joined #lisp 2017-12-08T21:58:41Z damke quit (Ping timeout: 240 seconds) 2017-12-08T22:00:00Z kokonaisluku joined #lisp 2017-12-08T22:00:21Z random-nick quit (Remote host closed the connection) 2017-12-08T22:03:50Z smurfrobot quit (Remote host closed the connection) 2017-12-08T22:06:40Z SuperJen joined #lisp 2017-12-08T22:07:29Z resttime joined #lisp 2017-12-08T22:09:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-08T22:10:26Z Guest70716 quit (Ping timeout: 260 seconds) 2017-12-08T22:17:56Z Tobbi joined #lisp 2017-12-08T22:19:37Z resttime: I got CCL 1.9 working on flight hardware, I got told if packaged then it might get deployed with the satellite once it goes to space :3 2017-12-08T22:20:53Z resttime: I took a picture of testing sending a hex command to a serial device connected and it works: https://i.imgur.com/KLKm9iN.png 2017-12-08T22:21:06Z damke_ joined #lisp 2017-12-08T22:21:22Z whoman: =) =) 2017-12-08T22:22:56Z resttime: If I can get PPP running by compiling the kernel module then I might be able to get a REPL over SSH 2017-12-08T22:23:36Z resttime: At least on ground for testings 2017-12-08T22:29:11Z pjb: Do you have time to upgrade to 1.10 or 1.11? 2017-12-08T22:29:51Z pjb: Because IIRC, I had some bad bugs in 1.9, and was quite happy to upgrade to 1.10… (but it may have been MacOSX specific bugs, I don't remember). 2017-12-08T22:30:42Z resttime: I wasn't sure how, I read there would be some issues because the hardware uses soft float and that was 'abandoned' 1.10 and onwards would mess up some math functions 2017-12-08T22:31:00Z pjb: oh, in this case, stay with 1.9, indeed. 2017-12-08T22:31:33Z whoman: #1=with all of the (with-all-of-the-... in lisp, is there a commonly accepted practice to jump into rabbit holes ? also what is that procedure =)? 2017-12-08T22:32:04Z resttime: pjb: Yeah reading over release notes again for v1.10 and it says it https://trac.clozure.com/ccl/wiki/ReleaseNotes/1.10 2017-12-08T22:32:54Z fikka joined #lisp 2017-12-08T22:32:55Z pjb: whoman: I donm't understand your question. 2017-12-08T22:34:02Z whoman: pjb: i see a lot of lisp code using (with-...) as wrappers to create/destroy of various states or objects. is it normal that main program code is often wrapped in all of that ? 2017-12-08T22:34:06Z resttime: If I can send lisp to space and make it useful I will be satisfied (and then I will try to send my art on the satellite too hehehe) 2017-12-08T22:34:15Z pjb: whoman: yes. 2017-12-08T22:34:25Z pjb: whoman: it's the RAII pattern, basically. 2017-12-08T22:34:57Z knobo joined #lisp 2017-12-08T22:34:59Z osune quit (Read error: Connection reset by peer) 2017-12-08T22:34:59Z pjb: resttime: of course, if you write papers and make youtube conferences, you'll be in good place next to DeepSpace 1 and its RAX software. 2017-12-08T22:35:12Z LiamH quit (Quit: Leaving.) 2017-12-08T22:35:44Z jfe quit (Ping timeout: 255 seconds) 2017-12-08T22:36:27Z pseudonymous joined #lisp 2017-12-08T22:37:21Z fikka quit (Ping timeout: 248 seconds) 2017-12-08T22:37:39Z vertigo quit (Read error: Connection reset by peer) 2017-12-08T22:38:47Z vertigo joined #lisp 2017-12-08T22:38:52Z smurfrobot joined #lisp 2017-12-08T22:39:06Z cas_ joined #lisp 2017-12-08T22:39:40Z whoman: pjb: okay thanks, i will search =) 2017-12-08T22:40:01Z pjb: whoman: have a look at with-open-file ; macroexpand it. 2017-12-08T22:40:06Z pjb: clhs with-open-file 2017-12-08T22:40:06Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_w_open.htm 2017-12-08T22:41:56Z resttime: Hahaha no way, what I do is so little. I am in disbelief that I somehow ended up this kind of stuff. Like I see how stuff happened but at the same time I'm like, "waht? serisouly?" 2017-12-08T22:43:57Z knobo quit (Ping timeout: 240 seconds) 2017-12-08T22:47:08Z _krator44 quit (Changing host) 2017-12-08T22:47:08Z _krator44 joined #lisp 2017-12-08T22:47:08Z _krator44 quit (Changing host) 2017-12-08T22:47:08Z _krator44 joined #lisp 2017-12-08T22:47:37Z jfe joined #lisp 2017-12-08T22:48:04Z whoman: pjb: ive dont a bunch of C++ so the idioms make a lot of sense to me. and now i understand.. so its quite alright to have many levels deep of main code running inside of the insides of the insides of ... ? perhaps i am touching in to some stack depth trauma, i am not smart enough to see 2017-12-08T22:51:27Z jasom: whoman: there's no issue whatsoever in doing it 2017-12-08T22:53:33Z neoncontrails quit (Remote host closed the connection) 2017-12-08T22:54:12Z jasom: whoman: because of the possibility of non-local exits, you're going to have a lot of code of the pattern (let ((foo ...)) (unwind-protect (progn ...) (destroy foo))) the WITH- familiy of macros just allow you to not worry about all the moving parts there. 2017-12-08T22:54:13Z neoncontrails joined #lisp 2017-12-08T22:54:54Z Guest24518 left #lisp 2017-12-08T22:54:58Z lisp_guest joined #lisp 2017-12-08T22:55:44Z lisp_guest: hi everyone, could someone tell me what's wrong with this piece of code? http://rextester.com/TDO73450 2017-12-08T22:55:53Z lisp_guest: i've been starting at it for a while but can't seem to find what's wrong 2017-12-08T22:56:04Z lisp_guest: this is almost literally copied from Let Over Lambda's Chapter 3 2017-12-08T22:56:46Z knobo joined #lisp 2017-12-08T22:56:50Z Bicyclidine: this code is nonconforming. (the code in let over lambda is nonconforming.) 2017-12-08T22:56:52Z jasom: (print (1 2 ,g!three)) <-- looks very wrong 2017-12-08T22:56:54Z Bicyclidine is now known as Bike 2017-12-08T22:57:07Z damke joined #lisp 2017-12-08T22:57:32Z lisp_guest: it does seem fishy to me too, but i've been thinking that the book must be right, so it's probably my fault in not understanding backquote correctly or something 2017-12-08T22:57:48Z Bike: no, the book is wrong. you're not the first person to come in here asking about defmacro/g! 2017-12-08T22:58:05Z lisp_guest: hah, really, that makes me happy :-) 2017-12-08T22:58:09Z Bike: when i say "wrong" i mean that it works on several implementations, such as ccl. but it's not conformant code. 2017-12-08T22:58:21Z lisp_guest: i see. what exactly is non-conforming about ti? 2017-12-08T22:58:24Z lisp_guest: it* 2017-12-08T22:58:28Z whoman: jasom: ah cool, that is exactly what i was hoping =) i will read more about non-local exits later on. im still not approaching return/return-from and how that seems a bit magical 2017-12-08T22:58:30Z Shinmera: It's ironic that a book with a tone so preachy and arrogant has bad code in it 2017-12-08T22:58:35Z neoncontrails quit (Ping timeout: 240 seconds) 2017-12-08T22:58:45Z whoman: lol that sounds like perfect compliment Shinmera . 2017-12-08T22:58:55Z Shinmera: whoman: ? 2017-12-08T22:59:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-08T22:59:06Z Shinmera: It's the opposite of a compliment. I'm making fun of the author. 2017-12-08T22:59:14Z lisp_guest: yeah, reading the introduction made the book seem like ***THE BOOK*** 2017-12-08T22:59:19Z Bike: clhs ` 2017-12-08T22:59:19Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/02_df.htm 2017-12-08T22:59:27Z pjb: whoman: that said, if you have to open several files and it bothers you to have several with-open-file embedded, you can always write a macro to be able to open them all in one go. Just like LET lets you bind several variables at once. 2017-12-08T22:59:29Z jasom: whoman: even absent non-local exits, it's useful to not forget the teardown code 2017-12-08T22:59:38Z Bike: "An implementation is free to interpret a backquoted form F1 as any form F2 that, when evaluated, will produce a result that is the same under equal as the result implied by the above definition, provided that the side-effect behavior of the substitute form F2 is also consistent with the description given above." 2017-12-08T23:00:13Z Cymew joined #lisp 2017-12-08T23:00:22Z Bike: this means that `whatever can be read as anything. it can incorporate things like vectors and structs that flatten doesn't know about. 2017-12-08T23:00:39Z pjb: jasom: it's probably not a stand alone expression. Check where it occurs, and see if there's a ` around it. 2017-12-08T23:00:59Z damke_ joined #lisp 2017-12-08T23:01:04Z whoman: Shinmera: why would someone with ego problems have good code? is what i am thinking. 2017-12-08T23:01:43Z jasom: whoman: I think Shinmera was more "People in glass houses shouldn't throw stones" 2017-12-08T23:01:44Z whoman: pjb: ah, that makes sense! thinking ahead of me there, thx =) 2017-12-08T23:01:45Z lisp_guest: Bike: hmm, so would that be the reason why one of the symbols is literally ",g!three" instead of "g!three" as i would expect? 2017-12-08T23:01:52Z Shinmera: Well, I mean, some people have a good justification for saying their stuff is good. Because it is actually good. 2017-12-08T23:02:00Z Bike: lisp_guest: that said, your code is wrong in another way, and i don't know if it's from the book 2017-12-08T23:02:18Z lisp_guest: Bike: probably is, i'm all ears 2017-12-08T23:02:19Z pjb: lisp_guest: The bug is on the second line of: (defmacro/g! test-macro (x y) `(let ((,g!three 3)) (print (1 2 ,g!three)))) 2017-12-08T23:02:30Z Bike: lisp_guest: first you call syms-in, which sort of flattens a form, then you call g!-sym-p on each item 2017-12-08T23:02:31Z pjb: it should be `(let ((g!three 3)) 2017-12-08T23:02:48Z Bike: lisp_guest: g!-sym-p takes the symbol-name immediately 2017-12-08T23:02:50Z smurfrobot quit (Remote host closed the connection) 2017-12-08T23:03:01Z Bike: lisp_guest: so, if your form has a 3 in it, your thing tries to do (symbol-name 3), which is wrong 2017-12-08T23:03:01Z damke quit (Ping timeout: 240 seconds) 2017-12-08T23:03:19Z Bike: lisp_guest: it checks for symbolp right below that, but it should be checking above 2017-12-08T23:03:37Z lisp_guest: oh right, thanks 2017-12-08T23:03:48Z zachk joined #lisp 2017-12-08T23:04:11Z lisp_guest: Bike: and to make the code actually work portably, what would i have to do? 2017-12-08T23:04:14Z Bike: pjb: the intent of this is that g!three will be bound at macroexpansion time to a gensym 2017-12-08T23:04:23Z pjb: Well, the other bug is in (print (1 2 ,g!three)) since 1 is not the name of a function! 2017-12-08T23:04:24Z whoman: Bike: whoa that is intense 2017-12-08T23:04:31Z lisp_guest: pjb: but i want to bind the symbol that's bound to g!three 2017-12-08T23:04:31Z whoman: @ ` 2017-12-08T23:04:33Z Bike: oh, that is a bug. 2017-12-08T23:04:41Z Cymew quit (Ping timeout: 260 seconds) 2017-12-08T23:04:50Z jasom: pjb: that's what I was referring to when I said it looked wrong 2017-12-08T23:04:53Z Bike: lisp_guest: there's no way to do this well (where "well" includes conformingly) 2017-12-08T23:04:57Z jfe quit (Ping timeout: 240 seconds) 2017-12-08T23:05:04Z jasom: Bike: I disagre 2017-12-08T23:05:09Z pjb: In that case it would need (print '(1 2 ,,g!three)) 2017-12-08T23:05:10Z Bike: oh? 2017-12-08T23:05:12Z jasom: Bike: you can use a portable quasiquote implementation 2017-12-08T23:05:32Z lisp_guest: pjb: would that be a quote or a quasiquote on that list? 2017-12-08T23:05:33Z Bike: backquote is only part of the problem. other code can include code in non-lists. 2017-12-08T23:05:57Z jasom: Bike: oh right, macros can expand to whatevery the implementation desires 2017-12-08T23:06:01Z Bike: (defmacro foo (thing) (struct-read thing)) is ok. rare, but ok, and implementations do this kind of thing sometimes. 2017-12-08T23:06:11Z Bike: (meaning you have a literal struct in the source) 2017-12-08T23:06:40Z pjb: well if g!three is bound to a variable name, then it should be (print (list 1 2 ,g!three)) 2017-12-08T23:06:53Z jasom: wait, this happens before the body is macroexpanded, so it shouldn't be an issue there, right? i.e. it's not the generic code-walker problem 2017-12-08T23:07:13Z SuperJen quit (Remote host closed the connection) 2017-12-08T23:07:14Z Bike: the problem is that it's not macroexpanded. 2017-12-08T23:07:20Z lisp_guest: pjb: what about (print `(1 2 3 ,,g!three))? 2017-12-08T23:07:27Z Bike: what sbcl does is read ,foo as #S(COMMA :form foo) or something. 2017-12-08T23:07:40Z SuperJen joined #lisp 2017-12-08T23:07:42Z whoman: no lisp eval bot eh? 2017-12-08T23:07:46Z jasom: Bike: which is why using a portable quasiquote library is okay 2017-12-08T23:07:48Z Bike: so in the unmacroexpanded code, there's a literal struct. and in that struct, there's something that will be a form later 2017-12-08T23:07:57Z pjb: but syms-in is buggy, it should be: (defun syms-in (&rest body) (remove-if-not (functiokn symbolp) (remove-duplicates (flatten body)))) 2017-12-08T23:08:02Z Bike: but defmacro/g! can't know to get the symbol out 2017-12-08T23:08:25Z jasom: Bike: the rest of the standard readtable is pretty well defined, right? quasiquotation is the only issue 2017-12-08T23:08:41Z Bike: i already said there are other cases 2017-12-08T23:08:59Z jasom: Bike: do you have an example? 2017-12-08T23:09:25Z Bike: (defstruct foo form) (defmacro unfoo (thing) (foo-form thing)) now have code like (unfoo #.(make-foo :form 'g!three)) 2017-12-08T23:09:35Z lisp_guest: pjb: i've fixed g!-sym-p according to what bike said, i.e. moving the check for symbolp before using (symbol-name s) 2017-12-08T23:09:44Z lisp_guest: so it should be ok now, right? 2017-12-08T23:09:45Z pjb: http://sprunge.us/aPTI 2017-12-08T23:09:59Z Bike: it's still fundamentally non conformant, lisp_guest 2017-12-08T23:10:08Z pjb: lisp_guest: it would do too, yes. 2017-12-08T23:10:26Z jasom: Bike: I'm missing how (foo-form thing) can have a *read-time* expansion of a non-list 2017-12-08T23:10:35Z Bike: huh? it's not read time. 2017-12-08T23:10:44Z lisp_guest: Bike: so using what you quoted from clhs, where exactly is the part that's wrong? 2017-12-08T23:11:04Z Bike: the part that's wrong is the assumption that lisp code is entirely contained in list structure 2017-12-08T23:11:23Z jasom: oh, I see what you're saying. It's not non-conformant, it just requires that the body be a list. 2017-12-08T23:11:33Z lisp_guest: oh i see, so the code walker incorrectly assumes everything will be a list? 2017-12-08T23:11:34Z jasom: (Bacquote still needs to be fixed) 2017-12-08T23:11:44Z waynecolvin quit (Quit: WeeChat 2.0) 2017-12-08T23:11:47Z pjb: So yes, the code in "Let Over Lambda" is pedagogical! You have to find the bugs in it… :-) 2017-12-08T23:11:49Z Bike: okay, yes. but this is a bad requirement to make. 2017-12-08T23:12:33Z Bike: especially since the problem being solved is being too lazy to use with-gensyms explicitly :/ 2017-12-08T23:12:52Z jasom: LoL shows it in use with quasi-quote, which is absolutely wrong; the rest becomes more of a style question 2017-12-08T23:13:11Z lisp_guest: indeed :-), but it's a fun exercise 2017-12-08T23:13:33Z lisp_guest: so basically, quasiquotes when read have impl-defined representation? 2017-12-08T23:13:43Z jasom: as long as LoL is approached as a fun exercise it's fine. It shouldn't be used as a library of useful macros 2017-12-08T23:14:03Z Bike: and that representation can include code outside of list structure, that is the obvious problem, yes. 2017-12-08T23:14:21Z lisp_guest: what does "list structure" mean here? 2017-12-08T23:14:26Z jasom: lisp_guest: yes. There are similar issues e.g. for pattern matching. The solution there is to use a known quasiquote implementation (e.g. fare-quasiquote) 2017-12-08T23:14:33Z Bike: flatten only knows about lists. 2017-12-08T23:14:43Z jasom: lisp_guest: where the onlyh aggregate datatype is a list 2017-12-08T23:15:00Z jasom: e.g. (foo (bar)) vs. (foo #(bar)) 2017-12-08T23:15:03Z lisp_guest: right, that's what i meant, but the formulation was kinda weird (for me at least) 2017-12-08T23:15:06Z lisp_guest: mhm 2017-12-08T23:15:14Z lisp_guest: s/meant/thought/ 2017-12-08T23:15:36Z Bike: it's a subtle issue. experienced lisp programmers can still find this shit confusing. 2017-12-08T23:16:08Z lisp_guest: i've read the clhs page multiple times but didn't connect the fact that flatten only works on lists and that "any other form F2" might contain non-lists 2017-12-08T23:16:17Z rawste quit (Quit: Quitting…) 2017-12-08T23:16:17Z Bike: see? subtle 2017-12-08T23:16:31Z lisp_guest: indeed, but it's also my noobiness i blame :-) 2017-12-08T23:16:34Z Bike: i don't think any implementation did choose to expand into non-lists, before sbcl switched to that uh... a year ago? 2017-12-08T23:16:54Z lisp_guest: i mean, i started seriously with studying lisp only a month or so ago 2017-12-08T23:16:59Z Shinmera: I remember some people getting mad about that 2017-12-08T23:17:10Z lisp_guest: i think that's just what i read today lol 2017-12-08T23:17:16Z lisp_guest: but i couldn't understand what the fuss was about 2017-12-08T23:17:27Z lisp_guest: hah i guess now it makes sense (if that really was the thing i read about) 2017-12-08T23:18:01Z lisp_guest: so walking over code that uses ` is a no-no 2017-12-08T23:18:18Z Bike: walking over code like this in general is not great. 2017-12-08T23:18:34Z Bike: anyway, like i said, you're not the first newbie to come in here asking about this. it's most of what i've heard of LoL, so my opinion isn't great, but on the other hand i haven't heard any OTHER problems with it, so just be cautious i guess 2017-12-08T23:18:58Z lisp_guest: yeah, glad i had someone to ask :-), thanks 2017-12-08T23:18:59Z pjb: lisp_guest: depends on what you mean by "walking over". The expansions should contain only functions, macros and standard special operators, so a code walker should be able to interpret it correctly. 2017-12-08T23:19:33Z lisp_guest: another question, in the body of defmacro/g!, inside the first quasiquote, when ,@body is spliced into the list 2017-12-08T23:19:36Z pjb: The only problem to code walkers are implementation specific special operators (not covered by a macro expanding to non implementation specific special operators). 2017-12-08T23:19:50Z lisp_guest: in the case where body itself uses a quasiquote (i.e. in my test-macro) 2017-12-08T23:20:03Z lisp_guest: what is expanded first? the quasiquote in body, or the beginning quasiquote 2017-12-08T23:20:19Z cas_ quit (Quit: Leaving) 2017-12-08T23:20:49Z lisp_guest: pjb: understood 2017-12-08T23:21:54Z smurfrobot joined #lisp 2017-12-08T23:22:17Z kokonaisluku quit (Quit: ChatZilla 0.9.93 [Firefox 52.5.0/20171117140933]) 2017-12-08T23:22:34Z lisp_guest: the relevant definition from clhs i see about ,@body is "[,@form] is interpreted as form" 2017-12-08T23:22:56Z lisp_guest: "form" here is my "body", but "body" itself is a list of something that uses quasiquote 2017-12-08T23:23:13Z smurfrobot quit (Remote host closed the connection) 2017-12-08T23:24:24Z shenghi quit (Ping timeout: 246 seconds) 2017-12-08T23:26:23Z neoncontrails joined #lisp 2017-12-08T23:26:57Z __rumbler31 quit (Ping timeout: 240 seconds) 2017-12-08T23:29:05Z knobo quit (Ping timeout: 240 seconds) 2017-12-08T23:31:54Z shenghi joined #lisp 2017-12-08T23:36:00Z smurfrobot joined #lisp 2017-12-08T23:37:12Z smurfrobot quit (Remote host closed the connection) 2017-12-08T23:38:39Z smurfrobot joined #lisp 2017-12-08T23:38:40Z smurfrobot quit (Remote host closed the connection) 2017-12-08T23:38:52Z smurfrobot joined #lisp 2017-12-08T23:39:47Z notemerson joined #lisp 2017-12-08T23:42:23Z jasom: lisp_guest: quasiquote is expanded by the reader, and are expanded as soon as it is read 2017-12-08T23:43:28Z jasom: lisp_guest: if you have a quasiquote inside a quasiquote, recurse down to the inner quasiquote 2017-12-08T23:43:40Z jasom: ``(foo ,bar)) the outter quasiquote never sees the comma 2017-12-08T23:43:51Z emaczen` quit (Ping timeout: 240 seconds) 2017-12-08T23:43:54Z smurfrobot quit (Remote host closed the connection) 2017-12-08T23:44:16Z lisp_guest: jasom: right, so in this example http://rextester.com/TDO73450 (ignore the mentioned bugs), when ,@body is used to splice another list, i.e. the list "body" 2017-12-08T23:44:27Z smurfrobot joined #lisp 2017-12-08T23:44:44Z lisp_guest: this list "body" was constructed by capturing the body of "test-macro" which itself had a quasiquote 2017-12-08T23:45:08Z jasom: lisp_guest: that's the wrong way to think about it 2017-12-08T23:45:11Z lisp_guest: was this quasiquote already expanded then, before being bound to "body"? 2017-12-08T23:45:17Z jasom: lisp_guest: there are no nested quasiquotes there. 2017-12-08T23:45:31Z lisp_guest: yeah, i'm trying to wrap my head around it 2017-12-08T23:45:34Z jasom: lisp_guest: yes quasiquote is expanded at *read* time, long before macros ever get into it 2017-12-08T23:45:43Z smurfrobot quit (Remote host closed the connection) 2017-12-08T23:46:01Z jasom: (read-from-string "`(foo , bar)") 2017-12-08T23:46:49Z lisp_guest: what am i supposed to see? 2017-12-08T23:46:52Z jasom: of course sbcl doesn't help you out for making it obvious 2017-12-08T23:47:46Z lisp_guest: right, so i'd have to use some other implementation that doesn't use these internal representations for quasiquote 2017-12-08T23:48:00Z groovy2shoes quit (Excess Flood) 2017-12-08T23:48:13Z lisp_guest: i guess that's part of why it was so confusing 2017-12-08T23:48:21Z jasom: I should say, it is expanded to some unknown FORM that when evaluated will generate something equivalent to what the hyperspec says 2017-12-08T23:48:23Z groovy2shoes joined #lisp 2017-12-08T23:48:37Z lisp_guest: being aware that the internal representation of quasiquote is impl-specific makes it clearer now a bit 2017-12-08T23:49:45Z lisp_guest: hm, clips also doesn't help, i get the same output as with sbcl 2017-12-08T23:49:45Z smurfrobot joined #lisp 2017-12-08T23:50:11Z flavio81 joined #lisp 2017-12-08T23:50:40Z jasom: lisp_guest: the spec even mentions that implementations may do this for making printing prettier 2017-12-08T23:50:42Z lisp_guest: i guess i'll just have to use my imagination 2017-12-08T23:50:55Z varjag quit (Ping timeout: 248 seconds) 2017-12-08T23:51:06Z jasom: (car (read-from-string "`(foo, bar)")) may help 2017-12-08T23:51:25Z lisp_guest: jasom: ya, i've read that paragraph multiple times but couldn't think of an example where it might affect me 2017-12-08T23:51:30Z lisp_guest: now it's pretty obvious i guess 2017-12-08T23:51:32Z lisp_guest: let me try that 2017-12-08T23:52:28Z varjag joined #lisp 2017-12-08T23:52:30Z lisp_guest: ah, SB-INT:QUASIQUOTE 2017-12-08T23:52:37Z lisp_guest: and SYSTEM:QUASIQUOTE in clisp 2017-12-08T23:52:41Z smurfrobot quit (Remote host closed the connection) 2017-12-08T23:52:58Z jasom: (describe (cadadr (read-from-string "`(foo, bar)"))) may help 2017-12-08T23:53:31Z emerson quit (Quit: WeeChat 1.9.1) 2017-12-08T23:53:31Z notemerson is now known as emerson 2017-12-08T23:53:47Z jfe joined #lisp 2017-12-08T23:53:54Z lisp_guest: is there a reason your comma comes directly after "foo"? 2017-12-08T23:53:58Z lisp_guest: i.e. is that intentional? 2017-12-08T23:55:40Z jasom: lisp_guest: typo 2017-12-08T23:55:44Z jasom: lisp_guest: makes no difference though 2017-12-08T23:56:04Z jasom: https://gitlab.common-lisp.net/frideau/fare-quasiquote <-- readme here also talks a lot about quasiquotation 2017-12-08T23:56:11Z lisp_guest: i am just reading that 2017-12-08T23:56:14Z lisp_guest: thanks :-) 2017-12-08T23:57:27Z varjag quit (Ping timeout: 268 seconds) 2017-12-08T23:59:29Z wxie joined #lisp 2017-12-09T00:00:24Z Bike: "n conformance with the CLHS, fare-quasiquote expands its patterns at read-time ... If you enable feature #+quasiquote-at-macro-expansion-time, fare-quasiquote will expands its patterns at macro-expansion time, using the same convention as Scheme, with symbols quasiquote, unquote, unquote-splicing and unquote-nsplicing" huh? 2017-12-09T00:01:10Z zachk quit 2017-12-09T00:07:47Z applePrincess joined #lisp 2017-12-09T00:08:02Z smurfrobot joined #lisp 2017-12-09T00:11:34Z ryanbw joined #lisp 2017-12-09T00:11:42Z smurfrobot quit (Remote host closed the connection) 2017-12-09T00:19:38Z safe joined #lisp 2017-12-09T00:20:48Z fikka joined #lisp 2017-12-09T00:21:36Z emaczen joined #lisp 2017-12-09T00:25:25Z applePrincess quit (Quit: Mutter: www.mutterirc.com) 2017-12-09T00:25:27Z fikka quit (Ping timeout: 240 seconds) 2017-12-09T00:28:26Z flavio81 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2017-12-09T00:28:39Z flavio81 joined #lisp 2017-12-09T00:29:05Z mishoo quit (Ping timeout: 240 seconds) 2017-12-09T00:30:06Z safe quit (Read error: Connection reset by peer) 2017-12-09T00:39:35Z applePrincess joined #lisp 2017-12-09T00:40:40Z safe joined #lisp 2017-12-09T00:42:25Z applePrincess is now known as princessOfApple 2017-12-09T00:43:23Z cromachina joined #lisp 2017-12-09T00:43:48Z Karl_Dscc quit (Remote host closed the connection) 2017-12-09T00:45:56Z karswell quit (Remote host closed the connection) 2017-12-09T00:47:05Z karswell joined #lisp 2017-12-09T00:47:53Z xrash quit (Read error: Connection reset by peer) 2017-12-09T00:50:37Z turkja joined #lisp 2017-12-09T00:58:20Z princessOfApple quit (Quit: Mutter: www.mutterirc.com) 2017-12-09T01:00:33Z red-dot joined #lisp 2017-12-09T01:08:16Z SuperJen quit (Remote host closed the connection) 2017-12-09T01:08:42Z SuperJen joined #lisp 2017-12-09T01:08:45Z Devon joined #lisp 2017-12-09T01:10:17Z smurfrobot joined #lisp 2017-12-09T01:12:39Z FreeBirdLjj joined #lisp 2017-12-09T01:15:12Z fikka joined #lisp 2017-12-09T01:16:02Z smurfrobot quit (Remote host closed the connection) 2017-12-09T01:17:06Z FreeBirdLjj quit (Ping timeout: 260 seconds) 2017-12-09T01:17:22Z impulse joined #lisp 2017-12-09T01:19:59Z fikka quit (Ping timeout: 248 seconds) 2017-12-09T01:26:11Z impulse quit (Quit: Lost terminal) 2017-12-09T01:29:26Z guest10 joined #lisp 2017-12-09T01:30:20Z guest10 quit (Client Quit) 2017-12-09T01:32:27Z pseudonymous quit (Ping timeout: 240 seconds) 2017-12-09T01:33:32Z EvW quit (Ping timeout: 240 seconds) 2017-12-09T01:35:46Z Devon quit (Ping timeout: 260 seconds) 2017-12-09T01:44:40Z waynecolvin joined #lisp 2017-12-09T01:48:03Z damke joined #lisp 2017-12-09T01:48:20Z resttime quit (Quit: Leaving) 2017-12-09T01:50:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-09T01:51:16Z mson quit (Quit: Connection closed for inactivity) 2017-12-09T01:58:38Z smurfrobot joined #lisp 2017-12-09T02:01:31Z parjanya quit (Remote host closed the connection) 2017-12-09T02:03:22Z flavio81 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2017-12-09T02:08:26Z k-stz quit (Remote host closed the connection) 2017-12-09T02:08:28Z damke_ joined #lisp 2017-12-09T02:09:35Z FreeBirdLjj joined #lisp 2017-12-09T02:10:02Z brendyn joined #lisp 2017-12-09T02:11:01Z damke quit (Ping timeout: 240 seconds) 2017-12-09T02:11:59Z damke joined #lisp 2017-12-09T02:13:53Z FreeBirdLjj quit (Ping timeout: 248 seconds) 2017-12-09T02:14:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-09T02:22:07Z zulu_inuoe joined #lisp 2017-12-09T02:24:33Z zulu_inuoe_ quit (Ping timeout: 248 seconds) 2017-12-09T02:24:57Z d4ryus2 joined #lisp 2017-12-09T02:27:09Z mson joined #lisp 2017-12-09T02:27:11Z smurfrobot quit (Remote host closed the connection) 2017-12-09T02:27:57Z d4ryus1 quit (Ping timeout: 240 seconds) 2017-12-09T02:30:10Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-09T02:40:19Z dieggsy joined #lisp 2017-12-09T02:50:31Z neoncontrails quit (Remote host closed the connection) 2017-12-09T02:51:07Z neoncontrails joined #lisp 2017-12-09T02:52:35Z neoncont_ joined #lisp 2017-12-09T02:55:23Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-09T03:01:11Z kolb quit (Read error: Connection reset by peer) 2017-12-09T03:01:41Z mrottenkolber joined #lisp 2017-12-09T03:02:01Z damke quit (Ping timeout: 240 seconds) 2017-12-09T03:02:04Z mrottenkolber is now known as Guest7354 2017-12-09T03:02:05Z damke__ joined #lisp 2017-12-09T03:03:07Z fikka joined #lisp 2017-12-09T03:04:59Z wxie quit (Quit: Bye.) 2017-12-09T03:06:20Z vtomole joined #lisp 2017-12-09T03:06:44Z vtomole: Was this already discussed here? https://www.youtube.com/watch?v=f9vRcSAneiw 2017-12-09T03:07:32Z |3b|: mentioned a few times, not sure there was much discussion 2017-12-09T03:08:00Z fikka quit (Ping timeout: 268 seconds) 2017-12-09T03:10:41Z dieggsy quit (Ping timeout: 255 seconds) 2017-12-09T03:13:37Z orivej quit (Ping timeout: 248 seconds) 2017-12-09T03:16:42Z smurfrobot joined #lisp 2017-12-09T03:18:41Z vtomole: Looks like my post was the third time. Should have checked logs. 2017-12-09T03:28:41Z sajvif joined #lisp 2017-12-09T03:29:05Z ebrasca joined #lisp 2017-12-09T03:31:44Z aeth: What video is that? There's no title bot in here and I don't trust YouTube links. (Although it probably is safe or else |3b| would have commented.) 2017-12-09T03:32:03Z aeth: Oh, it's this one, don't even need to click, it matches the URL on the front of HN. https://news.ycombinator.com/item?id=15880172 2017-12-09T03:32:08Z aeth: "Lisp at the Frontier of Computation" 2017-12-09T03:34:20Z vtomole: It's interesting how they "made" their interns work on a lisp codebase. 2017-12-09T03:35:28Z safe quit (Read error: Connection reset by peer) 2017-12-09T03:38:42Z sajvif quit (Quit: [BX] I theenk I need a beeger box!) 2017-12-09T03:39:37Z vtomole: From around 43 minutes in that video he talks about what the interns thought of Lisp. 2017-12-09T03:43:09Z jfe quit (Ping timeout: 268 seconds) 2017-12-09T03:51:12Z khisanth_ quit (Ping timeout: 240 seconds) 2017-12-09T03:54:27Z pierpa quit (Quit: Page closed) 2017-12-09T03:55:17Z TCZ joined #lisp 2017-12-09T04:05:12Z khisanth_ joined #lisp 2017-12-09T04:08:32Z earl-ducaine joined #lisp 2017-12-09T04:08:53Z jfe joined #lisp 2017-12-09T04:12:48Z TCZ quit (Quit: Leaving) 2017-12-09T04:26:25Z asarch joined #lisp 2017-12-09T04:27:13Z bkst quit (Ping timeout: 248 seconds) 2017-12-09T04:29:27Z smurfrobot quit (Remote host closed the connection) 2017-12-09T04:30:24Z Zhivago joined #lisp 2017-12-09T04:31:36Z FreeBirdLjj joined #lisp 2017-12-09T04:32:44Z zooey quit (Ping timeout: 248 seconds) 2017-12-09T04:33:41Z zooey joined #lisp 2017-12-09T04:37:53Z python476 quit (Ping timeout: 248 seconds) 2017-12-09T04:38:42Z karswell quit (Ping timeout: 246 seconds) 2017-12-09T04:40:22Z smurfrobot joined #lisp 2017-12-09T04:45:00Z parjanya joined #lisp 2017-12-09T04:50:30Z hexfive quit (Quit: WeeChat 1.9.1) 2017-12-09T04:51:20Z fikka joined #lisp 2017-12-09T04:52:11Z bkst joined #lisp 2017-12-09T04:55:59Z fikka quit (Ping timeout: 255 seconds) 2017-12-09T04:56:49Z mson quit (Quit: Connection closed for inactivity) 2017-12-09T04:57:57Z kark joined #lisp 2017-12-09T05:03:21Z damke__ quit (Ping timeout: 240 seconds) 2017-12-09T05:05:37Z thorondor[m] quit (*.net *.split) 2017-12-09T05:05:37Z astronavt[m] quit (*.net *.split) 2017-12-09T05:05:37Z NaNDude quit (*.net *.split) 2017-12-09T05:05:37Z Firedancer quit (*.net *.split) 2017-12-09T05:05:38Z jdz quit (*.net *.split) 2017-12-09T05:05:38Z cpt_nemo quit (*.net *.split) 2017-12-09T05:05:38Z theBlackDragon quit (*.net *.split) 2017-12-09T05:05:38Z fe[nl]ix quit (*.net *.split) 2017-12-09T05:05:38Z Blkt quit (*.net *.split) 2017-12-09T05:05:38Z sebastien_ quit (*.net *.split) 2017-12-09T05:05:38Z akash47 quit (*.net *.split) 2017-12-09T05:05:38Z minion quit (*.net *.split) 2017-12-09T05:05:38Z pmden quit (*.net *.split) 2017-12-09T05:05:38Z chocolait quit (*.net *.split) 2017-12-09T05:05:38Z misv quit (*.net *.split) 2017-12-09T05:05:38Z sword quit (*.net *.split) 2017-12-09T05:05:38Z nikivi quit (*.net *.split) 2017-12-09T05:05:38Z Rovanion quit (*.net *.split) 2017-12-09T05:05:38Z joeygibson quit (*.net *.split) 2017-12-09T05:05:38Z danlentz quit (*.net *.split) 2017-12-09T05:05:38Z d4gg4d_ quit (*.net *.split) 2017-12-09T05:05:38Z tmc quit (*.net *.split) 2017-12-09T05:05:38Z Poetichristmas quit (*.net *.split) 2017-12-09T05:05:39Z benny quit (*.net *.split) 2017-12-09T05:05:39Z askatasuna quit (*.net *.split) 2017-12-09T05:05:39Z XachX quit (*.net *.split) 2017-12-09T05:05:39Z stylewarning quit (*.net *.split) 2017-12-09T05:05:39Z odin quit (*.net *.split) 2017-12-09T05:05:39Z alandipert quit (*.net *.split) 2017-12-09T05:05:39Z shaftoe quit (*.net *.split) 2017-12-09T05:05:39Z vtomole quit (*.net *.split) 2017-12-09T05:05:39Z zooey quit (*.net *.split) 2017-12-09T05:05:39Z Lord_of_Life quit (*.net *.split) 2017-12-09T05:05:39Z bailon quit (*.net *.split) 2017-12-09T05:05:39Z GGMethos quit (*.net *.split) 2017-12-09T05:05:39Z lonjil quit (*.net *.split) 2017-12-09T05:05:40Z banjiewen quit (*.net *.split) 2017-12-09T05:05:40Z alphor quit (*.net *.split) 2017-12-09T05:05:40Z josh5tone quit (*.net *.split) 2017-12-09T05:05:40Z Posterdati quit (*.net *.split) 2017-12-09T05:05:40Z antoszka quit (*.net *.split) 2017-12-09T05:05:40Z cpape quit (*.net *.split) 2017-12-09T05:05:40Z felideon quit (*.net *.split) 2017-12-09T05:05:40Z jeremyheiler quit (*.net *.split) 2017-12-09T05:05:41Z aaronjensen quit (*.net *.split) 2017-12-09T05:05:41Z asedeno quit (*.net *.split) 2017-12-09T05:05:41Z mood quit (*.net *.split) 2017-12-09T05:05:41Z vhost- quit (*.net *.split) 2017-12-09T05:05:41Z larme quit (*.net *.split) 2017-12-09T05:05:41Z gilberth quit (*.net *.split) 2017-12-09T05:05:41Z kilimanjaro quit (*.net *.split) 2017-12-09T05:05:41Z tobel quit (*.net *.split) 2017-12-09T05:05:41Z billstclair quit (*.net *.split) 2017-12-09T05:05:41Z rvirding quit (*.net *.split) 2017-12-09T05:05:41Z elts quit (*.net *.split) 2017-12-09T05:05:41Z flip214 quit (*.net *.split) 2017-12-09T05:05:41Z terrorjack quit (*.net *.split) 2017-12-09T05:05:41Z jyc quit (*.net *.split) 2017-12-09T05:05:42Z gz_ quit (*.net *.split) 2017-12-09T05:05:42Z azrazalea quit (*.net *.split) 2017-12-09T05:05:42Z parjanya quit (*.net *.split) 2017-12-09T05:05:42Z trigt[m] quit (*.net *.split) 2017-12-09T05:05:43Z schweers quit (*.net *.split) 2017-12-09T05:05:43Z itruslove quit (*.net *.split) 2017-12-09T05:05:43Z scymtym quit (*.net *.split) 2017-12-09T05:05:43Z nhandler quit (*.net *.split) 2017-12-09T05:05:43Z creat quit (*.net *.split) 2017-12-09T05:05:43Z tfb quit (*.net *.split) 2017-12-09T05:05:43Z raynold quit (*.net *.split) 2017-12-09T05:05:43Z pmcana quit (*.net *.split) 2017-12-09T05:05:43Z GreaseMonkey quit (*.net *.split) 2017-12-09T05:05:43Z xantoz quit (*.net *.split) 2017-12-09T05:05:43Z kjeldahl quit (*.net *.split) 2017-12-09T05:05:44Z _krator44 quit (*.net *.split) 2017-12-09T05:05:44Z Zhivago quit (*.net *.split) 2017-12-09T05:05:44Z Guest7354 quit (*.net *.split) 2017-12-09T05:05:44Z waynecolvin quit (*.net *.split) 2017-12-09T05:05:44Z shenghi quit (*.net *.split) 2017-12-09T05:05:44Z emerson quit (*.net *.split) 2017-12-09T05:05:44Z Xal quit (*.net *.split) 2017-12-09T05:05:44Z hiq[m] quit (*.net *.split) 2017-12-09T05:05:45Z Guest55636 quit (*.net *.split) 2017-12-09T05:05:45Z pjb quit (*.net *.split) 2017-12-09T05:05:45Z giraffe quit (*.net *.split) 2017-12-09T05:05:45Z abbe quit (*.net *.split) 2017-12-09T05:05:45Z sebboh quit (*.net *.split) 2017-12-09T05:05:45Z vap1 quit (*.net *.split) 2017-12-09T05:05:45Z CEnnis91 quit (*.net *.split) 2017-12-09T05:05:45Z TMA quit (*.net *.split) 2017-12-09T05:05:45Z christoph_debian quit (*.net *.split) 2017-12-09T05:05:45Z ggherdov quit (*.net *.split) 2017-12-09T05:05:45Z _whitelogger quit (*.net *.split) 2017-12-09T05:05:45Z angular_mike quit (*.net *.split) 2017-12-09T05:05:45Z froggey quit (*.net *.split) 2017-12-09T05:05:45Z tkd quit (*.net *.split) 2017-12-09T05:05:45Z jself quit (*.net *.split) 2017-12-09T05:05:45Z johs quit (*.net *.split) 2017-12-09T05:05:46Z dotc quit (*.net *.split) 2017-12-09T05:05:46Z les quit (*.net *.split) 2017-12-09T05:05:46Z jerme_ quit (*.net *.split) 2017-12-09T05:05:46Z alms_clozure quit (*.net *.split) 2017-12-09T05:05:46Z arrsim quit (*.net *.split) 2017-12-09T05:05:46Z cyraxjoe quit (*.net *.split) 2017-12-09T05:05:46Z wladz quit (*.net *.split) 2017-12-09T05:05:46Z salva quit (*.net *.split) 2017-12-09T05:05:46Z ssake quit (*.net *.split) 2017-12-09T05:05:46Z beach quit (*.net *.split) 2017-12-09T05:05:46Z isoraqathedh quit (*.net *.split) 2017-12-09T05:05:46Z zaquest_ quit (*.net *.split) 2017-12-09T05:05:47Z _osune quit (*.net *.split) 2017-12-09T05:05:47Z easye quit (*.net *.split) 2017-12-09T05:05:47Z kjak quit (*.net *.split) 2017-12-09T05:05:47Z jfe quit (*.net *.split) 2017-12-09T05:05:47Z SuperJen quit (*.net *.split) 2017-12-09T05:05:47Z vibs29 quit (*.net *.split) 2017-12-09T05:05:47Z epony quit (*.net *.split) 2017-12-09T05:05:47Z hvxgr quit (*.net *.split) 2017-12-09T05:05:47Z zymurgy quit (*.net *.split) 2017-12-09T05:05:47Z renard_ quit (*.net *.split) 2017-12-09T05:05:47Z Colleen quit (*.net *.split) 2017-12-09T05:05:48Z phoe quit (*.net *.split) 2017-12-09T05:05:48Z spudinski quit (*.net *.split) 2017-12-09T05:05:48Z otwieracz quit (*.net *.split) 2017-12-09T05:05:48Z whaack quit (*.net *.split) 2017-12-09T05:05:48Z gabiruh quit (*.net *.split) 2017-12-09T05:05:48Z jurov quit (*.net *.split) 2017-12-09T05:05:48Z peccu quit (*.net *.split) 2017-12-09T05:05:48Z vyzo quit (*.net *.split) 2017-12-09T05:05:48Z ircbrowse quit (*.net *.split) 2017-12-09T05:05:48Z lemoinem quit (*.net *.split) 2017-12-09T05:05:48Z dmh quit (*.net *.split) 2017-12-09T05:05:48Z ult quit (*.net *.split) 2017-12-09T05:05:48Z catern quit (*.net *.split) 2017-12-09T05:05:49Z MetaYan quit (*.net *.split) 2017-12-09T05:05:49Z dustyweb quit (*.net *.split) 2017-12-09T05:05:49Z samebchase quit (*.net *.split) 2017-12-09T05:05:49Z sbryant quit (*.net *.split) 2017-12-09T05:05:49Z mulk quit (*.net *.split) 2017-12-09T05:05:49Z drdo quit (*.net *.split) 2017-12-09T05:05:49Z Sigyn quit (*.net *.split) 2017-12-09T05:05:49Z alexmlw quit (*.net *.split) 2017-12-09T05:05:50Z Guest3886 quit (*.net *.split) 2017-12-09T05:05:50Z hdurer[m] quit (*.net *.split) 2017-12-09T05:05:50Z aindilis quit (*.net *.split) 2017-12-09T05:05:50Z AntiSpamMeta quit (*.net *.split) 2017-12-09T05:05:50Z yeticry quit (*.net *.split) 2017-12-09T05:05:50Z mathrick quit (*.net *.split) 2017-12-09T05:05:50Z Guest97394 quit (*.net *.split) 2017-12-09T05:05:50Z kushal quit (*.net *.split) 2017-12-09T05:05:50Z jrm quit (*.net *.split) 2017-12-09T05:05:50Z danieli quit (*.net *.split) 2017-12-09T05:05:51Z emacsomancer quit (*.net *.split) 2017-12-09T05:05:51Z dxtr quit (*.net *.split) 2017-12-09T05:05:51Z jasom quit (*.net *.split) 2017-12-09T05:05:51Z malcom2073 quit (*.net *.split) 2017-12-09T05:05:51Z myrkraverk quit (*.net *.split) 2017-12-09T05:05:51Z lieven quit (*.net *.split) 2017-12-09T05:05:51Z cyberlard quit (*.net *.split) 2017-12-09T05:05:51Z Ziemas quit (*.net *.split) 2017-12-09T05:05:51Z internet1cafe quit (*.net *.split) 2017-12-09T05:05:51Z heurist quit (*.net *.split) 2017-12-09T05:05:51Z nightfly quit (*.net *.split) 2017-12-09T05:05:51Z _Trasformatore_ quit (*.net *.split) 2017-12-09T05:05:51Z ksool quit (*.net *.split) 2017-12-09T05:05:51Z convexferret quit (*.net *.split) 2017-12-09T05:05:52Z gendl quit (*.net *.split) 2017-12-09T05:05:52Z tomaw quit (*.net *.split) 2017-12-09T05:05:52Z kammd[m] quit (*.net *.split) 2017-12-09T05:05:52Z l04m33[m] quit (*.net *.split) 2017-12-09T05:05:52Z beaky quit (*.net *.split) 2017-12-09T05:05:52Z butterthebuddha quit (*.net *.split) 2017-12-09T05:05:53Z jfb4 quit (*.net *.split) 2017-12-09T05:05:53Z mingus quit (*.net *.split) 2017-12-09T05:05:53Z Patzy quit (*.net *.split) 2017-12-09T05:05:53Z _death quit (*.net *.split) 2017-12-09T05:05:53Z snits_ quit (*.net *.split) 2017-12-09T05:05:53Z ecraven quit (*.net *.split) 2017-12-09T05:05:53Z zkat quit (*.net *.split) 2017-12-09T05:05:53Z ozzloy quit (*.net *.split) 2017-12-09T05:05:54Z brucem quit (*.net *.split) 2017-12-09T05:05:54Z brandonz quit (*.net *.split) 2017-12-09T05:05:54Z |3b| quit (*.net *.split) 2017-12-09T05:05:54Z eMBee quit (*.net *.split) 2017-12-09T05:05:54Z Ober quit (*.net *.split) 2017-12-09T05:05:54Z l1x quit (*.net *.split) 2017-12-09T05:05:54Z devlaf quit (*.net *.split) 2017-12-09T05:05:54Z trig-ger quit (*.net *.split) 2017-12-09T05:05:54Z Fade quit (*.net *.split) 2017-12-09T05:05:54Z dahs81[m] quit (*.net *.split) 2017-12-09T05:05:55Z cryptomarauder[m quit (*.net *.split) 2017-12-09T05:05:55Z Princess17b29a quit (*.net *.split) 2017-12-09T05:05:55Z tripty quit (*.net *.split) 2017-12-09T05:05:55Z splittist quit (*.net *.split) 2017-12-09T05:05:55Z gbyers quit (*.net *.split) 2017-12-09T05:05:55Z argoneus quit (*.net *.split) 2017-12-09T05:05:56Z PyroLagus quit (*.net *.split) 2017-12-09T05:05:56Z rjeli quit (*.net *.split) 2017-12-09T05:05:56Z earl-ducaine quit (*.net *.split) 2017-12-09T05:05:56Z brendyn quit (*.net *.split) 2017-12-09T05:05:56Z cromachina quit (*.net *.split) 2017-12-09T05:05:56Z dddddd quit (*.net *.split) 2017-12-09T05:05:56Z msb quit (*.net *.split) 2017-12-09T05:05:56Z omilu quit (*.net *.split) 2017-12-09T05:05:57Z tonton quit (*.net *.split) 2017-12-09T05:05:57Z aijony quit (*.net *.split) 2017-12-09T05:05:57Z joast quit (*.net *.split) 2017-12-09T05:05:57Z dan64 quit (*.net *.split) 2017-12-09T05:05:57Z clog quit (*.net *.split) 2017-12-09T05:05:57Z jackdaniel quit (*.net *.split) 2017-12-09T05:05:57Z cods quit (*.net *.split) 2017-12-09T05:05:57Z pacon quit (*.net *.split) 2017-12-09T05:05:57Z michalisko quit (*.net *.split) 2017-12-09T05:05:57Z ``Erik quit (*.net *.split) 2017-12-09T05:05:57Z eagleflo quit (*.net *.split) 2017-12-09T05:05:58Z engblom quit (*.net *.split) 2017-12-09T05:05:58Z add^_ quit (*.net *.split) 2017-12-09T05:05:58Z VSync quit (*.net *.split) 2017-12-09T05:05:58Z spacepluk quit (*.net *.split) 2017-12-09T05:05:58Z plll[m] quit (*.net *.split) 2017-12-09T05:05:58Z ArthurAGleckler[ quit (*.net *.split) 2017-12-09T05:05:59Z xristos quit (*.net *.split) 2017-12-09T05:05:59Z mbrock quit (*.net *.split) 2017-12-09T05:05:59Z adulteratedjedi quit (*.net *.split) 2017-12-09T05:05:59Z funnel quit (*.net *.split) 2017-12-09T05:05:59Z danielglh quit (*.net *.split) 2017-12-09T05:05:59Z rotty quit (*.net *.split) 2017-12-09T05:05:59Z malm quit (*.net *.split) 2017-12-09T05:05:59Z emma quit (*.net *.split) 2017-12-09T05:05:59Z p_l quit (*.net *.split) 2017-12-09T05:05:59Z bkst quit (*.net *.split) 2017-12-09T05:05:59Z neoncont_ quit (*.net *.split) 2017-12-09T05:05:59Z d4ryus2 quit (*.net *.split) 2017-12-09T05:05:59Z turkja quit (*.net *.split) 2017-12-09T05:05:59Z vertigo quit (*.net *.split) 2017-12-09T05:06:00Z zmt00 quit (*.net *.split) 2017-12-09T05:06:00Z lisp_guest quit (*.net *.split) 2017-12-09T05:06:00Z himmAllRight quit (*.net *.split) 2017-12-09T05:06:00Z lxpz quit (*.net *.split) 2017-12-09T05:06:00Z trn quit (*.net *.split) 2017-12-09T05:06:00Z cross quit (*.net *.split) 2017-12-09T05:06:00Z kini quit (*.net *.split) 2017-12-09T05:06:00Z Shinmera quit (*.net *.split) 2017-12-09T05:06:01Z zacts quit (*.net *.split) 2017-12-09T05:06:01Z hjudt quit (*.net *.split) 2017-12-09T05:06:01Z pankracy quit (*.net *.split) 2017-12-09T05:06:01Z justinmcp quit (*.net *.split) 2017-12-09T05:06:01Z nimiux quit (*.net *.split) 2017-12-09T05:06:01Z koisoke quit (*.net *.split) 2017-12-09T05:06:01Z cibs quit (*.net *.split) 2017-12-09T05:06:01Z zulu_inuoe quit (*.net *.split) 2017-12-09T05:06:02Z ryanbw quit (*.net *.split) 2017-12-09T05:06:02Z Fare quit (*.net *.split) 2017-12-09T05:06:02Z specbot quit (*.net *.split) 2017-12-09T05:06:02Z dilated_dinosaur quit (*.net *.split) 2017-12-09T05:06:02Z MrBismuth quit (*.net *.split) 2017-12-09T05:06:02Z troydm quit (*.net *.split) 2017-12-09T05:06:02Z joga quit (*.net *.split) 2017-12-09T05:06:02Z ft quit (*.net *.split) 2017-12-09T05:06:03Z DeadTrickster__ quit (*.net *.split) 2017-12-09T05:06:03Z ninegrid quit (*.net *.split) 2017-12-09T05:06:03Z libreman quit (*.net *.split) 2017-12-09T05:06:03Z sukaeto quit (*.net *.split) 2017-12-09T05:06:03Z Xach quit (*.net *.split) 2017-12-09T05:06:03Z saemcro quit (*.net *.split) 2017-12-09T05:06:03Z kolko quit (*.net *.split) 2017-12-09T05:06:03Z megalography quit (*.net *.split) 2017-12-09T05:06:03Z pok quit (*.net *.split) 2017-12-09T05:06:03Z ineiros quit (*.net *.split) 2017-12-09T05:06:03Z davsebamse quit (*.net *.split) 2017-12-09T05:06:03Z borodust quit (*.net *.split) 2017-12-09T05:06:03Z ck_ quit (*.net *.split) 2017-12-09T05:06:04Z groovy2shoes quit (*.net *.split) 2017-12-09T05:06:04Z Arcaelyx quit (*.net *.split) 2017-12-09T05:06:04Z dim quit (*.net *.split) 2017-12-09T05:06:04Z gko quit (*.net *.split) 2017-12-09T05:06:04Z pchrist quit (*.net *.split) 2017-12-09T05:06:04Z drmeister quit (*.net *.split) 2017-12-09T05:06:05Z republican_devil quit (*.net *.split) 2017-12-09T05:06:05Z Oladon quit (*.net *.split) 2017-12-09T05:06:05Z stux|RC quit (*.net *.split) 2017-12-09T05:06:05Z thinkpad quit (*.net *.split) 2017-12-09T05:06:05Z foom quit (*.net *.split) 2017-12-09T05:06:05Z mjl quit (*.net *.split) 2017-12-09T05:06:05Z cgay quit (*.net *.split) 2017-12-09T05:06:06Z flazh quit (*.net *.split) 2017-12-09T05:06:06Z aeth quit (*.net *.split) 2017-12-09T05:06:06Z Lord_Nightmare quit (*.net *.split) 2017-12-09T05:06:06Z galdor quit (*.net *.split) 2017-12-09T05:06:06Z nicdev quit (*.net *.split) 2017-12-09T05:06:06Z __main__ quit (*.net *.split) 2017-12-09T05:06:06Z voidlily quit (*.net *.split) 2017-12-09T05:06:06Z eschulte quit (*.net *.split) 2017-12-09T05:06:06Z mnoonan quit (*.net *.split) 2017-12-09T05:06:06Z smurfrobot quit (*.net *.split) 2017-12-09T05:06:07Z emaczen quit (*.net *.split) 2017-12-09T05:06:07Z oleo quit (*.net *.split) 2017-12-09T05:06:07Z eSVG quit (*.net *.split) 2017-12-09T05:06:07Z rann quit (*.net *.split) 2017-12-09T05:06:07Z ebrasca quit (*.net *.split) 2017-12-09T05:06:07Z RichardPaulBck[m quit (*.net *.split) 2017-12-09T05:06:07Z Jach[m] quit (*.net *.split) 2017-12-09T05:06:07Z Sovereign_Bleak quit (*.net *.split) 2017-12-09T05:06:07Z akr quit (*.net *.split) 2017-12-09T05:06:07Z equalunique[m] quit (*.net *.split) 2017-12-09T05:06:07Z happy_gnu[m] quit (*.net *.split) 2017-12-09T05:06:07Z CharlieBrown quit (*.net *.split) 2017-12-09T05:06:08Z gigetoo quit (*.net *.split) 2017-12-09T05:06:08Z nopf quit (*.net *.split) 2017-12-09T05:06:08Z AeroNotix quit (*.net *.split) 2017-12-09T05:06:08Z neuri8 quit (*.net *.split) 2017-12-09T05:06:08Z Tordek quit (*.net *.split) 2017-12-09T05:06:08Z deba5e12 quit (*.net *.split) 2017-12-09T05:06:08Z Intensity quit (*.net *.split) 2017-12-09T05:06:08Z uint quit (*.net *.split) 2017-12-09T05:06:09Z guna quit (*.net *.split) 2017-12-09T05:06:09Z tokenrove quit (*.net *.split) 2017-12-09T05:06:09Z larsen quit (*.net *.split) 2017-12-09T05:06:09Z dlowe quit (*.net *.split) 2017-12-09T05:06:09Z mhitchman[m] quit (*.net *.split) 2017-12-09T05:06:09Z dirb quit (*.net *.split) 2017-12-09T05:06:09Z murii quit (*.net *.split) 2017-12-09T05:06:09Z sveit quit (*.net *.split) 2017-12-09T05:06:10Z exit70 quit (*.net *.split) 2017-12-09T05:06:10Z amerlyq quit (*.net *.split) 2017-12-09T05:06:10Z dcluna quit (*.net *.split) 2017-12-09T05:06:10Z sellout quit (*.net *.split) 2017-12-09T05:06:10Z Kevslinger quit (*.net *.split) 2017-12-09T05:06:10Z White_Flame quit (*.net *.split) 2017-12-09T05:06:10Z Meow-J quit (*.net *.split) 2017-12-09T05:06:10Z thijso quit (*.net *.split) 2017-12-09T05:06:10Z dmiles quit (*.net *.split) 2017-12-09T05:06:10Z ngqrl quit (*.net *.split) 2017-12-09T05:06:11Z zotan quit (*.net *.split) 2017-12-09T05:06:11Z CrazyEddy quit (*.net *.split) 2017-12-09T05:06:11Z HDurer quit (*.net *.split) 2017-12-09T05:06:11Z djinni` quit (*.net *.split) 2017-12-09T05:06:11Z Mandus quit (*.net *.split) 2017-12-09T05:06:11Z reu quit (*.net *.split) 2017-12-09T05:06:11Z bitch quit (*.net *.split) 2017-12-09T05:06:12Z truename quit (*.net *.split) 2017-12-09T05:06:12Z khisanth_ quit (*.net *.split) 2017-12-09T05:06:13Z shrdlu68 quit (*.net *.split) 2017-12-09T05:06:13Z wooden quit (*.net *.split) 2017-12-09T05:06:13Z moei quit (*.net *.split) 2017-12-09T05:06:13Z Bike quit (*.net *.split) 2017-12-09T05:06:13Z schoppenhauer quit (*.net *.split) 2017-12-09T05:06:13Z jibanes quit (*.net *.split) 2017-12-09T05:06:13Z DGASAU quit (*.net *.split) 2017-12-09T05:06:14Z Tristam quit (*.net *.split) 2017-12-09T05:06:14Z dwts quit (*.net *.split) 2017-12-09T05:06:14Z cess11_ quit (*.net *.split) 2017-12-09T05:06:14Z gabot quit (*.net *.split) 2017-12-09T05:06:14Z Walex quit (*.net *.split) 2017-12-09T05:06:14Z fouric quit (*.net *.split) 2017-12-09T05:06:14Z manualcrank quit (*.net *.split) 2017-12-09T05:06:14Z TeMPOraL quit (*.net *.split) 2017-12-09T05:06:14Z runejuhl quit (*.net *.split) 2017-12-09T05:06:14Z SAL9000 quit (*.net *.split) 2017-12-09T05:06:14Z Oddity quit (*.net *.split) 2017-12-09T05:06:15Z naturalog quit (*.net *.split) 2017-12-09T05:06:15Z Aritheanie quit (*.net *.split) 2017-12-09T05:06:15Z micro quit (*.net *.split) 2017-12-09T05:06:15Z tessier quit (*.net *.split) 2017-12-09T05:06:15Z gingerale quit (*.net *.split) 2017-12-09T05:06:16Z kark quit (*.net *.split) 2017-12-09T05:06:16Z red-dot quit (*.net *.split) 2017-12-09T05:06:16Z jack_rabbit quit (*.net *.split) 2017-12-09T05:06:16Z terpri` quit (*.net *.split) 2017-12-09T05:06:16Z drcode quit (*.net *.split) 2017-12-09T05:06:17Z philosaur quit (*.net *.split) 2017-12-09T05:06:17Z sigjuice quit (*.net *.split) 2017-12-09T05:06:17Z stux|RC-only quit (*.net *.split) 2017-12-09T05:06:17Z QualityAddict quit (*.net *.split) 2017-12-09T05:06:17Z gabc quit (*.net *.split) 2017-12-09T05:06:17Z phadthai quit (*.net *.split) 2017-12-09T05:06:18Z pareidolia quit (*.net *.split) 2017-12-09T05:06:18Z kozy quit (*.net *.split) 2017-12-09T05:06:18Z zagura quit (*.net *.split) 2017-12-09T05:06:18Z nyef` quit (*.net *.split) 2017-12-09T05:06:18Z grumble quit (*.net *.split) 2017-12-09T05:06:18Z raydeejay quit (*.net *.split) 2017-12-09T05:06:19Z aoh quit (*.net *.split) 2017-12-09T05:06:19Z stee_3 quit (*.net *.split) 2017-12-09T05:06:19Z jsnell quit (*.net *.split) 2017-12-09T05:06:19Z mrSpec quit (*.net *.split) 2017-12-09T05:06:19Z whartung quit (*.net *.split) 2017-12-09T05:06:19Z ramus quit (*.net *.split) 2017-12-09T05:06:20Z cmatei quit (*.net *.split) 2017-12-09T05:06:20Z damke__ joined #lisp 2017-12-09T05:10:37Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-09T05:13:42Z gingerale joined #lisp 2017-12-09T05:13:42Z tessier joined #lisp 2017-12-09T05:13:42Z micro joined #lisp 2017-12-09T05:13:42Z Aritheanie joined #lisp 2017-12-09T05:13:42Z Oddity joined #lisp 2017-12-09T05:13:42Z SAL9000 joined #lisp 2017-12-09T05:13:42Z runejuhl joined #lisp 2017-12-09T05:13:42Z naturalog joined #lisp 2017-12-09T05:13:42Z TeMPOraL joined #lisp 2017-12-09T05:13:42Z manualcrank joined #lisp 2017-12-09T05:13:42Z fouric joined #lisp 2017-12-09T05:13:42Z Walex joined #lisp 2017-12-09T05:13:42Z gabot joined #lisp 2017-12-09T05:13:42Z cess11_ joined #lisp 2017-12-09T05:13:42Z dwts joined #lisp 2017-12-09T05:13:42Z Tristam joined #lisp 2017-12-09T05:13:42Z thijso joined #lisp 2017-12-09T05:13:42Z dmiles joined #lisp 2017-12-09T05:13:42Z ngqrl joined #lisp 2017-12-09T05:13:42Z zotan joined #lisp 2017-12-09T05:13:42Z CrazyEddy joined #lisp 2017-12-09T05:13:42Z HDurer joined #lisp 2017-12-09T05:13:42Z djinni` joined #lisp 2017-12-09T05:13:42Z Mandus joined #lisp 2017-12-09T05:13:42Z reu joined #lisp 2017-12-09T05:13:42Z bitch joined #lisp 2017-12-09T05:13:42Z truename joined #lisp 2017-12-09T05:13:42Z White_Flame joined #lisp 2017-12-09T05:13:42Z sellout joined #lisp 2017-12-09T05:13:42Z dcluna joined #lisp 2017-12-09T05:13:42Z DGASAU joined #lisp 2017-12-09T05:13:42Z amerlyq joined #lisp 2017-12-09T05:13:42Z exit70 joined #lisp 2017-12-09T05:13:42Z jibanes joined #lisp 2017-12-09T05:13:42Z schoppenhauer joined #lisp 2017-12-09T05:13:42Z sveit joined #lisp 2017-12-09T05:13:42Z murii joined #lisp 2017-12-09T05:13:42Z Bike joined #lisp 2017-12-09T05:13:42Z wooden joined #lisp 2017-12-09T05:13:42Z shrdlu68 joined #lisp 2017-12-09T05:13:42Z khisanth_ joined #lisp 2017-12-09T05:13:42Z SaganMan joined #lisp 2017-12-09T05:13:42Z philosau1 joined #lisp 2017-12-09T05:13:42Z Meow-J_ joined #lisp 2017-12-09T05:13:42Z stux|RC-- joined #lisp 2017-12-09T05:13:42Z bkst joined #lisp 2017-12-09T05:13:42Z parjanya joined #lisp 2017-12-09T05:13:42Z zooey joined #lisp 2017-12-09T05:13:42Z Zhivago joined #lisp 2017-12-09T05:13:42Z jfe joined #lisp 2017-12-09T05:13:42Z earl-ducaine joined #lisp 2017-12-09T05:13:42Z vtomole joined #lisp 2017-12-09T05:13:42Z Guest7354 joined #lisp 2017-12-09T05:13:42Z neoncont_ joined #lisp 2017-12-09T05:13:42Z d4ryus2 joined #lisp 2017-12-09T05:13:42Z brendyn joined #lisp 2017-12-09T05:13:42Z waynecolvin joined #lisp 2017-12-09T05:13:42Z SuperJen joined #lisp 2017-12-09T05:13:42Z turkja joined #lisp 2017-12-09T05:13:42Z cromachina joined #lisp 2017-12-09T05:13:42Z emerson joined #lisp 2017-12-09T05:13:42Z shenghi joined #lisp 2017-12-09T05:13:42Z lisp_guest joined #lisp 2017-12-09T05:13:42Z vertigo joined #lisp 2017-12-09T05:13:42Z alexmlw joined #lisp 2017-12-09T05:13:42Z vibs29 joined #lisp 2017-12-09T05:13:42Z epony joined #lisp 2017-12-09T05:13:42Z dddddd joined #lisp 2017-12-09T05:13:42Z Xal joined #lisp 2017-12-09T05:13:42Z zmt00 joined #lisp 2017-12-09T05:13:42Z msb joined #lisp 2017-12-09T05:13:42Z himmAllRight joined #lisp 2017-12-09T05:13:42Z Sigyn joined #lisp 2017-12-09T05:13:42Z schweers joined #lisp 2017-12-09T05:13:42Z itruslove joined #lisp 2017-12-09T05:13:42Z scymtym joined #lisp 2017-12-09T05:13:42Z pjb joined #lisp 2017-12-09T05:13:42Z giraffe joined #lisp 2017-12-09T05:13:42Z Lord_of_Life joined #lisp 2017-12-09T05:13:42Z bailon joined #lisp 2017-12-09T05:13:42Z abbe joined #lisp 2017-12-09T05:13:42Z GGMethos joined #lisp 2017-12-09T05:13:42Z lonjil joined #lisp 2017-12-09T05:13:42Z hvxgr joined #lisp 2017-12-09T05:13:42Z omilu joined #lisp 2017-12-09T05:13:42Z aindilis joined #lisp 2017-12-09T05:13:42Z nhandler joined #lisp 2017-12-09T05:13:42Z shaftoe joined #lisp 2017-12-09T05:13:42Z alandipert joined #lisp 2017-12-09T05:13:42Z odin joined #lisp 2017-12-09T05:13:42Z stylewarning joined #lisp 2017-12-09T05:13:42Z XachX joined #lisp 2017-12-09T05:13:42Z askatasuna joined #lisp 2017-12-09T05:13:42Z benny joined #lisp 2017-12-09T05:13:42Z Poetichristmas joined #lisp 2017-12-09T05:13:42Z tmc joined #lisp 2017-12-09T05:13:42Z d4gg4d_ joined #lisp 2017-12-09T05:13:42Z danlentz joined #lisp 2017-12-09T05:13:42Z joeygibson joined #lisp 2017-12-09T05:13:42Z nikivi joined #lisp 2017-12-09T05:13:42Z sword joined #lisp 2017-12-09T05:13:42Z Rovanion joined #lisp 2017-12-09T05:13:42Z misv joined #lisp 2017-12-09T05:13:42Z chocolait joined #lisp 2017-12-09T05:13:42Z pmden joined #lisp 2017-12-09T05:13:42Z minion joined #lisp 2017-12-09T05:13:42Z akash47 joined #lisp 2017-12-09T05:13:42Z sebastien_ joined #lisp 2017-12-09T05:13:42Z Blkt joined #lisp 2017-12-09T05:13:42Z fe[nl]ix joined #lisp 2017-12-09T05:13:42Z theBlackDragon joined #lisp 2017-12-09T05:13:42Z cpt_nemo joined #lisp 2017-12-09T05:13:42Z jdz joined #lisp 2017-12-09T05:13:42Z Firedancer joined #lisp 2017-12-09T05:13:42Z NaNDude joined #lisp 2017-12-09T05:13:42Z AntiSpamMeta joined #lisp 2017-12-09T05:13:42Z sebboh joined #lisp 2017-12-09T05:13:42Z vap1 joined #lisp 2017-12-09T05:13:42Z yeticry joined #lisp 2017-12-09T05:13:42Z mathrick joined #lisp 2017-12-09T05:13:42Z CEnnis91 joined #lisp 2017-12-09T05:13:42Z TMA joined #lisp 2017-12-09T05:13:42Z zymurgy joined #lisp 2017-12-09T05:13:42Z beaky joined #lisp 2017-12-09T05:13:42Z creat joined #lisp 2017-12-09T05:13:42Z butterthebuddha joined #lisp 2017-12-09T05:13:42Z tfb joined #lisp 2017-12-09T05:13:42Z ggherdov joined #lisp 2017-12-09T05:13:42Z _whitelogger joined #lisp 2017-12-09T05:13:42Z raynold joined #lisp 2017-12-09T05:13:42Z angular_mike joined #lisp 2017-12-09T05:13:42Z pmcana joined #lisp 2017-12-09T05:13:42Z Guest97394 joined #lisp 2017-12-09T05:13:42Z azrazalea joined #lisp 2017-12-09T05:13:42Z gz_ joined #lisp 2017-12-09T05:13:42Z jyc joined #lisp 2017-12-09T05:13:42Z terrorjack joined #lisp 2017-12-09T05:13:42Z flip214 joined #lisp 2017-12-09T05:13:42Z elts joined #lisp 2017-12-09T05:13:42Z rvirding joined #lisp 2017-12-09T05:13:42Z billstclair joined #lisp 2017-12-09T05:13:42Z card.freenode.net has set mode +o fe[nl]ix 2017-12-09T05:13:42Z tobel joined #lisp 2017-12-09T05:13:42Z kilimanjaro joined #lisp 2017-12-09T05:13:42Z gilberth joined #lisp 2017-12-09T05:13:42Z larme joined #lisp 2017-12-09T05:13:42Z vhost- joined #lisp 2017-12-09T05:13:42Z mood joined #lisp 2017-12-09T05:13:42Z asedeno joined #lisp 2017-12-09T05:13:42Z aaronjensen joined #lisp 2017-12-09T05:13:42Z jeremyheiler joined #lisp 2017-12-09T05:13:42Z felideon joined #lisp 2017-12-09T05:13:42Z cpape joined #lisp 2017-12-09T05:13:42Z antoszka joined #lisp 2017-12-09T05:13:42Z Posterdati joined #lisp 2017-12-09T05:13:42Z josh5tone joined #lisp 2017-12-09T05:13:42Z alphor joined #lisp 2017-12-09T05:13:42Z banjiewen joined #lisp 2017-12-09T05:13:42Z froggey joined #lisp 2017-12-09T05:13:42Z GreaseMonkey joined #lisp 2017-12-09T05:13:42Z kushal joined #lisp 2017-12-09T05:13:42Z renard_ joined #lisp 2017-12-09T05:13:42Z jfb4 joined #lisp 2017-12-09T05:13:42Z tkd joined #lisp 2017-12-09T05:13:42Z _krator44 joined #lisp 2017-12-09T05:13:42Z kjeldahl joined #lisp 2017-12-09T05:13:42Z xantoz joined #lisp 2017-12-09T05:13:42Z salva joined #lisp 2017-12-09T05:13:42Z wladz joined #lisp 2017-12-09T05:13:42Z cyraxjoe joined #lisp 2017-12-09T05:13:42Z arrsim joined #lisp 2017-12-09T05:13:42Z alms_clozure joined #lisp 2017-12-09T05:13:42Z jerme_ joined #lisp 2017-12-09T05:13:42Z les joined #lisp 2017-12-09T05:13:42Z dotc joined #lisp 2017-12-09T05:13:42Z johs joined #lisp 2017-12-09T05:13:42Z jself joined #lisp 2017-12-09T05:13:42Z jrm joined #lisp 2017-12-09T05:13:42Z lxpz joined #lisp 2017-12-09T05:13:42Z mingus joined #lisp 2017-12-09T05:13:42Z danieli joined #lisp 2017-12-09T05:13:42Z Colleen joined #lisp 2017-12-09T05:13:42Z emacsomancer joined #lisp 2017-12-09T05:13:42Z dxtr joined #lisp 2017-12-09T05:13:42Z Princess17b29a joined #lisp 2017-12-09T05:13:42Z jasom joined #lisp 2017-12-09T05:13:42Z malcom2073 joined #lisp 2017-12-09T05:13:42Z ssake joined #lisp 2017-12-09T05:13:42Z beach joined #lisp 2017-12-09T05:13:42Z myrkraverk joined #lisp 2017-12-09T05:13:42Z tonton joined #lisp 2017-12-09T05:13:42Z lieven joined #lisp 2017-12-09T05:13:42Z isoraqathedh joined #lisp 2017-12-09T05:13:42Z zaquest_ joined #lisp 2017-12-09T05:13:42Z cyberlard joined #lisp 2017-12-09T05:13:42Z _osune joined #lisp 2017-12-09T05:13:42Z Ziemas joined #lisp 2017-12-09T05:13:42Z easye joined #lisp 2017-12-09T05:13:42Z kjak joined #lisp 2017-12-09T05:13:42Z aijony joined #lisp 2017-12-09T05:13:42Z joast joined #lisp 2017-12-09T05:13:42Z Shinmera joined #lisp 2017-12-09T05:13:42Z whaack joined #lisp 2017-12-09T05:13:42Z phoe joined #lisp 2017-12-09T05:13:42Z dan64 joined #lisp 2017-12-09T05:13:42Z trn joined #lisp 2017-12-09T05:13:42Z clog joined #lisp 2017-12-09T05:13:42Z cross joined #lisp 2017-12-09T05:13:42Z tripty joined #lisp 2017-12-09T05:13:42Z kini joined #lisp 2017-12-09T05:13:42Z jackdaniel joined #lisp 2017-12-09T05:13:42Z internet1cafe joined #lisp 2017-12-09T05:13:42Z heurist joined #lisp 2017-12-09T05:13:42Z cods joined #lisp 2017-12-09T05:13:42Z nightfly joined #lisp 2017-12-09T05:13:42Z pacon joined #lisp 2017-12-09T05:13:42Z _Trasformatore_ joined #lisp 2017-12-09T05:13:42Z ksool joined #lisp 2017-12-09T05:13:42Z convexferret joined #lisp 2017-12-09T05:13:42Z gendl joined #lisp 2017-12-09T05:13:42Z splittist joined #lisp 2017-12-09T05:13:42Z tomaw joined #lisp 2017-12-09T05:13:42Z michalisko joined #lisp 2017-12-09T05:13:42Z Patzy joined #lisp 2017-12-09T05:13:42Z ``Erik joined #lisp 2017-12-09T05:13:42Z eagleflo joined #lisp 2017-12-09T05:13:42Z zacts joined #lisp 2017-12-09T05:13:42Z hjudt joined #lisp 2017-12-09T05:13:42Z spudinski joined #lisp 2017-12-09T05:13:42Z otwieracz joined #lisp 2017-12-09T05:13:42Z drdo joined #lisp 2017-12-09T05:13:42Z mulk joined #lisp 2017-12-09T05:13:42Z sbryant joined #lisp 2017-12-09T05:13:42Z samebchase joined #lisp 2017-12-09T05:13:42Z MetaYan joined #lisp 2017-12-09T05:13:42Z dustyweb joined #lisp 2017-12-09T05:13:42Z catern joined #lisp 2017-12-09T05:13:42Z ult joined #lisp 2017-12-09T05:13:42Z dmh joined #lisp 2017-12-09T05:13:42Z lemoinem joined #lisp 2017-12-09T05:13:42Z ircbrowse joined #lisp 2017-12-09T05:13:42Z vyzo joined #lisp 2017-12-09T05:13:42Z peccu joined #lisp 2017-12-09T05:13:42Z jurov joined #lisp 2017-12-09T05:13:42Z gabiruh joined #lisp 2017-12-09T05:13:42Z engblom joined #lisp 2017-12-09T05:13:42Z add^_ joined #lisp 2017-12-09T05:13:42Z Ober joined #lisp 2017-12-09T05:13:42Z pankracy joined #lisp 2017-12-09T05:13:42Z _death joined #lisp 2017-12-09T05:13:42Z snits_ joined #lisp 2017-12-09T05:13:42Z ecraven joined #lisp 2017-12-09T05:13:42Z VSync joined #lisp 2017-12-09T05:13:42Z Fade joined #lisp 2017-12-09T05:13:42Z trig-ger joined #lisp 2017-12-09T05:13:42Z devlaf joined #lisp 2017-12-09T05:13:42Z l1x joined #lisp 2017-12-09T05:13:42Z eMBee joined #lisp 2017-12-09T05:13:42Z |3b| joined #lisp 2017-12-09T05:13:42Z brandonz joined #lisp 2017-12-09T05:13:42Z brucem joined #lisp 2017-12-09T05:13:42Z ozzloy joined #lisp 2017-12-09T05:13:42Z zkat joined #lisp 2017-12-09T05:13:42Z spacepluk joined #lisp 2017-12-09T05:13:42Z xristos joined #lisp 2017-12-09T05:13:42Z mbrock joined #lisp 2017-12-09T05:13:42Z adulteratedjedi joined #lisp 2017-12-09T05:13:42Z funnel joined #lisp 2017-12-09T05:13:42Z gbyers joined #lisp 2017-12-09T05:13:42Z justinmcp joined #lisp 2017-12-09T05:13:42Z nimiux joined #lisp 2017-12-09T05:13:42Z koisoke joined #lisp 2017-12-09T05:13:42Z danielglh joined #lisp 2017-12-09T05:13:42Z argoneus joined #lisp 2017-12-09T05:13:42Z rotty joined #lisp 2017-12-09T05:13:42Z malm joined #lisp 2017-12-09T05:13:42Z emma joined #lisp 2017-12-09T05:13:42Z p_l joined #lisp 2017-12-09T05:13:42Z PyroLagus joined #lisp 2017-12-09T05:13:42Z cibs joined #lisp 2017-12-09T05:13:42Z rjeli joined #lisp 2017-12-09T05:13:57Z SaganMan is now known as Guest52520 2017-12-09T05:14:35Z smurfrobot joined #lisp 2017-12-09T05:14:35Z ebrasca joined #lisp 2017-12-09T05:14:35Z oleo joined #lisp 2017-12-09T05:14:35Z eSVG joined #lisp 2017-12-09T05:14:35Z rann joined #lisp 2017-12-09T05:14:35Z gigetoo joined #lisp 2017-12-09T05:14:35Z nopf joined #lisp 2017-12-09T05:14:35Z AeroNotix joined #lisp 2017-12-09T05:14:35Z neuri8 joined #lisp 2017-12-09T05:14:35Z Tordek joined #lisp 2017-12-09T05:14:35Z deba5e12 joined #lisp 2017-12-09T05:14:35Z Intensity joined #lisp 2017-12-09T05:14:35Z uint joined #lisp 2017-12-09T05:14:35Z guna joined #lisp 2017-12-09T05:14:35Z tokenrove joined #lisp 2017-12-09T05:14:35Z larsen joined #lisp 2017-12-09T05:14:35Z dlowe joined #lisp 2017-12-09T05:14:45Z nopf quit (Max SendQ exceeded) 2017-12-09T05:14:52Z nopf joined #lisp 2017-12-09T05:15:07Z moei joined #lisp 2017-12-09T05:15:07Z zulu_inuoe joined #lisp 2017-12-09T05:15:07Z ryanbw joined #lisp 2017-12-09T05:15:07Z sukaeto joined #lisp 2017-12-09T05:15:07Z Fare joined #lisp 2017-12-09T05:15:07Z specbot joined #lisp 2017-12-09T05:15:07Z dilated_dinosaur joined #lisp 2017-12-09T05:15:07Z MrBismuth joined #lisp 2017-12-09T05:15:07Z troydm joined #lisp 2017-12-09T05:15:07Z joga joined #lisp 2017-12-09T05:15:07Z ft joined #lisp 2017-12-09T05:15:07Z DeadTrickster__ joined #lisp 2017-12-09T05:15:07Z ninegrid joined #lisp 2017-12-09T05:15:07Z libreman joined #lisp 2017-12-09T05:15:07Z saemcro joined #lisp 2017-12-09T05:15:07Z Xach joined #lisp 2017-12-09T05:15:07Z kolko joined #lisp 2017-12-09T05:15:07Z megalography joined #lisp 2017-12-09T05:15:07Z pok joined #lisp 2017-12-09T05:15:07Z ineiros joined #lisp 2017-12-09T05:15:07Z davsebamse joined #lisp 2017-12-09T05:15:07Z borodust joined #lisp 2017-12-09T05:15:07Z ck_ joined #lisp 2017-12-09T05:15:21Z MrBismuth quit (Max SendQ exceeded) 2017-12-09T05:15:21Z moei quit (Max SendQ exceeded) 2017-12-09T05:15:26Z Guest52520 quit (Quit: WeeChat 1.6) 2017-12-09T05:15:46Z blackadder joined #lisp 2017-12-09T05:15:53Z kark joined #lisp 2017-12-09T05:15:53Z red-dot joined #lisp 2017-12-09T05:15:53Z jack_rabbit joined #lisp 2017-12-09T05:15:53Z terpri` joined #lisp 2017-12-09T05:15:53Z QualityAddict joined #lisp 2017-12-09T05:15:53Z gabc joined #lisp 2017-12-09T05:15:53Z phadthai joined #lisp 2017-12-09T05:15:53Z pareidolia joined #lisp 2017-12-09T05:15:53Z zagura joined #lisp 2017-12-09T05:15:53Z nyef` joined #lisp 2017-12-09T05:15:53Z grumble joined #lisp 2017-12-09T05:15:53Z raydeejay joined #lisp 2017-12-09T05:15:53Z aoh joined #lisp 2017-12-09T05:15:53Z stee_3 joined #lisp 2017-12-09T05:15:53Z jsnell joined #lisp 2017-12-09T05:15:53Z mrSpec joined #lisp 2017-12-09T05:15:53Z whartung joined #lisp 2017-12-09T05:15:53Z ramus joined #lisp 2017-12-09T05:15:53Z cmatei joined #lisp 2017-12-09T05:15:54Z moei joined #lisp 2017-12-09T05:16:04Z QualityAddict quit (Max SendQ exceeded) 2017-12-09T05:16:12Z sigjuice joined #lisp 2017-12-09T05:16:21Z christoph_debian joined #lisp 2017-12-09T05:16:37Z MrBismuth joined #lisp 2017-12-09T05:16:37Z kozy joined #lisp 2017-12-09T05:17:14Z applePrincess joined #lisp 2017-12-09T05:17:24Z QualityAddict joined #lisp 2017-12-09T05:17:48Z applePrincess quit (Client Quit) 2017-12-09T05:19:21Z damke__ quit (Ping timeout: 240 seconds) 2017-12-09T05:20:40Z Jen joined #lisp 2017-12-09T05:20:40Z damke__ joined #lisp 2017-12-09T05:21:03Z Jen is now known as Guest21543 2017-12-09T05:22:12Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-09T05:24:05Z SuperJen quit (Ping timeout: 240 seconds) 2017-12-09T05:24:25Z quazimodo joined #lisp 2017-12-09T05:28:32Z FreeBirdLjj joined #lisp 2017-12-09T05:31:39Z aeth joined #lisp 2017-12-09T05:32:16Z jack_rabbit_ joined #lisp 2017-12-09T05:34:01Z ahungry joined #lisp 2017-12-09T05:36:00Z jack_rabbit quit (Ping timeout: 248 seconds) 2017-12-09T05:36:55Z safe joined #lisp 2017-12-09T05:39:52Z groovy2shoes joined #lisp 2017-12-09T05:39:52Z Arcaelyx joined #lisp 2017-12-09T05:39:52Z dim joined #lisp 2017-12-09T05:39:52Z gko joined #lisp 2017-12-09T05:39:52Z pchrist joined #lisp 2017-12-09T05:39:52Z drmeister joined #lisp 2017-12-09T05:39:52Z republican_devil joined #lisp 2017-12-09T05:39:52Z Oladon joined #lisp 2017-12-09T05:39:52Z stux|RC joined #lisp 2017-12-09T05:39:52Z thinkpad joined #lisp 2017-12-09T05:39:52Z foom joined #lisp 2017-12-09T05:39:52Z mjl joined #lisp 2017-12-09T05:39:52Z cgay joined #lisp 2017-12-09T05:39:52Z flazh joined #lisp 2017-12-09T05:39:52Z Lord_Nightmare joined #lisp 2017-12-09T05:39:52Z galdor joined #lisp 2017-12-09T05:39:52Z nicdev joined #lisp 2017-12-09T05:39:52Z __main__ joined #lisp 2017-12-09T05:39:52Z voidlily joined #lisp 2017-12-09T05:39:52Z eschulte joined #lisp 2017-12-09T05:39:52Z mnoonan joined #lisp 2017-12-09T05:40:03Z gko quit (Max SendQ exceeded) 2017-12-09T05:40:03Z stux|RC quit (Max SendQ exceeded) 2017-12-09T05:40:03Z thinkpad quit (Max SendQ exceeded) 2017-12-09T05:40:03Z Arcaelyx quit (Max SendQ exceeded) 2017-12-09T05:40:12Z stux|RC-only joined #lisp 2017-12-09T05:40:49Z gko_ joined #lisp 2017-12-09T05:40:57Z Arcaelyx joined #lisp 2017-12-09T05:41:52Z nika joined #lisp 2017-12-09T05:42:05Z sfa joined #lisp 2017-12-09T05:46:35Z fikka joined #lisp 2017-12-09T05:47:18Z grublet joined #lisp 2017-12-09T05:48:37Z gko_ quit (Excess Flood) 2017-12-09T05:49:22Z gko joined #lisp 2017-12-09T05:52:11Z jack_rabbit_ is now known as jack_rabbit 2017-12-09T05:53:35Z fikka quit (Ping timeout: 276 seconds) 2017-12-09T05:54:00Z Bike quit (Quit: Lost terminal) 2017-12-09T05:55:12Z quazimodo quit (Ping timeout: 240 seconds) 2017-12-09T05:56:21Z nika quit (Quit: Leaving...) 2017-12-09T05:57:42Z lrvy joined #lisp 2017-12-09T06:01:00Z damke joined #lisp 2017-12-09T06:01:19Z SuperJen joined #lisp 2017-12-09T06:02:41Z damke__ quit (Ping timeout: 240 seconds) 2017-12-09T06:02:56Z SuperJen quit (Remote host closed the connection) 2017-12-09T06:03:14Z SuperJen joined #lisp 2017-12-09T06:04:38Z dddddd quit (Remote host closed the connection) 2017-12-09T06:05:17Z Guest21543 quit (Ping timeout: 276 seconds) 2017-12-09T06:05:25Z quazimodo joined #lisp 2017-12-09T06:07:39Z ahungry quit (Remote host closed the connection) 2017-12-09T06:08:04Z LocaMocha joined #lisp 2017-12-09T06:09:29Z SuperJen quit (Remote host closed the connection) 2017-12-09T06:10:19Z SuperJen joined #lisp 2017-12-09T06:12:50Z red-dot joined #lisp 2017-12-09T06:17:30Z shka joined #lisp 2017-12-09T06:19:16Z asarch quit (Quit: Leaving) 2017-12-09T06:19:17Z blackadder is now known as SaganMan 2017-12-09T06:21:45Z nika joined #lisp 2017-12-09T06:22:35Z panji joined #lisp 2017-12-09T06:22:45Z vlatkoB joined #lisp 2017-12-09T06:23:28Z smurfrobot quit (Remote host closed the connection) 2017-12-09T06:32:38Z panji left #lisp 2017-12-09T06:36:36Z hiq[m] joined #lisp 2017-12-09T06:37:31Z smurfrobot joined #lisp 2017-12-09T06:42:04Z BitPuffin|osx joined #lisp 2017-12-09T06:44:07Z beach: Good morning everyone! 2017-12-09T06:44:42Z ebrasca left #lisp 2017-12-09T06:44:48Z smurfrobot quit (Remote host closed the connection) 2017-12-09T06:48:49Z SaganMan: Good Morning beach 2017-12-09T06:50:23Z nika_ joined #lisp 2017-12-09T06:50:54Z EvW joined #lisp 2017-12-09T06:51:31Z nika_ quit (Client Quit) 2017-12-09T06:51:49Z astronavt joined #lisp 2017-12-09T06:52:13Z oleo: morning 2017-12-09T06:52:15Z Hiver joined #lisp 2017-12-09T06:52:20Z Hiver: Hey 2017-12-09T06:52:41Z oleo: omg it snowed! 2017-12-09T06:52:44Z oleo: ewwww 2017-12-09T06:52:46Z Hiver: lol 2017-12-09T06:52:52Z Hiver: I have a question 2017-12-09T06:53:36Z oleo: quanta costa question ? 2017-12-09T06:53:38Z oleo: lol 2017-12-09T06:53:45Z Zhivago: A valuable asset. 2017-12-09T06:53:52Z Hiver: I found this (https://gist.github.com/endofinnsmouth/009a7a3a91b180371fea20cc983898ed) online, and it said it was an "nlp". What is that, and can you explain this program? 2017-12-09T06:54:26Z oleo: natural language processing ? 2017-12-09T06:54:30Z Hiver: Ok. 2017-12-09T06:54:44Z Hiver: So then, what is that program? 2017-12-09T06:54:51Z Hiver: Like, how does it work lol 2017-12-09T06:54:55Z jackdaniel: it doesn't look like a well-written program (indentation is awful for starter) 2017-12-09T06:55:01Z Hiver: ok 2017-12-09T06:55:12Z EvW quit (Ping timeout: 246 seconds) 2017-12-09T06:55:41Z Hiver: what else is bad? also where can i find a better program? 2017-12-09T06:55:45Z jackdaniel: it's not clear what it does, but I don't think it implements "NLP" 2017-12-09T06:55:58Z jackdaniel: regarding natural language processing I've encountered interested library lately 2017-12-09T06:56:02Z jackdaniel: let me check in my bookmarks 2017-12-09T06:56:06Z Hiver: okey 2017-12-09T06:56:31Z jackdaniel: this: https://github.com/ddmcdonald/sparser/ 2017-12-09T06:56:37Z Hiver: just so i know what not to do though. what is bad about that code? I dont wanna fuck up. ooooooooooh and thanks 2017-12-09T06:56:40Z jackdaniel: it has articles describing how it works in Documentation 2017-12-09T06:57:04Z astronavt quit (Quit: Leaving...) 2017-12-09T06:57:23Z jackdaniel: Hiver: first thing: indentation. it made me stop reading it ;) 2017-12-09T06:57:28Z astronavt joined #lisp 2017-12-09T06:57:34Z jackdaniel: another one: lack of abstraction, everything is put as a list 2017-12-09T06:57:58Z Hiver: ok. so, use abstraction. 2017-12-09T06:58:03Z Hiver: Anything else? 2017-12-09T06:58:22Z jackdaniel: line breaks are bad, it is not clear what functions do (not docstrings or comments) 2017-12-09T06:58:45Z jackdaniel: it is simply bad, I'm not interested in reading it further 2017-12-09T06:59:12Z Zhivago: Almost as bad a sign as not being able to spell "don't". 2017-12-09T06:59:34Z Zhivago: Don't trust subliterate programmers -- programming is a literary exercise. 2017-12-09T07:00:03Z Hiver: Okey. so, docs, abstraction, and indent. thats good form for lisp. 2017-12-09T07:01:55Z Hiver: also, what line did they sat "dont" I cant find in cntrl-f. lol 2017-12-09T07:02:37Z wheelsucker joined #lisp 2017-12-09T07:03:27Z Zhivago: That's just general advice -- but it also applies regarding people who can't spell "can't". 2017-12-09T07:03:36Z Hiver: oh lol 2017-12-09T07:03:54Z beach: Hiver: It uses SETQ to define special variable, but that is undefined behavior. And it does not use earmuffs on special variables, which is bad style. 2017-12-09T07:04:53Z beach: It uses IF when it ought to use WHEN. 2017-12-09T07:05:13Z beach: It has mysterious blank lines. 2017-12-09T07:05:21Z Hiver: ok 2017-12-09T07:05:45Z beach: It uses the wrong number of semicolons for comments. 2017-12-09T07:06:47Z Zhivago: It is obviously written by the wrong sort of person. 2017-12-09T07:06:58Z Hiver: so, basically style. lol 2017-12-09T07:07:45Z beach: Hiver: style is what programming is about. 2017-12-09T07:08:03Z Hiver: yeah, it's really important 2017-12-09T07:08:08Z jackdaniel: no, style is just a strong indicator it is not worth reading. program doesn't look useful either 2017-12-09T07:08:36Z Hiver: ok. it has not practical use 2017-12-09T07:08:37Z jackdaniel: so style is the initial condition for anyone to bother reading what it does 2017-12-09T07:08:54Z jackdaniel: did you write this snippet? 2017-12-09T07:08:59Z Hiver: no. 2017-12-09T07:09:02Z Hiver: a friend did 2017-12-09T07:09:45Z beach: That friend should come here, listen to advice, and then rewrite the code. 2017-12-09T07:10:04Z Hiver: i'm sending it to him in a DM 2017-12-09T07:10:39Z Zhivago: Remember why Nigerian scammers intentionally write terrible emails. 2017-12-09T07:10:47Z Hiver: yeah 2017-12-09T07:10:52Z Hiver: wait no 2017-12-09T07:11:00Z Hiver: srry my mind was elsewhere 2017-12-09T07:11:09Z lnostdal joined #lisp 2017-12-09T07:12:05Z Zhivago: They're trying to get intelligent people to ignore them so that they can focus on the stupid ones. 2017-12-09T07:12:26Z Hiver: ahhhhh. like an echo chamber? 2017-12-09T07:13:41Z Zhivago: No. They just get the intelligent people to decide that the message is obviously a scam so that they then don't respond, which would waste the scammers' time. 2017-12-09T07:15:01Z Hiver: ooooh. ok. so, he wont come here because he is afraid of the advice? or is the program a scam? 2017-12-09T07:15:09Z Zhivago: The same process applies to software. Intelligent people avoid using software that looks like it was written by a twelve-year old who had been dropped frequently on its head as a child. 2017-12-09T07:15:35Z Hiver: lol yeah. 2017-12-09T07:15:54Z jackdaniel: interesting, didn't know about that (badly written email thing) 2017-12-09T07:16:02Z Zhivago: Which is generally a good idea, because software that looks like that probably hasn't been written carefully or well thought out, and the cost of maintaining it is high. 2017-12-09T07:16:34Z sword quit (Ping timeout: 264 seconds) 2017-12-09T07:17:00Z Hiver: ok. another question! why does it not look well thought out? 2017-12-09T07:17:24Z Zhivago: One problem is that to beginners, they are so bad at reading code that they can't distinguish between good code and bad code. 2017-12-09T07:17:24Z Zhivago: Which means that they also don't see any value in writing good code. 2017-12-09T07:18:01Z Hiver: ok 2017-12-09T07:18:10Z Hiver: I see. 2017-12-09T07:18:25Z vtomole: Why is is using setq? 2017-12-09T07:18:28Z vtomole: *he 2017-12-09T07:19:09Z Zhivago: Either due to malevolence or incompetence. 2017-12-09T07:19:12Z beach: vtomole: Because he or she has not bothered to learn the language. 2017-12-09T07:19:37Z jackdaniel: or he/she is during the process of learning it 2017-12-09T07:20:08Z jackdaniel: Hiver: recommend your friend this excellent introduction 2017-12-09T07:20:14Z jackdaniel: minion: tell Hiver about pcl 2017-12-09T07:20:17Z minion: Hiver: direct your attention towards pcl: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005). 2017-12-09T07:20:33Z jackdaniel: I'm sure he will benefit from reading it greatly 2017-12-09T07:21:13Z Hiver: sent it to him 2017-12-09T07:22:41Z Hiver: Also to respond to beach. He used to do a bit of Java (idk if it is true). Recently switched to LisP 2017-12-09T07:23:00Z beach: Hiver: Your friend should also learn to use an editor that can handle Common Lisp code so as to obtain correct indentation. 2017-12-09T07:23:20Z stylewarning: “LisP” 2017-12-09T07:23:32Z beach: stylewarning: Nice talk! 2017-12-09T07:24:04Z Hiver: Ok. Beach. What editor? 2017-12-09T07:24:16Z jackdaniel: Hiver: rush to read PCL, it has all information he needs 2017-12-09T07:24:21Z jackdaniel: editor advice included 2017-12-09T07:24:22Z beach: Hiver: Most people here use Emacs and SLIME. 2017-12-09T07:24:50Z Hiver: ok 2017-12-09T07:27:11Z tlf1 joined #lisp 2017-12-09T07:27:19Z turkja: lol, why so harsh? it for sure looks like someone's first lisp program.. but it's a start anyways :) 2017-12-09T07:27:57Z jackdaniel tried to be gentle :) 2017-12-09T07:28:05Z jackdaniel: /but honest/ 2017-12-09T07:28:18Z Hiver: honest it better 2017-12-09T07:30:15Z Hiver: Hey, i gtg. Thanks for this, my friend hasn't responded, but we can be hopeful. 2017-12-09T07:30:36Z rippa joined #lisp 2017-12-09T07:31:23Z jackdaniel: good luck and bye 2017-12-09T07:31:31Z Hiver: thanks. you tooo 2017-12-09T07:31:36Z Hiver quit (Quit: Page closed) 2017-12-09T07:33:21Z smurfrobot joined #lisp 2017-12-09T07:33:40Z tlf1 quit (Quit: Page closed) 2017-12-09T07:33:54Z fikka joined #lisp 2017-12-09T07:33:58Z teddy_error joined #lisp 2017-12-09T07:34:21Z stylewarning: beach: Thanks!! 2017-12-09T07:35:51Z sfa quit (Ping timeout: 240 seconds) 2017-12-09T07:37:54Z smurfrobot quit (Ping timeout: 246 seconds) 2017-12-09T07:38:25Z vtomole: One of these days I'm going to have enough money to go to that Bay Area Lisp meet up and ELS. 2017-12-09T07:39:07Z fikka quit (Ping timeout: 240 seconds) 2017-12-09T07:39:31Z beach: Airline tickets are pretty cheap these days. 2017-12-09T07:39:48Z beach: Especially if you accept the standard of low-cost airlines. 2017-12-09T07:41:15Z jackdaniel: lovely, 5 different lisp implementations in one emacs session :-) 2017-12-09T07:41:57Z zmt00 quit (Quit: Leaving) 2017-12-09T07:42:19Z vtomole: beach: I'm a student. $300 kills me. 2017-12-09T07:42:30Z djinni` quit (Quit: Leaving) 2017-12-09T07:43:43Z jackdaniel hints, that more than $300 is possible to earn on McCLIM bounties ;) 2017-12-09T07:43:54Z vtomole: I'm graduating next year. So I should be able to make it to the 2019 one. 2017-12-09T07:43:55Z jackdaniel: and I will probably add more bounties this weekend 2017-12-09T07:44:08Z vtomole: jackdaniel: Ha! 2017-12-09T07:44:51Z jackdaniel: then you'll be able to say proudly at ELS: I'm here, because I've solved bunch of McCLIM problems 2017-12-09T07:46:28Z djinni` joined #lisp 2017-12-09T07:52:00Z SaganMan: these days people don't use setq, they use defparameter 2017-12-09T07:52:18Z SaganMan: if it's a constant defvar 2017-12-09T07:52:52Z Zhivago: Or, rather, if reloading should reinitialize the value. 2017-12-09T07:52:54Z SaganMan: it's neat that way than to use defvar and setq to variables 2017-12-09T07:53:40Z SaganMan: yeah 2017-12-09T07:54:12Z pjb: defvar and defparameter are top-level forms, you would never use them to set a variable. Use setf for that! 2017-12-09T07:54:57Z raphaelss joined #lisp 2017-12-09T07:56:17Z SaganMan: yeah 2017-12-09T07:56:40Z sfa joined #lisp 2017-12-09T07:56:46Z mson joined #lisp 2017-12-09T07:58:17Z Shinmera: vtomole: You won't get the student discount anymore if you graduate. 2017-12-09T07:59:56Z vtomole: How much is the discount? 2017-12-09T08:00:48Z jackdaniel: it is different every year 2017-12-09T08:01:21Z Shinmera: It's usually up to 100€ 2017-12-09T08:02:21Z smurfrobot joined #lisp 2017-12-09T08:04:28Z narendraj9 joined #lisp 2017-12-09T08:06:36Z smurfrobot quit (Ping timeout: 246 seconds) 2017-12-09T08:08:45Z tomw joined #lisp 2017-12-09T08:09:19Z vtomole quit (Ping timeout: 260 seconds) 2017-12-09T08:10:29Z lrvy quit (Quit: Textual IRC Client: www.textualapp.com) 2017-12-09T08:14:29Z narendraj9 quit (Ping timeout: 240 seconds) 2017-12-09T08:20:27Z vtomole joined #lisp 2017-12-09T08:24:48Z SlowJimmy joined #lisp 2017-12-09T08:26:01Z sfa quit (Quit: Lost terminal) 2017-12-09T08:28:23Z fikka joined #lisp 2017-12-09T08:32:41Z nowhere_man quit (Ping timeout: 240 seconds) 2017-12-09T08:32:53Z fikka quit (Ping timeout: 255 seconds) 2017-12-09T08:47:46Z narendraj9 joined #lisp 2017-12-09T08:50:35Z Karl_Dscc joined #lisp 2017-12-09T08:54:14Z orivej joined #lisp 2017-12-09T09:00:36Z vtomole quit (Quit: Page closed) 2017-12-09T09:01:15Z hiq[m] quit (Read error: Connection reset by peer) 2017-12-09T09:01:56Z EvW joined #lisp 2017-12-09T09:06:38Z EvW quit (Ping timeout: 276 seconds) 2017-12-09T09:08:05Z akr joined #lisp 2017-12-09T09:10:53Z SuperJen quit (Remote host closed the connection) 2017-12-09T09:11:17Z SuperJen joined #lisp 2017-12-09T09:13:18Z Jen joined #lisp 2017-12-09T09:13:41Z Jen is now known as Guest27397 2017-12-09T09:14:39Z fikka joined #lisp 2017-12-09T09:15:23Z akr quit (Remote host closed the connection) 2017-12-09T09:16:37Z wheelsucker quit (Ping timeout: 250 seconds) 2017-12-09T09:17:41Z SuperJen quit (Ping timeout: 276 seconds) 2017-12-09T09:20:12Z akr joined #lisp 2017-12-09T09:20:30Z SuperJen joined #lisp 2017-12-09T09:24:11Z Guest27397 quit (Ping timeout: 276 seconds) 2017-12-09T09:29:00Z Karl_Dscc quit (Remote host closed the connection) 2017-12-09T09:29:23Z astronavt quit (Remote host closed the connection) 2017-12-09T09:32:02Z zaquest_ quit (Quit: Leaving) 2017-12-09T09:35:24Z mishoo joined #lisp 2017-12-09T09:39:14Z enick_394 joined #lisp 2017-12-09T09:39:15Z kammd[m] joined #lisp 2017-12-09T09:39:15Z Sovereign_Bleak joined #lisp 2017-12-09T09:39:15Z happy_gnu[m] joined #lisp 2017-12-09T09:39:15Z dirb joined #lisp 2017-12-09T09:39:15Z thorondor[m] joined #lisp 2017-12-09T09:39:15Z l04m33[m] joined #lisp 2017-12-09T09:39:15Z EvilAngel1 joined #lisp 2017-12-09T09:39:15Z Jach[m] joined #lisp 2017-12-09T09:39:15Z astronavt[m] joined #lisp 2017-12-09T09:39:15Z CharlieBrown joined #lisp 2017-12-09T09:39:16Z plll[m] joined #lisp 2017-12-09T09:39:16Z hiq[m] joined #lisp 2017-12-09T09:39:16Z dahs81[m] joined #lisp 2017-12-09T09:39:16Z cryptomarauder[m joined #lisp 2017-12-09T09:39:16Z equalunique[m] joined #lisp 2017-12-09T09:39:16Z hdurer[m] joined #lisp 2017-12-09T09:39:16Z RichardPaulBck[m joined #lisp 2017-12-09T09:39:16Z mhitchman[m] joined #lisp 2017-12-09T09:39:16Z ArthurAGleckler[ joined #lisp 2017-12-09T09:39:22Z trigt[m] joined #lisp 2017-12-09T09:42:31Z Ven`` joined #lisp 2017-12-09T09:43:06Z random-nick joined #lisp 2017-12-09T09:49:11Z Ven`` quit (Ping timeout: 240 seconds) 2017-12-09T09:50:09Z smurfrobot joined #lisp 2017-12-09T09:50:43Z SlowJimmy quit (Quit: good bye cruel world) 2017-12-09T09:56:21Z sz0 joined #lisp 2017-12-09T09:58:51Z fourier joined #lisp 2017-12-09T10:01:58Z smurfrobot quit (Remote host closed the connection) 2017-12-09T10:04:00Z smurfrobot joined #lisp 2017-12-09T10:04:32Z Jen joined #lisp 2017-12-09T10:04:55Z Jen is now known as Guest87516 2017-12-09T10:07:27Z kark quit (Ping timeout: 248 seconds) 2017-12-09T10:07:42Z SuperJen quit (Ping timeout: 246 seconds) 2017-12-09T10:07:45Z Xal quit (Ping timeout: 250 seconds) 2017-12-09T10:12:17Z Xal joined #lisp 2017-12-09T10:12:46Z ssake quit (Remote host closed the connection) 2017-12-09T10:20:52Z varjag joined #lisp 2017-12-09T10:25:57Z random-nick quit (Remote host closed the connection) 2017-12-09T10:40:47Z safe quit (Read error: Connection reset by peer) 2017-12-09T10:42:44Z zulu_inuoe_ joined #lisp 2017-12-09T10:43:13Z zulu_inuoe quit (Ping timeout: 248 seconds) 2017-12-09T10:46:02Z wigust joined #lisp 2017-12-09T10:50:35Z fikka quit (Ping timeout: 255 seconds) 2017-12-09T10:51:11Z jack_rabbit quit (Ping timeout: 248 seconds) 2017-12-09T10:55:16Z fikka joined #lisp 2017-12-09T10:56:12Z raphaelss quit (Remote host closed the connection) 2017-12-09T10:56:35Z raphaelss joined #lisp 2017-12-09T10:56:49Z mson quit (Quit: Connection closed for inactivity) 2017-12-09T10:59:24Z lisp_guest: what is a good lisp pastebin that you guys usually use? 2017-12-09T10:59:44Z Shinmera: Idunno about good, but I use my own: http://plaster.tymoon.eu 2017-12-09T11:00:04Z jack_rabbit joined #lisp 2017-12-09T11:00:09Z lisp_guest: oh neat 2017-12-09T11:01:08Z lisp_guest: i have a question about style. in this function (from yesterday) https://plaster.tymoon.eu/view/685#685 2017-12-09T11:01:27Z lisp_guest: this when bothers me a bit, because the usual way i would implement this is to have a check for the opposite and then just return early before proceeding 2017-12-09T11:01:48Z lisp_guest: i.e. if it's not a symbol, return nil immediately 2017-12-09T11:01:54Z Shinmera: That's the same 2017-12-09T11:01:55Z lisp_guest: then, unconditionally continue doing whatever 2017-12-09T11:02:16Z lisp_guest: yes, they're functionally equivalent, but what style is preferred in lisp? 2017-12-09T11:02:16Z Shinmera: WHEN evaluates to NIL if its condition fails 2017-12-09T11:02:23Z lisp_guest: ya, i'm aware of that 2017-12-09T11:02:28Z Shinmera: explicit RETURN-FROM is very rare. 2017-12-09T11:02:32Z lisp_guest: i see 2017-12-09T11:02:48Z lisp_guest: because i don't like when stuff gets too indented 2017-12-09T11:02:58Z damke_ joined #lisp 2017-12-09T11:03:36Z lisp_guest: or rather i think of it as setting up invariants for the code that follows 2017-12-09T11:03:44Z lisp_guest: so if something doesn't hold, just get out immediately 2017-12-09T11:04:02Z Shinmera: Invariants should be set up via checks that error. 2017-12-09T11:04:04Z lisp_guest: Shinmera: so then this would be the preferred style in lisp? 2017-12-09T11:04:32Z Shinmera: And you can do that with check-type, for instance. 2017-12-09T11:04:41Z damke quit (Ping timeout: 240 seconds) 2017-12-09T11:05:04Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-09T11:05:44Z Shinmera: I can't speak for everyone, but I like concise code. 2017-12-09T11:06:09Z Shinmera: So WHEN is definitely preferred towards (unless .. (return-from my-fun)) 2017-12-09T11:06:42Z jackdaniel: I'm working on semaphores for BT (will try to merge it upstream if possible) – this is generic implementation (using cv): https://plaster.tymoon.eu/view/686#686 -- fallback for implementations which doesn't have semaphores 2017-12-09T11:07:03Z jackdaniel: I'd appreciate comment on this (for instance if I got it right) if someone have a slice of time 2017-12-09T11:07:09Z Shinmera: Especially since the return-from increases mental overhead by requiring the explicit function name, having an inverted check, and introducing an explicit control flow transfer. 2017-12-09T11:07:57Z Shinmera: jackdaniel: I'd much prefer a struct to a list. 2017-12-09T11:08:00Z lisp_guest: Shinmera: hmm ok, thanks 2017-12-09T11:08:26Z Shinmera: jackdaniel: In fact, having a list is awful because it means you don't get a distinct type for the semaphore. 2017-12-09T11:08:37Z jackdaniel: me too, but I don't want to introduce structs for default implementation 2017-12-09T11:08:41Z Shinmera: Why not 2017-12-09T11:09:04Z jackdaniel: because I would have to check somehow, if implementation has semaphores implemented "its way" 2017-12-09T11:09:13Z jackdaniel: and conditionally disable it 2017-12-09T11:09:21Z Shinmera: Huh? 2017-12-09T11:10:05Z Shinmera: The implementation potentially providing its own semaphore object doesn't really change anything. 2017-12-09T11:10:05Z jackdaniel: there is bt:timeout type defined without such conditionalization, but SBCL with-timeout signals different condition – this is a source of many programmer errors 2017-12-09T11:10:15Z loke: jackdaniel: You forgot to with a WITH-LOCK-HELD in the call to SEMAPHORE-COUNT 2017-12-09T11:10:31Z jackdaniel: I want to avoid such situation for semaphores, that programmer does check-type on bt:sempahore 2017-12-09T11:10:32Z Shinmera: jackdaniel: Make the struct named %foo and provide a deftype that aliases to the concrete type on each impl 2017-12-09T11:10:34Z jackdaniel: loke: thanks 2017-12-09T11:11:24Z loke: Other than that, it looks fine to me. 2017-12-09T11:11:25Z Shinmera: I really don't think that any amount of implementation overhead is going to justify using a list 2017-12-09T11:11:45Z loke: Why not use a struct for this instead of alist? 2017-12-09T11:11:51Z Shinmera: I already just suggested that 2017-12-09T11:11:54Z loke: "os a list" 2017-12-09T11:11:54Z jackdaniel: it is plist 2017-12-09T11:12:05Z loke: I mean it say "instead of a list" 2017-12-09T11:12:09Z jackdaniel: I'll think about it, thanks 2017-12-09T11:12:14Z jackdaniel: ah 2017-12-09T11:12:41Z fourier quit (Ping timeout: 260 seconds) 2017-12-09T11:12:43Z jackdaniel: I've explained initial motivation for such avoidance, I may reconsider (or change upon maintainer request) 2017-12-09T11:13:55Z loke: jackdaniel: if so, you could make it three-elemtn array instead? That'll make lookups fast. 2017-12-09T11:14:21Z Shinmera: You're threading with a lock 2017-12-09T11:14:26Z Shinmera: plist lookup won't really matter in comparison 2017-12-09T11:14:46Z Shinmera: and that's just even worse because then the fields are implicit in the array 2017-12-09T11:15:23Z loke: Shinmera: I think you're underestimating the speed of locks. 2017-12-09T11:15:57Z Shinmera: And I think you're overestimating the slowness of a plist lookup. 2017-12-09T11:16:04Z loke: Shinmera: likely. 2017-12-09T11:16:24Z loke: Shinmera: I think both are very fast. That said, array lookups are even faster. 2017-12-09T11:16:33Z Shinmera: Either way, a struct is going to be fast and typed 2017-12-09T11:16:37Z Shinmera: so really, the only right choice. 2017-12-09T11:16:49Z loke: Shinmera: True. But I think JD's argument is that he doesn't want it to be typed. 2017-12-09T11:16:59Z Shinmera: I don't think that's his argument at all 2017-12-09T11:17:00Z loke: I don't agree with that argument, but I understand it. 2017-12-09T11:17:29Z Shinmera: His argument is that he would need to conditionalise the existence of the struct or type for each implementation if they provide their own native semaphore object type. 2017-12-09T11:17:40Z loke: Isn't his point that you shouldn't be able to do CHECK-TYPE (or whatever) on the object, becasue in specialised implementations the type of the object can be unpredictable? 2017-12-09T11:18:26Z Zhivago: It's rather then class can differ -- but CL has that leak back into the type for array, which sucks. 2017-12-09T11:18:31Z Shinmera: No, I'm pretty sure he'd like it if you can check-type 2017-12-09T11:18:49Z Shinmera: Anyway 2017-12-09T11:18:59Z jackdaniel: maybe I put it wrong, but loke get it right 2017-12-09T11:19:05Z jackdaniel: s/get/got/ 2017-12-09T11:19:06Z loke: That said, I'd like to see a custom type that is defined to be whatever the underlying impleemntation uses. That way I cal always use (CHECK-TYPE BT:SEMAPHORE) and it'll word regardless of implemnetation. Then a struct would be fine. 2017-12-09T11:19:18Z Shinmera: the solution is (defstruct %semaphore ..) (deftype semaphore #+sbcl 'sb-whatnot:whatever #-... '%semaphore) 2017-12-09T11:19:36Z Shinmera: As I already suggested ages ago 2017-12-09T11:19:37Z loke: Shinmera: Right, that was what I trued to say. 2017-12-09T11:20:04Z jackdaniel: Shinmera: and where should I put this deftype, if implementation doesn't have native semaphore on %semaphore? 2017-12-09T11:20:25Z Shinmera: jackdaniel: BT has a file for each implementation, yeah? 2017-12-09T11:20:33Z jackdaniel: because that's not how source is arranged (that you spawn a lot of #+foo) 2017-12-09T11:20:37Z Shinmera: So you could just put that deftype into each specific file. 2017-12-09T11:21:02Z Shinmera: with only the correct expansion for that particular impl 2017-12-09T11:23:05Z raphaelss quit (Ping timeout: 240 seconds) 2017-12-09T11:24:25Z scymtym quit (Remote host closed the connection) 2017-12-09T11:28:09Z yeticry_ joined #lisp 2017-12-09T11:29:52Z random-nick joined #lisp 2017-12-09T11:29:55Z beach: lisp_guest: It is considered bad style to use WHEN in a situation where the value matters. It is better to use an IF and return NIL in the "else" branch. 2017-12-09T11:30:30Z lisp_guest: beach: so making explicit the fact that i want "nil" to be returned if sym is not a symbol? 2017-12-09T11:30:40Z Shinmera: I don't consider it bad style, but that's just me. 2017-12-09T11:31:02Z beach: lisp_guest: In this case, you can also remove the WHEN entirely. 2017-12-09T11:31:14Z beach: Shinmera: I am sorry to hear that. 2017-12-09T11:31:25Z wxie joined #lisp 2017-12-09T11:31:30Z Shinmera: Style is opinionated after all. 2017-12-09T11:31:35Z yeticry quit (Ping timeout: 276 seconds) 2017-12-09T11:31:43Z lisp_guest: beach: why? 2017-12-09T11:31:43Z beach: Shinmera: There are general rules though. 2017-12-09T11:31:54Z beach: lisp_guest: Yes, but in this case, you can just do the (let ... (and ...)). 2017-12-09T11:32:35Z beach: lisp_guest: Because your function returns a Boolean value, and AND does as well. 2017-12-09T11:33:09Z lisp_guest: beach: yes, but the WHEN is there to guard against non-symbols 2017-12-09T11:33:43Z beach: Oh, sorry, the symbol-name. Yes. But then this is better: 2017-12-09T11:34:22Z beach: (and (symbolp sym) (let ((name (symbol-name sym))) (and (> (length ...))))) 2017-12-09T11:34:49Z lisp_guest: oh, didn't think of that 2017-12-09T11:36:42Z Shinmera: beach: Sure. In this case one could argue that returning NIL on failure is an explicit property of WHEN so the return value of NIL is already explicit too. 2017-12-09T11:36:58Z Shinmera: How explicit you want your code to be is often a matter of preference. 2017-12-09T11:37:17Z beach: Shinmera: There are general rules though. 2017-12-09T11:38:41Z random-nick quit (Remote host closed the connection) 2017-12-09T11:41:56Z basket joined #lisp 2017-12-09T11:42:04Z basket: Good morning! 2017-12-09T11:46:57Z beach: Hello basket. 2017-12-09T11:47:05Z phoe: Hey everyone 2017-12-09T11:47:12Z beach: Hello phoe. 2017-12-09T11:47:14Z basket: Hi phoe 2017-12-09T11:48:03Z phoe: Hey hi. 2017-12-09T11:48:22Z Tobbi joined #lisp 2017-12-09T11:50:49Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-09T11:57:28Z scymtym joined #lisp 2017-12-09T12:03:34Z teddy_error quit (Quit: Peace ☮︎) 2017-12-09T12:03:48Z raphaelss joined #lisp 2017-12-09T12:07:52Z oleo: sup sup 2017-12-09T12:08:39Z teddy_error joined #lisp 2017-12-09T12:09:08Z scymtym_ joined #lisp 2017-12-09T12:11:02Z dtornabene joined #lisp 2017-12-09T12:12:56Z Guest87516 quit (Remote host closed the connection) 2017-12-09T12:13:11Z scymtym quit (Ping timeout: 240 seconds) 2017-12-09T12:13:20Z Guest87516 joined #lisp 2017-12-09T12:13:21Z teddy_error quit (Ping timeout: 260 seconds) 2017-12-09T12:14:15Z SuperJen joined #lisp 2017-12-09T12:14:35Z fikka quit (Ping timeout: 240 seconds) 2017-12-09T12:15:09Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-09T12:15:21Z Jen joined #lisp 2017-12-09T12:15:44Z Jen is now known as Guest55904 2017-12-09T12:16:05Z wxie quit (Ping timeout: 255 seconds) 2017-12-09T12:16:58Z JenElizabeth joined #lisp 2017-12-09T12:17:37Z Guest87516 quit (Ping timeout: 248 seconds) 2017-12-09T12:19:13Z SuperJen quit (Ping timeout: 248 seconds) 2017-12-09T12:19:45Z Guest55904 quit (Ping timeout: 248 seconds) 2017-12-09T12:19:48Z SuperJen joined #lisp 2017-12-09T12:20:41Z basket: I started trying to write an Emacs mode knowing vaguely about EIEIO as a CLOS-like but discovered that it's single-dispatch and doesn't support around methods, very disappointing 2017-12-09T12:22:41Z JenElizabeth quit (Ping timeout: 260 seconds) 2017-12-09T12:24:30Z scymtym_: basket: i think this is no longer true in recent emacs versions. the object system is much closer to CLOS now 2017-12-09T12:25:36Z basket: If so, the documentation needs updated 2017-12-09T12:29:05Z scymtym_: the ones i looked at are cl-def{generic,method} 2017-12-09T12:31:21Z Bike joined #lisp 2017-12-09T12:38:50Z peterhil joined #lisp 2017-12-09T12:45:52Z EvW joined #lisp 2017-12-09T12:46:33Z pjb: lisp_guest: I use sprunge which is barebone and cool: #!/bin/sh ␤ exec curl --silent -F 'sprunge=<-' http://sprunge.us ␤ # cf. https://clbin.com/ ␤ 2017-12-09T12:46:33Z pjb: 2017-12-09T12:46:47Z Kevslinger joined #lisp 2017-12-09T12:47:43Z fikka joined #lisp 2017-12-09T12:49:31Z nowhere_man joined #lisp 2017-12-09T12:51:22Z varjag quit (Ping timeout: 268 seconds) 2017-12-09T12:51:27Z troydm quit (Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset) 2017-12-09T12:51:38Z orivej quit (Ping timeout: 255 seconds) 2017-12-09T12:53:36Z varjag joined #lisp 2017-12-09T13:02:01Z neoncont_ quit (Remote host closed the connection) 2017-12-09T13:02:23Z neoncontrails joined #lisp 2017-12-09T13:02:47Z neoncontrails quit (Remote host closed the connection) 2017-12-09T13:03:05Z neoncontrails joined #lisp 2017-12-09T13:03:33Z neoncontrails quit (Remote host closed the connection) 2017-12-09T13:03:53Z neoncontrails joined #lisp 2017-12-09T13:04:20Z neoncontrails quit (Remote host closed the connection) 2017-12-09T13:04:38Z neoncontrails joined #lisp 2017-12-09T13:05:06Z neoncontrails quit (Remote host closed the connection) 2017-12-09T13:05:23Z neoncontrails joined #lisp 2017-12-09T13:05:52Z neoncontrails quit (Remote host closed the connection) 2017-12-09T13:06:12Z neoncontrails joined #lisp 2017-12-09T13:06:38Z neoncontrails quit (Remote host closed the connection) 2017-12-09T13:07:45Z drcode joined #lisp 2017-12-09T13:08:14Z drcode quit (Remote host closed the connection) 2017-12-09T13:08:44Z dddddd joined #lisp 2017-12-09T13:09:45Z applePrincess joined #lisp 2017-12-09T13:10:19Z drcode joined #lisp 2017-12-09T13:10:48Z pseudonymous joined #lisp 2017-12-09T13:13:06Z applePrincess quit (Client Quit) 2017-12-09T13:28:03Z wigust_ joined #lisp 2017-12-09T13:28:57Z pseudonymous quit (Ping timeout: 240 seconds) 2017-12-09T13:30:56Z wigust quit (Ping timeout: 260 seconds) 2017-12-09T13:33:30Z EvW quit (Ping timeout: 246 seconds) 2017-12-09T13:34:07Z narendraj9 quit (Remote host closed the connection) 2017-12-09T13:42:47Z pseudonymous joined #lisp 2017-12-09T13:44:15Z EvW1 joined #lisp 2017-12-09T13:46:41Z damke joined #lisp 2017-12-09T13:47:29Z pseudonymous quit (Ping timeout: 268 seconds) 2017-12-09T13:48:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-09T13:50:24Z pareidolia quit (Ping timeout: 248 seconds) 2017-12-09T13:56:36Z BitPuffin|osx quit (Ping timeout: 246 seconds) 2017-12-09T14:05:56Z Kundry_Wag joined #lisp 2017-12-09T14:06:16Z asarch joined #lisp 2017-12-09T14:10:02Z random-nick joined #lisp 2017-12-09T14:18:51Z grublet quit (Ping timeout: 240 seconds) 2017-12-09T14:21:35Z jfe quit (Ping timeout: 240 seconds) 2017-12-09T14:23:32Z whartung_ joined #lisp 2017-12-09T14:24:54Z orivej joined #lisp 2017-12-09T14:26:07Z whartung quit (Ping timeout: 248 seconds) 2017-12-09T14:26:08Z whartung_ is now known as whartung 2017-12-09T14:30:26Z whartung_ joined #lisp 2017-12-09T14:31:24Z jfe joined #lisp 2017-12-09T14:33:44Z whartung quit (Ping timeout: 268 seconds) 2017-12-09T14:33:44Z whartung_ is now known as whartung 2017-12-09T14:34:09Z Kundry_Wag quit (Remote host closed the connection) 2017-12-09T14:35:51Z red-dot joined #lisp 2017-12-09T14:42:05Z Kundry_Wag joined #lisp 2017-12-09T14:43:06Z LiamH joined #lisp 2017-12-09T14:44:34Z drmeister: Have folks seen this: https://news.ycombinator.com/item?id=15880172 2017-12-09T14:45:55Z beach: Yes. 2017-12-09T14:46:27Z beach: The link to the video was posted here recently. 2017-12-09T14:48:31Z whartung_ joined #lisp 2017-12-09T14:49:25Z beach: drmeister: He mentions simulations of molecules (as I recall) as one great application for quantum computing. 2017-12-09T14:49:35Z drmeister: Yes 2017-12-09T14:49:52Z drmeister: One quantum system can simulate another. 2017-12-09T14:50:07Z varjag quit (Ping timeout: 248 seconds) 2017-12-09T14:50:21Z whartung quit (Ping timeout: 240 seconds) 2017-12-09T14:50:22Z whartung_ is now known as whartung 2017-12-09T14:51:07Z drmeister: https://en.wikipedia.org/wiki/Quantum_simulator 2017-12-09T14:51:24Z drmeister: That's why I'm excited about it. I hope they are on the right track. 2017-12-09T14:51:47Z beach: drmeister: You can discuss it with stylewarning at ELS. :) 2017-12-09T14:52:03Z drmeister: stylewarning? 2017-12-09T14:52:28Z beach: That's his IRC nick. 2017-12-09T14:52:49Z dddddd quit (Ping timeout: 248 seconds) 2017-12-09T14:54:31Z dddddd joined #lisp 2017-12-09T14:57:22Z Jen joined #lisp 2017-12-09T14:57:46Z Jen is now known as Guest31104 2017-12-09T14:59:51Z EvW1 quit (Ping timeout: 240 seconds) 2017-12-09T15:00:46Z SuperJen quit (Ping timeout: 260 seconds) 2017-12-09T15:01:47Z damke_ joined #lisp 2017-12-09T15:02:10Z neoncontrails joined #lisp 2017-12-09T15:03:27Z EvW joined #lisp 2017-12-09T15:03:41Z damke quit (Ping timeout: 240 seconds) 2017-12-09T15:05:15Z SuperJen joined #lisp 2017-12-09T15:05:36Z whartung quit (Read error: Connection reset by peer) 2017-12-09T15:06:17Z whartung joined #lisp 2017-12-09T15:08:21Z Guest31104 quit (Ping timeout: 240 seconds) 2017-12-09T15:11:51Z cess11_ quit (Ping timeout: 260 seconds) 2017-12-09T15:13:25Z applePrincess_ joined #lisp 2017-12-09T15:14:43Z applePrincess_ quit (Client Quit) 2017-12-09T15:16:32Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-09T15:22:03Z neoncontrails joined #lisp 2017-12-09T15:26:53Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-09T15:28:38Z test1600 joined #lisp 2017-12-09T15:29:12Z drmeister: Thank you 2017-12-09T15:29:28Z Devon joined #lisp 2017-12-09T15:29:36Z Devon: Anyone know how to (read-byte *standard-input*) and (write-byte * *standard-output*) portably? 2017-12-09T15:29:47Z orivej_ joined #lisp 2017-12-09T15:31:09Z neoncontrails joined #lisp 2017-12-09T15:31:12Z orivej quit (Ping timeout: 248 seconds) 2017-12-09T15:35:08Z Kundry_Wag quit (Remote host closed the connection) 2017-12-09T15:38:06Z jfe quit (Ping timeout: 260 seconds) 2017-12-09T15:40:23Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-09T15:40:50Z beach: Devon: As far as I know, those are character streams, so you have to write characters to them. 2017-12-09T15:40:55Z phoe: Devon: *STANDARD-INPUT* and *STANDARD-OUTPUT* are character streams 2017-12-09T15:41:12Z phoe: and they may accept multibyte characters in case someone's using UTF-8 for example 2017-12-09T15:41:28Z pjb: Devon: this is not possible in a conforming way. 2017-12-09T15:41:39Z phoe: as in, they are not byte streams. 2017-12-09T15:41:46Z beach: Devon: You can of course bind those variables to some binary streams. 2017-12-09T15:42:00Z pjb: Devon: implementation dependent, you may be able to use flexi-stream to change the kind of stream, or you may be able to create binary streams on the same file descriptors. 2017-12-09T15:42:48Z pjb: Devon: for command line tools, just pass paths to the binary files as command line arguments, and open them. 2017-12-09T15:43:10Z neoncontrails joined #lisp 2017-12-09T15:43:36Z pjb: You can then bind them to *standard-input* and *standard-output*, but I would advise against it (just use parameter named input and output). Keep *standard-input* and *standard-output* for textual I/O, you may want to issue messages, etc. 2017-12-09T15:47:08Z fikka quit (Ping timeout: 255 seconds) 2017-12-09T15:47:35Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-09T15:48:48Z dddddd quit (Ping timeout: 248 seconds) 2017-12-09T15:49:00Z jfe joined #lisp 2017-12-09T15:49:38Z Devon: Yeah, everything said so far I already know, none of it answers the question. 2017-12-09T15:49:49Z pjb: Devon: there's also another consideration: this is a big no-no to touch *terminal-io* and the object bound to it. (it's the stream used to report errors and by the debugger by default). But by default *standard-input* and *standard-output* may be synonym-streams to *terminal-io*; so mutating the streams bound to those variables would mutate the stream bound to *terminal-io* and this would break the implementation! 2017-12-09T15:50:25Z pjb: So, rebinding *standard-input* and *standard-output* is allowed, but not mutating (eg. changing the element-type) of those streams. 2017-12-09T15:50:45Z pjb: Devon: the answer to your question is NO. Do not do that! 2017-12-09T15:51:00Z pjb: If you want, more precisely, it's Mu! 2017-12-09T15:51:34Z pjb: 無 2017-12-09T15:52:05Z Kundry_Wag joined #lisp 2017-12-09T15:52:12Z Devon: Since it cannot be done portably, any implementation-specific solution could carefully mutate all the standard streams without breaking anything. 2017-12-09T15:52:25Z pjb: https://en.wikipedia.org/wiki/Mu_(negative) 2017-12-09T15:53:01Z pjb: First try flexi-stream, as I answered above. (Despite your erroneous affirmation that no solution was proposed). 2017-12-09T15:53:05Z dddddd joined #lisp 2017-12-09T15:55:38Z alexmlw quit (Quit: alexmlw) 2017-12-09T15:55:52Z neoncontrails joined #lisp 2017-12-09T15:56:07Z alexmlw joined #lisp 2017-12-09T15:57:05Z scymtym_: jackdaniel: in https://plaster.tymoon.eu/view/686#686 in WAIT-ON-SEMAPHORE: when going back to sleep via CONDITION-WAIT, timeout should be decreased by already elapsed time 2017-12-09T15:57:13Z fikka joined #lisp 2017-12-09T16:00:22Z jackdaniel: scymtym_: good point, thanks. current version is here: github.com/dkochmanski/bordeaux-threads/ , I will incorporate your remark later today 2017-12-09T16:00:38Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-09T16:01:23Z jackdaniel: I've switched to internal-real-time, generic implementation had small problems when tested on CCL with timeouts like 0.1 2017-12-09T16:01:23Z scymtym_: jackdaniel: sure. i envy you for not having to take deadlines into account :) 2017-12-09T16:01:56Z jackdaniel: heh, you still try to fix timeout+deadline combo? 2017-12-09T16:02:38Z scymtym_: i think i have it figured out. needs a lot of polishing and testing, though 2017-12-09T16:05:57Z vertigo quit (Ping timeout: 240 seconds) 2017-12-09T16:06:00Z varjag joined #lisp 2017-12-09T16:06:52Z damke_ quit (Read error: Connection reset by peer) 2017-12-09T16:07:41Z damke_ joined #lisp 2017-12-09T16:08:13Z vertigo joined #lisp 2017-12-09T16:08:23Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-09T16:08:54Z jackdaniel: alright, added fix: https://github.com/dkochmanski/bordeaux-threads/blob/master/src/default-implementations.lisp#L310 2017-12-09T16:10:22Z neoncontrails joined #lisp 2017-12-09T16:11:21Z knobo joined #lisp 2017-12-09T16:14:31Z SuperJen quit (Remote host closed the connection) 2017-12-09T16:14:58Z SuperJen joined #lisp 2017-12-09T16:15:29Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-09T16:17:55Z neoncontrails joined #lisp 2017-12-09T16:19:32Z EvW quit (Ping timeout: 258 seconds) 2017-12-09T16:19:40Z wheelsucker joined #lisp 2017-12-09T16:20:27Z knobo quit (Ping timeout: 240 seconds) 2017-12-09T16:21:07Z astronavt joined #lisp 2017-12-09T16:22:11Z quazimodo quit (Ping timeout: 240 seconds) 2017-12-09T16:22:41Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-09T16:23:58Z Tobbi joined #lisp 2017-12-09T16:26:00Z knobo joined #lisp 2017-12-09T16:26:38Z beach quit (Ping timeout: 260 seconds) 2017-12-09T16:28:41Z nowhere_man quit (Ping timeout: 240 seconds) 2017-12-09T16:28:51Z nowhere_man joined #lisp 2017-12-09T16:28:57Z lisp_guest quit (Ping timeout: 240 seconds) 2017-12-09T16:32:23Z neoncontrails joined #lisp 2017-12-09T16:33:08Z dtornabene quit (Quit: Leaving) 2017-12-09T16:35:45Z knobo quit (Ping timeout: 248 seconds) 2017-12-09T16:41:25Z resttime joined #lisp 2017-12-09T16:41:35Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-09T16:41:37Z jfe quit (Ping timeout: 248 seconds) 2017-12-09T16:44:15Z vertigo quit (Ping timeout: 248 seconds) 2017-12-09T16:46:30Z Kundry_Wag quit (Remote host closed the connection) 2017-12-09T16:46:47Z neoncontrails joined #lisp 2017-12-09T16:47:06Z Kundry_Wag joined #lisp 2017-12-09T16:48:02Z Kundry_Wag quit (Remote host closed the connection) 2017-12-09T16:48:15Z Kundry_Wag joined #lisp 2017-12-09T16:51:21Z neoncontrails quit (Ping timeout: 258 seconds) 2017-12-09T16:52:53Z Josh_2 joined #lisp 2017-12-09T16:54:39Z k-stz joined #lisp 2017-12-09T16:56:35Z neoncontrails joined #lisp 2017-12-09T17:00:02Z _whitelogger quit (Remote host closed the connection) 2017-12-09T17:00:38Z Kundry_Wag quit (Remote host closed the connection) 2017-12-09T17:01:13Z Kundry_Wag joined #lisp 2017-12-09T17:01:23Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-09T17:02:15Z _whitelogger joined #lisp 2017-12-09T17:03:05Z beach joined #lisp 2017-12-09T17:04:12Z fikka quit (Ping timeout: 268 seconds) 2017-12-09T17:04:19Z vertigo joined #lisp 2017-12-09T17:05:26Z Kundry_Wag quit (Ping timeout: 255 seconds) 2017-12-09T17:11:47Z jfe joined #lisp 2017-12-09T17:11:57Z vertigo quit (Ping timeout: 240 seconds) 2017-12-09T17:11:58Z neoncontrails joined #lisp 2017-12-09T17:16:12Z neoncontrails quit (Ping timeout: 240 seconds) 2017-12-09T17:17:54Z EvW joined #lisp 2017-12-09T17:19:27Z dddddd quit (Ping timeout: 248 seconds) 2017-12-09T17:19:45Z neoncontrails joined #lisp 2017-12-09T17:19:53Z vertigo joined #lisp 2017-12-09T17:22:31Z EvW quit (Ping timeout: 260 seconds) 2017-12-09T17:23:08Z mint joined #lisp 2017-12-09T17:24:12Z neoncontrails quit (Ping timeout: 240 seconds) 2017-12-09T17:25:06Z sebastien_ quit (Quit: Stretch 9.3 reboot) 2017-12-09T17:25:57Z vertigo quit (Ping timeout: 240 seconds) 2017-12-09T17:26:02Z dddddd joined #lisp 2017-12-09T17:27:09Z neoncontrails joined #lisp 2017-12-09T17:30:10Z sebastien_ joined #lisp 2017-12-09T17:31:59Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-09T17:33:44Z neoncontrails joined #lisp 2017-12-09T17:35:58Z fikka joined #lisp 2017-12-09T17:38:17Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-09T17:40:01Z Xal quit (Ping timeout: 260 seconds) 2017-12-09T17:43:22Z neoncontrails joined #lisp 2017-12-09T17:44:02Z LiamH quit (Quit: Leaving.) 2017-12-09T17:47:09Z Xal joined #lisp 2017-12-09T17:48:05Z neoncontrails quit (Ping timeout: 258 seconds) 2017-12-09T17:50:12Z neoncontrails joined #lisp 2017-12-09T17:50:44Z knobo joined #lisp 2017-12-09T17:52:43Z scymtym_ quit (Ping timeout: 250 seconds) 2017-12-09T17:54:59Z neoncontrails quit (Ping timeout: 258 seconds) 2017-12-09T18:00:09Z pseudonymous joined #lisp 2017-12-09T18:01:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-09T18:01:30Z neoncontrails joined #lisp 2017-12-09T18:02:11Z damke_ joined #lisp 2017-12-09T18:05:57Z turkja quit (Ping timeout: 240 seconds) 2017-12-09T18:06:11Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-09T18:07:41Z knobo quit (Ping timeout: 240 seconds) 2017-12-09T18:09:05Z neoncontrails joined #lisp 2017-12-09T18:11:01Z knobo joined #lisp 2017-12-09T18:13:50Z neoncontrails quit (Ping timeout: 255 seconds) 2017-12-09T18:14:39Z neoncontrails joined #lisp 2017-12-09T18:16:37Z lisp_guest joined #lisp 2017-12-09T18:22:59Z earl-ducaine: Devon: It depends a bit on what you're trying to do. But one approach would be to create custom streams along the lines of string output stream and string input string, i.e. create a byte stream that converts and writes characters to the output stream. 2017-12-09T18:23:14Z earl-ducaine: Then rename that stream to *be* the output stream. 2017-12-09T18:23:45Z fiddlerwoaroof joined #lisp 2017-12-09T18:28:48Z Devon: earl-ducaine: (ccl::make-fd-stream 0 :character-p t :element-type '(unsigned-byte 8)) doc claims "bivalent" but (read-byte *) complains (typep * '(and input-stream ccl::binary-stream)) => nil 2017-12-09T18:31:38Z beach: earl-ducaine: In that blog of yours, indentation is screwed up. 2017-12-09T18:32:16Z Devon: earl-ducaine: I'll see how it's done in flexi-streams 2017-12-09T18:34:24Z beach: earl-ducaine: I mean indentation in the code examples. 2017-12-09T18:34:56Z beach: earl-ducaine: And in one example, you have two consecutive lines with (let (rest) on them. 2017-12-09T18:36:15Z beach: earl-ducaine: Plus, when you write (let (result) ...) the reader expects RESULT to be assigned to before being used. If you want to initialize it to the empty list, it is best to write (let ((result '())) ...) 2017-12-09T18:36:16Z earl-ducaine: Beach: thanks! Yeah. Bike pointed that out. 2017-12-09T18:36:28Z beach: Ah, OK. 2017-12-09T18:36:28Z earl-ducaine: Problems of trying to blog with emacs. :) 2017-12-09T18:36:52Z beach: I see. 2017-12-09T18:37:01Z knobo quit (Ping timeout: 240 seconds) 2017-12-09T18:37:09Z Devon: No apropos matches for ‘blog’ 2017-12-09T18:38:18Z earl-ducaine: Devon: I think that approach would require you to create your own stream subclass. So, the flexi stream library would be a good place to see how that's down. 2017-12-09T18:38:22Z parjanya: earl-ducaine: where is your blog? 2017-12-09T18:38:36Z beach: parjanya: https://earlducaine.wordpress.com/ 2017-12-09T18:39:17Z knobo joined #lisp 2017-12-09T18:44:49Z pseudonymous quit (Ping timeout: 248 seconds) 2017-12-09T18:46:16Z Devon: earl-ducaine: https://earlducaine.wordpress.com ... do to bit rot/due to bit rot 2017-12-09T18:47:42Z parjanya: beach: thanks! 2017-12-09T18:48:22Z parjanya: earl-ducaine: any reason why you have those line breaks inside the paragraphs? 2017-12-09T18:52:40Z zmt00 joined #lisp 2017-12-09T18:55:44Z SaganMan quit (Quit: laters) 2017-12-09T18:59:42Z troydm joined #lisp 2017-12-09T19:02:40Z Kundry_Wag joined #lisp 2017-12-09T19:06:22Z earl-ducaine: parajanya: haha see my comment to beach about using Emacs for blogging. :) 2017-12-09T19:08:32Z Kundry_Wag quit (Ping timeout: 276 seconds) 2017-12-09T19:10:57Z nowhere_man quit (Ping timeout: 248 seconds) 2017-12-09T19:13:05Z fikka quit (Ping timeout: 248 seconds) 2017-12-09T19:14:52Z nowhere_man joined #lisp 2017-12-09T19:15:43Z SuperJen quit (Remote host closed the connection) 2017-12-09T19:15:56Z parjanya: earl-ducaine: how are you doing it? 2017-12-09T19:16:12Z SuperJen joined #lisp 2017-12-09T19:16:40Z mson joined #lisp 2017-12-09T19:19:41Z python476 joined #lisp 2017-12-09T19:21:17Z Devon: (defun blog ...) and M-x blog RET ? 2017-12-09T19:21:45Z applePrincess_ joined #lisp 2017-12-09T19:22:50Z Devon: Say, anyone have fixups for bad emacs lisp-mode indentation, e.g., 2017-12-09T19:22:50Z Devon: (put 'with-open-stream 'lisp-indent-function 1) 2017-12-09T19:22:50Z Devon: (put 'with-open-file 'lisp-indent-function 1) 2017-12-09T19:24:04Z applePrincess_ is now known as yharuhi39 2017-12-09T19:27:31Z fiddlerwoaroof: Devon: I think 90% of those problems are solved by using slime and making sure that emacs is configured to indent lisp in cl-style 2017-12-09T19:28:07Z yharuhi39 quit (Quit: Mutter: www.mutterirc.com) 2017-12-09T19:29:04Z yharuhi39 joined #lisp 2017-12-09T19:29:32Z zaquest joined #lisp 2017-12-09T19:31:42Z yharuhi39 quit (Client Quit) 2017-12-09T19:37:25Z Devon: Not in the two cases I mentioned. 2017-12-09T19:37:35Z nika quit (Quit: Leaving...) 2017-12-09T19:39:01Z Devon: I'm sure Emacs+slime lisp-mode botches many obscure cases I haven't noticed yet. 2017-12-09T19:39:27Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-09T19:39:38Z applePrincess_ joined #lisp 2017-12-09T19:39:57Z applePrincess_ quit (Client Quit) 2017-12-09T19:42:07Z Devon: (mapcar #'fdefinition-lambda-list (apropos-list "with-" "CL")) ; oops, no obvious way to extract the lambda-list 2017-12-09T19:42:14Z resttime quit (Quit: Leaving) 2017-12-09T19:46:26Z damke joined #lisp 2017-12-09T19:47:42Z pjb: Devon: (mapcar 'swank/backend:arglist (apropos-list "WITH-" "CL")) 2017-12-09T19:48:13Z fiddlerwoaroof: Hmm, I use those all the time and never noticed any indentation issues 2017-12-09T19:49:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-09T19:50:06Z EvW joined #lisp 2017-12-09T19:53:10Z wigust_ quit (Ping timeout: 268 seconds) 2017-12-09T19:53:40Z Devon: pjb: Thanks! Nicer indentation henceforth. 2017-12-09T19:55:08Z Devon: fiddlerwoaroof: You never noticed the first body form is out of line with the rest? 2017-12-09T19:56:01Z fiddlerwoaroof: Not for me 2017-12-09T19:59:01Z fiddlerwoaroof: Devon: https://i.imgur.com/7f6ULNh.png 2017-12-09T19:59:18Z pjb: this indentation is perfectly correct. 2017-12-09T19:59:23Z fiddlerwoaroof: ... that's not definitive, I'll post another 2017-12-09T19:59:55Z fiddlerwoaroof: https://i.imgur.com/4KPXlH9.png 2017-12-09T20:00:00Z Devon: fiddlerwoaroof: Yeah, that's correct, what's in your init file to fix that? 2017-12-09T20:00:09Z pjb: still perfectly correct. 2017-12-09T20:00:10Z fiddlerwoaroof: nothing 2017-12-09T20:00:38Z fiddlerwoaroof: In lisp I do (ql:quickload :quicklisp-slime-helper) 2017-12-09T20:00:52Z fiddlerwoaroof: Then, in my emacs config, I just do (load (expand-file-name "~/quicklisp/slime-helper.el")) 2017-12-09T20:01:05Z damke_ joined #lisp 2017-12-09T20:01:19Z fiddlerwoaroof: I load these contribs: slime-fancy slime-company slime-macrostep slime-trace-dialog slime-mdot-fu 2017-12-09T20:01:24Z pjb: So basically , you followed the instructions in http://cliki.net/Getting+Started Congratulations! 2017-12-09T20:02:02Z fiddlerwoaroof: Yeah, I'm perfectly fine with my configuration :) 2017-12-09T20:03:04Z fiddlerwoaroof: I think, sometimes people have indentation issues because lisp-mode is using the emacs-lisp indentation function 2017-12-09T20:03:21Z damke quit (Ping timeout: 240 seconds) 2017-12-09T20:03:31Z Tobbi joined #lisp 2017-12-09T20:03:37Z manjaro joined #lisp 2017-12-09T20:04:47Z manjaro quit (Client Quit) 2017-12-09T20:05:16Z fiddlerwoaroof: If you do M-: lisp-indent-function, you should see common-lisp-input-function in the message arez 2017-12-09T20:05:21Z fiddlerwoaroof: s/z/a 2017-12-09T20:05:48Z Devon considers trashing his init file and starting over 2017-12-09T20:10:02Z sz0 quit (Quit: Connection closed for inactivity) 2017-12-09T20:13:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-09T20:14:24Z quazimodo joined #lisp 2017-12-09T20:14:43Z drcode_ joined #lisp 2017-12-09T20:16:57Z smurfrobot quit (Remote host closed the connection) 2017-12-09T20:17:03Z drcode quit (Ping timeout: 248 seconds) 2017-12-09T20:19:41Z knobo quit (Ping timeout: 268 seconds) 2017-12-09T20:20:05Z quazimodo quit (Ping timeout: 240 seconds) 2017-12-09T20:21:10Z Fare quit (Quit: Leaving) 2017-12-09T20:21:32Z knobo joined #lisp 2017-12-09T20:32:38Z fikka joined #lisp 2017-12-09T20:35:14Z smurfrobot joined #lisp 2017-12-09T20:37:27Z fikka quit (Ping timeout: 240 seconds) 2017-12-09T20:40:00Z smurfrobot quit (Ping timeout: 248 seconds) 2017-12-09T20:45:38Z Jen joined #lisp 2017-12-09T20:46:02Z Jen is now known as Guest93005 2017-12-09T20:49:05Z SuperJen quit (Ping timeout: 255 seconds) 2017-12-09T20:51:19Z scymtym joined #lisp 2017-12-09T20:58:44Z orivej_ is now known as orivej 2017-12-09T21:04:31Z xor-xor joined #lisp 2017-12-09T21:06:07Z dddddd quit (Ping timeout: 248 seconds) 2017-12-09T21:06:52Z quazimodo joined #lisp 2017-12-09T21:06:58Z quazimodo quit (Read error: Connection reset by peer) 2017-12-09T21:07:53Z vlatkoB quit (Remote host closed the connection) 2017-12-09T21:11:53Z kark joined #lisp 2017-12-09T21:17:13Z quazimodo joined #lisp 2017-12-09T21:17:29Z quazimodo quit (Read error: Connection reset by peer) 2017-12-09T21:18:32Z dddddd joined #lisp 2017-12-09T21:21:50Z shenghi quit (Remote host closed the connection) 2017-12-09T21:22:09Z shenghi joined #lisp 2017-12-09T21:23:55Z jfb4 quit (Ping timeout: 252 seconds) 2017-12-09T21:25:19Z raphaelss quit (Ping timeout: 248 seconds) 2017-12-09T21:26:02Z jfb4 joined #lisp 2017-12-09T21:26:50Z damke_ joined #lisp 2017-12-09T21:27:04Z fikka joined #lisp 2017-12-09T21:27:36Z quazimodo joined #lisp 2017-12-09T21:28:41Z shrdlu68 quit (Ping timeout: 260 seconds) 2017-12-09T21:29:05Z knobo quit (Ping timeout: 248 seconds) 2017-12-09T21:30:37Z xor-xor quit (Quit: Killed by buffer) 2017-12-09T21:30:56Z knobo joined #lisp 2017-12-09T21:31:36Z fikka quit (Ping timeout: 246 seconds) 2017-12-09T21:34:14Z wigust joined #lisp 2017-12-09T21:35:38Z shrdlu68 joined #lisp 2017-12-09T21:36:33Z kark quit (Ping timeout: 258 seconds) 2017-12-09T21:39:17Z kark joined #lisp 2017-12-09T21:40:05Z kartik1 joined #lisp 2017-12-09T21:42:52Z fikka joined #lisp 2017-12-09T21:43:04Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-12-09T21:43:16Z damke joined #lisp 2017-12-09T21:43:29Z quazimodo quit (Ping timeout: 248 seconds) 2017-12-09T21:43:47Z kark quit (Ping timeout: 255 seconds) 2017-12-09T21:45:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-09T21:52:55Z CrazyEddy quit (Remote host closed the connection) 2017-12-09T21:54:02Z Rawriful joined #lisp 2017-12-09T21:54:45Z drmeister: Are there any lispers who use docker-compose and know how to get 'volumes:' to work? I am building a Common Lisp docker image and I'm banging my head against a wall for the past hour trying to get volumes to work. 2017-12-09T21:55:47Z drmeister: Off topic - I know - but my cries in more appropriate wildernesses bringing no succor. 2017-12-09T21:58:45Z peccu1 joined #lisp 2017-12-09T21:59:03Z earl-ducaine: parjanya: I'm planning on totally revising my approach. Each post will be an org document, I'll use tangle tags to extract all the lisp code into an ASDF project and export as HTML to generate the HTML, which I'll publish to word press as files. 2017-12-09T21:59:25Z earl-ducaine: there are still a few details to work out like how to handle stylesheets.... 2017-12-09T21:59:35Z peccu quit (Ping timeout: 240 seconds) 2017-12-09T22:00:04Z earl-ducaine: Previously my technique was just copy-and-paste from emacs to wordpress editor, which is problematic. 2017-12-09T22:00:11Z butterthebuddha quit (Max SendQ exceeded) 2017-12-09T22:00:12Z test1600 quit (Ping timeout: 268 seconds) 2017-12-09T22:00:26Z butterthebuddha joined #lisp 2017-12-09T22:06:49Z earl-ducaine: drmeister: what are you trying to do with volumes? 2017-12-09T22:07:42Z earl-ducaine: the big trick that I've run into is the to use them you need to 'run' them first, and that specifying *where* they're located no the host, i.e. host path and where they're mounted in the container is tricky. 2017-12-09T22:08:40Z drmeister: earl-ducaine: Thanks for responding! I want to mount a directory from the host that contains a .tgz file and then untar it into the docker container. 2017-12-09T22:09:09Z z3t0 joined #lisp 2017-12-09T22:09:41Z drmeister: 'run' them first? Could you elaborate? 2017-12-09T22:10:06Z pierpa joined #lisp 2017-12-09T22:11:21Z drmeister: I can ADD the .tgz file to the docker container but then it adds a lot of useless space to resulting image 2017-12-09T22:11:45Z python476 quit (Remote host closed the connection) 2017-12-09T22:12:29Z epony quit (Remote host closed the connection) 2017-12-09T22:13:07Z earl-ducaine: drmeister: I'm not a docker expert.... so this is probably not the 'best' way. But it should work... give me a couple minututes and i'll post the example to pastebin. 2017-12-09T22:13:25Z drmeister: Thank you! 2017-12-09T22:14:57Z earl-ducaine: drmeister: while your waiting.... (the code is on another machine) the command I'm using is: docker creat -v /some/directory blah blah 2017-12-09T22:20:03Z drmeister: Oh - I'm familiar with mounting directories using: docker -v ... that works very reliably. 2017-12-09T22:21:15Z drmeister: I use docker-compose kind of like a 'makefile' for docker - I was trying to get the 'volumes:' keyword of a docker-compose.yml file to work. I _thought_ it played the role of 'docker -v ...' mounting a host directory within the docker container that docker-compose starts up. 2017-12-09T22:22:53Z drmeister: I can _not_ use docker-compose and drop down to just using docker, I suppose. It just irks me when a feature that appears to be the appropriate one (volume:) fails and especially when it fails silently. 2017-12-09T22:23:20Z drmeister is irked. 2017-12-09T22:25:14Z drmeister: Unless I misunderstand your meaning. In any event - I look forward to your advice. 2017-12-09T22:31:07Z z3t0 quit (Quit: Leaving...) 2017-12-09T22:32:31Z cmatei quit (Ping timeout: 248 seconds) 2017-12-09T22:33:27Z zaquest quit (Remote host closed the connection) 2017-12-09T22:33:53Z earl-ducaine: ok. I was being an idiot (i.e. giving you the long way round) all you need to do is something like this: 2017-12-09T22:33:58Z earl-ducaine: drmeister: docker run -d -p 8090:8080 --volume $(pwd)/holt/dir:/opt/container/dir --name lisp-container my-docker-image /bin/bash 2017-12-09T22:34:33Z drmeister: Got it - thank you. 2017-12-09T22:34:48Z earl-ducaine: /holt/dir being a directory on your host. /opt/cointainer being the directory on the container where it's mapped. 2017-12-09T22:35:57Z earl-ducaine: What I was describing previously was a way to take an existing docker image and mount it as a volume in another runing instance. very powerful but not at all what you need. 2017-12-09T22:37:39Z earl-ducaine: drmeister: oop just saw your latest msgs, cheers! 2017-12-09T22:38:25Z drmeister: No problem! I really appreciate the time you took. 2017-12-09T22:38:40Z zaquest joined #lisp 2017-12-09T22:40:46Z earl-ducaine: For a moment I got exited that I could help out someone nearly as docker inept as myself! ....until you gently pointed out that I misunderstood the question. 2017-12-09T22:49:14Z knobo quit (Ping timeout: 255 seconds) 2017-12-09T22:49:52Z drmeister: No worries - I've subsequently learned that what I want (mount a directory during docker build) is not possible! 2017-12-09T22:50:14Z knobo joined #lisp 2017-12-09T22:50:16Z drmeister: Apparently it was a design choice to improve portability. 2017-12-09T22:50:46Z drmeister: https://stackoverflow.com/questions/26050899/how-to-mount-host-volumes-into-docker-containers-in-dockerfile-during-build 2017-12-09T22:51:11Z drmeister will allow #lisp to return to its regularly scheduled topic. 2017-12-09T22:53:53Z ck_ quit (Ping timeout: 248 seconds) 2017-12-09T22:58:16Z kartik1 quit (Quit: WeeChat 1.4) 2017-12-09T22:59:08Z kark joined #lisp 2017-12-09T22:59:49Z ck_ joined #lisp 2017-12-09T23:00:48Z Xal quit (Ping timeout: 248 seconds) 2017-12-09T23:01:36Z damke_ joined #lisp 2017-12-09T23:03:10Z Xal joined #lisp 2017-12-09T23:03:11Z nowhere_man quit (Ping timeout: 260 seconds) 2017-12-09T23:03:21Z damke quit (Ping timeout: 240 seconds) 2017-12-09T23:05:04Z Kundry_Wag joined #lisp 2017-12-09T23:06:24Z nowhere_man joined #lisp 2017-12-09T23:06:43Z varjag: any preferrable lisp library for rest apis? 2017-12-09T23:06:51Z varjag: client side 2017-12-09T23:09:12Z Shinmera: What more beyond an HTTP client do you want? 2017-12-09T23:09:31Z Kundry_Wag quit (Ping timeout: 240 seconds) 2017-12-09T23:17:12Z Guest93005 quit (Remote host closed the connection) 2017-12-09T23:17:37Z Guest93005 joined #lisp 2017-12-09T23:19:27Z jack_rabbit quit (Ping timeout: 248 seconds) 2017-12-09T23:22:35Z damke joined #lisp 2017-12-09T23:22:41Z knobo quit (Ping timeout: 248 seconds) 2017-12-09T23:23:51Z SamSkulls joined #lisp 2017-12-09T23:24:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-09T23:29:58Z random-nick quit (Remote host closed the connection) 2017-12-09T23:33:04Z vtomole joined #lisp 2017-12-09T23:33:19Z jack_rabbit joined #lisp 2017-12-09T23:33:51Z Devon quit (Ping timeout: 248 seconds) 2017-12-09T23:33:57Z grublet joined #lisp 2017-12-09T23:35:57Z damke_ joined #lisp 2017-12-09T23:36:23Z Karl_Dscc joined #lisp 2017-12-09T23:38:21Z damke quit (Ping timeout: 240 seconds) 2017-12-09T23:41:26Z alexmlw quit (Quit: alexmlw) 2017-12-09T23:43:37Z kokonaisluku joined #lisp 2017-12-09T23:44:01Z davsebamse quit (Ping timeout: 248 seconds) 2017-12-09T23:45:54Z davsebamse joined #lisp 2017-12-09T23:50:21Z Xal quit (Ping timeout: 240 seconds) 2017-12-09T23:50:26Z jibanes quit (Ping timeout: 260 seconds) 2017-12-09T23:51:24Z Kundry_Wag joined #lisp 2017-12-09T23:51:43Z Xal joined #lisp 2017-12-09T23:52:03Z jibanes joined #lisp 2017-12-09T23:57:32Z vtomole quit (Quit: Page closed) 2017-12-10T00:00:01Z kozy quit (Remote host closed the connection) 2017-12-10T00:00:37Z kozy joined #lisp 2017-12-10T00:04:09Z varjag quit (Ping timeout: 268 seconds) 2017-12-10T00:04:38Z varjag joined #lisp 2017-12-10T00:06:56Z kokonaisluku quit (Quit: ChatZilla 0.9.93 [Firefox 52.5.0/20171117140933]) 2017-12-10T00:07:20Z waynecolvin: silly question: how do you view "documentation strings"? 2017-12-10T00:07:33Z Shinmera: DOCUMENTATION 2017-12-10T00:08:00Z Shinmera: DESCRIBE will often also print the docstring if it knows how to resolve it. 2017-12-10T00:17:29Z whoman: let's make CLOS++ 2017-12-10T00:18:03Z whoman: oops wrong buffer! Shinmera , looking forward to your stream tmrw! 2017-12-10T00:18:07Z Kundry_Wag quit (Remote host closed the connection) 2017-12-10T00:20:11Z jmercouris joined #lisp 2017-12-10T00:20:52Z Shinmera: Sure. 2017-12-10T00:24:54Z jmercouris: I posted on #ccl, but I'll post my question here again, in case someone knows: https://gist.github.com/ea786f925cb0678690540492476feefb 2017-12-10T00:25:26Z whoman: would we someday be doing this but for CL? https://akabe.github.io/ocaml-jupyter/ 2017-12-10T00:25:40Z jmercouris: Why might it be that my standalone program can call obj-c no problem, but when I use slime to call those same functions/methods, nothing is recognized 2017-12-10T00:25:49Z whoman: clim-listener i understand is close (well, Jupyter lets say is closer to original CLIM listener ?) 2017-12-10T00:26:06Z whoman: jmercouris: link in the objc runtime ? 2017-12-10T00:26:07Z Shinmera: whoman: there already is cl-jupyter 2017-12-10T00:26:20Z jmercouris: whoman: ? 2017-12-10T00:26:23Z whoman: oh ! 2017-12-10T00:26:36Z whoman: jmercouris: objc requires a runtime .so/.a 2017-12-10T00:26:57Z smurfrobot joined #lisp 2017-12-10T00:27:09Z jmercouris: whoman: Well, my application works, I just can't call the obj-c functions via slime invokations 2017-12-10T00:27:13Z Bike: jmercouris: mac has a thing where you can only do things in the main thread, and the slime repl isn't the main thread. might be related, don't know. 2017-12-10T00:27:28Z Kundry_Wag joined #lisp 2017-12-10T00:27:46Z jmercouris: Bike: I start swank like this: https://gist.github.com/bf90172b27c07ff9edf023d3f6e7a3e6 2017-12-10T00:27:56Z whoman: Bike: i am not sure if that has changed in objc 2.0 but that is mostly for Cocoa app main loops (NSApplication##) 2017-12-10T00:28:07Z Bike: jmercouris: :style :spawn means it spawns threads. 2017-12-10T00:28:23Z jmercouris: Hmmm ok, let me try removing that line, maybe it'll be on the same thread 2017-12-10T00:28:29Z jmercouris: there is probably some weird context among threads 2017-12-10T00:28:39Z jmercouris: though I imagine the instance should be able to respond to a selector among all threads 2017-12-10T00:28:41Z kartik1 joined #lisp 2017-12-10T00:28:47Z kark quit (Ping timeout: 248 seconds) 2017-12-10T00:28:50Z jmercouris: I have no idea how the runtime works internally, but that's worth a shot 2017-12-10T00:29:00Z quazimodo joined #lisp 2017-12-10T00:30:50Z whoman: dont think that would affect the objc runtime. its never had anything much to do with threads as it is 2017-12-10T00:31:05Z smurfrobot quit (Ping timeout: 240 seconds) 2017-12-10T00:31:16Z whoman: i would be concerned if sending messages had such a requirement 2017-12-10T00:31:28Z jmercouris: Still "unrecognized selector" 2017-12-10T00:31:55Z jmercouris: maybe there is part of CCL that does the lisp -> objc translation that is not getting compiled into my image resulting in malformed selectors 2017-12-10T00:32:01Z jmercouris: let me try compiling with no --no-init flag 2017-12-10T00:32:16Z Josh_2 quit (Remote host closed the connection) 2017-12-10T00:32:47Z whoman: ohh. objc needs a few more ABI-level stuff. not quite as heavy as C++, but it needs special handling afaik. 2017-12-10T00:33:06Z whoman: selector names at least in pre-2.0 objc were like "_i__ClassName___selectorName_arg_arg2_" 2017-12-10T00:33:34Z whoman: so yeah. its been a while, check the FFI and that sort of thing, also have a look at Objective-CL written by a local 2017-12-10T00:33:37Z cromachina quit (Read error: Connection reset by peer) 2017-12-10T00:34:14Z jmercouris: huh, still unrecognized selector 2017-12-10T00:34:41Z jmercouris: again though, mabye in making my custom image I'm removing some crucial thing 2017-12-10T00:34:56Z jmercouris: whoman: What do you mean the Objective-CL written by a local? 2017-12-10T00:35:24Z wxie joined #lisp 2017-12-10T00:36:20Z whoman: nothing just ignore me im just typing completely unrelated stuff, im sure you will work out your issue soon enough 2017-12-10T00:36:27Z quazimodo quit (Ping timeout: 240 seconds) 2017-12-10T00:36:57Z jmercouris: whoman: I can't tell if you are being sarcastic or not, because the thing about the threads you are correct, that is related, and would be strange if the runtime behaved that way 2017-12-10T00:37:31Z damke joined #lisp 2017-12-10T00:38:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-10T00:42:08Z teddy_error joined #lisp 2017-12-10T00:42:43Z jmercouris: Problem figured out, thanks! 2017-12-10T00:43:13Z kartik1 quit (Ping timeout: 248 seconds) 2017-12-10T00:45:51Z orivej quit (Ping timeout: 248 seconds) 2017-12-10T00:47:22Z turkja joined #lisp 2017-12-10T00:47:53Z whoman: aewmsoe! what was it, btw? 2017-12-10T00:48:42Z jmercouris: Subclass ccl::ccl-application in the standalone application instead of ns:ns-application 2017-12-10T00:49:10Z jmercouris: Apparently ccl::ccl-application provides some of these faculties, and I guess without them, the translation couldn't be made correctly/atall 2017-12-10T00:49:29Z whoman: ahh, ccl has mac-specific things? that is great =) 2017-12-10T00:49:59Z jmercouris: whoman: Again, I'm really confused if you are being sarcastic :D 2017-12-10T00:50:09Z jmercouris: CCL is built with an obj-c bridge and cocoa support 2017-12-10T00:50:15Z cromachina joined #lisp 2017-12-10T00:50:16Z jmercouris: so there is a large portion of it that is mac specific 2017-12-10T00:50:26Z jmercouris: it's actually a descendant from maclisp iirc 2017-12-10T00:51:14Z applePrincess joined #lisp 2017-12-10T00:51:23Z SuperJen joined #lisp 2017-12-10T00:51:41Z jmercouris: Bike: You were also partially correct, it seems that one must launch slime on the same thread as the cocoa ui to avoid issues 2017-12-10T00:51:59Z Bike: the second best kind of correct. 2017-12-10T00:52:27Z jmercouris: yeah, so basically if you call it in the cocoa thread and it launches a new thread, it loses its mind 2017-12-10T00:52:30Z CrazyEddy joined #lisp 2017-12-10T00:52:56Z jmercouris: I don't think it ever gets correct context, I'm not super interested in debugging it actually, becuase I don't think it's a heavy penalty to have swank on the main thread, probably an advantage if anything 2017-12-10T00:54:36Z varjag quit (Ping timeout: 260 seconds) 2017-12-10T00:55:20Z Guest93005 quit (Ping timeout: 268 seconds) 2017-12-10T00:57:46Z hexfive joined #lisp 2017-12-10T00:59:11Z Jen joined #lisp 2017-12-10T00:59:34Z Jen is now known as Guest604 2017-12-10T00:59:46Z whoman: slime and threads drive me bazonkers 2017-12-10T01:00:23Z whoman: (SDL) 2017-12-10T01:02:46Z SuperJen quit (Ping timeout: 260 seconds) 2017-12-10T01:03:58Z JenElizabeth joined #lisp 2017-12-10T01:05:39Z whoman: https://github.com/asciian/papyrus 2017-12-10T01:06:27Z wigust quit (Ping timeout: 240 seconds) 2017-12-10T01:06:29Z Guest604 quit (Ping timeout: 255 seconds) 2017-12-10T01:10:21Z mishoo quit (Ping timeout: 246 seconds) 2017-12-10T01:10:32Z fikka quit (Ping timeout: 255 seconds) 2017-12-10T01:11:01Z teddy_error quit (Quit: Peace ☮︎) 2017-12-10T01:11:17Z jmercouris: whoman: How does it compare to org-bable? 2017-12-10T01:11:22Z jmercouris: s/bable/babel 2017-12-10T01:13:03Z turkja quit (Ping timeout: 248 seconds) 2017-12-10T01:13:33Z wxie quit (Remote host closed the connection) 2017-12-10T01:14:38Z turkja joined #lisp 2017-12-10T01:14:54Z EvW quit (Ping timeout: 246 seconds) 2017-12-10T01:15:11Z neoncontrails quit (Ping timeout: 248 seconds) 2017-12-10T01:15:55Z FreeBirdLjj joined #lisp 2017-12-10T01:16:37Z teddy_error joined #lisp 2017-12-10T01:16:53Z SuperJen joined #lisp 2017-12-10T01:18:53Z SuperJen quit (Remote host closed the connection) 2017-12-10T01:19:20Z SuperJen joined #lisp 2017-12-10T01:20:01Z JenElizabeth quit (Ping timeout: 240 seconds) 2017-12-10T01:20:14Z jmercouris quit (Ping timeout: 255 seconds) 2017-12-10T01:20:31Z FreeBirdLjj quit (Ping timeout: 248 seconds) 2017-12-10T01:21:46Z wigust joined #lisp 2017-12-10T01:21:59Z Karl_Dscc quit (Remote host closed the connection) 2017-12-10T01:26:10Z Trystam joined #lisp 2017-12-10T01:28:26Z Tristam quit (Ping timeout: 260 seconds) 2017-12-10T01:30:11Z Tristam joined #lisp 2017-12-10T01:31:45Z Trystam quit (Ping timeout: 248 seconds) 2017-12-10T01:31:46Z gilberth quit (Remote host closed the connection) 2017-12-10T01:31:55Z Tristam quit (Max SendQ exceeded) 2017-12-10T01:32:37Z Tristam joined #lisp 2017-12-10T01:36:24Z mson quit (Quit: Connection closed for inactivity) 2017-12-10T01:37:17Z red-dot joined #lisp 2017-12-10T01:45:04Z Kundry_Wag quit (Remote host closed the connection) 2017-12-10T01:45:28Z aeth: Hmm, so macros can have &optional and &key within things apparently. Time to build some really complicated macros. 2017-12-10T01:45:41Z Kundry_Wag joined #lisp 2017-12-10T01:46:49Z kartik1 joined #lisp 2017-12-10T01:50:08Z Kundry_Wag quit (Ping timeout: 255 seconds) 2017-12-10T01:54:28Z whoman: http://www.flownet.com/ron/packages.pdf 2017-12-10T01:56:40Z whoman: minion memo jmercouris papyrus is lighter and cleaner, but org is structured and allows other code as well. i think i will stay with org for literate docs 2017-12-10T02:02:58Z dieggsy joined #lisp 2017-12-10T02:03:08Z Jen joined #lisp 2017-12-10T02:03:32Z Jen is now known as Guest99667 2017-12-10T02:04:21Z astronavt quit (Quit: Leaving...) 2017-12-10T02:05:36Z emacsoma` joined #lisp 2017-12-10T02:06:01Z waynecolvin: print documentation strings https://pastebin.com/V94fjqxJ works in clisp, not sbcl 2017-12-10T02:06:52Z SuperJen quit (Ping timeout: 268 seconds) 2017-12-10T02:07:52Z dieggsy quit (Quit: ERC (IRC client for Emacs 27.0.50)) 2017-12-10T02:07:54Z Bike: sbcl probably has fewer docstrings. 2017-12-10T02:08:50Z waynecolvin: it has more, and style suggestions! 2017-12-10T02:10:04Z Josh_2 joined #lisp 2017-12-10T02:11:40Z astronavt joined #lisp 2017-12-10T02:11:41Z dieggsy joined #lisp 2017-12-10T02:11:41Z Zhivago: aeth: See destructuring-bind :) 2017-12-10T02:14:35Z aeth: I'm considering building a very complicated, almost loop-like language with keywords 2017-12-10T02:15:10Z Zhivago: I'd recommend considering not doing that. 2017-12-10T02:15:45Z Zhivago: Very complicated things rarely work well in general, much like loop. 2017-12-10T02:16:41Z z3t0 joined #lisp 2017-12-10T02:17:55Z aeth: I think I have three possibilities. I can have a family of related macros that largely share the same code. This is sort of like do-foo. I can build a complicated syntax that basically requires Emacs+SLIME to know what's going on through the names. Or I can sort of build almost a loop-like thing (really just keyword arguments) that could ideally be at least readable without an API reference. 2017-12-10T02:18:27Z mint quit (Ping timeout: 240 seconds) 2017-12-10T02:18:51Z Zhivago: I'd suggest a radically different idea. 2017-12-10T02:19:01Z Zhivago: Start by writing functions. 2017-12-10T02:19:44Z Zhivago: Then write macros which expand into calls to those functions. 2017-12-10T02:20:07Z _death: macros with &key can be tricky.. think preservation of the order of evaluation 2017-12-10T02:20:19Z mson joined #lisp 2017-12-10T02:20:40Z Guest99667 quit (Remote host closed the connection) 2017-12-10T02:21:05Z Zhivago: That way you can separate the functionality from fiddling endlessly with syntax. 2017-12-10T02:21:07Z Guest99667 joined #lisp 2017-12-10T02:21:47Z z3t0 quit (Remote host closed the connection) 2017-12-10T02:22:10Z esthlos joined #lisp 2017-12-10T02:22:18Z fikka joined #lisp 2017-12-10T02:22:27Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-10T02:24:12Z z3t0 joined #lisp 2017-12-10T02:24:13Z d4ryus3 joined #lisp 2017-12-10T02:25:01Z whoman: so i guess packages are flat? or could one construct a tree organization ? 2017-12-10T02:25:37Z esthlos quit (Client Quit) 2017-12-10T02:25:37Z Zhivago: They're flat in CL, but there are some extensions for heirarchy. 2017-12-10T02:25:50Z aeth: whoman: You can do that manually. e.g. foo, foo/bar, foo/bar/baz. uiop:define-package's :use-reexport is useful for this 2017-12-10T02:26:35Z aeth: i.e. foo uses :cl (so you can in-package) and use-reexports foo/bar and foo/quux and foo/bar use-reexports foo/bar/baz, etc. 2017-12-10T02:26:38Z esthlos joined #lisp 2017-12-10T02:26:57Z CrazyEddy quit (Remote host closed the connection) 2017-12-10T02:26:57Z d4ryus2 quit (Ping timeout: 240 seconds) 2017-12-10T02:27:05Z fikka quit (Ping timeout: 240 seconds) 2017-12-10T02:27:59Z whoman: hmm. hopefully i can keep things simple 2017-12-10T02:28:09Z aeth: use-reexport keeps things simple 2017-12-10T02:28:27Z smurfrobot joined #lisp 2017-12-10T02:28:47Z aeth: You have hierarchies of packages all building up exports, but with only the bottom level (or top level? depends on how you look at it) actually naming what it exports 2017-12-10T02:29:38Z neoncontrails joined #lisp 2017-12-10T02:30:11Z Zhivago: The reason that it is flat is separate compilation -- and that the package is part of the symbol name. 2017-12-10T02:30:22Z whoman: well. i figure if i were to conflict with my own names, either my names are not good enough or i'm making up too many things that need names. 2017-12-10T02:30:52Z aeth: Zhivago: What I've been doing with the more complicated macros is relying on helper macros, so each layer of abstraction can technically be avoided. e.g. with-foobar might use a with-bar, which can be used on its own, too. 2017-12-10T02:30:54Z Zhivago: Well, you can always make more packages :) 2017-12-10T02:30:57Z whoman: too many similar things** 2017-12-10T02:31:25Z whoman: and that=) 2017-12-10T02:31:27Z Zhivago: aeth: Perhaps, but I'd recommend that with-bar expand to a call to a bar-foo function. 2017-12-10T02:31:45Z whoman: aeth scared me yesterday about name conflicts and i had haskell and js nightmares so i got edumacated 2017-12-10T02:31:56Z z3t0 quit (Remote host closed the connection) 2017-12-10T02:32:22Z Zhivago: aeth: Then your macro can look like (defmacro with-bar (zoo &body body) `(bar-foo ,zoo (lambda () ,@body)). 2017-12-10T02:32:22Z z3t0 joined #lisp 2017-12-10T02:32:22Z aeth: whoman: but I should emphasize again that my package layout in zombie-raptor is the nuclear carpetbombing solution to name conflicts and there are probably simpler ways. 2017-12-10T02:32:31Z smurfrobot quit (Ping timeout: 248 seconds) 2017-12-10T02:32:43Z whoman: haha true enough. ive closed the tab because of so many keyword symbols 2017-12-10T02:32:58Z aeth: Zhivago: The problem is that these macros are run very frequently in loops within loops (possibly within loops) 2017-12-10T02:33:12Z Zhivago: Macros aren't run at all -- the code they expand to is run. 2017-12-10T02:33:19Z aeth: (And the macros can possibly create loops) 2017-12-10T02:33:42Z Zhivago: Fortunately we have the ability to control the in-lining of function calls. 2017-12-10T02:33:43Z ahungry joined #lisp 2017-12-10T02:33:50Z whoman: hmm what is the opposite word for Scale. macros shouldn't shrink stuff, but expand them. no? i mean they arent called micros. and code Scales well sure, but what is the opposite ? well now i just dont know any more. 2017-12-10T02:34:15Z Josh_2: Scale works both way no? 2017-12-10T02:34:23Z Josh_2: gets bigger and can get smaller 2017-12-10T02:34:30Z whoman: that is what i am used to, eg. scale 0.5 2017-12-10T02:35:10Z neoncontrails quit (Ping timeout: 258 seconds) 2017-12-10T02:35:20Z whoman: it kind of feels that aeth is going in a certain direction with the macros. but i am a newbie, never wrote more than 1 level of macaroni 2017-12-10T02:35:27Z CrazyEddy joined #lisp 2017-12-10T02:36:33Z Zhivago: Aeth's plan seems to be to invent a new language which consists of a flat list of values and keywords in order that slime not be confused by its structure. 2017-12-10T02:36:38Z aeth: whoman: Macros could shrink things, even usefully. Consider a macro that removes trivial arithmetic operations like multiplication by 0. Iirc, sbcl's compiler's optimizer won't remove them for floating point numbers because that technically can change the outcome of the floating point operations. 2017-12-10T02:36:43Z Zhivago: I expect it will be very educational. :) 2017-12-10T02:37:06Z whoman: lmao 2017-12-10T02:37:09Z aeth: whoman: But it is probably useful to remove things like multiplication by known 0f0 2017-12-10T02:37:12Z Josh_2: I am like Slime, I get confused very often 2017-12-10T02:37:14Z Zhivago: Macros should probably be called syntax transforms. 2017-12-10T02:37:33Z whoman: paradigm shifters 2017-12-10T02:37:42Z aeth: (Sorry, I mean multiplying something by zero and then adding... clearly that could be replaced with nothing.) 2017-12-10T02:38:05Z aeth: (For just multiplying, multiplying by 1 could just be removed.) 2017-12-10T02:38:10Z Zhivago: aeth: Although for those cases you probably want compiler-macros which are a little different. 2017-12-10T02:38:16Z whoman: SPELs 2017-12-10T02:39:09Z ahungry quit (Remote host closed the connection) 2017-12-10T02:42:04Z ahungry joined #lisp 2017-12-10T02:45:15Z aeth: Zhivago: What I have (and it certainly wastes memory, but that's okay for me) is a bunch of data stored in specialized 2D and 1D arrays of the same length. What I'm doing is hiding that. I actually use symbol-macrolet to make something very similar to with-accessors, which mostly takes care of hiding that. 2017-12-10T02:45:48Z aeth: (For 2D arrays, they're obviously not of the same length as the 1D arrays or even necessarily each other, but they're of the same outer length) 2017-12-10T02:46:11Z CrazyEddy quit (Remote host closed the connection) 2017-12-10T02:48:22Z aeth: I either provide a specific ID or I provide nothing. If I provide nothing, I iterate over everything. Either way, code is only executed if the thing implements *all* of the things that I'm accessing with the accessors (checked very efficiently through boolean sets implemented as fixnum bits). 2017-12-10T02:50:23Z aeth: (I think I could actually greatly save memory if I implement a hash function and turn the arrays into a custom hash table, with the ID as a hash key instead of an actual index number to the arrays. But I'm not sure that would work because that wouldn't avoid the worst case of everything implementing everything. It would at least make things more cache-friendly in cases that aren't as bad.) 2017-12-10T02:52:27Z aeth: I'm essentially building something that's almost an ECS and almost an in-memory NoSQL database, and where the language-in-macros part comes in play is that I could greatly expand the possible ways to query the data other than ID match or everything. 2017-12-10T02:52:39Z fouric: "within things"? 2017-12-10T02:53:27Z wigust quit (Ping timeout: 240 seconds) 2017-12-10T02:53:32Z Rawriful quit (Quit: WeeChat 1.4) 2017-12-10T02:53:56Z fouric: "aeth | Hmm, so macros can have &optional and &key within things apparently" <- have time to elaborate? 2017-12-10T02:54:18Z fouric has written simple macros before (little opengl binding things) but doesn't know enough to know what this is 2017-12-10T02:54:36Z aeth: "code is only executed if the thing implements all of the things" => "code is only executed if the entity contains valid data for all of the tables with accessors in the query" 2017-12-10T02:54:59Z aeth: "macros can have &optional and &key within things apparently" => "macros can have &optional and &key within lists within the top level lambda list apparently" 2017-12-10T02:55:08Z aeth: I think I de-thingified everything 2017-12-10T02:55:16Z fouric: lololololol 2017-12-10T02:55:20Z fouric: (incf aeth) ty! 2017-12-10T02:55:49Z aeth: A specific example: (ecs (index-name &optional index-number) tables-and-accessors &body body) 2017-12-10T02:55:58Z fouric: O.o 2017-12-10T02:56:10Z aeth: Macros have special lambda-lists 2017-12-10T02:56:18Z fouric: i did *not* know that 2017-12-10T02:56:29Z fouric: is that automatic destructuring that i see there, too? 2017-12-10T02:56:41Z z3t0 quit (Remote host closed the connection) 2017-12-10T02:56:55Z aeth: for the embedded list? 2017-12-10T02:57:03Z fouric: t 2017-12-10T02:57:11Z aeth: t 2017-12-10T02:57:30Z z3t0 joined #lisp 2017-12-10T02:57:36Z z3t0 quit (Remote host closed the connection) 2017-12-10T02:57:43Z aeth: And it's slime-friendly, so you can actually figure out what's valid, unlike with tables-and-accessors, which is complicated and arbitrary length, so I have to deal with that myself 2017-12-10T02:57:46Z z3t0 joined #lisp 2017-12-10T02:58:24Z fouric: that is *super* cool 2017-12-10T02:58:36Z fouric: thanks for 'splaining! 2017-12-10T02:58:53Z aeth: I'm considering just putting a &key there and allowing complicated queries! 2017-12-10T02:59:12Z fouric: :D 2017-12-10T02:59:30Z wigust joined #lisp 2017-12-10T02:59:32Z fouric: dewit 2017-12-10T02:59:39Z aeth: Maybe I can put &allow-other-keys there and be evil, if that's allowed. 2017-12-10T02:59:46Z fouric: uh, is that actually a thing 2017-12-10T03:00:02Z fouric runs to CLHS 2017-12-10T03:00:03Z aeth: it's used in make-instance 2017-12-10T03:00:30Z aeth: And it would be very evil to put it in a gigantic full-of-magic macro 2017-12-10T03:00:43Z fouric: eh, only evil if other people are meant to read it 2017-12-10T03:01:03Z fouric: and even then it's not just evil, but clever, too 2017-12-10T03:01:05Z damke_ joined #lisp 2017-12-10T03:01:09Z fouric thinks more code should be clever 2017-12-10T03:01:10Z ahungry quit (Remote host closed the connection) 2017-12-10T03:01:15Z aeth: I guess it's future-proofing 2017-12-10T03:01:55Z dieggsy quit (Remote host closed the connection) 2017-12-10T03:03:03Z damke quit (Ping timeout: 246 seconds) 2017-12-10T03:03:32Z aeth: Oh, I'm writing very clever, terse code. And it's becoming more like that every time I add more functionality. Soon, I'm going to allow a special definition for helper functions so I don't constantly requery the ECS. i.e. implicitly pass just the arrays that are being used, and use with-entity-accessors only, without any direct access to the ECS. 2017-12-10T03:05:40Z aeth: Of course, it leads to people questioning things like why I set a variable to multiple values, e.g. (setf velocity (values x y z)) 2017-12-10T03:06:14Z ahungry joined #lisp 2017-12-10T03:06:52Z pierpa quit (Quit: Page closed) 2017-12-10T03:09:59Z aeth: (setf velocity (values x y z)) is really, roughly: (setf (array-row-of-3 %velocity id) (values x y z)) where array-row-of-3 sets the first three values of a row in a 2D array when given three values... so ultimately (psetf (aref %velocity id 0) x (aref %velocity id 1) y (aref %velocity id 2) z) and quite a few things are being hidden 2017-12-10T03:12:42Z z3t0 quit (Quit: Leaving...) 2017-12-10T03:13:41Z aeth: oh, and that's essentially (psetf (aref (velocity-velocity (velocity ecs)) id 0) x (aref (velocity-velocity (velocity ecs)) id 1) y (aref (velocity-velocity (velocity ecs)) id 2) z) 2017-12-10T03:13:50Z groovy2shoes quit (Ping timeout: 255 seconds) 2017-12-10T03:14:07Z Josh_2 quit (Remote host closed the connection) 2017-12-10T03:16:40Z fikka joined #lisp 2017-12-10T03:19:20Z groovy2shoes joined #lisp 2017-12-10T03:21:29Z fikka quit (Ping timeout: 268 seconds) 2017-12-10T03:22:19Z Zhivago: Very clever, terse code sounds like a recipe for a maintenance disaster. :) 2017-12-10T03:22:27Z wigust quit (Ping timeout: 240 seconds) 2017-12-10T03:22:53Z aeth: on the other hand, it reduces the maintenance to a handful of unreadable macros instead of the entire source code 2017-12-10T03:22:55Z Zhivago: If the code is as clever as you can make it, it's probably too clever for you to debug. 2017-12-10T03:23:08Z Zhivago: I'd recommend making the code as boring as possible. 2017-12-10T03:23:20Z Zhivago: (Which often requires more thought) 2017-12-10T03:25:20Z Zhivago: For example, above, how am I supposed to know that velocity is magical like that? 2017-12-10T03:25:37Z aeth: it's actually in the macro above it 2017-12-10T03:26:18Z whoman: ouu interesting. i like that idea. puppet strings for a whole project, the One macro... 2017-12-10T03:26:19Z aeth: (with-selection ecs (id entity-id)\n ((velocity (velocity velocity :row-of 3)))\n (setf velocity (values x y z))) 2017-12-10T03:26:55Z aeth: A bit confusing because the name velocity is used a lot but :row-of 3 basically says it's magical like that, and even says how many values it takes 2017-12-10T03:27:15Z whoman: do u even lisp bro 2017-12-10T03:27:23Z Zhivago: Ok, that's probably a little less horrible but, even so it seems like it would be simpler to have an obvious accessor. 2017-12-10T03:27:47Z aeth: Basically: with the selection from the ecs where id=entity-id from the table velocity bind velocity to the row-of 3 called velocity 2017-12-10T03:27:50Z fouric: Zhivago: some dude named Chad Fowler thinks that you should never modify functions, only rewrite them: https://dave.cheney.net/2017/11/30/never-edit-a-method-always-rewrite-it 2017-12-10T03:28:18Z fouric: if your unreadable, terse code needs to be modified, all aeth has to do is just rewrite it with equally unreadable, terse code that has the new functionality 2017-12-10T03:28:28Z whoman: the hero in Realm[s] of Racket is named Chad 2017-12-10T03:28:31Z fouric: it's easier to write code than read it anyway 2017-12-10T03:29:24Z Zhivago: I'd agree that you probably shouldn't change the meaning of a function. 2017-12-10T03:29:26Z fouric: whoman: i haven't ): school forced me to spend all my time writing verilog instead 2017-12-10T03:30:00Z Zhivago: fouric: But if he doesn't understand what the original does, how will he understand what the new version should do? :) 2017-12-10T03:30:06Z fouric: comments! :D 2017-12-10T03:30:13Z fouric: well, *one* comment 2017-12-10T03:30:17Z fouric: or maybe a docstring 2017-12-10T03:30:17Z whoman: C/java/objc/js//make/etc i can type fast and a lot with some nice music going, its quite chill and mindless. i like how lisp and haskell and ocaml 'force' me to reflect and think, as itchy as my hands are to type. 2017-12-10T03:30:22Z aeth: Zhivago: The accessor is (velocity velocity :row-of 3) and that's the same syntax as directly using with-entity-accessors, it's just combined into the database query 2017-12-10T03:30:39Z Zhivago: Ah, two versions -- one in uncompiled English, the other in perl-in-lisp. 2017-12-10T03:30:47Z sword joined #lisp 2017-12-10T03:30:57Z whoman: comments or not, the compiler is still the one "doing" it. code is generally quite specific 2017-12-10T03:30:57Z aeth: Doing things this way saves a lot of repetition (and potential typo bugs) since it's both fetching velocity and accessing velocity in the same place 2017-12-10T03:31:26Z aeth: s/accessing velocity/symbol-macrolet abstracting over the accessor for velocity/ 2017-12-10T03:31:27Z Zhivago: I'm not going to stop you from doing this -- but I will point out that as developers mature they move from fancy to boring code. There's a reason for this. 2017-12-10T03:31:29Z whoman: yea Zhivago knows whats up 2017-12-10T03:32:51Z aeth: Zhivago: The array doesn't exist, though. The structs don't exist, either. Those are just implementation details that I want to completely hide from the user. 2017-12-10T03:33:28Z aeth: Otherwise I have to rewrite about a third of my game engine every time I change how the data is structured. 2017-12-10T03:34:06Z aeth: I have already done this about 3-4 times. 2017-12-10T03:34:48Z ListenBuddy joined #lisp 2017-12-10T03:34:53Z ListenBuddy: Hello! 2017-12-10T03:35:39Z ListenBuddy left #lisp 2017-12-10T03:36:11Z aeth: not even a minute. 2017-12-10T03:36:27Z whoman: =) perhaps just came to share some hellos 2017-12-10T03:44:18Z daniel-s joined #lisp 2017-12-10T03:46:18Z beach: Good morning everyone! 2017-12-10T04:01:14Z ahungry quit (Remote host closed the connection) 2017-12-10T04:02:52Z dieggsy joined #lisp 2017-12-10T04:03:05Z wxie joined #lisp 2017-12-10T04:12:02Z smurfrobot joined #lisp 2017-12-10T04:12:56Z daniel-s quit (Remote host closed the connection) 2017-12-10T04:15:38Z fouric: o7 2017-12-10T04:16:33Z smurfrobot quit (Ping timeout: 248 seconds) 2017-12-10T04:16:34Z ahungry joined #lisp 2017-12-10T04:20:34Z dieggsy quit (Read error: Connection reset by peer) 2017-12-10T04:20:48Z smurfrobot joined #lisp 2017-12-10T04:20:48Z smurfrobot quit (Remote host closed the connection) 2017-12-10T04:20:58Z wxie quit (Remote host closed the connection) 2017-12-10T04:21:28Z smurfrobot joined #lisp 2017-12-10T04:25:35Z smurfrobot quit (Ping timeout: 248 seconds) 2017-12-10T04:31:21Z pillton joined #lisp 2017-12-10T04:33:02Z EvW joined #lisp 2017-12-10T04:34:54Z aeth: I didn't think about using macros to generate *inlined* functions, though. hmm... 2017-12-10T04:36:16Z aeth: Is there a resource for this? 2017-12-10T04:37:21Z EvW quit (Ping timeout: 248 seconds) 2017-12-10T04:49:19Z dddddd quit (Remote host closed the connection) 2017-12-10T04:52:02Z bigdaddytank joined #lisp 2017-12-10T04:56:24Z mson quit (Quit: Connection closed for inactivity) 2017-12-10T04:56:26Z grublet quit (Ping timeout: 255 seconds) 2017-12-10T05:00:22Z bigdaddytank quit (Quit: Peace out!) 2017-12-10T05:04:37Z fikka joined #lisp 2017-12-10T05:06:18Z varjag joined #lisp 2017-12-10T05:09:29Z fikka quit (Ping timeout: 255 seconds) 2017-12-10T05:10:55Z varjag quit (Ping timeout: 248 seconds) 2017-12-10T05:11:54Z damke joined #lisp 2017-12-10T05:14:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-10T05:17:15Z FreeBirdLjj joined #lisp 2017-12-10T05:21:37Z FreeBirdLjj quit (Ping timeout: 248 seconds) 2017-12-10T05:23:06Z Josh_2 joined #lisp 2017-12-10T05:25:14Z smurfrobot joined #lisp 2017-12-10T05:29:44Z smurfrobot quit (Ping timeout: 255 seconds) 2017-12-10T05:30:17Z smurfrobot joined #lisp 2017-12-10T05:32:54Z k-stz quit (Remote host closed the connection) 2017-12-10T05:34:21Z smurfrobot quit (Ping timeout: 240 seconds) 2017-12-10T05:34:57Z yeticry_ quit (Ping timeout: 248 seconds) 2017-12-10T05:41:06Z asarch quit (Quit: Leaving) 2017-12-10T05:52:12Z test1600 joined #lisp 2017-12-10T05:53:25Z Josh_2 quit (Quit: ERC (IRC client for Emacs 25.2.1)) 2017-12-10T05:53:32Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-10T05:55:13Z Josh_2 joined #lisp 2017-12-10T05:59:03Z fikka joined #lisp 2017-12-10T06:00:35Z damke quit (Read error: Connection reset by peer) 2017-12-10T06:01:08Z damke joined #lisp 2017-12-10T06:02:11Z wheelsucker quit (Remote host closed the connection) 2017-12-10T06:05:19Z fikka quit (Ping timeout: 248 seconds) 2017-12-10T06:09:45Z aeth: Is there a way to see if a function with a given name exists? 2017-12-10T06:11:38Z MrBismuth quit (Read error: Connection reset by peer) 2017-12-10T06:12:42Z MrBismuth joined #lisp 2017-12-10T06:13:59Z phax joined #lisp 2017-12-10T06:14:22Z aeth: fboundp 2017-12-10T06:17:52Z Bike quit (Quit: Lost terminal) 2017-12-10T06:22:36Z Guest99667 quit (Remote host closed the connection) 2017-12-10T06:22:54Z Ober: y 2017-12-10T06:22:59Z Guest99667 joined #lisp 2017-12-10T06:23:44Z raphaelss joined #lisp 2017-12-10T06:24:07Z smurfrobot joined #lisp 2017-12-10T06:28:51Z smurfrobot quit (Ping timeout: 260 seconds) 2017-12-10T06:29:50Z smurfrobot joined #lisp 2017-12-10T06:32:20Z teddy_error quit (Quit: Peace ☮︎) 2017-12-10T06:36:47Z smurfrobot quit (Ping timeout: 255 seconds) 2017-12-10T06:38:53Z nika joined #lisp 2017-12-10T06:39:47Z Josh_2 quit (Remote host closed the connection) 2017-12-10T06:41:41Z red-dot joined #lisp 2017-12-10T06:44:31Z EvW1 joined #lisp 2017-12-10T06:48:35Z EvW1 quit (Ping timeout: 240 seconds) 2017-12-10T06:55:29Z phax quit (Quit: phax) 2017-12-10T06:59:55Z SaganMan joined #lisp 2017-12-10T07:02:56Z ahungry quit (Remote host closed the connection) 2017-12-10T07:04:11Z SuperJen joined #lisp 2017-12-10T07:05:00Z yeticry joined #lisp 2017-12-10T07:05:40Z orivej joined #lisp 2017-12-10T07:06:28Z CrazyEddy joined #lisp 2017-12-10T07:07:27Z Guest99667 quit (Ping timeout: 240 seconds) 2017-12-10T07:08:16Z smurfrobot joined #lisp 2017-12-10T07:09:33Z ketralnis joined #lisp 2017-12-10T07:10:32Z yeticry quit (Ping timeout: 255 seconds) 2017-12-10T07:12:41Z smurfrobot quit (Ping timeout: 240 seconds) 2017-12-10T07:15:55Z CrazyEddy quit (Remote host closed the connection) 2017-12-10T07:17:00Z test1600 quit (Quit: Leaving) 2017-12-10T07:17:08Z yeticry joined #lisp 2017-12-10T07:20:37Z Jen joined #lisp 2017-12-10T07:21:00Z Jen is now known as Guest46797 2017-12-10T07:21:01Z CrazyEddy joined #lisp 2017-12-10T07:21:10Z vlatkoB joined #lisp 2017-12-10T07:24:17Z SuperJen quit (Ping timeout: 248 seconds) 2017-12-10T07:24:21Z SaganMan: Good Morning 2017-12-10T07:25:40Z beach: Hello SaganMan. 2017-12-10T07:26:21Z SaganMan: I read sbcl realesed a new version recently 2017-12-10T07:26:27Z SaganMan: any major changes? 2017-12-10T07:27:57Z orivej quit (Ping timeout: 240 seconds) 2017-12-10T07:28:42Z jackdaniel: important changes are usually mentioned in the announcement 2017-12-10T07:29:33Z jackdaniel: so you need to type "sbcl.org" and select tab with news 2017-12-10T07:29:44Z jackdaniel: (in web browser) 2017-12-10T07:30:16Z SaganMan: -_- 2017-12-10T07:30:22Z smurfrobot joined #lisp 2017-12-10T07:30:22Z SaganMan: yes 2017-12-10T07:33:16Z cess11 joined #lisp 2017-12-10T07:33:26Z heurist quit (Ping timeout: 276 seconds) 2017-12-10T07:33:42Z heurist joined #lisp 2017-12-10T07:34:50Z smurfrobot quit (Ping timeout: 255 seconds) 2017-12-10T07:36:16Z CrazyEddy quit (Remote host closed the connection) 2017-12-10T07:43:13Z rippa joined #lisp 2017-12-10T07:43:49Z CrazyEddy joined #lisp 2017-12-10T07:44:49Z CrazyEddy quit (Changing host) 2017-12-10T07:44:49Z CrazyEddy joined #lisp 2017-12-10T07:47:12Z fikka joined #lisp 2017-12-10T07:47:53Z heurist quit (Read error: Connection reset by peer) 2017-12-10T07:51:21Z orivej joined #lisp 2017-12-10T07:51:41Z fikka quit (Ping timeout: 240 seconds) 2017-12-10T07:55:10Z heurist joined #lisp 2017-12-10T07:56:54Z wheelsucker joined #lisp 2017-12-10T07:57:24Z FreeBirdLjj joined #lisp 2017-12-10T08:00:41Z yeticry quit (Ping timeout: 240 seconds) 2017-12-10T08:03:04Z heurist quit (Read error: Connection reset by peer) 2017-12-10T08:04:39Z SlowJimmy joined #lisp 2017-12-10T08:05:53Z smurfrobot joined #lisp 2017-12-10T08:07:57Z SlowJimmy left #lisp 2017-12-10T08:08:20Z yeticry joined #lisp 2017-12-10T08:08:32Z heurist joined #lisp 2017-12-10T08:10:39Z smurfrobot quit (Ping timeout: 248 seconds) 2017-12-10T08:11:04Z mynick joined #lisp 2017-12-10T08:11:15Z mynick is now known as Guest11576 2017-12-10T08:25:08Z Guest46797 quit (Remote host closed the connection) 2017-12-10T08:25:32Z Guest46797 joined #lisp 2017-12-10T08:30:26Z kartik1 quit (Ping timeout: 268 seconds) 2017-12-10T08:37:39Z aeth quit (Ping timeout: 246 seconds) 2017-12-10T08:39:27Z aeth joined #lisp 2017-12-10T08:43:09Z smurfrobot joined #lisp 2017-12-10T08:47:27Z smurfrobot quit (Ping timeout: 240 seconds) 2017-12-10T08:49:14Z wxie joined #lisp 2017-12-10T08:55:15Z dddddd joined #lisp 2017-12-10T08:58:19Z mishoo joined #lisp 2017-12-10T09:03:09Z yeticry quit (Ping timeout: 250 seconds) 2017-12-10T09:03:30Z muresanvlad joined #lisp 2017-12-10T09:05:17Z yeticry joined #lisp 2017-12-10T09:06:43Z nika_ joined #lisp 2017-12-10T09:06:44Z nika_ quit (Client Quit) 2017-12-10T09:06:44Z varjag joined #lisp 2017-12-10T09:09:19Z nika quit (Ping timeout: 248 seconds) 2017-12-10T09:11:09Z varjag quit (Ping timeout: 258 seconds) 2017-12-10T09:12:07Z nika joined #lisp 2017-12-10T09:12:45Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-10T09:13:36Z FreeBirdLjj joined #lisp 2017-12-10T09:15:11Z yeticry quit (Ping timeout: 255 seconds) 2017-12-10T09:17:24Z yeticry joined #lisp 2017-12-10T09:22:18Z JenElizabeth joined #lisp 2017-12-10T09:23:41Z muresanvlad quit (Quit: WeeChat 1.4) 2017-12-10T09:23:44Z flip214 quit (Read error: Connection reset by peer) 2017-12-10T09:23:52Z flip214 joined #lisp 2017-12-10T09:23:52Z flip214 quit (Changing host) 2017-12-10T09:23:52Z flip214 joined #lisp 2017-12-10T09:23:58Z muresanvlad joined #lisp 2017-12-10T09:25:19Z Guest46797 quit (Ping timeout: 248 seconds) 2017-12-10T09:26:53Z d4ryus3 quit (Quit: WeeChat 1.9.1) 2017-12-10T09:28:27Z hexfive quit (Quit: WeeChat 1.9.1) 2017-12-10T09:30:17Z Devon joined #lisp 2017-12-10T09:35:26Z fikka joined #lisp 2017-12-10T09:37:57Z troydm quit (Ping timeout: 240 seconds) 2017-12-10T09:38:49Z heurist` joined #lisp 2017-12-10T09:39:21Z Devon quit (Ping timeout: 240 seconds) 2017-12-10T09:39:45Z heurist quit (Ping timeout: 248 seconds) 2017-12-10T09:40:24Z troydm joined #lisp 2017-12-10T09:43:05Z fikka quit (Ping timeout: 255 seconds) 2017-12-10T09:49:36Z cmatei joined #lisp 2017-12-10T09:49:47Z wxie quit (Remote host closed the connection) 2017-12-10T09:51:11Z varjag joined #lisp 2017-12-10T09:55:12Z d4ryus joined #lisp 2017-12-10T10:03:23Z xor-xor joined #lisp 2017-12-10T10:04:35Z Ober: fouric: left handed salut bent at the wrist? 2017-12-10T10:16:00Z cess11 quit (Ping timeout: 248 seconds) 2017-12-10T10:18:07Z random-nick joined #lisp 2017-12-10T10:20:27Z grublet joined #lisp 2017-12-10T10:22:36Z pillton quit (Remote host closed the connection) 2017-12-10T10:28:10Z JenElizabeth quit (Remote host closed the connection) 2017-12-10T10:28:37Z JenElizabeth joined #lisp 2017-12-10T10:33:32Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-10T10:37:59Z astronavt quit (Ping timeout: 255 seconds) 2017-12-10T10:38:26Z SaganMan quit (Ping timeout: 255 seconds) 2017-12-10T10:39:05Z scymtym quit (Ping timeout: 240 seconds) 2017-12-10T10:47:53Z wheelsucker quit (Ping timeout: 255 seconds) 2017-12-10T10:50:45Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-10T11:01:20Z damke_ joined #lisp 2017-12-10T11:01:34Z red-dot joined #lisp 2017-12-10T11:03:21Z damke quit (Ping timeout: 240 seconds) 2017-12-10T11:04:23Z JenElizabeth quit (Remote host closed the connection) 2017-12-10T11:06:46Z scymtym joined #lisp 2017-12-10T11:06:57Z raphaelss quit (Ping timeout: 240 seconds) 2017-12-10T11:07:38Z JenElizabeth joined #lisp 2017-12-10T11:08:58Z FreeBirdLjj joined #lisp 2017-12-10T11:09:26Z Karl_Dscc joined #lisp 2017-12-10T11:16:56Z scymtym_ joined #lisp 2017-12-10T11:19:36Z SuperJen joined #lisp 2017-12-10T11:20:34Z BitPuffin|osx joined #lisp 2017-12-10T11:20:57Z scymtym quit (Ping timeout: 250 seconds) 2017-12-10T11:21:01Z wxie joined #lisp 2017-12-10T11:22:51Z JenElizabeth quit (Ping timeout: 246 seconds) 2017-12-10T11:23:01Z wigust joined #lisp 2017-12-10T11:25:34Z wxie quit (Client Quit) 2017-12-10T11:25:38Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-10T11:26:15Z FreeBirdLjj joined #lisp 2017-12-10T11:30:27Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-12-10T11:42:21Z shrdlu68 left #lisp 2017-12-10T11:45:21Z nika quit (Quit: Leaving...) 2017-12-10T11:49:50Z raphaelss joined #lisp 2017-12-10T11:49:57Z shenghi quit (Remote host closed the connection) 2017-12-10T11:50:12Z shenghi joined #lisp 2017-12-10T12:06:08Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-10T12:06:30Z knobo joined #lisp 2017-12-10T12:12:52Z karswell joined #lisp 2017-12-10T12:14:56Z karswell quit (Remote host closed the connection) 2017-12-10T12:16:06Z karswell joined #lisp 2017-12-10T12:17:59Z fikka joined #lisp 2017-12-10T12:23:31Z fikka quit (Ping timeout: 260 seconds) 2017-12-10T12:27:07Z EvW joined #lisp 2017-12-10T12:32:42Z Tobbi joined #lisp 2017-12-10T12:34:25Z Ven`` joined #lisp 2017-12-10T12:37:20Z yeticry quit (Ping timeout: 248 seconds) 2017-12-10T12:38:57Z markong joined #lisp 2017-12-10T12:39:02Z yeticry joined #lisp 2017-12-10T12:45:03Z Bike joined #lisp 2017-12-10T12:45:53Z vap1 quit (Ping timeout: 250 seconds) 2017-12-10T12:49:11Z zaquest quit (Read error: Connection reset by peer) 2017-12-10T12:56:44Z francogrex joined #lisp 2017-12-10T12:56:59Z francogrex: http://paste.lisp.org : Due to continued abuse, this service has been disabled 2017-12-10T12:57:12Z francogrex: so that's it, the end of the pastebin? 2017-12-10T12:59:04Z jackdaniel: the end of paste.lisp.org, it's not pastebin. there is plenty of other paste services 2017-12-10T12:59:07Z jackdaniel: though 2017-12-10T13:02:51Z francogrex: it's sad. But anyway 2017-12-10T13:02:58Z francogrex: this : https://pastecode.xyz/view/de5c1fad 2017-12-10T13:03:31Z francogrex: why wouldn't the slot-value show, any syntax mistake I am making? 2017-12-10T13:05:08Z phoe: francogrex: the slot name could be in a different package. I mean, the symbol. 2017-12-10T13:05:41Z phoe: Make sure that the symbol you use in the SLOT-VALUE and the symbol used as the slot name are EQ. 2017-12-10T13:06:04Z francogrex: phoe: ok the package this is probably it yes 2017-12-10T13:06:06Z yeticry quit (Ping timeout: 260 seconds) 2017-12-10T13:06:12Z pjb: I use http://sprunge.us 2017-12-10T13:06:38Z phoe: francogrex: https://stackoverflow.com/questions/40742048/is-there-a-way-to-get-the-slots-of-a-class 2017-12-10T13:12:57Z fikka joined #lisp 2017-12-10T13:13:16Z random-nick: is there a pastebin service which does rainbow parentheses or parentheses highlighting? 2017-12-10T13:13:18Z yeticry joined #lisp 2017-12-10T13:17:01Z fikka quit (Ping timeout: 240 seconds) 2017-12-10T13:17:08Z jackdaniel: most do. one created by Shinmera has also CL-specific highligting: https://plaster.tymoon.eu/ 2017-12-10T13:22:01Z yeticry quit (Ping timeout: 240 seconds) 2017-12-10T13:23:05Z Shinmera: It doesn't do paren highlighting though. 2017-12-10T13:23:17Z Shinmera: I should check codemirror if it has a setting for that, actually 2017-12-10T13:23:48Z Shinmera: Ah, there's a plugin. 2017-12-10T13:23:55Z Shinmera: I'll see about adding that. 2017-12-10T13:24:15Z red-dot joined #lisp 2017-12-10T13:24:53Z yeticry joined #lisp 2017-12-10T13:29:30Z rgrau joined #lisp 2017-12-10T13:30:10Z FreeBirdLjj joined #lisp 2017-12-10T13:30:28Z xor-xor quit (Quit: Killed by buffers) 2017-12-10T13:31:43Z francogrex: pastebin is the end of an era!!! it's yet another setback for common lisp... really makes me sad a little 2017-12-10T13:31:50Z francogrex: 0 2017-12-10T13:34:02Z francogrex quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2017-12-10T13:34:17Z oleo: ? 2017-12-10T13:34:22Z oleo: use dpaste.com 2017-12-10T13:34:36Z beach: oleo: I think that was supposed to be funny. 2017-12-10T13:35:44Z yeticry quit (Ping timeout: 255 seconds) 2017-12-10T13:37:13Z Shinmera: Okey, plaster now does paren matching. 2017-12-10T13:37:31Z Shinmera: Doesn't do rainbow parens, but I never liked that anyway. 2017-12-10T13:37:50Z yeticry joined #lisp 2017-12-10T13:40:57Z attila_lendvai joined #lisp 2017-12-10T13:42:57Z yeticry quit (Ping timeout: 248 seconds) 2017-12-10T13:43:47Z yeticry joined #lisp 2017-12-10T13:46:26Z pjb: The big problem with the absence of lisppaste, is that the other don't keep the history. With lisppaste, I could refer to pastes 3 or 5 year old! 2017-12-10T13:47:53Z knobo quit (Ping timeout: 255 seconds) 2017-12-10T13:48:31Z Jen joined #lisp 2017-12-10T13:48:55Z Jen is now known as Guest87309 2017-12-10T13:51:03Z oleo: who owned it ? 2017-12-10T13:51:12Z oleo: and why is it gone ? 2017-12-10T13:51:41Z SuperJen quit (Ping timeout: 240 seconds) 2017-12-10T13:51:42Z oleo: btw could not someone else had maintained it instead ? 2017-12-10T13:52:10Z smurfrobot joined #lisp 2017-12-10T13:52:15Z oleo: i suppose it requires much space too..... 2017-12-10T13:52:23Z EvW quit (Remote host closed the connection) 2017-12-10T13:52:32Z EvW joined #lisp 2017-12-10T13:53:09Z jackdaniel: oleo: it is gone due to huge volume of spam which couldn't be easily dismissed 2017-12-10T13:53:34Z yeticry quit (Ping timeout: 268 seconds) 2017-12-10T13:53:51Z jackdaniel: there was a discussion on mailing list about possibilities, nobody stepped in to propose that he can maintain it *and* keep it safe from spam 2017-12-10T13:55:31Z yeticry joined #lisp 2017-12-10T13:55:55Z pjb: Eventually I'll stop using email for spam too… But not right now. 2017-12-10T13:56:26Z pjb: But there's spam everywhere. 2017-12-10T13:56:28Z oleo: yah 2017-12-10T13:56:45Z oleo: and sometimes you don't know what is spam and what is not.... 2017-12-10T13:59:48Z Kundry_Wag joined #lisp 2017-12-10T14:01:36Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-10T14:02:12Z FreeBirdLjj joined #lisp 2017-12-10T14:04:14Z igemnace joined #lisp 2017-12-10T14:05:41Z Amplituhedron joined #lisp 2017-12-10T14:06:21Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-12-10T14:16:31Z nyef` quit (Ping timeout: 248 seconds) 2017-12-10T14:23:03Z wigust_ joined #lisp 2017-12-10T14:25:03Z FreeBirdLjj joined #lisp 2017-12-10T14:26:23Z wigust quit (Ping timeout: 255 seconds) 2017-12-10T14:27:29Z Amplituhedron quit (Ping timeout: 276 seconds) 2017-12-10T14:32:33Z varjag quit (Ping timeout: 248 seconds) 2017-12-10T14:33:19Z varjag joined #lisp 2017-12-10T14:36:42Z josemanuel joined #lisp 2017-12-10T14:36:47Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-10T14:37:44Z jmercouris joined #lisp 2017-12-10T14:37:51Z jmercouris quit (Remote host closed the connection) 2017-12-10T14:38:09Z jmercouris joined #lisp 2017-12-10T14:40:06Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-10T14:43:11Z dddddd quit (Ping timeout: 248 seconds) 2017-12-10T14:49:05Z ebrasca joined #lisp 2017-12-10T14:52:53Z j0nd0e joined #lisp 2017-12-10T14:56:14Z dddddd joined #lisp 2017-12-10T15:00:26Z fikka joined #lisp 2017-12-10T15:00:39Z damke joined #lisp 2017-12-10T15:03:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-10T15:05:05Z fikka quit (Ping timeout: 248 seconds) 2017-12-10T15:12:35Z jfe quit (Ping timeout: 240 seconds) 2017-12-10T15:13:00Z Kundry_Wag quit (Remote host closed the connection) 2017-12-10T15:21:13Z jfe joined #lisp 2017-12-10T15:24:33Z j0nd0e quit (Remote host closed the connection) 2017-12-10T15:26:25Z igemnace quit (Ping timeout: 248 seconds) 2017-12-10T15:28:55Z Guest11576 quit (Remote host closed the connection) 2017-12-10T15:32:06Z fikka joined #lisp 2017-12-10T15:32:26Z Kundry_Wag joined #lisp 2017-12-10T15:34:45Z alexmlw joined #lisp 2017-12-10T15:39:05Z dieggsy joined #lisp 2017-12-10T15:43:02Z asarch joined #lisp 2017-12-10T15:51:41Z terpri` quit (Remote host closed the connection) 2017-12-10T15:56:48Z Josh_2 joined #lisp 2017-12-10T15:57:29Z sz0 joined #lisp 2017-12-10T15:58:19Z Josh_2 quit (Remote host closed the connection) 2017-12-10T16:00:35Z fnodeuser joined #lisp 2017-12-10T16:01:11Z fnodeuser left #lisp 2017-12-10T16:02:31Z jfe quit (Ping timeout: 240 seconds) 2017-12-10T16:03:15Z Josh_2 joined #lisp 2017-12-10T16:05:22Z damke quit (Quit: quit) 2017-12-10T16:06:58Z fnodeuser joined #lisp 2017-12-10T16:07:09Z fnodeuser left #lisp 2017-12-10T16:11:54Z bend3r joined #lisp 2017-12-10T16:12:20Z fikka quit (Ping timeout: 255 seconds) 2017-12-10T16:16:58Z waynecolvin: Ahhhh YOUR NAME IS PASCAL! sorry sorry sorry sorry! 2017-12-10T16:17:46Z damke joined #lisp 2017-12-10T16:19:48Z phoe: waynecolvin: wtf 2017-12-10T16:22:40Z waynecolvin: wrong line, pascal joke. i'm just an idiot... 2017-12-10T16:23:19Z jmercouris: Any idea why my code is not working? https://gist.github.com/0fb1a792795b8ec02e26e0b419e3545c 2017-12-10T16:23:28Z jmercouris: Is there something with the way I've set up my code? 2017-12-10T16:25:17Z Xach: jmercouris: it is working 2017-12-10T16:25:27Z _death: remove-if is not destructive 2017-12-10T16:25:33Z jmercouris: Ah shit, yes 2017-12-10T16:25:34Z jmercouris: Thank you 2017-12-10T16:25:35Z Xach: jmercouris: the list you get back doesn't have any document-modes in it, does it? 2017-12-10T16:25:36Z jmercouris: I keep forgetting that 2017-12-10T16:25:46Z jmercouris: _death: That is the problem 2017-12-10T16:25:55Z jmercouris: Xach: Yes, correct! 2017-12-10T16:26:27Z EvW quit (Ping timeout: 250 seconds) 2017-12-10T16:28:31Z fikka joined #lisp 2017-12-10T16:29:59Z Guest87309 quit (Remote host closed the connection) 2017-12-10T16:30:09Z jfe joined #lisp 2017-12-10T16:30:25Z Guest87309 joined #lisp 2017-12-10T16:31:06Z jmercouris: What happened was I originally mistook NIL as "no matches" for remove-if, rather than the list was now empty 2017-12-10T16:31:18Z DeadTrickster joined #lisp 2017-12-10T16:32:33Z DeadTrickster__ quit (Ping timeout: 248 seconds) 2017-12-10T16:32:44Z igemnace joined #lisp 2017-12-10T16:33:46Z terpri joined #lisp 2017-12-10T16:34:23Z lisp_guest: does using a macro in COND's clauses work? 2017-12-10T16:34:45Z beach: lisp_guest: You can use a macro in every place that is evaluated normally. 2017-12-10T16:34:59Z lisp_guest: the key here being "normally" i guess? 2017-12-10T16:35:11Z Bike: you can't use a macro AS a clause, if that's what you mean. 2017-12-10T16:35:12Z beach: Drop the "normally" if you like. 2017-12-10T16:35:16Z lisp_guest: what i'm doing for example is (COND (macro ...) (macro ...)) 2017-12-10T16:35:22Z Bike: yes, you can't do that. 2017-12-10T16:35:28Z beach: Won't work. 2017-12-10T16:35:29Z lisp_guest: i guess COND is taking those forms and treating them as code to evaluate, without expanding them? 2017-12-10T16:35:37Z Bike: no, it treats them as cond clauses. 2017-12-10T16:35:41Z Bike: (condition ...body...) 2017-12-10T16:35:43Z DeadTrickster quit (Ping timeout: 248 seconds) 2017-12-10T16:35:51Z lisp_guest: right, then it proceedes to eval the first form, and bla bla 2017-12-10T16:35:55Z Bike: this is the non-normal evaluation beach alluded to. 2017-12-10T16:35:57Z lisp_guest: proceeds* 2017-12-10T16:36:06Z lisp_guest: yes, that's what i was thinking of 2017-12-10T16:36:09Z Josh_2 quit (Remote host closed the connection) 2017-12-10T16:36:36Z lisp_guest: does a way around this exist? i'm just curious 2017-12-10T16:36:54Z Bike: what are you trying to do exactly? 2017-12-10T16:37:16Z lisp_guest: i knew you were going to ask that :D. i'm doing a simple rot-13 but it's not relevant. i'm just curious whether it's possible 2017-12-10T16:37:20Z lisp_guest: the problem i'm solving is solved already 2017-12-10T16:37:28Z Bike: well it depends on what you mean by possible. 2017-12-10T16:37:40Z Bike: you could have a macro that expands into cond with constructed clauses. 2017-12-10T16:37:44Z jmercouris quit (Ping timeout: 258 seconds) 2017-12-10T16:37:49Z Bike: i don't know whether you think that counts. 2017-12-10T16:37:50Z DeadTrickster joined #lisp 2017-12-10T16:37:54Z lisp_guest: yeah, not really 2017-12-10T16:38:07Z Bike: macros expand into code. cond clauses are not code. 2017-12-10T16:38:09Z Bike: simple 2017-12-10T16:38:51Z lisp_guest: hm, right 2017-12-10T16:39:16Z beach: Bike: The correct terminology here would be "form", as opposed to "code". 2017-12-10T16:39:22Z Bike: true 2017-12-10T16:40:58Z lisp_guest: hm, what about a version of cond that would first macroexpand the forms in its clauses? 2017-12-10T16:41:25Z Bike: you could do that, but you'd have ambiguous behavior. 2017-12-10T16:41:36Z Bike: say you have a macro named foo and a variable named foo, what does (mycond (foo ...) ...) do? 2017-12-10T16:42:13Z Bike: additionally, the macros would only be valid in this one context, so if they appeared somewhere else by mistake you'd get hard to understand errors. 2017-12-10T16:43:18Z lisp_guest: Bike: why exactly is that case ambiguous? isn't it always treated as function or a macro call in normal code? 2017-12-10T16:43:38Z Bike: not in cond, obviously. 2017-12-10T16:43:48Z beach: lisp_guest: Your macros would have to expand to something that is not a form. 2017-12-10T16:43:52Z Bike: (cond (foo ...) ...) conditionalizes on the value of the variable 'foo'. 2017-12-10T16:44:02Z lisp_guest: right 2017-12-10T16:44:36Z lisp_guest: beach: yeah, i was just thinking about that. essentially what i wanted was for this macro just to expand into a cond clause 2017-12-10T16:44:53Z lisp_guest: but i forgot that the code returned by macros is eval'd 2017-12-10T16:45:17Z beach: It wouldn't be if you macroexpand it yourself into a context where it is not evaluated. 2017-12-10T16:45:24Z lisp_guest: hm yeah i guess 2017-12-10T16:45:41Z beach: I was just agreeing with Bike that "the macros would only be valid in one context". 2017-12-10T16:45:43Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-10T16:47:01Z ult left #lisp 2017-12-10T16:48:20Z lisp_guest: Bike: ah i see what you mean by ambiguous. i was thinking of MYCOND as something that would allow *only* macros for its clauses, but that it would indeed be limiting. if you allow both macros and "normal" clauses, then it's ambiguous 2017-12-10T16:49:40Z drdo quit (Quit: ...) 2017-12-10T16:49:47Z Bike: would you also have macros expand only once? because they could expand into ((condition ...) ...) which can't be macroexpanded, or into (foo ...) which only maybe means a variable and maybe is another macro 2017-12-10T16:50:01Z Bike: well, in short, it sounds kind of confusing. and i still don't really understand how this would be used. 2017-12-10T16:50:05Z Josh_2 joined #lisp 2017-12-10T16:50:16Z lisp_guest: yeah, i agree, it's a mess. it was just a mental exercise, is all. 2017-12-10T16:50:20Z lisp_guest: didn't think of coding this even 2017-12-10T16:50:34Z lisp_guest: i was just wondering why (1) my code failed and (2) would there by a way around it 2017-12-10T16:50:40Z lisp_guest: stretches the brain :-) 2017-12-10T16:51:17Z Bike: understandable. 2017-12-10T16:51:50Z drdo joined #lisp 2017-12-10T16:53:27Z jfe quit (Ping timeout: 240 seconds) 2017-12-10T16:53:44Z dieggsy quit (Read error: Connection reset by peer) 2017-12-10T16:54:13Z fikka quit (Ping timeout: 258 seconds) 2017-12-10T16:56:02Z Josh_2` joined #lisp 2017-12-10T16:56:03Z Josh_2 quit (Read error: Connection reset by peer) 2017-12-10T16:57:31Z LiamH joined #lisp 2017-12-10T16:57:59Z jmercouris joined #lisp 2017-12-10T16:58:08Z jmercouris: What's a way to find the class of a particular object (find--class) does not seem to do what I want 2017-12-10T16:59:06Z phoe: jmercouris: why? 2017-12-10T16:59:12Z Guest7354 is now known as kolb 2017-12-10T16:59:18Z phoe: I mean, what do you want, and what does FIND-CLASS give you? 2017-12-10T16:59:28Z jmercouris: Yes, find class seems to find a class given some name of it 2017-12-10T16:59:40Z jmercouris: What I want to do is given Object X, find out what the class is 2017-12-10T17:00:03Z jmercouris: Let me try to explain why 2017-12-10T17:00:04Z phoe: clhs class-of 2017-12-10T17:00:05Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_clas_1.htm 2017-12-10T17:00:09Z Josh_2` quit (Remote host closed the connection) 2017-12-10T17:00:21Z phoe: no need to tell us why 2017-12-10T17:00:43Z phoe back later 2017-12-10T17:00:44Z phoe quit (Quit: leaving) 2017-12-10T17:01:17Z jmercouris: Well, at any rate, that is what I was looking for, if you have a bouncer or check the logs, thanks phoe 2017-12-10T17:02:56Z basket: jmercouris: So what are you using it for? 2017-12-10T17:03:40Z fikka joined #lisp 2017-12-10T17:03:48Z beach: jmercouris: I think basket is asking because it would be very unusual to have to do that. 2017-12-10T17:03:59Z jmercouris: Yeah, that is why I wanted to explain this actually 2017-12-10T17:04:09Z jmercouris: to make sure I wasn't solving some sort of x-y problem with bad architecture 2017-12-10T17:04:12Z k-stz joined #lisp 2017-12-10T17:04:17Z jmercouris: Let me just gist my code, it's very self explanatory 2017-12-10T17:04:32Z jmercouris: https://gist.github.com/183f4ab92e36157554100d0d508cf15e 2017-12-10T17:04:47Z jmercouris: to give some use case examples 2017-12-10T17:05:17Z jmercouris: If you have a Buffer, with several Mode object instances: (list Document-Mode-Object Application-Mode-Object) 2017-12-10T17:05:34Z jmercouris: One may wish to switch-mode to the Application-Mode-Object, but not have a reference to it 2017-12-10T17:05:44Z Josh_2 joined #lisp 2017-12-10T17:05:46Z shka: i don't get it 2017-12-10T17:05:54Z jmercouris: so instead someone can say (switch-mode some-buffer 'Application-Mode-Class) 2017-12-10T17:06:13Z jmercouris: and it will look through the modes for an instance of Application-Mode-Class and switch to it 2017-12-10T17:06:30Z beach: jmercouris: You probably would rather want typep then. 2017-12-10T17:06:38Z shka: why not add methods specialized on class name instead? 2017-12-10T17:06:46Z beach: jmercouris: Otherwise, client subclasses won't work. 2017-12-10T17:07:08Z jmercouris: beach: That is not where I am using class-of, I'm only using it in add-or-switch-to-mode 2017-12-10T17:07:12Z shka: this way buffer subclass can act as a factory for modes 2017-12-10T17:07:30Z beach: shka: The class is not known at compile time. 2017-12-10T17:07:39Z jmercouris: The reason being that I want someone to be able to Create an Instance of a mode and pass it to add-or-switch-to-mode which will then EITHER ADD the mode, or SWITCH TO AN EXISTING MODE OF SAME CLASS 2017-12-10T17:07:54Z shka: beach: i see 2017-12-10T17:08:15Z jmercouris: So here's how someone would use it 2017-12-10T17:08:32Z jmercouris: (add-or-switch-to-mode buffer-x (make-instance 'document-mode)) 2017-12-10T17:08:51Z jmercouris: and what this will do is EITHER add document mode and switch to it, OR switch to an existing document-mode associated with the buffer 2017-12-10T17:09:24Z shka: does not change the fact, that i would add some minimal set of protocol classes for modes 2017-12-10T17:09:38Z shka: and really on it, not on typep 2017-12-10T17:09:59Z shka: gosh 2017-12-10T17:10:11Z shka: my dyslexia strikes again! 2017-12-10T17:11:03Z shka: jmercouris: what's wrong with (defgeneric mode-can-be-used-as (mode intention)) 2017-12-10T17:11:06Z jmercouris: I have no idea what you are trying to say 2017-12-10T17:11:26Z jmercouris: Every mode would have to implement that method no? 2017-12-10T17:11:37Z shka: that's what inheritance is for 2017-12-10T17:11:38Z jmercouris: Unless they extend from some parent node with an implementation 2017-12-10T17:11:43Z shka: yup 2017-12-10T17:11:44Z jmercouris: I don't see what the point of that is though 2017-12-10T17:11:49Z jmercouris: maybe I'm not getting somethin 2017-12-10T17:11:58Z shka: well, if you are having those modes 2017-12-10T17:12:13Z shka: surely, you have set of functions that operate with it 2017-12-10T17:12:25Z jmercouris: not exactly 2017-12-10T17:12:32Z shka: oh, ok 2017-12-10T17:12:37Z jmercouris: all of the functions operated by a mode are tied to the keymap for that mode 2017-12-10T17:12:39Z shka: then i misunderstood your intention 2017-12-10T17:12:41Z jmercouris: and whatever hooks are inplace 2017-12-10T17:13:05Z jmercouris: these will be dispatched appropriately by their respective mechanisms 2017-12-10T17:13:05Z shka: well, excuse me then 2017-12-10T17:13:05Z fikka quit (Ping timeout: 248 seconds) 2017-12-10T17:13:18Z jmercouris: No, don't take it that way, I just don't understand what you had in mind 2017-12-10T17:13:28Z jmercouris: it may make sense for my application, I just literally do not understand it 2017-12-10T17:14:09Z shka: hmm 2017-12-10T17:14:18Z shka: jmercouris: why not just put modes in hashtable? 2017-12-10T17:14:21Z jmercouris: beach: does my usage of class-of within this context make sense? 2017-12-10T17:14:42Z jmercouris: shka: I thought it was a little heavy is all, but maybe that is better 2017-12-10T17:14:55Z jmercouris: That would really simplifiy the logic 2017-12-10T17:15:02Z shka: i think so 2017-12-10T17:15:25Z jmercouris: What would the key be then, the class? 2017-12-10T17:15:34Z shka: name of the class i would say 2017-12-10T17:15:39Z beach: jmercouris: It is too late in the day for me to analyze your code. It shall have to wait. 2017-12-10T17:15:40Z shka: or any symbol, really 2017-12-10T17:15:58Z shka: is that vim style editor? 2017-12-10T17:15:59Z jmercouris: beach: Ok, it's alright, the implementation will probably change 10 times before tomorrow anyway :P 2017-12-10T17:16:14Z jmercouris: shka: No, it is a web browser 2017-12-10T17:16:22Z FreeBirdLjj joined #lisp 2017-12-10T17:16:22Z shka: right 2017-12-10T17:16:26Z jmercouris: shka: https://github.com/nEXT-Browser/nEXT 2017-12-10T17:16:30Z shka: makes no difference, actually 2017-12-10T17:16:35Z igemnace quit (Ping timeout: 240 seconds) 2017-12-10T17:16:38Z jmercouris: I feel like the least interested community is the actual lisp community lol 2017-12-10T17:17:06Z shka: just keep it simple 2017-12-10T17:17:15Z jmercouris: Yeah I'll switch it to hash table 2017-12-10T17:17:21Z shka: if you want select mode by some name, select it by symbol 2017-12-10T17:17:31Z shka: jmercouris: i actually tested this browser 2017-12-10T17:17:39Z shka: so i am kinda interested :P 2017-12-10T17:17:44Z jmercouris: You should test it again, it's significantly improved! 2017-12-10T17:17:44Z Bike: so basically, you have a list of things, and you want to have a function that selects a node by class, and you use the actual class rather than anything it's an indirect instance of. 2017-12-10T17:17:53Z jmercouris: Bike: Correct 2017-12-10T17:18:53Z Bike: in particular, the things in the list are "modes", whatever those are 2017-12-10T17:19:07Z Bike: what if it has more than one mode of the same class? does it not matter what gets picked? or does that not happen? 2017-12-10T17:19:12Z jmercouris: Bike: Modes are objects of classes that inherit from Mode Class 2017-12-10T17:19:19Z jmercouris: Bike: That should never happen 2017-12-10T17:19:29Z jfb4 quit (Ping timeout: 248 seconds) 2017-12-10T17:19:31Z jmercouris: There should only be one instance of a particular mode type for a given buffer 2017-12-10T17:20:27Z jmercouris: shka: Make sure to compile it though, the changes aren't available in the release binary 2017-12-10T17:20:59Z Bike: it's unusual to discriminate objects by their class like that, is all. the only time i've ever seen it is clos internals. 2017-12-10T17:21:11Z FreeBirdLjj quit (Ping timeout: 255 seconds) 2017-12-10T17:21:18Z jfb4 joined #lisp 2017-12-10T17:22:15Z jmercouris: Yeah, I don't imagine it comes up often 2017-12-10T17:24:05Z ak5 joined #lisp 2017-12-10T17:24:45Z CrazyEddy quit (Remote host closed the connection) 2017-12-10T17:25:53Z jfe joined #lisp 2017-12-10T17:31:58Z beach: jmercouris: SELF is not a very good name for a parameter. 2017-12-10T17:32:10Z beach: jmercouris: It is better to use the name of the type of it. 2017-12-10T17:32:28Z jmercouris: beach: You mean like instead of (self buffer) (buffer buffer)? 2017-12-10T17:32:33Z beach: Yes. 2017-12-10T17:33:14Z jmercouris: I guess that would make it easier to read when specializing on multiple classes 2017-12-10T17:33:17Z jmercouris: is that the idea? 2017-12-10T17:33:31Z CrazyEddy joined #lisp 2017-12-10T17:33:49Z FreeBirdLjj joined #lisp 2017-12-10T17:34:15Z beach: That's part of it, yes. SELF suggests a single dispatch language where you are not allowed to use the same name for a type and a parameter. 2017-12-10T17:34:50Z beach: More basically, though, SELF is no better than X or some other meaningless name. 2017-12-10T17:34:55Z jmercouris: I think I'm finally deep enough into lisp where I can let go of self I guess 2017-12-10T17:35:12Z jmercouris: Ok, I'll try to do this for new code and slowly refactor it out of old things 2017-12-10T17:35:17Z jmercouris: Thank you for the suggestion 2017-12-10T17:35:27Z jfe quit (Ping timeout: 248 seconds) 2017-12-10T17:35:43Z jmercouris: I'm afraid of what Lisp is doing to me mentally lol, maybe I won't be able to work with other languages again :D 2017-12-10T17:36:01Z zmt00 quit (Ping timeout: 240 seconds) 2017-12-10T17:36:25Z beach: That's a very real risk. So if you don't want that to happen, you had better quit now, while there is still time. 2017-12-10T17:36:29Z jmercouris: I was writing python the other day and I started typing (print "something {}".format(some-variable)) which is of course a non-sensical mix of python and lisp 2017-12-10T17:36:41Z jfe joined #lisp 2017-12-10T17:37:08Z jmercouris: Is this the rabbit hole matrix scene of my pedestrian life :D? 2017-12-10T17:38:35Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-12-10T17:39:10Z Shinmera: What annoys me most about working with other systems is typically not the syntax but the APIs. In Lisp I've so far had the "luxury" of just building everything myself. 2017-12-10T17:39:35Z jmercouris: Shinmera: Or even writing a macro on top of an API to use it in the way you wish 2017-12-10T17:39:39Z Shinmera: With anything else I always spend hours constantly googling documentation and how to do things. 2017-12-10T17:39:50Z jmercouris: Yeah, that is super annoying isn't it 2017-12-10T17:39:59Z Shinmera: And then get pissed because it turns out the designers didn't really design at all and you have to write some kinda shitty workaround. 2017-12-10T17:40:00Z jmercouris: and every project has their own distinct magical paradigm 2017-12-10T17:40:19Z jmercouris: consider Numpy and Pandas, completely break everything about python, get two of the most popular packages 2017-12-10T17:40:26Z jmercouris: s/get/yet 2017-12-10T17:43:40Z xor-xor joined #lisp 2017-12-10T17:43:42Z Kundry_Wag quit (Remote host closed the connection) 2017-12-10T17:43:51Z zmt00 joined #lisp 2017-12-10T17:44:14Z parjanya quit (Remote host closed the connection) 2017-12-10T17:44:14Z shka: oh 2017-12-10T17:44:21Z jfe quit (Ping timeout: 260 seconds) 2017-12-10T17:44:38Z shka: Shinmera: nice to hear that i am not the only with this impression 2017-12-10T17:45:03Z CrazyEddy quit (Remote host closed the connection) 2017-12-10T17:46:36Z jmercouris: beach: How serious are you? do you find yourself unable to work in other languages? Do you not frequently work in C? 2017-12-10T17:48:00Z attila_lendvai quit (Quit: Leaving.) 2017-12-10T17:50:52Z shka: hehe 2017-12-10T17:51:40Z CrazyEddy joined #lisp 2017-12-10T17:51:56Z FreeBirdLjj joined #lisp 2017-12-10T17:52:40Z Kundry_Wag joined #lisp 2017-12-10T17:52:57Z shka: jmercouris: after working with lisp for extended period of time with lisp you start to feel like jim carrey of programming 2017-12-10T17:53:00Z shka: https://www.youtube.com/watch?v=t_W7Jf-FM9Y ;-) 2017-12-10T17:53:52Z jfe joined #lisp 2017-12-10T17:54:16Z CrazyEddy quit (Changing host) 2017-12-10T17:54:16Z CrazyEddy joined #lisp 2017-12-10T17:55:17Z scymtym_ quit (Ping timeout: 250 seconds) 2017-12-10T17:55:50Z asarch quit (Remote host closed the connection) 2017-12-10T17:56:36Z FreeBirdLjj quit (Ping timeout: 246 seconds) 2017-12-10T17:56:40Z asarch joined #lisp 2017-12-10T18:01:31Z python476 joined #lisp 2017-12-10T18:03:29Z jfe quit (Ping timeout: 255 seconds) 2017-12-10T18:06:26Z BitPuffin|osx quit (Ping timeout: 255 seconds) 2017-12-10T18:10:01Z wooden quit (Ping timeout: 260 seconds) 2017-12-10T18:10:34Z CrazyEddy quit (Remote host closed the connection) 2017-12-10T18:14:24Z CrazyEddy joined #lisp 2017-12-10T18:17:38Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-10T18:22:40Z cess11 joined #lisp 2017-12-10T18:25:23Z nowhere_man quit (Remote host closed the connection) 2017-12-10T18:25:50Z nowhere_man joined #lisp 2017-12-10T18:28:03Z rumbler31 quit (Remote host closed the connection) 2017-12-10T18:28:40Z rumbler31 joined #lisp 2017-12-10T18:33:05Z rumbler31 quit (Ping timeout: 240 seconds) 2017-12-10T18:34:01Z turkja quit (Ping timeout: 240 seconds) 2017-12-10T18:34:29Z CrazyEddy quit (Remote host closed the connection) 2017-12-10T18:39:13Z antismap joined #lisp 2017-12-10T18:43:16Z CrazyEddy joined #lisp 2017-12-10T18:44:57Z phoe_ joined #lisp 2017-12-10T18:45:25Z phoe_: Is REPLACE supposed to work on circular lists? 2017-12-10T18:45:29Z phoe_: clhs replace 2017-12-10T18:45:30Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_replac.htm 2017-12-10T18:45:34Z CrazyEddy quit (Remote host closed the connection) 2017-12-10T18:46:06Z phoe_: It only mentions that its arguments should be sequences. Reading from glossary, "sequence n. 1. an ordered collection of elements 2. a vector or a list." 2017-12-10T18:46:40Z phoe_: And, "list n. 1. a chain of conses in which the car of each cons is an element of the list, and the cdr of each cons is either the next link in the chain or a terminating atom. See also proper list, dotted list, or circular list. 2. the type that is the union of null and cons." 2017-12-10T18:49:10Z shka: phoe_: circular list is not sequence 2017-12-10T18:49:37Z yeticry quit (Ping timeout: 248 seconds) 2017-12-10T18:50:06Z shka: http://clhs.lisp.se/Body/t_seq.htm#sequence 2017-12-10T18:50:19Z CrazyEddy joined #lisp 2017-12-10T18:51:24Z phoe_: shka: I see nothing about circular lists there 2017-12-10T18:51:47Z shka: what about "ordered" sequence? 2017-12-10T18:52:06Z fikka joined #lisp 2017-12-10T18:52:08Z phoe_: circular lists are of type LIST because they are of type CONS, so they are a sequence, by that definition. 2017-12-10T18:52:13Z phoe_: as for order, that's a good point. 2017-12-10T18:52:14Z shka: given circular list, every element is parent of everything, including itself 2017-12-10T18:52:15Z yeticry joined #lisp 2017-12-10T18:52:30Z Tobbi joined #lisp 2017-12-10T18:52:37Z shka: therefore, although it is list, it is not sequence 2017-12-10T18:52:46Z shka: besides, sequences are supposed to have lenght 2017-12-10T18:52:49Z shka: *length 2017-12-10T18:53:00Z shka: circular lists obviously can't have that 2017-12-10T18:53:26Z shka: so I consider only proper lists to be true sequences 2017-12-10T18:53:33Z Kundry_Wag quit (Remote host closed the connection) 2017-12-10T18:53:39Z phoe_: yes, that sounds sane. 2017-12-10T18:53:56Z nyef` joined #lisp 2017-12-10T18:53:59Z phoe_: I was trying to REPLACE a part of a circular list and I was a little bit bamboozled when it hung on a call to LENGTH. 2017-12-10T18:54:22Z shka: yup 2017-12-10T18:55:03Z shka: and because code can't say if list eventually ends, it just keeps spinning 2017-12-10T18:55:50Z shka: the only alternative is to track cons cells in hashtable 2017-12-10T18:55:59Z shka: so you will have consing length 2017-12-10T18:56:03Z shka: which is just gross! 2017-12-10T18:57:03Z fikka quit (Ping timeout: 248 seconds) 2017-12-10T18:57:30Z yeticry quit (Ping timeout: 246 seconds) 2017-12-10T18:58:31Z jmercouris quit (Ping timeout: 240 seconds) 2017-12-10T18:58:52Z yeticry joined #lisp 2017-12-10T18:59:52Z Kundry_Wag joined #lisp 2017-12-10T19:00:03Z DeadTrickster_ joined #lisp 2017-12-10T19:02:01Z easye quit (Remote host closed the connection) 2017-12-10T19:02:28Z scymtym joined #lisp 2017-12-10T19:03:44Z DeadTrickster quit (Ping timeout: 276 seconds) 2017-12-10T19:04:44Z minion quit (Read error: No route to host) 2017-12-10T19:04:48Z specbot quit (Read error: No route to host) 2017-12-10T19:04:55Z _death: tortoise, meet hare :)... (defun circularp (list) (null (list-length list))) 2017-12-10T19:06:06Z phoe_: I know, I know. 2017-12-10T19:06:09Z phoe_: I was asking about the standard functions. 2017-12-10T19:06:31Z specbot joined #lisp 2017-12-10T19:07:09Z minion joined #lisp 2017-12-10T19:08:02Z karswell quit (Read error: Connection reset by peer) 2017-12-10T19:09:04Z karswell joined #lisp 2017-12-10T19:11:22Z Chream joined #lisp 2017-12-10T19:13:24Z shka: phoe_: nah, standard functions that are said to work on sequences, work on proper list 2017-12-10T19:13:40Z shka: this excludes circular lists, dotted pairs and inproper lists 2017-12-10T19:14:15Z phoe_: oh well 2017-12-10T19:14:35Z phoe_ finished his solution of this day's advent of code with a custom replace function 2017-12-10T19:14:59Z phoe_: https://www.reddit.com/r/adventofcode/comments/7irzg5/2017_day_10_solutions/dr1roy7/ 2017-12-10T19:15:07Z shka: obviously, working on circular lists in particular would require large overhead for each function 2017-12-10T19:15:47Z shka: (loop repeat length 2017-12-10T19:15:48Z shka: for cons on (nthcdr position input) 2017-12-10T19:15:54Z shka: jesus christ 2017-12-10T19:16:20Z whoman: _death: does that work detecting circular lists ? 2017-12-10T19:16:39Z _death: whoman: why would I write it otherwise 2017-12-10T19:16:56Z whoman: just confirming. i am slightly a newbie 2017-12-10T19:17:31Z whoman is going through book.pdf right now 2017-12-10T19:17:48Z _death: phoe: here's my ugly one.. in my defense I was still halfway asleep.. https://gist.github.com/death/6d8271d50db60893706b097e5570322b 2017-12-10T19:18:09Z shka: phoe_: you really should have use vectors here 2017-12-10T19:18:18Z pjb: _death: list-length doesn't deal with circular lists, only dotted-lists. Use com.informatimago.common-lisp.cesarum.list:list-lengths instead. 2017-12-10T19:18:23Z pjb: clhs list-length 2017-12-10T19:18:23Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_list_l.htm 2017-12-10T19:18:40Z _death: pjb: read that page :) 2017-12-10T19:18:58Z pjb: Oops, you're right. I read it too long ago. 2017-12-10T19:19:23Z pjb: But list-lengths is more useful, it returns the length of the stem and the length of the cycle. 2017-12-10T19:19:45Z pjb: It's dotted lists that list-length doesn't handle… 2017-12-10T19:19:47Z whoman: there are some functions that detect circular, i wasnt sure if length was one of them 2017-12-10T19:20:11Z shka: it is not 2017-12-10T19:20:57Z shka: circularity detection can be expensive for functions like length 2017-12-10T19:21:13Z astronavt joined #lisp 2017-12-10T19:22:17Z whoman: oh yes the book is 'art of symbolic computation' where i just finished circular list 2017-12-10T19:22:26Z jackdaniel: for arbitrary list circularity detection requires at least n steps, where n+1 cdr starts a circularity 2017-12-10T19:22:45Z shka: and memory! 2017-12-10T19:22:58Z Chream quit (Remote host closed the connection) 2017-12-10T19:23:15Z pjb: You'd use a hash-table to detect the cycle as soon as possible. 2017-12-10T19:23:41Z shka: that's the point 2017-12-10T19:24:05Z shka: but allocating hashtable for every call to length is just silly 2017-12-10T19:24:31Z Chream joined #lisp 2017-12-10T19:25:42Z drdo: I can't think of a situation where one would want to detect a circular list 2017-12-10T19:26:01Z whoman: to see if it *is* a circular list, for eg. repeating patterns is very useful 2017-12-10T19:26:14Z whoman: it's like a free modulo 2017-12-10T19:29:57Z _death: drdo: for example if you want to print arbitrary objects 2017-12-10T19:30:14Z _death: clhs *print-circle* 2017-12-10T19:30:14Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/v_pr_cir.htm 2017-12-10T19:30:34Z drdo: _death: Right, but if you are using a circular list, you presumably want it to be an infinite list 2017-12-10T19:31:10Z _death: drdo: sure, and you can designate it as such without infinite regress 2017-12-10T19:33:54Z vlatkoB quit (Remote host closed the connection) 2017-12-10T19:34:12Z SuperJen joined #lisp 2017-12-10T19:34:59Z Kundry_Wag quit (Remote host closed the connection) 2017-12-10T19:35:36Z Kundry_Wag joined #lisp 2017-12-10T19:38:11Z Guest87309 quit (Ping timeout: 276 seconds) 2017-12-10T19:38:31Z whoman: infinite ======= circular 2017-12-10T19:38:49Z whoman: literally the same exact thing 2017-12-10T19:38:54Z nowhere_man quit (Ping timeout: 268 seconds) 2017-12-10T19:38:55Z whoman: metaphorically 2017-12-10T19:39:00Z whoman: and physically and logically 2017-12-10T19:39:22Z fourier joined #lisp 2017-12-10T19:39:47Z _death: infinite doesn't have to be circular.. 2017-12-10T19:39:50Z Kundry_Wag_ joined #lisp 2017-12-10T19:40:02Z Kundry_Wag quit (Ping timeout: 255 seconds) 2017-12-10T19:43:32Z phoe_: shka: vectors aren't circular, and this task explicitly deals with circular data structures. 2017-12-10T19:43:33Z nowhere_man joined #lisp 2017-12-10T19:43:47Z phoe_: I mean, I could have used AREF MOD, but oh well. 2017-12-10T19:43:50Z aeth: There are many ways to get a "circular" data structure without literal circular lists. 2017-12-10T19:44:20Z aeth: I personally prefer mod and arrays 2017-12-10T19:45:09Z _death: phoe: the access pattern hinted at by the problem suggests lists would not be efficient 2017-12-10T19:45:14Z jmercouris joined #lisp 2017-12-10T19:48:18Z aeth: A struct as circular buffer (array, start, end, emptyp) with two additional accessors (after enqueue and dequeue), for arbitrary middle access (but not deletion from the middle) would probably fit a lot of circular needs. 2017-12-10T19:48:25Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-10T19:48:57Z aeth: It wouldn't work well for arbitrary middle insertion/deletion (but even there there's probably a list scheme that doesn't require actual circularity) 2017-12-10T19:50:32Z phoe_: _death: yes, I get it. Computing this hash is instantaneous enough on my laptop though. 2017-12-10T19:51:15Z _death: phoe: sure, I'm not criticizing your solution :) 2017-12-10T19:52:57Z xor-xor quit (Ping timeout: 240 seconds) 2017-12-10T19:53:50Z aeth: looks like advent of code only tracks how fast you get a solution, not how fast it runs 2017-12-10T19:54:13Z aeth: writing an efficient solution might actually be a bad idea in that case. 2017-12-10T19:55:15Z Fade: Xach: I'm noticing a build failure in buildapp 2017-12-10T19:55:32Z Tobbi joined #lisp 2017-12-10T19:58:47Z Fade: https://ghostbin.com/paste/53ehv 2017-12-10T20:00:12Z muresanvlad quit (Quit: WeeChat 1.4) 2017-12-10T20:00:52Z _death: aeth: and many people aren't even on a good timezone/sleeping schedule for that to matter 2017-12-10T20:02:11Z damke_ joined #lisp 2017-12-10T20:02:52Z Fade: in that paste the system was finding a stray asdf in clasp 2017-12-10T20:03:01Z damke quit (Ping timeout: 240 seconds) 2017-12-10T20:03:05Z jmercouris: Given this method signature: https://gist.github.com/d3cf8bb20092fb1bf2cddd57912924d5 2017-12-10T20:03:13Z Fade: but with a current checkout of asdf I get a similar but shorter error 2017-12-10T20:03:19Z jmercouris: (switch-mode *active-buffer* 'application-mode) my code is returning that no applicable method 2017-12-10T20:03:40Z jmercouris: Yet, very clearly, there is a method that specilizes on class buffer with name switch-mode 2017-12-10T20:03:57Z _death: class-name takes a class 2017-12-10T20:04:01Z Fade: https://ghostbin.com/paste/3bn6r 2017-12-10T20:05:13Z josemanuel quit (Quit: leaving) 2017-12-10T20:05:16Z jmercouris: _death: Yes, application-mode is a class 2017-12-10T20:05:26Z jfe joined #lisp 2017-12-10T20:05:45Z jmercouris: _death: https://gist.github.com/0b5e1c0f2e016e99f313cf9ed30be7ac 2017-12-10T20:08:40Z lisp_guest: would (apply #'min list) be a good way to find the minimal element of list? 2017-12-10T20:08:51Z lisp_guest: or is there something more idiomatic? 2017-12-10T20:09:19Z jmercouris: lisp_guest: (min (list 0 1 2 3)) 2017-12-10T20:10:32Z lisp_guest: but min and max are supposed to take REALs as arguments, no? 2017-12-10T20:10:37Z Chream quit (Remote host closed the connection) 2017-12-10T20:10:40Z phoe_: jmercouris: guh, that's a type error 2017-12-10T20:10:43Z lisp_guest: i just tested that and it fails 2017-12-10T20:10:53Z _death: jmercouris: no.. application-mode is a symbol 2017-12-10T20:11:23Z phoe_: lisp_guest: apply #'min is good enough, you could prefer reduce #'min though 2017-12-10T20:11:40Z shka: reduce #'min list :key #'length 2017-12-10T20:11:44Z phoe_: since APPLY is subject to CALL-ARGUMENTS-LIMIT 2017-12-10T20:11:48Z lisp_guest: ah right, reduce 2017-12-10T20:11:50Z jmercouris: _death: Does the name of a class not evaluate to the class? 2017-12-10T20:12:12Z fourier quit (Ping timeout: 268 seconds) 2017-12-10T20:12:15Z lisp_guest: phoe_: yes, i was thinking something like that could be "hiding", since i'm really abusing apply in this case 2017-12-10T20:12:24Z xor-xor joined #lisp 2017-12-10T20:12:37Z _death: jmercouris: no.. if you want to get at the class, you can use find-class 2017-12-10T20:12:39Z shka: oh, moment 2017-12-10T20:12:43Z shka: without :key 2017-12-10T20:12:56Z shka: good night all 2017-12-10T20:13:01Z lisp_guest: :-) 2017-12-10T20:13:31Z jmercouris: _death: Ok, sounds good, thanks 2017-12-10T20:13:47Z phoe_: lisp_guest: good. 2017-12-10T20:13:49Z phoe_: clhs call-arguments-limit 2017-12-10T20:13:49Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/v_call_a.htm 2017-12-10T20:14:07Z phoe_: reduce will work on lists of arbitrary length where apply will only works on lists shorter than CALL-ARGUMENTS-LIMIT 2017-12-10T20:15:54Z lisp_guest: phoe_: yup, great, thanks. quite surprised to find that CALL-ARGMENTS-LIMIT is 4611686018427387903 :D 2017-12-10T20:16:11Z aeth: reduce will work on all sequences. apply can work in strange ways, such as taking in a plist and making those keyword arguments when applying. It doesn't just work on &rest functions. 2017-12-10T20:16:14Z pierpa joined #lisp 2017-12-10T20:16:27Z phoe_: lisp_guest: depends on the implementation, but the minimum for portable code is 50. 2017-12-10T20:16:36Z lisp_guest: yeah, ofc 2017-12-10T20:16:46Z phoe_: So you might theoretically get a surprise when you are working on a 60-element list. 2017-12-10T20:17:04Z aeth: (apply #'make-array 42 '(:element-type fixnum :initial-element 42 :adjustable t :fill-pointer 3)) 2017-12-10T20:17:11Z xor-xor quit (Ping timeout: 260 seconds) 2017-12-10T20:20:26Z karswell_ joined #lisp 2017-12-10T20:21:04Z aeth: phoe_: Theoretically, yes, but theoretically even long docstrings cause issues. There's a de facto minimum and it's usually much higher, with clisp as the lowest, when you go look for de facto minimums. It's no exception here, either. clisp is by far the lowest, at 4096. ecl and ccl are 65536 and sbcl is very, very large. 2017-12-10T20:21:05Z karswell quit (Read error: Connection reset by peer) 2017-12-10T20:21:13Z aeth: 4096 is still low enough that it might cause problems with portable code, though. 2017-12-10T20:21:44Z phoe_: aeth: 4096, you mean, maximum array length? 2017-12-10T20:21:50Z aeth: call-arguments-limit 2017-12-10T20:22:09Z phoe_: oh, right. 2017-12-10T20:22:18Z phoe_: why do you mention docstrings then? 2017-12-10T20:22:24Z astronavt quit (Remote host closed the connection) 2017-12-10T20:23:07Z EvW joined #lisp 2017-12-10T20:23:08Z astronavt joined #lisp 2017-12-10T20:23:13Z aeth: phoe_: iirc, arrays are non-portable after a length of 1024 2017-12-10T20:23:23Z aeth: Even though they're much higher in all modern implementations 2017-12-10T20:23:32Z aeth: And strings are character arrays! 2017-12-10T20:24:19Z aeth: yeah, 1024. http://www.lispworks.com/documentation/HyperSpec/Body/v_ar_tot.htm 2017-12-10T20:24:39Z yeticry quit (Ping timeout: 246 seconds) 2017-12-10T20:25:11Z phoe_: hahah, correct 2017-12-10T20:25:40Z phoe_: octet arrays can be at most one kilobyte long in portable code. 2017-12-10T20:26:15Z _death: a 2017-2018 survey on implementation limits could be nice 2017-12-10T20:26:17Z aeth: clisp is 4294967296, ecl is 2305843009213693951, ccl is 72057594037927936, and SBCL is 4611686018427387901 2017-12-10T20:26:24Z phoe_: tl;dr large enough. 2017-12-10T20:26:25Z aeth: Again, clisp much lower, but still high enough to not cause problems 2017-12-10T20:26:45Z aeth: It's like that in all 64 bit limit comparisons *except* fixnum, where clisp's *is* low enough to cause problems 2017-12-10T20:26:52Z aeth: low 40s iirc, as opposed to more than 60 2017-12-10T20:28:00Z aeth: oh, high 40s 2017-12-10T20:28:03Z astronav_ joined #lisp 2017-12-10T20:28:04Z aeth: (log (- most-positive-fixnum most-negative-fixnum) 2) 2017-12-10T20:28:14Z astronavt quit (Ping timeout: 276 seconds) 2017-12-10T20:28:51Z aeth: 49 in CLISP, 62 in ECL, 61 in CCL, 63 in SBCL 2017-12-10T20:30:00Z aeth: Portably, the minimum is 16 2017-12-10T20:30:45Z aeth: I should put together a document for all of the minimums given in the spec, but then I'd have to install a ton of additional implementations, including 32 bit versions of every implementation 2017-12-10T20:31:53Z SuperJen quit (Remote host closed the connection) 2017-12-10T20:32:10Z _death: just yesterday sbcl exhausted heap when compiling my custom core.. so had to tweak dynamic-space-size.. there are more limits than standard limits ;) 2017-12-10T20:32:20Z SuperJen joined #lisp 2017-12-10T20:32:27Z phoe_: the mighty non-standard limits 2017-12-10T20:33:30Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-12-10T20:35:16Z astronav_ quit (Remote host closed the connection) 2017-12-10T20:38:22Z Jen joined #lisp 2017-12-10T20:38:46Z Jen is now known as Guest30181 2017-12-10T20:40:21Z fikka joined #lisp 2017-12-10T20:41:13Z random-nick quit (Remote host closed the connection) 2017-12-10T20:42:16Z SuperJen quit (Ping timeout: 260 seconds) 2017-12-10T20:42:51Z jfb4 quit (Ping timeout: 260 seconds) 2017-12-10T20:44:27Z jfb4 joined #lisp 2017-12-10T20:46:24Z astronavt joined #lisp 2017-12-10T20:47:45Z fikka quit (Ping timeout: 246 seconds) 2017-12-10T20:49:53Z astronavt quit (Remote host closed the connection) 2017-12-10T20:52:36Z astronavt joined #lisp 2017-12-10T20:56:04Z jmercouris: Why do people use CLISP? what are some advantages over sbcl? 2017-12-10T20:56:30Z astronavt quit (Remote host closed the connection) 2017-12-10T20:59:55Z aeth: People use CLISP because it was the most recommended implementation 10 years ago, and lots of people read things from 10 years ago. 2017-12-10T21:00:27Z aeth: At least, every time it comes up, that seems to be it. 2017-12-10T21:00:53Z jmercouris: huh interessant 2017-12-10T21:01:23Z aeth: It also (1) has a REPL with readline in the terminal without any hacking so it's approachable to people who aren't using emacs+slime and (2) has "C" in the name. 2017-12-10T21:01:38Z phoe_: 3) people confuse Common Lisp and CLISP. 2017-12-10T21:01:52Z jmercouris: Doesn't CCL also have a repl? 2017-12-10T21:01:57Z jmercouris: I thought most all of them had repls 2017-12-10T21:01:59Z phoe_: ALL implementations have repls. 2017-12-10T21:02:11Z aeth: jmercouris: readline repl, though, so you can C-a, C-e, etc. 2017-12-10T21:02:13Z jmercouris: is it the fact that they don't support prev-next with arrows/backspace 2017-12-10T21:02:13Z phoe_: but CLISP includes readline bindings, so it has a pleasant REPL where arrow keys work and such. 2017-12-10T21:02:14Z jmercouris: etc? 2017-12-10T21:02:32Z jmercouris: It's not that hard to make readline work, why is this such a big selling point? 2017-12-10T21:02:36Z phoe_: 4) it is an interpreter and has good support for unix commands, so can be fast and useful for scripting. 2017-12-10T21:02:39Z phoe_: jmercouris: OOBE 2017-12-10T21:02:40Z jmercouris: why not make it work for other implementations? licensing issues or? 2017-12-10T21:02:44Z phoe_: yes. 2017-12-10T21:02:46Z jmercouris: phoe_: What is OOBE? 2017-12-10T21:02:47Z phoe_: readline is GPLv2. 2017-12-10T21:02:51Z phoe_: out of box experience 2017-12-10T21:03:04Z jmercouris: Speaking of GPL v2 2017-12-10T21:03:05Z phoe_: CLISP has the nice repl out of the box, for other implementations you need to use rlwrap or such. 2017-12-10T21:03:11Z jmercouris: I was recently convinced to move my app from BSD to GPL 2017-12-10T21:03:21Z jmercouris: is there a good GPL comparison? 2017-12-10T21:03:27Z jmercouris: other than what's available by the FSF? 2017-12-10T21:03:56Z SuperJen joined #lisp 2017-12-10T21:04:01Z phoe_: googling for `gpl comparison` gives me a few sane links 2017-12-10T21:06:28Z aeth: For an alternative view to the FSF's, you may want to look into what defenders of the GPLv2 (e.g. Linus) said back during the GPLv3 release controversy. 2017-12-10T21:06:52Z aeth: New GPLv2 projects are released as "GPLv2 or later" so they're not explicitly GPLv3-incompatible, though. 2017-12-10T21:07:01Z Guest30181 quit (Ping timeout: 240 seconds) 2017-12-10T21:07:45Z jmercouris: Yeah, Linus is actually the reason I'm very carefully considering which license to release under 2017-12-10T21:08:17Z jmercouris: if I have contributors to my project under License X, can I change the License at a latter time, or must I have all rights to all submitted work like the FSF does? 2017-12-10T21:08:29Z aeth: The third non-FSF approach to the GPL is the commercial approach where vendors require copyright assignment and sell an identical proprietary version of their library. I don't think there's an ideological view behind this, it's just a business model. 2017-12-10T21:08:32Z jmercouris: I'm just worried I'm going to make a bad license decision and it will be a pain later 2017-12-10T21:08:59Z jmercouris: I also am kind of taking the Shinmeraesque view point a little bit, that likely if someone wants to they can just steal my code regardless of the license, but I still feel like I should set the "correct" license 2017-12-10T21:09:31Z fikka joined #lisp 2017-12-10T21:09:36Z jmercouris: aeth: So wait, you are telling me they SELL their GPL software? why wouldn't someone just download it and use it? 2017-12-10T21:09:36Z aeth: jmercouris: You can go from a GPL-compatible license to the GPL. It's trickier going the other direction, especially since no one wants to do copyright assignment because of e.g. what Oracle did to Sun's projects. 2017-12-10T21:09:38Z phoe_: dual licensing, yes. 2017-12-10T21:09:41Z astronavt joined #lisp 2017-12-10T21:10:05Z phoe_: jmercouris: they have the copyright, they can release two versions of the code with different licenses. 2017-12-10T21:10:09Z jmercouris: I wish I could dual license with BSD and have a clause that says you cannot use it for commercial purposes or something 2017-12-10T21:10:15Z aeth: "GPLv2 or later" or "GPLv3 or later" isn't a technicality, it's a necessity if you want to change licenses later on. 2017-12-10T21:10:21Z aeth: But only along that GPL line 2017-12-10T21:10:25Z phoe_: one is GPL and you don't need to pay for it, the other is proprietary and you need to pay fro it. 2017-12-10T21:10:50Z phoe_: jmercouris: feel free to, there are a few commonly used non-commercial licenses around. 2017-12-10T21:10:59Z phoe_: as long as you hold the copyright, you decide how you license your code. 2017-12-10T21:11:04Z phoe_ afk 2017-12-10T21:13:00Z aeth: jmercouris: The GPL doesn't stop people from using it for commercial purposes (e.g. Red Hat or Oracle or Canonical or even Google) and there's a network loophole to the GPL that the AGPL attempts to fix (i.e. if you make your Foo library I can make a commercial Foo as a Service website and since I'm not distributing binaries of your Foo, it's allowed) 2017-12-10T21:13:28Z aeth: In fact, forbidding commercial use (e.g. half of the Creative Commons licenses) is explicitly not allowed under the open source definition. 2017-12-10T21:13:48Z aeth: The idea of the GPL is to just make it unattractive for commerical use, not forbid it. 2017-12-10T21:14:28Z phoe_: >The idea of the GPL is to just make it unattractive for commerical use 2017-12-10T21:14:44Z phoe_: Wrong, the idea of GPL is to make sure the users of the software have the four freedoms defined as essential by the FSF. 2017-12-10T21:14:47Z aeth: phoe_: well, the idea of using the GPL if you don't like commercial users 2017-12-10T21:14:56Z phoe_: ...but that's already becoming #lispcafe material I think. 2017-12-10T21:15:31Z JenElizabeth joined #lisp 2017-12-10T21:15:49Z random-nick joined #lisp 2017-12-10T21:17:30Z Karl_Dscc quit (Remote host closed the connection) 2017-12-10T21:17:53Z SuperJen quit (Ping timeout: 248 seconds) 2017-12-10T21:18:01Z whoman quit (Ping timeout: 240 seconds) 2017-12-10T21:21:19Z Kundry_Wag_ quit (Remote host closed the connection) 2017-12-10T21:27:48Z Kundry_Wag joined #lisp 2017-12-10T21:29:05Z shenghi quit (Remote host closed the connection) 2017-12-10T21:29:20Z shenghi joined #lisp 2017-12-10T21:29:54Z rumbler31 joined #lisp 2017-12-10T21:35:27Z rumbler31 quit (Ping timeout: 248 seconds) 2017-12-10T21:39:17Z jmercouris quit (Ping timeout: 255 seconds) 2017-12-10T21:39:22Z yeticry joined #lisp 2017-12-10T21:44:27Z random-nick quit (Remote host closed the connection) 2017-12-10T21:47:15Z kokonaisluku joined #lisp 2017-12-10T21:54:55Z jfe quit (Ping timeout: 250 seconds) 2017-12-10T22:03:09Z aphprentice joined #lisp 2017-12-10T22:13:29Z yeticry quit (Ping timeout: 255 seconds) 2017-12-10T22:13:34Z jmercouris joined #lisp 2017-12-10T22:13:39Z jmercouris: aeth: You are correct, certainly it does not prohibit that use, but I am developing an application, not a library, so it'd be hard to spin it into something else 2017-12-10T22:18:27Z Kundry_Wag quit (Read error: Connection reset by peer) 2017-12-10T22:19:01Z shenghi quit (Remote host closed the connection) 2017-12-10T22:19:01Z Kundry_Wag joined #lisp 2017-12-10T22:19:13Z shenghi joined #lisp 2017-12-10T22:21:03Z jfe joined #lisp 2017-12-10T22:23:32Z shenghi quit (Ping timeout: 240 seconds) 2017-12-10T22:28:17Z shenghi joined #lisp 2017-12-10T22:31:05Z pseudonymous joined #lisp 2017-12-10T22:32:16Z applePrincess quit (Read error: Connection reset by peer) 2017-12-10T22:32:19Z whoman joined #lisp 2017-12-10T22:32:22Z whoman quit (Remote host closed the connection) 2017-12-10T22:34:05Z aeth: jmercouris: I'm not sure what the difference between an application and a library really is, especially in a language like Lisp. 2017-12-10T22:34:54Z jmercouris: I always think I have my mind made up, but then a conversation like this makes me start all over again mentally 2017-12-10T22:37:05Z Josh_2: well not gonna find many libraries that are executables 2017-12-10T22:37:25Z Josh_2: the saved lisp images that is 2017-12-10T22:40:20Z lyndon joined #lisp 2017-12-10T22:41:00Z aeth: Josh_2: An application is (probably too simply) a library with an entry point. In Lisp, you're free to ignore the entry point and directly access things, even private things. You could probably even do this on a saved lisp image that isn't tree shaken. 2017-12-10T22:41:15Z aeth: An application would have to be pretty fragile with globals everywhere, etc., to have nothing useful to someone else. 2017-12-10T22:41:23Z Josh_2: Well that's neat 2017-12-10T22:42:07Z aeth: You can just do (foo-package::some-private-function 42 :really t) 2017-12-10T22:42:14Z aeth: You shouldn't but you can. 2017-12-10T22:42:26Z fouric: Ober: just salute, i thought 2017-12-10T22:42:37Z fouric: i was under the impression that o/ was a high-five and o7 a salute 2017-12-10T22:42:55Z lyndon quit (Client Quit) 2017-12-10T22:43:02Z lyndon joined #lisp 2017-12-10T22:43:14Z jmercouris quit (Remote host closed the connection) 2017-12-10T22:43:19Z lyndon is now known as whoman 2017-12-10T22:43:44Z jmercouris joined #lisp 2017-12-10T22:44:52Z whoman quit (Remote host closed the connection) 2017-12-10T22:45:14Z whoman joined #lisp 2017-12-10T22:46:22Z pillton joined #lisp 2017-12-10T22:48:25Z mishoo quit (Ping timeout: 258 seconds) 2017-12-10T22:54:38Z yeticry joined #lisp 2017-12-10T22:54:43Z pillton: Xach: Thanks for adding my projects to quicklisp. Sorry for the hiccup too. 2017-12-10T22:55:58Z sz0 quit (Quit: Connection closed for inactivity) 2017-12-10T22:57:20Z nowhere_man quit (Ping timeout: 255 seconds) 2017-12-10T22:57:21Z jfe quit (Ping timeout: 240 seconds) 2017-12-10T22:59:01Z python476 quit (Quit: focus) 2017-12-10T23:01:46Z damke joined #lisp 2017-12-10T23:01:53Z emacsoma` quit (Ping timeout: 248 seconds) 2017-12-10T23:03:39Z alexmlw quit (Quit: alexmlw) 2017-12-10T23:04:29Z damke_ quit (Ping timeout: 252 seconds) 2017-12-10T23:04:44Z jfe joined #lisp 2017-12-10T23:04:51Z nowhere_man joined #lisp 2017-12-10T23:06:21Z yeticry quit (Ping timeout: 240 seconds) 2017-12-10T23:10:56Z fikka quit (Ping timeout: 248 seconds) 2017-12-10T23:14:18Z fikka joined #lisp 2017-12-10T23:14:39Z jack_rabbit quit (Read error: Connection reset by peer) 2017-12-10T23:15:17Z raphaelss quit (Ping timeout: 276 seconds) 2017-12-10T23:16:24Z kokonaisluku quit (Quit: ChatZilla 0.9.93 [Firefox 52.5.1/20171205141522]) 2017-12-10T23:17:02Z raphaelss joined #lisp 2017-12-10T23:27:52Z king_idiot joined #lisp 2017-12-10T23:31:53Z Josh_2 quit (Remote host closed the connection) 2017-12-10T23:33:33Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.1)) 2017-12-10T23:34:45Z jack_rabbit joined #lisp 2017-12-10T23:35:42Z pseudonymous quit (Ping timeout: 268 seconds) 2017-12-10T23:36:42Z zagura is now known as Teleskopowicz 2017-12-10T23:38:50Z Rawriful joined #lisp 2017-12-10T23:39:55Z Kundry_Wag quit (Remote host closed the connection) 2017-12-10T23:41:55Z Teleskopowicz is now known as zagura 2017-12-10T23:41:56Z Kundry_Wag joined #lisp 2017-12-10T23:45:07Z Rawriful quit (Quit: WeeChat 1.4) 2017-12-10T23:46:21Z nowhere_man quit (Remote host closed the connection) 2017-12-10T23:46:53Z nowhere_man joined #lisp 2017-12-10T23:57:00Z epony joined #lisp 2017-12-10T23:58:44Z epony quit (Max SendQ exceeded) 2017-12-10T23:59:06Z epony joined #lisp 2017-12-11T00:00:12Z republican_devil: xach what do youuse for lisp powered websites? 2017-12-11T00:02:41Z notzmv joined #lisp 2017-12-11T00:03:38Z red-dot joined #lisp 2017-12-11T00:04:01Z jmercouris: republican_devil: I don't know what Xach uses, but Shinmera has a framework called radiance, is quite nice 2017-12-11T00:04:25Z jmercouris: republican_devil: https://shirakumo.github.io/radiance-homepage/ 2017-12-11T00:06:34Z Kaisyu joined #lisp 2017-12-11T00:10:31Z phoe_: I tried lucerne, it's pretty okay as well. 2017-12-11T00:11:50Z jmercouris quit (Ping timeout: 276 seconds) 2017-12-11T00:18:36Z Xach: gavino hasn't been here in a while 2017-12-11T00:19:30Z turkja joined #lisp 2017-12-11T00:22:15Z __sigjuice joined #lisp 2017-12-11T00:23:10Z __sigjuice left #lisp 2017-12-11T00:31:27Z moei quit (Quit: Leaving...) 2017-12-11T00:33:56Z kjak quit (Quit: leaving) 2017-12-11T00:42:20Z drmeister: Is there a way to control what C compiler asdf uses? 2017-12-11T00:46:34Z drmeister: I believe that ASDF is using the system clang compiler and I need it to use a different clang compiler 2017-12-11T00:51:14Z astronav_ joined #lisp 2017-12-11T00:52:14Z drmeister: ASDF does compile C source - correct? I see the pzmq library generates a grovel__grovel.c file - that is compiled somehow to a .o file. 2017-12-11T00:53:01Z astronavt quit (Ping timeout: 250 seconds) 2017-12-11T00:54:32Z jfe: drmeister: unfortunately i'm an amateur on asdf. but i had a question for you. the other day i asked why compilers aren't more frequently written in high-level languages like lisp. if i understand correctly, you wrote the clasp compiler in c++. why did you choose c++ instead of lisp? 2017-12-11T00:56:13Z astronav_ is now known as astronavt 2017-12-11T00:57:35Z jibanes quit (Ping timeout: 240 seconds) 2017-12-11T00:58:49Z SuperJen joined #lisp 2017-12-11T00:59:23Z jibanes joined #lisp 2017-12-11T00:59:27Z lagagain joined #lisp 2017-12-11T01:02:13Z drmeister: jfe: I did not write the clasp compiler in C++. Clasp has one interpreter written in C++ and two compilers written in Common Lisp. 2017-12-11T01:02:23Z JenElizabeth quit (Ping timeout: 248 seconds) 2017-12-11T01:04:29Z terpri quit (Ping timeout: 276 seconds) 2017-12-11T01:05:33Z momofarm joined #lisp 2017-12-11T01:05:43Z shka quit (Read error: Connection reset by peer) 2017-12-11T01:05:56Z jfe: drmeister: ah, i see. i listened to your presentation of clasp at google and must have misheard. thanks. 2017-12-11T01:05:58Z shka joined #lisp 2017-12-11T01:06:42Z Fade: jfe: symbolics wrote a very advanced C compiler in common lisp. 2017-12-11T01:06:46Z drmeister: Clasp interoperates with C++ (links with C++ libraries and C++ calls interleave with CL calls). 2017-12-11T01:10:51Z EvW quit (Ping timeout: 240 seconds) 2017-12-11T01:17:28Z Xach: drmeister: asdf does not compile c source. 2017-12-11T01:17:42Z Xach: drmeister: cffi includes a part for asdf that compiles c source 2017-12-11T01:17:56Z Xach: drmeister: config-wise, i think you would start with cffi's grovel mechanism 2017-12-11T01:18:07Z drmeister: Thank you - I'm digging into it. 2017-12-11T01:18:29Z drmeister: Something associated with groveling C code is generating malformed llvm-IR 2017-12-11T01:19:27Z k-stz quit (Remote host closed the connection) 2017-12-11T01:20:11Z Xach: boo 2017-12-11T01:22:29Z lisp_guest quit (Ping timeout: 250 seconds) 2017-12-11T01:26:45Z pierpa quit (Quit: Page closed) 2017-12-11T01:26:54Z Kundry_Wag quit (Remote host closed the connection) 2017-12-11T01:29:41Z Arcaelyx quit (Ping timeout: 255 seconds) 2017-12-11T01:30:22Z Arcaelyx_ joined #lisp 2017-12-11T01:32:31Z rumbler31 joined #lisp 2017-12-11T01:33:06Z SuperJen quit (Remote host closed the connection) 2017-12-11T01:33:14Z Kundry_Wag joined #lisp 2017-12-11T01:33:34Z SuperJen joined #lisp 2017-12-11T01:36:01Z Kundry_Wag quit (Remote host closed the connection) 2017-12-11T01:36:37Z Kundry_Wag joined #lisp 2017-12-11T01:36:44Z moei joined #lisp 2017-12-11T01:36:57Z rumbler31 quit (Ping timeout: 240 seconds) 2017-12-11T01:41:08Z Kundry_Wag quit (Ping timeout: 255 seconds) 2017-12-11T01:41:08Z wigust_ quit (Ping timeout: 255 seconds) 2017-12-11T01:41:30Z fikka quit (Ping timeout: 268 seconds) 2017-12-11T01:41:31Z orivej quit (Ping timeout: 260 seconds) 2017-12-11T01:43:14Z wooden joined #lisp 2017-12-11T01:44:46Z yeticry joined #lisp 2017-12-11T01:45:55Z wooden quit (Read error: Connection reset by peer) 2017-12-11T01:47:29Z jameser joined #lisp 2017-12-11T01:48:15Z wooden joined #lisp 2017-12-11T01:49:41Z shka quit (Ping timeout: 240 seconds) 2017-12-11T01:51:09Z rumbler31 joined #lisp 2017-12-11T01:51:21Z Jen joined #lisp 2017-12-11T01:51:23Z rumbler31 quit (Remote host closed the connection) 2017-12-11T01:51:44Z Jen is now known as Guest76257 2017-12-11T01:52:04Z shka joined #lisp 2017-12-11T01:53:54Z rumbler31 joined #lisp 2017-12-11T01:54:56Z shka quit (Excess Flood) 2017-12-11T01:54:57Z SuperJen quit (Ping timeout: 240 seconds) 2017-12-11T01:55:53Z rumbler31 quit (Remote host closed the connection) 2017-12-11T01:56:30Z shka joined #lisp 2017-12-11T01:56:32Z rumbler31 joined #lisp 2017-12-11T01:57:05Z rumbler31 quit (Remote host closed the connection) 2017-12-11T02:01:21Z jameser quit (Ping timeout: 260 seconds) 2017-12-11T02:02:39Z aphprentice quit (Quit: Connection closed for inactivity) 2017-12-11T02:03:45Z dddddd quit (Ping timeout: 248 seconds) 2017-12-11T02:06:47Z jameser joined #lisp 2017-12-11T02:08:31Z yeticry quit (Ping timeout: 248 seconds) 2017-12-11T02:08:55Z SuperJen joined #lisp 2017-12-11T02:12:15Z Guest76257 quit (Ping timeout: 248 seconds) 2017-12-11T02:17:04Z didi joined #lisp 2017-12-11T02:18:14Z didi: When should I define a PACKAGE-USER package for my package PACKAGE? 2017-12-11T02:20:15Z jack_rabbit quit (Ping timeout: 248 seconds) 2017-12-11T02:20:27Z markong quit (Ping timeout: 240 seconds) 2017-12-11T02:21:57Z yeticry joined #lisp 2017-12-11T02:23:10Z d4ryus1 joined #lisp 2017-12-11T02:24:25Z Xach: didi: i do it when i think someone might want to in-package to use no prefixes, but don't want to mess with implementation stuff. but it's also trivial to make a new package that uses PACKAGE 2017-12-11T02:24:49Z Xach: package-user to me is just (:use cl package) 2017-12-11T02:25:24Z didi: Xach: Cool, thank you. 2017-12-11T02:25:57Z d4ryus quit (Ping timeout: 240 seconds) 2017-12-11T02:28:18Z Ober: how do you get the line number of the offending error on sbcl when compiling and you hit the restarts/debugger? 2017-12-11T02:28:41Z didi: Ober: If on SLIME, I type ?v. 2017-12-11T02:28:57Z jameser quit (Ping timeout: 240 seconds) 2017-12-11T02:28:59Z Xach: I use slime and M-n and M-p 2017-12-11T02:29:01Z Ober: i've gone down the backtrace list hitting v and it'as all sbcl 2017-12-11T02:29:14Z Ober: thanks 2017-12-11T02:30:12Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-11T02:30:34Z phoe joined #lisp 2017-12-11T02:30:46Z didi: Oh, tip: it got nicer once I added (declaim (optimize (speed 0) debug safety)) to my ~/.sbclrc 2017-12-11T02:30:59Z phoe quit (Client Quit) 2017-12-11T02:31:20Z Ober: cool 2017-12-11T02:31:31Z Xach: sb-ext:restrict-compiler-policy is a way to do that in a more durable way too 2017-12-11T02:31:54Z didi: Xach: Thank you. I didn't know about `sb-ext:restrict-compiler-policy'. 2017-12-11T02:32:30Z phoe joined #lisp 2017-12-11T02:32:39Z phoe quit (Client Quit) 2017-12-11T02:33:50Z jack_rabbit joined #lisp 2017-12-11T02:33:50Z Ober: just ql and sbcl. none of my code. 2017-12-11T02:33:55Z phoe joined #lisp 2017-12-11T02:34:20Z phoe: there, enough on/off bouncing. 2017-12-11T02:34:44Z Xach: Ober: what is the error? 2017-12-11T02:36:06Z igemnace joined #lisp 2017-12-11T02:37:08Z Ober: one sec. trying to recreate 2017-12-11T02:37:37Z Ober: Cannot CHANGE-CLASS objects into CLASS metaobjects. 2017-12-11T02:37:37Z Ober: [Condition of type SB-PCL::METAOBJECT-INITIALIZATION-VIOLATION] 2017-12-11T02:37:37Z Ober: See also: 2017-12-11T02:37:37Z Ober: The Art of the Metaobject Protocol, CLASS [:initialization] 2017-12-11T02:37:40Z Ober: 2017-12-11T02:37:59Z Ober: rototilling a bunch of code back into a single file, but can't find the line where it's bombing on 2017-12-11T02:38:08Z Ober: brb 2017-12-11T02:38:14Z Kundry_Wag joined #lisp 2017-12-11T02:39:42Z phoe: Ober: give us the code snippet that is causing this, if you can extract it 2017-12-11T02:39:47Z phoe_ quit (Quit: Page closed) 2017-12-11T02:40:14Z LiamH quit (Quit: Leaving.) 2017-12-11T02:40:57Z karswell_ quit (Read error: No route to host) 2017-12-11T02:41:01Z khisanth_ quit (Ping timeout: 260 seconds) 2017-12-11T02:41:35Z shka quit (Remote host closed the connection) 2017-12-11T02:41:36Z karswell_ joined #lisp 2017-12-11T02:42:00Z shka joined #lisp 2017-12-11T02:43:21Z Kundry_Wag quit (Ping timeout: 260 seconds) 2017-12-11T02:54:07Z loke: phoe: Seems to be as though he might be trying to redeclare a class from a standard class into a metaclass. 2017-12-11T02:54:15Z loke: That can be problematic. 2017-12-11T02:54:16Z Ober: if I could extract it, I would fix it :P 2017-12-11T02:54:18Z khisanth_ joined #lisp 2017-12-11T02:54:32Z Ober: ok will dig for it. thanks 2017-12-11T02:54:33Z Ober: xb 2017-12-11T02:54:48Z jameser joined #lisp 2017-12-11T02:58:23Z Ober: allegro built it fine, lw gave this error which seems more useful. Layout for class # has changed from ((VALUE 0 8 MMAP-POINTER T) (IDX 8 8 MMAP-POINTER T)) 2017-12-11T02:58:24Z Ober: 2017-12-11T02:59:19Z jameser_ joined #lisp 2017-12-11T03:01:03Z jameser quit (Ping timeout: 268 seconds) 2017-12-11T03:01:27Z terpri joined #lisp 2017-12-11T03:01:42Z damke quit (Read error: Connection reset by peer) 2017-12-11T03:03:10Z fikka joined #lisp 2017-12-11T03:04:41Z jameser_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-11T03:05:53Z jameser joined #lisp 2017-12-11T03:06:03Z damke joined #lisp 2017-12-11T03:07:51Z fikka quit (Ping timeout: 260 seconds) 2017-12-11T03:09:02Z lrvy joined #lisp 2017-12-11T03:12:23Z drmeister: Ironclad generates a different MD5 digest than C++ code that I have and MD5 hash generators on the web - what am I doing wrong? 2017-12-11T03:13:02Z drmeister: https://www.irccloud.com/pastebin/I2iL1tl5/ 2017-12-11T03:13:20Z drmeister: Output: 2017-12-11T03:13:34Z drmeister: https://www.irccloud.com/pastebin/ZCqyEwCh/ 2017-12-11T03:13:52Z drmeister: MD5 generator from the web: 0cc175b9c0f1b6a831c399e269772661 2017-12-11T03:14:00Z drmeister: http://www.sha1-online.com 2017-12-11T03:14:37Z jfe quit (Remote host closed the connection) 2017-12-11T03:14:52Z jfe joined #lisp 2017-12-11T03:14:57Z drmeister: The C++ code (My md5) and the MD5 calculator generate the same result. Ironclad - something different. 2017-12-11T03:15:01Z drmeister: Different is not good. 2017-12-11T03:18:02Z _whitelogger quit (Remote host closed the connection) 2017-12-11T03:18:36Z froggey: drmeister: I had a similar problem, it turned out my sin implementation wasn't accurate enough to build a table MD5 needed 2017-12-11T03:19:29Z jfe quit (Ping timeout: 248 seconds) 2017-12-11T03:20:13Z _whitelogger joined #lisp 2017-12-11T03:23:57Z Ober: lw gui shows the exact place of error. thanks for the help 2017-12-11T03:24:55Z drmeister: froggey: You mean the trigonometric function SIN? 2017-12-11T03:25:20Z froggey: yes 2017-12-11T03:25:26Z drmeister: Holy crap 2017-12-11T03:25:27Z yeticry quit (Ping timeout: 240 seconds) 2017-12-11T03:26:35Z didi: TIL MD5 is a chaotic function ;-) 2017-12-11T03:27:15Z drmeister: How accurate does it need to be? 2017-12-11T03:28:17Z phoe: drmeister: https://en.wikipedia.org/wiki/MD5 has the precomputed values, you could perhaps check if your sine gives you same hex numbers 2017-12-11T03:28:19Z froggey: not sure, I ended up replacing it with a correctly precomputed table 2017-12-11T03:29:01Z yangby joined #lisp 2017-12-11T03:29:07Z phoe brb 2017-12-11T03:29:08Z phoe quit (Quit: leaving) 2017-12-11T03:33:05Z drmeister: Ok, that appears to be the problem - thank you. 2017-12-11T03:33:11Z drmeister: Wow - not in a million years. 2017-12-11T03:36:27Z king_idiot quit (Ping timeout: 240 seconds) 2017-12-11T03:38:23Z drmeister: It's weird though - when calculate the integer value - it's fine. It's just when I convert it to a hex string that it zeros the last digits. 2017-12-11T03:38:50Z drmeister: In Clasp: (floor (* (expt 2 32) (sin 1))) --> 3614090240 2017-12-11T03:39:06Z drmeister: In sbcl: 3614090240 2017-12-11T03:39:27Z Kundry_Wag joined #lisp 2017-12-11T03:39:33Z phoe joined #lisp 2017-12-11T03:39:56Z drmeister: 3614090240 2017-12-11T03:40:26Z drmeister: In Clasp: (format nil "~x" (floor (* (expt 2 32) (sin 1)))) --> "D76AA400" 2017-12-11T03:41:09Z froggey: I think that's a single-float problem. try (sin (float 1 0.0d0)) 2017-12-11T03:41:14Z drmeister: In Sbcl: (format nil "~x" (floor (* (expt 2 32) (sin 1)))) --> "D76AA400" 2017-12-11T03:41:19Z drmeister: Ugh - that's a red herring. 2017-12-11T03:41:25Z phoe: drmeister: these values look the same to me. 2017-12-11T03:41:34Z drmeister: They are all the same values. 2017-12-11T03:41:57Z drmeister: The MD5 wikipedia page says the value should be: 0xd76aa478 2017-12-11T03:42:13Z drmeister: So printing with ~X is zeroing the lowest two digits - I don't know why 2017-12-11T03:42:45Z phoe: float precision, like froggey said? 2017-12-11T03:42:46Z drmeister: froggey: Thanks so I evaluate (sin (float 1 0.0d0)) in Clasp and Sbcl 2017-12-11T03:42:56Z drmeister: Clasp: 0.8414709848078965d0 2017-12-11T03:43:05Z drmeister: Sbcl: 0.8414709848078965d0 2017-12-11T03:43:11Z phoe: hah, same thing. 2017-12-11T03:43:25Z froggey: how does clasp implement sin? calling out to libc? 2017-12-11T03:43:32Z drmeister: C++ 2017-12-11T03:43:33Z Kundry_Wag quit (Ping timeout: 246 seconds) 2017-12-11T03:43:54Z froggey: or std::sin 2017-12-11T03:44:31Z froggey: iirc that's how sbcl does it, so I'd expect the same result... 2017-12-11T03:44:32Z yeticry joined #lisp 2017-12-11T03:45:03Z phoe: ...this is crazy. SBCL, CCL, ECL, CLISP all give 0x00 at the end. 2017-12-11T03:46:31Z phoe: oooh 2017-12-11T03:46:33Z phoe: I got it 2017-12-11T03:46:57Z phoe: (setf *read-default-float-format* 'double-float) ;=> DOUBLE-FLOAT 2017-12-11T03:46:58Z phoe: (format nil "~x" (floor (* (expt 2 32) (sin 1.0)))) ;=> "D76AA478" 2017-12-11T03:47:04Z phoe: drmeister: this *IS* a float precision issue 2017-12-11T03:47:27Z phoe: AFAIK you need to explicitly pass double-floats to sin, otherwise it pops out single floats that are not precise enough. 2017-12-11T03:47:33Z didi has (setf *read-default-float-format* 'double-float) inside ~/.sbclrc 2017-12-11T03:48:16Z drmeister: This is what Ironclad uses to calculate those numbers: 2017-12-11T03:48:18Z drmeister: https://www.irccloud.com/pastebin/1Zdt3mhH/ 2017-12-11T03:48:21Z lagagain quit (Quit: Connection closed for inactivity) 2017-12-11T03:48:27Z loke: phoe: If you pass a single-float to SIN, it will pop out a single float. 2017-12-11T03:48:32Z phoe: drmeister: (format nil "~x" (floor (* (expt 2 32) (sin (coerce 1.0 'double-float))))) ;=> "D76AA478" 2017-12-11T03:48:35Z phoe: loke: yes. 2017-12-11T03:48:40Z loke: phoe: That's not really an "issue", IOMHO. 2017-12-11T03:48:57Z phoe: drmeister: this smells like a bug in ironclad. 2017-12-11T03:49:04Z loke: phoe: You should be able to just use (sin 1d0) 2017-12-11T03:49:09Z phoe: loke: you are correct. 2017-12-11T03:49:41Z phoe: But wait a second. 2017-12-11T03:49:57Z phoe: ironclad has 0.0d0 there, which is a double-float. 2017-12-11T03:50:40Z phoe: So double-floats should be constructed. 2017-12-11T03:51:24Z loke: phoe: yes. 2017-12-11T03:52:57Z phoe: https://pastebin.com/a3LjhXpJ <- when followed step-by-step, this is what I see. 2017-12-11T03:53:08Z phoe: drmeister: can you execute the same series of steps in Clasp? 2017-12-11T03:53:15Z phoe: If we are lucky, we will be able to see where the output deviates. 2017-12-11T03:54:09Z kolko quit (Ping timeout: 248 seconds) 2017-12-11T03:55:56Z drmeister: Hang on - trying some other things 2017-12-11T03:56:03Z phoe: Okiedokie 2017-12-11T03:56:27Z kolko joined #lisp 2017-12-11T03:57:36Z fikka joined #lisp 2017-12-11T03:59:20Z aindilis quit (Ping timeout: 276 seconds) 2017-12-11T04:02:07Z fikka quit (Ping timeout: 248 seconds) 2017-12-11T04:02:13Z drmeister: I wrote a function to generate the table and ran it in Clasp and Sbcl - I get the same results. 2017-12-11T04:02:30Z drmeister: Spot checking the hex values with the Wikipedia page - the values match. 2017-12-11T04:02:41Z drmeister: I don't know what the problem is with md5 right now. 2017-12-11T04:04:37Z shka quit (Read error: Connection reset by peer) 2017-12-11T04:04:40Z drmeister: This is what clasp generates 2017-12-11T04:04:43Z drmeister: https://www.irccloud.com/pastebin/HAdQDmzZ/ 2017-12-11T04:04:55Z shka joined #lisp 2017-12-11T04:04:56Z drmeister: (defun ccc () (let ((*print-base* 16)) (print (loop for i from 0 below 64 collect (truncate (* 4294967296 (abs (sin (float (1+ i) 0.0d0))))))))) 2017-12-11T04:05:18Z drmeister: Sbcl: 2017-12-11T04:05:19Z drmeister: https://www.irccloud.com/pastebin/yj1SIgxm/ 2017-12-11T04:05:49Z drmeister: I clipped the last line off of clasp's values - here they are complete... 2017-12-11T04:05:52Z drmeister: https://www.irccloud.com/pastebin/VMODfEaD/ 2017-12-11T04:06:51Z drmeister: ediff says they match, visual inspection says they match. 2017-12-11T04:09:13Z BitPuffin|osx joined #lisp 2017-12-11T04:09:30Z froggey: that's probably not it then 2017-12-11T04:11:29Z jfe joined #lisp 2017-12-11T04:12:04Z brandonz quit (Quit: WeeChat 1.9.1) 2017-12-11T04:18:22Z quazimodo joined #lisp 2017-12-11T04:19:57Z heurist` quit (Ping timeout: 246 seconds) 2017-12-11T04:20:04Z heurist`_ joined #lisp 2017-12-11T04:25:32Z jameser quit (Ping timeout: 268 seconds) 2017-12-11T04:25:36Z ebrasca quit (Read error: Connection reset by peer) 2017-12-11T04:25:45Z ebrasca joined #lisp 2017-12-11T04:26:12Z ahungry joined #lisp 2017-12-11T04:26:39Z jameser joined #lisp 2017-12-11T04:29:39Z shka_ joined #lisp 2017-12-11T04:29:51Z shka quit (Ping timeout: 268 seconds) 2017-12-11T04:32:46Z jameser_ joined #lisp 2017-12-11T04:34:25Z jameser_ quit (Remote host closed the connection) 2017-12-11T04:34:41Z jameser quit (Ping timeout: 248 seconds) 2017-12-11T04:35:14Z jameser joined #lisp 2017-12-11T04:36:15Z quazimodo quit (Ping timeout: 248 seconds) 2017-12-11T04:37:38Z shka_ quit (Ping timeout: 258 seconds) 2017-12-11T04:38:45Z jameser quit (Client Quit) 2017-12-11T04:40:56Z karswell_ quit (Remote host closed the connection) 2017-12-11T04:41:42Z mson joined #lisp 2017-12-11T04:42:13Z karswell_ joined #lisp 2017-12-11T04:42:16Z shka_ joined #lisp 2017-12-11T04:44:09Z EvW joined #lisp 2017-12-11T04:48:47Z EvW quit (Ping timeout: 255 seconds) 2017-12-11T04:50:01Z kartik1 joined #lisp 2017-12-11T04:50:50Z kartik2 joined #lisp 2017-12-11T04:52:51Z astronavt quit (Remote host closed the connection) 2017-12-11T04:53:19Z shka_ quit (Read error: Connection reset by peer) 2017-12-11T04:54:38Z kartik1 quit (Ping timeout: 255 seconds) 2017-12-11T04:55:19Z Arcaelyx joined #lisp 2017-12-11T04:55:27Z wooden quit (Read error: Connection reset by peer) 2017-12-11T04:56:53Z Arcaelyx_ quit (Ping timeout: 255 seconds) 2017-12-11T04:57:36Z shka_ joined #lisp 2017-12-11T04:57:50Z kartik2 quit (Quit: WeeChat 1.4) 2017-12-11T04:58:44Z kark joined #lisp 2017-12-11T04:59:08Z wooden joined #lisp 2017-12-11T05:02:27Z shka_ quit (Ping timeout: 240 seconds) 2017-12-11T05:03:04Z karswell_ quit (Read error: Connection reset by peer) 2017-12-11T05:04:43Z shka_ joined #lisp 2017-12-11T05:06:22Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-11T05:09:15Z maxirater joined #lisp 2017-12-11T05:10:57Z shka_ quit (Ping timeout: 248 seconds) 2017-12-11T05:12:34Z didi quit (Remote host closed the connection) 2017-12-11T05:13:19Z shka_ joined #lisp 2017-12-11T05:15:11Z quazimodo joined #lisp 2017-12-11T05:22:07Z shka_ quit (Ping timeout: 250 seconds) 2017-12-11T05:25:07Z shka_ joined #lisp 2017-12-11T05:26:01Z ak5 quit (Quit: WeeChat 2.0) 2017-12-11T05:27:35Z we_in joined #lisp 2017-12-11T05:27:45Z d4ryus1 is now known as d4ryus 2017-12-11T05:28:00Z red-dot joined #lisp 2017-12-11T05:29:17Z quazimodo quit (Ping timeout: 255 seconds) 2017-12-11T05:29:35Z quazimodo joined #lisp 2017-12-11T05:32:47Z shka joined #lisp 2017-12-11T05:33:27Z shka_ quit (Ping timeout: 240 seconds) 2017-12-11T05:35:57Z quazimodo quit (Ping timeout: 240 seconds) 2017-12-11T05:40:25Z maxirater quit (Quit: Leaving) 2017-12-11T05:40:37Z we_in quit (Remote host closed the connection) 2017-12-11T05:41:05Z we_in joined #lisp 2017-12-11T05:44:39Z SaganMan joined #lisp 2017-12-11T05:45:33Z fikka joined #lisp 2017-12-11T05:50:01Z fikka quit (Ping timeout: 240 seconds) 2017-12-11T05:59:36Z whoman quit (Read error: Connection reset by peer) 2017-12-11T06:00:30Z zmt00 quit (Quit: Leaving) 2017-12-11T06:03:01Z damke quit (Ping timeout: 240 seconds) 2017-12-11T06:03:07Z whoman joined #lisp 2017-12-11T06:05:01Z oleo quit (Quit: Leaving) 2017-12-11T06:05:20Z damke joined #lisp 2017-12-11T06:05:31Z ahungry quit (Remote host closed the connection) 2017-12-11T06:11:45Z kolko_ joined #lisp 2017-12-11T06:13:41Z kolko quit (Ping timeout: 250 seconds) 2017-12-11T06:17:08Z tomw quit (Ping timeout: 276 seconds) 2017-12-11T06:17:09Z jfe quit (Ping timeout: 268 seconds) 2017-12-11T06:17:32Z jameser joined #lisp 2017-12-11T06:22:42Z ``Erik quit (Ping timeout: 268 seconds) 2017-12-11T06:23:35Z ``Erik joined #lisp 2017-12-11T06:28:10Z raphaelss quit (Remote host closed the connection) 2017-12-11T06:30:41Z terpri quit (Ping timeout: 240 seconds) 2017-12-11T06:36:35Z lisp_guest joined #lisp 2017-12-11T06:37:18Z Karl_Dscc joined #lisp 2017-12-11T06:41:37Z asarch quit (Quit: Leaving) 2017-12-11T06:42:31Z Xal quit (Ping timeout: 260 seconds) 2017-12-11T06:45:21Z Xal joined #lisp 2017-12-11T06:47:40Z Fare joined #lisp 2017-12-11T06:50:44Z jameser_ joined #lisp 2017-12-11T06:52:12Z jameser quit (Ping timeout: 246 seconds) 2017-12-11T06:52:31Z jameser_ quit (Remote host closed the connection) 2017-12-11T06:53:58Z jameser joined #lisp 2017-12-11T06:54:30Z dec0n joined #lisp 2017-12-11T06:59:17Z vlatkoB joined #lisp 2017-12-11T07:00:12Z hajovonta joined #lisp 2017-12-11T07:00:33Z flamebeard joined #lisp 2017-12-11T07:02:24Z test1600 joined #lisp 2017-12-11T07:09:30Z Karl_Dscc quit (Remote host closed the connection) 2017-12-11T07:11:28Z mson quit (Quit: Connection closed for inactivity) 2017-12-11T07:20:53Z Jen joined #lisp 2017-12-11T07:21:17Z Jen is now known as Guest26413 2017-12-11T07:23:21Z jameser_ joined #lisp 2017-12-11T07:24:15Z SuperJen quit (Ping timeout: 248 seconds) 2017-12-11T07:26:57Z jameser quit (Ping timeout: 248 seconds) 2017-12-11T07:30:08Z jameser joined #lisp 2017-12-11T07:31:41Z jameser_ quit (Ping timeout: 255 seconds) 2017-12-11T07:33:49Z fikka joined #lisp 2017-12-11T07:35:08Z angavrilov joined #lisp 2017-12-11T07:39:23Z jameser quit (Remote host closed the connection) 2017-12-11T07:40:10Z jameser joined #lisp 2017-12-11T07:40:55Z Kundry_Wag joined #lisp 2017-12-11T07:41:19Z fikka quit (Ping timeout: 248 seconds) 2017-12-11T07:42:26Z zaquest joined #lisp 2017-12-11T07:43:10Z vap1 joined #lisp 2017-12-11T07:43:16Z jameser_ joined #lisp 2017-12-11T07:44:07Z vaporatorius joined #lisp 2017-12-11T07:45:32Z Kundry_Wag quit (Ping timeout: 276 seconds) 2017-12-11T07:46:27Z jameser quit (Ping timeout: 246 seconds) 2017-12-11T07:47:16Z SamSkulls quit (Ping timeout: 260 seconds) 2017-12-11T07:48:32Z jameser_ quit (Remote host closed the connection) 2017-12-11T07:49:24Z jameser joined #lisp 2017-12-11T07:50:16Z lrvy quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-11T07:55:47Z lrvy joined #lisp 2017-12-11T07:56:49Z lisp_guest quit (Ping timeout: 250 seconds) 2017-12-11T08:02:45Z easye joined #lisp 2017-12-11T08:03:38Z knobo joined #lisp 2017-12-11T08:06:31Z yeticry quit (Ping timeout: 260 seconds) 2017-12-11T08:08:31Z yeticry joined #lisp 2017-12-11T08:16:52Z Amplituhedron joined #lisp 2017-12-11T08:17:19Z varjag joined #lisp 2017-12-11T08:20:17Z rgrau quit (Ping timeout: 255 seconds) 2017-12-11T08:20:21Z mishoo joined #lisp 2017-12-11T08:21:25Z fikka joined #lisp 2017-12-11T08:25:18Z yeticry quit (Ping timeout: 246 seconds) 2017-12-11T08:29:06Z terpri joined #lisp 2017-12-11T08:31:33Z jameser_ joined #lisp 2017-12-11T08:32:35Z jameser quit (Ping timeout: 240 seconds) 2017-12-11T08:34:49Z xificurC joined #lisp 2017-12-11T08:35:43Z jameser_ quit (Remote host closed the connection) 2017-12-11T08:35:48Z jfb4 quit (Ping timeout: 246 seconds) 2017-12-11T08:35:54Z xificurC: when running a script with #!/usr/bin/sbcl --script is there a way to drop into a repl? 2017-12-11T08:36:37Z jameser joined #lisp 2017-12-11T08:37:51Z jfb4 joined #lisp 2017-12-11T08:38:43Z yeticry joined #lisp 2017-12-11T08:40:05Z fikka quit (Ping timeout: 240 seconds) 2017-12-11T08:40:16Z pjb: xificurC: don't use --script. 2017-12-11T08:40:39Z pyx joined #lisp 2017-12-11T08:40:39Z pyx quit (Client Quit) 2017-12-11T08:41:13Z xificurC: pjb: what do you mean 2017-12-11T08:44:16Z fikka joined #lisp 2017-12-11T08:44:16Z pjb: Let's try it. 2017-12-11T08:44:40Z orivej joined #lisp 2017-12-11T08:45:12Z jameser_ joined #lisp 2017-12-11T08:45:54Z pjb: xificurC: well, it kind of works, but without --script, it doesn't run the script. 2017-12-11T08:46:40Z pjb: xificurC: so you have two choices: either call the repl toplevel at the end of the script (and use --script), or write a script to run sbcl without --script, but loading and running your lisp script. 2017-12-11T08:47:12Z xificurC: pjb: how can I call the repl toplevel programmatically? 2017-12-11T08:48:05Z jameser quit (Ping timeout: 240 seconds) 2017-12-11T08:48:19Z pjb: calling SB-IMPL::TOPLEVEL-REPL I think. 2017-12-11T08:48:25Z pjb: Alternatively, you can use 2017-12-11T08:48:39Z pjb: COM.INFORMATIMAGO.COMMON-LISP.INTERACTIVE.INTERACTIVE:REPL 2017-12-11T08:52:03Z xificurC: (sb-impl::toplevel-repl nil) works, thanks 2017-12-11T08:54:12Z jameser_ quit (Quit: Textual IRC Client: www.textualapp.com) 2017-12-11T08:54:29Z pjb: it might be a good idea to wrap it in a handler-case if you want the script to keep control, and to redefine quit to exit sb-impl::toplevel-repl instead of killing sbcl if you want to take over after the repl. 2017-12-11T08:56:33Z nowhere_man quit (Ping timeout: 248 seconds) 2017-12-11T08:58:24Z rumbler31 joined #lisp 2017-12-11T08:59:20Z shka quit (Ping timeout: 268 seconds) 2017-12-11T09:00:20Z nowhere_man joined #lisp 2017-12-11T09:01:40Z damke_ joined #lisp 2017-12-11T09:02:35Z rumbler31 quit (Ping timeout: 255 seconds) 2017-12-11T09:03:38Z easye: Lisp 101 question: how do I distinguish between a reference to proper list and a dotted list? The form (not (consp (cdr reference))) seems ridiculously non-terse, so I fear I am missing something basic. 2017-12-11T09:04:12Z pjb: xificurC: it may also be a good idea to call (sb-impl::toplevel-init) first. 2017-12-11T09:04:21Z damke quit (Ping timeout: 240 seconds) 2017-12-11T09:04:22Z pjb: easye: by walking the list. 2017-12-11T09:05:12Z pjb: You may use com.informatimago.common-lisp.cesarum.list:proper-list-p alexandria.0.dev:proper-list-p #+ccl ccl::proper-list-p 2017-12-11T09:05:34Z xificurC: pjb thanks 2017-12-11T09:05:57Z easye: pjb: ok, I guess that makes sense. Just thought there should be something in ANSI to do this. I was a bit surprised that LISTP acts as a complete synonym for CONSP. 2017-12-11T09:06:10Z pjb: Efficiency. 2017-12-11T09:06:16Z Cymew joined #lisp 2017-12-11T09:06:36Z pjb: Remember, lisp was implemented in 1960 on computers that were barely able to perform 1 million operations a second. 2017-12-11T09:06:41Z EvW joined #lisp 2017-12-11T09:09:02Z Cymew quit (Client Quit) 2017-12-11T09:09:20Z kark quit (Ping timeout: 248 seconds) 2017-12-11T09:10:57Z EvW quit (Ping timeout: 248 seconds) 2017-12-11T09:17:32Z tfb: easye: distinguishing a proper list from something that isn't is non-trivial in general: is #1=(a b #1#) proper (no, but knowing it's not requires an occurs check) 2017-12-11T09:20:05Z ebrasca left #lisp 2017-12-11T09:20:06Z easye: tfb: Yeah. I'm just having one of those moments of realizing my internal model of CONS structures needs some refreshing. 2017-12-11T09:20:39Z easye: Funny how I can actually get something done without remembering such basics. 2017-12-11T09:22:59Z tfb: I spend my working life looking at a million lines of fortran and wondering much the same 2017-12-11T09:24:53Z easye: FORTRAN was my first language: studying a Decwriter printout of Colossal Cave and some of the Hollerith cards. Real fun for a pre-teen. 2017-12-11T09:24:59Z nowhere_man quit (Ping timeout: 276 seconds) 2017-12-11T09:26:21Z jfb4 quit (Ping timeout: 240 seconds) 2017-12-11T09:28:28Z nowhere_man joined #lisp 2017-12-11T09:31:06Z quazimodo joined #lisp 2017-12-11T09:33:29Z SuperJen joined #lisp 2017-12-11T09:33:35Z jfb4 joined #lisp 2017-12-11T09:35:38Z hhdave joined #lisp 2017-12-11T09:37:34Z Guest26413 quit (Ping timeout: 268 seconds) 2017-12-11T09:41:01Z knobo quit (Ping timeout: 260 seconds) 2017-12-11T09:44:00Z Jen joined #lisp 2017-12-11T09:44:24Z Jen is now known as Guest26679 2017-12-11T09:45:04Z lrvy quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-11T09:47:26Z SuperJen quit (Ping timeout: 260 seconds) 2017-12-11T09:47:51Z quazimodo quit (Ping timeout: 240 seconds) 2017-12-11T09:53:36Z lrvy joined #lisp 2017-12-11T09:56:37Z quazimodo joined #lisp 2017-12-11T09:56:58Z dddddd joined #lisp 2017-12-11T09:58:46Z SuperJen joined #lisp 2017-12-11T10:02:03Z Guest26679 quit (Ping timeout: 250 seconds) 2017-12-11T10:02:29Z Tobbi joined #lisp 2017-12-11T10:04:51Z knobo joined #lisp 2017-12-11T10:05:01Z yangby quit (Quit: Go out for a walk and buy a drink.) 2017-12-11T10:08:33Z momofarm quit (Ping timeout: 248 seconds) 2017-12-11T10:19:05Z cess11 quit (Ping timeout: 240 seconds) 2017-12-11T10:19:53Z we_in quit (Quit: Leaving) 2017-12-11T10:20:28Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-11T10:23:37Z JenElizabeth joined #lisp 2017-12-11T10:26:05Z SuperJen quit (Ping timeout: 240 seconds) 2017-12-11T10:31:51Z tcr joined #lisp 2017-12-11T10:33:57Z himmAllRight quit (Ping timeout: 240 seconds) 2017-12-11T10:34:41Z SaganMan quit (Ping timeout: 248 seconds) 2017-12-11T10:35:56Z schweers: I have code which passes double-floats and '(unsigned-byte 64) values to helper functions and recieves them back. After reading about block compilation in the CMUCL manual I wanted to try it, but SBCL (which I use) removed support. So I put my helper functions into a LABELS form and put both DECLARE forms and defuns (which have preceding toplevel DECLAIM forms) into the LABELS form. I still get efficiency notes like th 2017-12-11T10:35:56Z schweers: unsigned word to integer coercion (cost 20) to "" 2017-12-11T10:36:19Z schweers: Am I doing something wrong? 2017-12-11T10:37:12Z pjb: What does block compilation do? 2017-12-11T10:38:02Z schweers: one can specify a block of code which may consist of multiple functions, and specify which of them are callable from outside of the block. this means that the other functions can be implemented with local calls 2017-12-11T10:38:12Z schweers: at least that is how I understood the manual 2017-12-11T10:38:14Z pjb: Efficiency notes are just that. Nothing fundamentally wrong or erroneous. This only means that sbcl thinks that it could generate more efficient code if you did something else. But do YOU want to do something else? 2017-12-11T10:38:26Z schweers: I want the efficient code :) 2017-12-11T10:38:37Z jfb4 quit (Ping timeout: 268 seconds) 2017-12-11T10:38:49Z pjb: schweers: well, by default all the functions in a single compilation unit can be called between them with local calls. 2017-12-11T10:38:54Z schweers: the CMUCL manual claims that block compilation can be used to pass non-descriptor values from and to funcions without boxing them 2017-12-11T10:39:13Z pjb: I think sbcl performs this optimization automatically. 2017-12-11T10:39:21Z schweers: hmm. now that you say that, it does seem reasonable. 2017-12-11T10:39:23Z pjb: Ask in #sbcl to be sure. 2017-12-11T10:39:57Z schweers: yet all calls to the helper functions in the labels form are known at compile time, so I’m confused about the notes 2017-12-11T10:40:04Z schweers: will do, thanks 2017-12-11T10:40:35Z jfb4 joined #lisp 2017-12-11T10:40:37Z pjb: Now, you may want to add type declarations, and provide public API functions that will check-type the arguments to ensure the declarations are fullfilled. 2017-12-11T10:41:21Z pjb: If you have a lot of them, you can split them over several files, as long as you compile them in a with-compilation-unit. I don't know how to do that with asdf however. 2017-12-11T10:41:25Z yeticry quit (Ping timeout: 258 seconds) 2017-12-11T10:43:20Z yeticry joined #lisp 2017-12-11T10:46:25Z knobo quit (Ping timeout: 248 seconds) 2017-12-11T10:47:20Z schweers: I put ftype declarations in place, both for the global and local functions. 2017-12-11T10:48:14Z schweers: is there something wrong with code of the following form: (labels ((helper (...) ...)) (defun foo (...) (helper ...))) 2017-12-11T10:48:18Z igemnace quit (Quit: WeeChat 2.0) 2017-12-11T10:50:59Z knobo joined #lisp 2017-12-11T10:51:23Z Shinmera: schweers: Yes, why not just use a global function for the helper 2017-12-11T10:52:04Z schweers: I thought I had to put the code in /local/ functions in order to utilize non-discriptor representations 2017-12-11T10:52:22Z dddddd quit (Remote host closed the connection) 2017-12-11T10:52:53Z lrvy quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-11T10:53:15Z Shinmera: I'm not sure I understand exactly what you want to do-- why not put the lables inside the defun if you want to share locals? 2017-12-11T10:53:32Z schweers: because I have more than one defun 2017-12-11T10:54:09Z Shinmera: In that case I would advise a definition for the helper and requesting inlining. 2017-12-11T10:54:15Z schweers: I have several “global” functions which use the same set of helpers which are not needed outside of these defuns 2017-12-11T10:54:34Z schweers: does inlining work nicely with recursion? 2017-12-11T10:54:40Z schweers: nevermind 2017-12-11T10:54:43Z schweers: its tail recursive 2017-12-11T10:54:44Z test1600 quit (Read error: Connection reset by peer) 2017-12-11T10:55:08Z schweers: seems reasonable, would make the code much more pretty 2017-12-11T10:55:10Z schweers: I’ll try that 2017-12-11T10:56:44Z krasnal joined #lisp 2017-12-11T11:00:25Z manualcrank quit (Quit: WeeChat 1.9.1) 2017-12-11T11:00:29Z Shinmera: If you have non-tail recursion you can do local inlining to avoid the function-to-be-inlined to inline itself infinitely. 2017-12-11T11:01:00Z schweers: with a local (declare (notinline foo))? 2017-12-11T11:01:26Z Shinmera: Yes. 2017-12-11T11:01:40Z schweers: thanks for the info 2017-12-11T11:02:42Z Shinmera: Or alternatively not declaiming it inline and using declare inline where you want it inlined. I think in that case it won't recursively inline. 2017-12-11T11:02:54Z Shinmera: Though I'm not sure that case is entirely specified...? 2017-12-11T11:03:36Z schweers: or not inlining the recursive function itself but defining a wrapper function which can be declared inline? 2017-12-11T11:03:52Z Shinmera: Then what's the point of inlining at all? 2017-12-11T11:03:52Z Younder: schweers, notinline? 2017-12-11T11:04:09Z Younder: New one to me 2017-12-11T11:04:11Z schweers: ugh, you’re right that would not have solved my problem 2017-12-11T11:04:21Z schweers: nevermind, was a brainfart 2017-12-11T11:05:20Z Younder: As they say Lisp is not old it just smells fully ;) 2017-12-11T11:07:01Z yeticry quit (Ping timeout: 240 seconds) 2017-12-11T11:08:16Z pjb: schweers: there's nothing wrong, but it should be equivalent to (defun … (labels ((do-not-name-it-helper-or-anything-like-that …)) …)) 2017-12-11T11:08:49Z pjb: schweers: the only downside of having defun not as a toplevel form, is that the compiler cannot make note that a function is defined, so it may issue undefined function warnings. 2017-12-11T11:09:22Z schweers: okay, that makes sense 2017-12-11T11:09:27Z Kundry_Wag joined #lisp 2017-12-11T11:09:51Z pjb: schweers: the only case where you would need to put defun in a non-toplevel labels, would be if your local functions would have to be used by several defun. Then you have to ask yourself seriously why not making them global functions. 2017-12-11T11:09:58Z Achylles joined #lisp 2017-12-11T11:10:29Z Younder: pjb, I have found myself using flet in macros 2017-12-11T11:10:32Z markong joined #lisp 2017-12-11T11:10:47Z pjb: Younder: Of course. 2017-12-11T11:11:28Z schweers: pjb: that is exactly the situation I had. I’ve now declared the helper functions to inlined. I’m not entirely happy with the notes yet, but I’ll do some more testing etc before I continue banging at it. 2017-12-11T11:12:04Z schweers: I’m off for lunch, thanks for the tips! 2017-12-11T11:12:13Z pjb: You know that optimizing type declarations and notes, will give you only 1 or 2% improvement. 2017-12-11T11:12:24Z pjb: If you want to optimize things, design a better algorithm and data structure! 2017-12-11T11:14:04Z loke: pjb: actually, not always. My implementation of the simplex noise algorithm ended up 10× or so faster by adding delcarations. 2017-12-11T11:14:07Z Kundry_Wag quit (Ping timeout: 248 seconds) 2017-12-11T11:14:17Z Younder: pjb: the optimization structure for Lisp is hard to understand. Perhaps you could come up with some simple rules. Like don't cons up. 2017-12-11T11:16:06Z loke: pjb: Here's the code. You can remove the declarations to see the difference: 2017-12-11T11:16:07Z loke: https://gist.github.com/lokedhs/2cc6ca22c8492aa8d471f24ada434e78 2017-12-11T11:16:13Z Younder: I seem to remember 40x penalty for using temporary list's in calculations. Estimates of cource 2017-12-11T11:18:58Z damke joined #lisp 2017-12-11T11:20:21Z damke_ quit (Ping timeout: 240 seconds) 2017-12-11T11:22:56Z tfb: I think the first-order story about declarations is: it matters for float-intensive code 2017-12-11T11:23:25Z yeticry joined #lisp 2017-12-11T11:23:48Z eSVG quit (Ping timeout: 246 seconds) 2017-12-11T11:25:34Z Younder: tfb, For float intensive, you need AFX or better still GPU. So tap into something like LAPACK 2017-12-11T11:27:03Z tfb: Younder: you don't (and you can trust me on this: I run float-intensive code on thousands of cores) 2017-12-11T11:28:29Z yeticry quit (Ping timeout: 276 seconds) 2017-12-11T11:28:38Z Younder: Well I have two Titan blacks only. And 10 Pi2's is my cluster. 2017-12-11T11:29:05Z m00natic joined #lisp 2017-12-11T11:29:35Z Younder: So my experience may be limeted., But feel free to share experiences :) 2017-12-11T11:30:24Z Younder: Afterall it was all ever a makeshift approximation. 2017-12-11T11:32:34Z Younder: A test for MPI, CUDA and OpemML. And of late Open ACC. 2017-12-11T11:32:57Z knobo quit (Ping timeout: 240 seconds) 2017-12-11T11:33:34Z eSVG joined #lisp 2017-12-11T11:34:48Z Younder: tfb: Are you telling me you are running computing intensive applications on a cluster entirely in Lisp? 2017-12-11T11:38:06Z tfb: Younder: No, sorry. All our HPC code is fortran. What I meant was that if you have float code which falls back to generic arithmetic that's often a factor of ~100, so if the system should be spending 1% of its time in float code, it's now spending half of it. So making sure float code doesn't fall back to generic arithmetic really matters if there is even a very small amount of it 2017-12-11T11:41:07Z Younder: Well I have tried a simulation of 65000 star galaxy similar to the Magellan cloud on my Titans 2017-12-11T11:41:59Z Younder: It's bit but has a self similar structure. 2017-12-11T11:43:14Z Younder: I studied physics in my time, and have a particular fondness for celestial mechanics. 2017-12-11T11:43:45Z Younder: The old Newtonian type 2017-12-11T11:44:46Z Younder: (The Mag doesn't seem to have any major Black holes) 2017-12-11T11:46:21Z Younder: That said It wasn't written in lisp, but on a CGI compiler in C. 2017-12-11T11:49:49Z mingus quit (Remote host closed the connection) 2017-12-11T11:57:43Z Younder: My PI2's were spendt for a simulation of telephone central system. MPI and C again. 2017-12-11T11:58:03Z Younder: Though I expect Lisp could have been used here. 2017-12-11T11:59:40Z Younder: Cool though this is I have moved mostly into embedded comping these days. Designing a drone which is totally anonymous. 2017-12-11T12:01:15Z Younder: 6 cameras, a NVidea TX1 and more C. Though RUST is coming up as a solid alternative. 2017-12-11T12:04:48Z Younder: A circuit boar with a Xilix FPGA implementation of G5 with a Digital Devices MEMS antenna on a M2 port with PCIe that will fit on a credit card is the current challenge. 2017-12-11T12:06:08Z Younder: But feel free to ignore me as I make to many grammatical and syntactical mistakes, being dyslexic 2017-12-11T12:09:27Z lrvy joined #lisp 2017-12-11T12:09:27Z mingus joined #lisp 2017-12-11T12:10:33Z mooshmoosh joined #lisp 2017-12-11T12:11:45Z Tobbi joined #lisp 2017-12-11T12:13:12Z schweers quit (Remote host closed the connection) 2017-12-11T12:21:21Z Amplituhedron quit (Ping timeout: 248 seconds) 2017-12-11T12:21:52Z yeticry joined #lisp 2017-12-11T12:22:51Z yeticry quit (Read error: Connection reset by peer) 2017-12-11T12:23:44Z attila_lendvai joined #lisp 2017-12-11T12:23:45Z knobo joined #lisp 2017-12-11T12:25:01Z DeadTrickster_ quit (Remote host closed the connection) 2017-12-11T12:26:36Z Zhivago: Ok. 2017-12-11T12:27:04Z Amplituhedron joined #lisp 2017-12-11T12:28:25Z yeticry joined #lisp 2017-12-11T12:29:04Z lrvy quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-11T12:29:57Z eSVG quit (Ping timeout: 246 seconds) 2017-12-11T12:34:41Z lrvy joined #lisp 2017-12-11T12:37:15Z Xach: ASDF 3.3.1 reports fatal circular dependencies that ASDF 3.1.5 does not. I wonder if it's in error or something else. 2017-12-11T12:37:33Z Xach: One example is simple-date-postgres-glue and another is tinaa-and-cl-markdown. 2017-12-11T12:38:06Z Xach: hmm, the latter has asdf-system-connections, which is I think a pit of trouble these days. 2017-12-11T12:38:57Z Xach: hmm, both non-primary systems 2017-12-11T12:41:08Z JuanDaugherty joined #lisp 2017-12-11T12:42:01Z Achylles quit (Quit: Leaving) 2017-12-11T12:44:21Z vap1 quit (Quit: Leaving) 2017-12-11T12:44:34Z lrvy quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-11T12:46:03Z yeticry quit (Read error: Connection reset by peer) 2017-12-11T12:46:33Z Xach: dim: are you in any position to investigate and perhaps propose changes to simple-date to make things work again? 2017-12-11T12:47:18Z Xach: dim: I think the whole glue thing might be a candidate for removal and simplification at the expense of a little more cross-dependency. 2017-12-11T12:47:32Z MrBismuth quit (Read error: Connection reset by peer) 2017-12-11T12:52:14Z Shinmera: Xach: I've been having even more issues with ASDF 3.3: https://github.com/Shinmera/qtools/issues/25 2017-12-11T12:52:35Z Shinmera: Something about invoking QL or ASDF while it's trying to load another system is messing it up 2017-12-11T12:52:39Z yeticry joined #lisp 2017-12-11T12:52:51Z Shinmera: Haven't had time to investigate yet, but this was never a problem until the recent ASDF updates in SBCL. 2017-12-11T12:52:54Z Amplituhedron quit (Remote host closed the connection) 2017-12-11T12:52:54Z Xach: ugh 2017-12-11T12:54:00Z cess11 joined #lisp 2017-12-11T12:56:53Z cess11_ joined #lisp 2017-12-11T12:58:41Z Younder quit (Ping timeout: 240 seconds) 2017-12-11T12:58:58Z rumbler31 joined #lisp 2017-12-11T13:00:01Z knobo quit (Ping timeout: 240 seconds) 2017-12-11T13:00:31Z drcode_ quit (Ping timeout: 260 seconds) 2017-12-11T13:02:09Z knobo joined #lisp 2017-12-11T13:02:12Z dim: Xach: I could see about devoting some time to it... my gut feeling is that we have bugs in ASDF tho 2017-12-11T13:02:21Z jfb4 quit (Ping timeout: 240 seconds) 2017-12-11T13:02:35Z dim: also, who's maintaining postmodern these days? 2017-12-11T13:03:01Z rumbler31 quit (Ping timeout: 240 seconds) 2017-12-11T13:03:47Z dim: looks like it would be Cyrus Harmon (slyrus on github) 2017-12-11T13:03:57Z Xach: dim: marijn merges PRs but there is no primary development 2017-12-11T13:04:42Z jfb4 joined #lisp 2017-12-11T13:04:52Z dim: I'm not sure I've learnt enough CL to see about improving Postmodern yet... last I tried I sure wasn't there yet ;-) 2017-12-11T13:05:08Z FreeBirdLjj joined #lisp 2017-12-11T13:05:25Z Xach: I think it's postmodern's system of conditionally loading something via asdf 2017-12-11T13:05:46Z Xach: And I think it could be made unconditional 2017-12-11T13:05:58Z Xach: ASDF problems make my skin crawl and this month is bad. 2017-12-11T13:06:26Z dim: do you have to upgrade asdf? 2017-12-11T13:06:43Z Xach: It is now part of sbcl 1.4.2. 2017-12-11T13:06:57Z Xach: I feel awful about giving neutral feedback about its impact. I didn't test properly or something. 2017-12-11T13:06:59Z Younder joined #lisp 2017-12-11T13:07:20Z dim: well that happens 2017-12-11T13:07:41Z dim: the only way to never make a mistake is to never do anything, as my mother would say ;-) 2017-12-11T13:08:11Z Zhivago: Which would be a mistake, so you're screwed either way. 2017-12-11T13:08:28Z dim: also, well, ASDF is known to be buggy, where QL mostly just works 2017-12-11T13:08:40Z Xach: a function of its relative simplicity, i think. 2017-12-11T13:08:53Z dim: can SBCL release 1.4.3 with the previous ASDF and remove 1.4.2 from mirrors? 2017-12-11T13:09:03Z rgrau joined #lisp 2017-12-11T13:09:40Z Xach: perhaps the former but the latter seems outlandish to me 2017-12-11T13:09:51Z Xach: scymtym, any thoughts on the matter? 2017-12-11T13:10:21Z Kundry_Wag joined #lisp 2017-12-11T13:10:26Z FreeBirdLjj quit (Ping timeout: 260 seconds) 2017-12-11T13:12:33Z nickb joined #lisp 2017-12-11T13:13:21Z dim: as a second step I would question the release process of asdf, really 2017-12-11T13:14:42Z nickb: Hi. I'm trying to install sqlite3 on a Windows system using quicklisp. I know nothing about lisp, just need to build an application using it. I get an error: https://gist.github.com/anonymous/9d632dff0f9e26e84ba91458d3ff5eea (doesn't tell me much). Any advice? 2017-12-11T13:14:45Z Kundry_Wag quit (Ping timeout: 258 seconds) 2017-12-11T13:16:10Z tfb: Younder: rust looks like an interesting thing. But fortran is so embedded for the stuff we do I am sure it will live for ever, unfortunately 2017-12-11T13:17:03Z pjb: nickb: you would have to learn how the sqlite3 library is named on MS-Windows, and to know where it's stored, to configure cffi to find it there. 2017-12-11T13:17:27Z pjb: nickb: configure cffi:*FOREIGN-LIBRARY-DIRECTORIES* 2017-12-11T13:17:50Z pjb: (check it's value for the default paths searched). 2017-12-11T13:18:11Z pjb: nickb: and of course, you need to have installed sqlite3 on MS-Windows first. 2017-12-11T13:18:29Z nickb: the latter I have done already :) 2017-12-11T13:18:57Z nickb: first 2 require at least some basic knowledge on how lisp works which I'm lacking as of now. Point me towards something to read please 2017-12-11T13:19:25Z pjb: https://common-lisp.net/project/cffi/manual/cffi-manual.html 2017-12-11T13:20:17Z nickb: Thank you very much. 2017-12-11T13:20:48Z mooshmoosh quit (Ping timeout: 268 seconds) 2017-12-11T13:20:54Z EvW1 joined #lisp 2017-12-11T13:21:35Z krasnal quit (Ping timeout: 276 seconds) 2017-12-11T13:22:34Z Amplituhedron joined #lisp 2017-12-11T13:24:17Z murii quit (Ping timeout: 255 seconds) 2017-12-11T13:25:50Z xificurC quit (Remote host closed the connection) 2017-12-11T13:28:50Z eSVG joined #lisp 2017-12-11T13:30:16Z turkja quit (Ping timeout: 260 seconds) 2017-12-11T13:32:05Z joga quit (Changing host) 2017-12-11T13:32:05Z joga joined #lisp 2017-12-11T13:32:30Z rgrau quit (Read error: Connection reset by peer) 2017-12-11T13:33:03Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-11T13:35:56Z hajovonta: hi 2017-12-11T13:39:59Z knobo: When I do (select-dao 'some-postmodern-class) columns with null value is returned as :null. Can my slots be unbound in stead? 2017-12-11T13:40:39Z knobo: does postmodern have a feature like that? 2017-12-11T13:44:11Z turkja joined #lisp 2017-12-11T13:46:41Z phoe: knobo: grepping the manual tells me not. You can try some manual processing of the returned daos if you really want it, as in, loop for all slot-values if :null then slot-makunbound. 2017-12-11T13:46:59Z Amplituhedron quit (Ping timeout: 255 seconds) 2017-12-11T13:46:59Z phoe: But this may have consequences I am not yet aware of. 2017-12-11T13:48:06Z Tobbi joined #lisp 2017-12-11T13:48:08Z nickb: pjb: CFFI should be able to find my sqlite3 libs. The only lib (sqlite3.dll) is in PATH, shouldn't that be enough? 2017-12-11T13:50:07Z Shinmera: nickb: Does it have any dependencies that are unfulfilled? 2017-12-11T13:50:24Z Shinmera: Windows (unfortunately) just reports the library as missing if its dependencies can't be found, even if the library itself can be. 2017-12-11T13:50:27Z knobo quit (Ping timeout: 240 seconds) 2017-12-11T13:50:30Z nickb: I can't tell; the only error I get when trying to install "sqlite3" is that the name is not resolved 2017-12-11T13:50:37Z nickb: ah 2017-12-11T13:50:47Z nickb: so it requires Alexandria and Babel 2017-12-11T13:50:55Z Shinmera: No that's not what I meant 2017-12-11T13:51:02Z Shinmera: I meant the dependencies of the dll. 2017-12-11T13:51:08Z rgrau joined #lisp 2017-12-11T13:51:20Z nickb: yeah dll is fine 2017-12-11T13:51:32Z nickb: it only needs KERNEL32.dll and msvcrt.dll 2017-12-11T13:51:40Z Shinmera: Okey. 2017-12-11T13:52:18Z nickb: so.. How can I learn what is the library name for Windows? 2017-12-11T13:54:55Z phoe: nickb: dependency walker 2017-12-11T13:55:05Z phoe: download it, use it, enjoy it 2017-12-11T13:55:06Z nickb: uhm.. Thats for windows 2017-12-11T13:55:13Z phoe: oh wait 2017-12-11T13:55:20Z phoe: what is the library name for windows? 2017-12-11T13:55:29Z phoe: check inside the sqlite CL package 2017-12-11T13:55:52Z nickb: I can't install it either 2017-12-11T13:55:58Z nickb: (at least with quicklisp) 2017-12-11T13:56:09Z phoe: https://github.com/dmitryvk/cl-sqlite/blob/master/sqlite-ffi.lisp#L37 2017-12-11T13:56:19Z phoe: looks like sqlite3.dll will match 2017-12-11T13:58:48Z nickb: > WARNING: the Windows port is fragile; Maybe thats it and I should give up :) 2017-12-11T13:59:03Z Shinmera: That message is not really any more applicable 2017-12-11T14:00:36Z jfb4 quit (Ping timeout: 260 seconds) 2017-12-11T14:00:38Z nickb: Ok when I get an error that the library is missing I have an option to enter alternative name instead. So I enter: ("sqlite3-lib") and get and error: Unable to load foreign library (SQLITE3-LIB-625). Am I doing this completely wrong? 2017-12-11T14:01:42Z Murii joined #lisp 2017-12-11T14:02:31Z jfb4 joined #lisp 2017-12-11T14:04:02Z knobo joined #lisp 2017-12-11T14:05:59Z grumble quit (Remote host closed the connection) 2017-12-11T14:11:22Z brendyn quit (Ping timeout: 268 seconds) 2017-12-11T14:11:26Z pjb: nickb: you may also directly load the library. 2017-12-11T14:11:39Z pjb: At least to test that the ffi part works. 2017-12-11T14:11:54Z nickb: How would I go about it? With ql:quickload? 2017-12-11T14:12:38Z pjb: (cffi:LOAD-FOREIGN-LIBRARY #P"c:\…\sqlite3.dll") 2017-12-11T14:13:00Z grumble joined #lisp 2017-12-11T14:13:14Z pjb: well, \\ not \ 2017-12-11T14:13:21Z fikka quit (Ping timeout: 240 seconds) 2017-12-11T14:13:38Z pjb: You should switch to Linux or macOS… 2017-12-11T14:14:24Z nickb: The whole point is to build pgloader _for_ Windows. Doubt I can do that in macOS or Linux :( 2017-12-11T14:15:20Z nickb: no luck 2017-12-11T14:16:01Z nickb: https://gist.github.com/anonymous/86260013ea5acab933ea9ed025f348e5 (this path is what MSYS2 understands; I've tried with different formats as well) 2017-12-11T14:20:08Z pjb: You cumulate the difficulties: Using MS-Windows, Using sbcl (with his uninformative error messages)… 2017-12-11T14:22:32Z ``Erik_ joined #lisp 2017-12-11T14:22:35Z wigust joined #lisp 2017-12-11T14:23:04Z didi joined #lisp 2017-12-11T14:23:35Z ``Erik quit (Ping timeout: 240 seconds) 2017-12-11T14:24:41Z didi: I am certain I asked this before, but I can't remember the answer, sorry: Why doesn't (let ((x 42)) (loop for x = x then (+ x 1))) work? i.e. SBCL complains that NIL isn't of type NUMBER. I suspect the second X from the LOOP form isn't bound to 42. 2017-12-11T14:26:20Z fikka joined #lisp 2017-12-11T14:26:24Z LiamH joined #lisp 2017-12-11T14:33:11Z lieven: the x of 'for x' already gets defined in the loop prologue and shadows the outer x of the let 2017-12-11T14:34:24Z didi: lieven: oic. I was expecting the same behavior of DO, I guess, as in the second X gets the value of the environment. 2017-12-11T14:36:43Z cromachina quit (Read error: Connection reset by peer) 2017-12-11T14:41:28Z oleo joined #lisp 2017-12-11T14:42:12Z yeticry quit (Ping timeout: 268 seconds) 2017-12-11T14:42:26Z lisp_guest joined #lisp 2017-12-11T14:42:45Z yeticry joined #lisp 2017-12-11T14:43:56Z oleo quit (Remote host closed the connection) 2017-12-11T14:44:31Z lieven: yeah I think they could have gone that way. No idea why they didn't. 2017-12-11T14:45:18Z oleo joined #lisp 2017-12-11T14:45:53Z fikka quit (Ping timeout: 248 seconds) 2017-12-11T14:46:21Z tfb: didi: I suspect strongly that it's undefined which happens 2017-12-11T14:46:26Z dddddd joined #lisp 2017-12-11T14:46:54Z tfb: (both implementations I have easy access to 'work' with (let ((x 1)) (loop for x from x below ... do ...) 2017-12-11T14:48:15Z whoman quit (Read error: Connection reset by peer) 2017-12-11T14:48:22Z ebrasca joined #lisp 2017-12-11T14:48:46Z mson joined #lisp 2017-12-11T14:48:51Z ebrasca: Is hunchensocket alive? 2017-12-11T14:49:09Z fikka joined #lisp 2017-12-11T14:49:39Z whoman joined #lisp 2017-12-11T14:50:48Z SaganMan joined #lisp 2017-12-11T14:50:50Z knobo quit (Ping timeout: 268 seconds) 2017-12-11T14:51:41Z jackdaniel: If software starts to live, it's time to run 2017-12-11T14:52:48Z lieven: there's an exception in 6.1.1.4 made for loop-as-then that is not made for the others so testing with from x might not be relevant 2017-12-11T14:53:02Z wxie joined #lisp 2017-12-11T14:54:07Z ebrasca: Is hunchensocket recomended for WebSockets and Hunchentoot? 2017-12-11T14:55:51Z lieven: http://clhs.lisp.se/Issues/iss222_w.htm deals with this example 2017-12-11T14:56:24Z jackdaniel: we use it in production and works fine, using it is a sane choice 2017-12-11T14:56:32Z warweasle joined #lisp 2017-12-11T14:56:34Z whoman: ebrasca, i am also going to use it 2017-12-11T14:56:58Z didi: lieven: Ah, cool. 2017-12-11T14:57:26Z lieven: I just don't know why they treated as-equals-then differently 2017-12-11T14:59:27Z nika_ joined #lisp 2017-12-11T15:01:01Z lieven: of course, 'for x = ' is a shorthand for 'for x = then ' and it will evaluate for each step of the iteration 2017-12-11T15:01:18Z lieven: so it would be a bit awkward to have it refer to another binding for the first step 2017-12-11T15:02:54Z didi: Heh, I thought from `for x = ' was evaled only once. 2017-12-11T15:03:25Z lieven: that would be `with x = ' 2017-12-11T15:03:35Z didi nods 2017-12-11T15:04:18Z wxie quit (Remote host closed the connection) 2017-12-11T15:05:11Z tfb: lieven: oh, yes, for-as-equals-then is really weird in the spec 2017-12-11T15:06:41Z rippa joined #lisp 2017-12-11T15:07:27Z fikka quit (Ping timeout: 240 seconds) 2017-12-11T15:07:40Z tfb: lieven: but your argument about '(loop for x = ... do ...)' smells right 2017-12-11T15:10:23Z jdz: ebrasca: hunchensocket works for me. 2017-12-11T15:11:07Z Kundry_Wag joined #lisp 2017-12-11T15:11:18Z dmiles quit (Read error: Connection reset by peer) 2017-12-11T15:11:22Z jdz: Although I'm not sure it's feasible for internet-facing apps. 2017-12-11T15:12:00Z nickb left #lisp 2017-12-11T15:15:07Z xrash joined #lisp 2017-12-11T15:15:12Z Kundry_Wag quit (Ping timeout: 240 seconds) 2017-12-11T15:15:17Z beach quit (Disconnected by services) 2017-12-11T15:15:45Z beach joined #lisp 2017-12-11T15:15:46Z himmAllRight joined #lisp 2017-12-11T15:16:00Z beach: Good evening everyone! 2017-12-11T15:16:21Z dmiles joined #lisp 2017-12-11T15:18:50Z warweasle: beach: Yo 2017-12-11T15:18:52Z wigust_ joined #lisp 2017-12-11T15:19:07Z FreeBirdLjj joined #lisp 2017-12-11T15:21:21Z wigust quit (Ping timeout: 240 seconds) 2017-12-11T15:22:02Z attila_lendvai quit (Ping timeout: 260 seconds) 2017-12-11T15:23:07Z rumbler31 joined #lisp 2017-12-11T15:23:37Z pjb: didi: basically, for is not a binding keyword. loop creates all the variables it need before. 2017-12-11T15:24:17Z pjb: didi: this is also what makes the variable available in the loop epilog in practice (even if using them is not well defined). 2017-12-11T15:26:06Z Ober: is there a function to convert octet vectors to strings? 2017-12-11T15:26:14Z didi: pjb: Thank you. 2017-12-11T15:26:46Z warweasle quit (Read error: Connection reset by peer) 2017-12-11T15:26:53Z pjb: Ober: several. 2017-12-11T15:27:14Z warweasle joined #lisp 2017-12-11T15:27:23Z Ober: ok babel it is 2017-12-11T15:27:38Z pjb: Ober: (defun octet-vector-to-string (os) (prin1-to-string os)) (octet-vector-to-string (coerce #(1 2 3) '(vector (unsigned-byte 8)))) #| --> "#(1 2 3)" |# 2017-12-11T15:27:43Z jdz: Ober: if it's not unicode then plain (map 'string #'code-char input) works just fine. 2017-12-11T15:28:05Z beach: Ober: No, because it is not clear what you would like for such a conversion to do. 2017-12-11T15:28:06Z pjb: jdz: no guarantee that code-char returns a character. 2017-12-11T15:28:12Z pjb: jdz: code-char returns a predicate (char-p) 2017-12-11T15:28:50Z pjb: jdz: so it should be at the very least: (map 'string (lambda (x) (or (code-char x) #\?)) codes) 2017-12-11T15:29:49Z Ober: convert this #(159 31 191 95 191) to "there". leveldb does encoding to vector, but does not do the reverse on fetching 2017-12-11T15:29:49Z Ober: 2017-12-11T15:30:03Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-11T15:30:11Z LiamH quit (Read error: Connection reset by peer) 2017-12-11T15:30:43Z pjb: Oh! (defun convert (x) (when (equalp x #(159 31 191 95 191)) "there")) (convert #(159 31 191 95 191)) #| --> "there" |# works. 2017-12-11T15:31:37Z Bike is now known as Bicyclidine 2017-12-11T15:31:38Z _death: Ober: I use babel:string-to-octets/octets-to-string for that 2017-12-11T15:31:43Z epony quit (Read error: Connection reset by peer) 2017-12-11T15:32:09Z epony joined #lisp 2017-12-11T15:32:13Z Ober: _death: yeah as i mentioned above, i'm using that. bombs on utf8 stuff though. 2017-12-11T15:32:58Z beach: Ober: But you never mentioned that your vector contains octets representing UTF-8-encoded characters. 2017-12-11T15:33:07Z warweasle is now known as warweasle_afk 2017-12-11T15:33:10Z _death: Ober: why would it bomb? 2017-12-11T15:33:37Z jdz: pjb: for which non-unicode character code do you get NIL from CODE-CHAR? 2017-12-11T15:33:51Z Ober: because that is how it is written. Illegal :UTF-8 character starting at position 0. [Condition of type BABEL-ENCODINGS:INVALID-UTF8-CONTINUATION-BYTE] 2017-12-11T15:33:51Z Ober: 2017-12-11T15:33:56Z jdz: I guess there are some such characters in clisp... 2017-12-11T15:34:29Z _death: Ober: utf-8 encoded "there" => #(116 104 101 114 101) so your input is weird 2017-12-11T15:34:30Z hexfive joined #lisp 2017-12-11T15:35:28Z Ober: nothing crazy. (leveldb:put mydb "hi" "there") 2017-12-11T15:35:52Z pjb: jdz: in an implementation working with US-ASCII, any code >127 could return NIL. 2017-12-11T15:36:11Z _death: Ober: are you using my leveldb bindings or other? 2017-12-11T15:36:43Z Ober: hey pjb, have not see you at the godemiche meetup lately. good to see you still are a member though. 2017-12-11T15:37:19Z _death: (leveldb:with-open-db (db "/tmp/foo") (leveldb:puts db "hi" "there") (leveldb:gets db "hi")) => "there" 2017-12-11T15:39:00Z beach quit (Remote host closed the connection) 2017-12-11T15:39:12Z beach joined #lisp 2017-12-11T15:39:34Z Ober: _death: yes, the same. 2017-12-11T15:39:44Z flamebeard quit (Quit: Leaving) 2017-12-11T15:40:00Z Ober: will try with that. 2017-12-11T15:40:02Z Ober: thanks 2017-12-11T15:40:58Z Ober: ahh puts/gets vs put/get 2017-12-11T15:41:02Z LiamH joined #lisp 2017-12-11T15:41:25Z Ober: (leveldb::octets-to-string (leveldb:get mydb "hi")) was causing the utf8 error btw 2017-12-11T15:42:07Z Ober: thanks _death for the help, and the package 2017-12-11T15:42:20Z _death: Ober: put and get take octet vectors, not strings 2017-12-11T15:42:50Z Ober: gotcha. makes more sense. 2017-12-11T15:43:14Z _death: Ober: I think I wrote this while working on some bitcoin code some years ago.. the blockchain was several gigs so didn't work with strings 2017-12-11T15:43:41Z beach quit (Remote host closed the connection) 2017-12-11T15:43:56Z beach joined #lisp 2017-12-11T15:44:09Z pjb: Ober: now, look what you've done: you ask a meaningless question, I asked for clarification, you further added overly specific specifications, I provided a faithful implementation, and instead of starting to think, you started to insult. 2017-12-11T15:44:28Z Jesin joined #lisp 2017-12-11T15:44:45Z warweasle_afk is now known as warweasle 2017-12-11T15:46:25Z fikka joined #lisp 2017-12-11T15:47:31Z eSVG quit (Ping timeout: 240 seconds) 2017-12-11T15:47:42Z EvW1 quit (Ping timeout: 246 seconds) 2017-12-11T15:50:14Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-11T15:50:26Z ebrasca: whoman , jdz: ok 2017-12-11T15:50:52Z FreeBirdLjj joined #lisp 2017-12-11T15:53:03Z voidlily quit (Remote host closed the connection) 2017-12-11T15:53:53Z fikka quit (Ping timeout: 255 seconds) 2017-12-11T15:54:57Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-12-11T15:55:21Z voidlily joined #lisp 2017-12-11T15:55:54Z dec0n quit (Read error: Connection reset by peer) 2017-12-11T15:58:33Z Jesin quit (Quit: Leaving) 2017-12-11T15:59:01Z Ober: _death: how did you serialize arbitrary objects into vectors for storing in leveldb? 2017-12-11T16:00:40Z pjb: implementing arbitrary methods. 2017-12-11T16:03:01Z lisp_guest quit (Ping timeout: 250 seconds) 2017-12-11T16:10:39Z kozy quit (Quit: No Ping reply in 180 seconds.) 2017-12-11T16:11:48Z kozy joined #lisp 2017-12-11T16:12:18Z _death: Ober: they weren't arbitrary objects.. I suppose if you want that you can use a serialization library like cl-store 2017-12-11T16:13:02Z k-stz joined #lisp 2017-12-11T16:13:56Z Bike joined #lisp 2017-12-11T16:13:58Z Ober: yeah with a stream backend of a with-open-vector sort of thing, is what I was thinking 2017-12-11T16:14:00Z _death: Ober: then you miss some leveldb functionality, however.. for example the fact that keys are ordered 2017-12-11T16:16:56Z Ober: right. just lookign at the right hand size, values for objects tm 2017-12-11T16:16:57Z Ober: atm 2017-12-11T16:18:09Z Murii quit (Quit: WeeChat 1.4) 2017-12-11T16:19:41Z tokik quit (Ping timeout: 240 seconds) 2017-12-11T16:19:52Z Ober: just trying to pickle the list object into a vector for the value. 2017-12-11T16:20:32Z knobo joined #lisp 2017-12-11T16:20:57Z SuperJen joined #lisp 2017-12-11T16:23:01Z phoe: Ober: (coerce list 'vector) 2017-12-11T16:24:27Z fikka joined #lisp 2017-12-11T16:24:32Z Ober: yeah thanks. 2017-12-11T16:24:33Z JenElizabeth quit (Ping timeout: 248 seconds) 2017-12-11T16:25:21Z damke quit (Ping timeout: 240 seconds) 2017-12-11T16:25:21Z nullman quit (Ping timeout: 240 seconds) 2017-12-11T16:25:29Z Jesin joined #lisp 2017-12-11T16:25:47Z eudoxia joined #lisp 2017-12-11T16:26:00Z notzmv quit (Quit: WeeChat 2.0) 2017-12-11T16:27:36Z nullman joined #lisp 2017-12-11T16:27:47Z tokik joined #lisp 2017-12-11T16:29:54Z beach quit (Remote host closed the connection) 2017-12-11T16:30:07Z beach joined #lisp 2017-12-11T16:31:35Z fikka quit (Ping timeout: 240 seconds) 2017-12-11T16:34:04Z asarch joined #lisp 2017-12-11T16:35:56Z red-dot joined #lisp 2017-12-11T16:36:13Z megha213 joined #lisp 2017-12-11T16:37:05Z scymtym: Xach: are you asking specifically about going back to ASDF 3.1.5 for SBCL 1.4.3? 2017-12-11T16:37:40Z j0nd0e joined #lisp 2017-12-11T16:37:49Z zooey quit (Remote host closed the connection) 2017-12-11T16:38:06Z yeticry quit (Ping timeout: 260 seconds) 2017-12-11T16:38:34Z zooey joined #lisp 2017-12-11T16:39:50Z yeticry joined #lisp 2017-12-11T16:39:59Z fourier joined #lisp 2017-12-11T16:41:20Z damke joined #lisp 2017-12-11T16:43:35Z beach quit (Remote host closed the connection) 2017-12-11T16:43:50Z beach joined #lisp 2017-12-11T16:47:38Z damke quit (Ping timeout: 252 seconds) 2017-12-11T16:48:25Z hajovonta quit (Quit: hajovonta) 2017-12-11T16:48:41Z beach left #lisp 2017-12-11T16:50:24Z megha213 quit (Quit: Leaving) 2017-12-11T16:51:49Z k-stz quit (Remote host closed the connection) 2017-12-11T16:52:45Z nhandler quit (Read error: Connection reset by peer) 2017-12-11T16:54:22Z phoe: why not 3.2.0.1? I found it to be stable enough 2017-12-11T16:55:16Z nhandler joined #lisp 2017-12-11T16:58:38Z Jen joined #lisp 2017-12-11T16:59:02Z Jen is now known as Guest86136 2017-12-11T16:59:02Z smurfrobot quit (Remote host closed the connection) 2017-12-11T16:59:08Z jfb4 quit (Ping timeout: 255 seconds) 2017-12-11T16:59:26Z drcode joined #lisp 2017-12-11T17:00:01Z fourier quit (Ping timeout: 240 seconds) 2017-12-11T17:00:51Z knobo quit (Ping timeout: 260 seconds) 2017-12-11T17:01:02Z jfb4 joined #lisp 2017-12-11T17:02:01Z SuperJen quit (Ping timeout: 260 seconds) 2017-12-11T17:02:27Z rgrau quit (Ping timeout: 240 seconds) 2017-12-11T17:04:17Z papachan joined #lisp 2017-12-11T17:04:43Z damke_ joined #lisp 2017-12-11T17:06:42Z cess11 quit (Quit: Lost terminal) 2017-12-11T17:12:00Z fikka joined #lisp 2017-12-11T17:12:05Z jfb4 quit (Ping timeout: 240 seconds) 2017-12-11T17:13:56Z jfb4 joined #lisp 2017-12-11T17:16:49Z fikka quit (Ping timeout: 248 seconds) 2017-12-11T17:17:57Z whoman quit (Ping timeout: 240 seconds) 2017-12-11T17:18:28Z mson quit (Quit: Connection closed for inactivity) 2017-12-11T17:18:39Z lagagain joined #lisp 2017-12-11T17:19:59Z jfb4 quit (Ping timeout: 248 seconds) 2017-12-11T17:21:43Z jfb4 joined #lisp 2017-12-11T17:22:47Z attila_lendvai joined #lisp 2017-12-11T17:22:47Z attila_lendvai quit (Changing host) 2017-12-11T17:22:47Z attila_lendvai joined #lisp 2017-12-11T17:25:57Z Karl_Dscc joined #lisp 2017-12-11T17:27:41Z damke_ quit (Ping timeout: 240 seconds) 2017-12-11T17:29:03Z damke_ joined #lisp 2017-12-11T17:31:33Z smurfrobot joined #lisp 2017-12-11T17:35:22Z anunnaki joined #lisp 2017-12-11T17:35:44Z cess11 joined #lisp 2017-12-11T17:36:56Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-11T17:38:11Z Fare: is there anything wrong with ASDF 3.3.1 ? 2017-12-11T17:39:09Z lisp_guest joined #lisp 2017-12-11T17:39:39Z fikka joined #lisp 2017-12-11T17:39:56Z varjag quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-12-11T17:40:43Z Fare: Xach: 3.3.1 tracks staging dependencies between systems. Its granularity is the file, not the individual top-level expression. Therefore if there are multiple stages in a sin 2017-12-11T17:41:03Z Fare: gle file, that is now considered an error. 2017-12-11T17:42:09Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-11T17:43:23Z dim: why did it work before, and why does it not work now? 2017-12-11T17:44:33Z ineiros quit (Ping timeout: 248 seconds) 2017-12-11T17:45:00Z ineiros joined #lisp 2017-12-11T17:45:46Z hhdave quit (Ping timeout: 258 seconds) 2017-12-11T17:51:24Z beach joined #lisp 2017-12-11T17:52:35Z smurfrobot quit (Remote host closed the connection) 2017-12-11T17:52:46Z Fare: using load-system within perform is a big no-no 2017-12-11T17:56:20Z gaurav__ joined #lisp 2017-12-11T17:59:50Z Fare: simple-date.asd has a completely bogus method at the end that is guaranteed to not do what the author intended and derail asdf 2017-12-11T18:00:08Z tcr quit (Ping timeout: 255 seconds) 2017-12-11T18:01:53Z didi: Converting (values) to nil as in (null (values)) => t is a defined behavior? I want to depend on it. 2017-12-11T18:02:43Z Zhivago: Yes. 2017-12-11T18:02:47Z didi: Eer, I don't want to depend on it anymore, but the question still stands. ;-) 2017-12-11T18:02:50Z didi: Zhivago: Thank you. 2017-12-11T18:03:06Z eli joined #lisp 2017-12-11T18:03:07Z eli quit (Changing host) 2017-12-11T18:03:07Z eli joined #lisp 2017-12-11T18:03:40Z Fare: looks like a poor bad reinvention of asdf-system-connections, too 2017-12-11T18:03:56Z damke joined #lisp 2017-12-11T18:05:36Z m00natic quit (Remote host closed the connection) 2017-12-11T18:06:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-11T18:06:09Z Posterdati: hi 2017-12-11T18:06:19Z BitPuffin|osx quit (Ping timeout: 268 seconds) 2017-12-11T18:06:26Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-12-11T18:06:46Z quazimodo quit (Ping timeout: 260 seconds) 2017-12-11T18:07:00Z Posterdati: please how can I determine the integer-length of an (unsigned-byte *) array? Thanks 2017-12-11T18:07:32Z turkja quit (Ping timeout: 255 seconds) 2017-12-11T18:09:35Z fikka quit (Ping timeout: 255 seconds) 2017-12-11T18:10:37Z rm8 joined #lisp 2017-12-11T18:11:41Z pjb: Posterdati: that doesn't make sense. integer-length works on integers, not on arrays. 2017-12-11T18:12:18Z pjb: You could compute: (reduce '+ (make-array (reduce '* (array-dimensions array) :displaced-to array) :key 'integer-length)) 2017-12-11T18:12:26Z Posterdati: yes I need element size 2017-12-11T18:12:29Z pjb: but I fail to fathom what use you could have of it. 2017-12-11T18:13:02Z pjb: (and (subtypep '(unsigned-byte *) '(integer 0)) (subtypep '(integer 0) '(unsigned-byte *))) #| --> t ; t |# 2017-12-11T18:13:27Z pjb: and obviously, the maximum integer-length for (integer 0) is ∞ 2017-12-11T18:15:15Z shka joined #lisp 2017-12-11T18:15:21Z Posterdati: I need to convert an intger word to an array (unsigned-byte x) 2017-12-11T18:15:53Z Posterdati: for example 2017-12-11T18:15:55Z pjb: And why do you want to specify the element types? 2017-12-11T18:16:01Z pjb: Who cares about types? 2017-12-11T18:16:10Z Posterdati: #x55aa -> #(aa 55) 2017-12-11T18:16:12Z Posterdati: or 2017-12-11T18:16:36Z Posterdati: #55aa -> #(#x55 #xaa) 2017-12-11T18:16:46Z tomlukeywood joined #lisp 2017-12-11T18:16:59Z pjb: So what's the problem? 2017-12-11T18:17:48Z Xach: Fare: what is the fix? 2017-12-11T18:17:49Z Posterdati: and I need the array to word function too 2017-12-11T18:17:51Z aeth: Posterdati: If you mean you want to cut up an integer into smaller integers, ldb is one way. 2017-12-11T18:18:07Z pjb: Posterdati: parse error. 2017-12-11T18:18:09Z Posterdati: aeth: I know ldb and dpb 2017-12-11T18:18:43Z pjb: Posterdati: http://sprunge.us/JKUh 2017-12-11T18:19:24Z pjb: (coerce (decompose-base #x55aa 256) '(vector (unsigned-byte 8))) #| --> #(170 85) |# 2017-12-11T18:19:26Z Fare: Xach: for simple-date? I'm preparing a PR right now. 2017-12-11T18:19:37Z smurfrobot joined #lisp 2017-12-11T18:19:45Z pjb: (compose-base (coerce #(170 85) 'list) 256) #| --> 21930 |# 2017-12-11T18:20:07Z Posterdati: pjb: I do not need how, I need a way to find the element size (in bit) of an array element 2017-12-11T18:20:21Z aeth: Posterdati: (array-element-type (make-array 42 :element-type '(unsigned-byte 32))) => (UNSIGNED-BYTE 32) 2017-12-11T18:20:31Z quazimodo joined #lisp 2017-12-11T18:20:47Z pjb: Posterdati: like: (array-element-type (make-array 1 :element-type '(unsigned-byte 13))) #| --> (unsigned-byte 16) |# 2017-12-11T18:20:53Z Posterdati: aeth: yes, it is implementation dependant 2017-12-11T18:21:27Z pjb: Posterdati: the upgraded element type designator can be of any form, and if it's T how will you determine it? And again what for? 2017-12-11T18:21:31Z Xach: Fare: http://report.quicklisp.org/2017-12-11/failure-report.html has other recent issues. 2017-12-11T18:21:44Z pjb: Posterdati: It is better to use a parameter word-size (or base). 2017-12-11T18:21:52Z Fare: Xach: thanks 2017-12-11T18:21:58Z Posterdati: pjb: yes, but on sbcl it worked, not on ecl wich answer like (unsigned ext:byte8) 2017-12-11T18:22:07Z pjb: See what I mean? 2017-12-11T18:22:20Z Fare: what postmodern was guaranteed not to work, even with the old ASDF. 2017-12-11T18:22:34Z pjb: Posterdati: You're deep in implementation specific shit here. 2017-12-11T18:22:45Z Posterdati: pjb: yes, nevertheless I need a way to do that 2017-12-11T18:23:08Z pjb: (cond ((equalp type '(unsigned ext:byte8)) 8) …) 2017-12-11T18:23:20Z pjb: (cond #+ecl ((equalp type '(unsigned ext:byte8)) 8) #+ …) 2017-12-11T18:23:27Z pjb: Have fun. 2017-12-11T18:23:28Z aeth: Posterdati: The only way to make it not implementation dependent would be to (1) only support some implementations (and avoid clisp, you're doing something numerical) and (2) wrap the parts that don't work with implementation-specific things 2017-12-11T18:23:35Z Posterdati: pjb: I was thinking to apply integer-length to the maximum of array 2017-12-11T18:23:46Z Fare: it would only appear to work when you specifically loaded cl-postgres or simple-date as the toplevel request, and not otherwise. 2017-12-11T18:24:03Z mson joined #lisp 2017-12-11T18:24:08Z Fare: for any other user, it would have been a NOP 2017-12-11T18:24:15Z Bike: Posterdati: why do you want this? 2017-12-11T18:24:27Z Xach: Now it is a fatal error that breaks everything that uses postmodern. 2017-12-11T18:24:33Z varjag joined #lisp 2017-12-11T18:24:37Z Xach: Whether or not you rely on simple-date working properly with it. 2017-12-11T18:24:50Z pjb: Posterdati: Right. (reduce 'max (decompose-base 257 256) :key 'integer-length) #| --> 1 |# so you will try to decompose into base 1? 2017-12-11T18:24:55Z Fare: Repairing the .asd files. 2017-12-11T18:25:27Z ``Erik_ quit (Ping timeout: 240 seconds) 2017-12-11T18:26:07Z pjb: Posterdati: 101 can be a representation in any base! Perhaps it represents (compose-base '(1 0 1) 1000000) #| --> 1000000000001 |# ! 2017-12-11T18:27:13Z damke_ joined #lisp 2017-12-11T18:28:29Z j0nd0e quit (Ping timeout: 255 seconds) 2017-12-11T18:28:59Z pjb: Posterdati: remember, there's always *print-base* and *read-base*! 2017-12-11T18:29:19Z ``Erik joined #lisp 2017-12-11T18:29:41Z damke quit (Ping timeout: 240 seconds) 2017-12-11T18:32:07Z pjb: Posterdati: now, you could use a representation where the first slot of the vector would contain the maximum digit. 2017-12-11T18:32:21Z Younder quit (Quit: Leaving) 2017-12-11T18:34:04Z pjb: (compose-base (subseq representation 1) (1+ (aref representation 0))) (concatenate 'vector (vector (1- base)) (decompose-base word base)) 2017-12-11T18:34:07Z pjb: (let ((representation (let ((base 256) (word #x55aa)) (concatenate 'vector (vector (1- base)) (decompose-base word base))))) (compose-base (subseq representation 1) (1+ (aref representation 0)))) #| --> 21930 |# 2017-12-11T18:34:15Z quazimodo quit (Ping timeout: 250 seconds) 2017-12-11T18:34:49Z smurfrobot quit (Remote host closed the connection) 2017-12-11T18:35:10Z pjb: Posterdati: but obviously, it's not that good a representation because it's O(n) to wrap and unwrap. It would be better to use a structure with two fields. 2017-12-11T18:35:34Z pjb: Posterdati: but again, this is still silly, because in general you work only with one base, so you just keep it in a global variable. 2017-12-11T18:35:59Z fikka joined #lisp 2017-12-11T18:36:21Z quazimodo joined #lisp 2017-12-11T18:41:35Z jfb4 quit (Ping timeout: 240 seconds) 2017-12-11T18:42:13Z damke joined #lisp 2017-12-11T18:43:53Z Fare: I don't know when you found these issues, but the asdf-devel mailing-list is the right place to report them. 2017-12-11T18:43:54Z jfb4 joined #lisp 2017-12-11T18:44:01Z damke_ quit (Ping timeout: 240 seconds) 2017-12-11T18:45:28Z SaganMan quit (Quit: WeeChat 1.6) 2017-12-11T18:46:01Z Fare: https://github.com/marijnh/Postmodern/pull/115 2017-12-11T18:46:16Z zmt00 joined #lisp 2017-12-11T18:47:38Z quazimodo quit (Ping timeout: 268 seconds) 2017-12-11T18:48:08Z quazimodo joined #lisp 2017-12-11T18:49:37Z damke_ joined #lisp 2017-12-11T18:49:50Z gaurav__ quit (Ping timeout: 276 seconds) 2017-12-11T18:49:57Z Posterdati: pjb: it is not desiderable to determine the size of element based on the maximum element in the array 2017-12-11T18:49:57Z Xach: I wish there was a pull request that did not also change many unrelated things. 2017-12-11T18:50:32Z jackdaniel: this PR is bogus: :depends-on ("alexandria" (:feature :ccl)) will break on CCL 2017-12-11T18:50:35Z jackdaniel: which has ASDF 3.1.5 2017-12-11T18:50:54Z Posterdati: pjb: for example #(1 2 3) -> #b011011 2017-12-11T18:50:57Z jackdaniel: and I see such thing in postmodern system (:feature :postmodern-use-mop "closer-mop") 2017-12-11T18:51:27Z Xach: jackdaniel: the (:feature ...) thing is not in 3.1.5? 2017-12-11T18:51:29Z Posterdati: pjb since size of 3 i bit is 2 2017-12-11T18:51:49Z jackdaniel: :if-feature is broken as well for ECL < 16.2.0 (due to bug in ASDF which was fixed after 3.2.0) 2017-12-11T18:52:01Z damke quit (Ping timeout: 240 seconds) 2017-12-11T18:52:09Z nika_ quit (Quit: Leaving...) 2017-12-11T18:53:00Z remi`bd joined #lisp 2017-12-11T18:53:35Z fikka quit (Ping timeout: 240 seconds) 2017-12-11T18:54:26Z Ven`` joined #lisp 2017-12-11T18:54:29Z jackdaniel: Xach: well, I've tried it in repl (I have ccl session turned on) 2017-12-11T18:54:35Z jackdaniel: and it failed 2017-12-11T18:54:46Z Xach: Ok 2017-12-11T18:54:56Z jackdaniel: ah, no 2017-12-11T18:55:01Z jackdaniel: I typed it bad in repl 2017-12-11T18:55:03Z jackdaniel: my mistake 2017-12-11T18:56:18Z sz0 joined #lisp 2017-12-11T18:56:41Z zaquest quit (Quit: Leaving) 2017-12-11T18:56:58Z zaquest joined #lisp 2017-12-11T18:58:22Z xor-xor joined #lisp 2017-12-11T18:59:07Z Xach: http://report.quicklisp.org/2017-12-11/failure-report/f2cl.html#fishpack looks like it may be an SBCL bug? 2017-12-11T19:01:17Z Murii joined #lisp 2017-12-11T19:02:41Z Posterdati: Bike: I need these routine for a spi driver I wrote 2017-12-11T19:03:19Z gaurav__ joined #lisp 2017-12-11T19:05:20Z cyberlard is now known as PickleLard 2017-12-11T19:07:53Z Fare: OK, I fixed the build of chanl, too, but not its race conditions (that at least its test suite now find) 2017-12-11T19:08:05Z pjb: Posterdati: Again, the base is not intrisic. This is an external element, determined by convention or explicitely specified in a protocol. So you need to use an external value bound to a separate parameter. 2017-12-11T19:08:05Z yeticry quit (Ping timeout: 255 seconds) 2017-12-11T19:08:36Z Ven`` quit (Ping timeout: 260 seconds) 2017-12-11T19:08:39Z knobo joined #lisp 2017-12-11T19:10:25Z tomlukeywood quit (Quit: Leaving.) 2017-12-11T19:11:57Z Bike: Posterdati: and you are incapable of specifying a bit width beforehand? 2017-12-11T19:12:31Z Kundry_Wag joined #lisp 2017-12-11T19:12:50Z Ven`` joined #lisp 2017-12-11T19:14:27Z Posterdati: pjb: I did so 2017-12-11T19:15:40Z yeticry joined #lisp 2017-12-11T19:15:47Z Fare: Xach: I've sent a mail to asdf-devel looking for candidate maintainers to do more of that work together. If some failures are more urgent than others to address, please warn the mailing-list so we handle them first. 2017-12-11T19:16:04Z pjb: Posterdati: ok. 2017-12-11T19:16:15Z whoman joined #lisp 2017-12-11T19:16:44Z pjb: Posterdati: often, it's even hardwired (since usually you want efficiency and it's specified on paper, so it doesn't changes willy-nilly). 2017-12-11T19:17:17Z Kundry_Wag quit (Ping timeout: 255 seconds) 2017-12-11T19:17:25Z pjb: Posterdati: ie. instead of writing and using the functions I sprung'ed, you could write a macro that would generate efficient base conversion functions for hardwired word sizes. 2017-12-11T19:18:21Z Fare: jackdaniel, how is :feature broken on asdf 3.1.5? Works fine for me. 2017-12-11T19:18:38Z Posterdati: pjb: :) 2017-12-11T19:19:26Z jackdaniel: read follow up message 2017-12-11T19:20:01Z knobo quit (Ping timeout: 248 seconds) 2017-12-11T19:20:06Z smurfrobot joined #lisp 2017-12-11T19:20:52Z Posterdati: pjb: hardware devices and common lisp did come on the opposite side :) 2017-12-11T19:21:12Z Fare: Ah, OK. For the record, I don't remember :feature or :if-feature being broken since I made them work in 2.27. They are rather simple features (unlike one of the two ASDF 1 era homonymous "feature" features, which was removed in 2.27) 2017-12-11T19:21:53Z jackdaniel: it was a problem with map-dependencies "missing" deps for some operations 2017-12-11T19:22:07Z jackdaniel: but it got fixed after 3.2.0 (maybe unintentionally) so I didn't bother to report 2017-12-11T19:22:52Z Fare: Xach: the fishpack issues smells like a bug in the sbcl register allocator, indeed. 2017-12-11T19:23:13Z jackdaniel: for normal load it worked fine, but when used with bundling op (either with delivery-op and make-build) it missed dependencies if if-feature was present (disregarding the content) 2017-12-11T19:23:51Z Fare: jackdaniel, oh. I remember touching that part of the code recently indeed, fixing issues along the way, but the details are out of cache. 2017-12-11T19:24:05Z Fare: jackdaniel, was it an upgrade bug? 2017-12-11T19:24:12Z Ven`` quit (Ping timeout: 240 seconds) 2017-12-11T19:24:46Z jackdaniel: no, I can dig up the report in ECL issues if you are really interested in it 2017-12-11T19:24:55Z Fare: I have a patch in a branch slated for 3.3.2 that fixes bugs that happen when you upgrade from e.g. ASDF 3.1.7 2017-12-11T19:25:14Z Fare: jackdaniel, not really interested if it has disappeared. 2017-12-11T19:25:45Z jackdaniel gets back to CLX test suite 2017-12-11T19:31:21Z quazimodo quit (Ping timeout: 260 seconds) 2017-12-11T19:31:22Z fikka joined #lisp 2017-12-11T19:31:23Z alexmlw joined #lisp 2017-12-11T19:32:54Z Ven`` joined #lisp 2017-12-11T19:33:59Z Guest86136 quit (Remote host closed the connection) 2017-12-11T19:34:21Z Guest86136 joined #lisp 2017-12-11T19:37:27Z Ven`` quit (Ping timeout: 240 seconds) 2017-12-11T19:38:26Z quazimodo joined #lisp 2017-12-11T19:40:41Z whoman: hey Shinmera i missed your stream. is it still available online somewhere ? 2017-12-11T19:43:03Z Shinmera: http://youtube.shinmera.com 2017-12-11T19:43:06Z jackdaniel: according to the website it is 2017-12-11T19:43:07Z Fare: Fix for f2cl build issues: https://gitlab.common-lisp.net/f2cl/f2cl/merge_requests/4 2017-12-11T19:44:00Z Ven`` joined #lisp 2017-12-11T19:48:35Z dyelar joined #lisp 2017-12-11T19:48:38Z smurfrobot quit (Remote host closed the connection) 2017-12-11T19:49:29Z xor-xor left #lisp 2017-12-11T19:49:48Z Posterdati: Shinmera: ps4? 2017-12-11T19:50:01Z Shinmera: Posterdati: what? 2017-12-11T19:50:27Z Posterdati: Shinmera: do you play with the ps4? 2017-12-11T19:50:31Z Shinmera: No 2017-12-11T19:51:27Z whoman: Shinmera, ty! 2017-12-11T19:53:34Z whoman: ah can't find the UI stuff 2017-12-11T19:55:03Z Shinmera: The episodes are all labelled Treehouse and have a date. 2017-12-11T19:56:15Z fikka quit (Ping timeout: 248 seconds) 2017-12-11T19:57:14Z didi left #lisp 2017-12-11T20:01:50Z damke joined #lisp 2017-12-11T20:03:32Z damke_ quit (Ping timeout: 240 seconds) 2017-12-11T20:06:54Z Murii quit (Quit: WeeChat 1.4) 2017-12-11T20:13:52Z jfb4 quit (Ping timeout: 240 seconds) 2017-12-11T20:16:10Z jfb4 joined #lisp 2017-12-11T20:17:17Z raynold quit (Quit: Connection closed for inactivity) 2017-12-11T20:17:33Z gaurav__ quit (Ping timeout: 246 seconds) 2017-12-11T20:20:52Z jfb4 quit (Ping timeout: 240 seconds) 2017-12-11T20:22:36Z xrash quit (Ping timeout: 268 seconds) 2017-12-11T20:22:58Z jfb4 joined #lisp 2017-12-11T20:25:00Z jmercouris joined #lisp 2017-12-11T20:27:09Z ``Erik_ joined #lisp 2017-12-11T20:28:04Z xrash joined #lisp 2017-12-11T20:28:08Z alexmlw quit (Quit: alexmlw) 2017-12-11T20:28:16Z jmercouris quit (Remote host closed the connection) 2017-12-11T20:28:35Z ``Erik quit (Ping timeout: 240 seconds) 2017-12-11T20:28:45Z jmercouris joined #lisp 2017-12-11T20:28:51Z fikka joined #lisp 2017-12-11T20:31:02Z eudoxia quit (Quit: Leaving) 2017-12-11T20:33:36Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-12-11T20:34:21Z fikka quit (Ping timeout: 260 seconds) 2017-12-11T20:34:39Z jack_rabbit quit (Ping timeout: 248 seconds) 2017-12-11T20:36:15Z vlatkoB quit (Remote host closed the connection) 2017-12-11T20:47:40Z jack_rabbit joined #lisp 2017-12-11T20:48:21Z quazimodo quit (Ping timeout: 260 seconds) 2017-12-11T20:49:05Z smurfrobot joined #lisp 2017-12-11T20:53:32Z smurfrobot quit (Ping timeout: 240 seconds) 2017-12-11T20:58:02Z aindilis joined #lisp 2017-12-11T21:01:19Z jmercouris quit (Ping timeout: 248 seconds) 2017-12-11T21:02:12Z jmercouris joined #lisp 2017-12-11T21:04:23Z oleo quit (Read error: Connection reset by peer) 2017-12-11T21:07:45Z Ven`` quit (Ping timeout: 248 seconds) 2017-12-11T21:12:28Z Ven`` joined #lisp 2017-12-11T21:20:32Z oleo joined #lisp 2017-12-11T21:20:59Z warweasle quit (Quit: away) 2017-12-11T21:21:52Z fikka joined #lisp 2017-12-11T21:23:49Z mson quit (Quit: Connection closed for inactivity) 2017-12-11T21:23:51Z Ven`` quit (Ping timeout: 240 seconds) 2017-12-11T21:26:35Z fikka quit (Ping timeout: 240 seconds) 2017-12-11T21:32:02Z Ven`` joined #lisp 2017-12-11T21:35:50Z yeticry quit (Ping timeout: 244 seconds) 2017-12-11T21:35:52Z knobo joined #lisp 2017-12-11T21:36:04Z Guest86136 quit (Remote host closed the connection) 2017-12-11T21:36:26Z Guest86136 joined #lisp 2017-12-11T21:36:48Z DeadTrickster joined #lisp 2017-12-11T21:38:57Z Ven`` quit (Ping timeout: 240 seconds) 2017-12-11T21:42:50Z attila_lendvai quit (Ping timeout: 260 seconds) 2017-12-11T21:44:05Z king_idiot joined #lisp 2017-12-11T21:44:13Z quotation_ joined #lisp 2017-12-11T22:01:24Z ccl-logbot joined #lisp 2017-12-11T22:01:24Z 2017-12-11T22:01:24Z names: ccl-logbot butterthebuddha antismap ym Nikotiini mfiano JuanDaugherty attila_lendvai ikopico dvdmuckle SlashLife wigust swflint copec drot_ damke_ Ven`` whyNOP_ djh_ z0d ski_ guaqua_ razzy_ cess11__ gorgor_ hhdave Cthulhux` orivej_ margeas sword` fluxi- loke` koenig1 __rumbler31 quotation_ king_idiot DeadTrickster Guest86136 knobo oleo jmercouris aindilis jack_rabbit xrash ``Erik_ jfb4 dyelar whoman zaquest sz0 zmt00 varjag shka rm8 eli beach lisp_guest 2017-12-11T22:01:24Z names: cess11 anunnaki Karl_Dscc lagagain papachan drcode nhandler zooey asarch tokik nullman Jesin Bike kozy voidlily LiamH hexfive epony dmiles himmAllRight ebrasca dddddd grumble mingus nowhere_man terpri easye vaporatorius angavrilov Fare Xal kolko_ wooden Arcaelyx heurist`_ phoe _whitelogger khisanth_ d4ryus moei jibanes pillton shenghi minion specbot scymtym nyef` CrazyEddy drdo bend3r Bicyclidine grublet cmatei troydm flip214 aeth ketralnis groovy2shoes 2017-12-11T22:01:24Z names: esthlos Tristam davsebamse ck_ peccu1 fiddlerwoaroof sebastien_ whartung Kevslinger peterhil basket zulu_inuoe_ trigt[m] ArthurAGleckler[ mhitchman[m] RichardPaulBck[m hdurer[m] equalunique[m] cryptomarauder[m dahs81[m] hiq[m] plll[m] CharlieBrown astronavt[m] Jach[m] l04m33[m] thorondor[m] dirb Sovereign_Bleak EvilAngel1 kammd[m] enick_394 akr djinni` lnostdal LocaMocha gko stux|RC-only mnoonan eschulte __main__ nicdev galdor Lord_Nightmare flazh cgay mjl 2017-12-11T22:01:24Z names: foom Oladon republican_devil drmeister pchrist dim QualityAddict christoph_debian sigjuice ramus mrSpec jsnell stee_3 aoh raydeejay zagura phadthai gabc borodust pok megalography Xach saemcro libreman ninegrid ft joga dilated_dinosaur sukaeto ryanbw nopf dlowe larsen tokenrove guna uint Intensity deba5e12 Tordek neuri8 AeroNotix gigetoo rann rjeli cibs PyroLagus p_l emma malm rotty argoneus danielglh koisoke nimiux justinmcp gbyers funnel adulteratedjedi 2017-12-11T22:01:24Z names: mbrock xristos spacepluk zkat ozzloy brucem |3b| eMBee l1x devlaf trig-ger Fade VSync ecraven snits_ _death pankracy Ober add^_ engblom gabiruh jurov vyzo ircbrowse lemoinem dmh catern dustyweb MetaYan samebchase sbryant mulk otwieracz spudinski hjudt zacts eagleflo Patzy michalisko tomaw splittist gendl convexferret ksool _Trasformatore_ pacon nightfly cods internet1cafe jackdaniel kini tripty cross clog trn dan64 whaack Shinmera joast aijony Ziemas _osune 2017-12-11T22:01:24Z names: PickleLard isoraqathedh lieven tonton myrkraverk malcom2073 jasom Princess17b29a dxtr emacsomancer Colleen danieli lxpz jrm jself johs dotc les jerme_ alms_clozure arrsim cyraxjoe wladz salva xantoz kjeldahl _krator44 tkd renard_ kushal GreaseMonkey froggey banjiewen alphor josh5tone Posterdati antoszka cpape felideon jeremyheiler aaronjensen asedeno mood vhost- larme kilimanjaro tobel billstclair rvirding elts terrorjack jyc gz_ azrazalea Guest97394 pmcana 2017-12-11T22:01:24Z names: angular_mike ggherdov tfb creat beaky zymurgy TMA CEnnis91 mathrick sebboh AntiSpamMeta NaNDude Firedancer jdz cpt_nemo theBlackDragon @fe[nl]ix Blkt akash47 pmden chocolait misv Rovanion nikivi joeygibson danlentz d4gg4d_ tmc Poetichristmas benny askatasuna XachX stylewarning odin alandipert shaftoe omilu hvxgr lonjil GGMethos abbe bailon Lord_of_Life giraffe pjb itruslove Sigyn msb vibs29 emerson waynecolvin kolb earl-ducaine Zhivago bkst stux|RC-- 2017-12-11T22:01:24Z names: Meow-J_ philosau1 sveit schoppenhauer exit70 amerlyq DGASAU dcluna sellout White_Flame gingerale tessier micro Aritheanie Oddity SAL9000 runejuhl naturalog TeMPOraL fouric Walex gabot dwts thijso ngqrl zotan HDurer Mandus reu bitch truename 2017-12-11T22:02:20Z ineiros joined #lisp 2017-12-11T22:02:54Z MrBusiness joined #lisp 2017-12-11T22:05:10Z jdz quit (Ping timeout: 264 seconds) 2017-12-11T22:05:21Z brendyn joined #lisp 2017-12-11T22:05:34Z Tobbi joined #lisp 2017-12-11T22:06:55Z jdz joined #lisp 2017-12-11T22:08:51Z Ven`` quit (Ping timeout: 260 seconds) 2017-12-11T22:11:48Z mson joined #lisp 2017-12-11T22:12:10Z Ven`` joined #lisp 2017-12-11T22:13:12Z Karl_Dscc quit (Remote host closed the connection) 2017-12-11T22:13:17Z moei quit (Quit: Leaving...) 2017-12-11T22:14:50Z Ven`` quit (Client Quit) 2017-12-11T22:15:50Z Amplituhedron joined #lisp 2017-12-11T22:17:32Z Ven`` joined #lisp 2017-12-11T22:20:07Z xrash quit (Read error: Connection reset by peer) 2017-12-11T22:20:44Z waynecolvin quit (Quit: WeeChat 2.0) 2017-12-11T22:22:58Z Ven`` quit (Read error: Connection reset by peer) 2017-12-11T22:23:02Z Ven` joined #lisp 2017-12-11T22:23:21Z eschatologist joined #lisp 2017-12-11T22:23:38Z eschatologist quit (*.net *.split) 2017-12-11T22:24:51Z hhdave quit (Quit: hhdave) 2017-12-11T22:32:46Z attila_lendvai quit (Read error: Connection reset by peer) 2017-12-11T22:34:01Z yeticry joined #lisp 2017-12-11T22:36:05Z Ven` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-11T22:43:55Z koenig1 is now known as koenig 2017-12-11T22:46:47Z LiamH quit (Quit: Leaving.) 2017-12-11T22:47:23Z fe[nl]ix: Xach: is there a way to download and unpack all projects into a directory ? 2017-12-11T22:48:33Z fe[nl]ix: I want to check if there are users of Bordeaux-threads recursive locks 2017-12-11T22:49:18Z Shinmera: There are. 2017-12-11T22:49:22Z jmercouris: You want to grep all common lisp on quicklisp? 2017-12-11T22:49:30Z jmercouris: Why don't you just search github 2017-12-11T22:49:35Z yeticry quit (Ping timeout: 248 seconds) 2017-12-11T22:49:36Z Shinmera: github search is awful 2017-12-11T22:49:40Z Bike: have you ever tried github search 2017-12-11T22:49:43Z Bike: it blows 2017-12-11T22:49:44Z jmercouris: Yes 2017-12-11T22:49:49Z Shinmera: And does not encompass all of Quicklisp 2017-12-11T22:50:00Z jmercouris: You can use a diffrent type of API search I think to look for regex/lines of code IIRC 2017-12-11T22:50:45Z attila_lendvai joined #lisp 2017-12-11T22:50:45Z attila_lendvai quit (Changing host) 2017-12-11T22:50:45Z attila_lendvai joined #lisp 2017-12-11T22:50:56Z Shinmera: fe[nl]ix: You can download all projects to Quicklisp's internal dist folder using: (mapc #'ql-dist:ensure-installed (ql-dist:provided-systems (ql-dist:find-dist "quicklisp"))) 2017-12-11T22:51:17Z smurfrobot joined #lisp 2017-12-11T22:52:05Z jmercouris: Here's what I was talking about: https://help.github.com/articles/searching-code/ 2017-12-11T22:52:06Z fe[nl]ix: is it possible to specify a directory other than the default one ? I don't want to taint my installed systems 2017-12-11T22:52:27Z jmercouris: I think it only allows searching one repository/organization at a time but there should be a way to do it for all repositories of a specific language or something 2017-12-11T22:52:37Z SuperJen joined #lisp 2017-12-11T22:52:43Z Shinmera: fe[nl]ix: could set up a quick separate Quicklisp directory. 2017-12-11T22:54:57Z Jen joined #lisp 2017-12-11T22:55:21Z Jen is now known as Guest35307 2017-12-11T22:55:24Z smurfrobot quit (Ping timeout: 246 seconds) 2017-12-11T22:55:57Z Guest86136 quit (Ping timeout: 240 seconds) 2017-12-11T22:57:21Z yeticry joined #lisp 2017-12-11T22:57:37Z __rumbler31 quit (Ping timeout: 248 seconds) 2017-12-11T22:57:57Z kark joined #lisp 2017-12-11T22:58:11Z SuperJen quit (Ping timeout: 240 seconds) 2017-12-11T22:58:14Z Shinmera: I can't see any obvious way otherwise to get it to a specific directory. ql-dist:install has no other arguments. 2017-12-11T22:58:30Z kartik1 joined #lisp 2017-12-11T22:58:52Z jmercouris: You could move your current directory to a temp directory 2017-12-11T22:59:23Z quazimodo joined #lisp 2017-12-11T22:59:33Z jmercouris: What do you think a good way of implementing hooks in common lisp is? (something akin to emacs hooks) 2017-12-11T22:59:51Z jmercouris: from the emacs documentation, it seems that hook is just a list of functions that get called at a given time 2017-12-11T22:59:59Z jasom: anybody have a good pattern for I want to do N things in parallel, but I must perform a side-effect on the results in-order? Right now I'm doing this, which works but is slightly convoluted: https://github.com/jasom/sqlitestore/blob/master/sqlitestore.lisp#L231 2017-12-11T23:00:04Z jmercouris: so let's say I want to have a hook after action XY 2017-12-11T23:00:26Z jmercouris: should I have a list called something like (defparameter XY-Hooks ()) and add functions to that list to invoke upon event XY? 2017-12-11T23:00:28Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.1)) 2017-12-11T23:00:56Z Shinmera: That's a bad idea because then you can't redefine 2017-12-11T23:00:57Z damke joined #lisp 2017-12-11T23:01:02Z jasom: (quick description of how it works: I create a promise for each chunk of work and push the promise onto a queue; I then have a separate task poping from the queue, forcing the promise, and performing the side-effect. 2017-12-11T23:01:20Z jmercouris: Shinmera: What do you mean by "can't redfine"? 2017-12-11T23:01:44Z Shinmera: jmercouris: If you store function objects in the list, then when you want to redefine your hook function, it won't be able to find the old one to remove it before adding the new one. 2017-12-11T23:01:50Z Shinmera: So you'd just keep on adding functions. 2017-12-11T23:02:12Z basket: You could just add their names to the list instead 2017-12-11T23:02:21Z jasom: Shinmera: use the function names solves that problems 2017-12-11T23:02:21Z Shinmera: Usually in Lisp you want to have some kind of name->definition mapping to avoid this. 2017-12-11T23:02:29Z kark quit (Ping timeout: 250 seconds) 2017-12-11T23:02:33Z Shinmera: jasom: That fills the global function namespace with garbage 2017-12-11T23:02:39Z jasom: (push 'foo *xy-hooks*) 2017-12-11T23:02:46Z Shinmera: The hooks are usually not useful as standalone functions 2017-12-11T23:02:50Z jasom: Shinmera: I assumed the functions already have names? 2017-12-11T23:02:58Z jmercouris: The functions are named functions 2017-12-11T23:03:06Z damke_ quit (Ping timeout: 246 seconds) 2017-12-11T23:03:08Z jasom: Shinmera: whether or not they are useufl as standalone functions is orthogonal to whether or not they should be named 2017-12-11T23:03:11Z basket: How does it preclude the use of packages, Shinmera? 2017-12-11T23:03:20Z jmercouris: But I don't see what the issue with (push '(lambda ()) *xy-hooks*) is 2017-12-11T23:03:32Z Shinmera: jasom: I'm not arguing against names, I'm arguing for a separate namespace. 2017-12-11T23:03:37Z jasom: Shinmera: i.e. my routing library gives each route a function name, which aids in debugging for backtraces 2017-12-11T23:03:55Z jmercouris: I guess one may not be able to remove an item from the hook without a reference to it, but that should be the problem of the user that adds that hook no? 2017-12-11T23:03:57Z basket: jmercouris: Because then it makes it difficult to change that function later. You have to find it somehow, remove it from the list, and add a new one 2017-12-11T23:04:36Z jmercouris: basket: Ok yes, in the scenario of (push 'named-func *xy-hooks*), one should be able to remove it though yes? 2017-12-11T23:04:36Z jasom: jmercouris: pushing an anonymous function makes it hard to redefine; pushing the name of a function makes it trivial. 2017-12-11T23:05:06Z basket: Yes jmercouris 2017-12-11T23:05:25Z jasom: and I disagree with Shinmera on the "polluting the function namespace issue" they are functions, they are named, ergo the function namespace is perfectly appropriate 2017-12-11T23:05:44Z jmercouris: Shinmera: When you say "redefine your hook function" do you mean, "redefine your function that is called by the hook XY"? 2017-12-11T23:05:51Z Shinmera: :shrug: I just like separate concepts separate in their namespace too. 2017-12-11T23:05:51Z Colleen: ‾\(ツ)/‾ 2017-12-11T23:06:03Z jmercouris: lol nice bot 2017-12-11T23:06:48Z Shinmera: jmercouris: Well, when you redefine the hook, to be precise. Defining a hook usually involves creating a new function object to call. 2017-12-11T23:06:51Z jasom: jmercouris: any time you push an actual function object, e.g. (push (lambda () ...) ...) or (push #'foo () ...) it becomes difficult to locate one of those hooks later should you want to remove it or change its behavior 2017-12-11T23:07:17Z jasom: jmercouris: if you push the name of the function, you get redefinition for free, and locating it obviously becomes easier too. 2017-12-11T23:08:03Z fe[nl]ix: Shinmera: thanks, that works 2017-12-11T23:08:16Z jmercouris: jasom: Okay, I get the disctinction now! thanks! 2017-12-11T23:08:52Z Fare: Shinmera, calling asdf:load-system or ql:quickload from within a perform method is a big no-no 2017-12-11T23:09:10Z raphaelss joined #lisp 2017-12-11T23:09:14Z Shinmera: Apparently so, I have my reasons for doing it though. 2017-12-11T23:09:16Z jmercouris: Shinmera: I was saying "define a hook" as in the creation of *xy-hook-list* and then (loop for function in *xy-hook-list* do (funcall function)) 2017-12-11T23:09:23Z Shinmera: I'll elaborate in the issue ticket tomorrow. 2017-12-11T23:09:45Z fikka joined #lisp 2017-12-11T23:09:46Z jmercouris: Shinmera: Adding a function to the hook would be just adding a hook 2017-12-11T23:09:57Z jmercouris: Maybe I'm using terminology wrong here, but I think we're on the same page 2017-12-11T23:10:03Z Fare: Shinmera, what are you trying to do??? 2017-12-11T23:10:25Z Shinmera: Fare: I need to do some nasty stuff to get qt-libs to work the way it should. Anyway, as I said, I'll elaborate tomorrow. Too tired now. 2017-12-11T23:10:37Z jmercouris: Ah, good times with QT 2017-12-11T23:10:46Z jmercouris: I'm so glad I don't have to work with QT anymore 2017-12-11T23:10:50Z Fare: also, traverse-action in not a gf anymore 2017-12-11T23:10:54Z Shinmera: This has nothing to do with Qt 2017-12-11T23:11:02Z Shinmera: It's purely a lisp issue. 2017-12-11T23:11:26Z jmercouris: I don't really know anything about your issue, I'm just reminiscing on QT quality 2017-12-11T23:11:37Z Fare: is this related to there being no good way for cffi and asdf to properly declare dependencies on .so 's? 2017-12-11T23:11:45Z jmercouris: There was nothing wrong with the QT lisp system I was using, it was the QT code itself... 2017-12-11T23:12:09Z Shinmera: Fare: It's related to me needing to change how another system works, and then optionally needing to load other systems during the loading. 2017-12-11T23:12:19Z Shinmera: Anyway, tomorrow. 2017-12-11T23:13:43Z astronavt joined #lisp 2017-12-11T23:14:39Z fikka quit (Ping timeout: 248 seconds) 2017-12-11T23:17:29Z Bike quit (Ping timeout: 260 seconds) 2017-12-11T23:19:07Z fe[nl]ix: oh wow, there is so much duplicate code for locks and threading 2017-12-11T23:19:37Z fe[nl]ix: and even one project that copied recursive locks from BT because dependencies are scary :( 2017-12-11T23:20:33Z jmercouris quit (Ping timeout: 248 seconds) 2017-12-11T23:23:16Z kartik1 quit (Quit: WeeChat 1.4) 2017-12-11T23:25:03Z Shinmera: fe[nl]ix: What were you intending on doing? Removing recursive locks? 2017-12-11T23:26:16Z Jesin quit (Quit: Leaving) 2017-12-11T23:28:01Z wxie joined #lisp 2017-12-11T23:30:03Z cromachina joined #lisp 2017-12-11T23:33:15Z jasom: also recursive locks in BT are broken on sbcl 2017-12-11T23:33:42Z jasom: they only work if you use with-recursive-lock, not with the lock functions 2017-12-11T23:34:32Z Shinmera: I don't see how that's broken? 2017-12-11T23:34:39Z Shinmera: Oh wait 2017-12-11T23:34:52Z Shinmera: Ech, I shouldn't try to read things anymore at this hour, never mind me. 2017-12-11T23:36:17Z pierpa joined #lisp 2017-12-11T23:39:29Z wxie quit (Remote host closed the connection) 2017-12-11T23:42:13Z moei joined #lisp 2017-12-11T23:44:40Z Bicyclidine is now known as Bike 2017-12-11T23:48:15Z _death: jasom: why not just pmapcar do dolist 2017-12-11T23:48:22Z attila_lendvai quit (Ping timeout: 260 seconds) 2017-12-11T23:48:24Z fe[nl]ix: Shinmera: I think it would be a good thing, but apparently lots of people use recursive locks 2017-12-11T23:50:14Z fe[nl]ix: Shinmera: and the only system that uses the broken acquire-recursive-lock is simple-tasks 2017-12-11T23:50:18Z fe[nl]ix: hint hint 2017-12-11T23:50:32Z Shinmera: Hooray 2017-12-11T23:51:14Z fe[nl]ix: if I could remove {acquire,release}-recursive-lock it would already be very good 2017-12-11T23:51:19Z Shinmera: That's what I get for not writing my own threads library :^) 2017-12-11T23:51:27Z fe[nl]ix: :) 2017-12-11T23:54:12Z Shinmera: I'll see if I can get rid of the acquire/release calls. 2017-12-11T23:54:15Z Shinmera: Tomorrow. 2017-12-11T23:55:16Z cpape` joined #lisp 2017-12-11T23:55:41Z banjiewen quit (Ping timeout: 258 seconds) 2017-12-11T23:55:41Z jeremyheiler quit (Ping timeout: 258 seconds) 2017-12-11T23:55:42Z billstclair quit (Ping timeout: 258 seconds) 2017-12-11T23:56:51Z terrorjack quit (Ping timeout: 258 seconds) 2017-12-11T23:56:57Z lonjil2 joined #lisp 2017-12-11T23:57:13Z alphor quit (Ping timeout: 258 seconds) 2017-12-11T23:57:14Z antoszka quit (Ping timeout: 258 seconds) 2017-12-11T23:57:14Z aaronjensen quit (Ping timeout: 258 seconds) 2017-12-11T23:57:14Z tobel quit (Ping timeout: 258 seconds) 2017-12-11T23:57:36Z lonjil quit (Ping timeout: 258 seconds) 2017-12-11T23:57:37Z cpape quit (Ping timeout: 258 seconds) 2017-12-11T23:58:09Z Lord_of_Life quit (Excess Flood) 2017-12-11T23:58:59Z Lord_of_Life joined #lisp 2017-12-11T23:59:40Z jfb4 quit (Ping timeout: 268 seconds) 2017-12-11T23:59:48Z tobel joined #lisp 2017-12-11T23:59:53Z aaronjensen joined #lisp 2017-12-11T23:59:54Z terrorjack joined #lisp 2017-12-12T00:02:03Z Kaisyu joined #lisp 2017-12-12T00:02:24Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-12T00:02:34Z alphor joined #lisp 2017-12-12T00:02:35Z SuperJen joined #lisp 2017-12-12T00:03:28Z astronavt quit (Quit: Leaving...) 2017-12-12T00:03:40Z astronavt joined #lisp 2017-12-12T00:03:54Z jfb4 joined #lisp 2017-12-12T00:05:57Z Guest35307 quit (Ping timeout: 240 seconds) 2017-12-12T00:08:26Z yeticry quit (Ping timeout: 260 seconds) 2017-12-12T00:08:28Z QualityAddict quit (Ping timeout: 240 seconds) 2017-12-12T00:09:57Z QualityAddict joined #lisp 2017-12-12T00:09:59Z antoszka joined #lisp 2017-12-12T00:10:25Z fe[nl]ix: Shinmera: or get rid of recursive locks entirely 2017-12-12T00:10:45Z billstclair joined #lisp 2017-12-12T00:10:48Z jeremyheiler joined #lisp 2017-12-12T00:10:49Z banjiewen joined #lisp 2017-12-12T00:11:26Z lnostdal quit (Read error: Connection reset by peer) 2017-12-12T00:12:15Z quotation_ quit (Quit: Connection closed for inactivity) 2017-12-12T00:14:23Z QualityAddict quit (Ping timeout: 248 seconds) 2017-12-12T00:15:20Z sz0 quit (Quit: Connection closed for inactivity) 2017-12-12T00:15:23Z lnostdal joined #lisp 2017-12-12T00:16:46Z QualityAddict joined #lisp 2017-12-12T00:17:08Z turkja joined #lisp 2017-12-12T00:18:17Z jasom: _death: because the results (which are going out to a file) could be many gigabytes, unless I'm misunderstanding you what you suggest would keep them all in ram 2017-12-12T00:19:00Z jasom had a patch to BT that errord on acquire-recursive-lock on sbcl, not sure what happened to it 2017-12-12T00:19:31Z jasom also had a patch that implemented proper recursive locks, but that was met with ambivalence 2017-12-12T00:19:43Z raphaelss quit (Ping timeout: 248 seconds) 2017-12-12T00:20:13Z asedeno quit (Ping timeout: 258 seconds) 2017-12-12T00:20:13Z gz_ quit (Ping timeout: 258 seconds) 2017-12-12T00:20:34Z gz_ joined #lisp 2017-12-12T00:21:18Z asedeno joined #lisp 2017-12-12T00:21:29Z Ober: jasom: they welcomed it with open arms? 2017-12-12T00:22:26Z _death: jasom: makes sense, but you could still have syntax similar to the naive approach doing it efficiently 2017-12-12T00:24:24Z Jen joined #lisp 2017-12-12T00:24:48Z Jen is now known as Guest56590 2017-12-12T00:25:56Z Amplituhedron quit (Ping timeout: 260 seconds) 2017-12-12T00:27:51Z SuperJen quit (Ping timeout: 250 seconds) 2017-12-12T00:29:01Z jasom: _death: yeah, I might be able to macroize what I have now. 2017-12-12T00:29:47Z epony quit (Quit: QUIT) 2017-12-12T00:30:19Z papachan quit (Quit: WeeChat 2.0) 2017-12-12T00:31:28Z _death: jasom: I'm thinking (dolist (promise (mapcar #'future-it-out chunks)) (write (force promise))), no need to explicitly deal with tasks and queues 2017-12-12T00:32:23Z jasom: _death: ah, that will create a lot of promises; If we have 100GB of data and the average cunk size is ~60k what's the math on that? 2017-12-12T00:33:00Z jasom: ~2M promises. Not sure how heavy promises are 2017-12-12T00:34:26Z epony joined #lisp 2017-12-12T00:36:00Z _death: jasom: right, so it could have a mapcar-like operator or some kind of dolist/mapcar operator.. 2017-12-12T00:36:31Z jasom: "pipeline" 2017-12-12T00:37:34Z jasom: or scatter-gather or something 2017-12-12T00:37:39Z _death: right 2017-12-12T00:38:00Z yeticry joined #lisp 2017-12-12T00:38:28Z jasom: There are 3 parts: 1) generate work 2) do work in parallel 3) handle results in order 2017-12-12T00:38:38Z red-dot joined #lisp 2017-12-12T00:38:47Z zmt01 joined #lisp 2017-12-12T00:39:20Z jasom: so the form I would like is (pipeline FUNCTION-THAT-GENERATES-1-WORK-ITEM-PER-CALL FUNCTION-THAT-DOES-WORK FUNCTION-THAT-HANDLES=-RESULT) 2017-12-12T00:39:31Z jasom: though I'm open to form over function 2017-12-12T00:40:27Z zmt00 quit (Ping timeout: 240 seconds) 2017-12-12T00:41:43Z _death: maybe the fixed-capacity channel is a good abstraction here 2017-12-12T00:42:05Z jasom: oh, there's a fixed-capacity channel? 2017-12-12T00:42:15Z jasom: that would make the queue unneeded 2017-12-12T00:42:44Z jasom: oh, no that still doesn't work because you lose ordering 2017-12-12T00:42:44Z _death: no, I'm doing some wishful thinking :) 2017-12-12T00:42:58Z jasom: _death: you were right though, there is a fixed-capacity channel 2017-12-12T00:43:05Z jasom: but the queue is needed for ordering 2017-12-12T00:43:09Z _death: pipelining through a fixed-capacity channel 2017-12-12T00:43:13Z yeticry quit (Ping timeout: 248 seconds) 2017-12-12T00:43:28Z jasom: pipelining through a fixed-capacity queue is what I'm doing 2017-12-12T00:44:06Z _death: so your pipeline function may take it as well 2017-12-12T00:44:38Z jasom: well if ordering is unneeded, a fixed-capacity channel already does what I need 2017-12-12T00:45:50Z jasom: I considered using that plus adding an index, but that's a lot more code than just using a queue 2017-12-12T00:49:27Z _death: do you really have to write it in order 2017-12-12T00:51:04Z _death: I suppose if it's stdout.. but if it's a file you don't need to 2017-12-12T00:52:08Z jasom: common usecase is pipe to tar 2017-12-12T00:52:57Z smurfrobot joined #lisp 2017-12-12T00:53:15Z _death: hmmm.. at this point I'm thinking about rsync and a different flow :) 2017-12-12T00:53:51Z Kundry_Wag joined #lisp 2017-12-12T00:57:17Z knobo1 joined #lisp 2017-12-12T00:57:37Z smurfrobot quit (Ping timeout: 248 seconds) 2017-12-12T00:57:59Z fikka joined #lisp 2017-12-12T00:59:15Z momofarm joined #lisp 2017-12-12T01:00:21Z knobo quit (Ping timeout: 250 seconds) 2017-12-12T01:00:43Z jfb4 quit (Ping timeout: 268 seconds) 2017-12-12T01:01:23Z yeticry joined #lisp 2017-12-12T01:02:28Z jfb4 joined #lisp 2017-12-12T01:02:41Z fikka quit (Ping timeout: 260 seconds) 2017-12-12T01:06:35Z rumbler31 joined #lisp 2017-12-12T01:06:37Z Xach: fe[nl]ix: ql-dist::(map nil 'ensure-installed (provided-releases (dist "quicklisp"))) 2017-12-12T01:07:26Z Xach: I would love to have a code search for quicklisp :~( 2017-12-12T01:07:52Z Xach: I think there are huge opportunities for something better than grepping and googling. so specialized. 2017-12-12T01:08:09Z Xach: like searching only for function calls or variable bindings or what have you. 2017-12-12T01:10:25Z margeas quit (Ping timeout: 248 seconds) 2017-12-12T01:11:18Z Josh_2 joined #lisp 2017-12-12T01:12:00Z _death: load all quicklisp libraries, dump and serve xref databases? 2017-12-12T01:12:24Z Xach: I'd love something like that 2017-12-12T01:13:02Z Xach: what packages does project XYZ define, what package(s) define package ABC, what functions have more than five required arguments, how many functions have &key and &optional, so many queries 2017-12-12T01:13:30Z zmt01 quit (Quit: Leaving) 2017-12-12T01:13:56Z zmt00 joined #lisp 2017-12-12T01:14:01Z Josh_2` joined #lisp 2017-12-12T01:14:16Z Xach: it's all in there 2017-12-12T01:14:17Z _death: maybe a tool to dump such information for a given image 2017-12-12T01:14:21Z Xach: yes. 2017-12-12T01:14:37Z Xach: what is the most common variable name for the stream argument in with-open-file 2017-12-12T01:16:06Z Kundry_Wag quit (Ping timeout: 246 seconds) 2017-12-12T01:16:41Z Josh_2 quit (Ping timeout: 260 seconds) 2017-12-12T01:16:46Z Bike: i always thought gigamonkeys' "manifest" system, that displayed a state of the image to a browser, was really neat. i guess this would be like machine readable version. with export 2017-12-12T01:19:53Z Josh_2` quit (Remote host closed the connection) 2017-12-12T01:20:12Z _death: could also be used to compare codebases on different implementations 2017-12-12T01:20:41Z Xach: Bike: right. you can't load everything in the same image, too. 2017-12-12T01:20:58Z Xach: I think an AOT manifest thing could be fun. 2017-12-12T01:24:15Z Kundry_Wag joined #lisp 2017-12-12T01:27:31Z eschatol_ joined #lisp 2017-12-12T01:29:35Z yeticry quit (Ping timeout: 240 seconds) 2017-12-12T01:52:03Z pillton: jasom: Are you expecting the work items generated by FUNCTION-THAT-GENERATES-1-WORK-ITEM-PER-CALL to be independent work items? 2017-12-12T01:52:26Z fikka joined #lisp 2017-12-12T01:54:39Z pillton: Some "pipelines" can be naturally represented as a tree where the nodes at a specific depth in the tree represent independent work items. 2017-12-12T01:57:03Z fikka quit (Ping timeout: 246 seconds) 2017-12-12T02:00:47Z SuperJen joined #lisp 2017-12-12T02:02:59Z jasom: pillton: the work items are independent, but the generator may be ordered; I don't recall if it is ordered in this specific use-case, but I've had similar cases in the past where it is 2017-12-12T02:04:05Z jasom: pillton: I think in this use case it is not ordered (i.e. I can generate the Nth item in O(1) time) 2017-12-12T02:04:16Z Guest56590 quit (Ping timeout: 248 seconds) 2017-12-12T02:04:56Z jasom: the main thing is I have something that generates data, some work to do, and something that collects the data (which requires it be collected in-order). 2017-12-12T02:05:26Z jasom: the work is by far the most expensive part, and in this case generating the data in parallel makes no sense, since it would require locking an external resource. 2017-12-12T02:10:08Z lrvy joined #lisp 2017-12-12T02:14:01Z Kundry_Wag quit (Remote host closed the connection) 2017-12-12T02:14:05Z jfb4 quit (Ping timeout: 240 seconds) 2017-12-12T02:15:30Z eSVG joined #lisp 2017-12-12T02:15:44Z Kundry_Wag joined #lisp 2017-12-12T02:16:26Z grublet quit (Quit: Leaving) 2017-12-12T02:16:38Z jasom: the other thing that e.g. unix pipelines have that I don't need in this *specific* case, but could use in other cases is backwards propagation of early termination. (i.e. I have "enough" now, so I need to tell the generator to stop) 2017-12-12T02:18:09Z pjb` joined #lisp 2017-12-12T02:20:05Z pjb quit (Ping timeout: 250 seconds) 2017-12-12T02:20:56Z Kundry_Wag quit (Ping timeout: 276 seconds) 2017-12-12T02:21:05Z vibs29 quit (Ping timeout: 240 seconds) 2017-12-12T02:21:22Z whoman quit (Read error: Connection reset by peer) 2017-12-12T02:21:51Z vibs29 joined #lisp 2017-12-12T02:22:19Z d4ryus1 joined #lisp 2017-12-12T02:22:21Z whoman joined #lisp 2017-12-12T02:24:15Z jasom: in any event, the queue of promises is at least clear and simple enough to reason about that I don't have a big complaint. 2017-12-12T02:25:00Z Acherontius joined #lisp 2017-12-12T02:25:02Z eschulte: Is it possible to use ASDF build-op to build multiple binaries from a single package, or do I need to write a separate .asd file for each compiled binary? 2017-12-12T02:25:27Z Acherontius left #lisp 2017-12-12T02:25:27Z d4ryus quit (Ping timeout: 240 seconds) 2017-12-12T02:25:54Z marvin3 joined #lisp 2017-12-12T02:26:51Z nullniverse joined #lisp 2017-12-12T02:27:08Z jasom: eschulte: I think the suggestion there is to have multiple systems in the same .asd 2017-12-12T02:27:20Z jasom: e.g. foo/binary1 foo/binary2 2017-12-12T02:27:38Z eschulte: ah, that's reasonable, thanks 2017-12-12T02:27:39Z jasom: if you use "/" to separate the primary name from the sub-name, then asdf will know which .asd file to look in 2017-12-12T02:27:58Z eschulte: nice, noted 2017-12-12T02:29:51Z eschatologist joined #lisp 2017-12-12T02:30:23Z eschatol_ quit (Quit: Textual IRC Client: www.textualapp.com) 2017-12-12T02:36:17Z jfb4 joined #lisp 2017-12-12T02:38:51Z bugrum joined #lisp 2017-12-12T02:41:32Z mson quit (Quit: Connection closed for inactivity) 2017-12-12T02:42:11Z nullniverse quit (Quit: Leaving) 2017-12-12T02:46:05Z rm8 quit (Quit: i slep) 2017-12-12T02:48:12Z lrvy quit (Quit: Textual IRC Client: www.textualapp.com) 2017-12-12T02:49:41Z lisp_guest quit (Ping timeout: 248 seconds) 2017-12-12T02:50:26Z orivej_ quit (Ping timeout: 255 seconds) 2017-12-12T02:50:38Z Fare: eschulte, yes it is possible 2017-12-12T02:50:45Z Fare: eschulte, everything is possible :-) 2017-12-12T02:51:09Z Fare: eschulte, as jasom said, you can depend on multiple secondary systems. 2017-12-12T02:51:28Z Kundry_Wag joined #lisp 2017-12-12T02:51:40Z eschulte: Fare: I just converted my asd to use multiple defsystems, and that seems to be working well 2017-12-12T02:51:48Z Fare: PROBLEM, though, is that dumping a binary, at least on SBCL, kills the current process 2017-12-12T02:52:11Z Fare: so, you'll have to tweak the build slightly to do that in a fork. 2017-12-12T02:52:19Z zu22 joined #lisp 2017-12-12T02:52:24Z Fare: maybe by using POIU 2017-12-12T02:52:35Z lagagain quit (Quit: Connection closed for inactivity) 2017-12-12T02:52:36Z Zhivago: Don't they have an option to fork-and-dump? 2017-12-12T02:52:37Z Fare: what implementation are you using? 2017-12-12T02:52:43Z eschulte: ah, that makes sense. I think the multiple independent defsystems will work well with my current top-level Makefile driver 2017-12-12T02:52:49Z eschulte: sbcl and ccl 2017-12-12T02:53:27Z Fare: of course, ASDF can't do it in a fork by default, since fork is not portable to all systems that sbcl runs on (e.g. Windows), and fork isn't safe if you started threads already. 2017-12-12T02:53:54Z Fare: not my problem anymore. Good luck to the next ASDF maintainer. 2017-12-12T02:53:55Z pillton: eschutle: FWIW Lisp-executable has that functionality. 2017-12-12T02:54:04Z Fare: When my current branches are all merged, I'm off. 2017-12-12T02:54:30Z Fare: I don't support lisp-executable. It might even be massively broken since ASDF 3. 2017-12-12T02:54:30Z smurfrobot joined #lisp 2017-12-12T02:54:30Z pillton: eschutle: https://github.com/markcox80/lisp-executable/blob/master/lisp-executable-example.asd#L39 2017-12-12T02:55:53Z Fare: can sbcl fork on mingw64 ? 2017-12-12T02:56:16Z eschulte: Fare: congratulations on handing off to a new maintainer 2017-12-12T02:57:13Z Fare: I haven't handed off anything. There is no new maintainer to replace me. I'm just going to drop it off. 2017-12-12T02:57:33Z Fare: I mean, rpgoldman is the new maintainer, but he has even less time than I to work on it 2017-12-12T02:57:45Z Fare: and has been the new maintainer since ~2014. 2017-12-12T02:58:30Z Fare: he certainly has made ASDF more conservative and higher quality than if I were still breaking things around 2017-12-12T02:58:31Z paraparity joined #lisp 2017-12-12T02:58:35Z smurfrobot quit (Ping timeout: 240 seconds) 2017-12-12T02:58:50Z earl-ducaine quit (Remote host closed the connection) 2017-12-12T02:59:08Z earl-ducaine joined #lisp 2017-12-12T03:00:00Z eschulte: that last part sounds pretty good, given that there already appears to be a good deal of functionality 2017-12-12T03:00:04Z eschulte: I've got to run, I'm excited how easy building packages with asdf has been so far though, many thanks for the tips! 2017-12-12T03:00:16Z emacsoma` joined #lisp 2017-12-12T03:00:36Z aristippus joined #lisp 2017-12-12T03:01:04Z pillton: Fare: It works on ASDF 3. 2017-12-12T03:02:04Z damke_ joined #lisp 2017-12-12T03:02:59Z kolb quit (Ping timeout: 250 seconds) 2017-12-12T03:03:54Z damke quit (Ping timeout: 246 seconds) 2017-12-12T03:04:40Z tonton quit (Ping timeout: 268 seconds) 2017-12-12T03:06:08Z tonton joined #lisp 2017-12-12T03:08:16Z marusich joined #lisp 2017-12-12T03:10:23Z emacsoma` quit (Remote host closed the connection) 2017-12-12T03:12:01Z emacsoma` joined #lisp 2017-12-12T03:18:33Z Fare: pillton, on 3.3 ? 2017-12-12T03:18:38Z rpg joined #lisp 2017-12-12T03:19:16Z zu22 left #lisp 2017-12-12T03:19:38Z pillton: I haven't tried 3.3. It works with 3.1.5. 2017-12-12T03:23:45Z emacsoma` quit (Ping timeout: 248 seconds) 2017-12-12T03:26:14Z marusich quit (Ping timeout: 255 seconds) 2017-12-12T03:26:20Z jasom: Fare: If I haven't said it already, I appreciate how much work you've put into not just dropping it and running away. 2017-12-12T03:27:24Z Kundry_Wag quit (Remote host closed the connection) 2017-12-12T03:27:40Z mrottenkolber joined #lisp 2017-12-12T03:28:00Z Kundry_Wag joined #lisp 2017-12-12T03:28:05Z mrottenkolber is now known as Guest1085 2017-12-12T03:28:11Z emacsoma` joined #lisp 2017-12-12T03:29:52Z astronavt quit (Remote host closed the connection) 2017-12-12T03:30:12Z astronavt joined #lisp 2017-12-12T03:32:17Z Guest1085 quit (Ping timeout: 248 seconds) 2017-12-12T03:32:32Z Kundry_Wag quit (Ping timeout: 255 seconds) 2017-12-12T03:32:41Z mrottenkolber_ joined #lisp 2017-12-12T03:36:06Z vtomole joined #lisp 2017-12-12T03:40:16Z fikka joined #lisp 2017-12-12T03:41:10Z rumbler31 quit 2017-12-12T03:41:46Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-12T03:44:57Z fikka quit (Ping timeout: 240 seconds) 2017-12-12T03:47:01Z rumbler31 joined #lisp 2017-12-12T03:47:56Z bugrum quit (Remote host closed the connection) 2017-12-12T03:52:53Z paraparity quit (Remote host closed the connection) 2017-12-12T03:55:31Z marusich joined #lisp 2017-12-12T03:56:48Z rvirding quit (Ping timeout: 258 seconds) 2017-12-12T03:57:10Z rvirding joined #lisp 2017-12-12T03:57:41Z dieggsy joined #lisp 2017-12-12T03:58:33Z resttime joined #lisp 2017-12-12T03:58:52Z EvW joined #lisp 2017-12-12T03:59:17Z ahungry joined #lisp 2017-12-12T04:00:06Z rpg joined #lisp 2017-12-12T04:03:31Z EvW quit (Ping timeout: 260 seconds) 2017-12-12T04:11:22Z Fare: jasom, thanks :-) 2017-12-12T04:11:45Z Fare: but that won't last 2017-12-12T04:11:54Z rpg: Does anyone have a Jenkins recipe for working with quicklisp? I.e., having a module that is checked out of a repository, but goes into a quicklisp/local-projects/ for jenkins? 2017-12-12T04:12:04Z Fare: #gerbil-scheme is already my primary Lisp platform these days. 2017-12-12T04:12:56Z Fare: rpg, my apologies for merging #89 by accident :-( https://gitlab.common-lisp.net/asdf/asdf/merge_requests/89 2017-12-12T04:13:14Z Fare: I still believe it deserves your review, because it has future implications. 2017-12-12T04:13:39Z Fare: see notably commit message for 8e68ac229c19b7b611caf942a7f0998c88047a79 2017-12-12T04:13:53Z rpg: Fare: No problem -- it's just run through my Jenkins tests and it seems fine. I'll take a more in-depth look, but I think the syntax control needs more concentration right now, now that I'm back from my travels 2017-12-12T04:14:05Z Fare: oh, it passed all tests. 2017-12-12T04:14:41Z marusich quit (Ping timeout: 276 seconds) 2017-12-12T04:15:03Z JuanDaugherty quit (Remote host closed the connection) 2017-12-12T04:15:12Z Fare: And it only affects upgrade --- and whoever besides me would have been deep enough to extend bundle classes, which I think is no one (or there would have been a lot of complaints as I kept refactoring it over the years) 2017-12-12T04:15:49Z Fare: on the other hand, extending the same fix to other more basic operation classes might be harder, if anyone used them (which I bet at least someone would). 2017-12-12T04:15:58Z marusich joined #lisp 2017-12-12T04:16:32Z Fare: syntax-control is probably more urgent. 2017-12-12T04:16:40Z Fare: and after that --- I'm free from ASDF hacking! 2017-12-12T04:17:14Z Fare: though I'll gladly mentor a replacement... as long as the memories are still there 2017-12-12T04:19:40Z hexfive quit (Quit: WeeChat 1.9.1) 2017-12-12T04:20:22Z hexfive joined #lisp 2017-12-12T04:22:39Z turkja quit (Ping timeout: 246 seconds) 2017-12-12T04:25:41Z turkja joined #lisp 2017-12-12T04:29:05Z test1600 joined #lisp 2017-12-12T04:29:46Z raphaelss joined #lisp 2017-12-12T04:31:12Z rpg: bah! I'm going to have a glass of wine... Once more getting my bloody tests to work right is harder than getting the code under test to work right -- for reasons totally unrelated to the code under test. 2017-12-12T04:31:26Z rpg quit (Quit: Textual IRC Client: www.textualapp.com) 2017-12-12T04:32:53Z beach: Good morning everyone! 2017-12-12T04:33:16Z basket: Hello beach 2017-12-12T04:34:42Z fikka joined #lisp 2017-12-12T04:36:11Z marusich quit (Ping timeout: 240 seconds) 2017-12-12T04:39:41Z fikka quit (Ping timeout: 260 seconds) 2017-12-12T04:40:49Z dieggsy quit (Remote host closed the connection) 2017-12-12T04:42:35Z Fare: rpg: just pushed minor updates to TODO 2017-12-12T04:43:08Z Fare: beach: chào anh 2017-12-12T04:43:25Z beach: Hey. What's up? 2017-12-12T04:43:34Z vtomole quit (Ping timeout: 260 seconds) 2017-12-12T04:45:08Z pierpa quit (Quit: Page closed) 2017-12-12T04:49:38Z Fare: lots and lots 2017-12-12T04:49:46Z Bike quit (Quit: Lost terminal) 2017-12-12T04:50:10Z Fare: trying to recruit for various software startups... Scheme, Common Lisp, OCaml, F# 2017-12-12T04:50:42Z beach: Oh? You are a head hunter now? 2017-12-12T04:53:19Z test1600 quit (Quit: Leaving) 2017-12-12T04:56:01Z smurfrobot joined #lisp 2017-12-12T04:57:38Z BitPuffin|osx joined #lisp 2017-12-12T05:00:27Z smurfrobot quit (Ping timeout: 240 seconds) 2017-12-12T05:01:29Z marusich joined #lisp 2017-12-12T05:12:57Z turkja quit (Ping timeout: 240 seconds) 2017-12-12T05:15:50Z turkja joined #lisp 2017-12-12T05:17:28Z Fare: kind of 2017-12-12T05:17:34Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-12T05:20:57Z Xal quit (Ping timeout: 240 seconds) 2017-12-12T05:23:16Z Xal joined #lisp 2017-12-12T05:23:26Z king_idiot quit (Ping timeout: 255 seconds) 2017-12-12T05:23:26Z GGMethos quit (Ping timeout: 258 seconds) 2017-12-12T05:25:11Z GGMethos joined #lisp 2017-12-12T05:25:14Z beach: I see. 2017-12-12T05:25:27Z jfb4 quit (Ping timeout: 240 seconds) 2017-12-12T05:27:53Z jfb4 joined #lisp 2017-12-12T05:31:31Z circ-user-LLSO9 joined #lisp 2017-12-12T05:32:44Z bugrum joined #lisp 2017-12-12T05:35:38Z dddddd quit (Remote host closed the connection) 2017-12-12T05:36:12Z circ-user-LLSO9 quit (Remote host closed the connection) 2017-12-12T05:37:14Z red-dot joined #lisp 2017-12-12T05:39:48Z rumbler31 quit (Remote host closed the connection) 2017-12-12T05:42:01Z astronavt quit (Quit: Leaving...) 2017-12-12T05:43:19Z froggey quit (Ping timeout: 250 seconds) 2017-12-12T05:53:36Z whoman: CL+ocaml is good match/mix 2017-12-12T05:56:05Z emacsomancer quit (Ping timeout: 276 seconds) 2017-12-12T05:57:44Z emacsomancer joined #lisp 2017-12-12T05:59:38Z vlatkoB joined #lisp 2017-12-12T06:01:00Z marusich quit (Ping timeout: 246 seconds) 2017-12-12T06:01:14Z damke joined #lisp 2017-12-12T06:03:06Z damke_ quit (Ping timeout: 246 seconds) 2017-12-12T06:03:53Z marusich joined #lisp 2017-12-12T06:04:36Z beach: I don't believe it is good to mix languages. 2017-12-12T06:06:26Z froggey joined #lisp 2017-12-12T06:06:38Z Kevslinger quit (Quit: Connection closed for inactivity) 2017-12-12T06:08:26Z marusich quit (Ping timeout: 255 seconds) 2017-12-12T06:10:23Z yeticry joined #lisp 2017-12-12T06:11:13Z marusich joined #lisp 2017-12-12T06:15:14Z bugrum quit (Remote host closed the connection) 2017-12-12T06:20:11Z Fare: beach: trying to recruit for me + friends. 2017-12-12T06:20:28Z Fare: beach: I don't believe it either -- they are separate projects 2017-12-12T06:20:35Z Fare: I try to do everything in Gerbil Scheme 2017-12-12T06:20:52Z Fare: and to make Gerbil Scheme more Common Lisp like where it is lacking 2017-12-12T06:20:59Z beach: So you have a startup with a friend? 2017-12-12T06:21:07Z Fare: yes 2017-12-12T06:21:12Z beach: Nice! 2017-12-12T06:21:23Z Fare: BTW, do you have contacts in VN? 2017-12-12T06:21:43Z beach: Yes, I do. 2017-12-12T06:22:01Z beach: A French guy who does contractual software work. 2017-12-12T06:22:36Z fikka joined #lisp 2017-12-12T06:26:57Z fikka quit (Ping timeout: 240 seconds) 2017-12-12T06:29:47Z Zhivago: Gerbil looks nice, but unexceptional, at a glance -- what motivated the new dialect? 2017-12-12T06:30:43Z igemnace joined #lisp 2017-12-12T06:31:49Z Zhivago: (Not that I'm criticizing -- I just couldn't see the reason so far) 2017-12-12T06:32:40Z lisp_guest joined #lisp 2017-12-12T06:34:33Z Jen joined #lisp 2017-12-12T06:34:57Z Jen is now known as Guest36852 2017-12-12T06:36:27Z yeticry quit (Ping timeout: 240 seconds) 2017-12-12T06:37:51Z SuperJen quit (Ping timeout: 248 seconds) 2017-12-12T06:38:23Z Karl_Dscc joined #lisp 2017-12-12T06:38:35Z wigust quit (Ping timeout: 255 seconds) 2017-12-12T06:40:51Z xantoz quit (Ping timeout: 240 seconds) 2017-12-12T06:41:17Z raphaelss quit (Remote host closed the connection) 2017-12-12T06:41:44Z beach: Fare: You might have mail. 2017-12-12T06:42:05Z anunnaki quit (Ping timeout: 240 seconds) 2017-12-12T06:45:20Z marusich quit (Ping timeout: 255 seconds) 2017-12-12T06:46:59Z ahungry quit (Remote host closed the connection) 2017-12-12T06:50:16Z yeticry joined #lisp 2017-12-12T06:52:39Z dec0n joined #lisp 2017-12-12T06:58:11Z lisp_guest quit (Ping timeout: 255 seconds) 2017-12-12T07:00:53Z jack_rabbit quit (Read error: Connection reset by peer) 2017-12-12T07:02:17Z hexfive quit (Quit: WeeChat 1.9.1) 2017-12-12T07:03:45Z mishoo joined #lisp 2017-12-12T07:07:06Z oleo quit (Quit: Leaving) 2017-12-12T07:07:51Z Ober: beach is an anh? not an ong? 2017-12-12T07:11:00Z asarch quit (Quit: Leaving) 2017-12-12T07:11:14Z Karl_Dscc quit (Remote host closed the connection) 2017-12-12T07:16:12Z Ober thought he was older 2017-12-12T07:17:01Z fikka joined #lisp 2017-12-12T07:19:40Z beach: I prefer anh. I don't feel old. 2017-12-12T07:20:18Z Ober: :P one day... you find folks using ong. and go .wtf. when did that happen 2017-12-12T07:20:30Z resttime quit (Quit: Leaving) 2017-12-12T07:20:37Z beach: Yeah, I have had that happen to me. 2017-12-12T07:21:35Z fikka quit (Ping timeout: 248 seconds) 2017-12-12T07:22:46Z igemnace quit (Quit: WeeChat 2.0) 2017-12-12T07:22:49Z flamebeard joined #lisp 2017-12-12T07:22:52Z jack_rabbit joined #lisp 2017-12-12T07:24:05Z zmt00 quit (Quit: Leaving) 2017-12-12T07:24:09Z shka: i have no idea what you are talking about :D 2017-12-12T07:24:31Z lieven: at a guess, some asian language with different pronouns for people older or younger than you :) 2017-12-12T07:25:02Z shka: this may or may not be the case! 2017-12-12T07:25:02Z lieven: kind of like you young whippersnappers should get off my lawn 2017-12-12T07:25:03Z Ober: essentially family role names used as pronouns. 2017-12-12T07:25:17Z beach: Vietnamese. 2017-12-12T07:25:31Z shka: gosh 2017-12-12T07:25:36Z shka: well good for you 2017-12-12T07:26:09Z lieven: Thai seems similar. Some of my Thai acquaintances want to find out a person's age when they first meet someone. 2017-12-12T07:27:23Z beach: It is an interesting situation of negotiation. Things are a bit simpler for me because I am both older than most people I deal with, and I have a higher rank. 2017-12-12T07:27:59Z shka: humans are certainly peculiar… 2017-12-12T07:33:55Z myrkraverk_ joined #lisp 2017-12-12T07:34:14Z myrkraverk quit (Ping timeout: 276 seconds) 2017-12-12T07:36:11Z jasom: Zhivago: see the postfix to this post: https://fare.livejournal.com/188429.html 2017-12-12T07:36:22Z myrkraverk_ is now known as myrkraverk 2017-12-12T07:38:10Z trosa-work joined #lisp 2017-12-12T07:40:04Z anunnaki joined #lisp 2017-12-12T07:40:17Z rumbler31 joined #lisp 2017-12-12T07:44:31Z rumbler31 quit (Ping timeout: 248 seconds) 2017-12-12T07:44:38Z SuperJen joined #lisp 2017-12-12T07:45:27Z anunnaki quit (Ping timeout: 240 seconds) 2017-12-12T07:45:29Z murii joined #lisp 2017-12-12T07:46:50Z anunnaki joined #lisp 2017-12-12T07:47:58Z varjag joined #lisp 2017-12-12T07:48:05Z Guest36852 quit (Ping timeout: 240 seconds) 2017-12-12T07:54:16Z loke`: How old do you have to be to be an ong? 2017-12-12T07:54:55Z Mon_Ouie joined #lisp 2017-12-12T07:55:59Z beach: Like I said, it's a matter of negotiation and of relative age, etc, etc. 2017-12-12T07:57:24Z trosa-work quit (Remote host closed the connection) 2017-12-12T08:02:06Z beach: ông: grandfather, old man, gentleman, you (used by grandchild to grandfather), I (used by grandfather to grandchild, you (used to men), he (of men over 30), husband, man, Mr. 2017-12-12T08:02:25Z beach: From my electronic dictionary. 2017-12-12T08:02:52Z Jen joined #lisp 2017-12-12T08:03:16Z Jen is now known as Guest97197 2017-12-12T08:03:36Z loke`: beach: Seems complicated. :-) 2017-12-12T08:03:48Z beach: But fun, too. :) 2017-12-12T08:03:58Z loke`: beach: American is easier: “Yo! dude” 2017-12-12T08:04:43Z beach: Yes, but then English has verb conjugations, tenses, etc. 2017-12-12T08:05:16Z loke`: beach: Hey! I spend my time on social media. I see no traces of such fancy languageisms there. 2017-12-12T08:05:54Z beach: I go store soon. No have time talk here. 2017-12-12T08:05:55Z Zhivago: loke: Well, you have similar rules regarding the use of words like "mister" and "sir". 2017-12-12T08:06:46Z SuperJen quit (Ping timeout: 260 seconds) 2017-12-12T08:06:47Z beach: At Johns Hopkins, we called the teachers "Dr ". 2017-12-12T08:07:20Z loke`: beach: See? You understand now. 2017-12-12T08:07:27Z jack_rabbit quit (Ping timeout: 248 seconds) 2017-12-12T08:07:40Z xantoz joined #lisp 2017-12-12T08:07:41Z tcr joined #lisp 2017-12-12T08:09:21Z smurfrobot joined #lisp 2017-12-12T08:10:24Z fikka joined #lisp 2017-12-12T08:14:38Z SuperJen joined #lisp 2017-12-12T08:17:17Z Ven`` joined #lisp 2017-12-12T08:17:17Z Ven`` quit (Client Quit) 2017-12-12T08:17:57Z Guest97197 quit (Ping timeout: 240 seconds) 2017-12-12T08:20:34Z jack_rabbit joined #lisp 2017-12-12T08:22:04Z Shinmera: fe[nl]ix: Removed recursive lock usage from simple-tasks 2017-12-12T08:22:31Z fikka quit (Ping timeout: 260 seconds) 2017-12-12T08:24:03Z smurfrobot quit (Remote host closed the connection) 2017-12-12T08:24:40Z Ober: Error: Last argument to apply is too long:. uff. must use reduce and not apply for 6k items 2017-12-12T08:24:56Z smurfrobot joined #lisp 2017-12-12T08:26:15Z yeticry quit (Ping timeout: 250 seconds) 2017-12-12T08:28:18Z yeticry joined #lisp 2017-12-12T08:28:20Z aeth: clisp has a call-arguments-limit of 4096. Every other implementation that I've checked is *much* higher than that, at least 60k. SBCL's is practically infinite (you'll run out of memory first) 2017-12-12T08:28:58Z Ober: aeth: lw has a limit. 2017-12-12T08:29:04Z Ober: call-arguments-limit 2017-12-12T08:29:04Z d4ryus1 is now known as d4ryus 2017-12-12T08:29:09Z aeth: If you're trying to be absolutely portable, 50 is the limit. 2017-12-12T08:29:20Z Ober: ok 2017-12-12T08:29:21Z aeth: LW is 4096, too? 2017-12-12T08:29:26Z Ober: checking 2017-12-12T08:29:57Z Ober: 2047 on 7.1 2017-12-12T08:30:01Z aeth: oh, wow 2017-12-12T08:30:30Z Ober: writable though, the var is. 2017-12-12T08:30:36Z Ober: or not 2017-12-12T08:30:38Z aeth: Someone needs to compile a list of the various actual limits and sizes because the minimums in the CLHS are much lower than any implementation, but some implementations still have surprisingly low numbers 2017-12-12T08:31:19Z jackdaniel: except some heavy autogenerated code, why would you need more than 50 arguments? 2017-12-12T08:31:29Z jackdaniel: 50 is absurdly high number already 2017-12-12T08:32:10Z aeth: jackdaniel: apply could be used in serialization because you can apply a plist, which would make it very convenient for serialization 2017-12-12T08:32:33Z aeth: You'd probably wind up with less than 2000, but possibly more than 50 2017-12-12T08:33:20Z aeth: (i.e. an applied plist becomes keyword arguments) 2017-12-12T08:34:37Z aeth: And yes, that would be heavily autogenerated. 2017-12-12T08:34:39Z jackdaniel: doesn't sound like a plausible use case 2017-12-12T08:34:59Z jackdaniel: either way, you can't count on more than what clhs specifies 2017-12-12T08:35:08Z jackdaniel: you never know when new implementation comes to play 2017-12-12T08:35:27Z fikka joined #lisp 2017-12-12T08:35:36Z aeth: very useful.. (apply #'make-array 42 '(:element-type 'single-float :initial-element 42f0)) 2017-12-12T08:35:40Z jackdaniel: it might be that after nuclear disaster, 2000 years from now, people will try to recreate machines capable of running program of our age 2017-12-12T08:35:57Z jackdaniel: don't make their work harder than it must be ;-) 2017-12-12T08:36:31Z aeth: jackdaniel: Someone should make a revised CLHS and only bump up the minimums for things. Or, actually, define separate 32-bit and 64-bit minimums. Iirc, a fixnum is only 16 bit as a minimum, which is tiny. 2017-12-12T08:36:43Z aeth: And very long docstrings could easily go over the 1024 size limit 2017-12-12T08:37:30Z smurfrobot quit (Remote host closed the connection) 2017-12-12T08:38:53Z zhormistr joined #lisp 2017-12-12T08:38:59Z Jen joined #lisp 2017-12-12T08:39:23Z Jen is now known as Guest25157 2017-12-12T08:40:09Z Ober: what is the proper way to replace if seen progn with cond? (cond ((seen ... in this case sees it as a function 2017-12-12T08:42:00Z kilimanjaro quit (Ping timeout: 258 seconds) 2017-12-12T08:42:00Z jyc quit (Ping timeout: 258 seconds) 2017-12-12T08:42:21Z SuperJen quit (Ping timeout: 246 seconds) 2017-12-12T08:43:17Z jackdaniel: Ober: (if test (progn ,@a) (progn ,@b)) → (cond (test ,@a) (t ,@b)) 2017-12-12T08:43:55Z felideon quit (Ping timeout: 258 seconds) 2017-12-12T08:44:21Z jyc joined #lisp 2017-12-12T08:44:49Z knobo1 quit (Ping timeout: 248 seconds) 2017-12-12T08:45:40Z Ober: thanks. I must have broke it somewhere. 2017-12-12T08:46:17Z jackdaniel: each clause cond is (test forms*), where test is arbitrary expression returning value 2017-12-12T08:46:42Z jackdaniel: if you put (seen 'foo) as test, then it will be evaluated 2017-12-12T08:46:52Z jackdaniel: (i.e function foo will be called) 2017-12-12T08:47:05Z jackdaniel: same as with test argument in IF operator 2017-12-12T08:47:42Z Ober: ok so under cond a single or double open paren before it should not confuse it. ok. must be error. lisp-critic cleanup 2017-12-12T08:48:40Z felideon joined #lisp 2017-12-12T08:49:19Z kilimanjaro joined #lisp 2017-12-12T08:50:58Z orivej joined #lisp 2017-12-12T08:51:41Z SuperJen joined #lisp 2017-12-12T08:55:11Z lieven: I remember 32 bit lispworks having some really annoying limits 2017-12-12T08:55:11Z Guest25157 quit (Ping timeout: 255 seconds) 2017-12-12T08:56:10Z jfb4 quit (Ping timeout: 268 seconds) 2017-12-12T08:57:58Z jfb4 joined #lisp 2017-12-12T08:58:26Z grublet joined #lisp 2017-12-12T09:01:17Z zhormistr left #lisp 2017-12-12T09:03:27Z aeth: I think Common Lisp is a language that really only works with 36 bits or more. 2017-12-12T09:07:01Z jasom: You can have 31 bit fixnums on a 32 bit machine; if you require all allocations be 8-bit aligned, that still gives you two tag bits for non-fixnums 2017-12-12T09:07:17Z Amplituhedron joined #lisp 2017-12-12T09:07:53Z fikka quit (Ping timeout: 268 seconds) 2017-12-12T09:11:09Z knobo1 joined #lisp 2017-12-12T09:16:49Z jfb4 quit (Ping timeout: 248 seconds) 2017-12-12T09:18:56Z jfb4 joined #lisp 2017-12-12T09:25:18Z Fare: jasom: you mean 8-byte aligned. 2017-12-12T09:25:48Z Fare: And then, other types can have larger alignment, etc. 2017-12-12T09:25:58Z JenElizabeth joined #lisp 2017-12-12T09:26:08Z Fare: and/or indirection 2017-12-12T09:27:27Z mishoo quit (Ping timeout: 248 seconds) 2017-12-12T09:28:33Z SuperJen quit (Ping timeout: 248 seconds) 2017-12-12T09:29:21Z SuperJen joined #lisp 2017-12-12T09:30:57Z JenElizabeth quit (Ping timeout: 240 seconds) 2017-12-12T09:32:21Z jackdaniel: interesting fact: chicken scheme has variable number of bits for immediate types 2017-12-12T09:34:23Z yeticry quit (Ping timeout: 248 seconds) 2017-12-12T09:34:59Z jackdaniel: there it is: http://www.more-magic.net/posts/internals-data-representation.html 2017-12-12T09:35:02Z jackdaniel: very interesting blog btw 2017-12-12T09:35:07Z yeticry joined #lisp 2017-12-12T09:35:33Z _cosmonaut_ joined #lisp 2017-12-12T09:35:51Z Sigyn quit (Quit: NO HEARTBEAT, NO SERVICE.) 2017-12-12T09:36:19Z Sigyn joined #lisp 2017-12-12T09:37:10Z SuperJen quit (Remote host closed the connection) 2017-12-12T09:37:33Z SuperJen joined #lisp 2017-12-12T09:50:07Z Jen joined #lisp 2017-12-12T09:50:31Z Jen is now known as Guest28285 2017-12-12T09:50:41Z djh_ is now known as djh 2017-12-12T09:53:27Z SuperJen quit (Ping timeout: 240 seconds) 2017-12-12T09:57:01Z heurist`_ quit (Ping timeout: 260 seconds) 2017-12-12T09:57:20Z heurist`_ joined #lisp 2017-12-12T09:58:46Z yeticry quit (Ping timeout: 260 seconds) 2017-12-12T09:58:55Z fikka joined #lisp 2017-12-12T10:03:45Z fikka quit (Ping timeout: 248 seconds) 2017-12-12T10:06:06Z yeticry joined #lisp 2017-12-12T10:07:22Z fikka joined #lisp 2017-12-12T10:07:30Z dddddd joined #lisp 2017-12-12T10:10:47Z zaquest quit (Remote host closed the connection) 2017-12-12T10:10:57Z heurist_ joined #lisp 2017-12-12T10:11:35Z heurist`_ quit (Ping timeout: 240 seconds) 2017-12-12T10:13:32Z zaquest joined #lisp 2017-12-12T10:14:09Z orivej quit (Ping timeout: 250 seconds) 2017-12-12T10:14:13Z pjb` is now known as pjb 2017-12-12T10:14:16Z orivej joined #lisp 2017-12-12T10:14:24Z smurfrobot joined #lisp 2017-12-12T10:15:53Z heurist`_` joined #lisp 2017-12-12T10:16:20Z heurist_ quit (Ping timeout: 268 seconds) 2017-12-12T10:25:20Z EvW joined #lisp 2017-12-12T10:29:35Z EvW quit (Ping timeout: 240 seconds) 2017-12-12T10:31:06Z ii` joined #lisp 2017-12-12T10:32:57Z smurfrobot quit (Remote host closed the connection) 2017-12-12T10:34:20Z AlexeyKamenew joined #lisp 2017-12-12T10:38:23Z rbo joined #lisp 2017-12-12T10:40:30Z AlexeyKamenew quit 2017-12-12T10:41:27Z yeticry quit (Ping timeout: 240 seconds) 2017-12-12T10:47:21Z ii` quit (Remote host closed the connection) 2017-12-12T10:49:31Z BitPuffin|osx quit (Ping timeout: 260 seconds) 2017-12-12T10:56:06Z marvin3 left #lisp 2017-12-12T10:57:12Z raynold joined #lisp 2017-12-12T10:57:35Z smurfrobot joined #lisp 2017-12-12T10:59:45Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-12T11:05:54Z yeticry joined #lisp 2017-12-12T11:06:59Z m00natic joined #lisp 2017-12-12T11:08:55Z igemnace joined #lisp 2017-12-12T11:10:25Z EvW1 joined #lisp 2017-12-12T11:10:55Z lrvy joined #lisp 2017-12-12T11:10:57Z attila_lendvai joined #lisp 2017-12-12T11:10:57Z attila_lendvai quit (Changing host) 2017-12-12T11:10:57Z attila_lendvai joined #lisp 2017-12-12T11:11:39Z smurfrobot quit (Remote host closed the connection) 2017-12-12T11:14:39Z mishoo joined #lisp 2017-12-12T11:16:09Z yeticry quit (Ping timeout: 268 seconds) 2017-12-12T11:17:41Z mooshmoosh joined #lisp 2017-12-12T11:21:17Z heurist__ joined #lisp 2017-12-12T11:22:09Z heurist`_` quit (Ping timeout: 248 seconds) 2017-12-12T11:22:20Z mooshmoosh quit (Ping timeout: 255 seconds) 2017-12-12T11:23:18Z smurfrobot joined #lisp 2017-12-12T11:28:56Z yeticry joined #lisp 2017-12-12T11:35:46Z red-dot joined #lisp 2017-12-12T11:36:35Z rbo quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-12T11:40:12Z smurfrobot quit (Remote host closed the connection) 2017-12-12T11:41:14Z lrvy left #lisp 2017-12-12T11:42:29Z smurfrobot joined #lisp 2017-12-12T11:48:48Z flamebeard_ joined #lisp 2017-12-12T11:49:51Z peterhil` joined #lisp 2017-12-12T11:50:09Z Bike joined #lisp 2017-12-12T11:50:27Z Tobbi joined #lisp 2017-12-12T11:50:38Z mooshmoosh joined #lisp 2017-12-12T11:51:57Z flamebeard quit (Ping timeout: 240 seconds) 2017-12-12T11:51:57Z peterhil quit (Ping timeout: 240 seconds) 2017-12-12T11:54:44Z EvW1 quit (Ping timeout: 255 seconds) 2017-12-12T12:08:09Z eSVG quit (Ping timeout: 246 seconds) 2017-12-12T12:08:55Z smurfrobot quit (Remote host closed the connection) 2017-12-12T12:10:07Z smurfrobot joined #lisp 2017-12-12T12:15:22Z wxie joined #lisp 2017-12-12T12:18:05Z yeticry quit (Ping timeout: 250 seconds) 2017-12-12T12:20:32Z yeticry joined #lisp 2017-12-12T12:26:00Z knobo1 quit (Quit: WeeChat 1.7) 2017-12-12T12:26:51Z flamebeard_ is now known as flamebeard 2017-12-12T12:29:24Z rumbler31 joined #lisp 2017-12-12T12:29:35Z mooshmoosh quit (Ping timeout: 255 seconds) 2017-12-12T12:31:42Z rumbler31 quit (Remote host closed the connection) 2017-12-12T12:32:46Z smurfrobot quit (Remote host closed the connection) 2017-12-12T12:36:19Z dddddd quit (Ping timeout: 268 seconds) 2017-12-12T12:36:45Z SaganMan joined #lisp 2017-12-12T12:37:53Z wxie quit (Quit: Bye.) 2017-12-12T12:39:59Z yeticry quit (Ping timeout: 248 seconds) 2017-12-12T12:40:23Z mrottenkolber_ is now known as kolb 2017-12-12T12:41:19Z margeas joined #lisp 2017-12-12T12:41:41Z fnodeuser joined #lisp 2017-12-12T12:45:41Z fnodeuser left #lisp 2017-12-12T12:47:26Z yeticry joined #lisp 2017-12-12T12:48:18Z TCZ joined #lisp 2017-12-12T12:53:40Z TCZ quit (Quit: Leaving) 2017-12-12T13:07:57Z _cosmonaut_ quit (Ping timeout: 240 seconds) 2017-12-12T13:08:27Z epony quit (Quit: QUIT) 2017-12-12T13:08:44Z heurist joined #lisp 2017-12-12T13:08:48Z jack_rabbit quit (Ping timeout: 248 seconds) 2017-12-12T13:09:21Z heurist__ quit (Ping timeout: 248 seconds) 2017-12-12T13:13:09Z Kevslinger joined #lisp 2017-12-12T13:13:35Z heurist quit (Ping timeout: 240 seconds) 2017-12-12T13:14:24Z heurist joined #lisp 2017-12-12T13:16:30Z SaganMan quit (Quit: WeeChat 1.6) 2017-12-12T13:20:27Z orivej quit (Ping timeout: 240 seconds) 2017-12-12T13:21:19Z heurist` joined #lisp 2017-12-12T13:21:57Z Xal quit (Ping timeout: 240 seconds) 2017-12-12T13:22:21Z jack_rabbit joined #lisp 2017-12-12T13:22:27Z heurist quit (Ping timeout: 240 seconds) 2017-12-12T13:24:38Z Xal joined #lisp 2017-12-12T13:25:08Z _cosmonaut_ joined #lisp 2017-12-12T13:29:04Z eSVG joined #lisp 2017-12-12T13:31:26Z nalkri joined #lisp 2017-12-12T13:32:52Z Sigyn quit (Quit: NO HEARTBEAT, NO SERVICE.) 2017-12-12T13:33:24Z Sigyn joined #lisp 2017-12-12T13:33:35Z momofarm quit (Ping timeout: 240 seconds) 2017-12-12T13:35:17Z Amplituhedron quit (Ping timeout: 255 seconds) 2017-12-12T13:35:19Z myrkraverk: Is my assumption correct, that :below (foo) is only eval'd once? In (:loop :for bar :from 0 :below (foo) ... ) 2017-12-12T13:35:44Z Xal quit (Ping timeout: 255 seconds) 2017-12-12T13:36:21Z orivej joined #lisp 2017-12-12T13:36:37Z beach: Yes. 2017-12-12T13:37:26Z myrkraverk: Good. 2017-12-12T13:37:39Z Xal joined #lisp 2017-12-12T13:38:07Z myrkraverk: I tried "simplifying" my code, and got rid of a variable from (sb-posix:read ...) 2017-12-12T13:38:41Z myrkraverk: And while I'm doing SBCL specfic stuff, I try not to let my guesses and tests rule the world. 2017-12-12T13:39:13Z murii quit (Ping timeout: 268 seconds) 2017-12-12T13:39:24Z beach: clhs 6.1.2.1.1 2017-12-12T13:39:24Z specbot: The for-as-arithmetic subclause: http://www.lispworks.com/reference/HyperSpec/Body/06_abaa.htm 2017-12-12T13:39:40Z beach: "Each expression is evaluated only once ..." 2017-12-12T13:43:54Z myrkraverk: Awesome. 2017-12-12T13:45:40Z mfiano: myrkraverk: Also note that ":from 0" is un-needed in this context. 2017-12-12T13:46:02Z myrkraverk: Ah, my code can be even simpler. 2017-12-12T13:46:47Z myrkraverk: (loop :for i :below (sb-posix:read fd (sb-sys:vector-sap buffer) (length buffer)) ... ) 2017-12-12T13:46:52Z raphaelss joined #lisp 2017-12-12T13:50:20Z Trasformatore joined #lisp 2017-12-12T13:50:21Z myrkraverk: Later, I have :with v := 10 ... and then :finally (return v) ; do I need the (return v) or is there another way to specify the return value of LOOP? 2017-12-12T13:51:40Z mfiano: certain clauses imply a return value, such as the last `collect`. You can either do it as you are now, or wrap it in a let variable. 2017-12-12T13:51:41Z beach: myrkraverk: collect, sum, etc provide a return value implicitly. 2017-12-12T13:51:53Z _Trasformatore_ quit (Ping timeout: 276 seconds) 2017-12-12T13:52:04Z EvW joined #lisp 2017-12-12T13:52:05Z myrkraverk: I'm doing custom arithmetic. 2017-12-12T13:52:17Z myrkraverk: On the buffer array. 2017-12-12T13:52:47Z myrkraverk: But maybe I can wrap in in :sum. 2017-12-12T13:53:05Z mfiano: I'm sorry not the last `collect` but all. 2017-12-12T13:54:19Z myrkraverk: I don't see a way to put my custom arithmetic in a :sum. 2017-12-12T13:54:29Z myrkraverk: so I'll keep my code as is. 2017-12-12T13:54:38Z mfiano: That is a fine choice. 2017-12-12T13:54:57Z beach: myrkraverk: No need to force it if it doesn't fit your needs. I was just answering your question. 2017-12-12T13:55:12Z myrkraverk: right, thanks 2017-12-12T13:57:21Z yeticry quit (Ping timeout: 260 seconds) 2017-12-12T13:57:22Z hhdave joined #lisp 2017-12-12T14:02:04Z Bike_ joined #lisp 2017-12-12T14:02:10Z Bike_ is now known as Bicyclidine 2017-12-12T14:03:04Z cpape` quit (Read error: Connection reset by peer) 2017-12-12T14:04:17Z wigust joined #lisp 2017-12-12T14:06:20Z orivej quit (Ping timeout: 255 seconds) 2017-12-12T14:12:59Z orivej joined #lisp 2017-12-12T14:14:45Z Murii joined #lisp 2017-12-12T14:17:51Z orivej quit (Ping timeout: 240 seconds) 2017-12-12T14:20:32Z Murii quit (Ping timeout: 255 seconds) 2017-12-12T14:21:19Z orivej joined #lisp 2017-12-12T14:21:23Z Murii joined #lisp 2017-12-12T14:32:14Z rumbler31 joined #lisp 2017-12-12T14:37:11Z rumbler31 quit (Ping timeout: 268 seconds) 2017-12-12T14:40:16Z fikka quit (Ping timeout: 268 seconds) 2017-12-12T14:40:40Z wheelsucker joined #lisp 2017-12-12T14:43:53Z fikka joined #lisp 2017-12-12T14:51:25Z cromachina quit (Read error: Connection reset by peer) 2017-12-12T14:51:38Z FreeBirdLjj joined #lisp 2017-12-12T14:52:20Z EvW quit (Ping timeout: 276 seconds) 2017-12-12T14:53:21Z fikka quit (Ping timeout: 248 seconds) 2017-12-12T14:53:39Z quazimodo quit (Ping timeout: 250 seconds) 2017-12-12T14:59:08Z Cymew joined #lisp 2017-12-12T15:00:31Z EvW joined #lisp 2017-12-12T15:00:47Z oleo2 joined #lisp 2017-12-12T15:01:45Z yeticry joined #lisp 2017-12-12T15:01:51Z hhdave quit (Ping timeout: 268 seconds) 2017-12-12T15:02:11Z oleo joined #lisp 2017-12-12T15:02:41Z Tobbi quit (Remote host closed the connection) 2017-12-12T15:02:50Z orivej quit (Remote host closed the connection) 2017-12-12T15:03:02Z Tobbi joined #lisp 2017-12-12T15:08:12Z orivej joined #lisp 2017-12-12T15:09:26Z xrash joined #lisp 2017-12-12T15:10:14Z damke_ joined #lisp 2017-12-12T15:10:57Z jmercouris joined #lisp 2017-12-12T15:11:49Z warweasle joined #lisp 2017-12-12T15:12:15Z damke quit (Ping timeout: 246 seconds) 2017-12-12T15:17:47Z oleo2 quit (Remote host closed the connection) 2017-12-12T15:18:22Z oleo2 joined #lisp 2017-12-12T15:19:16Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-12T15:21:35Z zaquest quit (Remote host closed the connection) 2017-12-12T15:23:32Z oleo2 quit (Quit: Leaving) 2017-12-12T15:23:56Z zooey quit (Ping timeout: 248 seconds) 2017-12-12T15:25:51Z lnostdal quit (Ping timeout: 248 seconds) 2017-12-12T15:27:17Z zaquest joined #lisp 2017-12-12T15:29:08Z zooey joined #lisp 2017-12-12T15:30:36Z warweasle: Can someone point me to a simple cl-autowrap project? Where they create the json files and then use them in their package. 2017-12-12T15:32:23Z warweasle: I meant .spec files. 2017-12-12T15:32:45Z loke`: warweasle: WHat is that? 2017-12-12T15:33:12Z warweasle: loke`: It's a quick way to make cffi bindings for C libraries. 2017-12-12T15:33:16Z igemnace quit (Quit: WeeChat 2.0) 2017-12-12T15:33:24Z loke`: warweasle: Sounds liek a useful thing. 2017-12-12T15:33:51Z loke`: I have two CFFI-based projects on QL and I've created those binding smanually. 2017-12-12T15:33:54Z peterhil` quit (Read error: Connection reset by peer) 2017-12-12T15:34:06Z warweasle: loke`: I have a couple too, but I want to redo them. 2017-12-12T15:34:48Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-12T15:35:57Z peterhil joined #lisp 2017-12-12T15:36:05Z Tobbi joined #lisp 2017-12-12T15:36:15Z jmercouris: This is not strictly a common lisp question, but a regex one 2017-12-12T15:36:50Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-12T15:36:57Z jmercouris: I'm trying to figure out the regex to get "a string of stops salmon", and I want to find given input "st", the position of "stops" and "string" 2017-12-12T15:37:26Z jmercouris: I tried something like "\b["st"]" but I don't think that works 2017-12-12T15:38:53Z rumbler31 joined #lisp 2017-12-12T15:39:26Z Guest28285 quit (Remote host closed the connection) 2017-12-12T15:39:52Z Guest28285 joined #lisp 2017-12-12T15:39:53Z hexfive joined #lisp 2017-12-12T15:40:04Z jmercouris: I also tried \st\b but the syntax is confusing me, I got so used to emacs regex, and it keeps changing for every language 2017-12-12T15:40:19Z jmercouris: I wish there was a standardized way of writing regex 2017-12-12T15:41:27Z Bicyclidine: it kind of goes badly with the string syntax. for ppcre to see a backslash b, the lisp string would be "\\b" 2017-12-12T15:41:37Z Bicyclidine: "\b" means the b is escaped, so it's the same as "b" 2017-12-12T15:42:09Z jackdaniel: "\\b" means backslash b 2017-12-12T15:42:19Z jackdaniel: "\\\\b" is also funny 2017-12-12T15:42:30Z jackdaniel: all these are important for pathnames 2017-12-12T15:42:35Z jackdaniel: especially on windows 2017-12-12T15:42:44Z jackdaniel: and for arguments to run-program 2017-12-12T15:43:14Z loke`: jmercouris: I'm not sure I understand what you want... Do you want to match any word beginning with "st"? 2017-12-12T15:43:20Z jmercouris: loke`: correct 2017-12-12T15:43:28Z loke`: jmercouris: That's pretty easy 2017-12-12T15:44:32Z Bicyclidine: (ppcre:all-matches "\\bst" "a string of stops salmon") => (2 4 12 14) 2017-12-12T15:44:40Z rumbler31: there was a blog post on making this suck less in emacs 2017-12-12T15:44:59Z loke`: jmercouris: Use this: "\\W(st\w+)" 2017-12-12T15:45:07Z jdz: cl-ppcre also supports the symbolic notation. 2017-12-12T15:45:14Z loke`: Oops 2017-12-12T15:45:19Z loke`: jmercouris: Use this: "\\W(st\\w+)" 2017-12-12T15:45:34Z warweasle: In cl-autowrap, Am I supposed to export it's functions directly or are they just thin wrappers around the library? 2017-12-12T15:45:35Z jmercouris: I'll give it a try, thank you all for your help 2017-12-12T15:46:09Z jdz: (ppcre:scan-to-strings '(:sequence :word-boundary "st") your-string) 2017-12-12T15:46:33Z lnostdal joined #lisp 2017-12-12T15:46:39Z rumbler31: https://www.masteringemacs.org/article/re-builder-interactive-regexp-builder 2017-12-12T15:47:03Z loke`: jdz: He wants to cover the entire word, yes? So he needs \w+ after 2017-12-12T15:47:06Z rumbler31: ^ talks about adding emacs settings that make some of the pain go away, and explain what's going on 2017-12-12T15:47:15Z loke` is now known as loke 2017-12-12T15:47:22Z attila_lendvai quit (Ping timeout: 260 seconds) 2017-12-12T15:49:07Z attila_lendvai joined #lisp 2017-12-12T15:49:07Z attila_lendvai quit (Changing host) 2017-12-12T15:49:07Z attila_lendvai joined #lisp 2017-12-12T15:50:03Z lisp_guest joined #lisp 2017-12-12T15:50:14Z jmercouris: rumbler31: I dont necessarily want the word, just the index of the word 2017-12-12T15:50:28Z jdz: jmercouris: you can also do (ppcre:parse-string "\\W(st\w+)") to see if it does what you expect. 2017-12-12T15:50:56Z jdz: Which should immediately highlight any escaping problems. 2017-12-12T15:51:03Z Arcaelyx quit (Quit: Textual IRC Client: www.textualapp.com) 2017-12-12T15:51:27Z jmercouris: jdz: I'm not using ppcre, but maybe I'll install it for this 2017-12-12T15:52:12Z Bicyclidine: wait, what were you using then? 2017-12-12T15:52:13Z jdz: Back in the day Edi had the regexp-coach (that used cl-ppcre) GUI application. Not sure it is still ovailable. 2017-12-12T15:52:17Z wigust_ joined #lisp 2017-12-12T15:52:24Z jmercouris: Bicyclidine: cl-string-match 2017-12-12T15:52:53Z Bicyclidine: "A simple backtracking regular expressions engine" oh no 2017-12-12T15:52:56Z dim: jdz: there must be half a dozen websites doing that, right? 2017-12-12T15:53:15Z jdz: dim: sure, and there is also M-x regexp-builder 2017-12-12T15:53:26Z wigust quit (Ping timeout: 260 seconds) 2017-12-12T15:53:44Z dim: https://regexr.com seems to be one of them 2017-12-12T15:54:17Z jdz: Back in the day I don't remember any websites doing it, probably because JavaScript was not cross-browser. 2017-12-12T15:54:41Z dim: yeah, same, but the year is now 2017 ;-) 2017-12-12T15:54:58Z dim: (won't be that for very long, too) 2017-12-12T16:01:11Z jmercouris quit (Ping timeout: 240 seconds) 2017-12-12T16:01:13Z eudoxia joined #lisp 2017-12-12T16:01:31Z Cymew quit (Remote host closed the connection) 2017-12-12T16:02:14Z EvW quit (Ping timeout: 255 seconds) 2017-12-12T16:03:46Z FreeBirdLjj joined #lisp 2017-12-12T16:05:32Z smurfrobot joined #lisp 2017-12-12T16:07:47Z Cymew joined #lisp 2017-12-12T16:08:05Z pseudonymous joined #lisp 2017-12-12T16:09:47Z EvW joined #lisp 2017-12-12T16:09:56Z Cymew_ joined #lisp 2017-12-12T16:12:24Z margeas is now known as markong 2017-12-12T16:12:27Z Cymew quit (Ping timeout: 240 seconds) 2017-12-12T16:14:25Z Cymew_ quit (Ping timeout: 248 seconds) 2017-12-12T16:16:03Z Cymew joined #lisp 2017-12-12T16:17:32Z asarch joined #lisp 2017-12-12T16:17:59Z cpape` joined #lisp 2017-12-12T16:20:41Z Cymew quit (Ping timeout: 255 seconds) 2017-12-12T16:22:14Z raphaelss quit (Remote host closed the connection) 2017-12-12T16:22:43Z dec0n_ joined #lisp 2017-12-12T16:22:59Z dec0n_ quit (Remote host closed the connection) 2017-12-12T16:23:10Z dec0n_ joined #lisp 2017-12-12T16:26:57Z dec0n quit (Ping timeout: 268 seconds) 2017-12-12T16:27:53Z Mon_Ouie quit (Ping timeout: 276 seconds) 2017-12-12T16:29:36Z brendyn quit (Ping timeout: 246 seconds) 2017-12-12T16:31:12Z fikka joined #lisp 2017-12-12T16:33:11Z zmt00 joined #lisp 2017-12-12T16:34:28Z brendyn joined #lisp 2017-12-12T16:35:43Z fikka quit (Ping timeout: 248 seconds) 2017-12-12T16:37:17Z rippa joined #lisp 2017-12-12T16:37:48Z BitPuffin|osx joined #lisp 2017-12-12T16:39:10Z compro joined #lisp 2017-12-12T16:39:24Z EvW quit (Ping timeout: 246 seconds) 2017-12-12T16:41:34Z flamebeard quit (Quit: Leaving) 2017-12-12T16:46:20Z dec0n_ quit (Read error: Connection reset by peer) 2017-12-12T16:46:32Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-12T16:48:54Z Xach: mfiano: gamebox-grids doesn't build for me today - macro-looking problem 2017-12-12T16:49:04Z Xach: mfiano: http://report.quicklisp.org/2017-12-12/failure-report/gamebox-grids.html#gamebox-grids has a log 2017-12-12T16:49:52Z mfiano: Xach: Thanks, I see the problem and I can push a fix in a couple hours. 2017-12-12T16:50:18Z Xach: mfiano: is it in a supporting library? 2017-12-12T16:50:32Z mfiano: Yes, gamebox-math changed it's API considerably. 2017-12-12T16:51:07Z FreeBirdLjj joined #lisp 2017-12-12T16:51:28Z Xach: you should scold the author thoroughly 2017-12-12T16:52:20Z mfiano: Indeed, I should remember that I have old libraries in Quicklisp that even I don't use anymore, but I should still maintain them! 2017-12-12T16:52:27Z pmcana quit (Quit: Connection closed for inactivity) 2017-12-12T16:53:46Z jackdaniel: Xach: is it easy for you to test if changes doesn't break something before merging them to main branch? 2017-12-12T16:53:53Z jackdaniel: I have this PR against CLX: https://github.com/sharplispers/clx/pull/87 2017-12-12T16:54:11Z jackdaniel: which comes from develop branch and it enables bunch of extensions which I hopefully fixed (at least from the compilation perspective) 2017-12-12T16:54:20Z Xach: jackdaniel: somewhat easy to try it 2017-12-12T16:54:58Z jackdaniel: I would appreciate it a lot, because I remember that last time I've touched these parts I've caused a regression 2017-12-12T16:55:50Z Xach: jackdaniel: are there runtime tests i could try? 2017-12-12T16:56:10Z Xach: for clx i worry that a successful build is only half the battle 2017-12-12T16:56:26Z FreeBirdLjj quit (Ping timeout: 260 seconds) 2017-12-12T16:56:38Z jackdaniel: sure, I've added Display tests (activated with asdf:test-system). but for "visual" stuff you want clx/demo system – note that many demos there didn't work before PR 2017-12-12T16:56:49Z jackdaniel: I've tested changes with McCLIM on ECL, CCL and SBCL 2017-12-12T16:57:10Z Xach: how about stumpwm? 2017-12-12T16:57:26Z jackdaniel: and it worked fine (even better for CCL, because previously it didn't work with CLX when loaded from outside software/) 2017-12-12T16:57:31Z jackdaniel: I haven't 2017-12-12T16:57:56Z jackdaniel: I once tried to run stumpwm, but failed miserably (that was a few years ago) 2017-12-12T16:58:15Z Xach: at least it wasn't a few minutes ago, with your new branch! 2017-12-12T16:59:05Z jackdaniel: hm, I'll install xephyr then and try to debug. thank you 2017-12-12T17:01:47Z jackdaniel: Xach: it started for me from SBCL without a problem 2017-12-12T17:05:24Z jackdaniel: (proof: http://hellsgate.pl/files/27e157a9) 2017-12-12T17:06:38Z rm8 joined #lisp 2017-12-12T17:07:07Z Jesin joined #lisp 2017-12-12T17:07:45Z random-nick joined #lisp 2017-12-12T17:09:35Z orivej quit (Ping timeout: 240 seconds) 2017-12-12T17:09:52Z orivej joined #lisp 2017-12-12T17:10:58Z Cymew joined #lisp 2017-12-12T17:12:09Z varjag quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-12-12T17:14:13Z random-nick quit (Remote host closed the connection) 2017-12-12T17:15:27Z Cymew quit (Ping timeout: 240 seconds) 2017-12-12T17:16:26Z terpri quit (Remote host closed the connection) 2017-12-12T17:16:52Z Karl_Dscc joined #lisp 2017-12-12T17:17:16Z Cymew joined #lisp 2017-12-12T17:18:59Z smurfrobot quit (Remote host closed the connection) 2017-12-12T17:19:03Z tomlukeywood joined #lisp 2017-12-12T17:21:31Z Cymew quit (Ping timeout: 240 seconds) 2017-12-12T17:22:42Z Fade: I use stumpwm 2017-12-12T17:23:04Z Fade: I could test. 2017-12-12T17:23:07Z Cymew joined #lisp 2017-12-12T17:24:11Z jackdaniel: cool 2017-12-12T17:24:18Z jackdaniel: Fade: https://github.com/sharplispers/clx/tree/develop this branch 2017-12-12T17:24:49Z jackdaniel: /develop/ 2017-12-12T17:25:13Z Fade: give me a few minutes 2017-12-12T17:25:33Z terpri joined #lisp 2017-12-12T17:25:39Z jackdaniel: no rush, I'm finishing now my older PR with mapping-notify 2017-12-12T17:26:03Z Devon joined #lisp 2017-12-12T17:27:31Z Cymew quit (Ping timeout: 240 seconds) 2017-12-12T17:28:32Z markong quit (Remote host closed the connection) 2017-12-12T17:29:17Z Cymew joined #lisp 2017-12-12T17:31:18Z FreeBirdLjj joined #lisp 2017-12-12T17:33:23Z Fade: well, stump builds clean. 2017-12-12T17:33:29Z Fade: I'll restart my session in a bit. 2017-12-12T17:33:53Z Cymew quit (Ping timeout: 248 seconds) 2017-12-12T17:35:16Z Cymew joined #lisp 2017-12-12T17:38:48Z eudoxia quit (Quit: Leaving) 2017-12-12T17:39:01Z FreeBirdLjj quit (Ping timeout: 260 seconds) 2017-12-12T17:39:45Z Cymew quit (Ping timeout: 248 seconds) 2017-12-12T17:40:35Z bailon quit (Ping timeout: 258 seconds) 2017-12-12T17:41:14Z Cymew joined #lisp 2017-12-12T17:42:47Z tomlukeywood quit (Read error: Connection reset by peer) 2017-12-12T17:42:52Z tomlukeywood1 joined #lisp 2017-12-12T17:42:54Z bailon joined #lisp 2017-12-12T17:44:07Z oleo2 joined #lisp 2017-12-12T17:44:19Z Fade: my environment starts up, with no visible regression. 2017-12-12T17:45:27Z Cymew quit (Ping timeout: 240 seconds) 2017-12-12T17:46:00Z rumbler31 quit (Remote host closed the connection) 2017-12-12T17:47:15Z Cymew joined #lisp 2017-12-12T17:47:42Z jackdaniel: thank you 2017-12-12T17:47:58Z jackdaniel: Xach: do you have more details how it fails on your host? 2017-12-12T17:51:03Z oleo2 quit (Quit: Leaving) 2017-12-12T17:51:22Z screaming_mouse joined #lisp 2017-12-12T17:51:35Z Cymew quit (Ping timeout: 240 seconds) 2017-12-12T17:53:17Z Cymew joined #lisp 2017-12-12T17:55:43Z screaming_mouse quit (Remote host closed the connection) 2017-12-12T17:56:45Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-12T17:57:35Z Cymew quit (Ping timeout: 240 seconds) 2017-12-12T17:58:09Z epony joined #lisp 2017-12-12T17:59:24Z Cymew joined #lisp 2017-12-12T18:01:31Z FreeBirdLjj joined #lisp 2017-12-12T18:01:33Z m00natic quit (Read error: Connection reset by peer) 2017-12-12T18:03:34Z Devon quit (Quit: rcirc on GNU Emacs 26.0.90) 2017-12-12T18:03:58Z Devon joined #lisp 2017-12-12T18:04:06Z Cymew quit (Ping timeout: 260 seconds) 2017-12-12T18:05:29Z Cymew joined #lisp 2017-12-12T18:06:11Z FreeBirdLjj quit (Ping timeout: 255 seconds) 2017-12-12T18:06:26Z turkja quit (Ping timeout: 260 seconds) 2017-12-12T18:08:20Z FreeBirdLjj joined #lisp 2017-12-12T18:08:26Z SaganMan joined #lisp 2017-12-12T18:09:47Z Cymew quit (Ping timeout: 255 seconds) 2017-12-12T18:12:27Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-12-12T18:15:18Z SuperJen joined #lisp 2017-12-12T18:18:39Z Guest28285 quit (Ping timeout: 248 seconds) 2017-12-12T18:18:55Z FreeBirdLjj joined #lisp 2017-12-12T18:19:29Z fikka joined #lisp 2017-12-12T18:21:10Z rm8 quit (Remote host closed the connection) 2017-12-12T18:22:04Z rm8 joined #lisp 2017-12-12T18:22:24Z ebrasca quit (Read error: Connection reset by peer) 2017-12-12T18:22:37Z ebrasca joined #lisp 2017-12-12T18:23:27Z FreeBirdLjj quit (Ping timeout: 248 seconds) 2017-12-12T18:24:12Z SaganMan quit (Quit: WeeChat 1.6) 2017-12-12T18:24:53Z fikka quit (Ping timeout: 276 seconds) 2017-12-12T18:25:17Z FreeBirdLjj joined #lisp 2017-12-12T18:30:05Z FreeBirdLjj quit (Ping timeout: 276 seconds) 2017-12-12T18:30:13Z epony quit (Remote host closed the connection) 2017-12-12T18:32:22Z emaczen joined #lisp 2017-12-12T18:34:00Z emaczen: how do I enforce a form to be accessible by only one thread at a time in terms of bordeaux threads? 2017-12-12T18:35:32Z shka: emaczen: use lock 2017-12-12T18:35:50Z shka: with-lock-held is a macro that ensures safety 2017-12-12T18:36:09Z shka: but basicly posix style mutexes 2017-12-12T18:37:36Z shka: emaczen: clear enough? 2017-12-12T18:38:30Z emaczen: shka: I think, I'm not that familiar with concurrency in general, but I understand the concept 2017-12-12T18:38:47Z shka: i see 2017-12-12T18:39:08Z shka: anyway, nothing fancy here 2017-12-12T18:39:19Z shka: BT is low (system) level system 2017-12-12T18:40:14Z rumbler31 joined #lisp 2017-12-12T18:40:18Z shka: it offers basic stuff that can be used to build more complex logic 2017-12-12T18:40:43Z emaczen: Why do I have to create a lock here? Can't bt determine that entry into the form is what needs to be controlled? 2017-12-12T18:41:02Z shka: it can't 2017-12-12T18:41:17Z shka: anyway 2017-12-12T18:41:18Z shka: you don't control form 2017-12-12T18:41:30Z shka: you control access to variables 2017-12-12T18:41:53Z shka: you don't care about access to (+ 2 2) 2017-12-12T18:42:09Z emaczen: So you make locks around variables? 2017-12-12T18:42:21Z shka: but you care a lot about (incf a 2) 2017-12-12T18:42:32Z shka: more often then not, yes 2017-12-12T18:42:49Z emaczen: shka: Ok, I think I got it 2017-12-12T18:43:34Z shka: great 2017-12-12T18:45:08Z shka: von neuman machines are not all that lispy ;-) 2017-12-12T18:46:55Z FreeBirdLjj joined #lisp 2017-12-12T18:47:26Z raphaelss joined #lisp 2017-12-12T18:50:29Z emaczen: shka: is there a good mechanism for controlling forms? Is that desirable in lisp? 2017-12-12T18:50:40Z emaczen: emaczen: that is just kind of how I was thinking about it 2017-12-12T18:50:57Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-12-12T18:51:55Z shka: emaczen: you don't want to control evaluation of forms, you want to control memory access 2017-12-12T18:52:13Z shka: that's one level below 2017-12-12T18:53:00Z shka: and with-lock-held is ok 2017-12-12T18:53:25Z shka: on sbcl, it will even error out when recursive lock will be performed 2017-12-12T18:53:25Z Ven`` joined #lisp 2017-12-12T18:53:29Z shka: which is just great 2017-12-12T18:53:46Z shka: and saves a lot of time sometimes 2017-12-12T18:54:48Z emaczen: where exactly do you place your locks? I have a form which calls a function #'add-row which mutates a table, which is what I need to lock. 2017-12-12T18:55:00Z emaczen: err nvm 2017-12-12T18:55:10Z emaczen: Where do you place the bt:with-lock-held is what I meant 2017-12-12T18:56:02Z FreeBirdLjj joined #lisp 2017-12-12T18:56:42Z shka: above setf! 2017-12-12T18:56:52Z shka: or aref 2017-12-12T18:57:00Z emaczen: Above code that calls setf? 2017-12-12T18:57:02Z shka: anyway, above access to memory 2017-12-12T18:57:35Z shka: (with-lock-held (lock) (aref a i j) (setf (aref a i j) 5)) 2017-12-12T18:57:50Z shka: nothing related to lisp directly 2017-12-12T18:57:56Z shka: ok, got to go 2017-12-12T18:58:04Z shka: you will figure this out on your own 2017-12-12T18:58:18Z lisp_guest: emaczen: you want to scynchronize access to data, not code 2017-12-12T18:58:25Z emaczen: shka: thanks 2017-12-12T18:58:43Z lisp_guest: you place locks around code that works on data that's shared between threads 2017-12-12T18:59:30Z lisp_guest: the fundamental problem you want to avoid is basically 2 or more threads partying on the same memory at the same time 2017-12-12T19:00:27Z FreeBirdLjj quit (Ping timeout: 246 seconds) 2017-12-12T19:00:42Z emaczen: how do I control a loop variable? (loop for var in vars do (bt:make-thread (lambda () ...))) 2017-12-12T19:00:47Z shka: emaczen: also, it is sometimes possible to avoid placing locks by using other guarantees of exclusive memory write 2017-12-12T19:01:09Z lisp_guest: emaczen: why would you control the loop variable? 2017-12-12T19:01:13Z shka: emaczen: establish new lexical env around make thread 2017-12-12T19:01:34Z shka: (loop for var in vars do (let ((var var)) (bt:make-thread (lambda () ...)) 2017-12-12T19:01:54Z lisp_guest: shka: why would that be required? doesn't loop itself create a lexical binding? 2017-12-12T19:02:32Z shka: lisp_guest: loop establishes lexical envs just one, then it mutates bindings in it 2017-12-12T19:02:43Z shka: establishing separate env, will prevent inner var value from being changed by loop 2017-12-12T19:02:57Z lisp_guest: right, but it does so for every evaluation of LOOP 2017-12-12T19:03:17Z shka: exactly 2017-12-12T19:03:32Z shka: anyway, writing code like the above is not good idea 2017-12-12T19:03:50Z shka: if vars is very long, you will end up degrading performance! 2017-12-12T19:03:56Z shka: use lparallel and pmap 2017-12-12T19:04:47Z lisp_guest: hm, how does multithreading in lisp even work? i would expect every thread to have its own lexical bindings 2017-12-12T19:04:59Z jasom: lisp_guest: every thread also has its own dynamic bindings 2017-12-12T19:05:18Z lisp_guest: so how do you share data between threads? 2017-12-12T19:05:18Z jasom: lisp_guest: this is a de-facto standard (I think all implementations that implement threads do it), not part of the spec 2017-12-12T19:05:28Z jasom: lisp_guest: assignments are shared, bindings are not 2017-12-12T19:06:06Z jasom: lisp_guest: but ideally you don't share data between threads implicity anyways 2017-12-12T19:06:17Z lisp_guest: hm right, but in order to assign to something i need to have a binding first 2017-12-12T19:06:29Z lisp_guest: so if thread #1 has *var*, how does #2 assign to #1's *var*? 2017-12-12T19:06:46Z jasom: lisp_guest: defvar *assigns* not binds 2017-12-12T19:07:06Z jasom: (defvar *foo*) ... (setf *foo* 'bar) 2017-12-12T19:08:09Z jasom: If you are going to use threads, I highly recommend something like lparallel; if you type the word "mutex" enough times, you are going to have bugs. 2017-12-12T19:08:27Z lisp_guest: indeed, but understanding the fundamentals first is always good 2017-12-12T19:08:55Z lisp_guest: what do you mean by assigns though? doesn't DEFVAR create a dynamic binding? 2017-12-12T19:09:01Z jasom: lisp_guest: nope 2017-12-12T19:09:19Z jasom: it establishes a variable as special in the global scope. 2017-12-12T19:09:36Z lisp_guest: hm right, i was equating that with "making a binding" 2017-12-12T19:09:41Z lisp_guest: but a special variable can be unbound 2017-12-12T19:09:44Z jasom: If there is an optional value provided, it *assigns* not *binds* 2017-12-12T19:10:12Z tomlukeywood1 left #lisp 2017-12-12T19:10:38Z jasom: that's because "bound" is used to mean "has a value" which is slightly different from "establishes a binding" because english doesn't have enough words... 2017-12-12T19:10:50Z shka: well, using mutex is that difficult on it's own, but there is much more required to implement efficient parallel program so if you are not using lparallel, you are wasting time 2017-12-12T19:11:04Z shka: *is not that 2017-12-12T19:11:08Z FreeBirdLjj joined #lisp 2017-12-12T19:11:21Z shka: that's even true for the code above 2017-12-12T19:11:25Z jasom: shka: I strongly disagree with "is not that difficult" 2017-12-12T19:11:50Z shka: you can't just create one thread for each value in list! 2017-12-12T19:12:07Z shka: you don't want to have 10 000 threads 2017-12-12T19:12:14Z shka: you really don't 2017-12-12T19:12:23Z shka: and lparallel can take care of that for you 2017-12-12T19:12:34Z jasom: manually managing acesses to mutable shared state is futile in any non-trivial program. 2017-12-12T19:12:35Z yeticry quit (Ping timeout: 240 seconds) 2017-12-12T19:13:12Z shka: also, lparallel has a lot more to often 2017-12-12T19:13:16Z shka: *offer 2017-12-12T19:13:34Z shka: plet, psort, ptree 2017-12-12T19:13:42Z jasom: I love lparallel because I can write my program sequentially, profile, and sprinkle in some parallel fairy-dust with almost zero effort 2017-12-12T19:13:46Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-12T19:13:51Z fikka joined #lisp 2017-12-12T19:13:54Z lisp_guest: jasom: oh, i'm not sure why i was confused. so DEFVAR/DEFPARAMETER act as if calling setf when setting the value, right? 2017-12-12T19:14:07Z jasom: lisp_guest: correct, it acts as SETF, not as LET 2017-12-12T19:14:26Z shka: at this point i think that not using lparallel for parallel programming is a waste of time :P 2017-12-12T19:14:27Z jackdaniel: lisp_guest: try typing one after another (defvar *foo* 3) (defvar *foo* 4) *foo* 2017-12-12T19:14:31Z lisp_guest: right. but i didn't mention DEFVAR anywhere above 2017-12-12T19:14:42Z jackdaniel: and (defparameter *bar* 3) (defparameter *bar* 4) *bar* 2017-12-12T19:14:46Z Ven`` joined #lisp 2017-12-12T19:14:59Z lisp_guest: when you said that threads have their own bindings 2017-12-12T19:15:14Z jasom: lisp_guest: SETF on a special modifies the outtermost dynamic binding of it. If that binding was established in the current thread, it is invisible to all outer threads 2017-12-12T19:15:25Z shka: lisp_guest: assigments! 2017-12-12T19:15:43Z FreeBirdLjj quit (Ping timeout: 248 seconds) 2017-12-12T19:15:47Z lisp_guest: established by way of let i suppose jasom ? 2017-12-12T19:15:52Z lisp_guest: LET 2017-12-12T19:16:02Z jasom: (let ((*foo* 1)) (bt:make-thread (lambda () (setf *foo*))) (sleep 3) *foo*) 2017-12-12T19:16:10Z jasom: (let ((*foo* 1)) (bt:make-thread (lambda () (setf *foo*2 ))) (sleep 3) *foo*) 2017-12-12T19:16:15Z jasom: (let ((*foo* 1)) (bt:make-thread (lambda () (setf *foo* 2))) (sleep 3) *foo*) 2017-12-12T19:16:23Z jasom: (sorry, cant tpye today) 2017-12-12T19:16:48Z shka: i can't type period so that's ok 2017-12-12T19:17:02Z shka: :-) 2017-12-12T19:17:03Z jasom: contrast with: (let ((*foo* 1)) (bt:make-thread (lambda () (let ((*foo* 2)) (sleep 10))) (sleep 3) *foo*) 2017-12-12T19:17:11Z lisp_guest: right. so if you don't rebind them, then *var* means the same thing in #1 and #2? 2017-12-12T19:17:20Z jasom: lisp_guest: yes 2017-12-12T19:17:22Z lisp_guest: i thought there was some invisible namespacing because of the way you put it at first 2017-12-12T19:17:25Z jasom: and if you do, then they are thread local 2017-12-12T19:17:30Z lisp_guest: right, exactly 2017-12-12T19:18:02Z lisp_guest: so then, synchronizing a LOOP variable is not required 2017-12-12T19:18:04Z jasom: and most threading libraries (including lparallel) let you setup variables that will get bound implicity on task creation, thus making them thread local. I use this e.g. for giving each thread a database connection. 2017-12-12T19:18:23Z fikka quit (Ping timeout: 248 seconds) 2017-12-12T19:18:25Z jasom: lisp_guest: I think LOOP always establishes new bindings, so yes. 2017-12-12T19:18:35Z jasom: and it will work even if the loop variable is special. 2017-12-12T19:19:07Z lisp_guest: mhm, although, using special variables for loop counters is kinda weird, no? 2017-12-12T19:19:21Z jasom: lexical bindings are lexical. The lexical scope is unaffected by threading 2017-12-12T19:19:24Z lisp_guest: well, i guess you don't always need just counters 2017-12-12T19:19:44Z FreeBirdLjj joined #lisp 2017-12-12T19:19:46Z lisp_guest: might want to loop over something global for some reason 2017-12-12T19:20:01Z jasom: (let ((x 1)) (bt:make-thread (lambda () (print x)))) <== does what you would expect. 2017-12-12T19:20:15Z lisp_guest: mhm 2017-12-12T19:21:27Z LocaMocha quit (Ping timeout: 250 seconds) 2017-12-12T19:22:03Z rumbler31 quit (Remote host closed the connection) 2017-12-12T19:22:14Z compro quit (Ping timeout: 255 seconds) 2017-12-12T19:22:14Z yeticry joined #lisp 2017-12-12T19:23:14Z jasom: so you can also use lexical bindings to communicate beween threads. But really, use a queue or a mailbox or something higher level than a shared variable for signalling. 2017-12-12T19:23:33Z rumbler31 joined #lisp 2017-12-12T19:23:35Z shka: lparallel has queue 2017-12-12T19:23:47Z shka: cross platform, ok performance 2017-12-12T19:23:53Z shka: use it, it is good 2017-12-12T19:24:01Z FreeBirdLjj quit (Ping timeout: 260 seconds) 2017-12-12T19:24:05Z jasom: shka: I'm well aware. I use queues of promises to ensure that I can collect the work of decompressing chunks of data in order to the output stream 2017-12-12T19:24:16Z emaczen quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2017-12-12T19:24:33Z shka: jasom: i thought so ;-) 2017-12-12T19:24:37Z lisp_guest: jasom: when you said "does what you would expect", you were thinking of that it creates a closure and that every thread will have x bound to the same object, right? 2017-12-12T19:25:00Z jasom: lisp_guest: correct. The only thing that matters for lexical bindings is where it is in the source code. 2017-12-12T19:25:08Z lisp_guest: yup 2017-12-12T19:25:14Z jasom: from the latin for "text" 2017-12-12T19:25:18Z Ven`` quit (Read error: Connection reset by peer) 2017-12-12T19:25:33Z jasom: which comes from Greek apparently 2017-12-12T19:25:33Z Ven`` joined #lisp 2017-12-12T19:26:52Z smurfrobot joined #lisp 2017-12-12T19:27:24Z lisp_guest: does anyone know why i'm getting this error when trying to use SSL with Drakma (GET-ing an https url) 2017-12-12T19:27:27Z lisp_guest: The alien function "CRYPTO_num_locks" is undefined. 2017-12-12T19:27:29Z lisp_guest: [Condition of type SB-KERNEL::UNDEFINED-ALIEN-FUNCTION-ERROR] 2017-12-12T19:27:45Z jasom: lisp_guest: sounds like it needs to load an external library 2017-12-12T19:28:05Z jasom: ah, it's apparently been deprecated in openssl 2017-12-12T19:28:16Z jasom: perhaps it got removed? Try forcing it to load an older version of openssl. 2017-12-12T19:29:20Z lisp_guest: is that an option within drakma or? 2017-12-12T19:29:35Z jasom: it will probably involve changing the code (M-. is your friend) 2017-12-12T19:29:55Z jasom: I don't use drakma, so can't help you there :( 2017-12-12T19:30:15Z jasom: lisp_guest: you can also check if there have been any updates to drakma since the version you have installed 2017-12-12T19:30:55Z lisp_guest: hm i guess. i'm only getting into doing HTTP with CL and have seen that drakma is what most poeple use 2017-12-12T19:31:01Z lisp_guest: is there something else you would recommend? 2017-12-12T19:32:34Z cmatei quit (Ping timeout: 268 seconds) 2017-12-12T19:32:55Z cmatei joined #lisp 2017-12-12T19:32:59Z jasom: My http on CL is all server-side, I don't know that I've ever made an HTTP request from CL. 2017-12-12T19:35:23Z lisp_guest: i've found this and the guy has the exact same problem https://ccl.clozure.com/irc-logs/lisp/2017-05/lisp-2017.05.06.txt :-) 2017-12-12T19:35:38Z attila_lendvai quit (Quit: Leaving.) 2017-12-12T19:35:49Z lisp_guest: looks like it might be due to cl+ssl 2017-12-12T19:36:37Z jasom: lisp_guest: https://github.com/cl-plus-ssl/cl-plus-ssl/issues/43 2017-12-12T19:37:04Z jasom: apparently just installing the right version of openssl works 2017-12-12T19:37:18Z lisp_guest: yeah, hah, i'll try that now 2017-12-12T19:38:05Z lisp_guest: how can i check which version of a package i have through quicklisp? 2017-12-12T19:38:18Z earl-ducaine quit (Remote host closed the connection) 2017-12-12T19:38:35Z jasom: lisp_guest: I usually just M-. and then see the name of the directory (ql puts the version string in the pathname of the source) 2017-12-12T19:38:37Z earl-ducaine joined #lisp 2017-12-12T19:38:57Z lisp_guest: jasom: what's M-. for you? dired? 2017-12-12T19:39:09Z jasom: lisp_guest: "jump to definition" in slime 2017-12-12T19:39:24Z lisp_guest: oh, and then you inspect the dir name, got it 2017-12-12T19:41:01Z lisp_guest: huh, but cl+ssl has this in its ASDF file, "(defsystem :openssl-1.1.0 ...)" 2017-12-12T19:41:12Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-12-12T19:42:08Z eudoxia joined #lisp 2017-12-12T19:44:55Z jasom: well I would just check which openssl packages are available and ensure they are installed... 2017-12-12T19:45:25Z jasom: a lot of foreign library definitions are ... not great defaults... 2017-12-12T19:46:00Z jasom: This is largely due to DLLs being inherently broken, but still... 2017-12-12T19:47:52Z attila_lendvai joined #lisp 2017-12-12T19:47:52Z attila_lendvai quit (Changing host) 2017-12-12T19:47:52Z attila_lendvai joined #lisp 2017-12-12T19:49:49Z lisp_guest: i have version OpenSSL 1.1.0 installed though. not sure why i would have to downgrade when the CL+SSL package i have seems to use OpenSSL 1.1.0 2017-12-12T19:52:18Z lisp_guest: hah wow, changing my libssl.so symlink to version 1.0 instead (which i also have installed) fixes it 2017-12-12T19:52:31Z lisp_guest: why the heck does it advertise as using 1.1.0 then 2017-12-12T19:52:55Z brendyn quit (Ping timeout: 268 seconds) 2017-12-12T19:53:16Z attila_lendvai quit (Quit: Leaving.) 2017-12-12T19:53:21Z lisp_guest: but now i might break other stuff on my pc that relies on 1.1.0 2017-12-12T19:53:24Z lisp_guest: ugh 2017-12-12T19:54:37Z Bicyclidine: i think the cl+ssl system doesn't use the 1.1.0 system. 2017-12-12T19:55:32Z yeticry quit (Ping timeout: 240 seconds) 2017-12-12T19:57:33Z FreeBirdLjj joined #lisp 2017-12-12T20:00:19Z tcr quit (Ping timeout: 268 seconds) 2017-12-12T20:01:52Z damke joined #lisp 2017-12-12T20:02:24Z FreeBirdLjj quit (Ping timeout: 246 seconds) 2017-12-12T20:03:11Z yeticry joined #lisp 2017-12-12T20:03:29Z smurfrobot quit (Remote host closed the connection) 2017-12-12T20:04:09Z damke_ quit (Ping timeout: 246 seconds) 2017-12-12T20:05:01Z jasom: If you edit the library search path to load a more version-qualified openssl, it should work and you can undo the link change. Submit a patch upstream as well, reporting which distro you are using. 2017-12-12T20:05:53Z ck_ quit (Ping timeout: 248 seconds) 2017-12-12T20:06:24Z ck_ joined #lisp 2017-12-12T20:06:56Z eudoxia quit (Quit: Leaving) 2017-12-12T20:07:35Z cmatei quit (Ping timeout: 240 seconds) 2017-12-12T20:09:39Z cmatei joined #lisp 2017-12-12T20:10:51Z attila_lendvai joined #lisp 2017-12-12T20:10:51Z attila_lendvai quit (Changing host) 2017-12-12T20:10:51Z attila_lendvai joined #lisp 2017-12-12T20:11:17Z lisp_guest: jasom: i'm very new to lisp (and especially system/package management). where exactly is this library search path? 2017-12-12T20:11:37Z jasom: lisp_guest: look for define foreign library 2017-12-12T20:11:58Z jasom: https://common-lisp.net/project/cffi/manual/html_node/define_002dforeign_002dlibrary.html 2017-12-12T20:12:23Z lisp_guest: ok. i just opened up ffi-1.1.0.lisp from cl+ssl btw, they only define 2 new functions which were added 2017-12-12T20:12:54Z lisp_guest: which makes sense i guess, the real issue is in loading version 1.1.0 when 1.0 is expected by drakma 2017-12-12T20:13:57Z FreeBirdLjj joined #lisp 2017-12-12T20:15:50Z lisp_guest: jasom: found it, nice :-) 2017-12-12T20:16:40Z jasom: my guess is that early versions of 1.1 deprecated, but did not remove the function, so it "worked on the developers machine at the time" 2017-12-12T20:16:52Z jasom: but that's just a supposition. either way it needs to be fixed... 2017-12-12T20:17:55Z lisp_guest: looks like my version is "1.0.2m", while the closest one in cl+ssl is "1.0.2", i.e. without the "m" 2017-12-12T20:17:59Z lisp_guest: let's see if it works 2017-12-12T20:18:31Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-12-12T20:18:32Z lisp_guest: jasom: does doing (ql:quickload '#:cl+ssl) reload the system if i changed the file? 2017-12-12T20:19:38Z brendyn joined #lisp 2017-12-12T20:19:57Z jasom: lisp_guest: I don't know; (asdf:load-system "cl+ssl") definitely wil reload the system, but it may or may not force reloading of the library depending on how cl+ssl defined its dependencies 2017-12-12T20:20:26Z lisp_guest: ah, i see. i just restarted the whole interpreter 2017-12-12T20:20:33Z lisp_guest: seems to work! 2017-12-12T20:21:52Z attila_lendvai quit (Quit: Leaving.) 2017-12-12T20:22:00Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2017-12-12T20:22:22Z FreeBirdLjj joined #lisp 2017-12-12T20:26:39Z FreeBirdLjj quit (Ping timeout: 248 seconds) 2017-12-12T20:26:42Z attila_lendvai joined #lisp 2017-12-12T20:26:42Z attila_lendvai quit (Changing host) 2017-12-12T20:26:42Z attila_lendvai joined #lisp 2017-12-12T20:29:58Z FreeBirdLjj joined #lisp 2017-12-12T20:31:06Z attila_lendvai quit (Ping timeout: 260 seconds) 2017-12-12T20:33:27Z zulu_inuoe joined #lisp 2017-12-12T20:33:57Z logicmoo joined #lisp 2017-12-12T20:34:01Z nalkri` joined #lisp 2017-12-12T20:34:08Z vibs29 quit (Ping timeout: 248 seconds) 2017-12-12T20:34:09Z FreeBirdLjj quit (Ping timeout: 248 seconds) 2017-12-12T20:34:35Z vibs29 joined #lisp 2017-12-12T20:34:40Z sigjuice quit (Ping timeout: 248 seconds) 2017-12-12T20:34:46Z GreaseMonkey quit (Remote host closed the connection) 2017-12-12T20:34:49Z CrazyEddy quit (Remote host closed the connection) 2017-12-12T20:34:51Z Ven`` quit (Read error: Connection reset by peer) 2017-12-12T20:35:12Z hexfive quit (Ping timeout: 248 seconds) 2017-12-12T20:35:12Z xantoz quit (Ping timeout: 248 seconds) 2017-12-12T20:35:12Z butterthebuddha quit (Ping timeout: 248 seconds) 2017-12-12T20:35:12Z phoe quit (Ping timeout: 248 seconds) 2017-12-12T20:35:12Z phadthai quit (Ping timeout: 248 seconds) 2017-12-12T20:35:13Z raydeejay quit (Ping timeout: 248 seconds) 2017-12-12T20:35:13Z aoh quit (Ping timeout: 248 seconds) 2017-12-12T20:35:13Z jsnell quit (Ping timeout: 248 seconds) 2017-12-12T20:35:13Z ramus quit (Ping timeout: 248 seconds) 2017-12-12T20:35:21Z Ven`` joined #lisp 2017-12-12T20:35:23Z larme quit (Ping timeout: 258 seconds) 2017-12-12T20:35:44Z zaquest quit (Ping timeout: 248 seconds) 2017-12-12T20:35:44Z xrash quit (Ping timeout: 248 seconds) 2017-12-12T20:35:44Z jack_rabbit quit (Ping timeout: 248 seconds) 2017-12-12T20:35:44Z nalkri quit (Ping timeout: 248 seconds) 2017-12-12T20:35:45Z Nikotiini quit (Ping timeout: 248 seconds) 2017-12-12T20:35:45Z himmAllRight quit (Ping timeout: 248 seconds) 2017-12-12T20:35:45Z dmiles quit (Ping timeout: 248 seconds) 2017-12-12T20:35:46Z zulu_inuoe_ quit (Ping timeout: 248 seconds) 2017-12-12T20:35:46Z gabc quit (Ping timeout: 248 seconds) 2017-12-12T20:35:46Z zagura quit (Ping timeout: 248 seconds) 2017-12-12T20:35:47Z sukaeto quit (Ping timeout: 248 seconds) 2017-12-12T20:35:47Z stee_3 quit (Ping timeout: 248 seconds) 2017-12-12T20:35:47Z mrSpec quit (Ping timeout: 248 seconds) 2017-12-12T20:35:48Z nikivi quit (Ping timeout: 264 seconds) 2017-12-12T20:36:05Z aindilis quit (Read error: Connection reset by peer) 2017-12-12T20:36:27Z himmAllRight joined #lisp 2017-12-12T20:36:27Z koisoke quit (Ping timeout: 240 seconds) 2017-12-12T20:36:58Z phadthai joined #lisp 2017-12-12T20:37:06Z phoe joined #lisp 2017-12-12T20:37:17Z gabc joined #lisp 2017-12-12T20:37:19Z brendyn quit (Ping timeout: 268 seconds) 2017-12-12T20:37:30Z stee_3 joined #lisp 2017-12-12T20:37:32Z koisoke joined #lisp 2017-12-12T20:37:35Z zagura joined #lisp 2017-12-12T20:37:35Z zagura quit (Changing host) 2017-12-12T20:37:35Z zagura joined #lisp 2017-12-12T20:38:00Z _whitelogger_ joined #lisp 2017-12-12T20:38:07Z bmgxc9 joined #lisp 2017-12-12T20:39:04Z greaser|q joined #lisp 2017-12-12T20:39:07Z aindilis joined #lisp 2017-12-12T20:39:10Z mrSpec joined #lisp 2017-12-12T20:39:23Z _whitelogger quit (Remote host closed the connection) 2017-12-12T20:39:32Z xantoz joined #lisp 2017-12-12T20:39:33Z mrSpec is now known as Guest20567 2017-12-12T20:39:42Z nikivi joined #lisp 2017-12-12T20:39:51Z zaquest joined #lisp 2017-12-12T20:39:54Z sigjuice joined #lisp 2017-12-12T20:40:07Z raydeejay joined #lisp 2017-12-12T20:40:14Z larme joined #lisp 2017-12-12T20:40:26Z hexfive joined #lisp 2017-12-12T20:40:49Z Nikotiini joined #lisp 2017-12-12T20:41:00Z sukaeto joined #lisp 2017-12-12T20:41:00Z butterthebuddha joined #lisp 2017-12-12T20:41:03Z jack_rabbit joined #lisp 2017-12-12T20:41:05Z brendyn joined #lisp 2017-12-12T20:41:18Z ramus joined #lisp 2017-12-12T20:42:00Z xuxuru joined #lisp 2017-12-12T20:42:35Z jsnell joined #lisp 2017-12-12T20:42:35Z jack_rabbit quit (Max SendQ exceeded) 2017-12-12T20:43:18Z jack_rabbit joined #lisp 2017-12-12T20:43:45Z smurfrobot joined #lisp 2017-12-12T20:43:55Z FreeBirdLjj joined #lisp 2017-12-12T20:43:57Z aoh joined #lisp 2017-12-12T20:44:33Z king_idiot joined #lisp 2017-12-12T20:45:05Z xrash joined #lisp 2017-12-12T20:45:08Z lisp_guest: jasom: made a pull request :-) 2017-12-12T20:45:15Z isoraqathedh quit (*.net *.split) 2017-12-12T20:45:15Z _osune quit (*.net *.split) 2017-12-12T20:45:22Z _osune joined #lisp 2017-12-12T20:46:28Z isoraqathedh joined #lisp 2017-12-12T20:47:48Z vlatkoB quit (Remote host closed the connection) 2017-12-12T20:48:01Z butterthebuddha quit (Ping timeout: 260 seconds) 2017-12-12T20:48:21Z FreeBirdLjj quit (Ping timeout: 264 seconds) 2017-12-12T20:49:34Z alandipert: is it possible to specify which "version" of quicklisp to use when resolving packages? i understand that the set of packages available on quicklisp are versioned together, and that this set changes over time. i am interested in specifying former versions in code so i can know that the code will continue to work the same way even if packages it pull 2017-12-12T20:49:35Z alandipert: ed from quicklisp change 2017-12-12T20:50:07Z jasom: alandipert: yes, there is a blog article on how to do so 2017-12-12T20:51:55Z butterthebuddha joined #lisp 2017-12-12T20:52:48Z alandipert: jasom thanks, found it 2017-12-12T20:53:04Z jmercouris joined #lisp 2017-12-12T20:54:38Z heurist` is now known as heurist 2017-12-12T20:57:02Z CrazyEddy joined #lisp 2017-12-12T20:57:47Z FreeBirdLjj joined #lisp 2017-12-12T21:01:47Z Guest20567 quit (Changing host) 2017-12-12T21:01:47Z Guest20567 joined #lisp 2017-12-12T21:01:58Z fikka joined #lisp 2017-12-12T21:02:15Z Guest20567 left #lisp 2017-12-12T21:02:21Z KZiemian joined #lisp 2017-12-12T21:02:28Z Cymew joined #lisp 2017-12-12T21:02:35Z KZiemian: hello world 2017-12-12T21:02:35Z FreeBirdLjj quit (Ping timeout: 255 seconds) 2017-12-12T21:02:43Z KZiemian: I have a question 2017-12-12T21:02:48Z shka: ask it 2017-12-12T21:02:49Z mrSpec` joined #lisp 2017-12-12T21:02:50Z KZiemian: in Practical Common Lisp 2017-12-12T21:03:08Z KZiemian: in chapter on conditions and handlers 2017-12-12T21:03:19Z KZiemian: it said that 2017-12-12T21:03:45Z KZiemian: that errors are not descend of standard-object 2017-12-12T21:03:50Z KZiemian: from historical reason 2017-12-12T21:03:58Z shka: yup 2017-12-12T21:04:07Z KZiemian: and some method like slot-initialize 2017-12-12T21:04:13Z KZiemian: don't work on them 2017-12-12T21:04:19Z shka: yes 2017-12-12T21:04:30Z KZiemian: I just wonder 2017-12-12T21:04:32Z shka: that's right 2017-12-12T21:05:12Z KZiemian: making errors being subclass of standard-object can make programs esier? 2017-12-12T21:05:22Z KZiemian: becuse it is lokk 2017-12-12T21:05:23Z jasom: they are objects, just not necessarily standard-object 2017-12-12T21:05:43Z KZiemian: in CL everything is object with common root T 2017-12-12T21:06:02Z FreeBirdLjj joined #lisp 2017-12-12T21:06:16Z shka: KZiemian: http://www.lispworks.com/documentation/lw50/CLHS/Body/t_std_ob.htm 2017-12-12T21:06:31Z shka: thing is 2017-12-12T21:06:37Z smurfrobot quit (Remote host closed the connection) 2017-12-12T21:06:38Z shka: it is not about superclass 2017-12-12T21:06:39Z fikka quit (Ping timeout: 248 seconds) 2017-12-12T21:06:52Z pjb: They may be subclasses of standard-object. But since they are not in all implementations, you cannot depend on that. 2017-12-12T21:06:57Z Cymew quit (Ping timeout: 240 seconds) 2017-12-12T21:07:04Z jmercouris: Is there a way to make M-q indent with spaces only? Is there an advantage to doing so? (please note, I am not trying to start a tabs vs spaces flame war) 2017-12-12T21:07:23Z KZiemian: pbj: you are right PCL write about it somewhere 2017-12-12T21:07:29Z pjb: Note: in Abcl, ccl, clisp, ecl, ERROR is a subclass of STANDARD-OBJECTS ; in sbcl not. 2017-12-12T21:07:35Z shka: jmercouris: why not define spaces globally in whole emacs? 2017-12-12T21:08:12Z cpape` quit (Ping timeout: 240 seconds) 2017-12-12T21:08:36Z pjb: jmercouris: sure. Just configure emacs to use spaces instead of tabs. There are ton of howto pages on the subject. 2017-12-12T21:08:45Z KZiemian: pbj: I think that standard say that they shouldnt be subclass of STANDARD-OBJECT 2017-12-12T21:08:47Z jasom: jmercouris: I'm pretty sure M-q just uses emacs's tabs/space settings 2017-12-12T21:08:51Z jmercouris: I've only setup the config of that for python 2017-12-12T21:08:57Z pjb: KZiemian: This is what I am saying! 2017-12-12T21:08:58Z jmercouris: it was handled by my package 2017-12-12T21:09:03Z jasom: KZiemian: the standard says that they are not guaranteed to be sublcass of standard-object 2017-12-12T21:09:07Z DeadTrickster quit (Remote host closed the connection) 2017-12-12T21:09:19Z jmercouris: So, is there a disadvantage to indenting with spaces in emacs? or should I be okay with it? 2017-12-12T21:09:34Z jmercouris: I'm thinking about changing this from the defaults, and that makes me a little nervous 2017-12-12T21:09:47Z jmercouris: because of this PR: https://github.com/nEXT-Browser/nEXT/pull/36 2017-12-12T21:09:51Z jasom: jmercouris: it's not the default, which means it's not the majority, but other than that it's fine. I prefer it... 2017-12-12T21:10:27Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-12-12T21:10:39Z KZiemian: pbj: I just thinking which way is better or they more or less equal? 2017-12-12T21:11:01Z KZiemian: pbj: I normaly work in SBCL 2017-12-12T21:11:11Z Bicyclidine: condition types being fully integrated with clos would be nice. 2017-12-12T21:11:18Z pjb: For you as a CL programmer, ther eis no better way, you must consider that conditions are not standard-object. 2017-12-12T21:11:24Z KZiemian: pbj: but for the working on CLUS I started to use CCL 2017-12-12T21:11:27Z pjb: For you as a CL implementer, you can do however you prefer. 2017-12-12T21:11:35Z jasom: KZiemian: yes it would be better, but it is what it is 2017-12-12T21:11:36Z Bicyclidine: jmercouris: indenting with spaces is fine. 2017-12-12T21:11:40Z Baggers joined #lisp 2017-12-12T21:11:46Z pjb: If you're a CL implementer, I would say it is easier to just define conditions with defclass. 2017-12-12T21:11:54Z pjb: Just like structures. 2017-12-12T21:12:09Z xuxuru quit (Remote host closed the connection) 2017-12-12T21:12:16Z shka: good night 2017-12-12T21:12:18Z jasom: CL is necessarily imperfect; this particular imperfection has rarely affected me 2017-12-12T21:12:36Z pjb: KZiemian: But as a CL implementer you may want to provide more speed, or consider other constraints when creating and processing conditions, which may motivate you to implement them differently. 2017-12-12T21:12:36Z Bicyclidine: it's probably also not necessary :p 2017-12-12T21:12:43Z xuxuru joined #lisp 2017-12-12T21:12:54Z jmercouris: jasom: Ok, then, sounds good 2017-12-12T21:13:14Z jmercouris: Bicyclidine: Thank you for your opinion, I'll update my emacs config then 2017-12-12T21:13:28Z pjb: KZiemian: are you an implementer? 2017-12-12T21:13:35Z pjb: KZiemian: are you writing a new implementation? 2017-12-12T21:13:54Z kokonaisluku joined #lisp 2017-12-12T21:13:56Z KZiemian: pbj: no, at least not now :) 2017-12-12T21:13:57Z fikka joined #lisp 2017-12-12T21:14:11Z KZiemian: pbj: I just try to learn condition system 2017-12-12T21:14:16Z pjb: Then conditions are not subclasses of standard-object. 2017-12-12T21:14:32Z KZiemian: pbj: and that solution look unnatural to me 2017-12-12T21:14:45Z Bicyclidine: i can't think of any constraints on conditions that would really be helpful to an implementer 2017-12-12T21:15:15Z pjb: Bicyclidine: OUT-OF-MEMORY UNIX-SIGNAL 2017-12-12T21:15:31Z pjb: Bicyclidine: again, you may want to provide speed. 2017-12-12T21:15:36Z KZiemian: pbj: I just wonder is my feeling right or not 2017-12-12T21:15:47Z pjb: Bicyclidine: just have a look at sbcl. 2017-12-12T21:15:54Z KZiemian: pbj: now I working just on CLUS 2017-12-12T21:16:15Z KZiemian: pbj: and have enough question about it 2017-12-12T21:16:33Z KZiemian: pbj: bad words, not question but rather riddels to solve 2017-12-12T21:16:59Z Bicyclidine: in sbcl conditions are "slot-objects", which standard objects also are. that class provides most of the guts, like the initialize methods and shit 2017-12-12T21:18:43Z KZiemian: my true problem now is that 2017-12-12T21:18:56Z Xal quit (Ping timeout: 260 seconds) 2017-12-12T21:19:16Z KZiemian: M 2017-12-12T21:19:30Z FreeBirdLjj joined #lisp 2017-12-12T21:19:34Z KZiemian: I should take CLHS page with GENSYM 2017-12-12T21:19:35Z alfasardine joined #lisp 2017-12-12T21:19:51Z KZiemian: and write ccldoc code to transform it in some nice webpage 2017-12-12T21:20:34Z KZiemian: I now more or less can write ccldoc file that make html of that page 2017-12-12T21:20:43Z KZiemian: but man, that page looks ugly 2017-12-12T21:21:07Z Xal joined #lisp 2017-12-12T21:21:47Z KZiemian: one thing, my knowledge of ccldoc is medicore 2017-12-12T21:22:04Z KZiemian: or even lower 2017-12-12T21:23:13Z shka quit (Ping timeout: 250 seconds) 2017-12-12T21:23:27Z jasom: KZiemian: note that it is technically illegal to work from the CLHS, you should work from the TeX sources of the draft specification... 2017-12-12T21:23:47Z jasom: CLHS has copyright owned by lispworks 2017-12-12T21:23:59Z FreeBirdLjj quit (Ping timeout: 255 seconds) 2017-12-12T21:24:29Z EvW joined #lisp 2017-12-12T21:24:51Z alfasardine quit (Quit: Leaving) 2017-12-12T21:24:52Z xuxuru quit (Quit: xuxuru) 2017-12-12T21:25:53Z ryanbw quit (Ping timeout: 248 seconds) 2017-12-12T21:25:59Z jmercouris: Still waiting on that ultrapsec... 2017-12-12T21:26:08Z smurfrobot joined #lisp 2017-12-12T21:26:14Z jmercouris: s/ultrapsec/ultrapsec 2017-12-12T21:26:20Z jmercouris: damnit, I think I might have dyslexia 2017-12-12T21:26:52Z KZiemian: jasom: ohh, yes 2017-12-12T21:26:55Z KZiemian: jasom 2017-12-12T21:27:09Z KZiemian: jasom: I forgot about this discussion 2017-12-12T21:27:19Z KZiemian: jasom: to much legal term to me 2017-12-12T21:28:16Z KZiemian: jasom: I should go to the draft specyfication or to CLUS resources 2017-12-12T21:28:28Z warweasle quit (Quit: bye) 2017-12-12T21:30:08Z FreeBirdLjj joined #lisp 2017-12-12T21:30:54Z KZiemian: jmercouris: I do what I can do end my part in this 2017-12-12T21:33:57Z KZiemian: jmercouris: now I try to learn enough ccldoc to rewrite CLUS page in that 2017-12-12T21:34:47Z FreeBirdLjj quit (Ping timeout: 256 seconds) 2017-12-12T21:35:05Z KZiemian: jmercouris: but after that my knowledge will be not suffiecent to make progres alone 2017-12-12T21:35:06Z varjag joined #lisp 2017-12-12T21:35:20Z KZiemian: jmercouris: bigger discussion will be needed 2017-12-12T21:35:51Z mishoo quit (Ping timeout: 260 seconds) 2017-12-12T21:36:28Z jmercouris: KZiemian: Are you the project leader? Do you need someone to edit stuff? any ways I can tangibly contribute? 2017-12-12T21:37:45Z orivej quit (Ping timeout: 268 seconds) 2017-12-12T21:41:47Z epony joined #lisp 2017-12-12T21:42:27Z KZiemian: jmercouris: project leader is phoe, but in some strange twist of fate, I think that probing ccldoc was left to me as subproject 2017-12-12T21:43:11Z KZiemian: jmercouris: we and phoe will neet at monday 18 and after that I should now more about that 2017-12-12T21:43:20Z jmercouris: Ah yes, I remember that now 2017-12-12T21:43:26Z jmercouris: KZiemian: Which time zone? UTC? 2017-12-12T21:43:59Z jmercouris: Ah, you are saying Monday the 18th, not at 18:00, got it! Sorry for the confusion 2017-12-12T21:44:13Z KZiemian: jmercouris: no problem, this was my mistake 2017-12-12T21:45:22Z KZiemian: jmercouris: current state of CLUS, at least my part 2017-12-12T21:45:52Z KZiemian: jmercouris: is to write ccldoc that generate one page that looks like that of CLHS 2017-12-12T21:46:56Z KZiemian: jmercouris: what I can do to this moment you can find here 2017-12-12T21:47:05Z KZiemian: jmercouris: https://github.com/KZiemian/Notes-on-and-examples-CCLDoc 2017-12-12T21:47:31Z KZiemian: jmercouris: how I say, I can make html page, but it looks ugly 2017-12-12T21:47:44Z attila_lendvai joined #lisp 2017-12-12T21:47:44Z attila_lendvai quit (Changing host) 2017-12-12T21:47:44Z attila_lendvai joined #lisp 2017-12-12T21:48:31Z KZiemian: jmercouris: I mean html page generated by ccldoc 2017-12-12T21:49:14Z KZiemian: jmercouris: this is my part and don't know why we decided on ccldoc, not why we do next 2017-12-12T21:49:37Z KZiemian: jmercouris: I hope next monday phoe tell me more about it 2017-12-12T21:51:39Z jmercouris: I see, I'm sure the HTML is fine, it can always be remedied with CSS 2017-12-12T21:51:40Z KZiemian: jmercouris: this is one of my problems, I can see only part of project, but I try to make my part as good as I can 2017-12-12T21:52:48Z jmercouris: It's unfortunate that I don't speak polish, otherwise I would read what you've done :D 2017-12-12T21:53:25Z jmercouris: Looking at the HTML, it looks okay, there is indent a lot of work that could be done on it though 2017-12-12T21:53:53Z bmgxc9 quit (Remote host closed the connection) 2017-12-12T21:54:18Z jmercouris: Mostly indentation and some spaces throughout, but the CSS will make it look fine, so it should be okay 2017-12-12T21:54:59Z smurfrobot quit (Remote host closed the connection) 2017-12-12T21:55:03Z KZiemian: jmercouris: I know that laguage is big problem, but until I understand ccldoc I will write in polish, because that is much faster to me and now I must note a lot 2017-12-12T21:55:48Z KZiemian: jmercouris: many of this things will became probably irrevelant when we understand what is going on 2017-12-12T21:56:07Z kokonaisluku quit (Quit: ChatZilla 0.9.93 [Firefox 52.5.1/20171205141522]) 2017-12-12T21:56:13Z KZiemian: jmercouris: but now better note everything that I see 2017-12-12T21:56:49Z Ven`` quit (Ping timeout: 248 seconds) 2017-12-12T21:56:51Z jasom: Is this well defined: (defconstant +foo+ 3) #.+foo+ 2017-12-12T21:58:01Z Bicyclidine: no. defconstant doesn't have to establish a binding in the compiler. 2017-12-12T21:58:18Z Achylles joined #lisp 2017-12-12T21:59:17Z Murii quit (Quit: WeeChat 1.4) 2017-12-12T21:59:17Z KZiemian: jmercouris: one problem of CLUS is that, that I take a break after ending last stage 2017-12-12T21:59:41Z Ven`` joined #lisp 2017-12-12T21:59:54Z KZiemian: jmercouris: I just need it, to much checking diff on my head at once 2017-12-12T22:00:10Z KZiemian: jmercouris: I cameback two weeks ago 2017-12-12T22:00:27Z KZiemian: jmercouris: I can't catch any preson from it 2017-12-12T22:00:53Z DeadTrickster joined #lisp 2017-12-12T22:00:57Z KZiemian: jmercouris: phoe is exeption, but it not is for him to find time now 2017-12-12T22:01:38Z KZiemian: jmercouris: so I grab roadmap and start try to do point 1A: ccldoc 2017-12-12T22:02:22Z KZiemian: jmercouris: you can try to catch him ask what need to be done in CLUS 2017-12-12T22:02:32Z jmercouris: If I see him posting online I'll ask him 2017-12-12T22:02:38Z jmercouris: he is polish as well right? so he is on polish time zone? 2017-12-12T22:03:26Z KZiemian: jmercouris: yes he is polish, so probably he is on polish time zone 2017-12-12T22:04:28Z KZiemian: jmercouris: at monday he will definietly be in Poland 2017-12-12T22:04:42Z stara joined #lisp 2017-12-12T22:05:37Z KZiemian: jmercouris: thank you for questions, I will try not forget to tell phoe about them 2017-12-12T22:06:08Z KZiemian: jmercouris: I must go in next 5-10 minuts, so if you want ask about somthing now is the time 2017-12-12T22:09:21Z jmercouris: I think I'll wait to see what you guys talk about on Monday, for now I think we've covered all the bases, thanks! 2017-12-12T22:09:30Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-12T22:09:47Z KZiemian: jmercouris: thanks for good questions :) 2017-12-12T22:09:56Z KZiemian: see you 2017-12-12T22:10:06Z DeadTrickster joined #lisp 2017-12-12T22:10:09Z KZiemian quit (Quit: Page closed) 2017-12-12T22:13:19Z Ven`` quit (Ping timeout: 256 seconds) 2017-12-12T22:13:34Z nalkri` is now known as nalkri 2017-12-12T22:14:17Z jasom: any suggestions for improving numeric performance on ccl? I'm seeing it currently ~10x slower than sbcl right now 2017-12-12T22:17:16Z pjb quit (Read error: Connection reset by peer) 2017-12-12T22:17:43Z Tobbi joined #lisp 2017-12-12T22:18:26Z pjb joined #lisp 2017-12-12T22:18:58Z Ven`` joined #lisp 2017-12-12T22:21:52Z foom: jasom: I think if you tell it the exact types of inputs and outputs to every math call it will compile it efficiently. E.g. (the fixnum (+ (the fixnum a) (the fixnum b))) 2017-12-12T22:27:11Z Ven`` quit (Ping timeout: 248 seconds) 2017-12-12T22:27:44Z papachan joined #lisp 2017-12-12T22:33:03Z jmercouris quit (Ping timeout: 248 seconds) 2017-12-12T22:36:17Z nalkri quit (Ping timeout: 248 seconds) 2017-12-12T22:38:16Z jfb4 quit (Ping timeout: 260 seconds) 2017-12-12T22:38:27Z alandipert: i see #'(lambda () ...) in CLHS example code, is there a reason for the #' with the inline lambda? 2017-12-12T22:39:42Z jfb4 joined #lisp 2017-12-12T22:39:57Z Shinmera: If I recall it used to be necessary. Now that it isn't, some people just prefer it that way. 2017-12-12T22:42:46Z neoncontrails joined #lisp 2017-12-12T22:43:20Z Ven`` joined #lisp 2017-12-12T22:43:31Z raphaelss quit (Ping timeout: 260 seconds) 2017-12-12T22:44:20Z pjb: alandipert: there's no good reason for #'(lambda 2017-12-12T22:44:27Z pjb: alandipert: I can find only bad reasons for it. 2017-12-12T22:44:47Z jasom: alandipert: the LAMBDA macro expands to #'(LAMBDA ...) 2017-12-12T22:44:48Z pjb: alandipert: lambda is a macro that expands to (function (lambda …)). 2017-12-12T22:44:50Z jasom: so it's redundant 2017-12-12T22:45:28Z FreeBirdLjj joined #lisp 2017-12-12T22:45:44Z pjb: alandipert: so either you're in code position and the macro will do the right thing, or you're in data position, and writing #'(lambda will introduce the (function (lambda …)) sexp which is not evaluated, so probably not what you want anyways. 2017-12-12T22:45:58Z orivej joined #lisp 2017-12-12T22:46:33Z pjb: alandipert: furthermore, lambda may be not cl:lambda (if it's shadowed). So writing #'(lambda … may expand to (CL:FUNCTION (NOT-CL:LAMBDA ...)) which is not conforming! 2017-12-12T22:46:46Z Kundry_Wag joined #lisp 2017-12-12T22:46:49Z Kundry_Wag quit (Remote host closed the connection) 2017-12-12T22:46:51Z pjb: alandipert: while NOT-CL:LAMBDA may be a macro that do what it needs to do. Adding #' in front prevents it. 2017-12-12T22:47:03Z wxie joined #lisp 2017-12-12T22:47:05Z Kundry_Wag joined #lisp 2017-12-12T22:47:25Z alandipert: thanks all, makes sense 2017-12-12T22:47:41Z pjb: (now of course, if you take the pain to shadow lambda you should also shadow function, and override #' too for consistency…) 2017-12-12T22:48:26Z bmgxc9 joined #lisp 2017-12-12T22:49:03Z cpape joined #lisp 2017-12-12T22:50:09Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-12T22:50:09Z FreeBirdLjj quit (Ping timeout: 256 seconds) 2017-12-12T22:50:30Z Karl_Dscc quit (Remote host closed the connection) 2017-12-12T22:51:43Z FreeBirdLjj joined #lisp 2017-12-12T22:51:45Z dyelar quit (Quit: Leaving.) 2017-12-12T22:56:45Z FreeBirdLjj quit (Ping timeout: 264 seconds) 2017-12-12T22:57:03Z smurfrobot joined #lisp 2017-12-12T22:57:06Z Jesin quit (Quit: Leaving) 2017-12-12T22:57:09Z raphaelss joined #lisp 2017-12-12T22:58:42Z attila_lendvai quit (Read error: Connection reset by peer) 2017-12-12T22:59:21Z attila_lendvai joined #lisp 2017-12-12T22:59:21Z attila_lendvai quit (Changing host) 2017-12-12T22:59:21Z attila_lendvai joined #lisp 2017-12-12T23:02:54Z FreeBirdLjj joined #lisp 2017-12-12T23:03:33Z Achylles quit (Quit: Leaving) 2017-12-12T23:03:48Z damke_ joined #lisp 2017-12-12T23:04:31Z heurist quit (Ping timeout: 240 seconds) 2017-12-12T23:05:06Z yeticry quit (Ping timeout: 260 seconds) 2017-12-12T23:05:10Z stara quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2017-12-12T23:05:48Z damke quit (Ping timeout: 246 seconds) 2017-12-12T23:06:48Z heurist joined #lisp 2017-12-12T23:07:07Z yeticry joined #lisp 2017-12-12T23:07:27Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-12-12T23:10:09Z Bicyclidine quit (Ping timeout: 260 seconds) 2017-12-12T23:11:08Z FreeBirdLjj joined #lisp 2017-12-12T23:11:14Z quazimodo joined #lisp 2017-12-12T23:15:28Z smurfrobot quit (Remote host closed the connection) 2017-12-12T23:20:51Z pseudonymous quit (Ping timeout: 260 seconds) 2017-12-12T23:21:30Z FreeBirdLjj quit (Ping timeout: 272 seconds) 2017-12-12T23:23:15Z QualityAddict quit (Ping timeout: 250 seconds) 2017-12-12T23:25:02Z Xal quit (Ping timeout: 255 seconds) 2017-12-12T23:27:38Z smurfrobot joined #lisp 2017-12-12T23:27:47Z Xal joined #lisp 2017-12-12T23:27:48Z FreeBirdLjj joined #lisp 2017-12-12T23:31:21Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.1)) 2017-12-12T23:32:31Z FreeBirdLjj quit (Ping timeout: 260 seconds) 2017-12-12T23:33:35Z smurfrobot quit (Remote host closed the connection) 2017-12-12T23:36:51Z Kaisyu joined #lisp 2017-12-12T23:40:38Z FreeBirdLjj joined #lisp 2017-12-12T23:43:14Z AntiSpamMeta quit (Read error: Connection reset by peer) 2017-12-12T23:43:28Z AntiSpamMeta joined #lisp 2017-12-12T23:43:32Z Kundry_Wag quit (Remote host closed the connection) 2017-12-12T23:44:57Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-12-12T23:46:25Z wxie quit (Quit: Bye.) 2017-12-12T23:50:21Z FreeBirdLjj joined #lisp 2017-12-12T23:53:15Z pierpa joined #lisp 2017-12-12T23:54:39Z FreeBirdLjj quit (Ping timeout: 248 seconds) 2017-12-12T23:54:44Z papachan quit (Quit: WeeChat 2.0) 2017-12-12T23:55:27Z Baggers quit (Remote host closed the connection) 2017-12-12T23:56:57Z nowhere_man quit (Ping timeout: 240 seconds) 2017-12-13T00:00:09Z nowhere_man joined #lisp 2017-12-13T00:00:12Z engblom quit (Ping timeout: 268 seconds) 2017-12-13T00:00:20Z engblom joined #lisp 2017-12-13T00:05:23Z bmgxc9 quit (Remote host closed the connection) 2017-12-13T00:05:59Z zotan quit (Ping timeout: 255 seconds) 2017-12-13T00:07:22Z zotan joined #lisp 2017-12-13T00:11:46Z FreeBirdLjj joined #lisp 2017-12-13T00:12:44Z fikka quit (Ping timeout: 255 seconds) 2017-12-13T00:13:15Z rumbler31 quit (Remote host closed the connection) 2017-12-13T00:15:20Z engblom quit (Ping timeout: 272 seconds) 2017-12-13T00:15:27Z engblom joined #lisp 2017-12-13T00:16:31Z FreeBirdLjj quit (Ping timeout: 248 seconds) 2017-12-13T00:20:29Z Kundry_Wag joined #lisp 2017-12-13T00:23:38Z omilu quit (Read error: Connection reset by peer) 2017-12-13T00:25:55Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-13T00:35:08Z FreeBirdLjj joined #lisp 2017-12-13T00:39:57Z quazimodo quit (Ping timeout: 264 seconds) 2017-12-13T00:40:00Z FreeBirdLjj quit (Ping timeout: 248 seconds) 2017-12-13T00:42:27Z lnostdal quit (Ping timeout: 240 seconds) 2017-12-13T00:49:27Z BitPuffin|osx quit (Ping timeout: 240 seconds) 2017-12-13T00:51:43Z lnostdal joined #lisp 2017-12-13T00:52:58Z Jen joined #lisp 2017-12-13T00:53:22Z Jen is now known as Guest20939 2017-12-13T00:56:27Z SuperJen quit (Ping timeout: 240 seconds) 2017-12-13T01:01:10Z attila_lendvai quit (Quit: Leaving.) 2017-12-13T01:02:54Z Cymew joined #lisp 2017-12-13T01:04:33Z king_idiot quit (Ping timeout: 264 seconds) 2017-12-13T01:07:11Z Cymew quit (Ping timeout: 248 seconds) 2017-12-13T01:09:11Z Cymew joined #lisp 2017-12-13T01:09:57Z SuperJen joined #lisp 2017-12-13T01:11:47Z mejja joined #lisp 2017-12-13T01:13:26Z Devon quit (Ping timeout: 260 seconds) 2017-12-13T01:13:31Z Guest20939 quit (Ping timeout: 256 seconds) 2017-12-13T01:13:35Z Cymew quit (Ping timeout: 248 seconds) 2017-12-13T01:13:57Z momofarm joined #lisp 2017-12-13T01:14:07Z momofarm quit (Client Quit) 2017-12-13T01:15:34Z turkja joined #lisp 2017-12-13T01:22:46Z lisp_guest quit (Ping timeout: 260 seconds) 2017-12-13T01:26:16Z king_idiot joined #lisp 2017-12-13T01:28:06Z Kundry_Wag quit (Remote host closed the connection) 2017-12-13T01:28:42Z Kundry_Wag joined #lisp 2017-12-13T01:29:01Z FreeBirdLjj joined #lisp 2017-12-13T01:29:11Z aeth quit (Read error: Connection reset by peer) 2017-12-13T01:29:24Z Kundry_Wag_ joined #lisp 2017-12-13T01:30:11Z aeth joined #lisp 2017-12-13T01:30:17Z ahungry joined #lisp 2017-12-13T01:33:14Z Kundry_Wag quit (Ping timeout: 272 seconds) 2017-12-13T01:33:21Z momofarm joined #lisp 2017-12-13T01:33:27Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2017-12-13T01:33:53Z jibanes quit (Ping timeout: 248 seconds) 2017-12-13T01:34:30Z Kundry_Wag_ quit (Ping timeout: 272 seconds) 2017-12-13T01:35:41Z jibanes joined #lisp 2017-12-13T01:37:08Z smurfrobot joined #lisp 2017-12-13T01:39:46Z Devon joined #lisp 2017-12-13T01:42:36Z EvW quit (Ping timeout: 246 seconds) 2017-12-13T01:42:37Z bugrum joined #lisp 2017-12-13T01:44:13Z FreeBirdLjj joined #lisp 2017-12-13T01:47:32Z smurfrobot quit (Remote host closed the connection) 2017-12-13T01:47:50Z smurfrobot joined #lisp 2017-12-13T01:49:04Z FreeBirdLjj quit (Ping timeout: 272 seconds) 2017-12-13T01:50:44Z fikka joined #lisp 2017-12-13T01:53:51Z hexfive quit (Quit: WeeChat 1.9.1) 2017-12-13T01:55:27Z fikka quit (Ping timeout: 256 seconds) 2017-12-13T01:57:28Z smurfrobot quit (Remote host closed the connection) 2017-12-13T01:59:37Z cromachina joined #lisp 2017-12-13T01:59:50Z king_idiot quit (Ping timeout: 272 seconds) 2017-12-13T02:04:58Z king_idiot joined #lisp 2017-12-13T02:15:02Z Cymew joined #lisp 2017-12-13T02:19:49Z Cymew quit (Ping timeout: 256 seconds) 2017-12-13T02:21:00Z d4ryus1 joined #lisp 2017-12-13T02:21:01Z Cymew joined #lisp 2017-12-13T02:24:01Z d4ryus quit (Ping timeout: 260 seconds) 2017-12-13T02:25:48Z Cymew quit (Ping timeout: 272 seconds) 2017-12-13T02:27:04Z Cymew joined #lisp 2017-12-13T02:29:51Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-13T02:29:55Z igemnace joined #lisp 2017-12-13T02:30:17Z DeadTrickster joined #lisp 2017-12-13T02:32:08Z Cymew quit (Ping timeout: 272 seconds) 2017-12-13T02:34:46Z momofarm quit (Read error: Connection reset by peer) 2017-12-13T02:41:10Z rm8 quit (Quit: i slep) 2017-12-13T02:42:03Z smurfrobot joined #lisp 2017-12-13T02:45:00Z fikka joined #lisp 2017-12-13T02:48:35Z Cymew joined #lisp 2017-12-13T02:49:27Z fikka quit (Ping timeout: 240 seconds) 2017-12-13T02:52:57Z Cymew quit (Ping timeout: 240 seconds) 2017-12-13T02:54:40Z Cymew joined #lisp 2017-12-13T02:56:25Z smurfrobot quit (Remote host closed the connection) 2017-12-13T02:59:11Z Cymew quit (Ping timeout: 248 seconds) 2017-12-13T03:01:37Z damke joined #lisp 2017-12-13T03:03:57Z damke_ quit (Ping timeout: 264 seconds) 2017-12-13T03:07:42Z resttime joined #lisp 2017-12-13T03:12:14Z test1600 joined #lisp 2017-12-13T03:15:39Z Cymew joined #lisp 2017-12-13T03:19:32Z mejja quit (Quit: mejja) 2017-12-13T03:20:09Z Cymew quit (Ping timeout: 264 seconds) 2017-12-13T03:22:52Z zooey quit (Ping timeout: 248 seconds) 2017-12-13T03:24:46Z zooey joined #lisp 2017-12-13T03:28:41Z eschulte quit (Ping timeout: 255 seconds) 2017-12-13T03:28:41Z mnoonan quit (Ping timeout: 255 seconds) 2017-12-13T03:29:46Z eschulte joined #lisp 2017-12-13T03:35:19Z grublet quit (Quit: Leaving) 2017-12-13T03:38:16Z Jen joined #lisp 2017-12-13T03:38:39Z Jen is now known as Guest39874 2017-12-13T03:40:26Z mnoonan_ joined #lisp 2017-12-13T03:41:45Z SuperJen quit (Ping timeout: 264 seconds) 2017-12-13T03:41:47Z Guest39874 quit (Remote host closed the connection) 2017-12-13T03:42:13Z Guest39874 joined #lisp 2017-12-13T03:44:18Z QualityAddict joined #lisp 2017-12-13T03:59:43Z Arcaelyx joined #lisp 2017-12-13T04:01:40Z Ober: is there a secure way to expose swank to an internet facing port? 2017-12-13T04:02:47Z Cymew joined #lisp 2017-12-13T04:04:01Z bugrum quit (Remote host closed the connection) 2017-12-13T04:05:46Z beach: Good morning everyone! 2017-12-13T04:06:17Z Ober: chau em 2017-12-13T04:07:27Z Cymew quit (Ping timeout: 248 seconds) 2017-12-13T04:07:38Z beach: Ober: Not quite, but thanks! :) 2017-12-13T04:08:06Z Ober: oh right. sorry very late here 2017-12-13T04:08:33Z Ober: well relative to me, perhaps 2017-12-13T04:08:47Z beach: Unlikely, but possible. 2017-12-13T04:09:27Z pillton: Ober: You can use SSH tunnelling. 2017-12-13T04:10:01Z Ober: pillton: ok. that's what ive been doing. saw a shinmera video where he appeared to hit a swank server directly. 2017-12-13T04:10:19Z Ober: just checking if something fancy was out there for that, 2017-12-13T04:11:18Z pillton: You could probably use TLS with a predetermined key too. 2017-12-13T04:16:18Z turkja: yeah i'd make swank to listen localhost only, then use SSH -L to redirect to that port 2017-12-13T04:17:54Z king_idiot quit (Ping timeout: 272 seconds) 2017-12-13T04:18:56Z schoppenhauer quit (Ping timeout: 260 seconds) 2017-12-13T04:19:49Z Ober: thanks 2017-12-13T04:20:39Z schoppenhauer joined #lisp 2017-12-13T04:22:25Z pierpa quit (Quit: Page closed) 2017-12-13T04:24:29Z aeth: Personally, I would rely on SSH over other solutions, where it works. 2017-12-13T04:24:50Z aeth: The world runs on SSH at this point. 2017-12-13T04:25:02Z Ober: but my browser does not 2017-12-13T04:25:16Z Ober: the one protocol that matters most. :P 2017-12-13T04:25:34Z aeth: Rewrite it in Common Lisp. Most of the content won't be there, but that's a feature, not a bug. 2017-12-13T04:27:59Z rumbler31 joined #lisp 2017-12-13T04:28:48Z DeadTrickster quit (Read error: Connection reset by peer) 2017-12-13T04:29:13Z DeadTrickster joined #lisp 2017-12-13T04:29:27Z loke: Hello DeadTrickster 2017-12-13T04:32:55Z fikka joined #lisp 2017-12-13T04:32:56Z Bike quit (Quit: Lost terminal) 2017-12-13T04:37:36Z fikka quit (Ping timeout: 260 seconds) 2017-12-13T04:42:58Z Guest39874 quit (Remote host closed the connection) 2017-12-13T04:43:51Z Guest39874 joined #lisp 2017-12-13T04:55:59Z _cosmonaut_ quit (Ping timeout: 255 seconds) 2017-12-13T05:05:31Z terpri quit (Ping timeout: 240 seconds) 2017-12-13T05:08:41Z Devon quit (Ping timeout: 256 seconds) 2017-12-13T05:09:52Z mathrick quit (Read error: Connection reset by peer) 2017-12-13T05:09:57Z damke_ joined #lisp 2017-12-13T05:12:57Z damke quit (Ping timeout: 263 seconds) 2017-12-13T05:19:42Z cromachina quit (Read error: Connection reset by peer) 2017-12-13T05:20:52Z cromachina_ joined #lisp 2017-12-13T05:22:03Z cro__ joined #lisp 2017-12-13T05:22:03Z moei quit (Quit: Leaving...) 2017-12-13T05:22:21Z zulu_inuoe_ joined #lisp 2017-12-13T05:22:30Z red-dot joined #lisp 2017-12-13T05:25:11Z zulu_inuoe quit (Ping timeout: 268 seconds) 2017-12-13T05:25:53Z cromachina_ quit (Ping timeout: 248 seconds) 2017-12-13T05:27:25Z fikka joined #lisp 2017-12-13T05:28:37Z svgDelux joined #lisp 2017-12-13T05:32:09Z fikka quit (Ping timeout: 264 seconds) 2017-12-13T05:32:26Z eSVG quit (Ping timeout: 276 seconds) 2017-12-13T05:33:07Z asarch: beach, https://pasteboard.co/GXVBN0P.jpg 2017-12-13T05:33:37Z asarch: I made this script to render the book from HTML pages into PDF with HTMLDOC: https://github.com/asarch/pcl/blob/master/doit.sh 2017-12-13T05:33:41Z mishoo joined #lisp 2017-12-13T05:35:57Z ``Erik_ quit (Ping timeout: 240 seconds) 2017-12-13T05:40:06Z ``Erik joined #lisp 2017-12-13T05:43:34Z rumbler31 quit (Remote host closed the connection) 2017-12-13T05:52:06Z smurfrobot joined #lisp 2017-12-13T05:52:32Z beach: asarch: Why are you telling me this? 2017-12-13T05:52:47Z resttime quit (Quit: Leaving) 2017-12-13T05:54:39Z jack_rabbit quit (Ping timeout: 248 seconds) 2017-12-13T05:56:58Z nalkri joined #lisp 2017-12-13T05:57:17Z asarch: Well, you suggested me that book 2017-12-13T05:57:28Z asarch: I thought... well... 2017-12-13T05:57:46Z beach: I think you should buy it. I did. 2017-12-13T05:57:47Z logicmoo: asarch: beach is not used to people ever taking his advice 2017-12-13T05:58:07Z asarch: ? 2017-12-13T05:58:31Z asarch: Oh, sorry. I didn't know :-( 2017-12-13T05:59:26Z asarch: I can't buy it 2017-12-13T05:59:28Z loke: asarch: PCL is a great advice. 2017-12-13T05:59:36Z asarch: It's quite expensive :'-( 2017-12-13T06:00:12Z smurfrobot quit (Remote host closed the connection) 2017-12-13T06:01:20Z beach: asarch: gigamonkey worked pretty hard to write that. I think he deserves his royalties. Perhaps you should send him some money. 2017-12-13T06:01:24Z asarch: Besides, I'm saving for "Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp", "The Elements of Artificial Intelligence" and "Introduction to Artificial Intelligence" 2017-12-13T06:02:13Z asarch: Oh... 2017-12-13T06:02:42Z asarch: I thought he was rich :-( 2017-12-13T06:03:45Z whyNOP_ quit (Ping timeout: 248 seconds) 2017-12-13T06:04:33Z damke_ quit (Ping timeout: 264 seconds) 2017-12-13T06:04:45Z whyNOP joined #lisp 2017-12-13T06:05:49Z asarch: But ok, I will send him the cost of the book 2017-12-13T06:06:13Z beach: Some 10% would be fine. That would be his royalties. 2017-12-13T06:06:15Z damke_ joined #lisp 2017-12-13T06:07:02Z beach: I am the first to admit that publishing companies are unethical in the way they treat their authors, and in the way they make money. That is why I use self publishing when I write books. 2017-12-13T06:07:53Z jack_rabbit joined #lisp 2017-12-13T06:08:30Z asarch: I thought I could get the hard copy of the book the same way you can get books from the Free Software Foundation 2017-12-13T06:09:00Z beach: What way is that? 2017-12-13T06:10:44Z vlatkoB joined #lisp 2017-12-13T06:12:18Z asarch: wget https://www.gnu.org/software/emacs/manual/pdf/eintr.pdf && lpr eintr.pdf 2017-12-13T06:15:46Z beach: Well, I haven't checked whether what you did is legal; perhaps it is. I just think that the author deserves to be compensated for his work. The FSF does not have as a goal to make money from their publications (though they would be happy for you to order a hard copy, or course). But I pretty sure that gigamonkey did not write that book just to be a nice guy and in order to spread the word about Common Lisp. 2017-12-13T06:15:47Z xrash quit (Remote host closed the connection) 2017-12-13T06:15:56Z asarch: If you need to change some parameters of the book, like the paper size, download the source code and compiles it 2017-12-13T06:16:52Z smurfrobot joined #lisp 2017-12-13T06:17:20Z asarch: Most of the Smalltalk books are in the PDF file format to download 2017-12-13T06:18:31Z asarch: Oh, $70 USD :-( 2017-12-13T06:18:53Z asarch: What do you think about "Let Over Lambda"? 2017-12-13T06:18:57Z beach: But thanks for the information. I am now convinced that I absolutely should not make HTML versions of my books available online. 2017-12-13T06:19:06Z asarch: D'oh! 2017-12-13T06:20:29Z asarch: HTMLDOC is, after all, a great tool, isn't it? 2017-12-13T06:21:17Z asarch: The new way to get PDF from DocBook is from HTML plus CSS style sheets 2017-12-13T06:24:11Z asarch: Have you seen this?: 2017-12-13T06:24:13Z asarch: https://www.gnu.org/philosophy/right-to-read.html 2017-12-13T06:25:48Z asarch: 20 years ago was the way to say "Fuck the System" o/ 2017-12-13T06:25:51Z asarch: :-P 2017-12-13T06:26:46Z asarch: Microsoft was the enemy back then 2017-12-13T06:27:26Z logicmoo is a subversive nowadays reading the clhs in .chm form 2017-12-13T06:29:09Z asarch: Even Wikipedia had a great conversion tool to get the PDF version of each article those days 2017-12-13T06:29:21Z asarch: Now it really is a shame :'-( 2017-12-13T06:34:09Z elephanter joined #lisp 2017-12-13T06:35:48Z bugrum joined #lisp 2017-12-13T06:36:47Z ahungry quit (Remote host closed the connection) 2017-12-13T06:37:31Z shka joined #lisp 2017-12-13T06:38:59Z smurfrobot quit (Remote host closed the connection) 2017-12-13T06:40:30Z zmt00 quit (Quit: Leaving) 2017-12-13T06:41:29Z jackdaniel: asarch: there is a huge gap between "fair share" and "free books", I think that you mistake these two terms 2017-12-13T06:43:03Z jackdaniel: I'm pretty sure RMS doesn't promote idea of free labor in contrast to fair share and the consumer rights to have control over what he bought / use 2017-12-13T06:43:16Z neoncontrails quit (Remote host closed the connection) 2017-12-13T06:44:00Z jackdaniel: (re the article you have linked) 2017-12-13T06:46:06Z asarch: D'oh! Ok, I will re-read it (maybe because my English was very limited back then) 2017-12-13T06:46:26Z asarch: Where about in France are you in beach? 2017-12-13T06:46:28Z jackdaniel: and generally, fsf encourages to buy the manuals from them, but doesn't close the door for people, who are not interested in spending money for other people effort (wikipedia, on the other hand, encourages donations, which for some reason outrage some people) 2017-12-13T06:46:43Z heurist quit (Ping timeout: 256 seconds) 2017-12-13T06:48:14Z Karl_Dscc joined #lisp 2017-12-13T06:51:38Z Oladon quit (Read error: Connection reset by peer) 2017-12-13T06:52:05Z Oladon joined #lisp 2017-12-13T06:52:35Z LocaMocha joined #lisp 2017-12-13T06:53:13Z bugrum quit (Remote host closed the connection) 2017-12-13T06:53:22Z heurist joined #lisp 2017-12-13T06:58:33Z mishoo quit (Ping timeout: 264 seconds) 2017-12-13T07:01:26Z beach: My solution to expensive books is to self publish and to set a reasonable price on the book. That way, more people can afford it, and I get paid significantly more per copy sold than if I had used a publishing company. 2017-12-13T07:02:26Z terpri joined #lisp 2017-12-13T07:03:35Z LocaMocha quit (Ping timeout: 240 seconds) 2017-12-13T07:04:14Z oleo quit (Quit: Leaving) 2017-12-13T07:06:45Z jackdaniel: I like the idea promoted by leanpub (namely: author sets minimum price and suggested price, user may pay any amount [min-price; inf)) and service takes 10% itself 2017-12-13T07:06:56Z joast quit (Ping timeout: 268 seconds) 2017-12-13T07:07:22Z jackdaniel: so royalty for the author is 90% and it is possible to publish book with minimal price 0 (of course it is only for electronic books afaik) 2017-12-13T07:08:02Z jackdaniel: study shows, that people often pay more for books which have minimal cost $0 if they find them useful 2017-12-13T07:08:06Z beach: Yeah, it has to cover the cost of printing and distribution. 2017-12-13T07:08:10Z jackdaniel: but that's offtopic from my side, sorry about that 2017-12-13T07:08:58Z LocaMocha joined #lisp 2017-12-13T07:09:29Z pjb` joined #lisp 2017-12-13T07:09:31Z DeadTrickster: Hi loke 2017-12-13T07:10:03Z jackdaniel: // one last remark, there is apparently service called lulu, which allows you to print electronical books *you own* for some reasonable fee 2017-12-13T07:11:26Z pjb quit (Ping timeout: 272 seconds) 2017-12-13T07:11:54Z shka: beach: when this book will be available? 2017-12-13T07:12:11Z momofarm joined #lisp 2017-12-13T07:13:15Z dmh: i have used lulu to print many reference manuals to great effect 2017-12-13T07:13:39Z dec0n joined #lisp 2017-12-13T07:14:06Z beach: shka: I have one book in English available. 2017-12-13T07:14:19Z beach: https://www.amazon.com/Introduction-Computer-Science-Robert-Strandh/dp/1479206660/ref=sr_1_1?ie=UTF8&qid=1513148554&sr=8-1&keywords=Robert+Strandh+introduction+to+computer+science 2017-12-13T07:14:32Z neoncontrails joined #lisp 2017-12-13T07:14:39Z HoloIRCUser joined #lisp 2017-12-13T07:14:42Z shka: oh well 2017-12-13T07:14:55Z HoloIRCUser: Hello world 2017-12-13T07:15:11Z beach: Hey HoloIRCUser. 2017-12-13T07:15:15Z fikka joined #lisp 2017-12-13T07:15:23Z HoloIRCUser is now known as swhc 2017-12-13T07:15:28Z shka: beach: is that first book you published? 2017-12-13T07:15:33Z shka: *the first 2017-12-13T07:15:39Z beach: Like that, yes. 2017-12-13T07:15:47Z swhc: Which 2017-12-13T07:15:50Z swhc: Book 2017-12-13T07:16:01Z shka: yes 2017-12-13T07:16:02Z beach: swhc: The one I gave a link to. 2017-12-13T07:16:44Z swhc: I 2017-12-13T07:17:22Z swhc: where is the link ? I can't see the history 2017-12-13T07:17:32Z beach: https://www.amazon.com/Introduction-Computer-Science-Robert-Strandh/dp/1479206660/ref=sr_1_1?ie=UTF8&qid=1513148554&sr=8-1&keywords=Robert+Strandh+introduction+to+computer+science 2017-12-13T07:17:45Z LocaMocha quit (Ping timeout: 264 seconds) 2017-12-13T07:18:03Z beach: I think we should drop the subject now, and pick it up when I have Common Lisp related books to show. 2017-12-13T07:18:49Z jackdaniel: speaking of books, I've ordered PAIP and it arrived on Monday 2017-12-13T07:19:00Z jackdaniel: looks impressive :) 2017-12-13T07:19:03Z beach: It is. 2017-12-13T07:19:06Z beach: Very good book. 2017-12-13T07:19:57Z swhc: Is it good for beginner s 2017-12-13T07:19:59Z fikka quit (Ping timeout: 248 seconds) 2017-12-13T07:21:00Z swhc quit (Remote host closed the connection) 2017-12-13T07:21:13Z HoloIRCUser joined #lisp 2017-12-13T07:21:39Z beach: HoloIRCUser: No. 2017-12-13T07:22:17Z HoloIRCUser quit (Client Quit) 2017-12-13T07:22:44Z HoloIRCUser joined #lisp 2017-12-13T07:22:59Z HoloIRCUser is now known as swhc 2017-12-13T07:23:14Z dddddd joined #lisp 2017-12-13T07:24:25Z swhc quit (Remote host closed the connection) 2017-12-13T07:24:28Z jackdaniel: minion: tell swhc about pcl 2017-12-13T07:24:29Z minion: swhc: please look at pcl: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005). 2017-12-13T07:24:31Z jackdaniel: minion: tell swhc about gentle 2017-12-13T07:24:32Z minion: swhc: please see gentle: "Common Lisp: A Gentle Introduction to Symbolic Computation" is a smoother introduction to lisp programming. http://www.cs.cmu.edu/~dst/LispBook/ 2017-12-13T07:24:39Z HoloIRCUser joined #lisp 2017-12-13T07:24:51Z jackdaniel: minion: tell swhc about ansi 2017-12-13T07:24:51Z minion: ansi: No definition was found in the first 5 lines of http://www.cliki.net/ansi 2017-12-13T07:24:56Z jackdaniel: hm 2017-12-13T07:25:57Z HoloIRCUser quit (Remote host closed the connection) 2017-12-13T07:25:59Z beach: jackdaniel: Since the maintainer of minion does not want to adapt it to the new format of cliki, I often give minion explicit entries so as to avoid that message. 2017-12-13T07:26:01Z asarch: Marijn Haverbeke gives his book for free 2017-12-13T07:26:02Z mishoo joined #lisp 2017-12-13T07:26:09Z asarch: http://eloquentjavascript.net/ 2017-12-13T07:26:09Z HoloIRCUser joined #lisp 2017-12-13T07:26:22Z LocaMocha joined #lisp 2017-12-13T07:26:47Z HoloIRCUser is now known as swhc 2017-12-13T07:26:51Z jackdaniel: asarch: this is not channel dedicated to javascript 2017-12-13T07:26:57Z asarch: Packt once in a while lets you download some titles for free 2017-12-13T07:27:05Z asarch: I mean, speaking about books 2017-12-13T07:27:09Z Karl_Dscc quit (Remote host closed the connection) 2017-12-13T07:27:41Z jackdaniel: asarch: I think this discussion fits better #lispcafe (and I'm aware I did carry offtopic myself ;) 2017-12-13T07:28:42Z swhc quit (Remote host closed the connection) 2017-12-13T07:29:37Z HoloIRCUser joined #lisp 2017-12-13T07:29:58Z asarch: Anyway, thank you very much guys 2017-12-13T07:31:02Z asarch: And I really sorry for stealing Peter Seibel's work. I promise I will compensate him 2017-12-13T07:31:42Z LocaMocha quit (Ping timeout: 272 seconds) 2017-12-13T07:31:45Z greaser|q quit (Changing host) 2017-12-13T07:31:45Z greaser|q joined #lisp 2017-12-13T07:31:45Z asarch: I will write a book about learning Lisp (Common Lisp) and I will give it for free 2017-12-13T07:31:50Z greaser|q is now known as GreaseMonkey 2017-12-13T07:32:07Z HoloIRCUser quit (Read error: Connection reset by peer) 2017-12-13T07:32:22Z beach: asarch: Good luck. 2017-12-13T07:32:30Z asarch: Have a nice day :-) 2017-12-13T07:32:33Z asarch: See you later 2017-12-13T07:32:53Z asarch: Viel Spaẞ! 2017-12-13T07:32:57Z asarch quit (Quit: Leaving) 2017-12-13T07:37:19Z flamebeard joined #lisp 2017-12-13T07:38:24Z jackdaniel: I'm pretty sure you didn't steal it, it is available for free after all 2017-12-13T07:39:00Z LocaMocha joined #lisp 2017-12-13T07:39:02Z jackdaniel: yet PCL is on my to-buy list, I want to have it in my collection 2017-12-13T07:40:35Z phoe: jackdaniel: depends. MINIX is also available "for free" and yet it's possible to steal it; just don't obey the terms under which it is licensed. 2017-12-13T07:40:44Z phoe afk 2017-12-13T07:43:32Z HoloIRCUser joined #lisp 2017-12-13T07:44:23Z HoloIRCUser quit (Remote host closed the connection) 2017-12-13T07:53:30Z quazimodo joined #lisp 2017-12-13T07:57:40Z orivej quit (Ping timeout: 272 seconds) 2017-12-13T08:08:35Z tcr joined #lisp 2017-12-13T08:10:12Z Mon_Ouie joined #lisp 2017-12-13T08:13:58Z d4ryus1 is now known as d4ryus 2017-12-13T08:23:57Z fikka joined #lisp 2017-12-13T08:37:44Z Cymew joined #lisp 2017-12-13T08:38:03Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2017-12-13T08:43:11Z neoncontrails quit (Remote host closed the connection) 2017-12-13T08:44:15Z fikka quit (Ping timeout: 248 seconds) 2017-12-13T08:46:16Z fikka joined #lisp 2017-12-13T08:47:41Z SaganMan joined #lisp 2017-12-13T08:54:12Z neoncontrails joined #lisp 2017-12-13T08:55:23Z odin quit (Quit: ZNC - http://znc.in) 2017-12-13T08:55:43Z mrSpec` is now known as mrSpec 2017-12-13T08:58:05Z wigust_ quit (Ping timeout: 255 seconds) 2017-12-13T09:02:45Z Amplituhedron joined #lisp 2017-12-13T09:04:59Z fikka quit (Ping timeout: 256 seconds) 2017-12-13T09:08:54Z scottj joined #lisp 2017-12-13T09:10:00Z felics joined #lisp 2017-12-13T09:11:47Z felics quit (Client Quit) 2017-12-13T09:13:41Z fikka joined #lisp 2017-12-13T09:21:17Z murii joined #lisp 2017-12-13T09:24:15Z fikka quit (Ping timeout: 248 seconds) 2017-12-13T09:29:21Z _cosmonaut_ joined #lisp 2017-12-13T09:30:02Z AlexeyKamenew joined #lisp 2017-12-13T09:30:23Z AlexeyKamenew left #lisp 2017-12-13T09:31:36Z Cymew quit (Remote host closed the connection) 2017-12-13T09:34:38Z fikka joined #lisp 2017-12-13T09:40:55Z Cymew joined #lisp 2017-12-13T09:41:55Z moei joined #lisp 2017-12-13T09:43:23Z heurist` joined #lisp 2017-12-13T09:44:39Z heurist quit (Ping timeout: 256 seconds) 2017-12-13T09:57:30Z trosa-work joined #lisp 2017-12-13T09:59:48Z jmercouris joined #lisp 2017-12-13T10:02:22Z hhdave joined #lisp 2017-12-13T10:04:09Z nullman quit (Ping timeout: 250 seconds) 2017-12-13T10:05:06Z nullman joined #lisp 2017-12-13T10:05:45Z momofarm quit (Ping timeout: 264 seconds) 2017-12-13T10:06:05Z ebrasca left #lisp 2017-12-13T10:09:15Z trosa-work quit (Remote host closed the connection) 2017-12-13T10:14:34Z ryanbw joined #lisp 2017-12-13T10:29:09Z elephanter quit 2017-12-13T10:29:45Z red-dot joined #lisp 2017-12-13T10:30:48Z igemnace quit (Quit: WeeChat 2.0) 2017-12-13T10:34:10Z smurfrobot joined #lisp 2017-12-13T10:34:54Z smurfrobot quit (Remote host closed the connection) 2017-12-13T10:40:02Z jmercouris: so, I've created this snippet of code here: https://gist.github.com/a16b5106ad918bbd843c304f09918e08 2017-12-13T10:40:18Z jmercouris: I'm curious, how might some of you write it instead? would you have used map? checked the result of the function etc? 2017-12-13T10:40:26Z jmercouris: E.g. what could be a better way to write it 2017-12-13T10:40:51Z jmercouris: What is the goal of the snippet? To load quicklisp if it is in either one of those directories 2017-12-13T10:46:09Z beach: I see two small problems. The first is the indentation of the DO clause of the call to LOOP. The second is the name of the function LOAD-QUICKLISP which suggest that it is always capable of loading Quicklisp. 2017-12-13T10:46:52Z beach: Also, for that kind of loop, you can write it as (mapc #'load-quicklisp ...). 2017-12-13T10:47:10Z beach: And you can use a quoted list rather than calling LIST, because the list is not going to be modified. 2017-12-13T10:49:14Z beach: You might consider signaling an error if the file can not be found in any of those directories. 2017-12-13T10:50:37Z beach: Like rename load-quicklisp to maybe-load-quicklisp and have it return a Boolean value indicating whether it found the file to load. 2017-12-13T10:50:38Z test1600 quit (Quit: Leaving) 2017-12-13T10:50:46Z pjb`: And you might consider shortcutting it when the loading has been done. 2017-12-13T10:50:53Z beach: Yeah. 2017-12-13T10:50:59Z pjb`: If you have both directories, it probably will be bad to load both. 2017-12-13T10:51:02Z pjb` is now known as pjb 2017-12-13T10:51:28Z beach: Then you can write the loop like this (unless (loop for path in ... some (maybe-load-quicklisp ...)) (error ...)) 2017-12-13T10:51:31Z beach: Something like that. 2017-12-13T10:53:06Z pjb: (find (function maybe-load-quicklisp) '(".quicklisp/setup.lisp" "quicklisp/setup.lisp")) 2017-12-13T10:53:33Z EvW1 joined #lisp 2017-12-13T10:53:48Z pjb: Since the current implementation of load-quicklisp will return true only if loaded. 2017-12-13T10:53:49Z pjb: clhs load 2017-12-13T10:53:49Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_load.htm 2017-12-13T10:53:52Z beach: pjb: find-if? 2017-12-13T10:53:59Z pjb: Right, sorry, FIND-IF. 2017-12-13T10:55:47Z White_Flame quit (Ping timeout: 255 seconds) 2017-12-13T10:56:30Z beach: Well, if the current function is supposed to return a Boolean indicating success, it needs to be rewritten. Because as it is written now, it should only be used for side effect. 2017-12-13T10:57:13Z pjb: Do you say that for the WHEN? It's already returning the wanted boolean. 2017-12-13T10:57:21Z White_Flame joined #lisp 2017-12-13T10:57:48Z beach: Semantically speaking yes, but not software-engineeringly speaking. 2017-12-13T10:58:06Z pjb: How would you write it? 2017-12-13T10:58:10Z EvW1 quit (Ping timeout: 272 seconds) 2017-12-13T10:58:33Z beach: Hold on, I removed the page... 2017-12-13T10:59:56Z beach: clhs load 2017-12-13T10:59:56Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_load.htm 2017-12-13T11:00:23Z beach: checking the return value of LOAD. 2017-12-13T11:01:34Z beach: It depends on whether you want an error to be signaled or not. 2017-12-13T11:01:45Z dddddd quit (Remote host closed the connection) 2017-12-13T11:02:22Z beach: Probably (and (probe-file ...) (load ... :if-does-not-exist nil)) 2017-12-13T11:02:36Z White_Flame quit (Ping timeout: 260 seconds) 2017-12-13T11:02:45Z pjb: Right. 2017-12-13T11:03:20Z beach: Maybe probe-file is unnecessary though. 2017-12-13T11:03:27Z beach: clhs probe-file 2017-12-13T11:03:28Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_probe_.htm 2017-12-13T11:03:41Z pjb: You don't need the probe-file, since it could be deleted between the two calls. 2017-12-13T11:04:13Z pjb: (defun maybe-load-quicklisp (path) (load (merge-pathnames path (user-homedir-pathname)) :if-does-not-exist nil)) 2017-12-13T11:04:14Z beach: Indeed, so just (load ... :if-does-not-exist nil) 2017-12-13T11:04:18Z pjb: ye.s 2017-12-13T11:04:22Z beach: Good. 2017-12-13T11:04:49Z pjb: Now there could be other errors while loading. Perhaps we want to ignore them to try the next one. 2017-12-13T11:05:01Z beach: Possibly. 2017-12-13T11:05:01Z pjb: (defun maybe-load-quicklisp (path) (ignore-errors (load (merge-pathnames path (user-homedir-pathname)) :if-does-not-exist nil))) 2017-12-13T11:12:38Z beach: jmercouris: By the way, I like your approach to learning idiomatic code. Some people who come here couldn't care less. 2017-12-13T11:13:03Z quazimodo quit (Ping timeout: 256 seconds) 2017-12-13T11:13:35Z lisp_guest joined #lisp 2017-12-13T11:19:19Z republican_devil: is lisp really more productive than smalltalk haskell prolog? 2017-12-13T11:19:26Z republican_devil: i gave up 2017-12-13T11:19:34Z republican_devil: but maybe I should go back to gentle intro 2017-12-13T11:19:36Z republican_devil: and learn it 2017-12-13T11:19:43Z republican_devil: seems complex 2017-12-13T11:26:07Z orivej joined #lisp 2017-12-13T11:32:30Z jmercouris: pjb: How can I shortcut when it is done if I do mapc? 2017-12-13T11:32:51Z jmercouris: I will have to write a loop in this case, no? 2017-12-13T11:33:24Z jmercouris: beach: Thanks, I am trying to understand how a Lisper thinks and what are the strengths of the language 2017-12-13T11:33:47Z pjb: Using FIND-IF as indicated above is simplier than using MAPC. With MAPC you would have to wrap it in a BLOCK and RETURN-FROM it. 2017-12-13T11:34:05Z pjb: republican_devil: it's actually quite simple. 2017-12-13T11:34:19Z pjb: Way simplier than Haskell or Prolog. 2017-12-13T11:34:42Z pjb: republican_devil: you may try Smalltalk, if you want to benefit from an integrated GUI IDE using eg. Squeak. 2017-12-13T11:34:49Z jmercouris: pjb: Ah, somehow I missed that part after your nick changed, okay, I got it, thank you! 2017-12-13T11:35:09Z pjb: republican_devil: http://squeak.org 2017-12-13T11:36:08Z pjb: republican_devil: the gentle intro is smooth anyways. You may also consider other books or tutorial, see http://cliki.net for references. 2017-12-13T11:36:31Z AlexeyKamenew joined #lisp 2017-12-13T11:37:26Z White_Flame joined #lisp 2017-12-13T11:41:28Z guaqua_ is now known as guaqua 2017-12-13T11:42:46Z republican_devil: I have tried a few times and then I stop and when I come back I forgot msot 2017-12-13T11:43:08Z republican_devil: actually I rememebr liek 80% 2017-12-13T11:43:30Z republican_devil: so overall programmign experience in lisp is still best once get hang of it? 2017-12-13T11:43:31Z turkja: republican_devil: for me this was the gentle introduction: http://www.gigamonkeys.com/book/ 2017-12-13T11:43:57Z republican_devil: do you feel lisp>php etc for web? 2017-12-13T11:45:08Z wxie joined #lisp 2017-12-13T11:46:24Z turkja: productivity... is of course interesting, but personally i don't program in lisp for being productive. For that i'd choose python. Lisp programming is simply fun, and it feels right and correct. Purely personal opinion, obviously. 2017-12-13T11:47:35Z jmercouris: turkja: As a "expert" python developer and "novice" lisp developer, I would say one is not necessarily more or less suited to productivity 2017-12-13T11:47:53Z jmercouris: turkja: It depends on your application, if your spec will change and you must update a lot, lisp is infinitely more flexible 2017-12-13T11:48:08Z jmercouris: if your goal is to hammer something out with a clear spec, python will oft be quicker 2017-12-13T11:48:13Z turkja: jmercouris: i'm actually referring simply to available libraries etc 2017-12-13T11:48:28Z jmercouris: turkja: ah, then yes, in this case python is unbeatable 2017-12-13T11:48:35Z turkja: and to the hammering, which seems to be the way to do things 2017-12-13T11:48:36Z jmercouris: though every library invents its own stupid paradigms 2017-12-13T12:04:15Z pjb: republican_devil: try to write some lisp code everyday to keep sanity after 8 hours of torture with java or whatever. 2017-12-13T12:05:21Z pjb: I find python way too limited: you only have OOP to work with python. In CL you can use any paradygm you want or need, and you can even invent new ones. 2017-12-13T12:06:59Z jmercouris: pjb: There's a lot more than just OOP, you could program in a completely functional style in python, functions are first class citizens etc 2017-12-13T12:07:10Z jmercouris: You could also do procedural code if you wanted to 2017-12-13T12:07:39Z jmercouris: Also there are some limited "macros" like things called "decorators" 2017-12-13T12:07:43Z pjb: jmercouris: no lambda worth it. 2017-12-13T12:07:55Z jmercouris: pjb: You can create lambdas in python 2017-12-13T12:08:01Z pjb: only oneliners. 2017-12-13T12:08:21Z jmercouris: pjb: You could break it into multiple lines by using \ 2017-12-13T12:08:25Z pjb: :-) 2017-12-13T12:08:30Z pjb: What a joke… 2017-12-13T12:09:00Z jmercouris: ah, well, it is annoying to do, but there are other control structures that allow you to break across new lines 2017-12-13T12:09:16Z pjb: It's turing complete so you can also use python to implement CL… 2017-12-13T12:09:16Z jmercouris: Like if you have a function you can break the args on new lines without \ 2017-12-13T12:09:23Z jmercouris: I've actually done that 2017-12-13T12:09:33Z jmercouris: I've also implemented a Lisp in C as well 2017-12-13T12:09:49Z jmercouris: way back when I was going to try to make my browser emacs style with a "lisp interpreter" and "c functions" for fast things 2017-12-13T12:10:31Z jmercouris: It's amazing what you don't know you don't know, that would have been a horrific codebase to work with 2017-12-13T12:10:56Z SuperJen joined #lisp 2017-12-13T12:12:21Z jmercouris: One of the best and worst decisions in python was to do code indenting with spaces and no brackets or anything 2017-12-13T12:12:42Z jmercouris: forces your code to be very neat, and break apart complexities if you see that a line is getting too long, but it is also very infuriating sometimes 2017-12-13T12:13:04Z wxie quit (Quit: Bye.) 2017-12-13T12:13:12Z jmercouris: This isn't #python though, so I'll refrain from elaborating further :D 2017-12-13T12:14:26Z Shinmera: Fare: Around? 2017-12-13T12:14:48Z Guest39874 quit (Ping timeout: 272 seconds) 2017-12-13T12:15:13Z Sigyn quit (Quit: People always have such a hard time believing that robots could do bad things.) 2017-12-13T12:15:41Z jmercouris: pjb: beach: Thanks: https://github.com/nEXT-Browser/nEXT/commit/edda38552c38d7204ac53ab285bcd6e4bafd988d 2017-12-13T12:15:55Z Sigyn joined #lisp 2017-12-13T12:16:07Z Sigyn quit (Read error: Connection reset by peer) 2017-12-13T12:18:10Z turkja: For me the biggest strength of Lisp is the compiler integration with slime and friends, and the whole idea of iterative or interactive programming (sorry i can't find better term). That i simply cannot find in any other language 2017-12-13T12:18:40Z turkja: actually the simple idea of "live compiler" living in my program makes me smile :D 2017-12-13T12:19:12Z Sigyn joined #lisp 2017-12-13T12:21:00Z Shinmera: What pains me most about my current Android development is the lack of function reloading and the lack of a REPL to try things. 2017-12-13T12:21:28Z Shinmera: There's lots of stuff that annoys the hell out of me beside that, but that's what's costing me the most time. 2017-12-13T12:21:55Z drdo: What annoys me most about android development is android 2017-12-13T12:22:08Z turkja: Shinmera: you have been spoiled! 2017-12-13T12:22:24Z Shinmera: I like to think that the rest of the world has been living with their legs chopped off instead. 2017-12-13T12:22:30Z Jen joined #lisp 2017-12-13T12:22:53Z Jen is now known as Guest19887 2017-12-13T12:23:14Z turkja: hehe 2017-12-13T12:24:13Z JenElizabeth joined #lisp 2017-12-13T12:25:03Z jmercouris: Shinmera: You can use ECL to develop on android 2017-12-13T12:25:28Z jmercouris: You can also use it with EQL even 2017-12-13T12:25:39Z jmercouris: if you were feeling particularly hard-core you might look at what is possible with NDK and make bindings 2017-12-13T12:26:07Z SuperJen quit (Ping timeout: 248 seconds) 2017-12-13T12:26:36Z jmercouris: Shinmera: https://gitlab.com/eql/EQL5-Android 2017-12-13T12:26:49Z Shinmera: No thanks 2017-12-13T12:27:15Z jmercouris: Are you using java or kotlin? 2017-12-13T12:27:21Z Guest19887 quit (Ping timeout: 264 seconds) 2017-12-13T12:27:22Z Shinmera: Java 2017-12-13T12:27:35Z Shinmera: I'm not going to switch, so no thanks in advance 2017-12-13T12:27:45Z jmercouris: I understand, invested time 2017-12-13T12:27:52Z jmercouris: I'm much more comfortable myself with java anyway 2017-12-13T12:27:53Z SaganMan quit (Quit: WeeChat 1.6) 2017-12-13T12:28:02Z jmercouris: I don't really feel limited at all actually, except for the REPL part 2017-12-13T12:28:38Z jmercouris: You can do a lot of stuff though with the debugger, it would be worth exploring its capabilities imo 2017-12-13T12:30:11Z jmercouris: Shinmera: This looks interesting: https://github.com/jasonwyatt/Android-DebugPort 2017-12-13T12:32:54Z jackdaniel: havign repl on my phone is certainly fun 2017-12-13T12:37:17Z raynold quit (Quit: Connection closed for inactivity) 2017-12-13T12:37:29Z jfb4 quit (Ping timeout: 256 seconds) 2017-12-13T12:37:50Z attila_lendvai joined #lisp 2017-12-13T12:37:50Z attila_lendvai quit (Changing host) 2017-12-13T12:37:50Z attila_lendvai joined #lisp 2017-12-13T12:39:03Z jfb4 joined #lisp 2017-12-13T12:44:47Z varjag joined #lisp 2017-12-13T12:49:15Z EvW joined #lisp 2017-12-13T12:53:36Z Shinmera: To bring this back around to lisp, my Android work is to create a native app for my lisp chat system. https://filebox.tymoon.eu//file/TVRRM09RPT0= 2017-12-13T13:00:43Z wxie joined #lisp 2017-12-13T13:02:42Z wxie quit (Remote host closed the connection) 2017-12-13T13:08:19Z FreeBirdLjj joined #lisp 2017-12-13T13:13:07Z logicmoo: trying to decide between *default-pathname-defaults* of "" or the current working dir when lisp starts up 2017-12-13T13:13:33Z FreeBirdLjj quit (Ping timeout: 264 seconds) 2017-12-13T13:14:00Z foom2 joined #lisp 2017-12-13T13:14:08Z logicmoo: hyperspec suggests current working dir but everyone else does "" 2017-12-13T13:14:50Z Shinmera: The trick is that once you hit the filesystem relative paths automatically get turned into absolute ones by being relative to the cwd 2017-12-13T13:15:12Z Shinmera: So "" is a good choice as it avoids cluttering up pathnames that get merged with *d-p-d* 2017-12-13T13:16:27Z logicmoo: ok i guess i might go with that 2017-12-13T13:17:05Z jmercouris quit (Ping timeout: 240 seconds) 2017-12-13T13:17:17Z foom quit (Ping timeout: 255 seconds) 2017-12-13T13:22:31Z hel-io joined #lisp 2017-12-13T13:24:11Z Cymew quit (Remote host closed the connection) 2017-12-13T13:24:25Z logicmoo: oh hrrm (truename ".") doesnt work on clips to get the cwd 2017-12-13T13:24:33Z logicmoo: clisp* 2017-12-13T13:24:46Z logicmoo: does on sbcl 2017-12-13T13:25:32Z logicmoo: i kind of understand that clisp is following the hyperspec in that "." is not an existing file 2017-12-13T13:25:44Z Amplituhedron quit (Ping timeout: 272 seconds) 2017-12-13T13:25:53Z logicmoo: " TRUENAME: "/home/dmiles/logicmoo_workspace/packs_usr/wam_common_lisp/t/." names a directory, not a file" 2017-12-13T13:25:59Z mfiano: If you're working with pathnames you probably want to be using uiop anyway 2017-12-13T13:27:27Z hel-io quit (Ping timeout: 248 seconds) 2017-12-13T13:28:48Z ninegrid quit (Read error: Connection reset by peer) 2017-12-13T13:29:07Z ninegrid joined #lisp 2017-12-13T13:29:08Z logicmoo: mfiano: right on, currently i am writing truename and making sure uiop has somethuing to target https://github.com/TeamSPoon/wam_common_lisp/blob/master/prolog/wam_cl/pathnames.pl 2017-12-13T13:30:58Z myrkraverk: Ok, there's something about macros in general, or with- macros in particular that I don't understand. 2017-12-13T13:31:02Z myrkraverk: Given 2017-12-13T13:31:11Z myrkraverk: (defun invoke-with-foo (continuation) (funcall continuation 'foo)) 2017-12-13T13:31:13Z myrkraverk: and 2017-12-13T13:31:28Z myrkraverk: (defmacro with-foo ((foo) &body body) `(invoke-with-foo (lambda (,foo) ,@body))) 2017-12-13T13:31:51Z myrkraverk: why does (with-foo (bar) (format t "~a~%" bar)) ; work? 2017-12-13T13:32:09Z Shinmera: Why wouldn't it 2017-12-13T13:32:19Z myrkraverk: That is, I don't "get" the (lambda (,foo) ...) part. 2017-12-13T13:32:36Z TMA: myrkraverk: try (macroexpand '(with-foo (bar) (format t "~a~%" bar))) 2017-12-13T13:32:48Z myrkraverk: ok. 2017-12-13T13:33:45Z myrkraverk: Ah, so the ,foo turns it into bar during macro expansion. 2017-12-13T13:34:10Z myrkraverk: That was the part that was puzzling me. 2017-12-13T13:35:03Z AlexeyKamenew quit 2017-12-13T13:35:33Z basket: myrkraverk: Backquote is just shorthand for consing together lists, so if foo is bound to bar, then `(lambda (,foo) (fn ,foo)) is the same thing as (list 'lambda (list foo) (list 'fn foo)) 2017-12-13T13:35:47Z basket: myrkraverk: The unquoted expressions are just evaluated as normal 2017-12-13T13:35:52Z lnostdal quit (Ping timeout: 272 seconds) 2017-12-13T13:36:34Z myrkraverk: Right. 2017-12-13T13:37:34Z norserob joined #lisp 2017-12-13T13:37:53Z myrkraverk: Question, do compilers (sometimes) optimize away the extra funciton calls due to lambdas? 2017-12-13T13:37:54Z Xach: 2017-12-13T13:38:07Z m00natic joined #lisp 2017-12-13T13:38:23Z myrkraverk: Not that it matters in my case, I'm just curious. 2017-12-13T13:39:24Z gigetoo quit (Ping timeout: 246 seconds) 2017-12-13T13:39:59Z logicmoo: in wam-cl i sometimes convert the lamda into a real call.. but in the case you gave there i probably wouldnt 2017-12-13T13:40:37Z gigetoo joined #lisp 2017-12-13T13:42:00Z logicmoo: naw i guess it could still conver to merely (format t "~a~%" bar) 2017-12-13T13:43:07Z joast joined #lisp 2017-12-13T13:46:15Z lnostdal joined #lisp 2017-12-13T13:52:16Z LiamH joined #lisp 2017-12-13T13:54:19Z jdz: logicmoo: did you intend (truename "./")? 2017-12-13T13:54:47Z logicmoo: jdz: oh actualyl i did 2017-12-13T13:55:15Z logicmoo: and clisp doesnt return the same error 2017-12-13T13:55:39Z logicmoo: (although it could if it wanteD) 2017-12-13T13:58:55Z phoe: beach: I just realized. 2017-12-13T13:59:17Z phoe: I think the CL standard assumes that all pathnames create some kind of hierarchical tree-like structures. 2017-12-13T13:59:28Z phoe: How would pathnames work in your LispOS? 2017-12-13T13:59:35Z norserob quit (Quit: leaving) 2017-12-13T13:59:36Z attila_lendvai quit (Quit: Leaving.) 2017-12-13T13:59:46Z Shinmera: paths can be interpreted as a series of tags 2017-12-13T13:59:57Z Shinmera: and truename would produce a canonical ordering of the tags. 2017-12-13T14:00:26Z phoe: I see. 2017-12-13T14:02:12Z Bike joined #lisp 2017-12-13T14:09:27Z Denommus joined #lisp 2017-12-13T14:10:24Z beach: phoe: I haven't really thought about it much. What Shinmera says sounds plausible. 2017-12-13T14:12:34Z pjb: myrkraverk: theorically, they could. In practice, I don't know if many CL compilers do. This is something you'd find probably more in scheme compilers. 2017-12-13T14:13:06Z myrkraverk: Ah. 2017-12-13T14:13:23Z pjb: myrkraverk: similarly, all the functions in CL can be open-coded (implemented as special operators). So a CL compiler is free to transform a mapcar lambda whose result is ignored into a dolist. 2017-12-13T14:13:32Z pjb: But I don't know any doing that. 2017-12-13T14:13:36Z Tobbi joined #lisp 2017-12-13T14:13:41Z pjb: Perhaps sicl will be able to do it. 2017-12-13T14:14:27Z Bike: i think sbcl actually does that even if the result is ignored 2017-12-13T14:14:28Z warweasle joined #lisp 2017-12-13T14:14:31Z Bike: isn't ignored* 2017-12-13T14:15:20Z Sigyn quit (Quit: People always have such a hard time believing that robots could do bad things.) 2017-12-13T14:15:39Z Cymew joined #lisp 2017-12-13T14:23:22Z fikka quit (Ping timeout: 272 seconds) 2017-12-13T14:24:08Z EvW quit (Ping timeout: 255 seconds) 2017-12-13T14:25:19Z Sigyn joined #lisp 2017-12-13T14:27:10Z Denommus quit (Quit: restarting emacs) 2017-12-13T14:27:16Z Shinmera: pjb: SBCL does a lot of special-case transforms. 2017-12-13T14:31:07Z Bike: at least, it open codes mapcar so that (mapcar f ...) turns into a loop of (funcall f ...), and i think if f is a constant function it can inline that 2017-12-13T14:31:10Z EvW joined #lisp 2017-12-13T14:31:43Z beach: It looks like a normal case of inlining to me. 2017-12-13T14:32:07Z Bike: pretty much 2017-12-13T14:32:15Z murii is now known as Murii 2017-12-13T14:34:09Z emacsoma` quit (Ping timeout: 248 seconds) 2017-12-13T14:34:27Z _cosmonaut_ quit (Ping timeout: 240 seconds) 2017-12-13T14:37:29Z pjb: Ok. that's great that such an optimization be implemented. 2017-12-13T14:37:46Z Shinmera: Other things have more interesting stuff going on with deftransform. 2017-12-13T14:48:16Z oleo joined #lisp 2017-12-13T14:52:18Z jmercouris joined #lisp 2017-12-13T14:54:00Z sjl joined #lisp 2017-12-13T14:54:47Z Denommus joined #lisp 2017-12-13T14:56:44Z zmt00 joined #lisp 2017-12-13T14:57:38Z Denommus` joined #lisp 2017-12-13T14:58:46Z vydd joined #lisp 2017-12-13T14:58:46Z vydd quit (Changing host) 2017-12-13T14:58:46Z vydd joined #lisp 2017-12-13T15:02:00Z Denommus quit (Ping timeout: 272 seconds) 2017-12-13T15:02:56Z mishoo quit (Ping timeout: 260 seconds) 2017-12-13T15:06:08Z jfb4 quit (Ping timeout: 248 seconds) 2017-12-13T15:06:49Z Denommus` quit (Quit: rebooting) 2017-12-13T15:07:11Z EvW quit (Ping timeout: 240 seconds) 2017-12-13T15:07:59Z jfb4 joined #lisp 2017-12-13T15:08:50Z fikka joined #lisp 2017-12-13T15:10:58Z smurfrobot joined #lisp 2017-12-13T15:11:09Z EvW joined #lisp 2017-12-13T15:11:46Z Cymew quit (Remote host closed the connection) 2017-12-13T15:12:28Z Jesin joined #lisp 2017-12-13T15:12:45Z neoncontrails quit (Ping timeout: 256 seconds) 2017-12-13T15:12:53Z neoncont_ joined #lisp 2017-12-13T15:13:56Z mathrick joined #lisp 2017-12-13T15:14:27Z fikka quit (Ping timeout: 256 seconds) 2017-12-13T15:16:27Z cro__ quit (Read error: Connection reset by peer) 2017-12-13T15:18:01Z Cymew joined #lisp 2017-12-13T15:18:07Z smurfrobot quit (Remote host closed the connection) 2017-12-13T15:19:32Z ski_ is now known as ski 2017-12-13T15:20:10Z fikka joined #lisp 2017-12-13T15:20:55Z FreeBirdLjj joined #lisp 2017-12-13T15:22:20Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-13T15:22:39Z FreeBirdLjj joined #lisp 2017-12-13T15:22:54Z Cymew quit (Ping timeout: 272 seconds) 2017-12-13T15:25:46Z attila_lendvai joined #lisp 2017-12-13T15:25:46Z attila_lendvai quit (Changing host) 2017-12-13T15:25:46Z attila_lendvai joined #lisp 2017-12-13T15:30:00Z Cymew joined #lisp 2017-12-13T15:33:47Z mishoo joined #lisp 2017-12-13T15:34:51Z Cymew quit (Ping timeout: 256 seconds) 2017-12-13T15:35:13Z JuanDaugherty joined #lisp 2017-12-13T15:36:05Z Cymew joined #lisp 2017-12-13T15:39:31Z flamebeard quit (Quit: Leaving) 2017-12-13T15:40:51Z Cymew quit (Ping timeout: 260 seconds) 2017-12-13T15:42:55Z ryanbw quit (Ping timeout: 248 seconds) 2017-12-13T15:44:00Z svgDelux quit (Ping timeout: 246 seconds) 2017-12-13T15:46:36Z BitPuffin|osx joined #lisp 2017-12-13T15:48:36Z eudoxia joined #lisp 2017-12-13T15:49:38Z Rawriful joined #lisp 2017-12-13T15:54:04Z rippa joined #lisp 2017-12-13T15:55:35Z nullman quit (Ping timeout: 240 seconds) 2017-12-13T15:57:46Z nullman joined #lisp 2017-12-13T16:00:09Z dec0n quit (Read error: Connection reset by peer) 2017-12-13T16:00:20Z attila_lendvai quit (Quit: Leaving.) 2017-12-13T16:00:54Z smurfrobot joined #lisp 2017-12-13T16:02:34Z hattkunskapz joined #lisp 2017-12-13T16:03:19Z jmercouris: I'm trying to develop a macro, but unfortunately, there are two variable length sections, normally I would use something like ,@rest but I can't see how that would work here:https://gist.github.com/07a0cbaedd4f0aebb8d05646c3397426 2017-12-13T16:03:24Z scymtym quit (Ping timeout: 258 seconds) 2017-12-13T16:04:39Z Bike: (defmacro defparen (name lambda-list &body body) ...) seems fine to me 2017-12-13T16:05:03Z Bike: well, no idea about the innter html part 2017-12-13T16:05:07Z jmercouris: Bike: how would lambda-list work if there are a variable number of args 2017-12-13T16:05:23Z jmercouris: that's my question, will it treat (arg1 arg2) as one variable within the macro? 2017-12-13T16:05:38Z Bike: It's one value. A list. 2017-12-13T16:05:47Z jmercouris: Okay, that's what I wanted to clarify 2017-12-13T16:05:56Z Bike: (defmacro test (thing) `(quote ,thing)) (test (arg1 arg2)) => (ARG1 ARG2) no problem. 2017-12-13T16:05:56Z jmercouris: Ok, let me try writing it now, knowing this 2017-12-13T16:06:25Z Bike: How else could it work? 2017-12-13T16:06:52Z jmercouris: Yeah, I had this gap in my knowledge, I assumed it consumed every word as a new argument to the macro 2017-12-13T16:07:12Z jmercouris: I assume now it just consumes every sexp as a new arg? or am I wrong here? 2017-12-13T16:07:41Z FreeBirdLjj quit (Remote host closed the connection) 2017-12-13T16:08:28Z smurfrobot quit (Remote host closed the connection) 2017-12-13T16:08:32Z Bike: what is a word? 2017-12-13T16:08:58Z jmercouris: Hmm, yes, I'm not sure how to describe it in this context, so I'll just list the words in my example 2017-12-13T16:09:15Z jmercouris: so, defparen, namexy, help-contents I assumed were all words 2017-12-13T16:09:22Z Bike: symbols? 2017-12-13T16:09:26Z jmercouris: that would be individual "tokens" or whatever passed to the macro 2017-12-13T16:10:10Z jmercouris: ok, so here's another thought, what if I wanted to get at the individual arguments within the list, how would I do that? 2017-12-13T16:10:20Z Bike: it's a list. you use car, cdr, first, second, so on. 2017-12-13T16:10:23Z jmercouris: I don't actually need to do this, I'm just trying to improve my understanding of macros 2017-12-13T16:10:29Z jmercouris: Ah okay, so within the macro it is literally a list 2017-12-13T16:10:45Z karswell_ joined #lisp 2017-12-13T16:10:46Z Bike: So you were worried that if you wrote (defmacro defparen (name lambda-list &body body) ...) and then tried (defparen foo (a b) ...), it would bind lambda-list to a, and body to (cons b ...)? 2017-12-13T16:11:10Z Bike: in other words, that it would just ignore what you wrote? that would be perverse. 2017-12-13T16:11:19Z orivej_ joined #lisp 2017-12-13T16:11:21Z jmercouris: Bike: Yes, that is what I was thinking it would do 2017-12-13T16:11:37Z jmercouris: I guess I should have just tried it first, but I figured maybe there is something else I can learn as well by asking here 2017-12-13T16:11:39Z phoe: What's the practical difference between (defmacro foo (bar baz qux) ...) and (defmacro foo (bar (&rest baz) qux) ...)? 2017-12-13T16:11:42Z Bike: geez, the system isn't actively trying to fuck you over 2017-12-13T16:11:59Z orivej quit (Read error: Connection reset by peer) 2017-12-13T16:12:07Z ahungry joined #lisp 2017-12-13T16:12:08Z Bike: phoe: (foo a b c) doesn't work in the latter case, eg 2017-12-13T16:12:19Z jmercouris: I'm not saying the system is out to get me, but we don't exactly get a long 100% of the time :D 2017-12-13T16:12:37Z jmercouris: Bike: Do you have a repository of your code I can look at? 2017-12-13T16:12:45Z Bike: jmercouris: have you read PCL or something? i don't mean to be mean, but symbols are pretty fundamental and it worries me that you're so far into an involved program like a browser without knowing about them. 2017-12-13T16:12:56Z Bike: Mine? I'm Bike on github. I mostly work on clasp at the moment, though. 2017-12-13T16:13:00Z jmercouris: Bike: I've read it, the section about macros didnt really click with me 2017-12-13T16:13:18Z jmercouris: Bike: I actually consulted my notes from the book on Macros while thinking about this issue 2017-12-13T16:13:33Z FreeBirdLjj joined #lisp 2017-12-13T16:13:37Z Bike: clasp and sicl. so drmeister/clasp and robert-strandh/sicl. 2017-12-13T16:13:38Z jmercouris: In terms of symbols, I'm hesitant to use the word because it feels like I use it in the wrong way every time I talk about it :D 2017-12-13T16:13:46Z Jesin quit (Quit: Leaving) 2017-12-13T16:13:52Z dyelar joined #lisp 2017-12-13T16:14:05Z jmercouris: I am well aware of what they are, I just avoid the term 2017-12-13T16:14:20Z Bike: that's like avoiding talking about integers, you know? 2017-12-13T16:15:01Z dyelar quit (Client Quit) 2017-12-13T16:15:05Z jmercouris: It's hard for me to talk precisely 2017-12-13T16:15:05Z Mon_Ouie quit (Ping timeout: 240 seconds) 2017-12-13T16:15:22Z jmercouris: The concepts are clear in my head, but some part of the interface head:mouth jumbles things up 2017-12-13T16:15:25Z Bike: Anyway here's a brief explanation of macros. Say the evaluator or compiler runs into the form (foo ...), as in a list where the first element is the symbol foo. It knows that there's a macro named by that symbol. To evaluate or compile the form, it looks up the macro function with that name, and calls it with two arguments: the form (foo ...), and the current environment. Then it proceeds recursively, evaluating or compiling, on the res 2017-12-13T16:15:33Z Bike: In other words macro functions are normal functions. 2017-12-13T16:16:07Z jmercouris: so a macro is a defun with some special syntax to output symbols? 2017-12-13T16:16:22Z jmercouris: and expand lists of symbols etc? 2017-12-13T16:16:29Z Bike: No. I didn't say that. 2017-12-13T16:16:58Z jmercouris: Okay so let me start over then 2017-12-13T16:17:06Z jmercouris: defmacro defines a function with some special name 2017-12-13T16:17:23Z jmercouris: the compiler knows of that function and looks it up when finding a symbol with a special name 2017-12-13T16:17:57Z jmercouris: all the arguments to the special macro function are the complete form body of the special named symbol 2017-12-13T16:18:14Z jmercouris: yes? 2017-12-13T16:18:19Z karswell_ is now known as karswell 2017-12-13T16:18:28Z Bike: The macro function gets two arguments. The first one is the form, the second one is the environment. defmacro arranges things so that it destructures the form into the lambda list you specify 2017-12-13T16:18:40Z Bike: Like, you know you can do (destructuring-bind (foo bar) '(1 2) (+ foo bar)) => 3, right? 2017-12-13T16:18:57Z FreeBirdLjj quit (Ping timeout: 264 seconds) 2017-12-13T16:19:22Z jmercouris: I did not know that 2017-12-13T16:19:36Z Bike: okay... let me take a different tack here 2017-12-13T16:19:52Z Bike: Let's have a macro (defmacro my-let (var value &body body) `(let ((,var ,value)) ,@body)) 2017-12-13T16:20:05Z Bike: so (my-let x 3 (+ x 7)) expands into (let ((x 3)) (+ x 7)), basically trivial. 2017-12-13T16:20:18Z jmercouris: yea, this so far I understand 2017-12-13T16:20:34Z rpg joined #lisp 2017-12-13T16:21:47Z Bike: We can have (defun my-let-mf (form environment) (declare (ignore environment)) (destructuring-bind (var value &body body) (rest form) `(let ((,var ,value)) ,@body)) 2017-12-13T16:21:53Z khisanth_ quit (Ping timeout: 248 seconds) 2017-12-13T16:21:55Z Bike: my-let-mf is obviously just a normal function. 2017-12-13T16:22:19Z Bike: and if we do (my-let-mf '(my-let x 3 (+ x 7)) nil), we get (LET ((X 3)) (+ X 7)) same as the macro expansion. 2017-12-13T16:23:03Z jmercouris: Give me a second to process everything 2017-12-13T16:23:03Z Bike: my-let-mf essentially implements the macro function of the original my-let macro. 2017-12-13T16:23:52Z jmercouris: Ah, I get it 2017-12-13T16:24:10Z Bike: If you don't know destructuring-bind, we can be more verbose and write (let ((var (second form)) (value (third form)) (body (cdddr form))) `(let ...)) instead. 2017-12-13T16:24:23Z Bike: only list operations, in other words. no magic 2017-12-13T16:24:32Z jmercouris: yes, I understand now 2017-12-13T16:24:46Z jmercouris: Thank you for taking the time to explain it to me 2017-12-13T16:24:56Z Bike: As it happens we can also get the macro function explicitly, with (macro-function 'my-let). If we do (funcall (macro-function 'my-let) '(my-let x 3 (+ x 7)) nil) it returns the same as my-let-mf. 2017-12-13T16:25:03Z Bike: glad you get it 2017-12-13T16:25:04Z jmercouris: I have read PCL a couple times now actually, and this is the only time it has made sense to me how they actually work 2017-12-13T16:25:45Z dyelar joined #lisp 2017-12-13T16:26:09Z lisp_guest quit (Ping timeout: 264 seconds) 2017-12-13T16:26:30Z scymtym joined #lisp 2017-12-13T16:27:30Z White_Flame quit (Ping timeout: 272 seconds) 2017-12-13T16:29:06Z dddddd joined #lisp 2017-12-13T16:30:02Z nalkri quit (Ping timeout: 272 seconds) 2017-12-13T16:30:57Z fikka quit (Ping timeout: 256 seconds) 2017-12-13T16:32:19Z attila_lendvai joined #lisp 2017-12-13T16:32:20Z attila_lendvai quit (Changing host) 2017-12-13T16:32:20Z attila_lendvai joined #lisp 2017-12-13T16:33:43Z Achylles joined #lisp 2017-12-13T16:34:16Z lisp_guest joined #lisp 2017-12-13T16:34:20Z beach: Bike: Great explanation! 2017-12-13T16:34:51Z Tobbi quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-12-13T16:34:55Z Bike: like most things about eval, it makes more sense once you've written eval 2017-12-13T16:35:06Z varjag quit (Ping timeout: 272 seconds) 2017-12-13T16:35:11Z beach: Heh, indeed. 2017-12-13T16:35:42Z attila_lendvai quit (Client Quit) 2017-12-13T16:35:45Z BitPuffin|osx quit (Ping timeout: 264 seconds) 2017-12-13T16:35:51Z jackdaniel: (destructuring-bind (&key a b c) '(:a 3 :b 4 :c 6) …) ;is a nice way to destruct things too 2017-12-13T16:36:20Z Achylles quit (Remote host closed the connection) 2017-12-13T16:36:52Z nalkri joined #lisp 2017-12-13T16:37:21Z Murii quit (Ping timeout: 248 seconds) 2017-12-13T16:37:41Z Jesin joined #lisp 2017-12-13T16:40:09Z jackdaniel: http://quickref.common-lisp.net/ – cool stuff 2017-12-13T16:41:52Z fikka joined #lisp 2017-12-13T16:42:07Z beach: Bah, Cluffer is not in there. 2017-12-13T16:42:59Z jackdaniel: is it already in Quicklisp? 2017-12-13T16:43:10Z beach: I hope so. 2017-12-13T16:43:52Z khisanth_ joined #lisp 2017-12-13T16:43:58Z beach: Maybe not. 2017-12-13T16:43:59Z beach: :( 2017-12-13T16:44:03Z JenElizabeth quit (Remote host closed the connection) 2017-12-13T16:44:14Z jackdaniel: right, I can't see it with ql:system-apropos 2017-12-13T16:44:25Z jackdaniel: but I don't have newest dist 2017-12-13T16:44:31Z beach: Me neither. 2017-12-13T16:44:39Z jackdaniel: just updated, still no cluffer 2017-12-13T16:44:49Z beach: OK, I should submit it then. 2017-12-13T16:44:54Z jackdaniel: did you make an issue on quicklisp-projects to add it? 2017-12-13T16:44:59Z jackdaniel: right 2017-12-13T16:45:06Z beach: I must have forgotten. It happens. 2017-12-13T16:48:31Z fikka quit (Ping timeout: 256 seconds) 2017-12-13T16:52:17Z varjag joined #lisp 2017-12-13T17:00:02Z Tobbi joined #lisp 2017-12-13T17:01:00Z hattkunskapz quit (Read error: Connection reset by peer) 2017-12-13T17:01:25Z rm8 joined #lisp 2017-12-13T17:05:48Z TMA: is there a way to distinguish between a list and nonlist argument to format? ~:[ and ~@[ can be used for NIL/non-NIL test, but I would like to wrap ~{ so that it will not error on non-list e.g. in (format t "~{~s~}" 4) 2017-12-13T17:07:52Z Fare: quickref.quicklisp.org fails the usual way with uiop: it only looks at the first package, uiop/package. 2017-12-13T17:08:23Z sjl: I wish these autogenerated doc systems had a way to link to the actual docs, for people like me who take the time to write them 2017-12-13T17:09:37Z sjl: there's `:homepage` in ASDF's `defsystem`, maybe that's something that could be used 2017-12-13T17:10:55Z jackdaniel: sjl: I think it links whole README.md toplevel file – that might be a good place to point all the pointers 2017-12-13T17:10:58Z sjl: because if someone finds these "docs" for my stuff and thinks that's all there is, they're going to be disappointed https://i.imgur.com/5gebjQF.png 2017-12-13T17:11:08Z Bike: TMA: what should it do instead? 2017-12-13T17:11:34Z jackdaniel: s/to point/to put/ 2017-12-13T17:11:49Z papachan joined #lisp 2017-12-13T17:12:05Z sjl: jackdaniel: it includes the raw README.markdown, but hilariously it strips out the documentation link in it: https://simple-monosnap.s3.amazonaws.com/The_beast_Reference_Manual_2017-12-13_17-11-17.png 2017-12-13T17:12:15Z sjl: https://github.com/sjl/beast/blob/master/README.markdown 2017-12-13T17:12:33Z jackdaniel: access denied (re png) 2017-12-13T17:12:39Z sjl: ugh 2017-12-13T17:13:09Z sjl: jackdaniel: https://i.imgur.com/9g8zxd6.png 2017-12-13T17:13:33Z Kaisyu quit (Quit: Connection closed for inactivity) 2017-12-13T17:13:47Z jackdaniel: technically link is there, but the renderer doesn't interpret markdown 2017-12-13T17:14:35Z sjl: wow it just shoves the markdown right in there without sanitizing it huh 2017-12-13T17:14:48Z jackdaniel: right, simple text paste 2017-12-13T17:14:57Z sjl: hope no one inserts a bitcoin-mining