2019-09-01T00:01:02Z Kevslinger quit (Quit: Connection closed for inactivity) 2019-09-01T00:03:43Z leb quit 2019-09-01T00:03:51Z permagreen quit (Remote host closed the connection) 2019-09-01T00:19:36Z cl-arthur quit (Ping timeout: 245 seconds) 2019-09-01T00:21:49Z cl-arthur joined #lisp 2019-09-01T00:32:00Z salinasc joined #lisp 2019-09-01T00:41:14Z libertyprime joined #lisp 2019-09-01T00:42:29Z salinasc quit (Remote host closed the connection) 2019-09-01T00:45:00Z Kevslinger joined #lisp 2019-09-01T00:59:36Z t58 quit (Quit: Leaving) 2019-09-01T01:06:45Z semz_ joined #lisp 2019-09-01T01:06:45Z semz_ quit (Changing host) 2019-09-01T01:06:45Z semz_ joined #lisp 2019-09-01T01:07:55Z makomo quit (Ping timeout: 246 seconds) 2019-09-01T01:10:22Z semz quit (Ping timeout: 246 seconds) 2019-09-01T01:11:07Z cl-arthur quit (Remote host closed the connection) 2019-09-01T01:21:36Z Nomenclatura quit (Quit: q) 2019-09-01T01:36:29Z leb joined #lisp 2019-09-01T01:40:51Z orivej quit (Ping timeout: 245 seconds) 2019-09-01T01:47:09Z Oladon joined #lisp 2019-09-01T01:47:31Z wxie joined #lisp 2019-09-01T02:07:30Z remexre: vaguely off-topic, but about a CL lib: I'm trying to define a minikanren goal for cl-kanren that does membership queries of vectors 2019-09-01T02:08:00Z remexre: any tips for getting started? It feels like I'd have to determine whether the vector is instantiated or not, but that's Bad(TM), right? 2019-09-01T02:09:22Z leb quit 2019-09-01T02:11:16Z Insanity_ quit (Quit: Connection closed for inactivity) 2019-09-01T02:12:57Z learning quit (Remote host closed the connection) 2019-09-01T02:15:03Z learning joined #lisp 2019-09-01T02:17:59Z akoana left #lisp 2019-09-01T02:24:49Z notzmv joined #lisp 2019-09-01T02:35:34Z ahungry joined #lisp 2019-09-01T02:36:11Z libertyprime quit (Ping timeout: 244 seconds) 2019-09-01T02:39:05Z mathrick quit (Ping timeout: 250 seconds) 2019-09-01T02:45:04Z learning quit (Remote host closed the connection) 2019-09-01T03:01:43Z mathrick joined #lisp 2019-09-01T03:15:16Z jeosol quit (Remote host closed the connection) 2019-09-01T03:24:05Z elderK joined #lisp 2019-09-01T03:26:05Z yoja joined #lisp 2019-09-01T03:32:07Z yoja quit (Ping timeout: 246 seconds) 2019-09-01T03:40:20Z libertyprime joined #lisp 2019-09-01T03:45:44Z permagreen joined #lisp 2019-09-01T03:49:24Z catchme joined #lisp 2019-09-01T03:51:23Z elderK: Guys, when does dcron run the daily scripts? 2019-09-01T03:52:25Z no-defun-allowed: C is half CL, I suppose 2019-09-01T03:53:29Z ck_: elderK: why don't you go look at the crontab and find out 2019-09-01T03:56:13Z zaquest joined #lisp 2019-09-01T03:56:59Z elderK: ck_: I have. It just says @daily. 2019-09-01T03:57:08Z elderK: I've also hunted through the manpages, to try and find out. 2019-09-01T03:57:14Z elderK: But I get varying information. 2019-09-01T03:57:29Z elderK: So, I assumed it would be midnight, or at least once a day. But that doesn't seem to be happening. 2019-09-01T03:57:40Z yoeljacobsen joined #lisp 2019-09-01T03:57:52Z elderK: Last time daily ran was 2150 2019-09-01T03:58:23Z elderK: Right, so it must be 2150. That seems to be when it runs, according to /log/cron 2019-09-01T04:03:32Z red-dot quit (Remote host closed the connection) 2019-09-01T04:04:01Z wxie quit (Ping timeout: 250 seconds) 2019-09-01T04:07:39Z torbo joined #lisp 2019-09-01T04:07:45Z no-defun-allowed: Is there a simple implementation of array-row-major-index? 2019-09-01T04:08:09Z no-defun-allowed: Oh, CLHS has one. Thanks, CLHS 2019-09-01T04:08:24Z elimik31 quit (Ping timeout: 252 seconds) 2019-09-01T04:08:48Z yoeljacobsen quit (Remote host closed the connection) 2019-09-01T04:09:05Z yoeljacobsen joined #lisp 2019-09-01T04:11:27Z no-defun-allowed: clhs array-row-major-index 2019-09-01T04:11:27Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_ar_row.htm 2019-09-01T04:18:23Z yoeljacobsen quit (Ping timeout: 245 seconds) 2019-09-01T04:21:48Z zaquest quit (Remote host closed the connection) 2019-09-01T04:29:12Z beach: Good morning everyone! 2019-09-01T04:29:29Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-01T04:32:11Z vt240 quit (Quit: WeeChat 1.9.1) 2019-09-01T04:32:15Z ahungry: mornin 2019-09-01T04:33:11Z catchme: good morning 2019-09-01T04:37:47Z EvW1 joined #lisp 2019-09-01T04:43:39Z ebrasca joined #lisp 2019-09-01T04:52:31Z gravicappa joined #lisp 2019-09-01T04:58:21Z Volt_ quit (Ping timeout: 245 seconds) 2019-09-01T05:02:30Z leb joined #lisp 2019-09-01T05:03:27Z zaquest joined #lisp 2019-09-01T05:11:11Z MrBismuth joined #lisp 2019-09-01T05:11:28Z EvW1 quit (Ping timeout: 264 seconds) 2019-09-01T05:28:50Z ahungry quit (Remote host closed the connection) 2019-09-01T05:39:06Z vlatkoB joined #lisp 2019-09-01T05:40:32Z dmiles: how many symbols should COMMON-LISP export? 2019-09-01T05:42:37Z elderK: ck_: Oh, I'm sorry. Shit, I didn't realize I was in the wrong channel. God, what a fool. 2019-09-01T05:43:14Z dmiles: found it 978 2019-09-01T05:54:47Z TENEX joined #lisp 2019-09-01T05:56:02Z torbo quit (Remote host closed the connection) 2019-09-01T05:56:04Z ravenous_ joined #lisp 2019-09-01T05:56:09Z TENEX quit (Remote host closed the connection) 2019-09-01T06:00:03Z frodef joined #lisp 2019-09-01T06:00:36Z ravenous_ quit (Ping timeout: 252 seconds) 2019-09-01T06:04:14Z Oladon quit (Quit: Leaving.) 2019-09-01T06:05:18Z Volt_ joined #lisp 2019-09-01T06:12:15Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-01T06:16:16Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T06:16:33Z vaporatorius joined #lisp 2019-09-01T06:16:33Z vaporatorius quit (Changing host) 2019-09-01T06:16:33Z vaporatorius joined #lisp 2019-09-01T06:16:36Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T06:17:09Z vaporatorius joined #lisp 2019-09-01T06:17:09Z vaporatorius quit (Changing host) 2019-09-01T06:17:09Z vaporatorius joined #lisp 2019-09-01T06:17:10Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T06:17:45Z vaporatorius joined #lisp 2019-09-01T06:17:45Z vaporatorius quit (Changing host) 2019-09-01T06:17:45Z vaporatorius joined #lisp 2019-09-01T06:17:55Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T06:18:11Z ravenous_ joined #lisp 2019-09-01T06:18:13Z vaporatorius joined #lisp 2019-09-01T06:19:48Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T06:20:07Z vaporatorius joined #lisp 2019-09-01T06:20:07Z vaporatorius quit (Changing host) 2019-09-01T06:20:07Z vaporatorius joined #lisp 2019-09-01T06:20:31Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T06:21:10Z vaporatorius joined #lisp 2019-09-01T06:21:10Z vaporatorius quit (Changing host) 2019-09-01T06:21:10Z vaporatorius joined #lisp 2019-09-01T06:21:18Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T06:21:42Z vaporatorius joined #lisp 2019-09-01T06:21:42Z vaporatorius quit (Changing host) 2019-09-01T06:21:42Z vaporatorius joined #lisp 2019-09-01T06:27:40Z jonatack quit (Ping timeout: 264 seconds) 2019-09-01T06:42:02Z vlatkoB_ joined #lisp 2019-09-01T06:45:13Z vlatkoB quit (Ping timeout: 244 seconds) 2019-09-01T06:48:24Z ravenous_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-01T06:48:38Z jeosol joined #lisp 2019-09-01T06:58:00Z reverse_light joined #lisp 2019-09-01T06:58:41Z ggole joined #lisp 2019-09-01T06:58:47Z ravenous_ joined #lisp 2019-09-01T07:08:20Z nydel joined #lisp 2019-09-01T07:08:25Z nydel quit (Changing host) 2019-09-01T07:08:25Z nydel joined #lisp 2019-09-01T07:09:42Z dddddd quit (Remote host closed the connection) 2019-09-01T07:12:46Z nanoz joined #lisp 2019-09-01T07:19:26Z ravenous_ quit (Ping timeout: 252 seconds) 2019-09-01T07:33:37Z wxie joined #lisp 2019-09-01T07:43:27Z Necktwi joined #lisp 2019-09-01T07:45:22Z SaganMan joined #lisp 2019-09-01T07:52:07Z FreeBirdLjj joined #lisp 2019-09-01T08:02:54Z aindilis` joined #lisp 2019-09-01T08:03:49Z FennecCode quit (Quit: ERC (IRC client for Emacs 26.2)) 2019-09-01T08:04:16Z aindilis quit (Ping timeout: 244 seconds) 2019-09-01T08:06:20Z frodef quit (Ping timeout: 244 seconds) 2019-09-01T08:07:00Z abhixec joined #lisp 2019-09-01T08:12:55Z makomo joined #lisp 2019-09-01T08:14:11Z abhixec quit (Ping timeout: 245 seconds) 2019-09-01T08:15:40Z jonatack joined #lisp 2019-09-01T08:19:18Z jonatack quit (Client Quit) 2019-09-01T08:19:29Z jonatack joined #lisp 2019-09-01T08:22:00Z srji joined #lisp 2019-09-01T08:24:20Z leb quit 2019-09-01T08:35:00Z namosca joined #lisp 2019-09-01T08:40:26Z Lord_of_Life quit (Ping timeout: 244 seconds) 2019-09-01T08:42:51Z Lord_of_Life joined #lisp 2019-09-01T08:44:40Z thijso: Security-wise, how stupid would it be to read-from-string on incoming data on an udp port? Would there be a way to make that secure? Would using json (or other methods) to serialize stuff be better or are there security implications with that too (when used in a CL application)? 2019-09-01T08:50:36Z Shinmera: Very, no, depends, yes. 2019-09-01T08:50:41Z dale quit (Quit: My computer has gone to sleep) 2019-09-01T08:51:04Z Shinmera: That is of course, assuming the connections are not controlled by you and come from the outside world. 2019-09-01T08:51:11Z orivej joined #lisp 2019-09-01T08:56:46Z wxie quit (Quit: wxie) 2019-09-01T08:57:10Z wxie joined #lisp 2019-09-01T09:02:10Z namosca quit (Ping timeout: 246 seconds) 2019-09-01T09:03:59Z thijso: Shinmera: I was afraid of that. Connections are controlled by me, but not guaranteed to be, so I'm not eager to take that risk. 2019-09-01T09:05:06Z Shinmera: It's a bad idea because READing can intern symbols, which will stick around, so someone could keep allocating new symbols until you run out of memory. 2019-09-01T09:05:16Z thijso: I'm thinking of a group of apps communicating with each other. They all speak the same lingo. But an udp port is an udp port. Anyone can talk to it if they discover where it's at. 2019-09-01T09:06:01Z thijso: Is that the only problem? 2019-09-01T09:06:31Z random-nick joined #lisp 2019-09-01T09:06:36Z Shinmera: I'm sure security experts could talk about other problems, but I wouldn't know. 2019-09-01T09:06:42Z thijso: Is READing not a bigger risk target for targetted hacking attempts? Maybe I should read up on this stuff first... 2019-09-01T09:07:17Z thijso: On the other hand, maybe I'm overthinking this... 2019-09-01T09:07:42Z thijso: The data will need to be encrypted anyway, so maybe that's enough of a safety layer. 2019-09-01T09:08:27Z namosca joined #lisp 2019-09-01T09:12:35Z orivej quit (Ping timeout: 258 seconds) 2019-09-01T09:15:53Z Lycurgus joined #lisp 2019-09-01T09:18:06Z nanozz joined #lisp 2019-09-01T09:20:35Z pjb: thijso: basically: remove all reader macros, but perhaps that for ( and ", bind *read-eval* to nil and *package* to a throwable package. 2019-09-01T09:21:16Z nanoz quit (Ping timeout: 245 seconds) 2019-09-01T09:21:41Z pjb: thijso: the sender can still intern symbols in other packages by qualifying them however, so it would be nice to add a reader macro on all the consitituents to disable : and :: for qualified symbols, at which point you could have as well written your own parser. 2019-09-01T09:22:07Z pjb: thijso: read Chapter 2! 2019-09-01T09:23:16Z pjb: Honestly, given that the Chapter 1 is the Introduction with nothing transcendant, I don't understand how you people haven't all read Chapter 2 already!?!? How can you use a programming language without knowing the basics? 2019-09-01T09:23:20Z varjag joined #lisp 2019-09-01T09:42:33Z impulse quit (Quit: leaving) 2019-09-01T09:47:31Z namosca quit (Ping timeout: 245 seconds) 2019-09-01T09:47:54Z namosca joined #lisp 2019-09-01T09:52:51Z wxie quit (Ping timeout: 250 seconds) 2019-09-01T09:55:07Z frodef joined #lisp 2019-09-01T09:56:43Z shka_ quit (Ping timeout: 245 seconds) 2019-09-01T10:03:08Z orivej joined #lisp 2019-09-01T10:18:10Z cosimone joined #lisp 2019-09-01T10:18:14Z thijso: uhm... 2019-09-01T10:18:18Z thijso: chapters of what? 2019-09-01T10:23:48Z namosca quit (Ping timeout: 245 seconds) 2019-09-01T10:32:50Z namosca joined #lisp 2019-09-01T10:33:46Z scymtym quit (Ping timeout: 245 seconds) 2019-09-01T10:36:32Z Insanity_ joined #lisp 2019-09-01T10:37:36Z p9fn joined #lisp 2019-09-01T10:54:31Z beach: thijso: The standard, of course. 2019-09-01T10:54:31Z pjb: thijso: of clhs! 2019-09-01T10:54:46Z pjb: http://www.lispworks.com/documentation/HyperSpec/Front/index.htm 2019-09-01T10:58:44Z scymtym joined #lisp 2019-09-01T11:01:07Z dddddd joined #lisp 2019-09-01T11:05:20Z aindilis` quit (Remote host closed the connection) 2019-09-01T11:14:28Z igemnace joined #lisp 2019-09-01T11:14:31Z elimik31 joined #lisp 2019-09-01T11:19:02Z catchme quit (Quit: Connection closed for inactivity) 2019-09-01T11:19:42Z t58 joined #lisp 2019-09-01T11:21:36Z semz_ quit (Quit: Leaving) 2019-09-01T11:22:16Z semz joined #lisp 2019-09-01T11:42:00Z monokrom quit (Read error: Connection reset by peer) 2019-09-01T11:44:28Z cosimone quit (Quit: Leaving) 2019-09-01T11:44:33Z Inline__ joined #lisp 2019-09-01T11:45:48Z monokrom joined #lisp 2019-09-01T11:47:28Z Inline quit (Ping timeout: 264 seconds) 2019-09-01T11:57:15Z thijso: :) I'll take a look... 2019-09-01T12:00:19Z orivej quit (Ping timeout: 246 seconds) 2019-09-01T12:01:14Z moldybits quit (Quit: WeeChat 2.4) 2019-09-01T12:02:35Z moldybits joined #lisp 2019-09-01T12:02:48Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-01T12:03:52Z orivej joined #lisp 2019-09-01T12:09:16Z shifty joined #lisp 2019-09-01T12:09:46Z mhinz left #lisp 2019-09-01T12:10:01Z orivej quit (Ping timeout: 245 seconds) 2019-09-01T12:12:25Z Lycurgus quit (Quit: Exeunt) 2019-09-01T12:13:11Z wxie joined #lisp 2019-09-01T12:13:21Z orivej joined #lisp 2019-09-01T12:21:29Z wxie quit (Quit: wxie) 2019-09-01T12:24:34Z jeosol quit (Remote host closed the connection) 2019-09-01T12:27:31Z wxie joined #lisp 2019-09-01T12:29:11Z Inline__ quit (Quit: Leaving) 2019-09-01T12:30:01Z Inline joined #lisp 2019-09-01T12:33:41Z wxie quit (Quit: wxie) 2019-09-01T12:34:13Z orivej quit (Ping timeout: 258 seconds) 2019-09-01T12:34:46Z bjorkintosh quit (Remote host closed the connection) 2019-09-01T12:34:58Z bjorkintosh joined #lisp 2019-09-01T12:38:09Z wxie joined #lisp 2019-09-01T12:39:17Z orivej joined #lisp 2019-09-01T12:42:06Z makomo quit (Ping timeout: 245 seconds) 2019-09-01T12:46:51Z orivej quit (Ping timeout: 258 seconds) 2019-09-01T12:51:50Z cl-arthur joined #lisp 2019-09-01T12:56:19Z cosimone joined #lisp 2019-09-01T12:56:52Z orivej joined #lisp 2019-09-01T13:02:19Z kamog quit 2019-09-01T13:07:34Z awolven quit (Ping timeout: 258 seconds) 2019-09-01T13:11:51Z kamog joined #lisp 2019-09-01T13:12:48Z EvW joined #lisp 2019-09-01T13:14:21Z majeure joined #lisp 2019-09-01T13:22:09Z wxie quit (Ping timeout: 250 seconds) 2019-09-01T13:23:39Z namosca quit (Remote host closed the connection) 2019-09-01T13:23:52Z aindilis joined #lisp 2019-09-01T13:30:48Z lalitmee joined #lisp 2019-09-01T13:36:21Z jeosol joined #lisp 2019-09-01T13:36:29Z jeosol: Good morning 2019-09-01T13:38:19Z orivej quit (Ping timeout: 246 seconds) 2019-09-01T13:38:35Z beach: Hello jeosol. 2019-09-01T13:40:55Z jeosol: Doing great. Been away for a while due to schedule. 2019-09-01T13:41:39Z jeosol: I recently picked up few older CL books from ebay on cased-based reasoning, and NLP to learning some symbolic AI 2019-09-01T13:43:18Z beach: Congratulations. 2019-09-01T13:43:27Z jeosol: I have a question related to running shell commands from CL. I have to call a black box application to run in a particular directory that contains the input files (written by same CL application), then I create a linux command "cd directory && exe input-file 2019-09-01T13:44:19Z antoszka: jeosol: have a look at UIOP, it's got a portable interface for running commands. 2019-09-01T13:44:24Z jeosol: I execute the command with uiop:run-program and occasionally subprocess command errors. There is probably a better way to do it 2019-09-01T13:44:41Z antoszka: oh, you're already using it 2019-09-01T13:44:45Z jeosol: antoszka; thanks for your response, that's what I use already 2019-09-01T13:44:55Z antoszka: sorry, my terminal got stuck :) 2019-09-01T13:45:46Z jeosol: It runs, but after sometime, I get some weird errors about resource. I do that operation, e.g., 2000 times during a function call (in batches of say 20-30) 2019-09-01T13:45:49Z antoszka: if UIOP's acting strangely, you can use your implementation's facilities for that. It won't be portable, but maybe more reliable. 2019-09-01T13:45:57Z antoszka: sbcl? 2019-09-01T13:47:18Z antoszka: there's sb-ext:run-program there. 2019-09-01T13:47:29Z antoszka: And most will have something similar. 2019-09-01T13:47:30Z jeosol: @beach: Regarding the books, I wanted to learn how CL is used in that space. 2019-09-01T13:47:36Z semz: jeosol: what is the exact error? 2019-09-01T13:47:51Z jeosol: antoszka: I am using SBCL mostly, actually only 2019-09-01T13:47:57Z antoszka: yeah, try that maybe 2019-09-01T13:48:58Z antoszka: http://www.sbcl.org/manual/#Running-external-programs 2019-09-01T13:49:12Z antoszka: it's a pretty rich interface 2019-09-01T13:49:17Z beach: jeosol: Sounds good. Do you have PAIP? 2019-09-01T13:49:21Z jeosol: (UIOP/RUN-PROGRAM::%CHECK-RESULT 1 :COMMAND #<(SIMPLE-ARRAY CHARACTER (225)) cd /home/username/data/lisp/outputdir/ ..:PROCESS NIL :IGNORE-ERROR-STATUS NIL) source: (CERROR "IGNORE-ERROR-STATUS" 'SUBPROCESS-ERROR :COMMAND COMMAND :CODE EXIT-CODE :PROCESS PROCESS) 2019-09-01T13:49:36Z jeosol: @beach: Yes, I do have a copy. 2019-09-01T13:51:22Z antoszka: Norvig himself says the book is dated wrt teaching AI techniques, but it's probably still the best Common Lisp textbook. 2019-09-01T13:52:01Z jeosol: @semz: The error could be related to resource usage or something. I usually don't get these errors. Sometimes, it errors from running command to link a file, i.e., "ln -s file1 file2" 2019-09-01T13:54:21Z jeosol: antoszka: I thought on specification implemention, uiop:run-program will be using sbcl specific tools. I did that before but switch back to uiop:run-program for portability 2019-09-01T13:55:11Z antoszka: Yeah, UIOP falls back to sbcl-specific tools probably, but there may be some abstraction layer that just breaks. 2019-09-01T13:55:24Z pjb: jeosol: if you insist on @semz:, you should probably add it to the de-facto IRC standard way, since this won't be detected by normal irc clients. Try: semz: @semz: … 2019-09-01T13:55:54Z lalitmee quit (Read error: Connection reset by peer) 2019-09-01T13:56:15Z jeosol: I apologize, my bad 2019-09-01T14:00:23Z lalitmee joined #lisp 2019-09-01T14:00:46Z nanozz quit (Ping timeout: 244 seconds) 2019-09-01T14:07:55Z learning joined #lisp 2019-09-01T14:20:01Z Volt_ quit (Ping timeout: 258 seconds) 2019-09-01T14:27:31Z lalitmee quit (Quit: Leaving) 2019-09-01T14:27:44Z lalitmee joined #lisp 2019-09-01T14:32:09Z lucasb joined #lisp 2019-09-01T14:34:19Z lalitmee quit (Remote host closed the connection) 2019-09-01T14:36:59Z lalitmee joined #lisp 2019-09-01T14:38:10Z makomo joined #lisp 2019-09-01T14:47:02Z semz: jeosol: this doesn't look like the error message, but i'd guess that the subprocess doesn't exit with code 0 2019-09-01T14:47:04Z semz: but with code 1 instead 2019-09-01T14:47:14Z semz: so something seems to be going wrong with the helper program 2019-09-01T14:48:09Z semz: if that's intended for some reason, set IGNORE-ERROR-STATUS when doing the UIOP call 2019-09-01T14:50:50Z lalitmee quit (Remote host closed the connection) 2019-09-01T14:52:08Z SaganMan quit (Ping timeout: 245 seconds) 2019-09-01T14:56:41Z shifty quit (Ping timeout: 245 seconds) 2019-09-01T15:00:00Z lalitmee joined #lisp 2019-09-01T15:03:34Z nadare quit (Quit: leaving) 2019-09-01T15:03:40Z EvW quit (Ping timeout: 264 seconds) 2019-09-01T15:03:52Z Volt_ joined #lisp 2019-09-01T15:05:06Z ravenous_ joined #lisp 2019-09-01T15:09:30Z ravenous_ quit (Ping timeout: 252 seconds) 2019-09-01T15:10:45Z rippa joined #lisp 2019-09-01T15:11:21Z EvW1 joined #lisp 2019-09-01T15:16:13Z Insanity_ quit (Quit: Connection closed for inactivity) 2019-09-01T15:21:01Z shka_ joined #lisp 2019-09-01T15:27:03Z learning: I wish i was as passionate about JavaScript as I am about Lisp lol 2019-09-01T15:28:37Z EvW1 quit (Ping timeout: 276 seconds) 2019-09-01T15:29:45Z learning quit (Remote host closed the connection) 2019-09-01T15:30:19Z vaporatorius quit (Ping timeout: 246 seconds) 2019-09-01T15:30:35Z vaporatorius joined #lisp 2019-09-01T15:30:38Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T15:32:03Z leb joined #lisp 2019-09-01T15:33:04Z learning joined #lisp 2019-09-01T15:33:12Z vaporatorius joined #lisp 2019-09-01T15:33:12Z vaporatorius quit (Changing host) 2019-09-01T15:33:12Z vaporatorius joined #lisp 2019-09-01T15:39:04Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T15:40:05Z vaporatorius joined #lisp 2019-09-01T15:42:41Z namosca joined #lisp 2019-09-01T15:46:38Z Ankhers joined #lisp 2019-09-01T15:52:06Z yoeljacobsen joined #lisp 2019-09-01T15:52:43Z lalitmee quit (Ping timeout: 246 seconds) 2019-09-01T15:55:50Z leb quit 2019-09-01T15:59:01Z vaporatorius quit (Ping timeout: 246 seconds) 2019-09-01T15:59:34Z vaporatorius joined #lisp 2019-09-01T15:59:34Z vaporatorius quit (Changing host) 2019-09-01T15:59:34Z vaporatorius joined #lisp 2019-09-01T16:00:02Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T16:01:26Z reverse_light quit (Remote host closed the connection) 2019-09-01T16:05:17Z lalitmee joined #lisp 2019-09-01T16:08:19Z vaporatorius joined #lisp 2019-09-01T16:08:20Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T16:11:30Z vaporatorius joined #lisp 2019-09-01T16:11:32Z vaporatorius quit (Changing host) 2019-09-01T16:11:32Z vaporatorius joined #lisp 2019-09-01T16:11:38Z nanozz joined #lisp 2019-09-01T16:11:53Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T16:12:28Z Insanity_ joined #lisp 2019-09-01T16:15:18Z learning quit (Remote host closed the connection) 2019-09-01T16:15:28Z vaporatorius joined #lisp 2019-09-01T16:15:28Z vaporatorius quit (Changing host) 2019-09-01T16:15:28Z vaporatorius joined #lisp 2019-09-01T16:15:51Z random-nick quit (Ping timeout: 245 seconds) 2019-09-01T16:17:05Z learning joined #lisp 2019-09-01T16:25:17Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T16:25:40Z vaporatorius joined #lisp 2019-09-01T16:25:40Z vaporatorius quit (Changing host) 2019-09-01T16:25:40Z vaporatorius joined #lisp 2019-09-01T16:26:29Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T16:26:35Z trocado joined #lisp 2019-09-01T16:27:52Z vaporatorius joined #lisp 2019-09-01T16:27:53Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T16:28:35Z vaporatorius joined #lisp 2019-09-01T16:28:58Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T16:29:37Z vaporatorius joined #lisp 2019-09-01T16:29:37Z vaporatorius quit (Changing host) 2019-09-01T16:29:37Z vaporatorius joined #lisp 2019-09-01T16:29:40Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T16:30:10Z vaporatorius joined #lisp 2019-09-01T16:30:17Z mrcode_: what's the best way to rotate the entire list by 1 with rotatef ? is that the right mechanism to do that? 2019-09-01T16:30:21Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T16:31:38Z makomo: mrcode_: no, rotatef rotates "places" 2019-09-01T16:32:19Z makomo: the alexandria library has a rotate function for sequences 2019-09-01T16:33:06Z mrcode_: makomo: so is it possible to rotate a list by rottaing places in a list or is that not how that works? 2019-09-01T16:33:28Z makomo: to understand what a place (a generalized variable/reference) is, see http://www.lispworks.com/documentation/HyperSpec/Body/05_a.htm 2019-09-01T16:34:27Z makomo: a place is a "syntactic construct" introduced by the SETF macro, it's not a first-class thing you can manipulate as a value 2019-09-01T16:34:42Z makomo: i.e. you can't have a list of places 2019-09-01T16:34:46Z lalitmee quit (Remote host closed the connection) 2019-09-01T16:35:05Z mrcode_: hmmm 2019-09-01T16:35:09Z mrcode_: i see 2019-09-01T16:35:30Z makomo: but, if you knew the size of your list/sequence in advance, you could use rotatef i guess 2019-09-01T16:36:14Z makomo: as in, (rotatef (aref seq 0) (aref seq 1) ... (aref seq n)) :D 2019-09-01T16:37:23Z makomo: depends really on what you're looking for. my guess is that you want alexandria:rotate 2019-09-01T16:39:39Z lalitmee joined #lisp 2019-09-01T16:41:18Z mrcode_: makomo: well, i kind of want a rotate but also in place :) 2019-09-01T16:41:24Z mrcode_: is that possible ? 2019-09-01T16:44:08Z makomo: sure, yeah, you just have to find the proper library (or write such a function yourself) 2019-09-01T16:44:25Z makomo: reading the alexandria:rotate docstring, it says "Note: the original sequence may be destructively altered, and result sequence may share structure with it." 2019-09-01T16:44:57Z scymtym quit (Ping timeout: 250 seconds) 2019-09-01T16:45:24Z mrcode_: ok 2019-09-01T16:45:50Z makomo: so it looks like it destructively modifies the sequence, i.e. does the rotation in-place 2019-09-01T16:47:13Z makomo: hmm, "destructive" and "in-place" are not the same actually, because the rotation algorithm needs extra space to perform the rotation 2019-09-01T16:48:41Z makomo: so it's destructive (modifies the original sequence), but not completely in-place :) 2019-09-01T16:49:30Z awolven joined #lisp 2019-09-01T16:49:46Z learning quit (Remote host closed the connection) 2019-09-01T16:58:11Z mrcode_: makomo: gotcha. i cobbled something together real quick with rplaca/rplacd instead 2019-09-01T16:58:35Z mrcode_: at the expense of keeping a reference to the tail of the list 2019-09-01T16:58:44Z mrcode_: s/at the expense/with help of/ 2019-09-01T16:59:06Z makomo: instead of using (rplaca/rplacd cons x) you can also use (setf (car/cdr cons) x) 2019-09-01T16:59:38Z mrcode_: yeah 2019-09-01T16:59:59Z scymtym joined #lisp 2019-09-01T17:08:30Z Oladon joined #lisp 2019-09-01T17:11:19Z kajo joined #lisp 2019-09-01T17:22:00Z alexanderbarbosa quit (Remote host closed the connection) 2019-09-01T17:22:56Z yoeljacobsen quit (Ping timeout: 245 seconds) 2019-09-01T17:29:48Z lalitmee quit (Remote host closed the connection) 2019-09-01T17:34:52Z lalitmee joined #lisp 2019-09-01T17:35:32Z lalitmee quit (Max SendQ exceeded) 2019-09-01T17:36:43Z namosca quit (Ping timeout: 245 seconds) 2019-09-01T17:38:37Z pjb: You can rotate a list in place, but not with rotatef, with shiftf! (defun rotate-list (list) (shiftf (rest (last list)) list (rest list) nil) list) (let ((list (list 1 2 3 4))) (rotate-list list)) #| --> (2 3 4 1) |# 2019-09-01T17:38:37Z pjb: 2019-09-01T17:39:19Z pjb: You can insist on rotatef, by introducting a temp variable bound to nil and from which you can retrieve the result. 2019-09-01T17:41:36Z mrcode_: thx pjb 2019-09-01T17:43:05Z orivej joined #lisp 2019-09-01T17:44:53Z yoeljacobsen joined #lisp 2019-09-01T17:46:12Z lalitmee joined #lisp 2019-09-01T17:54:25Z Nomenclatura joined #lisp 2019-09-01T17:54:35Z tjmaynes joined #lisp 2019-09-01T17:56:28Z awolven quit (Ping timeout: 264 seconds) 2019-09-01T18:04:25Z tjmaynes quit (Remote host closed the connection) 2019-09-01T18:05:02Z yoeljacobsen quit (Ping timeout: 258 seconds) 2019-09-01T18:05:32Z cosimone quit (Remote host closed the connection) 2019-09-01T18:05:59Z cosimone joined #lisp 2019-09-01T18:09:34Z learning joined #lisp 2019-09-01T18:13:10Z torbo joined #lisp 2019-09-01T18:24:12Z stylewarning quit (Ping timeout: 252 seconds) 2019-09-01T18:25:49Z learning quit (Ping timeout: 244 seconds) 2019-09-01T18:26:12Z stylewarning joined #lisp 2019-09-01T18:26:46Z billstclair quit (Ping timeout: 252 seconds) 2019-09-01T18:27:52Z wilfredh quit (Ping timeout: 252 seconds) 2019-09-01T18:29:04Z billstclair joined #lisp 2019-09-01T18:29:08Z wilfredh joined #lisp 2019-09-01T18:30:59Z learning joined #lisp 2019-09-01T18:34:43Z EvW joined #lisp 2019-09-01T18:39:23Z renzhi joined #lisp 2019-09-01T18:40:59Z namosca joined #lisp 2019-09-01T18:43:42Z vaporatorius joined #lisp 2019-09-01T18:43:48Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-01T18:44:54Z gravicappa quit (Ping timeout: 258 seconds) 2019-09-01T18:44:56Z niceplace quit (Ping timeout: 244 seconds) 2019-09-01T18:45:23Z vaporatorius joined #lisp 2019-09-01T18:45:23Z vaporatorius quit (Changing host) 2019-09-01T18:45:23Z vaporatorius joined #lisp 2019-09-01T18:48:31Z cosimone quit (Quit: Leaving) 2019-09-01T18:49:55Z niceplace joined #lisp 2019-09-01T18:50:01Z kamog quit 2019-09-01T18:52:22Z gareppa joined #lisp 2019-09-01T18:59:58Z tjmaynes joined #lisp 2019-09-01T19:00:05Z tjmaynes quit (Remote host closed the connection) 2019-09-01T19:06:11Z v88m joined #lisp 2019-09-01T19:09:49Z namosca quit (Ping timeout: 258 seconds) 2019-09-01T19:13:46Z gareppa quit (Quit: Leaving) 2019-09-01T19:14:12Z Nomenclatura: When you can't pass a captcha, does it mean you are a robot? 2019-09-01T19:15:03Z cl-arthur: Yes. 2019-09-01T19:15:56Z _jrjsmrtn joined #lisp 2019-09-01T19:16:01Z Nomenclatura: bbeep bop then 2019-09-01T19:16:18Z __jrjsmrtn__ quit (Ping timeout: 245 seconds) 2019-09-01T19:18:53Z samlamamma joined #lisp 2019-09-01T19:24:16Z monokrom quit (Remote host closed the connection) 2019-09-01T19:33:30Z elimik31 quit (Ping timeout: 252 seconds) 2019-09-01T19:33:30Z aeth: Google knows more than me so if Google thinks you're a robot... 2019-09-01T19:39:04Z kajo quit (Ping timeout: 264 seconds) 2019-09-01T19:41:35Z xkapastel joined #lisp 2019-09-01T19:44:30Z Josh_2 joined #lisp 2019-09-01T19:45:04Z Josh_2: Hi, I just tried to ql:quickload :usocket and get an error that split-sequence can not be found 2019-09-01T19:45:45Z vlatkoB_ quit (Remote host closed the connection) 2019-09-01T19:46:07Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-01T19:47:03Z Josh_2: OH wait I think I fixed hit by cleaing the asdf config twice ʕ·͡ᴥ·ʔ 2019-09-01T19:47:13Z vaporatorius quit (Ping timeout: 246 seconds) 2019-09-01T19:48:57Z Josh_2: had to delete next browser for some reason as well 2019-09-01T19:49:37Z saravia joined #lisp 2019-09-01T19:49:39Z lalitmee quit (Quit: Leaving) 2019-09-01T19:50:14Z kajo joined #lisp 2019-09-01T19:51:19Z cosimone joined #lisp 2019-09-01T19:51:32Z LdBeth: Nomenclatura: if you cannot pass captcha it’s because you are trying to troll a robot 2019-09-01T19:53:03Z ggole quit (Quit: Leaving) 2019-09-01T19:56:40Z renzhi quit (Ping timeout: 246 seconds) 2019-09-01T19:59:58Z elimik31 joined #lisp 2019-09-01T20:03:00Z karlosz quit (Quit: karlosz) 2019-09-01T20:07:12Z random-nick joined #lisp 2019-09-01T20:10:40Z cosimone quit (Remote host closed the connection) 2019-09-01T20:10:58Z cosimone joined #lisp 2019-09-01T20:20:43Z saravia quit (Remote host closed the connection) 2019-09-01T20:21:20Z manualcrank joined #lisp 2019-09-01T20:22:13Z samlamamma quit (Remote host closed the connection) 2019-09-01T20:22:54Z cl-arthur quit (Quit: Lost terminal) 2019-09-01T20:24:40Z cosimone quit (Remote host closed the connection) 2019-09-01T20:25:02Z cosimone joined #lisp 2019-09-01T20:25:56Z Josh_2: wow finally managed to get clicking working on my app, so now can control my laptop from my mobile phone :O 2019-09-01T20:26:16Z Josh_2: had to disable async errors for my x11 connection 2019-09-01T20:28:54Z Josh_2: It's a bit primitive only supporting 1080p screens and only mouse movement with button down and up events but you can move things around highlight text click play and pause on a film :P 2019-09-01T20:29:23Z learning_ joined #lisp 2019-09-01T20:29:49Z learning quit (Ping timeout: 244 seconds) 2019-09-01T20:29:55Z Josh_2: Pretty chuffed with that :D 2019-09-01T20:31:50Z Josh_2: 4 month old problem 2019-09-01T20:33:59Z shifty joined #lisp 2019-09-01T20:38:50Z saravia joined #lisp 2019-09-01T20:40:21Z Lord_of_Life_ joined #lisp 2019-09-01T20:42:31Z Lord_of_Life quit (Ping timeout: 246 seconds) 2019-09-01T20:43:15Z Lord_of_Life_ is now known as Lord_of_Life 2019-09-01T20:44:26Z cosimone quit (Quit: Leaving) 2019-09-01T20:49:45Z nanozz quit (Read error: Connection reset by peer) 2019-09-01T20:50:17Z nanoz joined #lisp 2019-09-01T20:54:24Z pfdietz quit (Remote host closed the connection) 2019-09-01T20:56:34Z igemnace quit (Quit: WeeChat 2.5) 2019-09-01T21:01:49Z sjl quit (Quit: WeeChat 2.2-dev) 2019-09-01T21:02:22Z nanoz quit (Ping timeout: 244 seconds) 2019-09-01T21:08:04Z vsync: ugh 2019-09-01T21:08:12Z vsync: just remembered paste.lisp.org is disabled somewhy 2019-09-01T21:10:29Z Fare joined #lisp 2019-09-01T21:11:02Z saravia quit (Remote host closed the connection) 2019-09-01T21:15:27Z namosca joined #lisp 2019-09-01T21:16:11Z namosca quit (Client Quit) 2019-09-01T21:19:54Z x[LGWs4x4i]uG2N0 joined #lisp 2019-09-01T21:26:58Z frodef quit (Ping timeout: 246 seconds) 2019-09-01T21:29:13Z random-nick quit (Ping timeout: 245 seconds) 2019-09-01T21:29:44Z Fare quit (Ping timeout: 252 seconds) 2019-09-01T21:31:33Z notzmv: for ages now 2019-09-01T21:33:16Z shifty quit (Ping timeout: 246 seconds) 2019-09-01T21:33:59Z jeosol: antoszka: My interest is in developing cognitive systems in CL, knowledge representation, reasoning, etc -- symbolic AI. I am no expert though, but I am willing to start from extremely simple problems. Later, I will look at connectionist approaches and see how to combine them 2019-09-01T21:34:40Z jeosol: deepmind had a paper where they combined both approaches. 2019-09-01T21:35:14Z antoszka: Cool, I don't really know much about modern AI techniques either. Did some introductory courses, but not really touching upon even remotely current state of the art. 2019-09-01T21:38:50Z leb joined #lisp 2019-09-01T21:41:08Z dmiles: programs like SWALE, DAYDREAMER etc are some great cognitive systems in CL 2019-09-01T21:41:30Z jeosol: not sure Norvig would have meant, but modern "modern AI" now, people tend to refer to DL/connectionist methods, while the symbolic-ai/gofai would be considered old, but there are some relatively recent improvements 2019-09-01T21:41:48Z vaporatorius joined #lisp 2019-09-01T21:41:49Z jeosol: dmiles: thanks for that. I look them up. 2019-09-01T21:42:45Z dmiles: well most of the connectionist ideas from the 80s finnaly have machines capable of trying them out 2019-09-01T21:42:53Z Fare joined #lisp 2019-09-01T21:43:04Z dmiles: but all the GOFAI of the 80s now have the same operatunity! 2019-09-01T21:43:32Z pjb: Notably, you can collect gigabytes of symbolic data from the web! 2019-09-01T21:43:48Z jeosol: dmiles: that is very true. I don't think it's modern, just that recent computation improvements made things feasible 2019-09-01T21:45:06Z jeosol: recent approaches are integrating neural nets and rule-based systems. I am looking to get some CL rule-based system and possibly link with Garbor melis or other CL-based NN libraries to see how far I go 2019-09-01T21:45:18Z akoana joined #lisp 2019-09-01T21:45:40Z Oladon1 joined #lisp 2019-09-01T21:46:00Z FennecCode joined #lisp 2019-09-01T21:46:50Z dmiles: the Baysian/NN folks (i was one in 1987) said it was all just a scale problem 2019-09-01T21:47:22Z Oladon quit (Ping timeout: 258 seconds) 2019-09-01T21:47:22Z dmiles: the GOFAI folks (i was one in 1990s) said it was all just a combinatorial optiizations problem 2019-09-01T21:47:24Z jeosol: dmiles: you worked a lot with CL in this space? 2019-09-01T21:48:00Z dmiles: pjb:: oh and of course a Data Collection problem 2019-09-01T21:49:16Z dmiles: jeosol: only in the last few years .. mostly before that it was in otehr languages 2019-09-01T21:49:23Z Fare quit (Ping timeout: 244 seconds) 2019-09-01T21:49:55Z dmiles: out of the 3 problems: faster computer, data avaiablity, and combinatorial optimization.. this last thing is still problem 2019-09-01T21:51:08Z dmiles: well it is problem for most, except for a special project called CYC 2019-09-01T21:51:11Z jeosol: what about coupling proxies/surrogate models for the optimization, at least reduce function evaluation calls 2019-09-01T21:51:17Z learning_: i only program so that i don't feel bad about doing nothing on the internet 2019-09-01T21:51:38Z dmiles: jeosol: that is exaclty what CYC does :) it produces lazy approximators 2019-09-01T21:52:08Z jeosol: I see. 2019-09-01T21:52:59Z jeosol: What about the aspect of knowledge representation, like codifying concepts from numerical to categorial, e.g., Low, Medium, and High. 2019-09-01T21:53:15Z dmiles: for exmaple if i was to query about "all redheaded woman over 40 with cancer" .. instead of seaching over 4 billion women.. it makes up 8 groups for fake woman 2019-09-01T21:53:59Z dmiles: oh and even group of women it logically misidentifies 2019-09-01T21:54:15Z pjb: Lazy approximators can also be created with labelled SOMs. 2019-09-01T21:54:24Z jeosol: dmiles: are you referring to CYC in the above? 2019-09-01T21:54:29Z dmiles: yes 2019-09-01T21:55:20Z moldybits: learning_: are those the only two options? 2019-09-01T21:57:00Z jeosol: dmiles: Isn't CYC one of the better tools out there? I have never used it though 2019-09-01T21:57:07Z dmiles: also in CYC, we are able to represent numerical probability in a much clearer non-numerical ways 2019-09-01T21:57:45Z dmiles: well i think it is the best :) comming in second is PowerLOOM 2019-09-01T21:58:24Z jeosol: someone here mentioned CYC to me a few weeks ago. 2019-09-01T21:59:27Z dmiles: the problem with CYC/PowerLOOM though is so far they have not dealt with problems of Agency (and AI that thinks) they jsut dealt with teh infrastrucural problems it would take to make a program that thinks 2019-09-01T21:59:43Z jeosol: my use case, it so to try to develop a cognitive system that can understand some physics concepts (fluid mechanics) 2019-09-01T22:00:44Z dmiles: For example.. had we a program tht thinks.. it might store its hypothethical (immagined models) in CYC/PowerLOOM 2019-09-01T22:01:15Z dmiles: Even its physics models 2019-09-01T22:01:19Z jeosol: You mean think on it's own, or have code that reasons over a limited set of cases 2019-09-01T22:02:46Z dmiles: A Program that thinks = A program that has a particular task that it is tryinbg to make possible 2019-09-01T22:03:04Z dmiles: (Agency) 2019-09-01T22:03:17Z Fare joined #lisp 2019-09-01T22:04:10Z dmiles: It's toploop might be the task to figure out how to build some device or solve some science problem 2019-09-01T22:05:07Z dmiles: OR task might be to be able to answer questions about a book it's read 2019-09-01T22:06:24Z learning_: moldybits: it's just a joke man. i'm programming in js right now and my project is an html5 game from scratch. today i've just been really unproductive so i'm just joking that the work i've done today was to not feel like i failed myself 2019-09-01T22:07:47Z dmiles: vs what CYC does is gives a relaiable set of alorithems for storing/retriving the mechanical diagrams or episodic memories of the processes it went thru while initally reading the book 2019-09-01T22:07:59Z learning_: i got an enemy on the screen, collision checking, and the ability to kill the player or the enemy. and im really happy with my top level code. 2019-09-01T22:08:16Z jeosol: dmiles: thanks for that. In your example, my use case problem is solve some science problem -- recommend optimal actions to take 2019-09-01T22:08:23Z learning_: if(detect_collision(main_guy,bad_guy)){ 2019-09-01T22:08:23Z learning_: kill(main_guy)} 2019-09-01T22:09:04Z lonjil quit (Quit: No Ping reply in 180 seconds.) 2019-09-01T22:09:08Z jeosol: You recommend looking into CYC for my use case? 2019-09-01T22:09:32Z pjb: Always look into CYC! 2019-09-01T22:10:03Z trocado quit (Ping timeout: 244 seconds) 2019-09-01T22:10:06Z leb quit 2019-09-01T22:10:26Z jeosol: pjb: haha. Thanks. Will do. What about it's source code/open sourced 2019-09-01T22:10:49Z dmiles: Agency helps when a program is learning new methods/actions and organizing those for itself 2019-09-01T22:11:12Z dmiles: (to solve scientific problems) 2019-09-01T22:11:42Z jeosol: So realistically, it will take more than a few function evaluations right? 2019-09-01T22:12:05Z dmiles: CYC wont do that on its own but i think would be impossible to even start gettign it done until one first created CYC 2019-09-01T22:12:39Z dmiles: jeosol: right 2019-09-01T22:12:47Z jeosol: Some guy, I was debating, say they have a system that can propose near optimal solution and only needs one evaluation to verify objective function. 2019-09-01T22:13:38Z jeosol: I smelled BS. The system he described hasn't worked for small problems. 2019-09-01T22:14:29Z dmiles: when i (or even Doug Lenat) talk abotu CYC's capabilities we to can sound very BSy to though 2019-09-01T22:15:05Z jeosol: dmiles: lol. Are there good references you recommend. 2019-09-01T22:15:55Z lonjil joined #lisp 2019-09-01T22:16:06Z jeosol: Realistically, I think a system can start with some expert/physics rules (which it can use to eliminate evaluating certain invalid/infeasible cases) but it will still need some evaluation on the real problem to learn structure/surfaces, etc 2019-09-01T22:17:30Z jeosol: you and Doug Lenat worked on this. very nice. 2019-09-01T22:17:52Z dmiles: right .. that " start with some expert/physics rules (which it can use to eliminate evaluating certain invalid/infeasible cases).. " is what CYC is meant to do 2019-09-01T22:18:29Z Oladon1 quit (Quit: Leaving.) 2019-09-01T22:18:43Z dmiles: not with Lenat but worked for a few of his parners on CYC 2019-09-01T22:19:24Z dmiles: it kind of sucks gettign a hold of documetnation for CYC and the Cycorp website jsut underwent a major redo so all the docs are 404 2019-09-01T22:19:33Z jeosol: ok. The wiki page is rich. I will start there. I need to learn how to encode ideas, knowledges, concepts, etc 2019-09-01T22:19:46Z dmiles: but they exist at least on archive.org for now 2019-09-01T22:20:21Z dmiles: also soem friends and i allow CYC to now run arbitrarty common lisp programs inside of it 2019-09-01T22:20:36Z dmiles: added that capability* 2019-09-01T22:21:06Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-01T22:21:33Z dmiles: so that all the algrithems and infernce capabilites are inline to your code 2019-09-01T22:22:38Z varjag quit (Ping timeout: 258 seconds) 2019-09-01T22:22:52Z dmiles: CYC turns out in this case to be what would happen if all the book code (of doing AI in common lisp) was built into a shared ecosystem 2019-09-01T22:23:48Z lonjil quit (Quit: No Ping reply in 180 seconds.) 2019-09-01T22:24:01Z jeosol: Isn't CYC written in SubL or sth like that. There is directly compatibility with CL 2019-09-01T22:24:05Z dmiles: (and highly optimized from paying coders 800million $ to optimize it) 2019-09-01T22:24:47Z dmiles: YEah CYC is in SubL.. its a small subset made so it can be tranalated to C or C++//Java/etc eailiy 2019-09-01T22:25:08Z lonjil joined #lisp 2019-09-01T22:25:39Z dmiles: inj the case of powerLOOM (it uses STELLA) to edo the same thing 2019-09-01T22:27:10Z dmiles: SubL/STELLA identifies a subset of CL .. but then adds some other features ....... in the case of STELLA tranlates to CommonLisp .. jsut havent doesn that with CYC yet 2019-09-01T22:27:11Z jeosol: so its possible to use it from within CL code or how does the integration/coupling work. 2019-09-01T22:27:36Z dmiles: https://github.com/TeamSPoon/CYC_JRTL_with_CommonLisp 2019-09-01T22:27:58Z dmiles: I merged the SubL Lisp system with ABCL 2019-09-01T22:29:01Z dmiles: so that there woiuld be no thunkage when calling each other.. .. I deleted the impl of whichever of the two overlapped and was eaker 2019-09-01T22:29:31Z lonjil quit (Client Quit) 2019-09-01T22:29:41Z dmiles: whichever of the two overlappage was weaker.. sometimes preserving both 2019-09-01T22:30:11Z jeosol: thanks for the link. 2019-09-01T22:30:52Z dmiles: ABCL provided the CL reference impl so i could make sure i reatianed all of CL 2019-09-01T22:31:25Z dmiles: While still being abler to compile and run SubL programs (like CYC!) 2019-09-01T22:32:40Z lonjil joined #lisp 2019-09-01T22:32:59Z no-defun-allowed: Is there a free(-ish) database for Cyc? 2019-09-01T22:33:09Z dmiles: the channel for the project is #logicmoo 2019-09-01T22:33:28Z jeosol: I see. how much effort with sbcl (naive question) 2019-09-01T22:33:33Z dmiles: well most of us are using an old research cyc licence 2019-09-01T22:33:46Z dmiles: (for the KB content) 2019-09-01T22:35:04Z dmiles: well right now it is not possible with SBCL since all the code would need tranalted back from Java to SubL or CL 2019-09-01T22:35:22Z dmiles: translated back 2019-09-01T22:35:58Z dmiles: since we only have the post-translated (SUBL2JAVA) code 2019-09-01T22:36:46Z dmiles: though there is another person that is going to work onj the JAVA2SUBL translator.. but he needs help and motivation 2019-09-01T22:36:47Z jeosol: Ok. So only possible with ABCL? 2019-09-01T22:37:02Z dmiles: since our goal is to use SBCL 2019-09-01T22:37:04Z lonjil quit (Client Quit) 2019-09-01T22:37:34Z Kundry_Wag joined #lisp 2019-09-01T22:37:49Z dmiles: its jsut if you waited for us to do that.. we wont get arround to it since we have too many AI-things we dong already to rewrite the system to merely do what it already does 2019-09-01T22:38:03Z Kundry_Wag quit (Remote host closed the connection) 2019-09-01T22:38:14Z dmiles: yet we all stay awake dreaming at night wishing someone would do it 2019-09-01T22:38:47Z krwq joined #lisp 2019-09-01T22:38:48Z jeosol: How difficult is it for someone not familiar with the code base? 2019-09-01T22:40:33Z dmiles: for me who've studies the codebase for 20 years it would take me 2 full months 2019-09-01T22:40:48Z lonjil joined #lisp 2019-09-01T22:40:52Z jeosol: wow. Hmm, not easy I guess 2019-09-01T22:41:09Z pjb: So, 20 years + 2 months. 2019-09-01T22:41:13Z dmiles: well to not lose any functionallty.. to make it shippable as before 2019-09-01T22:42:00Z dmiles: someone who knows the system less might take 4 months i guess 2019-09-01T22:42:07Z dmiles: 2 months to get to know the code 2019-09-01T22:43:01Z dmiles: the only thing the 20 years gained me is the knowledge that i have no reason to fix the ugly design of stuff.. i know why that ugly was there 2019-09-01T22:43:35Z dmiles: like SUBLOOP subsystem is cycorps own version of CLOS 2019-09-01T22:43:43Z Fare quit (Ping timeout: 258 seconds) 2019-09-01T22:43:48Z nonlinear[m] quit (Ping timeout: 252 seconds) 2019-09-01T22:44:34Z dmiles: i know better than to replace it at first is all :) 2019-09-01T22:45:20Z jeosol: So in your estimate, for this to work with SBCL, one is looking at 4 months. Full time? 2019-09-01T22:45:59Z dmiles: yes 2019-09-01T22:46:31Z dmiles: i and another would also assist part time 2019-09-01T22:47:04Z jeosol: And this is a need right? You said above, your plan is to use SBCL eventually 2019-09-01T22:47:21Z dmiles: for sure yes 2019-09-01T22:47:43Z dmiles: but it suck to spend a month and then give up 2019-09-01T22:47:58Z jeosol: #logicmoo is the channel for the project? 2019-09-01T22:48:08Z jeosol: Yeah, I agree. 2019-09-01T22:48:41Z jeosol: Not an expert in this area, but what taking a stab at it, given what it may make available to the SBCL ecosystem (not sure of the license and other issues) 2019-09-01T22:49:19Z dmiles: yeah there are otehr issues like liciencing that makes it anti-climactic to work on 2019-09-01T22:49:35Z dmiles: though we dont care.. we want the tool! 2019-09-01T22:50:20Z jeosol: like illegal for users 2019-09-01T22:50:27Z dmiles: right 2019-09-01T22:51:04Z dmiles: it not somethnig that can go into a commercial project etc 2019-09-01T22:55:22Z dmiles: http://pdkb.org/wiki/index.php/SubL 2019-09-01T22:55:31Z dmiles: that is the language docs 2019-09-01T22:56:01Z nonlinear[m] joined #lisp 2019-09-01T22:56:40Z Fare joined #lisp 2019-09-01T23:00:13Z dmiles: CYC was written/designed to make all the toy expert systems of the 70/80s viable 2019-09-01T23:01:18Z dmiles: none of the GOFAI ciode would ever work until it had a CYC platform to be installed on 2019-09-01T23:02:20Z dmiles: it would always feel like a toy held together by string.. CYC changtes that 2019-09-01T23:02:52Z notzmv quit (Ping timeout: 246 seconds) 2019-09-01T23:03:15Z EvW quit (Ping timeout: 250 seconds) 2019-09-01T23:03:32Z jeosol: Thanks for the link. SubL similar to CL. in many aspects. How does this compare to the state of the art, similar systems in other languages. 2019-09-01T23:04:33Z jeosol: regarding your previous license comment, any work or extension can only be used in research scope not commerical 2019-09-01T23:05:18Z dmiles: for performance see table 2 of https://www.aaai.org/Papers/Workshops/2005/WS-05-01/WS05-01-006.pdf .. even if those numbers seemed cooked even by x100 .. it is still x10 faster 2019-09-01T23:05:51Z makomo quit (Ping timeout: 245 seconds) 2019-09-01T23:07:05Z dmiles: well i am going to create AGI with it.. i doubt a pricetag can be placed on what can be done with CYC 2019-09-01T23:07:18Z dmiles: one plac ei worked paid 800k a year to lease cyc 2019-09-01T23:07:40Z notzmv joined #lisp 2019-09-01T23:08:19Z dmiles: in other words i doubt licencing is going to be possible to even negatiate 2019-09-01T23:09:00Z jeosol: wow, that's insane. What is the difference with ResearchCYC (as in the paper) and CYC 2019-09-01T23:10:32Z dmiles: not really any differnt nowadays it costs too much money to maintain differnt vbersions 2019-09-01T23:11:24Z dmiles: more or less its how many *features* get left in 2019-09-01T23:11:34Z jeosol: From the paper, Cyc is order's of magnitude faster than other systems 2019-09-01T23:12:54Z dmiles: and still is.. it is because 10,000 hours of stupid hand optimizations went in everytime we saw cyc doing something that could have done better 2019-09-01T23:13:06Z Oladon joined #lisp 2019-09-01T23:13:19Z no-defun-allowed: can you use Cyc to optimise Cyc? 2019-09-01T23:13:58Z dmiles: of course the answer is yes.. but no ones had time tro show anyone how 2019-09-01T23:14:31Z no-defun-allowed: hah 2019-09-01T23:14:41Z dmiles: it does optimize itself.. jsut not in all the ways i know how to have it optiiza itself 2019-09-01T23:16:49Z dmiles: here is a paper showing CYC using a NN to opimtize itself .. 2019-09-01T23:18:59Z dmiles: sory i have to ask spomeone where the paper is 2019-09-01T23:19:50Z dmiles: https://educationdocbox.com/80586775-Homework_and_Study_Tips/Guiding-inference-with-policy-search-reinforcement-learning.html 2019-09-01T23:20:05Z no-defun-allowed was joking around, don't stress yourself 2019-09-01T23:20:15Z no-defun-allowed: O.o 2019-09-01T23:20:42Z dmiles: cyc uses many other ways to self optimize 2019-09-01T23:21:33Z dmiles: it just hard to tunes and decide the right ones to continue using 2019-09-01T23:21:51Z dmiles: erm to continue to develop 2019-09-01T23:22:28Z no-defun-allowed: right 2019-09-01T23:24:04Z dmiles: the good part it is the only system that has this infrastucture that made any of that possbile 2019-09-01T23:26:41Z dmiles: oops i lie PowerLOOM has it as well.. but its all stubs that no one has taken time to use 2019-09-01T23:28:46Z dmiles: but that infrastructure allows one to see when combinatorialism is optimizable 2019-09-01T23:30:15Z jeosol: thanks for link. Naive question: It is possible to develop a KB from scratch but for a small specific problem (e.g., weather prediction or other physics domain), or one has to use something with the power Cyc 2019-09-01T23:30:23Z dmiles: https://en.wikipedia.org/wiki/Eurisko 2019-09-01T23:30:42Z dmiles: (explains Cyc's infrastructure for this) 2019-09-01T23:31:05Z jeosol: I understand the physics area of interest, but flirting with the idea of being able to encode the knowledge of an experienced engineer in that specific domain 2019-09-01T23:31:45Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-01T23:31:54Z dmiles: Yuo can do it without CYC but you wuill fall into Greenspuns rule 2019-09-01T23:32:48Z dmiles: you will build an ad hoc, informally-specified, bug-ridden, slow implementation of half CYC 2019-09-01T23:33:39Z dmiles: of half of* CYC 2019-09-01T23:34:50Z dmiles: i am someone that used to have to do that all the time 2019-09-01T23:35:42Z jeosol: haha. Ok. So Cyc can be used for arbitrary problems. 2019-09-01T23:36:37Z dmiles: yes.. its sort of like and Appache webserver for arbitrary webserving 2019-09-01T23:36:40Z jeosol: From the linked page, it is possible to learn new heuristics and concepts in new domain, without explicitly coding for these? 2019-09-01T23:36:52Z jeosol: ok, thx 2019-09-01T23:37:05Z dmiles: CYC is for arbirtary programs that need access to algrythems and KB-like Knowedge engineering 2019-09-01T23:37:10Z jeosol: That makes sense to understand, how Cyc is used 2019-09-01T23:38:13Z dmiles: often you might even add a new plugged in module to CYC to make it perform a specific optimized way of seeign wather radar 2019-09-01T23:38:24Z dmiles: weather radar 2019-09-01T23:39:10Z dmiles: like people have been adding chemistry simulators to CYC 2019-09-01T23:39:31Z dmiles: all the setup teardown of the experiments happen thru the KB 2019-09-01T23:40:47Z dmiles: you can perform query that changes things up and combine things 2019-09-01T23:42:31Z jeosol: ok. that sounds like the option I was thinking. I have a physics simulator that CYC could use to evaluate scenarios. 2019-09-01T23:43:09Z dmiles: also finding/results are recorded to the KB for more complex sorts of experimental aggregation.. and all experiments are described in both a high and low level that CYC can infer new things not obvious 2019-09-01T23:43:31Z jeosol: The guy I mentioned from other AI company claim they can solve the problem using a lower resolution representation of the environment and not full-physics evaluation. 2019-09-01T23:44:21Z jeosol: very nice. I think it's that sort of aggregation, combination, etc, that humans do to solve a problem. 2019-09-01T23:44:49Z jeosol: Also, does CYC do explainability? Like how the solutions was obtained and a reasoning trace/audit trace of the solution 2019-09-01T23:45:03Z jeosol: > audit trail ... 2019-09-01T23:45:28Z dmiles: well waht cyc does is makes unrelated representations (differing resolution/details) all meet at at least some level of exchangablity 2019-09-01T23:46:15Z dmiles: cyc yoilds a proof of every opteration (which is used to explain the results) 2019-09-01T23:47:38Z jeosol: very interesting. So as a CL user now (Sept 1 2019), my only hope of testing and demonstrating these features is if I use ABCL? 2019-09-01T23:51:04Z dmiles: examples it might say "it was this way because i used A then B .." https://allenai.org/content/team/peterc/publications/halo-ai-magazine.pdf 2019-09-01T23:51:08Z LdBeth: good afternool 2019-09-01T23:51:24Z dmiles: Cyc requires all things it uses in a process to be epxlainable .. even when vauge 2019-09-01T23:51:53Z jeosol: what about making inferences on say missing features and including uncertainty in the overall process, e.g., uncertainty in the values of a feature 2019-09-01T23:51:59Z dmiles: oops wrong paper 2019-09-01T23:52:36Z dmiles: yeah t deals with undertainaty very well and doesnt hide the fact when it hyphosizes 2019-09-01T23:52:46Z dmiles: with* uncertainty 2019-09-01T23:53:09Z dmiles: it tries to keep track and understand what data might be missing 2019-09-01T23:53:44Z dmiles: in order to fill in gaps.. it also tries to track how much it doesnt know 2019-09-01T23:53:55Z dmiles: (i mean doesnt know on a deep level) 2019-09-01T23:54:17Z jeosol: In this system, does one have to encode some domain expert rules, or it can figure things on it's own, e.g., an NN learns how to recognize a dog in picture after significant training. 2019-09-01T23:54:38Z dmiles: my goal is whenever something compil;es/works on ABCL it will in CYC_CL 2019-09-01T23:54:51Z jeosol: Yeah, from your description, Cyc, really does a lot. And this chat has been very useful, and the links to papers 2019-09-01T23:56:01Z dmiles: if a NN was good at recognising dogs.. that would only be usefull at that point to plug that NN input/output to somethning like cyc 2019-09-01T23:56:27Z dmiles: in order to finally make use of some workflow that cares 2019-09-01T23:56:34Z jeosol: I see. NN case was only an example. 2019-09-01T23:57:01Z jeosol: What I have is a physics simulator that an agent, Cyc, etc. may use to evaluate a given policy, set of actions. 2019-09-01T23:57:06Z dmiles: "does one have to encode some domain expert rules" not always.. there are many ways CYC has arroudn that 2019-09-01T23:57:45Z jeosol: But compared to an experience engineer, they can pick a good, manual solution e.g., within a few % of an optimized solution. 2019-09-01T23:58:30Z dmiles: (cyc can learn rules to be induction ) 2019-09-01T23:58:31Z jeosol: Some approaches have the problem of having to seat with a domain expert to encode rules, etc. 2019-09-01T23:59:25Z dmiles: well the chemistry stuff needed chemeists to explain all the rules so cyc can simulate it even without the offline imulator module.. or even be able to check the results of the offline system 2019-09-02T00:00:12Z dmiles: but the idea of having the offline chemsim was for speed 2019-09-02T00:00:24Z jeosol: I have access to a physics simulator in my case, a wrapper written in CL (SBCL). 2019-09-02T00:01:41Z dmiles: in your case you'd probalb ydo what the chemistry people did.. set up ways of letting cyc perform the experiemnts and get results back 2019-09-02T00:02:02Z dmiles: i am sure if iyt wroks in SBCL you can make it work in ABCL to 2019-09-02T00:02:02Z jeosol: The closest analogy for my use case, if having to place N fire stations in a city and the tool/agent comes up with optimized locations and associated explainability. E.g., place on at location X because of population density, access to highways, previous fire cases, etc 2019-09-02T00:02:18Z jeosol: but not the Cyc functionality right? 2019-09-02T00:02:32Z dmiles: oh well there are several steps in "porting" your app to ccy 2019-09-02T00:02:39Z jeosol: Yeah, I can get that part wrapped up in ABCL 2019-09-02T00:03:17Z dmiles wroite up what "porting to CYC means" sinc eit snot about code but about removing yourself from the workflow 2019-09-02T00:03:20Z jeosol: -> working with ABCL. There are no specific SBCL features as I recall, but I never compiled in any other implementation 2019-09-02T00:04:21Z dmiles: https://docs.google.com/document/d/1Uk7-OKEqnrDIpYbNrMDXrIPzEkX01M6BUclVPwWcJps/edit#heading=h.7nsqb4hmlaiu 2019-09-02T00:05:58Z dmiles: only the first level of bullets.. i jsut pasted stuff in to give exmaples.. 2019-09-02T00:07:33Z dmiles: though eventually at the bottem the simulator no long exists and CYC is doing it :P 2019-09-02T00:11:55Z jeosol: It will take me sometime to learn everything. Also, I need to know prolog well for this right? 2019-09-02T00:12:28Z krwq quit (Remote host closed the connection) 2019-09-02T00:12:48Z jeosol: I would like to test and setup a small problem for my understanding. 2019-09-02T00:13:10Z dmiles: knowing prolog does help me write CycL yeah 2019-09-02T00:13:37Z jeosol: I will check ebay for some good book. Any recommendations? 2019-09-02T00:14:14Z dmiles: but any backgrtound in KR&R like.. https://dai.fmph.uniba.sk/~sefranek/kri/handbook/handbook_of_kr.pdf 2019-09-02T00:16:00Z dmiles: " having to place N fire stations in a city and the tool/agent comes up with optimized locations and associated explainability." is a good exmaple 2019-09-02T00:17:07Z dmiles: where your representation is at least shared 2019-09-02T00:17:22Z dmiles: the problem is described in cycl etc 2019-09-02T00:17:37Z dmiles: CycL = Cyc's internal KR&R Language 2019-09-02T00:18:07Z dmiles: So this way its explainations are understandanle 2019-09-02T00:18:39Z dmiles: where scenarios and hacked as KB assert/retract 2019-09-02T00:18:58Z dmiles: where scenarios *are* defined as KB assert/retract 2019-09-02T00:20:13Z dmiles: Oh but no Prolog nescsary 2019-09-02T00:20:32Z dmiles: it just that some of my external modules are writtne in Prolog instead of CycL 2019-09-02T00:20:34Z shifty joined #lisp 2019-09-02T00:20:34Z jeosol: Thanks dmiles. Knowledge representation is something I want to understand 2019-09-02T00:21:11Z saravia joined #lisp 2019-09-02T00:22:47Z jeosol: so that book will be useful. I saw high-order logic on Cyc's wiki page, so figured I need to do some background reading. 2019-09-02T00:36:16Z dmiles: very good link to understanding the CycL langauge https://web.archive.org/web/20190114191839/http://www.cyc.com/subl-information/el-hl-and-canonicalizer/ 2019-09-02T00:36:30Z gabbiel joined #lisp 2019-09-02T00:37:14Z gabbiel: can methods be defined under lexical bindings? 2019-09-02T00:37:43Z learning_ quit (Ping timeout: 246 seconds) 2019-09-02T00:37:54Z aeth: flet but for methods? 2019-09-02T00:38:00Z learning joined #lisp 2019-09-02T00:38:44Z gabbiel: yes 2019-09-02T00:39:44Z aindilis: jeosol: if you're interested in Cyc, I'm going to be doing a tutorial on it on IRC sometime in the next few months, if you'd like to participate I can notify you ahead of time 2019-09-02T00:42:57Z jeosol: Yes, I am very interested. 2019-09-02T00:43:17Z aindilis: great, if you want, pm me your email, otherwise I will just try to reach you here 2019-09-02T00:43:26Z jeosol: I have archived the books and papers dmiles linked above and will working through the KRR book above 2019-09-02T00:43:36Z aindilis: yeah that's a great book 2019-09-02T00:43:42Z aindilis: very thorough 2019-09-02T00:45:33Z jeosol: Yeah, I looked at the Cyc wiki page, it mentions terms I don't quite get yet, so I'll need a book to understand those terminologies. 2019-09-02T00:47:55Z gabbiel quit (Read error: Connection reset by peer) 2019-09-02T00:48:10Z gabbiel joined #lisp 2019-09-02T00:52:57Z gabbiel quit (Read error: Connection reset by peer) 2019-09-02T00:53:16Z gabbiel joined #lisp 2019-09-02T00:54:02Z remexre: anyone know how to add additional supported types to cl-kanren? I would expect it would just be overridding equalp and unify-impl, but that seems insufficient 2019-09-02T00:56:25Z gabbiel quit (Read error: Connection reset by peer) 2019-09-02T00:56:41Z gabbiel joined #lisp 2019-09-02T00:59:00Z gabbiel quit (Read error: Connection reset by peer) 2019-09-02T00:59:20Z gabbiel joined #lisp 2019-09-02T01:02:13Z Insanity_ quit (Quit: Connection closed for inactivity) 2019-09-02T01:09:40Z semz quit (Ping timeout: 264 seconds) 2019-09-02T01:14:25Z awolven joined #lisp 2019-09-02T01:21:29Z semz joined #lisp 2019-09-02T01:21:29Z semz quit (Changing host) 2019-09-02T01:21:29Z semz joined #lisp 2019-09-02T01:23:37Z t58 quit (Quit: Leaving) 2019-09-02T01:30:10Z igemnace joined #lisp 2019-09-02T01:30:12Z gabbiel quit (Quit: ERC (IRC client for Emacs 25.1.1)) 2019-09-02T01:31:37Z orivej quit (Ping timeout: 246 seconds) 2019-09-02T01:33:05Z FreeBirdLjj joined #lisp 2019-09-02T01:33:09Z saravia quit (Remote host closed the connection) 2019-09-02T01:37:53Z Nomenclatura quit (Remote host closed the connection) 2019-09-02T01:39:20Z karlosz joined #lisp 2019-09-02T01:46:13Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-02T01:46:48Z FreeBirdLjj joined #lisp 2019-09-02T01:50:53Z FreeBirdLjj quit (Ping timeout: 245 seconds) 2019-09-02T01:59:40Z leb joined #lisp 2019-09-02T02:03:01Z learning quit (Remote host closed the connection) 2019-09-02T02:14:37Z esrse joined #lisp 2019-09-02T02:19:11Z Fare quit (Quit: Leaving) 2019-09-02T02:24:15Z MrBismuth quit (Read error: Connection reset by peer) 2019-09-02T02:26:36Z Blukunfando joined #lisp 2019-09-02T02:27:09Z leb quit 2019-09-02T02:27:43Z seok joined #lisp 2019-09-02T02:27:55Z seok: anybody using parenscript? 2019-09-02T02:33:09Z abhixec joined #lisp 2019-09-02T02:33:19Z remexre: is there a good way to track down a bug tracker for a quicklisp package? 2019-09-02T02:34:11Z remexre: wait, never mind, it's in the readme lol 2019-09-02T02:38:26Z aeth: remexre: the source repository for everything is in https://github.com/quicklisp/quicklisp-projects 2019-09-02T02:38:38Z aeth: but a good project should probably put it in the README and even in the .asd file. 2019-09-02T02:39:15Z aeth: The ASDF system definition lets you say homepage, bug-tracker, and source-control 2019-09-02T02:41:47Z remexre: huh, ok; I was confused because the project didn't show up on google and the homepage was quickdocs 2019-09-02T02:42:00Z remexre: but it turns out my ctrl-f skills were just weak :P 2019-09-02T02:42:29Z remexre: looks like :bug-tracker is there in the asd file, though, yeah 2019-09-02T02:46:02Z sjl joined #lisp 2019-09-02T02:47:07Z leb joined #lisp 2019-09-02T03:00:20Z beach: Good morning everyone! 2019-09-02T03:01:04Z jeosol: Good morning beach. Bien venue 2019-09-02T03:03:02Z Blukunfando quit (Ping timeout: 252 seconds) 2019-09-02T03:07:58Z tjmaynes joined #lisp 2019-09-02T03:08:10Z beach: Thanks! 2019-09-02T03:10:19Z tjmaynes quit (Remote host closed the connection) 2019-09-02T03:16:35Z leb quit 2019-09-02T03:18:18Z jeosol: Still here since you left earlier. Had a lengthy useful session with dmiles regarding Cyc. 2019-09-02T03:18:38Z beach: I saw it. 2019-09-02T03:20:07Z jeosol: I should be here more often. Gotten a lot of useful resources and ideas to get me started. 2019-09-02T03:23:47Z beach: Yes, there are many smart and knowledgeable people hanging out in #lisp. 2019-09-02T03:29:07Z MrBismuth joined #lisp 2019-09-02T03:50:09Z LdBeth: beach: what's the mininal requirement for a buffer update protocal to work with incremental parsing? 2019-09-02T03:50:36Z beach: LdBeth: Tough question. 2019-09-02T03:51:48Z beach: I guess it must be possible to detect regions that may have been modified between two invocations of the parser. 2019-09-02T03:52:00Z beach: But those regions don't have to be exact. 2019-09-02T03:52:26Z beach: For example, Cluffer does it with the granularity of an entire line. 2019-09-02T03:56:41Z beach: Then it depends on how fancy you want to be. For Cluffer, I made my life a bit harder in order to get more flexibility. For instance, I assume that there can be several simultaneous "views", with potentially different parers, into the same buffer, and that there can be an arbitrary number of modifications to the buffer between two parser invocations. 2019-09-02T03:57:36Z LdBeth: beach: If multiple places has been edited during two invocations, is it possible to just send texts with positions? 2019-09-02T03:59:29Z beach: What do you mean by "send"? I have not considered that possibility. In Cluffer, the views invoke a protocol function to see the contents of the buffer. 2019-09-02T04:02:05Z LdBeth: beach: oh, I mean the possiblity of modifing an existed editor to communicate with parser backend 2019-09-02T04:03:51Z beach: I have not considered that possibility. I suspect you would have to make some radical changes to the editor since most editors would not be written to accommodate such things efficiently. 2019-09-02T04:06:24Z dale joined #lisp 2019-09-02T04:09:20Z LdBeth: It is just I'm surprised to know that VSCode can support incremental parsing via http://tree-sitter.github.io/tree-sitter/ with almost no pain 2019-09-02T04:11:42Z beach: Yes, well, there are several problems with such an approach if you want an editor for Common Lisp. 2019-09-02T04:11:55Z beach: But maybe you want to parse some other kind of text. 2019-09-02T04:31:12Z remexre: with quicklisp, what's the best way to accomodate a local fork? if I clone into local-projects, is that sufficient? 2019-09-02T04:35:10Z yoeljacobsen joined #lisp 2019-09-02T04:35:35Z sindan quit (Remote host closed the connection) 2019-09-02T04:36:02Z sindan joined #lisp 2019-09-02T04:39:35Z bjorkintosh quit (Quit: Leaving) 2019-09-02T04:39:45Z bjorkintosh joined #lisp 2019-09-02T04:42:47Z ck_: yes 2019-09-02T04:46:25Z leb joined #lisp 2019-09-02T04:48:14Z ravenous_ joined #lisp 2019-09-02T04:48:15Z gravicappa joined #lisp 2019-09-02T04:52:40Z ravenous_ quit (Ping timeout: 252 seconds) 2019-09-02T04:53:09Z beach: LdBeth: What is it that you are thinking of doing? 2019-09-02T04:57:56Z LdBeth: beach: it’s a tool integrates specification, documents, and program source code 2019-09-02T04:58:17Z beach: And what editor are you planning to modify? 2019-09-02T05:00:37Z LdBeth: Actually I have several candidates for operation model, but none of them has the desirable data structure 2019-09-02T05:01:11Z jeosol quit (Remote host closed the connection) 2019-09-02T05:01:36Z beach: So that confirms my suspicion that you may have to make significant modifications for it to work. 2019-09-02T05:01:40Z torbo quit (Remote host closed the connection) 2019-09-02T05:02:55Z beach: And what language is used for the program source code? 2019-09-02T05:06:24Z LdBeth: It was planned to be Common Lisp, but some additional features should be added as some kinds of preprocessor and certain usages, especially some create affects to compilation has to be restricted 2019-09-02T05:07:07Z LdBeth: But the output should be regular CL code accepted 2019-09-02T05:07:13Z beach: I think I see. 2019-09-02T05:11:23Z LdBeth: The addition could be a more sophisticated module system, a documentation markup, a #+ #- alternatives controlled by more than features 2019-09-02T05:15:58Z a7f4 quit (Ping timeout: 246 seconds) 2019-09-02T05:16:15Z a7f4 joined #lisp 2019-09-02T05:17:01Z yoeljacobsen quit (Ping timeout: 258 seconds) 2019-09-02T05:17:56Z karlosz quit (Quit: karlosz) 2019-09-02T05:18:54Z remexre: is there an equivalent of scheme's assp in the CL standard? 2019-09-02T05:19:09Z loke: What does it do? 2019-09-02T05:19:10Z remexre: e.g. (assp #'evenp '((1 x) (2 y) (3 z))) => (2 y) 2019-09-02T05:20:57Z loke: remexre: (remove-if-not #'evenp THE-LIST :key #'car) 2019-09-02T05:21:26Z remexre: isn't that mutating? or is it just misleadingly named? :P 2019-09-02T05:21:35Z loke: No, the mutating version is called DELETE 2019-09-02T05:21:36Z remexre: also just found assoc-if, which looks like it does that 2019-09-02T05:21:38Z remexre: huh, ok 2019-09-02T05:22:44Z loke: assoc finds the first element. remove-if-not returns all elements that matches 2019-09-02T05:22:56Z loke: It wasn't clear from your example what you wanted. 2019-09-02T05:22:57Z froggey quit (Ping timeout: 245 seconds) 2019-09-02T05:23:01Z remexre: er yeah, I just want/assp just returns the first 2019-09-02T05:23:07Z loke: assoc it is then 2019-09-02T05:23:09Z loke: Or FIND 2019-09-02T05:23:18Z loke: FIND is more general. 2019-09-02T05:23:29Z loke: (or FIND-IF in your case) 2019-09-02T05:25:04Z remexre: I guess assoc-if to avoid having to specify a key function lol 2019-09-02T05:25:06Z froggey joined #lisp 2019-09-02T05:25:25Z frodef joined #lisp 2019-09-02T05:26:16Z loke: remexre: Pretty much. I think this mix of functions is for historical reasons. There was a desire to be compatible with Maclisp/Interlisp/etc so in some cases you got slightly different functions that could be just one. 2019-09-02T05:26:53Z remexre: i dunno, I'm kinda a fan of having a decent number of shorter aliases 2019-09-02T05:26:56Z loke: first/car for example, or the three different ways of defining accessors 2019-09-02T05:27:10Z remexre: I'm more peeved about the map/mapc/mapcar/etc family :P 2019-09-02T05:27:14Z loke: remexre: Creating more aliases is easy enough :-) 2019-09-02T05:27:25Z loke: remexre: No disagreement from me there. 2019-09-02T05:27:42Z orivej joined #lisp 2019-09-02T05:28:11Z Inline quit (Quit: Leaving) 2019-09-02T05:29:21Z LdBeth: Nay 2019-09-02T05:31:16Z Oladon quit (Quit: Leaving.) 2019-09-02T05:34:52Z remexre: is it generally considered better style to do #'(lambda ...) or (lambda ...)? 2019-09-02T05:35:06Z remexre: (As I understand it, the latter expands to the former?) 2019-09-02T05:36:20Z loke: Yes 2019-09-02T05:36:41Z loke: It's purely stylistic. I used to go with the former, but most lispers use the latter so I switched. 2019-09-02T05:37:46Z remexre: okay, I've been using the latter to avoid the extra two characters :p CLHS mainly uses the former, so I just wanted to be sure that it wasn't frowned upon or anything 2019-09-02T05:39:01Z loke: I've seen both. Bot the simple form definitely dominates 2019-09-02T05:39:25Z loke: I think the thing that ticks most lispers off is the use of camelCasing and putting ) on its own line. 2019-09-02T05:39:46Z loke: You show code that does that and no one will help you :-) 2019-09-02T05:40:06Z remexre: lol 2019-09-02T05:41:56Z loke: (defun SomeFunction (my_arg) ...) 2019-09-02T05:42:07Z loke: it was painful just typing that 2019-09-02T05:42:21Z rople joined #lisp 2019-09-02T05:43:07Z remexre: heh 2019-09-02T05:46:45Z dddddd quit (Remote host closed the connection) 2019-09-02T05:47:31Z rople quit (Ping timeout: 245 seconds) 2019-09-02T05:50:18Z scymtym quit (Remote host closed the connection) 2019-09-02T05:52:00Z ssake joined #lisp 2019-09-02T05:54:09Z jeosol joined #lisp 2019-09-02T05:54:46Z ggole joined #lisp 2019-09-02T06:04:56Z nanoz joined #lisp 2019-09-02T06:06:39Z jprajzne joined #lisp 2019-09-02T06:08:26Z JohnMS_WORK joined #lisp 2019-09-02T06:09:41Z seok: which eql is used for (case ..)? 2019-09-02T06:09:50Z seok: it does not seem to work with strings 2019-09-02T06:18:23Z ck_: seok: "which eql"? Well, eql. You can macroexpand-1 it to find out yourself. 2019-09-02T06:18:42Z seok: yeah, i found string-case on quicklisp 2019-09-02T06:19:07Z seok: unfortunately alexandria's switch conflicts with parenscripts's switch 2019-09-02T06:32:18Z beach: seok: Don't :USE packages other than COMMON-LISP for that reason. 2019-09-02T06:33:01Z beach: seok: The code is much more clear if you use explicit package prefixes for symbols in packages other than the current one and the COMMON-LISP package. 2019-09-02T06:40:49Z beach: seok: Otherwise, you would put too much of a burden on library authors. You would require them to make sure that not a single exported symbol they use must conflict with any other exported symbol in any other library. 2019-09-02T06:41:18Z beach: seok: And of course, that would render the Common Lisp package system completely useless. 2019-09-02T06:42:46Z beach: seok: Furthermore, by :USE-ing a package in a library, you might get into future trouble. When a new version of the package comes out, more symbols may be exported, and your code may break due to conflicts that didn't occur with the previous version. 2019-09-02T06:43:27Z no-defun-allowed: I've usually considered Alexandria and split-sequence trivial and stable enough that using them poses no impact to clarity or burden to the reader, but if you must avoid prefixes, then use :import-from and be safe. 2019-09-02T06:46:51Z beach: Still, you would need to know every exported symbol of the package you use, and something as general as Alexandria may contain lots of them. Otherwise, things can become very strange indeed. Consider a definition such as (defclass foo ((.... :reader bar))) You may very well get an error message saying that you attempt to define a method BAR on a generic function that takes more than one parameter. 2019-09-02T06:47:28Z beach: ... if it so happens that you did not know that BAR was an exported symbol in the Alexandria, and it is defined to be a generic function. 2019-09-02T06:48:14Z beach: Even if it has not function definition on it, you will get error messages referring to ALEXANDRIA:BAR, even though you defined it in your own package. 2019-09-02T06:48:17Z vlatkoB joined #lisp 2019-09-02T06:49:15Z schweers joined #lisp 2019-09-02T06:49:18Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-02T06:50:04Z beach: One more reason: Given the mediocre tools we have for refactoring, if you use explicit package prefixes, you can much more easily find all the occurrences of some symbol using tools such as `grep'. 2019-09-02T06:51:38Z beach: So even in a project such as SICL, containing many packages, I don't even :USE other SICL packages, even though I am in perfect control of them. 2019-09-02T06:51:57Z beach: I have found this practice to be a great help when I need to refactor code. 2019-09-02T06:54:37Z beach: One more reason: If your memory starts getting worse, which is inevitable over time, if you look at a symbol without a package prefix in some code of yours, it is not obvious that you can remember where it was defined, so at the very least, you need to consult SYMBOL-PACKAGE to find out. But that breaks the "flow" when you are reading code. I am using "you" to mean "one", not you personally. 2019-09-02T06:55:22Z beach: So my current practice is the result of having all the problems listed above at some point in time. 2019-09-02T06:58:03Z remexre: Can I give a lambda an ftype? Didn't see any way to from a quick peek in clhs 2019-09-02T06:59:08Z lalitmee joined #lisp 2019-09-02T06:59:42Z beach: clhs ftype 2019-09-02T06:59:42Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/d_ftype.htm 2019-09-02T07:00:14Z flip214: remexre: don't think so... ftype requires a function name. but you could use a gensym for the function name, then it's possible. 2019-09-02T07:00:39Z beach: remexre: FTYPE is for the function namespace, 2019-09-02T07:00:53Z flip214: depending on the implementation it might be "good enough" to specify the output type, eg. via (THE FIXNUM ...). 2019-09-02T07:01:00Z remexre: I guess, is there any way to get sbcl to give my type warnings :) 2019-09-02T07:01:27Z remexre: other whan (with-gensyms (name) `(flet (,name (...) (declare) ...) ,name)), I guess 2019-09-02T07:02:16Z remexre: than* 2019-09-02T07:02:17Z beach: remexre: You can use the FUNCTION type specifier. 2019-09-02T07:02:19Z leb quit 2019-09-02T07:02:35Z remexre: and do (the (function ...) (lambda ...)) ? 2019-09-02T07:02:47Z beach: That should work, yes. 2019-09-02T07:02:54Z beach: Wait, no maybe not. 2019-09-02T07:03:13Z beach: The FUNCTION type is strange. 2019-09-02T07:03:43Z beach: Because it is not generally possible to determine the type of a function. 2019-09-02T07:04:02Z beach: But I don't quite understand why people are so obsessed with types. 2019-09-02T07:04:27Z beach: I guess it must be a habit from using other languages with a static type system. 2019-09-02T07:04:27Z remexre: I'm dealing with some particularly weird types :) 2019-09-02T07:04:42Z remexre: higher-order functions returning higher-order functions 2019-09-02T07:05:15Z beach: Then even more reasons not to attempt to declare those types. 2019-09-02T07:05:45Z remexre: they are compatible with a normal hindley-milner type system, I'm just noticing myself making lots of mistakes 2019-09-02T07:08:25Z hasebastian joined #lisp 2019-09-02T07:08:25Z beach: It is not easy to try to turn Common Lisp into ML or Haskell. 2019-09-02T07:08:37Z remexre: fair 2019-09-02T07:09:12Z remexre: like really I could probably get all the forcing-correct-usage I want by adding syntactic checking with a macro :P 2019-09-02T07:12:00Z remexre: I guess (funcall (the (function (fixnum) t) (lambda () 1))) "asdf") does give me a warning though, at least 2019-09-02T07:15:45Z FennecCode quit (Quit: ERC (IRC client for Emacs 26.2)) 2019-09-02T07:17:03Z beach: remexre: Perhaps a silly question, but if static typing and compile-time reporting of type violations are such important features for you, why have you chosen to write your code in Common Lisp? 2019-09-02T07:17:28Z remexre: SLIME is honestly a killer feature for me 2019-09-02T07:17:34Z remexre: (well, slimv, but same difference) 2019-09-02T07:18:27Z remexre: and I've been doing lisp for a couple months and this is actually the first time I've gone down the "okay I want ahead-of-time type warnings" road, so 2019-09-02T07:18:41Z remexre shrugs 2019-09-02T07:22:15Z LdBeth: z 2019-09-02T07:24:21Z LdBeth: That's why people become multilingual 2019-09-02T07:25:23Z remexre: yeah, I'm coming from a haskell/rust background; this lib needs to do stuff with MOP and stuff though, so I don't wanna do it as a polyglot library or anything 2019-09-02T07:25:45Z LdBeth: o, well, typed racket has pretty good type inference 2019-09-02T07:25:46Z remexre: though I did play around with ABCL on graalvm, and it only took like a week to be able to dynamically load C code and call it from lisp 2019-09-02T07:26:18Z LdBeth: althought it's reeally SLOW for some reason 2019-09-02T07:26:20Z remexre: there's a lot of weirdness with LLVM on GraalVM though 2019-09-02T07:26:39Z remexre: yeah, in theory racket's getting a new, faster backend soon 2019-09-02T07:27:04Z remexre: the main racket language I've messed with is Pie, which isn't production-grade at all 2019-09-02T07:27:16Z remexre: if you type 1000000000 into the REPL, it allocates a few gigs of memory 2019-09-02T07:27:27Z LdBeth: they find the new backend eats lots of mem and CPU 2019-09-02T07:27:44Z remexre: darn 2019-09-02T07:27:49Z makomo joined #lisp 2019-09-02T07:29:50Z remexre: maybe they'll get (declare (optimize *)) or (declare (compilation-speed *)) 2019-09-02T07:31:00Z flip214: remexre: as you're a vim user, I'd like to tell you about vlime as well 2019-09-02T07:31:40Z LdBeth: remexre: actually in CL you usually want to write the type as the argument name 2019-09-02T07:32:01Z remexre: flip214: oh, does it do async? might switch to that tomorrow, even; bookmarking! 2019-09-02T07:32:10Z ravenous_ joined #lisp 2019-09-02T07:32:20Z remexre: LdBeth: like (defun foo ((x fixnum)))? I didn't think that worked 2019-09-02T07:32:30Z LdBeth: so you intution check that when slime prompts arglist 2019-09-02T07:32:36Z remexre: oh 2019-09-02T07:32:45Z remexre: like (defun bar (pred list)) 2019-09-02T07:32:46Z LdBeth: remexre: no, it's like (defun foo (nat) ...) 2019-09-02T07:32:53Z LdBeth: yes 2019-09-02T07:33:11Z remexre: yeah, my types are like (function ((function (list) fixnum) fixnum) state) though :P 2019-09-02T07:33:50Z LdBeth: higher order function has penality in CL 2019-09-02T07:34:13Z hasebastian quit (Quit: Konversation terminated!) 2019-09-02T07:34:22Z makomo quit (Ping timeout: 252 seconds) 2019-09-02T07:34:35Z phoenixjj joined #lisp 2019-09-02T07:34:53Z remexre: yeah, I'm porting code from a paper thou 2019-09-02T07:34:53Z makomo joined #lisp 2019-09-02T07:34:55Z remexre: though* 2019-09-02T07:35:48Z LdBeth: if the type has certain schemes, you may encode the argments into a structure 2019-09-02T07:36:08Z remexre: I've been using lots of deftypes for now 2019-09-02T07:36:21Z LdBeth: and turn on typecheck on slots of structs 2019-09-02T07:37:17Z remexre: like just specify a :type ? or is there something else? 2019-09-02T07:37:18Z orivej quit (Ping timeout: 258 seconds) 2019-09-02T07:37:27Z LdBeth: right 2019-09-02T07:48:59Z scymtym joined #lisp 2019-09-02T07:51:49Z a7f4 quit (Quit: leaving) 2019-09-02T07:58:24Z v0|d quit (Ping timeout: 258 seconds) 2019-09-02T08:04:38Z superkumasan quit (Ping timeout: 245 seconds) 2019-09-02T08:05:07Z Insanity_ joined #lisp 2019-09-02T08:13:48Z gabbiel joined #lisp 2019-09-02T08:14:07Z gabbiel left #lisp 2019-09-02T08:20:47Z steiner joined #lisp 2019-09-02T08:20:53Z steiner quit (Remote host closed the connection) 2019-09-02T08:20:56Z hhdave joined #lisp 2019-09-02T08:22:56Z lalitmee quit (Ping timeout: 245 seconds) 2019-09-02T08:24:29Z igemnace quit (Quit: WeeChat 2.5) 2019-09-02T08:25:37Z lalitmee joined #lisp 2019-09-02T08:26:25Z cosimone joined #lisp 2019-09-02T08:27:52Z igemnace joined #lisp 2019-09-02T08:30:35Z phoenixjj quit (Ping timeout: 260 seconds) 2019-09-02T08:34:16Z ravenous_ quit (Ping timeout: 264 seconds) 2019-09-02T08:41:19Z Ricchi joined #lisp 2019-09-02T08:42:31Z Lord_of_Life quit (Ping timeout: 245 seconds) 2019-09-02T08:42:53Z no-defun-allowed: Silly question: is it possible to pass a condition to another thread which presumably has a handler for that condition using bordeaux-threads? 2019-09-02T08:45:59Z scymtym: no-defun-allowed: you could INTERRUPT-THREAD the other thread with (lambda () (signal CONDITION)). this has a semi-decent chance of working as long as the handler doesn't transfer control. if possible, i would go for a more traditional inter-thread communication solution, though 2019-09-02T08:46:04Z Lord_of_Life joined #lisp 2019-09-02T08:46:19Z no-defun-allowed: (bt:interrupt-thread (lambda () (error ...))) seems good, but the docstring suggests I better use that sparingly. 2019-09-02T08:48:01Z scymtym: if you use ERROR to signal the condition, there will be a control transfer. that is the really unsafe part 2019-09-02T08:51:23Z dale quit (Quit: My computer has gone to sleep) 2019-09-02T08:51:42Z scymtym: for example, if the thread being interrupted is doing (with-open-file (stream …) …) which expands to something like (let ((stream (open …))) (unwind-protect … (when stream (close stream)))), it could be interrupted between completing the OPEN call and assigning the result to STREAM, so you would leak the stream when transferring control at that point, even if the UNWIND-PROTECT's clean-up code 2019-09-02T08:51:42Z scymtym: is executed 2019-09-02T08:51:59Z no-defun-allowed: Wait, (error) is different to (signal (make-condition 'simple-error ...))? 2019-09-02T08:52:44Z Cymew joined #lisp 2019-09-02T08:53:14Z scymtym: yes, SIGNALed conditions don't affect the "main" control flow if not handled. conditions signaled with ERROR do 2019-09-02T08:53:14Z jackdaniel: preferably you'd have a dynamically bound variable *finish* and setf it in the interrupt. your thread would be responsible to probe it in safe points 2019-09-02T08:53:28Z no-defun-allowed: Righteo. 2019-09-02T08:55:15Z no-defun-allowed: That should work fine, since I'm already using a kind of message passing scheme. The control thread sends a message down the connection and waits on a condition variable, then a handler thread takes the response and dispatches on it, eventually notifying the control thread. 2019-09-02T09:19:30Z flip214: no-defun-allowed: you could push such signals onto a queue and have the other thread process them serially, without interrupting them 2019-09-02T09:22:05Z no-defun-allowed: Yeah. 2019-09-02T09:24:53Z cosimone quit (Quit: Leaving) 2019-09-02T09:30:24Z lalitmee quit (Ping timeout: 258 seconds) 2019-09-02T09:30:24Z Necktwi quit (Ping timeout: 258 seconds) 2019-09-02T09:44:30Z Achylles joined #lisp 2019-09-02T09:57:22Z hhdave quit (Ping timeout: 244 seconds) 2019-09-02T09:57:51Z hhdave joined #lisp 2019-09-02T10:06:27Z akoana left #lisp 2019-09-02T10:13:59Z amerlyq joined #lisp 2019-09-02T10:16:56Z kamog joined #lisp 2019-09-02T10:20:23Z orivej joined #lisp 2019-09-02T10:23:31Z gjvc quit (Remote host closed the connection) 2019-09-02T10:35:26Z prxq joined #lisp 2019-09-02T11:00:28Z esrse quit (Ping timeout: 258 seconds) 2019-09-02T11:01:13Z elinow joined #lisp 2019-09-02T11:01:37Z frgo quit (Ping timeout: 258 seconds) 2019-09-02T11:03:30Z v88m quit (Ping timeout: 244 seconds) 2019-09-02T11:03:54Z EvW1 joined #lisp 2019-09-02T11:07:31Z v88m joined #lisp 2019-09-02T11:07:48Z munksgaard[m] quit (Read error: Connection reset by peer) 2019-09-02T11:07:49Z dtw quit (Read error: Connection reset by peer) 2019-09-02T11:07:57Z nonlinear[m] quit (Write error: Connection reset by peer) 2019-09-02T11:08:05Z no-defun-allowed quit (Write error: Connection reset by peer) 2019-09-02T11:08:06Z sciamano quit (Write error: Connection reset by peer) 2019-09-02T11:08:07Z LdBeth quit (Remote host closed the connection) 2019-09-02T11:08:13Z eriix[m] quit (Remote host closed the connection) 2019-09-02T11:08:15Z djeis[m] quit (Remote host closed the connection) 2019-09-02T11:08:17Z keep-learning[m] quit (Write error: Connection reset by peer) 2019-09-02T11:08:18Z katco quit (Write error: Connection reset by peer) 2019-09-02T11:08:20Z malaclyps[m] quit (Write error: Connection reset by peer) 2019-09-02T11:08:21Z Godel[m] quit (Write error: Connection reset by peer) 2019-09-02T11:08:21Z hiq[m] quit (Remote host closed the connection) 2019-09-02T11:08:22Z akanouras quit (Remote host closed the connection) 2019-09-02T11:08:23Z liambrown quit (Write error: Broken pipe) 2019-09-02T11:08:23Z Jachy quit (Remote host closed the connection) 2019-09-02T11:08:24Z iarebatman quit (Remote host closed the connection) 2019-09-02T11:11:46Z v88m quit (Ping timeout: 244 seconds) 2019-09-02T11:14:44Z akanouras joined #lisp 2019-09-02T11:14:58Z even4void joined #lisp 2019-09-02T11:15:12Z thijso: I'm playing around with creating a DHT in lisp. I've searched google, and the only one I found was 8 years old (locutus: https://github.com/tritchey/locutus). Any others out there? An annoyance when searching google is that LISP in the networking world also stands for "Locator/ID Separation Protocol", so some results are completely irrelevant... 2019-09-02T11:15:34Z ljavorsk joined #lisp 2019-09-02T11:15:42Z even4void quit (Client Quit) 2019-09-02T11:16:04Z even4void joined #lisp 2019-09-02T11:17:39Z even4void quit (Client Quit) 2019-09-02T11:17:45Z no-defun-allowed joined #lisp 2019-09-02T11:17:46Z no-defun-allowed: DHT -> distributed hash table? 2019-09-02T11:19:14Z thijso: no-defun-allowed: yep 2019-09-02T11:19:27Z thijso: specifically, the kademlia type 2019-09-02T11:19:53Z no-defun-allowed: I have a project that implements something like a DHT, but I'm missing any kind of routing that lets a client get data from a server it's not connected to directly. 2019-09-02T11:20:41Z even4void joined #lisp 2019-09-02T11:22:03Z even4void quit (Remote host closed the connection) 2019-09-02T11:22:10Z no-defun-allowed: Oh, I don't really understand the routing tricks involved in actual overlay networks, so I couldn't point you to any implementations of them, sorry. 2019-09-02T11:22:38Z even4void joined #lisp 2019-09-02T11:24:21Z even4void quit (Client Quit) 2019-09-02T11:24:46Z even4void joined #lisp 2019-09-02T11:26:25Z even4void quit (Client Quit) 2019-09-02T11:26:43Z hhdave quit (Ping timeout: 245 seconds) 2019-09-02T11:29:06Z even4void joined #lisp 2019-09-02T11:29:15Z v88m joined #lisp 2019-09-02T11:29:19Z no-defun-allowed: What I have isn't a DHT at all. Dammit. 2019-09-02T11:29:31Z frgo joined #lisp 2019-09-02T11:29:45Z gareppa joined #lisp 2019-09-02T11:31:15Z even4void quit (Remote host closed the connection) 2019-09-02T11:34:22Z v88m quit (Ping timeout: 276 seconds) 2019-09-02T11:37:15Z no-defun-allowed: So, I'm reading the paper , and it doesn't describe how to go from node IDs to object IDs. Is the paper just about how to get to a node that has a close ID to the one you are looking for? 2019-09-02T11:37:41Z no-defun-allowed: All I read about that is "Participating computers each have a node ID in the 160-bit key space. ⟨key,value⟩ pairs are stored on nodes with IDs “close” to the key for some notion of closeness." 2019-09-02T11:42:02Z even4void joined #lisp 2019-09-02T11:43:33Z dtw joined #lisp 2019-09-02T11:43:33Z LdBeth joined #lisp 2019-09-02T11:43:33Z liambrown joined #lisp 2019-09-02T11:43:33Z eriix[m] joined #lisp 2019-09-02T11:43:33Z katco joined #lisp 2019-09-02T11:43:33Z sciamano joined #lisp 2019-09-02T11:43:33Z iarebatman joined #lisp 2019-09-02T11:43:33Z Jachy joined #lisp 2019-09-02T11:43:33Z Godel[m] joined #lisp 2019-09-02T11:43:33Z djeis[m] joined #lisp 2019-09-02T11:43:33Z nonlinear[m] joined #lisp 2019-09-02T11:43:34Z munksgaard[m] joined #lisp 2019-09-02T11:43:34Z keep-learning[m] joined #lisp 2019-09-02T11:43:34Z malaclyps[m] joined #lisp 2019-09-02T11:43:42Z hiq[m] joined #lisp 2019-09-02T11:44:33Z even4void quit (Remote host closed the connection) 2019-09-02T11:47:29Z even4void joined #lisp 2019-09-02T11:48:06Z even4void quit (Remote host closed the connection) 2019-09-02T11:53:00Z no-defun-allowed: thijso: Thanks for pointing out the algorithm to me, it doesn't seem terribly hard to integrate with my work. 2019-09-02T11:55:45Z Josh_2 quit (Remote host closed the connection) 2019-09-02T12:04:07Z EvW1 quit (Ping timeout: 250 seconds) 2019-09-02T12:11:24Z orivej quit (Ping timeout: 258 seconds) 2019-09-02T12:12:30Z orivej joined #lisp 2019-09-02T12:18:52Z Necktwi joined #lisp 2019-09-02T12:18:52Z Necktwi quit (Client Quit) 2019-09-02T12:22:37Z Necktwi joined #lisp 2019-09-02T12:26:36Z Achylles quit (Ping timeout: 252 seconds) 2019-09-02T12:33:01Z ebrasca quit (Read error: No route to host) 2019-09-02T12:40:18Z xkapastel joined #lisp 2019-09-02T12:40:47Z random-nick joined #lisp 2019-09-02T12:42:54Z Achylles joined #lisp 2019-09-02T12:50:44Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2019-09-02T12:55:51Z lalitmee joined #lisp 2019-09-02T12:58:05Z lucasb joined #lisp 2019-09-02T13:00:46Z mpcjanssen joined #lisp 2019-09-02T13:07:52Z lalitmee left #lisp 2019-09-02T13:09:33Z thijso: no-defun-allowed: the idea is that the system is robust, you send STORE rpcs to the x closest nodes to the object ID 2019-09-02T13:09:59Z thijso: no-defun-allowed: so the data should be stored at multiple nodes 2019-09-02T13:10:44Z thijso: no-defun-allowed: then the FIND-VALUE rpc retrieves it, and any nodes that have the data will return it (instead of giving a list of closer nodes, which the ones that don't have it do) 2019-09-02T13:13:10Z nanoz quit (Ping timeout: 252 seconds) 2019-09-02T13:15:55Z schjetne joined #lisp 2019-09-02T13:21:30Z wxie joined #lisp 2019-09-02T13:24:17Z dddddd joined #lisp 2019-09-02T13:26:40Z ljavorsk quit (Ping timeout: 246 seconds) 2019-09-02T13:29:36Z schjetne quit (Ping timeout: 245 seconds) 2019-09-02T13:34:51Z t58 joined #lisp 2019-09-02T13:39:42Z yoeljacobsen joined #lisp 2019-09-02T13:43:35Z wxie quit (Remote host closed the connection) 2019-09-02T13:45:01Z seok13 joined #lisp 2019-09-02T13:45:36Z seok13: hello 2019-09-02T13:46:10Z seok13 quit (Remote host closed the connection) 2019-09-02T13:46:37Z seok36 joined #lisp 2019-09-02T13:47:15Z seok36: is there any library to validate json? 2019-09-02T13:47:19Z seok36: like json-p 2019-09-02T13:48:25Z gareppa quit (Quit: Leaving) 2019-09-02T13:51:49Z orivej quit (Ping timeout: 258 seconds) 2019-09-02T13:52:30Z orivej joined #lisp 2019-09-02T13:52:42Z Inline joined #lisp 2019-09-02T13:59:56Z ck_: cl-json has a jsonp 2019-09-02T14:01:58Z ck_: hmm, or used to have -- at least the documentation on common-lisp.net contains it 2019-09-02T14:04:27Z Insanity_ quit (Quit: Connection closed for inactivity) 2019-09-02T14:05:06Z jeosol quit (Remote host closed the connection) 2019-09-02T14:07:21Z davr0s_ joined #lisp 2019-09-02T14:08:28Z davr0s quit (Ping timeout: 244 seconds) 2019-09-02T14:08:28Z davr0s__ quit (Ping timeout: 244 seconds) 2019-09-02T14:08:42Z davr0s joined #lisp 2019-09-02T14:12:12Z nanoz joined #lisp 2019-09-02T14:13:52Z beach: I so wish people wouldn't describe what functionality they need in some Common Lisp software by referring to software they know in a different language. 2019-09-02T14:16:29Z seok36: ck_: I use yason but the documentation seems to be down 2019-09-02T14:17:13Z seok36: cl-json does seem to have jsonp Ill try that out 2019-09-02T14:18:58Z thijso: Can I redefine a defun in one package from withing another package? 2019-09-02T14:19:06Z thijso: *within 2019-09-02T14:19:24Z seok36: sure 2019-09-02T14:19:45Z beach: thijso: Functions don't belong to packages. 2019-09-02T14:20:02Z thijso: context: I have a system that does stuff using rpc calls over udp, but for testing I want to simulate a bunch of stuff, skipping the udp calls themselves. 2019-09-02T14:20:24Z beach: thijso: So as long as you use the right name, which is a symbol, you can redefine a function from anywhere. 2019-09-02T14:20:27Z thijso: beach: so how would I do that? Just setf the full function name to some other function name? 2019-09-02T14:21:23Z beach: thijso: So let me see if I understand... 2019-09-02T14:22:10Z awolven is now known as clothespin 2019-09-02T14:22:12Z beach: thijso: So you have some function F, and you are not happy with how it is defined. 2019-09-02T14:22:47Z beach: thijso: And, did I understand your last remark as your also having a function G, which is the right thing for F. 2019-09-02T14:23:18Z beach: And now you want to change the definition of F so that G is called instead? 2019-09-02T14:23:48Z beach: Because, if all you want is to redefine F, you can just do (defun F ...). 2019-09-02T14:24:02Z thijso: Actually, yes, but since function G is in my test env, I just now did (defun ::F () .. and it seems to work 2019-09-02T14:24:16Z thijso: Yeah, thanks 2019-09-02T14:24:21Z beach: Sure. 2019-09-02T14:26:27Z beach: Or you can do (setf (fdefinition 'F) (fdefinition 'G)) if you just want F to be the same function as G. 2019-09-02T14:26:49Z beach: Again, with F and G being the correct symbols for naming those functions. 2019-09-02T14:28:15Z clothespin quit (Ping timeout: 258 seconds) 2019-09-02T14:28:15Z libertyprime quit (Quit: leaving) 2019-09-02T14:32:52Z jprajzne quit (Quit: Leaving.) 2019-09-02T14:33:45Z schjetne joined #lisp 2019-09-02T14:34:20Z pjb: thijso: (defpackage "A" (:use) (:export "F")) (defpackage "B" (:use "CL")) (in-package "B") (defun a:f () 'foo) (in-package "CL-USER") (a:f) #| --> b::foo |# 2019-09-02T14:34:32Z cosimone joined #lisp 2019-09-02T14:35:23Z pjb: thijso: but instead of redefining stuff, you could just use a different package with your own functions. 2019-09-02T14:36:09Z prxq quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 2019-09-02T14:42:55Z davr0s quit (Remote host closed the connection) 2019-09-02T14:42:55Z davr0s_ quit (Remote host closed the connection) 2019-09-02T14:44:53Z thijso: Thanks, beach, pjb. 2019-09-02T14:45:28Z hhdave joined #lisp 2019-09-02T14:49:16Z stepnem quit (Ping timeout: 246 seconds) 2019-09-02T14:49:27Z stepnem_ joined #lisp 2019-09-02T14:53:54Z jmercouris joined #lisp 2019-09-02T14:54:58Z jmercouris quit (Remote host closed the connection) 2019-09-02T15:00:16Z manualcrank joined #lisp 2019-09-02T15:03:35Z rippa joined #lisp 2019-09-02T15:05:47Z learning joined #lisp 2019-09-02T15:10:26Z schjetne quit (Ping timeout: 245 seconds) 2019-09-02T15:32:14Z nika joined #lisp 2019-09-02T15:34:40Z Lycurgus joined #lisp 2019-09-02T15:35:13Z Achylles quit (Remote host closed the connection) 2019-09-02T15:36:41Z Lycurgus: is there anything like a free version of allegro active objects, without the gui and windows systems stuff? 2019-09-02T15:40:05Z Lycurgus: (I will see a response in the public log if it comes much later) 2019-09-02T15:40:13Z Achylles joined #lisp 2019-09-02T15:42:40Z schweers quit (Ping timeout: 264 seconds) 2019-09-02T15:43:32Z nika quit (Ping timeout: 244 seconds) 2019-09-02T15:45:26Z orivej quit (Ping timeout: 245 seconds) 2019-09-02T15:57:46Z nika joined #lisp 2019-09-02T16:03:36Z yoja joined #lisp 2019-09-02T16:03:57Z elinow quit (Read error: Connection reset by peer) 2019-09-02T16:05:28Z pjb: Lycurgus: Neither Google nor I know what allegro active objects are. 2019-09-02T16:06:02Z Lycurgus: well perhaps you don't 2019-09-02T16:06:47Z yoeljacobsen quit (Ping timeout: 244 seconds) 2019-09-02T16:06:57Z Lycurgus: the first SE result is in reference to it's use with some atlassian product 2019-09-02T16:07:55Z Lycurgus: that may be someone else's active objects 2019-09-02T16:09:29Z Lycurgus quit (Quit: Exeunt) 2019-09-02T16:12:50Z learning quit (Remote host closed the connection) 2019-09-02T16:15:08Z nika quit (Quit: quit...) 2019-09-02T16:15:16Z Lycurgus joined #lisp 2019-09-02T16:15:43Z Lycurgus: nvm, equivocation on my part, realize I already have it and it's not an allegro product 2019-09-02T16:15:51Z Lycurgus quit (Client Quit) 2019-09-02T16:17:31Z Lycurgus joined #lisp 2019-09-02T16:17:41Z Lycurgus: and ty, pjp 2019-09-02T16:17:42Z Lycurgus quit (Remote host closed the connection) 2019-09-02T16:23:23Z frodef quit (Ping timeout: 245 seconds) 2019-09-02T16:24:15Z Bike joined #lisp 2019-09-02T16:30:43Z sahara3 joined #lisp 2019-09-02T16:31:11Z sahara3: https://www.youtube.com/watch?v=7BinD8qJjqM 2019-09-02T16:32:47Z beach: sahara3: Please don't give links without also describing what they refer to. 2019-09-02T16:32:59Z sahara3: ok 2019-09-02T16:35:56Z varjag joined #lisp 2019-09-02T16:36:10Z learning joined #lisp 2019-09-02T16:36:15Z hhdave quit (Quit: hhdave) 2019-09-02T16:36:21Z beach: So are you planning to tell us? 2019-09-02T16:36:50Z gioyik joined #lisp 2019-09-02T16:39:13Z varjag quit (Read error: Connection reset by peer) 2019-09-02T16:40:36Z pjb: sahara3: don't confuse #lisp with #lispcafe 2019-09-02T16:43:19Z beach: pjb: So far, sahara3 has not uttered one single thing that was on topic. 2019-09-02T16:43:27Z sahara3 left #lisp 2019-09-02T16:45:28Z shifty quit (Ping timeout: 252 seconds) 2019-09-02T16:45:53Z _leb joined #lisp 2019-09-02T16:51:47Z Oladon joined #lisp 2019-09-02T17:00:06Z C-Keen quit (Quit: WeeChat 2.4) 2019-09-02T17:03:04Z Alexandre joined #lisp 2019-09-02T17:03:09Z Alexandre quit (Remote host closed the connection) 2019-09-02T17:07:54Z jeosol joined #lisp 2019-09-02T17:08:16Z nanoz quit (Ping timeout: 244 seconds) 2019-09-02T17:08:52Z orivej joined #lisp 2019-09-02T17:12:13Z nanoz joined #lisp 2019-09-02T17:16:25Z frodef joined #lisp 2019-09-02T17:24:36Z frodef quit (Ping timeout: 245 seconds) 2019-09-02T17:26:32Z torbo joined #lisp 2019-09-02T17:27:48Z Lycurgus joined #lisp 2019-09-02T17:28:36Z Lycurgus: s/pjp/pjb/ ; I stopped it as soon as I saw the cross. Dunno if anything lisp related came later. 2019-09-02T17:30:13Z frgo_ joined #lisp 2019-09-02T17:33:31Z frodef joined #lisp 2019-09-02T17:34:16Z frgo quit (Ping timeout: 264 seconds) 2019-09-02T17:35:01Z frgo_ quit (Ping timeout: 245 seconds) 2019-09-02T17:35:49Z wilfredh quit (Quit: Connection closed for inactivity) 2019-09-02T17:36:01Z iovec joined #lisp 2019-09-02T17:42:00Z _leb quit 2019-09-02T17:42:06Z Krystof quit (Ping timeout: 245 seconds) 2019-09-02T17:42:35Z schjetne joined #lisp 2019-09-02T17:42:43Z leb joined #lisp 2019-09-02T17:43:20Z leb quit (Client Quit) 2019-09-02T17:46:08Z Lycurgus quit (Quit: Exeunt) 2019-09-02T17:47:28Z schjetne quit (Ping timeout: 264 seconds) 2019-09-02T17:50:05Z renzhi joined #lisp 2019-09-02T17:52:56Z yoja quit (Ping timeout: 245 seconds) 2019-09-02T17:56:35Z vyorkin joined #lisp 2019-09-02T18:02:01Z Oladon quit (Quit: Leaving.) 2019-09-02T18:12:30Z vlatkoB quit (Remote host closed the connection) 2019-09-02T18:13:17Z Volt_ quit (Quit: exit();) 2019-09-02T18:13:39Z schjetne joined #lisp 2019-09-02T18:18:40Z schjetne quit (Ping timeout: 264 seconds) 2019-09-02T18:19:24Z random-nick quit (Ping timeout: 258 seconds) 2019-09-02T18:22:49Z nostoi joined #lisp 2019-09-02T18:23:03Z mindCrime_ joined #lisp 2019-09-02T18:28:41Z karlosz joined #lisp 2019-09-02T18:29:50Z Oladon joined #lisp 2019-09-02T18:33:04Z ravenous_ joined #lisp 2019-09-02T18:33:07Z learning quit (Remote host closed the connection) 2019-09-02T18:33:08Z nostoi quit (Quit: Verlassend) 2019-09-02T18:33:59Z nostoi joined #lisp 2019-09-02T18:34:50Z learning joined #lisp 2019-09-02T18:36:18Z spoeplau joined #lisp 2019-09-02T18:37:39Z khisanth_ quit (Ping timeout: 244 seconds) 2019-09-02T18:39:05Z varjag joined #lisp 2019-09-02T18:39:23Z dale joined #lisp 2019-09-02T18:46:24Z cosimone quit (Quit: Leaving) 2019-09-02T18:48:33Z Oladon quit (Read error: Connection reset by peer) 2019-09-02T18:50:05Z Oladon joined #lisp 2019-09-02T18:53:53Z khisanth_ joined #lisp 2019-09-02T18:55:34Z Oladon quit (Read error: Connection reset by peer) 2019-09-02T18:57:00Z Oladon joined #lisp 2019-09-02T18:57:45Z karlosz quit (Quit: karlosz) 2019-09-02T19:06:19Z nostoi quit (Quit: Verlassend) 2019-09-02T19:13:07Z ikki joined #lisp 2019-09-02T19:21:50Z learning quit (Remote host closed the connection) 2019-09-02T19:23:29Z cosimone joined #lisp 2019-09-02T19:24:20Z learning joined #lisp 2019-09-02T19:25:30Z learning_ joined #lisp 2019-09-02T19:28:48Z learning quit (Ping timeout: 245 seconds) 2019-09-02T19:33:16Z ggole quit (Quit: Leaving) 2019-09-02T19:34:52Z scymtym quit (Ping timeout: 264 seconds) 2019-09-02T19:35:53Z gigetoo quit (Ping timeout: 245 seconds) 2019-09-02T19:36:43Z gigetoo joined #lisp 2019-09-02T19:39:53Z gravicappa quit (Ping timeout: 258 seconds) 2019-09-02T19:41:26Z momozor joined #lisp 2019-09-02T19:41:49Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-02T19:42:02Z momozor: Hi, how do I load a system and invoke an external function at runtime? 2019-09-02T19:42:23Z momozor: What I am thinking is this.. 2019-09-02T19:42:29Z momozor: (ql:quickload :system-blah) 2019-09-02T19:42:40Z momozor: (:system-blah:foo) 2019-09-02T19:43:53Z momozor: I can actually quickload a system at runtime, but cannot invoke the function via (system-blah:foo) 2019-09-02T19:44:10Z MrBusiness3 joined #lisp 2019-09-02T19:45:39Z pjb: momozor: that's because you are confusing systems with packages. systems may contain files that when loaded will define 0, 1 or more packages. Then names of the systems and of the packages are totally unrelated. 2019-09-02T19:46:12Z pjb: momozor: said otherwise, read the doc! 2019-09-02T19:46:44Z pjb: momozor: or, also, notice how quicklisp will diplay the name of the packages that are defined by a system while you are compiling it. 2019-09-02T19:47:28Z MrBismuth quit (Ping timeout: 264 seconds) 2019-09-02T19:47:47Z spoeplau quit (Ping timeout: 250 seconds) 2019-09-02T19:51:59Z momozor: pjb: alright. thanks. 2019-09-02T19:52:04Z momozor quit (Quit: Leaving) 2019-09-02T20:10:36Z amerlyq quit (Quit: amerlyq) 2019-09-02T20:13:26Z iovec quit (Quit: Connection closed for inactivity) 2019-09-02T20:17:15Z hiq[m] quit (*.net *.split) 2019-09-02T20:17:16Z munksgaard[m] quit (*.net *.split) 2019-09-02T20:17:16Z Jachy quit (*.net *.split) 2019-09-02T20:17:17Z nonlinear[m] quit (*.net *.split) 2019-09-02T20:17:17Z djeis[m] quit (*.net *.split) 2019-09-02T20:17:28Z nanozz joined #lisp 2019-09-02T20:19:31Z scymtym joined #lisp 2019-09-02T20:20:03Z nanoz quit (Ping timeout: 245 seconds) 2019-09-02T20:20:06Z djeis[m] joined #lisp 2019-09-02T20:20:42Z nonlinear[m] joined #lisp 2019-09-02T20:21:06Z hiq[m] joined #lisp 2019-09-02T20:21:26Z munksgaard[m] joined #lisp 2019-09-02T20:22:49Z whartung quit (Ping timeout: 246 seconds) 2019-09-02T20:23:33Z Jachy joined #lisp 2019-09-02T20:23:34Z Jachy quit (Changing host) 2019-09-02T20:23:34Z Jachy joined #lisp 2019-09-02T20:28:46Z nanozz quit (Ping timeout: 245 seconds) 2019-09-02T20:38:24Z sonologico joined #lisp 2019-09-02T20:41:09Z sonologico quit (Remote host closed the connection) 2019-09-02T20:41:22Z varjag quit (Ping timeout: 246 seconds) 2019-09-02T20:41:35Z sonologico joined #lisp 2019-09-02T20:43:02Z Lord_of_Life_ joined #lisp 2019-09-02T20:43:43Z Lord_of_Life quit (Ping timeout: 244 seconds) 2019-09-02T20:46:00Z Lord_of_Life_ is now known as Lord_of_Life 2019-09-02T20:46:20Z thijso: I feel like I'm missing something simple. I've been looking at docs too long maybe. So maybe someone here can shortcut my brain onto the right path. How can I convert hexadecimal into bitvectors (and vice versa)? I'm now looking at (format "~b" something) and then splitting that into characters to push on the bitvector somehow? That seems like the wrong way to go about it... 2019-09-02T20:48:08Z moldybits: convert a hexadecimal? you mean the ascii characters? or do you mean going from a hexadecimal string to a number to a bitvector of that number? 2019-09-02T20:50:10Z thijso: from a hex string to bitvector, so the second, I guess 2019-09-02T20:50:16Z pjb: The only way to store to bit-vectors is (setf (aref bv index) 0) or (setf (aref bv index) 1) 2019-09-02T20:51:12Z pjb: There are several ways to get a bit from an integer. There's logbitp, which returns an integer. There's ldb which can return a bit. 2019-09-02T20:52:23Z pjb: So you can do: (let ((n (random 1000000))) (loop with bv = (make-array (integer-length n) :element-type 'bit) for i below (integer-length n) do (setf (aref bv i) (ldb (byte 1 i) n)) finally (return bv))) #| --> #*10101000111111110001 |# 2019-09-02T20:52:38Z moldybits: and parse-int for parsing the hex to a number 2019-09-02T20:52:43Z moldybits: parse-integer 2019-09-02T20:52:49Z pjb: Finally, you can convert from hexadecimal to integer with parse-integer, indeed. 2019-09-02T20:53:16Z pjb: (let ((n (random 1000000))) (let ((hex (format nil "~X" n))) (let ((n (parse-integer hex :radix 16.))) (loop with bv = (make-array (integer-length n) :element-type 'bit) for i below (integer-length n) do (setf (aref bv i) (ldb (byte 1 i) n)) finally (return bv))))) #| --> #*11101010001011011101 |# 2019-09-02T20:54:03Z moldybits: s/16./16/ 2019-09-02T20:54:08Z pjb: Nope. 2019-09-02T20:54:12Z moldybits: no? 2019-09-02T20:54:18Z pjb: 16. is sixteen. 16 depends on *read-base*. 2019-09-02T20:54:24Z moldybits: oh 2019-09-02T20:54:32Z thijso: Thanks, pjb. 2019-09-02T20:54:38Z moldybits: never seen that 2019-09-02T20:54:59Z pjb: Yes, it's a funny thing with CL, integers can be written in base ten by suffixing them with a dot. 2019-09-02T20:55:23Z moldybits: that's cool :p 2019-09-02T20:55:55Z thijso: while one would think that a dot signifies a float or something like that 2019-09-02T20:55:58Z thijso: interesting to know 2019-09-02T20:56:09Z sonologico quit (Remote host closed the connection) 2019-09-02T20:56:29Z pjb: They call it a DECIMAL point. 2019-09-02T20:57:09Z thijso: Yeah, but usually it's used when it's *not* an integer 2019-09-02T20:57:40Z mindCrime_ quit (Ping timeout: 244 seconds) 2019-09-02T20:59:34Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-02T21:02:55Z ravenous_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-02T21:03:32Z thijso: Hmmm... that converts "d6" to #*01101011, and not #*10110110 as I would expect. The two digits are switched around. 2019-09-02T21:05:39Z Oladon quit (Quit: Leaving.) 2019-09-02T21:06:38Z Krystof joined #lisp 2019-09-02T21:12:50Z learning_ quit (Remote host closed the connection) 2019-09-02T21:13:40Z pjb: thijso: bit-vectors are indexed from 0 up from left to right. Just like any vector 2019-09-02T21:15:21Z pjb: thijso: numbering of bits in integers is more logically performed from least significant bit up to most significant bit: n = Σ di * 2^i 2019-09-02T21:15:34Z pjb: thijso: so perhaps you should revise your expecations. 2019-09-02T21:15:43Z learning joined #lisp 2019-09-02T21:16:25Z pjb: thijso: (this is writing numbers with the most significant digit first that is idiotic; in German, you SAY the units digit before the tens digit). 2019-09-02T21:18:38Z pjb: thijso: now, if you really insist on storing the most significant bit in the least index of the bit vector, you can always add a (- n i) to the indexing. 2019-09-02T21:18:52Z pjb: or rather (- (integer-length n) i) 2019-09-02T21:19:23Z thijso: yeah, I was looking into that, thanks for the pointer. 2019-09-02T21:20:03Z pjb: (- (integer-length n) i 1) actually if you (make-array (integer-length n) :element-type 'bit) 2019-09-02T21:20:35Z pjb: or perhaps (- (array-dimension bv 0) i 1). 2019-09-02T21:20:36Z saturn2: do you want the bits reversed or just the hex digits? 2019-09-02T21:20:43Z spoeplau joined #lisp 2019-09-02T21:21:50Z thijso: I want the bit vector to line up with the hex digits, so that would mean "d6" would be converted as #*10110110 2019-09-02T21:21:55Z pjb: (let ((n #xd6)) (loop with bv = (make-array (integer-length n) :element-type 'bit) for i below (integer-length n) do (setf (aref bv (- (array-dimension bv 0) i 1)) (ldb (byte 1 i) n)) finally (return bv))) #| --> #*11010110 |# 2019-09-02T21:22:08Z pjb: and this is what you would get, not the silly #*10110110 2019-09-02T21:22:43Z pjb: If you want to decrease the index on hex digits, but increase it on bits, you will have a more complex formula. 2019-09-02T21:23:02Z pjb: You can always use random-permutation too… 2019-09-02T21:24:40Z EvW joined #lisp 2019-09-02T21:25:57Z hiroaki_ joined #lisp 2019-09-02T21:26:18Z pjb: For example, you can do: (let ((n #xd6)) (let ((hex (reverse (format nil "~X" n)))) (let ((n (parse-integer hex :radix 16.))) (loop with bv = (make-array (integer-length n) :element-type 'bit) for i below (integer-length n) do (setf (aref bv i) (ldb (byte 1 i) n)) finally (return bv))))) #| --> #*1011011 |# 2019-09-02T21:26:36Z pjb: but notice we have then 7 bits :-) 2019-09-02T21:27:20Z pjb: Or, you can do: (let ((n #xd6)) (let ((hex (reverse (format nil "~X" n)))) (let ((n (parse-integer hex :radix 16.))) (loop with bv = (make-array (* 4 (ceiling (integer-length n) 4)) :initial-element 0 :element-type 'bit) for i below (integer-length n) do (setf (aref bv i) (ldb (byte 1 i) n)) finally (return bv))))) #| --> #*10110110 |# 2019-09-02T21:27:25Z thijso: Sorry, I had a typo in my stuff... of course d6 should be 1101 0110 and not 1011 0110 2019-09-02T21:27:34Z hiroaki quit (Ping timeout: 246 seconds) 2019-09-02T21:27:37Z igemnace quit (Ping timeout: 258 seconds) 2019-09-02T21:27:58Z pjb: Don't be sorry, you can ask any dumb thing. CL can provide. 2019-09-02T21:29:00Z cosimone quit (Quit: Leaving) 2019-09-02T21:29:09Z thijso: Hah! I see that. But I am sorry, because the reversal of 0110 is of course 0110... still 6. D (i.e. 13) is not 1011, its 1101 2019-09-02T21:29:53Z thijso: So it looked like I was asking for the weird complete reversal (but not really), while you already gave me the right one 2019-09-02T21:30:17Z jdz quit (Ping timeout: 258 seconds) 2019-09-02T21:31:47Z cosimone joined #lisp 2019-09-02T21:32:34Z jdz joined #lisp 2019-09-02T21:32:56Z hiroaki_ quit (Ping timeout: 245 seconds) 2019-09-02T21:42:34Z spoeplau quit (Ping timeout: 258 seconds) 2019-09-02T21:43:56Z cosimone_ joined #lisp 2019-09-02T21:45:03Z renzhi quit (Ping timeout: 245 seconds) 2019-09-02T21:45:13Z cosimone quit (Ping timeout: 250 seconds) 2019-09-02T21:45:27Z hiroaki_ joined #lisp 2019-09-02T21:46:31Z vyorkin quit (Remote host closed the connection) 2019-09-02T21:47:25Z White_Flame: pjb: technically, it's a "radix point". only in common use & vernacular is it a decimal point 2019-09-02T21:48:07Z White_Flame: and since CL doesn't have non-base10 radix fixed- or floating-point numbers, a radix point always implies decimal 2019-09-02T21:48:31Z cosimone_ quit (Client Quit) 2019-09-02T21:49:04Z Achylles quit (Remote host closed the connection) 2019-09-02T21:50:31Z learning_ joined #lisp 2019-09-02T21:51:01Z learning quit (Ping timeout: 246 seconds) 2019-09-02T22:00:58Z ltriant joined #lisp 2019-09-02T22:04:04Z iovec joined #lisp 2019-09-02T22:04:17Z karlosz joined #lisp 2019-09-02T22:04:36Z karlosz quit (Client Quit) 2019-09-02T22:04:51Z karlosz joined #lisp 2019-09-02T22:06:14Z Cymew quit (Ping timeout: 252 seconds) 2019-09-02T22:06:51Z Cymew joined #lisp 2019-09-02T22:09:55Z aeth quit (Ping timeout: 246 seconds) 2019-09-02T22:14:19Z karlosz quit (Quit: karlosz) 2019-09-02T22:14:57Z karlosz joined #lisp 2019-09-02T22:18:21Z karlosz quit (Remote host closed the connection) 2019-09-02T22:18:52Z grumble quit (Quit: 𝑽𝒆𝒍𝒐𝒄𝒊𝒓𝒂𝒑𝒕𝒐𝒓) 2019-09-02T22:19:09Z techquila quit (Remote host closed the connection) 2019-09-02T22:21:49Z grumble joined #lisp 2019-09-02T22:28:56Z t58 quit (Quit: Night.) 2019-09-02T22:31:11Z ikki quit (Ping timeout: 244 seconds) 2019-09-02T22:32:01Z EvW quit (Ping timeout: 250 seconds) 2019-09-02T22:33:11Z karlosz joined #lisp 2019-09-02T22:39:45Z karlosz quit (Quit: karlosz) 2019-09-02T22:51:48Z dxtr joined #lisp 2019-09-02T22:54:36Z poet joined #lisp 2019-09-02T23:00:46Z leb joined #lisp 2019-09-02T23:06:16Z frodef quit (Ping timeout: 245 seconds) 2019-09-02T23:07:56Z Krystof quit (Ping timeout: 245 seconds) 2019-09-02T23:12:37Z libertyprime joined #lisp 2019-09-02T23:12:40Z Oladon joined #lisp 2019-09-02T23:15:27Z leb quit 2019-09-02T23:21:45Z manjaroi3 joined #lisp 2019-09-02T23:23:42Z fengshaun: is it possible to compile a CL program statically like e.g. go static binaries? 2019-09-02T23:23:45Z hiroaki_ quit (Ping timeout: 258 seconds) 2019-09-02T23:23:57Z fengshaun: or like c with musl 2019-09-02T23:25:52Z poet quit (Ping timeout: 264 seconds) 2019-09-02T23:27:34Z no-defun-allowed: You can use your implementation's image-dumping functionality to write out an image, but that would still have dynamic links to libc at least. 2019-09-02T23:27:47Z no-defun-allowed: Maybe ECL can make static programs. 2019-09-02T23:29:04Z fengshaun: thanks, I will check out ecl 2019-09-02T23:30:02Z pjb: Compilation is always a "statical" transformation. 2019-09-02T23:30:52Z pjb: But to make static libraries, yes ecl would be the go-to implementation. 2019-09-02T23:31:56Z pjb: Now if you just want an executable, almost all implementation can generate an executable image. But not ecl. Ecl can only link into an elf binary. Which cannot be purely static, since it has to use libecl.so and libc.so 2019-09-02T23:32:07Z pjb: (but then, executable images too, so…) 2019-09-02T23:32:18Z pjb: Nowadays it's very hard to make a static binary… 2019-09-02T23:33:08Z fengshaun: so looks like I need to install the runtime separately regardless 2019-09-02T23:35:15Z White_Flame: python, bash, java, javascript, etc all get by without generally making an executable too 2019-09-02T23:35:29Z fengshaun: yea, I'm aware 2019-09-02T23:49:16Z gabbiel joined #lisp 2019-09-02T23:49:30Z gabbiel: so is there really no flet/labels equivalent to methods? 2019-09-02T23:50:20Z superkumasan joined #lisp 2019-09-02T23:51:59Z ebrasca joined #lisp 2019-09-02T23:53:32Z Ricchi quit (Remote host closed the connection) 2019-09-02T23:54:07Z White_Flame: gabbiel: you could build on on top of gensym'd method names, so they'd only be locally accessed 2019-09-02T23:55:40Z White_Flame: generic functions are intended to be runtime resolvable, though, so there's not going to be any consideration for compile-time method selection per call site 2019-09-02T23:57:50Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-02T23:59:35Z gabbiel: i dont understand your second message 2019-09-03T00:00:28Z gabbiel: flet/labels allows for binding of functions in lexical scope, which happens in the runtime 2019-09-03T00:00:45Z gabbiel: i dont see why methods couldn't be lexically bound too 2019-09-03T00:01:53Z hiroaki joined #lisp 2019-09-03T00:08:19Z dlowe: to what end? 2019-09-03T00:11:30Z shifty joined #lisp 2019-09-03T00:13:15Z iovec quit (Quit: Connection closed for inactivity) 2019-09-03T00:16:05Z libertyprime quit (Remote host closed the connection) 2019-09-03T00:23:20Z Bike: there used to be a generic-flet operator, but it was removed because iirc nobody understood it. 2019-09-03T00:24:02Z LdBeth quit (Read error: Connection reset by peer) 2019-09-03T00:24:03Z no-defun-allowed quit (Remote host closed the connection) 2019-09-03T00:24:03Z malaclyps[m] quit (Write error: Broken pipe) 2019-09-03T00:24:04Z dtw quit (Remote host closed the connection) 2019-09-03T00:24:09Z eriix[m] quit (Remote host closed the connection) 2019-09-03T00:24:09Z djeis[m] quit (Read error: Connection reset by peer) 2019-09-03T00:24:11Z Godel[m] quit (Write error: Connection reset by peer) 2019-09-03T00:24:11Z keep-learning[m] quit (Write error: Connection reset by peer) 2019-09-03T00:24:11Z akanouras quit (Remote host closed the connection) 2019-09-03T00:24:12Z munksgaard[m] quit (Remote host closed the connection) 2019-09-03T00:24:14Z nonlinear[m] quit (Write error: Connection reset by peer) 2019-09-03T00:24:14Z hiq[m] quit (Read error: Connection reset by peer) 2019-09-03T00:24:15Z Jachy quit (Remote host closed the connection) 2019-09-03T00:24:16Z katco quit (Write error: Connection reset by peer) 2019-09-03T00:24:16Z liambrown quit (Write error: Connection reset by peer) 2019-09-03T00:24:17Z sciamano quit (Write error: Connection reset by peer) 2019-09-03T00:24:17Z iarebatman quit (Remote host closed the connection) 2019-09-03T00:25:37Z hiroaki quit (Remote host closed the connection) 2019-09-03T00:26:04Z ravndal quit (Ping timeout: 246 seconds) 2019-09-03T00:26:52Z hiroaki joined #lisp 2019-09-03T00:28:10Z makomo quit (Ping timeout: 246 seconds) 2019-09-03T00:30:06Z poet joined #lisp 2019-09-03T00:32:25Z alexanderbarbosa joined #lisp 2019-09-03T00:32:28Z gabbiel: Bike: it proposed in the design process? 2019-09-03T00:32:59Z Bike: yeah, there was a committee issue and stuff 2019-09-03T00:33:00Z akanouras joined #lisp 2019-09-03T00:33:16Z Bike: http://www.lispworks.com/documentation/HyperSpec/Issues/iss181_w.htm here 2019-09-03T00:34:01Z Bike: also with-added-methods 2019-09-03T00:34:08Z Bike: "We would either have to get the implementors to implement it or explainwhy we put this thing in the language that everyone refuses to implement." 2019-09-03T00:34:55Z orivej_ joined #lisp 2019-09-03T00:36:18Z orivej quit (Ping timeout: 245 seconds) 2019-09-03T00:39:52Z drmeister: I've got some code where I invoke MAKE-INSTANCE and it's returning NIL. I'm not sure how that could be. 2019-09-03T00:39:54Z gabbiel: generic-flet and generic-labels are self describing, what did they mean that nobody understood them 2019-09-03T00:40:21Z Bike: well, what they're for. also whether it was dynamic or lexical. 2019-09-03T00:40:37Z drmeister: https://www.irccloud.com/pastebin/MHJNDuJr/ 2019-09-03T00:40:58Z Bike: drmeister: broken method, i guess. 2019-09-03T00:41:07Z drmeister: There is an :after method on initialize-instance for this class and in there I put a print statement for the object. 2019-09-03T00:41:15Z ravndal joined #lisp 2019-09-03T00:41:20Z drmeister: I get: 2019-09-03T00:41:21Z drmeister: https://www.irccloud.com/pastebin/CSPNLvh9/ 2019-09-03T00:41:31Z Lycurgus joined #lisp 2019-09-03T00:41:35Z drmeister: Bike: Which method should I look for? 2019-09-03T00:41:45Z Bike: any 2019-09-03T00:41:52Z Bike: on initialize-instance or allocate-instance or make-instance 2019-09-03T00:41:54Z keep_learning joined #lisp 2019-09-03T00:41:57Z learning_ quit (Remote host closed the connection) 2019-09-03T00:41:59Z drmeister: I can make the instance directly and it works. 2019-09-03T00:42:02Z drmeister: https://www.irccloud.com/pastebin/O99BeibQ/ 2019-09-03T00:42:25Z drmeister: It's a little harder to initialize :%view properly from the command line. 2019-09-03T00:43:03Z White_Flame: gabbiel: my 2nd message was about compile-time optimization, as many languages like C++ do. Even though the declarations and usages would be in a single lexical scope, it would still leave resolution to runtime 2019-09-03T00:43:17Z gabbiel: Bike: flet is lexical, yes, so generic-flet should be lexical as well 2019-09-03T00:43:45Z Bike: and the methods? 2019-09-03T00:43:58Z Bike: i mean fundamentally what's the point of defining a generic function all at once? might as well just have a typecase body 2019-09-03T00:44:43Z awolven joined #lisp 2019-09-03T00:45:37Z jiny joined #lisp 2019-09-03T00:46:03Z gabbiel: White_Flame: but what exactly did you mean, regarding generic-flet/labels, that it would inhibit compile time optimization? 2019-09-03T00:46:41Z verisimilitude left #lisp 2019-09-03T00:46:50Z White_Flame: I don't know for what purpose you want this, so I brought up an assumptive scenario 2019-09-03T00:46:55Z gabbiel: Bike: I'd wager generic-flet/labels was for defining methods, since methods already imply generic functions 2019-09-03T00:47:05Z Bike: what? 2019-09-03T00:47:26Z Bike: you said that generic-flet is self describing but i really have doubts about that 2019-09-03T00:47:27Z White_Flame: if you build generic-flet on top of gensym-named standard defmethods, it woudl perform the same and not take advantage of any lexical stuff 2019-09-03T00:47:50Z White_Flame: whereas labels & flet, being contained with their usage, can do certain deeper optimizations 2019-09-03T00:48:25Z pjb: The problem is that method dispatching is not done lexically, but dynamically. 2019-09-03T00:49:45Z pjb: There would be no point of defining a method lexically, thus masking another method defined on the same classes, since calling the generic function could occur outside of the lexical scope, and would still have to dispatch to the outside method! 2019-09-03T00:50:24Z White_Flame: pjb: the intent would be not to leak the GF at all 2019-09-03T00:50:31Z pjb: At most, what you can do, is to bind methods dynamically, ie. temporarily. You can do that with find-method, add-method and remove-method. 2019-09-03T00:50:38Z pjb: White_Flame: still. 2019-09-03T00:50:43Z Lycurgus: leak the GF 2019-09-03T00:50:59Z pjb: White_Flame: the point is that there's no point. Just write a normal function. 2019-09-03T00:51:21Z White_Flame: I believe the point would be to use the class-based dispatch mechanism in local functions 2019-09-03T00:52:02Z Lycurgus: well the great thing is you get to make whatever point u want! 2019-09-03T00:52:35Z gabbiel: White_Flame: I see, your point is that impleneting generic-flet through gensyms would not allow for the optimizations that flet/labels have. 2019-09-03T00:52:39Z Lycurgus: which might be the reason the object system isn't more widely used 2019-09-03T00:52:42Z White_Flame: gabbiel: however, if you're planning on using EQL discriminators in your functions, instead of class-based, you could also try using a matcher library 2019-09-03T00:53:00Z White_Flame: for erlang-style matching branch clauses 2019-09-03T00:53:42Z gabbiel: Bike: maybe call it mflet or mlabels 2019-09-03T00:53:54Z Bike: i still don't understand what the point of this is. 2019-09-03T00:54:21Z Bike: i can kind of understand dynamically adding and removing methods, which is i think what with-added-methods was, but then there's not much point doing it as a special operator 2019-09-03T00:54:34Z Bike: and you're not actually binding any function names 2019-09-03T00:57:14Z lemoinem is now known as Guest37629 2019-09-03T00:57:14Z Guest37629 quit (Killed (moon.freenode.net (Nickname regained by services))) 2019-09-03T00:57:16Z lemoinem joined #lisp 2019-09-03T01:00:14Z eriix[m] joined #lisp 2019-09-03T01:00:14Z iarebatman joined #lisp 2019-09-03T01:00:14Z sciamano joined #lisp 2019-09-03T01:00:15Z Jachy joined #lisp 2019-09-03T01:00:15Z LdBeth joined #lisp 2019-09-03T01:00:15Z dtw joined #lisp 2019-09-03T01:00:15Z djeis[m] joined #lisp 2019-09-03T01:00:15Z munksgaard[m] joined #lisp 2019-09-03T01:00:15Z nonlinear[m] joined #lisp 2019-09-03T01:00:15Z liambrown joined #lisp 2019-09-03T01:00:15Z Godel[m] joined #lisp 2019-09-03T01:00:15Z malaclyps[m] joined #lisp 2019-09-03T01:00:15Z katco joined #lisp 2019-09-03T01:00:15Z keep-learning[m] joined #lisp 2019-09-03T01:00:15Z no-defun-allowed joined #lisp 2019-09-03T01:00:23Z hiq[m] joined #lisp 2019-09-03T01:00:31Z gabbiel: bike: the point is to think about what it would mean to have lexically bound methods 2019-09-03T01:01:10Z Bike: that wouldn't mesh at all with the entire rest of clos 2019-09-03T01:01:31Z pjb: exactly. 2019-09-03T01:03:13Z Bike: a generic function is an object with a state, such as what methods it has. to "lexically bind" one, you'd be making a new generic function and copying that state and also adding methods 2019-09-03T01:04:40Z White_Flame: for this to meaningfully work, it would probably want its methods to be statically defined to only teh source code clauses that are present in that scope? 2019-09-03T01:05:23Z White_Flame: like I said, imagine a set of LABELS functions that can use multimethod dispatch in their parameters 2019-09-03T01:06:16Z White_Flame: s/in/using/ :-P 2019-09-03T01:06:22Z gabbiel: so im really just restricted to typecasing and using flet? 2019-09-03T01:06:33Z Bike: yes. i don't understand what more you want. 2019-09-03T01:06:49Z Bike: you could give it a more method-like syntax but still make a normal function 2019-09-03T01:06:50Z pjb: White_Flame: for this to work, you would have to justify having a different dispatch between calls to the generic function inside the lexial scope vs. outside of it. 2019-09-03T01:07:06Z pjb: White_Flame: this is very hard to justify when you understand what an object is. 2019-09-03T01:07:25Z White_Flame: right, this would remove the "objectness" of the GF 2019-09-03T01:07:41Z White_Flame: but in exchange, expose parameter-based dispatch to local functions 2019-09-03T01:07:59Z pjb: Ah! So this is what you want, parameter based dispatch! 2019-09-03T01:08:10Z pjb: Or just pattern matching cases. 2019-09-03T01:08:28Z semz quit (Ping timeout: 264 seconds) 2019-09-03T01:08:30Z White_Flame: I don't know if that's what gabbiel wants, because they never actually stated any intention, but that was my assumption, which I did specifically list multilpe times as a supposed rationale 2019-09-03T01:08:48Z Bike: yes, having an idea of what's actually wanted would help 2019-09-03T01:09:07Z pjb: White_Flame: it's probably better to have a macro implementing it independently from function calls. 2019-09-03T01:09:31Z White_Flame: pjb: which is what I said about constructing a gensym-named GF that's only locally known 2019-09-03T01:09:38Z pjb: Something like (dispatch-case (a b c) (((a integer) (b integer) (c string)) …) (((a integer) (b string) (c string)) …) …) 2019-09-03T01:13:48Z hiroaki quit (Ping timeout: 245 seconds) 2019-09-03T01:14:27Z gabbiel: that macro seems nice, but are those flet like or labels like bindings? 2019-09-03T01:20:36Z semz joined #lisp 2019-09-03T01:26:39Z Lycurgus quit (Quit: Exeunt) 2019-09-03T01:31:38Z kajo quit (Ping timeout: 252 seconds) 2019-09-03T01:33:03Z kajo joined #lisp 2019-09-03T01:34:03Z Kaisyu7 quit (Quit: ERC (IRC client for Emacs 26.2)) 2019-09-03T01:34:42Z learning joined #lisp 2019-09-03T01:34:56Z orivej_ quit (Ping timeout: 252 seconds) 2019-09-03T01:37:54Z aeth joined #lisp 2019-09-03T01:38:30Z scottj joined #lisp 2019-09-03T01:42:09Z igemnace joined #lisp 2019-09-03T01:43:54Z Oladon quit (Quit: Leaving.) 2019-09-03T01:47:33Z Kaisyu7 joined #lisp 2019-09-03T01:49:37Z jiny quit (Ping timeout: 250 seconds) 2019-09-03T01:50:31Z xkapastel joined #lisp 2019-09-03T01:55:00Z igemnace quit (Quit: WeeChat 2.5) 2019-09-03T01:58:36Z igemnace joined #lisp 2019-09-03T02:01:16Z kajo quit (Ping timeout: 264 seconds) 2019-09-03T02:02:22Z kajo joined #lisp 2019-09-03T02:02:41Z alexande` joined #lisp 2019-09-03T02:03:03Z alexanderbarbosa quit (Remote host closed the connection) 2019-09-03T02:14:35Z seok quit (Ping timeout: 260 seconds) 2019-09-03T02:15:03Z seok36 quit (Ping timeout: 260 seconds) 2019-09-03T02:18:16Z ahungry joined #lisp 2019-09-03T02:21:05Z pjb: gabbiel: it doesn't matter, because the dispatching clause should be exclusive. 2019-09-03T02:33:42Z learning quit (Remote host closed the connection) 2019-09-03T02:33:44Z Bike quit (Quit: Lost terminal) 2019-09-03T02:58:15Z torbo quit (Remote host closed the connection) 2019-09-03T02:58:32Z EvW joined #lisp 2019-09-03T02:59:09Z gabbiel quit (Read error: No route to host) 2019-09-03T03:01:47Z ahungry quit (Remote host closed the connection) 2019-09-03T03:05:45Z ahungry joined #lisp 2019-09-03T03:19:11Z ahungry quit (Ping timeout: 245 seconds) 2019-09-03T03:19:22Z ahungry`` joined #lisp 2019-09-03T03:20:17Z Oladon joined #lisp 2019-09-03T03:21:40Z kajo quit (Ping timeout: 264 seconds) 2019-09-03T03:22:43Z kajo joined #lisp 2019-09-03T03:24:09Z dddddd quit (Remote host closed the connection) 2019-09-03T03:25:49Z EvW quit (Ping timeout: 250 seconds) 2019-09-03T03:27:01Z ahungry`` quit (Ping timeout: 246 seconds) 2019-09-03T03:28:58Z jonatack quit (Ping timeout: 252 seconds) 2019-09-03T03:31:45Z beach: Good morning everyone! 2019-09-03T03:32:10Z 7GHABM53V joined #lisp 2019-09-03T03:33:53Z karlosz joined #lisp 2019-09-03T03:36:04Z poet quit (Ping timeout: 264 seconds) 2019-09-03T03:38:36Z nanoz joined #lisp 2019-09-03T03:40:01Z 7GHABM53V quit (Ping timeout: 245 seconds) 2019-09-03T03:40:06Z gravicappa joined #lisp 2019-09-03T03:59:36Z jeosol quit (Remote host closed the connection) 2019-09-03T04:00:11Z jeosol joined #lisp 2019-09-03T04:12:13Z gabbiel joined #lisp 2019-09-03T04:16:51Z gabbiel quit (Ping timeout: 264 seconds) 2019-09-03T04:25:28Z alexande` quit (Ping timeout: 245 seconds) 2019-09-03T04:32:06Z Oladon quit (Ping timeout: 245 seconds) 2019-09-03T04:32:47Z Folkol joined #lisp 2019-09-03T04:40:15Z beach: As a person reading some code written by a different person, how do you react when you see (DEFVAR ) and when you see (DEFPARAMETER NIL)? 2019-09-03T04:41:55Z no-defun-allowed: Are you referring to those exact forms, or (def{var,parameter} ) against (def{var,parameter} nil)? 2019-09-03T04:42:26Z White_Flame: (defparameter nil) is correct, as it should be defining a parameter value 2019-09-03T04:42:40Z gabbiel joined #lisp 2019-09-03T04:42:50Z White_Flame: defvar is optional, filled in either from config defaults, or established in thread-local bindings 2019-09-03T04:43:01Z White_Flame: *defvar's value is optional... 2019-09-03T04:43:11Z no-defun-allowed: Oh, as in both in the same codebase. I agree pretty much what White_Flame said. 2019-09-03T04:43:42Z White_Flame: in fact, a defvar initial value is often problematic, as it makes it harder to restart the code without cycling the image 2019-09-03T04:43:53Z White_Flame: if it's a stateful thing, which it often is 2019-09-03T04:44:08Z no-defun-allowed: (defvar ) would be used if the variable changes some behaviour which has a default that isn't well expressed as a variable, such as if it was the same as another variable by default. 2019-09-03T04:47:08Z gabbiel quit (Ping timeout: 245 seconds) 2019-09-03T04:47:21Z beach: no-defun-allowed: Those exact forms. 2019-09-03T04:48:10Z gabbiel joined #lisp 2019-09-03T04:48:56Z beach: White_Flame: So, like me, you think that the initial value of the DEFPARAMETER form is going to be used. 2019-09-03T04:48:57Z beach: ? 2019-09-03T04:49:10Z White_Flame: that's what defparameter literally is for 2019-09-03T04:49:22Z White_Flame: to provide a paramater value from the source code into the running program 2019-09-03T04:49:31Z White_Flame: that can be changed at the source code level 2019-09-03T04:49:33Z beach: Thank you. 2019-09-03T04:49:35Z White_Flame: and reloaded to invoke 2019-09-03T04:50:25Z beach: So for a variable that is always going to have a thread local binding for the code to work properly, DEFVAR with no initial value is the right thing. 2019-09-03T04:50:35Z White_Flame: I would consider setf'ing a defparameter to be something wrong 2019-09-03T04:50:53Z beach: sort of... 2019-09-03T04:51:05Z beach: SETF-ing it before it is used would be wrong. 2019-09-03T04:51:12Z White_Flame: beach: DEFVAR also should have no initial value if init code is going to set it up, and things shouldn't run until that init finishes 2019-09-03T04:51:53Z beach: It all sounds very reasonable, and I agree. 2019-09-03T04:53:51Z beach: For what it's worth, (LET () ... ) sends the same signal to me as (DEFVAR ) does, i.e. that the variable is going to be assigned to/bound before being used. 2019-09-03T04:54:08Z beach: The semantics are different, of course. 2019-09-03T04:54:29Z White_Flame: yeah, though I presume that's a rare case in idiomatic lisp 2019-09-03T04:55:14Z beach: Sure. But I have seen it in macro expansions. 2019-09-03T04:55:34Z White_Flame: ah, yeah that would make sense 2019-09-03T04:56:14Z beach: More importantly, I don't want to see (LET () .. (push ... )) 2019-09-03T04:56:15Z beach: 2019-09-03T04:57:28Z White_Flame: right, assumption of teh implicit NIL, as opposed to (LET ((var NIL) ..) ..) 2019-09-03T04:57:57Z beach: Two pieces of information clash here. (LET () says "will be assigned before it is used, and (PUSH ... ) uses it before it is assigned to. 2019-09-03T04:58:08Z beach: Exactly. 2019-09-03T04:59:16Z beach replaces some (DEFPARAMETER NIL) by (DEFVAR ) in some Cleavir code. 2019-09-03T05:04:13Z beach: Using `git blame', I can confirm my suspicion that I myself was the author of that DEFPARAMETER form half a decade or so ago. 2019-09-03T05:04:30Z White_Flame: heh 2019-09-03T05:04:46Z Kevslinger quit (Quit: Connection closed for inactivity) 2019-09-03T05:06:04Z gabbiel quit (Ping timeout: 258 seconds) 2019-09-03T05:06:20Z beach: Maybe it is time for me to write a separate style guide, as opposed to having a chapter in each document I write. 2019-09-03T05:08:14Z beach: Such a style guide would contain, for each recommendation, a discussion of the reason for it, references to other documents like the Common Lisp HyperSpec, the LUV slides, etc., and also references to code bodies respecting or violating the recommendation. 2019-09-03T05:08:46Z beach: ... and alternatives, as in the slot-naming convention. 2019-09-03T05:15:38Z anewuser joined #lisp 2019-09-03T05:16:23Z beach: Another reason for writing such a style guide is that I often repeat the same remarks whenever an inexperienced person comes here and exposes inexperienced-person code for #lisp participants to remark on. I could even teach one of our bots to show links to different sections as a result of some keyword, like : please tell about slot-naming. 2019-09-03T05:17:25Z dale quit (Quit: My computer has gone to sleep) 2019-09-03T05:18:52Z gabbiel joined #lisp 2019-09-03T05:19:54Z vlatkoB joined #lisp 2019-09-03T05:20:17Z flamebeard joined #lisp 2019-09-03T05:22:25Z karayan joined #lisp 2019-09-03T05:23:02Z AndrewYoung joined #lisp 2019-09-03T05:23:56Z varjag joined #lisp 2019-09-03T05:26:47Z karayan quit (Ping timeout: 258 seconds) 2019-09-03T05:28:48Z beach: Actually, I like the idea of a separate style guide. I haven't done it in the past, because some of my recommendations are not universally required, so they seemed to have no place in a separate style guide. But if each recommendation has alternatives, and a discussion related to the reason for its existence, references to people and code, etc., then such recommendations could very well fit into a separate style guide. 2019-09-03T05:32:31Z gabbiel quit (Ping timeout: 245 seconds) 2019-09-03T05:36:41Z Inline quit (Quit: Leaving) 2019-09-03T05:37:59Z mathrick quit (Ping timeout: 250 seconds) 2019-09-03T05:45:51Z varjag quit (Ping timeout: 245 seconds) 2019-09-03T05:48:43Z techquila joined #lisp 2019-09-03T05:49:46Z remexre: https://foundry.remexre.xyz/screenshots/63a335a5e5f40172247de4051c383dd24a7ecf27.png 2019-09-03T05:49:48Z remexre: what's going on here? 2019-09-03T05:50:38Z remexre: I don't get how the fourth box can be NULL KEEP-GOING 2019-09-03T05:50:50Z remexre: or I guess, why the second case of the if isn't being taken 2019-09-03T05:51:08Z mathrick joined #lisp 2019-09-03T05:51:16Z Necro^Byte joined #lisp 2019-09-03T05:52:16Z no-defun-allowed: Can we have a backtrace, and/or a paste of the relevant code? It's a bit hard to tell in the screenshot. 2019-09-03T05:53:23Z remexre: er yeah, sorry, I'm doing all this in slimv 2019-09-03T05:54:08Z remexre: the error that the 3rd arg to UNIFY can't be nil (which the (unless subst (return-from unify-impl)) should handle?) 2019-09-03T05:54:51Z no-defun-allowed: There are calls to UNIFY before your checks. 2019-09-03T05:55:16Z remexre: yeah, but the value doesn't become nil until after the first UNIFY in the second set of calls 2019-09-03T05:55:25Z remexre: https://p.acm.umn.edu/Wz1sKngzsAM= <- paste of the code in the screenie 2019-09-03T05:56:20Z remexre: it's more visible there, the !! NULL KEEP-GOING line comes right before (unless ... (return-from ...)) 2019-09-03T05:56:42Z remexre: which should guard against the second (unify ...) call's 3rd arg being nil 2019-09-03T05:57:35Z remexre: but the @3 line being printed implies the (return-from ...) wasn't taken? 2019-09-03T05:58:49Z karlosz quit (Quit: karlosz) 2019-09-03T05:59:30Z poet joined #lisp 2019-09-03T06:03:34Z scymtym quit (Ping timeout: 258 seconds) 2019-09-03T06:03:55Z JohnMS_WORK joined #lisp 2019-09-03T06:05:19Z ggole joined #lisp 2019-09-03T06:09:45Z manjaroi3 quit (Remote host closed the connection) 2019-09-03T06:10:15Z frgo joined #lisp 2019-09-03T06:22:03Z frgo quit (Remote host closed the connection) 2019-09-03T06:27:14Z vlatkoB quit (Remote host closed the connection) 2019-09-03T06:28:41Z vlatkoB joined #lisp 2019-09-03T06:29:36Z nanozz joined #lisp 2019-09-03T06:32:15Z Krystof joined #lisp 2019-09-03T06:32:31Z nanoz quit (Ping timeout: 246 seconds) 2019-09-03T06:35:24Z frgo joined #lisp 2019-09-03T06:35:30Z gioyik quit (Quit: WeeChat 2.5) 2019-09-03T06:40:08Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-03T06:43:44Z mason- joined #lisp 2019-09-03T06:44:03Z varjag joined #lisp 2019-09-03T06:45:36Z gabbiel joined #lisp 2019-09-03T06:50:35Z nanozz is now known as nanoz 2019-09-03T06:53:58Z ljavorsk joined #lisp 2019-09-03T06:59:09Z gabbiel quit (Ping timeout: 258 seconds) 2019-09-03T06:59:17Z Wojciech_K joined #lisp 2019-09-03T07:01:11Z scymtym joined #lisp 2019-09-03T07:01:50Z poet quit (Read error: Connection reset by peer) 2019-09-03T07:04:52Z schweers joined #lisp 2019-09-03T07:06:20Z makomo joined #lisp 2019-09-03T07:07:45Z igemnace quit (Quit: WeeChat 2.5) 2019-09-03T07:08:48Z ltriant quit (Ping timeout: 245 seconds) 2019-09-03T07:11:57Z igemnace joined #lisp 2019-09-03T07:13:26Z schjetne joined #lisp 2019-09-03T07:13:28Z jprajzne joined #lisp 2019-09-03T07:15:48Z gabbiel joined #lisp 2019-09-03T07:16:38Z _jrjsmrtn quit (Ping timeout: 244 seconds) 2019-09-03T07:17:07Z __jrjsmrtn__ joined #lisp 2019-09-03T07:20:43Z jeosol quit (Remote host closed the connection) 2019-09-03T07:21:23Z gabbiel quit (Ping timeout: 258 seconds) 2019-09-03T07:39:03Z gabbiel joined #lisp 2019-09-03T07:39:26Z gabbiel quit (Client Quit) 2019-09-03T07:40:17Z vyorkin joined #lisp 2019-09-03T07:44:36Z spoeplau joined #lisp 2019-09-03T07:46:43Z schjetne quit (Ping timeout: 246 seconds) 2019-09-03T07:52:14Z awolven_ joined #lisp 2019-09-03T07:54:25Z schjetne joined #lisp 2019-09-03T07:55:43Z awolven quit (Ping timeout: 276 seconds) 2019-09-03T07:59:04Z hhdave joined #lisp 2019-09-03T08:10:19Z SaganMan joined #lisp 2019-09-03T08:10:28Z schjetne quit (Ping timeout: 245 seconds) 2019-09-03T08:12:38Z schjetne joined #lisp 2019-09-03T08:25:24Z igemnace quit (Ping timeout: 258 seconds) 2019-09-03T08:26:33Z igemnace joined #lisp 2019-09-03T08:35:01Z schjetne quit (Ping timeout: 246 seconds) 2019-09-03T08:42:22Z Lord_of_Life quit (Ping timeout: 246 seconds) 2019-09-03T08:42:22Z schjetne joined #lisp 2019-09-03T08:45:03Z Lord_of_Life joined #lisp 2019-09-03T08:49:12Z mindthelion joined #lisp 2019-09-03T08:49:30Z techquila quit (Remote host closed the connection) 2019-09-03T08:57:49Z jonatack joined #lisp 2019-09-03T09:01:33Z anewuser quit (Quit: anewuser) 2019-09-03T09:04:36Z schjetne quit (Ping timeout: 245 seconds) 2019-09-03T09:07:57Z Necro^Byte quit (Read error: Connection reset by peer) 2019-09-03T09:10:23Z schjetne joined #lisp 2019-09-03T09:20:51Z Necro^Byte joined #lisp 2019-09-03T09:24:11Z yoeljacobsen joined #lisp 2019-09-03T09:27:37Z orivej joined #lisp 2019-09-03T09:44:59Z frgo quit (Remote host closed the connection) 2019-09-03T09:55:45Z schweers quit (Remote host closed the connection) 2019-09-03T10:14:46Z samlamamma joined #lisp 2019-09-03T10:20:50Z frgo joined #lisp 2019-09-03T10:30:43Z zaquest quit (Remote host closed the connection) 2019-09-03T10:30:51Z elimik31 quit (Read error: Connection reset by peer) 2019-09-03T10:35:04Z schjetne quit (Ping timeout: 246 seconds) 2019-09-03T10:36:07Z zaquest joined #lisp 2019-09-03T10:36:45Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-03T10:38:02Z Insanity_ joined #lisp 2019-09-03T10:40:35Z schjetne joined #lisp 2019-09-03T11:00:50Z bradfonseca joined #lisp 2019-09-03T11:01:43Z igemnace quit (Ping timeout: 245 seconds) 2019-09-03T11:11:43Z schjetne quit (Ping timeout: 245 seconds) 2019-09-03T11:16:25Z amerlyq joined #lisp 2019-09-03T11:21:36Z JohnMS joined #lisp 2019-09-03T11:24:13Z JohnMS_WORK quit (Ping timeout: 245 seconds) 2019-09-03T11:31:33Z chl joined #lisp 2019-09-03T11:32:09Z chl quit (Client Quit) 2019-09-03T11:39:19Z igemnace joined #lisp 2019-09-03T11:50:28Z samlamamma quit (Ping timeout: 264 seconds) 2019-09-03T11:51:40Z schjetne joined #lisp 2019-09-03T11:57:04Z mindCrime_ joined #lisp 2019-09-03T12:04:59Z cosimone joined #lisp 2019-09-03T12:06:07Z dyelar joined #lisp 2019-09-03T12:06:21Z ebrasca quit (Read error: Connection reset by peer) 2019-09-03T12:06:43Z ebrasca joined #lisp 2019-09-03T12:07:39Z ljavorsk_ joined #lisp 2019-09-03T12:07:54Z ljavorsk_ quit (Client Quit) 2019-09-03T12:08:09Z ljavorsk_ joined #lisp 2019-09-03T12:10:37Z ljavorsk quit (Ping timeout: 244 seconds) 2019-09-03T12:13:26Z lucasb joined #lisp 2019-09-03T12:14:27Z blandest joined #lisp 2019-09-03T12:40:49Z Achylles joined #lisp 2019-09-03T12:42:05Z flamebeard quit 2019-09-03T12:43:09Z Bike joined #lisp 2019-09-03T12:44:25Z vaporatorius joined #lisp 2019-09-03T12:44:25Z vaporatorius quit (Changing host) 2019-09-03T12:44:25Z vaporatorius joined #lisp 2019-09-03T12:45:24Z dddddd joined #lisp 2019-09-03T12:46:04Z Achylles quit (Remote host closed the connection) 2019-09-03T12:50:09Z Ricchi joined #lisp 2019-09-03T12:51:51Z JohnMS_WORK joined #lisp 2019-09-03T12:54:38Z JohnMS quit (Ping timeout: 245 seconds) 2019-09-03T13:03:08Z scymtym_ joined #lisp 2019-09-03T13:06:11Z zigpaw quit (Remote host closed the connection) 2019-09-03T13:06:21Z zigpaw joined #lisp 2019-09-03T13:06:53Z ljavorsk__ joined #lisp 2019-09-03T13:06:55Z scymtym quit (Ping timeout: 250 seconds) 2019-09-03T13:08:52Z papachan joined #lisp 2019-09-03T13:09:31Z ljavorsk_ quit (Ping timeout: 244 seconds) 2019-09-03T13:09:45Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-03T13:13:03Z Ricchi quit (Remote host closed the connection) 2019-09-03T13:13:59Z Ricchi joined #lisp 2019-09-03T13:26:40Z Wojciech_K quit (Remote host closed the connection) 2019-09-03T13:27:43Z warweasle joined #lisp 2019-09-03T13:29:04Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2019-09-03T13:35:31Z ravenous_ joined #lisp 2019-09-03T13:36:58Z mindCrime_ quit (Ping timeout: 276 seconds) 2019-09-03T13:37:22Z Necro^Byte quit (Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/) 2019-09-03T13:38:59Z scymtym_ quit (Ping timeout: 250 seconds) 2019-09-03T13:42:33Z blandest quit (Ping timeout: 245 seconds) 2019-09-03T13:42:43Z Inline joined #lisp 2019-09-03T13:43:02Z learning joined #lisp 2019-09-03T13:44:47Z cosimone quit (Remote host closed the connection) 2019-09-03T13:45:09Z cosimone joined #lisp 2019-09-03T13:45:30Z FreeBirdLjj joined #lisp 2019-09-03T13:46:33Z d4ryus: hi, when I try to run a dumped image (dumped via asdf:make) on another machine it does not work because it tries to load asdf. I also get a strange warning: https://pastebin.com/7pCBuUSg 2019-09-03T13:46:34Z Xach: my first loop conformance bug with sicl loop! 2019-09-03T13:47:10Z EvW joined #lisp 2019-09-03T13:47:31Z d4ryus: The asdf version installed in ~/common-lisp/asdf/ is 3.3.3.3, sbcl version is 1.5.6.29-12fd1b3bc . Anyone a idea or any leads what i did wrong? 2019-09-03T13:49:49Z FreeBirdLjj quit (Ping timeout: 244 seconds) 2019-09-03T13:49:52Z Xach does not know, sorry 2019-09-03T13:50:20Z Xach: mfiano: http://report.quicklisp.org/2019-09-03/failure-report/umbra.html#umbra 2019-09-03T13:50:23Z Inline: d4ryus: look in your query window, i pm'ed you 2019-09-03T13:50:54Z Xach: Inline: why private? I'm curious about it also. 2019-09-03T13:54:23Z beach: Xach: YAY! 2019-09-03T13:54:59Z awolven_ quit (Ping timeout: 244 seconds) 2019-09-03T13:55:18Z beach: Xach: What was the conformance bug you detected? 2019-09-03T13:55:58Z dale_ joined #lisp 2019-09-03T13:56:12Z dale_ is now known as dale 2019-09-03T14:00:13Z Inline: lol Xach 2019-09-03T14:00:32Z Inline: Xach: http://dpaste.com/3V9BKEZ, ok there you have it 2019-09-03T14:04:02Z ravenous_ quit (Ping timeout: 252 seconds) 2019-09-03T14:04:13Z schjetne quit (Ping timeout: 245 seconds) 2019-09-03T14:04:16Z thijso: https://www.cliki.net/cffi-udp contains a link to a 'homepage', but that gives a server not found error. Google doesn't really provide anything either. Has cffi-udp just vanished? I've found a link to a git repo, but that's on the same server as the homepage, so no-go... 2019-09-03T14:04:46Z PuercoPop: Is there a way to 'right align' the output of a format directive? Or something along the lines of insert as many spaces to move to column 70. The ~T directive seems to be almost what I want? 2019-09-03T14:05:04Z pjb: PuercoPop: use ~D instead of ~A 2019-09-03T14:05:40Z pjb: well, it's not conforming… 2019-09-03T14:05:46Z pjb: (for non numbers). 2019-09-03T14:06:42Z pjb: (let ((text "Hello") (width 20)) (format nil "~VA~A" (- width (length text)) "" text)) #| --> " Hello" |# 2019-09-03T14:07:08Z pjb: (let ((text "Hello") (width 20)) (format nil "~V@{ ~}~A" (- width (length text)) text)) #| --> " Hello" |# 2019-09-03T14:10:18Z PuercoPop: pjb: I was hoping to not have to compute the width myself. Although that would do 2019-09-03T14:10:22Z PuercoPop: thanks 2019-09-03T14:13:57Z pjb: PuercoPop: you can write a format 2019-09-03T14:15:11Z pjb: slash function. 2019-09-03T14:15:26Z pjb: (format nil "~20/right-align/" "foo") 2019-09-03T14:16:26Z antepod joined #lisp 2019-09-03T14:17:20Z antepod: Hey, people. I have a question about expressions in argument lists and macros. 2019-09-03T14:17:24Z pjb: (defun right-align (stream object colon at &rest args) (let ((text (format nil "~A" object)) (width (or (first args) 8))) (format stream "~V@{ ~}~A" (- width (length text)) text))) 2019-09-03T14:17:26Z pjb: (format nil "~20/right-align/" "foo")(format nil "~20/right-align/" "foo") #| --> " foo" |# 2019-09-03T14:17:43Z pjb: well, defun cl-user::right-align 2019-09-03T14:18:09Z pjb: or qualify it in ~/my-formatters:right-align/ 2019-09-03T14:18:55Z antepod: Is it possible- be it through macros, functions or otherwise- to have an expression you could put into a &key argument list so that it evaluates to , say, :color 'red for one condition, and a blank space for another? 2019-09-03T14:19:49Z pjb: antepod: nope. 2019-09-03T14:20:03Z pjb: antepod: lisp sources are not text. You cannot put "blank spaces" there. 2019-09-03T14:20:20Z pjb: (apply (function foo) (when one-condition (list :color 'red))) 2019-09-03T14:22:18Z antepod: pjb: 'blank spaces' was a bit informal, I admit. 2019-09-03T14:23:13Z antepod: pjb: So the only way is to wrap the whole expression, function and all? Pity; it would be interesting if there was a way for a language to 'reach back' up the chain, but I'm not sure what it would look like. 2019-09-03T14:23:22Z antepod: Thanks for the help, anyway. 2019-09-03T14:23:39Z pjb: antepod: It depend on when the one-condition is known. 2019-09-03T14:23:47Z pjb: antepod: this solution is when it's known at run-time. 2019-09-03T14:24:08Z pjb: antepod: if you know it at compilation-time, then you can use a macro, or even a reader-macro. 2019-09-03T14:25:04Z whartung joined #lisp 2019-09-03T14:25:18Z Inline: is there a butlet macro ? 2019-09-03T14:25:20Z Inline: lol 2019-09-03T14:25:29Z ljavorsk__ quit (Quit: Leaving) 2019-09-03T14:25:44Z ljavorsk joined #lisp 2019-09-03T14:25:54Z pjb: (defmacro moo () `(foo ,@(when one-condition '(:color 'red)))) or (foo . #+#.(cl:if cl-user:one-condition '(:and) '(:or)) '(:color 'red) '()) 2019-09-03T14:28:07Z pjb: antepod: but the point is to understand that &key arguments are not syntax, but data. 2019-09-03T14:28:26Z cmatei quit (Ping timeout: 258 seconds) 2019-09-03T14:29:20Z pjb: (defun foo (&key (color 'red) (frequency 440)) (list color frequency)) (loop repeat 4 collect (foo (if (zerop (random 2)) :color :frequency) 'something)) #| --> ((something 440) (something 440) (red something) (red something)) |# 2019-09-03T14:31:05Z antepod: Right. I understand the function examples, though some of the macro syntactic sugar's still beyond me. Guess I've got more reading to do 2019-09-03T14:31:35Z pjb: (defmacro moo () (list* 'foo (when one-condition '(:color 'red)))) (moo) 2019-09-03T14:33:07Z antepod: Yep. It's a pity you can't have something like 2019-09-03T14:33:34Z antepod: (defmacro moo () `,@(:color 'red)) (foo (moo)) 2019-09-03T14:33:37Z antepod: though. 2019-09-03T14:34:45Z antepod: But of course, `,@(:color 'red) isn't valid, because you can't 'return' two atoms. 2019-09-03T14:35:19Z antepod: Unless you're using 'values', but that defeats the whole point of nicety. 2019-09-03T14:35:25Z mindCrime_ joined #lisp 2019-09-03T14:36:14Z smazga joined #lisp 2019-09-03T14:38:12Z pjb: antepod: this is what prevents sexp-injections in lisp! 2019-09-03T14:39:46Z pjb: antepod: of course, it's very sad, because since lisp has been correctly designed from the start, (macros since 1964!) you cannot write PhD dissertations anymore on how to avoid code injection in lisp. But don't worry, you can still get a PhD disserting about sql-injections… 2019-09-03T14:40:33Z pjb: So, who wants to write a time travel debugger for lisp? Reactime: A time travel debugger for React 2019-09-03T14:40:42Z pjb: Java has one, React has one… 2019-09-03T14:41:49Z EvW quit (Ping timeout: 250 seconds) 2019-09-03T14:42:52Z ljavorsk quit (Ping timeout: 246 seconds) 2019-09-03T14:43:33Z Achylles joined #lisp 2019-09-03T14:44:40Z antepod: pjb: Huh. I guess I am asking to inject-attack my own code as a feature. Strange. 2019-09-03T14:45:03Z sjl_ joined #lisp 2019-09-03T14:46:13Z cmatei joined #lisp 2019-09-03T14:46:18Z ikki joined #lisp 2019-09-03T14:47:37Z antepod: pjb: though code injection's still perfectly possible in lisp... Just read and evaluate user input, expecting the user to supply a "string". I'm sure some newbie, somewhere, has done it. Hell, I think there's a chapter in practical common lisp whose code would allow for that sort of attack. 2019-09-03T14:47:58Z sauvin quit (Ping timeout: 245 seconds) 2019-09-03T14:48:16Z pjb: antepod: yes, but it's controlled. You need to do it explicitely. 2019-09-03T14:48:53Z edgar-rft: what I find more frightenining is that according to pjb macros can expand into old cruft from 1964 2019-09-03T14:48:55Z pjb: antepod: since there are no parentheses in lisp code, you cannot close a parenthesis, and re-open one to make a new expression like in sql… 2019-09-03T14:48:56Z eagleflo quit (Remote host closed the connection) 2019-09-03T14:49:15Z pjb: edgar-rft: you can run programs from 1960 on CL ! 2019-09-03T14:49:31Z pjb: http://informatimago.com/develop/lisp/com/informatimago/small-cl-pgms/wang.html 2019-09-03T14:52:18Z Achylles quit (Remote host closed the connection) 2019-09-03T14:52:25Z antepod: pjb: Yes, I suppose having two layers of logic (text I/O, AST internals) helps. But isn't the problem with SQL injection that the system's essentially eval'ing whatever you give it? 2019-09-03T14:52:58Z pjb: antepod: no, it comes from the textual concatenation to build expressions. 2019-09-03T14:56:59Z eagleflo joined #lisp 2019-09-03T15:05:31Z jprajzne quit (Quit: Leaving.) 2019-09-03T15:07:56Z schweers joined #lisp 2019-09-03T15:08:43Z seok joined #lisp 2019-09-03T15:08:56Z seok: Hello, anybody recognise this data format? ((36 52192 0 1 8 0 0 0 "system.namespaces") NIL) 2019-09-03T15:09:13Z seok: I was expecting it to be a BSON but I cannot decode it 2019-09-03T15:09:23Z schweers: I have a piece of software which /should/ use only a pretty small amount of memory, yet uses quite a lot. The process gets a huge heap, but shouldn’t use much of it at this stage. Is there a good way to find out where this memory is being used? I’m using sbcl, but it my code should also work on ccl. 2019-09-03T15:12:28Z vaporatorius joined #lisp 2019-09-03T15:12:29Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-03T15:12:51Z mfiano: Xach: (hopefully) pushed a fix just guessing at the error message. 2019-09-03T15:15:47Z pjb: seok: it looks like an oid followed by a string. This could come from decoding some ASN.1 2019-09-03T15:16:27Z pjb: schweers: you can start with (room t). On some implementation it reports the memory used by type of object, which is a good hint. 2019-09-03T15:17:32Z schweers: Yeah, I know about that, and I’m going to try it, but I don’t assume that it’s going to help much. Now that I’ve asked the question, I’m wondering if the profiler might help. 2019-09-03T15:21:20Z rippa joined #lisp 2019-09-03T15:21:27Z schjetne joined #lisp 2019-09-03T15:28:36Z edgar-rft quit (Quit: Leaving) 2019-09-03T15:34:34Z semz: Has there been work on using conditions/restarts to do proper OOM handling? 2019-09-03T15:40:58Z chipolux joined #lisp 2019-09-03T15:44:09Z pjb: semz: there was a blog, but it disappeared: https://groups.google.com/forum/#!search/group$3Acomp.lang.lisp$20out$20of$20memory$20condition/comp.lang.lisp/NL393lKKpBY/2eBe2LPNHq8J 2019-09-03T15:46:10Z pjb: Perhaps it's time to realize that blogs are dumb, and published scientific paper are more perennial? 2019-09-03T15:47:24Z semz: thankfully archive.org has it, http://web.archive.org/web/20091209032608/http://blo.udoidio.info/2008/10/out-of-memory-sad-case.html 2019-09-03T15:49:07Z eagleflo quit (Remote host closed the connection) 2019-09-03T15:49:08Z pjb: Of course, 11 years later, implementations have changed… You'd have to try them all again. 2019-09-03T15:49:09Z EvW joined #lisp 2019-09-03T15:49:13Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.2)) 2019-09-03T15:49:50Z semz: I unfortunately doubt that the situation on Linux has changed, Unix folks seem to like the (batshit insane) overcommitting situation. 2019-09-03T15:50:08Z semz: But thanks pjb, even if it turns out to be a purely academic exercise this pointer is helpful. 2019-09-03T15:52:34Z Kevslinger joined #lisp 2019-09-03T15:52:53Z q9929t joined #lisp 2019-09-03T15:53:11Z nostoi joined #lisp 2019-09-03T15:53:39Z eagleflo joined #lisp 2019-09-03T15:56:24Z orivej quit (Ping timeout: 244 seconds) 2019-09-03T15:58:52Z LiamH joined #lisp 2019-09-03T16:02:10Z q9929t quit (Quit: q9929t) 2019-09-03T16:03:07Z akovalenko joined #lisp 2019-09-03T16:05:15Z learning quit (Remote host closed the connection) 2019-09-03T16:10:18Z orivej joined #lisp 2019-09-03T16:15:07Z nostoi quit (Quit: Verlassend) 2019-09-03T16:17:20Z protokaryote joined #lisp 2019-09-03T16:21:16Z shifty quit (Ping timeout: 245 seconds) 2019-09-03T16:22:01Z flip214 quit (Read error: Connection reset by peer) 2019-09-03T16:27:20Z flip214 joined #lisp 2019-09-03T16:27:43Z varjag joined #lisp 2019-09-03T16:29:26Z dim: well if you want to push the SBCL garbage collection you can play with pgloader; bonus point if you can fix the situation... 2019-09-03T16:30:23Z dim: I continue receiving bug reports from users who are experiencing the heap exhausted, game over message and don't know what to do about it ; where CCL usually is just fine, just slower... well much slower 2019-09-03T16:32:27Z Xach: mfiano: thanks 2019-09-03T16:34:39Z hhdave quit (Quit: hhdave) 2019-09-03T16:37:06Z schjetne quit (Ping timeout: 245 seconds) 2019-09-03T16:44:31Z vyorkin quit (Ping timeout: 258 seconds) 2019-09-03T16:44:35Z sauvin joined #lisp 2019-09-03T16:51:40Z gravicappa quit (Ping timeout: 264 seconds) 2019-09-03T16:52:36Z drot joined #lisp 2019-09-03T16:55:04Z protokaryote quit (Quit: protokaryote) 2019-09-03T16:56:10Z awolven joined #lisp 2019-09-03T16:57:53Z EvW quit (Ping timeout: 250 seconds) 2019-09-03T17:05:35Z learning joined #lisp 2019-09-03T17:10:31Z xkapastel joined #lisp 2019-09-03T17:14:17Z _whitelogger quit (Remote host closed the connection) 2019-09-03T17:16:32Z _whitelogger joined #lisp 2019-09-03T17:17:28Z vaporatorius joined #lisp 2019-09-03T17:17:28Z vaporatorius quit (Changing host) 2019-09-03T17:17:28Z vaporatorius joined #lisp 2019-09-03T17:17:49Z Insanity_ quit (Quit: Connection closed for inactivity) 2019-09-03T17:22:07Z Oladon_work joined #lisp 2019-09-03T17:23:01Z ravenous_ joined #lisp 2019-09-03T17:25:46Z cosimone quit (Quit: Leaving) 2019-09-03T17:26:58Z ggole quit (Quit: Leaving) 2019-09-03T17:27:18Z makomo quit (Quit: WeeChat 2.4) 2019-09-03T17:27:32Z ravenous_ quit (Ping timeout: 252 seconds) 2019-09-03T17:29:19Z antepod quit (Quit: WeeChat 2.3) 2019-09-03T17:30:34Z whartung quit (Remote host closed the connection) 2019-09-03T17:30:54Z whartung joined #lisp 2019-09-03T17:31:54Z aeth: The most surprising thing about that article is how small those (2008) numbers are in just 11 years. "out of a total of 500 MB of RAM" for instance. That's Rasperry Pi 1 (2012) levels, while I'd assume today most people are using 8-64 GB. Even back then, I think 1-4 GB would've been more normal? Iirc, I had 8 GB in 2010. 2019-09-03T17:32:20Z aeth: As for Linux and memory, HN had "The Linux kernel's inability to gracefully handle low memory pressure" posted recently. https://news.ycombinator.com/item?id=20620545 2019-09-03T17:32:24Z vyorkin joined #lisp 2019-09-03T17:33:55Z vyorkin quit (Client Quit) 2019-09-03T17:34:45Z kamog quit (Read error: Connection reset by peer) 2019-09-03T17:42:51Z schjetne joined #lisp 2019-09-03T17:43:07Z spoeplau quit (Ping timeout: 246 seconds) 2019-09-03T17:47:40Z schjetne quit (Ping timeout: 246 seconds) 2019-09-03T17:48:37Z cosimone joined #lisp 2019-09-03T17:50:40Z EvW joined #lisp 2019-09-03T17:53:23Z awolven quit (Ping timeout: 245 seconds) 2019-09-03T17:53:31Z aeth: It's weird that SBCL's limit is only 1 GB by default. Is whatever it's set at preserved when doing s-l-a-d? Because if it was a desktop application (like a web browser), then sb-ext:dynamic-space-size should depend on the user's machine, not the build machine. 2019-09-03T18:00:15Z Kevslinger quit (Quit: Connection closed for inactivity) 2019-09-03T18:02:17Z edgar-rft joined #lisp 2019-09-03T18:05:18Z ravenous_ joined #lisp 2019-09-03T18:11:07Z EvW quit (Ping timeout: 250 seconds) 2019-09-03T18:12:31Z vyorkin` joined #lisp 2019-09-03T18:31:08Z pjb: aeth: 32-bit vs. 64-bit. 2019-09-03T18:32:09Z sauvin quit (Read error: Connection reset by peer) 2019-09-03T18:34:23Z warweasle quit (Quit: rcirc on GNU Emacs 24.4.1) 2019-09-03T18:40:35Z vlatkoB quit (Remote host closed the connection) 2019-09-03T18:41:30Z cosimone quit (Quit: Leaving) 2019-09-03T18:42:06Z EvW joined #lisp 2019-09-03T18:56:15Z gravicappa joined #lisp 2019-09-03T19:00:01Z kajo quit (Ping timeout: 276 seconds) 2019-09-03T19:16:52Z gravicappa quit (Ping timeout: 264 seconds) 2019-09-03T19:23:22Z awolven joined #lisp 2019-09-03T19:25:18Z mindCrime__ joined #lisp 2019-09-03T19:26:03Z kajo joined #lisp 2019-09-03T19:27:15Z cosimone joined #lisp 2019-09-03T19:28:21Z mindCrime_ quit (Ping timeout: 245 seconds) 2019-09-03T19:28:46Z cartwright joined #lisp 2019-09-03T19:29:48Z cantstanya quit (Ping timeout: 260 seconds) 2019-09-03T19:33:04Z nanoz quit (Ping timeout: 264 seconds) 2019-09-03T19:42:24Z Ven`` joined #lisp 2019-09-03T19:46:32Z cosimone quit (Remote host closed the connection) 2019-09-03T19:46:57Z cosimone joined #lisp 2019-09-03T19:47:32Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-03T19:48:11Z davr0s_ joined #lisp 2019-09-03T19:48:11Z davr0s joined #lisp 2019-09-03T19:49:40Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-03T19:55:01Z ikki_ joined #lisp 2019-09-03T19:55:51Z ikki quit (Ping timeout: 245 seconds) 2019-09-03T19:57:10Z learning quit (Ping timeout: 246 seconds) 2019-09-03T19:57:21Z learning joined #lisp 2019-09-03T19:58:34Z ikkitousen joined #lisp 2019-09-03T20:00:01Z bradfonseca quit (Quit: Konversation terminated!) 2019-09-03T20:00:53Z ikki_ quit (Ping timeout: 245 seconds) 2019-09-03T20:05:14Z cosimone quit (Quit: Leaving) 2019-09-03T20:08:45Z amerlyq quit (Quit: amerlyq) 2019-09-03T20:09:13Z iovec joined #lisp 2019-09-03T20:18:23Z elderK quit (Read error: Connection reset by peer) 2019-09-03T20:22:06Z ravenous_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-03T20:24:52Z vhost- is now known as VHOST_ 2019-09-03T20:25:15Z vyorkin`` joined #lisp 2019-09-03T20:25:52Z vyorkin` quit (Ping timeout: 246 seconds) 2019-09-03T20:28:33Z jackhill quit (Quit: leaving) 2019-09-03T20:28:55Z jackhill joined #lisp 2019-09-03T20:31:14Z niceplace quit (Quit: ZNC 1.7.3 - https://znc.in) 2019-09-03T20:32:41Z ikkitousen is now known as ikki 2019-09-03T20:33:03Z niceplace joined #lisp 2019-09-03T20:36:18Z ebrasca quit (Remote host closed the connection) 2019-09-03T20:39:30Z sonologico joined #lisp 2019-09-03T20:42:17Z t58 joined #lisp 2019-09-03T20:42:52Z schjetne joined #lisp 2019-09-03T20:42:58Z Lord_of_Life quit (Ping timeout: 245 seconds) 2019-09-03T20:43:46Z Ven`` joined #lisp 2019-09-03T20:44:35Z t58 quit (Client Quit) 2019-09-03T20:44:54Z t58 joined #lisp 2019-09-03T20:45:26Z Lord_of_Life joined #lisp 2019-09-03T20:51:31Z kanaee joined #lisp 2019-09-03T20:55:35Z ebrasca joined #lisp 2019-09-03T20:55:58Z mindCrime__ quit (Ping timeout: 258 seconds) 2019-09-03T21:03:34Z mindCrime joined #lisp 2019-09-03T21:04:42Z learning quit (Remote host closed the connection) 2019-09-03T21:05:00Z mindthelion quit (Remote host closed the connection) 2019-09-03T21:06:43Z whartung quit (Remote host closed the connection) 2019-09-03T21:07:40Z learning joined #lisp 2019-09-03T21:10:44Z kanaee quit (Read error: Connection reset by peer) 2019-09-03T21:10:52Z EvW quit (Ping timeout: 264 seconds) 2019-09-03T21:10:58Z learning quit (Client Quit) 2019-09-03T21:11:43Z ikki quit (Ping timeout: 246 seconds) 2019-09-03T21:15:51Z notzmv quit (Ping timeout: 245 seconds) 2019-09-03T21:19:53Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-03T21:20:46Z cyraxjoe quit (Quit: I'm out!) 2019-09-03T21:21:54Z femi quit (Ping timeout: 268 seconds) 2019-09-03T21:29:31Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-03T21:31:43Z davr0s_ quit (Ping timeout: 245 seconds) 2019-09-03T21:35:47Z davr0s_ joined #lisp 2019-09-03T21:35:51Z papachan quit (Quit: Leaving) 2019-09-03T21:46:11Z igemnace quit (Quit: WeeChat 2.5) 2019-09-03T21:51:41Z schjetne quit (Ping timeout: 245 seconds) 2019-09-03T22:01:42Z karlosz joined #lisp 2019-09-03T22:02:00Z hhdave joined #lisp 2019-09-03T22:06:08Z glamas quit (Quit: ZNC 1.7.3 - https://znc.in) 2019-09-03T22:06:19Z sjl_ quit (Ping timeout: 246 seconds) 2019-09-03T22:07:17Z glamas joined #lisp 2019-09-03T22:22:37Z mindCrime quit (Ping timeout: 258 seconds) 2019-09-03T22:25:05Z shwouchk joined #lisp 2019-09-03T22:25:24Z ltriant joined #lisp 2019-09-03T22:25:34Z karlosz quit (Quit: karlosz) 2019-09-03T22:27:06Z varjag quit (Ping timeout: 245 seconds) 2019-09-03T22:31:29Z karlosz joined #lisp 2019-09-03T22:33:31Z Oladon_work quit (Ping timeout: 260 seconds) 2019-09-03T22:34:53Z dale quit (Quit: dale) 2019-09-03T22:37:33Z Bike_ joined #lisp 2019-09-03T22:37:53Z Bike quit (Disconnected by services) 2019-09-03T22:38:00Z Bike_ is now known as Bike 2019-09-03T22:40:37Z hhdave quit (Quit: hhdave) 2019-09-03T22:42:09Z hhdave joined #lisp 2019-09-03T22:42:33Z akoana joined #lisp 2019-09-03T22:49:59Z dddddd quit (Remote host closed the connection) 2019-09-03T22:53:43Z makomo joined #lisp 2019-09-03T22:54:04Z PuercoPop quit (Ping timeout: 264 seconds) 2019-09-03T22:54:13Z vyorkin`` quit (Ping timeout: 245 seconds) 2019-09-03T22:56:28Z alexanderbarbosa joined #lisp 2019-09-03T22:57:00Z dale joined #lisp 2019-09-03T22:58:06Z elderK joined #lisp 2019-09-03T22:58:17Z karlosz quit (Quit: karlosz) 2019-09-03T22:58:27Z PuercoPop joined #lisp 2019-09-03T23:03:35Z hhdave quit (Quit: hhdave) 2019-09-03T23:06:40Z EvW joined #lisp 2019-09-03T23:07:28Z femi joined #lisp 2019-09-03T23:11:33Z shifty joined #lisp 2019-09-03T23:12:13Z LiamH quit (Quit: Leaving.) 2019-09-03T23:16:13Z stepnem joined #lisp 2019-09-03T23:16:16Z stepnem_ quit (Ping timeout: 264 seconds) 2019-09-03T23:34:48Z karlosz joined #lisp 2019-09-03T23:42:56Z smazga quit (Quit: leaving) 2019-09-03T23:43:08Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-03T23:52:45Z cyraxjoe joined #lisp 2019-09-04T00:02:16Z cyraxjoe quit (Quit: I'm out!) 2019-09-04T00:05:51Z shka_ quit (Ping timeout: 245 seconds) 2019-09-04T00:07:01Z shka_ joined #lisp 2019-09-04T00:19:22Z jeosol joined #lisp 2019-09-04T00:19:27Z Duns_Scrotus left #lisp 2019-09-04T00:20:09Z akoana quit (Ping timeout: 244 seconds) 2019-09-04T00:24:10Z ikki joined #lisp 2019-09-04T00:25:25Z count3rmeasure joined #lisp 2019-09-04T00:29:21Z akoana joined #lisp 2019-09-04T00:31:18Z mason- quit (Ping timeout: 245 seconds) 2019-09-04T00:41:05Z count3rmeasure quit (Quit: Leaving) 2019-09-04T00:48:41Z lalilulelo joined #lisp 2019-09-04T00:49:20Z AndrewYoung quit (Remote host closed the connection) 2019-09-04T00:54:49Z seok quit (Remote host closed the connection) 2019-09-04T00:57:31Z shifty quit (Ping timeout: 245 seconds) 2019-09-04T00:57:56Z akoana quit (Ping timeout: 245 seconds) 2019-09-04T00:58:31Z akoana joined #lisp 2019-09-04T01:00:10Z akoana left #lisp 2019-09-04T01:06:40Z semz quit (Ping timeout: 264 seconds) 2019-09-04T01:07:07Z EvW quit (Ping timeout: 250 seconds) 2019-09-04T01:07:41Z ikki quit (Ping timeout: 244 seconds) 2019-09-04T01:10:12Z cyraxjoe joined #lisp 2019-09-04T01:13:35Z glamas quit (Quit: ZNC 1.7.3 - https://znc.in) 2019-09-04T01:13:43Z glamas joined #lisp 2019-09-04T01:17:26Z karlosz quit (Quit: karlosz) 2019-09-04T01:19:05Z semz joined #lisp 2019-09-04T01:19:05Z semz quit (Changing host) 2019-09-04T01:19:05Z semz joined #lisp 2019-09-04T01:20:00Z cyraxjoe quit (Quit: I'm out!) 2019-09-04T01:20:47Z ikki joined #lisp 2019-09-04T01:20:52Z cyraxjoe joined #lisp 2019-09-04T01:22:03Z fiddlerwoaroof: hi 2019-09-04T01:24:31Z cyraxjoe quit (Client Quit) 2019-09-04T01:25:15Z khisanth_ quit (Ping timeout: 244 seconds) 2019-09-04T01:25:26Z cyraxjoe joined #lisp 2019-09-04T01:25:26Z cyraxjoe quit (Client Quit) 2019-09-04T01:29:11Z makomo quit (Ping timeout: 245 seconds) 2019-09-04T01:31:35Z ikki quit (Ping timeout: 258 seconds) 2019-09-04T01:31:52Z alexanderbarbosa quit (Ping timeout: 264 seconds) 2019-09-04T01:36:28Z t58 quit (Quit: Night) 2019-09-04T01:37:51Z cyraxjoe joined #lisp 2019-09-04T01:38:17Z khisanth_ joined #lisp 2019-09-04T01:38:18Z karlosz joined #lisp 2019-09-04T01:39:23Z cyraxjoe quit (Client Quit) 2019-09-04T01:40:22Z cyraxjoe joined #lisp 2019-09-04T01:46:36Z cyraxjoe quit (Quit: I'm out!) 2019-09-04T01:57:00Z cyraxjoe joined #lisp 2019-09-04T01:58:51Z shifty joined #lisp 2019-09-04T02:11:08Z pjb quit (Ping timeout: 252 seconds) 2019-09-04T02:15:58Z notzmv joined #lisp 2019-09-04T02:31:50Z pjb joined #lisp 2019-09-04T02:38:26Z karlosz quit (Quit: karlosz) 2019-09-04T02:42:59Z techquila joined #lisp 2019-09-04T02:58:41Z Bike quit (Quit: Lost terminal) 2019-09-04T03:06:17Z kajo quit (Ping timeout: 250 seconds) 2019-09-04T03:18:32Z __sos__ joined #lisp 2019-09-04T03:32:19Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-04T03:32:52Z vaporatorius joined #lisp 2019-09-04T03:32:57Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-04T03:39:01Z karlosz joined #lisp 2019-09-04T03:39:31Z vaporatorius joined #lisp 2019-09-04T03:39:31Z vaporatorius quit (Changing host) 2019-09-04T03:39:31Z vaporatorius joined #lisp 2019-09-04T03:40:05Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-04T03:41:21Z vaporatorius joined #lisp 2019-09-04T03:42:33Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-04T03:43:01Z stylewarning: Does anybody have any fast & efficient (TM) libraries for memory mapped files? Or do people do it the good ol fashioned way 2019-09-04T03:43:45Z stylewarning: s/have/recommend or know to exist/ 2019-09-04T03:46:03Z no-defun-allowed: stylewarning: https://shinmera.github.io/mmap/ 2019-09-04T03:48:16Z iovec quit (Quit: Connection closed for inactivity) 2019-09-04T03:48:23Z stylewarning: I need to learn more about mmap, and how to read truly huge files that don't fit in RAM 2019-09-04T03:51:27Z Ricchi quit (Remote host closed the connection) 2019-09-04T04:01:59Z karlosz quit (Quit: karlosz) 2019-09-04T04:08:25Z karlosz joined #lisp 2019-09-04T04:20:24Z shifty quit (Ping timeout: 244 seconds) 2019-09-04T04:21:14Z shifty joined #lisp 2019-09-04T04:23:30Z yoeljacobsen quit (Ping timeout: 244 seconds) 2019-09-04T04:31:55Z mulk quit (Quit: ZNC - http://znc.in) 2019-09-04T04:36:45Z gravicappa joined #lisp 2019-09-04T04:40:35Z lalilulelo quit (Ping timeout: 258 seconds) 2019-09-04T04:43:07Z karlosz quit (Quit: karlosz) 2019-09-04T04:45:36Z Mr-0dday_ joined #lisp 2019-09-04T04:46:37Z davr0s_ quit (Remote host closed the connection) 2019-09-04T04:46:37Z davr0s quit (Remote host closed the connection) 2019-09-04T04:48:28Z hasebastian joined #lisp 2019-09-04T04:49:20Z Mr-0dday_ quit (Read error: Connection reset by peer) 2019-09-04T04:50:43Z fiddlerwoaroof: stylewarning: I don't know how "fast and efficient" they are, but manardb and (I think) the viace graph database both use mmapped files, so perhaps they'd be worth looking at? 2019-09-04T04:51:22Z stylewarning: I can check them out 2019-09-04T04:52:44Z fiddlerwoaroof: One quirk I've found is that a lot of libraries use mremap, which often isn't available on non-Linux unices 2019-09-04T04:53:40Z schjetne joined #lisp 2019-09-04T04:59:54Z mulk joined #lisp 2019-09-04T05:01:18Z orivej quit (Ping timeout: 245 seconds) 2019-09-04T05:03:59Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-04T05:04:33Z beach: Good morning everyone! 2019-09-04T05:05:27Z dale quit (Quit: My computer has gone to sleep) 2019-09-04T05:06:18Z schjetne quit (Ping timeout: 245 seconds) 2019-09-04T05:12:04Z __sos__ quit (Ping timeout: 244 seconds) 2019-09-04T05:13:05Z hasebastian quit (Quit: Konversation terminated!) 2019-09-04T05:13:56Z shifty quit (Ping timeout: 258 seconds) 2019-09-04T05:14:35Z shifty joined #lisp 2019-09-04T05:22:07Z Inline quit (Quit: Leaving) 2019-09-04T05:27:54Z varjag joined #lisp 2019-09-04T05:46:04Z vaporatorius joined #lisp 2019-09-04T05:46:06Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-04T05:47:05Z vaporatorius joined #lisp 2019-09-04T05:47:28Z varjag quit (Ping timeout: 264 seconds) 2019-09-04T05:47:43Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-04T05:48:14Z vaporatorius joined #lisp 2019-09-04T05:48:14Z vaporatorius quit (Changing host) 2019-09-04T05:48:14Z vaporatorius joined #lisp 2019-09-04T06:05:28Z lanu joined #lisp 2019-09-04T06:06:23Z sauvin joined #lisp 2019-09-04T06:10:21Z schjetne joined #lisp 2019-09-04T06:13:15Z JohnMS_WORK joined #lisp 2019-09-04T06:19:09Z fiddlerwoaroof: morning beach 2019-09-04T06:21:07Z vlatkoB joined #lisp 2019-09-04T06:24:51Z shifty quit (Ping timeout: 258 seconds) 2019-09-04T06:25:41Z shifty joined #lisp 2019-09-04T06:27:30Z flamebeard joined #lisp 2019-09-04T06:27:48Z sonologico quit (Remote host closed the connection) 2019-09-04T06:34:18Z afterK joined #lisp 2019-09-04T06:35:47Z nostoi joined #lisp 2019-09-04T06:36:43Z varjag joined #lisp 2019-09-04T06:39:23Z schjetne quit (Ping timeout: 244 seconds) 2019-09-04T06:43:50Z EvW1 joined #lisp 2019-09-04T06:44:13Z shifty quit (Ping timeout: 245 seconds) 2019-09-04T06:47:47Z elderK quit (Quit: Connection closed for inactivity) 2019-09-04T06:49:38Z ljavorsk joined #lisp 2019-09-04T06:51:32Z jprajzne joined #lisp 2019-09-04T06:52:29Z nanoz joined #lisp 2019-09-04T06:57:06Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-04T06:58:03Z nostoi quit (Read error: Connection reset by peer) 2019-09-04T06:58:47Z gko joined #lisp 2019-09-04T06:59:53Z nostoi joined #lisp 2019-09-04T07:03:58Z manualcrank joined #lisp 2019-09-04T07:04:38Z ltriant quit (Quit: leaving) 2019-09-04T07:08:20Z devon joined #lisp 2019-09-04T07:08:37Z refpga joined #lisp 2019-09-04T07:09:03Z devon: Is there a nicer way to destructure a sequence other than coercing it to a list? 2019-09-04T07:10:07Z scymtym joined #lisp 2019-09-04T07:14:15Z devon: like (destructuring-bind (a b c ...) (coerce (nth-value 1 (cl-ppcre:scan-to-strings # #)) 'list) ...) 2019-09-04T07:17:37Z schjetne joined #lisp 2019-09-04T07:18:45Z test1600 joined #lisp 2019-09-04T07:21:31Z EvW1 quit (Ping timeout: 250 seconds) 2019-09-04T07:26:34Z tourjin joined #lisp 2019-09-04T07:28:47Z tourjin: in interpreter i starts with * sign prompt but it change to some debug level or something prompting 0[4] . how can I go back to my original level with * sign prompt? 2019-09-04T07:29:19Z beach: What implementation is this? 2019-09-04T07:29:29Z tourjin: sbcl 2019-09-04T07:29:47Z beach: You should have a list of restarts. 2019-09-04T07:29:57Z beach: One restart is probably "return to top level" 2019-09-04T07:30:15Z beach: But you should not be using SBCL from the command line like that. 2019-09-04T07:30:25Z beach: It is best to use it through SLIME. 2019-09-04T07:30:50Z beach: And, it is not an interpreter, by the way. SBCL compiles forms on the fly. 2019-09-04T07:31:18Z tourjin: i don't have it for now. anyway I i can't go back "return to top level". 2019-09-04T07:32:19Z tourjin: message says restarts (invokable by number or by possibly-abbreviated name): 2019-09-04T07:32:42Z beach: So invoke it by number. 2019-09-04T07:32:51Z tourjin: i can't find how I imply on it. 2019-09-04T07:33:21Z beach: Do you have a restart ABORT? 2019-09-04T07:33:49Z tourjin: 0: [ABORT] Reduce debugger level (to debug level 8). 2019-09-04T07:33:59Z tourjin: 8: Exit debugger, returning to top level. 2019-09-04T07:34:07Z beach: There you go. 2019-09-04T07:34:15Z beach: Type the number of that restart. 2019-09-04T07:34:33Z tourjin: oh... just number. 2019-09-04T07:34:46Z tourjin: is that it? :-) 2019-09-04T07:34:56Z tourjin: thanks 2019-09-04T07:35:26Z beach: Sure. 2019-09-04T07:36:58Z tourjin: slime is for emacs . i think I should try vlime. 2019-09-04T07:37:17Z beach: I think you should use Emacs. 2019-09-04T07:38:40Z tourjin: everyone says that but I've never used it. 2019-09-04T07:38:54Z beach: I am sorry to hear that. 2019-09-04T07:40:39Z tourjin: i've only used vim. with not so good laptop in limited resorces. so i don't have in mind trying emacs yet. 2019-09-04T07:41:35Z no-defun-allowed: Depends on your definition of "limited resources", but Emacs runs about the same on my dinky 2006 laptop as it does my desktop. 2019-09-04T07:42:30Z no-defun-allowed: Though, I've heard SLIMV is comparable to SLIME, the only difference being the former runs on an inferior editor. 2019-09-04T07:42:58Z tourjin: generally it's said emacs is a lot heavier compared to vim. is'nt it? 2019-09-04T07:43:25Z red-dot joined #lisp 2019-09-04T07:43:38Z ck_: you can't expect to use them in the same way, but on any regular machine this side of the turn of the century, it shouldn't really matter 2019-09-04T07:45:03Z beach: tourjin: That sounds like a pitiful excuse to avoid learning a better tool. 2019-09-04T07:45:42Z Cymew quit (Quit: Konversation terminated!) 2019-09-04T07:49:21Z tourjin: beach yes. u can say that. honestly i'm thinking i would like to go with vim . it was first and last editor i've used since i met linux. 2019-09-04T07:50:51Z nanoz quit (Ping timeout: 245 seconds) 2019-09-04T07:50:55Z schweers: tourjin: back when I tried Emacs (coming from vim) I was surprised to see that Emacs could scroll syntax highlighted LaTeX code smoothly, while (g)vim could not. 2019-09-04T07:51:07Z schweers: Also, if you’re coming from vim, you might like spacemacs. 2019-09-04T07:52:10Z nanoz joined #lisp 2019-09-04T07:52:52Z gravicappa quit (Ping timeout: 264 seconds) 2019-09-04T07:53:48Z gravicappa joined #lisp 2019-09-04T07:56:03Z aeth: Emacs is heavier when it does more, i.e. run graphically instead of the terminal... and heavily customized 2019-09-04T08:02:57Z tourjin: thanks for every suggestions u gave me guys. 2019-09-04T08:07:59Z beach: tourjin: May I suggest you turn on the equivalent in vim of Emacs abbrev-mode, so that you can define "u" to expand to "you" automatically. 2019-09-04T08:09:44Z beach: Though perhaps you are not using the IRC mode of vim, so you can't turn on abbrevs. 2019-09-04T08:10:29Z tourjin: i'm using windows10 wsl 2019-09-04T08:10:50Z test1600_ joined #lisp 2019-09-04T08:11:26Z schweers: There is a windows port of both gvim and emacs, I suggest you use those, they work fairly decently. 2019-09-04T08:14:06Z test1600__ joined #lisp 2019-09-04T08:14:10Z tourjin: u suggest me try vim and emacs compare? interesting. but i'm at library now. i don't have good wifi connections. i don't have them installed for now. i'll give it a try later. thanks. 2019-09-04T08:14:11Z test1600 quit (Ping timeout: 245 seconds) 2019-09-04T08:14:12Z fiddlerwoaroof: tourjin: when I started using Common Lisp, I used slimv exclusively, and it works pretty well 2019-09-04T08:15:08Z fiddlerwoaroof: I eventually switched to emacs when I realized I could still have my nice vim-style modal editing, but slimv is perfectly fine if you don't want to learn a new language and a new editor at the same time. 2019-09-04T08:15:21Z tourjin: fiddlerwoaroof slimv and vlime which is better for begginers? 2019-09-04T08:15:32Z fiddlerwoaroof: I've never used vlime 2019-09-04T08:16:02Z tourjin: ok ur recommadation is slimv. thanks. 2019-09-04T08:17:06Z test1600_ quit (Ping timeout: 245 seconds) 2019-09-04T08:24:39Z vyorkin joined #lisp 2019-09-04T08:25:31Z HDurer joined #lisp 2019-09-04T08:29:38Z tourjin quit (Ping timeout: 245 seconds) 2019-09-04T08:31:53Z cosimone joined #lisp 2019-09-04T08:32:53Z devon quit (Ping timeout: 258 seconds) 2019-09-04T08:36:09Z ljavorsk quit (Ping timeout: 244 seconds) 2019-09-04T08:44:56Z Lord_of_Life quit (Ping timeout: 244 seconds) 2019-09-04T08:46:08Z Lord_of_Life joined #lisp 2019-09-04T08:46:41Z Cymew joined #lisp 2019-09-04T08:46:55Z nostoi quit (Quit: Verlassend.) 2019-09-04T08:50:07Z thijso: How do I go about debugging the error message 'Component "x" not found.'? I _think_ it's an ASDF error, but I'm stumped why I get it. The scenario is compiling stuff under EQL-Android. The thing is, I've tried bordeax-threads and sha1 and both compile without problems, but usocket for some reason ends up with that error message. They're all installed via quicklisp, so I'm not seeing why usocket fails, while 2019-09-04T08:50:13Z thijso: the others don't. Any debugging strings I can try to dump in the process to see where it goes wrong? 2019-09-04T08:50:54Z thijso: I think it's ASDF btw, because if I turn on (setf *break-on-signals* 'error) I get the message: Filesystem error with pathname "/opt/android-64/ecl/ecl-android-host/lib/ecl-16.1.3/.cl-source-registry.cache" 2019-09-04T08:51:03Z thijso: I think that's ASDF trying to find it... 2019-09-04T08:51:33Z thijso: And indeed, that file is not there. 2019-09-04T08:51:47Z thijso: If this is a question for a different channel, I'm sorry, btw. 2019-09-04T08:53:05Z thijso: That cache file isn't there, but when I CONTINUE I get a different location, etcetc. It's asdf going through all it's locations I think? 2019-09-04T08:54:27Z shifty joined #lisp 2019-09-04T09:00:51Z ljavorsk joined #lisp 2019-09-04T09:01:06Z orivej joined #lisp 2019-09-04T09:02:17Z vaporatorius joined #lisp 2019-09-04T09:02:17Z vaporatorius quit (Changing host) 2019-09-04T09:02:17Z vaporatorius joined #lisp 2019-09-04T09:04:02Z refpga quit (Remote host closed the connection) 2019-09-04T09:04:23Z makomo joined #lisp 2019-09-04T09:04:33Z refpga joined #lisp 2019-09-04T09:15:11Z zaquest quit (Remote host closed the connection) 2019-09-04T09:15:41Z q-u-a-n23 joined #lisp 2019-09-04T09:16:32Z zaquest joined #lisp 2019-09-04T09:18:00Z q-u-a-n2 quit (Ping timeout: 244 seconds) 2019-09-04T09:18:10Z kajo joined #lisp 2019-09-04T09:33:09Z cosimone quit (Quit: Leaving) 2019-09-04T09:54:36Z shwouchk quit (Quit: Connection closed for inactivity) 2019-09-04T10:01:40Z lanu quit (Quit: lanu) 2019-09-04T10:03:09Z orivej_ joined #lisp 2019-09-04T10:04:30Z orivej quit (Ping timeout: 244 seconds) 2019-09-04T10:04:36Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-04T10:08:01Z vaporatorius joined #lisp 2019-09-04T10:08:01Z vaporatorius quit (Changing host) 2019-09-04T10:08:01Z vaporatorius joined #lisp 2019-09-04T10:14:13Z jeosol quit (Remote host closed the connection) 2019-09-04T10:19:56Z orivej joined #lisp 2019-09-04T10:21:55Z orivej__ joined #lisp 2019-09-04T10:23:46Z orivej_ quit (Ping timeout: 246 seconds) 2019-09-04T10:25:41Z orivej quit (Ping timeout: 244 seconds) 2019-09-04T10:26:20Z orivej__ quit (Ping timeout: 258 seconds) 2019-09-04T10:26:31Z orivej joined #lisp 2019-09-04T10:26:47Z thijso: Hhmmm... It's looking like the line '(defparameter *version* #.(asdf:component-version (asdf:find-system :usocket)) .. ' is causing the problems. This is in usocket.lisp itself. Normally that would not be a problem I assume, but in this case it's messing up the compilation. 2019-09-04T10:27:21Z thijso: because at that point the component 'usocket' is not yet defined? 2019-09-04T10:29:11Z ljavorsk quit (Ping timeout: 245 seconds) 2019-09-04T10:36:22Z afterK quit (Quit: WeeChat 1.9) 2019-09-04T10:50:00Z Insanity_ joined #lisp 2019-09-04T10:56:11Z ljavorsk joined #lisp 2019-09-04T10:58:24Z cosimone joined #lisp 2019-09-04T10:58:49Z amerlyq joined #lisp 2019-09-04T10:58:59Z cosimone quit (Remote host closed the connection) 2019-09-04T11:03:44Z cosimone joined #lisp 2019-09-04T11:05:03Z vaporatorius quit (Ping timeout: 245 seconds) 2019-09-04T11:08:44Z cosimone quit (Quit: Leaving) 2019-09-04T11:10:56Z Cymew: I have no idea what EQL-Android is, but what did you type, and what was the error message you got? 2019-09-04T11:14:24Z thijso: EQL5-Android: https://gitlab.com/eql/EQL5-Android , it's a port of EQL5 to the Android platform. EQL5 is Embedded Qt Lisp (Qt5 binding embedded in ECL, embeddable in Qt) 2019-09-04T11:14:48Z papachan joined #lisp 2019-09-04T11:15:36Z thijso: Cymew: I followed the build instructions in an EQL5-Android example, adapted to my own stuff, where I want to use usocket. Anyway, looks like the issue is with asdf searching for component usocket within usocket itself, and in the build system, that doesn't work. 2019-09-04T11:16:25Z thijso: I've managed to work around it by changing the usocket code (1 line). Now I run into other issues, namely, it looks like sb-bsd-sockets isn't defined in the ECL version of EQL5-Android (as I know it's there in regular ECL). 2019-09-04T11:18:43Z beach` joined #lisp 2019-09-04T11:19:04Z cosimone joined #lisp 2019-09-04T11:20:11Z beach quit (Disconnected by services) 2019-09-04T11:20:16Z beach` is now known as beach 2019-09-04T11:20:58Z hasebastian joined #lisp 2019-09-04T11:21:56Z cosimone quit (Client Quit) 2019-09-04T11:23:39Z vaporatorius joined #lisp 2019-09-04T11:23:59Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-04T11:23:59Z lalilulelo joined #lisp 2019-09-04T11:24:45Z test1600_ joined #lisp 2019-09-04T11:25:59Z amerlyq quit (Quit: amerlyq) 2019-09-04T11:27:56Z test1600__ quit (Ping timeout: 245 seconds) 2019-09-04T11:29:11Z nanoz quit (Ping timeout: 245 seconds) 2019-09-04T11:29:23Z Cymew: sb-bsd-sockets is, AFAIK, sbcl specific thing. 2019-09-04T11:30:40Z kajo quit (Ping timeout: 252 seconds) 2019-09-04T11:31:14Z Cymew: I see no mention of asdf on the EQL-Android gitlb README. 2019-09-04T11:31:32Z Cymew: Are you making it harder on yourself by freestyling? 2019-09-04T11:32:09Z makomo quit (Quit: WeeChat 2.4) 2019-09-04T11:33:06Z Cymew: BTW that sentence about embedding is someone having way to much fun with wordplay, actually obfuscating the matter at hand. 2019-09-04T11:42:31Z kajo joined #lisp 2019-09-04T11:44:17Z hasebastian quit (Quit: Konversation terminated!) 2019-09-04T11:44:56Z hasebastian joined #lisp 2019-09-04T11:45:03Z kajo quit (Client Quit) 2019-09-04T11:50:03Z ljavorsk quit (Ping timeout: 245 seconds) 2019-09-04T11:50:08Z ljavorsk_ joined #lisp 2019-09-04T11:53:42Z hasebastian quit (Quit: Konversation terminated!) 2019-09-04T11:55:04Z thijso: Cymew: yeah, sb-bsd-sockets is sbcl originally, but it's included in ECL. Nearly a verbatim copy of the sbcl code. It's socket.lisp file says: (require 'sb-bsd-sockets) and that's it. The implementation is in sb-bsd-sockets.lisp in the same directory. 2019-09-04T11:55:09Z mindCrime joined #lisp 2019-09-04T11:56:57Z thijso: Cymew: what do you mean with 'freestyling'? I'm trying to adapt one of the examples in EQL5-android (the 'my' one, which I succesfully built and tested on my android phone) so that I can use it for my own app. But I want to use a couple of other quicklisp libs, including usocket. That's giving me problems. 2019-09-04T11:58:52Z awolven quit (Ping timeout: 264 seconds) 2019-09-04T11:59:17Z thijso: I'm thinking I'm running into the limitations regarding this comment in the README: The following will first collect (recursively) all file names and save them in 2019-09-04T11:59:22Z thijso: `files.txt`. For details of this **hack** see `make-ASDF.lisp`. 2019-09-04T12:00:01Z ljavorsk_ quit (Ping timeout: 245 seconds) 2019-09-04T12:02:35Z JohnMS_WORK quit (Read error: Connection reset by peer) 2019-09-04T12:02:52Z JohnMS_WORK joined #lisp 2019-09-04T12:04:08Z ggole joined #lisp 2019-09-04T12:05:49Z refpga quit (Remote host closed the connection) 2019-09-04T12:05:57Z dmiles quit (Read error: Connection reset by peer) 2019-09-04T12:07:21Z logicmoo joined #lisp 2019-09-04T12:08:41Z thijso: Right. It looks like it's as simple as a (require :sb-bsd-sockets) in the make.lisp file used to build the system... 2019-09-04T12:08:56Z logicmoo quit (Read error: No route to host) 2019-09-04T12:09:12Z thijso: As, yes, the sb-bsd-sockets.fas file is there, it's just not loaded by default during the build phase. Something like that, anyway. 2019-09-04T12:10:59Z dmiles joined #lisp 2019-09-04T12:12:07Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2019-09-04T12:15:16Z nanoz joined #lisp 2019-09-04T12:17:06Z orivej quit (Ping timeout: 245 seconds) 2019-09-04T12:18:46Z amerlyq joined #lisp 2019-09-04T12:19:47Z orivej joined #lisp 2019-09-04T12:25:54Z cosimone joined #lisp 2019-09-04T12:29:44Z awolven joined #lisp 2019-09-04T12:32:35Z Baggers joined #lisp 2019-09-04T12:33:08Z Baggers: does adjust-array copy the contents in the case where it returns a new array? 2019-09-04T12:38:35Z Bike joined #lisp 2019-09-04T12:41:38Z shka_: Baggers: yes 2019-09-04T12:41:52Z shka_: it is specified in the hyperspec 2019-09-04T12:43:09Z ikki joined #lisp 2019-09-04T12:44:55Z cosimone quit (Quit: Leaving) 2019-09-04T12:45:05Z LiamH joined #lisp 2019-09-04T12:45:53Z vms14 joined #lisp 2019-09-04T12:46:25Z Baggers: shka_: thank you. I was reading that page but clearly not very well. 2019-09-04T12:46:45Z test1600__ joined #lisp 2019-09-04T12:48:27Z shka_: If initial-contents is supplied, it is treated as for make-array. In this case none of the original contents of array appears in the resulting array. 2019-09-04T12:48:32Z shka_: for reference 2019-09-04T12:49:11Z test1600_ quit (Ping timeout: 245 seconds) 2019-09-04T12:49:49Z Baggers: shka_: thanks again. Yeah it was so explicit about that and displacing that I started doubting the behaviour in the :initial-contents nil case 2019-09-04T12:50:32Z shka_: yeah, i was scratching my head back few months ago 2019-09-04T12:50:37Z shka_: that's why i still remember this 2019-09-04T12:50:42Z lucasb joined #lisp 2019-09-04T12:52:52Z Baggers: hehe nice 2019-09-04T12:54:02Z Cymew: thijso: So sb-bsd-sockets is incorporated in ecl, that I did not know. 2019-09-04T12:54:24Z test1600 joined #lisp 2019-09-04T12:55:21Z Cymew: thijso: 'freestyling' as in building eql-android your own way, but I might have misunderstood what it is you're doing, as I've never used eql-android. 2019-09-04T12:55:52Z ebzzry quit (Quit: WeeChat 2.3) 2019-09-04T12:56:43Z test1600__ quit (Ping timeout: 245 seconds) 2019-09-04T12:57:16Z vms14: now you're talking about sockets, does usocket provide local sockets? 2019-09-04T12:57:50Z vms14: sb-bsd-sockets does, with sb-bsd-sockets:local-socket 2019-09-04T12:58:08Z vms14: but I saw nothing at the documentation of usocket for local sockets 2019-09-04T12:58:19Z Shinmera: sb-bsd-sockets is in sbcl, ecl, clasp, and mkcl. 2019-09-04T12:59:36Z test1600 quit (Ping timeout: 245 seconds) 2019-09-04T13:16:39Z Cymew: Look at that. 2019-09-04T13:16:59Z Cymew: I only use sbcl and ccl these days, so I had missed that. 2019-09-04T13:17:54Z cosimone joined #lisp 2019-09-04T13:24:51Z cosimone quit (Quit: Leaving) 2019-09-04T13:27:43Z makomo joined #lisp 2019-09-04T13:28:01Z amerlyq quit (Quit: amerlyq) 2019-09-04T13:28:22Z t58 joined #lisp 2019-09-04T13:28:25Z cosimone joined #lisp 2019-09-04T13:28:39Z cosimone quit (Client Quit) 2019-09-04T13:29:54Z vaporatorius joined #lisp 2019-09-04T13:29:54Z vaporatorius quit (Changing host) 2019-09-04T13:29:54Z vaporatorius joined #lisp 2019-09-04T13:30:19Z cosimone joined #lisp 2019-09-04T13:30:22Z cosimone quit (Remote host closed the connection) 2019-09-04T13:42:18Z vms14 quit (Remote host closed the connection) 2019-09-04T13:56:52Z cosimone joined #lisp 2019-09-04T13:59:09Z Baggers: shka_: I got a message elsewhere that adjust-array doesnt guarentee element copying in the cases where a new array is returned. I need to look back into this but apparently (alexandria:copy-array array :adjustable t) should help 2019-09-04T13:59:50Z shka_: oh 2019-09-04T14:00:22Z thijso: vms14: usocket doesn't, I think 2019-09-04T14:01:16Z shka_: If only new-dimensions and an initial-element argument are supplied, those elements of array that are still in bounds appear in the resulting array. 2019-09-04T14:01:26Z shka_: Baggers: this depends i guess 2019-09-04T14:01:35Z shka_: but above seems to be clear to me 2019-09-04T14:02:28Z Baggers: yeah same. I'm back to being uncertain though :D 2019-09-04T14:03:25Z shka_: that's because there is a lot of option combinations like displaced arrays 2019-09-04T14:03:34Z shka_: but base case works 2019-09-04T14:03:52Z Baggers: cool 2019-09-04T14:03:53Z shka_: what if :adjustable t though… 2019-09-04T14:05:17Z amerlyq joined #lisp 2019-09-04T14:06:43Z shifty quit (Ping timeout: 245 seconds) 2019-09-04T14:13:30Z cosimone quit (Remote host closed the connection) 2019-09-04T14:13:53Z cosimone joined #lisp 2019-09-04T14:14:34Z Baggers: shka_: in copy-array? 2019-09-04T14:14:50Z shka_: in adjust-array 2019-09-04T14:15:47Z Baggers: adjust-array doesnt have an arg named adjustable. The source array would have to have that set though 2019-09-04T14:16:27Z dale_ joined #lisp 2019-09-04T14:16:47Z dale_ is now known as dale 2019-09-04T14:17:42Z igemnace joined #lisp 2019-09-04T14:21:01Z shka_: oh, ok 2019-09-04T14:21:32Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.2)) 2019-09-04T14:22:50Z paul0 quit (Ping timeout: 244 seconds) 2019-09-04T14:23:28Z FreeBirdLjj joined #lisp 2019-09-04T14:23:52Z igemnace quit (Ping timeout: 246 seconds) 2019-09-04T14:26:12Z dddddd joined #lisp 2019-09-04T14:29:13Z pjb: If adjust-array is applied to an array that is actually adjustable, the array returned is identical to array. If the array returned by adjust-array is distinct from array, then the argument array is unchanged. 2019-09-04T14:29:21Z pjb: Baggers: not necessarily. 2019-09-04T14:30:20Z pjb: note that it is possible that (not (adjustable-array-p (make-array size :adjustable t))) 2019-09-04T14:30:32Z pjb: or that (adjustable-array-p (make-array size :adjustable nil)) 2019-09-04T14:30:37Z pjb: It's implementation dependent. 2019-09-04T14:30:59Z pjb: If adjustable is non-nil, the array is expressly adjustable (and so actually adjustable); otherwise, the array is not expressly adjustable (and it is implementation-dependent whether the array is actually adjustable). 2019-09-04T14:31:29Z awolven quit (Read error: Connection reset by peer) 2019-09-04T14:31:34Z pjb: Well, it seems I'm wrong. 2019-09-04T14:31:46Z pjb: (adjustable-array-p (make-array size :adjustable t)) must be true. 2019-09-04T14:32:02Z pjb: It may be an inconsistency in the clhs… 2019-09-04T14:32:02Z awolven joined #lisp 2019-09-04T14:32:19Z Bike: what's the inconsistency? 2019-09-04T14:33:22Z pjb: Ah, no. It was in my mind. I read a <=> when it's a => in make-array. :adjustable t => expressly adjustable => actually adjustable. 2019-09-04T14:33:46Z Bike: arrays are pretty confusing. 2019-09-04T14:33:53Z pjb: but :adjustable nil & actually adjustable is possible. 2019-09-04T14:34:33Z pjb: So an implementation can have only adjustable arrays, but cannot have only not-adjustable arrays. 2019-09-04T14:36:15Z paul0 joined #lisp 2019-09-04T14:37:32Z igemnace joined #lisp 2019-09-04T14:43:58Z cosimone quit (Quit: Leaving) 2019-09-04T14:44:36Z awolven quit (Ping timeout: 245 seconds) 2019-09-04T14:49:16Z papachan quit (Ping timeout: 264 seconds) 2019-09-04T14:50:23Z sjl_ joined #lisp 2019-09-04T14:51:27Z smazga joined #lisp 2019-09-04T14:57:56Z schjetne quit (Ping timeout: 245 seconds) 2019-09-04T14:59:03Z karlosz joined #lisp 2019-09-04T14:59:55Z cosimone joined #lisp 2019-09-04T15:00:12Z ebzzry joined #lisp 2019-09-04T15:01:13Z jprajzne quit (Quit: Leaving.) 2019-09-04T15:02:47Z karlosz quit (Client Quit) 2019-09-04T15:22:36Z papachan joined #lisp 2019-09-04T15:23:23Z sjl_ quit (Ping timeout: 245 seconds) 2019-09-04T15:25:36Z papachan quit (Client Quit) 2019-09-04T15:25:40Z iovec joined #lisp 2019-09-04T15:26:20Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-04T15:27:01Z FreeBirdLjj joined #lisp 2019-09-04T15:28:17Z papachan joined #lisp 2019-09-04T15:30:39Z renzhi joined #lisp 2019-09-04T15:31:40Z papachan quit (Client Quit) 2019-09-04T15:31:41Z FreeBirdLjj quit (Ping timeout: 245 seconds) 2019-09-04T15:33:07Z papachan joined #lisp 2019-09-04T15:36:29Z protokaryote joined #lisp 2019-09-04T15:37:37Z Bike quit (Remote host closed the connection) 2019-09-04T15:42:14Z pjb quit (Remote host closed the connection) 2019-09-04T15:48:33Z pjb joined #lisp 2019-09-04T15:49:00Z awolven joined #lisp 2019-09-04T15:49:44Z mtreis86 joined #lisp 2019-09-04T15:50:21Z mtreis86 left #lisp 2019-09-04T15:50:59Z mindCrime_ joined #lisp 2019-09-04T15:53:21Z mindCrime quit (Ping timeout: 245 seconds) 2019-09-04T15:53:46Z renzhi quit (Ping timeout: 244 seconds) 2019-09-04T15:54:24Z schjetne joined #lisp 2019-09-04T15:54:37Z cyraxjoe quit (Quit: I'm out!) 2019-09-04T15:55:32Z cyraxjoe joined #lisp 2019-09-04T15:57:51Z hasebastian joined #lisp 2019-09-04T16:01:51Z protokaryote quit (Quit: protokaryote) 2019-09-04T16:03:48Z FreeBirdLjj joined #lisp 2019-09-04T16:07:50Z papachan quit (Quit: Leaving) 2019-09-04T16:07:52Z Ricchi joined #lisp 2019-09-04T16:10:07Z bjorkintosh quit (Ping timeout: 276 seconds) 2019-09-04T16:11:20Z Bike joined #lisp 2019-09-04T16:12:24Z Inline joined #lisp 2019-09-04T16:14:46Z Baggers quit (Remote host closed the connection) 2019-09-04T16:16:05Z Oladon_wfh joined #lisp 2019-09-04T16:16:34Z hasebastian quit (Quit: Konversation terminated!) 2019-09-04T16:17:25Z yoeljacobsen joined #lisp 2019-09-04T16:19:16Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-04T16:21:42Z v88m joined #lisp 2019-09-04T16:24:24Z bnh^ joined #lisp 2019-09-04T16:27:30Z mindCrime joined #lisp 2019-09-04T16:27:57Z adom` joined #lisp 2019-09-04T16:29:38Z mindCrime_ quit (Ping timeout: 245 seconds) 2019-09-04T16:33:27Z flamebeard quit 2019-09-04T16:38:21Z scymtym quit (Ping timeout: 250 seconds) 2019-09-04T16:39:11Z dvdmuckle quit (Quit: Bouncer Surgery) 2019-09-04T16:40:01Z dvdmuckle joined #lisp 2019-09-04T16:49:32Z DrDuck: how can i read two numbers in lisp 2019-09-04T16:49:35Z ggole quit (Quit: Leaving) 2019-09-04T16:49:38Z DrDuck: and assign them to variables 2019-09-04T16:50:15Z DrDuck: (setq a (read *standard-input* nil)) (setq b (read *standard-input* nil) ) ? 2019-09-04T16:50:20Z DrDuck: or is there another way 2019-09-04T16:52:47Z pjb: have you defined the variables a and b? 2019-09-04T16:53:14Z DrDuck: no i will define them in the setq i guess 2019-09-04T16:53:53Z pjb: (let ((a (progn (write-line "Please, enter an number: " *query-io*) (finish-output *query-io*) (read *query-io*))) (b (progn (write-line "Please, enter an number: " *query-io*) (finish-output *query-io*) (read *query-io*)))) (format t "~&Their sum is : ~A~%" (+ a b))) 2019-09-04T16:54:30Z pjb: DrDuck: nope, setq doesn't define number. If you assign to an inexistant variable, you get nasal dragons, and missiles sent to the general direction of your home. 2019-09-04T16:54:57Z pjb: s/define number/define variables/ 2019-09-04T16:55:15Z niceplace quit (Ping timeout: 244 seconds) 2019-09-04T17:00:18Z niceplace joined #lisp 2019-09-04T17:01:43Z yoeljacobsen quit (Ping timeout: 245 seconds) 2019-09-04T17:04:35Z Kevslinger joined #lisp 2019-09-04T17:04:45Z rippa joined #lisp 2019-09-04T17:05:08Z Ricchi quit (Remote host closed the connection) 2019-09-04T17:05:25Z Insanity_ quit (Quit: Connection closed for inactivity) 2019-09-04T17:10:24Z whartung joined #lisp 2019-09-04T17:16:54Z Fare joined #lisp 2019-09-04T17:18:13Z jlarocco joined #lisp 2019-09-04T17:27:48Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-04T17:29:27Z FreeBirdLjj joined #lisp 2019-09-04T17:34:16Z FreeBirdLjj quit (Ping timeout: 246 seconds) 2019-09-04T17:36:01Z schjetne quit (Ping timeout: 246 seconds) 2019-09-04T17:36:40Z Fare quit (Ping timeout: 264 seconds) 2019-09-04T17:39:09Z papachan joined #lisp 2019-09-04T17:43:50Z cosimone quit (Quit: Leaving) 2019-09-04T17:43:57Z yoeljacobsen joined #lisp 2019-09-04T17:54:06Z iovec quit (Quit: Connection closed for inactivity) 2019-09-04T17:54:53Z FreeBirdLjj joined #lisp 2019-09-04T17:55:11Z nanoz quit (Ping timeout: 244 seconds) 2019-09-04T17:56:54Z Fare joined #lisp 2019-09-04T17:57:08Z vyorkin quit (Ping timeout: 245 seconds) 2019-09-04T17:59:13Z FreeBirdLjj quit (Ping timeout: 245 seconds) 2019-09-04T18:07:35Z kajo joined #lisp 2019-09-04T18:09:43Z scottj left #lisp 2019-09-04T18:09:43Z Fare quit (Ping timeout: 276 seconds) 2019-09-04T18:11:43Z ikki quit (Ping timeout: 244 seconds) 2019-09-04T18:13:22Z nanoz joined #lisp 2019-09-04T18:13:57Z sjl_ joined #lisp 2019-09-04T18:14:13Z awolven quit (Ping timeout: 245 seconds) 2019-09-04T18:27:55Z schjetne joined #lisp 2019-09-04T18:29:01Z sauvin quit (Read error: Connection reset by peer) 2019-09-04T18:29:49Z awolven joined #lisp 2019-09-04T18:32:06Z FreeBirdLjj joined #lisp 2019-09-04T18:32:33Z schjetne quit (Ping timeout: 245 seconds) 2019-09-04T18:37:16Z FreeBirdLjj quit (Ping timeout: 264 seconds) 2019-09-04T18:52:49Z cyraxjoe quit (Quit: I'm out!) 2019-09-04T18:53:35Z cyraxjoe joined #lisp 2019-09-04T18:56:54Z cosimone joined #lisp 2019-09-04T19:00:28Z dyelar quit (Quit: Leaving.) 2019-09-04T19:03:20Z FreeBirdLjj joined #lisp 2019-09-04T19:04:04Z schjetne joined #lisp 2019-09-04T19:05:44Z lnostdal joined #lisp 2019-09-04T19:07:56Z FreeBirdLjj quit (Ping timeout: 245 seconds) 2019-09-04T19:08:53Z flip214: pjb: LET could do both things at the same time, in theory, right? So a LET* might be safer... A not-so-smart compiler might parallize that onto two cores ;) 2019-09-04T19:12:14Z vlatkoB quit (Remote host closed the connection) 2019-09-04T19:12:40Z lnostdal quit (Ping timeout: 258 seconds) 2019-09-04T19:12:56Z ravenous_ joined #lisp 2019-09-04T19:16:27Z _jrjsmrtn joined #lisp 2019-09-04T19:16:49Z __jrjsmrtn__ quit (Ping timeout: 246 seconds) 2019-09-04T19:16:54Z varjag joined #lisp 2019-09-04T19:20:01Z yoeljacobsen quit (Ping timeout: 245 seconds) 2019-09-04T19:20:02Z sjl_: LET has to evaluate the forms in order according to the spec 2019-09-04T19:20:20Z dmiles quit (Read error: Connection reset by peer) 2019-09-04T19:20:20Z sjl_: only the binding is in parallel 2019-09-04T19:20:45Z scymtym joined #lisp 2019-09-04T19:25:32Z papachan quit (Quit: Leaving) 2019-09-04T19:26:09Z flip214: ah yes, right. Sorry about the noise! 2019-09-04T19:31:19Z dmiles joined #lisp 2019-09-04T19:46:16Z orivej quit (Ping timeout: 245 seconds) 2019-09-04T19:47:56Z yoeljacobsen joined #lisp 2019-09-04T19:51:42Z hiroaki joined #lisp 2019-09-04T19:53:40Z permagreen quit (Remote host closed the connection) 2019-09-04T20:01:59Z karlosz joined #lisp 2019-09-04T20:04:58Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-04T20:12:32Z zigpaw quit (Quit: Vanishing into darkness in 1..2..3...) 2019-09-04T20:14:19Z karlosz quit (Quit: karlosz) 2019-09-04T20:18:57Z bjorkintosh joined #lisp 2019-09-04T20:19:07Z yoeljacobsen quit (Ping timeout: 246 seconds) 2019-09-04T20:19:31Z zigpaw joined #lisp 2019-09-04T20:20:45Z sonologico joined #lisp 2019-09-04T20:23:48Z hiroaki quit (Ping timeout: 245 seconds) 2019-09-04T20:26:44Z Ober: pwd 2019-09-04T20:29:00Z ravenous_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-04T20:29:41Z FreeBirdLjj joined #lisp 2019-09-04T20:30:11Z gravicappa quit (Ping timeout: 244 seconds) 2019-09-04T20:33:21Z mindthelion joined #lisp 2019-09-04T20:34:03Z vms14 joined #lisp 2019-09-04T20:34:19Z FreeBirdLjj quit (Ping timeout: 244 seconds) 2019-09-04T20:35:09Z Ven`` joined #lisp 2019-09-04T20:35:49Z techquila quit (Ping timeout: 250 seconds) 2019-09-04T20:43:45Z Lord_of_Life_ joined #lisp 2019-09-04T20:43:50Z maxxcan joined #lisp 2019-09-04T20:44:18Z maxxcan quit (Client Quit) 2019-09-04T20:44:49Z Kundry_Wag joined #lisp 2019-09-04T20:45:53Z Lord_of_Life quit (Ping timeout: 245 seconds) 2019-09-04T20:46:42Z Lord_of_Life_ is now known as Lord_of_Life 2019-09-04T20:47:44Z techquila joined #lisp 2019-09-04T20:49:13Z mindthelion quit (Ping timeout: 245 seconds) 2019-09-04T20:52:35Z Ven`` quit (Read error: Connection reset by peer) 2019-09-04T20:57:22Z adom` quit (Remote host closed the connection) 2019-09-04T20:58:35Z amerlyq quit (Quit: amerlyq) 2019-09-04T21:00:26Z Oladon_wfh: #lisp 2019-09-04T21:03:40Z shifty joined #lisp 2019-09-04T21:03:59Z vms14: (lisp) 2019-09-04T21:07:25Z davr0s joined #lisp 2019-09-04T21:07:30Z davr0s_ joined #lisp 2019-09-04T21:10:07Z ebrasca quit (Remote host closed the connection) 2019-09-04T21:11:18Z ebrasca joined #lisp 2019-09-04T21:15:37Z ebrasca quit (Remote host closed the connection) 2019-09-04T21:15:55Z ebrasca joined #lisp 2019-09-04T21:16:05Z ebrasca quit (Remote host closed the connection) 2019-09-04T21:16:21Z LdBeth: Good afternoon 2019-09-04T21:16:21Z ebrasca joined #lisp 2019-09-04T21:18:58Z awolven quit (Ping timeout: 246 seconds) 2019-09-04T21:20:29Z vms14: ebrasca: you made mezzano right? 2019-09-04T21:22:08Z vms14: can you say you'd made it without lisp, with other languages? 2019-09-04T21:22:27Z elderK joined #lisp 2019-09-04T21:22:30Z vms14: and did macros be an important part for the development? 2019-09-04T21:24:42Z jackdaniel: vms14: the main developer of mezzano is froggey 2019-09-04T21:25:23Z karlosz joined #lisp 2019-09-04T21:27:06Z aeth: ebrasca is (distant) second in contributions. https://github.com/froggey/Mezzano/graphs/contributors 2019-09-04T21:28:55Z Fare joined #lisp 2019-09-04T21:29:32Z FreeBirdLjj joined #lisp 2019-09-04T21:30:08Z vms14: oh 2019-09-04T21:30:28Z vms14: froggey: then the questions are for you 2019-09-04T21:30:28Z gjvc joined #lisp 2019-09-04T21:32:33Z nanoz quit (Ping timeout: 245 seconds) 2019-09-04T21:34:38Z karlosz quit (Quit: karlosz) 2019-09-04T21:34:46Z FreeBirdLjj quit (Ping timeout: 268 seconds) 2019-09-04T21:38:58Z froggey: vms14: I'm not quite sure I understand the first question. mezzano is written in common lisp, with very small amounts of assembly. you can write operating systems in other languages 2019-09-04T21:39:11Z froggey: macros haven't been particularly important, I guess no more important than in any other software written in CL 2019-09-04T21:40:19Z shifty quit (Ping timeout: 268 seconds) 2019-09-04T21:41:57Z Bike quit (Quit: Bike) 2019-09-04T21:43:57Z vms14: froggey: I mean, mezzano is an operating system written almost entirely by one person 2019-09-04T21:44:11Z mindCrime quit (Ping timeout: 245 seconds) 2019-09-04T21:44:54Z vms14: you guess you could have achieved this without lisp, using for example, C? 2019-09-04T21:45:50Z froggey: yes. time spent is probably more important than language 2019-09-04T21:45:51Z sjl_ quit (Quit: WeeChat 2.3-dev) 2019-09-04T21:47:04Z awolven joined #lisp 2019-09-04T21:47:27Z cosimone quit (Quit: Leaving) 2019-09-04T21:47:38Z vms14: idk what you mean 2019-09-04T21:48:06Z vms14: but seems to be that does not matter the language until you spent time in something 2019-09-04T21:48:48Z LdBeth: vms14: MINIX? 2019-09-04T21:48:56Z vms14: what? 2019-09-04T21:48:57Z vms14: xD 2019-09-04T21:49:06Z awolven quit (Client Quit) 2019-09-04T21:49:08Z LiamH quit (Quit: Leaving.) 2019-09-04T21:49:20Z awolven joined #lisp 2019-09-04T21:49:20Z awolven quit (Client Quit) 2019-09-04T21:49:47Z froggey: Toaruos is another OS developed by one person, it's written in C 2019-09-04T21:50:04Z ebrasca: vms14: No , I am contributing to mezzano. 2019-09-04T21:50:04Z clothespin joined #lisp 2019-09-04T21:50:06Z froggey: if you're able to put the time & effort in, then you can use whatever language you want 2019-09-04T21:50:28Z vms14: yeah that's right 2019-09-04T21:50:39Z froggey: common lisp is certainly a nicer programming language to use than C 2019-09-04T21:51:15Z vms14: but I suppose common lisp gave you some features that made the development better/easier or whatever 2019-09-04T21:52:10Z vms14: and I was thinking if macros were key in that development or they did your development different 2019-09-04T21:52:42Z ebrasca: vms14: common lisp is fun. 2019-09-04T21:52:47Z vms14: it is 2019-09-04T21:52:48Z froggey: garbage collection, bounds checking, type checking, etc. it's a less error prone language 2019-09-04T21:53:14Z vms14: I'm trying to mix perl with common lisp in a dirty way 2019-09-04T21:53:28Z vms14: I'm going to try with local sockets 2019-09-04T21:53:47Z froggey: live development through a repl and slime too. clos/generic functions... 2019-09-04T21:54:31Z alexanderbarbosa joined #lisp 2019-09-04T21:55:04Z renzhi joined #lisp 2019-09-04T21:57:15Z pjb: vms14: you should study http://cliki.net/Performance 2019-09-04T22:03:26Z aeth: vms14: Perl (or maybe Perl 6, since it's standardized) is actually one of the languages I'd consider implementing on CL (in the very long run) since it's basically just a regex DSL that is increasingly ugly when you use it for things other than regex on lines of text. 2019-09-04T22:04:29Z vms14: yeah, I wanted to learn perl because I think as a programmer or unix user I should have a text-editing tool 2019-09-04T22:04:38Z vms14: and I was deciding if perl or awk 2019-09-04T22:05:13Z vms14: I chose perl and I guess I did well, it's very useful and replaces bash 2019-09-04T22:05:30Z aeth: Just use (loop :for line := (read-line file-stream nil nil) :while line ...) 2019-09-04T22:05:32Z vms14: it seems the best language for unix scripting 2019-09-04T22:05:40Z aeth: eh 2019-09-04T22:05:46Z aeth: Python replaced Perl in most Unix scripts for a reason 2019-09-04T22:05:53Z vms14: which reason? 2019-09-04T22:06:04Z vms14: I thought it was for readibility and learning curve 2019-09-04T22:06:19Z vms14: not for being "better" suited for unix scripting 2019-09-04T22:06:20Z aeth: Perl has a lot of ugliness that only makes sense in a historical context of comparing it to sh and awk etc. Lots of things that hurt reliability. 2019-09-04T22:06:26Z aeth: And it's hard to even do stuff like arrays. 2019-09-04T22:06:59Z vms14: yeah but it boosts your productivity and you end writing a lot of scripts 2019-09-04T22:07:04Z aeth: With most scripting languages (and even CL used in that role) it's very easy to have hash tables and a simple (and probably adjustable) generic array. 2019-09-04T22:07:10Z vms14: automating everything and making a lot of little tools 2019-09-04T22:07:33Z renzhi quit (Ping timeout: 245 seconds) 2019-09-04T22:07:36Z vms14: in cl I would prefer lists and property lists instead of hash tables 2019-09-04T22:07:50Z vms14: but, are in cl faster the hash tables than property lists? 2019-09-04T22:07:51Z aeth: Even though it might be the ugliest, when I must script Unix as Unix and can't use CL, then I use bash (and I don't even use bash as a shell, I use zsh there) because I can assume that it's on nearly every machine 2019-09-04T22:07:58Z aeth: Plain POSIX sh doesn't give enough convenience features. 2019-09-04T22:08:11Z vms14: aeth: then use sh, not bash 2019-09-04T22:08:13Z vms14: oh 2019-09-04T22:08:34Z vms14: I have no bash, so for use your script I need to install bash 2019-09-04T22:08:59Z vms14: perl is more likely to be installed than bash, if you're not in linux 2019-09-04T22:09:26Z aeth: vms14: hash tables are O(1) but with a higher cost. plists are O(n) but with a lower cost. This means that for small data plists (or alists) are faster than hash tables, but for large data hash-tables are larger, and where that line crosses is implementation-specific (and possibly OS specific etc.) 2019-09-04T22:09:43Z aeth: Well O(1) lookup vs. O(n) worstcase lookup 2019-09-04T22:09:49Z aeth: Obviously there's a whole table of various tradeoffs 2019-09-04T22:10:12Z aeth: s/for large data hash-tables are larger/for large amounts of data hash-tables are faster/ 2019-09-04T22:10:19Z vms14: then for "big" data hash tables and for small property lists? 2019-09-04T22:10:29Z aeth: no, that's a micro-optimization 2019-09-04T22:10:55Z aeth: I'd personally just use hash-tables unless they're particularly inconvenient, especially when you're using scripting idioms where you'd expect hash tables in other languages. 2019-09-04T22:10:59Z vms14: I like a lot property lists, and I even see them as basic replacement for structs or CLOS 2019-09-04T22:11:18Z aeth: When n is small, there's a higher fixed cost for hash-tables, but it doesn't matter as much, because n is small 2019-09-04T22:11:32Z vms14: and CLOS, how much overhead adds? 2019-09-04T22:11:40Z vms14: it's suitable for scripting? I guess nope 2019-09-04T22:12:14Z vms14: idk why run program from asdf is a lot slower than sb-ext:run-program 2019-09-04T22:12:17Z aeth: vms14: I personally tend to use plists for things in macros, or for things that are intended to be read and processed sequentially (which is usually the case for macros, anyway). 2019-09-04T22:12:21Z vms14: and the reason seems to be CLOS 2019-09-04T22:12:57Z aeth: So SBCL internally likes to use structs, but usually with the caveat that that's an implementation detail and could change at any time. 2019-09-04T22:13:20Z aeth: And with SBCL in particular, SBCL can do more optimizations to structure-objects than to standard-objects (defined by defclass) 2019-09-04T22:13:31Z varjag quit (Ping timeout: 244 seconds) 2019-09-04T22:14:05Z aeth: In particular, in SBCL, storing it in a standard object will guarantee that the type information will be lost (same with storing it in a hash table, or a list, or an array without a supported specialized element-type) 2019-09-04T22:14:13Z vms14: ah yeah, someone told me CLOS is very dynamic and the compiler cannot be sure of what type of value the slots are 2019-09-04T22:14:30Z vms14: so it's not able to optimize it 2019-09-04T22:14:45Z aeth: With a struct in SBCL, a slot can have a :type and the type will be respected in SBCL because redefining a struct by C-c C-c defstruct is undefined so the types in the accessors can be inlined (also, the accessors aren't very generic) 2019-09-04T22:15:03Z ltriant joined #lisp 2019-09-04T22:15:19Z aeth: A lot of the time, when you're using a struct accessor, something is either of the given type, or it's an error because it's not the right struct type. So the compiler can infer more. 2019-09-04T22:15:32Z vms14: but a plist will be "cheaper" than a struct 2019-09-04T22:15:34Z vms14: not? 2019-09-04T22:15:58Z aeth: well, a struct doesn't get you a sequence, unless you make your own cons-like linked lists from them yourself 2019-09-04T22:16:15Z vms14: yeah the problem is traversing the list 2019-09-04T22:16:18Z aeth: and those tend to be about 30% slower than lists (but I tested them against regular lists being used as regular lists, not plists) 2019-09-04T22:16:36Z aeth: maybe because they're larger in memory, maybe because not everything is optimized so there's some added type checks 2019-09-04T22:17:03Z aeth: vms14: but... the context we were talking about is Unix scripting, and even SBCL at its slowest should be faster than Ruby, which is one of the languages that's used for Unix scripting. 2019-09-04T22:17:16Z aeth: (In fact, I can't uninstall Ruby, Python 3, or Perl because they're all used by core things in my distro) 2019-09-04T22:17:43Z vms14: specially python and perl 2019-09-04T22:17:49Z vms14: python is in linux base 2019-09-04T22:18:10Z vms14: you simply cannot remove python without breaking your system xD 2019-09-04T22:18:25Z aeth: vms14: For scripting, the main thing you don't want is a JIT runtime, because JIT has a warmup time that adds a fixed cost to each run of the program. So it could e.g. be like 1-2 seconds minimum with no faster possibilities. 2019-09-04T22:18:41Z aeth: You wouldn't want to compose things at the shell like that. 2019-09-04T22:19:02Z vms14: and for make "scripts" with sbcl which is the best way 2019-09-04T22:19:33Z vms14: save image, sbcl --script or compiled? 2019-09-04T22:19:42Z pjb: vms14: for less than 5 entries alist and plist are usually faster than hash-table. This can go up to 35 in the case of clisp. 2019-09-04T22:20:24Z aeth: vms14: what you'd probably want to do in a script is you'd put your code in an ASDF system, and have a very minimal file load it and run an entry point, possibly in a Python-style (defun main () ...) (main) 2019-09-04T22:20:27Z vms14: clisp starts faster than sbcl 2019-09-04T22:20:35Z vms14: so maybe is better option than sbcl for scripting 2019-09-04T22:20:40Z aeth: It depends 2019-09-04T22:21:10Z aeth: CLISP is faster than SBCL in a program that does nothing. Now make the program do something. CLISP will quickly fall behind. Do you want to microoptimize which implementation is the fastest for each script? 2019-09-04T22:21:22Z vms14: xD 2019-09-04T22:21:45Z aeth: There's some point at which CLISP is slower than SBCL for a script even with a faster start time. This might even depend on the particular machine. 2019-09-04T22:22:06Z aeth: But it doesn't really matter. What's more important is that neither are JIT... JIT will add significant startup overhead 2019-09-04T22:22:29Z pjb: A lot of scripts are one-liners or close… 2019-09-04T22:22:37Z pjb: and I/O bound. 2019-09-04T22:23:06Z vms14: a lot of unix scripts are oneliners 2019-09-04T22:23:38Z vms14: and most of them write to files and exec commands 2019-09-04T22:23:40Z aeth: I personally wouldn't use CLISP because I can't expect everything to run on CLISP these days. Interestingly, my distro's maintainers (I use Fedora) gave up on waiting for a new official CLISP and have been building a git version of CLISP for a while, and I just never noticed the RPM version string before. 2019-09-04T22:24:02Z vms14: well clisp is used to build sbcl 2019-09-04T22:24:15Z aeth: Right, so in a sense, CLISP can run every library, if it first compiles SBCL. 2019-09-04T22:24:23Z vms14: xD 2019-09-04T22:24:25Z aeth: That might add to startup time, though. 2019-09-04T22:24:57Z pjb: Libraries that are sbcl-specific are bad libraries. They're not Common Lisp libraries, they're sbcl libraries. They're out of consideration in the first place in #lisp. 2019-09-04T22:25:07Z no-defun-allowed: vms14: https://i.redd.it/x6rfr21bnqs21.jpg 2019-09-04T22:25:41Z aeth: pjb: It's not that libraries are SBCL-specific, it's that libraries support m of n implementations where (<= m n) and once you use enough of them, eventually you get something that probably can only run on SBCL and CCL, although it normally doesn't get that bad. 2019-09-04T22:26:01Z vms14: aeth: why you're thinking in mixing cl with perl/perl6 and how you're going to do it? 2019-09-04T22:26:01Z pjb: The real problem with clisp is that it depends on ffcall (and libsigsegv) and those libraries are not available on all platforms, notably on Darwin. Which makes clisp much better on linux than on other platforms. 2019-09-04T22:26:36Z pjb: But again, if you exclude non-lisp libraries, (ie. libraries using FFI), then you don't have any problem using clisp. 2019-09-04T22:26:43Z no-defun-allowed: I couldn't build CLISP on my Raspberry Pi 2, since it couldn't find libsigsegv even after I built it using the exact instructions it gave me. 2019-09-04T22:27:11Z aeth: pjb: to be fair, though, we're talking about CL as a scripting language, so performance should include FFI, and it should include performance of the run-external-program functionality, perhaps wrapped through a library like UIOP 2019-09-04T22:27:21Z aeth: Unix scripting is always incredibly multilingual 2019-09-04T22:28:39Z vms14: aeth: what benefits do you guess perl will add to lisp 2019-09-04T22:28:57Z vms14: because I started by doing some dirty execs calling oneliners 2019-09-04T22:29:04Z no-defun-allowed: Job security: no one can read your Lisp code with Perl in it. 2019-09-04T22:29:07Z vms14: and the first benefit I see is cpan modules 2019-09-04T22:29:15Z pjb: aeth: clisp run-program is one of the nicest. 2019-09-04T22:29:30Z vms14: no-defun-allowed: yeah, ultra obfuscated by default 2019-09-04T22:29:46Z vms14: parens hiding sigils 2019-09-04T22:30:00Z vms14: inside a regexp 2019-09-04T22:30:02Z aeth: vms14: A Perl-on-Lisp would provide better regex. It probably wouldn't run CPAN. Even though Perl 6 (aka Raku) is less popular, it's probably more likely to run libraries because it's a standardized language so you don't need to be bug for bug compatible with a large program. 2019-09-04T22:30:09Z karlosz joined #lisp 2019-09-04T22:30:19Z pjb: vms14: the quality of cpan module is very bad. Just forget perl. I refuse to install it on my systems… 2019-09-04T22:30:30Z vms14: aeth: wasn't cl-ppcre faster than perl regexp engine? 2019-09-04T22:30:39Z pjb: it is. 2019-09-04T22:30:46Z vms14: I saw some posts arguing ppcre doubles perl speed 2019-09-04T22:30:51Z vaporatorius quit (Ping timeout: 245 seconds) 2019-09-04T22:31:07Z aeth: vms14: if cl-ppcre is ppc enough of re then wouldn't a cl-perl use cl-ppcre in its implementation? 2019-09-04T22:32:06Z vms14: and what you're aiming to do? 2019-09-04T22:32:08Z aeth: vms14: Competing with scripting languages is kind of a best case scenario for writing your own implementations in terms of performance, though. Besides JS and LuaJIT they tend to be very non-competitive. 2019-09-04T22:32:13Z vms14: connect them with sockets? 2019-09-04T22:32:28Z vms14: or putting perl features on lisp? 2019-09-04T22:33:28Z vms14: I'm not sure if my decision of mixing perl and lisp was a good idea or not 2019-09-04T22:33:30Z aeth: vms14: I intend to eventually have a language-on-CL platform. Some people have written $language on CL, but it's just a one-off, and there probably isn't much code sharing. 2019-09-04T22:33:44Z vms14: I think yes, specially for oneliners and the available modules 2019-09-04T22:33:59Z vms14: but, maybe would be better to do everything with lisp 2019-09-04T22:34:08Z aeth: vms14: From what I've seen with individual attempts (e.g. Python), the advantage is improved performance (with the exception of the JS one, obviously) and easier embedding. The disadvantage is library compatibilty. 2019-09-04T22:34:36Z aeth: vms14: I wouldn't mind if everyone wrote everything in CL... 2019-09-04T22:34:51Z vms14: aeth: I think is what I should do 2019-09-04T22:35:14Z vms14: write everything in lisp and forget other languages, but I'm not doing it 2019-09-04T22:36:14Z pjb: vms14: and if you want to reuse something written in foreign language, wrap it in separate process, and use pipes to communicate. So you can stay 100% in CL. 2019-09-04T22:36:17Z anewuser joined #lisp 2019-09-04T22:37:15Z vms14: well the idea I have is run perl and daemonize it by using an infinite loop reading and accepting from a local socket 2019-09-04T22:37:38Z vms14: and start by doing dirty evals from what I read and building lists as a response 2019-09-04T22:37:44Z aeth: vms14: If you can compile Language X to CL, and in doing so you make a faster implementation of Language X (so e.g. probably won't convince C fans), then that's a good thing for CL imo, assuming there's a good enough Foo<->CL function call API. 2019-09-04T22:37:48Z aeth: Just imo, though. 2019-09-04T22:39:30Z aeth: vms14: I'm mainly looking at it from the perspective of CL applications aimed at desktop users, though. It's much easier to pitch to people "script this in 15 languages" than it is to pitch "script this in Common Lisp". 2019-09-04T22:40:32Z vms14: yeah, but if no one sees common lisp is used they won't be interested 2019-09-04T22:40:42Z vms14: if they see a lot of useful scripts written in common lisp 2019-09-04T22:40:52Z vms14: maybe they look different 2019-09-04T22:41:21Z aeth: Well, the Common Lisp will (probably) be faster, of course, since it's the native language, unless a CL-in-CL is used for sandboxing or something. 2019-09-04T22:41:41Z vms14: and, isn't scheme better suited than cl for scripting? 2019-09-04T22:41:50Z aeth: heh 2019-09-04T22:42:34Z aap joined #lisp 2019-09-04T22:42:51Z aeth: The first complete language I'm going to do on this platform in Scheme because it has a ton of similarities with CL and it's very simple. Then I might do something like Forth, which is notoriously simple, even though it's far more niche than even any (notable) Lisp language is. 2019-09-04T22:43:16Z vms14: forth is interesting 2019-09-04T22:43:39Z aeth: Next up is probably Lua, even though I don't particularly like Lua and I might not be able to beat LuaJIT in performance (although I'll probably beat official Lua) because it's probably the simplest of the popular (well, relatively speaking) scripting languages. 2019-09-04T22:43:49Z aeth: And then maybe POSIX shell? Even uglier than Lua, but probably not that much harder. 2019-09-04T22:44:04Z aeth: I doubt that'd be useful as a sandboxed scripting language, though! 2019-09-04T22:44:51Z vms14: maybe some sort of transpiler or interpreter for bash in order to add compatibility 2019-09-04T22:45:28Z aeth: And then if I'd get that far then Python 2/3, Perl 5/6, PHP, JavaScript/TypeScript, and Ruby would all make good candidates for later explorations. Maybe some other unpopular but interesting languages, too, like Smalltalk. 2019-09-04T22:45:36Z vms14: but don't worry, once you start your first ideas start to change too 2019-09-04T22:46:01Z aeth: It'd be pretty funny if I did implement both Python 2 and Python 3, though, because I'd then have 2-and-3 interop in the same platform. idk if that has been done before, maybe in PyPy? 2019-09-04T22:46:07Z vms14: javascript will add popularity to your platform 2019-09-04T22:46:20Z vms14: also python 2019-09-04T22:46:48Z aeth: JavaScript/TypeScript, Forth, and LuaJIT are the ones I'm not sure I'd be able to beat in performance (at least, not using a general, portable framework) 2019-09-04T22:46:56Z vms14: and if you make some sort of html css interpreter for graphic stuff 2019-09-04T22:47:08Z vms14: this would be nice 2019-09-04T22:47:24Z vms14: all front developers would be able to use what they know 2019-09-04T22:47:41Z aeth: Well HTML/XML/SXP/CSS/CSV/Markdown/org/JSON/etc. would be a different project (or several). 2019-09-04T22:48:16Z aeth: SXP being a formally specified s-expression format that can be read to and written from other languages. 2019-09-04T22:48:26Z vaporatorius joined #lisp 2019-09-04T22:48:26Z vaporatorius quit (Changing host) 2019-09-04T22:48:26Z vaporatorius joined #lisp 2019-09-04T22:48:28Z aeth: Because it's the conciseness of JSON with the structure of XML, sow hat's not to like? 2019-09-04T22:48:32Z vms14: I dream with something like (title "hi" color "red") 2019-09-04T22:49:34Z aeth: But Scheme is very doable because it has many data structures in common and hasn't diverged that much (although r7rs has diverged in places where r4rs had not yet done so) 2019-09-04T22:49:52Z aeth: For other languages, they might have e.g. a specific string representation in mind that's incompatible with CL's and that requires a lot of work 2019-09-04T22:49:55Z pjb: vms14: even if you're not programming in lisp, you can use (title "hi" color "red"). It's trivial to parse!!! 2019-09-04T22:50:19Z aeth: It's possible that I might just have to settle for making languages superficially like Python/JS/etc. without actually implementing all of their quirks 2019-09-04T22:50:25Z vms14: pjb: yeah I know, I hope I'll do something like that 2019-09-04T22:50:37Z vms14: I know there is cl-who spinneret and css stuff 2019-09-04T22:50:39Z vms14: but meh 2019-09-04T22:50:53Z vms14: I'd like to have a lisp as a replacement for html css and js 2019-09-04T22:51:03Z pjb: if char= #\( then read a list. if #\" then read a string. if alpha then read a symbol. if digit then read an integer (or float). and you're set. 2019-09-04T22:51:54Z vms14: isn't better with reader macros? 2019-09-04T22:52:20Z vms14: I have to try them 2019-09-04T22:52:33Z vms14: just did a simple test 2019-09-04T22:54:17Z vms14: https://ebzzry.io/en/script-lisp/ 2019-09-04T22:54:21Z karlosz quit (Quit: karlosz) 2019-09-04T22:58:18Z aeth: vms14: there are quite a few XML/HTML/XHTML/etc. representations as s-expressions, where the hard part is how to handle attributes. 2019-09-04T22:58:42Z Oladon_wfh quit (Remote host closed the connection) 2019-09-04T22:59:13Z aeth: (:a (:href "https://example.com")) looks more elegant, but you'd afaik have to special case everything to distinguish between and ... 2019-09-04T22:59:18Z orivej joined #lisp 2019-09-04T22:59:36Z schjetne quit (Ping timeout: 258 seconds) 2019-09-04T22:59:44Z aeth: I think (:a :href "https://example.com") would work as you expect, even though it doesn't look as elegant, and even though implementing things with a plist in front and an arbitrary tail isn't as elegant 2019-09-04T23:00:13Z aeth: Essentially, anytime you see a keyword in the 1st through nth position (instead of the 0th) you'd know that it's an attribute, and you know that it has to alternate between key/value or it's an error. 2019-09-04T23:00:55Z vms14: yeah, but I'd like to have something more like a "new" language 2019-09-04T23:00:56Z aeth: e.g. (:foo :bar 42 :baz "quux" "This is a" (:em "sentence") "!") 2019-09-04T23:01:12Z vms14: for example typing (title hi color red) 2019-09-04T23:01:29Z vms14: would add in head and h1 in the body 2019-09-04T23:01:39Z vms14: with the same text 2019-09-04T23:01:51Z iskander quit (Ping timeout: 250 seconds) 2019-09-04T23:01:53Z aeth: once you have it in an s-expression form, you can do whatever you want with it with macros 2019-09-04T23:02:01Z vms14: also add microdata, the bad part is for microdata I need to make questions 2019-09-04T23:02:03Z aeth: that's the whole point of using s-expressions instead of templated HTML 2019-09-04T23:02:12Z vms14: and/or let the user a way to add microdata 2019-09-04T23:02:52Z beirc is now known as gilberth__ 2019-09-04T23:04:28Z iskander joined #lisp 2019-09-04T23:04:39Z gilberth__: aeth: It is unfortunate that the alternative S-expr syntax for SGML like (:A (:HREF "foo") ...) seems to be more common. I prefer (:A :HREF "foo" ...). 2019-09-04T23:05:04Z stux|RC-- joined #lisp 2019-09-04T23:05:18Z aeth: gilberth__: it's more common and I like the look of it more, and I like superficially how it's implemented more, but thinking about it, I think you'd have to hardcode a lot of information about HTML to make it work afaik 2019-09-04T23:05:20Z vms14: I'd prefer (link "foo" "click here") 2019-09-04T23:05:34Z vms14: and even have a way to add some onclick event or alike 2019-09-04T23:05:36Z aeth: vms14: think about it as a multi-pass compiler... https://en.wikipedia.org/wiki/Multi-pass_compiler#/media/File:Multi-passcompiler.png 2019-09-04T23:06:29Z aeth: vms14: the part where you generate a data file (e.g. HTML or XML) or source code (e.g. SQL or GLSL) is the last step, the code generation step, where you're taking s-expressions and turning them into strings (or whatever... maybe even compiling a language to ASM!) 2019-09-04T23:06:55Z danielvu quit (Quit: WeeChat 2.5) 2019-09-04T23:06:57Z aeth: But you're free to do as many steps as you want 2019-09-04T23:07:05Z vms14: well the first attemtp was to emulate the js dom with CLOS 2019-09-04T23:07:20Z stux|RC quit (Ping timeout: 252 seconds) 2019-09-04T23:07:33Z vms14: and then make a recursive function that looks for the node you give it and goes rendering and traversing all the children 2019-09-04T23:08:05Z vms14: but I guess I'll go with plists 2019-09-04T23:08:16Z danielvu joined #lisp 2019-09-04T23:08:36Z xkapastel joined #lisp 2019-09-04T23:08:47Z vms14: so nodes are symbols and properties are in their property list 2019-09-04T23:08:49Z aeth: vms14: It's trivial to turn (link "foo" "click here") into (:a :href "foo" "click here") which then is not-as-trivially (but not *too* difficultly) turned into "<a href=\"foo\"> click here </a>" 2019-09-04T23:09:20Z aeth: vms14: What you want at the base layer is as close to a direct representation of the target (data or programming) language as possible. 2019-09-04T23:09:45Z vms14: why? 2019-09-04T23:09:57Z aeth: Because then every step is simple and isolated 2019-09-04T23:10:11Z vms14: makes sense 2019-09-04T23:10:38Z aeth: Even if you're writing everything yourself, pretend you're not. Alice is writing a program that turns (:a :href "foo" "click here") into "<a href=\"foo\"> click here </a>" and Bob is writing a program that turns (link "foo" "click here") into (:a :href "foo" "click here") 2019-09-04T23:11:06Z aeth: (okay, maybe there wouldn't be spacing around the "click here" in the generated HTML, but it doesn't look as good without that spacing) 2019-09-04T23:11:28Z iskander quit (Ping timeout: 264 seconds) 2019-09-04T23:11:42Z vms14: long time not seen Alice and Bob 2019-09-04T23:11:43Z vms14: xD 2019-09-04T23:11:57Z vms14: the last time was with ssl explainations 2019-09-04T23:12:06Z aeth: But notice how they're very different tasks. One is writing characters to a stream. The other is turning one CL list into another (although it might be at macro-expansion time) 2019-09-04T23:12:21Z Bike joined #lisp 2019-09-04T23:12:46Z aeth: And you can have as many layers of one CL list into another as you want. And you can even have a step that adds a parser so you can just read in text files that look like this: link "foo" "click here" 2019-09-04T23:13:30Z iskander joined #lisp 2019-09-04T23:13:35Z vms14: well it seems easier because you have the steps better defined 2019-09-04T23:13:45Z vms14: and you can focus in doing just one thing 2019-09-04T23:13:57Z vms14: also you gain isolation and flexibility 2019-09-04T23:14:11Z vms14: and with flexibility come extensible programs 2019-09-04T23:14:46Z aeth: That's 90% of programming in general. You have a big complicated task and you want to break it into as many trivial steps as possible, to the point where if any single piece is taken in isolation, then anyone would wonder what you're even doing or why it's taking you so long. 2019-09-04T23:15:02Z aeth: The observers should be able to say "I could do that myself!" because they could. 2019-09-04T23:15:22Z aeth: Except, of course, there's 10,000 such things, and what makes your program different is you took the time to do all of them (or found suitable libraries where available) 2019-09-04T23:16:40Z aeth: And the whole reason you're generating XML/HTML/XHTML/etc. is because such data formats are *NOT* like that at all. They're unreadable messes, but you don't have to write them by hand. 2019-09-04T23:17:26Z smazga quit (Quit: leaving) 2019-09-04T23:19:13Z Kundry_Wag quit (Remote host closed the connection) 2019-09-04T23:24:36Z clothespin quit (Ping timeout: 245 seconds) 2019-09-04T23:26:10Z vms14 quit (Remote host closed the connection) 2019-09-04T23:29:39Z mindthelion joined #lisp 2019-09-04T23:30:07Z karlosz joined #lisp 2019-09-04T23:30:09Z FreeBirdLjj joined #lisp 2019-09-04T23:32:06Z techquila quit (Ping timeout: 245 seconds) 2019-09-04T23:34:12Z t58 quit (Quit: Leaving) 2019-09-04T23:34:25Z FreeBirdLjj quit (Ping timeout: 246 seconds) 2019-09-04T23:35:20Z Kundry_Wag joined #lisp 2019-09-04T23:39:11Z anewuser quit (Ping timeout: 245 seconds) 2019-09-04T23:40:34Z Kundry_Wag quit (Ping timeout: 268 seconds) 2019-09-04T23:41:00Z edgar-rft quit (Ping timeout: 258 seconds) 2019-09-04T23:42:13Z drmeister: How does one suppress the debugger from coming up? Bind *debugger-hook* that just returns? 2019-09-04T23:42:29Z Bike: what do you want to happen instead? 2019-09-04T23:42:49Z edgar-rft joined #lisp 2019-09-04T23:43:15Z papachan joined #lisp 2019-09-04T23:47:49Z sonologico quit (Remote host closed the connection) 2019-09-04T23:49:49Z edgar-rft quit (Ping timeout: 268 seconds) 2019-09-04T23:50:21Z edgar-xxx joined #lisp 2019-09-04T23:57:35Z zigpaw quit (Remote host closed the connection) 2019-09-04T23:57:43Z zigpaw joined #lisp 2019-09-04T23:58:59Z karlosz quit (Quit: karlosz) 2019-09-05T00:01:11Z akoana joined #lisp 2019-09-05T00:06:27Z EvW joined #lisp 2019-09-05T00:09:00Z karlosz joined #lisp 2019-09-05T00:09:21Z aeth: drmeister: Do you mean something like running everything wrapped like this? (handler-bind ((t (lambda (c) (declare (ignore c)) (invoke-restart 'abort)))) (/ 1 0)) 2019-09-05T00:09:41Z aeth: Bike: drmeister said "just returns" so I'm assuming (although I could be incorrect) that it's always selecting abort 2019-09-05T00:09:59Z awolven joined #lisp 2019-09-05T00:10:03Z Bike: that's just ignore-errors 2019-09-05T00:13:10Z shifty joined #lisp 2019-09-05T00:13:19Z aeth: ah, I've never had to do that 2019-09-05T00:16:44Z edgar-xxx quit (Quit: Leaving) 2019-09-05T00:17:21Z Kundry_Wag joined #lisp 2019-09-05T00:19:58Z karlosz quit (Quit: karlosz) 2019-09-05T00:20:12Z edgar-rft joined #lisp 2019-09-05T00:21:39Z Kundry_Wag quit (Ping timeout: 244 seconds) 2019-09-05T00:25:18Z pjb: drmeister: *debugger-hook* is called by invoke-debugger, so it might be a little drastic to bind it to override the debugger. You would do that in a proprietary program to avoid users having access to the inners of your lisp image… 2019-09-05T00:27:03Z pjb: drmeister: wrapping your main (or main loop body) in a handler-bind is a better solution, but it's inconvenient when you still have bugs. For this, I use handler-bind, and print out the backtrace before doing the non-local exit from handler-bind. You can also still call invoke-debugger in the handler-bind upon when a flag is set to be able to debug if needed. 2019-09-05T00:43:16Z aeth: pjb: in a proprietary program you'd launch it with a one-liner that includes --disable-debugger (or whatever the equivalent is if it's not SBCL... all of the command line arguments are different in different implementations) 2019-09-05T00:43:43Z aeth: (which of course means that that script could be edited) 2019-09-05T00:44:00Z lanu joined #lisp 2019-09-05T00:45:48Z pjb: aeth: nope, I don't use implementation specific stuff. I prefer to implement the functionalities I need using CL features. 2019-09-05T00:47:01Z aeth: well, you could just write a script that selects the appropriate name based on the implementation... but if it's proprietary you'd probably just write to one 2019-09-05T00:50:29Z aeth: there are libraries that can kind of handle this sort of thing portably afaik 2019-09-05T00:51:59Z red-dot joined #lisp 2019-09-05T00:56:33Z pjb: Yeah. Like setting *debugger-hook* is a 100% purely conforming way DUH! 2019-09-05T01:00:10Z renzhi joined #lisp 2019-09-05T01:03:29Z smazga joined #lisp 2019-09-05T01:05:50Z lanu quit (Quit: lanu) 2019-09-05T01:06:04Z semz quit (Ping timeout: 264 seconds) 2019-09-05T01:07:06Z lanu joined #lisp 2019-09-05T01:09:13Z smazga quit (Ping timeout: 245 seconds) 2019-09-05T01:10:28Z abhixec quit (Quit: leaving) 2019-09-05T01:16:37Z EvW quit (Ping timeout: 250 seconds) 2019-09-05T01:17:55Z semz joined #lisp 2019-09-05T01:17:55Z semz quit (Changing host) 2019-09-05T01:17:55Z semz joined #lisp 2019-09-05T01:18:58Z iskander quit (Ping timeout: 252 seconds) 2019-09-05T01:21:09Z iskander joined #lisp 2019-09-05T01:22:40Z saravia joined #lisp 2019-09-05T01:26:16Z DrDuck: so if you plan on going through 'art of the metaobject protocol', do you have to copy/compile the code from appendix D, the closette system, first before you can really interact with the book and its exercises? 2019-09-05T01:26:31Z Bike: no, your lisp implementation probably has mop built in. 2019-09-05T01:27:26Z DrDuck: yeah but closette is supposed to have a lot of restrictions and things not built in 2019-09-05T01:27:34Z DrDuck: that's the impression i'm getting 2019-09-05T01:27:42Z DrDuck: and then the book wants you to add things slowly? 2019-09-05T01:27:55Z Bike: well it's not exactly an instruction manual 2019-09-05T01:28:00Z Bike: it's a description of what i did 2019-09-05T01:28:06Z DrDuck: O_o 2019-09-05T01:28:09Z Bike: er 2019-09-05T01:28:10Z Bike: they 2019-09-05T01:28:11Z Bike: sorry 2019-09-05T01:29:00Z DrDuck: welp... alright 2019-09-05T01:30:57Z jack-thomas joined #lisp 2019-09-05T01:31:00Z FreeBirdLjj joined #lisp 2019-09-05T01:31:41Z davr0s_ quit (Remote host closed the connection) 2019-09-05T01:31:41Z davr0s quit (Remote host closed the connection) 2019-09-05T01:32:19Z jack-thomas: Hi, I'm having this weird thing where if I try to compile a file that defines a struct and then immediately tries to define a constant whos value is an instance of said struct SBCL says "no such function make-car" (where struct name was car) 2019-09-05T01:32:40Z jack-thomas: But if I run the same code at REPL it is fine 2019-09-05T01:33:04Z no-defun-allowed: I've never had defconstant work as expected, honestly. 2019-09-05T01:33:22Z jack-thomas: So I'm doing (defstruct car :color) and then (defconstant BLACK-CAR (make-car :color 'black)) 2019-09-05T01:33:29Z no-defun-allowed: I had something similar go wrong, with (defclass foo ...) (defconstant +thing+ (make-instance 'foo)) and SBCL didn't like that a bit. 2019-09-05T01:33:37Z Bike: defstruct is evaluated at loda time, but the constant is evaluated at compile time 2019-09-05T01:34:04Z jack-thomas: Bike: hmmm 2019-09-05T01:34:05Z no-defun-allowed: Probably something about compilation environments -- Bike is probably right. 2019-09-05T01:34:35Z skibo joined #lisp 2019-09-05T01:35:36Z jack-thomas: Hi Bike can you explain 'load time' to me 2019-09-05T01:35:36Z FreeBirdLjj quit (Ping timeout: 258 seconds) 2019-09-05T01:36:07Z jack-thomas: And do I need to read something to avoid gotcha's like this in the future or what do I do lol 2019-09-05T01:36:16Z jack-thomas: Sorry if that is such a helpless question 2019-09-05T01:36:18Z Bike: sure. so, you're doing like (compile-file "foo.lisp") or something, right? maybe indirectly through emacs. 2019-09-05T01:36:24Z jack-thomas: Yes 2019-09-05T01:36:39Z Bike: what that does is you know, compile the file, it produces a compiled file. Then you (load "foo.fasl") and that loads the compiled file. 2019-09-05T01:36:47Z jack-thomas: Perfect thanks 2019-09-05T01:36:49Z Bike: "load time" is stuff that happens during load, "compile time" is stuff that happens during compile 2019-09-05T01:37:00Z Bike: when you compile a file you don't actually execute the code in it 2019-09-05T01:37:13Z Bike: like if you have a file with just (print 'x) in it or something, it won't actually print until you load the file 2019-09-05T01:37:25Z Bike: similarly, in your file the defstruct won't actually be executed until you load the file 2019-09-05T01:37:25Z jack-thomas: Right haha. Thanks for the breakdown 2019-09-05T01:37:37Z jack-thomas: WHy is that though 2019-09-05T01:37:45Z Bike: Why is what? 2019-09-05T01:37:53Z jack-thomas: Oh shit nvm 2019-09-05T01:38:14Z Bike: Ok so anyway, defconstant is allowed to actually evaluate the constant at compile time, and evidently in your implementation it's trying to do so. 2019-09-05T01:38:26Z Bike: But it can't, because the defstruct hasn't actually been executed. Thus, problems. 2019-09-05T01:38:45Z jack-thomas: Yeah that makes sense. I guess that part is the only weird part. 2019-09-05T01:41:07Z Bike: it's a little unusual. 2019-09-05T01:41:32Z Bike: the way you can deal with it is using the eval-when operator to force the compiler to evaluate things. 2019-09-05T01:41:46Z Bike: but in this case you'd probably run into other issues because of how defconstant works if evaluated repeatedly 2019-09-05T01:45:45Z iskander quit (Ping timeout: 268 seconds) 2019-09-05T01:47:02Z akoana left #lisp 2019-09-05T01:48:11Z ahungry joined #lisp 2019-09-05T01:52:26Z pjb: jack-thomas: use eval-when 2019-09-05T01:52:45Z pjb: and defparameter instead of defconstant. 2019-09-05T01:57:37Z jeosol joined #lisp 2019-09-05T01:58:26Z skibo quit (Quit: WeeChat 2.3) 2019-09-05T01:58:53Z skibo joined #lisp 2019-09-05T01:59:24Z jack-thomas: pjb: I will look into that, I appreciate it. Bike: you the best, thanks for giving me the right words. I'm trying to wrap my head around what compiling really means in CL. It looks like compiling is not the process of translating source code into native instructions, like I used to assume 2019-09-05T01:59:44Z iskander joined #lisp 2019-09-05T02:00:54Z anewuser joined #lisp 2019-09-05T02:01:12Z pjb: jack-thomas: yes, it is this. But like loading, it's done one form at a time. Notably, some parts of some forms can be evaluated while compiling. Notably, macros are expanded at compilation-time (ie. macro functions are called). 2019-09-05T02:02:09Z pjb: jack-thomas: that said, you are probably doing something wrong when wanting to load your structure definition into the compiler to instantiate structure instance at compilation-time. You most probably don't want to do that. 2019-09-05T02:02:36Z pjb: jack-thomas: first, don't use defconstant. Your problem probably comes from this error. 2019-09-05T02:03:04Z semz quit (Ping timeout: 264 seconds) 2019-09-05T02:03:23Z pjb: defconstant is designed to let the compiler inline some literal values into the code. It can be useful only on values that can ACTUALLY be immediate values in the native code. Ie. small integers, and that's it. 2019-09-05T02:04:01Z pjb: (this is why the expression of the value of the constant has to be evaluated at compilation time). 2019-09-05T02:04:12Z Bike: not necessarily. that's most of the process in most implementations, though. 2019-09-05T02:04:35Z Bike: but lisp lets you put arbitrary objects in compiled code, and execute arbitrary effects while compiling. 2019-09-05T02:04:41Z pjb: Even trying to use constant variables in CASE clauses doesn't work: defconstant is not designed for that! 2019-09-05T02:05:09Z pjb: Bike: Yes, it does. But this is advanced stuff, that you do if you really want to develop a compiler plug-in. 2019-09-05T02:05:30Z pjb: Anyway, don't use defconstant, it doesn't do what you think. 2019-09-05T02:06:55Z skibo quit (Quit: WeeChat 2.3) 2019-09-05T02:07:16Z Jeanne-Kamikaze joined #lisp 2019-09-05T02:07:19Z skibo joined #lisp 2019-09-05T02:08:23Z jack-thomas: pjb: Is there a recognized way to make a special variable final? 2019-09-05T02:08:46Z papachan quit (Ping timeout: 245 seconds) 2019-09-05T02:12:47Z skibo quit (Quit: WeeChat 2.3) 2019-09-05T02:13:45Z pjb: jack-thomas: not a CL notion. But you can define symbol macros. 2019-09-05T02:15:27Z skibo joined #lisp 2019-09-05T02:15:32Z semz joined #lisp 2019-09-05T02:27:19Z jack-thomas quit (Ping timeout: 246 seconds) 2019-09-05T02:31:18Z saravia quit (Ping timeout: 245 seconds) 2019-09-05T02:31:40Z FreeBirdLjj joined #lisp 2019-09-05T02:33:25Z karlosz joined #lisp 2019-09-05T02:35:50Z jack-thomas joined #lisp 2019-09-05T02:36:16Z FreeBirdLjj quit (Ping timeout: 245 seconds) 2019-09-05T02:36:31Z notzmv quit (Remote host closed the connection) 2019-09-05T02:37:01Z makomo_ joined #lisp 2019-09-05T02:37:17Z smazga joined #lisp 2019-09-05T02:39:36Z makomo quit (Ping timeout: 245 seconds) 2019-09-05T02:39:52Z White_Flame: jack-thomas: btw, if you want to solve your original problem, put the defstruct in a file that's loaded before the one with your defconstant 2019-09-05T02:40:03Z jack-thomas quit (Ping timeout: 245 seconds) 2019-09-05T02:40:11Z White_Flame: ...and timed out 2019-09-05T02:40:40Z smazga quit (Client Quit) 2019-09-05T02:40:46Z saravia joined #lisp 2019-09-05T02:42:58Z makomo_ quit (Ping timeout: 245 seconds) 2019-09-05T02:55:34Z saravia quit (Quit: Leaving) 2019-09-05T02:56:43Z orivej quit (Ping timeout: 246 seconds) 2019-09-05T02:59:26Z beach: Good morning everyone! 2019-09-05T03:00:07Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-05T03:00:43Z renzhi quit (Ping timeout: 258 seconds) 2019-09-05T03:05:56Z notzmv joined #lisp 2019-09-05T03:10:19Z makomo_ joined #lisp 2019-09-05T03:10:31Z orivej joined #lisp 2019-09-05T03:19:35Z lanu left #lisp 2019-09-05T03:24:16Z stux|RC-- quit (Quit: Aloha!) 2019-09-05T03:24:33Z stux|RC joined #lisp 2019-09-05T03:26:01Z astronavt quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2019-09-05T03:28:10Z astronavt joined #lisp 2019-09-05T03:28:17Z astronavt quit (Remote host closed the connection) 2019-09-05T03:29:44Z astronavt joined #lisp 2019-09-05T03:31:05Z astronavt quit (Remote host closed the connection) 2019-09-05T03:31:17Z astronavt joined #lisp 2019-09-05T03:31:58Z mindthelion quit (Ping timeout: 276 seconds) 2019-09-05T03:32:31Z astronavt quit (Remote host closed the connection) 2019-09-05T03:34:03Z astronavt joined #lisp 2019-09-05T03:35:19Z Bike quit (Quit: Lost terminal) 2019-09-05T03:35:31Z astronavt quit (Remote host closed the connection) 2019-09-05T03:43:39Z astronavt joined #lisp 2019-09-05T03:44:03Z drmeister: pjb: Thank you for your perspective on *debugger-hook* 2019-09-05T03:45:16Z astronavt quit (Remote host closed the connection) 2019-09-05T03:45:26Z astronavt joined #lisp 2019-09-05T03:46:13Z gravicappa joined #lisp 2019-09-05T03:47:39Z astronavt quit (Remote host closed the connection) 2019-09-05T03:50:41Z permagreen joined #lisp 2019-09-05T03:54:47Z marusich joined #lisp 2019-09-05T03:55:47Z schjetne joined #lisp 2019-09-05T03:59:12Z techquila joined #lisp 2019-09-05T04:00:48Z schjetne quit (Ping timeout: 268 seconds) 2019-09-05T04:06:33Z Involuntary joined #lisp 2019-09-05T04:08:48Z Jeanne-Kamikaze quit (Ping timeout: 245 seconds) 2019-09-05T04:10:19Z marusich quit (Ping timeout: 276 seconds) 2019-09-05T04:14:03Z astronavt joined #lisp 2019-09-05T04:18:57Z Kundry_Wag joined #lisp 2019-09-05T04:23:21Z Kundry_Wag quit (Ping timeout: 245 seconds) 2019-09-05T04:25:28Z makomo_ quit (Ping timeout: 268 seconds) 2019-09-05T04:27:48Z Involuntary quit (Quit: Leaving) 2019-09-05T04:28:12Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-05T04:32:28Z FreeBirdLjj joined #lisp 2019-09-05T04:33:17Z karlosz quit (Quit: karlosz) 2019-09-05T04:36:53Z FreeBirdLjj quit (Ping timeout: 244 seconds) 2019-09-05T04:40:00Z Kundry_Wag joined #lisp 2019-09-05T04:44:35Z Kundry_Wag quit (Ping timeout: 258 seconds) 2019-09-05T04:45:28Z Necktwi quit (Ping timeout: 245 seconds) 2019-09-05T04:45:37Z Necktwi joined #lisp 2019-09-05T04:45:59Z libertyprime joined #lisp 2019-09-05T04:47:09Z Inline quit (Quit: Leaving) 2019-09-05T04:53:04Z dale quit (Quit: My computer has gone to sleep) 2019-09-05T04:56:22Z schjetne joined #lisp 2019-09-05T05:00:37Z schjetne quit (Ping timeout: 246 seconds) 2019-09-05T05:02:08Z froggey quit (Ping timeout: 245 seconds) 2019-09-05T05:04:02Z froggey joined #lisp 2019-09-05T05:05:14Z nanoz joined #lisp 2019-09-05T05:09:52Z sauvin joined #lisp 2019-09-05T05:15:52Z Fare quit (Ping timeout: 245 seconds) 2019-09-05T05:16:41Z jprajzne joined #lisp 2019-09-05T05:17:16Z ahungry quit (Remote host closed the connection) 2019-09-05T05:21:50Z paul0 quit (Ping timeout: 244 seconds) 2019-09-05T05:42:04Z scymtym quit (Ping timeout: 264 seconds) 2019-09-05T05:42:28Z ljavorsk_ joined #lisp 2019-09-05T05:44:44Z dddddd quit (Remote host closed the connection) 2019-09-05T05:52:24Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-05T05:54:11Z jeosol quit (Remote host closed the connection) 2019-09-05T05:55:30Z notzmv quit (Ping timeout: 268 seconds) 2019-09-05T06:01:15Z Kundry_Wag joined #lisp 2019-09-05T06:06:36Z Kundry_Wag quit (Ping timeout: 268 seconds) 2019-09-05T06:06:40Z notzmv joined #lisp 2019-09-05T06:11:03Z ljavorsk_ quit (Quit: Leaving) 2019-09-05T06:11:23Z ljavorsk joined #lisp 2019-09-05T06:11:57Z JohnMS_WORK joined #lisp 2019-09-05T06:13:27Z Kundry_Wag joined #lisp 2019-09-05T06:13:53Z karstensrage quit (Ping timeout: 250 seconds) 2019-09-05T06:18:08Z Kundry_Wag quit (Ping timeout: 258 seconds) 2019-09-05T06:19:10Z ljavorsk_ joined #lisp 2019-09-05T06:19:40Z ljavorsk quit (Quit: Leaving) 2019-09-05T06:19:40Z ljavorsk_ quit (Client Quit) 2019-09-05T06:19:55Z ljavorsk joined #lisp 2019-09-05T06:21:09Z varjag joined #lisp 2019-09-05T06:22:10Z frgo quit (Ping timeout: 246 seconds) 2019-09-05T06:23:44Z Guest20332 joined #lisp 2019-09-05T06:24:09Z anewuser quit (Quit: anewuser) 2019-09-05T06:27:03Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2019-09-05T06:28:26Z Necktwi quit (Quit: leaving) 2019-09-05T06:28:39Z Necktwi joined #lisp 2019-09-05T06:30:18Z JohnMS_WORK joined #lisp 2019-09-05T06:33:17Z FreeBirdLjj joined #lisp 2019-09-05T06:36:14Z SaganMan quit (Ping timeout: 244 seconds) 2019-09-05T06:37:34Z FreeBirdLjj quit (Ping timeout: 246 seconds) 2019-09-05T06:40:31Z varjag quit (Ping timeout: 268 seconds) 2019-09-05T06:42:13Z vlatkoB joined #lisp 2019-09-05T06:44:28Z vlatkoB_ joined #lisp 2019-09-05T06:47:33Z vlatkoB quit (Ping timeout: 245 seconds) 2019-09-05T06:52:18Z frgo joined #lisp 2019-09-05T06:57:12Z ltriant quit (Quit: leaving) 2019-09-05T06:59:14Z afterK joined #lisp 2019-09-05T07:01:22Z libertyprime quit (Quit: leaving) 2019-09-05T07:07:52Z scymtym joined #lisp 2019-09-05T07:08:55Z schjetne joined #lisp 2019-09-05T07:09:11Z bjorkint0sh joined #lisp 2019-09-05T07:09:21Z bjorkintosh quit (Ping timeout: 250 seconds) 2019-09-05T07:13:54Z nostoi joined #lisp 2019-09-05T07:14:57Z ggole joined #lisp 2019-09-05T07:19:43Z cosimone joined #lisp 2019-09-05T07:19:56Z varjag joined #lisp 2019-09-05T07:20:23Z ljavorsk quit (Quit: I'm out, bye) 2019-09-05T07:22:46Z ljavorsk joined #lisp 2019-09-05T07:23:12Z ljavorsk quit (Client Quit) 2019-09-05T07:23:28Z ljavorsk joined #lisp 2019-09-05T07:24:13Z ljavorsk quit (Client Quit) 2019-09-05T07:24:29Z ljavorsk joined #lisp 2019-09-05T07:26:09Z ljavorsk quit (Client Quit) 2019-09-05T07:26:35Z ljavorsk joined #lisp 2019-09-05T07:38:12Z cosimone quit (Quit: Leaving) 2019-09-05T07:38:32Z cosimone joined #lisp 2019-09-05T07:39:00Z cosimone quit (Remote host closed the connection) 2019-09-05T07:39:02Z makomo_ joined #lisp 2019-09-05T07:39:24Z cosimone joined #lisp 2019-09-05T07:39:26Z cosimone quit (Remote host closed the connection) 2019-09-05T07:39:45Z cosimone joined #lisp 2019-09-05T07:45:15Z ljavorsk quit (Quit: I'm out, bye) 2019-09-05T07:45:31Z ljavorsk joined #lisp 2019-09-05T07:49:06Z ljavorsk quit (Client Quit) 2019-09-05T07:49:21Z ljavorsk joined #lisp 2019-09-05T07:50:25Z ljavorsk quit (Client Quit) 2019-09-05T07:51:03Z ljavorsk joined #lisp 2019-09-05T07:52:19Z makomo_ is now known as makomo 2019-09-05T08:02:49Z hhdave joined #lisp 2019-09-05T08:04:04Z nostoi quit (Quit: Verlassend.) 2019-09-05T08:04:05Z heisig joined #lisp 2019-09-05T08:04:50Z frgo quit (Remote host closed the connection) 2019-09-05T08:10:28Z khisanth_ quit (Ping timeout: 245 seconds) 2019-09-05T08:16:24Z sunset_NOVA joined #lisp 2019-09-05T08:16:51Z hhdave_ joined #lisp 2019-09-05T08:16:58Z hhdave quit (Ping timeout: 246 seconds) 2019-09-05T08:16:58Z hhdave_ is now known as hhdave 2019-09-05T08:17:16Z sunset_NOVA quit (Client Quit) 2019-09-05T08:19:11Z Insanity_ joined #lisp 2019-09-05T08:22:48Z blandest joined #lisp 2019-09-05T08:23:58Z frgo joined #lisp 2019-09-05T08:24:14Z khisanth_ joined #lisp 2019-09-05T08:27:58Z frgo quit (Ping timeout: 245 seconds) 2019-09-05T08:30:29Z Kundry_Wag joined #lisp 2019-09-05T08:34:10Z FreeBirdLjj joined #lisp 2019-09-05T08:34:58Z Kundry_Wag quit (Ping timeout: 258 seconds) 2019-09-05T08:35:02Z frgo joined #lisp 2019-09-05T08:35:24Z frgo quit (Remote host closed the connection) 2019-09-05T08:35:43Z frgo joined #lisp 2019-09-05T08:38:46Z FreeBirdLjj quit (Ping timeout: 245 seconds) 2019-09-05T08:45:26Z Lord_of_Life quit (Ping timeout: 245 seconds) 2019-09-05T08:47:56Z orivej quit (Ping timeout: 245 seconds) 2019-09-05T08:48:28Z Lord_of_Life joined #lisp 2019-09-05T08:57:08Z dmiles quit (Ping timeout: 245 seconds) 2019-09-05T09:06:21Z no-defun-allowed: What's the easiest type of parser to implement? 2019-09-05T09:06:35Z beach: Recursive descent. 2019-09-05T09:06:40Z lavaflow quit (Ping timeout: 268 seconds) 2019-09-05T09:07:13Z beach: Different techniques have different restrictions. 2019-09-05T09:07:43Z beach: Recursive descent can't handle left recursion, for instance. 2019-09-05T09:07:47Z Shinmera: even easier: a parser that can only recognise constants. 2019-09-05T09:07:50Z no-defun-allowed: Would that work with particuarly complicated grammars? I'm new to parsing, but I'd like to parse an ASCII guitar tab (or any kind of n-dimensional "image", but that's what I have in mind). 2019-09-05T09:08:25Z beach: Oh, then that may be way simpler. 2019-09-05T09:08:25Z no-defun-allowed: Hm, well, I don't think there's much recursion there, so I should be safe. 2019-09-05T09:08:32Z beach: Yeah. 2019-09-05T09:08:47Z beach: Then I suggest "ad hoc" instead. 2019-09-05T09:09:00Z beach: Just write some code that recognizes it. 2019-09-05T09:09:14Z no-defun-allowed: Right then. 2019-09-05T09:09:36Z no-defun-allowed: Thanks. 2019-09-05T09:09:43Z beach: Sure. 2019-09-05T09:13:33Z cosimone quit (Remote host closed the connection) 2019-09-05T09:13:55Z cosimone joined #lisp 2019-09-05T09:15:53Z kajo quit (Ping timeout: 250 seconds) 2019-09-05T09:18:45Z no-defun-allowed: My biggest concern is since tablature isn't a very well specified format, I would have to be very lenient and the parser might become very large. Should I be less worried? 2019-09-05T09:21:35Z dmiles joined #lisp 2019-09-05T09:22:11Z dmiles quit (Read error: Connection reset by peer) 2019-09-05T09:22:46Z beach: I know nothing about the format, so I can't tell. But I suspect it is not hard. 2019-09-05T09:23:04Z edgar-rft: no-defun-allowed: music notation usually is intentionally sloppy to give the musician room for impovement according to his/he skill level. Just try out what you get, Lisp also gives you room for improvement. :-) 2019-09-05T09:24:19Z edgar-rft: In case of doubt: I know howto read guitar tabs (with my eyes) and can help at least with that. 2019-09-05T09:24:22Z dmiles joined #lisp 2019-09-05T09:24:39Z no-defun-allowed: Well, here is an example: https://coinsh.red/u/three-of-a-perfect-pair.text 2019-09-05T09:25:25Z no-defun-allowed: I've read a lot too, but I'm not sure how to start writing a program to read the format. 2019-09-05T09:27:29Z White_Flame: FORTH style postfix is the easiest "parser" to implement, if you're talking about executing a stream of instructions 2019-09-05T09:27:49Z White_Flame: it doesn't bother with an AST or anything, though, if you're looking for intermediate representations 2019-09-05T09:28:21Z Necktwi quit (Ping timeout: 245 seconds) 2019-09-05T09:29:03Z White_Flame: I don't think that standard notions of programming language parsing is going to be meaningful for ascii art, though 2019-09-05T09:29:04Z afterK quit (Quit: WeeChat 1.9) 2019-09-05T09:29:58Z AndrewYoung joined #lisp 2019-09-05T09:30:50Z White_Flame: there's absolutely no standards in tab, except for numbers meaning frets. Timing of notes, how repeats are represented, all the various annotations, are all completely ad hoc 2019-09-05T09:35:16Z beach: Isn't there a tablature format in MusicXML or a similar structured format? 2019-09-05T09:35:58Z White_Flame: yes, certain programs have their own specific format. But most guitar tab is literally ascii art trying to describe music in the tabber's own way 2019-09-05T09:36:12Z no-defun-allowed: ^^ 2019-09-05T09:36:19Z beach: Wow. 2019-09-05T09:36:50Z White_Flame: it became a thing long before modern graphical editors were conceived 2019-09-05T09:38:12Z White_Flame: and has in general been viewed as lesser than "real" sheet music, thus there being less commercial focus on it 2019-09-05T09:38:25Z zigpaw quit (Quit: Vanishing into darkness in 1..2..3...) 2019-09-05T09:39:01Z zigpaw joined #lisp 2019-09-05T09:39:30Z no-defun-allowed: I think the whole process of sharing guitar notation on the internet is fubar. There's at least 3 different websites for putting pseudostandardised formatted files (like Guitar Pro, MuseScore), and three dozen websites you should look at to have a good chance of finding text tab for a particular song, and half I believe are owned by one company that puts out a lot of bullshit. 2019-09-05T09:43:12Z edgar-rft: beach: Guitar tabs is an attempt for an ASCII-art-like repesentation for things musicians formely scribbled on paper. It's more like pictures than ASCII text and there is no standard except maybe that most guitars have 6 strings. :-) 2019-09-05T09:43:29Z White_Flame: no-defun-allowed: what's your goal for the information you'd wish to extract? 2019-09-05T09:44:52Z no-defun-allowed: The bare minimum I want to do is read off the bars, then reflow them so that they use whatever paper width I use better. 2019-09-05T09:45:30Z White_Flame: ah, then that should be pretty doable without much parsing at all 2019-09-05T09:45:47Z White_Flame: basically, you want to take a block of lines and put them at the end of a previous block of lines 2019-09-05T09:46:09Z White_Flame: regardless even of their content 2019-09-05T09:46:30Z no-defun-allowed: But then I'm not sure how else I'll need to backscratch, so parsing the art into some nice representation would be better in the long run. 2019-09-05T09:47:44Z Kundry_Wag joined #lisp 2019-09-05T09:47:49Z White_Flame: especially because it's all monospace-aligned, I think you'd want to keep it as blind strings of text. If you parse them into other stuff, you'd have to deal with realigning output vertically again 2019-09-05T09:48:19Z White_Flame: even things like the chord & time signature notes above them, should retain their spacing, etc 2019-09-05T09:49:17Z White_Flame: and things like trampling Esus then Em into "EsuEm" because of lack of spacing is going to be horrible to try to unpack, unless you're just making tool code for this particular file 2019-09-05T09:49:24Z White_Flame: I've personally never seen that before 2019-09-05T09:49:44Z no-defun-allowed: From past experiences with some proper sheet music editors, they like to pin labels to notes to make the output expectable. 2019-09-05T09:50:02Z stepnem_ joined #lisp 2019-09-05T09:50:04Z no-defun-allowed: Yeah, I think the author ran out of horizontal space and gave up there. 2019-09-05T09:50:22Z Necktwi joined #lisp 2019-09-05T09:50:22Z stepnem quit (Read error: Connection reset by peer) 2019-09-05T09:50:29Z edgar-rft: no-defun-allowed: have you eve looked at lilypond? They're using a mix of TeX and Scheme to repesent music. Lilypond also has suppot for guitar chords, both as Text and fretboad images like here -> http://lilypond.org/doc/v2.18/Documentation/notation/predefined-fretboard-diagrams.en.html 2019-09-05T09:50:32Z White_Flame: well, the horizontal width is arbitrary to how much complexity is in a line 2019-09-05T09:50:54Z White_Flame: the author just didn't feel like making it wider since the notes themselves didn't warrant it, though they did so where the notes did 2019-09-05T09:52:11Z edgar-rft: sorry, my #%$§! R-key is still broken 2019-09-05T09:54:38Z blandest left #lisp 2019-09-05T09:58:31Z JohnMS_WORK quit (Read error: Connection reset by peer) 2019-09-05T09:58:48Z JohnMS_WORK joined #lisp 2019-09-05T09:58:50Z cosimone quit (Quit: Leaving) 2019-09-05T10:00:24Z AndrewYoung quit (Quit: ERC (IRC client for Emacs 25.2.2)) 2019-09-05T10:00:45Z AndrewYoung joined #lisp 2019-09-05T10:01:06Z awolven quit (Ping timeout: 252 seconds) 2019-09-05T10:07:06Z nanoz quit (Ping timeout: 245 seconds) 2019-09-05T10:10:02Z libertyprime joined #lisp 2019-09-05T10:22:01Z nanoz joined #lisp 2019-09-05T10:22:38Z SaganMan joined #lisp 2019-09-05T10:23:17Z SaganMan: Morning beach! 2019-09-05T10:25:43Z Kaisyu7 quit (Quit: ERC (IRC client for Emacs 26.2)) 2019-09-05T10:33:34Z Shinmera: I recently changed some policies about my libraries and projects. I thought they might be of general interest. https://reader.tymoon.eu/article/377 2019-09-05T10:34:59Z FreeBirdLjj joined #lisp 2019-09-05T10:37:15Z ljavorsk quit (Ping timeout: 258 seconds) 2019-09-05T10:39:35Z FreeBirdLjj quit (Ping timeout: 244 seconds) 2019-09-05T10:39:53Z orivej joined #lisp 2019-09-05T10:48:53Z Kundry_Wag quit (Ping timeout: 244 seconds) 2019-09-05T10:51:12Z cosimone joined #lisp 2019-09-05T10:54:10Z manualcrank joined #lisp 2019-09-05T10:55:06Z cosimone quit (Client Quit) 2019-09-05T10:58:50Z JohnMS joined #lisp 2019-09-05T11:01:59Z JohnMS_WORK quit (Ping timeout: 268 seconds) 2019-09-05T11:12:39Z v88m quit (Ping timeout: 244 seconds) 2019-09-05T11:13:07Z JohnMS_WORK joined #lisp 2019-09-05T11:14:09Z SaganMan quit (Quit: WeeChat 1.6) 2019-09-05T11:14:28Z JohnMS quit (Ping timeout: 264 seconds) 2019-09-05T11:28:14Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2019-09-05T11:28:22Z EvW1 joined #lisp 2019-09-05T11:28:41Z amerlyq joined #lisp 2019-09-05T11:30:10Z frgo quit (Ping timeout: 258 seconds) 2019-09-05T11:30:15Z FreeBirdLjj joined #lisp 2019-09-05T11:32:33Z ironbutt joined #lisp 2019-09-05T11:33:50Z Necktwi quit (Ping timeout: 244 seconds) 2019-09-05T11:34:43Z FreeBirdLjj quit (Ping timeout: 246 seconds) 2019-09-05T11:40:52Z Necktwi joined #lisp 2019-09-05T11:42:40Z EvW1 quit (Ping timeout: 264 seconds) 2019-09-05T11:48:19Z xkapastel joined #lisp 2019-09-05T11:50:00Z mindCrime joined #lisp 2019-09-05T11:50:53Z thijso: Shinmera: thanks for sharing. I like the changes you've made. I've been meaning to ask, the pictures you have accompanying your posts: are they made by you? 2019-09-05T11:55:58Z lucasb joined #lisp 2019-09-05T12:01:56Z paul0 joined #lisp 2019-09-05T12:04:10Z Shinmera: Most of them are not, no. 2019-09-05T12:06:56Z Lord_of_Life quit (Max SendQ exceeded) 2019-09-05T12:07:29Z Lord_of_Life joined #lisp 2019-09-05T12:09:10Z Shinmera: I have a pretty distinct style, so it shouldn't be difficult to see which are mine and which aren't. 2019-09-05T12:18:40Z Fare joined #lisp 2019-09-05T12:25:51Z Fare quit (Ping timeout: 245 seconds) 2019-09-05T12:26:15Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-05T12:30:08Z Kaisyu quit (Quit: Connection closed for inactivity) 2019-09-05T12:35:21Z elinow joined #lisp 2019-09-05T12:40:03Z Bike joined #lisp 2019-09-05T12:46:10Z bjorkint0sh quit (Quit: Leaving) 2019-09-05T12:46:19Z bjorkintosh joined #lisp 2019-09-05T12:47:12Z yoeljacobsen joined #lisp 2019-09-05T12:52:40Z alexanderbarbosa quit (Remote host closed the connection) 2019-09-05T12:53:04Z protokaryote joined #lisp 2019-09-05T12:57:42Z scymtym quit (Remote host closed the connection) 2019-09-05T13:02:55Z libertyprime quit (Quit: leaving) 2019-09-05T13:09:38Z shifty quit (Ping timeout: 268 seconds) 2019-09-05T13:11:00Z dddddd joined #lisp 2019-09-05T13:13:47Z cosimone joined #lisp 2019-09-05T13:17:29Z bitmapper joined #lisp 2019-09-05T13:21:54Z Ricchi joined #lisp 2019-09-05T13:22:15Z Ricchi quit (Remote host closed the connection) 2019-09-05T13:22:33Z Ricchi joined #lisp 2019-09-05T13:23:13Z cosimone quit (Remote host closed the connection) 2019-09-05T13:31:06Z FreeBirdLjj joined #lisp 2019-09-05T13:32:48Z Achylles joined #lisp 2019-09-05T13:35:26Z FreeBirdLjj quit (Ping timeout: 245 seconds) 2019-09-05T13:39:38Z frgo joined #lisp 2019-09-05T13:48:00Z protokaryote quit (Quit: protokaryote) 2019-09-05T13:49:19Z heisig quit (Quit: Leaving) 2019-09-05T13:54:19Z protokaryote joined #lisp 2019-09-05T13:54:24Z protokaryote quit (Client Quit) 2019-09-05T13:58:18Z dale_ joined #lisp 2019-09-05T13:58:32Z dale_ is now known as dale 2019-09-05T14:00:10Z frgo quit (Remote host closed the connection) 2019-09-05T14:00:28Z v88m joined #lisp 2019-09-05T14:00:36Z papachan joined #lisp 2019-09-05T14:02:52Z minion quit (Remote host closed the connection) 2019-09-05T14:03:00Z minion joined #lisp 2019-09-05T14:05:13Z jprajzne quit (Ping timeout: 244 seconds) 2019-09-05T14:06:28Z jprajzne joined #lisp 2019-09-05T14:08:29Z yoeljacobsen quit (Ping timeout: 258 seconds) 2019-09-05T14:08:46Z makomo quit (Ping timeout: 245 seconds) 2019-09-05T14:09:47Z Kundry_Wag joined #lisp 2019-09-05T14:10:23Z orivej quit (Ping timeout: 244 seconds) 2019-09-05T14:11:23Z makomo joined #lisp 2019-09-05T14:13:14Z kaun_ joined #lisp 2019-09-05T14:13:48Z kaun_ left #lisp 2019-09-05T14:14:31Z Kundry_Wag quit (Ping timeout: 244 seconds) 2019-09-05T14:15:41Z FreeBirdLjj joined #lisp 2019-09-05T14:16:14Z orivej joined #lisp 2019-09-05T14:16:19Z bitmapper quit 2019-09-05T14:25:42Z red-dot joined #lisp 2019-09-05T14:25:53Z notzmv quit (Ping timeout: 245 seconds) 2019-09-05T14:26:41Z orivej quit (Ping timeout: 245 seconds) 2019-09-05T14:36:28Z yoeljacobsen joined #lisp 2019-09-05T14:39:50Z Necktwi quit (Remote host closed the connection) 2019-09-05T14:41:35Z frgo joined #lisp 2019-09-05T14:41:45Z pjb: White_Flame: nonetheless, there exist several textual parsers working in 2D; for example HAL/S, and ascii-art mathematical expression parsers. 2019-09-05T14:42:44Z pjb: White_Flame: also, usual parsing techniques have been applied to other domains than language parsing, including computer vision ! (eg. reconsititution of symbolic 3D model of scenes). 2019-09-05T14:43:12Z pjb: White_Flame: (in this case, the tokens used were the line intersections). 2019-09-05T14:48:30Z pjb: Shinmera: AFAIK, a license clause that forbids claiming credit makes it a non-free licence. 2019-09-05T14:49:05Z Shinmera: I mean claiming credit for things you have not done. Just red the license. 2019-09-05T14:49:11Z Shinmera: *read 2019-09-05T14:50:57Z pjb: But it's ok as an open source license. 2019-09-05T14:51:46Z smazga joined #lisp 2019-09-05T14:51:57Z EvW joined #lisp 2019-09-05T14:52:55Z pjb: Shinmera: it's a Reversed FQDN, not a FQDN ;-) 2019-09-05T14:55:26Z yoeljacobsen quit (Ping timeout: 245 seconds) 2019-09-05T14:57:09Z Oladon_work joined #lisp 2019-09-05T14:58:37Z pjb: Shinmera: is there not a *features* for local nicknames? You should prefix your local nicknames clauses with a #+… 2019-09-05T14:59:52Z Shinmera: That would just delay the failures. 2019-09-05T15:03:19Z schjetne quit (Ping timeout: 246 seconds) 2019-09-05T15:03:38Z pjb: But using local nicknames is purely cosmetic, so their absence should not break your software. 2019-09-05T15:03:50Z pjb: They should be left to the final code, just like nicknames. 2019-09-05T15:05:15Z aautcsh joined #lisp 2019-09-05T15:05:50Z aautcsh quit (Client Quit) 2019-09-05T15:08:43Z Shinmera: If you want to write your libraries prefixing every symbol of another package with a huge, cluttering name, go ahead. I won't. 2019-09-05T15:11:09Z orivej joined #lisp 2019-09-05T15:12:14Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-05T15:13:43Z FreeBirdLjj joined #lisp 2019-09-05T15:15:36Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-05T15:15:53Z FreeBirdLjj joined #lisp 2019-09-05T15:17:30Z papachan quit (Quit: Leaving) 2019-09-05T15:20:58Z rippa joined #lisp 2019-09-05T15:21:02Z Achylles quit (Remote host closed the connection) 2019-09-05T15:21:52Z lavaflow joined #lisp 2019-09-05T15:23:30Z Kevslinger quit (Quit: Connection closed for inactivity) 2019-09-05T15:23:48Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.2)) 2019-09-05T15:26:23Z EvW quit (Ping timeout: 250 seconds) 2019-09-05T15:27:47Z renzhi joined #lisp 2019-09-05T15:40:22Z EvW joined #lisp 2019-09-05T15:40:36Z remexre: kinda weird question -- is there a way to tell if a keyword argument is passed, when nil is a valid value that I want to handle separately from "not present" 2019-09-05T15:41:00Z remexre: rigt now I'm doing &key (foo 'not-present) and having logic to test for that instead of nil, but it's gross 2019-09-05T15:41:25Z schweers: remexre: &key (foo default foo-present-p) 2019-09-05T15:42:05Z schweers: I believe this works the same for keyword and optional arguments. 2019-09-05T15:42:18Z pjb: Yes. 2019-09-05T15:42:38Z remexre: oh, sweet; thanks! 2019-09-05T15:43:12Z pjb: For &key, you can choose a different symbol name for the keyword and the parameter: (defun f (&key ((:bar foo) 'default foo-present-p)) (list foo foo-present-p)) (f) #| --> (default nil) |# (f :bar 42) #| --> (42 t) |# 2019-09-05T15:43:18Z remexre: does CLHS not mention this at all in 03_dad.htm, or am I bad at reading :| 2019-09-05T15:43:55Z pjb: It's explained in lambda lists: http://www.lispworks.com/documentation/HyperSpec/Body/03_d.htm 2019-09-05T15:45:13Z pjb: Right, the supplied-p-parameter is explained in http://www.lispworks.com/documentation/HyperSpec/Body/03_da.htm 2019-09-05T15:45:16Z schweers: Cool, I didn’t know about separating the name from the keyword 2019-09-05T15:45:46Z pjb: schweers: and notice that they &key keyword can be a normal symbol. (then you have to quote it of course) 2019-09-05T15:46:01Z pjb: (defun f (&key ((bar foo) 'default foo-present-p)) (list foo foo-present-p)) #| --> f |# (f 'bar 42) #| --> (42 t) |# 2019-09-05T15:46:28Z schweers: Never gave that much thought, but now that I think of it, it does seem logical. 2019-09-05T15:46:53Z pjb: useful if you have several different bars, they can come from different packages. (f 'fish:bar 'fishy 'measure:bar 42 'steel:bar 'string) ;-) 2019-09-05T15:54:01Z renzhi quit (Quit: WeeChat 2.3) 2019-09-05T15:55:16Z EvW quit (Ping timeout: 264 seconds) 2019-09-05T15:55:21Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-05T15:55:57Z FreeBirdLjj joined #lisp 2019-09-05T16:00:27Z FreeBirdLjj quit (Ping timeout: 268 seconds) 2019-09-05T16:03:13Z moldybits quit (Quit: WeeChat 2.4) 2019-09-05T16:05:33Z elinow quit (Read error: Connection reset by peer) 2019-09-05T16:06:42Z Nomenclatura joined #lisp 2019-09-05T16:07:22Z papachan joined #lisp 2019-09-05T16:18:27Z cosimone joined #lisp 2019-09-05T16:19:13Z scymtym joined #lisp 2019-09-05T16:25:38Z Kevslinger joined #lisp 2019-09-05T16:30:15Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-05T16:30:35Z nostoi joined #lisp 2019-09-05T16:31:39Z hhdave quit (Quit: hhdave) 2019-09-05T16:32:47Z maxxcan joined #lisp 2019-09-05T16:36:58Z Kundry_Wag joined #lisp 2019-09-05T16:49:24Z Kundry_Wag quit (Remote host closed the connection) 2019-09-05T16:50:39Z Kundry_W_ joined #lisp 2019-09-05T16:50:43Z Kundry_W_ quit (Remote host closed the connection) 2019-09-05T16:50:50Z Kundry_W_ joined #lisp 2019-09-05T16:54:34Z Kundry_W_ quit (Remote host closed the connection) 2019-09-05T16:55:05Z red-dot joined #lisp 2019-09-05T16:55:46Z Kundry_Wag joined #lisp 2019-09-05T16:58:35Z papachan quit (Quit: Leaving) 2019-09-05T17:00:16Z Kundry_Wag quit (Ping timeout: 268 seconds) 2019-09-05T17:07:51Z Kundry_Wag joined #lisp 2019-09-05T17:10:25Z Kundry_Wag quit (Remote host closed the connection) 2019-09-05T17:11:09Z Kundry_Wag joined #lisp 2019-09-05T17:11:32Z Kundry_Wag quit (Remote host closed the connection) 2019-09-05T17:13:36Z Kundry_Wag joined #lisp 2019-09-05T17:14:13Z jdz quit (Ping timeout: 246 seconds) 2019-09-05T17:15:59Z ravenousmoose joined #lisp 2019-09-05T17:17:31Z Kundry_Wag quit (Remote host closed the connection) 2019-09-05T17:17:46Z fynzh[m] joined #lisp 2019-09-05T17:18:38Z jackdaniel: https://files.mastodon.social/media_attachments/files/018/554/072/original/b580c24032c9c573.png :) 2019-09-05T17:29:56Z nostoi quit (Quit: Verlassend) 2019-09-05T17:29:57Z Folkol quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2019-09-05T17:30:02Z yoeljacobsen joined #lisp 2019-09-05T17:33:54Z Insanity_ quit (Quit: Connection closed for inactivity) 2019-09-05T17:39:49Z maxxcan quit (Quit: maxxcan) 2019-09-05T17:43:50Z LiamH joined #lisp 2019-09-05T17:50:02Z cosimone quit (Quit: Leaving) 2019-09-05T18:14:07Z EvW joined #lisp 2019-09-05T18:19:02Z ravenousmoose quit (Ping timeout: 252 seconds) 2019-09-05T18:21:35Z jdz joined #lisp 2019-09-05T18:24:41Z sauvin quit (Read error: Connection reset by peer) 2019-09-05T18:30:34Z Nomenclatura quit (Quit: q) 2019-09-05T18:49:08Z cosimone joined #lisp 2019-09-05T18:53:33Z cosimone quit (Client Quit) 2019-09-05T18:58:07Z ravenousmoose joined #lisp 2019-09-05T18:59:02Z skibo quit (Quit: WeeChat 2.3) 2019-09-05T18:59:30Z skibo joined #lisp 2019-09-05T19:00:47Z ggole quit (Quit: Leaving) 2019-09-05T19:09:23Z Oladon_work quit (Ping timeout: 260 seconds) 2019-09-05T19:13:01Z EvW quit (Ping timeout: 250 seconds) 2019-09-05T19:17:43Z ravenousmoose quit (Ping timeout: 276 seconds) 2019-09-05T19:17:54Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-05T19:20:45Z vlatkoB_ quit (Remote host closed the connection) 2019-09-05T19:23:09Z yoeljacobsen quit (Ping timeout: 244 seconds) 2019-09-05T19:23:09Z X-Scale quit (Read error: Connection reset by peer) 2019-09-05T19:23:26Z scymtym quit (Ping timeout: 250 seconds) 2019-09-05T19:28:14Z stepnem_ is now known as stepnem 2019-09-05T19:30:44Z kajo joined #lisp 2019-09-05T19:35:30Z iovec joined #lisp 2019-09-05T19:35:50Z Tordek_ is now known as Tordek 2019-09-05T19:36:22Z cosimone joined #lisp 2019-09-05T19:36:42Z Tordek quit (Quit: leaving) 2019-09-05T19:36:46Z EvW joined #lisp 2019-09-05T19:36:54Z Tordek joined #lisp 2019-09-05T19:49:56Z sonologico joined #lisp 2019-09-05T19:52:09Z cosimone quit (Remote host closed the connection) 2019-09-05T19:52:33Z cosimone joined #lisp 2019-09-05T19:57:40Z permagreen quit (Remote host closed the connection) 2019-09-05T19:58:16Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-05T20:03:46Z gravicappa quit (Ping timeout: 245 seconds) 2019-09-05T20:08:04Z pok joined #lisp 2019-09-05T20:20:27Z Achylles joined #lisp 2019-09-05T20:28:27Z xkapastel joined #lisp 2019-09-05T20:33:37Z bitmapper joined #lisp 2019-09-05T20:39:01Z amerlyq quit (Quit: amerlyq) 2019-09-05T20:40:04Z awolven joined #lisp 2019-09-05T20:47:01Z Lord_of_Life quit (Ping timeout: 246 seconds) 2019-09-05T20:49:03Z Lord_of_Life joined #lisp 2019-09-05T20:51:43Z Achylles quit (Remote host closed the connection) 2019-09-05T21:04:08Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-05T21:06:04Z techquila quit (Ping timeout: 264 seconds) 2019-09-05T21:11:52Z orivej quit (Ping timeout: 246 seconds) 2019-09-05T21:12:26Z arduo joined #lisp 2019-09-05T21:17:16Z anewuser joined #lisp 2019-09-05T21:20:42Z gareppa joined #lisp 2019-09-05T21:22:06Z mindCrime quit (Ping timeout: 245 seconds) 2019-09-05T21:27:10Z scymtym joined #lisp 2019-09-05T21:28:41Z mindCrime joined #lisp 2019-09-05T21:31:48Z karlosz joined #lisp 2019-09-05T21:32:41Z Bike quit (Quit: Bike) 2019-09-05T21:33:21Z nanoz quit (Ping timeout: 245 seconds) 2019-09-05T21:37:49Z akoana joined #lisp 2019-09-05T21:41:53Z igemnace quit (Quit: WeeChat 2.5) 2019-09-05T21:41:54Z cosimone quit (Quit: Leaving) 2019-09-05T21:45:48Z bitmapper quit (Remote host closed the connection) 2019-09-05T21:49:23Z DrDuck: Is dependency directed backtracking possible through SCREAMER? 2019-09-05T21:55:40Z shifty joined #lisp 2019-09-05T21:59:29Z karlosz quit (Quit: karlosz) 2019-09-05T22:00:38Z teej quit (Quit: Connection closed for inactivity) 2019-09-05T22:05:26Z pok quit (Ping timeout: 245 seconds) 2019-09-05T22:05:37Z pok joined #lisp 2019-09-05T22:05:51Z khisanth_ quit (Ping timeout: 245 seconds) 2019-09-05T22:06:16Z khisanth_ joined #lisp 2019-09-05T22:06:40Z p9fn quit (Ping timeout: 264 seconds) 2019-09-05T22:06:57Z p9fn joined #lisp 2019-09-05T22:08:36Z mindCrime quit (Ping timeout: 268 seconds) 2019-09-05T22:12:12Z elderK quit (Quit: Connection closed for inactivity) 2019-09-05T22:16:57Z Bike joined #lisp 2019-09-05T22:18:38Z _jrjsmrtn quit (Quit: Bye !) 2019-09-05T22:18:53Z ltriant joined #lisp 2019-09-05T22:19:08Z mindCrime joined #lisp 2019-09-05T22:20:57Z orivej joined #lisp 2019-09-05T22:22:21Z __jrjsmrtn__ joined #lisp 2019-09-05T22:24:24Z iovec quit (Quit: Connection closed for inactivity) 2019-09-05T22:25:23Z gareppa quit (Quit: Leaving) 2019-09-05T22:26:41Z mindCrime quit (Ping timeout: 245 seconds) 2019-09-05T22:27:47Z mindCrime joined #lisp 2019-09-05T22:28:01Z makomo quit (Quit: WeeChat 2.4) 2019-09-05T22:28:55Z makomo joined #lisp 2019-09-05T22:35:41Z remexre: so I'm trying to load :cl-ncurses on Gentoo 2019-09-05T22:36:12Z remexre: gentoo's /usr/lib/libncurses.so is a real shared object, /usr/lib64/libncurses.so is a linker script for mysterious reasons 2019-09-05T22:36:43Z remexre: cl-ncurses has a defvar for the list of directories to search 2019-09-05T22:36:53Z remexre: is there any way to override that before/as it's loaded by quicklisp? 2019-09-05T22:38:21Z mindCrime quit (Ping timeout: 245 seconds) 2019-09-05T22:40:04Z arduo quit (Remote host closed the connection) 2019-09-05T22:42:00Z pjb: remexre: Are you sure the variable is in the package defined by cl-ncurses? 2019-09-05T22:42:19Z remexre: pretty sure 2019-09-05T22:43:01Z remexre: package.lisp is (in-package :cl-user) (defpackage ...) (in-package :cl-ncurses) (defvar *ncurses-search-paths* ...) 2019-09-05T22:43:10Z pjb: and which of the exported special variables of cl-ncurses would that be? *COLOR-PAIRS* *COLORS* *COLS* *CURSCR* *ECSDELAY* *LINES* *NEWSCR* *STDSCR* *TABSIZE* 2019-09-05T22:43:28Z remexre: it's not exported, as far as I can tell? 2019-09-05T22:43:37Z remexre: *ncurses-search-paths* 2019-09-05T22:44:02Z pjb: ok. But it's not exported :-( 2019-09-05T22:44:10Z pjb: In that case, you will have to define the package before loading the system. 2019-09-05T22:44:24Z remexre: ugh, and I'll need to specify all the exports too, won't I 2019-09-05T22:45:05Z pjb: (defpackage "CL-NCURSES" (:use) (:export "*NCURSES-SEARCH-PATHS*")) (defparameter CL-NCURSES:*NCURSES-SEARCH-PATHS* '(…)) (cl:quickload :cl-ncurses) 2019-09-05T22:45:11Z pjb: and pray they used defvar and not defparameter. 2019-09-05T22:45:35Z remexre: ya, it's defvar 2019-09-05T22:45:36Z awolven quit (Ping timeout: 258 seconds) 2019-09-05T22:45:36Z shifty quit (Ping timeout: 268 seconds) 2019-09-05T22:46:11Z pjb: remexre: send a bug report to upgrade from uffi to cffi… cffi has its own variable to searc for libraries. 2019-09-05T22:46:31Z remexre: ok 2019-09-05T22:46:42Z remexre: last release in '07 though... 2019-09-05T22:47:03Z pjb: send a patch along. 2019-09-05T22:47:17Z remexre: rip 2019-09-05T22:47:25Z pjb: IIRC, I provided a patch to cffi to deal with linker scripts. I don't know if it has been integrated. 2019-09-05T22:48:21Z remexre: oh, https://www.cliki.net/cl-charms 2019-09-05T22:48:23Z remexre: apparently someone else tried :P 2019-09-05T22:49:13Z pjb: I assume that you already knew and considerd cl-charms, since it's mentioned on https://cliki.net/CL-Ncurses 2019-09-05T22:51:20Z remexre: I literally googled "common lisp ncurses" and got https://www.common-lisp.net/project/cl-ncurses/ :P 2019-09-05T22:51:28Z remexre: yeah on consideration probably trying croatoan 2019-09-05T22:54:18Z taylor joined #lisp 2019-09-05T22:55:31Z smazga quit (Quit: leaving) 2019-09-05T22:57:41Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-05T23:05:43Z shifty joined #lisp 2019-09-05T23:14:51Z akoana left #lisp 2019-09-05T23:16:08Z LiamH quit (Quit: Leaving.) 2019-09-05T23:16:49Z shifty quit (Ping timeout: 246 seconds) 2019-09-05T23:17:16Z shifty joined #lisp 2019-09-05T23:17:49Z moldybits joined #lisp 2019-09-05T23:23:13Z Krystof quit (Ping timeout: 244 seconds) 2019-09-05T23:23:59Z awolven joined #lisp 2019-09-05T23:29:21Z aeth: Wow, generating basic HTML for me is only 22 lines, most of which are special cases to handle attributes as leading plists, e.g. (:a :href "https://example.com" "Example.com") 2019-09-05T23:29:58Z aeth: Well, there's one last special case (other than escaping characters like < and &) and that's handling forms like <br> 2019-09-05T23:30:14Z red-dot joined #lisp 2019-09-05T23:31:37Z alexanderbarbosa joined #lisp 2019-09-05T23:42:59Z reppie joined #lisp 2019-09-05T23:44:36Z x[LGWs4x4i]uG2N0 quit (Ping timeout: 245 seconds) 2019-09-05T23:46:03Z schjetne joined #lisp 2019-09-05T23:48:48Z shifty quit (Ping timeout: 245 seconds) 2019-09-05T23:49:10Z shifty joined #lisp 2019-09-05T23:50:25Z schjetne quit (Ping timeout: 246 seconds) 2019-09-05T23:59:06Z permagreen joined #lisp 2019-09-06T00:07:37Z kajo quit (Ping timeout: 276 seconds) 2019-09-06T00:10:03Z makomo quit (Ping timeout: 245 seconds) 2019-09-06T00:10:30Z DrDuck: ping Bike 2019-09-06T00:12:06Z Bike: hm? 2019-09-06T00:12:30Z DrDuck: Do you know if dependency directed backtracking is possible in SCREAMER? 2019-09-06T00:12:45Z Bike: i do not 2019-09-06T00:12:52Z kajo joined #lisp 2019-09-06T00:18:45Z zacts joined #lisp 2019-09-06T00:19:51Z EvW quit (Quit: EvW) 2019-09-06T00:29:23Z akoana joined #lisp 2019-09-06T00:34:00Z Ricchi quit (Remote host closed the connection) 2019-09-06T00:37:39Z White_Flame: DrDuck: reading through the docs, I don't really see any config for backtracking 2019-09-06T00:38:12Z White_Flame: I also don't understand the term "nondeterministic" as used there, as the choice points are in deterministic order and generally exhaustive 2019-09-06T00:39:07Z DrDuck: wonder how hard it would be to hack on screamer and add an option for dependency directed backtracking 2019-09-06T00:39:09Z LdBeth: (if (nd t nil) 1 2) => (nd 1 2) 2019-09-06T00:39:27Z DrDuck: or if that would be a bad idea and i should work on spinning something up myself first 2019-09-06T00:39:43Z White_Flame: LdBeth: yeah, but that's not what screamer seems to do, is it? 2019-09-06T00:39:44Z LdBeth: (if (nd t nil) 1 (if (nd t nil) 2 3)) => (nd 1 2 3) 2019-09-06T00:39:47Z DrDuck: "Second Screamer foregoes intelligent backtracking in favor of chronological backtracking. Experience has shown that the overhead of maintaining dependencies to support intelligent backtracking costs far more than the computation saved in most practical applications. We believe that chronological backtracking represented via nondeterminism is a useful programming paradigm when used properly. It is an important control 2019-09-06T00:39:47Z DrDuck: construct which adds signicant expressive power to CommonLisp making programs easier to write debug and understand." 2019-09-06T00:39:52Z DrDuck: from the SCREAMER paper 2019-09-06T00:40:15Z LdBeth: White_Flame: screamer does that 2019-09-06T00:40:44Z White_Flame: oh, right. But that's still deterministic as far as I understand the term 2019-09-06T00:40:49Z White_Flame: it's basically akin to a set of prolog results 2019-09-06T00:41:58Z LdBeth: it is called nd because there's a set of results rather than only one 2019-09-06T00:42:20Z White_Flame: yeah, with some googling it appears to have a specific CS definition as such 2019-09-06T00:42:55Z LdBeth: I'm not responseble for that term :-P 2019-09-06T00:43:08Z White_Flame: heh 2019-09-06T00:46:31Z schjetne joined #lisp 2019-09-06T00:48:03Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-06T00:50:51Z schjetne quit (Ping timeout: 245 seconds) 2019-09-06T00:51:34Z lalilulelo quit (Read error: Connection reset by peer) 2019-09-06T00:59:39Z akoana left #lisp 2019-09-06T00:59:56Z defaultxr joined #lisp 2019-09-06T01:04:25Z notzmv joined #lisp 2019-09-06T01:05:26Z Fare joined #lisp 2019-09-06T01:07:08Z lavaflow quit (Ping timeout: 245 seconds) 2019-09-06T01:09:20Z lavaflow joined #lisp 2019-09-06T01:16:08Z techquila joined #lisp 2019-09-06T01:16:38Z techquila quit (Remote host closed the connection) 2019-09-06T01:17:03Z techquila joined #lisp 2019-09-06T01:18:42Z Guest20332 left #lisp 2019-09-06T01:20:55Z reppie is now known as x[LGWs4x4i]uG2N0 2019-09-06T01:22:18Z karstensrage joined #lisp 2019-09-06T01:25:16Z alexanderbarbosa quit (Read error: Connection reset by peer) 2019-09-06T01:34:33Z Kaisyu7 joined #lisp 2019-09-06T01:35:02Z karlosz joined #lisp 2019-09-06T01:35:08Z karlosz quit (Remote host closed the connection) 2019-09-06T01:37:20Z anewuser quit (Ping timeout: 258 seconds) 2019-09-06T01:41:30Z anewuser joined #lisp 2019-09-06T01:44:10Z Fare quit (Ping timeout: 252 seconds) 2019-09-06T01:49:09Z Kaisyu joined #lisp 2019-09-06T01:56:27Z DrDuck quit 2019-09-06T01:56:54Z DrDuck joined #lisp 2019-09-06T02:02:28Z semz quit (Ping timeout: 264 seconds) 2019-09-06T02:09:36Z teej joined #lisp 2019-09-06T02:11:18Z techquila quit (Remote host closed the connection) 2019-09-06T02:14:00Z semz joined #lisp 2019-09-06T02:14:00Z semz quit (Changing host) 2019-09-06T02:14:00Z semz joined #lisp 2019-09-06T02:39:16Z aeth: So for all of the -7 people interested in my md->html side project, I decided to write my own HTML gen because of how concise my subset test was and it's still only 34 lines with most of the edge cases handled (I just need to escape <, >, and &, as well as " in attributes). s-expressions really do map pretty directly to XML-style languages. 2019-09-06T02:40:58Z aeth: This whole thing might just be doable in a weekend, although, to be fair, I've generated programming language strings before, which are way more complicated than web documents unless I added JS to the mix. 2019-09-06T02:43:57Z lemoinem quit (Killed (weber.freenode.net (Nickname regained by services))) 2019-09-06T02:43:59Z lemoinem joined #lisp 2019-09-06T02:52:14Z aeth: Oh no it's Thursday it doesn't count as a weekend because I started a day early. 2019-09-06T02:53:49Z orivej quit (Ping timeout: 246 seconds) 2019-09-06T03:02:23Z beach: Good morning everyone! 2019-09-06T03:08:45Z techquila joined #lisp 2019-09-06T03:11:16Z anewuser quit (Quit: anewuser) 2019-09-06T03:13:14Z shifty quit (Ping timeout: 268 seconds) 2019-09-06T03:13:22Z aeth: Good morning, beach 2019-09-06T03:20:23Z gxgx2 joined #lisp 2019-09-06T03:32:20Z gxgx2: (let (foo and) (if (foo t nil) (print "Success") (print "Failure"))) yields an undefined function FOO error. Is there a way to pull something like this off nicely? 2019-09-06T03:34:07Z Bike: you presumably mean (let ((foo and)) ...) 2019-09-06T03:34:08Z gxgx2: Originally, I was trying to pass the logical operators in as arguments to a function, but I don't know how to make a usable binding to them at all, 2019-09-06T03:34:12Z Bike: i mean, that won't work either 2019-09-06T03:34:31Z Bike: AND is a macro, so you can't really pass it around like you can with a function 2019-09-06T03:36:51Z aeth: gxgx2: for your specific example, maybe macrolet? (macrolet ((foo (&rest forms) `(and ,@forms))) (foo t nil)) => NIL ; replace and with or to get T 2019-09-06T03:37:20Z aeth: gxgx2: For your actual problem (arguments to a function) that's harder and any solution would be hackish. Maybe use a macro for that instead of possible? 2019-09-06T03:38:08Z aeth: (Afaik, the solutions would probably involve eval-ing or compiling each time you call the function, although that could be memoized.) 2019-09-06T03:40:12Z Bike: i mean practically speaking gxgx2 is probably just using them as functions 2019-09-06T03:40:54Z gxgx2: More or less attempting to, yeah 2019-09-06T03:41:05Z gxgx2: (logOp a b c) 2019-09-06T03:41:08Z gxgx2: is basically the actual use case 2019-09-06T03:41:15Z gxgx2: and I want to be able to pass in 'and or 'or for logOp 2019-09-06T03:42:31Z gxgx2: (if (equal logOp 'and) (and a b c) (or a b c)) works, but isn't a particularly nice solution and leads to a good bit of repeat code 2019-09-06T03:42:31Z Bike: and you're using logical operations, not bitwise, right? 2019-09-06T03:42:38Z gxgx2: Correct 2019-09-06T03:43:06Z Bike: (let ((foo (lambda (a b) (and a b)))) (if (funcall foo t nil) (print "Success") (print "Failure")) 2019-09-06T03:43:31Z poet joined #lisp 2019-09-06T03:46:39Z gxgx2: Hm. In my case, I know there will always be three arguments, so I could do (lambda (a b c) ...) but is there a more generalizable way that would mimic the syntax of and? Having to pass in a list would be non-ideal 2019-09-06T03:47:11Z Bike: (lambda (&rest args) (every #'identity args)) 2019-09-06T03:52:31Z permagreen quit (Remote host closed the connection) 2019-09-06T03:53:44Z ark quit (Read error: Connection reset by peer) 2019-09-06T03:55:47Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-06T03:57:31Z gxgx2: Bike, Much thanks. I should be able to adapt that to my purpose and the weird dialect I'm using 2019-09-06T03:58:13Z threefjord quit (Ping timeout: 246 seconds) 2019-09-06T03:58:24Z cyberlard quit (Ping timeout: 258 seconds) 2019-09-06T03:59:27Z red-dot joined #lisp 2019-09-06T03:59:54Z dddddd quit (Remote host closed the connection) 2019-09-06T04:00:15Z threefjord joined #lisp 2019-09-06T04:00:52Z cyberlard joined #lisp 2019-09-06T04:02:38Z beach: gxgx2: Dialect of what? 2019-09-06T04:03:40Z gxgx2: Lisp. I'm using Cadence SKILL, so things don't fully translate in a one-to-one fashion 2019-09-06T04:05:39Z beach: I see. 2019-09-06T04:14:15Z poet quit (Ping timeout: 250 seconds) 2019-09-06T04:14:53Z teej quit (Quit: Connection closed for inactivity) 2019-09-06T04:15:47Z Bike quit (Quit: Lost terminal) 2019-09-06T04:30:26Z gravicappa joined #lisp 2019-09-06T04:32:08Z tourjin joined #lisp 2019-09-06T04:34:37Z tourjin: if i wrote some functions in interpreter how I can see the codes I typed in ? 2019-09-06T04:35:02Z test1600 joined #lisp 2019-09-06T04:36:33Z beach: You shouldn't write code that way. You should have one window with source code and on with the SLIME REPL. Then you can send your code to the REPL with C-c C-c. And it is typically not an interpreter. It is an on-the-fly compiler. 2019-09-06T04:37:28Z aeth: In Emacs+SLIME, you do M-. and it'll take you to the location in the source file where it was defined. 2019-09-06T04:38:09Z tourjin: yes u said that yesterday. I'm still working on it. trying to install cygwin instead wsl. 2019-09-06T04:38:39Z aeth: https://github.com/portacle/portacle/ 2019-09-06T04:38:49Z tourjin: for now I only can use interpreter on windows 10. 2019-09-06T04:39:03Z beach: tourjin: Using "u" to mean "you" is frowned upon in this channel. 2019-09-06T04:39:24Z beach: tourjin: It is not an interpreter. 2019-09-06T04:41:13Z tourjin: beach: i see. thanks. sbcl command line is not an interpreter? 2019-09-06T04:41:22Z beach: No. 2019-09-06T04:41:51Z beach: We call it a REPL. Read-Eval-Print-Loop. And it is an on-the-fly compiler as I said. 2019-09-06T04:42:45Z beach: tourjin: The difference is important, because people associate "interpreter" with "slow" and they think Common Lisp must be slow because it has a REPL. 2019-09-06T04:43:05Z vaporatorius quit (Remote host closed the connection) 2019-09-06T04:43:59Z aeth: tourjin: Traditionally, Common Lisp was implemented with both an interpreter and a compiler, although sometimes the compiler is just a bytecode compiler. In the REPL (and a few other places), you would use the interpreter if you did (defun foo ()), but you could (compile 'foo) and then it would be compiled. Also, the files would be compiled. 2019-09-06T04:44:41Z aeth: tourjin: SBCL does have a separate interpreter iirc, but it is rarely used (and maybe it even got removed at this point) because by default its REPL actually compiles every line. This is good. It's fast enough that you don't notice the compilation, and you exercise the same codebase so there are no edge cases where the same code could do different things depending on if it was interpreted or compiled. 2019-09-06T04:44:49Z aeth: (Or even just be considerably faster if it was compiled vs. interpreted) 2019-09-06T04:45:31Z beach: aeth: That is not true: (compiled-function-p #'foo) => T 2019-09-06T04:45:59Z aeth: beach: In SBCL, yes. 2019-09-06T04:47:10Z aeth: Is that always the case? 2019-09-06T04:47:29Z beach: And that is what tourjin is using. So I was trying very hard to tell tourjin a simplified version of why Common Lisp is not slow. Now I am sure tourjin is completely confused. 2019-09-06T04:47:58Z aeth: Sorry if I wrote it in a confusing way. My first line was the "traditional expectation", i.e. what tourjin expects. My second line is what SBCL actually does. 2019-09-06T04:48:53Z aeth: My point was that the REPL probably used to be an interpreter in every original CL (although I'm not sure) back in the day when compilation was noticable, but it doesn't have to be anymore, and it isn't in SBCL. It just compiles every form. 2019-09-06T04:50:45Z tourjin: so you mean there is no way to see the function codes I typed in on sbcl * command line? 2019-09-06T04:53:32Z xantoz: no, because it only stores the compiled versions in RAM, iirc 2019-09-06T04:53:32Z aeth: I don't think that the source form gets saved with the function definition in the REPL, although I could be mistaken. Usually you start writing in the SLIME REPL and then after it gets big enough put it into a file, even a temporary file. And in SLIME you can just do a backwards history search by typing out (defun foo and then doing M-p (Alt+p) 2019-09-06T04:54:50Z aeth: If I had to get the definition, I would just do the backwards history search in SLIME, but that won't work in the bare terminal. Most people will use some feature-enhanced REPL 2019-09-06T04:55:36Z tourjin: ok i got it. probably that's why you told me do not use bare sbcl. 2019-09-06T04:57:42Z fengshaun: speaking of sbcl and repl, I have to figure out how to use slime efficiently 2019-09-06T04:58:21Z aeth: It's one of those things where you pick up a new command accidentally every now and then, or maybe set out to learn 10 in a short period, but you only ever scratch the surface. 2019-09-06T04:59:12Z fengshaun: thoughts so, I've just been sufficing to slime-eval-defun, but the repl is inconvenient, especially since I'm using evil-mode 2019-09-06T05:00:31Z nanoz joined #lisp 2019-09-06T05:02:03Z vlatkoB joined #lisp 2019-09-06T05:05:12Z nanoz quit (Client Quit) 2019-09-06T05:05:17Z jeosol joined #lisp 2019-09-06T05:07:28Z nanoz joined #lisp 2019-09-06T05:12:30Z ljavorsk joined #lisp 2019-09-06T05:20:32Z sauvin joined #lisp 2019-09-06T05:24:08Z yoeljacobsen joined #lisp 2019-09-06T05:28:23Z ggole joined #lisp 2019-09-06T05:33:13Z tourjin quit (Ping timeout: 268 seconds) 2019-09-06T05:35:06Z ljavorsk quit (Remote host closed the connection) 2019-09-06T05:35:35Z ljavorsk joined #lisp 2019-09-06T05:40:14Z Fare joined #lisp 2019-09-06T05:44:38Z paul0 quit (Ping timeout: 245 seconds) 2019-09-06T05:54:42Z gxgx2 quit (Remote host closed the connection) 2019-09-06T06:02:26Z marusich joined #lisp 2019-09-06T06:03:23Z marusich quit (Remote host closed the connection) 2019-09-06T06:04:08Z Fare quit (Ping timeout: 252 seconds) 2019-09-06T06:04:45Z chipolux quit (Ping timeout: 250 seconds) 2019-09-06T06:06:13Z JohnMS_WORK joined #lisp 2019-09-06T06:09:46Z dale quit (Quit: My computer has gone to sleep) 2019-09-06T06:12:15Z shifty joined #lisp 2019-09-06T06:14:27Z varjag joined #lisp 2019-09-06T06:19:14Z karswell joined #lisp 2019-09-06T06:28:25Z fiddlerwoaroof: I don't know if anyone here uses docker, but I've added an image with some useful functionality built in 2019-09-06T06:28:34Z fiddlerwoaroof: If you do docker run -ti fiddlerwoaroof/sbcl-static:1.5.6 you should get an sbcl repl 2019-09-06T06:29:35Z fiddlerwoaroof: And then something like this: (fwoar.repl-utils:github "Shinmera" "lquery") will clone a github repo into quicklisp's local-projects directory 2019-09-06T06:30:51Z SaganMan joined #lisp 2019-09-06T06:30:51Z frgo quit (Ping timeout: 246 seconds) 2019-09-06T06:30:51Z Krystof joined #lisp 2019-09-06T06:32:40Z fiddlerwoaroof: This can be used with the new github actions feature to run unit-tests, etc. inside github fairly easily: https://github.com/fiddlerwoaroof/cl-todo-backend/runs/208444978 2019-09-06T06:32:49Z test1600_ joined #lisp 2019-09-06T06:36:43Z test1600 quit (Ping timeout: 258 seconds) 2019-09-06T06:36:53Z fiddlerwoaroof: If you want to see what's going on "behind the scenes", the Docker setup is all here: https://github.com/fiddlerwoaroof/sbcl-workspace 2019-09-06T06:37:41Z yoeljacobsen quit (Ping timeout: 258 seconds) 2019-09-06T06:39:07Z ravenousmoose joined #lisp 2019-09-06T06:40:30Z teej joined #lisp 2019-09-06T06:43:21Z ljavorsk quit (Remote host closed the connection) 2019-09-06T06:43:45Z ravenousmoose quit (Ping timeout: 250 seconds) 2019-09-06T06:45:22Z shifty quit (Ping timeout: 268 seconds) 2019-09-06T06:45:30Z ljavorsk joined #lisp 2019-09-06T06:45:58Z shifty joined #lisp 2019-09-06T06:52:43Z jonatack: fiddlerwoaroof: nice 2019-09-06T06:55:49Z ltriant quit (Quit: leaving) 2019-09-06T06:56:08Z fiddlerwoaroof: Also, I put together a little demonstration of writing a web api Server in Common Lisp using ningle here: https://fiddlerwoaroof.github.io/cl-todo-backend/ it isn’t done yet, but I’ve been really pleased with .org-mode for this. 2019-09-06T06:59:12Z ljavorsk_ joined #lisp 2019-09-06T07:02:01Z ljavorsk quit (Ping timeout: 268 seconds) 2019-09-06T07:03:58Z ljavorsk_ quit (Remote host closed the connection) 2019-09-06T07:03:58Z jonatack: fiddlerwoaroof: Good to see. I've been moving to CL for my personal web things. Current one is to frequently pull down the GitHub data for the Bitcoin Core repo via their GraphQL API, 2019-09-06T07:04:02Z ljavorsk_ joined #lisp 2019-09-06T07:04:48Z makomo joined #lisp 2019-09-06T07:04:51Z jonatack: fiddlerwoaroof: archive it, ane tweet/toot selected items on twitter and mastodon to promote code review and reviewers. 2019-09-06T07:06:16Z fiddlerwoaroof: Cool, I'm a big fan of Lisp for webby stuff 2019-09-06T07:08:19Z fiddlerwoaroof: The most "real" project I have in Lisp at the moment is a library for writing slack bots: I use it to track jenkins builds at work and a couple other things, and it's pretty fun to fiddle with every once in a while 2019-09-06T07:08:31Z chipolux joined #lisp 2019-09-06T07:09:36Z jonatack: Yes. Same. So far have been using dexador, quri, and jsown for the http, uri, and json things. 2019-09-06T07:09:56Z fiddlerwoaroof: I use drakma/puri/yason :) 2019-09-06T07:10:26Z jonatack: Haha interesting :) 2019-09-06T07:11:02Z fiddlerwoaroof: although, I probably should be using quri, because I think puri is slightly incorrect in some of its details 2019-09-06T07:12:55Z jonatack: I reckoned quri would play well with dexador since both are by the same author. Using it for money-critical applications in https://github.com/jonatack/cl-kraken 2019-09-06T07:13:42Z frgo joined #lisp 2019-09-06T07:14:04Z fiddlerwoaroof: It's always interesting seeing what subset of CL someone uses 2019-09-06T07:14:14Z fiddlerwoaroof: I tend to a more CLOSy style then that code :) 2019-09-06T07:14:39Z fiddlerwoaroof: E.g. this: https://github.com/fiddlerwoaroof/cl-git 2019-09-06T07:15:20Z fiddlerwoaroof: I'm hoping to eventually write a github-type service in CL, so I've been slowly implementing readers for git's file formats 2019-09-06T07:15:57Z schjetne joined #lisp 2019-09-06T07:15:57Z jonatack: Fukumachi's or mine? I'm a beginner in CL after a decade in both assembly and Ruby so open to suggestions. 2019-09-06T07:16:11Z jonatack: Haven't used CLOS yet. 2019-09-06T07:16:25Z fiddlerwoaroof: I just browsed through your code quickly 2019-09-06T07:17:04Z _jrjsmrtn joined #lisp 2019-09-06T07:17:26Z __jrjsmrtn__ quit (Ping timeout: 268 seconds) 2019-09-06T07:17:28Z fiddlerwoaroof: If you haven't read them yet, you should skim PCL's chapters on CLOS and the condition system: they've really influenced a lot of my thinking about the FP vs. OOP debates 2019-09-06T07:19:34Z fiddlerwoaroof: But, defining your application as a set of protocols (collections of inter-operating generic functions) seems to me to be a really useful way to structure an application 2019-09-06T07:20:29Z jonatack: Thanks. I have all the books and am going through them sporadically. PCL is great, skimmed those chapters but need to assimilate them. 2019-09-06T07:20:38Z fiddlerwoaroof: CLOS sort of flips the way Ruby/Java etc. do OOP by putting the emphasis on generic functions (roughly equivalent to methods in other object systems) and relatively de-emphasizing classses 2019-09-06T07:21:39Z shifty quit (Ping timeout: 244 seconds) 2019-09-06T07:21:52Z Cymew quit (Quit: Konversation terminated!) 2019-09-06T07:22:07Z shifty joined #lisp 2019-09-06T07:22:22Z jonatack: Yes, the OOP in Ruby/Java is a bit ceremonial for my taste. But I came to OOP after imperative and functional. Generic funs look good. 2019-09-06T07:23:41Z Cymew joined #lisp 2019-09-06T07:24:09Z fiddlerwoaroof: My current hypothesis about a lot of the complaints about OOP is that they are really problems with the message-passing conception of OOP and how that makes methods second-class citizens 2019-09-06T07:25:11Z fiddlerwoaroof: A multimethod isn't a message passed to a class, but a way to specify how a set of classes interact. 2019-09-06T07:27:11Z jonatack: Multimethods look amazing...need to try using them. Thanks for the feedback and suggestions. 2019-09-06T07:28:06Z jonatack: My day job is C++ ATM so CL is a breath of fresh air :) 2019-09-06T07:28:29Z fiddlerwoaroof: Yeah, I mostly wrote CSS today, and a bit of Javascript 2019-09-06T07:28:51Z fiddlerwoaroof: I'm lucky, though: every once in a while I get to work on our Clojure backend 2019-09-06T07:29:54Z jonatack: Git cloned cl-git and will look at the code. 2019-09-06T07:30:26Z fiddlerwoaroof: I just noticed the version on Github isn't my latest version 2019-09-06T07:30:53Z fiddlerwoaroof: I'm not quite ready to push it, but I've been cleaning up the structure a bit. 2019-09-06T07:34:09Z mindthelion joined #lisp 2019-09-06T07:36:46Z techquila quit (Ping timeout: 276 seconds) 2019-09-06T07:38:26Z even4void joined #lisp 2019-09-06T07:38:58Z jonatack: Sure, ping me when you push if you don't mind. 2019-09-06T07:39:13Z fiddlerwoaroof: k 2019-09-06T07:40:55Z x[LGWs4x4i]uG2N0 quit (Remote host closed the connection) 2019-09-06T07:46:31Z sonologico quit (Remote host closed the connection) 2019-09-06T07:46:49Z yoeljacobsen joined #lisp 2019-09-06T07:50:39Z cosimone joined #lisp 2019-09-06T08:00:16Z MightyJoe joined #lisp 2019-09-06T08:01:33Z jonatack quit (Quit: jonatack) 2019-09-06T08:01:49Z cyraxjoe quit (Ping timeout: 246 seconds) 2019-09-06T08:04:53Z escew joined #lisp 2019-09-06T08:07:07Z jprajzne quit (Ping timeout: 244 seconds) 2019-09-06T08:07:51Z hhdave joined #lisp 2019-09-06T08:08:01Z jprajzne joined #lisp 2019-09-06T08:10:32Z escew: hello, anyone here used lisp-binary library? i'm wondering what the best way to handle fixed-size null-terminated strings is 2019-09-06T08:32:56Z shifty quit (Ping timeout: 245 seconds) 2019-09-06T08:33:18Z v88m quit (Ping timeout: 246 seconds) 2019-09-06T08:33:23Z shifty joined #lisp 2019-09-06T08:33:24Z beach: I can't figure out how to pass initial bindings to BT:MAKE-THREAD. 2019-09-06T08:33:45Z cosimone quit (Remote host closed the connection) 2019-09-06T08:33:51Z beach: I could use some help. 2019-09-06T08:34:17Z cosimone joined #lisp 2019-09-06T08:35:16Z cosimone quit (Read error: Connection reset by peer) 2019-09-06T08:35:39Z cosimone joined #lisp 2019-09-06T08:36:33Z beach: And the manual doesn't explain the nature of the INITIAL-BINDINGS keyword argument. 2019-09-06T08:37:33Z gigetoo quit (Ping timeout: 245 seconds) 2019-09-06T08:37:47Z cosimone quit (Read error: Connection reset by peer) 2019-09-06T08:38:26Z cosimone joined #lisp 2019-09-06T08:38:33Z jdz: I seem to remember struggling a bit with this too. 2019-09-06T08:38:38Z jdz: So I made myself a macro. 2019-09-06T08:39:22Z jdz: Now I'm checking if it works. 2019-09-06T08:39:39Z saturn2: is there an advantage over just putting a let form inside the lambda? 2019-09-06T08:40:09Z beach: saturn2: What would you do otherwise? 2019-09-06T08:40:52Z gigetoo joined #lisp 2019-09-06T08:41:21Z beach: Oh, and SBCL documentation for MAKE-THREAD has a keyword parameter EPHEMERAL but it is not explained. 2019-09-06T08:41:26Z beach: Oh, well. 2019-09-06T08:41:44Z saturn2: i mean INITIAL-BINDINGS seems superfluous 2019-09-06T08:42:01Z beach: Oh, I see. 2019-09-06T08:42:15Z cosimone_ joined #lisp 2019-09-06T08:42:45Z beach: You may be right. 2019-09-06T08:44:33Z beach: Yes, I think I can work with that. Thanks. 2019-09-06T08:44:54Z no-defun-allowed: Oh, initial-bindings is an alist of dynamic variable names and their values, eg ((*standard-output* . <some kind of stream>)) 2019-09-06T08:44:57Z Lord_of_Life_ joined #lisp 2019-09-06T08:45:04Z cosimone quit (Ping timeout: 264 seconds) 2019-09-06T08:45:12Z beach: no-defun-allowed: Thanks! 2019-09-06T08:45:57Z no-defun-allowed: I believe bt:*default-special-bindings* is appended to it too. 2019-09-06T08:52:41Z Lord_of_Life quit (Ping timeout: 245 seconds) 2019-09-06T08:52:42Z Lord_of_Life_ is now known as Lord_of_Life 2019-09-06T08:55:37Z cosimone__ joined #lisp 2019-09-06T08:55:43Z defaultxr quit (Ping timeout: 246 seconds) 2019-09-06T08:56:25Z datajerk quit (Ping timeout: 246 seconds) 2019-09-06T08:58:10Z cosimone_ quit (Ping timeout: 258 seconds) 2019-09-06T08:58:26Z schjetne quit (Read error: No route to host) 2019-09-06T09:00:31Z datajerk joined #lisp 2019-09-06T09:07:26Z d4ryus: hi, i have a question about format: How does it know how much indentation is needed when a form is printed with a linebreak? Example: (format t "~%test: ~a~%" (loop :for i :from 0 :to 100 :collect i)) 2019-09-06T09:07:58Z SaganMan quit (Ping timeout: 246 seconds) 2019-09-06T09:08:05Z schjetne joined #lisp 2019-09-06T09:09:01Z gravicappa quit (Ping timeout: 246 seconds) 2019-09-06T09:09:21Z saturn2: it just counts how many characters have been printed so far on the current line 2019-09-06T09:10:30Z d4ryus: is there a format directive to do that? 2019-09-06T09:16:15Z jdz: beach: Also bordeaux-threads uses EVAL to evaluate values passed in the :initial-bindings list. A very poor choice in my opinion. 2019-09-06T09:17:12Z no-defun-allowed: Crap, it is. 2019-09-06T09:21:02Z beach: jdz: That explains my problems. 2019-09-06T09:21:06Z jonatack joined #lisp 2019-09-06T09:22:15Z beach: jdz: Thanks. 2019-09-06T09:23:36Z jdz: beach: You are welcome! Thank you too for bringing this up — I rewrote my code to not use the :initial-bindings parameter. 2019-09-06T09:24:05Z beach: Heh, I will avoid it as well. 2019-09-06T09:32:02Z saturn2: d4ryus: http://www.lispworks.com/documentation/HyperSpec/Body/22_cfa.htm 2019-09-06T09:37:32Z ljavorsk__ joined #lisp 2019-09-06T09:40:03Z ljavorsk_ quit (Ping timeout: 245 seconds) 2019-09-06T09:42:20Z Lycurgus joined #lisp 2019-09-06T09:42:44Z jprajzne quit (Remote host closed the connection) 2019-09-06T09:49:00Z tdleffler joined #lisp 2019-09-06T09:49:28Z d4ryus: saturn2: thank you! 2019-09-06T09:51:04Z kajo quit (Ping timeout: 264 seconds) 2019-09-06T10:05:57Z frgo quit (Ping timeout: 244 seconds) 2019-09-06T10:07:49Z jprajzne joined #lisp 2019-09-06T10:08:32Z Lycurgus: the thing that passed 8th grade science test currently in the MSM is partially ACL 2019-09-06T10:12:31Z beach: Nice. 2019-09-06T10:12:34Z awolven quit (Ping timeout: 268 seconds) 2019-09-06T10:12:40Z yoeljacobsen quit (Ping timeout: 244 seconds) 2019-09-06T10:13:19Z jeosol quit (Ping timeout: 260 seconds) 2019-09-06T10:14:16Z no-defun-allowed: "Aristo"? 2019-09-06T10:15:17Z Lycurgus: yeah, and not sure it currently uses ACL but at somepoint it did. Allegro page on it has a stale link to that actual project. 2019-09-06T10:15:52Z no-defun-allowed: What I read claims it's the work of a neural network, and I can't find much about ACL, but then again "theorem proving" doesn't sound as nice to investors as deep learning. 2019-09-06T10:16:48Z Lycurgus: https://franz.com/success/customer_apps/artificial_intelligence/aristo.lhtml 2019-09-06T10:19:01Z orivej joined #lisp 2019-09-06T10:24:37Z even4void quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-06T10:38:18Z noobineer1 joined #lisp 2019-09-06T10:42:05Z noobineer2 quit (Ping timeout: 250 seconds) 2019-09-06T10:45:15Z cosimone__ quit (Remote host closed the connection) 2019-09-06T10:45:37Z cosimone__ joined #lisp 2019-09-06T10:48:57Z nanoz quit (Ping timeout: 268 seconds) 2019-09-06T10:51:17Z cosimone__ quit (Quit: Leaving) 2019-09-06T10:51:23Z EvW joined #lisp 2019-09-06T10:54:11Z frgo joined #lisp 2019-09-06T10:56:00Z amerlyq joined #lisp 2019-09-06T11:04:09Z jlarocco quit (Ping timeout: 244 seconds) 2019-09-06T11:04:30Z even4void joined #lisp 2019-09-06T11:07:53Z sjl quit (Quit: WeeChat 2.2-dev) 2019-09-06T11:08:09Z papachan joined #lisp 2019-09-06T11:13:37Z kajo joined #lisp 2019-09-06T11:13:39Z bnh^ quit 2019-09-06T11:15:12Z Fare joined #lisp 2019-09-06T11:20:17Z aautcsh joined #lisp 2019-09-06T11:25:55Z gravicappa joined #lisp 2019-09-06T11:28:36Z xkapastel joined #lisp 2019-09-06T11:30:10Z aautcsh quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-06T11:30:11Z EvW quit (Ping timeout: 250 seconds) 2019-09-06T11:34:17Z aautcsh joined #lisp 2019-09-06T11:35:03Z ljavorsk__ quit (Ping timeout: 245 seconds) 2019-09-06T11:36:25Z yoeljacobsen joined #lisp 2019-09-06T11:39:13Z aautcsh quit (Ping timeout: 276 seconds) 2019-09-06T11:47:36Z jonatack quit (Ping timeout: 258 seconds) 2019-09-06T11:47:45Z tdleffler left #lisp 2019-09-06T11:48:52Z EvW1 joined #lisp 2019-09-06T11:53:57Z dmiles quit (Read error: Connection reset by peer) 2019-09-06T11:54:35Z logicmoo joined #lisp 2019-09-06T11:54:39Z Jesin quit (Ping timeout: 245 seconds) 2019-09-06T11:54:39Z mbrumlow quit (Ping timeout: 245 seconds) 2019-09-06T11:55:00Z Jesin joined #lisp 2019-09-06T11:55:47Z mbrumlow joined #lisp 2019-09-06T12:03:04Z Cymew quit (Quit: Konversation terminated!) 2019-09-06T12:03:19Z Cymew joined #lisp 2019-09-06T12:13:34Z Cymew quit (Quit: Konversation terminated!) 2019-09-06T12:21:26Z Fare quit (Ping timeout: 252 seconds) 2019-09-06T12:21:55Z awolven joined #lisp 2019-09-06T12:23:11Z lucasb joined #lisp 2019-09-06T12:28:52Z mindCrime joined #lisp 2019-09-06T12:29:43Z Necktwi joined #lisp 2019-09-06T12:30:07Z cosimone joined #lisp 2019-09-06T12:30:48Z jonatack joined #lisp 2019-09-06T12:31:23Z aautcsh joined #lisp 2019-09-06T12:34:43Z test1600_ quit (Quit: Leaving) 2019-09-06T12:39:12Z nanoz joined #lisp 2019-09-06T12:41:29Z Fare joined #lisp 2019-09-06T12:42:58Z Necktwi quit (Ping timeout: 245 seconds) 2019-09-06T12:43:20Z thijso: What is the correct way to park/pause/sleep a thread in bordeaux-threads? I have a scheduler thread that needs to perform some small tasks every x seconds (on the order of minutes). Is it okay/correct to just (sleep *timeout*) in that thread to get that behaviour? Or should I do it differently? 2019-09-06T12:43:58Z thijso: s/*timeout*/*idle-skip-time*/ or something 2019-09-06T12:44:09Z no-defun-allowed: That should work, as sleep will correspond to some syscall that puts the thread to sleep. 2019-09-06T12:44:32Z thijso: Ah, great. Thanks, no-defun-allowed 2019-09-06T12:44:40Z no-defun-allowed: (Or, if you have an implementation with green threads, it'll put that thread to sleep and the implementation's scheduler will leave it alone.) 2019-09-06T12:47:58Z Lycurgus quit (Quit: Exeunt) 2019-09-06T12:49:08Z Bike joined #lisp 2019-09-06T12:49:39Z Necktwi joined #lisp 2019-09-06T12:50:50Z jiny joined #lisp 2019-09-06T12:51:01Z jiny is now known as tourjin 2019-09-06T12:53:14Z yoeljacobsen quit (Ping timeout: 268 seconds) 2019-09-06T12:54:16Z jonatack quit (Ping timeout: 264 seconds) 2019-09-06T12:54:17Z LiamH joined #lisp 2019-09-06T12:54:40Z aautcsh quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-06T12:56:49Z tourjin: if sbcl is compiler rather than a interpreter. how can I make excutable out file ? should I add some option ? 2019-09-06T12:58:04Z no-defun-allowed: (sb-ext:save-lisp-and-die "executable-name" :compression 9 :executable t :toplevel #'function-that-starts-your-program) 2019-09-06T12:59:21Z no-defun-allowed: But SBCL is not a batch compiler, like a C compiler, rather it compiles incrementally as you feed it code. This just dumps out the memory to an executable. 2019-09-06T12:59:34Z jonatack joined #lisp 2019-09-06T12:59:45Z even4void quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-06T13:00:44Z tourjin: that means I can't make excutable file? 2019-09-06T13:01:19Z Bike: you can, it's just not the same workflow as you'd do in C or whatever 2019-09-06T13:01:39Z even4void joined #lisp 2019-09-06T13:01:52Z paul0 joined #lisp 2019-09-06T13:10:11Z tourjin: sbcl my.lisp does'nt create an excutable file. it just run it. which option should I add? 2019-09-06T13:11:05Z Bike: no-defun-allowed told you what to do. you execute the sb-ext:save-lisp-and-die function. 2019-09-06T13:11:28Z Bike: please don't just ignore meaningful advice given to you 2019-09-06T13:11:51Z Bike: http://www.sbcl.org/manual/#Function-sb_002dext-save_002dlisp_002dand_002ddie has the documentation 2019-09-06T13:12:43Z dddddd joined #lisp 2019-09-06T13:12:47Z tourjin: thanks I just could'nt understand what sb-ext:save-lisp-anddie function. 2019-09-06T13:15:03Z scymtym quit (Ping timeout: 245 seconds) 2019-09-06T13:16:21Z acolarh joined #lisp 2019-09-06T13:21:30Z shifty quit (Ping timeout: 258 seconds) 2019-09-06T13:30:33Z FreeBirdLjj joined #lisp 2019-09-06T13:32:34Z Fare quit (Ping timeout: 252 seconds) 2019-09-06T13:35:01Z FreeBirdLjj quit (Ping timeout: 245 seconds) 2019-09-06T13:35:07Z scymtym joined #lisp 2019-09-06T13:37:28Z awolven is now known as clothespin 2019-09-06T13:39:40Z EvW1 quit (Ping timeout: 264 seconds) 2019-09-06T13:40:51Z orivej quit (Ping timeout: 245 seconds) 2019-09-06T13:52:24Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2019-09-06T13:53:53Z yoeljacobsen joined #lisp 2019-09-06T13:55:04Z clothespin quit (Ping timeout: 276 seconds) 2019-09-06T14:00:26Z igemnace joined #lisp 2019-09-06T14:12:29Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.2)) 2019-09-06T14:15:11Z random-nick joined #lisp 2019-09-06T14:15:18Z papachan quit (Quit: Leaving) 2019-09-06T14:15:50Z zacts quit (Ping timeout: 252 seconds) 2019-09-06T14:17:17Z cartwright quit (Remote host closed the connection) 2019-09-06T14:17:46Z even4void quit (Quit: Textual IRC Client: www.textualapp.com) 2019-09-06T14:19:18Z cartwright joined #lisp 2019-09-06T14:22:37Z zacts joined #lisp 2019-09-06T14:24:11Z v88m joined #lisp 2019-09-06T14:25:07Z aautcsh joined #lisp 2019-09-06T14:30:50Z sjl joined #lisp 2019-09-06T14:30:51Z aautcsh quit (Read error: Connection reset by peer) 2019-09-06T14:31:25Z dale_ joined #lisp 2019-09-06T14:31:37Z dale_ is now known as dale 2019-09-06T14:34:11Z yoeljacobsen quit (Ping timeout: 245 seconds) 2019-09-06T14:48:03Z smazga joined #lisp 2019-09-06T14:52:31Z _whitelogger quit (Remote host closed the connection) 2019-09-06T14:54:45Z _whitelogger joined #lisp 2019-09-06T15:01:51Z skibo quit (Quit: WeeChat 2.3) 2019-09-06T15:11:16Z shka_ quit (Quit: WeeChat 1.9.1) 2019-09-06T15:11:31Z schjetne quit (Ping timeout: 258 seconds) 2019-09-06T15:13:08Z sjl quit (Quit: WeeChat 2.3-dev) 2019-09-06T15:19:11Z fitzsim is now known as fitzsim_` 2019-09-06T15:19:48Z fitzsim joined #lisp 2019-09-06T15:20:31Z fitzsim_` quit (Quit: ERC (IRC client for Emacs 27.0.50)) 2019-09-06T15:21:42Z ironbutt quit (Quit: Leaving) 2019-09-06T15:22:03Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-06T15:31:06Z red-dot joined #lisp 2019-09-06T15:31:46Z jprajzne quit (Quit: Leaving.) 2019-09-06T15:32:18Z EvW joined #lisp 2019-09-06T15:33:09Z logicmoo quit (Read error: Connection reset by peer) 2019-09-06T15:34:36Z v88m quit (Ping timeout: 245 seconds) 2019-09-06T15:35:34Z jonatack quit (Quit: jonatack) 2019-09-06T15:35:42Z frgo_ joined #lisp 2019-09-06T15:35:52Z spal_ joined #lisp 2019-09-06T15:36:18Z dmiles joined #lisp 2019-09-06T15:36:25Z astronavt___ joined #lisp 2019-09-06T15:36:37Z frgo quit (Ping timeout: 244 seconds) 2019-09-06T15:36:37Z surrounder quit (Ping timeout: 244 seconds) 2019-09-06T15:37:00Z surrounder joined #lisp 2019-09-06T15:37:08Z astronavt quit (Ping timeout: 244 seconds) 2019-09-06T15:37:08Z Posterdati quit (Ping timeout: 244 seconds) 2019-09-06T15:37:52Z zacts quit (Ping timeout: 264 seconds) 2019-09-06T15:37:52Z mathrick quit (Ping timeout: 264 seconds) 2019-09-06T15:37:55Z spal quit (Ping timeout: 268 seconds) 2019-09-06T15:38:48Z Posterdati joined #lisp 2019-09-06T15:38:57Z mathrick joined #lisp 2019-09-06T15:38:58Z zacts joined #lisp 2019-09-06T15:40:22Z zacts quit (Client Quit) 2019-09-06T15:40:41Z tourjin quit (Remote host closed the connection) 2019-09-06T15:41:09Z tourjin joined #lisp 2019-09-06T15:45:09Z beach: tourjin: Whether a system uses a compiler or an interpreter is an issue that is orthogonal to whether it can produce executable files. Don't confuse the two. And you are not alone in this confusion, of course. 2019-09-06T15:46:14Z beach: tourjin: That is why I insisted on pointing it out to you. Many people who see an interactive system such as Common Lisp, think that it must be interpreted, so they think it must be slow. They are wrong. 2019-09-06T15:47:03Z Xach: learning new things helps keep your imagination informed about what is possible 2019-09-06T15:47:17Z beach: Very true. 2019-09-06T15:47:39Z beach: Xach: Did you manage to use SICL LOOP OK? 2019-09-06T15:49:28Z tourjin: thanks all. i'm still installing cygwin for two days. :-) 2019-09-06T15:55:03Z q9929t joined #lisp 2019-09-06T15:55:04Z Xach: beach: yes! and i forgot i had it loaded, and i loaded one of my own projects and instantly got an error about a clause ordering error 2019-09-06T15:55:26Z Xach: I thought SBCL had updated and broken my code until I remembered the truth 2019-09-06T15:56:15Z beach: Heh, great story. 2019-09-06T15:58:33Z Xach: i have a feeling that this will reveal a great many clause ordering issues 2019-09-06T15:58:51Z Xach: issues that would not have arisen if clisp rather than sbcl was so dominant 2019-09-06T16:02:20Z beach: Sure. 2019-09-06T16:02:48Z beach: People may not care of course. 2019-09-06T16:09:00Z q9929t quit (Quit: q9929t) 2019-09-06T16:10:34Z LiamH quit (Ping timeout: 258 seconds) 2019-09-06T16:12:25Z aautcsh joined #lisp 2019-09-06T16:19:12Z aautcsh_ joined #lisp 2019-09-06T16:20:30Z aautcsh quit (Ping timeout: 252 seconds) 2019-09-06T16:20:55Z fynzh[m] quit (Remote host closed the connection) 2019-09-06T16:20:56Z dtw quit (Remote host closed the connection) 2019-09-06T16:21:05Z Godel[m] quit (Write error: Connection reset by peer) 2019-09-06T16:21:06Z LdBeth quit (Read error: Connection reset by peer) 2019-09-06T16:21:12Z malaclyps[m] quit (Remote host closed the connection) 2019-09-06T16:21:13Z keep-learning[m] quit (Read error: Connection reset by peer) 2019-09-06T16:21:15Z katco quit (Remote host closed the connection) 2019-09-06T16:21:17Z djeis[m] quit (Read error: Connection reset by peer) 2019-09-06T16:21:18Z no-defun-allowed quit (Read error: Connection reset by peer) 2019-09-06T16:21:18Z liambrown quit (Write error: Connection reset by peer) 2019-09-06T16:21:22Z munksgaard[m] quit (Write error: Connection reset by peer) 2019-09-06T16:21:25Z akanouras quit (Remote host closed the connection) 2019-09-06T16:21:25Z Jachy quit (Remote host closed the connection) 2019-09-06T16:21:26Z iarebatman quit (Write error: Connection reset by peer) 2019-09-06T16:21:29Z sciamano quit (Write error: Connection reset by peer) 2019-09-06T16:21:29Z eriix[m] quit (Remote host closed the connection) 2019-09-06T16:21:29Z nonlinear[m] quit (Read error: Connection reset by peer) 2019-09-06T16:21:30Z hiq[m] quit (Remote host closed the connection) 2019-09-06T16:24:25Z rippa joined #lisp 2019-09-06T16:28:17Z aautcsh_ quit (Changing host) 2019-09-06T16:28:17Z aautcsh_ joined #lisp 2019-09-06T16:31:51Z kpoeck joined #lisp 2019-09-06T16:31:56Z mindCrime_ joined #lisp 2019-09-06T16:32:26Z kpoeck: There is even a wrong loop use in Alexandria 2019-09-06T16:33:11Z kpoeck: I was tempted to try to use SICL Loop in clasp, but there are so many loop uses style symbolics out there 2019-09-06T16:33:31Z aautcsh_ quit (Read error: Connection reset by peer) 2019-09-06T16:33:46Z akanouras joined #lisp 2019-09-06T16:34:13Z mindCrime quit (Ping timeout: 245 seconds) 2019-09-06T16:37:48Z aautcsh joined #lisp 2019-09-06T16:37:49Z Ricchi joined #lisp 2019-09-06T16:41:24Z ebrasca quit (Remote host closed the connection) 2019-09-06T16:44:04Z aautcsh quit (Ping timeout: 276 seconds) 2019-09-06T16:44:14Z hhdave quit (Quit: hhdave) 2019-09-06T16:45:01Z schjetne joined #lisp 2019-09-06T16:45:42Z aautcsh joined #lisp 2019-09-06T16:45:59Z Xach: kpoeck: ouch 2019-09-06T16:46:16Z ravenousmoose joined #lisp 2019-09-06T16:47:38Z aautcsh quit (Client Quit) 2019-09-06T16:53:06Z LiamH joined #lisp 2019-09-06T16:53:52Z defaultxr joined #lisp 2019-09-06T16:56:36Z shka_ joined #lisp 2019-09-06T16:57:04Z kajo quit (Ping timeout: 276 seconds) 2019-09-06T16:58:03Z selwyn_: is the clisp implementation superior to that of sbcl in some aspects? 2019-09-06T16:58:17Z selwyn_: implementation of LOOP i mean 2019-09-06T16:58:21Z Xach: selwyn_: it has a more conformant loop 2019-09-06T16:58:29Z Xach: it rejects non-conforming loops 2019-09-06T16:58:37Z LdBeth joined #lisp 2019-09-06T16:58:38Z LdBeth: P 2019-09-06T17:01:47Z djeis[m] joined #lisp 2019-09-06T17:01:47Z dtw joined #lisp 2019-09-06T17:01:47Z katco joined #lisp 2019-09-06T17:01:47Z sciamano joined #lisp 2019-09-06T17:01:47Z iarebatman joined #lisp 2019-09-06T17:01:47Z Godel[m] joined #lisp 2019-09-06T17:01:47Z liambrown joined #lisp 2019-09-06T17:01:47Z nonlinear[m] joined #lisp 2019-09-06T17:01:47Z eriix[m] joined #lisp 2019-09-06T17:01:47Z Jachy joined #lisp 2019-09-06T17:01:47Z no-defun-allowed joined #lisp 2019-09-06T17:01:48Z munksgaard[m] joined #lisp 2019-09-06T17:01:48Z malaclyps[m] joined #lisp 2019-09-06T17:01:48Z keep-learning[m] joined #lisp 2019-09-06T17:01:55Z fynzh[m] joined #lisp 2019-09-06T17:01:56Z hiq[m] joined #lisp 2019-09-06T17:05:49Z gareppa joined #lisp 2019-09-06T17:10:50Z varjag joined #lisp 2019-09-06T17:14:07Z notzmv quit (Ping timeout: 246 seconds) 2019-09-06T17:23:23Z notzmv joined #lisp 2019-09-06T17:23:36Z sjl joined #lisp 2019-09-06T17:24:19Z cosimone quit (Quit: Leaving) 2019-09-06T17:28:14Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-06T17:34:16Z ravenousmoose quit (Ping timeout: 264 seconds) 2019-09-06T17:36:32Z kajo joined #lisp 2019-09-06T17:38:52Z quazimodo joined #lisp 2019-09-06T17:47:38Z Ven`` joined #lisp 2019-09-06T17:49:21Z EvW quit (Ping timeout: 250 seconds) 2019-09-06T17:51:59Z stepnem quit (Ping timeout: 268 seconds) 2019-09-06T17:52:49Z stepnem joined #lisp 2019-09-06T17:54:38Z fitzsim is now known as fitzsim_ 2019-09-06T17:55:13Z fitzsim joined #lisp 2019-09-06T17:58:13Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-06T18:00:06Z gareppa quit (Quit: Leaving) 2019-09-06T18:04:12Z EvW1 joined #lisp 2019-09-06T18:07:45Z karlosz joined #lisp 2019-09-06T18:15:04Z orivej joined #lisp 2019-09-06T18:15:40Z EvW1 quit (Ping timeout: 264 seconds) 2019-09-06T18:16:16Z notzmv quit (Ping timeout: 264 seconds) 2019-09-06T18:27:44Z Oladon_work joined #lisp 2019-09-06T18:28:21Z fitzsim quit (Ping timeout: 245 seconds) 2019-09-06T18:31:37Z threefjord quit (Quit: leaving) 2019-09-06T18:35:22Z Akhetopnu joined #lisp 2019-09-06T18:36:35Z tourjin: this is not about lisp. but somebbody help me. how can I change color of xterm or rxvt? 2019-09-06T18:40:05Z khisanth_ quit (Ping timeout: 268 seconds) 2019-09-06T18:41:38Z Oladon_work: tourjin: Why don't you ask in #xterm or #linux? 2019-09-06T18:41:54Z tourjin: ok thanks 2019-09-06T18:48:55Z pjb: tourjin: man xterm ; man rxvt 2019-09-06T18:49:31Z notzmv joined #lisp 2019-09-06T18:49:38Z ebrasca joined #lisp 2019-09-06T18:52:18Z even4void joined #lisp 2019-09-06T18:52:49Z even4void quit (Client Quit) 2019-09-06T18:52:50Z khisanth_ joined #lisp 2019-09-06T18:54:00Z Ven`` joined #lisp 2019-09-06T18:54:47Z EvW joined #lisp 2019-09-06T19:03:42Z ebrasca quit (Remote host closed the connection) 2019-09-06T19:09:37Z karlosz quit (Quit: karlosz) 2019-09-06T19:12:04Z momozor joined #lisp 2019-09-06T19:13:42Z jonatack joined #lisp 2019-09-06T19:14:16Z momozor: Hi. What do you guys think on using some of the Scheme naming style. In particular, a-function for immutable one, a-destructive-function! for a mutable one, and what-is-this? for a predicate. 2019-09-06T19:14:51Z momozor: using this convention in Lisp* 2019-09-06T19:15:30Z momozor: will there be any significant semantic issues if one want to follow such convention in CL 2019-09-06T19:16:00Z vlatkoB quit (Remote host closed the connection) 2019-09-06T19:16:59Z momozor: Like naming your variables or a function with the camelCase style can be harmful or useless in CL.. 2019-09-06T19:17:24Z Bike: semantic? no. it's against general practice, though. 2019-09-06T19:20:03Z momozor: bike: I see. Thanks. 2019-09-06T19:21:42Z momozor: Also, I wonder if there is a general practice to distinguish between mutable and immutable functions in CL? 2019-09-06T19:21:53Z shka_ quit (Ping timeout: 244 seconds) 2019-09-06T19:23:51Z ggole quit (Quit: Leaving) 2019-09-06T19:24:20Z Oladon_work: I tend to like using ! and ? in function names for those purposes in CL, if only to show off to everyone else who can't have non-alphanumeric symbols in in their languages. 2019-09-06T19:24:24Z aeth: momozor: I use ! and ? all of the time, although I'm kind of 50/50 on "?" vs. "-p" and it depends on the nature of the code (I'll never use "foop", because that's just confusing for humans and computers to parse). The other conventions from Scheme would be pretty unrecognizable. 2019-09-06T19:24:42Z Oladon_work: Yeah, I'm also about 50/50 on ? vs -p 2019-09-06T19:25:32Z aeth: As for ! I'm 50/50 on including it or not. It's more like... "is there an expectation for this to be pure?" It's a good way to name a variant, e.g. if you have matrix-* and matrix-*! 2019-09-06T19:25:51Z momozor quit (Ping timeout: 245 seconds) 2019-09-06T19:26:12Z Oladon_work: Agreed. I wouldn't name something "foo!" if there's no "foo" 2019-09-06T19:26:45Z aeth: Well, unless it was in an otherwise mostly/entirely pure file/package/project/whatever. 2019-09-06T19:26:45Z Bike: the usual destructive function thing is nfoo 2019-09-06T19:26:54Z Bike: not always great, but that's how it is 2019-09-06T19:27:13Z aeth: Bike: n stands for "non-consing" and a foo! can be consing, such as if it logged or memoized. 2019-09-06T19:27:29Z aeth: It's not a direct equivalent, and it's much uglier and more inconsistently/rarely used than "-p" anyway 2019-09-06T19:28:17Z LiamH quit (Remote host closed the connection) 2019-09-06T19:28:41Z LiamH joined #lisp 2019-09-06T19:28:51Z aeth: You also want a suffix rather than a prefix so that it sorts alphabetically next to its pure equivalent if it exists, like foo and foo! 2019-09-06T19:29:18Z Bike: i don't think what it stands for matters much 2019-09-06T19:30:58Z aeth: It's just that I personally think that ? and ! are separate naming issues because CL has a 100% direct ? equivalent in -p, while it has several, not-frequently-used, fairly-problematic (imo) equivalents to ! 2019-09-06T19:31:39Z aeth: nfoo is just the most common, but I've seen others iirc. It would take me some time to look them up since it's not particularly searchable 2019-09-06T19:32:11Z aeth: perhaps foof is the next most common, but that has a specific meaning, and is for things like incf that you'd define with something like define-modify-macro 2019-09-06T19:33:41Z aeth: (and then there's getf, which doesn't mutate!) 2019-09-06T19:36:08Z makomo quit (Quit: WeeChat 2.4) 2019-09-06T19:36:11Z shifty joined #lisp 2019-09-06T19:44:01Z cosimone joined #lisp 2019-09-06T19:46:39Z krid joined #lisp 2019-09-06T19:50:28Z scymtym quit (Ping timeout: 264 seconds) 2019-09-06T19:50:53Z gravicappa quit (Ping timeout: 245 seconds) 2019-09-06T19:52:17Z vaporatorius joined #lisp 2019-09-06T19:52:31Z nanoz quit (Ping timeout: 245 seconds) 2019-09-06T20:01:41Z tourjin quit (Ping timeout: 245 seconds) 2019-09-06T20:02:35Z amerlyq quit (Quit: amerlyq) 2019-09-06T20:05:25Z Bike quit (Quit: Bike) 2019-09-06T20:06:37Z v88m joined #lisp 2019-09-06T20:08:50Z scymtym joined #lisp 2019-09-06T20:14:36Z lavaflow quit (Ping timeout: 245 seconds) 2019-09-06T20:15:04Z random-nick quit (Ping timeout: 246 seconds) 2019-09-06T20:22:17Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-06T20:22:57Z cosimone quit (Remote host closed the connection) 2019-09-06T20:25:18Z cosimone joined #lisp 2019-09-06T20:26:27Z cosimone quit (Remote host closed the connection) 2019-09-06T20:27:34Z cosimone joined #lisp 2019-09-06T20:27:40Z cosimone quit (Remote host closed the connection) 2019-09-06T20:29:15Z kajo quit (Ping timeout: 250 seconds) 2019-09-06T20:30:28Z krid quit (Ping timeout: 245 seconds) 2019-09-06T20:32:57Z fengshaun: is there an equivalent of gdb for sbcl? 2019-09-06T20:33:39Z lavaflow joined #lisp 2019-09-06T20:33:43Z fengshaun: the errors seem cryptic and (trace) doesn't seem to do anything (it just prints the invocation of the function) 2019-09-06T20:34:05Z dilated_dinosaur joined #lisp 2019-09-06T20:34:43Z jackdaniel: in Common Lisp you may recompile a function in question to have explicit break in it 2019-09-06T20:34:49Z jackdaniel: there is also step functionality 2019-09-06T20:35:01Z fengshaun: how do I use the step functionality? 2019-09-06T20:35:07Z jackdaniel: moreover trace allows you to specify an action 2019-09-06T20:35:33Z aautcsh joined #lisp 2019-09-06T20:35:43Z jackdaniel: http://www.lispworks.com/documentation/HyperSpec/Body/m_step.htm 2019-09-06T20:35:50Z fengshaun: any recommended debugging guides? 2019-09-06T20:36:24Z jackdaniel: (specifying actions in trace is implementation-dependent, so you'd need to refer to sbcl manual) 2019-09-06T20:37:10Z Bike joined #lisp 2019-09-06T20:37:31Z jackdaniel: if you have a function you want to check, you may modify it and call interactively to see what's going on 2019-09-06T20:37:50Z jackdaniel: having IDE like slime helps a lot with that 2019-09-06T20:38:31Z jackdaniel: another thing is that you probably want to set speed 1 / debug 3 optimization options before compiling the code so sldb backtraces are not crippled 2019-09-06T20:39:19Z edgar-rft: fengshaun: -> https://lispcookbook.github.io/cl-cookbook/debugging.html 2019-09-06T20:39:19Z edgar-rft: and -> https://www.common-lisp.net/project/slime/doc/html/Debugger.html 2019-09-06T20:39:21Z jackdaniel: spreading couple of print statements to spit to *debug-io* is always an option (pretty effective one) 2019-09-06T20:39:39Z Ricchi quit (Read error: Connection reset by peer) 2019-09-06T20:39:45Z Ricchi_ joined #lisp 2019-09-06T20:40:06Z fengshaun: jackdaniel, edgar-rft: thanks 2019-09-06T20:40:25Z fengshaun: slowly learning to use slime 2019-09-06T20:41:14Z edgar-rft: Learning Lisp takes some time but it's 100% worth it :-) 2019-09-06T20:42:02Z fengshaun: yea, it's been fun. a little different from C, which I'm used to. 2019-09-06T20:42:19Z Ricchi_ quit (Remote host closed the connection) 2019-09-06T20:42:23Z akoana joined #lisp 2019-09-06T20:44:15Z krid joined #lisp 2019-09-06T20:46:11Z Lord_of_Life quit (Excess Flood) 2019-09-06T20:46:30Z Lord_of_Life joined #lisp 2019-09-06T20:57:50Z nowhere_man joined #lisp 2019-09-06T21:08:59Z Oladon_work quit (Ping timeout: 260 seconds) 2019-09-06T21:13:23Z shifty quit (Ping timeout: 245 seconds) 2019-09-06T21:14:31Z Lord_of_Life quit (Ping timeout: 244 seconds) 2019-09-06T21:16:40Z alexanderbarbosa joined #lisp 2019-09-06T21:22:04Z jello_pudding joined #lisp 2019-09-06T21:22:07Z Lord_of_Life joined #lisp 2019-09-06T21:26:28Z gareppa joined #lisp 2019-09-06T21:27:07Z LiamH quit (Quit: Leaving.) 2019-09-06T21:31:04Z gareppa quit (Remote host closed the connection) 2019-09-06T21:31:35Z xkapastel joined #lisp 2019-09-06T21:33:39Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-06T21:38:35Z EvW quit (Ping timeout: 250 seconds) 2019-09-06T21:38:37Z makomo joined #lisp 2019-09-06T21:38:55Z gareppa joined #lisp 2019-09-06T21:42:51Z smazga quit (Quit: leaving) 2019-09-06T21:45:40Z orivej quit (Ping timeout: 264 seconds) 2019-09-06T21:52:45Z jello_pudding quit (Remote host closed the connection) 2019-09-06T21:53:36Z sjl quit (Quit: WeeChat 2.3-dev) 2019-09-06T21:54:19Z gareppa quit (Quit: Leaving) 2019-09-06T21:56:28Z varjag quit (Ping timeout: 264 seconds) 2019-09-06T21:56:41Z Necktwi quit (Ping timeout: 245 seconds) 2019-09-06T22:01:15Z nowhere_man quit (Read error: Connection reset by peer) 2019-09-06T22:01:23Z nowhereman joined #lisp 2019-09-06T22:03:29Z Necktwi joined #lisp 2019-09-06T22:06:41Z oldtopman quit (Ping timeout: 268 seconds) 2019-09-06T22:10:16Z simplegauss quit (Ping timeout: 264 seconds) 2019-09-06T22:11:58Z nowhere_man joined #lisp 2019-09-06T22:12:28Z simplegauss joined #lisp 2019-09-06T22:12:40Z nowhereman quit (Ping timeout: 264 seconds) 2019-09-06T22:20:38Z aautcsh quit (Remote host closed the connection) 2019-09-06T22:23:29Z Fade quit (Remote host closed the connection) 2019-09-06T22:27:01Z lavaflow quit (Ping timeout: 246 seconds) 2019-09-06T22:27:39Z fade joined #lisp 2019-09-06T22:28:43Z saravia joined #lisp 2019-09-06T22:37:22Z nanoz joined #lisp 2019-09-06T22:41:19Z Oladon_wfh joined #lisp 2019-09-06T22:47:40Z mindCrime_ quit (Ping timeout: 246 seconds) 2019-09-06T22:54:29Z awolven joined #lisp 2019-09-06T23:04:01Z orivej joined #lisp 2019-09-06T23:04:10Z escew quit (Ping timeout: 258 seconds) 2019-09-06T23:09:54Z permagreen joined #lisp 2019-09-06T23:12:58Z awolven quit (Ping timeout: 245 seconds) 2019-09-06T23:15:23Z saravia_ joined #lisp 2019-09-06T23:17:58Z saravia quit (Ping timeout: 258 seconds) 2019-09-06T23:24:29Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-06T23:26:16Z red-dot joined #lisp 2019-09-06T23:26:54Z fitzsim joined #lisp 2019-09-06T23:38:33Z nowhere_man quit (Ping timeout: 268 seconds) 2019-09-06T23:42:53Z EvW joined #lisp 2019-09-06T23:43:29Z awolven joined #lisp 2019-09-06T23:52:27Z stepnem quit (Read error: Connection reset by peer) 2019-09-06T23:53:56Z stepnem joined #lisp 2019-09-06T23:56:51Z saravia_ quit (Remote host closed the connection) 2019-09-07T00:12:53Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-07T00:21:11Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-07T00:30:25Z makomo quit (Ping timeout: 258 seconds) 2019-09-07T00:32:10Z krid quit (Read error: Connection reset by peer) 2019-09-07T00:41:04Z shifty joined #lisp 2019-09-07T00:48:47Z mstdnuser[m] joined #lisp 2019-09-07T00:57:32Z alexanderbarbosa quit (Remote host closed the connection) 2019-09-07T00:59:01Z alexanderbarbosa joined #lisp 2019-09-07T01:04:53Z shifty quit (Ping timeout: 268 seconds) 2019-09-07T01:05:20Z shifty joined #lisp 2019-09-07T01:10:55Z EvW quit (Ping timeout: 250 seconds) 2019-09-07T01:19:07Z Oladon_wfh quit (Ping timeout: 260 seconds) 2019-09-07T01:20:25Z Oladon joined #lisp 2019-09-07T01:29:16Z lavaflow joined #lisp 2019-09-07T01:37:30Z tourjin joined #lisp 2019-09-07T01:42:35Z akoana quit (Quit: leaving) 2019-09-07T01:45:46Z nanoz quit (Ping timeout: 244 seconds) 2019-09-07T01:50:45Z fade: o/ 2019-09-07T01:50:48Z fade is now known as Fade 2019-09-07T01:57:47Z techquila joined #lisp 2019-09-07T01:58:38Z mindthelion quit (Read error: Connection reset by peer) 2019-09-07T02:00:40Z semz quit (Ping timeout: 264 seconds) 2019-09-07T02:08:08Z jeosol joined #lisp 2019-09-07T02:12:59Z semz joined #lisp 2019-09-07T02:13:57Z shifty quit (Ping timeout: 268 seconds) 2019-09-07T02:14:20Z shifty joined #lisp 2019-09-07T02:15:00Z tourjin quit (Remote host closed the connection) 2019-09-07T02:15:25Z tourjin joined #lisp 2019-09-07T02:18:53Z orivej quit (Ping timeout: 268 seconds) 2019-09-07T02:31:25Z Jeanne-Kamikaze joined #lisp 2019-09-07T02:38:16Z fitzsim_ quit (Quit: ERC (IRC client for Emacs 26.1.50)) 2019-09-07T02:38:37Z khisanth_ quit (Ping timeout: 268 seconds) 2019-09-07T02:40:49Z tourjin quit (Quit: Leaving) 2019-09-07T02:43:07Z karswell quit (Remote host closed the connection) 2019-09-07T02:43:57Z karswell joined #lisp 2019-09-07T02:50:55Z khisanth_ joined #lisp 2019-09-07T02:53:54Z analogue joined #lisp 2019-09-07T02:59:36Z analogue quit (Quit: Leaving) 2019-09-07T03:12:02Z _whitelogger quit (Remote host closed the connection) 2019-09-07T03:13:44Z Oladon quit (Quit: Leaving.) 2019-09-07T03:14:16Z _whitelogger joined #lisp 2019-09-07T03:25:29Z techquila quit (Ping timeout: 268 seconds) 2019-09-07T03:28:48Z Jeanne-Kamikaze quit (Quit: Leaving) 2019-09-07T03:30:11Z zacts joined #lisp 2019-09-07T03:30:38Z dddddd quit (Remote host closed the connection) 2019-09-07T03:45:02Z _whitelogger quit (Remote host closed the connection) 2019-09-07T03:47:16Z _whitelogger joined #lisp 2019-09-07T03:52:06Z Petit_Dejeuner quit (Ping timeout: 245 seconds) 2019-09-07T04:17:29Z greaser|q quit (Remote host closed the connection) 2019-09-07T04:17:40Z greaser|q joined #lisp 2019-09-07T04:19:01Z zch joined #lisp 2019-09-07T04:24:02Z _whitelogger quit (Remote host closed the connection) 2019-09-07T04:25:49Z jack-thomas joined #lisp 2019-09-07T04:26:15Z _whitelogger joined #lisp 2019-09-07T04:30:39Z Bike quit (Quit: Lost terminal) 2019-09-07T04:31:26Z jack-thomas: Hi, so in Slime, I'm looking at the debug backtrace and I toggle details. This is what I see. " 0: (UIOP/RUN-PROGRAM:RUN-PROGRAM "/bin/bash" :INPUT #<SB-IMPL::STRING-INPUT-STREAM {1003F059A3}> :OUTPUT #<SB-IMPL::STRING-OUTPUT-STREAM {1003F05B43}> :ERROR-OUTPUT #<SB-IMPL::STRING-OUTPUT-STREAM {1003F.. Locals: SB-DEBUG::ARG-0 = "/bin/bash" SB-DEBUG::MORE = (:INPUT #<SB-IMPL::STRING-INPUT-STREAM {1003F059A3}> :OUTPUT 2019-09-07T04:31:27Z jack-thomas: #<SB-IMPL::STRING-OUTPUT-STREAM {1003F05B43}> :ERROR-OUTPUT #<SB-IMPL::STRING-OUTPUT-STREAM {1003F05B43}> ...)" (New lines replaced with 4 spaces.) Any idea how to see the rest of those details? 2019-09-07T04:32:43Z jack-thomas: I can post a pic if that will help. I'm not seeing anything in the slime documentation 2019-09-07T04:43:22Z alexande` joined #lisp 2019-09-07T04:43:46Z alexanderbarbosa quit (Read error: Connection reset by peer) 2019-09-07T04:50:18Z bjorkintosh quit (Remote host closed the connection) 2019-09-07T04:50:30Z bjorkintosh joined #lisp 2019-09-07T04:52:00Z gravicappa joined #lisp 2019-09-07T04:57:02Z no-defun-allowed: Anything in specific, say, more stack frames? 2019-09-07T05:06:03Z _whitelogger quit (Remote host closed the connection) 2019-09-07T05:08:15Z _whitelogger joined #lisp 2019-09-07T05:12:26Z superkumasan quit (Ping timeout: 244 seconds) 2019-09-07T05:23:55Z jack-thomas: no-defun-allowed: No, do you notice how I can only see part of the function call? The sexp ends with ... 2019-09-07T05:24:14Z jack-thomas: I can't find how to see the rest of it. 2019-09-07T05:25:21Z aeth: try clicking on it? just a guess 2019-09-07T05:25:24Z no-defun-allowed: You could click on sb-debug::more, which will show it in the inspector. 2019-09-07T05:27:35Z SaganMan joined #lisp 2019-09-07T05:34:41Z cink joined #lisp 2019-09-07T05:41:22Z jack-thomas quit (Ping timeout: 246 seconds) 2019-09-07T05:49:22Z alexande` quit (Remote host closed the connection) 2019-09-07T05:49:36Z alexande` joined #lisp 2019-09-07T05:54:22Z ggole joined #lisp 2019-09-07T06:02:10Z beach: Good morning everyone! 2019-09-07T06:04:08Z beach: fengshaun: Some people, including me, are working on creating a debugger worthy of the name for Common Lisp. 2019-09-07T06:06:23Z cink: and nyef? 2019-09-07T06:06:37Z vlatkoB joined #lisp 2019-09-07T06:07:46Z thijso: and what would such a beast give us, beach ? 2019-09-07T06:10:50Z froggey quit (Ping timeout: 258 seconds) 2019-09-07T06:11:07Z stylewarning: This is a weak point I have with lisp... files. How can I make a file shorter without overwriting it? Something like truncating it. 2019-09-07T06:12:40Z froggey joined #lisp 2019-09-07T06:14:25Z dale quit (Quit: My computer has gone to sleep) 2019-09-07T06:21:23Z Shinmera: You can't, not in ANSI anyway. 2019-09-07T06:21:56Z stylewarning: Didn't think so. 2019-09-07T06:22:44Z Shinmera: What do you hope to do by truncating the file anyway? 2019-09-07T06:23:24Z cink left #lisp 2019-09-07T06:23:41Z stylewarning: Shinmera: I'm not sure, I'm experimenting around with how I want to manage the use of files as temporary (swap-like) storage of data 2019-09-07T06:24:40Z Shinmera: I'd keep the file size constant and just have a first field in the file that denotes the allocated bytes in the file. 2019-09-07T06:26:42Z beach: thijso: Stepping, break points, examining data, etc. 2019-09-07T06:30:58Z shka_ joined #lisp 2019-09-07T06:34:50Z elderK joined #lisp 2019-09-07T06:34:50Z stylewarning: beach: what about displaying in the backtrace where dynamic bindings or restarts are installed 2019-09-07T06:35:36Z beach: Sure, why not. 2019-09-07T06:39:58Z SaganMan quit (Ping timeout: 258 seconds) 2019-09-07T06:47:30Z refpga joined #lisp 2019-09-07T06:48:03Z refpga quit (Client Quit) 2019-09-07T06:48:20Z refpga joined #lisp 2019-09-07T06:52:51Z zaquest quit (Read error: No route to host) 2019-09-07T06:56:40Z fengshaun: beach, ooh ice 2019-09-07T06:56:42Z fengshaun: nice* 2019-09-07T07:02:32Z thijso: sounds good, beach 2019-09-07T07:02:44Z thijso: when will we have it? *grin* 2019-09-07T07:04:14Z beach: Don't hold your breath. It will require support from the Common Lisp implementation, and maintainers of implementations other than SICL will probably be reluctant to adding such support. 2019-09-07T07:06:13Z makomo joined #lisp 2019-09-07T07:08:48Z fengshaun quit (Ping timeout: 245 seconds) 2019-09-07T07:18:30Z defaultxr quit (Ping timeout: 244 seconds) 2019-09-07T07:20:51Z zaquest joined #lisp 2019-09-07T07:26:27Z fengshaun joined #lisp 2019-09-07T07:31:33Z refpga` joined #lisp 2019-09-07T07:33:02Z pyx joined #lisp 2019-09-07T07:33:09Z pyx quit (Client Quit) 2019-09-07T07:38:10Z monokrom joined #lisp 2019-09-07T07:55:29Z seok joined #lisp 2019-09-07T07:56:33Z seok: When writing a long function, do you write the functions in parts and assemble them finally for readability, or do you just write the long form for shorter code? 2019-09-07T07:56:41Z seok: what do you guys do 2019-09-07T07:57:46Z no-defun-allowed: You should avoid writing long functions, so writing it in parts is ideal. 2019-09-07T08:00:59Z no-defun-allowed: There's a joke that you shouldn't ever write a function longer than your head, but in Lisp, you should probably aim for shorter. 2019-09-07T08:03:39Z seok: Sounds good. Guess I am re-writing mine 2019-09-07T08:17:51Z dddddd joined #lisp 2019-09-07T08:18:05Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-07T08:37:08Z alexande` quit (Remote host closed the connection) 2019-09-07T08:48:23Z Lord_of_Life quit (Ping timeout: 245 seconds) 2019-09-07T08:50:15Z Lord_of_Life joined #lisp 2019-09-07T08:54:24Z zmyrgel joined #lisp 2019-09-07T08:59:09Z zmyrgel quit (Quit: ERC (IRC client for Emacs 26.2)) 2019-09-07T08:59:49Z no-defun-allowed: Are there any benchmarks on how using type tagged pointers instead of consing up fixnums in the heap perform in (some kind of Lisp)? 2019-09-07T08:59:52Z monokrom quit (Remote host closed the connection) 2019-09-07T09:00:02Z schjetne quit (Ping timeout: 252 seconds) 2019-09-07T09:00:06Z zmyrgel joined #lisp 2019-09-07T09:00:10Z no-defun-allowed: I know the former is much, much better, but I'm trying to estimate by how much. 2019-09-07T09:00:17Z zmyrgel left #lisp 2019-09-07T09:03:05Z adam4567 joined #lisp 2019-09-07T09:03:15Z Shinmera: Tagging and untagging is practically free on the CPU, whereas the rest requires constant memory access. So the benchmark is, well, your memory bandwidth and cache. 2019-09-07T09:03:41Z Shinmera: Unless I'm misunderstanding what exactly it is you want to benchmark. 2019-09-07T09:03:45Z no-defun-allowed: Eh, maybe I can make something up with structures and fixnums in SBCL. 2019-09-07T09:04:36Z no-defun-allowed: I have a bytecode Lisp interpreter in CL and I'm looking at another bytecode interpreter in C, and wondering how mine is 10x faster on the only "benchmark" they have provided. 2019-09-07T09:06:37Z Shinmera: Did you compare on your own machine? 2019-09-07T09:06:44Z no-defun-allowed: Yes. 2019-09-07T09:07:19Z Shinmera: My only explanation is that writing slow code is easy in any language :) 2019-09-07T09:07:23Z cosimone joined #lisp 2019-09-07T09:08:03Z no-defun-allowed: My guess is that my environment model (a list of vectors) is faster than theirs (a hash table of some kind, I am not very good at reading C), and that they use heap-allocated numbers, whereas I snarf SBCL's fixnums. 2019-09-07T09:09:38Z nowhere_man joined #lisp 2019-09-07T09:10:00Z no-defun-allowed: The former has a 3x or so speed increase, and I'm about to test the latter. 2019-09-07T09:10:01Z SaganMan joined #lisp 2019-09-07T09:10:06Z v88m quit (Ping timeout: 244 seconds) 2019-09-07T09:15:53Z no-defun-allowed: SBCL is too clever for my benchmarks, but there's a factor 14x there. 2019-09-07T09:20:13Z jonatack: seok: i'm not sure how lispy this is, but one advantage to me of breaking a long function into shorter ones is that you can unit test them. 2019-09-07T09:20:28Z seok: Yeah that sure is 2019-09-07T09:20:43Z jonatack: beach: sounds great 2019-09-07T09:21:40Z beach: jonatack: Thanks. Very preliminary stuff at metamodular.com/clordane.mp4 2019-09-07T09:25:06Z jonatack: beach: nice. Will try SICL and Cleavir. 2019-09-07T09:25:19Z beach: Please don't. 2019-09-07T09:25:27Z jonatack: ah? 2019-09-07T09:25:56Z beach: Cleavir can only be used to implement a Common Lisp compiler, and SICL is not in a state to be used by a general audience. 2019-09-07T09:26:32Z jonatack: Ok. Standby for now then. 2019-09-07T09:26:39Z beach: Yeah. 2019-09-07T09:26:47Z beach: But I have set an objective to have a SICL executable by the end of the year. 2019-09-07T09:27:05Z ck_: hey, that's news to me. A date! :) 2019-09-07T09:27:28Z beach: Heh. 2019-09-07T09:27:53Z adam4567 quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2019-09-07T09:29:05Z thijso: So I'm wondering... those of you using emacs as your editor, do you just use it's default indenting for CL code? Or are there packages (or settings) that make it better? 2019-09-07T09:30:40Z no-defun-allowed: Using the slime-indentation contrib for SLIME guarantees you don't get odd looks when you show your code to #lisp. 2019-09-07T09:32:03Z no-defun-allowed: The default Emacs indentation is okay, but slime-indentation makes it work much better. I think LOOP is the best example of the differences between them. 2019-09-07T09:36:19Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-07T09:37:11Z cosimone_ joined #lisp 2019-09-07T09:37:21Z jackdaniel: loop indentation proposed by slime is awful 2019-09-07T09:38:05Z beach: How so? 2019-09-07T09:38:17Z cosimone_ quit (Client Quit) 2019-09-07T09:38:33Z jackdaniel: sorry, I meant: proposed by emacs 2019-09-07T09:38:48Z jackdaniel: (without slime contrib) 2019-09-07T09:38:55Z beach: Indeed. 2019-09-07T09:46:35Z TMA quit (Ping timeout: 268 seconds) 2019-09-07T09:55:56Z Ven`` joined #lisp 2019-09-07T09:58:10Z cosimone quit (Quit: Leaving) 2019-09-07T09:58:31Z cosimone joined #lisp 2019-09-07T10:00:49Z varjag joined #lisp 2019-09-07T10:09:27Z mn3m joined #lisp 2019-09-07T10:36:51Z scymtym quit (Ping timeout: 258 seconds) 2019-09-07T10:37:52Z awolven quit (Ping timeout: 264 seconds) 2019-09-07T10:41:37Z thijso: Ah, thanks. I'll look into that. 2019-09-07T10:45:30Z tourjin joined #lisp 2019-09-07T10:52:19Z cosimone quit (Remote host closed the connection) 2019-09-07T10:52:41Z cosimone joined #lisp 2019-09-07T10:54:37Z iskander quit (Ping timeout: 246 seconds) 2019-09-07T10:56:58Z tourjin quit (Remote host closed the connection) 2019-09-07T10:59:38Z igemnace quit (Quit: WeeChat 2.5) 2019-09-07T11:00:04Z iskander joined #lisp 2019-09-07T11:03:50Z cosimone quit (Quit: Leaving) 2019-09-07T11:19:10Z scymtym joined #lisp 2019-09-07T11:32:22Z Inline joined #lisp 2019-09-07T11:36:49Z ravenousmoose joined #lisp 2019-09-07T11:40:07Z thijso: So if I have a part of my lisp code light up in red in emacs, it means there's something wrong, right? Apart from (error "whatever") where 'error' is red, I mean? 2019-09-07T11:40:31Z thijso: Is there a way to have emacs tell me more about _what_ is wrong? Or slime, maybe? 2019-09-07T11:41:10Z SaganMan quit (Ping timeout: 246 seconds) 2019-09-07T11:42:49Z selwyn_: emacs may only be complaining about how you have laid out your code on the page 2019-09-07T11:43:39Z no-defun-allowed: If you write (foo (bar baz <Newline> quux) bloop), Emacs will highlight bloop red because it's in a silly spot. 2019-09-07T11:43:43Z selwyn_: yes 2019-09-07T11:44:31Z selwyn_: this is valid code written in bad style 2019-09-07T12:00:50Z thijso: Ah, ok... 2019-09-07T12:02:12Z thijso: Uhm. But what is wrong with (loop named something<newline>do<newline>(function-called) .. ? 'function-called' is marked red here, which I find a little strange. Is it the 'do'? 2019-09-07T12:03:06Z White_Flame: if your function name starts with "assert" it also changes red like "error" does 2019-09-07T12:03:17Z thijso: Yeah. It doesn't. 2019-09-07T12:03:23Z White_Flame: can you post the actual code? 2019-09-07T12:03:34Z White_Flame: and is it red font, or a red underline? 2019-09-07T12:03:44Z thijso: It looks like something else is going on. Is the function name "check-schedule" something special? It lights up anywhere I put it in my code... 2019-09-07T12:03:49Z thijso: red font 2019-09-07T12:04:00Z White_Flame: yeah, that's the same as assert then 2019-09-07T12:04:15Z thijso: Oh, wait. Is it the check- prefix? 2019-09-07T12:04:22Z White_Flame: some assumption on naming, which I personally find annoying 2019-09-07T12:04:49Z thijso: Yeah, looks like it. If I rename it to "run-check-schedule" it's fine. 2019-09-07T12:05:19Z White_Flame: and "do-" highlights purple, like builtins 2019-09-07T12:05:23Z thijso: Is there somewhere I can change those assumptions? I'm fine with 'assert' and 'error', but 'check-' not so much 2019-09-07T12:05:39Z thijso: exactly, White_Flame. Don't really like that one either. 2019-09-07T12:06:03Z White_Flame: I haven't mucked with it personally. I tend to leave my environment alone 2019-09-07T12:06:35Z thijso: Hah. I don't. I customize the bleep out of it. 2019-09-07T12:07:05Z thijso: Of course, I'm running a clfswm window manager on sbcl on funtoo, so that might explain some things... 2019-09-07T12:11:03Z nanoz joined #lisp 2019-09-07T12:30:54Z cosimone joined #lisp 2019-09-07T12:30:55Z schjetne joined #lisp 2019-09-07T12:32:37Z EvW joined #lisp 2019-09-07T12:33:19Z EvW quit (Client Quit) 2019-09-07T12:48:58Z EvW1 joined #lisp 2019-09-07T12:50:02Z gareppa joined #lisp 2019-09-07T12:50:48Z orivej joined #lisp 2019-09-07T12:51:20Z Bike joined #lisp 2019-09-07T12:54:51Z nowhere_man quit (Ping timeout: 244 seconds) 2019-09-07T13:01:51Z lucasb joined #lisp 2019-09-07T13:04:14Z refpga` quit (Remote host closed the connection) 2019-09-07T13:13:47Z red-dot joined #lisp 2019-09-07T13:14:50Z ravenousmoose quit (Remote host closed the connection) 2019-09-07T13:16:29Z ravenousmoose joined #lisp 2019-09-07T13:20:03Z aautcsh joined #lisp 2019-09-07T13:26:12Z gareppa quit (Quit: Leaving) 2019-09-07T13:29:00Z v88m joined #lisp 2019-09-07T13:32:08Z notzmv quit (Ping timeout: 245 seconds) 2019-09-07T13:40:45Z bendersteed joined #lisp 2019-09-07T13:41:11Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-07T13:49:09Z ravenousmoose quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-07T13:54:26Z bendersteed quit (Quit: bye folks) 2019-09-07T13:55:42Z vaporatorius joined #lisp 2019-09-07T14:12:08Z mn3m quit (Ping timeout: 245 seconds) 2019-09-07T14:15:44Z zacts quit (Quit: WeeChat 2.4) 2019-09-07T14:25:42Z refpga` joined #lisp 2019-09-07T14:27:52Z refpga` quit (Remote host closed the connection) 2019-09-07T14:29:23Z IndoRuby joined #lisp 2019-09-07T14:30:00Z pgomes1 joined #lisp 2019-09-07T14:34:34Z quazimodo quit (Ping timeout: 244 seconds) 2019-09-07T14:35:41Z oldtopman joined #lisp 2019-09-07T14:36:38Z xkapastel joined #lisp 2019-09-07T14:38:36Z pgomes1 quit (Read error: Connection reset by peer) 2019-09-07T14:38:50Z pgomes1 joined #lisp 2019-09-07T14:40:04Z IndoRuby quit (Quit: Leaving) 2019-09-07T14:48:08Z refpga` joined #lisp 2019-09-07T14:49:15Z drmeister: With slime - does anyone know how to shut down this message? 2019-09-07T14:49:22Z drmeister: "Compilation failed. Load fasl file anyway?" 2019-09-07T14:50:05Z drmeister: It's like my damn bank machine eternally asking me if I want to use English. 2019-09-07T14:52:46Z beach: That's stupid. Here in Europe, the machine switches to the official language of the country where the card was issued. 2019-09-07T14:53:18Z beach: Well, maybe not ATMs. I don't know that. But when you pay in a store with a card for instance. 2019-09-07T14:53:44Z Bike: the US doesn't have an official language and we have many people who would prefer languages other than english. melting pot and all. 2019-09-07T14:54:09Z beach: True. 2019-09-07T14:54:17Z Bike: of course it's pretty annoying when the ATM says it will remember your preference and then asks you the exact same question next time 2019-09-07T14:55:09Z beach: Heh. 2019-09-07T14:58:06Z refpga` quit (Remote host closed the connection) 2019-09-07T15:00:14Z Ven`` quit (Quit: Textual IRC Client: www.textualapp.com) 2019-09-07T15:04:21Z pjb quit (Read error: Connection reset by peer) 2019-09-07T15:05:50Z pjb joined #lisp 2019-09-07T15:07:58Z fitzsim quit (Ping timeout: 245 seconds) 2019-09-07T15:14:01Z quazimodo joined #lisp 2019-09-07T15:21:10Z pgomes1 left #lisp 2019-09-07T15:24:10Z elderK quit (Ping timeout: 244 seconds) 2019-09-07T15:26:01Z frgo joined #lisp 2019-09-07T15:26:57Z x[LGWs4x4i]uG2N0 joined #lisp 2019-09-07T15:28:12Z frgo_ quit (Ping timeout: 258 seconds) 2019-09-07T15:53:37Z EvW1 quit (Ping timeout: 250 seconds) 2019-09-07T15:57:04Z pgomes joined #lisp 2019-09-07T15:59:46Z zch quit (Quit: Leaving) 2019-09-07T16:00:02Z jmercouris joined #lisp 2019-09-07T16:02:22Z jmercouris quit (Remote host closed the connection) 2019-09-07T16:02:37Z pgomes quit (Ping timeout: 246 seconds) 2019-09-07T16:12:55Z igemnace joined #lisp 2019-09-07T16:13:08Z Patzy quit (Quit: WeeChat 2.5) 2019-09-07T16:16:01Z pjb quit (Remote host closed the connection) 2019-09-07T16:17:43Z pjb joined #lisp 2019-09-07T16:17:45Z dale joined #lisp 2019-09-07T16:18:39Z Patzy joined #lisp 2019-09-07T16:23:29Z Patzy quit (Client Quit) 2019-09-07T16:23:45Z Patzy joined #lisp 2019-09-07T16:26:43Z stepnem quit (Ping timeout: 245 seconds) 2019-09-07T16:28:43Z stepnem joined #lisp 2019-09-07T16:29:29Z Lycurgus joined #lisp 2019-09-07T16:29:35Z flip214: Bike: would the ATM store the preference locally, or put it on your card's EEPROM? 2019-09-07T16:31:24Z p_l: it can try, but not get allowed 2019-09-07T16:32:22Z flip214: well, depending on the card format any user could use unused space for their own files... 2019-09-07T16:37:00Z p_l: flip214: ATM cards typically don't expose storage interface 2019-09-07T16:38:05Z p_l: when you put the card in, the ATM will query it for list of applications, then select from it the few that it supports (for example, Mastercard or Visa), then talk to that specific application 2019-09-07T16:40:42Z gareppa joined #lisp 2019-09-07T16:57:58Z fiddlerwoaroof: thijso: it's in the contrib slime-fontifying-fu 2019-09-07T16:58:50Z defaultxr joined #lisp 2019-09-07T17:00:36Z fiddlerwoaroof: https://github.com/slime/slime/blob/master/contrib/slime-fontifying-fu.el#L9-L13 2019-09-07T17:02:17Z gareppa quit (Quit: Leaving) 2019-09-07T17:10:19Z scymtym quit (Ping timeout: 250 seconds) 2019-09-07T17:10:50Z glamas left #lisp 2019-09-07T17:10:59Z glamas joined #lisp 2019-09-07T17:24:18Z grumble quit (Quit: Martini. Gin, not vodka. Obviously. Stirred for 10 seconds while glancing at an unopened bottle of vermouth.) 2019-09-07T17:26:56Z tjmaynes` joined #lisp 2019-09-07T17:26:58Z yoeljacobsen joined #lisp 2019-09-07T17:28:31Z scymtym joined #lisp 2019-09-07T17:29:26Z grumble joined #lisp 2019-09-07T17:30:30Z tjmaynes` quit (Remote host closed the connection) 2019-09-07T17:46:14Z kajo joined #lisp 2019-09-07T17:56:10Z fitzsim joined #lisp 2019-09-07T18:03:50Z yoeljacobsen quit (Ping timeout: 258 seconds) 2019-09-07T18:08:47Z refpga quit (Read error: Connection reset by peer) 2019-09-07T18:10:14Z refpga joined #lisp 2019-09-07T18:16:52Z kajo quit (Ping timeout: 264 seconds) 2019-09-07T18:18:42Z Necktwi quit (Quit: leaving) 2019-09-07T18:18:51Z EvW joined #lisp 2019-09-07T18:19:36Z Posterdati quit (Ping timeout: 245 seconds) 2019-09-07T18:23:07Z EvW quit (Ping timeout: 250 seconds) 2019-09-07T18:29:23Z jeosol: Does cl-mop:deep-copy of an object creates a complete new copy even for slots that are class objects? 2019-09-07T18:30:11Z jeosol: I am trying to create a new fresh object and modify one of the slot objects. Or what is a better way to do this. 2019-09-07T18:30:32Z Lycurgus: (in sbcl) 2019-09-07T18:31:00Z jeosol: Yeah in SBCL 2019-09-07T18:31:31Z jeosol: I have used cl-mop:deep-copy, I changed the inner slot object and when printed, they have the same value, so I am not doing something right 2019-09-07T18:32:08Z Posterdati joined #lisp 2019-09-07T18:33:54Z q9929t joined #lisp 2019-09-07T18:35:09Z Bike: what's cl-mop? 2019-09-07T18:35:42Z Bike: some library, i see 2019-09-07T18:36:25Z fiddlerwoaroof: It's sort of badly named, because it looks "official" 2019-09-07T18:36:35Z Bike: it looks like it copies values of class slots, but that just means changing the value of the class slot, which is after all shared 2019-09-07T18:36:50Z Bike: not sure what you mean by "slots that are class objects" 2019-09-07T18:37:02Z ealfonso joined #lisp 2019-09-07T18:37:25Z pjb: Bike: people have missing neurons, this is why they miss words in their output flows. 2019-09-07T18:37:59Z pjb: "slots that are BOUND TO objects THAT ARE INSTANCES OF SOME CLOS class" 2019-09-07T18:38:09Z jeosol: Bike: I apologize for the lack of clarity. I mean have another object that is a slot in the outer one. 2019-09-07T18:38:27Z jeosol: pjb: thanks. Thats a better explanation 2019-09-07T18:38:34Z pjb: jeosol: all lisp values are lisp objects, or objects. 2019-09-07T18:38:51Z pjb: Lisp is purely OO :-) 2019-09-07T18:39:22Z Bike: well, it looks like deep-copy is properly recursive for objects 2019-09-07T18:39:27Z Bike: but not for sequences or lists or structures 2019-09-07T18:39:43Z pjb: clhs copy-tree 2019-09-07T18:39:44Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_cp_tre.htm 2019-09-07T18:39:52Z pjb: for conses. 2019-09-07T18:39:54Z hiroaki joined #lisp 2019-09-07T18:42:59Z Bike: i mean, deep-copy calls copy-tree, but that won't copy the elements in the tree, just the conses 2019-09-07T18:43:08Z Bike: this is a pretty big flaw in the library 2019-09-07T18:46:51Z cosimone quit (Quit: Leaving) 2019-09-07T18:50:33Z jeosol: I see. I was able to get it fixed by still performing a separate copy of the slots. I have used this approach (two step copy) in the past to get the objects to be different and not sure if there is a better way. 2019-09-07T18:51:42Z Bike: why do you need the objects to be distinct? 2019-09-07T18:51:49Z jeosol: Adding :identity t to (print-unreadable-object is a nice debug feature 2019-09-07T18:52:13Z jeosol: I am performing distributed calls, so I create the copies and do parallel calls. 2019-09-07T18:52:58Z kajo joined #lisp 2019-09-07T18:53:35Z Bike: and what, the calls alter the objects in different ways? 2019-09-07T18:53:38Z jeosol: I am trying to do sensitivity analyses by changing some slots (2 or more) in the parent object and can do by a function and submit in parallel 2019-09-07T18:53:52Z Bike: ic 2019-09-07T18:54:11Z jeosol: Once I change the objects, I use it to create a deck for another black box function (external physics simulator) 2019-09-07T18:54:16Z karlosz joined #lisp 2019-09-07T18:55:19Z jeosol: each one writes a different input deck when evaluated. I could do it sequentially on the same object, but trying to get the results faster by doing parallel calls. 2019-09-07T18:56:51Z yoeljacobsen joined #lisp 2019-09-07T18:56:59Z kajo quit (*.net *.split) 2019-09-07T18:57:34Z thijso: thanks, fiddlerwoaroof 2019-09-07T18:57:50Z kajo joined #lisp 2019-09-07T19:00:45Z yoeljacobsen quit (*.net *.split) 2019-09-07T19:01:02Z yoeljacobsen joined #lisp 2019-09-07T19:02:37Z q9929t quit (Quit: q9929t) 2019-09-07T19:08:46Z hiroaki quit (Ping timeout: 276 seconds) 2019-09-07T19:12:34Z Posterdati quit (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/) 2019-09-07T19:16:52Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-07T19:17:07Z Posterdati joined #lisp 2019-09-07T19:17:26Z __jrjsmrtn__ joined #lisp 2019-09-07T19:17:27Z __jrjsmrtn__ quit (Max SendQ exceeded) 2019-09-07T19:17:57Z __jrjsmrtn__ joined #lisp 2019-09-07T19:18:58Z _jrjsmrtn quit (Ping timeout: 246 seconds) 2019-09-07T19:25:04Z Akhetopnu quit (Quit: leaving) 2019-09-07T19:28:08Z aautcsh quit (Ping timeout: 252 seconds) 2019-09-07T19:29:44Z seok17 joined #lisp 2019-09-07T19:30:42Z seok17: how can I change the :test for a hash-table? 2019-09-07T19:30:54Z seok17: (setf (hash-table-test..)) doesn't work 2019-09-07T19:34:15Z aautcsh joined #lisp 2019-09-07T19:34:37Z Bike: seok17: can't 2019-09-07T19:35:16Z cosimone joined #lisp 2019-09-07T19:36:21Z xkapastel joined #lisp 2019-09-07T19:49:28Z thijso: seok17: (make-hash-table :test 'equal) ? 2019-09-07T19:51:10Z shka_ quit (Ping timeout: 246 seconds) 2019-09-07T19:51:22Z seok17: thijso: hashtables are already there 2019-09-07T19:52:13Z Bike: you cannot change the test of an existing table 2019-09-07T20:00:51Z refpga quit (Ping timeout: 245 seconds) 2019-09-07T20:00:57Z refpga` joined #lisp 2019-09-07T20:05:15Z thijso: Ah, ok. Yeah, then you're out of luck. Only way I see is to copy into a newly created hashtable with the correct test, but that is probably quite expensive... 2019-09-07T20:05:42Z vlatkoB quit (Remote host closed the connection) 2019-09-07T20:08:17Z seok17: hm quite inconvenient since the default eq does not work with string keys 2019-09-07T20:08:26Z jmercouris joined #lisp 2019-09-07T20:08:48Z gravicappa quit (Ping timeout: 245 seconds) 2019-09-07T20:09:46Z yoeljacobsen quit (Ping timeout: 240 seconds) 2019-09-07T20:10:43Z pjb: seok17: and so, you can't imagine a way to do it? 2019-09-07T20:10:43Z aeth: I think the general expectation is to work with symbols/keywords if possible, where string= hash tables would mostly be for keys for things based on user input... so, yes, it's inconvenient, but not as commonly needed as it is in many other languages 2019-09-07T20:11:36Z seok17: most json libraries return objects as hash with string keys 2019-09-07T20:11:42Z jmercouris: thoughts on cl-annot? 2019-09-07T20:11:47Z aeth: Depending on what you'd need, you could make a make-hash-table* that defaults to string= (or equal or whatever), or a copy-hash-table... but alexandria has the latter. 2019-09-07T20:12:06Z pjb: seok17: (defun change-hash-table-test (old new-test) (let ((new (make-hash-table :test new-test :size (hash-table-count old)))) (maphash (lambda (k v) (setf (gethash k new) v)) old) new)) 2019-09-07T20:12:52Z aeth: It looks like alexandria:copy-hash-table takes a keyword argument called test where if it's defined it will change what the test is (and if it isn't, it keeps the old test). So you could turn default hash-tables into #'equal hash tables that will also work on strings 2019-09-07T20:13:09Z aeth: (alexandria:copy-hash-table foo :test #'equal) 2019-09-07T20:14:10Z aeth: You could also test for EQUAL or STRING= or EQUALP or STRING-EQUAL being used in the HASH-TABLE-TEST first to save a copy. 2019-09-07T20:14:18Z aeth: s/save a copy/save yourself from having to do a copy/ 2019-09-07T20:14:21Z pjb: (let ((old (make-hash-table))) (setf (gethash "foo" old) 42 (gethash (copy-seq "foo") old) 1) (hash-table-keys (change-hash-table-test old 'equal))) #| --> ("foo") |# 2019-09-07T20:15:25Z pjb: The only valid values for test is eq equal and equalp; not string= or string-equal! 2019-09-07T20:16:10Z aeth: weird 2019-09-07T20:16:21Z aeth: I would have assumed that those two would be supported 2019-09-07T20:16:35Z aeth: I guess CL predates strings being so commonplace in hash tables 2019-09-07T20:16:52Z pjb: aeth: string= and string-equal don't compare strings! 2019-09-07T20:16:56Z yoeljacobsen joined #lisp 2019-09-07T20:21:01Z Bike: the library encodes to a hash table with string keys but eq test? really? 2019-09-07T20:22:21Z Bike: looks to me like cl-json and yason both do an equal hash table 2019-09-07T20:23:48Z refpga` quit (Read error: Connection timed out) 2019-09-07T20:24:11Z refpga` joined #lisp 2019-09-07T20:24:49Z Oladon joined #lisp 2019-09-07T20:24:58Z yoeljacobsen quit (Ping timeout: 240 seconds) 2019-09-07T20:26:01Z refpga` quit (Remote host closed the connection) 2019-09-07T20:26:24Z pgomes joined #lisp 2019-09-07T20:28:35Z ggole quit (Quit: Leaving) 2019-09-07T20:28:45Z pgomes quit (Read error: Connection reset by peer) 2019-09-07T20:30:23Z akoana joined #lisp 2019-09-07T20:31:33Z gxt joined #lisp 2019-09-07T20:43:37Z refpga joined #lisp 2019-09-07T20:48:46Z nydel quit (Ping timeout: 245 seconds) 2019-09-07T20:49:04Z nydel joined #lisp 2019-09-07T20:50:01Z Lord_of_Life quit (Ping timeout: 245 seconds) 2019-09-07T20:51:01Z seok17 quit (Remote host closed the connection) 2019-09-07T21:02:00Z jmercouris quit (Remote host closed the connection) 2019-09-07T21:09:10Z ealfonso3 joined #lisp 2019-09-07T21:10:54Z ealfonso quit (Ping timeout: 258 seconds) 2019-09-07T21:12:55Z aautcsh quit (Ping timeout: 248 seconds) 2019-09-07T21:19:05Z ealfonso3 is now known as ealfonso 2019-09-07T21:23:56Z Jeanne-Kamikaze joined #lisp 2019-09-07T21:26:32Z Involuntary joined #lisp 2019-09-07T21:28:00Z Nomenclatura joined #lisp 2019-09-07T21:29:18Z Jeanne-Kamikaze quit (Ping timeout: 265 seconds) 2019-09-07T21:43:46Z nanoz quit (Ping timeout: 268 seconds) 2019-09-07T22:08:43Z schjetne quit (Ping timeout: 244 seconds) 2019-09-07T22:11:23Z slyrus_ quit (Remote host closed the connection) 2019-09-07T22:11:53Z slyrus_ joined #lisp 2019-09-07T22:16:02Z Adamclisi quit (Quit: leaving) 2019-09-07T22:17:21Z techquila joined #lisp 2019-09-07T22:23:44Z Lycurgus quit (Quit: Exeunt) 2019-09-07T22:27:03Z _whitelogger quit (Remote host closed the connection) 2019-09-07T22:27:09Z mrcode_: what's the right way to specialize a method on an array of unsigned-byte vs a string ? 2019-09-07T22:29:12Z Xach: mrcode_: STRING is a system class, so that will get you a method that acts only on strings. but there isn't anything specific for an unsigned-byte array. 2019-09-07T22:29:16Z _whitelogger joined #lisp 2019-09-07T22:30:51Z mrcode_: Xach: does this mean it's impossible to specialize a method for a (simple-array character *) vs (simple-array (unsigned-byte 8) *) ? 2019-09-07T22:34:34Z Xach: mrcode_: methods specialize on classes, not types. 2019-09-07T22:34:47Z Xach: string is a system class, as is array, but (simple-array ub8 *) is not. 2019-09-07T22:35:04Z mrcode_: ahh.. 2019-09-07T22:35:17Z mrcode_: ok. makes sense. i knew i was missing something. thanks Xach 2019-09-07T22:43:40Z skibo joined #lisp 2019-09-07T22:47:39Z mrcode_: hmm, I guess a quick followup to that, how does one specialize a method on an array in general ? 2019-09-07T22:47:52Z mrcode_: adding (arg array) doesn't work 2019-09-07T22:47:54Z mrcode_: (arg string) does 2019-09-07T22:51:14Z pjb: mrcode_: the right way to do that is to define two custom classes, one that wraps the array of unsigned-byte and the other a string, and to specialize on those classes. 2019-09-07T22:53:15Z pjb: Of course, you can also specialize on the classes returned there, or rather, one of their superclasses, since the result is somewhat implementation dependent or too restrictive: (values (class-name (class-of (make-array 3 :element-type 'unsigned-byte))) (class-name (class-of (make-string 3 :element-type 'character)))) #| --> simple-vector ; simple-base-string |# 2019-09-07T22:54:03Z pjb: mrcode_: array is definitely a system class, you can specialize on it. (find-class 'array) #| --> #<built-in-class array> |# 2019-09-07T22:54:57Z pjb: mrcode_: defining wrapping classes would have to be done, assuming you don't want your method to dispatch for arrays of signed-byte or arrays of (unsigned-byte 8), say… 2019-09-07T22:56:11Z Xach: array is a system class and should work usually. 2019-09-07T22:56:39Z pjb: Yes; it's just that it's too general, in general. 2019-09-07T22:57:19Z mrcode_: Xach: it works for me now, after a fresh image start 2019-09-07T22:57:24Z mrcode_: pjb: thanks for the suggestion 2019-09-07T23:03:46Z cosimone quit (Ping timeout: 240 seconds) 2019-09-07T23:10:36Z no-defun-allowed: How should I go about reading :report :flat reports from sb-sprof? 2019-09-07T23:11:25Z no-defun-allowed: I think the "self" column is how many samples have called that function last, and "total" is how many have that function anywhere on the stack. 2019-09-07T23:17:47Z no-defun-allowed: But then that would mean my interpreter is in the dispatch loop (as opposed to running some code) 53% of the time, which I don't believe. 2019-09-07T23:19:38Z varjag quit (Ping timeout: 245 seconds) 2019-09-07T23:23:40Z ck_: That'll be the 's' part in sprof. Have you tried the non-statistical profiler? 2019-09-07T23:27:30Z no-defun-allowed: Could try that. My opcodes are lambda functions and thus I can't name them to trace, but I'm interested to see if that 53% number is anything near realistic. 2019-09-07T23:29:42Z no-defun-allowed: Or that could be possible, since the loop does quite a few checks to limit conses and cycles and establishes a restart too. 2019-09-07T23:32:12Z EvW joined #lisp 2019-09-07T23:32:27Z no-defun-allowed: Yep, it was that restart all along. I guess I will have to split up this loop into a setup part, then a run part, so that it's possible to continue running the interpreter when we raise a signal for some external data. 2019-09-07T23:34:10Z karlosz quit (Remote host closed the connection) 2019-09-07T23:39:50Z karlosz joined #lisp 2019-09-07T23:42:17Z mn3m joined #lisp 2019-09-07T23:42:18Z mn3m quit (Max SendQ exceeded) 2019-09-07T23:43:53Z analogue joined #lisp 2019-09-07T23:59:41Z karlosz quit (Quit: karlosz) 2019-09-08T00:00:35Z karlosz joined #lisp 2019-09-08T00:01:42Z Codaraxis joined #lisp 2019-09-08T00:05:59Z analogue: Evening! 2019-09-08T00:06:34Z EvW quit (Ping timeout: 240 seconds) 2019-09-08T00:08:52Z Codaraxis quit (Quit: Leaving) 2019-09-08T00:09:35Z Codaraxis joined #lisp 2019-09-08T00:13:11Z GuerrillaMonkey joined #lisp 2019-09-08T00:15:29Z karlosz quit (Quit: karlosz) 2019-09-08T00:16:03Z Involuntary quit (Ping timeout: 265 seconds) 2019-09-08T00:16:07Z karlosz joined #lisp 2019-09-08T00:22:42Z hvxgr quit (Remote host closed the connection) 2019-09-08T00:28:10Z ealfonso quit (Ping timeout: 240 seconds) 2019-09-08T00:30:47Z karlosz quit (Quit: karlosz) 2019-09-08T00:31:25Z karlosz joined #lisp 2019-09-08T00:37:40Z cods quit (Ping timeout: 268 seconds) 2019-09-08T00:46:06Z karlosz quit (Quit: karlosz) 2019-09-08T00:47:28Z permagreen quit (Remote host closed the connection) 2019-09-08T00:51:44Z hvxgr joined #lisp 2019-09-08T00:52:51Z tourjin joined #lisp 2019-09-08T00:54:43Z tourjin: i don't see sbcl in cygwin setup. should I install it from out of setup for cygwin? 2019-09-08T00:55:42Z no-defun-allowed: http://sbcl.org/platform-table.html has a Windows installer for you. 2019-09-08T01:02:28Z DrDuck: Can I expect Winston and Horn's code from their 'Lisp' book to compile even though the book was published in '89? 2019-09-08T01:02:38Z tourjin: cygwin and windows10 considered same? 2019-09-08T01:03:25Z Bike: DrDuck: if it doesn't have any extensions it's pretty likely to work or mostly work 2019-09-08T01:08:28Z DrDuck: Can you tell Common Lisp to manually garbage collect an object? 2019-09-08T01:09:00Z Bike: no, the garbage collector is not standard. also, if you can refer to an object and pass it to such a function, it's not garbage 2019-09-08T01:09:02Z no-defun-allowed: Well, if there was some function for it, calling it would create a reference to that object, so no. 2019-09-08T01:09:31Z no-defun-allowed: But (trivial-garbage:gc :full t) will do a full garbage collection (if you load the trivial-garbage system). 2019-09-08T01:11:15Z DrDuck: :( 2019-09-08T01:11:53Z Bike: what are you trying to do? 2019-09-08T01:12:41Z no-defun-allowed: It would be terribly inefficient to garbage collect only one object, when a significant proportion of the heap is scanned. 2019-09-08T01:14:39Z DrDuck: i want to force the garbage collector to clear up some memory explicitly when i tell it to 2019-09-08T01:15:14Z Bike: well, as ddefun said, the implementation usually has a hook to run the collector manually 2019-09-08T01:15:20Z Bike: but are you running out of memory or something? 2019-09-08T01:15:22Z no-defun-allowed: How would you pick what memory to clear? 2019-09-08T01:15:26Z makomo quit (Ping timeout: 245 seconds) 2019-09-08T01:15:40Z DrDuck: just want to experiment with it 2019-09-08T01:16:27Z Bike: in a garbage collected system memory is not really a concern directly, so you should only need to worry about it if you need to tune performance or the like 2019-09-08T01:16:32Z Bike: unlike C where it's core to the semantics 2019-09-08T01:16:52Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-08T01:16:59Z Bike: especially, you can't do something like (free x) (print x) like you can in C (i mean, it's invalid, but you can write it) 2019-09-08T01:21:15Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-08T01:24:42Z notzmv joined #lisp 2019-09-08T01:29:49Z permagreen joined #lisp 2019-09-08T01:43:21Z schjetne joined #lisp 2019-09-08T01:44:34Z tourjin quit (Ping timeout: 240 seconds) 2019-09-08T01:47:47Z schjetne quit (Ping timeout: 244 seconds) 2019-09-08T01:51:35Z p_l: DrDuck: with automatic memory management, usually the only thing you can do is to explicitly trigger the GC, but not tell it to collect something. There are ways to handle that, though, like object caches and sometimes there are ways to get manual memory control 2019-09-08T01:52:27Z analogue: Hey all! 2019-09-08T01:52:30Z White_Flame: there's also dynamic-extent, which basically uses stack storage 2019-09-08T01:52:36Z analogue: I'm looking into a Lisp family language to learn after using Racket some... 2019-09-08T01:53:20Z p_l: yeah, dynamic-extent hints to compiler that the specified binding will have values that live only within scope 2019-09-08T01:53:21Z analogue: What tends to be most used in industry, if anyone has a reccomendation? 2019-09-08T01:53:57Z no-defun-allowed: This is #lisp, we do Common Lisp here, so CL is most used here. (: 2019-09-08T01:54:23Z p_l: analogue: "industry" is notoriously bad guideline in Lisp case. Most visible popular stuff? Clojure and Racket. Hidden in weird places doing important work? Common Lisp and helluva lot of Scheme. With occassional throwback to pre-ZetaLisp days 2019-09-08T01:55:39Z p_l: and by helluva lot of scheme I mean "significant portion of PS3 and PS4 consoles got to run a heavily Scheme-d software" 2019-09-08T01:56:00Z analogue: Yeah, it's not particularly popular in general development stuff it seems 2019-09-08T01:56:06Z analogue: I liked using racket in a class I took 2019-09-08T01:56:24Z no-defun-allowed: Did you know...tinyscheme is used in macOS access control of some sort I forgot the name of? 2019-09-08T01:56:27Z analogue: small languages are my fave though 2019-09-08T01:56:31Z analogue: I see, thanks! 2019-09-08T01:56:46Z p_l: analogue: the general guideline is that if you want to use Lisp (any lisp), take a task where nobody except you cares about language choice 2019-09-08T01:57:24Z p_l: that's surprisingly common in enterprise software, where they pay you to solve a problem, and language is last thing they are going to inquire on so long as it works on their systems 2019-09-08T01:57:39Z analogue: Lol 2019-09-08T01:57:41Z p_l: macOS sandbox, iirc, uses Scheme48 in decision engine 2019-09-08T01:57:43Z analogue: Good to know! 2019-09-08T01:58:00Z analogue: Yeah, I think it seems most useful in research type cases 2019-09-08T01:58:18Z p_l: analogue: drew doesn't show up here much anymore, but he talked about earning money mainly by making intranet web apps for various companies 2019-09-08T01:58:36Z p_l: the companies didn't ask him to program in specific language, they asked him to solve a problem 2019-09-08T01:59:01Z analogue: I see 2019-09-08T01:59:03Z p_l: and sometimes you might even end up building a new language to fit their requirements, where Lisp makes a lot of things easier :) 2019-09-08T01:59:11Z analogue: Contract work like tat appeals to me :) 2019-09-08T01:59:11Z p_l once did, using Blockly as base 2019-09-08T01:59:28Z semz quit (Ping timeout: 264 seconds) 2019-09-08T01:59:38Z analogue: Most of my experience has been with medium sized older C++ codebases though so far 2019-09-08T02:00:20Z p_l: analogue: one use case you might have is to introduce dynamic programming by end user to such a codebase 2019-09-08T02:00:34Z p_l: ECL makes it probably even easier than most 2019-09-08T02:01:30Z p_l: the aforementioned blockly use case? we pitched to client that they would be able to change processing equations/rules without having a java & PL/SQL expert come and recompile the program 2019-09-08T02:04:04Z analogue: What differences are there between the dialects of Common Lisp? 2019-09-08T02:04:30Z analogue: I see, that's pretty cool! 2019-09-08T02:04:36Z analogue: I'm not familiar with blockly 2019-09-08T02:04:43Z no-defun-allowed: There is only one Common Lisp, any differences are implementations. 2019-09-08T02:04:49Z analogue: Gotcha 2019-09-08T02:05:03Z p_l: well, with exception of Allegro's "modern mode" (lowercase, case-preserving), all important implementations comply with ANSI CL standard 2019-09-08T02:05:09Z no-defun-allowed: The differences between those implementations include compilers and extensions (like exposing GC functions, FFI, threads, etc) 2019-09-08T02:05:13Z p_l: the differences are in compiler capabilities, tooling, etc. 2019-09-08T02:05:32Z jiny joined #lisp 2019-09-08T02:05:46Z p_l: LW for example has pretty nice GUI library and AFAIK splendid delivery options (plus stuff like WHO-CALLS) 2019-09-08T02:06:18Z ck_: what's special about lispworks who-calls? 2019-09-08T02:06:24Z analogue: Scheme appeals to me the most I think, would you say it is much to transition between the languages? 2019-09-08T02:06:24Z p_l: ck_: it exists :> 2019-09-08T02:06:40Z ck_: p_l: but does it work differently than the slime xref equivalent? 2019-09-08T02:07:27Z p_l: analogue: significant differences, IMO. CL has non-hygienic macros and doesn't care that much about text representation of code. ANSI CL is also much bigger standard by itself and thus a lot of things that are "every implementation is different" in Scheme are boringly standard in CL 2019-09-08T02:07:51Z p_l: ck_: iirc, SLIME's doesn't support querying who call's function at point on all implementations 2019-09-08T02:08:11Z analogue: I see 2019-09-08T02:08:37Z analogue: Would you have any book reccomendations? 2019-09-08T02:08:51Z p_l: minion: tell analogue about pcl 2019-09-08T02:08:52Z minion: analogue: 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). 2019-09-08T02:08:56Z ck_: p_l: sure. I just wondered why you singled out the lispworks functionality -- perhaps because it works slightly differently or better. 2019-09-08T02:08:57Z analogue: on CL or Scheme that is? 2019-09-08T02:09:01Z p_l: minion: tell analogue about paip 2019-09-08T02:09:01Z minion: analogue: paip: Paradigms of Artificial Intelligence Programming. More about Common Lisp than Artificial Intelligence. Now freely available at https://github.com/norvig/paip-lisp 2019-09-08T02:09:24Z p_l: analogue: I don't have much on scheme, but "How to Design Programs" might be of interest 2019-09-08T02:09:46Z analogue: Oh I was just looking through PCL! 2019-09-08T02:09:50Z p_l: and of course the classic (light on Scheme, heavy on Computer Science) "Structure and Interpretation of Computer Programs" 2019-09-08T02:11:28Z analogue: Actually, my AI class is using norvig's text 2019-09-08T02:11:34Z analogue: I'm sure that will pair well! 2019-09-08T02:11:52Z analogue: Got it 2019-09-08T02:11:59Z analogue: Thanks, p_l! 2019-09-08T02:12:05Z semz joined #lisp 2019-09-08T02:14:31Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-08T02:16:05Z vaporatorius joined #lisp 2019-09-08T02:16:37Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-08T02:18:00Z analogue quit (Quit: Leaving) 2019-09-08T02:21:16Z shifty quit (Ping timeout: 268 seconds) 2019-09-08T02:29:16Z vaporatorius joined #lisp 2019-09-08T02:29:39Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-08T02:31:59Z vaporatorius joined #lisp 2019-09-08T02:32:00Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-08T02:32:12Z sjl joined #lisp 2019-09-08T02:36:49Z GuerrillaMonkey quit (Remote host closed the connection) 2019-09-08T02:40:26Z jiny quit (Ping timeout: 245 seconds) 2019-09-08T02:47:03Z broccolistem joined #lisp 2019-09-08T02:47:58Z weilawei joined #lisp 2019-09-08T02:48:22Z risingbulge joined #lisp 2019-09-08T02:54:00Z risingbulge left #lisp 2019-09-08T02:58:08Z beach: Good morning everyone! 2019-09-08T02:58:32Z broccolistem quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-08T03:40:05Z elderK joined #lisp 2019-09-08T03:46:12Z Codaraxis quit (Read error: Connection reset by peer) 2019-09-08T03:46:36Z dddddd quit (Remote host closed the connection) 2019-09-08T03:46:41Z Codaraxis joined #lisp 2019-09-08T03:53:51Z Codaraxis quit (Ping timeout: 244 seconds) 2019-09-08T04:01:41Z awolven joined #lisp 2019-09-08T04:06:02Z _whitelogger quit (Remote host closed the connection) 2019-09-08T04:08:15Z _whitelogger joined #lisp 2019-09-08T04:28:18Z Codaraxis joined #lisp 2019-09-08T04:33:28Z nanoz joined #lisp 2019-09-08T04:33:31Z gravicappa joined #lisp 2019-09-08T04:41:39Z vaporatorius joined #lisp 2019-09-08T04:41:41Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-08T04:46:37Z mindthelion joined #lisp 2019-09-08T04:48:58Z techquila quit (Ping timeout: 240 seconds) 2019-09-08T05:00:19Z ggole joined #lisp 2019-09-08T05:20:32Z Nomenclatura quit (Quit: q) 2019-09-08T05:31:43Z dale quit (Quit: My computer has gone to sleep) 2019-09-08T05:48:07Z SaganMan joined #lisp 2019-09-08T05:54:31Z Bike quit (Quit: Lost terminal) 2019-09-08T05:59:14Z PuercoPope joined #lisp 2019-09-08T06:00:46Z broccolistem joined #lisp 2019-09-08T06:09:03Z _whitelogger quit (Remote host closed the connection) 2019-09-08T06:10:09Z broccolistem quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-08T06:11:15Z _whitelogger joined #lisp 2019-09-08T06:20:07Z shka_ joined #lisp 2019-09-08T06:32:13Z refpga quit (Remote host closed the connection) 2019-09-08T06:46:01Z jello_pudding joined #lisp 2019-09-08T06:57:49Z Codaraxis_ joined #lisp 2019-09-08T07:01:16Z Codaraxis quit (Ping timeout: 264 seconds) 2019-09-08T07:08:55Z slyrus_ quit (Quit: Leaving) 2019-09-08T07:12:58Z igemnace quit (Quit: WeeChat 2.5) 2019-09-08T07:13:07Z defaultxr quit (Ping timeout: 258 seconds) 2019-09-08T07:17:07Z ravenousmoose joined #lisp 2019-09-08T07:17:16Z thijso: morning 2019-09-08T07:24:03Z Codaraxis_ is now known as Codaraxis 2019-09-08T07:25:23Z beach: Hello thijso. 2019-09-08T07:28:19Z mindthelion quit (Read error: Connection reset by peer) 2019-09-08T07:28:23Z techquila joined #lisp 2019-09-08T07:29:36Z techquila quit (Max SendQ exceeded) 2019-09-08T07:30:10Z techquila joined #lisp 2019-09-08T07:31:31Z refpga joined #lisp 2019-09-08T07:46:16Z jonatack quit (Ping timeout: 264 seconds) 2019-09-08T07:50:01Z TMA joined #lisp 2019-09-08T08:00:15Z akoana left #lisp 2019-09-08T08:02:24Z jello_pudding quit (Remote host closed the connection) 2019-09-08T08:03:17Z schjetne joined #lisp 2019-09-08T08:18:02Z jonatack joined #lisp 2019-09-08T08:18:30Z ravenousmoose quit (Ping timeout: 252 seconds) 2019-09-08T08:19:34Z jonatack_ joined #lisp 2019-09-08T08:19:45Z jonatack_ quit (Client Quit) 2019-09-08T08:20:08Z fraxamo joined #lisp 2019-09-08T08:22:10Z jonatack quit (Read error: Connection reset by peer) 2019-09-08T08:22:59Z makomo joined #lisp 2019-09-08T08:23:31Z jonatack joined #lisp 2019-09-08T08:23:33Z jonatack quit (Client Quit) 2019-09-08T08:23:43Z jonatack joined #lisp 2019-09-08T08:52:45Z cosimone joined #lisp 2019-09-08T09:03:17Z Codaraxis quit (Read error: Connection reset by peer) 2019-09-08T09:28:52Z momozor joined #lisp 2019-09-08T09:29:14Z khisanth_ quit (Ping timeout: 268 seconds) 2019-09-08T09:30:40Z momozor: Hi, can I get some feedback of the code in https://github.com/momozor/Saurna/blob/master/src/main.lisp. 2019-09-08T09:35:27Z seok quit (Remote host closed the connection) 2019-09-08T09:40:42Z momozor quit (Quit: leaving) 2019-09-08T09:41:31Z khisanth_ joined #lisp 2019-09-08T09:49:16Z Codaraxis joined #lisp 2019-09-08T09:49:29Z Codaraxis quit (Remote host closed the connection) 2019-09-08T10:01:17Z xkapastel joined #lisp 2019-09-08T10:03:20Z shaakyamuni[m] joined #lisp 2019-09-08T10:16:22Z SaganMan quit (Ping timeout: 246 seconds) 2019-09-08T10:29:08Z varjag joined #lisp 2019-09-08T10:33:17Z dddddd joined #lisp 2019-09-08T10:34:48Z Lord_of_Life joined #lisp 2019-09-08T10:43:37Z SaganMan joined #lisp 2019-09-08T10:45:42Z scymtym quit (Ping timeout: 268 seconds) 2019-09-08T10:49:16Z karswell quit (Read error: No route to host) 2019-09-08T10:50:01Z lavaflow quit (Ping timeout: 245 seconds) 2019-09-08T10:55:13Z cosimone quit (Quit: Leaving) 2019-09-08T11:00:35Z ravenousmoose joined #lisp 2019-09-08T11:01:41Z nanoz quit (Ping timeout: 245 seconds) 2019-09-08T11:05:34Z ravenousmoose quit (Ping timeout: 276 seconds) 2019-09-08T11:06:25Z scymtym joined #lisp 2019-09-08T11:07:59Z cods joined #lisp 2019-09-08T11:08:56Z hiroaki joined #lisp 2019-09-08T11:12:18Z nowhere_man joined #lisp 2019-09-08T11:12:45Z lemoinem quit (Remote host closed the connection) 2019-09-08T11:13:52Z zigpaw quit (Quit: Vanishing into darkness in 1..2..3...) 2019-09-08T11:15:21Z zigpaw joined #lisp 2019-09-08T11:17:04Z nowhere_man quit (Read error: Connection reset by peer) 2019-09-08T11:17:05Z ravenousmoose joined #lisp 2019-09-08T11:17:08Z Necktwi joined #lisp 2019-09-08T11:20:09Z nowhere_man joined #lisp 2019-09-08T11:28:16Z nowhere_man quit (Ping timeout: 264 seconds) 2019-09-08T11:30:47Z nowhereman joined #lisp 2019-09-08T11:31:07Z Inline__ joined #lisp 2019-09-08T11:33:40Z Inline quit (Ping timeout: 264 seconds) 2019-09-08T11:34:03Z puchacz joined #lisp 2019-09-08T11:34:13Z jonatack quit (Ping timeout: 245 seconds) 2019-09-08T11:35:28Z nowhereman quit (Ping timeout: 276 seconds) 2019-09-08T11:36:35Z puchacz: hi, what's the recommended library that implements curve fitting? 2019-09-08T11:37:16Z puchacz: for example, for exponential decay I can write in Mathematica: FindFit[points, a Exp[-x b], {a, b}, x] 2019-09-08T11:37:30Z puchacz: and it t tells me {a -> 1.00123, b -> 0.0365592} 2019-09-08T11:38:16Z Necktwi quit (Ping timeout: 246 seconds) 2019-09-08T11:46:45Z shifty joined #lisp 2019-09-08T11:51:53Z nowhere_man joined #lisp 2019-09-08T11:53:35Z t58 joined #lisp 2019-09-08T11:55:08Z Necktwi joined #lisp 2019-09-08T11:59:50Z thijso: Shinmera: what implementations have you tested verbose on? On SBCL my code runs without errors, but on ECL it looks like verbose is messing with other threads, namely a thread running a usocket UDP server. After a few seconds that thread dies with an unknown error... 2019-09-08T12:00:28Z thijso: And this is only when adding in verbose for logging. Without it, the code works on ECL as expected. 2019-09-08T12:00:36Z EvW joined #lisp 2019-09-08T12:00:51Z Shinmera: Hmm. 2019-09-08T12:01:21Z Shinmera: first I hear of this. Do you have any information beyond that it crashes? 2019-09-08T12:02:43Z thijso: Well, the error I get is kinda weird as well: "The condition Not a condition type: NIL occurred with errno: 0." and " [Condition of type USOCKET:UNKNOWN-ERROR]" 2019-09-08T12:02:46Z Shinmera: Verbose does use a background thread to do the logging in. ECL might not like it if it's printing from there and from another thread at the same time. 2019-09-08T12:03:03Z Shinmera: But beyond that I don't know. 2019-09-08T12:03:11Z thijso: Hmm... 2019-09-08T12:03:38Z thijso: Well, now the question becomes, do I start digging, or give up and just do my own debug logging... ;) 2019-09-08T12:04:16Z thijso: Hey... the main thread was still running and now it says: "Attempted to recursively lock #<lock (nonrecursive) "MESSAGE-LOCK" 0x55a7b1b55360> which is already owned by #<process "verbose-thread" 0x55a7b0a2b400> 2019-09-08T12:04:31Z Shinmera: Well, that's more interesting. 2019-09-08T12:04:32Z thijso: I've seen that one before, too 2019-09-08T12:05:41Z Shinmera: Only idea I have about that is that condition-wait doesn't release the lock for some reason 2019-09-08T12:05:58Z Shinmera: Lemme see if I can reproduce 2019-09-08T12:06:15Z igemnace joined #lisp 2019-09-08T12:06:25Z thijso: Sure. I'm gonna be away for couple of hours, but I'll check the logs when I get back. 2019-09-08T12:08:22Z Shinmera: Okey, got it. 2019-09-08T12:09:25Z schjetne quit (Ping timeout: 258 seconds) 2019-09-08T12:12:49Z Shinmera: Well, I get the failure, but not why it happens 2019-09-08T12:13:07Z nanoz joined #lisp 2019-09-08T12:15:50Z analogue joined #lisp 2019-09-08T12:16:29Z jonatack joined #lisp 2019-09-08T12:26:30Z Shinmera: It seems like ECL is, under some circumstances, returning NIL from condition-wait with the lock still held. 2019-09-08T12:30:55Z Shinmera: thijso: Fixed via workaround in e47f34a 2019-09-08T12:39:45Z Bike joined #lisp 2019-09-08T12:39:47Z shifty quit (Ping timeout: 268 seconds) 2019-09-08T12:40:44Z shifty joined #lisp 2019-09-08T12:40:58Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-08T12:46:19Z defaultxr joined #lisp 2019-09-08T12:46:23Z EvW quit (Ping timeout: 250 seconds) 2019-09-08T12:47:49Z EvW joined #lisp 2019-09-08T12:51:14Z Necktwi quit (Quit: leaving) 2019-09-08T12:52:21Z schjetne joined #lisp 2019-09-08T13:00:27Z aautcsh joined #lisp 2019-09-08T13:06:35Z knicklux joined #lisp 2019-09-08T13:10:57Z SaganMan quit (Quit: WeeChat 1.6) 2019-09-08T13:12:47Z Necktwi joined #lisp 2019-09-08T13:14:39Z lucasb joined #lisp 2019-09-08T13:24:11Z nowhere_man quit (Ping timeout: 245 seconds) 2019-09-08T13:42:08Z Necktwi quit (Ping timeout: 245 seconds) 2019-09-08T13:48:58Z Necktwi joined #lisp 2019-09-08T13:50:36Z nowhere_man joined #lisp 2019-09-08T13:51:00Z schjetne quit (Ping timeout: 258 seconds) 2019-09-08T13:54:00Z schjetne joined #lisp 2019-09-08T13:58:35Z X-Scale joined #lisp 2019-09-08T14:01:48Z gigetoo quit (Ping timeout: 268 seconds) 2019-09-08T14:04:26Z gigetoo joined #lisp 2019-09-08T14:04:41Z red-dot joined #lisp 2019-09-08T14:16:31Z cosimone joined #lisp 2019-09-08T14:23:23Z schjetne quit (Ping timeout: 268 seconds) 2019-09-08T14:24:06Z cosimone quit (Quit: Leaving) 2019-09-08T14:27:33Z pnp joined #lisp 2019-09-08T14:28:23Z v88m quit (Ping timeout: 245 seconds) 2019-09-08T14:28:43Z xkapastel joined #lisp 2019-09-08T14:30:28Z dxtr quit (Ping timeout: 246 seconds) 2019-09-08T14:31:45Z dxtr joined #lisp 2019-09-08T14:34:50Z thijso: Shinmera: great, I'll check it out 2019-09-08T14:37:49Z zch joined #lisp 2019-09-08T14:41:13Z McParen joined #lisp 2019-09-08T14:42:32Z thijso: The 'attempted to recursively lock..' error seems to be gone, indeed, but I still get the 'Condition of type: UNKNOWN-ERROR' at the start in the udp processing thread, Shinmera... Looks like I'll need to do some debugging there 2019-09-08T14:42:47Z v88m joined #lisp 2019-09-08T14:43:25Z puchacz quit (Quit: Connection closed for inactivity) 2019-09-08T14:43:48Z Shinmera: I don't know what that's about, so I can't help you there. 2019-09-08T14:43:53Z igemnace quit (Quit: WeeChat 2.5) 2019-09-08T14:44:01Z thijso: The error message with that one is: "The condition Not a condition type: NIL occurred with errno: 0." Somehow the udp thread is getting signalled with a condition NIL? Is that how I need to read that error? 2019-09-08T14:44:21Z thijso: No, I know, Shinmera 2019-09-08T14:44:26Z pnp left #lisp 2019-09-08T14:45:01Z ggole quit (Remote host closed the connection) 2019-09-08T14:45:05Z thijso: Just weird that it crops up only if I include verbose as a dependency. Even without calling any code in there. But I think it always starts up threads, right? Is there a way to turn that off? 2019-09-08T14:45:17Z MrBismuth joined #lisp 2019-09-08T14:45:29Z ggole joined #lisp 2019-09-08T14:46:54Z Shinmera: The docs mention this. 2019-09-08T14:47:07Z Shinmera: push :verbose-no-init to *features* before loading. 2019-09-08T14:47:36Z thijso: Ah, sorry. Missed that. 2019-09-08T14:47:39Z thijso: Thanks 2019-09-08T14:47:57Z Shinmera: No problem. 2019-09-08T14:48:09Z MrBusiness3 quit (Ping timeout: 250 seconds) 2019-09-08T14:48:23Z thijso: On the other hand, eventually I would like to use the threading stuff in verbose as well, otherwise the benefit is next to zero... 2019-09-08T14:48:56Z igemnace joined #lisp 2019-09-08T14:50:14Z zch is now known as zdm 2019-09-08T14:50:49Z schjetne joined #lisp 2019-09-08T14:52:58Z rotty quit (Quit: WeeChat 2.6-dev) 2019-09-08T14:53:42Z rotty joined #lisp 2019-09-08T14:55:11Z schjetne quit (Ping timeout: 244 seconds) 2019-09-08T14:56:19Z lavaflow joined #lisp 2019-09-08T14:57:15Z igemnace quit (Ping timeout: 244 seconds) 2019-09-08T14:59:28Z orivej quit (Ping timeout: 264 seconds) 2019-09-08T15:02:28Z nowhere_man quit (Remote host closed the connection) 2019-09-08T15:03:30Z nowhere_man joined #lisp 2019-09-08T15:06:04Z EvW quit (Ping timeout: 264 seconds) 2019-09-08T15:11:02Z nowhere_man quit (Remote host closed the connection) 2019-09-08T15:12:45Z nowhere_man joined #lisp 2019-09-08T15:13:02Z igemnace joined #lisp 2019-09-08T15:20:44Z schjetne joined #lisp 2019-09-08T15:22:09Z yoeljacobsen joined #lisp 2019-09-08T15:26:00Z orivej joined #lisp 2019-09-08T15:28:23Z awolven quit (Ping timeout: 258 seconds) 2019-09-08T15:30:37Z nowhere_man quit (Remote host closed the connection) 2019-09-08T15:34:55Z orivej quit (Ping timeout: 268 seconds) 2019-09-08T15:36:00Z jiny joined #lisp 2019-09-08T15:43:06Z aautcsh quit (Quit: aautcsh) 2019-09-08T15:46:38Z aautcsh joined #lisp 2019-09-08T15:47:38Z analogue quit (Quit: Leaving) 2019-09-08T15:56:33Z McParen left #lisp 2019-09-08T15:59:35Z weilawei left #lisp 2019-09-08T15:59:50Z jiny quit (Remote host closed the connection) 2019-09-08T16:02:11Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-08T16:04:17Z awolven joined #lisp 2019-09-08T16:10:10Z techquila quit (Ping timeout: 258 seconds) 2019-09-08T16:11:47Z knicklux quit (Ping timeout: 250 seconds) 2019-09-08T16:15:00Z hiroaki quit (Ping timeout: 268 seconds) 2019-09-08T16:20:06Z red-dot joined #lisp 2019-09-08T16:21:25Z Aruseus joined #lisp 2019-09-08T16:24:02Z orivej joined #lisp 2019-09-08T16:25:24Z knicklux joined #lisp 2019-09-08T16:25:46Z EvW joined #lisp 2019-09-08T16:26:07Z karswell joined #lisp 2019-09-08T16:32:50Z knicklux quit (Ping timeout: 244 seconds) 2019-09-08T16:43:07Z notzmv quit (Read error: Connection reset by peer) 2019-09-08T16:43:10Z rippa joined #lisp 2019-09-08T16:52:05Z scymtym quit (Ping timeout: 250 seconds) 2019-09-08T16:55:07Z EvW quit (Ping timeout: 250 seconds) 2019-09-08T17:04:54Z scymtym joined #lisp 2019-09-08T17:05:42Z makomo quit (Quit: WeeChat 2.4) 2019-09-08T17:07:58Z yoeljacobsen quit (Ping timeout: 245 seconds) 2019-09-08T17:13:22Z nydel quit (Read error: Connection reset by peer) 2019-09-08T17:14:13Z scymtym quit (Ping timeout: 245 seconds) 2019-09-08T17:17:16Z orivej quit (Ping timeout: 244 seconds) 2019-09-08T17:21:34Z MinnowTaur joined #lisp 2019-09-08T17:29:55Z zdm quit (Quit: Leaving) 2019-09-08T17:32:32Z gxt quit (Quit: WeeChat 2.5) 2019-09-08T17:40:36Z knicklux joined #lisp 2019-09-08T17:46:17Z hortiel joined #lisp 2019-09-08T17:48:23Z hortiel: why is /topic saying #1= and #1! 2019-09-08T17:48:27Z hortiel: #1# 2019-09-08T17:48:44Z hortiel: are they saying lisp is number 1 programming language? 2019-09-08T17:50:18Z ck_: no, it is saying it is 'infinitely programmable' 2019-09-08T17:50:50Z ck_: clhs 2.4.8.15 2019-09-08T17:50:50Z specbot: Sharpsign Equal-Sign: http://www.lispworks.com/reference/HyperSpec/Body/02_dho.htm 2019-09-08T17:50:51Z awolven quit (Ping timeout: 244 seconds) 2019-09-08T17:51:25Z ck_: hortiel: ↑ 2019-09-08T17:52:16Z broccolistem joined #lisp 2019-09-08T17:53:16Z sjl quit (Quit: WeeChat 2.2-dev) 2019-09-08T17:53:51Z hortiel: i didn't get that definition 2019-09-08T17:54:01Z hortiel: object has object representation... what the heck 2019-09-08T17:54:13Z hortiel: what is #1# even mean 2019-09-08T17:54:25Z hortiel: #1= is it lisp syntax 2019-09-08T17:54:46Z sjl joined #lisp 2019-09-08T17:56:48Z tfb: hortiel: when reading data (which is the same as when reading code) #n= (where n is an integer) makes a 'label' for something being read, and #n# refers to that label. This means self-referential (circular) objects can be read. 2019-09-08T17:57:11Z awolven joined #lisp 2019-09-08T17:57:22Z quazimodo quit (Ping timeout: 268 seconds) 2019-09-08T17:59:07Z fraxamo quit (Quit: Leaving) 2019-09-08T18:02:15Z moldybits: #1=42 is the same as 42 except you can now refer to 42 with #1#, but only within the same "read context" or something like that. 2019-09-08T18:02:44Z broccolistem quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-08T18:03:30Z moldybits: try (list #1=(print 'hi) #1# '#1#) maybe. 2019-09-08T18:04:05Z awolven is now known as clothespin 2019-09-08T18:05:06Z broccolistem joined #lisp 2019-09-08T18:05:44Z broccolistem quit (Client Quit) 2019-09-08T18:14:21Z zch joined #lisp 2019-09-08T18:15:09Z zch is now known as zdm 2019-09-08T18:15:52Z jcob quit (Ping timeout: 246 seconds) 2019-09-08T18:22:13Z akoana joined #lisp 2019-09-08T18:23:39Z jcob joined #lisp 2019-09-08T18:30:35Z gxt joined #lisp 2019-09-08T18:36:45Z akoana left #lisp 2019-09-08T18:36:53Z akoana joined #lisp 2019-09-08T18:40:07Z zdm quit (Quit: Leaving) 2019-09-08T18:40:41Z yoeljacobsen joined #lisp 2019-09-08T18:45:14Z saravia joined #lisp 2019-09-08T18:45:26Z shifty quit (Ping timeout: 245 seconds) 2019-09-08T18:45:53Z davr0s_ joined #lisp 2019-09-08T18:45:53Z davr0s joined #lisp 2019-09-08T18:47:54Z mpcjanssen quit (Quit: WeeChat 1.9.1) 2019-09-08T18:49:52Z Necktwi quit (Quit: leaving) 2019-09-08T18:51:53Z pjb: hortiel: indeed, it could also say #42= and #42# to hint that lisp is the answer to the big question of life, the universe, and all that. 2019-09-08T18:55:57Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-08T18:57:58Z analogue joined #lisp 2019-09-08T19:09:30Z EvW joined #lisp 2019-09-08T19:09:44Z scymtym joined #lisp 2019-09-08T19:10:58Z zdm joined #lisp 2019-09-08T19:12:43Z Oladon quit (Ping timeout: 252 seconds) 2019-09-08T19:14:44Z Oladon joined #lisp 2019-09-08T19:16:35Z cosimone joined #lisp 2019-09-08T19:17:28Z lavaflow quit (Ping timeout: 246 seconds) 2019-09-08T19:22:56Z gravicappa quit (Ping timeout: 245 seconds) 2019-09-08T19:24:05Z fengshaun quit (Remote host closed the connection) 2019-09-08T19:24:58Z fengshaun joined #lisp 2019-09-08T19:25:51Z hortiel quit (Quit: WeeChat 2.5) 2019-09-08T19:30:29Z knicklux quit (Ping timeout: 268 seconds) 2019-09-08T19:33:25Z lavaflow joined #lisp 2019-09-08T19:36:17Z elderK quit (Quit: WeeChat 1.9) 2019-09-08T19:41:17Z vydd joined #lisp 2019-09-08T19:41:18Z vydd quit (Changing host) 2019-09-08T19:41:18Z vydd joined #lisp 2019-09-08T19:42:44Z ggole quit (Quit: Leaving) 2019-09-08T19:58:23Z thijso quit (Read error: No route to host) 2019-09-08T19:58:43Z thijso joined #lisp 2019-09-08T20:03:07Z techquila joined #lisp 2019-09-08T20:03:14Z Ven`` joined #lisp 2019-09-08T20:03:30Z Posterdati quit (*.net *.split) 2019-09-08T20:03:51Z Posterdati joined #lisp 2019-09-08T20:05:17Z shka_ quit (Quit: Konversation terminated!) 2019-09-08T20:08:25Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-08T20:12:12Z __jrjsmrtn__ quit (*.net *.split) 2019-09-08T20:12:35Z __jrjsmrtn__ joined #lisp 2019-09-08T20:12:55Z ravenousmoose quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-08T20:24:46Z ravndal quit (Quit: WeeChat 2.5) 2019-09-08T20:26:22Z ravndal joined #lisp 2019-09-08T20:31:16Z fengshaun quit (Ping timeout: 245 seconds) 2019-09-08T20:31:20Z fengshaun_ joined #lisp 2019-09-08T20:35:32Z anewuser joined #lisp 2019-09-08T20:43:52Z lavaflow quit (Ping timeout: 268 seconds) 2019-09-08T20:47:41Z sabrac quit (Remote host closed the connection) 2019-09-08T20:48:39Z Lord_of_Life_ joined #lisp 2019-09-08T20:49:27Z karlosz joined #lisp 2019-09-08T20:49:55Z clothespin quit (Ping timeout: 276 seconds) 2019-09-08T20:51:16Z Lord_of_Life quit (Ping timeout: 245 seconds) 2019-09-08T20:51:17Z Lord_of_Life_ is now known as Lord_of_Life 2019-09-08T20:53:46Z saravia quit (Remote host closed the connection) 2019-09-08T20:56:36Z lavaflow joined #lisp 2019-09-08T21:00:03Z schjetne quit (Ping timeout: 245 seconds) 2019-09-08T21:16:46Z orivej joined #lisp 2019-09-08T21:20:36Z refpga quit (Remote host closed the connection) 2019-09-08T21:30:16Z Aruseus quit (Remote host closed the connection) 2019-09-08T21:31:56Z makomo joined #lisp 2019-09-08T21:33:26Z akoana left #lisp 2019-09-08T21:44:13Z karlosz quit (Quit: karlosz) 2019-09-08T21:46:16Z igemnace quit (Quit: WeeChat 2.5) 2019-09-08T21:55:10Z ltriant joined #lisp 2019-09-08T21:58:21Z sellout- quit (Ping timeout: 245 seconds) 2019-09-08T22:00:07Z sellout- joined #lisp 2019-09-08T22:03:51Z karlosz joined #lisp 2019-09-08T22:09:49Z schjetne joined #lisp 2019-09-08T22:10:12Z varjag quit (Ping timeout: 268 seconds) 2019-09-08T22:12:19Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-08T22:12:43Z fengshaun_ is now known as fengshaun 2019-09-08T22:14:12Z varjag joined #lisp 2019-09-08T22:14:20Z varjag quit (Remote host closed the connection) 2019-09-08T22:15:03Z schjetne quit (Ping timeout: 245 seconds) 2019-09-08T22:21:50Z permagreen quit (Remote host closed the connection) 2019-09-08T22:22:23Z nanoz quit (Ping timeout: 258 seconds) 2019-09-08T22:22:35Z permagreen joined #lisp 2019-09-08T22:23:08Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-08T22:32:56Z lavaflow quit (Ping timeout: 245 seconds) 2019-09-08T22:38:03Z lavaflow joined #lisp 2019-09-08T22:41:16Z vydd quit (Ping timeout: 245 seconds) 2019-09-08T22:43:16Z thijso quit (Ping timeout: 246 seconds) 2019-09-08T22:46:21Z dddddd quit (Remote host closed the connection) 2019-09-08T22:57:00Z zdm quit (Quit: Leaving) 2019-09-08T22:58:55Z anewuser quit (Ping timeout: 268 seconds) 2019-09-08T23:04:19Z cosimone quit (Ping timeout: 250 seconds) 2019-09-08T23:04:34Z slyrus joined #lisp 2019-09-08T23:11:21Z karlosz quit (Quit: karlosz) 2019-09-08T23:18:22Z flazh quit (Ping timeout: 245 seconds) 2019-09-08T23:20:01Z t58_ joined #lisp 2019-09-08T23:23:46Z t58 quit (Ping timeout: 245 seconds) 2019-09-08T23:39:06Z red-dot joined #lisp 2019-09-08T23:44:16Z Jeanne-Kamikaze joined #lisp 2019-09-08T23:58:06Z zdm joined #lisp 2019-09-08T23:59:02Z schjetne joined #lisp 2019-09-09T00:00:41Z zdm quit (Client Quit) 2019-09-09T00:01:00Z zdm joined #lisp 2019-09-09T00:04:21Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-09T00:18:39Z _paul0 joined #lisp 2019-09-09T00:19:33Z paul0 quit (Read error: Connection reset by peer) 2019-09-09T00:22:23Z notzmv joined #lisp 2019-09-09T00:27:34Z igemnace joined #lisp 2019-09-09T00:33:41Z alexanderbarbosa joined #lisp 2019-09-09T00:34:11Z lavaflow quit (Ping timeout: 245 seconds) 2019-09-09T00:34:20Z igemnace quit (Remote host closed the connection) 2019-09-09T00:35:47Z schjetne quit (Ping timeout: 258 seconds) 2019-09-09T00:36:53Z karswell quit (Read error: Connection reset by peer) 2019-09-09T00:38:21Z karswell joined #lisp 2019-09-09T00:48:33Z lavaflow joined #lisp 2019-09-09T00:50:28Z sjl quit (Quit: WeeChat 2.2-dev) 2019-09-09T00:55:02Z libertyprime joined #lisp 2019-09-09T00:56:32Z zdm quit (Quit: Leaving) 2019-09-09T00:57:19Z davr0s_ quit (Ping timeout: 246 seconds) 2019-09-09T00:57:19Z davr0s quit (Ping timeout: 246 seconds) 2019-09-09T01:07:47Z Theo__ joined #lisp 2019-09-09T01:23:10Z t58_ quit (Quit: Night) 2019-09-09T01:26:24Z analogue quit (Quit: Leaving) 2019-09-09T01:26:45Z analogue joined #lisp 2019-09-09T01:34:04Z ravndal quit (Remote host closed the connection) 2019-09-09T01:34:51Z zdm joined #lisp 2019-09-09T01:35:07Z zdm left #lisp 2019-09-09T01:35:50Z ravndal joined #lisp 2019-09-09T01:36:21Z analogue quit (Quit: Leaving) 2019-09-09T01:36:42Z analogue joined #lisp 2019-09-09T01:53:19Z EvW quit (Ping timeout: 250 seconds) 2019-09-09T01:58:52Z semz quit (Ping timeout: 264 seconds) 2019-09-09T01:59:15Z elderK joined #lisp 2019-09-09T02:05:16Z nanoz joined #lisp 2019-09-09T02:08:10Z fengshaun quit (Ping timeout: 258 seconds) 2019-09-09T02:11:07Z semz joined #lisp 2019-09-09T02:15:59Z awolven joined #lisp 2019-09-09T02:17:58Z Jeanne-Kamikaze quit (Ping timeout: 245 seconds) 2019-09-09T02:20:50Z schjetne joined #lisp 2019-09-09T02:25:34Z nanoz quit (Read error: Connection timed out) 2019-09-09T02:26:16Z analogue quit (Quit: Leaving) 2019-09-09T02:26:26Z nanoz joined #lisp 2019-09-09T02:28:34Z torbo joined #lisp 2019-09-09T02:31:37Z dale joined #lisp 2019-09-09T02:37:29Z makomo_ joined #lisp 2019-09-09T02:40:26Z makomo quit (Ping timeout: 244 seconds) 2019-09-09T02:46:16Z alexanderbarbosa quit (Remote host closed the connection) 2019-09-09T02:48:33Z flazh joined #lisp 2019-09-09T02:50:10Z schjetne quit (Ping timeout: 268 seconds) 2019-09-09T02:51:30Z shifty joined #lisp 2019-09-09T02:54:30Z igemnace joined #lisp 2019-09-09T02:54:58Z igemnace quit (Remote host closed the connection) 2019-09-09T02:56:20Z igemnace joined #lisp 2019-09-09T02:58:31Z shifty quit (Ping timeout: 244 seconds) 2019-09-09T02:58:40Z igemnace quit (Remote host closed the connection) 2019-09-09T02:58:48Z beach: Good morning everyone! 2019-09-09T02:58:59Z edgar-rft: oink 2019-09-09T02:59:15Z shifty joined #lisp 2019-09-09T03:01:47Z igemnace joined #lisp 2019-09-09T03:07:26Z sjl joined #lisp 2019-09-09T03:11:22Z igemnace quit (Remote host closed the connection) 2019-09-09T03:15:04Z igemnace joined #lisp 2019-09-09T03:17:07Z aeth quit (Ping timeout: 244 seconds) 2019-09-09T03:18:49Z aeth joined #lisp 2019-09-09T03:23:23Z aeth quit (Ping timeout: 245 seconds) 2019-09-09T03:23:45Z quazimodo joined #lisp 2019-09-09T03:24:23Z aeth joined #lisp 2019-09-09T03:25:00Z igemnace quit (Remote host closed the connection) 2019-09-09T03:31:38Z igemnace joined #lisp 2019-09-09T03:32:23Z Theo__ quit (Remote host closed the connection) 2019-09-09T03:32:37Z Theo__ joined #lisp 2019-09-09T03:38:03Z torbo quit (Remote host closed the connection) 2019-09-09T03:38:14Z igemnace quit (Remote host closed the connection) 2019-09-09T03:46:11Z Bike quit (Quit: Lost terminal) 2019-09-09T03:47:14Z fengshaun joined #lisp 2019-09-09T03:50:34Z Nomenclatura joined #lisp 2019-09-09T03:56:24Z zaquest quit (Read error: Connection reset by peer) 2019-09-09T03:57:45Z zaquest joined #lisp 2019-09-09T04:00:26Z nanoz quit (Ping timeout: 245 seconds) 2019-09-09T04:07:06Z karswell quit (Read error: Connection reset by peer) 2019-09-09T04:08:10Z karlosz joined #lisp 2019-09-09T04:08:35Z karswell joined #lisp 2019-09-09T04:09:41Z karlosz quit (Client Quit) 2019-09-09T04:10:16Z _Theo_ joined #lisp 2019-09-09T04:11:22Z stepnem quit (Ping timeout: 244 seconds) 2019-09-09T04:12:11Z Theo__ quit (Ping timeout: 268 seconds) 2019-09-09T04:13:19Z karswell quit (Ping timeout: 246 seconds) 2019-09-09T04:19:12Z permagreen quit (Remote host closed the connection) 2019-09-09T04:20:31Z karlosz joined #lisp 2019-09-09T04:20:48Z yoeljacobsen quit (Ping timeout: 258 seconds) 2019-09-09T04:23:00Z gravicappa joined #lisp 2019-09-09T04:31:25Z schjetne joined #lisp 2019-09-09T04:35:00Z libertyprime quit (Ping timeout: 268 seconds) 2019-09-09T04:35:35Z sindan quit (Remote host closed the connection) 2019-09-09T04:36:02Z sindan joined #lisp 2019-09-09T04:36:50Z no-defun-allowed: drmeister: I have ABCL running as a Minecraft (Forge) mod, but I haven't a clue how any classes work, nor how to use Java or the Java FFI. 2019-09-09T04:38:03Z aeth quit (Ping timeout: 258 seconds) 2019-09-09T04:39:54Z aeth joined #lisp 2019-09-09T04:50:26Z makomo_ quit (Ping timeout: 245 seconds) 2019-09-09T04:57:42Z mstdnuser[m]: which lisp package should i use from https://wiki.debian.org/CommonLisp 2019-09-09T04:58:09Z no-defun-allowed: apt install sbcl emacs 2019-09-09T04:58:49Z esrse joined #lisp 2019-09-09T05:00:20Z mstdnuser[m]: does it hav to be emacs? 2019-09-09T05:00:37Z no-defun-allowed: if you don't hate yourself, yes 2019-09-09T05:00:48Z mstdnuser[m]: I like atom tho 2019-09-09T05:00:55Z mstdnuser[m]: I wanna use gui 2019-09-09T05:01:07Z AndrewYoung: Emacs has a GUI. 2019-09-09T05:01:13Z AndrewYoung: But mainly it has a nice debugger. 2019-09-09T05:01:22Z AndrewYoung: Atom will work fine, but you won't have the built in debugger. 2019-09-09T05:01:55Z beach: What "nice debugger" does Emacs have? 2019-09-09T05:02:11Z AndrewYoung: slime or sly 2019-09-09T05:02:20Z beach: Hmm. 2019-09-09T05:04:32Z mstdnuser[m]: Atom probably has a debugger plugin 2019-09-09T05:04:53Z AndrewYoung: https://atom.io/packages/atom-slime 2019-09-09T05:04:58Z AndrewYoung: Looks like it can use slime 2019-09-09T05:05:14Z shka_ joined #lisp 2019-09-09T05:06:27Z schjetne quit (Ping timeout: 268 seconds) 2019-09-09T05:06:44Z libertyprime joined #lisp 2019-09-09T05:07:58Z no-defun-allowed: well you can use Atom but I don't know if it has the SLIME inspector, debugger, all that jazz 2019-09-09T05:08:43Z mstdnuser[m]: it's there right above. 2019-09-09T05:08:50Z AndrewYoung: Yeah, the plugin looks like it is a work in progress, so some things might not work right. 2019-09-09T05:08:50Z mstdnuser[m]: you got an ML room? 2019-09-09T05:09:05Z mstdnuser[m]: that's fine ill help them test then 2019-09-09T05:09:46Z Inline__ quit (Quit: Leaving) 2019-09-09T05:09:56Z no-defun-allowed: ML? 2019-09-09T05:10:15Z AndrewYoung: Do you mean Machine Learning or the ML programming language? 2019-09-09T05:12:11Z mstdnuser[m]: the latter 2019-09-09T05:15:07Z AndrewYoung: Searching /list, I found #CakeML 2019-09-09T05:15:43Z AndrewYoung: I support ##lisp might be good. 2019-09-09T05:15:50Z AndrewYoung: s/support/suppose/ 2019-09-09T05:16:08Z dale quit (Quit: My computer has gone to sleep) 2019-09-09T05:27:32Z vlatkoB joined #lisp 2019-09-09T05:37:52Z karlosz quit (Quit: karlosz) 2019-09-09T05:38:19Z Nomenclatura quit (Quit: q) 2019-09-09T05:48:10Z orivej quit (Ping timeout: 246 seconds) 2019-09-09T06:00:57Z wooden: when asdf fails to load my project the backtrace in slime is all about asdf -- no links to the code of mine that actually failed to compile. is there a way to jump to the code that failed to load via asdf? the best i've found has been to go back to the sbcl repl and search the buffer up for "error", but sometimes there is no error. 2019-09-09T06:01:31Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-09T06:01:39Z SaganMan joined #lisp 2019-09-09T06:02:45Z beach: wooden: What does the error message say? 2019-09-09T06:03:24Z beach: I assume there must be one since you have a backtrace. 2019-09-09T06:03:58Z Gnuxie[m] joined #lisp 2019-09-09T06:04:01Z flip214: in CFFI, is there a way to get automatic translator functions (from eg. an alist or a plist) to the foreign type? 2019-09-09T06:04:39Z flip214: the examples for type translators all repeat the struct name and slots a few times 2019-09-09T06:04:41Z pjb: flip214: yes. Write a library of such automatic translator functions, publish it, and then use ql:quickload to get it! 2019-09-09T06:06:01Z flip214: pjb: thanks a lot, exactly the answer I've been waiting for. 2019-09-09T06:06:25Z karlosz joined #lisp 2019-09-09T06:07:28Z wooden: beach: it says that it failed compiling one of my source code files, but then every level of the stack is all about where asdf failed in *its* code 2019-09-09T06:08:15Z JohnMS_WORK joined #lisp 2019-09-09T06:08:32Z beach: And no indication of where the problem is? Hmm. 2019-09-09T06:09:35Z beach: I understand your problem. Welcome to the mediocre tool support for free Common Lisp implementations. 2019-09-09T06:12:41Z flip214: pjb: reading the source reveals that (cffi:defcstruct (name :conc-name my-struct-name-) ...) does 99% of what I need... why is that not in the documentation? 2019-09-09T06:14:19Z vydd joined #lisp 2019-09-09T06:14:19Z vydd quit (Changing host) 2019-09-09T06:14:19Z vydd joined #lisp 2019-09-09T06:14:38Z shka_ quit (Ping timeout: 258 seconds) 2019-09-09T06:17:08Z scymtym quit (Ping timeout: 245 seconds) 2019-09-09T06:21:52Z flamebeard joined #lisp 2019-09-09T06:23:57Z JohnMS_WORK quit (Read error: Connection reset by peer) 2019-09-09T06:24:14Z JohnMS_WORK joined #lisp 2019-09-09T06:34:13Z vydd quit (Ping timeout: 245 seconds) 2019-09-09T06:41:13Z knicklux joined #lisp 2019-09-09T06:53:13Z amerlyq joined #lisp 2019-09-09T06:54:35Z jprajzne joined #lisp 2019-09-09T06:56:56Z ltriant quit (Quit: leaving) 2019-09-09T07:02:42Z nanoz joined #lisp 2019-09-09T07:08:32Z karlosz quit (Quit: karlosz) 2019-09-09T07:09:32Z gxt quit (Ping timeout: 260 seconds) 2019-09-09T07:13:53Z vydd joined #lisp 2019-09-09T07:13:54Z vydd quit (Changing host) 2019-09-09T07:13:54Z vydd joined #lisp 2019-09-09T07:15:40Z malm quit (Ping timeout: 246 seconds) 2019-09-09T07:16:37Z malm joined #lisp 2019-09-09T07:17:41Z _jrjsmrtn joined #lisp 2019-09-09T07:18:55Z __jrjsmrtn__ quit (Ping timeout: 244 seconds) 2019-09-09T07:19:41Z SN_ joined #lisp 2019-09-09T07:20:01Z thijso joined #lisp 2019-09-09T07:20:04Z red-dot quit (Read error: Connection reset by peer) 2019-09-09T07:20:06Z SN_ is now known as red-dot 2019-09-09T07:21:28Z schjetne joined #lisp 2019-09-09T07:22:14Z thijso: Annoying! The machine I run IRC on has a sdd with I think a loose connection on the board where the cables are, so randomly it dies because the HD gets lost. Trying not to bump my desk too much... 2019-09-09T07:23:22Z thijso: But good morning, everyone... 2019-09-09T07:25:57Z sindan: I'm loading a value from a place that might not exist; in order to implement a defalu value, is there any practical problem to writing (or val 0) instead of (if val val 0), "val" being the expression that might be nil? The expression is long so it's best to not have to write it twice. 2019-09-09T07:26:24Z sindan: s/defalu/default/ 2019-09-09T07:27:11Z shifty quit (Ping timeout: 244 seconds) 2019-09-09T07:27:48Z beach: sindan: Semantically, you can write (or val 0), but you are sending the wrong message to the person reading your code. 2019-09-09T07:28:08Z beach: The message you are sending is that val is a Boolean variable. 2019-09-09T07:28:33Z beach: sindan: To send the right message, use (if (null val) 0 val). 2019-09-09T07:29:09Z beach: That says "If val is NIL, by which I mean that it does not have the right value, then use 0 instead." 2019-09-09T07:29:42Z beach: sindan: On the other hand, it would probably be better to use "unbound" to mean "not exist". 2019-09-09T07:29:59Z beach: sindan: In which case, you would say (if (boundp val) val 0). 2019-09-09T07:30:31Z beach: Er, (if (boundp 'val) val 0) 2019-09-09T07:30:33Z beach: Sorry. 2019-09-09T07:31:10Z sindan: beach: I agree it's not the best optimization; the program is only for myself, so I was trying to not copypaste the expression twice. 2019-09-09T07:31:19Z nanoz quit (Ping timeout: 244 seconds) 2019-09-09T07:32:05Z sindan: I can write a macro 2019-09-09T07:32:23Z sindan: That way I only see the expression once. 2019-09-09T07:32:58Z beach: That too. If you keep your program to yourself, you can write whatever you like. 2019-09-09T07:33:11Z scymtym joined #lisp 2019-09-09T07:34:24Z sindan: beach, thanks 2019-09-09T07:35:39Z jonatack quit (Ping timeout: 250 seconds) 2019-09-09T07:36:15Z nanoz joined #lisp 2019-09-09T07:37:51Z beach: sindan: If val can be an arbitrary expression (and therefore not an unbound variable), you should bind it to a lexical variable to avoid multiple evaluations. 2019-09-09T07:38:24Z beach: (let ((<temp> val)) (if (null <temp>) 0 <temp>)), something like that. 2019-09-09T07:40:16Z varjag joined #lisp 2019-09-09T07:40:24Z sindan: beach: ah yes, but rather use gensym if I'm going to use the macro in several places? 2019-09-09T07:41:21Z orivej joined #lisp 2019-09-09T07:46:34Z beach: Yes, by <temp> I basically meant a GENSYM. 2019-09-09T07:48:39Z Cymew joined #lisp 2019-09-09T07:50:25Z flamebeard quit 2019-09-09T07:56:22Z shka_ joined #lisp 2019-09-09T07:58:51Z Cymew quit (Quit: Konversation terminated!) 2019-09-09T07:59:16Z Cymew joined #lisp 2019-09-09T08:01:30Z makomo_ joined #lisp 2019-09-09T08:01:45Z flamebeard joined #lisp 2019-09-09T08:04:51Z hhdave joined #lisp 2019-09-09T08:08:07Z awolven_ joined #lisp 2019-09-09T08:10:48Z orivej quit (Ping timeout: 258 seconds) 2019-09-09T08:11:11Z awolven quit (Ping timeout: 250 seconds) 2019-09-09T08:11:33Z schjetne quit (Ping timeout: 258 seconds) 2019-09-09T08:13:58Z thijso quit (Quit: leaving) 2019-09-09T08:14:24Z thijso joined #lisp 2019-09-09T08:14:52Z thijso quit (Client Quit) 2019-09-09T08:15:59Z ljavorsk__ joined #lisp 2019-09-09T08:20:56Z jonatack joined #lisp 2019-09-09T08:22:52Z jonatack quit (Client Quit) 2019-09-09T08:23:01Z jonatack joined #lisp 2019-09-09T08:30:01Z schjetne joined #lisp 2019-09-09T08:33:37Z tourjin joined #lisp 2019-09-09T08:35:11Z tourjin: is slime a plugin of emacs? 2019-09-09T08:35:30Z tourjin: and sliv is plugin of vim? 2019-09-09T08:35:37Z tourjin: slimv 2019-09-09T08:36:15Z shka_: tourjin: pretty much yeah 2019-09-09T08:36:37Z m00natic joined #lisp 2019-09-09T08:39:36Z vydd quit (Ping timeout: 245 seconds) 2019-09-09T08:40:50Z ggole joined #lisp 2019-09-09T08:43:05Z gxt joined #lisp 2019-09-09T08:45:30Z vydd joined #lisp 2019-09-09T08:45:30Z vydd quit (Changing host) 2019-09-09T08:45:30Z vydd joined #lisp 2019-09-09T08:48:21Z defaultxr quit (Ping timeout: 245 seconds) 2019-09-09T08:51:32Z Lord_of_Life quit (Ping timeout: 268 seconds) 2019-09-09T08:52:12Z Lord_of_Life joined #lisp 2019-09-09T08:52:45Z nostoi joined #lisp 2019-09-09T08:57:15Z nostoi quit (Client Quit) 2019-09-09T08:57:45Z nostoi joined #lisp 2019-09-09T09:01:43Z tourjin quit (Ping timeout: 246 seconds) 2019-09-09T09:03:31Z stepnem joined #lisp 2019-09-09T09:11:11Z AndrewYoung quit (Remote host closed the connection) 2019-09-09T09:23:55Z orivej joined #lisp 2019-09-09T09:35:12Z vydd quit (Remote host closed the connection) 2019-09-09T09:35:19Z Cymew quit (Ping timeout: 244 seconds) 2019-09-09T09:35:34Z vydd joined #lisp 2019-09-09T09:35:35Z vydd quit (Changing host) 2019-09-09T09:35:35Z vydd joined #lisp 2019-09-09T09:35:51Z Cymew joined #lisp 2019-09-09T09:39:26Z amerlyq quit (Quit: amerlyq) 2019-09-09T09:40:23Z flip214: minion: memo for tourjin: there's also vlime for vim 2019-09-09T09:40:25Z minion: Remembered. I'll tell tourjin when he/she/it next speaks. 2019-09-09T09:40:59Z flip214: does anyone have an example of sending a (vector (unsigned-byte 8) (*)) via CFFI to a function expecting a char*? 2019-09-09T09:42:26Z libertyprime quit (Remote host closed the connection) 2019-09-09T09:44:12Z pjb quit (Ping timeout: 252 seconds) 2019-09-09T09:46:58Z nostoi quit (Quit: Verlassend) 2019-09-09T10:12:25Z awolven_ quit (Ping timeout: 246 seconds) 2019-09-09T10:20:10Z pjb joined #lisp 2019-09-09T10:20:45Z t58 joined #lisp 2019-09-09T10:24:22Z beach quit (Ping timeout: 276 seconds) 2019-09-09T10:26:22Z libertyprime joined #lisp 2019-09-09T10:27:15Z thijso joined #lisp 2019-09-09T10:28:33Z thijso quit (Client Quit) 2019-09-09T10:34:37Z thijso joined #lisp 2019-09-09T10:36:59Z amerlyq joined #lisp 2019-09-09T10:38:23Z orivej quit (Ping timeout: 245 seconds) 2019-09-09T10:42:41Z orivej joined #lisp 2019-09-09T10:44:07Z vydd quit (Remote host closed the connection) 2019-09-09T10:44:29Z vydd joined #lisp 2019-09-09T10:44:29Z vydd quit (Changing host) 2019-09-09T10:44:29Z vydd joined #lisp 2019-09-09T10:53:20Z jonatack quit (Ping timeout: 244 seconds) 2019-09-09T10:56:52Z beach joined #lisp 2019-09-09T10:59:13Z aautcsh quit (Quit: aautcsh) 2019-09-09T11:06:07Z ljavorsk__ quit (Quit: I'm out, bye) 2019-09-09T11:06:15Z v88m quit (Ping timeout: 244 seconds) 2019-09-09T11:06:29Z ljavorsk joined #lisp 2019-09-09T11:07:17Z frgo quit (Ping timeout: 244 seconds) 2019-09-09T11:10:28Z esrse quit (Ping timeout: 245 seconds) 2019-09-09T11:15:39Z vydd: flip214: something like https://gist.github.com/vydd/6484a05906ebc10595f6b7e15b41d048 ? 2019-09-09T11:15:40Z Colleen: vydd: Shinmera said at 2017.06.21 05:32:57: Popular overall, or popular in Lisp? 2019-09-09T11:16:33Z Shinmera: wow, blast from the past 2019-09-09T11:16:35Z vydd: oh wow. so last time I visited was 2 years ago :\ Shinmera, if you still know what this was about, I'm happy to answer 2019-09-09T11:16:47Z Shinmera: I don't. 2019-09-09T11:17:23Z jackdaniel: I feel stagnant, it doesn't feel as if you haven't said anything for two years, hm 2019-09-09T11:17:37Z acolarh quit (Ping timeout: 244 seconds) 2019-09-09T11:18:08Z X-Scale quit (Quit: HydraIRC -> http://www.hydrairc.com <- Like it? Visit #hydrairc on EFNet) 2019-09-09T11:19:43Z vydd: weird. yeah, ok, I know I haven't been around, but 2 years is a lot. heh. 2019-09-09T11:24:17Z drmeister: no-defun-allowed: So you have ABCL running as a Minecraft (Forge) mode but there's no documentation or any information on how to access the Java classes? What I would do starting in a situation like that is I would punch some trees and then take the wood and craft planks and sticks and use those to craft a wooden pick. Then you can mine for cobblestone and use that to craft a stone pick. 2019-09-09T11:24:56Z drmeister could keep going 2019-09-09T11:26:45Z drmeister usually spends his first night in Minecraft crying in a dark hole - trying to avoid zombies. 2019-09-09T11:27:00Z ljavorsk quit (Quit: I'm out, bye) 2019-09-09T11:27:27Z ljavorsk joined #lisp 2019-09-09T11:28:59Z frgo joined #lisp 2019-09-09T11:29:30Z quazimodo quit (Ping timeout: 244 seconds) 2019-09-09T11:29:30Z frgo quit (Read error: Connection reset by peer) 2019-09-09T11:30:23Z frgo joined #lisp 2019-09-09T11:32:58Z no-defun-allowed: drmeister: Oh, ABCL is very, very well documented and I got myself through some examples. 2019-09-09T11:33:24Z no-defun-allowed: But as a proprietary program, all the methods' names are obsfucated and you need a very big table of method names to translate your way out. 2019-09-09T11:34:14Z no-defun-allowed: For most mods, this is no problem, because the toolchain has a post-processing step that consults that table and replaces all the methods, but ABCL doesn't benefit from this as its method lookups are done at runtime. 2019-09-09T11:34:49Z SaganMan quit (Quit: WeeChat 1.6) 2019-09-09T11:35:26Z no-defun-allowed: In #lispcafe we figured out where that table is and how to read it, and I was able to pull out a method (net.minecraft.client.Minecraft.getMinecraft) and call it using it. 2019-09-09T11:37:04Z no-defun-allowed: So now I just have to figure out Forge, which doesn't have any nice documentation pages with a list of classes and methods, and instead wants you to rip out some bulky Java IDE to work things out. 2019-09-09T11:37:19Z jackdaniel: I'm still waiting for a CL implementation written for a hardware built with mnecraft 2019-09-09T11:37:22Z kajo quit (Ping timeout: 240 seconds) 2019-09-09T11:38:32Z no-defun-allowed: "Compiling Common Lisp to Minecraft Redstone", a paper by the S-expressionists published in ELS 2029 2019-09-09T11:40:13Z no-defun-allowed: The plan is to write a wrapper around java:jmethod (call it jmethod*) which performs this swizzling and I can work through a few Forge examples from there. 2019-09-09T11:40:21Z makomo_ quit (Ping timeout: 244 seconds) 2019-09-09T11:42:33Z makomo_ joined #lisp 2019-09-09T11:46:53Z no-defun-allowed: drmeister: I advise you make charcoal early on, then make torches, so you can cry in a lit up hole at least. 2019-09-09T11:54:45Z dddddd joined #lisp 2019-09-09T12:04:35Z aautcsh joined #lisp 2019-09-09T12:21:22Z jonatack joined #lisp 2019-09-09T12:25:53Z angavrilov quit (Ping timeout: 245 seconds) 2019-09-09T12:27:05Z frgo_ joined #lisp 2019-09-09T12:28:43Z ravenousmoose joined #lisp 2019-09-09T12:29:35Z frgo_ quit (Read error: Connection reset by peer) 2019-09-09T12:29:54Z frgo_ joined #lisp 2019-09-09T12:30:26Z frgo quit (Ping timeout: 245 seconds) 2019-09-09T12:30:44Z jonatack quit (Quit: jonatack) 2019-09-09T12:31:04Z jonatack joined #lisp 2019-09-09T12:31:15Z gjvc quit (Quit: leaving) 2019-09-09T12:34:40Z gabiruh joined #lisp 2019-09-09T12:35:05Z ravenousmoose quit (Ping timeout: 250 seconds) 2019-09-09T12:37:35Z EvW1 joined #lisp 2019-09-09T12:39:15Z dddddd quit (Ping timeout: 244 seconds) 2019-09-09T12:39:21Z Bike joined #lisp 2019-09-09T12:40:53Z dddddd joined #lisp 2019-09-09T12:45:22Z angavrilov joined #lisp 2019-09-09T12:50:15Z LiamH joined #lisp 2019-09-09T12:50:49Z igemnace joined #lisp 2019-09-09T12:55:28Z aautcsh quit (Quit: aautcsh) 2019-09-09T13:00:27Z moldybits: :p 2019-09-09T13:03:33Z ravenousmoose joined #lisp 2019-09-09T13:07:52Z ravenousmoose quit (Ping timeout: 264 seconds) 2019-09-09T13:14:25Z Demosthenex quit (Ping timeout: 246 seconds) 2019-09-09T13:16:25Z Demosthenex joined #lisp 2019-09-09T13:19:35Z astronavt___ is now known as astronavt 2019-09-09T13:23:13Z ljavorsk quit (Ping timeout: 258 seconds) 2019-09-09T13:26:59Z acolarh joined #lisp 2019-09-09T13:39:37Z HDurer quit (Ping timeout: 246 seconds) 2019-09-09T13:42:29Z lucasb joined #lisp 2019-09-09T13:48:45Z warweasle joined #lisp 2019-09-09T13:49:42Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2019-09-09T13:51:33Z aautcsh_ joined #lisp 2019-09-09T13:52:09Z xantoz quit (Remote host closed the connection) 2019-09-09T13:53:47Z xantoz joined #lisp 2019-09-09T13:57:31Z cosimone joined #lisp 2019-09-09T13:59:27Z dale joined #lisp 2019-09-09T14:04:37Z jiny joined #lisp 2019-09-09T14:05:50Z jiny is now known as tourjin 2019-09-09T14:06:31Z tourjin quit (Client Quit) 2019-09-09T14:07:04Z frgo_ quit (Remote host closed the connection) 2019-09-09T14:08:42Z tourjin joined #lisp 2019-09-09T14:08:51Z thijso: Jeeshh. I've just about kicked my minecraft addiction, guys. Stop talking about that in here. 2019-09-09T14:13:25Z dlowe: are we talking about https://github.com/gmasching/sucle 2019-09-09T14:14:43Z dlowe: as part of the forge installation process, they decompile your installed minecraft back into java code and then patch annotations into it. You're intended to read the code to find out what to tweak/override. 2019-09-09T14:15:03Z dlowe: honestly, it's so complicated and difficult I'm amazed anyone writes a mod 2019-09-09T14:15:14Z dlowe: (at least to get started) 2019-09-09T14:16:20Z EvW1 quit (Remote host closed the connection) 2019-09-09T14:16:30Z EvW joined #lisp 2019-09-09T14:21:34Z tourjin: is there any preassigned style in emacs like dark mode? white screen hurts my eyes. 2019-09-09T14:21:34Z minion: tourjin, memo from flip214: there's also vlime for vim 2019-09-09T14:22:28Z Inline joined #lisp 2019-09-09T14:23:04Z tourjin: actually every terms has white backgroud. 2019-09-09T14:29:37Z dlowe: tourjin: Your question would probably be more quickly answered in #emacs 2019-09-09T14:32:06Z tourjin: thanks 2019-09-09T14:32:08Z Cymew quit (Ping timeout: 245 seconds) 2019-09-09T14:35:17Z orivej quit (Ping timeout: 258 seconds) 2019-09-09T14:35:32Z orivej joined #lisp 2019-09-09T14:39:07Z xkapastel joined #lisp 2019-09-09T14:43:26Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.2)) 2019-09-09T14:44:41Z shifty joined #lisp 2019-09-09T14:45:07Z user___ joined #lisp 2019-09-09T14:47:41Z Cymew joined #lisp 2019-09-09T14:49:24Z yoeljacobsen joined #lisp 2019-09-09T14:53:43Z jeosol quit (Ping timeout: 260 seconds) 2019-09-09T14:55:47Z drmeister: no-defun-allowed: Please keep me up to date on your minecraft/common lisp exploration. 2019-09-09T14:56:03Z drmeister is looking forward to a redstone lisp machine implementation. 2019-09-09T14:59:17Z PuercoPope quit (Remote host closed the connection) 2019-09-09T14:59:41Z analogue joined #lisp 2019-09-09T15:02:40Z shka_ quit (Quit: WeeChat 1.9.1) 2019-09-09T15:05:50Z frgo joined #lisp 2019-09-09T15:07:33Z vydd quit (Ping timeout: 245 seconds) 2019-09-09T15:07:38Z akoana joined #lisp 2019-09-09T15:11:06Z papachan joined #lisp 2019-09-09T15:12:58Z Cymew quit (Ping timeout: 245 seconds) 2019-09-09T15:13:56Z analogue quit (Quit: Leaving) 2019-09-09T15:14:03Z Cymew joined #lisp 2019-09-09T15:17:51Z Achylles joined #lisp 2019-09-09T15:19:22Z v88m joined #lisp 2019-09-09T15:19:25Z Cymew quit (Ping timeout: 268 seconds) 2019-09-09T15:22:30Z schjetne quit (Ping timeout: 268 seconds) 2019-09-09T15:23:19Z Achylles quit (Remote host closed the connection) 2019-09-09T15:24:09Z Oladon_work joined #lisp 2019-09-09T15:25:57Z davr0s joined #lisp 2019-09-09T15:25:57Z davr0s_ joined #lisp 2019-09-09T15:26:10Z Achylles joined #lisp 2019-09-09T15:27:21Z rippa joined #lisp 2019-09-09T15:28:27Z madand joined #lisp 2019-09-09T15:31:54Z skidd0 joined #lisp 2019-09-09T15:37:07Z Bike quit (Remote host closed the connection) 2019-09-09T15:37:08Z shifty quit (Ping timeout: 245 seconds) 2019-09-09T15:37:26Z shifty joined #lisp 2019-09-09T15:41:24Z jprajzne quit (Quit: Leaving.) 2019-09-09T15:42:33Z flamebeard quit 2019-09-09T15:48:21Z amerlyq quit (Quit: amerlyq) 2019-09-09T15:48:40Z Achylles quit (Read error: Connection reset by peer) 2019-09-09T15:48:43Z amerlyq joined #lisp 2019-09-09T15:49:17Z NickBusey8 joined #lisp 2019-09-09T15:50:26Z NickBusey quit (Ping timeout: 245 seconds) 2019-09-09T15:51:19Z smazga joined #lisp 2019-09-09T15:52:43Z orivej quit (Ping timeout: 268 seconds) 2019-09-09T15:55:00Z amerlyq quit (Quit: amerlyq) 2019-09-09T16:02:51Z Bike joined #lisp 2019-09-09T16:07:26Z Cymew joined #lisp 2019-09-09T16:07:41Z thijso: If I do a (make-instance inside of a package, I shouldn't need to fully qualify the classname, right? I'm trying to indirectly instantiate a class, by doing (let ((class (intern (format nil "~a~a" classname suffix))) and then using that to (make-instance class .. 2019-09-09T16:08:28Z thijso: But it's not working. If I print out some stuff it looks like the difference is that it works with <package>::<class> and not with just <class> 2019-09-09T16:08:38Z Bike: depends on what you mean by "inside a package". that code will create the symbol with intern, so it'll be interned in whatever *package* is in place when intern is called. 2019-09-09T16:08:47Z Bike: which might be different from the package in place when the code is compiled 2019-09-09T16:08:56Z Bike: intern lets you explicitly specify a package for the new symbol, tho 2019-09-09T16:09:22Z thijso: yeah, but it's all inside the same file which has an (in-package :bla) at the top... 2019-09-09T16:09:39Z Bike: Right, that's what package the code will be COMPILED in 2019-09-09T16:09:43Z thijso: Well, no, it's not the same file, but all files have that at the top... 2019-09-09T16:09:47Z Bike: but if this is in a function or something, the package will be different at runtime. 2019-09-09T16:09:55Z Bike: probably will be. 2019-09-09T16:10:17Z thijso: hmmm 2019-09-09T16:10:35Z thijso: So I should explicitly intern in the same package? 2019-09-09T16:10:38Z thijso: Lemme try that 2019-09-09T16:10:49Z Bike: Probably, yes. I don't understand the whole shape of your system though. 2019-09-09T16:12:43Z thijso: right... so that was it. 2019-09-09T16:12:45Z thijso: Thanks, Bike 2019-09-09T16:12:50Z nydel joined #lisp 2019-09-09T16:12:51Z nydel quit (Changing host) 2019-09-09T16:12:51Z nydel joined #lisp 2019-09-09T16:13:03Z Bike: glad to be of assistance 2019-09-09T16:13:52Z schjetne joined #lisp 2019-09-09T16:14:46Z Shinmera: you can also do `(let ((*package* #.*package*)) ...)` to bind the runtime package to the one used during compilation. 2019-09-09T16:18:24Z tourjin quit (Remote host closed the connection) 2019-09-09T16:20:31Z vaporatorius joined #lisp 2019-09-09T16:21:17Z EvW quit (Ping timeout: 250 seconds) 2019-09-09T16:21:22Z tourjin joined #lisp 2019-09-09T16:23:32Z flip214: minion: memo for vydd: thanks, but I'd hoped to _not_ touch the individual bytes - just push the address on 2019-09-09T16:23:33Z minion: Remembered. I'll tell vydd when he/she/it next speaks. 2019-09-09T16:24:59Z vap1 joined #lisp 2019-09-09T16:27:16Z vaporatorius quit (Ping timeout: 246 seconds) 2019-09-09T16:30:09Z srji quit (Quit: leaving) 2019-09-09T16:30:51Z gravicappa quit (Ping timeout: 245 seconds) 2019-09-09T16:30:56Z kajo joined #lisp 2019-09-09T16:31:25Z srji joined #lisp 2019-09-09T16:32:49Z flip214: minion: memo for vydd: cffi:with-pointer-to-vector-data looks good 2019-09-09T16:32:50Z minion: Remembered. I'll tell vydd when he/she/it next speaks. 2019-09-09T16:34:32Z skidd0 left #lisp 2019-09-09T16:35:10Z hhdave quit (Quit: hhdave) 2019-09-09T16:35:49Z slyrus quit (Remote host closed the connection) 2019-09-09T16:36:16Z slyrus joined #lisp 2019-09-09T16:38:34Z superkumasan joined #lisp 2019-09-09T16:40:08Z papachan quit (Quit: Leaving) 2019-09-09T16:40:27Z gxt quit (Quit: WeeChat 2.5) 2019-09-09T16:41:22Z orivej joined #lisp 2019-09-09T16:45:19Z gravicappa joined #lisp 2019-09-09T16:45:59Z scymtym quit (Ping timeout: 250 seconds) 2019-09-09T16:47:24Z defaultxr joined #lisp 2019-09-09T16:47:33Z m00natic quit (Remote host closed the connection) 2019-09-09T16:53:01Z mindCrime_ joined #lisp 2019-09-09T16:53:16Z tourjin quit (Ping timeout: 258 seconds) 2019-09-09T16:53:44Z glv joined #lisp 2019-09-09T16:56:12Z Cymew quit (Read error: Connection reset by peer) 2019-09-09T16:58:04Z kpoeck quit (Remote host closed the connection) 2019-09-09T16:58:15Z tourjin joined #lisp 2019-09-09T16:58:26Z manualcrank joined #lisp 2019-09-09T16:58:42Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-09T17:11:01Z orivej quit (Ping timeout: 244 seconds) 2019-09-09T17:14:36Z yoeljacobsen quit (Ping timeout: 245 seconds) 2019-09-09T17:21:37Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-09T17:22:58Z gareppa joined #lisp 2019-09-09T17:23:28Z gravicappa quit (Ping timeout: 264 seconds) 2019-09-09T17:24:05Z red-dot joined #lisp 2019-09-09T17:25:00Z Oladon_work quit (Remote host closed the connection) 2019-09-09T17:27:14Z orivej joined #lisp 2019-09-09T17:27:41Z tourjin quit (Ping timeout: 268 seconds) 2019-09-09T17:27:48Z sjl_ joined #lisp 2019-09-09T17:32:06Z dvdmuckle quit (Quit: Bouncer Surgery) 2019-09-09T17:32:57Z dvdmuckle joined #lisp 2019-09-09T17:37:28Z gareppa quit (Quit: Leaving) 2019-09-09T17:38:05Z yoeljacobsen joined #lisp 2019-09-09T17:40:13Z glv quit (Remote host closed the connection) 2019-09-09T17:45:29Z jlarocco joined #lisp 2019-09-09T17:49:32Z hiroaki joined #lisp 2019-09-09T17:54:36Z yoeljacobsen quit (Ping timeout: 245 seconds) 2019-09-09T18:01:16Z Aruseus joined #lisp 2019-09-09T18:02:13Z Necktwi joined #lisp 2019-09-09T18:02:18Z awolven joined #lisp 2019-09-09T18:04:32Z stylewarning: If I use COMPUTE-APPLICABLE-METHODS, how can i actually call the method? 2019-09-09T18:05:14Z Necktwi quit (Client Quit) 2019-09-09T18:06:22Z Bike: Which method? The effective method, or an individual method? 2019-09-09T18:06:56Z stylewarning: Any of them; looks like I need METHOD-FUNCTION from the MOP 2019-09-09T18:07:18Z Bike: Yes, you can take the method-function and then call it with a list of arguments and list of next methods. 2019-09-09T18:07:47Z Bike: that'll get a bit tricky with :around methods 2019-09-09T18:11:56Z vydd joined #lisp 2019-09-09T18:11:57Z vydd quit (Changing host) 2019-09-09T18:11:57Z vydd joined #lisp 2019-09-09T18:16:27Z vydd quit (Ping timeout: 258 seconds) 2019-09-09T18:20:27Z nanoz quit (Quit: Leaving) 2019-09-09T18:21:36Z fragamus joined #lisp 2019-09-09T18:22:46Z Oladon_work joined #lisp 2019-09-09T18:23:53Z fragamus: can anyone point to some doc that sheds light on structure of clisp c code 2019-09-09T18:24:25Z sauvin quit (Ping timeout: 268 seconds) 2019-09-09T18:25:00Z cosimone quit (Quit: Leaving) 2019-09-09T18:28:20Z ravenousmoose joined #lisp 2019-09-09T18:28:31Z user___ quit (Ping timeout: 244 seconds) 2019-09-09T18:32:56Z ravenousmoose quit (Ping timeout: 252 seconds) 2019-09-09T18:33:26Z jgerman joined #lisp 2019-09-09T18:50:03Z EvW joined #lisp 2019-09-09T18:50:05Z tourjin joined #lisp 2019-09-09T18:50:26Z scymtym joined #lisp 2019-09-09T18:50:54Z tourjin quit (Read error: Connection reset by peer) 2019-09-09T18:55:34Z khrbt joined #lisp 2019-09-09T18:59:49Z raghavgururajan joined #lisp 2019-09-09T19:02:23Z raghavgururajan quit (Read error: Connection reset by peer) 2019-09-09T19:04:48Z varjag joined #lisp 2019-09-09T19:07:32Z yoeljacobsen joined #lisp 2019-09-09T19:08:02Z gxt joined #lisp 2019-09-09T19:08:45Z pjb: fragamus: https://clisp.sourceforge.io/impnotes/ 2019-09-09T19:09:14Z pjb: fragamus: notably https://clisp.sourceforge.io/impnotes/internals.html 2019-09-09T19:09:51Z orivej quit (Ping timeout: 244 seconds) 2019-09-09T19:11:27Z warweasle quit (Quit: rcirc on GNU Emacs 24.4.1) 2019-09-09T19:12:08Z yoeljacobsen quit (Ping timeout: 245 seconds) 2019-09-09T19:13:48Z vydd joined #lisp 2019-09-09T19:13:48Z vydd quit (Changing host) 2019-09-09T19:13:48Z vydd joined #lisp 2019-09-09T19:19:38Z vlatkoB quit (Remote host closed the connection) 2019-09-09T19:28:06Z shka_ joined #lisp 2019-09-09T19:31:16Z shangul joined #lisp 2019-09-09T19:32:38Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-09T19:34:42Z analogue joined #lisp 2019-09-09T19:34:55Z defaultxr quit (Quit: brb) 2019-09-09T19:35:57Z fragamus quit (Ping timeout: 268 seconds) 2019-09-09T19:37:48Z shifty quit (Ping timeout: 268 seconds) 2019-09-09T19:38:59Z ggole quit (Quit: Leaving) 2019-09-09T19:41:18Z fragamus joined #lisp 2019-09-09T19:47:34Z cosimone joined #lisp 2019-09-09T19:50:32Z karlosz joined #lisp 2019-09-09T19:52:38Z orivej joined #lisp 2019-09-09T19:53:46Z fragamus quit (Ping timeout: 244 seconds) 2019-09-09T19:57:25Z karlosz quit (Quit: karlosz) 2019-09-09T19:57:33Z khisanth_ quit (Ping timeout: 245 seconds) 2019-09-09T20:04:58Z _Theo_ quit (Read error: Connection reset by peer) 2019-09-09T20:10:07Z madand quit (Remote host closed the connection) 2019-09-09T20:11:26Z khisanth_ joined #lisp 2019-09-09T20:24:23Z Aruseus quit (Remote host closed the connection) 2019-09-09T20:27:30Z Aruseus joined #lisp 2019-09-09T20:30:07Z shangul quit (Remote host closed the connection) 2019-09-09T20:31:01Z fragamus joined #lisp 2019-09-09T20:31:34Z shka_ quit (Ping timeout: 246 seconds) 2019-09-09T20:32:42Z sameerynho joined #lisp 2019-09-09T20:33:40Z analogue quit (Ping timeout: 246 seconds) 2019-09-09T20:34:08Z orivej quit (Read error: Connection reset by peer) 2019-09-09T20:34:21Z sameerynho: hey folks, I'm using slime and swank with Emacs. When i use slime-connect to connect to swank server it just output connecting to .... and do nothing 2019-09-09T20:34:26Z sameerynho: how can i debug this 2019-09-09T20:34:36Z orivej joined #lisp 2019-09-09T20:36:23Z fragamus quit (Ping timeout: 258 seconds) 2019-09-09T20:38:58Z Ven`` joined #lisp 2019-09-09T20:39:10Z ralt joined #lisp 2019-09-09T20:42:05Z fragamus joined #lisp 2019-09-09T20:48:05Z karlosz joined #lisp 2019-09-09T20:49:19Z karlosz_ joined #lisp 2019-09-09T20:49:36Z skidd0 joined #lisp 2019-09-09T20:49:40Z Lord_of_Life_ joined #lisp 2019-09-09T20:50:22Z skidd0: is there a `continue` like keyword for a loop body? 2019-09-09T20:50:54Z Bike: no. generally you can just use conditionals, though. 2019-09-09T20:51:11Z skidd0: okay that was what i was going to do while i waited for an answer 2019-09-09T20:51:14Z skidd0: ty Bike 2019-09-09T20:51:15Z Bike: like instead of (loop (if (foo) (continue)) ...), (loop (unless (foo) ...)) 2019-09-09T20:51:16Z ralt: I usually either rewrite my logic or use (block) 2019-09-09T20:51:36Z schjetne quit (Quit: No Ping reply in 180 seconds.) 2019-09-09T20:51:50Z ralt: like (loop (block continue (if (foo) (return-from continue) ... 2019-09-09T20:51:55Z Bike: in really complicated cases you might want tagbody, but not often 2019-09-09T20:52:13Z Lord_of_Life quit (Ping timeout: 246 seconds) 2019-09-09T20:52:26Z skidd0: thanks guys 2019-09-09T20:52:35Z Lord_of_Life_ is now known as Lord_of_Life 2019-09-09T20:52:41Z ralt: I like the "early return" pattern in other languages 2019-09-09T20:52:47Z ralt: but I somehow end up avoiding it in lisp 2019-09-09T20:52:58Z schjetne joined #lisp 2019-09-09T20:52:59Z karlosz quit (Ping timeout: 250 seconds) 2019-09-09T20:53:00Z karlosz_ is now known as karlosz 2019-09-09T20:53:38Z ralt: I think the name is "guard pattern"? 2019-09-09T20:54:04Z ralt: "guard clause" 2019-09-09T20:54:08Z ralt: according to google 2019-09-09T20:58:00Z hh47 joined #lisp 2019-09-09T21:00:02Z karlosz quit (Quit: karlosz) 2019-09-09T21:02:07Z skidd0: is there a library for input sanitization? or is it rather simple to roll your own? 2019-09-09T21:05:51Z vydd quit (Quit: Leaving) 2019-09-09T21:08:11Z semz: what kind of input 2019-09-09T21:09:27Z Bike: and what kind of sanitization, no? 2019-09-09T21:09:50Z jgkamat: Hey, does anyone know a library or easy method to get a super simple hackable calculator in common lisp. Eg: "1 + 3 + 4" = 8. I'm trying to eventually make a dice roller, ie: 5 + 2d4 = 5 + roll(4) + roll(4). 2019-09-09T21:10:54Z jgkamat: I would like to avoid doing any work like building a parser or whatever if possible, but ideally it would be nice to support parenthasis and subtraction and other stuff like that 2019-09-09T21:15:48Z thijso: How does CL manage class cleanup? If I have a class that contains a slot for a usocket socket, and I connect and use it, do I need to explicitly close the connection before the class instance goes away? Seems like the proper thing to do, but how? I'm looking in CLHS, but can't find anything on class instance destruction... 2019-09-09T21:16:27Z karlosz joined #lisp 2019-09-09T21:17:32Z Bike: jgkamat: you're asking for a parser, aren't you? 2019-09-09T21:18:00Z Bike: thijso: try looking at the finalizers in the trivial-garbage library, but I think you're supposed to use more reliable means 2019-09-09T21:18:21Z jgkamat: Bike: yes that would work, but ideally I would like it to be pre-packaged (ie: I wouldn't have to come up with grammars and all). If you know a good parser that's easy to use I'll take that as well 2019-09-09T21:18:44Z Bike: well it depends on what syntax you want, i mean 2019-09-09T21:19:58Z thijso: Bike: you mean for closing a socket or in general? 2019-09-09T21:20:16Z bitmapper joined #lisp 2019-09-09T21:20:19Z thijso: regarding the 'supposed to use more reliable means' I mean 2019-09-09T21:21:00Z cosimone quit (Quit: Leaving) 2019-09-09T21:21:38Z Bike: thijso: yes, as in, you should close the socket more explicitly than leaving it for whenever the object holding the reference to it happens to be garbage collected 2019-09-09T21:21:49Z Bike: more like with-open-file 2019-09-09T21:22:01Z EvW quit (Ping timeout: 250 seconds) 2019-09-09T21:22:17Z thijso: Thanks, that clears it up. 2019-09-09T21:22:31Z makomo_: ralt: agreed, i miss that idiom as well -- it gets rid of the trivial cases early and prevents indentation of the general case 2019-09-09T21:23:36Z thijso: So now I have a number of 'exit' points in my class where basically processing stops and the class instance can die, having filled it's purpose. Seems like I need to sprinkle usocket:close-socket calls around those then? 2019-09-09T21:24:04Z skidd0: semz, Bike: user input strings. looking to sanitize for a SQL DB 2019-09-09T21:24:19Z makomo_: jgkamat: do you really need that particular syntax? you could make a sexp-based calculator, so your original expression would look something like (+ 5 (d 2 4)) 2019-09-09T21:24:44Z jgerman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-09T21:27:02Z jgkamat: I definitely will need infix unfortunately, the people using it are non-technical. 2019-09-09T21:27:34Z ralt: thijso: with-connected-socket etc? 2019-09-09T21:27:55Z jgkamat: I did find http://www.github.com/jech/cl-yacc/blob/master/calculator.lisp though, which will probably be my starting point unless I find something more convienent 2019-09-09T21:28:34Z awolven quit (Ping timeout: 252 seconds) 2019-09-09T21:28:34Z Bike: if you look for "common lisp infix" you'll probably find a few libraries 2019-09-09T21:28:50Z Bike: might not allow the roll() syntax though 2019-09-09T21:29:21Z makomo_ quit (Ping timeout: 244 seconds) 2019-09-09T21:29:28Z jgkamat: er, the 'roll' is a stand-in for actually rolling dice. I'll take a look though 2019-09-09T21:30:20Z madand joined #lisp 2019-09-09T21:31:36Z makomo_ joined #lisp 2019-09-09T21:32:08Z awolven joined #lisp 2019-09-09T21:34:22Z mindCrime_ quit (Ping timeout: 268 seconds) 2019-09-09T21:37:50Z igemnace quit (Quit: WeeChat 2.5) 2019-09-09T21:39:00Z bendersteed joined #lisp 2019-09-09T21:39:05Z madand quit (Remote host closed the connection) 2019-09-09T21:39:48Z EvW joined #lisp 2019-09-09T21:40:27Z Aruseus quit (Remote host closed the connection) 2019-09-09T21:40:52Z hiroaki quit (Ping timeout: 246 seconds) 2019-09-09T21:42:17Z jmercouris joined #lisp 2019-09-09T21:42:31Z jmercouris: how could I use Lisp to capture audio from a soundcard? 2019-09-09T21:43:28Z fragamus quit (Ping timeout: 258 seconds) 2019-09-09T21:43:28Z no-defun-allowed: stupidest way is to pipe bytes from arecord (or equivalent) 2019-09-09T21:43:40Z bendersteed quit (Read error: Connection reset by peer) 2019-09-09T21:44:25Z bendersteed joined #lisp 2019-09-09T21:44:27Z jmercouris: let's say I'm on Linux using Alsa or whatever 2019-09-09T21:44:45Z no-defun-allowed: then yeah, open arecord and read some bytes out 2019-09-09T21:44:50Z jmercouris: is it as simple as opening a file stream at the device? 2019-09-09T21:45:47Z no-defun-allowed: hmm, dunno, but arecord is like that, you just read samples from its stdout 2019-09-09T21:46:30Z jmercouris: I'm not sure I like this layer of indirection 2019-09-09T21:47:10Z no-defun-allowed: fair enough 2019-09-09T21:47:28Z madand joined #lisp 2019-09-09T21:47:36Z no-defun-allowed: I found also-alsa: https://github.com/varjagg/also-alsa 2019-09-09T21:47:42Z hh47 quit (Quit: hh47) 2019-09-09T21:47:44Z semz: skidd0: I don't have enough experience to meaningfully recommend a SQL library, but I've used clsql in the past. If I remember correctly it follows the common Lisp (hah) theme of working with ASTs rather than strings, which means most input sanitation issues are avoided and only occur when you finally move from AST to string in a library function. 2019-09-09T21:48:18Z awolven is now known as clothespin 2019-09-09T21:49:22Z skidd0: i'm not sure how that avoids the SQLi issue. if you convert some input string from AST to string, can't the malicious string content make it through those transformations? 2019-09-09T21:49:53Z skidd0: at any rate, plain-odbc supports paramaterized statements, which should be enough 2019-09-09T21:49:54Z jmercouris: skidd0: not if it is properly sanitized 2019-09-09T21:50:00Z skidd0: well 2019-09-09T21:50:08Z skidd0: jmercouris: that's what i'm looking to do 2019-09-09T21:50:12Z aeth: skidd0: I haven't generated SQL before, but I have recently generated HTML. No, the malicious string content cannot make it through the transformations as long as you use our own write-escaped-string instead of write-string or whatever 2019-09-09T21:50:22Z jmercouris: no-defun-allowed: very cool, thank you 2019-09-09T21:50:24Z Bike quit (Quit: Bike) 2019-09-09T21:50:28Z skidd0: i see, thanks aeth 2019-09-09T21:50:37Z karlosz quit (Quit: karlosz) 2019-09-09T21:50:56Z aeth: skidd0: The hypothetical write-escaped-string doesn't do write-string or write-line, it iterates through every character and does write-char if it's safe, and otherwise writes a string representing an escape instead of the char. 2019-09-09T21:51:03Z aeth: And if you need more sanitization than that, you could do that. 2019-09-09T21:51:55Z skidd0: i should see what chars to watch for in SQLi 2019-09-09T21:51:56Z jmercouris: I wonder how something like datafly handles this 2019-09-09T21:52:34Z jmercouris: or rather shall I say SXQL 2019-09-09T21:52:51Z semz: skidd0: "if you convert some input string from AST to string" << The AST is not a string, that's the point. The input string occurs as some part of the AST 2019-09-09T21:54:00Z keep_learning quit (Remote host closed the connection) 2019-09-09T21:54:10Z aeth: And if the AST contains strings, then those strings are the only danger points (unless you e.g. convert symbols to strings automatically) so you just write your own write-string 2019-09-09T21:54:28Z skidd0: ^ see that's what i mean 2019-09-09T21:55:02Z skidd0: semz: the 'input string' was, at some point, a string. then it got put into the AST, then somehow back out to string for the DB to hold 2019-09-09T21:55:29Z semz: is the input string arbitrary (or restricted) SQL or just some parameter for a query? 2019-09-09T21:55:30Z skidd0: i was confused how turning the string into data for the AST, by its nature, removed the worry of malicious input 2019-09-09T21:55:37Z jmercouris: that's the thing, what if you write (theoretical) (select "drop table;" from xyz)? 2019-09-09T21:55:42Z jmercouris: there still is the "drop table;" in there 2019-09-09T21:55:46Z skidd0: ^ 2019-09-09T21:56:08Z jmercouris: using some DSL does not eliminate the issue of sanitizing SQL 2019-09-09T21:56:12Z skidd0: semz: the input string is existing user-entered data 2019-09-09T21:56:20Z skidd0: it 'should' be just some easy strings 2019-09-09T21:56:24Z jmercouris: unless that library has some sort of protection 2019-09-09T21:56:25Z skidd0: but never trust user input 2019-09-09T21:56:35Z semz: The point is that the escaping happens ONCE, at the end. 2019-09-09T21:56:40Z jmercouris: I would suggest pick up SXQL and see if you can generate some malicious statements 2019-09-09T21:56:44Z jmercouris: I'm not sure if protections are in place or not 2019-09-09T21:56:50Z jmercouris: https://github.com/fukamachi/sxql 2019-09-09T21:56:54Z semz: and in the library 2019-09-09T21:56:55Z skidd0: well i've already figured out my answer to this question 2019-09-09T21:57:03Z semz: whereas otherwise you have people munging strings everywhere and haphazardly escaping this and that 2019-09-09T21:57:09Z skidd0: but i appreciate the disscusion and help 2019-09-09T21:57:30Z semz: which is the cause of almost all injection issues 2019-09-09T21:57:42Z skidd0: right. sanitize once 2019-09-09T21:57:48Z skidd0: well, in one spot 2019-09-09T22:00:14Z jmercouris quit (Remote host closed the connection) 2019-09-09T22:00:26Z semz: Let's take the example from above: If you represent the query as, say, `(select ,user-input from xyz) , then no matter what user-input is, as long as the conversion to a query string happens through the (escaping) library function, there is no injection issue. 2019-09-09T22:00:52Z varjag quit (Ping timeout: 268 seconds) 2019-09-09T22:01:00Z semz: And since the conversion to a string must happen somewhere (ideally inside the lib), you only get injection issues if you go really out of your way to introduce them 2019-09-09T22:01:20Z semz: by reimplementing the conversion wrong or something 2019-09-09T22:01:28Z skidd0: right, this what i understood 2019-09-09T22:01:47Z skidd0: and yet, i'm no closer to a simple escaping/sanitization library unless i want to write my own 2019-09-09T22:02:33Z semz: Oh alright, it seemed like we were talking past each other so I reiterated 2019-09-09T22:02:42Z skidd0: it's okay! 2019-09-09T22:02:51Z skidd0: that's IRC :] 2019-09-09T22:02:51Z LiamH quit (Quit: Leaving.) 2019-09-09T22:05:15Z skidd0: maybe it'll help some lurker, too 2019-09-09T22:06:36Z sjl_ quit (Quit: WeeChat 2.3-dev) 2019-09-09T22:07:15Z Oladon_work quit (Ping timeout: 260 seconds) 2019-09-09T22:07:50Z sjl quit (Quit: WeeChat 2.2-dev) 2019-09-09T22:11:12Z ralt: skidd0: you should use prepared statements anyway 2019-09-09T22:11:30Z skidd0: in combination with paramaterized ones, is what i've been told 2019-09-09T22:11:34Z ralt: you're guaranteed to do sanitization wrong 2019-09-09T22:11:49Z skidd0: welp that's demotivating 2019-09-09T22:12:03Z ralt: databases know how to do this stuff, let them do it :) 2019-09-09T22:12:23Z skidd0: uhhh.. 2019-09-09T22:12:38Z skidd0: SQLi is what happens when a database does the thing it knows how to do 2019-09-09T22:12:45Z skidd0: with data from bad people 2019-09-09T22:13:02Z ralt: prepared statements 2019-09-09T22:13:22Z ralt: or parametized, yes 2019-09-09T22:13:40Z skidd0: thought it was and, not or 2019-09-09T22:13:47Z bendersteed quit (Read error: Connection reset by peer) 2019-09-09T22:14:08Z ralt: prepared statements are pre-parametized, essentially 2019-09-09T22:14:09Z bendersteed joined #lisp 2019-09-09T22:14:45Z skidd0: ah good point 2019-09-09T22:14:46Z ralt: a prepared statement is like compiling your parametized 2019-09-09T22:15:38Z ralt: but anyway, this lets the db take care of sanitization 2019-09-09T22:16:38Z ralt: https://sites.google.com/site/sabraonthehill/postmodern-examples/postmodern-parametized-statements 2019-09-09T22:18:16Z ralt: side note: I love postmodern 2019-09-09T22:18:21Z srji quit (Ping timeout: 245 seconds) 2019-09-09T22:19:22Z skidd0: i like it as well. but sadly my current task requires interacting with an MS SQL Server DB 2019-09-09T22:19:33Z ralt: I wish you the best 2019-09-09T22:19:34Z skidd0: which i found plain-odbc handles well enough 2019-09-09T22:19:38Z skidd0: thanks ralt 2019-09-09T22:20:18Z thijso: ralt: with-connected-socket is probably smarter, but my calls to usocket are spread over multiple methods. Maybe I should rethink and not bother about reusing sockets for replies. It is UDP after all. 2019-09-09T22:20:43Z papachan joined #lisp 2019-09-09T22:20:54Z ralt: thijso: it sounds like you want to have a (defmethod close ()) on your class, and then have a (with-my-object ()) that handles opening/closing of the socket 2019-09-09T22:22:12Z ralt: thijso: or you just pass a connected socket to your class, and handle its lifecycle out of your class 2019-09-09T22:22:36Z ralt: e.g. (with-connect-socket (sock) (let ((obj (make-instance :socket sock)) ... 2019-09-09T22:23:21Z ralt: either way, the with- pattern is what you need to manage the lifecycle 2019-09-09T22:24:11Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-09T22:24:39Z Ven`` joined #lisp 2019-09-09T22:24:47Z thijso: Ah, thanks ralt, that's helpful. I'll have to rethink some stuff I see. But that's for tomorrow. 2019-09-09T22:24:58Z Ven`` quit (Client Quit) 2019-09-09T22:25:42Z bitmapper quit (Remote host closed the connection) 2019-09-09T22:25:47Z thijso: And, regarding the escaping discussion: I concur: let the db do it. mysql has a function (`quote` I think?) that does it for you correctly. 2019-09-09T22:26:17Z bitmapper joined #lisp 2019-09-09T22:26:18Z thijso: Maybe check how DBD (perl lib) does it? Or some other flavor of the day... 2019-09-09T22:26:27Z srji joined #lisp 2019-09-09T22:33:59Z bendersteed quit (Read error: Connection reset by peer) 2019-09-09T22:34:21Z bitmapper quit (Remote host closed the connection) 2019-09-09T22:34:23Z bendersteed joined #lisp 2019-09-09T22:34:37Z bitmapper joined #lisp 2019-09-09T22:36:40Z Bike joined #lisp 2019-09-09T22:37:30Z jgerman joined #lisp 2019-09-09T22:40:01Z sameerynho quit (Ping timeout: 246 seconds) 2019-09-09T22:44:16Z bendersteed quit (Read error: Connection reset by peer) 2019-09-09T22:48:56Z ralt: skidd0: looks like plain-odbc supports parametized statements just fine (exec-query *con* "select * from test1 where x = ?" 1) 2019-09-09T22:49:07Z skidd0: yes, it does 2019-09-09T22:49:22Z ralt: and prepared statements 2019-09-09T22:49:25Z skidd0: yes 2019-09-09T22:49:34Z ralt: you're good to go then :) 2019-09-09T22:49:42Z skidd0: :) 2019-09-09T22:50:07Z ralt: you don't need any input sanitization 2019-09-09T22:50:17Z ralt: what you _do_ need, however, is making sure your output is escaped 2019-09-09T22:50:29Z ralt: (XSS, in the typical scenario) 2019-09-09T22:50:39Z papachan quit (Quit: Leaving) 2019-09-09T22:50:42Z skidd0: i see 2019-09-09T22:51:10Z ralt: if an attacker wants to store <script>alert('I eat your cookies!')</script> in the db, let him 2019-09-09T22:51:22Z ralt: just make sure it's output appropriately 2019-09-09T22:51:23Z skidd0: jus tescape it on its way out 2019-09-09T22:51:29Z skidd0: yeaa 2019-09-09T22:51:32Z skidd0: fun stuff 2019-09-09T22:52:06Z schjetne quit (Ping timeout: 245 seconds) 2019-09-09T22:53:42Z karlosz joined #lisp 2019-09-09T22:54:30Z skidd0 left #lisp 2019-09-09T22:54:41Z ralt: you will typically want a couple of functions like (escape-plain) (to escape all html), (escape-html) (to allow some html tags), etc 2019-09-09T22:55:21Z EvW1 joined #lisp 2019-09-09T22:55:37Z EvW quit (Ping timeout: 250 seconds) 2019-09-09T22:55:45Z EvW1 is now known as EvW 2019-09-09T22:57:25Z bumbling-monkey joined #lisp 2019-09-09T22:59:27Z bumbling-monkey quit (Read error: Connection reset by peer) 2019-09-09T23:04:52Z clothespin quit (Ping timeout: 246 seconds) 2019-09-09T23:06:35Z edgar-rft wants (escape-from-hell) 2019-09-09T23:11:12Z mrcode_: what's the right way to ensure macroexpansion inside of a macro? i'm having a problem with (defmacro macro1 (&body body) (foofn (quote ,body)) and the invocation (macro1 (other-macro args)) 2019-09-09T23:11:21Z karlosz quit (Quit: karlosz) 2019-09-09T23:11:26Z mrcode_: the inner macro seems to not expand :/ 2019-09-09T23:11:38Z mrcode_: i suspect due to the (quote ...) part 2019-09-09T23:11:42Z no-defun-allowed: (macroexpand body) 2019-09-09T23:11:53Z no-defun-allowed: yeah, quoted data won't get macroexpanded 2019-09-09T23:12:24Z mrcode_: uhm... face-meets-desk moment 2019-09-09T23:12:26Z mrcode_: thx no-defun-allowed 2019-09-09T23:12:35Z no-defun-allowed: ywlcm 2019-09-09T23:12:44Z no-defun-allowed: it happens, don't put yourself down 2019-09-09T23:13:14Z mrcode_: I was just using macroexpand on the top level macro to see what it expands to.. never thought of using it for more than debugging 2019-09-09T23:13:46Z Bike: mrcode_: yes, quoted objects aren't macroexpanded 2019-09-09T23:15:05Z mrcode_: glad I asked here as I was about to seriously considering code-walking approach 2019-09-09T23:15:25Z mrcode_: s/considering/start considering/ 2019-09-09T23:19:35Z karlosz joined #lisp 2019-09-09T23:19:39Z karlosz quit (Remote host closed the connection) 2019-09-09T23:23:58Z xkapastel joined #lisp 2019-09-09T23:24:54Z smazga quit (Quit: leaving) 2019-09-09T23:26:40Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-09T23:36:23Z White_Flame: mrcode: typically, you'd just do (defmacro outer (&body) `(inner ,@body)) and let the system recurse through the generated macroexpansion 2019-09-09T23:37:04Z White_Flame: if there are macros in the body, then they need to simply be in an evaluated place in the generated code 2019-09-09T23:37:26Z White_Flame: what goal are you trying to solve? 2019-09-09T23:38:41Z karlosz joined #lisp 2019-09-09T23:39:31Z MightyJoe quit (Ping timeout: 246 seconds) 2019-09-09T23:39:32Z karlosz quit (Client Quit) 2019-09-09T23:39:50Z cyraxjoe joined #lisp 2019-09-09T23:41:47Z awolven joined #lisp 2019-09-09T23:44:09Z mindthelion joined #lisp 2019-09-09T23:46:19Z techquila quit (Ping timeout: 250 seconds) 2019-09-09T23:52:01Z ebrasca joined #lisp 2019-09-09T23:52:06Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-10T00:01:50Z orivej quit (Ping timeout: 258 seconds) 2019-09-10T00:02:15Z dale quit (Quit: My computer has gone to sleep) 2019-09-10T00:05:01Z red-dot joined #lisp 2019-09-10T00:14:51Z EvW quit (Ping timeout: 240 seconds) 2019-09-10T00:21:41Z madand quit (Ping timeout: 245 seconds) 2019-09-10T00:36:14Z sjl joined #lisp 2019-09-10T00:44:51Z awolven quit (Ping timeout: 240 seconds) 2019-09-10T00:46:55Z shifty joined #lisp 2019-09-10T00:47:31Z igemnace joined #lisp 2019-09-10T00:53:13Z anewuser joined #lisp 2019-09-10T00:54:13Z t58 quit (Quit: night) 2019-09-10T00:58:27Z mindthelion quit (Ping timeout: 240 seconds) 2019-09-10T00:58:41Z awolven joined #lisp 2019-09-10T00:59:33Z igemnace quit (Read error: Connection reset by peer) 2019-09-10T01:03:48Z aautcsh_ quit (Ping timeout: 252 seconds) 2019-09-10T01:05:15Z bitmapper quit (Ping timeout: 268 seconds) 2019-09-10T01:06:27Z stepnem quit (Read error: Connection reset by peer) 2019-09-10T01:08:30Z keep_learning joined #lisp 2019-09-10T01:08:53Z dddddd quit (Remote host closed the connection) 2019-09-10T01:09:12Z stepnem joined #lisp 2019-09-10T01:10:40Z aautcsh joined #lisp 2019-09-10T01:11:52Z q9929t joined #lisp 2019-09-10T01:14:36Z torbo joined #lisp 2019-09-10T01:17:33Z davr0s_ quit (Ping timeout: 245 seconds) 2019-09-10T01:17:58Z davr0s quit (Ping timeout: 245 seconds) 2019-09-10T01:20:01Z stepnem quit (Ping timeout: 245 seconds) 2019-09-10T01:20:36Z stepnem joined #lisp 2019-09-10T01:27:57Z igemnace joined #lisp 2019-09-10T01:28:19Z akoana left #lisp 2019-09-10T01:28:33Z ralt quit (Quit: Connection closed for inactivity) 2019-09-10T01:29:12Z igemnace quit (Remote host closed the connection) 2019-09-10T01:31:07Z q9929t quit (Quit: q9929t) 2019-09-10T01:36:41Z dale joined #lisp 2019-09-10T01:38:16Z raghavgururajan joined #lisp 2019-09-10T01:50:00Z stepnem quit (Read error: Connection reset by peer) 2019-09-10T01:51:23Z stepnem joined #lisp 2019-09-10T01:56:43Z libertyprime quit (Ping timeout: 245 seconds) 2019-09-10T01:57:07Z stepnem_ joined #lisp 2019-09-10T01:57:40Z semz quit (Ping timeout: 264 seconds) 2019-09-10T01:57:57Z stepnem quit (Ping timeout: 246 seconds) 2019-09-10T01:59:57Z ahungry joined #lisp 2019-09-10T02:06:47Z Loplin joined #lisp 2019-09-10T02:10:05Z semz joined #lisp 2019-09-10T02:10:05Z semz quit (Changing host) 2019-09-10T02:10:05Z semz joined #lisp 2019-09-10T02:12:20Z EvW joined #lisp 2019-09-10T02:26:44Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-10T02:26:50Z jgerman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-10T02:34:55Z esrse joined #lisp 2019-09-10T02:36:09Z libertyprime joined #lisp 2019-09-10T02:36:38Z taylor is now known as k 2019-09-10T02:37:24Z makomo joined #lisp 2019-09-10T02:39:52Z makomo_ quit (Ping timeout: 244 seconds) 2019-09-10T02:53:38Z rople joined #lisp 2019-09-10T02:58:09Z rople quit (Ping timeout: 246 seconds) 2019-09-10T03:01:09Z fragamus joined #lisp 2019-09-10T03:01:49Z rople joined #lisp 2019-09-10T03:04:48Z X-Scale joined #lisp 2019-09-10T03:19:48Z dale quit (Quit: My computer has gone to sleep) 2019-09-10T03:28:16Z EvW quit (Ping timeout: 264 seconds) 2019-09-10T03:32:45Z slyrus_ joined #lisp 2019-09-10T03:33:32Z dale joined #lisp 2019-09-10T03:35:03Z slyrus quit (Ping timeout: 245 seconds) 2019-09-10T03:43:23Z gravicappa joined #lisp 2019-09-10T03:51:15Z Bike quit (Quit: Lost terminal) 2019-09-10T03:58:57Z torbo quit (Remote host closed the connection) 2019-09-10T04:10:10Z niceplace quit (Quit: ZNC 1.7.3 - https://znc.in) 2019-09-10T04:10:28Z niceplace joined #lisp 2019-09-10T04:21:04Z alexanderbarbosa joined #lisp 2019-09-10T04:26:23Z dale quit (Quit: My computer has gone to sleep) 2019-09-10T04:37:46Z beach: Good morning everyone! 2019-09-10T04:39:24Z jonatack quit (Ping timeout: 252 seconds) 2019-09-10T04:40:45Z X-Scale quit (Quit: HydraIRC -> http://www.hydrairc.com <- s0 d4Mn l33t |t'z 5c4rY!) 2019-09-10T04:46:49Z no-defun-allowed: Are there any good examples of using ABCL's FFI? I think I'm doing it wrong and reinventing Java inheritance in the process. 2019-09-10T04:51:10Z schjetne joined #lisp 2019-09-10T04:56:02Z schjetne quit (Ping timeout: 240 seconds) 2019-09-10T05:01:12Z karlosz joined #lisp 2019-09-10T05:03:54Z jonatack joined #lisp 2019-09-10T05:08:48Z Loplin quit (Ping timeout: 245 seconds) 2019-09-10T05:15:02Z _whitelogger quit (Remote host closed the connection) 2019-09-10T05:17:16Z _whitelogger joined #lisp 2019-09-10T05:20:27Z flamebeard joined #lisp 2019-09-10T05:20:52Z no-defun-allowed: Perhaps I do have to reinvent Java inheritance, since I have to swizzle all my method names according to that goddamn obsfucator. 2019-09-10T05:21:09Z ahungry quit (Remote host closed the connection) 2019-09-10T05:23:09Z vlatkoB joined #lisp 2019-09-10T05:25:48Z shka_ joined #lisp 2019-09-10T05:26:43Z froggey quit (Ping timeout: 268 seconds) 2019-09-10T05:27:47Z shifty quit (Ping timeout: 276 seconds) 2019-09-10T05:28:12Z froggey joined #lisp 2019-09-10T05:32:45Z sauvin joined #lisp 2019-09-10T05:34:11Z Inline quit (Quit: Leaving) 2019-09-10T05:34:48Z nanoz joined #lisp 2019-09-10T05:39:55Z varjag joined #lisp 2019-09-10T05:49:29Z varjag quit (Ping timeout: 244 seconds) 2019-09-10T05:52:06Z shka_ quit (Ping timeout: 246 seconds) 2019-09-10T05:54:11Z karlosz quit (Quit: karlosz) 2019-09-10T06:03:52Z Cymew joined #lisp 2019-09-10T06:05:58Z shifty joined #lisp 2019-09-10T06:07:55Z JohnMS_WORK joined #lisp 2019-09-10T06:12:13Z aautcsh quit (Quit: aautcsh) 2019-09-10T06:12:14Z JohnMS_WORK quit (Client Quit) 2019-09-10T06:12:21Z superkumasan quit (Ping timeout: 268 seconds) 2019-09-10T06:16:02Z JohnMS_WORK joined #lisp 2019-09-10T06:16:17Z ljavorsk joined #lisp 2019-09-10T06:18:44Z ljavorsk quit (Remote host closed the connection) 2019-09-10T06:20:03Z anewuser quit (Ping timeout: 245 seconds) 2019-09-10T06:20:44Z ljavorsk joined #lisp 2019-09-10T06:21:42Z nostoi joined #lisp 2019-09-10T06:22:33Z scymtym quit (Ping timeout: 244 seconds) 2019-09-10T06:28:07Z jprajzne joined #lisp 2019-09-10T06:29:13Z shka_ joined #lisp 2019-09-10T06:32:50Z Cymew quit (Read error: Connection reset by peer) 2019-09-10T06:34:05Z rople quit (Ping timeout: 276 seconds) 2019-09-10T06:40:11Z JohnMS_WORK quit (Read error: Connection reset by peer) 2019-09-10T06:44:29Z JohnMS_WORK joined #lisp 2019-09-10T06:44:56Z gxt quit (Ping timeout: 260 seconds) 2019-09-10T06:47:28Z vlatkoB_ joined #lisp 2019-09-10T06:48:38Z Cymew joined #lisp 2019-09-10T06:50:03Z vlatkoB quit (Ping timeout: 240 seconds) 2019-09-10T06:50:32Z varjag joined #lisp 2019-09-10T06:54:04Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2019-09-10T07:00:34Z jgerman joined #lisp 2019-09-10T07:02:15Z JohnMS_WORK joined #lisp 2019-09-10T07:03:13Z JohnMS_WORK quit (Read error: Connection reset by peer) 2019-09-10T07:04:51Z schweers quit (Remote host closed the connection) 2019-09-10T07:04:59Z schweers joined #lisp 2019-09-10T07:05:42Z ravenousmoose joined #lisp 2019-09-10T07:06:13Z JohnMS_WORK joined #lisp 2019-09-10T07:10:02Z rople joined #lisp 2019-09-10T07:10:09Z ravenousmoose quit (Ping timeout: 246 seconds) 2019-09-10T07:11:07Z rople quit (Client Quit) 2019-09-10T07:11:38Z rople joined #lisp 2019-09-10T07:13:20Z chens joined #lisp 2019-09-10T07:15:31Z scymtym joined #lisp 2019-09-10T07:20:03Z fiddlerwoaroof: no-defun-allowed: ABCL ships JFLI in a contrib, which makes dealing with Java a lot nicer 2019-09-10T07:20:29Z fiddlerwoaroof: But, alot probably depends on what you're trying to accomplish 2019-09-10T07:23:24Z majeure quit (Quit: Lost terminal) 2019-09-10T07:24:49Z no-defun-allowed: Most of the complexity is coming from the stupid obsfucation Minecraft has, so I had to write some methods which look up a table to translate the human friendly names (like posX) to crap (like field_12345) 2019-09-10T07:25:15Z raghavgururajan quit (Read error: Connection reset by peer) 2019-09-10T07:26:50Z nwoob joined #lisp 2019-09-10T07:26:58Z nanoz quit (Ping timeout: 268 seconds) 2019-09-10T07:33:42Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-10T07:34:11Z ralt joined #lisp 2019-09-10T07:37:15Z schjetne joined #lisp 2019-09-10T07:37:20Z _whitelogger quit (Remote host closed the connection) 2019-09-10T07:39:34Z _whitelogger joined #lisp 2019-09-10T07:42:21Z ggole joined #lisp 2019-09-10T07:43:00Z libertyprime quit (Quit: leaving) 2019-09-10T07:44:33Z libertyprime joined #lisp 2019-09-10T07:50:06Z shka__ joined #lisp 2019-09-10T07:51:03Z nowhere_man joined #lisp 2019-09-10T07:53:31Z akoana joined #lisp 2019-09-10T07:57:56Z nowhere_man quit (Ping timeout: 276 seconds) 2019-09-10T08:01:17Z nowhere_man joined #lisp 2019-09-10T08:01:43Z hhdave joined #lisp 2019-09-10T08:01:53Z nanoz joined #lisp 2019-09-10T08:10:15Z jgerman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-10T08:13:14Z no-defun-allowed uploaded a video: aimbot.exe.mp4 (5666KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/QHnNwKOxBHLEZoFkPsUouPJz > 2019-09-10T08:13:24Z no-defun-allowed: drmeister: I made a terrible, terrible aimbot to test out the deswizzler (and I only had to provide one obsfucated name, thanks to god damn method overloading.) 2019-09-10T08:15:45Z no-defun-allowed: I guess I have to key my method table using all the Java classes...somehow. 2019-09-10T08:17:08Z jlarocco quit (Ping timeout: 245 seconds) 2019-09-10T08:29:52Z m00natic joined #lisp 2019-09-10T08:31:00Z nanoz quit (Ping timeout: 246 seconds) 2019-09-10T08:35:13Z seok joined #lisp 2019-09-10T08:35:39Z seok: which database does everyone use for their projects? 2019-09-10T08:36:43Z jdz: seok: I can't answer for anybody else, but I prefere PostgreSQL. 2019-09-10T08:38:23Z shka__: postgres is fine 2019-09-10T08:39:05Z jackdaniel: sqlite is great if you need a local database 2019-09-10T08:39:27Z jackdaniel: without much hassle to set it up 2019-09-10T08:39:31Z seok: Yeah, just wondering what everyone uses 2019-09-10T08:39:37Z seok: I'm using mongo for mine 2019-09-10T08:39:47Z jackdaniel: depends on requirements I suppose 2019-09-10T08:40:34Z jackdaniel: I'm certain you could find people who use the lisp image as their database 2019-09-10T08:40:43Z jackdaniel: and call save-lisp-and-die 2019-09-10T08:40:53Z grumble quit (Ping timeout: 622 seconds) 2019-09-10T08:40:54Z seok: I'm stressing out whether I should swap to SQL as the lack of community of common-lisp - mongodb users make it difficult to ask for help in odd cases 2019-09-10T08:41:18Z flip214 quit (Ping timeout: 245 seconds) 2019-09-10T08:41:50Z shka__: well, many people use postgres because of how fun postmodern is 2019-09-10T08:41:51Z jackdaniel: I'd switch unless you have a real need for something what is not SQL 2019-09-10T08:42:04Z shka__: to clarify ;-) 2019-09-10T08:42:11Z seok: I would love to use lisp image as a db, but I have doubts whether it would keep up with the performance standard of SQL or NoSQL DBs 2019-09-10T08:42:28Z seok: or at least the code I implement 2019-09-10T08:42:35Z jackdaniel: what can be faster then memory directly available for the process? 2019-09-10T08:42:47Z jdz: I've seen articles about how Postegres is a better Mongo. 2019-09-10T08:42:58Z jackdaniel: when you use external database you need to: a) speak some protocol (transmission), b) serialize/deserialize data (computing) 2019-09-10T08:43:20Z jdz: PostgreSQL can store and query JSON. 2019-09-10T08:43:20Z flip214 joined #lisp 2019-09-10T08:43:45Z jackdaniel: however I could imagine a database in beach-envisioned system where your process simply gains access to the database memory 2019-09-10T08:43:53Z seok: What about data integrity? How can I be sure that data won't be lost in case of unexpected shutdowns 2019-09-10T08:44:18Z jdz: You can't. 2019-09-10T08:45:00Z jdz: Integrity does not safeguard from data loos, it just guarantees integrity of written data. 2019-09-10T08:45:02Z jackdaniel: I like this answer ↑ (and it is true) 2019-09-10T08:45:57Z jonatack: seok: did a one year project for the paris airports where we were required to use mongo... never again 2019-09-10T08:45:59Z seok: Would in-lisp database be just as secure as a full DB? 2019-09-10T08:46:00Z jackdaniel: seok: but yes, using "real" database will give you some guarantees which are not available in stock lisp image :) 2019-09-10T08:46:16Z seok: jonatack: yeah it's horrible eh? 2019-09-10T08:46:47Z jonatack: as the project evolved it became relation-centric rather than document-centric 2019-09-10T08:47:23Z jonatack: but no managerial will to allow us to change to SQL (we wanted to use postgres) 2019-09-10T08:47:52Z seok: If I could be convinced that a lisp database can be just as scalable and data-secure as full DB's, I would go for that right away 2019-09-10T08:48:03Z flip214 quit (Ping timeout: 240 seconds) 2019-09-10T08:48:27Z Necktwi joined #lisp 2019-09-10T08:48:48Z even4void joined #lisp 2019-09-10T08:48:53Z jonatack: mongo was fun at first but if any risk of evolving toward needing a RDBMS instead... heh 2019-09-10T08:49:01Z nanoz joined #lisp 2019-09-10T08:49:29Z flip214 joined #lisp 2019-09-10T08:49:44Z seok: On what occasions did mongo underperform? 2019-09-10T08:49:51Z jackdaniel: seok: that was primarily meant as a joke, lisp image is not a way to go for managing data in any non-personal project. if it is a small project with single client use sqlite, otherwise use postgresql 2019-09-10T08:50:15Z techquila joined #lisp 2019-09-10T08:50:16Z seok: I was hearing that aggregation is not so bad compared to joining in SQL 2019-09-10T08:50:56Z jonatack: mongo is the wrong choice for relational mapping without going down rabbit holes to accomodate/cascading updates and let's not get started about maintaining db integrity in that case 2019-09-10T08:51:39Z jonatack: anyway, ymmv :) but as for me, never again 2019-09-10T08:52:06Z cartwright quit (Remote host closed the connection) 2019-09-10T08:52:08Z Lord_of_Life quit (Ping timeout: 245 seconds) 2019-09-10T08:53:22Z seok: Ugh, I guess it might be good idea to do away with mongo then 2019-09-10T08:53:49Z jonatack: basically an SQL backend with maybe a mongo one for the document part would have been fine, but some manager sold the project as cheaper by speccing only having to deploy and admin mongo for everything 2019-09-10T08:54:33Z cartwright joined #lisp 2019-09-10T08:54:52Z Lord_of_Life joined #lisp 2019-09-10T08:55:02Z jonatack: the takeaway: if the value of the data is in the relationships between the data, then go for an RDBMS. 2019-09-10T08:55:15Z user___ joined #lisp 2019-09-10T08:55:15Z seok: Well it's quite interesting you are writing apps in CL for commercial projects 2019-09-10T08:56:32Z jonatack: it was unfortunately not CL but a ruby/rails/react app but the database aspect should apply broadly 2019-09-10T08:57:01Z jonatack: had no say in the stack, was called in to save the damn thing 2019-09-10T08:57:18Z jonatack: wish I'd refused :p 2019-09-10T08:57:32Z seok: Was it a web app? 2019-09-10T08:59:36Z jonatack: part of it was a web app, the rest an internal management/AI tool to dump data from employees' heads as they were nearing retirement, centralise the data, and apply learning to it 2019-09-10T09:00:26Z even4void quit (Quit: Textual IRC Client: www.textualapp.com) 2019-09-10T09:00:47Z jonatack: to automate tasks and probably hire fewer people, hopefully doing more interesting work without the dumb automated parts 2019-09-10T09:01:11Z jonatack: typical globo-corp software 2019-09-10T09:02:56Z libertyprime quit (Ping timeout: 245 seconds) 2019-09-10T09:08:49Z nostoi quit (Quit: Verlassend) 2019-09-10T09:09:36Z Necktwi quit (Ping timeout: 245 seconds) 2019-09-10T09:15:27Z nowhere_man quit (Ping timeout: 246 seconds) 2019-09-10T09:29:01Z stepnem_ is now known as stepnem 2019-09-10T09:46:42Z Necktwi joined #lisp 2019-09-10T09:49:37Z libertyprime joined #lisp 2019-09-10T09:58:34Z chens quit (Read error: Connection reset by peer) 2019-09-10T09:58:52Z chens joined #lisp 2019-09-10T10:03:45Z Necktwi quit (Ping timeout: 246 seconds) 2019-09-10T10:06:22Z chens quit (Remote host closed the connection) 2019-09-10T10:09:13Z Necktwi joined #lisp 2019-09-10T10:10:23Z nwoob quit (Ping timeout: 268 seconds) 2019-09-10T10:11:36Z vyorkin joined #lisp 2019-09-10T10:12:29Z knicklux quit (Remote host closed the connection) 2019-09-10T10:21:03Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-10T10:24:34Z grumble joined #lisp 2019-09-10T10:27:33Z dddddd joined #lisp 2019-09-10T10:28:08Z vyorkin quit (Remote host closed the connection) 2019-09-10T10:28:46Z ramus quit (Ping timeout: 246 seconds) 2019-09-10T10:36:35Z ljavorsk_ joined #lisp 2019-09-10T10:37:50Z ljavorsk quit (Ping timeout: 276 seconds) 2019-09-10T10:38:34Z sellout- quit (Ping timeout: 246 seconds) 2019-09-10T10:40:44Z sellout- joined #lisp 2019-09-10T10:40:57Z nwoob joined #lisp 2019-09-10T10:47:47Z rople quit (Quit: rople) 2019-09-10T10:48:12Z rople joined #lisp 2019-09-10T10:48:41Z EvW1 joined #lisp 2019-09-10T11:01:05Z ramus joined #lisp 2019-09-10T11:01:30Z patrixl joined #lisp 2019-09-10T11:14:34Z alexanderbarbosa quit (Read error: No route to host) 2019-09-10T11:18:08Z libertyprime quit (Ping timeout: 276 seconds) 2019-09-10T11:19:12Z libertyprime joined #lisp 2019-09-10T11:19:20Z jgerman joined #lisp 2019-09-10T11:20:05Z jgerman quit (Client Quit) 2019-09-10T11:24:56Z ebrasca: beach: I did some unit testing and I think testing is good. 2019-09-10T11:28:39Z seok quit (Remote host closed the connection) 2019-09-10T11:31:35Z ljavorsk_ quit (Quit: I'm out, bye) 2019-09-10T11:31:50Z ljavorsk joined #lisp 2019-09-10T11:39:25Z beach: Yes, unit testing is good most of the time. Sometimes it is very hard to accomplish, though. 2019-09-10T11:39:54Z beach: And many times it is tedious if the technique used is to enumerate every possible case. 2019-09-10T11:42:03Z rople quit (Quit: rople) 2019-09-10T11:42:54Z rople joined #lisp 2019-09-10T11:43:13Z amerlyq joined #lisp 2019-09-10T11:48:51Z ebrasca: beach: I try to make all cases. 2019-09-10T11:49:26Z ebrasca: beach: With one test I found it don't read last byte/char. 2019-09-10T11:49:57Z ebrasca: beach: Yea , for me it is very slow. 2019-09-10T11:59:25Z rople quit (Ping timeout: 246 seconds) 2019-09-10T11:59:54Z bitmapper joined #lisp 2019-09-10T12:04:55Z red-dot joined #lisp 2019-09-10T12:15:16Z thijso: So naming... If I have a class that gets to an end state (giving an answer to for example 'find-node') using multiple rpc-exchanges, what would be a good name for such a class? rpc-process? rpc-action? 2019-09-10T12:16:11Z esrse quit (Ping timeout: 268 seconds) 2019-09-10T12:17:29Z thijso: Hhmmm, maybe I shouldn't be generalizing too much. Something like find-node-<something>. 2019-09-10T12:17:52Z beach: It would be strange to have the name of a class start with a verb. 2019-09-10T12:18:51Z Cymew quit (Ping timeout: 246 seconds) 2019-09-10T12:18:57Z thijso: yeah 2019-09-10T12:19:07Z beach: And I don't know what it means for a class to "get to an end state". 2019-09-10T12:19:13Z Cymew joined #lisp 2019-09-10T12:19:28Z Cymew quit (Client Quit) 2019-09-10T12:19:43Z Cymew joined #lisp 2019-09-10T12:21:11Z thijso: Yeah, not the class, an instance of that class. And wording is bad. I mean a method of that class that gives the answer to 'find-node', which is an iterative process using 'rpc-exchange's to get to that answer 2019-09-10T12:21:31Z Cymew quit (Client Quit) 2019-09-10T12:21:43Z Cymew joined #lisp 2019-09-10T12:21:54Z beach: Classes don't have methods. Generic functions do. 2019-09-10T12:22:05Z orivej joined #lisp 2019-09-10T12:22:26Z beach: And what does it mean for a method to give an answer to find-node? 2019-09-10T12:22:29Z gabiruh quit (Quit: ZNC - 1.6.0 - http://znc.in) 2019-09-10T12:22:46Z gabiruh joined #lisp 2019-09-10T12:24:05Z beach: What is the nature of `find-node'? Is it a function? 2019-09-10T12:24:55Z thijso: Its an rpc, a call to a different node 2019-09-10T12:26:32Z Bike joined #lisp 2019-09-10T12:28:08Z beach: So what does it mean for a method to "give an answer to" an rpc? 2019-09-10T12:28:24Z beach: I am sorry for being so dense, but I truly don't understand. 2019-09-10T12:29:56Z thijso: It returns a list of nodes that were found 2019-09-10T12:34:33Z beach: I think I had better let others figure this out. I do not understand your terminology. I feel more stupid than usual. Sorry. 2019-09-10T12:35:03Z thijso: np 2019-09-10T12:36:55Z grumble is now known as \emph{grumble} 2019-09-10T12:41:01Z beach: Since nobody is answering, let me try again. 2019-09-10T12:41:16Z beach: Why does a particular remote call have a name? 2019-09-10T12:41:29Z beach: Does every call have a different name? 2019-09-10T12:41:45Z ck_: I thought about chiming in, but don't get the problem either 2019-09-10T12:42:14Z ck_: thijso: maybe show an invocation and the result of it, then people can tell you whether your naming is somehow unusual or not 2019-09-10T12:42:21Z beach: I am guessing that it is not a call that is named find-node, but some function that, when called, makes the remote procedure call. Am I understanding this right? 2019-09-10T12:43:39Z flamebeard quit 2019-09-10T12:44:27Z beach: ck_: So either we are both dense, or thijso is not being clear. 2019-09-10T12:47:20Z thijso: I'm probably not being clear. Indeed there are rpc calls being done to a different node (instance of the same code running on a different host/port/whatever). Some of them have a type :find-node and pass on a :node-id they want to find. The other side replies with the closest ones it knows and the requester iterates on those to find the one it wants (or ends up with x closest results, but not the actual one 2019-09-10T12:47:26Z thijso: as it doesn't exist (yet)) 2019-09-10T12:49:02Z thijso: I'm thinking of making a class that keeps track of the iterations of the rpc calls it has done, keeping track of the replies (found nodes) it gets and removes the duplicate results from different nodes it has queried. In the end it should end up with the answer (1 node, or the x closest ones to that id) 2019-09-10T12:49:38Z thijso: Not sure if that clears it up or makes it worse... 2019-09-10T12:49:38Z shka__: p2p, right? 2019-09-10T12:49:57Z akoana left #lisp 2019-09-10T12:50:02Z thijso: Yep, a Kademlia DHT implementation 2019-09-10T12:50:46Z beach: Now it makes more sense. But again, only instances of classes that are also functions do things, like "keep track", "remove", etc. Those would be generic functions specialized to some class. 2019-09-10T12:51:41Z shka__: instances of some class 2019-09-10T12:52:31Z beach: I meant "generic functions with methods specialized to some class". 2019-09-10T12:52:46Z beach: The specializer is usually a class. 2019-09-10T12:53:21Z beach: thijso: So a class could be called rpc-state, or find-node-state or something like that. 2019-09-10T12:54:02Z shka__: or perhaps query? 2019-09-10T12:54:07Z shka__: find-node-query 2019-09-10T12:54:22Z thijso: okay... lemme think about that 2019-09-10T12:54:30Z beach: thijso: And you would have one or more generic functions with methods specialized to that class for keeping track of the answers. 2019-09-10T12:55:47Z lucasb joined #lisp 2019-09-10T12:55:53Z thijso: beach: I think we have different understandings of 'keep track'. In my view, the slots in the class are where the keeping track is happening, the method manipulate the data in those slots, but it's 'saved' in there. Or am I seeing this completely wrong? 2019-09-10T12:56:12Z beach: That's correct. 2019-09-10T12:57:05Z beach: A method specialized to the class would remove the duplicates. Not the class. 2019-09-10T12:57:24Z thijso: I'm thinking I like find-node-query. Well, not 'like', but it's the best I've seen 2019-09-10T12:57:42Z thijso: Yeah, agreed, beach 2019-09-10T12:58:08Z t58 joined #lisp 2019-09-10T12:58:25Z beach: thijso: I was remarking on your saying that "it [referring to the class] gets and removes the duplicate results from different nodes it has queried" 2019-09-10T12:59:29Z beach: The class does none of these things. Nor an instance of it. 2019-09-10T13:02:52Z shka__: instances in cl are pretty much just data 2019-09-10T13:03:21Z shka__: and classes are just schemes for instances 2019-09-10T13:03:40Z EvW1 quit (Ping timeout: 264 seconds) 2019-09-10T13:04:10Z thijso: yeah, I understand. I wasn't being clear. And I probably have too much bagage from other languages in there still. 2019-09-10T13:04:14Z shka__: it can be actually considered to be old school 2019-09-10T13:04:39Z beach: shka_: Except that it gets complicated, because a function is an instance of the class FUNCTION. 2019-09-10T13:04:40Z thijso: Or even, misconceptions brought over from other languages. 2019-09-10T13:05:07Z shka__: beach: i kinda omitted functions on purpose ;-) 2019-09-10T13:05:17Z beach: Sure. 2019-09-10T13:08:18Z igemnace joined #lisp 2019-09-10T13:11:41Z orivej quit (Ping timeout: 245 seconds) 2019-09-10T13:14:36Z Guest89 joined #lisp 2019-09-10T13:16:12Z orivej joined #lisp 2019-09-10T13:20:26Z orivej quit (Ping timeout: 240 seconds) 2019-09-10T13:35:14Z mindCrime joined #lisp 2019-09-10T13:42:07Z superkumasan joined #lisp 2019-09-10T13:42:45Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2019-09-10T13:49:05Z Guest89 quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-10T13:55:03Z ljavorsk quit (Ping timeout: 245 seconds) 2019-09-10T13:55:26Z awolven quit (Ping timeout: 276 seconds) 2019-09-10T14:05:47Z orivej joined #lisp 2019-09-10T14:06:37Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.2)) 2019-09-10T14:16:48Z X-Scale joined #lisp 2019-09-10T14:17:20Z wxie joined #lisp 2019-09-10T14:25:14Z EvW joined #lisp 2019-09-10T14:25:23Z ralt: thijso: composition usually comes in handy there, where the instance would hold an "rpc" object in one of its slots, and the rpc object can manage caching and whatever is needed, and the methods just do e.g. (defmethod find-node ((node node)) (rpc-call (rpc node) :method :find-node :node-id ...)) 2019-09-10T14:29:13Z dyelar joined #lisp 2019-09-10T14:32:48Z dale_ joined #lisp 2019-09-10T14:33:08Z dale_ is now known as dale 2019-09-10T14:37:00Z nwoob quit (Ping timeout: 244 seconds) 2019-09-10T14:43:52Z wxie quit (Ping timeout: 264 seconds) 2019-09-10T14:43:58Z smazga joined #lisp 2019-09-10T14:49:05Z manualcrank joined #lisp 2019-09-10T14:49:26Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-10T14:52:49Z fitzsim quit (Ping timeout: 268 seconds) 2019-09-10T14:53:09Z fitzsim joined #lisp 2019-09-10T15:00:23Z q9929t joined #lisp 2019-09-10T15:05:09Z red-dot joined #lisp 2019-09-10T15:06:56Z Lord_of_Life quit (Ping timeout: 276 seconds) 2019-09-10T15:07:21Z jprajzne quit (Quit: Leaving.) 2019-09-10T15:07:37Z orivej quit (Ping timeout: 268 seconds) 2019-09-10T15:08:28Z papachan joined #lisp 2019-09-10T15:08:42Z orivej joined #lisp 2019-09-10T15:10:05Z nwoob joined #lisp 2019-09-10T15:11:25Z EvW quit (Ping timeout: 276 seconds) 2019-09-10T15:12:08Z Lord_of_Life joined #lisp 2019-09-10T15:14:22Z Oladon_work joined #lisp 2019-09-10T15:18:45Z EvW joined #lisp 2019-09-10T15:22:08Z schjetne quit (Ping timeout: 245 seconds) 2019-09-10T15:23:00Z madand joined #lisp 2019-09-10T15:33:45Z edgar-rft quit (Quit: Leaving) 2019-09-10T15:34:36Z nwoob quit (Ping timeout: 245 seconds) 2019-09-10T15:40:38Z q9929t quit (Quit: q9929t) 2019-09-10T15:45:26Z madand quit (Read error: Connection reset by peer) 2019-09-10T15:49:10Z vyorkin` joined #lisp 2019-09-10T15:50:34Z Oddity joined #lisp 2019-09-10T15:55:35Z cosimone joined #lisp 2019-09-10T16:02:28Z v88m quit (Ping timeout: 264 seconds) 2019-09-10T16:02:28Z seok joined #lisp 2019-09-10T16:02:39Z seok: anybody use trivial-timeout or other equivalents? 2019-09-10T16:04:21Z shka_ quit (Remote host closed the connection) 2019-09-10T16:04:48Z shka_ joined #lisp 2019-09-10T16:09:14Z bitmapper quit 2019-09-10T16:13:57Z raghavgururajan joined #lisp 2019-09-10T16:14:10Z schjetne joined #lisp 2019-09-10T16:14:40Z nwoob joined #lisp 2019-09-10T16:16:32Z warweasle joined #lisp 2019-09-10T16:16:35Z m00natic quit (Remote host closed the connection) 2019-09-10T16:22:09Z yoeljacobsen joined #lisp 2019-09-10T16:23:48Z fragamus quit (Ping timeout: 245 seconds) 2019-09-10T16:25:21Z kajo quit (Quit: From my rotting body, flowers shall grow and I am in them and that is eternity. -- E. M.) 2019-09-10T16:25:31Z mathrick quit (Ping timeout: 276 seconds) 2019-09-10T16:29:27Z papachan quit (Ping timeout: 246 seconds) 2019-09-10T16:30:05Z raghavgururajan quit (Remote host closed the connection) 2019-09-10T16:34:21Z hhdave quit (Quit: hhdave) 2019-09-10T16:34:24Z ark joined #lisp 2019-09-10T16:35:48Z varjag joined #lisp 2019-09-10T16:38:32Z Josh_2 joined #lisp 2019-09-10T16:39:19Z seok quit (Remote host closed the connection) 2019-09-10T16:43:21Z orivej quit (Ping timeout: 245 seconds) 2019-09-10T16:45:35Z alandipert: what are good references on compiling lisp? representation, transformation, heuristics, etc. i have PAIP and Lisp in Small Pieces, looking for others 2019-09-10T16:47:39Z yoeljacobsen quit (Ping timeout: 240 seconds) 2019-09-10T16:50:09Z Xach: alandipert: those are a very good start! 2019-09-10T16:50:19Z Xach: alandipert: i have also seen recommended "anatomy of lisp" 2019-09-10T16:51:27Z alandipert: i have that one, i'm not sure what to make of it yet 2019-09-10T16:53:59Z Xach: i have nothing further to suggest, sorry 2019-09-10T16:55:02Z aap: hm maybe GLS' paper on his RABBIT compiler? 2019-09-10T16:55:16Z aap: it compiles scheme to a subset of maclisp 2019-09-10T16:59:31Z Xach: ah, that slipped my mind, those are good 2019-09-10T16:59:52Z aautcsh joined #lisp 2019-09-10T17:05:09Z srji quit (Ping timeout: 246 seconds) 2019-09-10T17:06:02Z curiouscain quit (Quit: WeeChat 2.4) 2019-09-10T17:07:46Z nwoob quit (Ping timeout: 246 seconds) 2019-09-10T17:09:43Z shifty quit (Ping timeout: 268 seconds) 2019-09-10T17:11:46Z ggole: "Essentials of Compilation" 2019-09-10T17:16:18Z schjetne quit (Ping timeout: 245 seconds) 2019-09-10T17:16:26Z gravicappa quit (Ping timeout: 240 seconds) 2019-09-10T17:18:54Z davr0s_ joined #lisp 2019-09-10T17:19:02Z davr0s joined #lisp 2019-09-10T17:20:32Z vyorkin` quit (Remote host closed the connection) 2019-09-10T17:26:31Z gabiruh_ joined #lisp 2019-09-10T17:27:02Z gravicappa joined #lisp 2019-09-10T17:27:33Z gabiruh quit (Ping timeout: 250 seconds) 2019-09-10T17:29:12Z orivej joined #lisp 2019-09-10T17:37:47Z awolven joined #lisp 2019-09-10T17:38:24Z gareppa joined #lisp 2019-09-10T17:39:19Z Xach quit (Ping timeout: 268 seconds) 2019-09-10T17:39:26Z Xach joined #lisp 2019-09-10T17:39:58Z lavaflow quit (Ping timeout: 246 seconds) 2019-09-10T17:45:10Z mathrick joined #lisp 2019-09-10T17:49:59Z Necktwi quit (Remote host closed the connection) 2019-09-10T17:51:37Z ravenousmoose joined #lisp 2019-09-10T17:53:45Z ggole quit (Quit: Leaving) 2019-09-10T17:56:15Z nanozz joined #lisp 2019-09-10T17:58:47Z gareppa quit (Quit: Leaving) 2019-09-10T17:59:11Z nanoz quit (Ping timeout: 276 seconds) 2019-09-10T18:01:47Z varjag quit (Ping timeout: 276 seconds) 2019-09-10T18:02:16Z jmercouris joined #lisp 2019-09-10T18:02:26Z orivej quit (Ping timeout: 240 seconds) 2019-09-10T18:03:39Z niceplace quit (Ping timeout: 240 seconds) 2019-09-10T18:10:14Z niceplace joined #lisp 2019-09-10T18:11:21Z amerlyq quit (Quit: amerlyq) 2019-09-10T18:23:07Z sauvin quit (Read error: Connection reset by peer) 2019-09-10T18:23:20Z lavaflow joined #lisp 2019-09-10T18:24:52Z LiamH joined #lisp 2019-09-10T18:26:11Z gravicappa quit (Ping timeout: 268 seconds) 2019-09-10T18:28:29Z remexre: possibly lightly cursed, but 2019-09-10T18:28:47Z remexre: is there a type specifier for "there is an applicable method" 2019-09-10T18:29:43Z remexre: like, (can-call (x) (foo fixnum x x)) would apply to string iff there were a (defmethod foo ((_ fixnum) (_ string) (_ string))), etc 2019-09-10T18:29:46Z Bike: No. That's not determinable at compile time anyway. 2019-09-10T18:30:10Z remexre: I mean, eql isn't either :P 2019-09-10T18:30:27Z Bike: eql type specifiers are, because the object is right there 2019-09-10T18:30:47Z cosimone quit (Quit: Leaving) 2019-09-10T18:30:53Z remexre: (defvar *asdf*) (check-type foo (eql *asdf*)) ? 2019-09-10T18:31:50Z Bike: *asdf* is not evalauted 2019-09-10T18:31:54Z remexre: oh 2019-09-10T18:31:57Z Bike: it'll just check equality with that symbol 2019-09-10T18:32:27Z remexre: fine, satisfies, then 2019-09-10T18:32:46Z knicklux joined #lisp 2019-09-10T18:32:49Z Bike: satisfies type declarations are generally discarded by the compiler 2019-09-10T18:33:38Z remexre: even on a check-type? or arguments to a defmethod? 2019-09-10T18:33:48Z remexre: to be clear I'm not trying to get better static warnings 2019-09-10T18:33:59Z remexre: I'm doing runtime checks 2019-09-10T18:35:00Z Bike: well, those aren't the compiler. i'm just saying compiler declarations are a major use of types and what you're describing would be totally useless there. 2019-09-10T18:35:16Z Bike: even at runtime it would be kind of tricky to determine what you're talking about 2019-09-10T18:35:25Z Bike: also, methods are specialized on classes, not types 2019-09-10T18:36:11Z remexre: ugh, right, that still trips me up 2019-09-10T18:37:19Z remexre: hm, would satifies + find-method be too footgunny? 2019-09-10T18:37:24Z Bike: also, there being applicable methods doesn't mean a call would be valid. for example you could have a gf with one primary method on fixnum, and one around method on T; then there would always be applicable methods, but it would be an error on anything but a fixnum 2019-09-10T18:38:24Z Bike: what are you trying to do overall? 2019-09-10T18:39:18Z remexre: I've got a function that takes either one of a couple of symbols, or a couple different classes, with the commonality being a single generic function they all have methods defined on 2019-09-10T18:39:46Z orivej joined #lisp 2019-09-10T18:40:07Z remexre: and the method may not be called for a hot minute after the function is, so I'd rather fail fast than crash 20 minutes later 2019-09-10T18:41:17Z keep_learning quit (Remote host closed the connection) 2019-09-10T18:41:35Z Bike: But you're anticipating changing the generic function enough that you can't just maintain a fixed list of what to allow? 2019-09-10T18:43:02Z remexre: this is a library; the "couple different classes" are end-user-extensible 2019-09-10T18:43:20Z Bike: right. 2019-09-10T18:44:41Z superkumasan quit (Ping timeout: 276 seconds) 2019-09-10T18:45:00Z rippa joined #lisp 2019-09-10T18:45:33Z remexre: as in like the user should be able to define more 2019-09-10T18:45:53Z remexre: the generic function is the extension point, not the couple of builtin classes that have methods for it 2019-09-10T18:46:46Z pjb: in CLOS. 2019-09-10T18:48:35Z cartwright quit (Remote host closed the connection) 2019-09-10T18:49:01Z Bike: there's no guaranteed way to tell that a generic function has an effective method for a given list of classes. first off if there are any eql specializers it's hopeless, and secondly you can't determine that the applicable methods actually add up to an effective method with the given method combination. 2019-09-10T18:49:04Z edgar-rft joined #lisp 2019-09-10T18:50:09Z remexre: pjb: yeah 2019-09-10T18:50:31Z cartwright joined #lisp 2019-09-10T18:50:45Z remexre: hm, if I ban qualifiers, and the symbols are non-extensible (and I just allow them explicitly), that seems more tractable? 2019-09-10T18:51:05Z Bike: i'm not sure i understand the "symbols" here 2019-09-10T18:51:12Z Bike: and banning qualifiers kind of sucks, but you could do that, i guess 2019-09-10T18:51:35Z remexre: uh like if one passes t, it has its own semantics 2019-09-10T18:53:30Z remexre: idk, it still seems kinda surprising that there's no "could I call foo with these args"... 2019-09-10T18:54:07Z Bike: clos basically lets you execute arbitrary code to define what a call actually does 2019-09-10T18:54:22Z Bike: not being able to answer that question kind of follows along 2019-09-10T18:55:04Z remexre: well, I can execute arbitrary code at runtime :) 2019-09-10T18:55:14Z srji joined #lisp 2019-09-10T18:55:41Z Bike: clos also generally assumes that when you're figuring out what a call does, you actually have all of the arguments. not just their classes. 2019-09-10T18:56:06Z Bike: it's very runtime oriented itself 2019-09-10T18:56:27Z remexre: er, I can get "real enough" values for the args 2019-09-10T18:57:49Z Bike: i don't know what that means. if your generic function has the standard method combination and you don't allow qualified methods and you can sort out what to do with eql specializers in some particular way you can probably work out whether a call is valid. 2019-09-10T18:58:34Z remexre: okay, I'm just trying to explore which of those restrictions I could lift 2019-09-10T18:58:55Z pjb: To reject qualified methods, you would define a method combination without qualifier. 2019-09-10T18:59:40Z yoeljacobsen joined #lisp 2019-09-10T18:59:41Z remexre: though wait, wouldn't (find-method _ nil _ _) not get them in the first place? 2019-09-10T19:00:47Z Bike: Huh? 2019-09-10T19:00:59Z Bike: Nil is which argument to find-method? the first argument to find-method is the generic function. 2019-09-10T19:01:23Z Bike: wait, well you don't want to use find-method here at all, probably. 2019-09-10T19:01:27Z remexre: them = method-qualifiers 2019-09-10T19:01:38Z remexre: er, nil = method-qualifiers 2019-09-10T19:01:56Z Bike: find-method finds a method with the exact specializers you get it. like, if you provide a class that's a subclass of a class that does have a method specialized on it, that method won't be returned 2019-09-10T19:01:57Z remexre: them = methods w/ qualifiers 2019-09-10T19:02:02Z remexre: oh :/ 2019-09-10T19:02:20Z Bike: mop compute-applicable-methods-using-classes 2019-09-10T19:02:20Z specbot: http://metamodular.com/CLOS-MOP/compute-applicable-methods-using-classes.html 2019-09-10T19:02:24Z Bike: is more in line 2019-09-10T19:02:39Z remexre: oh, okay; I'm unfamiliar with MOP 2019-09-10T19:02:41Z Bike: but will not work if there are eql specializers 2019-09-10T19:02:54Z Bike: if you ahve actual arguments, you can use 2019-09-10T19:02:57Z Bike: clhs compute-applicable-methods 2019-09-10T19:02:57Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_comput.htm 2019-09-10T19:03:20Z remexre: oh, yeah, I think that'll work 2019-09-10T19:05:14Z ravenousmoose quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-10T19:05:22Z Loplin joined #lisp 2019-09-10T19:05:32Z Bike: this is the function that's actually used during a call, if you pretend caching doesn't exist 2019-09-10T19:06:10Z sameerynho joined #lisp 2019-09-10T19:10:26Z lavaflow quit (Ping timeout: 245 seconds) 2019-09-10T19:11:48Z remexre: okay, looks like this'll work; thanks! 2019-09-10T19:12:22Z Bike: good luck 2019-09-10T19:13:03Z k quit (Ping timeout: 268 seconds) 2019-09-10T19:18:49Z __jrjsmrtn__ joined #lisp 2019-09-10T19:20:17Z _jrjsmrtn quit (Ping timeout: 258 seconds) 2019-09-10T19:20:23Z k joined #lisp 2019-09-10T19:20:46Z k is now known as Guest81626 2019-09-10T19:21:52Z cosimone joined #lisp 2019-09-10T19:25:19Z varjag joined #lisp 2019-09-10T19:29:45Z scymtym quit (Ping timeout: 250 seconds) 2019-09-10T19:30:20Z Ven`` joined #lisp 2019-09-10T19:31:36Z Aruseus joined #lisp 2019-09-10T19:38:34Z thijso: How do I just restart/retry a function if it fails? Can I do (restart-case (somefun) (restart-fun () (somefun)) and then bind handler to invoke that restart on failure? Is there a better way to do this? For context, 'somefun' starts a UDP listener on a port, and regardless of errors, it needs to get back up and listening. 2019-09-10T19:40:00Z jmercouris: thijso: you can put a handler-case in a loop or something 2019-09-10T19:40:50Z jmercouris: I assume the operation is a blocking one in this case, if it is not, my suggestion doesn't work 2019-09-10T19:44:38Z thijso: My idea was to wrap the (wait-for-input ...) call in an unwind-protect, where the socket gets correctly closed in case of failure. Then the function that called udp-start-server in the restart calls that same function again, re-connecting the port. But I'm not sure if this is the correct way to do this. 2019-09-10T19:45:01Z Josh_2: I do that 2019-09-10T19:45:20Z Josh_2: if an error is called it just attempts to restart the function in a networking context 2019-09-10T19:45:23Z Josh_2: I will see if I can find the code 2019-09-10T19:45:37Z thijso: thanks, Josh_2 2019-09-10T19:46:11Z Josh_2: I found one sec 2019-09-10T19:46:36Z Josh_2: https://plaster.tymoon.eu/view/1496#1496 2019-09-10T19:46:42Z Josh_2: seems to work xD 2019-09-10T19:46:48Z Josh_2: I've been using it for quite a while 2019-09-10T19:46:51Z lavaflow joined #lisp 2019-09-10T19:47:50Z Josh_2: a little bit messy but does the job 2019-09-10T19:49:11Z thijso: thanks 2019-09-10T19:49:15Z thijso: I'll take a look 2019-09-10T19:50:01Z jmercouris: thijso: sounds like a perfectly reasonable solution to me 2019-09-10T19:50:28Z jmercouris: maybe a better question would be though, why the failure? 2019-09-10T19:50:29Z Josh_2: Plaster has absolute murdered the indentation, I think it is because I use tabs not spaces ¯\_(ツ)_/¯ 2019-09-10T19:50:58Z Guest81626 quit (Changing host) 2019-09-10T19:50:58Z Guest81626 joined #lisp 2019-09-10T19:51:52Z Guest81626 left #lisp 2019-09-10T19:52:13Z thijso: jmercouris: yeah, that's next on my list to figure out, but I'm having trouble debugging as it's threaded code. I'm using the udp port to also send dump commands, so I can see what is going on. Bit of a hack, I know, but it works. As long as I have the UDP port to talk to... 2019-09-10T19:52:42Z thijso: Josh_2: easily fixed in emacs. No worries. 2019-09-10T19:52:51Z Josh_2: thijso: you can print to standard output with a background thread by printing to *standard-out* if that helps with debugging 2019-09-10T19:53:01Z Josh_2: that code is also used on a background thread 2019-09-10T19:53:43Z jmercouris: thijso: I guess my question is, if you are just listening on the UDP port, why does it crash? is it *what* you are doing with the data that you listen to that is causing your program to crash? 2019-09-10T19:54:41Z thijso: The issue I'm having is not printing to stdout while my program is behaving. The issue is that my errors seem to miss a lot of information when they happen. It's a lot less than what I get in slime, for example. 2019-09-10T19:55:14Z jmercouris: thijso: aha! well then, I should inform you about the two types of slime you can have 2019-09-10T19:56:00Z jmercouris: thijso: you can have a ~/.swank.lisp like this (setf swank:*communication-style* :spawn) or like this (setf swank:*communication-style* :fd-handler) 2019-09-10T19:56:13Z Josh_2: What is the difference?? 2019-09-10T19:56:37Z cosimone quit (Remote host closed the connection) 2019-09-10T19:56:58Z cosimone joined #lisp 2019-09-10T19:57:45Z jmercouris: I'm not sure exactly, I believe FD handler is file descriptor handler rather than a BSD socket 2019-09-10T20:00:00Z thijso: Ah, yes. But I'm running the code without swank or slime, as I need to run x instances (nodes) that talk to each other. 2019-09-10T20:00:32Z thijso: There's probably better ways to set this up, but it kinda works 2019-09-10T20:00:41Z jmercouris: I see 2019-09-10T20:21:40Z jmercouris quit (Ping timeout: 246 seconds) 2019-09-10T20:23:04Z permagreen joined #lisp 2019-09-10T20:23:50Z ralt quit (Quit: Connection closed for inactivity) 2019-09-10T20:28:24Z fragamus joined #lisp 2019-09-10T20:29:02Z fragamus: Hey can someone tell me how to build clisp on a Mac from source 2019-09-10T20:35:35Z Josh_2: desgustin 2019-09-10T20:35:38Z Josh_2: ʕ·͡ᴥ·ʔ 2019-09-10T20:35:45Z fragamus quit (Quit: Colloquy for iPhone - http://colloquy.mobi) 2019-09-10T20:41:03Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-10T20:43:24Z scymtym joined #lisp 2019-09-10T20:44:51Z nanozz quit (Ping timeout: 240 seconds) 2019-09-10T20:45:12Z cosimone quit (Remote host closed the connection) 2019-09-10T20:45:31Z cosimone joined #lisp 2019-09-10T20:45:55Z vlatkoB_ quit (Remote host closed the connection) 2019-09-10T20:45:59Z v88m joined #lisp 2019-09-10T20:49:47Z alexanderbarbosa joined #lisp 2019-09-10T20:50:01Z v88m quit (Ping timeout: 245 seconds) 2019-09-10T20:50:43Z ralt joined #lisp 2019-09-10T20:51:07Z v88m joined #lisp 2019-09-10T20:53:15Z Lord_of_Life quit (Ping timeout: 240 seconds) 2019-09-10T20:54:00Z Lord_of_Life joined #lisp 2019-09-10T20:54:16Z akoana joined #lisp 2019-09-10T20:55:30Z sjl quit (Quit: WeeChat 2.2-dev) 2019-09-10T20:59:14Z wusticality joined #lisp 2019-09-10T21:00:03Z lavaflow quit (Ping timeout: 245 seconds) 2019-09-10T21:01:15Z papachan joined #lisp 2019-09-10T21:02:35Z fragamus joined #lisp 2019-09-10T21:03:17Z lavaflow joined #lisp 2019-09-10T21:07:08Z fragamus quit (Ping timeout: 245 seconds) 2019-09-10T21:07:39Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-10T21:09:48Z papachan quit (Ping timeout: 246 seconds) 2019-09-10T21:12:04Z karlosz joined #lisp 2019-09-10T21:12:18Z eich joined #lisp 2019-09-10T21:13:14Z eich: Hey everyone, I just downloaded CLisp from sourceforge. how can I build from source on a mac? 2019-09-10T21:15:26Z NickBusey8 is now known as NickBusey 2019-09-10T21:18:42Z anewuser joined #lisp 2019-09-10T21:20:02Z shka_ quit (Ping timeout: 240 seconds) 2019-09-10T21:23:58Z gabiruh_ is now known as gabiruh 2019-09-10T21:26:14Z alexanderbarbosa quit (Remote host closed the connection) 2019-09-10T21:26:34Z alexanderbarbosa joined #lisp 2019-09-10T21:30:48Z igemnace quit (Quit: WeeChat 2.6) 2019-09-10T21:31:45Z Bike quit (Quit: Bike) 2019-09-10T21:32:37Z kpoeck joined #lisp 2019-09-10T21:32:47Z karlosz quit (Quit: karlosz) 2019-09-10T21:33:55Z kpoeck: you need to download clisp from https://gitlab.com/gnu-clisp/clisp.git 2019-09-10T21:35:32Z Finnfinn quit (Quit: The humanity!) 2019-09-10T21:36:04Z kpoeck: you need libiconv libsigsegv libreadline libffcall 2019-09-10T21:36:04Z remexre: is there a builtin to turn a (vector unsigned-byte) to a bit-vector in big-endian order? 2019-09-10T21:38:39Z kpoeck: than ./configure --with-libiconv-prefix=<yourlibiconvpath> --with-libsigsegv-prefix=<yourlibsigsegvpath> --with-libreadline-prefix=<yourlibreadlinepath> --with-libffcall-prefix=<yourlibffcallpath> --cbcx <directoryname> 2019-09-10T21:40:08Z anewuser quit (Quit: anewuser) 2019-09-10T21:43:04Z varjag quit (Quit: ERC (IRC client for Emacs 26.1)) 2019-09-10T21:44:20Z remexre: ah, bit-smasher 2019-09-10T21:48:50Z eich_ joined #lisp 2019-09-10T21:51:53Z eich quit (Ping timeout: 276 seconds) 2019-09-10T21:52:10Z karlosz joined #lisp 2019-09-10T21:54:25Z anewuser joined #lisp 2019-09-10T21:58:45Z mindCrime quit (Ping timeout: 244 seconds) 2019-09-10T22:08:09Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-10T22:11:24Z Loplin quit (Ping timeout: 246 seconds) 2019-09-10T22:15:03Z shifty joined #lisp 2019-09-10T22:16:08Z karlosz quit (Quit: karlosz) 2019-09-10T22:17:06Z kajo joined #lisp 2019-09-10T22:20:02Z awolven quit (Ping timeout: 240 seconds) 2019-09-10T22:35:23Z Oladon_work quit (Ping timeout: 260 seconds) 2019-09-10T22:36:36Z fragamus joined #lisp 2019-09-10T22:37:18Z kpoeck quit (Remote host closed the connection) 2019-09-10T22:42:35Z fragamus quit (Ping timeout: 276 seconds) 2019-09-10T22:44:18Z bitmapper joined #lisp 2019-09-10T22:45:41Z Aruseus quit (Remote host closed the connection) 2019-09-10T22:49:11Z xkapastel joined #lisp 2019-09-10T22:52:20Z lavaflow quit (Ping timeout: 276 seconds) 2019-09-10T22:52:55Z lavaflow joined #lisp 2019-09-10T22:55:52Z EvW quit (Ping timeout: 264 seconds) 2019-09-10T22:59:48Z nowhere_man joined #lisp 2019-09-10T23:04:37Z cosimone quit (Ping timeout: 276 seconds) 2019-09-10T23:05:22Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-10T23:05:37Z awolven joined #lisp 2019-09-10T23:13:48Z bitmapper quit 2019-09-10T23:16:08Z smazga quit (Quit: leaving) 2019-09-10T23:17:48Z LiamH quit (Quit: Leaving.) 2019-09-10T23:20:21Z torbo joined #lisp 2019-09-10T23:22:08Z eich_ quit (Ping timeout: 245 seconds) 2019-09-10T23:23:25Z Bike joined #lisp 2019-09-10T23:30:56Z gordonfish joined #lisp 2019-09-10T23:31:50Z chipolux quit (Quit: chipolux) 2019-09-10T23:54:01Z sjl joined #lisp 2019-09-10T23:54:02Z sameerynho quit (Ping timeout: 240 seconds) 2019-09-11T00:02:24Z superkumasan joined #lisp 2019-09-11T00:03:44Z red-dot joined #lisp 2019-09-11T00:04:06Z aautcsh quit (Ping timeout: 246 seconds) 2019-09-11T00:05:30Z dddddd quit (Ping timeout: 246 seconds) 2019-09-11T00:08:33Z dddddd joined #lisp 2019-09-11T00:10:15Z remexre: is there a way with iterate to iterate through all the active elements of an arbitrary array? 2019-09-11T00:12:31Z karlosz joined #lisp 2019-09-11T00:15:33Z mindCrime joined #lisp 2019-09-11T00:19:11Z mindCrime_ joined #lisp 2019-09-11T00:19:15Z lavaflow quit (Ping timeout: 240 seconds) 2019-09-11T00:22:28Z nanoz joined #lisp 2019-09-11T00:23:28Z mindCrime quit (Ping timeout: 264 seconds) 2019-09-11T00:27:02Z _whitelogger quit (Remote host closed the connection) 2019-09-11T00:29:15Z _whitelogger joined #lisp 2019-09-11T00:33:06Z analogue joined #lisp 2019-09-11T00:35:23Z eich joined #lisp 2019-09-11T00:42:21Z mindCrime_ quit (Ping timeout: 268 seconds) 2019-09-11T00:45:09Z lavaflow joined #lisp 2019-09-11T00:55:52Z semz quit (Ping timeout: 264 seconds) 2019-09-11T00:55:52Z semz_ joined #lisp 2019-09-11T00:55:52Z semz_ quit (Changing host) 2019-09-11T00:55:52Z semz_ joined #lisp 2019-09-11T00:56:02Z user___ quit (Ping timeout: 240 seconds) 2019-09-11T00:58:41Z libertyprime quit (Read error: Connection reset by peer) 2019-09-11T01:17:09Z makomo quit (Ping timeout: 244 seconds) 2019-09-11T01:19:46Z semz joined #lisp 2019-09-11T01:19:46Z semz quit (Changing host) 2019-09-11T01:19:46Z semz joined #lisp 2019-09-11T01:19:52Z semz_ quit (Ping timeout: 264 seconds) 2019-09-11T01:20:04Z semz quit (Client Quit) 2019-09-11T01:20:11Z Guest9575 joined #lisp 2019-09-11T01:21:39Z karlosz quit (Quit: karlosz) 2019-09-11T01:26:37Z karlosz joined #lisp 2019-09-11T01:38:44Z alexanderbarbosa quit (Ping timeout: 276 seconds) 2019-09-11T01:54:00Z jonatack quit (Ping timeout: 246 seconds) 2019-09-11T02:01:32Z t58 quit (Quit: Leaving) 2019-09-11T02:07:01Z smazga joined #lisp 2019-09-11T02:09:28Z stepnem_ joined #lisp 2019-09-11T02:10:01Z stepnem quit (Ping timeout: 245 seconds) 2019-09-11T02:25:19Z dddddd quit (Remote host closed the connection) 2019-09-11T02:25:25Z Kevslinger quit (Quit: Connection closed for inactivity) 2019-09-11T02:30:20Z karlosz quit (Quit: karlosz) 2019-09-11T02:37:38Z eich quit (Ping timeout: 240 seconds) 2019-09-11T02:38:03Z smazga quit (Quit: leaving) 2019-09-11T02:43:49Z ralt quit (Quit: Connection closed for inactivity) 2019-09-11T02:47:33Z nanoz quit (Ping timeout: 246 seconds) 2019-09-11T02:50:23Z Denommus joined #lisp 2019-09-11T02:51:29Z esrse joined #lisp 2019-09-11T02:52:27Z superkumasan quit (Ping timeout: 246 seconds) 2019-09-11T02:53:31Z eich joined #lisp 2019-09-11T02:54:19Z khisanth_ quit (Ping timeout: 268 seconds) 2019-09-11T03:00:15Z analogue quit (Quit: Leaving) 2019-09-11T03:00:23Z Denommus quit (Remote host closed the connection) 2019-09-11T03:01:23Z libertyprime joined #lisp 2019-09-11T03:01:36Z nanoz joined #lisp 2019-09-11T03:09:30Z khisanth_ joined #lisp 2019-09-11T03:19:26Z ahungry joined #lisp 2019-09-11T03:22:18Z beach: Good morning everyone! 2019-09-11T03:26:52Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-11T03:29:37Z gravicappa joined #lisp 2019-09-11T03:31:27Z georgie_ joined #lisp 2019-09-11T03:33:08Z ahungry quit (Ping timeout: 276 seconds) 2019-09-11T03:38:44Z jeosol joined #lisp 2019-09-11T03:41:36Z georgie_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-11T03:42:24Z ahungry joined #lisp 2019-09-11T03:42:27Z rme quit (Ping timeout: 180 seconds) 2019-09-11T03:42:28Z capadoodle quit (Ping timeout: 252 seconds) 2019-09-11T03:42:49Z zbrown quit (Ping timeout: 276 seconds) 2019-09-11T03:42:49Z rme quit (Ping timeout: 276 seconds) 2019-09-11T03:45:23Z zbrown joined #lisp 2019-09-11T03:45:25Z selwyn_ quit (Ping timeout: 276 seconds) 2019-09-11T03:46:33Z capadoodle joined #lisp 2019-09-11T03:46:40Z selwyn joined #lisp 2019-09-11T03:46:48Z rme joined #lisp 2019-09-11T03:56:03Z vutral joined #lisp 2019-09-11T03:56:41Z eich quit (Ping timeout: 245 seconds) 2019-09-11T03:57:06Z raghavgururajan joined #lisp 2019-09-11T03:57:19Z fragamus joined #lisp 2019-09-11T04:00:51Z yoeljacobsen quit (Ping timeout: 245 seconds) 2019-09-11T04:03:52Z ahungry` joined #lisp 2019-09-11T04:04:33Z fragamus quit (Ping timeout: 246 seconds) 2019-09-11T04:05:51Z ahungry quit (Ping timeout: 268 seconds) 2019-09-11T04:08:06Z akoana left #lisp 2019-09-11T04:13:21Z torbo quit (Remote host closed the connection) 2019-09-11T04:14:25Z user___ joined #lisp 2019-09-11T04:15:21Z zbrown quit (Changing host) 2019-09-11T04:15:21Z zbrown joined #lisp 2019-09-11T04:15:21Z zbrown quit (Changing host) 2019-09-11T04:15:21Z zbrown joined #lisp 2019-09-11T04:34:19Z Bike quit (Quit: Lost terminal) 2019-09-11T04:34:21Z fragamus joined #lisp 2019-09-11T04:38:18Z dale quit (Quit: My computer has gone to sleep) 2019-09-11T04:38:26Z karlosz joined #lisp 2019-09-11T04:38:29Z karlosz quit (Remote host closed the connection) 2019-09-11T04:38:42Z karlosz joined #lisp 2019-09-11T04:39:10Z fragamus quit (Ping timeout: 244 seconds) 2019-09-11T04:39:38Z nanoz quit (Ping timeout: 245 seconds) 2019-09-11T04:41:03Z karlosz quit (Client Quit) 2019-09-11T04:42:53Z anewuser quit (Quit: anewuser) 2019-09-11T04:45:52Z karlosz joined #lisp 2019-09-11T04:46:01Z karlosz quit (Remote host closed the connection) 2019-09-11T04:50:52Z orivej quit (Ping timeout: 268 seconds) 2019-09-11T04:54:23Z nostoi joined #lisp 2019-09-11T04:57:18Z ahungry` quit (Remote host closed the connection) 2019-09-11T04:57:45Z nullniverse joined #lisp 2019-09-11T05:05:37Z georgie joined #lisp 2019-09-11T05:17:03Z SaganMan joined #lisp 2019-09-11T05:17:33Z ljavorsk joined #lisp 2019-09-11T05:18:05Z nostoi quit (Quit: Verlassend) 2019-09-11T05:18:06Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-11T05:21:53Z sauvin joined #lisp 2019-09-11T05:22:16Z voidlily quit (Ping timeout: 276 seconds) 2019-09-11T05:26:15Z voidlily joined #lisp 2019-09-11T05:29:04Z wusticality quit (Ping timeout: 246 seconds) 2019-09-11T05:35:38Z wusticality joined #lisp 2019-09-11T05:37:08Z dmiles quit (Ping timeout: 245 seconds) 2019-09-11T05:39:39Z wusticality quit (Ping timeout: 240 seconds) 2019-09-11T05:41:07Z dmiles joined #lisp 2019-09-11T05:43:01Z fragamus joined #lisp 2019-09-11T05:44:38Z SaganMan quit (Ping timeout: 245 seconds) 2019-09-11T05:45:10Z frgo quit (Ping timeout: 246 seconds) 2019-09-11T05:45:20Z ebrasca: beach: Good morning! 2019-09-11T05:51:16Z scymtym quit (Ping timeout: 245 seconds) 2019-09-11T05:57:08Z shka_ joined #lisp 2019-09-11T06:04:33Z ggole joined #lisp 2019-09-11T06:06:07Z ravenousmoose joined #lisp 2019-09-11T06:06:45Z JohnMS_WORK joined #lisp 2019-09-11T06:11:36Z ravenousmoose quit (Ping timeout: 246 seconds) 2019-09-11T06:13:50Z Necktwi joined #lisp 2019-09-11T06:18:53Z nullniverse quit (Ping timeout: 276 seconds) 2019-09-11T06:19:42Z ralt joined #lisp 2019-09-11T06:21:16Z keep_learning joined #lisp 2019-09-11T06:28:51Z shka_ quit (Ping timeout: 240 seconds) 2019-09-11T06:30:44Z flamebeard joined #lisp 2019-09-11T06:32:14Z flip214: remexre: what are "active elements"? 2019-09-11T06:32:29Z flip214: (loop for element across array do (print element)) 2019-09-11T06:32:42Z flip214: (iterate (for element in-array array) (print element)) 2019-09-11T06:34:24Z EvW1 joined #lisp 2019-09-11T06:37:32Z beach: flip214: The glossary defines the term. 2019-09-11T06:37:43Z knicklux quit (Remote host closed the connection) 2019-09-11T06:40:37Z flip214: beach: ah, thanks. well, the fill-pointer is used by LOOP and ITERATE anyway. 2019-09-11T06:41:31Z frgo joined #lisp 2019-09-11T06:44:37Z georgie__ joined #lisp 2019-09-11T06:45:10Z easye quit (Remote host closed the connection) 2019-09-11T06:45:32Z georgie quit (Ping timeout: 276 seconds) 2019-09-11T06:45:32Z easye joined #lisp 2019-09-11T06:50:05Z georgie__ quit (Ping timeout: 276 seconds) 2019-09-11T06:50:08Z georgie joined #lisp 2019-09-11T06:57:36Z jello_pudding joined #lisp 2019-09-11T07:03:19Z georgie quit (Ping timeout: 244 seconds) 2019-09-11T07:04:55Z EvW1 quit (Remote host closed the connection) 2019-09-11T07:05:06Z EvW joined #lisp 2019-09-11T07:05:59Z georgie joined #lisp 2019-09-11T07:09:01Z vlatkoB joined #lisp 2019-09-11T07:10:53Z libertyprime quit (Ping timeout: 276 seconds) 2019-09-11T07:11:28Z EvW quit (Ping timeout: 252 seconds) 2019-09-11T07:12:11Z nowhere_man quit (Ping timeout: 276 seconds) 2019-09-11T07:12:18Z libertyprime joined #lisp 2019-09-11T07:13:03Z nanoz joined #lisp 2019-09-11T07:13:53Z varjag joined #lisp 2019-09-11T07:14:53Z scymtym joined #lisp 2019-09-11T07:16:18Z georgie quit (Remote host closed the connection) 2019-09-11T07:18:26Z libertyprime quit (Read error: Connection reset by peer) 2019-09-11T07:20:12Z easye quit (Ping timeout: 246 seconds) 2019-09-11T07:23:33Z georgie joined #lisp 2019-09-11T07:23:42Z libertyprime joined #lisp 2019-09-11T07:25:49Z ljavorsk: Hi everyone, does the lisp libraries have any name template for package name? (something like: lisp-<name>)? I have this problem, I'm packaging the pgloader-bundle and in the bundle section in Packaging Guidelines is written that every bundled library within this package must be in 'Provide' section. I wanted to start with the alexandria library, but I've found that alexandria exists in fedora, but it's some ruby package and this 2019-09-11T07:25:49Z ljavorsk: alexandria is from common-lisp. Do you have any suggestion how should I name it? 2019-09-11T07:27:38Z makomo joined #lisp 2019-09-11T07:28:07Z flip214: ljavorsk: Debian uses eg cl-alexandria - collection of portable Common Lisp utilities 2019-09-11T07:28:34Z jdz: ljavorsk: Are you sure that pgloader should "provide" the libraries it uses? 2019-09-11T07:29:00Z easye joined #lisp 2019-09-11T07:29:19Z ljavorsk: https://docs.fedoraproject.org/en-US/packaging-guidelines/ 2019-09-11T07:29:22Z jdz: It is my understanding that the whole "bundle" thing is so that pgloader does not interact with packages provided from other sources. 2019-09-11T07:29:39Z ljavorsk: Bundling and Duplication of system libraries --- section 2019-09-11T07:30:25Z jello_pudding quit (Remote host closed the connection) 2019-09-11T07:30:50Z flip214: ljavorsk: how much value do you put on compatibility? You could have binary packages with only one FASL file, that would only need the exact matching SBCL version to work 2019-09-11T07:31:01Z ljavorsk: than why it have 67 -git files in /software folder 2019-09-11T07:32:07Z georgie_ joined #lisp 2019-09-11T07:33:02Z jdz: ljavorsk: I bet it's so that the dependencies are in a known-good state (from the developer's point of view), and not some package maintainer's. dim can probably tell more. 2019-09-11T07:33:59Z georgie quit (Ping timeout: 258 seconds) 2019-09-11T07:36:19Z ljavorsk: jdz, Hmm I don't know what is known-good state, actually this is my first package so I'm learning about packaging on it. Not to mention the lisp :D never seen it before 2019-09-11T07:37:12Z ljavorsk: A lot of stuff you write here is new for me, so I apologize if I don't understand correctly 2019-09-11T07:37:21Z easye quit (Ping timeout: 246 seconds) 2019-09-11T07:38:27Z Necktwi quit (Remote host closed the connection) 2019-09-11T07:39:30Z Necktwi joined #lisp 2019-09-11T07:43:15Z jdz: ljavorsk: Maybe you can look into how Golang applications are packaged; as far as I know Go code can use libraries from git repositories (at specific branches/commits). 2019-09-11T07:45:44Z georgie_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-11T07:49:19Z georgie joined #lisp 2019-09-11T07:51:33Z fouric quit (Ping timeout: 268 seconds) 2019-09-11T07:54:28Z gravicappa quit (Ping timeout: 244 seconds) 2019-09-11T07:54:51Z ljavorsk: jdz, I have to wait for dim, need to ask him if these libraries in software/* are really needed, or if there is another way, because it's a lot to list them in Provides, and also to finding all of their versions, and in the case of name-conflict to figure out the correct name 2019-09-11T07:55:23Z gravicappa joined #lisp 2019-09-11T07:59:39Z hhdave joined #lisp 2019-09-11T08:01:25Z heisig joined #lisp 2019-09-11T08:02:25Z ljavorsk_ joined #lisp 2019-09-11T08:04:38Z jprajzne joined #lisp 2019-09-11T08:05:01Z ljavorsk quit (Ping timeout: 245 seconds) 2019-09-11T08:10:41Z easye joined #lisp 2019-09-11T08:16:44Z fouric joined #lisp 2019-09-11T08:19:15Z georgie quit (Remote host closed the connection) 2019-09-11T08:19:55Z georgie joined #lisp 2019-09-11T08:20:02Z kajo quit (Remote host closed the connection) 2019-09-11T08:20:57Z kajo joined #lisp 2019-09-11T08:24:22Z ljavorsk_ quit (Quit: I'm out, bye) 2019-09-11T08:24:40Z ljavorsk joined #lisp 2019-09-11T08:25:07Z flamebeard quit (Remote host closed the connection) 2019-09-11T08:25:17Z ljavorsk quit (Client Quit) 2019-09-11T08:25:35Z ljavorsk joined #lisp 2019-09-11T08:29:11Z nanoz quit (Ping timeout: 258 seconds) 2019-09-11T08:34:54Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-11T08:35:03Z flamebeard joined #lisp 2019-09-11T08:47:23Z jonatack joined #lisp 2019-09-11T08:47:37Z dddddd joined #lisp 2019-09-11T08:48:09Z georgie joined #lisp 2019-09-11T08:49:14Z shifty quit (Ping timeout: 240 seconds) 2019-09-11T08:49:38Z shifty joined #lisp 2019-09-11T08:52:50Z Lord_of_Life quit (Ping timeout: 240 seconds) 2019-09-11T08:55:46Z Lord_of_Life joined #lisp 2019-09-11T09:06:09Z m00natic joined #lisp 2019-09-11T09:06:17Z ljavorsk quit (Ping timeout: 244 seconds) 2019-09-11T09:10:05Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-11T09:12:04Z maxxcan joined #lisp 2019-09-11T09:13:40Z scymtym quit (Ping timeout: 276 seconds) 2019-09-11T09:20:29Z JohnMS_WORK quit (Read error: Connection reset by peer) 2019-09-11T09:20:45Z JohnMS_WORK joined #lisp 2019-09-11T09:27:03Z xkapastel joined #lisp 2019-09-11T09:28:37Z georgie_ joined #lisp 2019-09-11T09:29:56Z seok joined #lisp 2019-09-11T09:35:27Z seok: How do I kill child processes spawned by uiop:launch-program? 2019-09-11T09:35:37Z seok: terminate-process does not kill child processes 2019-09-11T09:38:41Z pjb: seok: using kill(2) or kill(1) 2019-09-11T09:38:56Z seok: huh xD 2019-09-11T09:39:45Z seok: you mean running another program with kill x? 2019-09-11T09:39:58Z seok: How would I find the pid of the child process? 2019-09-11T09:42:25Z jeosol: if are you on linux terminal: ps -ef | grep [name] 2019-09-11T09:42:42Z jeosol: not sure if you meant within the repl 2019-09-11T09:43:09Z georgie_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-11T09:50:05Z thijso: Where would I need to start looking if I get this error: Detected access to an invalid or protected memory address. occurred with errno: 0. ?? 2019-09-11T09:50:12Z thijso: This is in ECL, btw 2019-09-11T09:50:14Z ljavorsk joined #lisp 2019-09-11T09:51:15Z ralt: seok: terminate-process is supposed to work 2019-09-11T09:51:26Z georgie joined #lisp 2019-09-11T09:51:33Z ralt: if you want to kill the children of the process started with uiop:launch-program, that's another story entirely. 2019-09-11T09:51:41Z ralt: it's the story of how linux works :) 2019-09-11T09:52:03Z seok: yeah, that's what I am trying to figure out 2019-09-11T09:52:07Z ralt: generally speaking, if you kill a process, you don't kill the children as well. 2019-09-11T09:52:19Z ralt: you have essentially 2 options 2019-09-11T09:52:21Z seok: I am on windows, but theyre both unix so it shouldn't matter 2019-09-11T09:52:45Z ljavorsk_ joined #lisp 2019-09-11T09:52:50Z ralt: (1) either you control the processes you're running, and you can have each child trickle down its SIGTERM to its own children 2019-09-11T09:53:28Z ralt: or (2) you control them but you don't want to change their code, in that case the best is usually to start a supervisor, that will know how to shutdown its children when it gets a SIGTERM 2019-09-11T09:54:03Z ralt: or (3) you spawn the child process in a new PID namespace (e.g. docker container), and when killing your direct child, the namespace will be shut down and all the children will be gone 2019-09-11T09:54:29Z ralt: (yes, off-by-one) 2019-09-11T09:54:33Z seok: O 3 sounds clean 2019-09-11T09:54:48Z seok: how can I 2019-09-11T09:54:52Z seok: How can I do that? 2019-09-11T09:55:01Z thijso: I was just gonna say... "ralt says, 'you have 2 options', while holding up three fingers"... ;) 2019-09-11T09:55:06Z ralt: that's honestly not a question one can answer on IRC 2019-09-11T09:55:15Z ralt: thijso: I did point out "yes, off-by-one" :P 2019-09-11T09:55:29Z thijso: Yeah, that's why "I was just gonna say" 2019-09-11T09:55:33Z seok: He thought of the third one while writing the former two 2019-09-11T09:55:37Z thijso: But I said it anyway... 2019-09-11T09:55:37Z ralt: ha, misread 2019-09-11T09:55:39Z thijso: ;) 2019-09-11T09:55:44Z ralt: my bad 2019-09-11T09:55:51Z ralt: I thought of the 2nd one while writing the first one, actually 2019-09-11T09:55:59Z ljavorsk quit (Ping timeout: 276 seconds) 2019-09-11T09:56:23Z ralt: but yeah, "how do create docker container" or "how to spawn a child in new PID namespace" is largely googleable 2019-09-11T09:56:29Z ralt: s/do/to/ 2019-09-11T09:56:38Z ramus quit (Ping timeout: 276 seconds) 2019-09-11T09:57:01Z ralt: (is "googleable" even a word?) 2019-09-11T09:57:10Z seok: yeah 2019-09-11T09:57:15Z seok: google is in dictionary now 2019-09-11T09:57:32Z ralt: what a time to be alive 2019-09-11T09:58:18Z ljavorsk__ joined #lisp 2019-09-11T09:58:39Z seok: How would you do 2 in lisp? 2019-09-11T09:58:48Z seok: would it be portable? 2019-09-11T09:59:01Z jonatack quit (Quit: jonatack) 2019-09-11T09:59:04Z ljavorsk__ quit (Client Quit) 2019-09-11T09:59:18Z ljavorsk joined #lisp 2019-09-11T09:59:32Z ralt: You mean launching a supervisor? It's like launching any other process, except that process is e.g. supervisord or pm2 or whatever 2019-09-11T09:59:50Z maxxcan quit (Quit: maxxcan) 2019-09-11T09:59:50Z ralt: If you mean writing a custom supervisor, well, that's... a bit of a bigger task. 2019-09-11T09:59:54Z seok: O it is a program 2019-09-11T10:01:11Z ljavorsk_ quit (Ping timeout: 276 seconds) 2019-09-11T10:01:44Z seok: Hm.. this is a much bigger job than I anticipated 2019-09-11T10:02:17Z seok: I guess this is one of the reasons why CL is not as popular as mainstream languages 2019-09-11T10:04:36Z no-defun-allowed: What are you even trying to do now? 2019-09-11T10:05:00Z seok: trying to kill a subprocess spawned by uiop:launch-program 2019-09-11T10:06:02Z ralt: seok: that has nothing to do with CL there 2019-09-11T10:06:06Z no-defun-allowed: And it's not being killed with uiop:terminate-process? 2019-09-11T10:06:16Z seok: it only kills the main process 2019-09-11T10:06:31Z seok: not processes spawned by that process 2019-09-11T10:06:34Z ralt: you'll have exactly the same issue with python's subprocess.Popen(), or golang's os/exec, or whatever else. It's relevant to how OS/processes work, not to programming languages. 2019-09-11T10:06:54Z no-defun-allowed: Yeah, that's a Unix problem and not a CL one. 2019-09-11T10:09:50Z seok: I don't know, it is not just this issue. Whenever there is a problem in another language, usually there a library already which simplifies the problem 2019-09-11T10:10:12Z seok: When I am using CL, the problem can be fixed, but I need to learn all these new low level stuff in order to fix it 2019-09-11T10:11:00Z ralt: I'm not aware of anything like that, for this use case, in python, golang, php, or nodejs, which are the languages I regularly work with :) 2019-09-11T10:11:10Z ralt: (unless you count docker bindings...) 2019-09-11T10:11:14Z seok: For example, the case of web scraping, if I want to do anything serious in CL, I need to hand-write running javascript to simulate browser 2019-09-11T10:12:12Z ralt: you mean using chrome-headless? 2019-09-11T10:12:13Z seok: Whereas in node, I can just use puppeteer. This is the reason which made me run node via CL interface in the first place 2019-09-11T10:12:42Z seok: Yeah, writing CL interface to headless chromium is a pretty big jo 2019-09-11T10:12:59Z ramus joined #lisp 2019-09-11T10:13:13Z seok: If there was a simpler solution in CL, I wouldn't be running subprocess under node in the first place 2019-09-11T10:14:38Z ralt: writing a CL interface to headless chromium is not a pretty big job, no, it's one uiop:launch-process + one drakma:http-request 2019-09-11T10:15:39Z seok: Where is the API for http control of chromium? 2019-09-11T10:15:51Z seok: I know there is one, but I cannot find it 2019-09-11T10:21:01Z seok: Heck, even interface for selenium is not complete and outdated, let alone chromium 2019-09-11T10:22:09Z seok: I love CL and want to build everything in it, but we should admit that there are a lot of aspects in CL which drives away new developers 2019-09-11T10:22:28Z beach: seok: It is a well known fact that Common Lisp has way fewer users than many other modern languages. 2019-09-11T10:22:36Z beach: It should not come as a surprise to you. 2019-09-11T10:22:39Z ramus quit (Ping timeout: 258 seconds) 2019-09-11T10:22:45Z lavaflow quit (Ping timeout: 244 seconds) 2019-09-11T10:23:05Z no-defun-allowed: seok: Then they should git gud, or probably git away. 2019-09-11T10:23:18Z beach: seok: So when you say something like that, what do you expect to happen? 2019-09-11T10:24:34Z seok: beach: I want to do away with no-defun-allowed's mindset, because it is not good for the language 2019-09-11T10:25:28Z seok: It only continues the cycle of high learning curve -> less developers -> less / incomplete libraries -> high learning curve 2019-09-11T10:27:06Z beach: seok: I don't think you have any evidence for there being fewer (not "less") developers over time who use Common Lisp. 2019-09-11T10:27:12Z seok: Like all of us in the community, I do believe CL is superior in a lot of ways than other popular languages, but I think we should do away with the arrogance which continues the cycle 2019-09-11T10:27:16Z no-defun-allowed: Or maybe they shouldn't and I was being needlessly cynical, but there's two things... 2019-09-11T10:27:48Z awolven quit (Ping timeout: 246 seconds) 2019-09-11T10:28:00Z no-defun-allowed: - they should recognise that not everything goes the Unix way because it's quite dumb, and when CL was standardised Unix hadn't killed off everything else - they should be able to tell the difference between a programming language problem, a library problem, ..., an operating system problem. This is probably the second and the last. 2019-09-11T10:28:59Z beach: seok: If you think a simple change of attitude on the part of Common Lisp programmers will magically attract more developers, I think you ignore recent research in psychology. There are many more, much stronger barriers that will continue to keep most developers away. 2019-09-11T10:29:31Z scymtym joined #lisp 2019-09-11T10:29:53Z seok: beach: it is not clear what you mean by those barriers 2019-09-11T10:30:04Z seok: I suspect they are within the cycle I mentioned though 2019-09-11T10:30:19Z no-defun-allowed: And I do reserve the right to be needlessly cynical, because most newbies are more focused on who funds and who programs in a language. 2019-09-11T10:31:31Z ralt: The language itself; parentheses, Emacs being mostly required if you want the expected dev experience (it improved a bit lately but Emacs is still #1), the freedom that the language gives you (programmable programming language is both a blessing and a curse), etc etc 2019-09-11T10:31:58Z ralt: it's not hard to find reasons... 2019-09-11T10:32:24Z seok: Those all can be fixed with more developers though 2019-09-11T10:32:31Z seok: Newbies are wrong. That's why they are newbies 2019-09-11T10:32:50Z ralt: The Emacs thing can be fixed with more developers, but not the rest. 2019-09-11T10:33:09Z seok: But the it does the language much good with more developers, even if they are newbies 2019-09-11T10:33:15Z jprajzne quit (Read error: Connection reset by peer) 2019-09-11T10:33:44Z seok: ralt: what other problems do you see drive people away? 2019-09-11T10:33:59Z seok: which cannot be solved by bigger, more active community 2019-09-11T10:35:03Z ralt: speaking of, I discovered manardb lately, it's amazing 2019-09-11T10:35:05Z jprajzne joined #lisp 2019-09-11T10:35:12Z beach: seok: I recommend the works by Carol Dweck on the subject. 2019-09-11T10:35:35Z lavaflow joined #lisp 2019-09-11T10:36:54Z ralt: I wish it was a bit more advanced (e.g. supporting upgrades), but in and of itself it's pretty great 2019-09-11T10:37:10Z beach: seok: The problem is that it is very unlikely that the number of Common Lisp developers will grow sufficiently fast for your taste. 2019-09-11T10:37:50Z seok: Is it only my taste? 2019-09-11T10:38:09Z beach: I have no problem with the number of Common Lisp developers myself. 2019-09-11T10:38:36Z no-defun-allowed: Probably, I couldn't care less how many people do the things I do. 2019-09-11T10:39:17Z beach: seok: Even with the kindest attitude, a Common Lisp programmer trying to tell a person with many years of investment in a more conventional language that he or she is using a language that is not optimal, and that there are better things out there, will not be believed. And that is because of the strong forces described by Carol Dweck. 2019-09-11T10:39:28Z ramus joined #lisp 2019-09-11T10:40:00Z seok: Isn't it in every lisper's favor for CL to be used in more commercial projects, be taught in schools, become more standardized, more lisp jobs, become a practical language rather than just be the theoretical best? 2019-09-11T10:40:20Z seok: If I had thought wrong on that matter, then I was wrong from the beginning 2019-09-11T10:40:35Z beach: seok: It doesn't matter what the answer to that question is, because it just won't happen. 2019-09-11T10:40:54Z seok: I believe it can happen though 2019-09-11T10:40:59Z beach: Good luck! 2019-09-11T10:41:11Z seok: Thanks! 2019-09-11T10:41:29Z thijso: ralt: re: manardb, you mean the one by MSI (about 10 years old)? Looks interesting 2019-09-11T10:41:37Z beach: seok: The sooner you accept the facts, the sooner you will also find better ways of improving our infrastructure, rather than trying to convince more people to use Common Lisp. 2019-09-11T10:41:46Z no-defun-allowed: CL is standardised (see X13J3), is certainly designed to be practical (compare to Scheme), and in today's economy I would rather it isn't used as much, because then there would be a lot less dumb programming jobs as people become more efficient. 2019-09-11T10:42:04Z beach: seok: I gave up trying your strategy a very long time ago. It just doesn't work. 2019-09-11T10:42:48Z seok: I believe it can be done with just a few serious commercial projects which promotes real attention 2019-09-11T10:42:54Z heisig: beach: Your actions betray you :) 2019-09-11T10:42:56Z seok: It doesn't have to be theoretically complex 2019-09-11T10:43:10Z seok: Well, I am a newbie lisper myself, what do I know 2019-09-11T10:43:34Z beach: seok: The only think that I know that sometimes works, is to show that you can come up with good things, hopefully with less effort than other people using other languages. And if you don't believe even that is possible, I think your case in favor of Common Lisp is pretty weak and won't convince anyone. 2019-09-11T10:44:22Z beach: heisig: That ^ I admit trying to do. :) 2019-09-11T10:44:22Z seok: Well, from what I understand in trends, people are not as logical as we make them out to be 2019-09-11T10:44:39Z beach: seok: Exactly. So facts won't bite on them. 2019-09-11T10:44:56Z seok: The reason C became more popular over lisp is not because C is logically "better" language 2019-09-11T10:45:00Z heisig: Maybe we should rebrand Common Lis 2019-09-11T10:45:07Z heisig: p as Python 4 2019-09-11T10:45:35Z seok: Likewise, trend for CL will not start because it is the most efficient language (even if it is), but because of certain traction 2019-09-11T10:45:51Z seok: for example python got a boom thanks to deep learning 2019-09-11T10:46:06Z beach: seok: C is a disaster as a language for writing applications. It came to dominate because Unix was given away for free to universities, thereby exposing many generations to it and only it. 2019-09-11T10:46:26Z seok: Even though it was equally or more viable for deep learning to be implemented in a lot of other languages 2019-09-11T10:46:51Z seok: beach: exactly 2019-09-11T10:47:29Z no-defun-allowed: I don't think Python was designed for heavy computing work, rather more like a scripting tool. All the matrix math magic is done in C or FORTRAN (IIRC). 2019-09-11T10:47:37Z beach: seok: But, as you apparently know, people are not into facts. It's all psychology. Once you understand these forces, you will see that things are not as simple as they might initially seem. 2019-09-11T10:47:55Z seok: no-defun-allowed: yes exactly 2019-09-11T10:48:16Z no-defun-allowed: Then people get confused when you say that CL is a very dynamic language that can also run very efficiently. 2019-09-11T10:48:17Z seok: I started out programming with python, but moved away from it 2019-09-11T10:48:18Z igemnace joined #lisp 2019-09-11T10:48:24Z no-defun-allowed: "Facts are nothing on the face of things." 2019-09-11T10:48:39Z seok: beach: that's what I am saying 2019-09-11T10:49:11Z no-defun-allowed: They come with expectations that are not fulfilled, and try to apply them anyway without considering if they're close to being correct. 2019-09-11T10:49:35Z seok: given that more developer is good for the health of the language, we should use means other than perfecting the language itself to promote the language 2019-09-11T10:49:37Z no-defun-allowed: So you can't tell them they're wrong easily. 2019-09-11T10:49:41Z cosimone joined #lisp 2019-09-11T10:49:49Z seok: But only if you agree with the premise that more developers is good 2019-09-11T10:50:04Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-11T10:50:19Z seok: Yes, having newbies around is difficult, but having newbies around is good in itself 2019-09-11T10:51:12Z seok: It's suffering that must be endured if there are to be more lispers 2019-09-11T10:51:37Z seok: Otherwise, old lispers will die of old age without new lispers to replace them 2019-09-11T10:52:20Z Shinmera: I can't wait to die of old age, personally 2019-09-11T10:52:27Z seok: Hahaha 2019-09-11T10:52:41Z seok: How old is everyone here by the way? Mind if I ask? 2019-09-11T10:52:43Z no-defun-allowed: Some friends and I started a "cooperative" where we do Lisp stuff, and none of us are older than 21 last time I checked. 2019-09-11T10:52:58Z seok: Nice, are you in Uni? 2019-09-11T10:53:09Z no-defun-allowed: Last year of high school. 2019-09-11T10:53:21Z seok: Amazing 2019-09-11T10:53:28Z amerlyq joined #lisp 2019-09-11T10:53:33Z seok: I wish I knew lisp while I was in high school 2019-09-11T10:53:45Z seok: my "tech" teacher only made us do C# 2019-09-11T10:54:25Z no-defun-allowed: We were told to use Python a year after I got into serious programming. 2019-09-11T10:54:58Z no-defun-allowed: That's another thing, I don't think school provides good motivation, either, but it's not too relevant to the topic. 2019-09-11T10:55:20Z seok: Yeah, like heck I knew anything about programming in high school 2019-09-11T10:55:34Z seok: Teacher did not know anything either 2019-09-11T10:57:32Z jonatack joined #lisp 2019-09-11T10:57:35Z no-defun-allowed: I was drawn to Lisp since the other alternatives I knew were Java (which required a bulky IDE that was too slow on my dinky computer at the time for any serious work), Haskell which I couldn't read, C or C++ which I could read better but couldn't ever get to work, Python which was slow, and BASIC which requires no justification really. 2019-09-11T10:58:12Z seok: Yeah, all the same reason 2019-09-11T10:58:24Z seok: A big selling point for me was syntax though 2019-09-11T10:58:44Z seok: A lot of people don't like lisp syntax but for me it makes more sense than other languages 2019-09-11T10:59:31Z ralt: thijso: yup, it's mmap based mapping to CLOS objects, with transaction support and lot of nifty things. It's pretty neat. 2019-09-11T11:00:43Z thijso: cool, I'll have to take a look at it 2019-09-11T11:00:54Z thijso: when I get my world domination app running, that is... 2019-09-11T11:01:03Z thijso: after, I mean 2019-09-11T11:01:05Z seok: what app are you making? 2019-09-11T11:01:31Z thijso: right now I'm still working on a supporting library, a Kademlia DHT 2019-09-11T11:03:41Z nanoz joined #lisp 2019-09-11T11:04:26Z orivej joined #lisp 2019-09-11T11:04:58Z no-defun-allowed: Oh, I think I'm ready to put code down to make cl-decentralise2 run a DHT now. 2019-09-11T11:07:45Z no-defun-allowed: My interpretation is most of the complexity is in the client for finding an appropriate node, and even then it's not too hard. 2019-09-11T11:09:14Z gareppa joined #lisp 2019-09-11T11:13:06Z no-defun-allowed: (And then how I found Lisp was even weirder, someone that I absolutely cannot stand now posted lispers.org to a forum and it sounded interesting.) 2019-09-11T11:15:03Z cosimone quit (Ping timeout: 245 seconds) 2019-09-11T11:17:26Z georgie_ joined #lisp 2019-09-11T11:18:25Z spal_ is now known as spal 2019-09-11T11:21:13Z ljavorsk quit (Ping timeout: 268 seconds) 2019-09-11T11:32:10Z ebrasca discovered prog1 and prog2. 2019-09-11T11:34:03Z esrse quit (Ping timeout: 244 seconds) 2019-09-11T11:35:47Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-11T11:37:33Z lucasb joined #lisp 2019-09-11T11:43:17Z georgie_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-11T11:46:54Z Josh_2 quit (Ping timeout: 246 seconds) 2019-09-11T11:47:48Z EvW1 joined #lisp 2019-09-11T11:49:44Z frgo_ joined #lisp 2019-09-11T11:50:52Z bitmapper joined #lisp 2019-09-11T11:51:10Z frgo_ quit (Read error: Connection reset by peer) 2019-09-11T11:51:31Z frgo_ joined #lisp 2019-09-11T11:52:40Z frgo quit (Ping timeout: 246 seconds) 2019-09-11T11:56:21Z nanozz joined #lisp 2019-09-11T11:58:50Z nanoz quit (Ping timeout: 276 seconds) 2019-09-11T12:02:11Z georgie joined #lisp 2019-09-11T12:02:28Z makomo quit (Quit: WeeChat 2.4) 2019-09-11T12:03:16Z ravenous_ joined #lisp 2019-09-11T12:06:25Z _death: in BBN Lisp, prog2 took only two forms, and progn is described as an extension of it... 2019-09-11T12:07:44Z ravenous_ quit (Ping timeout: 252 seconds) 2019-09-11T12:12:03Z EvW1 quit (Ping timeout: 250 seconds) 2019-09-11T12:14:51Z manualcrank joined #lisp 2019-09-11T12:15:15Z awolven joined #lisp 2019-09-11T12:16:50Z superkumasan joined #lisp 2019-09-11T12:22:45Z Josh_2 joined #lisp 2019-09-11T12:26:04Z papachan joined #lisp 2019-09-11T12:27:07Z bitmapper quit (Read error: Connection reset by peer) 2019-09-11T12:27:27Z bitmapper joined #lisp 2019-09-11T12:28:20Z lemoinem joined #lisp 2019-09-11T12:35:10Z Bike joined #lisp 2019-09-11T12:37:58Z zaquest quit (Remote host closed the connection) 2019-09-11T12:40:14Z Lord_of_Life quit (Read error: Connection reset by peer) 2019-09-11T12:41:20Z EvW joined #lisp 2019-09-11T12:44:04Z Lord_of_Life joined #lisp 2019-09-11T12:45:38Z kajo quit (Ping timeout: 276 seconds) 2019-09-11T12:46:08Z ravenous_ joined #lisp 2019-09-11T12:48:31Z frgo_ quit (Remote host closed the connection) 2019-09-11T12:49:04Z georgie quit (Remote host closed the connection) 2019-09-11T12:49:43Z jhiikj joined #lisp 2019-09-11T12:50:01Z jhiikj left #lisp 2019-09-11T12:51:27Z LiamH joined #lisp 2019-09-11T12:52:09Z georgie joined #lisp 2019-09-11T12:55:15Z shifty quit (Ping timeout: 240 seconds) 2019-09-11T12:58:16Z remexre: flip214: neither of those actually work: loop's across wants a vector, and iterate doesn't have in-array 2019-09-11T13:10:40Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-11T13:16:05Z zaquest joined #lisp 2019-09-11T13:17:20Z amerigo joined #lisp 2019-09-11T13:19:54Z q9929t joined #lisp 2019-09-11T13:20:47Z gxt joined #lisp 2019-09-11T13:31:21Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2019-09-11T13:32:35Z warweasle quit (Quit: rcirc on GNU Emacs 24.4.1) 2019-09-11T13:43:08Z papachan quit (Quit: Leaving) 2019-09-11T13:43:26Z red-dot joined #lisp 2019-09-11T13:47:56Z t58 joined #lisp 2019-09-11T13:48:42Z ravenous_ quit (Ping timeout: 246 seconds) 2019-09-11T13:50:03Z gareppa quit (Quit: Leaving) 2019-09-11T13:52:31Z mindCrime_ joined #lisp 2019-09-11T13:52:59Z _death: remexre: you can add in-array to iterate.. or you can use a displaced vector (make-array (array-total-size array) :displaced-to array) 2019-09-11T13:53:01Z schweers quit (Ping timeout: 250 seconds) 2019-09-11T13:53:20Z Shinmera: or just use array-total-size and row-major-aref 2019-09-11T13:55:46Z EvW quit (Ping timeout: 276 seconds) 2019-09-11T13:55:54Z Inline joined #lisp 2019-09-11T13:56:22Z Bahman quit (Remote host closed the connection) 2019-09-11T13:59:17Z pjb quit (Remote host closed the connection) 2019-09-11T14:00:07Z frgo joined #lisp 2019-09-11T14:05:01Z q9929t quit (Quit: q9929t) 2019-09-11T14:09:18Z kajo joined #lisp 2019-09-11T14:11:15Z libertyprime quit (Ping timeout: 240 seconds) 2019-09-11T14:12:18Z remexre: _death: oh, didn't know you could use displaced-to that way, I thought they were like slices 2019-09-11T14:12:26Z sjl_ joined #lisp 2019-09-11T14:13:28Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.2)) 2019-09-11T14:16:21Z fragamus quit (Ping timeout: 246 seconds) 2019-09-11T14:16:44Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-11T14:19:22Z EvW joined #lisp 2019-09-11T14:21:51Z flip214: remexre: if you want to loop across a multi-dimentional array, you can use (DOTIMES (i (reduce #'* (array-dimensions array))) ...) and a (row-major-aref array i) 2019-09-11T14:23:18Z makomo joined #lisp 2019-09-11T14:23:47Z heisig: flip214: You don't like ARRAY-TOTAL-SIZE? 2019-09-11T14:25:06Z flip214: heisig: ah yeah, thanks. I thought there's some function for that, but CLHS ROW-MAJOR-AREF doesn't cross-reference it 2019-09-11T14:26:58Z fragamus joined #lisp 2019-09-11T14:27:16Z dale_ joined #lisp 2019-09-11T14:27:36Z dale_ is now known as dale 2019-09-11T14:27:40Z Guest9575 quit (Ping timeout: 264 seconds) 2019-09-11T14:27:54Z semz joined #lisp 2019-09-11T14:29:12Z LiamH quit (Ping timeout: 244 seconds) 2019-09-11T14:30:11Z Shinmera: I mean, I literally already posted about it 2019-09-11T14:31:48Z Kevslinger joined #lisp 2019-09-11T14:34:32Z _death: I usually just nest dotimes 2019-09-11T14:36:08Z flip214: Shinmera: sorry, got distracted and didn't read all the new lines before completing mine. 2019-09-11T14:36:23Z smazga joined #lisp 2019-09-11T14:37:00Z Shinmera: I shall forgive your transgression... for now. 2019-09-11T14:37:35Z flip214: thank you so much! in exchange, I'll have a coffee for you at sbcl20. 2019-09-11T14:38:05Z Shinmera: I'd like to go, but I don't know if I can. Austria is close to me, but it's right during busy university time. 2019-09-11T14:38:06Z gxt quit (Remote host closed the connection) 2019-09-11T14:38:40Z scymtym quit (Ping timeout: 276 seconds) 2019-09-11T14:38:40Z gxt joined #lisp 2019-09-11T14:39:23Z flip214: I won't rat you out 2019-09-11T14:40:09Z Shinmera: I don't have attendance requirements, so that's not what I'm worried about :) 2019-09-11T14:40:48Z flip214: come in via train on Saturday, leave on Tuesday evening... 2019-09-11T14:51:45Z Oladon_wfh joined #lisp 2019-09-11T14:52:22Z LiamH joined #lisp 2019-09-11T14:52:23Z wilfredh joined #lisp 2019-09-11T14:54:25Z seok: why am I getting a variable unbound error 2019-09-11T14:54:27Z seok: .... 2019-09-11T14:55:13Z seok: (defmacro with-db (db &body body) 2019-09-11T14:55:19Z seok: `(with-mongo-connection (:db ,db :port ,+mongo-port+ :host ,+mongo-host+) 2019-09-11T14:55:26Z Bike: use a pastebin for long pastes, please 2019-09-11T14:55:28Z seok: ,@body)) 2019-09-11T14:55:35Z seok: just 3 lines 2019-09-11T14:55:40Z Bike: alright 2019-09-11T14:55:44Z Bike: what's the actual error? 2019-09-11T14:55:55Z seok: variable +mongo-port+ is unbound 2019-09-11T14:56:08Z seok: but it is bound in the line above 2019-09-11T14:56:14Z seok: (defvar +mongo-port+ 27017) 2019-09-11T14:56:35Z Bike: That won't be evaluated at compile time 2019-09-11T14:56:38Z dlowe: it's not bound yet at macroexpansion time 2019-09-11T14:56:41Z _death: it may not be bound when the macro is expanded 2019-09-11T14:56:51Z sigjuice quit (Quit: ZNC - http://znc.in) 2019-09-11T14:56:53Z Bike: three times, so we're definitely right 2019-09-11T14:57:07Z seok: Probably so 2019-09-11T14:57:16Z heisig quit (Quit: Leaving) 2019-09-11T14:57:20Z seok: It worked before 2019-09-11T14:57:23Z _death: you can simply leave evaluation of it to the expanded code 2019-09-11T14:57:35Z Bike: maykbe you loaded the file instead of compiling it. 2019-09-11T14:57:36Z seok: Now I am loading the file its showing error 2019-09-11T14:57:51Z Bike: also yeah, if with-mongo-connection evaluates those arguments you don't need them in the macro 2019-09-11T14:58:13Z Bike: and having them in the macro might have weird problems if they're complex objects 2019-09-11T14:58:21Z seok: Ah, should I just make it a function? 2019-09-11T14:58:32Z seok: It is just short form to write with-mongo-connection 2019-09-11T14:59:02Z seok: Hm I don't think it will work as a function 2019-09-11T14:59:13Z Bike: no, just have the macro have +mongo-port+ instead of ,+mongo-port+ 2019-09-11T14:59:38Z seok: Ah! 2019-09-11T14:59:40Z seok: Makes sense 2019-09-11T15:00:50Z kajo quit (Ping timeout: 276 seconds) 2019-09-11T15:01:09Z seok: Nice, thank you! 2019-09-11T15:03:19Z katco: Xach: i was playing with zs3 and digitalocean's spaces last night. i am unsure if i have the time, but are you open to new issues? prs? is the project still being maintained? 2019-09-11T15:06:26Z user___ quit (Ping timeout: 240 seconds) 2019-09-11T15:06:53Z kajo joined #lisp 2019-09-11T15:06:57Z flip214: Bike: but defering constant macro constant expansion to compile time makes the comparison to C++ compile times worse! Raaaaah! ;) 2019-09-11T15:09:22Z dlowe: hard to compare compile times meaningfully when you can insert arbitrary computation into your compiler 2019-09-11T15:13:23Z gareppa joined #lisp 2019-09-11T15:14:33Z vap1 quit (Read error: Connection reset by peer) 2019-09-11T15:14:38Z tumdum joined #lisp 2019-09-11T15:14:38Z tumdum quit (Changing host) 2019-09-11T15:14:38Z tumdum joined #lisp 2019-09-11T15:15:06Z tumdum quit (Client Quit) 2019-09-11T15:15:42Z tumdum joined #lisp 2019-09-11T15:15:42Z tumdum quit (Changing host) 2019-09-11T15:15:42Z tumdum joined #lisp 2019-09-11T15:16:58Z sigjuice joined #lisp 2019-09-11T15:16:59Z user___ joined #lisp 2019-09-11T15:17:05Z vaporatorius joined #lisp 2019-09-11T15:17:31Z femi quit (Ping timeout: 245 seconds) 2019-09-11T15:20:52Z sjl_ quit (Ping timeout: 244 seconds) 2019-09-11T15:24:06Z salinasc joined #lisp 2019-09-11T15:27:36Z Lycurgus joined #lisp 2019-09-11T15:28:09Z dale quit (Quit: dale) 2019-09-11T15:31:43Z stepnem_ quit (Ping timeout: 245 seconds) 2019-09-11T15:33:04Z flamebeard quit 2019-09-11T15:33:07Z stepnem joined #lisp 2019-09-11T15:36:40Z dmiles quit (Ping timeout: 246 seconds) 2019-09-11T15:39:11Z salinasc quit (Ping timeout: 276 seconds) 2019-09-11T15:42:25Z dmiles joined #lisp 2019-09-11T15:50:01Z awolven quit (Ping timeout: 258 seconds) 2019-09-11T15:50:02Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-11T15:55:12Z rippa joined #lisp 2019-09-11T15:55:16Z EvW quit (Ping timeout: 264 seconds) 2019-09-11T15:55:46Z rippa quit (Read error: Connection reset by peer) 2019-09-11T15:56:42Z amerigo quit (Quit: Connection closed for inactivity) 2019-09-11T15:58:07Z frgo_ joined #lisp 2019-09-11T16:00:39Z rippa joined #lisp 2019-09-11T16:01:18Z frgo quit (Ping timeout: 245 seconds) 2019-09-11T16:03:53Z frgo_ quit (Ping timeout: 276 seconds) 2019-09-11T16:06:49Z thijso: So, how can threads make usocket:wait-for-input barf? I have minimal code, depending on verbose and usocket, and when I open a UDP socket (socket-connect) and then do (usocket:wait-for-input ..) with some error logging, every second or so I get: "got error #<a USOCKET:UNKNOWN-ERROR>; restarting server in 0.1 second" 2019-09-11T16:07:00Z mnasoft joined #lisp 2019-09-11T16:07:42Z thijso: This is on ECL, btw. I know verbose starts up a controller thread ( #<process "verbose-thread" 0x55f6f1219d00> ) but I'm not seeing how this can interfere with the socket. 2019-09-11T16:08:20Z mnasoft: minion: registration, please? 2019-09-11T16:08:20Z minion: The URL https://gitlab.common-lisp.net/users/sign_in?secret=a372d28d will be valid until 16:15 UTC. 2019-09-11T16:09:29Z thijso: The socket implementation in ECL goes through a call to read-select on the socket, which does a c call 'select' 2019-09-11T16:10:21Z thijso: Anyone have an idea how to start debugging this? 2019-09-11T16:10:52Z thijso: Anyway, I'm off for some food now, but I'll check the logs... 2019-09-11T16:14:29Z stepnem quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2019-09-11T16:15:08Z mnasoft quit (Remote host closed the connection) 2019-09-11T16:15:10Z Oladon1 joined #lisp 2019-09-11T16:16:18Z Oladon quit (Ping timeout: 245 seconds) 2019-09-11T16:17:03Z Oladon_wfh quit (Ping timeout: 260 seconds) 2019-09-11T16:18:17Z m00natic quit (Remote host closed the connection) 2019-09-11T16:19:04Z gxt quit (Ping timeout: 260 seconds) 2019-09-11T16:19:29Z bitmapper quit 2019-09-11T16:20:03Z cosimone joined #lisp 2019-09-11T16:20:19Z stepnem joined #lisp 2019-09-11T16:30:29Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-11T16:31:56Z hhdave quit (Quit: hhdave) 2019-09-11T16:33:17Z eich joined #lisp 2019-09-11T16:42:51Z stepnem quit (Ping timeout: 240 seconds) 2019-09-11T16:43:30Z stepnem joined #lisp 2019-09-11T16:46:21Z dale joined #lisp 2019-09-11T16:46:26Z Xach: katco: i am open to new issues 2019-09-11T16:48:51Z reggie_ joined #lisp 2019-09-11T16:51:32Z ralt: minion: registration, please? 2019-09-11T16:51:32Z minion: The URL https://gitlab.common-lisp.net/users/sign_in?secret=8690c457 will be valid until 17:00 UTC. 2019-09-11T16:52:03Z ralt: uh. 2019-09-11T16:52:17Z ralt: my account has been blocked? 2019-09-11T16:52:19Z ralt: oh well 2019-09-11T16:52:34Z ralt: I guess I'm a bad guy 2019-09-11T16:53:02Z ralt: can't blame gitlab 2019-09-11T16:53:15Z Oladon_wfh joined #lisp 2019-09-11T16:54:33Z femi joined #lisp 2019-09-11T16:55:04Z mindCrime joined #lisp 2019-09-11T16:55:14Z mindCrime_ quit (Ping timeout: 276 seconds) 2019-09-11T16:55:43Z salinasc joined #lisp 2019-09-11T16:56:03Z stepnem quit (Ping timeout: 240 seconds) 2019-09-11T16:56:06Z red-dot joined #lisp 2019-09-11T16:58:27Z stepnem joined #lisp 2019-09-11T16:59:10Z salinasc quit (Remote host closed the connection) 2019-09-11T17:01:13Z shka_ joined #lisp 2019-09-11T17:01:14Z remexre: is there a way to make a struct with a :type that includes that type as its member? 2019-09-11T17:01:35Z remexre: like (defstruct (foo (:type (vector bit))) (bits ... :type (vector bit)) 2019-09-11T17:01:46Z remexre: but, y'know, actually working :P 2019-09-11T17:02:08Z chipolux joined #lisp 2019-09-11T17:02:14Z Bike: that doesn't make any sense with what the :type option means. 2019-09-11T17:02:18Z chipolux quit (Client Quit) 2019-09-11T17:02:19Z q9929t joined #lisp 2019-09-11T17:02:42Z Bike: it means an "instance" of foo is actually a bit vector. so of course it can't have a slot that's another bit vector, its slots can only be bits 2019-09-11T17:02:58Z remexre: oh, hm 2019-09-11T17:03:18Z Bike: what did you think :type did? 2019-09-11T17:03:32Z Bike: i'm talking about the defstruct :type, not the defstruct slot :type, just to be clear. they're different things 2019-09-11T17:03:42Z remexre: I want a subtype of bit-vector I guess 2019-09-11T17:04:09Z remexre: I thought it made it a subtype, so it'd "inherit" all the functions of the representation 2019-09-11T17:04:24Z Bike: But with more slots or something? No, there's no capability to subclass built in classes in the language. 2019-09-11T17:04:43Z remexre: hm 2019-09-11T17:04:52Z ggole quit (Quit: Leaving) 2019-09-11T17:05:21Z Bike: it would decrease efficiency. 2019-09-11T17:05:46Z remexre: I guess what I /really/ want 2019-09-11T17:06:08Z chipolux joined #lisp 2019-09-11T17:06:13Z remexre: is to have some bit-vectors print as different things 2019-09-11T17:06:23Z Lycurgus quit (Quit: Exeunt) 2019-09-11T17:06:54Z remexre: like I might want one to be a hex string, another to be an IP address, etc 2019-09-11T17:07:21Z q9929t quit (Quit: q9929t) 2019-09-11T17:07:30Z Bike: Would it be possible for you to use different printing functions in different contexts? Like call print-as-ip instead of print. 2019-09-11T17:07:43Z Bike: If not, you might be able to manage it with the pretty printer but it'll be kind of weird. 2019-09-11T17:08:02Z remexre: possible-but-inconvenient :P 2019-09-11T17:08:19Z Bike: life is like that sometimes 2019-09-11T17:08:21Z gxt joined #lisp 2019-09-11T17:08:25Z remexre: yeah... 2019-09-11T17:08:40Z Bike: You could also make an object that wraps bit vectors, i.e. has a slot that's a bit vector, and have it print however. 2019-09-11T17:08:52Z Bike: the penalty is the indirection, obviously 2019-09-11T17:09:56Z remexre: I'm doing something evil with the values though, so I need e.g. aref to work on the object 2019-09-11T17:10:04Z hiroaki joined #lisp 2019-09-11T17:10:29Z Bike: Have you considered being less evil? 2019-09-11T17:10:59Z beach: remexre: It is very strange to hijack the built-in functions like the printer and AREF and such for application purposes. 2019-09-11T17:11:15Z Bike: or define your own aref like function, etc. 2019-09-11T17:11:26Z beach: remexre: Your application should build its own types, and its own protocol functions for those types. 2019-09-11T17:12:37Z beach: remexre: You can consider an array (including a bit vector) to be a "concrete data type", i.e. it is meant to be used for implementing abstract data types for your application to manipulate. 2019-09-11T17:13:40Z beach: remexre: So, again, it is very strange to just import the built-in concrete data types as your application types, and then try to twist the way these built-in concrete data types are accessed, printed, etc. 2019-09-11T17:14:34Z Bike: mhm. makes you fight the system. 2019-09-11T17:14:48Z remexre: Bike: heh, it's not /that/ evil 2019-09-11T17:15:00Z remexre: Unification on arbitrary values 2019-09-11T17:15:10Z Bike: if it's causing you problems you might want to consider its evilness is an unironic way 2019-09-11T17:15:41Z Bike: unification like logic? what does that have to do with ip addresses 2019-09-11T17:16:39Z remexre: Work thing :p 2019-09-11T17:17:23Z Bike: if you tell me something is evil, and that it's causing you problems, but you don't elaborate beyond that, i'm pretty much going to have to stop at "don't do the evil thing" 2019-09-11T17:17:34Z remexre: Fair 2019-09-11T17:23:09Z mindCrime_ joined #lisp 2019-09-11T17:26:26Z mindCrime quit (Ping timeout: 240 seconds) 2019-09-11T17:30:29Z \emph{grumble} quit (Quit: \end{document}) 2019-09-11T17:31:30Z pjb joined #lisp 2019-09-11T17:33:02Z adom` joined #lisp 2019-09-11T17:37:14Z grumble joined #lisp 2019-09-11T17:42:10Z sjl_ joined #lisp 2019-09-11T17:44:49Z awolven joined #lisp 2019-09-11T17:48:12Z sjl_ quit (Quit: WeeChat 2.3-dev) 2019-09-11T17:52:51Z katco: Xach: ok, thanks. i've only done a cursory examination, but i think it might be an issue with the unmarshaling of xml being inflexible. are you open to prs? or issue first, with some discussion? 2019-09-11T17:53:26Z vaporatorius joined #lisp 2019-09-11T17:53:27Z vaporatorius quit (Changing host) 2019-09-11T17:53:27Z vaporatorius joined #lisp 2019-09-11T17:54:40Z gareppa quit (Quit: Leaving) 2019-09-11T17:59:29Z Xach: I'd rather discuss. 2019-09-11T18:01:42Z Lycurgus joined #lisp 2019-09-11T18:12:25Z sameerynho joined #lisp 2019-09-11T18:13:06Z katco: ok, sounds good. thank you for responding. 2019-09-11T18:17:44Z ravenous_ joined #lisp 2019-09-11T18:19:33Z vlatkoB quit (Remote host closed the connection) 2019-09-11T18:28:07Z thijso: Shinmera: I'm looking at verbose again, and run into another error on ECL, namely when I stop the *global-controller* it gives a SIMPLE-ERROR with the msg: "Cannot interrupt the inactive process #<process verbose-thread 0x5556eee81700>" 2019-09-11T18:29:11Z thijso: Maybe I should just give up. Something in my stack just seems not mature enough to use. ECL, bordeaux-threads, usocket, verbose, I don't know. 2019-09-11T18:29:40Z thijso: I have a feeling it's actually ECL, but I could be wrong. I'm surely not the only one trying to use it for something more than just playing around... 2019-09-11T18:30:43Z sauvin quit (Read error: Connection reset by peer) 2019-09-11T18:33:32Z bitmapper joined #lisp 2019-09-11T18:34:42Z heisig joined #lisp 2019-09-11T18:35:25Z xkapastel joined #lisp 2019-09-11T18:38:26Z VHOST_ is now known as vhost- 2019-09-11T18:44:41Z Necktwi quit (Quit: leaving) 2019-09-11T18:47:53Z khrbt quit (Ping timeout: 258 seconds) 2019-09-11T18:51:51Z hh47 joined #lisp 2019-09-11T18:54:36Z bitmapper quit (Remote host closed the connection) 2019-09-11T18:56:19Z bitmapper joined #lisp 2019-09-11T19:00:06Z makomo quit (Quit: WeeChat 2.4) 2019-09-11T19:02:20Z cosimone quit (Quit: Leaving) 2019-09-11T19:10:27Z bitmapper quit (Ping timeout: 240 seconds) 2019-09-11T19:11:00Z aautcsh joined #lisp 2019-09-11T19:12:06Z gravicappa quit (Ping timeout: 246 seconds) 2019-09-11T19:12:17Z hh47 quit (Remote host closed the connection) 2019-09-11T19:13:24Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-11T19:16:17Z kajo quit (Ping timeout: 276 seconds) 2019-09-11T19:17:43Z _death: remexre: actually you can easily extend the pretty printer to print such objects in a special way 2019-09-11T19:19:01Z cosimone joined #lisp 2019-09-11T19:19:36Z _death: remexre: the pretty printer function can discriminate objects in any way you see fit, so for example you look them up in some registry to know their semantic type.. 2019-09-11T19:21:23Z _death: remexre: if you need it for interactive use, and use slime, then I have a patch that might be interesting https://github.com/death/slime/commit/abcaefe272394799f151bb6ff8232cb9e456f55a 2019-09-11T19:21:43Z ravenous_ quit (Remote host closed the connection) 2019-09-11T19:22:03Z nanozz quit (Ping timeout: 240 seconds) 2019-09-11T19:22:18Z ravenous_ joined #lisp 2019-09-11T19:23:13Z mindthelion joined #lisp 2019-09-11T19:24:47Z Boubert joined #lisp 2019-09-11T19:25:58Z techquila quit (Ping timeout: 276 seconds) 2019-09-11T19:26:55Z Boubert quit (Client Quit) 2019-09-11T19:31:04Z scymtym joined #lisp 2019-09-11T19:31:51Z ravenous_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-11T19:33:59Z raghavgururajan quit (Remote host closed the connection) 2019-09-11T19:34:07Z Lycurgus quit (Quit: Exeunt) 2019-09-11T19:37:35Z _death: there are limits in your use case though.. for example if you (copy-seq ip-address) the resulting vector will print ordinarily 2019-09-11T19:44:49Z shka_ quit (Ping timeout: 246 seconds) 2019-09-11T19:48:58Z cosimone quit (Remote host closed the connection) 2019-09-11T19:49:08Z madand joined #lisp 2019-09-11T19:49:24Z cosimone joined #lisp 2019-09-11T19:49:38Z cosimone quit (Remote host closed the connection) 2019-09-11T19:52:00Z cosimone joined #lisp 2019-09-11T20:00:47Z cosimone quit (Quit: Leaving) 2019-09-11T20:02:19Z ldb joined #lisp 2019-09-11T20:02:27Z ldb: sup 2019-09-11T20:03:33Z superkumasan quit (Ping timeout: 246 seconds) 2019-09-11T20:05:42Z thijso: Why do I get a TYPE-ERROR in identical code when I switch from (declaim (space 1)) to (space 2)? 2019-09-11T20:08:57Z Bike: space declarations could affect how the compiler inserts type checks in some way 2019-09-11T20:08:59Z amerlyq quit (Quit: amerlyq) 2019-09-11T20:09:06Z gareppa joined #lisp 2019-09-11T20:10:02Z thijso: Yeah, so then I would expect to get *more* TYPE-ERRORs with lower priority to space, right? 2019-09-11T20:10:12Z thijso: That's what confuses me 2019-09-11T20:10:34Z Bike: it could go either way. 2019-09-11T20:10:36Z thijso: Apparently it's not that simple 2019-09-11T20:10:39Z Bike: it's not defined or anything. 2019-09-11T20:10:48Z thijso: Yeah, I see 2019-09-11T20:11:23Z EvW joined #lisp 2019-09-11T20:11:40Z Bike: Or for example, with higher priority on space, it might try actually enforcing dynamic-extent declarations it didn't before, which might entail being stricter about some types so it knows what sizes to allocate 2019-09-11T20:11:41Z Bike: who knows 2019-09-11T20:18:21Z Josh_2 quit (Ping timeout: 258 seconds) 2019-09-11T20:21:42Z cosimone joined #lisp 2019-09-11T20:22:25Z varjag joined #lisp 2019-09-11T20:23:14Z ldb quit (Ping timeout: 276 seconds) 2019-09-11T20:27:15Z eich quit (Ping timeout: 240 seconds) 2019-09-11T20:27:45Z remexre: _death: huh, okay, I'll look into it 2019-09-11T20:27:48Z remexre: thanks 2019-09-11T20:30:30Z madand quit (Ping timeout: 246 seconds) 2019-09-11T20:31:00Z bitmapper joined #lisp 2019-09-11T20:31:22Z eich joined #lisp 2019-09-11T20:42:43Z x[LGWs4x4i]uG2N0 quit (Remote host closed the connection) 2019-09-11T20:44:02Z gareppa quit (Quit: Leaving) 2019-09-11T20:45:54Z eich quit (Ping timeout: 246 seconds) 2019-09-11T20:48:10Z Oladon joined #lisp 2019-09-11T20:49:13Z Oladon1 quit (Ping timeout: 245 seconds) 2019-09-11T20:50:03Z Oladon_wfh quit (Ping timeout: 260 seconds) 2019-09-11T20:52:03Z Lord_of_Life_ joined #lisp 2019-09-11T20:52:09Z eich joined #lisp 2019-09-11T20:54:39Z Lord_of_Life quit (Ping timeout: 246 seconds) 2019-09-11T20:54:39Z Lord_of_Life_ is now known as Lord_of_Life 2019-09-11T20:56:33Z cosimone quit (Remote host closed the connection) 2019-09-11T20:56:56Z cosimone joined #lisp 2019-09-11T20:58:33Z kajo joined #lisp 2019-09-11T21:00:48Z ravenous_ joined #lisp 2019-09-11T21:02:07Z alexanderbarbosa joined #lisp 2019-09-11T21:05:09Z ravenous_ quit (Ping timeout: 246 seconds) 2019-09-11T21:08:46Z user___ quit (Ping timeout: 245 seconds) 2019-09-11T21:15:07Z thijso: So, I have an issue with usocket, bordeaux-threads, and ECL. A blocking (or with timeout) call to usocket:socket-receive will give an USOCKET:UNKNOWN-ERROR if there is a bt:condition-wait call being done with a timeout on a different thread. 2019-09-11T21:15:36Z thijso: For some reason the timeout on the condition-wait is interrupting the call to socket-receive. 2019-09-11T21:19:51Z mindCrime_ quit (Ping timeout: 246 seconds) 2019-09-11T21:20:52Z eooq_ left #lisp 2019-09-11T21:21:06Z fe[nl]ix: thijso: https://github.com/sionescu/bordeaux-threads/blob/master/src/impl-ecl.lisp#L75 2019-09-11T21:21:42Z fe[nl]ix: the implementation uses with-timeout, so that seems a likely culprit 2019-09-11T21:22:23Z heisig quit (Ping timeout: 276 seconds) 2019-09-11T21:24:12Z thijso: Yeah, I'd found that code too. 2019-09-11T21:25:03Z thijso: I also see an issue in ECL that might have something to do with this. The line "but the short answer is that alarm is delivered to the signal servicing thread during handling another thread." is making me suspicious. This is in https://gitlab.com/embeddable-common-lisp/ecl/issues/420 2019-09-11T21:25:11Z parisienne joined #lisp 2019-09-11T21:26:41Z fe[nl]ix: thijso: check if ECL implements timeouts natively nowadays 2019-09-11T21:26:50Z fe[nl]ix: that code is old and might be obsolete 2019-09-11T21:27:16Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-11T21:27:20Z stepnem quit (Ping timeout: 258 seconds) 2019-09-11T21:28:00Z fe[nl]ix: indeed, it's 6 years old 2019-09-11T21:29:03Z kamog joined #lisp 2019-09-11T21:29:26Z Oladon_wfh joined #lisp 2019-09-11T21:31:14Z vms14 joined #lisp 2019-09-11T21:31:43Z awolven quit (Ping timeout: 245 seconds) 2019-09-11T21:33:30Z stepnem joined #lisp 2019-09-11T21:42:57Z alexanderbarbosa quit (Ping timeout: 246 seconds) 2019-09-11T21:49:02Z kajo quit (Ping timeout: 276 seconds) 2019-09-11T21:50:17Z jprajzne quit (Remote host closed the connection) 2019-09-11T21:50:54Z kajo joined #lisp 2019-09-11T21:52:10Z thijso: I've created an issue in ECL: https://gitlab.com/embeddable-common-lisp/ecl/issues/525 2019-09-11T21:52:23Z cosimone quit (Remote host closed the connection) 2019-09-11T21:54:52Z cosimone joined #lisp 2019-09-11T21:56:12Z ldb joined #lisp 2019-09-11T21:56:59Z LiamH quit (Quit: Leaving.) 2019-09-11T21:57:03Z cosimone quit (Remote host closed the connection) 2019-09-11T21:57:22Z cosimone joined #lisp 2019-09-11T21:58:50Z varjag quit (Quit: ERC (IRC client for Emacs 26.1)) 2019-09-11T22:01:11Z Bike quit (Quit: Bike) 2019-09-11T22:02:47Z cosimone quit (Quit: Leaving) 2019-09-11T22:02:55Z vms14 quit (Remote host closed the connection) 2019-09-11T22:03:18Z superkumasan joined #lisp 2019-09-11T22:06:20Z ldb quit (Ping timeout: 265 seconds) 2019-09-11T22:06:41Z eich quit (Ping timeout: 245 seconds) 2019-09-11T22:11:42Z shifty joined #lisp 2019-09-11T22:13:12Z cosimone joined #lisp 2019-09-11T22:13:34Z elderK quit (Ping timeout: 246 seconds) 2019-09-11T22:14:35Z ldb joined #lisp 2019-09-11T22:15:34Z elderK joined #lisp 2019-09-11T22:20:21Z stepnem quit (Ping timeout: 265 seconds) 2019-09-11T22:22:57Z stepnem joined #lisp 2019-09-11T22:23:35Z gordonfish: Where does the filter built-in come from? In sbcl I get "The function COMMON-LISP-USER::FILTER is undefined" 2019-09-11T22:24:16Z gordonfish: For example, with this code: (filter (lambda (x) (<= x 4)) (list 5 6 1 2 3)) 2019-09-11T22:25:17Z edgar-rft: there's no built-in filter function, it must come from elsewhere 2019-09-11T22:25:32Z scymtym: common lisp has REMOVE-IF/REMOVE-IF-NOT 2019-09-11T22:25:39Z alexanderbarbosa joined #lisp 2019-09-11T22:25:57Z gordonfish: edgar-rft: Curious; where did they get it from at this link (#7) https://hackernoon.com/learn-you-a-lisp-in-0-minutes-e0c1a060a178 ? 2019-09-11T22:26:31Z gordonfish: I was just reading that page but the examples look a little different from what I normally see. 2019-09-11T22:26:33Z White_Flame: that's scheme, not common lisp 2019-09-11T22:27:13Z fragamus quit (Ping timeout: 268 seconds) 2019-09-11T22:27:20Z gordonfish: ah 2019-09-11T22:29:04Z edgar-rft: gordonfish: the tutorial says "I should specify that this test is based on WeScheme." 2019-09-11T22:29:48Z gordonfish: Yeah I see that, some how I missed that part 2019-09-11T22:30:28Z gordonfish: (The title up top is a bit misleading) 2019-09-11T22:30:53Z gordonfish: (Sort of like saying "learn C" but it's actually C++ or C#, heh) 2019-09-11T22:31:49Z cosimone quit (Quit: Leaving) 2019-09-11T22:33:14Z ldb quit (Ping timeout: 276 seconds) 2019-09-11T22:35:22Z edgar-rft: gordonfish: Lots of people (like the author of that tutorial) confuse Lisp and Scheme :-) Scheme is technically a LIsp dialect, but the Common Lisp standard was meant to unify all other Lisps into a single Lisp language. Nontheless Scheme still has an active community on #scheme. 2019-09-11T22:42:27Z Bike joined #lisp 2019-09-11T22:42:37Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-11T22:43:05Z vaporatorius joined #lisp 2019-09-11T22:43:05Z vaporatorius quit (Changing host) 2019-09-11T22:43:05Z vaporatorius joined #lisp 2019-09-11T22:43:11Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-11T22:46:57Z eich joined #lisp 2019-09-11T22:49:27Z moldybits quit (Quit: WeeChat 2.4) 2019-09-11T22:52:32Z adom`: Hi! I'm wondering about concatenating arrays with concatenate. Is it more efficient in runtime than setting each element to each corresponding index? Where can I find information about that kind of thing? 2019-09-11T22:52:59Z gordonfish: edgar-rft: I see. Thanks for that, that does help clear thigns up :) 2019-09-11T22:53:29Z no-defun-allowed: Unless the array has a fill pointer and can fit both array's active elements, I don't believe you can "set each element" since there would be no room for the other array's elements. 2019-09-11T22:53:51Z adom`: In my case it's an array that has a predetermined size 2019-09-11T22:54:32Z adom`: And then I want to delete an element from some index and then fill the space it was in. And move each element by one. 2019-09-11T22:54:45Z no-defun-allowed: And you can probably assume NCONCATENATE is faster than CONCATENATE ever so slightly because it may use the first array as storage instead of allocating a new one (which is basically just incrementing a pointer on most implementations). 2019-09-11T22:55:01Z no-defun-allowed: Hm, it's probably faster to set the elements yourself then. 2019-09-11T22:55:06Z Aruseus joined #lisp 2019-09-11T22:55:37Z adom`: Oh really!? Huh I wouldn't have expected that. 2019-09-11T22:56:01Z fragamus joined #lisp 2019-09-11T22:56:21Z no-defun-allowed: So you're doing something like (concatenate 'vector (subseq vector 0 n) (subseq vector n))? 2019-09-11T22:56:31Z adom`: yeah 2019-09-11T22:56:56Z adom`: I guess I can just try it with a massive array :P 2019-09-11T22:56:59Z Bike: each of the subseqs will make a new vector, unless the compiler is really smart 2019-09-11T22:57:07Z Bike: so doing it yourself is probably better 2019-09-11T22:57:08Z no-defun-allowed: Yeah, you'd be iterating over the array three times (or two if you count each subseq as "half"). 2019-09-11T22:57:09Z adom`: ohh 2019-09-11T22:57:11Z adom`: wow 2019-09-11T22:57:17Z MrBismuth quit (Ping timeout: 250 seconds) 2019-09-11T22:57:17Z MrBusiness3 joined #lisp 2019-09-11T22:57:29Z adom`: bc it's like a cons? with a head of one element and a tail with all of the rest? 2019-09-11T22:57:36Z Bike: no? 2019-09-11T22:57:43Z adom`: oh :P sorry 2019-09-11T22:57:59Z Bike: vectors are vectors, it's probably contiguous memory under the hood 2019-09-11T22:58:11Z no-defun-allowed: No, a vector is layed out as contiguous memory (on a self-respecting implementation) and each element takes O(1) time to aref. 2019-09-11T22:58:19Z Bike: anyway, you can make a vector of 1- the length of your starting vector, and then call replace twice 2019-09-11T22:58:25Z Bike: then you'll only allocate the one vector 2019-09-11T22:58:37Z no-defun-allowed: But to subseq, the implementation would probably make the new vector, loop over the old elements and set the elements of the vector. 2019-09-11T22:58:39Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-11T22:59:05Z no-defun-allowed: To concatenate, the implementation would make the new vector with size the sum of the input vectors and loop over those elements too. 2019-09-11T22:59:14Z alexanderbarbosa quit (Ping timeout: 276 seconds) 2019-09-11T22:59:20Z adom`: oh I see. I was misreading. You were just saying 2 new vectors (1 for each subseq... it's very clear now) 2019-09-11T22:59:47Z no-defun-allowed: All up, it'd iterate over the vector length twice, as opposed to just once (worst case, or half in the average case). 2019-09-11T23:00:46Z Bike: with the concatenate subseqs you'd actually have three new vectors, since concatenate makes one too 2019-09-11T23:02:00Z adom`: sorry I'm slightly behind. 2019-09-11T23:02:28Z adom`: So the main cost isn't iterating, it's creating these new vectors? 2019-09-11T23:02:51Z Bike: well they're both costly. 2019-09-11T23:02:58Z adom`: I'm still unclear on whether concat/replace is just doing the same iteration I would do 2019-09-11T23:03:21Z adom`: gotcha gotcha 2019-09-11T23:03:33Z Bike: the concatenate function essentially: gets the lengths of all the sequences, makes a new sequence with the summed length, and then iterates over the sequences. 2019-09-11T23:03:49Z no-defun-allowed: I still believe iterating over the vector an average of two times rather than half of the vector is the slowest part. 2019-09-11T23:04:11Z Bike: i mean the concatenate subseq thing is worse with either consideration 2019-09-11T23:04:24Z no-defun-allowed: Yeah. 2019-09-11T23:05:19Z adom`: Okay, so it sounds like I'll just iterate over half and move them myself. 2019-09-11T23:05:20Z smazga quit (Quit: leaving) 2019-09-11T23:05:56Z no-defun-allowed: Are you removing one element, or possibly a few? 2019-09-11T23:06:09Z adom`: Thanks bike/no-defun-allowed. But yeah, is there documentation that says this kind of thing clearly? Like the O(n) of different builtins? 2019-09-11T23:06:14Z adom`: Just one 2019-09-11T23:06:57Z no-defun-allowed: Then (remove item vector :count 1) could be less of a hassle too. 2019-09-11T23:07:27Z adom`: I'll look into that 2019-09-11T23:08:44Z Bike: well, subseq is described as making a new sequence 2019-09-11T23:08:55Z Bike: there aren't any mandated O times in the standard, i don't think 2019-09-11T23:10:12Z aeth: adom`: you don't need to iterate, either. If what you're doing is what no-defun-allowed said and it's (concatenate 'vector (subseq vector 0 n) (subseq vector n)) then you can just use replace twice to skip having the inefficient subseq and to skip having to manually iterate 2019-09-11T23:11:02Z aeth: (let ((u (vector 0 1 2 3 4)) (v (vector 10 11))) (replace u v) u) => #(10 11 2 3 4) 2019-09-11T23:11:52Z aeth: So you can e.g. just replace the upper range and the lower range of a fresh vector from the two source vectors (or ranges of one vector). 2019-09-11T23:14:53Z adom`: That does seem neater and easier 2019-09-11T23:15:05Z adom`: Okay I'm going to go with that for now I think 2019-09-11T23:15:09Z adom`: thanks all :) 2019-09-11T23:18:16Z libertyprime joined #lisp 2019-09-11T23:19:28Z fragamus quit (Ping timeout: 245 seconds) 2019-09-11T23:21:03Z pjb: adom`: you cannot concatenate arrays with concatenate. Read the spec! 2019-09-11T23:21:07Z pjb: clhs concatenate 2019-09-11T23:21:07Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_concat.htm 2019-09-11T23:21:12Z pjb: it works only on sequences! 2019-09-11T23:22:57Z pjb: Now, you could displace sequences to arrays, and concatenate the sequence, then displace an array to the resulting sequence. But you would have to find some consistent dimensions. 2019-09-11T23:24:07Z pjb: Finally if you are considering sequences, try to implement concatenate yourself, and see if you can find a more efficient way to do it. 2019-09-11T23:24:40Z pjb: If you don't want to implement concatenate yourself, you can always go have a look at the sources of your implementation. 2019-09-11T23:25:31Z adom`: I haven't really gone through the basics yet, so it wasn't obvious to me that a vector was not a sequence. I should definitely learn that stuff though. 2019-09-11T23:25:55Z adom`: And yeah, checking the source of my implementation definitely seems like the way to answer my question 2019-09-11T23:26:26Z pjb: This is because a vector is a sequence. 2019-09-11T23:26:55Z adom`: but not an array. array =/= vector 2019-09-11T23:26:58Z adom`: ? 2019-09-11T23:27:05Z adom`: (I'll go look all of this up) 2019-09-11T23:27:16Z adom`: (I don't want to waste ppl's time) 2019-09-11T23:27:18Z pjb: adom`: well, checking the source of your implementation is a nice way to get some idea, but it is also dangerous, because you will see one specific implementation, but Common Lisp is a language, and several different implementations are possible. 2019-09-11T23:27:29Z pjb: a vector IS an array too! 2019-09-11T23:27:33Z pjb: multiple-inheritance. 2019-09-11T23:30:22Z pjb: adom`: now, the CLHS doesn't specify in general the algorithms or the complexities of the operators. Only for a few operators, some hints or some restrictions are given. But since there are several competing implementation, they will often use the best algorithms they can. 2019-09-11T23:31:08Z aeth: adom`: a vector is a 1D array. 2019-09-11T23:31:31Z aeth: adom`: a vector is also a sequence. arrays that are 0D or 2+D aren't sequences 2019-09-11T23:32:10Z pjb: adom`: as indicated, the constraint on concatenate, is that it must return a new sequence. Therefore the only overhead, beside copying, is that it must allocate the space of the result. The advantage is that it's purely functional: you will be able to mutate the result without having an impact on the pre-existing sequences. 2019-09-11T23:32:19Z pjb: (this is not the case eg. with APPEND). 2019-09-11T23:32:20Z aeth: This differs from how some other programming languages handle this. For instance, in C++ a vector basically an adjustable vector in CL terminology and there are C arrays and there are new std::arrays and, well, C++ probably was a poor choice of comparison 2019-09-11T23:33:35Z pjb: adom`: you may design an algorithm where you could pre-allocate the space of the result, and use REPLACE instead of CONCATENATE to store it repeatitively, without having to allocate it each time. 2019-09-11T23:33:35Z aeth: Unlike some languages, CL has true multi-dimensional arrays. You don't need to put an array-in-an-array, or use 1D arrays with special accessors to pretend that it's 2D (or more) 2019-09-11T23:34:00Z Aruseus quit (Remote host closed the connection) 2019-09-11T23:34:22Z pjb: adom`: you can also use a vector with a fill-pointer if the result size may change, or an adjustable array if it may extend what you pre-allocated. 2019-09-11T23:34:59Z orivej quit (Ping timeout: 276 seconds) 2019-09-11T23:35:00Z chipolux quit (Quit: chipolux) 2019-09-11T23:35:45Z aeth: And vectors that aren't special in that sense are 1D simple-arrays, but not necessarily simple-vectors, because simple-vectors have to be T 1D simple-arrays, iirc. 2019-09-11T23:36:09Z aeth: a (simple-array T (3)) is a (simple-vector 3) 2019-09-11T23:36:25Z aeth: Probably the only really confusing part about vectors vs. arrays 2019-09-11T23:37:16Z red-dot joined #lisp 2019-09-11T23:38:54Z adom`: that's interesting re: true multidimensional arrays 2019-09-11T23:39:51Z pjb: adom`: that's old. Pascal had them already in 1970. 2019-09-11T23:39:53Z iovec joined #lisp 2019-09-11T23:40:06Z pjb: Pascal even has array with user-specified bases instead of just 0. 2019-09-11T23:40:30Z dlowe: you can even use enums iirc 2019-09-11T23:40:34Z aeth: from the perspective of the type system, arrays have three relevant components: simple or not, the type they can hold, and the dimensions. 1D arrays no matter what are vectors (and vectors are sequences). simple-arrays are simple arrays, and simple-vectors are T simple vectors, not just simple vectors. The length (or dimensions) is part of the type, but usually it's * for anything and often even that is optional. 2019-09-11T23:40:51Z pjb: indeed. 2019-09-11T23:40:55Z dlowe: like type[foo...bar] or however it is 2019-09-11T23:42:12Z pjb: But, in CL, I can implement such arrays if I need them! :-) 2019-09-11T23:42:16Z aeth: And in case the "type" thing is unclear, an array/vector that holds T holds anything, since any type is a subtype of T (except NIL, but nothing is of type NIL, even the object nil is of type NULL, and not of type NIL). 2019-09-11T23:43:50Z adom`: (thanks, that was indeed unclear) 2019-09-11T23:44:02Z aeth: (The standard mandates character (1D character arrays are strings... yes, strings are just vectors) and bit, but practically speaking (unsigned-byte 8), informally octet, is near-mandiatory. Other integer sizes vary, but are usually included if they're signed/unsigned 8 16 32 64 as well as fixnum, and single-float/double-float are included in everything but CLISP.) 2019-09-11T23:45:01Z aeth: (You'll also see base-character, etc. The pattern is that it's basically just for numbers and characters.) 2019-09-11T23:45:22Z aeth: s/base-character/base-char/ 2019-09-11T23:45:57Z fragamus joined #lisp 2019-09-11T23:47:29Z aeth: I think that covers everything that arrays can do, normally via make-array. http://www.lispworks.com/documentation/HyperSpec/Body/f_mk_ar.htm 2019-09-11T23:49:29Z ralt quit (Quit: Connection closed for inactivity) 2019-09-11T23:51:42Z eich quit (Ping timeout: 265 seconds) 2019-09-11T23:55:08Z v88m quit (Ping timeout: 276 seconds) 2019-09-11T23:57:04Z EvW quit (Ping timeout: 264 seconds) 2019-09-11T23:59:41Z adom` quit (Remote host closed the connection) 2019-09-12T00:01:27Z nanoz joined #lisp 2019-09-12T00:02:11Z sameerynho quit (Ping timeout: 244 seconds) 2019-09-12T00:02:15Z ldb joined #lisp 2019-09-12T00:03:46Z akoana joined #lisp 2019-09-12T00:13:56Z fragamus quit (Ping timeout: 265 seconds) 2019-09-12T00:14:42Z fragamus joined #lisp 2019-09-12T00:19:15Z fragamus quit (Ping timeout: 265 seconds) 2019-09-12T00:25:10Z vsync quit (Ping timeout: 246 seconds) 2019-09-12T00:26:44Z __jrjsmrtn__ quit (Ping timeout: 258 seconds) 2019-09-12T00:30:39Z __jrjsmrtn__ joined #lisp 2019-09-12T00:32:23Z quazimodo joined #lisp 2019-09-12T00:38:39Z alexanderbarbosa joined #lisp 2019-09-12T00:39:20Z ldb quit (Ping timeout: 276 seconds) 2019-09-12T00:39:21Z quazimodo quit (Ping timeout: 246 seconds) 2019-09-12T00:41:13Z quazimodo joined #lisp 2019-09-12T00:46:43Z raghavgururajan joined #lisp 2019-09-12T00:47:47Z _paul0 quit (Remote host closed the connection) 2019-09-12T00:48:19Z vsync joined #lisp 2019-09-12T00:54:52Z vaporatorius joined #lisp 2019-09-12T00:54:52Z vaporatorius quit (Changing host) 2019-09-12T00:54:52Z vaporatorius joined #lisp 2019-09-12T00:54:59Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-12T01:01:23Z akoana left #lisp 2019-09-12T01:04:19Z bitmapper quit (Ping timeout: 258 seconds) 2019-09-12T01:18:44Z semz_ joined #lisp 2019-09-12T01:20:17Z nanoz quit (Ping timeout: 276 seconds) 2019-09-12T01:22:58Z semz quit (Ping timeout: 268 seconds) 2019-09-12T01:23:17Z nanoz joined #lisp 2019-09-12T01:23:51Z t58 quit (Quit: Leaving) 2019-09-12T01:25:55Z IAmRasputin joined #lisp 2019-09-12T01:27:33Z mindthelion quit (Ping timeout: 245 seconds) 2019-09-12T01:33:35Z v88m joined #lisp 2019-09-12T01:41:32Z fengshaun: is it possible to do partial application for arbitrary functions? 2019-09-12T01:42:07Z pjb: You can write a partial evaluator, yes. 2019-09-12T01:44:28Z fengshaun: mmm what keywords should I be searching? 2019-09-12T01:44:36Z fengshaun: macros I'm guessing? 2019-09-12T01:47:09Z pjb: I would start googling for: how to implement a partical evaluator in lisp 2019-09-12T01:47:27Z Bike: do you want actual application or is just a delay alright 2019-09-12T01:47:39Z pjb: you will probably have to backtrack to: how to implement a partical evaluator 2019-09-12T01:47:49Z fengshaun: I'm looking for currying to be more precise 2019-09-12T01:47:59Z fengshaun: thanks 2019-09-12T01:48:26Z Bike: alexandria has a curry function 2019-09-12T01:48:41Z fengshaun: ah, who's alexandria? 2019-09-12T01:48:43Z Bike: i mean it's basically (curry f x) = (lambda (&rest r) (apply f x r)) 2019-09-12T01:48:43Z fengshaun: I kid I kid 2019-09-12T01:48:44Z fengshaun: thanks 2019-09-12T01:54:09Z techquila joined #lisp 2019-09-12T01:56:33Z nanoz quit (Ping timeout: 245 seconds) 2019-09-12T02:01:43Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-12T02:02:54Z raghavgururajan: Hello Folks! I am trying to learn LISP for first time. I am interested in Common LISP, Emacs LISP, Scheme and Guile. Should I be learning these dialects in particular order? Thank you! 2019-09-12T02:03:33Z Bike: i don't think there's any required order. also, this channel is actually for common lisp specifically. i think the "general" channel is ##lisp or so 2019-09-12T02:04:07Z no-defun-allowed: Learn Common Lisp, don't learn Elisp if you want to do work outside of Emacs with it (since, well, you can't), Guile is Scheme so learn Scheme after, and do all that after you remember to release the Shift key after writing the L in Lisp. 2019-09-12T02:04:24Z superkumasan quit (Ping timeout: 246 seconds) 2019-09-12T02:05:49Z karswell joined #lisp 2019-09-12T02:08:19Z raghavgururajan: Bike and no-defun-allowed Thank you! 2019-09-12T02:08:23Z pjb: raghavgururajan: but the order you cited looks good. 2019-09-12T02:08:41Z pjb: raghavgururajan: http://cliki.net/Getting+Started 2019-09-12T02:08:41Z raghavgururajan: pjb Thanks! 2019-09-12T02:08:53Z pjb: raghavgururajan: http://cliki.net/online+tutorial 2019-09-12T02:09:01Z iovec quit (Quit: Connection closed for inactivity) 2019-09-12T02:11:32Z fragamus joined #lisp 2019-09-12T02:12:21Z no-defun-allowed: Is there an external-format I can use to read lines from a "DOS-formatted" line with CRLF line endings without having nasty CRs at the end of those lines? 2019-09-12T02:13:49Z Bike: sbcl supports that, i think 2019-09-12T02:13:51Z analogue joined #lisp 2019-09-12T02:15:28Z ahungry joined #lisp 2019-09-12T02:15:35Z Bike: actually i'm not seeing it. hrm 2019-09-12T02:16:24Z no-defun-allowed: Never mind, I'll use (remove (code-char 13) <string>). It'd have to work in ABCL too. 2019-09-12T02:16:51Z Bike: yeah i don't think there's anything standard. 2019-09-12T02:16:57Z georgie_ joined #lisp 2019-09-12T02:17:00Z ebrasca quit (Remote host closed the connection) 2019-09-12T02:17:03Z Bike: babel or a library like it might patch things over for you, though 2019-09-12T02:17:29Z no-defun-allowed: All good, thanks. 2019-09-12T02:23:33Z ebrasca joined #lisp 2019-09-12T02:27:37Z ebrasca quit (Remote host closed the connection) 2019-09-12T02:27:46Z paul0 joined #lisp 2019-09-12T02:28:20Z igemnace quit (Ping timeout: 268 seconds) 2019-09-12T02:29:35Z igemnace joined #lisp 2019-09-12T02:30:55Z ebrasca joined #lisp 2019-09-12T02:35:11Z fengshaun: how do I easily find the sbcl source that implements a function? 2019-09-12T02:35:16Z fengshaun: say, apply 2019-09-12T02:35:26Z fengshaun: I'm wondering how apply spreads its arguments 2019-09-12T02:35:52Z fengshaun: short of downloading the code and grepping 2019-09-12T02:36:46Z fengshaun: and https://sourceforge.net/p/sbcl/sbcl/ci/master/tree/ is hard to navigate for someone unfamiliar 2019-09-12T02:37:36Z LdBeth: fengshaun: get SLIME and press M-. on function/macro name 2019-09-12T02:37:44Z georgie_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-12T02:38:18Z LdBeth: But first you may need fetch source code for SBCL 2019-09-12T02:39:19Z fengshaun: LdBeth, ah, yes, need to fetch it 2019-09-12T02:39:27Z fengshaun: slime points to a nonexistent directory 2019-09-12T02:39:41Z fengshaun: not sure why it chose C:/ 2019-09-12T02:39:57Z fengshaun: thanks 2019-09-12T02:45:22Z White_Flame: if you install sbcl from source, that should hook up pretty automatically 2019-09-12T02:45:28Z White_Flame: and you'll have the latest version 2019-09-12T02:46:30Z fengshaun: White_Flame, that's gonna be a deep rabbit hole 2019-09-12T02:46:57Z White_Flame: it's a single build script they include, so that's nice 2019-09-12T02:47:17Z White_Flame: oh wait, I keep forgetting people still use windows... 2019-09-12T02:47:20Z White_Flame: never mind :) 2019-09-12T02:48:21Z White_Flame: portacle is an all-in-one environment for CL https://portacle.github.io/ 2019-09-12T02:48:39Z White_Flame: I have not tested if it includes linked source through 2019-09-12T02:48:51Z White_Flame: *though 2019-09-12T02:49:59Z fragamus quit (Ping timeout: 276 seconds) 2019-09-12T02:59:13Z analogue quit (Quit: Leaving) 2019-09-12T02:59:28Z pjb: ok, people can use ms-windows, but developers?! 2019-09-12T02:59:34Z vaporatorius joined #lisp 2019-09-12T02:59:44Z pjb: Just use linux to develop, and only deploy on MS-Windows. 2019-09-12T03:00:01Z fragamus joined #lisp 2019-09-12T03:01:26Z beach: Good morning everyone! 2019-09-12T03:01:46Z ebrasca: morning beach! 2019-09-12T03:02:12Z beach: fengshaun: APPLY would not be a Common Lisp function, so SLIME probably can't find it. 2019-09-12T03:03:06Z Bike quit (Quit: Lost terminal) 2019-09-12T03:03:44Z mindthelion joined #lisp 2019-09-12T03:06:08Z techquila quit (Ping timeout: 245 seconds) 2019-09-12T03:09:22Z White_Flame: APPLY is a standard function, SLIME finds it just fine 2019-09-12T03:10:05Z White_Flame: however, there are compile-time shenanigans happening too, so each of the hits that M-. brings up is some different path it might take 2019-09-12T03:10:33Z White_Flame: since DEFUN APPLY calls APPLY itself, that inner APPLY is actually something different 2019-09-12T03:10:59Z beach: Oh? Then either it calls some lower level function to do the spreading. 2019-09-12T03:11:28Z beach: I don't see how that could be done in Common Lisp, because it would involve direct access to machine registers and such. 2019-09-12T03:12:30Z White_Flame: inside DEFUN APPLY, there are type checks on the parameters. The nested APPLY then is in scope of when types are known, and compiler shenanigans do the low-level replacements there 2019-09-12T03:13:06Z beach: Yeah, OK. 2019-09-12T03:14:01Z White_Flame: and of course, if the types are known in user code (basically if the last parameter is a list), then the shenanigans can happen there directly 2019-09-12T03:14:05Z georgie_ joined #lisp 2019-09-12T03:21:07Z seok quit (Ping timeout: 260 seconds) 2019-09-12T03:32:17Z torbo joined #lisp 2019-09-12T03:40:48Z pjb: beach: I don't know about sbcl, but in ccl, slime usually can find the source of CL operators. 2019-09-12T03:42:55Z pjb: Choose your development implementation wisely! 2019-09-12T03:46:21Z ck_: pjb: this looks to be more of a 'implementation platform" problem. More to do with windows than sbcl. 2019-09-12T03:47:12Z superkumasan joined #lisp 2019-09-12T03:48:32Z karlosz joined #lisp 2019-09-12T03:51:18Z beach: pjb: What I meant was that fengshaun should not expect the code that spreads the argument to be written as a standard Common Lisp function. 2019-09-12T03:52:01Z beach: I didn't express myself very well. I'll blame the time of day and lack of coffee. 2019-09-12T03:52:49Z gravicappa joined #lisp 2019-09-12T03:54:18Z pjb: Yes, but at least you should get some sources. It's true that it won't necessarily be clear, unless you know the internals of the implementation. 2019-09-12T03:55:37Z awolven joined #lisp 2019-09-12T03:55:46Z aautcsh quit (Quit: aautcsh) 2019-09-12T03:56:21Z dddddd quit (Remote host closed the connection) 2019-09-12T03:56:48Z aautcsh joined #lisp 2019-09-12T03:58:14Z beach: Fair enough. 2019-09-12T03:58:40Z torbo quit (Remote host closed the connection) 2019-09-12T04:21:18Z shka_ joined #lisp 2019-09-12T04:27:02Z _whitelogger quit (Remote host closed the connection) 2019-09-12T04:29:16Z _whitelogger joined #lisp 2019-09-12T04:34:53Z karlosz quit (Quit: karlosz) 2019-09-12T04:39:21Z fengshaun: beach, no, it found the definition and I looked it up, it's a 'normal' cl function 2019-09-12T04:39:23Z Necktwi joined #lisp 2019-09-12T04:39:45Z fengshaun: pretty much cons'es the list together so the end result is it removes one layer of nesting 2019-09-12T04:40:33Z fengshaun: White_Flame, oh, I didn't know the inner apply is different 2019-09-12T04:41:25Z fengshaun: anyway, it was an interesting rabbit hole 2019-09-12T04:45:02Z _whitelogger quit (Remote host closed the connection) 2019-09-12T04:47:15Z _whitelogger joined #lisp 2019-09-12T04:53:06Z beach: fengshaun: Oh? So how does it pass the arguments to the function being called? I would be surprised if it conses anything at all. 2019-09-12T04:55:35Z beach: I can see that, in some implementations, every function would receive a list of arguments, but that would be a not-very-efficient implementation. 2019-09-12T04:56:45Z beach: fengshaun: An efficient native-code Common Lisp implementation would pass arguments in registers and on the stack, and neither the registers nor the stack are available to a standard Common Lisp function. 2019-09-12T04:58:04Z ck_: beach: I'd guess this is the source code they're looking at: https://github.com/sbcl/sbcl/blob/master/src/code/eval.lisp#L328 2019-09-12T05:00:40Z beach: That one just calls APPLY recursively. 2019-09-12T05:03:02Z beach: But yeah, it seems to be consing. The comment suggests that this is not the way it is typically handled though. 2019-09-12T05:03:22Z beach: It suggests that the compiler treats APPLY specially. 2019-09-12T05:07:35Z dale quit (Quit: My computer has gone to sleep) 2019-09-12T05:10:03Z jlarocco joined #lisp 2019-09-12T05:11:15Z fengshaun: yea, that's the code I was talking about 2019-09-12T05:12:28Z beach: fengshaun: And it doesn't tell you how arguments are spread. 2019-09-12T05:14:27Z beach: And I strongly suspect that this function is not called at all in most cases. 2019-09-12T05:22:14Z remexre quit (Ping timeout: 268 seconds) 2019-09-12T05:22:36Z beach: fengshaun: The SBCL compiler treats a lot of stuff specially. For example, here is the definition of the function CAR: https://github.com/sbcl/sbcl/blob/master/src/code/list.lisp#L30 2019-09-12T05:23:17Z beach: fengshaun: But that's not a very satisfactory definition of the function CAR. 2019-09-12T05:23:23Z abhixec joined #lisp 2019-09-12T05:23:25Z ldb joined #lisp 2019-09-12T05:23:41Z remexre joined #lisp 2019-09-12T05:24:05Z fengshaun: beach, huh, that makes sense 2019-09-12T05:24:22Z fengshaun: thanks 2019-09-12T05:24:40Z fengshaun: I guess I have to suffice with the clhs definition 2019-09-12T05:24:57Z shifty quit (Ping timeout: 246 seconds) 2019-09-12T05:28:28Z karlosz joined #lisp 2019-09-12T05:29:29Z Inline quit (Quit: Leaving) 2019-09-12T05:34:40Z vlatkoB joined #lisp 2019-09-12T05:34:53Z fragamus quit (Ping timeout: 245 seconds) 2019-09-12T05:37:14Z nowhere_man joined #lisp 2019-09-12T05:38:48Z no-defun-allowed: The representation of stuff isn't specificied in the CLHS, so it's probably useless if you want to read about the implementation of CAR. 2019-09-12T05:39:39Z shka_ quit (Ping timeout: 246 seconds) 2019-09-12T05:39:39Z beach: CAR was just an example of how the SBCL treats things specially. Nobody expressed interest in the implementation of CAR. 2019-09-12T05:39:44Z jlarocco quit (Read error: Connection reset by peer) 2019-09-12T05:39:55Z beach: the SBCL compiler treats... 2019-09-12T05:40:03Z user___ joined #lisp 2019-09-12T05:40:07Z no-defun-allowed: Oh, never mind then. 2019-09-12T05:43:32Z abhixec quit (Ping timeout: 276 seconds) 2019-09-12T05:47:26Z elderK quit (Ping timeout: 276 seconds) 2019-09-12T05:48:24Z ahungry quit (Remote host closed the connection) 2019-09-12T05:50:52Z elderK joined #lisp 2019-09-12T05:55:14Z scymtym quit (Ping timeout: 276 seconds) 2019-09-12T05:56:22Z shka_ joined #lisp 2019-09-12T06:02:29Z orivej joined #lisp 2019-09-12T06:04:20Z Necktwi quit (Ping timeout: 276 seconds) 2019-09-12T06:09:00Z fragamus joined #lisp 2019-09-12T06:09:10Z sauvin joined #lisp 2019-09-12T06:14:50Z frgo joined #lisp 2019-09-12T06:16:02Z fragamus quit (Ping timeout: 276 seconds) 2019-09-12T06:16:08Z shka_ quit (Ping timeout: 245 seconds) 2019-09-12T06:16:23Z nowhereman joined #lisp 2019-09-12T06:16:41Z nowhere_man quit (Read error: Connection reset by peer) 2019-09-12T06:19:01Z newbie joined #lisp 2019-09-12T06:19:28Z flamebeard joined #lisp 2019-09-12T06:22:26Z refpga joined #lisp 2019-09-12T06:26:44Z nostoi joined #lisp 2019-09-12T06:28:51Z hiroaki quit (Ping timeout: 240 seconds) 2019-09-12T06:30:28Z JohnMS_WORK joined #lisp 2019-09-12T06:30:37Z nowhereman quit (Read error: Connection reset by peer) 2019-09-12T06:30:52Z nowhere_man joined #lisp 2019-09-12T06:32:27Z heisig joined #lisp 2019-09-12T06:38:04Z ljavorsk joined #lisp 2019-09-12T06:43:19Z nostoi quit (Quit: Verlassend) 2019-09-12T06:44:52Z ldb quit (Quit: leaving) 2019-09-12T06:45:39Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-12T06:47:48Z fragamus joined #lisp 2019-09-12T06:48:49Z moldybits joined #lisp 2019-09-12T06:49:35Z elderK quit (Quit: WeeChat 1.9) 2019-09-12T06:52:27Z fragamus quit (Ping timeout: 246 seconds) 2019-09-12T06:53:21Z cacofonix joined #lisp 2019-09-12T06:53:36Z cacofonix quit (Remote host closed the connection) 2019-09-12T06:54:11Z newbie quit (Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/) 2019-09-12T06:54:48Z Rabid_Python joined #lisp 2019-09-12T06:58:11Z Necktwi joined #lisp 2019-09-12T06:58:56Z nowhere_man quit (Ping timeout: 276 seconds) 2019-09-12T06:59:14Z aasmundo joined #lisp 2019-09-12T06:59:15Z ralt joined #lisp 2019-09-12T06:59:58Z Mandus left #lisp 2019-09-12T07:14:54Z scymtym joined #lisp 2019-09-12T07:18:37Z edgar-rft quit (Read error: Connection reset by peer) 2019-09-12T07:19:20Z edgar-rft joined #lisp 2019-09-12T07:19:35Z Oladon_wfh quit (Ping timeout: 260 seconds) 2019-09-12T07:24:38Z vap1 joined #lisp 2019-09-12T07:26:38Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-12T07:39:36Z jonatack quit (Quit: jonatack) 2019-09-12T07:39:50Z varjag joined #lisp 2019-09-12T07:40:57Z ggole joined #lisp 2019-09-12T07:42:09Z elderK joined #lisp 2019-09-12T07:44:58Z Necktwi quit (Remote host closed the connection) 2019-09-12T07:48:26Z khisanth_ quit (Ping timeout: 240 seconds) 2019-09-12T07:49:28Z karlosz quit (Quit: karlosz) 2019-09-12T07:51:58Z edgar-rft quit (Quit: Leaving) 2019-09-12T07:58:32Z raghavgururajan quit (Read error: Connection reset by peer) 2019-09-12T08:02:09Z khisanth_ joined #lisp 2019-09-12T08:03:53Z hhdave joined #lisp 2019-09-12T08:08:10Z refpga quit (Read error: Connection reset by peer) 2019-09-12T08:09:08Z ljavorsk quit (Ping timeout: 276 seconds) 2019-09-12T08:10:17Z schjetne joined #lisp 2019-09-12T08:16:12Z aautcsh quit (Quit: aautcsh) 2019-09-12T08:16:56Z varjag quit (Ping timeout: 276 seconds) 2019-09-12T08:17:50Z cartwright quit (Remote host closed the connection) 2019-09-12T08:19:48Z cartwright joined #lisp 2019-09-12T08:29:42Z datajerk quit (Ping timeout: 268 seconds) 2019-09-12T08:32:15Z shifty joined #lisp 2019-09-12T08:34:30Z datajerk joined #lisp 2019-09-12T08:37:05Z quazimodo quit (Ping timeout: 265 seconds) 2019-09-12T08:38:53Z quazimodo joined #lisp 2019-09-12T08:48:36Z fragamus joined #lisp 2019-09-12T08:53:05Z iovec joined #lisp 2019-09-12T08:53:14Z fragamus quit (Ping timeout: 240 seconds) 2019-09-12T08:54:41Z nanoz joined #lisp 2019-09-12T08:55:17Z Lord_of_Life quit (Ping timeout: 276 seconds) 2019-09-12T08:56:25Z Lord_of_Life joined #lisp 2019-09-12T09:00:45Z varjag joined #lisp 2019-09-12T09:05:54Z raghavgururajan joined #lisp 2019-09-12T09:07:18Z seok joined #lisp 2019-09-12T09:07:42Z seok: does flet and labels have implicit progn? 2019-09-12T09:08:12Z seok: can I do something like this? (labels ((f () (form1) (form2))) 2019-09-12T09:08:16Z saturn2: yes 2019-09-12T09:08:24Z seok: Nice, thanks 2019-09-12T09:08:26Z no-defun-allowed: Yes, the same as DEFUN and LAMBDA. 2019-09-12T09:15:43Z ralt: I wish unwind-protect had an inverted implicit progn 2019-09-12T09:15:58Z ralt: i.e. implicit for everything-but-last instead of implicit for everything-but-first 2019-09-12T09:18:28Z patrixl quit (Quit: ERC (IRC client for Emacs 26.3)) 2019-09-12T09:19:58Z beach: clhs flet 2019-09-12T09:19:58Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/s_flet_.htm 2019-09-12T09:20:08Z beach: soek: Look at that page. 2019-09-12T09:20:46Z beach: Do you you see the local-form* and the form*? 2019-09-12T09:21:42Z beach: The * is the Kleene start, and can be read as "zero or more". 2019-09-12T09:21:50Z heisig: ralt: I have two replies for you, that are almost universally applicable to all 'issues' in Common Lisp: 2019-09-12T09:22:10Z heisig: 1. The standardization committee was full of brilliant people, they probably had their reasons. 2019-09-12T09:22:19Z heisig: 2. This issue can be fixed with a simple macro. 2019-09-12T09:22:43Z ralt: 2. unwind-protect2 just doesn't have the same feeling to it 2019-09-12T09:24:00Z heisig: Heck, you can even make your own ralt-cl package that shadows unwind-protect with something of your choice :) 2019-09-12T09:24:27Z ralt: that brings its own set of problems :) 2019-09-12T09:25:00Z saturn2: i imagine the reason is consistency 2019-09-12T09:25:01Z ralt: that wasn't really an "issue", just random venting 2019-09-12T09:26:24Z heisig: You could just ignore syntactic issues altogether. That is what I do nowadays, after realizing how much brainpower I have already wasted on this topic. 2019-09-12T09:27:11Z ralt: meh, where's the fun if we can't argue on random syntactic issues :) 2019-09-12T09:27:17Z saturn2: you could always use (unwind-protect (progn ...) (progn ...)) 2019-09-12T09:27:28Z saturn2: that way it's nice and symmetrical 2019-09-12T09:27:37Z heisig: saturn2: Aaargh. 2019-09-12T09:27:47Z saturn2: (i'm kidding) 2019-09-12T09:28:18Z beach: seok: And look a bit further down the page: local-forms, forms---an implicit progn. 2019-09-12T09:29:10Z ralt: saturn2: I'm trying to think of a snarky answer but falling short :P 2019-09-12T09:36:32Z superkumasan quit (Ping timeout: 265 seconds) 2019-09-12T09:37:22Z m00natic joined #lisp 2019-09-12T09:40:52Z kajo quit (Quit: From my rotting body, flowers shall grow and I am in them and that is eternity. -- E. M.) 2019-09-12T09:47:00Z edgar-rft joined #lisp 2019-09-12T09:48:20Z guna_ joined #lisp 2019-09-12T09:49:06Z xantoz quit (Ping timeout: 258 seconds) 2019-09-12T09:49:06Z guna quit (Ping timeout: 258 seconds) 2019-09-12T09:49:15Z dxtr quit (Ping timeout: 268 seconds) 2019-09-12T09:50:50Z dxtr joined #lisp 2019-09-12T09:50:59Z xantoz joined #lisp 2019-09-12T09:51:48Z no-defun-allowed: Has anyone made a Common Lisp ugly printer? Not an obsfucator, the read in form should be the same as the form printed, but one that tries its best to write the least aesthetically pleasing output as possible. 2019-09-12T09:53:08Z no-defun-allowed: Maybe it would leave dangling parens, produce odd indentation, that kind of thing. 2019-09-12T09:53:54Z gxt quit (Quit: WeeChat 2.6) 2019-09-12T09:56:41Z heisig: no-defun-allowed: Given that it is possible to have reader macros in the printed forms, such a tool could produce VERY ugly results. 2019-09-12T09:57:10Z heisig: I think that is also the reason why there is no obfuscated Lisp code contest. 2019-09-12T09:57:17Z heisig: It would be too easy. 2019-09-12T09:57:50Z no-defun-allowed: True. I'll keep my ugliness to things that make #lisp sad when reading code. then. 2019-09-12T10:06:12Z cosimone joined #lisp 2019-09-12T10:07:24Z quazimodo quit (Ping timeout: 246 seconds) 2019-09-12T10:08:18Z quazimodo joined #lisp 2019-09-12T10:13:33Z cosimone quit (Quit: Leaving) 2019-09-12T10:14:27Z cosimone joined #lisp 2019-09-12T10:19:08Z alexanderbarbosa quit (Ping timeout: 276 seconds) 2019-09-12T10:19:35Z makomo joined #lisp 2019-09-12T10:28:14Z ralt: I have a funny unix guess game 2019-09-12T10:29:30Z ralt: (DON'T RUN THIS AT HOME, IT'LL BRICK YOUR OS) if you run `chmod -x /lib64/ld-linux-x86-64.so.2`, how can you fix it? the constraints being that you ran this in bash, and you can't reboot into another OS. 2019-09-12T10:29:53Z no-defun-allowed: install mezzano 2019-09-12T10:30:09Z ralt: I did mention "unix" :) 2019-09-12T10:30:39Z no-defun-allowed: this isn't #unix 2019-09-12T10:31:08Z ralt: ¯\_(ツ)_/¯ 2019-09-12T10:31:12Z no-defun-allowed: alternately, wait for Schmidt to refurbish another lispm and buy that instead 2019-09-12T10:35:43Z no-defun-allowed: (but seriously, maybe hope you have statically linked Busybox and a root shell lying around?) 2019-09-12T10:37:41Z ironbutt joined #lisp 2019-09-12T10:39:50Z ralt: ... pretty much 2019-09-12T10:40:53Z ir0nbutt joined #lisp 2019-09-12T10:43:38Z ironbutt quit (Ping timeout: 245 seconds) 2019-09-12T10:59:28Z hhdave quit (Ping timeout: 245 seconds) 2019-09-12T11:01:33Z hhdave joined #lisp 2019-09-12T11:11:54Z aautcsh joined #lisp 2019-09-12T11:16:57Z cosimone quit (Quit: Leaving) 2019-09-12T11:18:06Z orivej quit (Ping timeout: 246 seconds) 2019-09-12T11:21:47Z cosimone joined #lisp 2019-09-12T11:37:43Z amerlyq joined #lisp 2019-09-12T11:38:24Z prxq joined #lisp 2019-09-12T11:40:18Z unk joined #lisp 2019-09-12T11:43:03Z EvW joined #lisp 2019-09-12T11:47:02Z cosimone quit (Remote host closed the connection) 2019-09-12T11:47:22Z cosimone joined #lisp 2019-09-12T11:52:14Z cosimone quit (Client Quit) 2019-09-12T11:55:31Z analogue joined #lisp 2019-09-12T11:56:24Z raghavgururajan quit (Read error: Connection reset by peer) 2019-09-12T12:06:27Z fragamus joined #lisp 2019-09-12T12:07:48Z hhdave quit (Ping timeout: 245 seconds) 2019-09-12T12:08:05Z hhdave joined #lisp 2019-09-12T12:11:24Z dddddd joined #lisp 2019-09-12T12:11:41Z fragamus quit (Ping timeout: 265 seconds) 2019-09-12T12:20:55Z gabiruh_ joined #lisp 2019-09-12T12:21:39Z fragamus joined #lisp 2019-09-12T12:22:15Z iovec quit (Quit: Connection closed for inactivity) 2019-09-12T12:24:39Z gabiruh quit (Ping timeout: 268 seconds) 2019-09-12T12:27:11Z fragamus quit (Ping timeout: 276 seconds) 2019-09-12T12:28:48Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-12T12:31:21Z eigenhombre joined #lisp 2019-09-12T12:32:47Z eigenhombre: Hi, is there some magic required to load libraries requiring FFI in SBCL? When I "(ql:quickload :cl-charms)" I get "Error while trying to load definition for system cl-charms frompathname/Users/eigenhombre/quicklisp/dists/quicklisp/software/cl-charms-20181210-git/cl-charms.asd: COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "cffi" "src" 2019-09-12T12:32:47Z eigenhombre: "cffi-sbcl"> [Condition of type ASDF/FIND-SYSTEM:LOAD-SYSTEM-DEFINITION-ERROR]" 2019-09-12T12:33:42Z eigenhombre: (Sorry, IRC and Common Lisp newbie). This happens on OS X whether I install SBCL with Homebrew or from source. Other quicklisp library installs work fine. 2019-09-12T12:37:49Z red-dot joined #lisp 2019-09-12T12:41:53Z Aruseus joined #lisp 2019-09-12T12:48:13Z ravenousmoose joined #lisp 2019-09-12T12:49:14Z analogue_ joined #lisp 2019-09-12T12:49:32Z fragamus joined #lisp 2019-09-12T12:51:53Z analogue quit (Ping timeout: 276 seconds) 2019-09-12T12:53:45Z xkapastel joined #lisp 2019-09-12T12:55:02Z ck_: eigenhombre: what are your eigensombreros? 2019-09-12T12:55:30Z ck_: I am on osx as well, can load cl-charms without problems through quicklisp. It compiles some c sources with clang. 2019-09-12T12:56:02Z ck_: is it possible that that part didn't work for you? Also, try (ql:quickload :cl-charms :verbose T) to see more information 2019-09-12T12:59:47Z cosimone joined #lisp 2019-09-12T13:04:12Z Bike joined #lisp 2019-09-12T13:04:25Z bitmapper joined #lisp 2019-09-12T13:04:50Z icylisper joined #lisp 2019-09-12T13:12:28Z Xach: This is an early error - it's when loading the prerequisites involving cffi 2019-09-12T13:16:25Z aautcsh quit (Quit: aautcsh) 2019-09-12T13:30:05Z eich joined #lisp 2019-09-12T13:30:53Z user___ quit (Ping timeout: 276 seconds) 2019-09-12T13:32:25Z m00natic quit (Remote host closed the connection) 2019-09-12T13:33:05Z analogue_ quit (Quit: Leaving) 2019-09-12T13:33:30Z iovec joined #lisp 2019-09-12T13:35:33Z georgie_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-12T13:41:31Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2019-09-12T13:44:16Z warweasle joined #lisp 2019-09-12T13:47:33Z ravenousmoose quit (Ping timeout: 246 seconds) 2019-09-12T13:54:28Z icylisper quit (Ping timeout: 245 seconds) 2019-09-12T13:59:54Z flamebeard quit 2019-09-12T14:12:02Z awolven quit (Ping timeout: 265 seconds) 2019-09-12T14:13:40Z ironbutt joined #lisp 2019-09-12T14:15:15Z ir0nbutt quit (Ping timeout: 240 seconds) 2019-09-12T14:17:19Z mindCrime_ joined #lisp 2019-09-12T14:17:22Z dale_ joined #lisp 2019-09-12T14:17:43Z dale_ is now known as dale 2019-09-12T14:18:20Z kamog quit (Read error: Connection reset by peer) 2019-09-12T14:22:53Z stepnem quit (Ping timeout: 276 seconds) 2019-09-12T14:23:44Z anddam joined #lisp 2019-09-12T14:26:09Z ym joined #lisp 2019-09-12T14:27:08Z orivej joined #lisp 2019-09-12T14:38:36Z gxt joined #lisp 2019-09-12T14:41:27Z Cymew quit (Ping timeout: 246 seconds) 2019-09-12T14:44:59Z smazga joined #lisp 2019-09-12T14:47:30Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.2)) 2019-09-12T14:47:39Z fragamus quit (Ping timeout: 240 seconds) 2019-09-12T14:48:15Z elfmacs joined #lisp 2019-09-12T14:48:28Z Guest14630 joined #lisp 2019-09-12T14:48:35Z Guest14630: anyone here have a keyboardio? 2019-09-12T14:49:00Z sjl_ joined #lisp 2019-09-12T14:50:18Z EvW quit (Ping timeout: 245 seconds) 2019-09-12T14:50:43Z makomo quit (Ping timeout: 245 seconds) 2019-09-12T14:51:23Z elfmacs_ joined #lisp 2019-09-12T14:51:27Z elfmacs quit (Read error: Connection reset by peer) 2019-09-12T15:01:58Z paul0 quit (Ping timeout: 245 seconds) 2019-09-12T15:07:54Z Inline joined #lisp 2019-09-12T15:08:07Z karlosz joined #lisp 2019-09-12T15:10:17Z gareppa joined #lisp 2019-09-12T15:10:43Z EvW joined #lisp 2019-09-12T15:10:49Z anddam: hello 2019-09-12T15:11:38Z fragamus joined #lisp 2019-09-12T15:12:04Z rippa joined #lisp 2019-09-12T15:12:17Z elfmacs_ quit (Ping timeout: 276 seconds) 2019-09-12T15:12:58Z aautcsh joined #lisp 2019-09-12T15:15:20Z Shinmera: Is that a new common lisp implementation 2019-09-12T15:16:03Z fragamus quit (Ping timeout: 240 seconds) 2019-09-12T15:16:53Z stepnem joined #lisp 2019-09-12T15:23:16Z noobineer1 quit (Ping timeout: 276 seconds) 2019-09-12T15:23:55Z vlatkoB quit (Remote host closed the connection) 2019-09-12T15:23:58Z noobineer joined #lisp 2019-09-12T15:25:12Z adom` joined #lisp 2019-09-12T15:25:23Z varjag joined #lisp 2019-09-12T15:25:49Z vlatkoB joined #lisp 2019-09-12T15:27:34Z aautcsh quit (Quit: aautcsh) 2019-09-12T15:32:07Z yoeljacobsen joined #lisp 2019-09-12T15:34:39Z aautcsh joined #lisp 2019-09-12T15:35:22Z aautcsh quit (Client Quit) 2019-09-12T15:35:42Z schjetne quit (Ping timeout: 246 seconds) 2019-09-12T15:37:16Z gareppa quit (Quit: Leaving) 2019-09-12T15:37:17Z fragamus joined #lisp 2019-09-12T15:37:29Z gareppa joined #lisp 2019-09-12T15:39:21Z papachan joined #lisp 2019-09-12T15:40:05Z cosimone quit (Remote host closed the connection) 2019-09-12T15:40:27Z cosimone joined #lisp 2019-09-12T15:42:25Z fragamus quit (Ping timeout: 265 seconds) 2019-09-12T15:44:07Z fragamus joined #lisp 2019-09-12T15:46:16Z refpga joined #lisp 2019-09-12T15:49:21Z EvW quit (Ping timeout: 246 seconds) 2019-09-12T15:49:59Z papachan quit (Ping timeout: 276 seconds) 2019-09-12T15:50:51Z paul0 joined #lisp 2019-09-12T15:51:16Z iovec quit 2019-09-12T15:54:30Z chipolux joined #lisp 2019-09-12T15:58:56Z Oladon_work joined #lisp 2019-09-12T16:00:25Z LiamH joined #lisp 2019-09-12T16:01:08Z stepnem quit (Ping timeout: 245 seconds) 2019-09-12T16:01:37Z karlosz quit (Quit: karlosz) 2019-09-12T16:02:07Z karlosz joined #lisp 2019-09-12T16:02:15Z karlosz quit (Remote host closed the connection) 2019-09-12T16:02:53Z stepnem joined #lisp 2019-09-12T16:08:38Z Xach: I still can't get over how CLISP's CL:REQUIRE is not a plain function. 2019-09-12T16:11:24Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-12T16:12:02Z Bike: it's not? 2019-09-12T16:12:30Z Bike: "At compile time, (REQUIRE #P"foo") forms are treated specially" oh no. 2019-09-12T16:12:44Z shifty quit (Ping timeout: 276 seconds) 2019-09-12T16:13:10Z esrse joined #lisp 2019-09-12T16:16:30Z pjb quit (Remote host closed the connection) 2019-09-12T16:17:58Z pjb joined #lisp 2019-09-12T16:18:59Z bitmapper quit (Read error: Connection reset by peer) 2019-09-12T16:19:08Z red-dot joined #lisp 2019-09-12T16:19:19Z bitmapper joined #lisp 2019-09-12T16:19:58Z manualcrank joined #lisp 2019-09-12T16:23:07Z Xach: Oh yes 2019-09-12T16:24:39Z DataLinkDroid2 joined #lisp 2019-09-12T16:25:13Z noobineer quit (Read error: Connection reset by peer) 2019-09-12T16:25:40Z DataLinkDroid quit (Ping timeout: 264 seconds) 2019-09-12T16:25:42Z noobineer joined #lisp 2019-09-12T16:30:35Z aautcsh joined #lisp 2019-09-12T16:31:03Z rmg joined #lisp 2019-09-12T16:31:34Z rmg is now known as rasputin 2019-09-12T16:31:35Z esrse quit (Ping timeout: 276 seconds) 2019-09-12T16:31:38Z pjb: Well, require with a single argument is implementation dependent; in that case, I don't see how getting different results when evaluating it at compilation-time or at run-time makes any difference. If you want conforming results, pass it the path to load! 2019-09-12T16:32:10Z rasputin is now known as hacker-n-sickle 2019-09-12T16:32:14Z gravicappa quit (Ping timeout: 276 seconds) 2019-09-12T16:32:18Z pjb: Bike: also, note that #P"foo" is not a string designator. 2019-09-12T16:35:13Z shka_ joined #lisp 2019-09-12T16:35:30Z Finnfinn joined #lisp 2019-09-12T16:36:27Z hhdave quit (Quit: hhdave) 2019-09-12T16:36:39Z hacker-n-sickle is now known as rmg1917 2019-09-12T16:38:33Z gareppa quit (Quit: Leaving) 2019-09-12T16:38:46Z gareppa joined #lisp 2019-09-12T16:43:47Z makomo joined #lisp 2019-09-12T16:44:21Z lucasb joined #lisp 2019-09-12T16:45:26Z beach: Hello anddam. 2019-09-12T16:48:45Z heisig quit (Quit: Leaving) 2019-09-12T16:54:03Z dyelar quit (Quit: Leaving.) 2019-09-12T16:57:35Z eich quit (Ping timeout: 276 seconds) 2019-09-12T16:57:52Z MrBismuth joined #lisp 2019-09-12T17:00:17Z jonatack joined #lisp 2019-09-12T17:00:50Z MrBusiness3 quit (Ping timeout: 276 seconds) 2019-09-12T17:02:58Z Harag joined #lisp 2019-09-12T17:04:46Z Harag: I submitted a project to quicklisp, and it passed build but since then there have been some bug fixes, will a fresh pull be done before the ql release or do I need to submit an update request in the issues? 2019-09-12T17:07:30Z Xach: Harag: it will be updated automatically 2019-09-12T17:07:49Z Xach: Right before the new release 2019-09-12T17:09:03Z Harag: Xach: kewl! Thanx 2019-09-12T17:14:33Z kajo joined #lisp 2019-09-12T17:17:02Z EvW joined #lisp 2019-09-12T17:18:42Z karlosz joined #lisp 2019-09-12T17:23:55Z fragamus quit (Ping timeout: 265 seconds) 2019-09-12T17:25:04Z akoana joined #lisp 2019-09-12T17:28:30Z munksgaard[m]: Is anyone here associated with lisp.se? All links I can find seem to download immediately instead of opening in the browser: (fragment :421d7a1490788a2c1c1785dff7c479ddb501a0ad97b7bbf399f7abae69abc0f9) 2019-09-12T17:28:47Z munksgaard[m]: Oops, I mean to link lisp.se 2019-09-12T17:28:49Z munksgaard[m]: :D 2019-09-12T17:29:21Z raghavgururajan joined #lisp 2019-09-12T17:36:51Z sjl quit (Quit: WeeChat 2.2-dev) 2019-09-12T17:38:14Z rmg1917: Is there a way to configure SLIME so that M-x slime opens a REPL buffer in a window on the bottom of the screen, instead of the entire right half of the screen? I'm reading through slime.el and I can't figure out exactly where the new window is created and selected (not super familiar with ELisp or emacs). Is it possible to configure this? Which 2019-09-12T17:38:15Z rmg1917: function calls should I be looking for? 2019-09-12T17:39:57Z Necktwi joined #lisp 2019-09-12T17:41:34Z karlosz quit (Quit: karlosz) 2019-09-12T17:41:45Z Shinmera: No, but you can just change the layout so it's at the bottom. C-x 1 C-x 2 C-x o C-x b repl RET 2019-09-12T17:42:05Z karlosz joined #lisp 2019-09-12T17:42:12Z karlosz quit (Remote host closed the connection) 2019-09-12T17:43:05Z nowhere_man joined #lisp 2019-09-12T17:43:25Z Shinmera: The way new windows pop up is An Emacs Thing™, and it can get a lot more annoying than that, I'm afraid. 2019-09-12T17:44:08Z rmg1917: Well, no one ever said programming was easy. Thanks for the tip! 2019-09-12T17:44:46Z White_Flame: nor did anyone ever said emacs was easy, which is more apropos :-P 2019-09-12T17:45:12Z Shinmera: Emacs' new window... algorithm (?) is so terrible I don't know if it's sadistic on purpose or just incompetent. 2019-09-12T17:45:13Z Harag: Xach: ...documentation for projects...what would you suggest I use to generate docs? 2019-09-12T17:45:24Z dyelar joined #lisp 2019-09-12T17:48:33Z Shinmera: Can't generate docs, you gotta write them, sorry. Otherwise entire swaths of people would be out of a job already! 2019-09-12T17:48:50Z Harag: lol 2019-09-12T17:49:12Z gravicappa joined #lisp 2019-09-12T17:50:12Z Harag: Shinmera: ok so what is the compromise .. what generator gives you the basics that you can flesh out? 2019-09-12T17:51:02Z cosimone quit (Quit: Leaving) 2019-09-12T17:51:29Z Xach: Harag: I don't know, sorry. 2019-09-12T17:51:33Z paul0 quit (Ping timeout: 245 seconds) 2019-09-12T17:51:36Z Shinmera: I don't know what you mean or want, so I can't tell you. I use Staple to aggregate documentation into a page to publish. 2019-09-12T17:52:03Z Shinmera: Otherwise I just write a lengthy readme and docstrings. 2019-09-12T17:53:28Z schjetne joined #lisp 2019-09-12T17:54:02Z cosimone joined #lisp 2019-09-12T17:54:15Z cosimone quit (Client Quit) 2019-09-12T17:54:51Z adom` quit (Remote host closed the connection) 2019-09-12T17:55:33Z analogue joined #lisp 2019-09-12T17:58:51Z schjetne quit (Ping timeout: 240 seconds) 2019-09-12T17:58:51Z kajo quit (Ping timeout: 246 seconds) 2019-09-12T17:58:53Z Lycurgus joined #lisp 2019-09-12T17:59:09Z gareppa quit (Quit: Leaving) 2019-09-12T17:59:23Z gareppa joined #lisp 2019-09-12T17:59:51Z gareppa quit (Remote host closed the connection) 2019-09-12T18:00:40Z schjetne joined #lisp 2019-09-12T18:01:28Z kajo joined #lisp 2019-09-12T18:14:40Z Harag: Shinmera: ...urg.. tried Staple ...my doc strings made sense in the context of the code but without the context (surrounding code) they become nonsensical... 2019-09-12T18:16:21Z gingerale joined #lisp 2019-09-12T18:29:15Z sauvin quit (Ping timeout: 240 seconds) 2019-09-12T18:30:51Z gareppa joined #lisp 2019-09-12T18:32:19Z papachan joined #lisp 2019-09-12T18:36:39Z bitmapper quit (Ping timeout: 246 seconds) 2019-09-12T18:40:51Z Necktwi quit (Ping timeout: 240 seconds) 2019-09-12T18:54:30Z gravicappa quit (Ping timeout: 246 seconds) 2019-09-12T18:58:56Z nanoz quit (Quit: Leaving) 2019-09-12T19:01:16Z vms14 joined #lisp 2019-09-12T19:02:27Z lavaflow quit (Ping timeout: 240 seconds) 2019-09-12T19:03:01Z analogue quit (Remote host closed the connection) 2019-09-12T19:03:05Z ggole quit (Quit: Leaving) 2019-09-12T19:07:03Z tuscland joined #lisp 2019-09-12T19:07:06Z kajo quit (Ping timeout: 246 seconds) 2019-09-12T19:07:08Z tuscland: minion: registration, please? 2019-09-12T19:07:08Z minion: The URL https://gitlab.common-lisp.net/users/sign_in?secret=56862810 will be valid until 19:15 UTC. 2019-09-12T19:10:31Z tuscland left #lisp 2019-09-12T19:12:47Z Necktwi joined #lisp 2019-09-12T19:14:50Z nowhere_man quit (Ping timeout: 240 seconds) 2019-09-12T19:15:05Z raghavgururajan quit (Read error: Connection reset by peer) 2019-09-12T19:17:38Z Lycurgus quit (Quit: Exeunt) 2019-09-12T19:18:12Z alexanderbarbosa joined #lisp 2019-09-12T19:28:37Z vms14 quit (Remote host closed the connection) 2019-09-12T19:30:37Z sjl_ quit (Quit: WeeChat 2.3-dev) 2019-09-12T19:32:33Z kajo joined #lisp 2019-09-12T19:32:35Z vlatkoB quit (Remote host closed the connection) 2019-09-12T19:39:18Z vsync quit (Ping timeout: 246 seconds) 2019-09-12T19:39:43Z vsync_ joined #lisp 2019-09-12T19:43:00Z paul0 joined #lisp 2019-09-12T19:44:01Z liberiga joined #lisp 2019-09-12T19:44:17Z Hsab_Selur joined #lisp 2019-09-12T19:45:02Z adom` joined #lisp 2019-09-12T19:50:00Z lavaflow joined #lisp 2019-09-12T19:50:18Z scymtym quit (Ping timeout: 245 seconds) 2019-09-12T19:56:17Z cosimone joined #lisp 2019-09-12T19:58:16Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-12T20:01:00Z adom` quit (Ping timeout: 246 seconds) 2019-09-12T20:01:12Z munksgaard[m]: I'm trying to use `(ironclad:byte-array-to-hex-string #(44 242 77 186 95))` but ironclad complains that I'm not supplying a `(vector (unsigned-byte 8))`. How do I coerce the array correctly? 2019-09-12T20:01:43Z munksgaard[m]: `(type-of #(44 242 77 186 95))` on my system returns `(simple-vector 32)` 2019-09-12T20:02:29Z papachan quit (Quit: Leaving) 2019-09-12T20:02:56Z munksgaard[m]: Or rather, how do I convert the array from `(simple-vector 32)` to `(vector (unsigned-byte 8))` 2019-09-12T20:03:23Z Bike: you can `(coerce vec '(vector (unsigned-byte 8)))` 2019-09-12T20:04:16Z Bike: simple-vector = (vector t), i.e. a vector of objects. a (vector (unsigned-byte 8)) is specialized to only deal with bytes, so it's stored more efficiently. 2019-09-12T20:04:26Z Bike: #() always makes a (vector t). 2019-09-12T20:04:34Z nanoz joined #lisp 2019-09-12T20:04:39Z Bike: er, simple-vector is actually (simple-array t (*)) but close enough 2019-09-12T20:05:03Z iovec joined #lisp 2019-09-12T20:05:08Z cosimone quit (Remote host closed the connection) 2019-09-12T20:05:42Z cosimone joined #lisp 2019-09-12T20:09:37Z adom` joined #lisp 2019-09-12T20:11:29Z permagreen quit (Remote host closed the connection) 2019-09-12T20:11:34Z gareppa quit (Quit: Leaving) 2019-09-12T20:11:38Z unk left #lisp 2019-09-12T20:13:15Z shka_ quit (Ping timeout: 240 seconds) 2019-09-12T20:17:35Z refpga quit (Remote host closed the connection) 2019-09-12T20:18:10Z refpga joined #lisp 2019-09-12T20:19:08Z cosimone quit (Remote host closed the connection) 2019-09-12T20:19:27Z cosimone joined #lisp 2019-09-12T20:20:43Z whartung: is there a technique where you have an elaborate macro (or macro system), and within the scope of the macro, there are DEFUNs that are scoped, but outside of the macro, they are not. 2019-09-12T20:20:53Z rmg1917 left #lisp 2019-09-12T20:21:00Z ralt: whartung: flet? 2019-09-12T20:21:01Z whartung: (mymacro (x y) (dothing x)) 2019-09-12T20:21:30Z whartung: honestly I’ve never used it, I would use flet within the macro to wrap the code? 2019-09-12T20:21:41Z ralt: flet is essentially "scoped defun" 2019-09-12T20:21:58Z whartung: yea 2019-09-12T20:22:17Z ralt: so yes, something like (defmacro foo () `(flet ((bar () (...))) (bar x))) 2019-09-12T20:22:34Z whartung: yea, that sounds good. I’ll look in to that. Thank you. 2019-09-12T20:22:42Z pnp joined #lisp 2019-09-12T20:23:14Z mbrumlow quit (Quit: %wubba lubba dub dub%) 2019-09-12T20:24:43Z whartung: so LABELS is to FLET as LET* is to LET? 2019-09-12T20:24:58Z fengshaun quit (Quit: bibi!) 2019-09-12T20:25:55Z Bike: almost, but labels also allows recursive definitions, and for earlier definitions to refer to later ones 2019-09-12T20:27:53Z whartung: right, ok. thx 2019-09-12T20:32:03Z moldybits: oh, never considered that option 2019-09-12T20:36:40Z whartung: yea, I knew things like FLET existed, I just never had to apply them anywhere. 2019-09-12T20:36:40Z nicdev joined #lisp 2019-09-12T20:36:47Z Xach: ????? 2019-09-12T20:37:03Z Xach: I use flet all the dang time. (though many times i 'upgrade' to labels) 2019-09-12T20:37:22Z whartung: I’ve never felt the need for a “local” function in my dabblings, that’s all 2019-09-12T20:39:11Z Oladon_work: :O 2019-09-12T20:39:41Z Xach: it's almost the 17th anniversary of guerilla lisp: the opus 2019-09-12T20:39:51Z whartung: wow 2019-09-12T20:39:59Z nowhere_man joined #lisp 2019-09-12T20:40:03Z whartung: well, I did just celebrate my 19th Wedding Anniv. 2019-09-12T20:40:51Z fragamus joined #lisp 2019-09-12T20:44:14Z _death: what's wrong with plain defuns? 2019-09-12T20:44:20Z cosimone quit (Quit: Leaving) 2019-09-12T20:44:27Z Necktwi quit (Remote host closed the connection) 2019-09-12T20:44:29Z _death: (out of the defmacro) 2019-09-12T20:44:46Z whartung: what do you mean? 2019-09-12T20:45:28Z fragamus quit (Ping timeout: 265 seconds) 2019-09-12T20:45:31Z _death: not using local definitions 2019-09-12T20:46:57Z whartung: well, for me, I wanted a “kinda sorta DSL”, so I wanted capabilities only within the macro, and I didn’t want to have to code walk the thing to hunt them down. and it’s “nice”, in this case, to have a set of functions that don’t pollute the global name space since they’re not applicable outside of the macro. 2019-09-12T20:49:29Z _death: well, if you mean local definitions in the expansion, that's ok.. though sometimes it's a good idea to also provide global definitions that error.. I thought you might be talking about definitions to help in computing the expansion 2019-09-12T20:50:01Z ljavorsk joined #lisp 2019-09-12T20:52:58Z whartung: yea, basically you (should) be able to write normal CL within the sections of the macro, but I also want some “special functions”, that are part of the DSL, to be avaiable to those routines as well. 2019-09-12T20:53:35Z Lord_of_Life_ joined #lisp 2019-09-12T20:54:06Z _death: yeah, like CL's call-next-method/next-method-p, for instance 2019-09-12T20:56:09Z whartung: yea 2019-09-12T20:56:24Z Xach: loop-finish 2019-09-12T20:56:35Z Lord_of_Life quit (Ping timeout: 265 seconds) 2019-09-12T20:56:41Z Lord_of_Life_ is now known as Lord_of_Life 2019-09-12T20:57:34Z whartung: honestlly, thinkikng about it, not sure how that works in my case. I guess I expand the macro in to a function, and FLET the defitnitions as part of the expansion. 2019-09-12T20:57:45Z whartung: I’ll have to suss it out and play with it 2019-09-12T20:57:51Z ljavorsk quit (Remote host closed the connection) 2019-09-12T20:58:06Z munksgaard[m]: Thank you beach :) 2019-09-12T20:58:25Z munksgaard[m]: Sorry, meant to thank Bike! 2019-09-12T20:58:57Z mrSpec quit (Ping timeout: 268 seconds) 2019-09-12T20:59:22Z mrSpec joined #lisp 2019-09-12T20:59:46Z mrSpec is now known as Guest61540 2019-09-12T21:00:32Z ljavorsk joined #lisp 2019-09-12T21:01:48Z Bike: no problem 2019-09-12T21:02:08Z bitmapper joined #lisp 2019-09-12T21:02:13Z Bike: don't remember what you're thanking me for but i'm confident whatever i did was perfectly great 2019-09-12T21:02:22Z varjag quit (Quit: ERC (IRC client for Emacs 26.1)) 2019-09-12T21:03:08Z munksgaard[m]: You helped me with a simple-vector of bytes :) 2019-09-12T21:03:18Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-12T21:03:46Z whartung: You’re just that kind of person, Bike — who can doubt you :) 2019-09-12T21:08:14Z sjl joined #lisp 2019-09-12T21:11:00Z adom` quit (Ping timeout: 246 seconds) 2019-09-12T21:11:00Z ym quit (Read error: Connection reset by peer) 2019-09-12T21:13:59Z ljavorsk quit (Ping timeout: 265 seconds) 2019-09-12T21:16:35Z fengshaun joined #lisp 2019-09-12T21:19:13Z d4ryus quit (Ping timeout: 245 seconds) 2019-09-12T21:26:58Z EvW quit (Ping timeout: 245 seconds) 2019-09-12T21:28:03Z amerlyq quit (Quit: amerlyq) 2019-09-12T21:30:28Z liberiga quit (Ping timeout: 260 seconds) 2019-09-12T21:32:46Z Aruseus quit (Remote host closed the connection) 2019-09-12T21:34:22Z Bike quit (Quit: Bike) 2019-09-12T21:35:15Z mindCrime_ quit (Ping timeout: 265 seconds) 2019-09-12T21:39:07Z khisanth_ quit (Ping timeout: 265 seconds) 2019-09-12T21:45:53Z adip joined #lisp 2019-09-12T21:46:14Z dale quit (Quit: dale) 2019-09-12T21:46:40Z dale joined #lisp 2019-09-12T21:48:31Z pnp quit (Ping timeout: 260 seconds) 2019-09-12T21:49:09Z akoana left #lisp 2019-09-12T21:51:47Z khisanth_ joined #lisp 2019-09-12T22:00:18Z lavaflow quit (Ping timeout: 245 seconds) 2019-09-12T22:02:17Z lavaflow joined #lisp 2019-09-12T22:02:41Z wooden quit (Quit: Lost terminal) 2019-09-12T22:04:44Z nanoz quit (Ping timeout: 265 seconds) 2019-09-12T22:05:37Z Bike joined #lisp 2019-09-12T22:17:23Z schjetne quit (Ping timeout: 245 seconds) 2019-09-12T22:19:32Z scymtym joined #lisp 2019-09-12T22:21:38Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-12T22:24:00Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-12T22:26:59Z adip quit (Read error: No route to host) 2019-09-12T22:27:41Z libertyprime quit (Quit: leaving) 2019-09-12T22:34:59Z red-dot joined #lisp 2019-09-12T22:43:24Z karswell quit (Ping timeout: 265 seconds) 2019-09-12T22:44:26Z Codaraxis joined #lisp 2019-09-12T22:48:55Z fragamus joined #lisp 2019-09-12T22:52:48Z shifty joined #lisp 2019-09-12T22:54:26Z fragamus quit (Ping timeout: 276 seconds) 2019-09-12T22:56:14Z eigenhombre quit (Remote host closed the connection) 2019-09-12T22:56:53Z Ricchi joined #lisp 2019-09-12T22:57:54Z lavaflow quit (Ping timeout: 265 seconds) 2019-09-12T22:58:59Z Oladon_work quit (Ping timeout: 260 seconds) 2019-09-12T22:59:55Z smazga quit (Quit: leaving) 2019-09-12T23:05:33Z EvW joined #lisp 2019-09-12T23:10:27Z eigenhombre joined #lisp 2019-09-12T23:13:03Z LiamH quit (Quit: Leaving.) 2019-09-12T23:17:34Z eigenhombre_ joined #lisp 2019-09-12T23:26:43Z eigenhombre quit (Remote host closed the connection) 2019-09-12T23:26:43Z eigenhombre_ is now known as eigenhombre 2019-09-12T23:28:20Z lavaflow joined #lisp 2019-09-12T23:32:46Z iovec quit (Quit: Connection closed for inactivity) 2019-09-12T23:34:56Z eigenhombre: ck_: thanks for the suggestions earlier. I tried installing llvm / clang via Homebrew but that did not seem to address the CFFI problem. Using your 'verbose' suggestion provides the error "... Lock on package SB-ALIEN violated when interning SHARED-OBJECT-FILE while in package CFFI-SYS." 2019-09-12T23:37:18Z alexanderbarbosa quit (Ping timeout: 246 seconds) 2019-09-12T23:43:47Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-12T23:48:30Z Codaraxis quit (Read error: Connection reset by peer) 2019-09-12T23:48:56Z Codaraxis joined #lisp 2019-09-12T23:53:44Z fragamus joined #lisp 2019-09-12T23:54:21Z libertyprime joined #lisp 2019-09-12T23:55:51Z emacsomancer quit (Quit: WeeChat 2.5) 2019-09-12T23:56:14Z bjorkintosh quit (Remote host closed the connection) 2019-09-12T23:56:34Z emacsomancer joined #lisp 2019-09-13T00:00:31Z j-r quit (Quit: ZNC 1.7.3 - https://znc.in) 2019-09-13T00:02:03Z awolven joined #lisp 2019-09-13T00:07:49Z awolven quit (Quit: Leaving) 2019-09-13T00:08:12Z gxt quit (Ping timeout: 260 seconds) 2019-09-13T00:08:12Z cartwright quit (Ping timeout: 260 seconds) 2019-09-13T00:11:12Z cartwright joined #lisp 2019-09-13T00:12:10Z gxt joined #lisp 2019-09-13T00:15:49Z alexanderbarbosa joined #lisp 2019-09-13T00:20:53Z Codaraxis quit (Ping timeout: 276 seconds) 2019-09-13T00:22:29Z analogue joined #lisp 2019-09-13T00:29:02Z ralt quit (Quit: Connection closed for inactivity) 2019-09-13T00:35:01Z permagreen joined #lisp 2019-09-13T00:36:01Z bjorkintosh joined #lisp 2019-09-13T00:46:10Z IAmRasputin quit (Ping timeout: 265 seconds) 2019-09-13T00:47:24Z saravia joined #lisp 2019-09-13T00:51:52Z IAmRasputin joined #lisp 2019-09-13T01:01:50Z refpga quit (Ping timeout: 276 seconds) 2019-09-13T01:02:15Z refpga joined #lisp 2019-09-13T01:04:28Z bitmapper quit (Ping timeout: 245 seconds) 2019-09-13T01:05:08Z saravia quit (Remote host closed the connection) 2019-09-13T01:05:25Z davr0s_ quit (Remote host closed the connection) 2019-09-13T01:05:25Z davr0s quit (Remote host closed the connection) 2019-09-13T01:09:17Z elfmacs_ joined #lisp 2019-09-13T01:21:33Z semz_ quit (Ping timeout: 245 seconds) 2019-09-13T01:23:55Z aautcsh quit (Quit: aautcsh) 2019-09-13T01:26:02Z aautcsh joined #lisp 2019-09-13T01:35:17Z semz_ joined #lisp 2019-09-13T01:41:12Z saravia joined #lisp 2019-09-13T01:42:01Z libertyprime quit (Quit: leaving) 2019-09-13T01:49:46Z libertyprime joined #lisp 2019-09-13T01:51:15Z fragamus quit (Ping timeout: 240 seconds) 2019-09-13T01:56:15Z v88m quit (Ping timeout: 265 seconds) 2019-09-13T02:00:02Z _whitelogger quit (Remote host closed the connection) 2019-09-13T02:00:36Z makomo quit (Ping timeout: 265 seconds) 2019-09-13T02:02:16Z _whitelogger joined #lisp 2019-09-13T02:02:23Z ahungry joined #lisp 2019-09-13T02:02:50Z libertyprime quit (Ping timeout: 240 seconds) 2019-09-13T02:08:51Z Rabid_Python quit (Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/) 2019-09-13T02:11:27Z Codaraxis joined #lisp 2019-09-13T02:17:18Z bjorkintosh quit (Quit: Leaving) 2019-09-13T02:18:13Z lavaflow quit (Ping timeout: 245 seconds) 2019-09-13T02:22:58Z bjorkintosh joined #lisp 2019-09-13T02:26:08Z EvW quit (Ping timeout: 245 seconds) 2019-09-13T02:27:22Z makomo joined #lisp 2019-09-13T02:27:33Z hh47 joined #lisp 2019-09-13T02:27:48Z red-dot joined #lisp 2019-09-13T02:30:23Z prxq_ joined #lisp 2019-09-13T02:33:46Z IAmRasputin quit (Quit: WeeChat 2.4) 2019-09-13T02:34:26Z prxq quit (Ping timeout: 265 seconds) 2019-09-13T02:34:50Z Guest14630 quit (Ping timeout: 240 seconds) 2019-09-13T02:37:56Z analogue quit (Quit: Leaving) 2019-09-13T02:44:02Z lavaflow joined #lisp 2019-09-13T02:45:15Z keep_learning quit (Ping timeout: 240 seconds) 2019-09-13T02:48:45Z aautcsh quit (Ping timeout: 246 seconds) 2019-09-13T02:50:33Z d4ryus joined #lisp 2019-09-13T02:51:02Z jack joined #lisp 2019-09-13T02:51:25Z jack is now known as Guest13811 2019-09-13T02:52:02Z mindCrime_ joined #lisp 2019-09-13T02:54:20Z mindCrime__ joined #lisp 2019-09-13T02:54:30Z abhixec joined #lisp 2019-09-13T02:56:56Z abhixec quit (Client Quit) 2019-09-13T02:58:13Z mindCrime_ quit (Ping timeout: 245 seconds) 2019-09-13T03:02:36Z Bike quit (Quit: Lost terminal) 2019-09-13T03:07:30Z eich joined #lisp 2019-09-13T03:08:23Z Lycurgus joined #lisp 2019-09-13T03:14:13Z torbo joined #lisp 2019-09-13T03:25:30Z mindCrime__ quit (Ping timeout: 246 seconds) 2019-09-13T03:36:33Z gravicappa joined #lisp 2019-09-13T03:43:27Z fragamus joined #lisp 2019-09-13T03:47:14Z eich quit (Ping timeout: 240 seconds) 2019-09-13T03:50:24Z aindilis quit (Remote host closed the connection) 2019-09-13T03:52:06Z aindilis joined #lisp 2019-09-13T03:52:46Z torbo quit (Remote host closed the connection) 2019-09-13T03:57:05Z saravia quit (Remote host closed the connection) 2019-09-13T04:01:08Z Codaraxis quit (Ping timeout: 245 seconds) 2019-09-13T04:01:37Z beach: Good morning everyone! 2019-09-13T04:03:13Z ksaj joined #lisp 2019-09-13T04:03:25Z ksaj: minion: registration, please? 2019-09-13T04:03:26Z minion: The URL https://gitlab.common-lisp.net/users/sign_in?secret=dd4d0d9a will be valid until 04:15 UTC. 2019-09-13T04:04:34Z refpga quit (Quit: Quit) 2019-09-13T04:04:47Z refpga joined #lisp 2019-09-13T04:04:53Z dddddd quit (Remote host closed the connection) 2019-09-13T04:05:17Z eich joined #lisp 2019-09-13T04:06:59Z beach: ksaj: You can communicate with minion using /msg minion... 2019-09-13T04:08:26Z ksaj: sorry about that. 2019-09-13T04:09:42Z beach: No need to be sorry. Just saying. Those URLs seem private. 2019-09-13T04:10:28Z ksaj: it actually fails in /msg 2019-09-13T04:11:24Z beach: Hmm. 2019-09-13T04:12:03Z ksaj: anyway, I gave up. It said my attempted login was denied 'cos it was a cs something or other. 2019-09-13T04:12:27Z ksaj: it apparently doesn't like me. by /msg it only gets the please part and doesn't understand it 2019-09-13T04:13:01Z ksaj: and when I click on the link it gives me, that doesn't work either. so.. at this point I just don't care enough... thanks though... 2019-09-13T04:14:01Z ksaj quit (Remote host closed the connection) 2019-09-13T04:22:30Z eich: exit 2019-09-13T04:24:09Z eich quit (Quit: leaving) 2019-09-13T04:25:11Z Ricchi quit (Remote host closed the connection) 2019-09-13T04:33:49Z hh47: minion: registration, please? 2019-09-13T04:34:47Z lavaflow quit (Ping timeout: 265 seconds) 2019-09-13T04:35:29Z beach: Try without a leading space. 2019-09-13T04:37:20Z White_Flame: also try "/msg minion help" 2019-09-13T04:40:55Z malm quit (Quit: Bye bye) 2019-09-13T04:41:08Z Lycurgus: yeah I tried with one of those logins assuming they weren't individual 2019-09-13T04:41:11Z dale quit (Quit: My computer has gone to sleep) 2019-09-13T04:41:22Z Lycurgus: (not today) 2019-09-13T04:47:18Z lavaflow joined #lisp 2019-09-13T04:49:39Z makomo quit (Ping timeout: 240 seconds) 2019-09-13T04:51:02Z ggole joined #lisp 2019-09-13T04:54:03Z Codaraxis joined #lisp 2019-09-13T05:02:11Z Lycurgus quit (Quit: Exeunt) 2019-09-13T05:17:02Z makomo joined #lisp 2019-09-13T05:17:25Z sauvin joined #lisp 2019-09-13T05:17:34Z emacsomancer quit (Read error: Connection reset by peer) 2019-09-13T05:17:48Z orivej quit (Ping timeout: 245 seconds) 2019-09-13T05:18:43Z hh47 quit (Quit: hh47) 2019-09-13T05:21:35Z vlatkoB joined #lisp 2019-09-13T05:26:41Z itruslove quit (Quit: ZNC - http://znc.in) 2019-09-13T05:30:18Z nullniverse joined #lisp 2019-09-13T05:30:18Z nullniverse quit (Changing host) 2019-09-13T05:30:18Z nullniverse joined #lisp 2019-09-13T05:32:22Z orivej joined #lisp 2019-09-13T05:35:55Z v88m joined #lisp 2019-09-13T05:37:15Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-13T05:42:50Z malm joined #lisp 2019-09-13T05:45:02Z jprajzne joined #lisp 2019-09-13T05:51:56Z red-dot joined #lisp 2019-09-13T05:53:05Z Inline quit (Quit: Leaving) 2019-09-13T05:56:50Z v88m quit (Ping timeout: 240 seconds) 2019-09-13T05:57:15Z v88m joined #lisp 2019-09-13T05:59:22Z SaganMan joined #lisp 2019-09-13T06:01:41Z nanoz joined #lisp 2019-09-13T06:02:27Z shka_ joined #lisp 2019-09-13T06:03:06Z superkumasan joined #lisp 2019-09-13T06:04:36Z Guest13811 quit (Quit: Lost terminal) 2019-09-13T06:06:37Z v88m quit (Ping timeout: 265 seconds) 2019-09-13T06:06:49Z v88m joined #lisp 2019-09-13T06:07:52Z JohnMS_WORK joined #lisp 2019-09-13T06:10:43Z stepnem quit (Ping timeout: 245 seconds) 2019-09-13T06:11:53Z stepnem joined #lisp 2019-09-13T06:13:54Z ahungry quit (Remote host closed the connection) 2019-09-13T06:14:16Z gxt quit (Quit: WeeChat 2.6) 2019-09-13T06:15:39Z orivej quit (Ping timeout: 240 seconds) 2019-09-13T06:27:51Z scymtym quit (Ping timeout: 246 seconds) 2019-09-13T06:44:14Z adip joined #lisp 2019-09-13T06:44:54Z raghavgururajan joined #lisp 2019-09-13T06:46:20Z user___ joined #lisp 2019-09-13T06:50:19Z gareppa joined #lisp 2019-09-13T06:58:13Z shka_ quit (Ping timeout: 245 seconds) 2019-09-13T06:58:46Z gareppa quit (Remote host closed the connection) 2019-09-13T07:00:51Z yoeljacobsen quit (Ping timeout: 240 seconds) 2019-09-13T07:02:54Z varjag joined #lisp 2019-09-13T07:03:10Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-13T07:04:37Z gxt joined #lisp 2019-09-13T07:16:48Z elfmacs_ quit (Quit: WeeChat 2.6) 2019-09-13T07:16:53Z nowhere_man quit (Ping timeout: 276 seconds) 2019-09-13T07:17:22Z elfmacs joined #lisp 2019-09-13T07:17:48Z elfmacs quit (Client Quit) 2019-09-13T07:18:07Z elfmacs joined #lisp 2019-09-13T07:19:42Z scymtym joined #lisp 2019-09-13T07:24:04Z gxt quit (Ping timeout: 260 seconds) 2019-09-13T07:30:29Z Codaraxis quit (Read error: Connection reset by peer) 2019-09-13T07:35:45Z georgie joined #lisp 2019-09-13T07:36:51Z frgo quit (Ping timeout: 240 seconds) 2019-09-13T07:42:40Z refpga` joined #lisp 2019-09-13T07:47:18Z nullniverse quit (Ping timeout: 246 seconds) 2019-09-13T07:47:44Z prxq_ quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 2019-09-13T07:54:11Z theBlackDragon quit (Ping timeout: 245 seconds) 2019-09-13T07:54:27Z theBlackDragon joined #lisp 2019-09-13T07:54:57Z cosimone joined #lisp 2019-09-13T08:01:58Z hhdave joined #lisp 2019-09-13T08:02:01Z Codaraxis joined #lisp 2019-09-13T08:03:34Z gxt joined #lisp 2019-09-13T08:03:34Z refpga` quit (Read error: Connection reset by peer) 2019-09-13T08:06:08Z scymtym quit (Ping timeout: 245 seconds) 2019-09-13T08:06:23Z cosimone quit (Quit: Leaving) 2019-09-13T08:08:25Z elderK quit (Quit: WeeChat 1.9) 2019-09-13T08:08:27Z refpga` joined #lisp 2019-09-13T08:09:05Z ebrasca quit (Remote host closed the connection) 2019-09-13T08:17:51Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-13T08:29:17Z cosimone joined #lisp 2019-09-13T08:35:57Z georgie joined #lisp 2019-09-13T08:41:22Z ir0nbutt joined #lisp 2019-09-13T08:44:38Z ironbutt quit (Ping timeout: 276 seconds) 2019-09-13T08:45:03Z ralt joined #lisp 2019-09-13T08:47:53Z Codaraxis quit (Ping timeout: 276 seconds) 2019-09-13T08:49:31Z Codaraxis joined #lisp 2019-09-13T08:54:53Z Lord_of_Life quit (Ping timeout: 245 seconds) 2019-09-13T08:59:10Z Lord_of_Life joined #lisp 2019-09-13T09:04:25Z gareppa joined #lisp 2019-09-13T09:14:01Z iovec joined #lisp 2019-09-13T09:16:35Z gareppa quit (Quit: Leaving) 2019-09-13T09:18:49Z gareppa joined #lisp 2019-09-13T09:19:47Z ravenousmoose joined #lisp 2019-09-13T09:24:57Z ravenousmoose quit (Ping timeout: 246 seconds) 2019-09-13T09:25:31Z Harag1 joined #lisp 2019-09-13T09:27:20Z gareppa quit (Remote host closed the connection) 2019-09-13T09:27:38Z gareppa joined #lisp 2019-09-13T09:28:27Z shifty quit (Ping timeout: 240 seconds) 2019-09-13T09:28:37Z shifty joined #lisp 2019-09-13T09:28:50Z Harag quit (Ping timeout: 276 seconds) 2019-09-13T09:28:50Z Harag1 is now known as Harag 2019-09-13T09:35:03Z dmiles quit (Ping timeout: 245 seconds) 2019-09-13T09:36:00Z dmiles_afk joined #lisp 2019-09-13T09:36:27Z seok quit (Ping timeout: 260 seconds) 2019-09-13T09:36:33Z Harag1 joined #lisp 2019-09-13T09:39:15Z Harag quit (Ping timeout: 240 seconds) 2019-09-13T09:39:15Z Harag1 is now known as Harag 2019-09-13T09:47:23Z elfmacs quit (Ping timeout: 245 seconds) 2019-09-13T09:53:22Z cosimone quit (Quit: Leaving) 2019-09-13T09:54:44Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-13T10:03:29Z georgie joined #lisp 2019-09-13T10:04:36Z amerigo joined #lisp 2019-09-13T10:07:01Z Achylles joined #lisp 2019-09-13T10:10:26Z jonatack quit (Ping timeout: 276 seconds) 2019-09-13T10:12:33Z refpga quit (Ping timeout: 246 seconds) 2019-09-13T10:12:55Z refpga joined #lisp 2019-09-13T10:14:59Z shka__ quit (Ping timeout: 276 seconds) 2019-09-13T10:17:48Z shifty quit (Ping timeout: 246 seconds) 2019-09-13T10:23:32Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-13T10:24:45Z nanoz quit (Read error: Connection reset by peer) 2019-09-13T10:27:46Z jprajzne quit (Quit: jprajzne) 2019-09-13T10:27:47Z amerlyq joined #lisp 2019-09-13T10:28:05Z jprajzne joined #lisp 2019-09-13T10:28:51Z user___ quit (Ping timeout: 240 seconds) 2019-09-13T10:32:16Z jprajzne quit (Client Quit) 2019-09-13T10:32:42Z jprajzne joined #lisp 2019-09-13T10:38:23Z Codaraxis quit (Ping timeout: 276 seconds) 2019-09-13T10:39:11Z gareppa quit (Quit: Leaving) 2019-09-13T10:42:43Z jprajzne quit (Quit: jprajzne) 2019-09-13T10:43:08Z jprajzne joined #lisp 2019-09-13T10:43:39Z dddddd joined #lisp 2019-09-13T10:47:15Z jprajzne quit (Client Quit) 2019-09-13T10:47:40Z jprajzne joined #lisp 2019-09-13T10:51:42Z ralt quit (Quit: Connection closed for inactivity) 2019-09-13T10:53:44Z stepnem_ joined #lisp 2019-09-13T10:54:41Z stepnem quit (Ping timeout: 265 seconds) 2019-09-13T10:58:47Z Codaraxis joined #lisp 2019-09-13T11:01:17Z toorevitimirp joined #lisp 2019-09-13T11:03:56Z gareppa joined #lisp 2019-09-13T11:08:23Z ravenousmoose joined #lisp 2019-09-13T11:12:07Z toorevitimirp quit (Quit: Konversation terminated!) 2019-09-13T11:12:22Z toorevitimirp joined #lisp 2019-09-13T11:13:06Z ravenousmoose quit (Ping timeout: 246 seconds) 2019-09-13T11:15:03Z orivej joined #lisp 2019-09-13T11:15:50Z heisig joined #lisp 2019-09-13T11:16:48Z wxie joined #lisp 2019-09-13T11:17:15Z EvW1 joined #lisp 2019-09-13T11:18:13Z toorevitimirp quit (Ping timeout: 245 seconds) 2019-09-13T11:18:16Z shka_ joined #lisp 2019-09-13T11:26:52Z bitmapper joined #lisp 2019-09-13T11:27:36Z ir0nbutt quit (Remote host closed the connection) 2019-09-13T11:29:09Z Guest61540 quit (Changing host) 2019-09-13T11:29:09Z Guest61540 joined #lisp 2019-09-13T11:29:17Z Guest61540 is now known as mrSpec 2019-09-13T11:30:59Z v88m quit (Remote host closed the connection) 2019-09-13T11:35:30Z Codaraxis quit (Ping timeout: 246 seconds) 2019-09-13T11:40:08Z Harag quit (Ping timeout: 276 seconds) 2019-09-13T11:40:23Z toorevitimirp joined #lisp 2019-09-13T11:41:21Z jonatack joined #lisp 2019-09-13T11:45:39Z toorevitimirp quit (Ping timeout: 246 seconds) 2019-09-13T11:47:14Z yoeljacobsen joined #lisp 2019-09-13T11:47:44Z bitmapper quit 2019-09-13T11:47:50Z seok joined #lisp 2019-09-13T11:49:19Z seok: how would i get the position of last matching character from a string? 2019-09-13T11:49:49Z seok: Trying to determine the file type of images from <image src = ""> links 2019-09-13T11:49:52Z shka_: matching as predicate? 2019-09-13T11:49:53Z jonatack quit (Ping timeout: 276 seconds) 2019-09-13T11:49:59Z seok: i.e jpg, 2019-09-13T11:50:12Z bitmapper joined #lisp 2019-09-13T11:50:32Z shka_: are you are trying to find character or substring? 2019-09-13T11:50:48Z seok: the extension might not be 3 characters 2019-09-13T11:50:59Z seok: so I am trying to figure out where the last . is 2019-09-13T11:51:03Z shka_: http://jtra.cz/stuff/lisp/sclr/position.html 2019-09-13T11:51:05Z seok: and get the substring from that 2019-09-13T11:51:11Z shka_: seok: use :from-end 2019-09-13T11:51:16Z seok: Nice. ty 2019-09-13T11:51:32Z jonatack joined #lisp 2019-09-13T11:52:42Z amerlyq quit (Quit: amerlyq) 2019-09-13T11:55:08Z user___ joined #lisp 2019-09-13T11:55:48Z yoeljacobsen quit (Ping timeout: 246 seconds) 2019-09-13T11:56:31Z yoeljacobsen joined #lisp 2019-09-13T11:58:58Z fragamus quit (Ping timeout: 265 seconds) 2019-09-13T12:06:26Z toorevitimirp joined #lisp 2019-09-13T12:06:57Z Harag joined #lisp 2019-09-13T12:08:27Z yoeljacobsen quit (Ping timeout: 240 seconds) 2019-09-13T12:09:54Z Harag quit (Read error: Connection reset by peer) 2019-09-13T12:10:38Z Harag joined #lisp 2019-09-13T12:13:11Z SaganMan quit (Quit: WeeChat 1.6) 2019-09-13T12:14:53Z Harag quit (Ping timeout: 245 seconds) 2019-09-13T12:19:23Z lucasb joined #lisp 2019-09-13T12:20:25Z seok: is it just me or do other people get a html file download when accessing clhs 2019-09-13T12:21:24Z scymtym joined #lisp 2019-09-13T12:21:43Z no-defun-allowed: Yeah, that happens sometimes to me. 2019-09-13T12:21:57Z fragamus joined #lisp 2019-09-13T12:22:03Z seok: It's happening all the time for me 2019-09-13T12:23:04Z no-defun-allowed: It's a good excuse to download the CLHS to read locally, though. 2019-09-13T12:23:12Z jdz: seok: (zerop (mismatch "jpg" string :from-end t)) 2019-09-13T12:23:46Z seok: Guess so! 2019-09-13T12:24:02Z seok: Portacle should come with clhs 2019-09-13T12:24:32Z no-defun-allowed: The CLHS is proprietary, so it cannot. 2019-09-13T12:26:27Z fragamus quit (Ping timeout: 240 seconds) 2019-09-13T12:26:29Z seok: Oh. 2019-09-13T12:26:33Z wxie quit (Ping timeout: 245 seconds) 2019-09-13T12:28:00Z kajo quit (Ping timeout: 246 seconds) 2019-09-13T12:28:18Z no-defun-allowed: You are allowed to download it, maybe you aren't allowed to redistribute it unless some specific rules are met, it's probably not compatible with the other licenses of Portacle components, but IANAL and neither is anyone working on Portacle. 2019-09-13T12:28:35Z jonatack quit (Quit: jonatack) 2019-09-13T12:29:32Z toorevitimirp quit (Ping timeout: 276 seconds) 2019-09-13T12:30:27Z __jrjsmrtn__ quit (Ping timeout: 246 seconds) 2019-09-13T12:31:20Z __jrjsmrtn__ joined #lisp 2019-09-13T12:34:14Z amerlyq joined #lisp 2019-09-13T12:39:39Z toorevitimirp joined #lisp 2019-09-13T12:40:36Z nullman quit (Ping timeout: 244 seconds) 2019-09-13T12:42:38Z nullman joined #lisp 2019-09-13T12:42:43Z astronavt quit (Quit: ...) 2019-09-13T12:43:13Z astronavt joined #lisp 2019-09-13T12:44:53Z toorevitimirp quit (Ping timeout: 265 seconds) 2019-09-13T12:45:02Z Bike joined #lisp 2019-09-13T12:50:32Z fragamus joined #lisp 2019-09-13T12:51:55Z LiamH joined #lisp 2019-09-13T12:52:14Z v88m joined #lisp 2019-09-13T12:54:25Z xkapastel joined #lisp 2019-09-13T12:54:44Z gareppa quit (Quit: Leaving) 2019-09-13T12:55:18Z fragamus quit (Ping timeout: 246 seconds) 2019-09-13T12:59:59Z frgo joined #lisp 2019-09-13T13:18:43Z red-dot joined #lisp 2019-09-13T13:18:47Z manualcrank joined #lisp 2019-09-13T13:27:16Z nanoz joined #lisp 2019-09-13T13:30:03Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2019-09-13T13:35:25Z eigenhombre: Morning again. Did some more research on my CFFI / SBCL / problem yesterday following up on your suggestions and captured my findings here: https://stackoverflow.com/questions/57906498/installing-sbcl-ffi-packages-on-mac-via-quicklisp . Any hints on SO or here would be greatly appreciated! 2019-09-13T13:38:16Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-13T13:41:24Z heisig quit (Quit: Leaving) 2019-09-13T13:41:34Z kajo joined #lisp 2019-09-13T13:43:16Z georgie joined #lisp 2019-09-13T13:49:21Z Nomenclatura joined #lisp 2019-09-13T13:54:53Z igemnace quit (Ping timeout: 245 seconds) 2019-09-13T14:03:22Z shka_: anybody implemented decompressing text stream in cl? 2019-09-13T14:05:39Z zaquest quit (Remote host closed the connection) 2019-09-13T14:08:44Z igemnace joined #lisp 2019-09-13T14:10:17Z monokrom joined #lisp 2019-09-13T14:16:08Z scymtym quit (Ping timeout: 245 seconds) 2019-09-13T14:16:16Z fragamus joined #lisp 2019-09-13T14:16:19Z mindCrime__ joined #lisp 2019-09-13T14:17:25Z dale_ joined #lisp 2019-09-13T14:17:46Z dale_ is now known as dale 2019-09-13T14:17:48Z mindCrime_ joined #lisp 2019-09-13T14:17:58Z bentaisan joined #lisp 2019-09-13T14:18:07Z zaquest joined #lisp 2019-09-13T14:19:26Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.2)) 2019-09-13T14:20:02Z refpga` quit (Ping timeout: 276 seconds) 2019-09-13T14:20:21Z ravenousmoose joined #lisp 2019-09-13T14:21:33Z mindCrime__ quit (Ping timeout: 265 seconds) 2019-09-13T14:21:57Z v88m quit (Read error: Connection reset by peer) 2019-09-13T14:22:38Z v88m joined #lisp 2019-09-13T14:22:42Z iovec quit (Quit: Connection closed for inactivity) 2019-09-13T14:24:04Z bentaisan is now known as bentai 2019-09-13T14:26:23Z nanoz quit (Ping timeout: 265 seconds) 2019-09-13T14:30:43Z fragamus quit (Ping timeout: 245 seconds) 2019-09-13T14:31:22Z warweasle quit (Quit: exit) 2019-09-13T14:34:22Z Josh_2 joined #lisp 2019-09-13T14:34:25Z shka_ quit (Quit: WeeChat 1.9.1) 2019-09-13T14:38:12Z krid joined #lisp 2019-09-13T14:55:57Z smazga joined #lisp 2019-09-13T14:58:45Z gareppa joined #lisp 2019-09-13T15:02:59Z qop joined #lisp 2019-09-13T15:02:59Z Nomenclatura quit (Read error: Connection reset by peer) 2019-09-13T15:04:17Z shifty joined #lisp 2019-09-13T15:04:31Z fragamus joined #lisp 2019-09-13T15:05:46Z gareppa quit (Remote host closed the connection) 2019-09-13T15:08:03Z qop quit (Ping timeout: 240 seconds) 2019-09-13T15:09:03Z fragamus quit (Ping timeout: 245 seconds) 2019-09-13T15:15:43Z asdf_asdf_asdf joined #lisp 2019-09-13T15:16:16Z asdf_asdf_asdf: Hi. [SBCL] [Common Lisp] In which package is (alien (* (signed 8)))? 2019-09-13T15:16:27Z asdf_asdf_asdf: Keyword alien is undefined. 2019-09-13T15:16:47Z asdf_asdf_asdf: I wrote (sb-alien::alien... and also. 2019-09-13T15:19:36Z analogue joined #lisp 2019-09-13T15:19:50Z ravenousmoose quit (Ping timeout: 276 seconds) 2019-09-13T15:20:54Z igemnace quit (Ping timeout: 246 seconds) 2019-09-13T15:25:02Z user___ quit (Ping timeout: 276 seconds) 2019-09-13T15:29:41Z Shinmera: seok: no-defun-allowed: The clhs is available as a QL package. 2019-09-13T15:33:48Z thesorton quit (Ping timeout: 245 seconds) 2019-09-13T15:35:46Z ugur joined #lisp 2019-09-13T15:41:20Z anddam left #lisp 2019-09-13T15:42:38Z UgurKap joined #lisp 2019-09-13T15:43:30Z ugur quit (Quit: Leaving) 2019-09-13T15:45:53Z UgurKap quit (Quit: Leaving) 2019-09-13T15:46:37Z cosimone joined #lisp 2019-09-13T15:46:39Z UgurKap joined #lisp 2019-09-13T15:47:20Z pjb: seok: (zerop (mismatch "jpg" "Rajjpgun.gif" :from-end t)) #| --> nil |# 2019-09-13T15:47:49Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-13T15:49:03Z pjb: minion: memo for shka_: have a look at https://cliki.net/site/search?query=gzip 2019-09-13T15:49:03Z minion: Remembered. I'll tell shka_ when he/she/it next speaks. 2019-09-13T15:49:45Z thijso didn't expect to be writing so much C code while working in CL... 2019-09-13T15:50:07Z pjb: thijso: what C code do you write? 2019-09-13T15:51:04Z thijso: I've been fixing a number of c-inline stuff in ECL and usocket these past couple of days. 2019-09-13T15:51:54Z pjb: So, you're not working "IN" cl , you're working "ON" CL stuff written in C… 2019-09-13T15:52:07Z asdf_asdf_asdf: (declaim (inline foo)) 2019-09-13T15:52:19Z asdf_asdf_asdf: @thijso; this? 2019-09-13T15:52:20Z thijso: However, I now seem to have a state where I can actually use one of the logging packages I tried earlier. log4cl and verbose both ended up having the same issue, but now that I've gotten my patches merged I can try using one of them again. (<- Shinmera ) 2019-09-13T15:52:35Z Shinmera: \o/ 2019-09-13T15:53:15Z thijso: asdf_asdf_asdf: nope, c-inline. As in inline C code (used in Embedded Common Lisp) 2019-09-13T15:53:27Z rippa joined #lisp 2019-09-13T15:53:44Z amerigo quit (Quit: Connection closed for inactivity) 2019-09-13T15:53:49Z thijso: pjb: well, I'm "forced" to do that, otherwise what I'm actually working on wouldn't work (or get nice UNKNOWN_ERROR's sprinkled everywhere...) 2019-09-13T15:54:21Z asdf_asdf_asdf: thijso; write what You have so far. 2019-09-13T15:54:22Z pjb: Yes, sometimes we have to do low-level stuff… 2019-09-13T15:55:05Z thijso: asdf_asdf_asdf: what do you mean? I've found the (or, at least some) issues and fixed them. Now I can go back to what I was originally working on 2019-09-13T15:56:16Z asdf_asdf_asdf: What need to solve problem? 2019-09-13T15:56:25Z thijso: I'm actually a little shocked at how unfinished a lot of stuff seems in relation to ECL. In ECL code itself, but also supporting code in for example usocket and bordeaux-threads 2019-09-13T15:57:02Z thijso: asdf_asdf_asdf: problem already solved. This, for example: https://github.com/usocket/usocket/pull/55 2019-09-13T15:57:27Z rpg joined #lisp 2019-09-13T15:57:46Z asdf_asdf_asdf: OK. 2019-09-13T15:58:21Z asdf_asdf_asdf: Someone know which instruction in aliens instructions is void* and null from C? 2019-09-13T16:00:06Z thijso: Comments like ";; really big FIXME: This whole copy-buffer thing is broken." in SBCL sockets.lisp also doesn't really inspire a lot of nice fuzzy feelings... 2019-09-13T16:00:14Z nanoz joined #lisp 2019-09-13T16:01:16Z Shinmera: thijso: I think in ECL's case it's because it didn't recieve a lot of love until jackdaniel picked up as maintainer. 2019-09-13T16:02:28Z shka_ joined #lisp 2019-09-13T16:02:48Z thijso: Yeah, not complaining. It's just that I usually work in SBCL and haven't had the experience of these kinds of issues before. However, I'm stuck with ECL for now. Unless anyone knows of other ways to build android apps in Common Lips (that don't cost money). 2019-09-13T16:02:56Z Oladon1 joined #lisp 2019-09-13T16:03:10Z thijso: But, on the other hand, seeing that comment in the SBCL source code... maybe I've just been lucky ;) 2019-09-13T16:03:56Z Shinmera: I have a CLOS regression in SBCL that I still need to reduce and report 2019-09-13T16:04:01Z thijso: Common Lips? Erhmm... Not what I meant. :) Common Lisps 2019-09-13T16:04:04Z red-dot joined #lisp 2019-09-13T16:05:28Z Oladon quit (Ping timeout: 245 seconds) 2019-09-13T16:05:29Z pjb: thijso: ecl is basically a one-man operation. The miracle, is that there has been one man for so long to make releases so far… 2019-09-13T16:13:38Z EvW1 quit (Ping timeout: 245 seconds) 2019-09-13T16:14:46Z makomo_ joined #lisp 2019-09-13T16:17:14Z makomo quit (Ping timeout: 240 seconds) 2019-09-13T16:17:28Z gxt quit (Ping timeout: 260 seconds) 2019-09-13T16:19:14Z superkumasan quit (Ping timeout: 240 seconds) 2019-09-13T16:22:27Z dale quit (Quit: My computer has gone to sleep) 2019-09-13T16:29:13Z nanoz quit (Read error: Connection timed out) 2019-09-13T16:29:47Z nanoz joined #lisp 2019-09-13T16:31:59Z dale joined #lisp 2019-09-13T16:35:02Z asdf_asdf_asdf quit (Remote host closed the connection) 2019-09-13T16:36:13Z bentai quit (Quit: Textual IRC Client: www.textualapp.com) 2019-09-13T16:37:27Z analogue quit (Quit: later alligator!) 2019-09-13T16:39:37Z hhdave quit (Quit: hhdave) 2019-09-13T16:41:08Z t58 joined #lisp 2019-09-13T16:44:54Z UgurKap quit (Ping timeout: 246 seconds) 2019-09-13T16:51:05Z dale quit (Quit: My computer has gone to sleep) 2019-09-13T16:51:13Z Lycurgus joined #lisp 2019-09-13T16:51:47Z dale joined #lisp 2019-09-13T16:51:56Z cosimone quit (Remote host closed the connection) 2019-09-13T16:52:17Z cosimone joined #lisp 2019-09-13T16:52:36Z shifty quit (Ping timeout: 246 seconds) 2019-09-13T16:53:13Z shifty joined #lisp 2019-09-13T17:03:27Z Hsab_Selur quit (Ping timeout: 246 seconds) 2019-09-13T17:04:13Z asdf_asdf_asdf joined #lisp 2019-09-13T17:09:45Z nowhere_man joined #lisp 2019-09-13T17:12:42Z varjag joined #lisp 2019-09-13T17:17:20Z ebrasca joined #lisp 2019-09-13T17:17:27Z gravicappa quit (Ping timeout: 246 seconds) 2019-09-13T17:18:51Z gravicappa joined #lisp 2019-09-13T17:20:29Z Oladon_work joined #lisp 2019-09-13T17:22:05Z alexande` joined #lisp 2019-09-13T17:23:59Z alexanderbarbosa quit (Ping timeout: 276 seconds) 2019-09-13T17:24:02Z asdf_asdf_asdf quit (Remote host closed the connection) 2019-09-13T17:25:30Z asdf_asdf_asdf joined #lisp 2019-09-13T17:26:46Z stepnem_ quit (Read error: Connection reset by peer) 2019-09-13T17:27:14Z stepnem joined #lisp 2019-09-13T17:28:44Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-13T17:30:27Z asdf_asdf_asdf quit (Ping timeout: 240 seconds) 2019-09-13T17:33:00Z cosimone quit (Quit: Leaving) 2019-09-13T17:34:39Z asdf_asdf_asdf joined #lisp 2019-09-13T17:36:52Z UgurKap joined #lisp 2019-09-13T17:39:08Z iovec joined #lisp 2019-09-13T17:40:54Z sjl_ joined #lisp 2019-09-13T17:43:43Z akoana joined #lisp 2019-09-13T17:45:22Z georgie joined #lisp 2019-09-13T17:49:28Z kajo quit (Ping timeout: 245 seconds) 2019-09-13T17:49:32Z q9929t joined #lisp 2019-09-13T17:52:04Z Nomenclatura joined #lisp 2019-09-13T17:52:38Z Inline joined #lisp 2019-09-13T17:53:19Z pnp joined #lisp 2019-09-13T17:53:46Z raghavgururajan quit (Read error: Connection reset by peer) 2019-09-13T17:55:09Z jackdaniel: pjb: that might have been true for some time, but right now we have two regular maintainers and a steady stream of 3rd party contributions 2019-09-13T17:56:20Z jackdaniel: s/two regular maintainers/two maintainers/ 2019-09-13T17:56:35Z permagreen quit (Remote host closed the connection) 2019-09-13T17:57:51Z jackdaniel: thijso: thank you for your work on sockets in ecl 2019-09-13T17:58:22Z whartung: anyone ever see anything that compares the CL type system to Ada? 2019-09-13T18:00:14Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-13T18:07:48Z kajo joined #lisp 2019-09-13T18:12:33Z retropikzel joined #lisp 2019-09-13T18:13:11Z igemnace joined #lisp 2019-09-13T18:14:04Z q9929t quit (Quit: q9929t) 2019-09-13T18:14:57Z vlatkoB quit (Remote host closed the connection) 2019-09-13T18:16:06Z Nomenclatura quit (Quit: q) 2019-09-13T18:16:22Z vlatkoB joined #lisp 2019-09-13T18:16:53Z Xach: I have not 2019-09-13T18:18:05Z vlatkoB quit (Remote host closed the connection) 2019-09-13T18:19:44Z thijso: jackdaniel: you're welcome. Thank you for ecl in general 2019-09-13T18:25:19Z sauvin quit (Read error: Connection reset by peer) 2019-09-13T18:28:32Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-13T18:36:39Z analogue joined #lisp 2019-09-13T18:41:35Z karlosz joined #lisp 2019-09-13T18:50:05Z amerlyq quit (Quit: amerlyq) 2019-09-13T18:50:20Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-13T18:58:55Z jonatack joined #lisp 2019-09-13T18:58:59Z shifty quit (Ping timeout: 265 seconds) 2019-09-13T18:59:38Z aeth: whartung: I think the main difference is that CL's type system is typical in that deftype is just a renaming, but afaik in Ada if you ask for a Foo you must get a Foo even if it's just defined as a range 10 .. 20 or a mod 24 (both of which CL has an equivalent for). That even wouldn't really work in CL. How would you make 13 be specifically of type foo in CL? Doesn't really work well without full static typing. 2019-09-13T18:59:44Z aeth: That's if I'm remembering that correctly. 2019-09-13T18:59:48Z bitmapper quit 2019-09-13T19:00:48Z Bike: i think ada's type system is nominal, yes 2019-09-13T19:01:19Z sameerynho joined #lisp 2019-09-13T19:01:24Z Bike: whereas lisp's is structural 2019-09-13T19:03:11Z aeth: One thing I see here in Wikipedia (and I think I've mentioned this here once before!) is that there's pretty much a CL equivalent for every example here except the second subtype. You can represent weekdays as '(member :monday :tuesday :wednesday :thursday :friday :saturday :sunday) but you can't then do (range :monday :friday) as working-days. https://en.wikipedia.org/wiki/Ada_(programming_language)#Data_types 2019-09-13T19:03:28Z aeth: member types are, afaik, unordered, although the implementation will probably test them in the order you defined them. 2019-09-13T19:04:26Z Bike: they're unordered. you shouldn't rely on any kind of ordering within types 2019-09-13T19:04:43Z aeth: There also isn't a defsubtype, just a deftype. I guess the difference is that a defsubtype would have to determine that your definition is a subtype of a provided type in addition to defining the type. This could get complicated (or impossible?) if you provide arguments to the deftype or hypothetical defsubtype 2019-09-13T19:05:29Z aeth: whartung: And those are all of the differences I can get from public information on Ada without knowing Ada. There are probably more. 2019-09-13T19:06:34Z sjl_: Bike: can you rely on (check-type foo '(and t1 t2)) to check that foo is of type t1 before t2? 2019-09-13T19:06:41Z Bike: No 2019-09-13T19:06:42Z sjl_: otherwise in http://www.lispworks.com/documentation/HyperSpec/Body/t_satisf.htm 2019-09-13T19:06:50Z sjl_: > For example, the type specifier (and integer (satisfies evenp)) denotes the set of all even integers. 2019-09-13T19:07:20Z sjl_: If it's not guaranteed to check integer first, evenp could throw 2019-09-13T19:07:27Z sjl_: s/throw/signal an error/ 2019-09-13T19:08:06Z Bike: a type specifier denotes a set, not a predication operation. that's wrong, that's all 2019-09-13T19:08:28Z seok: Morning 2019-09-13T19:08:49Z sjl_: I suppose. Seems odd that they would choose an example that would be broken if used with typep or check-type... 2019-09-13T19:08:56Z pjb: Bike: it is not structural: (deftype p1 x y) (deftype p2 x y) (p2-x (make-p1 :x 1 :y 2)) is not conforming! 2019-09-13T19:09:20Z Bike: is that supposed to be lisp? 2019-09-13T19:09:46Z pjb: is that #lisp? 2019-09-13T19:09:53Z sjl_: I think he meant defstruct, not deftype 2019-09-13T19:09:55Z Bike: i mean that's not how deftype works. is it defstruct 2019-09-13T19:10:05Z gxt joined #lisp 2019-09-13T19:10:08Z pjb: Sorry s/deftype/defstruct/ 2019-09-13T19:10:10Z pnp quit (Remote host closed the connection) 2019-09-13T19:11:09Z Bike: well what i mean is that the deftype mechanism doesn't add any type names that affect resolution of type system questions. it is true you can name different struct types 2019-09-13T19:13:44Z pjb: Lisp is a generic programming language. Meaning that most code you write is just not typed, it's "template code" or "generic code". It can transport data of any type. It's usually left to the client code to determine what gets in, and what it gets out. 2019-09-13T19:14:17Z pjb: Take for example sort. sort can work on sequences of anything, you just give it a lessp function. 2019-09-13T19:14:39Z pjb: So all those discussions about typing and dumb and boring. 2019-09-13T19:16:01Z pjb: On of the tests to know if a person will be able to become a programmer, is to check if that person is able to reason with boxes, abstracting the contents. Trying th re-introduce restrictions on boxes such as boxes that can hold only numbers or only shoes doesn't help! 2019-09-13T19:16:06Z clothespin joined #lisp 2019-09-13T19:17:01Z pjb: Of course, typing gives a lot of work to searchers and PhD students. It gives a lot of diplomas and university budgets… 2019-09-13T19:19:02Z Josh_2: xD 2019-09-13T19:19:12Z sukaeto: whartung: it's really hard to compare the type systems of Lisp and Ada 2019-09-13T19:19:40Z sukaeto: in Ada, every expression is typed at compile time 2019-09-13T19:19:45Z Achylles quit (Remote host closed the connection) 2019-09-13T19:19:46Z alexande` left #lisp 2019-09-13T19:20:12Z sukaeto: as others have mentioned, you can have e.g. distinct range types which are incompatible with one another 2019-09-13T19:20:32Z alexanderbarbosa joined #lisp 2019-09-13T19:25:59Z sukaeto: in Ada, defining types is a large part of programming. The type system in Ada can help you make sure you're not making semantic errors (for a simple e.g. trying to multiply a speed and a distance when you meant to multiply a speed and a time) 2019-09-13T19:27:18Z sukaeto: it's a lot different from Lisp, where you (at least if you're me :-) ) just kind of grow code organically at the REPL 2019-09-13T19:27:22Z retropikzel quit (Remote host closed the connection) 2019-09-13T19:27:36Z retropikzel joined #lisp 2019-09-13T19:29:06Z ebrasca quit (Remote host closed the connection) 2019-09-13T19:29:59Z t58 quit (Read error: Connection reset by peer) 2019-09-13T19:34:47Z aeth: sukaeto: I was saying what I said under the assumption that it would apply even if you (with ordinary semantics) DECLAREd every variable in your functions/bindings, Ada-style, and even used an Ada-syntax reader macro, what would differ. 2019-09-13T19:35:14Z aeth: Of course, with that many macros, you could probably cons up additional type-tracking data structures to match Ada more precisely... 2019-09-13T19:35:14Z orivej quit (Ping timeout: 265 seconds) 2019-09-13T19:35:42Z stepnem quit (Ping timeout: 246 seconds) 2019-09-13T19:35:54Z stepnem_ joined #lisp 2019-09-13T19:36:32Z aeth: sukaeto: as for your specific problem (speed vs. distance), I wouldn't be surprised if Ada (or an extended Ada) had units in its type system 2019-09-13T19:36:51Z gareppa joined #lisp 2019-09-13T19:41:21Z Lycurgus quit (Quit: Exeunt) 2019-09-13T19:42:48Z gxt quit (Remote host closed the connection) 2019-09-13T19:47:40Z sukaeto: aeth: it doesn't provide them in the standard library, but they're easy enough to declare on your own 2019-09-13T19:48:09Z sukaeto: and I think GNAT (which is pretty much defacto Ada) provides a library that will generate the matrix for you 2019-09-13T19:49:11Z sukaeto: and yeah, of course you *could* implement such rich type level programming in Lisp. I mean, look at what the Qi/Shen team has done! 2019-09-13T19:52:08Z t58 joined #lisp 2019-09-13T19:52:36Z ggole quit (Quit: Leaving) 2019-09-13T19:53:13Z gravicappa quit (Ping timeout: 245 seconds) 2019-09-13T19:53:36Z shka_ quit (Ping timeout: 265 seconds) 2019-09-13T19:55:01Z karlosz quit (Quit: karlosz) 2019-09-13T20:00:15Z orivej joined #lisp 2019-09-13T20:01:08Z aeth: sukaeto: Defining types is almost always a large part of programming, though, and it just differs based on the language. e.g. usually that means defining classes. 2019-09-13T20:02:35Z permagreen joined #lisp 2019-09-13T20:02:49Z aeth: I guess the main exception would be ultra-dynamic languages like Lua maybe? Just a bunch of tables there. 2019-09-13T20:05:30Z sukaeto: it's kind of hard to explain (well, without writing an entire essay on the topic). In Ada, pretty much everything is about types and the relationships between them. 2019-09-13T20:06:01Z whartung: yea, there’s just been more “Ada” traffic (seemingly) recently, and (mostly) focused on its type system. And while typing is idiomatically optional in CL, it seems that the CL type system is quite rich. Whether it’s rich enough, or enforced well enough, to opt as a stand in for Ada (if all you were interested in was a typed language, vs some other issue), that I don’t know. Unlikely, but was just curious by how much 2019-09-13T20:06:40Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-13T20:07:00Z whartung: and ceratinly not in every case, but whether there may be examples where the CL type system is “good enough” for someone who might else look at Ada 2019-09-13T20:07:08Z shka_ joined #lisp 2019-09-13T20:07:12Z sukaeto: I think it's fair to say "you can do things in Ada out of the box with its type system that would require you to write a lot of macro code to achieve in Lisp" 2019-09-13T20:08:06Z aeth: whartung: Two problems. (1) You only get that richness if you use DECLARE, but DECLARE has undefined semantics (usually just means that it's ignored in some implementations, like CLISP) and the only implementation that normally handles it properly in almost all cases (SBCL) also does the worst (for reliability) semantics when at the (safety 0) optimization level, i.e. it assumes the type, like C. 2019-09-13T20:08:12Z Codaraxis joined #lisp 2019-09-13T20:08:21Z aeth: DECLARE is fine, although you might want a macro for less-awkward syntax. I've written a lot of code both ways, thoguh. 2019-09-13T20:08:24Z aeth: *though 2019-09-13T20:08:25Z whartung: but the key question is whether, even with enough macro code, was CL capable at all. How much of an overlap is there. The point about subtypes is important, i think, and structurally similarity — that may be a deal breaker 2019-09-13T20:09:03Z sukaeto: well, it's clearly capable. One could make the argument that Shen's type system is even more powerful than Ada's 2019-09-13T20:09:27Z sukaeto: while Shen is it's own thing now, it started out as just a bunch of Common Lisp macros, if I understand it correctly 2019-09-13T20:09:29Z whartung: and, yea, there’s the question of implemenation level enforcement. 2019-09-13T20:09:50Z aeth: whartung: The other problem (2) CL usually compiles file-by-file and leaves (almost, structs are undefined here) everything up for redefinition so unless you violate the standard with something like sb-ext:*derive-function-types* you won't get the full benefit of static typing outside of a single file and the CL package built-ins (and even in SBCL, you don't get quite the full benefit in a file because the style is so uncommon) 2019-09-13T20:10:15Z aeth: (That variable is false by default) 2019-09-13T20:10:16Z Codaraxis quit (Remote host closed the connection) 2019-09-13T20:10:43Z Codaraxis joined #lisp 2019-09-13T20:10:59Z sukaeto: in any event, in Ada the type system's real value is in how the programmer an leverage it to get "provably correct" code 2019-09-13T20:11:11Z aeth: whartung: And relating problem #2 to problem #1, SBCL only does its static type checking when safety > 0 so you are actually less safe than in C/C++ where you'll at least get static safety without runtime safety! With SBCL you have both or neither, not C-level safety. 2019-09-13T20:11:21Z analogue quit (Quit: Leaving) 2019-09-13T20:11:22Z pjb: DECLARE is the user (programmer) giving hints to the compiler. It is by definition a bad thing. 2019-09-13T20:11:33Z sukaeto: (scare quotes because of course you don't get provably correct in general. But you can get some strong guarantees over some facets of the code.) 2019-09-13T20:12:03Z sukaeto: the extra efficiency the compiler can squeeze out given the extra information the types encode is just a bonus 2019-09-13T20:12:08Z aeth: whartung: Additionally, the ftype of a function that you get with DECLARE/DECLAIM-heavy code isn't exposed like the type information is. It's just for the compiler afaik. 2019-09-13T20:12:30Z whartung: right 2019-09-13T20:13:04Z pjb: The use of type in statically typed programming languages is to restrict the data flow. In dynamically typed programming language, the data flow is not restricted, we just check the type of the operands when needed. If you need to restrict the data flow, perhaps you should do so more explicitely than by just decclaring types. You should just write down the data flow, so to ensure that data that enters it doesn't leave it and no 2019-09-13T20:13:04Z pjb: data can enter it. 2019-09-13T20:13:25Z aeth: pjb: You are incredibly, absolutely wrong as far as types go. There is a major difference between DECLARE and CHECK-TYPE where supported, and SBCL will take a CHECK-TYPE to mean that the variable before that point is of type T, since anything can be provided, and you can at runtime turn that into the item of the correct type during the CHECK-TYPE process. 2019-09-13T20:13:37Z aeth: So DECLARE can guarantee more than CHECK-TYPE 2019-09-13T20:13:42Z pjb: Also, when you describe such data flow, you won't filter just by types, but you can and should filter more. For example, on units, or on the provenance of the data! 2019-09-13T20:13:48Z aeth: If you want to talk about static typing in CL, all you have is DECLARE. 2019-09-13T20:13:57Z aeth: (Static typing in addition to dynamic typing, i.e. gradual typing.) 2019-09-13T20:14:14Z pjb: For example, there should be no reason to use a password from something else than physical user input. 2019-09-13T20:14:16Z sukaeto: pjb: but see, type can (and in Ada, frequently does) encode units 2019-09-13T20:14:25Z sukaeto: I'm not sure what you mean by "provenance of the data" 2019-09-13T20:14:27Z sigjuice quit (Ping timeout: 240 seconds) 2019-09-13T20:14:43Z pjb: That is, you need to tag the data by more than types, anything, and to filter on those tags. 2019-09-13T20:14:58Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-13T20:15:01Z pjb: All this to mean again that types are useless and boring. Forget about them. 2019-09-13T20:15:15Z sukaeto: pjb: that is absolutely untrue 2019-09-13T20:15:30Z pjb: Start by writing a unit system first. 2019-09-13T20:16:10Z aeth: sukaeto: Afaik, pjb is against gradual typing, so while CL implementations are able to support it, pjb argues against this. 2019-09-13T20:16:15Z Bike quit (Quit: Bike) 2019-09-13T20:16:22Z sukaeto: if you're looking at a system like Java or C and you think that what they offer is all there is to type systems, then I can understand how you'd get that impression 2019-09-13T20:16:33Z sigjuice joined #lisp 2019-09-13T20:17:00Z pjb: I don't mind the compiler doing its job and signaling type inconsistencies early. But I don't want to have write anything about it. 2019-09-13T20:17:09Z whartung: an example of provenance of data, sukaeto, is Perls taint system 2019-09-13T20:17:09Z sukaeto: pjb: oh, you're saying that types in Lisp are useless and boring? 2019-09-13T20:17:20Z sukaeto: if so, sorry I misunderstood 2019-09-13T20:17:26Z pjb: sukaeto: declaring them, yes. 2019-09-13T20:17:56Z sukaeto: given that I don't really think about types much beyond "this thing should be a number" or "this method specializes over these classes", I could probably agree with you there :-) 2019-09-13T20:17:56Z pjb: Checking them, most of the time. The programmer will too often be too specific in his type specifications. 2019-09-13T20:18:18Z sukaeto: don't really think about types much *when programming in Lisp*, to be clear 2019-09-13T20:18:30Z pjb: thankfully. 2019-09-13T20:18:44Z krid quit (Ping timeout: 265 seconds) 2019-09-13T20:18:51Z pjb: CL doesn't force you to think much about them. 2019-09-13T20:19:12Z sukaeto: well, CL's strengths lie along other dimensions 2019-09-13T20:19:12Z whartung: I honestly use types in two places: one, when reading code just so I know what I’m looking at ,and 2, when refactoring to have the compiler let me know when I break things. 2019-09-13T20:19:53Z aeth: Ime, it really depends on what you do. For functions used by macros, types are incredibly useless. You want to basically be able to handle anything that is thrown at you in a given variable. If you're working with numbers, arrays of numbers, structs of arrays of numbers, etc., you absolutely wind up writing the 100th defun-with-more-convenient-type-declarations macro at some point. 2019-09-13T20:20:07Z ralt joined #lisp 2019-09-13T20:20:40Z aeth: (By incredibly useless in macros, I mean type declarations or even check-types. What you'd probably do at most is a typecase) 2019-09-13T20:21:08Z sukaeto: I can hot patch my running system in Lisp. I can just call anything that's been loaded at the REPL. When I hit bugs in development, the debugger just pops up and I get an interactive stack trace. Same with the profiler, it's just right there. I don't have to run the code with special flags to get it to dump some file that then has to be interpreted by another tool to give me output with the stuff I care 2019-09-13T20:21:10Z sukaeto: about buried amongst stuff I don't care about. 2019-09-13T20:21:14Z sukaeto: none of these things are true for ADa 2019-09-13T20:21:57Z sukaeto: Ada, even 2019-09-13T20:22:31Z TMA: thinking about types helps me even in CL; but to be frank those are not the CL-types, these are more domain specific. (length-in-meters instead of number, sequence-of-issue-ids instead of list or list-of-integers) 2019-09-13T20:22:33Z Aruseus joined #lisp 2019-09-13T20:24:09Z sukaeto: TMA: and Ada gives you the power to codify those things in your type declarations 2019-09-13T20:24:14Z pjb: But when you write your code, you should distinguish parts that are very sepcific to meters and issue-ids, and the rest of the algorithms that work on reals or list of integers (note, numbers are not lengths! Only real are lengths! you got your typing wrong (this is why you should let the compiler do it!)). 2019-09-13T20:24:27Z aeth: sukaeto: Ironically, C++, which everyone loves to hate, is probably one of the best of those rigid (more than just merely "static" imo) languages as far as runtime debugging goes. I mean, yes, you do get a vommit of error messages where only the first one is relevant if it's at compile, but if you want to look at something semi-interactively, you can just define << for it and print it. 2019-09-13T20:24:36Z pjb: What I'm saying is that 90% of your code will be generic code dealing with lists of whatever or lists of integers, or reals. 2019-09-13T20:24:36Z aeth: Assuming, of course, that you can recompile it fast enough to make it almost interactive! 2019-09-13T20:25:26Z wooden joined #lisp 2019-09-13T20:25:26Z wooden quit (Changing host) 2019-09-13T20:25:26Z wooden joined #lisp 2019-09-13T20:26:06Z aeth: pjb: It *really* depends on what you're doing 2019-09-13T20:26:48Z aeth: pjb: If your "reals" are best modeled by floats, suddenly you probably are thinking about types and declarations, at least a bit. And if you're just handling text, you can probably just work with streams and not really worry about types that much because FORMAT is usually smart enough with ~A 2019-09-13T20:27:17Z kajo quit (Ping timeout: 276 seconds) 2019-09-13T20:28:08Z TMA: sukaeto: as does haskell. haskellers are proud in that they manage to squeeze a lot into the type system 2019-09-13T20:28:33Z sukaeto: TMA: yeah, Haskell is another language with a really rich type system 2019-09-13T20:28:51Z femi quit (Ping timeout: 240 seconds) 2019-09-13T20:28:52Z sukaeto: I don't have a ton of experience with it, though 2019-09-13T20:29:02Z aeth: The reason I'm using CL instead of a more ideologically pure language is precisely because CL the language is less ideological than e.g. pjb is. If your code is almost all generic, good. It works. If your code isn't and it's almost all single-float/double-float, good. It also still works. It's incredibly multiparadigm because it doesn't force you into a way of thinking that's bad for certain domains. 2019-09-13T20:29:04Z femi joined #lisp 2019-09-13T20:29:35Z kajo joined #lisp 2019-09-13T20:29:44Z aeth: Of course, on Ada, the point is specifically to not give you that freedom, because if your numerical code is for rockets, you don't want the rocket to explode if the units are wrong. 2019-09-13T20:30:30Z sukaeto: well, you've got plenty of freedom in Ada. You just have to be judicious about telling the compiler when you want to take liberties and when you want it to complain at you. 2019-09-13T20:30:33Z aeth: The SLIME debugger can't currently pause reality if a bug happens. 2019-09-13T20:32:11Z sukaeto: people will always ask on #ada things like "why do I get an error when I try to use type X instead of type Y" (where X and Y are two different integer types or some such) 2019-09-13T20:32:36Z sukaeto: to which the answer is "Why did you define them that way if it wasn't what you wanted, silly?" 2019-09-13T20:32:44Z pjb: aeth: you keep getting it wrong. Your reals are not modeled by floats. When you say length it means order. < works only on real, not on complex. Writing your code for float is wrong, because there are also ratios! 3/4 is a perfectly good length. 2019-09-13T20:32:58Z pjb: as is 3 which is an integer. 2019-09-13T20:33:47Z aeth: pjb: Writing your code just for floating-point numbers is wrong, but it's wrong in a very well-studied, well-known way with algorithms written by people smarter than I that you can implement to work with them. 2019-09-13T20:34:02Z aeth: The main problem is if you force floats on everyone, e.g. JavaScript. 2019-09-13T20:34:07Z Codaraxis quit (Read error: Connection reset by peer) 2019-09-13T20:34:24Z pjb: ok, but you're not writing lisp code then. You might be transfering C or fortran code to lisp. 2019-09-13T20:34:31Z Codaraxis joined #lisp 2019-09-13T20:34:56Z aeth: pjb: And TAGBDOY will help you manually translate those FORTRAN programs into Lisp, too. 2019-09-13T20:35:06Z pjb: Yep. 2019-09-13T20:35:10Z aeth: That's something that a more ideologically pure language would absolutely not give you 2019-09-13T20:35:31Z aeth: pjb: In practice, though, LOOP with :of-type is what I tend to use when I'm translating numerical stuff into CL, though. Gives you pretty much everything you need. 2019-09-13T20:36:00Z aeth: (and it looks pretty close to the pseudocode (or not-CL) source, too) 2019-09-13T20:36:09Z scymtym joined #lisp 2019-09-13T20:39:43Z aeth: pjb: I hope one day someone writes BLAS from scratch with CL (particularly SBCL's optimizations) in mind. Those Fortran to CL translators produce terrible numerical SBCL if you disassemble it (not surprising because they probably predate SBCL and maybe even CMUCL). Handwritten CL can do much better. 2019-09-13T20:41:24Z aeth: And similarly, I hope that (almost) no one directly uses that library since it would be so incredibly non-idiomatic. 2019-09-13T20:41:47Z mstdnuser[m] quit (Remote host closed the connection) 2019-09-13T20:41:51Z no-defun-allowed quit (Read error: Connection reset by peer) 2019-09-13T20:41:55Z Jachy quit (Read error: Connection reset by peer) 2019-09-13T20:41:55Z keep-learning[m] quit (Read error: Connection reset by peer) 2019-09-13T20:41:58Z djeis[m] quit (Remote host closed the connection) 2019-09-13T20:41:59Z sciamano quit (Read error: Connection reset by peer) 2019-09-13T20:42:02Z malaclyps[m] quit (Write error: Connection reset by peer) 2019-09-13T20:42:03Z Godel[m] quit (Write error: Connection reset by peer) 2019-09-13T20:42:03Z fynzh[m] quit (Write error: Connection reset by peer) 2019-09-13T20:42:06Z dtw quit (Write error: Connection reset by peer) 2019-09-13T20:42:11Z nonlinear[m] quit (Read error: Connection reset by peer) 2019-09-13T20:42:12Z munksgaard[m] quit (Write error: Connection reset by peer) 2019-09-13T20:42:12Z eriix[m] quit (Read error: Connection reset by peer) 2019-09-13T20:42:14Z liambrown quit (Read error: Connection reset by peer) 2019-09-13T20:42:14Z hiq[m] quit (Write error: Connection reset by peer) 2019-09-13T20:42:18Z shaakyamuni[m] quit (Remote host closed the connection) 2019-09-13T20:42:19Z Gnuxie[m] quit (Write error: Connection reset by peer) 2019-09-13T20:42:19Z iarebatman quit (Write error: Connection reset by peer) 2019-09-13T20:42:21Z katco quit (Write error: Connection reset by peer) 2019-09-13T20:42:21Z v88m quit (Read error: Connection reset by peer) 2019-09-13T20:42:21Z pnp joined #lisp 2019-09-13T20:42:22Z akanouras quit (Read error: Connection reset by peer) 2019-09-13T20:42:23Z LdBeth quit (Remote host closed the connection) 2019-09-13T20:44:08Z kamog joined #lisp 2019-09-13T20:44:40Z j-r joined #lisp 2019-09-13T20:44:40Z j-r quit (Changing host) 2019-09-13T20:44:40Z j-r joined #lisp 2019-09-13T20:45:08Z aeth: pjb: Imo, though, for some tasks you have two options: (1) write Fortran or C in your language; or, (2) write FFI code to call into optimized Fortran/C/C++ libraries. And I'm glad CL is in the category that permits option 1 because native libraries with foreign dependencies are often hard to work with and because even just writing C-in-CL looks more idiomatic than wrapping C in CL. 2019-09-13T20:45:38Z pjb: Granted, option 1 is better than FFI. 2019-09-13T20:46:30Z pjb: But if you can solve your problem with symbolic algorithms, it probably be be better than with numeric algorithms. Anyways, for numeric, you won't beat cuda or tesla processors. 2019-09-13T20:47:03Z pnp quit (Ping timeout: 260 seconds) 2019-09-13T20:47:39Z aeth: Cuda is for embarrassingly parallel afaik. And even there, sometimes memory latency going CPU to GPU and back will make it slower, again afaik. 2019-09-13T20:48:27Z aeth: As for symbolic being better, there are two issues with that that I know of. (1) Some things can only be solved numerically (in particular, some differential equations). (2) Even when a symbolic solution can be done, sometimes it's too slow. 2019-09-13T20:49:14Z aeth: As far as software bloat/expansion goes, eventually every symbolic system evolves to support numerical as well, for those reasons, and possibly some more. I guess Lisp in a sense can be seen as a case of this. 2019-09-13T20:49:52Z Agafnd joined #lisp 2019-09-13T20:50:43Z bitmapper joined #lisp 2019-09-13T20:50:57Z akanouras joined #lisp 2019-09-13T20:52:26Z Bike joined #lisp 2019-09-13T20:52:58Z madand joined #lisp 2019-09-13T20:54:30Z shka_ quit (Ping timeout: 265 seconds) 2019-09-13T20:54:32Z Lord_of_Life_ joined #lisp 2019-09-13T20:57:17Z Achylles joined #lisp 2019-09-13T20:57:53Z Lord_of_Life quit (Ping timeout: 265 seconds) 2019-09-13T20:57:56Z Lord_of_Life_ is now known as Lord_of_Life 2019-09-13T21:01:39Z jmercouris joined #lisp 2019-09-13T21:02:07Z jmercouris quit (Remote host closed the connection) 2019-09-13T21:02:27Z ralt: SIMD is what you need for embarassingly-parallel-on-CPU, no? 2019-09-13T21:02:31Z whartung: how are common block done in CL? 2019-09-13T21:04:14Z krid joined #lisp 2019-09-13T21:04:34Z aeth: ralt: Ideally, something like BLAS-on-CL would be written in portable CL as a fallback for architectures/implementations not supported, and use SIMD asm where possible, like SBCL-on-x86-64. So it wouldn't be a simple task. 2019-09-13T21:08:11Z UgurKap quit (Quit: Leaving) 2019-09-13T21:14:31Z retropikzel quit (Remote host closed the connection) 2019-09-13T21:14:49Z aeth: And for the GPU, we have SPIR-V now. 2019-09-13T21:17:39Z Agafnd quit (Ping timeout: 240 seconds) 2019-09-13T21:18:41Z dtw joined #lisp 2019-09-13T21:18:42Z LdBeth joined #lisp 2019-09-13T21:18:42Z Jachy joined #lisp 2019-09-13T21:18:42Z iarebatman joined #lisp 2019-09-13T21:18:42Z katco joined #lisp 2019-09-13T21:18:42Z liambrown joined #lisp 2019-09-13T21:18:42Z sciamano joined #lisp 2019-09-13T21:18:42Z no-defun-allowed joined #lisp 2019-09-13T21:18:42Z djeis[m] joined #lisp 2019-09-13T21:18:42Z eriix[m] joined #lisp 2019-09-13T21:18:43Z nonlinear[m] joined #lisp 2019-09-13T21:18:43Z munksgaard[m] joined #lisp 2019-09-13T21:18:43Z hiq[m] joined #lisp 2019-09-13T21:18:43Z Godel[m] joined #lisp 2019-09-13T21:18:43Z keep-learning[m] joined #lisp 2019-09-13T21:18:43Z malaclyps[m] joined #lisp 2019-09-13T21:18:43Z Gnuxie[m] joined #lisp 2019-09-13T21:18:50Z fynzh[m] joined #lisp 2019-09-13T21:18:50Z shaakyamuni[m] joined #lisp 2019-09-13T21:18:51Z mstdnuser[m] joined #lisp 2019-09-13T21:19:35Z v88m joined #lisp 2019-09-13T21:19:49Z gxt joined #lisp 2019-09-13T21:27:02Z Achylles quit (Quit: Leaving) 2019-09-13T21:28:18Z Denommus joined #lisp 2019-09-13T21:36:58Z mindCrime_ quit (Ping timeout: 245 seconds) 2019-09-13T21:37:06Z gareppa quit (Quit: Leaving) 2019-09-13T21:37:07Z Lycurgus joined #lisp 2019-09-13T21:37:36Z v88m quit (Read error: Connection reset by peer) 2019-09-13T21:37:59Z LiamH left #lisp 2019-09-13T21:40:37Z Denommus quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2019-09-13T21:41:24Z alexanderbarbosa quit (Remote host closed the connection) 2019-09-13T21:47:24Z Lycurgus quit (Quit: Exeunt) 2019-09-13T21:47:48Z mgsk: Any package recommendations for a short lambda reader macro? 2019-09-13T21:49:45Z nanoz quit (Ping timeout: 246 seconds) 2019-09-13T21:49:46Z paul0 quit (Read error: Connection reset by peer) 2019-09-13T21:49:59Z _paul0 joined #lisp 2019-09-13T21:51:19Z alexanderbarbosa joined #lisp 2019-09-13T21:51:37Z aeth: mgsk: What are you looking for? For me, I just use an emacs thing (minor mode?) that turns "lambda" when typed into the Greek letter. As long as you don't have a multi-line lambda list (arguments list) it won't mess with indentation in the final source code. And if it is that complicated that you have multiple lines of arguments, it probably shouldn't be a lambda. 2019-09-13T21:52:08Z aeth: (If it is a multi-line lambda list then the subsequent arguments past the first line will be aligned for one character of the Greek letter when they should be aligned for 6, so that's where the illusion breaks down, by messing up the indentation) 2019-09-13T21:52:31Z TMA quit (Ping timeout: 268 seconds) 2019-09-13T21:52:42Z aeth: It's called pretty-lambdada 2019-09-13T21:53:24Z aeth: It will work correctly for single-line lambdas (as long as you don't have a hard line length limit) and multi-line lambdas with single-line lambda lists like (lambda (x y z)\n...) 2019-09-13T21:54:46Z aeth: I think there's another emacs minor-mode that is more general (i.e. doing more substitutions, not just lambda), but of course that might have more edge cases that will mess up formatting. lambda just has that one (very rare) edge case. 2019-09-13T21:55:04Z mgsk: aeth: i know you know what i'm asking 2019-09-13T21:56:02Z asdf_asdf_asdf: @mgsk; retype question, please. 2019-09-13T21:56:12Z aeth: Well, that's "short lambda" in the literal sense of shortening "lambda". There are other possible short lambdas, like (lambda (x y z) ...) into #[x y z : ...] or something, or maybe (lambda (x) ...) into #[...] where x is now an implicit _ 2019-09-13T21:57:43Z asdf_asdf_asdf: (reduce (lambda (x y) (+ x y)) (list 1 2 3)) => 6 2019-09-13T21:57:48Z aeth: Of course, substituting "lambda" for "λ" (in several ways, including in the source code or locally in Emacs) gets you most of the way in terms of conciseness, especially once you take into account the extra # most reader macros will add. 2019-09-13T21:59:19Z Oladon_work: Huh, that substitution is a nice idea. 2019-09-13T21:59:56Z aeth: Especially since lambdas are almost always one-liners, or with a newline after the lambda-list (not in the middle of it) so it doesn't affect formatting 2019-09-13T22:00:09Z mgsk: I suppose it's one of those things that seems nice in theory, and when you have a tonne of throw-away lambdas scattered around. But in practice, it doesn't save you much. 2019-09-13T22:00:25Z mgsk: This leans in the direction I was thinking: https://github.com/cbaggers/fn 2019-09-13T22:00:28Z moldybits: i think it looks nice 2019-09-13T22:00:36Z karlosz joined #lisp 2019-09-13T22:00:58Z TMA joined #lisp 2019-09-13T22:01:27Z sjl_ quit (Quit: WeeChat 2.3-dev) 2019-09-13T22:02:39Z Oladon_work: moldybits: I agree 2019-09-13T22:02:55Z aeth: mgsk: yes, but that should be #λ not λ imo. So now you have #λ(+ _ _) vs. (λ (_) (+ _ _)) and you don't gain much at all and it's super-niche. 2019-09-13T22:03:33Z madand: Hi all. For 1- or 2-argument lambdas have a look at https://github.com/vseloved/rutils/blob/master/docs/tutorial.md#user-content-readtables 2019-09-13T22:03:40Z aeth: and really imo it should be #λ((+ _ _)) because most lambda bodies aren't going to be just one expression (usually you can just use #'+ directly if you're in that situation) 2019-09-13T22:03:52Z Oladon_work: moldybits: And it's not like you're substituting some random character (*coughRubycough*); λ _is_ Lambda. 2019-09-13T22:09:01Z karlosz quit (Quit: karlosz) 2019-09-13T22:09:28Z karlosz joined #lisp 2019-09-13T22:09:37Z karlosz quit (Remote host closed the connection) 2019-09-13T22:09:53Z moldybits: i wish more symbols were used in code 2019-09-13T22:13:23Z Oladon_work quit (Ping timeout: 260 seconds) 2019-09-13T22:14:49Z aeth: Well, that's more #apl than #lisp 2019-09-13T22:15:33Z aeth: Some Lispers don't like the few symbols that are used, like +, *, /, and -, but those are probably justifiable because they're more familiar than the letters and they're easy to type. 2019-09-13T22:15:46Z aeth: s/than the letters/than the words/ 2019-09-13T22:16:02Z moldybits: really? 2019-09-13T22:16:12Z moldybits: what do they think is wrong with symbols 2019-09-13T22:17:02Z aeth: iirc, early Lisp didn't really use any symbols in the identifier names, which is why we have string= for case-sensitive string equality and string-equal for case-insensitive. Backwards compatibility! The old way was case-insensitive and its name remains 2019-09-13T22:17:26Z aeth: and then you have Scheme which sort of embraces symbols more, which is how you get ? and ! 2019-09-13T22:22:09Z Codaraxis quit (Read error: Connection reset by peer) 2019-09-13T22:22:35Z Codaraxis joined #lisp 2019-09-13T22:23:57Z aeth: I'm pretty sure some historic Lisps didn't use +, -, *, and / iirc 2019-09-13T22:24:08Z aeth: I'm not sure if it was PLUS or ADD 2019-09-13T22:25:01Z Ricchi joined #lisp 2019-09-13T22:25:03Z Bike: lisp 1.5 has plus. 2019-09-13T22:25:17Z Bike: but add1 for 1+... okay then 2019-09-13T22:25:54Z aeth: I'm surprised it wasn't INC and DEC, since they probably already had INCF and DECF at that point 2019-09-13T22:26:25Z Bike: nope. 2019-09-13T22:26:34Z pjb: mgsk: why do you want a package? (set-macro-character #\λ (lambda (s c) (declare (ignore s)) `(cl:lambda ,(read s) ,(read s)))) (mapcar λ (x) (* 2 x) '(1 2 3)) #| --> (2 4 6) |# 2019-09-13T22:26:46Z Bike: there's a (SETQ V (ADD1 V)) in here, even 2019-09-13T22:26:59Z Bike: no setf in lisp 1.5. 2019-09-13T22:27:32Z pjb: aeth: or pred succ; but that was because Pascal came only in 1969… 2019-09-13T22:29:28Z Bike: i mean, there are no macros at all, i don't think 2019-09-13T22:32:54Z aeth: If LISP 1.5 has no macros is it even a Lisp? 2019-09-13T22:33:16Z aeth: (Yes, that's a joke based on all of those "What is Lisp?" debates that the Internet loves to have.) 2019-09-13T22:39:50Z LdBeth: Then it has fexpr 2019-09-13T22:41:33Z Bike: i don't think 1.5 has fexprs either 2019-09-13T22:41:41Z pjb: Yes, it has them. 2019-09-13T22:42:47Z pjb: https://pastebin.com/HRWsUJqc 2019-09-13T22:47:55Z sjl quit (Quit: WeeChat 2.2-dev) 2019-09-13T22:48:33Z Aruseus quit (Remote host closed the connection) 2019-09-13T22:48:45Z Aruseus joined #lisp 2019-09-13T22:55:44Z asdf_asdf_asdf quit (Remote host closed the connection) 2019-09-13T22:57:49Z smazga quit (Quit: leaving) 2019-09-13T22:58:18Z iovec quit (Quit: Connection closed for inactivity) 2019-09-13T22:58:53Z libertyprime joined #lisp 2019-09-13T23:01:20Z varjag quit (Ping timeout: 276 seconds) 2019-09-13T23:08:21Z libertyprime quit (Ping timeout: 245 seconds) 2019-09-13T23:09:08Z Codaraxis quit (Ping timeout: 276 seconds) 2019-09-13T23:13:32Z nullniverse joined #lisp 2019-09-13T23:13:32Z nullniverse quit (Changing host) 2019-09-13T23:13:32Z nullniverse joined #lisp 2019-09-13T23:14:27Z sameerynho quit (Ping timeout: 246 seconds) 2019-09-13T23:19:34Z zaquest quit (Read error: Connection reset by peer) 2019-09-13T23:21:53Z karlosz joined #lisp 2019-09-13T23:44:01Z Aruseus quit (Remote host closed the connection) 2019-09-14T00:00:37Z zaquest joined #lisp 2019-09-14T00:01:58Z makomo_ quit (Ping timeout: 245 seconds) 2019-09-14T00:04:28Z eigenhombre: I finally figured out my `cffl` problems; posted solution here: https://stackoverflow.com/a/57931463/611752. The problem seems to have been a bunch of outdated Homebrew packages. 2019-09-14T00:09:05Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-14T00:09:47Z pjb: eigenhombre: that's one problem of cffi (and ffi in general): they use a static definition of foreign objects that is generally taken from C header sources (tripple whammy!). 2019-09-14T00:10:32Z pjb: eigenhombre: at least, ccl tries to go thru ffigen to use a definition database, but ffigen is bitrotten, so it's not easy to generate new ffigen databases for random libraries. 2019-09-14T00:11:39Z pjb: eigenhombre: in any case, the only «"'reasonable'"» approach would be to retrieve the foreign object definitions from the DWARF debug info, but it's not often available in any case. 2019-09-14T00:11:57Z pjb: Just say No! to FFI. 2019-09-14T00:14:03Z edgar-rft says hello to all dwarfs in this channel 2019-09-14T00:14:29Z madand quit (Remote host closed the connection) 2019-09-14T00:14:54Z eigenhombre: pjb: Thanks! I would prefer not to use FFI at all but want `curses` or equivalent... any other approaches I should look at? 2019-09-14T00:16:03Z jonatack quit (Ping timeout: 246 seconds) 2019-09-14T00:20:22Z Josh_2: aeth: what is the difference between a symbolic algorithm and a numeric one? 2019-09-14T00:22:26Z no-defun-allowed: for integration, "symbolic" would be going from x^2 to x^3/3, "numeric" would be going from x^2 from 0 to 1 to 1/3, one works with numbers, and the other just symbols 2019-09-14T00:22:49Z Josh_2: ah 2019-09-14T00:22:50Z pjb: eigenhombre: eg. solving x^2+2x+1=0 numerically may give you -1.00001 and -0.999999 numerically and -1 and -1 (the integers) symbolically. 2019-09-14T00:22:50Z Josh_2: right 2019-09-14T00:23:28Z eigenhombre: 🙂 2019-09-14T00:23:42Z pjb: sorry s/eigenhombre/Josh_2/ 2019-09-14T00:24:00Z no-defun-allowed: (if you had a better integral that converged, eg 1/x, you could integrate from -∞ to ∞) 2019-09-14T00:25:18Z pjb: eigenhombre: using cl-charm thru FFI should be ok once you get it working. The difficulty here is the termcap or terminfo database, which is arcane. In this modern world, we could implement a terminfo database reader, and then use the control code obtained to issue them ourselves in a curses package written purely in lisp. It is difficult to do it conformingly because this requires binary I/O on the terminal, which is not defi 2019-09-14T00:25:18Z pjb: the standard. 2019-09-14T00:26:12Z pjb: eigenhombre: so there's no really good solution. A good solution would involve writing a CDR to specify binary I/O on unix tty and windows console terminals, and to use it to implement the above pure lisp curses. 2019-09-14T00:27:14Z eigenhombre: pjb: Maybe a little more ambitious than my use case to start with, which is implementing a roguelike :-) But that's interesting, thank you! 2019-09-14T00:27:16Z pjb: eigenhombre: this would also involve parsing and understanding the C curses code, in which I expect a lot of special cases and terminal specific heuristics to be encoded. Ie. the knowledge of how to use the terminfo database. 2019-09-14T00:27:51Z pjb: eigenhombre: yes, but that's one problem: everybody wants to use ncurses for a little program, so nobody improves the lisp ecosystem. 2019-09-14T00:28:00Z eigenhombre: Fair enough 2019-09-14T00:28:31Z eigenhombre: It sounds though like it's not only a lisp ecosystem issue -- I know curses is like 40 years old or something.... 2019-09-14T00:28:34Z pjb: This is where you would need to win the lotto or sell a multi-hundred-millions startup, to finance such (usele$$) lisp developments. 2019-09-14T00:29:12Z pjb: eigenhombre: The thing is that people still may use 50 years old terminals of various kinds. 2019-09-14T00:30:21Z eigenhombre: Right, you mean for embedded / old consoles built into old infrastructure...? 2019-09-14T00:30:43Z pjb: https://www.youtube.com/watch?v=g8h2SenYOKc 2019-09-14T00:31:14Z pjb: https://www.youtube.com/watch?v=-Ul-f3hPJQM 2019-09-14T00:32:00Z pjb: and run on linux CL programs that will have their *terminal-io* connected to such devices. 2019-09-14T00:32:39Z pjb: eigenhombre: it's also not entirely geeky; some professionnal environment still use such old devices for various good-enough reasons. 2019-09-14T00:32:52Z Hsab_Selur joined #lisp 2019-09-14T00:33:37Z eigenhombre: Hah, I *had* one of those VT100 terminals on my desk in college 2019-09-14T00:33:51Z eigenhombre dates himself 2019-09-14T00:34:50Z pjb: OR, you can throw all that away, and design a new package for 2D textual interfaces. You might base it on emacs, or on some specific terminal emulator (but a lot of people would question you supporting a specific one such as Linux; perhaps using ECMA-048 would be ok, but not all terminal emulators support all the ECMA-048 features (hence back to terminfo)). 2019-09-14T00:35:51Z pjb: wyse terminals were nice too: https://www.ebay.com/itm/Refurbished-Amber-Screen-Wyse-55-Terminal-901237-07-WY-55-with-PCE-Keyboard/292313662783?epid=669517948&hash=item440f40853f:g:rNcAAOxy7nNTSXla 2019-09-14T00:37:21Z pjb: anyways, nowadays most end-users will be behind a mobile web browser or a ms-windows box. So perhaps you only need to support that. 2019-09-14T00:38:18Z pjb: see things like shell-in-a-box. 2019-09-14T00:39:08Z pjb: Or just wait for AI singurlarity; this will solve all those problems for us once and for all. 2019-09-14T00:40:16Z noobineer quit (Read error: Connection reset by peer) 2019-09-14T00:41:33Z khisanth_ quit (Ping timeout: 245 seconds) 2019-09-14T00:42:52Z xkapastel joined #lisp 2019-09-14T00:44:03Z shifty joined #lisp 2019-09-14T00:47:54Z keep_learning joined #lisp 2019-09-14T00:49:22Z asupalai joined #lisp 2019-09-14T00:50:45Z kamog quit (Quit: ERC (IRC client for Emacs 26.3)) 2019-09-14T00:54:14Z khisanth_ joined #lisp 2019-09-14T01:03:39Z bitmapper quit (Ping timeout: 240 seconds) 2019-09-14T01:12:39Z elfmacs joined #lisp 2019-09-14T01:18:29Z elderK joined #lisp 2019-09-14T01:20:18Z semz_ quit (Ping timeout: 245 seconds) 2019-09-14T01:20:36Z asupalai quit (Remote host closed the connection) 2019-09-14T01:20:49Z red-dot joined #lisp 2019-09-14T01:31:13Z _paul0 quit (Remote host closed the connection) 2019-09-14T01:33:46Z semz_ joined #lisp 2019-09-14T01:33:46Z semz_ quit (Changing host) 2019-09-14T01:33:46Z semz_ joined #lisp 2019-09-14T01:34:05Z nullniverse quit (Quit: Leaving) 2019-09-14T01:35:25Z nullniverse joined #lisp 2019-09-14T01:40:48Z verisimilitude joined #lisp 2019-09-14T01:41:04Z verisimilitude: Look no further, eigenhombre: http://verisimilitudes.net/2018-04-04 2019-09-14T01:41:51Z verisimilitude: Risking memory leaks shouldn't be necessary to control a terminal device. 2019-09-14T01:44:49Z t58 quit (Quit: Leaving) 2019-09-14T01:45:57Z shifty quit (Ping timeout: 265 seconds) 2019-09-14T01:46:19Z shifty joined #lisp 2019-09-14T01:47:45Z Oladon joined #lisp 2019-09-14T01:49:17Z aeth: Josh_2: Symbolic math is roughly what you learned in school, with a handful of exceptions like Euler's method (if you learned that in school... or maybe quite a few more exceptions if you e.g. specifically took a numerical class in the math or comp sci department at a university). 2019-09-14T01:49:39Z ralt quit (Quit: Connection closed for inactivity) 2019-09-14T01:49:53Z Oladon1 quit (Ping timeout: 245 seconds) 2019-09-14T01:50:46Z aeth: So e.g. symbolic integration is applying a big series of rules to attempt to reverse integration, including ones you'd learn in Calculus II and ones that are far too complicated for anyone but a computer to do. 2019-09-14T01:51:15Z aeth: And numerical integration looks like this: https://en.wikipedia.org/wiki/Numerical_integration#Adaptive_algorithms 2019-09-14T01:52:50Z aeth: As a rule of thumb, never write your own algorithms in this domain, just apply what you read on Wikipedia or in a book. 2019-09-14T01:53:21Z emma: what are some reasons that we still enjoy lisp and would like to use it instead of some alternative 2019-09-14T01:55:32Z verisimilitude: I like the machine independence, the ability to be lazy through metaprogramming, and how Lisp is particularly suited to programs that are vague in every way as they're being written. 2019-09-14T01:56:16Z aeth: emma: My elevator pitch for Lisps is always syntactic representations of languages rather than using text-based templates. HTML is far from the only thing you can do this with (see: CSS, JS, SQL, GLSL, JSON, XML, CSV, etc.), but it's probably the simplest example. 2019-09-14T01:56:23Z verisimilitude: That is, Lisp is good for exploratory programming. 2019-09-14T01:57:23Z aeth: emma: In mainstream languages you'd use a template system like this to embed logic within .html files that then get processed textually to do your substitutions. <html> ... <body> <p> Hello, {{username}}! </p> </body> </html> might be what it looks like using something like https://mustache.github.io/ 2019-09-14T01:58:36Z aeth: emma: In a Lisp, you'd be more likely to do something like this: `(:html ... (:body (:p "Hello, " ,username "!"))) and generate the final HTML string at the end, after working on it structurally, perhaps in functions or perhaps in macros (or both!) 2019-09-14T01:59:09Z aeth: So you get the full language, without the mess of having to embed it (and possibly escape certain characters) or using some DSL or something else. 2019-09-14T01:59:27Z karlosz quit (Quit: karlosz) 2019-09-14T01:59:43Z emma: hm, interesting. Thank you for your thoughts on that. 2019-09-14T01:59:45Z aeth: And it's not much, I wrote something to generate HTML in a few days, with this test generation: https://gitlab.com/snippets/1892940#L83-115 2019-09-14T02:01:22Z aeth: no parsing necessary 2019-09-14T02:03:04Z aeth: I was thinking about how I'd do the same thing in C++ and it's not pretty. First, I'd have to make a gigantic enum of all of the tags instead of just using keywords that don't have to be aware of anything (with the exception of the HTML empty elements like br that turn into <br> or <br /> instead of <br></br>). 2019-09-14T02:03:45Z aeth: And then I'd have to make a linked list where the head is one of those enums and the tail is either a string or another enum representing attributes (again, with me having to enumerate all of them instead of just using keywords). And visually, the end result would look pretty weird. 2019-09-14T02:04:57Z aeth: And I wouldn't be able to trivially turn that into a syntactic macro. I can do that in CL since my function takes in a quoted s-expression as its main input. 2019-09-14T02:05:06Z maxxcan joined #lisp 2019-09-14T02:10:27Z maxxcan quit (Quit: maxxcan) 2019-09-14T02:13:50Z Codaraxis joined #lisp 2019-09-14T02:13:53Z Josh_2 quit (Remote host closed the connection) 2019-09-14T02:23:35Z ahungry joined #lisp 2019-09-14T02:23:36Z verisimilitude: An issue with Lisp is that it can be odd moving to a new language. I've been learning Ada for a while now and it's not always easy to plan a program out in the detail required, down to the types, and I'm inclined to believe being so accustomed to Common Lisp is part of the reason. 2019-09-14T02:25:39Z ahungry quit (Remote host closed the connection) 2019-09-14T02:25:58Z Codaraxis quit (Read error: Connection reset by peer) 2019-09-14T02:27:05Z aeth: verisimilitude: give nearly everything its own type and if you change what its type is later on, you just change one line instead of many 2019-09-14T02:27:18Z aeth: Might not work well in Ada specifically (see: the earlier conversation here) 2019-09-14T02:27:38Z karlosz joined #lisp 2019-09-14T02:28:21Z aeth: If foo is type Foo, then things are easy 2019-09-14T02:28:26Z verisimilitude: Yes. 2019-09-14T02:29:22Z aeth: Also, pick a domain that fits the language, if you're just learning it on your own. CL is much better than most languages at the sort of text generation that I was talking about earlier with my HTML example. But if you're doing something that is mostly double floats or something, then that solves most of the type issues in a static language. 2019-09-14T02:29:23Z verisimilitude: In particular, I've strangled myself with the flexibility of Common Lisp for one program; it works in Common Lisp and I wanted to rewrite it in Ada, yet I find the idea lacks the structure necessary, so I'm going to need to rewrite the Common Lisp before I can get a good idea of how to write it in Ada. 2019-09-14T02:30:04Z aeth: Oh, and generally, try to avoid linked lists and trees and graphs etc. in such languages. So much harder. Not sure about the details of Ada, though 2019-09-14T02:30:41Z verisimilitude: Ada 2012 has standard doubly-linked lists, trees, sets, and other such things in its container library. 2019-09-14T02:31:06Z karlosz quit (Client Quit) 2019-09-14T02:31:20Z verisimilitude: Where one may use a hash-table in CL, one can usually use a simple array in Ada, though. 2019-09-14T02:31:36Z red-dot: minion: registration, please? 2019-09-14T02:31:36Z minion: The URL https://gitlab.common-lisp.net/users/sign_in?secret=d20b6b3c will be valid until 02:45 UTC. 2019-09-14T02:32:42Z aeth: verisimilitude: Yes, but it's not GCed (by default) afaik, which makes such allocation-heavy stuff way harder imo. 2019-09-14T02:33:07Z aeth: (Well, allocation-heavy in that sense, vs. an adjustable vector that just keeps allocating to the end but keeps it as one thing) 2019-09-14T02:33:19Z verisimilitude: It can use GC, but it doesn't. There's not much dynamic allocation, actually, as most things can be allocated on the stack. 2019-09-14T02:34:37Z verisimilitude: Another nicety of Ada are the pragmas which permit specifying certain things never occur along with banning implementation-specific functionality, etc. 2019-09-14T02:40:30Z saravia joined #lisp 2019-09-14T02:40:50Z karlosz joined #lisp 2019-09-14T02:42:26Z karlosz quit (Client Quit) 2019-09-14T02:43:20Z karlosz joined #lisp 2019-09-14T02:45:28Z raghavgururajan joined #lisp 2019-09-14T02:48:40Z aeth: verisimilitude: Have you ever tried (declare (dynamic-extent foo)) in CL? You can get surprisingly far in SBCL. 2019-09-14T02:50:13Z libertyprime joined #lisp 2019-09-14T02:50:38Z verisimilitude: I've written some macros that generate such declarations, but I don't tend to use it manually. 2019-09-14T02:51:21Z verisimilitude: I should probably go through some of my programs and start adding declarations where they can't cause issues. 2019-09-14T02:57:56Z beach: Good morning everyone! 2019-09-14T02:59:23Z aeth: good morning beach 2019-09-14T02:59:35Z sukaeto: aeth: the thing about HTML templating engines is that they're not designed for programmers, they're designed for UX/design people 2019-09-14T02:59:41Z sukaeto: SQL would probably be a better example 2019-09-14T02:59:59Z sukaeto: things like sxql are great 2019-09-14T03:00:08Z sukaeto: so much better than e.g. sqlalchemy 2019-09-14T03:02:45Z aeth: sukaeto: The thing about representing something like HTML in s-expressions is that once you get that initial representation that goes from a direct mapping to a string (with all of the relevant escaping) you can do whatever you want with it as prior steps in a process. For instance, I'm not going to write my HTML documents directly in the style of the Gitlab snippit I linked to earlier. 2019-09-14T03:03:00Z aeth: I'm going to parse Markdown into s-expressions, and then transform them into those HTML s-expressions. 2019-09-14T03:03:10Z saravia quit (Remote host closed the connection) 2019-09-14T03:03:51Z aeth: sukaeto: You're allowed a level of polish in tooling that most people (even most people in the CL community) never get to. CL is really a language for writing declarative languages (which is also probably why SQL-in-s-expressions doesn't really seem like it needs many more layers) 2019-09-14T03:12:30Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-14T03:16:10Z saravia joined #lisp 2019-09-14T03:21:02Z _whitelogger quit (Remote host closed the connection) 2019-09-14T03:23:15Z _whitelogger joined #lisp 2019-09-14T03:26:52Z Harag joined #lisp 2019-09-14T03:27:22Z madand joined #lisp 2019-09-14T03:32:29Z gravicappa joined #lisp 2019-09-14T03:37:52Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-14T03:41:33Z elderK quit (Quit: WeeChat 1.9) 2019-09-14T03:41:59Z red-dot joined #lisp 2019-09-14T04:04:14Z nullniverse quit (Ping timeout: 276 seconds) 2019-09-14T04:06:49Z Bike quit (Quit: Lost terminal) 2019-09-14T04:12:31Z elfmacs quit (Ping timeout: 245 seconds) 2019-09-14T04:27:02Z _whitelogger quit (Remote host closed the connection) 2019-09-14T04:29:16Z _whitelogger joined #lisp 2019-09-14T04:29:35Z madand quit (Ping timeout: 276 seconds) 2019-09-14T04:30:54Z sjl joined #lisp 2019-09-14T04:36:12Z ahungry joined #lisp 2019-09-14T04:38:50Z krid quit (Ping timeout: 240 seconds) 2019-09-14T04:44:49Z dddddd quit (Remote host closed the connection) 2019-09-14T04:57:02Z _whitelogger quit (Remote host closed the connection) 2019-09-14T04:59:15Z _whitelogger joined #lisp 2019-09-14T05:01:46Z ahungry quit (Remote host closed the connection) 2019-09-14T05:02:07Z FreeBirdLjj joined #lisp 2019-09-14T05:06:39Z FreeBirdLjj quit (Ping timeout: 268 seconds) 2019-09-14T05:12:03Z saravia quit (Remote host closed the connection) 2019-09-14T05:13:20Z pjb: In lesser languages such as C or Ada, managing types is easy: just use pointers to structures for everything. 2019-09-14T05:13:43Z pjb: Ie. basically, do OO programming :-) 2019-09-14T05:15:48Z sauvin joined #lisp 2019-09-14T05:20:12Z vap1 quit (Ping timeout: 246 seconds) 2019-09-14T05:26:57Z elderK joined #lisp 2019-09-14T05:28:25Z retropikzel joined #lisp 2019-09-14T05:30:18Z ggole joined #lisp 2019-09-14T05:32:53Z abhixec joined #lisp 2019-09-14T05:36:32Z aeth: Well, C and C++ and similar languages add an extra level of complexity in API choice that you don't see in CL. Basically, pass by reference vs value. i.e. (at least C-style pass by value) your choice is a pointer vs. copying-everything. 2019-09-14T05:41:38Z beach: What language does pass-by-reference? 2019-09-14T05:42:10Z pjb: generally, it's optional. Pascal has it, with var parameters. Modula-2 with INOUT parameters, etc. 2019-09-14T05:42:15Z aeth: beach: No, what I meant is that for every function you make, you have this mental overhead of whether or not to do foo or &foo and there's probably even a line in object size where it's more efficient to do one or the other, and it's a lot of thinking 2019-09-14T05:42:35Z beach: Sure. 2019-09-14T05:45:41Z abhixec quit (Ping timeout: 265 seconds) 2019-09-14T05:47:54Z aeth: It gets pretty bad in C++ more than C because you want to do OOP like everyone else, so you're doing a lot of Foo *foo that you call with &foo (except when you don't) and that means that in a lot of places you're having to do (*foo)[whatever] or (*foo)(whatever) or whatever << (*foo) and it quickly turns into a mess 2019-09-14T05:49:06Z aeth: At least compilers are pretty good at telling you (in the first of 200 lines, which you then have to scroll up to read) when you should have used foo instead of &foo to call the function that wants Foo *foo. 2019-09-14T05:52:33Z aeth: It's definitely not easy to bolt OOP onto C. 2019-09-14T05:53:55Z vlatkoB joined #lisp 2019-09-14T05:54:20Z aeth: (I'm not sure about Ada and if it addresses this. I wouldn't be surprised if Pascal is similar.) 2019-09-14T05:55:23Z refpga quit (Ping timeout: 276 seconds) 2019-09-14T05:56:08Z refpga joined #lisp 2019-09-14T05:59:14Z orivej quit (Ping timeout: 240 seconds) 2019-09-14T06:00:51Z beach: In metamodular.com/modular-c.pdf I recommend programming with pointers only and using something like the Boehm-Weiser automatic memory manager. Uniform reference semantics is the only sane way of programming. 2019-09-14T06:02:34Z pjb: Exactly. 2019-09-14T06:02:43Z aeth: I wonder if there's a way to get something like CL semantics... basically, pointers except when it fits in a machine word? I guess not that simple. 2019-09-14T06:04:26Z pjb: aeth: it wouldn't be safe C. It's better to write pure C code, (C code that is defined by the standard). 2019-09-14T06:04:36Z beach: That's not Common Lisp "semantics", that's a Common Lisp implementation trick. 2019-09-14T06:05:44Z aeth: pjb: Wouldn't it be even better to compile a C ABI-compatible binary, but with much Lispier semantics where possible? Technically, only the interop would matter. 2019-09-14T06:05:58Z aeth: (I guess some could argue that C++ is slowly heading in that direction.) 2019-09-14T06:12:23Z pjb: aeth: libecl! 2019-09-14T06:15:02Z aeth: pjb: I don't think that counts because of the runtime. So I guess this is necessarily off-topic except for the obvious choice of the compiler language 2019-09-14T06:15:51Z aeth: pjb: If such a language existed, you could potentially rewrite ECL in it, though. Then ECL wouldn't need a C compiler, too, since it could just do ECL->this-hypothetical-language->ECL 2019-09-14T06:16:34Z pjb: aeth: the point is that when you adopt a stereotyped programming style, you necessarily use a run-time. 2019-09-14T06:25:33Z elfmacs joined #lisp 2019-09-14T06:29:50Z retropikzel left #lisp 2019-09-14T06:32:21Z retropikzel joined #lisp 2019-09-14T06:36:30Z dale quit (Quit: My computer has gone to sleep) 2019-09-14T06:40:53Z igemnace quit (Ping timeout: 276 seconds) 2019-09-14T06:41:10Z count3rmeasure joined #lisp 2019-09-14T06:42:09Z sameerynho joined #lisp 2019-09-14T06:48:53Z retropikzel left #lisp 2019-09-14T06:52:33Z ralt joined #lisp 2019-09-14T06:54:48Z igemnace joined #lisp 2019-09-14T06:55:20Z karlosz quit (Quit: karlosz) 2019-09-14T06:56:17Z shka_ joined #lisp 2019-09-14T07:02:45Z jprajzne quit (Quit: jprajzne) 2019-09-14T07:03:11Z jprajzne joined #lisp 2019-09-14T07:05:29Z georgie joined #lisp 2019-09-14T07:07:15Z jprajzne quit (Client Quit) 2019-09-14T07:07:32Z Wojciech_K joined #lisp 2019-09-14T07:07:37Z jprajzne joined #lisp 2019-09-14T07:08:14Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-14T07:11:04Z rippa joined #lisp 2019-09-14T07:16:46Z igemnace quit (Ping timeout: 268 seconds) 2019-09-14T07:25:35Z raghavgururajan quit (Remote host closed the connection) 2019-09-14T07:33:15Z igemnace joined #lisp 2019-09-14T07:40:23Z verisimilitude: With Ada, it's not defined whether copying or referencing occurs with in out parameters, sans some special cases such as limited objects. 2019-09-14T07:42:14Z beach: The fact that SBCL no longer complains when there is a DEFMETHOD but no associated DEFGENERIC does not suit me at all. My worsening dyslexia results in numerous spelling errors that are not caught. 2019-09-14T07:43:10Z froggey quit (Ping timeout: 246 seconds) 2019-09-14T07:43:38Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-14T07:45:14Z froggey joined #lisp 2019-09-14T07:49:02Z beach: I guess I could turn on the spell checker for the code as well. 2019-09-14T07:49:46Z elderK quit (Quit: WeeChat 1.9) 2019-09-14T07:50:29Z vaporatorius joined #lisp 2019-09-14T07:50:29Z vaporatorius quit (Changing host) 2019-09-14T07:50:29Z vaporatorius joined #lisp 2019-09-14T07:56:33Z igemnace quit (Ping timeout: 245 seconds) 2019-09-14T07:57:34Z _paul0 joined #lisp 2019-09-14T07:57:43Z greaser|q quit (Remote host closed the connection) 2019-09-14T07:57:57Z greaser|q joined #lisp 2019-09-14T08:00:19Z saturn2: beach: (shadow 'defmethod) (defmacro defmethod (name &rest rest) `(if (typep (symbol-function ',name) 'generic-function) (cl:defmethod ,name ,@rest) (error "~A is not a generic function" ',name))) 2019-09-14T08:01:16Z ravenousmoose joined #lisp 2019-09-14T08:02:04Z beach: saturn2: Yeah, I could do something like that. 2019-09-14T08:02:34Z beach: Not that particular one, though. 2019-09-14T08:04:50Z shifty quit (Ping timeout: 240 seconds) 2019-09-14T08:10:22Z igemnace joined #lisp 2019-09-14T08:14:05Z asdf_asdf_asdf joined #lisp 2019-09-14T08:15:11Z Shinmera wonders if a general utility to check all symbols for a close Levenshtein distance would be useful 2019-09-14T08:17:43Z jprajzne quit (Quit: jprajzne) 2019-09-14T08:18:06Z jprajzne joined #lisp 2019-09-14T08:19:30Z pjb: Shinmera: it could. 2019-09-14T08:20:51Z pjb: Here I have a tool to check for "duplicate" symbols, ie. symbols with the same name interned in different packages. https://github.com/informatimago/lisp/blob/master/tools/symbol.lisp#L133 2019-09-14T08:21:04Z pjb: For when you make package definition errors. 2019-09-14T08:21:19Z pjb: But checking for symbols with similar names in the same package would also be useful. 2019-09-14T08:21:52Z asdf_asdf_asdf quit (Quit: Ping timeout (120 seconds)) 2019-09-14T08:22:15Z jprajzne quit (Client Quit) 2019-09-14T08:22:40Z jprajzne joined #lisp 2019-09-14T08:23:39Z vsync_ is now known as vsync 2019-09-14T08:34:03Z igemnace quit (Ping timeout: 245 seconds) 2019-09-14T08:34:55Z asdf_asdf_asdf joined #lisp 2019-09-14T08:49:00Z Android joined #lisp 2019-09-14T08:50:19Z refpga quit (Ping timeout: 265 seconds) 2019-09-14T08:51:03Z igemnace joined #lisp 2019-09-14T08:51:23Z refpga joined #lisp 2019-09-14T08:51:24Z elderK joined #lisp 2019-09-14T08:54:57Z sameerynho quit (Quit: WeeChat 2.4) 2019-09-14T08:56:28Z Lord_of_Life quit (Ping timeout: 264 seconds) 2019-09-14T08:56:36Z igemnace quit (Ping timeout: 265 seconds) 2019-09-14T08:57:30Z Android: flex on 2019-09-14T08:57:48Z igemnace joined #lisp 2019-09-14T08:58:12Z ljavorsk joined #lisp 2019-09-14T08:58:58Z refpga quit (Read error: Connection reset by peer) 2019-09-14T09:00:31Z jonatack joined #lisp 2019-09-14T09:00:51Z Lord_of_Life joined #lisp 2019-09-14T09:02:46Z jprajzne quit (Quit: jprajzne) 2019-09-14T09:02:50Z asdf_asdf_asdf quit (Ping timeout: 268 seconds) 2019-09-14T09:03:11Z jprajzne joined #lisp 2019-09-14T09:03:39Z georgie joined #lisp 2019-09-14T09:03:53Z ravenousmoose quit (Ping timeout: 276 seconds) 2019-09-14T09:06:24Z makomo_ joined #lisp 2019-09-14T09:07:15Z jprajzne quit (Client Quit) 2019-09-14T09:07:22Z Harag1 joined #lisp 2019-09-14T09:07:37Z jprajzne joined #lisp 2019-09-14T09:07:43Z ljavorsk quit (Ping timeout: 265 seconds) 2019-09-14T09:07:47Z Harag quit (Ping timeout: 276 seconds) 2019-09-14T09:07:48Z Harag1 is now known as Harag 2019-09-14T09:09:50Z francogrex joined #lisp 2019-09-14T09:10:04Z francogrex: hi 2019-09-14T09:10:34Z refpga joined #lisp 2019-09-14T09:10:38Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-14T09:14:50Z refpga quit (Ping timeout: 240 seconds) 2019-09-14T09:17:47Z akoana left #lisp 2019-09-14T09:17:50Z cosimone joined #lisp 2019-09-14T09:19:33Z refpga joined #lisp 2019-09-14T09:23:11Z igemnace quit (Ping timeout: 265 seconds) 2019-09-14T09:24:11Z asdf_asdf_asdf joined #lisp 2019-09-14T09:26:57Z jonatack quit (Ping timeout: 246 seconds) 2019-09-14T09:32:18Z gareppa joined #lisp 2019-09-14T09:34:27Z jprajzne quit (Read error: Connection reset by peer) 2019-09-14T09:34:51Z elderK quit (Quit: WeeChat 1.9) 2019-09-14T09:35:17Z jprajzne joined #lisp 2019-09-14T09:35:40Z shka_ quit (Quit: Konversation terminated!) 2019-09-14T09:35:49Z francogrex quit (Quit: Leaving.) 2019-09-14T09:36:44Z igemnace joined #lisp 2019-09-14T09:37:15Z jprajzne quit (Client Quit) 2019-09-14T09:37:37Z jprajzne joined #lisp 2019-09-14T09:40:54Z ljavorsk joined #lisp 2019-09-14T09:42:45Z Ricchi quit (Remote host closed the connection) 2019-09-14T09:48:26Z igemnace quit (Ping timeout: 240 seconds) 2019-09-14T09:58:03Z gareppa quit (Quit: Leaving) 2019-09-14T10:02:14Z igemnace joined #lisp 2019-09-14T10:04:42Z igemnace quit (Client Quit) 2019-09-14T10:08:59Z jonatack joined #lisp 2019-09-14T10:13:49Z nika joined #lisp 2019-09-14T10:14:28Z elfmacs quit (Ping timeout: 245 seconds) 2019-09-14T10:19:05Z asdf_asdf_asdf21 joined #lisp 2019-09-14T10:19:56Z asdf_asdf_asdf quit (Ping timeout: 276 seconds) 2019-09-14T10:21:11Z raghavgururajan joined #lisp 2019-09-14T10:21:40Z refpga quit (Ping timeout: 265 seconds) 2019-09-14T10:21:42Z jonatack quit (Quit: jonatack) 2019-09-14T10:21:59Z jonatack joined #lisp 2019-09-14T10:22:28Z refpga joined #lisp 2019-09-14T10:25:42Z asdf_asdf_asdf21 quit (Remote host closed the connection) 2019-09-14T10:26:00Z asdf_asdf_asdf joined #lisp 2019-09-14T10:26:54Z SaganMan joined #lisp 2019-09-14T10:26:59Z refpga quit (Ping timeout: 265 seconds) 2019-09-14T10:29:39Z dddddd joined #lisp 2019-09-14T10:31:38Z ljavorsk quit (Ping timeout: 276 seconds) 2019-09-14T10:41:32Z xkapastel joined #lisp 2019-09-14T10:42:21Z ralt quit (Quit: Connection closed for inactivity) 2019-09-14T10:42:41Z scymtym quit (Ping timeout: 276 seconds) 2019-09-14T10:42:43Z jprajzne quit (Quit: jprajzne) 2019-09-14T10:44:21Z count3rmeasure quit (Quit: Leaving) 2019-09-14T10:48:03Z jprajzne joined #lisp 2019-09-14T10:48:16Z maxxcan joined #lisp 2019-09-14T10:52:04Z refpga joined #lisp 2019-09-14T10:59:03Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-14T11:22:10Z georgie joined #lisp 2019-09-14T11:23:30Z gareppa joined #lisp 2019-09-14T11:25:21Z raghavgururajan quit (Remote host closed the connection) 2019-09-14T11:25:48Z Bike joined #lisp 2019-09-14T11:26:53Z Inline__ joined #lisp 2019-09-14T11:27:56Z aleamb joined #lisp 2019-09-14T11:29:28Z Inline quit (Ping timeout: 264 seconds) 2019-09-14T11:29:53Z cosimone quit (Quit: Leaving) 2019-09-14T11:30:26Z varjag joined #lisp 2019-09-14T11:30:35Z Inline__ quit (Client Quit) 2019-09-14T11:32:15Z maxxcan quit (Quit: maxxcan) 2019-09-14T11:32:43Z jprajzne quit (Quit: jprajzne) 2019-09-14T11:33:18Z maxxcan joined #lisp 2019-09-14T11:35:37Z jonatack quit (Ping timeout: 265 seconds) 2019-09-14T11:36:40Z red-dot joined #lisp 2019-09-14T11:37:36Z jprajzne joined #lisp 2019-09-14T11:41:58Z maxxcan quit (Remote host closed the connection) 2019-09-14T11:44:57Z no-defun-allowed: Is there an implementation of A* pathfinding in Common Lisp? 2019-09-14T11:48:58Z beach: Did you check in PAIP? 2019-09-14T11:49:33Z scymtym joined #lisp 2019-09-14T11:50:07Z asdf_asdf_asdf: https://github.com/norvig/paip-lisp/blob/master/docs/chapter24.md 2019-09-14T11:50:16Z Shinmera: no-defun-allowed: Shoulda watched my streams ;) https://github.com/Shinmera/flow/blob/master/graph.lisp#L131 2019-09-14T11:50:42Z no-defun-allowed: Of course you did, and of course Norvig did too. 2019-09-14T11:50:58Z elfmacs joined #lisp 2019-09-14T11:51:00Z beach: no-defun-allowed: Page 209 in PAIP. 2019-09-14T11:51:17Z no-defun-allowed: Thanks asdf_asdf_asdf, beach and Shinmera 2019-09-14T11:51:34Z no-defun-allowed: Ah yeah, it'd be in PAIP. That's a good book. 2019-09-14T12:09:47Z varjag quit (Ping timeout: 276 seconds) 2019-09-14T12:09:58Z cosimone joined #lisp 2019-09-14T12:12:02Z longshi joined #lisp 2019-09-14T12:12:30Z jonatack joined #lisp 2019-09-14T12:15:30Z madand` joined #lisp 2019-09-14T12:15:45Z akhetopnu joined #lisp 2019-09-14T12:19:48Z shifty joined #lisp 2019-09-14T12:20:54Z madand` quit (Remote host closed the connection) 2019-09-14T12:21:17Z madand` joined #lisp 2019-09-14T12:22:11Z madand` quit (Remote host closed the connection) 2019-09-14T12:23:00Z Inline joined #lisp 2019-09-14T12:23:05Z madand` joined #lisp 2019-09-14T12:26:23Z jonatack quit (Quit: jonatack) 2019-09-14T12:26:34Z asdf_asdf_asdf quit (Quit: asdf_asdf_asdf) 2019-09-14T12:26:40Z jonatack joined #lisp 2019-09-14T12:28:00Z random-nick joined #lisp 2019-09-14T12:31:12Z wxie joined #lisp 2019-09-14T12:34:07Z SaganMan: no-defun-allowed: what's up with your nick? why no defun? 2019-09-14T12:40:43Z jonatack: Just realised how good the logs are for this channel. Thank you to the kind people who maintain them! 2019-09-14T12:42:30Z Shinmera: Thank god I hardly ever have to do anything 2019-09-14T12:42:34Z gareppa quit (Quit: Leaving) 2019-09-14T13:03:21Z asdf_asdf_asdf joined #lisp 2019-09-14T13:03:21Z krid joined #lisp 2019-09-14T13:03:28Z lucasb joined #lisp 2019-09-14T13:15:34Z wxie quit (Remote host closed the connection) 2019-09-14T13:16:42Z SaganMan quit (Quit: WeeChat 1.6) 2019-09-14T13:17:31Z madand` quit (Ping timeout: 268 seconds) 2019-09-14T13:22:04Z retropikzel joined #lisp 2019-09-14T13:22:49Z raghavgururajan joined #lisp 2019-09-14T13:23:23Z nullniverse joined #lisp 2019-09-14T13:23:23Z nullniverse quit (Changing host) 2019-09-14T13:23:23Z nullniverse joined #lisp 2019-09-14T13:31:15Z vutral quit (Ping timeout: 246 seconds) 2019-09-14T13:41:06Z varjag joined #lisp 2019-09-14T13:54:48Z Harag quit (Quit: Harag) 2019-09-14T13:55:00Z Harag joined #lisp 2019-09-14T13:55:25Z Harag quit (Client Quit) 2019-09-14T13:58:33Z rpg joined #lisp 2019-09-14T14:12:07Z emacsomancer joined #lisp 2019-09-14T14:12:59Z emacsomancer quit (Client Quit) 2019-09-14T14:13:35Z emacsomancer joined #lisp 2019-09-14T14:13:41Z orivej joined #lisp 2019-09-14T14:14:50Z manualcrank joined #lisp 2019-09-14T14:19:43Z raghavgururajan quit (Remote host closed the connection) 2019-09-14T14:22:46Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-14T14:23:16Z longshi quit (Quit: WeeChat 2.5) 2019-09-14T14:33:00Z gxt quit (Remote host closed the connection) 2019-09-14T14:33:22Z bitmapper joined #lisp 2019-09-14T14:35:38Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-14T14:40:05Z analogue joined #lisp 2019-09-14T14:42:13Z bbbobbb joined #lisp 2019-09-14T14:43:53Z gxt joined #lisp 2019-09-14T14:44:20Z bbbobbb quit (Client Quit) 2019-09-14T14:45:08Z nowhere_man quit (Ping timeout: 276 seconds) 2019-09-14T14:45:22Z mibr joined #lisp 2019-09-14T14:45:57Z mibr left #lisp 2019-09-14T14:49:26Z elfmacs quit (Ping timeout: 265 seconds) 2019-09-14T14:49:44Z gareppa joined #lisp 2019-09-14T14:50:54Z hiroaki joined #lisp 2019-09-14T14:57:51Z Android is now known as bluelake 2019-09-14T14:59:13Z gareppa quit (Quit: Leaving) 2019-09-14T15:06:03Z krid quit (Ping timeout: 268 seconds) 2019-09-14T15:12:42Z asdf_asdf_asdf: Hi. Which instruction is to get address from variable and change its value? 2019-09-14T15:12:53Z asdf_asdf_asdf: https://cpy.pt/WE1EKdhF 2019-09-14T15:14:04Z asdf_asdf_asdf: int = 5; void a(int &n) { n = 2; } std::cout<<i; // 5 a(i); std::cout<<i; // 2 2019-09-14T15:14:40Z Bike: that's a reference, not a pointer 2019-09-14T15:14:48Z Bike: none of that in ffi 2019-09-14T15:15:32Z asdf_asdf_asdf: (SB-KERNEL::GET-LISP-OBJ-ADDRESS x) 2019-09-14T15:15:44Z Bike: oh hell, don't do that 2019-09-14T15:16:09Z Bike: i think you've been told this before, but if you insist on asking sbcl specific questions instead of using cffi, ask #sbcl. they'll probably tell you to use cffi and you should probably listen 2019-09-14T15:16:27Z Bike: there's a well defined interface. you could have figured it out months ago 2019-09-14T15:23:05Z saravia joined #lisp 2019-09-14T15:26:38Z asdf_asdf_asdf: (set (sb-sys::int-sap (sb-kernel::get-lisp-obj-address x)) 15) 2019-09-14T15:26:43Z asdf_asdf_asdf: How fix it? 2019-09-14T15:27:02Z Shinmera: You don't. 2019-09-14T15:28:08Z gareppa joined #lisp 2019-09-14T15:30:12Z gareppa quit (Remote host closed the connection) 2019-09-14T15:32:27Z saravia quit (Ping timeout: 240 seconds) 2019-09-14T15:32:40Z jprajzne quit (Quit: jprajzne) 2019-09-14T15:33:06Z jprajzne joined #lisp 2019-09-14T15:34:26Z asdf_asdf_asdf: Shinmera; OK. I search instruction, that it do. 2019-09-14T15:35:03Z Bike: sbcl's garbage collector makes using the address of an object pretty fraught 2019-09-14T15:35:08Z Bike: since it could be moved out from under you any time 2019-09-14T15:35:15Z Bike: so, don't do that 2019-09-14T15:35:23Z Bike: ffi is for foreign values, not lisp objects 2019-09-14T15:37:09Z Bike: also, with fixnums, like in your attempt at a C++ analogy, it definitely won't work since they're just immediate and do not have addresses 2019-09-14T15:37:14Z jprajzne quit (Client Quit) 2019-09-14T15:38:30Z asdf_asdf_asdf: @Bike; OK. Then how change value variable inside function that will be changed outside function? 2019-09-14T15:39:23Z Bike: You cannot pass a reference like you can in C++. You can only pass values as arguments. 2019-09-14T15:39:51Z Bike: You can do things like (let ((x 2)) (print x) (funcall (lambda () (setf x 5))) (print x)), which will print 2 then 5. 2019-09-14T15:40:08Z Bike: But there's no argument pasing. 2019-09-14T15:40:41Z saravia joined #lisp 2019-09-14T15:40:42Z Bike: Lisp just does not have references. You can pass objects and modify objects: (let ((x (cons 2))) (print (car x)) (funcall (lambda (c) (setf (car c) 5)) x) (print (car x))) 2019-09-14T15:40:43Z amerlyq joined #lisp 2019-09-14T15:40:56Z Bike: er, (cons 2 nil) 2019-09-14T15:41:16Z Bike: But lisp has an entirely different model of things from C. Variables do not "have addresses". 2019-09-14T15:42:03Z asdf_asdf_asdf: @Bike; Did it mean, that every time variables has different/other/another addresses? 2019-09-14T15:42:20Z Bike: I don't understand your English. 2019-09-14T15:42:28Z Bike: But conceptually, lisp variables do not have addresses. 2019-09-14T15:42:58Z asdf_asdf_asdf: OK. Address of variable is changed every time compilation? 2019-09-14T15:43:04Z Bike: No! There are no addresses! 2019-09-14T15:43:07Z Bike: Variables do not have addresses. 2019-09-14T15:43:12Z Bike: Listen to me. 2019-09-14T15:44:01Z Bike: You cannot write C in Lisp. If you want to write C, write C. 2019-09-14T15:44:04Z asdf_asdf_asdf: So, how is identified? 2019-09-14T15:44:06Z Bike: Or C++ since you want references. 2019-09-14T15:44:23Z Bike: Variables do not have a runtime presence, conceptually. They're just names. 2019-09-14T15:45:11Z makomo_ quit (Quit: WeeChat 2.4) 2019-09-14T15:45:18Z Bike: If you write something like (let ((x 2)) ...) for example, there's nothing stopping the compiler from simply storing 2 in a register, or perhaps using a different register for the same variable in different places, or maybe it will put it on the stack, or maybe it will eliminate the variable entirely and the value won't even exist in a register. 2019-09-14T15:45:22Z asdf_asdf_asdf: I have understand, that variable is like to (gensym)? 2019-09-14T15:45:45Z Bike: No. 2019-09-14T15:46:09Z Bike: I don't even know what that means. 2019-09-14T15:46:27Z LiamH joined #lisp 2019-09-14T15:46:36Z Bike: I don't think you do either. 2019-09-14T15:46:39Z asdf_asdf_asdf: Variable have likeness (gensym)? 2019-09-14T15:46:43Z Bike: Stop. 2019-09-14T15:46:45Z cosimone quit (Quit: Leaving) 2019-09-14T15:46:59Z Bike: Read a book. Something. Learn to program. You have no conceptual background. 2019-09-14T15:47:29Z nullniverse quit (Remote host closed the connection) 2019-09-14T15:47:48Z nullniverse joined #lisp 2019-09-14T15:47:48Z nullniverse quit (Changing host) 2019-09-14T15:47:48Z nullniverse joined #lisp 2019-09-14T15:47:56Z asdf_asdf_asdf: OK. So, why in SBCL are instruction such as get-lisp-obj-address, int-sap, etc? 2019-09-14T15:49:59Z Hsab_Selur quit (Read error: Connection reset by peer) 2019-09-14T15:50:27Z Shinmera: Bike: I think it would be best not to continue this conversation. 2019-09-14T15:50:41Z Aruseus joined #lisp 2019-09-14T15:53:14Z jprajzne joined #lisp 2019-09-14T15:53:33Z asdf_asdf_asdf: OK. Thanks for answer. I maybe do other tasks. 2019-09-14T15:55:47Z cosimone joined #lisp 2019-09-14T15:57:15Z jprajzne quit (Client Quit) 2019-09-14T15:57:46Z jprajzne joined #lisp 2019-09-14T15:58:25Z saravia_ joined #lisp 2019-09-14T15:58:27Z bitmapper quit (Read error: Connection reset by peer) 2019-09-14T15:58:55Z bitmapper joined #lisp 2019-09-14T15:59:05Z saravia_ quit (Remote host closed the connection) 2019-09-14T16:00:12Z Bike: Shinmera: yes, my bad 2019-09-14T16:00:57Z saravia quit (Ping timeout: 268 seconds) 2019-09-14T16:01:15Z bitmapper quit (Client Quit) 2019-09-14T16:07:35Z nanoz joined #lisp 2019-09-14T16:11:30Z bitmapper joined #lisp 2019-09-14T16:12:40Z jprajzne quit (Quit: jprajzne) 2019-09-14T16:12:51Z Lord_of_Life quit (Ping timeout: 240 seconds) 2019-09-14T16:13:08Z jprajzne joined #lisp 2019-09-14T16:14:17Z cosimone quit (Quit: Quit.) 2019-09-14T16:14:28Z varjag quit (Ping timeout: 245 seconds) 2019-09-14T16:14:35Z cosimone joined #lisp 2019-09-14T16:17:15Z jprajzne quit (Client Quit) 2019-09-14T16:17:38Z jprajzne joined #lisp 2019-09-14T16:17:59Z bitmapper quit (Remote host closed the connection) 2019-09-14T16:18:36Z bitmapper joined #lisp 2019-09-14T16:19:03Z nanoz quit (Quit: Leaving) 2019-09-14T16:20:47Z bitmapper quit (Remote host closed the connection) 2019-09-14T16:21:35Z bitmapper joined #lisp 2019-09-14T16:22:43Z jprajzne quit (Quit: jprajzne) 2019-09-14T16:26:59Z bitmapper quit 2019-09-14T16:36:05Z gravicappa quit (Ping timeout: 268 seconds) 2019-09-14T16:36:41Z gxt quit (Quit: WeeChat 2.6) 2019-09-14T16:43:24Z cosimone quit (Quit: Quit.) 2019-09-14T16:49:06Z bitmapper joined #lisp 2019-09-14T16:52:47Z varjag joined #lisp 2019-09-14T16:56:26Z stepnem_ is now known as stepnem 2019-09-14T16:56:27Z analogue quit (Ping timeout: 240 seconds) 2019-09-14T16:58:29Z hiroaki quit (Ping timeout: 265 seconds) 2019-09-14T16:59:14Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-14T17:06:58Z adip quit (Ping timeout: 245 seconds) 2019-09-14T17:07:26Z hiroaki joined #lisp 2019-09-14T17:07:36Z jprajzne joined #lisp 2019-09-14T17:08:51Z vap1 joined #lisp 2019-09-14T17:08:51Z analogue joined #lisp 2019-09-14T17:09:48Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-14T17:09:56Z rpg joined #lisp 2019-09-14T17:11:14Z adip joined #lisp 2019-09-14T17:13:04Z rpg quit (Client Quit) 2019-09-14T17:13:46Z PHREAQuency joined #lisp 2019-09-14T17:15:24Z shifty quit (Ping timeout: 265 seconds) 2019-09-14T17:16:05Z red-dot joined #lisp 2019-09-14T17:20:18Z scymtym quit (Ping timeout: 245 seconds) 2019-09-14T17:24:03Z _whitelogger quit (Remote host closed the connection) 2019-09-14T17:26:17Z _whitelogger joined #lisp 2019-09-14T17:29:35Z aleamb quit (Ping timeout: 276 seconds) 2019-09-14T17:30:57Z malpas joined #lisp 2019-09-14T17:31:01Z malpas is now known as aleamb 2019-09-14T17:34:46Z krid joined #lisp 2019-09-14T17:37:41Z PHREAQuency quit (Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/) 2019-09-14T17:37:57Z newbie84 joined #lisp 2019-09-14T17:39:41Z akhetopnu quit (Quit: Lost terminal) 2019-09-14T17:39:52Z Josh_2 joined #lisp 2019-09-14T17:42:08Z rpg joined #lisp 2019-09-14T17:43:35Z rpg quit (Client Quit) 2019-09-14T17:47:10Z amerlyq quit (Quit: amerlyq) 2019-09-14T17:49:49Z newbie84 quit (Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/) 2019-09-14T17:51:45Z gxt joined #lisp 2019-09-14T17:53:36Z gravicappa joined #lisp 2019-09-14T17:57:14Z alexanderbarbosa quit (Read error: No route to host) 2019-09-14T17:57:15Z dale joined #lisp 2019-09-14T17:57:43Z jprajzne quit (Quit: jprajzne) 2019-09-14T18:01:09Z emacsomancer quit (Read error: Connection reset by peer) 2019-09-14T18:02:45Z jprajzne joined #lisp 2019-09-14T18:07:40Z jprajzne quit (Quit: jprajzne) 2019-09-14T18:07:41Z ap13 joined #lisp 2019-09-14T18:08:01Z jprajzne joined #lisp 2019-09-14T18:08:11Z ap13: minion: registration, please? 2019-09-14T18:08:12Z minion: The URL https://gitlab.common-lisp.net/users/sign_in?secret=69fe575d will be valid until 18:15 UTC. 2019-09-14T18:09:12Z cosimone joined #lisp 2019-09-14T18:10:01Z ap13: minion: registration, please? 2019-09-14T18:10:01Z minion: The URL https://gitlab.common-lisp.net/users/sign_in?secret=69fe575d will be valid until 18:15 UTC. 2019-09-14T18:12:06Z pjb: ap13: Yay! I know your secret! 69fe575d send me bitcoins, or else! 2019-09-14T18:12:14Z ap13 left #lisp 2019-09-14T18:12:26Z jprajzne quit (Client Quit) 2019-09-14T18:12:49Z jprajzne joined #lisp 2019-09-14T18:13:46Z thesorton joined #lisp 2019-09-14T18:21:21Z wigust joined #lisp 2019-09-14T18:23:49Z cosimone quit (Quit: Quit.) 2019-09-14T18:24:08Z cosimone joined #lisp 2019-09-14T18:26:40Z cosimone quit (Client Quit) 2019-09-14T18:26:57Z cosimone joined #lisp 2019-09-14T18:27:30Z cosimone quit (Client Quit) 2019-09-14T18:27:49Z cosimone joined #lisp 2019-09-14T18:28:23Z cosimone quit (Client Quit) 2019-09-14T18:28:46Z cosimone joined #lisp 2019-09-14T18:30:13Z _paul0 quit (Remote host closed the connection) 2019-09-14T18:39:47Z nullniverse quit (Ping timeout: 276 seconds) 2019-09-14T18:40:30Z nika quit 2019-09-14T18:42:43Z jprajzne quit (Quit: jprajzne) 2019-09-14T18:43:08Z jprajzne joined #lisp 2019-09-14T18:43:49Z nullniverse joined #lisp 2019-09-14T18:43:49Z nullniverse quit (Changing host) 2019-09-14T18:43:49Z nullniverse joined #lisp 2019-09-14T18:46:02Z nanoz joined #lisp 2019-09-14T18:47:15Z jprajzne quit (Client Quit) 2019-09-14T18:47:40Z jprajzne joined #lisp 2019-09-14T18:53:26Z bluelake quit (Ping timeout: 276 seconds) 2019-09-14T18:54:16Z saravia joined #lisp 2019-09-14T18:57:04Z vlatkoB quit (Remote host closed the connection) 2019-09-14T19:02:40Z jprajzne quit (Quit: jprajzne) 2019-09-14T19:03:17Z jprajzne joined #lisp 2019-09-14T19:03:49Z Lycurgus joined #lisp 2019-09-14T19:07:15Z jprajzne quit (Client Quit) 2019-09-14T19:07:44Z Lord_of_Life_ joined #lisp 2019-09-14T19:07:44Z jprajzne joined #lisp 2019-09-14T19:08:07Z Arcaelyx joined #lisp 2019-09-14T19:09:06Z Lord_of_Life_ is now known as Lord_of_Life 2019-09-14T19:10:05Z madand` joined #lisp 2019-09-14T19:10:55Z gravicappa quit (Ping timeout: 265 seconds) 2019-09-14T19:13:30Z asdf_asdf_asdf: Hi again. (describe (function sb-alien::define-alien-callback)). How it fix? 2019-09-14T19:13:50Z asdf_asdf_asdf: The :macro name SB-ALIEN::DEFINE-ALIEN-CALLBACK was found as the argument to FUNCTION. 2019-09-14T19:15:19Z corvidzz joined #lisp 2019-09-14T19:17:41Z adip quit (Ping timeout: 265 seconds) 2019-09-14T19:18:10Z verisimilitude: Based on the message you gave, you're giving an invalid argument to FUNCTION, it seems. 2019-09-14T19:18:28Z verisimilitude: My suggestion, asdf_asdf_asdf, is to avoid writing C when one is ostensibly writing Common Lisp. 2019-09-14T19:19:31Z adip joined #lisp 2019-09-14T19:20:51Z Wojciech_K quit (Ping timeout: 240 seconds) 2019-09-14T19:21:57Z jonatack: asdf_asdf_asdf: http://www.sbcl.org/manual/index.html#Foreign-Function-Interface 2019-09-14T19:22:26Z kpoeck joined #lisp 2019-09-14T19:22:44Z kpoeck: (describe 'sb-alien::define-alien-callback) 2019-09-14T19:22:52Z superkumasan joined #lisp 2019-09-14T19:22:53Z jonatack: asdf_asdf_asdf: http://www.sbcl.org/manual/index.html#Step_002dBy_002dStep-Example-of-the-Foreign-Function-Interface 2019-09-14T19:24:03Z hiroaki quit (Ping timeout: 245 seconds) 2019-09-14T19:24:40Z Fare joined #lisp 2019-09-14T19:25:51Z saravia quit (Ping timeout: 245 seconds) 2019-09-14T19:27:43Z jprajzne quit (Quit: jprajzne) 2019-09-14T19:29:38Z asdf_asdf_asdf: Thanks all for help. Especially kpoeck, it works. Thanks. I thinked, that is a fuction not a symbol. 2019-09-14T19:31:12Z kpoeck: have a look at http://www.lispworks.com/documentation/lw50/CLHS/Body/f_descri.htm 2019-09-14T19:31:36Z kpoeck: as others said, you need to study the language more 2019-09-14T19:32:51Z jprajzne joined #lisp 2019-09-14T19:33:14Z kpoeck: http://www.gigamonkeys.com/book/ should be your friend 2019-09-14T19:33:36Z nowhere_man joined #lisp 2019-09-14T19:36:14Z karlosz joined #lisp 2019-09-14T19:37:17Z Ricchi joined #lisp 2019-09-14T19:38:54Z saravia joined #lisp 2019-09-14T19:39:14Z scymtym joined #lisp 2019-09-14T19:42:43Z jprajzne quit (Quit: jprajzne) 2019-09-14T19:47:40Z jprajzne joined #lisp 2019-09-14T19:54:31Z libertyprime quit (Quit: leaving) 2019-09-14T19:57:31Z nanoz quit (Ping timeout: 245 seconds) 2019-09-14T19:59:14Z ggole quit (Quit: Leaving) 2019-09-14T19:59:30Z karlosz quit (Quit: karlosz) 2019-09-14T20:02:40Z retropikzel quit (Remote host closed the connection) 2019-09-14T20:06:55Z nanoz joined #lisp 2019-09-14T20:08:02Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-14T20:08:03Z asdf_asdf_asdf: Hi again. Which function is to definition callback without body? https://cpy.pt/F8nzKM7a 2019-09-14T20:13:56Z asdf_asdf_asdf: Lambda-list: (SB-ALIEN::NAME SB-ALIEN::RESULT-TYPE SB-ALIEN::TYPED-LAMBDA-LIST) 2019-09-14T20:14:09Z asdf_asdf_asdf: I want it. Which function do? 2019-09-14T20:14:12Z cosimone quit (Quit: Quit.) 2019-09-14T20:17:44Z asdf_asdf_asdf: LRESULT CALLBACK WindowProc(HWND, UINT, WPARAM, LPARAM); 2019-09-14T20:17:52Z asdf_asdf_asdf: Without body callback. 2019-09-14T20:22:51Z saravia quit (Ping timeout: 246 seconds) 2019-09-14T20:26:32Z asdf_asdf_asdf: SB-ALIEN::PARSE-CALLBACK-SPECIFICATION It's probably what I want. 2019-09-14T20:30:30Z cosimone joined #lisp 2019-09-14T20:33:22Z madand` quit (Remote host closed the connection) 2019-09-14T20:36:27Z nanoz quit (Ping timeout: 240 seconds) 2019-09-14T20:38:42Z madand joined #lisp 2019-09-14T20:39:15Z puchacz joined #lisp 2019-09-14T20:40:45Z puchacz: hi, does numcl work for anybody? 2019-09-14T20:41:16Z puchacz: I tried (matmul ....) from the example and it failed 2019-09-14T20:41:27Z puchacz: it is a bleeding edge I know 2019-09-14T20:42:11Z Arcaelyx quit (Quit: Arcaelyx) 2019-09-14T20:42:40Z jprajzne quit (Quit: jprajzne) 2019-09-14T20:42:50Z asdf_asdf_asdf: @puchcz; what's argument You want? 2019-09-14T20:42:53Z asdf_asdf_asdf: @puchacz* 2019-09-14T20:43:05Z jprajzne joined #lisp 2019-09-14T20:43:26Z puchacz: asdf_asdf_asdf: how about (matmul #2A((0.0 1.0) (2.0 3.0)) #2A((5.0 6.0) (7.0 8.0))) 2019-09-14T20:44:43Z puchacz: I am getting this: https://pastebin.com/Pjk4aK2R 2019-09-14T20:44:47Z asdf_asdf_asdf: What You have after (describe 'matmul)? 2019-09-14T20:45:54Z puchacz: asdf_asdf_asdf: I got this: https://pastebin.com/yvAmKAP5 2019-09-14T20:49:13Z asdf_asdf_asdf: Which error You get? 2019-09-14T20:50:07Z puchacz: asdf_asdf_asdf: see above, my first paste: https://pastebin.com/Pjk4aK2R 2019-09-14T20:50:21Z puchacz: have you got it installed? 2019-09-14T20:51:13Z asdf_asdf_asdf: No, but You don't use matmul. Let's go on #lisp-pl. 2019-09-14T20:52:15Z jprajzne quit (Quit: jprajzne) 2019-09-14T20:52:42Z jprajzne joined #lisp 2019-09-14T20:59:11Z krid quit (Ping timeout: 245 seconds) 2019-09-14T20:59:37Z Lycurgus quit (Quit: Exeunt) 2019-09-14T21:01:05Z Aruseus quit (Remote host closed the connection) 2019-09-14T21:01:15Z nowhere_man quit (Ping timeout: 268 seconds) 2019-09-14T21:06:51Z cosimone quit (Quit: Quit.) 2019-09-14T21:07:07Z cosimone joined #lisp 2019-09-14T21:07:32Z krid joined #lisp 2019-09-14T21:08:38Z cosimone_ joined #lisp 2019-09-14T21:09:57Z _atomik joined #lisp 2019-09-14T21:10:01Z cosimone_ quit (Client Quit) 2019-09-14T21:11:20Z _atomik quit (Client Quit) 2019-09-14T21:11:25Z cosimone quit (Client Quit) 2019-09-14T21:11:40Z _atomik joined #lisp 2019-09-14T21:11:53Z cosimone joined #lisp 2019-09-14T21:18:50Z corvidzz quit (Quit: Lost terminal) 2019-09-14T21:19:25Z _atomik quit (Quit: Leaving) 2019-09-14T21:33:43Z varjag quit (Quit: ERC (IRC client for Emacs 26.1)) 2019-09-14T21:37:43Z jprajzne quit (Quit: jprajzne) 2019-09-14T21:38:13Z jprajzne joined #lisp 2019-09-14T21:39:41Z _atomik joined #lisp 2019-09-14T21:40:27Z _atomik quit (Remote host closed the connection) 2019-09-14T21:40:53Z _atomik joined #lisp 2019-09-14T21:40:56Z _atomik quit (Remote host closed the connection) 2019-09-14T21:41:23Z _atomik joined #lisp 2019-09-14T21:42:15Z jprajzne quit (Client Quit) 2019-09-14T21:42:41Z jprajzne joined #lisp 2019-09-14T21:46:12Z rigidus joined #lisp 2019-09-14T21:49:25Z 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) 2019-09-14T21:50:04Z troydm joined #lisp 2019-09-14T21:51:55Z rigidus quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2019-09-14T21:53:28Z rigidus joined #lisp 2019-09-14T22:03:52Z adam4567 joined #lisp 2019-09-14T22:06:29Z rigidus quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2019-09-14T22:09:24Z rigidus joined #lisp 2019-09-14T22:12:43Z jprajzne quit (Quit: jprajzne) 2019-09-14T22:15:56Z rigidus` joined #lisp 2019-09-14T22:16:08Z rigidus` quit (Remote host closed the connection) 2019-09-14T22:27:37Z jprajzne joined #lisp 2019-09-14T22:29:00Z davd joined #lisp 2019-09-14T22:30:48Z davd: Hi there! Does someone know of some remote lisp job? :) 2019-09-14T22:32:25Z _atomik quit (Quit: Leaving) 2019-09-14T22:32:26Z atomik_dog joined #lisp 2019-09-14T22:32:40Z jprajzne quit (Quit: jprajzne) 2019-09-14T22:33:01Z jprajzne joined #lisp 2019-09-14T22:36:38Z LiamH quit (Quit: Leaving.) 2019-09-14T22:42:41Z jprajzne quit (Quit: jprajzne) 2019-09-14T22:43:06Z jprajzne joined #lisp 2019-09-14T22:44:28Z ark quit (Ping timeout: 264 seconds) 2019-09-14T22:45:24Z varjag joined #lisp 2019-09-14T22:47:35Z asdf_asdf_asdf: Hi. (sb-alien::define-alien-routine ...) How define a body of this routine? 2019-09-14T22:48:28Z no-defun-allowed: You don't. That's to define an external C function. 2019-09-14T22:49:15Z no-defun-allowed: And if you're going to use SBCL internals, #sbcl is probably more appropriate, else please use CFFI (and cffi:defcfun). 2019-09-14T22:52:19Z asdf_asdf_asdf: OK, thanks. So I must use (defun from CL? 2019-09-14T22:53:04Z no-defun-allowed: If you're going to make a Common Lisp function, always use DEFUN. 2019-09-14T22:53:10Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-14T22:53:52Z no-defun-allowed: Now, could you do us a favour and learn Common Lisp before trying to get FFI working please? 2019-09-14T22:54:32Z asdf_asdf_asdf: I prefer SBCL internals. 2019-09-14T22:54:53Z no-defun-allowed: Then piss off. 2019-09-14T22:55:19Z no-defun-allowed: That's all I have to say. Sorry, it's not very nice, but you are better served using C if you solely want to call C from SBCL. 2019-09-14T22:56:15Z asdf_asdf_asdf: This is Your opinion. 2019-09-14T22:56:31Z asdf_asdf_asdf: You can't force me to use FFI. 2019-09-14T22:57:05Z no-defun-allowed: No, I can't, but I really think you should learn Lisp before trying to learn how to use any FFI. 2019-09-14T22:57:07Z davd quit (Read error: Connection reset by peer) 2019-09-14T22:57:38Z no-defun-allowed: Using unportable SBCL internals (which aren't even external to sb-alien!) is a bad idea too. 2019-09-14T22:58:04Z asdf_asdf_asdf: I should learn Common Lisp and internals compiler e.g. SBCL. 2019-09-14T22:58:28Z no-defun-allowed: You should learn Common Lisp and CFFI. 2019-09-14T22:59:34Z asdf_asdf_asdf: No, because I want learn to assembly x86-64 and yourself write instructions for example to Common Lisp. 2019-09-14T23:00:11Z no-defun-allowed: Then learn assembly and C and stop bothering us. 2019-09-14T23:02:23Z asdf_asdf_asdf: You tell everyone, that to learn CFFI, but not everyone like it. 2019-09-14T23:03:32Z no-defun-allowed: SB-ALIEN isn't portable, so it's not on topic for #lisp, and it's certainly not a good move for users of other implementations like Clozure CL. 2019-09-14T23:04:03Z cosimone quit (Ping timeout: 245 seconds) 2019-09-14T23:05:34Z asdf_asdf_asdf: OK. EOT. 2019-09-14T23:06:56Z nullniverse quit (Ping timeout: 276 seconds) 2019-09-14T23:16:54Z aeth: asdf_asdf_asdf: #sbcl for SBCL topics 2019-09-14T23:17:40Z Bike: they tried sbcl on my suggestion already 2019-09-14T23:18:39Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-14T23:19:07Z akoana joined #lisp 2019-09-14T23:19:17Z mathrick quit (Ping timeout: 250 seconds) 2019-09-14T23:20:03Z abhixec joined #lisp 2019-09-14T23:22:43Z jprajzne quit (Quit: jprajzne) 2019-09-14T23:23:17Z abhixec quit (Client Quit) 2019-09-14T23:27:07Z rigidus: list 2019-09-14T23:28:23Z Fare quit (Ping timeout: 276 seconds) 2019-09-14T23:28:32Z superkumasan quit (Ping timeout: 265 seconds) 2019-09-14T23:31:26Z Josh_2 quit (Ping timeout: 265 seconds) 2019-09-14T23:32:32Z mathrick joined #lisp 2019-09-14T23:32:44Z jprajzne joined #lisp 2019-09-14T23:33:26Z asdf_asdf_asdf quit (Quit: asdf_asdf_asdf) 2019-09-14T23:33:35Z random-nick quit (Ping timeout: 276 seconds) 2019-09-14T23:35:04Z Arcaelyx joined #lisp 2019-09-14T23:38:41Z varjag quit (Ping timeout: 265 seconds) 2019-09-14T23:41:17Z nanoz joined #lisp 2019-09-14T23:47:40Z jprajzne quit (Quit: jprajzne) 2019-09-14T23:48:01Z jprajzne joined #lisp 2019-09-14T23:52:41Z jprajzne quit (Client Quit) 2019-09-14T23:52:52Z rigidus quit (Remote host closed the connection) 2019-09-14T23:53:05Z jprajzne joined #lisp 2019-09-14T23:53:38Z mathrick quit (Ping timeout: 245 seconds) 2019-09-14T23:54:02Z rigidus joined #lisp 2019-09-14T23:55:09Z Fare joined #lisp 2019-09-15T00:01:13Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-15T00:02:50Z EvW joined #lisp 2019-09-15T00:09:50Z red-dot joined #lisp 2019-09-15T00:11:51Z Arcaelyx quit (Quit: Arcaelyx) 2019-09-15T00:18:39Z nullniverse joined #lisp 2019-09-15T00:18:39Z nullniverse quit (Changing host) 2019-09-15T00:18:39Z nullniverse joined #lisp 2019-09-15T00:20:25Z emacsomancer joined #lisp 2019-09-15T00:25:37Z nowhere_man joined #lisp 2019-09-15T00:27:30Z analogue quit (Remote host closed the connection) 2019-09-15T00:27:36Z hhh47 joined #lisp 2019-09-15T00:27:56Z analogue joined #lisp 2019-09-15T00:28:07Z kpoeck quit (Remote host closed the connection) 2019-09-15T00:30:05Z arzoriac joined #lisp 2019-09-15T00:31:19Z hhh47 quit (Quit: hhh47) 2019-09-15T00:32:03Z __jrjsmrtn__ quit (Ping timeout: 240 seconds) 2019-09-15T00:33:20Z raichu joined #lisp 2019-09-15T00:34:11Z arzoriac left #lisp 2019-09-15T00:36:05Z __jrjsmrtn__ joined #lisp 2019-09-15T00:39:38Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2019-09-15T00:42:24Z abhixec joined #lisp 2019-09-15T00:51:08Z paul0 joined #lisp 2019-09-15T00:52:09Z mathrick joined #lisp 2019-09-15T00:55:43Z EvW quit (Ping timeout: 245 seconds) 2019-09-15T01:04:02Z bitmapper quit (Ping timeout: 240 seconds) 2019-09-15T01:04:18Z marusich joined #lisp 2019-09-15T01:06:06Z marusich quit (Remote host closed the connection) 2019-09-15T01:07:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T01:08:08Z jeosol: (setq inferior-lisp-program "/usr/local/bin/sbcl --dynamic-space-size 10000") -- does this command start sbcl in slime with ~10G. I am running a memory intensive case and slime hangs, but with "sbcl --dynamic-space-size 10000" things work but not able to debug well 2019-09-15T01:08:11Z jprajzne joined #lisp 2019-09-15T01:12:15Z jprajzne quit (Client Quit) 2019-09-15T01:12:39Z jprajzne joined #lisp 2019-09-15T01:13:45Z libertyprime joined #lisp 2019-09-15T01:14:29Z elfmacs joined #lisp 2019-09-15T01:15:35Z Volt_ joined #lisp 2019-09-15T01:16:45Z mathrick quit (Ping timeout: 258 seconds) 2019-09-15T01:17:40Z mathrick joined #lisp 2019-09-15T01:17:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T01:19:03Z semz_ quit (Ping timeout: 245 seconds) 2019-09-15T01:25:18Z wxie joined #lisp 2019-09-15T01:27:36Z jprajzne joined #lisp 2019-09-15T01:28:06Z georgie joined #lisp 2019-09-15T01:29:18Z georgie quit (Client Quit) 2019-09-15T01:32:07Z emacsomancer quit (Remote host closed the connection) 2019-09-15T01:32:44Z semz_ joined #lisp 2019-09-15T01:32:44Z semz_ quit (Changing host) 2019-09-15T01:32:44Z semz_ joined #lisp 2019-09-15T01:45:40Z rpg joined #lisp 2019-09-15T01:46:08Z rpg quit (Client Quit) 2019-09-15T01:56:04Z hiroaki joined #lisp 2019-09-15T02:02:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T02:03:17Z jprajzne joined #lisp 2019-09-15T02:06:33Z wxie quit (Ping timeout: 245 seconds) 2019-09-15T02:11:17Z libertyprime quit (Remote host closed the connection) 2019-09-15T02:17:14Z jprajzne quit (Quit: jprajzne) 2019-09-15T02:19:11Z jsgrant_ joined #lisp 2019-09-15T02:32:44Z mgsk: jeosol: yes, you can allocate up to 10GB on the heap. Are you saying it does or does not work? 2019-09-15T02:36:16Z mathrick quit (Ping timeout: 245 seconds) 2019-09-15T02:38:40Z techquila joined #lisp 2019-09-15T02:39:48Z adam4567 quit (Read error: Connection reset by peer) 2019-09-15T02:40:01Z adam4567 joined #lisp 2019-09-15T02:40:09Z mindthelion quit (Ping timeout: 246 seconds) 2019-09-15T02:43:20Z jprajzne joined #lisp 2019-09-15T02:44:11Z analogue quit (Quit: Leaving) 2019-09-15T02:45:00Z ahungry joined #lisp 2019-09-15T02:49:03Z techquila quit (Ping timeout: 268 seconds) 2019-09-15T02:50:11Z fragamus joined #lisp 2019-09-15T02:52:15Z jprajzne quit (Quit: jprajzne) 2019-09-15T02:52:40Z jprajzne joined #lisp 2019-09-15T02:58:13Z Fare quit (Ping timeout: 245 seconds) 2019-09-15T02:58:28Z puchacz quit (Quit: Connection closed for inactivity) 2019-09-15T02:59:31Z Payleeee joined #lisp 2019-09-15T02:59:38Z Ricchi quit (Remote host closed the connection) 2019-09-15T03:00:57Z Payleeee: Hello everybody! 2019-09-15T03:01:12Z rigidus: Hi 2019-09-15T03:02:09Z Payleeee quit (Client Quit) 2019-09-15T03:02:24Z rigidus: lol _) 2019-09-15T03:03:29Z sukaeto: aeth: Sure! I see your point. It depends on what you're doing with said HTML. HTML templating engines like Djula still have value, though (as evidenced by Djula's existence - someone wanted Jinja style templates in Lisp), because you can just have your design person write the templates without needing too much from you. 2019-09-15T03:04:27Z sukaeto: whereas sqlalchemy (at least from my experience with it) is just kind of very not ideal way of allowing you to write queries in Python. There's nothing about it that sxql doesn't do better. 2019-09-15T03:06:34Z sukaeto: pjb: "Just using pointers to structures for everything", while possible in Ada, is very awkward and you have to go out of your way to do it. For good reason, IMO. I wouldn't call Ada a lesser language (than Lisp, presumably you meant to say). Just . . . different. 2019-09-15T03:08:32Z nowhereman joined #lisp 2019-09-15T03:09:37Z sukaeto: aeth: Ada distinguishes between "Foo", "pointer to Foo", and "Foo'Class (as well as pointer to Foo'Class)" - that last one I've never seen an analogue to in any other language. Essentially, "We don't know the exact type of this thing until runtime, just that it's some descendent of Foo" 2019-09-15T03:10:51Z nowhere_man quit (Ping timeout: 240 seconds) 2019-09-15T03:16:34Z jsgrant_ quit (Remote host closed the connection) 2019-09-15T03:35:03Z raichu quit (Ping timeout: 260 seconds) 2019-09-15T03:36:14Z aeth: sukaeto: On the other hand, nothing's stopping you from, rather than text-substituting, parsing that templating engine into your html->s-expression system and thus validate the HTML 2019-09-15T03:36:48Z Oladon1 joined #lisp 2019-09-15T03:36:56Z torbo joined #lisp 2019-09-15T03:37:48Z Oladon quit (Ping timeout: 245 seconds) 2019-09-15T03:39:27Z aeth: sukaeto: #lispcafe also came up with a clever way of substituting something into a string. Basically, build a format string that takes in a keyword argument by collecting the variables and then removing the duplicates for the keywords, i.e. (&key foo bar baz ...) would be the lambda list but they might be encountered as foo bar foo foo baz bar ... in the template language 2019-09-15T03:40:30Z aeth: And since "hello, {{person}}!" seems wrong to a Lisper, it could be represented as (that-macro "hello, " person "!") which will then generate a function with one keyword argument, person. 2019-09-15T03:40:39Z aeth: Since then you're not magicking a variable out of nowhere 2019-09-15T03:41:27Z aeth: Now, whether or not a design person would be able to tolerate (define-foo foo "<html> <body> Hello, " person "!") instead of an alternative is a different story... 2019-09-15T03:42:04Z aeth: I guess the point of this is that you get a ton of flexibility... at the expense of everyone probably preferring their own solution 2019-09-15T03:49:50Z mathrick joined #lisp 2019-09-15T03:51:55Z pjb: you should not trust what comes out of #lispcafe. It's specifically designed for that, not trusting. 2019-09-15T03:57:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T03:57:46Z no-defun-allowed: Would you prefer the code written there then, pjb? http://clim.rocks/gilbert/blah2.lisp 2019-09-15T03:58:12Z jprajzne joined #lisp 2019-09-15T03:59:12Z orivej quit (Ping timeout: 265 seconds) 2019-09-15T03:59:29Z sukaeto: yeah, my experience is that design people would rather just do PHPish stuff inlined directly into the HTML. So things like Jinja work out great for them. 2019-09-15T04:00:14Z sukaeto: granted, if you don't have a design person and you're stuck writing all your own HTML, then yeah. Having a sexpr representation and being able to work with it in code is great. 2019-09-15T04:01:12Z elfmacs quit (Ping timeout: 268 seconds) 2019-09-15T04:02:26Z jprajzne quit (Client Quit) 2019-09-15T04:02:57Z jprajzne joined #lisp 2019-09-15T04:04:17Z adip quit (Ping timeout: 268 seconds) 2019-09-15T04:04:38Z nowhereman quit (Ping timeout: 276 seconds) 2019-09-15T04:05:49Z adip joined #lisp 2019-09-15T04:10:57Z nullniverse quit (Quit: Leaving) 2019-09-15T04:11:21Z adam4567 left #lisp 2019-09-15T04:15:43Z mathrick quit (Ping timeout: 245 seconds) 2019-09-15T04:20:27Z aeth: sukaeto: Technically speaking, you can do that in CL, too. 2019-09-15T04:20:36Z aeth: sukaeto: You could write a reader macro for PHP-style CL 2019-09-15T04:26:08Z beach: Good morning everyone! 2019-09-15T04:29:07Z aeth: sukaeto: In fact, at least one person almost certainly made something like that when PHP was in style (although nowadays even PHP uses web frameworks with templates like Python and Ruby offer) 2019-09-15T04:32:09Z Lord_of_Life quit (Ping timeout: 246 seconds) 2019-09-15T04:33:31Z Lord_of_Life joined #lisp 2019-09-15T04:39:19Z wigust quit (Ping timeout: 265 seconds) 2019-09-15T04:39:22Z wigust- joined #lisp 2019-09-15T04:41:36Z nanoz quit (Ping timeout: 246 seconds) 2019-09-15T04:48:44Z malaclyps[m] quit (*.net *.split) 2019-09-15T04:48:45Z dtw quit (*.net *.split) 2019-09-15T04:48:45Z voidlily quit (*.net *.split) 2019-09-15T04:48:45Z DrDuck quit (*.net *.split) 2019-09-15T04:48:45Z buffergn0me quit (*.net *.split) 2019-09-15T04:48:45Z thonkpod quit (*.net *.split) 2019-09-15T04:48:45Z galdor quit (*.net *.split) 2019-09-15T04:48:45Z drmeister quit (*.net *.split) 2019-09-15T04:48:46Z pent quit (*.net *.split) 2019-09-15T04:48:46Z xristos quit (*.net *.split) 2019-09-15T04:48:46Z |3b| quit (*.net *.split) 2019-09-15T04:48:46Z tfb quit (*.net *.split) 2019-09-15T04:48:46Z bkhl quit (*.net *.split) 2019-09-15T04:48:46Z boeg quit (*.net *.split) 2019-09-15T04:48:46Z p_l quit (*.net *.split) 2019-09-15T04:48:46Z gjnoonan quit (*.net *.split) 2019-09-15T04:48:46Z spacedbat quit (*.net *.split) 2019-09-15T04:48:46Z jhei quit (*.net *.split) 2019-09-15T04:48:46Z physpi quit (*.net *.split) 2019-09-15T04:48:46Z phadthai quit (*.net *.split) 2019-09-15T04:48:46Z chewbranca quit (*.net *.split) 2019-09-15T04:48:46Z CEnnis91 quit (*.net *.split) 2019-09-15T04:48:46Z postit_ quit (*.net *.split) 2019-09-15T04:48:46Z asedeno_ quit (*.net *.split) 2019-09-15T04:48:46Z XachX quit (*.net *.split) 2019-09-15T04:48:46Z tazjin quit (*.net *.split) 2019-09-15T04:48:46Z koenig quit (*.net *.split) 2019-09-15T04:48:46Z swflint quit (*.net *.split) 2019-09-15T04:48:46Z gendl quit (*.net *.split) 2019-09-15T04:48:46Z Ober quit (*.net *.split) 2019-09-15T04:48:46Z jerme_ quit (*.net *.split) 2019-09-15T04:48:46Z markasoftware quit (*.net *.split) 2019-09-15T04:48:53Z phadthai joined #lisp 2019-09-15T04:48:55Z xristos joined #lisp 2019-09-15T04:49:02Z p_l joined #lisp 2019-09-15T04:49:04Z pent joined #lisp 2019-09-15T04:49:06Z XachX joined #lisp 2019-09-15T04:49:06Z DrDuck joined #lisp 2019-09-15T04:49:07Z tfb joined #lisp 2019-09-15T04:49:08Z tazjin joined #lisp 2019-09-15T04:49:08Z xristos quit (Changing host) 2019-09-15T04:49:08Z xristos joined #lisp 2019-09-15T04:49:12Z boeg joined #lisp 2019-09-15T04:49:16Z XachX quit (Changing host) 2019-09-15T04:49:16Z XachX joined #lisp 2019-09-15T04:49:17Z asedeno_ joined #lisp 2019-09-15T04:49:18Z jhei joined #lisp 2019-09-15T04:49:18Z gjnoonan joined #lisp 2019-09-15T04:49:20Z buffergn0me joined #lisp 2019-09-15T04:49:22Z chewbranca joined #lisp 2019-09-15T04:49:24Z dtw joined #lisp 2019-09-15T04:49:25Z gendl joined #lisp 2019-09-15T04:49:26Z postit_ joined #lisp 2019-09-15T04:49:27Z drmeister joined #lisp 2019-09-15T04:49:32Z malaclyps[m] joined #lisp 2019-09-15T04:49:36Z koenig joined #lisp 2019-09-15T04:49:39Z physpi joined #lisp 2019-09-15T04:49:41Z CEnnis91 joined #lisp 2019-09-15T04:49:43Z thonkpod joined #lisp 2019-09-15T04:50:38Z libertyprime joined #lisp 2019-09-15T04:50:51Z Lord_of_Life quit (Ping timeout: 240 seconds) 2019-09-15T04:51:05Z bkhl joined #lisp 2019-09-15T04:52:03Z gravicappa joined #lisp 2019-09-15T04:54:20Z voidlily joined #lisp 2019-09-15T04:54:20Z galdor joined #lisp 2019-09-15T04:54:20Z |3b| joined #lisp 2019-09-15T04:54:20Z spacedbat joined #lisp 2019-09-15T04:54:20Z swflint joined #lisp 2019-09-15T04:54:20Z Ober joined #lisp 2019-09-15T04:54:20Z jerme_ joined #lisp 2019-09-15T04:54:20Z markasoftware joined #lisp 2019-09-15T04:54:30Z Lord_of_Life joined #lisp 2019-09-15T04:55:01Z abhixec quit (Quit: leaving) 2019-09-15T04:55:31Z Bike quit (Quit: Lost terminal) 2019-09-15T04:56:43Z gravicappa quit (Ping timeout: 265 seconds) 2019-09-15T04:57:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T04:57:54Z clothespin_ joined #lisp 2019-09-15T04:58:17Z jprajzne joined #lisp 2019-09-15T05:01:33Z clothespin quit (Ping timeout: 245 seconds) 2019-09-15T05:06:15Z abhixec joined #lisp 2019-09-15T05:07:15Z jprajzne quit (Quit: jprajzne) 2019-09-15T05:07:40Z jprajzne joined #lisp 2019-09-15T05:11:05Z FreeBirdLjj joined #lisp 2019-09-15T05:11:51Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-15T05:12:02Z mathrick joined #lisp 2019-09-15T05:15:03Z _whitelogger quit (Remote host closed the connection) 2019-09-15T05:17:16Z _whitelogger joined #lisp 2019-09-15T05:20:23Z torbo quit (Remote host closed the connection) 2019-09-15T05:22:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T05:23:15Z jprajzne joined #lisp 2019-09-15T05:23:49Z Jesin quit (Quit: Leaving) 2019-09-15T05:26:19Z Jesin joined #lisp 2019-09-15T05:27:26Z jprajzne quit (Client Quit) 2019-09-15T05:27:51Z jprajzne joined #lisp 2019-09-15T05:29:32Z raghavgururajan joined #lisp 2019-09-15T05:30:09Z akoana left #lisp 2019-09-15T05:32:27Z quazimodo quit (Ping timeout: 240 seconds) 2019-09-15T05:39:58Z quazimodo joined #lisp 2019-09-15T05:40:20Z techquila joined #lisp 2019-09-15T05:42:32Z abhixec quit (Quit: leaving) 2019-09-15T05:47:07Z vlatkoB joined #lisp 2019-09-15T05:48:54Z SaganMan joined #lisp 2019-09-15T05:54:57Z jeosol: mgsk: It didn't appear to work. Now I just do C-u M-x, then sbcl --dynamic-space-size 10000. 2019-09-15T05:56:14Z jeosol: morning beach 2019-09-15T05:57:27Z dddddd quit (Remote host closed the connection) 2019-09-15T05:57:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T05:58:17Z jprajzne joined #lisp 2019-09-15T06:01:04Z ggole joined #lisp 2019-09-15T06:02:15Z jprajzne quit (Client Quit) 2019-09-15T06:02:41Z jprajzne joined #lisp 2019-09-15T06:07:21Z user____ joined #lisp 2019-09-15T06:12:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T06:13:21Z jprajzne joined #lisp 2019-09-15T06:13:46Z slyrus__ joined #lisp 2019-09-15T06:14:32Z krid quit (Ping timeout: 265 seconds) 2019-09-15T06:16:02Z slyrus_ quit (Ping timeout: 240 seconds) 2019-09-15T06:17:15Z jprajzne quit (Client Quit) 2019-09-15T06:17:41Z jprajzne joined #lisp 2019-09-15T06:18:33Z marusich joined #lisp 2019-09-15T06:18:52Z Ricchi joined #lisp 2019-09-15T06:23:27Z ahungry quit (Remote host closed the connection) 2019-09-15T06:30:02Z _whitelogger quit (Remote host closed the connection) 2019-09-15T06:32:15Z _whitelogger joined #lisp 2019-09-15T06:37:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T06:39:44Z count3rmeasure joined #lisp 2019-09-15T06:40:34Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-15T06:46:05Z ravenousmoose joined #lisp 2019-09-15T06:47:56Z rippa joined #lisp 2019-09-15T06:49:12Z kalogik joined #lisp 2019-09-15T06:50:24Z ravenousmoose quit (Ping timeout: 246 seconds) 2019-09-15T06:51:47Z kalogik quit (Client Quit) 2019-09-15T06:52:20Z nikkal joined #lisp 2019-09-15T06:52:44Z SaganMan quit (Quit: WeeChat 1.6) 2019-09-15T06:53:57Z SaganMan joined #lisp 2019-09-15T07:04:36Z FreeBirdLjj joined #lisp 2019-09-15T07:04:53Z elfmacs joined #lisp 2019-09-15T07:06:32Z ravenousmoose joined #lisp 2019-09-15T07:07:40Z jprajzne joined #lisp 2019-09-15T07:18:25Z Ricchi quit (Remote host closed the connection) 2019-09-15T07:34:35Z refpga quit (Ping timeout: 276 seconds) 2019-09-15T07:35:13Z refpga joined #lisp 2019-09-15T07:37:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T07:42:37Z jprajzne joined #lisp 2019-09-15T07:45:42Z adip quit (Ping timeout: 246 seconds) 2019-09-15T07:46:16Z nika joined #lisp 2019-09-15T07:47:38Z adip joined #lisp 2019-09-15T07:47:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T07:48:18Z jprajzne joined #lisp 2019-09-15T07:52:26Z jprajzne quit (Client Quit) 2019-09-15T07:52:55Z jprajzne joined #lisp 2019-09-15T07:55:22Z dale quit (Quit: My computer has gone to sleep) 2019-09-15T08:00:26Z fragamus quit (Ping timeout: 245 seconds) 2019-09-15T08:03:07Z eMBee quit (Quit: leaving) 2019-09-15T08:03:24Z eMBee joined #lisp 2019-09-15T08:06:33Z fragamus joined #lisp 2019-09-15T08:11:29Z nanoz joined #lisp 2019-09-15T08:15:13Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-15T08:17:44Z jprajzne quit (Quit: jprajzne) 2019-09-15T08:18:16Z jprajzne joined #lisp 2019-09-15T08:22:15Z jprajzne quit (Client Quit) 2019-09-15T08:22:42Z jprajzne joined #lisp 2019-09-15T08:27:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T08:27:44Z orivej joined #lisp 2019-09-15T08:29:38Z adip quit (Ping timeout: 240 seconds) 2019-09-15T08:30:04Z user____ quit (Ping timeout: 268 seconds) 2019-09-15T08:31:38Z adip joined #lisp 2019-09-15T08:32:40Z jprajzne joined #lisp 2019-09-15T08:36:51Z FreeBirdLjj joined #lisp 2019-09-15T08:37:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T08:47:38Z jprajzne joined #lisp 2019-09-15T09:01:51Z gareppa joined #lisp 2019-09-15T09:01:57Z georgie joined #lisp 2019-09-15T09:03:13Z superkumasan joined #lisp 2019-09-15T09:10:27Z krid joined #lisp 2019-09-15T09:10:34Z count3rmeasure quit (Quit: Leaving) 2019-09-15T09:14:49Z krid quit (Ping timeout: 265 seconds) 2019-09-15T09:16:55Z asdf_asdf_asdf joined #lisp 2019-09-15T09:18:19Z raghavgururajan quit (Read error: Connection reset by peer) 2019-09-15T09:21:11Z orivej quit (Ping timeout: 276 seconds) 2019-09-15T09:23:06Z nikkal quit (Read error: Connection reset by peer) 2019-09-15T09:23:39Z nikkal joined #lisp 2019-09-15T09:28:14Z devon joined #lisp 2019-09-15T09:39:57Z cosimone joined #lisp 2019-09-15T09:41:57Z orivej joined #lisp 2019-09-15T09:42:13Z elfmacs quit (Ping timeout: 268 seconds) 2019-09-15T09:42:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T09:43:08Z user_ joined #lisp 2019-09-15T09:46:22Z devon: (apropos "packages") 2019-09-15T09:46:51Z devon: LOL, wrong buffer. Can slime hack -*- Package: foo -*- lines? 2019-09-15T09:48:40Z refpga` joined #lisp 2019-09-15T09:49:20Z asdf_asdf_asdf: devon, You set variable *print-length* on t/nil. 2019-09-15T09:49:34Z nikkal quit (Quit: Konversation terminated!) 2019-09-15T09:49:52Z no-defun-allowed: You can't set *print-length* to T. 2019-09-15T09:50:05Z no-defun-allowed: clhs *print-length* 2019-09-15T09:50:05Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/v_pr_lev.htm 2019-09-15T09:50:30Z asdf_asdf_asdf: Thanks @no-def 2019-09-15T09:51:00Z asdf_asdf_asdf: Thanks no-defun-allowed. Yes only to nil or negative integer. 2019-09-15T09:51:19Z no-defun-allowed: *positive integer. 2019-09-15T09:51:20Z asdf_asdf_asdf: non-negative* 2019-09-15T09:51:33Z no-defun-allowed: Good point, zero isn't positive. 2019-09-15T09:52:02Z devon quit (Ping timeout: 265 seconds) 2019-09-15T09:52:40Z jprajzne joined #lisp 2019-09-15T09:54:33Z makomo joined #lisp 2019-09-15T09:59:36Z fragamus quit (Ping timeout: 245 seconds) 2019-09-15T10:08:19Z cosimone quit (Quit: Terminated!) 2019-09-15T10:09:26Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-15T10:09:38Z orivej quit (Ping timeout: 240 seconds) 2019-09-15T10:16:56Z orivej joined #lisp 2019-09-15T10:23:35Z asdf_asdf_asdf quit (Remote host closed the connection) 2019-09-15T10:26:55Z asdf_asdf_asdf joined #lisp 2019-09-15T10:31:14Z nowhereman joined #lisp 2019-09-15T10:36:49Z igemnace joined #lisp 2019-09-15T10:37:37Z igemnace quit (Client Quit) 2019-09-15T10:37:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T10:39:06Z scymtym quit (Ping timeout: 258 seconds) 2019-09-15T10:39:50Z orivej quit (Read error: Connection timed out) 2019-09-15T10:42:06Z gareppa quit (Quit: Leaving) 2019-09-15T10:42:39Z jprajzne joined #lisp 2019-09-15T10:42:54Z count3rmeasure joined #lisp 2019-09-15T10:47:00Z angavrilov quit (Remote host closed the connection) 2019-09-15T10:47:28Z angavrilov joined #lisp 2019-09-15T10:47:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T10:48:11Z jprajzne joined #lisp 2019-09-15T10:52:15Z jprajzne quit (Client Quit) 2019-09-15T10:52:37Z jprajzne joined #lisp 2019-09-15T10:58:46Z scymtym joined #lisp 2019-09-15T11:02:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T11:03:21Z jprajzne joined #lisp 2019-09-15T11:07:15Z jprajzne quit (Client Quit) 2019-09-15T11:07:40Z jprajzne joined #lisp 2019-09-15T11:09:05Z ravenousmoose quit (Ping timeout: 276 seconds) 2019-09-15T11:10:34Z puchacz joined #lisp 2019-09-15T11:11:01Z ravenousmoose joined #lisp 2019-09-15T11:12:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T11:17:39Z jprajzne joined #lisp 2019-09-15T11:18:13Z stepnem quit (Ping timeout: 245 seconds) 2019-09-15T11:18:41Z stepnem joined #lisp 2019-09-15T11:20:09Z varjag joined #lisp 2019-09-15T11:23:15Z Inline__ joined #lisp 2019-09-15T11:23:28Z Inline__ quit (Read error: Connection reset by peer) 2019-09-15T11:25:52Z Inline quit (Ping timeout: 264 seconds) 2019-09-15T11:27:40Z jprajzne quit (Quit: jprajzne) 2019-09-15T11:28:07Z jprajzne joined #lisp 2019-09-15T11:32:15Z jprajzne quit (Client Quit) 2019-09-15T11:39:16Z nowhereman quit (Ping timeout: 258 seconds) 2019-09-15T11:44:24Z ravenousmoose quit (Ping timeout: 246 seconds) 2019-09-15T11:45:36Z shifty joined #lisp 2019-09-15T11:48:46Z ravenousmoose joined #lisp 2019-09-15T11:51:33Z Bike joined #lisp 2019-09-15T11:56:54Z EvW1 joined #lisp 2019-09-15T11:58:20Z jprajzne joined #lisp 2019-09-15T12:02:14Z jprajzne quit (Client Quit) 2019-09-15T12:02:39Z jprajzne joined #lisp 2019-09-15T12:03:46Z count3rmeasure quit (Ping timeout: 245 seconds) 2019-09-15T12:07:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T12:08:19Z jprajzne joined #lisp 2019-09-15T12:11:01Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-15T12:11:29Z Fare joined #lisp 2019-09-15T12:12:25Z jprajzne quit (Client Quit) 2019-09-15T12:12:51Z jprajzne joined #lisp 2019-09-15T12:15:11Z ralt joined #lisp 2019-09-15T12:19:57Z dddddd joined #lisp 2019-09-15T12:21:41Z xkapastel joined #lisp 2019-09-15T12:24:12Z asdf_asdf_asdf quit (Quit: asdf_asdf_asdf) 2019-09-15T12:30:02Z Achylles joined #lisp 2019-09-15T12:30:54Z random-nick joined #lisp 2019-09-15T12:33:11Z orivej joined #lisp 2019-09-15T12:39:45Z Inline joined #lisp 2019-09-15T12:45:39Z wigust- quit (Quit: ZNC 1.7.4 - https://znc.in) 2019-09-15T12:54:48Z shifty quit (Ping timeout: 258 seconds) 2019-09-15T12:55:27Z shifty joined #lisp 2019-09-15T12:59:11Z lucasb joined #lisp 2019-09-15T13:04:26Z superkumasan quit (Ping timeout: 240 seconds) 2019-09-15T13:06:02Z analogue joined #lisp 2019-09-15T13:10:22Z FreeBirdLjj joined #lisp 2019-09-15T13:13:04Z asedeno_ is now known as asedeno 2019-09-15T13:22:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T13:23:16Z jprajzne joined #lisp 2019-09-15T13:25:34Z wxie joined #lisp 2019-09-15T13:27:15Z jprajzne quit (Client Quit) 2019-09-15T13:27:42Z jprajzne joined #lisp 2019-09-15T13:34:28Z emacsomancer joined #lisp 2019-09-15T13:36:00Z igemnace joined #lisp 2019-09-15T13:36:35Z igemnace quit (Client Quit) 2019-09-15T13:39:11Z analogue quit (Ping timeout: 245 seconds) 2019-09-15T13:46:08Z EvW1 quit (Ping timeout: 245 seconds) 2019-09-15T13:51:35Z orivej quit (Ping timeout: 276 seconds) 2019-09-15T13:57:40Z ravenousmoose quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-15T14:00:33Z gabiruh_ quit (Ping timeout: 246 seconds) 2019-09-15T14:02:51Z wxie quit (Ping timeout: 250 seconds) 2019-09-15T14:07:55Z bitmapper joined #lisp 2019-09-15T14:15:07Z gabiruh joined #lisp 2019-09-15T14:15:57Z Achylles quit (Ping timeout: 246 seconds) 2019-09-15T14:17:04Z semz_ is now known as semz 2019-09-15T14:17:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T14:18:16Z jprajzne joined #lisp 2019-09-15T14:20:20Z gabiruh quit (Ping timeout: 268 seconds) 2019-09-15T14:22:15Z jprajzne quit (Client Quit) 2019-09-15T14:22:41Z jprajzne joined #lisp 2019-09-15T14:24:38Z libertyprime quit (Ping timeout: 265 seconds) 2019-09-15T14:26:27Z krid joined #lisp 2019-09-15T14:27:32Z Fare quit (Ping timeout: 265 seconds) 2019-09-15T14:28:38Z Achylles joined #lisp 2019-09-15T14:32:04Z Fare joined #lisp 2019-09-15T14:32:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T14:32:43Z ravenousmoose joined #lisp 2019-09-15T14:33:23Z jprajzne joined #lisp 2019-09-15T14:37:15Z jprajzne quit (Client Quit) 2019-09-15T14:38:42Z ravenousmoose quit (Ping timeout: 246 seconds) 2019-09-15T14:39:13Z Krystof quit (Ping timeout: 245 seconds) 2019-09-15T14:41:32Z georgie joined #lisp 2019-09-15T14:43:29Z krid quit (Ping timeout: 265 seconds) 2019-09-15T14:47:04Z yoeljacobsen joined #lisp 2019-09-15T14:47:50Z Fare quit (Ping timeout: 265 seconds) 2019-09-15T14:48:21Z jprajzne joined #lisp 2019-09-15T14:51:24Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-15T14:52:15Z jprajzne quit (Client Quit) 2019-09-15T14:52:47Z jprajzne joined #lisp 2019-09-15T14:55:52Z voidlily quit (Ping timeout: 276 seconds) 2019-09-15T15:00:03Z Achylles quit (Ping timeout: 246 seconds) 2019-09-15T15:02:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T15:07:20Z shka_ joined #lisp 2019-09-15T15:07:46Z jprajzne joined #lisp 2019-09-15T15:08:56Z voidlily joined #lisp 2019-09-15T15:09:48Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-15T15:13:14Z krid joined #lisp 2019-09-15T15:20:33Z orivej joined #lisp 2019-09-15T15:20:43Z emacsomancer quit (Read error: Connection reset by peer) 2019-09-15T15:27:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T15:28:14Z jprajzne joined #lisp 2019-09-15T15:37:15Z jprajzne quit (Quit: jprajzne) 2019-09-15T15:37:44Z jprajzne joined #lisp 2019-09-15T15:38:06Z FreeBirdLjj joined #lisp 2019-09-15T15:38:20Z yoja joined #lisp 2019-09-15T15:40:51Z yoeljacobsen quit (Ping timeout: 240 seconds) 2019-09-15T15:42:48Z voidlily quit (Ping timeout: 245 seconds) 2019-09-15T15:43:21Z shifty quit (Ping timeout: 245 seconds) 2019-09-15T15:48:21Z NickBusey quit (Ping timeout: 245 seconds) 2019-09-15T15:50:50Z yoja quit (Ping timeout: 240 seconds) 2019-09-15T16:08:27Z orivej quit (Ping timeout: 240 seconds) 2019-09-15T16:12:43Z jprajzne quit (Quit: jprajzne) 2019-09-15T16:14:48Z asdf_asdf_asdf joined #lisp 2019-09-15T16:17:40Z jprajzne joined #lisp 2019-09-15T16:21:39Z Aruseus joined #lisp 2019-09-15T16:22:02Z khisanth_ quit (Ping timeout: 240 seconds) 2019-09-15T16:22:05Z ralt quit (Quit: Connection closed for inactivity) 2019-09-15T16:28:55Z Volt_ quit (Quit: exit();) 2019-09-15T16:30:14Z puchacz quit (Quit: Connection closed for inactivity) 2019-09-15T16:30:23Z Lord_of_Life_ joined #lisp 2019-09-15T16:33:41Z Lord_of_Life quit (Ping timeout: 265 seconds) 2019-09-15T16:33:48Z Lord_of_Life_ is now known as Lord_of_Life 2019-09-15T16:35:43Z scymtym quit (Ping timeout: 245 seconds) 2019-09-15T16:35:49Z khisanth_ joined #lisp 2019-09-15T16:40:51Z aindilis quit (Ping timeout: 240 seconds) 2019-09-15T16:40:51Z ravenousmoose joined #lisp 2019-09-15T16:43:15Z cosimone joined #lisp 2019-09-15T16:44:35Z Ven`` joined #lisp 2019-09-15T16:45:47Z ravenousmoose quit (Ping timeout: 276 seconds) 2019-09-15T16:46:54Z dpl joined #lisp 2019-09-15T16:49:39Z ralt joined #lisp 2019-09-15T16:56:09Z Krystof joined #lisp 2019-09-15T16:59:25Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-15T16:59:27Z jprajzne quit (Remote host closed the connection) 2019-09-15T17:00:01Z FreeBirdLjj joined #lisp 2019-09-15T17:01:23Z aindilis joined #lisp 2019-09-15T17:04:38Z FreeBirdLjj quit (Ping timeout: 276 seconds) 2019-09-15T17:06:31Z orivej joined #lisp 2019-09-15T17:14:15Z paul0 quit (Remote host closed the connection) 2019-09-15T17:18:33Z sjl quit (Quit: WeeChat 2.2-dev) 2019-09-15T17:24:41Z torbo joined #lisp 2019-09-15T17:26:29Z Ricchi joined #lisp 2019-09-15T17:29:46Z gravicappa joined #lisp 2019-09-15T17:34:36Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-15T17:35:10Z Ven`` joined #lisp 2019-09-15T17:35:13Z ravenousmoose joined #lisp 2019-09-15T17:35:23Z Ven`` quit (Client Quit) 2019-09-15T17:37:46Z superkumasan joined #lisp 2019-09-15T17:39:39Z ravenousmoose quit (Ping timeout: 246 seconds) 2019-09-15T17:42:43Z nika quit 2019-09-15T17:47:39Z user_ quit (Ping timeout: 240 seconds) 2019-09-15T17:54:19Z dpl quit (Quit: leaving) 2019-09-15T17:54:51Z dpl joined #lisp 2019-09-15T17:56:38Z stepnem quit (Ping timeout: 276 seconds) 2019-09-15T17:56:52Z stepnem_ joined #lisp 2019-09-15T18:06:00Z refpga quit (Ping timeout: 265 seconds) 2019-09-15T18:06:30Z cosimone quit (Quit: Quit.) 2019-09-15T18:06:45Z refpga joined #lisp 2019-09-15T18:06:49Z analogue joined #lisp 2019-09-15T18:09:09Z cosimone joined #lisp 2019-09-15T18:21:04Z ggole quit (Ping timeout: 264 seconds) 2019-09-15T18:22:36Z scymtym joined #lisp 2019-09-15T18:29:33Z fragamus joined #lisp 2019-09-15T18:33:22Z Kevslinger quit (Quit: Connection closed for inactivity) 2019-09-15T18:35:01Z techquila quit (Ping timeout: 268 seconds) 2019-09-15T18:35:38Z gravicappa quit (Ping timeout: 268 seconds) 2019-09-15T18:38:06Z nanoz quit (Ping timeout: 268 seconds) 2019-09-15T18:41:33Z lavaflow quit (Ping timeout: 245 seconds) 2019-09-15T18:52:27Z orivej quit (Ping timeout: 258 seconds) 2019-09-15T18:52:34Z yoja joined #lisp 2019-09-15T18:54:45Z sunwukong joined #lisp 2019-09-15T18:55:37Z vlatkoB quit (Remote host closed the connection) 2019-09-15T18:57:13Z orivej joined #lisp 2019-09-15T19:01:39Z fragamus quit (Ping timeout: 258 seconds) 2019-09-15T19:02:05Z ralt quit (Quit: Connection closed for inactivity) 2019-09-15T19:04:29Z stepnem_ quit (Ping timeout: 265 seconds) 2019-09-15T19:04:51Z lavaflow joined #lisp 2019-09-15T19:05:27Z stepnem joined #lisp 2019-09-15T19:13:39Z random-nick quit (Ping timeout: 240 seconds) 2019-09-15T19:18:47Z Ven`` joined #lisp 2019-09-15T19:24:02Z _whitelogger quit (Remote host closed the connection) 2019-09-15T19:24:47Z hiroaki quit (Ping timeout: 265 seconds) 2019-09-15T19:24:59Z bitmapper quit (Remote host closed the connection) 2019-09-15T19:26:14Z _whitelogger joined #lisp 2019-09-15T19:26:30Z bitmapper joined #lisp 2019-09-15T19:27:14Z voidlily joined #lisp 2019-09-15T19:31:16Z yoja quit (Ping timeout: 245 seconds) 2019-09-15T19:31:41Z shka_ quit (Ping timeout: 245 seconds) 2019-09-15T19:34:46Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-15T19:37:29Z fragamus joined #lisp 2019-09-15T19:38:50Z sunwukong quit (Ping timeout: 240 seconds) 2019-09-15T19:39:43Z atomik_dog quit (Read error: Connection reset by peer) 2019-09-15T19:42:35Z fragamus quit (Ping timeout: 276 seconds) 2019-09-15T19:44:12Z techquila joined #lisp 2019-09-15T19:47:22Z afidegnum joined #lisp 2019-09-15T19:48:44Z cosimone quit (Quit: Quit.) 2019-09-15T19:49:01Z cosimone joined #lisp 2019-09-15T19:51:53Z afidegnum: hello, using elisp, i m trying to fetch the output of my python file and display but i m having a nil output, what am i missing? https://dpaste.de/4Yi0 2019-09-15T19:52:34Z Shinmera: Try #emacs 2019-09-15T19:53:54Z random-nick joined #lisp 2019-09-15T19:57:55Z fragamus joined #lisp 2019-09-15T20:01:20Z shka_ joined #lisp 2019-09-15T20:02:19Z moldybits quit (Quit: WeeChat 2.4) 2019-09-15T20:02:58Z fragamus quit (Ping timeout: 265 seconds) 2019-09-15T20:06:46Z pjb: afidegnum: Type C-h f format RET and read. 2019-09-15T20:07:39Z pjb: afidegnum: Type M-x ielm RET (format "a %s" "b" "c" "d") RET 2019-09-15T20:08:35Z afidegnum: this is my new addition 2019-09-15T20:10:20Z afidegnum: (defun from-py (&rest pyarg) 2019-09-15T20:10:20Z afidegnum: (interactive) 2019-09-15T20:10:20Z afidegnum: (insert (shell-command-to-string (format "python3 %s %s" buffer-file-name pyarg)))) 2019-09-15T20:10:23Z afidegnum: from-py 2019-09-15T20:10:27Z afidegnum: and i have this erorr 2019-09-15T20:10:38Z afidegnum: /bin/bash: -c: line 0: syntax error near unexpected token `(' 2019-09-15T20:10:38Z afidegnum: /bin/bash: -c: line 0: `python3 nil (/home/isodec/PycharmProjects/pelican/envtest.py mytest)' 2019-09-15T20:10:49Z karlosz joined #lisp 2019-09-15T20:11:34Z Shinmera: This channel is not for elisp or emacs. 2019-09-15T20:11:44Z Shinmera: Please go to #emacs. 2019-09-15T20:14:19Z fragamus joined #lisp 2019-09-15T20:15:16Z manualcrank joined #lisp 2019-09-15T20:15:55Z sjl joined #lisp 2019-09-15T20:17:01Z Kevslinger joined #lisp 2019-09-15T20:17:49Z pjb: or ##lisp to discuss it in general, as this is not an emacs specific problem, but a mere programming question. 2019-09-15T20:26:57Z thijso: In ECL I'm getting STACK-OVERFLOW errors. Is this something like a runaway recursive thing or something? It says "Stack can probably be resized", but I've gone from 2000 to over 40000 now, and it keeps telling me this after some rather minor changes in my code 2019-09-15T20:27:23Z Bike: thijso: runaway recursive function is a common cause of stack overflows, yes. can you get a backtrace? 2019-09-15T20:27:37Z thijso: Well... minor, but invasive maybe. I put in verbose for logging instead of my own format t stuff 2019-09-15T20:28:02Z thijso: No, backtrace is not there. It's inside a docker and non-interactive 2019-09-15T20:28:10Z thijso: But I should be able to run it manually... 2019-09-15T20:28:13Z thijso: lemme see 2019-09-15T20:29:10Z Bike: it's possible to introduce these things in pretty complicated ways. For example, you could have some kind of object, and a function on that object. With the verbose flag on, when that function is called, the object is printed in the log. But the print-object method on that object also calls that function. Voila 2019-09-15T20:29:24Z Bike: i have no idea if that's what's happening to you, but it's something i've done before 2019-09-15T20:29:45Z asdf_asdf_asdf: Hi. What is (* t). I want extract void and NULL from C. Thanks. 2019-09-15T20:30:05Z libertyprime joined #lisp 2019-09-15T20:30:36Z thijso: Bike: seems like something like that yeah. I see a ton of #<process "WITH-TIMEOUT thread serving: \"verbose-thread\"." 0x55da3ceb5c80>'s cycling around with no output being produced... 2019-09-15T20:30:42Z pjb: thijso: read the documentation, there may be a way to get the backtrace programmatically. In CCL, we can use (ccl::backtrace-as-list). 2019-09-15T20:31:02Z thijso: ah, thanks, pjb 2019-09-15T20:31:06Z thijso: I'll check it out 2019-09-15T20:31:18Z pjb: So you could write (handler-bind (#+ecl (stack-overflow #'print-backtrace)) …) 2019-09-15T20:32:01Z thijso: Shinmera: just to check: there should only be one of those threads running right? 2019-09-15T20:33:09Z thijso: Oh, wait. Sorry, Shinmera, that's an internal thing from ECL thread support I think. As ECL doesn't do proper with-timeout, it fakes it with a thread. I forgot the details 2019-09-15T20:34:09Z wigust joined #lisp 2019-09-15T20:35:38Z shka_ quit (Ping timeout: 240 seconds) 2019-09-15T20:37:07Z dim quit (Ping timeout: 268 seconds) 2019-09-15T20:39:53Z dale joined #lisp 2019-09-15T20:40:30Z EvW joined #lisp 2019-09-15T20:47:12Z Shinmera: thijso: You can potentially have multiple controllers running, but I'm not sure of the utility of it and it doesn't happen normally. 2019-09-15T20:50:22Z cosimone quit (Quit: Quit.) 2019-09-15T20:50:42Z cosimone joined #lisp 2019-09-15T20:55:26Z analogue quit (Quit: Leaving) 2019-09-15T20:59:34Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-15T20:59:43Z cosimone quit (Remote host closed the connection) 2019-09-15T21:00:10Z cosimone joined #lisp 2019-09-15T21:01:06Z Ven`` quit (Quit: Textual IRC Client: www.textualapp.com) 2019-09-15T21:05:00Z karlosz quit (Quit: karlosz) 2019-09-15T21:05:12Z karlosz joined #lisp 2019-09-15T21:05:48Z fragamus quit (Ping timeout: 265 seconds) 2019-09-15T21:10:22Z EvW quit (Remote host closed the connection) 2019-09-15T21:10:36Z EvW1 joined #lisp 2019-09-15T21:15:29Z jonatack quit (Quit: jonatack) 2019-09-15T21:15:39Z jonatack joined #lisp 2019-09-15T21:16:24Z nowhereman joined #lisp 2019-09-15T21:20:31Z emacsomancer joined #lisp 2019-09-15T21:30:22Z lavaflow quit (Ping timeout: 258 seconds) 2019-09-15T21:31:22Z lavaflow joined #lisp 2019-09-15T21:32:11Z karlosz quit (Quit: karlosz) 2019-09-15T21:36:00Z refpga` quit (Remote host closed the connection) 2019-09-15T21:45:19Z karlosz joined #lisp 2019-09-15T21:45:54Z j`ey joined #lisp 2019-09-15T21:53:01Z LdBeth: once I thought SMGL parser is a myth 2019-09-15T22:04:17Z libertyprime quit (Ping timeout: 265 seconds) 2019-09-15T22:05:15Z random-nick quit (Ping timeout: 265 seconds) 2019-09-15T22:06:45Z georgie joined #lisp 2019-09-15T22:11:37Z moldybits joined #lisp 2019-09-15T22:11:44Z akoana joined #lisp 2019-09-15T22:13:22Z ltriant joined #lisp 2019-09-15T22:15:50Z libertyprime joined #lisp 2019-09-15T22:17:17Z varjag quit (Ping timeout: 276 seconds) 2019-09-15T22:21:50Z refpga quit (Read error: Connection reset by peer) 2019-09-15T22:22:05Z refpga joined #lisp 2019-09-15T22:22:08Z georgie_ joined #lisp 2019-09-15T22:23:36Z georgie quit (Read error: Connection reset by peer) 2019-09-15T22:23:46Z anewuser joined #lisp 2019-09-15T22:30:56Z karlosz quit (Quit: karlosz) 2019-09-15T22:32:17Z karlosz joined #lisp 2019-09-15T22:33:16Z igemnace joined #lisp 2019-09-15T22:33:19Z igemnace quit (Client Quit) 2019-09-15T22:35:13Z adip quit (Ping timeout: 265 seconds) 2019-09-15T22:36:22Z monokrom quit (Remote host closed the connection) 2019-09-15T22:36:53Z adip joined #lisp 2019-09-15T22:36:58Z karlosz quit (Ping timeout: 245 seconds) 2019-09-15T22:37:15Z libertyprime quit (Ping timeout: 240 seconds) 2019-09-15T22:42:09Z alexanderbarbosa joined #lisp 2019-09-15T22:44:18Z libertyprime joined #lisp 2019-09-15T22:45:14Z lavaflow quit (Ping timeout: 276 seconds) 2019-09-15T22:45:35Z karlosz joined #lisp 2019-09-15T22:45:53Z cosimone quit (Remote host closed the connection) 2019-09-15T22:46:03Z refpga quit (Remote host closed the connection) 2019-09-15T22:46:22Z cosimone joined #lisp 2019-09-15T22:50:14Z asdf_asdf_asdf quit (Quit: asdf_asdf_asdf) 2019-09-15T22:52:10Z libertyprime quit (Ping timeout: 268 seconds) 2019-09-15T22:52:34Z libertyprime joined #lisp 2019-09-15T22:55:31Z quazimodo quit (Ping timeout: 265 seconds) 2019-09-15T22:56:36Z cosimone quit (Quit: Quit.) 2019-09-15T22:57:06Z dpl quit (Ping timeout: 268 seconds) 2019-09-15T23:04:12Z saravia joined #lisp 2019-09-15T23:17:51Z nanoz joined #lisp 2019-09-15T23:24:03Z lavaflow joined #lisp 2019-09-15T23:24:59Z shifty joined #lisp 2019-09-15T23:31:19Z karlosz quit (Quit: karlosz) 2019-09-15T23:45:07Z xkapastel joined #lisp 2019-09-15T23:52:23Z karlosz joined #lisp 2019-09-15T23:53:50Z libertyprime quit (Ping timeout: 268 seconds) 2019-09-15T23:55:58Z permagreen quit (Remote host closed the connection) 2019-09-15T23:57:43Z Blukunfando joined #lisp 2019-09-15T23:57:48Z EvW1 quit (Ping timeout: 245 seconds) 2019-09-15T23:59:14Z SaganMan quit (Ping timeout: 240 seconds) 2019-09-16T00:02:16Z akoana left #lisp 2019-09-16T00:03:51Z SaganMan joined #lisp 2019-09-16T00:04:34Z Ricchi quit (Remote host closed the connection) 2019-09-16T00:07:44Z karlosz quit (Quit: karlosz) 2019-09-16T00:08:59Z adip quit (Ping timeout: 265 seconds) 2019-09-16T00:09:05Z shifty quit (Ping timeout: 276 seconds) 2019-09-16T00:09:12Z shifty joined #lisp 2019-09-16T00:16:21Z vap1 quit (Read error: Connection reset by peer) 2019-09-16T00:19:25Z Aruseus quit (Remote host closed the connection) 2019-09-16T00:21:28Z vaporatorius joined #lisp 2019-09-16T00:21:28Z vaporatorius quit (Changing host) 2019-09-16T00:21:28Z vaporatorius joined #lisp 2019-09-16T00:35:51Z superkumasan quit (Ping timeout: 245 seconds) 2019-09-16T00:38:57Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-16T00:42:59Z Aruseus joined #lisp 2019-09-16T00:49:44Z elfmacs joined #lisp 2019-09-16T00:54:57Z fragamus joined #lisp 2019-09-16T00:55:27Z shifty quit (Ping timeout: 258 seconds) 2019-09-16T00:56:23Z shifty joined #lisp 2019-09-16T01:02:19Z raghavgururajan joined #lisp 2019-09-16T01:04:50Z bitmapper quit (Ping timeout: 240 seconds) 2019-09-16T01:09:53Z makomo quit (Ping timeout: 265 seconds) 2019-09-16T01:18:13Z semz quit (Ping timeout: 245 seconds) 2019-09-16T01:27:39Z anewuser quit (Ping timeout: 240 seconds) 2019-09-16T01:31:46Z semz joined #lisp 2019-09-16T01:41:18Z fragamus quit (Ping timeout: 265 seconds) 2019-09-16T01:43:39Z fragamus joined #lisp 2019-09-16T01:48:07Z saravia quit (Remote host closed the connection) 2019-09-16T01:53:51Z Argely joined #lisp 2019-09-16T01:54:04Z Argely: ddd 2019-09-16T02:00:21Z EvW joined #lisp 2019-09-16T02:00:53Z mathrick quit (Ping timeout: 250 seconds) 2019-09-16T02:02:35Z Argely left #lisp 2019-09-16T02:14:22Z mathrick joined #lisp 2019-09-16T02:18:17Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-16T02:19:17Z Blukunfando quit 2019-09-16T02:22:04Z adip joined #lisp 2019-09-16T02:22:35Z abhixec joined #lisp 2019-09-16T02:25:26Z devon joined #lisp 2019-09-16T02:29:11Z devon: Earlier I got non-sequitur responses to this question, so I ask again: 2019-09-16T02:29:11Z devon: Can slime hack -*- Package: foo -*- lines? 2019-09-16T02:31:00Z seok quit (Remote host closed the connection) 2019-09-16T02:36:01Z pjb: devon: you would have to define "to hack". 2019-09-16T02:37:39Z raghavgururajan quit (Remote host closed the connection) 2019-09-16T02:39:36Z georgie_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-16T02:42:08Z edgar-rft: Is foo an Emacs package or a Common LIsp package? 2019-09-16T02:45:15Z mindthelion joined #lisp 2019-09-16T02:45:59Z pjb: edgar-rft: this concerns CL packages. 2019-09-16T02:46:54Z mindthelion quit (Client Quit) 2019-09-16T02:47:11Z pjb: emacs packages are some kind of (CL) system. There's nothing like CL packages in emacs lisp. (there are obarray which are some low-level stuff that could be used to implement CL packages in emacs lisp, if there was hooks in the reader available). 2019-09-16T02:47:23Z techquila quit (Ping timeout: 245 seconds) 2019-09-16T02:47:31Z karlosz joined #lisp 2019-09-16T02:48:18Z rople joined #lisp 2019-09-16T02:53:49Z Aruseus quit (Remote host closed the connection) 2019-09-16T02:54:02Z edgar-rft: My problem is more that I cannot find any documentation about a -*- Package: foo -*- file vaiable. Neither in the Emacs manuals nor in the Slime manual. I just simply have no idea where this variable comes from. 2019-09-16T02:55:48Z pjb: edgar-rft: those are file local variables. Check that in the emacs manual. 2019-09-16T02:56:56Z edgar-rft: pjb: yes, I know, but there is no Package variable mentioned anywhere. 2019-09-16T02:57:25Z pjb: it is possible the variable names are downcased first. Read the emacs manual. 2019-09-16T02:58:32Z pjb: edgar-rft: slime checks for in-package forms to read and evaluate things in the right package. Without an in-package, I guess it will fall back to the package name bond to package. 2019-09-16T03:00:25Z edgar-rft: pjb: That's how Common Lisp handles packages, what has nothing to do at all with file local Emacs variables. 2019-09-16T03:07:45Z devon: pjb, edgar-rft: Emacs *should* downcase all file-local variables but stupidly does it only for those variables where someone complained. 2019-09-16T03:09:23Z devon: pjb, edgar-rft: Another wheel to re-invent, [rolls eyes] but it beats editing thousands of files starting with -*- base: 10; package: foo; readtable: CL -*- 2019-09-16T03:09:27Z karlosz quit (Quit: karlosz) 2019-09-16T03:17:34Z count3rmeasure joined #lisp 2019-09-16T03:20:18Z rople quit (Quit: rople) 2019-09-16T03:26:39Z torbo quit (Remote host closed the connection) 2019-09-16T03:27:39Z beach: Good morning everyone! 2019-09-16T03:29:03Z EvW quit (Ping timeout: 245 seconds) 2019-09-16T03:30:19Z Bike quit (Quit: Lost terminal) 2019-09-16T03:35:51Z adip quit (Ping timeout: 265 seconds) 2019-09-16T03:37:26Z adip joined #lisp 2019-09-16T03:45:49Z dddddd quit (Remote host closed the connection) 2019-09-16T03:46:48Z rigidus: Yep, good morning 2019-09-16T03:56:54Z vap1 joined #lisp 2019-09-16T03:57:14Z sgithens joined #lisp 2019-09-16T03:59:38Z vaporatorius quit (Ping timeout: 240 seconds) 2019-09-16T04:00:46Z beach: rigidus: Are you new here? I don't recognize your nick. 2019-09-16T04:01:22Z devon: beach: g'day! 2019-09-16T04:05:09Z ravenousmoose joined #lisp 2019-09-16T04:10:14Z ravenousmoose quit (Ping timeout: 276 seconds) 2019-09-16T04:22:14Z gravicappa joined #lisp 2019-09-16T04:24:03Z devon quit (Ping timeout: 240 seconds) 2019-09-16T04:24:33Z elfmacs quit (Ping timeout: 268 seconds) 2019-09-16T04:26:31Z paul0 joined #lisp 2019-09-16T04:26:34Z shka_ joined #lisp 2019-09-16T04:29:26Z rople joined #lisp 2019-09-16T04:30:57Z shifty quit (Ping timeout: 265 seconds) 2019-09-16T04:31:08Z shifty joined #lisp 2019-09-16T04:32:26Z Lord_of_Life quit (Ping timeout: 258 seconds) 2019-09-16T04:33:51Z orivej quit (Ping timeout: 265 seconds) 2019-09-16T04:35:35Z sindan quit (Remote host closed the connection) 2019-09-16T04:36:02Z sindan joined #lisp 2019-09-16T04:36:51Z vlatkoB joined #lisp 2019-09-16T04:37:40Z Lord_of_Life joined #lisp 2019-09-16T04:44:24Z user____ joined #lisp 2019-09-16T04:44:29Z shifty quit (Ping timeout: 265 seconds) 2019-09-16T04:44:36Z shifty joined #lisp 2019-09-16T04:48:28Z wigust- joined #lisp 2019-09-16T04:48:29Z wigust quit (Read error: Connection reset by peer) 2019-09-16T04:48:35Z adip quit (Ping timeout: 276 seconds) 2019-09-16T04:49:18Z shifty quit (Ping timeout: 258 seconds) 2019-09-16T04:50:16Z orivej joined #lisp 2019-09-16T04:57:36Z marusich quit (Remote host closed the connection) 2019-09-16T05:02:38Z Cymew joined #lisp 2019-09-16T05:05:17Z Kaisyu7 quit (Quit: ERC (IRC client for Emacs 26.2)) 2019-09-16T05:08:57Z rople quit (Ping timeout: 268 seconds) 2019-09-16T05:17:29Z shka_ quit (Quit: Konversation terminated!) 2019-09-16T05:17:45Z shka_ joined #lisp 2019-09-16T05:23:17Z Kaisyu7 joined #lisp 2019-09-16T05:27:16Z Inline quit (Quit: Leaving) 2019-09-16T05:31:05Z Cymew quit (Read error: No route to host) 2019-09-16T05:31:27Z Cymew joined #lisp 2019-09-16T05:31:29Z krid quit (Ping timeout: 276 seconds) 2019-09-16T05:38:25Z count3rmeasure: morning 2019-09-16T05:38:48Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-16T05:40:02Z jprajzne joined #lisp 2019-09-16T05:52:11Z beach: Hello count3rmeasure. 2019-09-16T06:03:56Z elfmacs joined #lisp 2019-09-16T06:08:00Z igemnace joined #lisp 2019-09-16T06:14:20Z ggole joined #lisp 2019-09-16T06:17:26Z igemnace quit (Read error: Connection reset by peer) 2019-09-16T06:20:11Z orivej quit (Ping timeout: 265 seconds) 2019-09-16T06:26:42Z rigidus: beach: yep, i am new boy in this place 2019-09-16T06:26:52Z rigidus quit (Remote host closed the connection) 2019-09-16T06:28:44Z flamebeard joined #lisp 2019-09-16T06:36:54Z raghavgururajan joined #lisp 2019-09-16T06:43:40Z flip214: when using the access library, can I tell it to do NTHCAR? (access:accesses ...) gives me a list, but with 0 as additional path specifier I only get NIL. 2019-09-16T06:48:31Z user____ quit (Ping timeout: 258 seconds) 2019-09-16T06:56:09Z varjag joined #lisp 2019-09-16T06:58:43Z scymtym quit (Ping timeout: 268 seconds) 2019-09-16T06:58:53Z shifty joined #lisp 2019-09-16T06:59:48Z dpl joined #lisp 2019-09-16T07:03:53Z ljavorsk joined #lisp 2019-09-16T07:05:50Z dpl_ joined #lisp 2019-09-16T07:06:00Z raghavgururajan quit (Read error: Connection reset by peer) 2019-09-16T07:06:26Z ljavorsk_ joined #lisp 2019-09-16T07:08:50Z ljavorsk quit (Ping timeout: 240 seconds) 2019-09-16T07:10:01Z ltriant quit (Ping timeout: 245 seconds) 2019-09-16T07:10:17Z dpl quit (Ping timeout: 276 seconds) 2019-09-16T07:10:26Z dpl_ quit (Ping timeout: 245 seconds) 2019-09-16T07:10:46Z dpl joined #lisp 2019-09-16T07:21:57Z scymtym joined #lisp 2019-09-16T07:22:17Z ravenousmoose joined #lisp 2019-09-16T07:23:43Z makomo joined #lisp 2019-09-16T07:26:32Z jonatack quit (Ping timeout: 276 seconds) 2019-09-16T07:26:42Z ravenousmoose quit (Ping timeout: 246 seconds) 2019-09-16T07:29:38Z ebrasca joined #lisp 2019-09-16T07:30:59Z ravenousmoose joined #lisp 2019-09-16T07:38:51Z shka__ joined #lisp 2019-09-16T07:42:08Z ralt joined #lisp 2019-09-16T07:57:53Z scymtym quit (Ping timeout: 258 seconds) 2019-09-16T07:58:32Z ljavorsk_ quit (Ping timeout: 268 seconds) 2019-09-16T07:59:53Z hhdave joined #lisp 2019-09-16T08:02:08Z shka__: hello 2019-09-16T08:02:51Z shka__: is coercing adjustable array of characters to simple-string guaranteed to work on a standard CL implementation? 2019-09-16T08:02:53Z ravenousmoose quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-16T08:04:28Z j`ey left #lisp 2019-09-16T08:09:22Z saturn2: i believe so 2019-09-16T08:18:53Z dmiles_afk quit (Read error: Connection reset by peer) 2019-09-16T08:20:29Z makomo quit (Ping timeout: 276 seconds) 2019-09-16T08:20:53Z dmiles joined #lisp 2019-09-16T08:22:50Z dim joined #lisp 2019-09-16T08:24:24Z dpl quit (Ping timeout: 265 seconds) 2019-09-16T08:24:26Z nostoi joined #lisp 2019-09-16T08:25:45Z dpl joined #lisp 2019-09-16T08:26:26Z scymtym joined #lisp 2019-09-16T08:26:53Z asdf_asdf_asdf joined #lisp 2019-09-16T08:28:54Z libertyprime joined #lisp 2019-09-16T08:29:22Z gravicappa quit (Ping timeout: 268 seconds) 2019-09-16T08:31:18Z count3rmeasure quit (Quit: Leaving) 2019-09-16T08:40:06Z DGASAU joined #lisp 2019-09-16T08:40:32Z ltriant joined #lisp 2019-09-16T08:43:18Z ljavorsk joined #lisp 2019-09-16T08:44:51Z ltriant quit (Ping timeout: 240 seconds) 2019-09-16T08:48:17Z beach: asdf_asdf_asdf: I am reading your questions in the channel logs, and I don't quite understand why you program in Common Lisp, given that you seem to want to treat it as just another language in the C family, where you can take the address of variables, and manipulate pointers explicitly. 2019-09-16T08:48:18Z beach: I think you would be much better off using a language in that family, rather than trying to twist Common Lisp into something it really is not in the first place. 2019-09-16T08:49:03Z SaganMan quit (Ping timeout: 265 seconds) 2019-09-16T08:49:51Z igemnace joined #lisp 2019-09-16T08:49:53Z beach: Perhaps you are under the impression that Common Lisp is just another language in the same family, only with a different syntax. That is not the case. It is fundamentally different with automatic memory management and uniform reference semantics. 2019-09-16T08:50:40Z shka__: asdf_asdf_asdf approaches CL in a weird fashion in all sorts of ways 2019-09-16T08:51:10Z shka__: including reading a "Let Over Lambda" as an introduction book 2019-09-16T08:51:30Z shka__: but so far he proved to be resistant to suggestions 2019-09-16T08:51:44Z cosimone joined #lisp 2019-09-16T08:52:11Z beach: Well, I am afraid that asdf_asdf_asdf is wasting time because of a fundamental misunderstanding about what Common Lisp is. 2019-09-16T08:52:36Z shka__: this is a distinct possiblity, yes 2019-09-16T08:52:45Z beach: And I don't understand this desire of simultaneously using Common Lisp and treating is at something it is not. 2019-09-16T08:55:45Z afidegnum quit (Quit: leaving) 2019-09-16T08:55:59Z asdf_asdf_asdf: Some lack me theory, so that not understand that probably reference not exists in CL. 2019-09-16T08:56:06Z Necktwi joined #lisp 2019-09-16T08:56:56Z beach: In Common Lisp, the semantics are defined as if every datum is a reference. 2019-09-16T08:57:46Z beach: asdf_asdf_asdf: I understand you might not quite understand the semantics, but why are you using Common Lisp in the first place if you want to program as if you are using C, and, as I recall, also accessing C code from Common Lisp? 2019-09-16T08:58:40Z beach: asdf_asdf_asdf: If you are using Common Lisp in order to learn how to program in it, I strongly recommend you not try to interface to C in the beginning. 2019-09-16T08:58:53Z asdf_asdf_asdf: No, I rewrite code from C to Common Lisp [SBCL]. 2019-09-16T08:59:31Z beach: asdf_asdf_asdf: Oh dear! 2019-09-16T09:00:04Z beach: asdf_asdf_asdf: If you use Common Lisp that way, the code you are going to end up with (if you succeed at all) is going to be very ugly. 2019-09-16T09:00:23Z beach: You should absolutely not try to program in Common Lisp the way you program in C. 2019-09-16T09:00:33Z beach: What is the purpose of this rewrite? 2019-09-16T09:03:14Z igemnace quit (Read error: Connection reset by peer) 2019-09-16T09:04:05Z asdf_asdf_asdf: Nothing. Later maybe conversation. 2019-09-16T09:04:13Z gxt quit (Quit: WeeChat 2.6) 2019-09-16T09:05:06Z beach: asdf_asdf_asdf: It is a *huge* mistake to think that all programming languages are fundamentally the same and that you can translate code from one to the other while preserving the overall organization of that code. 2019-09-16T09:06:18Z beach: asdf_asdf_asdf: To make things worse, C is often used in ways that the standard says is undefined behavior, but which is traditional behavior of C compilers. Such code is even less possible to translate to Common Lisp directly than conforming C code. 2019-09-16T09:08:07Z saturn2: even if you succeed, you would just end up with the same program but slower and incomprehensible to anyone but you 2019-09-16T09:10:05Z cosimone quit (Quit: Terminated!) 2019-09-16T09:10:17Z beach: asdf_asdf_asdf: So, it is highly likely that your questions such as "what is the equivalent in Common Lisp of the C construct <mumble>" will be answered by "there is no equivalent". I therefore advise you to learn Common Lisp as a language in its own right. 2019-09-16T09:10:18Z Nistur: saturn2: is that not called "job security"? 2019-09-16T09:10:29Z cosimone joined #lisp 2019-09-16T09:10:55Z saturn2: ha 2019-09-16T09:10:55Z dpl quit (Read error: Connection reset by peer) 2019-09-16T09:11:46Z beach: asdf_asdf_asdf: You will learn more about idiomatic Common Lisp, and you will annoy people here a lot less that your current questions result in. 2019-09-16T09:12:33Z asdf_asdf_asdf: @beach; I know not must be equivalent, code in different languages another is written. 2019-09-16T09:15:57Z dpl joined #lisp 2019-09-16T09:17:08Z beach: asdf_asdf_asdf: Then quit trying to interface to C as part of your learning Common Lisp, and start using Common Lisp as a language in its own right, so that you can learn how it works, what the idioms are, and how you structure Common Lisp code. 2019-09-16T09:17:34Z jonatack joined #lisp 2019-09-16T09:20:16Z aeth: The main line, I'd say, is garbage collected vs. not. But of the non GCed languages, C is about as far fron CL as you get. Even C++ has a lambda now! 2019-09-16T09:20:59Z no-defun-allowed laughs in upwards funargs 2019-09-16T09:21:23Z aeth: Your code still wouldn't be idiomatic if you translated Ruby or Python or JavaScript, but at least it'd be easier to find equivalents. 2019-09-16T09:23:21Z Shinmera: You can port C code to Lisp just fine, as long as you don't try to do pointer arithmetic or other crap they like to do. In order to be able to do such a port you need a good grasp on both languages and understand how concepts translate. 2019-09-16T09:23:50Z aeth: C's all about using stuff not exposed in CL to implement stuff that practically everyone else gives you as part of the language. 2019-09-16T09:24:22Z aeth: You can translate stuff from C if it's something that can be written in any language, of course. 2019-09-16T09:24:55Z cosimone quit (Quit: Terminated!) 2019-09-16T09:26:51Z aeth: You can also do fun hacks to e.g. fake foo(&x) in CL by e.g. using 0-dimensional arrays or other fun obscure corners of the language, but as you said, you need to know both languages well first. 2019-09-16T09:28:13Z beach: My point is that I am quite convinced that asdf_asdf_asdf does not currently have the required knowledge to port C code to Common Lisp code, not to do any sophisticated emulation of the C runtime environment in Common Lisp. 2019-09-16T09:28:49Z beach: "nor" to do 2019-09-16T09:38:39Z arduo joined #lisp 2019-09-16T09:49:06Z nostoi quit (Quit: Verlassend) 2019-09-16T09:51:20Z elinow joined #lisp 2019-09-16T09:55:10Z rigidus joined #lisp 2019-09-16T09:56:30Z stepnem quit (Read error: Connection reset by peer) 2019-09-16T09:59:01Z stepnem joined #lisp 2019-09-16T10:01:55Z beach: rigidus: OK, welcome then! What brings you to #lisp? 2019-09-16T10:01:56Z superkumasan joined #lisp 2019-09-16T10:03:37Z rigidus: beach: There are one and a half people left in my lisp-language jabber conference 2019-09-16T10:04:06Z raghavgururajan joined #lisp 2019-09-16T10:06:15Z cosimone joined #lisp 2019-09-16T10:06:52Z rigidus: beach: And I thought that the real old lispers can be found only in IRC 2019-09-16T10:07:01Z user____ joined #lisp 2019-09-16T10:07:18Z jackdaniel: I've heard that discord is also pretty popular among real new lispers ,) 2019-09-16T10:07:51Z jackdaniel: and there are also reddit's lisp and common_lisp channels 2019-09-16T10:08:16Z rigidus: In my country most popular is telegram 2019-09-16T10:08:42Z rigidus: jackdaniel: link me pls 2019-09-16T10:08:51Z rigidus: for redddit 2019-09-16T10:08:59Z rigidus: chanels 2019-09-16T10:09:08Z jackdaniel: https://www.reddit.com/r/lisp/ 2019-09-16T10:09:30Z jackdaniel: https://www.reddit.com/r/Common_Lisp/ 2019-09-16T10:09:59Z rigidus: jackdaniel: thx 2019-09-16T10:12:01Z rigidus: What are you recomend me for reading after PCL and ANSI-CL? 2019-09-16T10:12:25Z jackdaniel: "On Lisp" and PAiP 2019-09-16T10:12:30Z jackdaniel: PAIP* 2019-09-16T10:12:31Z nanoz quit (Ping timeout: 245 seconds) 2019-09-16T10:12:38Z jackdaniel: minion: tell rigidus about onlisp 2019-09-16T10:12:38Z minion: rigidus: have a look at onlisp: An advanced textbook on Common Lisp, with special focus on macros. at http://www.cliki.net/On%20Lisp 2019-09-16T10:12:46Z jackdaniel: minion: tell rigidus about paip 2019-09-16T10:12:46Z minion: rigidus: paip: Paradigms of Artificial Intelligence Programming. More about Common Lisp than Artificial Intelligence. Now freely available at https://github.com/norvig/paip-lisp 2019-09-16T10:13:06Z makomo joined #lisp 2019-09-16T10:13:36Z rigidus: I already read PAIP. Great book! 2019-09-16T10:14:20Z jackdaniel: then it is time to start contributing to the ecosystem ;-) 2019-09-16T10:14:25Z jackdaniel: and read the actual code 2019-09-16T10:14:41Z dale quit (Quit: My computer has gone to sleep) 2019-09-16T10:16:07Z rigidus: jackdaniel: Contribute to which project for example? 2019-09-16T10:16:32Z jackdaniel: what are you most interested in? 2019-09-16T10:17:02Z jackdaniel: like: graphics, algorithms, integrated development environments, some paticular kind of applications? 2019-09-16T10:17:31Z jackdaniel: common lisp implementations themself 2019-09-16T10:17:49Z rigidus: robots, expert systems and making programming languages 2019-09-16T10:17:52Z cosimone quit (Quit: Terminated!) 2019-09-16T10:18:19Z nanoz joined #lisp 2019-09-16T10:18:34Z jackdaniel: for the last part I could recommend studying source code of cl-ppcre which implements regular expressions for Common Lisp 2019-09-16T10:19:09Z jackdaniel: regarding robots and expert systems I'm not familiar with libraries concerned with these topics 2019-09-16T10:20:53Z amerlyq joined #lisp 2019-09-16T10:20:54Z rigidus: jackdaniel: I was able to write the FORT in assembler 86, but I had difficulty trying to write a lisp on this FORT 2019-09-16T10:23:06Z gravicappa joined #lisp 2019-09-16T10:24:13Z rigidus: I will definitely study cl-ppcre 2019-09-16T10:26:07Z no-defun-allowed: What FORT? 2019-09-16T10:26:37Z rigidus: *forth 2019-09-16T10:27:53Z elfmacs quit (Ping timeout: 276 seconds) 2019-09-16T10:30:15Z nanozz joined #lisp 2019-09-16T10:31:00Z rigidus: gravicappa: Hello, familiar nickname! What project are you working on in Ufa now? 2019-09-16T10:31:30Z _death: rigidus: check out https://wiki.ros.org/roslisp 2019-09-16T10:33:01Z rigidus: _death: very intresting! 2019-09-16T10:33:56Z nanoz quit (Ping timeout: 268 seconds) 2019-09-16T10:33:57Z jonatack quit (Read error: Connection reset by peer) 2019-09-16T10:34:47Z orivej joined #lisp 2019-09-16T10:37:19Z dddddd joined #lisp 2019-09-16T10:44:14Z georgie joined #lisp 2019-09-16T10:50:26Z orivej quit (Ping timeout: 245 seconds) 2019-09-16T10:53:27Z orivej joined #lisp 2019-09-16T10:55:53Z beach` joined #lisp 2019-09-16T10:56:19Z jonatack joined #lisp 2019-09-16T10:56:47Z beach quit (Disconnected by services) 2019-09-16T10:56:51Z beach` is now known as beach 2019-09-16T10:58:53Z abhixec quit (Remote host closed the connection) 2019-09-16T10:59:11Z abhixec joined #lisp 2019-09-16T11:01:31Z Posterdati quit (Ping timeout: 258 seconds) 2019-09-16T11:02:50Z shka__: rigidus: i made basic prolog implementation in CL, I am trying to optimize list unification right now 2019-09-16T11:03:04Z shka__: if you are interested in the expert systems 2019-09-16T11:05:31Z user____ quit (Quit: Lost terminal) 2019-09-16T11:05:35Z orivej quit (Ping timeout: 276 seconds) 2019-09-16T11:06:34Z gareppa joined #lisp 2019-09-16T11:08:21Z gxt joined #lisp 2019-09-16T11:09:09Z rigidus: shka__: where can i see it? 2019-09-16T11:10:21Z shka__: github, give me a sec 2019-09-16T11:10:36Z shka__: https://github.com/sirherrbatka/huginn 2019-09-16T11:10:51Z shka__: it is different from the PAIP prolog 2019-09-16T11:11:47Z shka__: once i figure out how can i optimize list unification it should be also pretty fast 2019-09-16T11:12:20Z Posterdati joined #lisp 2019-09-16T11:12:29Z no-defun-allowed: Just saying, Hugin (with one N) is the name of an image-stitching program I've used before, but I don't think a Prolog and an image tool are easily conflatable. 2019-09-16T11:12:31Z adip joined #lisp 2019-09-16T11:15:14Z dpl quit (Remote host closed the connection) 2019-09-16T11:15:22Z rigidus: shka_: It’s hard for me to understand where to start with it 2019-09-16T11:15:54Z shka__: rigidus: well, unification function is a good start 2019-09-16T11:16:46Z shka__: or perhaps even better https://github.com/sirherrbatka/huginn/blob/master/src/machine/operations/unfolding.lisp 2019-09-16T11:17:09Z shka__: this is unfolding implementation with shared representation for code and data on the heap 2019-09-16T11:19:08Z rigidus: shka__: Before I start reading this code, I have to get enough sleep) 2019-09-16T11:19:12Z cosimone joined #lisp 2019-09-16T11:21:13Z dpl joined #lisp 2019-09-16T11:21:54Z gravicappa quit (Ping timeout: 246 seconds) 2019-09-16T11:23:23Z gareppa quit (Quit: Leaving) 2019-09-16T11:24:45Z elfmacs joined #lisp 2019-09-16T11:24:46Z shka__: rigidus: sweet dreams! 2019-09-16T11:34:05Z arduo quit (Read error: Connection reset by peer) 2019-09-16T11:37:42Z EvW1 joined #lisp 2019-09-16T11:43:00Z jonatack quit (Ping timeout: 268 seconds) 2019-09-16T11:51:32Z orivej joined #lisp 2019-09-16T11:51:44Z nowhereman quit (Ping timeout: 276 seconds) 2019-09-16T11:52:21Z ebrasca: Hi 2019-09-16T11:54:28Z asdf_asdf_asdf: Hello. 2019-09-16T11:56:17Z longshi joined #lisp 2019-09-16T11:56:33Z EvW1 quit (Ping timeout: 245 seconds) 2019-09-16T12:07:15Z orivej quit (Ping timeout: 240 seconds) 2019-09-16T12:07:29Z georgie quit (Remote host closed the connection) 2019-09-16T12:08:32Z elinow quit (Remote host closed the connection) 2019-09-16T12:08:37Z ebrasca quit (Remote host closed the connection) 2019-09-16T12:08:42Z orivej joined #lisp 2019-09-16T12:09:00Z elinow joined #lisp 2019-09-16T12:16:18Z raghavgururajan quit (Remote host closed the connection) 2019-09-16T12:17:56Z zaquest quit (Ping timeout: 245 seconds) 2019-09-16T12:17:58Z jonatack joined #lisp 2019-09-16T12:21:11Z gabiruh joined #lisp 2019-09-16T12:21:36Z georgie joined #lisp 2019-09-16T12:22:05Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.2)) 2019-09-16T12:23:05Z Necktwi quit (Ping timeout: 268 seconds) 2019-09-16T12:24:03Z ljavorsk quit (Ping timeout: 240 seconds) 2019-09-16T12:32:21Z __jrjsmrtn__ quit (Ping timeout: 265 seconds) 2019-09-16T12:33:51Z elinow quit (Read error: Connection reset by peer) 2019-09-16T12:34:17Z elinow joined #lisp 2019-09-16T12:36:15Z __jrjsmrtn__ joined #lisp 2019-09-16T12:36:27Z orivej quit (Ping timeout: 246 seconds) 2019-09-16T12:38:58Z asdf_asdf_asdf quit (Remote host closed the connection) 2019-09-16T12:45:32Z Necktwi joined #lisp 2019-09-16T12:48:15Z cosimone quit (Remote host closed the connection) 2019-09-16T12:48:45Z cosimone joined #lisp 2019-09-16T12:49:23Z orivej joined #lisp 2019-09-16T12:52:21Z LiamH joined #lisp 2019-09-16T13:00:25Z FreeBirdLjj joined #lisp 2019-09-16T13:05:38Z FreeBirdLjj quit (Ping timeout: 268 seconds) 2019-09-16T13:07:43Z cosimone quit (Quit: Quit.) 2019-09-16T13:10:05Z asdf_asdf_asdf joined #lisp 2019-09-16T13:10:26Z Bike joined #lisp 2019-09-16T13:19:15Z fragamus quit (Ping timeout: 240 seconds) 2019-09-16T13:20:41Z fouric: is it better to use the slime version from quicklisp or (m)elpa? 2019-09-16T13:21:10Z dpl_ joined #lisp 2019-09-16T13:21:27Z dlowe: I use the one from quicklisp, since it's guaranteed to be in synch with the swank version 2019-09-16T13:21:53Z fouric: that's exactly what i want 2019-09-16T13:21:57Z fouric: ty! 2019-09-16T13:22:12Z fouric was getting warnings about slime-swank version mismatches 2019-09-16T13:23:45Z georgie quit (Read error: Connection reset by peer) 2019-09-16T13:24:11Z dpl quit (Ping timeout: 245 seconds) 2019-09-16T13:24:40Z dlowe: I also don't know how up-to-date the melpa version is kept 2019-09-16T13:24:40Z georgie joined #lisp 2019-09-16T13:25:15Z dpl_ quit (Ping timeout: 240 seconds) 2019-09-16T13:25:54Z cosimone joined #lisp 2019-09-16T13:26:03Z dpl joined #lisp 2019-09-16T13:30:43Z bitmapper joined #lisp 2019-09-16T13:32:53Z krid joined #lisp 2019-09-16T13:33:49Z xkapastel joined #lisp 2019-09-16T13:33:52Z longshi quit (Quit: WeeChat 2.5) 2019-09-16T13:42:38Z Cymew quit (Ping timeout: 268 seconds) 2019-09-16T13:42:45Z lucasb joined #lisp 2019-09-16T13:45:16Z manualcrank joined #lisp 2019-09-16T13:48:50Z fragamus joined #lisp 2019-09-16T13:51:39Z superkumasan quit (Ping timeout: 240 seconds) 2019-09-16T13:53:32Z zulu-inuoe joined #lisp 2019-09-16T13:53:34Z paul0 quit (Read error: Connection reset by peer) 2019-09-16T13:54:14Z flamebeard quit 2019-09-16T13:54:28Z cosimone quit (Quit: Quit.) 2019-09-16T13:55:09Z paul0 joined #lisp 2019-09-16T13:57:04Z flamebeard joined #lisp 2019-09-16T13:58:08Z emacsomancer quit (Read error: Connection reset by peer) 2019-09-16T13:58:41Z mindCrime_ joined #lisp 2019-09-16T14:04:58Z Cymew joined #lisp 2019-09-16T14:07:16Z retropikzel joined #lisp 2019-09-16T14:09:11Z krid quit (Ping timeout: 245 seconds) 2019-09-16T14:18:39Z emacsomancer joined #lisp 2019-09-16T14:25:39Z Shinmera: I've been using the melpa one for years without issue. 2019-09-16T14:25:56Z Shinmera: Dunno what you mean with out of sync either, slime from melpa bundles swank just as the one from ql does. 2019-09-16T14:33:09Z dpl quit (Ping timeout: 250 seconds) 2019-09-16T14:42:02Z sukaeto: I think dlowe is referring to situations where you run your own Lisp image outside of Emacs and then slime-connect to that 2019-09-16T14:42:43Z dlowe: I didn't say the melpa one would get out of sync 2019-09-16T14:42:46Z shka__: i do that quite often, usually swank and slime are at most 1 version apart and so far it worked for me without a problem 2019-09-16T14:42:53Z sukaeto: in that case, if you've got the melpa SLIME package installed, you'll get a version mismatch if you're ql:quickload'ing swank from your Lisp image 2019-09-16T14:42:57Z dlowe: and yeah, it almost always still works 2019-09-16T14:43:09Z Oladon_work joined #lisp 2019-09-16T14:43:09Z sukaeto: that being said, this is what I've been doing for a long time now with no issues 2019-09-16T14:43:21Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-16T14:43:36Z sukaeto: you get a warning on connect that there's a version mismatch, you tell it OK, and it connects and works 2019-09-16T14:44:51Z sukaeto: fwiw, I only do it this way because when I set it up I didn't know about quicklisp-slime-helper 2019-09-16T14:45:01Z sukaeto: and I haven't bothered "fixing" working systems 2019-09-16T14:45:01Z shka__: well, i would say that this is good enough for development env 2019-09-16T14:45:46Z sukaeto: yeah, I mean, if you're using swank<->slime communications in a production system maybe you'd want to extensively test before doing this? 2019-09-16T14:46:05Z sukaeto: I'm not clever enough to imagine why you'd do that, though 2019-09-16T14:47:35Z georgie joined #lisp 2019-09-16T14:50:53Z orivej_ joined #lisp 2019-09-16T14:51:04Z orivej quit (Ping timeout: 265 seconds) 2019-09-16T14:51:06Z Shinmera: sukaeto: Even in that situation you'd have to guarantee that you're running the same QL dist version locally, too. 2019-09-16T14:55:47Z sukaeto: Shinmera: oh yes, of course. If you're juggling multiple systems all pinned to different QL dists, I can believe you'll run into this problem all the time 2019-09-16T14:58:14Z rippa joined #lisp 2019-09-16T14:59:18Z raghavgururajan joined #lisp 2019-09-16T15:02:22Z remexre: weird behavior: I'm trying to do :perform (test-op (o c) (symbol-call :fiveam '#:run! :foobar)) in an asd file I'm loading with ABCL, but I'm getting "There is no class named TEST-OP." 2019-09-16T15:02:57Z dlowe: try asdf:test-op 2019-09-16T15:03:25Z remexre: oh, that did it; thanks 2019-09-16T15:03:44Z remexre: should I have (use-package :asdf) at the top of my asd files then? 2019-09-16T15:03:59Z remexre: or is that horrifying 2019-09-16T15:04:14Z varjag joined #lisp 2019-09-16T15:04:41Z asdf_asdf_asdf: Rather asdf::test-op - double-colon. 2019-09-16T15:05:10Z Shinmera: no 2019-09-16T15:05:11Z dlowe: I'd just keep the prefix 2019-09-16T15:05:21Z Shinmera: also no to what asdf_asdf_asdf is saying 2019-09-16T15:05:22Z Bike: test-op is exported 2019-09-16T15:06:06Z asdf_asdf_asdf: So, what should be use one colon, maybe double-colon? 2019-09-16T15:06:25Z Bike: one colon if the symbol is exported 2019-09-16T15:06:57Z asdf_asdf_asdf: @Bike; thanks. And double-colon if not exported? 2019-09-16T15:07:52Z Bike: yes, and in that case you're treading in dangerous territory by using things the developer doesn't expect you to use and may change without warning 2019-09-16T15:08:29Z asdf_asdf_asdf: OK. 2019-09-16T15:13:40Z bitmapper quit 2019-09-16T15:14:59Z bitmapper joined #lisp 2019-09-16T15:18:12Z raghavgururajan quit (Remote host closed the connection) 2019-09-16T15:18:45Z bitmapper quit (Remote host closed the connection) 2019-09-16T15:20:57Z elfmacs quit (Ping timeout: 246 seconds) 2019-09-16T15:29:54Z cosimone joined #lisp 2019-09-16T15:30:14Z bitmapper joined #lisp 2019-09-16T15:32:06Z Xach: I am 3000 miles from the quicklisp build server and it is not pinging :( 2019-09-16T15:32:19Z Xach: ah well, no quicklisp update this week! 2019-09-16T15:36:21Z Xach: frabjous day! it was temporary! 2019-09-16T15:37:54Z catchme joined #lisp 2019-09-16T15:40:18Z q9929t joined #lisp 2019-09-16T15:40:32Z gareppa joined #lisp 2019-09-16T15:41:16Z bitmapper quit (Remote host closed the connection) 2019-09-16T15:41:54Z bitmapper joined #lisp 2019-09-16T15:44:02Z bitmappe_ joined #lisp 2019-09-16T15:44:21Z bitmapper quit (Read error: Connection reset by peer) 2019-09-16T15:47:50Z EvW joined #lisp 2019-09-16T15:48:22Z bitmappe_ is now known as bitmapper 2019-09-16T15:48:27Z dpl joined #lisp 2019-09-16T15:53:10Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-16T15:53:41Z flamebeard quit 2019-09-16T15:53:58Z asdf_asdf_asdf quit (Remote host closed the connection) 2019-09-16T16:01:11Z q9929t quit (Quit: q9929t) 2019-09-16T16:01:59Z Necktwi quit (Ping timeout: 276 seconds) 2019-09-16T16:02:16Z asdf_asdf_asdf joined #lisp 2019-09-16T16:03:41Z gravicappa joined #lisp 2019-09-16T16:08:04Z gxt quit (Ping timeout: 260 seconds) 2019-09-16T16:14:40Z zaquest joined #lisp 2019-09-16T16:14:49Z bitmapper quit 2019-09-16T16:15:25Z scymtym quit (Ping timeout: 250 seconds) 2019-09-16T16:16:58Z EvW quit (Ping timeout: 245 seconds) 2019-09-16T16:16:58Z paul0 quit (Ping timeout: 245 seconds) 2019-09-16T16:26:53Z elinow quit (Read error: Connection reset by peer) 2019-09-16T16:27:23Z gareppa quit (Quit: Leaving) 2019-09-16T16:27:44Z shifty quit (Ping timeout: 265 seconds) 2019-09-16T16:28:53Z yoja joined #lisp 2019-09-16T16:32:12Z hhdave quit (Quit: hhdave) 2019-09-16T16:34:04Z Necktwi joined #lisp 2019-09-16T16:34:59Z Lord_of_Life quit (Ping timeout: 265 seconds) 2019-09-16T16:35:06Z mfiano: Xach: no idea about osicat. I only test on SBCL and CCL for the most part 2019-09-16T16:37:34Z Xach: a lot of stuff depends on pngload and i worry that making it narrowly loadable will break a lot of stuff. 2019-09-16T16:37:53Z Lord_of_Life joined #lisp 2019-09-16T16:38:01Z emacsomancer quit (Read error: Connection reset by peer) 2019-09-16T16:38:41Z Xach: http://report.quicklisp.org/2019-09-16/failure-report.html really alarmed me at first 2019-09-16T16:38:55Z mfiano: Well, if you want to hold pngload back 1 release, I'm fine with that. We're actually in the middle of a major change that should be ready in a couple days. pngload will be close to the speed of libpng very soon 2019-09-16T16:39:43Z Xach: everyone has their own priorities, but i would rather have a pure CL library that was slower than have something that only builds if you have gcc 2019-09-16T16:40:04Z mtreis86 joined #lisp 2019-09-16T16:40:07Z Xach: that's me wearing my library user hat 2019-09-16T16:40:21Z Xach: i will of course add anything when wearing my quicklisp hat 2019-09-16T16:41:14Z mtreis86 left #lisp 2019-09-16T16:42:12Z mfiano: I understand. pngload's goal has always been performance, as most of its users, myself included, use it for game development -- streaming multiple 4096x4096 or 8192x8192 RGBA images. Some trade-offs had to be made in that area. 2019-09-16T16:43:11Z Xach: pngload is used by many other projects that might have different priorities 2019-09-16T16:43:29Z Xach: mcclim for example 2019-09-16T16:43:35Z mfiano: But you're not the first with such a concern, and we are already looking into it. mmap for example is a POSIX-compatible thing. Mezzano doesn't even have CFFI 2019-09-16T16:43:53Z _death: maybe try gcc and fallback to lisp if not? 2019-09-16T16:44:19Z Xach: the only thing i like less than foreign dependencies is complex build paths :) 2019-09-16T16:44:45Z LdBeth: http://www.flownet.com/ron/lisp/lexicons.pdf 2019-09-16T16:45:06Z _death: Xach: is this wearing quicklisp hat or user hat? (or both?) 2019-09-16T16:45:27Z Xach: _death: a bit of both 2019-09-16T16:45:31Z mfiano: Xach: Are you able to source from a particular SHA1? 2019-09-16T16:45:47Z notzmv quit (Ping timeout: 268 seconds) 2019-09-16T16:46:05Z Xach: mfiano: i may have misunderstood - i interpreted your issue as "mezzano has switched to 3bz" - but i think I should have read it as "mezzano uses pngload"? 2019-09-16T16:46:18Z Xach: mfiano: if necessary 2019-09-16T16:46:22Z mfiano: I'm sorry. We actually didn't realize the issue until it was pointed out to us after being merged into master. 2019-09-16T16:46:37Z mfiano: Well kind of 2019-09-16T16:46:54Z mfiano: McCLIM on Mezzano uses pngload 2019-09-16T16:47:01Z Xach: So does mcclim everywhere else 2019-09-16T16:47:35Z mfiano: Point being though, McCLIM doesn't have any C layer at all, and so the mmap library or any CFFI won't work at all. 2019-09-16T16:47:41Z mfiano: err Mezzano 2019-09-16T16:48:40Z Xach: Ok. I'm glad that you're aware of it. In a situation like this it seems like maybe a fork with a new name for people who are happy to use ffi to get the best performance...is that feasible? 2019-09-16T16:48:53Z Xach: Or maybe not a fork, but an additional system within pngload? Or something? 2019-09-16T16:50:13Z akoana joined #lisp 2019-09-16T16:50:17Z mfiano: Yes that is feasible. I actually wasn't aware of the issue until after it was merged. It was just pointed out to me yesterday. 3b wasn't aware either. 2019-09-16T16:50:59Z Xach: I should make a bot that posts alarming levels of new failures somewhere 2019-09-16T16:51:05Z Xach: (but where?) 2019-09-16T16:52:38Z dlowe: planet lisp? 2019-09-16T16:52:54Z dlowe: your email address? 2019-09-16T16:53:03Z dlowe: a mailing list? 2019-09-16T16:53:14Z dlowe: oh, oh, web push notifications 2019-09-16T16:53:14Z gravicappa quit (Ping timeout: 240 seconds) 2019-09-16T16:53:43Z mfiano: Xach: Would a separate branch work just as well. I sort of don't want to split the trees up into separate repositories, but I will if I must. 2019-09-16T16:53:45Z mfiano: ? 2019-09-16T16:54:18Z Oladon_work: We could build a websockets-based browser extension that receives such notifications from Xach and displays them to everyone using the extension in real time!! 2019-09-16T16:54:44Z Xach: mfiano: I can pull from a specific branch. Are you thinking of having a branch with the old pngload and add new code to master? 2019-09-16T16:54:50Z Xach: Oladon_work: YES! 2019-09-16T16:55:02Z mfiano: Xach: yes 2019-09-16T16:55:24Z Xach: mfiano: would you consider doing it the other way instead, where master has the old stuff and the new stuff is on a branch? 2019-09-16T16:55:53Z Xach: that would save me a little bit of hassle. (not a ton.) 2019-09-16T16:57:25Z mfiano: Xach: I think that would be doable. Now the age old problem of nomenclature 2019-09-16T16:58:00Z mfiano: Xach: Also you mentioned osicat. Who depends on that? 2019-09-16T16:58:01Z dlowe: just rename one to slow-pngload and the other to c-pngload 2019-09-16T16:58:15Z dlowe should be in marketing. 2019-09-16T16:58:21Z Xach: mfiano: i think it is via mmap 2019-09-16T16:58:48Z mfiano: slow-pngload, while speaks relatively, conveys that pngload itself is slow compared to say png-read :) 2019-09-16T16:58:58Z Xach: sloping load and seeping load? 2019-09-16T17:00:21Z _death: pngloading and pngloaded 2019-09-16T17:00:36Z mfiano: The alternative is to conditionalize for platforms without ffi 2019-09-16T17:01:04Z mfiano: Never thought a simple mmap would cause so much grief 2019-09-16T17:01:06Z mfiano: Oh well 2019-09-16T17:03:29Z dlowe: If it's just the mmap, someone could theoretically make a trivial-mmap that interfaced with the OS syscalls 2019-09-16T17:04:42Z Xach: does mezzano have a mmap syscall? 2019-09-16T17:04:55Z gxt joined #lisp 2019-09-16T17:05:15Z mfiano: No 2019-09-16T17:06:39Z Blukunfando joined #lisp 2019-09-16T17:09:05Z asdf_asdf_asdf quit (Remote host closed the connection) 2019-09-16T17:10:33Z hiroaki joined #lisp 2019-09-16T17:11:45Z zaquest quit (Remote host closed the connection) 2019-09-16T17:12:12Z mfiano: Hmm. I think it would be a burden for me to maintain two versions. It's already a burden maintaining the one. It is pretty complex code in order to be fast. I'm considering sending pngload-legacy to sharplispers or something. 2019-09-16T17:12:48Z mfiano: Most of the changes I would make would need to be done in parallel, which is why I mentioned a branch rather than a fork, but even that is still a bit of a burden 2019-09-16T17:13:44Z Xach: It would make life easier for me and anyone else who uses pngload now if pngload remainded the same and a new fast version had a new name. (Not saying this is worth changing what you want to do.) 2019-09-16T17:14:32Z mfiano: That is acceptable, assuming someone else wants to host pngload 2019-09-16T17:16:29Z mfiano: I am juggling too many projects is all, and pngload takes a lot of brain cells when something needs to change. Sadly, I am no Shinmera 2019-09-16T17:17:17Z EvW1 joined #lisp 2019-09-16T17:18:25Z mfiano: Xach: For now, how about we just hold back pngload this month as to not break anything while I talk to 3b about perhaps conditionalizing 3bz and pngload to be compatible everywhere. 2019-09-16T17:18:33Z yoja quit (Ping timeout: 246 seconds) 2019-09-16T17:18:33Z Xach: Shinmera is actually a loose collective of dozens of lisp hackers, do not compare yourself to that! It's no-win! 2019-09-16T17:21:21Z zaquest joined #lisp 2019-09-16T17:24:25Z sjl_ joined #lisp 2019-09-16T17:25:47Z nowhereman joined #lisp 2019-09-16T17:25:47Z dlowe: Shinmera also finds the time to draw cute pictures. 2019-09-16T17:26:58Z mathrick quit (Ping timeout: 245 seconds) 2019-09-16T17:29:47Z karswell joined #lisp 2019-09-16T17:33:00Z |3b| plans to split cffi/mmap dependency of 3bz into a separate system by next month, any idea if nibbles is a problem too? 2019-09-16T17:33:24Z Xach: I don't know about nibbles, sorry 2019-09-16T17:38:05Z akoana left #lisp 2019-09-16T17:39:14Z Ricchi joined #lisp 2019-09-16T17:40:25Z asdf_asdf_asdf joined #lisp 2019-09-16T17:40:48Z |3b|: looks like nibbles has portable implementations of integer functions, so might work on mezzano... don't think i would have used the float functions in 3bz 2019-09-16T17:47:28Z verisimilitude: Am I to understand there's a library for manipulating PNGs written entirely in Common Lisp, already existing? 2019-09-16T17:47:46Z |3b|: a few of them (though read and write are separate libs) 2019-09-16T17:48:24Z |3b|: pngload and png-read for reading, zpng for writing 2019-09-16T17:48:28Z verisimilitude: That's interesting; I never looked much, but only saw C bindings. I'll probably focus on some format without a pure Common Lisp solution whenever I get around to manipulating images, then. 2019-09-16T17:49:14Z Fade: why without a common lisp implementation? 2019-09-16T17:50:22Z Xach: vecto has a higher-level PDF-like API for drawing and saving as PNG 2019-09-16T17:50:24Z verisimilitude: What I meant is, whenever I do finally get around to working with some image file format, I'd prefer to write a Common Lisp library that serves a format where that currently isn't done. 2019-09-16T17:50:28Z Shinmera: Xach: I didn't know I had schizophrenia 2019-09-16T17:50:47Z Shinmera: mfiano: |3b|: Xach: I would be more than fine with removing the Osicat dependency in mmap. 2019-09-16T17:50:48Z Fade: ah. cool. I didn't track what you were saying. 2019-09-16T17:51:24Z Shinmera: I loathe libraries that invoke foreign compilers 2019-09-16T17:51:29Z Xach: "m'fiano" is italian for "more than fine" 2019-09-16T17:51:43Z verisimilitude: As do I, Shinmera. 2019-09-16T17:51:49Z Shinmera: Xach: hah 2019-09-16T17:52:28Z Shinmera: The only reason I used osicat was because I was too lazy to do a survey of the necessary constants and types myself. 2019-09-16T17:53:27Z verisimilitude: I see there's already an implementation of a tar format handler in Common Lisp, although that won't stop me from writing my own at some point; the name I thought of is too good to glance over. 2019-09-16T17:55:06Z Shinmera: dlowe: I don't seem to find much time anymore recently :( 2019-09-16T18:00:39Z ravenousmoose joined #lisp 2019-09-16T18:01:37Z mathrick joined #lisp 2019-09-16T18:02:00Z amerlyq quit (Quit: amerlyq) 2019-09-16T18:02:09Z mfiano: Xach: Okay, master now reflects the state before 3bz, and the fast branch is the new one. 2019-09-16T18:02:51Z dale_ joined #lisp 2019-09-16T18:03:07Z dale_ is now known as dale 2019-09-16T18:03:57Z mfiano: Hope that works now. Sorry for the trouble. 2019-09-16T18:07:19Z yoja joined #lisp 2019-09-16T18:11:48Z Xach: mfiano: thanks 2019-09-16T18:11:59Z EvW1 quit (Ping timeout: 250 seconds) 2019-09-16T18:17:38Z adip quit (Ping timeout: 240 seconds) 2019-09-16T18:18:02Z anewuser joined #lisp 2019-09-16T18:19:45Z adip joined #lisp 2019-09-16T18:23:54Z alexande` joined #lisp 2019-09-16T18:24:10Z gravicappa joined #lisp 2019-09-16T18:25:16Z Necktwi quit (Quit: leaving) 2019-09-16T18:25:23Z mfiano: Xach: I screwed up that commit. Please don't pull yet 2019-09-16T18:26:08Z asdf_asdf_asdf quit (Remote host closed the connection) 2019-09-16T18:27:01Z asdf_asdf_asdf joined #lisp 2019-09-16T18:27:22Z sauvin quit (Read error: Connection reset by peer) 2019-09-16T18:27:42Z Xach: No rush! 2019-09-16T18:27:58Z Xach: i probably won't check for another 16 hours or so, automatically 2019-09-16T18:28:04Z Xach: and every 24 hours after that 2019-09-16T18:28:14Z shka_ quit (Ping timeout: 276 seconds) 2019-09-16T18:28:14Z alexanderbarbosa quit (Ping timeout: 276 seconds) 2019-09-16T18:29:44Z mfiano: Xach: Ok fixed. I had to do a sin and revite the last commit from the git history. 2019-09-16T18:29:49Z mfiano: rewrite* 2019-09-16T18:30:33Z Fade: github needs a 'repo locked for historioectomy' toggle. 2019-09-16T18:31:09Z rozenglass joined #lisp 2019-09-16T18:31:25Z karlosz joined #lisp 2019-09-16T18:31:26Z Fade: s/github/git 2019-09-16T18:33:41Z karlosz quit (Client Quit) 2019-09-16T18:37:20Z lavaflow quit (Ping timeout: 276 seconds) 2019-09-16T18:38:43Z orivej_ quit (Ping timeout: 265 seconds) 2019-09-16T18:39:23Z EvW joined #lisp 2019-09-16T18:45:58Z gravicappa quit (Ping timeout: 265 seconds) 2019-09-16T18:57:19Z vhost- quit (Remote host closed the connection) 2019-09-16T18:57:46Z vhost- joined #lisp 2019-09-16T18:58:35Z cosimone quit (Quit: Terminated!) 2019-09-16T18:59:45Z orivej joined #lisp 2019-09-16T19:00:32Z vlatkoB quit (Remote host closed the connection) 2019-09-16T19:03:37Z flazh quit (Read error: Connection reset by peer) 2019-09-16T19:04:05Z shka_ joined #lisp 2019-09-16T19:05:23Z retropikzel quit (Remote host closed the connection) 2019-09-16T19:05:39Z anewuser quit (Ping timeout: 258 seconds) 2019-09-16T19:06:51Z asdf_asdf_asdf quit (Ping timeout: 240 seconds) 2019-09-16T19:07:27Z ltriant joined #lisp 2019-09-16T19:12:26Z ltriant quit (Ping timeout: 276 seconds) 2019-09-16T19:15:42Z alexande` quit (Read error: Connection reset by peer) 2019-09-16T19:20:02Z alexanderbarbosa joined #lisp 2019-09-16T19:24:53Z lavaflow joined #lisp 2019-09-16T19:28:00Z shangul joined #lisp 2019-09-16T19:33:20Z orivej quit (Ping timeout: 265 seconds) 2019-09-16T19:34:21Z frgo quit (Ping timeout: 246 seconds) 2019-09-16T19:38:11Z ggole quit (Quit: Leaving) 2019-09-16T19:38:21Z frgo joined #lisp 2019-09-16T19:42:24Z scymtym joined #lisp 2019-09-16T19:45:13Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-16T19:47:02Z orivej joined #lisp 2019-09-16T19:56:57Z shka_ quit (Ping timeout: 268 seconds) 2019-09-16T20:01:10Z shangul quit (Quit: sudo rm -rf /usr/*) 2019-09-16T20:02:01Z cosimone joined #lisp 2019-09-16T20:04:58Z henrikk joined #lisp 2019-09-16T20:20:57Z ravenousmoose quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-16T20:26:32Z lavaflow quit (Ping timeout: 276 seconds) 2019-09-16T20:37:44Z lavaflow joined #lisp 2019-09-16T20:49:01Z bitmapper joined #lisp 2019-09-16T20:50:57Z dpl quit (Read error: Connection reset by peer) 2019-09-16T20:54:21Z Ven`` joined #lisp 2019-09-16T20:55:50Z dpl joined #lisp 2019-09-16T20:58:19Z alexande` joined #lisp 2019-09-16T20:59:45Z alexanderbarbosa quit (Ping timeout: 246 seconds) 2019-09-16T21:10:45Z ravndal quit (Remote host closed the connection) 2019-09-16T21:13:23Z ravndal joined #lisp 2019-09-16T21:15:02Z henrikk quit (Remote host closed the connection) 2019-09-16T21:21:06Z varjag quit (Ping timeout: 246 seconds) 2019-09-16T21:22:02Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-16T21:24:54Z paul0 joined #lisp 2019-09-16T21:31:28Z ralt: is there an easy way to access an element by name, e.g.: `((:server . "nginx") (:etag . "foo"))` looping through every element looks ugly. Want to get a drakma response header. 2019-09-16T21:32:03Z adip quit (Ping timeout: 240 seconds) 2019-09-16T21:33:16Z pjb: ralt: assoc 2019-09-16T21:33:22Z Xach: ralt: assoc gets the entry 2019-09-16T21:33:27Z ralt: thanks 2019-09-16T21:33:29Z Xach: ralt: car gets the key, cdr gets the value 2019-09-16T21:33:31Z pjb: ralt: (defun aget (a-list key) (cdr (assoc key alist))) 2019-09-16T21:33:43Z ralt: awesome 2019-09-16T21:33:51Z ralt: works like a charm 2019-09-16T21:34:18Z adip joined #lisp 2019-09-16T21:35:07Z pjb: when you correct the typo s/a-list/alist/ or s/alist/a-list/ sorry. 2019-09-16T21:38:36Z mindCrime_ quit (Ping timeout: 246 seconds) 2019-09-16T21:39:20Z hiroaki quit (Ping timeout: 276 seconds) 2019-09-16T21:40:15Z karlosz joined #lisp 2019-09-16T21:42:51Z fragamus quit (Ping timeout: 240 seconds) 2019-09-16T21:43:13Z Bike quit (Quit: Bike) 2019-09-16T21:44:20Z LiamH quit (Quit: Leaving.) 2019-09-16T21:57:51Z nanozz quit (Ping timeout: 265 seconds) 2019-09-16T22:00:28Z stepnem quit (Ping timeout: 258 seconds) 2019-09-16T22:00:51Z stepnem joined #lisp 2019-09-16T22:05:55Z ralt: lol, yeah, I can play with that, just needed the magic assoc keyword :) 2019-09-16T22:06:07Z ralt: never needed it until now, and now I realize there's a lot of things I could've done better 2019-09-16T22:06:38Z jxy joined #lisp 2019-09-16T22:09:21Z karlosz quit (Quit: karlosz) 2019-09-16T22:10:31Z Oladon_work quit (Ping timeout: 260 seconds) 2019-09-16T22:17:34Z krid joined #lisp 2019-09-16T22:17:51Z sjl_ quit (Quit: WeeChat 2.3-dev) 2019-09-16T22:19:06Z sjl quit (Quit: WeeChat 2.2-dev) 2019-09-16T22:21:32Z lavaflow quit (Ping timeout: 265 seconds) 2019-09-16T22:22:04Z lavaflow joined #lisp 2019-09-16T22:23:44Z georgie_ joined #lisp 2019-09-16T22:25:26Z georgie quit (Ping timeout: 245 seconds) 2019-09-16T22:34:36Z georgie_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-16T22:38:34Z shifty joined #lisp 2019-09-16T22:43:48Z Bike joined #lisp 2019-09-16T22:45:19Z fragamus joined #lisp 2019-09-16T22:48:33Z EvW2 joined #lisp 2019-09-16T22:49:28Z EvW quit (Ping timeout: 245 seconds) 2019-09-16T22:49:36Z EvW2 is now known as EvW 2019-09-16T22:59:15Z karlosz joined #lisp 2019-09-16T22:59:45Z jprajzne quit (Quit: jprajzne) 2019-09-16T23:00:21Z jprajzne joined #lisp 2019-09-16T23:01:43Z karlosz quit (Client Quit) 2019-09-16T23:03:11Z cosimone quit (Remote host closed the connection) 2019-09-16T23:03:59Z cosimone joined #lisp 2019-09-16T23:04:14Z jprajzne quit (Client Quit) 2019-09-16T23:04:38Z jprajzne joined #lisp 2019-09-16T23:05:37Z dpl quit (Read error: Connection reset by peer) 2019-09-16T23:06:29Z lavaflow quit (Ping timeout: 265 seconds) 2019-09-16T23:09:29Z karlosz joined #lisp 2019-09-16T23:14:42Z jprajzne quit (Quit: jprajzne) 2019-09-16T23:14:48Z lavaflow joined #lisp 2019-09-16T23:15:07Z jprajzne joined #lisp 2019-09-16T23:19:14Z jprajzne quit (Client Quit) 2019-09-16T23:19:37Z jprajzne joined #lisp 2019-09-16T23:28:58Z emacsomancer joined #lisp 2019-09-16T23:31:30Z ltriant joined #lisp 2019-09-16T23:37:55Z alexande` left #lisp 2019-09-16T23:49:20Z lavaflow quit (Ping timeout: 258 seconds) 2019-09-16T23:54:02Z _whitelogger quit (Remote host closed the connection) 2019-09-16T23:54:26Z karlosz quit (Quit: karlosz) 2019-09-16T23:56:14Z _whitelogger joined #lisp 2019-09-16T23:57:06Z catchme quit (Quit: Connection closed for inactivity) 2019-09-17T00:02:42Z emacsomancer quit (Read error: Connection reset by peer) 2019-09-17T00:07:17Z alexanderbarbosa joined #lisp 2019-09-17T00:07:52Z libertyprime quit (Ping timeout: 265 seconds) 2019-09-17T00:14:29Z sjl joined #lisp 2019-09-17T00:14:43Z karlosz joined #lisp 2019-09-17T00:14:45Z jprajzne quit (Quit: jprajzne) 2019-09-17T00:15:13Z jprajzne joined #lisp 2019-09-17T00:19:14Z jprajzne quit (Client Quit) 2019-09-17T00:19:37Z jprajzne joined #lisp 2019-09-17T00:23:10Z torbo joined #lisp 2019-09-17T00:24:10Z lavaflow joined #lisp 2019-09-17T00:25:04Z igemnace joined #lisp 2019-09-17T00:25:12Z libertyprime joined #lisp 2019-09-17T00:30:30Z ralt quit (Quit: Connection closed for inactivity) 2019-09-17T00:33:28Z emacsomancer joined #lisp 2019-09-17T00:37:25Z karlosz quit (Quit: karlosz) 2019-09-17T00:40:10Z igemnace quit (Remote host closed the connection) 2019-09-17T00:50:22Z frgo_ joined #lisp 2019-09-17T00:50:27Z frgo quit (Ping timeout: 240 seconds) 2019-09-17T00:52:17Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-17T00:52:19Z elfmacs joined #lisp 2019-09-17T00:58:53Z makomo quit (Ping timeout: 276 seconds) 2019-09-17T00:59:24Z makomo joined #lisp 2019-09-17T01:00:46Z Kaisyu7 quit (Quit: ERC (IRC client for Emacs 26.2)) 2019-09-17T01:04:22Z Kaisyu7 joined #lisp 2019-09-17T01:06:02Z bitmapper quit (Ping timeout: 276 seconds) 2019-09-17T01:16:58Z semz quit (Ping timeout: 245 seconds) 2019-09-17T01:22:56Z krid quit (Ping timeout: 245 seconds) 2019-09-17T01:23:36Z karlosz joined #lisp 2019-09-17T01:29:53Z EvW quit (Ping timeout: 245 seconds) 2019-09-17T01:30:05Z fragamus quit (Ping timeout: 276 seconds) 2019-09-17T01:30:48Z semz joined #lisp 2019-09-17T01:32:28Z karlosz quit (Quit: karlosz) 2019-09-17T01:37:44Z notzmv joined #lisp 2019-09-17T01:39:58Z emacsomancer quit (Read error: Connection reset by peer) 2019-09-17T01:48:48Z analogue joined #lisp 2019-09-17T01:52:03Z cosimone quit (Remote host closed the connection) 2019-09-17T01:52:31Z cosimone joined #lisp 2019-09-17T02:04:27Z makomo quit (Ping timeout: 240 seconds) 2019-09-17T02:10:35Z cosimone quit (Quit: Quit.) 2019-09-17T02:16:52Z jprajzne quit (Remote host closed the connection) 2019-09-17T02:17:18Z jprajzne joined #lisp 2019-09-17T02:18:51Z shaakyamuni[m] quit (Remote host closed the connection) 2019-09-17T02:18:52Z no-defun-allowed quit (Remote host closed the connection) 2019-09-17T02:18:55Z djeis[m] quit (Read error: Connection reset by peer) 2019-09-17T02:18:58Z sciamano quit (Write error: Connection reset by peer) 2019-09-17T02:19:01Z eriix[m] quit (Read error: Connection reset by peer) 2019-09-17T02:19:04Z malaclyps[m] quit (Read error: Connection reset by peer) 2019-09-17T02:19:04Z iarebatman quit (Remote host closed the connection) 2019-09-17T02:19:06Z Godel[m] quit (Write error: Connection reset by peer) 2019-09-17T02:19:09Z akanouras quit (Read error: Connection reset by peer) 2019-09-17T02:19:09Z dtw quit (Read error: Connection reset by peer) 2019-09-17T02:19:09Z fynzh[m] quit (Read error: Connection reset by peer) 2019-09-17T02:19:11Z liambrown quit (Read error: Connection reset by peer) 2019-09-17T02:19:13Z Gnuxie[m] quit (Write error: Connection reset by peer) 2019-09-17T02:19:15Z mstdnuser[m] quit (Remote host closed the connection) 2019-09-17T02:19:15Z keep-learning[m] quit (Write error: Connection reset by peer) 2019-09-17T02:19:16Z nonlinear[m] quit (Read error: Connection reset by peer) 2019-09-17T02:19:16Z LdBeth quit (Read error: Connection reset by peer) 2019-09-17T02:19:16Z hiq[m] quit (Write error: Connection reset by peer) 2019-09-17T02:19:17Z Jachy quit (Read error: Connection reset by peer) 2019-09-17T02:19:17Z munksgaard[m] quit (Write error: Connection reset by peer) 2019-09-17T02:19:17Z katco quit (Write error: Connection reset by peer) 2019-09-17T02:27:28Z djeis[m] joined #lisp 2019-09-17T02:32:19Z fragamus joined #lisp 2019-09-17T02:32:41Z emacsomancer joined #lisp 2019-09-17T02:38:33Z clothespin_ quit (Ping timeout: 246 seconds) 2019-09-17T02:44:16Z Bike quit (Quit: Lost terminal) 2019-09-17T02:50:54Z galdor quit (*.net *.split) 2019-09-17T02:50:54Z |3b| quit (*.net *.split) 2019-09-17T02:50:54Z spacedbat quit (*.net *.split) 2019-09-17T02:50:54Z swflint quit (*.net *.split) 2019-09-17T02:50:54Z Ober quit (*.net *.split) 2019-09-17T02:50:54Z jerme_ quit (*.net *.split) 2019-09-17T02:50:54Z markasoftware quit (*.net *.split) 2019-09-17T02:51:20Z analogue quit (Quit: Leaving) 2019-09-17T02:53:10Z khisanth_ quit (Ping timeout: 265 seconds) 2019-09-17T02:55:16Z akanouras joined #lisp 2019-09-17T02:55:16Z dtw joined #lisp 2019-09-17T02:55:16Z eriix[m] joined #lisp 2019-09-17T02:55:16Z LdBeth joined #lisp 2019-09-17T02:55:16Z katco joined #lisp 2019-09-17T02:55:16Z Jachy joined #lisp 2019-09-17T02:55:17Z liambrown joined #lisp 2019-09-17T02:55:17Z sciamano joined #lisp 2019-09-17T02:55:17Z munksgaard[m] joined #lisp 2019-09-17T02:55:17Z hiq[m] joined #lisp 2019-09-17T02:55:17Z Godel[m] joined #lisp 2019-09-17T02:55:17Z nonlinear[m] joined #lisp 2019-09-17T02:55:17Z iarebatman joined #lisp 2019-09-17T02:55:17Z no-defun-allowed joined #lisp 2019-09-17T02:55:17Z malaclyps[m] joined #lisp 2019-09-17T02:55:17Z keep-learning[m] joined #lisp 2019-09-17T02:55:17Z Gnuxie[m] joined #lisp 2019-09-17T02:55:24Z shaakyamuni[m] joined #lisp 2019-09-17T02:55:24Z mstdnuser[m] joined #lisp 2019-09-17T02:55:24Z fynzh[m] joined #lisp 2019-09-17T02:56:22Z galdor joined #lisp 2019-09-17T02:56:22Z |3b| joined #lisp 2019-09-17T02:56:22Z spacedbat joined #lisp 2019-09-17T02:56:22Z swflint joined #lisp 2019-09-17T02:56:22Z Ober joined #lisp 2019-09-17T02:56:22Z jerme_ joined #lisp 2019-09-17T02:56:22Z markasoftware joined #lisp 2019-09-17T03:06:20Z lemoinem quit (Read error: Connection reset by peer) 2019-09-17T03:06:34Z tourjin joined #lisp 2019-09-17T03:08:07Z tourjin: I just installed cygwin x and emacs . where can I download slime? 2019-09-17T03:08:56Z lemoinem joined #lisp 2019-09-17T03:09:40Z torbo quit (Remote host closed the connection) 2019-09-17T03:11:05Z krid joined #lisp 2019-09-17T03:12:09Z khisanth_ joined #lisp 2019-09-17T03:17:23Z ltriant_ joined #lisp 2019-09-17T03:18:29Z ltriant quit (Ping timeout: 268 seconds) 2019-09-17T03:18:58Z galdor quit (*.net *.split) 2019-09-17T03:18:58Z |3b| quit (*.net *.split) 2019-09-17T03:18:58Z spacedbat quit (*.net *.split) 2019-09-17T03:18:58Z swflint quit (*.net *.split) 2019-09-17T03:18:58Z Ober quit (*.net *.split) 2019-09-17T03:18:58Z jerme_ quit (*.net *.split) 2019-09-17T03:18:59Z markasoftware quit (*.net *.split) 2019-09-17T03:19:34Z zdm joined #lisp 2019-09-17T03:24:23Z galdor joined #lisp 2019-09-17T03:24:23Z |3b| joined #lisp 2019-09-17T03:24:23Z spacedbat joined #lisp 2019-09-17T03:24:23Z swflint joined #lisp 2019-09-17T03:24:23Z Ober joined #lisp 2019-09-17T03:24:23Z jerme_ joined #lisp 2019-09-17T03:24:23Z markasoftware joined #lisp 2019-09-17T03:28:12Z tourjin quit (Quit: Leaving) 2019-09-17T03:28:23Z tourjin joined #lisp 2019-09-17T03:32:04Z gravicappa joined #lisp 2019-09-17T03:32:28Z tourjin: what does mode +z or +i means? 2019-09-17T03:35:56Z tourjin quit (Read error: Connection reset by peer) 2019-09-17T03:41:01Z jprajzne quit (Ping timeout: 265 seconds) 2019-09-17T03:41:35Z akoana joined #lisp 2019-09-17T03:42:19Z quazimodo joined #lisp 2019-09-17T03:44:35Z tourjin joined #lisp 2019-09-17T03:59:16Z ck_: tourjin: you can get slime through the emacs package system, for example. Search for "Melpa packages" to set that up 2019-09-17T03:59:35Z orivej quit (Ping timeout: 276 seconds) 2019-09-17T04:00:39Z jeosol: Is there a work around to save SBCL from slime (normally do that from the shell). Keep getting this message: "Cannot save core with multiple threads running." 2019-09-17T04:00:59Z jeosol: I meant save the image 2019-09-17T04:06:40Z FreeBirdLjj joined #lisp 2019-09-17T04:07:22Z tourjin quit (Read error: Connection reset by peer) 2019-09-17T04:07:57Z beach: Good morning everyone! 2019-09-17T04:08:15Z |3b|: you could try killing all worker threads, exiting repl, and saving from *inferior-lisp* 2019-09-17T04:08:42Z |3b|: (or configure it to not start threads) 2019-09-17T04:09:20Z fragamus quit (Ping timeout: 276 seconds) 2019-09-17T04:09:39Z tourjin joined #lisp 2019-09-17T04:12:50Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-17T04:13:07Z FreeBirdLjj joined #lisp 2019-09-17T04:13:09Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-17T04:13:28Z FreeBirdLjj joined #lisp 2019-09-17T04:13:57Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-17T04:15:25Z FreeBirdLjj joined #lisp 2019-09-17T04:20:09Z FreeBirdLjj quit (Ping timeout: 268 seconds) 2019-09-17T04:22:21Z abhixec quit (Quit: leaving) 2019-09-17T04:23:21Z retropikzel joined #lisp 2019-09-17T04:28:52Z tourjin quit (Ping timeout: 265 seconds) 2019-09-17T04:32:32Z liberiga joined #lisp 2019-09-17T04:34:16Z retropikzel quit (Remote host closed the connection) 2019-09-17T04:35:06Z Lord_of_Life quit (Ping timeout: 246 seconds) 2019-09-17T04:37:30Z Lord_of_Life joined #lisp 2019-09-17T04:38:25Z Ricchi quit (Remote host closed the connection) 2019-09-17T04:48:01Z fragamus joined #lisp 2019-09-17T04:48:21Z jiny joined #lisp 2019-09-17T04:48:46Z fragamus: hello 2019-09-17T04:48:59Z fragamus: connect 2019-09-17T04:49:04Z beach: Hello fragamus. 2019-09-17T04:49:10Z beach: You are already connected. 2019-09-17T04:49:13Z fragamus: hello beach 2019-09-17T04:49:57Z fragamus: what time is it where you are 2019-09-17T04:50:04Z FreeBirdLjj joined #lisp 2019-09-17T04:50:35Z beach: Colleen: time in Bordeaux 2019-09-17T04:50:36Z Colleen: Google Maps failed to perform your request for an unknown reason. 2019-09-17T04:50:41Z beach: Aww 2019-09-17T04:50:43Z beach: 06:50 2019-09-17T04:51:03Z fragamus: good morning! 2019-09-17T04:51:28Z fragamus: its night time in California 2019-09-17T04:52:21Z fragamus: Colleen: distance from hamburg to frankfurt 2019-09-17T04:52:21Z Colleen: Unknown command. Possible matches: 8, time, deny, set, say, mop, get, tell, roll, help, 2019-09-17T04:52:58Z fragamus: I didn't know about Colleen 2019-09-17T04:53:09Z fragamus: I still don't know about Colleen 2019-09-17T04:53:35Z no-defun-allowed: fragamus: http://www.total-knowledge.com/~ilya/mips/ugt.html 2019-09-17T04:54:44Z fragamus: I am trying to dissect clisp and I need to look at the main for lisp.run 2019-09-17T04:54:50Z fragamus: I can't find it 2019-09-17T04:55:08Z fragamus: It is C language I think 2019-09-17T04:55:37Z beach: fragamus: What are you planning to do with CLISP? 2019-09-17T04:56:16Z FreeBirdLjj quit (Ping timeout: 245 seconds) 2019-09-17T04:56:24Z beach: And, yes, CLISP is written in C. I think that's where they derived the name from. 2019-09-17T04:58:44Z Necktwi joined #lisp 2019-09-17T04:59:27Z fragamus: I am trying to write a toy interpreter 2019-09-17T04:59:37Z nanoz joined #lisp 2019-09-17T04:59:59Z fragamus: that sucks up byte codes and does cool stuff 2019-09-17T05:00:19Z beach: And what does your interpreter have to do with CLISP? Are you trying to copy what they did? 2019-09-17T05:00:29Z fragamus: yeah 2019-09-17T05:01:02Z beach: And what is your reason for wanting to write a toy interpreter? 2019-09-17T05:01:02Z wigust joined #lisp 2019-09-17T05:01:08Z fragamus: I don't need all the speed 2019-09-17T05:01:36Z fragamus: I want to embed it as part of the boot sequence for a piece of hardware 2019-09-17T05:02:05Z fragamus: I want the tiniest piece of code that will interpret lisp 2019-09-17T05:02:13Z fragamus: clisp 2019-09-17T05:02:27Z fragamus: I want it to be tiny as possible 2019-09-17T05:02:31Z LdBeth: RMS resigns 2019-09-17T05:02:33Z fragamus: and slow as possible 2019-09-17T05:02:51Z wigust- quit (Ping timeout: 240 seconds) 2019-09-17T05:03:05Z jiny is now known as tourjn 2019-09-17T05:03:51Z LdBeth: I’m afraid not 2019-09-17T05:04:04Z georgie joined #lisp 2019-09-17T05:04:10Z fragamus: so I need to study lisp.run starting with the main 2019-09-17T05:04:17Z beach: fragamus: Are you confusing CLISP and Common Lisp? 2019-09-17T05:04:25Z fragamus: no 2019-09-17T05:04:37Z fragamus: I want to use clisp bytecodes 2019-09-17T05:04:44Z beach: I see. 2019-09-17T05:04:47Z fragamus: I want to interpret that 2019-09-17T05:04:57Z beach: OK. 2019-09-17T05:05:00Z fragamus: I want tiny tiny and slooooow 2019-09-17T05:05:21Z LdBeth: Since a very bare bone lisp interpreter such as ulisp can barely fit into Ardurino chip 2019-09-17T05:07:12Z fragamus: the interpreter needs to be tiny but the code for common lisp can be on a regular storage device 2019-09-17T05:07:22Z fragamus: as big as you please 2019-09-17T05:11:06Z zdm quit (Quit: leaving) 2019-09-17T05:13:09Z no-defun-allowed: Wouldn't you also need memory for the Lisp heap too? 2019-09-17T05:13:42Z LdBeth: I don’t get the point, since if a large storage is available there’s no need for a lisp interpreter to load a Common Lisp 2019-09-17T05:14:14Z fragamus: well the lisp program will be small and won't link to much and won't do a lot of alloc 2019-09-17T05:14:42Z LdBeth: Well, you might swap on disk 2019-09-17T05:14:53Z fragamus: yep 2019-09-17T05:15:15Z fragamus: anyhow anyone point me to the main() 2019-09-17T05:16:19Z LdBeth: But seem you have not idea that you need also standard C lib to run CLISP 2019-09-17T05:16:33Z igemnace joined #lisp 2019-09-17T05:16:42Z shka_ joined #lisp 2019-09-17T05:17:31Z fragamus: that is already part of the system into which i am embedding 2019-09-17T05:20:17Z flamebeard joined #lisp 2019-09-17T05:22:22Z pjb: fragamus: lisp.run is in a place that depends on the installation of clisp. For example, it can be something like: /usr/local/lib/clisp-2.49.93+/base/lisp.run 2019-09-17T05:22:46Z pjb: fragamus: The best is to get the sources of clisp and to configure and compile them yourself. 2019-09-17T05:23:37Z igemnace quit (Remote host closed the connection) 2019-09-17T05:23:38Z fragamus: what source file contains the main() 2019-09-17T05:23:48Z pjb: fragamus: clisp implementation is made much more complex than what you want, because it has to deal with two stacks: a normal C stack, and a lisp VM stack. 2019-09-17T05:23:54Z pjb: fragamus: type: man grep 2019-09-17T05:24:31Z pjb: fragamus: see https://clisp.sourceforge.io/impnotes/ and https://clisp.sourceforge.io/impnotes/internals.html 2019-09-17T05:24:36Z fragamus: i use rg and it was not evident from that but i'll keep looking 2019-09-17T05:27:30Z varjag joined #lisp 2019-09-17T05:28:02Z tourjn: alt-x package-list-packages show me several slimes which is most popular one? I have two slim-mode two slime and a lot of slime-*. 2019-09-17T05:28:18Z koenig quit (Ping timeout: 246 seconds) 2019-09-17T05:29:41Z vlatkoB joined #lisp 2019-09-17T05:29:55Z koenig joined #lisp 2019-09-17T05:37:00Z fragamus: thanks LdBeth, pjb for that info 2019-09-17T05:39:58Z lambda-smith joined #lisp 2019-09-17T05:42:22Z Necktwi quit (Remote host closed the connection) 2019-09-17T05:44:14Z beach: I wonder how many toy interpreters for toy versions of Lisp there are out there. And I wonder how many of them are actually used. 2019-09-17T05:44:35Z pjb: tourjn: My personnal preference is to use the slime provided by quicklisp, since slime needs a swank, and it's better if it comes from the same version. 2019-09-17T05:44:45Z beach: My impression is that there is at least one such project per year announced here. 2019-09-17T05:44:57Z pjb: beach: approximatively as many as lisp students + compiler student. 2019-09-17T05:45:00Z pjb: +s 2019-09-17T05:45:14Z beach: Entirely possible. 2019-09-17T05:45:31Z no-defun-allowed: beach: On r/lisp, about once every two months. 2019-09-17T05:45:33Z pjb: fragamus: + have a look at https://www.informatimago.com/articles/usenet.html#Compilation 2019-09-17T05:46:10Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-17T05:47:10Z varjag quit (Ping timeout: 265 seconds) 2019-09-17T05:47:58Z lambda-smith quit (Quit: Konversation terminated!) 2019-09-17T05:48:14Z mfiano: Toy Lisp interpreters comes up more often on the Lisp Discord server. Though it is quite a bit more active of a forum than here 2019-09-17T05:48:21Z null-pointer-p joined #lisp 2019-09-17T05:48:48Z no-defun-allowed: But then, I'd say only 40% actually implement list processing. 2019-09-17T05:48:54Z georgie joined #lisp 2019-09-17T05:49:33Z null-pointer-p quit (Client Quit) 2019-09-17T05:49:35Z no-defun-allowed: (My theory is they can't be bugged to write a parser for their favourite language, since that 60% rarely follows any Lisp semantics.) 2019-09-17T05:49:52Z lambda-smith joined #lisp 2019-09-17T05:50:34Z lambda-smith quit (Client Quit) 2019-09-17T05:50:38Z jiny joined #lisp 2019-09-17T05:50:48Z lambda-smith joined #lisp 2019-09-17T05:51:46Z tourjn quit (Read error: Connection reset by peer) 2019-09-17T05:53:39Z krid quit (Ping timeout: 240 seconds) 2019-09-17T05:59:33Z sauvin joined #lisp 2019-09-17T06:10:19Z dddddd quit (Remote host closed the connection) 2019-09-17T06:10:49Z verisimilitude: Paul Graham's toy Lisp still gets some attention. 2019-09-17T06:11:05Z FreeBirdLjj joined #lisp 2019-09-17T06:13:08Z jeosol: |3b|: didnt get it to work. Just reran the procedure on terminal and saved the image that way 2019-09-17T06:15:08Z jackdaniel: how would you define a type denoting a homogenous sequence? something like '(sequence* integer) 2019-09-17T06:15:41Z jiny quit (Ping timeout: 265 seconds) 2019-09-17T06:16:05Z shka_ quit (Ping timeout: 276 seconds) 2019-09-17T06:16:42Z FreeBirdLjj quit (Ping timeout: 268 seconds) 2019-09-17T06:18:16Z jackdaniel: using satisfies with lambda won't work, because satisfies expects a symbol 2019-09-17T06:18:51Z fragamus quit (Ping timeout: 240 seconds) 2019-09-17T06:25:30Z fragamus joined #lisp 2019-09-17T06:27:19Z dale quit (Quit: My computer has gone to sleep) 2019-09-17T06:27:48Z notzmv quit (Ping timeout: 268 seconds) 2019-09-17T06:30:06Z Shinmera: There's two answers, either you can't, or you write a type expander that generates a global function to use in satisfies for that particular element type. 2019-09-17T06:30:17Z fragamus quit (Ping timeout: 258 seconds) 2019-09-17T06:30:38Z jackdaniel: wouldn't writing the expander settle that to only one particular element-type? 2019-09-17T06:30:50Z Shinmera: Hm? 2019-09-17T06:31:43Z jackdaniel: (deftype sequence* (elt) `(and sequence (satisfies ,(do-global-expansion)))) 2019-09-17T06:32:02Z Shinmera: obviously you have to pass elt to do-global-expansion. 2019-09-17T06:32:25Z jackdaniel: but elt is a parameter of the type, not something known at the type definition time 2019-09-17T06:32:40Z jackdaniel: I want to say (sequence* integer) and later (sequence* froob) 2019-09-17T06:32:41Z Shinmera: yes, and do-global-expansion is run when the type is expanded 2019-09-17T06:33:37Z jackdaniel: I don't follow, symbol given to "satisfies" denotes only a function accepting one argument - the object 2019-09-17T06:33:41Z varjag joined #lisp 2019-09-17T06:33:54Z jackdaniel: s/only a function/a function only/ 2019-09-17T06:34:51Z jackdaniel: so if we compile it to a predicate checking for integer sequence, then this function will check for `every integerp` and that's it 2019-09-17T06:35:01Z jackdaniel: if you recompile it to check for froobs, then it won't check for itnegers 2019-09-17T06:35:06Z jackdaniel: s/itnegers/integers/ 2019-09-17T06:36:22Z Shinmera: https://plaster.tymoon.eu/view/1500#1500 2019-09-17T06:38:27Z rigidus quit (Remote host closed the connection) 2019-09-17T06:38:48Z jackdaniel: that works, thank you for the explanation 2019-09-17T06:49:05Z ebrasca joined #lisp 2019-09-17T06:55:12Z orivej joined #lisp 2019-09-17T06:56:09Z jonatack quit (Ping timeout: 246 seconds) 2019-09-17T06:56:34Z ltriant_ quit (Quit: leaving) 2019-09-17T06:56:42Z lemo1nem joined #lisp 2019-09-17T06:56:46Z lemoinem is now known as Guest28787 2019-09-17T06:56:46Z Guest28787 quit (Killed (card.freenode.net (Nickname regained by services))) 2019-09-17T06:56:47Z lemo1nem is now known as lemoinem 2019-09-17T06:59:15Z libertyprime quit (Ping timeout: 240 seconds) 2019-09-17T07:01:13Z scymtym quit (Read error: Connection reset by peer) 2019-09-17T07:05:02Z fragamus joined #lisp 2019-09-17T07:05:16Z makomo joined #lisp 2019-09-17T07:06:16Z libertyprime joined #lisp 2019-09-17T07:07:46Z raghavgururajan joined #lisp 2019-09-17T07:07:47Z makomo_ joined #lisp 2019-09-17T07:07:53Z orivej quit (Ping timeout: 265 seconds) 2019-09-17T07:11:25Z FreeBirdLjj joined #lisp 2019-09-17T07:11:35Z makomo quit (Ping timeout: 268 seconds) 2019-09-17T07:12:43Z fragamus quit (Ping timeout: 265 seconds) 2019-09-17T07:14:40Z rozengla` joined #lisp 2019-09-17T07:15:51Z FreeBirdLjj quit (Ping timeout: 245 seconds) 2019-09-17T07:18:40Z dpl joined #lisp 2019-09-17T07:20:28Z jasom quit (Ping timeout: 246 seconds) 2019-09-17T07:22:31Z quazimodo quit (Ping timeout: 245 seconds) 2019-09-17T07:24:28Z quazimodo joined #lisp 2019-09-17T07:30:03Z froggey quit (Ping timeout: 240 seconds) 2019-09-17T07:32:08Z froggey joined #lisp 2019-09-17T07:34:03Z refpga joined #lisp 2019-09-17T07:36:05Z akoana left #lisp 2019-09-17T07:38:02Z ralt joined #lisp 2019-09-17T07:40:39Z WewriteEssay joined #lisp 2019-09-17T07:40:42Z jiny joined #lisp 2019-09-17T07:46:28Z WewriteEssay: aaa9e80d8118cd79e04f15cc8944fc668adeb330 2019-09-17T07:47:00Z FreeBirdLjj joined #lisp 2019-09-17T07:47:26Z no-defun-allowed: hi, 101011110100101 to you too 2019-09-17T07:47:27Z WewriteEssay quit (Remote host closed the connection) 2019-09-17T07:48:13Z ck_: Is that essay already? Or are we supposed to continue from your introduction? 2019-09-17T07:49:26Z no-defun-allowed: must have been their very short story, though I think using a hash is cheating the word count metric 2019-09-17T07:49:44Z jiny: clisp -c quicklisp.lisp left me a output file named quicklisp.fas . what does this mean? 2019-09-17T07:49:53Z jiny quit (Quit: Leaving) 2019-09-17T07:50:10Z jiny joined #lisp 2019-09-17T07:50:21Z jiny quit (Client Quit) 2019-09-17T07:50:33Z jiny joined #lisp 2019-09-17T07:50:33Z ck_: FASL could mean Formal Approach to Slavic Linguistics 2019-09-17T07:50:42Z jiny: clisp -c quicklisp.lisp left me a output file named quicklisp.fas . what does this mean? 2019-09-17T07:51:19Z ck_: jiny: look up 'fasl file', it stands for fast load and contains -- who'd have guessed -- compilation output. 2019-09-17T07:51:30Z jiny quit (Read error: Connection reset by peer) 2019-09-17T07:51:52Z FreeBirdLjj quit (Ping timeout: 265 seconds) 2019-09-17T07:51:53Z ck_: .. "I tried". 2019-09-17T07:52:54Z tourjin joined #lisp 2019-09-17T08:01:34Z raghavgururajan quit (Remote host closed the connection) 2019-09-17T08:01:42Z dpl_ joined #lisp 2019-09-17T08:02:46Z jonatack joined #lisp 2019-09-17T08:03:21Z hhdave joined #lisp 2019-09-17T08:08:43Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-17T08:14:43Z scymtym joined #lisp 2019-09-17T08:21:45Z AE_MC joined #lisp 2019-09-17T08:24:57Z tourjin: clisp -c myfile.lisp print out Wrote file /cygdrive/c/work/myfile.fas message. what does this mean? how can I run myfile.fas? 2019-09-17T08:26:10Z dpl__ joined #lisp 2019-09-17T08:27:02Z FreeBirdLjj joined #lisp 2019-09-17T08:27:12Z pjb: tourjin: what does the -c option of clisp mean? 2019-09-17T08:27:22Z AE_MC left #lisp 2019-09-17T08:28:15Z saturn2: compile 2019-09-17T08:28:34Z saturn2: you probably want to remove that 2019-09-17T08:29:07Z pjb: tourjin: what about reading some documentation? https://clisp.sourceforge.io/impnotes/ https://clisp.sourceforge.io/impnotes/clisp.html 2019-09-17T08:29:34Z dpl_ quit (Ping timeout: 265 seconds) 2019-09-17T08:31:00Z saturn2: if you're just getting started you might find this easier https://portacle.github.io/ 2019-09-17T08:31:01Z dpl__ quit (Ping timeout: 265 seconds) 2019-09-17T08:31:04Z dpl___ joined #lisp 2019-09-17T08:31:39Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2019-09-17T08:32:01Z pjb: jackdaniel: that doesn't really work. That seem to work. But conformingly, it's quite difficult to make it work. Because you need to ensure that the function is available both in the compilation environment, and in the execution environment. It's rather delicated to do it correctly and conformingly. Also, notice that you want to generate function names, for your randome type specifiers, and you need to keep some consistency b 2019-09-17T08:32:01Z pjb: the two environents… 2019-09-17T08:32:32Z pjb: tourjin: or http://cliki.net/Getting+Started 2019-09-17T08:32:51Z dpl quit (Ping timeout: 240 seconds) 2019-09-17T08:33:26Z tourjin: thanks i'm reading all day. 2019-09-17T08:33:26Z tourjin quit (Remote host closed the connection) 2019-09-17T08:33:45Z tourjin joined #lisp 2019-09-17T08:34:40Z dpl joined #lisp 2019-09-17T08:37:49Z flazh joined #lisp 2019-09-17T08:38:51Z tourjin quit (Ping timeout: 240 seconds) 2019-09-17T08:40:25Z beach: jackdaniel: Jim Newton's PhD dissertation was largely about type descriptors for sequences. It is a great document. 2019-09-17T08:40:52Z beach: They can do arbitrary regular expressions with types. 2019-09-17T08:41:04Z cosimone joined #lisp 2019-09-17T08:41:10Z yoja quit (Ping timeout: 265 seconds) 2019-09-17T08:44:04Z makomo_ quit (Ping timeout: 265 seconds) 2019-09-17T08:48:11Z dpl___ quit (Ping timeout: 276 seconds) 2019-09-17T08:48:30Z shka__: this sounds interesting 2019-09-17T08:48:51Z jonatack quit (Ping timeout: 240 seconds) 2019-09-17T08:48:57Z jackdaniel: pjb: beach: thanks. 2019-09-17T08:49:15Z dpl_ joined #lisp 2019-09-17T08:49:21Z jackdaniel: afair he has presented his ideas during ELS 2019-09-17T08:49:33Z shka__: https://www.lrde.epita.fr/wiki/Publications/newton.18.phd 2019-09-17T08:50:25Z jackdaniel: For now I'll define it to check for a sequence, this type annotation is primarily meant for a programmer reading the code, not for the compiler 2019-09-17T08:50:50Z jackdaniel: (deftype sequence* (element-type) `sequence) ;with ignore declaration 2019-09-17T08:52:17Z jprajzne joined #lisp 2019-09-17T09:01:54Z FreeBirdLjj joined #lisp 2019-09-17T09:04:31Z ljavorsk joined #lisp 2019-09-17T09:04:56Z liberiga quit (Ping timeout: 260 seconds) 2019-09-17T09:06:09Z samla joined #lisp 2019-09-17T09:06:55Z ljavorsk_ joined #lisp 2019-09-17T09:07:02Z FreeBirdLjj quit (Ping timeout: 276 seconds) 2019-09-17T09:08:53Z samla quit (Client Quit) 2019-09-17T09:09:00Z ljavorsk quit (Ping timeout: 258 seconds) 2019-09-17T09:09:20Z fragamus joined #lisp 2019-09-17T09:11:04Z zigpaw quit (Ping timeout: 246 seconds) 2019-09-17T09:11:45Z zigpaw joined #lisp 2019-09-17T09:12:56Z pjb: jackdaniel: Here is what I had: https://pastebin.com/mbADPjQ8 2019-09-17T09:14:50Z fragamus quit (Ping timeout: 276 seconds) 2019-09-17T09:16:30Z cosimone quit (Quit: Terminated!) 2019-09-17T09:18:37Z cosimone joined #lisp 2019-09-17T09:19:37Z jiny joined #lisp 2019-09-17T09:30:20Z jonatack joined #lisp 2019-09-17T09:41:16Z nostoi joined #lisp 2019-09-17T09:45:04Z jiny: thanks pjb I learned I can load compiled codes in .fas extentions inside clisp. 2019-09-17T09:45:09Z jiny quit (Quit: Leaving) 2019-09-17T09:45:29Z jiny joined #lisp 2019-09-17T09:45:37Z jiny is now known as tourjin 2019-09-17T09:56:16Z jonatack quit (Quit: jonatack) 2019-09-17T09:56:34Z jonatack joined #lisp 2019-09-17T10:08:24Z gxt quit (Ping timeout: 260 seconds) 2019-09-17T10:09:37Z rozengla` quit (Remote host closed the connection) 2019-09-17T10:10:15Z fragamus joined #lisp 2019-09-17T10:10:35Z dpl__ joined #lisp 2019-09-17T10:13:43Z cosimone quit (Quit: Terminated!) 2019-09-17T10:13:46Z dpl_ quit (Ping timeout: 245 seconds) 2019-09-17T10:13:53Z xrash joined #lisp 2019-09-17T10:14:51Z fragamus quit (Ping timeout: 240 seconds) 2019-09-17T10:15:01Z dpl__ quit (Ping timeout: 245 seconds) 2019-09-17T10:15:28Z dpl_ joined #lisp 2019-09-17T10:16:18Z FreeBirdLjj joined #lisp 2019-09-17T10:21:04Z FreeBirdLjj quit (Ping timeout: 258 seconds) 2019-09-17T10:22:21Z yoja joined #lisp 2019-09-17T10:25:16Z fragamus joined #lisp 2019-09-17T10:30:01Z fragamus quit (Ping timeout: 245 seconds) 2019-09-17T10:36:40Z tourjin: gpg: Can't check signature: public key not found what does this mean? 2019-09-17T10:37:44Z tourjin: should I create my own public key on my system? 2019-09-17T10:38:12Z tourjin: gpg --verify quicklisp.lisp.asc quicklisp.lisp this was original command. 2019-09-17T10:39:07Z ck_: you should probably obtain the key you want to verify with first. gpg --receive-keys <id>, or something. 2019-09-17T10:39:35Z tourjin: on my own system? 2019-09-17T10:40:00Z ck_: do you have a different option? I don't understand what you mean. 2019-09-17T10:40:52Z tourjin: i don't know about gpg. I just followed install instructions. but it fails. 2019-09-17T10:40:55Z dpl__ joined #lisp 2019-09-17T10:40:56Z dpl_ quit (Read error: Connection reset by peer) 2019-09-17T10:41:05Z dpl_ joined #lisp 2019-09-17T10:41:58Z tourjin: doc says download two files then gpg two files. 2019-09-17T10:42:29Z yoja quit (Ping timeout: 268 seconds) 2019-09-17T10:43:55Z ck_: I tried to tell you that you need to obtain the public key you want to verify with, first. 2019-09-17T10:43:56Z dpl quit (Ping timeout: 265 seconds) 2019-09-17T10:44:28Z ck_: To do this, locate the human interface device typically located between you and the monitor, open a terminal, and enter into this terminal: 2019-09-17T10:44:45Z ck_: gpg --receive-keys D7A3489DDEFE32B7D0E7CC61307965AB028B5FF7 2019-09-17T10:45:55Z tourjin: --receive-keys is invalid option in my gpg command 2019-09-17T10:46:14Z antoszka: --recv-keys 2019-09-17T10:46:16Z antoszka: afair 2019-09-17T10:46:53Z antoszka: ck_, tourjin ^ 2019-09-17T10:47:08Z ck_: mine accepts both. but thanks for the information. 2019-09-17T10:47:15Z FreeBirdLjj joined #lisp 2019-09-17T10:47:43Z tourjin: thanks I think it works somehow. 2019-09-17T10:49:00Z tourjin: gpg: WARNING: This key is not certified with a trusted signature! but but it succeded. thank you. 2019-09-17T10:52:09Z FreeBirdLjj quit (Ping timeout: 265 seconds) 2019-09-17T10:52:43Z tourjin: D7A3489DDEFE32B7D0E7CC61307965AB028B5FF7 where did this come from? can I make my own key ID? 2019-09-17T10:52:53Z mingus joined #lisp 2019-09-17T10:53:58Z nostoi quit (Quit: Verlassend) 2019-09-17T10:54:02Z pjb: tourjin: always the same: read the doc! man gpg 2019-09-17T10:54:09Z ck_: maybe this would be an excellent time to read the documentation 2019-09-17T10:54:33Z tourjin: always thank you 2019-09-17T10:55:43Z gxt joined #lisp 2019-09-17T10:56:27Z EvW1 joined #lisp 2019-09-17T10:58:28Z xrash quit (Read error: Connection reset by peer) 2019-09-17T10:59:44Z scymtym: tourjin: in a nutshell, Xach signs Quicklisp with his signature. your computer doesn't know what Xach's signature is like, so you have to download it (receive-key). then you get a warning that the key is not trusted because anybody could upload a key and claim that it is Xach's key. that trust can only be established by meeting someone in person and have them attest that the key is really Xach's (potentially indirectly through a "web of 2019-09-17T10:59:44Z scymtym: trust" instead of directly) 2019-09-17T11:04:03Z karswell quit (Ping timeout: 240 seconds) 2019-09-17T11:14:18Z ym joined #lisp 2019-09-17T11:14:26Z ggole joined #lisp 2019-09-17T11:14:31Z amerigo joined #lisp 2019-09-17T11:15:19Z lambda-smith quit (Quit: Konversation terminated!) 2019-09-17T11:15:44Z flip214: that could be done at sbcl20, btw 2019-09-17T11:19:20Z gareppa joined #lisp 2019-09-17T11:21:10Z tourjin quit (Remote host closed the connection) 2019-09-17T11:23:56Z gareppa quit (Remote host closed the connection) 2019-09-17T11:24:45Z fragamus joined #lisp 2019-09-17T11:28:08Z bitmapper joined #lisp 2019-09-17T11:29:15Z fragamus quit (Ping timeout: 240 seconds) 2019-09-17T11:29:42Z amerlyq joined #lisp 2019-09-17T11:31:10Z ljavorsk__ joined #lisp 2019-09-17T11:32:27Z ljavorsk_ quit (Ping timeout: 240 seconds) 2019-09-17T11:42:19Z gravicappa quit (Ping timeout: 268 seconds) 2019-09-17T11:43:21Z jmercouris joined #lisp 2019-09-17T11:44:50Z gravicappa joined #lisp 2019-09-17T11:44:57Z shangul joined #lisp 2019-09-17T11:45:39Z makomo_ joined #lisp 2019-09-17T11:46:13Z varjag quit (Remote host closed the connection) 2019-09-17T11:46:58Z EvW1 quit (Ping timeout: 245 seconds) 2019-09-17T11:47:39Z ljavorsk__ quit (Ping timeout: 240 seconds) 2019-09-17T11:53:08Z ljavorsk__ joined #lisp 2019-09-17T12:11:47Z varjag joined #lisp 2019-09-17T12:15:09Z dddddd joined #lisp 2019-09-17T12:18:21Z gravicappa quit (Ping timeout: 245 seconds) 2019-09-17T12:24:57Z libertyprime quit (Ping timeout: 265 seconds) 2019-09-17T12:29:16Z Bike joined #lisp 2019-09-17T12:30:19Z ebrasca quit (Remote host closed the connection) 2019-09-17T12:31:23Z eigenhombre: Complete newbie question here, still trying to get my head around how packages/systems/ASDF/Quicklisp works. I'm using SBCL + Emacs for my environment. When I use a library from Quicklisp, say `cl-ppcre`, is it expected that I would have to add, say, `(ql:quickload :cl-ppcre)` in my `.sbclrc`? I'm finding that otherwise, when I start my SLIME REPL in Emacs, my code doesn't know where `cl-ppcre` is even if it's in my 2019-09-17T12:31:23Z eigenhombre: `:depends-on` in the projects's `.asd` file. 2019-09-17T12:33:26Z beach: eigenhombre: That is not typically how it is done. 2019-09-17T12:33:49Z beach: eigenhombre: The typical way is to write your application code using an ASDF system definition. 2019-09-17T12:34:27Z beach: Oh, that's what you are doing. Sorry. 2019-09-17T12:34:46Z beach: For that, you need to add a link to ~/quiclisp/local_projects. 2019-09-17T12:34:57Z beach: I may have the name wrong. 2019-09-17T12:35:03Z beach: Hold on... 2019-09-17T12:35:08Z Bike: you said "the project's" asd file. do you load the project after starting slime? 2019-09-17T12:35:32Z eigenhombre googles... 2019-09-17T12:35:34Z beach: ~/quicklisp/local-projects. 2019-09-17T12:36:08Z ljavorsk__ quit (Ping timeout: 245 seconds) 2019-09-17T12:36:44Z jmercouris: just a point of clarification: You don't have to quickload cl-ppcre in your sbclrc, you can just quickload your project 2019-09-17T12:37:01Z yoja joined #lisp 2019-09-17T12:37:42Z thijso: So, put a symlink to your own project's asd file in ~/quicklisp/local-projects, the in slime do (ql:quickload :your-project) and it should pick up the libraries from quicklisp like cl-ppcre and others. 2019-09-17T12:37:50Z beach: eigenhombre: It looks like you are getting plenty of help, so I'll be quiet. Others know better than I do. 2019-09-17T12:37:56Z thijso: s/the in slime/then in slime/ 2019-09-17T12:38:10Z eigenhombre: I do have the symlink, but that's for libraries I make, right, not Quicklisp dependencies? Ah, I'll try `quickload`ing my project... 2019-09-17T12:38:37Z Bike: i mean if you don't actually load your project the asd has nothing to do with your system. 2019-09-17T12:40:10Z eigenhombre: Got it. Do Emacs people do a separate `ql:quickload` of the current system (that they're developing on) at the REPL then, whenever they make changes to e.g. dependencies? 2019-09-17T12:40:24Z flamebeard quit 2019-09-17T12:40:36Z Bike: this doesn't really have much to do with emacs. but yeah something like that. 2019-09-17T12:41:20Z thijso: I always do (ql:quickload :my-proj)(in-package :my-proj) in slime 2019-09-17T12:42:38Z ck_: C-c M-p is a shorter command for the latter 2019-09-17T12:42:43Z eigenhombre: Ah! 2019-09-17T12:44:20Z eigenhombre: What does C-c M-p expand into? (So I can google) 2019-09-17T12:45:47Z ralt: `C-h k C-c M-p` will tell you :) 2019-09-17T12:45:59Z Bike: slime-repl-set-package, i guess 2019-09-17T12:46:01Z thijso: C-h ... ah, too late. What ralt said 2019-09-17T12:46:25Z Bike: you might have more luck with using slime's documentation than the internet's, anyway 2019-09-17T12:46:55Z ljavorsk__ joined #lisp 2019-09-17T12:48:20Z FreeBirdLjj joined #lisp 2019-09-17T12:48:58Z eigenhombre: yes, it's `slime-repl-set-package` - I have that working now for a minimal project w/ no deps. lemme try adding a dependency... 2019-09-17T12:49:17Z ralt: I'm surprised dim hasn't written pllisp, similar to https://www.postgresql.org/docs/9.5/plpython.html 2019-09-17T12:50:06Z Bike: just to make sure you're clear on this... adding something to the file will not itself change anything in lisp. lisp doesn't continually poll your files or anything. you have to go through and tell lisp to load something 2019-09-17T12:51:13Z ralt: dim: did you consider it? 2019-09-17T12:51:23Z thijso thinks maybe he shoud figure out how to get swank running in his app on the phone, so he doesn't have a >1.5 minute roundtrip to debug it 2019-09-17T12:51:34Z ralt: thijso: that's super easy 2019-09-17T12:52:17Z ralt: I have that function in most of my apps: https://pastebin.com/4je6aUHr 2019-09-17T12:52:26Z eigenhombre: Bike: I get that -- thank you. I'm trying to figure out the best workflow. I got `slime-repl-set-package` to work on a brand new ASDF project (created with `cl-project:makeproject`). However, when I add e.g. `"arrow-macros"` to `depends-on` in the ASD file, it does not find the dependency yet (e.g. when I `slime-set-package` again). Still trying to figure that out. 2019-09-17T12:52:32Z thijso: Yeah, I actually stripped it out. So I should just put it back. 2019-09-17T12:52:59Z Bike: eigenhombre: slime-set-package doesn't load anything. 2019-09-17T12:53:06Z eigenhombre: Ah, fixed it - I had to re-Quickload my project. 2019-09-17T12:53:09Z eigenhombre: Got it working. 2019-09-17T12:53:14Z FreeBirdLjj quit (Ping timeout: 276 seconds) 2019-09-17T12:53:17Z Bike: there's a distinction between packages and systems. systems are collections of code in file and etc. packages are just namespaces for symbols. 2019-09-17T12:53:34Z eigenhombre: OK, lemme digest all that. Progress... thanks everyone! 2019-09-17T12:54:22Z Bike: setting the package just means telling lisp that it should understand unqualified symbol names to be in such and such package/namespace. 2019-09-17T12:56:11Z raghavgururajan joined #lisp 2019-09-17T12:57:12Z refpga` joined #lisp 2019-09-17T13:00:43Z refpga quit (Ping timeout: 265 seconds) 2019-09-17T13:01:11Z refpga joined #lisp 2019-09-17T13:05:06Z eigenhombre: Everyone, I was just able to clean up my dependencies on a multi-file project and get that all working smoothly, thanks to your suggestions ... thanks again. 2019-09-17T13:06:22Z Bike: great 2019-09-17T13:07:00Z fragamus joined #lisp 2019-09-17T13:12:20Z fragamus quit (Ping timeout: 268 seconds) 2019-09-17T13:13:55Z beach: eigenhombre: Good luck! 2019-09-17T13:15:26Z fragamus joined #lisp 2019-09-17T13:19:14Z lucasb joined #lisp 2019-09-17T13:23:24Z retropikzel joined #lisp 2019-09-17T13:24:47Z igemnace joined #lisp 2019-09-17T13:24:48Z papachan joined #lisp 2019-09-17T13:28:15Z FreeBirdLjj joined #lisp 2019-09-17T13:29:35Z papachan quit (Client Quit) 2019-09-17T13:32:13Z bitmapper quit 2019-09-17T13:33:06Z FreeBirdLjj quit (Ping timeout: 265 seconds) 2019-09-17T13:37:39Z ljavorsk__ quit (Ping timeout: 240 seconds) 2019-09-17T13:40:29Z bittin_ joined #lisp 2019-09-17T13:40:32Z bittin_: https://www.redhat.com/en/command-line-heroes/season-3/talking-to-machines 2019-09-17T13:40:53Z bittin_ quit (Changing host) 2019-09-17T13:40:53Z bittin_ joined #lisp 2019-09-17T13:41:40Z bittin_ quit (Quit: Leaving) 2019-09-17T13:44:05Z igemnace quit (Remote host closed the connection) 2019-09-17T13:44:45Z igemnace joined #lisp 2019-09-17T13:47:16Z maxxcan joined #lisp 2019-09-17T13:47:29Z maxxcan quit (Remote host closed the connection) 2019-09-17T13:53:46Z refpga quit (Ping timeout: 245 seconds) 2019-09-17T13:53:56Z igemnace quit (Remote host closed the connection) 2019-09-17T13:54:10Z refpga joined #lisp 2019-09-17T13:54:25Z raghavgururajan quit (Read error: Connection reset by peer) 2019-09-17T13:54:58Z isBEKaml joined #lisp 2019-09-17T13:55:19Z igemnace joined #lisp 2019-09-17T14:01:33Z orivej joined #lisp 2019-09-17T14:06:25Z dpl joined #lisp 2019-09-17T14:08:38Z refpga quit (Ping timeout: 276 seconds) 2019-09-17T14:09:15Z dpl_ quit (Ping timeout: 240 seconds) 2019-09-17T14:09:15Z refpga joined #lisp 2019-09-17T14:09:37Z cosimone joined #lisp 2019-09-17T14:11:14Z dpl quit (Ping timeout: 276 seconds) 2019-09-17T14:11:19Z dpl_ joined #lisp 2019-09-17T14:13:03Z dale_ joined #lisp 2019-09-17T14:13:17Z dale_ is now known as dale 2019-09-17T14:18:08Z sjl_ joined #lisp 2019-09-17T14:18:56Z fragamus quit (Ping timeout: 268 seconds) 2019-09-17T14:33:01Z Frobozz joined #lisp 2019-09-17T14:34:58Z dpl_ quit (Ping timeout: 268 seconds) 2019-09-17T14:36:32Z dpl joined #lisp 2019-09-17T14:39:08Z bitmapper joined #lisp 2019-09-17T14:50:10Z rippa joined #lisp 2019-09-17T14:52:14Z Oladon_wfh joined #lisp 2019-09-17T14:53:02Z tourjin joined #lisp 2019-09-17T14:54:03Z nowhereman quit (Ping timeout: 240 seconds) 2019-09-17T14:54:24Z mindCrime_ joined #lisp 2019-09-17T14:56:14Z jasom joined #lisp 2019-09-17T14:57:05Z igemnace quit (Quit: WeeChat 2.6) 2019-09-17T14:58:59Z igemnace joined #lisp 2019-09-17T14:59:01Z dpl quit (Ping timeout: 268 seconds) 2019-09-17T14:59:59Z dpl__ quit (Ping timeout: 276 seconds) 2019-09-17T15:03:13Z igemnace quit (Remote host closed the connection) 2019-09-17T15:04:29Z igemnace joined #lisp 2019-09-17T15:07:20Z wxie joined #lisp 2019-09-17T15:07:49Z refpga` quit (Remote host closed the connection) 2019-09-17T15:13:12Z igemnace quit (Ping timeout: 268 seconds) 2019-09-17T15:14:03Z Necktwi joined #lisp 2019-09-17T15:14:55Z wxie quit (Remote host closed the connection) 2019-09-17T15:16:03Z tourjin quit (Ping timeout: 265 seconds) 2019-09-17T15:16:57Z APic quit (Ping timeout: 244 seconds) 2019-09-17T15:18:05Z cosimone quit (Quit: Terminated!) 2019-09-17T15:18:46Z isBEKaml quit (Quit: leaving) 2019-09-17T15:20:03Z shifty quit (Ping timeout: 258 seconds) 2019-09-17T15:20:20Z APic joined #lisp 2019-09-17T15:20:29Z edgar-rft quit (Quit: Leaving) 2019-09-17T15:23:18Z serge28 joined #lisp 2019-09-17T15:25:14Z APic quit (Ping timeout: 265 seconds) 2019-09-17T15:26:27Z synchromesh joined #lisp 2019-09-17T15:26:53Z FreeBirdLjj joined #lisp 2019-09-17T15:31:27Z igemnace joined #lisp 2019-09-17T15:31:53Z lambda-smith joined #lisp 2019-09-17T15:39:21Z drmeister: What do folks usually do when they want to write a function that returns a shallow copy of instances of a class? 2019-09-17T15:39:44Z elfmacs quit (Ping timeout: 265 seconds) 2019-09-17T15:39:53Z lambda-smith quit (Quit: Konversation terminated!) 2019-09-17T15:40:07Z drmeister: I'm implementing a genetic algorithm to mutate a complex object and it's going to be useful to make shallow copies of instances of a class. If I change the class I want the shallow copier to keep up to date. 2019-09-17T15:40:13Z lambda-smith joined #lisp 2019-09-17T15:40:14Z dlowe: I've made a MOP shallow copy before 2019-09-17T15:40:34Z synchromesh quit (Remote host closed the connection) 2019-09-17T15:40:42Z drmeister: https://usercontent.irccloud-cdn.com/file/O2DY5Lap/image.png 2019-09-17T15:41:11Z drmeister: Every one of those lipid molecules is represented by an instance of a class called ga-lipid. I want to shallow copy the slots of ga-lipid. 2019-09-17T15:41:36Z drmeister: dlowe: A MOP shallow copy... please go on. 2019-09-17T15:41:59Z synchromesh joined #lisp 2019-09-17T15:42:04Z synchromesh: minion: registration, please? 2019-09-17T15:42:05Z minion: The URL https://gitlab.common-lisp.net/users/sign_in?secret=d703f907 will be valid until 15:45 UTC. 2019-09-17T15:42:10Z drmeister: https://stackoverflow.com/questions/11067899/is-there-a-generic-method-for-cloning-clos-objects 2019-09-17T15:42:20Z LiamH joined #lisp 2019-09-17T15:44:30Z gareppa joined #lisp 2019-09-17T15:45:25Z dlowe: yeah, that looks like a good implementation 2019-09-17T15:53:04Z synchromesh: minion: registration, please? 2019-09-17T15:53:05Z minion: The URL https://gitlab.common-lisp.net/users/sign_in?secret=9eebcba6 will be valid until 16:00 UTC. 2019-09-17T16:01:49Z gareppa quit (Quit: Leaving) 2019-09-17T16:04:12Z amerigo quit (Quit: Connection closed for inactivity) 2019-09-17T16:06:48Z gareppa joined #lisp 2019-09-17T16:15:16Z fragamus joined #lisp 2019-09-17T16:16:27Z jeosol quit (Ping timeout: 260 seconds) 2019-09-17T16:16:58Z scymtym quit (Ping timeout: 245 seconds) 2019-09-17T16:19:43Z bitmapper quit 2019-09-17T16:20:25Z fragamus quit (Ping timeout: 268 seconds) 2019-09-17T16:21:27Z tokik joined #lisp 2019-09-17T16:21:54Z tokik quit (Client Quit) 2019-09-17T16:22:13Z georgie joined #lisp 2019-09-17T16:26:35Z Necktwi quit (Ping timeout: 268 seconds) 2019-09-17T16:26:58Z ralt: drmeister: I'm not sure it's relevant, but IME it's easier to have immutable-ish objects and do CoW 2019-09-17T16:27:40Z dlowe: ralt: that's what he wants. 2019-09-17T16:27:57Z dlowe: he's asking how to easily do the CoW part 2019-09-17T16:28:00Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-17T16:28:18Z ralt: ah, shallow copy doesn't imply that for me, but ok :) 2019-09-17T16:28:37Z FreeBirdLjj joined #lisp 2019-09-17T16:30:13Z dlowe: in context 2019-09-17T16:30:30Z cosimone joined #lisp 2019-09-17T16:30:49Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-17T16:33:07Z jmercouris: I believe that *may* be referred to as a shallow copy, it definitely is in the java world 2019-09-17T16:33:09Z Lord_of_Life_ joined #lisp 2019-09-17T16:33:35Z FreeBirdLjj quit (Ping timeout: 276 seconds) 2019-09-17T16:34:13Z gareppa quit (Quit: Leaving) 2019-09-17T16:35:51Z Lord_of_Life quit (Ping timeout: 245 seconds) 2019-09-17T16:36:01Z Lord_of_Life_ is now known as Lord_of_Life 2019-09-17T16:37:42Z varjagg joined #lisp 2019-09-17T16:38:01Z hhdave quit (Quit: hhdave) 2019-09-17T16:38:46Z shka_ joined #lisp 2019-09-17T16:39:26Z nanoz quit (Ping timeout: 276 seconds) 2019-09-17T16:39:36Z Necktwi joined #lisp 2019-09-17T16:40:14Z drmeister: ralt: How do you do copy on write? 2019-09-17T16:40:36Z ralt: that's a very good question :D 2019-09-17T16:41:16Z ralt: some sort of setf that returns a new instance with only the new slot being reinstantiated while all the other slots are references to the older instance's slots? 2019-09-17T16:42:52Z gravicappa joined #lisp 2019-09-17T16:43:10Z drmeister: Ok, I'll think on that. It's a good idea. 2019-09-17T16:43:33Z aeth: structs have a copy-foo function automatically generated, but there is no copy method in widespread usage for standard-objects afaik 2019-09-17T16:43:42Z drmeister: I profiled the copying function I did write and it allowed me to copy 4444 membranes/second. 2019-09-17T16:44:01Z drmeister: Then I profiled it with our tools and made a few changes and got it up to more than 16,000/second. 2019-09-17T16:44:40Z drmeister: aeth: Yeah - copying an instance is very dependent on the data structure. 2019-09-17T16:45:17Z srji quit (Ping timeout: 276 seconds) 2019-09-17T16:47:13Z aeth: drmeister: Well, yes, but a default shallow copy is the topic, right? Obviously not an ideal copy... 2019-09-17T16:48:21Z drmeister: Right - but more happened between me asking and now - I accidentally switched to a different IRC window and started describing my progress in finding code to do this there - thinking I was here. 2019-09-17T16:48:47Z aeth: ah 2019-09-17T16:48:47Z drmeister: I found a generic MOP based shallow instance copier. It was a bit slow - so I wrote some specific code. 2019-09-17T16:49:02Z drmeister: Yeah - it's all in #clasp 2019-09-17T16:52:50Z Xach: heh 2019-09-17T16:59:16Z analogue joined #lisp 2019-09-17T17:00:23Z ggole quit (Quit: Leaving) 2019-09-17T17:00:44Z synchromesh quit (Remote host closed the connection) 2019-09-17T17:10:24Z retropikzel quit (Remote host closed the connection) 2019-09-17T17:11:56Z analogue quit (Ping timeout: 276 seconds) 2019-09-17T17:16:01Z analogue joined #lisp 2019-09-17T17:16:09Z analogue quit (Remote host closed the connection) 2019-09-17T17:16:28Z analogue joined #lisp 2019-09-17T17:18:26Z shangul quit (Ping timeout: 276 seconds) 2019-09-17T17:21:43Z sjl_: is clhs.lisp.se returning Content-Type: application/octet-stream for anyone else? Which makes firefox try to download the hyperspec pages instead of displaying them as HTML 2019-09-17T17:21:54Z Xach: sjl_: someone mentioned that a few days ago 2019-09-17T17:22:03Z akoana joined #lisp 2019-09-17T17:22:09Z Xach: I didn't know anyone used clhs.lisp.se - I have always used lispworks's version. 2019-09-17T17:22:34Z Bike: lisp.se comes up for me first on google, is the tragic part 2019-09-17T17:22:36Z sjl_: Sometimes I google for "clhs whatever" and clhs.lisp.se is the first result 2019-09-17T17:22:38Z sjl_: yeah 2019-09-17T17:23:13Z Xach: oh. i always use a redirector thingy. 2019-09-17T17:23:58Z Oladon_wfh: You can do !clhs on DuckDuckGo (uses the LispWorks version) 2019-09-17T17:24:03Z Xach: l1sp.org/cl/11.1.2.1.2 or xach.com/clhs 2019-09-17T17:25:08Z Xach: Shinmera: FYI http://report.quicklisp.org/2019-09-17/failure-report/uax-9.html#uax-9-test 2019-09-17T17:26:12Z APic joined #lisp 2019-09-17T17:26:30Z ck_: Xach: is there a mechanism or report to check the most recent time quicklisp has checked some repository for updates? 2019-09-17T17:27:32Z Xach: ck_: no. i would like to add that info, so you could find out detailed provenance for a project, including when it was retrieved. but that is not there yet. 2019-09-17T17:27:55Z Xach: ck_: projects are generally checked daily, so the date of the check is the date of the quicklisp dist update. 2019-09-17T17:29:05Z Xach: there are some exceptions, like if a project is unreachable and i have a cached copy 2019-09-17T17:31:12Z ck_: I see thank you. The specific reason I asked is that I was waiting for the newest version of float-features (also by Shinmera), and I wasn't sure whether projects on github.io used some other method 2019-09-17T17:31:17Z ck_: or maybe I am doing something wrong 2019-09-17T17:32:11Z Bike quit (Remote host closed the connection) 2019-09-17T17:32:56Z Bike joined #lisp 2019-09-17T17:33:05Z Xach: ck_: I hope to make a new dist update very soon 2019-09-17T17:34:42Z scymtym joined #lisp 2019-09-17T17:36:56Z shangul joined #lisp 2019-09-17T17:38:10Z ck_: Thank you very much for the clarification 2019-09-17T17:40:39Z Oladon_wfh quit (Remote host closed the connection) 2019-09-17T17:43:26Z nanoz joined #lisp 2019-09-17T17:44:42Z pjb quit (Ping timeout: 246 seconds) 2019-09-17T17:52:06Z ravenous_ joined #lisp 2019-09-17T17:55:56Z catchme joined #lisp 2019-09-17T18:02:13Z gravicappa quit (Ping timeout: 258 seconds) 2019-09-17T18:02:57Z Shinmera: Xach: That was fixed a long time ago already :) https://github.com/Shinmera/uax-9/commit/1bd98c75b601f025c9d7fc2930f2f79db5d17831 2019-09-17T18:03:09Z Shinmera: Xach: Thanks to your RSS feeds! 2019-09-17T18:03:35Z Necktwi quit (Quit: leaving) 2019-09-17T18:05:19Z Bike quit (Remote host closed the connection) 2019-09-17T18:06:41Z notzmv joined #lisp 2019-09-17T18:11:31Z Xach: Shinmera: phew! so YOU'RE the rss user! 2019-09-17T18:16:16Z Bike joined #lisp 2019-09-17T18:17:28Z gxt quit (Ping timeout: 260 seconds) 2019-09-17T18:20:12Z ravenou__ joined #lisp 2019-09-17T18:21:03Z pjb joined #lisp 2019-09-17T18:21:12Z cosimone quit (Quit: Quit.) 2019-09-17T18:21:29Z adip quit (Ping timeout: 276 seconds) 2019-09-17T18:23:26Z ravenous_ quit (Ping timeout: 276 seconds) 2019-09-17T18:25:23Z paul0 quit (Ping timeout: 276 seconds) 2019-09-17T18:26:12Z sauvin quit (Read error: Connection reset by peer) 2019-09-17T18:27:07Z dlowe: I use RSS too 2019-09-17T18:29:34Z Xach: dlowe: but your stuff is never broken 2019-09-17T18:29:38Z refpga quit (Ping timeout: 240 seconds) 2019-09-17T18:30:20Z refpga joined #lisp 2019-09-17T18:30:31Z dlowe: Xach: I also had to stop working on my one thing :) Maybe someday I can get back and rough it up some 2019-09-17T18:30:59Z vlatkoB quit (Remote host closed the connection) 2019-09-17T18:32:45Z Xach: ok 2019-09-17T18:34:22Z serge28 quit (Remote host closed the connection) 2019-09-17T18:36:57Z Oladon_wfh joined #lisp 2019-09-17T18:38:39Z edgar-rft joined #lisp 2019-09-17T18:40:56Z adip joined #lisp 2019-09-17T18:42:26Z lambda-smith quit (Quit: Konversation terminated!) 2019-09-17T18:45:20Z refpga quit (Ping timeout: 268 seconds) 2019-09-17T18:45:58Z techquila joined #lisp 2019-09-17T18:51:05Z EvW joined #lisp 2019-09-17T18:51:15Z shangul quit (Ping timeout: 240 seconds) 2019-09-17T18:55:45Z xkapastel joined #lisp 2019-09-17T18:57:03Z ralt quit (Quit: Connection closed for inactivity) 2019-09-17T19:10:51Z jmercouris quit (Ping timeout: 245 seconds) 2019-09-17T19:14:41Z libertyprime joined #lisp 2019-09-17T19:15:11Z analogue quit (Quit: later alligator) 2019-09-17T19:17:16Z anewuser joined #lisp 2019-09-17T19:19:57Z Ricchi joined #lisp 2019-09-17T19:25:26Z troydm quit (Ping timeout: 245 seconds) 2019-09-17T19:25:50Z shangul joined #lisp 2019-09-17T19:27:56Z alexanderbarbosa quit (Read error: Connection reset by peer) 2019-09-17T19:29:38Z refpga joined #lisp 2019-09-17T19:34:18Z ravenou__ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-17T19:37:51Z ralt joined #lisp 2019-09-17T19:43:55Z shangul quit (Ping timeout: 268 seconds) 2019-09-17T19:46:00Z Ven`` joined #lisp 2019-09-17T19:51:06Z shangul joined #lisp 2019-09-17T19:51:07Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-17T19:55:40Z karlosz joined #lisp 2019-09-17T20:01:07Z krid joined #lisp 2019-09-17T20:01:35Z pjb quit (Ping timeout: 276 seconds) 2019-09-17T20:10:27Z shka_ quit (Ping timeout: 240 seconds) 2019-09-17T20:14:09Z bjorkintosh quit (Quit: Leaving) 2019-09-17T20:15:27Z paul0 joined #lisp 2019-09-17T20:23:56Z krid quit (Ping timeout: 265 seconds) 2019-09-17T20:27:51Z mindthelion joined #lisp 2019-09-17T20:27:53Z mindthelion quit (Remote host closed the connection) 2019-09-17T20:28:09Z mindthelion joined #lisp 2019-09-17T20:28:54Z amerlyq quit (Quit: amerlyq) 2019-09-17T20:30:40Z techquila quit (Ping timeout: 264 seconds) 2019-09-17T20:31:16Z karlosz quit (Ping timeout: 264 seconds) 2019-09-17T20:31:19Z paul0 quit (Remote host closed the connection) 2019-09-17T20:31:46Z paul0 joined #lisp 2019-09-17T20:42:12Z gxt joined #lisp 2019-09-17T20:47:35Z fragamus joined #lisp 2019-09-17T20:52:42Z davr0s joined #lisp 2019-09-17T20:52:48Z davr0s_ joined #lisp 2019-09-17T20:55:09Z t58 joined #lisp 2019-09-17T20:56:24Z igemnace quit (Remote host closed the connection) 2019-09-17T20:56:58Z igemnace joined #lisp 2019-09-17T21:00:49Z mindthelion quit (Quit: Drops mic, and fucks off back to wherever he crawled out of.) 2019-09-17T21:02:07Z mindCrime_ quit (Ping timeout: 265 seconds) 2019-09-17T21:06:33Z krid joined #lisp 2019-09-17T21:15:09Z stux|RC-only quit (Quit: Aloha!) 2019-09-17T21:15:39Z catchme quit (Quit: Connection closed for inactivity) 2019-09-17T21:16:43Z v0|d joined #lisp 2019-09-17T21:17:06Z Blukunfando quit (Ping timeout: 245 seconds) 2019-09-17T21:17:37Z thijso: Anybody familiar with android architecture? It's apparently a little different from normal linux (despite a lot of appearances), in that calling bt:join-thread just completely locks up your app. Nothing will ever happen after you call that, it seems. Or maybe I'm just doing something wrong. 2019-09-17T21:18:12Z thijso: But a long time debugging, and I've narrowed it down to that call. On ECL, that just does an mp:join-process under the hood. And then everything grinds to a halt... 2019-09-17T21:19:39Z Frobozz quit (Ping timeout: 240 seconds) 2019-09-17T21:19:45Z pgomes joined #lisp 2019-09-17T21:21:22Z stux|RC-only joined #lisp 2019-09-17T21:21:48Z ralt: thijso: it's likely that one of your thread is not finished? 2019-09-17T21:21:53Z pgomes quit (Remote host closed the connection) 2019-09-17T21:22:10Z ralt: thijso: did you check with `M-x slime-list-threads` or w/e that was? 2019-09-17T21:22:44Z thijso: Not really, no. It's one thread, and that finished pretty quickly. Exact same code runs without trouble on regular linux with ECL. 2019-09-17T21:23:37Z pgomes joined #lisp 2019-09-17T21:23:45Z troydm joined #lisp 2019-09-17T21:24:00Z thijso: Yeah, no, as that is very hard to do running on my current setup. I'll have to look into getting swank running again. It's not as simple, because you need a specialized form of quicklisp and swank. 2019-09-17T21:24:17Z Blukunfando joined #lisp 2019-09-17T21:24:18Z thijso: But EQL5-Android includes examples with it, so I'll go take a look at those. 2019-09-17T21:24:40Z thijso: (So it's not hard to do, I'm just lazy, and haven't done it yet) 2019-09-17T21:24:42Z thijso: ;) 2019-09-17T21:26:43Z Xach: thijso: i'm curious - what sort of specializations are needed for quicklisp? 2019-09-17T21:28:33Z thijso: Not exactly sure what the function does, but it includes this comment: ;; replace interpreted function with precompiled one from DEFLATE 2019-09-17T21:29:07Z Oladon_wfh quit (Ping timeout: 260 seconds) 2019-09-17T21:29:14Z thijso: It's in EQL5-Android/examples/REPL/lisp/ini.lisp 2019-09-17T21:30:50Z Xach: ah 2019-09-17T21:34:55Z pgomes quit (Ping timeout: 268 seconds) 2019-09-17T21:36:04Z johs quit (Read error: Connection reset by peer) 2019-09-17T21:36:13Z johs joined #lisp 2019-09-17T21:40:15Z karlosz joined #lisp 2019-09-17T21:45:08Z superkumasan joined #lisp 2019-09-17T21:49:31Z varjagg quit (Quit: ERC (IRC client for Emacs 26.1)) 2019-09-17T21:50:49Z thijso: Hhmmm... might have spoken too soon. Had a bunch of code commented out in my 'working' version. Looks like the thread is actually dying in there somewhere... 2019-09-17T21:52:51Z asdf_asdf_asdf joined #lisp 2019-09-17T21:53:06Z asdf_asdf_asdf: Hi. Why it return note: deleting unreachable code? 2019-09-17T21:53:40Z asdf_asdf_asdf: https://cpy.pt/2Wrds2N8 2019-09-17T21:53:40Z Xach: asdf_asdf_asdf: because it has determined that the code cannot be reached and it does not need to be included in the compiled code 2019-09-17T21:53:49Z Xach: that is not a return value but a note 2019-09-17T21:54:31Z asdf_asdf_asdf: So, how it fix? 2019-09-17T21:54:35Z Xach: asdf_asdf_asdf: it is deleting the last form because your case always returns before the final form is reached. 2019-09-17T21:55:20Z fragamus quit (Ping timeout: 276 seconds) 2019-09-17T21:56:00Z Xach: asdf_asdf_asdf: your unconventional indentation makes it hard to see the control flow quickly. 2019-09-17T21:56:41Z Xach: asdf_asdf_asdf: do you understand why nothing can be reached after the case form? 2019-09-17T21:57:35Z nanoz quit (Ping timeout: 258 seconds) 2019-09-17T21:59:13Z jfb4 joined #lisp 2019-09-17T22:00:14Z Bike quit (Quit: Bike) 2019-09-17T22:02:00Z Aruseus joined #lisp 2019-09-17T22:03:20Z asdf_asdf_asdf: @Xach; because otherwise never be executed. 2019-09-17T22:04:23Z thijso: Hmmm... does ECL do something different with vectors? Looks like (incf (size-of queue)) is dying. 2019-09-17T22:04:34Z Xach: asdf_asdf_asdf: no. 2019-09-17T22:05:03Z Xach: thijso: which part is the vector there? 2019-09-17T22:05:06Z asdf_asdf_asdf: @thijso; sb-sys::int-vector? 2019-09-17T22:06:12Z thijso: Wait, no. That's just a slot accessor for a number. Huh? 2019-09-17T22:06:43Z thijso: It's just increasing a number from 0 to 1 and it's dying? I don't get it. 2019-09-17T22:07:19Z Xach: What is queue? What is size-of? 2019-09-17T22:08:22Z thijso: queue is a defclass with a slot size and that has accessor size-of. 2019-09-17T22:08:35Z thijso: (size :initform 0 :accessor size-of) 2019-09-17T22:08:46Z Xach: ok. weird. 2019-09-17T22:09:59Z thijso: Although, maybe it's dying on subsequent iterations. It's very irritating, as all my debugging output gets lost when it dies. So I can only figure out stuff when it *doesn't* die. Pain in the you-know-what... 2019-09-17T22:10:09Z thijso: Maybe time to get swank running tomorrow... 2019-09-17T22:16:04Z cosimone joined #lisp 2019-09-17T22:19:41Z asdf_asdf_asdf: Sorry, I don't know why it's unreachable. 2019-09-17T22:20:19Z phadthai quit (Remote host closed the connection) 2019-09-17T22:22:40Z sjl_ quit (Quit: WeeChat 2.3-dev) 2019-09-17T22:23:20Z sjl quit (Quit: WeeChat 2.2-dev) 2019-09-17T22:27:50Z shangul quit (Ping timeout: 276 seconds) 2019-09-17T22:30:44Z Xach: asdf_asdf_asdf: it is because you use return-from 2019-09-17T22:33:29Z asdf_asdf_asdf: Xach; sorry, because I don't know how works instruction return*. 2019-09-17T22:33:42Z asdf_asdf_asdf: In Common Lisp. 2019-09-17T22:33:53Z asdf_asdf_asdf: I must define special block using block operator? 2019-09-17T22:34:05Z shifty joined #lisp 2019-09-17T22:36:11Z karlosz quit (Quit: karlosz) 2019-09-17T22:36:42Z karlosz joined #lisp 2019-09-17T22:37:10Z gilberth__: asdf_asdf_asdf: Perhaps you first learn some Common Lisp and stop using it like you would use C. 2019-09-17T22:37:16Z Xach: asdf_asdf_asdf: no. 2019-09-17T22:37:35Z EvW quit (Ping timeout: 276 seconds) 2019-09-17T22:37:56Z Xach: asdf_asdf_asdf: there is no way for the control of the program to proceed past your CASE form. every outcome of the form results in control returning to somewhere else. no forms after it are reachable. 2019-09-17T22:38:09Z Xach: that is why you get an unreachable error 2019-09-17T22:38:12Z Xach: sorry, note. 2019-09-17T22:38:29Z Xach: it is not an error to have unreachable code. but it is usually a sign of misunderstanding. 2019-09-17T22:38:40Z cyraxjoe quit (Quit: I'm out!) 2019-09-17T22:42:09Z asdf_asdf_asdf: @Xach; very thanks for help. I wrote: 2019-09-17T22:42:21Z asdf_asdf_asdf: And works valid? 2019-09-17T22:42:29Z karlosz quit (Quit: karlosz) 2019-09-17T22:43:01Z gilberth__: Or to put it otherwise, if you don't mind, Xach, in CL there is no need to RETURN-FROM a function make it yield a value. 2019-09-17T22:43:43Z fragamus joined #lisp 2019-09-17T22:44:04Z gilberth__ has an "to" extra. 2019-09-17T22:46:45Z bitmapper joined #lisp 2019-09-17T22:47:36Z gilberth__ is hacking in Lisp for over 30 years now and almost never uses RETURN-FROM. 2019-09-17T22:47:53Z Xach: gilberth__: when you started they had not yet invented it! 2019-09-17T22:48:07Z Xach: you had to use jump-if-not-zero and such! 2019-09-17T22:48:13Z gilberth__: Xach: But CATCH/THROW was there :) 2019-09-17T22:48:50Z asdf_asdf_asdf: OK, so thanks. (return-from... is bad practice? 2019-09-17T22:49:22Z Bike joined #lisp 2019-09-17T22:50:02Z gilberth__: Xach: You mean C2 xx xx? 2019-09-17T22:50:11Z Xach: asdf_asdf_asdf: no. but it is essential to understand how it works and how it affects control flow and why it might lead to unreachable code. 2019-09-17T22:51:19Z asdf_asdf_asdf: OK. 2019-09-17T22:51:50Z libertyprime quit (Ping timeout: 265 seconds) 2019-09-17T22:54:14Z paul0 quit (Remote host closed the connection) 2019-09-17T22:54:40Z paul0 joined #lisp 2019-09-17T22:54:51Z gilberth__: asdf_asdf_asdf: The one thing you really must get is, that Lisp does not distinguish between statements and expressions like most other languages do. 2019-09-17T22:55:34Z asdf_asdf_asdf: I noticed. 2019-09-17T22:56:01Z gilberth__: It's fine to say e.g. (+ (IF X 3 4) 42) 2019-09-17T22:56:13Z gilberth__: Bad example, since C has 2019-09-17T22:56:19Z gilberth__: ?: even 2019-09-17T22:56:45Z gilberth__: Another example (+ (CASE X (:FOO 3) (:BAR 4) (T 0)) 42) 2019-09-17T23:03:38Z cosimone quit (Ping timeout: 245 seconds) 2019-09-17T23:08:27Z anewuser quit (Ping timeout: 240 seconds) 2019-09-17T23:11:52Z gilberth__: Xach: BTW I am not _that_ olde, CLtL1 was published as I was 10yo which was about the time I came into contact with Lisp. 2019-09-17T23:13:11Z Xach: gilberth__: sorry, you can't fool me. all cmucl hackers are very very old. 2019-09-17T23:13:40Z gilberth__: Well, I am not a CMUCL hacker :) 2019-09-17T23:13:55Z libertyprime joined #lisp 2019-09-17T23:14:09Z Xach: oh, ok, then you may be younger than old 2019-09-17T23:14:25Z gilberth__: Or did you using CMUCL? Thes, yes. 2019-09-17T23:14:31Z gilberth__: * Then 2019-09-17T23:14:45Z gilberth__ types garbage. 2019-09-17T23:15:18Z LiamH quit (Quit: Leaving.) 2019-09-17T23:15:59Z gilberth__: But, yes, I wonder when was BLOCK/RETURN-FROM invented? I bet Zeta Lisp has that, too. 2019-09-17T23:17:47Z Xach: perhaps by catherine zeta-lisp 2019-09-17T23:18:44Z Bike: the other day i looked at the lisp 1.5 manual, and it has return, and prog has a block. no naming or dynamic extent or anything though 2019-09-17T23:19:18Z gilberth__: Yes, I believe PROG had RETURN for ages. 2019-09-17T23:19:48Z gilberth__: As if you cannot write PORGrams without PROG. But don't tell asdf_asdf_asdf. 2019-09-17T23:21:59Z gilberth__: Standard Lisp is funny. It allows RETURN and GO in a tail position only. Calls for LABELS. 2019-09-17T23:24:42Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-17T23:26:20Z libertyprime quit (Ping timeout: 276 seconds) 2019-09-17T23:27:31Z analogue joined #lisp 2019-09-17T23:28:10Z lxbarbosa joined #lisp 2019-09-17T23:30:29Z phadthai joined #lisp 2019-09-17T23:31:45Z karlosz joined #lisp 2019-09-17T23:34:50Z lxbarbosa quit (Quit: ERC (IRC client for Emacs 26.1)) 2019-09-17T23:35:26Z lxbarbosa joined #lisp 2019-09-17T23:37:03Z ralt: always hate this gotcha. https://pastebin.com/95ryYMmT 2019-09-17T23:38:24Z Bike: if i read it correctly it was even worse, like i don't think you could GO from a nested if 2019-09-17T23:39:30Z karlosz quit (Quit: karlosz) 2019-09-17T23:39:58Z gilberth__: Bike: IIRC you'd need COND for that. But don't nail me on that. 2019-09-17T23:40:01Z Xach: ralt: which one? 2019-09-17T23:40:09Z Xach can't remember exactly what ppcre:scan does 2019-09-17T23:40:29Z Xach: oh, right, the range operator 2019-09-17T23:40:35Z ralt: Xach: the position of the dash 2019-09-17T23:40:42Z gilberth__: It tries to apply Perl regexps (with all their bad semantics) to a string. 2019-09-17T23:40:42Z Xach: That's why I always put dashes as the first thing in []... 2019-09-17T23:41:00Z gilberth__: Same here. 2019-09-17T23:42:13Z ralt: I learn that lesson every other year when I hit that bug... 2019-09-17T23:42:41Z gilberth__: And why don't you remember that lesson? 2019-09-17T23:42:50Z ralt: I'm a goldfish 2019-09-17T23:43:04Z Xach: nice 2019-09-17T23:43:13Z gilberth__: BTW, I often use "[x]" for quoting, since I simply cannot remember what to quote and what not. 2019-09-17T23:44:12Z gilberth__: And it's different in [POSIX] basic regular expression versus extended regular expressions. 2019-09-17T23:45:32Z gilberth__: Both of which are no regular expressions at all. Never mind. 2019-09-17T23:48:50Z Oladon1 quit (Quit: Leaving.) 2019-09-17T23:49:05Z Oladon joined #lisp 2019-09-17T23:51:04Z makomo_ quit (Ping timeout: 264 seconds) 2019-09-18T00:00:32Z t58 quit (Quit: Leaving) 2019-09-18T00:01:26Z paul0 quit (Ping timeout: 276 seconds) 2019-09-18T00:05:37Z yaboi joined #lisp 2019-09-18T00:06:19Z yaboi: minion: registration, please? 2019-09-18T00:06:19Z minion: The URL https://gitlab.common-lisp.net/users/sign_in?secret=487355e5 will be valid until 00:15 UTC. 2019-09-18T00:06:54Z yaboi quit (Remote host closed the connection) 2019-09-18T00:13:05Z libertyprime joined #lisp 2019-09-18T00:20:17Z davr0s_ quit (Ping timeout: 265 seconds) 2019-09-18T00:20:17Z davr0s quit (Ping timeout: 265 seconds) 2019-09-18T00:20:19Z gilberth__: ralt: BTW your "\" is bogus. And a (FIND-IF (LAMBDA (C) (FIND C ".-_")) "foo-bar") is even faster. 2019-09-18T00:20:42Z gilberth__: s/FIND-IF/POSITION-IF/ 2019-09-18T00:24:45Z jprajzne quit (Quit: jprajzne) 2019-09-18T00:25:04Z jprajzne joined #lisp 2019-09-18T00:27:08Z torbo joined #lisp 2019-09-18T00:29:14Z jprajzne quit (Client Quit) 2019-09-18T00:29:36Z jprajzne joined #lisp 2019-09-18T00:34:13Z _jrjsmrtn joined #lisp 2019-09-18T00:34:47Z __jrjsmrtn__ quit (Ping timeout: 265 seconds) 2019-09-18T00:38:02Z karlosz joined #lisp 2019-09-18T00:39:55Z ikki joined #lisp 2019-09-18T00:41:04Z fragamus quit (Ping timeout: 265 seconds) 2019-09-18T00:41:06Z Frobozz joined #lisp 2019-09-18T00:43:43Z EvW1 joined #lisp 2019-09-18T00:45:01Z fragamus joined #lisp 2019-09-18T00:45:59Z karlosz quit (Quit: karlosz) 2019-09-18T00:48:04Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-18T00:48:27Z 7GHABQO4A joined #lisp 2019-09-18T00:49:09Z elfmacs joined #lisp 2019-09-18T00:49:39Z fragamus quit (Ping timeout: 240 seconds) 2019-09-18T00:58:02Z Oladon1 joined #lisp 2019-09-18T01:00:28Z libertyprime quit (Read error: Connection reset by peer) 2019-09-18T01:01:14Z Oladon quit (Ping timeout: 276 seconds) 2019-09-18T01:02:03Z asdf_asdf_asdf quit (Quit: asdf_asdf_asdf) 2019-09-18T01:03:46Z bitmapper quit (Ping timeout: 245 seconds) 2019-09-18T01:08:20Z paul0 joined #lisp 2019-09-18T01:10:21Z Kaisyu7 quit (Quit: ERC (IRC client for Emacs 26.3)) 2019-09-18T01:11:04Z sjl joined #lisp 2019-09-18T01:11:44Z 7GHABQO4A quit (Quit: 7GHABQO4A) 2019-09-18T01:16:33Z semz quit (Ping timeout: 245 seconds) 2019-09-18T01:16:50Z karlosz joined #lisp 2019-09-18T01:17:39Z paul0 quit (Ping timeout: 240 seconds) 2019-09-18T01:19:03Z ravenous_ joined #lisp 2019-09-18T01:21:53Z Kaisyu7 joined #lisp 2019-09-18T01:23:33Z ravenous_ quit (Ping timeout: 246 seconds) 2019-09-18T01:26:00Z igemnace quit (Remote host closed the connection) 2019-09-18T01:26:29Z igemnace joined #lisp 2019-09-18T01:28:29Z akoana left #lisp 2019-09-18T01:30:19Z semz joined #lisp 2019-09-18T01:37:32Z libertyprime joined #lisp 2019-09-18T01:44:28Z EvW1 quit (Ping timeout: 245 seconds) 2019-09-18T01:45:28Z xkapastel quit (Quit: Connection closed for inactivity) 2019-09-18T01:47:07Z igemnace quit (Remote host closed the connection) 2019-09-18T01:47:36Z Aruseus quit (Remote host closed the connection) 2019-09-18T01:48:03Z igemnace joined #lisp 2019-09-18T01:48:22Z karlosz quit (Quit: karlosz) 2019-09-18T01:53:15Z karlosz joined #lisp 2019-09-18T01:54:50Z paul0 joined #lisp 2019-09-18T01:57:03Z ralt quit (Quit: Connection closed for inactivity) 2019-09-18T02:03:47Z hh47_ joined #lisp 2019-09-18T02:09:51Z stzsch joined #lisp 2019-09-18T02:10:38Z lxbarbosa quit (Read error: Connection reset by peer) 2019-09-18T02:12:07Z karlosz quit (Quit: karlosz) 2019-09-18T02:13:24Z analogue quit (Quit: Leaving) 2019-09-18T02:17:52Z karlosz joined #lisp 2019-09-18T02:21:50Z paul0 quit (Ping timeout: 276 seconds) 2019-09-18T02:28:01Z EvW joined #lisp 2019-09-18T02:28:09Z karlosz quit (Quit: karlosz) 2019-09-18T02:29:13Z igemnace quit (Quit: WeeChat 2.6) 2019-09-18T02:29:49Z _atomik joined #lisp 2019-09-18T02:42:13Z ikki quit (Quit: Leaving) 2019-09-18T02:46:32Z libertyprime quit (Ping timeout: 276 seconds) 2019-09-18T02:46:36Z shifty quit (Ping timeout: 258 seconds) 2019-09-18T02:46:54Z hh47_ quit (Quit: hh47_) 2019-09-18T02:49:47Z Frobozz quit (Ping timeout: 276 seconds) 2019-09-18T02:51:02Z jeosol joined #lisp 2019-09-18T02:53:51Z shifty joined #lisp 2019-09-18T02:54:30Z torbo quit (Remote host closed the connection) 2019-09-18T02:58:53Z shifty quit (Ping timeout: 276 seconds) 2019-09-18T03:13:38Z EvW quit (Ping timeout: 245 seconds) 2019-09-18T03:21:31Z Bike quit (Quit: Lost terminal) 2019-09-18T03:30:07Z yoja quit (Ping timeout: 268 seconds) 2019-09-18T03:31:40Z gravicappa joined #lisp 2019-09-18T03:44:52Z lxbarbosa joined #lisp 2019-09-18T03:51:02Z _whitelogger quit (Remote host closed the connection) 2019-09-18T03:52:12Z pjb joined #lisp 2019-09-18T03:53:16Z _whitelogger joined #lisp 2019-09-18T03:56:52Z dddddd quit (Remote host closed the connection) 2019-09-18T03:57:37Z beach: Good morning everyone! 2019-09-18T03:59:51Z fragamus joined #lisp 2019-09-18T04:02:33Z Lycurgus joined #lisp 2019-09-18T04:03:30Z libertyprime joined #lisp 2019-09-18T04:08:14Z shangul joined #lisp 2019-09-18T04:11:24Z ravenous_ joined #lisp 2019-09-18T04:13:53Z rozenglass quit (Remote host closed the connection) 2019-09-18T04:14:22Z ahungry joined #lisp 2019-09-18T04:14:42Z shangul quit (Ping timeout: 265 seconds) 2019-09-18T04:15:45Z ravenous_ quit (Ping timeout: 246 seconds) 2019-09-18T04:18:11Z elfmacs quit (Ping timeout: 276 seconds) 2019-09-18T04:21:30Z lambda-smith joined #lisp 2019-09-18T04:22:03Z gravicappa quit (Ping timeout: 240 seconds) 2019-09-18T04:29:19Z krid quit (Ping timeout: 268 seconds) 2019-09-18T04:33:48Z igemnace joined #lisp 2019-09-18T04:34:21Z AndrewYoung joined #lisp 2019-09-18T04:36:56Z Lord_of_Life quit (Ping timeout: 265 seconds) 2019-09-18T04:38:03Z Frobozz joined #lisp 2019-09-18T04:38:25Z Lord_of_Life joined #lisp 2019-09-18T04:38:29Z shangul joined #lisp 2019-09-18T04:40:45Z igemnace quit (Read error: Connection reset by peer) 2019-09-18T04:50:23Z gravicappa joined #lisp 2019-09-18T04:50:56Z stepnem_ joined #lisp 2019-09-18T04:51:16Z stepnem quit (Ping timeout: 245 seconds) 2019-09-18T04:57:32Z Ricchi quit (Remote host closed the connection) 2019-09-18T04:57:41Z gravicappa quit (Ping timeout: 268 seconds) 2019-09-18T04:57:46Z lxbarbosa quit (Remote host closed the connection) 2019-09-18T05:06:43Z tourjin joined #lisp 2019-09-18T05:07:28Z zigpaw: morning :) 2019-09-18T05:07:53Z beach: Hello zigpaw. 2019-09-18T05:12:09Z wigust- joined #lisp 2019-09-18T05:12:56Z tourjin quit (Ping timeout: 245 seconds) 2019-09-18T05:14:51Z wigust quit (Ping timeout: 240 seconds) 2019-09-18T05:16:40Z jiny joined #lisp 2019-09-18T05:18:05Z thijso is an idiot 2019-09-18T05:18:41Z thijso: the issue I thought was with incf yesterday, turns out it's me using (return) instead of (return-from label) 2019-09-18T05:19:08Z thijso: well, that was a nice day spent down the rabbit hole for nothing. 2019-09-18T05:20:48Z thijso: ... and naturally I spoke too soon 2019-09-18T05:20:56Z thijso is going crazy 2019-09-18T05:24:16Z lxbarbosa joined #lisp 2019-09-18T05:30:07Z flip214: thijso: wasn't for nothing, you might have learned something 2019-09-18T05:31:52Z thijso: flip214: maybe. Doesn't feel like it. Especially as I haven't found the real issue yet. 2019-09-18T05:33:28Z flip214: do you have a paste? 2019-09-18T05:33:29Z pjb: thijso: things like that happen. 2019-09-18T05:34:18Z shka_ joined #lisp 2019-09-18T05:35:50Z ralt joined #lisp 2019-09-18T05:35:54Z refpga quit (Ping timeout: 265 seconds) 2019-09-18T05:36:26Z refpga joined #lisp 2019-09-18T05:38:18Z frgo joined #lisp 2019-09-18T05:42:02Z frgo_ quit (Ping timeout: 276 seconds) 2019-09-18T05:42:27Z fragamus quit (Ping timeout: 240 seconds) 2019-09-18T05:42:42Z frgo quit (Ping timeout: 268 seconds) 2019-09-18T05:44:07Z ahungry quit (Remote host closed the connection) 2019-09-18T05:47:30Z _atomik quit (Ping timeout: 265 seconds) 2019-09-18T05:48:15Z thijso: pjb: yeah, I know. Still frustrating every time it happens. Especially when you end up with something working and you don't really know why... 2019-09-18T05:48:25Z thijso: flip214: it's now really working. I think. 2019-09-18T05:49:02Z thijso: So, why would it work if I wrap the call to the main app function in a mp:process-run-function? i.e. in a separate thread. 2019-09-18T05:49:44Z pjb: Watch the cadaddr of your form. 2019-09-18T05:49:58Z thijso: Although... maybe I need to clean up all my debugging code before I start rejoycing... 2019-09-18T05:50:21Z thijso: see if it still works then 2019-09-18T05:50:37Z jiny quit (Ping timeout: 258 seconds) 2019-09-18T05:54:49Z thijso: hmmm... seems like it does... 2019-09-18T05:56:12Z shka_ quit (Ping timeout: 265 seconds) 2019-09-18T05:59:16Z elfmacs joined #lisp 2019-09-18T06:02:52Z sauvin joined #lisp 2019-09-18T06:09:59Z _jrjsmrtn quit (Ping timeout: 276 seconds) 2019-09-18T06:12:09Z ralt: gilberth__: it was simplified for the sake of the example 2019-09-18T06:13:06Z Lycurgus quit (Quit: Exeunt) 2019-09-18T06:14:45Z fragamus joined #lisp 2019-09-18T06:18:23Z frgo joined #lisp 2019-09-18T06:18:37Z vlatkoB joined #lisp 2019-09-18T06:20:23Z fragamus quit (Ping timeout: 276 seconds) 2019-09-18T06:20:35Z flamebeard joined #lisp 2019-09-18T06:21:55Z igemnace joined #lisp 2019-09-18T06:23:02Z ravenous_ joined #lisp 2019-09-18T06:23:29Z jiny joined #lisp 2019-09-18T06:25:00Z jiny quit (Client Quit) 2019-09-18T06:25:09Z jiny joined #lisp 2019-09-18T06:25:18Z jiny is now known as tourjin 2019-09-18T06:27:42Z ravenous_ quit (Ping timeout: 246 seconds) 2019-09-18T06:33:31Z ravenous_ joined #lisp 2019-09-18T06:33:39Z refpga quit (Ping timeout: 240 seconds) 2019-09-18T06:33:56Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-18T06:36:32Z refpga joined #lisp 2019-09-18T06:38:35Z ravenous_ quit (Ping timeout: 276 seconds) 2019-09-18T06:39:44Z igemnace quit (Remote host closed the connection) 2019-09-18T06:40:40Z orivej quit (Ping timeout: 268 seconds) 2019-09-18T06:48:07Z adip quit (Ping timeout: 250 seconds) 2019-09-18T06:49:17Z fragamus joined #lisp 2019-09-18T06:50:13Z adip joined #lisp 2019-09-18T06:54:36Z libertyprime quit (Ping timeout: 245 seconds) 2019-09-18T06:55:10Z fragamus quit (Ping timeout: 265 seconds) 2019-09-18T06:58:38Z ggole joined #lisp 2019-09-18T07:00:07Z shrdlu68 joined #lisp 2019-09-18T07:01:38Z dale quit (Quit: My computer has gone to sleep) 2019-09-18T07:06:24Z makomo_ joined #lisp 2019-09-18T07:06:51Z libertyprime joined #lisp 2019-09-18T07:07:37Z makomo joined #lisp 2019-09-18T07:10:50Z makomo_ quit (Ping timeout: 240 seconds) 2019-09-18T07:16:40Z tumdum quit (Quit: Leaving) 2019-09-18T07:22:21Z jonatack quit (Ping timeout: 250 seconds) 2019-09-18T07:25:56Z fragamus joined #lisp 2019-09-18T07:27:31Z tourjin quit (Ping timeout: 245 seconds) 2019-09-18T07:30:39Z fragamus quit (Ping timeout: 258 seconds) 2019-09-18T07:32:25Z cyberlard quit (Ping timeout: 244 seconds) 2019-09-18T07:32:56Z payphone quit (Ping timeout: 244 seconds) 2019-09-18T07:33:27Z payphone joined #lisp 2019-09-18T07:34:51Z jeosol quit (Ping timeout: 260 seconds) 2019-09-18T07:35:05Z cyberlard joined #lisp 2019-09-18T07:36:03Z shifty joined #lisp 2019-09-18T07:36:41Z manualcrank joined #lisp 2019-09-18T07:37:13Z scymtym quit (Ping timeout: 265 seconds) 2019-09-18T07:39:15Z libertyprime quit (Ping timeout: 240 seconds) 2019-09-18T07:39:51Z stepnem_ quit (Ping timeout: 258 seconds) 2019-09-18T07:43:57Z stepnem joined #lisp 2019-09-18T07:48:56Z galdor quit (Quit: WeeChat 2.3) 2019-09-18T07:52:05Z scymtym joined #lisp 2019-09-18T07:57:57Z __jrjsmrtn__ joined #lisp 2019-09-18T07:58:52Z ljavorsk joined #lisp 2019-09-18T07:58:57Z jiny joined #lisp 2019-09-18T08:00:04Z hhdave joined #lisp 2019-09-18T08:05:09Z jiny quit (Ping timeout: 258 seconds) 2019-09-18T08:09:46Z jonatack joined #lisp 2019-09-18T08:16:09Z Oladon1 quit (Read error: Connection reset by peer) 2019-09-18T08:22:19Z EvW joined #lisp 2019-09-18T08:29:02Z ebrasca joined #lisp 2019-09-18T08:30:45Z no-defun-allowed: Can I access a class's class-allocated slots without creating an instance of it? 2019-09-18T08:31:13Z jonatack quit (Ping timeout: 258 seconds) 2019-09-18T08:31:17Z scymtym: (READER (c2mop:class-prototype (find-class CLASS))) 2019-09-18T08:32:29Z no-defun-allowed: Great, am I being too hopeful to ask for anything without MOP? 2019-09-18T08:33:03Z shka__: you kinda are 2019-09-18T08:33:15Z jonatack joined #lisp 2019-09-18T08:33:32Z LdBeth peek 2019-09-18T08:33:37Z Shinmera: Can try with allocate-instance and cache that instance. 2019-09-18T08:33:39Z scymtym: not sure. you may also have to throw C2MOP:ENSURE-FINALIZED into the mix 2019-09-18T08:33:49Z no-defun-allowed: Eh well, I'll try to think of something else then. 2019-09-18T08:35:28Z no-defun-allowed: That's probably one of the stupider ways to implement what I have in mind though, in my network thingamabob I would like to define handlers that a server that is an instance of some class can handle, like (define-handler (my-server "/foo") :reader #'read-foo) 2019-09-18T08:36:57Z Shinmera: I don't think class-allocated slots ever happened to be the right thing in all of my projects. 2019-09-18T08:37:02Z LdBeth: you cound just intern handlers' name into a package 2019-09-18T08:37:24Z Shinmera: I don't even know if they ever are at all preferable over either a special variable, a representative instance, or a metaclass. 2019-09-18T08:38:00Z no-defun-allowed: Fair enough, I couldn't get any inheritance from class-allocated slots now I think about it. 2019-09-18T08:38:11Z LdBeth: I'm kinda start to appreciate ECMAScript 2019-09-18T08:38:25Z shka__: horrific 2019-09-18T08:38:30Z no-defun-allowed: #javascript is that a way → 2019-09-18T08:38:55Z no-defun-allowed: Keying a hash table with the class should be reasonable though. 2019-09-18T08:39:26Z shka__: no-defun-allowed: this sounds like a a complex solution to a simple problem 2019-09-18T08:39:30Z LdBeth: ECMA array can be list tuple box package object .... 2019-09-18T08:39:32Z Shinmera pounds his fist on the table ME TA CLASS! ME TA CLASS! 2019-09-18T08:40:08Z shka__: no-defun-allowed: what really you want to do? Launch some logic without an instance of a class? 2019-09-18T08:40:15Z fragamus joined #lisp 2019-09-18T08:40:38Z no-defun-allowed: Shinmera: I swore to myself I'd try to do my networking with the MOP, then my objects with the MOP. But the chant sounds fun. 2019-09-18T08:40:51Z no-defun-allowed: *networking without. You got me. 2019-09-18T08:41:32Z LdBeth: without MOP is like doing web without DOM 2019-09-18T08:41:34Z Shinmera: I agree with shka__, I don't really know what your problem is to present an adequate solution. 2019-09-18T08:42:07Z no-defun-allowed: Sorry. I think I figured it out now. 2019-09-18T08:42:23Z shka__: well, ok then 2019-09-18T08:42:46Z shka__: seriously though, this sounds like it should not require metaclasses at all 2019-09-18T08:43:24Z pjb: It doesn't, as long as you have an object of that class. 2019-09-18T08:43:53Z no-defun-allowed: I do not, but you cannot hear me, so you would not know. 2019-09-18T08:44:12Z pjb: In OO languages, you need an object to send a message to. In CLOS, you need an object to dispatch a method of a generic function to. 2019-09-18T08:44:44Z pjb: There's no difference between a "class method" and an "instance method" in CLOS: all methods are methods of generic functions. 2019-09-18T08:44:58Z pjb: So you can just write a generic function, with a method dispatching on the class. 2019-09-18T08:45:07Z fragamus quit (Ping timeout: 250 seconds) 2019-09-18T08:45:18Z no-defun-allowed: Maybe reciprocating the /ignore would make this less painful. 2019-09-18T08:47:03Z vyorkin joined #lisp 2019-09-18T08:48:16Z shka__: no-defun-allowed: why exactly you don't have instance of a class though? 2019-09-18T08:48:45Z shka__: writing application logic based on the classes and not instances is really backward style of programming imho 2019-09-18T08:49:07Z no-defun-allowed: Because I want to add behaviour to the instance before I have one. 2019-09-18T08:49:13Z pjb: In both cases, you need an object: https://pastebin.com/UWdaS3sr 2019-09-18T08:49:21Z pjb: so the class or an instance… 2019-09-18T08:51:42Z shka__: no-defun-allowed: yeah, i never quite run into something exactly like that 2019-09-18T08:52:16Z shka__: i recommend to rethink your approach, it sounds a little bit weird 2019-09-18T08:52:42Z shka__: also, remember about method specialized to symbol instances… 2019-09-18T08:53:06Z no-defun-allowed: Yeah, that could work actually. 2019-09-18T09:02:07Z jiny joined #lisp 2019-09-18T09:11:28Z EvW quit (Ping timeout: 264 seconds) 2019-09-18T09:11:59Z jiny is now known as tourjin 2019-09-18T09:12:07Z tourjin quit (Quit: Leaving) 2019-09-18T09:12:26Z tourjin joined #lisp 2019-09-18T09:18:14Z ravenous_ joined #lisp 2019-09-18T09:28:29Z orivej joined #lisp 2019-09-18T09:33:02Z _whitelogger quit (Remote host closed the connection) 2019-09-18T09:35:02Z cosimone joined #lisp 2019-09-18T09:35:14Z _whitelogger joined #lisp 2019-09-18T09:37:44Z gxt quit (Ping timeout: 260 seconds) 2019-09-18T09:41:26Z lemoinem quit (Killed (orwell.freenode.net (Nickname regained by services))) 2019-09-18T09:41:27Z lemoinem joined #lisp 2019-09-18T09:41:37Z EvW joined #lisp 2019-09-18T09:43:59Z vyorkin quit (Remote host closed the connection) 2019-09-18T09:45:03Z vyorkin joined #lisp 2019-09-18T09:46:44Z fragamus joined #lisp 2019-09-18T09:50:33Z serge joined #lisp 2019-09-18T09:51:35Z fragamus quit (Ping timeout: 265 seconds) 2019-09-18T09:52:10Z Necktwi joined #lisp 2019-09-18T10:01:02Z nostoi joined #lisp 2019-09-18T10:01:16Z orivej quit (Ping timeout: 245 seconds) 2019-09-18T10:08:18Z orivej joined #lisp 2019-09-18T10:13:48Z jonatack quit (Quit: jonatack) 2019-09-18T10:14:26Z jonatack joined #lisp 2019-09-18T10:15:15Z tourjin quit (Ping timeout: 240 seconds) 2019-09-18T10:16:47Z asdf_asdf_asdf joined #lisp 2019-09-18T10:17:38Z ravenous_ quit (Ping timeout: 276 seconds) 2019-09-18T10:19:02Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-18T10:22:12Z vap1 quit (Remote host closed the connection) 2019-09-18T10:22:17Z libertyprime joined #lisp 2019-09-18T10:24:39Z fragamus joined #lisp 2019-09-18T10:28:50Z orivej quit (Ping timeout: 268 seconds) 2019-09-18T10:29:27Z fragamus quit (Ping timeout: 268 seconds) 2019-09-18T10:32:42Z Necktwi quit (Ping timeout: 246 seconds) 2019-09-18T10:34:13Z reggie_ quit (Ping timeout: 245 seconds) 2019-09-18T10:37:46Z reggie_ joined #lisp 2019-09-18T10:40:33Z beach: asdf_asdf_asdf: When you submit code for others to read, it is polite to make sure you respect conventions such as naming (lower-case with hyphen, and not CamelCase), and indentation. 2019-09-18T10:44:49Z gxt joined #lisp 2019-09-18T10:45:21Z cosimone quit (Quit: Terminated!) 2019-09-18T10:45:56Z whartung_ joined #lisp 2019-09-18T10:46:56Z whartung quit (Ping timeout: 258 seconds) 2019-09-18T10:46:56Z whartung_ is now known as whartung 2019-09-18T10:48:56Z tourjin joined #lisp 2019-09-18T10:52:56Z jonatack quit (Quit: jonatack) 2019-09-18T10:53:17Z jonatack joined #lisp 2019-09-18T10:53:24Z orivej joined #lisp 2019-09-18T10:56:49Z maxxcan joined #lisp 2019-09-18T10:56:51Z maxxcan quit (Read error: Connection reset by peer) 2019-09-18T10:59:01Z nostoi quit (Quit: Verlassend) 2019-09-18T11:01:00Z gxt quit (Remote host closed the connection) 2019-09-18T11:01:10Z heisig joined #lisp 2019-09-18T11:03:00Z gxt joined #lisp 2019-09-18T11:06:23Z EvW quit (Ping timeout: 276 seconds) 2019-09-18T11:07:10Z Necktwi joined #lisp 2019-09-18T11:08:51Z reggie_ quit (Ping timeout: 240 seconds) 2019-09-18T11:09:16Z reggie_ joined #lisp 2019-09-18T11:15:24Z reggie_ quit (Ping timeout: 246 seconds) 2019-09-18T11:16:16Z reggie_ joined #lisp 2019-09-18T11:24:02Z orivej quit (Ping timeout: 240 seconds) 2019-09-18T11:25:14Z bitmapper joined #lisp 2019-09-18T11:27:40Z EvW joined #lisp 2019-09-18T11:29:03Z reggie__ joined #lisp 2019-09-18T11:29:07Z reggie_ quit (Read error: Connection reset by peer) 2019-09-18T11:31:30Z dddddd joined #lisp 2019-09-18T11:32:57Z shangul quit (Remote host closed the connection) 2019-09-18T11:46:03Z orivej joined #lisp 2019-09-18T11:53:45Z paul0 joined #lisp 2019-09-18T11:54:43Z amerlyq joined #lisp 2019-09-18T11:54:46Z bendersteed joined #lisp 2019-09-18T11:57:39Z tourjin quit (Ping timeout: 240 seconds) 2019-09-18T12:00:48Z bendersteed quit (Remote host closed the connection) 2019-09-18T12:01:57Z Necktwi quit (Ping timeout: 246 seconds) 2019-09-18T12:09:15Z galdor joined #lisp 2019-09-18T12:14:50Z igemnace joined #lisp 2019-09-18T12:17:56Z Necktwi joined #lisp 2019-09-18T12:20:27Z libertyprime quit (Ping timeout: 265 seconds) 2019-09-18T12:20:52Z jonatack quit (Quit: jonatack) 2019-09-18T12:21:17Z gabiruh_ joined #lisp 2019-09-18T12:21:18Z jonatack joined #lisp 2019-09-18T12:24:41Z gabiruh quit (Ping timeout: 258 seconds) 2019-09-18T12:25:32Z fragamus joined #lisp 2019-09-18T12:27:13Z ljavorsk quit (Ping timeout: 265 seconds) 2019-09-18T12:30:36Z fragamus quit (Ping timeout: 265 seconds) 2019-09-18T12:31:00Z bjorkintosh joined #lisp 2019-09-18T12:32:42Z lucasb joined #lisp 2019-09-18T12:32:51Z libertyprime joined #lisp 2019-09-18T12:32:59Z raghavgururajan joined #lisp 2019-09-18T12:38:01Z LiamH joined #lisp 2019-09-18T12:40:54Z jonatack quit (Quit: jonatack) 2019-09-18T12:41:24Z jonatack joined #lisp 2019-09-18T12:41:35Z yoja joined #lisp 2019-09-18T12:42:57Z jonatack_ joined #lisp 2019-09-18T12:43:10Z cosimone joined #lisp 2019-09-18T12:44:27Z paul0 quit (Ping timeout: 240 seconds) 2019-09-18T12:46:58Z jonatack quit (Ping timeout: 268 seconds) 2019-09-18T12:52:16Z akoana joined #lisp 2019-09-18T12:58:13Z Bike joined #lisp 2019-09-18T13:01:00Z legazier59 joined #lisp 2019-09-18T13:05:41Z ebrasca quit (Remote host closed the connection) 2019-09-18T13:06:16Z orivej quit (Ping timeout: 245 seconds) 2019-09-18T13:09:27Z libertyprime quit (Remote host closed the connection) 2019-09-18T13:11:50Z jonatack_ quit (Ping timeout: 276 seconds) 2019-09-18T13:12:41Z orivej joined #lisp 2019-09-18T13:17:29Z flazh quit (Ping timeout: 265 seconds) 2019-09-18T13:19:39Z superkumasan quit (Ping timeout: 240 seconds) 2019-09-18T13:20:08Z raghavgururajan quit (Remote host closed the connection) 2019-09-18T13:27:08Z asdf_asdf_asdf quit (Quit: asdf_asdf_asdf) 2019-09-18T13:27:09Z shrdlu68 quit (Ping timeout: 265 seconds) 2019-09-18T13:30:39Z FreeBirdLjj joined #lisp 2019-09-18T13:33:23Z shangul joined #lisp 2019-09-18T13:35:53Z FreeBirdLjj quit (Ping timeout: 276 seconds) 2019-09-18T13:36:02Z orivej quit (Ping timeout: 240 seconds) 2019-09-18T13:37:05Z heisig quit (Quit: Leaving) 2019-09-18T13:37:44Z warweasle joined #lisp 2019-09-18T13:43:25Z orivej joined #lisp 2019-09-18T13:44:33Z mindCrime_ joined #lisp 2019-09-18T13:48:14Z dale joined #lisp 2019-09-18T13:48:28Z georgie joined #lisp 2019-09-18T13:51:10Z shangul quit (Ping timeout: 252 seconds) 2019-09-18T13:53:34Z asdf_asdf_asdf joined #lisp 2019-09-18T13:54:03Z fragamus joined #lisp 2019-09-18T13:55:38Z ralt quit (Quit: Connection closed for inactivity) 2019-09-18T13:59:14Z orivej quit (Ping timeout: 240 seconds) 2019-09-18T13:59:17Z fragamus quit (Ping timeout: 276 seconds) 2019-09-18T13:59:57Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-18T14:05:43Z EvW quit (Ping timeout: 245 seconds) 2019-09-18T14:05:55Z ralt joined #lisp 2019-09-18T14:09:21Z elfmacs quit (Ping timeout: 246 seconds) 2019-09-18T14:10:22Z libertyprime joined #lisp 2019-09-18T14:19:21Z yoja quit (Ping timeout: 265 seconds) 2019-09-18T14:23:34Z FreeBirdLjj joined #lisp 2019-09-18T14:26:15Z APic quit (Ping timeout: 268 seconds) 2019-09-18T14:26:19Z fragamus joined #lisp 2019-09-18T14:27:33Z catchme joined #lisp 2019-09-18T14:29:18Z flamebeard quit 2019-09-18T14:29:31Z jonatack joined #lisp 2019-09-18T14:30:44Z APic joined #lisp 2019-09-18T14:32:35Z tourjin joined #lisp 2019-09-18T14:42:15Z orivej joined #lisp 2019-09-18T14:44:47Z igemnace quit (Ping timeout: 276 seconds) 2019-09-18T14:45:28Z libertyprime quit (Quit: leaving) 2019-09-18T14:45:50Z shangul joined #lisp 2019-09-18T14:49:59Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.2)) 2019-09-18T14:50:18Z fragamus quit (Ping timeout: 268 seconds) 2019-09-18T14:53:57Z tourjin: can gpg on wsl and gpg on cygwin share one private key? 2019-09-18T14:54:57Z tourjin: or should I import and export from one to another ? 2019-09-18T14:55:50Z fragamus joined #lisp 2019-09-18T14:56:19Z smazga joined #lisp 2019-09-18T14:57:47Z igemnace joined #lisp 2019-09-18T14:57:52Z notzmv quit (Remote host closed the connection) 2019-09-18T14:59:54Z Xach: tourjin: that is not a good topic for #lisp 2019-09-18T15:00:15Z lambda-smith quit (Quit: Konversation terminated!) 2019-09-18T15:00:18Z tourjin: i see sorry for that. 2019-09-18T15:00:47Z fragamus quit (Ping timeout: 268 seconds) 2019-09-18T15:01:18Z EvW joined #lisp 2019-09-18T15:04:27Z frgo quit (Ping timeout: 240 seconds) 2019-09-18T15:06:14Z bitmapper quit (Ping timeout: 276 seconds) 2019-09-18T15:06:56Z vyorkin quit (Remote host closed the connection) 2019-09-18T15:11:04Z orivej quit (Ping timeout: 265 seconds) 2019-09-18T15:16:16Z refpga quit (Ping timeout: 245 seconds) 2019-09-18T15:16:51Z refpga joined #lisp 2019-09-18T15:17:49Z ebrasca joined #lisp 2019-09-18T15:24:03Z gravicappa joined #lisp 2019-09-18T15:25:30Z orivej joined #lisp 2019-09-18T15:30:39Z yoja joined #lisp 2019-09-18T15:34:08Z flazh joined #lisp 2019-09-18T15:35:51Z Necktwi quit (Ping timeout: 245 seconds) 2019-09-18T15:38:46Z asdf_asdf_asdf quit (Remote host closed the connection) 2019-09-18T15:49:33Z cosimone quit (Quit: Terminated!) 2019-09-18T15:49:58Z shrdlu68 joined #lisp 2019-09-18T15:52:03Z makomo_ joined #lisp 2019-09-18T15:52:14Z asdf_asdf_asdf joined #lisp 2019-09-18T15:52:17Z nika joined #lisp 2019-09-18T15:52:35Z makomo quit (Ping timeout: 268 seconds) 2019-09-18T15:52:37Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-18T15:53:01Z ggole quit (Quit: Leaving) 2019-09-18T15:54:30Z tourjin quit (Remote host closed the connection) 2019-09-18T15:58:55Z khisanth_ quit (Ping timeout: 265 seconds) 2019-09-18T16:00:06Z analogue joined #lisp 2019-09-18T16:00:46Z zaquest quit (Remote host closed the connection) 2019-09-18T16:02:00Z zaquest joined #lisp 2019-09-18T16:02:28Z EvW quit (Ping timeout: 264 seconds) 2019-09-18T16:10:28Z Necktwi joined #lisp 2019-09-18T16:11:24Z Aruseus joined #lisp 2019-09-18T16:14:26Z shka_ joined #lisp 2019-09-18T16:16:45Z khisanth_ joined #lisp 2019-09-18T16:18:17Z cosimone joined #lisp 2019-09-18T16:21:13Z nika quit 2019-09-18T16:21:50Z legazier59 quit (Quit: leaving) 2019-09-18T16:21:51Z scymtym quit (Ping timeout: 250 seconds) 2019-09-18T16:25:51Z rippa joined #lisp 2019-09-18T16:28:50Z Necktwi quit (Ping timeout: 240 seconds) 2019-09-18T16:31:16Z vhost- quit (Quit: WeeChat 2.6) 2019-09-18T16:33:10Z hhdave quit (Quit: hhdave) 2019-09-18T16:35:04Z Lord_of_Life_ joined #lisp 2019-09-18T16:37:06Z Lord_of_Life quit (Ping timeout: 245 seconds) 2019-09-18T16:37:07Z Lord_of_Life_ is now known as Lord_of_Life 2019-09-18T16:37:30Z vhost- joined #lisp 2019-09-18T16:37:30Z vhost- quit (Changing host) 2019-09-18T16:37:30Z vhost- joined #lisp 2019-09-18T16:37:42Z analogue quit (Quit: Leaving) 2019-09-18T16:37:48Z vaporatorius joined #lisp 2019-09-18T16:45:35Z hiroaki joined #lisp 2019-09-18T16:45:46Z Necktwi joined #lisp 2019-09-18T16:49:42Z _atomik joined #lisp 2019-09-18T16:50:01Z shrdlu68 quit (Ping timeout: 245 seconds) 2019-09-18T17:00:01Z makomo_ quit (Ping timeout: 245 seconds) 2019-09-18T17:01:23Z rozenglass joined #lisp 2019-09-18T17:02:37Z shrdlu68 joined #lisp 2019-09-18T17:11:57Z mtreis86 joined #lisp 2019-09-18T17:12:12Z mtreis86 quit (Client Quit) 2019-09-18T17:15:12Z makomo_ joined #lisp 2019-09-18T17:15:35Z orivej quit (Ping timeout: 276 seconds) 2019-09-18T17:17:15Z gxt quit (Remote host closed the connection) 2019-09-18T17:18:16Z gxt joined #lisp 2019-09-18T17:20:17Z asdf_asdf_asdf92 joined #lisp 2019-09-18T17:20:18Z asdf_asdf_asdf quit (Ping timeout: 245 seconds) 2019-09-18T17:22:13Z warweasle quit (Quit: rcirc on GNU Emacs 24.4.1) 2019-09-18T17:35:21Z ravenous_ joined #lisp 2019-09-18T17:39:56Z kajo quit (Ping timeout: 265 seconds) 2019-09-18T17:44:43Z slyrus_ joined #lisp 2019-09-18T17:46:32Z ym quit (Quit: Leaving) 2019-09-18T17:47:26Z slyrus__ quit (Ping timeout: 258 seconds) 2019-09-18T17:50:30Z cosimone quit (Quit: Quit.) 2019-09-18T17:51:37Z manualcrank joined #lisp 2019-09-18T17:53:48Z FreeBirdLjj joined #lisp 2019-09-18T17:55:03Z nanoz joined #lisp 2019-09-18T17:55:52Z shangul quit (Ping timeout: 258 seconds) 2019-09-18T17:58:13Z FreeBirdLjj quit (Ping timeout: 245 seconds) 2019-09-18T18:00:48Z Necktwi quit (Quit: leaving) 2019-09-18T18:09:12Z gxt quit (Ping timeout: 260 seconds) 2019-09-18T18:10:42Z refpga` joined #lisp 2019-09-18T18:12:35Z Oladon_work joined #lisp 2019-09-18T18:19:20Z akoana left #lisp 2019-09-18T18:23:53Z karlosz joined #lisp 2019-09-18T18:24:17Z varjag joined #lisp 2019-09-18T18:25:07Z karlosz quit (Client Quit) 2019-09-18T18:25:31Z sauvin quit (Read error: Connection reset by peer) 2019-09-18T18:37:46Z sjl_ joined #lisp 2019-09-18T18:39:52Z lavaflow quit (Ping timeout: 265 seconds) 2019-09-18T18:40:28Z sjl_: Would it be conforming for an implementation to make (typep (with-open-file (f "~/.stumpwmrc" :element-type 'base-char) (read-line f)) 'simple-base-string) ; => T? 2019-09-18T18:40:31Z sjl_: clhs read-line 2019-09-18T18:40:31Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_rd_lin.htm 2019-09-18T18:40:41Z sjl_: read-line just says it returns a "string" 2019-09-18T18:40:52Z sjl_: which is > a specialized vector that is of type string, and whose elements are of type character or a subtype of type character. 2019-09-18T18:42:27Z kajo joined #lisp 2019-09-18T18:44:06Z EvW1 joined #lisp 2019-09-18T18:44:46Z Bike: i don't see how that would be nonconforming 2019-09-18T18:45:22Z sjl_: Oh, huh, CCL actually does that 2019-09-18T18:45:34Z sjl_: interesting. I had only tried it in SBCL 2019-09-18T18:49:10Z guaqua joined #lisp 2019-09-18T18:51:34Z davr0s joined #lisp 2019-09-18T18:51:34Z davr0s_ joined #lisp 2019-09-18T18:51:39Z grokkingStuff joined #lisp 2019-09-18T18:57:35Z gravicappa quit (Ping timeout: 268 seconds) 2019-09-18T19:01:37Z grokkingStuff quit (Quit: Igloo IRC: https://iglooirc.com) 2019-09-18T19:03:33Z refpga` quit (Quit: ERC (IRC client for Emacs 26.2)) 2019-09-18T19:04:16Z refpga` joined #lisp 2019-09-18T19:05:26Z jonatack quit (Ping timeout: 276 seconds) 2019-09-18T19:07:01Z jonatack joined #lisp 2019-09-18T19:07:58Z jonatack quit (Client Quit) 2019-09-18T19:08:34Z jonatack joined #lisp 2019-09-18T19:08:41Z troydm quit (Ping timeout: 268 seconds) 2019-09-18T19:08:43Z lavaflow joined #lisp 2019-09-18T19:12:15Z ikki joined #lisp 2019-09-18T19:12:46Z shangul joined #lisp 2019-09-18T19:16:05Z nanoz quit (Ping timeout: 268 seconds) 2019-09-18T19:16:27Z Blukunfando quit (Ping timeout: 240 seconds) 2019-09-18T19:18:51Z yoja quit (Ping timeout: 240 seconds) 2019-09-18T19:21:10Z scymtym joined #lisp 2019-09-18T19:22:43Z MrBismuth quit (Read error: Connection reset by peer) 2019-09-18T19:23:15Z gxt joined #lisp 2019-09-18T19:23:55Z MrBismuth joined #lisp 2019-09-18T19:26:43Z vlatkoB quit (Remote host closed the connection) 2019-09-18T19:26:53Z kajo quit (Ping timeout: 250 seconds) 2019-09-18T19:28:27Z kajo joined #lisp 2019-09-18T19:29:21Z synchromesh joined #lisp 2019-09-18T19:32:34Z Bike quit (Remote host closed the connection) 2019-09-18T19:34:26Z Bike joined #lisp 2019-09-18T19:37:33Z prxq joined #lisp 2019-09-18T19:38:01Z yoja joined #lisp 2019-09-18T19:39:56Z jonatack quit (Quit: jonatack) 2019-09-18T19:40:21Z jonatack joined #lisp 2019-09-18T19:44:09Z shifty quit (Ping timeout: 265 seconds) 2019-09-18T19:45:41Z shangul quit (Ping timeout: 268 seconds) 2019-09-18T19:47:02Z APic quit (Ping timeout: 276 seconds) 2019-09-18T19:47:03Z akoana joined #lisp 2019-09-18T19:47:59Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-18T19:58:03Z refpga quit (Read error: Connection reset by peer) 2019-09-18T19:58:54Z refpga joined #lisp 2019-09-18T19:59:45Z Oladon_work quit (Remote host closed the connection) 2019-09-18T20:00:23Z ravenous_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-18T20:02:03Z icov0x29a joined #lisp 2019-09-18T20:03:17Z lavaflow quit (Ping timeout: 276 seconds) 2019-09-18T20:04:14Z icov0x29a quit (Quit: Leaving) 2019-09-18T20:04:16Z Oladon_work joined #lisp 2019-09-18T20:04:56Z yoja quit (Ping timeout: 265 seconds) 2019-09-18T20:06:38Z catchme quit (Quit: Connection closed for inactivity) 2019-09-18T20:06:45Z Aruseus quit (Read error: Connection reset by peer) 2019-09-18T20:08:31Z frgo joined #lisp 2019-09-18T20:12:26Z frgo quit (Ping timeout: 240 seconds) 2019-09-18T20:13:46Z APic joined #lisp 2019-09-18T20:18:21Z APic quit (Ping timeout: 245 seconds) 2019-09-18T20:20:39Z ym555 joined #lisp 2019-09-18T20:26:41Z shrdlu68 quit (Ping timeout: 245 seconds) 2019-09-18T20:26:56Z asdf_asdf_asdf92 is now known as asdf_asdf_asdf 2019-09-18T20:28:41Z analogue joined #lisp 2019-09-18T20:33:50Z lavaflow joined #lisp 2019-09-18T20:33:53Z analogue quit (Quit: Leaving) 2019-09-18T20:39:25Z krid joined #lisp 2019-09-18T20:45:11Z Ven`` joined #lisp 2019-09-18T20:59:35Z synchromesh quit (Remote host closed the connection) 2019-09-18T21:07:43Z troydm joined #lisp 2019-09-18T21:08:57Z ym555 quit (Quit: leaving...) 2019-09-18T21:11:08Z lxbarbos` joined #lisp 2019-09-18T21:12:33Z jfe joined #lisp 2019-09-18T21:13:29Z lxbarbosa quit (Ping timeout: 276 seconds) 2019-09-18T21:13:57Z jfe: hi all. is there a way to call linux system calls from sbcl? 2019-09-18T21:14:27Z jfe: in particular, i need to open a netlink socket to communicate with the kernel. 2019-09-18T21:16:39Z Oladon_work quit (Ping timeout: 260 seconds) 2019-09-18T21:16:48Z asdf_asdf_asdf: @jfe; type (apropos "socket") and press enter. 2019-09-18T21:17:26Z varjag quit (Ping timeout: 265 seconds) 2019-09-18T21:17:39Z shka_ quit (Ping timeout: 240 seconds) 2019-09-18T21:17:49Z asdf_asdf_asdf: (describe 'SB-WIN32::SHUTDOWN-SOCKET) 2019-09-18T21:18:10Z Bike: does it not strike you as silly to refer to sb-win32 on a question about linux 2019-09-18T21:18:22Z asdf_asdf_asdf: (describe (function SB-WIN32::SHUTDOWN-SOCKET)) ; not works, because isn't a function 2019-09-18T21:18:41Z jfe: asdf_asdf_asdf: awesome, thank you 2019-09-18T21:18:58Z Bike: jfe: the actual interface http://www.sbcl.org/manual/#sb_002dposix 2019-09-18T21:20:18Z jfe: thanks. does sbcl provide a safe wrapper around these functions or is it possible to pass a pointer to a buffer (e.g. for a read operation)? 2019-09-18T21:20:54Z asdf_asdf_asdf: Remember about types in SBCL, because typed-lambda-list is ((a int) (b int) (c c-string))... 2019-09-18T21:21:39Z Bike: jfe: I think it's pretty thin. The manual says to use FFI which would suggest actual pointers 2019-09-18T21:21:50Z asdf_asdf_asdf: Yes. (* int) or (sap-vector::(read-operator x)). 2019-09-18T21:22:10Z Bike: jfe: https://common-lisp.net/project/iolib/ might also be helpful 2019-09-18T21:22:35Z amerlyq quit (Quit: amerlyq) 2019-09-18T21:22:59Z asdf_asdf_asdf: (sb-sys::vector-sap (read-operator x)) 2019-09-18T21:23:09Z asdf_asdf_asdf: Above wrong, sorry. 2019-09-18T21:23:16Z mindCrime_ quit (Ping timeout: 252 seconds) 2019-09-18T21:23:16Z jfe: wow, awesome. i may not need to rewrite the prototype in C after all :) 2019-09-18T21:23:57Z Bike: this isn't something i do myself often, so i don't think i can help more specifically 2019-09-18T21:25:22Z jfe: oh, one other question re. threads. are mutexes required for all shared access between threads, or can i approximate the "volatile" keyword in C/C++/Java to implement flags that my worker threads need to check? 2019-09-18T21:26:00Z Bike: you should use atomics instead of volatile in C/C++, shouldn't you? 2019-09-18T21:26:10Z Bike: sbcl has a cas interface you can use. sb-ext:cas and such iirc 2019-09-18T21:27:01Z jfe: if there's a lighter-weight mechanism than atomics i'd prefer to use it 2019-09-18T21:27:37Z pjb: There's a #sbcl channel for people who insist on not writing conforming common lisp code !!! 2019-09-18T21:28:34Z asdf_asdf_asdf: @jfe; specify question on the example, please. 2019-09-18T21:28:39Z easye quit (Remote host closed the connection) 2019-09-18T21:28:48Z Bike: https://stackoverflow.com/questions/2484980/why-is-volatile-not-considered-useful-in-multithreaded-c-or-c-programming well okay 2019-09-18T21:28:58Z fe[nl]ix: pjb: stop that 2019-09-18T21:29:22Z Bike: sbcl also has atomic-update and stuff 2019-09-18T21:29:23Z jfe: Bike: yeah i started to correct myself earlier -- volatile is only relevant to threads in java 2019-09-18T21:29:28Z Bike: i dunno if there's a portable wrapper over these 2019-09-18T21:29:29Z ebrasca quit (Remote host closed the connection) 2019-09-18T21:29:39Z Bike: jfe: ah, i see. i don't know much java 2019-09-18T21:30:07Z Bike: https://github.com/Shinmera/atomics oh right, shinmera wrote one 2019-09-18T21:30:34Z catchme joined #lisp 2019-09-18T21:31:09Z Bike: pretty much the same. cas and atomic update 2019-09-18T21:31:27Z jfe: my current design has my worker threads checking a flag that would be set by another thread. protecting that flag with a mutex could be costly. 2019-09-18T21:32:49Z asdf_asdf_asdf: https://cpy.pt/nrMPgxd6 2019-09-18T21:33:47Z bitmapper joined #lisp 2019-09-18T21:37:15Z serge quit (Remote host closed the connection) 2019-09-18T21:48:31Z Lycurgus joined #lisp 2019-09-18T21:49:39Z karlosz joined #lisp 2019-09-18T22:00:13Z refpga` quit (Remote host closed the connection) 2019-09-18T22:00:14Z LiamH quit (Quit: Leaving.) 2019-09-18T22:00:17Z EvW1 quit (Ping timeout: 250 seconds) 2019-09-18T22:04:45Z karlosz quit (Quit: karlosz) 2019-09-18T22:04:54Z Bike quit (Quit: Bike) 2019-09-18T22:05:03Z sjl_ quit (Quit: WeeChat 2.3-dev) 2019-09-18T22:06:33Z sjl quit (Quit: WeeChat 2.2-dev) 2019-09-18T22:10:04Z hiroaki quit (Remote host closed the connection) 2019-09-18T22:10:04Z orivej joined #lisp 2019-09-18T22:11:26Z hiroaki joined #lisp 2019-09-18T22:15:05Z APic joined #lisp 2019-09-18T22:15:12Z ralt: jfe: there are cheap mutexes 2019-09-18T22:15:27Z ralt: one I really like when you have many-reads-little-writes is seqlock 2019-09-18T22:15:47Z ralt: the reader lock doesn't actually take any lock 2019-09-18T22:17:51Z Ven`` quit (Ping timeout: 265 seconds) 2019-09-18T22:22:25Z jfb4` joined #lisp 2019-09-18T22:23:39Z jfb4 quit (Ping timeout: 240 seconds) 2019-09-18T22:26:46Z gigetoo quit (Ping timeout: 244 seconds) 2019-09-18T22:27:21Z jonatack quit (Read error: Connection reset by peer) 2019-09-18T22:27:31Z gigetoo joined #lisp 2019-09-18T22:32:33Z jonatack joined #lisp 2019-09-18T22:33:46Z asdf_asdf_asdf quit (Quit: asdf_asdf_asdf) 2019-09-18T22:34:10Z anewuser joined #lisp 2019-09-18T22:36:16Z fragamus joined #lisp 2019-09-18T22:39:35Z cosimone joined #lisp 2019-09-18T22:43:34Z Bike joined #lisp 2019-09-18T22:50:05Z Lycurgus quit (Quit: Exeunt) 2019-09-18T22:58:51Z fragamus quit (Ping timeout: 240 seconds) 2019-09-18T23:04:03Z cosimone quit (Ping timeout: 245 seconds) 2019-09-18T23:08:18Z refpga quit (Read error: Connection reset by peer) 2019-09-18T23:08:56Z refpga joined #lisp 2019-09-18T23:19:17Z Ricchi joined #lisp 2019-09-18T23:28:54Z orivej quit (Ping timeout: 265 seconds) 2019-09-18T23:36:09Z NickBusey joined #lisp 2019-09-18T23:39:33Z smazga quit (Quit: leaving) 2019-09-18T23:39:51Z orivej joined #lisp 2019-09-18T23:40:09Z jfb4`` joined #lisp 2019-09-18T23:41:41Z jfb4` quit (Ping timeout: 276 seconds) 2019-09-18T23:46:20Z ltriant joined #lisp 2019-09-18T23:51:46Z Oladon_work joined #lisp 2019-09-18T23:52:18Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-18T23:53:58Z fragamus joined #lisp 2019-09-18T23:58:46Z fragamus quit (Ping timeout: 245 seconds) 2019-09-18T23:58:57Z lxbarbos` quit (Remote host closed the connection) 2019-09-19T00:01:36Z lavaflow quit (Ping timeout: 268 seconds) 2019-09-19T00:02:33Z lavaflow joined #lisp 2019-09-19T00:10:38Z igemnace quit (Remote host closed the connection) 2019-09-19T00:11:17Z karlosz joined #lisp 2019-09-19T00:14:27Z Oladon_work quit (Ping timeout: 260 seconds) 2019-09-19T00:15:04Z kajo quit (Ping timeout: 264 seconds) 2019-09-19T00:15:47Z ltriant quit (Ping timeout: 265 seconds) 2019-09-19T00:16:01Z ltriant joined #lisp 2019-09-19T00:19:05Z techquila joined #lisp 2019-09-19T00:21:04Z mindthelion joined #lisp 2019-09-19T00:22:24Z mindthelion quit (Read error: Connection reset by peer) 2019-09-19T00:23:39Z mindthelion joined #lisp 2019-09-19T00:23:40Z techquila quit (Read error: Connection reset by peer) 2019-09-19T00:25:02Z mindthelion quit (Read error: Connection reset by peer) 2019-09-19T00:25:47Z techquila joined #lisp 2019-09-19T00:28:42Z fragamus joined #lisp 2019-09-19T00:32:21Z stzsch quit (Ping timeout: 246 seconds) 2019-09-19T00:33:41Z stzsch joined #lisp 2019-09-19T00:41:16Z fragamus quit (Ping timeout: 245 seconds) 2019-09-19T00:55:26Z hiroaki quit (Ping timeout: 245 seconds) 2019-09-19T00:56:06Z elfmacs joined #lisp 2019-09-19T01:00:24Z kajo joined #lisp 2019-09-19T01:02:17Z anewuser quit (Ping timeout: 276 seconds) 2019-09-19T01:05:26Z bitmapper quit (Ping timeout: 245 seconds) 2019-09-19T01:07:32Z ikki quit (Remote host closed the connection) 2019-09-19T01:13:08Z fragamus joined #lisp 2019-09-19T01:14:58Z shifty joined #lisp 2019-09-19T01:15:40Z semz quit (Ping timeout: 264 seconds) 2019-09-19T01:18:32Z fragamus quit (Ping timeout: 276 seconds) 2019-09-19T01:20:00Z karlosz quit (Quit: karlosz) 2019-09-19T01:23:37Z fragamus joined #lisp 2019-09-19T01:28:00Z fragamus quit (Ping timeout: 246 seconds) 2019-09-19T01:28:02Z semz joined #lisp 2019-09-19T01:35:36Z ralt quit (Quit: Connection closed for inactivity) 2019-09-19T01:46:22Z stylewarning quit (Excess Flood) 2019-09-19T01:46:49Z stylewarning joined #lisp 2019-09-19T01:48:32Z dale quit (Quit: My computer has gone to sleep) 2019-09-19T01:52:14Z Ricchi quit (Remote host closed the connection) 2019-09-19T01:56:59Z liberiga joined #lisp 2019-09-19T01:59:20Z fragamus joined #lisp 2019-09-19T02:01:24Z techquila quit (Quit: Drops mic, and fucks off back to wherever he crawled out of.) 2019-09-19T02:04:05Z karlosz joined #lisp 2019-09-19T02:05:51Z lavaflow quit (Ping timeout: 245 seconds) 2019-09-19T02:07:07Z akoana left #lisp 2019-09-19T02:09:38Z khisanth_ quit (Ping timeout: 240 seconds) 2019-09-19T02:10:51Z fragamus quit (Ping timeout: 245 seconds) 2019-09-19T02:14:59Z fragamus joined #lisp 2019-09-19T02:21:18Z karlosz quit (Quit: karlosz) 2019-09-19T02:21:21Z analogue joined #lisp 2019-09-19T02:23:29Z karlosz joined #lisp 2019-09-19T02:23:33Z prxq_ joined #lisp 2019-09-19T02:27:27Z khisanth_ joined #lisp 2019-09-19T02:27:44Z prxq quit (Ping timeout: 265 seconds) 2019-09-19T02:27:44Z libertyprime joined #lisp 2019-09-19T02:31:20Z seok joined #lisp 2019-09-19T02:34:01Z lavaflow joined #lisp 2019-09-19T02:37:02Z analogue quit (Quit: Leaving) 2019-09-19T02:37:07Z karlosz quit (Quit: karlosz) 2019-09-19T02:37:56Z Kaisyu7 quit (Ping timeout: 245 seconds) 2019-09-19T02:39:45Z stzsch quit (Ping timeout: 246 seconds) 2019-09-19T02:41:36Z stzsch joined #lisp 2019-09-19T02:42:04Z Kaisyu7 joined #lisp 2019-09-19T02:54:12Z jeosol joined #lisp 2019-09-19T02:59:28Z Bike quit (Quit: Lost terminal) 2019-09-19T03:03:29Z catchme quit (Quit: Connection closed for inactivity) 2019-09-19T03:07:32Z beach: Good morning everyone! 2019-09-19T03:22:47Z gravicappa joined #lisp 2019-09-19T03:29:07Z fragamus quit (Ping timeout: 265 seconds) 2019-09-19T03:30:48Z dddddd quit (Remote host closed the connection) 2019-09-19T03:31:56Z seok quit (Remote host closed the connection) 2019-09-19T03:35:58Z torbo joined #lisp 2019-09-19T03:38:13Z malpas joined #lisp 2019-09-19T03:39:17Z aleamb quit (Ping timeout: 268 seconds) 2019-09-19T03:40:03Z elfmacs quit (Ping timeout: 240 seconds) 2019-09-19T03:43:45Z elfmacs joined #lisp 2019-09-19T03:48:35Z Grovosky joined #lisp 2019-09-19T03:49:04Z drmeister: Hey - are there any folks that develop slime online? 2019-09-19T03:49:48Z drmeister: I posted an issue and I wanted to pick your brain. https://github.com/slime/slime/issues/530 2019-09-19T03:50:49Z drmeister: When using C-c C-c to compile a form slime has the line number of the start of the code - but for some reason doesn't pass it to swank-compile-string. 2019-09-19T03:51:02Z drmeister: I wants the line number - I needs it! 2019-09-19T03:55:33Z makomo joined #lisp 2019-09-19T03:55:56Z makomo_ quit (Ping timeout: 268 seconds) 2019-09-19T03:59:34Z adip quit (Ping timeout: 265 seconds) 2019-09-19T04:00:23Z torbo quit (Remote host closed the connection) 2019-09-19T04:02:10Z Necktwi joined #lisp 2019-09-19T04:05:13Z rozenglass quit (Remote host closed the connection) 2019-09-19T04:05:39Z Grovosky quit (Ping timeout: 240 seconds) 2019-09-19T04:08:08Z fragamus joined #lisp 2019-09-19T04:09:53Z adip joined #lisp 2019-09-19T04:11:08Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-19T04:11:32Z vaporatorius joined #lisp 2019-09-19T04:11:35Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-19T04:12:34Z vaporatorius joined #lisp 2019-09-19T04:15:15Z adip quit (Ping timeout: 240 seconds) 2019-09-19T04:16:11Z ltriant_ joined #lisp 2019-09-19T04:16:26Z ltriant quit (Ping timeout: 240 seconds) 2019-09-19T04:18:07Z D30mancer joined #lisp 2019-09-19T04:19:36Z makomo quit (Ping timeout: 245 seconds) 2019-09-19T04:21:47Z zacts joined #lisp 2019-09-19T04:24:51Z ltriant_ quit (Ping timeout: 240 seconds) 2019-09-19T04:25:12Z gxt quit (Ping timeout: 260 seconds) 2019-09-19T04:28:26Z Necktwi quit (Ping timeout: 240 seconds) 2019-09-19T04:30:07Z mulk quit (Quit: ZNC - http://znc.in) 2019-09-19T04:31:10Z mulk joined #lisp 2019-09-19T04:33:31Z zacts quit (Quit: WeeChat 2.4) 2019-09-19T04:37:26Z Lord_of_Life quit (Ping timeout: 276 seconds) 2019-09-19T04:38:37Z Lord_of_Life joined #lisp 2019-09-19T04:45:58Z Necktwi joined #lisp 2019-09-19T04:51:14Z orivej quit (Ping timeout: 240 seconds) 2019-09-19T04:51:22Z orivej_ joined #lisp 2019-09-19T04:57:02Z _whitelogger quit (Remote host closed the connection) 2019-09-19T04:59:16Z _whitelogger joined #lisp 2019-09-19T05:03:09Z fragamus quit (Ping timeout: 268 seconds) 2019-09-19T05:11:55Z sauvin joined #lisp 2019-09-19T05:13:08Z igemnace joined #lisp 2019-09-19T05:15:23Z fragamus joined #lisp 2019-09-19T05:20:08Z fragamus quit (Ping timeout: 258 seconds) 2019-09-19T05:26:13Z wigust joined #lisp 2019-09-19T05:27:01Z wigust- quit (Ping timeout: 258 seconds) 2019-09-19T05:28:39Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-19T05:31:26Z spowell joined #lisp 2019-09-19T05:31:27Z shangul joined #lisp 2019-09-19T05:34:43Z ltriant joined #lisp 2019-09-19T05:38:06Z shka_ joined #lisp 2019-09-19T05:41:38Z ltriant quit (Ping timeout: 240 seconds) 2019-09-19T05:44:30Z libertyprime quit (Remote host closed the connection) 2019-09-19T05:49:20Z emacsomancer quit (Read error: Connection reset by peer) 2019-09-19T05:49:28Z fragamus joined #lisp 2019-09-19T05:51:33Z ltriant joined #lisp 2019-09-19T05:51:38Z gravicappa quit (Ping timeout: 240 seconds) 2019-09-19T05:54:15Z fragamus quit (Ping timeout: 258 seconds) 2019-09-19T05:57:37Z shrdlu68 joined #lisp 2019-09-19T05:58:34Z Shinmera: drmeister: There's #slime, too 2019-09-19T05:59:25Z drmeister: Hi - yeah - I dropped a note in there. I haven't seen any responses yet. But it's only been about 12 hours. No worries. 2019-09-19T05:59:29Z drmeister: Thanks! 2019-09-19T06:00:55Z raghavgururajan joined #lisp 2019-09-19T06:01:23Z drmeister: It's a small change that we are looking for that may be a big change if adding another keyword argument to swank-compile-string requires every implementation to handle that. 2019-09-19T06:01:25Z ltriant_ joined #lisp 2019-09-19T06:02:58Z ltriant quit (Ping timeout: 268 seconds) 2019-09-19T06:05:04Z ltriant_ quit (Client Quit) 2019-09-19T06:05:33Z krid quit (Remote host closed the connection) 2019-09-19T06:14:36Z vaporatorius quit (Ping timeout: 245 seconds) 2019-09-19T06:14:54Z vaporatorius joined #lisp 2019-09-19T06:14:54Z vaporatorius quit (Changing host) 2019-09-19T06:14:54Z vaporatorius joined #lisp 2019-09-19T06:14:56Z shka_ quit (Ping timeout: 276 seconds) 2019-09-19T06:15:21Z varjag joined #lisp 2019-09-19T06:19:04Z liberiga quit (Ping timeout: 260 seconds) 2019-09-19T06:19:05Z beach quit (Remote host closed the connection) 2019-09-19T06:20:26Z beach joined #lisp 2019-09-19T06:21:44Z pjb: drmeister: you can also use C-c C-k to compile the whole file and have the source location information kept. 2019-09-19T06:22:56Z drmeister: Yes - that's what I do - but every now and then I C-c C-c and it all gets confused. 2019-09-19T06:23:27Z vlatkoB joined #lisp 2019-09-19T06:24:02Z fragamus joined #lisp 2019-09-19T06:24:27Z varjag quit (Ping timeout: 240 seconds) 2019-09-19T06:25:32Z ljavorsk joined #lisp 2019-09-19T06:28:55Z fragamus quit (Ping timeout: 265 seconds) 2019-09-19T06:29:35Z Necktwi quit (Quit: leaving) 2019-09-19T06:34:46Z fragamus joined #lisp 2019-09-19T06:39:15Z fragamus quit (Ping timeout: 240 seconds) 2019-09-19T06:45:15Z serge joined #lisp 2019-09-19T06:45:53Z aeth quit (Quit: ...) 2019-09-19T06:49:39Z stepnem quit (Ping timeout: 240 seconds) 2019-09-19T06:53:44Z stepnem joined #lisp 2019-09-19T07:05:37Z Lord_of_Life quit (Read error: Connection reset by peer) 2019-09-19T07:06:25Z flamebeard joined #lisp 2019-09-19T07:09:26Z eagleflo quit (Remote host closed the connection) 2019-09-19T07:10:36Z Lord_of_Life joined #lisp 2019-09-19T07:11:38Z eagleflo joined #lisp 2019-09-19T07:12:02Z prxq_ quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 2019-09-19T07:13:18Z angavrilov quit (Remote host closed the connection) 2019-09-19T07:13:49Z angavrilov joined #lisp 2019-09-19T07:21:04Z liberiga joined #lisp 2019-09-19T07:35:29Z manualcrank joined #lisp 2019-09-19T07:39:18Z ggole joined #lisp 2019-09-19T07:40:24Z scymtym quit (Ping timeout: 268 seconds) 2019-09-19T07:44:08Z eagleflo quit (Remote host closed the connection) 2019-09-19T07:47:15Z techquila joined #lisp 2019-09-19T07:48:41Z techquila quit (Remote host closed the connection) 2019-09-19T07:49:45Z eagleflo joined #lisp 2019-09-19T08:05:02Z scymtym joined #lisp 2019-09-19T08:06:52Z hhdave joined #lisp 2019-09-19T08:07:35Z libertyprime joined #lisp 2019-09-19T08:19:24Z eagleflo quit (Remote host closed the connection) 2019-09-19T08:22:32Z eagleflo joined #lisp 2019-09-19T08:24:22Z flamebeard quit (Remote host closed the connection) 2019-09-19T08:25:29Z flamebeard joined #lisp 2019-09-19T08:25:56Z eagleflo quit (Remote host closed the connection) 2019-09-19T08:28:50Z eagleflo joined #lisp 2019-09-19T08:29:17Z EvW joined #lisp 2019-09-19T08:30:14Z flamebeard_ joined #lisp 2019-09-19T08:31:25Z flamebeard quit (Remote host closed the connection) 2019-09-19T08:35:36Z fragamus joined #lisp 2019-09-19T08:40:01Z fragamus quit (Ping timeout: 245 seconds) 2019-09-19T08:40:09Z Ae_Mc joined #lisp 2019-09-19T08:40:22Z Ae_Mc: Is anybody here? 2019-09-19T08:41:24Z asdf_asdf_asdf joined #lisp 2019-09-19T08:41:39Z beach: You bet. 2019-09-19T08:43:10Z beach: Ae_Mc: What can we do for you? 2019-09-19T08:44:35Z Ae_Mc: Nothing 2019-09-19T08:44:42Z beach: Oh, OK. 2019-09-19T08:44:47Z Ae_Mc: Thanks 2019-09-19T08:45:03Z thijso: he was just checking if anyone was here, so if not, he could steal the silverware... ;) 2019-09-19T08:45:16Z thijso: should have kept silent, beach 2019-09-19T08:45:29Z beach: Too late. 2019-09-19T08:45:32Z beach: Oh, well. 2019-09-19T08:47:50Z Ae_Mc: And you have fun here, as I see 2019-09-19T08:48:14Z beach: Of course. Common Lisp is a fun language to program with. 2019-09-19T08:48:50Z jackdaniel: for what it's worth I'm not here nor I do have fun 2019-09-19T08:48:51Z jackdaniel: ;-) 2019-09-19T08:49:15Z refpga quit (Ping timeout: 240 seconds) 2019-09-19T08:49:25Z refpga joined #lisp 2019-09-19T08:50:35Z beach: Spoilsport! 2019-09-19T08:50:43Z EvW quit (Ping timeout: 245 seconds) 2019-09-19T08:54:06Z refpga quit (Remote host closed the connection) 2019-09-19T08:54:29Z refpga joined #lisp 2019-09-19T08:56:27Z jfb4`` quit (Ping timeout: 240 seconds) 2019-09-19T08:59:55Z frgo joined #lisp 2019-09-19T09:00:17Z flamebeard_ is now known as flamebeard 2019-09-19T09:03:33Z beach: Ae_Mc: Several of us meet once a year at the European Lisp Symposium, so many of us know each other. There are usually nearly 100 participants at that conference. 2019-09-19T09:05:28Z Ae_Mc: Where is the Symposium held? 2019-09-19T09:05:31Z beach: Ae_Mc: ELS2020 has not been announced yet, but we happen to know that it is going to be held in Zürich, probably at the end of March. 2019-09-19T09:05:41Z beach: Different location every year. 2019-09-19T09:06:24Z oldtopman quit (Ping timeout: 244 seconds) 2019-09-19T09:07:55Z beach: https://european-lisp-symposium.org/ 2019-09-19T09:07:56Z Ae_Mc: Who is the founder? 2019-09-19T09:08:19Z beach: It was created by Pascal Costanza, but it is currently run by Didier Verna. 2019-09-19T09:09:20Z beach: ... and the steering committee. And especially by the program chair and the local chair, that are also different each year. 2019-09-19T09:09:31Z ym joined #lisp 2019-09-19T09:12:12Z oldtopman joined #lisp 2019-09-19T09:16:46Z frgo quit (Remote host closed the connection) 2019-09-19T09:19:04Z ck_: Can anyone help me with an ABCL question? I think I'm missing something very basic on the java side. 2019-09-19T09:20:09Z no-defun-allowed: What's the problem? 2019-09-19T09:20:39Z pjb: What's your guess? 2019-09-19T09:21:02Z ck_: The problem is "Don't know how to REQUIRE ABCL-CONTRIB." -- I'm trying to run this code: https://gist.github.com/fsmunoz/5850260 2019-09-19T09:21:08Z frgo joined #lisp 2019-09-19T09:21:45Z ck_: I think I set the classpath correctly (tried both the -cp argument and the environment variable), but the messages "Added jar:file:..." that those files comments talk about don't happen 2019-09-19T09:21:57Z no-defun-allowed: Hm, I've never used the contrib package, sorry. 2019-09-19T09:22:19Z pjb: Do you have the abcl-contrib.jar file somewhere? 2019-09-19T09:22:36Z ck_: pjb: yes, that's what I meant by classpath argument. 2019-09-19T09:22:42Z frgo_ joined #lisp 2019-09-19T09:22:54Z ck_: the gist is a couple years old, maybe require isn't the way to do that anymore? 2019-09-19T09:23:08Z frgo quit (Read error: Connection reset by peer) 2019-09-19T09:23:44Z ck_: no, that's not it, the manual mentions it explicitly 2019-09-19T09:25:16Z pjb: Yes, it should work like jss. 2019-09-19T09:26:41Z jonatack quit (Ping timeout: 276 seconds) 2019-09-19T09:26:46Z jackdaniel: could you paste somewhere exact invocation (copy paste from the terminal) and contents of: a) abcl directory, b) directory with abcl-contrib (possibly the same directory) 2019-09-19T09:26:47Z gravicappa joined #lisp 2019-09-19T09:26:59Z jackdaniel: I gather that the file loaded is the file in a gist 2019-09-19T09:27:07Z makomo joined #lisp 2019-09-19T09:27:42Z ck_: okay, here goes: 2019-09-19T09:28:02Z ck_: java -cp ~/opt/abcl-bin-1.5.0/abcl.jar:~/opt/abcl-bin-1.5.0/abcl-contrib.jar:org.eclipse.paho.client.mqttv3.jar org.armedbear.lisp.Main --noinform --noinit --nosystem --load abcl-mqtt.lisp 2019-09-19T09:29:41Z ck_: the directory contents of ~/opt/abcl-bin-1.5.0 are the following 6 files: "CHANGES" "README" "abcl-1.5.0.pdf" "abcl-contrib.jar" "abcl.jar" "asdf.pdf" 2019-09-19T09:30:35Z frgo_ quit (Remote host closed the connection) 2019-09-19T09:30:42Z jackdaniel: I'd try absolute paths, maybe that will change something 2019-09-19T09:32:27Z ck_: jackdaniel: okay I'll try (and I think I did before) -- but the "Don't know how to ... -CONTRIB" messages is produced from the abcl repl, so abcl.jar is found correctly 2019-09-19T09:33:08Z jackdaniel: I gather that when you invoke repl and type (require 'abcl-contrib) the problem is the same? 2019-09-19T09:33:35Z ck_: yes -- well, not exactly, because the quote syntax produces a different error message -- but it fails either way 2019-09-19T09:33:45Z ck_: maybe I'm using the wrong version of Java, are there restrictions? 2019-09-19T09:35:56Z jackdaniel: I think that abcl does not work *at all* on some recent Java versions because bytecode has changed and compiler has not been adapted? I'm not certain, maybe interpreter works there 2019-09-19T09:37:20Z ck_: Aha, then that's probably the reason. Can you tell me which version is safe? 2019-09-19T09:38:22Z no-defun-allowed: Works fine on Java 8, but that might be too old. 2019-09-19T09:38:44Z jackdaniel: I can't, as you've noticed I was pretty vague about versions 2019-09-19T09:40:25Z ck_: Okay, thank you. 2019-09-19T09:41:34Z nostoi joined #lisp 2019-09-19T09:48:32Z gravicappa quit (Ping timeout: 265 seconds) 2019-09-19T09:49:40Z ralt joined #lisp 2019-09-19T09:51:18Z jonatack joined #lisp 2019-09-19T09:56:59Z nanoz joined #lisp 2019-09-19T09:59:09Z elfmacs quit (Ping timeout: 268 seconds) 2019-09-19T10:00:10Z fragamus joined #lisp 2019-09-19T10:04:36Z fragamus quit (Ping timeout: 245 seconds) 2019-09-19T10:17:56Z asdf_asdf_asdf quit (Ping timeout: 245 seconds) 2019-09-19T10:18:29Z ghard joined #lisp 2019-09-19T10:19:59Z kajo quit (Ping timeout: 276 seconds) 2019-09-19T10:20:05Z varjag joined #lisp 2019-09-19T10:20:58Z ghard: Gday! Prior to pulling the CFFI sock up libcrypto, I'd like to check if anybody's seen a working ECDSA signing library out in the wild. 2019-09-19T10:22:12Z ghard: Asking for a friend who's got to be verifying the darned Apple Sign On JWS pronto. ;) 2019-09-19T10:22:20Z no-defun-allowed: Ironclad has ECDSA. 2019-09-19T10:22:29Z ghard: Really? 2019-09-19T10:22:35Z no-defun-allowed: Yeah. 2019-09-19T10:22:41Z ghard: I didn't see that last time I looked. 2019-09-19T10:23:01Z no-defun-allowed: It's only in one fork, but that's the fork on Quicklisp. 2019-09-19T10:23:04Z ghard: Which is... like 10 hours ago. 2019-09-19T10:23:06Z ghard: Ahh 2019-09-19T10:23:20Z ghard: Must've missed it somehow. 2019-09-19T10:23:24Z ghard: Thanks! 2019-09-19T10:24:39Z no-defun-allowed: https://gitlab.com/cal-coop/netfarm/netfarm/blob/master/Code/Crypto/keys.lisp might be good as an example of how to use it. 2019-09-19T10:25:23Z ghard: Cool! 2019-09-19T10:31:35Z serge quit (Remote host closed the connection) 2019-09-19T10:34:21Z raghavgururajan quit (Remote host closed the connection) 2019-09-19T10:35:15Z fragamus joined #lisp 2019-09-19T10:40:01Z fragamus quit (Ping timeout: 245 seconds) 2019-09-19T10:41:00Z ljavorsk quit (Ping timeout: 246 seconds) 2019-09-19T10:44:17Z mingus quit (Remote host closed the connection) 2019-09-19T10:44:49Z ghard: A really interesting project too! 2019-09-19T10:48:34Z no-defun-allowed: Thanks. 2019-09-19T10:49:28Z no-defun-allowed needs to update the README though. 2019-09-19T10:52:24Z decent-username joined #lisp 2019-09-19T11:14:33Z frgo joined #lisp 2019-09-19T11:15:28Z fragamus joined #lisp 2019-09-19T11:18:09Z gravicappa joined #lisp 2019-09-19T11:21:14Z elfmacs joined #lisp 2019-09-19T11:21:15Z ebrasca joined #lisp 2019-09-19T11:22:01Z ebrasca quit (Remote host closed the connection) 2019-09-19T11:22:31Z bitmapper joined #lisp 2019-09-19T11:33:53Z amerlyq joined #lisp 2019-09-19T11:39:18Z ym: Can't find mention of ChrysaLisp in logs. Wasn't discussed yet or I'm doing something wrong? 2019-09-19T11:42:26Z bitmapper quit (Read error: Connection reset by peer) 2019-09-19T11:42:32Z bitmappe_ joined #lisp 2019-09-19T11:43:28Z bitmappe_ is now known as bitmapper 2019-09-19T11:44:13Z no-defun-allowed: I wouldn't expect it to be, it isn't a Common Lisp implementation. 2019-09-19T11:44:13Z jeosol quit (Remote host closed the connection) 2019-09-19T11:45:27Z no-defun-allowed: https://github.com/vygr/ChrysaLisp/blob/master/apps/films/app.lisp This indentation scares me. 2019-09-19T11:46:15Z ck_: loading cl-async through quicklisp fails with "#:libuv-grovel is unbound" -- is that expected? 2019-09-19T11:46:15Z no-defun-allowed: ym: Have you heard of Mezzano <https://github.com/froggey/Mezzano>? 2019-09-19T11:46:33Z georgie joined #lisp 2019-09-19T11:50:27Z ljavorsk joined #lisp 2019-09-19T11:51:29Z dddddd joined #lisp 2019-09-19T11:55:07Z ym: no-defun-allowed, yes, but I'm more interested in bare-metal implementations. Mezzano seems cool though. 2019-09-19T11:55:25Z no-defun-allowed: Mezzano is a bare-metal implementation. 2019-09-19T11:55:40Z no-defun-allowed: Unlike ChrysaLisp to my knowledge. 2019-09-19T11:57:11Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-19T11:57:13Z ym: Really? Is there overview of it's hardware architecture? 2019-09-19T11:58:33Z no-defun-allowed: It runs on an x86_64 machine, the only non Lisp part being the bootloader. 2019-09-19T11:59:56Z ym: Well, by bare-metal I mean ISA that theoretically could be synthesized on FPGA. 2019-09-19T12:00:00Z ljavorsk quit (Ping timeout: 265 seconds) 2019-09-19T12:00:15Z ym: And compiler on top of it. 2019-09-19T12:00:32Z no-defun-allowed: It'd be lower than bare metal then, you have to make the metal yourself. 2019-09-19T12:00:51Z no-defun-allowed: Then maybe https://github.com/lisper/cpus-caddr is more your thing. 2019-09-19T12:00:59Z georgie joined #lisp 2019-09-19T12:01:20Z ym: Yep, CADDR re-implementation is cool, but still it's just a CADDR. 2019-09-19T12:02:07Z no-defun-allowed: And the CADR runs Lisp Machine Lisp, which is not awfully far from Common Lisp as things go. 2019-09-19T12:04:41Z ym: CADR is for retro fanboys. Variation of RISC-V and SBCL optimized for each other - that's perfect case. 2019-09-19T12:05:10Z no-defun-allowed sighs 2019-09-19T12:05:37Z nostoi quit (Quit: Verlassend) 2019-09-19T12:06:55Z serge70 joined #lisp 2019-09-19T12:08:40Z ym shrugs off. 2019-09-19T12:10:29Z no-defun-allowed: So you want a C machine that has been adjusted slightly to run SBCL, which in turn is adjusted to run on that C machine better? 2019-09-19T12:12:00Z icov0x29a joined #lisp 2019-09-19T12:12:10Z no-defun-allowed: Maybe I am too pessimistic, but if I was able to fab my own processor, I would definitely have it run a more Lisp-friendly instruction set. 2019-09-19T12:12:29Z no-defun-allowed: And I am never going to be able to fab my own processor, so we have to settle on running Lisp well on C machines. 2019-09-19T12:18:36Z aap: a hardware processor that can execute CADR macrocode directly would be cool 2019-09-19T12:18:44Z icov0x29a quit (Ping timeout: 250 seconds) 2019-09-19T12:18:53Z adip joined #lisp 2019-09-19T12:19:10Z aap: or lambda macrocode. i don't even know how different these are 2019-09-19T12:19:40Z jackdaniel: praise the stock hardware: it gives you a reasonable price which individual can afford with good performance disregarding the language you chose 2019-09-19T12:19:46Z jackdaniel: choose 2019-09-19T12:20:10Z aap: wasn't genera on alpha much faster than on actual symbolics hardware? 2019-09-19T12:21:10Z ym: no-defun-allowed, buy FPGA devboard. 2019-09-19T12:21:29Z ym: And you could fab your own processor. 2019-09-19T12:21:32Z no-defun-allowed: I should some time. 2019-09-19T12:21:44Z aap is currently struggling with his fpga 2019-09-19T12:22:07Z no-defun-allowed: It wouldn't be anywhere close to a proper fab job in terms of efficiency or performance. 2019-09-19T12:22:08Z liberiga quit (Ping timeout: 260 seconds) 2019-09-19T12:23:20Z ym: If you taking in account economic factor, yes, for now. 2019-09-19T12:24:52Z aap: there's a project to make a reincarnation of the lambda that executes macrocode directly from C instead of emulating the microcode 2019-09-19T12:25:09Z aap: once that is running lisp code, maybe the macrocode could be executed directly from an fpga perhaps 2019-09-19T12:25:16Z icov0x29a joined #lisp 2019-09-19T12:25:44Z ym: CADR being synthesized on FPGAs, AFAIK. 2019-09-19T12:26:00Z amerigo joined #lisp 2019-09-19T12:26:35Z aap: yes, the CADR is on an fpga (i've seen it!) but it executes microcode 2019-09-19T12:27:03Z aap: i've also seen real CADRs...hopefully running some day 2019-09-19T12:27:41Z papachan joined #lisp 2019-09-19T12:28:02Z APic quit (Ping timeout: 265 seconds) 2019-09-19T12:29:45Z aleamb__ joined #lisp 2019-09-19T12:29:45Z malpas quit (Read error: Connection reset by peer) 2019-09-19T12:29:45Z aleamb__ is now known as aleamb 2019-09-19T12:30:33Z jonatack quit (Ping timeout: 246 seconds) 2019-09-19T12:31:17Z ym: ZPU is stack machine synthesizable on FPGAs. 2019-09-19T12:33:16Z jackdaniel: behold the prophecy: one day we'll have stock hardware with powerful fpga boards being their peripherals (similar to zynq) and we'll synthesize hardware at real time 2019-09-19T12:33:32Z aap: oh that would be lovely 2019-09-19T12:33:32Z jackdaniel: want to play a game? no problem, extra graphics card for you 2019-09-19T12:33:41Z aap: synthesis is so slow X( 2019-09-19T12:33:56Z adip quit (Ping timeout: 268 seconds) 2019-09-19T12:39:55Z adip joined #lisp 2019-09-19T12:52:10Z papachan quit (Quit: Leaving) 2019-09-19T12:54:11Z papachan joined #lisp 2019-09-19T12:54:41Z gareppa joined #lisp 2019-09-19T12:57:04Z libertyprime quit (Ping timeout: 258 seconds) 2019-09-19T12:59:37Z APic joined #lisp 2019-09-19T13:01:14Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-19T13:03:07Z libertyprime joined #lisp 2019-09-19T13:04:40Z yoja joined #lisp 2019-09-19T13:07:00Z Bike joined #lisp 2019-09-19T13:09:42Z jonatack joined #lisp 2019-09-19T13:13:27Z libertyprime quit (Quit: leaving) 2019-09-19T13:13:55Z icov0x29a quit (Quit: Leaving) 2019-09-19T13:15:40Z FreeBirdLjj joined #lisp 2019-09-19T13:20:14Z FreeBirdLjj quit (Ping timeout: 265 seconds) 2019-09-19T13:26:30Z raghavgururajan joined #lisp 2019-09-19T13:27:13Z ym quit (Read error: Connection reset by peer) 2019-09-19T13:28:55Z mindCrime_ joined #lisp 2019-09-19T13:31:05Z mindCrime__ joined #lisp 2019-09-19T13:33:18Z lucasb joined #lisp 2019-09-19T13:34:36Z yoja quit (Ping timeout: 245 seconds) 2019-09-19T13:34:52Z mindCrime_ quit (Ping timeout: 264 seconds) 2019-09-19T13:38:07Z shrdlu68 quit (Ping timeout: 265 seconds) 2019-09-19T13:39:23Z raghavgururajan quit (Remote host closed the connection) 2019-09-19T13:40:48Z mindCrime__ quit (Ping timeout: 252 seconds) 2019-09-19T13:40:54Z flamebeard quit 2019-09-19T13:45:39Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-19T13:46:00Z vaporatorius joined #lisp 2019-09-19T13:46:00Z vaporatorius quit (Changing host) 2019-09-19T13:46:01Z vaporatorius joined #lisp 2019-09-19T13:47:27Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-19T13:47:54Z libertyprime joined #lisp 2019-09-19T13:50:18Z lxbarbosa joined #lisp 2019-09-19T14:11:31Z Oladon joined #lisp 2019-09-19T14:12:31Z gareppa quit (Quit: Leaving) 2019-09-19T14:15:08Z dale joined #lisp 2019-09-19T14:27:38Z lavaflow quit (Ping timeout: 276 seconds) 2019-09-19T14:31:48Z georgie joined #lisp 2019-09-19T14:33:06Z vaporatorius joined #lisp 2019-09-19T14:33:06Z vaporatorius quit (Changing host) 2019-09-19T14:33:06Z vaporatorius joined #lisp 2019-09-19T14:33:40Z elfmacs quit (Ping timeout: 258 seconds) 2019-09-19T14:35:32Z amerigo quit (Quit: Connection closed for inactivity) 2019-09-19T14:37:55Z shrdlu68 joined #lisp 2019-09-19T14:38:49Z smazga joined #lisp 2019-09-19T14:40:28Z angavrilov quit (Ping timeout: 265 seconds) 2019-09-19T14:41:29Z angavrilov joined #lisp 2019-09-19T14:45:17Z jmercouris joined #lisp 2019-09-19T14:49:38Z jmercouris: hello everyone 2019-09-19T14:53:14Z mindCrime__ joined #lisp 2019-09-19T14:54:03Z v0|d quit (Ping timeout: 240 seconds) 2019-09-19T15:02:02Z thijso: hi 2019-09-19T15:02:51Z shrdlu68 quit (Ping timeout: 240 seconds) 2019-09-19T15:03:31Z beach: Hello jmercouris. 2019-09-19T15:05:27Z nanoz quit (Quit: Leaving) 2019-09-19T15:11:55Z jmercouris: hello beach ! 2019-09-19T15:12:55Z karlosz joined #lisp 2019-09-19T15:14:08Z karlosz quit (Client Quit) 2019-09-19T15:20:07Z frgo quit (Remote host closed the connection) 2019-09-19T15:22:15Z Oladon quit (Quit: Leaving.) 2019-09-19T15:22:23Z frgo joined #lisp 2019-09-19T15:23:27Z rippa joined #lisp 2019-09-19T15:28:17Z Oladon_work joined #lisp 2019-09-19T15:30:36Z FreeBirdLjj joined #lisp 2019-09-19T15:31:01Z varjagg joined #lisp 2019-09-19T15:35:05Z FreeBirdLjj quit (Ping timeout: 265 seconds) 2019-09-19T15:46:18Z gendl shoutout to Roswell and SBCL. I've been developing an elaborate thing for the past 6 months or so exclusively on Allegro and CCL. Tomorrow I'm talking to a firm who is already an SBCL shop and may have a use for our stuff. So 2019-09-19T15:47:44Z gendl: So I proceeded to do 'brew install roswell', 'ros install sbcl', added the newly installed 1.5.6 to my slime-lisp-implementations, and 5 minutes later my thing is up and running under SBCL, no changes, no visible diffferences (knock wood). 2019-09-19T15:49:50Z Xach: nice 2019-09-19T15:50:04Z gendl: I even did (setf (readtable-case *readtable*) :invert), so everything looks the same as in Allegro in modern-mode (maybe I should start doing the same thing in Allegro and ditching modern-mode, although I have to see if abandoning modern-mode support would break any of our stuff for the few people who i think are using it under modern-mode )... 2019-09-19T15:54:26Z retropikzel joined #lisp 2019-09-19T15:57:01Z nostoi joined #lisp 2019-09-19T16:05:57Z Necktwi joined #lisp 2019-09-19T16:19:36Z bitmapper quit (Ping timeout: 245 seconds) 2019-09-19T16:20:17Z EvW joined #lisp 2019-09-19T16:20:27Z bitmapper joined #lisp 2019-09-19T16:21:33Z scymtym quit (Ping timeout: 245 seconds) 2019-09-19T16:22:14Z shka_ joined #lisp 2019-09-19T16:24:50Z clothespin joined #lisp 2019-09-19T16:27:30Z Necktwi quit (Ping timeout: 258 seconds) 2019-09-19T16:30:33Z bitmapper quit (Remote host closed the connection) 2019-09-19T16:32:19Z lavaflow joined #lisp 2019-09-19T16:33:38Z nostoi quit (Quit: This computer has gone to sleep) 2019-09-19T16:35:46Z hhdave quit (Quit: hhdave) 2019-09-19T16:37:21Z aeth joined #lisp 2019-09-19T16:37:26Z Lord_of_Life_ joined #lisp 2019-09-19T16:39:01Z Lord_of_Life quit (Ping timeout: 258 seconds) 2019-09-19T16:39:01Z Lord_of_Life_ is now known as Lord_of_Life 2019-09-19T16:41:15Z jmercouris quit (Ping timeout: 240 seconds) 2019-09-19T16:41:53Z Ricchi joined #lisp 2019-09-19T16:42:12Z Ricchi quit (Remote host closed the connection) 2019-09-19T16:42:30Z Ricchi joined #lisp 2019-09-19T16:46:02Z nostoi joined #lisp 2019-09-19T16:46:40Z zaquest quit (Remote host closed the connection) 2019-09-19T16:47:43Z zaquest joined #lisp 2019-09-19T16:52:33Z davr0s_ quit (Quit: Ex-Chat) 2019-09-19T16:52:33Z davr0s quit (Quit: Ex-Chat) 2019-09-19T16:53:08Z Necktwi joined #lisp 2019-09-19T16:55:24Z LiamH joined #lisp 2019-09-19T16:55:25Z LiamH left #lisp 2019-09-19T16:59:44Z nanoz joined #lisp 2019-09-19T17:01:04Z warweasle joined #lisp 2019-09-19T17:06:43Z Oddity quit (Ping timeout: 245 seconds) 2019-09-19T17:13:31Z Grovosky joined #lisp 2019-09-19T17:14:10Z manualcrank quit (Ping timeout: 265 seconds) 2019-09-19T17:14:39Z shifty quit (Ping timeout: 265 seconds) 2019-09-19T17:19:04Z Oddity joined #lisp 2019-09-19T17:23:27Z mfiano: If I supply the initargs argument to CHANGE-CLASS with an initarg not present in the target class, but instead defined by an initialize-instance :after method, it fails with "Invalid initialization argument" on SBCL. I could do (apply #'change-class instance class :allow-other-keys t initargs), but also, initialize-instance is never called. Do I have to explicitly call initialize-instance as well? 2019-09-19T17:24:37Z papachan quit (Quit: Leaving) 2019-09-19T17:24:52Z Xach: mfiano: change-class uses shared-initialize 2019-09-19T17:25:02Z Bike: if you want the method to happen both on initialization and change-class it should be on shared-initialize. 2019-09-19T17:25:05Z Xach: mfiano: so maybe your method should be there instead. 2019-09-19T17:25:43Z mfiano: I see. What I'm doing is indeed pretty hacky already. Why not? Thanks 2019-09-19T17:26:08Z Bike: i mean it's not a hack, that's what shared-initialize is for 2019-09-19T17:26:27Z lxbarbosa quit (Remote host closed the connection) 2019-09-19T17:26:38Z mfiano: No I mean this code in general. I'm using the MOP to plug in topologically sorted mixin classes into a progn/most-specific-last protocol 2019-09-19T17:27:22Z cosimone joined #lisp 2019-09-19T17:28:23Z Xach: mein auges 2019-09-19T17:31:56Z ck_: if you meant 'my eyes' -- "Meine Augen" 2019-09-19T17:32:04Z mfiano: I've actually never used shared-initialize before. In this case, what should the slot-names argument be? 2019-09-19T17:32:28Z mfiano: and can I use it just like initialize-instance :after methods? 2019-09-19T17:33:36Z Bike: slot-names is either T (meaning all slots) or a list of slot names (symbols) 2019-09-19T17:33:50Z Bike: it's the slots that you're initializing 2019-09-19T17:34:13Z Bike: other than that, it's pretty much like initialize-instance 2019-09-19T17:35:18Z mfiano: In this case, I'm defining additional initargs for make-instance/change-class with the keyword arguments, and I will be setting slot values using them. 2019-09-19T17:35:21Z Bike: the thing to understand about initialization is that the primary method on make-instance is (initialize-instance (allocate-instance class ...initargs) ...initargs), and the primary method on initialize-instance is (shared-initialize instance t ...initargs), i.e. initialize-instance doesn't actually do anything by itself 2019-09-19T17:36:12Z catjoe joined #lisp 2019-09-19T17:36:31Z Bike: with change-class the slot-names argument will be a list of the slot names added by the new class. meaning that you're not supposed to touch the existing slots. 2019-09-19T17:37:06Z Bike: if that's not a problem with your initargs you can just ignore that argument 2019-09-19T17:37:17Z nostoi quit (Quit: Verlassend) 2019-09-19T17:39:29Z mfiano: Great, it works. Thanks a lot 2019-09-19T17:40:59Z mfiano: How does reinitialize-instance come into play? I do have a reinitialize-instance method defined for 1 class that I may change an instance to, and would like this called too. 2019-09-19T17:41:27Z Bike: reinitialize-instance also calls shared-initialize 2019-09-19T17:41:59Z Bike: in that case the list of slot-names will be nil, so you're not supposed to update any slots that don't have an initarg 2019-09-19T17:42:14Z Bike: sorry, i explained that poorly before, the list of slot names is the ones you're not supposed to touch if there's no initarg. 2019-09-19T17:42:25Z Bike: if there is an initarg you do change the slot because it's been explicitly given a new value 2019-09-19T17:43:22Z Bike: so for example if you have an instance with a slot that's unbound, initialize-instance will give that slot a value from the initform, but reinitialize-instance will not 2019-09-19T17:43:40Z catjoe quit (Quit: Leaving) 2019-09-19T17:43:54Z mfiano: I see. That makes sense. Thanks Bike 2019-09-19T17:45:38Z Bike: if you redefine the class, shared-initialize will also be called, by update-instance-for-redefined-class. may or may not be relevant 2019-09-19T17:46:12Z scymtym joined #lisp 2019-09-19T17:48:05Z mfiano: I normally use an :after method for initialize-instance for this type of thing. With shared-initialize does that still make sense? 2019-09-19T17:49:08Z Bike: initialize-instance methods make sense when you want something to happen only during initialization (like through make-instance) but not other times (change-class, reinitialize-instance, make-instances-obsolete) 2019-09-19T17:54:59Z shangul quit (Ping timeout: 276 seconds) 2019-09-19T17:57:23Z fragamus quit (Ping timeout: 245 seconds) 2019-09-19T17:58:30Z fragamus joined #lisp 2019-09-19T18:02:52Z frgo_ joined #lisp 2019-09-19T18:03:46Z fragamus quit (Ping timeout: 245 seconds) 2019-09-19T18:05:30Z frgo quit (Ping timeout: 246 seconds) 2019-09-19T18:06:03Z Necktwi quit (Quit: leaving) 2019-09-19T18:06:34Z Xach: ck_: tank schoen 2019-09-19T18:06:43Z ggole quit (Quit: Leaving) 2019-09-19T18:07:33Z frgo_ quit (Ping timeout: 268 seconds) 2019-09-19T18:08:07Z Necktwi joined #lisp 2019-09-19T18:10:47Z shrdlu68 joined #lisp 2019-09-19T18:12:44Z asdf_asdf_asdf joined #lisp 2019-09-19T18:13:58Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-19T18:14:25Z cosimone quit (Remote host closed the connection) 2019-09-19T18:14:52Z cosimone joined #lisp 2019-09-19T18:23:59Z yoja joined #lisp 2019-09-19T18:27:12Z ck_: Xach: Gern geschehen. By the way, how is your parallelization campaign going? 2019-09-19T18:28:10Z Xach: ck_: stalled, unfortunately 2019-09-19T18:28:35Z Xach: restoring daily automatic builds has reduced some of the urgency 2019-09-19T18:28:48Z Xach: before when i was interactively kicking off builds, cutting the time down made a huge difference 2019-09-19T18:28:53Z ck_: calm before the resounding success, I'd call it 2019-09-19T18:29:12Z Xach: http://report.quicklisp.org is updated daily and automatically 2019-09-19T18:29:57Z ck_: I see. In that case, why bother. I understand 2019-09-19T18:30:40Z sauvin quit (Read error: Connection reset by peer) 2019-09-19T18:31:05Z Xach: I'd still like to pursue it. It would be nice to come up with a system that I could run on e.g. 100 cloud servers and complete in 5 minutes or something. 2019-09-19T18:31:21Z fsmunoz joined #lisp 2019-09-19T18:32:04Z ck_: what speedup do you figure? i mean, does it take 9 hours now? 2019-09-19T18:32:31Z Xach: It takes about two hours now 2019-09-19T18:33:33Z srji joined #lisp 2019-09-19T18:33:53Z srji: I am trying to extract elements from a sequence and want to copy them to a new list. https://gitlab.com/snippets/1896440 2019-09-19T18:34:26Z Xach: srji: do you have some extension that makes [1 2 3] a sequence? 2019-09-19T18:34:37Z Xach: Also, what is seq-do? 2019-09-19T18:35:00Z srji: i thought a vector is a sequence? 2019-09-19T18:35:15Z Xach: srji: sure. but [...] is not standard. 2019-09-19T18:35:22Z Xach: The square brackets are what I wonder about. 2019-09-19T18:35:24Z asdf_asdf_asdf: @srji; use copy-seq. 2019-09-19T18:35:32Z srji: ah its emacs lisp, so i should ask in #emacs :) 2019-09-19T18:35:38Z ck_: Xach: well, its about to be the season for more indoor activities. maybe you will be coerced into continuing .. by snow for example 2019-09-19T18:35:41Z Xach: srji: ahhh 2019-09-19T18:35:48Z srji: sorry 2019-09-19T18:36:18Z Xach: ck_: it's possible but that is also the best time to harvest trees for firewood and lumber - less sap to dry later. 2019-09-19T18:36:23Z Xach: but maybe the cold AND dark will make it work 2019-09-19T18:36:54Z asdf_asdf_asdf: @srji; (loop for x in (list 1 2 3 4) collect x). 2019-09-19T18:37:21Z Xach: asdf_asdf_asdf: it is not the right language 2019-09-19T18:37:45Z vlatkoB quit (Remote host closed the connection) 2019-09-19T18:38:02Z asdf_asdf_asdf: (let ((a (loop for x across "abcd" collect x))) (string (nth 0 a))) 2019-09-19T18:38:29Z interruptinuse is now known as inty 2019-09-19T18:38:52Z Bike: what on earth 2019-09-19T18:38:57Z analogue joined #lisp 2019-09-19T18:40:19Z inty is now known as interruptinuse 2019-09-19T18:45:04Z kajo joined #lisp 2019-09-19T18:45:32Z makomo quit (Quit: WeeChat 2.4) 2019-09-19T18:46:37Z cosimone quit (Quit: Terminated!) 2019-09-19T18:54:49Z analogue quit (Quit: Leaving) 2019-09-19T19:00:49Z Ven`` joined #lisp 2019-09-19T19:05:27Z fsmunoz quit (Ping timeout: 258 seconds) 2019-09-19T19:10:30Z jpp_ joined #lisp 2019-09-19T19:12:51Z Grovosky quit (Ping timeout: 240 seconds) 2019-09-19T19:13:02Z gareppa joined #lisp 2019-09-19T19:13:33Z retropikzel quit (Remote host closed the connection) 2019-09-19T19:16:29Z paul0 joined #lisp 2019-09-19T19:20:20Z ralt quit (Quit: Connection closed for inactivity) 2019-09-19T19:22:06Z warweasle quit (Quit: rcirc on GNU Emacs 24.4.1) 2019-09-19T19:22:55Z jpp_ quit (Quit: Leaving) 2019-09-19T19:22:56Z yoja quit (Remote host closed the connection) 2019-09-19T19:23:14Z yoja joined #lisp 2019-09-19T19:25:25Z bitmapper joined #lisp 2019-09-19T19:31:52Z cosimone joined #lisp 2019-09-19T19:36:16Z shrdlu68 quit (Ping timeout: 265 seconds) 2019-09-19T19:36:16Z gravicappa quit (Ping timeout: 245 seconds) 2019-09-19T19:38:31Z EvW1 joined #lisp 2019-09-19T19:38:36Z shka_ quit (Ping timeout: 246 seconds) 2019-09-19T19:40:16Z EvW quit (Ping timeout: 264 seconds) 2019-09-19T19:40:17Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-19T19:40:25Z EvW1 is now known as EvW 2019-09-19T19:51:03Z notzmv joined #lisp 2019-09-19T19:58:01Z shrdlu68 joined #lisp 2019-09-19T19:58:21Z krid joined #lisp 2019-09-19T19:58:40Z cosimone quit (Quit: Terminated!) 2019-09-19T19:58:54Z _jrjsmrtn joined #lisp 2019-09-19T19:58:57Z cosimone joined #lisp 2019-09-19T19:59:14Z gravicappa joined #lisp 2019-09-19T19:59:27Z cosimone quit (Client Quit) 2019-09-19T19:59:50Z cosimone joined #lisp 2019-09-19T20:00:24Z amerlyq quit (Quit: amerlyq) 2019-09-19T20:00:38Z __jrjsmrtn__ quit (Ping timeout: 258 seconds) 2019-09-19T20:01:54Z namosca joined #lisp 2019-09-19T20:02:34Z thijso: I'm looking for a system/library to facilitate kind of a disk-backed memory store. Something that saves the data to disk regularly, but a little loss is acceptable. Is there something like that for Lisp already? Might cl-prevalence be a good fit? Ubiquitous looks kinda like something also, except it's documentation is about persistent _configuration_ storage. Any other suggestions? 2019-09-19T20:03:18Z thijso: I'm thinking I might just start out with plists (or maybe a hash) and just serialize that to disk with alexandria or something. 2019-09-19T20:03:27Z krid quit (Ping timeout: 246 seconds) 2019-09-19T20:03:47Z thijso: Figure out heavy lifting stuff if/when I really need it. 2019-09-19T20:05:52Z cosimone quit (Remote host closed the connection) 2019-09-19T20:06:06Z MrBismuth quit (Read error: Connection reset by peer) 2019-09-19T20:06:17Z cosimone joined #lisp 2019-09-19T20:06:34Z namosca quit (Client Quit) 2019-09-19T20:07:53Z karlosz joined #lisp 2019-09-19T20:07:53Z Ae_Mc quit (Read error: Connection reset by peer) 2019-09-19T20:10:22Z krid joined #lisp 2019-09-19T20:11:39Z karlosz quit (Client Quit) 2019-09-19T20:16:34Z Xach: thijso: streaming plists to a file is not a half-bad initial approach. 2019-09-19T20:20:01Z gravicappa quit (Ping timeout: 245 seconds) 2019-09-19T20:21:56Z cosimone quit (Quit: Terminated!) 2019-09-19T20:28:44Z aun joined #lisp 2019-09-19T20:32:16Z MrBismuth joined #lisp 2019-09-19T20:36:21Z shrdlu68 quit (Ping timeout: 246 seconds) 2019-09-19T20:40:54Z thijso: In the case that the id's are strings, is it better to use an eql hash or coerce the strings into keys (with intern)? Or is it basically the same difference? Or third option? 2019-09-19T20:41:20Z Xach: eql hash does not work with strings 2019-09-19T20:41:29Z Xach: I usually use an equal hash 2019-09-19T20:41:32Z thijso: Uh, sorry, the hash version that works 2019-09-19T20:41:36Z thijso: yeah, that one 2019-09-19T20:41:40Z Xach: But it depends on the situation a bit. 2019-09-19T20:42:02Z thijso: Yeah, I thought that would be the case... ;) 2019-09-19T20:42:57Z nanoz quit (Ping timeout: 268 seconds) 2019-09-19T20:45:48Z saturn2: interned symbols don't get garbage collected, so don't use them unless you want them to stick around forever 2019-09-19T20:49:15Z adip quit (Ping timeout: 240 seconds) 2019-09-19T20:52:29Z thijso: Yeah, saturn2, that is indeed a concern 2019-09-19T20:52:50Z thijso: so hash-table it is 2019-09-19T20:52:51Z thijso: for now 2019-09-19T20:54:05Z yoja quit (Ping timeout: 265 seconds) 2019-09-19T21:00:02Z adip joined #lisp 2019-09-19T21:00:22Z EvW quit (Ping timeout: 265 seconds) 2019-09-19T21:02:11Z Aruseus joined #lisp 2019-09-19T21:04:01Z gareppa quit (Quit: Leaving) 2019-09-19T21:12:25Z karlosz joined #lisp 2019-09-19T21:14:32Z manualcrank joined #lisp 2019-09-19T21:20:51Z karlosz quit (Quit: karlosz) 2019-09-19T21:22:48Z cosimone joined #lisp 2019-09-19T21:27:50Z jfb4 joined #lisp 2019-09-19T21:30:00Z varjagg quit (Quit: ERC (IRC client for Emacs 26.1)) 2019-09-19T21:34:15Z White_Flame: you can manually intern your keys using a separate string->self equal hashtable first, then your main content will have eq strings 2019-09-19T21:34:33Z White_Flame: depending on where you want to spend time 2019-09-19T21:38:04Z ravndal quit (Quit: WeeChat 2.6) 2019-09-19T21:39:42Z ravndal joined #lisp 2019-09-19T21:43:47Z mindCrime__ quit (Ping timeout: 276 seconds) 2019-09-19T21:49:24Z ralt joined #lisp 2019-09-19T21:51:39Z Bike quit (Quit: Bike) 2019-09-19T21:53:59Z thijso: I don't fully understand what you mean White_Flame 2019-09-19T21:54:18Z thijso: Have a separate hashtable mapping the "string keys" to something else, is that what you mean? 2019-09-19T21:54:58Z pjb: Yes. 2019-09-19T21:55:21Z White_Flame: yes, map "foo" => "foo", in a #'EQUAL hashtable. Then when you do (gethash "foo" *table*), it'll return the exact same "foo" string instance, which can be then eq compared in a table, without converting it to a symbol 2019-09-19T21:55:23Z Xach: thijso: you could have a table that maps strings to integer IDs or something. 2019-09-19T21:55:31Z Xach: Or that. 2019-09-19T21:55:36Z no-defun-allowed: Does anyone use tries in intern tables? 2019-09-19T21:55:49Z pjb: That said, it all depends on the speed of the hash function, which should be O(1) fast anyways. So using an equal hash table should not be significantly slower than using an eq hash table. 2019-09-19T21:56:34Z White_Flame: even if it's O(1), its constant time can be much slower than an eq compare 2019-09-19T21:56:53Z White_Flame: again, it all depends on where you want the cpu to spend time, if this is an optimization issue 2019-09-19T21:57:15Z White_Flame: and depending on what you're doing, it might be advantageous to keep the data as a string 2019-09-19T21:58:39Z thijso: ah 2019-09-19T21:58:53Z thijso: uhm, not an optimization issue, no 2019-09-19T21:58:57Z thijso: not yet, at least ;) 2019-09-19T22:00:01Z thijso: I'll have to look into that map "foo" => "foo" trick later, because it's late here and I'm getting a 'does-not-compute' error in my head atm... ;) 2019-09-19T22:00:22Z thijso: thanks for the suggestions, though, I'll be sure to check 'm out 2019-09-19T22:15:35Z Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-19T22:16:15Z Ven`` joined #lisp 2019-09-19T22:16:25Z Ven`` quit (Client Quit) 2019-09-19T22:17:56Z kajo quit (Quit: From my rotting body, flowers shall grow and I am in them and that is eternity. -- E. M.) 2019-09-19T22:19:25Z techquila joined #lisp 2019-09-19T22:19:32Z stepnem quit (Ping timeout: 276 seconds) 2019-09-19T22:22:07Z stepnem joined #lisp 2019-09-19T22:28:12Z White_Flame: thijso: there may be many string instances of "foo". however, the one that is the value in that hashtable is the "canonical" one. by always looking up your string in that hashtable and only using the value from there (lazily adding to it if the key isn't found), you basically intern your strings to EQ-able instances 2019-09-19T22:28:36Z White_Flame: (just for understanding/reference) 2019-09-19T22:32:37Z kajo joined #lisp 2019-09-19T22:36:35Z Oladon_work quit (Ping timeout: 260 seconds) 2019-09-19T22:36:53Z Bike joined #lisp 2019-09-19T22:46:27Z asdf_asdf_asdf quit (Quit: asdf_asdf_asdf) 2019-09-19T22:47:28Z akovalenko quit (Ping timeout: 264 seconds) 2019-09-19T22:50:05Z decent-username quit (Ping timeout: 276 seconds) 2019-09-19T23:00:37Z Blukunfando joined #lisp 2019-09-19T23:04:28Z cosimone quit (Ping timeout: 245 seconds) 2019-09-19T23:13:45Z mindthelion joined #lisp 2019-09-19T23:16:16Z techquila quit (Ping timeout: 264 seconds) 2019-09-19T23:19:33Z EvW joined #lisp 2019-09-19T23:26:42Z eigenhombre quit (Quit: Connection closed for inactivity) 2019-09-19T23:33:09Z smazga quit (Quit: leaving) 2019-09-19T23:33:47Z libertyprime quit (Quit: leaving) 2019-09-19T23:45:46Z lucasb quit (Quit: Connection closed for inactivity) 2019-09-19T23:52:43Z Aruseus quit (Remote host closed the connection) 2019-09-19T23:53:54Z analogue joined #lisp 2019-09-19T23:58:36Z aun quit (Remote host closed the connection) 2019-09-20T00:04:52Z refpga quit (Read error: Connection reset by peer) 2019-09-20T00:15:34Z anewuser joined #lisp 2019-09-20T00:27:48Z EvW quit (Ping timeout: 245 seconds) 2019-09-20T00:30:49Z malpas joined #lisp 2019-09-20T00:33:35Z aleamb quit (Ping timeout: 268 seconds) 2019-09-20T00:36:37Z Bike quit (Quit: Lost terminal) 2019-09-20T00:38:42Z Bike joined #lisp 2019-09-20T00:39:58Z shifty joined #lisp 2019-09-20T00:43:54Z fragamus joined #lisp 2019-09-20T00:45:01Z EvW joined #lisp 2019-09-20T00:53:47Z elfmacs joined #lisp 2019-09-20T01:14:28Z semz quit (Ping timeout: 245 seconds) 2019-09-20T01:20:35Z bitmapper quit (Read error: Connection reset by peer) 2019-09-20T01:20:45Z bitmapper joined #lisp 2019-09-20T01:21:52Z bitmapper quit (Client Quit) 2019-09-20T01:22:10Z emacsomancer joined #lisp 2019-09-20T01:22:31Z igemnace quit (Quit: WeeChat 2.6) 2019-09-20T01:24:52Z liberiga joined #lisp 2019-09-20T01:27:23Z EvW quit (Ping timeout: 245 seconds) 2019-09-20T01:28:01Z semz joined #lisp 2019-09-20T01:28:01Z semz quit (Changing host) 2019-09-20T01:28:01Z semz joined #lisp 2019-09-20T01:34:19Z ralt quit (Quit: Connection closed for inactivity) 2019-09-20T01:48:49Z fragamus quit (Ping timeout: 268 seconds) 2019-09-20T01:50:52Z liberiga quit (Ping timeout: 260 seconds) 2019-09-20T02:00:38Z libertyprime joined #lisp 2019-09-20T02:24:47Z Oladon joined #lisp 2019-09-20T02:28:58Z dale quit (Quit: My computer has gone to sleep) 2019-09-20T02:32:14Z notzmv quit (Remote host closed the connection) 2019-09-20T02:37:22Z dddddd quit (Remote host closed the connection) 2019-09-20T02:37:43Z jeosol joined #lisp 2019-09-20T02:39:32Z fragamus joined #lisp 2019-09-20T02:42:27Z analogue quit (Quit: Leaving) 2019-09-20T02:51:26Z X-Scale` joined #lisp 2019-09-20T02:52:27Z X-Scale quit (Ping timeout: 240 seconds) 2019-09-20T02:52:27Z X-Scale` is now known as X-Scale 2019-09-20T02:55:30Z ahungry joined #lisp 2019-09-20T03:08:40Z ahungry quit (Ping timeout: 265 seconds) 2019-09-20T03:19:22Z ahungry joined #lisp 2019-09-20T03:19:37Z techquila joined #lisp 2019-09-20T03:20:57Z mindthelion quit (Ping timeout: 246 seconds) 2019-09-20T03:24:57Z ravenous_ joined #lisp 2019-09-20T03:27:28Z Guest65466 joined #lisp 2019-09-20T03:28:07Z georgie joined #lisp 2019-09-20T03:29:35Z ravenous_ quit (Ping timeout: 276 seconds) 2019-09-20T03:30:11Z notzmv joined #lisp 2019-09-20T03:37:11Z mathrick quit (Remote host closed the connection) 2019-09-20T03:37:23Z mathrick joined #lisp 2019-09-20T03:46:49Z Bike quit (Quit: Lost terminal) 2019-09-20T03:48:36Z PuercoPop quit (Ping timeout: 244 seconds) 2019-09-20T03:51:37Z PuercoPop joined #lisp 2019-09-20T03:57:00Z beach: Good morning everyone! 2019-09-20T03:57:12Z ahungry: mornin 2019-09-20T04:01:41Z elfmacs quit (Ping timeout: 245 seconds) 2019-09-20T04:01:58Z FreeBirdLjj joined #lisp 2019-09-20T04:02:44Z Guest65466 quit (Quit: Leaving) 2019-09-20T04:15:44Z adip quit (Ping timeout: 276 seconds) 2019-09-20T04:20:18Z adip joined #lisp 2019-09-20T04:23:29Z Ricchi quit (Remote host closed the connection) 2019-09-20T04:25:45Z ravenous_ joined #lisp 2019-09-20T04:27:24Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-20T04:28:17Z FreeBirdLjj joined #lisp 2019-09-20T04:29:54Z ravenous_ quit (Ping timeout: 246 seconds) 2019-09-20T04:32:14Z fragamus quit (Ping timeout: 268 seconds) 2019-09-20T04:32:56Z FreeBirdLjj quit (Ping timeout: 245 seconds) 2019-09-20T04:35:09Z fragamus joined #lisp 2019-09-20T04:38:34Z Lord_of_Life quit (Ping timeout: 265 seconds) 2019-09-20T04:40:15Z fragamus quit (Ping timeout: 268 seconds) 2019-09-20T04:40:23Z Lord_of_Life joined #lisp 2019-09-20T04:48:48Z emacsomancer quit (Read error: Connection reset by peer) 2019-09-20T04:51:28Z dale joined #lisp 2019-09-20T04:51:30Z Oladon quit (Quit: Leaving.) 2019-09-20T04:58:21Z adip quit (Ping timeout: 245 seconds) 2019-09-20T05:00:05Z shrdlu68 joined #lisp 2019-09-20T05:01:21Z ahungry quit (Remote host closed the connection) 2019-09-20T05:04:03Z FreeBirdLjj joined #lisp 2019-09-20T05:10:59Z FreeBirdLjj quit (Ping timeout: 276 seconds) 2019-09-20T05:13:33Z fragamus joined #lisp 2019-09-20T05:14:29Z retropikzel joined #lisp 2019-09-20T05:21:35Z raghavgururajan joined #lisp 2019-09-20T05:21:39Z fragamus quit (Ping timeout: 240 seconds) 2019-09-20T05:22:04Z sauvin joined #lisp 2019-09-20T05:22:32Z gravicappa joined #lisp 2019-09-20T05:23:27Z sauvin quit (Max SendQ exceeded) 2019-09-20T05:23:58Z sauvin joined #lisp 2019-09-20T05:26:24Z shka_ joined #lisp 2019-09-20T05:39:46Z elfmacs joined #lisp 2019-09-20T05:43:03Z scymtym quit (Ping timeout: 246 seconds) 2019-09-20T05:43:29Z kajo quit (Ping timeout: 276 seconds) 2019-09-20T05:46:27Z yoja joined #lisp 2019-09-20T05:47:27Z FreeBirdLjj joined #lisp 2019-09-20T05:52:31Z dale quit (Quit: My computer has gone to sleep) 2019-09-20T05:53:33Z FreeBirdLjj quit (Ping timeout: 246 seconds) 2019-09-20T06:01:39Z _atomik quit (Ping timeout: 268 seconds) 2019-09-20T06:08:50Z gravicappa quit (Ping timeout: 276 seconds) 2019-09-20T06:10:08Z shka_ quit (Ping timeout: 258 seconds) 2019-09-20T06:11:20Z igemnace joined #lisp 2019-09-20T06:16:22Z vlatkoB joined #lisp 2019-09-20T06:16:52Z gravicappa joined #lisp 2019-09-20T06:22:42Z yoja quit (Remote host closed the connection) 2019-09-20T06:23:00Z yoja joined #lisp 2019-09-20T06:28:14Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-20T06:30:50Z FreeBirdLjj joined #lisp 2019-09-20T06:31:45Z D30mancer quit (Read error: No route to host) 2019-09-20T06:34:11Z chipolux quit (Ping timeout: 276 seconds) 2019-09-20T06:35:51Z FreeBirdLjj quit (Ping timeout: 245 seconds) 2019-09-20T06:40:02Z krid quit (Ping timeout: 276 seconds) 2019-09-20T06:40:58Z georgie joined #lisp 2019-09-20T06:43:03Z d4ryus quit (Quit: WeeChat 2.5) 2019-09-20T06:46:02Z shrdlu68 quit (Ping timeout: 240 seconds) 2019-09-20T06:46:30Z d4ryus joined #lisp 2019-09-20T06:46:39Z chipolux joined #lisp 2019-09-20T06:59:01Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-20T07:02:07Z ravenous_ joined #lisp 2019-09-20T07:03:22Z ircEX1192 joined #lisp 2019-09-20T07:03:46Z ircEX1192: hello lisp people 2019-09-20T07:03:54Z ircEX1192 quit (Remote host closed the connection) 2019-09-20T07:04:33Z AndrewYoung: hello 2019-09-20T07:08:15Z ravenous_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-20T07:08:33Z akoana joined #lisp 2019-09-20T07:09:08Z shrdlu68 joined #lisp 2019-09-20T07:10:55Z ravenous_ joined #lisp 2019-09-20T07:12:51Z FreeBirdLjj joined #lisp 2019-09-20T07:14:51Z refpga joined #lisp 2019-09-20T07:18:36Z fragamus joined #lisp 2019-09-20T07:19:16Z FreeBirdLjj quit (Ping timeout: 264 seconds) 2019-09-20T07:23:15Z fragamus quit (Ping timeout: 240 seconds) 2019-09-20T07:29:40Z shifty quit (Remote host closed the connection) 2019-09-20T07:32:27Z ralt joined #lisp 2019-09-20T07:37:15Z yoja quit (Ping timeout: 240 seconds) 2019-09-20T07:42:07Z shangul joined #lisp 2019-09-20T07:44:47Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-20T07:45:27Z vaporatorius joined #lisp 2019-09-20T07:45:27Z vaporatorius quit (Changing host) 2019-09-20T07:45:27Z vaporatorius joined #lisp 2019-09-20T07:45:28Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-20T07:47:02Z vaporatorius joined #lisp 2019-09-20T07:54:50Z AndrewYoung quit (Remote host closed the connection) 2019-09-20T07:55:42Z yoja joined #lisp 2019-09-20T08:02:02Z igemnace quit (Quit: WeeChat 2.6) 2019-09-20T08:03:14Z ravenous_ quit (Ping timeout: 276 seconds) 2019-09-20T08:03:21Z yoja quit (Ping timeout: 245 seconds) 2019-09-20T08:06:27Z igemnace joined #lisp 2019-09-20T08:06:29Z orivej_ quit (Ping timeout: 276 seconds) 2019-09-20T08:06:33Z hhdave joined #lisp 2019-09-20T08:14:52Z kajo joined #lisp 2019-09-20T08:14:56Z cartwright quit (Ping timeout: 260 seconds) 2019-09-20T08:15:41Z makomo joined #lisp 2019-09-20T08:16:59Z sammich quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) 2019-09-20T08:18:05Z sammich joined #lisp 2019-09-20T08:24:04Z Duuqnd joined #lisp 2019-09-20T08:26:00Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-20T08:28:44Z FreeBirdLjj joined #lisp 2019-09-20T08:36:03Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2019-09-20T08:36:33Z thijso: White_Flame: thanks for the explanation, I think I get it now 2019-09-20T08:38:02Z m00natic joined #lisp 2019-09-20T08:38:16Z adip joined #lisp 2019-09-20T08:41:38Z libertyprime quit (Quit: leaving) 2019-09-20T08:42:37Z retropikzel quit (Remote host closed the connection) 2019-09-20T08:45:33Z cartwright joined #lisp 2019-09-20T08:48:47Z yoeljacobsen joined #lisp 2019-09-20T08:52:54Z Soltex joined #lisp 2019-09-20T08:52:56Z retropikzel joined #lisp 2019-09-20T08:54:10Z decent-username joined #lisp 2019-09-20T08:58:56Z ym joined #lisp 2019-09-20T09:02:28Z datajerk quit (Ping timeout: 265 seconds) 2019-09-20T09:03:45Z libertyprime joined #lisp 2019-09-20T09:04:36Z anewuser quit (Ping timeout: 245 seconds) 2019-09-20T09:07:01Z thijso: If I do (ensure-directories-exist "~/.storage/3") and don't get an error, I should reasonably expect that directory to exist afterwards, right? Is there anything I'm missing? Or is ECL's implementation of that function broken? I really can't imagine that, but on the surface it does look like it... 2019-09-20T09:07:40Z thijso: The really strange thing is, that creating "~/.storage" the same way, just before, *does* work 2019-09-20T09:08:53Z jackdaniel: maybe you need to add the slash in the end? 2019-09-20T09:09:03Z thijso: Hhmmm, and if I do the full path without just .storage before, it only creates .storage, not the full one 2019-09-20T09:09:09Z thijso: jackdaniel: hmmm, let's see 2019-09-20T09:09:22Z thijso: Hah! 2019-09-20T09:09:27Z jackdaniel: because /foo/bar/qux is: directory /foo/bar/ and file qux 2019-09-20T09:09:27Z thijso: I knew I was doing something wron 2019-09-20T09:09:32Z thijso: that was it 2019-09-20T09:09:38Z thijso: jackdaniel: thanks! 2019-09-20T09:09:43Z jackdaniel: great, no problem :) 2019-09-20T09:10:13Z jackdaniel: if you have ecl-specific issues you are welcome to ask on #ecl channel 2019-09-20T09:10:30Z datajerk joined #lisp 2019-09-20T09:11:03Z thijso: Ah, yes, thanks, I'll join there too 2019-09-20T09:17:05Z X-Scale` joined #lisp 2019-09-20T09:18:38Z X-Scale quit (Ping timeout: 276 seconds) 2019-09-20T09:18:39Z X-Scale` is now known as X-Scale 2019-09-20T09:18:54Z markasoftware quit (Quit: No Ping reply in 180 seconds.) 2019-09-20T09:19:06Z frgo joined #lisp 2019-09-20T09:20:01Z fragamus joined #lisp 2019-09-20T09:20:02Z markasoftware joined #lisp 2019-09-20T09:23:33Z frgo quit (Ping timeout: 246 seconds) 2019-09-20T09:24:26Z fragamus quit (Ping timeout: 240 seconds) 2019-09-20T09:28:29Z frgo joined #lisp 2019-09-20T09:28:30Z frgo quit (Remote host closed the connection) 2019-09-20T09:28:43Z frgo joined #lisp 2019-09-20T09:34:21Z Necktwi quit (Quit: leaving) 2019-09-20T09:37:33Z Duuqnd quit (Ping timeout: 246 seconds) 2019-09-20T09:44:48Z ghard` joined #lisp 2019-09-20T09:46:53Z asdf_asdf_asdf joined #lisp 2019-09-20T09:49:03Z ghard quit (Ping timeout: 245 seconds) 2019-09-20T09:50:24Z shrdlu68 quit (Quit: WeeChat 2.5) 2019-09-20T09:53:13Z yoeljacobsen quit (Ping timeout: 265 seconds) 2019-09-20T09:55:35Z liberiga joined #lisp 2019-09-20T09:56:36Z retropikzel quit (Remote host closed the connection) 2019-09-20T09:57:53Z nostoi joined #lisp 2019-09-20T09:59:53Z ghard` quit (Ping timeout: 245 seconds) 2019-09-20T10:04:47Z techquila quit (Ping timeout: 276 seconds) 2019-09-20T10:08:17Z Duuqnd joined #lisp 2019-09-20T10:08:41Z Duuqnd is now known as Guest62389 2019-09-20T10:12:54Z elfmacs quit (Ping timeout: 246 seconds) 2019-09-20T10:19:45Z jprajzne quit (Quit: jprajzne) 2019-09-20T10:20:04Z jprajzne joined #lisp 2019-09-20T10:24:14Z jprajzne quit (Client Quit) 2019-09-20T10:24:37Z jprajzne joined #lisp 2019-09-20T10:27:57Z Necktwi joined #lisp 2019-09-20T10:29:38Z retropikzel joined #lisp 2019-09-20T10:30:24Z decent-username quit (Ping timeout: 246 seconds) 2019-09-20T10:31:44Z serge70 quit (Remote host closed the connection) 2019-09-20T10:33:57Z Soltex quit (Remote host closed the connection) 2019-09-20T10:48:04Z maxxcan joined #lisp 2019-09-20T10:50:58Z Shinmera: thijso: note that in Lisp the namestring "foo/bar" is always a file named "bar" in the directory "foo". If you expect it to be a directory, you need to add the trailing slash. 2019-09-20T10:51:29Z Shinmera: The confusion comes in because the implementation may treat the file "bar" as a directory on the filesystem too, since directories are also files. 2019-09-20T10:51:51Z Shinmera: Either way, to be portable, always include the trailing slash. 2019-09-20T11:07:50Z asdf_asdf_asdf quit (Ping timeout: 276 seconds) 2019-09-20T11:07:52Z FreeBirdLjj joined #lisp 2019-09-20T11:12:48Z FreeBirdLjj quit (Ping timeout: 245 seconds) 2019-09-20T11:13:31Z thijso: Shinmera: yeah, I kinda knew this, but working often with files and directories in bash sorta trains you otherwise... 2019-09-20T11:13:43Z dddddd joined #lisp 2019-09-20T11:16:19Z manualcrank joined #lisp 2019-09-20T11:20:38Z yoeljacobsen joined #lisp 2019-09-20T11:20:46Z fragamus joined #lisp 2019-09-20T11:22:07Z elfmacs joined #lisp 2019-09-20T11:25:18Z fragamus quit (Ping timeout: 245 seconds) 2019-09-20T11:32:18Z amerlyq joined #lisp 2019-09-20T11:34:00Z jdz: I think it helps to remember that operations on pathnames don't touch the file system at all (except the functions that are specified to do just that, like PROBE-FILE and TRUENAME). 2019-09-20T11:37:27Z ggole joined #lisp 2019-09-20T11:40:55Z amerlyq quit (Quit: amerlyq) 2019-09-20T11:42:31Z nostoi quit (Quit: Verlassend) 2019-09-20T11:43:17Z fragamus joined #lisp 2019-09-20T11:43:54Z gigetoo quit (Ping timeout: 265 seconds) 2019-09-20T11:45:22Z elfmacs quit (Read error: Connection reset by peer) 2019-09-20T11:48:15Z fragamus quit (Ping timeout: 265 seconds) 2019-09-20T11:51:58Z nicdev quit (Ping timeout: 245 seconds) 2019-09-20T11:52:02Z yoeljacobsen quit (Ping timeout: 276 seconds) 2019-09-20T11:52:52Z gigetoo joined #lisp 2019-09-20T11:54:03Z reggie__ quit (Ping timeout: 240 seconds) 2019-09-20T11:54:16Z reggie_ joined #lisp 2019-09-20T11:55:03Z scymtym joined #lisp 2019-09-20T11:57:49Z maxxcan quit (Quit: maxxcan) 2019-09-20T11:58:40Z raghavgururajan quit (Read error: Connection reset by peer) 2019-09-20T12:02:24Z georgie quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-20T12:05:18Z Shinmera is reminded to make the sibling library to pathname-utils, filesystem-utils. 2019-09-20T12:05:57Z jeosol quit (Remote host closed the connection) 2019-09-20T12:10:41Z random-nick joined #lisp 2019-09-20T12:17:15Z zaquest quit (Ping timeout: 240 seconds) 2019-09-20T12:18:32Z liberiga quit (Ping timeout: 260 seconds) 2019-09-20T12:21:22Z gabiruh joined #lisp 2019-09-20T12:22:30Z retropikzel quit (Remote host closed the connection) 2019-09-20T12:23:16Z amerlyq joined #lisp 2019-09-20T12:23:18Z papachan joined #lisp 2019-09-20T12:23:39Z gabiruh_ quit (Ping timeout: 240 seconds) 2019-09-20T12:24:14Z retropikzel joined #lisp 2019-09-20T12:28:29Z EvW joined #lisp 2019-09-20T12:34:15Z vaporatorius joined #lisp 2019-09-20T12:44:35Z lucasb joined #lisp 2019-09-20T12:48:46Z Bike joined #lisp 2019-09-20T12:49:13Z LiamH joined #lisp 2019-09-20T12:49:45Z Achylles joined #lisp 2019-09-20T12:54:27Z Guest62389 quit (Quit: Leaving) 2019-09-20T12:59:10Z nanoz joined #lisp 2019-09-20T13:09:01Z FreeBirdLjj joined #lisp 2019-09-20T13:10:45Z fragamus joined #lisp 2019-09-20T13:13:31Z q9929t joined #lisp 2019-09-20T13:14:49Z yoeljacobsen joined #lisp 2019-09-20T13:15:15Z fragamus quit (Ping timeout: 258 seconds) 2019-09-20T13:15:53Z FreeBirdLjj quit (Ping timeout: 276 seconds) 2019-09-20T13:16:15Z bitmapper joined #lisp 2019-09-20T13:18:55Z kajo quit (Ping timeout: 250 seconds) 2019-09-20T13:25:37Z krid joined #lisp 2019-09-20T13:32:14Z raghavgururajan joined #lisp 2019-09-20T13:33:04Z cosimone joined #lisp 2019-09-20T13:33:29Z retropikzel quit (Remote host closed the connection) 2019-09-20T13:37:03Z q9929t quit (Quit: q9929t) 2019-09-20T13:37:22Z monokrom joined #lisp 2019-09-20T13:45:59Z FreeBirdLjj joined #lisp 2019-09-20T13:46:42Z yoeljacobsen quit (Remote host closed the connection) 2019-09-20T13:49:12Z Aruseus joined #lisp 2019-09-20T13:50:24Z pfdietz joined #lisp 2019-09-20T13:50:51Z FreeBirdLjj quit (Ping timeout: 245 seconds) 2019-09-20T13:57:47Z igemnace quit (Quit: WeeChat 2.6) 2019-09-20T13:59:13Z Kundry_Wag joined #lisp 2019-09-20T14:03:13Z papachan quit (Quit: Leaving) 2019-09-20T14:12:38Z frgo_ joined #lisp 2019-09-20T14:15:51Z frgo quit (Ping timeout: 245 seconds) 2019-09-20T14:16:41Z frgo_ quit (Ping timeout: 245 seconds) 2019-09-20T14:17:58Z _atomik joined #lisp 2019-09-20T14:25:20Z Achylles quit (Remote host closed the connection) 2019-09-20T14:30:24Z Aruseus quit (Remote host closed the connection) 2019-09-20T14:32:00Z rippa joined #lisp 2019-09-20T14:38:04Z Frobozz quit (Read error: Connection reset by peer) 2019-09-20T14:38:33Z Frobozz joined #lisp 2019-09-20T14:39:37Z mindCrime__ joined #lisp 2019-09-20T14:39:40Z vlatkoB quit (Remote host closed the connection) 2019-09-20T14:41:38Z vlatkoB joined #lisp 2019-09-20T14:45:24Z smazga joined #lisp 2019-09-20T14:50:04Z varjag quit (Quit: ERC (IRC client for Emacs 25.2.2)) 2019-09-20T14:52:50Z cosimone quit (Quit: Terminated!) 2019-09-20T14:53:25Z papachan joined #lisp 2019-09-20T15:01:12Z orivej joined #lisp 2019-09-20T15:04:01Z vaporatorius quit (Read error: Connection reset by peer) 2019-09-20T15:06:43Z rotty quit (Ping timeout: 246 seconds) 2019-09-20T15:07:47Z rotty joined #lisp 2019-09-20T15:09:37Z serge8 joined #lisp 2019-09-20T15:09:46Z dvdmuckle quit (Quit: Bouncer Surgery) 2019-09-20T15:10:37Z dvdmuckle joined #lisp 2019-09-20T15:14:46Z Kundry_Wag quit (Remote host closed the connection) 2019-09-20T15:15:00Z bitmapper quit (Remote host closed the connection) 2019-09-20T15:15:13Z Oladon_work joined #lisp 2019-09-20T15:15:14Z Kundry_Wag joined #lisp 2019-09-20T15:19:39Z Kundry_Wag quit (Ping timeout: 240 seconds) 2019-09-20T15:25:13Z dale joined #lisp 2019-09-20T15:25:38Z frgo joined #lisp 2019-09-20T15:25:40Z frgo quit (Remote host closed the connection) 2019-09-20T15:26:16Z frgo joined #lisp 2019-09-20T15:26:33Z EvW quit (Ping timeout: 245 seconds) 2019-09-20T15:28:59Z papachan quit (Ping timeout: 268 seconds) 2019-09-20T15:32:23Z khisanth_ quit (Ping timeout: 276 seconds) 2019-09-20T15:40:46Z bitmapper joined #lisp 2019-09-20T15:42:22Z papachan joined #lisp 2019-09-20T15:43:59Z jcowan joined #lisp 2019-09-20T15:45:04Z khisanth_ joined #lisp 2019-09-20T15:45:32Z jcowan: Is there a usual method of doing random access on ordinary files in CL implementations? 2019-09-20T15:46:25Z Bike: clhs file-position 2019-09-20T15:46:25Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_file_p.htm 2019-09-20T15:46:25Z Xach: jcowan: file-position is the usual method. 2019-09-20T15:46:26Z Bike: like that? 2019-09-20T15:47:03Z FreeBirdLjj joined #lisp 2019-09-20T15:47:16Z EvW joined #lisp 2019-09-20T15:47:52Z jasom: defining vops can make for very confusing to read code: https://github.com/sionescu/swap-bytes/blob/master/sbcl.lisp 2019-09-20T15:49:44Z zaquest joined #lisp 2019-09-20T15:52:27Z FreeBirdLjj quit (Ping timeout: 240 seconds) 2019-09-20T15:53:50Z mindCrime_ joined #lisp 2019-09-20T15:55:47Z jcowan: Ah, I missed it because I didn't realize it could change the position as well. Thanks, all. 2019-09-20T15:56:12Z vms14 joined #lisp 2019-09-20T15:57:21Z mindCrime__ quit (Ping timeout: 268 seconds) 2019-09-20T15:57:54Z jcowan: That looks fine, particularly the relaxed constraint on file positions in character streams. 2019-09-20T15:58:35Z mindCrime joined #lisp 2019-09-20T16:01:02Z mindCrime_ quit (Ping timeout: 265 seconds) 2019-09-20T16:01:08Z mindCrime__ joined #lisp 2019-09-20T16:04:01Z raghavgururajan quit (Remote host closed the connection) 2019-09-20T16:04:21Z hhdave quit (Quit: hhdave) 2019-09-20T16:04:45Z mindCrime quit (Ping timeout: 268 seconds) 2019-09-20T16:07:46Z m00natic quit (Remote host closed the connection) 2019-09-20T16:08:48Z q9929t joined #lisp 2019-09-20T16:10:15Z q9929t quit (Client Quit) 2019-09-20T16:10:48Z q9929t joined #lisp 2019-09-20T16:12:47Z q9929t quit (Client Quit) 2019-09-20T16:13:18Z q9929t joined #lisp 2019-09-20T16:13:33Z varjag joined #lisp 2019-09-20T16:17:23Z scymtym quit (Ping timeout: 245 seconds) 2019-09-20T16:17:47Z wigust quit (Quit: ZNC 1.7.4 - https://znc.in) 2019-09-20T16:18:18Z FreeBirdLjj joined #lisp 2019-09-20T16:18:37Z nostoi joined #lisp 2019-09-20T16:19:40Z wigust joined #lisp 2019-09-20T16:23:22Z ravenousmoose joined #lisp 2019-09-20T16:24:35Z vaporatorius joined #lisp 2019-09-20T16:24:39Z shka_ joined #lisp 2019-09-20T16:25:30Z vms14: how can I make format iterate a list ignoring the values? 2019-09-20T16:26:04Z vms14: (format nil "~{oh ~^,~}" '(1 2 3)) 2019-09-20T16:26:19Z vms14: won't work because the list is not "consumed" so it never ends 2019-09-20T16:26:43Z vms14: I don't want the numbers, just dotimes behavior 2019-09-20T16:27:57Z zaquest quit (Remote host closed the connection) 2019-09-20T16:30:48Z zaquest joined #lisp 2019-09-20T16:31:32Z nanoz quit (Ping timeout: 276 seconds) 2019-09-20T16:32:42Z Xach: vms14: stick a ~* in the {} 2019-09-20T16:32:57Z Xach: (format nil "~{hi~*~^, ~}" '(42 1 2 1)) => "hi, hi, hi, hi" 2019-09-20T16:33:10Z Xach: maybe there are other options 2019-09-20T16:33:10Z vms14: oh 2019-09-20T16:33:19Z vms14: ty Xach 2019-09-20T16:33:29Z Xach: dn 2019-09-20T16:34:25Z nanoz joined #lisp 2019-09-20T16:38:04Z Lord_of_Life_ joined #lisp 2019-09-20T16:38:29Z q9929t quit (Read error: Connection reset by peer) 2019-09-20T16:38:40Z q9929t joined #lisp 2019-09-20T16:40:27Z Lord_of_Life quit (Ping timeout: 240 seconds) 2019-09-20T16:40:27Z Lord_of_Life_ is now known as Lord_of_Life 2019-09-20T16:40:44Z makomo quit (Ping timeout: 252 seconds) 2019-09-20T16:41:39Z papachan quit (Ping timeout: 240 seconds) 2019-09-20T16:42:16Z makomo joined #lisp 2019-09-20T16:43:21Z manualcrank quit (Quit: WeeChat 1.9.1) 2019-09-20T16:52:32Z mrcode_ quit (Ping timeout: 245 seconds) 2019-09-20T16:53:39Z nanozz joined #lisp 2019-09-20T16:54:18Z nostoi quit (Quit: Verlassend) 2019-09-20T16:57:10Z nanoz quit (Ping timeout: 268 seconds) 2019-09-20T17:03:36Z Kundry_Wag joined #lisp 2019-09-20T17:04:54Z dreamcompiler joined #lisp 2019-09-20T17:08:38Z EvW quit (Ping timeout: 245 seconds) 2019-09-20T17:10:05Z EvW joined #lisp 2019-09-20T17:10:06Z jprajzne quit (Quit: jprajzne) 2019-09-20T17:14:11Z Kundry_Wag quit (Remote host closed the connection) 2019-09-20T17:15:04Z EvW quit (Ping timeout: 264 seconds) 2019-09-20T17:16:27Z Kundry_Wag joined #lisp 2019-09-20T17:16:28Z Kundry_Wag quit (Remote host closed the connection) 2019-09-20T17:16:36Z Kundry_Wag joined #lisp 2019-09-20T17:34:28Z shangul quit (Ping timeout: 245 seconds) 2019-09-20T17:36:01Z cosimone joined #lisp 2019-09-20T17:36:58Z wooden quit (Ping timeout: 245 seconds) 2019-09-20T17:38:07Z vms14 quit (Remote host closed the connection) 2019-09-20T17:38:18Z mindCrime joined #lisp 2019-09-20T17:38:29Z mindCrime__ quit (Ping timeout: 276 seconds) 2019-09-20T17:39:01Z vlatkoB quit (Remote host closed the connection) 2019-09-20T17:41:12Z atomik_dog joined #lisp 2019-09-20T17:44:17Z wooden joined #lisp 2019-09-20T17:44:17Z wooden quit (Changing host) 2019-09-20T17:44:17Z wooden joined #lisp 2019-09-20T17:44:36Z DGASAU quit (Ping timeout: 245 seconds) 2019-09-20T17:45:01Z _atomik quit (Ping timeout: 245 seconds) 2019-09-20T17:45:26Z Cymew quit (Ping timeout: 265 seconds) 2019-09-20T17:47:03Z cosimone quit (Remote host closed the connection) 2019-09-20T17:47:31Z cosimone joined #lisp 2019-09-20T17:48:34Z Oladon_work quit (Remote host closed the connection) 2019-09-20T17:53:27Z Kundry_Wag quit (Remote host closed the connection) 2019-09-20T17:56:07Z Kundry_W_ joined #lisp 2019-09-20T18:00:36Z gareppa joined #lisp 2019-09-20T18:00:37Z Oladon_work joined #lisp 2019-09-20T18:03:59Z FreeBirdLjj quit 2019-09-20T18:04:47Z EvW1 joined #lisp 2019-09-20T18:07:14Z FreeBirdLjj joined #lisp 2019-09-20T18:18:47Z clothespin_ joined #lisp 2019-09-20T18:22:41Z clothespin quit (Ping timeout: 276 seconds) 2019-09-20T18:25:38Z sauvin quit (Read error: Connection reset by peer) 2019-09-20T18:26:06Z amerlyq quit (Quit: amerlyq) 2019-09-20T18:26:51Z DGASAU joined #lisp 2019-09-20T18:27:52Z cpape` joined #lisp 2019-09-20T18:27:57Z jcowan quit (Ping timeout: 245 seconds) 2019-09-20T18:28:13Z NickBusey quit (Quit: Ping timeout (120 seconds)) 2019-09-20T18:28:35Z NickBusey joined #lisp 2019-09-20T18:28:54Z kini quit (Remote host closed the connection) 2019-09-20T18:28:57Z eschatologist_ joined #lisp 2019-09-20T18:29:02Z shka_ quit (Remote host closed the connection) 2019-09-20T18:29:03Z jcowan joined #lisp 2019-09-20T18:29:12Z shka_ joined #lisp 2019-09-20T18:29:13Z MichaelRaskin joined #lisp 2019-09-20T18:29:27Z eschatologist quit (Read error: Connection reset by peer) 2019-09-20T18:29:39Z cpape quit (Remote host closed the connection) 2019-09-20T18:29:51Z eschatologist_ is now known as eschatologist 2019-09-20T18:30:45Z random-nick quit (Ping timeout: 258 seconds) 2019-09-20T18:33:39Z gareppa quit (Quit: Leaving) 2019-09-20T18:35:42Z kini joined #lisp 2019-09-20T18:36:33Z amerlyq joined #lisp 2019-09-20T18:37:51Z EvW1 quit (Remote host closed the connection) 2019-09-20T18:39:35Z DGASAU quit (Read error: Connection reset by peer) 2019-09-20T18:40:56Z DGASAU joined #lisp 2019-09-20T18:45:07Z dale quit (Read error: Connection reset by peer) 2019-09-20T18:45:26Z krid quit (Ping timeout: 245 seconds) 2019-09-20T18:47:46Z dale joined #lisp 2019-09-20T18:51:40Z shangul joined #lisp 2019-09-20T18:52:09Z ralt quit (Quit: Connection closed for inactivity) 2019-09-20T18:57:13Z bitmapper quit 2019-09-20T18:57:29Z random-nick joined #lisp 2019-09-20T19:05:49Z t58 joined #lisp 2019-09-20T19:08:54Z DGASAU quit (Read error: Connection reset by peer) 2019-09-20T19:10:13Z DGASAU joined #lisp 2019-09-20T19:13:53Z Inline joined #lisp 2019-09-20T19:14:41Z gravicappa quit (Ping timeout: 276 seconds) 2019-09-20T19:20:11Z Inline quit (Quit: Leaving) 2019-09-20T19:26:31Z Inline joined #lisp 2019-09-20T19:28:33Z cosimone quit (Remote host closed the connection) 2019-09-20T19:29:01Z cosimone joined #lisp 2019-09-20T19:29:29Z lavaflow quit (Ping timeout: 268 seconds) 2019-09-20T19:29:48Z Bike quit (Quit: Bike) 2019-09-20T19:31:44Z cosimone quit (Client Quit) 2019-09-20T19:33:03Z krid joined #lisp 2019-09-20T19:34:21Z cosimone joined #lisp 2019-09-20T19:34:26Z kajo joined #lisp 2019-09-20T19:41:12Z shka_ quit (Ping timeout: 268 seconds) 2019-09-20T19:42:25Z FreeBirdLjj quit (Remote host closed the connection) 2019-09-20T19:43:39Z astronavt quit (Quit: ...) 2019-09-20T19:44:00Z astronavt joined #lisp 2019-09-20T19:46:14Z FreeBirdLjj joined #lisp 2019-09-20T19:48:54Z Kundry_W_ quit (Remote host closed the connection) 2019-09-20T19:49:22Z Kundry_Wag joined #lisp 2019-09-20T19:51:06Z Kundry_W_ joined #lisp 2019-09-20T19:51:11Z Kundry_Wag quit (Read error: Connection reset by peer) 2019-09-20T19:51:14Z Kundry_W_ quit (Remote host closed the connection) 2019-09-20T19:51:33Z learning joined #lisp 2019-09-20T19:51:40Z Kundry_Wag joined #lisp 2019-09-20T19:51:41Z FreeBirdLjj quit (Ping timeout: 268 seconds) 2019-09-20T19:51:58Z lavaflow joined #lisp 2019-09-20T19:53:27Z learning is now known as still_learning 2019-09-20T19:53:50Z refpga quit (Remote host closed the connection) 2019-09-20T19:55:40Z ggole quit (Quit: Leaving) 2019-09-20T19:56:00Z Kundry_Wag quit (Ping timeout: 246 seconds) 2019-09-20T19:59:57Z verisimilitude: So, what are you working on? 2019-09-20T20:00:15Z verisimilitude: I'm working on TCP libraries, as I don't want to use USOCKET or IOlib. 2019-09-20T20:01:25Z verisimilitude: I have an experimental little TCP client library I've named EASY-PEASY-TCP I'm currently fiddling with; it's only useful for basic network clients, but it's only intended for such things. 2019-09-20T20:01:46Z manualcrank joined #lisp 2019-09-20T20:03:16Z hiroaki joined #lisp 2019-09-20T20:05:54Z Kundry_Wag joined #lisp 2019-09-20T20:07:52Z Kundry_Wag quit (Remote host closed the connection) 2019-09-20T20:08:19Z Oladon_work quit (Ping timeout: 260 seconds) 2019-09-20T20:08:25Z ravenousmoose quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2019-09-20T20:09:23Z clothespin_: I'm working on mechanical CAD 2019-09-20T20:10:32Z still_learning quit 2019-09-20T20:13:28Z emacsomancer joined #lisp 2019-09-20T20:15:43Z Kundry_Wag joined #lisp 2019-09-20T20:17:13Z techquila joined #lisp 2019-09-20T20:18:13Z techquila quit (Remote host closed the connection) 2019-09-20T20:21:08Z hiroaki quit (Ping timeout: 258 seconds) 2019-09-20T20:21:58Z fragamus joined #lisp 2019-09-20T20:24:38Z Shinmera: Working on a UI toolkit 2019-09-20T20:25:18Z clothespin_: I use your vector and matrix libs 2019-09-20T20:25:25Z Shinmera: Nice! 2019-09-20T20:25:39Z Shinmera: Hope there isn't too much trouble there :) 2019-09-20T20:25:52Z clothespin_: I'll try to submit a patch 2019-09-20T20:26:09Z permagreen joined #lisp 2019-09-20T20:26:22Z Kundry_Wag quit (Remote host closed the connection) 2019-09-20T20:26:49Z Kundry_Wag joined #lisp 2019-09-20T20:26:51Z clothespin_: what are the details of your ui toolkit? 2019-09-20T20:27:15Z Shinmera: Uh, you'll have to be more specific than that. 2019-09-20T20:27:18Z Bike joined #lisp 2019-09-20T20:27:35Z Shinmera: I'm not sure how to answer that question 2019-09-20T20:27:46Z clothespin_: is it completely lisp or does it wrap a c++ lib or something? 2019-09-20T20:27:54Z Shinmera: Lisp native 2019-09-20T20:27:57Z Shinmera: No point, otherwise. 2019-09-20T20:28:36Z clothespin_: I wrapped "Dear ImGui" 2019-09-20T20:30:51Z mindCrime quit (Ping timeout: 240 seconds) 2019-09-20T20:31:46Z Kundry_Wag quit (Ping timeout: 268 seconds) 2019-09-20T20:31:49Z Shinmera: Yeah, I'm trying really hard to reduce the number of foreign libraries to zero. 2019-09-20T20:32:25Z clothespin_: they are a hassell 2019-09-20T20:33:33Z Kundry_Wag joined #lisp 2019-09-20T20:33:33Z shangul quit (Ping timeout: 250 seconds) 2019-09-20T20:34:06Z Shinmera: I'm also not a fan of immediate mode UIs, so that's another thing :) 2019-09-20T20:35:12Z clothespin_: Using Imgui has provided a cheap way of moving forward for me 2019-09-20T20:35:41Z Shinmera: Sure. I don't blame anyone for using it, it's pretty nifty and easy to hook up. 2019-09-20T20:36:37Z clothespin_: Mirai had an interesting ui: HI: human interface 2019-09-20T20:36:48Z clothespin_: I think it was all lisp 2019-09-20T20:37:11Z clothespin_: I wanted to use it for this project but Mirai died 2019-09-20T20:38:21Z Kundry_Wag quit (Ping timeout: 245 seconds) 2019-09-20T20:39:35Z Shinmera: Hopefully McCLIM will grow a GL Core backend at some point 2019-09-20T20:39:42Z Shinmera: So that there's an alternative out there. 2019-09-20T20:39:44Z kajo quit (Quit: From my rotting body, flowers shall grow and I am in them and that is eternity. -- E. M.) 2019-09-20T20:40:24Z clothespin_: I'm not sure I'm sold on CLIM. 2019-09-20T20:40:36Z clothespin_: HI had it's roots in dynamic windows 2019-09-20T20:41:38Z clothespin_: I assume your UI toolkit is not McCLIM? 2019-09-20T20:41:42Z Shinmera: No. 2019-09-20T20:42:09Z Shinmera: Like most things I do it's from scratch. 2019-09-20T20:42:15Z clothespin_: Do you have a link? 2019-09-20T20:42:32Z Shinmera: https://shirakumo.org/projects/alloy 2019-09-20T20:43:26Z serge8 quit (Remote host closed the connection) 2019-09-20T20:45:39Z nanozz quit (Ping timeout: 240 seconds) 2019-09-20T20:48:11Z Shinmera: I hope to write some articles and maybe even a paper once things have crystallised a bit more. 2019-09-20T20:48:23Z rippa quit (Quit: {#`%${%&`+'${`%&NO CARRIER) 2019-09-20T20:48:32Z jasom: anyone know when SBCL won't open-code sb-rotate-byte:%rotate-byte? I'm rotating by a constant value and a hand-written rotate-byte is over an order-of-magnitude faster becuase it's making a function-call when I use sb-rotate-byte:rotate-byte 2019-09-20T20:49:06Z Shinmera: Probably a better question for #sbcl 2019-09-20T20:50:16Z clothespin_: What are you using for a backend? 2019-09-20T20:50:34Z Shinmera: Alloy is primarily a protocol, so it's backend agnostic. 2019-09-20T20:50:34Z amerlyq quit (Quit: amerlyq) 2019-09-20T20:50:49Z clothespin_: you don't have a test backend? 2019-09-20T20:50:49Z Shinmera: I'm mostly working on a GL one though since that's what's useful to me at the moment. 2019-09-20T20:51:00Z Shinmera: I have a GL and an SVG one. 2019-09-20T20:51:16Z lavaflow quit (Ping timeout: 245 seconds) 2019-09-20T20:52:40Z clothespin_: the latest release of 3d-matrices and 3d-vectors fixed some problems in the quicklisp version, suchas mlookat 2019-09-20T20:53:32Z clothespin_: now everything seems to be working sans a few compiler warnings 2019-09-20T20:55:08Z clothespin_: I am planning on making it compile seperate packages for single-float and double-float since I use both at the same time 2019-09-20T20:55:18Z Shinmera: Oh boy 2019-09-20T20:55:43Z clothespin_: and I'm considering making the memory be in the foreign heap for communication with C++ 2019-09-20T20:56:13Z Kundry_Wag joined #lisp 2019-09-20T20:57:06Z Shinmera: On SBCL at least you should be able to just pin the matrix arrays and get a pointer while pinned. 2019-09-20T20:57:30Z clothespin_: yeah, i use that for vertex and index buffers 2019-09-20T20:57:57Z clothespin_: allegro cl has something similar, and i assume LW does too 2019-09-20T20:58:11Z Shinmera: probably. A lot of implementations do 2019-09-20T20:58:23Z LiamH: Take a look at static-vectors. 2019-09-20T20:58:41Z clothespin_: it would be cool if sbcl allowed you to stack allocate arrays and structs 2019-09-20T20:58:41Z Shinmera: LiamH: static-vectors are not so nice since they require manual deallocation. 2019-09-20T20:59:04Z clothespin_: I use finalizations 2019-09-20T20:59:11Z LiamH: Shinmera trivial-garbage helps with that 2019-09-20T20:59:21Z Shinmera: Not if the foreign memory might have pointers. 2019-09-20T20:59:25Z Shinmera: Which is, kinda the point 2019-09-20T20:59:55Z clothespin_: the structs I'm using are just coordinates and such which get copied around 2019-09-20T21:00:03Z Shinmera: static-vectors are also moot if the vector comes from or is shared with some native lisp library. 2019-09-20T21:00:26Z Kundry_Wag quit (Ping timeout: 240 seconds) 2019-09-20T21:01:31Z clothespin_: stack allocated vectors would be nice so you don't fragment your foreign heap 2019-09-20T21:02:46Z aindilis quit (Remote host closed the connection) 2019-09-20T21:05:18Z shangul joined #lisp 2019-09-20T21:09:26Z lavaflow joined #lisp 2019-09-20T21:10:47Z Kundry_Wag joined #lisp 2019-09-20T21:11:20Z LiamH quit (Quit: Leaving.) 2019-09-20T21:14:59Z jcowan left #lisp 2019-09-20T21:15:09Z Xach: Do you think you might go to the SBCL20 get-together? 2019-09-20T21:15:27Z matijja joined #lisp 2019-09-20T21:15:41Z Kundry_Wag quit (Ping timeout: 265 seconds) 2019-09-20T21:15:51Z Shinmera: I've been considering it a lot, but I don't know. Current university semester looks deadly busy, especially later in the year 2019-09-20T21:16:14Z Shinmera: I could maybe do a one-day trip, I don't know. Would have to check travel times and all. 2019-09-20T21:16:51Z Xach: I missed ELS so it would be wonderful to see my euro-pals again soon 2019-09-20T21:17:06Z Shinmera: You could also wait for ELS20 in Zürich :) 2019-09-20T21:17:20Z Xach: !!! 2019-09-20T21:17:21Z emacsomancer quit (Quit: WeeChat 2.6) 2019-09-20T21:17:28Z Xach: I didn't know it had been announced! 2019-09-20T21:17:42Z Shinmera: It's not published yet but it was announced at the end of this year's 2019-09-20T21:17:55Z Xach: Cool, I will try to visit 2019-09-20T21:18:03Z Shinmera: Nice! 2019-09-20T21:18:31Z stepnem_ joined #lisp 2019-09-20T21:18:38Z stepnem quit (Ping timeout: 268 seconds) 2019-09-20T21:19:19Z Xach: I enjoyed my time in Zürich last year (3 minutes running from airport gate to airport gate for my ELS connection) 2019-09-20T21:19:29Z Shinmera: Hah 2019-09-20T21:19:33Z georgie joined #lisp 2019-09-20T21:19:56Z Shinmera: I'll bother didier to check my els-web changes and maybe publish it if he thinks it's time. 2019-09-20T21:22:38Z akoana: Xach: will we be able to have a (ql:quickload "grüezi") then :) 2019-09-20T21:25:41Z verisimilitude: So you're using a C library for your CAD GUI, clothespin_? 2019-09-20T21:27:42Z cosimone quit (Quit: Quit.) 2019-09-20T21:29:59Z Oladon joined #lisp 2019-09-20T21:30:11Z lavaflow quit (Ping timeout: 265 seconds) 2019-09-20T21:31:07Z lavaflow joined #lisp 2019-09-20T21:37:45Z emacsomancer joined #lisp 2019-09-20T21:41:53Z cosimone joined #lisp 2019-09-20T21:42:08Z wilfredh quit (Quit: Connection closed for inactivity) 2019-09-20T21:48:59Z akoana left #lisp 2019-09-20T21:50:49Z easye joined #lisp 2019-09-20T21:59:54Z clothespin_: I'm using a C++ library, Opencascade 2019-09-20T21:59:55Z bitmapper joined #lisp 2019-09-20T22:00:27Z clothespin_: and "Dear Imgui" also c++ 2019-09-20T22:03:44Z cartwright quit (Ping timeout: 260 seconds) 2019-09-20T22:03:46Z papachan joined #lisp 2019-09-20T22:15:17Z Oladon1 joined #lisp 2019-09-20T22:17:18Z Oladon quit (Ping timeout: 258 seconds) 2019-09-20T22:17:56Z emacsomancer quit (Read error: Connection reset by peer) 2019-09-20T22:20:37Z varjag quit (Quit: ERC (IRC client for Emacs 26.1)) 2019-09-20T22:22:43Z cartwright joined #lisp 2019-09-20T22:23:34Z nowhereman joined #lisp 2019-09-20T22:24:36Z makomo_ joined #lisp 2019-09-20T22:27:42Z makomo quit (Ping timeout: 268 seconds) 2019-09-20T22:31:51Z Nomenclatura joined #lisp 2019-09-20T22:34:53Z pjb quit (Ping timeout: 276 seconds) 2019-09-20T22:38:32Z Oladon1 quit (Quit: Leaving.) 2019-09-20T22:39:01Z smazga quit (Quit: leaving) 2019-09-20T22:42:52Z fragamus: where in the blue blazes is the source file containing the main for lisp.run in clisp 2019-09-20T22:45:55Z q9929t quit (Remote host closed the connection) 2019-09-20T22:46:15Z q9929t joined #lisp 2019-09-20T22:53:19Z papachan quit (Ping timeout: 265 seconds) 2019-09-20T22:59:09Z nicdev joined #lisp 2019-09-20T23:03:17Z cosimone_ joined #lisp 2019-09-20T23:04:28Z cosimone quit (Ping timeout: 245 seconds) 2019-09-20T23:05:55Z fsmunoz joined #lisp 2019-09-20T23:15:04Z random-nick quit (Ping timeout: 265 seconds) 2019-09-20T23:18:34Z cosimone_ is now known as cosimone 2019-09-20T23:36:02Z emacsomancer joined #lisp 2019-09-20T23:37:18Z matijja quit (Ping timeout: 265 seconds) 2019-09-20T23:37:36Z emacsomancer quit (Remote host closed the connection) 2019-09-20T23:37:57Z emacsomancer joined #lisp 2019-09-20T23:39:49Z asdf_asdf_asdf joined #lisp 2019-09-20T23:41:14Z georgie quit (Quit: Textual IRC Client: www.textualapp.com) 2019-09-20T23:46:57Z asdf_asdf_asdf quit (Quit: asdf_asdf_asdf) 2019-09-20T23:49:46Z Kundry_Wag joined #lisp 2019-09-20T23:50:01Z Ricchi joined #lisp 2019-09-20T23:52:14Z snits joined #lisp 2019-09-20T23:54:03Z Kundry_Wag quit (Ping timeout: 240 seconds) 2019-09-21T00:03:17Z fsmunoz quit (Ping timeout: 268 seconds) 2019-09-21T00:05:51Z Kundry_Wag joined #lisp 2019-09-21T00:07:39Z cosimone quit (Quit: Quit.) 2019-09-21T00:08:07Z georgie joined #lisp 2019-09-21T00:10:27Z Kundry_Wag quit (Ping timeout: 240 seconds) 2019-09-21T00:21:45Z sellout-1 joined #lisp 2019-09-21T00:24:44Z sellout- quit (Ping timeout: 276 seconds) 2019-09-21T00:24:49Z sjl joined #lisp 2019-09-21T00:29:01Z vms14 joined #lisp 2019-09-21T00:29:15Z shangul quit (Ping timeout: 240 seconds) 2019-09-21T00:29:34Z vms14: how can I make a shorthand for hunchentoot? 2019-09-21T00:29:36Z vms14: I have this 2019-09-21T00:29:39Z vms14: (defmacro route (url (&key (type "text/html") parameters) &body content) 2019-09-21T00:29:39Z vms14: `(tbnl:define-easy-handler (,(gensym) :uri ,url) (,@parameters) 2019-09-21T00:29:39Z vms14: (setf (tbnl:content-type*) ,type) 2019-09-21T00:29:39Z vms14: ,@content)) 2019-09-21T00:29:42Z vms14: 2019-09-21T00:29:58Z vms14: and I call it with (route "/" () (format nil "~a~a" (header) (body (select "posts")))) 2019-09-21T00:30:13Z vms14: but it's wrong and I don't know why 2019-09-21T00:30:57Z vms14: it's for the parameters define-easy-handler is expecting? 2019-09-21T00:32:41Z no-defun-allowed: Have you tried macroexpanding it? 2019-09-21T00:32:48Z vms14: nope, I'll look 2019-09-21T00:32:49Z vms14: ty 2019-09-21T00:33:00Z no-defun-allowed: (Also, I probably wouldn't count on TBNL sticking, it's literally To Be Named Later, and it has been named.) 2019-09-21T00:33:13Z vms14: yeah, but is shorter 2019-09-21T00:33:13Z vms14: xD 2019-09-21T00:33:34Z shangul joined #lisp 2019-09-21T00:33:49Z no-defun-allowed: You could use a package-local nickname now, unless y