2021-04-01T00:01:05Z gzj quit (Remote host closed the connection) 2021-04-01T00:01:27Z gzj joined #lisp 2021-04-01T00:02:57Z jcowan quit (Ping timeout: 250 seconds) 2021-04-01T00:03:31Z physpi quit (Ping timeout: 248 seconds) 2021-04-01T00:04:12Z hiroaki quit (Ping timeout: 246 seconds) 2021-04-01T00:04:15Z CEnnis91 quit (Ping timeout: 250 seconds) 2021-04-01T00:05:12Z jcowan joined #lisp 2021-04-01T00:05:41Z physpi joined #lisp 2021-04-01T00:06:33Z beach` joined #lisp 2021-04-01T00:06:40Z CEnnis91 joined #lisp 2021-04-01T00:10:31Z beach quit (Ping timeout: 246 seconds) 2021-04-01T00:11:20Z hineios joined #lisp 2021-04-01T00:12:05Z gzj quit (Remote host closed the connection) 2021-04-01T00:12:26Z gzj joined #lisp 2021-04-01T00:12:56Z palter: That's really up to JCMa since he owns the Symbolics IP. 2021-04-01T00:13:19Z hineios quit (Client Quit) 2021-04-01T00:13:44Z hineios joined #lisp 2021-04-01T00:20:55Z caoliver: I know. I can't imagine it's making much revenue for him though. 2021-04-01T00:21:56Z no-defun-allowed: What's the unit for lispm equivalency? I don't know the model numbers. 2021-04-01T00:23:44Z palter: The last Ivory hardware was the XL1200. I'm comparing against that. 2021-04-01T00:24:15Z caoliver: And your speed factor is a multiple of 1200? 2021-04-01T00:25:00Z no-defun-allowed: Right, thanks. 2021-04-01T00:26:04Z caoliver: Also modern boxes should have a hella more megawords. I think my XL1201 had 8MW. 2021-04-01T00:26:37Z palter: The Ivory processor in the XL1200 ran at about 17MHz. 2021-04-01T00:27:27Z palter: We're still emulating a 32-bit processor. The default memory size in the emulator is 4095MW. 2021-04-01T00:27:45Z palter: (It's also the maximum) 2021-04-01T00:28:08Z palter: 1 Ivory word is 5 bytes (32 bits data, 8 bit tag) 2021-04-01T00:28:13Z nicktick joined #lisp 2021-04-01T00:29:11Z no-defun-allowed: How does that work out on some-power-of-two-bit machines? 2021-04-01T00:30:06Z palter: This is a freshly booted VLM on my Apple silicon Mac mini https://usercontent.irccloud-cdn.com/file/iegttaDL/VLM.png 2021-04-01T00:30:56Z caoliver: Nifty. 2021-04-01T00:32:00Z caoliver: How do you have your keyboard mapped, or do you have an old 'bolix kbd interfaced to your mac? 2021-04-01T00:32:01Z palter: The emulator maps data to one area of memory and tags to another. So, if we were to somehow fill memory, it would be using 2^32 bytes for tags and 8^32. bytes for data. 2021-04-01T00:32:59Z palter: That would be 5GB 2021-04-01T00:33:00Z no-defun-allowed: Fair enough then. 2021-04-01T00:33:07Z caoliver: Splitting off the tags that way was probably the only sane thing to do. 2021-04-01T00:33:41Z palter: It is. The VLM world loads are actually store that way so we can mmap directly into memory. 2021-04-01T00:33:47Z caoliver: Eh? 4GB tags and 16GB data make 20GB I think. 2021-04-01T00:34:32Z palter: Right. It's 4GW * 5 bytes/word 2021-04-01T00:34:40Z no-defun-allowed: Is anything compiled to the register machine Genera runs on? Does that also split tags and data? 2021-04-01T00:35:03Z pjb: Unless you sort your data by tag. 2021-04-01T00:35:30Z pjb: For example, you can have only one tag per page. 2021-04-01T00:35:41Z caoliver: I suspect that has 40bit words directly. 2021-04-01T00:35:42Z palter: The stack cache is packed 1 Ivory word (tag+data) to one native word. 2021-04-01T00:35:54Z chipolux joined #lisp 2021-04-01T00:36:01Z caoliver: Much like the old DECs had 36 bit words. 2021-04-01T00:36:14Z hiroaki joined #lisp 2021-04-01T00:36:20Z caoliver never used those. Only PDP-11 series 2021-04-01T00:36:26Z palter: Ivory hardware actually has 48 bit words -- 32 bit data, 8 bit tag, 8 bit ECC 2021-04-01T00:36:45Z palter: Ah yes, the PDP-6 and PDP-10 2021-04-01T00:37:06Z palter: (Used to play Space War on the PDP-6 at the MIT AI Lab.) 2021-04-01T00:37:23Z caoliver: I did have some time on a heavily locked down VAX/VMS box in school, but that was no fun. 2021-04-01T00:37:44Z caoliver: I got off of that as soon as I could. 2021-04-01T00:37:50Z palter: And, for another 36 bit machine, there's Multics 2021-04-01T00:38:11Z palter: (GE 645, then Honeywell 6180 and DPS-8/M) 2021-04-01T00:38:18Z caoliver: Did you ever run across Tom Van Vleck? 2021-04-01T00:38:39Z palter: Worked with him at both MIT and Honeywell 2021-04-01T00:39:13Z palter: I spent about 10 years working on Multics split between MIT and Honeywell. 2021-04-01T00:39:21Z palter: Then 9 years at Symbolics until they shut down. 2021-04-01T00:39:22Z caoliver: Relative of his (Sally) lives near me, and her late husband and I started a small ISP back in the 90s. 2021-04-01T00:40:08Z caoliver: I'm not sure there's a good emu for Multics. 2021-04-01T00:40:28Z palter: Actually, there is one now. 2021-04-01T00:41:08Z caoliver: The only historical thing I have on my boxen is a Hercules instance running Michigan Terminal System. I tossed that together to scare an old friend who went to UMich. 2021-04-01T00:41:14Z palter: See https://multicians.org/simulator.html 2021-04-01T00:41:48Z palter: Never used that 2021-04-01T00:42:00Z caoliver: Cool. The more of these thing, the more we can corrupt the youth of Athens. ;-P 2021-04-01T00:42:05Z caoliver: s/thing/things/ 2021-04-01T00:42:09Z palter: (I've lived in Boston all my life. Started hacking in high school on an IBM 1130 in 1968) 2021-04-01T00:42:48Z palter: Guy Steele was one year behind me at school. I went to MIT and he went to Harvard. 2021-04-01T00:43:06Z caoliver: And now he lives in the belly of the beast. 2021-04-01T00:43:45Z hiroaki quit (Ping timeout: 246 seconds) 2021-04-01T00:49:02Z caoliver lives in Michigan, and really hasn't achieved escape velocity. 2021-04-01T00:52:35Z terpri: White_Flame, revivory is a great name. i called my cl-based ivory emulator mammoth :) but it can barely POST at the moment, not close to full functionality 2021-04-01T00:53:43Z contrapunctus left #lisp 2021-04-01T00:54:17Z terpri: it's unfortunate that opengenera will presumably remain proprietary. some folks in #lispm were making good progress with CADR emulation (emulating newer versions than what was originally released), but the channel was locked without notice 2021-04-01T00:56:28Z Lord_Nightmare quit (Quit: ZNC - http://znc.in) 2021-04-01T00:58:22Z contrapunctus joined #lisp 2021-04-01T01:01:04Z ebrasca quit (Remote host closed the connection) 2021-04-01T01:02:08Z Lord_Nightmare joined #lisp 2021-04-01T01:02:24Z terpri: https://tumbleweed.nu/lm-3 <- CADR work (system 78 is usable and they're trying to get system 98 or 99 working; no idea how significant the differences between versions are though) 2021-04-01T01:05:05Z gzj quit (Remote host closed the connection) 2021-04-01T01:05:26Z gzj joined #lisp 2021-04-01T01:06:13Z countvaj` quit (Ping timeout: 250 seconds) 2021-04-01T01:07:06Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-01T01:09:48Z White_Flame: terpri: one thing that I really like and got in early is the ability to call directly from CL into Ivory functions, but that's only sane when the emulation is paused 2021-04-01T01:10:07Z White_Flame: it would be nice to transition both ways, and get native CL stuff accessed from Genera as well 2021-04-01T01:11:53Z White_Flame: my net connection is being stupid right now so I hven't kept up with the conversation, but I tried the instructions from https://static.loomcom.com/genera/genera-install.html again, and was able to build VLM from source, which is really, really good for me to be able to continue now. It hadn't worked in the past from source builds for me 2021-04-01T01:13:41Z aeth_ quit (Ping timeout: 240 seconds) 2021-04-01T01:15:17Z Kundry_Wag joined #lisp 2021-04-01T01:15:42Z aeth joined #lisp 2021-04-01T01:23:56Z palter: That is, of course, the C emulator which is a transliteration of the Alpha native VLM source code to C. It has some interesting issues. (One I remember from a client's site is that either the calendar clock or microsecond clock runs about 3 times real speed. Don't remember which one. But, TCP timeouts were messed up by it.) 2021-04-01T01:25:52Z wxie joined #lisp 2021-04-01T01:26:14Z countvaj` joined #lisp 2021-04-01T01:26:14Z palter: I would love to see Genera (and Open Genera and Portable Genera) released but JCMa hasn't answered my last email so I don't know why he won't. 2021-04-01T01:26:39Z semz quit (Ping timeout: 245 seconds) 2021-04-01T01:27:02Z White_Flame: right, I'm not porting that VLM, I'm rewriting from first principles. But it can give me an execution trace of what should be happening for reference, now that I can adjust its source and build 2021-04-01T01:27:15Z White_Flame: for a given test world 2021-04-01T01:28:03Z caoliver: JCMa is an interesting fellow to say the least. The license surrounding his web server was ummm... interesting. 2021-04-01T01:28:52Z caoliver gets a dog in the manger feeling. 2021-04-01T01:29:44Z palter: White_Flame - If you want an instruction trace of booting a world, I still have one. 2021-04-01T01:29:51Z palter: (It's 3.3GB) 2021-04-01T01:30:06Z White_Flame: it has to be the exact same world as mine, so I'm going to make my own 2021-04-01T01:30:51Z White_Flame: no clue if the early boot stuff has changed much, though 2021-04-01T01:31:29Z palter: It's probably from a world named fixed7.vlod. (It's from July 2016) 2021-04-01T01:31:56Z White_Flame: but yeah, I want to verify how & where I diverge from VLM and blow up 2021-04-01T01:32:20Z palter: I know what you mean. That's how I debugged the Intel and ARM ports. 2021-04-01T01:32:25Z terpri: fun factoid: according to my reading of the standard license header, as of 2018, the US federal government could unilaterally relicense most of the genera source code if they wanted, presumably due to the level of public funding 2021-04-01T01:32:33Z White_Flame: I'm now using a Genera-8-5-xlib-patched.vlod 2021-04-01T01:32:53Z palter: What's the date on the world load? 2021-04-01T01:33:27Z White_Flame: where would I find that? 2021-04-01T01:33:32Z terpri: hard to say whether that's more or less likely than the copyright owner (john c. mallery?) relicensing it though 2021-04-01T01:33:47Z palter: Of course, once sequence breaks start, the trace will diverge. 2021-04-01T01:34:35Z sp41 joined #lisp 2021-04-01T01:35:04Z caoliver: terpri was this via darpa? 2021-04-01T01:38:30Z semz joined #lisp 2021-04-01T01:38:30Z semz quit (Changing host) 2021-04-01T01:38:30Z semz joined #lisp 2021-04-01T01:39:52Z palter: This is the clause from the copyright notice that terpri was referencing. https://www.irccloud.com/pastebin/TXUEulOs/ 2021-04-01T01:41:06Z terpri: caoliver, not sure if it's DARPA per se, but the clause refers to the National Reconnonaissance Office 2021-04-01T01:41:12Z caoliver: I just wondered about how the public funding came about. I was always a little miffed that RSA wasn't broadly available for public use given that taxpayers (via the Navy) funding the development. 2021-04-01T01:41:19Z terpri: Reconnaissance* 2021-04-01T01:41:46Z terpri: and https://www.law.cornell.edu/cfr/text/48/252.227-7014#b_2 is the relevant law, i believe 2021-04-01T01:41:47Z caoliver got a copy of TM-82 when he was in high school. 2021-04-01T01:42:31Z caoliver: Not that I was any sort of genius (I'm most certainly not), but the Martin Gardner article piqued my interest. 2021-04-01T01:43:24Z terpri: "Government purpose rights shall remain in effect for a period of five years unless a different period has been negotiated." symbolics apparently negotiated something like a *thirty year* restriction :p 2021-04-01T01:44:09Z caoliver: Evidently prior to 1991. 2021-04-01T01:44:12Z palter: This one is a bit more up-to-date I think. (Note the expiration date) https://www.irccloud.com/pastebin/6pYRUnLn/ 2021-04-01T01:44:58Z caoliver: 2018 was a while ago unless I got dropped in the time machine yet again. 2021-04-01T01:47:43Z caoliver: I think the key language is "No restrictions apply after the expiration date shown above." 2021-04-01T01:47:49Z caoliver: But IANAL. 2021-04-01T01:48:37Z caoliver: That would also depend on the government having worlds absent of classified information. 2021-04-01T01:49:33Z caoliver really needs to attend to his pasta. BBL. 2021-04-01T01:51:21Z MightyJoe quit (Quit: I'm out!) 2021-04-01T01:52:21Z terpri: right, and "the Government shall have unlimited rights" after expiration. but whether they want to exercise those rights is a separate question 2021-04-01T01:52:29Z terpri: (IANAL either) 2021-04-01T01:54:15Z caoliver: Maybe I should have gone to law school rather than playing with math and computers. 2021-04-01T01:55:16Z caoliver: Probably not. I'm a very not people/politics sort of person. 2021-04-01T01:55:19Z terpri: hm, seems that you can only view relatively recent spending on usaspending.gov. but the army paid symbolics almost $600k between 2006 and 2011 (for onsite hardware and software support) so someone was still using it 2021-04-01T01:56:18Z terpri: (support + an opengenera license) 2021-04-01T01:56:19Z caoliver: It wouldn't surprise me. However I'd have assumed that they'd budge a port. 2021-04-01T01:56:31Z caoliver: s/budge/budget/ 2021-04-01T01:56:52Z igemnace joined #lisp 2021-04-01T01:57:08Z caoliver: Say Allegro (is that still a thing?) on a modern fast box. 2021-04-01T01:58:08Z caoliver: It'd be a hell of a lot cheaper than what was squandered on F-22 and F-35. 2021-04-01T01:58:18Z yonkunas joined #lisp 2021-04-01T01:59:50Z caoliver: Being a cheap ass, I'd do anything (assuming a ramen budget) with CCL or SBCL. 2021-04-01T02:03:19Z cyraxjoe joined #lisp 2021-04-01T02:03:24Z palter: Those dates are post Symbolics so the Army would've been contracting through David Schmidt. I know that around 2015, there was a DoD dictum to get off non-standard systems. It's why Dave contracted with me (through Clozure) to do the Intel port. 2021-04-01T02:04:41Z palter: There were a couple of clients left then as I recall. One used Genera just for development and deployed on Allegro, I think. The other ran their application as a service. 2021-04-01T02:04:58Z palter: Don't remember which one was doing work for the Army. (Might have been both) 2021-04-01T02:05:01Z indathrone joined #lisp 2021-04-01T02:05:28Z gzj quit (Remote host closed the connection) 2021-04-01T02:05:32Z palter: There's still a client who uses Genera for development and deploys on Allegro for a commercail product. 2021-04-01T02:06:13Z gzj joined #lisp 2021-04-01T02:07:29Z judson_ joined #lisp 2021-04-01T02:09:47Z ikrabbe|2 joined #lisp 2021-04-01T02:12:06Z gaqwas quit (Ping timeout: 260 seconds) 2021-04-01T02:12:23Z gaqwas joined #lisp 2021-04-01T02:12:41Z ikrabbe quit (Ping timeout: 240 seconds) 2021-04-01T02:15:23Z ldbeth joined #lisp 2021-04-01T02:16:38Z terpri: i always wondered what those contracts were about. mystery solved :) 2021-04-01T02:17:15Z prxq_ joined #lisp 2021-04-01T02:17:40Z ldbeth: how's the behavior of INTERN related to READTABLE-CASE? 2021-04-01T02:19:00Z no-defun-allowed: From memory, they are not at all. 2021-04-01T02:19:32Z no-defun-allowed: For all strings S, (string= (symbol-name (intern S)) S) 2021-04-01T02:19:55Z ldbeth: clhs 22.1.3.3.2.1 2021-04-01T02:19:55Z specbot: Examples of Effect of Readtable Case on the Lisp Printer: http://www.lispworks.com/reference/HyperSpec/Body/22_accba.htm 2021-04-01T02:20:41Z prxq quit (Ping timeout: 240 seconds) 2021-04-01T02:20:46Z ldbeth: figured that's probably caused by the printer 2021-04-01T02:21:19Z CrazyEddy quit (Remote host closed the connection) 2021-04-01T02:21:41Z no-defun-allowed: clhs intern 2021-04-01T02:21:42Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_intern.htm 2021-04-01T02:24:25Z wxie quit (Ping timeout: 268 seconds) 2021-04-01T02:24:26Z fnord_ joined #lisp 2021-04-01T02:24:28Z fnord_ quit (Client Quit) 2021-04-01T02:25:19Z feminine joined #lisp 2021-04-01T02:25:56Z igemnace quit (Remote host closed the connection) 2021-04-01T02:28:14Z feminine quit (Changing host) 2021-04-01T02:28:14Z feminine joined #lisp 2021-04-01T02:28:37Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-01T02:31:35Z caoliver: That DoD dictum isn't surprising: What is surprising is that it wasn't issued sooner. 2021-04-01T02:33:26Z pranavats quit (Ping timeout: 258 seconds) 2021-04-01T02:33:37Z contrapunctus quit (Ping timeout: 260 seconds) 2021-04-01T02:34:53Z pranavats joined #lisp 2021-04-01T02:37:04Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-01T02:40:58Z X-Scale quit (Ping timeout: 240 seconds) 2021-04-01T02:47:22Z judson_ joined #lisp 2021-04-01T02:49:11Z Stanley00 joined #lisp 2021-04-01T02:55:06Z X-Scale joined #lisp 2021-04-01T02:57:38Z beach` is now known as beach 2021-04-01T03:00:22Z beach: Good morning everyone! 2021-04-01T03:02:11Z sp41 quit (Remote host closed the connection) 2021-04-01T03:02:37Z Alfr is now known as Guest96913 2021-04-01T03:02:40Z chipolux quit (Quit: chipolux) 2021-04-01T03:02:42Z Alfr joined #lisp 2021-04-01T03:03:08Z gzj quit (Remote host closed the connection) 2021-04-01T03:03:27Z gzj joined #lisp 2021-04-01T03:04:57Z Guest96913 quit (Ping timeout: 250 seconds) 2021-04-01T03:06:49Z caoliver: It's hard to wreck a nice ... 2021-04-01T03:09:20Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-01T03:25:58Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-01T03:27:29Z judson_ joined #lisp 2021-04-01T03:29:31Z judson_ quit (Client Quit) 2021-04-01T03:31:15Z contrapunctus joined #lisp 2021-04-01T04:01:07Z gzj quit (Remote host closed the connection) 2021-04-01T04:01:27Z gzj joined #lisp 2021-04-01T04:18:06Z gzj quit (Remote host closed the connection) 2021-04-01T04:18:27Z gzj joined #lisp 2021-04-01T04:20:55Z akoana left #lisp 2021-04-01T04:22:57Z Bike quit (Quit: Lost terminal) 2021-04-01T04:23:32Z aeth_ joined #lisp 2021-04-01T04:25:13Z aeth quit (Disconnected by services) 2021-04-01T04:25:18Z aeth_ is now known as aeth 2021-04-01T04:31:35Z long4mud joined #lisp 2021-04-01T04:46:26Z dmiles_afk joined #lisp 2021-04-01T04:46:32Z dmiles_afk is now known as dmiles 2021-04-01T04:46:33Z dmiles is now known as dmiles_afk 2021-04-01T04:47:11Z dmiles_afk quit (Remote host closed the connection) 2021-04-01T04:47:24Z dmiles_afk joined #lisp 2021-04-01T04:47:24Z dmiles_afk is now known as dmiles 2021-04-01T04:47:24Z dmiles is now known as dmiles_afk 2021-04-01T04:47:25Z dmiles_afk quit (Excess Flood) 2021-04-01T04:47:39Z dmiles_afk joined #lisp 2021-04-01T04:48:11Z dmiles_afk is now known as dmiles 2021-04-01T04:54:14Z jcowan: Maiko, the Interlisp VM, also runs on both Mac and Linux (and Solaris and of course Linux for Windows) 2021-04-01T04:54:46Z jcowan: As for Elisps, it's true that Guile and Kawa don't provide the editor-specific data structures, but they do provide the Elisp language as such. 2021-04-01T04:59:04Z IPmonger quit (Quit: ZNC 1.7.5+deb4 - https://znc.in) 2021-04-01T04:59:23Z IPmonger joined #lisp 2021-04-01T05:02:47Z Lycurgus quit (Quit: Exeunt) 2021-04-01T05:11:45Z skapata quit (Remote host closed the connection) 2021-04-01T05:19:27Z aeth_ joined #lisp 2021-04-01T05:19:53Z aeth quit (Disconnected by services) 2021-04-01T05:19:55Z aeth_ is now known as aeth 2021-04-01T05:21:34Z countvaj` quit (Remote host closed the connection) 2021-04-01T05:22:00Z countvaj` joined #lisp 2021-04-01T05:24:45Z luckless quit (Ping timeout: 240 seconds) 2021-04-01T05:25:38Z countvaj` quit (Remote host closed the connection) 2021-04-01T05:26:03Z countvaj` joined #lisp 2021-04-01T05:29:51Z countvaj` quit (Read error: Connection reset by peer) 2021-04-01T05:29:55Z keeperasmexcalib joined #lisp 2021-04-01T05:30:10Z shka_ joined #lisp 2021-04-01T05:30:16Z countvaj` joined #lisp 2021-04-01T05:33:20Z sauvin joined #lisp 2021-04-01T05:33:56Z countvaj` quit (Remote host closed the connection) 2021-04-01T05:34:12Z countvaj` joined #lisp 2021-04-01T05:36:11Z narimiran joined #lisp 2021-04-01T05:38:11Z countvaj` quit (Remote host closed the connection) 2021-04-01T05:38:23Z countvaj` joined #lisp 2021-04-01T05:41:11Z Nilby joined #lisp 2021-04-01T05:42:03Z keeperasmexcalib quit (Quit: reboot) 2021-04-01T05:42:15Z countvaj` quit (Remote host closed the connection) 2021-04-01T05:42:31Z countvaj` joined #lisp 2021-04-01T05:43:58Z keeperasmexcalib joined #lisp 2021-04-01T05:46:22Z countvaj` quit (Remote host closed the connection) 2021-04-01T05:46:33Z countvaj` joined #lisp 2021-04-01T05:46:57Z keeperasmexcalib quit (Client Quit) 2021-04-01T05:47:40Z keeperasmexcalib joined #lisp 2021-04-01T05:50:18Z keeperegp_ joined #lisp 2021-04-01T05:50:28Z keeperasmexcalib quit (Client Quit) 2021-04-01T05:50:46Z countvaj` quit (Remote host closed the connection) 2021-04-01T05:50:48Z keeperegp_ quit (Remote host closed the connection) 2021-04-01T05:51:04Z countvaj` joined #lisp 2021-04-01T05:51:17Z keeperasmexcalib joined #lisp 2021-04-01T05:52:23Z Nilby quit (Ping timeout: 258 seconds) 2021-04-01T05:58:45Z Feldman joined #lisp 2021-04-01T05:58:47Z Feldman quit (Client Quit) 2021-04-01T06:01:45Z random-nick joined #lisp 2021-04-01T06:02:55Z Feldman joined #lisp 2021-04-01T06:07:08Z gzj quit (Remote host closed the connection) 2021-04-01T06:07:27Z gzj joined #lisp 2021-04-01T06:15:49Z countvaj` quit (Ping timeout: 245 seconds) 2021-04-01T06:16:06Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-01T06:19:55Z rumbler31 joined #lisp 2021-04-01T06:19:57Z xantoz quit (Read error: Connection reset by peer) 2021-04-01T06:22:35Z mathrick quit (Ping timeout: 246 seconds) 2021-04-01T06:23:34Z aartaka joined #lisp 2021-04-01T06:24:54Z rumbler31 quit (Ping timeout: 268 seconds) 2021-04-01T06:28:03Z aartaka quit (Ping timeout: 265 seconds) 2021-04-01T06:29:08Z mathrick joined #lisp 2021-04-01T06:33:39Z aartaka joined #lisp 2021-04-01T06:34:36Z OlCe quit (Ping timeout: 260 seconds) 2021-04-01T06:39:34Z pve joined #lisp 2021-04-01T06:40:34Z ldbeth: jcowan: wait, interlisp vm? 2021-04-01T06:40:45Z ldbeth: where can I find that then? 2021-04-01T06:40:58Z moon-child: ldbeth: https://github.com/Interlisp/maiko/ 2021-04-01T06:45:41Z aeth quit (Ping timeout: 240 seconds) 2021-04-01T06:47:40Z wxie joined #lisp 2021-04-01T06:47:43Z aeth joined #lisp 2021-04-01T06:53:07Z gzj quit (Remote host closed the connection) 2021-04-01T06:53:28Z gzj joined #lisp 2021-04-01T06:54:21Z ikrabbe|2 is now known as ikrabbe 2021-04-01T06:58:58Z ldbeth quit (Ping timeout: 240 seconds) 2021-04-01T07:04:48Z ldbeth joined #lisp 2021-04-01T07:06:08Z terpri quit (Remote host closed the connection) 2021-04-01T07:08:15Z beach` joined #lisp 2021-04-01T07:08:39Z terpri joined #lisp 2021-04-01T07:08:57Z beach quit (Disconnected by services) 2021-04-01T07:09:03Z beach` is now known as beach 2021-04-01T07:09:36Z ldbeth quit (Ping timeout: 260 seconds) 2021-04-01T07:09:49Z frost-lab joined #lisp 2021-04-01T07:14:50Z Lord_of_Life joined #lisp 2021-04-01T07:14:50Z ldbeth joined #lisp 2021-04-01T07:19:13Z ldbeth quit (Ping timeout: 252 seconds) 2021-04-01T07:24:57Z ldbeth joined #lisp 2021-04-01T07:29:11Z ldbeth quit (Ping timeout: 240 seconds) 2021-04-01T07:29:16Z rogersm joined #lisp 2021-04-01T07:32:09Z chipolux joined #lisp 2021-04-01T07:33:48Z rogersm quit (Remote host closed the connection) 2021-04-01T07:33:52Z chipolux quit (Client Quit) 2021-04-01T07:34:05Z rogersm joined #lisp 2021-04-01T07:34:34Z rogersm quit (Remote host closed the connection) 2021-04-01T07:34:52Z ldbeth joined #lisp 2021-04-01T07:35:19Z surabax joined #lisp 2021-04-01T07:35:25Z hiroaki joined #lisp 2021-04-01T07:39:35Z ldbeth quit (Ping timeout: 265 seconds) 2021-04-01T07:40:32Z wxie quit (Quit: wxie) 2021-04-01T07:41:12Z keeperasmexcalib quit (Quit: EXIT) 2021-04-01T07:41:25Z keeperasmexcalib joined #lisp 2021-04-01T07:43:03Z dilated_dinosaur quit (Ping timeout: 246 seconds) 2021-04-01T07:43:27Z dilated_dinosaur joined #lisp 2021-04-01T07:45:00Z ldbeth joined #lisp 2021-04-01T07:45:12Z wxie joined #lisp 2021-04-01T07:45:32Z keeperasmexcalib is now known as keeperegp_ 2021-04-01T07:45:48Z keeperegp_ is now known as keeperasmexcalib 2021-04-01T07:45:49Z aeth quit (Ping timeout: 260 seconds) 2021-04-01T07:47:23Z aeth joined #lisp 2021-04-01T07:49:24Z keeperasmexcalib quit (Quit: EXIT) 2021-04-01T07:49:39Z keeperasmexcalib joined #lisp 2021-04-01T07:50:00Z ldbeth quit (Ping timeout: 268 seconds) 2021-04-01T07:50:14Z ljavorsk joined #lisp 2021-04-01T07:50:28Z keeperasmexcalib quit (Client Quit) 2021-04-01T07:50:58Z OlCe joined #lisp 2021-04-01T07:55:06Z ldbeth joined #lisp 2021-04-01T07:56:45Z gitgood quit (Quit: Probably away to do something really awesome) 2021-04-01T07:57:26Z dilated_dinosaur quit (Ping timeout: 246 seconds) 2021-04-01T07:59:14Z nicktick1 joined #lisp 2021-04-01T07:59:46Z ldbeth quit (Ping timeout: 240 seconds) 2021-04-01T08:01:07Z nicktick quit (Ping timeout: 268 seconds) 2021-04-01T08:02:58Z xsperry quit (Ping timeout: 268 seconds) 2021-04-01T08:05:18Z ldbeth joined #lisp 2021-04-01T08:06:10Z nicktick1 quit (Quit: Leaving.) 2021-04-01T08:06:27Z nicktick joined #lisp 2021-04-01T08:06:58Z hendursa1 joined #lisp 2021-04-01T08:09:33Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-01T08:09:38Z ldbeth quit (Ping timeout: 240 seconds) 2021-04-01T08:11:02Z dilated_dinosaur joined #lisp 2021-04-01T08:15:15Z ldbeth joined #lisp 2021-04-01T08:15:22Z hiroaki1 quit (Ping timeout: 258 seconds) 2021-04-01T08:19:33Z cosimone joined #lisp 2021-04-01T08:20:11Z ldbeth quit (Ping timeout: 246 seconds) 2021-04-01T08:20:21Z narimiran quit (Ping timeout: 260 seconds) 2021-04-01T08:20:35Z rgherdt joined #lisp 2021-04-01T08:25:27Z ldbeth joined #lisp 2021-04-01T08:27:23Z prxq_ quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-01T08:27:37Z prxq joined #lisp 2021-04-01T08:28:43Z ldbeth quit (Remote host closed the connection) 2021-04-01T08:29:00Z ldbeth joined #lisp 2021-04-01T08:33:07Z rjcks joined #lisp 2021-04-01T08:35:51Z keeperasmexcalib joined #lisp 2021-04-01T08:43:57Z galex-713 quit (Ping timeout: 246 seconds) 2021-04-01T08:52:18Z anticrisis quit (Read error: Connection reset by peer) 2021-04-01T08:54:31Z galex-713 joined #lisp 2021-04-01T09:00:45Z Feldman joined #lisp 2021-04-01T09:07:05Z orivej quit (Ping timeout: 268 seconds) 2021-04-01T09:16:11Z nicktick quit (Ping timeout: 240 seconds) 2021-04-01T09:25:08Z kevingal quit (Remote host closed the connection) 2021-04-01T09:28:41Z ldbeth quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-01T09:29:03Z orivej joined #lisp 2021-04-01T09:29:44Z kevingal joined #lisp 2021-04-01T09:35:14Z contrapunctus left #lisp 2021-04-01T09:37:52Z contrapunctus joined #lisp 2021-04-01T09:52:30Z OlCe quit (Ping timeout: 265 seconds) 2021-04-01T09:53:09Z gzj quit (Read error: Connection reset by peer) 2021-04-01T09:53:29Z gzj joined #lisp 2021-04-01T09:55:05Z waleee-cl joined #lisp 2021-04-01T09:56:31Z OlCe joined #lisp 2021-04-01T09:58:28Z cchristiansen quit (Remote host closed the connection) 2021-04-01T09:59:08Z gzj quit (Remote host closed the connection) 2021-04-01T09:59:28Z gzj joined #lisp 2021-04-01T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-01T10:03:26Z varjag joined #lisp 2021-04-01T10:09:52Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-01T10:13:17Z amb007 quit (Read error: Connection reset by peer) 2021-04-01T10:13:27Z amb007 joined #lisp 2021-04-01T10:15:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-01T10:16:02Z amb007 joined #lisp 2021-04-01T10:18:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-01T10:18:45Z Aurora_v_kosmose quit (Ping timeout: 240 seconds) 2021-04-01T10:19:16Z amb007 joined #lisp 2021-04-01T10:19:26Z Aurora_v_kosmose joined #lisp 2021-04-01T10:21:27Z amb007 quit (Read error: Connection reset by peer) 2021-04-01T10:22:32Z amb007 joined #lisp 2021-04-01T10:27:48Z amb007 quit (Read error: Connection reset by peer) 2021-04-01T10:28:02Z amb007 joined #lisp 2021-04-01T10:30:12Z amb007 quit (Read error: Connection reset by peer) 2021-04-01T10:32:27Z amb007 joined #lisp 2021-04-01T10:34:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-01T10:35:19Z amb007 joined #lisp 2021-04-01T10:36:24Z vegansbane6963 joined #lisp 2021-04-01T10:39:46Z OlCe quit (Ping timeout: 240 seconds) 2021-04-01T10:39:46Z amb007 quit (Read error: Connection reset by peer) 2021-04-01T10:40:15Z amb007 joined #lisp 2021-04-01T10:43:04Z frgo quit (Remote host closed the connection) 2021-04-01T10:43:30Z frgo joined #lisp 2021-04-01T10:44:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-01T10:44:49Z amb007 joined #lisp 2021-04-01T10:47:37Z amb007 quit (Read error: Connection reset by peer) 2021-04-01T10:48:39Z amb007 joined #lisp 2021-04-01T10:49:29Z matryoshka quit (Ping timeout: 250 seconds) 2021-04-01T10:49:42Z matryoshka joined #lisp 2021-04-01T10:54:46Z pjb quit (Ping timeout: 240 seconds) 2021-04-01T10:57:06Z mrchampion quit (Ping timeout: 240 seconds) 2021-04-01T11:01:00Z frost-lab quit (Quit: Ping timeout (120 seconds)) 2021-04-01T11:01:26Z frost-lab joined #lisp 2021-04-01T11:03:54Z jmercouris: phoe: how can I show restarts to users in Nyxt? 2021-04-01T11:04:25Z jmercouris: Is there a portable way to do this? 2021-04-01T11:04:43Z luni joined #lisp 2021-04-01T11:04:45Z phoe: jmercouris: what do you mean, show? 2021-04-01T11:04:45Z no-defun-allowed: clhs compute-restarts 2021-04-01T11:04:45Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_comp_1.htm 2021-04-01T11:05:00Z luni left #lisp 2021-04-01T11:05:14Z no-defun-allowed: The example provides a text interface-based example for what you want. 2021-04-01T11:05:16Z phoe: like do what the debugger does, show a series of like [FOO] Perform a FOO operation." 2021-04-01T11:05:21Z phoe: sort of thing? 2021-04-01T11:06:00Z jmercouris: phoe: yes, exactly 2021-04-01T11:06:16Z narimiran joined #lisp 2021-04-01T11:07:04Z phoe: because then what no-defun-allowed said - get a list of restarts available in the current dynenv this way via COMPUTE-RESTARTS, get restart names via RESTART-NAME, get restart reports via princ-to-stringing the restart objects, call them via INVOKE-RESTART-INTERACTIVELY after binding *query-io* in a proper way 2021-04-01T11:07:25Z jmercouris: Hm 2021-04-01T11:07:32Z phoe: ;; or y'know you can read my book instead 2021-04-01T11:07:40Z jmercouris: Double hm 2021-04-01T11:07:44Z phoe: you could take a look at the debugger of portable-condition-system as well 2021-04-01T11:07:55Z phoe: because this directly operates with restarts and displays them to the user 2021-04-01T11:08:06Z jmercouris: I see 2021-04-01T11:08:09Z phoe: s/with/on/ 2021-04-01T11:08:22Z phoe: https://github.com/phoe/portable-condition-system/blob/master/src/debugger.lisp 2021-04-01T11:08:47Z phoe: in particular DEFINE-COMMAND :RESTARTS and below 2021-04-01T11:08:48Z jmercouris: I see very useful 2021-04-01T11:08:51Z jmercouris: Thank you 2021-04-01T11:09:12Z phoe: no problem 2021-04-01T11:23:22Z ldbeth joined #lisp 2021-04-01T11:23:28Z ldbeth: good evening 2021-04-01T11:23:37Z phoe: hello 2021-04-01T11:24:33Z phoe: jmercouris: basically this sounds like you want to write your own Lisp debugger, which kind of makes sense because nyxt aims to be a Lisp environment 2021-04-01T11:24:40Z ldbeth: someone asked me if it is a good idea to modify *print-case* for readability 2021-04-01T11:25:05Z phoe: dynamically, or globally? 2021-04-01T11:25:51Z ldbeth: globally, he encountered the problem that setting *print-case* would cause trouble for cl-base64's macro 2021-04-01T11:26:06Z gzj quit (Remote host closed the connection) 2021-04-01T11:26:27Z gzj joined #lisp 2021-04-01T11:26:36Z ldbeth: which uses (intern (format nil "~A" ... something 2021-04-01T11:26:43Z phoe: oh, yes 2021-04-01T11:27:08Z gzj quit (Remote host closed the connection) 2021-04-01T11:27:14Z phoe: ;; I think that at least one of my own libraries is going to fall apart the same way if print-case is modified 2021-04-01T11:27:29Z gzj joined #lisp 2021-04-01T11:27:34Z phoe: ;; I need to verify this someday 2021-04-01T11:27:40Z jmercouris: phoe: yes, we are going that direction 2021-04-01T11:28:12Z mrchampion joined #lisp 2021-04-01T11:28:48Z phoe: I actually cannot see INTERN over FORMAT NIL in there 2021-04-01T11:29:02Z ldbeth: personally I feel IT IS NOT A BIG PROBLEAM READING UPPERCASED INDENTIFIERS. 2021-04-01T11:29:32Z phoe: what's the exact error you are getting? cl-base64 seems actually immune to this sorta error 2021-04-01T11:30:59Z ldbeth: he added (setf *print-case* :downcase) in his .sbclrc and using cl-base64-20201016-git 2021-04-01T11:32:10Z frost-lab quit (Quit: Connection closed) 2021-04-01T11:32:46Z ldbeth: and it's acually loading another package complains "The function cl-base64:base64-string-to-usb8-array is undefined." 2021-04-01T11:34:31Z phoe: show me that another package 2021-04-01T11:35:00Z phoe: because cl-base64 seems to define symbols with upcased names, like, always 2021-04-01T11:39:10Z ldbeth: phoe: "crypto-shortcuts", in package nice-school 2021-04-01T11:40:25Z ldbeth: might need to empty fasl files first 2021-04-01T11:43:13Z ldbeth: probably nice-school is the package he's developing 2021-04-01T11:43:55Z ebrasca joined #lisp 2021-04-01T11:53:32Z rodriga joined #lisp 2021-04-01T12:05:31Z kevingal_ joined #lisp 2021-04-01T12:08:21Z kevingal quit (Ping timeout: 246 seconds) 2021-04-01T12:15:37Z Stanley00 quit 2021-04-01T12:16:35Z long4mud quit (Ping timeout: 252 seconds) 2021-04-01T12:18:09Z Nilby joined #lisp 2021-04-01T12:22:33Z cosimone quit (Remote host closed the connection) 2021-04-01T12:23:29Z jonatack quit (Ping timeout: 260 seconds) 2021-04-01T12:23:58Z Bike joined #lisp 2021-04-01T12:25:49Z notzmv quit (Ping timeout: 260 seconds) 2021-04-01T12:29:37Z fourier joined #lisp 2021-04-01T12:34:54Z orivej quit (Ping timeout: 265 seconds) 2021-04-01T12:35:19Z jonatack joined #lisp 2021-04-01T12:39:41Z jonatack quit (Ping timeout: 240 seconds) 2021-04-01T12:40:09Z jonatack joined #lisp 2021-04-01T12:50:58Z beach: Bike: How is work on Cleavir going? 2021-04-01T12:51:33Z Bike: think i'm going to have to work on trucler like i mentioned before i get much farther with it. 2021-04-01T12:51:55Z beach: That makes sense. 2021-04-01T12:52:49Z orivej joined #lisp 2021-04-01T12:57:26Z jmercouris: ferada: how do I add Gboxed types to cl-cffi-gtk? 2021-04-01T12:57:31Z jmercouris: such that get-g-boxed-foreign-info-for-gtype functions properly? 2021-04-01T12:57:52Z jmercouris: Ive tried to use the DEFINE-G-BOXED-* macros to no avail 2021-04-01T12:58:00Z jmercouris: perhaps I am not using them properly 2021-04-01T12:58:09Z jmercouris: http://dpaste.com/64J5BUCMJ 2021-04-01T13:01:27Z cosimone joined #lisp 2021-04-01T13:03:00Z cosimone quit (Remote host closed the connection) 2021-04-01T13:03:22Z cosimone joined #lisp 2021-04-01T13:03:54Z skapata joined #lisp 2021-04-01T13:04:23Z ldbeth quit (Ping timeout: 265 seconds) 2021-04-01T13:05:09Z jmercouris: looking at the documentation here: https://webkitgtk.org/reference/webkit2gtk/stable/WebKitNavigationAction.html I cannot for the life of me figure out what the struct fields are 2021-04-01T13:05:45Z jmercouris: which makes me think that it should be defined via define-g-boxed-opaque 2021-04-01T13:05:53Z jmercouris: however, how to use this is incredibly unclear 2021-04-01T13:06:14Z gzj quit (Read error: Connection reset by peer) 2021-04-01T13:06:36Z gzj joined #lisp 2021-04-01T13:09:38Z OlCe joined #lisp 2021-04-01T13:10:41Z ferada: jmercouris: hi, ...boxed-opaque looks correct to me like you said and how to use it, just look at the existing cases, like gtk-widget-path for example, function parameters use (object (g-boxed-foreign gtk-widget-path)) e.g. 2021-04-01T13:13:02Z jmercouris: ferada: I see, thanks 2021-04-01T13:13:47Z jmercouris: you mean (g-boxed-foreign gtk-widget-path) for specializing my defcfun 2021-04-01T13:13:50Z Feldman joined #lisp 2021-04-01T13:13:53Z jmercouris: why could i not just treat it as a pointer? 2021-04-01T13:14:08Z jmercouris: what is the point of wrapping in g-boxed when it is opaque? 2021-04-01T13:14:35Z ferada: you can pass raw pointers around, then you just have no idea what's in it 2021-04-01T13:14:48Z jmercouris: ferada: that's usually what I am doing 2021-04-01T13:14:52Z jmercouris: here is where the problem comes in 2021-04-01T13:15:07Z jmercouris: when you use g-signal-connect it tries to do some magic and convert the results into appropriate objects 2021-04-01T13:15:21Z jmercouris: let me show you what I mean 2021-04-01T13:16:45Z jmercouris: ferada: http://dpaste.com/77CSNHPE8 2021-04-01T13:17:46Z ferada: jmercouris: and what's the problem? 2021-04-01T13:17:53Z jmercouris: the problem is that "t" is passed somewhere 2021-04-01T13:17:59Z jmercouris: the result of my lambda 2021-04-01T13:18:02Z jmercouris: and cl-cffi-gtk loses its mind 2021-04-01T13:18:04Z jmercouris: let me show you a trace 2021-04-01T13:19:17Z jmercouris: http://dpaste.com/6R72G9TG2 2021-04-01T13:19:28Z jmercouris: ferada: ^ 2021-04-01T13:21:12Z gzj quit (Remote host closed the connection) 2021-04-01T13:21:33Z gzj joined #lisp 2021-04-01T13:22:34Z ferada: jmercouris: that's this signal https://webkitgtk.org/reference/webkit2gtk/2.4.2/WebKitWebView.html#WebKitWebView-create ? 2021-04-01T13:22:46Z ferada: T isn't a valid return value anyway 2021-04-01T13:22:48Z jmercouris: ferada: correct 2021-04-01T13:22:56Z jmercouris: it isn't, that's true 2021-04-01T13:23:05Z ferada: so, return NIL or a widget 2021-04-01T13:23:14Z jmercouris: a good point, maybe NIL will help it survive 2021-04-01T13:23:26Z ferada: i can't find an example with return value gboolean right now, might be that it's not supported 2021-04-01T13:23:42Z wsinatra joined #lisp 2021-04-01T13:24:50Z jmercouris: wow, that worked 2021-04-01T13:24:56Z jmercouris: I would have /never/ thought 2021-04-01T13:25:09Z jmercouris: many of my assumptions have been now broken 2021-04-01T13:25:37Z jmercouris: strange, because I thought in other signal handlers I was returning incorrect values and it was handling it gracefully 2021-04-01T13:25:46Z jmercouris: maybe I was never doing that, and just imagined I was 2021-04-01T13:26:05Z jmercouris: thanks ferada 2021-04-01T13:26:39Z ferada: maybe, maybe not, it's a bit hard to search for this case since the return type isn't indicated in the lambdas unfortunately 2021-04-01T13:26:46Z ferada: not the greatest design i guess 2021-04-01T13:27:11Z ferada: np 2021-04-01T13:27:34Z ferada: let me know if you encounter other issues, i've seen the tickets, i just can't easily reproduce things at the moment 2021-04-01T13:27:43Z jmercouris: no problem, will do 2021-04-01T13:29:53Z daniel1302_ quit (Quit: ZNC 1.8.2 - https://znc.in) 2021-04-01T13:30:01Z feminine quit (Quit: Reconnecting) 2021-04-01T13:30:26Z daniel1302 joined #lisp 2021-04-01T13:34:06Z warweasle joined #lisp 2021-04-01T13:42:19Z Josh_2 joined #lisp 2021-04-01T13:45:46Z aeth quit (Ping timeout: 240 seconds) 2021-04-01T13:47:24Z nicktick joined #lisp 2021-04-01T13:47:57Z aeth joined #lisp 2021-04-01T13:53:26Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-01T14:05:47Z Josh_2: Afternoon 2021-04-01T14:06:33Z beach: Hello Josh_2. 2021-04-01T14:14:36Z ldbeth joined #lisp 2021-04-01T14:23:27Z ldbeth quit (Ping timeout: 252 seconds) 2021-04-01T14:24:50Z notzmv joined #lisp 2021-04-01T14:31:03Z Kundry_W_ joined #lisp 2021-04-01T14:31:14Z pjb joined #lisp 2021-04-01T14:33:09Z Feldman joined #lisp 2021-04-01T14:33:41Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-01T14:33:56Z Feldman quit (Client Quit) 2021-04-01T14:34:21Z madage quit (Ping timeout: 240 seconds) 2021-04-01T14:34:41Z __jrjsmrtn__ quit (Ping timeout: 246 seconds) 2021-04-01T14:36:39Z cage_ joined #lisp 2021-04-01T14:37:15Z __jrjsmrtn__ joined #lisp 2021-04-01T14:44:41Z __jrjsmrtn__ quit (Ping timeout: 240 seconds) 2021-04-01T14:45:26Z Sheilong joined #lisp 2021-04-01T14:46:00Z __jrjsmrtn__ joined #lisp 2021-04-01T14:53:05Z VincentVega joined #lisp 2021-04-01T14:53:15Z VincentVega quit (Client Quit) 2021-04-01T14:57:15Z gzj quit (Read error: Connection reset by peer) 2021-04-01T14:57:36Z gzj joined #lisp 2021-04-01T15:04:09Z ldbeth joined #lisp 2021-04-01T15:05:17Z gzj quit (Remote host closed the connection) 2021-04-01T15:05:38Z gzj joined #lisp 2021-04-01T15:21:06Z ljavorsk quit (Ping timeout: 240 seconds) 2021-04-01T15:23:53Z gzj quit (Ping timeout: 268 seconds) 2021-04-01T15:24:08Z torbo joined #lisp 2021-04-01T15:31:30Z madage joined #lisp 2021-04-01T15:35:42Z ldbeth left #lisp 2021-04-01T15:39:26Z nicktick quit (Ping timeout: 240 seconds) 2021-04-01T15:43:56Z kevingal joined #lisp 2021-04-01T15:46:47Z mindCrime_ joined #lisp 2021-04-01T15:47:06Z kevingal_ quit (Ping timeout: 246 seconds) 2021-04-01T15:56:04Z bitmapper joined #lisp 2021-04-01T16:04:26Z fourier quit (Ping timeout: 240 seconds) 2021-04-01T16:07:41Z VincentVega joined #lisp 2021-04-01T16:12:59Z kevingal quit (Remote host closed the connection) 2021-04-01T16:27:03Z VincentVega quit (Quit: Connection closed) 2021-04-01T16:28:08Z ljavorsk joined #lisp 2021-04-01T16:49:05Z zaquest quit (Read error: Connection reset by peer) 2021-04-01T16:49:36Z zaquest joined #lisp 2021-04-01T16:50:14Z gitgood joined #lisp 2021-04-01T16:56:57Z judson_ joined #lisp 2021-04-01T16:58:10Z Feldman joined #lisp 2021-04-01T17:02:01Z rodriga: hmm is there a more active Lisp group? also has anybody here bet their career on Lisp/Clojure/functional? What projects and information would you guys recommend if you want to one day be a professional hacker building "compilers" and eDSLs. 2021-04-01T17:02:51Z ljavorsk quit (Ping timeout: 260 seconds) 2021-04-01T17:03:46Z mindCrime_ quit (Ping timeout: 268 seconds) 2021-04-01T17:06:33Z hendursa1 quit (Remote host closed the connection) 2021-04-01T17:07:02Z hendursa1 joined #lisp 2021-04-01T17:08:27Z Shinmera: I am betting my career on Lisp right this second. 2021-04-01T17:08:34Z Shinmera: and also previous seconds 2021-04-01T17:13:18Z Xach: rodriga: there is a discord lisp discussion channel that seems active, i don't know if it's more or less active than #lisp 2021-04-01T17:13:48Z Xach: rodriga: i think a number of people here write common lisp code as a career 2021-04-01T17:15:49Z sp41 joined #lisp 2021-04-01T17:17:16Z rodriga: sorry if this sounds like a dumb question but how would you get a job or internship in Lisp? seems here locally its not very popular. did you guys network by first getting remote open source projects, internships, etc...? i've read On Lisp & SCIP. 2021-04-01T17:17:47Z Shinmera: I am self-employed, so the hiring process was very easy :) 2021-04-01T17:19:00Z Xach: rodriga: i liked using lisp but it was not formally part of my programming job in the past. i used common lisp to prototype things quickly and to implement internal tools where the implementation language wasn't all that critical. i also wrote a lot of code and shared it as i made my own hobby projects in common lisp. i went to conferences and chatted and emailed with people using lisp. over time i got into 2021-04-01T17:19:05Z Xach: some jobs where lisp was the main thing. 2021-04-01T17:22:23Z Xach: I don't have advice for someone starting today, sorry - the world has changed a lot since i got started. I don't know if the same approach would work starting now. 2021-04-01T17:22:48Z gabc: Conferences for one is a big more awkward today :P 2021-04-01T17:23:11Z Cthulhux quit (Changing host) 2021-04-01T17:23:11Z Cthulhux joined #lisp 2021-04-01T17:23:33Z rodriga: are there remote conferences with a good amount of socializing? Hmm, I've made lots of projects but I never bothered to blog about them. Hmm I remember that in a few lines of code if you turned clojure code from parens into and
you could then style clojure code to look however you wanted without changing the underlying s-exprs. 2021-04-01T17:23:36Z Xach: When I was getting into learning Common Lisp, there were multiple annual international conferences, and many regional enthusiast meetings. It's really dropped off a lot since then. 2021-04-01T17:24:42Z alandipert: otoh, programmers have never been in higher demand, and information has never been as accessible 2021-04-01T17:26:06Z Shinmera: ELS is coming up soon though 2021-04-01T17:26:11Z rodriga: yeah, but it seems that a lot of the in demand jobs are for technology that won't last long 2021-04-01T17:27:59Z rodriga: ELS? 2021-04-01T17:28:36Z Shinmera: https://www.european-lisp-symposium.org 2021-04-01T17:30:36Z rodriga: after reading SCIP and On Lisp and thinking about weird things like modifying Eval or Macros, I'm think Lisp is the most powerful language, and its the easiest to change your program from doing one thing to another. 2021-04-01T17:31:34Z Xach: rodriga: keep reading, there's a lot more interesting stuff. 2021-04-01T17:31:45Z Shinmera: Power is a silly concept, but I'm glad you're enjoying your time. 2021-04-01T17:31:54Z Xach: Paradigms of AI Programming is an interesting lisp that will teach you some nice Common Lisp stuff 2021-04-01T17:32:26Z rodriga: i did skim that book already haha 2021-04-01T17:34:30Z rodriga: trying to think how can I network myself into an internship or entry-level lisp job? 2021-04-01T17:34:56Z wsinatra quit (Ping timeout: 246 seconds) 2021-04-01T17:35:09Z Shinmera: Contribute to open source, get your name out there. 2021-04-01T17:35:31Z Shinmera: Submit papers to ELS, help folks out in IRC here. 2021-04-01T17:36:14Z wsinatra joined #lisp 2021-04-01T17:36:51Z Shinmera: Wouldn't expect anything for years though unless you get super lucky or start a company yourself. 2021-04-01T17:37:45Z pjb: rodriga: send your resume to lisp companies. eg. https://www.ravenpack.com/careers/ 2021-04-01T17:39:29Z Josh_2: Xach: in vecto is there a way to compose colours or calculate the colours of overlaps? 2021-04-01T17:39:42Z rodriga: well do you guys have any interesting projects i can help with? There was this LightTable like plugin for emacs, and I was thinking if anybody finds those kind of environments productive (compared to Slime). 2021-04-01T17:41:19Z pjb: rodriga: take any CL project in gitlab or github and check the issues. Alternatively http://www.metamodular.net/Common-Lisp/suggested-projects.html 2021-04-01T17:41:55Z pjb: rodriga: you can also start from the systems in quicklisp, some need maintenance or documentation. 2021-04-01T17:42:12Z Shinmera: rodriga: Sure. I have a game engine https://github.com/shirakumo/trial and a UI toolkit project https://github.com/shirakumo/alloy that could use a lot of work. 2021-04-01T17:43:35Z jeosol quit (Quit: Connection closed) 2021-04-01T17:44:06Z rodriga: oh yeah i clicked that link and it says something about a library for writing GUIs, I was thinking what if you could take all your Lisp code functions and it could take the code and automatically create a (bad) GUI for scaffolding 2021-04-01T17:46:34Z rodriga: wait someone probably has already thought of that, rails creates scaffolds from your model, maybe they got the idea form somewhere else 2021-04-01T17:51:08Z rodriga: Shinmera: I wouldn't know where to start to learn your engine, hmm 2021-04-01T17:51:25Z Shinmera: Well, a tutorial is one of the things we're currently lacking :) 2021-04-01T17:51:52Z wsinatra quit (Ping timeout: 268 seconds) 2021-04-01T17:51:55Z Shinmera: The other devs and I hang out in #shirakumo on Freenode here to discuss the development of it and questions surrounding it, if you want to lurk. 2021-04-01T17:53:48Z frgo quit 2021-04-01T17:54:14Z wsinatra joined #lisp 2021-04-01T17:55:50Z rodriga: Shinmera: sou ieba nihonjin desuka? mae ni nihongo nourroku shiken N2 ni gougaku shitandesukedo... 2021-04-01T17:58:31Z Shinmera: 日本人じゃないですけどちょっと話します。名前は偶然ですよ。 2021-04-01T17:58:39Z Shinmera: Anyway, let's keep it to English here. 2021-04-01T17:59:10Z jeosol joined #lisp 2021-04-01T18:01:57Z Josh_2: Today I learned why its important to use (defvar ..) over defparameter 2021-04-01T18:02:19Z Josh_2: When I deleted some stored data for over 50 users 2021-04-01T18:02:31Z kevingal joined #lisp 2021-04-01T18:02:32Z Josh_2: luckily I had it backed up 2021-04-01T18:03:19Z Josh_2: Well tbf if I hadn't made the variable an empty hash table then it would have overwritten by backup as well 2021-04-01T18:05:44Z rodriga: oh yeah in python, I once had a bug when a long class that redefined a method 2021-04-01T18:08:35Z frgo joined #lisp 2021-04-01T18:09:11Z grumble quit (Killed (Fuchs (♥ you))) 2021-04-01T18:09:48Z Josh_2: I love being saved by an (unless 2021-04-01T18:09:50Z grumble joined #lisp 2021-04-01T18:10:26Z edgar-rft: famous last words: (unless ... 2021-04-01T18:12:29Z semz: Is there a nice way to set *print-length* only for the representations in Slime? I don't want to set it globally but am rather sick of slowing Emacs down to a crawl whenever a returned list is large. 2021-04-01T18:12:41Z rodriga: oh yeah is Emacs sorf of like a Lisp OS like Smalltalk's Pharo? How hard is it to build a compatibility layer that can convet Emacls Lisp code to Common Lisp and Common Lisp code to Emacs Lisp? 2021-04-01T18:13:35Z jackdaniel: elisp has a package "imitating" common lisp 2021-04-01T18:15:13Z ukari quit (Remote host closed the connection) 2021-04-01T18:16:14Z ukari joined #lisp 2021-04-01T18:16:21Z pjb: semz: yes. In swank. 2021-04-01T18:16:57Z pjb: semz: https://github.com/informatimago/rc/blob/master/swank.lisp 2021-04-01T18:17:43Z pjb: semz: this is my ~/.swank.lisp rc file. 2021-04-01T18:18:10Z sauvin quit (Remote host closed the connection) 2021-04-01T18:18:19Z Inline joined #lisp 2021-04-01T18:18:27Z pjb: rodriga: there's an emacs-cl CL implementation targetting emacs lisp that has bit-rotten since GNU emacs has lexical bindings. You could update it. 2021-04-01T18:18:41Z pjb: rodriga: https://github.com/larsbrinkhoff/emacs-cl 2021-04-01T18:18:48Z pjb: fork, patch, send PR. 2021-04-01T18:19:56Z semz: pjb: neat! 2021-04-01T18:30:44Z amb007 quit (Read error: Connection reset by peer) 2021-04-01T18:31:27Z amb007 joined #lisp 2021-04-01T18:38:45Z cosimone quit (Remote host closed the connection) 2021-04-01T18:59:05Z cage_ quit (Quit: Leaving) 2021-04-01T18:59:15Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-01T19:00:52Z rodriga: does lisp have something like haskell's papers? its a good way to learn new new cutting edge programming techniques. 2021-04-01T19:01:25Z Josh_2: cutting edge? seems to me the "cutting edge" is just recycled Lisp techniques 2021-04-01T19:01:32Z Josh_2: seems to be my impression 2021-04-01T19:03:45Z rodriga: where are these Lisp techniques written? 2021-04-01T19:03:55Z Josh_2: In the source code folks write 2021-04-01T19:05:08Z rodriga: but isn't Lisp source like an embedded DSL? trying to reverse engineer a DSL can be hard? 2021-04-01T19:05:19Z Josh_2: No 2021-04-01T19:05:37Z Josh_2: maybe in racket 2021-04-01T19:05:38Z rodriga: whats the best written lisp code in your opinion? 2021-04-01T19:05:56Z Josh_2: Gosh I don't know, maybe you should read PAIP 2021-04-01T19:06:24Z Josh_2: Or practical common lisp 2021-04-01T19:07:14Z Bike: most lisp source is not an embedded DSL, it's just code 2021-04-01T19:07:23Z Bike: most of the macros people define are pretty simple and easy to understand 2021-04-01T19:07:39Z hiroaki quit (Ping timeout: 246 seconds) 2021-04-01T19:07:49Z Bike: things like LOOP that are there own language do exist, but they're not the majority of any program 2021-04-01T19:07:52Z Bike: their own* 2021-04-01T19:10:05Z rodriga: i see. 2021-04-01T19:14:16Z galex-713 quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-01T19:14:27Z contrapunctus left #lisp 2021-04-01T19:14:55Z Feldman joined #lisp 2021-04-01T19:14:55Z aartaka quit (Read error: Connection reset by peer) 2021-04-01T19:15:37Z Feldman quit (Client Quit) 2021-04-01T19:16:14Z galex-713 joined #lisp 2021-04-01T19:16:40Z Feldman joined #lisp 2021-04-01T19:16:43Z contrapunctus joined #lisp 2021-04-01T19:18:06Z Feldman quit (Client Quit) 2021-04-01T19:19:45Z hiroaki joined #lisp 2021-04-01T19:21:23Z Feldman joined #lisp 2021-04-01T19:25:28Z terpri quit (Quit: Leaving) 2021-04-01T19:26:42Z bjorkintosh quit (Quit: Leaving) 2021-04-01T19:27:12Z terpri joined #lisp 2021-04-01T19:33:24Z anticrisis joined #lisp 2021-04-01T19:34:01Z karlosz joined #lisp 2021-04-01T19:34:18Z bjorkintosh joined #lisp 2021-04-01T19:41:21Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-01T19:45:17Z Lord_of_Life_ joined #lisp 2021-04-01T19:46:35Z Lord_of_Life quit (Ping timeout: 268 seconds) 2021-04-01T19:48:21Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-01T20:01:12Z CrazyEddy joined #lisp 2021-04-01T20:02:14Z keeperasmexcalib is now known as Programmosaurus 2021-04-01T20:11:10Z rodriga quit (Ping timeout: 265 seconds) 2021-04-01T20:13:06Z White_Flame: rodriga: usually, the macro-based customization of CL is focused around creating the proper abstractions for your codebase, which just gives a few enhancements and interacts well with CL in a very readable way, not it's own completely separate languages 2021-04-01T20:14:26Z White_Flame: ...swing and a miss 2021-04-01T20:17:20Z Josh_2: Does anyone know what stream log4cl uses? 2021-04-01T20:24:58Z mindCrime_ joined #lisp 2021-04-01T20:27:12Z jackdaniel: what do you mean? 2021-04-01T20:27:47Z jackdaniel: clearly since there are multiple appenders it uses multiple streams 2021-04-01T20:28:02Z kevingal_ joined #lisp 2021-04-01T20:28:30Z kevingal quit (Ping timeout: 246 seconds) 2021-04-01T20:31:56Z Josh_2: Yes, basically the old functionality just locally bound *standard-output* so that I could grab the output and send it over a socket, but then I swapped my logging system to log4cl and this obviously broke 2021-04-01T20:32:00Z kevingal_ quit (Read error: Connection timed out) 2021-04-01T20:33:07Z Feldman joined #lisp 2021-04-01T20:33:15Z kevingal joined #lisp 2021-04-01T20:35:55Z gxt quit (Remote host closed the connection) 2021-04-01T20:36:22Z gxt joined #lisp 2021-04-01T20:36:23Z mfiano: This isn't an answer, but perhaps try verbose. 2021-04-01T20:36:30Z mfiano: (I Like it better) 2021-04-01T20:38:55Z jackdaniel: you will need to check that in the source code, but if I remember correctly the appender protocol consists of a single method 2021-04-01T20:39:18Z jackdaniel: so it is enough to implement it for your stream and add the appender 2021-04-01T20:39:42Z jackdaniel: then (log:/message-function/ ,@message) will use it 2021-04-01T20:40:28Z jackdaniel: that said, from what you have said you expect it to intercept messages to the standard output - that's not how log4cl works 2021-04-01T20:41:43Z Nilby quit (Ping timeout: 258 seconds) 2021-04-01T20:43:15Z pve quit (Quit: leaving) 2021-04-01T20:48:52Z Lord_of_Life quit (Ping timeout: 265 seconds) 2021-04-01T20:49:46Z shka_ quit (Ping timeout: 240 seconds) 2021-04-01T20:52:23Z Josh_2: Verbose is a logging tool mfiano? 2021-04-01T20:52:27Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-01T20:52:49Z mfiano: Yes 2021-04-01T20:53:39Z nckx is now known as Thunderbi 2021-04-01T21:09:18Z narimiran quit (Ping timeout: 240 seconds) 2021-04-01T21:10:01Z curtosis joined #lisp 2021-04-01T21:20:29Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-01T21:24:00Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-01T21:25:43Z greaser|q quit (Changing host) 2021-04-01T21:25:43Z greaser|q joined #lisp 2021-04-01T21:25:47Z greaser|q is now known as GreaseMonkey 2021-04-01T21:29:45Z akoana joined #lisp 2021-04-01T21:32:36Z curtosis is now known as curtosis[away] 2021-04-01T21:37:26Z orivej quit (Ping timeout: 240 seconds) 2021-04-01T21:41:22Z Xach: stylewarning: is there a new magicl release coming? 2021-04-01T21:41:30Z stux|RC quit (Read error: Connection reset by peer) 2021-04-01T21:41:47Z phoe: Xach: did the last change to magicl not fix the build? 2021-04-01T21:42:07Z phoe: asking because I was kind of involved in it 2021-04-01T21:42:08Z Xach: phoe: I don't think it was tagged as a release on github. at least as of early this morning. 2021-04-01T21:42:12Z phoe: oh! yes, I see 2021-04-01T21:42:19Z Xach: that is the version i use for magicl 2021-04-01T21:42:51Z Xach: Josh_2: the color composition is not exposed directly. 2021-04-01T21:43:02Z Xach: Josh_2: the math is there for perusal in the code if you like, though. 2021-04-01T21:43:45Z seisatsu_ quit (Ping timeout: 246 seconds) 2021-04-01T21:43:54Z nikolayclfx quit (Quit: Ping timeout (120 seconds)) 2021-04-01T21:44:12Z stux|RC joined #lisp 2021-04-01T21:44:54Z agam_b[m] joined #lisp 2021-04-01T21:44:59Z Feldman joined #lisp 2021-04-01T21:46:18Z Feldman quit (Client Quit) 2021-04-01T21:46:38Z seisatsu joined #lisp 2021-04-01T21:47:49Z cchristiansen joined #lisp 2021-04-01T21:50:30Z judson_ joined #lisp 2021-04-01T21:52:19Z Xach: Josh_2: what did you have in mind? 2021-04-01T22:03:23Z jcowan: Is Trucler intended to be called from user-defined macros? 2021-04-01T22:03:55Z Bike: i think so, since the first example does so 2021-04-01T22:05:41Z OlCe quit (Ping timeout: 240 seconds) 2021-04-01T22:05:47Z jcowan: I confess to not looking at examples when I read specs (they are often misleading or outright wrong in my experience) 2021-04-01T22:06:26Z Bike: well that's all i got. what it's actually been developed for so far is using it in compilers, tho. 2021-04-01T22:06:50Z jcowan: There are a few problematic specs where the examples are normative either de facto or de jure 2021-04-01T22:11:06Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-01T22:13:05Z surabax quit (Quit: Leaving) 2021-04-01T22:15:26Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-01T22:16:30Z judson_ joined #lisp 2021-04-01T22:18:00Z judson_ quit (Client Quit) 2021-04-01T22:18:13Z stylewarning: Xach yes we can re-release 2021-04-01T22:18:38Z judson_ joined #lisp 2021-04-01T22:29:17Z Oddity quit (Quit: Quit) 2021-04-01T22:39:34Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-01T22:42:08Z frgo quit (Remote host closed the connection) 2021-04-01T22:42:34Z frgo joined #lisp 2021-04-01T22:42:45Z rjcks quit (Quit: leaving) 2021-04-01T22:51:51Z Feldman joined #lisp 2021-04-01T22:55:48Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-01T22:58:15Z akoana left #lisp 2021-04-01T22:59:16Z kagevf joined #lisp 2021-04-01T23:02:09Z cipherchess joined #lisp 2021-04-01T23:02:34Z cipherchess: topic 2021-04-01T23:06:41Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-01T23:08:21Z Xach: stylewarning: mycket bra 2021-04-01T23:11:17Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-01T23:14:46Z random-nick quit (Ping timeout: 240 seconds) 2021-04-01T23:20:12Z curtosis joined #lisp 2021-04-01T23:20:13Z curtosis is now known as curtosis[away] 2021-04-01T23:23:11Z jasom: Is there a library that makes a non-seekable stream (somewhat) seekable by adding buffering on top? I'm thinking something that guarantees always allowing seeking back N elements (up to the beginning, where N >> 1 and is possibly configurable) 2021-04-01T23:23:46Z Oladon joined #lisp 2021-04-01T23:26:48Z judson_ joined #lisp 2021-04-01T23:28:16Z mfiano: A Gray stream wrapper for that would be only a couple lines of code not even worth a library 2021-04-01T23:31:16Z Xach: MORE LIBRARIES 2021-04-01T23:34:27Z aindilis quit (Remote host closed the connection) 2021-04-01T23:35:38Z no-defun-allowed: leftpad-stream 2021-04-01T23:36:09Z aindilis joined #lisp 2021-04-01T23:38:09Z aeth_ joined #lisp 2021-04-01T23:40:11Z aeth quit (Ping timeout: 240 seconds) 2021-04-01T23:40:21Z aeth_ is now known as aeth 2021-04-01T23:45:12Z Inline quit (Ping timeout: 246 seconds) 2021-04-01T23:49:26Z dtman34_ quit (Ping timeout: 246 seconds) 2021-04-01T23:52:33Z galex-713 quit (Ping timeout: 246 seconds) 2021-04-01T23:54:19Z rgherdt quit (Ping timeout: 246 seconds) 2021-04-01T23:57:27Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-02T00:00:22Z terpri_ joined #lisp 2021-04-02T00:02:58Z terpri quit (Ping timeout: 258 seconds) 2021-04-02T00:04:00Z zaquest quit (Quit: Leaving) 2021-04-02T00:06:19Z zaquest joined #lisp 2021-04-02T00:15:21Z raeda joined #lisp 2021-04-02T00:18:10Z nicktick joined #lisp 2021-04-02T00:19:02Z circ-user-5Htxo joined #lisp 2021-04-02T00:19:31Z circ-user-5Htxo is now known as unimog 2021-04-02T00:24:01Z unimog quit (Remote host closed the connection) 2021-04-02T00:24:33Z unimog joined #lisp 2021-04-02T00:26:32Z epony quit (Ping timeout: 240 seconds) 2021-04-02T00:28:58Z hendursa1 quit (Quit: hendursa1) 2021-04-02T00:29:50Z hendursaga joined #lisp 2021-04-02T00:33:30Z hiroaki quit (Ping timeout: 246 seconds) 2021-04-02T00:46:28Z luckless joined #lisp 2021-04-02T00:51:24Z rumbler31 joined #lisp 2021-04-02T00:52:58Z Kundry_W_ quit (Remote host closed the connection) 2021-04-02T00:53:33Z Kundry_Wag joined #lisp 2021-04-02T00:58:05Z Kundry_Wag quit (Ping timeout: 260 seconds) 2021-04-02T01:01:00Z kevingal quit (Remote host closed the connection) 2021-04-02T01:05:49Z hiroaki joined #lisp 2021-04-02T01:07:42Z orivej joined #lisp 2021-04-02T01:09:21Z notzmv quit (Ping timeout: 260 seconds) 2021-04-02T01:13:59Z Oladon quit (Quit: Leaving.) 2021-04-02T01:14:48Z hiroaki quit (Ping timeout: 246 seconds) 2021-04-02T01:17:26Z Mezzie joined #lisp 2021-04-02T01:17:35Z Mezzie quit (Client Quit) 2021-04-02T01:17:52Z luckless quit (Remote host closed the connection) 2021-04-02T01:18:15Z luckless joined #lisp 2021-04-02T01:19:45Z rumbler31 quit (Remote host closed the connection) 2021-04-02T01:19:57Z curtosis joined #lisp 2021-04-02T01:25:15Z semz quit (Ping timeout: 250 seconds) 2021-04-02T01:28:13Z Kundry_Wag joined #lisp 2021-04-02T01:28:34Z epony joined #lisp 2021-04-02T01:30:31Z Achylles joined #lisp 2021-04-02T01:32:41Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-02T01:34:47Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-02T01:36:06Z Guest11347 quit (Ping timeout: 240 seconds) 2021-04-02T01:36:32Z bmansurov joined #lisp 2021-04-02T01:38:14Z Sheilong quit 2021-04-02T01:38:59Z semz joined #lisp 2021-04-02T01:38:59Z semz quit (Changing host) 2021-04-02T01:38:59Z semz joined #lisp 2021-04-02T01:55:50Z skapata quit (Remote host closed the connection) 2021-04-02T01:59:14Z frost-lab joined #lisp 2021-04-02T01:59:42Z Kundry_Wag joined #lisp 2021-04-02T02:00:23Z contrapunctus left #lisp 2021-04-02T02:03:25Z contrapunctus joined #lisp 2021-04-02T02:03:52Z ebrasca quit (Remote host closed the connection) 2021-04-02T02:07:53Z ikrabbe|2 joined #lisp 2021-04-02T02:09:21Z akela joined #lisp 2021-04-02T02:09:52Z nullman quit (Remote host closed the connection) 2021-04-02T02:11:15Z ikrabbe quit (Ping timeout: 265 seconds) 2021-04-02T02:12:47Z nullman joined #lisp 2021-04-02T02:15:38Z prxq_ joined #lisp 2021-04-02T02:18:24Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-02T02:19:28Z prxq quit (Ping timeout: 265 seconds) 2021-04-02T02:26:33Z Achylles quit (Ping timeout: 246 seconds) 2021-04-02T02:33:17Z Achylles joined #lisp 2021-04-02T02:35:14Z notzmv joined #lisp 2021-04-02T02:36:29Z long4mud joined #lisp 2021-04-02T02:50:44Z gitgood quit (Ping timeout: 246 seconds) 2021-04-02T02:53:10Z hineios8 joined #lisp 2021-04-02T02:54:16Z hineios quit (Ping timeout: 265 seconds) 2021-04-02T02:54:16Z hineios8 is now known as hineios 2021-04-02T02:58:39Z Oladon joined #lisp 2021-04-02T03:02:07Z Alfr is now known as Guest90764 2021-04-02T03:02:12Z Alfr joined #lisp 2021-04-02T03:04:29Z Guest90764 quit (Ping timeout: 250 seconds) 2021-04-02T03:06:51Z Bike quit (Quit: Lost terminal) 2021-04-02T03:07:58Z beach: Good morning everyone! 2021-04-02T03:12:10Z seok joined #lisp 2021-04-02T03:16:41Z notzmv quit (Ping timeout: 240 seconds) 2021-04-02T03:18:19Z sp41 quit (Remote host closed the connection) 2021-04-02T03:20:21Z rumbler31 joined #lisp 2021-04-02T03:23:17Z akela quit (Remote host closed the connection) 2021-04-02T03:24:46Z rumbler31 quit (Ping timeout: 268 seconds) 2021-04-02T03:30:55Z jasom: mfiano: it's not the number of lines of code, it's how long it takes to write the lines of code. I've written something similar before and I had some subtle bugs with my first implementation. 2021-04-02T03:33:15Z gaqwas joined #lisp 2021-04-02T03:33:56Z gzj joined #lisp 2021-04-02T03:35:19Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-02T03:37:19Z elusive joined #lisp 2021-04-02T03:39:34Z johnjay quit (Ping timeout: 268 seconds) 2021-04-02T03:41:27Z Achylles quit (Ping timeout: 246 seconds) 2021-04-02T03:41:49Z aartaka joined #lisp 2021-04-02T03:48:53Z mindCrime_ quit (Ping timeout: 260 seconds) 2021-04-02T03:52:27Z Kundry_Wag quit (Remote host closed the connection) 2021-04-02T04:01:20Z Oladon quit (Quit: Leaving.) 2021-04-02T04:06:59Z notzmv joined #lisp 2021-04-02T04:07:53Z Kundry_Wag joined #lisp 2021-04-02T04:08:48Z torbo quit (Remote host closed the connection) 2021-04-02T04:12:11Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-02T04:17:03Z toma63 joined #lisp 2021-04-02T04:20:09Z toma63 quit (Client Quit) 2021-04-02T04:30:49Z aeth quit (Ping timeout: 252 seconds) 2021-04-02T04:32:47Z aeth joined #lisp 2021-04-02T04:34:20Z aartaka_d joined #lisp 2021-04-02T04:36:41Z aartaka quit (Ping timeout: 252 seconds) 2021-04-02T04:38:02Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-02T04:38:08Z aartaka joined #lisp 2021-04-02T04:38:09Z skapata joined #lisp 2021-04-02T04:42:22Z Kundry_Wag joined #lisp 2021-04-02T04:46:53Z Kundry_Wag quit (Ping timeout: 265 seconds) 2021-04-02T04:47:36Z matryoshka quit (Ping timeout: 246 seconds) 2021-04-02T05:03:24Z Kundry_Wag joined #lisp 2021-04-02T05:08:21Z Kundry_Wag quit (Ping timeout: 268 seconds) 2021-04-02T05:08:24Z narimiran joined #lisp 2021-04-02T05:18:12Z aartaka quit (Read error: Connection reset by peer) 2021-04-02T05:18:31Z aartaka joined #lisp 2021-04-02T05:19:33Z elusive quit (Quit: Leaving) 2021-04-02T05:27:32Z tempest_nox joined #lisp 2021-04-02T05:29:57Z johnjay joined #lisp 2021-04-02T05:37:55Z Kundry_Wag joined #lisp 2021-04-02T05:38:07Z orivej quit (Ping timeout: 265 seconds) 2021-04-02T05:42:18Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-02T05:44:52Z tempest_nox quit (Remote host closed the connection) 2021-04-02T05:46:27Z sauvin joined #lisp 2021-04-02T06:06:44Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T06:08:44Z bjorkint0sh joined #lisp 2021-04-02T06:10:35Z bjorkintosh quit (Ping timeout: 258 seconds) 2021-04-02T06:31:36Z shka_ joined #lisp 2021-04-02T06:33:52Z karlosz quit (Quit: karlosz) 2021-04-02T06:37:48Z pve joined #lisp 2021-04-02T06:41:07Z gzj quit (Remote host closed the connection) 2021-04-02T06:45:53Z indathrone quit (Quit: Leaving) 2021-04-02T06:47:03Z phantomics_ joined #lisp 2021-04-02T06:50:26Z phantomics quit (Ping timeout: 240 seconds) 2021-04-02T06:54:22Z Lord_of_Life joined #lisp 2021-04-02T06:58:30Z Lycurgus joined #lisp 2021-04-02T07:09:36Z skapata quit (Remote host closed the connection) 2021-04-02T07:13:52Z lottaquestions joined #lisp 2021-04-02T07:15:05Z lottaquestions_ quit (Ping timeout: 252 seconds) 2021-04-02T07:16:09Z surabax joined #lisp 2021-04-02T07:23:16Z midre quit (Ping timeout: 260 seconds) 2021-04-02T07:24:27Z rjcks joined #lisp 2021-04-02T07:25:47Z midre joined #lisp 2021-04-02T07:30:23Z midre quit (Ping timeout: 246 seconds) 2021-04-02T07:32:58Z midre joined #lisp 2021-04-02T07:33:26Z aartaka quit (Read error: Connection reset by peer) 2021-04-02T07:33:32Z aartaka_d joined #lisp 2021-04-02T07:35:45Z phantomics_ quit (Quit: Ex-Chat) 2021-04-02T07:36:05Z phantomics joined #lisp 2021-04-02T07:39:01Z prxq_ quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-02T07:39:18Z prxq joined #lisp 2021-04-02T08:04:16Z rgherdt joined #lisp 2021-04-02T08:04:47Z IPmonger quit (Ping timeout: 250 seconds) 2021-04-02T08:05:46Z IPmonger joined #lisp 2021-04-02T08:06:36Z hendursa1 joined #lisp 2021-04-02T08:08:41Z johnjay quit (Ping timeout: 240 seconds) 2021-04-02T08:08:43Z hendursa1 quit (Remote host closed the connection) 2021-04-02T08:09:04Z hendursa1 joined #lisp 2021-04-02T08:09:33Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-02T08:11:52Z johnjay joined #lisp 2021-04-02T08:12:35Z OlCe joined #lisp 2021-04-02T08:19:52Z random-nick joined #lisp 2021-04-02T08:21:13Z cosimone joined #lisp 2021-04-02T08:33:06Z nicktick quit (Ping timeout: 240 seconds) 2021-04-02T08:37:07Z Major_Biscuit joined #lisp 2021-04-02T08:40:19Z nicktick joined #lisp 2021-04-02T08:46:08Z aeth quit (Ping timeout: 265 seconds) 2021-04-02T08:47:38Z aeth joined #lisp 2021-04-02T08:48:30Z gaqwas quit (Ping timeout: 268 seconds) 2021-04-02T08:48:38Z galex-713 joined #lisp 2021-04-02T08:51:06Z Feldman joined #lisp 2021-04-02T08:53:20Z moon-child: are there guidelines about when to use rplaca/rplacd vs (setf (car/cdr))? 2021-04-02T08:54:14Z beach: Yes, never use the former. 2021-04-02T08:54:39Z moon-child: why? 2021-04-02T08:55:57Z flip214: convention, I guess - and because SETF is much more familiar 2021-04-02T08:56:03Z beach: They have no advantage, and they don't return the object being stored. 2021-04-02T08:56:57Z beach: RPLACA and RPLACD should be considered low-level functions to be used mainly by the person creating the Common Lisp system, just like SETQ. 2021-04-02T08:57:37Z nikolayclfx joined #lisp 2021-04-02T08:58:57Z beach: ... and SYMBOL-FUNCTION, and (SETF SYMBOL-FUNCTION) too. 2021-04-02T09:06:54Z minion quit (Remote host closed the connection) 2021-04-02T09:06:54Z specbot quit (Remote host closed the connection) 2021-04-02T09:10:48Z minion joined #lisp 2021-04-02T09:10:49Z specbot joined #lisp 2021-04-02T09:13:04Z srandon111 joined #lisp 2021-04-02T09:13:58Z nicktick quit (Ping timeout: 240 seconds) 2021-04-02T09:14:57Z anticrisis quit (Read error: Connection reset by peer) 2021-04-02T09:18:17Z Inline joined #lisp 2021-04-02T09:24:48Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T09:25:43Z amb007 joined #lisp 2021-04-02T09:27:59Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T09:28:11Z notzmv quit (Ping timeout: 265 seconds) 2021-04-02T09:28:28Z gitgood joined #lisp 2021-04-02T09:28:33Z amb007 joined #lisp 2021-04-02T09:31:40Z mrchampion quit (Ping timeout: 268 seconds) 2021-04-02T09:33:55Z frost-lab quit (Quit: Connection closed) 2021-04-02T09:38:49Z dilated_dinosaur quit (Ping timeout: 265 seconds) 2021-04-02T09:39:58Z Kundry_Wag joined #lisp 2021-04-02T09:40:04Z dilated_dinosaur joined #lisp 2021-04-02T09:44:37Z Lycurgus quit (Ping timeout: 268 seconds) 2021-04-02T09:45:14Z Kundry_Wag quit (Ping timeout: 268 seconds) 2021-04-02T09:46:20Z mrchampion joined #lisp 2021-04-02T09:49:38Z gitgood quit (Remote host closed the connection) 2021-04-02T09:53:09Z notzmv joined #lisp 2021-04-02T09:59:57Z xsperry joined #lisp 2021-04-02T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-02T10:09:58Z galex-713 quit (Ping timeout: 246 seconds) 2021-04-02T10:10:12Z waleee-cl joined #lisp 2021-04-02T10:10:39Z Inline quit (Ping timeout: 246 seconds) 2021-04-02T10:12:32Z silasfox joined #lisp 2021-04-02T10:13:11Z gitgood joined #lisp 2021-04-02T10:16:53Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T10:17:24Z Feldman joined #lisp 2021-04-02T10:18:33Z MichaelRaskin quit (Ping timeout: 268 seconds) 2021-04-02T10:20:01Z CrazyEddy quit (Quit: Reconnecting) 2021-04-02T10:21:18Z rumbler31 joined #lisp 2021-04-02T10:24:48Z seok: How do I load up projects in home directory in slime ? 2021-04-02T10:24:56Z phoe: seok: make sure ASDF is aware of them 2021-04-02T10:25:10Z phoe: and then asdf:load-system or ql:quickload them 2021-04-02T10:25:12Z seok: it worked before, it stopped working 2021-04-02T10:25:25Z seok: make sure ASDF is aware of them < how do I do this ? 2021-04-02T10:25:56Z rumbler31 quit (Ping timeout: 268 seconds) 2021-04-02T10:26:06Z phoe: ensure that a pathname to your project folder is present in asdf:*central-registry* 2021-04-02T10:27:02Z seok: asdf:*central-registry* only has ~/.quicklisp/quicklisp/ 2021-04-02T10:27:05Z seok: is this normal? 2021-04-02T10:28:38Z splittist: seok: have you read https://www.common-lisp.net/project/asdf/asdf.html#Configuring-ASDF ? 2021-04-02T10:28:48Z seok: nope 2021-04-02T10:29:17Z seok: adding #P"/home/user/" doesn't seem to help 2021-04-02T10:29:37Z seok: It was working fine before, but it stopped working for unknown reason 2021-04-02T10:30:02Z seok: the link is dead by the way, I'll search it up 2021-04-02T10:32:07Z phoe: the link works for me 2021-04-02T10:33:04Z seok: nope not for me 2021-04-02T10:33:42Z galex-713 joined #lisp 2021-04-02T10:36:44Z vegansbane6963 joined #lisp 2021-04-02T10:37:44Z seok: i moved my project to ~/.quicklisp/local-projects/ and it works 2021-04-02T10:38:07Z specbot quit (Remote host closed the connection) 2021-04-02T10:38:07Z minion quit (Remote host closed the connection) 2021-04-02T10:39:51Z aartaka_d quit (Ping timeout: 260 seconds) 2021-04-02T10:41:02Z frgo quit (Remote host closed the connection) 2021-04-02T10:41:27Z frgo joined #lisp 2021-04-02T10:41:35Z aartaka joined #lisp 2021-04-02T10:45:41Z aeth quit (Ping timeout: 260 seconds) 2021-04-02T10:47:17Z aeth joined #lisp 2021-04-02T10:49:25Z MetaYan: phoe: seok: common-lisp.net is unreachable for me as well. 2021-04-02T10:49:42Z phantomics_ joined #lisp 2021-04-02T10:51:45Z OlCe quit (Remote host closed the connection) 2021-04-02T10:53:16Z phantomics quit (Ping timeout: 260 seconds) 2021-04-02T10:55:42Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T10:55:54Z amb007 joined #lisp 2021-04-02T10:56:50Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T11:02:18Z hendursa1 quit (Remote host closed the connection) 2021-04-02T11:02:42Z hendursa1 joined #lisp 2021-04-02T11:07:02Z pjb: moon-child: rplaca is a function; (setf car) is a function too. (let ((cs (list (cons nil nil) (cons nil nil)))) (values (mapc #'rplaca cs '(1 2)) (mapc #'(setf cdr) '(44 55) cs))) #| --> ((1 . 44) (2 . 55)) ; (44 55) |# your choice. 2021-04-02T11:08:07Z no-defun-allowed: Nope, Clozure does not implement (setf cdr) as a function, and that is allowed somewhere in the standard. 2021-04-02T11:09:37Z no-defun-allowed: (setf getf) would most likely not be a function, for example, as it might push a new property into the place without modifying list structure. 2021-04-02T11:09:56Z Feldman joined #lisp 2021-04-02T11:11:05Z pjb: moon-child: however, it looks like (function (setf car)) is not conforming: implementations could have no such function, and just hack setf, like for defstruct accessors. 2021-04-02T11:11:39Z leo_song_: https://common-lisp.net/ is dead? 2021-04-02T11:12:03Z phoe: DHCP issues 2021-04-02T11:12:04Z no-defun-allowed: pjb: Say something once, why say it again? 2021-04-02T11:12:11Z pjb: moon-child: https://termbin.com/27m4 ; so you can see that you have to use rplaca when you need a function. 2021-04-02T11:12:30Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-02T11:14:51Z leo_song_: :-( 2021-04-02T11:20:23Z narimiran quit (Ping timeout: 252 seconds) 2021-04-02T11:22:06Z hiroaki joined #lisp 2021-04-02T11:23:36Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T11:26:46Z Inline joined #lisp 2021-04-02T11:33:18Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T11:34:07Z amb007 joined #lisp 2021-04-02T11:35:07Z Feldman joined #lisp 2021-04-02T11:35:54Z Feldman quit (Client Quit) 2021-04-02T11:36:42Z Feldman joined #lisp 2021-04-02T11:38:14Z Kundry_Wag joined #lisp 2021-04-02T11:38:22Z Feldman quit (Client Quit) 2021-04-02T11:40:11Z MichaelRaskin joined #lisp 2021-04-02T11:43:02Z Kundry_Wag quit (Ping timeout: 268 seconds) 2021-04-02T11:43:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T11:43:55Z amb007 joined #lisp 2021-04-02T11:45:08Z aindilis quit (Remote host closed the connection) 2021-04-02T11:45:08Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T11:45:42Z amb007 joined #lisp 2021-04-02T11:45:57Z aindilis` joined #lisp 2021-04-02T11:57:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T11:57:51Z amb007 joined #lisp 2021-04-02T11:57:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T11:58:02Z amb007 joined #lisp 2021-04-02T11:59:48Z Bike joined #lisp 2021-04-02T11:59:56Z kevingal joined #lisp 2021-04-02T12:00:37Z Kundry_Wag joined #lisp 2021-04-02T12:02:42Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:03:53Z amb007 joined #lisp 2021-04-02T12:08:36Z ebrasca joined #lisp 2021-04-02T12:13:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:13:49Z amb007 joined #lisp 2021-04-02T12:13:50Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:14:04Z amb007 joined #lisp 2021-04-02T12:14:39Z aartaka quit (Ping timeout: 252 seconds) 2021-04-02T12:15:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:15:10Z minion joined #lisp 2021-04-02T12:15:12Z specbot joined #lisp 2021-04-02T12:15:23Z amb007 joined #lisp 2021-04-02T12:15:23Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:15:24Z aartaka joined #lisp 2021-04-02T12:15:37Z amb007 joined #lisp 2021-04-02T12:15:59Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:16:12Z amb007 joined #lisp 2021-04-02T12:16:13Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:16:46Z Helmholtz quit (Quit: Helmholtz) 2021-04-02T12:17:59Z amb007 joined #lisp 2021-04-02T12:19:46Z aartaka quit (Ping timeout: 265 seconds) 2021-04-02T12:22:21Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:22:57Z amb007 joined #lisp 2021-04-02T12:23:41Z Achylles joined #lisp 2021-04-02T12:25:05Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:25:28Z amb007 joined #lisp 2021-04-02T12:25:29Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:25:48Z amb007 joined #lisp 2021-04-02T12:26:06Z minion quit (Read error: No route to host) 2021-04-02T12:26:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:26:10Z specbot quit (Read error: No route to host) 2021-04-02T12:26:43Z minion joined #lisp 2021-04-02T12:26:44Z specbot joined #lisp 2021-04-02T12:27:03Z amb007 joined #lisp 2021-04-02T12:27:09Z minion quit (Remote host closed the connection) 2021-04-02T12:27:09Z specbot quit (Remote host closed the connection) 2021-04-02T12:27:46Z gaqwas joined #lisp 2021-04-02T12:27:46Z gaqwas quit (Changing host) 2021-04-02T12:27:46Z gaqwas joined #lisp 2021-04-02T12:28:41Z Kundry_Wag quit (Remote host closed the connection) 2021-04-02T12:28:42Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:29:07Z amb007 joined #lisp 2021-04-02T12:29:31Z minion joined #lisp 2021-04-02T12:29:33Z specbot joined #lisp 2021-04-02T12:30:40Z aartaka joined #lisp 2021-04-02T12:31:22Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:32:33Z amb007 joined #lisp 2021-04-02T12:32:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:32:48Z amb007 joined #lisp 2021-04-02T12:34:09Z cchristiansen quit (Remote host closed the connection) 2021-04-02T12:35:26Z Major_Biscuit quit (Ping timeout: 240 seconds) 2021-04-02T12:35:27Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:35:56Z amb007 joined #lisp 2021-04-02T12:35:56Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:36:12Z amb007 joined #lisp 2021-04-02T12:38:08Z minion quit (Ping timeout: 265 seconds) 2021-04-02T12:38:09Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:38:32Z specbot quit (Ping timeout: 268 seconds) 2021-04-02T12:38:59Z amb007 joined #lisp 2021-04-02T12:39:58Z specbot joined #lisp 2021-04-02T12:39:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:39:58Z minion joined #lisp 2021-04-02T12:40:23Z aartaka quit (Ping timeout: 268 seconds) 2021-04-02T12:40:53Z amb007 joined #lisp 2021-04-02T12:42:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T12:43:12Z amb007 joined #lisp 2021-04-02T12:46:44Z aartaka joined #lisp 2021-04-02T12:51:42Z vutral_ joined #lisp 2021-04-02T13:00:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T13:01:00Z rumbler31 joined #lisp 2021-04-02T13:01:17Z amb007 joined #lisp 2021-04-02T13:03:08Z orivej joined #lisp 2021-04-02T13:03:09Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T13:04:12Z amb007 joined #lisp 2021-04-02T13:04:30Z kevingal_ joined #lisp 2021-04-02T13:04:41Z matryoshka joined #lisp 2021-04-02T13:05:18Z kevingal quit (Ping timeout: 246 seconds) 2021-04-02T13:06:12Z nicktick joined #lisp 2021-04-02T13:10:11Z rumbler31 quit (Remote host closed the connection) 2021-04-02T13:13:56Z rumbler31 joined #lisp 2021-04-02T13:14:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T13:14:19Z wsinatra joined #lisp 2021-04-02T13:14:47Z amb007 joined #lisp 2021-04-02T13:15:42Z shka_ quit (Quit: Konversation terminated!) 2021-04-02T13:17:06Z fox_ joined #lisp 2021-04-02T13:17:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T13:17:21Z amb007 joined #lisp 2021-04-02T13:18:37Z shka_ joined #lisp 2021-04-02T13:18:58Z curtosis joined #lisp 2021-04-02T13:19:49Z silasfox quit (Ping timeout: 250 seconds) 2021-04-02T13:19:57Z curtosis is now known as curtosis[away] 2021-04-02T13:21:22Z curtosis[away] is now known as curtosis 2021-04-02T13:24:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T13:25:52Z amb007 joined #lisp 2021-04-02T13:27:38Z Lycurgus joined #lisp 2021-04-02T13:27:56Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T13:28:02Z amb007 joined #lisp 2021-04-02T13:28:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T13:28:17Z amb007 joined #lisp 2021-04-02T13:28:17Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T13:28:36Z amb007 joined #lisp 2021-04-02T13:30:53Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T13:31:57Z amb007 joined #lisp 2021-04-02T13:34:12Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T13:34:57Z amb007 joined #lisp 2021-04-02T13:36:56Z Major_Biscuit joined #lisp 2021-04-02T13:37:06Z orivej quit (Ping timeout: 240 seconds) 2021-04-02T13:46:50Z supercoven joined #lisp 2021-04-02T13:46:51Z supercoven quit (Max SendQ exceeded) 2021-04-02T13:47:05Z supercoven joined #lisp 2021-04-02T13:47:06Z supercoven quit (Max SendQ exceeded) 2021-04-02T13:47:20Z supercoven joined #lisp 2021-04-02T13:47:21Z supercoven quit (Max SendQ exceeded) 2021-04-02T13:47:35Z supercoven joined #lisp 2021-04-02T13:47:36Z supercoven quit (Max SendQ exceeded) 2021-04-02T13:47:50Z supercoven joined #lisp 2021-04-02T13:47:51Z supercoven quit (Max SendQ exceeded) 2021-04-02T13:49:56Z sp41 joined #lisp 2021-04-02T13:59:05Z Feldman joined #lisp 2021-04-02T14:04:35Z aartaka_d joined #lisp 2021-04-02T14:07:04Z fox_ quit (Ping timeout: 265 seconds) 2021-04-02T14:08:31Z aartaka quit (Ping timeout: 265 seconds) 2021-04-02T14:08:41Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-02T14:10:40Z curtosis is now known as curtosis[away] 2021-04-02T14:11:10Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-02T14:14:06Z Major_Biscuit quit (Ping timeout: 240 seconds) 2021-04-02T14:24:03Z curtosis joined #lisp 2021-04-02T14:27:07Z rumbler31 quit (Remote host closed the connection) 2021-04-02T14:28:14Z aartaka joined #lisp 2021-04-02T14:28:41Z Lycurgus quit (Ping timeout: 240 seconds) 2021-04-02T14:30:13Z cage_ joined #lisp 2021-04-02T14:34:33Z Sheilong joined #lisp 2021-04-02T14:35:41Z nicktick quit (Ping timeout: 240 seconds) 2021-04-02T14:41:30Z nicktick joined #lisp 2021-04-02T14:42:02Z galex-713 quit (Quit: No Ping reply in 180 seconds.) 2021-04-02T14:42:04Z kam1 joined #lisp 2021-04-02T14:43:26Z galex-713 joined #lisp 2021-04-02T14:44:27Z kam1 quit (Read error: Connection reset by peer) 2021-04-02T14:46:11Z nicktick quit (Ping timeout: 268 seconds) 2021-04-02T14:49:42Z prxq quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-02T14:53:41Z curtosis is now known as curtosis[away] 2021-04-02T14:54:03Z kam1 joined #lisp 2021-04-02T14:54:27Z kam1 quit (Client Quit) 2021-04-02T14:54:43Z kam1 joined #lisp 2021-04-02T14:55:45Z contrapunctus quit (Ping timeout: 258 seconds) 2021-04-02T15:00:06Z hiroaki quit (Ping timeout: 246 seconds) 2021-04-02T15:01:09Z kam1 quit (Read error: Connection reset by peer) 2021-04-02T15:02:47Z nicktick joined #lisp 2021-04-02T15:08:12Z Major_Biscuit joined #lisp 2021-04-02T15:11:58Z hiroaki joined #lisp 2021-04-02T15:13:14Z sjl joined #lisp 2021-04-02T15:14:39Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T15:16:10Z judson_ joined #lisp 2021-04-02T15:18:57Z Feldman joined #lisp 2021-04-02T15:21:11Z nicktick quit (Ping timeout: 240 seconds) 2021-04-02T15:24:35Z rumbler31 joined #lisp 2021-04-02T15:27:45Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-02T15:28:12Z nicktick joined #lisp 2021-04-02T15:29:14Z rumbler31 quit (Ping timeout: 265 seconds) 2021-04-02T15:29:27Z skapata joined #lisp 2021-04-02T15:31:08Z vutral_ quit (Quit: Connection closed for inactivity) 2021-04-02T15:36:18Z dilated_dinosaur quit (Ping timeout: 240 seconds) 2021-04-02T15:38:43Z dilated_dinosaur joined #lisp 2021-04-02T15:42:30Z mindCrime_ joined #lisp 2021-04-02T15:45:23Z Noisytoot left #lisp 2021-04-02T15:46:25Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T15:47:39Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T15:47:41Z dilated_dinosaur quit (Ping timeout: 240 seconds) 2021-04-02T15:49:40Z dilated_dinosaur joined #lisp 2021-04-02T15:49:53Z logand joined #lisp 2021-04-02T15:52:24Z fox_ joined #lisp 2021-04-02T15:52:34Z kam1 joined #lisp 2021-04-02T15:53:04Z kam1 quit (Read error: Connection reset by peer) 2021-04-02T15:54:40Z judson_ joined #lisp 2021-04-02T15:54:48Z Feldman joined #lisp 2021-04-02T15:55:38Z eden joined #lisp 2021-04-02T16:00:20Z kam1 joined #lisp 2021-04-02T16:01:00Z kam1 quit (Read error: Connection reset by peer) 2021-04-02T16:02:39Z dilated_dinosaur quit (Ping timeout: 268 seconds) 2021-04-02T16:03:02Z seok quit (Quit: Connection closed) 2021-04-02T16:04:03Z Noisytoot joined #lisp 2021-04-02T16:07:43Z curtosis joined #lisp 2021-04-02T16:13:25Z kam1 joined #lisp 2021-04-02T16:14:45Z kam1 quit (Read error: Connection reset by peer) 2021-04-02T16:20:17Z aartaka quit (Read error: Connection reset by peer) 2021-04-02T16:20:22Z aartaka_d joined #lisp 2021-04-02T16:21:29Z kam1 joined #lisp 2021-04-02T16:22:25Z fox_ is now known as silasfox 2021-04-02T16:25:26Z kam1 quit (Read error: Connection reset by peer) 2021-04-02T16:28:26Z MrtnDk[m]: rpg: Which Travis pulled the plug on Cl on GitHub? 2021-04-02T16:31:38Z andreyorst quit (Ping timeout: 240 seconds) 2021-04-02T16:33:15Z emacsomancer quit (Read error: Connection reset by peer) 2021-04-02T16:33:56Z emacsomancer joined #lisp 2021-04-02T16:36:11Z Major_Biscuit quit (Quit: WeeChat 3.0.1) 2021-04-02T16:36:11Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-02T16:36:25Z emacsomancer quit (Excess Flood) 2021-04-02T16:36:25Z aartaka joined #lisp 2021-04-02T16:36:58Z emacsomancer joined #lisp 2021-04-02T16:39:40Z aartaka_d joined #lisp 2021-04-02T16:40:07Z aindilis` quit (Remote host closed the connection) 2021-04-02T16:40:40Z varjag joined #lisp 2021-04-02T16:40:53Z MrtnDk[m]: minion: memo for jcowan: I wonder what "idiotic mysticism" is then. Can thou please elaborate on that phrase, please, thank you. 2021-04-02T16:40:54Z minion: Remembered. I'll tell jcowan when he/she/it next speaks. 2021-04-02T16:43:03Z aartaka quit (Ping timeout: 252 seconds) 2021-04-02T16:43:27Z beach: Where did you see that phrase? A search did not find it. 2021-04-02T16:43:35Z beach: Maybe in some other channel? 2021-04-02T16:49:22Z andreyorst joined #lisp 2021-04-02T16:49:31Z zaquest quit (Read error: Connection reset by peer) 2021-04-02T16:49:59Z zaquest joined #lisp 2021-04-02T16:50:38Z Lycurgus joined #lisp 2021-04-02T16:50:40Z dilated_dinosaur joined #lisp 2021-04-02T17:01:12Z cosimone quit (Remote host closed the connection) 2021-04-02T17:01:28Z cosimone joined #lisp 2021-04-02T17:03:20Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T17:05:33Z mfiano: It was a couple days ago in ##Lisp. jcowan was unhappy with the Lisp community. 2021-04-02T17:11:04Z karlosz joined #lisp 2021-04-02T17:11:18Z Nicolas88 joined #lisp 2021-04-02T17:12:11Z Nicolas88 quit (Remote host closed the connection) 2021-04-02T17:12:51Z CrazyEddy joined #lisp 2021-04-02T17:13:18Z Nicolas00 joined #lisp 2021-04-02T17:18:51Z davros quit (Ping timeout: 260 seconds) 2021-04-02T17:24:08Z hendursa1 quit (Quit: hendursa1) 2021-04-02T17:24:25Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-02T17:24:25Z hendursaga joined #lisp 2021-04-02T17:28:05Z Nicolas00 quit (Remote host closed the connection) 2021-04-02T17:29:07Z yang quit (Quit: ʎɐqǝ uo pɹɐoqʎǝʞ ɐ ʎnq ı ǝɯıʇ ʇsɐן ǝɥʇ sı sıɥʇ) 2021-04-02T17:29:11Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-02T17:36:21Z silasfox quit (Ping timeout: 250 seconds) 2021-04-02T17:37:29Z Feldman joined #lisp 2021-04-02T17:49:09Z eden quit (Ping timeout: 240 seconds) 2021-04-02T17:53:26Z landakram joined #lisp 2021-04-02T17:54:01Z luis: Shinmera: CFFI v0.24.0 is out! https://github.com/cffi/cffi/wiki/NEWS#version-0240 2021-04-02T17:54:20Z Shinmera: \o/ 2021-04-02T17:54:32Z luis: successfully avoiding 1.0.0 since 2006 2021-04-02T17:55:31Z alandipert: haha, yay, congrats luis 2021-04-02T17:55:47Z Shinmera: Finally I can get rid of the defctype size_ts in all my libs 2021-04-02T18:03:49Z silasfox joined #lisp 2021-04-02T18:04:03Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T18:06:55Z Feldman joined #lisp 2021-04-02T18:11:33Z bitmapper joined #lisp 2021-04-02T18:12:58Z dilated_dinosaur quit (Ping timeout: 240 seconds) 2021-04-02T18:13:49Z dilated_dinosaur joined #lisp 2021-04-02T18:18:07Z orivej joined #lisp 2021-04-02T18:21:41Z dilated_dinosaur quit (Ping timeout: 240 seconds) 2021-04-02T18:22:03Z dilated_dinosaur joined #lisp 2021-04-02T18:35:45Z hypercube joined #lisp 2021-04-02T18:36:10Z hypercube quit (Quit: WeeChat 3.1) 2021-04-02T18:43:03Z ebrasca quit (Ping timeout: 265 seconds) 2021-04-02T18:43:17Z ebrasca joined #lisp 2021-04-02T18:53:35Z fe[nl]ix: luis: very nice :) 2021-04-02T18:53:43Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T18:54:06Z jackdaniel: luis: congrats! 2021-04-02T19:01:05Z mindCrime_ joined #lisp 2021-04-02T19:02:13Z thomasb06 joined #lisp 2021-04-02T19:03:16Z thomasb06: Hello. Currently, I'm trying to install Ulubis, and I get this backtrace: https://x0.at/URP.log 2021-04-02T19:03:29Z thomasb06: Any idea what went wrong? 2021-04-02T19:09:11Z minion quit (Ping timeout: 240 seconds) 2021-04-02T19:09:18Z specbot quit (Ping timeout: 240 seconds) 2021-04-02T19:14:15Z Bike: i'm not familiar with ulubis, but it's hard to imagine that log helping. did it really not even give you an error code? 2021-04-02T19:15:17Z Feldman joined #lisp 2021-04-02T19:19:54Z thomasb06: apologies, doing several things at the same time 2021-04-02T19:20:20Z Bike: no need to apologize 2021-04-02T19:20:23Z thomasb06: where can I get an error code, when running ./ulubis? 2021-04-02T19:21:24Z thomasb06: it's a window manager so I should run it from console mode, but the only trace I get is in this file 2021-04-02T19:22:12Z Bike: https://github.com/malcolmstill/ulubis/blob/master/ulubis.lisp#L139-L141 looks like you're supposed to be getting a backtrace, but evidently not 2021-04-02T19:23:16Z Bike: print-backtrace prints to *debug-io* whereas that format will print to *standard-output*. maybe the log is only getting the standard output. 2021-04-02T19:24:23Z Bike: i guess you could try replacing the print-backtrace call with (let ((*debug-io* (make-two-way-stream *standard-input* *standard-output*))) (trivial-backtrace:print-backtrace e)), and then it will print the backtrace to standard output as well. 2021-04-02T19:24:49Z Bike: oh, or more simply (trivial-backtrace:print-backtrace e :output *standard-output*) 2021-04-02T19:25:12Z Bike: probably pass :verbose t as well 2021-04-02T19:27:05Z specbot joined #lisp 2021-04-02T19:27:07Z minion joined #lisp 2021-04-02T19:28:24Z thomasb06: ah, let me have a look. (it doesn't show but I'm on a sugar crash... had a huge patisserie few hours ago and obviously it was more sugary that what I'm used too) 2021-04-02T19:32:03Z vaporatorius quit (Ping timeout: 250 seconds) 2021-04-02T19:33:05Z cantstanya quit (Remote host closed the connection) 2021-04-02T19:34:29Z thomasb06: so I've put `(trivial-backtrace:print-backtrace e :output *standard-output* :verbose t)` and now I recompile 2021-04-02T19:35:03Z cantstanya joined #lisp 2021-04-02T19:38:57Z thomasb06: now the output is: https://x0.at/h9F.log 2021-04-02T19:40:27Z aindilis joined #lisp 2021-04-02T19:42:38Z fiddlerwoaroof: luis: one thing that would be really useful on macOS is support for the @executable_path, @loader_path and @rpath variables, although I think this would also need implementation-level changes 2021-04-02T19:43:11Z specbot quit (Ping timeout: 240 seconds) 2021-04-02T19:43:47Z minion quit (Ping timeout: 240 seconds) 2021-04-02T19:44:16Z Lord_of_Life_ joined #lisp 2021-04-02T19:44:27Z specbot joined #lisp 2021-04-02T19:44:28Z minion joined #lisp 2021-04-02T19:44:32Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T19:47:01Z Lord_of_Life quit (Ping timeout: 260 seconds) 2021-04-02T19:47:18Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-02T19:51:57Z judson_ joined #lisp 2021-04-02T19:54:15Z thomasb06: Bike does the new backtrace ring a bell? 2021-04-02T19:57:37Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T20:02:31Z cage_ quit (Quit: Leaving) 2021-04-02T20:05:45Z narimiran joined #lisp 2021-04-02T20:06:59Z Bike: "not a typewriter". well, okay. 2021-04-02T20:09:19Z Bike: https://github.com/malcolmstill/ulubis/issues/62 well, someone else has the same problem. 2021-04-02T20:11:38Z Bike: https://github.com/malcolmstill/ulubis-drm-gbm/blob/master/ulubis-drm-gbm.lisp#L35-L39 i suppose it's one of these ioctl calls. 2021-04-02T20:12:05Z Bike: i have very little idea about graphics programming, let alone ulubis, so that's as far as i go 2021-04-02T20:13:12Z jcowan: I see I have been massively misinterpreted by several different people, and I hate that (Geek Answer Syndrome) 2021-04-02T20:13:48Z phoe: luis: congrats 2021-04-02T20:15:31Z Bike: you should report this logging bug along with your actual problem, btw 2021-04-02T20:18:41Z jcowan: So: I'm not annoyed with the Lisp community and never have been. What is more, someone else applied the phrase "idiotic mysticism" to Zen, not to Lisp, and I denied that Zen was in any way mystical. What I did do was compare certain Lispers (unnamed) to irascible Zen masters: they know a lot, but they have no patience with those who don't. 2021-04-02T20:19:47Z mason: jcowan: That was a random comment the other day. How is that still in anyone's mind? 2021-04-02T20:20:36Z jcowan: It only now came to my attention. "Need brooks no delay, yet late is better than never." 2021-04-02T20:21:04Z mason: kk 2021-04-02T20:21:05Z mfiano: I have been trying to decide if I should be offended by "some very useful help tends to be available only from rather grumpy people" 2021-04-02T20:23:19Z jcowan: "An insult is like a drink: it affects one only if it is accepted." If you don't think you meet that description, then I see no reason to be offended. I certainly did not have you in mind. 2021-04-02T20:24:30Z mfiano: I was thinking all the Lispers that I respect, moreso than myself. 2021-04-02T20:30:30Z fox_ joined #lisp 2021-04-02T20:32:17Z silasfox quit (Ping timeout: 250 seconds) 2021-04-02T20:33:26Z Thunderbi is now known as nckx 2021-04-02T20:33:41Z thomasb06: Bike cheers 2021-04-02T20:34:13Z wsinatra quit (Ping timeout: 265 seconds) 2021-04-02T20:34:49Z thomasb06: Bike on the Gitter channel, I posted both backtraces, maybe I'll get a few hint 2021-04-02T20:35:20Z thomasb06: as I don't know any of Lisp, I won't go that far at all... Thank you for your help 2021-04-02T20:36:00Z thomasb06: My graphics card is an Nvidia so maybe it's related 2021-04-02T20:36:09Z shka_ quit (Ping timeout: 265 seconds) 2021-04-02T20:46:24Z Feldman joined #lisp 2021-04-02T20:46:53Z unimog quit (Remote host closed the connection) 2021-04-02T20:50:11Z narimiran quit (Ping timeout: 240 seconds) 2021-04-02T20:55:57Z cosimone quit (Remote host closed the connection) 2021-04-02T20:56:12Z cosimone joined #lisp 2021-04-02T20:56:30Z wsinatra joined #lisp 2021-04-02T20:59:47Z ebrasca quit (Ping timeout: 240 seconds) 2021-04-02T21:01:17Z sjl quit (Ping timeout: 265 seconds) 2021-04-02T21:02:42Z Josh_2: Xach: I have a lot of overlapping circles and I was hoping that when two overlap I could do a composite colour 2021-04-02T21:03:05Z karlosz quit (Quit: karlosz) 2021-04-02T21:07:35Z ebrasca joined #lisp 2021-04-02T21:08:29Z fox_ is now known as silasfox 2021-04-02T21:10:18Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T21:18:51Z contrapunctus joined #lisp 2021-04-02T21:20:56Z ebrasca quit (Ping timeout: 246 seconds) 2021-04-02T21:21:13Z ebrasca joined #lisp 2021-04-02T21:23:05Z Feldman joined #lisp 2021-04-02T21:25:22Z Feldman: I was wondering, does anyone know *why* CL-CONT is so slow, on the technical level? 2021-04-02T21:28:06Z Lycurgus quit (Quit: Exeunt) 2021-04-02T21:28:15Z rumbler31 joined #lisp 2021-04-02T21:28:36Z _death: I guess because it uses funcallable-instances, though I've not checked 2021-04-02T21:30:08Z Feldman: What exactly is a "funcallable instance", a bunch of lambda functions? 2021-04-02T21:30:17Z phoe: nope 2021-04-02T21:30:22Z phoe: it's a MOP term 2021-04-02T21:30:27Z phoe: it's a standard object that is funcallable 2021-04-02T21:31:25Z _death: Feldman: check make-funcallable in the source 2021-04-02T21:32:42Z rumbler31 quit (Ping timeout: 265 seconds) 2021-04-02T21:34:20Z Shinmera: even without that you basically need to wrap a ton of stuff in lambdas and thus create a lot of indirection and allocation that is otherwise not necessary. Without direct implementation support you can't do much better. 2021-04-02T21:34:46Z srandon111 quit (Quit: leaving) 2021-04-02T21:35:24Z _death: Feldman: not only that, it calls f/cc-function (a generic function) each time as well.. no dynamic-extent declaration for the &rest arg though maybe it's inferred 2021-04-02T21:36:05Z _death: you can do much better.. personally I like https://8c6794b6.github.io/posts/Delimited-continuations-with-monadic-functions-in-Common-Lisp.html 2021-04-02T21:36:07Z Feldman: _death: Not quite sure how dispatch is done for funcallable instances, but would implementing Robert Strandh's fast dispatch solve or help that? 2021-04-02T21:36:35Z rumbler31 joined #lisp 2021-04-02T21:36:37Z phoe: it isn't 2021-04-02T21:36:37Z Bike: they don't dispatch, do they? 2021-04-02T21:36:44Z phoe: funcallable instances don't have dispatch by default 2021-04-02T21:36:54Z phoe: dispatching is a GF thing. 2021-04-02T21:36:59Z asarch joined #lisp 2021-04-02T21:37:02Z Bike: a funcallable instance is just a function with some other slots attach. it doesn't do any kind of dispatch unless you define it to do so. 2021-04-02T21:37:04Z phoe: by default, calling a funcallable instance just calls a standard lisp function 2021-04-02T21:37:07Z Bike: attached. 2021-04-02T21:37:16Z phoe: but what that function does, that's up to the programmer 2021-04-02T21:37:28Z Feldman: Oh right, why are they so slow then? lack of implementation optimisation? 2021-04-02T21:37:42Z phoe: are they slow? 2021-04-02T21:37:50Z Bike: well, death suggested they are 2021-04-02T21:37:50Z sjl joined #lisp 2021-04-02T21:38:06Z Bike: i'm not sure they are, though. depends on what cl-cont is doing. 2021-04-02T21:38:25Z rumbler31 quit (Remote host closed the connection) 2021-04-02T21:38:43Z Bike: i don't actually understand why a continuations system would involve them 2021-04-02T21:38:55Z silasfox quit (Quit: Leaving) 2021-04-02T21:38:59Z _death: https://gitlab.common-lisp.net/cl-cont/cl-cont/-/blob/master/src/special-transformers.lisp#L211 2021-04-02T21:39:15Z Feldman: I would've imagined if FIs weren't generic, they would be as fast as normal functions 2021-04-02T21:39:19Z Bike: okay, that definitely looks slow. 2021-04-02T21:39:20Z rumbler31 joined #lisp 2021-04-02T21:39:53Z phoe: seems like a 10x overhead over normal functions 2021-04-02T21:40:21Z Bike: i mean, slow because every call does an apply of this other function, which i guess applies VALUES? 2021-04-02T21:40:26Z _death: Feldman: I think you can make some small changes that could make it much faster 2021-04-02T21:40:32Z phoe: https://plaster.tymoon.eu/view/2372#2372 2021-04-02T21:40:39Z Bike: values represents the final continuation i suppose 2021-04-02T21:41:00Z phoe: but given the sheer number of repetitions I seriously don't think that fin overhead is what makes things slow 2021-04-02T21:41:11Z Bike: phoe: huh, that's way worse than i'd expect... oh, well, actually sbcl is almost certainly going to inline your second lambda there 2021-04-02T21:41:20Z _death: before I also used arnesi continuations, which I don't think do that kind of thing 2021-04-02T21:41:23Z phoe: oh 2021-04-02T21:41:33Z phoe: I don't know how to tell it not to inline 2021-04-02T21:42:24Z _death: oh, looks like they use funcallable instances as well 2021-04-02T21:42:41Z Bike: defining them both as global functions declaimed notinline is one way, but ofc then you get a little bit of overhead from looking up the global 2021-04-02T21:42:50Z Bike: but it's the same for both so it's ok 2021-04-02T21:43:04Z phoe: oh right, that function call isn't inlined 2021-04-02T21:43:09Z phoe: it's optimized away altogether 2021-04-02T21:43:18Z Bike: tomato, tomato 2021-04-02T21:43:29Z Bike: i did not think that through. 2021-04-02T21:43:31Z phoe: okay, I have no idea how to benchmark that 2021-04-02T21:43:38Z phoe: too late for me to think properly 2021-04-02T21:43:49Z sjl quit (Ping timeout: 265 seconds) 2021-04-02T21:44:08Z Bike: anyway, it looks like this other stuff cl-cont is doing is going to be slow regardless of how instances work. 2021-04-02T21:44:43Z anticrisis joined #lisp 2021-04-02T21:44:53Z Feldman: I'm asking because I was thinking about a tagbody (and possibly symbol-macro) based approach that would avoid wrapping stuff in lambda (they would be wrapped in tagbodies instead, which I assume are lighter) 2021-04-02T21:46:26Z Bike: worth a shot. probably hard to do it correctly in general, tho. 2021-04-02T21:46:31Z luis: fiddlerwoaroof: maybe my next computer will be a mac again, but right now I don't have any macs (not sure if the powerbook still boots :D). Last one got stolen a few years back. 2021-04-02T21:48:00Z _death: Feldman: just removing that f/cc-function call would likely make it much faster (funcallable-standard-instance-access?) 2021-04-02T21:49:03Z pjb: My next computer was a NeXT Computer :-) 2021-04-02T21:51:48Z Feldman: _death: yeah I saw that and was like ??, I suppose FGF would actually help there!, still I wonder why the overhead is 10× for funcallable instances on SBCL in general... 2021-04-02T21:52:07Z _death: Feldman: I'm guessing for the funcallable-instance-function simply having (apply function #'values args) will do.. if the function slot does not change 2021-04-02T21:52:08Z Bike: it's not. phoe's benchmark does not account for an optimization. 2021-04-02T21:52:18Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-02T21:52:54Z Lord_of_Life quit (Ping timeout: 268 seconds) 2021-04-02T21:53:23Z _death: Feldman: in short, it's slow because no one worked on making it faster ;) 2021-04-02T21:53:45Z Bike: i tried making them global and the funcallable instance is called pretty much exactly as quickly as a regular function. 2021-04-02T21:54:11Z Bike: ten million calls in 36 ms. it's fine. 2021-04-02T21:54:22Z _death: Bike: that's good to hear 2021-04-02T21:54:52Z Feldman: That's more reassuring 2021-04-02T21:55:17Z Bike: luckily, death has identified several other horrible efficiency issues to gasp in distress at 2021-04-02T21:57:07Z Bike: seems like some other stuff will get screwed up too, here. if every lambda expression is made into one of these funcallable things, that's going to inhibit a lot of normal compiler optimizations 2021-04-02T21:57:39Z Bike: i don't see anything that sets the f/cc-function, at least? 2021-04-02T21:58:12Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T21:59:05Z _death: Bike: me neither.. there's use of the reader, and that can turn into f-i-s-a or something.. 2021-04-02T21:59:18Z Bike: or just have the instance function close over it 2021-04-02T21:59:37Z _death: Bike: yeah, I mean in fdesignator-to-function/cc 2021-04-02T21:59:53Z Bike: oh i see 2021-04-02T22:03:14Z asarch: This is a meme about how hard a programming language could be. What is "The Lambda Tessaract"? Is it related to Common Lisp? https://pasteboard.co/JVwyaeU.jpg 2021-04-02T22:03:43Z Bike: asarch: probably some kind of reference to https://en.wikipedia.org/wiki/Lambda_cube 2021-04-02T22:03:44Z Helmholtz joined #lisp 2021-04-02T22:04:17Z Bike: i guess you could add subtyping as another dimension to get a tesseract 2021-04-02T22:06:07Z surabax quit (Read error: Connection reset by peer) 2021-04-02T22:06:13Z pve quit (Quit: leaving) 2021-04-02T22:07:13Z akoana joined #lisp 2021-04-02T22:07:39Z Bike: so basically, no 2021-04-02T22:07:48Z asarch: ? 2021-04-02T22:07:58Z asarch: I mean, Oh 2021-04-02T22:08:06Z asarch: Yeah, yeah 2021-04-02T22:08:09Z asarch: Thank you Bike 2021-04-02T22:08:13Z asarch: Thank you very much :-) 2021-04-02T22:08:24Z Bike: happy to be of assistance 2021-04-02T22:09:52Z asarch: I owe you some beers :-) 2021-04-02T22:13:11Z amb007 quit (Ping timeout: 240 seconds) 2021-04-02T22:14:11Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-02T22:17:27Z mindCrime_ quit (Ping timeout: 252 seconds) 2021-04-02T22:18:39Z Inline quit (Ping timeout: 246 seconds) 2021-04-02T22:20:04Z aartaka_d quit (Ping timeout: 265 seconds) 2021-04-02T22:22:09Z galex-713 quit (Ping timeout: 246 seconds) 2021-04-02T22:24:05Z galex-713 joined #lisp 2021-04-02T22:32:36Z rgherdt quit (Remote host closed the connection) 2021-04-02T22:33:00Z rgherdt joined #lisp 2021-04-02T22:37:44Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T22:38:30Z Feldman joined #lisp 2021-04-02T22:38:49Z amb007 joined #lisp 2021-04-02T22:38:49Z amb007 quit (Read error: Connection reset by peer) 2021-04-02T22:39:06Z Programmosaurus is now known as vv8 2021-04-02T22:39:07Z amb007 joined #lisp 2021-04-02T22:41:08Z frgo quit (Remote host closed the connection) 2021-04-02T22:41:44Z frgo joined #lisp 2021-04-02T22:43:55Z frgo quit (Client Quit) 2021-04-02T22:43:56Z aeth_ joined #lisp 2021-04-02T22:44:31Z aeth quit (Disconnected by services) 2021-04-02T22:44:36Z aeth_ is now known as aeth 2021-04-02T22:47:36Z thomasb06: Bike the 'Status' section in the readme.md says to get in touch with Nvidia issue: https://github.com/malcolmstill/ulubis/issues/64 2021-04-02T22:50:26Z Aurora_v_kosmose quit (Remote host closed the connection) 2021-04-02T22:51:24Z Aurora_v_kosmose joined #lisp 2021-04-02T23:00:10Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T23:01:53Z mindCrime_ joined #lisp 2021-04-02T23:04:07Z cosimone quit (Ping timeout: 258 seconds) 2021-04-02T23:05:48Z Feldman joined #lisp 2021-04-02T23:07:48Z asarch quit (Quit: Leaving) 2021-04-02T23:08:27Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-02T23:11:46Z gaqwas joined #lisp 2021-04-02T23:11:46Z gaqwas quit (Changing host) 2021-04-02T23:11:46Z gaqwas joined #lisp 2021-04-02T23:13:42Z Josh_2 quit (Ping timeout: 268 seconds) 2021-04-02T23:16:24Z rgherdt quit (Ping timeout: 246 seconds) 2021-04-02T23:18:33Z unimog joined #lisp 2021-04-02T23:23:40Z Sheilong quit (Quit: Connection closed for inactivity) 2021-04-02T23:24:07Z judson_ joined #lisp 2021-04-02T23:24:54Z rjcks_ joined #lisp 2021-04-02T23:28:29Z rjcks quit (Ping timeout: 268 seconds) 2021-04-02T23:35:24Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T23:35:26Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-02T23:38:31Z rjcks_ quit (Quit: leaving) 2021-04-02T23:39:20Z thomasb06 quit (Quit: Connection closed) 2021-04-02T23:41:56Z aun joined #lisp 2021-04-02T23:46:40Z judson_ joined #lisp 2021-04-03T00:03:41Z gaqwas quit (Ping timeout: 246 seconds) 2021-04-03T00:08:29Z charles` joined #lisp 2021-04-03T00:08:47Z mindCrime_ joined #lisp 2021-04-03T00:13:30Z aun quit (Quit: Connection closed) 2021-04-03T00:16:32Z cchristiansen joined #lisp 2021-04-03T00:26:00Z lonjil2 is now known as lonjil 2021-04-03T00:31:41Z random-nick quit (Ping timeout: 246 seconds) 2021-04-03T00:34:58Z zaquest quit (Quit: Leaving) 2021-04-03T00:36:48Z zaquest joined #lisp 2021-04-03T00:38:13Z sp41 quit (Remote host closed the connection) 2021-04-03T00:40:56Z curtosis joined #lisp 2021-04-03T00:40:59Z curtosis is now known as curtosis[away] 2021-04-03T00:53:50Z akoana left #lisp 2021-04-03T01:02:38Z adam4567 joined #lisp 2021-04-03T01:16:11Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-03T01:16:51Z aeth_ joined #lisp 2021-04-03T01:18:52Z aeth quit (Ping timeout: 268 seconds) 2021-04-03T01:21:43Z Bike quit (Quit: Lost terminal) 2021-04-03T01:24:21Z semz quit (Ping timeout: 250 seconds) 2021-04-03T01:37:49Z semz joined #lisp 2021-04-03T01:39:46Z aeth_ is now known as aeth 2021-04-03T01:40:33Z Aurora_v_kosmose quit (Remote host closed the connection) 2021-04-03T01:41:06Z Aurora_v_kosmose joined #lisp 2021-04-03T01:41:33Z long4mud joined #lisp 2021-04-03T01:41:48Z logand` joined #lisp 2021-04-03T01:42:42Z aeth_ joined #lisp 2021-04-03T01:44:10Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-03T01:44:13Z aeth quit (Disconnected by services) 2021-04-03T01:44:17Z aeth_ is now known as aeth 2021-04-03T01:44:27Z moshes joined #lisp 2021-04-03T01:45:29Z logand quit (Ping timeout: 265 seconds) 2021-04-03T01:45:35Z ram18 joined #lisp 2021-04-03T01:47:19Z moshes` joined #lisp 2021-04-03T01:48:09Z ram18 quit (Client Quit) 2021-04-03T02:02:19Z ebrasca quit (Remote host closed the connection) 2021-04-03T02:06:16Z ikrabbe joined #lisp 2021-04-03T02:07:11Z rumbler31 quit (Remote host closed the connection) 2021-04-03T02:07:25Z rumbler31 joined #lisp 2021-04-03T02:08:23Z curtosis joined #lisp 2021-04-03T02:08:58Z ikrabbe|2 quit (Ping timeout: 240 seconds) 2021-04-03T02:12:19Z cpc26 joined #lisp 2021-04-03T02:13:15Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-03T02:13:18Z cpc26 left #lisp 2021-04-03T02:13:22Z cpc26 joined #lisp 2021-04-03T02:14:52Z cpc26 quit (Client Quit) 2021-04-03T02:20:04Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-03T02:20:22Z Achylles quit (Read error: Connection reset by peer) 2021-04-03T02:28:50Z Helmholtz quit (Quit: Helmholtz) 2021-04-03T02:31:34Z kevingal_ quit (Remote host closed the connection) 2021-04-03T02:34:17Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-03T02:36:14Z curtosis[away] joined #lisp 2021-04-03T02:39:45Z judson_ joined #lisp 2021-04-03T02:44:32Z judson_ quit (Ping timeout: 258 seconds) 2021-04-03T02:47:50Z __jrjsmrtn__ quit (Ping timeout: 265 seconds) 2021-04-03T02:49:00Z __jrjsmrtn__ joined #lisp 2021-04-03T02:50:19Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-03T02:58:03Z thermo joined #lisp 2021-04-03T02:58:22Z raeda quit (Read error: Connection reset by peer) 2021-04-03T03:02:02Z beach: Good morning everyone! 2021-04-03T03:05:55Z abhixec joined #lisp 2021-04-03T03:07:37Z vtomole joined #lisp 2021-04-03T03:10:52Z Oladon joined #lisp 2021-04-03T03:16:15Z charles`: Hi beach. 2021-04-03T03:16:30Z charles`: Is there any reason why quicklisp would not prioritize local-projects? 2021-04-03T03:16:55Z no-defun-allowed: It always has for me. 2021-04-03T03:17:36Z charles`: It has for me too, but in this one situation, it continues to pull form latest quicklisp release 2021-04-03T03:18:42Z loke[m]1: charles` you can try to delete system-index.txt 2021-04-03T03:19:55Z karlosz joined #lisp 2021-04-03T03:20:44Z charles`: wow, amazing! much thanks 2021-04-03T03:22:48Z thermo: i'm using sbcl, and i'm struggling to diagnose a slow OOM. i was hoping to get some related info by setting sb-kernel:gc-logfile and inspecting the output --- but nothing seems to be being written. are there further flags i'm meant to set? 2021-04-03T03:24:21Z beach: What is "OOM"? 2021-04-03T03:24:32Z thermo: out of memory 2021-04-03T03:24:39Z beach: Ah, OK. 2021-04-03T03:28:27Z thermo: i'd also be happy to just hear generic tips about diagnosing memory problems. if there's a way to see statistics what's still alive and where it was allocated, that'd be amazing 2021-04-03T03:31:15Z no-defun-allowed: If you break and evaluate (room t), SBCL provides a list of object types which have instances which occupy the most memory. 2021-04-03T03:46:19Z aeth quit (Ping timeout: 265 seconds) 2021-04-03T03:48:04Z aeth joined #lisp 2021-04-03T03:48:22Z vtomole quit (Ping timeout: 240 seconds) 2021-04-03T03:49:00Z charles`: Does anyone know of special variables not behaving properly on ABCL? 2021-04-03T03:50:36Z beach: Are you sure the behavior is ABCL specific? 2021-04-03T03:51:08Z no-defun-allowed: How are they misbehaving? 2021-04-03T03:52:44Z marusich joined #lisp 2021-04-03T04:06:08Z karlosz quit (Quit: karlosz) 2021-04-03T04:06:37Z nicktick quit (Ping timeout: 265 seconds) 2021-04-03T04:10:06Z charles`: beach, no-defun-allowed: I'm not sure 😁. I would really appreciate a you taking a look. It works perfectly on sbcl. Let me write a test that displays what is wrong. Then I will share a link. 2021-04-03T04:50:26Z charles`: Well, I managed to figure it out on my own. I'm sorry for possibly blaming ABCL. 2021-04-03T04:53:47Z beach: Congratulations! 2021-04-03T04:55:19Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-03T04:57:37Z spongiforma joined #lisp 2021-04-03T04:57:39Z charles`: Are you working on anything cool today? 2021-04-03T04:58:43Z beach: minion: Please tell charles` about SICL. 2021-04-03T04:58:44Z minion: charles`: SICL: SICL is a (perhaps futile) attempt to re-implement Common Lisp from scratch, hopefully using improved programming and bootstrapping techniques. See https://github.com/robert-strandh/SICL 2021-04-03T05:00:48Z charles`: I know about it, I just mean specifically 2021-04-03T05:01:05Z beach: Register allocation. 2021-04-03T05:01:17Z beach: I invented what I think is a new technique. 2021-04-03T05:02:00Z charles`: that would be when you need to do some operations, how to decide which registers to put the data in? 2021-04-03T05:02:20Z beach: It is based on the OPT (imaginary) paging algorithm in that it estimates the distance to the next use of lexical variables, and when it needs to spill, it spills the one with the greatest estimated distance. 2021-04-03T05:02:45Z beach: More like deciding which register to spill to the stack when there are not enough of them. 2021-04-03T05:11:34Z Oladon quit (Quit: Leaving.) 2021-04-03T05:15:44Z beach: Registers are typically grouped into (overlapping) categories like general-purpose, caller saves, callee saves, floating point. Usually, any register in the right category will do for an operation. 2021-04-03T05:15:45Z beach: But when there are not enough registers, but you need for a lexical variable to be in a register even though right now it is not, you need to "steal" a register from some other lexical variable. Performance depends crucially on that choice. 2021-04-03T05:16:38Z beach: If you steal a register from a lexical variable that is going to be needed in a register fairly soon, you waste load/store operations. 2021-04-03T05:17:12Z beach: charles`: Does that make sense? 2021-04-03T05:17:17Z charles`: Sure does 2021-04-03T05:19:30Z spongiforma quit (Quit: Leaving) 2021-04-03T05:19:49Z spongiforma joined #lisp 2021-04-03T05:20:27Z spongiforma left #lisp 2021-04-03T05:22:18Z charles`: When you are doing this stuff with registers are you still writing it in Lisp? 2021-04-03T05:23:10Z no-defun-allowed: Yes, all of the compiler is written in Lisp. (This is also the case for SBCL and Clozure at least.) 2021-04-03T05:24:34Z DeLargement joined #lisp 2021-04-03T05:27:04Z contrapunctus left #lisp 2021-04-03T05:27:12Z contrapunctus joined #lisp 2021-04-03T05:32:53Z charles`: I know that is the idea, but I just can't wrap my head around how you would manipulate registers like that. 2021-04-03T05:33:07Z charles`: without actually programming assembly 2021-04-03T05:34:32Z aeth: Effectively, via custom "inline assembly" except it's syntactically just s-expressions so it's not really "inline assembly". 2021-04-03T05:34:40Z seok joined #lisp 2021-04-03T05:34:43Z beach: Oh, you write a "code generator" in Common Lisp. You turn the Common Lisp code into machine code, and the program doing the turning is just another Common Lisp program. It is that program that inspects the instructions that are needed and makes decisions about what registers to use. 2021-04-03T05:34:55Z no-defun-allowed: You generate assembly in the end with any compiler. But the code manipulating the assembly is written in Common Lisp, yes. 2021-04-03T05:35:22Z beach: charles`: The decisions are made at compile time, not at run time. 2021-04-03T05:35:25Z seok: anyone else experiencing high latency with winhttp 2021-04-03T05:37:04Z charles`: hmm, so even though you aren't writing a compiler in assembly, there is some assembly written as output (maybe in a string). I got that it is at compile time. 2021-04-03T05:37:14Z shka_ joined #lisp 2021-04-03T05:38:34Z no-defun-allowed: Close, but the output is usually machine code, as a vector of bytes. 2021-04-03T05:39:19Z no-defun-allowed remembers "assembly" is the text form of machine code with labels and instruction names. Oops. 2021-04-03T05:40:22Z beach: charles`: As no-defun-allowed says, there is no particular reason for a compiler to generate assembly code. Assembly code was invented so that humans would have less trouble writing machine code. But a compiler does not need that human-friendly aspects that assembly provides. 2021-04-03T05:40:24Z charles`: sure, of course. 2021-04-03T05:40:54Z White_Flame: compilers have IRs 2021-04-03T05:41:20Z White_Flame: and "labels" as pointers etc 2021-04-03T05:41:45Z White_Flame: so one could consider such a representation to be very comparable to assembly 2021-04-03T05:42:13Z White_Flame: (s/pointers/references/ when written in lisp, of course) 2021-04-03T05:43:19Z moon-child: White_Flame: for the assembly representation, 'label' is more useful because it enforces an ordering, which you need to compute offsets (and decide when to generate short jumps, for supported platforms) 2021-04-03T05:44:12Z no-defun-allowed: I had generated acceptable assembly output from Cleavir's LIR once (which was used to make verifying it by eyeball somewhat easier). 2021-04-03T05:45:07Z White_Flame: moon-child: I mean a direct reference from 1 instruction's IR object to another 2021-04-03T05:45:11Z nicktick joined #lisp 2021-04-03T05:45:25Z White_Flame: certainly that form can be used to calculate relative offsets just the same 2021-04-03T05:53:28Z abhixec quit (Quit: leaving) 2021-04-03T06:01:02Z nicktick quit (Read error: Connection timed out) 2021-04-03T06:15:10Z nicktick joined #lisp 2021-04-03T06:17:22Z charles`: Could someone help me understand how complex asdf are supposed to work. Ones with multiple systems defined in a single file, and stuff like cl-unicode/base 2021-04-03T06:18:07Z charles`: Why aren't they each in their own .asd file in their own directory? 2021-04-03T06:18:14Z narimiran joined #lisp 2021-04-03T06:25:41Z fiddlerwoaroof: charles`: I tend to find it's nice to group related systems into a single .asd 2021-04-03T06:26:02Z fiddlerwoaroof: ASDF now has some logic to complain if the system names don't follow a specified format, though 2021-04-03T06:26:05Z White_Flame: probably because they're intimately related. Broken out components of the same library for organization purposes, as well as tests & examples 2021-04-03T06:26:11Z fiddlerwoaroof: :base-system -> :base-system/subsystem 2021-04-03T06:26:34Z fiddlerwoaroof: One common pattern is :base-system and :base-system/tests in the same asd 2021-04-03T06:26:56Z fiddlerwoaroof: So your users don't have to load your testing dependencies 2021-04-03T06:28:24Z indathrone joined #lisp 2021-04-03T06:29:13Z indathrone quit (Remote host closed the connection) 2021-04-03T06:29:16Z DeLargement quit (Quit: Leaving) 2021-04-03T06:29:38Z DeLargement joined #lisp 2021-04-03T06:32:00Z indathrone joined #lisp 2021-04-03T06:33:07Z indathrone quit (Remote host closed the connection) 2021-04-03T06:41:03Z rjcks joined #lisp 2021-04-03T06:47:17Z marusich quit (Quit: Leaving) 2021-04-03T06:48:19Z slyrus joined #lisp 2021-04-03T06:57:27Z d4ryus quit (Quit: WeeChat 3.1) 2021-04-03T07:00:02Z Lord_of_Life joined #lisp 2021-04-03T07:01:13Z aartaka joined #lisp 2021-04-03T07:01:41Z motersen quit (Remote host closed the connection) 2021-04-03T07:03:57Z slyrus quit (Remote host closed the connection) 2021-04-03T07:04:39Z Guest95177 quit (Quit: leaving) 2021-04-03T07:04:51Z micro joined #lisp 2021-04-03T07:06:15Z micro quit (Client Quit) 2021-04-03T07:10:16Z micro joined #lisp 2021-04-03T07:10:16Z motersen joined #lisp 2021-04-03T07:10:21Z d4ryus joined #lisp 2021-04-03T07:11:21Z slyrus joined #lisp 2021-04-03T07:17:56Z eden joined #lisp 2021-04-03T07:18:29Z slyrus quit (Read error: Connection reset by peer) 2021-04-03T07:21:44Z eden quit (Client Quit) 2021-04-03T07:32:30Z motersen quit (Remote host closed the connection) 2021-04-03T07:32:45Z motersen joined #lisp 2021-04-03T07:33:16Z gaqwas joined #lisp 2021-04-03T07:33:16Z gaqwas quit (Changing host) 2021-04-03T07:33:16Z gaqwas joined #lisp 2021-04-03T07:40:10Z slyrus joined #lisp 2021-04-03T07:42:29Z slyrus quit (Read error: Connection reset by peer) 2021-04-03T07:54:27Z anticrisis quit (Read error: Connection reset by peer) 2021-04-03T08:01:07Z pve joined #lisp 2021-04-03T08:01:13Z aartaka_d joined #lisp 2021-04-03T08:04:49Z skapata quit (Remote host closed the connection) 2021-04-03T08:05:15Z aartaka quit (Ping timeout: 268 seconds) 2021-04-03T08:07:26Z hendursa1 joined #lisp 2021-04-03T08:07:29Z slyrus joined #lisp 2021-04-03T08:08:07Z rgherdt joined #lisp 2021-04-03T08:09:33Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-03T08:11:49Z slyrus quit (Ping timeout: 252 seconds) 2021-04-03T08:22:15Z slyrus joined #lisp 2021-04-03T08:26:26Z slyrus quit (Ping timeout: 240 seconds) 2021-04-03T08:27:11Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-03T08:31:31Z notzmv quit (Read error: Connection reset by peer) 2021-04-03T08:36:41Z cage_ joined #lisp 2021-04-03T08:37:25Z mindCrime_ joined #lisp 2021-04-03T08:40:38Z orivej quit (Ping timeout: 240 seconds) 2021-04-03T08:43:47Z shka_ quit (Quit: Konversation terminated!) 2021-04-03T08:52:18Z slyrus joined #lisp 2021-04-03T08:53:41Z moshes quit (Ping timeout: 240 seconds) 2021-04-03T08:53:51Z moshes` quit (Remote host closed the connection) 2021-04-03T08:54:24Z moshes` joined #lisp 2021-04-03T08:58:38Z Feldman joined #lisp 2021-04-03T08:59:11Z slyrus quit (Ping timeout: 260 seconds) 2021-04-03T09:02:37Z waleee-cl joined #lisp 2021-04-03T09:06:04Z surabax joined #lisp 2021-04-03T09:06:08Z klltkr joined #lisp 2021-04-03T09:11:07Z mindCrime_ quit (Ping timeout: 265 seconds) 2021-04-03T09:12:47Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-03T09:16:42Z slyrus joined #lisp 2021-04-03T09:19:11Z slyrus quit (Read error: Connection reset by peer) 2021-04-03T09:19:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T09:19:22Z amb007 joined #lisp 2021-04-03T09:19:23Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T09:19:34Z slyrus joined #lisp 2021-04-03T09:19:38Z amb007 joined #lisp 2021-04-03T09:21:38Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T09:22:44Z amb007 joined #lisp 2021-04-03T09:24:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-03T09:32:27Z leedleLoo joined #lisp 2021-04-03T09:32:37Z Feldman joined #lisp 2021-04-03T09:44:41Z moshes` quit (Ping timeout: 260 seconds) 2021-04-03T09:50:19Z orivej joined #lisp 2021-04-03T09:50:21Z vaporatorius joined #lisp 2021-04-03T09:50:21Z vaporatorius quit (Changing host) 2021-04-03T09:50:21Z vaporatorius joined #lisp 2021-04-03T09:55:28Z Nilby joined #lisp 2021-04-03T09:58:25Z frost-lab joined #lisp 2021-04-03T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-03T10:00:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T10:00:12Z amb007 joined #lisp 2021-04-03T10:00:12Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T10:00:35Z amb007 joined #lisp 2021-04-03T10:02:50Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T10:02:59Z amb007 joined #lisp 2021-04-03T10:04:07Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-03T10:04:17Z orivej quit (Ping timeout: 265 seconds) 2021-04-03T10:05:50Z leedleLoo left #lisp 2021-04-03T10:06:35Z amk quit (Remote host closed the connection) 2021-04-03T10:06:43Z amk joined #lisp 2021-04-03T10:15:43Z moshes` joined #lisp 2021-04-03T10:16:54Z cosimone joined #lisp 2021-04-03T10:26:39Z galex-713 quit (Ping timeout: 246 seconds) 2021-04-03T10:28:25Z moshes joined #lisp 2021-04-03T10:29:29Z slyrus joined #lisp 2021-04-03T10:32:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T10:32:29Z amb007 joined #lisp 2021-04-03T10:32:35Z random-nick joined #lisp 2021-04-03T10:32:45Z notzmv joined #lisp 2021-04-03T10:33:38Z slyrus quit (Ping timeout: 240 seconds) 2021-04-03T10:36:03Z galex-713 joined #lisp 2021-04-03T10:37:03Z vegansbane6963 joined #lisp 2021-04-03T10:43:51Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-03T10:55:24Z h4ck3r9696 joined #lisp 2021-04-03T10:57:14Z Feldman joined #lisp 2021-04-03T11:02:41Z jurov_ joined #lisp 2021-04-03T11:03:26Z jurov quit (Ping timeout: 260 seconds) 2021-04-03T11:06:29Z slyrus joined #lisp 2021-04-03T11:09:11Z Inline joined #lisp 2021-04-03T11:10:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-03T11:10:58Z klltkr joined #lisp 2021-04-03T11:12:32Z Inline quit (Client Quit) 2021-04-03T11:16:10Z Inline joined #lisp 2021-04-03T11:18:41Z jurov_ quit (Ping timeout: 240 seconds) 2021-04-03T11:19:20Z jurov joined #lisp 2021-04-03T11:21:37Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-03T11:21:49Z jurov_ joined #lisp 2021-04-03T11:22:19Z cosimone quit (Remote host closed the connection) 2021-04-03T11:23:54Z jurov_ quit (Excess Flood) 2021-04-03T11:24:19Z jurov quit (Ping timeout: 252 seconds) 2021-04-03T11:24:22Z jurov_ joined #lisp 2021-04-03T11:25:15Z luckless quit (Remote host closed the connection) 2021-04-03T11:25:49Z luckless joined #lisp 2021-04-03T11:29:56Z Feldman joined #lisp 2021-04-03T11:39:06Z CrazyEddy quit (Quit: Reconnecting) 2021-04-03T11:49:09Z indathrone joined #lisp 2021-04-03T11:53:35Z slyrus joined #lisp 2021-04-03T11:58:21Z slyrus quit (Ping timeout: 268 seconds) 2021-04-03T12:19:00Z hiroaki quit (Ping timeout: 246 seconds) 2021-04-03T12:26:48Z orivej joined #lisp 2021-04-03T12:31:30Z hiroaki joined #lisp 2021-04-03T12:40:29Z cosimone joined #lisp 2021-04-03T12:43:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T12:43:49Z amb007 joined #lisp 2021-04-03T12:46:18Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T12:46:58Z amb007 joined #lisp 2021-04-03T12:48:59Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T12:49:22Z amb007 joined #lisp 2021-04-03T12:52:37Z maxwilliamson joined #lisp 2021-04-03T12:55:21Z varjag joined #lisp 2021-04-03T12:59:15Z karayan joined #lisp 2021-04-03T12:59:17Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T12:59:59Z amb007 joined #lisp 2021-04-03T12:59:59Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T13:00:19Z amb007 joined #lisp 2021-04-03T13:00:32Z cchristiansen quit (Remote host closed the connection) 2021-04-03T13:01:53Z yitzi joined #lisp 2021-04-03T13:05:32Z karayan quit (Remote host closed the connection) 2021-04-03T13:05:42Z karayan joined #lisp 2021-04-03T13:09:30Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T13:09:47Z amb007 joined #lisp 2021-04-03T13:16:39Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T13:17:12Z Xach: leo_song_: I'm having a weird problem with osicat, and it looks like it *might* be related to the most recent cffi commit 2021-04-03T13:17:21Z Xach: leo_song_: can i share a log and maybe you have some insight? 2021-04-03T13:17:45Z Xach: it's not just osicat - it's other stuff too 2021-04-03T13:18:22Z amb007 joined #lisp 2021-04-03T13:19:52Z Xach: leo_song_: https://www.xach.com/tmp/fail.txt is for cl-freetype2 for example 2021-04-03T13:21:52Z Xach: or any other cffi friends 2021-04-03T13:21:55Z Xach: (luis?) 2021-04-03T13:22:41Z Xach: It looks like the latest release was put up on common-lisp.net last night 2021-04-03T13:30:19Z Lycurgus joined #lisp 2021-04-03T13:31:06Z Xach: cl-freetype2, osicat, cl-gss at least - and osicat breaks a *lot* of other things 2021-04-03T13:33:29Z perdent1 joined #lisp 2021-04-03T13:33:35Z perdent1: Hi I have a crypto challenge for you all, let me know what you think of it and if you can solve it ! Good luck The more the merrier, right? We decided to mash two of the best cryptosytems together for the best product. Our new encryption scheme is up and running and this time it is unbreakable! To prove that, we have also released its source code and a test center where you can test it out! host: 139.59.178.146:31817 (flag is located on the server) https 2021-04-03T13:34:05Z ChanServ has set mode +o Xach 2021-04-03T13:34:08Z Xach has set mode +b *!*perdent@192.145.118.* 2021-04-03T13:34:12Z perdent1 [~xach@pdpc/supporter/professional/xach] has been kicked from #lisp by Xach (no) 2021-04-03T13:34:19Z Xach has set mode -o Xach 2021-04-03T13:34:22Z Lycurgus: ty 2021-04-03T13:36:25Z frost-lab quit (Quit: Connection closed) 2021-04-03T13:38:24Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T13:38:42Z amb007 joined #lisp 2021-04-03T13:40:49Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T13:41:09Z Josh_2 joined #lisp 2021-04-03T13:41:34Z amb007 joined #lisp 2021-04-03T13:41:40Z Josh_2: Good afternoon 2021-04-03T13:46:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T13:47:10Z amb007 joined #lisp 2021-04-03T13:47:35Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-03T13:51:00Z beach` joined #lisp 2021-04-03T13:51:08Z beach` quit (Remote host closed the connection) 2021-04-03T13:51:53Z h4ck3r9696 quit (Quit: Leaving.) 2021-04-03T13:52:04Z beach quit (Disconnected by services) 2021-04-03T13:52:54Z beach joined #lisp 2021-04-03T13:56:53Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-03T13:57:01Z Lycurgus quit (Quit: Exeunt) 2021-04-03T14:00:09Z orivej quit (Ping timeout: 265 seconds) 2021-04-03T14:03:02Z slyrus joined #lisp 2021-04-03T14:04:11Z DeLargement quit (Quit: Leaving) 2021-04-03T14:06:15Z bgardner quit (Remote host closed the connection) 2021-04-03T14:06:58Z bgardner joined #lisp 2021-04-03T14:07:22Z luis: Xach: thanks, I'll have a look and probably revert that bit. sadly osicat's travis cronjob was not active :( 2021-04-03T14:07:46Z slyrus quit (Ping timeout: 260 seconds) 2021-04-03T14:17:20Z dddddd quit (Quit: dddddd) 2021-04-03T14:23:32Z Feldman joined #lisp 2021-04-03T14:29:51Z rumbler31 quit (Remote host closed the connection) 2021-04-03T14:33:06Z slyrus joined #lisp 2021-04-03T14:33:09Z klltkr joined #lisp 2021-04-03T14:34:06Z Inline quit (Ping timeout: 246 seconds) 2021-04-03T14:35:21Z rumbler31 joined #lisp 2021-04-03T14:37:06Z slyrus quit (Ping timeout: 240 seconds) 2021-04-03T14:41:35Z aartaka joined #lisp 2021-04-03T14:44:38Z aartaka_d quit (Ping timeout: 246 seconds) 2021-04-03T14:46:24Z luis: Xach: pushed 0.24.1, which fixes osicat. Activated osicat's travis cronjob so that hopefully this sort of things gets caught before it reaches Quicklisp next time. thanks. 2021-04-03T14:49:46Z moshes quit (Ping timeout: 240 seconds) 2021-04-03T14:50:08Z kevingal joined #lisp 2021-04-03T14:50:21Z moshes` quit (Ping timeout: 260 seconds) 2021-04-03T14:50:59Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-03T14:52:07Z surabax quit (Quit: Leaving) 2021-04-03T14:58:10Z micro quit (Remote host closed the connection) 2021-04-03T15:03:36Z h4ck3r9696 joined #lisp 2021-04-03T15:04:27Z slyrus joined #lisp 2021-04-03T15:06:18Z Feldman joined #lisp 2021-04-03T15:08:47Z slyrus quit (Ping timeout: 240 seconds) 2021-04-03T15:12:59Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T15:14:04Z amb007 joined #lisp 2021-04-03T15:14:23Z nicktick quit (Ping timeout: 246 seconds) 2021-04-03T15:15:18Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T15:16:06Z seok quit (Quit: Connection closed) 2021-04-03T15:16:18Z amb007 joined #lisp 2021-04-03T15:17:23Z leedleLoo joined #lisp 2021-04-03T15:17:36Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-03T15:22:10Z leedleLoo left #lisp 2021-04-03T15:24:32Z slyrus joined #lisp 2021-04-03T15:29:05Z slyrus quit (Ping timeout: 265 seconds) 2021-04-03T15:31:33Z luckless quit (Ping timeout: 240 seconds) 2021-04-03T15:33:47Z luckless joined #lisp 2021-04-03T15:36:13Z micro joined #lisp 2021-04-03T15:38:27Z lowryder quit (Ping timeout: 250 seconds) 2021-04-03T15:39:14Z slyrus joined #lisp 2021-04-03T15:39:54Z nicktick joined #lisp 2021-04-03T15:41:31Z lowryder joined #lisp 2021-04-03T15:44:01Z slyrus quit (Ping timeout: 260 seconds) 2021-04-03T15:47:07Z aartaka quit (Read error: Connection reset by peer) 2021-04-03T15:47:11Z aartaka_d joined #lisp 2021-04-03T15:51:37Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-03T15:52:26Z Feldman joined #lisp 2021-04-03T15:52:37Z Inline joined #lisp 2021-04-03T15:55:30Z curtosis joined #lisp 2021-04-03T15:56:23Z amb007 quit (Ping timeout: 252 seconds) 2021-04-03T15:56:44Z amb007 joined #lisp 2021-04-03T15:57:48Z Xach: luis: thank you! 2021-04-03T15:58:02Z karayan quit (Ping timeout: 258 seconds) 2021-04-03T15:58:25Z karayan joined #lisp 2021-04-03T16:01:40Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-03T16:02:18Z Xach: Josh_2: https://github.com/xach/vecto/commit/312dea5860c04739d872e21ee9fdb2c759ac5f45 shows how you can do anything you want when blending two colors together with vecto 2021-04-03T16:03:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T16:03:11Z amb007 joined #lisp 2021-04-03T16:05:34Z aartaka joined #lisp 2021-04-03T16:07:45Z amb007 quit (Ping timeout: 260 seconds) 2021-04-03T16:08:41Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-03T16:08:49Z amb007 joined #lisp 2021-04-03T16:11:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T16:13:29Z Helmholtz joined #lisp 2021-04-03T16:13:32Z amb007 joined #lisp 2021-04-03T16:15:34Z slyrus joined #lisp 2021-04-03T16:15:57Z rumbler31 quit (Remote host closed the connection) 2021-04-03T16:16:11Z rumbler31 joined #lisp 2021-04-03T16:16:28Z unimog quit (Remote host closed the connection) 2021-04-03T16:19:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-03T16:20:11Z aeth quit (Ping timeout: 240 seconds) 2021-04-03T16:22:27Z aeth joined #lisp 2021-04-03T16:23:09Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-03T16:30:05Z rumbler31 quit (Remote host closed the connection) 2021-04-03T16:30:52Z rumbler31 joined #lisp 2021-04-03T16:46:31Z random-nick quit (Quit: quit) 2021-04-03T16:46:31Z judson_ joined #lisp 2021-04-03T16:46:35Z judson_ quit (Client Quit) 2021-04-03T16:46:49Z random-nick joined #lisp 2021-04-03T16:47:25Z judson_ joined #lisp 2021-04-03T16:47:32Z judson_ quit (Client Quit) 2021-04-03T16:47:46Z Helmholtz quit (Quit: Helmholtz) 2021-04-03T16:49:47Z zaquest quit (Read error: Connection reset by peer) 2021-04-03T16:50:28Z zaquest joined #lisp 2021-04-03T16:50:58Z judson_ joined #lisp 2021-04-03T16:51:53Z curtosis joined #lisp 2021-04-03T16:53:51Z ramus quit (Ping timeout: 250 seconds) 2021-04-03T16:54:34Z DeLargement joined #lisp 2021-04-03T16:54:35Z DeLarger joined #lisp 2021-04-03T16:55:48Z ramus joined #lisp 2021-04-03T16:57:05Z DeLargement quit (Client Quit) 2021-04-03T16:59:40Z vtomole joined #lisp 2021-04-03T17:01:02Z karayan quit (Quit: Quit) 2021-04-03T17:02:08Z slyrus joined #lisp 2021-04-03T17:06:42Z slyrus quit (Ping timeout: 268 seconds) 2021-04-03T17:10:41Z DeLarger quit (Read error: Connection reset by peer) 2021-04-03T17:12:32Z curtosis is now known as curtosis[away] 2021-04-03T17:12:50Z Sheilong joined #lisp 2021-04-03T17:15:11Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-03T17:16:11Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-03T17:20:08Z Helmholtz joined #lisp 2021-04-03T17:21:54Z drbluefall joined #lisp 2021-04-03T17:23:08Z bjorkint0sh quit (Ping timeout: 258 seconds) 2021-04-03T17:35:48Z orivej joined #lisp 2021-04-03T17:47:57Z mindCrime_ joined #lisp 2021-04-03T17:48:49Z judson_ quit (Ping timeout: 258 seconds) 2021-04-03T17:48:53Z Feldman joined #lisp 2021-04-03T17:49:01Z lowryder quit (Ping timeout: 260 seconds) 2021-04-03T17:50:55Z lowryder joined #lisp 2021-04-03T18:02:48Z jcowan: beach: I don't understand why you need to compromise on allocation. OPT paging is impossible because the kernel has only peephole into what the user program is going to do. But you have the whole lexical scope already available, so no need to *estimate* what the remote distance. 2021-04-03T18:03:14Z jcowan: Of course there are conditionals, so that requires a model of probable branching. But I suppose you have that already in order to optimize compiling them. 2021-04-03T18:03:58Z mister_m quit (Ping timeout: 258 seconds) 2021-04-03T18:05:29Z klltkr joined #lisp 2021-04-03T18:06:18Z vtomole quit (Quit: Connection closed) 2021-04-03T18:09:32Z Helmholtz quit (Quit: Helmholtz) 2021-04-03T18:18:21Z frgo joined #lisp 2021-04-03T18:19:42Z aeth quit (Ping timeout: 265 seconds) 2021-04-03T18:21:19Z aeth joined #lisp 2021-04-03T18:21:54Z slyrus joined #lisp 2021-04-03T18:21:55Z mindCrime_ quit (Excess Flood) 2021-04-03T18:22:20Z mindCrime_ joined #lisp 2021-04-03T18:24:24Z slyrus quit (Read error: Connection reset by peer) 2021-04-03T18:24:24Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T18:25:20Z amb007 joined #lisp 2021-04-03T18:27:30Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T18:28:19Z amb007 joined #lisp 2021-04-03T18:34:47Z slyrus joined #lisp 2021-04-03T18:35:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T18:36:14Z amb007 joined #lisp 2021-04-03T18:38:27Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T18:39:18Z amb007 joined #lisp 2021-04-03T18:39:31Z slyrus quit (Ping timeout: 265 seconds) 2021-04-03T18:39:43Z slyrus joined #lisp 2021-04-03T18:41:14Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T18:42:14Z amb007 joined #lisp 2021-04-03T18:43:25Z skapata joined #lisp 2021-04-03T18:43:29Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T18:43:44Z amb007 joined #lisp 2021-04-03T18:43:53Z cage_ quit (Quit: Leaving) 2021-04-03T18:44:02Z slyrus quit (Ping timeout: 246 seconds) 2021-04-03T18:48:17Z aartaka_d joined #lisp 2021-04-03T18:50:47Z aartaka quit (Ping timeout: 240 seconds) 2021-04-03T18:51:20Z aartaka joined #lisp 2021-04-03T18:52:27Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-03T18:55:41Z aartaka quit (Ping timeout: 240 seconds) 2021-04-03T18:55:42Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T18:56:12Z amb007 joined #lisp 2021-04-03T18:57:20Z slyrus joined #lisp 2021-04-03T18:59:56Z slyrus quit (Read error: Connection reset by peer) 2021-04-03T18:59:56Z amb007 quit (Read error: Connection reset by peer) 2021-04-03T19:00:19Z amb007 joined #lisp 2021-04-03T19:05:27Z sm2n quit (Ping timeout: 240 seconds) 2021-04-03T19:09:48Z sm2n joined #lisp 2021-04-03T19:09:54Z slyrus joined #lisp 2021-04-03T19:14:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-03T19:24:48Z Jachy quit (Remote host closed the connection) 2021-04-03T19:27:43Z sm2n quit (Remote host closed the connection) 2021-04-03T19:28:02Z sm2n joined #lisp 2021-04-03T19:32:37Z slyrus joined #lisp 2021-04-03T19:36:53Z slyrus quit (Ping timeout: 246 seconds) 2021-04-03T19:41:04Z Inline quit (Ping timeout: 246 seconds) 2021-04-03T19:43:10Z hypercube joined #lisp 2021-04-03T19:45:42Z eschatologist_ is now known as eschatologist 2021-04-03T19:46:02Z Lord_of_Life_ joined #lisp 2021-04-03T19:47:06Z Lord_of_Life quit (Ping timeout: 240 seconds) 2021-04-03T19:47:23Z slyrus joined #lisp 2021-04-03T19:49:06Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-03T19:49:39Z slyrus quit (Read error: Connection reset by peer) 2021-04-03T19:50:43Z abhixec joined #lisp 2021-04-03T19:52:12Z slyrus joined #lisp 2021-04-03T19:53:09Z aartaka joined #lisp 2021-04-03T19:56:26Z slyrus quit (Ping timeout: 240 seconds) 2021-04-03T19:57:32Z slyrus joined #lisp 2021-04-03T19:58:00Z Josh_2: Xach: thanks I'll give it a look 2021-04-03T20:01:39Z aartaka_d joined #lisp 2021-04-03T20:01:41Z slyrus quit (Ping timeout: 252 seconds) 2021-04-03T20:04:07Z aartaka quit (Ping timeout: 240 seconds) 2021-04-03T20:06:05Z aartaka joined #lisp 2021-04-03T20:07:49Z slyrus joined #lisp 2021-04-03T20:08:17Z aartaka_d quit (Ping timeout: 252 seconds) 2021-04-03T20:11:13Z tux1c joined #lisp 2021-04-03T20:11:58Z slyrus quit (Ping timeout: 240 seconds) 2021-04-03T20:17:29Z kenran joined #lisp 2021-04-03T20:18:02Z slyrus joined #lisp 2021-04-03T20:20:58Z Kundry_Wag joined #lisp 2021-04-03T20:21:02Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-03T20:22:28Z slyrus quit (Ping timeout: 265 seconds) 2021-04-03T20:22:45Z tux1c quit (Quit: Leaving) 2021-04-03T20:23:30Z gumman joined #lisp 2021-04-03T20:26:20Z cchristiansen joined #lisp 2021-04-03T20:27:46Z orivej quit (Ping timeout: 240 seconds) 2021-04-03T20:31:19Z narimiran quit (Quit: leaving) 2021-04-03T20:34:20Z aartaka_d joined #lisp 2021-04-03T20:34:48Z indathrone quit (Ping timeout: 258 seconds) 2021-04-03T20:35:11Z aartaka quit (Ping timeout: 240 seconds) 2021-04-03T20:35:30Z aartaka joined #lisp 2021-04-03T20:38:54Z aartaka_d quit (Ping timeout: 265 seconds) 2021-04-03T20:40:57Z slyrus joined #lisp 2021-04-03T20:43:54Z rumbler31 quit (Remote host closed the connection) 2021-04-03T20:44:04Z Feldman joined #lisp 2021-04-03T20:44:11Z rumbler31 joined #lisp 2021-04-03T20:45:06Z slyrus quit (Ping timeout: 240 seconds) 2021-04-03T20:45:14Z aartaka_d joined #lisp 2021-04-03T20:45:54Z slyrus joined #lisp 2021-04-03T20:47:11Z aartaka quit (Ping timeout: 240 seconds) 2021-04-03T20:48:31Z phoe: Xach: thanks for the garbage collection 2021-04-03T20:49:55Z aartaka_d quit (Ping timeout: 268 seconds) 2021-04-03T20:50:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-03T20:50:36Z rumbler31 quit (Remote host closed the connection) 2021-04-03T20:51:05Z aartaka joined #lisp 2021-04-03T20:51:22Z rumbler31 joined #lisp 2021-04-03T20:52:19Z specbot quit (Remote host closed the connection) 2021-04-03T20:52:19Z minion quit (Remote host closed the connection) 2021-04-03T20:53:09Z anticrisis joined #lisp 2021-04-03T20:59:47Z ech joined #lisp 2021-04-03T21:01:10Z slyrus joined #lisp 2021-04-03T21:02:44Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-03T21:03:03Z kenran quit (Remote host closed the connection) 2021-04-03T21:03:21Z slyrus quit (Read error: Connection reset by peer) 2021-04-03T21:03:36Z jmercouris: But we’ll never known what this unbreakable crypto scheme is! 2021-04-03T21:03:42Z jmercouris: Aren’t you dying to know? 2021-04-03T21:03:55Z jmercouris: /s 2021-04-03T21:07:44Z minion joined #lisp 2021-04-03T21:07:46Z specbot joined #lisp 2021-04-03T21:09:10Z Aurora_v_kosmose quit (Remote host closed the connection) 2021-04-03T21:09:56Z Aurora_v_kosmose joined #lisp 2021-04-03T21:15:06Z indathrone joined #lisp 2021-04-03T21:23:18Z Feldman joined #lisp 2021-04-03T21:28:34Z aeth: Isn't unbreakable crypto scheme on-topic in #scheme not here? 2021-04-03T21:28:44Z jcowan snickers 2021-04-03T21:28:46Z akoana joined #lisp 2021-04-03T21:29:40Z aeth: jcowan: and people still wouldn't use it for crypto, because of the parentheses 2021-04-03T21:29:43Z jcowan: I always have to search for [scheme language] or [scheme programming] on Google because of this issue. SCHMER would have been a much better name 2021-04-03T21:30:04Z jcowan: given the six-letter Maclisp restriction 2021-04-03T21:30:19Z aap: not maclisp, its 2021-04-03T21:30:56Z jcowan: As for the unbreakable crypto scheme, it is one-time tape/pad (xor each bit with a truly random bit, which must be available at both ends). Of course the key distribution problem is vicious. 2021-04-03T21:32:47Z Odin-: For the latter, see Project Venona. 2021-04-03T21:34:13Z landakram quit (Ping timeout: 258 seconds) 2021-04-03T21:34:35Z aeth: aap: you have defeated me in alphabetic sorting! 2021-04-03T21:34:36Z Nilby quit (Ping timeout: 258 seconds) 2021-04-03T21:34:45Z aap: aeth: sorry :) 2021-04-03T21:36:51Z cosimone quit (Remote host closed the connection) 2021-04-03T21:36:59Z jcowan: aap: What do you mean by "not maclisp, its"? 2021-04-03T21:37:35Z aap: i mean the 6 char restriction is one of ITS, not maclisp 2021-04-03T21:37:40Z Odin-: jcowan: The restriction didn't come from maclisp, but ITS. 2021-04-03T21:37:56Z jcowan: Ah, true. 2021-04-03T21:38:34Z jcowan: I cut my teeth on OS/8, which was 8+2 with no hierarchy 2021-04-03T21:38:42Z pjb: Well, it wasn't really a restriction, it was an optimization. Implemented in LISP 1. You can see it in the sources of LISP 1.5. 2021-04-03T21:39:30Z pjb: Basically, 36-bit hardware, 6-bit characters. Strings were represented using lists of words containing packed 6-character. 2021-04-03T21:39:42Z aap: ITS filenames are literally 6 + 6 2021-04-03T21:39:46Z pjb: So if you used more than 6-character symbols, they used more than one word. 2021-04-03T21:39:56Z aap: usually filename + extension 2021-04-03T21:40:18Z aap: so it would have been extremely unusual to call something by a name longer than 6 chars 2021-04-03T21:40:39Z pjb: unix too was developped on such a system (18-bit words), hence creat and similar function names. 2021-04-03T21:40:40Z CrazyEddy joined #lisp 2021-04-03T21:41:01Z aap: pdp-7 unix used 2 chars per word 2021-04-03T21:41:11Z pjb: 9-bit chars? 2021-04-03T21:41:14Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-03T21:41:17Z aap: no, ascii 2021-04-03T21:41:26Z aap: so, yes, i guess 2021-04-03T21:41:29Z aap: but still just ascii 2021-04-03T21:41:41Z aap: ITS used sixbit 2021-04-03T21:41:54Z slyrus joined #lisp 2021-04-03T21:42:45Z motersen quit (Ping timeout: 240 seconds) 2021-04-03T21:43:10Z pjb: That said, indeed, one could wish more people used more unique names. I liked IBM naming scheme. Like IEBFR14; there's no ambiguity. 2021-04-03T21:43:32Z pjb: On the other hand, try to search for "true"… 2021-04-03T21:44:01Z pjb: You need to add eg. true man page for some semblance of uniqueness and specificity. 2021-04-03T21:44:26Z aap: does an empty file need a manpage? :) 2021-04-03T21:44:33Z minion quit (Remote host closed the connection) 2021-04-03T21:44:34Z specbot quit (Remote host closed the connection) 2021-04-03T21:44:40Z aap: i guess it's no longer an empty file these days... 2021-04-03T21:45:08Z pjb: aap: the story of true matches the story of iebfr14. You'd be surprised by the commit list. 2021-04-03T21:45:23Z aap: ah 2021-04-03T21:45:28Z pve quit (Quit: leaving) 2021-04-03T21:45:50Z pjb: https://github.com/coreutils/coreutils/commits/master/src/true.c 2021-04-03T21:45:58Z motersen joined #lisp 2021-04-03T21:46:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-03T21:46:20Z minion joined #lisp 2021-04-03T21:46:20Z specbot joined #lisp 2021-04-03T21:46:21Z aartaka_d joined #lisp 2021-04-03T21:47:23Z aap: pjb: disgusting 2021-04-03T21:47:28Z aap: true used to be an empty file 2021-04-03T21:48:23Z aartaka quit (Ping timeout: 252 seconds) 2021-04-03T21:48:55Z aartaka joined #lisp 2021-04-03T21:50:35Z aartaka_d quit (Ping timeout: 252 seconds) 2021-04-03T21:59:10Z h4ck3r9696 quit (Quit: Leaving.) 2021-04-03T22:01:16Z hypercube quit (Quit: WeeChat 3.1) 2021-04-03T22:08:21Z nckx is now known as jorts 2021-04-03T22:11:14Z kevingal quit (Remote host closed the connection) 2021-04-03T22:12:02Z slyrus joined #lisp 2021-04-03T22:12:55Z hypercube joined #lisp 2021-04-03T22:14:02Z ramHero joined #lisp 2021-04-03T22:16:52Z slyrus quit (Ping timeout: 268 seconds) 2021-04-03T22:17:30Z mindCrime_ quit (Ping timeout: 265 seconds) 2021-04-03T22:19:33Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-03T22:20:34Z Feldman joined #lisp 2021-04-03T22:21:46Z pjb: aap: an empty file was clearly a bug for true(1)… 2021-04-03T22:22:04Z aap: is that so? 2021-04-03T22:22:29Z phoe: why are we discussing true(1) again 2021-04-03T22:22:46Z White_Flame: 2021-04-03T22:23:43Z aap: something about file names 2021-04-03T22:23:45Z pjb: phoe: naming schemes iebfr14 vs true 2021-04-03T22:25:01Z slyrus joined #lisp 2021-04-03T22:29:05Z slyrus quit (Ping timeout: 246 seconds) 2021-04-03T22:37:51Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-03T22:38:51Z galex-713 quit (Ping timeout: 246 seconds) 2021-04-03T22:39:04Z frgo quit (Remote host closed the connection) 2021-04-03T22:39:30Z frgo joined #lisp 2021-04-03T22:39:59Z slyrus joined #lisp 2021-04-03T22:42:33Z slyrus quit (Read error: Connection reset by peer) 2021-04-03T22:43:13Z hypercube quit (Ping timeout: 258 seconds) 2021-04-03T22:45:31Z slyrus joined #lisp 2021-04-03T22:47:51Z slyrus quit (Read error: Connection reset by peer) 2021-04-03T22:48:01Z galex-713 joined #lisp 2021-04-03T22:52:35Z bitmapper joined #lisp 2021-04-03T22:59:16Z vv8 quit (Read error: Connection reset by peer) 2021-04-03T23:10:41Z rjcks quit (Quit: leaving) 2021-04-03T23:11:52Z Sheilong quit (Quit: Connection closed for inactivity) 2021-04-03T23:15:57Z karlosz joined #lisp 2021-04-03T23:21:33Z rgherdt quit (Ping timeout: 246 seconds) 2021-04-03T23:29:10Z jcowan: aap: they should have used UTF-9 2021-04-03T23:29:40Z aap: well, ken did eventually invent utf-8 at least :) 2021-04-03T23:30:00Z jcowan: https://tools.ietf.org/html/rfc4042 2021-04-03T23:30:37Z aap: these were more of a joke, right? 2021-04-03T23:31:42Z jcowan: CHeck out the publication date. BUt Crispin really was a PDP-10 programmer 2021-04-03T23:32:12Z aap: oh i didn't even realize it was from him 2021-04-03T23:32:23Z jcowan: UTF-18 should be replaced by UTF-18+, which would represent planes 0,1,2,3 instead of 0,1,F,10 2021-04-03T23:34:39Z jcowan: Gotta love this: "We are now in the process of implementing support for nonet-based text files and automated transformation between septet, octet, and nonet textual data." 2021-04-03T23:34:59Z aap: i'm not even sure whether this is a joke 2021-04-03T23:35:03Z jorts is now known as nckx 2021-04-03T23:35:10Z aap: they're still using pdp-10s at XKL 2021-04-03T23:35:11Z aeth: UTF-18+ sounds like a media rating scheme in some random country. 2021-04-03T23:35:22Z aap: although i hear they're using a custom OS these days 2021-04-03T23:36:56Z jcowan: Compuserve ran a modified TOPS-10 for a very long time, which is why Compuserve emails were 7xxxx,xxxx@compuserve.co,m 2021-04-03T23:38:57Z jcowan: I also devised UTF-6, an almost upward compatible extension of Sixbit, but I didnt write an RFC, so I've forgotten the details 2021-04-03T23:39:28Z aeth: What Common Lisp do people here use for PDP-10s? 2021-04-03T23:39:44Z aap: no common lisps unfortunately. but maclisp! 2021-04-03T23:40:47Z aap: you can all come to #pdp-10 if you want :) 2021-04-03T23:42:02Z aeth: But why would I run a PDP VM when I could just run a Windows 98 VM? 2021-04-03T23:42:18Z aap: style points 2021-04-03T23:43:31Z aeth: I wonder if SBCL 0.6.8 runs on Windows 98 2021-04-03T23:44:08Z aap: actually implementing a common lisp for PDP-10 would be interesting 2021-04-03T23:44:15Z aeth: (hmm, 0.6.8 is the oldest tagged version... SBCL news on the website goes back to 0.6.0, though) 2021-04-03T23:45:37Z jcowan: The general idea is to preempt 077, Del in ECMA-1, to show that a non-Sixbit character has been encoded in the general style of UTF-8 2021-04-03T23:46:00Z jcowan: https://www.ecma-international.org/wp-content/uploads/ECMA-1_1st_edition_march_1963.pdf 2021-04-03T23:46:02Z aap: so utf-radix50 when? 2021-04-03T23:46:13Z jcowan: NEVER 2021-04-03T23:46:39Z jcowan: I did use to assign 16-bit magic numbers for binary data using RADIX50, though 2021-04-03T23:46:59Z moon-child: jcowan: sounds like it loses the big advantage of utf8, which is that you can always identify continuation bytes (sextets?) 2021-04-03T23:47:22Z moon-child: (though there may not be very much you can do about that ...) 2021-04-03T23:47:22Z jcowan: Yes. Perhaps it's more like SRFI-7 2021-04-03T23:49:43Z jcowan: Ah, no, what it preempts is SI and SO, so because there are always both you can identify sequences. 2021-04-03T23:50:28Z moon-child: ah, cool 2021-04-03T23:51:20Z jcowan: buut it is less bounded than UTF-8 2021-04-03T23:55:56Z slyrus joined #lisp 2021-04-03T23:56:42Z jeosol quit (Ping timeout: 240 seconds) 2021-04-04T00:00:29Z slyrus quit (Ping timeout: 260 seconds) 2021-04-04T00:04:09Z Khisanth quit (Ping timeout: 250 seconds) 2021-04-04T00:17:00Z Khisanth joined #lisp 2021-04-04T00:21:21Z zaquest quit (Quit: Leaving) 2021-04-04T00:23:46Z zaquest joined #lisp 2021-04-04T00:26:59Z frost-lab joined #lisp 2021-04-04T00:28:26Z cods quit (Ping timeout: 246 seconds) 2021-04-04T00:28:41Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-04T00:28:42Z cods joined #lisp 2021-04-04T00:30:07Z mindCrime_ joined #lisp 2021-04-04T00:32:05Z jcowan: It should be possible to run CLISP using one of the several C compilers avaiilable for TOPS-10/20. 2021-04-04T00:32:21Z random-nick quit (Ping timeout: 265 seconds) 2021-04-04T00:32:25Z jcowan: JIT is of coourse another story altogether 2021-04-04T00:32:35Z jcowan: (or native-code AOT) 2021-04-04T00:36:27Z slyrus joined #lisp 2021-04-04T00:41:03Z slyrus quit (Ping timeout: 265 seconds) 2021-04-04T00:41:25Z sxmx quit (Quit: WeeChat 3.1) 2021-04-04T00:49:16Z karlosz quit (Ping timeout: 265 seconds) 2021-04-04T00:56:11Z nicktick quit (Ping timeout: 240 seconds) 2021-04-04T00:58:01Z sxmx joined #lisp 2021-04-04T01:09:18Z Aurora_iz_kosmos joined #lisp 2021-04-04T01:09:27Z karlosz joined #lisp 2021-04-04T01:09:58Z Aurora_v_kosmose quit (Disconnected by services) 2021-04-04T01:10:02Z Aurora_iz_kosmos is now known as Aurora_v_kosmose 2021-04-04T01:20:43Z orivej joined #lisp 2021-04-04T01:22:33Z moshes joined #lisp 2021-04-04T01:23:27Z semz quit (Ping timeout: 250 seconds) 2021-04-04T01:24:59Z adam4567 quit (Ping timeout: 258 seconds) 2021-04-04T01:31:49Z indathrone quit (Quit: Leaving) 2021-04-04T01:37:07Z semz joined #lisp 2021-04-04T01:39:29Z logand`` joined #lisp 2021-04-04T01:41:26Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-04T01:43:02Z logand` quit (Ping timeout: 252 seconds) 2021-04-04T01:44:59Z slyrus joined #lisp 2021-04-04T01:47:40Z slyrus quit (Read error: Connection reset by peer) 2021-04-04T01:50:26Z slyrus joined #lisp 2021-04-04T01:51:28Z DeLargement joined #lisp 2021-04-04T01:54:49Z slyrus quit (Ping timeout: 260 seconds) 2021-04-04T02:03:43Z ikrabbe|2 joined #lisp 2021-04-04T02:06:41Z ikrabbe quit (Ping timeout: 240 seconds) 2021-04-04T02:08:34Z monkey__ joined #lisp 2021-04-04T02:10:28Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-04T02:23:39Z slyrus joined #lisp 2021-04-04T02:24:55Z ffwacom quit (*.net *.split) 2021-04-04T02:24:55Z winny quit (*.net *.split) 2021-04-04T02:24:55Z entel quit (*.net *.split) 2021-04-04T02:24:55Z creat_ quit (*.net *.split) 2021-04-04T02:24:55Z nmg quit (*.net *.split) 2021-04-04T02:24:55Z XachX quit (*.net *.split) 2021-04-04T02:24:55Z dnm quit (*.net *.split) 2021-04-04T02:24:55Z yottabyte quit (*.net *.split) 2021-04-04T02:24:55Z gingerale- quit (*.net *.split) 2021-04-04T02:24:56Z russell-- quit (*.net *.split) 2021-04-04T02:25:03Z russell-- joined #lisp 2021-04-04T02:25:10Z nmg joined #lisp 2021-04-04T02:25:13Z gingerale- joined #lisp 2021-04-04T02:25:22Z ffwacom joined #lisp 2021-04-04T02:25:26Z russell-- is now known as Guest73633 2021-04-04T02:25:29Z entel joined #lisp 2021-04-04T02:25:30Z yottabyte joined #lisp 2021-04-04T02:25:32Z dnm joined #lisp 2021-04-04T02:25:34Z XachX joined #lisp 2021-04-04T02:26:22Z winny joined #lisp 2021-04-04T02:42:59Z mindCrime_ quit (Excess Flood) 2021-04-04T02:43:25Z mindCrime_ joined #lisp 2021-04-04T02:44:11Z frost-lab quit (Quit: Ping timeout (120 seconds)) 2021-04-04T02:48:13Z Josh_2 quit (Ping timeout: 268 seconds) 2021-04-04T02:49:55Z jeosol joined #lisp 2021-04-04T02:56:45Z slyrus quit (Remote host closed the connection) 2021-04-04T02:59:38Z slyrus joined #lisp 2021-04-04T03:02:05Z Alfr quit (Killed (karatkievich.freenode.net (Nickname regained by services))) 2021-04-04T03:02:09Z Alfr joined #lisp 2021-04-04T03:03:50Z slyrus quit (Ping timeout: 246 seconds) 2021-04-04T03:04:16Z MetaYan quit (Ping timeout: 276 seconds) 2021-04-04T03:04:34Z beach: Good morning everyone! 2021-04-04T03:06:21Z beach: jcowan: The "estimate" part is exactly that, i.e., branching. 2021-04-04T03:09:55Z slyrus joined #lisp 2021-04-04T03:11:17Z MetaYan_ joined #lisp 2021-04-04T03:14:35Z slyrus quit (Ping timeout: 260 seconds) 2021-04-04T03:26:43Z asarch joined #lisp 2021-04-04T03:27:30Z monkey__ quit (Remote host closed the connection) 2021-04-04T03:41:52Z slyrus joined #lisp 2021-04-04T03:42:23Z slyrus quit (Read error: Connection reset by peer) 2021-04-04T03:44:19Z slyrus joined #lisp 2021-04-04T03:44:46Z slyrus quit (Remote host closed the connection) 2021-04-04T03:48:28Z slyrus joined #lisp 2021-04-04T03:52:27Z slyrus quit (Ping timeout: 240 seconds) 2021-04-04T04:02:16Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-04T04:03:29Z slyrus joined #lisp 2021-04-04T04:07:32Z slyrus quit (Ping timeout: 246 seconds) 2021-04-04T04:22:27Z indathrone joined #lisp 2021-04-04T04:24:41Z orivej quit (Ping timeout: 240 seconds) 2021-04-04T04:30:21Z zooey_ is now known as zooey 2021-04-04T04:33:03Z orivej joined #lisp 2021-04-04T04:36:43Z karlosz quit (Quit: karlosz) 2021-04-04T04:40:38Z marusich joined #lisp 2021-04-04T04:41:13Z akoana quit (Quit: leaving) 2021-04-04T04:47:35Z mrchampion quit (Remote host closed the connection) 2021-04-04T04:52:46Z Kundry_Wag quit (Remote host closed the connection) 2021-04-04T04:53:22Z Kundry_Wag joined #lisp 2021-04-04T04:58:11Z Kundry_Wag quit (Ping timeout: 265 seconds) 2021-04-04T05:16:13Z frost-lab joined #lisp 2021-04-04T05:20:25Z cods quit (Ping timeout: 265 seconds) 2021-04-04T05:22:35Z slyrus joined #lisp 2021-04-04T05:22:50Z karlosz joined #lisp 2021-04-04T05:25:19Z Kundry_Wag joined #lisp 2021-04-04T05:26:02Z cods joined #lisp 2021-04-04T05:26:45Z madage quit (Ping timeout: 240 seconds) 2021-04-04T05:27:09Z slyrus quit (Ping timeout: 260 seconds) 2021-04-04T05:29:27Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-04T05:29:29Z madage joined #lisp 2021-04-04T05:31:57Z ech quit (Ping timeout: 240 seconds) 2021-04-04T05:32:51Z nikolayclfx quit (Remote host closed the connection) 2021-04-04T05:36:15Z mindCrime_ quit (Excess Flood) 2021-04-04T05:36:31Z cchristiansen quit (Remote host closed the connection) 2021-04-04T05:36:45Z mindCrime_ joined #lisp 2021-04-04T05:37:50Z orivej quit (Ping timeout: 246 seconds) 2021-04-04T05:43:57Z rgherdt joined #lisp 2021-04-04T05:49:00Z aartaka_d joined #lisp 2021-04-04T05:51:18Z aartaka quit (Ping timeout: 240 seconds) 2021-04-04T05:51:57Z slyrus joined #lisp 2021-04-04T05:54:36Z orivej joined #lisp 2021-04-04T05:56:40Z slyrus quit (Ping timeout: 265 seconds) 2021-04-04T05:57:04Z slyrus joined #lisp 2021-04-04T06:01:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-04T06:01:40Z Kundry_Wag joined #lisp 2021-04-04T06:06:11Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-04T06:39:28Z phossil joined #lisp 2021-04-04T06:41:04Z curtosis joined #lisp 2021-04-04T06:41:05Z pve joined #lisp 2021-04-04T07:00:47Z Kundry_Wag joined #lisp 2021-04-04T07:08:13Z karlosz quit (Quit: karlosz) 2021-04-04T07:13:26Z Krystof quit (Ping timeout: 240 seconds) 2021-04-04T07:18:54Z h4ck3r9696 joined #lisp 2021-04-04T07:19:59Z gaqwas joined #lisp 2021-04-04T07:21:27Z phossil quit (Ping timeout: 260 seconds) 2021-04-04T07:23:17Z thinkpad joined #lisp 2021-04-04T07:25:09Z Nilby joined #lisp 2021-04-04T07:25:20Z thinkpad quit (Client Quit) 2021-04-04T07:25:49Z karlosz joined #lisp 2021-04-04T07:27:25Z drbluefall quit (Remote host closed the connection) 2021-04-04T07:30:49Z indathrone quit (Ping timeout: 245 seconds) 2021-04-04T07:33:57Z indathrone joined #lisp 2021-04-04T07:34:59Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-04T07:35:28Z thinkpad joined #lisp 2021-04-04T07:53:56Z asarch quit (Quit: Leaving) 2021-04-04T07:55:40Z frost-lab quit (Quit: Connection closed) 2021-04-04T08:06:25Z phantomics_ quit (Quit: Ex-Chat) 2021-04-04T08:11:25Z hendursaga joined #lisp 2021-04-04T08:13:57Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-04T08:30:27Z aartaka joined #lisp 2021-04-04T08:33:16Z aartaka_d quit (Ping timeout: 265 seconds) 2021-04-04T08:41:49Z surabax joined #lisp 2021-04-04T08:43:11Z karlosz quit (Ping timeout: 240 seconds) 2021-04-04T08:44:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T08:45:07Z amb007 joined #lisp 2021-04-04T08:47:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T08:47:51Z amb007 joined #lisp 2021-04-04T08:48:07Z anticrisis quit (Read error: Connection reset by peer) 2021-04-04T08:58:16Z Guest73633 is now known as russell-- 2021-04-04T09:03:53Z Krystof joined #lisp 2021-04-04T09:08:46Z Kundry_Wag quit (Remote host closed the connection) 2021-04-04T09:09:22Z Kundry_Wag joined #lisp 2021-04-04T09:09:54Z landakram joined #lisp 2021-04-04T09:13:47Z Kundry_Wag quit (Ping timeout: 246 seconds) 2021-04-04T09:13:57Z orivej quit (Ping timeout: 260 seconds) 2021-04-04T09:31:41Z skapata quit (Remote host closed the connection) 2021-04-04T09:39:38Z Feldman joined #lisp 2021-04-04T09:45:52Z Inline joined #lisp 2021-04-04T09:46:10Z Kundry_Wag joined #lisp 2021-04-04T09:50:47Z Kundry_Wag quit (Ping timeout: 260 seconds) 2021-04-04T09:51:13Z orivej joined #lisp 2021-04-04T09:59:29Z vydd joined #lisp 2021-04-04T09:59:33Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-04T09:59:55Z vydd quit (Changing host) 2021-04-04T09:59:55Z vydd joined #lisp 2021-04-04T09:59:57Z lotuseater joined #lisp 2021-04-04T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-04T10:00:16Z cage_ joined #lisp 2021-04-04T10:01:52Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-04T10:02:21Z hendursaga joined #lisp 2021-04-04T10:11:49Z varjag joined #lisp 2021-04-04T10:17:11Z moshes quit (Ping timeout: 265 seconds) 2021-04-04T10:24:03Z Feldman joined #lisp 2021-04-04T10:30:40Z cosimone joined #lisp 2021-04-04T10:30:45Z vv8 joined #lisp 2021-04-04T10:38:33Z vegansbane6963 joined #lisp 2021-04-04T10:39:02Z frgo quit (Remote host closed the connection) 2021-04-04T10:39:28Z frgo joined #lisp 2021-04-04T10:40:23Z mindCrime_ quit (Ping timeout: 265 seconds) 2021-04-04T10:43:36Z heisig joined #lisp 2021-04-04T10:43:53Z orivej quit (Ping timeout: 252 seconds) 2021-04-04T10:44:03Z mindCrime_ joined #lisp 2021-04-04T10:50:40Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-04T10:51:03Z galex-713 quit (Ping timeout: 246 seconds) 2021-04-04T10:52:05Z orivej joined #lisp 2021-04-04T10:59:32Z galex-713 joined #lisp 2021-04-04T11:00:00Z Feldman joined #lisp 2021-04-04T11:06:19Z cosimone quit (Remote host closed the connection) 2021-04-04T11:07:47Z rgherdt quit (Remote host closed the connection) 2021-04-04T11:08:40Z random-nick joined #lisp 2021-04-04T11:09:18Z rgherdt joined #lisp 2021-04-04T11:09:35Z gj joined #lisp 2021-04-04T11:10:57Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-04T11:16:11Z mindCrime_ quit (Ping timeout: 260 seconds) 2021-04-04T11:20:52Z engblom quit (Remote host closed the connection) 2021-04-04T11:23:24Z DeLargement quit (Ping timeout: 265 seconds) 2021-04-04T11:38:29Z Feldman joined #lisp 2021-04-04T11:40:53Z DeLargement joined #lisp 2021-04-04T11:46:28Z seok joined #lisp 2021-04-04T11:46:43Z seok: any recommendations on a reference for format directives ? 2021-04-04T11:47:10Z Shinmera: clhs 22.3 2021-04-04T11:47:10Z specbot: Formatted Output: http://www.lispworks.com/reference/HyperSpec/Body/22_c.htm 2021-04-04T11:47:44Z seok: eh I know this one, looking for a nice card on one page xd 2021-04-04T11:48:36Z seok: Ah it's ok I'll use this http://clqr.boundp.org/clqr-letter-consec.pdf 2021-04-04T11:48:37Z seok: ty !' 2021-04-04T11:57:22Z Inoperable quit (Quit: All your buffer are belong to us!) 2021-04-04T11:59:03Z thinkpad quit (Ping timeout: 252 seconds) 2021-04-04T12:00:10Z thinkpad joined #lisp 2021-04-04T12:01:14Z Inoperable joined #lisp 2021-04-04T12:02:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T12:03:45Z amb007 joined #lisp 2021-04-04T12:07:52Z gj quit (Quit: Connection closed) 2021-04-04T12:18:24Z jcowan: gak, a 56-page "quick reference" 2021-04-04T12:21:28Z semz: CL is a big boy 2021-04-04T12:22:26Z semz: it's rare that people go for completeness with these refereces though, nice to see 2021-04-04T12:22:54Z beach: What makes you think Common Lisp is male? 2021-04-04T12:25:37Z no-defun-allowed: Provided that seeking for a feature is relatively fast (hopefully with sublinear search complexity), a reference could be large and quick. 2021-04-04T12:25:49Z semz: I was going to reach for "lisping (the impediment) is more common in males" 2021-04-04T12:25:51Z semz: but it turns out there is no difference 2021-04-04T12:28:19Z no-defun-allowed: It would be about as creative as the joke I decided to scrap about gendering based on paren/bracket shape. 2021-04-04T12:29:51Z no-defun-allowed: But "big boy" is more common than "big girl" or "big child" or so on, possibly due to alliteration. 2021-04-04T12:30:17Z beach: So "great girl" then? 2021-04-04T12:31:22Z no-defun-allowed: Now that you mention it, I haven't a clue. Human languages are like that. 2021-04-04T12:35:52Z jcowan: I agree about "apt alliteration's artful aid", but I think it's more about gendering things masculine by default, even in natural-gender languages like English 2021-04-04T12:35:54Z curtosis joined #lisp 2021-04-04T12:38:17Z orivej quit (Ping timeout: 252 seconds) 2021-04-04T12:43:00Z madage quit (Remote host closed the connection) 2021-04-04T12:43:13Z madage joined #lisp 2021-04-04T12:44:00Z Nilby: Common Lisp is female becuase it take the seed of my idea and turns it into a living thing, but it's male becuase it fucks me over every day while forcing me to do menial labor for free, but it's non-gendered because it's just a programming language specification. 2021-04-04T12:47:03Z lotuseater: like that 2021-04-04T12:52:04Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-04T12:59:21Z ech joined #lisp 2021-04-04T13:03:25Z cosimone joined #lisp 2021-04-04T13:05:24Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-04T13:05:48Z galex-713 quit (Ping timeout: 246 seconds) 2021-04-04T13:08:32Z splittist: I would be grateful for anyone having a look at https://github.com/splittist/printfcl to see if it makes any sense. Thanks... 2021-04-04T13:10:05Z Kundry_Wag joined #lisp 2021-04-04T13:10:09Z vegansbane6963 joined #lisp 2021-04-04T13:12:45Z Shinmera: Looks neat. What's the use-case? 2021-04-04T13:13:13Z Shinmera: Translating stuff from C? 2021-04-04T13:14:43Z Kundry_Wag quit (Ping timeout: 260 seconds) 2021-04-04T13:15:47Z splittist: Shinmera: Basically. Or having to reproduce some output format specified with some version of printf format strings. 2021-04-04T13:16:49Z Shinmera: Fair enough. Though I would have exactly liked to have %p, since there's no portable way currently to get the object identifier without doing weird stuff with dissecting print-unreadable-object's output. 2021-04-04T13:17:26Z splittist: Shinmera: exactly what I was looking for. trivial-identity awaits... 2021-04-04T13:19:20Z ikrabbe|2 is now known as ikrabbe 2021-04-04T13:20:17Z contrapunctus left #lisp 2021-04-04T13:23:31Z contrapunctus joined #lisp 2021-04-04T13:23:32Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T13:23:56Z amb007 joined #lisp 2021-04-04T13:25:57Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-04T13:30:53Z hendursaga joined #lisp 2021-04-04T13:32:13Z kevingal joined #lisp 2021-04-04T13:34:05Z Josh_2 joined #lisp 2021-04-04T13:34:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T13:34:12Z amb007 joined #lisp 2021-04-04T13:34:12Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T13:34:31Z amb007 joined #lisp 2021-04-04T13:35:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T13:35:56Z amb007 joined #lisp 2021-04-04T13:42:14Z phantomics joined #lisp 2021-04-04T13:43:23Z supercoven joined #lisp 2021-04-04T13:44:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T13:44:15Z amb007 joined #lisp 2021-04-04T13:48:47Z amb007 quit (Ping timeout: 260 seconds) 2021-04-04T13:54:18Z aartaka_d joined #lisp 2021-04-04T13:54:23Z aartaka quit (Ping timeout: 260 seconds) 2021-04-04T13:55:13Z jello_pudding quit (Ping timeout: 252 seconds) 2021-04-04T13:57:35Z aartaka joined #lisp 2021-04-04T13:58:16Z supercoven_ joined #lisp 2021-04-04T13:58:18Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-04T13:58:53Z waleee-cl joined #lisp 2021-04-04T14:01:27Z supercoven quit (Ping timeout: 240 seconds) 2021-04-04T14:04:11Z aeth quit (Ping timeout: 240 seconds) 2021-04-04T14:06:04Z aeth joined #lisp 2021-04-04T14:18:03Z jmiven quit (Quit: reboot) 2021-04-04T14:18:47Z jmiven joined #lisp 2021-04-04T14:20:55Z CrazyEddy quit (Quit: Reconnecting) 2021-04-04T14:22:09Z mrchampion joined #lisp 2021-04-04T14:26:03Z seok quit (Quit: Connection closed) 2021-04-04T14:27:10Z nicktick joined #lisp 2021-04-04T14:45:41Z random-nick quit (Ping timeout: 240 seconds) 2021-04-04T14:45:59Z random-nick joined #lisp 2021-04-04T14:46:54Z notzmv quit (Ping timeout: 265 seconds) 2021-04-04T14:47:19Z _jrjsmrtn joined #lisp 2021-04-04T14:48:27Z __jrjsmrtn__ quit (Ping timeout: 252 seconds) 2021-04-04T14:56:51Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-04T15:02:26Z Feldman joined #lisp 2021-04-04T15:11:10Z Kundry_Wag joined #lisp 2021-04-04T15:12:07Z monkey__ joined #lisp 2021-04-04T15:13:44Z monkey__ quit (Remote host closed the connection) 2021-04-04T15:15:22Z amb007 joined #lisp 2021-04-04T15:26:10Z notzmv joined #lisp 2021-04-04T15:28:17Z meursault joined #lisp 2021-04-04T15:29:55Z meursault quit (Client Quit) 2021-04-04T15:35:29Z klltkr joined #lisp 2021-04-04T15:35:59Z aartaka quit (Read error: Connection reset by peer) 2021-04-04T15:36:04Z aartaka_d joined #lisp 2021-04-04T15:41:46Z Kundry_Wag quit (Remote host closed the connection) 2021-04-04T15:42:00Z Kundry_Wag joined #lisp 2021-04-04T15:43:51Z aartaka joined #lisp 2021-04-04T15:44:11Z DeLargement quit (Read error: Connection reset by peer) 2021-04-04T15:45:11Z hineios quit (Ping timeout: 240 seconds) 2021-04-04T15:47:07Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-04T15:54:34Z landakram quit (Ping timeout: 245 seconds) 2021-04-04T16:00:05Z harlchen[m] quit (Quit: Idle for 30+ days) 2021-04-04T16:00:38Z mister_m joined #lisp 2021-04-04T16:01:30Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-04T16:07:02Z terpri_ quit (Remote host closed the connection) 2021-04-04T16:11:50Z cosimone quit (Remote host closed the connection) 2021-04-04T16:13:19Z hineios joined #lisp 2021-04-04T16:17:02Z cosimone joined #lisp 2021-04-04T16:21:31Z random-nick quit (Read error: Connection reset by peer) 2021-04-04T16:21:37Z random-nickname joined #lisp 2021-04-04T16:23:54Z Kundry_W_ joined #lisp 2021-04-04T16:26:23Z Kundry_Wag quit (Ping timeout: 246 seconds) 2021-04-04T16:28:32Z terpri joined #lisp 2021-04-04T16:30:14Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T16:30:52Z amb007 joined #lisp 2021-04-04T16:32:18Z lizardman joined #lisp 2021-04-04T16:32:19Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T16:32:37Z amb007 joined #lisp 2021-04-04T16:34:31Z samebchase-6 is now known as samebchase- 2021-04-04T16:34:31Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T16:35:04Z amb007 joined #lisp 2021-04-04T16:39:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T16:39:57Z amb007 joined #lisp 2021-04-04T16:41:55Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T16:42:09Z amb007 joined #lisp 2021-04-04T16:46:15Z Feldman joined #lisp 2021-04-04T16:49:33Z defaultxr quit (Quit: later) 2021-04-04T16:55:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T16:56:30Z amb007 joined #lisp 2021-04-04T17:04:47Z Inline quit (Ping timeout: 260 seconds) 2021-04-04T17:04:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T17:05:10Z amb007 joined #lisp 2021-04-04T17:07:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T17:07:47Z amb007 joined #lisp 2021-04-04T17:09:01Z dt[m] joined #lisp 2021-04-04T17:11:06Z yitzi quit (Quit: yitzi) 2021-04-04T17:11:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T17:11:40Z amb007 joined #lisp 2021-04-04T17:12:31Z remby joined #lisp 2021-04-04T17:12:37Z remby left #lisp 2021-04-04T17:13:23Z dt[m] left #lisp 2021-04-04T17:16:43Z cosimone quit (Remote host closed the connection) 2021-04-04T17:19:11Z aeth quit (Ping timeout: 240 seconds) 2021-04-04T17:20:39Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T17:21:05Z aeth joined #lisp 2021-04-04T17:21:46Z amb007 joined #lisp 2021-04-04T17:31:12Z orivej joined #lisp 2021-04-04T17:42:48Z long4mud joined #lisp 2021-04-04T17:45:03Z random-nickname quit (Quit: quit) 2021-04-04T17:46:32Z random-nick joined #lisp 2021-04-04T17:49:04Z Sheilong joined #lisp 2021-04-04T17:49:05Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T17:49:28Z amb007 joined #lisp 2021-04-04T17:53:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T17:54:11Z amb007 joined #lisp 2021-04-04T17:54:50Z skapata joined #lisp 2021-04-04T17:54:58Z cosimone joined #lisp 2021-04-04T17:56:16Z lizardman quit (Remote host closed the connection) 2021-04-04T17:56:16Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T17:57:55Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-04T17:59:07Z amb007 joined #lisp 2021-04-04T18:03:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-04T18:05:07Z amb007 joined #lisp 2021-04-04T18:18:59Z aeth quit (Ping timeout: 260 seconds) 2021-04-04T18:20:54Z aeth joined #lisp 2021-04-04T18:21:32Z Helmholtz joined #lisp 2021-04-04T18:31:32Z eden joined #lisp 2021-04-04T18:40:30Z eden quit (Remote host closed the connection) 2021-04-04T18:45:35Z nicktick quit (Ping timeout: 260 seconds) 2021-04-04T18:54:24Z ljavorsk joined #lisp 2021-04-04T18:55:21Z Bike joined #lisp 2021-04-04T18:55:21Z Bike quit (Client Quit) 2021-04-04T18:55:36Z Bike joined #lisp 2021-04-04T18:59:06Z ljavorsk quit (Ping timeout: 260 seconds) 2021-04-04T19:00:18Z Helmholtz quit (Quit: Helmholtz) 2021-04-04T19:00:24Z Feldman joined #lisp 2021-04-04T19:05:28Z thinkpad quit (Ping timeout: 265 seconds) 2021-04-04T19:05:56Z thinkpad joined #lisp 2021-04-04T19:07:01Z samlamamma joined #lisp 2021-04-04T19:08:27Z mindCrime_ joined #lisp 2021-04-04T19:08:27Z yitzi joined #lisp 2021-04-04T19:10:23Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-04T19:11:45Z rumbler31 quit (Ping timeout: 260 seconds) 2021-04-04T19:18:02Z Lycurgus joined #lisp 2021-04-04T19:18:25Z karlosz joined #lisp 2021-04-04T19:20:56Z Feldman joined #lisp 2021-04-04T19:24:54Z Bike quit (Quit: leaving) 2021-04-04T19:24:56Z armin joined #lisp 2021-04-04T19:25:15Z Bike joined #lisp 2021-04-04T19:26:22Z phossil joined #lisp 2021-04-04T19:27:17Z Inline joined #lisp 2021-04-04T19:31:54Z Bike quit (Quit: restarting) 2021-04-04T19:32:12Z Bike joined #lisp 2021-04-04T19:35:51Z dilated_dinosaur quit (Ping timeout: 260 seconds) 2021-04-04T19:38:01Z Bike: are there any existing libraries to define functions for copying objects? i'm contemplating how to duplicate a complicated data structure and don't want to duplicate work as well 2021-04-04T19:38:57Z dilated_dinosaur joined #lisp 2021-04-04T19:39:17Z hypercube joined #lisp 2021-04-04T19:39:24Z Bike: for example to define things like "when copying this kind of object in this context, this field's value doesn't need to be copied, but this other one's should be" 2021-04-04T19:39:32Z Bike: and of course handling circularity 2021-04-04T19:40:26Z thinkpad quit (Ping timeout: 240 seconds) 2021-04-04T19:41:30Z thinkpad joined #lisp 2021-04-04T19:43:51Z Shinmera: I've only seen systems that handle this in the context of serialising to another format, but not copying directly. 2021-04-04T19:44:09Z Bike: yeah, i thought that might be the case... 2021-04-04T19:44:11Z Shinmera: Ime typically the copying logic required is either trivial, or complex enough to be better as an internal function. 2021-04-04T19:45:10Z Bike: mostly i'm dreading having to write such an internal function. guess it might be inevitable 2021-04-04T19:45:21Z Shinmera: Even automated traversal of object structures is fraught with issues. I moved away from a system in my game engine that automatically scanned for resources to allocate to a manual system based on a single generic function. Way less hassle and way less error prone. 2021-04-04T19:46:10Z Lord_of_Life_ joined #lisp 2021-04-04T19:48:09Z Lord_of_Life quit (Ping timeout: 260 seconds) 2021-04-04T19:48:19Z scymtym: there was this "metacopy" system. i think it had problems, but maybe there are some ideas in there 2021-04-04T19:49:11Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-04T19:54:00Z Bike: i'll look at it, thanks. 2021-04-04T19:54:10Z Bike: i guess game resources are probably similar levels of complicated to what i'm doing. 2021-04-04T19:54:58Z cage_ quit (Quit: Leaving) 2021-04-04T19:56:13Z dilated_dinosaur quit (Ping timeout: 265 seconds) 2021-04-04T19:57:41Z dilated_dinosaur joined #lisp 2021-04-04T20:08:54Z Helmholtz joined #lisp 2021-04-04T20:09:20Z nullman quit (Ping timeout: 246 seconds) 2021-04-04T20:09:24Z cosimone quit (Remote host closed the connection) 2021-04-04T20:13:38Z akoana joined #lisp 2021-04-04T20:37:29Z Aurora_v_kosmose quit (Remote host closed the connection) 2021-04-04T20:38:05Z Aurora_v_kosmose joined #lisp 2021-04-04T20:38:45Z samlamamma quit (Ping timeout: 265 seconds) 2021-04-04T20:40:58Z nullman joined #lisp 2021-04-04T20:45:30Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-04T20:49:49Z Feldman joined #lisp 2021-04-04T20:50:38Z supercoven_ quit (Ping timeout: 240 seconds) 2021-04-04T20:50:40Z sKirchner joined #lisp 2021-04-04T20:50:53Z moon-child quit (Remote host closed the connection) 2021-04-04T20:53:37Z slyrus joined #lisp 2021-04-04T20:55:01Z slyrus quit (Remote host closed the connection) 2021-04-04T20:56:03Z moon-child joined #lisp 2021-04-04T20:57:47Z Lycurgus quit (Quit: Exeunt) 2021-04-04T20:57:55Z bendersteed joined #lisp 2021-04-04T21:04:39Z yitzi quit (Quit: yitzi) 2021-04-04T21:06:44Z bendersteed quit (Quit: bye) 2021-04-04T21:08:30Z dmiles quit (Read error: Connection reset by peer) 2021-04-04T21:11:00Z pve quit (Quit: leaving) 2021-04-04T21:11:14Z Helmholtz quit (Quit: Helmholtz) 2021-04-04T21:22:50Z gigamonkey joined #lisp 2021-04-04T21:24:16Z ljavorsk joined #lisp 2021-04-04T21:26:19Z gigamonkey: Sup folks. 2021-04-04T21:26:45Z perrier-jouet quit (Quit: WeeChat 3.1) 2021-04-04T21:27:29Z varjag: howdy 2021-04-04T21:27:49Z moon-child: yo 2021-04-04T21:29:15Z aaronm04 joined #lisp 2021-04-04T21:29:41Z gigamonkey: minion: you still here? 2021-04-04T21:29:42Z minion: what's up? 2021-04-04T21:29:45Z gigamonkey: cool cool 2021-04-04T21:36:45Z slyrus joined #lisp 2021-04-04T21:37:36Z anticrisis joined #lisp 2021-04-04T21:39:11Z aaronm04: hi all. Do you know how I would fix "No Lisp subprocess; see variable 'inferior-lisp-buffer'" in Emacs? I want to use SLIME :) 2021-04-04T21:40:06Z aaronm04: seen when selecting Lisp->Eval defun while editing a .lisp file 2021-04-04T21:41:19Z slyrus quit (Ping timeout: 252 seconds) 2021-04-04T21:41:56Z terpri quit (Remote host closed the connection) 2021-04-04T21:41:57Z terpri_ joined #lisp 2021-04-04T21:42:07Z charles`: aaronm04: you have to have start a lisp process. step 1: have a common lisp installed, step 2 run M-x slime ( think it is) 2021-04-04T21:42:41Z Bike: you may need to inform your slime what lisp to run by setting inferior-lisp-program. 2021-04-04T21:42:56Z aaronm04: ahh ok. I did run M-x slime 2021-04-04T21:43:32Z aaronm04: and I have this in my .emacs: (setq inferior-lisp-program "sbcl") 2021-04-04T21:46:17Z aaronm04: aha 2021-04-04T21:46:38Z aaronm04: after running Lisp->Run inferior lisp, everything seems to be working. I can Eval defun 2021-04-04T21:46:45Z aaronm04: sorry for the noise lol 2021-04-04T21:50:25Z vv8 quit (Ping timeout: 260 seconds) 2021-04-04T21:59:14Z slyrus joined #lisp 2021-04-04T22:03:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-04T22:03:56Z phantomics quit (Quit: Ex-Chat) 2021-04-04T22:05:34Z slyrus_ joined #lisp 2021-04-04T22:10:23Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-04T22:12:31Z h4ck3r9696 quit (Quit: Leaving.) 2021-04-04T22:12:39Z ramHero quit (Remote host closed the connection) 2021-04-04T22:13:35Z surabax quit (Quit: Leaving) 2021-04-04T22:18:48Z l1x quit (Quit: Connection closed for inactivity) 2021-04-04T22:24:38Z aartaka quit (Ping timeout: 240 seconds) 2021-04-04T22:28:05Z Josh_2: Are there any native lisp async libraries? 2021-04-04T22:31:19Z Helmholtz joined #lisp 2021-04-04T22:31:31Z no-defun-allowed: I think SBCL has a function in its socket library which calls poll/epoll and can be used to write a driver loop. But in my opinion the best async Lisp experience would be to implement green threads, use a driver loop to wake threads blocked on IO, and then implement usocket and friends using that. 2021-04-04T22:36:25Z Josh_2: I think I will just uses promises 2021-04-04T22:37:17Z Gnuxie[m]: rip conditions 2021-04-04T22:37:37Z no-defun-allowed: "Where should I get silver for making cutlery from?" "*answer*" "Never mind, I think I will make a spoon." 2021-04-04T22:38:02Z frgo quit (Remote host closed the connection) 2021-04-04T22:38:28Z frgo joined #lisp 2021-04-04T22:38:30Z Bike: there are multiple promises implementations in lisp already, at least 2021-04-04T22:38:37Z Josh_2: Yeh 2021-04-04T22:38:40Z Bike: so the spoon doesn't have to be newly forged 2021-04-04T22:39:12Z Josh_2: I don't want to make anything, this is why I asked if a library exists 2021-04-04T22:39:17Z no-defun-allowed: You still find yourself with an async library (or entirely straight-line synchronous code) though. 2021-04-04T22:41:02Z no-defun-allowed: Still, I would find myself either writing code with blocking threads, or implementing enough of do-notation to not go mad with callbacks. 2021-04-04T22:43:30Z Josh_2: Well I'm okay with synchronous code as well 2021-04-04T22:43:44Z m0xya joined #lisp 2021-04-04T22:49:09Z m0xya quit (Quit: Goodbye! 73s) 2021-04-04T22:49:25Z m0xya joined #lisp 2021-04-04T22:50:26Z edgar-rft: Josh_2: there's Bordeaux Threads if that's the kind of "async" you're talking about -> https://common-lisp.net/project/bordeaux-threads/ 2021-04-04T22:51:14Z perrier-jouet joined #lisp 2021-04-04T22:53:26Z Josh_2: Thanks edgar-rft xD 2021-04-04T22:53:44Z no-defun-allowed: edgar-rft: "async" usually refers to asynchronous IO, which I can only really describe as having an OS thread block on a single connection (unless there are no more connections to block on). Think poll, Unix AIO, io_uring, etc. 2021-04-04T22:54:21Z aeth quit (Ping timeout: 260 seconds) 2021-04-04T22:54:49Z edgar-rft: "async" refers to anything asynchronous you can imagine and is a very broad and unprecise term 2021-04-04T22:56:12Z aeth joined #lisp 2021-04-04T23:08:26Z phantomics joined #lisp 2021-04-04T23:09:15Z gaqwas quit (Ping timeout: 260 seconds) 2021-04-04T23:10:42Z slyrus_ quit (Remote host closed the connection) 2021-04-04T23:11:13Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-04T23:12:26Z Helmholtz quit (Quit: Helmholtz) 2021-04-04T23:17:47Z Helmholtz joined #lisp 2021-04-04T23:22:46Z ljavorsk quit (Ping timeout: 240 seconds) 2021-04-04T23:23:52Z slyrus joined #lisp 2021-04-04T23:24:38Z random-nick quit (Ping timeout: 246 seconds) 2021-04-04T23:25:09Z Helmholtz quit (Quit: Helmholtz) 2021-04-04T23:28:24Z slyrus quit (Ping timeout: 265 seconds) 2021-04-04T23:32:07Z heisig quit (Ping timeout: 260 seconds) 2021-04-04T23:38:40Z slyrus joined #lisp 2021-04-04T23:41:24Z slyrus quit (Read error: Connection reset by peer) 2021-04-04T23:41:37Z APic quit (Ping timeout: 245 seconds) 2021-04-04T23:42:06Z Inline quit (Ping timeout: 246 seconds) 2021-04-04T23:43:11Z orivej quit (Ping timeout: 240 seconds) 2021-04-04T23:48:18Z BBS joined #lisp 2021-04-04T23:49:54Z vv8 joined #lisp 2021-04-04T23:50:51Z indathrone quit (Quit: Leaving) 2021-04-04T23:51:13Z Alfr quit (Quit: Leaving) 2021-04-04T23:51:36Z Alfr joined #lisp 2021-04-04T23:53:07Z hypercube quit (Ping timeout: 260 seconds) 2021-04-04T23:54:26Z lotuseater quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-04T23:57:37Z Sheilong quit (Quit: Connection closed for inactivity) 2021-04-05T00:09:34Z thinkpad quit (Read error: No route to host) 2021-04-05T00:11:44Z slyrus joined #lisp 2021-04-05T00:13:16Z thinkpad joined #lisp 2021-04-05T00:14:43Z Josh_2 quit (Remote host closed the connection) 2021-04-05T00:16:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-05T00:17:32Z BBS quit 2021-04-05T00:24:49Z slyrus_ joined #lisp 2021-04-05T00:29:11Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-05T00:30:38Z slyrus joined #lisp 2021-04-05T00:30:46Z karstensrage joined #lisp 2021-04-05T00:34:12Z Kundry_W_ quit (Remote host closed the connection) 2021-04-05T00:34:28Z Kundry_Wag joined #lisp 2021-04-05T00:43:33Z APic joined #lisp 2021-04-05T00:50:05Z APic quit (Ping timeout: 265 seconds) 2021-04-05T00:50:24Z Helmholtz joined #lisp 2021-04-05T00:59:13Z Nilby quit (Ping timeout: 276 seconds) 2021-04-05T01:02:24Z curtosis[away] joined #lisp 2021-04-05T01:03:50Z kevingal quit (Remote host closed the connection) 2021-04-05T01:09:56Z karlosz quit (Quit: karlosz) 2021-04-05T01:17:34Z Kundry_Wag quit (Remote host closed the connection) 2021-04-05T01:18:09Z Kundry_Wag joined #lisp 2021-04-05T01:22:33Z semz quit (Ping timeout: 250 seconds) 2021-04-05T01:23:01Z Kundry_Wag quit (Ping timeout: 268 seconds) 2021-04-05T01:23:27Z abhixec quit (Ping timeout: 240 seconds) 2021-04-05T01:31:20Z Kundry_Wag joined #lisp 2021-04-05T01:32:44Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-05T01:33:17Z Helmholtz quit (Quit: Helmholtz) 2021-04-05T01:33:43Z huonib joined #lisp 2021-04-05T01:35:26Z huonib: can someone help me with this? I am working on a project and I am looking to use a lisp that compiles to a small binary - either ecl, chez, or chicken scheme 2021-04-05T01:35:43Z huonib: right now I am trying this with ecl but I am getting an error: https://gist.github.com/huonib/9ddddc7998c43681795309233feeeb5c 2021-04-05T01:36:09Z huonib: I used quickproject to create the project, all I did was add the hello function 2021-04-05T01:36:09Z semz joined #lisp 2021-04-05T01:36:14Z Bike: What is the error? 2021-04-05T01:37:02Z huonib: I updated the gist with it - sorry 2021-04-05T01:37:14Z huonib: Condition of type: UNDEFINED-FUNCTION 2021-04-05T01:37:15Z huonib: The function HELLO is undefined. 2021-04-05T01:37:44Z logand``` joined #lisp 2021-04-05T01:37:59Z huonib: Bike: thank you for taking your time 2021-04-05T01:38:21Z Bike: wait, sorry, what is make-build? i don't have that function in my asdf and i don't see it in the manual. 2021-04-05T01:38:26Z huonib: ... to help. god I am bad at writing. 2021-04-05T01:38:52Z huonib: Bike: found it here: https://common-lisp.net/project/ecl/static/manual/System-building.html#Compiling-with-ASDF 2021-04-05T01:38:58Z Bike: oh, it's only defined on ecl 2021-04-05T01:39:32Z Bike: well, my guess is that when the program starts, *package* is something other than helloworld 2021-04-05T01:39:42Z Bike: you could check by typing *package* in the repl there and seeing what it is 2021-04-05T01:39:55Z akoana left #lisp 2021-04-05T01:41:11Z logand`` quit (Ping timeout: 240 seconds) 2021-04-05T01:41:59Z huonib: Bike: that was it indeed 2021-04-05T01:43:01Z huonib: when does the package change automatically? I thought slime did that for some reason. 2021-04-05T01:44:41Z huonib: Bike: thank you so much though, that was really helpful 2021-04-05T01:44:54Z APic joined #lisp 2021-04-05T01:48:22Z Bike: yeah, no prob. i don't know how to use make-build, but you could probably set it in :prologue-code? 2021-04-05T01:48:48Z Bike: if i'm reading the asdf changelogs correctly, make-build is deprecaed 2021-04-05T01:49:06Z APic quit (Ping timeout: 240 seconds) 2021-04-05T01:50:43Z alanz quit (Ping timeout: 250 seconds) 2021-04-05T01:50:43Z b20n quit (Ping timeout: 250 seconds) 2021-04-05T01:50:53Z Bike: probably the new lisp starts in cl-user by default. 2021-04-05T01:51:36Z dunk quit (Ping timeout: 245 seconds) 2021-04-05T01:51:37Z buoy49 quit (Ping timeout: 245 seconds) 2021-04-05T01:52:01Z jerme_ quit (Ping timeout: 250 seconds) 2021-04-05T01:52:58Z anticrisis_ joined #lisp 2021-04-05T01:53:02Z anticrisis_ quit (Remote host closed the connection) 2021-04-05T01:53:52Z raeda joined #lisp 2021-04-05T01:54:23Z APic joined #lisp 2021-04-05T01:55:02Z anticrisis quit (Ping timeout: 252 seconds) 2021-04-05T01:55:40Z jerme_ joined #lisp 2021-04-05T01:55:43Z huonib quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-05T01:55:59Z dunk joined #lisp 2021-04-05T01:56:08Z b20n joined #lisp 2021-04-05T01:56:20Z huonib joined #lisp 2021-04-05T01:56:31Z alanz joined #lisp 2021-04-05T01:56:31Z buoy49 joined #lisp 2021-04-05T02:02:13Z ikrabbe|2 joined #lisp 2021-04-05T02:05:11Z ikrabbe quit (Ping timeout: 240 seconds) 2021-04-05T02:05:29Z matryoshka quit (Quit: ZNC 1.8.2 - https://znc.in) 2021-04-05T02:05:52Z contrapunctus left #lisp 2021-04-05T02:06:23Z contrapunctus joined #lisp 2021-04-05T02:07:41Z thinkpad quit (Ping timeout: 240 seconds) 2021-04-05T02:08:41Z huonib: huh - I didn't have that much faith in ECL, since I heard nobody really uses it, but it generates a binary of 2.1 MB whereas chicken scheme is at 4.6 MB 2021-04-05T02:08:44Z huonib: that's impressive 2021-04-05T02:08:58Z slyrus quit (Remote host closed the connection) 2021-04-05T02:09:21Z Bike: ecl is actively developed. i don't use it regularly but it sounds like it works fine 2021-04-05T02:09:48Z thinkpad joined #lisp 2021-04-05T02:10:12Z huonib: Bike: that is great to hear 2021-04-05T02:11:26Z contrapunctus left #lisp 2021-04-05T02:11:36Z contrapunctus joined #lisp 2021-04-05T02:11:42Z slyrus joined #lisp 2021-04-05T02:12:11Z huonib: Bike: I am a complete idiot, so bear with me, but chicken scheme can compile without the runtime - is that possible with ecl? 2021-04-05T02:12:39Z Bike: what, like freestanding C? 2021-04-05T02:13:24Z huonib: Bike: https://wiki.call-cc.org/generating%20the%20smallest%20possible,%20self-contained%20executable 2021-04-05T02:13:48Z huonib: Bike: what do you mean by freestanding C? 2021-04-05T02:15:10Z Bike: the C standard uses the term 'freestanding' to mean implementations that almost entirely lack runtime support 2021-04-05T02:15:31Z Bike: but i see this chicken example still uses the c runtime 2021-04-05T02:15:38Z Bike: just not the chicken runtime 2021-04-05T02:15:47Z slyrus_ joined #lisp 2021-04-05T02:15:52Z huonib: oh, sorry, I should have been clearer. 2021-04-05T02:15:57Z Bike: i have no idea if ecl supports this 2021-04-05T02:16:02Z slyrus_ quit (Remote host closed the connection) 2021-04-05T02:16:36Z slyrus quit (Ping timeout: 265 seconds) 2021-04-05T02:17:02Z Bike: i think there's an #ecl channel, and also jackdaniel comes around here and is a maintainer 2021-04-05T02:17:08Z Bike: if this isn't covered in the manual 2021-04-05T02:17:43Z nitrix quit (Quit: Genius is one percent inspiration and ninety-nine percent perspiration) 2021-04-05T02:18:57Z slyrus joined #lisp 2021-04-05T02:19:02Z Bike: trying to reduce binary size is kind of a niche concern, so support could be lacking 2021-04-05T02:19:13Z cchristiansen joined #lisp 2021-04-05T02:19:17Z huonib: Bike: thank you 2021-04-05T02:19:19Z Bike: you can link the ecl runtime as a shared object, i'm pretty sure 2021-04-05T02:21:34Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T02:21:53Z slyrus joined #lisp 2021-04-05T02:24:15Z nitrix joined #lisp 2021-04-05T02:24:34Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T02:24:58Z slyrus joined #lisp 2021-04-05T02:25:42Z huonib quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-05T02:28:03Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T02:28:13Z slyrus joined #lisp 2021-04-05T02:30:52Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T02:31:14Z slyrus joined #lisp 2021-04-05T02:31:25Z Helmholtz joined #lisp 2021-04-05T02:34:27Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T02:34:27Z slyrus_ joined #lisp 2021-04-05T02:36:54Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T02:37:20Z slyrus joined #lisp 2021-04-05T02:40:44Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T02:40:57Z slyrus joined #lisp 2021-04-05T02:43:56Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T02:44:05Z slyrus joined #lisp 2021-04-05T02:46:11Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-05T02:47:36Z slyrus_ joined #lisp 2021-04-05T02:47:43Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T02:50:04Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T02:50:30Z slyrus joined #lisp 2021-04-05T02:53:04Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T02:53:31Z slyrus joined #lisp 2021-04-05T02:56:25Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T02:56:52Z slyrus joined #lisp 2021-04-05T02:59:30Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T02:59:48Z slyrus joined #lisp 2021-04-05T03:01:34Z beach: Good morning everyone! 2021-04-05T03:01:43Z Alfr is now known as Guest58901 2021-04-05T03:01:43Z Guest58901 quit (Killed (egan.freenode.net (Nickname regained by services))) 2021-04-05T03:01:48Z Alfr joined #lisp 2021-04-05T03:02:38Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T03:02:46Z slyrus joined #lisp 2021-04-05T03:05:11Z raeda: Good morning! 2021-04-05T03:05:11Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T03:05:40Z slyrus joined #lisp 2021-04-05T03:07:33Z beach: Hey raeda. Did you get in touch with easye about ABCL? 2021-04-05T03:07:54Z raeda: No, haven't heard back yet 2021-04-05T03:08:21Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T03:08:45Z slyrus joined #lisp 2021-04-05T03:11:23Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T03:11:47Z slyrus joined #lisp 2021-04-05T03:14:03Z Stanley00 joined #lisp 2021-04-05T03:14:14Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T03:14:39Z slyrus joined #lisp 2021-04-05T03:16:56Z Helmholtz quit (Quit: Helmholtz) 2021-04-05T03:17:27Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T03:17:45Z slyrus joined #lisp 2021-04-05T03:20:13Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T03:20:35Z slyrus joined #lisp 2021-04-05T03:23:27Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T03:23:50Z slyrus joined #lisp 2021-04-05T03:26:30Z curtosis joined #lisp 2021-04-05T03:26:45Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T03:26:50Z slyrus_ joined #lisp 2021-04-05T03:27:52Z Kundry_Wag quit (Remote host closed the connection) 2021-04-05T03:29:57Z slyrus joined #lisp 2021-04-05T03:31:07Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-05T03:32:36Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T03:33:05Z slyrus joined #lisp 2021-04-05T03:36:02Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T03:36:16Z slyrus joined #lisp 2021-04-05T03:37:23Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-05T03:38:32Z Oladon joined #lisp 2021-04-05T03:39:25Z slyrus_ joined #lisp 2021-04-05T03:39:31Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T03:40:58Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-05T03:42:33Z skapata is now known as skapatov 2021-04-05T03:42:33Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T03:42:45Z slyrus joined #lisp 2021-04-05T04:01:57Z luckless quit (Ping timeout: 240 seconds) 2021-04-05T04:04:30Z Kundry_Wag joined #lisp 2021-04-05T04:08:41Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-05T04:10:53Z Noisytoot quit (Quit: ZNC 1.8.2 - https://znc.in) 2021-04-05T04:18:55Z Bike quit (Quit: leaving) 2021-04-05T04:25:08Z abhixec joined #lisp 2021-04-05T04:34:50Z curtosis[away] joined #lisp 2021-04-05T04:37:37Z drewc quit (Ping timeout: 276 seconds) 2021-04-05T04:38:12Z Oladon quit (Quit: Leaving.) 2021-04-05T04:38:47Z drewc joined #lisp 2021-04-05T04:38:53Z ozzloy_ quit (Ping timeout: 252 seconds) 2021-04-05T04:39:01Z ozzloy joined #lisp 2021-04-05T04:43:41Z orivej joined #lisp 2021-04-05T04:46:18Z yonkunas quit (Quit: Connection closed for inactivity) 2021-04-05T04:49:12Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-05T05:10:44Z nicktick joined #lisp 2021-04-05T05:11:43Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-05T05:15:48Z sz0 joined #lisp 2021-04-05T05:25:13Z Rhenn joined #lisp 2021-04-05T05:25:20Z nigggg joined #lisp 2021-04-05T05:25:27Z nigggg: Greetings 2021-04-05T05:26:07Z moshes joined #lisp 2021-04-05T05:26:29Z beach: Hello nigggg. 2021-04-05T05:27:07Z beach: nigggg: Are you new here? I don't recognize your nick. 2021-04-05T05:27:47Z nigggg: I'm on an alt 2021-04-05T05:27:57Z nigggg: I am equwal 2021-04-05T05:28:03Z beach: Oh, OK. 2021-04-05T05:29:01Z nigggg: Currently installing linux on my laptop because my old one had a fan malfunction. 2021-04-05T05:29:09Z nigggg: so alt 2021-04-05T05:31:04Z Rhenn quit (Quit: Connection closed) 2021-04-05T05:43:43Z nigggg quit (Ping timeout: 240 seconds) 2021-04-05T05:45:57Z cantstanya quit (Ping timeout: 240 seconds) 2021-04-05T05:49:55Z Kundry_Wag joined #lisp 2021-04-05T05:53:05Z cantstanya joined #lisp 2021-04-05T05:56:01Z cantstanya quit (Remote host closed the connection) 2021-04-05T05:58:13Z cantstanya joined #lisp 2021-04-05T06:08:45Z phossil quit (Quit: Konversation terminated!) 2021-04-05T06:12:28Z abhixec quit (Ping timeout: 265 seconds) 2021-04-05T06:28:19Z susam: Good morning, everyone! 2021-04-05T06:28:28Z susam: Good morning, beach! 2021-04-05T06:28:48Z beach: Hello susam. 2021-04-05T06:29:50Z slyrus quit (Remote host closed the connection) 2021-04-05T06:30:43Z slyrus joined #lisp 2021-04-05T06:32:28Z slyrus_ joined #lisp 2021-04-05T06:32:28Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T06:34:49Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T06:35:15Z slyrus joined #lisp 2021-04-05T06:37:46Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T06:38:14Z slyrus joined #lisp 2021-04-05T06:40:46Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T06:41:14Z slyrus joined #lisp 2021-04-05T06:43:44Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T06:44:09Z slyrus joined #lisp 2021-04-05T06:46:58Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T06:47:28Z slyrus joined #lisp 2021-04-05T06:47:39Z Kundry_Wag quit (Remote host closed the connection) 2021-04-05T06:50:25Z slyrus_ joined #lisp 2021-04-05T06:51:47Z slyrus quit (Ping timeout: 240 seconds) 2021-04-05T06:53:22Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T06:53:38Z slyrus joined #lisp 2021-04-05T06:56:53Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T06:56:58Z slyrus_ joined #lisp 2021-04-05T06:58:53Z karlosz joined #lisp 2021-04-05T07:00:08Z slyrus joined #lisp 2021-04-05T07:01:51Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-05T07:03:05Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T07:03:08Z slyrus_ joined #lisp 2021-04-05T07:06:08Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T07:06:28Z slyrus joined #lisp 2021-04-05T07:09:37Z h4ck3r9696 joined #lisp 2021-04-05T07:09:43Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T07:09:45Z slyrus_ joined #lisp 2021-04-05T07:12:35Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T07:12:57Z slyrus joined #lisp 2021-04-05T07:15:30Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T07:15:57Z slyrus joined #lisp 2021-04-05T07:18:34Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T07:18:59Z slyrus joined #lisp 2021-04-05T07:21:42Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T07:22:04Z slyrus joined #lisp 2021-04-05T07:24:58Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T07:25:19Z slyrus joined #lisp 2021-04-05T07:28:23Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T07:28:34Z slyrus joined #lisp 2021-04-05T07:28:55Z surabax joined #lisp 2021-04-05T07:31:44Z slyrus_ joined #lisp 2021-04-05T07:31:50Z aartaka joined #lisp 2021-04-05T07:32:02Z nicktick quit (Read error: Connection reset by peer) 2021-04-05T07:32:05Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T07:34:55Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T07:35:15Z slyrus joined #lisp 2021-04-05T07:37:59Z random-nick joined #lisp 2021-04-05T07:38:15Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T07:38:33Z slyrus joined #lisp 2021-04-05T07:40:57Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T07:41:24Z slyrus joined #lisp 2021-04-05T07:44:04Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T07:44:25Z slyrus joined #lisp 2021-04-05T07:44:45Z galex-713 joined #lisp 2021-04-05T07:45:58Z gaqwas joined #lisp 2021-04-05T07:46:46Z Adamclisi joined #lisp 2021-04-05T07:47:15Z slyrus_ joined #lisp 2021-04-05T07:49:07Z slyrus quit (Ping timeout: 260 seconds) 2021-04-05T07:49:55Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T07:50:12Z slyrus joined #lisp 2021-04-05T07:53:08Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T07:53:37Z slyrus joined #lisp 2021-04-05T07:56:29Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T07:56:49Z slyrus joined #lisp 2021-04-05T07:59:34Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T07:59:51Z slyrus joined #lisp 2021-04-05T08:02:41Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T08:03:01Z slyrus joined #lisp 2021-04-05T08:03:41Z heisig joined #lisp 2021-04-05T08:05:58Z slyrus_ joined #lisp 2021-04-05T08:06:51Z hendursa1 joined #lisp 2021-04-05T08:07:11Z slyrus quit (Ping timeout: 246 seconds) 2021-04-05T08:09:03Z slyrus joined #lisp 2021-04-05T08:09:09Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-05T08:09:10Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T08:12:20Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T08:12:24Z slyrus_ joined #lisp 2021-04-05T08:15:26Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T08:15:43Z slyrus joined #lisp 2021-04-05T08:19:01Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T08:19:12Z slyrus joined #lisp 2021-04-05T08:22:16Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T08:22:38Z slyrus joined #lisp 2021-04-05T08:24:04Z eden joined #lisp 2021-04-05T08:26:01Z slyrus_ joined #lisp 2021-04-05T08:26:22Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T08:27:53Z ironman3000 joined #lisp 2021-04-05T08:28:58Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T08:29:26Z slyrus joined #lisp 2021-04-05T08:31:53Z aartaka_d joined #lisp 2021-04-05T08:32:55Z slyrus_ joined #lisp 2021-04-05T08:33:08Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T08:34:07Z aartaka quit (Ping timeout: 240 seconds) 2021-04-05T08:36:11Z ironman3000 left #lisp 2021-04-05T08:36:14Z slyrus joined #lisp 2021-04-05T08:37:39Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-05T08:39:05Z slyrus_ joined #lisp 2021-04-05T08:39:10Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T08:41:35Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T08:42:00Z slyrus joined #lisp 2021-04-05T08:42:23Z cosimone joined #lisp 2021-04-05T08:44:49Z slyrus_ joined #lisp 2021-04-05T08:46:31Z slyrus quit (Ping timeout: 260 seconds) 2021-04-05T08:47:50Z slyrus joined #lisp 2021-04-05T08:49:02Z sz0 quit (Quit: Connection closed for inactivity) 2021-04-05T08:49:11Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-05T08:50:37Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T08:50:54Z slyrus joined #lisp 2021-04-05T08:53:34Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T08:53:57Z ech quit (Ping timeout: 240 seconds) 2021-04-05T08:54:02Z slyrus joined #lisp 2021-04-05T08:56:48Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T08:57:00Z slyrus joined #lisp 2021-04-05T08:57:02Z zaquest quit (Quit: Leaving) 2021-04-05T08:58:51Z zaquest joined #lisp 2021-04-05T08:59:39Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T08:59:54Z slyrus joined #lisp 2021-04-05T09:02:30Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:02:52Z slyrus joined #lisp 2021-04-05T09:04:33Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-05T09:05:42Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:06:12Z slyrus joined #lisp 2021-04-05T09:08:15Z Stanley00 quit (Remote host closed the connection) 2021-04-05T09:09:27Z slyrus_ joined #lisp 2021-04-05T09:09:29Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:12:10Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T09:12:37Z slyrus joined #lisp 2021-04-05T09:15:27Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:15:52Z slyrus joined #lisp 2021-04-05T09:18:15Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:18:39Z slyrus joined #lisp 2021-04-05T09:21:13Z Feldman joined #lisp 2021-04-05T09:21:27Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:21:46Z slyrus joined #lisp 2021-04-05T09:24:38Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:25:03Z slyrus joined #lisp 2021-04-05T09:27:38Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:28:00Z slyrus joined #lisp 2021-04-05T09:30:23Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:30:47Z slyrus joined #lisp 2021-04-05T09:33:26Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:33:49Z slyrus joined #lisp 2021-04-05T09:36:34Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:36:57Z slyrus joined #lisp 2021-04-05T09:38:52Z ljavorsk joined #lisp 2021-04-05T09:39:58Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:40:07Z slyrus joined #lisp 2021-04-05T09:42:59Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:43:20Z slyrus joined #lisp 2021-04-05T09:45:46Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:46:07Z slyrus joined #lisp 2021-04-05T09:48:26Z luckless joined #lisp 2021-04-05T09:48:38Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:49:07Z slyrus joined #lisp 2021-04-05T09:52:10Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T09:52:18Z slyrus joined #lisp 2021-04-05T09:53:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-05T09:55:25Z slyrus_ joined #lisp 2021-04-05T09:56:38Z slyrus quit (Ping timeout: 240 seconds) 2021-04-05T09:58:30Z slyrus joined #lisp 2021-04-05T09:59:47Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-05T09:59:53Z dilated_dinosaur quit (Ping timeout: 246 seconds) 2021-04-05T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-05T10:00:19Z luis: I've just noticed that SLIME's presentations weakly reference their respective object: they don't prevent the object from being GCed and if the object is GCed, the presentation is disabled (it turns into plain text). I'd never noticed this before. Is this how LispM/CLIM presentations work too? 2021-04-05T10:01:08Z loke[m]1: luis: that's not how they behaved in the past. I'm pretty sure I needed to C-x M-o to lose the references to them. 2021-04-05T10:01:18Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T10:01:29Z slyrus joined #lisp 2021-04-05T10:04:03Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T10:04:26Z moshes quit (Ping timeout: 260 seconds) 2021-04-05T10:04:27Z slyrus joined #lisp 2021-04-05T10:04:42Z dilated_dinosaur joined #lisp 2021-04-05T10:04:58Z luis: loke[m]1: I was under that impression too, but *object-to-presentation-id* and *presentation-id-to-object* have been weak hash-tables for well over a decade and I don't think the REPL has ever stored them anywhere but * ** ** / // //. At some point (2006-ish?) SBCL didn't support weak hash-tables. 2021-04-05T10:05:36Z rick-monster joined #lisp 2021-04-05T10:06:41Z loke[m]1: luis: Perhaps the reference is held somewhere else. I just tried creating a large array, leaving it in a presentation and did a (gc :full t) 2021-04-05T10:06:53Z loke[m]1: I did several actually. And the presentation still works. 2021-04-05T10:07:25Z slyrus_ joined #lisp 2021-04-05T10:07:35Z luis: loke[m]1: did you evaluate enough subsequent forms to clear it from * ** ***? 2021-04-05T10:07:52Z Stanley00 joined #lisp 2021-04-05T10:08:35Z karlosz quit (Quit: karlosz) 2021-04-05T10:08:36Z loke[m]1: The 5 evaluations of (gc :full t) should have been enough, but for good measure I did about 10 more evaluations of simple numbers followed by a few more gc's. 2021-04-05T10:09:18Z slyrus quit (Ping timeout: 265 seconds) 2021-04-05T10:10:22Z slyrus joined #lisp 2021-04-05T10:10:59Z kevingal joined #lisp 2021-04-05T10:11:47Z slyrus_ quit (Ping timeout: 246 seconds) 2021-04-05T10:12:13Z luis: loke[m]1: how did you determine the presentation still works? 2021-04-05T10:13:03Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T10:13:17Z slyrus joined #lisp 2021-04-05T10:13:53Z luis: Try right clicking it. 2021-04-05T10:14:38Z loke[m]1: luis: Well, I went to it and typed C-c C-v TAB. But yes, right-clicking also works. 2021-04-05T10:16:07Z luis: loke[m]1: Well, I'm stumped. That's not the behaviour I'm seeing. 2021-04-05T10:16:31Z loke[m]1: I use the version of SLIME synced from the git repository today. 2021-04-05T10:16:34Z minion quit (Read error: Connection reset by peer) 2021-04-05T10:16:35Z specbot quit (Read error: Connection reset by peer) 2021-04-05T10:17:11Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T10:17:11Z slyrus_ joined #lisp 2021-04-05T10:17:37Z luis: We need a third volunteer to try and reproduce this. :-) 2021-04-05T10:18:08Z luis looks around 2021-04-05T10:18:53Z minion joined #lisp 2021-04-05T10:18:53Z specbot joined #lisp 2021-04-05T10:19:31Z luis: Anyone with SBCL and SLIME on hand? 2021-04-05T10:19:47Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T10:20:07Z slyrus joined #lisp 2021-04-05T10:20:34Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-05T10:20:39Z no-defun-allowed: I remember copying the presentation to another buffer, and then doing some more stuff, including clearing output, then the presentation would stop working. 2021-04-05T10:20:53Z lotuseater joined #lisp 2021-04-05T10:21:48Z varjag joined #lisp 2021-04-05T10:22:10Z luis: no-defun-allowed: that's expected since clearing output clears presentations (or it tries to, I'm baffled by that particular bit of code too, but that's another story) 2021-04-05T10:22:52Z slyrus_ joined #lisp 2021-04-05T10:22:53Z no-defun-allowed: Ah, I am talking about something else. /me rereads 2021-04-05T10:24:20Z no-defun-allowed: CLIM presentations would strongly reference from memory, else they could not be ACCEPTed or used for gesture translation(?) later, and I don't recall reading that the implementation could allow ACCEPT to stop working for whatever reason. 2021-04-05T10:24:30Z luis: So, the test case is: evaluate the following forms in the slime-repl one by one: (make-array 10), 1, 2, 3, (gc :full t) then right click (or C-c C-v TAB) the array presentation. I get "object no longer recorded" but it works for loke[m]1 for some reason. 2021-04-05T10:24:46Z slyrus quit (Ping timeout: 265 seconds) 2021-04-05T10:25:02Z no-defun-allowed: But I also agree that I thought *slime-repl* served as "roots" somehow. 2021-04-05T10:25:33Z luis: We're all in agreement about how it /should/ work so far. :-) 2021-04-05T10:25:51Z no-defun-allowed: Huh, it does in fact say "Object no longer recorded" in the right-click menu, and then it ceases to be clickable. 2021-04-05T10:25:58Z Stanley00 quit 2021-04-05T10:26:05Z luis: Ah, a confirmation. That's nice. 2021-04-05T10:26:24Z slyrus joined #lisp 2021-04-05T10:26:31Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T10:27:32Z luis: no-defun-allowed: thanks. loke[m]1: not sure why you're getting different results. 2021-04-05T10:27:52Z amb007 joined #lisp 2021-04-05T10:28:17Z rick-monster: luis I couldn't repro (assuming 1,2,3 means wait 3 seconds) 2021-04-05T10:29:02Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T10:29:06Z no-defun-allowed: It means to evaluate 1, then evaluate 2, then evaluate 3, in order to clear out the "history" variables. 2021-04-05T10:29:20Z slyrus joined #lisp 2021-04-05T10:31:08Z rick-monster: in that case I can repro - C-c C-v TAB results in "Attempt to access unrecorded object (id 94)" 2021-04-05T10:31:49Z eden quit (Remote host closed the connection) 2021-04-05T10:31:57Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T10:32:16Z eden joined #lisp 2021-04-05T10:32:22Z slyrus joined #lisp 2021-04-05T10:34:31Z rick-monster: software versions for repro: sbcl 2.0.8, swank/slime 2.26.1, linux. 2021-04-05T10:34:49Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T10:34:52Z h4ck3r9696 left #lisp 2021-04-05T10:35:00Z aartaka joined #lisp 2021-04-05T10:35:10Z slyrus joined #lisp 2021-04-05T10:37:15Z vegansbane6963 joined #lisp 2021-04-05T10:37:27Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-05T10:38:04Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T10:38:09Z slyrus_ joined #lisp 2021-04-05T10:38:09Z frgo quit (Remote host closed the connection) 2021-04-05T10:38:33Z frgo joined #lisp 2021-04-05T10:40:06Z luis: rick-monster: thanks. 2021-04-05T10:41:12Z slyrus joined #lisp 2021-04-05T10:42:11Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-05T10:43:43Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T10:44:04Z slyrus joined #lisp 2021-04-05T10:46:23Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T10:46:52Z slyrus joined #lisp 2021-04-05T10:49:43Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T10:49:48Z slyrus_ joined #lisp 2021-04-05T10:52:57Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T10:52:58Z slyrus joined #lisp 2021-04-05T10:55:45Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T10:56:06Z slyrus joined #lisp 2021-04-05T10:56:49Z yitzi joined #lisp 2021-04-05T10:56:55Z yitzi quit (Remote host closed the connection) 2021-04-05T10:58:57Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T10:59:05Z slyrus joined #lisp 2021-04-05T11:01:36Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T11:01:51Z skapatov quit (Ping timeout: 260 seconds) 2021-04-05T11:02:05Z slyrus joined #lisp 2021-04-05T11:03:24Z rick-monster: I'm dusting off an old music-control framework I wrote for lisp-on-linux and would like to discuss an aspect of the design. 2021-04-05T11:03:37Z rick-monster: the project is called 'serial hub' because it aggregates events from serial devices (eg midi, OSC, other usb music-controller peripherals). Currently each serial device or network socket has dedicated blocking thread to translate incoming serial data from a stream to lisp object. lisp objects from various sources are aggregated by sending them into a threadsafe channel (lisp library calispel). application layer simply re 2021-04-05T11:03:37Z rick-monster: out of channel - easy event loop programming. 2021-04-05T11:04:29Z Feldman joined #lisp 2021-04-05T11:04:35Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T11:04:57Z slyrus joined #lisp 2021-04-05T11:05:38Z rick-monster: thought for a while I should make the framework single-threaded. Rather than threads aggregate threadsafe channel, better to poll a group of file-descriptors in event-loop idle phase. I suspect this makes timing more deterministic when run on single-core linux. 2021-04-05T11:07:47Z slyrus_ joined #lisp 2021-04-05T11:07:49Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T11:10:25Z rick-monster: now, 2 questions... 2021-04-05T11:10:38Z rick-monster: 1. will I run into horrible insurmountable problems with this file-descriptor-polling approach (sbcl/ccl for linux x86/ARM) when USB cable of a serial device is unexpectedly pulled? 2021-04-05T11:10:53Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T11:10:55Z slyrus joined #lisp 2021-04-05T11:11:19Z no-defun-allowed: I think polling allows you to detect errors somehow, but I forgot how. 2021-04-05T11:11:22Z rick-monster: 2. is there a good existing lisp library which will handle the file-descriptor-polling part? 2021-04-05T11:11:46Z luis: rick-monster: if you're going to serialize event handling anyway polling a group of fds seems better, but nothing beats testing. iolib seems like a good candidate for that. 2021-04-05T11:11:56Z no-defun-allowed: There's an array of file descriptors and flags you pass, and one of those flags is to poll for errors. 2021-04-05T11:13:30Z skapata joined #lisp 2021-04-05T11:13:52Z slyrus_ joined #lisp 2021-04-05T11:14:29Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-05T11:15:23Z slyrus quit (Ping timeout: 260 seconds) 2021-04-05T11:16:33Z Feldman joined #lisp 2021-04-05T11:16:43Z rick-monster: no-defun-allowed: think I remember previously hitting a case where reading a now-unplugged USB-device file descriptor raises a signal which got mis-handled by sbcl causing a meltdown. Maybe this poll-for-errors is the trick I was missing 2021-04-05T11:17:19Z slyrus joined #lisp 2021-04-05T11:17:28Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T11:17:30Z no-defun-allowed: You might also want to handle the signal then. 2021-04-05T11:17:39Z luis: rick-monster: that seems like a problem that would happen regardless of polling strategy. 2021-04-05T11:19:46Z dilated_dinosaur quit (Ping timeout: 240 seconds) 2021-04-05T11:19:47Z rick-monster: luis, no-defun-allowed thanks for your input. think I need to approach the problem with a new mini-project which simply reads/writes a single serial device via iolib, but correctly detects and handles USB hotplugging 2021-04-05T11:20:20Z slyrus_ joined #lisp 2021-04-05T11:21:38Z slyrus quit (Ping timeout: 240 seconds) 2021-04-05T11:23:13Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T11:23:14Z slyrus joined #lisp 2021-04-05T11:25:45Z skapata quit (Remote host closed the connection) 2021-04-05T11:25:53Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T11:26:20Z slyrus joined #lisp 2021-04-05T11:29:16Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T11:29:40Z slyrus joined #lisp 2021-04-05T11:31:55Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T11:32:20Z slyrus joined #lisp 2021-04-05T11:34:01Z dilated_dinosaur joined #lisp 2021-04-05T11:34:19Z Helmholtz joined #lisp 2021-04-05T11:34:52Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T11:35:17Z slyrus joined #lisp 2021-04-05T11:37:58Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T11:38:12Z slyrus joined #lisp 2021-04-05T11:40:24Z klltkr joined #lisp 2021-04-05T11:41:10Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T11:41:15Z slyrus_ joined #lisp 2021-04-05T11:44:54Z slyrus joined #lisp 2021-04-05T11:45:02Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T11:47:29Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T11:47:54Z slyrus joined #lisp 2021-04-05T11:49:14Z frost-lab joined #lisp 2021-04-05T11:50:44Z Adamclisi quit (Quit: Leaving) 2021-04-05T11:50:45Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T11:50:59Z slyrus joined #lisp 2021-04-05T11:52:19Z Adamclisi joined #lisp 2021-04-05T11:52:47Z kevingal: I'm trying to implement streams using macros. So I can write (scons (/ 1 0) empty-stream) and it'll expand to something like (cons (quote (/ 1 0)) nil). 2021-04-05T11:52:57Z Helmholtz quit (Quit: Helmholtz) 2021-04-05T11:52:57Z kevingal: Then the head can be evaluated later. 2021-04-05T11:53:29Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T11:53:50Z kevingal: But of course I've found that this doesn't work when I do something like (scons (+ a b) empty-stream) because the "a" and "b" are no longer bound when I try to evaluate the head. 2021-04-05T11:53:57Z slyrus joined #lisp 2021-04-05T11:55:06Z kevingal: Is there a way to capture the environment? Or is that a pants-on-head thing to do? 2021-04-05T11:55:45Z Xach: kevingal: you could expand into (lambda () ...) and funcall it to get the value. 2021-04-05T11:55:52Z Inline joined #lisp 2021-04-05T11:56:37Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T11:56:44Z no-defun-allowed: Yes, usually you implement lazy conses with a macro that expands to something with (lambda ()
) wrapping the car and cdr. 2021-04-05T11:56:45Z slyrus joined #lisp 2021-04-05T11:59:54Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T11:59:58Z Bike joined #lisp 2021-04-05T12:00:02Z slyrus joined #lisp 2021-04-05T12:02:47Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T12:03:12Z slyrus joined #lisp 2021-04-05T12:03:24Z kevingal: Riiiight, that makes sense. Thank you. 2021-04-05T12:04:23Z cage_ joined #lisp 2021-04-05T12:06:12Z slyrus_ joined #lisp 2021-04-05T12:07:41Z slyrus quit (Ping timeout: 260 seconds) 2021-04-05T12:08:09Z aggin joined #lisp 2021-04-05T12:08:20Z aggin: anyone here ever tried using lquery with cl-arrows ? 2021-04-05T12:09:13Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T12:09:17Z slyrus joined #lisp 2021-04-05T12:09:23Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-05T12:11:57Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T12:12:23Z slyrus joined #lisp 2021-04-05T12:14:11Z aggin quit (Ping timeout: 240 seconds) 2021-04-05T12:14:56Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T12:15:10Z slyrus joined #lisp 2021-04-05T12:16:01Z Helmholtz joined #lisp 2021-04-05T12:17:36Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T12:18:02Z slyrus joined #lisp 2021-04-05T12:18:35Z Helmholtz quit (Client Quit) 2021-04-05T12:18:36Z Feldman joined #lisp 2021-04-05T12:21:14Z slyrus_ joined #lisp 2021-04-05T12:22:42Z slyrus quit (Ping timeout: 265 seconds) 2021-04-05T12:23:22Z cchristiansen quit (Remote host closed the connection) 2021-04-05T12:24:12Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T12:24:23Z slyrus joined #lisp 2021-04-05T12:26:50Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T12:27:11Z slyrus joined #lisp 2021-04-05T12:29:34Z aggin joined #lisp 2021-04-05T12:30:03Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T12:30:21Z slyrus joined #lisp 2021-04-05T12:31:28Z sKirchner quit (Quit: Reconnecting) 2021-04-05T12:32:11Z aggin: https://pastebin.com/zeiWE1KL 2021-04-05T12:32:25Z aggin: Why is lquery:$ acting up ? 2021-04-05T12:32:50Z aggin: when I put lquery:$ under a different function name, it works perfectly fine 2021-04-05T12:32:59Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T12:33:11Z slyrus joined #lisp 2021-04-05T12:35:44Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T12:35:46Z aggin: https://pastebin.com/GYz1WbtN 2021-04-05T12:35:50Z aggin: this works perfectly fine 2021-04-05T12:36:10Z slyrus joined #lisp 2021-04-05T12:38:35Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T12:38:43Z Bike: are the macroexpansions different? other than the name obviously 2021-04-05T12:39:00Z slyrus joined #lisp 2021-04-05T12:39:16Z aggin: from what the SBCL error tells me, I think so 2021-04-05T12:39:35Z Bike: have you looked at them? like with macroexpand-1? 2021-04-05T12:39:54Z aggin: I did it with sly-macroexpand-1, it gave the one I've sent 2021-04-05T12:39:57Z aggin: the expected one 2021-04-05T12:40:16Z aggin: but when doing macroexpand-1 in the function, it gives an error before I can see the end result 2021-04-05T12:41:41Z aggin: idk why the 1st arg to -<>> goes to the 2nd arg 2021-04-05T12:41:50Z phoe: for whatever reason lquery:$ funges the CONCATENATE call 2021-04-05T12:41:55Z aggin: *2nd arg to -<>> goes to the 1st arg 2021-04-05T12:41:59Z aggin: phoe: yeah 2021-04-05T12:42:05Z slyrus_ joined #lisp 2021-04-05T12:42:20Z phoe: the arrow expands into (AREF (LQUERY:$ DATA (CONCATENATE 'STRING ".cb-lv-scr-mtch-hdr a[href*=" QUERY "].text-bold")) 0) 2021-04-05T12:42:21Z motersen quit (Ping timeout: 240 seconds) 2021-04-05T12:42:29Z aggin: which is what I want 2021-04-05T12:42:34Z phoe: which is what does not compile 2021-04-05T12:42:39Z aggin: but when I run it, the SBCL error shows me something else 2021-04-05T12:42:47Z Bike: oh, yeah, looking at $ there, it doesn't look like you can just put normal code in there? 2021-04-05T12:43:03Z aggin: wdym ? 2021-04-05T12:43:06Z slyrus quit (Ping timeout: 240 seconds) 2021-04-05T12:43:12Z aggin: putting something other than lquery:$ ? 2021-04-05T12:43:14Z aggin: yeah that works fine 2021-04-05T12:43:39Z Bike: i man, you're doing ($ (concatenate ...) ...), and it looks like $ does something with lists other than normally executing them? 2021-04-05T12:43:47Z Bike: from the docstring 2021-04-05T12:43:56Z Bike: https://github.com/Shinmera/lquery/blob/master/lquery.lisp#L91-L96 2021-04-05T12:44:36Z Nilby joined #lisp 2021-04-05T12:44:46Z aggin: hmm so I think concatenate is in LQUERY-MACROS 2021-04-05T12:45:07Z slyrus joined #lisp 2021-04-05T12:45:07Z phoe: yes, looks like $ does lots of stuff under the hood and it implements its own DSL in place of stndard Lisp 2021-04-05T12:45:09Z Shinmera: Lquery treats function names specially to avoid requiring you to prefix them all with the package name. 2021-04-05T12:45:24Z aggin: guess I should use a let statement for concatenate 2021-04-05T12:45:35Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T12:47:18Z motersen joined #lisp 2021-04-05T12:47:22Z Kundry_Wag joined #lisp 2021-04-05T12:48:29Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T12:48:54Z slyrus joined #lisp 2021-04-05T12:50:21Z aggin quit (Quit: WeeChat 3.1) 2021-04-05T12:52:20Z slyrus_ joined #lisp 2021-04-05T12:53:25Z slyrus quit (Ping timeout: 260 seconds) 2021-04-05T12:53:36Z ljavorsk quit (Ping timeout: 260 seconds) 2021-04-05T12:55:04Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T12:55:19Z slyrus joined #lisp 2021-04-05T12:55:46Z Kundry_Wag quit (Remote host closed the connection) 2021-04-05T12:55:59Z Kundry_Wag joined #lisp 2021-04-05T12:58:37Z slyrus_ joined #lisp 2021-04-05T12:58:45Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T13:01:02Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T13:01:31Z slyrus joined #lisp 2021-04-05T13:04:23Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T13:04:32Z slyrus joined #lisp 2021-04-05T13:05:40Z frost-lab quit (Quit: Connection closed) 2021-04-05T13:07:51Z slyrus_ joined #lisp 2021-04-05T13:09:05Z wsinatra joined #lisp 2021-04-05T13:09:06Z slyrus quit (Ping timeout: 265 seconds) 2021-04-05T13:10:33Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T13:10:43Z slyrus joined #lisp 2021-04-05T13:13:52Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T13:14:05Z slyrus joined #lisp 2021-04-05T13:16:39Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T13:17:05Z slyrus joined #lisp 2021-04-05T13:19:32Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T13:19:59Z slyrus joined #lisp 2021-04-05T13:22:57Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T13:23:05Z slyrus joined #lisp 2021-04-05T13:26:22Z slyrus_ joined #lisp 2021-04-05T13:26:49Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-05T13:27:27Z slyrus quit (Ping timeout: 260 seconds) 2021-04-05T13:29:14Z slyrus joined #lisp 2021-04-05T13:30:56Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-05T13:32:12Z slyrus_ joined #lisp 2021-04-05T13:33:20Z eden quit (Remote host closed the connection) 2021-04-05T13:33:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-05T13:33:59Z eden joined #lisp 2021-04-05T13:35:24Z slyrus joined #lisp 2021-04-05T13:36:46Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-05T13:38:22Z Feldman joined #lisp 2021-04-05T13:38:40Z slyrus_ joined #lisp 2021-04-05T13:39:06Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T13:40:04Z ikrabbe|2 is now known as ikrabbe 2021-04-05T13:41:17Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-05T13:41:44Z slyrus joined #lisp 2021-04-05T13:44:36Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T13:44:54Z slyrus joined #lisp 2021-04-05T13:46:35Z VincentVega joined #lisp 2021-04-05T13:47:21Z kslt1: I'm using emacs/SLIME/SBCL. I wanna use a testing framework for my project from the start. Are there any "survey's" of quicklisp installable testing frameworks I can take a look at? 2021-04-05T13:47:47Z Shinmera: Sabra said he'd make a survey some time, but I don't think he ever found the time to actually do it. 2021-04-05T13:47:56Z phoe: kslt1: how much do you want from your test framework? 2021-04-05T13:48:07Z slyrus quit (Read error: Connection reset by peer) 2021-04-05T13:48:09Z slyrus_ joined #lisp 2021-04-05T13:48:26Z kslt1: I dunno yet. 2021-04-05T13:48:46Z Shinmera: I wrote Parachute, so I'm biased towards that. 2021-04-05T13:48:49Z phoe: the absolute minimalism is using DEFUN over ASSERT 2021-04-05T13:48:58Z phoe: a step above absolute minimalism is using 1AM 2021-04-05T13:49:32Z kslt1: Was hoping to build on appetite based on the survey. 2021-04-05T13:49:35Z phoe: above that there's, in random order: fiasco, parachute, fiveam, prove, tens of other test frameworks that are more or less popular 2021-04-05T13:51:18Z slyrus joined #lisp 2021-04-05T13:51:24Z kslt1: I got interesting looking at the Common Lisp Cookbook example using "prove". 2021-04-05T13:52:21Z cpape` quit (Quit: ERC (IRC client for Emacs 26.3)) 2021-04-05T13:52:27Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-05T13:52:40Z cpape joined #lisp 2021-04-05T13:52:50Z kslt1: I'll do a little more research using above list as starting point. Thanks! 2021-04-05T13:54:38Z aindilis quit (Ping timeout: 240 seconds) 2021-04-05T13:55:26Z slyrus quit (Ping timeout: 240 seconds) 2021-04-05T13:55:49Z sp41 joined #lisp 2021-04-05T13:56:44Z cpape quit (Client Quit) 2021-04-05T13:57:02Z cpape joined #lisp 2021-04-05T14:00:38Z APic quit (Ping timeout: 240 seconds) 2021-04-05T14:02:18Z APic joined #lisp 2021-04-05T14:04:10Z charles` quit (Ping timeout: 258 seconds) 2021-04-05T14:12:06Z shka_ joined #lisp 2021-04-05T14:20:25Z slyrus joined #lisp 2021-04-05T14:20:55Z noobineer joined #lisp 2021-04-05T14:22:04Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-05T14:24:51Z slyrus quit (Ping timeout: 260 seconds) 2021-04-05T14:25:41Z MichaelRaskin: phoe: I am pretty sure I wrote assert-based example/test sets without defun, so _absolute_ minimalism is just assert 2021-04-05T14:29:56Z sjl joined #lisp 2021-04-05T14:32:52Z Noisytoot joined #lisp 2021-04-05T14:34:44Z aindilis joined #lisp 2021-04-05T14:40:51Z Feldman joined #lisp 2021-04-05T14:40:58Z kslt1: prove docs mentioned prove becoming obsolete, which made me wonder about it. 2021-04-05T14:41:11Z sjl quit (Quit: WeeChat 2.3-dev) 2021-04-05T14:41:12Z phoe: MichaelRaskin: oh right, sure 2021-04-05T14:41:22Z phoe: if you want compile-time testing then just ASSERT is enough 2021-04-05T14:41:40Z phoe: DEFUN is just to defer testing to execution time 2021-04-05T14:57:23Z aartaka quit (Read error: Connection reset by peer) 2021-04-05T15:04:33Z shka_: i kinda like prove 2021-04-05T15:04:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-05T15:04:46Z shka_: it remains simple, but it integrates with the asdf 2021-04-05T15:05:37Z shka_: didn't tried rove yet 2021-04-05T15:06:37Z amb007 joined #lisp 2021-04-05T15:12:20Z aartaka joined #lisp 2021-04-05T15:13:06Z amb007 quit (Ping timeout: 240 seconds) 2021-04-05T15:13:39Z amb007 joined #lisp 2021-04-05T15:15:43Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-05T15:16:46Z mfiano: FInd it odd that prove was deprecated in favor of rove, when rove doesn't even have all the testing constructs prove does 2021-04-05T15:22:49Z jackdaniel: who deprecated it? 2021-04-05T15:23:08Z phoe: the author 2021-04-05T15:23:45Z jackdaniel: mhm 2021-04-05T15:23:53Z mfiano: More like obsoleted, but yeah 2021-04-05T15:24:54Z jackdaniel: I like 5am - totally not sexy but quite dependable 2021-04-05T15:25:02Z mfiano: I still use prove. I've tried other frameworks and had some bugs with false positives and never really needed anything more from prove. It does use ASDF in a deprecated way, causing warnings. 2021-04-05T15:25:16Z mfiano: But whatevs 2021-04-05T15:36:45Z kevingal: Is there a way to define self-referential lexical variables? I'm trying to define an infinite stream in terms of itself, which worked with DEFPARAMETER, but when I try to use LET or LET*, I get an unbound variable error. 2021-04-05T15:37:26Z kevingal: E.g. (defparameter ones (stream-cons 1 ones)) is the infinite stream of 1s (example from SICP). 2021-04-05T15:37:51Z Bike: clhs labels 2021-04-05T15:37:52Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/s_flet_.htm 2021-04-05T15:37:59Z phoe: that's for functions though 2021-04-05T15:38:08Z Bike: you can use this for almost any use of scheme letrec 2021-04-05T15:38:16Z phoe: I think you might need to quote ONES in there and explicitly call SYMBOL-VALUE on it when you want to retrieve the value 2021-04-05T15:38:46Z phoe: e.g. something like (defparameter *ones* (cons 1 (lambda () (symbol-value '*ones*)))) 2021-04-05T15:39:27Z Bike: (defparameter *ones* (labels ((thunk () (cons 1 #'thunk))) (thunk))) 2021-04-05T15:40:10Z bjorkintosh joined #lisp 2021-04-05T15:48:53Z waleee-cl joined #lisp 2021-04-05T15:48:59Z phoe: oooh, like *this* 2021-04-05T15:49:05Z phoe: TIL 2021-04-05T15:53:46Z orivej quit (Ping timeout: 268 seconds) 2021-04-05T15:53:49Z natter joined #lisp 2021-04-05T15:53:57Z eden quit (Ping timeout: 240 seconds) 2021-04-05T15:55:18Z amb007 quit (Read error: Connection reset by peer) 2021-04-05T15:55:34Z nopf_ is now known as nopf 2021-04-05T15:55:39Z amb007 joined #lisp 2021-04-05T16:00:56Z Bike: http://ix.io/2V85 attempt at general letrec 2021-04-05T16:01:01Z Bike: results in a pointless thunk here, tho 2021-04-05T16:01:50Z eden joined #lisp 2021-04-05T16:01:55Z Bike: also, it will hang if your definition doesn't delay the use of itself, so don't do that. 2021-04-05T16:02:18Z Bike: i'm pretty sure i wrote something like t his years ago for this exact purpose and then never used it for anything 2021-04-05T16:02:51Z yonkunas joined #lisp 2021-04-05T16:02:54Z kevingal: Hmmm, (let ((ones (stream-cons 1 ones))) ones) actually works. I'm trying to debug why my more complicated example is failing. 2021-04-05T16:03:24Z ebrasca joined #lisp 2021-04-05T16:04:24Z Bike: that really shouldn't work. is it possible you have ONES defined as a global variable? 2021-04-05T16:05:05Z kevingal: Ahh, you're right. 2021-04-05T16:05:27Z Bike: my thing works on (letrec ((ones (scons 1 threes)) (threes (scons 3 ones))) ones), neato 2021-04-05T16:06:24Z Bike: oh, and bonus tip: you can do (makunbound 'ones) to make something stop being a global variable 2021-04-05T16:06:46Z phoe: Bike: but it'll still be special 2021-04-05T16:06:55Z phoe: no portable way other than UNINTERN to solve that 2021-04-05T16:07:39Z VincentVega quit (Quit: Connection closed) 2021-04-05T16:08:52Z kevingal: Thanks for the tips! I would normally give them earmuffs but I was copying from SICP :D 2021-04-05T16:08:56Z ljavorsk joined #lisp 2021-04-05T16:10:24Z dyelar joined #lisp 2021-04-05T16:13:27Z chipolux joined #lisp 2021-04-05T16:14:53Z kevingal: phoe: the SYMBOL-VALUE approach didn't work, I'm afraid! (scdr (let ((wuns (scons 1 (symbol-value 'thingy)))) wuns)) 2021-04-05T16:15:18Z kevingal: So do I understand correctly that the variable is only available for capture within the body of the LET? 2021-04-05T16:15:36Z kevingal: Sorry, that should be: (scdr (let ((wuns (scons 1 (symbol-value 'wuns)))) wuns)) 2021-04-05T16:15:40Z Bike: yes, variables are only bound by let within the body of the let. 2021-04-05T16:15:55Z Bike: also, symbol-value is about dynamic variables, not lexical variables, so it's probably not relevant to your question. 2021-04-05T16:16:06Z long4mud joined #lisp 2021-04-05T16:18:20Z Feldman joined #lisp 2021-04-05T16:19:26Z Bike: sicp is using LETREC for this, not LET, right? 2021-04-05T16:21:14Z kevingal: So far it has only used DEFINE. 2021-04-05T16:21:37Z chipolux quit (Quit: chipolux) 2021-04-05T16:22:21Z Bike: oh, well, okay. 2021-04-05T16:22:57Z Bike: top level definitions can be recursive, obviously. for recursive local definitions you can't use LET since it doesn't make the bindings available to the value-forms. 2021-04-05T16:23:26Z Bike: LETREC does, but it doesn't exist in the common lisp standard. instead you have to use labels, which is similar, but only allows binding functions. 2021-04-05T16:24:25Z kevingal: Gotcha, that's very helpful, thanks. 2021-04-05T16:26:16Z kevingal: I think for now I'll just steal your version of LETREC, haha. 2021-04-05T16:27:29Z Bike: keep in mind i wrote it in two minutes and didn't test it, so it may bite 2021-04-05T16:28:38Z Bike: also it can be much more simply written with mutation 2021-04-05T16:29:03Z Bike: (let (ones) (setf ones (scons 1 ones)) ones) 2021-04-05T16:29:09Z Bike: i didn't write it that way because i forgot 2021-04-05T16:33:09Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-05T16:41:22Z Nilby: letrec etc is not needed for this, cons-stream is just a macro. you just have to make delay/force which could most simply be quote/eval or quote/symbol-value. 2021-04-05T16:41:35Z Inline quit (Ping timeout: 260 seconds) 2021-04-05T16:41:39Z pjb: kevingal: the problem is that you wrote stream-cons wrong. 2021-04-05T16:42:17Z Aurora_iz_kosmos joined #lisp 2021-04-05T16:42:38Z Bike: eval would be even worse than my overcomplicated letrec macro. 2021-04-05T16:42:44Z Aurora_v_kosmose quit (Disconnected by services) 2021-04-05T16:42:50Z Aurora_iz_kosmos is now known as Aurora_v_kosmose 2021-04-05T16:44:37Z mindCrime_ joined #lisp 2021-04-05T16:45:36Z rogersm joined #lisp 2021-04-05T16:46:16Z kevingal: Howso? My stream-cons / scons macro expands to a cons with both of the elements wrapped in a lambda. 2021-04-05T16:47:04Z Bike: well, the relevant way eval won't help is that it cannot access lexical variables. 2021-04-05T16:47:53Z kevingal: I initially tried using quote, but that didn't capture surrounding variables so this gave an error: (let ((a 1) (b 2)) (scons (/ a b) the-empty-stream). 2021-04-05T16:48:06Z Bike: right. 2021-04-05T16:48:13Z kevingal: (I was pestering people in the channel about this earlier). 2021-04-05T16:49:17Z pjb: kevingal: https://termbin.com/onknp 2021-04-05T16:49:35Z zaquest quit (Read error: Connection reset by peer) 2021-04-05T16:50:01Z zaquest joined #lisp 2021-04-05T16:50:11Z rogersm quit (Ping timeout: 240 seconds) 2021-04-05T16:51:00Z pjb: kevingal: but yes, there's no let form in CL that evaluate the initialization form in a scope where the variable is defined. We'd have to write a letrec macro… 2021-04-05T16:51:03Z huonib joined #lisp 2021-04-05T16:52:18Z hoz joined #lisp 2021-04-05T16:52:35Z huonib: does anyone know how to create a static binary with ecl? 2021-04-05T16:52:42Z huonib: I posted on #ecl too 2021-04-05T16:55:55Z ech joined #lisp 2021-04-05T17:05:30Z shka_: how can I get the current condition in the restart-case? 2021-04-05T17:05:50Z shka_: uhm, i think that this is wrong question 2021-04-05T17:07:52Z Feldman joined #lisp 2021-04-05T17:08:32Z Bike: it would have to be passed to the restart. 2021-04-05T17:09:54Z shka_: kevingal: you can fake it with labels, as already demonstrated 2021-04-05T17:10:10Z shka_: Bike: yeah, i realized that 2021-04-05T17:10:10Z karlosz joined #lisp 2021-04-05T17:12:04Z ljavorsk quit (Ping timeout: 268 seconds) 2021-04-05T17:12:48Z luna_is_here quit (Ping timeout: 246 seconds) 2021-04-05T17:14:51Z luna_is_here joined #lisp 2021-04-05T17:17:55Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-05T17:20:39Z pjb: shka_: (loop for i below 10 do (with-simple-restart (continue "continue") (if (zerop (random 2)) (invoke-restart 'continue)) (princ i))) #| 25679 --> nil |# 2021-04-05T17:20:43Z pjb: shka_: no condition. 2021-04-05T17:23:03Z _whitelogger quit (Remote host closed the connection) 2021-04-05T17:24:45Z motersen quit (Ping timeout: 240 seconds) 2021-04-05T17:24:54Z motersen_ joined #lisp 2021-04-05T17:25:12Z _whitelogger joined #lisp 2021-04-05T17:26:09Z thmprover joined #lisp 2021-04-05T17:34:58Z emacsomancer quit (Ping timeout: 240 seconds) 2021-04-05T17:38:48Z amb007 quit (Read error: Connection reset by peer) 2021-04-05T17:38:58Z amb007 joined #lisp 2021-04-05T17:38:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-05T17:39:23Z amb007 joined #lisp 2021-04-05T17:39:30Z emacsomancer joined #lisp 2021-04-05T17:43:37Z amb007 quit (Read error: Connection reset by peer) 2021-04-05T17:43:55Z amb007 joined #lisp 2021-04-05T17:44:12Z cosimone quit (Remote host closed the connection) 2021-04-05T17:44:30Z kpoeck joined #lisp 2021-04-05T17:44:38Z eden quit (Quit: Leaving) 2021-04-05T17:46:31Z rogersm joined #lisp 2021-04-05T17:47:41Z emacsomancer quit (Ping timeout: 240 seconds) 2021-04-05T17:47:52Z huonib quit (Read error: Connection reset by peer) 2021-04-05T17:49:54Z shka_: uh, it is solved 2021-04-05T17:51:11Z rogersm quit (Ping timeout: 240 seconds) 2021-04-05T17:51:43Z emacsomancer joined #lisp 2021-04-05T17:52:06Z cosimone joined #lisp 2021-04-05T17:54:11Z luna_is_here quit (Ping timeout: 240 seconds) 2021-04-05T17:55:03Z luna_is_here joined #lisp 2021-04-05T17:57:49Z jonatack quit (Quit: jonatack) 2021-04-05T17:57:52Z Inline joined #lisp 2021-04-05T18:03:29Z curtosis[away] joined #lisp 2021-04-05T18:06:59Z wilfredh joined #lisp 2021-04-05T18:19:58Z sauvin quit (Read error: Connection reset by peer) 2021-04-05T18:21:41Z ikrabbe quit (Ping timeout: 240 seconds) 2021-04-05T18:22:11Z orivej joined #lisp 2021-04-05T18:24:15Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-05T18:24:19Z Lycurgus joined #lisp 2021-04-05T18:33:02Z galex-713 joined #lisp 2021-04-05T18:35:42Z kpoeck quit (Ping timeout: 240 seconds) 2021-04-05T18:36:10Z luna_is_here quit (Read error: Connection reset by peer) 2021-04-05T18:37:00Z Feldman joined #lisp 2021-04-05T18:38:10Z luna_is_here joined #lisp 2021-04-05T18:47:22Z jonatack joined #lisp 2021-04-05T18:47:30Z rogersm joined #lisp 2021-04-05T18:48:46Z cosimone quit (Remote host closed the connection) 2021-04-05T18:48:57Z ljavorsk joined #lisp 2021-04-05T18:51:58Z rogersm quit (Ping timeout: 240 seconds) 2021-04-05T18:54:26Z aartaka_d joined #lisp 2021-04-05T18:56:26Z aartaka quit (Ping timeout: 240 seconds) 2021-04-05T18:58:50Z skapata joined #lisp 2021-04-05T19:00:00Z luna_is_here quit (Ping timeout: 265 seconds) 2021-04-05T19:01:11Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-05T19:01:53Z luna_is_here joined #lisp 2021-04-05T19:03:09Z ech quit (Ping timeout: 240 seconds) 2021-04-05T19:03:31Z aartaka joined #lisp 2021-04-05T19:03:43Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-05T19:04:19Z logand``` quit (Ping timeout: 268 seconds) 2021-04-05T19:04:21Z drl joined #lisp 2021-04-05T19:04:39Z thinkpad quit (Ping timeout: 252 seconds) 2021-04-05T19:04:53Z cage_ quit (Quit: Leaving) 2021-04-05T19:05:24Z thinkpad joined #lisp 2021-04-05T19:05:24Z rogersm joined #lisp 2021-04-05T19:06:29Z luna_is_here quit (Read error: Connection reset by peer) 2021-04-05T19:08:12Z logand joined #lisp 2021-04-05T19:08:22Z luna_is_here joined #lisp 2021-04-05T19:17:57Z anticrisis joined #lisp 2021-04-05T19:19:34Z scm_ joined #lisp 2021-04-05T19:25:14Z luna_is_here quit (Read error: Connection reset by peer) 2021-04-05T19:26:46Z luna_is_here joined #lisp 2021-04-05T19:30:46Z cosimone joined #lisp 2021-04-05T19:34:16Z villanella joined #lisp 2021-04-05T19:35:06Z ech joined #lisp 2021-04-05T19:35:11Z luna_is_here quit (Ping timeout: 260 seconds) 2021-04-05T19:36:12Z rpg joined #lisp 2021-04-05T19:36:38Z curtosis[away] joined #lisp 2021-04-05T19:37:03Z luna_is_here joined #lisp 2021-04-05T19:43:25Z villanella quit (Ping timeout: 258 seconds) 2021-04-05T19:43:56Z villanella joined #lisp 2021-04-05T19:44:51Z hoz quit (Quit: ERC (IRC client for Emacs 26.1)) 2021-04-05T19:45:13Z ikrabbe joined #lisp 2021-04-05T19:46:26Z Lord_of_Life_ joined #lisp 2021-04-05T19:48:43Z Lord_of_Life quit (Ping timeout: 260 seconds) 2021-04-05T19:49:31Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-05T19:51:31Z albusp joined #lisp 2021-04-05T19:55:00Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-05T19:57:16Z Lycurgus quit (Quit: Exeunt) 2021-04-05T19:57:41Z rogersm quit 2021-04-05T19:59:27Z cosimone quit (Remote host closed the connection) 2021-04-05T20:01:11Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-05T20:03:53Z warweasle quit (Quit: rcirc on GNU Emacs 26.1) 2021-04-05T20:05:19Z CrazyEddy joined #lisp 2021-04-05T20:06:17Z charles` joined #lisp 2021-04-05T20:06:26Z luna_is_here quit (Ping timeout: 246 seconds) 2021-04-05T20:06:56Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-05T20:08:43Z luna_is_here joined #lisp 2021-04-05T20:18:29Z rogersm joined #lisp 2021-04-05T20:19:26Z rogersm quit (Client Quit) 2021-04-05T20:23:05Z ech quit (Quit: leaving) 2021-04-05T20:24:09Z ech joined #lisp 2021-04-05T20:26:33Z luna_is_here quit (Read error: Connection reset by peer) 2021-04-05T20:26:49Z luna_is_here joined #lisp 2021-04-05T20:35:58Z thecoffemaker quit (Ping timeout: 240 seconds) 2021-04-05T20:36:30Z wilfredh quit (Quit: Connection closed for inactivity) 2021-04-05T20:36:37Z huonib joined #lisp 2021-04-05T20:42:19Z thecoffemaker joined #lisp 2021-04-05T20:54:54Z gaqwas quit (Remote host closed the connection) 2021-04-05T20:55:53Z gaqwas joined #lisp 2021-04-05T20:55:53Z gaqwas quit (Changing host) 2021-04-05T20:55:53Z gaqwas joined #lisp 2021-04-05T20:55:55Z wsinatra quit (Ping timeout: 268 seconds) 2021-04-05T20:56:32Z quazimodo quit (Ping timeout: 268 seconds) 2021-04-05T20:58:14Z luna_is_here quit (Ping timeout: 246 seconds) 2021-04-05T20:59:23Z luna_is_here joined #lisp 2021-04-05T20:59:58Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-05T21:00:01Z VincentVega joined #lisp 2021-04-05T21:01:53Z karlosz quit (Quit: karlosz) 2021-04-05T21:10:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-05T21:11:05Z amb007 joined #lisp 2021-04-05T21:18:10Z wsinatra joined #lisp 2021-04-05T21:21:09Z ech quit (Ping timeout: 240 seconds) 2021-04-05T21:22:58Z ech joined #lisp 2021-04-05T21:23:26Z shka_ quit (Ping timeout: 246 seconds) 2021-04-05T21:27:07Z wsinatra quit (Ping timeout: 240 seconds) 2021-04-05T21:27:11Z scm_ quit (Ping timeout: 240 seconds) 2021-04-05T21:27:25Z ebrasca quit (Remote host closed the connection) 2021-04-05T21:28:41Z mn3m joined #lisp 2021-04-05T21:29:56Z jmercouris: there is no way to safely call C right? because CFFI relies on the C code returning successfully right? 2021-04-05T21:30:02Z lawt joined #lisp 2021-04-05T21:30:12Z jmercouris: and when it doesn't, there is no realistic way to recover state, no? 2021-04-05T21:30:50Z White_Flame: maybe launch a C thread and wait for its return as a side effect somewhere, with a timeout that blows away the thread? 2021-04-05T21:31:00Z White_Flame: but still, can't easily prevent C from trampling things 2021-04-05T21:31:05Z jmercouris: right 2021-04-05T21:31:14Z jmercouris: C can write anything to anywhere and always mess up your program 2021-04-05T21:31:18Z moon-child: iirc that's what go and haskell do 2021-04-05T21:31:22Z White_Flame: would need full long hardware transactional memory 2021-04-05T21:31:26Z jmercouris: unless you use some operating level system protection right? 2021-04-05T21:31:41Z jmercouris: maybe a completely different process or something 2021-04-05T21:31:52Z White_Flame: process would definitely work, but taht also means marshalling everything 2021-04-05T21:31:57Z White_Flame: you could fork to make the call, too 2021-04-05T21:32:10Z moon-child: still have to marshal the result 2021-04-05T21:32:18Z White_Flame: right, elminates half the marshallings 2021-04-05T21:32:20Z moon-child: if the c lib allocates, you need some way to figure out what it allocated and copy it through 2021-04-05T21:32:30Z luna_is_here quit (Ping timeout: 246 seconds) 2021-04-05T21:32:32Z jmercouris: right, which involves complex wrapping 2021-04-05T21:32:32Z aartaka quit (Ping timeout: 246 seconds) 2021-04-05T21:32:33Z moon-child: or force it to allocate shmem, which comes with its own issues 2021-04-05T21:32:44Z jmercouris: I was just watching this video: https://www.youtube.com/watch?v=o4-YnLpLgtk 2021-04-05T21:32:50Z White_Flame: all depends if the C return value is standalone, or if you need C's side effects 2021-04-05T21:32:54Z jmercouris: and I was thinking if the C code could crash the Lisp machine 2021-04-05T21:33:23Z White_Flame: even in a separate process, C could kill the lisp process, unless you make it under another user with low permissions etc 2021-04-05T21:33:34Z White_Flame: how far do you want to go? 2021-04-05T21:33:45Z White_Flame: C could use privilege escalation attacks as well etc 2021-04-05T21:33:47Z jmercouris: fair enough 2021-04-05T21:33:59Z jmercouris: I am just thinking about GTK inadvertent failures 2021-04-05T21:34:06Z jmercouris: something like that 2021-04-05T21:34:41Z luna_is_here joined #lisp 2021-04-05T21:36:04Z jmercouris: I must say the Open Genera system looks very impressive 2021-04-05T21:36:09Z jmercouris: I understand I'm preaching to the choir here... 2021-04-05T21:36:28Z Nilby: You can safely call C. 2021-04-05T21:37:20Z Nilby: It's just difficult. You have to setup up memory barriers, page tables, processor rings, interrupt tables, etc. 2021-04-05T21:37:55Z Nilby: e.g. the O/S kernel safely calls C 2021-04-05T21:38:41Z jmercouris: right, but the O/S is designed for that 2021-04-05T21:38:44Z jmercouris: and it takes a lot of work 2021-04-05T21:38:51Z villanella quit (Ping timeout: 260 seconds) 2021-04-05T21:39:04Z jmercouris: I'm talking about within the realm of realistically possible for a single programmer to achieve 2021-04-05T21:39:15Z Nilby: But the coolest way it to run C as Lisp like Genera did. 2021-04-05T21:39:26Z moon-child: plenty of people have written their own OSes 2021-04-05T21:40:27Z moon-child: Nilby: that's what mezzano does. (Well, it compiles llvm to cl, i think) 2021-04-05T21:41:08Z Nilby: Right. I think that's the nicest way for Lisp to call C, since then you can use the Lisp debugger and tools. 2021-04-05T21:44:44Z Nilby: I think the free Lisps could do a better job of making calling C safe. The commerical Lisps seem to do better. 2021-04-05T21:46:50Z Alfr quit (Quit: Leaving) 2021-04-05T21:50:26Z moon-child: I think there was another c compiler written in lisp. Not sure how much progress it had made. The mezzano thing I know was mature enough to run quake 2021-04-05T21:53:21Z wooden quit (Ping timeout: 260 seconds) 2021-04-05T21:55:01Z luna_is_here quit (Read error: Connection reset by peer) 2021-04-05T21:56:26Z Helmholtz joined #lisp 2021-04-05T21:56:54Z random-nick quit (Ping timeout: 265 seconds) 2021-04-05T22:03:05Z Nilby: moon-child: maybe you're thinking of https://github.com/vsedach/Vacietis 2021-04-05T22:05:10Z wooden joined #lisp 2021-04-05T22:06:49Z ramHero joined #lisp 2021-04-05T22:08:00Z moon-child: I think that was it. Given some of the TODO items, it looks less far along than I thought 2021-04-05T22:10:40Z rgherdt quit (Ping timeout: 246 seconds) 2021-04-05T22:10:47Z Kundry_Wag quit (Read error: Connection reset by peer) 2021-04-05T22:11:15Z Kundry_Wag joined #lisp 2021-04-05T22:12:10Z maxwilli- joined #lisp 2021-04-05T22:12:41Z maxwilliamson quit (Remote host closed the connection) 2021-04-05T22:14:37Z surabax quit (Quit: Leaving) 2021-04-05T22:15:22Z jmercouris: that is incredibly impressive 2021-04-05T22:19:09Z karlosz joined #lisp 2021-04-05T22:19:47Z mn3m quit (Ping timeout: 240 seconds) 2021-04-05T22:23:18Z karlosz quit (Ping timeout: 240 seconds) 2021-04-05T22:25:14Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-05T22:25:31Z Inline quit (Ping timeout: 260 seconds) 2021-04-05T22:29:32Z mindCrime_ joined #lisp 2021-04-05T22:38:05Z frgo quit (Remote host closed the connection) 2021-04-05T22:38:40Z frgo joined #lisp 2021-04-05T22:39:33Z Feldman joined #lisp 2021-04-05T22:43:27Z johnjay quit (Ping timeout: 240 seconds) 2021-04-05T22:49:31Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-05T22:51:49Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-05T22:52:19Z paul0 joined #lisp 2021-04-05T22:55:39Z maxwilli- quit (Remote host closed the connection) 2021-04-05T22:57:44Z maxwilliamson joined #lisp 2021-04-05T23:02:52Z frodef_ quit (Quit: ZNC 1.7.5+deb4 - https://znc.in) 2021-04-05T23:02:58Z zooey quit (Remote host closed the connection) 2021-04-05T23:03:11Z scymtym quit (Remote host closed the connection) 2021-04-05T23:03:13Z zooey joined #lisp 2021-04-05T23:03:25Z scymtym joined #lisp 2021-04-05T23:03:43Z Aurora_v_kosmose quit (Remote host closed the connection) 2021-04-05T23:04:04Z karlosz joined #lisp 2021-04-05T23:04:23Z Aurora_v_kosmose joined #lisp 2021-04-05T23:04:28Z albusp quit (Remote host closed the connection) 2021-04-05T23:04:48Z albusp joined #lisp 2021-04-05T23:05:20Z kevingal quit (Remote host closed the connection) 2021-04-05T23:05:35Z frodef joined #lisp 2021-04-05T23:07:56Z quazimodo joined #lisp 2021-04-05T23:18:32Z lotuseater quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-05T23:23:15Z akoana joined #lisp 2021-04-05T23:31:57Z ljavorsk quit (Ping timeout: 268 seconds) 2021-04-05T23:33:06Z moshes joined #lisp 2021-04-05T23:39:25Z moshes quit (Remote host closed the connection) 2021-04-05T23:42:24Z abhixec joined #lisp 2021-04-05T23:45:47Z raeda quit (Ping timeout: 260 seconds) 2021-04-05T23:51:44Z raeda joined #lisp 2021-04-05T23:58:34Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-05T23:59:43Z hoz joined #lisp 2021-04-06T00:06:37Z hypercube joined #lisp 2021-04-06T00:08:26Z thinkpad quit (Ping timeout: 240 seconds) 2021-04-06T00:11:08Z thinkpad joined #lisp 2021-04-06T00:13:17Z hoz quit (Quit: ERC (IRC client for Emacs 26.1)) 2021-04-06T00:14:15Z tetrahedron joined #lisp 2021-04-06T00:14:25Z hoz joined #lisp 2021-04-06T00:14:43Z Alfr joined #lisp 2021-04-06T00:15:39Z anticrisis quit (Ping timeout: 260 seconds) 2021-04-06T00:16:24Z anticrisis joined #lisp 2021-04-06T00:17:03Z hypercube quit (Ping timeout: 260 seconds) 2021-04-06T00:18:42Z VincentVega quit (Ping timeout: 240 seconds) 2021-04-06T00:20:00Z sloanr joined #lisp 2021-04-06T00:23:15Z Nilby quit (Ping timeout: 258 seconds) 2021-04-06T00:23:26Z rpg joined #lisp 2021-04-06T00:23:45Z anticrisis quit (Read error: Connection reset by peer) 2021-04-06T00:24:17Z hoz quit (Quit: ERC (IRC client for Emacs 26.1)) 2021-04-06T00:25:29Z hoz joined #lisp 2021-04-06T00:26:01Z orivej quit (Ping timeout: 260 seconds) 2021-04-06T00:27:03Z igemnace joined #lisp 2021-04-06T00:27:05Z orivej joined #lisp 2021-04-06T00:32:56Z johnjay joined #lisp 2021-04-06T00:33:15Z rpg quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-06T00:35:24Z luckless_ joined #lisp 2021-04-06T00:37:39Z sloanr quit (Remote host closed the connection) 2021-04-06T00:37:55Z heisig quit (Ping timeout: 268 seconds) 2021-04-06T00:39:09Z luckless quit (Ping timeout: 240 seconds) 2021-04-06T00:48:13Z anticrisis joined #lisp 2021-04-06T00:48:49Z anticrisis quit (Client Quit) 2021-04-06T00:53:16Z rpg joined #lisp 2021-04-06T00:59:55Z karayan joined #lisp 2021-04-06T00:59:55Z karayan quit (Client Quit) 2021-04-06T01:00:23Z abhixec quit (Quit: leaving) 2021-04-06T01:07:56Z rpg quit (Quit: Textual IRC Client: www.textualapp.com) 2021-04-06T01:10:27Z bitmapper joined #lisp 2021-04-06T01:14:58Z orivej quit (Ping timeout: 240 seconds) 2021-04-06T01:19:06Z amk quit (Ping timeout: 260 seconds) 2021-04-06T01:19:52Z contrapunctus left #lisp 2021-04-06T01:21:13Z semz quit (Ping timeout: 250 seconds) 2021-04-06T01:21:20Z contrapunctus joined #lisp 2021-04-06T01:22:01Z contrapunctus left #lisp 2021-04-06T01:22:32Z contrapunctus joined #lisp 2021-04-06T01:22:48Z amk joined #lisp 2021-04-06T01:24:49Z Josh_2 joined #lisp 2021-04-06T01:26:22Z Josh_2: How can I connect to a lisp image that is already running in sly? 2021-04-06T01:26:52Z Josh_2: My emacs has frozen and I need to connect to the image it had running 2021-04-06T01:27:01Z Josh_2: I don't know if the underlying lisp image has frozen 2021-04-06T01:29:01Z tetrahedron: Josh_2: SLY or SLIME? 2021-04-06T01:29:04Z Josh_2: Sly 2021-04-06T01:29:10Z pjb: Josh_2: well, I don't know about sly, but if a swank server is running, you connect to it with M-x slime-connect RET 2021-04-06T01:29:30Z Josh_2: just got a connection refused 2021-04-06T01:29:32Z Josh_2: :( 2021-04-06T01:29:51Z johnjay quit (Ping timeout: 260 seconds) 2021-04-06T01:30:12Z pjb: Of course, if there's no swank server listening, the only solution would be to do a gdb attach to the frozen emacs process, and to try to locate and use the socket connected to the image. 2021-04-06T01:30:13Z tetrahedron: https://joaotavora.github.io/sly/#Communication-style 2021-04-06T01:30:26Z pjb: Perhaps closing it would be enough, if the swank server loops on listening. 2021-04-06T01:30:34Z tetrahedron: i think this config var is what you need to fix to choose a lisp server 2021-04-06T01:31:31Z pjb: Josh_2: if this problem occurs often, you could prepare by running multiple swank servers in the lisp image, or some other listening server. 2021-04-06T01:32:45Z johnjay joined #lisp 2021-04-06T01:34:07Z Bike: this looks like slime's communication style, which isn't quite the same 2021-04-06T01:34:21Z Bike: seems there's an M-x sly-connect to use 2021-04-06T01:34:31Z Josh_2: I tried that 2021-04-06T01:34:33Z Bike: though you'll have to figure out what port the lisp is listening on if any 2021-04-06T01:34:36Z Josh_2: It must have frozen 2021-04-06T01:34:55Z semz joined #lisp 2021-04-06T01:34:55Z semz quit (Changing host) 2021-04-06T01:34:56Z semz joined #lisp 2021-04-06T01:35:01Z pjb: sudo netstat -tpnl |grep $your_lisp 2021-04-06T01:35:42Z Josh_2: nothing :( 2021-04-06T01:35:54Z logand` joined #lisp 2021-04-06T01:36:06Z hiroaki quit (Ping timeout: 246 seconds) 2021-04-06T01:37:44Z yonkunas quit (Quit: Connection closed for inactivity) 2021-04-06T01:37:56Z Josh_2: ah well 2021-04-06T01:39:07Z pjb: Without the -l you can see the open connections: sudo netstat -tpn |grep $your_lisp 2021-04-06T01:39:26Z logand quit (Ping timeout: 240 seconds) 2021-04-06T01:39:34Z pjb: If it's still connected to emacs, as I said above, you can use gdb to attach to the frozen emacs, try to locate the socket and close it. 2021-04-06T01:39:42Z pjb: Or just kill the frozen emacs. 2021-04-06T01:40:18Z Josh_2: If I kill the frozen emacs that will shut the lisp image 2021-04-06T01:41:39Z pjb: So you mean that the lisp image was launched by emacs. 2021-04-06T01:41:43Z Josh_2: Yep 2021-04-06T01:41:44Z pjb: You're doomed. 2021-04-06T01:41:47Z Josh_2: Yeh xD 2021-04-06T01:42:08Z pjb: Instead, launch your lisp images separately, run a swank server in it, and use slime-connect instead of slime. 2021-04-06T01:42:19Z tetrahedron: how bad would that be Josh_2 :/ 2021-04-06T01:42:26Z Josh_2: Not that bad tetrahedron 2021-04-06T01:42:35Z Josh_2: I will be able to fix it 2021-04-06T01:42:54Z Josh_2: pjb: I will do that, I have been meaning to create a deploy system for this. Lesson learned 2021-04-06T01:46:00Z vv8 quit (Ping timeout: 265 seconds) 2021-04-06T01:47:27Z gigamonkey quit (Remote host closed the connection) 2021-04-06T01:48:01Z gigamonkey joined #lisp 2021-04-06T01:53:41Z gigamonkey quit (Ping timeout: 260 seconds) 2021-04-06T01:55:41Z hoz left #lisp 2021-04-06T01:57:43Z frost-lab joined #lisp 2021-04-06T01:59:48Z ikrabbe|2 joined #lisp 2021-04-06T02:02:55Z ikrabbe quit (Ping timeout: 265 seconds) 2021-04-06T02:12:23Z akoana left #lisp 2021-04-06T02:12:38Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-06T02:13:10Z Josh_2: I export a macro called 'pkv' from my main package and in a sub package, I use this macro extensively, this package has (use
) in its defpackage, why am I getting an error telling me that pkv isn't defined? 2021-04-06T02:14:53Z no-defun-allowed: Stupid question, use or :use? 2021-04-06T02:15:20Z Josh_2: :use 2021-04-06T02:15:59Z no-defun-allowed: I'm out of ideas then. 2021-04-06T02:16:00Z Bike: well, from that description it should work, so clearly there's some devil in the details 2021-04-06T02:16:11Z Bike: what particular error do you get? udnefined function? 2021-04-06T02:16:45Z Josh_2: yes 2021-04-06T02:17:00Z Bike: you might have to share source then 2021-04-06T02:18:01Z ramHero quit (Ping timeout: 260 seconds) 2021-04-06T02:27:06Z mindCrime_ joined #lisp 2021-04-06T02:34:18Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-06T02:38:26Z Josh_2: Well 2021-04-06T02:38:28Z Josh_2: what part? 2021-04-06T02:39:08Z White_Flame: are you (in-package ..) correctly? 2021-04-06T02:39:15Z Bike: the package definitions, i guess 2021-04-06T02:39:37Z White_Flame: (as a 2nd stupid question) 2021-04-06T02:40:20Z Josh_2: White_Flame: yes I have (defpackage .. ) then (in-package ..) after 2021-04-06T02:43:28Z Josh_2: https://plaster.tymoon.eu/view/2374#2374 2021-04-06T02:49:05Z White_Flame: and matrix-moonbot has pkv? 2021-04-06T02:49:11Z _jrjsmrtn quit (Ping timeout: 260 seconds) 2021-04-06T02:49:14Z Josh_2: all the other functions work 2021-04-06T02:49:20Z Josh_2: Yes it works in all the other modules defined that way 2021-04-06T02:49:27Z White_Flame: and it's actually exported? 2021-04-06T02:49:29Z Josh_2: Yep 2021-04-06T02:49:30Z Bike: what is the definition of matrix-moonbot. 2021-04-06T02:50:13Z White_Flame: also ensure matrix-moonbot:pk tab-completes with a single colon 2021-04-06T02:50:31Z __jrjsmrtn__ joined #lisp 2021-04-06T02:50:32Z White_Flame: and/or (describe 'matrix-moonbot:pkv) 2021-04-06T02:51:19Z Josh_2: When I'm in the mm-module.jitsi it does 2021-04-06T02:51:49Z Josh_2: And then describing it while in that package it returns what I'd expect 2021-04-06T02:52:03Z Josh_2: 'pkv names a macro ... ' 2021-04-06T02:54:11Z White_Flame: single-colon, and it says it's exported? 2021-04-06T02:54:31Z Bike: and it actually exists? (macro-function 'pkv) in mm-module.jitsi returns something? 2021-04-06T02:55:40Z White_Flame: if you just C-c C-c an expression, instead of C-c C-k'ing the entire file, it might not have actually run the in-package. I've hit that on simple files 2021-04-06T02:55:43Z rumbler31 joined #lisp 2021-04-06T02:55:51Z hineios6 joined #lisp 2021-04-06T02:57:03Z hineios quit (Ping timeout: 265 seconds) 2021-04-06T02:57:03Z hineios6 is now known as hineios 2021-04-06T02:57:36Z jeosol quit (Quit: Connection closed) 2021-04-06T02:57:58Z Josh_2: Okay I fixed 2021-04-06T02:58:12Z Josh_2: Turns out it was absolutely nothing to do with that package... 2021-04-06T02:58:29Z White_Flame: let me guess, pvk vs pkv? 2021-04-06T02:58:43Z Josh_2: nope, I was using pkv before it was defined in a class definition file 2021-04-06T02:58:56Z White_Flame: that'll do it 2021-04-06T02:59:07Z White_Flame: it's weird not to load the full contents of a package before loading another one, though 2021-04-06T03:00:35Z Josh_2: Now I have another odd issue 2021-04-06T03:01:18Z beach: Good morning everyone! 2021-04-06T03:01:26Z White_Flame: re beach 2021-04-06T03:02:48Z Alfr is now known as Guest98335 2021-04-06T03:02:49Z Guest98335 quit (Killed (cherryh.freenode.net (Nickname regained by services))) 2021-04-06T03:02:53Z Alfr joined #lisp 2021-04-06T03:07:04Z Josh_2: Okay 2021-04-06T03:08:44Z White_Flame: okey dokey 2021-04-06T03:08:46Z White_Flame: here we gokey 2021-04-06T03:09:15Z Josh_2: Fixed it 2021-04-06T03:09:28Z Josh_2: Man I got you all excited, sorry xD 2021-04-06T03:09:36Z thmprover quit (Quit: Goodnight, ladies, good night, sweet ladies, good night, good night) 2021-04-06T03:09:53Z White_Flame: don't get me wrong, I'm happier to debug my own code than someone else's ;) 2021-04-06T03:12:42Z Josh_2: Well I guess having to restart was a blessing in disguise 2021-04-06T03:13:10Z White_Flame: restarting fixes a lot, but doesn't always tell you where the problem is, especially if it's dynamically munged 2021-04-06T03:13:26Z White_Flame: in the latter, you want to poke in the currently messed up state 2021-04-06T03:14:29Z marusich quit (Ping timeout: 246 seconds) 2021-04-06T03:17:41Z skapate joined #lisp 2021-04-06T03:18:44Z Josh_2: In this case restarting brought up a few problems 2021-04-06T03:18:53Z Josh_2: I hadn't stopped the image for about a week 2021-04-06T03:19:00Z skapata quit (Ping timeout: 246 seconds) 2021-04-06T03:19:01Z Josh_2: Best fix it now 2021-04-06T03:20:50Z moon-child: clhs loop 2021-04-06T03:20:50Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_loop.htm 2021-04-06T03:22:11Z rumbler31 quit (Remote host closed the connection) 2021-04-06T03:22:52Z rumbler31 joined #lisp 2021-04-06T03:36:11Z huonib quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-06T03:37:25Z jeosol joined #lisp 2021-04-06T03:37:30Z zaquest quit (Quit: Leaving) 2021-04-06T03:47:37Z vv8 joined #lisp 2021-04-06T04:14:53Z orivej joined #lisp 2021-04-06T04:19:12Z Guest85002 quit (Read error: Connection reset by peer) 2021-04-06T04:28:16Z null_ptr joined #lisp 2021-04-06T04:30:01Z Bike quit (Quit: sleep) 2021-04-06T04:38:16Z marusich joined #lisp 2021-04-06T05:08:39Z sauvin joined #lisp 2021-04-06T05:10:55Z gigamonkey joined #lisp 2021-04-06T05:13:39Z ikrabbe|2 is now known as ikrabbe 2021-04-06T05:15:43Z gigamonkey quit (Ping timeout: 260 seconds) 2021-04-06T05:25:39Z sauvin quit (Read error: Connection reset by peer) 2021-04-06T05:25:53Z sauvin joined #lisp 2021-04-06T05:34:11Z pve joined #lisp 2021-04-06T05:37:35Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-06T05:44:08Z slyrus joined #lisp 2021-04-06T05:49:47Z slyrus quit (Ping timeout: 260 seconds) 2021-04-06T05:51:16Z DGASAU joined #lisp 2021-04-06T05:52:16Z narimiran joined #lisp 2021-04-06T05:57:09Z ech quit (Ping timeout: 240 seconds) 2021-04-06T05:59:13Z ljavorsk joined #lisp 2021-04-06T06:03:21Z slyrus joined #lisp 2021-04-06T06:08:22Z shka_ joined #lisp 2021-04-06T06:11:43Z Kundry_Wag quit (Remote host closed the connection) 2021-04-06T06:12:49Z Kundry_Wag joined #lisp 2021-04-06T06:20:51Z indathrone joined #lisp 2021-04-06T06:31:04Z slyrus quit (Remote host closed the connection) 2021-04-06T06:36:27Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-06T06:44:43Z ljavorsk quit (Quit: I'm out, bye) 2021-04-06T06:45:02Z ljavorsk joined #lisp 2021-04-06T06:46:34Z galex-713 joined #lisp 2021-04-06T06:47:51Z slyrus joined #lisp 2021-04-06T06:48:05Z random-nick joined #lisp 2021-04-06T06:52:06Z slyrus quit (Ping timeout: 240 seconds) 2021-04-06T06:57:29Z rgherdt joined #lisp 2021-04-06T07:00:09Z contrapunctus left #lisp 2021-04-06T07:00:50Z aartaka joined #lisp 2021-04-06T07:01:45Z contrapunctus joined #lisp 2021-04-06T07:11:32Z JohnMS_WORK joined #lisp 2021-04-06T07:20:37Z marusich quit (Ping timeout: 268 seconds) 2021-04-06T07:25:05Z jello_pudding joined #lisp 2021-04-06T07:28:57Z karlosz quit (Quit: karlosz) 2021-04-06T07:29:28Z fourier joined #lisp 2021-04-06T07:29:35Z villanella joined #lisp 2021-04-06T07:33:25Z Kundry_Wag quit (Remote host closed the connection) 2021-04-06T07:34:01Z Kundry_Wag joined #lisp 2021-04-06T07:36:23Z zaquest joined #lisp 2021-04-06T07:36:24Z fourier quit (Changing host) 2021-04-06T07:36:24Z fourier joined #lisp 2021-04-06T07:38:18Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-06T07:39:19Z orivej quit (Ping timeout: 265 seconds) 2021-04-06T07:42:46Z phantomics quit (Ping timeout: 240 seconds) 2021-04-06T07:45:41Z gigamonkey joined #lisp 2021-04-06T07:50:26Z gigamonkey quit (Ping timeout: 265 seconds) 2021-04-06T07:53:18Z karlosz joined #lisp 2021-04-06T07:56:33Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-06T08:03:24Z aartaka_d joined #lisp 2021-04-06T08:04:05Z gitgood quit (Quit: Probably away to do something really awesome) 2021-04-06T08:05:11Z aartaka quit (Ping timeout: 240 seconds) 2021-04-06T08:07:00Z hendursaga joined #lisp 2021-04-06T08:09:57Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-06T08:12:23Z aartaka joined #lisp 2021-04-06T08:12:56Z contrapunctus left #lisp 2021-04-06T08:13:03Z cmsimon joined #lisp 2021-04-06T08:13:49Z contrapunctus joined #lisp 2021-04-06T08:14:27Z aartaka_d quit (Ping timeout: 252 seconds) 2021-04-06T08:16:10Z surabax joined #lisp 2021-04-06T08:26:55Z rogersm joined #lisp 2021-04-06T08:32:32Z contrapunctus left #lisp 2021-04-06T08:32:42Z contrapunctus joined #lisp 2021-04-06T09:04:00Z rogersm quit (Quit: Leaving...) 2021-04-06T09:11:02Z contrapunctus left #lisp 2021-04-06T09:12:55Z contrapunctus joined #lisp 2021-04-06T09:22:06Z frost-lab quit (Ping timeout: 240 seconds) 2021-04-06T09:34:29Z silasfox joined #lisp 2021-04-06T09:38:41Z kevingal joined #lisp 2021-04-06T09:45:51Z lotuseater joined #lisp 2021-04-06T09:52:30Z karlosz quit (Quit: karlosz) 2021-04-06T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-06T10:01:34Z skapate quit (Remote host closed the connection) 2021-04-06T10:03:52Z shka_ quit (Read error: Connection reset by peer) 2021-04-06T10:09:20Z shka_ joined #lisp 2021-04-06T10:11:45Z klltkr joined #lisp 2021-04-06T10:11:53Z Kundry_Wag joined #lisp 2021-04-06T10:16:15Z Kundry_Wag quit (Ping timeout: 260 seconds) 2021-04-06T10:22:57Z zupss quit (Quit: Lost terminal) 2021-04-06T10:23:11Z zupss joined #lisp 2021-04-06T10:27:27Z lawt quit (Ping timeout: 268 seconds) 2021-04-06T10:31:48Z Feldman joined #lisp 2021-04-06T10:34:30Z DGASAU quit (Read error: Connection reset by peer) 2021-04-06T10:35:35Z kevingal_ joined #lisp 2021-04-06T10:36:09Z kevingal quit (Ping timeout: 246 seconds) 2021-04-06T10:37:06Z frgo quit (Remote host closed the connection) 2021-04-06T10:37:32Z frgo joined #lisp 2021-04-06T10:38:45Z vegansbane6963 joined #lisp 2021-04-06T10:42:46Z orivej joined #lisp 2021-04-06T10:48:33Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-06T10:50:00Z igemnace quit (Remote host closed the connection) 2021-04-06T10:56:24Z ukari quit (Remote host closed the connection) 2021-04-06T10:57:21Z ukari joined #lisp 2021-04-06T10:59:05Z DGASAU joined #lisp 2021-04-06T11:03:43Z rogersm joined #lisp 2021-04-06T11:07:09Z gumman quit (Ping timeout: 252 seconds) 2021-04-06T11:16:26Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2021-04-06T11:20:47Z epony quit (Quit: upgrades) 2021-04-06T11:21:16Z JohnMS_WORK joined #lisp 2021-04-06T11:25:28Z epony joined #lisp 2021-04-06T11:25:31Z aartaka_d joined #lisp 2021-04-06T11:26:24Z frost-lab joined #lisp 2021-04-06T11:29:16Z aartaka quit (Ping timeout: 260 seconds) 2021-04-06T11:35:00Z Nilby joined #lisp 2021-04-06T11:57:08Z Bike joined #lisp 2021-04-06T12:03:03Z villanella quit (Ping timeout: 268 seconds) 2021-04-06T12:04:24Z huonib joined #lisp 2021-04-06T12:05:57Z maxwilliamson quit (Remote host closed the connection) 2021-04-06T12:06:47Z maxwilliamson joined #lisp 2021-04-06T12:11:28Z cmsimon quit (Quit: Connection closed) 2021-04-06T12:20:23Z orivej quit (Ping timeout: 260 seconds) 2021-04-06T12:20:43Z ebrasca joined #lisp 2021-04-06T12:23:32Z Feldman joined #lisp 2021-04-06T12:24:25Z Feldman quit (Client Quit) 2021-04-06T12:29:07Z jeosol quit (Quit: Connection closed) 2021-04-06T12:30:37Z frost-lab quit (Quit: Connection closed) 2021-04-06T12:42:52Z ukari quit (Remote host closed the connection) 2021-04-06T12:43:40Z ukari joined #lisp 2021-04-06T12:45:41Z Kundry_Wag joined #lisp 2021-04-06T12:47:10Z waleee-cl joined #lisp 2021-04-06T12:50:43Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T12:50:54Z amb007 joined #lisp 2021-04-06T12:50:55Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T12:51:08Z amb007 joined #lisp 2021-04-06T12:51:23Z mmmattyx joined #lisp 2021-04-06T12:54:26Z mgr_ quit (Ping timeout: 260 seconds) 2021-04-06T12:57:59Z mgr_ joined #lisp 2021-04-06T13:06:10Z scm joined #lisp 2021-04-06T13:07:13Z mgr_ quit (Read error: Connection reset by peer) 2021-04-06T13:07:54Z mgr_ joined #lisp 2021-04-06T13:08:09Z Krystof quit (Ping timeout: 252 seconds) 2021-04-06T13:09:31Z ech joined #lisp 2021-04-06T13:10:55Z wsinatra joined #lisp 2021-04-06T13:14:42Z Krystof joined #lisp 2021-04-06T13:15:33Z yonkunas joined #lisp 2021-04-06T13:17:51Z Kundry_Wag quit (Remote host closed the connection) 2021-04-06T13:18:03Z Kundry_Wag joined #lisp 2021-04-06T13:24:52Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2021-04-06T13:28:54Z warweasle joined #lisp 2021-04-06T13:31:23Z huonib: does anyone know of a compiled, dynamic language that doesn't use a garbage collector? I think an academic one might exist, but I am not sure 2021-04-06T13:31:41Z huonib: I am unsure if being dynamic requires a garbage collector... and I cannot find anything making that claim online 2021-04-06T13:34:06Z Krystof: I would not say that being dynamic requires a garbage collector 2021-04-06T13:34:44Z Krystof: As a concrete example, I would expect many Forths not to have a garbage collector 2021-04-06T13:35:43Z Bike: "dynamic" is a really vague term. 2021-04-06T13:35:43Z jackdaniel: put in your init (ext::disable-gc) and there you go, common lisp doesn't use the garbage collector ;-) 2021-04-06T13:36:00Z jackdaniel: don't expect it to work for long though 2021-04-06T13:36:29Z Krystof: I seem to recall stories about Lisp Machines needing to be power-cycled because they really really believed in tenure 2021-04-06T13:37:04Z Xach: I recently learned that Allegro has an operation "panify" to ensure that certain objects never grow old 2021-04-06T13:37:16Z Bike: heh. 2021-04-06T13:37:17Z Xach: (as in peter pan-ify) 2021-04-06T13:38:57Z paulj` joined #lisp 2021-04-06T13:38:59Z phantomics joined #lisp 2021-04-06T13:40:02Z paulj` quit (Remote host closed the connection) 2021-04-06T13:40:34Z paulj` joined #lisp 2021-04-06T13:40:39Z jcowan: huonib: GC is what you do to the heap, and Forth has no heap, only two stacks. (Which at that is better than Fortran II, which has neither heap nor stack.) 2021-04-06T13:40:50Z jcowan: s/II/II or 66 2021-04-06T13:41:35Z paulj` quit (Client Quit) 2021-04-06T13:41:54Z paulj joined #lisp 2021-04-06T13:44:00Z phantomics: Here's a question, not sure if this is completely off the wall ridiculous or not: how practical would it be to create a dialect or DSL within CL that runs code without GC? Meaning inside the code written in this DSL, you would have to manually manage memory and there would be functions for that 2021-04-06T13:44:36Z phantomics: Seems like something that could aid in doing realtime apps in CL 2021-04-06T13:44:40Z Bike: it would be difficult for objects in a managed space to refer to objects in an unmanaged space and vice versa. though it's possible. i mean, most implementations can handle foreign pointers. 2021-04-06T13:45:18Z tetrahedron quit (Ping timeout: 240 seconds) 2021-04-06T13:45:19Z Bike: but if an object in unmanaged space has a pointer to an object in managed space, and the collector tries to move things, problems will happen 2021-04-06T13:45:59Z phantomics: Yeah, if CFFI is possible I'd think something like this should be, I don't know if CLs have any functions that let you turn off GC for objects created within a particular block of code 2021-04-06T13:47:41Z gigamonkey joined #lisp 2021-04-06T13:49:09Z Nilby: phantomics: When heavily using a C FFI objects you have to somewhat restrict yourself to such a dialect. Thank goodness for with- macros. There are also some foreign calls which necessitate turning off GC in some implementations. 2021-04-06T13:50:11Z Feldman joined #lisp 2021-04-06T13:52:13Z Shinmera: The easiest way to prevent GC is to just not allocate. 2021-04-06T13:52:27Z gigamonkey quit (Ping timeout: 265 seconds) 2021-04-06T13:52:34Z Shinmera: And that's not even a joke. Allocate things once in a block, then manually recycle the objects. Presto, no GC. 2021-04-06T13:52:54Z villanella joined #lisp 2021-04-06T13:53:11Z Shinmera: You don't need a DSL or whatever for that, just a lot of restraint and a lot of annoying manual recycling, just when you manually malloc/free. 2021-04-06T13:53:20Z Shinmera: *just like 2021-04-06T13:54:12Z Bike: it might be nice if the compiler could help by flagging function calls that allocate, though. 2021-04-06T13:54:27Z Shinmera: For sure. Being able to see which functions are pure would be nice. 2021-04-06T13:54:54Z Shinmera: But not even a DSL can help with that (you can't know what's going to allocate without help from the compiler) 2021-04-06T13:55:05Z Bike: yeah. 2021-04-06T13:55:13Z Nilby: I seem to remember there was a CL that compiled to non-GC'd C code. 2021-04-06T13:56:19Z ukari quit (Ping timeout: 265 seconds) 2021-04-06T13:57:06Z Nilby: and they reccommended just such restraint 2021-04-06T13:57:40Z Shinmera: One trick I've been making use of in Kandria recently is, since I know some things are going to run single-threaded, but I cannot stack-allocate certain complex objects, I can instead use load-time-value to create a local instance that'll be re-used. Certainly less handy and more dangerous than stack allocation, but it does the trick. 2021-04-06T13:57:44Z heisig joined #lisp 2021-04-06T13:58:17Z Bike: there have been a couple times when i've been like "i know, i'll do the l-t-v trick" and then remembered other threads exist. very sad 2021-04-06T13:58:24Z Shinmera: Yep :( 2021-04-06T13:58:44Z Bike: takes me back to learning C and failing to understand static 2021-04-06T13:58:50Z Shinmera: Heh 2021-04-06T13:58:57Z mfiano: Shinmera: Interesting. Can you link to one part of your code that does that? I'd like to see it in context. 2021-04-06T13:59:49Z phoe: what is the issue with l-t-v in a multithreaded context? race conditions, or also something else? 2021-04-06T14:00:09Z Bike: well we're talking specifically about using a load-time-value object 2021-04-06T14:00:16Z Shinmera: if two threads access the same function at the same time they'll use the same instance and thrash it 2021-04-06T14:00:18Z Bike: there's only one, so if multiple threads try to use it at the same time, problems 2021-04-06T14:00:23Z semz: Nilby, I recall something like that as well, but iirc it had a supremely ungoogleable name like CL- or something... 2021-04-06T14:00:33Z Bike: same reason you can't use static in reentrant C functions 2021-04-06T14:00:41Z phoe: yes, so what I expected 2021-04-06T14:00:47Z Shinmera: mfiano: https://gitea.tymoon.eu/shinmera/kandria/src/branch/master/toolkit.lisp#L335 and tvec/tv+ things. 2021-04-06T14:01:15Z Shinmera: mfiano: Excuse gitea's shitty indentation 2021-04-06T14:01:32Z Shinmera: mfiano: For hit I know the object is not going to escape or be cached, so I can avoid allocating more than one instance. 2021-04-06T14:01:44Z Shinmera: mfiano: And for tvecs I know they're used as temporary value stores. 2021-04-06T14:02:16Z Shinmera: I could potentially stack-allocate the vecs, but as 3d-vectors is set up it can't do that most of the time. 2021-04-06T14:02:29Z Shinmera: (that's one of the things I'd like to rectify for v2) 2021-04-06T14:02:41Z notzmv quit (Ping timeout: 268 seconds) 2021-04-06T14:02:54Z huonib quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-06T14:03:34Z mfiano: AH I have recently start stack-allocating some vectors in my collision detection codes, and some lexical variables cannot be stack allocated because they call c2mop:s-i-a or something. Was trying to figure out what I could do about it 2021-04-06T14:04:46Z heisig quit (Ping timeout: 240 seconds) 2021-04-06T14:05:41Z mfiano: But I did make it more manageable. I had a OBB struct with like 20 slots, mostly all for mutating temp variables. It was a mess lol. Now there's only 5, with 2 of them being an unfortunate temp variable 2021-04-06T14:09:35Z mister_m quit (Ping timeout: 260 seconds) 2021-04-06T14:10:27Z semz: Turns out I was thinking of CL_1 as defined by CLICC, but that does seem to have a GC, so probably a different project. 2021-04-06T14:11:33Z ech quit (Ping timeout: 240 seconds) 2021-04-06T14:13:22Z bgardner quit (Quit: Konversation terminated!) 2021-04-06T14:13:42Z tetrahedron joined #lisp 2021-04-06T14:15:33Z beach: I define "dynamic language" as one with semantics defined by a suite of interactions. 2021-04-06T14:15:55Z beach: I use "interactive language" as a synonym. 2021-04-06T14:17:12Z epony quit (Remote host closed the connection) 2021-04-06T14:18:33Z Josh_2: Whats the sbcl function to drop into the top level repl? 2021-04-06T14:18:40Z epony joined #lisp 2021-04-06T14:20:25Z notzmv joined #lisp 2021-04-06T14:21:29Z ljavorsk quit (Ping timeout: 252 seconds) 2021-04-06T14:22:07Z Xach: Josh_2: toplevel-init (not an external symbol) 2021-04-06T14:22:27Z tetrahedron quit (Quit: WeeChat 3.1) 2021-04-06T14:25:20Z Josh_2: Thanks 2021-04-06T14:27:00Z maxwilliamson quit (Remote host closed the connection) 2021-04-06T14:27:22Z jmercouris: anyone can think of a way of writing a function "string" -> unique number? 2021-04-06T14:27:29Z maxwilliamson joined #lisp 2021-04-06T14:27:38Z mfiano: hash it 2021-04-06T14:27:43Z Josh_2: ^ 2021-04-06T14:27:44Z jmercouris: hashes have collisions 2021-04-06T14:28:04Z phoe: so you want bignums 2021-04-06T14:28:20Z jmercouris: phoe: ? 2021-04-06T14:28:32Z phoe: you need bignums to encode arbitrary strings without collisions 2021-04-06T14:28:39Z jmercouris: I guess so 2021-04-06T14:28:57Z jmercouris: I would be considering each letter a number in base 26 2021-04-06T14:29:07Z jmercouris: in that kind of a straightforwards case 2021-04-06T14:29:10Z phoe: convert your string into a byte array, append the string's length to it, convert the result into an integer 2021-04-06T14:29:19Z jmercouris: hm, or that, that is much simpler 2021-04-06T14:29:20Z mfiano: (sxhash "foo") would probably be acceptable and not collide with 61 bits on SBCL 2021-04-06T14:29:35Z mfiano: 62* 2021-04-06T14:29:39Z jmercouris: let me start with the base problem actually 2021-04-06T14:29:43Z phoe: yes please 2021-04-06T14:29:47Z jmercouris: I want to make a mode, and represent it with a unique glyph in nyxt 2021-04-06T14:29:52Z jmercouris: I want to be able to do this automatically 2021-04-06T14:30:04Z phoe: mode, as in? 2021-04-06T14:30:11Z jmercouris: the modes the user has active 2021-04-06T14:30:12Z phoe: are we talking emacs-like modes? 2021-04-06T14:30:18Z phoe: major, minor modes, et cetera? 2021-04-06T14:30:22Z jmercouris: yes, like that 2021-04-06T14:30:31Z mister_m joined #lisp 2021-04-06T14:32:23Z phoe: my UX instincts are telling me that modes should provide some sort of taskbar-like icon that can then be displayed, but that's orthogonal to your issue 2021-04-06T14:32:39Z jmercouris: you are correct 2021-04-06T14:32:44Z jmercouris: there is a glyph slot that the user can set 2021-04-06T14:32:48Z jmercouris: however, when it is NOT set, what to show? 2021-04-06T14:33:07Z phoe: that's not really a #lisp question I think :D you can try to use the first letter of the mode, or something 2021-04-06T14:33:22Z jmercouris: well it is a #lisp question in the sense that I want to go from string -> unique glyph 2021-04-06T14:33:33Z phoe: and provide more information when the user mouseovers above it 2021-04-06T14:33:37Z jmercouris: glyph can be a unicode value 2021-04-06T14:34:16Z phoe: sxhash is likely going to be good enough for your use case then 2021-04-06T14:34:23Z jmercouris: OK, thanks 2021-04-06T14:34:34Z phoe: I don't think you're going to have modes at a scale where collisions become likely 2021-04-06T14:34:48Z phoe: (mostly because you won't have enough screen to fit all those mode glyphs at once) 2021-04-06T14:34:51Z jmercouris: probably not, just my pedantic CS self thinking about it 11 2021-04-06T14:35:16Z Nilby: Websites, e.g. github, google docs, do this with random semi-unique user icons. 2021-04-06T14:38:14Z phoe: and, honestly, I think that providing icons and falling back to first letters of each mode name is going to be much better than generating tiny semirandom icons that users will need to memorize anyway before being able to use them well enough 2021-04-06T14:38:28Z phoe: but that's already UX zone 2021-04-06T14:38:28Z jmercouris: I think you're right phoe 2021-04-06T14:38:30Z jmercouris: I will do that 2021-04-06T14:38:31Z mister_m quit (Ping timeout: 260 seconds) 2021-04-06T14:39:04Z phoe: in the worst case the mode line will look like 2021-04-06T14:39:19Z phoe: "MmW🖊️" or something 2021-04-06T14:39:26Z jmercouris: lol, that would be something 2021-04-06T14:39:46Z phoe: and all I'm using there is three ASCII letters and one cursed unicode symbol 2021-04-06T14:40:58Z Oladon joined #lisp 2021-04-06T14:41:13Z jmercouris: lol yeah 2021-04-06T14:41:25Z choegusung joined #lisp 2021-04-06T14:42:31Z dinnu93 joined #lisp 2021-04-06T14:44:45Z choegusung quit (Client Quit) 2021-04-06T14:45:46Z jackdaniel: some random mcclim hackery show off: http://turtleware.eu/static/paste/3337104a-showoff.webm 2021-04-06T14:46:09Z jackdaniel: what you see there is a normal clim application run in the browser (the hunchentoot acceptor is also a frame manager) 2021-04-06T14:49:11Z ech joined #lisp 2021-04-06T14:52:59Z alanz: jackdaniel, nice. Is there example code we can look at somewhere? 2021-04-06T14:55:28Z Josh_2: Well thats really cool jackdaniel 2021-04-06T14:55:32Z jackdaniel: not yet, but it is part of the manual for writing backends I'm working on 2021-04-06T14:55:40Z jackdaniel: so it will be public eventually 2021-04-06T14:55:56Z jackdaniel: (mind that no js is involved so far) 2021-04-06T14:56:09Z Josh_2: The less the better imo 2021-04-06T14:58:55Z Josh_2: I have dumped my lisp image and I'm now connecting to it using sly-connect. How do I get all the output to go through my connected repl instead of into the terminal that I started the image in? 2021-04-06T14:59:54Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-06T15:01:59Z bitmapper joined #lisp 2021-04-06T15:06:17Z jmercouris: Josh_2: i don’t believe you can, when you start sly the *inferior lisp* buffer is always pushing some messages 2021-04-06T15:06:35Z jmercouris: I think the problem is in the case of CFFI that is writing to stdout for example 2021-04-06T15:06:43Z jmercouris: Though I’m not entirely sure of the conditions 2021-04-06T15:07:10Z jackdaniel: Josh_2: try (setf (symbol-value '*standard-output*) your-sly-stream) 2021-04-06T15:07:41Z jmercouris: I don’t know if that will capture all messages 2021-04-06T15:07:53Z jmercouris: I’ve had C code evade that I believe 2021-04-06T15:08:54Z jackdaniel: I thought that we talk about common lisp 2021-04-06T15:09:52Z Josh_2: How do I find my sly stream? 2021-04-06T15:10:02Z jackdaniel: even when you start your lisp from emacs other processes that write to stdout will still write to stdout 2021-04-06T15:10:28Z jackdaniel: Josh_2: type (defparameter cl-user::*my-stream* *standard-output*) in sly repl 2021-04-06T15:12:44Z Josh_2: well 2021-04-06T15:13:23Z Josh_2: maybe I should just deal with the output being in my terminal 2021-04-06T15:19:10Z DGASAU quit (Read error: Connection reset by peer) 2021-04-06T15:19:31Z DGASAU joined #lisp 2021-04-06T15:20:42Z mister_m joined #lisp 2021-04-06T15:26:13Z silasfox quit (Ping timeout: 265 seconds) 2021-04-06T15:38:04Z phoe: Bike: regarding the l-t-v trick, l-t-v CLHS page states that the object is treated as a literal; doesn't mutating it invoke UB then? 2021-04-06T15:38:25Z charles` quit (Ping timeout: 276 seconds) 2021-04-06T15:39:29Z mfiano: I asked Shinmera the same thing 2021-04-06T15:42:22Z Shinmera: It sure does, but there's no incentive for it to not just work the way you expect it to. 2021-04-06T15:43:19Z mfiano: I think we all know we can't assume programmers to make sound decisions all the time. I can't guarantee an implementation won't be doing something funky, or my current implementation some time in the future. 2021-04-06T15:43:37Z jackdaniel: (pushnew :lean-and-mean *features*) 2021-04-06T15:44:41Z phoe: I guess an implementation could go ahead and define that behavior as possible and useful, then 2021-04-06T15:44:49Z Shinmera: sure. 2021-04-06T15:45:32Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-06T15:46:50Z Nilby: But there's an incentive as an implementation developer to have popular software run on your implementation. 2021-04-06T15:46:52Z mfiano: Might want to wrap that pattern up in a macro just to have a search point and a single place for a big comment. 2021-04-06T15:46:56Z _death: if I understand it correctly, the compiler treats it as a literal object, but it's still modifiable by the user, as long as read-only is nil, as the preceding paragraph says 2021-04-06T15:48:26Z phoe: yes, I can see that it is being confusing; generally, "modifiable data" and "literal object" should be disjoint sets 2021-04-06T15:49:25Z zulu-inuoe joined #lisp 2021-04-06T15:50:09Z Feldman joined #lisp 2021-04-06T15:50:10Z Oladon quit (Quit: Leaving.) 2021-04-06T15:51:02Z phoe: and the specification is not very clear here 2021-04-06T15:51:20Z _death: literal here means it's "referenced directly in a program rather than being computed by the program".. I think it means the form is only evaluated once 2021-04-06T15:53:20Z Nilby: I think the Lisp aesthetic is to no have unmodifiable that exists. 2021-04-06T15:53:39Z Nilby: unmodifiable data that is 2021-04-06T15:55:01Z Shinmera: My favourite lisp aesthetic is being fast in the face of adversity. This includes having unmodifiable things at times. 2021-04-06T15:55:44Z ukari joined #lisp 2021-04-06T15:56:30Z hypercube joined #lisp 2021-04-06T15:59:12Z pjb: Shinmera: in general, compiled code is immutable. 2021-04-06T15:59:15Z Nilby: If it doesn't exist because it's optimized away, or it's existence is temporary, sure, but if you break in the debugger at the just right place, it's modifiable. I can accept things intentionally protected by memory barriers and such. It's also happens to be the aesthetic of assembly code. 2021-04-06T15:59:16Z pjb: :-) 2021-04-06T15:59:34Z rumbler31 quit (Ping timeout: 265 seconds) 2021-04-06T15:59:49Z pjb: Nilby: code is data ;-) 2021-04-06T16:00:21Z orivej joined #lisp 2021-04-06T16:00:33Z Nilby: I agree and I think compiled code should be modifiable. 2021-04-06T16:01:34Z contrapunctus left #lisp 2021-04-06T16:03:26Z long4mud quit (Ping timeout: 265 seconds) 2021-04-06T16:04:06Z contrapunctus joined #lisp 2021-04-06T16:05:00Z _death: (setf (aref (code-vector #'sleep) 0) #xC3) 2021-04-06T16:05:13Z _death: makes your programs faster :) 2021-04-06T16:05:31Z Nilby: _death: Exactly! or even (setf (aref (disassemble #'cdr) 23) '(:pop :rsp)) 2021-04-06T16:05:34Z jmercouris: how can my object have two slots of the same name??? 2021-04-06T16:05:46Z jmercouris: http://dpaste.com/775L8DQAP 2021-04-06T16:05:50Z jmercouris: Glyph appears TWICE! 2021-04-06T16:05:51Z pjb: Nilby: it is not necessary. Non-controlled systems want to put the code in read-only memory to avoid exploits. Controlled systems want to prevent write access (and sometimes even read-access) to the code to ensure control and security. And in lisp we can always modify the source sexp and recompile. 2021-04-06T16:06:14Z phoe: jmercouris: what packages are those slot names from 2021-04-06T16:06:30Z jmercouris: damnit you are right phoe 2021-04-06T16:06:30Z epony: https://en.wikipedia.org/wiki/Return-oriented_programming challenges that Apr06 1559 Shinmera: in general, compiled code is immutable. 2021-04-06T16:06:44Z pjb: jmercouris: (setf *print-readably* t) (inspect x)? 2021-04-06T16:07:03Z davisr_ joined #lisp 2021-04-06T16:07:16Z pjb: epony: of course, there are nice hacks possible when you can modify the code. Also, instruction caches want to avoid it. 2021-04-06T16:07:19Z cage_ joined #lisp 2021-04-06T16:07:39Z pjb: jmercouris: export and use it, or qualify it in the subclass. 2021-04-06T16:07:56Z jmercouris: I'll export it 2021-04-06T16:08:31Z pjb: jmercouris: note: you could perhaps use :default-initargs to avoid having to redefine the slot in the subclass? 2021-04-06T16:08:52Z jmercouris: pjb: cannot do, the whole point is the slot /must/ redefine the value 2021-04-06T16:09:00Z jmercouris: s/slot/subclass 2021-04-06T16:09:11Z pjb: With an :initarg, you can specify a value for a slot. 2021-04-06T16:09:21Z davisr quit (Ping timeout: 246 seconds) 2021-04-06T16:09:22Z jmercouris: I am aware of that, but it must change PER subclass 2021-04-06T16:09:22Z pjb: With a :defaultinitarg you can do that by default for all make-instance calls. 2021-04-06T16:09:26Z VincentVega joined #lisp 2021-04-06T16:09:27Z pjb: +- 2021-04-06T16:09:37Z jmercouris: 1 2021-04-06T16:09:38Z jmercouris: indeed 2021-04-06T16:09:43Z phoe: superclass: (:default-initargs :foo (alexandria:required-argument :foo)) 2021-04-06T16:09:49Z cosimone joined #lisp 2021-04-06T16:09:50Z phoe: subclass: (:default-initargs :foo 42) 2021-04-06T16:14:01Z gitgood joined #lisp 2021-04-06T16:18:37Z long4mud joined #lisp 2021-04-06T16:18:43Z Nilby: pjb: Yes, I agree it's not necessary, but still useful. I think it's basically game over for security if something can control Lisp code, but in some way beach's idea of top level first class environments is like having virtual lisp machines. I would like to think it could include hardware level protection, so that memory address and compiled code could still be safely modifiable. 2021-04-06T16:19:52Z notzmv quit (Ping timeout: 265 seconds) 2021-04-06T16:21:19Z orivej quit (Ping timeout: 265 seconds) 2021-04-06T16:21:46Z _death: Nilby: you can do it today with implementation and platform specific means 2021-04-06T16:23:13Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-06T16:26:06Z pjb: Nilby: it is a choice: either you allow modifiable code, and then you need a system like unix with separate addressing spaces and crashes, or you prevent modifiable code, and even you prevent generating code vectors by random code, only compilers authorized by the system are allowed to produce code that is guaranteed not to crash, and then you can avoid the separate addressing space and use capabilities, environments and have bet 2021-04-06T16:26:07Z pjb: security. 2021-04-06T16:28:56Z Nilby: I guess I'm imagining I could have both, without crashing an O/S layer. 2021-04-06T16:33:38Z Nilby: I guess I'll have to wait for a portable with-lisp-vm that doesn't do something horrible like linux containers. 2021-04-06T16:36:18Z _death: namespaces/cgroups are kinda simple though.. just need a lisp library to wrap'em 2021-04-06T16:37:37Z davisr__ joined #lisp 2021-04-06T16:40:33Z davisr_ quit (Ping timeout: 268 seconds) 2021-04-06T16:40:49Z Nilby: _death: I don't feel like cgroups are simple: ls -R /sys/fs/cgroup/ | wc -l => over 6000! 2021-04-06T16:41:27Z Nilby: er, actually over 14k! 2021-04-06T16:43:23Z Nilby: Please forgive me for typing unix code in #lisp :( 2021-04-06T16:47:29Z Feldman joined #lisp 2021-04-06T16:48:45Z norsxa joined #lisp 2021-04-06T16:49:51Z norsxa quit (Client Quit) 2021-04-06T16:50:04Z raeda quit (Quit: Leaving) 2021-04-06T16:50:06Z zaquest quit (Read error: Connection reset by peer) 2021-04-06T16:50:34Z zaquest joined #lisp 2021-04-06T16:51:30Z norsxa joined #lisp 2021-04-06T16:54:34Z silasfox joined #lisp 2021-04-06T16:57:16Z Bike: phoe: if read-only-p is false, modifying load-time-value objects is fine 2021-04-06T16:57:16Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-06T16:57:23Z Bike: "it must be considered to be potentially modifiable data" 2021-04-06T16:57:27Z aartaka joined #lisp 2021-04-06T16:58:52Z Bike: it's not ub 2021-04-06T16:59:33Z _death: Nilby: do they all have ad-hoc semantics? 2021-04-06T17:00:18Z gigamonkey joined #lisp 2021-04-06T17:01:16Z mindCrime_ joined #lisp 2021-04-06T17:02:12Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-06T17:02:57Z silasfox` joined #lisp 2021-04-06T17:04:03Z Feldman joined #lisp 2021-04-06T17:04:06Z elflng quit (Ping timeout: 240 seconds) 2021-04-06T17:04:19Z silasfox` left #lisp 2021-04-06T17:05:21Z _death: Nilby: I guess a good reason to stay away from it is the constant churning though 2021-04-06T17:05:31Z silasfox` joined #lisp 2021-04-06T17:05:33Z Nilby: _death: I don't know, but looking linux/Documentation/cgroup*/*.txt I got disgusted by the complexity and stupidity of the formatted file based API 2021-04-06T17:05:46Z silasfox` quit (Client Quit) 2021-04-06T17:05:48Z notzmv joined #lisp 2021-04-06T17:05:52Z varjag joined #lisp 2021-04-06T17:10:51Z Nilby: I was actually considering how to wrap such a thing in Lisp without using foreign code above the kernel. 2021-04-06T17:11:26Z _death: I think at one point I looked at launching a qemu instance and communicating with it using zeromq 2021-04-06T17:13:26Z Nilby: That's much more sensible, but I have some dumb obsession with idea that I want 100% lisp code above the kernel. 2021-04-06T17:14:44Z sauvin quit (Remote host closed the connection) 2021-04-06T17:15:40Z semz: there are dumber obsessions 2021-04-06T17:16:58Z ljavorsk joined #lisp 2021-04-06T17:23:15Z ljavorsk quit (Ping timeout: 260 seconds) 2021-04-06T17:31:08Z rogersm quit (Quit: Leaving...) 2021-04-06T17:32:14Z notzmv quit (Read error: Connection reset by peer) 2021-04-06T17:33:03Z mindCrime_ quit (Ping timeout: 260 seconds) 2021-04-06T17:39:51Z ukari quit (Remote host closed the connection) 2021-04-06T17:40:27Z ukari joined #lisp 2021-04-06T17:43:11Z ikrabbe quit (Ping timeout: 240 seconds) 2021-04-06T17:47:34Z phoe: Bike: yes, I assume that this passage takes precedence over clhs 3.7.1 2021-04-06T17:49:24Z Bike: ah, i suppose. "treated like a literal object at runtime" is a bit vague. i think it's mainly just emphasizing that the form is only evaluated once. 2021-04-06T17:49:43Z phoe: yes 2021-04-06T17:49:49Z phoe: that's the part that confused me 2021-04-06T17:50:42Z Bike: ltv is one of those things that didn't really make any sense to me until i implemented it 2021-04-06T17:50:54Z Bike: and even now it can confuse me at times 2021-04-06T17:51:10Z phoe: l-t-v is a thing that didn't make sense to me until I actually needed to use it 2021-04-06T17:51:54Z Bike: the really involved part is all the cycle detection and ordering of load time evaluations 2021-04-06T17:52:09Z Bike: it's kind of a lot of work for the compiler writer but programmers don't usually think about it 2021-04-06T17:53:31Z rumbler31 joined #lisp 2021-04-06T17:54:36Z pjb: There's still ordering freedom left to the compiler. the order of the l-t-v forms is not specified IIRC. 2021-04-06T17:54:46Z zaquest quit (Ping timeout: 240 seconds) 2021-04-06T17:55:00Z slyrus joined #lisp 2021-04-06T17:59:41Z slyrus quit (Ping timeout: 260 seconds) 2021-04-06T18:01:44Z _death: Bike: after thinking about it more, it's not just that it's evaluated once, but also that the object is returned as-is, not, say, copied (according to some definition of copied) 2021-04-06T18:03:23Z Bike: in some way making it non-eq? i suppose so 2021-04-06T18:07:04Z ukari quit (Remote host closed the connection) 2021-04-06T18:07:52Z ukari joined #lisp 2021-04-06T18:11:05Z Inline joined #lisp 2021-04-06T18:12:50Z notzmv joined #lisp 2021-04-06T18:12:52Z VincentVega quit (Quit: Connection closed) 2021-04-06T18:27:12Z dinnu93 quit (Remote host closed the connection) 2021-04-06T18:27:21Z Nilby quit (Ping timeout: 250 seconds) 2021-04-06T18:31:46Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-06T18:37:08Z Feldman joined #lisp 2021-04-06T18:37:19Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T18:37:36Z amb007 joined #lisp 2021-04-06T18:37:36Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T18:37:53Z amb007 joined #lisp 2021-04-06T18:40:15Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T18:41:22Z amb007 joined #lisp 2021-04-06T18:41:38Z semz quit (Read error: Connection reset by peer) 2021-04-06T18:43:17Z davisr_ joined #lisp 2021-04-06T18:43:30Z davisr_ is now known as davisr 2021-04-06T18:44:30Z curtosis[away] joined #lisp 2021-04-06T18:44:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T18:44:46Z amb007 joined #lisp 2021-04-06T18:44:46Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T18:45:01Z amb007 joined #lisp 2021-04-06T18:45:34Z skapata joined #lisp 2021-04-06T18:45:51Z davisr__ quit (Ping timeout: 260 seconds) 2021-04-06T18:48:46Z Codaraxis joined #lisp 2021-04-06T18:48:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T18:48:50Z ljavorsk joined #lisp 2021-04-06T18:49:27Z amb007 joined #lisp 2021-04-06T18:49:33Z klltkr joined #lisp 2021-04-06T18:50:03Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-06T18:51:38Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T18:52:25Z amb007 joined #lisp 2021-04-06T18:53:50Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-06T18:57:24Z orivej joined #lisp 2021-04-06T18:59:25Z notzmv quit (Ping timeout: 252 seconds) 2021-04-06T19:02:39Z thinkpad quit (Ping timeout: 260 seconds) 2021-04-06T19:04:49Z thinkpad joined #lisp 2021-04-06T19:06:31Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-06T19:11:27Z aeth quit (Ping timeout: 265 seconds) 2021-04-06T19:12:00Z ukari quit (Remote host closed the connection) 2021-04-06T19:12:02Z aeth joined #lisp 2021-04-06T19:13:05Z ukari joined #lisp 2021-04-06T19:15:50Z hiroaki joined #lisp 2021-04-06T19:16:46Z cosimone quit (Remote host closed the connection) 2021-04-06T19:17:03Z cosimone joined #lisp 2021-04-06T19:17:10Z Feldman joined #lisp 2021-04-06T19:18:42Z cosimone quit (Remote host closed the connection) 2021-04-06T19:20:09Z aeth quit (Ping timeout: 265 seconds) 2021-04-06T19:20:54Z aeth joined #lisp 2021-04-06T19:29:48Z warweasle quit (Quit: rcirc on GNU Emacs 26.1) 2021-04-06T19:32:36Z davisr quit (Ping timeout: 268 seconds) 2021-04-06T19:32:43Z davisr_ joined #lisp 2021-04-06T19:36:43Z karlosz joined #lisp 2021-04-06T19:41:20Z cage_ quit (Quit: Leaving) 2021-04-06T19:42:09Z notzmv joined #lisp 2021-04-06T19:44:48Z narimiran quit (Ping timeout: 265 seconds) 2021-04-06T19:47:05Z notzmv quit (Ping timeout: 246 seconds) 2021-04-06T19:48:00Z contrapunctus left #lisp 2021-04-06T19:48:11Z contrapunctus joined #lisp 2021-04-06T19:48:11Z hypercube quit (Ping timeout: 265 seconds) 2021-04-06T19:48:22Z Lord_of_Life_ joined #lisp 2021-04-06T19:49:19Z Lord_of_Life quit (Ping timeout: 260 seconds) 2021-04-06T19:49:48Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-06T19:51:48Z cosimone joined #lisp 2021-04-06T19:53:01Z thinkpad quit (Ping timeout: 265 seconds) 2021-04-06T19:54:51Z thinkpad joined #lisp 2021-04-06T19:55:53Z ikrabbe joined #lisp 2021-04-06T19:59:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T19:59:27Z amb007 joined #lisp 2021-04-06T20:01:27Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T20:02:56Z amb007 joined #lisp 2021-04-06T20:03:37Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-06T20:03:37Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T20:04:01Z jeosol joined #lisp 2021-04-06T20:04:15Z silasfox quit (Ping timeout: 260 seconds) 2021-04-06T20:04:43Z amb007 joined #lisp 2021-04-06T20:06:07Z VincentVega joined #lisp 2021-04-06T20:06:08Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T20:06:52Z amb007 joined #lisp 2021-04-06T20:08:25Z hypercube joined #lisp 2021-04-06T20:08:25Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T20:08:58Z amb007 joined #lisp 2021-04-06T20:08:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T20:09:14Z amb007 joined #lisp 2021-04-06T20:09:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T20:09:54Z amb007 joined #lisp 2021-04-06T20:11:41Z aartaka quit (Ping timeout: 240 seconds) 2021-04-06T20:11:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T20:11:48Z amb007 joined #lisp 2021-04-06T20:12:27Z aartaka joined #lisp 2021-04-06T20:12:28Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T20:12:40Z cosimone quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-06T20:12:48Z amb007 joined #lisp 2021-04-06T20:13:01Z notzmv joined #lisp 2021-04-06T20:23:49Z sm2n quit (Read error: Connection reset by peer) 2021-04-06T20:23:49Z amb007 quit (Read error: Connection reset by peer) 2021-04-06T20:23:50Z sm2n_ joined #lisp 2021-04-06T20:23:52Z sm2n_ is now known as sm2n 2021-04-06T20:24:01Z amb007 joined #lisp 2021-04-06T20:28:49Z __jrjsmrtn__ quit (Quit: Bye !) 2021-04-06T20:32:34Z eddof13 joined #lisp 2021-04-06T20:32:44Z galex-713 joined #lisp 2021-04-06T20:33:21Z slyrus joined #lisp 2021-04-06T20:34:38Z __jrjsmrtn__ joined #lisp 2021-04-06T20:35:33Z aartaka_d joined #lisp 2021-04-06T20:35:41Z aartaka quit (Ping timeout: 240 seconds) 2021-04-06T20:36:06Z pve quit (Quit: leaving) 2021-04-06T20:37:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-06T20:48:22Z cosimone joined #lisp 2021-04-06T20:48:44Z gigamonkey quit 2021-04-06T20:49:15Z DGASAU quit (Read error: Connection reset by peer) 2021-04-06T20:50:01Z VincentVega quit (Quit: Connection closed) 2021-04-06T20:52:50Z mfiano: Posted in #sbcl also, but does anyone know of a workaround to the compiler notes on SBCL for this simple function? I've been trying everything I can think of: https://gist.github.com/mfiano/66c0c1897c190e68438d405f604ddb20 2021-04-06T20:54:39Z DGASAU joined #lisp 2021-04-06T20:55:17Z lawt joined #lisp 2021-04-06T20:58:49Z _death: (values (floor (floor x) y)) ? 2021-04-06T20:58:49Z karlosz quit (Quit: karlosz) 2021-04-06T21:00:25Z _death: I'm not sure you want to compute that.. 2021-04-06T21:01:32Z anticrisis joined #lisp 2021-04-06T21:02:47Z mfiano: _death: I'm trying to rasterize a 3D cuboid volume to see which cubed grid cells it touches. Here is the real code https://gist.github.com/mfiano/eba07f48c2285a47fa0685713a1f2495 2021-04-06T21:02:58Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-06T21:04:13Z mfiano: Those #'map's are there because min1/max1 will be inputs to the function later on, and are required to be (simple-array single-float (3)) 2021-04-06T21:04:39Z mfiano: This test code should be printing lists of fixnums, not floats 2021-04-06T21:05:02Z vv8 quit (Ping timeout: 265 seconds) 2021-04-06T21:05:52Z cosimone quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-06T21:09:09Z ech quit (Ping timeout: 240 seconds) 2021-04-06T21:09:17Z mfiano: Also what did you mean by "not sure"? 2021-04-06T21:10:45Z _death: in your first gist, you have assert -1.0 < x < 1.0 so result will always be -1 or 0 2021-04-06T21:11:44Z mfiano: Yes, the actual domain doesn't matter...just has to be small enough for the result to be fixnumable 2021-04-06T21:12:36Z mfiano: So is it the case that the 2-arity floor is just missing a transform, or is there a better reason it didn't work? 2021-04-06T21:17:06Z mfiano: It seems if I assert with (assert (< #.(float (expt -10f0 9) 1f0) x #.(float (expt 10f0 18) 1f0))) your version works. Curious why such the unsymmetrical domain 2021-04-06T21:18:02Z mfiano: increasing lower or upper more fails 2021-04-06T21:19:39Z _death: well, (truly-the (unsigned-byte 32) (floor (the (single-float 0.0 65535.0) x) cell-size)) in the second gist (after fixing malformed syntax) seems to give no note 2021-04-06T21:19:50Z _death: (and it should actually be 65536.0) 2021-04-06T21:20:08Z mfiano: or in base 2, exponents 19 and 61 respectively 2021-04-06T21:21:08Z heisig joined #lisp 2021-04-06T21:21:19Z ech joined #lisp 2021-04-06T21:22:13Z mfiano: You are right 2021-04-06T21:22:34Z mfiano: I don't use truly-the though. 2021-04-06T21:22:56Z _death: not sure how to do without it 2021-04-06T21:23:16Z mfiano: I demonstrated above 2021-04-06T21:23:20Z mfiano: It's ugly but it works 2021-04-06T21:24:33Z aartaka_d quit (Ping timeout: 260 seconds) 2021-04-06T21:25:18Z mfiano: (lambda (x) (declare ((u:f32 #.(expt -2f0 19) #.(expt 2f0 61)) x)) (floor (floor x) cell-size)) 2021-04-06T21:25:31Z mfiano: u:f32 being just a short alias for single-float 2021-04-06T21:27:26Z cosimone joined #lisp 2021-04-06T21:29:03Z cosimone quit (Client Quit) 2021-04-06T21:29:31Z cosimone joined #lisp 2021-04-06T21:31:31Z Inline quit (Ping timeout: 260 seconds) 2021-04-06T21:32:22Z mfiano: Yeah i'm not sure what SBCL is doing. Should be 24 bits of precision and 128 bits of range 2021-04-06T21:32:27Z notzmv quit (Ping timeout: 260 seconds) 2021-04-06T21:36:37Z jmercouris: jackdaniel: why are there constant page loads in your demo? why not utilize ajax? 2021-04-06T21:36:53Z jmercouris: is the goal to run mcclim in a browser that does not support javascript? 2021-04-06T21:38:26Z mindCrime_ joined #lisp 2021-04-06T21:39:02Z mfiano: he's probably using broadway 2021-04-06T21:39:21Z mfiano: or something 2021-04-06T21:40:19Z heisig quit (Ping timeout: 265 seconds) 2021-04-06T21:41:51Z jmercouris: that would make sense 2021-04-06T21:42:00Z jmercouris: I was also thinking maybe a webgl surface or something earlier 2021-04-06T21:42:31Z Krystof: mfiano: I think the issue is that your divisor range includes 0 2021-04-06T21:43:07Z mfiano: Krystof: I don't understand 2021-04-06T21:43:21Z mfiano: Also it looks like the lower bound is restricted to _odd_ exponents <= 19 2021-04-06T21:43:44Z Krystof: your type for y in (floor x y) includes 0 2021-04-06T21:43:53Z mfiano: ohhh 2021-04-06T21:44:00Z scymtym: mfiano: no, the broadway backend is separate 2021-04-06T21:44:31Z Krystof: I think SBCL is not being very smart about the fact that it includes 0, but you should probably exclude 0 if you can 2021-04-06T21:44:45Z mfiano: certainly 2021-04-06T21:44:49Z cosimone quit (Remote host closed the connection) 2021-04-06T21:44:51Z mfiano: let me try that and see what i get 2021-04-06T21:45:09Z fourier quit (Ping timeout: 252 seconds) 2021-04-06T21:45:09Z Krystof: (defun baz (x y) 2021-04-06T21:45:09Z Krystof: (declare (type (single-float (-1.0) (1.0)) x) (type (and (integer (0)) (unsigned-byte 8)) y) 2021-04-06T21:45:09Z Krystof: (optimize speed)) 2021-04-06T21:45:09Z Krystof: (floor x y)) 2021-04-06T21:46:24Z mfiano: Seems to still have the weird unbalanced domain 2021-04-06T21:46:43Z mfiano: odd exponents <= 19 for low end, and any <= 61 for high 2021-04-06T21:46:53Z scymtym: seems like a good time to plug https://github.com/scymtym/sbcl-ir-visualizer again. it shows derived types of intermediate results among other things 2021-04-06T21:46:59Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-06T21:48:47Z jmercouris: scymtym: what can we do with this? 2021-04-06T21:48:59Z jmercouris: performance optimization? 2021-04-06T21:49:03Z jmercouris: SBCL development? 2021-04-06T21:49:44Z scymtym: jmercouris: both. you can type in a lambda expression and investigate how SBCL processes it under different optimization policies 2021-04-06T21:49:47Z jmercouris: It is a cool project, don't get me wrong, just wondering what intent you had when developing it 2021-04-06T21:50:02Z jmercouris: I see 2021-04-06T21:50:23Z phoe: I'd place $5 that the intent was introspection into the SBCL compilation and IR generation process 2021-04-06T21:50:43Z phoe: better to work with things when they're laid out spatially 2021-04-06T21:50:50Z jmercouris: phoe: that was the outcome, was that the intent? 2021-04-06T21:51:02Z phoe: s/place/bet/ 2021-04-06T21:51:12Z phoe: let's see if I lose my five bucks 2021-04-06T21:52:12Z zigpaw107613 quit (Quit: Ping timeout (120 seconds)) 2021-04-06T21:52:28Z zigpaw107613 joined #lisp 2021-04-06T21:52:39Z Krystof: mfiano: I don't understand what you mean by unbalanced domain. Example? 2021-04-06T21:52:50Z mfiano: Krystof: One moment 2021-04-06T21:53:05Z scymtym: phoe is right since he described what the program does and i made it do that intentionally. but i'm not sure where this discussion is supposed to go 2021-04-06T21:54:43Z mfiano: Krystof: Shall we take this to #sbcl? 2021-04-06T21:55:10Z Krystof: maybe to a mailing list; I'm about to go to bed 2021-04-06T21:55:53Z Krystof: or you can (trace :encapsulate nil sb-c::floor-derive-type-optimizer sb-c::floor-quotient-bound) to find what's not giving you the right answer 2021-04-06T21:56:11Z Krystof: SBCL is a bit conservative about its lower bound to floor in the presence of floating point arithmetic 2021-04-06T22:00:07Z hendursaga quit (Remote host closed the connection) 2021-04-06T22:00:32Z hendursaga joined #lisp 2021-04-06T22:06:31Z notzmv joined #lisp 2021-04-06T22:11:39Z rgherdt quit (Ping timeout: 260 seconds) 2021-04-06T22:14:10Z surabax quit (Quit: Leaving) 2021-04-06T22:16:47Z rumbler31 quit (Remote host closed the connection) 2021-04-06T22:17:02Z rumbler31 joined #lisp 2021-04-06T22:18:09Z villanella quit (Ping timeout: 252 seconds) 2021-04-06T22:21:27Z random-nick quit (Ping timeout: 260 seconds) 2021-04-06T22:24:41Z rumbler31 quit (Remote host closed the connection) 2021-04-06T22:25:07Z Feldman joined #lisp 2021-04-06T22:26:01Z Feldman quit (Client Quit) 2021-04-06T22:26:38Z karlosz joined #lisp 2021-04-06T22:29:10Z Feldman joined #lisp 2021-04-06T22:33:18Z sveit joined #lisp 2021-04-06T22:33:50Z simplegauss joined #lisp 2021-04-06T22:34:31Z mindCrime_ quit (Ping timeout: 260 seconds) 2021-04-06T22:36:06Z lotuseater quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-06T22:37:07Z frgo quit (Remote host closed the connection) 2021-04-06T22:37:31Z frgo joined #lisp 2021-04-06T22:42:03Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-06T22:45:16Z akoana joined #lisp 2021-04-06T22:51:58Z sxmx quit (Quit: WeeChat 3.1) 2021-04-06T22:58:54Z sxmx joined #lisp 2021-04-06T23:02:41Z scm quit (Quit: Leaving) 2021-04-06T23:05:19Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-06T23:05:25Z vv8 joined #lisp 2021-04-06T23:08:46Z shka_ quit (Ping timeout: 240 seconds) 2021-04-06T23:13:47Z curtosis[away] joined #lisp 2021-04-06T23:14:05Z notzmv quit (Ping timeout: 265 seconds) 2021-04-06T23:19:20Z charles` joined #lisp 2021-04-06T23:19:30Z kevingal_ quit (Ping timeout: 246 seconds) 2021-04-06T23:21:46Z kevingal joined #lisp 2021-04-06T23:42:50Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-06T23:46:23Z hypercube quit (Ping timeout: 260 seconds) 2021-04-06T23:48:36Z igemnace joined #lisp 2021-04-06T23:57:52Z mindCrime_ joined #lisp 2021-04-07T00:03:52Z kevingal quit (Remote host closed the connection) 2021-04-07T00:17:39Z renzhi joined #lisp 2021-04-07T00:19:02Z aeth quit (Ping timeout: 246 seconds) 2021-04-07T00:20:04Z mrchampion quit (Read error: Connection reset by peer) 2021-04-07T00:20:58Z aeth joined #lisp 2021-04-07T00:21:32Z zulu-inuoe quit (Read error: Connection reset by peer) 2021-04-07T00:23:37Z mrchampion joined #lisp 2021-04-07T00:25:17Z rumbler31 joined #lisp 2021-04-07T00:27:36Z Codaraxis_ joined #lisp 2021-04-07T00:29:50Z Codaraxis quit (Ping timeout: 268 seconds) 2021-04-07T00:29:58Z rumbler31 quit (Ping timeout: 265 seconds) 2021-04-07T00:32:32Z zaquest joined #lisp 2021-04-07T00:40:45Z mmmattyx quit (Quit: Connection closed for inactivity) 2021-04-07T00:43:31Z sjl joined #lisp 2021-04-07T00:50:45Z orivej quit (Ping timeout: 265 seconds) 2021-04-07T01:02:30Z luna_is_here joined #lisp 2021-04-07T01:09:06Z frost-lab joined #lisp 2021-04-07T01:17:51Z DGASAU quit (Ping timeout: 260 seconds) 2021-04-07T01:23:09Z raeda joined #lisp 2021-04-07T01:30:30Z DGASAU joined #lisp 2021-04-07T01:31:44Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-07T01:31:48Z renzhi quit (Ping timeout: 246 seconds) 2021-04-07T01:33:39Z logand`` joined #lisp 2021-04-07T01:37:05Z logand` quit (Ping timeout: 246 seconds) 2021-04-07T01:50:08Z indathrone quit (Quit: Leaving) 2021-04-07T01:58:20Z ikrabbe|2 joined #lisp 2021-04-07T02:01:19Z ikrabbe quit (Ping timeout: 265 seconds) 2021-04-07T02:07:07Z mindCrime_ quit (Ping timeout: 265 seconds) 2021-04-07T02:09:08Z orivej joined #lisp 2021-04-07T02:14:41Z orivej quit (Ping timeout: 240 seconds) 2021-04-07T02:17:26Z aeth_ joined #lisp 2021-04-07T02:19:27Z aeth quit (Ping timeout: 260 seconds) 2021-04-07T02:22:22Z aeth_ is now known as aeth 2021-04-07T02:26:49Z slyrus joined #lisp 2021-04-07T02:31:17Z slyrus quit (Ping timeout: 265 seconds) 2021-04-07T02:42:22Z DanklyTuned joined #lisp 2021-04-07T02:45:11Z Josh_2 quit (Ping timeout: 240 seconds) 2021-04-07T02:57:07Z contrapunctus left #lisp 2021-04-07T02:59:45Z trcm joined #lisp 2021-04-07T03:00:20Z contrapunctus joined #lisp 2021-04-07T03:02:50Z Alfr is now known as Guest90541 2021-04-07T03:02:54Z Alfr joined #lisp 2021-04-07T03:04:17Z beach: Good morning everyone! 2021-04-07T03:05:12Z Guest90541 quit (Ping timeout: 258 seconds) 2021-04-07T03:28:13Z slyrus joined #lisp 2021-04-07T03:33:39Z slyrus quit (Ping timeout: 260 seconds) 2021-04-07T03:34:53Z orivej joined #lisp 2021-04-07T03:52:52Z silasfox joined #lisp 2021-04-07T03:55:56Z akoana quit (Quit: leaving) 2021-04-07T03:56:41Z skapata quit (Remote host closed the connection) 2021-04-07T03:57:25Z ebrasca quit (Remote host closed the connection) 2021-04-07T03:57:38Z davisr__ joined #lisp 2021-04-07T03:57:57Z ech quit (Ping timeout: 240 seconds) 2021-04-07T03:59:41Z davisr_ quit (Ping timeout: 240 seconds) 2021-04-07T04:00:57Z aartaka joined #lisp 2021-04-07T04:08:01Z hypercube joined #lisp 2021-04-07T04:14:12Z hypercube quit (Ping timeout: 246 seconds) 2021-04-07T04:19:55Z hypercube joined #lisp 2021-04-07T04:23:03Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-07T04:23:08Z Nilby joined #lisp 2021-04-07T04:24:31Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-07T04:24:33Z hypercube quit (Ping timeout: 258 seconds) 2021-04-07T04:27:35Z hypercube joined #lisp 2021-04-07T04:29:41Z aartaka_d joined #lisp 2021-04-07T04:32:28Z contrapunctus left #lisp 2021-04-07T04:32:41Z aartaka quit (Ping timeout: 240 seconds) 2021-04-07T04:34:22Z contrapunctus joined #lisp 2021-04-07T04:36:39Z silasfox quit (Ping timeout: 260 seconds) 2021-04-07T04:36:40Z Kundry_Wag quit (Remote host closed the connection) 2021-04-07T04:38:04Z Kundry_Wag joined #lisp 2021-04-07T04:59:08Z alandipert: hi beach o/ 2021-04-07T04:59:18Z Bike quit (Quit: leaving) 2021-04-07T05:00:01Z beach: alandipert: Hey! What's up? 2021-04-07T05:02:07Z alandipert: not a whole lot, you? 2021-04-07T05:03:39Z beach: Same here. I am working on implementing my idea for a register-allocation algorithm. And, as usual, I got the abstractions wrong the first few times, so more work than the idea should have generated. 2021-04-07T05:04:11Z beach: I think I must find a way to delegate the implementation of my ideas. 2021-04-07T05:04:41Z beach: So far, I have had more ideas per time unit than I have time to implement, so there is a fairly large backlog. 2021-04-07T05:06:43Z davisr__ quit (Remote host closed the connection) 2021-04-07T05:07:06Z davisr__ joined #lisp 2021-04-07T05:10:47Z alandipert: ah i know what you mean. i'm perpetually in the same boat with my various (and less impressive) projects 2021-04-07T05:11:46Z jackdaniel: jmercouris: the reason is because the goal of this proof of concept wasn't to have reload-less page - I didn't need javascript yet 2021-04-07T05:12:09Z jackdaniel: mfiano: there are no dependencies outside of cl the world (except for hand-written css file) 2021-04-07T05:12:54Z jackdaniel: the final thing will have three types of frame handlers: static (get/post), ajax-based for one-way updates, and a dynamic one with websockets 2021-04-07T05:13:07Z lawt quit (Read error: Connection reset by peer) 2021-04-07T05:14:15Z ikrabbe|2 is now known as ikrabbe 2021-04-07T05:22:12Z beach: alandipert: But you work for a private company. Usually, in that world you can convince someone to invest money if the idea is a good one, and then you can hire someone to do it. No? 2021-04-07T05:23:47Z sauvin joined #lisp 2021-04-07T05:26:57Z beach: alandipert: That's one problem I have with academia. What is considered a good idea, and thus subject to funding, is a complicated set of considerations like nation-wide or union-wide "strategies", and (above all) fads. 2021-04-07T05:26:59Z alandipert: well, i'm freelance currently and so have clients with disparate needs, so for my longer term and more conceptual bets, i'm the investor 2021-04-07T05:27:11Z beach: Oh, I see. 2021-04-07T05:29:12Z beach: I think I have another problem with my ideas. It might be possible at this point to start some crowdfunding effort for my projects, but I don't know how to find people who are both available and qualified. 2021-04-07T05:29:35Z alandipert: yes, i have enough friends and family in academia to be acutely aware of how difficult it can be to inhabit 2021-04-07T05:29:56Z moon-child: beach: I don't think industry is worse than academia in that respect. I daresay industry usually involves a more perverse (if consistent) set of incentives 2021-04-07T05:30:20Z beach: moon-child: That's my point, yes. 2021-04-07T05:30:43Z alandipert: i find industry incomparable to academic, but i've personally spent little time in academia, and understand there are many variables 2021-04-07T05:30:44Z beach: I would have to gather enough funding to convince a qualified person to quit the current dayjob, and that is very unlikely to happen. 2021-04-07T05:30:59Z moon-child: beach: err, I meant to say, I don't think industry is better than academia in that respect 2021-04-07T05:31:06Z beach: Oh! 2021-04-07T05:31:51Z Kundry_Wag quit (Remote host closed the connection) 2021-04-07T05:32:48Z moon-child: (although, I don't have personal experience with academia. So I may be mistaken. Grass is greener and all that) 2021-04-07T05:33:49Z beach: I have worked both in industry and academia, though mostly in academia. But you may be right, my memory of industry may no longer be accurate. 2021-04-07T05:34:32Z alandipert: beach perhaps you could gather enough funding to quit your own current dayjob? 2021-04-07T05:34:49Z beach: That would be very very stupid. 2021-04-07T05:35:19Z beach: 1. I have 10 months to retirement. 2. My dayjob allows me to work full time on my projects already. 2021-04-07T05:36:02Z alandipert: ah. clearly your best bet is to never retire :-> 2021-04-07T05:36:48Z beach: That is unfortunately not an option. French law makes it impossible to continue after this date. 2021-04-07T05:37:29Z zaquest quit (Quit: Leaving) 2021-04-07T05:38:39Z beach: What we need is another J. C. R. Licklider. 2021-04-07T05:39:36Z zaquest joined #lisp 2021-04-07T05:39:40Z alandipert: regarding the scarcity of qualified help, you might consider how to market the project to those outside of the lisp community (although i understand at least with regard to paper abstracts, you're averse to that, and for good reasons) 2021-04-07T05:40:44Z beach: What would be the advantage? It would require some significant training to get those people to be of any use, no? 2021-04-07T05:42:41Z alandipert: well, there are vastly more programmers outside lisp than inside. and i posit good/experienced outside people usually learn lisp quickly once interested, and can have enough experience to appreciate its advantages in a way that neophytes cannot 2021-04-07T05:43:01Z alandipert: the important part being, "once interested" 2021-04-07T05:43:10Z beach: Yes, I see. 2021-04-07T05:43:37Z narimiran joined #lisp 2021-04-07T05:47:28Z opcode joined #lisp 2021-04-07T05:50:29Z Nilby: I think it's hard to get availible and highly qualified Lisp programmers to do what you want without the coercion of employment. I think there's quite a numer who live in post-scarcity and are available, but would need a mighty big carrot. 2021-04-07T05:51:08Z beach: alandipert: I am not averse to that. I just have no idea how to make such a thing happen. 2021-04-07T05:52:00Z beach: Nilby: I suspect that even with employment, it would be hard to get them to do what I want. :) 2021-04-07T05:53:11Z Nilby: Yes. Quite. 2021-04-07T05:54:39Z Nilby: I think the old Lisp companies somehow had a magic mixture of employment coercion and shared goals and belief in the work. 2021-04-07T05:55:06Z Nilby: And a bunch of already qualified very talented people. 2021-04-07T05:55:36Z slyrus joined #lisp 2021-04-07T05:56:31Z White_Flame: and a mixture of government contractor money 2021-04-07T05:56:44Z lawt joined #lisp 2021-04-07T05:58:23Z Nilby: White_Flame: Sadly, yes, that's what seemed to make it possible and then pulled the rug out. 2021-04-07T05:59:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-07T06:05:09Z _paul0 joined #lisp 2021-04-07T06:07:41Z orivej quit (Ping timeout: 240 seconds) 2021-04-07T06:07:46Z pjb: beach: well, in the current paradigm, the way to make qualified and talented people do your bid is by having a lot of money. You can have a lot of money by earning it, eg. starting a web software company like Zip2, selling it, with the money, starting up an online bank like Paypal, selling it, and with the money start up a company to build and sell EV cars, another to build rockets to go to Mars, and another to dig tunnels to run 2021-04-07T06:07:46Z pjb: cars and dig habitats on Mars. 2021-04-07T06:08:33Z pjb: beach: an alternative paradigm is proposed by Bernard Frio (quite intersting), but unfortunately, we're far from achieving such a system... (even if, as he argues, we already had half of it). 2021-04-07T06:08:47Z paul0 quit (Ping timeout: 265 seconds) 2021-04-07T06:08:49Z pjb: beach: https://en.wikipedia.org/wiki/Bernard_Friot 2021-04-07T06:09:47Z pjb: beach: https://www.youtube.com/watch?v=o3g-A25BE2w&list=PLysam5vv8eGfHsIU3iQtRgnALGs0fdD1g 2021-04-07T06:10:24Z pjb: beach: note that this gives you a hint on how to gather work force around your project: don't aim at newbies, but at retired programmers! 2021-04-07T06:10:39Z pjb: Which in the case of a lisp project, is not a bad idea after all… 2021-04-07T06:10:41Z Mandus quit (Remote host closed the connection) 2021-04-07T06:10:47Z beach: Sure. 2021-04-07T06:10:59Z silasfox joined #lisp 2021-04-07T06:11:24Z beach: They would be amply qualified, and they don't need to spend all day making money to feed the family. 2021-04-07T06:11:49Z pjb: The quantity of retired programmers should increase a lot in the next years… 2021-04-07T06:12:39Z pjb: (or you can also win the lotto, and just start up a lisp company). 2021-04-07T06:15:28Z beach: First time I hear of Barnard Friot. I'll certainly read more. 2021-04-07T06:17:05Z shka_ joined #lisp 2021-04-07T06:20:44Z beach: Anyway, my current strategy is to do the implementation work myself, hoping to get to a native executable SICL system not too far in the future. Once that is done, I hope to see more interest in helping out by people who are both qualified and available. I have no idea whether this strategy will work, of course. 2021-04-07T06:23:51Z Nilby: I'm hoping that there may some kind of convergence in the Lisp community when some of the various projects that people have been working on for years might be able to used a more cohesive whole. 2021-04-07T06:25:40Z beach: Nilby: That was one of the things I hoped to achieve with the SICL project. I secretly hoped to create high-quality "modules" that would then be adopted by existing Common Lisp implementations. I now think that hope was unfounded. 2021-04-07T06:28:04Z no-defun-allowed: Looking further in time when we may ask the same questions for CLOSOS (though there is surely a similar pressure for beach's more immediate projects), I am aware that programmers around my age are also often fed up with current compilers, operating systems and so on, but discussing the proposed solutions and projects leads to "knee-jerk" reactions #lisp participants may be familiar with. 2021-04-07T06:28:48Z Nilby: I'm not sure it's unfounded, it's might just take longer, since implementations necessarily have to be quite conservative. 2021-04-07T06:29:00Z beach: One thing that has a chance of success though is McCLIM. It is maintained and developed by a bunch of good people. It is quickly becoming the best choice for Common Lisp GUI code, as opposed to FFI solutions. 2021-04-07T06:29:15Z no-defun-allowed: For the most part, I believe there are people with time, but funding them and encouraging them to act on their complaints are very hard. (Though, of course, not everyone wants to write a compiler or operating system or whatever else, and that's fine too.) 2021-04-07T06:29:25Z beach: Nilby: I hope you are right. 2021-04-07T06:30:18Z beach: no-defun-allowed: Yes, it is very hard to get the message across to people with a long-term investment in more traditional technology. 2021-04-07T06:31:12Z no-defun-allowed: Instead what I see is people saying self-deprecating things like "computers were a mistake" and generally just sticking to small changes. The latter would be rational, but both make me sad. 2021-04-07T06:31:51Z beach: How strange. 2021-04-07T06:32:54Z beach: What is very surprising to me is that people write end-user applications in a language such as C++. I am thinking of things like MuseScore. 2021-04-07T06:33:08Z beach: I guess Firefox would qualify as well. 2021-04-07T06:33:34Z no-defun-allowed: beach: I'm not sure how long "a long-term investment" is, but they don't have much in the way of investments. I suppose they are used to some technologies, but they are often hobbyists with lots of spare time, and some groups iterate through many libraries and frameworks and whatnot relatively quickly. 2021-04-07T06:33:57Z beach: I am less surprised about things like LLVM. They probably try to target existing system programmers. 2021-04-07T06:34:49Z beach: no-defun-allowed: I see. That make their attitude more puzzling. 2021-04-07T06:36:24Z beach: Though, even with LLVM, it would probably have been easier to write it in some high-level language with automatic memory management, and then provide bindings for C and C++, rather than the other way around. 2021-04-07T06:36:29Z no-defun-allowed: (My last attempt to change anyone's attitude was to be equally as mindlessly optimistic, trying to say that computers and programming could, in fact, be very fun. But the "mindless" part of that plan is a problem, when it is not the norm.) 2021-04-07T06:37:06Z beach: no-defun-allowed: "last" as in "final" or as in "latest"? 2021-04-07T06:37:55Z no-defun-allowed: "latest" 2021-04-07T06:43:18Z no-defun-allowed: I should try something else, but right now I am taking a break from that project (and any substantial programming work). 2021-04-07T06:44:26Z Nilby: I have to intersperse serious work with fun work or else I might get the same feeling. 2021-04-07T06:47:41Z no-defun-allowed: On the contrary, I think programming requires a creative process, and if one is able to follow their creative process without too many restraints, then it is probably fun. 2021-04-07T06:48:03Z beach: I know of only one way that (sometimes) works to convert people, and that does not come across as proselytizing, namely to try to do good work that in some way improves on the existing state of things. 2021-04-07T06:49:05Z random-nick joined #lisp 2021-04-07T06:56:06Z no-defun-allowed: Though, if everyone I was referring to had acted on what they were saying, it is likely most of them are not going to work on the projects we are looking for help with. But I would be happy if they did just about anything. 2021-04-07T07:04:37Z elflng joined #lisp 2021-04-07T07:05:20Z hypercube quit (Ping timeout: 265 seconds) 2021-04-07T07:07:10Z hypercube joined #lisp 2021-04-07T07:12:11Z elflng_ joined #lisp 2021-04-07T07:15:08Z elflng_ quit (Client Quit) 2021-04-07T07:15:21Z elflng quit (Ping timeout: 260 seconds) 2021-04-07T07:15:36Z elflng_ joined #lisp 2021-04-07T07:16:01Z elflng_ is now known as elflng 2021-04-07T07:26:06Z rumbler31 joined #lisp 2021-04-07T07:30:43Z rumbler31 quit (Ping timeout: 260 seconds) 2021-04-07T07:32:24Z fourier joined #lisp 2021-04-07T07:32:50Z Kundry_Wag joined #lisp 2021-04-07T07:33:45Z rgherdt joined #lisp 2021-04-07T07:35:02Z motersen_ is now known as motersen 2021-04-07T07:36:30Z tgbugs quit (Ping timeout: 246 seconds) 2021-04-07T07:37:11Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-07T07:40:03Z pve joined #lisp 2021-04-07T07:43:23Z tgbugs joined #lisp 2021-04-07T07:45:08Z fourier quit (Changing host) 2021-04-07T07:45:08Z fourier joined #lisp 2021-04-07T07:50:50Z surabax joined #lisp 2021-04-07T07:51:52Z elflng quit (Read error: Connection reset by peer) 2021-04-07T07:52:36Z elflng joined #lisp 2021-04-07T08:00:10Z splittist: I think the progress on SICL has been nothing short of amazing. Particularly when the offshoots - eclector etc. - are taken into account. And the talent it has attracted is impressive. 2021-04-07T08:01:55Z beach: Absolutely right. The independent modules have become impressive thanks to the qualified people who agreed to develop and maintain them. 2021-04-07T08:02:24Z heisig joined #lisp 2021-04-07T08:02:52Z beach: Not all those modules are excellent (yet). But I am convinced they will be. 2021-04-07T08:03:42Z beach: In my discussions, I was referring mainly to the SICL-specific code. 2021-04-07T08:04:10Z gitgood quit (Remote host closed the connection) 2021-04-07T08:05:59Z Codaraxis joined #lisp 2021-04-07T08:07:08Z hendursa1 joined #lisp 2021-04-07T08:08:39Z Codaraxis_ quit (Ping timeout: 265 seconds) 2021-04-07T08:09:33Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-07T08:11:09Z Danishman joined #lisp 2021-04-07T08:12:47Z silasfox quit (Quit: Ping timeout (120 seconds)) 2021-04-07T08:17:47Z silasfox joined #lisp 2021-04-07T08:18:21Z hypercube: do you guys think Common Lisp will make a return to industry? 2021-04-07T08:19:30Z beach: Hard to say, given the sorry state of the software industry. 2021-04-07T08:19:33Z splittist: hypercube: I don't think it ever left. Perhaps it hasn't grown at the same rate as other (newer) languages, but there are pockets of lisp we rarely hear about. (Perhaps because it's in law enforcement and intelligence.) 2021-04-07T08:21:04Z splittist: When LAMBDA for Excel drops later this year, and joins the fairly recent LET, we can claim lisp IS the language of industry (: 2021-04-07T08:21:37Z heisig quit (Quit: Leaving) 2021-04-07T08:23:03Z hypercube: im pretty new to common lisp and got into it mainly through taking a scheme course at school, but im surprised that programming isnt done that way more 2021-04-07T08:23:39Z Nilby: splittist: for printfcl (printf "%+0.ld % .0d %+0.0ld" 0 0 0) is not entierly valid, but seems to differ from the C version. 2021-04-07T08:24:46Z beach: hypercube: It shouldn't surprise you if you know how programmers are trained and chosen, and how little management knows about software development in general. 2021-04-07T08:25:19Z beach: Then again, maybe you don't know that. 2021-04-07T08:25:57Z lukego: Hey what's the appropriate time to split code into a separate package? I only have a few KLOC of code and I'm feeling the urge to break this up into separate logical packages but I also have a feeling that's possibly just unproductive busy-work 2021-04-07T08:26:11Z hypercube: i guess i realize that students arent exposed to this paradigm at all in academia 2021-04-07T08:27:07Z splittist: Nilby: thanks - I'll have look. 2021-04-07T08:27:13Z beach: lukego: I break my code up into "modules", where each module resides in a directory, has an ASDF system definition, and a component (file) containing a package definition. 2021-04-07T08:27:39Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-07T08:28:17Z beach: lukego: I extract a module whenever I see a reasonable (usually CLOS-based) protocol emerging. 2021-04-07T08:28:27Z lukego: beach: thanks, I was looking for a reference example of that style, and see now SICL repo is such 2021-04-07T08:28:40Z beach: Indeed. 2021-04-07T08:28:47Z beach: There are plenty of examples in there. 2021-04-07T08:28:50Z no-defun-allowed: hypercube: It makes sense to me, given whoever runs the industry wants perhaps the opposite of people doing whatever they want (for the most part). 2021-04-07T08:29:01Z Nilby: splittist: I wrote a printf in a blub language and had some old test file around which I think I got from cygwin. 2021-04-07T08:29:13Z lukego: yeah I have the vague feeling that having everything in the same package is making it too easy to have murky interfaces that I am not thinking out 2021-04-07T08:29:53Z hypercube: no-defun-allowed: true 2021-04-07T08:30:26Z hypercube: do you have any recommendations if i want to get serious about common lisp programming? any good books or courses? 2021-04-07T08:30:35Z beach: lukego: Yes, that's the risk. Plus, now when we have package-local nicknames, having a package for each module is not a problem. 2021-04-07T08:30:53Z beach: minion: Please tell hypercube about PCL. 2021-04-07T08:30:54Z minion: hypercube: look at PCL: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005). 2021-04-07T08:31:16Z lukego: hypercube: I think that Common Lisp is used in industry, mostly quietly in small groups, and seems likely to continue that way. maybe it's healthy that the amount of CL used in industry is driven by the number of geeks learning CL and looking for opportunities to work with it. better than e.g. if Gartner told the S&P500 they all need to adopt Lisp and the mess that would create. 2021-04-07T08:31:47Z beach: lukego: Well put! 2021-04-07T08:32:03Z hypercube: thank you beach! 2021-04-07T08:32:12Z beach: Pleasure. 2021-04-07T08:32:16Z beach: minion: Thanks! 2021-04-07T08:32:16Z minion: np 2021-04-07T08:32:36Z Nilby: I'm afraid industry would want to turn CL into Clojure or something. 2021-04-07T08:32:49Z splittist: Nilby: more tests always welcome! 2021-04-07T08:33:02Z moon-child: Nilby: let them eat cake! 2021-04-07T08:33:05Z hypercube: lukego: i suppose that's write 2021-04-07T08:33:08Z hypercube: right** 2021-04-07T08:33:52Z Nilby: moon-child: Yes. And stay out of my imaginary palace. 2021-04-07T08:34:13Z contrapunctus: .o("Get off of my cloud!") 2021-04-07T08:35:53Z lawt quit (Remote host closed the connection) 2021-04-07T08:37:00Z galex-713 joined #lisp 2021-04-07T08:37:29Z vv8 quit (Remote host closed the connection) 2021-04-07T08:38:24Z supercoven joined #lisp 2021-04-07T08:40:51Z Nilby: splittist: here's some https://plaster.tymoon.eu/view/2376#2376 2021-04-07T08:41:25Z Nilby: splittist: They should be able to be read by your test code. 2021-04-07T08:41:59Z splittist: Nilby: awesome! 2021-04-07T08:44:58Z villanella joined #lisp 2021-04-07T08:45:41Z Shinmera: lukego: In my mind files are for the maintainer's organisational structure, and packages are for the user's organisational structure. If you don't have users, then it doesn't matter much, but as soon as you see a part that could stand on its own, it can be useful to extract it. 2021-04-07T08:46:06Z karlosz quit (Quit: karlosz) 2021-04-07T08:49:35Z lukego: I'm mostly asking myself whether multiple package namespaces will be a plus or a minus e.g. using symbols like BGA-NAME verses BGA:NAME verses NAME. I'm a CLOS n00b here and it's already bothering me having the same symbol for unrelated slots of different classes e.g. NAME or ID. 2021-04-07T08:49:42Z splittist: With a sufficiently smart editing environment (tm) (and perhaps a sufficiently smart programmer...) files should be a backing detail, and the programmer should be looking at whichever 'view' of the code makes sense for the task at hand (e.g. methods grouped by function or by specialised argument) 2021-04-07T08:50:08Z Shinmera: lukego: I wouldn't let that bother me. It's fine. 2021-04-07T08:50:29Z rvirding quit (Ping timeout: 248 seconds) 2021-04-07T08:50:29Z theruran_ quit (Ping timeout: 248 seconds) 2021-04-07T08:50:29Z gendl quit (Ping timeout: 248 seconds) 2021-04-07T08:50:32Z beach: splittist: Indeed. Some people are working on such an environment. 2021-04-07T08:50:46Z Shinmera: lukego: But if you want to be stricter about it, as beach mentioned, design your protocols first, and separate them out into a package per protocol. 2021-04-07T08:50:59Z infra_red[m] quit (Ping timeout: 248 seconds) 2021-04-07T08:51:18Z lukego: splittist: but now you're describing the environment that I switched /away/ from to work in Lisp :-) i.e. GToolkit in Pharo Smalltalk 2021-04-07T08:51:32Z antoszka quit (Ping timeout: 248 seconds) 2021-04-07T08:51:32Z shrysr_ quit (Ping timeout: 248 seconds) 2021-04-07T08:51:32Z stylewarning quit (Ping timeout: 248 seconds) 2021-04-07T08:51:32Z plisp2 quit (Ping timeout: 248 seconds) 2021-04-07T08:52:58Z theruran_ joined #lisp 2021-04-07T08:53:05Z gendl joined #lisp 2021-04-07T08:53:22Z anticrisis quit (Read error: Connection reset by peer) 2021-04-07T08:53:23Z plisp2 joined #lisp 2021-04-07T08:53:29Z splittist: lukego: heh 2021-04-07T08:53:38Z lukego: splittist: but I'm not really in that school of thought -- I'm more into embracing the limitations of the file-based representation e.g. as a means of putting a narrative order onto code that is lost when you slice and dice it up 2021-04-07T08:53:48Z pyc quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-07T08:53:58Z pyc joined #lisp 2021-04-07T08:54:11Z shrysr_ joined #lisp 2021-04-07T08:54:23Z stylewarning joined #lisp 2021-04-07T08:54:23Z Nilby: After using Pharo I appreciate files more. 2021-04-07T08:54:27Z terpri_ quit (Remote host closed the connection) 2021-04-07T08:54:34Z antoszka joined #lisp 2021-04-07T08:54:37Z splittist: lukego: fair enough. War and Peace v. Zork 2021-04-07T08:54:55Z terpri_ joined #lisp 2021-04-07T08:55:44Z Nilby: "narrative" is a good way to put it 2021-04-07T08:56:23Z terpri_ quit (Excess Flood) 2021-04-07T08:56:51Z terpri_ joined #lisp 2021-04-07T08:57:08Z lukego: also as an old-school DEFSTRUCT kind of Lisp hacker it bugs me a bit with CLOS - and indeed with Smalltalk - that `M-.' doesn't hop you straight to the code you want but rather makes you scroll through to the relevant method even though that's usually painfully obvious to you as a programmer. but for better or worse I'm CLOS'ing this project 2021-04-07T08:57:27Z lukego: Maybe that copy of AMOP that I ordered a month ago will turn up one day and then I'll share everyone else's enthusiasm for this stuff :) 2021-04-07T09:00:38Z Nilby: Maybe we need a version of `M-.' that does compute-applicable-methods. 2021-04-07T09:02:38Z villanella quit (Ping timeout: 246 seconds) 2021-04-07T09:02:59Z Shinmera: it would need to know the type of the arguments, which is usually not available because inference around CLOS is weak. 2021-04-07T09:03:49Z rvirding joined #lisp 2021-04-07T09:04:23Z lukego: I'd like to have a DWIM version of `M-.' that jumps to some dynamic but predictable place e.g. the most recent method actually invoked from the callsite where I pressed `C-u M-.' 2021-04-07T09:04:31Z scymtym: you would also need COMPUTE-APPLICABLE-METHODS-USING-TYPES 2021-04-07T09:11:40Z scymtym: the DREI common lisp syntax has some interesting ideas about semantics-aware editing regarding completion and "undefining": https://github.com/McCLIM/McCLIM/blob/master/Libraries/Drei/lisp-syntax-swine.lisp#L434 (too bad that the more abstract parts are mixed up with the editing functionality) 2021-04-07T09:14:19Z infra_red[m] joined #lisp 2021-04-07T09:14:27Z kevingal joined #lisp 2021-04-07T09:14:59Z lukego: (actually it could be an interesting form of "JIT" if SBCL would compile two copies of a function, one with lots of instrumentation for debugging and editing and so on and one without, and then enable the fast one only when it's actually "running hot") 2021-04-07T09:15:51Z beach: lukego: http://metamodular.com/SICL/sicl-debugging.pdf 2021-04-07T09:15:56Z lukego: Or maybe I'm dreaming of the Bad Old SBCL that had an interpreter that it used sometimes 2021-04-07T09:16:20Z lukego: ha! 2021-04-07T09:16:56Z lukego: I think I've asked this before but it's way too early to do real development in a SICL-hosted-on-SBCL, right? 2021-04-07T09:17:07Z no-defun-allowed: A JIT would still instrument in order to know when to give up on an optimisation, and a good one would still preserve semantics of the slow code. 2021-04-07T09:17:30Z beach: lukego: Yes, that will not be the goal of that environment. 2021-04-07T09:18:07Z h4ck3r9696 joined #lisp 2021-04-07T09:18:08Z Feldman joined #lisp 2021-04-07T09:18:56Z scymtym quit (Ping timeout: 268 seconds) 2021-04-07T09:19:10Z lukego: no-defun-allowed: I meant without the various downsides of a highly dynamic JIT i.e. you still compile the same statically optimized machine code ahead of time but you also have a slow/instrumented version that you can swap in whenever you like e.g. to say "the next time we run that function let's log how each method invocation is resolved and store that for reference by an M-. command" 2021-04-07T09:19:27Z hypercube quit (Ping timeout: 260 seconds) 2021-04-07T09:19:35Z lukego: beach: SICL is more about the long game of having a complete environment unto itself right? 2021-04-07T09:19:52Z beach: lukego: As opposed to what? 2021-04-07T09:20:47Z lukego: hosted inside another Lisp and used together e.g. SICL frontend over SBCL backend 2021-04-07T09:21:08Z beach: Oh, yes, definitely a complete environment. 2021-04-07T09:22:27Z lukego: (aside: it's remarkable how much instrumentation you can put into machine code on modern out-of-order CPUs without having much impact on performance e.g. conditional branches to hooks that are speculated away by the CPU) 2021-04-07T09:23:36Z lukego: I need to start reading SBCL internals so that my ideas can be less uninformed 2021-04-07T09:24:03Z lukego: beach: SICL sounds great but as a humble practitioner I'm not sure how to connect it with anything I'm doing 2021-04-07T09:25:49Z scymtym joined #lisp 2021-04-07T09:25:50Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-07T09:26:01Z aartaka joined #lisp 2021-04-07T09:33:59Z Kundry_Wag joined #lisp 2021-04-07T09:34:37Z h4ck3r9696: I have a problem with usocket: sometimes, when I try to use wait-for-input, it throws an exception: "couldn't read from #: Connection reset by peer [Condition of type SB-INT:SIMPLE-STREAM-ERROR]". I don't think this is normal, but if it is, how can I fix this? 2021-04-07T09:36:43Z Shinmera: It means your connection was terminated. You "fix" it by either somehow having internet that never breaks, or handling the error and establishing a new connection. 2021-04-07T09:38:35Z Kundry_Wag quit (Ping timeout: 260 seconds) 2021-04-07T09:39:14Z h4ck3r9696: I see. I should try to reconnect to every peer, then. 2021-04-07T09:44:10Z Mandus joined #lisp 2021-04-07T09:44:46Z beach: lukego: Right, it is not meant for you (at the moment). Once the environment is in working condition, I hope you will see some nice features. 2021-04-07T09:47:50Z _jrjsmrtn joined #lisp 2021-04-07T09:47:57Z __jrjsmrtn__ quit (Ping timeout: 260 seconds) 2021-04-07T09:48:05Z Major_Biscuit joined #lisp 2021-04-07T09:48:11Z diamondbond quit (Ping timeout: 250 seconds) 2021-04-07T09:48:17Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-07T09:50:25Z hjudt joined #lisp 2021-04-07T09:55:19Z supercoven_ joined #lisp 2021-04-07T09:56:07Z Feldman joined #lisp 2021-04-07T09:56:34Z contrapunctus left #lisp 2021-04-07T09:57:59Z contrapunctus joined #lisp 2021-04-07T09:58:26Z supercoven quit (Ping timeout: 240 seconds) 2021-04-07T09:58:42Z contrapunctus left #lisp 2021-04-07T09:59:28Z vince90 joined #lisp 2021-04-07T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-07T10:00:26Z contrapunctus joined #lisp 2021-04-07T10:02:40Z Danishman quit (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/) 2021-04-07T10:03:37Z diamondbond joined #lisp 2021-04-07T10:04:01Z silasfox quit (Quit: Connection closed) 2021-04-07T10:07:02Z silasfox joined #lisp 2021-04-07T10:07:04Z vince90 is now known as EffBezos 2021-04-07T10:07:14Z silasfox quit (Client Quit) 2021-04-07T10:15:32Z splittist realises he's had Harbison & Steele on his shelf all along; proceeds to schedule printfcl rewrite 2021-04-07T10:25:05Z splittist: Nilby: that should be fixed. Thanks for the report and the tests! 2021-04-07T10:25:17Z hhdave: ikrabbe (or ikrabbe|2): I noticed over on #clim you were talking about using CL for devops. I'm doing that these days using https://github.com/Virtual-Insurance-Products/cl-sysop (which I wrote). I handled the executing commands on remote systems bit - it can bounce over several systems via SSH (also uses zlogin for executing things in SmartOS (solaris) zones). It handles all the shell quoting. 2021-04-07T10:25:58Z rumbler31 joined #lisp 2021-04-07T10:28:08Z EffBezos quit (Quit: Connection closed) 2021-04-07T10:30:08Z rumbler31 quit (Ping timeout: 246 seconds) 2021-04-07T10:30:43Z Nilby: splittist: You're welcome. Thanks for making it. 2021-04-07T10:36:09Z frgo quit (Remote host closed the connection) 2021-04-07T10:36:33Z frgo joined #lisp 2021-04-07T10:40:40Z vegansbane6963 joined #lisp 2021-04-07T10:41:02Z jeosol quit (Quit: Connection closed) 2021-04-07T10:43:16Z lotuseater joined #lisp 2021-04-07T10:43:37Z johs left #lisp 2021-04-07T10:43:52Z cosimone joined #lisp 2021-04-07T10:44:47Z skapata joined #lisp 2021-04-07T10:45:18Z ikrabbe: hhdave: Thanks for the note. I first transfer the sequence of commands send to a system into a list. I scan this list with a recursive function. That is a bit more complex, but far more flexible, as I searched a general solution for a common problem. The quoting is done by the structure of the list. 2021-04-07T10:46:00Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-07T10:55:42Z ask6155 joined #lisp 2021-04-07T10:55:45Z ask6155: hello 2021-04-07T10:56:48Z ask6155: is there a function which opens up lists? 2021-04-07T10:57:05Z no-defun-allowed: Opens up? 2021-04-07T10:57:55Z jmercouris: maybe flattens? what do you mean exactly? 2021-04-07T10:58:00Z ask6155: like (open '(x y)) will return (x y) 2021-04-07T10:58:03Z ask6155: yeah flatten 2021-04-07T10:58:15Z jmercouris: alexandria:flatten 2021-04-07T10:58:38Z ask6155: is there nothing built-in? 2021-04-07T10:58:42Z jmercouris: no 2021-04-07T10:58:48Z Nilby: '(x y) is (x y) 2021-04-07T10:58:52Z jmercouris: perhaps you don't mean flatten though 2021-04-07T10:59:03Z jmercouris: because as Nilby pointed out, those expressions are equivalent 2021-04-07T10:59:05Z hhdave: ikrabbe: oh right. In my system I have a method which makes a command for a certain host which consists of a comamnd name and a list of arguments. I'd be interested to see what you come up with. I think there are other implementations of similar things. I've built up a system for declarative devops using CLOS. 2021-04-07T10:59:11Z jmercouris: (quote (x y)) -> (x y) 2021-04-07T11:00:46Z ask6155: a function takes a list, how do I return that list? 2021-04-07T11:01:59Z ask6155: actually bad question 2021-04-07T11:02:25Z contrapunctus: ask6155: what are you trying to do? 2021-04-07T11:02:27Z ask6155: I want to return a list with the items in the list x plus some more items at the end 2021-04-07T11:02:43Z ask6155: in one list with no sublists 2021-04-07T11:02:44Z contrapunctus: ask6155: append 2021-04-07T11:05:45Z no-defun-allowed: Huh? '(x y) and (x y) are not equivalent. The former evaluates to the latter though. 2021-04-07T11:05:49Z ikrabbe: or `(,@some-list ,an-element ,@the-elements-of-another-list) 2021-04-07T11:06:42Z Nilby: ask6155: Just be aware that the last argument to append must be a list e.g. (append '(1 2) (list 3)) => (1 2 3) 2021-04-07T11:09:01Z ask6155: thanks append works 2021-04-07T11:12:15Z no-defun-allowed: APPEND returns an improper list when the last argument is not a list. 2021-04-07T11:12:34Z no-defun-allowed: Interesting advice from #lisp today. 2021-04-07T11:14:04Z ask6155: I'm using common-lisp and in append I had to make all arguments lists like this '(x) I cannot use 'x it gives an error 'x needs to be a list. I have 3 args and x is the first 2021-04-07T11:15:08Z kevingal_ joined #lisp 2021-04-07T11:15:08Z no-defun-allowed: Yes, the other arguments must be lists though. 2021-04-07T11:16:06Z ask6155: do all arguments need to be lists? 2021-04-07T11:16:45Z no-defun-allowed: If you have a list bound to X, then the call should look like (append x (list other elements here)) 2021-04-07T11:17:07Z kevingal quit (Ping timeout: 248 seconds) 2021-04-07T11:17:46Z vv8 joined #lisp 2021-04-07T11:18:08Z ask6155: ok I getit 2021-04-07T11:19:18Z aeth quit (Ping timeout: 240 seconds) 2021-04-07T11:19:51Z no-defun-allowed: 'x and x are not equivalent under evaluation, but I suppose reality is not being communicated well when someone who writes A LARGE POPULAR LISP APPLICATION is telling people that sort of nonsense. 2021-04-07T11:20:02Z no-defun-allowed: Whew, that's my shouting for the day. 2021-04-07T11:21:22Z aeth joined #lisp 2021-04-07T11:21:27Z ask6155: i dont remember any popular lisp apps 2021-04-07T11:21:34Z no-defun-allowed: ikrabbe's suggestion to use quasiquotation would also work, e.g. `(,@x 1 2 3) 2021-04-07T11:21:55Z ask6155: i've not learned that yet 2021-04-07T11:22:04Z Feldman joined #lisp 2021-04-07T11:22:13Z no-defun-allowed: Note that 1, 2 and 3 there are not evaluated - well, append would work fine for now. 2021-04-07T11:23:38Z Nilby: If someone can succeed despite my technically wrong advice, then they might have a chance with the harder stuff. 2021-04-07T11:24:41Z ask6155 left #lisp 2021-04-07T11:25:12Z lukego: speaking of things having to be lists I have a function (defun listify (x) (if (listp x) x (list x))) and was surprised not to immediately see it already existing in CL / alexandria / serapeum unless I missed it? 2021-04-07T11:25:28Z no-defun-allowed: alexandria:ensure-list or something like that? 2021-04-07T11:25:53Z no-defun-allowed: (alexandria:ensure-list 'x) ⇒ (X) 2021-04-07T11:26:15Z lukego: no-defun-allowed: yes! fool that I am, I was looking for LISTS in the alexandria docs ToC and totally overlooked CONSES 2021-04-07T11:26:50Z no-defun-allowed: Nilby: The qualifier "technically" isn't necessary; that is absolutely confusing advice. 2021-04-07T11:34:40Z Kundry_Wag joined #lisp 2021-04-07T11:35:05Z no-defun-allowed: And, from my point of view, progress was made in part because I had to correct you and jmercouris, and I would prefer to not have to do that. 2021-04-07T11:37:20Z Nilby left #lisp 2021-04-07T11:40:11Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-07T11:42:16Z creat joined #lisp 2021-04-07T11:46:47Z silasfox joined #lisp 2021-04-07T11:47:00Z silasfox quit (Client Quit) 2021-04-07T11:51:26Z igemnace quit (Remote host closed the connection) 2021-04-07T11:54:06Z rodriga joined #lisp 2021-04-07T12:02:56Z lukego: are you chastising people for the quality of the free help that they are offering in good faith to strangers on the internet? that's harsh :) 2021-04-07T12:07:07Z xaotuk joined #lisp 2021-04-07T12:20:36Z t99 joined #lisp 2021-04-07T12:24:48Z ikrabbe: not when they lead people in the wrong direction, though the critic was a bit strong, for a little quote :) 2021-04-07T12:25:45Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-07T12:28:36Z aartaka_d joined #lisp 2021-04-07T12:28:43Z ikrabbe: ask6155: it took myself a good amount of time, to realize that append can be replace, especially in situations, where the result is not known: (apply #'append '(a-list) (return a few lists, to be appended)) is far more complex, than `(,@a-list ,@(return a few lists, to be appended)) 2021-04-07T12:28:57Z rodriga: has anybody here ever worked in a Lisp startup? or have any connections to a Lisp startup or "internships"? 2021-04-07T12:29:21Z orivej joined #lisp 2021-04-07T12:29:53Z ikrabbe: ask6155: actually I learned that while trying to understand onLisp 2021-04-07T12:31:24Z Bike joined #lisp 2021-04-07T12:31:47Z aartaka quit (Ping timeout: 248 seconds) 2021-04-07T12:37:13Z Feldman joined #lisp 2021-04-07T12:38:01Z scm_ joined #lisp 2021-04-07T12:38:26Z mfiano: Whenever I see #'append in my code, I consider it a red flag and I stop and think very carefully whether it can be expressed in a more efficient manner. 2021-04-07T12:38:57Z mfiano: Though I am normally writing high performance code where that thinking is required. 2021-04-07T12:41:32Z Kundry_Wag joined #lisp 2021-04-07T12:47:27Z ukari quit (Remote host closed the connection) 2021-04-07T12:48:00Z ukari joined #lisp 2021-04-07T12:49:00Z ikrabbe: As you first learn about quasiquote as "the somehow used macro definition leader", it is replaced by append when you begin your list juggling. 2021-04-07T12:51:17Z mfiano: "quasiquote" is a Schemism 2021-04-07T12:51:24Z mfiano: We call that "Backquote" 2021-04-07T12:51:41Z no-defun-allowed: Eh, I call it quasiquotation. 2021-04-07T12:51:41Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-07T12:51:46Z Bike: we do call it quasiquote sometimes 2021-04-07T12:51:57Z no-defun-allowed: So does e.g. the library fare-quasiquote 2021-04-07T12:52:31Z Bike: also eclector. also the clhs suggests copying scheme. so it's fine 2021-04-07T12:53:20Z mfiano: Fair enough. It can be confusing to someone trying to reference the bible is all. 2021-04-07T12:57:39Z devrtz quit (Ping timeout: 258 seconds) 2021-04-07T12:58:11Z devrtz joined #lisp 2021-04-07T12:59:32Z edgar-rft quasiquotes the ten commandments 2021-04-07T13:02:30Z frost-lab quit (Quit: Connection closed) 2021-04-07T13:05:29Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-07T13:07:00Z curtosis joined #lisp 2021-04-07T13:09:54Z wsinatra joined #lisp 2021-04-07T13:11:12Z cage_ joined #lisp 2021-04-07T13:13:12Z jcowan: edgar-rft: And what parts of them do you provide as commatose variables? 2021-04-07T13:14:11Z orivej quit (Ping timeout: 240 seconds) 2021-04-07T13:14:55Z yitzi joined #lisp 2021-04-07T13:15:34Z ikrabbe: I think quasiquote is a quote good word, to express the function of the backquote character (at least far better than "the somehow used macro definition leader") 2021-04-07T13:16:26Z lukego: rodriga: I've worked in a Lisp startup and have a new embryo-phase Lisp startup now. what are you wondering? 2021-04-07T13:19:15Z aeth quit (Ping timeout: 248 seconds) 2021-04-07T13:21:12Z aeth joined #lisp 2021-04-07T13:22:46Z beach: lukego: Probably whether you propose employment or internships. 2021-04-07T13:22:57Z ikrabbe: mfiano: I just wikipedia'ed the word and found that quasiquote is actually a semantic concept of quotation, that matches our usage very well. 2021-04-07T13:25:40Z Feldman joined #lisp 2021-04-07T13:25:47Z ikrabbe: https://plato.stanford.edu/entries/quotation/#CornQuasQuot :D There are more modes to quotation, we might be able to adapt ;) 2021-04-07T13:25:58Z lukego: I guess that if one is looking for a lisp job/internship that list of Lisp companies is a good place to look. I only saw this for the first time this week. https://github.com/azzamsa/awesome-lisp-companies 2021-04-07T13:27:56Z Necktwi quit (Ping timeout: 260 seconds) 2021-04-07T13:28:13Z mfiano: ikrabbe: It is the same concept. My point was that it is not a defined term in the Common Lisp standard. It was borrowed from Scheme to mean the same thing as an existing term in our standard. 2021-04-07T13:28:47Z waleee-cl joined #lisp 2021-04-07T13:39:40Z Kundry_Wag joined #lisp 2021-04-07T13:40:30Z jcowan: It's also used in Bourne shell terminology: '...' is quotation, "..." is quasiquotation 2021-04-07T13:41:32Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-07T13:41:54Z silasfox joined #lisp 2021-04-07T13:42:12Z jmercouris: no-defun-allowed: pretty sure if one form evaluates to another they are equivalent... 2021-04-07T13:42:19Z Xach: if you are uncomfortable with all the mysterious unquoting rules, it's queasyquotation 2021-04-07T13:46:45Z seabass[m] joined #lisp 2021-04-07T13:46:45Z lukego: where is the "like" button in irc... 2021-04-07T13:46:47Z beach: jmercouris: Not by any reasonable definition of "equivalent". 2021-04-07T13:48:27Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-07T13:50:07Z beach: jmercouris: There is nothing wrong with the relation "evaluates to". It is reasonably well defined in Common Lisp. 2021-04-07T13:51:26Z seabass[m]: Hello! 2021-04-07T13:51:28Z seok joined #lisp 2021-04-07T13:51:38Z beach: Hello seabass[m]. 2021-04-07T13:52:02Z seabass[m]: I've got a JSON file that I'd like to turn into constants for Common Lisp 2021-04-07T13:52:32Z seabass[m]: Is there a way to do this at compile time with macros? 2021-04-07T13:53:07Z beach: Why would you use macros rather than functions? 2021-04-07T13:53:24Z seabass[m]: I was under the impression that it was macros that ran at compile time, rather than functions 2021-04-07T13:53:37Z seabass[m]: But if functions do the job, then that's also great! :) 2021-04-07T13:55:15Z beach: You can do anything at compile time with (eval-when (:compile-toplevel) ...) 2021-04-07T13:55:16Z seabass[m]: I'd really appreciate any code examples of this 2021-04-07T13:55:43Z seabass[m]: ooh, nice - so every CL compiler also has an internal intepreter? 2021-04-07T13:56:13Z beach: No. Most modern Common Lisp systems compile on the fly, so there is no interpreter present. 2021-04-07T13:56:59Z sz0 joined #lisp 2021-04-07T13:57:02Z seabass[m]: wow, even better 2021-04-07T13:57:16Z seabass[m]: Lisp never ceases to amaze me :) 2021-04-07T13:57:29Z seabass[m]: ...neither does the Lisp community, BTW ;) 2021-04-07T13:57:32Z mmmattyx joined #lisp 2021-04-07T13:57:37Z Xach: beach: doug k had a very interesting example of how adding an interpreter to SBCL made parallel compilation faster 2021-04-07T13:58:10Z beach: Xach: Interesting! 2021-04-07T13:58:36Z seabass[m]: Xach, and here you are 2021-04-07T13:58:55Z seabass[m]: did you know that your blurb is at the top of http://www.gigamonkeys.com/book/ ? 2021-04-07T13:59:13Z seabass[m]: I didn't expect to meet you this quickly upon joining the channel, lol :) 2021-04-07T13:59:15Z aeth: I don't doubt that you could do everything as a function but... this really does seem like a place where macros are more straightforward. Read/parse file at macroexpansion time, generate DEFCONSTANTs. The only issue is that macros can be evaluated more than once (and SBCL often evaluates them twice), so side-effects (including reading a file, I guess? it would happen twice) are discouraged. 2021-04-07T13:59:23Z Xach: beach: basically, if you have serial dependencies A, B, C, interpreting A and B with an interpreter only to provide the required compile-time side-effects of the code allowed C to be compiled before A or B is compiled. 2021-04-07T13:59:50Z Xach: beach: of course, this requires a complex and fast interpreter optimized for that purpose...not a "traditional" interpreter that helps with debugging or macroexpansion etc 2021-04-07T13:59:52Z lukego: Xach: interpreter is making a comeback in sbcl? any link on that? 2021-04-07T13:59:58Z seabass[m]: aeth, I guess I could read the file into a variable with a function 2021-04-07T14:00:07Z seabass[m]: and then convert them into constants with macros? 2021-04-07T14:00:09Z Xach: lukego: this is from many years ago, not new, but i feel it is not well-understood 2021-04-07T14:00:29Z beach: Xach: Makes sense. 2021-04-07T14:01:11Z beach: aeth: Entirely possible. Since I don't understand the problem statement, I was merely asking a question. 2021-04-07T14:01:28Z aeth: seabass[m]: even simpler than that, you can just check to see if the constants already exist, maybe? 2021-04-07T14:01:56Z seabass[m]: aeth, sorry what do you mean? This is a particular set of data specific to my program 2021-04-07T14:02:03Z seabass[m]: It's not a constant like Pi or anything 2021-04-07T14:03:02Z seabass[m]: By using constants I can avoid this huge JSON file being parsed every invocation, and also make the binary 'portable' by not needing a /usr/share dir 2021-04-07T14:03:16Z lukego gets some popcorn, has never really grokked the intersection between compile time evaluation and macro definition 2021-04-07T14:03:54Z Xach: lukego: when the interpreter was being developed (a long time ago), i thought it would really help for interactive debugging, but it's really just to avoid the overhead of the smart compiler generating nice code. 2021-04-07T14:04:11Z Xach: (slowly) 2021-04-07T14:05:10Z lukego: *nod* think of this any time I run CCL and it all feels so blazingly fast 2021-04-07T14:05:15Z aeth: seabass[m]: If you're using DEFCONSTANT it will be an error to redefine it on recompile. Two issues. First, it can run multiple times (wasting the later efforts assuming that the two definitions match). Second, if the file changes it will just error on recompile. 2021-04-07T14:05:52Z aeth: seabass[m]: The easiest workaround would just be to use a global, which at that point can just be done at the first run (assuming that it's a program or a framework, and not a library with many entry points) 2021-04-07T14:05:58Z lukego: aside: edebug for emacs has wonderful user experience for interactive stepper-style debugging, based on a metacircular interpreter afaik 2021-04-07T14:06:19Z seabass[m]: aeth, Hmm, that's interesting 2021-04-07T14:06:25Z Xach: lukego: allegro and lispworks are really fast too. it's interesting to see the kind of mindset that develops around many (most?) users of free CLs thinking SBCL is the only way to go and the best at everything 2021-04-07T14:06:31Z seabass[m]: Maybe I should give you an overview of what I'm trying to achieve more generally 2021-04-07T14:06:41Z Xach: (i love and use SBCL, but it is not the best at everything) 2021-04-07T14:06:57Z seabass[m]: Essentially, I've got this big JSON file. The JSON file is updated every few months 2021-04-07T14:07:36Z seabass[m]: the end user would need to download my source code, and then download any version of the JSON file into the source directory 2021-04-07T14:07:54Z seabass[m]: Then compile, and boom all the constants are there and the program never needs to read a JSON file again 2021-04-07T14:08:32Z seabass[m]: If I manually wrote the constants in the Lisp source, I'd need to change them manually at every release of the JSON data 2021-04-07T14:09:46Z charles` quit (Ping timeout: 276 seconds) 2021-04-07T14:13:02Z klltkr joined #lisp 2021-04-07T14:16:14Z aeth_ joined #lisp 2021-04-07T14:16:30Z lukego: seabass[m]: I guess it's two related problems. One, how to load the data at compile time, perhaps with EVAL-WHEN; two, what to do with that data after it's loaded, e.g. keep it in a list that you lookup from, or translate it into Lisp-level compiler constants via macros. 2021-04-07T14:17:04Z seabass[m]: lukego, yes I think that's a good way of putting it 2021-04-07T14:17:17Z rodriga quit (Read error: Connection reset by peer) 2021-04-07T14:17:43Z aeth quit (Disconnected by services) 2021-04-07T14:17:45Z aeth_ is now known as aeth 2021-04-07T14:18:43Z Codaraxis_ joined #lisp 2021-04-07T14:19:15Z quazimodo quit (Ping timeout: 268 seconds) 2021-04-07T14:20:28Z lukego: I really don't have this stuff swapped in but I am also curious about what is the idiomatic solution :). Maybe it depends on the way in which you're compiling your application e.g. into compiled modules (fasls) verses as a snapshot (image)? 2021-04-07T14:20:47Z seabass[m]: now you really are going over my head :) 2021-04-07T14:21:18Z Codaraxis quit (Ping timeout: 265 seconds) 2021-04-07T14:22:56Z lukego: I hope that I'm not side-tracking you here but one relevant feature that Lisp has is being able to snapshot the whole Lisp process into a file -- basically a coredump -- and then run that again later. it's like a suspend-to-disk and all of the data you have loaded is included. I'm not sure if/how this applies to your situation though 2021-04-07T14:23:50Z seabass[m]: hmm that sounds cools but probably a bit advanced for me as well as my target userbase 2021-04-07T14:23:54Z seabass[m]: *cool 2021-04-07T14:24:26Z silasfox quit (Quit: Connection closed) 2021-04-07T14:25:10Z lukego: I don't quite follow what the interface for your end-users will be. are they getting a stand-alone binary from you? or are they really getting source + json? and you plan to ship those on different schedules e.g. new lisp daily but new json monthly? 2021-04-07T14:25:26Z seabass[m]: Hmm, OK I'll try to expain better 2021-04-07T14:25:32Z quazimodo joined #lisp 2021-04-07T14:25:34Z seabass[m]: Most users will simply get a binary release from me 2021-04-07T14:25:51Z seabass[m]: The releases that I make will always use the latest combination of JSON + Lisp code 2021-04-07T14:26:14Z seabass[m]: But if my users want to use a different version of the JSON, they can download them seperately and create that binary themselves 2021-04-07T14:27:17Z lukego: Maybe consider building on Xach's buildapp? https://www.xach.com/lisp/buildapp/ iiuc that's a simple way to create stand-alone executables that can easily load both code and data during build. 2021-04-07T14:27:48Z Xach: i like and use buildapp but investing time in learning how asdf's binary building works is probably better 2021-04-07T14:28:00Z seabass[m]: Ideally they shouldn't need to know any Lisp - just run make 2021-04-07T14:28:00Z Xach: from what i've seen, it's pretty easy 2021-04-07T14:28:02Z beach: seabass[m]: Maybe if you remove JSON from the discussion, and just let us know what the parser for the JSON file would return. 2021-04-07T14:28:35Z beach: seabass[m]: And then, tell us what you want that result to turn into, in terms of Common Lisp forms. 2021-04-07T14:28:47Z lukego: oh I didn't know that asdf had that function. neat. 2021-04-07T14:29:33Z seabass[m]: beach, it would return a list, containing a list of two keywords and their values each 2021-04-07T14:29:40Z Xach: i couldn't figure out cl-launch, so i made buildapp, which is simpler. then asdf was updated to be a little simpler than buildapp (i think) 2021-04-07T14:29:52Z beach: seabass[m]: Can you give an example? 2021-04-07T14:31:08Z seabass[m]: ((:a "string" :b "another") (:a "yet more string" :b "yet another")) 2021-04-07T14:31:16Z seabass[m]: Hmm maybe I should try to explain that in Algol-like pseudocode 2021-04-07T14:31:17Z seabass[m]: even with a hint of python :) 2021-04-07T14:31:52Z beach: And what would you like your Common Lisp code to look like as a result of that example? 2021-04-07T14:32:12Z beach: I mean, it can't be (defconstant :a "string") etc. 2021-04-07T14:32:29Z seabass[m]: erm, why not? 2021-04-07T14:32:33Z Josh_2 joined #lisp 2021-04-07T14:33:08Z beach: seabass[m]: Because you are not allowed to define Common Lisp keywords as constants. 2021-04-07T14:33:20Z seabass[m]: oh, right. Hmm. 2021-04-07T14:33:23Z beach: Plus, there are two :A and two :B so that would be a conflict. 2021-04-07T14:33:42Z seabass[m]: So can I define a constant list of keywords? 2021-04-07T14:34:19Z seabass[m]: equivilento `list[n].a` and `list[n].b` in Python, say 2021-04-07T14:34:25Z beach: Sure. But I don't see anything in your example that would suggest a Common Lisp name that could be used in a DEFCONSTANT form. 2021-04-07T14:34:30Z seabass[m]: haha, I just invented a nice word there 2021-04-07T14:34:40Z seabass[m]: 'equivilento' :D 2021-04-07T14:34:44Z gxt quit (Remote host closed the connection) 2021-04-07T14:35:10Z gxt joined #lisp 2021-04-07T14:35:13Z beach: seabass[m]: It would be even better if you explain what you want without reference to programming languages that some people here might not master. 2021-04-07T14:35:37Z seabass[m]: beach, fair enough, but I'll have to think longer to get it into 'lispy' formats :) 2021-04-07T14:36:39Z beach: seabass[m]: So neither the keywords not the string literals can be used as the name of a Common Lisp constant. Therefore, you need to tell us what name you would like for your example. 2021-04-07T14:37:26Z beach: seabass[m]: Then, you need to explain what you had in mind when you thought it was possible to use keywords as names of constants, but then your example has duplicates, which would mean defining a constant in two different ways. 2021-04-07T14:37:41Z seabass[m]: hmm, yeah 2021-04-07T14:37:57Z seabass[m]: I guess I'd like to have one constant that is a list, where each item has keyworded values 2021-04-07T14:38:22Z beach: Oh, like a property list (plist)? 2021-04-07T14:38:30Z seabass[m]: ahah! That maybe it 2021-04-07T14:38:32Z seabass[m] looks up plists 2021-04-07T14:39:11Z seabass[m]: that sounds exactly like what I'm looking for 2021-04-07T14:39:27Z beach: Still, the duplication will be a problem. It doesn't make sense to have a plist with duplicate keys. 2021-04-07T14:39:42Z lukego: I have interpreted seabass[m]'s questions totally differently and made an example which may or may not be confusing and irrelevant :) https://gist.github.com/lukego/44ee65e9d2ed9587c91338d237f27fe4 2021-04-07T14:39:49Z seabass[m]: So, is there a way of populating such a plist in a loop (which can ignore duplicate keys), and then 'set that it stone' for the binary? 2021-04-07T14:39:57Z beach: Or, it could make sense, but you need to explain what it would mean. 2021-04-07T14:40:49Z beach: seabass[m]: That's trivial. If you have the list in your example, then just turn it into (defconstant +mumble+ '((:a "string" :b ...) (:a ...))) 2021-04-07T14:41:36Z lukego: This example runs standalone.lisp that creates the executable ./standalone. This executable includes the contents of the file /etc/protocols at the time that the executable was created. Running ./standalone will print the contents of /etc/protocols -- not by opening that file but by "remembering" the value that was compiled in. 2021-04-07T14:41:41Z seabass[m]: great! So I populate a variable, and then defconstant it into a constant, all within a 'at compile time' section? 2021-04-07T14:41:54Z seabass[m]: lukego, that's really nifty 2021-04-07T14:42:09Z Feldman joined #lisp 2021-04-07T14:42:17Z seabass[m]: That's pretty much what I wanted do to; can that be compiled into a binary and still work? 2021-04-07T14:42:34Z seabass[m]: as opposed to --load 2021-04-07T14:42:36Z beach: seabass[m]: Or perhaps (defconstant +mumble+ '((:a "string") (:b "...") (:a ...) (:b ...))) or even (defconstant +mumble+ '(:a "string" :b "..." :a .... :b ...)) 2021-04-07T14:42:42Z beach: But you need to decide which one. 2021-04-07T14:42:44Z lukego: well in my interpretation the defconstant business is just a distraction. all you need is to have the data passed from compile time to runtime. the details of how you parse it, how you store it in variables, etc, are up to you and straightforward once you grok the bit above 2021-04-07T14:43:05Z lukego: seabass[m]: Yes. The --load will have the side-effect of creating ./standalone which is an executable. 2021-04-07T14:43:17Z seabass[m]: that's neat 2021-04-07T14:43:17Z wsinatra quit (Ping timeout: 268 seconds) 2021-04-07T14:43:26Z seabass[m]: Thank you very much for your help here! 2021-04-07T14:43:34Z Feldman quit (Client Quit) 2021-04-07T14:44:14Z wsinatra joined #lisp 2021-04-07T14:44:21Z lukego: The way it does this is basically to "core dump" into that file -- i.e. suspend the Lisp process to disk such that it can be resumed in a new process -- but that's not really a scary thing in Lisp, and it's handy because all your state is preserved e.g. values you have loaded from disk or libraries you have loaded etc (but not open files/sockets/etc of course that die with the process and don't persist) 2021-04-07T14:44:22Z lukego: you're welcome 2021-04-07T14:44:45Z seabass[m]: that's certainly something that'd be scary in C 2021-04-07T14:45:41Z lukego: Maybe if you take this approach you could just parse the JSON data at runtime if that makes it easier to think about. You can still have the JSON data loaded at runtime and stored in the executable -- but it's probably not necessary to translate it into Lisp code since if you have it in a Lisp string you can just parse it into a Lisp data structure at any time. 2021-04-07T14:45:41Z seabass[m]: There's also something I'd like to ask for the benefit of the user 2021-04-07T14:46:34Z seabass[m]: There's a portion of the JSON that'll never be needed for my program, so I think it probably makes sense just to save the data I need 2021-04-07T14:47:39Z aindilis` joined #lisp 2021-04-07T14:47:41Z aindilis quit (Ping timeout: 240 seconds) 2021-04-07T14:48:02Z rodriga joined #lisp 2021-04-07T14:48:21Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-07T14:49:04Z lukego: So what you have here is really a general suspend/resume facility. You can decide what data you want to have in the process at the time you do the suspend. In this example you have the raw contents of the file stored in a variable, but you could instead e.g. pass that to a function that extracts only the part you need, or compresses it, or parses it and stores the parse tree, or translates it into lisp code, etc. 2021-04-07T14:49:23Z _jrjsmrtn quit (Ping timeout: 248 seconds) 2021-04-07T14:49:44Z __jrjsmrtn__ joined #lisp 2021-04-07T14:50:13Z lukego: Since the suspended Lisp process includes the whole Lisp compiler you should also be able "at runtime" to load in new data and generate a new executable containing that instead. 2021-04-07T14:50:37Z seabass[m]: isn't that a little wasteful? 2021-04-07T14:50:57Z aindilis` quit (Remote host closed the connection) 2021-04-07T14:51:01Z seabass[m]: Compared to C, for instance, which only has the code that you wrote 2021-04-07T14:51:27Z lukego: So this is about half way between C and Docker. 2021-04-07T14:51:49Z seabass[m]: sorry, I don't know Docker :) 2021-04-07T14:52:18Z lukego: So basically it's very wasteful by the standards of the 1990s. By today's standards I'd call it borderline restrained. 2021-04-07T14:52:33Z aindilis joined #lisp 2021-04-07T14:52:34Z seabass[m]: that's a fair point :) 2021-04-07T14:53:07Z lukego: anyway, it's a starting point if you want to get up and running, quite possibly you'll find a better solution later if you want to reduce your file size etc. 2021-04-07T14:53:19Z seabass[m]: yeah, that's true 2021-04-07T14:53:30Z seabass[m]: Again, thank you :) 2021-04-07T14:53:57Z lukego: (maybe other people have better suggestions for you, I'm only taking the time now because it looked to me like you were getting side-tracked with thinking about how to represent JSON data as Lisp code, when it really seemed like your main problem was just embedding some data in your program) 2021-04-07T14:53:59Z lukego: welcome 2021-04-07T14:54:07Z dinnu93 joined #lisp 2021-04-07T14:54:22Z seabass[m]: yup, pretty much 2021-04-07T14:54:32Z seabass[m]: I have a tendency to go down those sort of side-tracks :) 2021-04-07T14:54:46Z shka_: hi all 2021-04-07T14:54:53Z lukego: Lisp will offer you plenty of possibiliites for that, don't worry. 2021-04-07T14:55:09Z seabass[m]: o/ shka_ 2021-04-07T14:55:11Z shka_: i am looking for a really good example of pretty printing code 2021-04-07T14:55:22Z shka_: please, aid me 2021-04-07T14:55:47Z seabass[m]: hmm there's probably a good file or two in GNU Emacs for that 2021-04-07T14:56:05Z shka_: well, common lisp to be specific 2021-04-07T14:56:09Z seabass[m]: ah, OK 2021-04-07T14:56:29Z voidlily quit (Ping timeout: 258 seconds) 2021-04-07T14:57:31Z contrapunctus left #lisp 2021-04-07T14:58:08Z seabass[m]: shka_, M-x find-function RET indent-line-to RET, just in case you're interested anyway :) 2021-04-07T14:58:12Z contrapunctus joined #lisp 2021-04-07T14:58:30Z contrapunctus left #lisp 2021-04-07T14:58:41Z shka_: seabass[m]: appreciated 2021-04-07T14:58:51Z seabass[m]: no problem :) 2021-04-07T14:59:09Z seabass[m]: shka_, do you use Emacs? 2021-04-07T14:59:39Z seabass[m]: It surely must be the best Lisp editor in existence 2021-04-07T14:59:57Z beach: Sadly, it is. 2021-04-07T15:00:03Z lukego: shka_: one example, https://www.researchgate.net/publication/242313131_Using_the_new_common_Lisp_pretty_printer 2021-04-07T15:00:03Z shka_: heh 2021-04-07T15:00:15Z shka_: beach: that's exactly what i wanted to type 2021-04-07T15:00:26Z shka_: anyway, emacs is not even bad 2021-04-07T15:00:27Z beach: Sorry I beat you to it. :) 2021-04-07T15:00:30Z seabass[m]: beach, it's fine as long as you have long fingers and small keyboards :D 2021-04-07T15:00:36Z davisr joined #lisp 2021-04-07T15:00:44Z shka_: but we could have something so much better 2021-04-07T15:00:46Z davisr__ quit (Ping timeout: 240 seconds) 2021-04-07T15:00:49Z mason: seabass[m]: Bah, foot peddles do away with all of that. 2021-04-07T15:01:00Z seabass[m]: mason, ooh, you actually have one? 2021-04-07T15:01:08Z seabass[m]: Does it plug into the mic jack or USB? 2021-04-07T15:01:11Z mason: seabass[m]: No, but I want one so I can be a better Emacs user. 2021-04-07T15:01:16Z beach: seabass[m]: No, it is not fine. It doesn't have a good idea of what the code in the buffer represents, so it often gets indentation wrong, and it confuses non-forms and forms. 2021-04-07T15:01:17Z seabass[m]: ah, OK :) 2021-04-07T15:01:22Z beach: seabass[m]: etc, etc,. 2021-04-07T15:01:40Z lukego: decades of Emacs use and no foot pedals, then I took up soldering and suddenly I have five under my desk right now :) 2021-04-07T15:01:58Z seabass[m]: beach, that's funny, I've never had any issues with that. But then again, I'm not too advanced at Lisp right now, as you can see :) 2021-04-07T15:02:02Z mason: beach: What's a good editor? Or isn't there one? 2021-04-07T15:02:20Z seabass[m]: lol! that's funny lukego 2021-04-07T15:02:21Z beach: mason: Like I said, I agree that "sadly" Emacs is the best. 2021-04-07T15:02:25Z contrapunctus joined #lisp 2021-04-07T15:02:40Z seabass[m]: I'll ask you then - is it audio jack or USB? 2021-04-07T15:02:45Z contrapunctus left #lisp 2021-04-07T15:02:50Z seabass[m]: I guess you'd need some sort of uc for USB 2021-04-07T15:02:54Z beach: seabass[m]: That's the very problem. People seem content with this situation. 2021-04-07T15:03:26Z mason: seabass[m]: have you read through https://www.emacswiki.org/emacs/FootSwitches ? 2021-04-07T15:03:42Z shka_: beach: i think that emacs has a few extra benefits for people who program in multiple languages 2021-04-07T15:03:42Z seabass[m]: nope, I haven't actually considered one for myself 2021-04-07T15:04:14Z beach: shka_: Yes, but I was answering: It surely must be the best Lisp editor in existence 2021-04-07T15:04:14Z contrapunctus joined #lisp 2021-04-07T15:04:15Z mason: seabass[m]: I think it's probably worthwhile since Emacs, despite protestations, is in fact modal. "I've got the control key down" is a mode. 2021-04-07T15:04:31Z shka_: righ 2021-04-07T15:04:32Z shka_: t 2021-04-07T15:04:36Z seabass[m]: yes, I agree 2021-04-07T15:05:00Z mason: Really, having a control key on the floor is all the pedal I'd want. 2021-04-07T15:05:00Z seabass[m]: on a technical basis, of course, there's no difference 2021-04-07T15:05:12Z seabass[m]: And you could very easily remap non-control keys to anything else 2021-04-07T15:06:15Z seabass[m]: (global-set-key (kbd "a") 'execute-extended-command) or whatever 2021-04-07T15:06:20Z beach: lukego: I would like a keyboard with a much more narrow space bar, and I would like the extra space to be used for control and meta, one for each thumb. I take it Japanese keyboards are like that, but for different reasons. 2021-04-07T15:06:37Z seabass[m]: beach, absolutely agree with you there 2021-04-07T15:07:03Z seabass[m]: The Japanese keyboards are themselves hyper-modal 2021-04-07T15:07:31Z lukego: beach: yeah. I always shop for the keyboard with the narrowest spacebar that I can. ironically it means wanting a Windows key. the best I can usually do it having Space flush with the left of C e.g. on my Thinkpad and Mac keyboards. Sometimes it comes out below X and then I get hand cramps reaching for Meta. 2021-04-07T15:07:39Z seabass[m]: the Chinese just gave up and use Pinyin :D 2021-04-07T15:08:10Z renzhi joined #lisp 2021-04-07T15:08:20Z lukego: though I only use my left hand for modifiers I think. pinky for control (capslock) and thumb for meta. 2021-04-07T15:08:27Z pjb: lukego: https://groupbuys.mechboards.co.uk/shop/hyper-7-keyboard-r3/ has a small space. 2021-04-07T15:08:53Z lukego: once upon a time I had my spacebar mapped to a Hyper key but I was in a bad place then and stopped escalating my keyboard hacks as the hand cramps started :) 2021-04-07T15:08:57Z seabass[m]: lukego, me too unless my left hand hurts, then I use my right hand for modifiers for a few hours 2021-04-07T15:09:02Z pjb: Actually two small space keys separated by a ⋅ key. 2021-04-07T15:09:17Z shka_: beach: i use redox keyboard, it has ctrl just under the thumb 2021-04-07T15:09:25Z lukego: interesting keyboard pjb! 2021-04-07T15:09:32Z beach: pjb: That looks good! 2021-04-07T15:09:35Z seabass[m]: pjb, wow that's a beautiful keyboard, but it sure is expensive 2021-04-07T15:09:44Z voidlily joined #lisp 2021-04-07T15:09:51Z shka_: on the standard keyboards, i used to remap caps lock to act as a ctrl 2021-04-07T15:10:03Z seabass[m]: My budget is more like USD$60 2021-04-07T15:10:08Z beach: shka_: Yes, but C-a becomes a bit hard to type. 2021-04-07T15:10:18Z shka_: and ctrl to act as escape 2021-04-07T15:10:19Z seabass[m]: shka_, on Colemak Caps Lock is backspace 2021-04-07T15:10:33Z shka_: which also makes some sense 2021-04-07T15:10:38Z hjudt quit (Ping timeout: 240 seconds) 2021-04-07T15:10:47Z shka_: honestly, caps lock has no place on the modern keyboard imho 2021-04-07T15:10:47Z lukego: I have been gradually expanding my notion of what is a reasonable price for a keyboard as I keep on buying more and more cheap and crappy ones and wishing I'd been less stingy :) 2021-04-07T15:11:08Z lukego: but just using the thinkpad now, and Barrier to share the laptop keyboard/mouse with the desktop. 2021-04-07T15:11:14Z beach: pjb: That look like precisely what I desribed. 2021-04-07T15:11:19Z beach: described. 2021-04-07T15:11:38Z seabass[m]: lukego, I know one of the maintainers of Barrier btw 2021-04-07T15:11:54Z pjb: beach: unfortunately, out of stock. They may take orders for a possible future batch. 2021-04-07T15:11:58Z shka_: beach: you gonna need a rather large desk for this one :-) 2021-04-07T15:12:11Z seabass[m]: always grumbling because the GitHub project owner won't give push privs :D 2021-04-07T15:12:23Z lukego: seabass[m]: cool :) it's a great piece of software! though one day I must work out how to get it to auto-start on startup. each time I reboot one of my machines I end up fishing out a backup keyboard/mouse to manually start barrier with :). maybe I could just start it from the command-line, have to check that.. 2021-04-07T15:12:43Z beach: pjb: Oh, too bad. 2021-04-07T15:13:05Z seabass[m]: lukego, you could ues an initrc/systemd unit maybe? 2021-04-07T15:13:08Z lukego: I suppose actually that barrier makes total sense as a text-based command line application, I wonder if it has such a mode, it's awkward to start in GUI mode since in principle I don't have a keyboard/mouse on the client machine 2021-04-07T15:13:17Z lukego: yeah, one day I'll finally do that... 2021-04-07T15:13:50Z seabass[m]: I don't use Barrier but I could knock up a systemd unit for you if you want 2021-04-07T15:14:31Z seabass[m]: I use this keyboard: https://www.ebay.com/p/74087856 2021-04-07T15:14:39Z seabass[m]: not in such yellowed state, I may add :D 2021-04-07T15:15:00Z lukego: old school :) 2021-04-07T15:15:13Z Feldman joined #lisp 2021-04-07T15:15:18Z seabass[m]: my father's first IBM-PC clone keyboard :) 2021-04-07T15:15:23Z lukego: thanks but I'm on NixOS so that'll be another whole kettle of fish to integrate the script into and I don't have the motivation just now :) 2021-04-07T15:15:28Z hypercube joined #lisp 2021-04-07T15:15:45Z seabass[m]: lukego, sure, I forgot that you used NixOS 2021-04-07T15:16:00Z seabass[m]: Even though it's plastered all over that code you displayed :D 2021-04-07T15:16:16Z lukego: I can't remember what sin I am atoning for by using NixOS but it's probably a whopper 2021-04-07T15:16:25Z seabass[m]: aw cute you call your laptop thinky 2021-04-07T15:17:22Z quazimodo quit (Ping timeout: 265 seconds) 2021-04-07T15:17:35Z aeth_ joined #lisp 2021-04-07T15:18:04Z aeth quit (Disconnected by services) 2021-04-07T15:18:07Z aeth_ is now known as aeth 2021-04-07T15:19:43Z renzhi quit (Ping timeout: 260 seconds) 2021-04-07T15:20:39Z jerme_ quit (Ping timeout: 260 seconds) 2021-04-07T15:21:58Z sz0 quit (Ping timeout: 258 seconds) 2021-04-07T15:22:42Z b20n quit (Ping timeout: 246 seconds) 2021-04-07T15:23:44Z dunk quit (Read error: Connection reset by peer) 2021-04-07T15:24:08Z quazimodo joined #lisp 2021-04-07T15:24:42Z jerme_ joined #lisp 2021-04-07T15:24:44Z b20n joined #lisp 2021-04-07T15:24:55Z dunk joined #lisp 2021-04-07T15:25:42Z sz0 joined #lisp 2021-04-07T15:26:16Z skapata quit (Remote host closed the connection) 2021-04-07T15:29:22Z lukego: Here's my latest abuse of unicode, this time because (required-argument) takes too much horizontal space: 2021-04-07T15:29:23Z lukego: (define-symbol-macro ⊥ (error "⊥")) 2021-04-07T15:31:09Z slyrus joined #lisp 2021-04-07T15:31:20Z phoe: required-argument takes an argument name, no? 2021-04-07T15:31:46Z lukego: optionally 2021-04-07T15:31:47Z t99 quit (Ping timeout: 252 seconds) 2021-04-07T15:31:55Z phoe: oh! I see 2021-04-07T15:32:17Z lukego: (defstruct foo (name ⊥ :type string)) ;; scratches an itch for me ... 2021-04-07T15:35:09Z ech joined #lisp 2021-04-07T15:35:29Z rogersm joined #lisp 2021-04-07T15:40:18Z _death: it takes a name so that it can produce a better error message 2021-04-07T15:42:03Z lukego: yeah. I never give that name though because I'm always bothered about the verbosity. 2021-04-07T15:42:35Z lukego: (and because often the reason I'm using defstruct in the first place is because I couldn't stand the redundancy of defclass :)) 2021-04-07T15:43:33Z lukego: maybe I should be using one of those easy-defclass macros. 2021-04-07T15:44:04Z lukego: but it's nice to let my hair down and allow myself to indulge some symbol/reader macros and funny syntax sometimes too. 2021-04-07T15:45:03Z _death: it's easy-defclass to those who know and love it.. for others it's "oh man, now I gotta learn another stupid defclass shortcut library to understand this form" 2021-04-07T15:45:39Z _death: that or "now I gotta macroexpand" 2021-04-07T15:46:00Z _death: the former is more likely if I also want to modify it 2021-04-07T15:46:06Z aeth quit (Ping timeout: 240 seconds) 2021-04-07T15:46:41Z fourier quit (Ping timeout: 240 seconds) 2021-04-07T15:47:40Z lukego: yeah. I guess I've been struggling and failing to get the taste for CLOS for like twenty years now so a crutch might be helpful. but I do have AMOP on order. 2021-04-07T15:48:04Z _death: defclass is verbose, but it's a small price to pay 2021-04-07T15:48:14Z aeth joined #lisp 2021-04-07T15:50:08Z hendursa1 joined #lisp 2021-04-07T15:52:59Z lukego: I have made one apparent step forward by factoring slots out into mixins like (defclass indexed () ((index ...))) when I often use the same slots in various classes 2021-04-07T15:53:28Z lukego: (defclass foo (indexed banked sided) ()) saves a lot of text compared with entering the slots manually every time. 2021-04-07T15:55:15Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-07T15:55:30Z beach: lukego: There is redundancy in DEFCLASS only if you don't care about modularity and consistent protocols. 2021-04-07T15:56:10Z notzmv joined #lisp 2021-04-07T15:56:34Z lukego: beach: so the Erik Naggums of the world keep telling me, but I don't believe it's as black and white as that. 2021-04-07T15:57:33Z beach: lukego: In practice, not every slot should have an :INITFORM, not every slot should have an :INITARG, not every slot should have a :READER, and not every slot should have a :WRITER. 2021-04-07T15:57:43Z jmercouris: lukego: we use hu.dwim.class star 2021-04-07T15:57:56Z beach: jmercouris: I am sorry to hear that. 2021-04-07T15:57:57Z lukego: to me it sounds like saying that Java class definitions are only verbose if you don't care about scope, mutability, and allocation policy. but that doesn't excuse typing "public static final ..." ten thousand times 2021-04-07T15:58:09Z jmercouris: lukego: it is in my opinion way better than just defclass by itself 2021-04-07T15:58:47Z t99 joined #lisp 2021-04-07T15:59:17Z jmercouris: lukego: here is an example of us using it: https://github.com/atlas-engineer/nyxt/blob/master/source/blocker-mode.lisp 2021-04-07T15:59:35Z jmercouris: beach: I find it quite convenient :-) 2021-04-07T15:59:44Z jmercouris: I can use all of defclass when needed 2021-04-07T15:59:51Z lukego: jmercouris: thanks! I'll try joining you at the philistines table and see how I fit in :) but I am guessing that reading AMOP will change my idea of what is appropriate, for better or worse, and I don't know in what direction 2021-04-07T15:59:58Z jmercouris: Otherwise I use define-class 2021-04-07T16:00:08Z lukego: jmercouris: love your work btw :) have only recently found out about nyxt 2021-04-07T16:00:29Z jmercouris: lukego: thanks, that’s very kind of you to say 2021-04-07T16:00:37Z beach: jmercouris: Yes, it is no doubt quite convenient... if you don't care about modularity and consistent protocols, like I said. 2021-04-07T16:00:46Z lukego: beach: I'm often just creating internal data structures and not public interfaces. the way in other languages one might use a throw-away dictionary or tuple. 2021-04-07T16:00:51Z jmercouris: Sometimes I do, sometimes I don’t 2021-04-07T16:01:02Z jmercouris: It depends on whether I’m writing a library or an application 2021-04-07T16:01:15Z beach: Wow. 2021-04-07T16:02:54Z jmercouris: beach: you are a much more conservative programmer than me :-D 2021-04-07T16:02:55Z beach: lukego: Even for those, it pays off to think about what kind of options you want to give to MAKE-INSTANCE, what slots you want to be writable, etc. 2021-04-07T16:03:46Z long4mud quit (Ping timeout: 240 seconds) 2021-04-07T16:03:47Z jmercouris: If Encapsulation is important, you’ll end up writing getters and setters anyways 2021-04-07T16:04:00Z beach: Er, what? 2021-04-07T16:04:39Z jmercouris: Talking about using class instances as a way to pass state around , instead of thinking about them as objects 2021-04-07T16:04:54Z beach: Don't tell me you write things like (defmethod get-stuff (x) (slot-value x 'stuff)). 2021-04-07T16:05:07Z jmercouris: beach: of course not 11 2021-04-07T16:05:16Z jmercouris: I’ll just add an accessor 2021-04-07T16:05:42Z jmercouris: I do write getters sometimes that have more logic than that though 2021-04-07T16:06:43Z beach: Those are known as "slot readers" and "slot writers", not "getters" "setters". 2021-04-07T16:07:00Z beach: And you can always write auxiliary methods on the corresponding generic functions. 2021-04-07T16:08:18Z beach: There is typically always a slot reader, but not always a slot writer on a slot. 2021-04-07T16:08:37Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-07T16:08:43Z aartaka joined #lisp 2021-04-07T16:08:44Z beach: ... independently of encapsulation issues. 2021-04-07T16:09:46Z beach: In particular, you may not want to use :ACCESSOR if you want client code to read the slot, but not write it. 2021-04-07T16:10:43Z beach: ... since the same symbol can be used both to read and write the slot then. 2021-04-07T16:10:49Z mfiano: I even go as far as to define a %-prefixed accessor in addition to a reader that is exported, rather than use slot-value for internal code, since it is often wanted to extend that protocol 2021-04-07T16:11:12Z beach: Exactly. 2021-04-07T16:11:26Z beach: It doesn't have to be prefixed as long as it is not exported. 2021-04-07T16:11:37Z mfiano: Right. It's just a convention 2021-04-07T16:11:48Z jackdaniel: if the reader is exported, then (setf reader) is kinda exported too 2021-04-07T16:11:49Z beach: I sometimes do (%name :reader name :writer (setf other-name)) 2021-04-07T16:11:50Z mfiano: One that is recognizxed by others at that, but mostly personal :) 2021-04-07T16:11:57Z mfiano: err recognized* 2021-04-07T16:12:00Z beach: jackdaniel: Exactly my point, yes. 2021-04-07T16:12:22Z mfiano: Yes, that was what I was implying. 2021-04-07T16:12:49Z beach: But sometimes I just use REINITIALIZE-INSTANCE internally. 2021-04-07T16:12:57Z mfiano: If I don't want users to write, I'll export a symbol used for :reader, and give myself a non-exported symbol for :accessor/:writer 2021-04-07T16:13:10Z beach: Right. 2021-04-07T16:13:22Z jackdaniel: howerver given that you bother to write down how to use your system and you do not mention the writer (setf foo), then if someone uses it then it is violating the library protocol 2021-04-07T16:13:33Z gxt quit (Ping timeout: 240 seconds) 2021-04-07T16:14:02Z jackdaniel: so it is still kind of internal 2021-04-07T16:14:16Z lukego: This may shock you guys but I sometimes even pass around data as *lists of atoms* :) 2021-04-07T16:14:18Z beach: jackdaniel: Sure. But it is good to give warnings or errors in case of incorrect use. 2021-04-07T16:14:27Z rogersm quit (Quit: Leaving...) 2021-04-07T16:15:38Z gxt joined #lisp 2021-04-07T16:16:00Z mfiano: It surprises me at how many codebases use the same symbol name for the slot as the accessor (in the general sense, not :accessor) 2021-04-07T16:16:02Z ech quit (Remote host closed the connection) 2021-04-07T16:16:09Z long4mud joined #lisp 2021-04-07T16:16:11Z mfiano: THat is an accident waiting to happen in most cases 2021-04-07T16:16:13Z jackdaniel: beach: I tentatively agree but one could consider adding (setf %extra) accessors clobbering from the code perspective (and one more sub-protocol to keep in mind when working on the system) 2021-04-07T16:16:33Z ech joined #lisp 2021-04-07T16:16:54Z aeth_ joined #lisp 2021-04-07T16:16:57Z beach: Sure. 2021-04-07T16:16:58Z aeth quit (Disconnected by services) 2021-04-07T16:17:05Z aeth_ is now known as aeth 2021-04-07T16:17:07Z lukego: It bothers me how much this discussion sounds like #java in the 1990s :( 2021-04-07T16:17:42Z jackdaniel: that sounds as if some very smart people worked on java back then ;-) 2021-04-07T16:17:52Z pve: lukego: you might use emacs to generate an initial defclass form for you, and then edit as necessary 2021-04-07T16:17:52Z lukego: The whole "ravioli code" concept with layers of empty calories between every tiny morsel of meat :) 2021-04-07T16:18:02Z pve: instead of a CL macro, I mean 2021-04-07T16:18:15Z lukego: pve: okay now you're just copy-pasting from a java forum I'm sure of it :) 2021-04-07T16:18:26Z pve: haha no I'm serious 2021-04-07T16:19:21Z pve: you end up with a defclass form that everyone understands, without having to type it all out 2021-04-07T16:19:51Z lukego: This is the big challenge with CLOS for me. I don't /want/ to agree with what you guys are saying :) I like the kind of Lisp code that Peter Norvig writes and he's more likely to use DEFCLASS with :TYPE LIST than any of this business 2021-04-07T16:19:56Z lukego: DEFSTRUCT rather 2021-04-07T16:22:04Z lukego: but maybe it is more of an applications verses libraries thing. I'm writing code that I expect to churn quickly and not be seen by anyone else's eyes before being rewritten a couple of times. so it doesn't seem rational to spend time worrying about how a hypothetical unknown third party might interact with this code. different situation if you're pushing libraries to github/quicklisp. 2021-04-07T16:23:46Z jmercouris: You’ve nailed it 2021-04-07T16:24:04Z jmercouris: All of the advice so far has been given within the context of third party consumers and some robust foundation 2021-04-07T16:24:17Z jmercouris: When neither exist, it is a pointless exercise 2021-04-07T16:24:42Z beach: Sure. If you don't expose your code to anyone else, you can do whatever you want. 2021-04-07T16:24:50Z lukego: Thank you :) 2021-04-07T16:24:59Z beach: Who needs DEFSTRUCT anyway. You can just use CAR/CDR. 2021-04-07T16:25:42Z lukego: I can also understand that if you spend time teaching people to program in Lisp, you will want to be focusing on the best practices for doing this properly, since people can always use their judgement to take shortcuts later. 2021-04-07T16:25:47Z jmercouris: Not sure if your being sarcastic, but Eitaro would agree with you 2021-04-07T16:25:55Z jmercouris: You’re * 2021-04-07T16:26:01Z varjag joined #lisp 2021-04-07T16:26:17Z jmercouris: He uses lists for everything! 2021-04-07T16:26:28Z lukego: I'm reading some ACL2 code that has page-long definitions on which each line is of the form (defun foo-quux (foo) (caddddddddddr foo)) 2021-04-07T16:26:51Z Xach: there's also a big difference between "there's no reason for [the way defclass works]" and "i don't like how it works" or "the problems that it solves aren't that important to me" etc 2021-04-07T16:26:58Z beach: jmercouris: I am saying that DEFSTRUCT is already a way to make your code more modular and with defined protocols. If you don't think you need such things, there might be no point in using DEFSTRUCT either. Lists could be more flexible. 2021-04-07T16:27:00Z Gnuxie[m]: I hope you are including co-workers as third parties 2021-04-07T16:27:01Z Xach: change [the way defclass works] to whatever you like 2021-04-07T16:27:10Z lukego: so even for throw-away code I appreciate easy ways to get accessors, places to hang print functions, etc. 2021-04-07T16:27:21Z jmercouris: beach: agreed 2021-04-07T16:27:51Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-07T16:27:53Z beach: Gnuxie[m]: I include my future self as a third party. 2021-04-07T16:28:09Z beach: Gnuxie[m]: But that might be because of my notorious bad memory. 2021-04-07T16:28:17Z lukego: beach: that's a good point. in other languages I would do exactly that e.g. if they have pattern matching to make it convenient. could well be that in serapeum there are such facilities and some of my structs could be lists because I don't need dedicated accessor functions. 2021-04-07T16:28:41Z Bike: i wish structure objects were defined with defclass, and defstruct was a library macro to define accessors with convenient names 2021-04-07T16:28:48Z lukego makes mental note to read some idiomatic serapeum code e.g. implementation of serapeum itself 2021-04-07T16:29:19Z Gnuxie[m]: beach: that's wise 2021-04-07T16:29:34Z Gnuxie[m]: gives yourself less work in either case 2021-04-07T16:30:06Z jackdaniel: Bike: in the vast undefined behavior (defclass foo () () (:metaclass structure-class)) works on some implementations 2021-04-07T16:30:36Z Bike: yeah. that's nice. 2021-04-07T16:30:39Z beach: Bike: Your wish is my command! :) 2021-04-07T16:31:02Z Bike: mm hm 2021-04-07T16:31:04Z jackdaniel: ah, but adding slots doesn't work so nice 2021-04-07T16:31:19Z splittist: mixins and generic functions are a great way to allow for unforeseen behaviour modification. And every time I worry about performance I tell myself the world now runs on javascript over the network. 2021-04-07T16:31:27Z lukego: Gnuxie[m]: I do a lot of rewriting. I'll probably rewrite all this particular code at least a couple of times before I share it with anyone else. I've already rewritten much of it once. 2021-04-07T16:31:29Z Bike: you'd probably have to do something funky to ensure the class is defined at enough at compile time to allow subclassing 2021-04-07T16:31:37Z Bike: while keeping the fast access, i mean 2021-04-07T16:31:41Z Shinmera: splittist: My game engine makes heavy use of CLOS :) 2021-04-07T16:31:54Z sauvin_ joined #lisp 2021-04-07T16:32:09Z jackdaniel: ah, that's it, I've tried redefining foo, when I define a "fresh" class, then I can put slots in there 2021-04-07T16:33:06Z mfiano: My game engine makes heavy use of structure-object and standard-object 2021-04-07T16:33:19Z Bike: defstruct has to do funky stuff of that kind. defstruct is kind of entirely funky stuff 2021-04-07T16:33:26Z jackdaniel: funcallable-standard-object idea is also cool 2021-04-07T16:33:37Z Bike: well, doesn't have to, but does if defstructs have any point over defclass 2021-04-07T16:33:45Z Bike: i'm pretty sure sbcl has funcallable structure objects 2021-04-07T16:33:54Z jackdaniel: well, they are mandated by mop 2021-04-07T16:33:54Z Bike: internally, obvs 2021-04-07T16:33:55Z VincentVega joined #lisp 2021-04-07T16:33:59Z Bike: they are? 2021-04-07T16:34:12Z VincentVega: Hi! Is there a portable way to suppress a redefinition warning? 2021-04-07T16:34:12Z jackdaniel: ah, funcallable *structure* object 2021-04-07T16:34:21Z jackdaniel: I've meant *standard* :) 2021-04-07T16:34:25Z Bike: ah. yeah. 2021-04-07T16:34:25Z sauvin quit (Ping timeout: 258 seconds) 2021-04-07T16:35:18Z pve: lukego: I once worked on an old application that stored everything (or a lot, anyway) in symbol plists. A curious design choice, but it did work.. 2021-04-07T16:35:36Z Bike: i would also like upgraded-structure-slot-type and a pony. 2021-04-07T16:36:06Z lukego: pve: thank you for normalizing the use of whatever quirky representation one prefers in the privacy of one's own codebase :) 2021-04-07T16:36:14Z jackdaniel: I have a turtle and upgraded-array-type, will do? ,) 2021-04-07T16:36:17Z jackdaniel gets back to work 2021-04-07T16:36:22Z Bike: turtles are nice too. 2021-04-07T16:36:33Z Xach: If your program does something very useful, people will often adapt to it, rather than demand vice versa 2021-04-07T16:37:03Z mfiano: THat's a major problem with Lisp. People often care more about the code than the artifact 2021-04-07T16:37:41Z ikrabbe quit (Ping timeout: 240 seconds) 2021-04-07T16:38:14Z Xach: It's a problem with many forms of endeavor - obsession with the tools and their proper use rather than the product of the tools. But there's no denying that a nice tool, used properly, is a delight. 2021-04-07T16:38:17Z pve: lukego: I just assumed it was a trendy style in the early 90's and left it at that :) 2021-04-07T16:38:36Z lukego: I'll admit that I allow myself to spend much more creative energy on editing Lisp code than most other languages. I enjoy that though. keeps me amused while I'm programming 2021-04-07T16:38:45Z Xach thinks of people who post pictures of their workbench and planes rather than the useful objects produced with them 2021-04-07T16:39:04Z Shinmera: I hate my level editor a whole lot, but simply don't have the time to make it nice. 2021-04-07T16:39:13Z Shinmera: In some ways, having deadlines and such pressures is good. 2021-04-07T16:40:05Z Bike: if you're a compiler dev your work is increasingly elaborate pictures of workbenches 2021-04-07T16:40:15Z pve: lukego: but to be fair, it was written mostly by computational linguists who only wanted to get the job done 2021-04-07T16:40:41Z beach: Shinmera: Do you have a deadline for your game? 2021-04-07T16:40:47Z ikrabbe joined #lisp 2021-04-07T16:41:12Z Shinmera: Well the most pressing deadline is me running out of money, so I have to be very smart with that. 2021-04-07T16:41:26Z beach: Hmm, yes, I see. 2021-04-07T16:41:36Z Shinmera: Other than that we also have a release schedule we're aiming for, which is roughly 2 years from now. 2021-04-07T16:44:33Z Feldman joined #lisp 2021-04-07T16:44:39Z beach: Deadlines far in the future are tough. 2021-04-07T16:45:26Z akoana joined #lisp 2021-04-07T16:49:08Z cosimone quit (Remote host closed the connection) 2021-04-07T16:53:16Z ikrabbe|2 joined #lisp 2021-04-07T16:53:31Z slyrus quit (Remote host closed the connection) 2021-04-07T16:54:11Z ikrabbe quit (Ping timeout: 240 seconds) 2021-04-07T16:56:46Z shka_: see: the global warming 2021-04-07T16:59:41Z Major_Biscuit quit (Ping timeout: 260 seconds) 2021-04-07T16:59:45Z slyrus joined #lisp 2021-04-07T17:00:01Z curtosis joined #lisp 2021-04-07T17:01:41Z t99_ joined #lisp 2021-04-07T17:04:15Z t99 quit (Ping timeout: 260 seconds) 2021-04-07T17:04:30Z slyrus quit (Ping timeout: 268 seconds) 2021-04-07T17:07:33Z ikrabbe|2 is now known as ikrabbe 2021-04-07T17:09:10Z hiroaki joined #lisp 2021-04-07T17:10:38Z karlosz joined #lisp 2021-04-07T17:11:01Z aeth_ joined #lisp 2021-04-07T17:12:26Z aeth quit (Disconnected by services) 2021-04-07T17:12:31Z aeth_ is now known as aeth 2021-04-07T17:12:36Z davisr_ joined #lisp 2021-04-07T17:12:53Z ikrabbe quit (Ping timeout: 265 seconds) 2021-04-07T17:13:42Z _death: jackdaniel: I'm surprised ;).. I expected some resistance, at least for the draw-arrow stuff, if not the keybindings (which I supposed must have had some good reason not to be there in the last 20 years) 2021-04-07T17:14:48Z jackdaniel: _death: after testing them I've decided that they are fine (and minor) 2021-04-07T17:14:59Z davisr quit (Ping timeout: 260 seconds) 2021-04-07T17:15:08Z jackdaniel: thanks! 2021-04-07T17:16:11Z kevingal joined #lisp 2021-04-07T17:17:40Z _death: jackdaniel: cool :).. I also had to patch the coordinates stuff, which currently has exact comparisons incl. on floats that causes trouble with ellipses, but I noticed the commented version and some old mcclim-devel discussions and some issues on github so I thought another approach may be on the queue 2021-04-07T17:18:38Z jackdaniel: I want to change the ellipse representation from parralelogram to something more stable (transformation-wise) 2021-04-07T17:19:20Z _death: yeah, that's one of things I gathered.. the exact comparisons may caused issues elsewhere too 2021-04-07T17:19:39Z kevingal_ quit (Ping timeout: 260 seconds) 2021-04-07T17:19:58Z jackdaniel: comparisons are one issue, but the current code can error because of a non-reversible transformation (due to rounding errors) 2021-04-07T17:20:12Z jackdaniel: i.e after trying to rotate the ellipse 2021-04-07T17:20:51Z bitmapper joined #lisp 2021-04-07T17:21:10Z _death: right.. there are two issues.. the inversion is easy to reproduce with the Fig example, and the comparison is easy with https://www.artm-friends.at/rm/kytron/kytron-clim.html (after small tweaks to make it work) 2021-04-07T17:22:07Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-07T17:22:22Z sz0 quit (Quit: Connection closed for inactivity) 2021-04-07T17:22:32Z galex-713 joined #lisp 2021-04-07T17:24:58Z davisr_ is now known as davisr 2021-04-07T17:26:41Z notzmv quit (Ping timeout: 240 seconds) 2021-04-07T17:27:26Z davisr quit (Read error: Connection reset by peer) 2021-04-07T17:28:03Z davisr joined #lisp 2021-04-07T17:30:21Z _death: I also have some changes to scigraph, but it may be that it doesn't work right only for me.. I guess the most annoying issue right now is the repeated mapping and unmapping (with lots of match error 42) that happens if I switch windows in stumpwm, usually once per application frame.. also, (setf clim:*default-server-path* :clx) looks cool and retro :) 2021-04-07T17:31:47Z Feldman joined #lisp 2021-04-07T17:33:47Z _death: (to make clear, this issue is not limited to scigraph.. it often happens with any arbitrary application frame) 2021-04-07T17:34:25Z jackdaniel: the only moment I've worked with scigraph was the effort to make it "start" 2021-04-07T17:34:36Z jackdaniel: so I won't be much help with it :) 2021-04-07T17:34:49Z Sheilong joined #lisp 2021-04-07T17:35:15Z davisr quit (Ping timeout: 248 seconds) 2021-04-07T17:39:28Z dinnu93 quit (Remote host closed the connection) 2021-04-07T17:43:15Z galex-713 quit (Ping timeout: 248 seconds) 2021-04-07T17:43:43Z gitgood joined #lisp 2021-04-07T17:46:30Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-07T17:47:49Z rgherdt left #lisp 2021-04-07T17:49:28Z Feldman joined #lisp 2021-04-07T17:53:29Z hypercube quit (Ping timeout: 265 seconds) 2021-04-07T17:53:42Z monaliza joined #lisp 2021-04-07T17:56:31Z galex-713 joined #lisp 2021-04-07T17:57:37Z ukari quit (Remote host closed the connection) 2021-04-07T17:58:38Z ukari joined #lisp 2021-04-07T18:08:49Z Jachy joined #lisp 2021-04-07T18:10:53Z monaliza quit (Quit: monaliza) 2021-04-07T18:12:35Z galex-713 quit (Ping timeout: 248 seconds) 2021-04-07T18:12:48Z galex-713_ joined #lisp 2021-04-07T18:16:58Z galex-713_ quit (Ping timeout: 240 seconds) 2021-04-07T18:17:06Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-07T18:19:09Z hypercube joined #lisp 2021-04-07T18:19:11Z sauvin_ quit (Read error: Connection reset by peer) 2021-04-07T18:19:19Z hypercube: minion: source code 2021-04-07T18:19:22Z minion: please stop playing with me... i am not a toy 2021-04-07T18:19:48Z hypercube: lol im just curious about how u work 2021-04-07T18:20:43Z phoe: hypercube: https://github.com/stassats/lisp-bots/ 2021-04-07T18:21:12Z hypercube: oh awesome, thank you phoe! 2021-04-07T18:23:38Z galex-713 joined #lisp 2021-04-07T18:25:58Z Codaraxis joined #lisp 2021-04-07T18:27:21Z Feldman joined #lisp 2021-04-07T18:28:18Z Codaraxis_ quit (Ping timeout: 240 seconds) 2021-04-07T18:29:26Z phoe: I've updated the minion cliki page, now it points to that repo 2021-04-07T18:29:29Z phoe: minion: tell phoe about minion 2021-04-07T18:29:29Z minion: minion: https://www.cliki.net/minion 2021-04-07T18:30:05Z zupss quit (Quit: Lost terminal) 2021-04-07T18:30:15Z zupss joined #lisp 2021-04-07T18:34:36Z gabc: phoe: just received your book, thanks for making it :) 2021-04-07T18:34:37Z slyrus joined #lisp 2021-04-07T18:34:45Z phoe: gabc: hope it serves you well 2021-04-07T18:35:18Z Keyboard1orrier quit (Ping timeout: 240 seconds) 2021-04-07T18:36:03Z galex-713 quit (Ping timeout: 248 seconds) 2021-04-07T18:36:18Z albusp: Trying to get sly working with emacs, currently I don't have slynk running (no lisp process active), and indenting code in *.lisp files gives the error "Symbol’s function definition is void: sly-common-lisp-indent-function". I'm checking sly.el and others, and found a line in slynk.lisp mentioning the function: https://github.com/joaotavora/sly/blob/e927cdae984b2c3383e1e2358e37f1a4115b142e/slynk/slynk.lisp#L3996. 2021-04-07T18:36:21Z albusp: Does this mean the indent function will appear after a slynk starts running? 2021-04-07T18:37:03Z phoe: albusp: do you by any chance have sly and slime installed/loaded at the same time? 2021-04-07T18:37:21Z albusp: no, I removed slime after issues. 2021-04-07T18:37:55Z albusp: slynk is not yet running because it doesn't compile on abcl (yet - i'm trying to fix it) 2021-04-07T18:38:18Z albusp: maybe I should try sbcl case to see if the indent is running. let's see... 2021-04-07T18:41:55Z slyrus quit (Ping timeout: 248 seconds) 2021-04-07T18:42:10Z pjb quit (Quit: upgrading to Bug Sure :-/) 2021-04-07T18:43:36Z albusp: yes, indent function appears after a slynk starts. :) 2021-04-07T18:48:04Z ebrasca joined #lisp 2021-04-07T18:48:41Z Krystof quit (Ping timeout: 240 seconds) 2021-04-07T18:52:25Z ljavorsk quit (Ping timeout: 268 seconds) 2021-04-07T18:52:39Z Oladon joined #lisp 2021-04-07T18:56:42Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-07T19:00:03Z galex-713 joined #lisp 2021-04-07T19:03:15Z thinkpad quit (Ping timeout: 260 seconds) 2021-04-07T19:05:46Z thinkpad joined #lisp 2021-04-07T19:05:58Z curtosis joined #lisp 2021-04-07T19:06:26Z contrapunctus: "Who needs DEFSTRUCT anyway. You can just use CAR/CDR." lol I had to do a double take here, until I read the previous message 😄 2021-04-07T19:07:42Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-07T19:15:16Z galex-713 quit (Read error: Connection reset by peer) 2021-04-07T19:16:00Z galex-713 joined #lisp 2021-04-07T19:19:44Z g_SG joined #lisp 2021-04-07T19:23:40Z slyrus joined #lisp 2021-04-07T19:24:21Z notzmv joined #lisp 2021-04-07T19:24:44Z skapata joined #lisp 2021-04-07T19:25:07Z galex-713 quit (Ping timeout: 248 seconds) 2021-04-07T19:25:39Z galex-713 joined #lisp 2021-04-07T19:27:44Z slyrus quit (Ping timeout: 246 seconds) 2021-04-07T19:30:59Z VincentVega quit (Quit: Connection closed) 2021-04-07T19:35:39Z ukari quit (Remote host closed the connection) 2021-04-07T19:35:47Z galex-713 quit (Ping timeout: 248 seconds) 2021-04-07T19:36:47Z galex-713 joined #lisp 2021-04-07T19:36:50Z ukari joined #lisp 2021-04-07T19:40:41Z logand``: ; 2021-04-07T19:42:41Z narimiran quit (Ping timeout: 240 seconds) 2021-04-07T19:43:36Z supercoven_ quit (Ping timeout: 260 seconds) 2021-04-07T19:43:47Z galex-713 quit (Ping timeout: 248 seconds) 2021-04-07T19:44:13Z galex-713 joined #lisp 2021-04-07T19:45:55Z seok quit (Ping timeout: 248 seconds) 2021-04-07T19:47:49Z rogersm joined #lisp 2021-04-07T19:48:18Z g_SG quit (Ping timeout: 240 seconds) 2021-04-07T19:48:34Z Lord_of_Life_ joined #lisp 2021-04-07T19:48:41Z galex-713 quit (Ping timeout: 240 seconds) 2021-04-07T19:48:45Z jeosol joined #lisp 2021-04-07T19:48:47Z slyrus joined #lisp 2021-04-07T19:50:23Z Lord_of_Life quit (Ping timeout: 260 seconds) 2021-04-07T19:50:23Z amb007 quit (Read error: Connection reset by peer) 2021-04-07T19:51:38Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-07T19:52:43Z amb007 joined #lisp 2021-04-07T19:52:44Z silasfox joined #lisp 2021-04-07T19:52:58Z slyrus quit (Ping timeout: 240 seconds) 2021-04-07T19:54:01Z Feldman joined #lisp 2021-04-07T19:56:58Z galex-713 joined #lisp 2021-04-07T20:00:14Z aeth: Everyone comes into Common Lisp for different reasons so there's no real one true way to represent something. If you really wanted to just use conses for everything, though, CL isn't really the right language for that because they're not optimized. (destructuring-bind is a very nice macro for handling conses, though) 2021-04-07T20:01:51Z phossil joined #lisp 2021-04-07T20:03:40Z silasfox` joined #lisp 2021-04-07T20:04:06Z silasfox quit (Ping timeout: 258 seconds) 2021-04-07T20:04:18Z rogersm quit (Remote host closed the connection) 2021-04-07T20:04:36Z silasfox` left #lisp 2021-04-07T20:04:53Z gigetoo quit (Ping timeout: 260 seconds) 2021-04-07T20:05:26Z gigetoo joined #lisp 2021-04-07T20:11:00Z kevingal quit (Remote host closed the connection) 2021-04-07T20:15:13Z Krystof joined #lisp 2021-04-07T20:15:57Z lawt joined #lisp 2021-04-07T20:17:20Z yitzi quit (Quit: yitzi) 2021-04-07T20:18:11Z slyrus joined #lisp 2021-04-07T20:18:25Z galex-713_ joined #lisp 2021-04-07T20:18:27Z galex-713 quit (Ping timeout: 248 seconds) 2021-04-07T20:21:24Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-07T20:22:20Z slyrus quit (Ping timeout: 246 seconds) 2021-04-07T20:22:43Z contrapunctus quit (Ping timeout: 248 seconds) 2021-04-07T20:23:15Z galex-713_ quit (Ping timeout: 248 seconds) 2021-04-07T20:23:59Z galex-713 joined #lisp 2021-04-07T20:24:42Z jmercouris: a way to (format "~a" 'symbol) in lowercase? 2021-04-07T20:24:46Z jmercouris: a directive for this? 2021-04-07T20:25:09Z jmercouris: (format nil "~a" 'symbol) 2021-04-07T20:25:24Z _death: ~( 2021-04-07T20:25:44Z jmercouris: _death: ? 2021-04-07T20:26:31Z jmercouris: ah: (format nil "~(~a~)" 'symbol) 2021-04-07T20:26:32Z _death: you don't speak format directivish? 2021-04-07T20:26:55Z jmercouris: apparently I do :-D 2021-04-07T20:26:59Z jmercouris: just took me a second to realize what you meant 2021-04-07T20:28:24Z aeth: jmercouris: *print-case* :downcase 2021-04-07T20:28:46Z DHARMAKAYA joined #lisp 2021-04-07T20:28:59Z Josh_2: jmercouris: http://www.lispworks.com/documentation/HyperSpec/Body/22_cha.htm 2021-04-07T20:30:18Z aeth: I guess that is equivalent, but it seems less readable to me than the more verbose (let ((*print-case* :downcase)) (format nil "~A" 'foo)) 2021-04-07T20:30:38Z jmercouris: aeth: I just want it in a single format directive 2021-04-07T20:30:40Z galex-713 quit (Read error: Connection reset by peer) 2021-04-07T20:30:42Z jmercouris: so I will leave it 2021-04-07T20:30:55Z jmercouris: would be a bit verbose to let bind print case for this specific thing 2021-04-07T20:31:27Z galex-713 joined #lisp 2021-04-07T20:32:01Z phossil quit (Quit: Konversation terminated!) 2021-04-07T20:32:05Z anticrisis joined #lisp 2021-04-07T20:32:22Z aeth: ~( is useful, new information for me, too 2021-04-07T20:32:33Z aeth: I go back and forth between loving FORMAT and hating FORMAT so I'll probably use it in the future 2021-04-07T20:32:39Z cage_ quit (Quit: Leaving) 2021-04-07T20:32:46Z jmercouris: same 2021-04-07T20:33:58Z orivej joined #lisp 2021-04-07T20:37:29Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-07T20:39:08Z pve quit (Quit: leaving) 2021-04-07T20:41:45Z notzmv quit (Ping timeout: 260 seconds) 2021-04-07T20:41:55Z rodriga quit (Ping timeout: 248 seconds) 2021-04-07T20:41:58Z myall quit (Quit: ZNC 1.7.5 - https://znc.in) 2021-04-07T20:42:01Z jeosol quit (Quit: Connection closed) 2021-04-07T20:43:31Z myall joined #lisp 2021-04-07T20:43:31Z myall quit (Changing host) 2021-04-07T20:43:31Z myall joined #lisp 2021-04-07T20:44:11Z Feldman joined #lisp 2021-04-07T20:44:52Z ikrabbe joined #lisp 2021-04-07T20:44:57Z ikrabbe|2 joined #lisp 2021-04-07T20:45:19Z ikrabbe|2 quit (Client Quit) 2021-04-07T20:45:23Z ikrabbe quit (Client Quit) 2021-04-07T20:45:45Z ikrabbe joined #lisp 2021-04-07T20:45:55Z t99_ quit (Ping timeout: 260 seconds) 2021-04-07T20:46:22Z Oladon quit (Quit: Leaving.) 2021-04-07T20:47:15Z galex-713 quit (Ping timeout: 248 seconds) 2021-04-07T20:48:40Z galex-713 joined #lisp 2021-04-07T20:49:09Z ljavorsk joined #lisp 2021-04-07T20:49:39Z myall quit (Quit: ZNC 1.7.5 - https://znc.in) 2021-04-07T20:53:22Z hiroaki quit (Remote host closed the connection) 2021-04-07T20:55:56Z notzmv joined #lisp 2021-04-07T20:57:13Z hiroaki joined #lisp 2021-04-07T20:58:51Z galex-713 quit (Read error: Connection reset by peer) 2021-04-07T20:59:02Z mindCrime_ joined #lisp 2021-04-07T20:59:06Z ljavorsk quit (Ping timeout: 240 seconds) 2021-04-07T20:59:31Z lawt quit (Ping timeout: 248 seconds) 2021-04-07T20:59:58Z galex-713 joined #lisp 2021-04-07T21:00:50Z notzmv quit (Ping timeout: 246 seconds) 2021-04-07T21:04:15Z h4ck3r9696 quit (Quit: Leaving.) 2021-04-07T21:06:56Z phossil_ joined #lisp 2021-04-07T21:08:35Z galex-713 quit (Ping timeout: 248 seconds) 2021-04-07T21:11:11Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-07T21:11:20Z t99 joined #lisp 2021-04-07T21:15:03Z kmeow joined #lisp 2021-04-07T21:17:39Z skapata quit (Ping timeout: 260 seconds) 2021-04-07T21:18:11Z orivej quit (Ping timeout: 240 seconds) 2021-04-07T21:18:13Z villanella joined #lisp 2021-04-07T21:18:18Z wsinatra quit (Ping timeout: 240 seconds) 2021-04-07T21:19:07Z galex-713 joined #lisp 2021-04-07T21:19:09Z orivej joined #lisp 2021-04-07T21:20:28Z h4ck3r9696 joined #lisp 2021-04-07T21:27:55Z h4ck3r9696 quit (Quit: Leaving.) 2021-04-07T21:30:59Z aartaka quit (Ping timeout: 248 seconds) 2021-04-07T21:31:27Z skapata joined #lisp 2021-04-07T21:31:52Z karlosz quit (Quit: karlosz) 2021-04-07T21:32:59Z aartaka joined #lisp 2021-04-07T21:35:18Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-07T21:37:47Z lawt joined #lisp 2021-04-07T21:44:00Z Sheilong quit (Quit: Connection closed for inactivity) 2021-04-07T21:44:19Z aartaka_d joined #lisp 2021-04-07T21:46:34Z hiroaki_ joined #lisp 2021-04-07T21:46:35Z notzmv joined #lisp 2021-04-07T21:47:25Z aartaka quit (Ping timeout: 265 seconds) 2021-04-07T21:53:07Z notzmv quit (Ping timeout: 260 seconds) 2021-04-07T21:53:37Z notzmv joined #lisp 2021-04-07T21:55:00Z myall joined #lisp 2021-04-07T21:55:00Z myall quit (Changing host) 2021-04-07T21:55:00Z myall joined #lisp 2021-04-07T21:57:53Z DHARMAKAYA quit (Ping timeout: 246 seconds) 2021-04-07T22:01:23Z aartaka_d quit (Ping timeout: 248 seconds) 2021-04-07T22:05:27Z orivej quit (Ping timeout: 268 seconds) 2021-04-07T22:06:56Z no-defun-allowed: jmercouris: I think that if the result of evaluating X and X are equivalent, then you are saying that every evaluation has a fixed point. 2021-04-07T22:07:02Z phossil_ quit (Quit: Konversation terminated!) 2021-04-07T22:07:56Z no-defun-allowed: That could be the case in e.g. Miranda or Haskell, as e.g. [x, y :: z] could evaluate to [1, 2, 3] which evaluates to [1, 2, 3] but not any Lisp. 2021-04-07T22:08:19Z jmercouris: I think when answering a question one should consider the context 2021-04-07T22:08:31Z random-nick quit (Ping timeout: 260 seconds) 2021-04-07T22:08:49Z jmercouris: Answer to the audience skill level 2021-04-07T22:09:07Z no-defun-allowed: I think when using a word, one should consider what that word means. 2021-04-07T22:09:09Z jmercouris: Instead of giving a technically correct, but unhelpful response 2021-04-07T22:09:39Z no-defun-allowed: evaluates-to is not an equivalence relationship. 2021-04-07T22:09:56Z jmercouris: That’s not my point 2021-04-07T22:10:19Z no-defun-allowed: If it were, then e.g. X should always evaluate to 'X. I won't make an example for transitivity. 2021-04-07T22:10:36Z jmercouris: Not sure who you are explaining what to 2021-04-07T22:10:37Z Helmholtz quit (Ping timeout: 265 seconds) 2021-04-07T22:11:00Z no-defun-allowed: You. 2021-04-07T22:11:44Z jmercouris: Oh I see 2021-04-07T22:11:53Z jmercouris: No need, I understand this concept already 2021-04-07T22:13:33Z ech quit (Remote host closed the connection) 2021-04-07T22:14:29Z surabax quit (Quit: Leaving) 2021-04-07T22:16:55Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-07T22:17:12Z no-defun-allowed: So it would be evident why "equivalent" has a particular meaning when used in the context of Lisp evaluation? 2021-04-07T22:17:23Z notzmv quit (Ping timeout: 260 seconds) 2021-04-07T22:18:59Z Feldman joined #lisp 2021-04-07T22:20:29Z ech joined #lisp 2021-04-07T22:23:55Z villanella quit (Ping timeout: 260 seconds) 2021-04-07T22:24:30Z maiqthefalse joined #lisp 2021-04-07T22:26:43Z DGASAU quit (Ping timeout: 260 seconds) 2021-04-07T22:26:58Z no-defun-allowed: (Actually, that is probably not even the case in Haskell or Miranda. We might say 2 and 1 + 1 are equivalent forms, but an evaluator for one of those languages might reduce 1 + 1 to 2, but not the other way around.) 2021-04-07T22:29:39Z sm2n: blah blah referential transparency, they are equal within the denotational semantics of the language 2021-04-07T22:29:47Z sm2n: (in haskell or whatever) 2021-04-07T22:30:37Z sm2n: in pure fp things are given their identity by their normal form under reduction, by church-rosser or related 2021-04-07T22:30:49Z sm2n: (assuming your stuff terminates) 2021-04-07T22:35:04Z frgo quit (Remote host closed the connection) 2021-04-07T22:35:29Z frgo joined #lisp 2021-04-07T22:49:23Z hiroaki_ quit (Ping timeout: 248 seconds) 2021-04-07T22:49:23Z hiroaki quit (Ping timeout: 248 seconds) 2021-04-07T22:51:02Z akoana left #lisp 2021-04-07T22:53:13Z igemnace joined #lisp 2021-04-07T22:54:48Z notzmv joined #lisp 2021-04-07T22:56:17Z phantomics: Hey all, wondering if there's a library that converts HTML-encoded characters like " to Unicode. Tried some HTML parsers that didn't do it and can't see anything to do it on CL package lists 2021-04-07T23:01:42Z slyrus joined #lisp 2021-04-07T23:13:56Z raeda: The numeric encoding is the code point number iirc. SBCL has unicode lookup by code point and you might be able to use CL-PPCRE to find & replace 2021-04-07T23:14:16Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-07T23:14:27Z raeda: Not sure if there's any good way to convert the named escapes like < 2021-04-07T23:15:54Z KeyboardWorrier joined #lisp 2021-04-07T23:21:24Z lotuseater quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-07T23:23:16Z sxmx quit (Quit: WeeChat 3.1) 2021-04-07T23:23:39Z villanella joined #lisp 2021-04-07T23:25:18Z phossil_ joined #lisp 2021-04-07T23:25:31Z phossil joined #lisp 2021-04-07T23:29:51Z mindCrime_ joined #lisp 2021-04-07T23:30:00Z Oladon joined #lisp 2021-04-07T23:33:11Z villanella quit (Ping timeout: 240 seconds) 2021-04-07T23:34:04Z Xach: phantomics: see the html-entities system 2021-04-07T23:34:16Z Codaraxis quit (Remote host closed the connection) 2021-04-07T23:34:39Z Codaraxis joined #lisp 2021-04-07T23:34:49Z Xach: (html-entities:decode-entities "<">") => "<\">" 2021-04-07T23:35:11Z hypercube quit (Ping timeout: 240 seconds) 2021-04-07T23:35:27Z phantomics: Xach: thanks 2021-04-07T23:36:11Z t99 quit (Ping timeout: 240 seconds) 2021-04-07T23:41:47Z moon-child: no-defun-allowed, sm2n: no denotational semantics required, you can define equality strictly in terms of halting 2021-04-07T23:42:16Z Codaraxis quit (Remote host closed the connection) 2021-04-07T23:42:36Z Codaraxis joined #lisp 2021-04-07T23:43:02Z slyrus quit (Remote host closed the connection) 2021-04-07T23:43:07Z moon-child: given two expressions e1 and e2 in some language L, consider the universe of hole-containing programs within L. For each of those programs, substitute each of e1 and e2 for the hole. If there's any case when e1 causes a halt and e2 does not (or vice versa) then the expressions are not equivalent 2021-04-07T23:43:10Z moon-child: otherwise they are 2021-04-07T23:43:52Z sxmx joined #lisp 2021-04-07T23:45:17Z torbo joined #lisp 2021-04-07T23:47:00Z phossil_ quit (Quit: Konversation terminated!) 2021-04-07T23:48:07Z Codaraxis quit (Remote host closed the connection) 2021-04-07T23:48:26Z Codaraxis joined #lisp 2021-04-07T23:53:51Z no-defun-allowed: This is somewhat more interesting than arguing that EVAL is not an equivalence relation. 2021-04-07T23:57:22Z amerlyq joined #lisp 2021-04-08T00:12:50Z montxero joined #lisp 2021-04-08T00:16:25Z slyrus joined #lisp 2021-04-08T00:20:38Z slyrus quit (Ping timeout: 240 seconds) 2021-04-08T00:24:25Z slyrus joined #lisp 2021-04-08T00:24:49Z eddof13 quit (Ping timeout: 268 seconds) 2021-04-08T00:26:56Z hypercube joined #lisp 2021-04-08T00:29:27Z Kundry_Wag quit (Remote host closed the connection) 2021-04-08T00:29:57Z slyrus quit (Ping timeout: 260 seconds) 2021-04-08T00:38:19Z skapata quit (Remote host closed the connection) 2021-04-08T00:42:03Z slyrus joined #lisp 2021-04-08T00:43:02Z chipolux joined #lisp 2021-04-08T00:46:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-08T00:48:46Z hypercube quit (Quit: WeeChat 3.1) 2021-04-08T00:49:05Z hypercube joined #lisp 2021-04-08T00:49:56Z hypercube quit (Client Quit) 2021-04-08T00:50:34Z charles` joined #lisp 2021-04-08T01:18:30Z sm2n: moon-child: what about a language like idris where all well-formed programs are guaranteed to halt? 2021-04-08T01:18:35Z sm2n: that doesn't seem right 2021-04-08T01:21:11Z moon-child: sm2n: then idris is not turing-complete? 2021-04-08T01:21:38Z sm2n: strictly speaking, I believe so 2021-04-08T01:21:43Z moon-child: I don't think that definition is usually applied to non turing-complete languages 2021-04-08T01:22:09Z Bike: i don't understand this definition even without fancy schmancy programmin' languages 2021-04-08T01:22:17Z Bike: er, wait 2021-04-08T01:22:21Z sm2n: you have to prove all the bounds on your computations statically in idris 2021-04-08T01:22:23Z Bike: are you saying do this for all possible programs? 2021-04-08T01:22:26Z sm2n: yeah 2021-04-08T01:22:40Z Bike: oh, well then that works. 2021-04-08T01:23:00Z Bike: you're including programs like (unless (= _ 4) (loop)) after all 2021-04-08T01:23:17Z moon-child: right 2021-04-08T01:23:39Z moon-child: the advantage of that definition is that it works for all turing-complete languages without needing to have any knowledge of their semantics beyond that 2021-04-08T01:24:07Z sm2n: cool, I learned something today, thanks 2021-04-08T01:24:29Z moon-child: :) 2021-04-08T01:28:41Z notzmv quit (Ping timeout: 240 seconds) 2021-04-08T01:30:59Z sm2n: or actually, moon-child, do you happen to have a reference that discusses this? I'd like to read more about it 2021-04-08T01:31:54Z logand``` joined #lisp 2021-04-08T01:33:43Z DHARMAKAYA joined #lisp 2021-04-08T01:35:26Z logand`` quit (Ping timeout: 240 seconds) 2021-04-08T01:36:31Z chipolux quit (Quit: chipolux) 2021-04-08T01:37:17Z trcm quit (Remote host closed the connection) 2021-04-08T01:38:06Z torbo quit (Remote host closed the connection) 2021-04-08T01:38:07Z orivej joined #lisp 2021-04-08T01:38:28Z trcm joined #lisp 2021-04-08T01:39:13Z notzmv joined #lisp 2021-04-08T01:43:02Z jeosol joined #lisp 2021-04-08T01:47:11Z ikrabbe quit (Ping timeout: 240 seconds) 2021-04-08T01:47:17Z ikrabbe|2 joined #lisp 2021-04-08T01:58:44Z ikrabbe joined #lisp 2021-04-08T01:59:21Z montxero quit (Remote host closed the connection) 2021-04-08T02:02:08Z ikrabbe|2 quit (Ping timeout: 265 seconds) 2021-04-08T02:03:46Z DHARMAKAYA quit (Read error: Connection reset by peer) 2021-04-08T02:31:41Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-08T02:32:33Z kmeow quit (Quit: Leaving) 2021-04-08T02:38:21Z patrixl quit (Quit: Leaving.) 2021-04-08T02:44:26Z phossil quit (Quit: Leaving) 2021-04-08T02:44:29Z lawt quit (Read error: Connection reset by peer) 2021-04-08T02:47:39Z lawt joined #lisp 2021-04-08T02:56:26Z jeosol quit (Quit: Connection closed) 2021-04-08T02:56:50Z ebrasca quit (Remote host closed the connection) 2021-04-08T03:07:10Z mmmattyx quit (Quit: Connection closed for inactivity) 2021-04-08T03:07:33Z scm_ quit (Quit: Leaving) 2021-04-08T03:09:50Z beach: Good morning everyone! 2021-04-08T03:12:47Z quazimodo quit (Quit: leaving) 2021-04-08T03:13:05Z quazimodo joined #lisp 2021-04-08T03:13:12Z lukego: Thanks everyone for the rigorous discussion of datatype definition styles yesterday. I reread the Serapeum docs from beginning to end to try and update my mental model. For really ad-hoc internal data structures I need to experiment with DICT/MATCH and with DEFUNION. 2021-04-08T03:14:04Z xlei quit (Read error: Connection reset by peer) 2021-04-08T03:14:16Z contrapunctus joined #lisp 2021-04-08T03:18:59Z lukego: Maybe DEFCLASS verses DEFCLASS-STD (etc) is a false dichotomy and really there are a lot of different contexts for defining datatypes that each call for a separate mechanism. kinda like IF and WHEN and UNLESS and so on. 2021-04-08T03:19:31Z DHARMAKAYA joined #lisp 2021-04-08T03:19:54Z lukego: I notice though that all this obsessing about how to define datatypes has not actually caused my broken program to start working and maybe I should try a different approach to that problem... 2021-04-08T03:24:24Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-08T03:36:16Z Josh_2: just use lists, simple az 2021-04-08T03:37:28Z beach: I think we heard all the arguments around half a day ago. 2021-04-08T03:40:43Z beach: I completely misunderstood the context and thought lukego and jmercouris were talking about the use of these operators in more-or-less final code, but it became clear that they meant the use in code that is highly likely to change, to be rewritten, or to be deleted entirely. 2021-04-08T03:41:57Z lukego: beach: I am feeling less provoked by your "if you don't care about X" comments when I read that as "when you are not immediately concerned about X in your present context" rather than "when you are a bad person because you don't give X due respect" :) 2021-04-08T03:42:59Z fiddlerwoaroof: iI see I missed all the fun 2021-04-08T03:43:22Z beach: lukego: Sure, that's a good interpretation in your case. Not so with many others who come here and who have no idea about elementary software engineering. 2021-04-08T03:43:37Z DanklyTuned quit (Quit: nyaa~) 2021-04-08T03:44:11Z no-defun-allowed: fiddlerwoaroof: Yes, you're supposed to use generic functions, i.e. no defun. Cancel out the two negatives, and you have only fun. 2021-04-08T03:44:33Z fiddlerwoaroof: I personally really dislike non-extensible conditional constructs 2021-04-08T03:44:36Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-08T03:44:40Z lukego: it's a new revelation to me now though that there are a bunch of other macros, e.g. DEFCONSTRUCTOR from Serapeum, that actually capture the context i.e. that is something that you only use for a quick and simple local representation of immutable structures. 2021-04-08T03:44:53Z fiddlerwoaroof: e.g. I almost always use generic functions instead of case/cond and friends 2021-04-08T03:45:33Z fiddlerwoaroof: And, what I've noticed, is that almost all "functional" programming languages use constructs that are OOP in CLOS's sense 2021-04-08T03:46:08Z fiddlerwoaroof: Clojure's multimethods are just a bad version of CLOS and Haskell has typeclasses everywhere, which basically are a compile-time version of generic dispatch 2021-04-08T03:46:15Z lukego: and that puts me off defclass-std as being "yet another defclass" rather than something complementary that's tailored to a more specific use case. 2021-04-08T03:46:47Z beach: fiddlerwoaroof: You must have missed the general consensus here in #lisp that you should avoid generic functions since they are bad for performance. 2021-04-08T03:47:00Z fiddlerwoaroof: I don't worry about performance until I have to 2021-04-08T03:47:08Z beach hasn't finished his coffee yet, and feels cranky still. 2021-04-08T03:47:08Z fiddlerwoaroof: I guess I'm a bad programmer 2021-04-08T03:47:17Z Josh_2: beach: that was the general consensus? Folks must have gone mad ;) 2021-04-08T03:47:19Z beach: I guess so. 2021-04-08T03:47:27Z beach: Josh_2: I am joking. 2021-04-08T03:48:05Z Josh_2: :P 2021-04-08T03:48:45Z lukego: I liked splittist's comment that the rest of the world is built in Javascript these days so there's nothing particularly indulgent about using all the generics and indirections you please. Chrome has reset the bar on what is appropriate resource utilization by software and we can all rejoice in our relative thrift :) 2021-04-08T03:49:13Z fiddlerwoaroof: JS is pretty fast, though 2021-04-08T03:49:42Z fiddlerwoaroof: Like, I think it's probably hard to right a compiler for a dynamic language that comes close to V8 2021-04-08T03:49:51Z beach: lukego: Facts like that don't seem to prevent eternal discussions about performance. Not to mention the size of executables. 2021-04-08T03:50:29Z fiddlerwoaroof: I mean, like 90% of companies run on some combination of Python, Ruby or PHP 2021-04-08T03:50:52Z fiddlerwoaroof: If we want to talk about performance not mattering 2021-04-08T03:50:59Z sxmx quit (Quit: WeeChat 3.1) 2021-04-08T03:51:14Z beach: That's very sobering to hear. 2021-04-08T03:51:18Z lukego: fiddlerwoaroof: so much the better :) writing slow code is contributing to computer science by stimulating compiler research, just look at javascript... 2021-04-08T03:51:35Z fiddlerwoaroof: The great thing about CL is that I find I can just write CL in most situations where I'd use FFI in Python 2021-04-08T03:51:49Z fiddlerwoaroof: Not to mention actually being able to benefit from multiple threads of executin 2021-04-08T03:51:59Z notzmv quit (Ping timeout: 260 seconds) 2021-04-08T03:52:32Z beach: The more I hear about Python (the language) the more I think it's a joke, and the more I am totally baffled why anyone would want to use it. 2021-04-08T03:52:47Z jeosol joined #lisp 2021-04-08T03:52:53Z Josh_2: its easy and promoted a lot 2021-04-08T03:52:55Z fiddlerwoaroof: It's all about the libraries, really 2021-04-08T03:53:27Z fiddlerwoaroof: Also, it's relatively quick to go from nothing to a proof of concept in Python 2021-04-08T03:54:28Z mfiano: I don't buy the last bit 2021-04-08T03:54:40Z lukego: I like that "I must program as inefficiently as possible" mantra. that it's healthy mental exercise to burn CPU cycles and you should strive to do it as much as you can get away with. 2021-04-08T03:55:07Z fiddlerwoaroof: :) 2021-04-08T03:55:54Z fiddlerwoaroof: lukego: "only optimize problems you can measure" is pretty standard advice 2021-04-08T03:55:56Z lukego: or maybe we should fight to get our own code a respectable share of our CPU's cycles relative to e.g. Chrome and the idle loop :) 2021-04-08T03:56:33Z fiddlerwoaroof: I don't take a program seriously that doesn't pin at least one CPU core and consume 4GB of RAM 2021-04-08T03:58:19Z Josh_2 quit (Ping timeout: 252 seconds) 2021-04-08T03:59:31Z lukego: (also my code is working now and it's massively improved compared with the previous messy version so thanks everybody who helped me pick the right color for my bikeshed, it worked out in the end) 2021-04-08T03:59:55Z DHARMAKAYA quit (Ping timeout: 260 seconds) 2021-04-08T04:01:00Z lukego: I really notice that after a break from Lisp hacking it takes a while to reabsorb all the old idioms and learn new ones. a bit like taking a break from speaking english. big languages full of nuance that are always evolving. 2021-04-08T04:01:23Z beach: I am reminded of the remarks by several students in the past when they were given a bad grade on some programs: "But it works!!!". 2021-04-08T04:02:33Z beach: lukego: Congratulations to being back! 2021-04-08T04:02:40Z lukego: thanks :) 2021-04-08T04:02:52Z motersen quit (Remote host closed the connection) 2021-04-08T04:03:09Z motersen joined #lisp 2021-04-08T04:05:33Z zooey quit (Ping timeout: 240 seconds) 2021-04-08T04:09:35Z zooey joined #lisp 2021-04-08T04:11:57Z phossil joined #lisp 2021-04-08T04:13:24Z marusich joined #lisp 2021-04-08T04:18:27Z phossil is now known as tophullyte 2021-04-08T04:18:54Z tophullyte quit (Quit: Leaving) 2021-04-08T04:27:02Z tophullyte joined #lisp 2021-04-08T04:29:25Z Bike quit (Quit: Lost terminal) 2021-04-08T04:32:59Z no-defun-allowed: beach: From memory, the marking system at my last university was predominantly marking what ran. Who were you teaching? 2021-04-08T04:36:42Z asarch joined #lisp 2021-04-08T04:37:01Z tophullyte quit (Quit: Leaving) 2021-04-08T04:38:40Z beach: Final year undergraduates and first year masters students. The message was always that a program that works but that is unmaintainable is useless because it must be thrown away when the requirements change, but a program that does not work but is maintainable can be made to work more easily. 2021-04-08T04:39:10Z beach: So we read the code of each program and graded (marked) it according to these criteria. 2021-04-08T04:40:01Z beach: I am totally sure that this is still the case for the masters students, because I know the person running that course very well, and we share the same values when it comes to software development. 2021-04-08T04:40:15Z no-defun-allowed: I see. 2021-04-08T04:40:17Z beach: For the undergraduates, I haven't kept up, so I don't know. 2021-04-08T04:43:46Z beach: It was a lot of work, of course. But more to the point, this kind of grading requires the teachers to be competent in software development, and that is typically not the case when they are hired, as I have already explained. So these teachers had to invest a lot of time reading and writing code, books, and articles about software development. 2021-04-08T04:44:48Z beach: And that time was not explicitly paid. In fact, by spending that time on teaching rather than on some narrow research, their careers were often delayed. 2021-04-08T04:47:18Z fiddlerwoaroof: I've always thought that the way universities have seemed to unified research professors and teaching professors is bad for everyon 2021-04-08T04:48:12Z moon-child: fiddlerwoaroof: I think the theory, at least, is to avoid 'those who can't do teach' 2021-04-08T04:48:46Z beach: fiddlerwoaroof: Not usually. Take mathematics or the sciences (physics, chemistry). The undergraduate teaching doesn't require them to keep up, or to acquire skills from industry. The material is the same from one year to another. 2021-04-08T04:49:24Z beach: The problem is that the computer science programs accepted to take on the teaching of programming and software development. 2021-04-08T04:49:33Z lukego: I approach software development more like the way people advise writers to write. lots of drafts and rewrites and darlings and murders and so on. but desired end result is still the same as people who do things right first time. 2021-04-08T04:50:03Z beach: If they had stayed with theory, like computability, complexity theory, etc. There would be no problem. 2021-04-08T04:50:32Z lukego: I often don't even compile my first version of a program before rewriting it - just dump it out into emacs to organize my thoughts - so I really don't want to spend cycles thinking about optimization or maintainability or even syntax errors in that context. 2021-04-08T04:50:35Z thinkpad quit (Ping timeout: 268 seconds) 2021-04-08T04:50:46Z tophullyte joined #lisp 2021-04-08T04:50:53Z thinkpad joined #lisp 2021-04-08T04:51:07Z beach: lukego: What's the context? 2021-04-08T04:51:38Z beach: lukego: As in, what prompted you to say that? 2021-04-08T04:51:44Z fiddlerwoaroof: So, my background is mostly in the humanities (grad school and undergrad): but, my experience there was that the professors who were really good at research often weren't great to have as a teacher while the ones that you wanted to teach you often weren't the people who are famous for their ideas 2021-04-08T04:51:57Z no-defun-allowed: beach: I think lukego is continuing with the discussion on performance. 2021-04-08T04:52:04Z beach: Oh! 2021-04-08T04:52:25Z beach: fiddlerwoaroof: I can imagine that, sure. 2021-04-08T04:52:50Z lukego: beach: mostly just reflecting on friction in the discussion yesterday, specifically realizing that when I'm in "rough first draft that won't even compile" mode I'll naturally be at odds with your advice about how to write clean code that will pass formal review. 2021-04-08T04:52:52Z fiddlerwoaroof: Anyways, I'll go back to being on-topic 2021-04-08T04:52:55Z beach: fiddlerwoaroof: The problem in software development is that we have no good way to select knowledgeable teachers. 2021-04-08T04:53:11Z fiddlerwoaroof: Yeah, measuring "teaching" as such is always the challenge 2021-04-08T04:53:30Z beach: fiddlerwoaroof: And in software development, there is the problem of competence. 2021-04-08T04:53:33Z fiddlerwoaroof: Research has measurable outputs in a way teaching doesn't 2021-04-08T04:53:44Z no-defun-allowed: (...to which I think Joe Armstrong nailed the apparent decision between performance and good design with "Make it work, then make it beautiful, then if you really, really have to, make it fast. 90 percent of the time, if you make it beautiful, it will already be fast. So really, just make it beautiful!") 2021-04-08T04:53:49Z beach: fiddlerwoaroof: Not many people have it, and there is nobody to determine who does. 2021-04-08T04:54:11Z moon-child: imo 'make it fast' is a misnomer. There is no fast code. There is slow code, and if code is slow then it bears to make it not slow 2021-04-08T04:54:21Z lukego: beach: and I guess that there are different kinds of advice about how to write good code. one kind focuses on what the result should look like - clean interfaces, etc - and the other focuses on the process - should have been rewritten at least N times and be only 1/Mth its original line count 2021-04-08T04:55:19Z fiddlerwoaroof: lukego: I generally write the code you're talking about as drafts in the repl 2021-04-08T04:55:52Z fiddlerwoaroof: After I'm fairly satisfied with a solution, I copy it into a file and generalize 2021-04-08T04:56:07Z lukego: fiddlerwoaroof: I'm becoming more extreme over the years. I can easily spend several weeks writing draft code that never compiles. I wouldn't do that in the repl 2021-04-08T04:56:20Z no-defun-allowed: Or at least, I think my "fast code" is relatively nice, because it uses the right data structures and algorithms and whatever else that quiche-eater Nicholas Wirth probably said was good. 2021-04-08T04:57:13Z opcode quit (Remote host closed the connection) 2021-04-08T04:57:50Z lukego: maybe I'm progressing in my career towards drawing useless UML diagrams all day in some senior role at an IBM-alike. 2021-04-08T04:58:36Z booaa joined #lisp 2021-04-08T04:59:17Z marusich quit (Ping timeout: 246 seconds) 2021-04-08T05:00:45Z fe[nl]ix: lukego: something to live for 2021-04-08T05:00:54Z fiddlerwoaroof: lukego: my career started out with Delphi and, ever since that was taken away, I've found it really annoying to write GUI software 2021-04-08T05:01:16Z lukego: fe[nl]ix: die a hero, live a villain, etc, i guess :) 2021-04-08T05:01:19Z fiddlerwoaroof: And by "career", I'm starting when I was about 7 2021-04-08T05:02:17Z fiddlerwoaroof: But, I just find most of the modern development tools annoying 2021-04-08T05:02:25Z fiddlerwoaroof: CL in emacs, so far is the least bad 2021-04-08T05:04:56Z booaa quit (Quit: rcirc on GNU Emacs 28.0.50) 2021-04-08T05:07:02Z booaa joined #lisp 2021-04-08T05:14:14Z moon-child: fiddlerwoaroof: have you seen fpc/lazarus? 2021-04-08T05:17:41Z fiddlerwoaroof: moon-child: yeah, I've even used it a bit here and there 2021-04-08T05:18:26Z sauvin joined #lisp 2021-04-08T05:18:56Z fiddlerwoaroof: It's annoying to setup on a Mac and relatively unstable (at least, the Cocoa port is), but the experience of using it still is so much better than the React stuff that pays the bills 2021-04-08T05:19:32Z narimiran joined #lisp 2021-04-08T05:19:36Z lukego: I'm really impressed with GToolkit for Pharo Smalltalk as a development environment. I started off using it for this project before switching to lisp 2021-04-08T05:20:08Z fiddlerwoaroof: It's something I think about every once in a while: as an industry, I've begun to think our memories are so short that we just forget everything that happened more than five years ago or so 2021-04-08T05:20:33Z fiddlerwoaroof: lukego: yeah, I've always been interested in that ecosystem, but I've found it hard to get started 2021-04-08T05:22:17Z notzmv joined #lisp 2021-04-08T05:22:27Z fiddlerwoaroof: Like, I'm working on a react native application and everyone's talking about how "X doesn't work for mobile apps because of how much harder it is to deploy mobile apps than websites", completely ignoring that X was practiced when shipping an update meant shipping CDs in boxes 2021-04-08T05:22:45Z lukego: I think that my memory is becoming more of a "high-pass" filter, seems to just ignore anything that happened _less_ than five years ago and assume it's a passing fad 2021-04-08T05:22:53Z fiddlerwoaroof: :) 2021-04-08T05:27:47Z trcm quit (Remote host closed the connection) 2021-04-08T05:28:14Z technobean joined #lisp 2021-04-08T05:30:04Z no-defun-allowed: Most of the references in the book I sometimes write are from 2010-2019 or 1990-1999. Did people just not have ideas in 2000-2009? 2021-04-08T05:30:57Z fiddlerwoaroof: no-defun-allowed: what was the Web 2.0 era, right? 2021-04-08T05:31:03Z fiddlerwoaroof: It's all XML 2021-04-08T05:31:21Z fiddlerwoaroof: And Java applications glued together using XML 2021-04-08T05:31:29Z no-defun-allowed: Now that you mention it. 2021-04-08T05:31:58Z fiddlerwoaroof: XSLT and XPath get an honorable mention (both of which I actually secretly like) 2021-04-08T05:34:01Z fiddlerwoaroof: It's also notable for the ascendancy of Ruby on Rails and the rise of Agile 2021-04-08T05:38:36Z aeth: no-defun-allowed: for programming? in the early '00s "everyone" got laid off and left the industry because of the dot-com bust. 2021-04-08T05:39:19Z aeth: you can also look at some interesting stats like enrollments in university comp sci departments. 2021-04-08T05:39:40Z no-defun-allowed: aeth: Well, mostly programming. Though if I redraw the histogram with 5-year bars, I see that 2005-2009 was strangely quiet. 2021-04-08T05:40:25Z fiddlerwoaroof: The last time Haskell was a language with a specification and multiple viable implementations :0 2021-04-08T05:40:36Z aeth: no-defun-allowed: web 2.0 era? 2021-04-08T05:40:58Z no-defun-allowed: Appears like it, as O'Reilly popularised the term in 2004. 2021-04-08T05:41:11Z fiddlerwoaroof: Hmm, V8/the JVM's tracing JIT dates to about then too 2021-04-08T05:41:16Z fiddlerwoaroof: I think 2021-04-08T05:42:06Z fiddlerwoaroof: I guess I'm wrong about the JVM's JIT, but V8 is then 2021-04-08T05:42:15Z no-defun-allowed: The 90s brought about Squeak, the end of Self, the Unix-Hater's Handbook and the second edition of SICP. 2021-04-08T05:42:36Z no-defun-allowed: Yes, the Self compiler people moved to Strongtalk and then the JVM. 2021-04-08T05:43:05Z fiddlerwoaroof: The 2000s were basically the years when Microsoft was at the height of its power, afaict 2021-04-08T05:44:15Z Oladon quit (Quit: Leaving.) 2021-04-08T05:44:20Z fiddlerwoaroof: The Unix vendors were basically irrelevant for most people, the Web was still being held back by IE6 2021-04-08T05:44:45Z fiddlerwoaroof: And smartphones weren't yet around, really 2021-04-08T05:44:54Z fiddlerwoaroof: (sorry, Blackberry users) 2021-04-08T05:48:39Z fiddlerwoaroof: lukego, you just showed up in a Google search: https://github.com/lukego/blog/issues/5 2021-04-08T05:48:59Z fiddlerwoaroof: (via a hackernews result for "JVM tracing JIT") 2021-04-08T05:56:42Z fiddlerwoaroof: lukego: I'm also curious why you're rewriting from gtoolkit to lisp 2021-04-08T05:59:47Z tophullyte quit (Ping timeout: 248 seconds) 2021-04-08T06:05:25Z msk joined #lisp 2021-04-08T06:05:47Z _paul0 quit (Remote host closed the connection) 2021-04-08T06:05:59Z paul0 joined #lisp 2021-04-08T06:10:02Z chipolux joined #lisp 2021-04-08T06:20:31Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-08T06:26:38Z slyrus joined #lisp 2021-04-08T06:27:33Z silasfox joined #lisp 2021-04-08T06:28:00Z aartaka joined #lisp 2021-04-08T06:29:13Z silasfox quit (Client Quit) 2021-04-08T06:30:04Z silasfox joined #lisp 2021-04-08T06:30:50Z Major_Biscuit joined #lisp 2021-04-08T06:39:21Z fiddlerwoaroof: Does anyone happen to have a VNC server written in CL? 2021-04-08T06:41:51Z gproto23 joined #lisp 2021-04-08T06:45:14Z chipolux quit (Quit: chipolux) 2021-04-08T06:47:40Z random-nick joined #lisp 2021-04-08T06:47:41Z lukego: fiddlerwoaroof: the ultimate reason that I switched from gtoolkit to lisp is for the language. in Lisp I feel free to write basically pseudocode and gradually massage/rewrite it into something the compiler understands. in smalltalk I can't even Save code that doesn't have correct syntax, isn't organized into classes, doesn't adhere to the rules about inheritance and traits, etc. 2021-04-08T06:48:20Z lukego: but I've used gtoolkit a lot in a previous project and the big problem then was that they were constantly rewriting it and it was very difficult to build from source (which i spent weeks and weeks fighting and ultimately gave up on) 2021-04-08T06:51:29Z h4ck3r9696 joined #lisp 2021-04-08T06:52:06Z lukego: but I think that I was unlucky with timing -- I wrote an application based on the "old gtoolkit" that they did at a university and then they immediately formed a company to develop the "new gtoolkit" and there was an awkward period there where the old version wasn't supported anymore but the new version wasn't ready to use yet 2021-04-08T06:57:00Z rdd joined #lisp 2021-04-08T06:57:19Z sxmx joined #lisp 2021-04-08T06:57:21Z lukego: bringing this back to lisp -- it's actually a strength that a lot of stuff here is basically the same as it has always been. I don't spend my time trying to keep up with the ecosystem every month -- or even necessarily have to worry about what's changed in the past 10/20 years. 2021-04-08T06:59:04Z lukego: maybe I'm getting old but "stability" is a feature to me these days and pretty high on my priority list. I'm glad that Lispers don't "burn the diskpacks" every five years. 2021-04-08T07:01:54Z booaa quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-08T07:02:29Z skapata joined #lisp 2021-04-08T07:02:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-08T07:06:37Z fiddlerwoaroof: Yeah, I really grew to appreciate that, both in CL and in working with Clojure 2021-04-08T07:07:11Z lukego: random follow up of past discussion: I'm super happy with the 1AM unit test framework. it's about 80 lines of code and just the right level of minimalism for me. 2021-04-08T07:15:09Z l1x joined #lisp 2021-04-08T07:16:24Z slyrus joined #lisp 2021-04-08T07:17:47Z hjudt joined #lisp 2021-04-08T07:20:43Z pve joined #lisp 2021-04-08T07:21:05Z slyrus quit (Ping timeout: 260 seconds) 2021-04-08T07:22:31Z rjcks joined #lisp 2021-04-08T07:29:26Z fourier joined #lisp 2021-04-08T07:31:17Z fourier quit (Changing host) 2021-04-08T07:31:17Z fourier joined #lisp 2021-04-08T07:31:39Z ljavorsk joined #lisp 2021-04-08T07:37:43Z slyrus joined #lisp 2021-04-08T07:43:33Z zooey quit (Ping timeout: 240 seconds) 2021-04-08T07:44:33Z zooey joined #lisp 2021-04-08T07:49:02Z slyrus quit (Ping timeout: 246 seconds) 2021-04-08T07:53:12Z anticrisis quit (Read error: Connection reset by peer) 2021-04-08T08:06:46Z hendursaga joined #lisp 2021-04-08T08:08:32Z technobean quit (Remote host closed the connection) 2021-04-08T08:08:49Z technobean joined #lisp 2021-04-08T08:09:09Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-08T08:09:21Z gitgood quit (Quit: Probably away to do something really awesome) 2021-04-08T08:11:32Z t99 joined #lisp 2021-04-08T08:12:07Z surabax joined #lisp 2021-04-08T08:16:11Z Feldman joined #lisp 2021-04-08T08:18:38Z slyrus joined #lisp 2021-04-08T08:23:15Z slyrus quit (Ping timeout: 248 seconds) 2021-04-08T08:30:16Z kevingal joined #lisp 2021-04-08T08:30:21Z L0u1sChu joined #lisp 2021-04-08T08:36:22Z slyrus joined #lisp 2021-04-08T08:42:13Z andreyorst[m] joined #lisp 2021-04-08T08:55:11Z slyrus quit (Ping timeout: 260 seconds) 2021-04-08T08:56:29Z frost-lab joined #lisp 2021-04-08T08:58:16Z lotuseater joined #lisp 2021-04-08T09:05:06Z aartaka_d joined #lisp 2021-04-08T09:08:53Z aartaka quit (Ping timeout: 252 seconds) 2021-04-08T09:16:21Z gproto23 quit (Ping timeout: 260 seconds) 2021-04-08T09:17:12Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-08T09:17:20Z aartaka joined #lisp 2021-04-08T09:18:19Z slyrus joined #lisp 2021-04-08T09:19:33Z aartaka_d quit (Ping timeout: 265 seconds) 2021-04-08T09:21:19Z gproto23 joined #lisp 2021-04-08T09:22:27Z galex-713 quit (Ping timeout: 248 seconds) 2021-04-08T09:23:09Z slyrus quit (Ping timeout: 268 seconds) 2021-04-08T09:23:54Z seok joined #lisp 2021-04-08T09:27:51Z asarch: If I had: '(:|beer| 10 :|pizza| 4 :|tacos| 8) how could I converted to: (:beer 10 :pizza 4 :tacos 8)? 2021-04-08T09:28:26Z asarch: s/to: (:beer 10 :pizza 4 :tacos 8)/to: '(:beer 10 :pizza 4 :tacos 8)/ 2021-04-08T09:28:55Z no-defun-allowed: Dare I ask why you have the former? 2021-04-08T09:28:55Z g_SG joined #lisp 2021-04-08T09:29:11Z asarch: It is a query result 2021-04-08T09:29:50Z asarch: If that would be stored in food, doing a (getf food :|pizza|) would gives me only the value 2021-04-08T09:29:55Z beach: asarch: Someone must have turned the string "beer" into a symbol? 2021-04-08T09:30:07Z asarch: Is there any way to modify the key? 2021-04-08T09:30:38Z no-defun-allowed: What did you use to generate that list? I am guessing some parser took every key and did (intern '#:keyword) 2021-04-08T09:30:48Z beach: asarch: I think we are saying, don't create a symbol with lower-case letters in the first place. 2021-04-08T09:31:29Z johannes_ joined #lisp 2021-04-08T09:31:34Z johannes_ is now known as kenran 2021-04-08T09:31:52Z asarch: That's the result of a query with CL-DBI: (dbi:fetch-all (dbi:execute (dbi:prepare *connection* "SELECT * FROM somewhere WHERE flag = ? OR updated_at > ?") (list 0 "2011-11-01"))) 2021-04-08T09:32:03Z no-defun-allowed: Does cl-json do that? No, that generates alists and converts to upper kebab-case by default -- oh okay. 2021-04-08T09:32:13Z White_Flame: I would mapcar, and if a term is keywordp, re-intern it under *package* 2021-04-08T09:32:31Z galex-713 joined #lisp 2021-04-08T09:32:41Z andreyorst[m] quit (Ping timeout: 240 seconds) 2021-04-08T09:32:55Z Feldman joined #lisp 2021-04-08T09:33:03Z White_Flame: or probably easier but less robust would be (read-from-string (symbol-name key)) 2021-04-08T09:33:21Z White_Flame: only if you are certain of the keywords being safe syntax 2021-04-08T09:33:22Z andreyorst[m] joined #lisp 2021-04-08T09:33:47Z beach: asarch: Next question: Why do you want to convert those symbols to upper case? 2021-04-08T09:33:52Z no-defun-allowed: An interesting result format. (n.b. I think you should stash the prepared statement somewhere, if it hasn't been folded in for the example.) 2021-04-08T09:33:53Z beach: Aren't they fine as they are? 2021-04-08T09:34:17Z White_Flame: oh wait, you did want the result still as keywords 2021-04-08T09:34:37Z White_Flame: but yeah, I agree with beach. The canonical names are :|beer| etc, use that syntax 2021-04-08T09:35:05Z White_Flame: if the names all of a sudden have other cases, for some reason, or you need to re-assert into the database that those came from, you need to use the same key 2021-04-08T09:35:46Z asarch: Well, I have some functions that retrieve data a la (getf food :pizza) 2021-04-08T09:35:46Z klltkr joined #lisp 2021-04-08T09:36:23Z lawt quit (Ping timeout: 260 seconds) 2021-04-08T09:37:49Z beach: Don't do that then. Do (getf food :|pizza| instead. 2021-04-08T09:38:22Z beach: asarch: Why would you use a key with GETF that is not one that is in your list? 2021-04-08T09:38:53Z asarch: Here in México Dell is selling this https://pasteboard.co/JVwoB5Y.jpg at the ridiculous prices of ~$1,000 USD. It would be great instead of a "normal" laptop, right? 2021-04-08T09:39:14Z asarch: Because there are two ways of doing the queries 2021-04-08T09:39:37Z asarch: The A method and the B method. This, the :|pizza| is the result of the B method 2021-04-08T09:40:10Z asarch: I usually do with the A method, that's why I have all these functions getting data from the list with (getf food :pizza) 2021-04-08T09:40:43Z White_Flame: then fix the queries to always return the same form of the keys 2021-04-08T09:41:07Z asarch: That's exactly what I am trying to do 2021-04-08T09:41:21Z asarch: That is the point of my question 2021-04-08T09:42:11Z White_Flame: (intern (string-upcase :|foo|) (symbol-package :keyword)) => :FOO 2021-04-08T09:42:45Z asarch: WOW!!! 2021-04-08T09:43:03Z slyrus joined #lisp 2021-04-08T09:44:27Z asarch: One last question: how do you get automatically the keys (:|beer| 10 :|pizza| 4 :|tacos| 8)? 2021-04-08T09:44:41Z White_Flame: or from alexandria, (make-keyword (string-upcase :|foo|)) => :FOO 2021-04-08T09:44:53Z White_Flame: I'd just mapcar it 2021-04-08T09:45:11Z White_Flame: if you have any values that need the same treatment 2021-04-08T09:45:23Z White_Flame: else, LOOP can handle 2 elements at a time pretty easily 2021-04-08T09:45:52Z White_Flame: there's also doplist in alexandria, where you can PUSH your own result list 2021-04-08T09:47:35Z slyrus quit (Ping timeout: 265 seconds) 2021-04-08T09:48:05Z jacks2 joined #lisp 2021-04-08T09:48:52Z silasfox: (defun upcase-keyword (x) 2021-04-08T09:48:53Z silasfox: (if (keywordp x) 2021-04-08T09:48:53Z silasfox: (intern (string-upcase x) (symbol-package :keyword)) 2021-04-08T09:48:54Z silasfox: x)) 2021-04-08T09:49:17Z silasfox: (mapcar #'upcase-keyword '(:|beer| 10 :|pizza| 4 :|tacos| 8)) => (:beer 10 :pizza 4 :tacos 8) 2021-04-08T09:49:27Z Krystof quit (Ping timeout: 260 seconds) 2021-04-08T09:50:01Z rogersm joined #lisp 2021-04-08T09:50:39Z beach: silasfox: Please use a paste site for code longer than a single line. 2021-04-08T09:51:06Z silasfox: OK, I'll do so in the future. 2021-04-08T09:51:51Z asarch: Yeah, I was this close to the result :-P 2021-04-08T09:51:53Z beach: Also, it's not so great to apply a function named UPCASE-KEYWORD to numbers. 2021-04-08T09:52:20Z beach: silasfox: In particular, if the value is a keyword, that should perhaps not be altered. 2021-04-08T09:53:06Z g_SG quit (Ping timeout: 240 seconds) 2021-04-08T09:53:21Z asarch: Nice, isn't it? 2021-04-08T09:54:09Z beach: Furthermore, INTERN takes a "package designator", so you can say (intern ... "KEYWORD") 2021-04-08T09:54:31Z White_Flame: UPCASE-IF-KEYWORD maybe 2021-04-08T09:54:37Z beach: And (symbol-package :keyword) is a bit strange anyway. 2021-04-08T09:54:47Z asarch: You should write an æncyclopedia about this snippets 2021-04-08T09:54:54Z White_Flame: yeah, i always forget about package designators and always just grab a package quickly 2021-04-08T09:55:11Z beach: (find-package "KEYWORD") would be better. 2021-04-08T09:56:21Z beach now fears getting the "but it works" treatment. 2021-04-08T09:56:40Z silasfox: beach: Not at all, thanks for teaching me something. 2021-04-08T09:56:50Z beach: Pleasure. 2021-04-08T09:57:37Z L0u1sChu quit (Quit: My MacBook Air has gone to sleep. ZZZzzz…) 2021-04-08T09:59:11Z andreyorst[m] quit (Ping timeout: 240 seconds) 2021-04-08T10:00:07Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-08T10:00:49Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-08T10:00:51Z L0u1sChu joined #lisp 2021-04-08T10:01:07Z White_Flame: beach: actually, I think it started off as more a performance thing. (find-package ...) is a function call but (symbol-package ..) just reads a slot from a read-time-interned symbol ;) 2021-04-08T10:01:13Z andreyorst[m] joined #lisp 2021-04-08T10:01:29Z White_Flame: (as in, nitpicky cycles that don't really matter but dangit this is more direct :) ) 2021-04-08T10:05:39Z L0u1sChu quit (Quit: Textual IRC Client: www.textualapp.com) 2021-04-08T10:05:58Z L0u1sChu joined #lisp 2021-04-08T10:10:44Z beach: In that case, I would do #.(find-package "KEYWORD"). 2021-04-08T10:11:14Z beach: Or (load-time-value (find-package "KEYWORD")) 2021-04-08T10:12:48Z slyrus joined #lisp 2021-04-08T10:13:49Z beach: White_Flame, on the other hand, SYMBOL-PACKAGE may very well be a generic function in some implementations, and everyone knows how slow a call to a generic function can be. :) 2021-04-08T10:16:28Z asarch: Yeah! It worked! La vie in rose gentlemen! Cheers! o/ 2021-04-08T10:17:06Z slyrus quit (Ping timeout: 240 seconds) 2021-04-08T10:19:35Z Feldman joined #lisp 2021-04-08T10:19:37Z silasfox63 joined #lisp 2021-04-08T10:19:53Z silasfox quit (Ping timeout: 246 seconds) 2021-04-08T10:20:13Z silasfox63 is now known as silasfox 2021-04-08T10:22:08Z aartaka quit (Quit: Quit) 2021-04-08T10:22:22Z aartaka joined #lisp 2021-04-08T10:25:04Z rogersm quit (Quit: Leaving...) 2021-04-08T10:26:16Z skapata quit (Remote host closed the connection) 2021-04-08T10:28:40Z andreyorst[m] quit (Ping timeout: 265 seconds) 2021-04-08T10:29:16Z asarch: Thank you guys 2021-04-08T10:29:24Z asarch: Thank you very much :-) 2021-04-08T10:29:29Z asarch: Have a nice day 2021-04-08T10:29:34Z asarch quit (Quit: Leaving) 2021-04-08T10:30:32Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-08T10:30:41Z slyrus joined #lisp 2021-04-08T10:34:02Z frgo quit (Remote host closed the connection) 2021-04-08T10:34:28Z frgo joined #lisp 2021-04-08T10:35:26Z Krystof joined #lisp 2021-04-08T10:35:49Z aartaka_d joined #lisp 2021-04-08T10:37:06Z xaotuk quit (Ping timeout: 240 seconds) 2021-04-08T10:38:12Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T10:38:41Z amb007 joined #lisp 2021-04-08T10:38:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T10:38:58Z amb007 joined #lisp 2021-04-08T10:39:15Z aartaka quit (Ping timeout: 248 seconds) 2021-04-08T10:40:00Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T10:40:51Z amb007 joined #lisp 2021-04-08T10:40:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T10:41:12Z amb007 joined #lisp 2021-04-08T10:41:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T10:42:17Z amb007 joined #lisp 2021-04-08T10:44:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T10:45:33Z Feldman joined #lisp 2021-04-08T10:46:01Z amb007 joined #lisp 2021-04-08T10:46:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T10:46:16Z Feldman quit (Client Quit) 2021-04-08T10:46:17Z amb007 joined #lisp 2021-04-08T10:46:20Z vegansbane6963 joined #lisp 2021-04-08T10:48:13Z fiddlerwoaroof: Well, I've solved one problem I had with lisp graphics 2021-04-08T10:48:15Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T10:48:21Z slyrus quit (Ping timeout: 260 seconds) 2021-04-08T10:48:36Z Feldman joined #lisp 2021-04-08T10:48:56Z fiddlerwoaroof: Rather than figure out how to interface with my OS, I've discovered it's relatively simple to write a VNC server that serves a framebuffer over the "network" 2021-04-08T10:49:12Z amb007 joined #lisp 2021-04-08T10:49:13Z fiddlerwoaroof: This lets me let the VNC client figure out how to display the framebuffer 2021-04-08T10:50:30Z fiddlerwoaroof: And when I say "write a VNC server", I mean "fix a code sample I found online" 2021-04-08T10:50:31Z fiddlerwoaroof: http://bauhh.dyndns.org:8000/flux/vnc.lisp 2021-04-08T10:51:35Z fiddlerwoaroof: Now, I just need to figure out how to teach McCLIM how to write to this server 2021-04-08T10:51:44Z silasfox quit (Ping timeout: 246 seconds) 2021-04-08T10:56:17Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T10:57:12Z scymtym: fiddlerwoaroof: for a McCLIM backend, you have to decide on the frame management model: should the VNC server expose some sort of virtual desktop with multiple windows ("frames" in CLIM terminology) and window management or should the VNC server correspond to a single window and always show the content of that window? 2021-04-08T10:57:20Z silasfox joined #lisp 2021-04-08T10:58:22Z amb007 joined #lisp 2021-04-08T10:59:10Z scymtym: this is an example of the former, that is multiple frames with decorations, etc. in a browser tab: https://techfak.de/~jmoringe/mcclim-broadway-7.ogv 2021-04-08T10:59:53Z gproto23 quit (Quit: Leaving) 2021-04-08T10:59:54Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T11:00:11Z gproto23 joined #lisp 2021-04-08T11:01:12Z slyrus joined #lisp 2021-04-08T11:01:21Z amb007 joined #lisp 2021-04-08T11:01:56Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-08T11:01:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T11:02:11Z Krystof: wow. 2021-04-08T11:02:27Z Krystof: Are you round-tripping to the server for each input event? 2021-04-08T11:02:40Z amb007 joined #lisp 2021-04-08T11:02:52Z luckless_ quit (Remote host closed the connection) 2021-04-08T11:02:57Z fiddlerwoaroof: That's a cool demo, the issue I always have is the "window in window" paradigm there always feels a bit odd 2021-04-08T11:03:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T11:03:32Z luckless_ joined #lisp 2021-04-08T11:03:44Z amb007 joined #lisp 2021-04-08T11:03:44Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T11:03:59Z amb007 joined #lisp 2021-04-08T11:03:59Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T11:04:15Z amb007 joined #lisp 2021-04-08T11:04:17Z silasfox quit (Ping timeout: 268 seconds) 2021-04-08T11:04:43Z silasfox joined #lisp 2021-04-08T11:05:23Z slyrus quit (Ping timeout: 246 seconds) 2021-04-08T11:05:23Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T11:05:34Z amb007 joined #lisp 2021-04-08T11:06:58Z ukari quit (Remote host closed the connection) 2021-04-08T11:06:59Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T11:07:09Z amb007 joined #lisp 2021-04-08T11:08:12Z ukari joined #lisp 2021-04-08T11:08:14Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T11:09:09Z amb007 joined #lisp 2021-04-08T11:09:46Z ukari quit (Remote host closed the connection) 2021-04-08T11:10:16Z ukari joined #lisp 2021-04-08T11:10:27Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T11:11:14Z amb007 joined #lisp 2021-04-08T11:12:38Z igemnace quit (Remote host closed the connection) 2021-04-08T11:12:38Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T11:12:59Z Feldman joined #lisp 2021-04-08T11:13:00Z amb007 joined #lisp 2021-04-08T11:14:30Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T11:15:07Z amb007 joined #lisp 2021-04-08T11:15:47Z scymtym: fiddlerwoaroof: yes, there is a websocket connection that sends input events from the javascript client to the server and sends display commands from the server to the javascript client 2021-04-08T11:16:17Z scymtym: Krystof: sorry, that was meant for you 2021-04-08T11:16:37Z scymtym: fiddlerwoaroof: i agree. that's why i brought up the issue 2021-04-08T11:18:52Z silasfox quit (Quit: Connection closed) 2021-04-08T11:21:19Z silasfox joined #lisp 2021-04-08T11:24:46Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-08T11:30:47Z slyrus joined #lisp 2021-04-08T11:35:06Z slyrus quit (Ping timeout: 240 seconds) 2021-04-08T11:35:50Z kenran quit (Quit: leaving) 2021-04-08T11:39:41Z Posterdati quit (Ping timeout: 240 seconds) 2021-04-08T11:44:28Z lukego: silasfox: did you just write an irc message that included newlines and indentation? is that possible? 2021-04-08T11:46:31Z Posterdati joined #lisp 2021-04-08T11:51:13Z curtosis joined #lisp 2021-04-08T11:57:13Z Bike joined #lisp 2021-04-08T11:59:27Z contrapunctus left #lisp 2021-04-08T12:01:32Z contrapunctus joined #lisp 2021-04-08T12:01:57Z ech quit (Ping timeout: 240 seconds) 2021-04-08T12:02:20Z ukari quit (Remote host closed the connection) 2021-04-08T12:03:26Z ukari joined #lisp 2021-04-08T12:04:17Z silasfox: lukego: I copy-pasted from my slime-repl... Apparently that is possible. 2021-04-08T12:05:36Z slyrus joined #lisp 2021-04-08T12:05:56Z em-bee quit (Ping timeout: 246 seconds) 2021-04-08T12:06:44Z eMBee joined #lisp 2021-04-08T12:08:16Z curtosis is now known as curtosis[away] 2021-04-08T12:08:19Z frost-lab quit (Quit: Connection closed) 2021-04-08T12:09:55Z slyrus quit (Ping timeout: 248 seconds) 2021-04-08T12:09:59Z heisig joined #lisp 2021-04-08T12:15:25Z drl quit (Remote host closed the connection) 2021-04-08T12:19:21Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-08T12:22:54Z waleee-cl joined #lisp 2021-04-08T12:26:24Z aartaka joined #lisp 2021-04-08T12:28:41Z silasfox quit (Ping timeout: 260 seconds) 2021-04-08T12:29:23Z SAL9000: lukego: "newlines" in IRC come through as multiple messages, and more than 3-4 such lines usually cause the server to rate-limit you 2021-04-08T12:30:11Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-08T12:33:04Z jeosol quit (Quit: Connection closed) 2021-04-08T12:33:45Z surabax quit (Quit: Leaving) 2021-04-08T12:35:54Z surabax joined #lisp 2021-04-08T12:36:33Z monaliza joined #lisp 2021-04-08T12:38:15Z slyrus joined #lisp 2021-04-08T12:38:26Z contrapunctus left #lisp 2021-04-08T12:39:05Z contrapunctus joined #lisp 2021-04-08T12:39:14Z splittist: scymtym: 2021-04-08T12:39:52Z contrapunctus left #lisp 2021-04-08T12:40:01Z contrapunctus joined #lisp 2021-04-08T12:42:26Z slyrus quit (Ping timeout: 240 seconds) 2021-04-08T12:46:52Z cosimone joined #lisp 2021-04-08T12:48:43Z silasfox joined #lisp 2021-04-08T12:50:41Z ikrabbe|2 joined #lisp 2021-04-08T12:50:59Z ikrabbe quit (Ping timeout: 248 seconds) 2021-04-08T12:51:32Z curtosis joined #lisp 2021-04-08T12:52:26Z ikrabbe|2 is now known as ikrabbe 2021-04-08T12:53:08Z xlei joined #lisp 2021-04-08T12:56:00Z cage_ joined #lisp 2021-04-08T13:03:39Z gproto23 quit (Remote host closed the connection) 2021-04-08T13:03:48Z wsinatra joined #lisp 2021-04-08T13:04:07Z jmercouris: reccommendations on expert systems in CL? 2021-04-08T13:04:37Z jackdaniel: clips ,) 2021-04-08T13:05:18Z jackdaniel: (that was a joke, clips is written in c, but it supports sexpressions) 2021-04-08T13:07:02Z jmercouris: I'm not interested in using C 2021-04-08T13:07:24Z jmercouris: maybe if it is really good I could make a plugin 2021-04-08T13:08:26Z splittist: jmercouris: how much do you need beyond the toy mycin in PAIP? 2021-04-08T13:08:35Z jmercouris: I need something extremely performant 2021-04-08T13:08:58Z jmercouris: I want to identify logical fallacies in documents by extracting rules from them 2021-04-08T13:09:24Z splittist: Where's the expert part? 2021-04-08T13:09:35Z jmercouris: there are rules, and there are questions 2021-04-08T13:09:50Z jmercouris: the questions will be created by the user to determine if a piece of text is logically sound 2021-04-08T13:10:03Z jmercouris: the rules are created by the program analyzing the text 2021-04-08T13:10:11Z jmercouris: as such, there may be many many rules 2021-04-08T13:10:40Z sm2n: that sounds more like a model checker than an expert system 2021-04-08T13:10:47Z sm2n: with some nlp magic 2021-04-08T13:11:46Z splittist: jmercouris: to help my understand, why can't the user read the document? 2021-04-08T13:11:53Z splittist: s/my/me/ 2021-04-08T13:12:04Z sm2n: I'm assuming this is some fake news detection thing 2021-04-08T13:12:08Z jackdaniel: it is the full automatization - you don't need to read the document to browse it 2021-04-08T13:12:20Z slyrus joined #lisp 2021-04-08T13:12:40Z jmercouris: sm2n: correct 2021-04-08T13:12:51Z jmercouris: the user should read the document 2021-04-08T13:13:00Z jmercouris: I want some ways to help identify BS on the internet 2021-04-08T13:13:08Z jmercouris: a BS metric if you will, that the user can use to make informed decisions 2021-04-08T13:13:29Z jmercouris: this is one of many models I have in mind... 2021-04-08T13:13:42Z jmercouris: so I wanted to play around with some expert systems 2021-04-08T13:13:54Z jmercouris: see if they could identify logically inconsistent documents 2021-04-08T13:14:01Z splittist: The correct heuristic is, presumably: if it is on the internet, it is BS 2021-04-08T13:14:15Z jmercouris: splittist: I'm afraid that is not useful, or true 2021-04-08T13:14:29Z jmercouris: the very fact that you said that, on the internet, is a fallacy on of itself 2021-04-08T13:14:33Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-08T13:14:35Z splittist: jmercouris: as sm2n says, this is sort of the opposite of what I understand an expert system is 2021-04-08T13:14:41Z sm2n: I don't think using automated nlp is a good idea... it suffers from similar issues as the misinformation generating processes 2021-04-08T13:14:55Z jmercouris: sm2n: how would you tackle this problem? 2021-04-08T13:16:15Z sm2n: I think the general idea is decent though, say you have a document open, maybe you could have a "pane" or something that displays a formalized logical inference tree, in natural deduction form or something 2021-04-08T13:16:16Z gproto23 joined #lisp 2021-04-08T13:16:34Z sm2n: the reader could fill it out as they read 2021-04-08T13:16:49Z jmercouris: what is a formalized logical inference tree? 2021-04-08T13:17:09Z slyrus quit (Ping timeout: 260 seconds) 2021-04-08T13:17:24Z sm2n: https://en.wikipedia.org/wiki/Natural_deduction , though you don't need the fancy deduction 2021-04-08T13:18:02Z monaliza quit (Ping timeout: 246 seconds) 2021-04-08T13:18:11Z sm2n: if it's sufficiently formalized, you can even pass it to a proof assistant like Z3 2021-04-08T13:18:30Z sm2n: and generate some logical consequences 2021-04-08T13:18:34Z jmercouris: I see what you mean 2021-04-08T13:18:45Z sm2n: *fancy notation, whoops 2021-04-08T13:18:50Z jmercouris: I don't think someone susceptible to 'fake news' will have the rigor to complete such an exercise 2021-04-08T13:18:59Z jmercouris: I could very well be wrong, but I have a strong intuition 2021-04-08T13:19:05Z sm2n: yeah, that is the issue 2021-04-08T13:19:06Z jmercouris: that there is an inverse relationship with intelligence... 2021-04-08T13:19:08Z Nilby joined #lisp 2021-04-08T13:19:12Z splittist: I'm not seeing how computers help here. Take this text: "The LaTeX sources were converted to html using the latex2html program. We fixed many of the glitches by hand, but may have missed some. When in doubt, check your copy of the original paperbound version." What is supposed to happen when I'm browsing that? 2021-04-08T13:19:45Z jmercouris: LaTeX sources were converted to html using the latex2html -> latex2html converts latex to html 2021-04-08T13:20:03Z jmercouris: that's probably about all it could realistically extract 2021-04-08T13:20:18Z jeosol joined #lisp 2021-04-08T13:20:22Z monaliza joined #lisp 2021-04-08T13:20:55Z jmercouris: there are only two assertions in the above text 2021-04-08T13:21:02Z _death: https://plaster.tymoon.eu/view/2379#2379 2021-04-08T13:21:02Z jmercouris: well, maybe three 2021-04-08T13:21:22Z sm2n: if you are going to try nlp, I would make it optional 2021-04-08T13:21:41Z jmercouris: _death: :-D always good for a laugh 2021-04-08T13:21:44Z Feldman joined #lisp 2021-04-08T13:21:50Z splittist: Hmm. If I'm reading an article that says "All men are mortal. Socrates is a man. Therefore global warming is [insert conclusion here]" a big red cross appears saying "incorrect inference"? 2021-04-08T13:21:50Z jmercouris: sm2n: of course, all the NLP we have is already optional 2021-04-08T13:21:51Z sm2n: use some nlp feature extraction algorithm to initially populate a deduction tree 2021-04-08T13:22:03Z sm2n: it can then be manually tweaked etc 2021-04-08T13:22:04Z jmercouris: splittist: I should hope so! 2021-04-08T13:22:06Z sm2n: no black boxes 2021-04-08T13:22:15Z jmercouris: no black boxes indeed... 2021-04-08T13:23:26Z sm2n: at least, that is my take, error prone automated processes should augment human reasoning, not replace it 2021-04-08T13:23:38Z jmercouris: absolutely, that's why I have this article I wrote 2021-04-08T13:23:55Z jmercouris: https://nyxt.atlas.engineer/article/dbscan.org 2021-04-08T13:24:07Z jmercouris: our clustering for buffers in the buffer list view is OPTIONAL! 2021-04-08T13:24:12Z jmercouris: and completely configurable/understandable 2021-04-08T13:24:47Z xaotuk joined #lisp 2021-04-08T13:25:00Z sm2n: nice 2021-04-08T13:26:25Z t99 quit (Quit: Lost terminal) 2021-04-08T13:27:31Z jmercouris: "Computationally augmented browsing" 2021-04-08T13:31:13Z cosimone quit (Remote host closed the connection) 2021-04-08T13:32:18Z slyrus joined #lisp 2021-04-08T13:33:17Z jackdaniel: minion: spec with-snake-oil macro 2021-04-08T13:34:05Z jmercouris: jackdaniel: what are you saying? 2021-04-08T13:35:09Z jackdaniel: I am saying that I see plenty of buzzwords that are not ontopic on this channel and could be categorized as a deceptive marketing 2021-04-08T13:36:19Z ebrasca joined #lisp 2021-04-08T13:36:38Z slyrus quit (Ping timeout: 240 seconds) 2021-04-08T13:38:33Z jmercouris: jackdaniel: are you saying that I am engaging in deceptive marketing? 2021-04-08T13:40:10Z jackdaniel: no, I am saying that "I see plenty of buzzwords that are not ontopic on this channel and could be categorized as a deceptive marketing"; I'll put an emphasis on the offtopic aspect of that statement 2021-04-08T13:43:22Z hhdave_ joined #lisp 2021-04-08T13:43:35Z hhdave quit (Ping timeout: 246 seconds) 2021-04-08T13:43:35Z hhdave_ is now known as hhdave 2021-04-08T13:51:15Z galex-713 quit (Read error: Connection reset by peer) 2021-04-08T13:51:59Z xaotuk quit (Ping timeout: 246 seconds) 2021-04-08T13:54:52Z e[m]2 joined #lisp 2021-04-08T13:56:35Z slyrus joined #lisp 2021-04-08T14:01:31Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-08T14:02:25Z Feldman joined #lisp 2021-04-08T14:03:54Z galex-713 joined #lisp 2021-04-08T14:05:07Z slyrus quit (Ping timeout: 248 seconds) 2021-04-08T14:05:30Z _paul0 joined #lisp 2021-04-08T14:07:47Z paul0 quit (Read error: Connection reset by peer) 2021-04-08T14:09:45Z xaotuk joined #lisp 2021-04-08T14:13:26Z contrapunctus left #lisp 2021-04-08T14:14:11Z galex-713 quit (Ping timeout: 248 seconds) 2021-04-08T14:15:55Z contrapunctus joined #lisp 2021-04-08T14:17:40Z galex-713 joined #lisp 2021-04-08T14:18:50Z gproto023 joined #lisp 2021-04-08T14:21:37Z gproto23 quit (Ping timeout: 268 seconds) 2021-04-08T14:22:57Z narimiran quit (Ping timeout: 260 seconds) 2021-04-08T14:27:04Z hjudt quit (Remote host closed the connection) 2021-04-08T14:32:22Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-08T14:32:43Z hjudt joined #lisp 2021-04-08T14:34:07Z charles` quit (Ping timeout: 260 seconds) 2021-04-08T14:35:24Z Feldman joined #lisp 2021-04-08T14:36:29Z gproto023 quit (Quit: Leaving) 2021-04-08T14:36:46Z gproto23 joined #lisp 2021-04-08T14:39:26Z hjudt quit (Ping timeout: 240 seconds) 2021-04-08T14:40:36Z attila_lendvai joined #lisp 2021-04-08T14:40:37Z attila_lendvai quit (Changing host) 2021-04-08T14:40:37Z attila_lendvai joined #lisp 2021-04-08T14:44:40Z VincentVega joined #lisp 2021-04-08T14:47:49Z VincentVega: With a macro's lambda list &key, is it possible to identify the order in which the keys were supplied? 2021-04-08T14:47:54Z phoe: no 2021-04-08T14:48:05Z phoe: if you need that, do (&rest args &key ...) 2021-04-08T14:50:35Z booaa joined #lisp 2021-04-08T14:50:36Z VincentVega: phoe: great, thank you! 2021-04-08T14:55:33Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-08T14:58:46Z mseddon quit (Quit: The Lounge - https://thelounge.chat) 2021-04-08T14:58:46Z alandipert quit (Quit: The Lounge - https://thelounge.chat) 2021-04-08T14:58:59Z booaa quit (Ping timeout: 248 seconds) 2021-04-08T14:59:09Z alandipert joined #lisp 2021-04-08T14:59:12Z mseddon1 joined #lisp 2021-04-08T15:00:18Z aartaka quit (Read error: Connection reset by peer) 2021-04-08T15:00:52Z jmercouris: phoe: the implementation should know though right? 2021-04-08T15:01:00Z phoe: jmercouris: what do you mean, the implementation? 2021-04-08T15:01:16Z phoe: with &key, the order is absolutely unimportant unless you have duplicates 2021-04-08T15:01:26Z jmercouris: SBCL would know exactly the lambda list passed into a funcall 2021-04-08T15:01:29Z phoe: :foo 1 :bar 2 is the same as :bar 2 :foo 1 2021-04-08T15:01:40Z jmercouris: Sure, SBCL should know what I sent 2021-04-08T15:01:44Z phoe: jmercouris: this isn't really a SBCL issue 2021-04-08T15:02:00Z jmercouris: Wouldnt it be possible though? 2021-04-08T15:02:05Z phoe: every Lisp implementation does know exactly what you send, because it can make it available if you pass &rest 2021-04-08T15:02:22Z jmercouris: I’m not making much sense 2021-04-08T15:02:26Z jmercouris: Forget what I said lol 2021-04-08T15:02:31Z phoe: okay 2021-04-08T15:04:23Z g_SG joined #lisp 2021-04-08T15:05:53Z monaliza quit (Ping timeout: 260 seconds) 2021-04-08T15:06:35Z alandipert quit (Quit: The Lounge - https://thelounge.chat) 2021-04-08T15:06:36Z mseddon1 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-08T15:06:57Z alandipert joined #lisp 2021-04-08T15:07:01Z mseddon1 joined #lisp 2021-04-08T15:07:30Z slyrus joined #lisp 2021-04-08T15:07:57Z monaliza joined #lisp 2021-04-08T15:08:17Z wsinatra quit (Ping timeout: 246 seconds) 2021-04-08T15:08:25Z Sheilong joined #lisp 2021-04-08T15:09:19Z varjag joined #lisp 2021-04-08T15:09:52Z Feldman joined #lisp 2021-04-08T15:12:58Z slyrus quit (Ping timeout: 240 seconds) 2021-04-08T15:13:32Z g_SG quit (Ping timeout: 246 seconds) 2021-04-08T15:18:53Z krjli joined #lisp 2021-04-08T15:23:58Z monaliza quit (Ping timeout: 240 seconds) 2021-04-08T15:24:29Z xaotuk quit (Quit: xaotuk) 2021-04-08T15:26:20Z monaliza joined #lisp 2021-04-08T15:31:23Z wsinatra joined #lisp 2021-04-08T15:33:46Z silasfox quit (Ping timeout: 268 seconds) 2021-04-08T15:34:59Z slyrus joined #lisp 2021-04-08T15:36:07Z mindCrime_ joined #lisp 2021-04-08T15:36:43Z Josh_2 joined #lisp 2021-04-08T15:39:03Z VincentVega quit (Ping timeout: 240 seconds) 2021-04-08T15:39:27Z slyrus quit (Ping timeout: 265 seconds) 2021-04-08T15:40:51Z technobean quit (Ping timeout: 252 seconds) 2021-04-08T15:43:08Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-08T15:48:32Z Feldman joined #lisp 2021-04-08T15:48:32Z Josh_2: Ello ello 2021-04-08T15:48:40Z phoe: heyyyy 2021-04-08T15:49:04Z v0|d joined #lisp 2021-04-08T15:59:09Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-08T15:59:45Z mindCrime_ quit (Ping timeout: 265 seconds) 2021-04-08T16:03:03Z Josh_2: What crazy thing are we gonna talk about today? How about the performance of CL? jk jk 2021-04-08T16:04:26Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-08T16:09:42Z rjcks_ joined #lisp 2021-04-08T16:12:59Z Feldman joined #lisp 2021-04-08T16:13:05Z rjcks quit (Ping timeout: 260 seconds) 2021-04-08T16:21:42Z cosimone joined #lisp 2021-04-08T16:22:10Z technobean joined #lisp 2021-04-08T16:23:49Z hjudt joined #lisp 2021-04-08T16:25:22Z gitgood joined #lisp 2021-04-08T16:30:43Z bjorkintosh quit (Ping timeout: 250 seconds) 2021-04-08T16:31:14Z contrapunctus: Anyone here use redshank? It sounds quite cool but I've not heard much about it. 2021-04-08T16:33:07Z krjli quit (Ping timeout: 260 seconds) 2021-04-08T16:33:11Z contrapunctus: It's a bunch of commands for performing some common insertions and modifications in CL code. 2021-04-08T16:35:58Z hypercube joined #lisp 2021-04-08T16:37:33Z v0|d quit (Remote host closed the connection) 2021-04-08T16:43:47Z ck_: I have used it sometimes in the past, yes. Some functions more than others, mostly the moderately simple stuff like extract-defun 2021-04-08T16:44:17Z Major_Biscuit quit (Ping timeout: 252 seconds) 2021-04-08T16:44:43Z ck_: it didn't feel like a significant improvement over manually (par-)editing; maybe I didn't spend enough time with it 2021-04-08T16:47:37Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-08T16:49:11Z technobean quit (Ping timeout: 240 seconds) 2021-04-08T16:50:49Z tophullyte joined #lisp 2021-04-08T16:51:47Z attila_lendvai: is rpav of c2ffi fame around? 2021-04-08T16:51:49Z long4mud joined #lisp 2021-04-08T16:52:42Z mfiano: attila_lendvai: He stopped lisping a few years ago 2021-04-08T16:52:43Z mokulus joined #lisp 2021-04-08T16:53:03Z mfiano: You can find him in our gamedev channel, #bufferswap if you need him immediately though. 2021-04-08T16:53:18Z Xach: stopped? 2021-04-08T16:53:19Z attila_lendvai: mfiano, much appreciated, thanks! 2021-04-08T16:54:09Z attila_lendvai is trying to compile c2ffi on nixos 2021-04-08T16:56:43Z lottaquestions quit (Quit: Konversation terminated!) 2021-04-08T16:56:46Z Feldman joined #lisp 2021-04-08T16:56:58Z hypercube quit (Quit: WeeChat 3.1) 2021-04-08T16:57:02Z lottaquestions joined #lisp 2021-04-08T16:57:16Z hypercube joined #lisp 2021-04-08T16:57:59Z slyrus joined #lisp 2021-04-08T17:00:07Z hypercube quit (Client Quit) 2021-04-08T17:00:25Z hypercube joined #lisp 2021-04-08T17:01:09Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-08T17:02:51Z slyrus quit (Ping timeout: 260 seconds) 2021-04-08T17:09:48Z josemanuel joined #lisp 2021-04-08T17:11:37Z narimiran joined #lisp 2021-04-08T17:12:01Z mokulus quit (Quit: WeeChat 3.0) 2021-04-08T17:15:33Z Elzington joined #lisp 2021-04-08T17:15:54Z Josh_2: Shinmera: have you used Chirp recently? 2021-04-08T17:16:29Z Shinmera: I used it approximately a day ago to post a drawing. 2021-04-08T17:16:34Z Josh_2: Okay 2021-04-08T17:16:46Z Shinmera: Why does this matter? What is your actual question? 2021-04-08T17:17:17Z Josh_2: I'm getting an error trying to quickload it 2021-04-08T17:17:33Z Josh_2: "don't know how to REQUIRE sb-rotate-byte" 2021-04-08T17:17:46Z Josh_2: but it worked when I attempted to quickload in a fresh image 2021-04-08T17:18:08Z Shinmera: that's an ironclad issue. 2021-04-08T17:19:10Z Josh_2: I guess I will just redumping this image with chirp as a dependency, see if that works 2021-04-08T17:19:48Z Shinmera: whatever the case the issue is not with chirp. 2021-04-08T17:20:12Z Josh_2: Okay np 2021-04-08T17:20:16Z Josh_2: new image worked anyhow 2021-04-08T17:26:05Z jmercouris: I've noticed when loading my own code which depends on other libraries, slime compilation will report their warnings, any way to get rid of those? 2021-04-08T17:26:26Z jmercouris: I'm not interested in stuff like: Unknown location: redefinition: redefining CL-PREVALENCE:GET-ID in DEFGENERIC 2021-04-08T17:26:43Z slyrus joined #lisp 2021-04-08T17:28:47Z contrapunctus left #lisp 2021-04-08T17:29:38Z shka_: jmercouris: yes, you can rebind the error stream 2021-04-08T17:30:33Z contrapunctus joined #lisp 2021-04-08T17:30:49Z gproto023 joined #lisp 2021-04-08T17:30:59Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-08T17:31:05Z slyrus quit (Ping timeout: 246 seconds) 2021-04-08T17:31:47Z White_Flame quit (Ping timeout: 246 seconds) 2021-04-08T17:32:33Z bitmapper joined #lisp 2021-04-08T17:32:40Z mmmattyx joined #lisp 2021-04-08T17:33:11Z gproto23 quit (Ping timeout: 246 seconds) 2021-04-08T17:33:44Z Josh_2: Shinmera: when using (complete-authentication ) pin is supposed to be the url returned by initiate-authentication? 2021-04-08T17:34:13Z contrapunctus left #lisp 2021-04-08T17:34:28Z Shinmera: no, the pin you get from visiting that page. 2021-04-08T17:34:34Z Josh_2: well 2021-04-08T17:34:36Z contrapunctus joined #lisp 2021-04-08T17:34:36Z Josh_2: that makese sense 2021-04-08T17:35:00Z Shinmera: it says that in the readme. 2021-04-08T17:36:23Z Josh_2: oh yeh :P 2021-04-08T17:37:27Z jmercouris: shka_: ? 2021-04-08T17:37:28Z Nilby: jmercouris: My advice is always wrong, so you definitely shouldn't do this: https://plaster.tymoon.eu/view/2380#2380 2021-04-08T17:37:41Z jmercouris: Nilby: true true, you and me give wrong advice 2021-04-08T17:37:53Z jmercouris: we should be ashamed, really 2021-04-08T17:38:51Z jmercouris: lol, I like the macro name 2021-04-08T17:41:38Z Nilby: mini DTWT posse (*8 2021-04-08T17:45:01Z _death: you could also fix the warnings.. but that advice is the wrongest 2021-04-08T17:45:07Z gproto023 quit (Ping timeout: 265 seconds) 2021-04-08T17:45:32Z amerlyq quit (Quit: amerlyq) 2021-04-08T17:45:40Z contrapunctus left #lisp 2021-04-08T17:46:06Z contrapunctus joined #lisp 2021-04-08T17:47:37Z White_Flame joined #lisp 2021-04-08T17:49:57Z Nilby: (ql:system-apropos "") | wc -l ⇒ 4491 , so that might take a while. My systems have no unintentional warnings 2021-04-08T17:50:09Z mindCrime_ joined #lisp 2021-04-08T17:51:36Z Josh_2: Yay I tweeted using Chirp 2021-04-08T17:52:56Z _death: Nilby: hah! (length (ql:system-apropos-list "")) => 4726 2021-04-08T17:53:22Z Xach: (length (ql:provided-systems t)) 2021-04-08T17:54:03Z L0u1sChu quit (Quit: Textual IRC Client: www.textualapp.com) 2021-04-08T17:54:37Z Nilby: I think I have a lot of stuff I forgot about in my local-projects 2021-04-08T17:55:53Z Josh_2: Shinmera: do you have any example code showing how to upload an image? 2021-04-08T17:56:11Z ljavorsk quit (Ping timeout: 260 seconds) 2021-04-08T17:56:17Z seok quit (Ping timeout: 246 seconds) 2021-04-08T17:56:23Z shka_: jmercouris: sorry, was afk 2021-04-08T17:56:47Z shka_: jmercouris: https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node183.html 2021-04-08T17:57:03Z shka_: notice *error-output* 2021-04-08T17:57:38Z shka_: so you can https://github.com/sirherrbatka/vellum/blob/1315f04382547f938f4569f2b99ba038e93f75b6/run-tests.lisp#L11 2021-04-08T17:57:55Z shka_: however, this will muffle ALL conditions 2021-04-08T17:58:03Z shka_: or rather: warnings 2021-04-08T17:58:10Z shka_: which is perhaps not exactly what you want 2021-04-08T17:58:10Z jmercouris: right, I'm only interested in other libraries 2021-04-08T17:58:13Z jmercouris: it's OK 2021-04-08T17:58:16Z jmercouris: I will just have to live with it for now 2021-04-08T18:01:06Z slyrus joined #lisp 2021-04-08T18:05:26Z slyrus quit (Ping timeout: 240 seconds) 2021-04-08T18:05:51Z Feldman joined #lisp 2021-04-08T18:07:53Z hypercube quit (Ping timeout: 260 seconds) 2021-04-08T18:08:40Z Josh_2: yay I did it! 2021-04-08T18:09:24Z aartaka joined #lisp 2021-04-08T18:12:51Z Oladon joined #lisp 2021-04-08T18:14:54Z cage_ quit (Quit: Leaving) 2021-04-08T18:17:55Z Nilby: I still have a CL twitter client with a TUI back from when you had to send your password in cleartext over http, but then I never looked a twitter again. 2021-04-08T18:20:59Z skapata joined #lisp 2021-04-08T18:22:08Z aartaka_d joined #lisp 2021-04-08T18:22:18Z Josh_2: Probably for the best 2021-04-08T18:22:38Z sauvin quit (Remote host closed the connection) 2021-04-08T18:22:56Z Nilby: I'm simultaneously atounded at how hard it is now, and by Shinmera's productivity. 2021-04-08T18:23:17Z aartaka quit (Ping timeout: 260 seconds) 2021-04-08T18:23:36Z slyrus joined #lisp 2021-04-08T18:25:54Z rjcks_ quit (Quit: leaving) 2021-04-08T18:26:30Z rjcks joined #lisp 2021-04-08T18:27:47Z slyrus quit (Ping timeout: 246 seconds) 2021-04-08T18:28:36Z Shinmera: Aw, thanks 2021-04-08T18:28:36Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T18:28:50Z amb007 joined #lisp 2021-04-08T18:30:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T18:31:07Z amb007 joined #lisp 2021-04-08T18:31:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T18:31:47Z amb007 joined #lisp 2021-04-08T18:31:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T18:32:07Z amb007 joined #lisp 2021-04-08T18:36:15Z hendursaga joined #lisp 2021-04-08T18:36:15Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T18:37:22Z amb007 joined #lisp 2021-04-08T18:38:45Z cosimone quit (Remote host closed the connection) 2021-04-08T18:49:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T18:49:56Z amb007 joined #lisp 2021-04-08T18:52:37Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T18:53:18Z amb007 joined #lisp 2021-04-08T18:54:22Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T18:55:28Z amb007 joined #lisp 2021-04-08T18:55:28Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T18:55:44Z amb007 joined #lisp 2021-04-08T18:59:38Z Josh_2: Shinmera: the fun (statuses/update-with-media ..) says it takes either a pathname, usb-8 array or a base64 encoded string (in the docstring), I have just given it a usb-8 array and I get the error "Wanted one of (FUNCTION FILE-STREAM STREAM PATHNAME)." 2021-04-08T18:59:38Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:00:48Z amb007 joined #lisp 2021-04-08T19:02:06Z Shinmera: Oh well. 2021-04-08T19:02:25Z aeth_ joined #lisp 2021-04-08T19:02:28Z aeth quit (Disconnected by services) 2021-04-08T19:02:30Z aeth_ is now known as aeth 2021-04-08T19:02:43Z thinkpad quit (Ping timeout: 248 seconds) 2021-04-08T19:03:08Z heisig quit (Quit: Leaving) 2021-04-08T19:03:08Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:03:20Z amb007 joined #lisp 2021-04-08T19:04:18Z Josh_2: I will just use a temp file 2021-04-08T19:05:22Z thinkpad joined #lisp 2021-04-08T19:07:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:08:17Z contrapunctus left #lisp 2021-04-08T19:08:31Z amb007 joined #lisp 2021-04-08T19:13:27Z contrapunctus joined #lisp 2021-04-08T19:14:33Z Oladon quit (Quit: Leaving.) 2021-04-08T19:14:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:14:43Z amb007 joined #lisp 2021-04-08T19:14:43Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:14:58Z amb007 joined #lisp 2021-04-08T19:16:03Z villanella joined #lisp 2021-04-08T19:16:03Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:16:18Z amb007 joined #lisp 2021-04-08T19:17:22Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:18:22Z amb007 joined #lisp 2021-04-08T19:20:28Z jmercouris: Josh_2: what is a usb array? 2021-04-08T19:20:39Z josemanuel quit (Quit: leaving) 2021-04-08T19:20:46Z sm2n: unsigned byte 2021-04-08T19:22:08Z jmercouris: I see 2021-04-08T19:27:16Z anticrisis joined #lisp 2021-04-08T19:27:17Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:28:12Z amb007 joined #lisp 2021-04-08T19:32:38Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:33:28Z amb007 joined #lisp 2021-04-08T19:35:36Z karlosz joined #lisp 2021-04-08T19:35:36Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:35:51Z amb007 joined #lisp 2021-04-08T19:38:32Z aartaka joined #lisp 2021-04-08T19:39:12Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:39:23Z jacks2 quit (Quit: http://www.okay.uz/ (Session timeout)) 2021-04-08T19:39:39Z amb007 joined #lisp 2021-04-08T19:39:40Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:39:55Z amb007 joined #lisp 2021-04-08T19:40:09Z Jachy quit (Remote host closed the connection) 2021-04-08T19:40:58Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-08T19:42:05Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:42:19Z amb007 joined #lisp 2021-04-08T19:43:16Z aartaka quit (Ping timeout: 260 seconds) 2021-04-08T19:43:18Z aartaka_d joined #lisp 2021-04-08T19:43:56Z ech joined #lisp 2021-04-08T19:44:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:45:15Z amb007 joined #lisp 2021-04-08T19:45:20Z Feldman quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-08T19:47:18Z johnjay quit (Ping timeout: 240 seconds) 2021-04-08T19:47:18Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:48:26Z amb007 joined #lisp 2021-04-08T19:48:44Z Lord_of_Life_ joined #lisp 2021-04-08T19:48:52Z villanella quit (Ping timeout: 265 seconds) 2021-04-08T19:49:24Z contrapunctus left #lisp 2021-04-08T19:50:34Z johnjay joined #lisp 2021-04-08T19:50:43Z Lord_of_Life quit (Ping timeout: 248 seconds) 2021-04-08T19:50:43Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-08T19:50:46Z contrapunctus joined #lisp 2021-04-08T19:51:17Z aeth quit (Ping timeout: 252 seconds) 2021-04-08T19:52:05Z gproto023 joined #lisp 2021-04-08T19:52:25Z Feldman joined #lisp 2021-04-08T19:53:13Z aeth joined #lisp 2021-04-08T19:55:02Z gproto023 quit (Client Quit) 2021-04-08T19:55:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T19:55:12Z amb007 joined #lisp 2021-04-08T19:56:09Z monaliza quit (Ping timeout: 260 seconds) 2021-04-08T19:58:02Z monaliza joined #lisp 2021-04-08T19:58:15Z contrapunctus left #lisp 2021-04-08T19:58:59Z Josh_2: I got it working by just writing to a tmp file 2021-04-08T19:59:07Z Josh_2: obviously this is less than ideal but whatever 2021-04-08T19:59:09Z contrapunctus joined #lisp 2021-04-08T19:59:25Z slyrus joined #lisp 2021-04-08T20:01:55Z amb007 quit (Read error: Connection reset by peer) 2021-04-08T20:02:10Z amb007 joined #lisp 2021-04-08T20:03:01Z srhm joined #lisp 2021-04-08T20:03:15Z narimiran quit (Ping timeout: 268 seconds) 2021-04-08T20:04:55Z contrapunctus left #lisp 2021-04-08T20:06:44Z slyrus quit (Ping timeout: 265 seconds) 2021-04-08T20:07:29Z contrapunctus joined #lisp 2021-04-08T20:11:43Z Josh_2: Shinmera: once I have my pin and I've verified, do I ever have to do it again? 2021-04-08T20:12:02Z Shinmera: Please just read the docs. 2021-04-08T20:14:42Z Josh_2: *sigh* 2021-04-08T20:15:18Z monaliza quit (Ping timeout: 240 seconds) 2021-04-08T20:15:33Z Nilby: Every minute we distract Shinmera is like an hour of normal Lisper time. 2021-04-08T20:17:57Z cosimone joined #lisp 2021-04-08T20:18:00Z monaliza joined #lisp 2021-04-08T20:18:38Z contrapunctus: Uh, what's going on here :\ (ql:quickload :mcclim) => System "mcclim" not found 🤔 2021-04-08T20:20:25Z phoe: contrapunctus: ql:update-all-dists? 2021-04-08T20:20:38Z slyrus joined #lisp 2021-04-08T20:20:41Z contrapunctus: Same goes for, say, alexandria 2021-04-08T20:20:49Z phoe: huh 2021-04-08T20:21:00Z phoe: do you even have the quicklisp dist? 2021-04-08T20:21:11Z contrapunctus: phoe: yup, tried that. Although rather suspiciously, it said "1 dist to check" 2021-04-08T20:21:15Z phoe: (ql-dist:dist "quicklisp") 2021-04-08T20:21:18Z phoe: what does this return? 2021-04-08T20:21:40Z phoe: and asdf:*central-registry* - what is the value of this? 2021-04-08T20:21:43Z contrapunctus: phoe: # 2021-04-08T20:21:49Z Bike: "1 dist to check" is what it usually says. 2021-04-08T20:21:57Z phoe: so the dist is there, okay 2021-04-08T20:22:15Z phoe: can ASDF find quicklisp systems though? 2021-04-08T20:22:37Z contrapunctus: phoe: asdf:*central-registry* => (#P"/home/anon/quicklisp/quicklisp/") 2021-04-08T20:23:12Z Shinmera: Josh_2: oAuth tokens don't expire unless they're manually revoked. You have to actually save the info though. 2021-04-08T20:23:13Z phoe: huh 2021-04-08T20:23:17Z phoe: so (asdf:find-system :alexandria) should find the system 2021-04-08T20:23:49Z mfiano: First check (ql:where-is-system :alexandria) to see if Quicklisp even has it downloaded 2021-04-08T20:24:03Z samebchase-6 joined #lisp 2021-04-08T20:24:09Z contrapunctus: phoe: Component "alexandria" not found 2021-04-08T20:24:46Z slyrus quit (Ping timeout: 240 seconds) 2021-04-08T20:24:48Z Bike: have you done anything weird lately? deleted systems.txt or something? 2021-04-08T20:25:03Z kingcons_ joined #lisp 2021-04-08T20:25:08Z contrapunctus: mfiano: nil 🤔 but I have a /home/anon/quicklisp/dists/quicklisp/archives/alexandria-20200925-git.tgz 2021-04-08T20:25:37Z contrapunctus: Bike: upgraded from Debian Stable to Testing, if that's weird 🙂 2021-04-08T20:25:42Z dvdmuckle_ joined #lisp 2021-04-08T20:26:09Z Bike: do you have cl-asdf or anything installed? maybe your global asdf configuration is something odd now 2021-04-08T20:26:10Z mfiano: but do you have a quicklisp/dists/quicklisp/software/alexandria-20200925-git/ 2021-04-08T20:26:24Z d4ryus1 joined #lisp 2021-04-08T20:26:27Z phoe: right, do you have any cl-* packages installed from apt? 2021-04-08T20:26:29Z MightyJoe joined #lisp 2021-04-08T20:26:29Z vaporatorius quit (Ping timeout: 260 seconds) 2021-04-08T20:26:52Z kingcons quit (Ping timeout: 268 seconds) 2021-04-08T20:26:52Z jdz quit (Ping timeout: 268 seconds) 2021-04-08T20:26:52Z Feldman quit (Ping timeout: 268 seconds) 2021-04-08T20:26:53Z d4ryus quit (Ping timeout: 268 seconds) 2021-04-08T20:26:53Z dvdmuckle quit (Ping timeout: 268 seconds) 2021-04-08T20:26:53Z samebchase quit (Ping timeout: 268 seconds) 2021-04-08T20:26:53Z natter quit (Ping timeout: 268 seconds) 2021-04-08T20:26:53Z cyraxjoe quit (Ping timeout: 268 seconds) 2021-04-08T20:26:53Z samebchase- quit (Ping timeout: 268 seconds) 2021-04-08T20:26:53Z dvdmuckle_ is now known as dvdmuckle 2021-04-08T20:27:15Z marusich joined #lisp 2021-04-08T20:27:20Z contrapunctus: Oh. I did install cl-asdf, because before that, SBCL was not seeing ASDF 🤔 2021-04-08T20:27:31Z phoe: SBCL should have ASDF bundled 2021-04-08T20:27:44Z vaporatorius joined #lisp 2021-04-08T20:27:44Z vaporatorius quit (Changing host) 2021-04-08T20:27:44Z vaporatorius joined #lisp 2021-04-08T20:27:46Z contrapunctus: My thoughts exactly 🙂 2021-04-08T20:27:47Z phoe: and quicklisp should load it automatically via #+sbcl (require :asdf) 2021-04-08T20:27:59Z samebchase joined #lisp 2021-04-08T20:28:03Z phoe: and if for some reason it isn't available, quicklisp has its own fallback asdf that it uses for such situations 2021-04-08T20:28:16Z phoe: but this should never happen because SBCL has its ASDF bundled, like, in general 2021-04-08T20:28:52Z jdz joined #lisp 2021-04-08T20:30:04Z contrapunctus: Removed cl-asdf 2021-04-08T20:30:29Z phoe: remove the fasl cache, restart, let's see if this works better 2021-04-08T20:31:11Z contrapunctus: ASDF is being detected now, but the Quicklisp issue persists 2021-04-08T20:31:29Z phoe: does it still not see alexandria? 2021-04-08T20:32:09Z contrapunctus: phoe: Where's the FASL cache? O.o Did restart, it does not. 2021-04-08T20:32:26Z phoe: contrapunctus: any other cl-foo packages on your system? 2021-04-08T20:32:39Z phoe: contrapunctus: ~/.cache/common-lisp/ 2021-04-08T20:32:40Z mfiano: Normally $XDG_CACHE_HOME/common-lisp/ 2021-04-08T20:32:57Z contrapunctus: phoe: cl-quiclisp :o 2021-04-08T20:32:59Z phoe: listen to mfiano, he is wise in the ways of the XDG 2021-04-08T20:33:01Z phoe: contrapunctus: oh shit 2021-04-08T20:33:05Z phoe: well, remove that too! 2021-04-08T20:33:09Z contrapunctus: * cl-quicklisp 2021-04-08T20:33:11Z mfiano: Well, (typep *debian-testing* '(and still-older-than-crap unstable) ; => T 2021-04-08T20:33:23Z phoe: mfiano: likely not a testing issue 2021-04-08T20:34:17Z slyrus joined #lisp 2021-04-08T20:35:59Z contrapunctus: phoe: removed cl-quicklisp, deleted the cache, restarted Emacs, still the same Quicklisp issue x-P 2021-04-08T20:36:25Z mfiano: I assume the stacktrace doesn't have any meaningful locals? 2021-04-08T20:36:48Z phoe: well, hmmmm 2021-04-08T20:37:12Z phoe: do you have the alexandria asd file anywhere in ~/quicklisp/dists/quicklisp/software/? 2021-04-08T20:37:30Z contrapunctus: mfiano: http://ix.io/2VqF 2021-04-08T20:37:32Z mfiano: Yes I asked that 2021-04-08T20:37:41Z phoe: yes, but I did not see the answer 2021-04-08T20:37:45Z mfiano: No expanded frames 2021-04-08T20:38:11Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-08T20:38:18Z slyrus quit (Ping timeout: 240 seconds) 2021-04-08T20:38:24Z contrapunctus: phoe: there's a /home/anon/quicklisp/dists/quicklisp/software/alexandria-20200925-git/alexandria.asd 2021-04-08T20:39:11Z contrapunctus: Maybe I can nuke ~/quicklisp and reinstall? 🤔 2021-04-08T20:39:14Z phoe: so for whatever reason ASDF does not see this 2021-04-08T20:39:20Z phoe: contrapunctus: I think you could try 2021-04-08T20:39:28Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-08T20:39:33Z phoe: back your local projects up, nuke, reinstall from quicklisp.org 2021-04-08T20:47:27Z contrapunctus: Ah, finally \o/ 2021-04-08T20:47:46Z contrapunctus: Thanks everyone ^_^ 2021-04-08T20:59:46Z natter joined #lisp 2021-04-08T21:07:15Z slyrus joined #lisp 2021-04-08T21:08:44Z judson_ joined #lisp 2021-04-08T21:10:39Z nckx quit (Quit: Updating my Guix System — https://guix.gnu.org) 2021-04-08T21:12:20Z slyrus quit (Ping timeout: 268 seconds) 2021-04-08T21:13:46Z monaliza quit (Ping timeout: 252 seconds) 2021-04-08T21:15:12Z Nilby quit (Ping timeout: 258 seconds) 2021-04-08T21:15:42Z monaliza joined #lisp 2021-04-08T21:16:58Z pve quit (Quit: leaving) 2021-04-08T21:17:53Z anticrisis quit (Read error: Connection reset by peer) 2021-04-08T21:19:49Z h4ck3r9696 left #lisp 2021-04-08T21:22:34Z nckx joined #lisp 2021-04-08T21:26:22Z slyrus joined #lisp 2021-04-08T21:30:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-08T21:32:43Z akoana joined #lisp 2021-04-08T21:33:12Z m00natic joined #lisp 2021-04-08T21:38:10Z ech quit (Quit: leaving) 2021-04-08T21:39:15Z varjag quit (Ping timeout: 260 seconds) 2021-04-08T21:43:19Z Nilby joined #lisp 2021-04-08T21:46:24Z slyrus joined #lisp 2021-04-08T21:47:29Z Nilby quit (Ping timeout: 250 seconds) 2021-04-08T21:48:26Z Nilby joined #lisp 2021-04-08T21:51:05Z curtosis joined #lisp 2021-04-08T21:54:12Z varjag joined #lisp 2021-04-08T21:54:13Z slyrus quit (Ping timeout: 260 seconds) 2021-04-08T21:55:48Z lawt joined #lisp 2021-04-08T21:58:23Z ech joined #lisp 2021-04-08T21:58:32Z sxmx quit (Quit: WeeChat 3.1) 2021-04-08T21:59:14Z varjag quit (Ping timeout: 252 seconds) 2021-04-08T21:59:24Z seabass[m] left #lisp 2021-04-08T21:59:33Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-08T21:59:47Z torbo joined #lisp 2021-04-08T22:00:45Z hendursaga joined #lisp 2021-04-08T22:01:39Z monaliza quit (Ping timeout: 260 seconds) 2021-04-08T22:02:54Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-08T22:03:12Z rumbler31 joined #lisp 2021-04-08T22:03:15Z sxmx joined #lisp 2021-04-08T22:03:24Z monaliza joined #lisp 2021-04-08T22:04:03Z judson_ joined #lisp 2021-04-08T22:04:41Z cosimone quit (Remote host closed the connection) 2021-04-08T22:07:11Z hjudt quit (Ping timeout: 240 seconds) 2021-04-08T22:07:31Z akoana quit (Quit: leaving) 2021-04-08T22:08:53Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-08T22:14:12Z akoana joined #lisp 2021-04-08T22:18:14Z surabax quit (Quit: Leaving) 2021-04-08T22:20:16Z akoana quit (Quit: leaving) 2021-04-08T22:21:18Z cantstanya quit (Remote host closed the connection) 2021-04-08T22:22:02Z slyrus joined #lisp 2021-04-08T22:25:18Z Kaisyu joined #lisp 2021-04-08T22:26:29Z slyrus quit (Ping timeout: 246 seconds) 2021-04-08T22:26:59Z random-nick quit (Ping timeout: 248 seconds) 2021-04-08T22:27:21Z cantstanya joined #lisp 2021-04-08T22:30:23Z monaliza quit (Quit: monaliza) 2021-04-08T22:33:05Z frgo quit (Remote host closed the connection) 2021-04-08T22:33:06Z marusich quit (Ping timeout: 268 seconds) 2021-04-08T22:33:30Z frgo joined #lisp 2021-04-08T22:34:23Z lotuseater quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-08T22:47:22Z Lycurgus joined #lisp 2021-04-08T22:55:27Z slyrus joined #lisp 2021-04-08T23:00:15Z slyrus quit (Ping timeout: 265 seconds) 2021-04-08T23:02:24Z aeth_ joined #lisp 2021-04-08T23:02:28Z aeth quit (Disconnected by services) 2021-04-08T23:02:41Z aeth_ is now known as aeth 2021-04-08T23:05:09Z curtosis joined #lisp 2021-04-08T23:11:13Z anticrisis joined #lisp 2021-04-08T23:12:35Z rumbler31 quit (Remote host closed the connection) 2021-04-08T23:13:24Z slyrus joined #lisp 2021-04-08T23:17:04Z slyrus quit (Remote host closed the connection) 2021-04-08T23:19:11Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-08T23:20:06Z kevingal quit (Remote host closed the connection) 2021-04-08T23:23:25Z Oladon joined #lisp 2021-04-08T23:25:47Z mindCrime_ joined #lisp 2021-04-08T23:26:27Z charles` joined #lisp 2021-04-08T23:35:24Z slyrus joined #lisp 2021-04-08T23:38:41Z rjcks quit (Ping timeout: 240 seconds) 2021-04-08T23:39:38Z slyrus quit (Ping timeout: 246 seconds) 2021-04-08T23:42:41Z jeosol quit (Quit: Connection closed) 2021-04-08T23:43:58Z rjcks joined #lisp 2021-04-08T23:51:49Z attila_lendvai quit (Ping timeout: 260 seconds) 2021-04-08T23:56:11Z Nilby quit (Ping timeout: 250 seconds) 2021-04-09T00:02:52Z jeosol joined #lisp 2021-04-09T00:02:54Z curtosis[away] joined #lisp 2021-04-09T00:07:01Z rjcks quit (Quit: leaving) 2021-04-09T00:12:42Z ukari quit (Remote host closed the connection) 2021-04-09T00:13:27Z thinkpad quit (Ping timeout: 252 seconds) 2021-04-09T00:13:37Z ukari joined #lisp 2021-04-09T00:17:17Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-09T00:22:59Z thinkpad joined #lisp 2021-04-09T00:27:44Z thinkpad quit (Ping timeout: 265 seconds) 2021-04-09T00:29:57Z thinkpad joined #lisp 2021-04-09T00:34:35Z thinkpad quit (Ping timeout: 268 seconds) 2021-04-09T00:40:05Z Oladon quit (Quit: Leaving.) 2021-04-09T00:41:18Z thinkpad joined #lisp 2021-04-09T00:46:23Z skapata quit (Ping timeout: 260 seconds) 2021-04-09T00:54:46Z rick-monster quit (Ping timeout: 240 seconds) 2021-04-09T01:03:23Z curtosis[away] joined #lisp 2021-04-09T01:05:06Z Kaisyu quit (Quit: Connection closed for inactivity) 2021-04-09T01:06:57Z thinkpad quit (Ping timeout: 260 seconds) 2021-04-09T01:09:02Z thinkpad joined #lisp 2021-04-09T01:10:44Z skapata joined #lisp 2021-04-09T01:13:11Z rumbler31 joined #lisp 2021-04-09T01:14:03Z thinkpad quit (Ping timeout: 268 seconds) 2021-04-09T01:17:39Z rumbler31 quit (Ping timeout: 260 seconds) 2021-04-09T01:17:53Z zaquest quit (Remote host closed the connection) 2021-04-09T01:18:15Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-09T01:20:15Z gitgoood joined #lisp 2021-04-09T01:23:18Z gitgood quit (Ping timeout: 268 seconds) 2021-04-09T01:25:14Z hendursaga quit (Remote host closed the connection) 2021-04-09T01:25:57Z hendursaga joined #lisp 2021-04-09T01:31:18Z thinkpad joined #lisp 2021-04-09T01:32:14Z zaquest joined #lisp 2021-04-09T01:33:16Z logand``` quit (Ping timeout: 260 seconds) 2021-04-09T01:38:07Z rumbler31 joined #lisp 2021-04-09T01:43:24Z wxie quit (Quit: wxie) 2021-04-09T01:45:06Z ikrabbe|2 joined #lisp 2021-04-09T01:45:59Z ikrabbe quit (Ping timeout: 246 seconds) 2021-04-09T01:50:44Z wxie joined #lisp 2021-04-09T01:52:47Z skapate joined #lisp 2021-04-09T01:55:03Z skapata quit (Ping timeout: 246 seconds) 2021-04-09T01:56:31Z ikrabbe joined #lisp 2021-04-09T01:59:11Z ikrabbe|2 quit (Ping timeout: 240 seconds) 2021-04-09T02:00:55Z mindCrime_ quit (Ping timeout: 268 seconds) 2021-04-09T02:01:02Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-09T02:01:49Z judson_ joined #lisp 2021-04-09T02:08:46Z Sheilong quit 2021-04-09T02:20:03Z galex-713 quit (Ping timeout: 248 seconds) 2021-04-09T02:21:35Z galex-713 joined #lisp 2021-04-09T02:40:29Z ldbeth joined #lisp 2021-04-09T02:45:10Z Codaraxis_ joined #lisp 2021-04-09T02:48:41Z Codaraxis quit (Ping timeout: 240 seconds) 2021-04-09T02:49:22Z _jrjsmrtn joined #lisp 2021-04-09T02:51:31Z __jrjsmrtn__ quit (Ping timeout: 248 seconds) 2021-04-09T03:02:25Z beach: Good morning everyone! 2021-04-09T03:02:46Z Alfr quit (Killed (sinisalo.freenode.net (Nickname regained by services))) 2021-04-09T03:02:51Z Alfr joined #lisp 2021-04-09T03:03:24Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-09T03:07:11Z Josh_2: Mornin' beach 2021-04-09T03:11:12Z technobean joined #lisp 2021-04-09T03:11:13Z aeth quit (Ping timeout: 268 seconds) 2021-04-09T03:11:41Z ldbeth quit (Ping timeout: 240 seconds) 2021-04-09T03:12:27Z aeth joined #lisp 2021-04-09T03:23:36Z sp41 quit (Remote host closed the connection) 2021-04-09T03:28:59Z sjl quit (Ping timeout: 265 seconds) 2021-04-09T03:30:42Z sjl joined #lisp 2021-04-09T03:33:40Z msk quit (Remote host closed the connection) 2021-04-09T03:34:07Z msk joined #lisp 2021-04-09T03:35:41Z White_Flame quit (Ping timeout: 240 seconds) 2021-04-09T03:37:55Z Bike quit (Quit: leaving) 2021-04-09T03:38:12Z White_Flame joined #lisp 2021-04-09T03:39:08Z thinkpad quit (Ping timeout: 265 seconds) 2021-04-09T03:39:59Z moon-child: (let ((quote 5)) (+ . '6)) 2021-04-09T03:40:04Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-09T03:40:44Z beach: Those are amusing. 2021-04-09T03:41:09Z beach: Now try to get Emacs to recognize the role of every element of it. 2021-04-09T03:41:21Z thinkpad joined #lisp 2021-04-09T03:41:37Z beach: You should be able to write (let ('5)...) 2021-04-09T03:42:31Z moon-child: ha 2021-04-09T03:42:44Z moon-child: how about this one: (defun f (&key '5) quote) 2021-04-09T03:42:45Z Oladon joined #lisp 2021-04-09T03:42:47Z White_Flame quit (Ping timeout: 260 seconds) 2021-04-09T03:43:22Z aartaka joined #lisp 2021-04-09T03:44:28Z beach: Using #' is fun too, since FUNCTION can be used as a lexical variable as well. 2021-04-09T03:44:53Z contrapunctus left #lisp 2021-04-09T03:46:16Z aartaka_d quit (Ping timeout: 260 seconds) 2021-04-09T03:47:02Z beach: (let ('5) (let (#'quote) function)) for instance. :) 2021-04-09T03:48:04Z ldbeth joined #lisp 2021-04-09T03:51:29Z contrapunctus joined #lisp 2021-04-09T03:55:53Z Josh_2 quit (Ping timeout: 260 seconds) 2021-04-09T03:58:43Z ldbeth quit (Ping timeout: 268 seconds) 2021-04-09T04:09:50Z contrapunctus left #lisp 2021-04-09T04:10:55Z contrapunctus joined #lisp 2021-04-09T04:15:45Z contrapunctus left #lisp 2021-04-09T04:16:12Z torbo quit (Remote host closed the connection) 2021-04-09T04:16:43Z contrapunctus joined #lisp 2021-04-09T04:17:15Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-09T04:19:00Z Spawns_Carpeting joined #lisp 2021-04-09T04:19:16Z curtosis[away] joined #lisp 2021-04-09T04:19:36Z fiddlerwoaroof: (let ((quote 5)) (+ . '6)) is even valid emacs-lisp 2021-04-09T04:21:19Z fiddlerwoaroof: Both of them are, in fact 2021-04-09T04:21:43Z contrapunctus left #lisp 2021-04-09T04:22:30Z contrapunctus joined #lisp 2021-04-09T04:22:34Z fiddlerwoaroof: (let ('5) (let (#'quote) (cons . #'quote))) 2021-04-09T04:22:45Z beach: I guess in the spirit of the first example, I should have written (let ('5) (let (#'quote) (+ . #'6))) 2021-04-09T04:22:55Z beach: Yes, stuff like that. 2021-04-09T04:24:49Z fiddlerwoaroof: (let*('5 #'quote)(+ . #'quote)) 2021-04-09T04:25:08Z fiddlerwoaroof: This is how I'm going to write all my code from now on 2021-04-09T04:25:19Z beach: Heh. 2021-04-09T04:25:22Z fiddlerwoaroof: save characters 2021-04-09T04:25:47Z no-defun-allowed: SLIME would print the lambda list of a mapping function I wrote as #'SEQUENCE. 2021-04-09T04:32:15Z contrapunctus left #lisp 2021-04-09T04:33:08Z contrapunctus joined #lisp 2021-04-09T04:33:56Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-09T04:46:43Z mmmattyx quit (Quit: Connection closed for inactivity) 2021-04-09T04:49:25Z contrapunctus left #lisp 2021-04-09T04:49:54Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-09T04:50:08Z contrapunctus joined #lisp 2021-04-09T04:51:36Z srhm quit (Quit: Konversation terminated!) 2021-04-09T04:51:43Z technobean quit (Quit: ERC (IRC client for Emacs 26.3)) 2021-04-09T04:53:37Z rumbler31 quit (Remote host closed the connection) 2021-04-09T04:53:42Z samebchase-6 is now known as samebchase- 2021-04-09T04:54:22Z rumbler31 joined #lisp 2021-04-09T04:57:23Z marusich joined #lisp 2021-04-09T04:59:09Z beach: no-defun-allowed: That's a very good example of why I want something better than Emacs for writing Common Lisp code. 2021-04-09T04:59:57Z Oladon quit (Quit: Leaving.) 2021-04-09T05:00:39Z moon-child: that doesn't seem like a fundamental limitation of emacs though, only an incidental result of slime's implementation; no? 2021-04-09T05:01:13Z beach: Sure. When I said "Emacs" I meant "Emacs + SLIME". 2021-04-09T05:01:22Z beach: Sorry about that. 2021-04-09T05:07:53Z fiddlerwoaroof: Hmm, the result there is from the implementation's printer, right? 2021-04-09T05:08:17Z beach: That could be. 2021-04-09T05:08:29Z fiddlerwoaroof: (princ-to-string '(function foo)) #| => "#'FOO" |# 2021-04-09T05:08:58Z beach: Yes, I see. 2021-04-09T05:09:02Z fiddlerwoaroof: It's fundamentally ambiguous whether the intention here is to print code or a list, as far as I can see 2021-04-09T05:09:19Z beach: If you use the printer for everything, sure. 2021-04-09T05:09:41Z narimiran joined #lisp 2021-04-09T05:10:07Z fiddlerwoaroof: Yeah, I htink you need something like presentation types 2021-04-09T05:10:16Z fiddlerwoaroof: Or the first argument to MAP 2021-04-09T05:10:19Z beach: One could, for example, show the characters in the source code that defined the item to be printed. 2021-04-09T05:10:31Z fiddlerwoaroof: Kent Pitman calls it something like "intentional types" 2021-04-09T05:10:35Z beach: Then you would get the same representation as the programmer wanted when the code was written. 2021-04-09T05:11:42Z fiddlerwoaroof: Yeah, that doesn't help when you're formatting the output of MACROEXPAND-1, though 2021-04-09T05:12:13Z fiddlerwoaroof: It's the same problem as here: http://www.nhplace.com/kent/PS/EQUAL.html 2021-04-09T05:12:13Z beach: True, but that use case I am willing to bet is not as frequent. 2021-04-09T05:12:26Z fiddlerwoaroof: I'm not sure 2021-04-09T05:12:47Z fiddlerwoaroof: I use tools like emacs' macrostep expander quite a bit when I'm trying to figure out what a macro does 2021-04-09T05:13:00Z beach: Perhaps I am generalizing too much, but I almost never look at the result of a macro expansion. 2021-04-09T05:13:10Z skapate quit (Ping timeout: 246 seconds) 2021-04-09T05:13:27Z fiddlerwoaroof: Yeah, I suspect this is a workflow difference 2021-04-09T05:13:48Z beach: I see macros the say I see function, i.e., as abstractions. Only when I write the macro itself would I be interested in how it expands. 2021-04-09T05:14:54Z fiddlerwoaroof: When I decide that a macro was a bad idea, I usually MACROEXPAND-1 and replace the source with the expansion 2021-04-09T05:15:04Z fiddlerwoaroof: then fix it 2021-04-09T05:15:39Z beach: This is one reason why I made a rule that SICL macros should do a lot of syntax checking, so that conditions would be shown in terms of the macro call, rather than in terms of its expansion. 2021-04-09T05:18:04Z mrchampion quit (Remote host closed the connection) 2021-04-09T05:20:05Z fiddlerwoaroof: I think if you continue down that route, you end up writing macros that expand to CLOS objects 2021-04-09T05:23:01Z beach: Not sure what you mean by "CLOS object", but if you mean "standard object" then that would be some very useless macros, since those are self-evaluating. 2021-04-09T05:23:38Z thinkpad quit (Ping timeout: 240 seconds) 2021-04-09T05:24:04Z beach: ... unless you implementation uses standard objects for conses and symbols, of course. 2021-04-09T05:27:19Z sm2n: beach, correct me if I'm wrong, but that kind of syntax checking doesn't compose too well 2021-04-09T05:27:45Z beach: sm2n: Can you elaborate on that? 2021-04-09T05:27:48Z sm2n: i.e if I have a macro that expands into a macro, and the second macro has malformed syntax, the thrown error won't be in terms of the code I wrote 2021-04-09T05:28:16Z contrapunctus: moon-child: `(let ((quote 5)) (+ . '6))` dafuq :o explain? 2021-04-09T05:28:39Z sm2n: contrapunctus, '6 is expanded by the reader to (quote 6) 2021-04-09T05:29:13Z sm2n: and (+ . (quote 6) is exactly (+ quote 6), which has quote bound lexically to 5 by the let 2021-04-09T05:29:18Z sm2n: so it evaluates to 11 2021-04-09T05:29:25Z beach: sm2n: Well, if the macro is meant to be used as an abstraction, it is usually clear what the different arguments stand for, so the syntax of those can then be checked. Perhaps not fully, but I am guessing a lot better than what is typically done. 2021-04-09T05:29:35Z contrapunctus: sm2n: oh lol. Thanks. 2021-04-09T05:30:06Z raeda quit (Read error: Connection reset by peer) 2021-04-09T05:30:24Z raeda joined #lisp 2021-04-09T05:30:55Z varjag joined #lisp 2021-04-09T05:31:53Z sauvin joined #lisp 2021-04-09T05:32:23Z sm2n: beach, I'm not sure how what you are saying applies to my scenario 2021-04-09T05:32:56Z beach: That may be because I probably didn't quite understand it. 2021-04-09T05:34:14Z sm2n: (defmacro bar (a b) ...) (defmacro foo () (bar baz)) (foo) 2021-04-09T05:34:51Z rogersm joined #lisp 2021-04-09T05:34:56Z sm2n: no matter how much syntax checking you have in bar, the error thrown won't be in (foo), because macroexpansion destroys that context 2021-04-09T05:35:00Z fiddlerwoaroof: foo can't give a useful error message in terms of bar's input syntax, right? 2021-04-09T05:35:09Z sm2n: yeah 2021-04-09T05:35:30Z beach: sm2n: You are talking about errors signaled (not "thrown") at run time? 2021-04-09T05:35:31Z fiddlerwoaroof: sorry, opposite, bar can't ... in terms of foo's ... 2021-04-09T05:36:01Z sm2n: macroexpansion time, sorry I'm being loose with the terminology 2021-04-09T05:36:30Z sm2n: (foo) will fail at macroexpansion time because (bar baz) is invalid syntax 2021-04-09T05:36:49Z beach: Ah, yes, I see. That's the reason for another SICL rule, namely to report errors in terms of source expressions in context. 2021-04-09T05:37:14Z sm2n: how do you accomplish that in this case? 2021-04-09T05:37:42Z rogersm quit (Remote host closed the connection) 2021-04-09T05:38:09Z beach: But your scenario is definitely not the one I was thinking of. In this case, my scenario would be the time when the macro FOO was written. 2021-04-09T05:38:17Z contrapunctus left #lisp 2021-04-09T05:39:01Z Nilby joined #lisp 2021-04-09T05:39:08Z sm2n: I don't really think it's much of an issue because CL isn't conventionally written with deeply nested macros from what I can tell 2021-04-09T05:39:20Z beach: There would be some highlight of the (BAR BAZ) expression with an indication that the number of arguments is wrong. 2021-04-09T05:39:38Z varjag quit (Ping timeout: 240 seconds) 2021-04-09T05:40:05Z beach: sm2n: That's probably true. 2021-04-09T05:40:15Z fiddlerwoaroof: Racket's macroexpander is basically designed to solve this problem 2021-04-09T05:40:17Z sm2n: I brought this up because this was the motivation for the racket people to move to syntax objects as the result of macroexpansion, which is close to what fiddlerwoaroof was implying by macroexpanding into CLOS objects 2021-04-09T05:40:23Z fiddlerwoaroof: yeah 2021-04-09T05:40:54Z fiddlerwoaroof: If you have mid-level macros that expand to standard objects, and high-level macros that expand the standard objects to conses, you can preserve all sorts of metadata 2021-04-09T05:40:55Z sm2n: but that's because their whole thing is lots of deeply nested macros 2021-04-09T05:41:10Z fiddlerwoaroof: Like types to use for static type checking 2021-04-09T05:42:01Z beach: fiddlerwoaroof: I think I see what you mean now. Not that the expansion itself is a standard object, but something like (FOO ). Yes? 2021-04-09T05:42:09Z fiddlerwoaroof: Yeah 2021-04-09T05:42:21Z beach: That's an interesting idea. 2021-04-09T05:42:42Z fiddlerwoaroof: Or, (foo (bar)) and then bar expands to (foo #), which foo expands itself 2021-04-09T05:43:05Z fiddlerwoaroof: Which can enable relatively safe code-walking without implementation support 2021-04-09T05:43:06Z beach: Yes, I see. I need to give this idea some more thought. 2021-04-09T05:43:58Z fiddlerwoaroof: I think reading your paper on SICL loop was the first time I thought of this idea 2021-04-09T05:44:07Z contrapunctus joined #lisp 2021-04-09T05:44:19Z beach: Because the clauses are represented as standard objects? 2021-04-09T05:44:24Z fiddlerwoaroof: Yeah 2021-04-09T05:44:31Z beach: I can see that, yes. 2021-04-09T05:44:36Z fiddlerwoaroof: So, (expand-loop # #) 2021-04-09T05:44:44Z fiddlerwoaroof: Would be the last layer of expansion 2021-04-09T05:44:51Z beach: Sure, yes. 2021-04-09T05:45:26Z no-defun-allowed: I think I was approaching something like that this morning to simplify code generation for a new project. It would use vectorised loads, stores and comparison operators, but my compiler would generate something like (load # vector n), which would then be expanded using a generic function that the client would specialize. 2021-04-09T05:45:26Z beach: I never thought about generalizing it to more mundane macros though. Food for thought. Thanks! 2021-04-09T05:46:15Z beach: no-defun-allowed: Interesting. 2021-04-09T05:46:39Z beach: Now I have something to contemplate today during breaks and such. 2021-04-09T05:47:10Z no-defun-allowed: It's still very fuzzy though, and I've only written down a summary of the protocol for the rest of the project so far. 2021-04-09T05:49:30Z moon-child: (aside: the above discussion of macros and abstraction makes me think that sigils are superior to namespaces. Imagine we use & for function values, % for macros and builtins, and $ for variables. Then the 'quote' symbol used by the ' reader macro cannot possibly collide with a local variable which is also named quote) 2021-04-09T05:52:53Z no-defun-allowed: (The end goal is to make my regular expression compiler more modular, and allow the client to generate specialised scanning code, based on CPU features and/or any specific knowledge of the text to match.) 2021-04-09T05:56:56Z Lycurgus quit (Quit: Exeunt) 2021-04-09T05:59:07Z booaa joined #lisp 2021-04-09T06:00:15Z fiddlerwoaroof: no-defun-allowed: if you need complex regular expressions to benchmark, this code here generates some amazing regular expressions: https://gitlab.common-lisp.net/rfc2822/rfc2822/blob/master/regex.lisp#L118 2021-04-09T06:00:51Z no-defun-allowed: Terrifying. 2021-04-09T06:01:44Z fiddlerwoaroof: I tried printing one out once to see why CL-PPCRE was taking so long to match something like "foo" 2021-04-09T06:01:56Z fiddlerwoaroof: The string version of the regex was like five screens long 2021-04-09T06:06:17Z beach: fiddlerwoaroof: In Cleavir, we get some of the benefits of using standard objects in macros, in that the compiler manipulates CSTs rather than expressions, and after macro expansion, it reconstructs a CST from the original one and the expression returned by the macro expander. 2021-04-09T06:08:23Z booaa quit (Ping timeout: 260 seconds) 2021-04-09T06:08:37Z fiddlerwoaroof: Yeah 2021-04-09T06:09:00Z fiddlerwoaroof: It's occasionally seemed to me that the distinction between a compiler and a macroexpander is sort of arbitrary 2021-04-09T06:10:39Z skapata joined #lisp 2021-04-09T06:11:24Z fiddlerwoaroof: They're both programs that take a datastructure that represents a program in one way and turn it into a datastructure that represents the same program in a different way. 2021-04-09T06:12:59Z Nilby: If I'm remembering correctly I think agnostic-lizard uses a technique something like that, wrapping interim macro expansion in objects. 2021-04-09T06:13:11Z fiddlerwoaroof: One interest I've had is trying to pull some of the traditional compiler stuff into the macroexpansion phase, because that phase has always seemed easier to think about (to me) 2021-04-09T06:14:43Z beach: Yeah, that's a good idea, provided that errors and warnings can still be meaningful to the programmer. 2021-04-09T06:14:46Z fiddlerwoaroof: Nilby: I believe I remember seeing something like that in the presentation on that tool 2021-04-09T06:24:59Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-09T06:27:33Z rogersm joined #lisp 2021-04-09T06:29:09Z frost-lab joined #lisp 2021-04-09T06:32:21Z quanta[m] joined #lisp 2021-04-09T06:47:50Z fiddlerwoaroof: no-defun-allowed: can you re implementation efficiently merge two matchers? 2021-04-09T06:48:06Z no-defun-allowed: Would you mind defining "merging"? 2021-04-09T06:48:17Z no-defun-allowed: I use the derivative method, so I can do intersections on regular expressions. 2021-04-09T06:49:25Z fiddlerwoaroof: Basically, I've had this sort of problem before: I have N regex-action pairs (think awk-style programs, or HTTP routing) and I want to pick an action doing as little work matching as possible 2021-04-09T06:50:14Z fiddlerwoaroof: I think the derivative-style matching would work for this, now that I think about it 2021-04-09T06:51:01Z no-defun-allowed: After testing, I can only conclude that submatching here is painfully broken. 2021-04-09T06:52:03Z no-defun-allowed sighs and goes to plan another method for submatching. 2021-04-09T06:54:19Z thinkpad joined #lisp 2021-04-09T06:54:26Z hjudt joined #lisp 2021-04-09T06:58:09Z contrapunctus: Would you folks recommend using Clostrum for sandboxing Lisp programs? Or is there another way? It seems like a complicated problem. 2021-04-09T06:58:17Z thinkpad quit (Read error: No route to host) 2021-04-09T06:58:43Z Lord_of_Life quit (Read error: Connection reset by peer) 2021-04-09T06:58:51Z Shinmera: the only way is to either restrict the programs to the point of being useless, or running another process. 2021-04-09T06:59:07Z Shinmera: or actually another OS, probably. 2021-04-09T07:00:44Z fiddlerwoaroof: In theory, you could spawn another process and use the cgroups APIs to sandbox it 2021-04-09T07:01:25Z fiddlerwoaroof: But what's possible here is entirely dependent on your threat model 2021-04-09T07:02:34Z Lord_of_Life joined #lisp 2021-04-09T07:02:36Z thinkpad joined #lisp 2021-04-09T07:05:03Z beach: contrapunctus: It is not quite as simple as that. Let me explain... 2021-04-09T07:05:24Z contrapunctus: fiddlerwoaroof: to be specific, I don't want the program to (unless the user permits them) make any network requests or access the filesystem outside of its private storage. (There's also some resource limiting.) 2021-04-09T07:05:38Z beach: contrapunctus: To get the benefits of Clostrum, you need to be able to evaluate expressions "relative to" a Clostrum environment, so you need a specific evaluator. 2021-04-09T07:05:40Z Major_Biscuit joined #lisp 2021-04-09T07:06:11Z beach: contrapunctus: We have such an evaluator (obviously), but things are not set up for general use. Currently, it is used only in SICL bootstrapping. 2021-04-09T07:06:38Z flazh quit (Ping timeout: 240 seconds) 2021-04-09T07:07:15Z beach: contrapunctus: The existing evaluator turns a source file into a CST (using Eclector), and then the CST into an AST (using Cleavir) and then it uses the AST evaluator of SICL that does the job. 2021-04-09T07:08:10Z beach: One day, I may turn these tools into something generally usable, but I don't have the time to do that now. Perhaps someone else would be interested in such a project. 2021-04-09T07:16:18Z thinkpad quit (Ping timeout: 240 seconds) 2021-04-09T07:19:04Z thinkpad joined #lisp 2021-04-09T07:20:58Z vegansbane6963 quit (Ping timeout: 268 seconds) 2021-04-09T07:22:03Z aartaka_d joined #lisp 2021-04-09T07:22:16Z tophullyte quit (Quit: Leaving) 2021-04-09T07:25:18Z aartaka quit (Ping timeout: 268 seconds) 2021-04-09T07:25:33Z aartaka joined #lisp 2021-04-09T07:26:06Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-09T07:28:55Z no-defun-allowed: As with most of the engine, I have no idea what I did exactly, but submatching appears to work properly now. 2021-04-09T07:31:22Z chipolux joined #lisp 2021-04-09T07:32:29Z motersen quit (Remote host closed the connection) 2021-04-09T07:32:39Z contrapunctus: beach: I see. I feel quite sad when I think of how, on one hand, it's desirable to have programs in e.g. documents, and yet the state of sandboxing and resource limiting leaves much to be desired. 2021-04-09T07:33:13Z motersen joined #lisp 2021-04-09T07:34:55Z chipolux quit (Client Quit) 2021-04-09T07:35:08Z beach: contrapunctus: I understand. I wish someone would take on the project I suggested. What you would like to see is something many people seem to want. 2021-04-09T07:39:37Z random-nick joined #lisp 2021-04-09T07:47:35Z surabax joined #lisp 2021-04-09T07:47:35Z amb007 quit (Read error: Connection reset by peer) 2021-04-09T07:51:53Z amb007 joined #lisp 2021-04-09T07:51:53Z amb007 quit (Read error: Connection reset by peer) 2021-04-09T08:00:24Z attila_lendvai joined #lisp 2021-04-09T08:02:17Z skapata quit (*.net *.split) 2021-04-09T08:02:17Z ikrabbe quit (*.net *.split) 2021-04-09T08:02:17Z frgo quit (*.net *.split) 2021-04-09T08:02:18Z notzmv quit (*.net *.split) 2021-04-09T08:02:18Z myall quit (*.net *.split) 2021-04-09T08:02:18Z pyc quit (*.net *.split) 2021-04-09T08:02:18Z shrysr_ quit (*.net *.split) 2021-04-09T08:02:18Z plisp2 quit (*.net *.split) 2021-04-09T08:02:18Z tgbugs quit (*.net *.split) 2021-04-09T08:02:18Z luna_is_here quit (*.net *.split) 2021-04-09T08:02:18Z sveit quit (*.net *.split) 2021-04-09T08:02:18Z zigpaw107613 quit (*.net *.split) 2021-04-09T08:02:18Z jello_pudding quit (*.net *.split) 2021-04-09T08:02:18Z frodef quit (*.net *.split) 2021-04-09T08:02:18Z emacsomancer quit (*.net *.split) 2021-04-09T08:02:18Z ozzloy quit (*.net *.split) 2021-04-09T08:02:18Z alanz quit (*.net *.split) 2021-04-09T08:02:18Z Inoperable quit (*.net *.split) 2021-04-09T08:02:18Z b20n quit (*.net *.split) 2021-04-09T08:02:18Z rvirding quit (*.net *.split) 2021-04-09T08:02:18Z antoszka quit (*.net *.split) 2021-04-09T08:02:18Z theruran_ quit (*.net *.split) 2021-04-09T08:02:18Z norsxa quit (*.net *.split) 2021-04-09T08:02:18Z vydd quit (*.net *.split) 2021-04-09T08:02:18Z ffwacom quit (*.net *.split) 2021-04-09T08:02:18Z winny quit (*.net *.split) 2021-04-09T08:02:18Z lowryder quit (*.net *.split) 2021-04-09T08:02:19Z beach quit (*.net *.split) 2021-04-09T08:02:19Z jcowan quit (*.net *.split) 2021-04-09T08:02:19Z physpi quit (*.net *.split) 2021-04-09T08:02:19Z aaronm04 quit (*.net *.split) 2021-04-09T08:02:19Z cipherchess quit (*.net *.split) 2021-04-09T08:02:19Z Ekho quit (*.net *.split) 2021-04-09T08:02:19Z leo_song_ quit (*.net *.split) 2021-04-09T08:02:19Z ggoes quit (*.net *.split) 2021-04-09T08:02:19Z jackdaniel quit (*.net *.split) 2021-04-09T08:02:19Z astronavt quit (*.net *.split) 2021-04-09T08:02:19Z Demosthenex quit (*.net *.split) 2021-04-09T08:02:19Z easye quit (*.net *.split) 2021-04-09T08:02:19Z mgsk_ quit (*.net *.split) 2021-04-09T08:02:19Z vegai quit (*.net *.split) 2021-04-09T08:02:19Z SAL9000 quit (*.net *.split) 2021-04-09T08:02:19Z isoraqathedh quit (*.net *.split) 2021-04-09T08:02:19Z fitzsim quit (*.net *.split) 2021-04-09T08:02:19Z ravndal quit (*.net *.split) 2021-04-09T08:02:19Z jdz quit (*.net *.split) 2021-04-09T08:02:19Z vaporatorius quit (*.net *.split) 2021-04-09T08:02:19Z samebchase- quit (*.net *.split) 2021-04-09T08:02:19Z johnjay quit (*.net *.split) 2021-04-09T08:02:19Z _paul0 quit (*.net *.split) 2021-04-09T08:02:19Z quazimodo quit (*.net *.split) 2021-04-09T08:02:19Z aindilis quit (*.net *.split) 2021-04-09T08:02:19Z shka_ quit (*.net *.split) 2021-04-09T08:02:19Z jonatack quit (*.net *.split) 2021-04-09T08:02:19Z Noisytoot quit (*.net *.split) 2021-04-09T08:02:19Z MetaYan_ quit (*.net *.split) 2021-04-09T08:02:19Z ineiros quit (*.net *.split) 2021-04-09T08:02:19Z tomaw quit (*.net *.split) 2021-04-09T08:02:19Z Colleen quit (*.net *.split) 2021-04-09T08:02:19Z rigidus quit (*.net *.split) 2021-04-09T08:02:20Z jrm quit (*.net *.split) 2021-04-09T08:02:20Z ioa quit (*.net *.split) 2021-04-09T08:02:20Z Xach quit (*.net *.split) 2021-04-09T08:02:20Z terpri_ quit (*.net *.split) 2021-04-09T08:02:20Z stylewarning quit (*.net *.split) 2021-04-09T08:02:20Z gendl quit (*.net *.split) 2021-04-09T08:02:20Z dyelar quit (*.net *.split) 2021-04-09T08:02:20Z etimmons quit (*.net *.split) 2021-04-09T08:02:20Z ms[m]1 quit (*.net *.split) 2021-04-09T08:02:21Z motersen quit (*.net *.split) 2021-04-09T08:02:21Z hendursaga quit (*.net *.split) 2021-04-09T08:02:21Z cantstanya quit (*.net *.split) 2021-04-09T08:02:21Z ech quit (*.net *.split) 2021-04-09T08:02:21Z luckless_ quit (*.net *.split) 2021-04-09T08:02:21Z zooey quit (*.net *.split) 2021-04-09T08:02:21Z gxt quit (*.net *.split) 2021-04-09T08:02:21Z maxwilliamson quit (*.net *.split) 2021-04-09T08:02:21Z Aurora_v_kosmose quit (*.net *.split) 2021-04-09T08:02:21Z madage quit (*.net *.split) 2021-04-09T08:02:21Z yonkunas quit (*.net *.split) 2021-04-09T08:02:21Z _whitelogger quit (*.net *.split) 2021-04-09T08:02:21Z eschatologist quit (*.net *.split) 2021-04-09T08:02:21Z Blkt quit (*.net *.split) 2021-04-09T08:02:21Z Gnuxie[m] quit (*.net *.split) 2021-04-09T08:02:22Z ThaEwat quit (*.net *.split) 2021-04-09T08:02:22Z ecraven quit (*.net *.split) 2021-04-09T08:02:22Z gum quit (*.net *.split) 2021-04-09T08:02:22Z xi- quit (*.net *.split) 2021-04-09T08:02:22Z theBlackDragon quit (*.net *.split) 2021-04-09T08:02:22Z jibanes quit (*.net *.split) 2021-04-09T08:02:22Z flip214 quit (*.net *.split) 2021-04-09T08:02:22Z e[m]2 quit (*.net *.split) 2021-04-09T08:02:22Z agam_b[m] quit (*.net *.split) 2021-04-09T08:02:22Z bonz060 quit (*.net *.split) 2021-04-09T08:02:23Z loke[m]1 quit (*.net *.split) 2021-04-09T08:02:23Z tweet[m] quit (*.net *.split) 2021-04-09T08:02:23Z penguwin quit (*.net *.split) 2021-04-09T08:02:23Z jackhill quit (*.net *.split) 2021-04-09T08:02:23Z z0d quit (*.net *.split) 2021-04-09T08:02:23Z cyberlard quit (*.net *.split) 2021-04-09T08:02:23Z glamas quit (*.net *.split) 2021-04-09T08:02:23Z Grue` quit (*.net *.split) 2021-04-09T08:02:23Z Shinmera quit (*.net *.split) 2021-04-09T08:02:23Z TMA quit (*.net *.split) 2021-04-09T08:02:23Z rogersm quit (*.net *.split) 2021-04-09T08:02:23Z infra_red[m] quit (*.net *.split) 2021-04-09T08:02:23Z spal quit (*.net *.split) 2021-04-09T08:02:23Z susam quit (*.net *.split) 2021-04-09T08:02:24Z katco quit (*.net *.split) 2021-04-09T08:02:24Z Papa quit (*.net *.split) 2021-04-09T08:02:24Z conjunctive quit (*.net *.split) 2021-04-09T08:02:24Z nightfly quit (*.net *.split) 2021-04-09T08:02:24Z akkad quit (*.net *.split) 2021-04-09T08:02:24Z mtd quit (*.net *.split) 2021-04-09T08:02:24Z thinkpad quit (*.net *.split) 2021-04-09T08:02:24Z Lord_of_Life quit (*.net *.split) 2021-04-09T08:02:24Z sjl quit (*.net *.split) 2021-04-09T08:02:24Z Codaraxis_ quit (*.net *.split) 2021-04-09T08:02:24Z ukari quit (*.net *.split) 2021-04-09T08:02:24Z nckx quit (*.net *.split) 2021-04-09T08:02:24Z MightyJoe quit (*.net *.split) 2021-04-09T08:02:24Z d4ryus1 quit (*.net *.split) 2021-04-09T08:02:24Z alandipert quit (*.net *.split) 2021-04-09T08:02:24Z hhdave quit (*.net *.split) 2021-04-09T08:02:24Z Posterdati quit (*.net *.split) 2021-04-09T08:02:24Z wooden quit (*.net *.split) 2021-04-09T08:02:24Z noobineer quit (*.net *.split) 2021-04-09T08:02:24Z perrier-jouet quit (*.net *.split) 2021-04-09T08:02:24Z andreyorst quit (*.net *.split) 2021-04-09T08:02:25Z karstensrage quit (*.net *.split) 2021-04-09T08:02:25Z mathrick quit (*.net *.split) 2021-04-09T08:02:25Z pranavats quit (*.net *.split) 2021-04-09T08:02:25Z casual_friday quit (*.net *.split) 2021-04-09T08:02:25Z Iolo quit (*.net *.split) 2021-04-09T08:02:25Z froggey quit (*.net *.split) 2021-04-09T08:02:25Z _death quit (*.net *.split) 2021-04-09T08:02:25Z phadthai quit (*.net *.split) 2021-04-09T08:02:25Z charles` quit (*.net *.split) 2021-04-09T08:02:25Z devrtz quit (*.net *.split) 2021-04-09T08:02:25Z paulj quit (*.net *.split) 2021-04-09T08:02:25Z buoy49 quit (*.net *.split) 2021-04-09T08:02:25Z jmiven quit (*.net *.split) 2021-04-09T08:02:25Z dnm quit (*.net *.split) 2021-04-09T08:02:25Z XachX quit (*.net *.split) 2021-04-09T08:02:25Z yottabyte quit (*.net *.split) 2021-04-09T08:02:25Z gingerale- quit (*.net *.split) 2021-04-09T08:02:25Z midre quit (*.net *.split) 2021-04-09T08:02:25Z kini quit (*.net *.split) 2021-04-09T08:02:25Z Yardanico quit (*.net *.split) 2021-04-09T08:02:25Z summerisle quit (*.net *.split) 2021-04-09T08:02:25Z dmiles[m] quit (*.net *.split) 2021-04-09T08:02:25Z palter quit (*.net *.split) 2021-04-09T08:02:25Z thonkpod quit (*.net *.split) 2021-04-09T08:02:25Z grobe0ba quit (*.net *.split) 2021-04-09T08:02:25Z swflint quit (*.net *.split) 2021-04-09T08:02:25Z gko quit (*.net *.split) 2021-04-09T08:02:25Z felideon quit (*.net *.split) 2021-04-09T08:02:25Z shenghi quit (*.net *.split) 2021-04-09T08:02:25Z housel quit (*.net *.split) 2021-04-09T08:02:25Z billstclair quit (*.net *.split) 2021-04-09T08:02:25Z griffinbyatt quit (*.net *.split) 2021-04-09T08:02:25Z teej quit (*.net *.split) 2021-04-09T08:02:25Z jsatk quit (*.net *.split) 2021-04-09T08:02:25Z beaky quit (*.net *.split) 2021-04-09T08:02:25Z stux|RC-only quit (*.net *.split) 2021-04-09T08:02:26Z moon-child quit (*.net *.split) 2021-04-09T08:02:26Z no-defun-allowed quit (*.net *.split) 2021-04-09T08:02:26Z rodentrabies quit (*.net *.split) 2021-04-09T08:02:26Z MrtnDk[m] quit (*.net *.split) 2021-04-09T08:02:26Z dieggsy quit (*.net *.split) 2021-04-09T08:02:26Z Theora[m] quit (*.net *.split) 2021-04-09T08:02:26Z asdflkj quit (*.net *.split) 2021-04-09T08:02:26Z krjt quit (*.net *.split) 2021-04-09T08:02:26Z malm quit (*.net *.split) 2021-04-09T08:02:26Z matijja quit (*.net *.split) 2021-04-09T08:02:26Z guaqua quit (*.net *.split) 2021-04-09T08:02:26Z FennecCode quit (*.net *.split) 2021-04-09T08:02:26Z dale quit (*.net *.split) 2021-04-09T08:02:26Z bytesighs quit (*.net *.split) 2021-04-09T08:02:26Z splittist quit (*.net *.split) 2021-04-09T08:02:26Z grfn quit (*.net *.split) 2021-04-09T08:02:26Z pent quit (*.net *.split) 2021-04-09T08:02:26Z phoe quit (*.net *.split) 2021-04-09T08:02:26Z mpontillo quit (*.net *.split) 2021-04-09T08:02:26Z chrpape quit (*.net *.split) 2021-04-09T08:02:26Z spxy quit (*.net *.split) 2021-04-09T08:02:26Z avicenna quit (*.net *.split) 2021-04-09T08:02:26Z mjl quit (*.net *.split) 2021-04-09T08:02:26Z joga quit (*.net *.split) 2021-04-09T08:02:26Z ski quit (*.net *.split) 2021-04-09T08:02:26Z |3b| quit (*.net *.split) 2021-04-09T08:02:26Z random-nick quit (*.net *.split) 2021-04-09T08:02:26Z aeth quit (*.net *.split) 2021-04-09T08:02:26Z sxmx quit (*.net *.split) 2021-04-09T08:02:27Z mseddon1 quit (*.net *.split) 2021-04-09T08:02:27Z xlei quit (*.net *.split) 2021-04-09T08:02:27Z mgr_ quit (*.net *.split) 2021-04-09T08:02:27Z drewc quit (*.net *.split) 2021-04-09T08:02:27Z nmg quit (*.net *.split) 2021-04-09T08:02:27Z grumble quit (*.net *.split) 2021-04-09T08:02:27Z daniel1302 quit (*.net *.split) 2021-04-09T08:02:27Z edgar-rft quit (*.net *.split) 2021-04-09T08:02:27Z nydel quit (*.net *.split) 2021-04-09T08:02:27Z cognemo quit (*.net *.split) 2021-04-09T08:02:27Z troydm quit (*.net *.split) 2021-04-09T08:02:27Z rixard quit (*.net *.split) 2021-04-09T08:02:27Z ark quit (*.net *.split) 2021-04-09T08:02:27Z femi quit (*.net *.split) 2021-04-09T08:02:27Z Kabriel quit (*.net *.split) 2021-04-09T08:02:27Z Ankhers quit (*.net *.split) 2021-04-09T08:02:27Z kbtr quit (*.net *.split) 2021-04-09T08:02:27Z docl quit (*.net *.split) 2021-04-09T08:02:27Z tmf quit (*.net *.split) 2021-04-09T08:02:27Z l1x quit (*.net *.split) 2021-04-09T08:02:27Z voidlily quit (*.net *.split) 2021-04-09T08:02:27Z creat quit (*.net *.split) 2021-04-09T08:02:27Z simplegauss quit (*.net *.split) 2021-04-09T08:02:27Z entel quit (*.net *.split) 2021-04-09T08:02:27Z seisatsu quit (*.net *.split) 2021-04-09T08:02:27Z CEnnis91 quit (*.net *.split) 2021-04-09T08:02:27Z gaze__ quit (*.net *.split) 2021-04-09T08:02:27Z GreaseMonkey quit (*.net *.split) 2021-04-09T08:02:27Z mgsk quit (*.net *.split) 2021-04-09T08:02:27Z larme quit (*.net *.split) 2021-04-09T08:02:27Z Balooga quit (*.net *.split) 2021-04-09T08:02:28Z lonjil quit (*.net *.split) 2021-04-09T08:02:28Z dbotton quit (*.net *.split) 2021-04-09T08:02:28Z idxu quit (*.net *.split) 2021-04-09T08:02:28Z cpt_nemo quit (*.net *.split) 2021-04-09T08:02:28Z lieven quit (*.net *.split) 2021-04-09T08:02:28Z HiRE quit (*.net *.split) 2021-04-09T08:02:28Z fiddlerwoaroof quit (*.net *.split) 2021-04-09T08:02:28Z Tordek quit (*.net *.split) 2021-04-09T08:02:28Z jonathan- quit (*.net *.split) 2021-04-09T08:02:28Z parisienne quit (*.net *.split) 2021-04-09T08:02:28Z p_l quit (*.net *.split) 2021-04-09T08:02:28Z jlpeters quit (*.net *.split) 2021-04-09T08:02:28Z drmeister quit (*.net *.split) 2021-04-09T08:02:28Z selwyn quit (*.net *.split) 2021-04-09T08:02:28Z knobo quit (*.net *.split) 2021-04-09T08:02:28Z fe[nl]ix quit (*.net *.split) 2021-04-09T08:02:28Z sebboh quit (*.net *.split) 2021-04-09T08:02:28Z Grauwolf quit (*.net *.split) 2021-04-09T08:02:28Z jasom quit (*.net *.split) 2021-04-09T08:02:28Z madand quit (*.net *.split) 2021-04-09T08:02:28Z Odin- quit (*.net *.split) 2021-04-09T08:02:28Z lukego quit (*.net *.split) 2021-04-09T08:02:28Z aartaka quit (*.net *.split) 2021-04-09T08:02:28Z hjudt quit (*.net *.split) 2021-04-09T08:02:28Z frost-lab quit (*.net *.split) 2021-04-09T08:02:28Z sauvin quit (*.net *.split) 2021-04-09T08:02:28Z narimiran quit (*.net *.split) 2021-04-09T08:02:28Z rumbler31 quit (*.net *.split) 2021-04-09T08:02:28Z wxie quit (*.net *.split) 2021-04-09T08:02:28Z gitgoood quit (*.net *.split) 2021-04-09T08:02:28Z natter quit (*.net *.split) 2021-04-09T08:02:28Z samebchase quit (*.net *.split) 2021-04-09T08:02:28Z eMBee quit (*.net *.split) 2021-04-09T08:02:28Z vv8 quit (*.net *.split) 2021-04-09T08:02:28Z elflng quit (*.net *.split) 2021-04-09T08:02:28Z null_ptr quit (*.net *.split) 2021-04-09T08:02:28Z amk quit (*.net *.split) 2021-04-09T08:02:28Z albusp quit (*.net *.split) 2021-04-09T08:02:28Z APic quit (*.net *.split) 2021-04-09T08:02:28Z Adamclisi quit (*.net *.split) 2021-04-09T08:02:28Z minion quit (*.net *.split) 2021-04-09T08:02:28Z specbot quit (*.net *.split) 2021-04-09T08:02:29Z russell-- quit (*.net *.split) 2021-04-09T08:02:29Z Khisanth quit (*.net *.split) 2021-04-09T08:02:29Z bmansurov quit (*.net *.split) 2021-04-09T08:02:29Z armin quit (*.net *.split) 2021-04-09T08:02:29Z kagevf quit (*.net *.split) 2021-04-09T08:02:29Z kslt1 quit (*.net *.split) 2021-04-09T08:02:29Z gabot quit (*.net *.split) 2021-04-09T08:02:29Z jxy quit (*.net *.split) 2021-04-09T08:02:29Z freshmaker666 quit (*.net *.split) 2021-04-09T08:02:29Z mrspec quit (*.net *.split) 2021-04-09T08:02:29Z luis quit (*.net *.split) 2021-04-09T08:02:29Z nullheroes quit (*.net *.split) 2021-04-09T08:02:29Z marusich quit (*.net *.split) 2021-04-09T08:02:29Z kingcons_ quit (*.net *.split) 2021-04-09T08:02:29Z Mandus quit (*.net *.split) 2021-04-09T08:02:29Z CrazyEddy quit (*.net *.split) 2021-04-09T08:02:29Z nitrix quit (*.net *.split) 2021-04-09T08:02:29Z vsync quit (*.net *.split) 2021-04-09T08:02:29Z snits quit (*.net *.split) 2021-04-09T08:02:29Z Cthulhux quit (*.net *.split) 2021-04-09T08:02:29Z terrorjack quit (*.net *.split) 2021-04-09T08:02:30Z conkker quit (*.net *.split) 2021-04-09T08:02:30Z acolarh quit (*.net *.split) 2021-04-09T08:02:30Z copec quit (*.net *.split) 2021-04-09T08:02:30Z zagura quit (*.net *.split) 2021-04-09T08:02:30Z loke quit (*.net *.split) 2021-04-09T08:02:30Z interruptinuse quit (*.net *.split) 2021-04-09T08:02:30Z cg505 quit (*.net *.split) 2021-04-09T08:02:30Z epony quit (*.net *.split) 2021-04-09T08:02:30Z jeosol quit (*.net *.split) 2021-04-09T08:02:30Z long4mud quit (*.net *.split) 2021-04-09T08:02:30Z fourier quit (*.net *.split) 2021-04-09T08:02:30Z rdd quit (*.net *.split) 2021-04-09T08:02:30Z dilated_dinosaur quit (*.net *.split) 2021-04-09T08:02:30Z cods quit (*.net *.split) 2021-04-09T08:02:30Z ramus quit (*.net *.split) 2021-04-09T08:02:30Z jurov_ quit (*.net *.split) 2021-04-09T08:02:30Z saturn2 quit (*.net *.split) 2021-04-09T08:02:30Z deltab quit (*.net *.split) 2021-04-09T08:02:30Z getha quit (*.net *.split) 2021-04-09T08:02:30Z hdasch quit (*.net *.split) 2021-04-09T08:02:30Z hiredman quit (*.net *.split) 2021-04-09T08:02:30Z fengshaun_ quit (*.net *.split) 2021-04-09T08:02:30Z hvxgr quit (*.net *.split) 2021-04-09T08:02:30Z mason quit (*.net *.split) 2021-04-09T08:02:30Z datajerk quit (*.net *.split) 2021-04-09T08:02:30Z zymurgy quit (*.net *.split) 2021-04-09T08:02:30Z bkst quit (*.net *.split) 2021-04-09T08:02:30Z drdo quit (*.net *.split) 2021-04-09T08:02:30Z eagleflo quit (*.net *.split) 2021-04-09T08:02:30Z remexre quit (*.net *.split) 2021-04-09T08:02:30Z lavaflow quit (*.net *.split) 2021-04-09T08:02:30Z Juonu quit (*.net *.split) 2021-04-09T08:02:30Z Ziemas quit (*.net *.split) 2021-04-09T08:02:30Z HDurer quit (*.net *.split) 2021-04-09T08:02:30Z ferada quit (*.net *.split) 2021-04-09T08:02:30Z pok quit (*.net *.split) 2021-04-09T08:02:30Z nopf quit (*.net *.split) 2021-04-09T08:02:30Z Fade quit (*.net *.split) 2021-04-09T08:02:30Z Major_Biscuit quit (*.net *.split) 2021-04-09T08:02:30Z _jrjsmrtn quit (*.net *.split) 2021-04-09T08:02:30Z zaquest quit (*.net *.split) 2021-04-09T08:02:30Z m00natic quit (*.net *.split) 2021-04-09T08:02:30Z karlosz quit (*.net *.split) 2021-04-09T08:02:30Z gigetoo quit (*.net *.split) 2021-04-09T08:02:31Z hineios quit (*.net *.split) 2021-04-09T08:02:31Z gpiero quit (*.net *.split) 2021-04-09T08:02:31Z tessier quit (*.net *.split) 2021-04-09T08:02:31Z lansiir quit (*.net *.split) 2021-04-09T08:02:31Z borodust quit (*.net *.split) 2021-04-09T08:02:31Z walex quit (*.net *.split) 2021-04-09T08:02:31Z jgkamat quit (*.net *.split) 2021-04-09T08:02:31Z caoliver quit (*.net *.split) 2021-04-09T08:02:31Z rotty quit (*.net *.split) 2021-04-09T08:02:31Z ChoHag quit (*.net *.split) 2021-04-09T08:02:31Z Patternmaster quit (*.net *.split) 2021-04-09T08:02:31Z jfb4 quit (*.net *.split) 2021-04-09T08:02:31Z mood_ quit (*.net *.split) 2021-04-09T08:02:31Z thermo quit (*.net *.split) 2021-04-09T08:02:31Z quanta[m] quit (*.net *.split) 2021-04-09T08:02:31Z kreyren quit (*.net *.split) 2021-04-09T08:02:31Z arcontethegreat[ quit (*.net *.split) 2021-04-09T08:02:31Z dim quit (*.net *.split) 2021-04-09T08:02:31Z mgxm quit (*.net *.split) 2021-04-09T08:02:31Z mr_yogurt quit (*.net *.split) 2021-04-09T08:02:31Z alfred188 quit (*.net *.split) 2021-04-09T08:02:31Z sukaeto quit (*.net *.split) 2021-04-09T08:02:31Z chewbranca quit (*.net *.split) 2021-04-09T08:02:31Z wigust quit (*.net *.split) 2021-04-09T08:02:32Z gensym quit (*.net *.split) 2021-04-09T08:02:32Z travv0 quit (*.net *.split) 2021-04-09T08:02:32Z jmercouris quit (*.net *.split) 2021-04-09T08:02:32Z ck_ quit (*.net *.split) 2021-04-09T08:02:32Z rme quit (*.net *.split) 2021-04-09T08:02:32Z cross quit (*.net *.split) 2021-04-09T08:02:32Z fouric quit (*.net *.split) 2021-04-09T08:02:32Z sgithens quit (*.net *.split) 2021-04-09T08:02:32Z xristos quit (*.net *.split) 2021-04-09T08:02:32Z madnificent quit (*.net *.split) 2021-04-09T08:02:32Z em quit (*.net *.split) 2021-04-09T08:02:32Z gabiruh quit (*.net *.split) 2021-04-09T08:02:32Z shinohai quit (*.net *.split) 2021-04-09T08:02:32Z sbryant quit (*.net *.split) 2021-04-09T08:02:32Z msk quit (*.net *.split) 2021-04-09T08:02:32Z anticrisis quit (*.net *.split) 2021-04-09T08:02:32Z lawt quit (*.net *.split) 2021-04-09T08:02:32Z Elzington quit (*.net *.split) 2021-04-09T08:02:32Z ebrasca quit (*.net *.split) 2021-04-09T08:02:32Z Krystof quit (*.net *.split) 2021-04-09T08:02:32Z KeyboardWorrier quit (*.net *.split) 2021-04-09T08:02:32Z zupss quit (*.net *.split) 2021-04-09T08:02:32Z dunk quit (*.net *.split) 2021-04-09T08:02:32Z diamondbond quit (*.net *.split) 2021-04-09T08:02:32Z scymtym quit (*.net *.split) 2021-04-09T08:02:32Z sm2n quit (*.net *.split) 2021-04-09T08:02:32Z mister_m quit (*.net *.split) 2021-04-09T08:02:32Z phantomics quit (*.net *.split) 2021-04-09T08:02:32Z thecoffemaker quit (*.net *.split) 2021-04-09T08:02:32Z cpape quit (*.net *.split) 2021-04-09T08:02:32Z m0xya quit (*.net *.split) 2021-04-09T08:02:32Z nullman quit (*.net *.split) 2021-04-09T08:02:32Z micro quit (*.net *.split) 2021-04-09T08:02:32Z MichaelRaskin quit (*.net *.split) 2021-04-09T08:02:32Z IPmonger quit (*.net *.split) 2021-04-09T08:02:32Z stux|RC quit (*.net *.split) 2021-04-09T08:02:32Z xsperry quit (*.net *.split) 2021-04-09T08:02:32Z X-Scale quit (*.net *.split) 2021-04-09T08:02:32Z Lord_Nightmare quit (*.net *.split) 2021-04-09T08:02:32Z ilmu quit (*.net *.split) 2021-04-09T08:02:32Z mfiano quit (*.net *.split) 2021-04-09T08:02:32Z surabax quit (*.net *.split) 2021-04-09T08:02:32Z Nilby quit (*.net *.split) 2021-04-09T08:02:33Z Spawns_Carpeting quit (*.net *.split) 2021-04-09T08:02:33Z Alfr quit (*.net *.split) 2021-04-09T08:02:33Z galex-713 quit (*.net *.split) 2021-04-09T08:02:33Z dvdmuckle quit (*.net *.split) 2021-04-09T08:02:33Z lottaquestions quit (*.net *.split) 2021-04-09T08:02:33Z contrapunctus quit (*.net *.split) 2021-04-09T08:02:33Z orivej quit (*.net *.split) 2021-04-09T08:02:33Z maiqthefalse quit (*.net *.split) 2021-04-09T08:02:33Z Nikotiini quit (*.net *.split) 2021-04-09T08:02:33Z herlocksholmes quit (*.net *.split) 2021-04-09T08:02:33Z azrazalea quit (*.net *.split) 2021-04-09T08:02:33Z markasoftware quit (*.net *.split) 2021-04-09T08:02:33Z AdmiralBumbleBee quit (*.net *.split) 2021-04-09T08:02:33Z jprajzne quit (*.net *.split) 2021-04-09T08:02:33Z vhost- quit (*.net *.split) 2021-04-09T08:02:33Z [df] quit (*.net *.split) 2021-04-09T08:02:33Z spacebat2 quit (*.net *.split) 2021-04-09T08:02:33Z add^_ quit (*.net *.split) 2021-04-09T08:02:33Z mtd_ quit (*.net *.split) 2021-04-09T08:07:01Z shinohai joined #lisp 2021-04-09T08:07:01Z sbryant joined #lisp 2021-04-09T08:07:01Z gabiruh joined #lisp 2021-04-09T08:07:01Z em joined #lisp 2021-04-09T08:07:01Z madnificent joined #lisp 2021-04-09T08:07:01Z sgithens joined #lisp 2021-04-09T08:07:01Z fouric joined #lisp 2021-04-09T08:07:01Z xristos joined #lisp 2021-04-09T08:07:01Z ck_ joined #lisp 2021-04-09T08:07:01Z gensym joined #lisp 2021-04-09T08:07:01Z wigust joined #lisp 2021-04-09T08:07:01Z rme joined #lisp 2021-04-09T08:07:01Z jmercouris joined #lisp 2021-04-09T08:07:01Z travv0 joined #lisp 2021-04-09T08:07:01Z cross joined #lisp 2021-04-09T08:07:01Z sukaeto joined #lisp 2021-04-09T08:07:01Z mr_yogurt joined #lisp 2021-04-09T08:07:01Z chewbranca joined #lisp 2021-04-09T08:07:01Z mgxm joined #lisp 2021-04-09T08:07:01Z dim joined #lisp 2021-04-09T08:07:01Z Inoperable joined #lisp 2021-04-09T08:07:01Z alanz joined #lisp 2021-04-09T08:07:01Z ozzloy joined #lisp 2021-04-09T08:07:01Z emacsomancer joined #lisp 2021-04-09T08:07:01Z frodef joined #lisp 2021-04-09T08:07:01Z jello_pudding joined #lisp 2021-04-09T08:07:01Z zigpaw107613 joined #lisp 2021-04-09T08:07:01Z sveit joined #lisp 2021-04-09T08:07:01Z luna_is_here joined #lisp 2021-04-09T08:07:01Z tgbugs joined #lisp 2021-04-09T08:07:01Z plisp2 joined #lisp 2021-04-09T08:07:01Z pyc joined #lisp 2021-04-09T08:07:01Z shrysr_ joined #lisp 2021-04-09T08:07:01Z myall joined #lisp 2021-04-09T08:07:01Z notzmv joined #lisp 2021-04-09T08:07:01Z frgo joined #lisp 2021-04-09T08:07:01Z ikrabbe joined #lisp 2021-04-09T08:07:01Z skapata joined #lisp 2021-04-09T08:07:01Z Fade joined #lisp 2021-04-09T08:07:01Z nopf joined #lisp 2021-04-09T08:07:01Z pok joined #lisp 2021-04-09T08:07:01Z ferada joined #lisp 2021-04-09T08:07:01Z HDurer joined #lisp 2021-04-09T08:07:01Z Ziemas joined #lisp 2021-04-09T08:07:01Z Juonu joined #lisp 2021-04-09T08:07:01Z lavaflow joined #lisp 2021-04-09T08:07:01Z remexre joined #lisp 2021-04-09T08:07:01Z eagleflo joined #lisp 2021-04-09T08:07:01Z drdo joined #lisp 2021-04-09T08:07:01Z bkst joined #lisp 2021-04-09T08:07:01Z zymurgy joined #lisp 2021-04-09T08:07:01Z datajerk joined #lisp 2021-04-09T08:07:01Z hvxgr joined #lisp 2021-04-09T08:07:01Z mason joined #lisp 2021-04-09T08:07:01Z fengshaun_ joined #lisp 2021-04-09T08:07:01Z hiredman joined #lisp 2021-04-09T08:07:01Z hdasch joined #lisp 2021-04-09T08:07:01Z getha joined #lisp 2021-04-09T08:07:01Z deltab joined #lisp 2021-04-09T08:07:01Z saturn2 joined #lisp 2021-04-09T08:07:01Z jurov_ joined #lisp 2021-04-09T08:07:01Z ramus joined #lisp 2021-04-09T08:07:01Z cods joined #lisp 2021-04-09T08:07:01Z dilated_dinosaur joined #lisp 2021-04-09T08:07:01Z rdd joined #lisp 2021-04-09T08:07:01Z fourier joined #lisp 2021-04-09T08:07:01Z long4mud joined #lisp 2021-04-09T08:07:01Z ramHero joined #lisp 2021-04-09T08:07:01Z jdz joined #lisp 2021-04-09T08:07:01Z vaporatorius joined #lisp 2021-04-09T08:07:01Z samebchase- joined #lisp 2021-04-09T08:07:01Z johnjay joined #lisp 2021-04-09T08:07:01Z _paul0 joined #lisp 2021-04-09T08:07:01Z quazimodo joined #lisp 2021-04-09T08:07:01Z aindilis joined #lisp 2021-04-09T08:07:01Z shka_ joined #lisp 2021-04-09T08:07:01Z jonatack joined #lisp 2021-04-09T08:07:01Z Noisytoot joined #lisp 2021-04-09T08:07:01Z MetaYan_ joined #lisp 2021-04-09T08:07:01Z ineiros joined #lisp 2021-04-09T08:07:01Z tomaw joined #lisp 2021-04-09T08:07:01Z Colleen joined #lisp 2021-04-09T08:07:01Z rigidus joined #lisp 2021-04-09T08:07:01Z jrm joined #lisp 2021-04-09T08:07:01Z ioa joined #lisp 2021-04-09T08:07:01Z Xach joined #lisp 2021-04-09T08:07:01Z tweet[m] joined #lisp 2021-04-09T08:07:01Z penguwin joined #lisp 2021-04-09T08:07:01Z jackhill joined #lisp 2021-04-09T08:07:01Z z0d joined #lisp 2021-04-09T08:07:01Z cyberlard joined #lisp 2021-04-09T08:07:01Z glamas joined #lisp 2021-04-09T08:07:01Z Shinmera joined #lisp 2021-04-09T08:07:01Z Grue` joined #lisp 2021-04-09T08:07:01Z TMA joined #lisp 2021-04-09T08:07:01Z b20n joined #lisp 2021-04-09T08:07:01Z rvirding joined #lisp 2021-04-09T08:07:01Z antoszka joined #lisp 2021-04-09T08:07:01Z norsxa joined #lisp 2021-04-09T08:07:01Z aaronm04 joined #lisp 2021-04-09T08:07:01Z vydd joined #lisp 2021-04-09T08:07:01Z winny joined #lisp 2021-04-09T08:07:01Z ffwacom joined #lisp 2021-04-09T08:07:01Z lowryder joined #lisp 2021-04-09T08:07:01Z beach joined #lisp 2021-04-09T08:07:01Z cipherchess joined #lisp 2021-04-09T08:07:01Z jcowan joined #lisp 2021-04-09T08:07:01Z Ekho joined #lisp 2021-04-09T08:07:01Z leo_song_ joined #lisp 2021-04-09T08:07:01Z ggoes joined #lisp 2021-04-09T08:07:01Z jackdaniel joined #lisp 2021-04-09T08:07:01Z astronavt joined #lisp 2021-04-09T08:07:01Z Demosthenex joined #lisp 2021-04-09T08:07:01Z easye joined #lisp 2021-04-09T08:07:01Z isoraqathedh joined #lisp 2021-04-09T08:07:01Z mgsk_ joined #lisp 2021-04-09T08:07:01Z vegai joined #lisp 2021-04-09T08:07:01Z SAL9000 joined #lisp 2021-04-09T08:07:01Z fitzsim joined #lisp 2021-04-09T08:07:01Z ravndal joined #lisp 2021-04-09T08:07:01Z thinkpad joined #lisp 2021-04-09T08:07:01Z sjl joined #lisp 2021-04-09T08:07:01Z ukari joined #lisp 2021-04-09T08:07:01Z MightyJoe joined #lisp 2021-04-09T08:07:01Z d4ryus1 joined #lisp 2021-04-09T08:07:01Z alandipert joined #lisp 2021-04-09T08:07:01Z hhdave joined #lisp 2021-04-09T08:07:01Z Posterdati joined #lisp 2021-04-09T08:07:01Z wooden joined #lisp 2021-04-09T08:07:01Z noobineer joined #lisp 2021-04-09T08:07:01Z karstensrage joined #lisp 2021-04-09T08:07:01Z perrier-jouet joined #lisp 2021-04-09T08:07:01Z andreyorst joined #lisp 2021-04-09T08:07:01Z mathrick joined #lisp 2021-04-09T08:07:01Z pranavats joined #lisp 2021-04-09T08:07:01Z casual_friday joined #lisp 2021-04-09T08:07:01Z Iolo joined #lisp 2021-04-09T08:07:01Z froggey joined #lisp 2021-04-09T08:07:01Z _death joined #lisp 2021-04-09T08:07:01Z phadthai joined #lisp 2021-04-09T08:07:01Z surabax joined #lisp 2021-04-09T08:07:01Z contrapunctus joined #lisp 2021-04-09T08:07:01Z Spawns_Carpeting joined #lisp 2021-04-09T08:07:01Z Alfr joined #lisp 2021-04-09T08:07:01Z galex-713 joined #lisp 2021-04-09T08:07:01Z dvdmuckle joined #lisp 2021-04-09T08:07:01Z lottaquestions joined #lisp 2021-04-09T08:07:01Z orivej joined #lisp 2021-04-09T08:07:01Z maiqthefalse joined #lisp 2021-04-09T08:07:01Z Nikotiini joined #lisp 2021-04-09T08:07:01Z herlocksholmes joined #lisp 2021-04-09T08:07:01Z azrazalea joined #lisp 2021-04-09T08:07:01Z markasoftware joined #lisp 2021-04-09T08:07:01Z AdmiralBumbleBee joined #lisp 2021-04-09T08:07:01Z jprajzne joined #lisp 2021-04-09T08:07:01Z vhost- joined #lisp 2021-04-09T08:07:01Z [df] joined #lisp 2021-04-09T08:07:01Z spacebat2 joined #lisp 2021-04-09T08:07:01Z add^_ joined #lisp 2021-04-09T08:07:01Z mtd_ joined #lisp 2021-04-09T08:07:01Z rogersm joined #lisp 2021-04-09T08:07:01Z spal joined #lisp 2021-04-09T08:07:01Z Papa joined #lisp 2021-04-09T08:07:01Z conjunctive joined #lisp 2021-04-09T08:07:01Z nightfly joined #lisp 2021-04-09T08:07:01Z akkad joined #lisp 2021-04-09T08:07:01Z mtd joined #lisp 2021-04-09T08:07:01Z msk joined #lisp 2021-04-09T08:07:01Z anticrisis joined #lisp 2021-04-09T08:07:01Z Elzington joined #lisp 2021-04-09T08:07:01Z ebrasca joined #lisp 2021-04-09T08:07:01Z KeyboardWorrier joined #lisp 2021-04-09T08:07:01Z zupss joined #lisp 2021-04-09T08:07:01Z dunk joined #lisp 2021-04-09T08:07:01Z scymtym joined #lisp 2021-04-09T08:07:01Z sm2n joined #lisp 2021-04-09T08:07:01Z mister_m joined #lisp 2021-04-09T08:07:01Z phantomics joined #lisp 2021-04-09T08:07:01Z cpape joined #lisp 2021-04-09T08:07:01Z m0xya joined #lisp 2021-04-09T08:07:01Z nullman joined #lisp 2021-04-09T08:07:01Z micro joined #lisp 2021-04-09T08:07:01Z MichaelRaskin joined #lisp 2021-04-09T08:07:01Z xsperry joined #lisp 2021-04-09T08:07:01Z IPmonger joined #lisp 2021-04-09T08:07:01Z X-Scale joined #lisp 2021-04-09T08:07:01Z Lord_Nightmare joined #lisp 2021-04-09T08:07:01Z mfiano joined #lisp 2021-04-09T08:07:01Z ilmu joined #lisp 2021-04-09T08:07:01Z ski joined #lisp 2021-04-09T08:07:01Z joga joined #lisp 2021-04-09T08:07:01Z mjl joined #lisp 2021-04-09T08:07:01Z avicenna joined #lisp 2021-04-09T08:07:01Z spxy joined #lisp 2021-04-09T08:07:01Z chrpape joined #lisp 2021-04-09T08:07:01Z phoe joined #lisp 2021-04-09T08:07:01Z mpontillo joined #lisp 2021-04-09T08:07:01Z splittist joined #lisp 2021-04-09T08:07:01Z grfn joined #lisp 2021-04-09T08:07:01Z bytesighs joined #lisp 2021-04-09T08:07:01Z |3b| joined #lisp 2021-04-09T08:07:01Z dale joined #lisp 2021-04-09T08:07:01Z guaqua joined #lisp 2021-04-09T08:07:01Z matijja joined #lisp 2021-04-09T08:07:01Z malm joined #lisp 2021-04-09T08:07:01Z krjt joined #lisp 2021-04-09T08:07:01Z asdflkj joined #lisp 2021-04-09T08:07:01Z moon-child joined #lisp 2021-04-09T08:07:01Z stux|RC-only joined #lisp 2021-04-09T08:07:01Z billstclair joined #lisp 2021-04-09T08:07:01Z griffinbyatt joined #lisp 2021-04-09T08:07:01Z beaky joined #lisp 2021-04-09T08:07:01Z housel joined #lisp 2021-04-09T08:07:01Z shenghi joined #lisp 2021-04-09T08:07:01Z swflint joined #lisp 2021-04-09T08:07:01Z felideon joined #lisp 2021-04-09T08:07:01Z grobe0ba joined #lisp 2021-04-09T08:07:01Z gko joined #lisp 2021-04-09T08:07:01Z thonkpod joined #lisp 2021-04-09T08:07:01Z palter joined #lisp 2021-04-09T08:07:01Z summerisle joined #lisp 2021-04-09T08:07:01Z Yardanico joined #lisp 2021-04-09T08:07:01Z kini joined #lisp 2021-04-09T08:07:01Z midre joined #lisp 2021-04-09T08:07:01Z gingerale- joined #lisp 2021-04-09T08:07:01Z yottabyte joined #lisp 2021-04-09T08:07:01Z dnm joined #lisp 2021-04-09T08:07:01Z XachX joined #lisp 2021-04-09T08:07:01Z jmiven joined #lisp 2021-04-09T08:07:01Z buoy49 joined #lisp 2021-04-09T08:07:01Z paulj joined #lisp 2021-04-09T08:07:01Z devrtz joined #lisp 2021-04-09T08:07:01Z charles` joined #lisp 2021-04-09T08:07:01Z cg505 joined #lisp 2021-04-09T08:07:01Z interruptinuse joined #lisp 2021-04-09T08:07:01Z zagura joined #lisp 2021-04-09T08:07:01Z loke joined #lisp 2021-04-09T08:07:01Z copec joined #lisp 2021-04-09T08:07:01Z acolarh joined #lisp 2021-04-09T08:07:01Z conkker joined #lisp 2021-04-09T08:07:01Z terrorjack joined #lisp 2021-04-09T08:07:01Z Cthulhux joined #lisp 2021-04-09T08:07:01Z snits joined #lisp 2021-04-09T08:07:01Z vsync joined #lisp 2021-04-09T08:07:01Z nitrix joined #lisp 2021-04-09T08:07:01Z CrazyEddy joined #lisp 2021-04-09T08:07:01Z Mandus joined #lisp 2021-04-09T08:07:01Z kingcons_ joined #lisp 2021-04-09T08:07:01Z marusich joined #lisp 2021-04-09T08:07:01Z dyelar joined #lisp 2021-04-09T08:07:01Z gendl joined #lisp 2021-04-09T08:07:01Z stylewarning joined #lisp 2021-04-09T08:07:01Z terpri_ joined #lisp 2021-04-09T08:07:01Z lukego joined #lisp 2021-04-09T08:07:01Z Odin- joined #lisp 2021-04-09T08:07:01Z madand joined #lisp 2021-04-09T08:07:01Z jasom joined #lisp 2021-04-09T08:07:01Z Grauwolf joined #lisp 2021-04-09T08:07:01Z fe[nl]ix joined #lisp 2021-04-09T08:07:01Z sebboh joined #lisp 2021-04-09T08:07:01Z knobo joined #lisp 2021-04-09T08:07:01Z jlpeters joined #lisp 2021-04-09T08:07:01Z selwyn joined #lisp 2021-04-09T08:07:01Z p_l joined #lisp 2021-04-09T08:07:01Z jonathan- joined #lisp 2021-04-09T08:07:01Z Tordek joined #lisp 2021-04-09T08:07:01Z fiddlerwoaroof joined #lisp 2021-04-09T08:07:01Z HiRE joined #lisp 2021-04-09T08:07:01Z lieven joined #lisp 2021-04-09T08:07:01Z cpt_nemo joined #lisp 2021-04-09T08:07:01Z idxu joined #lisp 2021-04-09T08:07:01Z dbotton joined #lisp 2021-04-09T08:07:01Z lonjil joined #lisp 2021-04-09T08:07:01Z Balooga joined #lisp 2021-04-09T08:07:01Z larme joined #lisp 2021-04-09T08:07:01Z mgsk joined #lisp 2021-04-09T08:07:01Z GreaseMonkey joined #lisp 2021-04-09T08:07:01Z gaze__ joined #lisp 2021-04-09T08:07:01Z CEnnis91 joined #lisp 2021-04-09T08:07:01Z seisatsu joined #lisp 2021-04-09T08:07:01Z entel joined #lisp 2021-04-09T08:07:01Z simplegauss joined #lisp 2021-04-09T08:07:01Z weber.freenode.net has set mode +o fe[nl]ix 2021-04-09T08:07:01Z creat joined #lisp 2021-04-09T08:07:01Z voidlily joined #lisp 2021-04-09T08:07:01Z l1x joined #lisp 2021-04-09T08:07:01Z bonz060_ joined #lisp 2021-04-09T08:07:01Z docl joined #lisp 2021-04-09T08:07:01Z tmf joined #lisp 2021-04-09T08:07:01Z kbtr joined #lisp 2021-04-09T08:07:01Z Ankhers joined #lisp 2021-04-09T08:07:01Z Kabriel joined #lisp 2021-04-09T08:07:01Z femi joined #lisp 2021-04-09T08:07:01Z ark joined #lisp 2021-04-09T08:07:01Z rixard joined #lisp 2021-04-09T08:07:01Z troydm joined #lisp 2021-04-09T08:07:01Z cognemo joined #lisp 2021-04-09T08:07:01Z nydel joined #lisp 2021-04-09T08:07:01Z edgar-rft joined #lisp 2021-04-09T08:07:01Z daniel1302 joined #lisp 2021-04-09T08:07:01Z grumble joined #lisp 2021-04-09T08:07:01Z nmg joined #lisp 2021-04-09T08:07:01Z drewc joined #lisp 2021-04-09T08:07:01Z mgr_ joined #lisp 2021-04-09T08:07:01Z xlei joined #lisp 2021-04-09T08:07:01Z mseddon1 joined #lisp 2021-04-09T08:07:01Z sxmx joined #lisp 2021-04-09T08:07:01Z aeth joined #lisp 2021-04-09T08:07:01Z random-nick joined #lisp 2021-04-09T08:07:01Z nullheroes joined #lisp 2021-04-09T08:07:01Z luis joined #lisp 2021-04-09T08:07:01Z mrspec joined #lisp 2021-04-09T08:07:01Z freshmaker666 joined #lisp 2021-04-09T08:07:01Z jxy joined #lisp 2021-04-09T08:07:01Z gabot joined #lisp 2021-04-09T08:07:01Z kslt1 joined #lisp 2021-04-09T08:07:01Z kagevf joined #lisp 2021-04-09T08:07:01Z bmansurov joined #lisp 2021-04-09T08:07:01Z Khisanth joined #lisp 2021-04-09T08:07:01Z russell-- joined #lisp 2021-04-09T08:07:01Z armin joined #lisp 2021-04-09T08:07:01Z minion joined #lisp 2021-04-09T08:07:01Z specbot joined #lisp 2021-04-09T08:07:01Z Adamclisi joined #lisp 2021-04-09T08:07:01Z APic joined #lisp 2021-04-09T08:07:01Z albusp joined #lisp 2021-04-09T08:07:01Z amk joined #lisp 2021-04-09T08:07:01Z null_ptr joined #lisp 2021-04-09T08:07:01Z elflng joined #lisp 2021-04-09T08:07:01Z vv8 joined #lisp 2021-04-09T08:07:01Z eMBee joined #lisp 2021-04-09T08:07:01Z samebchase joined #lisp 2021-04-09T08:07:01Z natter joined #lisp 2021-04-09T08:07:01Z gitgoood joined #lisp 2021-04-09T08:07:01Z wxie joined #lisp 2021-04-09T08:07:01Z rumbler31 joined #lisp 2021-04-09T08:07:01Z narimiran joined #lisp 2021-04-09T08:07:01Z sauvin joined #lisp 2021-04-09T08:07:01Z hjudt joined #lisp 2021-04-09T08:07:01Z aartaka joined #lisp 2021-04-09T08:07:06Z SlashLife quit (Max SendQ exceeded) 2021-04-09T08:07:06Z tweet[m] quit (Ping timeout: 245 seconds) 2021-04-09T08:07:06Z yonkunas joined #lisp 2021-04-09T08:07:06Z _whitelogger joined #lisp 2021-04-09T08:07:06Z eschatologist joined #lisp 2021-04-09T08:07:06Z Blkt joined #lisp 2021-04-09T08:07:06Z ecraven joined #lisp 2021-04-09T08:07:06Z gum joined #lisp 2021-04-09T08:07:06Z xi- joined #lisp 2021-04-09T08:07:06Z flip214 joined #lisp 2021-04-09T08:07:06Z jibanes joined #lisp 2021-04-09T08:07:06Z theBlackDragon joined #lisp 2021-04-09T08:07:06Z nckx joined #lisp 2021-04-09T08:07:07Z alfred188 joined #lisp 2021-04-09T08:07:07Z Lord_of_Life joined #lisp 2021-04-09T08:07:09Z entel quit (Ping timeout: 250 seconds) 2021-04-09T08:07:10Z diamondbond joined #lisp 2021-04-09T08:07:11Z X-Scale quit (Ping timeout: 240 seconds) 2021-04-09T08:07:15Z frost-lab joined #lisp 2021-04-09T08:07:24Z thecoffemaker joined #lisp 2021-04-09T08:07:32Z epony joined #lisp 2021-04-09T08:07:35Z attila_lendvai is now known as Guest64712 2021-04-09T08:07:42Z jeosol joined #lisp 2021-04-09T08:07:44Z pent joined #lisp 2021-04-09T08:07:54Z stylewarning quit (Ping timeout: 245 seconds) 2021-04-09T08:08:13Z conjunctive quit (Ping timeout: 252 seconds) 2021-04-09T08:08:16Z motersen joined #lisp 2021-04-09T08:08:16Z hendursaga joined #lisp 2021-04-09T08:08:16Z cantstanya joined #lisp 2021-04-09T08:08:16Z ech joined #lisp 2021-04-09T08:08:16Z luckless_ joined #lisp 2021-04-09T08:08:16Z zooey joined #lisp 2021-04-09T08:08:16Z gxt joined #lisp 2021-04-09T08:08:16Z maxwilliamson joined #lisp 2021-04-09T08:08:16Z Aurora_v_kosmose joined #lisp 2021-04-09T08:08:16Z madage joined #lisp 2021-04-09T08:08:17Z chewbranca quit (Ping timeout: 245 seconds) 2021-04-09T08:08:31Z FennecCode joined #lisp 2021-04-09T08:08:39Z Codaraxis joined #lisp 2021-04-09T08:08:52Z norsxa quit (Ping timeout: 246 seconds) 2021-04-09T08:08:56Z theruran_ joined #lisp 2021-04-09T08:08:59Z chewbranca joined #lisp 2021-04-09T08:09:08Z pve joined #lisp 2021-04-09T08:09:32Z jsatk joined #lisp 2021-04-09T08:09:33Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-09T08:09:39Z vegansbane6963 joined #lisp 2021-04-09T08:09:39Z physpi joined #lisp 2021-04-09T08:09:41Z stylewarning joined #lisp 2021-04-09T08:09:46Z physpi quit (Excess Flood) 2021-04-09T08:09:59Z parisienne joined #lisp 2021-04-09T08:10:07Z norsxa joined #lisp 2021-04-09T08:10:08Z drmeister joined #lisp 2021-04-09T08:10:10Z conjunctive joined #lisp 2021-04-09T08:10:38Z physpi joined #lisp 2021-04-09T08:10:49Z hendursa1 joined #lisp 2021-04-09T08:11:33Z gitgoood quit (Remote host closed the connection) 2021-04-09T08:12:00Z X-Scale joined #lisp 2021-04-09T08:13:16Z teej joined #lisp 2021-04-09T08:14:11Z ChoHag joined #lisp 2021-04-09T08:14:35Z entel joined #lisp 2021-04-09T08:20:03Z frost-lab quit (Changing host) 2021-04-09T08:20:03Z frost-lab joined #lisp 2021-04-09T08:20:03Z pent quit (Changing host) 2021-04-09T08:20:03Z pent joined #lisp 2021-04-09T08:20:04Z FennecCode quit (Changing host) 2021-04-09T08:20:04Z FennecCode joined #lisp 2021-04-09T08:20:04Z theruran_ quit (Changing host) 2021-04-09T08:20:04Z theruran_ joined #lisp 2021-04-09T08:20:04Z jsatk quit (Changing host) 2021-04-09T08:20:04Z jsatk joined #lisp 2021-04-09T08:20:04Z stylewarning quit (Changing host) 2021-04-09T08:20:04Z stylewarning joined #lisp 2021-04-09T08:20:04Z drmeister quit (Changing host) 2021-04-09T08:20:04Z drmeister joined #lisp 2021-04-09T08:20:04Z parisienne quit (Changing host) 2021-04-09T08:20:04Z parisienne joined #lisp 2021-04-09T08:20:04Z conjunctive quit (Changing host) 2021-04-09T08:20:04Z conjunctive joined #lisp 2021-04-09T08:20:04Z physpi quit (Changing host) 2021-04-09T08:20:04Z physpi joined #lisp 2021-04-09T08:20:04Z norsxa quit (Changing host) 2021-04-09T08:20:04Z norsxa joined #lisp 2021-04-09T08:20:05Z teej quit (Changing host) 2021-04-09T08:20:05Z teej joined #lisp 2021-04-09T08:20:14Z anticrisis quit (Read error: Connection reset by peer) 2021-04-09T08:21:47Z Lycurgus joined #lisp 2021-04-09T08:22:51Z thecoffemaker quit (Ping timeout: 265 seconds) 2021-04-09T08:23:52Z ramHero quit (Quit: Not loggedIn) 2021-04-09T08:24:21Z ech quit (Ping timeout: 240 seconds) 2021-04-09T08:26:21Z thecoffemaker joined #lisp 2021-04-09T08:26:31Z ramHero joined #lisp 2021-04-09T08:27:42Z Guest64712 quit (Read error: Connection reset by peer) 2021-04-09T08:27:42Z attila_lendvai_ joined #lisp 2021-04-09T08:28:41Z contrapunctus left #lisp 2021-04-09T08:30:42Z amb007 joined #lisp 2021-04-09T08:30:42Z amb007 quit (Read error: Connection reset by peer) 2021-04-09T08:31:02Z amb007 joined #lisp 2021-04-09T08:31:08Z contrapunctus joined #lisp 2021-04-09T08:31:49Z Lycurgus quit (Quit: Exeunt) 2021-04-09T08:37:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-09T08:38:53Z amb007 joined #lisp 2021-04-09T08:39:16Z ms[m] joined #lisp 2021-04-09T08:40:15Z thinkpad quit (Ping timeout: 265 seconds) 2021-04-09T08:40:45Z thinkpad joined #lisp 2021-04-09T08:49:08Z SlashLife joined #lisp 2021-04-09T08:49:08Z 5EXAABHZ9 joined #lisp 2021-04-09T08:49:08Z Major_Biscuit joined #lisp 2021-04-09T08:49:08Z _jrjsmrtn joined #lisp 2021-04-09T08:49:08Z zaquest joined #lisp 2021-04-09T08:49:08Z m00natic joined #lisp 2021-04-09T08:49:08Z karlosz joined #lisp 2021-04-09T08:49:08Z gigetoo joined #lisp 2021-04-09T08:49:08Z hineios joined #lisp 2021-04-09T08:49:08Z thermo joined #lisp 2021-04-09T08:49:08Z gpiero joined #lisp 2021-04-09T08:49:08Z tessier joined #lisp 2021-04-09T08:49:08Z lansiir joined #lisp 2021-04-09T08:49:08Z caoliver joined #lisp 2021-04-09T08:49:08Z borodust joined #lisp 2021-04-09T08:49:08Z walex joined #lisp 2021-04-09T08:49:08Z jgkamat joined #lisp 2021-04-09T08:49:08Z rotty joined #lisp 2021-04-09T08:49:08Z Patternmaster joined #lisp 2021-04-09T08:49:08Z jfb4 joined #lisp 2021-04-09T08:49:08Z mood_ joined #lisp 2021-04-09T08:49:19Z Major_Biscuit quit (Max SendQ exceeded) 2021-04-09T08:49:47Z Major_Biscuit joined #lisp 2021-04-09T08:52:00Z vaporatorius__ joined #lisp 2021-04-09T08:52:18Z vaporatorius quit (Ping timeout: 240 seconds) 2021-04-09T08:53:06Z m00natic quit (Ping timeout: 260 seconds) 2021-04-09T08:56:21Z karlosz quit (Quit: karlosz) 2021-04-09T08:58:30Z infra_red[m] joined #lisp 2021-04-09T08:58:30Z kreyren joined #lisp 2021-04-09T08:58:31Z dmiles[m] joined #lisp 2021-04-09T08:58:31Z MrtnDk[m] joined #lisp 2021-04-09T08:58:31Z Gnuxie[m] joined #lisp 2021-04-09T08:58:31Z etimmons joined #lisp 2021-04-09T08:58:31Z quanta[m] joined #lisp 2021-04-09T08:58:31Z dieggsy joined #lisp 2021-04-09T08:58:31Z rodentrabies joined #lisp 2021-04-09T08:58:31Z katco joined #lisp 2021-04-09T08:58:31Z ThaEwat joined #lisp 2021-04-09T08:58:31Z tweet[m] joined #lisp 2021-04-09T08:58:31Z susam joined #lisp 2021-04-09T08:58:31Z e[m]1 joined #lisp 2021-04-09T08:58:31Z arcontethegreat[ joined #lisp 2021-04-09T08:58:32Z loke[m] joined #lisp 2021-04-09T08:58:32Z no-defun-allowed joined #lisp 2021-04-09T08:58:32Z Theora[m] joined #lisp 2021-04-09T08:58:38Z JCDentonreportin joined #lisp 2021-04-09T08:58:38Z agam_b[m] joined #lisp 2021-04-09T09:00:41Z IPmonger quit (Ping timeout: 240 seconds) 2021-04-09T09:00:43Z m00natic joined #lisp 2021-04-09T09:02:05Z IPmonger joined #lisp 2021-04-09T09:05:03Z kevingal joined #lisp 2021-04-09T09:06:53Z ljavorsk joined #lisp 2021-04-09T09:10:24Z vegansbane6963 quit (Ping timeout: 245 seconds) 2021-04-09T09:12:54Z Lord_of_Life quit (Excess Flood) 2021-04-09T09:13:21Z Lord_of_Life joined #lisp 2021-04-09T09:15:22Z lotuseater joined #lisp 2021-04-09T09:16:13Z klltkr joined #lisp 2021-04-09T09:28:09Z vaporatorius__ quit (Ping timeout: 252 seconds) 2021-04-09T09:28:10Z ech joined #lisp 2021-04-09T09:31:57Z maxwilliamson quit (Ping timeout: 240 seconds) 2021-04-09T09:32:44Z ikrabbe: Good morning everyone 2021-04-09T09:32:54Z no-defun-allowed: Good morning ikrabbe! 2021-04-09T09:33:37Z vegansbane6963 joined #lisp 2021-04-09T09:33:55Z ikrabbe: I often try to write macros that call functions from their arguments: (defmacro mac (x) `(,x y)) 2021-04-09T09:35:10Z ikrabbe: I can guard this call with fboundp of course (defmacro mac (x) `(if (fboundp ',x) (,x y)) 2021-04-09T09:36:23Z ikrabbe: ) but this only works for defun'ed objects, not for (labels ((x () )))) (does it work for (lambdas?)) 2021-04-09T09:37:22Z ikrabbe: Is their any way to check if ,x is a function defined by labels? 2021-04-09T09:37:40Z lotuseater: or try with APPLY/FUNCALL 2021-04-09T09:37:54Z no-defun-allowed: In the case of the MAC you wrote, the implementation will usually signal a WARNING at compile-time if the function is not bound, so you shouldn't have to worry about it. 2021-04-09T09:38:57Z no-defun-allowed: Though I wonder if there is something you can do with the CLtL2 environment introspection extension which many implementations provide (given that FBOUNDP does not take an environment argument, but you can get an environment with that information from a macro). 2021-04-09T09:39:37Z skapata quit (Remote host closed the connection) 2021-04-09T09:41:04Z vaporatorius joined #lisp 2021-04-09T09:41:04Z vaporatorius quit (Changing host) 2021-04-09T09:41:04Z vaporatorius joined #lisp 2021-04-09T09:41:12Z logand joined #lisp 2021-04-09T09:42:05Z ikrabbe: I wonder that there is obviously no way to do it. 2021-04-09T09:42:50Z ikrabbe: though possibly through environment introspection 2021-04-09T09:44:38Z no-defun-allowed: ikrabbe: This implementation of MAC generates (redundant) warnings for unbound function names: https://plaster.tymoon.eu/view/2381 2021-04-09T09:45:10Z d4ryus1 is now known as d4ryus 2021-04-09T09:47:15Z no-defun-allowed: That might only work on SBCL, but I found a trivial-cltl2 system on Quicklisp which should be more portable. 2021-04-09T09:47:19Z edgar-rft: A macro-lambda-list has an optional &environment parameter to look-up lexically bound functtions (flet, labels, etc.) but I have no clue how that works. 2021-04-09T09:48:06Z vegansbane6963 quit (Ping timeout: 240 seconds) 2021-04-09T09:59:04Z ikrabbe: no-defun-allowed: What I actually miss is a branch for cond, when I parse such arguments: (say "Good morning" (user 10)) 2021-04-09T09:59:56Z ikrabbe: (defmacro say (&rest x) (mapcar (lambda (o) (typecase o (sequence (if t `(,(car o) ,@(cdr o))) (print o)) (t (print o)))) x)) 2021-04-09T10:01:06Z ikrabbe: This is an error of course, as "Good morning" is a sequence also. I need a cond statement if (car o) is callable. 2021-04-09T10:02:33Z no-defun-allowed: Would you not want to test for the LIST type instead of SEQUENCE? And then I suppose (equal `(,(car o) ,@(cdr o)) o) 2021-04-09T10:04:00Z heisig joined #lisp 2021-04-09T10:07:04Z OlCe joined #lisp 2021-04-09T10:08:22Z ikrabbe: no-defun-allowed: list or sequence, the problem of the sequence can easily be overcome by deciding on strings before. My problem is still the missing condition. 2021-04-09T10:09:12Z rigidus quit (Remote host closed the connection) 2021-04-09T10:09:55Z orivej quit (Ping timeout: 248 seconds) 2021-04-09T10:10:43Z attila_lendvai_ quit (Ping timeout: 276 seconds) 2021-04-09T10:11:20Z ramHero quit (Remote host closed the connection) 2021-04-09T10:11:38Z vegansbane6963 joined #lisp 2021-04-09T10:11:52Z ikrabbe: https://plaster.tymoon.eu/view/2382#2382 2021-04-09T10:12:54Z silasfox joined #lisp 2021-04-09T10:15:42Z no-defun-allowed: Are you trying to print at macroexpansion time? Local functions will not exist at compile time and cannot be called. 2021-04-09T10:24:46Z jeosol quit (Quit: Connection closed) 2021-04-09T10:32:07Z frgo quit (Remote host closed the connection) 2021-04-09T10:32:31Z frgo joined #lisp 2021-04-09T10:35:50Z narimiran quit (Ping timeout: 268 seconds) 2021-04-09T10:36:10Z ikrabbe: no, that was just too short, but I begin to understand, that I should define all callable functions for a macro expansion. 2021-04-09T10:37:00Z edgar-rft: I just was going to say "why does that thing to be a macro at all when a function will do the same". 2021-04-09T10:38:07Z kevingal_ joined #lisp 2021-04-09T10:38:45Z orivej joined #lisp 2021-04-09T10:38:48Z edgar-rft: *need* to be a macro... 2021-04-09T10:39:34Z kevingal quit (Ping timeout: 245 seconds) 2021-04-09T10:44:27Z ikrabbe: it does not need to be a macro. But then I need to call it as (say '("Good morning" (user 10))) 2021-04-09T10:46:18Z ikrabbe: I just wanted to shorten the example 2021-04-09T10:51:20Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-09T10:55:14Z edgar-rft: It was not meant as a negative critic, I only wanted to know if there is some reason that I can't see from the example code. Writing macros needs to care a lot more about corner cases than writing functions, as you already found out youself :-) 2021-04-09T10:57:47Z no-defun-allowed: Does it? You could write (defun say (&rest r) (mapcar #'print r)) to get (say "Good morning" (user 10)) to print "Good morning" then the result of (user 10) 2021-04-09T11:04:19Z galex-713 quit (Ping timeout: 248 seconds) 2021-04-09T11:05:33Z ech quit (Ping timeout: 240 seconds) 2021-04-09T11:07:05Z ikrabbe: no-defun-allowed: actually print is just the test application. Depending on the situation I want (user 10) to be evaluated later. For the terminal it might be (print (user 10)), or in clim it could be (write-string (user 10)) or (present (user 10) 'username) 2021-04-09T11:07:38Z ikrabbe: Here you can see the the present call is affected by the object. 2021-04-09T11:08:24Z ikrabbe: when i do (defun say (&rest r)) the evaluation of (user 10) will likely be a string, but I lost the information that it is a user 2021-04-09T11:25:41Z lotuseater: so you could use a struct or class for users :) 2021-04-09T11:26:04Z gareppa joined #lisp 2021-04-09T11:29:12Z gareppa quit (Remote host closed the connection) 2021-04-09T11:29:38Z mmontone joined #lisp 2021-04-09T11:30:05Z galex-713 joined #lisp 2021-04-09T11:30:13Z mmontone: Hello. Does anyone know if there's a way of getting the list of packages loaded by a particular ASDF system? 2021-04-09T11:31:28Z ikrabbe: lotuseater: I could do many things, but I want to decide what to do, when I know anything about the output medium. When I write such a say statement in a html context, I might want to link to a user account... and user is just a simple example of what is possible 2021-04-09T11:35:03Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-09T11:36:21Z Xach: mmontone: packages or systems? 2021-04-09T11:36:24Z lotuseater: ok 2021-04-09T11:37:12Z mmontone: @xach I need the packages loaded by a particular ASDF system. 2021-04-09T11:37:55Z Xach: mmontone: i don't believe there is any easy way. a system may cause other systems to load that define more and more packages that aren't directly loaded by that system. 2021-04-09T11:37:59Z mmontone: I know it is probably not possible. 2021-04-09T11:38:20Z Xach: mmontone: but you could look at interceding at certain points and comparing snapshots of (list-all-packages) 2021-04-09T11:40:27Z mmontone: I thought perhaps there was some trick, like parsing ASDF system and files, or perhaps from swank information, but I don't think there's something. And I need it to be fast and lightweight, I don't want to trigger some file system processing or something like that, because I'm trying to implement an on-line documentation tool. 2021-04-09T11:41:06Z Xach: mmontone: like looking through sources for defsystem forms? 2021-04-09T11:41:18Z waleee-cl joined #lisp 2021-04-09T11:41:29Z mmontone: Yes. But if there's better than that, I'd like to know :) 2021-04-09T11:41:41Z vegansbane6963 joined #lisp 2021-04-09T11:41:59Z mmontone: But I don't think so ... 2021-04-09T11:42:01Z Xach: mmontone: i don't think there is any way aside from loading the asdf system and looking at the state of the package system. 2021-04-09T11:42:26Z Xach: you could do that with a CL that has a hook to tell you when a new package is made. 2021-04-09T11:42:42Z Xach: or any number of other hacks 2021-04-09T11:42:53Z mmontone: I'm working with already loaded ASDF systems. 2021-04-09T11:43:47Z mmontone: Yes..probably not possible. I was just asking just in case. Thanks for the input Xach. 2021-04-09T11:46:32Z rodriga joined #lisp 2021-04-09T11:46:44Z jcowan: *macroexpand-hook* is presumably the way to look for defsystems dynamically, but 2021-04-09T11:47:02Z Xach: mmontone: another option is to look at the xref data for packages, and see if the source file is in a particular known system 2021-04-09T11:47:10Z Xach: make-package complicates things 2021-04-09T11:47:25Z mmontone: yes, that would be close. I could approach it like that ... 2021-04-09T11:48:41Z jcowan: s/, but// 2021-04-09T11:49:32Z mmontone: jcowan: I don't understand what you mean about *macroexpand-hook* 2021-04-09T11:49:37Z frost-lab quit (Quit: Connection closed) 2021-04-09T11:58:02Z mmontone: I'm using Emacs Info mode to display Common Lisp documentation on the fly. 2021-04-09T11:58:07Z mmontone: https://drive.google.com/file/d/17uGr0B1OVc6nX9f73p3Hhqn5jRSx6bY8/view?usp=sharing 2021-04-09T11:58:21Z mmontone: I'm having some fun with this. There are nice possibilities. 2021-04-09T11:59:39Z lotuseater: oh cool 2021-04-09T12:01:06Z mmontone: Occurred to me when I was using slime completion to see what some package provided, and I couldn't see much from there, docstrings, etc. So I thought that was not the right way, there could be better ... 2021-04-09T12:02:06Z lotuseater: i set *MACROEXPAND-HOOK* to NIL, just for the fun and look what it will say 2021-04-09T12:02:10Z aartaka quit (Ping timeout: 268 seconds) 2021-04-09T12:03:36Z aartaka joined #lisp 2021-04-09T12:05:39Z g_SG joined #lisp 2021-04-09T12:06:14Z Bike joined #lisp 2021-04-09T12:11:25Z g_SG quit (Ping timeout: 268 seconds) 2021-04-09T12:13:11Z rumbler31 quit (Remote host closed the connection) 2021-04-09T12:13:26Z rumbler31 joined #lisp 2021-04-09T12:17:33Z galex-713 joined #lisp 2021-04-09T12:22:12Z mmmattyx joined #lisp 2021-04-09T12:26:12Z thinkpad quit (Ping timeout: 258 seconds) 2021-04-09T12:30:43Z renzhi joined #lisp 2021-04-09T12:31:00Z Aurora_v_kosmose quit (Remote host closed the connection) 2021-04-09T12:31:36Z Aurora_v_kosmose joined #lisp 2021-04-09T12:34:47Z 5EXAABHZ9 quit (Quit: Aloha!) 2021-04-09T12:35:33Z stux|RC joined #lisp 2021-04-09T12:35:50Z thinkpad joined #lisp 2021-04-09T12:38:59Z renzhi quit (Ping timeout: 260 seconds) 2021-04-09T12:42:37Z galex-713_ joined #lisp 2021-04-09T12:42:43Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-09T12:44:20Z thinkpad quit (Ping timeout: 246 seconds) 2021-04-09T12:45:08Z thinkpad joined #lisp 2021-04-09T12:48:46Z galex-713_ quit (Ping timeout: 252 seconds) 2021-04-09T12:49:32Z narimiran joined #lisp 2021-04-09T12:54:42Z wsinatra joined #lisp 2021-04-09T13:07:58Z johnjay quit (Ping timeout: 240 seconds) 2021-04-09T13:11:19Z drl joined #lisp 2021-04-09T13:11:31Z johnjay joined #lisp 2021-04-09T13:14:33Z drl: Why is this no longer working: (let ((target-email-address (concatenate 'string "to=" (getf record :e-mail)))) 2021-04-09T13:14:34Z drl: (uiop:run-program "/home/l/Downloads/thunderbird/thunderbird" (list "-compose" target-email-address))) 2021-04-09T13:15:44Z drl: This works (from the command line): [~]% Downloads/thunderbird/thunderbird "-compose" "to=FortChicag@aol.com" 2021-04-09T13:16:25Z Bike: in what way is it not working and what does target-email-address end up as 2021-04-09T13:16:47Z hjudt quit (Ping timeout: 268 seconds) 2021-04-09T13:18:11Z johnjay quit (Ping timeout: 240 seconds) 2021-04-09T13:18:27Z drl: Bike, I get "odd number of &KEY arguments" error. 2021-04-09T13:18:42Z Bike: on what function 2021-04-09T13:19:11Z Bike: wlel, it looks like run-program takes keyword arguments 2021-04-09T13:19:37Z Bike: i think you might mean (uiop:run-program (list "/home..." "-compose" target-email-address))? 2021-04-09T13:19:38Z orivej quit (Ping timeout: 240 seconds) 2021-04-09T13:20:45Z drl: This was working until I upgraded to a new version of Thunderbird. 2021-04-09T13:21:16Z Bike: i don't know what to tell you. as far as i can tell this is how run-program has worked since 2017 2021-04-09T13:21:16Z johnjay joined #lisp 2021-04-09T13:21:35Z Bike: https://common-lisp.net/project/asdf/uiop.html#UIOP_002fRUN_002dPROGRAM here is the documentation's description 2021-04-09T13:22:22Z _death: maybe drl "switched" from sb-ext to uiop, thinking they have the same interface 2021-04-09T13:22:57Z rumbler31 quit (Remote host closed the connection) 2021-04-09T13:23:43Z rumbler31 joined #lisp 2021-04-09T13:23:46Z drl: Bike, thanks. I'll check that out. 2021-04-09T13:25:03Z galex-713 joined #lisp 2021-04-09T13:29:31Z drl: _death, no, I didn't switch from sb-ext to uiop. 2021-04-09T13:30:28Z phoe: (uiop:run-program "..." (list ...)) isn't a valid call though 2021-04-09T13:30:31Z phoe: weird stuff if it worked 2021-04-09T13:34:33Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-09T13:35:04Z klltkr joined #lisp 2021-04-09T13:35:21Z klltkr quit (Client Quit) 2021-04-09T13:39:01Z drl: Bike, what you said I might mean works. Thank you very much. 2021-04-09T13:42:55Z cantstanya quit (Remote host closed the connection) 2021-04-09T13:43:52Z drl: I don't remember making any changes, but maybe I did. 2021-04-09T13:46:21Z Josh_2 joined #lisp 2021-04-09T13:49:54Z karstensrage quit (Quit: ZNC - http://znc.in) 2021-04-09T13:51:47Z ramHero joined #lisp 2021-04-09T13:59:20Z ljavorsk quit (Ping timeout: 268 seconds) 2021-04-09T14:02:48Z drl quit (Quit: Leaving) 2021-04-09T14:07:29Z cage_ joined #lisp 2021-04-09T14:09:34Z thecoffemaker quit (Ping timeout: 245 seconds) 2021-04-09T14:11:36Z johnjay quit (Ping timeout: 260 seconds) 2021-04-09T14:11:47Z rumbler31_ joined #lisp 2021-04-09T14:13:26Z thecoffemaker joined #lisp 2021-04-09T14:13:36Z rumbler31_: hey all, trying out ql:bundle-systems. I am trying to make a reproducible build of a local-project, and I've managed to make a bundle of its dependencies (but I can't seem to include the local-project itself). If I were to load the bundle.lisp, how do I then load the local-project without loading quicklisp? 2021-04-09T14:14:31Z johnjay joined #lisp 2021-04-09T14:15:09Z gxt quit (Ping timeout: 240 seconds) 2021-04-09T14:15:15Z logand quit (Read error: Connection reset by peer) 2021-04-09T14:15:29Z jackdaniel: rumbler31_: this function has a keyword argument include-local-projects 2021-04-09T14:16:01Z rumbler31_: I see that now hehe 2021-04-09T14:16:24Z logand joined #lisp 2021-04-09T14:16:52Z rumbler31_: its still complaining that it can't find my local project 2021-04-09T14:17:22Z gxt joined #lisp 2021-04-09T14:17:53Z logand quit (Remote host closed the connection) 2021-04-09T14:20:40Z seok joined #lisp 2021-04-09T14:23:50Z hypercube joined #lisp 2021-04-09T14:24:48Z cosimone joined #lisp 2021-04-09T14:26:29Z silasfox quit (Quit: Connection closed) 2021-04-09T14:26:37Z hypercube quit (Remote host closed the connection) 2021-04-09T14:30:09Z hypercube joined #lisp 2021-04-09T14:32:28Z rumbler31_: seems like a local-projects folder is being created in the bundle but the original local-project filde ris not being moved in. I'll see if I can debug that 2021-04-09T14:35:11Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-09T14:41:43Z ikrabbe quit (Ping timeout: 260 seconds) 2021-04-09T14:43:09Z rumbler31_: I swear I did this exact same thing a moment ago but now its working for some reason 2021-04-09T14:47:49Z yitzi joined #lisp 2021-04-09T14:51:46Z rumbler31_: copying all of local projects seems excessive but I suppose the answer to that would be "patches welcome" 2021-04-09T14:52:03Z charles` quit (Ping timeout: 258 seconds) 2021-04-09T14:55:30Z mrchampion joined #lisp 2021-04-09T14:58:51Z Xach: rumbler31_: there isn't an automatic way, but you could copy your local project into the bundle's local-projects directory. 2021-04-09T14:59:09Z Xach: that is loaded automatically but does not involve quicklisp 2021-04-09T14:59:10Z rumbler31_: I just did that and things seem to work. thanks! 2021-04-09T15:03:07Z Xach: rumbler31_: glad to see a bundle user! 2021-04-09T15:03:41Z rumbler31_: its been a while. used it at my last company to check in a source tree that my coworkers could rebuild with make. its been years so I'm standing that up again from whole cloth 2021-04-09T15:03:51Z rumbler31_: but the bundle thing is the hardest work for sure haha 2021-04-09T15:03:55Z rumbler31_: so thanks for that 2021-04-09T15:04:15Z semz joined #lisp 2021-04-09T15:05:57Z froggey quit (Ping timeout: 265 seconds) 2021-04-09T15:10:32Z rixard quit (Read error: Connection reset by peer) 2021-04-09T15:13:16Z ech joined #lisp 2021-04-09T15:13:57Z froggey joined #lisp 2021-04-09T15:17:10Z rixard joined #lisp 2021-04-09T15:21:01Z wsinatra quit (Ping timeout: 260 seconds) 2021-04-09T15:22:38Z skapata joined #lisp 2021-04-09T15:23:15Z notzmv quit (Ping timeout: 260 seconds) 2021-04-09T15:23:47Z yitzi quit (Quit: yitzi) 2021-04-09T15:26:07Z aartaka quit (Read error: Connection reset by peer) 2021-04-09T15:26:13Z aartaka_d joined #lisp 2021-04-09T15:29:01Z heisig quit (Quit: Leaving) 2021-04-09T15:36:19Z rumbler31_: does prefixing an as-of-yet-uninterned-sybol with #: prevent it from being interned? 2021-04-09T15:38:50Z raeda quit (Quit: Leaving) 2021-04-09T15:39:27Z Bike: #:foo is read as a new symbol that is not interned in any package. 2021-04-09T15:43:27Z wsinatra joined #lisp 2021-04-09T15:45:19Z jcowan: rumbler31_: So if foo already exists, the new #:foo is distinct from it in the sense of eql. 2021-04-09T15:47:11Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-09T15:51:04Z DHARMAKAYA joined #lisp 2021-04-09T15:55:12Z rumbler31_: hmm ok 2021-04-09T15:56:07Z rumbler31_: I'm kinda dumb right now. why is it a good practice to use that prefix when specifying, say, quicklisp packages to load. And also, whats the preferred library for doing things like copying files? UIOP? 2021-04-09T15:56:20Z rumbler31_: and by the way thanks everyone for your help 2021-04-09T15:57:39Z jdz: I use strings with Quicklisp. 2021-04-09T15:57:50Z judson_ joined #lisp 2021-04-09T15:58:08Z semz: Because it won't intern random symbols into your current package. 2021-04-09T15:58:16Z jdz: But it basically boils down to interning arbitrary symbols in whatever package the user currently happens to be. 2021-04-09T16:00:32Z long4mud quit (Read error: Connection reset by peer) 2021-04-09T16:06:46Z beach: rumbler31_: More important than the random interning is that you send a clear signal to the person reading your code, that the package of the symbol is of no importance, and the only important thing is the name. 2021-04-09T16:09:04Z remexre: If I want to define the same :around on a whole group of generic functions, what's the right way to do this? is there some mop trick, or am I better off just using macros 2021-04-09T16:09:41Z varjagg joined #lisp 2021-04-09T16:10:19Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-09T16:11:36Z beach: mop method-generic-function 2021-04-09T16:11:37Z specbot: http://metamodular.com/CLOS-MOP/method-generic-function.html 2021-04-09T16:11:57Z beach: A method can be present on at most one generic function, so you have to make distinct methods. 2021-04-09T16:12:33Z skapata quit (Remote host closed the connection) 2021-04-09T16:12:40Z slyrus joined #lisp 2021-04-09T16:13:14Z remexre: if I adjust my wording to, "define an :around on any generic function (that opts into it, perhaps with a special method combination?)" is that more possible? 2021-04-09T16:14:35Z beach: I mean, you can certainly do all this programmatically. After all, the DEFMETHOD form expands to some calls to functions. 2021-04-09T16:14:50Z beach: But it becomes messy because of MAKE-METHOD-LAMBDA. 2021-04-09T16:15:16Z beach: So I would probably create a macro. 2021-04-09T16:15:38Z remexre: okay, thanks 2021-04-09T16:15:49Z long4mud joined #lisp 2021-04-09T16:22:28Z varjagg is now known as varjag 2021-04-09T16:22:56Z waleee-cl joined #lisp 2021-04-09T16:31:11Z DHARMAKAYA quit (Ping timeout: 240 seconds) 2021-04-09T16:31:15Z rogersm quit (Quit: Leaving...) 2021-04-09T16:31:15Z Major_Biscuit quit (Quit: WeeChat 3.0.1) 2021-04-09T16:37:30Z ikrabbe joined #lisp 2021-04-09T16:41:31Z cage_: hi! why (cl-ppcre:split "\\n" (format nil "~2%s")): => ("" "" "s") but (cl-ppcre:split "\\n" (format nil "~2%")); => nil ? 2021-04-09T16:42:06Z cage_: is this sort of a bug? 2021-04-09T16:44:56Z jackdaniel: I once had a problem and I thought: I know, I will use regexps! Then I had two problems. 2021-04-09T16:45:22Z rumbler31_: its not clear to me what the argument to asdf:system-weakly-depends-on should be. I've tried '#:project-name and "project-name" 2021-04-09T16:45:37Z jackdaniel: weak dependencies are deprecated in asdf 2021-04-09T16:46:04Z supercoven joined #lisp 2021-04-09T16:46:05Z rumbler31_: er, then... the other, system-depends-on, that's the one I'm trying to use 2021-04-09T16:46:59Z jackdaniel: try (asdf:system-depends-on (asdf:find-system "mcclim")) 2021-04-09T16:47:33Z gxt quit (Ping timeout: 240 seconds) 2021-04-09T16:48:41Z rumbler31_: jackdaniel: you're the best 2021-04-09T16:49:04Z mindCrime_ joined #lisp 2021-04-09T16:49:34Z jackdaniel: I know :) 2021-04-09T16:51:03Z cage_: jackdaniel, :D 2021-04-09T16:52:01Z rumbler31_: cage_: good question 2021-04-09T16:52:05Z yitzi joined #lisp 2021-04-09T16:53:13Z yitzi quit (Client Quit) 2021-04-09T16:53:39Z rumbler31_: cage_: do you need to do that kind of split, or is this example code 2021-04-09T16:55:07Z cage_: i have wrapped this code into a function named 'split-lines' 2021-04-09T16:56:19Z cage_: just syntactic sugar and nothing more 2021-04-09T16:59:01Z gigetoo quit (Ping timeout: 260 seconds) 2021-04-09T17:02:46Z gigetoo joined #lisp 2021-04-09T17:03:15Z slyrus quit (Remote host closed the connection) 2021-04-09T17:03:33Z cage_: i have opened an issue report on github about that behaviour 2021-04-09T17:03:51Z slyrus joined #lisp 2021-04-09T17:04:29Z Oladon joined #lisp 2021-04-09T17:04:41Z cage_: this is tangential, but i'd love if there was a discourse (web forum) instance about lisp, maybe hosted on common-lisp.net 2021-04-09T17:05:17Z tophullyte joined #lisp 2021-04-09T17:08:00Z silasfox joined #lisp 2021-04-09T17:08:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-09T17:09:26Z tophullyte quit (Remote host closed the connection) 2021-04-09T17:09:33Z phossil joined #lisp 2021-04-09T17:09:48Z karlosz joined #lisp 2021-04-09T17:10:11Z slyrus joined #lisp 2021-04-09T17:11:27Z luckless_ quit (Remote host closed the connection) 2021-04-09T17:12:13Z luckless_ joined #lisp 2021-04-09T17:15:58Z wooden quit (Ping timeout: 265 seconds) 2021-04-09T17:16:11Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-09T17:17:37Z wooden joined #lisp 2021-04-09T17:17:38Z wooden quit (Changing host) 2021-04-09T17:17:38Z wooden joined #lisp 2021-04-09T17:19:57Z froggey quit (Ping timeout: 260 seconds) 2021-04-09T17:20:26Z froggey joined #lisp 2021-04-09T17:21:46Z fiddlerwoaroof: cage_: if you don't actually need regular expressions, there's split-sequence 2021-04-09T17:22:20Z notzmv joined #lisp 2021-04-09T17:22:29Z fiddlerwoaroof: But, I can't think of why that behavior happens 2021-04-09T17:23:31Z g_SG joined #lisp 2021-04-09T17:24:43Z Nilby joined #lisp 2021-04-09T17:25:04Z judson_ joined #lisp 2021-04-09T17:25:07Z mfiano: No need for split-sequence if you're splitting strings. It's included in asdf 2021-04-09T17:26:52Z fiddlerwoaroof: I don't like using utility functions in the ASDF package 2021-04-09T17:27:11Z fiddlerwoaroof: Fortunately, there's also: (uiop:split-string) 2021-04-09T17:27:20Z mfiano: That's what I was referring to 2021-04-09T17:27:20Z gitgood joined #lisp 2021-04-09T17:27:45Z cage_: fiddlerwoaroof, mfiano thank you! 2021-04-09T17:30:44Z fiddlerwoaroof: It's interesting how all these split functions implement the keyword argument that limits the number of items in the return value differently 2021-04-09T17:31:46Z Kundry_Wag joined #lisp 2021-04-09T17:33:30Z jeosol joined #lisp 2021-04-09T17:34:13Z fiddlerwoaroof: (cl-ppcre:split ":" "a:b:c" :limit 2) #| ==> ("a" "b:c") |# 2021-04-09T17:34:26Z fiddlerwoaroof: (split-sequence:split-sequence #\: "a:b:c" :count 2) #| ==> ("a" "b") 4 |# 2021-04-09T17:34:47Z fiddlerwoaroof: (uiop:split-string "a:b:c" :max 2 :separator '(#\:)) #| ==> ("a:b" "c") |# 2021-04-09T17:35:11Z fiddlerwoaroof: in my experience, cl-ppcre's behavior is the one I usually want here 2021-04-09T17:35:44Z fiddlerwoaroof: Actually, sorry, I want the behavior the version I wrote has 2021-04-09T17:36:06Z fiddlerwoaroof: (fwoar.string-utils:split #\: "a:b:c" :count 2) #| ==> #("a" "b" "c") |# 2021-04-09T17:36:32Z fiddlerwoaroof: the count counts the number of times the string is split, so the number of resulting elements is count+1 2021-04-09T17:36:46Z fiddlerwoaroof: With the last element being "everything left" 2021-04-09T17:37:11Z froggey quit (Ping timeout: 240 seconds) 2021-04-09T17:37:36Z cage_: i agree is interesting 2021-04-09T17:38:09Z froggey joined #lisp 2021-04-09T17:47:04Z m00natic quit (Ping timeout: 245 seconds) 2021-04-09T17:47:12Z m00natic joined #lisp 2021-04-09T17:49:34Z phossil quit (Quit: Leaving) 2021-04-09T17:49:57Z tophullyte joined #lisp 2021-04-09T17:51:43Z orivej joined #lisp 2021-04-09T17:56:19Z judson_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-09T17:57:14Z judson_ joined #lisp 2021-04-09T18:01:48Z judson_ quit (Ping timeout: 258 seconds) 2021-04-09T18:01:57Z g_SG quit (Ping timeout: 260 seconds) 2021-04-09T18:03:32Z bjth joined #lisp 2021-04-09T18:03:32Z rumbler31_: cage_: there is a discord, and I'm sure there's a slack 2021-04-09T18:03:40Z rumbler31_: and a few subreddits 2021-04-09T18:03:51Z slyrus quit (Remote host closed the connection) 2021-04-09T18:04:10Z karlosz quit (Quit: karlosz) 2021-04-09T18:05:46Z slyrus joined #lisp 2021-04-09T18:05:54Z fiddlerwoaroof: If there's a slack, I've never heard of one 2021-04-09T18:06:12Z fiddlerwoaroof: There's a room on matrix too 2021-04-09T18:06:40Z rumbler31_: anyone experienced that uiop:copy-files actually moves files instead? 2021-04-09T18:07:19Z rumbler31_: or rather doesn't actually copy.. but just deletes? 2021-04-09T18:07:24Z remexre: is the point of boole that it might be calling out to like, a hardware blitter or something? 2021-04-09T18:09:38Z cage_: rumbler31_, my very personal beliefs make me stay away from proprietary/surveillance platform, of course i hav eno problem if other find this platform useful but just they are not for me 2021-04-09T18:09:50Z cage_: thanks by the way! :) 2021-04-09T18:10:19Z slyrus quit (Ping timeout: 268 seconds) 2021-04-09T18:10:52Z Nilby: remexre: Yes, but it can have other uses. For exmaple CLX uses the bool-* symbols as the drawing function in the graphics context. 2021-04-09T18:15:32Z Nilby: One can do other interesting things with boole, like database bitmap index operations. 2021-04-09T18:17:32Z ukari quit (Remote host closed the connection) 2021-04-09T18:17:57Z ukari joined #lisp 2021-04-09T18:18:24Z Xach: remexre: there is an interesting post on this topic 2021-04-09T18:18:55Z Xach: https://www.xach.com/naggum/articles/3250222105960910%40naggum.no.html 2021-04-09T18:19:02Z cosimone quit (Remote host closed the connection) 2021-04-09T18:19:11Z Xach: and the previous one as well 2021-04-09T18:19:16Z Xach: (from the "prev" link) 2021-04-09T18:19:48Z cosimone joined #lisp 2021-04-09T18:19:57Z remexre: ok, thanks to both of you! 2021-04-09T18:20:00Z Nilby: Xach: I'm so thankful you preserve those 2021-04-09T18:23:10Z Nilby: That one also gives a good approach to understanding anything in CL. 2021-04-09T18:28:47Z rumbler31_: anyone know why ensure-directories-exist would fail, when all but the last folder in the given path is created? 2021-04-09T18:28:59Z bjth quit (Ping timeout: 260 seconds) 2021-04-09T18:31:49Z seok quit (Quit: Connection closed) 2021-04-09T18:32:40Z rumbler31_: even the uiop version fails 2021-04-09T18:33:05Z rumbler31_: yup cuz it calls the same function with mapcar 2021-04-09T18:33:27Z g_SG joined #lisp 2021-04-09T18:33:51Z cosimone quit (Read error: Connection reset by peer) 2021-04-09T18:35:10Z Nilby: rumbler31_: But what is the error message? It can fail for many many reasons. 2021-04-09T18:38:26Z rumbler31_: so there is no error thrown, which seems to be in disagreement with the spec 2021-04-09T18:38:39Z rumbler31_: it just returns nil for created-p and the directories are never created 2021-04-09T18:39:27Z mfiano: rumbler31_: ensure-directory-pathname is your friend 2021-04-09T18:39:41Z rumbler31_: I sorely wish that ccl could bring back its debugging steping functionality 2021-04-09T18:40:42Z mfiano: All but the last directory being created implies you are supplying a file pathname, so fix it with make-pathname or wrap it in the above 2021-04-09T18:41:10Z rumbler31_: I'm not really sure what ensure-directory-pathname 2021-04-09T18:41:30Z mfiano: Can you show me your call to ensure-directories-exist exactly? 2021-04-09T18:42:41Z rumbler31_: (ensure-directories-exist "/home/user/quicklisp/local-projects/project/project-bundle/local-projects/project/" :verbose t) 2021-04-09T18:43:41Z Inline joined #lisp 2021-04-09T18:43:42Z aeth quit (Ping timeout: 252 seconds) 2021-04-09T18:44:24Z mfiano: Not sure, https://gist.github.com/mfiano/bd992be48ac717345cd36bcf07db89bf 2021-04-09T18:45:42Z aeth joined #lisp 2021-04-09T18:47:28Z hjudt joined #lisp 2021-04-09T18:49:35Z ukari quit (Remote host closed the connection) 2021-04-09T18:50:39Z Oladon quit (Quit: Leaving.) 2021-04-09T18:50:53Z ukari joined #lisp 2021-04-09T18:54:40Z lotuseater quit (Remote host closed the connection) 2021-04-09T18:56:22Z mmontone quit (Ping timeout: 240 seconds) 2021-04-09T18:56:31Z silasfox quit (Ping timeout: 260 seconds) 2021-04-09T18:57:20Z rumbler31_: i'm spending an inordinant amount of time getting common lisp to make a new directory and copy 3 files into it. sorry to gripe 2021-04-09T19:04:19Z luckless_ quit (Remote host closed the connection) 2021-04-09T19:04:40Z Nilby: One simple way to see what's actually happening, is to trace the systems calls using something like strace on linux or truss on bsd, so you can see what actual file system call might be failing. 2021-04-09T19:09:57Z skapata joined #lisp 2021-04-09T19:17:10Z slyrus joined #lisp 2021-04-09T19:18:49Z hypercube quit (Ping timeout: 250 seconds) 2021-04-09T19:22:28Z slyrus quit (Ping timeout: 268 seconds) 2021-04-09T19:26:37Z Alfr quit (Killed (verne.freenode.net (Nickname regained by services))) 2021-04-09T19:26:42Z Alfr joined #lisp 2021-04-09T19:31:24Z silasfox joined #lisp 2021-04-09T19:35:54Z ljavorsk joined #lisp 2021-04-09T19:41:09Z rumbler31_: Nilby: So there's a lot of lstatting of the right paths, I don't understand enough to find the syscalls for copying files 2021-04-09T19:44:31Z slyrus joined #lisp 2021-04-09T19:46:54Z ukari quit (Remote host closed the connection) 2021-04-09T19:47:45Z ukari joined #lisp 2021-04-09T19:49:54Z Lord_of_Life_ joined #lisp 2021-04-09T19:52:05Z Lord_of_Life quit (Ping timeout: 265 seconds) 2021-04-09T19:52:46Z Josh_2: just found a program breaking bug that was because I missed the : on my :initarg definition 2021-04-09T19:52:47Z Josh_2: oof 2021-04-09T19:52:57Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-09T19:53:18Z supercoven quit (Ping timeout: 268 seconds) 2021-04-09T19:55:31Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-09T19:57:56Z bitmapper joined #lisp 2021-04-09T19:58:37Z Spawns_Carpeting joined #lisp 2021-04-09T19:58:40Z curtosis joined #lisp 2021-04-09T19:58:42Z Lycurgus joined #lisp 2021-04-09T20:01:01Z narimiran quit (Ping timeout: 260 seconds) 2021-04-09T20:07:32Z mindCrime_ joined #lisp 2021-04-09T20:08:54Z hypercube joined #lisp 2021-04-09T20:10:05Z karlosz joined #lisp 2021-04-09T20:15:46Z rogersm joined #lisp 2021-04-09T20:16:14Z rumbler31_: So uiop:copy-file gets the right args 2021-04-09T20:24:03Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-09T20:24:06Z aartaka joined #lisp 2021-04-09T20:26:38Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-09T20:33:48Z rtypo joined #lisp 2021-04-09T20:34:31Z silasfox quit (Ping timeout: 260 seconds) 2021-04-09T20:34:48Z silasfox joined #lisp 2021-04-09T20:36:29Z rumbler31_: it goes all the way down to two with-open-file macros and just copies the a buffer at a time into the output stream, and if 2021-04-09T20:36:34Z rumbler31_: I knew it was something stupid I did 2021-04-09T20:37:46Z rodriga quit (Ping timeout: 260 seconds) 2021-04-09T20:40:44Z curtosis is now known as curtosis[away] 2021-04-09T20:45:32Z terpri_ quit (Remote host closed the connection) 2021-04-09T20:45:54Z terpri_ joined #lisp 2021-04-09T20:48:11Z orivej quit (Ping timeout: 268 seconds) 2021-04-09T20:48:59Z silasfox quit (Ping timeout: 260 seconds) 2021-04-09T20:49:10Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-09T20:49:31Z Lycurgus quit (Quit: Exeunt) 2021-04-09T20:58:42Z rumbler31_: derp tried to make a bundle that didn't include quicklisp that includes a function to call quicklisp bundle.... dummy <----- 2021-04-09T20:59:19Z rumbler31_: hmm I wonder how to fix that 2021-04-09T21:00:02Z rumbler31_: I want to make a bundle of a project, I guess none of the functions I wrote depend on the original package 2021-04-09T21:00:03Z thonkpod quit (Ping timeout: 258 seconds) 2021-04-09T21:00:22Z rumbler31_: seems kinda hacky to just make another package that assumes things about another, like file paths and project names 2021-04-09T21:00:34Z rogersm quit (Remote host closed the connection) 2021-04-09T21:00:35Z rumbler31_: or I should use the term system 2021-04-09T21:04:06Z g_SG quit (Ping timeout: 265 seconds) 2021-04-09T21:06:05Z Nilby: Since Quicklisp can't really be an asdf or quicklisp dependency, then unless you always install it as part of your own installation, things have to check for it manually before using it. 2021-04-09T21:08:21Z Nilby: My stuff can run with or without quicklisp, so I do a #+quicklisp in some places. 2021-04-09T21:09:13Z pve quit (Quit: leaving) 2021-04-09T21:13:19Z thonkpod joined #lisp 2021-04-09T21:16:02Z hypercube quit (Ping timeout: 246 seconds) 2021-04-09T21:16:11Z Bike: quicklisp is an asdf system, isn't it? 2021-04-09T21:16:29Z karlosz quit (Quit: karlosz) 2021-04-09T21:17:26Z marusich quit (Ping timeout: 240 seconds) 2021-04-09T21:18:39Z nullman quit (Remote host closed the connection) 2021-04-09T21:21:01Z nullman joined #lisp 2021-04-09T21:22:02Z White_Flame joined #lisp 2021-04-09T21:23:36Z Nilby: Yes, but I'm pretty sure one might get different results loading it in it's recommended way, vs. just asdf loading it. 2021-04-09T21:25:11Z rumbler31_ quit (Ping timeout: 268 seconds) 2021-04-09T21:25:42Z cage_ quit (Quit: Leaving) 2021-04-09T21:27:47Z froggey quit (Ping timeout: 265 seconds) 2021-04-09T21:29:26Z froggey joined #lisp 2021-04-09T21:33:36Z easye quit (Read error: Connection reset by peer) 2021-04-09T21:34:24Z Lord_Nightmare quit (Quit: ZNC - http://znc.in) 2021-04-09T21:35:07Z anticrisis joined #lisp 2021-04-09T21:35:07Z easye joined #lisp 2021-04-09T21:36:34Z Lord_Nightmare joined #lisp 2021-04-09T21:38:20Z Alfr quit (Quit: Leaving) 2021-04-09T21:38:26Z monaliza joined #lisp 2021-04-09T21:39:11Z MichaelRaskin quit (Ping timeout: 240 seconds) 2021-04-09T21:41:11Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-09T21:41:35Z aeth_ joined #lisp 2021-04-09T21:41:43Z aeth quit (Disconnected by services) 2021-04-09T21:41:48Z aeth_ is now known as aeth 2021-04-09T21:42:47Z MichaelRaskin joined #lisp 2021-04-09T21:46:56Z monaliza: Heyo! I've recently learned common lisp and i've read a book about it, I've been kind of indecisive for which other vlafor of lisp i should start using next, because of how many flavours there are. I'm mostly really interested in functional programming, and I'm a real fan of haskell-ish syntax, where it's short, makes sense, and works rather well. I've heard about Racket lisp, Arc lisp, and Scheme, 2021-04-09T21:46:59Z monaliza: and I'm getting mixed signals on which one I should try to extensively dive into first 2021-04-09T21:49:16Z moon-child: monaliza: you are unlikely to get very many responses here, because this channel is specifically about common lisp. That being said: I would avoid arc. Racket and scheme are both nice enough, and you may also want to look at coalton 2021-04-09T21:50:47Z monaliza: Ahh, I see 2021-04-09T21:51:05Z monaliza: My fault for not reading the first word of the topic, I'm very sorry! And, thank you very much! 2021-04-09T21:52:32Z varjag quit (Ping timeout: 252 seconds) 2021-04-09T21:54:12Z mindCrime_ joined #lisp 2021-04-09T21:55:33Z kreyren quit (Changing host) 2021-04-09T21:55:33Z kreyren joined #lisp 2021-04-09T21:55:33Z kreyren quit (Changing host) 2021-04-09T21:55:33Z kreyren joined #lisp 2021-04-09T21:57:40Z kagevf: use CL so you have the flexibility to take advantage of other styles when FP isn't a good fit 2021-04-09T21:59:00Z kagevf: also, if you want FP only no matter what, maybe consider clojure ... with the caveat that it's on the jvm 2021-04-09T21:59:35Z kagevf: and a syntax that has departed a bit from Lisp and Scheme 2021-04-09T22:00:04Z moon-child: didn't some schemes also adopt the [] syntax? 2021-04-09T22:00:15Z moon-child: I guess clojure also has {} for--hashtable literals, I think? 2021-04-09T22:01:17Z kagevf: I think you're right, moon-child but IDK for sure 2021-04-09T22:02:21Z Aurora_v_kosmose quit (Ping timeout: 240 seconds) 2021-04-09T22:02:32Z curtosis[away] joined #lisp 2021-04-09T22:04:13Z Alfr joined #lisp 2021-04-09T22:04:39Z hjudt quit (Ping timeout: 268 seconds) 2021-04-09T22:04:51Z hypercube joined #lisp 2021-04-09T22:05:41Z Aurora_v_kosmose joined #lisp 2021-04-09T22:07:41Z m00natic quit (Ping timeout: 240 seconds) 2021-04-09T22:10:01Z gitgood quit (Remote host closed the connection) 2021-04-09T22:11:33Z m00natic joined #lisp 2021-04-09T22:16:58Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-09T22:18:11Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-09T22:18:45Z rumbler31 quit (Remote host closed the connection) 2021-04-09T22:19:01Z rumbler31 joined #lisp 2021-04-09T22:19:50Z Aurora_v_kosmose quit (Remote host closed the connection) 2021-04-09T22:20:15Z terpri_ quit (Quit: Leaving) 2021-04-09T22:20:29Z terpri_ joined #lisp 2021-04-09T22:20:44Z Aurora_v_kosmose joined #lisp 2021-04-09T22:23:17Z tophullyte quit (Ping timeout: 260 seconds) 2021-04-09T22:24:57Z tophullyte joined #lisp 2021-04-09T22:30:20Z surabax quit (Read error: Connection reset by peer) 2021-04-09T22:31:19Z rumbler31 quit (Remote host closed the connection) 2021-04-09T22:32:05Z rumbler31 joined #lisp 2021-04-09T22:32:07Z frgo quit (Remote host closed the connection) 2021-04-09T22:32:22Z raeda joined #lisp 2021-04-09T22:32:33Z frgo joined #lisp 2021-04-09T22:35:15Z no-defun-allowed: m00natic: IIRC {} and [] in Scheme produce equivalent syntax to (), so you could write (let ([x 1]) x) in Scheme or even [let [[x 1]] x] 2021-04-09T22:36:28Z moon-child: no-defun-allowed: wrong moon :) 2021-04-09T22:36:42Z no-defun-allowed: Oh dear. 2021-04-09T22:38:06Z moon-child: seems chicken does exactly as you say, guile doesn'tlike {}, and s7 doesn't like either 2021-04-09T22:45:32Z Kundry_Wag quit (Remote host closed the connection) 2021-04-09T22:55:30Z sm2n: racket considers [] and () equivalent 2021-04-09T23:00:31Z Kundry_Wag joined #lisp 2021-04-09T23:01:14Z edgar-rft: the beatiful thing with Scheme is that there are so many *different* syntax schemes you can choose from 2021-04-09T23:11:56Z karlosz joined #lisp 2021-04-09T23:27:45Z luckless joined #lisp 2021-04-09T23:29:21Z srhm joined #lisp 2021-04-09T23:32:56Z aartaka_d joined #lisp 2021-04-09T23:34:46Z aartaka quit (Ping timeout: 240 seconds) 2021-04-09T23:35:47Z kagevf: in CL could you write a reader macro to do the same thing? to make [] and {} act like ()? 2021-04-09T23:36:11Z fiddlerwoaroof: yeah, they even exist 2021-04-09T23:36:40Z kagevf: ok, that's what I thought ... do they exist as part of the standard, or in a library? 2021-04-09T23:37:28Z fiddlerwoaroof: There's also things like this that port the good bits of Clojure's syntax: https://github.com/joinr/clclojure/blob/master/reader.lisp 2021-04-09T23:37:41Z fiddlerwoaroof: The standard reserves [] and {} for the use of the user 2021-04-09T23:37:43Z fiddlerwoaroof: iirc 2021-04-09T23:38:00Z kagevf: I see 2021-04-09T23:38:11Z fiddlerwoaroof: So, technically, libraries aren't supposed to use these characters in the standard readtable 2021-04-09T23:38:38Z fiddlerwoaroof: However, libraries are free to provide their own readtables, and named-readtables exists to make that process nicer 2021-04-09T23:39:05Z fiddlerwoaroof: Also, personally, I tend to think "whatever a library can do should be left out of the standard as much as possible" 2021-04-09T23:41:12Z kagevf: makes sense 2021-04-09T23:41:39Z Inline quit (Ping timeout: 260 seconds) 2021-04-09T23:44:55Z aartaka joined #lisp 2021-04-09T23:44:56Z Kundry_Wag quit (Read error: Connection reset by peer) 2021-04-09T23:45:11Z Kundry_Wag joined #lisp 2021-04-09T23:46:26Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-09T23:48:26Z c7s joined #lisp 2021-04-09T23:51:41Z aartaka quit (Ping timeout: 240 seconds) 2021-04-09T23:52:45Z rumbler31 quit (Remote host closed the connection) 2021-04-09T23:52:46Z ljavorsk quit (Ping timeout: 240 seconds) 2021-04-09T23:53:03Z rumbler31 joined #lisp 2021-04-09T23:58:29Z mindCrime_ joined #lisp 2021-04-10T00:08:56Z random-nick quit (Ping timeout: 252 seconds) 2021-04-10T00:09:51Z kevingal_ quit (Remote host closed the connection) 2021-04-10T00:11:11Z Kundry_Wag quit (Remote host closed the connection) 2021-04-10T00:16:08Z Oladon joined #lisp 2021-04-10T00:32:16Z Kundry_Wag joined #lisp 2021-04-10T00:33:30Z troydm quit (Ping timeout: 252 seconds) 2021-04-10T00:34:15Z troydm joined #lisp 2021-04-10T00:35:25Z luckless_ joined #lisp 2021-04-10T00:35:53Z c7s quit (Quit: c7s) 2021-04-10T00:36:28Z c7s joined #lisp 2021-04-10T00:38:45Z luckless quit (Ping timeout: 240 seconds) 2021-04-10T00:40:06Z Codaraxis_ joined #lisp 2021-04-10T00:43:45Z Codaraxis quit (Ping timeout: 260 seconds) 2021-04-10T00:53:42Z Bike: {} and [] are reserved in the sense that the implementation can't use them. there's no restrictions on programmer users, library writers or not. named readtables is probably still a good idea tho. 2021-04-10T01:10:47Z monaliza_ joined #lisp 2021-04-10T01:11:29Z DHARMAKAYA joined #lisp 2021-04-10T01:13:59Z monaliza quit (Ping timeout: 265 seconds) 2021-04-10T01:17:11Z semz quit (Ping timeout: 250 seconds) 2021-04-10T01:24:33Z aeth: You'd probably want #[...] and #{...} instead of just [...] and {...} to make it really clear that it's a reader macro 2021-04-10T01:24:51Z aeth: it also gives you some configuration after the # 2021-04-10T01:25:00Z tophullyte quit (Quit: Leaving) 2021-04-10T01:25:55Z curtosis joined #lisp 2021-04-10T01:25:57Z curtosis is now known as curtosis[away] 2021-04-10T01:30:55Z semz joined #lisp 2021-04-10T01:30:55Z semz quit (Changing host) 2021-04-10T01:30:55Z semz joined #lisp 2021-04-10T01:33:05Z c7s quit (Ping timeout: 268 seconds) 2021-04-10T01:34:17Z mmontone joined #lisp 2021-04-10T01:35:12Z mmontone18 joined #lisp 2021-04-10T01:35:39Z mmontone18 quit (Client Quit) 2021-04-10T01:39:17Z Oladon quit (Quit: Leaving.) 2021-04-10T01:40:28Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-10T01:41:29Z srhm quit (Quit: Konversation terminated!) 2021-04-10T01:47:26Z monaliza_ quit (Ping timeout: 240 seconds) 2021-04-10T01:49:40Z monaliza_ joined #lisp 2021-04-10T01:49:58Z karlosz quit (Quit: karlosz) 2021-04-10T01:51:43Z ikrabbe|2 joined #lisp 2021-04-10T01:52:39Z ikrabbe quit (Ping timeout: 265 seconds) 2021-04-10T01:54:11Z ikrabbe joined #lisp 2021-04-10T01:57:11Z ikrabbe|2 quit (Ping timeout: 240 seconds) 2021-04-10T01:57:38Z monaliza_ quit (Ping timeout: 240 seconds) 2021-04-10T01:57:53Z epony quit (Ping timeout: 240 seconds) 2021-04-10T02:00:05Z monaliza_ joined #lisp 2021-04-10T02:00:45Z rtypo quit (Quit: WeeChat 3.1) 2021-04-10T02:01:44Z Kundry_Wag quit (Remote host closed the connection) 2021-04-10T02:02:10Z Kundry_Wag joined #lisp 2021-04-10T02:19:56Z terpri_ is now known as terpri 2021-04-10T02:19:57Z ech quit (Ping timeout: 240 seconds) 2021-04-10T02:22:23Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-10T02:23:10Z Spawns_Carpeting joined #lisp 2021-04-10T02:28:11Z dunk quit (Ping timeout: 240 seconds) 2021-04-10T02:30:23Z dunk joined #lisp 2021-04-10T02:31:51Z mmmattyx quit (Quit: Connection closed for inactivity) 2021-04-10T02:32:54Z entel quit (Ping timeout: 245 seconds) 2021-04-10T02:35:34Z entel joined #lisp 2021-04-10T02:39:04Z Kundry_Wag quit (Remote host closed the connection) 2021-04-10T02:41:08Z epony joined #lisp 2021-04-10T02:45:23Z Kundry_Wag joined #lisp 2021-04-10T02:49:38Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-10T02:52:23Z hineios5 joined #lisp 2021-04-10T02:53:26Z hineios quit (Ping timeout: 260 seconds) 2021-04-10T02:53:26Z hineios5 is now known as hineios 2021-04-10T03:01:50Z Alfr is now known as Guest59396 2021-04-10T03:01:55Z Alfr joined #lisp 2021-04-10T03:03:11Z ech joined #lisp 2021-04-10T03:03:24Z mason left #lisp 2021-04-10T03:04:13Z Guest59396 quit (Ping timeout: 250 seconds) 2021-04-10T03:04:34Z aeth quit (Ping timeout: 252 seconds) 2021-04-10T03:04:55Z beach: Good morning everyone! 2021-04-10T03:05:00Z Josh_2: Mornin beach 2021-04-10T03:05:09Z sjl quit (Ping timeout: 265 seconds) 2021-04-10T03:05:31Z sjl joined #lisp 2021-04-10T03:06:29Z aeth joined #lisp 2021-04-10T03:21:50Z akoana joined #lisp 2021-04-10T03:24:42Z hypercube quit (Ping timeout: 268 seconds) 2021-04-10T03:25:40Z Josh_2 quit (Remote host closed the connection) 2021-04-10T03:28:08Z zaquest quit (Quit: Leaving) 2021-04-10T03:28:23Z mmontone quit (Ping timeout: 240 seconds) 2021-04-10T03:28:36Z mindCrime joined #lisp 2021-04-10T03:28:50Z mindCrime_ quit (Ping timeout: 265 seconds) 2021-04-10T03:29:22Z hypercube joined #lisp 2021-04-10T03:29:32Z zaquest joined #lisp 2021-04-10T03:45:55Z Bike quit (Quit: Lost terminal) 2021-04-10T03:47:51Z Grue` quit (Ping timeout: 245 seconds) 2021-04-10T03:50:22Z Grue` joined #lisp 2021-04-10T03:51:38Z DHARMAKAYA quit (Ping timeout: 240 seconds) 2021-04-10T03:56:52Z marusich joined #lisp 2021-04-10T03:57:31Z ebrasca quit (Remote host closed the connection) 2021-04-10T04:04:21Z ech quit (Ping timeout: 240 seconds) 2021-04-10T04:11:11Z Oladon joined #lisp 2021-04-10T04:14:58Z ramHero quit (Ping timeout: 240 seconds) 2021-04-10T04:16:11Z ech joined #lisp 2021-04-10T04:17:09Z mindCrime quit (*.net *.split) 2021-04-10T04:17:10Z vegansbane6963 quit (*.net *.split) 2021-04-10T04:17:10Z SlashLife quit (*.net *.split) 2021-04-10T04:17:10Z _jrjsmrtn quit (*.net *.split) 2021-04-10T04:17:10Z gpiero quit (*.net *.split) 2021-04-10T04:17:10Z tessier quit (*.net *.split) 2021-04-10T04:17:10Z lansiir quit (*.net *.split) 2021-04-10T04:17:10Z borodust quit (*.net *.split) 2021-04-10T04:17:10Z walex quit (*.net *.split) 2021-04-10T04:17:10Z jgkamat quit (*.net *.split) 2021-04-10T04:17:10Z caoliver quit (*.net *.split) 2021-04-10T04:17:10Z rotty quit (*.net *.split) 2021-04-10T04:17:10Z Patternmaster quit (*.net *.split) 2021-04-10T04:17:10Z thermo quit (*.net *.split) 2021-04-10T04:17:10Z mood_ quit (*.net *.split) 2021-04-10T04:17:10Z jfb4 quit (*.net *.split) 2021-04-10T04:17:10Z ech quit (*.net *.split) 2021-04-10T04:17:10Z luckless_ quit (*.net *.split) 2021-04-10T04:17:10Z Aurora_v_kosmose quit (*.net *.split) 2021-04-10T04:17:10Z hendursa1 quit (*.net *.split) 2021-04-10T04:17:11Z motersen quit (*.net *.split) 2021-04-10T04:17:11Z zooey quit (*.net *.split) 2021-04-10T04:17:11Z madage quit (*.net *.split) 2021-04-10T04:17:11Z jeosol quit (*.net *.split) 2021-04-10T04:17:11Z Theora[m] quit (*.net *.split) 2021-04-10T04:17:12Z infra_red[m] quit (*.net *.split) 2021-04-10T04:17:12Z loke[m] quit (*.net *.split) 2021-04-10T04:17:12Z yonkunas quit (*.net *.split) 2021-04-10T04:17:12Z _whitelogger quit (*.net *.split) 2021-04-10T04:17:12Z eschatologist quit (*.net *.split) 2021-04-10T04:17:12Z Blkt quit (*.net *.split) 2021-04-10T04:17:12Z ecraven quit (*.net *.split) 2021-04-10T04:17:12Z theBlackDragon quit (*.net *.split) 2021-04-10T04:17:12Z jibanes quit (*.net *.split) 2021-04-10T04:17:12Z gum quit (*.net *.split) 2021-04-10T04:17:12Z xi- quit (*.net *.split) 2021-04-10T04:17:12Z flip214 quit (*.net *.split) 2021-04-10T04:17:13Z agam_b[m] quit (*.net *.split) 2021-04-10T04:17:13Z ms[m] quit (*.net *.split) 2021-04-10T04:17:13Z no-defun-allowed quit (*.net *.split) 2021-04-10T04:17:13Z dim quit (*.net *.split) 2021-04-10T04:17:13Z mgxm quit (*.net *.split) 2021-04-10T04:17:14Z mr_yogurt quit (*.net *.split) 2021-04-10T04:17:14Z sukaeto quit (*.net *.split) 2021-04-10T04:17:14Z gensym quit (*.net *.split) 2021-04-10T04:17:14Z ck_ quit (*.net *.split) 2021-04-10T04:17:14Z fouric quit (*.net *.split) 2021-04-10T04:17:14Z sgithens quit (*.net *.split) 2021-04-10T04:17:14Z travv0 quit (*.net *.split) 2021-04-10T04:17:14Z jmercouris quit (*.net *.split) 2021-04-10T04:17:14Z rme quit (*.net *.split) 2021-04-10T04:17:14Z wigust quit (*.net *.split) 2021-04-10T04:17:14Z gabiruh quit (*.net *.split) 2021-04-10T04:17:14Z cross quit (*.net *.split) 2021-04-10T04:17:14Z em quit (*.net *.split) 2021-04-10T04:17:14Z xristos quit (*.net *.split) 2021-04-10T04:17:14Z sbryant quit (*.net *.split) 2021-04-10T04:17:14Z shinohai quit (*.net *.split) 2021-04-10T04:17:14Z madnificent quit (*.net *.split) 2021-04-10T04:17:14Z easye quit (*.net *.split) 2021-04-10T04:17:14Z thonkpod quit (*.net *.split) 2021-04-10T04:17:14Z skapata quit (*.net *.split) 2021-04-10T04:17:14Z jsatk quit (*.net *.split) 2021-04-10T04:17:14Z myall quit (*.net *.split) 2021-04-10T04:17:14Z pyc quit (*.net *.split) 2021-04-10T04:17:14Z shrysr_ quit (*.net *.split) 2021-04-10T04:17:14Z plisp2 quit (*.net *.split) 2021-04-10T04:17:14Z tgbugs quit (*.net *.split) 2021-04-10T04:17:14Z luna_is_here quit (*.net *.split) 2021-04-10T04:17:14Z sveit quit (*.net *.split) 2021-04-10T04:17:14Z zigpaw107613 quit (*.net *.split) 2021-04-10T04:17:14Z jello_pudding quit (*.net *.split) 2021-04-10T04:17:14Z frodef quit (*.net *.split) 2021-04-10T04:17:14Z emacsomancer quit (*.net *.split) 2021-04-10T04:17:14Z ozzloy quit (*.net *.split) 2021-04-10T04:17:14Z alanz quit (*.net *.split) 2021-04-10T04:17:14Z Inoperable quit (*.net *.split) 2021-04-10T04:17:14Z monaliza_ quit (*.net *.split) 2021-04-10T04:17:14Z diamondbond quit (*.net *.split) 2021-04-10T04:17:15Z alfred188 quit (*.net *.split) 2021-04-10T04:17:15Z fourier quit (*.net *.split) 2021-04-10T04:17:15Z rdd quit (*.net *.split) 2021-04-10T04:17:15Z dilated_dinosaur quit (*.net *.split) 2021-04-10T04:17:15Z cods quit (*.net *.split) 2021-04-10T04:17:15Z ramus quit (*.net *.split) 2021-04-10T04:17:15Z jurov_ quit (*.net *.split) 2021-04-10T04:17:15Z saturn2 quit (*.net *.split) 2021-04-10T04:17:15Z deltab quit (*.net *.split) 2021-04-10T04:17:15Z getha quit (*.net *.split) 2021-04-10T04:17:15Z hdasch quit (*.net *.split) 2021-04-10T04:17:15Z hiredman quit (*.net *.split) 2021-04-10T04:17:15Z fengshaun_ quit (*.net *.split) 2021-04-10T04:17:15Z hvxgr quit (*.net *.split) 2021-04-10T04:17:15Z datajerk quit (*.net *.split) 2021-04-10T04:17:15Z zymurgy quit (*.net *.split) 2021-04-10T04:17:15Z bkst quit (*.net *.split) 2021-04-10T04:17:15Z drdo quit (*.net *.split) 2021-04-10T04:17:15Z remexre quit (*.net *.split) 2021-04-10T04:17:15Z lavaflow quit (*.net *.split) 2021-04-10T04:17:15Z Juonu quit (*.net *.split) 2021-04-10T04:17:15Z HDurer quit (*.net *.split) 2021-04-10T04:17:15Z Ziemas quit (*.net *.split) 2021-04-10T04:17:15Z pok quit (*.net *.split) 2021-04-10T04:17:15Z eagleflo quit (*.net *.split) 2021-04-10T04:17:15Z nopf quit (*.net *.split) 2021-04-10T04:17:15Z Fade quit (*.net *.split) 2021-04-10T04:17:15Z ferada quit (*.net *.split) 2021-04-10T04:17:15Z epony quit (*.net *.split) 2021-04-10T04:17:15Z aeth quit (*.net *.split) 2021-04-10T04:17:15Z sjl quit (*.net *.split) 2021-04-10T04:17:15Z ikrabbe quit (*.net *.split) 2021-04-10T04:17:15Z Codaraxis_ quit (*.net *.split) 2021-04-10T04:17:15Z MichaelRaskin quit (*.net *.split) 2021-04-10T04:17:15Z ukari quit (*.net *.split) 2021-04-10T04:17:15Z long4mud quit (*.net *.split) 2021-04-10T04:17:15Z rixard quit (*.net *.split) 2021-04-10T04:17:15Z johnjay quit (*.net *.split) 2021-04-10T04:17:15Z thecoffemaker quit (*.net *.split) 2021-04-10T04:17:15Z msk quit (*.net *.split) 2021-04-10T04:17:15Z Elzington quit (*.net *.split) 2021-04-10T04:17:16Z KeyboardWorrier quit (*.net *.split) 2021-04-10T04:17:16Z zupss quit (*.net *.split) 2021-04-10T04:17:16Z scymtym quit (*.net *.split) 2021-04-10T04:17:16Z sm2n quit (*.net *.split) 2021-04-10T04:17:16Z mister_m quit (*.net *.split) 2021-04-10T04:17:16Z phantomics quit (*.net *.split) 2021-04-10T04:17:16Z cpape quit (*.net *.split) 2021-04-10T04:17:16Z m0xya quit (*.net *.split) 2021-04-10T04:17:16Z micro quit (*.net *.split) 2021-04-10T04:17:16Z xsperry quit (*.net *.split) 2021-04-10T04:17:16Z ilmu quit (*.net *.split) 2021-04-10T04:17:16Z mfiano quit (*.net *.split) 2021-04-10T04:17:16Z IPmonger quit (*.net *.split) 2021-04-10T04:17:17Z MrtnDk[m] quit (*.net *.split) 2021-04-10T04:17:17Z ThaEwat quit (*.net *.split) 2021-04-10T04:17:17Z teej quit (*.net *.split) 2021-04-10T04:17:17Z X-Scale quit (*.net *.split) 2021-04-10T04:17:17Z norsxa quit (*.net *.split) 2021-04-10T04:17:17Z physpi quit (*.net *.split) 2021-04-10T04:17:17Z spal quit (*.net *.split) 2021-04-10T04:17:17Z Papa quit (*.net *.split) 2021-04-10T04:17:17Z nightfly quit (*.net *.split) 2021-04-10T04:17:18Z akkad quit (*.net *.split) 2021-04-10T04:17:18Z mtd quit (*.net *.split) 2021-04-10T04:17:18Z e[m]1 quit (*.net *.split) 2021-04-10T04:17:18Z dmiles[m] quit (*.net *.split) 2021-04-10T04:17:18Z Gnuxie[m] quit (*.net *.split) 2021-04-10T04:17:18Z chewbranca quit (*.net *.split) 2021-04-10T04:17:18Z FennecCode quit (*.net *.split) 2021-04-10T04:17:18Z dvdmuckle quit (*.net *.split) 2021-04-10T04:17:18Z lottaquestions quit (*.net *.split) 2021-04-10T04:17:18Z contrapunctus quit (*.net *.split) 2021-04-10T04:17:18Z maiqthefalse quit (*.net *.split) 2021-04-10T04:17:18Z Nikotiini quit (*.net *.split) 2021-04-10T04:17:19Z azrazalea quit (*.net *.split) 2021-04-10T04:17:19Z herlocksholmes quit (*.net *.split) 2021-04-10T04:17:19Z AdmiralBumbleBee quit (*.net *.split) 2021-04-10T04:17:19Z markasoftware quit (*.net *.split) 2021-04-10T04:17:19Z jprajzne quit (*.net *.split) 2021-04-10T04:17:19Z spacebat2 quit (*.net *.split) 2021-04-10T04:17:19Z vhost- quit (*.net *.split) 2021-04-10T04:17:19Z [df] quit (*.net *.split) 2021-04-10T04:17:19Z add^_ quit (*.net *.split) 2021-04-10T04:17:19Z mtd_ quit (*.net *.split) 2021-04-10T04:17:19Z hypercube quit (*.net *.split) 2021-04-10T04:17:19Z hineios quit (*.net *.split) 2021-04-10T04:17:19Z rumbler31 quit (*.net *.split) 2021-04-10T04:17:19Z anticrisis quit (*.net *.split) 2021-04-10T04:17:19Z froggey quit (*.net *.split) 2021-04-10T04:17:19Z White_Flame quit (*.net *.split) 2021-04-10T04:17:19Z notzmv quit (*.net *.split) 2021-04-10T04:17:19Z gigetoo quit (*.net *.split) 2021-04-10T04:17:19Z mrchampion quit (*.net *.split) 2021-04-10T04:17:19Z vaporatorius quit (*.net *.split) 2021-04-10T04:17:19Z nckx quit (*.net *.split) 2021-04-10T04:17:19Z MightyJoe quit (*.net *.split) 2021-04-10T04:17:19Z d4ryus quit (*.net *.split) 2021-04-10T04:17:19Z alandipert quit (*.net *.split) 2021-04-10T04:17:19Z hhdave quit (*.net *.split) 2021-04-10T04:17:19Z Posterdati quit (*.net *.split) 2021-04-10T04:17:19Z noobineer quit (*.net *.split) 2021-04-10T04:17:19Z perrier-jouet quit (*.net *.split) 2021-04-10T04:17:19Z andreyorst quit (*.net *.split) 2021-04-10T04:17:19Z mathrick quit (*.net *.split) 2021-04-10T04:17:19Z pranavats quit (*.net *.split) 2021-04-10T04:17:19Z casual_friday quit (*.net *.split) 2021-04-10T04:17:19Z Iolo quit (*.net *.split) 2021-04-10T04:17:19Z _death quit (*.net *.split) 2021-04-10T04:17:19Z phadthai quit (*.net *.split) 2021-04-10T04:17:20Z b20n quit (*.net *.split) 2021-04-10T04:17:20Z rvirding quit (*.net *.split) 2021-04-10T04:17:20Z antoszka quit (*.net *.split) 2021-04-10T04:17:20Z vydd quit (*.net *.split) 2021-04-10T04:17:20Z ffwacom quit (*.net *.split) 2021-04-10T04:17:20Z winny quit (*.net *.split) 2021-04-10T04:17:20Z lowryder quit (*.net *.split) 2021-04-10T04:17:20Z beach quit (*.net *.split) 2021-04-10T04:17:20Z jcowan quit (*.net *.split) 2021-04-10T04:17:20Z aaronm04 quit (*.net *.split) 2021-04-10T04:17:20Z cipherchess quit (*.net *.split) 2021-04-10T04:17:20Z Ekho quit (*.net *.split) 2021-04-10T04:17:20Z leo_song_ quit (*.net *.split) 2021-04-10T04:17:20Z ggoes quit (*.net *.split) 2021-04-10T04:17:20Z jackdaniel quit (*.net *.split) 2021-04-10T04:17:20Z astronavt quit (*.net *.split) 2021-04-10T04:17:20Z Demosthenex quit (*.net *.split) 2021-04-10T04:17:20Z mgsk_ quit (*.net *.split) 2021-04-10T04:17:20Z vegai quit (*.net *.split) 2021-04-10T04:17:20Z SAL9000 quit (*.net *.split) 2021-04-10T04:17:20Z isoraqathedh quit (*.net *.split) 2021-04-10T04:17:20Z fitzsim quit (*.net *.split) 2021-04-10T04:17:20Z ravndal quit (*.net *.split) 2021-04-10T04:17:21Z quanta[m] quit (*.net *.split) 2021-04-10T04:17:21Z arcontethegreat[ quit (*.net *.split) 2021-04-10T04:17:21Z kreyren quit (*.net *.split) 2021-04-10T04:17:21Z conjunctive quit (*.net *.split) 2021-04-10T04:17:21Z stylewarning quit (*.net *.split) 2021-04-10T04:17:21Z penguwin quit (*.net *.split) 2021-04-10T04:17:21Z jackhill quit (*.net *.split) 2021-04-10T04:17:21Z z0d quit (*.net *.split) 2021-04-10T04:17:21Z cyberlard quit (*.net *.split) 2021-04-10T04:17:21Z glamas quit (*.net *.split) 2021-04-10T04:17:21Z Shinmera quit (*.net *.split) 2021-04-10T04:17:21Z TMA quit (*.net *.split) 2021-04-10T04:17:21Z marusich quit (*.net *.split) 2021-04-10T04:17:21Z raeda quit (*.net *.split) 2021-04-10T04:17:21Z stux|RC quit (*.net *.split) 2021-04-10T04:17:21Z jdz quit (*.net *.split) 2021-04-10T04:17:21Z samebchase- quit (*.net *.split) 2021-04-10T04:17:21Z _paul0 quit (*.net *.split) 2021-04-10T04:17:21Z quazimodo quit (*.net *.split) 2021-04-10T04:17:21Z aindilis quit (*.net *.split) 2021-04-10T04:17:21Z shka_ quit (*.net *.split) 2021-04-10T04:17:21Z jonatack quit (*.net *.split) 2021-04-10T04:17:21Z Noisytoot quit (*.net *.split) 2021-04-10T04:17:21Z MetaYan_ quit (*.net *.split) 2021-04-10T04:17:21Z ineiros quit (*.net *.split) 2021-04-10T04:17:22Z tomaw quit (*.net *.split) 2021-04-10T04:17:22Z Colleen quit (*.net *.split) 2021-04-10T04:17:22Z jrm quit (*.net *.split) 2021-04-10T04:17:22Z ioa quit (*.net *.split) 2021-04-10T04:17:22Z Xach quit (*.net *.split) 2021-04-10T04:18:00Z ech joined #lisp 2021-04-10T04:18:00Z marusich joined #lisp 2021-04-10T04:18:00Z hypercube joined #lisp 2021-04-10T04:18:00Z mindCrime joined #lisp 2021-04-10T04:18:00Z aeth joined #lisp 2021-04-10T04:18:00Z sjl joined #lisp 2021-04-10T04:18:00Z hineios joined #lisp 2021-04-10T04:18:00Z epony joined #lisp 2021-04-10T04:18:00Z monaliza_ joined #lisp 2021-04-10T04:18:00Z ikrabbe joined #lisp 2021-04-10T04:18:00Z Codaraxis_ joined #lisp 2021-04-10T04:18:00Z luckless_ joined #lisp 2021-04-10T04:18:00Z rumbler31 joined #lisp 2021-04-10T04:18:00Z raeda joined #lisp 2021-04-10T04:18:00Z Aurora_v_kosmose joined #lisp 2021-04-10T04:18:00Z MichaelRaskin joined #lisp 2021-04-10T04:18:00Z easye joined #lisp 2021-04-10T04:18:00Z anticrisis joined #lisp 2021-04-10T04:18:00Z froggey joined #lisp 2021-04-10T04:18:00Z White_Flame joined #lisp 2021-04-10T04:18:00Z thonkpod joined #lisp 2021-04-10T04:18:00Z ukari joined #lisp 2021-04-10T04:18:00Z skapata joined #lisp 2021-04-10T04:18:00Z jeosol joined #lisp 2021-04-10T04:18:00Z notzmv joined #lisp 2021-04-10T04:18:00Z gigetoo joined #lisp 2021-04-10T04:18:00Z long4mud joined #lisp 2021-04-10T04:18:00Z rixard joined #lisp 2021-04-10T04:18:00Z mrchampion joined #lisp 2021-04-10T04:18:00Z johnjay joined #lisp 2021-04-10T04:18:00Z thecoffemaker joined #lisp 2021-04-10T04:18:00Z stux|RC joined #lisp 2021-04-10T04:18:00Z vegansbane6963 joined #lisp 2021-04-10T04:18:00Z vaporatorius joined #lisp 2021-04-10T04:18:00Z IPmonger joined #lisp 2021-04-10T04:18:00Z agam_b[m] joined #lisp 2021-04-10T04:18:00Z Theora[m] joined #lisp 2021-04-10T04:18:00Z no-defun-allowed joined #lisp 2021-04-10T04:18:00Z loke[m] joined #lisp 2021-04-10T04:18:00Z arcontethegreat[ joined #lisp 2021-04-10T04:18:00Z e[m]1 joined #lisp 2021-04-10T04:18:00Z ThaEwat joined #lisp 2021-04-10T04:18:00Z quanta[m] joined #lisp 2021-04-10T04:18:00Z Gnuxie[m] joined #lisp 2021-04-10T04:18:00Z MrtnDk[m] joined #lisp 2021-04-10T04:18:00Z dmiles[m] joined #lisp 2021-04-10T04:18:00Z kreyren joined #lisp 2021-04-10T04:18:00Z infra_red[m] joined #lisp 2021-04-10T04:18:00Z mood_ joined #lisp 2021-04-10T04:18:00Z jfb4 joined #lisp 2021-04-10T04:18:00Z Patternmaster joined #lisp 2021-04-10T04:18:00Z rotty joined #lisp 2021-04-10T04:18:00Z jgkamat joined #lisp 2021-04-10T04:18:00Z walex joined #lisp 2021-04-10T04:18:00Z borodust joined #lisp 2021-04-10T04:18:00Z caoliver joined #lisp 2021-04-10T04:18:00Z lansiir joined #lisp 2021-04-10T04:18:00Z tessier joined #lisp 2021-04-10T04:18:00Z gpiero joined #lisp 2021-04-10T04:18:00Z thermo joined #lisp 2021-04-10T04:18:00Z _jrjsmrtn joined #lisp 2021-04-10T04:18:00Z SlashLife joined #lisp 2021-04-10T04:18:00Z ms[m] joined #lisp 2021-04-10T04:18:00Z contrapunctus joined #lisp 2021-04-10T04:18:00Z teej joined #lisp 2021-04-10T04:18:00Z X-Scale joined #lisp 2021-04-10T04:18:00Z hendursa1 joined #lisp 2021-04-10T04:18:00Z physpi joined #lisp 2021-04-10T04:18:00Z conjunctive joined #lisp 2021-04-10T04:18:00Z norsxa joined #lisp 2021-04-10T04:18:00Z stylewarning joined #lisp 2021-04-10T04:18:00Z jsatk joined #lisp 2021-04-10T04:18:00Z chewbranca joined #lisp 2021-04-10T04:18:00Z FennecCode joined #lisp 2021-04-10T04:18:00Z madage joined #lisp 2021-04-10T04:18:00Z zooey joined #lisp 2021-04-10T04:18:00Z motersen joined #lisp 2021-04-10T04:18:00Z diamondbond joined #lisp 2021-04-10T04:18:00Z alfred188 joined #lisp 2021-04-10T04:18:00Z nckx joined #lisp 2021-04-10T04:18:00Z theBlackDragon joined #lisp 2021-04-10T04:18:00Z jibanes joined #lisp 2021-04-10T04:18:00Z flip214 joined #lisp 2021-04-10T04:18:00Z xi- joined #lisp 2021-04-10T04:18:00Z gum joined #lisp 2021-04-10T04:18:00Z ecraven joined #lisp 2021-04-10T04:18:00Z Blkt joined #lisp 2021-04-10T04:18:00Z eschatologist joined #lisp 2021-04-10T04:18:00Z _whitelogger joined #lisp 2021-04-10T04:18:00Z yonkunas joined #lisp 2021-04-10T04:18:00Z shinohai joined #lisp 2021-04-10T04:18:00Z sbryant joined #lisp 2021-04-10T04:18:00Z gabiruh joined #lisp 2021-04-10T04:18:00Z em joined #lisp 2021-04-10T04:18:00Z madnificent joined #lisp 2021-04-10T04:18:00Z sgithens joined #lisp 2021-04-10T04:18:00Z fouric joined #lisp 2021-04-10T04:18:00Z xristos joined #lisp 2021-04-10T04:18:00Z ck_ joined #lisp 2021-04-10T04:18:00Z gensym joined #lisp 2021-04-10T04:18:00Z wigust joined #lisp 2021-04-10T04:18:00Z rme joined #lisp 2021-04-10T04:18:00Z jmercouris joined #lisp 2021-04-10T04:18:00Z travv0 joined #lisp 2021-04-10T04:18:00Z cross joined #lisp 2021-04-10T04:18:00Z sukaeto joined #lisp 2021-04-10T04:18:00Z mr_yogurt joined #lisp 2021-04-10T04:18:00Z mgxm joined #lisp 2021-04-10T04:18:00Z dim joined #lisp 2021-04-10T04:18:00Z Inoperable joined #lisp 2021-04-10T04:18:00Z alanz joined #lisp 2021-04-10T04:18:00Z ozzloy joined #lisp 2021-04-10T04:18:00Z emacsomancer joined #lisp 2021-04-10T04:18:00Z frodef joined #lisp 2021-04-10T04:18:00Z jello_pudding joined #lisp 2021-04-10T04:18:00Z zigpaw107613 joined #lisp 2021-04-10T04:18:00Z sveit joined #lisp 2021-04-10T04:18:00Z luna_is_here joined #lisp 2021-04-10T04:18:00Z tgbugs joined #lisp 2021-04-10T04:18:00Z plisp2 joined #lisp 2021-04-10T04:18:00Z pyc joined #lisp 2021-04-10T04:18:00Z shrysr_ joined #lisp 2021-04-10T04:18:00Z myall joined #lisp 2021-04-10T04:18:00Z Fade joined #lisp 2021-04-10T04:18:00Z nopf joined #lisp 2021-04-10T04:18:00Z pok joined #lisp 2021-04-10T04:18:00Z ferada joined #lisp 2021-04-10T04:18:00Z HDurer joined #lisp 2021-04-10T04:18:00Z Ziemas joined #lisp 2021-04-10T04:18:00Z Juonu joined #lisp 2021-04-10T04:18:00Z lavaflow joined #lisp 2021-04-10T04:18:00Z remexre joined #lisp 2021-04-10T04:18:00Z eagleflo joined #lisp 2021-04-10T04:18:00Z drdo joined #lisp 2021-04-10T04:18:00Z bkst joined #lisp 2021-04-10T04:18:00Z zymurgy joined #lisp 2021-04-10T04:18:00Z datajerk joined #lisp 2021-04-10T04:18:00Z hvxgr joined #lisp 2021-04-10T04:18:00Z fengshaun_ joined #lisp 2021-04-10T04:18:00Z hiredman joined #lisp 2021-04-10T04:18:00Z hdasch joined #lisp 2021-04-10T04:18:00Z getha joined #lisp 2021-04-10T04:18:00Z deltab joined #lisp 2021-04-10T04:18:00Z saturn2 joined #lisp 2021-04-10T04:18:00Z jurov_ joined #lisp 2021-04-10T04:18:00Z ramus joined #lisp 2021-04-10T04:18:00Z cods joined #lisp 2021-04-10T04:18:00Z dilated_dinosaur joined #lisp 2021-04-10T04:18:00Z rdd joined #lisp 2021-04-10T04:18:00Z fourier joined #lisp 2021-04-10T04:18:00Z ilmu joined #lisp 2021-04-10T04:18:00Z mfiano joined #lisp 2021-04-10T04:18:00Z xsperry joined #lisp 2021-04-10T04:18:00Z micro joined #lisp 2021-04-10T04:18:00Z m0xya joined #lisp 2021-04-10T04:18:00Z cpape joined #lisp 2021-04-10T04:18:00Z phantomics joined #lisp 2021-04-10T04:18:00Z mister_m joined #lisp 2021-04-10T04:18:00Z sm2n joined #lisp 2021-04-10T04:18:00Z scymtym joined #lisp 2021-04-10T04:18:00Z zupss joined #lisp 2021-04-10T04:18:00Z KeyboardWorrier joined #lisp 2021-04-10T04:18:00Z Elzington joined #lisp 2021-04-10T04:18:00Z msk joined #lisp 2021-04-10T04:18:00Z mtd joined #lisp 2021-04-10T04:18:00Z akkad joined #lisp 2021-04-10T04:18:00Z nightfly joined #lisp 2021-04-10T04:18:00Z Papa joined #lisp 2021-04-10T04:18:00Z spal joined #lisp 2021-04-10T04:18:00Z mtd_ joined #lisp 2021-04-10T04:18:00Z add^_ joined #lisp 2021-04-10T04:18:00Z spacebat2 joined #lisp 2021-04-10T04:18:00Z [df] joined #lisp 2021-04-10T04:18:00Z vhost- joined #lisp 2021-04-10T04:18:00Z jprajzne joined #lisp 2021-04-10T04:18:00Z AdmiralBumbleBee joined #lisp 2021-04-10T04:18:00Z markasoftware joined #lisp 2021-04-10T04:18:00Z azrazalea joined #lisp 2021-04-10T04:18:00Z herlocksholmes joined #lisp 2021-04-10T04:18:00Z Nikotiini joined #lisp 2021-04-10T04:18:00Z maiqthefalse joined #lisp 2021-04-10T04:18:00Z lottaquestions joined #lisp 2021-04-10T04:18:00Z dvdmuckle joined #lisp 2021-04-10T04:18:00Z phadthai joined #lisp 2021-04-10T04:18:00Z _death joined #lisp 2021-04-10T04:18:00Z Iolo joined #lisp 2021-04-10T04:18:00Z casual_friday joined #lisp 2021-04-10T04:18:00Z pranavats joined #lisp 2021-04-10T04:18:00Z mathrick joined #lisp 2021-04-10T04:18:00Z andreyorst joined #lisp 2021-04-10T04:18:00Z perrier-jouet joined #lisp 2021-04-10T04:18:00Z noobineer joined #lisp 2021-04-10T04:18:00Z Posterdati joined #lisp 2021-04-10T04:18:00Z hhdave joined #lisp 2021-04-10T04:18:00Z alandipert joined #lisp 2021-04-10T04:18:00Z d4ryus joined #lisp 2021-04-10T04:18:00Z MightyJoe joined #lisp 2021-04-10T04:18:00Z ravndal joined #lisp 2021-04-10T04:18:00Z fitzsim joined #lisp 2021-04-10T04:18:00Z SAL9000 joined #lisp 2021-04-10T04:18:00Z vegai joined #lisp 2021-04-10T04:18:00Z mgsk_ joined #lisp 2021-04-10T04:18:00Z isoraqathedh joined #lisp 2021-04-10T04:18:00Z Demosthenex joined #lisp 2021-04-10T04:18:00Z astronavt joined #lisp 2021-04-10T04:18:00Z jackdaniel joined #lisp 2021-04-10T04:18:00Z ggoes joined #lisp 2021-04-10T04:18:00Z leo_song_ joined #lisp 2021-04-10T04:18:00Z Ekho joined #lisp 2021-04-10T04:18:00Z jcowan joined #lisp 2021-04-10T04:18:00Z cipherchess joined #lisp 2021-04-10T04:18:00Z beach joined #lisp 2021-04-10T04:18:00Z lowryder joined #lisp 2021-04-10T04:18:00Z ffwacom joined #lisp 2021-04-10T04:18:00Z winny joined #lisp 2021-04-10T04:18:00Z vydd joined #lisp 2021-04-10T04:18:00Z aaronm04 joined #lisp 2021-04-10T04:18:00Z antoszka joined #lisp 2021-04-10T04:18:00Z rvirding joined #lisp 2021-04-10T04:18:00Z b20n joined #lisp 2021-04-10T04:18:00Z TMA joined #lisp 2021-04-10T04:18:00Z Shinmera joined #lisp 2021-04-10T04:18:00Z glamas joined #lisp 2021-04-10T04:18:00Z cyberlard joined #lisp 2021-04-10T04:18:00Z z0d joined #lisp 2021-04-10T04:18:00Z jackhill joined #lisp 2021-04-10T04:18:00Z penguwin joined #lisp 2021-04-10T04:18:00Z Xach joined #lisp 2021-04-10T04:18:00Z ioa joined #lisp 2021-04-10T04:18:00Z jrm joined #lisp 2021-04-10T04:18:00Z Colleen joined #lisp 2021-04-10T04:18:00Z tomaw joined #lisp 2021-04-10T04:18:00Z ineiros joined #lisp 2021-04-10T04:18:00Z MetaYan_ joined #lisp 2021-04-10T04:18:00Z Noisytoot joined #lisp 2021-04-10T04:18:00Z jonatack joined #lisp 2021-04-10T04:18:00Z shka_ joined #lisp 2021-04-10T04:18:00Z aindilis joined #lisp 2021-04-10T04:18:00Z quazimodo joined #lisp 2021-04-10T04:18:00Z _paul0 joined #lisp 2021-04-10T04:18:00Z samebchase- joined #lisp 2021-04-10T04:18:00Z jdz joined #lisp 2021-04-10T04:18:13Z beaky quit (Max SendQ exceeded) 2021-04-10T04:18:13Z stux|RC-only quit (Max SendQ exceeded) 2021-04-10T04:18:15Z orivej joined #lisp 2021-04-10T04:18:24Z alfred188 quit (Max SendQ exceeded) 2021-04-10T04:18:25Z teej quit (Max SendQ exceeded) 2021-04-10T04:18:32Z gigetoo quit (Max SendQ exceeded) 2021-04-10T04:18:32Z nckx quit (Max SendQ exceeded) 2021-04-10T04:18:36Z thecoffemaker quit (Max SendQ exceeded) 2021-04-10T04:18:59Z gigetoo joined #lisp 2021-04-10T04:19:33Z beaky joined #lisp 2021-04-10T04:19:34Z alfred188 joined #lisp 2021-04-10T04:19:56Z quanta[m] quit (Ping timeout: 245 seconds) 2021-04-10T04:19:57Z ms[m] quit (Ping timeout: 245 seconds) 2021-04-10T04:20:04Z MrtnDk[m] quit (Ping timeout: 252 seconds) 2021-04-10T04:20:04Z dmiles[m] quit (Ping timeout: 248 seconds) 2021-04-10T04:20:04Z Gnuxie[m] quit (Ping timeout: 248 seconds) 2021-04-10T04:20:13Z nckx joined #lisp 2021-04-10T04:20:19Z susam quit (Ping timeout: 256 seconds) 2021-04-10T04:20:24Z rodentrabies quit (Ping timeout: 245 seconds) 2021-04-10T04:20:43Z etimmons quit (Ping timeout: 258 seconds) 2021-04-10T04:20:46Z arcontethegreat[ quit (Ping timeout: 245 seconds) 2021-04-10T04:20:48Z physpi quit (Ping timeout: 252 seconds) 2021-04-10T04:20:49Z parisienne quit (Ping timeout: 245 seconds) 2021-04-10T04:20:55Z entel quit (Ping timeout: 250 seconds) 2021-04-10T04:21:02Z notzmv quit (Ping timeout: 265 seconds) 2021-04-10T04:21:04Z stux|RC-only joined #lisp 2021-04-10T04:21:05Z katco quit (Ping timeout: 258 seconds) 2021-04-10T04:21:09Z ThaEwat quit (Ping timeout: 252 seconds) 2021-04-10T04:21:11Z kreyren quit (Ping timeout: 245 seconds) 2021-04-10T04:21:12Z no-defun-allowed quit (Ping timeout: 245 seconds) 2021-04-10T04:21:14Z JCDentonreportin quit (Ping timeout: 245 seconds) 2021-04-10T04:21:14Z tweet[m] quit (Ping timeout: 245 seconds) 2021-04-10T04:21:16Z waleee-cl quit (Ping timeout: 258 seconds) 2021-04-10T04:21:21Z p_l quit (Ping timeout: 250 seconds) 2021-04-10T04:21:28Z dieggsy quit (Ping timeout: 258 seconds) 2021-04-10T04:21:37Z agam_b[m] quit (Ping timeout: 245 seconds) 2021-04-10T04:21:39Z e[m]1 quit (Ping timeout: 248 seconds) 2021-04-10T04:22:04Z Theora[m] quit (Ping timeout: 276 seconds) 2021-04-10T04:22:04Z infra_red[m] quit (Ping timeout: 276 seconds) 2021-04-10T04:22:04Z loke[m] quit (Ping timeout: 276 seconds) 2021-04-10T04:22:05Z p_l joined #lisp 2021-04-10T04:22:25Z thecoffemaker joined #lisp 2021-04-10T04:23:45Z parisienne joined #lisp 2021-04-10T04:23:57Z theruran_ quit (Ping timeout: 250 seconds) 2021-04-10T04:24:31Z physpi joined #lisp 2021-04-10T04:24:39Z notzmv joined #lisp 2021-04-10T04:24:40Z theruran_ joined #lisp 2021-04-10T04:24:49Z theruran_ quit (Excess Flood) 2021-04-10T04:25:18Z theruran_ joined #lisp 2021-04-10T04:25:30Z waleee-cl joined #lisp 2021-04-10T04:26:24Z teej joined #lisp 2021-04-10T04:27:11Z entel joined #lisp 2021-04-10T04:27:25Z chipolux joined #lisp 2021-04-10T04:34:30Z chipolux quit (Quit: chipolux) 2021-04-10T04:41:41Z seok joined #lisp 2021-04-10T04:47:03Z skapata quit (Remote host closed the connection) 2021-04-10T04:48:30Z Kundry_Wag joined #lisp 2021-04-10T04:52:44Z ebrasca joined #lisp 2021-04-10T04:53:30Z Kundry_Wag quit (Ping timeout: 268 seconds) 2021-04-10T04:55:40Z infra_red[m] joined #lisp 2021-04-10T05:02:38Z marusich quit (Ping timeout: 240 seconds) 2021-04-10T05:04:11Z aeth quit (Ping timeout: 240 seconds) 2021-04-10T05:06:21Z aeth joined #lisp 2021-04-10T05:14:32Z rodentrabies joined #lisp 2021-04-10T05:14:33Z dmiles[m] joined #lisp 2021-04-10T05:14:33Z Theora[m] joined #lisp 2021-04-10T05:14:33Z e[m]1 joined #lisp 2021-04-10T05:14:33Z no-defun-allowed joined #lisp 2021-04-10T05:14:33Z etimmons joined #lisp 2021-04-10T05:14:33Z katco joined #lisp 2021-04-10T05:14:33Z quanta[m] joined #lisp 2021-04-10T05:14:33Z susam joined #lisp 2021-04-10T05:14:33Z arcontethegreat[ joined #lisp 2021-04-10T05:14:34Z loke[m] joined #lisp 2021-04-10T05:14:34Z dieggsy joined #lisp 2021-04-10T05:14:34Z Gnuxie[m] joined #lisp 2021-04-10T05:14:34Z MrtnDk[m] joined #lisp 2021-04-10T05:14:34Z tweet[m] joined #lisp 2021-04-10T05:14:34Z ms[m] joined #lisp 2021-04-10T05:14:34Z kreyren joined #lisp 2021-04-10T05:14:34Z ThaEwat joined #lisp 2021-04-10T05:14:38Z agam_b[m] joined #lisp 2021-04-10T05:14:38Z JCDentonreportin joined #lisp 2021-04-10T05:14:55Z tophullyte joined #lisp 2021-04-10T05:18:05Z marusich joined #lisp 2021-04-10T05:26:12Z epony quit (Quit: QUIT) 2021-04-10T05:26:56Z epony joined #lisp 2021-04-10T05:30:08Z easye quit (Remote host closed the connection) 2021-04-10T05:31:01Z easye joined #lisp 2021-04-10T05:44:02Z rumbler31 quit (Remote host closed the connection) 2021-04-10T05:44:48Z rumbler31 joined #lisp 2021-04-10T05:45:33Z fiddlerwoaroof: Bike, I'm confusing two things, it's interesting that #{} and #[] aredescribed this way: "The combinations marked by an asterisk (*) are explicitly reserved to the user" 2021-04-10T05:45:40Z fiddlerwoaroof: clhs 2.4.8 2021-04-10T05:45:40Z specbot: Sharpsign: http://www.lispworks.com/reference/HyperSpec/Body/02_dh.htm 2021-04-10T05:46:32Z fiddlerwoaroof: While [] and {} are defined this way: "The characters marked with an asterisk (*) are initially constituents, but they are not used in any standard Common Lisp notations. These characters are explicitly reserved to the programmer." 2021-04-10T05:46:51Z fiddlerwoaroof: clhs 2.1.4 2021-04-10T05:46:52Z specbot: Character Syntax Types: http://www.lispworks.com/reference/HyperSpec/Body/02_ad.htm 2021-04-10T05:47:43Z holycow joined #lisp 2021-04-10T05:47:47Z fiddlerwoaroof: It seems to me that there's an attempt here to distinguish characters that end-users might define reader macros on from characters that non-end-user programmers might define reader macros on 2021-04-10T05:48:19Z fiddlerwoaroof: Of course, in retrospect, it seems to me that NAMED-READTABLES is the right solution to this sort of problems 2021-04-10T05:54:04Z akoana left #lisp 2021-04-10T05:54:56Z marusich quit (Ping timeout: 245 seconds) 2021-04-10T06:00:52Z holycow quit (Quit: Lost terminal) 2021-04-10T06:03:25Z silasfox joined #lisp 2021-04-10T06:04:16Z aeth quit (Ping timeout: 252 seconds) 2021-04-10T06:06:16Z aeth joined #lisp 2021-04-10T06:10:49Z Oladon quit (Quit: Leaving.) 2021-04-10T06:14:12Z marusich joined #lisp 2021-04-10T06:16:04Z marusich quit (Client Quit) 2021-04-10T06:26:07Z pve joined #lisp 2021-04-10T06:47:34Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-10T06:48:41Z contrapunctus left #lisp 2021-04-10T06:49:27Z Kundry_Wag joined #lisp 2021-04-10T06:49:53Z phantomics_ joined #lisp 2021-04-10T06:50:11Z phantomics quit (Ping timeout: 240 seconds) 2021-04-10T06:52:45Z narimiran joined #lisp 2021-04-10T06:53:41Z Kundry_Wag quit (Ping timeout: 252 seconds) 2021-04-10T06:54:59Z contrapunctus joined #lisp 2021-04-10T06:57:09Z hypercube quit (Ping timeout: 265 seconds) 2021-04-10T07:09:05Z contrapunctus left #lisp 2021-04-10T07:09:43Z aeth quit (Ping timeout: 252 seconds) 2021-04-10T07:10:21Z contrapunctus joined #lisp 2021-04-10T07:11:18Z aeth joined #lisp 2021-04-10T07:11:23Z monaliza_ quit (Ping timeout: 246 seconds) 2021-04-10T07:11:59Z silasfox quit (Ping timeout: 260 seconds) 2021-04-10T07:13:22Z monaliza_ joined #lisp 2021-04-10T07:20:20Z phantomics_ quit (Quit: Ex-Chat) 2021-04-10T07:25:11Z DanklyTuned joined #lisp 2021-04-10T07:27:48Z bjorkintosh joined #lisp 2021-04-10T07:27:51Z tophullyte quit (Ping timeout: 245 seconds) 2021-04-10T07:27:53Z aartaka joined #lisp 2021-04-10T07:32:50Z ech quit (Remote host closed the connection) 2021-04-10T07:33:07Z ech joined #lisp 2021-04-10T07:53:44Z silasfox joined #lisp 2021-04-10T08:02:02Z varjag joined #lisp 2021-04-10T08:05:39Z joga quit (Changing host) 2021-04-10T08:05:39Z joga joined #lisp 2021-04-10T08:07:03Z gxt joined #lisp 2021-04-10T08:07:33Z aeth quit (Ping timeout: 260 seconds) 2021-04-10T08:07:42Z hendursaga joined #lisp 2021-04-10T08:09:11Z aeth joined #lisp 2021-04-10T08:09:57Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-10T08:09:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T08:11:53Z amb007 joined #lisp 2021-04-10T08:17:42Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T08:18:31Z amb007 joined #lisp 2021-04-10T08:21:33Z gumman joined #lisp 2021-04-10T08:33:42Z Lycurgus joined #lisp 2021-04-10T08:39:22Z silasfox quit (Quit: Leaving) 2021-04-10T08:41:50Z aartaka_d joined #lisp 2021-04-10T08:42:45Z anticrisis quit (Read error: Connection reset by peer) 2021-04-10T08:44:36Z aartaka quit (Ping timeout: 260 seconds) 2021-04-10T08:46:02Z rjcks joined #lisp 2021-04-10T08:48:45Z ech quit (Ping timeout: 240 seconds) 2021-04-10T08:48:45Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T08:50:22Z amb007 joined #lisp 2021-04-10T08:50:26Z Kundry_Wag joined #lisp 2021-04-10T08:50:52Z Lycurgus quit (Quit: Exeunt) 2021-04-10T08:54:46Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-10T09:06:01Z seok quit (Quit: Connection closed) 2021-04-10T09:09:31Z fe[nl]ix quit (Ping timeout: 250 seconds) 2021-04-10T09:10:01Z Blkt quit (Ping timeout: 276 seconds) 2021-04-10T09:11:11Z fe[nl]ix joined #lisp 2021-04-10T09:11:11Z Blkt joined #lisp 2021-04-10T09:11:11Z ChanServ has set mode +o fe[nl]ix 2021-04-10T09:11:37Z cosimone joined #lisp 2021-04-10T09:14:34Z glaceon joined #lisp 2021-04-10T09:18:38Z Inline joined #lisp 2021-04-10T09:20:33Z surabax joined #lisp 2021-04-10T09:21:10Z monaliza_ quit (Ping timeout: 252 seconds) 2021-04-10T09:21:59Z monaliza_ joined #lisp 2021-04-10T09:27:22Z ramHero joined #lisp 2021-04-10T09:28:54Z andrei-n joined #lisp 2021-04-10T09:35:55Z rogersm joined #lisp 2021-04-10T09:36:58Z g_SG joined #lisp 2021-04-10T09:38:13Z rogersm quit (Remote host closed the connection) 2021-04-10T09:38:28Z rogersm joined #lisp 2021-04-10T09:38:59Z rogersm quit (Remote host closed the connection) 2021-04-10T09:44:06Z supercoven joined #lisp 2021-04-10T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-10T10:01:06Z cosimone quit (Read error: Connection reset by peer) 2021-04-10T10:08:49Z cosimone joined #lisp 2021-04-10T10:09:11Z mindCrime quit (Ping timeout: 260 seconds) 2021-04-10T10:12:59Z DanklyTuned quit (Quit: nyaa~) 2021-04-10T10:16:11Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-10T10:16:16Z aartaka joined #lisp 2021-04-10T10:18:25Z g_SG quit (Quit: WeeChat 2.9) 2021-04-10T10:19:24Z glaceon left #lisp 2021-04-10T10:21:03Z cage_ joined #lisp 2021-04-10T10:22:58Z gitgood joined #lisp 2021-04-10T10:26:24Z ramHero quit (Remote host closed the connection) 2021-04-10T10:27:23Z ramHero joined #lisp 2021-04-10T10:31:07Z frgo quit (Remote host closed the connection) 2021-04-10T10:31:33Z frgo joined #lisp 2021-04-10T10:38:02Z random-nick joined #lisp 2021-04-10T10:39:54Z rogersm joined #lisp 2021-04-10T10:44:48Z rogersm quit (Ping timeout: 265 seconds) 2021-04-10T10:45:37Z rogersm joined #lisp 2021-04-10T10:46:33Z ramHero quit (Remote host closed the connection) 2021-04-10T10:47:13Z ramHero joined #lisp 2021-04-10T10:51:21Z Kundry_Wag joined #lisp 2021-04-10T10:53:00Z vegansbane6963 joined #lisp 2021-04-10T10:55:55Z Kundry_Wag quit (Ping timeout: 265 seconds) 2021-04-10T11:05:08Z rogersm quit 2021-04-10T11:08:49Z theothornhill joined #lisp 2021-04-10T11:13:59Z vv8 quit (Ping timeout: 268 seconds) 2021-04-10T11:16:01Z aartaka_d joined #lisp 2021-04-10T11:18:11Z aartaka quit (Ping timeout: 240 seconds) 2021-04-10T11:26:27Z vv8 joined #lisp 2021-04-10T11:35:18Z theothornhill quit (Remote host closed the connection) 2021-04-10T11:36:19Z heretical_crypte joined #lisp 2021-04-10T11:43:54Z cosimone quit (Read error: Connection reset by peer) 2021-04-10T11:45:52Z Kundry_Wag joined #lisp 2021-04-10T11:46:27Z contrapunctus quit (Ping timeout: 248 seconds) 2021-04-10T11:46:56Z beach` joined #lisp 2021-04-10T11:49:57Z galex-713 joined #lisp 2021-04-10T11:50:11Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-10T11:50:11Z monaliza_ quit (Ping timeout: 240 seconds) 2021-04-10T11:51:01Z beach quit (Ping timeout: 246 seconds) 2021-04-10T11:52:10Z monaliza_ joined #lisp 2021-04-10T11:55:02Z rumbler31 quit (Remote host closed the connection) 2021-04-10T11:55:20Z rumbler31 joined #lisp 2021-04-10T12:03:09Z aartaka joined #lisp 2021-04-10T12:03:42Z monaliza_ quit (Quit: monaliza_) 2021-04-10T12:06:43Z aartaka_d quit (Ping timeout: 252 seconds) 2021-04-10T12:10:03Z beach` is now known as beach 2021-04-10T12:28:14Z c7s joined #lisp 2021-04-10T12:35:33Z amk quit (Remote host closed the connection) 2021-04-10T12:36:18Z c7s left #lisp 2021-04-10T12:37:56Z c7s joined #lisp 2021-04-10T12:38:18Z amk joined #lisp 2021-04-10T12:41:11Z McParen joined #lisp 2021-04-10T12:48:14Z Krystof joined #lisp 2021-04-10T12:52:11Z jonathan- quit (Quit: fBNC - https://bnc4free.com) 2021-04-10T13:11:01Z hiroaki joined #lisp 2021-04-10T13:11:06Z hiroaki_ joined #lisp 2021-04-10T13:11:21Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T13:12:21Z amb007 joined #lisp 2021-04-10T13:12:23Z sauvin quit (Ping timeout: 268 seconds) 2021-04-10T13:14:18Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T13:15:37Z amb007 joined #lisp 2021-04-10T13:15:57Z Kundry_Wag joined #lisp 2021-04-10T13:19:37Z jeosol quit (Quit: Connection closed) 2021-04-10T13:20:31Z mmmattyx joined #lisp 2021-04-10T13:20:55Z Kundry_Wag quit (Ping timeout: 265 seconds) 2021-04-10T13:23:32Z klltkr joined #lisp 2021-04-10T13:24:47Z amb007 quit (Ping timeout: 265 seconds) 2021-04-10T13:25:14Z amb007 joined #lisp 2021-04-10T13:34:39Z orivej quit (Ping timeout: 260 seconds) 2021-04-10T13:44:33Z krjli joined #lisp 2021-04-10T13:48:25Z gproto23 joined #lisp 2021-04-10T13:51:00Z aartaka quit (Ping timeout: 252 seconds) 2021-04-10T14:01:48Z Josh_2 joined #lisp 2021-04-10T14:04:48Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T14:05:43Z amb007 joined #lisp 2021-04-10T14:06:41Z notzmv quit (Ping timeout: 240 seconds) 2021-04-10T14:14:19Z amb007 quit (Ping timeout: 252 seconds) 2021-04-10T14:14:20Z aartaka joined #lisp 2021-04-10T14:15:19Z amb007 joined #lisp 2021-04-10T14:15:23Z Josh_2: Afternoon 2021-04-10T14:17:29Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T14:17:48Z amb007 joined #lisp 2021-04-10T14:18:30Z beach: Hello Josh_2. 2021-04-10T14:24:08Z skapata joined #lisp 2021-04-10T14:26:21Z jeosol joined #lisp 2021-04-10T14:27:37Z wooden quit (Ping timeout: 268 seconds) 2021-04-10T14:28:52Z opfez joined #lisp 2021-04-10T14:29:27Z opfez: does anyone have experience with cl-sdl2 on raspberry pi? can't get it to compile because it fails trying to run c2ffi 2021-04-10T14:29:49Z phoe: why does it fail to run c2ffi? 2021-04-10T14:30:16Z opfez: it just says it exited with error code 1 2021-04-10T14:30:41Z opfez: i'll paste the error, give me a sec 2021-04-10T14:30:53Z phoe: check the inferior-lisp buffer and/or the REPL, it should contain either the c2ffi invocations or c2ffi error messages 2021-04-10T14:31:24Z phoe: in the earlier case, you'll have a shell command that you will be able to repeat yourself in a terminal, and you'll get the error messages 2021-04-10T14:31:29Z phoe: s/earlier/former/ 2021-04-10T14:32:28Z opfez: https://gist.github.com/opFez/02b5f12aa3611980b4285ae251a65c71 2021-04-10T14:32:50Z opfez: hm yeah i have tried running it and it doesn't provide any useful information 2021-04-10T14:33:20Z phoe: L19-L22 has the full command 2021-04-10T14:33:28Z _whitelogger quit (Remote host closed the connection) 2021-04-10T14:33:53Z phoe: (format nil "~{~A~^ ~}") it and you will have something copypastable into your shell 2021-04-10T14:34:09Z opfez: yep, tried running that. the 8.0.1 part is wrong which i replaced with my actual clang version, still didn't work 2021-04-10T14:34:25Z phoe: what's the error that c2ffi gives? 2021-04-10T14:34:34Z opfez: give me a sec 2021-04-10T14:35:37Z _whitelogger joined #lisp 2021-04-10T14:37:14Z opfez: https://gist.github.com/opFez/c196f0848e4750834f526dda829bc889 2021-04-10T14:37:15Z opfez: it's a lot 2021-04-10T14:37:21Z opfez: 6000 lines wew 2021-04-10T14:37:57Z opfez: looks like mostly type declarations it can't find (uint8_t etc.) 2021-04-10T14:39:58Z phoe: weird, I can see that the C-INCLUDE form is supposed to include stdint.h which has these C type definitions. 2021-04-10T14:40:01Z phoe: mfiano: around? 2021-04-10T14:45:55Z Kundry_Wag joined #lisp 2021-04-10T14:48:53Z wooden joined #lisp 2021-04-10T14:49:07Z aartaka_d joined #lisp 2021-04-10T14:49:58Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-10T14:51:01Z __jrjsmrtn__ joined #lisp 2021-04-10T14:51:06Z aartaka quit (Ping timeout: 240 seconds) 2021-04-10T14:51:31Z _jrjsmrtn quit (Ping timeout: 260 seconds) 2021-04-10T14:52:40Z shka_: phoe: it is supposed to have in a proper C standard 2021-04-10T14:53:20Z opfez: in addition to this, i manually went into the sdl2 include file and added a #include , didn't work either 2021-04-10T14:54:12Z aartaka joined #lisp 2021-04-10T14:56:11Z aartaka_d quit (Ping timeout: 260 seconds) 2021-04-10T14:56:44Z Bike joined #lisp 2021-04-10T14:59:04Z aartaka quit (Ping timeout: 268 seconds) 2021-04-10T15:11:21Z Xach: they broke beirc! 2021-04-10T15:11:23Z Xach: the madmen! 2021-04-10T15:11:48Z Xach: "last modified: 12 years ago" 2021-04-10T15:12:06Z Xach: jackdaniel: have you been changing mcclim so much that beirc breaks? or something? 2021-04-10T15:15:31Z santiagopim[m] joined #lisp 2021-04-10T15:22:16Z mfiano: phoe: almost 2021-04-10T15:27:40Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-10T15:31:14Z scymtym: Xach: do you have a failure report for that? 2021-04-10T15:32:34Z phoe: mfiano: maybe you could try debug the cl-sdl2 c2ffi failure from above 2021-04-10T15:33:13Z mfiano: Maybe someone with an rpi could. That would be far easier :) 2021-04-10T15:36:08Z Kundry_Wag joined #lisp 2021-04-10T15:38:01Z gaqwas joined #lisp 2021-04-10T15:38:01Z gaqwas quit (Changing host) 2021-04-10T15:38:01Z gaqwas joined #lisp 2021-04-10T15:40:32Z Nilby quit (Ping timeout: 258 seconds) 2021-04-10T15:40:41Z sjl quit (Ping timeout: 240 seconds) 2021-04-10T15:42:03Z aeth quit (Ping timeout: 265 seconds) 2021-04-10T15:43:35Z aeth joined #lisp 2021-04-10T15:44:13Z cosimone joined #lisp 2021-04-10T15:55:03Z sjl joined #lisp 2021-04-10T15:55:11Z aeth_ joined #lisp 2021-04-10T15:57:38Z aeth quit (Ping timeout: 240 seconds) 2021-04-10T15:57:51Z aeth_ is now known as aeth 2021-04-10T15:58:55Z notzmv joined #lisp 2021-04-10T16:00:21Z theothornhill joined #lisp 2021-04-10T16:00:31Z cosimone quit (Remote host closed the connection) 2021-04-10T16:02:13Z aeth_ joined #lisp 2021-04-10T16:02:17Z aeth quit (Disconnected by services) 2021-04-10T16:02:22Z aeth_ is now known as aeth 2021-04-10T16:09:28Z rjcks_ joined #lisp 2021-04-10T16:12:29Z rjcks quit (Ping timeout: 246 seconds) 2021-04-10T16:13:53Z kevingal joined #lisp 2021-04-10T16:14:15Z sauvin joined #lisp 2021-04-10T16:18:16Z long4mud joined #lisp 2021-04-10T16:22:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T16:23:52Z sauvin_ joined #lisp 2021-04-10T16:24:50Z amb007 joined #lisp 2021-04-10T16:24:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T16:25:07Z amb007 joined #lisp 2021-04-10T16:26:32Z sauvin quit (Ping timeout: 258 seconds) 2021-04-10T16:27:25Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T16:27:39Z splittist: How do I programmatically create a NaN (Not a Number) on those implementations that support them? Alternatively, what would be good libraries to look for such an answer? 2021-04-10T16:27:43Z amb007 joined #lisp 2021-04-10T16:27:54Z splittist: s/look/look at/ 2021-04-10T16:28:44Z mindCrime joined #lisp 2021-04-10T16:29:32Z slyrus quit (Remote host closed the connection) 2021-04-10T16:29:58Z slyrus joined #lisp 2021-04-10T16:32:48Z tophullyte joined #lisp 2021-04-10T16:35:15Z splittist: For sbcl I have with-float-traps-masked to play with, I guess. 2021-04-10T16:35:42Z mindCrime quit (Ping timeout: 265 seconds) 2021-04-10T16:36:53Z andrei-n quit (Read error: Connection reset by peer) 2021-04-10T16:38:40Z andrei-n joined #lisp 2021-04-10T16:38:57Z gproto23 quit (Quit: Leaving) 2021-04-10T16:39:31Z jackdaniel: Xach: yes, let me see what was the previous behavior 2021-04-10T16:39:47Z bitmapper joined #lisp 2021-04-10T16:39:49Z jackdaniel: I'm backporting non trivial amounts of code currently 2021-04-10T16:42:02Z aartaka joined #lisp 2021-04-10T16:42:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T16:42:18Z amb007 joined #lisp 2021-04-10T16:42:46Z aartaka_d joined #lisp 2021-04-10T16:42:50Z dra_ joined #lisp 2021-04-10T16:43:18Z dra_ quit (Client Quit) 2021-04-10T16:43:26Z slyrus quit (Ping timeout: 240 seconds) 2021-04-10T16:43:28Z dra joined #lisp 2021-04-10T16:46:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T16:46:49Z aartaka quit (Ping timeout: 265 seconds) 2021-04-10T16:46:54Z bonz060_ is now known as bonz060 2021-04-10T16:47:35Z slyrus joined #lisp 2021-04-10T16:47:49Z amb007 joined #lisp 2021-04-10T16:50:51Z jackdaniel: scymtym: the regression was caused by the fact that normalize-keyboard-physical-gesture tries to enforce a fixed set of keywords 2021-04-10T16:50:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T16:51:38Z amb007 joined #lisp 2021-04-10T16:52:10Z jackdaniel: Xach: thanks for the report, I've reverted the part that beirc didn't like 2021-04-10T16:53:03Z jackdaniel: during upcoming days there may be few more regressions (most likely due to my screw ups) 2021-04-10T16:53:03Z dra quit (Remote host closed the connection) 2021-04-10T16:53:03Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T16:53:09Z jackdaniel: sorry about that 2021-04-10T16:53:15Z jackdaniel: s/few/a few/ 2021-04-10T16:53:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-10T16:54:28Z amb007 joined #lisp 2021-04-10T16:55:31Z opfez quit (Ping timeout: 265 seconds) 2021-04-10T16:55:31Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T16:56:29Z amb007 joined #lisp 2021-04-10T16:58:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T16:59:24Z amb007 joined #lisp 2021-04-10T17:00:25Z aeth quit (Ping timeout: 252 seconds) 2021-04-10T17:00:48Z aeth joined #lisp 2021-04-10T17:02:28Z mmontone joined #lisp 2021-04-10T17:02:48Z aeth_ joined #lisp 2021-04-10T17:05:26Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-10T17:05:55Z aeth quit (Ping timeout: 252 seconds) 2021-04-10T17:06:31Z aeth_ is now known as aeth 2021-04-10T17:07:28Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-10T17:07:34Z aartaka joined #lisp 2021-04-10T17:10:06Z theothornhill joined #lisp 2021-04-10T17:10:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T17:10:20Z amb007 joined #lisp 2021-04-10T17:12:00Z slyrus joined #lisp 2021-04-10T17:12:01Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T17:13:13Z amb007 joined #lisp 2021-04-10T17:13:20Z rumbler31 quit (Remote host closed the connection) 2021-04-10T17:14:03Z rumbler31 joined #lisp 2021-04-10T17:14:43Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-10T17:16:46Z slyrus quit (Ping timeout: 260 seconds) 2021-04-10T17:16:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T17:17:14Z amb007 joined #lisp 2021-04-10T17:20:43Z theothornhill joined #lisp 2021-04-10T17:21:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T17:22:12Z amb007 joined #lisp 2021-04-10T17:25:08Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-10T17:26:33Z Bike: splittist: there is https://github.com/Shinmera/float-features 2021-04-10T17:26:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T17:26:54Z amb007 joined #lisp 2021-04-10T17:27:01Z splittist: Bike: yes. I'm looking at nan.lisp (which does not seem to be part of the system) 2021-04-10T17:27:13Z splittist: s/yes/yes, thanks!/ 2021-04-10T17:27:17Z Shinmera: ? why would it not be 2021-04-10T17:27:26Z Bike: it's in the ASD? right? 2021-04-10T17:27:29Z Shinmera: it is. 2021-04-10T17:27:32Z Bike: or have i contracted reverse blindness 2021-04-10T17:29:41Z mindCrime joined #lisp 2021-04-10T17:29:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T17:29:53Z amb007 joined #lisp 2021-04-10T17:32:07Z splittist: ahem. 2021-04-10T17:33:07Z Kundry_Wag quit (Remote host closed the connection) 2021-04-10T17:33:13Z Iolo quit (Quit: ZNC 1.7.5+deb4 - https://znc.in) 2021-04-10T17:34:35Z splittist: It works! (Underlines previous note to self: when looking for libraries start with Shinmeraware) 2021-04-10T17:35:04Z Shinmera: float-features seems to be my most-used library somehow. 2021-04-10T17:35:10Z Shinmera: At least from the amount of comments I see about it. 2021-04-10T17:35:13Z Iolo joined #lisp 2021-04-10T17:36:56Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T17:37:26Z aeth quit (Ping timeout: 240 seconds) 2021-04-10T17:37:32Z sjl quit (Quit: WeeChat 2.2-dev) 2021-04-10T17:38:43Z luna_is_here quit (Ping timeout: 260 seconds) 2021-04-10T17:39:18Z luna_is_here joined #lisp 2021-04-10T17:39:29Z aeth joined #lisp 2021-04-10T17:40:21Z amb007 joined #lisp 2021-04-10T17:40:54Z Kundry_Wag joined #lisp 2021-04-10T17:45:11Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-10T17:50:06Z lowryder quit (Ping timeout: 246 seconds) 2021-04-10T17:51:10Z lowryder joined #lisp 2021-04-10T17:55:23Z tophullyte quit (*.net *.split) 2021-04-10T17:55:23Z varjag quit (*.net *.split) 2021-04-10T17:55:23Z diamondbond quit (*.net *.split) 2021-04-10T17:55:24Z fourier quit (*.net *.split) 2021-04-10T17:55:24Z rdd quit (*.net *.split) 2021-04-10T17:55:24Z dilated_dinosaur quit (*.net *.split) 2021-04-10T17:55:24Z cods quit (*.net *.split) 2021-04-10T17:55:24Z ramus quit (*.net *.split) 2021-04-10T17:55:24Z jurov_ quit (*.net *.split) 2021-04-10T17:55:24Z saturn2 quit (*.net *.split) 2021-04-10T17:55:24Z deltab quit (*.net *.split) 2021-04-10T17:55:24Z getha quit (*.net *.split) 2021-04-10T17:55:24Z hdasch quit (*.net *.split) 2021-04-10T17:55:24Z hiredman quit (*.net *.split) 2021-04-10T17:55:24Z fengshaun_ quit (*.net *.split) 2021-04-10T17:55:24Z hvxgr quit (*.net *.split) 2021-04-10T17:55:24Z datajerk quit (*.net *.split) 2021-04-10T17:55:24Z zymurgy quit (*.net *.split) 2021-04-10T17:55:24Z bkst quit (*.net *.split) 2021-04-10T17:55:24Z drdo quit (*.net *.split) 2021-04-10T17:55:24Z remexre quit (*.net *.split) 2021-04-10T17:55:24Z lavaflow quit (*.net *.split) 2021-04-10T17:55:24Z Juonu quit (*.net *.split) 2021-04-10T17:55:24Z HDurer quit (*.net *.split) 2021-04-10T17:55:24Z Ziemas quit (*.net *.split) 2021-04-10T17:55:24Z pok quit (*.net *.split) 2021-04-10T17:55:24Z eagleflo quit (*.net *.split) 2021-04-10T17:55:24Z nopf quit (*.net *.split) 2021-04-10T17:55:24Z Fade quit (*.net *.split) 2021-04-10T17:55:24Z ferada quit (*.net *.split) 2021-04-10T17:55:34Z random-nick quit (Ping timeout: 252 seconds) 2021-04-10T17:56:22Z tophullyte joined #lisp 2021-04-10T17:56:22Z varjag joined #lisp 2021-04-10T17:56:22Z diamondbond joined #lisp 2021-04-10T17:56:22Z fourier joined #lisp 2021-04-10T17:56:22Z rdd joined #lisp 2021-04-10T17:56:22Z dilated_dinosaur joined #lisp 2021-04-10T17:56:22Z cods joined #lisp 2021-04-10T17:56:22Z ramus joined #lisp 2021-04-10T17:56:22Z jurov_ joined #lisp 2021-04-10T17:56:22Z saturn2 joined #lisp 2021-04-10T17:56:22Z deltab joined #lisp 2021-04-10T17:56:22Z getha joined #lisp 2021-04-10T17:56:22Z hdasch joined #lisp 2021-04-10T17:56:22Z hiredman joined #lisp 2021-04-10T17:56:22Z fengshaun_ joined #lisp 2021-04-10T17:56:22Z hvxgr joined #lisp 2021-04-10T17:56:22Z datajerk joined #lisp 2021-04-10T17:56:22Z zymurgy joined #lisp 2021-04-10T17:56:22Z bkst joined #lisp 2021-04-10T17:56:22Z drdo joined #lisp 2021-04-10T17:56:22Z eagleflo joined #lisp 2021-04-10T17:56:22Z remexre joined #lisp 2021-04-10T17:56:22Z lavaflow joined #lisp 2021-04-10T17:56:22Z Juonu joined #lisp 2021-04-10T17:56:22Z Ziemas joined #lisp 2021-04-10T17:56:22Z HDurer joined #lisp 2021-04-10T17:56:22Z ferada joined #lisp 2021-04-10T17:56:22Z pok joined #lisp 2021-04-10T17:56:22Z nopf joined #lisp 2021-04-10T17:56:22Z Fade joined #lisp 2021-04-10T17:56:48Z gumman quit (Remote host closed the connection) 2021-04-10T17:57:18Z gumman joined #lisp 2021-04-10T17:57:52Z amb007 quit (Ping timeout: 265 seconds) 2021-04-10T17:58:23Z Lycurgus joined #lisp 2021-04-10T17:59:12Z splittist: I confess I am too stupid to know how to use the nan constants in a function (without sbcl complaining about an invalid comparison) 2021-04-10T18:00:34Z Lycurgus hopes theys conditions 2021-04-10T18:01:20Z hjudt joined #lisp 2021-04-10T18:02:54Z splittist: And when I say 'use', I mean merely 'return'. 2021-04-10T18:06:21Z amb007 joined #lisp 2021-04-10T18:09:05Z rogersm joined #lisp 2021-04-10T18:13:49Z random-nick joined #lisp 2021-04-10T18:14:58Z theothornhill joined #lisp 2021-04-10T18:16:59Z theothornhill quit (Remote host closed the connection) 2021-04-10T18:18:37Z scymtym: jackdaniel: yes, for some of the commits, cherry-picking will not work without adaptations 2021-04-10T18:20:10Z aartaka quit (Ping timeout: 252 seconds) 2021-04-10T18:21:05Z theothor` joined #lisp 2021-04-10T18:22:58Z aeth quit (Ping timeout: 240 seconds) 2021-04-10T18:23:59Z Kundry_Wag joined #lisp 2021-04-10T18:25:09Z aeth joined #lisp 2021-04-10T18:25:36Z theothor` quit (Ping timeout: 260 seconds) 2021-04-10T18:26:26Z notzmv quit (Ping timeout: 240 seconds) 2021-04-10T18:28:11Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-10T18:28:25Z cage_ quit (Ping timeout: 252 seconds) 2021-04-10T18:28:49Z theothor` joined #lisp 2021-04-10T18:28:58Z srhm joined #lisp 2021-04-10T18:30:02Z diamondbond quit (Ping timeout: 246 seconds) 2021-04-10T18:31:03Z cage_ joined #lisp 2021-04-10T18:32:53Z diamondbond joined #lisp 2021-04-10T18:33:06Z theothor` quit (Ping timeout: 240 seconds) 2021-04-10T18:40:35Z jackdaniel: indeed 2021-04-10T18:48:51Z Kundry_Wag joined #lisp 2021-04-10T18:50:01Z Lycurgus quit (Quit: Exeunt) 2021-04-10T18:52:22Z Krystof: splittist: You probably need to remove :invalid from float-traps 2021-04-10T18:52:44Z Krystof: then sb-kernel:make-single-float (and sb-kernel:make-double-float ) 2021-04-10T18:53:29Z notzmv joined #lisp 2021-04-10T18:55:06Z splittist: Krystof: thanks. 2021-04-10T18:55:28Z theothor` joined #lisp 2021-04-10T18:57:22Z rogersm quit (Quit: Leaving...) 2021-04-10T18:59:47Z theothor` quit (Ping timeout: 246 seconds) 2021-04-10T19:03:13Z orivej joined #lisp 2021-04-10T19:05:06Z m00natic quit (Ping timeout: 240 seconds) 2021-04-10T19:06:12Z raeda quit (Remote host closed the connection) 2021-04-10T19:06:34Z raeda joined #lisp 2021-04-10T19:08:08Z rjcks joined #lisp 2021-04-10T19:09:49Z charles` joined #lisp 2021-04-10T19:10:02Z terpri quit (Remote host closed the connection) 2021-04-10T19:10:20Z terpri joined #lisp 2021-04-10T19:11:06Z rjcks_ quit (Ping timeout: 252 seconds) 2021-04-10T19:18:18Z theothor` joined #lisp 2021-04-10T19:21:51Z DHARMAKAYA joined #lisp 2021-04-10T19:22:16Z marusich joined #lisp 2021-04-10T19:22:52Z theothor` quit (Ping timeout: 252 seconds) 2021-04-10T19:23:26Z theothor` joined #lisp 2021-04-10T19:29:41Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-10T19:29:43Z DHARMAKAYA quit (Read error: Connection reset by peer) 2021-04-10T19:36:18Z josemanuel joined #lisp 2021-04-10T19:43:32Z DHARMAKAYA joined #lisp 2021-04-10T19:44:27Z vutral_ joined #lisp 2021-04-10T19:44:28Z Krystof quit (Ping timeout: 252 seconds) 2021-04-10T19:45:25Z rjcks quit (Ping timeout: 252 seconds) 2021-04-10T19:46:58Z narimiran quit (Quit: leaving) 2021-04-10T19:49:27Z Lord_of_Life_ joined #lisp 2021-04-10T19:51:56Z orivej quit (Ping timeout: 260 seconds) 2021-04-10T19:52:21Z josemanuel quit (Quit: leaving) 2021-04-10T19:52:32Z Lord_of_Life quit (Ping timeout: 252 seconds) 2021-04-10T19:52:40Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-10T19:53:36Z theothor` quit (Remote host closed the connection) 2021-04-10T19:57:05Z rjcks joined #lisp 2021-04-10T19:58:42Z phadthai quit (Ping timeout: 265 seconds) 2021-04-10T19:58:56Z phadthai joined #lisp 2021-04-10T20:02:47Z tophullyte quit (Ping timeout: 246 seconds) 2021-04-10T20:04:33Z cage_ quit (Quit: Leaving) 2021-04-10T20:06:11Z andrei-n quit (Quit: Leaving) 2021-04-10T20:06:35Z DHARMAKAYA quit (Read error: Connection reset by peer) 2021-04-10T20:08:38Z Khisanth quit (Ping timeout: 268 seconds) 2021-04-10T20:10:35Z cosimone joined #lisp 2021-04-10T20:13:12Z DHARMAKAYA joined #lisp 2021-04-10T20:15:51Z amk quit (Remote host closed the connection) 2021-04-10T20:17:58Z aartaka joined #lisp 2021-04-10T20:18:39Z mmontone quit (Quit: Connection closed) 2021-04-10T20:19:01Z amk joined #lisp 2021-04-10T20:20:50Z DHARMAKAYA quit (Read error: Connection reset by peer) 2021-04-10T20:21:19Z Khisanth joined #lisp 2021-04-10T20:32:05Z makomo joined #lisp 2021-04-10T20:32:15Z makomo: hello! \o 2021-04-10T20:32:47Z makomo: is there any portable way of checking whether a form represents an actual place? 2021-04-10T20:34:38Z makomo: the closest i got so far was using get-setf-expansion and then checking if the setter form is of the form (funcall (setf ) ...) and checking whether (setf ) is fbound, because calling (setf ) is the fallback if no setf expander exists 2021-04-10T20:35:02Z makomo: the only problem i see with this is the fact that the setter doesn't necessarily have to be of the form (funcall (setf ) ...), but it could still perform the same job 2021-04-10T20:38:05Z McParen left #lisp 2021-04-10T20:39:12Z anticrisis joined #lisp 2021-04-10T20:39:42Z Bike: yeah, that's about the best there is, probably. why do you need to know if something is a place? 2021-04-10T20:45:12Z makomo: Bike: i was writing a small dsl that allows me to define functions with various parameter passing strategies (call by value/reference/const/result/value-result/name) and somewhere along the line i needed to know whether to generate a (setf ) for an expression, depending whether it's a place or not 2021-04-10T20:45:36Z supercoven quit (Ping timeout: 260 seconds) 2021-04-10T20:45:48Z makomo: it also allows me to report a nice compile-time if you pass in expressions that aren't places for e.g. the reference passing strategy 2021-04-10T20:45:54Z makomo: compile-time error* 2021-04-10T20:46:12Z makomo: depending on* 2021-04-10T20:46:21Z Bike: you'd get a "(setf whatever) is undefined" warning regardless, right? 2021-04-10T20:48:22Z makomo: hm, why regardless? i would get something like that if i didn't include my check for whether the form is an actual place 2021-04-10T20:48:45Z makomo: it would blow up somewhere inside the generated macro and be really confusing, which is why i wanted to handle it before it ever got expanded 2021-04-10T20:48:57Z phoe: I assume that you disallow out-of-order compilation 2021-04-10T20:49:14Z phoe: (progn (my-macro ...) (defun (setf foo) ...)) is going to blow up in your example 2021-04-10T20:49:36Z phoe: even though it would normally compile and work 2021-04-10T20:50:43Z makomo: ahh, good point i guess. so the first form would be something like (my-macro ... (foo ...) ...)? 2021-04-10T20:51:14Z makomo: and then perhaps my-macro would use setf to set it 2021-04-10T20:51:47Z phoe: you mean like the expander function, during macroexpansion? 2021-04-10T20:52:02Z phoe: or would it expand into some form that includes the setf expansion of FOO? 2021-04-10T20:52:25Z phoe: the latter would work fine, the former looks weird because macroexpanders must be idempotent 2021-04-10T20:53:16Z makomo: during macroexpansion is when my PLACEP would be called, but the setf expansion would be present in the expansion of my-macro somewhere 2021-04-10T20:53:43Z phoe: looks like a case of "if it ain't broken, don't fix it" simply because the place can be defined after your PLACEP is called 2021-04-10T20:54:12Z phoe: somewhere within the same compilation unit, so not even a warning would be generated 2021-04-10T20:54:29Z makomo: right :^( 2021-04-10T20:54:30Z Josh_2 quit (Ping timeout: 252 seconds) 2021-04-10T20:54:54Z makomo: does sbcl normally generate a warning in such a case? when you're using a function before it's been defined? 2021-04-10T20:55:00Z makomo: i thought it did 2021-04-10T20:55:10Z phoe: yes, but not within the same compilation unit 2021-04-10T20:55:18Z makomo: hmm, right 2021-04-10T20:55:21Z phoe: I mean, if you explicitly require that all places must be defined before your macro is expanded, then your PLACEP is going to work and be useful 2021-04-10T20:55:32Z makomo: mhm mhm, true 2021-04-10T20:55:44Z makomo: it definitely has some caveats, yeah 2021-04-10T20:56:13Z makomo: speaking of caveats, there's a peculiar thing that i noticed in jensen's device https://en.wikipedia.org/wiki/Jensen%27s_device 2021-04-10T20:56:25Z makomo: which is what i was trying to implement with my parameter passing strategy dsl 2021-04-10T20:56:45Z phoe: also (progn (defun (setf foo) ...) (my-macro ... (foo ...))) - is this going to work without an EVAL-WHEN around the DEFUN? 2021-04-10T20:56:48Z phoe: lemme check 2021-04-10T20:57:22Z makomo: phoe: hmm good point, i wonder 2021-04-10T20:58:00Z makomo: regarding jensen's device: the parameter k that's passed by value is weird, because it's also used within the syntax of the for loop construct to introduce a binding that's not really called k 2021-04-10T20:58:45Z makomo: or rather, the for loop construct is weird, or maybe just the whole call by name strategy in algol 2021-04-10T20:58:58Z makomo: it appears to sort of interact with the syntax of the statements 2021-04-10T21:00:02Z pve quit (Quit: leaving) 2021-04-10T21:00:09Z makomo: i'm aware of the "capture-free substitution (copy) rule" that's used to define call by name, but it's still weird to me that the k gets substituted in that context, because you would think it's part of the for loop's syntax, and not in a place that's to be "evaluated" 2021-04-10T21:00:27Z phoe: seems like you can't get this at compilation time without eval-when 2021-04-10T21:00:47Z makomo: i see :/ 2021-04-10T21:00:54Z phoe: like, FBOUNDP on (setf foo) returns NIL even if DEFUN (SETF FOO) occurs earlier in the same PROGN 2021-04-10T21:01:03Z makomo: right. that makes sense i guess 2021-04-10T21:01:06Z phoe: so you're dead anyway unless you EVAL-ALWAYS things 2021-04-10T21:02:41Z ikrabbe quit (Ping timeout: 240 seconds) 2021-04-10T21:02:51Z rjcks quit (Quit: leaving) 2021-04-10T21:03:35Z aeth_ joined #lisp 2021-04-10T21:03:41Z aeth quit (Ping timeout: 246 seconds) 2021-04-10T21:04:07Z aeth_ is now known as aeth 2021-04-10T21:15:57Z luckless_ quit (Ping timeout: 240 seconds) 2021-04-10T21:17:07Z luckless_ joined #lisp 2021-04-10T21:21:29Z ech joined #lisp 2021-04-10T21:28:41Z notzmv quit (Ping timeout: 240 seconds) 2021-04-10T21:48:28Z gxt quit (Quit: WeeChat 3.0.1) 2021-04-10T21:52:20Z varjag quit (Ping timeout: 246 seconds) 2021-04-10T21:52:26Z gxt joined #lisp 2021-04-10T21:55:52Z theruran_ is now known as theruran 2021-04-10T21:59:37Z makomo quit (Quit: WeeChat 3.0.1) 2021-04-10T22:00:34Z ikrabbe joined #lisp 2021-04-10T22:00:41Z aeth_ joined #lisp 2021-04-10T22:01:23Z aeth quit (Disconnected by services) 2021-04-10T22:01:28Z aeth_ is now known as aeth 2021-04-10T22:03:29Z hendursaga quit (Quit: hendursaga) 2021-04-10T22:07:33Z gxt quit (Ping timeout: 240 seconds) 2021-04-10T22:07:42Z gxt_ joined #lisp 2021-04-10T22:13:32Z sauvin_ is now known as Sauvin 2021-04-10T22:22:24Z notzmv joined #lisp 2021-04-10T22:24:56Z cosimone quit (Remote host closed the connection) 2021-04-10T22:26:40Z hypercube joined #lisp 2021-04-10T22:31:06Z frgo quit (Remote host closed the connection) 2021-04-10T22:31:28Z hypercube quit (Ping timeout: 258 seconds) 2021-04-10T22:31:31Z frgo joined #lisp 2021-04-10T22:33:30Z copec: What .xsd viewer do people like using under *nix? 2021-04-10T22:34:21Z hypercube joined #lisp 2021-04-10T22:36:55Z Oladon joined #lisp 2021-04-10T22:39:40Z phoe: you mean xml schema files? 2021-04-10T22:39:45Z copec: yeah 2021-04-10T22:40:27Z copec: I've previously only done math things in CL as a hobby, but I'm trying to interface with Plesk panels that I manage for my work 2021-04-10T22:41:53Z phoe: the naïve way would be to use emacs with some sorta xml-mode since a schema is just an xml document 2021-04-10T22:42:23Z phoe: a more involved way would be to try and convert that into s-expressions and/or a nested Lisp object mayhaps 2021-04-10T22:42:41Z mindCrime joined #lisp 2021-04-10T22:43:24Z phoe: I wonder if plump can load XSD files... why wouldn't it 2021-04-10T22:44:09Z copec: They have them rendered as .svg's but without a legend or anything, I guess I can look at the actual .xsd files and lookup what the tags mean in the branches 2021-04-10T22:45:22Z copec: I have two initial thoughts on implementation, simple functions that wrap the stream with tags, but it would be neat to figure out a macro to write a defclass hierarchy from the xsd 2021-04-10T22:56:02Z moloneymb joined #lisp 2021-04-10T22:56:43Z moloneymb quit (Client Quit) 2021-04-10T22:56:59Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-10T23:06:11Z entel quit (Quit: Connection closed for inactivity) 2021-04-10T23:06:24Z galex-713 joined #lisp 2021-04-10T23:08:10Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T23:08:51Z amb007 joined #lisp 2021-04-10T23:09:03Z jeosol quit (Quit: Connection closed) 2021-04-10T23:10:05Z amb007 quit (Read error: Connection reset by peer) 2021-04-10T23:10:53Z amb007 joined #lisp 2021-04-10T23:10:53Z karlosz joined #lisp 2021-04-10T23:23:22Z surabax quit (Quit: Leaving) 2021-04-10T23:24:18Z hendursaga joined #lisp 2021-04-10T23:30:39Z sxmx quit (Quit: WeeChat 3.1) 2021-04-10T23:35:54Z rumbler31 quit (Remote host closed the connection) 2021-04-10T23:36:10Z rumbler31 joined #lisp 2021-04-10T23:45:41Z Oladon1 joined #lisp 2021-04-10T23:46:19Z Oladon quit (Ping timeout: 268 seconds) 2021-04-10T23:49:38Z Oladon joined #lisp 2021-04-10T23:49:46Z Oladon1 quit (Ping timeout: 240 seconds) 2021-04-10T23:51:35Z Inline quit (Ping timeout: 260 seconds) 2021-04-10T23:54:56Z kevingal quit (Remote host closed the connection) 2021-04-11T00:04:36Z karlosz quit (Quit: karlosz) 2021-04-11T00:08:11Z random-nick quit (Ping timeout: 240 seconds) 2021-04-11T00:15:04Z ebrasca quit (Remote host closed the connection) 2021-04-11T00:16:32Z sxmx joined #lisp 2021-04-11T00:18:13Z ramHero quit (Ping timeout: 252 seconds) 2021-04-11T00:30:14Z rme quit (Ping timeout: 180 seconds) 2021-04-11T00:33:22Z krjli quit (Remote host closed the connection) 2021-04-11T00:40:23Z hendursaga quit (Remote host closed the connection) 2021-04-11T00:40:46Z hendursaga joined #lisp 2021-04-11T00:42:55Z contrapunctus joined #lisp 2021-04-11T00:45:40Z contrapunctus left #lisp 2021-04-11T00:49:42Z contrapunctus joined #lisp 2021-04-11T00:50:43Z contrapunctus left #lisp 2021-04-11T00:55:30Z contrapunctus joined #lisp 2021-04-11T00:56:11Z bmansurov: o/ Can anyone please explain why the following macro doesn't work? 2021-04-11T00:56:14Z bmansurov: (defmacro positivep (x) 2021-04-11T00:56:15Z bmansurov: (> x 0)) 2021-04-11T00:56:15Z bmansurov: (positivep pi) 2021-04-11T00:56:18Z bmansurov: 2021-04-11T00:56:29Z contrapunctus left #lisp 2021-04-11T00:56:58Z hjudt quit (Ping timeout: 240 seconds) 2021-04-11T00:58:14Z bmansurov: Or this: 2021-04-11T00:58:16Z bmansurov: (defmacro positivep (x) 2021-04-11T00:58:16Z bmansurov: `,(if (> x 0) 'Yes 'No)) 2021-04-11T00:59:45Z Alfr: You should use defun for that. 2021-04-11T01:00:43Z no-defun-allowed: Indeed. Though I assume you would want to make sure the returned form tests X, as the macro currently tests if the symbol PI is greater than 0. 2021-04-11T01:00:50Z no-defun-allowed: clhs plusp 2021-04-11T01:00:50Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_minusp.htm 2021-04-11T01:01:49Z Alfr: And as for why it doesn't work, macro expansion doesn't evaluate its arguments. Thus you're passing the symbol PI, and then X is bound to it, thus you're trying to evaluate (> 'PI 0). 2021-04-11T01:02:59Z Alfr: no-defun-allowed, I knew that I missed something, couldn't recall that name. 2021-04-11T01:03:16Z bmansurov: Thanks both. Assuming I want to make that macro work, how do I pass the constant PI to the macro, rather than the symbol? 2021-04-11T01:03:32Z no-defun-allowed: If you really wanted to, you may write (defmacro positivep (x) `(if (,x 0) 'yes 'no)) 2021-04-11T01:05:37Z bmansurov: I see. I guess I should share another example where the problem I'm trying to solve is more pronounced. Here it is: 2021-04-11T01:05:38Z bmansurov: (defmacro seq (from to) 2021-04-11T01:05:38Z bmansurov: `(loop for i from ,from 2021-04-11T01:05:38Z bmansurov: ,(if (> from to) 'downto 'to) ,to 2021-04-11T01:05:41Z bmansurov: collect i)) 2021-04-11T01:05:51Z White_Flame: the parameters passed into defmacro are source code 2021-04-11T01:06:03Z White_Flame: so if you want to pass something, it has to be absolutely literal 2021-04-11T01:06:09Z bmansurov: (seq 10 3) works in the above example, but (seq 10 pi) doesn't. 2021-04-11T01:06:29Z aeth quit (Ping timeout: 268 seconds) 2021-04-11T01:06:31Z White_Flame: however, in most cases, what you really want is to construct code that the compiler will collapse for you, instead of trying to fiddle stuff at this level 2021-04-11T01:07:11Z White_Flame: right, because (> 10 'pi) doesn't compare 2021-04-11T01:07:20Z White_Flame: the literal symbol PI is the 2nd parameter to the macro 2021-04-11T01:07:27Z White_Flame: again, it's passing source code 2021-04-11T01:07:44Z aeth joined #lisp 2021-04-11T01:07:47Z White_Flame: the forms themselves, long before anything is evaluated 2021-04-11T01:08:09Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-11T01:08:16Z no-defun-allowed: You will have to decide if (> from to) at runtime, perhaps by replicating and generating (if (> from to) (loop ... to ...) (loop ... downto ...)). But this would again be better as a function. 2021-04-11T01:08:25Z White_Flame: this is a runtime decision you have to make, based on the actual runtime value being passed into a call; this isn't something you can statically resolve 2021-04-11T01:08:57Z Spawns_Carpeting joined #lisp 2021-04-11T01:09:03Z bmansurov: OK, thanks. So there's no way to solve the above problem with macros other than creating two loops? 2021-04-11T01:09:51Z White_Flame: if you make 2 loops, you'll have a (if (> from to) (loop ...) (loop ..)), and if FROM & TO are numeric literals, the CL compiler should constant collapse one of them away 2021-04-11T01:10:07Z White_Flame: but, an inline function would be more suitable there than a macro 2021-04-11T01:10:28Z White_Flame: to accomplish the same 2021-04-11T01:10:49Z bmansurov: I went this rabbit hole because I didn't want to write a function with two loops. I appreciate everyone's responses. 2021-04-11T01:10:50Z White_Flame: s/numeric literals/numeric constants/ 2021-04-11T01:11:46Z White_Flame: even if you special-cased in a test for pi, what would you think ot generate for (seq x y) ? 2021-04-11T01:11:51Z White_Flame: *to 2021-04-11T01:13:55Z bmansurov: I hadn't thought of variables, but you're right, it doesn't work. 2021-04-11T01:14:19Z c7s quit (Ping timeout: 252 seconds) 2021-04-11T01:14:28Z White_Flame: it's the biggest thing to mindwrap when dealing with macros 2021-04-11T01:16:17Z semz quit (Ping timeout: 250 seconds) 2021-04-11T01:19:34Z bmansurov: My biggest gripe with Common Lisp is that at some point I got this macro stuff, but because I didn't practice writing CL, I forgot it. Learning Common Lisp is not like learning to ride a bicycle, unfortunately. I have to relearn this stuff. ;( 2021-04-11T01:19:54Z White_Flame: it's like that for all programming languages 2021-04-11T01:20:50Z srhm quit (Quit: Konversation terminated!) 2021-04-11T01:21:42Z bmansurov: I don't know. For me, unlike JavaScript, for example, Common Lisp was hard to learn (even though I already knew how to program). It's even harder to retain that knowledge. 2021-04-11T01:24:04Z White_Flame: https://plaster.tymoon.eu/view/2384#2384 2021-04-11T01:24:13Z White_Flame: this has the brittleness of doing equality for the exit, though 2021-04-11T01:24:47Z White_Flame: but with all fixnums, this should work, even if start = end 2021-04-11T01:25:02Z White_Flame: s/fixnums/integers/ 2021-04-11T01:25:28Z White_Flame: ugh, s/incf/+/ :-P 2021-04-11T01:25:34Z White_Flame: too many edits :) 2021-04-11T01:26:31Z White_Flame: and of course the reason there's upto vs downto is that the exit comparison needs to be <= or >= depending on the direction 2021-04-11T01:27:15Z bmansurov: Thanks, I appreciate your help. I was more interested in getting ~to~ and ~downto~ working. As others have suggested, and as you have showed, there are many ways to skin this cat. I was after that specific way. 2021-04-11T01:27:16Z White_Flame: which is why there's = in this bidirectional version 2021-04-11T01:27:35Z White_Flame: ah, k 2021-04-11T01:29:45Z semz joined #lisp 2021-04-11T01:29:45Z semz quit (Changing host) 2021-04-11T01:29:45Z semz joined #lisp 2021-04-11T01:33:13Z ikrabbe|2 joined #lisp 2021-04-11T01:33:41Z ikrabbe quit (Ping timeout: 240 seconds) 2021-04-11T01:37:31Z aeth quit (Ping timeout: 265 seconds) 2021-04-11T01:39:11Z aeth joined #lisp 2021-04-11T01:39:50Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-11T01:51:45Z ikrabbe joined #lisp 2021-04-11T01:54:18Z ikrabbe|2 quit (Ping timeout: 240 seconds) 2021-04-11T01:57:20Z contrapunctus joined #lisp 2021-04-11T01:59:33Z contrapunctus left #lisp 2021-04-11T02:02:04Z curtosis joined #lisp 2021-04-11T02:02:10Z curtosis is now known as curtosis[away] 2021-04-11T02:11:14Z skapate joined #lisp 2021-04-11T02:13:27Z karlosz joined #lisp 2021-04-11T02:13:55Z skapata quit (Ping timeout: 260 seconds) 2021-04-11T02:15:37Z contrapunctus joined #lisp 2021-04-11T02:22:31Z gitgoood joined #lisp 2021-04-11T02:25:16Z gitgood quit (Ping timeout: 252 seconds) 2021-04-11T02:30:09Z mmmattyx quit (Quit: Connection closed for inactivity) 2021-04-11T02:31:08Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-11T02:34:59Z tophullyte joined #lisp 2021-04-11T02:51:38Z Oladon quit (Quit: Leaving.) 2021-04-11T02:57:43Z gaqwas quit (Ping timeout: 252 seconds) 2021-04-11T02:57:59Z gaqwas joined #lisp 2021-04-11T02:58:00Z gaqwas quit (Changing host) 2021-04-11T02:58:00Z gaqwas joined #lisp 2021-04-11T03:00:47Z karlosz quit (Read error: No route to host) 2021-04-11T03:01:07Z karlosz joined #lisp 2021-04-11T03:01:50Z Alfr is now known as Guest74969 2021-04-11T03:01:53Z beach: Good morning everyone! 2021-04-11T03:01:55Z Alfr joined #lisp 2021-04-11T03:04:11Z Guest74969 quit (Ping timeout: 250 seconds) 2021-04-11T03:05:58Z luis quit (Quit: The Lounge - https://thelounge.chat) 2021-04-11T03:07:41Z slyrus joined #lisp 2021-04-11T03:10:45Z luis joined #lisp 2021-04-11T03:12:17Z slyrus quit (Ping timeout: 260 seconds) 2021-04-11T03:17:11Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-11T03:30:05Z vutral_ quit (Quit: Connection closed for inactivity) 2021-04-11T03:30:12Z orivej joined #lisp 2021-04-11T03:32:45Z karlosz quit (Quit: karlosz) 2021-04-11T03:35:29Z klltkr quit (Remote host closed the connection) 2021-04-11T03:47:16Z Codaraxis__ joined #lisp 2021-04-11T03:51:11Z Codaraxis_ quit (Ping timeout: 240 seconds) 2021-04-11T04:08:10Z rumbler31 quit (Remote host closed the connection) 2021-04-11T04:08:16Z thinkpad quit (Ping timeout: 252 seconds) 2021-04-11T04:08:55Z rumbler31 joined #lisp 2021-04-11T04:10:19Z thinkpad joined #lisp 2021-04-11T04:12:40Z froggey quit (Ping timeout: 265 seconds) 2021-04-11T04:14:11Z froggey joined #lisp 2021-04-11T04:17:41Z aartaka quit (Read error: Connection reset by peer) 2021-04-11T04:17:58Z aartaka joined #lisp 2021-04-11T04:22:15Z akoana joined #lisp 2021-04-11T04:25:24Z Oladon joined #lisp 2021-04-11T04:25:37Z contrapunctus left #lisp 2021-04-11T04:29:52Z Bike quit (Quit: Lost terminal) 2021-04-11T04:31:44Z curtosis joined #lisp 2021-04-11T04:31:46Z contrapunctus joined #lisp 2021-04-11T04:31:50Z curtosis is now known as curtosis[away] 2021-04-11T04:46:46Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-11T04:48:47Z slyrus joined #lisp 2021-04-11T04:53:25Z slyrus quit (Ping timeout: 268 seconds) 2021-04-11T04:55:39Z summerisle quit (K-Lined) 2021-04-11T04:56:52Z summerisle joined #lisp 2021-04-11T05:13:31Z chipolux joined #lisp 2021-04-11T05:16:25Z Nilby joined #lisp 2021-04-11T05:17:17Z chipolux quit (Client Quit) 2021-04-11T05:17:45Z abhixec joined #lisp 2021-04-11T05:24:06Z slyrus joined #lisp 2021-04-11T05:28:25Z slyrus quit (Ping timeout: 252 seconds) 2021-04-11T05:28:40Z epony quit (Remote host closed the connection) 2021-04-11T05:29:21Z epony joined #lisp 2021-04-11T05:40:54Z hypercube quit (Ping timeout: 268 seconds) 2021-04-11T05:42:05Z sloanr joined #lisp 2021-04-11T05:43:33Z mindCrime quit (Excess Flood) 2021-04-11T05:43:51Z curtosis joined #lisp 2021-04-11T05:43:58Z mindCrime joined #lisp 2021-04-11T05:44:11Z ldfung joined #lisp 2021-04-11T05:56:19Z slyrus joined #lisp 2021-04-11T05:59:20Z sloanr quit (Remote host closed the connection) 2021-04-11T05:59:38Z sloanr joined #lisp 2021-04-11T06:00:26Z slyrus quit (Ping timeout: 240 seconds) 2021-04-11T06:02:51Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-11T06:09:15Z paulj quit (Remote host closed the connection) 2021-04-11T06:12:59Z andrei-n joined #lisp 2021-04-11T06:14:48Z sloanr quit (Remote host closed the connection) 2021-04-11T06:22:14Z indathrone joined #lisp 2021-04-11T06:27:12Z Kundry_Wag quit (Remote host closed the connection) 2021-04-11T06:27:37Z Kundry_Wag joined #lisp 2021-04-11T06:28:50Z slyrus joined #lisp 2021-04-11T06:34:21Z slyrus quit (Ping timeout: 260 seconds) 2021-04-11T06:40:04Z abhixec quit (Ping timeout: 252 seconds) 2021-04-11T06:49:14Z aeth quit (Ping timeout: 252 seconds) 2021-04-11T06:51:10Z aeth joined #lisp 2021-04-11T07:03:11Z slyrus joined #lisp 2021-04-11T07:04:10Z pve joined #lisp 2021-04-11T07:07:26Z slyrus quit (Ping timeout: 240 seconds) 2021-04-11T07:11:41Z Kundry_Wag quit (Remote host closed the connection) 2021-04-11T07:12:14Z Kundry_Wag joined #lisp 2021-04-11T07:16:49Z Kundry_Wag quit (Ping timeout: 260 seconds) 2021-04-11T07:20:40Z slyrus joined #lisp 2021-04-11T07:23:25Z Inline joined #lisp 2021-04-11T07:25:02Z srji joined #lisp 2021-04-11T07:25:33Z ech quit (Ping timeout: 240 seconds) 2021-04-11T07:27:46Z ech joined #lisp 2021-04-11T07:38:56Z slyrus quit (Ping timeout: 260 seconds) 2021-04-11T07:43:07Z marusich quit (Quit: Leaving) 2021-04-11T07:51:38Z elflng quit (Ping timeout: 268 seconds) 2021-04-11T07:51:43Z Kundry_Wag joined #lisp 2021-04-11T07:56:11Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-11T07:59:13Z elflng joined #lisp 2021-04-11T07:59:50Z hhdave quit (Ping timeout: 265 seconds) 2021-04-11T08:02:04Z hhdave joined #lisp 2021-04-11T08:07:06Z hendursa1 joined #lisp 2021-04-11T08:09:29Z slyrus joined #lisp 2021-04-11T08:09:33Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-11T08:09:51Z heisig joined #lisp 2021-04-11T08:12:53Z mrchampion quit (Ping timeout: 265 seconds) 2021-04-11T08:13:56Z slyrus quit (Ping timeout: 252 seconds) 2021-04-11T08:14:22Z akoana quit (Quit: leaving) 2021-04-11T08:15:55Z mrchampion joined #lisp 2021-04-11T08:17:33Z ech quit (Ping timeout: 240 seconds) 2021-04-11T08:18:35Z gxt_ quit (Quit: WeeChat 3.1) 2021-04-11T08:19:20Z cage_ joined #lisp 2021-04-11T08:22:07Z thinkpad quit (Ping timeout: 260 seconds) 2021-04-11T08:23:35Z luckless_ quit (Remote host closed the connection) 2021-04-11T08:24:31Z luckless_ joined #lisp 2021-04-11T08:24:31Z amb007 quit (Read error: Connection reset by peer) 2021-04-11T08:24:40Z amb007 joined #lisp 2021-04-11T08:29:43Z thinkpad joined #lisp 2021-04-11T08:31:58Z skapate quit (Remote host closed the connection) 2021-04-11T08:31:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-11T08:32:37Z amb007 joined #lisp 2021-04-11T08:33:35Z narimiran joined #lisp 2021-04-11T08:37:03Z White_Flame quit (Ping timeout: 265 seconds) 2021-04-11T08:37:28Z slyrus joined #lisp 2021-04-11T08:37:44Z White_Flame joined #lisp 2021-04-11T08:39:07Z orivej quit (Ping timeout: 268 seconds) 2021-04-11T08:39:46Z anticrisis quit (Read error: Connection reset by peer) 2021-04-11T08:41:02Z Oladon quit (Quit: Leaving.) 2021-04-11T08:42:12Z slyrus quit (Ping timeout: 268 seconds) 2021-04-11T08:48:35Z makomo joined #lisp 2021-04-11T08:59:26Z tophullyte quit (Read error: Connection reset by peer) 2021-04-11T09:00:43Z armin quit (Remote host closed the connection) 2021-04-11T09:03:27Z varjag joined #lisp 2021-04-11T09:08:06Z hhdave quit (Ping timeout: 268 seconds) 2021-04-11T09:09:04Z thinkpad quit (Read error: No route to host) 2021-04-11T09:13:55Z hhdave joined #lisp 2021-04-11T09:17:13Z thinkpad joined #lisp 2021-04-11T09:18:00Z aartaka_d joined #lisp 2021-04-11T09:20:55Z aartaka quit (Ping timeout: 260 seconds) 2021-04-11T09:26:19Z aartaka joined #lisp 2021-04-11T09:28:29Z aartaka_d quit (Ping timeout: 246 seconds) 2021-04-11T09:33:26Z narimiran quit (Quit: leaving) 2021-04-11T09:39:48Z theothornhill joined #lisp 2021-04-11T09:40:23Z surabax joined #lisp 2021-04-11T09:45:16Z theothornhill: Hello! How do you decide between separate defmethods, or use the (:method) syntax on generic functions? Are there any tradeoffs with one or the other? 2021-04-11T09:46:51Z no-defun-allowed: Usually I put a class definition and any methods in the same file, so I would rarely be able to use :method syntax if I wanted. 2021-04-11T09:47:07Z beach: The latter requires the method definition to be in the same file as the DEFGENERIC form, so that's already a limitation. If you modularity requires them to be in a separate file you have no choice. 2021-04-11T09:47:28Z no-defun-allowed: But I use :method for "default" methods which the programmer should know about immediately sometimes, and whenever I use DEFGENERIC as a lazy person's pattern matcher. 2021-04-11T09:48:03Z beach: Or, you can use :METHOD when you have only a few methods that specialize to built-in classes. 2021-04-11T09:48:30Z beach: For example, if you specialize to NULL and CONS. 2021-04-11T09:48:53Z theothornhill: Thanks! Makes sense. 2021-04-11T09:49:43Z beach: Methods defined with :METHOD are removed when the DEFGENERIC form is re-evaluated. Not so with separate methods defined using DEFMETHOD. 2021-04-11T09:49:53Z bjth joined #lisp 2021-04-11T09:49:54Z beach: That is a consideration as well. 2021-04-11T09:51:06Z theothornhill: You mean the "old" version is removed if you change a :METHOD method and re-evaluate? 2021-04-11T09:51:17Z beach: But, yeah, I agree with no-defun-allowed. Often, the best place for a method specializing to some class C is in the same file as the DEFCLASS form for C, whereas DEFGENERIC forms are usually in a separate file. 2021-04-11T09:51:32Z beach: theothornhill: yes. 2021-04-11T09:52:21Z theothornhill: That seems nice though, if it cleans up the image a little 2021-04-11T09:52:25Z Kundry_Wag joined #lisp 2021-04-11T09:52:26Z beach: Or if you change some other aspect of the generic function, like the method combination. 2021-04-11T09:52:52Z beach: ... or the method class. 2021-04-11T09:52:58Z theothornhill: Is there any reason you'd want to keep the "old" version? 2021-04-11T09:53:07Z mindCrime quit (Ping timeout: 268 seconds) 2021-04-11T09:53:40Z heisig quit (Ping timeout: 252 seconds) 2021-04-11T09:53:42Z beach: I can't think of any right now. 2021-04-11T09:54:10Z theothornhill: Ok. It seems you can mix and match it though, so thats nice 2021-04-11T09:57:17Z Kundry_Wag quit (Ping timeout: 265 seconds) 2021-04-11T09:58:22Z vydd: Hey! I'm trying to do some CL programming after a relatively long time, and for my project I'd like to use https://github.com/plkrueger/CocoaInterface. However, it doesn't seem to play nice with asdf (or at least that's how it looks to me). There are docs on how to setup the environment using the ccl-ide-init.lisp file, in which *module-search-path* is updated to contain CocoaInterface, but when I quickload my project from sly, it 2021-04-11T09:58:22Z vydd: cannot find the :IU package. Any pointers on how to solve that? 2021-04-11T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-11T10:10:41Z msk quit (Ping timeout: 240 seconds) 2021-04-11T10:15:57Z msk joined #lisp 2021-04-11T10:22:13Z slyrus joined #lisp 2021-04-11T10:22:33Z bjth quit (Remote host closed the connection) 2021-04-11T10:25:09Z kreyren quit (Changing host) 2021-04-11T10:25:09Z kreyren joined #lisp 2021-04-11T10:25:09Z kreyren quit (Changing host) 2021-04-11T10:25:09Z kreyren joined #lisp 2021-04-11T10:27:37Z slyrus quit (Ping timeout: 252 seconds) 2021-04-11T10:29:06Z rumbler31 quit (Remote host closed the connection) 2021-04-11T10:29:23Z rumbler31 joined #lisp 2021-04-11T10:30:08Z frgo quit (Remote host closed the connection) 2021-04-11T10:30:33Z frgo joined #lisp 2021-04-11T10:37:25Z vydd: jmercouris: googling around, your named popped up in a discussion related to migrating CocoaInterface to use a system. https://github.com/nEXT-Browser/CocoaInterface doesn't seem to be available anymore. Did you ever manage to make it work, or did you hit a road block? 2021-04-11T10:53:33Z luckless_ quit (Ping timeout: 240 seconds) 2021-04-11T10:54:30Z vegansbane6963 joined #lisp 2021-04-11T10:55:04Z slyrus joined #lisp 2021-04-11T10:56:22Z orivej joined #lisp 2021-04-11T10:59:24Z random-nick joined #lisp 2021-04-11T10:59:38Z slyrus quit (Ping timeout: 265 seconds) 2021-04-11T10:59:53Z skapata joined #lisp 2021-04-11T11:00:41Z johnjay quit (Ping timeout: 240 seconds) 2021-04-11T11:09:11Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-11T11:10:06Z johnjay joined #lisp 2021-04-11T11:12:11Z bjth joined #lisp 2021-04-11T11:12:42Z rumbler31: once long ago I played with something like that on windows, but the experience wasn't great, mainly because the cocoa interface on windows was likely incomplete 2021-04-11T11:16:20Z srandon111 joined #lisp 2021-04-11T11:17:38Z galex-713 joined #lisp 2021-04-11T11:18:24Z srandon111 quit (Remote host closed the connection) 2021-04-11T11:20:25Z lotuseater joined #lisp 2021-04-11T11:27:10Z slyrus joined #lisp 2021-04-11T11:31:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-11T11:33:50Z kevingal joined #lisp 2021-04-11T11:39:39Z bjth quit (Remote host closed the connection) 2021-04-11T11:45:34Z slyrus joined #lisp 2021-04-11T11:45:50Z lotuseater quit (Read error: Connection reset by peer) 2021-04-11T11:47:41Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-11T11:50:17Z slyrus quit (Ping timeout: 268 seconds) 2021-04-11T11:51:16Z jmercouris: vydd: I was successful 2021-04-11T11:52:11Z jmercouris: vydd: you’ll have to look at this repository : https://github.com/atlas-engineer/nyxt 2021-04-11T11:52:30Z jmercouris: vydd: if you go back in time you’ll see the cocoa interface working 2021-04-11T11:53:14Z Kundry_Wag joined #lisp 2021-04-11T11:53:26Z jmercouris: I actually more or less use the objective c bridge independently of the cocoa interface after some point in time 2021-04-11T11:57:49Z Kundry_Wag quit (Ping timeout: 252 seconds) 2021-04-11T12:02:00Z johnjay quit (Ping timeout: 268 seconds) 2021-04-11T12:04:18Z johnjay joined #lisp 2021-04-11T12:09:18Z c7s joined #lisp 2021-04-11T12:12:57Z slyrus joined #lisp 2021-04-11T12:13:31Z theothornhill joined #lisp 2021-04-11T12:18:02Z slyrus quit (Ping timeout: 268 seconds) 2021-04-11T12:18:10Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-11T12:19:48Z madage quit (Remote host closed the connection) 2021-04-11T12:20:05Z madage joined #lisp 2021-04-11T12:23:07Z hjudt joined #lisp 2021-04-11T12:27:41Z hjudt quit (Ping timeout: 240 seconds) 2021-04-11T12:29:27Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-11T12:29:27Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-11T12:30:31Z theothornhill joined #lisp 2021-04-11T12:30:48Z dickbarends joined #lisp 2021-04-11T12:32:15Z theo[m]1 joined #lisp 2021-04-11T12:36:18Z theothornhill quit (Ping timeout: 265 seconds) 2021-04-11T12:41:30Z hiroaki_ joined #lisp 2021-04-11T12:41:35Z hiroaki joined #lisp 2021-04-11T12:42:24Z skapata quit (Remote host closed the connection) 2021-04-11T12:44:37Z slyrus joined #lisp 2021-04-11T12:48:53Z theothornhill joined #lisp 2021-04-11T12:49:29Z slyrus quit (Ping timeout: 268 seconds) 2021-04-11T12:53:22Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-11T12:54:25Z zooey quit (Remote host closed the connection) 2021-04-11T12:54:44Z surabax quit (Remote host closed the connection) 2021-04-11T12:55:02Z surabax joined #lisp 2021-04-11T12:57:23Z aartaka_d joined #lisp 2021-04-11T13:00:35Z aartaka quit (Ping timeout: 246 seconds) 2021-04-11T13:02:16Z waleee-cl joined #lisp 2021-04-11T13:02:58Z slyrus joined #lisp 2021-04-11T13:07:14Z slyrus quit (Ping timeout: 246 seconds) 2021-04-11T13:13:59Z Codaraxis__ quit (Remote host closed the connection) 2021-04-11T13:14:41Z Bike joined #lisp 2021-04-11T13:14:47Z Codaraxis__ joined #lisp 2021-04-11T13:16:50Z Kundry_Wag joined #lisp 2021-04-11T13:21:17Z Kundry_Wag quit (Ping timeout: 260 seconds) 2021-04-11T13:22:22Z Codaraxis__ quit (Remote host closed the connection) 2021-04-11T13:22:50Z Codaraxis__ joined #lisp 2021-04-11T13:30:13Z nij joined #lisp 2021-04-11T13:30:59Z nij: Hello! I can ql:quickload :sb-cltl2 from an sbcl repl. But when I put that in my stumpwm config, it doesn't know where to find. 2021-04-11T13:31:17Z nij: Oddly enough, ql:quickload-ing other packages works fine in my stumpwm config. 2021-04-11T13:32:28Z no-defun-allowed: I think that would call (require :sb-cltl2) and not ASDF, so it is up to how SBCL finds its own modules. 2021-04-11T13:34:37Z nij: What is *that*? 2021-04-11T13:35:42Z dickbarends quit (Remote host closed the connection) 2021-04-11T13:36:52Z slyrus joined #lisp 2021-04-11T13:37:45Z no-defun-allowed: (ql:quickload :sb-cltl2) 2021-04-11T13:38:02Z nij: Hmm. I see. But it does work in my repl.. 2021-04-11T13:39:48Z no-defun-allowed: Quicklisp doesn't control how SBCL stores its contrib(?) modules, so it is understandable how any other module would load correctly. 2021-04-11T13:41:11Z MichaelRaskin: nij: presumably, in REPL the system is already loaded for other reasons? 2021-04-11T13:41:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-11T13:42:03Z Bike: i think sbcl loads contribs by looking at $SBCL_HOME, which might be different between the repl and stumpwm 2021-04-11T13:45:53Z nij: Where is $SBCL_HOME pointing to by default? 2021-04-11T13:47:51Z rumbler31: I don't think its set unless you set it yourself 2021-04-11T13:51:28Z mmmattyx joined #lisp 2021-04-11T13:52:18Z Bike: ok, well, i was looking at module-provide-contrib, which says it "[stringifies] and [downcases] NAME, then [attempts] to load the file $SBCL_HOME/name/name". but it seems to do a little more than querying the shell variable 2021-04-11T13:53:54Z nij: Maybe I should just check what has been loaded in my repl? 2021-04-11T13:54:02Z nij: How to check all load paths? 2021-04-11T13:54:04Z Bike: maybe you could look at (sb-int:sbcl-homedir-pathname) in the repl versus stumpwm 2021-04-11T13:54:15Z Bike: if they're different, REQUIRE will be looking in different places 2021-04-11T13:56:49Z nij: Great! I get the clue. 2021-04-11T13:56:51Z nij: Thanks :-) 2021-04-11T13:57:39Z lotuseater joined #lisp 2021-04-11T13:58:43Z lotuseater: is it equivalent to say (defun sqr (x) (* x x)) and (compile 'sqr '(lambda (x) (* x x))) ? :) 2021-04-11T13:59:10Z Bike: mostly. the first one might not be compiled. 2021-04-11T13:59:44Z Bike: and the second one will probably lack (implementation-defined) compile time side effects like suppressing undefined function warnings for sqr, and such. 2021-04-11T14:00:19Z lotuseater: hmmm 2021-04-11T14:00:49Z nij: Problem solved ;) 2021-04-11T14:01:36Z lotuseater: ^^ 2021-04-11T14:02:32Z nij: (require "drakma") on guix system returns the error - 2021-04-11T14:02:56Z lotuseater: oh. but I'm not on GUIX atm :/ 2021-04-11T14:03:04Z nij: Unalbe to load any of the alternatives: ("libssl.so.1.1" "libssl.so.1.0.2m" ...) [Condition of type CFFI:LOAD-FOREIGN-LIBRARY-ERROR] 2021-04-11T14:03:37Z Bike: sbcl uses dlopen to find libraries, and as far as i can tell from people being confused here, guix totally hoses it 2021-04-11T14:03:37Z nij: Yeah GUIX has their own way to put their libraries. 2021-04-11T14:03:42Z Bike: you need to use LD_LIBRARY_PATH or something 2021-04-11T14:04:18Z lotuseater: oh wow, on nixos the lispPackages.drakma doesn't fail 2021-04-11T14:04:30Z nij: nixos has a large community 2021-04-11T14:04:47Z lotuseater: yes much larger 2021-04-11T14:05:00Z nij: but it's not lisp 2021-04-11T14:05:36Z lotuseater: no it isn't and the syntax confuses me 2021-04-11T14:05:55Z lotuseater: just sometimes, even that it's functional 2021-04-11T14:06:18Z nij: Bike: would you mind elaborating it more? 2021-04-11T14:06:19Z lotuseater: but don't worry, loading drakma in SBCL also throws me into "libssl not found" :D 2021-04-11T14:06:36Z nij: Should I set LD_LIBRARY_PATH to something else? 2021-04-11T14:06:45Z nij: lotuseater: you're on nix? 2021-04-11T14:06:48Z Bike: i haven't used these systems myself. i'm just going off of what people have said here in the past. 2021-04-11T14:07:00Z lotuseater: yes nij, I'm using NixOS 2021-04-11T14:07:04Z Bike: maybe i can find something more detailed in the logs. 2021-04-11T14:07:05Z nij: Bike great it's totally fine. At least I have something to start with. 2021-04-11T14:07:20Z nij: No no it's fine. If you don't happen to know, I'll do the work. 2021-04-11T14:08:25Z Bike: ok. 2021-04-11T14:08:26Z lotuseater: i worked around that with other packages by pushing some paths to cffi:*foreign-library-directories* in .sbclrc 2021-04-11T14:09:18Z slyrus joined #lisp 2021-04-11T14:10:10Z aartaka joined #lisp 2021-04-11T14:10:25Z nij: great to know! 2021-04-11T14:11:02Z nij: Now that variable is NIL in my repl. I gotta ask the guix community where those .so files are. 2021-04-11T14:11:31Z lotuseater: i found them here using the tool fuzzy find, very practicable 2021-04-11T14:12:00Z aartaka_d quit (Ping timeout: 265 seconds) 2021-04-11T14:12:10Z lotuseater: but it won't be bad to know some special folder, it searches recursively ... 2021-04-11T14:13:12Z lotuseater: and eg for loading to work with mcclim it needed the truetype font path 2021-04-11T14:13:30Z nij: im getting fzf for that.. hold on 2021-04-11T14:13:58Z slyrus quit (Ping timeout: 268 seconds) 2021-04-11T14:14:08Z lotuseater: yes or for whatever else :) 2021-04-11T14:14:47Z ech joined #lisp 2021-04-11T14:18:47Z VincentVega joined #lisp 2021-04-11T14:26:01Z Noisytoot is now known as Noisytoot__ 2021-04-11T14:26:12Z Noisytoot__ is now known as Noisytoot 2021-04-11T14:27:14Z makomo quit (Quit: WeeChat 3.0.1) 2021-04-11T14:31:48Z vydd: jmercouris: amazing, thanks! 2021-04-11T14:36:28Z torbo joined #lisp 2021-04-11T14:37:16Z heisig joined #lisp 2021-04-11T14:39:09Z slyrus joined #lisp 2021-04-11T14:41:06Z nij left #lisp 2021-04-11T14:43:22Z VincentVega quit (Quit: Connection closed) 2021-04-11T14:43:53Z slyrus quit (Ping timeout: 260 seconds) 2021-04-11T15:02:37Z slyrus joined #lisp 2021-04-11T15:04:31Z Kundry_Wag joined #lisp 2021-04-11T15:06:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-11T15:10:32Z phadthai quit (Remote host closed the connection) 2021-04-11T15:14:03Z Josh_2 joined #lisp 2021-04-11T15:14:26Z Josh_2: Good afternoon 2021-04-11T15:17:51Z beach: Hello Josh_2. 2021-04-11T15:20:14Z ebrasca joined #lisp 2021-04-11T15:20:48Z slyrus joined #lisp 2021-04-11T15:21:19Z alanz: I am liking that instead of writing comments about what I am doing, I can put :documentation and then it shows up in the info requests 2021-04-11T15:24:33Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-11T15:25:10Z slyrus quit (Ping timeout: 252 seconds) 2021-04-11T15:30:42Z beach: alanz: Except that comments and documentation strings have different target audiences. 2021-04-11T15:31:54Z alanz: I am still working that out. I am using the documentation more on fields, and for defun's 2021-04-11T15:32:20Z beach: What are "fields"? 2021-04-11T15:32:20Z alanz: slots, I guess I should call them 2021-04-11T15:32:23Z beach: Oh. 2021-04-11T15:32:33Z alanz still an immigrant here 2021-04-11T15:33:14Z Nilby: I'm just glad when people write any docstrings. 2021-04-11T15:33:33Z beach: Still, the documentation string and the comment would contain different things. First of all, a documentation string for a slot doesn't make much sense, since slots are implementation details. And for functions, the comment would mention why it is implemented the way it is, and the documentation string would mention how it is to be used. 2021-04-11T15:36:20Z alanz: Right now I am using defclass to create a thing that I intend to be a summary of information I know from various sources, which can be used as the basis of a thing to render in CLIM. So I am documenting per slot what it is sumamrising 2021-04-11T15:36:32Z alanz: Is that a completely un-lisp way of doing things? 2021-04-11T15:37:00Z Nilby: I like docstrings on slots. 2021-04-11T15:37:26Z beach: alanz: If I understand it right, that makes sense. 2021-04-11T15:38:09Z alanz: thanks 2021-04-11T15:39:00Z notzmv quit (Read error: Connection reset by peer) 2021-04-11T15:39:02Z theothornhill joined #lisp 2021-04-11T15:43:18Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-11T15:43:20Z notzmv joined #lisp 2021-04-11T15:43:34Z notzmv is now known as Guest35219 2021-04-11T15:43:49Z klltkr joined #lisp 2021-04-11T15:44:07Z Guest35219 quit (Remote host closed the connection) 2021-04-11T15:44:40Z notzmv- joined #lisp 2021-04-11T15:45:30Z notzmv- is now known as notzmv 2021-04-11T15:48:15Z Inline quit (Ping timeout: 260 seconds) 2021-04-11T15:49:27Z skapata joined #lisp 2021-04-11T15:51:14Z slyrus joined #lisp 2021-04-11T15:55:43Z slyrus quit (Ping timeout: 268 seconds) 2021-04-11T15:56:44Z renzhi joined #lisp 2021-04-11T16:00:08Z JCDentonreportin quit (Quit: Idle for 30+ days) 2021-04-11T16:01:03Z slyrus joined #lisp 2021-04-11T16:02:12Z Kundry_Wag quit (Remote host closed the connection) 2021-04-11T16:02:33Z slyrus_ joined #lisp 2021-04-11T16:05:19Z slyrus quit (Ping timeout: 252 seconds) 2021-04-11T16:06:57Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-11T16:19:12Z rogersm joined #lisp 2021-04-11T16:22:50Z phadthai joined #lisp 2021-04-11T16:24:00Z Kundry_Wag joined #lisp 2021-04-11T16:26:57Z jackdaniel: beach: but if you inspect the object, comment won't be (usually) accessible, while the docstring could provide some context 2021-04-11T16:27:41Z jackdaniel: just a loose thought, I don't find slot documentation very helpful neither 2021-04-11T16:29:27Z theothornhill joined #lisp 2021-04-11T16:30:10Z beach: Yes, I see what you mean. I need to think about what target audience would be most likely to inspect an object. 2021-04-11T16:30:22Z phadthai quit (Quit: EWAYSRCH: Cannot host route (no route to host)) 2021-04-11T16:32:01Z phadthai joined #lisp 2021-04-11T16:33:44Z theothornhill quit (Ping timeout: 246 seconds) 2021-04-11T16:35:26Z Nilby: Unless you want to specialize #'documentation on target audience, I say just write copious reasonable docstrings for everybody. 2021-04-11T16:36:12Z jackdaniel: (defclass foo () ((bar :documentation "provides bar for foo"))) ;-) 2021-04-11T16:37:15Z jackdaniel: or (defclass cat () ((name :documentation "the name of a cat"))) 2021-04-11T16:37:20Z theothornhill joined #lisp 2021-04-11T16:37:22Z skapata quit (Remote host closed the connection) 2021-04-11T16:39:20Z Nilby: I know slots are like the divergent base case, but sometimes there could be quite useful inoformation about a slot. 2021-04-11T16:39:51Z jackdaniel: sure 2021-04-11T16:40:37Z Nilby: e.g (defclass container () (... (damage :documentation "A list of bounding boxes whose area may need to be redraw."))) 2021-04-11T16:41:21Z jackdaniel: you are right, there may be a useful information. the question is whether it should be put in a comment, in a docstring or in a documentation 2021-04-11T16:41:46Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-11T16:41:56Z jackdaniel: (where a documentation is an external document) 2021-04-11T16:42:00Z mrchampion quit (Read error: Connection reset by peer) 2021-04-11T16:42:27Z Nilby: I find it very useful as 1 keystroke away in the REPL. 2021-04-11T16:42:50Z alanz: I am with Nilby on that 2021-04-11T16:42:56Z long4mud joined #lisp 2021-04-11T16:43:12Z rogersm quit 2021-04-11T16:43:45Z Nilby: I even have it so it can the the slot doc from an accessor name or class name. 2021-04-11T16:43:53Z jackdaniel: I don't have a strong opinion on the topic. if the slot's accessor is exported, then it should be documented in the external document. as of whether a slot itself should be documented in a comment or via documentation - I suppose it heavily depends on the programming style 2021-04-11T16:44:37Z jackdaniel: when someone mainly operates on a living image (i.e by relying heavily on introspection), then the documentation option sounds fine; when they work solely based on a source code for clean builds, then a comment is good 2021-04-11T16:45:37Z jackdaniel: mind, that documentation strings in lisp are not very nice. for instance when you have more information to cover, they just clutter the code 2021-04-11T16:45:44Z jackdaniel: there is no proper wrapping etc 2021-04-11T16:46:03Z jackdaniel: you can't also associate with them any semantic information (it is a string after all) 2021-04-11T16:46:33Z slyrus joined #lisp 2021-04-11T16:47:07Z Nilby: My view is there is no external. The documentation is an object accessible from the repl. 2021-04-11T16:47:48Z jackdaniel burns his books and printed manuals yelling "burn! thou is not accessible from the repl" 2021-04-11T16:48:06Z Oladon joined #lisp 2021-04-11T16:48:12Z theothornhill joined #lisp 2021-04-11T16:48:42Z jackdaniel: that said, a live documentation writing and reading system in clim is a nice idea :) 2021-04-11T16:49:09Z jackdaniel: if I had a source code of unfinished thing in my repositories directory, I'd call it "London" after a famous writer 2021-04-11T16:49:37Z dieggsy: I've been in scheme world for a long time and am revisiting my old project euler problems in CL - what am I doing wrong in the CL defun here?: https://paste.dieggsy.com/2021-04-11T12:50:05 2021-04-11T16:49:40Z mrchampion joined #lisp 2021-04-11T16:50:19Z jackdaniel: first: your indentation is wrong 2021-04-11T16:50:34Z loke[m]: dieggsy: I'm afraid you have to be a bit more precise than just asking "what's wrong". 2021-04-11T16:51:09Z loke[m]: jackdaniel: Looks like the default Emacs Lisp indentation. Look at the if. 2021-04-11T16:51:27Z jackdaniel: elisp indentation is wrong for common lisp, isn't it/ 2021-04-11T16:51:37Z dieggsy: This is lisp-mode in Emacs 2021-04-11T16:51:41Z loke[m]: jackdaniel: oh for sure. 2021-04-11T16:51:53Z dieggsy: I'm not explicitly using elisp-mode lol 2021-04-11T16:52:06Z jackdaniel: dieggsy: install slime and use slime-mode for editing common lisp code 2021-04-11T16:52:19Z jackdaniel: it will recognize special operators like LABELS and indent your code correctly 2021-04-11T16:52:49Z jackdaniel: (well, correctly for most cases) 2021-04-11T16:52:49Z dieggsy: jackdaniel: I have slime installed and slime-mode enabled, doesn't seem to make a difference 2021-04-11T16:53:01Z jackdaniel: that's a shame, it works here 2021-04-11T16:53:09Z dieggsy: lol 2021-04-11T16:53:15Z dieggsy: are you sure you're not modifying the indentation in any other way 2021-04-11T16:53:34Z jackdaniel: I'm pretty sure, yes :) 2021-04-11T16:53:37Z theothornhill quit (Ping timeout: 260 seconds) 2021-04-11T16:54:20Z jackdaniel: so, based on responses here: 1) fix the indentation, 2) provide more context of what is wrong 2021-04-11T16:55:22Z Inline joined #lisp 2021-04-11T16:55:36Z dieggsy: Ok, but indentation is /not/ a factor in the code results lol, thats' part of why i like lisp 2021-04-11T16:55:45Z dieggsy: lisps in general 2021-04-11T16:55:53Z jackdaniel: sure, but it is a factor in the peer code review 2021-04-11T16:56:08Z jackdaniel: i.e people may refuse to be bothered with wrongly indented code 2021-04-11T16:56:26Z Nilby: I like to imagine that a modern Concordia will eventually materialize. 2021-04-11T16:56:32Z dieggsy: Hmm. Well, if slime-mode is supposed to fix my indentation and it simply isn't ... ? 2021-04-11T16:56:36Z dieggsy: i'll look around 2021-04-11T16:57:48Z loke[m]: dieggsy: Does SLIME work for you otherwise? 2021-04-11T16:57:51Z _death: dieggsy: slime sets up a lisp-mode hook (slime-lisp-mode-hook) that sets the lisp-indent-function to common-lisp-indent-function 2021-04-11T16:58:23Z dieggsy: yeah hold up, testing things 2021-04-11T16:58:33Z dieggsy: the fact that it's a hook is helpful, thanks 2021-04-11T16:58:39Z _death: so if you C-h v lisp-indent-function RET you should get that 2021-04-11T17:00:47Z dieggsy: sweet, yeah, i had done some gobbledygook with indentation ages ago. I actually used to use CL a good amount heh, it's just been a long time since i've revisited 2021-04-11T17:01:01Z dieggsy: thanks for the suggestions, indentation seems to be working now 2021-04-11T17:03:17Z dieggsy: And i think I found out what's wrong with my code. Every loop, i should be taking the previous value of j, but i'm also modifying j every loop and i think it's taking that. dunno, will investigate further 2021-04-11T17:04:23Z _death: for x ... for y ... is sequential.. for parallel, use for x ... and for y ... 2021-04-11T17:04:48Z _death: *and y 2021-04-11T17:06:23Z dieggsy: _death: that's probably part of the problem, but i think i'm still running into what i described above ? if i starts at 1 and j starts at 2, the next time i should be 2 (old j) and j should be 3 (old i + old j) 2021-04-11T17:06:47Z dieggsy: something about the ...then j ... and ...then (+ i j) ... logic isn't working out 2021-04-11T17:07:05Z sm2n: (ql:quickload :mcclim) is failing for me on the package 3bz, with the error "The function SB-VM::MAKE-EA is undefined." 2021-04-11T17:08:03Z jackdaniel: sm2n: it seems to be a problem with sbcl changing its internals (i.e downgrade sbcl). the real problem is a library that depends on the implementation internals 2021-04-11T17:08:12Z jackdaniel: as of why mcclim depends on 3bz - I'd need to check 2021-04-11T17:08:15Z _death: dieggsy: (loop for i = 1 then j #.(read) j = 2 then (+ i j) repeat 10 collect (list i j)) ;; evaluate two times; first enter FOR, then enter AND 2021-04-11T17:09:44Z dieggsy: huh. that seems to go on forever 2021-04-11T17:10:33Z _death: does it? what does (lisp-implementation-version) evaluate to 2021-04-11T17:10:53Z dieggsy: _death: 2.1.1 2021-04-11T17:11:14Z _death: well, assuming it's sbcl, maybe you didn't follow the instructions.. 2021-04-11T17:11:25Z _death: it's waiting for input 2021-04-11T17:11:41Z sm2n: oh, there's already an issue 2021-04-11T17:11:42Z sm2n: https://github.com/3b/3bz/issues/11 2021-04-11T17:11:56Z sm2n: guess I need to update my ql dist 2021-04-11T17:12:15Z dieggsy: _death: the problem statement is basically just sum all even fibonacci numbers until some limit FWIW. I can do it using a recursive function but i'm trying to figure it out using loop. not sure why input should be involved. 2021-04-11T17:12:56Z _death: dieggsy: input is involved because I want to show you how FOR and AND differs, so the form I gave asks you what to use 2021-04-11T17:13:28Z _death: dieggsy: it's that "#.(read)" part.. 2021-04-11T17:14:02Z dieggsy: _death: oh, no. i got you. I missed the 'ENTER' bit, you're right. my bad again. thanks, this is great and a rather fascinating way to demonstrate the difference heh 2021-04-11T17:14:07Z dieggsy: what does #. do i n this case? 2021-04-11T17:14:31Z _death: #. is read-time evaluation.. so while the form is read, it asks you for the value to use 2021-04-11T17:15:41Z dieggsy: interesting. cool. and does indeed solve my problem in this case actually, i think i was just modifying bits of the code carelessly. thanks! 2021-04-11T17:16:12Z sm2n: jackdaniel, it works now, thanks 2021-04-11T17:18:54Z dieggsy: How uncommon or looked down upon is it to use keywords in loop e.g. (loop :for ... :then ) 2021-04-11T17:19:10Z dieggsy: it works, and it kind of separates the keywords with highlighting from the rest of the code. but is this considered bad style? 2021-04-11T17:19:13Z _death: some people like it.. I don't 2021-04-11T17:27:23Z sm2n: I prefer keywords for loop 2021-04-11T17:27:41Z sm2n: don't really think there is consensus for this 2021-04-11T17:27:47Z sm2n: doesn't matter though 2021-04-11T17:35:27Z f4r joined #lisp 2021-04-11T17:35:30Z mfiano: I like it because a) it highlights it differently which is (imo) easier to read, and b) it doesn't intern symbols into my package, which might make completion of similar symbols more annoying. 2021-04-11T17:42:31Z abrantesasf joined #lisp 2021-04-11T17:44:53Z tophullyte joined #lisp 2021-04-11T17:46:29Z abrantesasf quit (Quit: Leaving) 2021-04-11T17:50:54Z Josh_2: same 2021-04-11T17:51:43Z hjudt joined #lisp 2021-04-11T17:59:34Z abrantesasf joined #lisp 2021-04-11T18:01:06Z surabax quit (Ping timeout: 265 seconds) 2021-04-11T18:01:29Z fiddlerwoaroof: I don't like keywords because all the extra colons are too much syntax for me :) 2021-04-11T18:01:50Z _death: :it :kinda :misses :a :point :of cl:loop 2021-04-11T18:04:38Z surabax joined #lisp 2021-04-11T18:05:08Z jmercouris: I think either way is OK and will alternate between the two in personal code 2021-04-11T18:08:57Z abrantesasf quit (Quit: Leaving) 2021-04-11T18:10:44Z abrantesasf joined #lisp 2021-04-11T18:12:23Z abrantesasf quit (Client Quit) 2021-04-11T18:12:55Z abrantesasf joined #lisp 2021-04-11T18:13:17Z theothornhill joined #lisp 2021-04-11T18:13:41Z _death: this reminds me that I should look into bb1's language frameworks again 2021-04-11T18:17:46Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-11T18:18:20Z jasom: Let me know if this is too off-topic, but woud you call the traditional lisp implementation of incremental compilation a jit or not? To me, requiring explicit compilation disqualifies something as a JIT, so the traditional implementation is not, but a case could be made for e.g. SBCL where it will sometimes (previously always) compile at EVAL time. 2021-04-11T18:20:33Z jasom: The 3 sides were roughly "All runtime compilation qualifies as JIT" "Compilation must be implicit to qualify as JIT" and "Some form of dynamic recompilation is necessary to qualify as JIT" 2021-04-11T18:21:43Z ebrasca quit (Ping timeout: 252 seconds) 2021-04-11T18:23:21Z abrantesasf is now known as abrantes 2021-04-11T18:23:42Z _death: I think the JIT buzzword was mainly associated with bytecode that gets compiled to native code 2021-04-11T18:24:08Z _death: well, translated 2021-04-11T18:25:16Z _death: that happened just before the program was run, on the target platform 2021-04-11T18:25:29Z shka_ quit (Quit: Konversation terminated!) 2021-04-11T18:26:22Z _death: then there was AOT that had the bytecode translated and the final result delivered, and dotnet had that GAC.. 2021-04-11T18:30:20Z abrantes quit (Quit: Leaving) 2021-04-11T18:31:02Z casual_friday quit (Remote host closed the connection) 2021-04-11T18:31:37Z choegusung joined #lisp 2021-04-11T18:31:45Z shka_ joined #lisp 2021-04-11T18:32:05Z choegusung quit (Client Quit) 2021-04-11T18:32:34Z casual_friday joined #lisp 2021-04-11T18:32:53Z abhixec joined #lisp 2021-04-11T18:33:33Z abrantesasf joined #lisp 2021-04-11T18:35:04Z asarch joined #lisp 2021-04-11T18:37:26Z asarch: How do you destroy objects? I mean, I have (defun foo () ...) and then I use (foo ...) and then I no longer need foo. How would I deleted it? (setf foo nil)? 2021-04-11T18:38:40Z lotuseater: i think (fmakunbound 'foo) 2021-04-11T18:39:14Z phadthai: I almost read louseeater :) 2021-04-11T18:40:00Z lotuseater: and giving the same function another symbol name eg ^ for expt does (setf (symbol-function '^) #'expt) 2021-04-11T18:40:07Z lotuseater: okay good :) 2021-04-11T18:41:05Z asarch: Thank you! 2021-04-11T18:41:06Z phadthai: yes removing references to the object should allow it to eventually be freed, the time when it'll actually be done is implementation dependent however, with some implementations allowing to force a GC run or to explicitly free/destroy specific objects 2021-04-11T18:41:11Z asarch: Thank you very much! :-) 2021-04-11T18:41:26Z asarch: BTW, does SBCL have ed? 2021-04-11T18:42:43Z Josh_2: ed is part of the spec 2021-04-11T18:43:23Z lotuseater: ah yes, but don't know how to use 2021-04-11T18:43:46Z asarch: How do you invoke it? 2021-04-11T18:43:52Z asarch: ...in SBCL? 2021-04-11T18:43:56Z Josh_2: Nah doesn't seem to work you are right 2021-04-11T18:44:59Z Lycurgus joined #lisp 2021-04-11T18:45:34Z surabax quit (Quit: Leaving) 2021-04-11T18:45:54Z _death: (documentation 'ed 'function) 2021-04-11T18:47:46Z slyrus quit (Remote host closed the connection) 2021-04-11T18:48:16Z Oladon quit (Quit: Leaving.) 2021-04-11T18:48:22Z slyrus joined #lisp 2021-04-11T18:48:32Z _death: you can add a function that tells swank to tell slime to visit a file, perhaps at some position if source info is available for a function name you might give 2021-04-11T18:49:17Z slyrus_ joined #lisp 2021-04-11T18:49:44Z semz: swank:ed-in-emacs does that 2021-04-11T18:50:11Z _death: cool.. I forgot about that 2021-04-11T18:51:39Z Josh_2 quit (Remote host closed the connection) 2021-04-11T18:52:46Z _death: the only issue there is that it returns NIL 2021-04-11T18:53:05Z slyrus quit (Ping timeout: 260 seconds) 2021-04-11T18:53:46Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-11T18:59:08Z asarch: How do you personalize Slime? 2021-04-11T18:59:22Z _death: maintain a fork? 2021-04-11T18:59:31Z mindCrime joined #lisp 2021-04-11T19:02:06Z cage_ quit (Quit: Leaving) 2021-04-11T19:02:32Z cage_ joined #lisp 2021-04-11T19:02:47Z cage_ quit (Remote host closed the connection) 2021-04-11T19:05:10Z Lycurgus: sly has some things built in, eg. choosing the implementation 2021-04-11T19:05:13Z asarch: I mean, its configuration file to add/remove features 2021-04-11T19:06:26Z _death: there's your .emacs, and then there's .swank.lisp for the cl side 2021-04-11T19:10:35Z Lycurgus quit (Quit: Exeunt) 2021-04-11T19:11:55Z alanz: I have sly-edit-definition bound to "g d" via evil-mode. And it works for me, takes me to the source 2021-04-11T19:12:09Z alanz: no custom config 2021-04-11T19:15:17Z gioyik joined #lisp 2021-04-11T19:19:47Z asarch: Thank you guys, thank you very much! :-) 2021-04-11T19:26:43Z attila_lendvai joined #lisp 2021-04-11T19:26:44Z attila_lendvai quit (Changing host) 2021-04-11T19:26:44Z attila_lendvai joined #lisp 2021-04-11T19:26:57Z rumbler31 quit (Remote host closed the connection) 2021-04-11T19:28:00Z rumbler31 joined #lisp 2021-04-11T19:31:18Z rumbler31 quit (Remote host closed the connection) 2021-04-11T19:32:05Z rumbler31 joined #lisp 2021-04-11T19:37:17Z Krystof joined #lisp 2021-04-11T19:38:38Z theothornhill joined #lisp 2021-04-11T19:40:05Z asarch: Here in México a fellows stole a truck (a Hilux pickup) and in the truck there was an industrial device for X rays which uses the Iridium-192 radioactive element. As the meme says: "Kare-ra wa mō shinde iru" X-P 2021-04-11T19:40:37Z Shinmera: Thought I'd also throw it in here that I just released a big update to my game, Kandria, for free: https://reader.tymoon.eu/article/395 2021-04-11T19:40:49Z Shinmera: It's on topic as the game is written entirely in Lisp :) 2021-04-11T19:42:02Z attila_lendvai quit (Ping timeout: 268 seconds) 2021-04-11T19:49:23Z ramHero joined #lisp 2021-04-11T19:50:01Z Lord_of_Life_ joined #lisp 2021-04-11T19:53:06Z phoe: Shinmera: I really enjoy reading those, thanks for posting! 2021-04-11T19:53:10Z Lord_of_Life quit (Ping timeout: 252 seconds) 2021-04-11T19:53:14Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-11T19:53:34Z Shinmera: Glad to hear! 2021-04-11T19:54:53Z andrei-n quit (Quit: Leaving) 2021-04-11T19:55:39Z gitgoood quit (Ping timeout: 265 seconds) 2021-04-11T20:00:04Z abrantesasf quit (Quit: Leaving) 2021-04-11T20:00:30Z jprajzne quit (Remote host closed the connection) 2021-04-11T20:01:24Z jprajzne joined #lisp 2021-04-11T20:02:14Z gitgood joined #lisp 2021-04-11T20:04:58Z aeth quit (Ping timeout: 240 seconds) 2021-04-11T20:05:09Z borodust quit (Remote host closed the connection) 2021-04-11T20:07:08Z aeth joined #lisp 2021-04-11T20:11:16Z theothornhill quit (Remote host closed the connection) 2021-04-11T20:15:28Z Oladon joined #lisp 2021-04-11T20:18:28Z asarch quit (Quit: Leaving) 2021-04-11T20:19:51Z contrapunctus: Shinmera: fever -> fewer? 2021-04-11T20:20:27Z Shinmera: Fixed, thanks! 2021-04-11T20:32:11Z shka_ quit (Ping timeout: 240 seconds) 2021-04-11T20:35:33Z Nilby: TIL CEO of Netflix was once a Lisper, worked on a CLIM app 2021-04-11T20:37:03Z lotuseater: uii 2021-04-11T20:37:10Z gaqwas quit (Ping timeout: 252 seconds) 2021-04-11T20:38:01Z lotuseater: and now that is full of so-called microservices 2021-04-11T20:38:11Z Xach: Nilby: was once a coffee-fetching intern at symbolics, even 2021-04-11T20:38:20Z mfiano: Co-CEO 2021-04-11T20:40:47Z lotuseater: any lisp connected internship would be awesome, but no chance at all :( 2021-04-11T20:41:22Z borodust joined #lisp 2021-04-11T20:44:35Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-11T20:44:50Z pve quit (Quit: leaving) 2021-04-11T20:46:04Z seok joined #lisp 2021-04-11T20:51:49Z nckx is now known as jorts 2021-04-11T20:55:56Z contrapunctus: lotuseater: looked here? https://github.com/azzamsa/awesome-lisp-companies 2021-04-11T20:56:33Z abhixec quit (Ping timeout: 265 seconds) 2021-04-11T20:56:41Z lotuseater: yes i know that repo, but nothing is in my reach or I'm not good enough anyway 2021-04-11T20:58:37Z lotuseater: ok, 6 in germany, but maybe they can only use people with phd 2021-04-11T20:59:25Z contrapunctus: lotuseater: I also know that Bevuta GmbH is the home of most of the CHICKEN Scheme devs, but it's not listed there yet 2021-04-11T21:00:21Z lotuseater: ah chicken, one of the outstanding scheme implementations, right? 2021-04-11T21:00:32Z Shinmera: I wish I had the money to hire another coder 2021-04-11T21:00:36Z lotuseater: but maybe better in #lispcafe 2021-04-11T21:01:04Z lotuseater: why that Shinmera? 2021-04-11T21:01:19Z Shinmera: Why what? 2021-04-11T21:01:22Z contrapunctus: lotuseater: one of the 'practical' ones. 2021-04-11T21:01:23Z Inline quit (Ping timeout: 260 seconds) 2021-04-11T21:02:09Z lotuseater: what you meant, hiring another coder 2021-04-11T21:02:36Z Shinmera: because there's a lot of work and only me to do it at the moment? 2021-04-11T21:03:00Z lotuseater: okay seems meaningful ^^ 2021-04-11T21:03:52Z lotuseater: here are many very intelligent people :) 2021-04-11T21:04:31Z rumbler31 quit (Remote host closed the connection) 2021-04-11T21:04:49Z rumbler31 joined #lisp 2021-04-11T21:06:49Z tophullyte quit (Quit: Leaving) 2021-04-11T21:11:35Z lotuseater: do you have an example for the kind or topic of work Shinmera? 2021-04-11T21:12:06Z Shinmera: I posted an article about what I do just before 2021-04-11T21:12:18Z lotuseater: oh sry, yes, i opened 2021-04-11T21:13:59Z Josh_2 joined #lisp 2021-04-11T21:14:30Z Josh_2: I have a dumped lisp image that depends on slynk, however when I try to connect to it using port forwarding sly always fails 2021-04-11T21:15:25Z Josh_2: dw 2021-04-11T21:15:28Z Josh_2: I got it :P 2021-04-11T21:15:39Z Josh_2: I hadn't restarted bash after modifying my .bashrc 2021-04-11T21:16:51Z orivej quit (Ping timeout: 265 seconds) 2021-04-11T21:16:52Z ebrasca joined #lisp 2021-04-11T21:16:58Z anticrisis joined #lisp 2021-04-11T21:17:38Z tophullyte joined #lisp 2021-04-11T21:19:54Z contrapunctus left #lisp 2021-04-11T21:21:04Z curtosis joined #lisp 2021-04-11T21:21:08Z curtosis is now known as curtosis[away] 2021-04-11T21:22:23Z contrapunctus joined #lisp 2021-04-11T21:22:57Z Josh_2: Okay well its working but I get this error when I connect https://plaster.tymoon.eu/view/2385#2385 2021-04-11T21:26:23Z Kundry_W_ joined #lisp 2021-04-11T21:26:58Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-11T21:27:23Z c7s quit (Ping timeout: 246 seconds) 2021-04-11T21:29:29Z hendursa1 quit (Remote host closed the connection) 2021-04-11T21:29:36Z Josh_2: Well idk 2021-04-11T21:29:55Z hendursa1 joined #lisp 2021-04-11T21:30:16Z _death: somewhere, maybe a dot file, you have a reference to this cl-asdf thing.. likely you want to get rid of it 2021-04-11T21:35:41Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-11T21:36:32Z mmontone joined #lisp 2021-04-11T21:36:44Z alanz slightly surprised that (car nil) gives nil 2021-04-11T21:37:48Z lotuseater: alanz: it's surprising that (last '(1 2 3)) gives '(3) and not 3 2021-04-11T21:38:06Z alanz: agree. 2021-04-11T21:38:21Z Shinmera: It's the last(cons), not last(element) :shrug: 2021-04-11T21:38:29Z alanz: I'm used to haskell, where things blow up if you use them not as expected. 2021-04-11T21:38:31Z lotuseater: yes i see 2021-04-11T21:38:53Z _death: but it is expected, by lispers 2021-04-11T21:38:55Z lotuseater: haha me too alanz 2021-04-11T21:38:59Z Shinmera: alanz: ? It's specificed that car/cdr of nil is nil. 2021-04-11T21:39:21Z alanz: it was only unexpected to me, I had the wrong expectation 2021-04-11T21:40:32Z lotuseater: so we don't have to struggle with monadic stuff 2021-04-11T21:40:36Z mindCrime quit (Ping timeout: 252 seconds) 2021-04-11T21:41:29Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-11T21:42:14Z alanz: you get used to the monadic stuff after a while. Same with rust and its borrow checker. 2021-04-11T21:42:24Z lotuseater: yes 2021-04-11T21:42:50Z alanz: I think every language has things that eventually you internalise and then don't even notice what you are doing. Landmines that you dodge without thinking. 2021-04-11T21:43:20Z entel joined #lisp 2021-04-11T21:43:24Z lotuseater: like (format nil "~a" nil) => nil and not "" 2021-04-11T21:43:34Z alanz: yes. 2021-04-11T21:43:46Z lotuseater: or EVENP, ODDP just work on integers, otherwise throws type error 2021-04-11T21:43:59Z alanz: I have to say, I am pretty impressed with the feedback SBCL gives about code, when there are problems 2021-04-11T21:44:18Z _death: eh? (format nil "~A" nil) => "NIL" 2021-04-11T21:44:24Z lotuseater: but the most stuff is very consistent, eg support for 0-dimensional arrays 2021-04-11T21:44:46Z lotuseater: oh damn _death, yes you're right :D 2021-04-11T21:45:59Z _death: these things usually have reasons.. which sometimes (oftentimes) are good 2021-04-11T21:46:28Z wooden quit (Read error: Connection reset by peer) 2021-04-11T21:46:54Z _death: for example, getting the last cons is useful if you want to modify it 2021-04-11T21:47:27Z _death: you can also give an additional argument, to get the nth cons from the end 2021-04-11T21:47:29Z lotuseater: yes most stuff has it's reasons in the spec :) 2021-04-11T21:47:47Z skapata joined #lisp 2021-04-11T21:48:15Z wooden joined #lisp 2021-04-11T21:48:15Z wooden quit (Changing host) 2021-04-11T21:48:16Z wooden joined #lisp 2021-04-11T21:48:22Z lotuseater: haha i changed PRINT-OBJECT with eql for NIL to "", funny 2021-04-11T21:48:43Z _death: well, unfortunately the spec doesn't have a Rationale section with all the history :).. but we do have cl-su-ai and c.l.l for example 2021-04-11T21:48:59Z lotuseater: oh what's that? 2021-04-11T21:49:36Z _death: what's what 2021-04-11T21:49:54Z lotuseater: cl-su-ai and c.l.l 2021-04-11T21:51:09Z ebrasca: Why? 2021-04-11T21:51:15Z _death: cl-su-ai is a mail archive containing some discussions from the CL standardization effort https://cl-su-ai.cddddr.org/ 2021-04-11T21:51:29Z moon-child: c.l.l is the comp.lang.lisp newsgroup 2021-04-11T21:51:43Z moon-child: (not deceased, but probably on its last elbows) 2021-04-11T21:51:46Z lotuseater: ah 2021-04-11T21:52:04Z lotuseater: yes i found the cddddr site :) 2021-04-11T21:53:37Z _death: I put it and some other archives here https://github.com/death/gnus-friendly-archives 2021-04-11T21:55:05Z heisig quit (Quit: Leaving) 2021-04-11T21:56:49Z abhixec joined #lisp 2021-04-11T21:58:18Z Nilby quit (Ping timeout: 258 seconds) 2021-04-11T22:05:41Z gzj joined #lisp 2021-04-11T22:22:04Z renzhi quit (Ping timeout: 258 seconds) 2021-04-11T22:23:10Z hjudt quit (Ping timeout: 252 seconds) 2021-04-11T22:23:57Z ebrasca: wow 2021-04-11T22:29:03Z frgo quit (Remote host closed the connection) 2021-04-11T22:29:28Z frgo joined #lisp 2021-04-11T22:33:13Z curtosis joined #lisp 2021-04-11T22:47:26Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-11T22:58:16Z mindCrime joined #lisp 2021-04-11T23:08:02Z JohnnyMonoxide joined #lisp 2021-04-11T23:08:11Z msk quit (Remote host closed the connection) 2021-04-11T23:08:38Z msk joined #lisp 2021-04-11T23:09:10Z JohnnyMonoxide left #lisp 2021-04-11T23:11:59Z amerigo joined #lisp 2021-04-11T23:11:59Z curtosis joined #lisp 2021-04-11T23:19:50Z igemnace joined #lisp 2021-04-11T23:20:32Z karstensrage joined #lisp 2021-04-11T23:20:55Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-11T23:26:03Z kevingal quit (Ping timeout: 260 seconds) 2021-04-11T23:26:19Z galex-713 joined #lisp 2021-04-11T23:27:31Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-11T23:32:37Z rumbler31 quit (Remote host closed the connection) 2021-04-11T23:33:23Z Kundry_Wag joined #lisp 2021-04-11T23:33:23Z Kundry_W_ quit (Read error: Connection reset by peer) 2021-04-11T23:33:25Z rumbler31 joined #lisp 2021-04-11T23:37:59Z rumbler31 quit (Ping timeout: 265 seconds) 2021-04-11T23:46:01Z bjorkintosh quit (Ping timeout: 258 seconds) 2021-04-11T23:56:01Z random-nick quit (Ping timeout: 260 seconds) 2021-04-11T23:57:05Z gzj quit (Remote host closed the connection) 2021-04-11T23:57:25Z gzj joined #lisp 2021-04-11T23:59:59Z xsperry quit 2021-04-12T00:00:29Z xsperry joined #lisp 2021-04-12T00:11:49Z gitgood quit (Ping timeout: 265 seconds) 2021-04-12T00:14:20Z fiddlerwoaroof: moon-child: usenet is in this weird sort of undead state these days 2021-04-12T00:17:06Z moon-child: fiddlerwoaroof: some groups are alive and well . . . more's the pity 2021-04-12T00:17:10Z moon-child: c.l.c is a cesspool 2021-04-12T00:17:48Z brass quit (Quit: ZNC 1.8.1 - https://znc.in) 2021-04-12T00:18:35Z brass joined #lisp 2021-04-12T00:28:46Z contrapunctus left #lisp 2021-04-12T00:29:54Z rumbler31 joined #lisp 2021-04-12T00:30:34Z jeosol joined #lisp 2021-04-12T00:31:02Z contrapunctus joined #lisp 2021-04-12T00:42:07Z abhixec quit (Remote host closed the connection) 2021-04-12T00:48:16Z Kundry_Wag quit 2021-04-12T00:48:44Z loke[m]: moon-child is that wj guy still posting there? 2021-04-12T00:50:04Z moon-child: no idea, I stopped frequenting it 2021-04-12T00:50:18Z moon-child: (still in my newsrc, though--should probably get rid of that) 2021-04-12T00:54:55Z phantomics joined #lisp 2021-04-12T00:56:40Z abhixec joined #lisp 2021-04-12T00:56:43Z loke[m]: moon-child I was almost impressed with by his consistency. How can you spend years doing that stuff over and over again. 2021-04-12T00:56:48Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-12T00:57:06Z Spawns_Carpeting joined #lisp 2021-04-12T00:57:14Z no-defun-allowed: wj guy? 2021-04-12T01:00:29Z zooey joined #lisp 2021-04-12T01:01:45Z Bike: the few times i've looked at c.l.c this guy wj made a ton of posts about how CL sucked. 2021-04-12T01:01:55Z Bike: like a ton of posts. some kind of bot i guess. 2021-04-12T01:02:45Z moon-child: the main ~spammers I remember are rick c hodgin (religious propaganda) and prof. fir (all-around fun times) 2021-04-12T01:02:53Z moon-child: oh, also suresh 2021-04-12T01:03:26Z no-defun-allowed: raisins CL sucks 1. Only common why would you not use items with higher rarity 2. No abelian groups for pure IO 3. Too fast, can't overcharge people for rewriting in C 2021-04-12T01:03:41Z semz: wait a second, what is c.l.c? i assumed comp.lang.c, but anti-CL posts sound out of place 2021-04-12T01:03:42Z Bike: is the IO monad abelian 2021-04-12T01:03:51Z Bike: semz: again, this was spammy 2021-04-12T01:04:05Z semz: oh i see. wild stuff 2021-04-12T01:04:07Z Bike: oh, sorry, iw as thinking of c.l.l 2021-04-12T01:04:11Z Bike: i don't know what c.l.c is 2021-04-12T01:05:06Z no-defun-allowed: Bike: no, else IO would be commutative and that wouldn't help with "sequencing" IO 2021-04-12T01:05:17Z Bike: makes sense 2021-04-12T01:05:35Z no-defun-allowed: I think that's how it is, I dunno and only came up with Abelian IO for the joke. 2021-04-12T01:05:58Z GZJ0X_ joined #lisp 2021-04-12T01:09:49Z gzj quit (Ping timeout: 252 seconds) 2021-04-12T01:15:23Z semz quit (Ping timeout: 250 seconds) 2021-04-12T01:18:25Z dieggsy: is there a concise way to say "1e6 as an integer" short of flooring it 2021-04-12T01:18:55Z Bike: Do you mean you want a shorter integer literal syntax? 2021-04-12T01:19:04Z Bike: or do you have some float at runtime and you want an integer. 2021-04-12T01:20:55Z asarch joined #lisp 2021-04-12T01:21:27Z dieggsy: Bike: The former, I think. I want to be able to type "the integer 1e6" without 1000000 or (floor 1e6) 2021-04-12T01:21:41Z thinkpad quit (Ping timeout: 240 seconds) 2021-04-12T01:22:30Z Bike: i see. there's no built in way. if you wanted you could probably write a reader macro fairly simply. 2021-04-12T01:22:43Z Bike: i wanna say i've seen "1r6" as an extension before, but i don't remember 2021-04-12T01:23:10Z dieggsy: fair. thanks! 2021-04-12T01:23:49Z edgar-rft: what about (expt 10 6) 2021-04-12T01:25:19Z Bike: that's more characters than 1000000 2021-04-12T01:25:33Z Bike: though i'm going to imagine dieggsy is more concerned about 1e27 or suchlike 2021-04-12T01:25:58Z edgar-rft: "the integer 1e6" is also more characters than 1000000 2021-04-12T01:25:59Z dieggsy: edgar-rft: lol, certainly an option actually. Bike right. 2021-04-12T01:26:21Z dieggsy: edgar-rft: that wasn't literal though, just what i *meant* 2021-04-12T01:26:31Z dieggsy: scheme (don't kill me) has #e1e6 2021-04-12T01:27:12Z dieggsy: suppose it could just be implemented with a reader macro as mentioned 2021-04-12T01:27:18Z edgar-rft: expt is what I am using for huge bignums, you're of course free to use something different 2021-04-12T01:29:07Z semz joined #lisp 2021-04-12T01:29:07Z semz quit (Changing host) 2021-04-12T01:29:07Z semz joined #lisp 2021-04-12T01:30:50Z Bike: oh, it's actually really easy because of how dispatching macro characters work 2021-04-12T01:31:13Z Bike: (defun sharp-e (stream sub num) (declare (ignore sub)) (* num (expt 10 (read stream t nil t)))) 2021-04-12T01:31:21Z Bike: (possibly with more error checking) 2021-04-12T01:32:03Z no-defun-allowed: So that would read #1e10? 2021-04-12T01:32:10Z Bike: yeah 2021-04-12T01:32:48Z edgar-rft: using 1e is rather seldom, you usually need numbers like 127364538463e16278364536372 and I doubt that this can be shortened by a read macro 2021-04-12T01:33:42Z mmontone quit (Ping timeout: 240 seconds) 2021-04-12T01:35:22Z thinkpad joined #lisp 2021-04-12T01:39:39Z ikrabbe|2 joined #lisp 2021-04-12T01:39:58Z ikrabbe quit (Ping timeout: 240 seconds) 2021-04-12T01:44:41Z thinkpad quit (Ping timeout: 240 seconds) 2021-04-12T01:45:04Z thinkpad joined #lisp 2021-04-12T01:46:07Z GZJ0X_ quit (Read error: Connection reset by peer) 2021-04-12T01:46:27Z GZJ0X_ joined #lisp 2021-04-12T01:49:20Z lotuseat` joined #lisp 2021-04-12T01:50:06Z ikrabbe joined #lisp 2021-04-12T01:50:46Z mmmattyx quit (Quit: Connection closed for inactivity) 2021-04-12T01:50:55Z lotuseater quit (Ping timeout: 250 seconds) 2021-04-12T01:52:41Z ikrabbe|2 quit (Ping timeout: 240 seconds) 2021-04-12T01:53:34Z asarch_ joined #lisp 2021-04-12T01:56:19Z asarch quit (Ping timeout: 260 seconds) 2021-04-12T01:57:15Z Oladon quit (Quit: Leaving.) 2021-04-12T02:01:41Z indathrone quit (Quit: Leaving) 2021-04-12T02:16:22Z mindCrime quit (Ping timeout: 252 seconds) 2021-04-12T02:22:11Z asarch_ quit (Quit: Leaving) 2021-04-12T02:29:36Z Jesin joined #lisp 2021-04-12T02:40:59Z amerigo quit (Quit: Connection closed for inactivity) 2021-04-12T02:42:34Z rumbler31 quit (Remote host closed the connection) 2021-04-12T02:43:19Z rumbler31 joined #lisp 2021-04-12T02:49:26Z mindCrime joined #lisp 2021-04-12T02:50:36Z _jrjsmrtn joined #lisp 2021-04-12T02:51:11Z __jrjsmrtn__ quit (Ping timeout: 240 seconds) 2021-04-12T03:00:07Z jeosol quit (Quit: Connection closed) 2021-04-12T03:01:26Z beach: Good morning everyone! 2021-04-12T03:02:20Z Alfr is now known as Guest31604 2021-04-12T03:02:25Z Alfr joined #lisp 2021-04-12T03:04:35Z Guest31604 quit (Ping timeout: 250 seconds) 2021-04-12T03:09:43Z mindCrime quit (Ping timeout: 252 seconds) 2021-04-12T03:25:43Z klltkr joined #lisp 2021-04-12T03:25:53Z klltkr quit (Client Quit) 2021-04-12T03:26:08Z GZJ0X_ quit (Remote host closed the connection) 2021-04-12T03:26:29Z GZJ0X_ joined #lisp 2021-04-12T03:35:01Z wooden quit (Ping timeout: 268 seconds) 2021-04-12T03:40:41Z karlosz joined #lisp 2021-04-12T03:45:02Z jeosol joined #lisp 2021-04-12T03:50:08Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-12T03:53:49Z frost-lab joined #lisp 2021-04-12T03:56:41Z abhixec quit (Ping timeout: 240 seconds) 2021-04-12T03:57:22Z torbo quit (Remote host closed the connection) 2021-04-12T03:58:18Z lotuseat` quit (Remote host closed the connection) 2021-04-12T03:58:39Z lotuseat` joined #lisp 2021-04-12T03:59:29Z abhixec joined #lisp 2021-04-12T03:59:59Z hsaziz joined #lisp 2021-04-12T04:00:54Z hsaziz quit (Client Quit) 2021-04-12T04:07:00Z phoe6245 joined #lisp 2021-04-12T04:12:21Z X-Scale` joined #lisp 2021-04-12T04:13:02Z Bike quit (Quit: Lost terminal) 2021-04-12T04:15:02Z karlosz quit (Quit: karlosz) 2021-04-12T04:15:29Z mtd__ joined #lisp 2021-04-12T04:15:40Z ldfung left #lisp 2021-04-12T04:15:43Z karstensrage quit (Quit: ZNC - http://znc.in) 2021-04-12T04:16:05Z slyrus joined #lisp 2021-04-12T04:18:23Z akkad_ joined #lisp 2021-04-12T04:20:01Z frost-lab quit (Quit: Connection closed) 2021-04-12T04:20:24Z theo[m]1 quit (*.net *.split) 2021-04-12T04:20:24Z heretical_crypte quit (*.net *.split) 2021-04-12T04:20:25Z e[m]1 quit (*.net *.split) 2021-04-12T04:20:26Z tweet[m] quit (*.net *.split) 2021-04-12T04:20:26Z katco quit (*.net *.split) 2021-04-12T04:20:26Z loke[m] quit (*.net *.split) 2021-04-12T04:20:26Z IPmonger quit (*.net *.split) 2021-04-12T04:20:26Z X-Scale quit (*.net *.split) 2021-04-12T04:20:26Z norsxa quit (*.net *.split) 2021-04-12T04:20:26Z spal quit (*.net *.split) 2021-04-12T04:20:26Z Papa quit (*.net *.split) 2021-04-12T04:20:26Z nightfly quit (*.net *.split) 2021-04-12T04:20:26Z akkad quit (*.net *.split) 2021-04-12T04:20:26Z mtd quit (*.net *.split) 2021-04-12T04:20:26Z akkad_ is now known as akkad 2021-04-12T04:20:29Z X-Scale` is now known as X-Scale 2021-04-12T04:20:33Z gaqwas joined #lisp 2021-04-12T04:21:24Z Papa joined #lisp 2021-04-12T04:21:45Z karlosz joined #lisp 2021-04-12T04:25:36Z nightfly joined #lisp 2021-04-12T04:28:15Z frost-lab joined #lisp 2021-04-12T04:34:38Z norsxa joined #lisp 2021-04-12T04:34:38Z spal joined #lisp 2021-04-12T04:34:47Z IPmonger joined #lisp 2021-04-12T04:35:05Z heretical_crypte joined #lisp 2021-04-12T04:35:07Z theo[m]1 joined #lisp 2021-04-12T04:39:03Z katco joined #lisp 2021-04-12T04:40:54Z loke[m] joined #lisp 2021-04-12T04:41:20Z tweet[m] joined #lisp 2021-04-12T04:42:26Z e[m]1 joined #lisp 2021-04-12T04:44:07Z karlosz quit (Quit: karlosz) 2021-04-12T04:47:33Z orivej joined #lisp 2021-04-12T04:48:29Z gioyik quit (Remote host closed the connection) 2021-04-12T04:48:54Z gioyik joined #lisp 2021-04-12T04:58:32Z seok quit (Quit: Connection closed) 2021-04-12T05:00:04Z heisig joined #lisp 2021-04-12T05:19:05Z chipolux joined #lisp 2021-04-12T05:20:04Z narimiran joined #lisp 2021-04-12T05:20:30Z docl quit (Read error: Connection reset by peer) 2021-04-12T05:20:30Z docl_ joined #lisp 2021-04-12T05:37:56Z chipolux quit (Quit: chipolux) 2021-04-12T05:38:05Z frost-lab quit (Quit: Connection closed) 2021-04-12T05:39:08Z terpri quit (Remote host closed the connection) 2021-04-12T05:45:34Z andrei-n joined #lisp 2021-04-12T05:47:46Z slyrus quit (Remote host closed the connection) 2021-04-12T05:48:18Z slyrus joined #lisp 2021-04-12T05:51:57Z ech quit (Ping timeout: 240 seconds) 2021-04-12T05:52:31Z slyrus quit (Ping timeout: 252 seconds) 2021-04-12T05:53:26Z dtman34 joined #lisp 2021-04-12T05:55:08Z GZJ0X_ quit (Remote host closed the connection) 2021-04-12T05:55:28Z GZJ0X_ joined #lisp 2021-04-12T05:55:37Z slyrus joined #lisp 2021-04-12T05:57:37Z dtman34_ joined #lisp 2021-04-12T05:58:34Z dtman34 quit (Ping timeout: 252 seconds) 2021-04-12T05:59:11Z abhixec quit (Ping timeout: 240 seconds) 2021-04-12T06:02:35Z wooden joined #lisp 2021-04-12T06:02:35Z wooden quit (Changing host) 2021-04-12T06:02:35Z wooden joined #lisp 2021-04-12T06:09:37Z hjudt joined #lisp 2021-04-12T06:10:03Z Codaraxis_ joined #lisp 2021-04-12T06:12:03Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-12T06:12:03Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-12T06:13:25Z Codaraxis__ quit (Ping timeout: 252 seconds) 2021-04-12T06:16:36Z fouric quit (Ping timeout: 245 seconds) 2021-04-12T06:19:49Z pve joined #lisp 2021-04-12T06:20:58Z f4r quit (Ping timeout: 240 seconds) 2021-04-12T06:24:13Z hiroaki_ joined #lisp 2021-04-12T06:24:16Z fouric joined #lisp 2021-04-12T06:24:24Z hiroaki joined #lisp 2021-04-12T06:34:08Z GZJ0X_ quit (Read error: Connection reset by peer) 2021-04-12T06:34:28Z GZJ0X_ joined #lisp 2021-04-12T06:34:31Z f4r joined #lisp 2021-04-12T06:37:52Z f4r5 joined #lisp 2021-04-12T06:40:00Z ebrasca quit (Remote host closed the connection) 2021-04-12T06:41:26Z f4r quit (Ping timeout: 252 seconds) 2021-04-12T06:52:21Z slyrus quit (Remote host closed the connection) 2021-04-12T06:52:22Z attila_lendvai joined #lisp 2021-04-12T06:52:56Z slyrus joined #lisp 2021-04-12T06:53:22Z markasoftware quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-12T06:54:26Z markasoftware joined #lisp 2021-04-12T06:57:20Z slyrus quit (Ping timeout: 265 seconds) 2021-04-12T07:06:17Z f4r5 quit (Ping timeout: 246 seconds) 2021-04-12T07:15:38Z shka_ joined #lisp 2021-04-12T07:16:18Z splittist: If we're suggesting alternative numeric literal syntax, python allowing #\_ as a separator seems nice. 1_000_000 or #b1001_1001_1111 or #xDE_AD_BE_EF (: 2021-04-12T07:17:50Z moon-child: splittist: agreed 2021-04-12T07:18:57Z gioyik quit (Quit: WeeChat 3.0) 2021-04-12T07:25:41Z tophullyte quit (Ping timeout: 240 seconds) 2021-04-12T07:29:25Z g0d_shatter joined #lisp 2021-04-12T07:30:35Z thinkpad quit (Ping timeout: 268 seconds) 2021-04-12T07:30:55Z Nilby joined #lisp 2021-04-12T07:32:40Z aartaka quit (Read error: Connection reset by peer) 2021-04-12T07:32:46Z aartaka_d joined #lisp 2021-04-12T07:33:00Z thinkpad joined #lisp 2021-04-12T07:36:35Z surabax joined #lisp 2021-04-12T07:38:01Z random-nick joined #lisp 2021-04-12T07:42:01Z fiddlerwoaroof: splittist: although, I sort of like the model used by the "numderline" font patching tool: make display conventions for numeric literals a font feature rather than actual source characters 2021-04-12T07:43:07Z moon-child: hmmm. I'm not really a fan of things like that 2021-04-12T07:43:35Z moon-child: (nor ligatures.) From the rendering side, I want my texteditor to be a relatively dumb grid of characters. Plus some colour, maybe 2021-04-12T07:48:59Z contrapunctus left #lisp 2021-04-12T07:49:18Z fiddlerwoaroof: I agree about ligatures 2021-04-12T07:49:40Z attila_lendvai quit (Ping timeout: 252 seconds) 2021-04-12T07:49:53Z fiddlerwoaroof: I think formatting numbers readably is more like syntax highlighting than ligatures, though 2021-04-12T07:50:52Z fiddlerwoaroof: The issue with a python-style 1_000_000 is, now I have all sorts of issues when I want to copy the numbers from my source code somewhere else 2021-04-12T07:50:57Z contrapunctus joined #lisp 2021-04-12T07:51:02Z anticrisis quit (Quit: Leaving) 2021-04-12T07:51:18Z fiddlerwoaroof: And similar issues if *PRINT-PRETTY* decides to include the grouping character 2021-04-12T07:51:59Z fiddlerwoaroof: I sort of wonder if the issue could be solved with a font-lock rule for which characters to color slightly differently 2021-04-12T07:52:47Z ljavorsk joined #lisp 2021-04-12T07:55:42Z moon-child: colouration could work, but I think I prefer inline _. Copy-pasting--is that really such a concern? I almost never do that. In particular, I don't think it's particularly reasonable to expect forms from one language to be compatible with forms from another, as a general rule 2021-04-12T07:57:11Z White_Flame slowly slides the term "presentation" into the conversation 2021-04-12T07:59:30Z [mark] joined #lisp 2021-04-12T08:02:41Z mrchampion quit (Ping timeout: 240 seconds) 2021-04-12T08:03:52Z Nilby: There's this 10̦000̦00 or this 10̲000̲00 but I think they're more trouble than they're worth. 2021-04-12T08:03:55Z fiddlerwoaroof: White_Flame: exactly 2021-04-12T08:04:36Z White_Flame: dead text chars are an anti-pattern 2021-04-12T08:05:24Z moon-child: White_Flame: do you avoid whitespace, then? 2021-04-12T08:05:45Z fiddlerwoaroof: moon-child: copy-pasting isn't a huge concern, but I find it irritating when I have to reformat basic data types between langauges 2021-04-12T08:05:55Z White_Flame: solving these issues necessarily means replacing ecosystems 2021-04-12T08:06:02Z fiddlerwoaroof: Print syntax is more important here than read syntax, though 2021-04-12T08:06:39Z fiddlerwoaroof: Anyways: Excel and other spreadsheet tools have all sorts of nice number formatting options 2021-04-12T08:06:58Z fiddlerwoaroof: It'd be great for me to be able to set such display options on a variable-by-variable basis :) 2021-04-12T08:07:12Z hendursaga joined #lisp 2021-04-12T08:08:02Z White_Flame: hmm, but when copying a cell (at least in libreoffice), you get the presentation form, not the raw form 2021-04-12T08:08:08Z White_Flame: when pasting into a text buffer 2021-04-12T08:09:26Z Nilby: fiddlerwoaroof: (setf (get 'x 'number-style) 'fancy) 2021-04-12T08:09:33Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-12T08:09:35Z fiddlerwoaroof: White_Flame: that's sort of a bug, though 2021-04-12T08:09:40Z Nilby: Now you just need a thing to show it. 2021-04-12T08:10:22Z fiddlerwoaroof: And, I don't think Excel has that limitation: at least, you can choose whether to paste the display formatting or the values at paste time 2021-04-12T08:10:42Z Nilby: There have been Lisp systems where symbols have special presentation. 2021-04-12T08:10:45Z White_Flame: I mean pasting into a text editor 2021-04-12T08:11:32Z fiddlerwoaroof: Well, that's because of limitations of the normal copy/paste protocols 2021-04-12T08:11:40Z fiddlerwoaroof: And/or the application's use of them 2021-04-12T08:12:13Z White_Flame: yep. The general problem IMO is the Unix/C model of naked char buffers for everything 2021-04-12T08:12:44Z fiddlerwoaroof: macOS, at least, has typed clipboards 2021-04-12T08:12:58Z fiddlerwoaroof: And you can request data of a certain type from the clipboard 2021-04-12T08:13:05Z GZJ0X_ quit (Remote host closed the connection) 2021-04-12T08:13:20Z moon-child: sounds like COM 2021-04-12T08:13:21Z White_Flame: pretty sure such things are in windows & linux, too 2021-04-12T08:13:25Z GZJ0X_ joined #lisp 2021-04-12T08:13:38Z White_Flame: but in the latter, the stars have to align through the bazaar 2021-04-12T08:13:47Z fiddlerwoaroof: In fact, macOS's biggest technical advantage is that it's _not_ based on the Unix/C model of text everywhere for the user-facing parts 2021-04-12T08:14:05Z GZJ0X_ quit (Remote host closed the connection) 2021-04-12T08:14:15Z White_Flame: yep 2021-04-12T08:14:16Z fiddlerwoaroof: It's based on the Objective-C runtime, which is basically a limited Smalltalk 2021-04-12T08:14:26Z GZJ0X_ joined #lisp 2021-04-12T08:20:13Z splittist: The most important syntax is the one I'm presenting to myself in my source code: did I just type one hundred million or a billion? Let me move my cursor over the number as I count... 100_000_000 makes it obvious to my most important reader - me (: 2021-04-12T08:22:04Z jdz: splittist: #.(truncate 1.0e8) 2021-04-12T08:22:42Z jdz: But yes, I sometimes struggle with numbers like these, too. 2021-04-12T08:23:33Z jdz: Usually by moving cursor to position 3 from the right, and then selecting 3 next digits left. 2021-04-12T08:23:35Z White_Flame: ##Eleventy_Billion 2021-04-12T08:23:51Z jdz: And hoping that counting the rest will not be a problem. 2021-04-12T08:24:31Z White_Flame: (ah, ## is already taken) 2021-04-12T08:25:56Z jdz: #r should be extended to accept #\" as the base, so then: #r"one hundred million billion". 2021-04-12T08:26:08Z moon-child: haha 2021-04-12T08:26:18Z rudi joined #lisp 2021-04-12T08:26:28Z fiddlerwoaroof: this is sort of interesting, in Emacs: (gui-get-selection 'CLIPBOARD (intern "text/html")) 2021-04-12T08:26:41Z fiddlerwoaroof: e.g. copy from LibreOffice Calc and then run that 2021-04-12T08:26:58Z fiddlerwoaroof: (gui-backend-get-selection 'CLIPBOARD 'TARGETS) shows all the possible target formats 2021-04-12T08:27:47Z aartaka joined #lisp 2021-04-12T08:29:35Z semz quit (Ping timeout: 250 seconds) 2021-04-12T08:29:57Z Nilby: The natural way of representing numbers is of course recursive, so any linearization into bits is somewhat fake. 2021-04-12T08:30:29Z Nilby: and hard to type 2021-04-12T08:30:37Z aartaka_d quit (Ping timeout: 265 seconds) 2021-04-12T08:31:02Z moon-child: 'hard to type' I would rather type 7 than (S (S (S (S (S (S (S Z))))))) 2021-04-12T08:31:45Z Nilby: You 2021-04-12T08:32:12Z Nilby: You'd only have to type the last S, since you'd have the others hanging around; 2021-04-12T08:33:26Z Nilby: Exceopt in the very early or non-viable universes. 2021-04-12T08:35:28Z Nilby: Also 1e6 is quite composite. 2021-04-12T08:36:05Z f4r5 joined #lisp 2021-04-12T08:37:55Z mrchampion joined #lisp 2021-04-12T08:39:43Z Necktwi joined #lisp 2021-04-12T08:48:23Z skapata quit (Ping timeout: 260 seconds) 2021-04-12T08:50:53Z kevingal joined #lisp 2021-04-12T08:53:43Z skapata joined #lisp 2021-04-12T08:57:28Z jdz: The problem with "scientific notation" is that it only works for many trailing zeroes. 2021-04-12T08:57:53Z moon-child: right 2021-04-12T08:57:54Z no-defun-allowed: 1e#.1e100 2021-04-12T08:57:56Z moon-child: 1.273849e6 isn't better than 1273849 2021-04-12T08:58:54Z skapate joined #lisp 2021-04-12T09:00:03Z skapata quit (Ping timeout: 260 seconds) 2021-04-12T09:01:20Z Nilby: And worse, they aren't really zeros in binary. 2021-04-12T09:02:47Z moon-child: well, they can be 2021-04-12T09:02:59Z moon-child: 100 is 1100100b--both of them have 2 trailing zeroes ;) 2021-04-12T09:04:31Z contrapunctus: Shinmera: it seems you changed the licenses for some of your projects from Artistic to zlib, but the accompanying web pages still name the former as the license. I figured you might want to update them, to avoid confusion. 2021-04-12T09:06:06Z ech joined #lisp 2021-04-12T09:06:29Z Shinmera: I might want to, but it's very low on my priority list. 2021-04-12T09:09:06Z GZJ0X_ quit (Remote host closed the connection) 2021-04-12T09:09:27Z GZJ0X_ joined #lisp 2021-04-12T09:12:50Z skapata joined #lisp 2021-04-12T09:13:36Z skapata quit (Remote host closed the connection) 2021-04-12T09:13:50Z contrapunctus: Shinmera: is your website not in a repo I can make a PR for? 🤔 I couldn't find a repo. Or, wait, are those generated docs? 2021-04-12T09:14:04Z skapata joined #lisp 2021-04-12T09:15:01Z Shinmera: each repo has a docs/ folder. That's where the sources are for those. And yes they're generated, but once per repo, so it's a pain in the ass. 2021-04-12T09:15:55Z skapate quit (Ping timeout: 260 seconds) 2021-04-12T09:19:54Z skapate joined #lisp 2021-04-12T09:21:03Z skapata quit (Ping timeout: 260 seconds) 2021-04-12T09:21:03Z amb007 quit (Read error: Connection reset by peer) 2021-04-12T09:21:09Z amb007 joined #lisp 2021-04-12T09:21:12Z JohnMS_WORK joined #lisp 2021-04-12T09:27:29Z ljavorsk quit (Remote host closed the connection) 2021-04-12T09:27:48Z ljavorsk joined #lisp 2021-04-12T09:29:02Z lotuseat` is now known as lotuseater 2021-04-12T09:38:38Z heisig quit (Quit: Leaving) 2021-04-12T09:44:36Z l1x quit (Quit: Connection closed for inactivity) 2021-04-12T09:44:56Z attila_lendvai joined #lisp 2021-04-12T09:44:56Z attila_lendvai quit (Changing host) 2021-04-12T09:44:56Z attila_lendvai joined #lisp 2021-04-12T09:48:52Z [mark] quit (Quit: Connection closed) 2021-04-12T09:49:21Z aartaka_d joined #lisp 2021-04-12T09:49:32Z epony quit (Ping timeout: 240 seconds) 2021-04-12T09:51:22Z aartaka quit (Ping timeout: 252 seconds) 2021-04-12T09:52:35Z aartaka joined #lisp 2021-04-12T09:53:45Z aartaka_d quit (Ping timeout: 265 seconds) 2021-04-12T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-12T10:01:45Z amb007 quit (Remote host closed the connection) 2021-04-12T10:03:57Z frost-lab joined #lisp 2021-04-12T10:07:49Z igemnace quit (Remote host closed the connection) 2021-04-12T10:10:57Z dhil joined #lisp 2021-04-12T10:12:36Z amb007 joined #lisp 2021-04-12T10:14:37Z wxie quit (Ping timeout: 268 seconds) 2021-04-12T10:16:35Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-12T10:17:25Z epony joined #lisp 2021-04-12T10:19:34Z galex-713 joined #lisp 2021-04-12T10:23:09Z ramHero quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-12T10:23:44Z ramHero joined #lisp 2021-04-12T10:25:46Z l1x joined #lisp 2021-04-12T10:29:08Z frgo quit (Remote host closed the connection) 2021-04-12T10:29:33Z frgo joined #lisp 2021-04-12T10:32:29Z contrapunctus left #lisp 2021-04-12T10:34:53Z ikrabbe quit (Ping timeout: 246 seconds) 2021-04-12T10:36:26Z contrapunctus joined #lisp 2021-04-12T10:40:32Z ted_wroclaw joined #lisp 2021-04-12T10:51:28Z Demosthenex: ok, i'm trying to work with a script i wrote that import's a library using it's pathname, but that seems to fail in sly/slime 2021-04-12T10:51:55Z Demosthenex: is there a way to run different code if slime is loading the script? 2021-04-12T10:51:59Z Demosthenex: maybe i can prompt for paths 2021-04-12T10:52:00Z ted_wroclaw quit (Quit: Textual IRC Client: www.textualapp.com) 2021-04-12T10:53:07Z GZJ0X_ quit (Remote host closed the connection) 2021-04-12T10:53:12Z vegansbane6963 joined #lisp 2021-04-12T10:53:27Z GZJ0X_ joined #lisp 2021-04-12T10:54:06Z GZJ0X_ quit (Remote host closed the connection) 2021-04-12T10:54:25Z GZJ0X_ joined #lisp 2021-04-12T10:56:32Z Nilby: You could use #+(or swank slynk) . I'm not sure what you mean by import though. It's probably best to make it work without special code. 2021-04-12T10:59:35Z Demosthenex: Nilby: i'm trying to make it so that i can eval my buffer to load it into repl, and there are assumptions made about the path... so i'd like to wrap that in some code wwhich detects that i'm running in swank/sly/slime so i can address the mising data 2021-04-12T11:06:13Z conjunctive quit (Quit: Connection closed for inactivity) 2021-04-12T11:07:40Z Nilby: Ah. There's lots of ways to address the issue. #+ conditionals are the simplest, but maybe most brittle. You could also use logical-pathname-translations, to make a path prefix, then say (load "my-stuff:foo.lisp") But, loading with asdf or quicklisp is probably the most usual. 2021-04-12T11:18:02Z Demosthenex: maybe i need to wrap my final code in a main function, and then only call that when i use --script 2021-04-12T11:30:41Z terpri joined #lisp 2021-04-12T11:37:33Z ech quit (Ping timeout: 240 seconds) 2021-04-12T11:39:53Z thinkpad quit (Ping timeout: 240 seconds) 2021-04-12T11:40:11Z thinkpad joined #lisp 2021-04-12T11:40:41Z Demosthenex: is there a way i can say "call (main) only if called from sbcl --script, ie: not sly?" 2021-04-12T11:42:38Z Nilby: If you're using reader conditionals, you can use the negative: #-(or swank slynk) 2021-04-12T11:45:25Z Demosthenex: Nilby: cool, i'll try that 2021-04-12T11:45:26Z Nilby: But perhaps it's best to put whatever you want to do only interactively in separate function. 2021-04-12T11:46:27Z Nilby: Or what you want to do only in a script in separate file. 2021-04-12T11:54:43Z hendursaga quit (Quit: hendursaga) 2021-04-12T11:55:10Z hendursaga joined #lisp 2021-04-12T12:02:00Z contrapunctus left #lisp 2021-04-12T12:02:25Z frost-lab quit (Quit: Connection closed) 2021-04-12T12:06:00Z contrapunctus joined #lisp 2021-04-12T12:15:06Z ech joined #lisp 2021-04-12T12:15:52Z ech quit (Remote host closed the connection) 2021-04-12T12:24:47Z Bike joined #lisp 2021-04-12T12:25:11Z ech joined #lisp 2021-04-12T12:31:19Z eden joined #lisp 2021-04-12T12:42:05Z waleee-cl joined #lisp 2021-04-12T12:45:05Z APic quit (Ping timeout: 268 seconds) 2021-04-12T12:46:22Z supercoven joined #lisp 2021-04-12T12:46:22Z APic joined #lisp 2021-04-12T12:51:43Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2021-04-12T13:05:41Z X-Scale quit (Ping timeout: 240 seconds) 2021-04-12T13:06:08Z GZJ0X_ quit (Remote host closed the connection) 2021-04-12T13:06:28Z GZJ0X_ joined #lisp 2021-04-12T13:06:33Z rumbler31 quit (Remote host closed the connection) 2021-04-12T13:06:50Z xkapastel joined #lisp 2021-04-12T13:06:50Z rumbler31 joined #lisp 2021-04-12T13:08:13Z X-Scale` joined #lisp 2021-04-12T13:09:11Z X-Scale` is now known as X-Scale 2021-04-12T13:12:09Z GZJ0X_ quit (Remote host closed the connection) 2021-04-12T13:12:30Z GZJ0X_ joined #lisp 2021-04-12T13:13:04Z thinkpad quit (Ping timeout: 252 seconds) 2021-04-12T13:15:49Z contrapunctus left #lisp 2021-04-12T13:19:10Z GZJ0X_ quit (Remote host closed the connection) 2021-04-12T13:19:31Z GZJ0X_ joined #lisp 2021-04-12T13:20:10Z GZJ0X_ quit (Remote host closed the connection) 2021-04-12T13:20:26Z thinkpad joined #lisp 2021-04-12T13:20:30Z GZJ0X_ joined #lisp 2021-04-12T13:21:51Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-12T13:22:10Z GZJ0X_ quit (Remote host closed the connection) 2021-04-12T13:22:31Z GZJ0X_ joined #lisp 2021-04-12T13:23:10Z GZJ0X_ quit (Remote host closed the connection) 2021-04-12T13:23:31Z GZJ0X_ joined #lisp 2021-04-12T13:24:09Z GZJ0X_ quit (Remote host closed the connection) 2021-04-12T13:24:29Z GZJ0X_ joined #lisp 2021-04-12T13:25:33Z galex-713 joined #lisp 2021-04-12T13:27:53Z charles` quit (Ping timeout: 258 seconds) 2021-04-12T13:30:39Z ebrasca joined #lisp 2021-04-12T13:33:23Z thinkpad quit (Ping timeout: 246 seconds) 2021-04-12T13:36:02Z thinkpad joined #lisp 2021-04-12T13:44:54Z APic quit (Ping timeout: 268 seconds) 2021-04-12T13:46:18Z rumbler31: Xach: I don't know if this would be useful to have in quicklisp, but I wrote a function to copy a single local project into the bundle directory. Problems that I see with adopting it are that I don't yet account for dependencies that might need to be pulled in from other local projects, and discovery of the bundled location on the user's behalf (which might be impossible) 2021-04-12T13:46:35Z rumbler31: the goal is to reduce the amount of code that makes it into the bundle, I don't want all of my local projects to get pulled in 2021-04-12T13:46:55Z APic joined #lisp 2021-04-12T13:47:14Z rumbler31: are you aware of any other problems with this approach that I might have missed? 2021-04-12T13:47:39Z Xach: rumbler31: how does it copy things? 2021-04-12T13:50:03Z rumbler31: you mean what library does it use? 2021-04-12T13:51:13Z APic quit (Ping timeout: 240 seconds) 2021-04-12T13:51:37Z rumbler31: I'm not in front of the code but I think I use asdf to find the named package locations, make pathnames for each of the .lisp and .asd files found in that directory to the location of the bundle/local-projects/myproject folder and does a uiop file copy 2021-04-12T13:51:54Z Xach: quicklisp does not depend on UIOP 2021-04-12T13:52:09Z rumbler31: I think I can just crib the code and write it myself 2021-04-12T13:52:20Z rumbler31: unless there are licensing issues 2021-04-12T13:52:55Z rumbler31: but isn't uiop brought in by asdf? 2021-04-12T13:53:09Z GZJ0X_ quit (Remote host closed the connection) 2021-04-12T13:53:42Z APic joined #lisp 2021-04-12T13:54:08Z Xach: Sure. But I don't put references to UIOP into quicklisp client code. 2021-04-12T13:54:18Z brandflake11 joined #lisp 2021-04-12T13:54:19Z amk quit (Ping timeout: 252 seconds) 2021-04-12T13:54:47Z Xach: rumbler31: I'd look at what ql-minitar does, I think, except copying from filesystem files rather than a tar stream. 2021-04-12T13:54:56Z amk joined #lisp 2021-04-12T13:56:26Z brandflake11: Hello all. Have you worked with extremely large datasets in lisp before? I'm trying to load in a huge list to use with lisp (800000+ lines), but it seems like sbcl freezes everytime I do that. Do I just have to wait for it to load in, even though sbcl says it's not taking any cpu? What has been your experience with large datasets in lisp? 2021-04-12T13:56:56Z Xach: brandflake11: sometimes the freeze is when it tries to print the result, not loading or working with it. one option is to set *print-length* to something like 100. 2021-04-12T13:57:21Z Xach: brandflake11: using too much memory results in a different symptom (landing in ldb or crashing outright) 2021-04-12T13:57:36Z rumbler31 quit (Remote host closed the connection) 2021-04-12T13:58:24Z rumbler31 joined #lisp 2021-04-12T13:58:44Z brandflake11: Xach: I see. Let me test limiting *print-length* and see what happens 2021-04-12T13:58:48Z Nilby: I've used much bigger datasets and the important thing is set --dynamic-space-size high enough, and don't print it. 2021-04-12T13:58:48Z rumbler31_ joined #lisp 2021-04-12T13:59:24Z brandflake11: Nilby: I don't know anything about dynamic-space-size. Do you set this when loading sbcl, or can you set it with a global variable? 2021-04-12T13:59:35Z Xach: brandflake11: it's a command-line argument 2021-04-12T13:59:41Z Xach: brandflake11: cannot be adjusted at runtime 2021-04-12T13:59:57Z brandflake11: Xach: Okay, I'll look at the man page to see more about it 2021-04-12T14:00:13Z ljavorsk quit (Ping timeout: 240 seconds) 2021-04-12T14:00:43Z brandflake11: If *print-length* is nil, does that mean there is no limit? 2021-04-12T14:00:49Z phoe: yes 2021-04-12T14:00:53Z brandflake11: Thanks! 2021-04-12T14:01:26Z phoe: CLHS says, "If [*PRINT-LENGTH*] is false, there is no limit to the number of components printed." 2021-04-12T14:01:37Z docl_ is now known as docl 2021-04-12T14:01:53Z brandflake11: Oh, I didn't know the hyperspec had info about global variables that are important. 2021-04-12T14:02:24Z phoe: it's the full rendition of the standard, it must have all the variables 2021-04-12T14:02:26Z phoe: clhs *print-level* 2021-04-12T14:02:26Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/v_pr_lev.htm 2021-04-12T14:03:08Z brandflake11: Yep, that makes more sense. Thanks a lot all for the helpful advice! 2021-04-12T14:05:08Z Nilby: As you may know, a list isn't the best data structure for huge data sets. 2021-04-12T14:05:30Z zenandroid joined #lisp 2021-04-12T14:05:38Z phoe: Nilby: huh? 2021-04-12T14:06:04Z beach: Nilby: That totally depends on the operations that are expected. 2021-04-12T14:06:46Z Nilby: Yes. Like anything except traversing it in order. 2021-04-12T14:06:59Z phoe: Nilby: I mean, what's the context? 2021-04-12T14:07:04Z Nilby: Also takes too much space. 2021-04-12T14:07:18Z brandflake11: Nilby: I took a .csv file and converted it into one big list of lists to then parse out later as OSC commands. At this point in my lisp journey, it seemed like the simplest option. 2021-04-12T14:08:03Z brandflake11: But I'm still having trouble getting the list to even load. I need to try to dynamic-space-size option 2021-04-12T14:08:21Z phoe: oh, I see the context now 2021-04-12T14:08:46Z phoe: brandflake11: how does it hang? if you're using slime/sly, check the inferior-lisp buffer 2021-04-12T14:08:59Z phoe: maybe you need more heap to be able to load this much at once, if you get an error about heap exhausted in there 2021-04-12T14:09:21Z brandflake11: I use a (with-open-file) function to load the file with just the list in it 2021-04-12T14:09:35Z beach: brandflake11: 800000 lines doesn't sound like much, depending on what a "line" is of course. 2021-04-12T14:09:36Z brandflake11: I'll check that buffer 2021-04-12T14:09:38Z phoe: yes, but how do you run Lisp? with slime/sly from emacs? just from the terminal? 2021-04-12T14:09:47Z brandflake11: With slime+emacs 2021-04-12T14:10:02Z phoe: in the former case, you can get the REPL to "hang" if the inferior lisp crashes hard 2021-04-12T14:10:06Z phoe: e.g. due to OOM 2021-04-12T14:10:48Z brandflake11: phoe: You are so right, I get this "Heap exhausted during garbage collection: 48 bytes available, 64 requested. " 2021-04-12T14:11:26Z jdz: Also it might be a good idea to process lines as they are parsed from the file (say by providing a callback function to run on each parsed line) instead of doing it in two stages. 2021-04-12T14:11:58Z brandflake11: I don't know how to mitigate the heap exhausted error! 2021-04-12T14:11:59Z jdz: Another option is to use two threads with a size-limited "line buffer". 2021-04-12T14:13:11Z brandflake11: jdz: Well, the list is a dataset with times of events and the events themselves. So, I want to be able to replay these events in order 2021-04-12T14:13:44Z jdz: And in the file they may be out-of-order? 2021-04-12T14:13:54Z brandflake11: jdz: No they are all in order 2021-04-12T14:14:17Z jonatack quit (Quit: jonatack) 2021-04-12T14:14:51Z theothornhill joined #lisp 2021-04-12T14:15:25Z phoe: brandflake11: run SBCL with a larger heap, if you have enough RAM 2021-04-12T14:16:11Z brandflake11: phoe: What command line option can you use to do that? 2021-04-12T14:16:25Z phoe: $ sbcl --dynamic-space-size $((8 * 1024)) 2021-04-12T14:16:31Z phoe: that'll give you a 8 GB heap 2021-04-12T14:16:34Z zenandroid left #lisp 2021-04-12T14:16:43Z brandflake11: phoe: Oh it's the same one, thank you and sorry for my lack of understanding! 2021-04-12T14:17:07Z jdz: I use a couple tricks when doing this on SBCL: a) if the text does not have any unicode characters coercing each line into SIMPLE-BASE-STRING, and b) if there are fields that may have duplicate (string) values longer than 8 characters then using a hash-table to de-duplicate them. 2021-04-12T14:17:51Z brandflake11: When doing this option with slime, do you just set the option in emacs's inferior-lisp-program variable? 2021-04-12T14:18:12Z jdz: brandflake11: Run slime a prefix argument. 2021-04-12T14:18:32Z jdz: I.e., C-u M-x slime 2021-04-12T14:18:53Z phoe: brandflake11: my elisp variable, inferior-lisp-program, is "ros dynamic-space-size=8192 -Q run" 2021-04-12T14:18:59Z phoe: so it sure takes multiple arguments 2021-04-12T14:19:06Z brandflake11: Oh nice. 2021-04-12T14:19:19Z phoe: (the only difference is that it runs SBCL via roswell) 2021-04-12T14:19:59Z Nilby: I just tested reading a 800+k line 217.3M csv with the naive list reader with --dynamic-space-size 4096 and it was fine. (The slow part is guessing the column data types) 2021-04-12T14:20:43Z brandflake11: I just set it to "/usr/bin/sbcl --dynamic-space-size 2048". I'll see what happens 2021-04-12T14:20:57Z brandflake11: I just set inferior-lisp-program I mean 2021-04-12T14:21:00Z Guest89487 joined #lisp 2021-04-12T14:21:12Z phoe: should work 2021-04-12T14:21:31Z phoe: increase it further if 2GB is still too low 2021-04-12T14:21:45Z phoe: (you might need to download more RAM if you start swapping though) 2021-04-12T14:22:13Z brandflake11: lol, I have a fast internet connection, downloading more ram should be no problem XD 2021-04-12T14:23:54Z brandflake11: Where can you check the heap size at of sbcl while it's running? 2021-04-12T14:23:54Z Guest89487 left #lisp 2021-04-12T14:24:01Z brandflake11: Will it just take more ram? 2021-04-12T14:24:17Z phoe: SB-EXT:DYNAMIC-SPACE-SIZE 2021-04-12T14:24:24Z phoe: it won't auto-expand, unlike e.g. CCL 2021-04-12T14:25:20Z brandflake11: I get DYNAMIC-SPACE-SIZE is unbound, so I'm guessing setting it where I did with the emacs variable didn't work 2021-04-12T14:25:35Z phoe: oh! it's a function 2021-04-12T14:25:50Z phoe: (SB-EXT:DYNAMIC-SPACE-SIZE) ;=> 8589934592 2021-04-12T14:26:10Z brandflake11: Okay, so here is what I got 3223322624 2021-04-12T14:26:15Z Nilby: also (room) 2021-04-12T14:27:06Z brandflake11: From room: Dynamic space usage is: 153,945,456 bytes. 2021-04-12T14:27:14Z brandflake11: That's not right, it should be 3GB 2021-04-12T14:27:20Z phoe: that's the used space 2021-04-12T14:27:24Z phoe: not the free one 2021-04-12T14:27:46Z phoe: but, 3223322624 === (* 1024 1024 3074) 2021-04-12T14:27:54Z phoe: which is just a wee bit above 3gb 2021-04-12T14:28:00Z brandflake11: Oh okay, so it did work. 2021-04-12T14:28:28Z brandflake11: Oh man, I'm glad you all helped me with this. I would not have been able to figure this out on my own 2021-04-12T14:28:49Z theothornhill quit (Remote host closed the connection) 2021-04-12T14:30:23Z brandflake11: I was really worried lisp just wasn't able to handle huge datasets, but i'm glad that it was just a matter of increasing the ram allowed to it 2021-04-12T14:30:36Z leeren joined #lisp 2021-04-12T14:30:48Z Xach: Lisp can handle all kinds of nutty stuff 2021-04-12T14:30:56Z beach: brandflake11: Either way, it would not be a language limitation, but a limitation on specific implementations. 2021-04-12T14:31:27Z ldbeth joined #lisp 2021-04-12T14:31:31Z ldbeth: good evening 2021-04-12T14:31:42Z brandflake11: beach: I always forget about that too. I love how it is just a standard 2021-04-12T14:32:03Z beach: brandflake11: Also, it is not RAM that you are assigning, it is just heap size. If you have virtual memory, that would work too, but more slowly. 2021-04-12T14:32:04Z leeren quit (Client Quit) 2021-04-12T14:32:15Z brandflake11: beach: Oh, that makes more sense 2021-04-12T14:32:28Z Nilby: There is even hope on the horizon that sbcl will be able to increase it's own memory. 2021-04-12T14:32:40Z phoe: yes, some of that heap can (and likely will) get swapped to disk by the OS 2021-04-12T14:32:47Z jonatack joined #lisp 2021-04-12T14:33:09Z phoe: so you can have a 32G heap on 8G of RAM, if that is what you want and need 2021-04-12T14:33:49Z brandflake11: I'll have to give a shoutout to ssds then. They are a lifesaver 2021-04-12T14:34:08Z ldbeth: is it possible to transparently store lisp datum on disk via mmap 2021-04-12T14:34:34Z brandflake11: 6gb wasn't enough yet for the list, so I'm trying 7 now! 2021-04-12T14:35:46Z beach: ldbeth: Probably not. You would somehow have to teach the garbage collector where to find it. Plus, the way a lisp object is represented is not standardized. 2021-04-12T14:37:18Z Nilby: Acutally there's a lisp mmaped databse 2021-04-12T14:37:37Z wsinatra joined #lisp 2021-04-12T14:37:39Z brandflake11: I just got the database list assigned as a variable. You guys all rock. Thank you so much for the help and teaching me something 2021-04-12T14:37:55Z brandflake11: It's taking 9gb of space. Yikes! 2021-04-12T14:38:06Z Nilby: It's not totally transparent though 2021-04-12T14:38:06Z brandflake11: *memory 2021-04-12T14:38:10Z ldbeth: a list? :) 2021-04-12T14:38:35Z Nilby: brandflake11: What was the size of your file? 2021-04-12T14:38:46Z ldbeth: it it likly to save some memory if it is an array 2021-04-12T14:38:48Z brandflake11: The file itself as just text was about 800mb 2021-04-12T14:39:15Z brandflake11: That's pretty big for a plain text file isn't it? 2021-04-12T14:39:28Z ramHero quit (Remote host closed the connection) 2021-04-12T14:39:37Z jcowan: back to numeric representations: in Scheme, #e forces a float-style syntax to be implemented as an exact number: thus #e1e20 is the integer 1^20, and #e1.5 is 3/2. 2021-04-12T14:40:50Z jcowan: Note that this is not just a coercion: 1e400 is normally infinity, but #e1e400 is the integer 10^400. 2021-04-12T14:41:14Z phoe: I don't think there's a standard CL way other than #.(* 1 (expt 1 20)) for integers and #.(rational ...) for ratios 2021-04-12T14:41:52Z ldbeth: make-load-form something 2021-04-12T14:42:16Z Nilby: 9gb seems like something is taking too much seeing for a 800mb file 2021-04-12T14:42:28Z jcowan: s/1^20/10^20 2021-04-12T14:43:20Z ldbeth: Yes, ideally it should be around 1GB if applied some clever encoding 2021-04-12T14:44:11Z brandflake11: Nilby: maybe I did something wrong. I got it all loaded in though, so that's what I'm happy about 2021-04-12T14:45:09Z andrei-n quit (Write error: Connection reset by peer) 2021-04-12T14:45:10Z ldbeth: for example, a trie can significantly reduce the space of string data 2021-04-12T14:45:29Z andrei-n joined #lisp 2021-04-12T14:45:42Z ramHero joined #lisp 2021-04-12T14:46:42Z brandflake11: Maybe I should just use cl-csv instead now. I couldn't get that to load in the .csv file (I didn't know about checking *inferior-lisp* buffer to see that the heap was too low) so I turned the .csv into a list of lists using bash sed. 2021-04-12T14:46:50Z brandflake11: That's when I came here to ask for help 2021-04-12T14:47:33Z brandflake11: Because that was also too big for the heap size 2021-04-12T14:48:32Z beach: brandflake11: What does your data look like? 2021-04-12T14:48:49Z beach: brandflake11: Numbers? Strings? Characters? 2021-04-12T14:48:55Z brandflake11: ("0.000000" "1" "68" "92.45.54.178" "10.50.209.134" "" "" "" "" "" "116" "UDP") 2021-04-12T14:49:01Z brandflake11: A whole bunch of this ^ 2021-04-12T14:50:05Z beach: Is there a lot of duplication? 2021-04-12T14:50:56Z brandflake11: No, each event is important. 2021-04-12T14:51:22Z beach: For example, if you have lots of empty strings, then the reader will allocate a separate empty string for each one. That could become quite wasteful. 2021-04-12T14:51:40Z [mark] joined #lisp 2021-04-12T14:51:41Z brandflake11: beach: Oh, I wouldn't know how to mitigate that though 2021-04-12T14:51:46Z ted_wroclaw joined #lisp 2021-04-12T14:51:57Z brandflake11: beach: Can you just turn "" into nil? 2021-04-12T14:53:11Z beach: You could do that, but if you do it after the thing is read, then you still need as much space, at least temporarily. 2021-04-12T14:55:39Z heisig joined #lisp 2021-04-12T14:57:46Z beach: brandflake11: When I asked about duplication, I didn't necessarily mean the full list in your example, but also individual elements such as "1" or "10.50.209.134". 2021-04-12T14:58:10Z brandflake11: beach: Oh, yeah, in that case there is a lot of duplication 2021-04-12T14:58:37Z beach: Then, if those items are immutable, a hash table will do wonders. 2021-04-12T14:59:01Z ted_wroclaw quit (Quit: Textual IRC Client: www.textualapp.com) 2021-04-12T14:59:17Z brandflake11: beach: I'll look into hash tables. I have never used a hash table before. It's not hard to grasp is it? 2021-04-12T14:59:23Z phoe: not at all 2021-04-12T14:59:35Z phoe: ever heard of a data structure called a map? 2021-04-12T14:59:35Z beach: brandflake11: Wow, is Common Lisp your first programming language? 2021-04-12T14:59:56Z brandflake11: phoe: No I've never heard of a map either. 2021-04-12T15:00:15Z beach: brandflake11: Does your file consist of a single huge list, where each element is a list as in the example above? 2021-04-12T15:01:35Z brandflake11: beach: It's pretty much my first serious programming language. I am from the Music and Composition and Linux world, where I learned pure data as my first language. I learned a little bit of C++ on my own time last year, and then discovered common music, which brought me into common lisp. I love the syntax and realtime feeling of common lisp, so I've been learning it now to do other stuff 2021-04-12T15:01:56Z phoe: brandflake11: oh, nice! 2021-04-12T15:02:23Z brandflake11: beach: Yes, exactly, it's just a big list of those lists I showed you 2021-04-12T15:02:35Z phoe: wrt books, you might want to read either Gentle or Practical Common Lisp; I'd recommend that you start with the former, and if you find it too gentle indeed, then switch to PCL 2021-04-12T15:02:41Z phoe: minion: tell brandflake11 about gentle 2021-04-12T15:02:42Z minion: brandflake11: look at gentle: "Common Lisp: A Gentle Introduction to Symbolic Computation" is a smoother introduction to lisp programming. http://www.cs.cmu.edu/~dst/LispBook/ 2021-04-12T15:02:46Z phoe: minion: tell brandflake11 about pcl 2021-04-12T15:02:46Z minion: brandflake11: please look at pcl: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005). 2021-04-12T15:03:12Z brandflake11: phoe: Oh yeah, I've gotten to chapter 3 of practical common lisp (not very far I know). I need to keep working at it 2021-04-12T15:03:33Z phoe: personally I think that the second chapter of PCL is the worst 2021-04-12T15:03:38Z brandflake11: Actually people on here recommend I read Practical Common Lisp. It was all thanks to this IRC channel! 2021-04-12T15:03:39Z beach: brandflake11: Then, what I would do would be to not read the entire thing with a single READ, but to read one element list (as in your example) at a time, then process it by checking whether an element is in a hash table, and if so, reuse it. 2021-04-12T15:03:52Z beach: brandflake11: Your memory use would drop dramatically. 2021-04-12T15:04:06Z phoe: oh wait, it's chapter 3 2021-04-12T15:04:45Z brandflake11: beach: Thank you I really appreciate your suggestion. I'll look into doing that to reduce memory 2021-04-12T15:04:48Z phoe: in my opinion, PCL chapter 3 goes straight into business without explaining that the first practical chapter with disc DB is likely not meant to be fully understood straight away and is rather meant to give the reader an overall feeling of how to work with the language 2021-04-12T15:05:14Z phoe: it's the only explanation I see for "chapter 3 is where we make a database, and chapter 4 is where we actually start explaining what we've done" 2021-04-12T15:05:44Z brandflake11: phoe: I stopped reading it because I was more interested in making music with Common Lisp. I've been reading Heinrich Taube's "Notes from the MetaLevel" at the moment instead to get more music making done 2021-04-12T15:06:15Z brandflake11: phoe: Thank you though, I plan on keep going with it. I want to be able to do cool stuff with lisp 2021-04-12T15:06:38Z phoe: oooh, I see 2021-04-12T15:07:03Z phoe: does this book use common music? 2021-04-12T15:07:16Z brandflake11: Yes, the old Common Music 2.0 that still used common lisp 2021-04-12T15:07:24Z phoe: TIL! 2021-04-12T15:07:29Z phoe memorizes 2021-04-12T15:08:06Z brandflake11: phoe: There is a version of Common Music that integrates a realtime midi out using incudine. That's the version I'm using now 2021-04-12T15:08:47Z brandflake11: I'm able to use emacs as my music composition tool, which is really cool and spit out midi through jack to my synths and other toosl 2021-04-12T15:08:59Z brandflake11: C-t toosl 2021-04-12T15:15:48Z contrapunctus joined #lisp 2021-04-12T15:16:52Z rumbler31_ quit (Ping timeout: 240 seconds) 2021-04-12T15:18:05Z rumbler31 quit (Ping timeout: 260 seconds) 2021-04-12T15:20:03Z brandflake11 left #lisp 2021-04-12T15:20:07Z brandflake11 joined #lisp 2021-04-12T15:25:43Z sp41 joined #lisp 2021-04-12T15:30:15Z rumbler31_ joined #lisp 2021-04-12T15:32:16Z rumbler31 joined #lisp 2021-04-12T15:33:09Z madage quit (Ping timeout: 240 seconds) 2021-04-12T15:36:33Z APic quit (Ping timeout: 240 seconds) 2021-04-12T15:39:53Z madage joined #lisp 2021-04-12T15:43:48Z APic joined #lisp 2021-04-12T15:49:52Z leeren joined #lisp 2021-04-12T15:50:21Z kevingal: I've had this in my bookmarks for ages, been meaning to try it out: https://nunotrocado.com/software/cl-collider-tutorial-1.html 2021-04-12T15:50:28Z slyrus joined #lisp 2021-04-12T15:50:34Z kevingal: Might be interesting for anyone who wants to make music with CL. 2021-04-12T15:51:05Z slyrus quit (Remote host closed the connection) 2021-04-12T15:51:09Z madage quit (Ping timeout: 240 seconds) 2021-04-12T15:51:35Z contrapunctus left #lisp 2021-04-12T15:51:47Z slyrus joined #lisp 2021-04-12T15:52:40Z contrapunctus joined #lisp 2021-04-12T15:53:54Z slyrus quit (Remote host closed the connection) 2021-04-12T15:54:28Z slyrus joined #lisp 2021-04-12T15:55:48Z madage joined #lisp 2021-04-12T15:57:19Z rumbler31_: Xach: you got a link to ql-minitar? google is not helping me 2021-04-12T15:58:31Z mindCrime joined #lisp 2021-04-12T15:59:32Z Nilby: ql-minitar is inside the quicklisp client, so ~/quicklisp/quicklisp/minitar.lisp 2021-04-12T16:03:34Z abhixec joined #lisp 2021-04-12T16:03:58Z long4mud quit (Ping timeout: 240 seconds) 2021-04-12T16:06:27Z ljavorsk joined #lisp 2021-04-12T16:07:14Z rumbler31_: kevingal: check this out https://www.youtube.com/watch?v=PqwuIfl-G1w&t=189s 2021-04-12T16:07:19Z rumbler31_: and all his other videos 2021-04-12T16:12:49Z rumbler31_: nilby: oh thanks 2021-04-12T16:15:38Z [mark] quit (Quit: Connection closed) 2021-04-12T16:19:38Z long4mud joined #lisp 2021-04-12T16:20:01Z simplegauss quit (Quit: Bye) 2021-04-12T16:20:01Z sveit quit (Quit: Bye) 2021-04-12T16:21:31Z sveit joined #lisp 2021-04-12T16:22:00Z simplegauss joined #lisp 2021-04-12T16:25:01Z m0xya quit (Quit: Goodbye! 73s) 2021-04-12T16:29:32Z kevingal: rumbler31_: super cool! 2021-04-12T16:30:57Z attila_lendvai_ joined #lisp 2021-04-12T16:31:32Z attila_lendvai quit (Read error: Connection reset by peer) 2021-04-12T16:33:41Z ebrasca` joined #lisp 2021-04-12T16:34:29Z ebrasca quit (Ping timeout: 268 seconds) 2021-04-12T16:35:01Z attila_lendvai_ quit (Read error: Connection reset by peer) 2021-04-12T16:35:19Z gitgood joined #lisp 2021-04-12T16:35:36Z attila_lendvai_ joined #lisp 2021-04-12T16:43:43Z mindCrime quit (Ping timeout: 252 seconds) 2021-04-12T16:48:28Z cage_ joined #lisp 2021-04-12T16:54:30Z Nilby quit (Ping timeout: 258 seconds) 2021-04-12T17:05:56Z ebrasca` quit (Remote host closed the connection) 2021-04-12T17:06:30Z ebrasca joined #lisp 2021-04-12T17:06:43Z ebrasca quit (Remote host closed the connection) 2021-04-12T17:06:56Z ebrasca joined #lisp 2021-04-12T17:07:14Z ldbeth quit (Remote host closed the connection) 2021-04-12T17:10:45Z hypercube joined #lisp 2021-04-12T17:12:01Z karlosz joined #lisp 2021-04-12T17:14:05Z tophullyte joined #lisp 2021-04-12T17:25:57Z ech quit (Ping timeout: 240 seconds) 2021-04-12T17:40:25Z cosimone joined #lisp 2021-04-12T17:41:16Z attila_lendvai_ is now known as attila_lendvai 2021-04-12T17:41:35Z attila_lendvai quit (Changing host) 2021-04-12T17:41:35Z attila_lendvai joined #lisp 2021-04-12T17:53:23Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-12T17:54:53Z CL-ASHOK joined #lisp 2021-04-12T17:55:01Z CL-ASHOK: Quick Qn 2021-04-12T17:55:29Z CL-ASHOK: How do I "minimise" emacs terminal? I'm trying to run a Hunchentoot process, but want to return to the terminal (this is on a VM) 2021-04-12T17:56:57Z Xach: CL-ASHOK: i use screen for that 2021-04-12T17:58:04Z CL-ASHOK: @xach: what is that? (I'm currently remote into a Google VM with the non-gui emacs) 2021-04-12T17:58:20Z srandon111 joined #lisp 2021-04-12T18:01:22Z _0x1d3 joined #lisp 2021-04-12T18:02:35Z Bike: it's a terminal multiplexer program https://www.gnu.org/software/screen/ 2021-04-12T18:03:03Z CL-ASHOK: Thanks! 2021-04-12T18:04:01Z Bike: it's not as sophisticated, but you could also suspend the emacs process with probably control z 2021-04-12T18:07:15Z bjorkintosh joined #lisp 2021-04-12T18:07:31Z cosimone quit (Remote host closed the connection) 2021-04-12T18:08:11Z CL-ASHOK: but would that stop Hunchentoot? 2021-04-12T18:09:29Z Bike: i don't remember 2021-04-12T18:10:01Z CL-ASHOK: No worries, thanks for your help. I will use screen 2021-04-12T18:12:00Z rumbler31 quit (Remote host closed the connection) 2021-04-12T18:12:16Z rumbler31 joined #lisp 2021-04-12T18:22:40Z contrapunctus left #lisp 2021-04-12T18:27:26Z jeosol quit (Quit: Connection closed) 2021-04-12T18:27:32Z vv8 quit (Ping timeout: 265 seconds) 2021-04-12T18:27:32Z f4r5 quit (Ping timeout: 240 seconds) 2021-04-12T18:28:02Z CL-ASHOK quit (Ping timeout: 240 seconds) 2021-04-12T18:29:41Z slyrus quit (Remote host closed the connection) 2021-04-12T18:29:55Z slyrus joined #lisp 2021-04-12T18:30:49Z contrapunctus joined #lisp 2021-04-12T18:34:24Z ramHero quit (Remote host closed the connection) 2021-04-12T18:36:59Z ramHero joined #lisp 2021-04-12T18:44:19Z f4r5 joined #lisp 2021-04-12T18:47:50Z APic quit (Ping timeout: 265 seconds) 2021-04-12T18:49:27Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-12T18:49:27Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-12T18:50:25Z CL-ASHOK joined #lisp 2021-04-12T18:50:36Z curtosis joined #lisp 2021-04-12T18:55:51Z rudi quit (Quit: rudi) 2021-04-12T19:01:19Z jorts is now known as nckx 2021-04-12T19:01:25Z hiroaki_ joined #lisp 2021-04-12T19:01:35Z hiroaki joined #lisp 2021-04-12T19:02:58Z kpoeck joined #lisp 2021-04-12T19:06:05Z mindCrime joined #lisp 2021-04-12T19:07:06Z Inline joined #lisp 2021-04-12T19:08:39Z Jesin quit (Ping timeout: 268 seconds) 2021-04-12T19:12:42Z CL-ASHOK quit (Ping timeout: 240 seconds) 2021-04-12T19:15:07Z cosimone joined #lisp 2021-04-12T19:17:03Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-12T19:18:15Z jcowan: NOTHING CAN STOP HUNCHENTOOT 2021-04-12T19:18:45Z eden quit (Ping timeout: 240 seconds) 2021-04-12T19:19:33Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-12T19:20:59Z supercoven quit (Ping timeout: 268 seconds) 2021-04-12T19:22:28Z kini quit (Ping timeout: 258 seconds) 2021-04-12T19:22:36Z varjag joined #lisp 2021-04-12T19:22:49Z krkini joined #lisp 2021-04-12T19:24:10Z jurov joined #lisp 2021-04-12T19:25:34Z contrapunctus left #lisp 2021-04-12T19:26:53Z jurov_ quit (Ping timeout: 246 seconds) 2021-04-12T19:28:01Z akkad is now known as ober 2021-04-12T19:31:45Z contrapunctus joined #lisp 2021-04-12T19:33:23Z curtosis joined #lisp 2021-04-12T19:35:19Z hypercube quit (Ping timeout: 252 seconds) 2021-04-12T19:36:45Z cosimone quit (Remote host closed the connection) 2021-04-12T19:37:35Z Codaraxis__ joined #lisp 2021-04-12T19:40:53Z Codaraxis_ quit (Ping timeout: 240 seconds) 2021-04-12T19:47:50Z cosimone joined #lisp 2021-04-12T19:50:42Z Lord_of_Life_ joined #lisp 2021-04-12T19:51:16Z White_Flame quit (Ping timeout: 252 seconds) 2021-04-12T19:54:17Z Lord_of_Life quit (Ping timeout: 268 seconds) 2021-04-12T19:54:18Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-12T19:55:58Z nij joined #lisp 2021-04-12T19:56:42Z nij: Hello, is there any functional "package manager" (or rather, system manager) for common lisp? I'm thinking of it as an analogue of straight.el (for elisp). 2021-04-12T19:57:03Z gabc: Well there's quicklisp 2021-04-12T19:57:11Z gabc: And it's quite functional 2021-04-12T19:57:18Z nij: "functional" in that a declarative file can reproduce all systems 2021-04-12T19:58:11Z gabc: yeah I made a cheap pun of "functional" that "it does its function well" 2021-04-12T19:58:35Z Shinmera: nij: what does it mean to 'reproduce all systems'? Download them? Load them into the image? 2021-04-12T19:58:47Z nij: Shinmera: just to download them. 2021-04-12T19:59:03Z nij: For example, straight.el lets you do this : (el-patch :type git :host github :repo "raxod502/el-patch") 2021-04-12T19:59:30Z Shinmera: just put (ql:quickload '(a b c)) into a file then or is that not declarative enough 2021-04-12T19:59:41Z nij: With this in a declarative file, which is run by the package/system manager, the corresponding package/system will be fetched. 2021-04-12T20:00:09Z nij: Shinmera: yes, that's what I do now. 2021-04-12T20:00:22Z nij: However, can I specify the versions and recipes of the packages/systems? 2021-04-12T20:01:05Z Shinmera: No, quicklisp packages snappshots of the ecosystem so that all the libraries are versioned as one thing at once, since usually systems do not specify versioned dependencies. 2021-04-12T20:01:06Z nij: E.g. I might want ql to fetch the system from a specific repo (maybe even local!).. and I might want a specific version/commit. 2021-04-12T20:02:01Z nij: Shinmera: "systems do not specify versioned dependencies"... really?! 2021-04-12T20:02:04Z slyrus quit (Remote host closed the connection) 2021-04-12T20:02:05Z Shinmera: yes. 2021-04-12T20:02:11Z nij: Uh oh.. 2021-04-12T20:02:22Z Shinmera: ASDF cannot deal with knowing multiple versions of the same system at once. It'll only accept one. 2021-04-12T20:02:22Z waleee-cl: nij: if you put it in ~/common-lisp or the appropriate subdir of ~/quicklisp it will be preferred 2021-04-12T20:02:38Z slyrus joined #lisp 2021-04-12T20:02:39Z waleee-cl: (before the version in quicklisp) 2021-04-12T20:02:42Z Shinmera: So you'll have to either manage the system registry manually, or replace ASDF wholesale. 2021-04-12T20:03:55Z dtman34_ quit (Ping timeout: 252 seconds) 2021-04-12T20:04:00Z Shinmera: I want to do the latter at some point and have some fun ideas for it, but am wholly lacking in time lately. 2021-04-12T20:04:01Z nij: waleee-cl: yeah.. but that doesn't feel functional and declarative :-( 2021-04-12T20:04:05Z long4mud quit (Read error: Connection reset by peer) 2021-04-12T20:04:57Z waleee-cl: there's https://gitlab.common-lisp.net/clpm/clpm but that still uses quicklisp atm 2021-04-12T20:05:26Z waleee-cl: also not declerative since you need to run a separate binary 2021-04-12T20:05:35Z hypercube joined #lisp 2021-04-12T20:05:41Z nij: What if A1 and A2 depend on A, and suddenly A has a new version. 2021-04-12T20:05:53Z nij: Say A1 follows and depends on the new A, but A2 does not.. 2021-04-12T20:06:10Z waleee-cl: go for guix then? 2021-04-12T20:06:23Z long4mud joined #lisp 2021-04-12T20:06:28Z aeth_ joined #lisp 2021-04-12T20:06:57Z nij: Tried (trying..). It's very hard. 2021-04-12T20:07:18Z Shinmera: nij: then either it breaks at compile time and quicklisp won't release a new dist until it's fixed, or it breaks at runtime and users will complain until it's fixed. 2021-04-12T20:07:25Z slyrus quit (Ping timeout: 260 seconds) 2021-04-12T20:07:38Z Shinmera: usually the former. 2021-04-12T20:09:10Z nij: Wow. So suppose A is what many things depend on.. say Alexandria, and say one day A upgrades. 2021-04-12T20:09:25Z aeth quit (Ping timeout: 252 seconds) 2021-04-12T20:09:29Z nij: If one single system doesn't upgrade accordingly, quicklisp won't accept the newer Alexandria? 2021-04-12T20:09:44Z Shinmera: no, quicklisp won't do a release at all. 2021-04-12T20:09:56Z nij: :-O !!! 2021-04-12T20:10:02Z nij: This is so wrong. (sorry if it's offending..) 2021-04-12T20:10:11Z Shinmera: that's just like, your opinion, man. 2021-04-12T20:10:16Z gabc: nij: well it fixes the dependency problem 2021-04-12T20:10:37Z nij: yeah it's just my opinion.. 2021-04-12T20:10:44Z Lycurgus joined #lisp 2021-04-12T20:11:20Z Lycurgus: https://gitlab.common-lisp.net/clpm/clpm Supports HTTPS, what is that saying about ql ? 2021-04-12T20:11:51Z Shinmera: ql doesn't depend on anything, but clpm depends on a lot of things. 2021-04-12T20:11:57Z Shinmera: ql has a much harder target than clpm. 2021-04-12T20:12:19Z Lycurgus: so it's sayin it can depend? 2021-04-12T20:12:25Z jeosol joined #lisp 2021-04-12T20:12:32Z nij: Well.. I guess all sorts of package managers suffer from the same issues - except things like nix or guix. 2021-04-12T20:13:05Z nij: So this model has been working for years. I shouldn't say it's so wrong then :-( My apology. 2021-04-12T20:13:15Z Lycurgus: (where ql don't) 2021-04-12T20:13:35Z Shinmera: nij: It's not great, but it's the best Xach can do with the ecosystem we have (particularly ASDF) 2021-04-12T20:14:20Z Bike: multiple versions of the same library can't really exist in the same image, anyway 2021-04-12T20:14:34Z Shinmera: yes but the build system can select the best version to actually load. 2021-04-12T20:14:36Z Bike: i guess if they wanted to they could do things with packages 2021-04-12T20:14:42Z fiddlerwoaroof: I also like that this model encourages people to not make breaking changes :) 2021-04-12T20:14:57Z Shinmera: that would already go a long way to remedying this mess. 2021-04-12T20:15:12Z fiddlerwoaroof: My personal policy is to fork and rename rather than push a breaking version 2021-04-12T20:15:29Z Shinmera: phoe: ping about your verbose issue 2021-04-12T20:15:38Z fiddlerwoaroof: And, I think Rich Hickey's critique of semver is really on the mark here 2021-04-12T20:15:48Z Shinmera: semver does suck. 2021-04-12T20:15:51Z nij: fiddlerwoaroof: what's his critique about? 2021-04-12T20:15:57Z fiddlerwoaroof: In the JS world, there's so much useless time spent fixing breaking version changes 2021-04-12T20:16:19Z fiddlerwoaroof: Very few breaking changes are actually worth it, if you account for the cost to your users 2021-04-12T20:16:23Z fiddlerwoaroof: Especially for libraries 2021-04-12T20:16:25Z nij: Why not using guix/nix then? 2021-04-12T20:16:34Z fiddlerwoaroof: Because those don't actually solve the problem 2021-04-12T20:16:54Z aeth_ is now known as aeth 2021-04-12T20:16:55Z fiddlerwoaroof: When I pin a guix/nix version, I'm opting out of bug-fixes and security fixes 2021-04-12T20:17:30Z nij: Well.. you can pin an interval of versions.. 2021-04-12T20:17:56Z nij: And in the classical model as well.. say in the case of ql, if no releases is given, bug/security fixes are out of reach too. 2021-04-12T20:18:23Z nij: ;; interval of versions ==> I retract! I'm not actually sure about this. 2021-04-12T20:19:17Z fiddlerwoaroof: What I mean is just that, if library authors rename rather than introduce breaking changes, updating libraries becomes relatively safe 2021-04-12T20:19:26Z fiddlerwoaroof: And breaking changes become reportable bugs 2021-04-12T20:20:33Z Shinmera: This assumes that packages are actually self-contained and don't have changes that influence other parts 2021-04-12T20:20:59Z fiddlerwoaroof: What do you mean by "packages"? 2021-04-12T20:21:02Z mfiano: oh the whole accretion vs concretion talk? 2021-04-12T20:21:08Z fiddlerwoaroof: I think this is the spec talk 2021-04-12T20:21:15Z Shinmera: fiddlerwoaroof: lisp packages? 2021-04-12T20:21:26Z White_Flame joined #lisp 2021-04-12T20:21:38Z Shinmera: fiddlerwoaroof: a system can affect other parts than the packages it declares and modifies though. 2021-04-12T20:21:41Z fiddlerwoaroof: Cool, yeah: two systems modifying the same Lisp package seems like a bad practice 2021-04-12T20:22:17Z mfiano: Depends what you mean by modify. 2021-04-12T20:22:30Z cage_ quit (Quit: Leaving) 2021-04-12T20:22:39Z fiddlerwoaroof: Yeah, actually implementing this completely ranges from difficult to impossible, but I think it's useful to approach distributing libraries with this mindset 2021-04-12T20:23:38Z fiddlerwoaroof: I think Rich Hickey's ideal world involves something like a spec/test registry inside your library manager (QL, or such) that rejects updates that cause existing tests/specs to fail 2021-04-12T20:24:09Z Shinmera: mfiano: for instance systems can offer generic functions to extend, or hook lists that another system might latch on to. Just making two packages won't resolve the conflict, then. 2021-04-12T20:24:16Z fiddlerwoaroof: So, quicklisp would refuse to update a package unless all the pre-existing tests past, as well as any newly added tests 2021-04-12T20:24:40Z Shinmera: Anyway, the point being that it's not always that easy to allow multiple versions at once. 2021-04-12T20:25:05Z fiddlerwoaroof: I sort of think of the goal is to make the idea of "versioning" obsolete 2021-04-12T20:25:30Z Necktwi quit (Quit: Lost terminal) 2021-04-12T20:25:37Z fiddlerwoaroof: Every change to the code of an existing symbol is backwards compatible and backwards incompatible changes force a rename 2021-04-12T20:25:40Z Lycurgus quit (Quit: Exeunt) 2021-04-12T20:26:17Z fiddlerwoaroof: mfiano: thinking about it, the talk also talks a lot about accretion 2021-04-12T20:26:31Z nij: which talk? 2021-04-12T20:27:03Z fiddlerwoaroof: There's a summary and link here: https://news.ycombinator.com/item?id=19076444 2021-04-12T20:27:16Z mfiano: yes, hickey's stance on semver talked a lot about "accretion" and "concretion" 2021-04-12T20:27:16Z fiddlerwoaroof: "any breaking change (i.e. a major version bump in semver) might as well be considered another product/package/lib and should better choose another name instead of pretending to be the same thing with a bumped number." 2021-04-12T20:27:17Z tom-bsd joined #lisp 2021-04-12T20:27:29Z mfiano: I don't agree with a lot of it, but he makes _some_ good points 2021-04-12T20:28:24Z fiddlerwoaroof: Whether or not this is practical, it's extremely appealing for someone who's dayjob is all JS/React stuff 2021-04-12T20:29:15Z Odin-: Practical is usually the first thing out the door when computer ideas evolve. 2021-04-12T20:29:31Z fiddlerwoaroof: Also, I think people who force themselves to always keep their dependencies up to date find themselves rejecting libraries that exhibit a pattern of breaking changes 2021-04-12T20:29:37Z fiddlerwoaroof: I know I do 2021-04-12T20:30:04Z mfiano: My solution it the Lisp curse. I rarely find libraries that are production ready/suitable for my needs, so I write my own :x 2021-04-12T20:30:16Z mfiano: is8 2021-04-12T20:30:19Z mfiano: is* 2021-04-12T20:30:24Z fiddlerwoaroof: mfiano: I generally try to fork and PR 2021-04-12T20:30:26Z no-defun-allowed: Well spooked my prototypes 2021-04-12T20:30:35Z fiddlerwoaroof: or just fork 2021-04-12T20:30:53Z nij: mfiano: respect 2021-04-12T20:31:06Z mfiano: Not good at understanding someone else's thought processes with heravy macros and protocols that I would have never designed. 2021-04-12T20:31:21Z fiddlerwoaroof: But, the Lisp curse isn't really a lisp-only thing 2021-04-12T20:31:30Z mfiano: Lisp is tyoo flexible in that it has a larger burden for onboarding new collaborators due to that 2021-04-12T20:31:32Z nij: mfiano: how do you do versioning of your own code? 2021-04-12T20:32:08Z fiddlerwoaroof: A lot of people I've worked with are really unwilling to take a dependency because of the ongoing maintenance cost the dependency's lifecycle imposes 2021-04-12T20:32:15Z dtman34 joined #lisp 2021-04-12T20:32:30Z tom-bsd: Hey guys. I'm on FreeBSD trying to install some quicklisp libraries with SBCL and it gives me errors like `Can't create directory /usr/local/lib/common-lisp/alexandria/sbclfasl/`. It's probably a permissions problem but isn't there a way to install these libraries to my home? 2021-04-12T20:32:34Z fiddlerwoaroof: mfiano: yeah, although I tend to find that just forcing myself to fix the problem I find in a library really helps 2021-04-12T20:32:42Z mfiano: For my own stuff, I haven't ever got to what the script iddies call 0.1.0 2021-04-12T20:32:50Z mfiano: So i odn't have any users 2021-04-12T20:33:15Z Odin-: The "every tiny task a dependency" mentality is quite recent, too. 2021-04-12T20:33:49Z slyrus joined #lisp 2021-04-12T20:33:56Z Odin-: So its absence can't really be a Lisp-specific thing. 2021-04-12T20:34:10Z Odin-: At the very least it should effect Fortran, too. :p 2021-04-12T20:34:42Z mfiano: My software is always pre-0.1.x, use at your own risk. Mostly because gamedev and support libraries are hard. 2021-04-12T20:34:54Z Odin-: tom-bsd: I thought the default way of install Quicklisp did that... 2021-04-12T20:35:02Z fiddlerwoaroof: As far as I can tell, "NIH syndrome" cuts both ways 2021-04-12T20:35:32Z mfiano: I recently moved them to my own private host and stoped releasing to QL 2021-04-12T20:35:42Z fiddlerwoaroof: It's a choice between an ongoing maintenance cost for in-house tools, or an ongoing maintenance cost whenever some random person decides to update the tool 2021-04-12T20:36:05Z anticrisis joined #lisp 2021-04-12T20:36:34Z nij: mfiano: ?! How about the old versions? 2021-04-12T20:36:46Z nij: What if some systems depend on your codes? 2021-04-12T20:36:58Z mfiano: What is released is still pulled by Xach each month 2021-04-12T20:39:06Z tom-bsd: Odin-: quicklisp is installed locally but loading libraries complains about making the aforementioned folder 2021-04-12T20:39:11Z no-defun-allowed: Imagine complaining about flexibility and being able to do things yourself, this meme made by "who the fuck actually believes in the Lisp 'curse' lmao" gang 2021-04-12T20:39:16Z mfiano: That was requersted by Xach and phoe iirc. I don't mind I guess, but I'm not interesting in developing for others. My code is MIT and anyone can use/fork do whatever, and I don't have to "fix" it for their strange use cases 2021-04-12T20:39:52Z andrei-n quit (Quit: Leaving) 2021-04-12T20:40:01Z no-defun-allowed: Man, your head is haunted, you have bats in your belfry! 2021-04-12T20:41:24Z dtman34 quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-12T20:41:41Z nij: mfiano: can i still see your code online? 2021-04-12T20:41:43Z mfiano: I liked it best when I wrote code before code on the internet was a thing. Nobody likes my code, but I do, so problem solved. 2021-04-12T20:41:53Z Odin-: no-defun-allowed: That reads like something Max Stirner would have written. 2021-04-12T20:42:19Z fiddlerwoaroof: The lisp curse thing is Mark Tarver, right? 2021-04-12T20:42:20Z no-defun-allowed: Odin-: Nope, never heard of this Max Stirner :) 2021-04-12T20:42:29Z no-defun-allowed: fiddlerwoaroof: W*nestock 2021-04-12T20:42:31Z nij: mfiano: do you work in tech? How do you stick with just cl? 2021-04-12T20:42:44Z mfiano: nij: yes, git.mfiano.net 2021-04-12T20:43:00Z shka_ quit (Ping timeout: 268 seconds) 2021-04-12T20:43:14Z Odin-: no-defun-allowed: I'll just put it down to endless spooks, then. 2021-04-12T20:43:18Z mfiano: yes usually CL, though not currently, but i heard a clojure contract is coming my way soon. 2021-04-12T20:43:46Z no-defun-allowed: Odin-: Duped egoists? In _my_ #lisp? It's more likely than you think. 2021-04-12T20:44:22Z Odin-: Ah, so it _was_ sarcasm. I'll need to recalibrate my meter, then. 2021-04-12T20:44:22Z fiddlerwoaroof: no 2021-04-12T20:44:46Z mfiano: Maybe one day when I actually make something usable, complete with offline documentation, manuals, books, etc, I'll publicize my stuff. 2021-04-12T20:44:46Z no-defun-allowed hoped the :) gave it away 2021-04-12T20:44:46Z moon-child: I don't think the 'lisp curse' thing is _incorrect_, strictly, it just reflects a perversion of sensibilities and morals 2021-04-12T20:44:50Z fiddlerwoaroof: no-defun-allowed: but it was based on "The Bipolar Lisp Programmer" by Tarver 2021-04-12T20:44:54Z mfiano: But I am pretty far from that 2021-04-12T20:45:40Z fiddlerwoaroof: My read on Tarver is that he bought into stuff thinking that it would mean he would get free work on Qi/Shen and then got really annoyed to discover that using the GPL didn't mean that people would be interested in his project 2021-04-12T20:46:09Z nij: :golden-utils <3 2021-04-12T20:46:32Z no-defun-allowed: My own (actual) argument is that for any progress to be made any time soon, you do in fact need to produce half-assed prototypes, and only from there is it reasonable to start talking about a common design based on what information you have. 2021-04-12T20:46:35Z mfiano: Rich Hickey did make one point that has always stuck with me. Most programmers, and especially Lispers, are too focused on code, and not the artifact. Does the code matter if it doesn't provide something innovative or to fill a niche in computing? 2021-04-12T20:46:35Z fiddlerwoaroof: I think this also is behind the whole Lisp Curse thing:. 2021-04-12T20:47:15Z fiddlerwoaroof: I don't find that sort of point all that interesting 2021-04-12T20:47:19Z nij: mfiano: besides of your :golden-utils, do you use other utils often? 2021-04-12T20:47:30Z fiddlerwoaroof: 90% of the code I write I write because it solves a problem I or the company I work for has 2021-04-12T20:47:52Z mfiano: nij: Just that, which includes alexandria re-exported 2021-04-12T20:48:15Z no-defun-allowed: So the faster I can crank those out the better. But it's also falsely applied when two projects have similar but incompatible design goals, which annoys me further. 2021-04-12T20:48:25Z fiddlerwoaroof: I think treating "filling a niche in computing" this way has a tendency to create projects that never actually finish 2021-04-12T20:49:05Z nij: mfiano: since 2008? Holly's cow! 2021-04-12T20:49:32Z nij: mfiano: what if alexandria upgrades itself one day? 2021-04-12T20:49:41Z no-defun-allowed: For example, one very clever HN poster complained people made too many array processing libraries. To pick two arbitrarily: one uses lazy arrays which you must manually force computation of. One is feature-compatible with numpy. The latter precludes the former, so it is nonsense to say they are redundant. 2021-04-12T20:50:05Z fiddlerwoaroof: nij: alexandria is probably the last library to do that 2021-04-12T20:50:15Z fiddlerwoaroof: It also has a versioned package scheme 2021-04-12T20:50:17Z Odin-: no-defun-allowed: "There is more than one programming language! How wasteful!" 2021-04-12T20:50:18Z nij: fiddlerwoaroof: why? 2021-04-12T20:50:26Z nij: I mean "the last".. 2021-04-12T20:50:50Z fiddlerwoaroof: Because the developers of alexandria are really picky about the code they accept 2021-04-12T20:51:26Z fiddlerwoaroof: The breaking changes, afaict, are all in ALEXANDRIA-2 2021-04-12T20:51:30Z mfiano: fiddlerwoaroof: I am perfectly fine with that. I program to learn, not to create. But I'm not focused on designing new macrology usecases, MOP, or other meta-programming. My current project is roughly 40kloc, and all my brain power is whiteboarding and cranking out code I need for the artifact, not how I can bend the language with more yaks 2021-04-12T20:51:57Z fiddlerwoaroof: :) 2021-04-12T20:52:23Z tom-bsd quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-12T20:52:26Z mfiano: I would be doing it in any other language if some dude 20 years ago didn't rip Python out of my hands to show me that CL was better at RAD 2021-04-12T20:52:55Z no-defun-allowed: And I think that to make a library which supports both, you would need people aware of compiling either. But if APL implementations weren't doing lazy computation behind the back, or we picked something completely new, I doubt the magical utopia where everyone does one library per concept would have ever discovered that it might be useful. 2021-04-12T20:53:29Z fiddlerwoaroof: Yeah, I've never understood the desire to have _a_ array programming library 2021-04-12T20:53:34Z no-defun-allowed: Odin-: That continues to the "wheels in the head" point, so on and so forth. 2021-04-12T20:53:40Z fiddlerwoaroof: or _the one true_ web server 2021-04-12T20:53:41Z mfiano: alexandria, picky? 2021-04-12T20:53:48Z mfiano: I submitted some code to that project 2021-04-12T20:53:54Z mfiano: Haven't had an isuee 2021-04-12T20:54:40Z fiddlerwoaroof: I'm just going by the README: https://gitlab.common-lisp.net/alexandria/alexandria 2021-04-12T20:54:48Z fiddlerwoaroof: "picky" is probably the wrong word, too negative 2021-04-12T20:55:10Z mfiano: One of the last changes I made was quite a few years ago, admittedly 2021-04-12T20:55:24Z no-defun-allowed: (Then for the actually hard stuff, e.g. compiling pattern matching, you still have few people attempt to do it well, and so there is still approximately 1 pattern matcher used in CL. I'm just remembering what I wrote in the book.) 2021-04-12T20:55:35Z fiddlerwoaroof: The developers of alexandria seem generally committed to a no-backwards-incompatible changes philosophy 2021-04-12T20:55:47Z mfiano: It was rewriting LERP to use the numerically stable method (at the cost of an extra multiply, which smart compilers could fuse it, so the precision is well worth it) 2021-04-12T20:55:49Z fiddlerwoaroof: no-defun-allowed: yeah, trivia 2021-04-12T20:56:18Z fiddlerwoaroof: I've always had mixed feelings about it 2021-04-12T20:57:03Z fiddlerwoaroof: Pattern matching, like CASE and friends, is a static dispatch technique, and I generally try to use dynamic-dispatch wherever possible :) 2021-04-12T20:58:13Z Odin-: no-defun-allowed: I'm just always a little interested in how people seem to simultaneously consider software development to follow completely different rules from other productive activity and expect it to function exactly the same. 2021-04-12T20:58:32Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-12T20:58:52Z no-defun-allowed: Sure, I am not making a comment on pattern matching though, but there are a few methods to compile it, and they require some effort to make. You can make the language bend as much as you want, but the algorithm has to get in there somehow. 2021-04-12T20:58:54Z fiddlerwoaroof: This might be a sign that I learned to program from 90s books about OOP, but I have an aversion to conditionals that can't be extended without modifying the code 2021-04-12T20:58:58Z slyrus quit (Remote host closed the connection) 2021-04-12T20:59:03Z mfiano: eric normand gave a good talk last week about the wrong direction software development is taking, and i have agreed with that for a good 10 years 2021-04-12T20:59:03Z fiddlerwoaroof: Yeah 2021-04-12T20:59:31Z slyrus joined #lisp 2021-04-12T21:00:08Z nij quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-12T21:00:18Z no-defun-allowed: Odin-: Absolutely. 2021-04-12T21:00:54Z fiddlerwoaroof: mfiano: one really clarifying thing for me about Lisps/FP/etc. was listening to the episode of Cognitect's podcast featuring Matthew Flatt (of Racket fame) 2021-04-12T21:01:27Z surabax quit (Quit: Leaving) 2021-04-12T21:01:28Z hiroaki quit (Quit: Leaving) 2021-04-12T21:01:34Z mfiano: I am not familiar with it, but given the number of talks I've seen on FP and the like, and my short-term meory, that isn't surprising 2021-04-12T21:01:50Z fiddlerwoaroof: At one point the host just sort of asserted the Clojure dogma `data > functions > macros` and Matthew Flatt responded, "actually I think functions > macros > data" 2021-04-12T21:02:26Z mood_ is now known as mood 2021-04-12T21:02:27Z mfiano: I don't see the correlation 2021-04-12T21:03:09Z fiddlerwoaroof: Clojurians like to say "try to solve a problem by representing it with data, then use functions if that doesn't work and finally use macros" 2021-04-12T21:03:17Z vv8 joined #lisp 2021-04-12T21:03:53Z fiddlerwoaroof: I've come to think that one should almost always prefer functions and macros to data representations (especially raw data literals in code) 2021-04-12T21:04:11Z mfiano: I tend to write functions always, with the ocassional macro function. 2021-04-12T21:04:11Z no-defun-allowed: I found this excellent rule engine called EVAL, you should totally use it with...data yes that's data 2021-04-12T21:04:36Z fiddlerwoaroof: My experience is that a codebase built around domain-specific abstractions ends up being much more maintainable long-run, than a code base built around data 2021-04-12T21:05:12Z slyrus quit (Ping timeout: 240 seconds) 2021-04-12T21:05:37Z fiddlerwoaroof: Because when you need to make an architecture change, you don't have to spend as much time tracking down data dependencies, you just re-implement the abstractions 2021-04-12T21:06:04Z aartaka quit (Ping timeout: 252 seconds) 2021-04-12T21:06:17Z fiddlerwoaroof: But, I've come to realize that Clojure just isn't designed for me 2021-04-12T21:06:19Z aartaka joined #lisp 2021-04-12T21:06:20Z Jesin joined #lisp 2021-04-12T21:06:29Z mfiano: Maintainable code comes from understanding the domain. How you use the constructs available matters less. 2021-04-12T21:06:48Z mfiano: and this is the point Normand was trying to hit last week 2021-04-12T21:07:16Z fiddlerwoaroof: I don't think that's really true: your understanding of the domain should be reflected in the language you build to write your software 2021-04-12T21:07:50Z fiddlerwoaroof: Domain knowledge should, almost always, be reified into the constructs of your programming language so you can program in the language of your domain 2021-04-12T21:08:35Z fiddlerwoaroof: Not following this principle creates huge messes for the people that maintain the code 2021-04-12T21:09:21Z Odin-: No Turing tarpits for you, then? 2021-04-12T21:09:21Z no-defun-allowed: Something rubs me the wrong way about using maps and sequences for everything. Maybe I don't do the kinds of problems where those are fine. 2021-04-12T21:09:52Z mfiano: The point is general purpose abstractions, like design patterns as they are called in other languages, are just usually the result of one caring too much about the code and not how it should be structured for your domain. Maintainability just sort of falls out from a deep understanding of your field/and lots of whiteboarding. 2021-04-12T21:10:06Z fiddlerwoaroof: The biggest issue is you create an implicit dependency between line 40 with {:a 1 :b 2} and line 80 with {:a 1 :b 2} 2021-04-12T21:10:16Z fiddlerwoaroof: Then you refactor line 40 and nothing tells you line 80 is broken 2021-04-12T21:10:21Z no-defun-allowed: (Though for it to be "everything", we should define #{} to be 0, #{#{}} to be 1, so on and so forth.) 2021-04-12T21:11:34Z fiddlerwoaroof: mfiano: I agree with that, I just think saying "how you use the concepts available matters less" misses the point: understanding the domain is not enough, you need to write code that reflects your understanding of the domain 2021-04-12T21:11:46Z mfiano: There are whole periods of weeks where I can't write code because I'm still understanding the math, logic and how it all permutes to be written in a maintainable fastion. POD, mixins, design patterns...none of that matters until the domain is well understood 2021-04-12T21:12:10Z Odin-: What's POD short for in this context? 2021-04-12T21:12:11Z narimiran quit (Ping timeout: 240 seconds) 2021-04-12T21:12:21Z mfiano: plain old data 2021-04-12T21:12:29Z fiddlerwoaroof: Yeah, I'm sort of the opposite: I can't understand the domain without having a repl open to mess around with 2021-04-12T21:12:38Z Odin-: Ah. 2021-04-12T21:12:40Z Odin-: That old myth. 2021-04-12T21:12:46Z fiddlerwoaroof: I learn the domain by writing code in it 2021-04-12T21:13:41Z mfiano: I've had to work on serious projects professionally where we couldn't afford to make these types of mistakes that arise from "just coding" 2021-04-12T21:13:58Z fiddlerwoaroof: Most of the code doesn't actually make it to production 2021-04-12T21:13:59Z mfiano: Software development to me has always been moreso about thinking than coding. 2021-04-12T21:14:01Z Odin-: There are still people who think there's really something called "plain text" in computers. 2021-04-12T21:15:01Z Odin-: And that processors actually work with numbers. (Shocking, right?) 2021-04-12T21:15:03Z fiddlerwoaroof: It's just that I find iterating with prototypes designed to explore one corner of the search space ends up being more efficient than trying to think through the domain 2021-04-12T21:15:15Z White_Flame quit (Ping timeout: 265 seconds) 2021-04-12T21:15:38Z cosimone quit (Remote host closed the connection) 2021-04-12T21:16:25Z TMA: I have an experience that is in the middle between fiddlerwoaroof and mfiano. there is the exploration to learn something of the domain, which is usually ill specified and therefore not available with a priori reasoning alone 2021-04-12T21:17:14Z TMA: but there is also the need to pause and whiteboard, to build the model in the head prior to coding 2021-04-12T21:17:31Z mfiano: I'm also old and jadad, so can probably ignore my opinions :) 2021-04-12T21:17:38Z fiddlerwoaroof: TMA: yeah, when talking about these things I find that I occasionally express a position that sounds more extreme than it actually is 2021-04-12T21:18:34Z fiddlerwoaroof: I do spend time whiteboarding/learning, I just have also had the experience of a project where we spent weeks planning only to discover that what we thought was possible wasn't 2021-04-12T21:18:43Z orivej quit (Ping timeout: 252 seconds) 2021-04-12T21:18:45Z fiddlerwoaroof: Within like 30 minutes of attempting to execute 2021-04-12T21:19:31Z fiddlerwoaroof: Or, in one case, a team insisting on like a month of onboarding training before I was allowed to write code 2021-04-12T21:19:55Z fiddlerwoaroof: Most of which was basically useless because I didn't really understand the context until I tried to change the code 2021-04-12T21:20:50Z mfiano: I could write a whole book on debunking the ECS paradigm some time...and I probably will. It amazes me how people flock to shiny things that just shift the shift the complexity around (and add new issues because they hadn't considering their design may require a new architectural model coupled to the domain. 2021-04-12T21:21:06Z mfiano: ) 2021-04-12T21:21:50Z TMA: mfiano: I will refrain from ignoring your opinions, if I may. There is certainly much to be learned, even if there are minor corrections to be applied. 2021-04-12T21:22:09Z no-defun-allowed: I still need to write my implementation of "ECS" using CLOS for serial parts just to spite someone. But I forgot who I'm supposed to be spiting. 2021-04-12T21:22:38Z mfiano: EC couples with CLOS better than ECS 2021-04-12T21:22:51Z srandon111 quit (Quit: leaving) 2021-04-12T21:22:54Z Shinmera wonders if he could find a way to use no-defun-allowed's time for his own projects by coercing her into spiting him for something 2021-04-12T21:23:33Z mfiano: A true ECS is impossible anyway, so can only go so far before you have stateful code 2021-04-12T21:24:21Z no-defun-allowed: Sorry, I have a waiting list of about three months, if you wouldn't mind writing your name and project down here then I'll get back to you then 2021-04-12T21:24:51Z mfiano: what are you working on no-defun-allowed ? 2021-04-12T21:25:04Z fiddlerwoaroof: no-defun-allowed: it sounds to me like you're just saying we have to make you angry enough 2021-04-12T21:26:14Z nij joined #lisp 2021-04-12T21:26:43Z nij: If I get a cl system from guix, how do I load it? QL:QUICKLOAD doesn't look at those paths by default after all. 2021-04-12T21:27:15Z no-defun-allowed: mfiano: Right now, I just finished the first part of redoing my regular expression compiler, which was to use (and debug) someone else's technique for submatching with a DFA. Next is to add a protocol for letting the client provide optimisations (e.g. optimising constant string searching). Then I have to look after two lock-free hash table implementations. 2021-04-12T21:27:35Z fiddlerwoaroof: nij: you have to figure out how guix expects you to configure ASDF's registry 2021-04-12T21:27:36Z mfiano: no-defun-allowed: Did I not see a post a couple weeks ago stating you were not contributing to open source anymore or something of the sort? 2021-04-12T21:28:21Z no-defun-allowed: I announced I am taking a break from Netfarm because, wow, I'm actually too fed up with people there to bother improving their lives in any meaningful way. But now I also have a paper on that to edit. 2021-04-12T21:28:41Z mfiano: Is people of Netfarm, CL people? 2021-04-12T21:28:43Z no-defun-allowed: mfiano: Yes, now I've decided to work on other things because otherwise I have too much spare time :) 2021-04-12T21:28:46Z heisig quit (Ping timeout: 240 seconds) 2021-04-12T21:29:06Z no-defun-allowed: No, not CL people. The reasons why are off-topic for #lisp. 2021-04-12T21:29:06Z mfiano: The only mention I ever heard of it is from you, so I'm curious who these people are that annoyed you. Getting the torches ready 2021-04-12T21:30:26Z mfiano: Ok then. Well one thing I know all too well is breaks are good. I would never be able to commit to one project and stay sane. 2021-04-12T21:32:02Z mfiano: Mostly because I have to figure out hard problems on my own that require subconscious thinking 2021-04-12T21:32:20Z mfiano: If anyone wants to join me to polish up my game engine, I wouldn't mind 2021-04-12T21:32:34Z nij: fiddlerwoaroof: I guess I should ask #guix then. 2021-04-12T21:34:28Z fiddlerwoaroof: yeah, my guess is that reading guix expressions for something like nyxt might be helpful too 2021-04-12T21:34:29Z aartaka quit (Read error: Connection reset by peer) 2021-04-12T21:34:58Z fiddlerwoaroof: my guess is that it involves `guix environment` but, unfortunately, I can't use guix because of their stance on mac support/free software 2021-04-12T21:35:38Z no-defun-allowed: In short, despite many differences of opinion on design, only one CL person has come close to saying that all my work is worthless. 2021-04-12T21:35:59Z nij: fiddlerwoaroof: thanks :) 2021-04-12T21:36:43Z mfiano: no-defun-allowed: all your work was worthless? i see a logic flaw already 2021-04-12T21:37:07Z nij left #lisp 2021-04-12T21:39:16Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-12T21:40:29Z karlosz quit (Quit: karlosz) 2021-04-12T21:42:02Z kpoeck quit (Ping timeout: 240 seconds) 2021-04-12T21:44:40Z rumbler31_ quit (Ping timeout: 268 seconds) 2021-04-12T21:46:03Z lowryder quit (Ping timeout: 250 seconds) 2021-04-12T21:47:53Z lowryder joined #lisp 2021-04-12T21:47:55Z Shinmera: no-defun-allowed: I've had people almost word for word say all my libraries are worthless. The good thing is that doesn't actually matter. 2021-04-12T21:49:28Z no-defun-allowed: Shinmera: That was a slight simplification, they said any free software was worthless. Normally I'd be laughing, but no one there disagreed there. On the other hand, they could have been laughing internally as well. 2021-04-12T21:50:27Z mfiano: All my work is worthless, in the fact that it isn't usable by others, is broken until I finish it, and is unknown by others...but I still think it is very _worthwhile_ to work on given my goals of bettering myself and the hopeful one day it will at the very least be usable to me (and others would be a bonus) 2021-04-12T21:51:41Z no-defun-allowed: Pretty sure there is no network stack (and/or operating system) without any open-source components, including proprietary ones, so I wonder how they didn't contradict themself by being able to write that. 2021-04-12T21:53:06Z no-defun-allowed: What I read was straight slander, and there's no point discussing that in itself, but that it was taken remotely seriously is telling. 2021-04-12T21:55:00Z Shinmera: Yeah, unfortunately even obviously off crazy talk can still really get to ya. 2021-04-12T21:58:01Z IPmonger quit (Quit: ZNC 1.7.5+deb4 - https://znc.in) 2021-04-12T21:58:15Z no-defun-allowed: My thought process went something like "Here's my audience I suppose, if anyone would immediately be interested in e.g collaborative filtering for moderation it'd be them, and they're now saying no open-source program has done anything good for society. And half my time these days is spent cleaning up code and writing documentation. How kind of you!" 2021-04-12T21:58:21Z IPmonger joined #lisp 2021-04-12T22:11:59Z Inline quit (Ping timeout: 260 seconds) 2021-04-12T22:16:59Z pve_ joined #lisp 2021-04-12T22:20:06Z pve quit (Ping timeout: 252 seconds) 2021-04-12T22:22:37Z hendursaga quit (Remote host closed the connection) 2021-04-12T22:22:40Z pve_ quit (Quit: leaving) 2021-04-12T22:23:03Z hendursaga joined #lisp 2021-04-12T22:25:41Z random-nick quit (Ping timeout: 240 seconds) 2021-04-12T22:25:58Z quazimodo quit (Ping timeout: 240 seconds) 2021-04-12T22:28:03Z frgo quit (Remote host closed the connection) 2021-04-12T22:28:29Z frgo joined #lisp 2021-04-12T22:29:26Z dim: fatal error encountered in SBCL pid 26098 pthread 0x7000003c0000: SIGABRT received. 2021-04-12T22:30:06Z phoe: dim: which SBCL version? 2021-04-12T22:30:18Z dim: that seems to happen a lot with SBCL 2.1.3, here loading list-of 2021-04-12T22:30:28Z phoe: huh, I remember an issue with SIGABRT mentioned somewhere in #sbcl 2021-04-12T22:30:29Z dim: it seems that CCL also just got a sigabort 2021-04-12T22:30:42Z phoe: oh? now that's interesting 2021-04-12T22:31:29Z dim: ccl64 -e '(ql:quickload "pgloader")' to reproduce 2021-04-12T22:31:51Z dim: I just cleaned my cache, too, so that might be related (in that it's trying to compile something?) 2021-04-12T22:32:07Z dim: I have CCL 1.12 for information 2021-04-12T22:32:40Z fiddlerwoaroof: This sounds like an FFI issue 2021-04-12T22:32:59Z dim: anyway I wanted to hack in CL and/or pgloader this vacations, but I guess I'll do something else instead :/ 2021-04-12T22:33:22Z fiddlerwoaroof: I don't have that problem in 2.1.0 2021-04-12T22:34:18Z scymtym: SIGABRT is often from uncaught exceptions in C++ code 2021-04-12T22:34:54Z gitgood quit (Quit: Probably away to do something really awesome) 2021-04-12T22:36:21Z dim: can I install sbcl 2.1.0 with brew easily? 2021-04-12T22:36:51Z fiddlerwoaroof: dim: I'm not sure, I'm using nix 2021-04-12T22:37:06Z klltkr joined #lisp 2021-04-12T22:37:33Z dim: yeah doesn't look like it 2021-04-12T22:38:33Z dim: time to see if ECL can load pgloader these days 2021-04-12T22:39:06Z phoe: dim: actually it does seem so? 2021-04-12T22:39:13Z phoe: brew install sbcl@2.1.0 2021-04-12T22:39:27Z phoe: and/or brew switch sbcl 2.1.0 2021-04-12T22:39:41Z dim: Error: No available formula or cask with the name "sbcl@2.1.0". 2021-04-12T22:39:49Z dim: yeah that's when you have it already locally perhaps 2021-04-12T22:39:49Z fiddlerwoaroof: dim: what are you using? I'm on an x86-64 MBP, my M1 sees a lot more SIGABRTs with sbcl 2021-04-12T22:40:13Z dim: it's still an x64 and Catalina here, didn't make the jump to BigSur yet 2021-04-12T22:40:15Z phoe: huh, seems like you'd need to use an old formula or something... bleh 2021-04-12T22:40:18Z dim: I'm not sure I want to ;-) 2021-04-12T22:40:34Z fiddlerwoaroof: Big Sur is, in my experience, much better than Catalina 2021-04-12T22:41:05Z fiddlerwoaroof: I sort of skipped over Mojave and Catalina 2021-04-12T22:41:18Z dim: yeah except if you use/develop anything that doesn't know how to process EINTR when doing open(2), like Postgres and most of the source code I work with 2021-04-12T22:41:33Z fiddlerwoaroof: I see 2021-04-12T22:41:50Z dim: and except if you have hardware that doesn't support BigSur yet, too (I'm still waiting for drivers updates for an audio interface) 2021-04-12T22:42:02Z dim: but anyway, ECL is compiling, slowly, but making progress 2021-04-12T22:44:28Z jeosol quit (Quit: Connection closed) 2021-04-12T22:44:32Z hjudt quit (Ping timeout: 240 seconds) 2021-04-12T22:46:04Z g0d_shatter quit (Quit: Leaving) 2021-04-12T22:47:03Z dim: Condition of type: SIMPLE-ERROR ; Unable to create pipe C ; library explanation: Too many open files. 2021-04-12T22:47:15Z dim: okay I'm done with hacking in CL for a while 2021-04-12T22:47:30Z dim: I had a nice shot tonight, won't happen again anytime soon if I must first fix all those things 2021-04-12T22:47:55Z dim: gn friends, and thanks for all the help you could provide, much appreciated as always! 2021-04-12T22:49:08Z contrapunctus left #lisp 2021-04-12T22:52:17Z contrapunctus joined #lisp 2021-04-12T22:55:31Z abhixec quit (Ping timeout: 252 seconds) 2021-04-12T22:56:15Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-12T23:03:40Z karlosz joined #lisp 2021-04-12T23:05:08Z contrapunctus left #lisp 2021-04-12T23:07:25Z contrapunctus joined #lisp 2021-04-12T23:09:08Z bitmapper joined #lisp 2021-04-12T23:10:18Z jeosol joined #lisp 2021-04-12T23:11:04Z contrapunctus left #lisp 2021-04-12T23:11:41Z aartaka joined #lisp 2021-04-12T23:18:12Z igemnace joined #lisp 2021-04-12T23:18:25Z mindCrime joined #lisp 2021-04-12T23:19:30Z contrapunctus joined #lisp 2021-04-12T23:19:59Z aartaka quit (Ping timeout: 246 seconds) 2021-04-12T23:20:10Z abhixec joined #lisp 2021-04-12T23:24:00Z contrapunctus left #lisp 2021-04-12T23:24:06Z gzj joined #lisp 2021-04-12T23:27:27Z bilegeek joined #lisp 2021-04-12T23:28:59Z contrapunctus joined #lisp 2021-04-12T23:30:59Z contrapunctus left #lisp 2021-04-12T23:32:12Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-12T23:33:03Z contrapunctus joined #lisp 2021-04-12T23:35:17Z seok joined #lisp 2021-04-12T23:35:30Z charles` joined #lisp 2021-04-12T23:36:18Z contrapunctus left #lisp 2021-04-12T23:37:55Z contrapunctus joined #lisp 2021-04-12T23:39:13Z Kundry_Wag joined #lisp 2021-04-12T23:39:32Z Kundry_Wag quit (Client Quit) 2021-04-12T23:39:47Z Kundry_Wag joined #lisp 2021-04-12T23:41:09Z Oladon joined #lisp 2021-04-12T23:44:28Z tophullyte quit (Ping timeout: 252 seconds) 2021-04-12T23:46:34Z jmiven quit (Quit: reboot) 2021-04-12T23:47:36Z curtosis[away] joined #lisp 2021-04-12T23:47:36Z jmiven joined #lisp 2021-04-12T23:48:02Z mindCrime joined #lisp 2021-04-12T23:54:06Z lotuseater quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-13T00:02:40Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-13T00:03:08Z ech joined #lisp 2021-04-13T00:03:27Z OlCe quit (Remote host closed the connection) 2021-04-13T00:04:42Z OlCe joined #lisp 2021-04-13T00:23:58Z attila_lendvai quit (Ping timeout: 240 seconds) 2021-04-13T00:40:12Z dhil quit (Ping timeout: 240 seconds) 2021-04-13T00:49:05Z slyrus joined #lisp 2021-04-13T00:56:07Z gzj quit (Remote host closed the connection) 2021-04-13T00:56:28Z gzj joined #lisp 2021-04-13T00:58:05Z zaquest quit (Quit: Leaving) 2021-04-13T01:00:09Z zaquest joined #lisp 2021-04-13T01:08:03Z slyrus quit (Remote host closed the connection) 2021-04-13T01:08:39Z slyrus joined #lisp 2021-04-13T01:08:57Z Codaraxis_ joined #lisp 2021-04-13T01:10:06Z gzj quit (Remote host closed the connection) 2021-04-13T01:10:28Z gzj joined #lisp 2021-04-13T01:12:38Z slyrus quit (Ping timeout: 240 seconds) 2021-04-13T01:13:06Z Codaraxis__ quit (Ping timeout: 268 seconds) 2021-04-13T01:15:18Z Oladon quit (Quit: Leaving.) 2021-04-13T01:17:24Z nicktick joined #lisp 2021-04-13T01:25:19Z krkini quit (Remote host closed the connection) 2021-04-13T01:26:37Z kini joined #lisp 2021-04-13T01:28:27Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-13T01:33:01Z APic joined #lisp 2021-04-13T01:37:47Z galex-713 joined #lisp 2021-04-13T01:39:32Z indathrone joined #lisp 2021-04-13T01:40:41Z wxie joined #lisp 2021-04-13T02:02:28Z chipolux joined #lisp 2021-04-13T02:03:11Z frost-lab joined #lisp 2021-04-13T02:06:47Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-13T02:34:08Z gzj quit (Read error: Connection reset by peer) 2021-04-13T02:34:27Z gzj joined #lisp 2021-04-13T02:36:47Z chipolux quit (Quit: chipolux) 2021-04-13T02:43:41Z conjunctive joined #lisp 2021-04-13T02:54:06Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-13T02:58:01Z xlei quit (Quit: ZNC - https://znc.in) 2021-04-13T03:00:23Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-13T03:01:45Z beach: Good morning everyone! 2021-04-13T03:02:20Z Alfr is now known as Guest325 2021-04-13T03:02:25Z Alfr joined #lisp 2021-04-13T03:03:21Z indathrone quit (Quit: Leaving) 2021-04-13T03:04:33Z Guest325 quit (Ping timeout: 250 seconds) 2021-04-13T03:14:21Z rumbler31 quit (Remote host closed the connection) 2021-04-13T03:15:09Z rumbler31 joined #lisp 2021-04-13T03:18:26Z Oladon joined #lisp 2021-04-13T03:19:13Z nij joined #lisp 2021-04-13T03:19:31Z nij: [crossed-post from #guix] Any guixers :)? Is there any idea how to use quicklisp on a guix system? NixOS seems to have a work-around.. but I haven't found any for guix - https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/lisp-modules/quicklisp.sh 2021-04-13T03:29:04Z Stanley00 joined #lisp 2021-04-13T03:32:20Z bilegeek quit (Quit: Leaving) 2021-04-13T03:32:33Z fiddlerwoaroof: morning, beach! 2021-04-13T03:36:11Z abhixec quit (Quit: leaving) 2021-04-13T03:40:57Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-13T03:48:08Z ebrasca quit (Remote host closed the connection) 2021-04-13T03:52:30Z kini quit (Remote host closed the connection) 2021-04-13T03:52:47Z Codaraxis_ quit (Read error: Connection reset by peer) 2021-04-13T03:53:47Z kini joined #lisp 2021-04-13T03:55:30Z Nilby joined #lisp 2021-04-13T03:57:05Z xlei joined #lisp 2021-04-13T04:00:10Z mrchampion quit (Remote host closed the connection) 2021-04-13T04:03:07Z quazimodo joined #lisp 2021-04-13T04:16:27Z karlosz quit (Quit: karlosz) 2021-04-13T04:18:10Z Bike quit (Quit: Lost terminal) 2021-04-13T04:25:13Z orivej joined #lisp 2021-04-13T04:25:19Z curtosis[away] joined #lisp 2021-04-13T04:25:24Z karlosz joined #lisp 2021-04-13T04:26:49Z [mark] joined #lisp 2021-04-13T04:45:01Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-13T04:53:06Z nij quit (Remote host closed the connection) 2021-04-13T04:59:39Z Oladon quit (Quit: Leaving.) 2021-04-13T05:01:41Z midre quit (Ping timeout: 258 seconds) 2021-04-13T05:03:46Z snits quit (Ping timeout: 240 seconds) 2021-04-13T05:06:56Z snits joined #lisp 2021-04-13T05:14:32Z gaqwas joined #lisp 2021-04-13T05:14:32Z gaqwas quit (Changing host) 2021-04-13T05:14:32Z gaqwas joined #lisp 2021-04-13T05:20:57Z galex-713 joined #lisp 2021-04-13T05:23:09Z ech quit (Ping timeout: 240 seconds) 2021-04-13T05:25:07Z chipolux joined #lisp 2021-04-13T05:25:30Z brandflake11 quit (Remote host closed the connection) 2021-04-13T05:25:55Z karlosz quit (Quit: karlosz) 2021-04-13T05:26:11Z xkapastel quit (Quit: Connection closed for inactivity) 2021-04-13T05:33:04Z cchristiansen joined #lisp 2021-04-13T05:46:27Z wxie quit (Quit: wxie) 2021-04-13T05:47:28Z APic quit (Ping timeout: 252 seconds) 2021-04-13T05:47:40Z johannes_ joined #lisp 2021-04-13T05:47:55Z johannes_ is now known as kenran 2021-04-13T05:52:48Z wxie joined #lisp 2021-04-13T05:55:49Z shka_ joined #lisp 2021-04-13T06:07:38Z narimiran joined #lisp 2021-04-13T06:26:00Z APic joined #lisp 2021-04-13T06:27:16Z chipolux quit (Quit: chipolux) 2021-04-13T06:27:32Z andrei-n joined #lisp 2021-04-13T06:31:41Z frgo quit (Ping timeout: 250 seconds) 2021-04-13T06:40:38Z gaqwas quit (Ping timeout: 246 seconds) 2021-04-13T06:41:23Z Lord_of_Life quit (Excess Flood) 2021-04-13T06:42:16Z Lord_of_Life joined #lisp 2021-04-13T06:42:16Z hjudt joined #lisp 2021-04-13T06:42:43Z karlosz joined #lisp 2021-04-13T06:47:55Z kenran quit (Quit: leaving) 2021-04-13T06:47:58Z random-nick joined #lisp 2021-04-13T06:58:23Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-13T07:04:12Z pve joined #lisp 2021-04-13T07:08:48Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-13T07:13:53Z rain3 joined #lisp 2021-04-13T07:14:14Z rain3: hi is the source for this available anywhere ? https://common-lisp.net/project/erlang-in-lisp/ 2021-04-13T07:16:10Z rain3: ok I think I found it git clone http://common-lisp.net/project/erlang-in-lisp/git/ 2021-04-13T07:16:16Z lukego: nij: I'm not a Guix'er but I use ql2nix and that works well for me jfyi 2021-04-13T07:18:30Z midre joined #lisp 2021-04-13T07:20:47Z beach quit (Ping timeout: 260 seconds) 2021-04-13T07:21:04Z beach joined #lisp 2021-04-13T07:27:40Z aartaka joined #lisp 2021-04-13T07:29:17Z quazimodo quit (Ping timeout: 246 seconds) 2021-04-13T07:31:34Z nullman quit (Ping timeout: 252 seconds) 2021-04-13T07:32:12Z orivej quit (Ping timeout: 240 seconds) 2021-04-13T07:33:34Z nullman joined #lisp 2021-04-13T07:35:16Z johnjay quit (Ping timeout: 252 seconds) 2021-04-13T07:37:02Z johnjay joined #lisp 2021-04-13T07:37:26Z aartaka_d joined #lisp 2021-04-13T07:37:56Z varjag joined #lisp 2021-04-13T07:38:38Z varjag: is there special wisdom in intercepting socket-errors in postmodern's with-connection instead of letting the application handle it? 2021-04-13T07:41:06Z aartaka quit (Ping timeout: 240 seconds) 2021-04-13T07:43:35Z mathrick quit (Ping timeout: 265 seconds) 2021-04-13T07:52:26Z nikolayclfx joined #lisp 2021-04-13T07:55:29Z surabax joined #lisp 2021-04-13T07:55:48Z karlosz quit (Quit: karlosz) 2021-04-13T07:56:03Z cosimone joined #lisp 2021-04-13T08:04:47Z dhil joined #lisp 2021-04-13T08:05:18Z terpri quit (Ping timeout: 258 seconds) 2021-04-13T08:07:20Z hendursa1 joined #lisp 2021-04-13T08:09:57Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-13T08:12:24Z indathrone joined #lisp 2021-04-13T08:13:14Z karlosz joined #lisp 2021-04-13T08:13:46Z lotuseater joined #lisp 2021-04-13T08:16:34Z nicktick1 joined #lisp 2021-04-13T08:18:38Z nicktick quit (Ping timeout: 240 seconds) 2021-04-13T08:20:18Z terpri joined #lisp 2021-04-13T08:21:41Z kini quit (Remote host closed the connection) 2021-04-13T08:22:57Z kini joined #lisp 2021-04-13T08:27:58Z skapate quit (Remote host closed the connection) 2021-04-13T08:30:36Z terpri quit (Ping timeout: 258 seconds) 2021-04-13T08:35:45Z ramHero quit (Remote host closed the connection) 2021-04-13T08:36:57Z ramHero joined #lisp 2021-04-13T08:43:03Z terpri joined #lisp 2021-04-13T08:49:19Z msk quit (Ping timeout: 265 seconds) 2021-04-13T08:56:47Z anticrisis quit (Read error: Connection reset by peer) 2021-04-13T08:58:47Z EZEK joined #lisp 2021-04-13T08:59:53Z DanklyTuned joined #lisp 2021-04-13T09:00:03Z EZEK quit (Remote host closed the connection) 2021-04-13T09:00:03Z Theora[m] quit (Quit: Idle for 30+ days) 2021-04-13T09:00:24Z rixard quit (Read error: Connection reset by peer) 2021-04-13T09:00:50Z rixard joined #lisp 2021-04-13T09:03:34Z Nilby quit (Ping timeout: 258 seconds) 2021-04-13T09:11:31Z nicktick1 quit (Ping timeout: 252 seconds) 2021-04-13T09:16:49Z a0 joined #lisp 2021-04-13T09:25:44Z Major_Biscuit joined #lisp 2021-04-13T09:28:53Z rain3 quit (Remote host closed the connection) 2021-04-13T09:29:02Z karlosz quit (Quit: karlosz) 2021-04-13T09:29:26Z snits quit (Ping timeout: 265 seconds) 2021-04-13T09:30:03Z rain3 joined #lisp 2021-04-13T09:30:58Z dim: hi! how can I find out which of my ASDF dependencies or their dependencies require a given system, here CFFI (or actually abcl-cffi)? 2021-04-13T09:31:03Z plaisanterie joined #lisp 2021-04-13T09:38:06Z cosimone quit (Remote host closed the connection) 2021-04-13T09:40:00Z dim: (let ((pgloader-deps (mapcar #'ql-dist:system-file-name 2021-04-13T09:40:00Z dim: (flatten 2021-04-13T09:40:00Z dim: (ql-dist:dependency-tree "pgloader")))) 2021-04-13T09:40:00Z dim: (depends-on-cffi (ql:who-depends-on 'cffi))) 2021-04-13T09:40:01Z dim: (intersection pgloader-deps depends-on-cffi :test #'string-equal)) 2021-04-13T09:40:04Z dim: sorry for multi-line posting 2021-04-13T09:40:13Z dim: I guess I was too happy to be able to do it ;-) 2021-04-13T09:40:50Z flip214: dim: you already use ql-dist:dependency-tree 2021-04-13T09:42:58Z heisig joined #lisp 2021-04-13T09:47:24Z lowryder quit (Ping timeout: 268 seconds) 2021-04-13T09:48:26Z snits joined #lisp 2021-04-13T09:49:12Z lowryder joined #lisp 2021-04-13T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-13T10:03:05Z amk quit (Remote host closed the connection) 2021-04-13T10:07:36Z amk joined #lisp 2021-04-13T10:08:51Z dim: yeah, it still is a game of whack-a-mole and I'm not there yet 2021-04-13T10:10:55Z amk quit (Remote host closed the connection) 2021-04-13T10:11:02Z amk joined #lisp 2021-04-13T10:14:13Z Major_Biscuit quit (Ping timeout: 252 seconds) 2021-04-13T10:14:35Z attila_lendvai joined #lisp 2021-04-13T10:14:35Z attila_lendvai quit (Changing host) 2021-04-13T10:14:35Z attila_lendvai joined #lisp 2021-04-13T10:18:31Z dim: okay, and now it fails for yet another reason 2021-04-13T10:18:45Z dim: no CL during vacations for me it seems :/ 2021-04-13T10:19:01Z dim: for the very curious: Error while trying to load definition for system jna from pathname jar:file:///usr/local/Cellar/abcl/1.8.0/libexec/abcl-contrib.jar!/mvn/jna.asd: 2021-04-13T10:19:11Z dim: that's during Retry loading FASL for #. 2021-04-13T10:20:44Z dim: (and the previous offender that required CFFI was cl+ssl, which is needed for pgloader by direct dependencies qmynd, drakma, sqlite, mssql, and quri) 2021-04-13T10:26:17Z Stanley00 quit (Remote host closed the connection) 2021-04-13T10:31:22Z kini quit (Remote host closed the connection) 2021-04-13T10:32:37Z kini joined #lisp 2021-04-13T10:36:15Z orivej joined #lisp 2021-04-13T10:42:52Z CrashTestDummy joined #lisp 2021-04-13T10:42:54Z CrashTestDummy quit (Client Quit) 2021-04-13T10:43:42Z CrashTestDummy joined #lisp 2021-04-13T10:46:13Z CrashTestDummy quit (Client Quit) 2021-04-13T10:46:37Z CrashTestDummy joined #lisp 2021-04-13T10:47:42Z CrashTestDummy left #lisp 2021-04-13T10:48:10Z nij joined #lisp 2021-04-13T10:48:11Z wxie quit (Ping timeout: 240 seconds) 2021-04-13T10:48:32Z CrashTestDummy joined #lisp 2021-04-13T10:48:50Z jeosol quit (Quit: Connection closed) 2021-04-13T10:49:30Z nij: fiddlerwoaroof: I watched the talk you mentioned yesterday. Thanks :) 2021-04-13T10:50:06Z nij: And I understand why guix/nix doesn't "really" solve the problem. 2021-04-13T10:52:50Z nij: I wonder if in guix we can make a software depends on multiple versions of a dependency, and call each function with name and the version they belong to. 2021-04-13T10:52:54Z Xach: dim: sometimes cffi is in defsystem-depends-on which complicates things a little 2021-04-13T10:53:58Z vegansbane6963 joined #lisp 2021-04-13T10:59:50Z Major_Biscuit joined #lisp 2021-04-13T11:02:25Z igemnace quit (Remote host closed the connection) 2021-04-13T11:10:53Z dim: Xach: I managed to get a list of systems to avoid in :depends-on (using #-abcl) so that I could load pgloader in there, so that's good 2021-04-13T11:11:27Z dim: not good enough to load pgloader, though, so, no there yet, and running out of patience and time... gonna play with the kids instead 2021-04-13T11:11:27Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T11:11:38Z amb007 joined #lisp 2021-04-13T11:12:08Z cchristiansen quit (Remote host closed the connection) 2021-04-13T11:14:08Z aindilis quit (Remote host closed the connection) 2021-04-13T11:14:56Z aindilis` joined #lisp 2021-04-13T11:17:09Z a0 quit (Ping timeout: 240 seconds) 2021-04-13T11:18:42Z nij quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-13T11:20:42Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T11:21:02Z amb007 joined #lisp 2021-04-13T11:24:51Z galex-713 joined #lisp 2021-04-13T11:28:46Z CrashTestDummy quit (Quit: Leaving) 2021-04-13T11:29:05Z CrashTestDummy joined #lisp 2021-04-13T11:29:23Z CrashTestDummy quit (Client Quit) 2021-04-13T11:29:40Z CrashTestDummy joined #lisp 2021-04-13T11:31:41Z frost-lab quit (Quit: Connection closed) 2021-04-13T11:35:39Z pagnol joined #lisp 2021-04-13T11:37:47Z a0 joined #lisp 2021-04-13T11:40:42Z klltkr joined #lisp 2021-04-13T11:48:04Z Kundry_Wag quit (Read error: Connection reset by peer) 2021-04-13T11:48:54Z Kundry_Wag joined #lisp 2021-04-13T11:50:15Z frgo joined #lisp 2021-04-13T11:51:23Z frgo_ joined #lisp 2021-04-13T11:51:41Z frgo_ quit (Client Quit) 2021-04-13T11:52:37Z plaisanterie quit (Quit: Connection closed) 2021-04-13T11:54:24Z frgo_ joined #lisp 2021-04-13T11:54:31Z frgo quit (Ping timeout: 250 seconds) 2021-04-13T12:01:55Z DanklyTuned quit (Quit: nyaa~) 2021-04-13T12:03:03Z Bike joined #lisp 2021-04-13T12:04:33Z kini quit (Remote host closed the connection) 2021-04-13T12:05:49Z kini joined #lisp 2021-04-13T12:06:21Z a0 quit (Ping timeout: 240 seconds) 2021-04-13T12:08:56Z orivej quit (Ping timeout: 265 seconds) 2021-04-13T12:13:07Z yitzi joined #lisp 2021-04-13T12:13:32Z rumbler31 quit (Remote host closed the connection) 2021-04-13T12:13:49Z rumbler31 joined #lisp 2021-04-13T12:27:53Z aartaka joined #lisp 2021-04-13T12:30:04Z aartaka_d quit (Ping timeout: 252 seconds) 2021-04-13T12:30:17Z skapata joined #lisp 2021-04-13T12:30:59Z drl joined #lisp 2021-04-13T12:32:23Z seok quit (Quit: Connection closed) 2021-04-13T12:38:35Z rain3 quit (Ping timeout: 260 seconds) 2021-04-13T12:43:07Z curtosis joined #lisp 2021-04-13T12:45:30Z elflng_ joined #lisp 2021-04-13T12:46:08Z gzj quit (Read error: Connection reset by peer) 2021-04-13T12:46:26Z elflng quit (Ping timeout: 240 seconds) 2021-04-13T12:46:29Z gzj joined #lisp 2021-04-13T12:48:33Z elflng_ is now known as elflng 2021-04-13T12:48:38Z gumman quit (Read error: Connection reset by peer) 2021-04-13T12:49:07Z gumman joined #lisp 2021-04-13T12:51:31Z pagnol quit (Ping timeout: 252 seconds) 2021-04-13T12:52:04Z attila_lendvai quit (Ping timeout: 252 seconds) 2021-04-13T12:54:45Z aartaka quit (Read error: Connection reset by peer) 2021-04-13T12:54:49Z aartaka_d joined #lisp 2021-04-13T13:03:11Z Major_Biscuit quit (Ping timeout: 240 seconds) 2021-04-13T13:06:20Z orivej joined #lisp 2021-04-13T13:07:09Z gzj quit (Read error: Connection reset by peer) 2021-04-13T13:07:29Z gzj joined #lisp 2021-04-13T13:09:09Z gzj quit (Remote host closed the connection) 2021-04-13T13:09:09Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T13:09:29Z gzj joined #lisp 2021-04-13T13:10:10Z gzj quit (Read error: Connection reset by peer) 2021-04-13T13:10:30Z gzj joined #lisp 2021-04-13T13:11:26Z amb007 joined #lisp 2021-04-13T13:12:13Z gzj quit (Remote host closed the connection) 2021-04-13T13:12:32Z gzj joined #lisp 2021-04-13T13:13:11Z gzj quit (Remote host closed the connection) 2021-04-13T13:13:31Z gzj joined #lisp 2021-04-13T13:14:02Z deltab quit (Ping timeout: 246 seconds) 2021-04-13T13:16:30Z deltab joined #lisp 2021-04-13T13:17:13Z gzj quit (Read error: Connection reset by peer) 2021-04-13T13:17:32Z gzj joined #lisp 2021-04-13T13:18:08Z gzj quit (Remote host closed the connection) 2021-04-13T13:18:30Z gzj joined #lisp 2021-04-13T13:19:11Z gzj quit (Remote host closed the connection) 2021-04-13T13:19:31Z gzj joined #lisp 2021-04-13T13:21:09Z gzj quit (Remote host closed the connection) 2021-04-13T13:21:31Z gzj joined #lisp 2021-04-13T13:23:07Z gzj quit (Read error: Connection reset by peer) 2021-04-13T13:23:27Z gzj joined #lisp 2021-04-13T13:24:08Z gzj quit (Read error: Connection reset by peer) 2021-04-13T13:28:27Z nij joined #lisp 2021-04-13T13:29:26Z nij: Hi :) Can I fetch my github cl system from ql:quickload? Or I have to `git clone` it manually to my ~/quicklisp? 2021-04-13T13:30:52Z Xach: nij: you must run git clone manually. 2021-04-13T13:31:10Z Xach: or, you could do it automatically, if you write the code to automate it! 2021-04-13T13:33:38Z Major_Biscuit joined #lisp 2021-04-13T13:38:48Z xlei quit (Quit: ZNC - https://znc.in) 2021-04-13T13:39:05Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-13T13:43:44Z kini quit (Remote host closed the connection) 2021-04-13T13:45:03Z kini joined #lisp 2021-04-13T13:45:10Z xlei joined #lisp 2021-04-13T13:47:08Z phoe: nij: I think roswell automates that 2021-04-13T13:47:20Z phoe: or you could use e.g. (ql:quickload :legit) to write a function that does that for you 2021-04-13T13:48:24Z rumbler31 quit (Remote host closed the connection) 2021-04-13T13:49:09Z rumbler31 joined #lisp 2021-04-13T13:49:23Z rumbler31_ joined #lisp 2021-04-13T13:52:14Z bilegeek joined #lisp 2021-04-13T13:53:41Z drl quit (Quit: Leaving) 2021-04-13T13:54:51Z aartaka joined #lisp 2021-04-13T13:56:11Z MichaelRaskin quit (Ping timeout: 240 seconds) 2021-04-13T13:56:39Z ramHero quit (Remote host closed the connection) 2021-04-13T13:57:07Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-13T14:03:07Z a0 joined #lisp 2021-04-13T14:03:57Z Kundry_W_ joined #lisp 2021-04-13T14:04:27Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-13T14:06:11Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-13T14:06:50Z hiroaki_ joined #lisp 2021-04-13T14:10:43Z orivej quit (Ping timeout: 268 seconds) 2021-04-13T14:13:24Z MichaelRaskin joined #lisp 2021-04-13T14:14:23Z villanella joined #lisp 2021-04-13T14:14:29Z villanella quit (Remote host closed the connection) 2021-04-13T14:14:37Z nicktick joined #lisp 2021-04-13T14:21:12Z hypercube quit (Ping timeout: 268 seconds) 2021-04-13T14:21:36Z slyrus joined #lisp 2021-04-13T14:21:46Z aartaka_d joined #lisp 2021-04-13T14:24:23Z aartaka quit (Ping timeout: 246 seconds) 2021-04-13T14:25:53Z slyrus quit (Ping timeout: 240 seconds) 2021-04-13T14:25:58Z mrchampion joined #lisp 2021-04-13T14:29:47Z villanella joined #lisp 2021-04-13T14:30:12Z waleee-cl joined #lisp 2021-04-13T14:30:57Z skapata quit (Remote host closed the connection) 2021-04-13T14:33:56Z amerigo joined #lisp 2021-04-13T14:36:52Z jmercouris: nij: or you could add your system to ultra lisp and then add the ultra lisp dist to your QL 2021-04-13T14:36:59Z jmercouris: Or you could use clpm 2021-04-13T14:37:08Z jmercouris: Or you could use qlot 2021-04-13T14:37:24Z pagnol joined #lisp 2021-04-13T14:48:57Z rumbler31 quit (Ping timeout: 268 seconds) 2021-04-13T14:52:39Z _jrjsmrtn quit (Ping timeout: 268 seconds) 2021-04-13T14:53:11Z __jrjsmrtn__ joined #lisp 2021-04-13T14:55:41Z gigetoo quit (Ping timeout: 265 seconds) 2021-04-13T14:56:01Z cage_ joined #lisp 2021-04-13T14:57:57Z attila_lendvai joined #lisp 2021-04-13T14:57:57Z attila_lendvai quit (Changing host) 2021-04-13T14:57:57Z attila_lendvai joined #lisp 2021-04-13T15:01:19Z OlCe quit (Remote host closed the connection) 2021-04-13T15:02:59Z pagnol quit (Quit: ERC (IRC client for Emacs 25.2.2)) 2021-04-13T15:05:03Z charles` quit (Ping timeout: 258 seconds) 2021-04-13T15:05:40Z [mark] quit (Quit: Connection closed) 2021-04-13T15:10:39Z jcowan: beach: I worked out an answer to `read` allocating multiple empty strings. Stash the reader macro for " and replace it with one that peeks to see if the next character is also quote. If so, read the quote and return a unique empty string; if not, call the stashed macro. The only thing this breaks is if you try to use eq(l) on an empty string. 2021-04-13T15:11:34Z ebrasca joined #lisp 2021-04-13T15:12:55Z beach: That's an interesting solution. 2021-04-13T15:13:53Z klltkr quit (Ping timeout: 240 seconds) 2021-04-13T15:15:12Z nicktick quit (Ping timeout: 240 seconds) 2021-04-13T15:16:46Z ljavorsk quit (Ping timeout: 240 seconds) 2021-04-13T15:17:32Z klltkr joined #lisp 2021-04-13T15:18:03Z orivej joined #lisp 2021-04-13T15:21:21Z contrapunctus left #lisp 2021-04-13T15:22:21Z White_Flame joined #lisp 2021-04-13T15:24:24Z nij: clpm could accidentally eat my files xD 2021-04-13T15:24:32Z nij: lemme take a look at roswell 2021-04-13T15:24:32Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-13T15:24:42Z aartaka joined #lisp 2021-04-13T15:24:42Z charles` joined #lisp 2021-04-13T15:26:56Z kini quit (Remote host closed the connection) 2021-04-13T15:28:06Z mindCrime joined #lisp 2021-04-13T15:28:15Z kini joined #lisp 2021-04-13T15:28:44Z bilegeek quit (Quit: Leaving) 2021-04-13T15:29:19Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-13T15:33:12Z curtosis joined #lisp 2021-04-13T15:34:15Z OlCe joined #lisp 2021-04-13T15:34:18Z ramHero joined #lisp 2021-04-13T15:35:56Z nij left #lisp 2021-04-13T15:41:45Z attila_lendvai quit (Remote host closed the connection) 2021-04-13T15:42:07Z attila_lendvai joined #lisp 2021-04-13T15:42:30Z ramHero quit (Remote host closed the connection) 2021-04-13T15:43:19Z ramHero joined #lisp 2021-04-13T15:47:23Z aeth_ joined #lisp 2021-04-13T15:48:26Z a0 quit (Remote host closed the connection) 2021-04-13T15:48:53Z yitzi quit (Quit: yitzi) 2021-04-13T15:50:49Z aeth quit (Ping timeout: 252 seconds) 2021-04-13T15:51:02Z aeth_ is now known as aeth 2021-04-13T15:52:33Z Major_Biscuit quit (Ping timeout: 240 seconds) 2021-04-13T15:53:37Z aindilis` quit (Remote host closed the connection) 2021-04-13T15:55:15Z aindilis joined #lisp 2021-04-13T16:00:53Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-13T16:01:14Z deltab quit (Ping timeout: 252 seconds) 2021-04-13T16:01:30Z curtosis joined #lisp 2021-04-13T16:01:49Z Lycurgus joined #lisp 2021-04-13T16:01:55Z srhm joined #lisp 2021-04-13T16:08:06Z OlCe quit (Ping timeout: 260 seconds) 2021-04-13T16:11:27Z bilegeek joined #lisp 2021-04-13T16:12:26Z deltab joined #lisp 2021-04-13T16:16:01Z OlCe joined #lisp 2021-04-13T16:16:09Z long4mud joined #lisp 2021-04-13T16:16:30Z attila_lendvai_ joined #lisp 2021-04-13T16:16:59Z galex-713 quit (Ping timeout: 260 seconds) 2021-04-13T16:17:27Z attila_lendvai quit (Ping timeout: 260 seconds) 2021-04-13T16:17:38Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-13T16:18:34Z attila_lendvai_ is now known as attila_lendvai 2021-04-13T16:18:44Z attila_lendvai quit (Changing host) 2021-04-13T16:18:44Z attila_lendvai joined #lisp 2021-04-13T16:19:19Z yitzi joined #lisp 2021-04-13T16:23:52Z Lycurgus quit (Quit: Exeunt) 2021-04-13T16:24:13Z supercoven joined #lisp 2021-04-13T16:24:14Z supercoven quit (Max SendQ exceeded) 2021-04-13T16:24:28Z supercoven joined #lisp 2021-04-13T16:25:27Z dtman34 joined #lisp 2021-04-13T16:25:29Z curtosis is now known as curtosis[away] 2021-04-13T16:25:42Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-13T16:28:07Z kini quit (Remote host closed the connection) 2021-04-13T16:29:24Z kini joined #lisp 2021-04-13T16:31:41Z charles` quit (Ping timeout: 258 seconds) 2021-04-13T16:33:13Z heisig quit (Quit: Leaving) 2021-04-13T16:33:37Z galex-713 joined #lisp 2021-04-13T16:37:11Z DHARMAKAYA joined #lisp 2021-04-13T16:42:06Z OlCe quit (Remote host closed the connection) 2021-04-13T16:44:50Z dbotton: does anyone know of a "dictionary" or "thesaurus" for CL terms? 2021-04-13T16:45:13Z Bike: other than the clhs glossary? not that i can think of 2021-04-13T16:45:31Z dbotton: so let's say I wanted to say "member function" it would give the equivalent clos term 2021-04-13T16:45:51Z dbotton: ok 2021-04-13T16:45:54Z rumbler31 joined #lisp 2021-04-13T16:46:05Z Bike: oh, like for other kinds of jargon. yeah, i don't know anything like that. also i'm not sure there's any real equivalent to member functions? 2021-04-13T16:46:29Z dbotton: well it could give the aprox version or explain why not 2021-04-13T16:48:25Z luis: dbotton: is this close to what you're after? https://norvig.com/python-lisp.html 2021-04-13T16:48:25Z Bike: i suppose so. 2021-04-13T16:49:25Z dbotton: not really 2021-04-13T16:50:14Z dbotton: It is easy to look up method or generic function and then learn what that means in CL 2021-04-13T16:50:47Z dbotton: neither of which is the same as in most other languages with the same terms 2021-04-13T16:51:34Z dbotton: but if someone was coming from another language could explain the approximate mapping or why things are different 2021-04-13T16:52:17Z dbotton: I think would be helpful, maybe will try and work on. Would certainly help me be come more specific with my lisp terminology 2021-04-13T16:52:26Z scymtym_ joined #lisp 2021-04-13T16:52:41Z scymtym quit (Ping timeout: 240 seconds) 2021-04-13T16:53:18Z Bike: let's see, i suppose the main things that trip people up are CLOS, the call by value semantics, and the condition system 2021-04-13T16:53:59Z dbotton: those are main offenders yes, but when you drill down there are more more 2021-04-13T16:54:09Z dbotton: "slots" 2021-04-13T16:54:22Z Bike: ah, i suppose that is different. 2021-04-13T16:54:26Z Bike: probably packages also. 2021-04-13T16:55:05Z dbotton: also some comparisons between templates, macros, generics (ada), etc 2021-04-13T16:55:19Z dbotton: the list is fairly long 2021-04-13T16:55:40Z phoe: dbotton: you can emulate member functions with packages, in a way 2021-04-13T16:56:02Z phoe: (defclass foo:myclass ...) (defmethod foo:method1 ((myclass myclass) ...) ...) ... 2021-04-13T16:56:23Z dbotton: CL is itself the raw material of computer "language" and that lends itself to a different lingo in many ways 2021-04-13T16:56:26Z phoe: while exporting foo:myclass and foo:method1 2021-04-13T16:56:49Z phoe: but, yeah, that is not going to work very well for people who come from C++/Java/whatever single inheritance language there is 2021-04-13T16:56:52Z dbotton: of course can, that is what I mean by raw material 2021-04-13T16:57:19Z phoe: there's CLOS basics that need to be understood before becoming somewhat able with it, and the two CLOS chapters of PCL work decent with that 2021-04-13T16:57:20Z nij joined #lisp 2021-04-13T16:57:40Z nij: What could be wrong? I quickload a cl system (on guix), and this error shows up 2021-04-13T16:57:41Z nij: https://bpa.st/WCXQ 2021-04-13T16:58:13Z phoe: nij: ffi-types-unix.c:14:10: fatal error: lfp.h: No such file or directory 2021-04-13T16:58:14Z luis: lfp.h: No such file or directory seems pretty clear! 2021-04-13T16:58:17Z Bike: nij: you're missing libfixposix, i think? 2021-04-13T16:58:24Z phoe: iolib has a FFI dependen-- yes 2021-04-13T16:58:40Z tophullyte joined #lisp 2021-04-13T16:59:21Z nij: O..k.. I need to find a way to get that header file on guix then.. 2021-04-13T16:59:37Z Bike: https://guix.gnu.org/packages/libfixposix-0.4.3/ 2021-04-13T16:59:41Z varjag joined #lisp 2021-04-13T17:00:21Z nij: just curious.. how do you know that it's supposed in libfixposix? 2021-04-13T17:00:21Z norsxa quit (Quit: Connection closed for inactivity) 2021-04-13T17:00:41Z phoe: https://github.com/sionescu/iolib 2021-04-13T17:00:44Z phoe: "IOlib requires a C library named LibFixPOSIX - https://github.com/sionescu/libfixposix - and its headers in order to compile." 2021-04-13T17:00:45Z Bike: because i already knew iolib depended on libfixposix, and "lfp" is then an obvious initialism 2021-04-13T17:01:08Z nij: cool. lemme try 2021-04-13T17:03:41Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-13T17:05:18Z dhil quit (Quit: Leaving) 2021-04-13T17:05:52Z Bike: maybe it owuld be possible for iolib to be a little clearer about it, though 2021-04-13T17:06:18Z nij: Yes, it works, and gives me another error - 2021-04-13T17:06:23Z nij: Unable to load foreign library (LIBFIXPOSIX). Error opening shared object "libfixposix.so": libfixposix.so: cannot open shared object file: No such file or directory. 2021-04-13T17:06:42Z nij: I guess I'd have to teach sbcl (or cffi?) where to find the dynamical lib. 2021-04-13T17:06:56Z Bike: sbcl literally just calls dlopen 2021-04-13T17:07:12Z Bike: oh, if you just installed it you might need to call ldconfig or something 2021-04-13T17:07:36Z nij: I'm afraid it's more complicated on guix.. 2021-04-13T17:08:01Z Bike: so i've heard. but what i mean is that it's the normal posix tools that are failing to work, rather than anything in lisp. 2021-04-13T17:08:06Z nij: Since the dynamic libraries aren't installed in the usual global path. 2021-04-13T17:08:16Z Bike: you could put a bypass in lisp, ofc 2021-04-13T17:08:25Z nij: bypass? 2021-04-13T17:08:56Z Bike: https://common-lisp.net/project/cffi/manual/cffi-manual.html#g_t_002aforeign_002dlibrary_002ddirectories_002a cffi lets you manually define where libraries are 2021-04-13T17:10:12Z nij: Yeah.. it's time for me to face this thread and follow it - and hopefully it will fix the problem - https://www.mail-archive.com/bug-guix@gnu.org/msg16190.html 2021-04-13T17:10:37Z nij: I just want to make sure that it's CFFI's problem before it - cuz in the error message there's no cffi. 2021-04-13T17:10:57Z Bike: yeah, cffi just calls sbcl, which just calls dlopen 2021-04-13T17:10:57Z nij: OH actually there is.. in the backtrace. OK, then I will 2021-04-13T17:11:10Z Bike: so the error message is probably originating from sbcl somewhere 2021-04-13T17:21:15Z galex-713 left #lisp 2021-04-13T17:23:23Z slyrus joined #lisp 2021-04-13T17:23:27Z slyrus quit (Remote host closed the connection) 2021-04-13T17:29:16Z aeth quit (Ping timeout: 252 seconds) 2021-04-13T17:29:48Z kini quit (Remote host closed the connection) 2021-04-13T17:31:08Z kini joined #lisp 2021-04-13T17:31:15Z aeth joined #lisp 2021-04-13T17:32:34Z gitgood joined #lisp 2021-04-13T17:35:27Z mathrick joined #lisp 2021-04-13T17:35:27Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T17:36:08Z amb007 joined #lisp 2021-04-13T17:36:26Z Sheilong joined #lisp 2021-04-13T17:37:28Z DHARMAKAYA joined #lisp 2021-04-13T17:39:35Z surabax_ joined #lisp 2021-04-13T17:39:36Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T17:40:13Z mathrick quit (Remote host closed the connection) 2021-04-13T17:40:23Z amb007 joined #lisp 2021-04-13T17:40:48Z mathrick joined #lisp 2021-04-13T17:41:25Z cosimone joined #lisp 2021-04-13T17:42:20Z tophullyte quit (Remote host closed the connection) 2021-04-13T17:42:53Z klltkr quit (Quit: Textual IRC Client: www.textualapp.com) 2021-04-13T17:42:58Z surabax quit (Ping timeout: 240 seconds) 2021-04-13T17:44:05Z pagnol joined #lisp 2021-04-13T17:44:29Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T17:44:43Z amb007 joined #lisp 2021-04-13T17:44:43Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T17:44:59Z amb007 joined #lisp 2021-04-13T17:47:25Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T17:48:28Z amb007 joined #lisp 2021-04-13T17:50:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T17:50:59Z amb007 joined #lisp 2021-04-13T17:52:55Z amerigo quit (Quit: Connection closed for inactivity) 2021-04-13T17:53:04Z ramHero quit (Remote host closed the connection) 2021-04-13T17:55:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T17:55:30Z ramHero joined #lisp 2021-04-13T17:56:10Z amb007 joined #lisp 2021-04-13T17:58:02Z hypercube joined #lisp 2021-04-13T17:58:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T17:58:35Z pagnol quit (Ping timeout: 246 seconds) 2021-04-13T17:58:44Z Josh_2` joined #lisp 2021-04-13T17:59:15Z amb007 joined #lisp 2021-04-13T17:59:39Z gaqwas joined #lisp 2021-04-13T17:59:39Z gaqwas quit (Changing host) 2021-04-13T17:59:39Z gaqwas joined #lisp 2021-04-13T18:00:07Z Josh_2 quit (Ping timeout: 240 seconds) 2021-04-13T18:01:38Z yitzi quit (Remote host closed the connection) 2021-04-13T18:03:44Z andrei_n joined #lisp 2021-04-13T18:03:44Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T18:04:17Z amb007 joined #lisp 2021-04-13T18:04:19Z andrei-n quit (Read error: Connection reset by peer) 2021-04-13T18:04:53Z chipolux joined #lisp 2021-04-13T18:06:17Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T18:06:40Z amb007 joined #lisp 2021-04-13T18:07:12Z gpiero quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-13T18:07:29Z gpiero joined #lisp 2021-04-13T18:08:31Z diamondbond quit (Ping timeout: 260 seconds) 2021-04-13T18:10:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T18:11:24Z amb007 joined #lisp 2021-04-13T18:12:00Z yitzi joined #lisp 2021-04-13T18:12:00Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T18:12:09Z amb007 joined #lisp 2021-04-13T18:14:20Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T18:14:59Z villanella quit (Ping timeout: 250 seconds) 2021-04-13T18:15:00Z amb007 joined #lisp 2021-04-13T18:16:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T18:17:10Z amb007 joined #lisp 2021-04-13T18:18:09Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-13T18:18:29Z mathrick_ joined #lisp 2021-04-13T18:19:15Z Sauvin quit (Remote host closed the connection) 2021-04-13T18:20:46Z mathrick quit (Ping timeout: 240 seconds) 2021-04-13T18:20:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T18:21:03Z amb007 joined #lisp 2021-04-13T18:21:27Z jasom: does SBCL have operations for efficiently calculating leading zeros or leading ones of a machine word? 2021-04-13T18:22:27Z diamondbond joined #lisp 2021-04-13T18:22:33Z karlosz joined #lisp 2021-04-13T18:22:53Z flip214: clhs INTEGER-LENGTH 2021-04-13T18:22:54Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_intege.htm 2021-04-13T18:22:56Z flip214: might help 2021-04-13T18:24:21Z jasom: aha, that will do 2021-04-13T18:24:22Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T18:24:28Z flip214: sb-vm:n-fixnum-bits says 63 for me... shouldn't it be 62 significant bits? 2021-04-13T18:24:36Z jasom: will have to subtract 2021-04-13T18:24:41Z amb007 joined #lisp 2021-04-13T18:24:43Z Josh_2` quit (Remote host closed the connection) 2021-04-13T18:24:47Z jasom: flip214: I think there's a single bit for tagging, so nope? 2021-04-13T18:25:17Z flip214: jasom: I'd have thought 2 bits 2021-04-13T18:25:26Z flip214: clhs LOGCOUNT 2021-04-13T18:25:27Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_logcou.htm 2021-04-13T18:26:22Z flip214: sb-vm:n-machine-word-bits says 64 2021-04-13T18:26:47Z flip214: but yeah, sb-vm:n-fixnum-tag-bits is 1 2021-04-13T18:27:16Z jasom: (integer-length most-positive-fixnum) => 62, so given that there are negative fixnums, looks like 63 2021-04-13T18:27:48Z flip214: just wanted to paste that as well 2021-04-13T18:28:07Z chipolux quit (Quit: chipolux) 2021-04-13T18:28:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T18:28:14Z phoe: (integer-length most-negative-fixnum) ;=> 62 too 2021-04-13T18:28:23Z phoe: so looks like 1 bit tag, 1 bit sign, 62 bits left for digits 2021-04-13T18:28:30Z phoe: wait, no 2021-04-13T18:28:33Z amb007 joined #lisp 2021-04-13T18:28:48Z phoe: 1 bit tag, 62 bits encode the number in two's complement... 2021-04-13T18:28:55Z phoe thinks 2021-04-13T18:28:56Z Xach: it's an ancient trick to squeeze an extra bit 2021-04-13T18:29:21Z jasom: 1 bit tag, 63 bits encode the number in twos complement; (integer-length #xff) => 8, but clearly if you can go up to 255 with signed values it's 9 bits twos complement 2021-04-13T18:29:24Z flip214: phoe: no, you were right first time... 1 tag, 1 sign, 62 significant for both positive and negative 2021-04-13T18:29:40Z phoe: yes 2021-04-13T18:30:26Z flip214: the ol' compression trick - just remember where the 1 bits are, the 0 bits take care of themselves. applied recursively you end up with "1", which encompasses every possible meaning at once! 2021-04-13T18:30:36Z flip214: (and not 42, as some heretics might make you believe) 2021-04-13T18:33:11Z diamondbond quit (Ping timeout: 250 seconds) 2021-04-13T18:34:30Z ech joined #lisp 2021-04-13T18:37:05Z diamondbond joined #lisp 2021-04-13T18:37:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T18:37:14Z amb007 joined #lisp 2021-04-13T18:39:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T18:41:07Z amb007 joined #lisp 2021-04-13T18:44:48Z ramHero quit (Remote host closed the connection) 2021-04-13T18:49:38Z akoana joined #lisp 2021-04-13T18:49:56Z Nilby joined #lisp 2021-04-13T18:52:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T18:52:49Z ukari quit (Remote host closed the connection) 2021-04-13T18:52:59Z amb007 joined #lisp 2021-04-13T18:52:59Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T18:53:06Z diamondbond quit (Ping timeout: 240 seconds) 2021-04-13T18:53:16Z amb007 joined #lisp 2021-04-13T18:53:46Z ukari joined #lisp 2021-04-13T18:55:36Z DHARMAKAYA joined #lisp 2021-04-13T18:56:40Z jeosol joined #lisp 2021-04-13T18:58:59Z kini quit (Remote host closed the connection) 2021-04-13T19:00:15Z kini joined #lisp 2021-04-13T19:00:47Z curtosis joined #lisp 2021-04-13T19:01:38Z splittist: "Ran 14; Passed 14; Failed 0". Yay for me. 2021-04-13T19:02:23Z DHARMAKAYA quit (Read error: Connection reset by peer) 2021-04-13T19:02:37Z Elzington quit (Read error: Connection reset by peer) 2021-04-13T19:03:04Z Elzington joined #lisp 2021-04-13T19:03:15Z yitzi quit (Quit: yitzi) 2021-04-13T19:04:03Z Josh_2 joined #lisp 2021-04-13T19:04:09Z Shinmera: Heh, *exaggerated smug face* check this out: UAX-9 Total: 1'815'582 Passed: 1'815'582 (100%) Failed: 0 ( 0%) 2021-04-13T19:04:59Z ramHero joined #lisp 2021-04-13T19:05:36Z phoe: oh come on, check this out: 2021-04-13T19:05:43Z _death: for proper TDD brag you need to show that each failed first, and that the previous ones succeeded 2021-04-13T19:06:10Z contrapunctus joined #lisp 2021-04-13T19:07:50Z Shinmera: phoe: I'm trying, but it appears there is nothing to check out. 2021-04-13T19:07:50Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T19:08:21Z gumman quit (Remote host closed the connection) 2021-04-13T19:08:32Z phoe: Shinmera: hold on, it's still counting how many tests there are to run 2021-04-13T19:08:34Z amb007 joined #lisp 2021-04-13T19:08:49Z gumman joined #lisp 2021-04-13T19:09:05Z phoe: oh right, there are Heap exhausted, game over. tests to run 2021-04-13T19:09:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T19:09:17Z phoe: oops 2021-04-13T19:09:29Z amb007 joined #lisp 2021-04-13T19:09:43Z Shinmera: Anyway, in case it wasn't obvious, there are 2 million tests for UAX9, but they're all auto-generated from unicod conformance data. :) 2021-04-13T19:09:57Z gumman quit (Max SendQ exceeded) 2021-04-13T19:10:07Z Shinmera: And those in turn I'm sure are generated as well. 2021-04-13T19:10:22Z gumman joined #lisp 2021-04-13T19:11:08Z aeth: put this in a macro and win the test war... (defun generate-tests (number-of-tests) (list* '5am:test 'lots-of-tests "Win the war of having the most tests" (loop :for i :from 0 :below number-of-tests :collect `(5am:is (= ,i ,i))))) 2021-04-13T19:12:19Z klltkr joined #lisp 2021-04-13T19:12:21Z aeth: (generate-tests 2000000) ; oops, ran out of memory in SBCL... looks like it needs to be optimized more 2021-04-13T19:12:36Z aeth: I guess I could also just increase the heap size! 2021-04-13T19:12:38Z phoe: that's kinda what I tried 2021-04-13T19:12:45Z phoe: oh! I didn't try heap size expansion 2021-04-13T19:12:51Z phoe quickly makes a 500G swap file 2021-04-13T19:13:04Z aeth_ joined #lisp 2021-04-13T19:13:17Z Shinmera: the difference is that the uax tests are actually meaningful. 2021-04-13T19:13:25Z phoe: yes 2021-04-13T19:13:50Z aeth quit (Disconnected by services) 2021-04-13T19:13:52Z aeth_ is now known as aeth 2021-04-13T19:14:02Z _death: aeth: that looks like a single (failing :) test to me 2021-04-13T19:14:05Z aeth: To be fair, there is a small chance that this will catch an implementation bug. 2021-04-13T19:15:13Z mfiano: Hey Lispers, gamedevs, and the uninitiated -- it's almost time: https://itch.io/jam/spring-lisp-game-jam-2021 2021-04-13T19:15:36Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-13T19:15:39Z aeth_ joined #lisp 2021-04-13T19:15:43Z aeth quit (Disconnected by services) 2021-04-13T19:15:47Z aeth_ is now known as aeth 2021-04-13T19:15:50Z Shinmera: Hmm. If my current jam project wasn't aimed to be commercial I'd actually join for once. 2021-04-13T19:15:52Z Shinmera: Oh well! 2021-04-13T19:15:57Z amb007 quit (Read error: Connection reset by peer) 2021-04-13T19:16:48Z Josh_2: idk how to make a game so im out 2021-04-13T19:16:58Z Shinmera: you write the code 2021-04-13T19:17:01Z Shinmera: and then the thing moves 2021-04-13T19:17:04Z amb007 joined #lisp 2021-04-13T19:17:14Z contrapunctus: I've been looking into making a game for the last three days, but I'm new to both game dev and Common Lisp :\ (and not a very experienced programmer either) 2021-04-13T19:17:25Z Shinmera: sometimes the thing only moves in your mind, but it's still a game! 2021-04-13T19:17:27Z aeth_ joined #lisp 2021-04-13T19:17:33Z aeth quit (Disconnected by services) 2021-04-13T19:17:35Z aeth_ is now known as aeth 2021-04-13T19:19:55Z mfiano: The point of the jam is not to make a game, oddly enough. 2021-04-13T19:22:45Z Shinmera: I made games in Fortran when I was 5, it's not hard to make /a/ game. It's hard to make a game with high production values and comparable to commercial games you might be envisioning. 2021-04-13T19:22:49Z mfiano: The idea is to practice. Even if you don't finish something, it is still desirable to submit it, as it gives you something to look back on to get a sense of your progression, and it also gives other people a base on which to work on, or ideas for their own future submissions. 2021-04-13T19:23:06Z Shinmera: Either way the point is you can make a game, just lower your expectations. 2021-04-13T19:23:54Z bitmapper joined #lisp 2021-04-13T19:24:33Z Xach: I think like many endeavors it can be daunting to understand how to break down into completable individual pieces that, if you complete enough, results in a complete product/project 2021-04-13T19:24:56Z mfiano: So, you could just take an existing game, from past jams or GitHub etc, modify it, study it to learn how it works, and perhaps get a better idea of gamedev in general and some ideas you'd like to execute in the future. 2021-04-13T19:25:16Z Xach: (Which is part of the magic - when you see something and can instantly figure out how it's done, it is hard to be very delighted...) 2021-04-13T19:25:52Z mfiano: It's quite intimidating to try to make a game as a beginner in a public jam with a time limit. That is not the point at all though...the point is to learn and have fun :) 2021-04-13T19:27:59Z mfiano: Would like to see Xach try sometime :) 2021-04-13T19:28:37Z Xach: The desire to make games led to my interest in computers, but I don't enjoy games nearly as much as I used to :~( 2021-04-13T19:28:48Z mfiano: _death said he might too. I'd like to see longtime lispers that never participated try. 2021-04-13T19:29:01Z Xach: I'd like to try someday anyway though! 2021-04-13T19:29:08Z mfiano: Xach: Same here, I don't like playing games, but it is incredibly interesting to code them. 2021-04-13T19:29:21Z Shinmera: I can offer more assistance with Trial than usual this and next week if someone wants to give it a shot using it. 2021-04-13T19:29:45Z _death: mfiano: I did participate in a lisp game jam once :) 2021-04-13T19:29:53Z _death: mfiano: though I didn't see it on the lispgames wiki 2021-04-13T19:29:54Z ramHero quit (Remote host closed the connection) 2021-04-13T19:30:03Z mfiano: _death: Oh I don't recall, just recall that you said you might this time :) 2021-04-13T19:30:06Z _death: mfiano: (ql:quickload "consix") (consix:game) 2021-04-13T19:30:13Z aeth: The games I liked the most (especially as a teenager) tended to be massive time sinks, so I just stay away from them entirely. And I don't try games that have patterns like that, especially if you have to log in daily/weekly (quite a few AAA games now), if you have things you need to constantly defend from raids (most survival games), etc. 2021-04-13T19:30:20Z aeth: I only play games that you can just jump in and jump out 2021-04-13T19:31:02Z aeth: So for me personally, it's not that I don't like games anymore, it's that I try not to like games too much anymore. 2021-04-13T19:31:50Z bilegeek quit (Quit: Leaving) 2021-04-13T19:32:06Z _death: mfiano: also try (ql:quickload "towers") (towers:game) 2021-04-13T19:32:13Z aeth_ joined #lisp 2021-04-13T19:32:20Z aeth quit (Disconnected by services) 2021-04-13T19:32:22Z mfiano: _death: I see. 2010 was before my time as a host, when I was just a few years into Lisp at that point, and not sure I was doing games. 2021-04-13T19:32:31Z aeth_ is now known as aeth 2021-04-13T19:32:37Z _death: mfiano: but, right now I'm compiling aseprite.. so it's one step closer to participation 2021-04-13T19:32:40Z Xach: I like visual toys and interactivity, so maybe that would be my way in... 2021-04-13T19:32:52Z mfiano: Xach: go for it! 2021-04-13T19:33:07Z cage_ quit (Quit: Leaving) 2021-04-13T19:34:13Z ramHero joined #lisp 2021-04-13T19:34:49Z mfiano: I'd just like to see more COmmon Lispers participate. Too many Lua/Fennel Lisp games :) 2021-04-13T19:35:05Z Xach: boo 2021-04-13T19:35:19Z Xach: 500 meg binary or bust 2021-04-13T19:35:21Z mfiano: I've thought about making the first of the bi-annual jams CL only, but then I don't think we'd get anyone but borodust :) 2021-04-13T19:39:42Z ramHero quit (Remote host closed the connection) 2021-04-13T19:40:16Z Nilby: I already have 7 unfinished lisp games, and the 3 that I finished were very un-fun, so I'm not sure working on games as an anti-burnout tactic has worked. 2021-04-13T19:41:01Z nij left #lisp 2021-04-13T19:43:25Z scymtym joined #lisp 2021-04-13T19:44:10Z Nilby: Presumably results would be better with intrinsic motivation, rather than boredom with other things. 2021-04-13T19:47:21Z memories_ joined #lisp 2021-04-13T19:48:13Z jborg joined #lisp 2021-04-13T19:50:36Z _death: mfiano: I also have some tic-80 w/ ecl thing.. it was some years ago, but maybe someone wants to pick it up 2021-04-13T19:51:23Z Lord_of_Life_ joined #lisp 2021-04-13T19:52:48Z mfiano: Maybe, I have never messed with tic-80 myself 2021-04-13T19:52:56Z mfiano: Nor ecl for that matter 2021-04-13T19:53:00Z Xach: tic-80 is nice. very very short feedback loop. 2021-04-13T19:53:14Z _death: well https://github.com/death/TIC-80 is the repo 2021-04-13T19:53:30Z Bike: quick question - i was looking at tic-80 before - it's not an actual virtual machine is it? like it doesn't have a bytecode ISA or something, you can write code in whatever 2021-04-13T19:53:31Z _death: I even added paren highlighting ;) 2021-04-13T19:53:58Z mfiano: Do you have to cherry pick through 1527 commits? :) 2021-04-13T19:54:04Z Lord_of_Life quit (Ping timeout: 252 seconds) 2021-04-13T19:54:06Z _death: Bike: from what I remember it just embedded a js/lua engine 2021-04-13T19:54:10Z surabax_ quit (Quit: Leaving) 2021-04-13T19:54:24Z Bike: ok yeah, that's what it looked like. i think i had it in my head that it was an actual VM 2021-04-13T19:54:29Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-13T19:54:40Z luis: Has anyone built a Docker container with ALL THE LISPS? 2021-04-13T19:55:58Z phoe: luis: https://common-lisp.net/project/cl-docker-images/ ? 2021-04-13T19:56:52Z _death: mfiano: I've not kept up with tic-80.. it was just when it was made public (hence only 60 commits in that repo).. it seemed pretty functional back then though 2021-04-13T19:57:39Z andrei_n quit (Quit: Leaving) 2021-04-13T19:57:44Z luis: phoe: 5 Lisps is not all the Lisps but it's a rather nice start! 2021-04-13T20:00:13Z mfiano: All the lisps is a lot of lisps 2021-04-13T20:00:22Z mfiano: Forget TIC-80, need the TI-80 too :) 2021-04-13T20:01:54Z contrapunctus left #lisp 2021-04-13T20:06:11Z shka_ quit (Ping timeout: 240 seconds) 2021-04-13T20:07:32Z luis: Hmm, although the site only lists CMUCL, ECL, SBCL, ABCL and CCL, https://gitlab.common-lisp.net/asdf/asdf/-/blob/master/gitlab-ci.yml suggests there's a CLISP image too. 2021-04-13T20:08:15Z curtosis joined #lisp 2021-04-13T20:09:17Z pranavats quit (Quit: Gateway shutdown) 2021-04-13T20:11:45Z jborg quit (Quit: Connection closed) 2021-04-13T20:12:16Z nij joined #lisp 2021-04-13T20:12:41Z gaqwas quit (Ping timeout: 260 seconds) 2021-04-13T20:13:02Z nij: Weird.. in my stumpwm config, I have (when (ignore-errors (ql:quickload :some-package)) (progn (defcommand ..))) 2021-04-13T20:13:22Z nij: So when :some-package fails to load, the progn block doesn't get evaluated. 2021-04-13T20:13:31Z Bike: but you get a read error anyway? 2021-04-13T20:13:37Z nij: However, defcommand does get evaluated! And the other sub-blocks do not! 2021-04-13T20:13:41Z orivej quit (Ping timeout: 240 seconds) 2021-04-13T20:13:52Z nij: Could it be that defcommand is a macro that leaks? Is it even possible? 2021-04-13T20:13:52Z Bike: oh. dang, my crystal ball is off today 2021-04-13T20:14:31Z Bike: leaks as in modifies the surrounding context in this way? no, t hat's not possible. 2021-04-13T20:14:40Z Bike: what do you mean by "the other sub-blocks" 2021-04-13T20:14:43Z Bike: the other forms in the progn? 2021-04-13T20:14:56Z scymtym_ quit (Remote host closed the connection) 2021-04-13T20:19:13Z jasom: my brain is not working today. How does one print a zero-padded integer with format? 2021-04-13T20:19:33Z Bike: "3,'0d" i think? 2021-04-13T20:19:49Z jasom: Bike: that gives e.g. 0-3 for negative 3 2021-04-13T20:20:05Z Bike: huh, so it does. 2021-04-13T20:20:41Z narimiran quit (Ping timeout: 246 seconds) 2021-04-13T20:23:39Z _death: you could do something yucky like (format t "~A~3,'0D" (if (minusp x) "-" "") (abs x)) 2021-04-13T20:24:16Z Bike: yeah, it doesn't seem like there's a ~d incantation here 2021-04-13T20:24:49Z jasom: _death: that gives the behavior like C's "%.3d" but still not like C's "%03d" (the former prints 3 digits, the later 3 characters) 2021-04-13T20:25:21Z Bike: throw in v and subtract 1 from the digit count if it's negative 2021-04-13T20:25:26Z Bike: really sucks at that point though 2021-04-13T20:25:37Z jasom: this might be a job for ~/ 2021-04-13T20:25:57Z luis: https://github.com/splittist/printfcl *runs away* 2021-04-13T20:26:01Z splittist: (printfcl:printf "%03d" thing) 2021-04-13T20:26:07Z splittist: (: 2021-04-13T20:26:07Z Xach: lol 2021-04-13T20:31:13Z Krystof: do you have a compiler macro to turn constant-printf-string printfs into constant-format-string format controls? 2021-04-13T20:35:34Z splittist: Krystof: no. The forthcoming scanfcl does compile its control string, though. 2021-04-13T20:36:16Z hypercube quit (Ping timeout: 252 seconds) 2021-04-13T20:37:26Z aartaka_d joined #lisp 2021-04-13T20:40:25Z Cthulhux quit (Quit: ne praeteriverit priusquam obesa cantaverit) 2021-04-13T20:40:31Z Krystof: (format t "~:[~3,'0D~;-~2,'0D~]" (minusp x) (abs x)) ; for what it's worth 2021-04-13T20:41:16Z aartaka quit (Ping timeout: 265 seconds) 2021-04-13T20:41:30Z luis chuckles 2021-04-13T20:42:20Z gaqwas joined #lisp 2021-04-13T20:42:20Z gaqwas quit (Changing host) 2021-04-13T20:42:20Z gaqwas joined #lisp 2021-04-13T20:48:22Z X-Scale quit (Ping timeout: 252 seconds) 2021-04-13T20:49:19Z X-Scale joined #lisp 2021-04-13T20:51:02Z anticrisis joined #lisp 2021-04-13T20:51:56Z villanella joined #lisp 2021-04-13T20:52:30Z villanella quit (Client Quit) 2021-04-13T20:53:56Z Cthulhux joined #lisp 2021-04-13T21:00:07Z karlosz quit (Quit: karlosz) 2021-04-13T21:00:38Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-13T21:00:57Z lotuseater: i learned today for what SYMBOL-MACROLET not to use :) had often something like (aref e k) in a function with even SETF and thought, oh hm, so use (symbol-macrolet ((e_k '(aref e k))) ...) 2021-04-13T21:01:06Z klltkr joined #lisp 2021-04-13T21:01:07Z lotuseater: but labeling readmacros did it then ^^ 2021-04-13T21:01:25Z klltkr quit (Client Quit) 2021-04-13T21:02:00Z klltkr joined #lisp 2021-04-13T21:02:13Z klltkr quit (Client Quit) 2021-04-13T21:05:12Z scymtym quit (Ping timeout: 252 seconds) 2021-04-13T21:07:01Z _death: it's fine to use that.. except that extraneous quote 2021-04-13T21:07:44Z lotuseater: ah i thought it has to be a symbolic expression 2021-04-13T21:08:14Z karlosz joined #lisp 2021-04-13T21:10:42Z gaqwas quit (Ping timeout: 252 seconds) 2021-04-13T21:11:18Z lotuseater: oh cool thanks. sometimes those are really useful 2021-04-13T21:12:55Z lotuseater: but hm, the other thing was, translating an algorithm with three closures and that use same parameter names as declared for lexical scope in the main algorithm ^^ how does FLET handle that? 2021-04-13T21:14:04Z lotuseater: being more concrete, it was this: https://en.wikipedia.org/wiki/Jacobi_eigenvalue_algorithm#Algorithm 2021-04-13T21:14:43Z attila_lendvai quit (Ping timeout: 260 seconds) 2021-04-13T21:15:22Z vaporatorius__ joined #lisp 2021-04-13T21:17:01Z _death: not sure what you're asking.. this pseudocode looks like it could use some factoring.. I'd start by pulling those functions out 2021-04-13T21:17:59Z _death: that makes it easier to test things in the repl 2021-04-13T21:18:58Z vaporatorius quit (Ping timeout: 265 seconds) 2021-04-13T21:20:54Z Shinmera: Or just use one of a bunch of matrix libraries that can already compute eigenvalues 2021-04-13T21:26:19Z pve quit (Quit: leaving) 2021-04-13T21:31:59Z karlosz quit (Quit: karlosz) 2021-04-13T21:33:38Z lotuseater: yes it does need refactoring :D 2021-04-13T21:33:59Z lotuseater: Shinmera: that's not the point :) 2021-04-13T21:37:27Z DHARMAKAYA joined #lisp 2021-04-13T21:37:53Z elderK joined #lisp 2021-04-13T21:38:40Z kini quit (Remote host closed the connection) 2021-04-13T21:39:58Z kini joined #lisp 2021-04-13T21:46:26Z lowryder quit (Ping timeout: 246 seconds) 2021-04-13T21:48:42Z scymtym joined #lisp 2021-04-13T21:48:44Z lowryder joined #lisp 2021-04-13T21:50:32Z rumbler31_ quit (Ping timeout: 240 seconds) 2021-04-13T21:51:47Z skapata joined #lisp 2021-04-13T21:55:04Z curtosis is now known as curtosis[away] 2021-04-13T21:55:12Z srhm quit (Ping timeout: 240 seconds) 2021-04-13T21:56:47Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-13T21:57:12Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-13T21:58:30Z sebasmonia joined #lisp 2021-04-13T21:59:40Z pranavats joined #lisp 2021-04-13T21:59:51Z srhm joined #lisp 2021-04-13T22:03:21Z contrapunctus joined #lisp 2021-04-13T22:04:06Z sebasmonia quit (Quit: rcirc on GNU Emacs 28.0.50) 2021-04-13T22:04:40Z hypercube joined #lisp 2021-04-13T22:08:41Z ioa: Hi everyone, if you're interested in talking about the ELS, SAL9000 made a room for it: #elsconf 2021-04-13T22:09:37Z ioa: Especially the presence of marco heisig (no bouncer? I forgot his nick), easye and phoe would be very much appreciated, as they have all the info. :) 2021-04-13T22:09:59Z phoe: gasp! #els2021 now has competition 2021-04-13T22:10:58Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-13T22:11:04Z ioa: phoe, oh, I didn't know about #els2021, there was a discussion about this years els in the old room els2020, and SAL9000 made elsconf so we don't create a room every year. 2021-04-13T22:11:16Z ioa: *year's 2021-04-13T22:12:01Z phoe: sure, sounds good! let's discuss the channel setup when everyone (including me) is awake tomorrow 2021-04-13T22:12:24Z ioa: sounds good, good night! 2021-04-13T22:14:23Z mathrick joined #lisp 2021-04-13T22:14:39Z mathrick_ quit (Read error: Connection reset by peer) 2021-04-13T22:15:16Z varjag quit (Ping timeout: 252 seconds) 2021-04-13T22:19:16Z mathrick_ joined #lisp 2021-04-13T22:19:52Z mathrick quit (Ping timeout: 265 seconds) 2021-04-13T22:20:48Z aeth_ joined #lisp 2021-04-13T22:22:06Z karlosz joined #lisp 2021-04-13T22:23:31Z aeth quit (Ping timeout: 252 seconds) 2021-04-13T22:23:43Z aeth_ is now known as aeth 2021-04-13T22:28:08Z frgo_ quit (Remote host closed the connection) 2021-04-13T22:28:34Z frgo joined #lisp 2021-04-13T22:29:08Z HDurer quit (Ping timeout: 246 seconds) 2021-04-13T22:29:51Z xsperry quit (Ping timeout: 260 seconds) 2021-04-13T22:31:36Z ryanbw joined #lisp 2021-04-13T22:33:52Z DHARMAKAYA quit (Ping timeout: 240 seconds) 2021-04-13T22:35:12Z random-nick quit (Ping timeout: 240 seconds) 2021-04-13T22:38:55Z Nilby quit (Ping timeout: 258 seconds) 2021-04-13T22:39:46Z varjag joined #lisp 2021-04-13T22:43:10Z hjudt quit (Ping timeout: 268 seconds) 2021-04-13T22:45:00Z varjag quit (Ping timeout: 265 seconds) 2021-04-13T22:45:07Z luckless joined #lisp 2021-04-13T22:45:55Z imode joined #lisp 2021-04-13T22:55:41Z White_Flame quit (Ping timeout: 240 seconds) 2021-04-13T22:59:44Z xsperry joined #lisp 2021-04-13T23:01:25Z White_Flame joined #lisp 2021-04-13T23:02:12Z karlosz quit (Quit: karlosz) 2021-04-13T23:08:33Z karlosz joined #lisp 2021-04-13T23:29:14Z bilegeek joined #lisp 2021-04-13T23:29:51Z kini quit (Remote host closed the connection) 2021-04-13T23:31:10Z kini joined #lisp 2021-04-13T23:31:41Z indathrone quit (Remote host closed the connection) 2021-04-13T23:33:33Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-13T23:33:35Z indathrone joined #lisp 2021-04-13T23:35:29Z lotuseater quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-13T23:35:39Z hendursa1 joined #lisp 2021-04-13T23:37:36Z ebrasca quit (Remote host closed the connection) 2021-04-13T23:42:38Z indathrone quit (Quit: Leaving) 2021-04-13T23:50:52Z xsperry quit (Remote host closed the connection) 2021-04-13T23:57:11Z mindCrime joined #lisp 2021-04-14T00:03:28Z igemnace joined #lisp 2021-04-14T00:05:54Z karlosz quit (Quit: karlosz) 2021-04-14T00:08:25Z karlosz joined #lisp 2021-04-14T00:10:32Z contrapunctus left #lisp 2021-04-14T00:26:04Z rumbler31 quit (Remote host closed the connection) 2021-04-14T00:26:20Z rumbler31 joined #lisp 2021-04-14T00:27:40Z karlosz quit (Quit: karlosz) 2021-04-14T00:31:35Z nicktick joined #lisp 2021-04-14T00:32:19Z rumbler31 quit (Remote host closed the connection) 2021-04-14T00:33:07Z rumbler31 joined #lisp 2021-04-14T00:34:25Z cosimone quit (Read error: Connection reset by peer) 2021-04-14T00:37:36Z ukari quit (Remote host closed the connection) 2021-04-14T00:38:00Z nij: Oh no Bike sorry I missed your message as my friend called. Feeling bad :( 2021-04-14T00:38:25Z nij: >> Weird.. in my stumpwm config, I have (when (ignore-errors (ql:quickload :some-package)) (progn (defcommand ..))) 2021-04-14T00:38:51Z ukari joined #lisp 2021-04-14T00:39:01Z nij: When :some-package is not presented, (defcommand) was still evaluated, leading to an error. 2021-04-14T00:39:25Z nij: I was wondering if defcommand is some macro that might "leak". 2021-04-14T00:40:18Z nij: So I did put (progn (setf test 123) (defcommand ... something that will fail)).. 2021-04-14T00:41:17Z amontero joined #lisp 2021-04-14T00:41:18Z nij: The package :some-package was not presented, so (progn..) shouldn't be evaluated (indeed, TEST wasn't set to 123). However, (defcommand..) was evaluated and led to another error. 2021-04-14T00:43:10Z gitgood quit (Remote host closed the connection) 2021-04-14T00:51:23Z karlosz joined #lisp 2021-04-14T00:54:53Z akoana left #lisp 2021-04-14T01:03:37Z jasom: is it possible to sign-extend a number, given a desired bitwidth? i.e. treat a positive number as being the unsigned representation of a twos-complement value? 2021-04-14T01:03:48Z jasom: so e.g. (foo #xff 8) => -1 2021-04-14T01:05:52Z xsperry joined #lisp 2021-04-14T01:06:00Z xsperry quit (Changing host) 2021-04-14T01:06:00Z xsperry joined #lisp 2021-04-14T01:06:43Z MIF joined #lisp 2021-04-14T01:08:06Z moon-child: (defun foo (n b) (let ((m (1- (expt 2 (1- b))))) (if (< n m) n (- m n))) 2021-04-14T01:08:20Z pagnol joined #lisp 2021-04-14T01:08:42Z jasom: right, but nothing builtin for that? 2021-04-14T01:08:55Z DHARMAKAYA joined #lisp 2021-04-14T01:08:59Z quazimodo joined #lisp 2021-04-14T01:09:06Z pagnol: morning 2021-04-14T01:09:07Z moon-child: err, s/ #'when # 2021-04-14T03:26:20Z no-defun-allowed: Try it on Clozure. 2021-04-14T03:26:43Z nij: Bike, well, but that form shouldn't even been touched, right? 2021-04-14T03:26:44Z Bike: it is an error to use function on a symbol that denotes a macro or special form 2021-04-14T03:26:48Z nij: Cuz the predicate fails. 2021-04-14T03:27:06Z Bike: the form that is read is the _entire_ form 2021-04-14T03:27:07Z no-defun-allowed: ...or ECL, or ABCL, or CLISP even. 2021-04-14T03:27:08Z nij: Bike: how would you address a macro or a special form? 2021-04-14T03:27:14Z no-defun-allowed: "The macro WHEN" 2021-04-14T03:27:20Z Bike: it reads the whole thing at once. (when ... (recording:prompt-recording) ...) 2021-04-14T03:27:44Z Bike: and yes, you could just say "the macro WHEN". to get the macro function you would do (macro-function 'when) 2021-04-14T03:27:54Z nij: Bike: if it's just READing.. then it should read RECORDING:PROMPT-RECORDING as a symbol, without issue, no? 2021-04-14T03:28:05Z Bike: the reader cannot handle symbols from unknown packages 2021-04-14T03:28:28Z Bike: because packages can use other packages, it is not clear what package a qualified symbol actually belongs to until the package is defined 2021-04-14T03:28:44Z nij: OH! 2021-04-14T03:28:49Z nij: Yay thanks that clarifies! 2021-04-14T03:28:53Z nij: CL-USER> (when nil h:hiiii); Debugger entered on # 2021-04-14T03:29:03Z nij: Now I understand. Thank you very much :) 2021-04-14T03:29:03Z Bike: mhm 2021-04-14T03:29:25Z Bike: i don't know what's going on with the defcommand thing though. all i can guess is you have persistent state between trials messing things up. 2021-04-14T03:29:39Z nij: no then defcommand isn't the problem 2021-04-14T03:29:42Z nij: it's not evaluated 2021-04-14T03:29:47Z nij: my problem was that error 2021-04-14T03:29:53Z Bike: ok, great. 2021-04-14T03:29:57Z nij: then .. how to workaround this? 2021-04-14T03:30:13Z nij: on some machine i don't expect the package to be loaded correctly 2021-04-14T03:30:23Z nij: if that's the case, I don't intend to load config for it 2021-04-14T03:30:24Z Bike: you could do some annoying things with find-symbol, like (funcall (find-symbol "PROMPT-RECORDING" "RECORDING")) 2021-04-14T03:30:40Z Bike: then the symbol won't actually be looked up until the form is evaluated, so the reader won't complain 2021-04-14T03:31:08Z nij: I mean.. only want that config when the package is loaded correctly 2021-04-14T03:31:12Z Bike: right 2021-04-14T03:31:15Z nij: otherwise, skip that piece of config 2021-04-14T03:31:29Z Bike: so i mean if you do the find-symbol thing, it will do what you're trying to do here, i think 2021-04-14T03:31:35Z Bike: none of that code will be evaluated if the quickload failed 2021-04-14T03:31:49Z Bike: but the reader won't complain 2021-04-14T03:31:54Z nij: I need to write recording:prompt-recording somewhere in the code, no? 2021-04-14T03:32:00Z Bike: No 2021-04-14T03:32:10Z Bike: Try (find-symbol "PROMPT-RECORDING" "RECORDING") in the repl 2021-04-14T03:32:15Z Bike: or (find-symbol "MAX" "CL") or something 2021-04-14T03:32:20Z Bike: you get the symbol back. 2021-04-14T03:32:33Z Bike: it will look it up at runtime, rather than at read time 2021-04-14T03:32:54Z Bike: so, if the quickload fails, the find-symbol will not be evaluated, so the symbol is not looked up, so there's no problem 2021-04-14T03:34:04Z nij: and if it succeeds, the find-symbol will return the right symbol, which will in turn be evaluated? 2021-04-14T03:34:09Z nij: and the config is loaded? 2021-04-14T03:34:44Z Bike: uhhuh. 2021-04-14T03:35:20Z nij: ((find-symbol "+" "CL") 1 1) => error 2021-04-14T03:35:22Z nij: no.. 2021-04-14T03:36:01Z mfiano: This isn't scheme 2021-04-14T03:36:03Z Bike: funcall 2021-04-14T03:36:14Z Bike: did you see the funcall? when i write things i mean them to be involved 2021-04-14T03:36:21Z Bike: (funcall (find-symbol "+" "CL") 1 1) 2021-04-14T03:36:33Z nij: OHOHok of course 2021-04-14T03:36:45Z nij: thanks! learned a lot :) 2021-04-14T03:36:54Z nij: I was quite confused. Now i'm fine! 2021-04-14T03:36:57Z Bike: glad to be of assistance 2021-04-14T03:37:01Z nij: <3 GN 2021-04-14T03:45:28Z orivej joined #lisp 2021-04-14T03:49:56Z curtosis[away] joined #lisp 2021-04-14T03:51:46Z nicktick quit (Ping timeout: 240 seconds) 2021-04-14T03:54:37Z pagnol quit (Ping timeout: 252 seconds) 2021-04-14T03:55:48Z nicktick joined #lisp 2021-04-14T03:58:15Z Bike quit (Quit: Lost terminal) 2021-04-14T03:59:14Z Iolo quit (Quit: ZNC 1.7.5+deb4 - https://znc.in) 2021-04-14T04:01:35Z Iolo joined #lisp 2021-04-14T04:01:59Z orivej quit (Ping timeout: 268 seconds) 2021-04-14T04:04:37Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-14T04:08:57Z lawt joined #lisp 2021-04-14T04:11:18Z hypercube quit (Ping timeout: 240 seconds) 2021-04-14T04:14:08Z contrapunctus joined #lisp 2021-04-14T04:14:10Z contrapunctus: I'm writing something dealing with vCard data, and it seems the only result for the only Lisp library for it is here. The link is dead and I can't find the project anywhere else :\ https://old.reddit.com/r/lisp/comments/qk3ag/clvcard_parsing_vcard_with_common_lisp/ 2021-04-14T04:16:35Z chipolux quit (Quit: chipolux) 2021-04-14T04:21:55Z Oladon quit (Quit: Leaving.) 2021-04-14T04:24:09Z Oladon joined #lisp 2021-04-14T04:32:34Z mindCrime quit (Ping timeout: 252 seconds) 2021-04-14T04:34:27Z sp41 quit (Remote host closed the connection) 2021-04-14T04:37:11Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-14T04:41:30Z chipolux joined #lisp 2021-04-14T04:50:33Z contrapunctus left #lisp 2021-04-14T04:51:47Z contrapunctus joined #lisp 2021-04-14T04:54:42Z contrapunctus left #lisp 2021-04-14T04:54:52Z contrapunctus joined #lisp 2021-04-14T04:55:21Z aartaka quit (Ping timeout: 260 seconds) 2021-04-14T04:57:05Z contrapunctus left #lisp 2021-04-14T04:57:23Z contrapunctus joined #lisp 2021-04-14T04:57:43Z fiddlerwoaroof: contrapunctus: I've recently used soiree ( https://github.com/slyrus/soiree ) for this sort of thing 2021-04-14T04:58:41Z fiddlerwoaroof: I ended up writing my own ics parser, though, because I wanted a streaming-style parser, rather than instantiating objects for the whole calendar in memory 2021-04-14T04:59:06Z contrapunctus: fiddlerwoaroof: whoa, thanks a lot 2021-04-14T05:01:20Z fiddlerwoaroof: If you need to handle ics files only, I have this: https://github.com/fiddlerwoaroof/lisp-sandbox/blob/master/ical-parser.lisp 2021-04-14T05:02:47Z fiddlerwoaroof: I might actually have something more "production quality": this is in my experiments repo 2021-04-14T05:03:28Z gaqwas joined #lisp 2021-04-14T05:03:29Z gaqwas quit (Changing host) 2021-04-14T05:03:29Z gaqwas joined #lisp 2021-04-14T05:04:01Z Oladon quit (Read error: Connection reset by peer) 2021-04-14T05:04:50Z fiddlerwoaroof: https://github.com/fiddlerwoaroof/aion/blob/master/build-tree.lisp 2021-04-14T05:05:03Z fiddlerwoaroof: This project is my more fleshed-out version 2021-04-14T05:05:53Z fiddlerwoaroof: No docs yet (sorry), but this is an example of the protocol I've designed to process the stream of data from an iCalendar format file 2021-04-14T05:05:53Z Oladon joined #lisp 2021-04-14T05:06:39Z aartaka joined #lisp 2021-04-14T05:06:52Z fiddlerwoaroof: I also have a version that generates an sqlite db because I really like https://datasette.io for data exploration 2021-04-14T05:07:03Z fiddlerwoaroof: ^ contrapunctus 2021-04-14T05:09:26Z aartaka_d joined #lisp 2021-04-14T05:09:36Z Nilby joined #lisp 2021-04-14T05:13:31Z aartaka quit (Ping timeout: 268 seconds) 2021-04-14T05:19:41Z hjudt joined #lisp 2021-04-14T05:27:50Z sauvin joined #lisp 2021-04-14T05:37:08Z contrapunctus left #lisp 2021-04-14T05:37:21Z contrapunctus joined #lisp 2021-04-14T05:46:00Z andrei-n joined #lisp 2021-04-14T05:46:04Z HDurer joined #lisp 2021-04-14T05:51:37Z skapata quit (Remote host closed the connection) 2021-04-14T06:00:47Z Kundry_Wag joined #lisp 2021-04-14T06:04:26Z narimiran joined #lisp 2021-04-14T06:05:12Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-14T06:05:26Z Oladon quit (Quit: Leaving.) 2021-04-14T06:06:23Z ramHero joined #lisp 2021-04-14T06:06:26Z curtosis[away] joined #lisp 2021-04-14T06:08:12Z indathrone joined #lisp 2021-04-14T06:08:54Z ljavorsk joined #lisp 2021-04-14T06:09:33Z gaqwas quit (Ping timeout: 260 seconds) 2021-04-14T06:13:32Z narimiran quit (Ping timeout: 265 seconds) 2021-04-14T06:16:15Z narimiran joined #lisp 2021-04-14T06:18:19Z abhixec joined #lisp 2021-04-14T06:20:53Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-14T06:21:23Z aartaka joined #lisp 2021-04-14T06:22:42Z chipolux quit (Quit: chipolux) 2021-04-14T06:24:13Z aartaka_d quit (Ping timeout: 252 seconds) 2021-04-14T06:33:25Z Shinmera: There's also my https://shinmera.github.io/iclendar 2021-04-14T06:34:07Z attila_lendvai joined #lisp 2021-04-14T06:34:07Z attila_lendvai quit (Changing host) 2021-04-14T06:34:07Z attila_lendvai joined #lisp 2021-04-14T06:34:09Z theruran quit (Ping timeout: 245 seconds) 2021-04-14T06:34:34Z gendl quit (Ping timeout: 245 seconds) 2021-04-14T06:34:41Z selwyn quit (Read error: Connection reset by peer) 2021-04-14T06:34:44Z rme quit (Ping timeout: 180 seconds) 2021-04-14T06:34:50Z mpontillo quit (Ping timeout: 258 seconds) 2021-04-14T06:35:47Z jmercouris quit (Ping timeout: 245 seconds) 2021-04-14T06:35:47Z rme quit (Ping timeout: 245 seconds) 2021-04-14T06:36:25Z gendl joined #lisp 2021-04-14T06:36:27Z selwyn joined #lisp 2021-04-14T06:36:39Z mpontillo joined #lisp 2021-04-14T06:36:39Z theruran joined #lisp 2021-04-14T06:37:14Z rme joined #lisp 2021-04-14T06:37:16Z jmercouris joined #lisp 2021-04-14T06:40:37Z contrapunctus: Shinmera: I figured I'd at least update the licenses for your projects on awesome-cl - and there are so many! Talk about prolific 🤯 2021-04-14T06:41:33Z Shinmera: too many, some would argue 2021-04-14T06:46:13Z imode quit (Ping timeout: 252 seconds) 2021-04-14T06:49:49Z random-nick joined #lisp 2021-04-14T06:50:01Z cchristiansen joined #lisp 2021-04-14T06:50:23Z indathrone quit (Remote host closed the connection) 2021-04-14T06:50:42Z indathrone joined #lisp 2021-04-14T07:01:09Z orivej joined #lisp 2021-04-14T07:01:37Z aartaka_d joined #lisp 2021-04-14T07:02:15Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-14T07:02:27Z fiddlerwoaroof: Shinmera: I guess I should have checked your repos first :) 2021-04-14T07:02:40Z fiddlerwoaroof: I made the mistake of just checking Cliki 2021-04-14T07:02:52Z aartaka quit (Ping timeout: 240 seconds) 2021-04-14T07:03:49Z fiddlerwoaroof: Although, I think your library is the inverse of mine: I only support parsing ics, you only seem to support generating it 2021-04-14T07:04:06Z Shinmera: Yes, I never got around to implementing parsing. 2021-04-14T07:04:17Z Posterdati quit (Ping timeout: 265 seconds) 2021-04-14T07:05:27Z fiddlerwoaroof: I consulted the RFC for mine, but I didn't implement everything: I implemented what was necessary to parse my work calendar and a couple random calendars I found online 2021-04-14T07:05:42Z Shinmera: As usual with RFCs the spec is absolutely insane 2021-04-14T07:05:55Z fiddlerwoaroof: Yeah 2021-04-14T07:06:30Z surabax joined #lisp 2021-04-14T07:07:04Z Shinmera: iclendar has the advantage that it actually defines all types and relations in code already, so it could become a strict parser at some point. 2021-04-14T07:07:12Z contrapunctus: Shinmera: some clarification - `deploy` still seems to be Artistic License - is this deliberate? Also, qtools is zlib, correct? For some reason GitHub doesn't seem to recognize it in that specific case. 2021-04-14T07:07:51Z Shinmera: ah, damn, must have forgotten to update deploy somehow, let me fix that. 2021-04-14T07:08:24Z Shinmera: everything should be zlib. if it isn't there's a bug :) 2021-04-14T07:08:46Z orivej quit (Ping timeout: 252 seconds) 2021-04-14T07:09:09Z Shinmera: I did the update through a script back then... wonder how it missed deploy. 2021-04-14T07:09:58Z contrapunctus: Shinmera: ^^ ditto https://github.com/Shinmera/definitions 2021-04-14T07:13:05Z Shinmera: Ah, I was on a branch for that one. At least that explains that lol 2021-04-14T07:13:26Z hiroaki_ joined #lisp 2021-04-14T07:14:22Z Shinmera: Fixed both, thanks. 2021-04-14T07:15:55Z shka_ joined #lisp 2021-04-14T07:17:13Z Posterdati joined #lisp 2021-04-14T07:19:23Z attila_lendvai quit (Ping timeout: 246 seconds) 2021-04-14T07:19:27Z Kundry_Wag joined #lisp 2021-04-14T07:20:51Z cosimone joined #lisp 2021-04-14T07:23:52Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-14T07:30:57Z anticrisis quit (Read error: Connection reset by peer) 2021-04-14T07:32:08Z Cthulhux quit (Ping timeout: 258 seconds) 2021-04-14T07:34:16Z Cthulhux joined #lisp 2021-04-14T07:35:44Z contrapunctus: Glad to be of help ^^ 2021-04-14T07:36:22Z Major_Biscuit joined #lisp 2021-04-14T07:36:55Z lukego: anyone else using Lisp/sbcl from nixpkgs or am I the only such fool around here? 2021-04-14T07:37:36Z jackdaniel: s/fool/visionary/ ;-) 2021-04-14T07:38:37Z contrapunctus: lukego: I might be joining you in that soon. 2021-04-14T07:38:47Z contrapunctus: (...but on NixOS.) 2021-04-14T07:38:54Z lukego: my condolences to you but misery loves company :) 2021-04-14T07:38:59Z vaporatorius__ is now known as Vaporatorius 2021-04-14T07:39:22Z Vaporatorius quit (Quit: Leaving) 2021-04-14T07:39:39Z vaporatorius joined #lisp 2021-04-14T07:39:40Z vaporatorius quit (Changing host) 2021-04-14T07:39:40Z vaporatorius joined #lisp 2021-04-14T07:40:45Z fiddlerwoaroof: lukego: I'm using sbcl mostly from nix 2021-04-14T07:40:47Z fiddlerwoaroof: on darwin 2021-04-14T07:41:04Z lukego: I was just starting to spell out my current problem but I think I arrived at the solution - or at least a next step - in mid-sorrow :) 2021-04-14T07:41:31Z fiddlerwoaroof: Although, I sort of think I prefer my old way of manually building sbcl and putting it in ~/sbcl 2021-04-14T07:42:05Z anticrisis joined #lisp 2021-04-14T07:42:08Z lukego: I made an overlay to tweak the flags that sbcl is built with and I'm going nuts trying to understand why this new sbcl isn't being used. but now I realize that the one that is being used is from my user environment. so I know where to look for a problem now 2021-04-14T07:42:55Z fiddlerwoaroof: Yeah, on my work laptop I use home-manager to manage all that, and just install from my overlay to the user environment 2021-04-14T07:44:17Z lukego: Nix has a lot of new features and workflows but I somehow keep using the ones from way back when I first installed it, when "nix pills" was the state of the art 2021-04-14T07:44:38Z lukego: I have heard the term "home manager" before but don't know what it means :) 2021-04-14T07:44:39Z JohnMS_WORK joined #lisp 2021-04-14T07:44:47Z fiddlerwoaroof: When I started this job a couple months ago, I decided to rebuild my setup 2021-04-14T07:45:39Z fiddlerwoaroof: home-manager is pretty cool, you have a home.nix and it generates a lot of the dotfiles I used to manage in my dotfiles github repo. It also lets me pick which packages get installed in the user environment 2021-04-14T07:45:52Z fiddlerwoaroof: Which I like, because I don't want to mess with the rest of my mac's system 2021-04-14T07:46:03Z karlosz quit (Quit: karlosz) 2021-04-14T07:46:30Z lukego: I'm in a bit of a "lone hacker" mode. The nix expression for my Lisp program actually installs a lot of related stuff e.g. Emacs with a bunch of packages and their configurations. 2021-04-14T07:46:36Z karlosz joined #lisp 2021-04-14T07:46:52Z lukego: I'm using ql2nix and that's treating me pretty well 2021-04-14T07:47:03Z fiddlerwoaroof: Cool, I've been meaning to try that 2021-04-14T07:47:28Z fiddlerwoaroof: I find that I want all my dependency management to be initiated from the REPL, though 2021-04-14T07:47:39Z anticrisis quit (Read error: Connection reset by peer) 2021-04-14T07:47:57Z lukego: yeah interesting, having Lisp wear the pants and dump out nix expressions could be a nice style 2021-04-14T07:48:13Z fiddlerwoaroof: So, I only install sbcl through nix: when I absolutely need to pin versions, I use legit to clone the relevant repos and configure ASDF 2021-04-14T07:50:10Z lukego: I have a Nix expression with a list [ "1am" "alexandria" ... ] of all quicklisp packages that I want installed and then it arranges for them all to be built and ready when I start sbcl 2021-04-14T07:50:36Z contrapunctus: lukego: sounds like you want Guix 🤔 2021-04-14T07:50:46Z lukego: contrapunctus: have been meaning to look at it one day :) 2021-04-14T07:50:55Z fiddlerwoaroof: I like to pretend that I have a lispos 2021-04-14T07:51:04Z lukego: I want everything pinned by default though, that's the appeal of Nix for me 2021-04-14T07:51:24Z fiddlerwoaroof: Yeah, I've also grown to dislike version pinning from Javascript 2021-04-14T07:52:10Z fiddlerwoaroof: I'd rather be forced to fix my code when the deps update rather than slowly dig myself into a huge pit as the world moves away from me 2021-04-14T07:52:36Z fiddlerwoaroof: If a library breaks my code too many times, I just ban it 2021-04-14T07:53:10Z davd33 joined #lisp 2021-04-14T07:54:19Z splittist: What's my best bet for a quick something I can display (possibly elaborately) styled text on from lisp, on Windows 10? 2021-04-14T07:54:41Z moon-child: browser? :P 2021-04-14T07:54:42Z fiddlerwoaroof: spinneret + hunchentoot? 2021-04-14T07:54:59Z lukego: fiddlerwoaroof: yeah. I regularly update to the latest of everything, i.e. refresh my nix distro from the latest quicklisp, but at least I decide when to do that and I can easily rollback if there's a problem that I'm not in the mood to debug. 2021-04-14T07:58:31Z fiddlerwoaroof: lukego: I've sort of been radicalized with the way I can just load and run 40 year old code in CL 2021-04-14T07:58:37Z splittist: Good point. And now I change the requirements: And interact with the text with keyboard and (probably) mouse. 2021-04-14T07:58:46Z fiddlerwoaroof: websocket-driver 2021-04-14T07:59:19Z fiddlerwoaroof: I think doing that from the browser is the goal of this: https://github.com/rabbibotton/clog 2021-04-14T07:59:28Z lukego: fiddlerwoaroof: I'm likewise radicalized by the old days when a "weekend of lisp hacking" would just mean getting a compatible set of dependencies from cvs :) 2021-04-14T08:00:13Z lukego: (but more genreally I basically stopped using dependencies of any kind many years ago, and then started again when I found nix and could police them. but I digress.) 2021-04-14T08:03:20Z karlosz quit (Quit: karlosz) 2021-04-14T08:05:20Z remby left #lisp 2021-04-14T08:05:24Z lukego: Speaking of errors when rebuilding dependencies, I'm getting an error on compiling screamer now that I didn't have before, with two warnings and one error. I /think/ that the error is a -Werror kind of situation i.e. the compiler didn't find an error but asdf errored when it noticed the warnings (with a backtrace instead of an explanation.) plausible? 2021-04-14T08:06:06Z fiddlerwoaroof: lukego: line 75ff here is sort of my sketch of an in-cl way to do something nix-like: https://git.fiddlerwoaroof.com/u/edwlan/git-systems.git/blob/master/git-systems.lisp#L75 2021-04-14T08:06:39Z fiddlerwoaroof: I don't think I've ever seen that happen 2021-04-14T08:07:03Z lukego: (and for all my talk of rolling back inconvenient breakages I can't actually do that because I didn't check-in my previous nix snapshots of quicklisp packages. so um a valuable learning experience about missed steps in my workflow) 2021-04-14T08:07:04Z hendursaga joined #lisp 2021-04-14T08:07:45Z Nilby: splittist: Unfortunately the bar for such a thing is very high now that it's expected to handle all the worlds languages and render super fast in a GPU. 2021-04-14T08:07:52Z fiddlerwoaroof: Screamer loads fine for me 2021-04-14T08:08:22Z fiddlerwoaroof: sbcl 2.1.3.71-f98bf1148 on arm64, http://beta.quicklisp.org/archive/screamer/2019-07-10/screamer-20190710-git.tgz 2021-04-14T08:08:36Z lukego: seems like asdf:*compile-file-failure-behaviour* default behavior on SBCL will error from ASDF if the compiler warns 2021-04-14T08:09:01Z Shinmera: splittist: qtools should still work fine on windows. 2021-04-14T08:09:29Z fiddlerwoaroof: lukego: *compile-file-warnings-behaviour* I think is the equivalent to -Werror 2021-04-14T08:09:44Z lukego: hey it is actually kind of nice that -Werror is the default. that motivates me to actually dig into problems knowing that other people aren't just leaving them :). here's the screamer warning, I'll dig into it now https://gist.github.com/lukego/1da425f16384bb53f2c416c49d5b6ecd 2021-04-14T08:09:47Z splittist: Shinmera: I get "debugger invoked on a SB-KERNEL::UNDEFINED-ALIEN-FUNCTION-ERROR ... The alien function "sw_find_class" is undefined." 2021-04-14T08:09:56Z Shinmera: :( 2021-04-14T08:09:57Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-14T08:10:20Z lukego: (though if I need to patch screamer that's a problem because my current nix workflow doesn't really support anything but upstream projects from quicklisp..) 2021-04-14T08:12:12Z asarch joined #lisp 2021-04-14T08:12:43Z fiddlerwoaroof: Is there a good library for extracting only interesting content from an HTML page 2021-04-14T08:12:51Z fiddlerwoaroof: e.g. a readability type thing? 2021-04-14T08:13:01Z lukego: this looks like a pretty clear cut bug in screamer: 2021-04-14T08:13:02Z lukego: (if (vectorp sequence) 2021-04-14T08:13:02Z lukego: (dolist (element sequence) 2021-04-14T08:13:21Z ukari quit (Remote host closed the connection) 2021-04-14T08:13:35Z attila_lendvai joined #lisp 2021-04-14T08:13:35Z attila_lendvai quit (Changing host) 2021-04-14T08:13:35Z attila_lendvai joined #lisp 2021-04-14T08:13:50Z fiddlerwoaroof: Yeah 2021-04-14T08:14:05Z jackdaniel: it is written for a special-purpose implementations that represent vectors as lists :) 2021-04-14T08:14:22Z lukego: sounds like something I would do .. 2021-04-14T08:14:31Z ukari joined #lisp 2021-04-14T08:14:37Z asarch: One stupid question: if I had this (:id 30 :username "asarch" :password "xxx-yyy") I could easily get the username with (getf user :username) 2021-04-14T08:14:50Z Shinmera: splittist: if you add a :depends-on for qt-libs first, does that work? 2021-04-14T08:14:55Z jackdaniel: that's not a question 2021-04-14T08:15:36Z asarch: But what if I would have a list of lists with n elements ((:id 1 :username "foo" :password "...") (:id 2 :username "bar" :password "...") ... (:id n :username "baz" :password "...")), how could I easily get the username of the n element? 2021-04-14T08:16:15Z jackdaniel: (getf (nth n your-list) :user) 2021-04-14T08:16:26Z asarch: Do I need to traverse the entire list every time I want a specific element of them? 2021-04-14T08:16:28Z jackdaniel: s/:user/:username/ 2021-04-14T08:16:42Z asarch: Bingo! 2021-04-14T08:16:53Z asarch: Thank you! Thank you very much! :-) 2021-04-14T08:17:18Z pve joined #lisp 2021-04-14T08:17:34Z asarch: But what if I don't know the position of the record? 2021-04-14T08:17:36Z jackdaniel: if you store users on the list and you are not caching results (or add other optimizations) then yes, you traverse the list 2021-04-14T08:17:46Z jackdaniel: then how do you know which username do you want to get? 2021-04-14T08:18:43Z splittist: Shinmera: doesn't qtools already :depends-on qt-libs? The error arises when trying to load the examples. 2021-04-14T08:18:45Z jackdaniel: (find "foo" your-list :key (lambda (o) (getf o :username)) :test #'string=) 2021-04-14T08:18:50Z asarch: All I know is its id, let's say it is 324 and the list is from a query 2021-04-14T08:18:52Z jackdaniel: is one way 2021-04-14T08:19:09Z phoe: asarch: this looks like the ID is some kind of key and everything else is values 2021-04-14T08:19:09Z White_Flame: (getf (find 30 *users* :key (lambda (user) (getf user :id))) :username) 2021-04-14T08:19:19Z phoe: at which point this looks like a hash table use case 2021-04-14T08:19:26Z lukego: (I have to say, reading through the Screamer source once from top to bottom has not really enhanced my enthusiasm for using it) 2021-04-14T08:19:31Z White_Flame: (typed before the last few lines, obviously) 2021-04-14T08:19:40Z jackdaniel: your solution is more complete! 2021-04-14T08:19:46Z quazimodo quit (Ping timeout: 240 seconds) 2021-04-14T08:20:06Z phoe: lukego: https://github.com/nikodemus/screamer/issues/19 2021-04-14T08:20:37Z White_Flame: since the FIND will return NIL on not found, it should all safely collapse to NIL even through the subsequent GETFs 2021-04-14T08:20:39Z quazimodo joined #lisp 2021-04-14T08:20:42Z lukego: phoe: ah! the version issue 2021-04-14T08:21:15Z jackdaniel: another solution (loop for user = (nth (random (length users)) users) when (eq (getf user :id) ) do (return (getf user :username))) ;-] 2021-04-14T08:21:21Z Shinmera: splittist: it does but there's some weird dependency fluke apparently 2021-04-14T08:21:27Z Shinmera: splittist: https://www.reddit.com/r/lisp/comments/b3a27e/qtools_the_alien_function_sw_find_class_is/ 2021-04-14T08:22:28Z cchristiansen quit (Remote host closed the connection) 2021-04-14T08:22:59Z asarch: Thank you very much once again guys :-) 2021-04-14T08:23:04Z splittist: Shinmera: OK. Trying. Thanks! I know you have better things to do. 2021-04-14T08:23:17Z asarch: Have a nice day :-) 2021-04-14T08:23:20Z asarch quit (Quit: Leaving) 2021-04-14T08:23:22Z jackdaniel: you too, thanks 2021-04-14T08:23:26Z Shinmera: splittist: No no, sorry things aren't working right away :( 2021-04-14T08:23:51Z Shinmera: I also wish I could just recommend Alloy, but it's still very rough. 2021-04-14T08:24:20Z phoe: I had this qtools issue when installing/compiling from scratch; I usually install and compile it, close my image, quickload it again, and then it works 2021-04-14T08:24:42Z phoe: but this only manifests during the very very first installation so I rarely ever reproduce it 2021-04-14T08:25:25Z Shinmera: yeah it's a very elusive bug that I could never quite trace. 2021-04-14T08:25:40Z fiddlerwoaroof: Hmm, the USE-VALUE restart in slime seems to break everything when it's selected for a PACKAGE-DOES-NOT-EXIST error 2021-04-14T08:26:15Z phoe: huh? what do you mean? 2021-04-14T08:26:16Z fiddlerwoaroof: It's more complicated than that 2021-04-14T08:26:49Z fiddlerwoaroof: I'm not entirely sure what's going on 2021-04-14T08:27:16Z fiddlerwoaroof: But, I put https://github.com/ruricolist/cl-boilerpipe into my local projects and then tried to load it 2021-04-14T08:27:30Z phoe: (handler-bind ((sb-ext:package-does-not-exist (lambda (c) (declare (ignore c)) (invoke-restart 'use-value :cl-user)))) (in-package :cl-ooser)) 2021-04-14T08:27:33Z phoe: this works for me 2021-04-14T08:27:42Z fiddlerwoaroof: it complained that the package OPTIMA wasn't found, so I hit 2 to attempt to trick it into using TRIVIA 2021-04-14T08:27:47Z Shinmera: phoe: another ping for your verbose issue 2021-04-14T08:27:54Z phoe: Shinmera: aaaa, yes, thank you 2021-04-14T08:27:54Z fiddlerwoaroof: And slime and everything froze 2021-04-14T08:28:13Z phoe: oooh, like that 2021-04-14T08:28:24Z phoe: might have more complex interactions during compilation 2021-04-14T08:30:09Z fiddlerwoaroof: Yeah, the backtrace is interesting 2021-04-14T08:30:29Z fiddlerwoaroof: The condition seems to be being signaled while a lock is held 2021-04-14T08:30:40Z fiddlerwoaroof: Inside the processing of a defpackage form 2021-04-14T08:31:16Z lukego: dammit looks like I'll just disable -Werror in asdf because I don't really understand how to apply a patch to Screamer in my current setup 2021-04-14T08:31:49Z jackdaniel: -Cerror 2021-04-14T08:31:52Z wxie quit (Ping timeout: 240 seconds) 2021-04-14T08:31:55Z fiddlerwoaroof: lukego: you can always add a file to your project that does IN-PACKAGE and then redefines 2021-04-14T08:31:57Z fiddlerwoaroof: :) 2021-04-14T08:32:27Z fiddlerwoaroof: Here's the backtrace I'm seeing: https://fwoar.co/pastebin/8da8b90c5df10c1116aefccfe888fa7548ef79ce.nil.html 2021-04-14T08:32:41Z fiddlerwoaroof: Now to see if I can come up with a minimal reproducing case 2021-04-14T08:33:42Z lukego: maybe the lowest hanging fruit here would be to somehow get quicklisp to apply patches during installation 2021-04-14T08:33:55Z lukego: anyone have such a mechanism? (asdf-level would be fine too I guess) 2021-04-14T08:35:00Z fiddlerwoaroof: lukego: it's sort of a hack, but you could add a component that's like (:file "patches") 2021-04-14T08:35:08Z fiddlerwoaroof: And just put all the patches into patches.lisp 2021-04-14T08:35:09Z Shinmera: you can build your own quicklisp dist that has different versions of the libraries you want to patch. 2021-04-14T08:35:18Z Shinmera: but that's involved. 2021-04-14T08:35:25Z flip214: lukego: I've just a few local git checkouts with changes in my local-projects 2021-04-14T08:35:26Z lukego: fiddlerwoaroof: but I don't have a private copy of the source tree where the asd file is defined 2021-04-14T08:35:48Z fiddlerwoaroof: Add it to your project's asd 2021-04-14T08:36:01Z lukego: I have a few local git checkouts too but I don't like that because it undermines my pinning and upgrading discpline. but okay that would be an acceptable workaround especially for screamer that's not updating rapidly 2021-04-14T08:36:24Z lukego: fiddlerwoaroof: my project's asd doesn't get loaded because its dependencies have failed to compile 2021-04-14T08:36:51Z fiddlerwoaroof: Hmm, yeah you'd need to have a second system 2021-04-14T08:37:18Z lukego: I think that patches make sense to me. I'll be meaning to make a series of small temporary changes sparsely spread across various dependencies 2021-04-14T08:37:29Z lukego: lemme see if ql2nix provides an opportunity to patch things neatly 2021-04-14T08:37:39Z splittist: Shinmera: works. Thanks again! 2021-04-14T08:38:09Z fiddlerwoaroof: lukego: https://fwoar.co/pastebin/21e29c594ecc6cb4b7bd2cd57d6b31677c72c511.asd.html 2021-04-14T08:38:39Z fiddlerwoaroof: I've done something like this a couple times 2021-04-14T08:38:43Z lukego: fiddlerwoaroof: that looks neat but you still needed to patch the .asd file defining example 2021-04-14T08:38:59Z lukego: and at the moment I lack a way to patch my dependnecies 2021-04-14T08:39:32Z Shinmera: splittist: phew! 2021-04-14T08:39:40Z fiddlerwoaroof: Because it's a defsystem-depends-on, it'll be loaded before processing your project's dependencies 2021-04-14T08:40:23Z fiddlerwoaroof: https://common-lisp.net/project/asdf/asdf.html#Defsystem-depends-on 2021-04-14T08:40:37Z fiddlerwoaroof: Hmm, that won't work either 2021-04-14T08:40:42Z fiddlerwoaroof: Ignore me :) 2021-04-14T08:41:33Z fiddlerwoaroof: I just realized that I'm assuming the dependency actually loads 2021-04-14T08:44:18Z lukego: you know for now I'll just stop using screamer :) 2021-04-14T08:49:06Z phoe: I can see that nikodemus is not very active 2021-04-14T08:49:28Z phoe: maybe it would be worth to fork screamers to sharplispers and apply the fix there, since it's trivial 2021-04-14T08:49:44Z phoe: Xach: fe[nl]ix: what do you think? 2021-04-14T08:49:51Z phoe: s/screamers/screamer 2021-04-14T08:53:09Z fiddlerwoaroof: nikodemus has basically quit CL, I think 2021-04-14T08:54:29Z scymtym: phoe: sounds good to me. for other projects he created or was involved in (esrap, alexandria), ownership has already been transferred. for esrap, he explicitly blessed the transfer 2021-04-14T09:00:24Z jackdaniel: MetaYan_: do you have any opinion about this? 2021-04-14T09:00:43Z phoe: scymtym: I've sent him a mail so I can also have an explicit blessing 2021-04-14T09:01:08Z phoe: ;; and in case of no response, I'll be happy with an implicit blessing 2021-04-14T09:01:09Z contrapunctus left #lisp 2021-04-14T09:08:27Z ramHero quit (Remote host closed the connection) 2021-04-14T09:08:31Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-14T09:12:31Z nicktick quit (Ping timeout: 252 seconds) 2021-04-14T09:15:08Z fiddlerwoaroof: Does anyone know of a library for extracting metadata from PDFs? 2021-04-14T09:15:17Z fiddlerwoaroof: cl-pdf isn't great for parsing PDFs 2021-04-14T09:18:03Z memories_ left #lisp 2021-04-14T09:22:58Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-14T09:23:03Z aartaka joined #lisp 2021-04-14T09:24:09Z flip214: fiddlerwoaroof: what kind of metadata are you looking for? 2021-04-14T09:24:54Z flip214: Marc is responsive if you have any feature requests 2021-04-14T09:27:30Z cosimone quit (Remote host closed the connection) 2021-04-14T09:31:11Z lukego: Maybe should also hack ASDF to print a user-facing message about upgrading errors to warnings, I found that very confusing 2021-04-14T09:31:40Z lukego: I'm really sorely lacking a workflow to be able to hack on dependencies :-| 2021-04-14T09:33:23Z zaquest quit (Quit: Leaving) 2021-04-14T09:34:57Z zaquest joined #lisp 2021-04-14T09:34:57Z ebrasca joined #lisp 2021-04-14T09:35:18Z scymtym quit (Read error: Connection reset by peer) 2021-04-14T09:38:22Z lotuseater joined #lisp 2021-04-14T09:42:49Z cosimone joined #lisp 2021-04-14T09:44:13Z hhdave quit (Ping timeout: 260 seconds) 2021-04-14T09:44:14Z froggey quit (Ping timeout: 268 seconds) 2021-04-14T09:44:17Z dilated_dinosaur quit (Ping timeout: 246 seconds) 2021-04-14T09:44:18Z Noisytoot quit (Ping timeout: 240 seconds) 2021-04-14T09:44:51Z Adamclisi quit (Ping timeout: 268 seconds) 2021-04-14T09:45:57Z Noisytoot joined #lisp 2021-04-14T09:46:05Z lukego: I know you all think I'm a bad person for using Serapeum's -> macro to declare function types in design-by-contract style, but I'm finding it really useful in practice, I do a bunch more type checking than I usually would and it catches sloppiness like carelessly returning multiple values 2021-04-14T09:46:48Z phoe: I actually like and dig ftype declarations 2021-04-14T09:50:05Z Adamclisi joined #lisp 2021-04-14T09:51:40Z froggey joined #lisp 2021-04-14T09:51:43Z Elzington quit (Read error: Connection reset by peer) 2021-04-14T09:51:46Z Elzington_ joined #lisp 2021-04-14T09:53:05Z dilated_dinosaur joined #lisp 2021-04-14T09:53:12Z flip214: sbcl can infer return types by itself (at least sometimes), so declaring argument types already helps quite a lot 2021-04-14T09:53:31Z hhdave joined #lisp 2021-04-14T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-14T10:00:23Z Kundry_Wag joined #lisp 2021-04-14T10:00:56Z Nilby: Return type? Suprise me. [too complex to check] 2021-04-14T10:01:55Z lukego: I'm declaring return types now and appreciating the compiler often telling me that I'm carelessly returning multiple values when I only mean to return one 2021-04-14T10:03:54Z White_Flame: flip214: it doesn't do that for non-returning error calls, though 2021-04-14T10:04:02Z Nilby: Unused multiple values are a primary food source for hungry ghosts. 2021-04-14T10:04:31Z White_Flame: (the fixnum (case foo (:a 1) (:b 2) (otherwise (call-error ...)))) will cause SBCL to scream, even though (otherwise (error ...)) is fine 2021-04-14T10:07:24Z Nilby: You never know when error could return: "the kinds of sweeping effects hinted at by this example" 2021-04-14T10:07:33Z zooey quit (Ping timeout: 240 seconds) 2021-04-14T10:07:56Z zooey joined #lisp 2021-04-14T10:08:53Z White_Flame: that quote is specifically about an implementation being buggy 2021-04-14T10:09:01Z phoe: White_Flame: actually, no 2021-04-14T10:09:10Z phoe: (declaim (ftype (function () nil) foo)) (defun foo () (error "foo")) (defun bar (x) (the fixnum (case x (:a 1) (:b 2) (otherwise (foo))))) 2021-04-14T10:09:13Z phoe: no warnings for me 2021-04-14T10:09:50Z White_Flame: hmm, I've tried (function (&rest t) nil) before, and that did nothing for me 2021-04-14T10:09:53Z White_Flame tries again 2021-04-14T10:11:23Z White_Flame: maybe because this is about a LABELS function and not a DEFUN? 2021-04-14T10:11:59Z phoe: (defun bar (x) (labels ((foo () (error "foo"))) (declare (ftype (function () nil) foo)) (the fixnum (case x (:a 1) (:b 2) (otherwise (foo)))))) 2021-04-14T10:12:03Z phoe: no warnings for me 2021-04-14T10:14:07Z White_Flame: it tells me that my (syntax-error (&rest rest) ..build error string... (error ...)) function has some wrong derived type, not my declared type 2021-04-14T10:14:32Z White_Flame: (declare (ftype (function (&rest t) nil) syntax-error)) 2021-04-14T10:15:27Z jello_pudding quit (Ping timeout: 260 seconds) 2021-04-14T10:16:39Z White_Flame: "Result is a (VALUES (OR NUMBER (MEMBER :TRUE :NULL :FALSE NIL)) &OPTIONAL), not a CHARACTER." 2021-04-14T10:16:56Z phoe: hmmm 2021-04-14T10:16:59Z phoe: show me the code? 2021-04-14T10:17:13Z White_Flame: it's an internal thing, I'd have to extract it 2021-04-14T10:17:32Z phoe: also, uh 2021-04-14T10:17:36Z phoe: you declare the result type to be NIL 2021-04-14T10:17:46Z phoe: and it complains that it's not a character 2021-04-14T10:17:48Z contrapunctus joined #lisp 2021-04-14T10:17:58Z phoe: are you sure it's the right ftype that you're looking at? 2021-04-14T10:19:07Z White_Flame: yes 2021-04-14T10:19:19Z White_Flame: ==> (SB-C::%FUNCALL #'(LABELS SYNTAX-ERROR .... 2021-04-14T10:19:39Z phoe: please extract it then, I'm genuinely curious 2021-04-14T10:19:52Z White_Flame: ok, I'll PM 2021-04-14T10:20:03Z White_Flame: whenI do 2021-04-14T10:20:33Z flip214: for phoe's BAR I get Derived type: (FUNCTION (T) (VALUES (INTEGER 1 2) &OPTIONAL)) 2021-04-14T10:20:50Z flip214: even if I remove the DECLARE 2021-04-14T10:21:35Z flip214: (defun bar2 (x) (the fixnum (case x (:a 1) (:b 2) (otherwise (error "foo"))))) 2021-04-14T10:21:42Z flip214: Derived type: (FUNCTION (T) (VALUES (INTEGER 1 2) &OPTIONAL)) 2021-04-14T10:21:52Z jello_pudding joined #lisp 2021-04-14T10:21:52Z flip214: no magic needed at all 2021-04-14T10:22:07Z phoe: yes, but I assume that White_Flame has a SYNTAX-ERROR call instead of ERROR 2021-04-14T10:22:11Z phoe: which is an indirection 2021-04-14T10:22:21Z White_Flame: right 2021-04-14T10:22:27Z phoe: where SYNTAX-ERROR is some custom function 2021-04-14T10:22:36Z mokulus joined #lisp 2021-04-14T10:22:43Z White_Flame: and of course a simple extraction of just syntax-error and a single use doesn't trip the error 2021-04-14T10:22:48Z White_Flame: it just builds up a more complex error string 2021-04-14T10:24:13Z flip214: If I move the (ERROR ...) out into another function (not even a LABELS) and use it in OTHERWISE, the result is the same 2021-04-14T10:24:36Z flip214: but perhaps this is so small that inlining just makes it the same 2021-04-14T10:25:05Z White_Flame: ah, I was able to trip it... 2021-04-14T10:25:19Z flip214: BAR-ERROR names a compiled function: 2021-04-14T10:25:19Z flip214: Derived type: (FUNCTION (T) NIL) 2021-04-14T10:25:19Z flip214: Source form: (LAMBDA (X) (BLOCK BAR-ERROR (ERROR X))) 2021-04-14T10:25:32Z flip214: also derived result type NIL here 2021-04-14T10:25:59Z contrapunctus left #lisp 2021-04-14T10:26:13Z contrapunctus joined #lisp 2021-04-14T10:27:02Z frgo quit (Remote host closed the connection) 2021-04-14T10:27:22Z White_Flame: https://plaster.tymoon.eu/view/2387#2387 2021-04-14T10:27:27Z frgo joined #lisp 2021-04-14T10:27:40Z scymtym joined #lisp 2021-04-14T10:27:56Z White_Flame: so the :true return value is leaking into the syntax-error derivation for some reason 2021-04-14T10:28:07Z White_Flame: might be a bug? 2021-04-14T10:28:18Z White_Flame: or is there legitimacy in that reasoning? 2021-04-14T10:28:59Z flip214: Derived type: (FUNCTION (T) (VALUES (MEMBER :TRUE) &OPTIONAL)) 2021-04-14T10:29:12Z phoe: what is your SBCL version and compiler policy? 2021-04-14T10:29:14Z phoe: I can't reproduce this 2021-04-14T10:29:35Z Kundry_Wag quit (Remote host closed the connection) 2021-04-14T10:29:40Z White_Flame: This is SBCL 2.1.3.50-e8b780650 2021-04-14T10:29:46Z phoe: 2.1.0 does not complain 2021-04-14T10:30:03Z phoe: let me upgrade to 2.1.3 2021-04-14T10:30:04Z flip214: White_Flame: the :TRUE is for (eq key :foo) - the error path doesn't return any value 2021-04-14T10:30:25Z White_Flame: flip214: it's saying that syntax-error returns :true 2021-04-14T10:30:36Z White_Flame: or am I reading it wrong? 2021-04-14T10:30:36Z flip214: how do you see that? 2021-04-14T10:30:49Z White_Flame: the complaint is for get-num's usage, when read-something's definition is present 2021-04-14T10:30:58Z flip214: I have no complaints from sbcl 2021-04-14T10:31:15Z phoe: flip214: what is your SBCL version? 2021-04-14T10:31:18Z flip214: 2.1.3 2021-04-14T10:31:33Z phoe: hmmmm, might be a new regression then? 2021-04-14T10:31:33Z White_Flame: annotated: https://plaster.tymoon.eu/view/2387#2388 2021-04-14T10:31:39Z phoe: #sbcl will want to know about it in that case 2021-04-14T10:31:55Z White_Flame: ok 2021-04-14T10:32:20Z phoe: yes, that's invalid, SYNTAX-ERROR neither returns (member :true) nor is supposed to return a fixnum 2021-04-14T10:32:42Z phoe: so that's some heavy type confusion 2021-04-14T10:34:01Z phoe: oh wait, the FIXNUM is from the THE call 2021-04-14T10:34:13Z aartaka quit (Ping timeout: 240 seconds) 2021-04-14T10:34:20Z phoe: OK, so it's just SYNTAX-ERROR having an incorrect type 2021-04-14T10:39:29Z villanella joined #lisp 2021-04-14T10:49:56Z villanella quit (Ping timeout: 258 seconds) 2021-04-14T10:53:19Z 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) 2021-04-14T10:54:00Z edgar-rft: where (the fixnum ... (error ...)) IMO is a buggy type declaration, because (error ...) is defined to return *no* values and therefore cannot be a fixnum 2021-04-14T10:55:38Z vegansbane6963 joined #lisp 2021-04-14T10:55:38Z flip214: edgar-rft: if it can't ever return, there cannot be a type conflict with the return value (because there is none) 2021-04-14T10:57:40Z elderK quit (Quit: Connection closed for inactivity) 2021-04-14T10:58:19Z ebrasca: What are Deprecated Functions? ( http://www.lispworks.com/documentation/HyperSpec/Body/01_ha.htm ) 2021-04-14T11:00:18Z phoe: edgar-rft: NIL is a subtype of FIXNUM 2021-04-14T11:01:18Z edgar-rft: ebrasca: functions that were marked as deprecated in 1994 but still exist in 2021 2021-04-14T11:01:31Z edgar-rft: phoe: true, thank you! 2021-04-14T11:01:49Z ebrasca: edgar-rft: Is it ok to use them? 2021-04-14T11:01:53Z phoe: ebrasca: yes 2021-04-14T11:02:10Z phoe: edgar-rft: also, "defined to return no values" would have a return type of (values) 2021-04-14T11:02:30Z phoe: a return type of NIL means elsething - that it does not return at all 2021-04-14T11:02:33Z villanella joined #lisp 2021-04-14T11:03:20Z phoe: these two are highly distinct because a return type of (values) implies that the function is allowed to return at all in the general case 2021-04-14T11:03:55Z phoe: and you don't ever want #'ERROR (or #'INVOKE-DEBUGGER for the matter) to return at all 2021-04-14T11:03:56Z White_Flame: (good, that confirms my assumptions in reading these types) 2021-04-14T11:05:37Z edgar-rft: ebrasca: don't worry too much, in a hypothetical CL 2.0 standard (that is unlikely to happen) there might be a dicussion about that :-) 2021-04-14T11:06:13Z edgar-rft: White_Flame: sorry, I was wrong and phoe is right 2021-04-14T11:07:25Z phoe: function return types are real tricky 2021-04-14T11:11:36Z klltkr joined #lisp 2021-04-14T11:13:11Z ljavorsk quit (Ping timeout: 260 seconds) 2021-04-14T11:17:15Z ebrasca: What about CL 1.5 ? 2021-04-14T11:19:11Z jackdaniel: and if that's too much, what about CL 1.0.0.0.1? 2021-04-14T11:20:00Z mokulus quit (Quit: WeeChat 3.0) 2021-04-14T11:20:39Z ebrasca: I was referencing Lisp 1.5 2021-04-14T11:21:02Z phoe: that's a blast from the past 2021-04-14T11:21:13Z edgar-rft: Lisp 1.5 was at least three decades before Common Lisp 2021-04-14T11:21:53Z ebrasca: I am sure if we make CL 1.5 we are going to have CL 2.0 2021-04-14T11:22:05Z refpga joined #lisp 2021-04-14T11:23:18Z no-defun-allowed: Lisp was so good they never made Lisp 2: 2021-04-14T11:26:39Z edgar-rft: Common Lisp is a Lisp-n, so it's far ahead of its time 2021-04-14T11:27:53Z Nilby quit (Ping timeout: 258 seconds) 2021-04-14T11:29:51Z Xach: Lisp-nFinity 2021-04-14T11:30:21Z phoe: Lisp-#.(ackermann n n) 2021-04-14T11:30:50Z ebrasca: If CL is Lisp-n , why we don't have algol syntax? 2021-04-14T11:31:47Z no-defun-allowed: "Lisp 2" there refers to a hypothetical successor to the original Lisp (which never happened). Usually Lisp-n refers to the number of namespaces of things that the language manipulates. 2021-04-14T11:32:22Z no-defun-allowed: edgar-rft probably lost count of how many of such namespaces there are in Common Lisp, so wrote Lisp-n with a free variable. 2021-04-14T11:32:47Z phoe: there's also the fact that namespaces are user-definable, so n must be a free variable 2021-04-14T11:33:36Z ebrasca: Why someone need to define new namespaces? 2021-04-14T11:33:46Z edgar-rft: are there also proprietarily owned variables? 2021-04-14T11:33:57Z phoe: because they have new classes of things that need to be named 2021-04-14T11:34:08Z edgar-rft: or enslaved variables? 2021-04-14T11:34:15Z phoe: think of e.g. test suites, or test cases inside those test suites 2021-04-14T11:34:24Z phoe: or of ASDF systems 2021-04-14T11:34:26Z ebrasca: I don't understand. 2021-04-14T11:34:38Z phoe: (ql:quickload :alexandria) 2021-04-14T11:34:51Z phoe: :alexandria designates an ASDF system named "alexandria" 2021-04-14T11:34:57Z phoe: and "alexandria" is a name in the ASDF system namespace 2021-04-14T11:35:03Z phoe: that, obviously, is not a part of the CL standard 2021-04-14T11:35:12Z orivej joined #lisp 2021-04-14T11:35:25Z jackdaniel is collecting infinity conses 2021-04-14T11:35:26Z no-defun-allowed: edgar-rft: You are thinking of bound variables. 2021-04-14T11:35:37Z edgar-rft: :-) 2021-04-14T11:35:52Z no-defun-allowed: A crucial part of design-by-contract, where they are legally bound to certain terms and conditions of course. 2021-04-14T11:36:27Z phoe: CL variables can be unbound but not unbounded 2021-04-14T11:36:28Z ebrasca: How I can see this ASDF namespace? 2021-04-14T11:36:41Z phoe: ebrasca: the same way you can see other namespaces 2021-04-14T11:36:49Z ebrasca: How? 2021-04-14T11:37:03Z phoe: the simplest tools are asdf:find-system and asdf:defsystem 2021-04-14T11:37:17Z phoe: see the similarity to cl:find-package and cl:defpackage 2021-04-14T11:39:44Z edgar-rft: LIST-ALL-PACKAGES returns a list of all currently defined packages if that helps 2021-04-14T11:41:35Z phoe: seems like ASDF does not have a LIST-ALL-SYSTEMS function, hm 2021-04-14T11:41:41Z phoe: but this works, (let ((x '())) (asdf:map-systems (lambda (y) (push (asdf:component-name y) x))) x) 2021-04-14T11:41:57Z Lycurgus joined #lisp 2021-04-14T11:43:04Z ebrasca: I can have "asd" as function , variable , package , test case ... 2021-04-14T11:43:13Z phoe: sort of kind of 2021-04-14T11:43:24Z phoe: you can't have "asd" as a function because the function namespace is named by symbols 2021-04-14T11:43:27Z phoe: not strings 2021-04-14T11:43:49Z phoe: that's the difference: some namespaces have distinct name types 2021-04-14T11:45:16Z troydm joined #lisp 2021-04-14T11:47:22Z Lycurgus: phoe, I was wondering about the price anomalies on your book 2021-04-14T11:47:33Z Cthulhux quit (Ping timeout: 250 seconds) 2021-04-14T11:48:03Z Lycurgus: (used, kindle costing more than new) 2021-04-14T11:48:08Z JohnMS_WORK quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2021-04-14T11:48:21Z phoe: Lycurgus: I am absolutely unaware of them and I cannot provide any reasoning beacuse of that 2021-04-14T11:48:30Z phoe: I'd need to ask Apress, and I can if you provide me with some data 2021-04-14T11:48:41Z Lycurgus: on amazon 2021-04-14T11:49:09Z phoe: from what I last checked, used likely cost more because they are sold by shops that are not in Amazon's direct shipping reach 2021-04-14T11:49:34Z ebrasca: phoe: Did you make a book? 2021-04-14T11:49:36Z phoe: which is weird because apress ships worldwide, but on the other hand resellers still exist and make money 2021-04-14T11:49:40Z phoe: minion: tell ebrasca about tclcs 2021-04-14T11:49:40Z minion: ebrasca: tclcs: The Common Lisp Condition System, https://www.apress.com/us/book/9781484261330 2021-04-14T11:49:58Z rodriga joined #lisp 2021-04-14T11:50:16Z Cthulhux joined #lisp 2021-04-14T11:50:22Z Lycurgus: ah, thought something of that sort 2021-04-14T11:51:42Z phoe: Lycurgus: I have no idea about Kindle though! (I don't use it myself) 2021-04-14T11:52:08Z Lycurgus: it's basically just pdf for the amazon reader 2021-04-14T11:52:46Z Lycurgus: generally the kindle version is substantially less often less than half the hardcopy 2021-04-14T11:55:02Z Lycurgus: actually it might be epub or whatever 2021-04-14T11:55:10Z daphnis joined #lisp 2021-04-14T11:58:25Z Bike joined #lisp 2021-04-14T12:06:16Z amb007 quit (Read error: Connection reset by peer) 2021-04-14T12:07:20Z amb007 joined #lisp 2021-04-14T12:15:08Z nij quit (Remote host closed the connection) 2021-04-14T12:18:16Z nij joined #lisp 2021-04-14T12:19:49Z nij: Good morning! I have a lisp file to be run automatically. However, on some machine I don't have certain package, so the symbol PACKAGE:FUN1 may cause an error even at READ time. A workaround is to use (funcall (find-symbol "fun1" "PACKAGE")) instead.. but that means I have to change all of PACKAGE:FUN1 to that long stuff.. is there any better workaround? 2021-04-14T12:20:57Z phoe: wait a second, if you don't have package named PACKAGE then FIND-SYMBOL will signal an error anyway 2021-04-14T12:21:02Z phoe: except at runtime 2021-04-14T12:22:24Z nij: Oh, I did put that into a (when (ignore-errors (ql:quickload :PACKAGE)) [here]) 2021-04-14T12:22:39Z phoe: the bug is that you actually use ignore-errors 2021-04-14T12:23:00Z phoe: the system is not loaded until runtime, so you do not have its symbols at read-time. 2021-04-14T12:23:27Z ljavorsk joined #lisp 2021-04-14T12:23:34Z phoe: quick and dirty workaround: at the top of your file, (eval-always (ql:quickload :package)) 2021-04-14T12:23:47Z phoe: actual solution: use proper ASDF dependencies 2021-04-14T12:24:05Z refpga quit (Remote host closed the connection) 2021-04-14T12:24:16Z Bike: it sounded like nij wanted the code to not necessarily be dependent on the system 2021-04-14T12:24:22Z nij: for the second solution, i do expect on some machine there won't be PACKAGE 2021-04-14T12:24:25Z Bike: and asdf doesn't really do optional dependencies as far as i remember 2021-04-14T12:24:32Z phoe: oh, like that 2021-04-14T12:24:39Z phoe: then you need to conditionally quickload anyway 2021-04-14T12:24:49Z nij: (if has-package load! do-nothing!) 2021-04-14T12:24:50Z phoe: IGNORE-ERRORS kinda solves that issue but it's dirty 2021-04-14T12:25:06Z phoe: this sounds like a case for reader conditionals then 2021-04-14T12:25:20Z nij: (when (ignore-errors (ql:quickload :PACKAGE)) (package:fun1)) => ERROR! 2021-04-14T12:25:38Z phoe: yes, this is because the reader does not have the package PACKAGE at read-time 2021-04-14T12:25:42Z nij: Because it was trying to READ package:fun1 at READ time, which causes the problem. 2021-04-14T12:25:44Z nij: yes 2021-04-14T12:26:15Z nij: I have lots of package:fun1 in that file.. and changing them all to (find-symbol "fun1" "PACKAGE") seems a little bit dirty and ugly. 2021-04-14T12:26:31Z nij: (let alone funcall) 2021-04-14T12:26:38Z phoe: can you extract that into another file and only load it when the system in question is found? 2021-04-14T12:26:45Z phoe: since I think will be the easiest 2021-04-14T12:26:51Z phoe: s/will/that will/ 2021-04-14T12:26:51Z nij: OH that could do! 2021-04-14T12:27:18Z nij: a bit less idealistic though.. 2021-04-14T12:27:25Z nij: i hope the code and the condition is presented together 2021-04-14T12:27:33Z nij: I will do that if there's no better solution.. 2021-04-14T12:27:55Z phoe: you could hack your way around using reader conditionals instead 2021-04-14T12:28:12Z nij: or should i write a macro that replaces any (package:fun1 body..) into (funcall (package:fun1 body..))? 2021-04-14T12:28:24Z phoe: you can't do it with a macro 2021-04-14T12:28:29Z phoe: macroexpansion time happens after read time 2021-04-14T12:28:46Z nij: oh yes.. duh 2021-04-14T12:29:10Z daphnis: what is a way to avoid repetition in cond, when all tests are, say, whether the same value is a member of various lists? 2021-04-14T12:29:25Z phoe: ugly stuff like #+#.(when (asdf:find-system :foo) '(and) '(or)) could possibly work 2021-04-14T12:29:32Z phoe: daphnis: alexandria:switch with a custom test 2021-04-14T12:32:55Z phoe: !!! 2021-04-14T12:33:03Z phoe: I just found a bug in alexandria:switch 2021-04-14T12:33:18Z jackdaniel: witch! 2021-04-14T12:33:42Z daphnis: phoe: thanks 2021-04-14T12:33:50Z nij: !!! 2021-04-14T12:33:53Z phoe: daphnis: https://plaster.tymoon.eu/view/2389#2389 2021-04-14T12:34:12Z ljavorsk quit (Ping timeout: 240 seconds) 2021-04-14T12:34:15Z phoe: try to replace the lambda with (alexandria:rcurry #'member :test #'equal) and watch the world burn. 2021-04-14T12:34:39Z nij: I tried #+#.(ql:quickload :recording) t => error! 2021-04-14T12:34:52Z phoe: nij: reader conditionals work differently 2021-04-14T12:34:54Z nij: (no :RECORDING is there) 2021-04-14T12:35:32Z nij: Oh I see. 2021-04-14T12:36:46Z nij: #+#.(when (asdf:find-system :foo) '(and) '(or)) => error! 2021-04-14T12:37:15Z jackdaniel: does alexandria claim that test is evaluated? 2021-04-14T12:38:20Z phoe: unspecified 2021-04-14T12:39:19Z jackdaniel: defaulting to (quote eql) certainly makes such impression though 2021-04-14T12:39:32Z phoe: it only supports extracting QUOTE and FUNCTION via manual intervention 2021-04-14T12:39:39Z phoe: https://gitlab.common-lisp.net/alexandria/alexandria/-/blob/master/alexandria-1/control-flow.lisp#L3-9 2021-04-14T12:40:08Z phoe: why would it do that instead of doing an explicit ONCE-ONLY on the test and then FUNCALLing it though? 2021-04-14T12:41:10Z jackdaniel: funcalling things may have a certain performance penalty 2021-04-14T12:41:31Z jackdaniel: because not-sufficiently-smart-compiler will resolve the function at runtime 2021-04-14T12:42:05Z phoe: in this case, alexandria:switch could be smart and only resolve to FUNCALL if the test is a list whose CAR is neither QUOTE nor FUNCTION 2021-04-14T12:42:06Z jackdaniel: that said this probably should be smarter, like: atom - return spec, cons and (quite function) - extract, just cons - evaluate 2021-04-14T12:42:22Z jackdaniel: sure, I'm just guessing why it is written the way it is 2021-04-14T12:42:24Z phoe: yes 2021-04-14T12:42:35Z jackdaniel: lunch came, later \o 2021-04-14T12:42:45Z phoe: cya 2021-04-14T12:43:09Z Lycurgus quit (Quit: Exeunt) 2021-04-14T12:45:13Z aeth quit (Ping timeout: 240 seconds) 2021-04-14T12:45:20Z jrm quit (Read error: Connection reset by peer) 2021-04-14T12:45:27Z jrm2 joined #lisp 2021-04-14T12:46:09Z jrm2 is now known as jrm 2021-04-14T12:47:27Z aeth joined #lisp 2021-04-14T12:52:44Z nij: What's the cleanest way to alias #'f to #'g? 2021-04-14T12:53:04Z Bike: (setf (fdefinition 'f) (fdefinition 'g)) 2021-04-14T12:53:58Z igemnace quit (Remote host closed the connection) 2021-04-14T12:54:29Z nij: hmm.. error: G is undefined 2021-04-14T12:55:27Z Bike: er, did i misunderstand the direction, here? 2021-04-14T12:55:38Z _death: (rotatef (cadr form) (caddr form)) 2021-04-14T12:55:41Z Bike: do you want to make F an alias for an existing G function, or the other way around? 2021-04-14T12:55:58Z nij: oh the other way around works.. my english is the bug 2021-04-14T12:57:32Z nicktick joined #lisp 2021-04-14T13:00:52Z slyrus joined #lisp 2021-04-14T13:05:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-14T13:08:19Z amontero joined #lisp 2021-04-14T13:09:08Z nij: Hmm.. can I connect to a swank/slynk server from a running sbcl repl? 2021-04-14T13:09:37Z nij: Normally we have to go to emacs and `M-x sly-connect`.. but sometimes I want to hop into a server in a living repl. 2021-04-14T13:10:20Z amontero quit (Client Quit) 2021-04-14T13:10:27Z Bike: i don't understand 2021-04-14T13:10:41Z Bike: it's emacs that connects to swank/slynk. sbcl _runs_ a swank/slynk server 2021-04-14T13:11:11Z nij: yes.. say we have two sbcl repls. r1 and r2. 2021-04-14T13:11:30Z nij: In r1 I launch a swank server. I want to connect to it in r2.. 2021-04-14T13:11:57Z Bike: i mean it's emacs/slime/whatever it is for slynk that does the connection 2021-04-14T13:12:06Z Bike: that is an emacs program. it is not a lisp program. it doesn't run in sbcl 2021-04-14T13:12:15Z Bike: i don't think there is a lisp version of the client 2021-04-14T13:13:07Z nij: i see :( 2021-04-14T13:13:28Z Bike: i mean, it woudl be weird conceptually, right? it's not like an sbcl repl is a text editor 2021-04-14T13:14:11Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-14T13:14:21Z _death: well, it could be useful.. with climacs or whatever 2021-04-14T13:14:31Z mrchampion quit (Ping timeout: 260 seconds) 2021-04-14T13:14:33Z Alfr: nij, as a work around, you could securely forward the port swank/slynk listens on to a machine where you have emacs. 2021-04-14T13:14:35Z nij: For an sbcl to subsume shell.. I think this is needed? 2021-04-14T13:15:05Z Bike: well a shell is still not a text editor 2021-04-14T13:15:16Z Bike: maybe i don't understand what you mean 2021-04-14T13:15:54Z nij: i just hope that we can control one repl from another repl 2021-04-14T13:16:15Z wsinatra joined #lisp 2021-04-14T13:16:35Z _death: in fact looks like someone already did some work https://github.com/lem-project/lem/blob/master/modes/lisp-mode/swank-protocol.lisp 2021-04-14T13:16:36Z Bike: you could set up your own socket code to do so, though i'm not immediately sure of the point 2021-04-14T13:17:00Z Bike: man, there are kind of a lot of lisp editor projects, aren't there 2021-04-14T13:17:57Z Bike: but the slime/swank protocol is set up for editors so a lot of it won't make sense where you have a repl instead of an editor 2021-04-14T13:18:00Z beach: But don't they all do roughly the same thing? 2021-04-14T13:18:03Z luckless quit (Remote host closed the connection) 2021-04-14T13:18:12Z Bike: the editors? sure, i guess, they edit 2021-04-14T13:18:31Z beach: They "just" edit. 2021-04-14T13:19:42Z Bike: i haven't used lem so i don't know what features it does or doesn't have 2021-04-14T13:19:55Z Alfr: ... on their own and spit out what you wish for? I still waiting for that one. :D 2021-04-14T13:19:59Z amontero joined #lisp 2021-04-14T13:20:10Z Alfr: s/I/I'm/ 2021-04-14T13:21:12Z amontero quit (Client Quit) 2021-04-14T13:23:31Z phoe: Bike: there is 2021-04-14T13:23:40Z phoe: https://github.com/brown/swank-client/ 2021-04-14T13:23:56Z Bike: alright then. there you go, nij 2021-04-14T13:24:07Z phoe: along with swank-crew and lfarm for better distributed protocol 2021-04-14T13:24:11Z phoe: s/protocol/computing/ 2021-04-14T13:24:26Z orivej quit (Ping timeout: 260 seconds) 2021-04-14T13:24:30Z phoe: you can use the swank protocol for CL↔CL communication just fine this way 2021-04-14T13:25:08Z Bike: using an editor protocol for rpc seems like overkill to me. i guess it's easier than developing a smaller protocol and convincing people to implement it 2021-04-14T13:25:39Z nij is in search of a slynk-client 2021-04-14T13:26:03Z phoe: it avoids the NIH syndrome - there is already a battle-tested protocol and a battle-tested server, so why not 2021-04-14T13:27:14Z jackdaniel: there was a clim implementation of this protocol (for climacs) - afair its name was "SWINE" ^_^ 2021-04-14T13:29:24Z no-defun-allowed: Does it run in Wine? Then can I debug that combination from a lispm on EINE? 2021-04-14T13:29:45Z jackdaniel: sure it does 2021-04-14T13:30:54Z layerex joined #lisp 2021-04-14T13:31:30Z nij: im afraid there's no slynk equivalent of swank-client. 2021-04-14T13:31:36Z nij: jeez time to learn swank :D :D 2021-04-14T13:31:58Z aeth quit (Ping timeout: 240 seconds) 2021-04-14T13:32:06Z phoe: actually 2021-04-14T13:32:16Z phoe: https://github.com/joaotavora/sly/blob/master/CONTRIBUTING.md#swank-is-now-called-slynk 2021-04-14T13:32:32Z hiroaki_ joined #lisp 2021-04-14T13:32:51Z phoe: sly speaks the swank protocol 2021-04-14T13:32:59Z phoe: and swank-client is explicitly mentioned there 2021-04-14T13:33:05Z phoe: which is good news for you 2021-04-14T13:34:02Z aeth joined #lisp 2021-04-14T13:34:10Z nij: OH great. Lemme see :-D 2021-04-14T13:36:44Z nikolayclfx quit (Quit: Connection closed) 2021-04-14T13:41:08Z CrashTestDummy quit (Quit: Leaving) 2021-04-14T13:43:40Z narimiran quit (Ping timeout: 252 seconds) 2021-04-14T13:48:57Z indathrone quit (Ping timeout: 258 seconds) 2021-04-14T13:51:40Z nij quit (Remote host closed the connection) 2021-04-14T13:54:07Z cosimone quit (Remote host closed the connection) 2021-04-14T13:54:33Z CrashTestDummy joined #lisp 2021-04-14T13:55:40Z msk joined #lisp 2021-04-14T13:59:11Z hjudt quit (Ping timeout: 240 seconds) 2021-04-14T14:00:10Z msk quit (Ping timeout: 252 seconds) 2021-04-14T14:02:52Z amontero joined #lisp 2021-04-14T14:06:35Z CrashTestDummy quit (Quit: Leaving) 2021-04-14T14:06:57Z Kundry_Wag joined #lisp 2021-04-14T14:09:03Z amontero quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-14T14:11:40Z Posterdati quit (Read error: Connection reset by peer) 2021-04-14T14:13:16Z Posterdati joined #lisp 2021-04-14T14:16:59Z mrchampion joined #lisp 2021-04-14T14:17:44Z ukari quit (Ping timeout: 252 seconds) 2021-04-14T14:22:24Z rumbler31_ joined #lisp 2021-04-14T14:26:47Z attila_lendvai: any ASDF experts? i'd like to avoid perform'ing an operation if the output file exists (i.e. regardless of the modification time). any hints? overriding operation-done-p seems to be not enough. 2021-04-14T14:29:09Z CrashTestDummy joined #lisp 2021-04-14T14:31:21Z ukari joined #lisp 2021-04-14T14:33:04Z flip214: sorry, I can only offer an opposite hint - if you want to rebuild always, (on linux) you can use a dependency like /proc/stat which is always "current" 2021-04-14T14:33:15Z flip214: attila_lendvai: can you compare the output file's timestamp to itself? 2021-04-14T14:34:23Z ramHero joined #lisp 2021-04-14T14:34:25Z attila_lendvai: flip214, my issue is that i don't know what part of ASDF i should hook into. op-done-p is not even called if the input file's mod time is earlier 2021-04-14T14:35:16Z flip214: can you make input file == output file? 2021-04-14T14:36:09Z neirac joined #lisp 2021-04-14T14:41:33Z orivej joined #lisp 2021-04-14T14:44:50Z dyelar quit (Quit: Leaving.) 2021-04-14T14:44:55Z OlCe joined #lisp 2021-04-14T14:45:08Z aartaka joined #lisp 2021-04-14T14:50:26Z CrazyEddy quit (Ping timeout: 240 seconds) 2021-04-14T14:55:28Z srhm joined #lisp 2021-04-14T14:55:40Z dyelar joined #lisp 2021-04-14T14:56:59Z hypercube joined #lisp 2021-04-14T14:59:24Z luckless joined #lisp 2021-04-14T15:06:12Z hypercube quit (Ping timeout: 240 seconds) 2021-04-14T15:13:26Z CrazyEddy joined #lisp 2021-04-14T15:14:47Z cosimone joined #lisp 2021-04-14T15:19:20Z daphnis: how do i turn '((a b) (c d)) into '(a b c d)? 2021-04-14T15:19:51Z beach: daphnis: (reduce #'append '((a b) (c d)) :from-end t) 2021-04-14T15:21:44Z phoe: or (a:mappend #'identity '((a b) (c d))) 2021-04-14T15:21:52Z phoe: but that's only because I like mappend 2021-04-14T15:22:31Z phoe: Xach: nikodemus replied! I'll make a private fork first, submit some PRs, and then request him to transfer the repository over to sharplispers 2021-04-14T15:22:50Z beach: phoe: How is mappend implemented? 2021-04-14T15:23:14Z phoe: beach: (loop for results in (apply #'mapcar function lists) append results) 2021-04-14T15:23:42Z beach: That will work. 2021-04-14T15:23:49Z phoe: I assume that LOOP APPEND is smart enough to do :from-end t automatically for optimization 2021-04-14T15:23:53Z beach: yeah. 2021-04-14T15:23:59Z beach: Pretty sure. 2021-04-14T15:24:35Z phoe: _death: I see you have some screamer changes that have not been mainstreamed, should I take a look at them? 2021-04-14T15:25:53Z daphnis: beach: thanks! 2021-04-14T15:25:59Z beach: Pleasure. 2021-04-14T15:28:09Z slyrus joined #lisp 2021-04-14T15:30:15Z daphnis: from-end is faster? 2021-04-14T15:30:47Z phoe: yes 2021-04-14T15:30:57Z beach: If you don't to :FROM-END T then you have a quadratic algorithm. 2021-04-14T15:31:03Z phoe: it conses O(n) conses rather than O(n²)--- yes 2021-04-14T15:31:44Z splittist: phoe: if you're reaching for alexandria, why not a:flatten ? (: 2021-04-14T15:31:47Z phoe: note that if your lists are fresh and mutable rather than literal/quoted/immutable, you can NCONC them instead of APPENDing, and you'll cons nothing 2021-04-14T15:32:03Z phoe: splittist: will break in case of nested lists since it'll flatten them all 2021-04-14T15:32:10Z phoe: I got bitten by that once 2021-04-14T15:32:27Z beach: phoe: yes, but without :from-end t, you still have to traverse a quadratic number of times. 2021-04-14T15:32:43Z phoe: beach: oh right, it'll be both O(n²) space and memory 2021-04-14T15:33:05Z phoe: or rather, the latter will be reclaimable by the GC because the intermediate conses will be collectable 2021-04-14T15:33:10Z phoe: but still, this produces GC pressure 2021-04-14T15:33:35Z beach is lost. But that could be because of the time of day. 2021-04-14T15:33:43Z phoe: don't mind me 2021-04-14T15:33:44Z beach: "space and memory"? 2021-04-14T15:33:54Z phoe: time and memory, sorry 2021-04-14T15:34:46Z attila_lendvai_ joined #lisp 2021-04-14T15:34:58Z beach: So APPEND without :FROM-END T is quadratic in consing and traversal. NCONC without :FROM-END T is quadratic in traversal only. 2021-04-14T15:36:09Z aeth_ joined #lisp 2021-04-14T15:36:17Z phoe: oh right! I was thinking APPLY rather than REDUCE, you're right 2021-04-14T15:36:29Z phoe: REDUCE will work better. 2021-04-14T15:36:49Z aeth quit (Disconnected by services) 2021-04-14T15:36:52Z aeth_ is now known as aeth 2021-04-14T15:37:11Z attila_lendvai quit (Ping timeout: 240 seconds) 2021-04-14T15:42:10Z skapata joined #lisp 2021-04-14T15:42:21Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-14T15:44:38Z DanklyTuned joined #lisp 2021-04-14T15:47:52Z _death: phoe: yeah, I think they make sense 2021-04-14T15:48:33Z phoe: I see that nikodemus just reverted the SBCL change because it broke on clisp for whatever reason 2021-04-14T15:48:43Z phoe: the one with redefinition warnings 2021-04-14T15:49:01Z phoe: wouldn't it make more sense to prevent duplicate definitions from being generated in the first place? 2021-04-14T15:49:04Z phoe: (if possible) 2021-04-14T15:52:59Z _death: it's always possible, but would not be worthwhile in this case 2021-04-14T15:54:06Z phoe: we depend on implementation-defined behavior if we actually do generate multiple definitions 2021-04-14T15:54:20Z phoe: this can sort of work, but also is a portability quirk 2021-04-14T15:55:54Z chipolux joined #lisp 2021-04-14T15:56:16Z _death: screamer has a good reason for redefining them (when it realizes they are nondeterministic as they call nondeterministic functions that are defined later) 2021-04-14T15:56:50Z phoe: yes, I see 2021-04-14T15:56:51Z _death: iirc it's not implementation-defined behavior.. check the clhs reference I gave 2021-04-14T15:58:03Z _death: I don't know how it breaks on clisp (I've not checked it) 2021-04-14T15:58:06Z phoe: it's unspecified - CLHS defines that as "unpredictable but harmless" 2021-04-14T15:58:34Z _death: clhs 3.2.2.3 2021-04-14T15:58:35Z specbot: Semantic Constraints: http://www.lispworks.com/reference/HyperSpec/Body/03_bbc.htm 2021-04-14T15:58:45Z phoe: and that implementations are permitted to specify the consequences, and that portable code must not depend on the results or effects of that situation 2021-04-14T15:59:00Z phoe: "The consequences are unspecified if functions are redefined individually at run time or multiply defined in the same file." 2021-04-14T15:59:32Z phoe: I kinda wonder what "harmless" means in this concrete context 2021-04-14T16:00:45Z phoe: since they are also "unpredictable", so in theory two DEFUN FOO in one file can cause... yes, what exactly is permitted? 2021-04-14T16:01:08Z _death: where is the word "harmless"? 2021-04-14T16:01:19Z phoe: clhs 1.4.2 2021-04-14T16:01:19Z specbot: Error Terminology: http://www.lispworks.com/reference/HyperSpec/Body/01_db.htm 2021-04-14T16:01:21Z _death: in the definition of "unspecified"? 2021-04-14T16:01:24Z phoe: "The consequences are unspecified" 2021-04-14T16:01:53Z Bike: this seems like kind of a vague definition. 2021-04-14T16:02:25Z phoe: sure it is, because when we have two DEFUN FOOs in a row then what exactly does it mean that it's "unpredictable" to have stuff like that 2021-04-14T16:03:00Z phoe: because unpredictability itself in such a case is anything but harmless if e.g. we completely skip the second DEFUN FOO 2021-04-14T16:03:28Z phoe: which, naïvely looking, seems to be permitted? 2021-04-14T16:03:49Z _death: I don't remember what prompted me to make that change.. possibly an SBCL warning 2021-04-14T16:04:03Z phoe: I think so, yes, SBCL complains about multiple definitions 2021-04-14T16:04:28Z phoe: it produces full warnings for that 2021-04-14T16:04:48Z marusich quit (Ping timeout: 252 seconds) 2021-04-14T16:05:12Z _death: and why does clisp fail? 2021-04-14T16:05:22Z MetaYan_: jackdaniel: I just noticed that you were asking for my opinion about something earlier today, but even after reading the backlog, I still can't figure out what about... 2021-04-14T16:05:27Z _death: (with my change.. presumably it doesn't fail so hard without?) 2021-04-14T16:05:37Z phoe: _death: I have no idea! nikodemus will know 2021-04-14T16:05:54Z phoe: all I know is https://github.com/nikodemus/screamer/pull/20 2021-04-14T16:06:00Z bilegeek joined #lisp 2021-04-14T16:06:33Z phoe: perhaps it's because the HANDLER-BIND-wrapped DEFUN is no longer toplevel 2021-04-14T16:07:07Z phoe: which shouldn't really matter, because of the EVAL-ALWAYS... huh 2021-04-14T16:08:41Z _death: ok, I tried loading it with clisp 2021-04-14T16:08:48Z _death: @3728>: there is no package with name #1="SB-EXT" 2021-04-14T16:09:05Z _death: but that may be from another commit 2021-04-14T16:09:10Z phoe: wait, sb-ext? where 2021-04-14T16:09:15Z phoe: yes, must be some other commit 2021-04-14T16:09:43Z _death: yeah, another of my commits.. I'll conditionalize on #+sbcl for now 2021-04-14T16:09:48Z phoe: oh, yes, I see it now 2021-04-14T16:10:10Z _death: otherwise, it loads successfully 2021-04-14T16:10:30Z phoe: I asked for the concrete compilation error in the PR 2021-04-14T16:10:48Z _death: it wants stefil for the tests.. hmm 2021-04-14T16:11:22Z waleee-cl joined #lisp 2021-04-14T16:11:51Z _death: test-screamer returns T 2021-04-14T16:12:35Z _death: hopefully nikodemus will elaborate 2021-04-14T16:12:41Z phoe: yes 2021-04-14T16:16:33Z _death: not sure the tests cover that code.. I have some screamer code, but may or may not load on clisp without effort 2021-04-14T16:17:25Z long4mud joined #lisp 2021-04-14T16:18:23Z _death: eh, clisp backtraces look crappy with slime.. and no frame-source-location implementation 2021-04-14T16:19:24Z gitgood joined #lisp 2021-04-14T16:19:53Z contrapunctus left #lisp 2021-04-14T16:21:08Z mindCrime joined #lisp 2021-04-14T16:21:18Z contrapunctus joined #lisp 2021-04-14T16:23:49Z DHARMAKAYA joined #lisp 2021-04-14T16:26:05Z DHARMAKAYA quit (Client Quit) 2021-04-14T16:26:32Z DanklyTuned quit (Quit: nyaa~) 2021-04-14T16:27:36Z ukari quit (Remote host closed the connection) 2021-04-14T16:27:39Z contrapunctus left #lisp 2021-04-14T16:28:17Z contrapunctus joined #lisp 2021-04-14T16:28:20Z ukari joined #lisp 2021-04-14T16:28:24Z contrapunctus left #lisp 2021-04-14T16:28:34Z contrapunctus joined #lisp 2021-04-14T16:30:01Z DHARMAKAYA joined #lisp 2021-04-14T16:30:13Z ramHero quit (Remote host closed the connection) 2021-04-14T16:31:22Z _death: ok, some of my aoc2020 code that uses screamer fails on clisp, because screamer's walker does not support MACROLET 2021-04-14T16:34:16Z curtosis[away] joined #lisp 2021-04-14T16:34:34Z _death: and clisp's LOOP expands to that.. so I'm not sure screamer is very useful on clisp :) 2021-04-14T16:35:59Z phoe: gasp 2021-04-14T16:36:16Z phoe: make an issue mayhaps! 2021-04-14T16:36:38Z _death: nah, I don't use clisp nowadays so it's not an issue for me 2021-04-14T16:38:03Z aeth_ joined #lisp 2021-04-14T16:38:29Z _death: are you planning on using screamer btw? 2021-04-14T16:38:32Z attila_lendvai_ is now known as attila_lendvai 2021-04-14T16:38:40Z attila_lendvai quit (Changing host) 2021-04-14T16:38:40Z attila_lendvai joined #lisp 2021-04-14T16:38:58Z aeth quit (Ping timeout: 265 seconds) 2021-04-14T16:39:06Z phoe: a little bit; I plan on giving it some maintenance in order to get the official blessing to move the repo to sharplispers 2021-04-14T16:39:24Z phoe: and I've been curious about it for a long time, so that's also a chance to get to know it in depth 2021-04-14T16:39:39Z _death: cool 2021-04-14T16:40:29Z Shinmera: There's also https://shinmera.github.io/classowary for a linear constraint solver alternative. :) 2021-04-14T16:41:03Z Shinmera: It's definitely less fancy than Screamer though 2021-04-14T16:41:28Z _death: cool, I also have a pulp-like thing 2021-04-14T16:41:40Z phoe: Shinmera: it certainly seems capable of screaming though 2021-04-14T16:41:41Z phoe: https://www.youtube.com/watch?v=4dcQO6Zb8Eg 2021-04-14T16:42:13Z Shinmera: At least I can guarantee Classowary works well, since I use it quite a bit in my Alloy layouts. 2021-04-14T16:42:16Z ljavorsk joined #lisp 2021-04-14T16:42:50Z _death: that looks like https://gist.github.com/death/9b1be6ce8b34eb771c1d2ba6ef28210f 2021-04-14T16:43:22Z msk joined #lisp 2021-04-14T16:43:26Z ukari quit (Remote host closed the connection) 2021-04-14T16:44:05Z ukari joined #lisp 2021-04-14T16:45:27Z Shinmera: https://github.com/Shinmera/kandria/blob/master/ui/dialog.lisp#L29-L33 2021-04-14T16:47:06Z cage_ joined #lisp 2021-04-14T16:50:05Z contrapunctus left #lisp 2021-04-14T16:50:24Z contrapunctus joined #lisp 2021-04-14T16:52:35Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-14T16:53:01Z zaquest quit (Read error: Connection reset by peer) 2021-04-14T16:55:15Z aartaka quit (Read error: Connection reset by peer) 2021-04-14T16:55:21Z aartaka_d joined #lisp 2021-04-14T16:55:40Z aeth_ is now known as aeth 2021-04-14T16:56:22Z msk quit (Ping timeout: 265 seconds) 2021-04-14T16:58:30Z _death: phoe: another thing about screamer, I remember they warn about using stuff like DOLIST/DOTIMES in nondeterministic functions, because it may not establish a new binding on each iteration (it's implementation-defined).. but since they shadow CL symbols like DEFUN, why not also shadow DOLIST and friends to provide just that?.. I've not tried it 2021-04-14T16:58:45Z rumbler31 quit (Remote host closed the connection) 2021-04-14T16:58:55Z phoe: _death: that can work and should be a simple transform, please make an issue 2021-04-14T16:59:04Z rumbler31 joined #lisp 2021-04-14T16:59:41Z ramHero joined #lisp 2021-04-14T16:59:57Z _death: phoe: I don't like posting issues :).. to me an issue is a call for action on the maintainer, and I prefer my calls for action to be in the form of pull requests 2021-04-14T17:00:35Z phoe: _death: since it seems that I'll be maintaining screamer in the future - please do so 2021-04-14T17:01:05Z phoe: (and you can explicitly mention that in the issue text if that makes you feel a little bit better) 2021-04-14T17:01:07Z _death: phoe: you may do it yourself, if you're interested ;) 2021-04-14T17:01:37Z diamondbond joined #lisp 2021-04-14T17:02:25Z phoe: _death: ...I actually started looking at the docs and I cannot find them there 2021-04-14T17:02:33Z rumbler31_ quit (Ping timeout: 240 seconds) 2021-04-14T17:02:34Z phoe: like, dolist or dotimes 2021-04-14T17:02:49Z phoe: http://nikodemus.github.io/screamer/ does not mention dolist or dotimes or the term "binding" 2021-04-14T17:03:20Z _death: phoe: that's just what nikodemus wrote.. the original docs are in the papers directory 2021-04-14T17:04:08Z phoe: grepping the papers directory shows nothing, either 2021-04-14T17:04:34Z _death: check screamer.pdf 2021-04-14T17:04:35Z phoe: oooh, it is in the PDF file. 2021-04-14T17:04:39Z phoe: grepping doesn't find that. 2021-04-14T17:07:01Z phoe: and transforming DO macros is going to be simple but I don't think I'll want to make a LOOP wrapper 2021-04-14T17:07:42Z _death: right.. LOOP is a no-no too, but it's still useful in deterministic functions.. 2021-04-14T17:08:56Z Major_Biscuit quit (Quit: WeeChat 3.0.1) 2021-04-14T17:09:19Z zaquest joined #lisp 2021-04-14T17:10:12Z karlosz joined #lisp 2021-04-14T17:17:03Z Brucio-43 joined #lisp 2021-04-14T17:18:08Z Brucio-43 test 2021-04-14T17:18:17Z phoe: test successful 2021-04-14T17:22:57Z Brucio-43 quit (Ping timeout: 265 seconds) 2021-04-14T17:23:02Z Shinmera: or not. 2021-04-14T17:24:01Z attila_lendvai_ joined #lisp 2021-04-14T17:24:02Z attila_lendvai quit (Read error: Connection reset by peer) 2021-04-14T17:24:53Z mindCrime quit (Ping timeout: 268 seconds) 2021-04-14T17:25:30Z ljavorsk quit (Ping timeout: 268 seconds) 2021-04-14T17:26:01Z ukari quit (Remote host closed the connection) 2021-04-14T17:26:45Z ukari joined #lisp 2021-04-14T17:26:47Z gaqwas joined #lisp 2021-04-14T17:27:38Z varjag joined #lisp 2021-04-14T17:32:41Z DHARMAKAYA quit (Ping timeout: 240 seconds) 2021-04-14T17:35:40Z imode joined #lisp 2021-04-14T17:36:17Z attila_lendvai_ quit (Quit: Leaving) 2021-04-14T17:36:30Z attila_lendvai joined #lisp 2021-04-14T17:36:31Z attila_lendvai quit (Changing host) 2021-04-14T17:36:31Z attila_lendvai joined #lisp 2021-04-14T17:46:54Z heisig joined #lisp 2021-04-14T17:51:30Z fe[nl]ix: phoe: we can certainly move it to sharplispers 2021-04-14T17:51:48Z fe[nl]ix: it would be nice if Nikodemus started that instead of forking 2021-04-14T17:55:27Z _death: there's also screamer+, though the code there likely needs some work.. 2021-04-14T17:56:14Z mfiano: Wasn't there a screamer extensions repository with a questionable license, perhaps not by the same author? 2021-04-14T17:58:28Z _death: yeah, it has a "You may not distribute the code without prior consent from me.".. I'm guessing 20 years later, someone could ask the author to relicense 2021-04-14T17:58:30Z gareppa joined #lisp 2021-04-14T17:59:01Z mfiano: https://github.com/danlentz/screamer-plus 2021-04-14T17:59:12Z mfiano: I guess questionable in that it has none? 2021-04-14T17:59:42Z _death: mfiano: see comment in screamer-plus.lisp 2021-04-14T17:59:47Z gareppa quit (Remote host closed the connection) 2021-04-14T18:00:40Z mfiano: Eww, custom license. 2021-04-14T18:03:30Z rumbler31 quit (Remote host closed the connection) 2021-04-14T18:04:17Z rumbler31 joined #lisp 2021-04-14T18:04:22Z rumbler31_ joined #lisp 2021-04-14T18:09:09Z varjag quit (Ping timeout: 260 seconds) 2021-04-14T18:21:41Z sauvin quit (Remote host closed the connection) 2021-04-14T18:23:37Z Cthulhux quit (Changing host) 2021-04-14T18:23:37Z Cthulhux joined #lisp 2021-04-14T18:24:25Z varjag joined #lisp 2021-04-14T18:25:08Z aartaka joined #lisp 2021-04-14T18:25:49Z aartaka_d quit (Ping timeout: 252 seconds) 2021-04-14T18:27:54Z layerex quit (Quit: Leaving) 2021-04-14T18:28:30Z layerex joined #lisp 2021-04-14T18:28:55Z layerex quit (Client Quit) 2021-04-14T18:29:07Z varjag quit (Ping timeout: 252 seconds) 2021-04-14T18:34:02Z jeosol quit (Quit: Connection closed) 2021-04-14T18:34:11Z ukari quit (Remote host closed the connection) 2021-04-14T18:35:00Z ukari joined #lisp 2021-04-14T18:35:28Z remby joined #lisp 2021-04-14T18:35:31Z phoe: fe[nl]ix: I got a mail from Nikodemus - he'll gladly move it himself once some fixes with PRs are submitted to the original repo 2021-04-14T18:36:22Z phoe: and I'll try doing just that 2021-04-14T18:38:27Z plaisanterie joined #lisp 2021-04-14T18:42:41Z hjudt joined #lisp 2021-04-14T18:42:46Z cosimone quit (Read error: Connection reset by peer) 2021-04-14T18:45:47Z varjag joined #lisp 2021-04-14T18:46:13Z hypercube joined #lisp 2021-04-14T18:53:38Z kpoeck joined #lisp 2021-04-14T18:54:29Z hypercube quit (Ping timeout: 246 seconds) 2021-04-14T18:55:53Z UM-Li joined #lisp 2021-04-14T18:57:23Z UM-Li quit (Client Quit) 2021-04-14T18:57:47Z davd33 quit (Remote host closed the connection) 2021-04-14T19:01:54Z narimiran joined #lisp 2021-04-14T19:03:32Z attila_lendvai: luis, ping. would you mind if we made cffi get captured by quicklisp by a moving tag instead of the tarball from cl.net? i.e. tagged-git https://github.com/cffi/cffi.git stable 2021-04-14T19:04:10Z attila_lendvai: luis, that would make it more flexible for us to designate which state ql should capture... just move a tag, instead of releasing... 2021-04-14T19:05:47Z hypercube joined #lisp 2021-04-14T19:07:25Z plaisanterie quit (Quit: Connection closed) 2021-04-14T19:11:46Z OlCe quit (Ping timeout: 240 seconds) 2021-04-14T19:21:55Z layerex joined #lisp 2021-04-14T19:24:36Z fe[nl]ix: phoe: very nice 2021-04-14T19:24:54Z fe[nl]ix: attila_lendvai: what's the benefit ? 2021-04-14T19:26:08Z attila_lendvai: fe[nl]ix, anyone who has the git commit bit can designate what should go into ql. moving a tag is much less work than releasing, and maybe you don't want to release, yet you want ql to get some patches. 2021-04-14T19:26:26Z aartaka_d joined #lisp 2021-04-14T19:27:09Z attila_lendvai: another benefit is that ql can capture the sources even if cl.net is down (assuming that github.com will better survive any upcoming internet split) 2021-04-14T19:27:09Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-14T19:27:32Z aartaka quit (Ping timeout: 240 seconds) 2021-04-14T19:28:18Z Odin-: attila_lendvai: I'd guess that depends on whether you end up on the Apple or Facebook side. 2021-04-14T19:28:23Z Odin-: :p 2021-04-14T19:29:10Z layerex quit (Remote host closed the connection) 2021-04-14T19:30:13Z attila_lendvai: Odin-, i'm more worried about politicians screwing us up with their geopolitical nonsense... 2021-04-14T19:31:10Z attila_lendvai: bonus reason: git is a much better versioning tool than named tarballs on random servers... 2021-04-14T19:32:10Z Odin-: attila_lendvai: Those are all 'soft' splits, and most of the ones that are likely to happen based on the geopolitics are already in place. 2021-04-14T19:32:51Z Odin-: Unless you're expecting a successful nazi movement in the US next round..? 2021-04-14T19:34:05Z jeosol joined #lisp 2021-04-14T19:36:02Z andrei-n quit (Quit: Leaving) 2021-04-14T19:37:19Z aartaka_d quit (Ping timeout: 252 seconds) 2021-04-14T19:37:33Z Shinmera: this is definitely not the place to discuss politics. 2021-04-14T19:38:05Z cosimone joined #lisp 2021-04-14T19:40:46Z heisig quit (Ping timeout: 252 seconds) 2021-04-14T19:46:42Z hypercube quit (Quit: WeeChat 3.1) 2021-04-14T19:48:38Z DHARMAKAYA joined #lisp 2021-04-14T19:52:46Z Lord_of_Life_ joined #lisp 2021-04-14T19:55:04Z Lord_of_Life quit (Ping timeout: 252 seconds) 2021-04-14T19:55:05Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-14T19:59:35Z rumbler31_ quit (Ping timeout: 246 seconds) 2021-04-14T20:01:42Z asarch joined #lisp 2021-04-14T20:02:06Z Nilby joined #lisp 2021-04-14T20:02:55Z kpoeck quit (Quit: Connection closed) 2021-04-14T20:03:38Z aartaka joined #lisp 2021-04-14T20:05:01Z scymtym quit (Ping timeout: 250 seconds) 2021-04-14T20:05:06Z krjli joined #lisp 2021-04-14T20:08:06Z ukari quit (Remote host closed the connection) 2021-04-14T20:08:55Z ukari joined #lisp 2021-04-14T20:09:00Z rumbler3_ joined #lisp 2021-04-14T20:09:19Z aoeu256 joined #lisp 2021-04-14T20:10:05Z rumbler31 quit (Remote host closed the connection) 2021-04-14T20:10:05Z narimiran quit (Ping timeout: 240 seconds) 2021-04-14T20:10:21Z rodriga quit (Read error: Connection reset by peer) 2021-04-14T20:12:13Z remby quit (Remote host closed the connection) 2021-04-14T20:12:38Z remby joined #lisp 2021-04-14T20:13:39Z copec: Is there a standard name for an initialization function that people like to group everything under for some package? 2021-04-14T20:16:38Z aartaka_d joined #lisp 2021-04-14T20:17:49Z anticrisis joined #lisp 2021-04-14T20:17:55Z aartaka quit (Ping timeout: 265 seconds) 2021-04-14T20:18:31Z rumbler3_ quit (Remote host closed the connection) 2021-04-14T20:19:19Z phoe: clhs initialize-instance 2021-04-14T20:19:19Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_init_i.htm 2021-04-14T20:19:19Z rumbler31 joined #lisp 2021-04-14T20:19:45Z phoe: people like adding constructor stuffs as :before and :after methods for that GF 2021-04-14T20:19:54Z phoe: mostly :after 2021-04-14T20:20:06Z phoe: or do you mean something else? 2021-04-14T20:21:28Z rumbler31 quit (Remote host closed the connection) 2021-04-14T20:21:45Z rumbler31 joined #lisp 2021-04-14T20:22:18Z hypercube joined #lisp 2021-04-14T20:22:35Z DHARMAKAYA quit (Ping timeout: 260 seconds) 2021-04-14T20:22:55Z bilegeek quit (Quit: Leaving) 2021-04-14T20:24:13Z scymtym joined #lisp 2021-04-14T20:26:58Z copec: I read in S-exp from a config file into clos objects, and have a function that does it 2021-04-14T20:27:37Z Lycurgus joined #lisp 2021-04-14T20:28:26Z copec: I could just (function-name) under a commented init section, but I was wondering if there was a defacto standard, like to make an (init) function or something 2021-04-14T20:28:29Z copec: and group everything under that 2021-04-14T20:32:46Z asarch: What is a "generator"? 2021-04-14T20:33:15Z Bike: that term refers to many different things in many different contexts 2021-04-14T20:33:23Z Bike: do you have one in min 2021-04-14T20:33:24Z Bike: d 2021-04-14T20:34:42Z asarch: As a result of a query from a DB cluster? 2021-04-14T20:36:02Z Bike: it might mean a closure with state that returns a new value from an iteration every time you call it 2021-04-14T20:36:10Z Bike: but that is a guess based on little information 2021-04-14T20:37:38Z daphnis quit (Ping timeout: 240 seconds) 2021-04-14T20:37:54Z daphnis joined #lisp 2021-04-14T20:40:09Z aoeu256 quit (Ping timeout: 265 seconds) 2021-04-14T20:42:38Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-14T20:43:29Z DHARMAKAYA joined #lisp 2021-04-14T20:43:46Z cage_ quit (Quit: Leaving) 2021-04-14T20:43:56Z asarch: Where could I learn more about it? 2021-04-14T20:44:09Z msk joined #lisp 2021-04-14T20:44:12Z Bike: i don't know? the documentation of whatever system you're getting this thing from, probably? 2021-04-14T20:46:02Z asarch: I see 2021-04-14T20:46:18Z asarch: Thank you Bike! Thank you very much! :-) 2021-04-14T20:46:24Z asarch: Have a nice day! 2021-04-14T20:46:27Z asarch quit (Quit: Leaving) 2021-04-14T20:46:46Z shka_ quit (Ping timeout: 240 seconds) 2021-04-14T20:48:33Z msk quit (Ping timeout: 240 seconds) 2021-04-14T20:49:22Z daphnis_ joined #lisp 2021-04-14T20:49:35Z Kundry_Wag quit (Read error: Connection reset by peer) 2021-04-14T20:49:41Z daphnis quit (Ping timeout: 240 seconds) 2021-04-14T20:49:49Z mindCrime joined #lisp 2021-04-14T20:50:01Z Kundry_Wag joined #lisp 2021-04-14T20:50:16Z Alfr: I think w-h-t-i has a nice example for generators in that sense, Bike. 2021-04-14T20:50:48Z X-Scale quit (Ping timeout: 252 seconds) 2021-04-14T20:52:57Z X-Scale` joined #lisp 2021-04-14T20:55:51Z jeosol quit (Quit: Connection closed) 2021-04-14T21:00:43Z jeosol joined #lisp 2021-04-14T21:02:10Z msk joined #lisp 2021-04-14T21:03:53Z theothornhill joined #lisp 2021-04-14T21:06:26Z msk quit (Ping timeout: 240 seconds) 2021-04-14T21:08:41Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-14T21:14:40Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-14T21:14:49Z elderK joined #lisp 2021-04-14T21:20:56Z CrazyPython joined #lisp 2021-04-14T21:26:40Z cosimone quit (Read error: Connection reset by peer) 2021-04-14T21:29:05Z daphnis_ quit (Ping timeout: 268 seconds) 2021-04-14T21:29:39Z theothornhill joined #lisp 2021-04-14T21:30:31Z daphnis joined #lisp 2021-04-14T21:32:23Z remby quit (Quit: Leaving) 2021-04-14T21:35:57Z gaqwas joined #lisp 2021-04-14T21:35:57Z gaqwas quit (Changing host) 2021-04-14T21:35:57Z gaqwas joined #lisp 2021-04-14T21:36:32Z theothornhill quit (Ping timeout: 246 seconds) 2021-04-14T21:37:11Z daphnis quit (Ping timeout: 265 seconds) 2021-04-14T21:46:00Z theothornhill joined #lisp 2021-04-14T21:52:20Z devrtz quit (Ping timeout: 258 seconds) 2021-04-14T21:53:00Z Yardanico quit (Remote host closed the connection) 2021-04-14T21:53:23Z varjag quit (Remote host closed the connection) 2021-04-14T21:53:33Z varjag joined #lisp 2021-04-14T21:54:07Z Yardanico joined #lisp 2021-04-14T21:54:31Z devrtz joined #lisp 2021-04-14T21:54:49Z krjli quit (Remote host closed the connection) 2021-04-14T21:55:35Z msk joined #lisp 2021-04-14T21:56:02Z gaqwas quit (Ping timeout: 265 seconds) 2021-04-14T21:56:12Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-14T21:58:41Z varjag quit (Ping timeout: 268 seconds) 2021-04-14T21:59:46Z msk quit (Ping timeout: 252 seconds) 2021-04-14T22:02:55Z villanella quit (Quit: villanella) 2021-04-14T22:05:01Z contrapunctus left #lisp 2021-04-14T22:07:20Z chipolux quit (Quit: chipolux) 2021-04-14T22:07:20Z contrapunctus joined #lisp 2021-04-14T22:12:59Z rumbler31_ joined #lisp 2021-04-14T22:14:05Z surabax quit (Quit: Leaving) 2021-04-14T22:20:11Z skapata quit (Ping timeout: 260 seconds) 2021-04-14T22:21:46Z skapata joined #lisp 2021-04-14T22:23:06Z Lycurgus quit (Quit: Exeunt) 2021-04-14T22:23:31Z curtosis[away] joined #lisp 2021-04-14T22:26:05Z frgo quit (Remote host closed the connection) 2021-04-14T22:26:29Z frgo joined #lisp 2021-04-14T22:27:37Z pve quit (Quit: leaving) 2021-04-14T22:32:43Z maiqthefalse quit (Quit: Connection closed for inactivity) 2021-04-14T22:39:55Z aeth quit (Ping timeout: 252 seconds) 2021-04-14T22:41:37Z aeth joined #lisp 2021-04-14T22:43:04Z fiddlerwoaroof: flip214: maybe I should contact him directly, I'd like to pull things like author/title/etc. 2021-04-14T22:43:27Z lotuseater quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-14T22:43:39Z fiddlerwoaroof: The last time I tried, I also ran into issues with PDF spec versions, I think 2021-04-14T22:44:41Z charles` joined #lisp 2021-04-14T22:47:22Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-14T22:51:32Z nicktick quit (Ping timeout: 240 seconds) 2021-04-14T22:56:22Z skapata quit (Remote host closed the connection) 2021-04-14T23:01:38Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-14T23:02:50Z hendursaga joined #lisp 2021-04-14T23:17:02Z hendursaga quit (Remote host closed the connection) 2021-04-14T23:17:24Z hendursaga joined #lisp 2021-04-14T23:25:29Z torbo joined #lisp 2021-04-14T23:27:13Z random-nick quit (Ping timeout: 240 seconds) 2021-04-14T23:30:25Z igemnace joined #lisp 2021-04-14T23:35:18Z hjudt quit (Ping timeout: 240 seconds) 2021-04-14T23:36:34Z orivej quit (Ping timeout: 265 seconds) 2021-04-14T23:36:41Z Lord_Nightmare quit (Quit: ZNC - http://znc.in) 2021-04-14T23:38:32Z hypercube quit (Ping timeout: 240 seconds) 2021-04-14T23:38:43Z Lord_Nightmare joined #lisp 2021-04-14T23:40:26Z ukari quit (Remote host closed the connection) 2021-04-14T23:41:19Z ukari joined #lisp 2021-04-14T23:42:19Z jeosol quit (Quit: Connection closed) 2021-04-14T23:45:17Z rumbler3_ joined #lisp 2021-04-14T23:45:41Z rumbler31 quit (Ping timeout: 246 seconds) 2021-04-14T23:55:12Z rumbler31_ quit (Ping timeout: 240 seconds) 2021-04-14T23:59:20Z bilegeek joined #lisp 2021-04-15T00:01:47Z abrantesasf joined #lisp 2021-04-15T00:09:41Z raeda quit (Ping timeout: 240 seconds) 2021-04-15T00:10:01Z bilegeek quit (Quit: Leaving) 2021-04-15T00:10:08Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-15T00:12:40Z msk joined #lisp 2021-04-15T00:17:16Z msk quit (Ping timeout: 252 seconds) 2021-04-15T00:19:17Z rdd quit (Ping timeout: 246 seconds) 2021-04-15T00:20:55Z raeda joined #lisp 2021-04-15T00:30:46Z karlosz quit (Quit: karlosz) 2021-04-15T00:41:26Z DHARMAKAYA joined #lisp 2021-04-15T00:42:23Z deltab quit (Ping timeout: 246 seconds) 2021-04-15T00:46:16Z nicktick joined #lisp 2021-04-15T00:49:58Z deltab joined #lisp 2021-04-15T00:59:05Z rumbler31_ joined #lisp 2021-04-15T01:08:12Z quazimodo quit (Ping timeout: 252 seconds) 2021-04-15T01:08:53Z phantomics quit (Remote host closed the connection) 2021-04-15T01:19:25Z attila_lendvai quit (Ping timeout: 260 seconds) 2021-04-15T01:21:56Z wxie joined #lisp 2021-04-15T01:22:06Z deltab quit (Ping timeout: 240 seconds) 2021-04-15T01:22:32Z deltab joined #lisp 2021-04-15T01:23:51Z theothornhill joined #lisp 2021-04-15T01:24:18Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-15T01:28:06Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-15T01:28:52Z ramHero quit (Ping timeout: 240 seconds) 2021-04-15T01:30:00Z quazimodo joined #lisp 2021-04-15T01:34:51Z hypercube joined #lisp 2021-04-15T01:40:18Z abhixec quit (Ping timeout: 240 seconds) 2021-04-15T01:54:21Z anticrisis_ joined #lisp 2021-04-15T01:55:32Z drdo quit (Ping timeout: 246 seconds) 2021-04-15T01:55:44Z gpiero_ joined #lisp 2021-04-15T01:56:26Z abrantesasf quit (Quit: Leaving) 2021-04-15T01:56:43Z drdo joined #lisp 2021-04-15T01:56:56Z cods quit (Ping timeout: 246 seconds) 2021-04-15T01:56:56Z nopf quit (Ping timeout: 246 seconds) 2021-04-15T01:57:17Z anticrisis quit (Ping timeout: 246 seconds) 2021-04-15T01:57:17Z mtd__ quit (Ping timeout: 246 seconds) 2021-04-15T01:57:17Z Juonu quit (Ping timeout: 246 seconds) 2021-04-15T01:57:18Z ferada quit (Ping timeout: 246 seconds) 2021-04-15T01:57:18Z Fade quit (Ping timeout: 246 seconds) 2021-04-15T01:57:24Z Fade joined #lisp 2021-04-15T01:57:24Z mtd joined #lisp 2021-04-15T01:57:35Z Juonu joined #lisp 2021-04-15T01:57:38Z gpiero quit (Ping timeout: 246 seconds) 2021-04-15T01:57:38Z pok quit (Ping timeout: 246 seconds) 2021-04-15T01:57:45Z pok joined #lisp 2021-04-15T01:58:41Z fourier quit (Ping timeout: 246 seconds) 2021-04-15T01:58:53Z nopf joined #lisp 2021-04-15T01:59:00Z cods joined #lisp 2021-04-15T01:59:34Z fourier joined #lisp 2021-04-15T02:02:40Z ferada joined #lisp 2021-04-15T02:03:32Z CrazyPython quit (Ping timeout: 240 seconds) 2021-04-15T02:26:52Z igemnace quit (Quit: WeeChat 3.1) 2021-04-15T02:28:55Z igemnace joined #lisp 2021-04-15T02:32:15Z zaquest quit (Quit: Leaving) 2021-04-15T02:35:41Z zaquest joined #lisp 2021-04-15T02:42:01Z torbo quit (Remote host closed the connection) 2021-04-15T02:44:40Z rumbler31_ quit (Ping timeout: 252 seconds) 2021-04-15T02:51:11Z _jrjsmrtn joined #lisp 2021-04-15T02:52:41Z __jrjsmrtn__ quit (Ping timeout: 240 seconds) 2021-04-15T02:56:38Z fiddlerwoaroof: I think screamer-plus's github repo there might be a license violation :) 2021-04-15T02:57:15Z fiddlerwoaroof: The email in the license note is for Simon White e 2021-04-15T03:01:11Z mrchampion quit (Ping timeout: 240 seconds) 2021-04-15T03:02:58Z Nilby: Yes. Also the "You may not distribute the code" part. 2021-04-15T03:03:44Z Oladon joined #lisp 2021-04-15T03:04:10Z mrchampion joined #lisp 2021-04-15T03:07:40Z rwcom60280385034 joined #lisp 2021-04-15T03:07:51Z beach: Good morning everyone! 2021-04-15T03:09:45Z Nilby: Good morning. 2021-04-15T03:12:25Z les-citrons joined #lisp 2021-04-15T03:12:41Z les-citrons left #lisp 2021-04-15T03:12:57Z Kundry_Wag quit (Read error: No route to host) 2021-04-15T03:13:22Z Kundry_Wag joined #lisp 2021-04-15T03:14:25Z mindCrime quit (Ping timeout: 268 seconds) 2021-04-15T03:17:26Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-15T03:22:36Z Kundry_Wag joined #lisp 2021-04-15T03:26:21Z indathrone joined #lisp 2021-04-15T03:37:37Z neirac_ joined #lisp 2021-04-15T03:38:41Z neirac quit (Ping timeout: 240 seconds) 2021-04-15T03:39:48Z rtypo joined #lisp 2021-04-15T03:40:33Z Bike quit (Quit: leaving) 2021-04-15T03:43:31Z zaquest quit (Ping timeout: 252 seconds) 2021-04-15T03:46:07Z mh__ joined #lisp 2021-04-15T03:48:03Z theothornhill joined #lisp 2021-04-15T03:48:50Z Nilby quit (Ping timeout: 258 seconds) 2021-04-15T03:52:06Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-15T04:00:20Z housel quit (Read error: Connection reset by peer) 2021-04-15T04:09:31Z Oladon quit (Quit: Leaving.) 2021-04-15T04:18:51Z jeosol joined #lisp 2021-04-15T04:21:18Z ebrasca quit (Remote host closed the connection) 2021-04-15T04:26:58Z mh__ left #lisp 2021-04-15T04:34:56Z theothornhill joined #lisp 2021-04-15T04:39:54Z zaquest joined #lisp 2021-04-15T04:41:24Z srhm quit (Quit: Konversation terminated!) 2021-04-15T04:42:28Z mrchampion quit (Remote host closed the connection) 2021-04-15T04:50:58Z rumbler3_ quit (Remote host closed the connection) 2021-04-15T04:51:44Z rumbler31 joined #lisp 2021-04-15T05:02:46Z narimiran joined #lisp 2021-04-15T05:08:52Z nicktick quit (Ping timeout: 240 seconds) 2021-04-15T05:09:53Z aindilis quit (Remote host closed the connection) 2021-04-15T05:10:34Z aindilis` joined #lisp 2021-04-15T05:10:58Z aindilis` quit (Remote host closed the connection) 2021-04-15T05:10:59Z varjag joined #lisp 2021-04-15T05:11:09Z sauvin joined #lisp 2021-04-15T05:12:13Z housel joined #lisp 2021-04-15T05:22:33Z mh__ joined #lisp 2021-04-15T05:22:58Z madrik joined #lisp 2021-04-15T05:25:29Z Nilby joined #lisp 2021-04-15T05:29:03Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-15T05:29:11Z rtypo quit (Ping timeout: 240 seconds) 2021-04-15T05:34:57Z shka_ joined #lisp 2021-04-15T05:35:41Z theothornhill quit (Ping timeout: 246 seconds) 2021-04-15T05:36:44Z andrei-n joined #lisp 2021-04-15T05:37:00Z frost-lab joined #lisp 2021-04-15T05:41:53Z asarch joined #lisp 2021-04-15T05:43:44Z varjag quit (Ping timeout: 246 seconds) 2021-04-15T05:45:04Z imode quit (Ping timeout: 252 seconds) 2021-04-15T05:45:40Z madand quit (Quit: ZNC 1.8.2 - https://znc.in) 2021-04-15T05:47:19Z madand joined #lisp 2021-04-15T05:47:38Z hjudt joined #lisp 2021-04-15T05:48:39Z gaqwas joined #lisp 2021-04-15T05:49:11Z hypercube quit (Ping timeout: 240 seconds) 2021-04-15T05:51:19Z hypercube joined #lisp 2021-04-15T05:59:37Z DGASAU joined #lisp 2021-04-15T06:05:06Z paul0 joined #lisp 2021-04-15T06:08:18Z _paul0 quit (Ping timeout: 240 seconds) 2021-04-15T06:12:49Z flip214: fiddlerwoaroof: https://github.com/mbattyani/cl-pdf/issues/27 2021-04-15T06:19:30Z theothornhill joined #lisp 2021-04-15T06:20:16Z daphnis joined #lisp 2021-04-15T06:23:59Z gaqwas quit (Ping timeout: 246 seconds) 2021-04-15T06:37:18Z orivej joined #lisp 2021-04-15T06:37:34Z ljavorsk joined #lisp 2021-04-15T06:44:47Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-15T06:45:16Z asarch quit (Quit: Leaving) 2021-04-15T06:47:54Z random-nick joined #lisp 2021-04-15T06:48:42Z varjag joined #lisp 2021-04-15T06:51:02Z sm2n_ joined #lisp 2021-04-15T06:52:07Z sm2n quit (Read error: Connection reset by peer) 2021-04-15T06:53:34Z cosimone joined #lisp 2021-04-15T06:59:42Z slyrus quit (Remote host closed the connection) 2021-04-15T07:00:40Z slyrus joined #lisp 2021-04-15T07:04:54Z sauvin quit (Read error: Connection reset by peer) 2021-04-15T07:05:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-15T07:05:20Z sauvin joined #lisp 2021-04-15T07:10:19Z lukego: I was a good boy and write some unit tests but I'm already deleting them all because they are not worth the effort to maintain. 2021-04-15T07:13:29Z aartaka joined #lisp 2021-04-15T07:13:56Z Stanley00 joined #lisp 2021-04-15T07:16:04Z Oddity joined #lisp 2021-04-15T07:16:35Z gpiero_ quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-15T07:16:59Z gpiero joined #lisp 2021-04-15T07:17:02Z theothornhill quit (Remote host closed the connection) 2021-04-15T07:17:16Z slyrus joined #lisp 2021-04-15T07:18:18Z OlCe joined #lisp 2021-04-15T07:19:24Z cosimone` joined #lisp 2021-04-15T07:19:36Z cosimone quit (Remote host closed the connection) 2021-04-15T07:22:25Z krjli joined #lisp 2021-04-15T07:27:06Z pve joined #lisp 2021-04-15T07:27:19Z surabax joined #lisp 2021-04-15T07:39:11Z anticrisis_ quit (Read error: Connection reset by peer) 2021-04-15T07:39:43Z jeosol quit (Ping timeout: 240 seconds) 2021-04-15T07:41:55Z layerex joined #lisp 2021-04-15T07:51:46Z vsync quit (Ping timeout: 240 seconds) 2021-04-15T07:52:22Z fouric quit (Quit: WeeChat 2.8) 2021-04-15T07:53:22Z lotuseater joined #lisp 2021-04-15T07:54:52Z vsync joined #lisp 2021-04-15T07:55:13Z slyrus quit (Ping timeout: 240 seconds) 2021-04-15T07:55:20Z contrapunctus left #lisp 2021-04-15T07:58:10Z orivej quit (Ping timeout: 252 seconds) 2021-04-15T07:58:23Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-15T07:59:24Z contrapunctus joined #lisp 2021-04-15T08:07:20Z hendursa1 joined #lisp 2021-04-15T08:07:43Z splittist: lukego: If I'm writing to a spec, or in the last throws of writing (or, at least, working out) a spec, then I find unit(?) tests to be useful. But if I'm 'exploring the design space' (i.e. coding without knowing what I'm doing) then I do find them a boat anchor rather than a sanity check. 2021-04-15T08:10:01Z hiroaki_ joined #lisp 2021-04-15T08:10:12Z supercoven quit (Read error: Connection reset by peer) 2021-04-15T08:10:21Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-15T08:12:06Z Nilby quit (Quit: [deleted]) 2021-04-15T08:12:15Z dickbarends joined #lisp 2021-04-15T08:12:16Z lukego: splittist: I think that in this case I wrote some really basic unit tests as scaffolding to get some low-level routines working for the first time. but now I don't need it much because I've written other code that exercises these routines pretty thoroughly and I can just run that to get test coverage. 2021-04-15T08:13:12Z lukego: so it seems like my test suite will just try to exercise lots of relevant code paths and then I'll need to have enough "design by contract" style instrumentation to be able to catch and debug errors when/where they occur 2021-04-15T08:14:09Z gitgood quit (Quit: Probably away to do something really awesome) 2021-04-15T08:14:24Z jackdaniel: I call it bravery! ;-) 2021-04-15T08:15:04Z jackdaniel: but tests are a drag (although a very useful one) 2021-04-15T08:16:08Z mindCrime joined #lisp 2021-04-15T08:16:13Z supercoven joined #lisp 2021-04-15T08:16:14Z supercoven quit (Max SendQ exceeded) 2021-04-15T08:16:24Z lukego: (my case might also be special in that these are routines for importing data in a specific file format and it only takes three and a half seconds to import all such data that actually exists... so I don't really need to be prepared for inputs that aren't included in the test suite) 2021-04-15T08:16:28Z supercoven joined #lisp 2021-04-15T08:16:29Z supercoven quit (Max SendQ exceeded) 2021-04-15T08:16:43Z supercoven joined #lisp 2021-04-15T08:19:08Z madrik left #lisp 2021-04-15T08:22:52Z hypercube quit (Ping timeout: 240 seconds) 2021-04-15T08:33:40Z slyrus joined #lisp 2021-04-15T08:37:54Z notzmv quit (Ping timeout: 265 seconds) 2021-04-15T08:38:05Z slyrus quit (Ping timeout: 260 seconds) 2021-04-15T08:49:43Z cosimone` quit (Remote host closed the connection) 2021-04-15T08:50:04Z slyrus joined #lisp 2021-04-15T08:51:33Z rjcks joined #lisp 2021-04-15T08:51:36Z msk joined #lisp 2021-04-15T08:54:12Z slyrus quit (Ping timeout: 240 seconds) 2021-04-15T09:01:50Z datajerk quit (Ping timeout: 246 seconds) 2021-04-15T09:02:58Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-15T09:08:08Z DGASAU quit (Ping timeout: 246 seconds) 2021-04-15T09:10:29Z datajerk joined #lisp 2021-04-15T09:10:52Z dhil joined #lisp 2021-04-15T09:11:12Z DGASAU joined #lisp 2021-04-15T09:13:20Z slyrus joined #lisp 2021-04-15T09:15:36Z supercoven quit (Ping timeout: 260 seconds) 2021-04-15T09:17:35Z slyrus quit (Ping timeout: 246 seconds) 2021-04-15T09:18:47Z DGASAU quit (Read error: Connection reset by peer) 2021-04-15T09:20:16Z DGASAU joined #lisp 2021-04-15T09:25:17Z DGASAU quit (Read error: Connection reset by peer) 2021-04-15T09:26:33Z skapata joined #lisp 2021-04-15T09:26:47Z DGASAU joined #lisp 2021-04-15T09:27:26Z ukari quit (Ping timeout: 240 seconds) 2021-04-15T09:27:37Z krjli quit (Remote host closed the connection) 2021-04-15T09:31:12Z DGASAU quit (Read error: Connection reset by peer) 2021-04-15T09:33:23Z slyrus joined #lisp 2021-04-15T09:34:04Z DGASAU joined #lisp 2021-04-15T09:36:26Z DGASAU quit (Read error: Connection reset by peer) 2021-04-15T09:36:26Z rumbler31_ joined #lisp 2021-04-15T09:37:52Z slyrus quit (Ping timeout: 252 seconds) 2021-04-15T09:47:27Z attila_lendvai joined #lisp 2021-04-15T09:49:26Z slyrus joined #lisp 2021-04-15T09:51:22Z orivej joined #lisp 2021-04-15T09:51:33Z rogersm joined #lisp 2021-04-15T09:54:16Z slyrus quit (Ping timeout: 265 seconds) 2021-04-15T10:00:07Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-15T10:07:32Z wxie quit (Ping timeout: 240 seconds) 2021-04-15T10:12:40Z igemnace quit (Remote host closed the connection) 2021-04-15T10:13:55Z hypercube joined #lisp 2021-04-15T10:16:46Z varjag quit (Quit: ERC (IRC client for Emacs 26.3)) 2021-04-15T10:19:31Z OlCe quit (Ping timeout: 252 seconds) 2021-04-15T10:24:00Z slyrus joined #lisp 2021-04-15T10:25:08Z frgo quit (Remote host closed the connection) 2021-04-15T10:25:33Z frgo joined #lisp 2021-04-15T10:28:17Z slyrus quit (Ping timeout: 246 seconds) 2021-04-15T10:29:11Z Stanley00 quit (Remote host closed the connection) 2021-04-15T10:31:47Z Stanley00 joined #lisp 2021-04-15T10:34:01Z Stanley00 quit (Remote host closed the connection) 2021-04-15T10:34:30Z notzmv joined #lisp 2021-04-15T10:36:16Z Stanley00 joined #lisp 2021-04-15T10:43:16Z Stanley00 quit (Remote host closed the connection) 2021-04-15T10:48:30Z slyrus joined #lisp 2021-04-15T10:53:13Z slyrus quit (Ping timeout: 268 seconds) 2021-04-15T10:56:45Z vegansbane6963 joined #lisp 2021-04-15T11:00:21Z madage quit (Ping timeout: 240 seconds) 2021-04-15T11:01:50Z Stanley00 joined #lisp 2021-04-15T11:03:50Z Stanley00 quit (Remote host closed the connection) 2021-04-15T11:04:26Z Stanley00 joined #lisp 2021-04-15T11:06:59Z engblom joined #lisp 2021-04-15T11:08:52Z Stanley00 quit (Ping timeout: 240 seconds) 2021-04-15T11:11:42Z kopiyka joined #lisp 2021-04-15T11:13:47Z varjag joined #lisp 2021-04-15T11:27:25Z slyrus joined #lisp 2021-04-15T11:29:37Z DGASAU joined #lisp 2021-04-15T11:31:52Z Stanley00 joined #lisp 2021-04-15T11:32:37Z narimiran quit (Quit: leaving) 2021-04-15T11:33:35Z Stanley00 quit (Remote host closed the connection) 2021-04-15T11:34:16Z skapate joined #lisp 2021-04-15T11:37:15Z skapata quit (Ping timeout: 260 seconds) 2021-04-15T11:42:06Z nij joined #lisp 2021-04-15T11:42:26Z slyrus quit (Ping timeout: 240 seconds) 2021-04-15T11:50:12Z Kundry_Wag quit (Read error: Connection reset by peer) 2021-04-15T11:50:25Z Kundry_Wag joined #lisp 2021-04-15T11:52:58Z X-Scale` quit (Quit: HydraIRC -> http://www.hydrairc.com <- Now with extra fish!) 2021-04-15T11:53:08Z varjagg joined #lisp 2021-04-15T11:55:46Z varjag quit (Ping timeout: 252 seconds) 2021-04-15T11:59:47Z Bike joined #lisp 2021-04-15T12:03:31Z slyrus joined #lisp 2021-04-15T12:05:30Z fourier quit (Changing host) 2021-04-15T12:05:30Z fourier joined #lisp 2021-04-15T12:08:27Z slyrus quit (Ping timeout: 268 seconds) 2021-04-15T12:15:25Z nicktick joined #lisp 2021-04-15T12:21:27Z Stanley00 joined #lisp 2021-04-15T12:21:29Z Stanley00 quit (Remote host closed the connection) 2021-04-15T12:23:17Z neirac_ is now known as neirac 2021-04-15T12:24:02Z Stanley00 joined #lisp 2021-04-15T12:26:16Z Stanley00 quit (Client Quit) 2021-04-15T12:28:03Z X-Scale joined #lisp 2021-04-15T12:28:14Z xkapastel joined #lisp 2021-04-15T12:29:37Z bjorkintosh quit (Remote host closed the connection) 2021-04-15T12:29:54Z bjorkintosh joined #lisp 2021-04-15T12:31:17Z slyrus joined #lisp 2021-04-15T12:32:56Z slyrus_ joined #lisp 2021-04-15T12:32:57Z slyrus quit (Read error: Connection reset by peer) 2021-04-15T12:37:26Z slyrus_ quit (Ping timeout: 268 seconds) 2021-04-15T12:42:08Z layerex quit (Remote host closed the connection) 2021-04-15T12:47:58Z DGASAU quit (Read error: Connection reset by peer) 2021-04-15T12:48:16Z nij quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-15T12:48:45Z nij joined #lisp 2021-04-15T12:50:45Z nij left #lisp 2021-04-15T12:55:46Z shka_: hi all 2021-04-15T12:57:33Z varjagg is now known as varjag 2021-04-15T12:57:42Z neirac quit (Quit: Leaving) 2021-04-15T12:58:43Z wsinatra joined #lisp 2021-04-15T12:59:07Z attila_lendvai: is quicklisp automatically hooking into ASDF by default to download any missing systems? if not, is there a simple way to enable that? 2021-04-15T13:04:58Z shka_: attila_lendvai: you are asking because a system does not load or what? 2021-04-15T13:07:10Z OlCe joined #lisp 2021-04-15T13:07:24Z slyrus joined #lisp 2021-04-15T13:07:59Z jmercouris: any way to a suppress "WARNING: redefining XYZ" 2021-04-15T13:08:07Z jmercouris: when I know that I am explicitly wishing to redfine something? 2021-04-15T13:08:27Z rtypo joined #lisp 2021-04-15T13:09:33Z Xach: attila_lendvai: it only hooks in when using quickload 2021-04-15T13:09:44Z Xach: that establishes a handler for the system-not-found error 2021-04-15T13:09:55Z attila_lendvai: shka_, i'm changing code (hu.dwim.asdf) and i don't want to regress it, and it's not trivial for me to test it right now. 2021-04-15T13:10:50Z attila_lendvai: Xach, thank you for clarifying it! do you have any plans of adding/supporting a find system hook ala the discussion under one of the :defsystem-depends-on issue? 2021-04-15T13:10:58Z Xach: No plans 2021-04-15T13:11:01Z surabax quit (Quit: Leaving) 2021-04-15T13:11:38Z slyrus quit (Ping timeout: 240 seconds) 2021-04-15T13:11:50Z attila_lendvai: Xach, the reson is that sometimes it's much more convenient to sideffect the image at one point, and just fire the macinery, as opposed to messing at random different places to (optionally) use quickload when available... 2021-04-15T13:13:28Z phoe: jmercouris: you can try to unbind it first 2021-04-15T13:13:30Z attila_lendvai: Xach, i've written several build.sh scripts now that uses ql (thanks a whole lot BTW!). some of them optionally using ql when available, otherwise relying on the user's config. some others override the user's config and do (quasi-)reproducible builds. 2021-04-15T13:13:30Z Xach: Ok 2021-04-15T13:13:38Z jmercouris: phoe: true 2021-04-15T13:13:43Z phoe: so makunbound for symbols, fmakunbound for functions, setf find-class nil for classes, ... 2021-04-15T13:13:47Z jmercouris: I was hoping for some (declare ...) magic 2021-04-15T13:13:57Z jmercouris: maybe I can write a macro... 2021-04-15T13:14:13Z jmercouris: how about generic functions same as fmakunbound? 2021-04-15T13:14:27Z phoe: GFs are bound in the function namespace, so yes 2021-04-15T13:14:31Z jmercouris: OK 2021-04-15T13:14:32Z phoe: they're functions 2021-04-15T13:14:39Z madage joined #lisp 2021-04-15T13:14:42Z jmercouris: hai 2021-04-15T13:15:38Z surabax joined #lisp 2021-04-15T13:17:29Z ldb joined #lisp 2021-04-15T13:17:33Z ldb: good evening 2021-04-15T13:19:06Z pp joined #lisp 2021-04-15T13:19:12Z pp: hi 2021-04-15T13:19:21Z pp: what is best lisp? 2021-04-15T13:19:27Z Xach: pp: common 2021-04-15T13:19:32Z ldb: not common 2021-04-15T13:19:44Z pp: interesting... 2021-04-15T13:20:28Z phoe: maybe the real best lisp is the friends we make along the way 2021-04-15T13:20:45Z phoe: but, anyway! 2021-04-15T13:21:06Z phoe: pp: #lisp is a Common Lisp channel, you could possibly try ##lisp for a channel for all dialects 2021-04-15T13:21:28Z pp: ok! 2021-04-15T13:22:17Z pp: do any of you use scrotwm? 2021-04-15T13:23:22Z phoe: oh 2021-04-15T13:23:32Z phoe: I think I understand now 2021-04-15T13:23:40Z ChanServ has set mode +o phoe 2021-04-15T13:23:43Z phoe has set mode +b *!*600578fa@96.5.120.* 2021-04-15T13:23:43Z pp [~phoe@2001:19f0:5:689f:5400:2ff:fe77:b1de] has been kicked from #lisp by phoe (pp) 2021-04-15T13:23:46Z ChanServ has set mode -o phoe 2021-04-15T13:24:24Z ldb: https://forum.ubuntu-fi.org/index.php?topic=43042.0 2021-04-15T13:25:03Z ldb: well, it reminds me the joke about Coq 2021-04-15T13:25:30Z slyrus joined #lisp 2021-04-15T13:25:59Z phoe: which is likely the reason they're discussing changing the name 2021-04-15T13:27:26Z frost-lab quit (Quit: Connection closed) 2021-04-15T13:31:31Z ldb: is it possible to get the file list under a dir via http? 2021-04-15T13:33:28Z layerex joined #lisp 2021-04-15T13:33:37Z ldb: i'm looking for tools making a emacs elpa mirror via http. 2021-04-15T13:34:25Z luis: ldb: maybe #emacs can help 2021-04-15T13:34:40Z ldb: don't know what ql systems to use to write this thing in CL. 2021-04-15T13:34:58Z luis: ldb: drakma, possibly 2021-04-15T13:35:50Z ldb: luis: they uses an emacs lisp package, which doesn't support parallel download. 2021-04-15T13:36:33Z ldb: luis: thanks 2021-04-15T13:37:43Z ldb starts to learn http today 2021-04-15T13:38:19Z contrapunctus left #lisp 2021-04-15T13:38:42Z luis: ldb: you will learn that plain HTTP has no standard way to list a directory 2021-04-15T13:40:53Z contrapunctus joined #lisp 2021-04-15T13:41:05Z ldb: we used to use rsync. recently for unknown reason the upstream rsync servies are down 2021-04-15T13:43:35Z slyrus quit (Ping timeout: 246 seconds) 2021-04-15T13:47:09Z waleee-cl joined #lisp 2021-04-15T13:48:20Z docl_ joined #lisp 2021-04-15T13:48:36Z docl quit (Read error: Connection reset by peer) 2021-04-15T13:48:47Z DGASAU joined #lisp 2021-04-15T13:54:32Z jeosol joined #lisp 2021-04-15T14:01:18Z msk_ joined #lisp 2021-04-15T14:01:20Z msk quit (Remote host closed the connection) 2021-04-15T14:01:42Z layerex quit (Quit: Leaving) 2021-04-15T14:03:55Z DGASAU quit (Read error: Connection reset by peer) 2021-04-15T14:04:17Z notzmv quit (Ping timeout: 260 seconds) 2021-04-15T14:10:40Z contrapunctus left #lisp 2021-04-15T14:10:58Z notzmv joined #lisp 2021-04-15T14:11:32Z flip214: phoe: why did you kick? Asking about "A minimalistic tiling Window Manager for X11." is that bad? 2021-04-15T14:11:47Z slyrus joined #lisp 2021-04-15T14:11:58Z Bike: cos it looks like "scrotum" 2021-04-15T14:12:12Z contrapunctus joined #lisp 2021-04-15T14:12:27Z phoe: a person nicknamed peepee asking about a scrotum tripped my personal troll filter 2021-04-15T14:12:56Z DGASAU joined #lisp 2021-04-15T14:13:15Z flip214: hmmm, I didn't have that sensitivity level 2021-04-15T14:14:16Z varjag quit (Read error: Connection reset by peer) 2021-04-15T14:14:17Z phoe: maybe you're right though, I've had my own sensitivity levels put to some tests as of late 2021-04-15T14:14:51Z varjag joined #lisp 2021-04-15T14:15:27Z slyrus quit (Remote host closed the connection) 2021-04-15T14:15:39Z slyrus joined #lisp 2021-04-15T14:15:58Z Bike: oh, in fact they renamed it to spectrwm 2021-04-15T14:16:00Z Bike: in 2012. 2021-04-15T14:16:46Z phoe: good move 2021-04-15T14:16:56Z Bike: also it's written in C. weird. i guess pp could have been serious but talking about something weird. 2021-04-15T14:19:10Z sp41 joined #lisp 2021-04-15T14:20:38Z andrei-n quit (Quit: Leaving) 2021-04-15T14:22:54Z bitmapper joined #lisp 2021-04-15T14:26:56Z cage_ joined #lisp 2021-04-15T14:29:29Z nij joined #lisp 2021-04-15T14:30:04Z flip214: ah, stumpwm is the CL one 2021-04-15T14:31:53Z docl_ is now known as docl 2021-04-15T14:34:24Z nij quit (Remote host closed the connection) 2021-04-15T14:34:48Z mrchampion joined #lisp 2021-04-15T14:36:54Z varjagg joined #lisp 2021-04-15T14:38:11Z varjag quit (Ping timeout: 260 seconds) 2021-04-15T14:39:44Z charles` quit (Ping timeout: 258 seconds) 2021-04-15T14:45:21Z amb007 quit (Ping timeout: 260 seconds) 2021-04-15T14:46:14Z luckless_ joined #lisp 2021-04-15T14:46:27Z ldb quit (Quit: ERC (IRC client for Emacs 26.1)) 2021-04-15T14:46:35Z amb007 joined #lisp 2021-04-15T14:49:09Z luckless quit (Ping timeout: 240 seconds) 2021-04-15T14:52:27Z Inline joined #lisp 2021-04-15T14:56:53Z Inline quit (Client Quit) 2021-04-15T14:57:46Z curtosis joined #lisp 2021-04-15T15:00:31Z Inline joined #lisp 2021-04-15T15:13:47Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-15T15:22:57Z srhm joined #lisp 2021-04-15T15:39:37Z Josh_2 joined #lisp 2021-04-15T15:39:59Z Josh_2: Hey all 2021-04-15T15:40:09Z Josh_2: Is there a native lisp library I can use to resize images? 2021-04-15T15:40:23Z Josh_2: If not I will just call out to ffmpeg 2021-04-15T15:40:26Z tychoish: Hi Josh2 2021-04-15T15:40:43Z varjagg quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-15T15:40:49Z beach: Maybe "opticl"? 2021-04-15T15:41:21Z tychoish: https://github.com/CodyReichert/awesome-cl#graphics I always just check lists like this 2021-04-15T15:41:50Z mokulus joined #lisp 2021-04-15T15:42:02Z Necktwi joined #lisp 2021-04-15T15:42:30Z Josh_2: I imagine I could do it with opticl 2021-04-15T15:43:01Z Josh_2: I can do it with opticl there is an example where they resize an image :) 2021-04-15T15:45:19Z mokulus quit (Client Quit) 2021-04-15T15:46:03Z Josh_2: I doubt it can resize gifs though 2021-04-15T15:46:06Z Josh_2: ahh thats a bummer 2021-04-15T15:48:31Z Xach: Josh_2: when i was resizing a lot of images, i used run-program and imagemagick. 2021-04-15T15:48:37Z Xach: it worked fine for my scale. 2021-04-15T15:49:05Z Josh_2: Does imagemagick work with gifs? 2021-04-15T15:49:16Z Xach: Josh_2: yes 2021-04-15T15:49:17Z phoe: t 2021-04-15T15:49:24Z Josh_2: Did you use cl-magick? 2021-04-15T15:49:37Z Josh_2: or cl-imagemagick 2021-04-15T15:49:57Z Xach: No. I used run-program. 2021-04-15T15:50:08Z Josh_2: right you literally just wrote that xD 2021-04-15T15:53:18Z fourier quit (Ping timeout: 240 seconds) 2021-04-15T15:55:50Z slyrus quit (Remote host closed the connection) 2021-04-15T15:58:36Z Shinmera: There's also https://shinmera.github.io/trivial-thumbnail/ which uses im underneath 2021-04-15T15:59:09Z slyrus joined #lisp 2021-04-15T16:00:26Z long4mud quit (Read error: Connection reset by peer) 2021-04-15T16:01:50Z bilegeek joined #lisp 2021-04-15T16:04:03Z hypercube quit (Ping timeout: 248 seconds) 2021-04-15T16:05:07Z Sheilong joined #lisp 2021-04-15T16:18:46Z contrapunctus: Would a native Lisp library for encoding/decoding media formats (e.g. FLAC, PNG, WebM) be of any help to the community? Or is preferable to wrap C libraries? 2021-04-15T16:19:54Z Xach: contrapunctus: opticl does a lot of that. 2021-04-15T16:20:22Z Xach: contrapunctus: i don't know how much is in pure lisp. pure lisp code for everything would be nice. 2021-04-15T16:22:28Z aeth: contrapunctus: it makes it easier to package programs 2021-04-15T16:22:37Z aeth: (when you don't use a C library, I mean) 2021-04-15T16:24:03Z gitgood joined #lisp 2021-04-15T16:26:12Z amb007 quit (Ping timeout: 240 seconds) 2021-04-15T16:26:29Z amb007 joined #lisp 2021-04-15T16:27:23Z Shinmera: contrapunctus: FLAC and PNG already have native ones. WebM or any video format? Good fuckin' luck. 2021-04-15T16:29:12Z Shinmera: contrapunctus: I'd like a native decoder for OGG audio, (preferably decoding to UB8 arrays) 2021-04-15T16:29:39Z shka_: video formats are rather complex beasts 2021-04-15T16:30:12Z luckless_ quit (Remote host closed the connection) 2021-04-15T16:30:12Z shka_: and also have strict performance requirements which does not make life easier 2021-04-15T16:30:35Z luckless_ joined #lisp 2021-04-15T16:30:37Z imode joined #lisp 2021-04-15T16:31:21Z daphnis quit (Ping timeout: 260 seconds) 2021-04-15T16:31:59Z contrapunctus: Xach: I see. opticl doesn't seem to use any foreign libraries. 2021-04-15T16:31:59Z contrapunctus: aeth: I see. 2021-04-15T16:31:59Z contrapunctus: Shinmera: hm...I guess I could try that. 2021-04-15T16:34:54Z Shinmera: But yeah, ultimately the hard part isn't necessarily even the decoding, though that often is hard enough, it's also that theres' very strict performance requirements to be able to decode and play back in real time. Especially audio has very low latency periods. 2021-04-15T16:37:13Z shka_: contrapunctus: maybe something simpler? 2021-04-15T16:37:33Z mindCrime joined #lisp 2021-04-15T16:38:20Z jackdaniel: contrapunctus: draft a lispy protocol for video formats in cl and start with a ffi wrapper; then you may take a jab at implementing the same protocol natively 2021-04-15T16:40:46Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T16:42:01Z amb007 joined #lisp 2021-04-15T16:44:55Z rogersm quit (Quit: Leaving...) 2021-04-15T16:48:29Z contrapunctus left #lisp 2021-04-15T16:48:51Z contrapunctus joined #lisp 2021-04-15T16:49:08Z contrapunctus left #lisp 2021-04-15T16:49:28Z DHARMAKAYA joined #lisp 2021-04-15T16:52:24Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-15T16:52:27Z contrapunctus joined #lisp 2021-04-15T17:00:00Z ramHero joined #lisp 2021-04-15T17:00:04Z lottaquestions quit (Remote host closed the connection) 2021-04-15T17:00:05Z conkker quit (Quit: The Lounge - https://thelounge.chat) 2021-04-15T17:00:31Z lottaquestions joined #lisp 2021-04-15T17:04:43Z conkker joined #lisp 2021-04-15T17:06:19Z Wezl joined #lisp 2021-04-15T17:13:21Z aartaka quit (Read error: Connection reset by peer) 2021-04-15T17:13:28Z aartaka_d joined #lisp 2021-04-15T17:19:20Z aindilis joined #lisp 2021-04-15T17:21:57Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-15T17:23:14Z hendursa1 joined #lisp 2021-04-15T17:25:48Z bilegeek quit (Quit: Leaving) 2021-04-15T17:27:12Z aeth quit (Ping timeout: 240 seconds) 2021-04-15T17:29:15Z aeth joined #lisp 2021-04-15T17:30:24Z dickbarends quit (Remote host closed the connection) 2021-04-15T17:30:54Z dickbarends joined #lisp 2021-04-15T17:40:35Z contrapunctus left #lisp 2021-04-15T17:41:26Z phantomics joined #lisp 2021-04-15T17:44:09Z contrapunctus joined #lisp 2021-04-15T17:44:18Z aeth quit (Ping timeout: 240 seconds) 2021-04-15T17:46:19Z aeth joined #lisp 2021-04-15T17:54:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T17:54:29Z amb007 joined #lisp 2021-04-15T17:57:18Z gaqwas joined #lisp 2021-04-15T17:57:18Z gaqwas quit (Changing host) 2021-04-15T17:57:18Z gaqwas joined #lisp 2021-04-15T17:57:18Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T17:58:00Z amb007 joined #lisp 2021-04-15T17:58:25Z vutral_ joined #lisp 2021-04-15T18:01:39Z daphnis joined #lisp 2021-04-15T18:04:14Z akoana joined #lisp 2021-04-15T18:04:55Z theothornhill joined #lisp 2021-04-15T18:08:32Z rumbler31_ quit (Ping timeout: 246 seconds) 2021-04-15T18:11:32Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-15T18:13:32Z aartaka joined #lisp 2021-04-15T18:13:53Z ramHero quit (Remote host closed the connection) 2021-04-15T18:15:03Z slyrus quit (Remote host closed the connection) 2021-04-15T18:15:58Z aartaka_d quit (Ping timeout: 265 seconds) 2021-04-15T18:16:11Z slyrus joined #lisp 2021-04-15T18:16:36Z rumbler31_ joined #lisp 2021-04-15T18:17:50Z MIF quit (Quit: Bye --MIF) 2021-04-15T18:20:08Z Guest74677 joined #lisp 2021-04-15T18:21:08Z theothornhill joined #lisp 2021-04-15T18:22:11Z Inline quit (Ping timeout: 248 seconds) 2021-04-15T18:22:42Z sauvin quit (Read error: Connection reset by peer) 2021-04-15T18:24:04Z Guest74677 quit (Changing host) 2021-04-15T18:24:04Z Guest74677 joined #lisp 2021-04-15T18:24:37Z slyrus quit (Ping timeout: 268 seconds) 2021-04-15T18:26:45Z slyrus joined #lisp 2021-04-15T18:26:52Z Josh_2: How do I create a directory in CL? 2021-04-15T18:27:03Z Guest74677 is now known as MIF 2021-04-15T18:27:26Z Josh_2: I am trying to create a directory in /tmp/ 2021-04-15T18:27:29Z phoe: Josh_2: (ensure-directories-exist #p"/tmp/foo/bar/") 2021-04-15T18:27:33Z Josh_2: Thanks 2021-04-15T18:28:08Z didi joined #lisp 2021-04-15T18:28:08Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T18:28:24Z amb007 joined #lisp 2021-04-15T18:28:59Z didi: Xach: Idea: (ql:help) could list a small summary, in addition to the pointer. 2021-04-15T18:30:38Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T18:30:59Z amb007 joined #lisp 2021-04-15T18:32:13Z aartaka_d joined #lisp 2021-04-15T18:33:15Z aartaka quit (Ping timeout: 268 seconds) 2021-04-15T18:34:48Z daphnis: what's the normal thing to do when one needs multiple but not all values from a function? i get these style warings about unused variables 2021-04-15T18:34:52Z Inline joined #lisp 2021-04-15T18:34:58Z phoe: daphnis: only bind what you need 2021-04-15T18:35:06Z aeth quit (Ping timeout: 268 seconds) 2021-04-15T18:35:07Z Xach: declare ignore the rest 2021-04-15T18:35:09Z aeth_ joined #lisp 2021-04-15T18:35:09Z phoe: (m-v-b (x y z) (values 1 2 3 4 5 6) (frob x y z)) 2021-04-15T18:35:18Z aeth_ is now known as aeth 2021-04-15T18:35:21Z jackdaniel: (m-v-b (a b c) (foo) (declare (ignore b)) (cons a c) 2021-04-15T18:35:56Z phoe: or what jackdaniel said if these values are not in the tail position 2021-04-15T18:36:58Z daphnis: thanks 2021-04-15T18:38:41Z DGASAU quit (Read error: Connection reset by peer) 2021-04-15T18:39:42Z DGASAU joined #lisp 2021-04-15T18:40:19Z didi: Ah, nice use of a restart in lparallel: "you didn't started workers, but don't sweat, tell me how many you want and I'll be on my way" 2021-04-15T18:43:52Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-15T18:43:52Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T18:44:09Z amb007 joined #lisp 2021-04-15T18:47:06Z shka_: didi: this is better handled by docstrings 2021-04-15T18:47:12Z attila_lendvai: i can only see two reasons for a native CL code to decode complex media formats: 1) geek value for someone learning the tech, and 2) implementing the algo in a higher level language as a serious attempt to optimize it, or demonstrate a better implementation technique. for anything else? i'd just wrap the reference implementation. 2021-04-15T18:47:15Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T18:47:19Z shka_: you can give docstring for the whole package 2021-04-15T18:47:22Z didi: shka_: What? 2021-04-15T18:47:25Z amb007 joined #lisp 2021-04-15T18:47:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T18:47:46Z amb007 joined #lisp 2021-04-15T18:47:51Z shka_: didi: it is lisp, if you can define it, you can attach docstring to it 2021-04-15T18:48:17Z Shinmera: attila_lendvai: shipping of C libraries on Linux is a gigantic pain in the ass. debugging problems with them as well. 2021-04-15T18:48:45Z shka_: and yes, this includes defpackage 2021-04-15T18:52:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T18:52:40Z amb007 joined #lisp 2021-04-15T18:53:50Z didi: shka_: Sorry, I unsure what you're talking about. 2021-04-15T18:53:50Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T18:53:58Z didi: s/I/I'm 2021-04-15T18:54:05Z shka_: about the (ql:help) proposal 2021-04-15T18:54:11Z didi: oic 2021-04-15T18:54:38Z didi: Well, my instinct was running (ql:help). 2021-04-15T18:55:04Z amb007 joined #lisp 2021-04-15T18:55:05Z cage_ quit (Quit: Leaving) 2021-04-15T18:55:08Z vydd: has anyone revived quickdocs? 2021-04-15T18:56:44Z attila_lendvai: Shinmera, hence my use of of the word *complex*. for simple stuff, it can overall splify life, but for anything non-trivial there's no way to keep a CL implementation anywhere near the reference one in quality 2021-04-15T18:57:57Z shka_: attila_lendvai: oh, there is a way, but there is no resources 2021-04-15T18:58:52Z attila_lendvai: shka_, you must be young... :) it's all about resources. 2021-04-15T19:00:22Z layerex joined #lisp 2021-04-15T19:00:50Z shka_: young? thank you i guess 2021-04-15T19:01:23Z shka_: anyway, yes it is technically possible, but so time and work consuming that in practice it is just impossible 2021-04-15T19:01:23Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:01:32Z jackdaniel: why can't we start wav file in the background and flip bmp files every 1/30s? 2021-04-15T19:02:07Z amb007 joined #lisp 2021-04-15T19:02:24Z karlosz joined #lisp 2021-04-15T19:03:29Z aeth quit (Ping timeout: 246 seconds) 2021-04-15T19:03:32Z shka_: heh 2021-04-15T19:03:32Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:04:14Z amb007 joined #lisp 2021-04-15T19:05:34Z long4mud joined #lisp 2021-04-15T19:05:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:05:34Z aeth joined #lisp 2021-04-15T19:05:46Z varjag joined #lisp 2021-04-15T19:06:34Z amb007 joined #lisp 2021-04-15T19:08:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:09:17Z amb007 joined #lisp 2021-04-15T19:09:18Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:09:36Z amb007 joined #lisp 2021-04-15T19:11:28Z theothornhill joined #lisp 2021-04-15T19:11:29Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:11:47Z abrantesasf joined #lisp 2021-04-15T19:11:50Z amb007 joined #lisp 2021-04-15T19:12:06Z karlosz quit (Ping timeout: 268 seconds) 2021-04-15T19:12:27Z paul0 quit (Remote host closed the connection) 2021-04-15T19:12:45Z paul0 joined #lisp 2021-04-15T19:16:13Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:17:11Z arora joined #lisp 2021-04-15T19:17:15Z amb007 joined #lisp 2021-04-15T19:17:58Z layerex quit (Ping timeout: 252 seconds) 2021-04-15T19:18:01Z hypercube joined #lisp 2021-04-15T19:18:46Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:19:12Z amb007 joined #lisp 2021-04-15T19:19:18Z Nilby joined #lisp 2021-04-15T19:19:50Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:20:15Z aartaka_d quit (Ping timeout: 265 seconds) 2021-04-15T19:20:22Z amb007 joined #lisp 2021-04-15T19:20:45Z sm2n_ is now known as sm2n 2021-04-15T19:20:45Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:21:57Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-15T19:22:06Z amb007 joined #lisp 2021-04-15T19:24:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:24:40Z amb007 joined #lisp 2021-04-15T19:26:05Z rumbler31 quit (Remote host closed the connection) 2021-04-15T19:26:23Z rumbler31 joined #lisp 2021-04-15T19:26:23Z aartaka joined #lisp 2021-04-15T19:26:46Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:27:06Z amb007 joined #lisp 2021-04-15T19:29:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:29:11Z amb007 joined #lisp 2021-04-15T19:29:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:29:24Z amb007 joined #lisp 2021-04-15T19:30:14Z slyrus quit (Remote host closed the connection) 2021-04-15T19:30:50Z slyrus joined #lisp 2021-04-15T19:35:06Z slyrus quit (Ping timeout: 240 seconds) 2021-04-15T19:35:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:35:13Z curtosis is now known as curtosis[away] 2021-04-15T19:35:22Z Alfr quit (Quit: Leaving) 2021-04-15T19:35:36Z amb007 joined #lisp 2021-04-15T19:35:43Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-15T19:35:56Z slyrus joined #lisp 2021-04-15T19:36:03Z didi: How do I keep a computation running after I disconnect from a swank server? I can reconnect to it (because of :dont-close t), but my long running computation is stopped after I disconnect. 2021-04-15T19:36:37Z aeth: threads? 2021-04-15T19:36:45Z didi: aeth: Good idea. 2021-04-15T19:38:01Z jeosol quit (Quit: Connection closed) 2021-04-15T19:39:34Z dickbarends quit (Remote host closed the connection) 2021-04-15T19:39:41Z dickbarends joined #lisp 2021-04-15T19:40:28Z slyrus quit (Ping timeout: 268 seconds) 2021-04-15T19:41:21Z karlosz joined #lisp 2021-04-15T19:41:41Z rjcks_ joined #lisp 2021-04-15T19:42:59Z didi: Great. And there she goes. Thank you, aeth. 2021-04-15T19:44:38Z rjcks quit (Ping timeout: 240 seconds) 2021-04-15T19:49:44Z amb007 quit (Read error: Connection reset by peer) 2021-04-15T19:50:03Z amb007 joined #lisp 2021-04-15T19:52:54Z Lord_of_Life_ joined #lisp 2021-04-15T19:56:04Z Lord_of_Life quit (Ping timeout: 252 seconds) 2021-04-15T19:56:08Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-15T19:56:30Z Alfr joined #lisp 2021-04-15T19:58:39Z slyrus joined #lisp 2021-04-15T19:59:13Z jeosol joined #lisp 2021-04-15T20:02:32Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-15T20:03:45Z tfb joined #lisp 2021-04-15T20:04:37Z jeosol quit (Quit: Connection closed) 2021-04-15T20:05:01Z cosimone joined #lisp 2021-04-15T20:05:13Z slyrus quit (Ping timeout: 240 seconds) 2021-04-15T20:05:58Z arora quit (Ping timeout: 240 seconds) 2021-04-15T20:10:35Z anticrisis joined #lisp 2021-04-15T20:12:25Z VincentVega joined #lisp 2021-04-15T20:17:36Z slyrus joined #lisp 2021-04-15T20:17:43Z ukari joined #lisp 2021-04-15T20:18:27Z bilegeek joined #lisp 2021-04-15T20:18:52Z rumbler31 quit (Remote host closed the connection) 2021-04-15T20:20:38Z elflng quit (Ping timeout: 240 seconds) 2021-04-15T20:21:06Z krjli joined #lisp 2021-04-15T20:22:33Z vutral_ quit (Quit: Connection closed for inactivity) 2021-04-15T20:26:52Z DGASAU quit (Read error: Connection reset by peer) 2021-04-15T20:27:54Z cosimone quit (Remote host closed the connection) 2021-04-15T20:31:30Z DGASAU joined #lisp 2021-04-15T20:32:13Z shka_ quit (Ping timeout: 240 seconds) 2021-04-15T20:36:30Z hineios quit (Quit: The Lounge - https://thelounge.chat) 2021-04-15T20:37:17Z slyrus quit (Ping timeout: 246 seconds) 2021-04-15T20:46:20Z tfb quit (Remote host closed the connection) 2021-04-15T20:46:32Z tfb joined #lisp 2021-04-15T20:47:08Z tfb quit (Remote host closed the connection) 2021-04-15T20:47:19Z tfb joined #lisp 2021-04-15T20:47:55Z tfb quit (Remote host closed the connection) 2021-04-15T20:48:06Z tfb joined #lisp 2021-04-15T20:48:43Z tfb quit (Remote host closed the connection) 2021-04-15T20:48:54Z tfb joined #lisp 2021-04-15T20:49:30Z tfb quit (Remote host closed the connection) 2021-04-15T20:49:41Z tfb joined #lisp 2021-04-15T20:49:46Z pve quit (Quit: leaving) 2021-04-15T20:50:10Z tfb quit (Client Quit) 2021-04-15T21:02:59Z hiroaki_ joined #lisp 2021-04-15T21:06:26Z orivej quit (Ping timeout: 240 seconds) 2021-04-15T21:06:50Z slyrus joined #lisp 2021-04-15T21:08:36Z aeth_ joined #lisp 2021-04-15T21:09:48Z Josh_2: How do I stop Parenscript from adding a number to the end of some variable names? 2021-04-15T21:10:51Z Josh_2: https://plaster.tymoon.eu/view/2390#2390 this is my PS code, PS keeps adding a number to var 'stib-container' making it something like stibContainer12 2021-04-15T21:11:03Z Josh_2: meaning the next variable which references stib-container doesn't work 2021-04-15T21:11:07Z aeth quit (Ping timeout: 268 seconds) 2021-04-15T21:11:33Z aeth_ is now known as aeth 2021-04-15T21:11:44Z slyrus quit (Ping timeout: 268 seconds) 2021-04-15T21:13:45Z hineios joined #lisp 2021-04-15T21:15:08Z surabax quit (Quit: Leaving) 2021-04-15T21:15:57Z random-nick quit (Ping timeout: 260 seconds) 2021-04-15T21:23:28Z phoe: let*? 2021-04-15T21:23:58Z phoe: cl:let won't allow you to access previously bound variables, unlike cl:let* 2021-04-15T21:24:05Z phoe: so I expect parenscript's versions to do the same thing 2021-04-15T21:28:40Z random-nick joined #lisp 2021-04-15T21:41:52Z gaqwas quit (Ping timeout: 265 seconds) 2021-04-15T21:42:54Z slyrus joined #lisp 2021-04-15T21:43:42Z jeosol joined #lisp 2021-04-15T21:47:11Z daphnis quit (Ping timeout: 265 seconds) 2021-04-15T21:47:13Z slyrus quit (Ping timeout: 240 seconds) 2021-04-15T21:51:51Z Inline quit (Ping timeout: 260 seconds) 2021-04-15T21:53:58Z karlosz quit (Quit: karlosz) 2021-04-15T21:54:17Z varjag quit (Ping timeout: 268 seconds) 2021-04-15T21:59:17Z cosimone joined #lisp 2021-04-15T21:59:29Z varjag joined #lisp 2021-04-15T22:00:27Z slyrus joined #lisp 2021-04-15T22:02:50Z casual_friday_ joined #lisp 2021-04-15T22:02:58Z casual_friday quit (Ping timeout: 252 seconds) 2021-04-15T22:03:13Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-15T22:04:11Z varjag quit (Ping timeout: 240 seconds) 2021-04-15T22:05:10Z slyrus quit (Ping timeout: 252 seconds) 2021-04-15T22:06:16Z slyrus joined #lisp 2021-04-15T22:10:44Z slyrus quit (Ping timeout: 246 seconds) 2021-04-15T22:12:33Z seok joined #lisp 2021-04-15T22:16:22Z kagevf: Josh_2: I was able to get rid of the number if I removed the extra parentheses you had around the value being assigned to stibContainer .... like this: 2021-04-15T22:16:27Z kagevf: Josh_2: (let ((stib-container (@ document get-element-by-id) (ps:lisp "123"))) 2021-04-15T22:16:29Z kagevf: (stibs (ps:@ stib-container children)) (search-bar ((ps:@ document get-element-by-id) (ps:lisp "abc"))) (search-bar-val ((ps:@ search-bar-id value)))) 2021-04-15T22:18:16Z kagevf: so where you had this: (let ((stib-container (@ document get-element-by-id) (ps:lisp "123"))) 2021-04-15T22:18:34Z kagevf: ((ps:@ document get-element-by-id) (ps:lisp sticker-container-id))) 2021-04-15T22:18:52Z kagevf: try removing the surrounding parentheses 2021-04-15T22:19:28Z rumbler31 joined #lisp 2021-04-15T22:23:00Z slyrus joined #lisp 2021-04-15T22:23:53Z rumbler31 quit (Ping timeout: 268 seconds) 2021-04-15T22:25:06Z frgo quit (Remote host closed the connection) 2021-04-15T22:25:30Z frgo joined #lisp 2021-04-15T22:27:36Z curtosis joined #lisp 2021-04-15T22:28:36Z slyrus quit (Ping timeout: 252 seconds) 2021-04-15T22:28:46Z pp2 joined #lisp 2021-04-15T22:29:56Z pp2: I got kicked earlier and i don't know why. I said scrotwm but i meant to ask about stumpwm. I am confused about what happened and sorry if i offended people 2021-04-15T22:30:13Z pp2: stumpwm is a wm for x that uses cl 2021-04-15T22:30:50Z phoe: pp2: woop, sorry about that 2021-04-15T22:31:14Z phoe: let me unban... 2021-04-15T22:31:20Z ChanServ has set mode +o phoe 2021-04-15T22:31:23Z phoe has set mode -b *!*600578fa@96.5.120.* 2021-04-15T22:31:26Z ChanServ has set mode -o phoe 2021-04-15T22:31:48Z phoe: OK, should be good now; sorry about that, my fingers are too trigger happy at times 2021-04-15T22:32:26Z pillton joined #lisp 2021-04-15T22:32:34Z phoe: there is a dedicated #stumpwm that you might want to join 2021-04-15T22:33:51Z pp2 quit (Quit: Connection closed) 2021-04-15T22:37:15Z johnjay quit (Read error: Connection reset by peer) 2021-04-15T22:37:16Z long4mud quit (Write error: Connection reset by peer) 2021-04-15T22:37:54Z long4mud joined #lisp 2021-04-15T22:38:46Z johnjay joined #lisp 2021-04-15T22:44:37Z karlosz joined #lisp 2021-04-15T22:45:06Z slyrus joined #lisp 2021-04-15T22:46:06Z nicktick quit (Ping timeout: 240 seconds) 2021-04-15T22:49:10Z karlosz quit (Ping timeout: 252 seconds) 2021-04-15T22:50:17Z slyrus quit (Ping timeout: 246 seconds) 2021-04-15T22:51:33Z random-nick quit (Ping timeout: 240 seconds) 2021-04-15T22:52:34Z krjli quit (Remote host closed the connection) 2021-04-15T22:57:22Z jeosol quit (Ping timeout: 240 seconds) 2021-04-15T22:58:57Z bilegeek quit (Quit: Leaving) 2021-04-15T22:59:06Z long4mud quit (Ping timeout: 240 seconds) 2021-04-15T22:59:19Z vms14 joined #lisp 2021-04-15T23:00:35Z Wezl left #lisp 2021-04-15T23:01:14Z hineios quit (Quit: The Lounge - https://thelounge.chat) 2021-04-15T23:01:40Z anticrisis quit (Read error: Connection reset by peer) 2021-04-15T23:02:16Z akoana quit (Quit: leaving) 2021-04-15T23:02:30Z karlosz joined #lisp 2021-04-15T23:03:03Z lotuseater quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-15T23:03:39Z anticrisis joined #lisp 2021-04-15T23:05:40Z hineios joined #lisp 2021-04-15T23:06:37Z slyrus joined #lisp 2021-04-15T23:07:41Z karlosz quit (Ping timeout: 240 seconds) 2021-04-15T23:09:46Z paul0 quit (Remote host closed the connection) 2021-04-15T23:13:27Z VincentVega quit (Quit: Connection closed) 2021-04-15T23:13:55Z slyrus quit (Ping timeout: 252 seconds) 2021-04-15T23:15:30Z asarch joined #lisp 2021-04-15T23:19:23Z dhil quit (Ping timeout: 268 seconds) 2021-04-15T23:24:17Z nij joined #lisp 2021-04-15T23:24:22Z hineios quit (Quit: The Lounge - https://thelounge.chat) 2021-04-15T23:24:53Z nij: Why instead of create-server on the fly, kitnil chose to embed that in a thread? Is there an obvious advantage? https://github.com/kitnil/dotfiles/blob/master/dot_stumpwm.d/swank.lisp 2021-04-15T23:24:56Z attila_lendvai quit (Ping timeout: 246 seconds) 2021-04-15T23:25:04Z hineios joined #lisp 2021-04-15T23:27:38Z Bike: if you have a nil communication style create-server will just loop forever 2021-04-15T23:27:51Z Bike: so you could avoid that with a thread, but you could also just change the communication style so that swank handles it for you 2021-04-15T23:29:34Z hineios quit (Client Quit) 2021-04-15T23:30:19Z hineios joined #lisp 2021-04-15T23:30:52Z bilegeek joined #lisp 2021-04-15T23:30:54Z rjcks_ quit (Quit: leaving) 2021-04-15T23:34:36Z nij: when using the thread method, it's equivalent to using a ___(?) communication style? 2021-04-15T23:35:23Z mmontone joined #lisp 2021-04-15T23:36:08Z slyrus joined #lisp 2021-04-15T23:36:32Z rumbler31_ quit (Ping timeout: 240 seconds) 2021-04-15T23:39:44Z Bike: https://common-lisp.net/project/slime/doc/html/Communication-style.html#Communication-style 2021-04-15T23:40:58Z slyrus quit (Ping timeout: 268 seconds) 2021-04-15T23:41:00Z nij: I've been reading yeah. But the thread method is a work around. I wonder what that equates to. 2021-04-15T23:41:08Z Bike: :spawn 2021-04-15T23:41:13Z Bike: roughly 2021-04-15T23:45:31Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-15T23:46:04Z jeosol joined #lisp 2021-04-15T23:46:17Z nij: I tried.. but am still confused. 2021-04-15T23:46:37Z nij: AFAIK, (make-thread fun1) will create a thread that runs fun1. 2021-04-15T23:46:44Z nij: Upon fun1 returns, the thread ends. 2021-04-15T23:46:57Z taof joined #lisp 2021-04-15T23:47:00Z nij: So if nothing special happen (make-thread fun1) is almost like (fun1) 2021-04-15T23:48:10Z nij: Then there's really not a difference between 2021-04-15T23:48:10Z nij: (sb-thread:make-thread (lambda () (swank:create-server :port (parse-integer port) :dont-close t)) 2021-04-15T23:48:10Z nij: and 2021-04-15T23:48:10Z nij: (funcall (lambda () (swank:create-server :port (parse-integer port) :dont-close t))) 2021-04-15T23:48:13Z nij: and 2021-04-15T23:48:16Z nij: (swank:create-server :port (parse-integer port)).. no? 2021-04-15T23:48:19Z charles` joined #lisp 2021-04-15T23:48:20Z nij: 2021-04-15T23:48:42Z Bike: consider the difference between (loop) and (make-thread (lambda () (loop))) 2021-04-15T23:50:34Z nij: 2021-04-15T23:50:34Z nij: yeah the only difference seems that it can run parallelly 2021-04-15T23:50:52Z Bike: meaning the make-thread version will not hang, yes. 2021-04-15T23:51:37Z nij: oh! it could be more robust indeed 2021-04-15T23:51:46Z nij: even if it hangs, it hangs in itself 2021-04-15T23:52:44Z nij: thanks :) 2021-04-15T23:58:14Z vms14 quit (Remote host closed the connection) 2021-04-15T23:58:24Z cosimone quit (Remote host closed the connection) 2021-04-16T00:01:03Z nij quit (Remote host closed the connection) 2021-04-16T00:05:47Z slyrus joined #lisp 2021-04-16T00:06:03Z Bike: i mean, swank with nil communication style is an actual loop, it hangs intentionally 2021-04-16T00:07:16Z curtosis is now known as curtosis[away] 2021-04-16T00:07:45Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-16T00:10:01Z slyrus quit (Ping timeout: 252 seconds) 2021-04-16T00:10:54Z Noisytoot quit (Ping timeout: 252 seconds) 2021-04-16T00:11:40Z taof quit (Ping timeout: 252 seconds) 2021-04-16T00:13:28Z cosimone joined #lisp 2021-04-16T00:13:30Z cosimone quit (Remote host closed the connection) 2021-04-16T00:14:10Z cosimone joined #lisp 2021-04-16T00:16:30Z Noisytoot joined #lisp 2021-04-16T00:18:33Z Kundry_Wag quit (Remote host closed the connection) 2021-04-16T00:19:29Z Kundry_Wag joined #lisp 2021-04-16T00:21:41Z slyrus joined #lisp 2021-04-16T00:22:41Z nicktick joined #lisp 2021-04-16T00:25:50Z slyrus quit (Ping timeout: 246 seconds) 2021-04-16T00:29:11Z taof joined #lisp 2021-04-16T00:29:11Z taof quit (Client Quit) 2021-04-16T00:31:41Z elderK quit (Quit: Connection closed for inactivity) 2021-04-16T00:36:10Z abrantesasf quit (Quit: Leaving) 2021-04-16T00:44:08Z slyrus joined #lisp 2021-04-16T00:46:44Z nij joined #lisp 2021-04-16T00:47:24Z nij: Hello! After I start a swank/slynk server, how do I check (in that repl) how many ports have been listening, and how many ports have been connected to how many instances? 2021-04-16T00:47:42Z nij: (I'm not looking for `M-x sly-list-connections`) 2021-04-16T00:49:44Z Josh_2: phoe: it was that. Thanks 2021-04-16T00:49:57Z karlosz joined #lisp 2021-04-16T00:53:52Z igemnace joined #lisp 2021-04-16T00:54:10Z slyrus quit (Ping timeout: 252 seconds) 2021-04-16T00:54:51Z skapate quit (Remote host closed the connection) 2021-04-16T00:55:03Z mmontone quit (Ping timeout: 240 seconds) 2021-04-16T00:55:25Z cosimone quit (Remote host closed the connection) 2021-04-16T00:55:45Z indathrone quit (Ping timeout: 258 seconds) 2021-04-16T00:56:31Z Sheilong quit 2021-04-16T00:57:20Z mmontone joined #lisp 2021-04-16T00:58:51Z mindCrime joined #lisp 2021-04-16T01:02:06Z nij quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-16T01:23:45Z indathrone joined #lisp 2021-04-16T01:27:03Z wxie joined #lisp 2021-04-16T01:29:31Z slyrus joined #lisp 2021-04-16T01:32:03Z ukari quit (Remote host closed the connection) 2021-04-16T01:33:16Z ukari joined #lisp 2021-04-16T01:45:38Z slyrus quit (Ping timeout: 246 seconds) 2021-04-16T01:46:58Z mmontone quit (Quit: Connection closed) 2021-04-16T01:55:34Z indathrone quit (Quit: Leaving) 2021-04-16T02:10:55Z curtosis[away] joined #lisp 2021-04-16T02:12:04Z rumbler31 joined #lisp 2021-04-16T02:14:47Z slyrus joined #lisp 2021-04-16T02:17:34Z aeth_ joined #lisp 2021-04-16T02:19:16Z slyrus quit (Ping timeout: 252 seconds) 2021-04-16T02:21:18Z aeth quit (Ping timeout: 268 seconds) 2021-04-16T02:21:28Z aeth_ is now known as aeth 2021-04-16T02:24:58Z sp41 quit (Remote host closed the connection) 2021-04-16T02:25:31Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-16T02:27:35Z ukari quit (Remote host closed the connection) 2021-04-16T02:28:09Z ukari joined #lisp 2021-04-16T02:30:06Z marusich joined #lisp 2021-04-16T02:32:53Z hefner joined #lisp 2021-04-16T02:34:19Z seok quit (Quit: Connection closed) 2021-04-16T02:36:05Z Oladon joined #lisp 2021-04-16T02:38:24Z Kundry_Wag quit (Remote host closed the connection) 2021-04-16T02:38:35Z hefner quit (Quit: Leaving) 2021-04-16T02:38:56Z slyrus joined #lisp 2021-04-16T02:39:15Z dickbare_ joined #lisp 2021-04-16T02:42:20Z dickbarends quit (Ping timeout: 252 seconds) 2021-04-16T02:43:00Z jeosol quit (Quit: Connection closed) 2021-04-16T02:43:23Z slyrus quit (Ping timeout: 246 seconds) 2021-04-16T02:57:25Z slyrus joined #lisp 2021-04-16T03:01:33Z slyrus quit (Ping timeout: 240 seconds) 2021-04-16T03:02:05Z Alfr is now known as Guest93466 2021-04-16T03:02:10Z Alfr joined #lisp 2021-04-16T03:03:49Z mfiano: Good luck to everyone participating in the Lisp Game Jam! We begin in 1 hour. 2021-04-16T03:04:27Z Guest93466 quit (Ping timeout: 250 seconds) 2021-04-16T03:10:02Z Stanley00 joined #lisp 2021-04-16T03:10:51Z beach: Good morning everyone! 2021-04-16T03:10:56Z luis6 joined #lisp 2021-04-16T03:12:38Z srhm quit (Quit: Konversation terminated!) 2021-04-16T03:14:22Z xkapastel quit (Quit: Connection closed for inactivity) 2021-04-16T03:14:49Z luis quit (Ping timeout: 260 seconds) 2021-04-16T03:14:50Z luis6 is now known as luis 2021-04-16T03:22:21Z hjudt quit (Ping timeout: 268 seconds) 2021-04-16T03:26:40Z aartaka_d joined #lisp 2021-04-16T03:29:14Z aartaka quit (Ping timeout: 246 seconds) 2021-04-16T03:32:12Z slyrus joined #lisp 2021-04-16T03:36:49Z slyrus quit (Ping timeout: 252 seconds) 2021-04-16T03:37:15Z rtypo quit (Read error: Connection reset by peer) 2021-04-16T03:44:18Z Oladon quit (Quit: Leaving.) 2021-04-16T03:46:16Z Bike quit (Quit: Lost terminal) 2021-04-16T03:48:22Z Iolo quit (Quit: ZNC 1.7.5+deb4 - https://znc.in) 2021-04-16T03:50:03Z arora joined #lisp 2021-04-16T03:50:43Z Iolo joined #lisp 2021-04-16T03:55:02Z slyrus joined #lisp 2021-04-16T03:57:37Z slyrus_ joined #lisp 2021-04-16T03:57:38Z slyrus quit (Read error: Connection reset by peer) 2021-04-16T03:58:34Z pagnol joined #lisp 2021-04-16T04:00:00Z pagnol: Anyone here who has done natural language generation? Maybe in languages other than English? 2021-04-16T04:01:05Z beach: pagnol: If you have a question, it is usually better just to ask it than to wait for someone to admit to working in that domain. 2021-04-16T04:01:32Z pagnol: beach: I don't have any questions, I would just love to hear from people 2021-04-16T04:01:37Z beach: ... unless you just want to hang out with these people and buy them beer. 2021-04-16T04:01:43Z buffergn0me joined #lisp 2021-04-16T04:01:47Z beach: OK, I see. 2021-04-16T04:01:49Z pagnol: the latter 2021-04-16T04:04:36Z mh__ left #lisp 2021-04-16T04:13:32Z slyrus_ quit (Ping timeout: 268 seconds) 2021-04-16T04:18:26Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-16T04:20:38Z DHARMAKAYA joined #lisp 2021-04-16T04:21:12Z marusich quit (Ping timeout: 240 seconds) 2021-04-16T04:23:08Z edgar-rft: I think I do natural language generation whenever I talk... 2021-04-16T04:23:19Z mmontone joined #lisp 2021-04-16T04:24:46Z Stanley|00 joined #lisp 2021-04-16T04:26:53Z Stanley00 quit (Ping timeout: 240 seconds) 2021-04-16T04:27:07Z slyrus joined #lisp 2021-04-16T04:27:43Z mmontone quit (Ping timeout: 240 seconds) 2021-04-16T04:31:12Z slyrus quit (Ping timeout: 240 seconds) 2021-04-16T04:34:07Z rumbler31 quit (Remote host closed the connection) 2021-04-16T04:34:50Z rumbler31 joined #lisp 2021-04-16T04:36:55Z Cthulhux quit (Ping timeout: 260 seconds) 2021-04-16T04:37:19Z Cthulhux joined #lisp 2021-04-16T04:37:57Z jeosol joined #lisp 2021-04-16T04:43:08Z pagnol quit (Ping timeout: 268 seconds) 2021-04-16T04:43:32Z phantomics_ joined #lisp 2021-04-16T04:44:48Z thermo: i've done natural language generation, but not in lisp 2021-04-16T04:45:11Z phantomics quit (Ping timeout: 260 seconds) 2021-04-16T04:45:43Z thermo: you are welcome to buy me beer 2021-04-16T04:46:09Z zaquest quit (Quit: Leaving) 2021-04-16T04:51:17Z imes joined #lisp 2021-04-16T04:52:32Z zaquest joined #lisp 2021-04-16T04:59:00Z slyrus joined #lisp 2021-04-16T04:59:45Z skapata joined #lisp 2021-04-16T05:01:39Z rumbler31 quit (Remote host closed the connection) 2021-04-16T05:01:55Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-16T05:02:25Z rumbler31 joined #lisp 2021-04-16T05:03:34Z imes quit (Quit: Leaving) 2021-04-16T05:03:51Z slyrus quit (Ping timeout: 260 seconds) 2021-04-16T05:04:05Z long4mud joined #lisp 2021-04-16T05:04:16Z CrazyEddy quit (Ping timeout: 252 seconds) 2021-04-16T05:04:57Z pagnol joined #lisp 2021-04-16T05:12:07Z pagnol: edgar-rft: also in languages other than English? 2021-04-16T05:14:19Z thomasb06 joined #lisp 2021-04-16T05:18:54Z CrazyEddy joined #lisp 2021-04-16T05:21:47Z Cthulhux quit (Ping timeout: 258 seconds) 2021-04-16T05:23:05Z Cthulhux joined #lisp 2021-04-16T05:24:33Z arora quit (Ping timeout: 240 seconds) 2021-04-16T05:24:56Z Blkt quit (Remote host closed the connection) 2021-04-16T05:24:56Z fe[nl]ix quit (Read error: Connection reset by peer) 2021-04-16T05:25:12Z Blkt joined #lisp 2021-04-16T05:25:13Z fe[nl]ix joined #lisp 2021-04-16T05:25:13Z ChanServ has set mode +o fe[nl]ix 2021-04-16T05:26:10Z jackdaniel: I generate natural language every day with my vocal cords and fingers, does it qualify for a beer? :) 2021-04-16T05:26:11Z slyrus joined #lisp 2021-04-16T05:26:54Z thomasb06: it qualifies for a Jack Daniel 2021-04-16T05:27:09Z jackdaniel: even better then 2021-04-16T05:27:20Z thomasb06: ;p 2021-04-16T05:30:42Z slyrus quit (Ping timeout: 265 seconds) 2021-04-16T05:30:43Z gaqwas joined #lisp 2021-04-16T05:31:44Z grumble quit (Ping timeout: 608 seconds) 2021-04-16T05:36:29Z bilegeek quit (Quit: Leaving) 2021-04-16T05:42:44Z shka_ joined #lisp 2021-04-16T05:44:27Z xantoz joined #lisp 2021-04-16T05:47:35Z slyrus joined #lisp 2021-04-16T05:52:12Z slyrus quit (Ping timeout: 268 seconds) 2021-04-16T05:52:18Z sauvin joined #lisp 2021-04-16T05:56:34Z edgar-rft tries to imagine jackdaniel fingering his vocal cords 2021-04-16T05:56:35Z varjag joined #lisp 2021-04-16T05:58:35Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-16T06:01:27Z imode quit (Ping timeout: 268 seconds) 2021-04-16T06:05:23Z marusich joined #lisp 2021-04-16T06:07:25Z daphnis joined #lisp 2021-04-16T06:14:37Z hjudt joined #lisp 2021-04-16T06:15:15Z dickbare_ quit 2021-04-16T06:16:46Z notzmv quit (Ping timeout: 260 seconds) 2021-04-16T06:20:10Z arora joined #lisp 2021-04-16T06:20:28Z orivej joined #lisp 2021-04-16T06:20:39Z slyrus joined #lisp 2021-04-16T06:24:56Z slyrus quit (Ping timeout: 246 seconds) 2021-04-16T06:26:38Z varjag quit (Ping timeout: 240 seconds) 2021-04-16T06:28:13Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-16T06:28:41Z thomasb06 quit (Remote host closed the connection) 2021-04-16T06:39:05Z slyrus joined #lisp 2021-04-16T06:43:36Z slyrus quit (Ping timeout: 252 seconds) 2021-04-16T06:47:18Z Kundry_Wag joined #lisp 2021-04-16T06:51:43Z buffergn0me left #lisp 2021-04-16T06:52:01Z Kundry_Wag quit (Ping timeout: 268 seconds) 2021-04-16T07:00:37Z karlosz quit (Quit: karlosz) 2021-04-16T07:00:58Z daphnis: is there a cl libraray for emitting various sorts of beeps/tones? 2021-04-16T07:02:06Z slyrus joined #lisp 2021-04-16T07:06:53Z slyrus quit (Ping timeout: 265 seconds) 2021-04-16T07:07:38Z pagnol quit (Ping timeout: 246 seconds) 2021-04-16T07:10:02Z asarch quit (Quit: Leaving) 2021-04-16T07:11:08Z anticrisis quit (Read error: Connection reset by peer) 2021-04-16T07:12:35Z karlosz joined #lisp 2021-04-16T07:15:33Z Shinmera: You can use cl-mixed for that. https://github.com/Shirakumo/cl-mixed/blob/master/examples/tone.lisp 2021-04-16T07:15:46Z pve joined #lisp 2021-04-16T07:15:53Z contrapunctus left #lisp 2021-04-16T07:16:54Z contrapunctus joined #lisp 2021-04-16T07:19:18Z daphnis: Shinmera: thanks! 2021-04-16T07:20:14Z Shinmera: There's also Harmony which presents a higher-level interface. Unfortunately I haven't gotten around to writing extensive docs for either :( 2021-04-16T07:27:39Z gzj joined #lisp 2021-04-16T07:29:06Z CrazyEddy quit (Ping timeout: 260 seconds) 2021-04-16T07:29:36Z pillton quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-16T07:30:46Z Elzington__ joined #lisp 2021-04-16T07:31:16Z slyrus joined #lisp 2021-04-16T07:32:07Z gzj quit (Remote host closed the connection) 2021-04-16T07:32:26Z gzj joined #lisp 2021-04-16T07:33:13Z Elzington_ quit (Ping timeout: 240 seconds) 2021-04-16T07:34:52Z fourier joined #lisp 2021-04-16T07:35:17Z arora quit (Ping timeout: 246 seconds) 2021-04-16T07:37:42Z fourier quit (Changing host) 2021-04-16T07:37:42Z fourier joined #lisp 2021-04-16T07:38:05Z random-nick joined #lisp 2021-04-16T07:42:46Z marusich quit (Ping timeout: 240 seconds) 2021-04-16T07:46:31Z slyrus quit (Ping timeout: 252 seconds) 2021-04-16T07:54:21Z zooey quit (Ping timeout: 240 seconds) 2021-04-16T07:54:44Z frgo quit (Ping timeout: 258 seconds) 2021-04-16T07:55:43Z zooey joined #lisp 2021-04-16T08:02:04Z motersen quit (Remote host closed the connection) 2021-04-16T08:02:15Z midre quit (Ping timeout: 260 seconds) 2021-04-16T08:05:52Z midre joined #lisp 2021-04-16T08:06:45Z varjag joined #lisp 2021-04-16T08:06:59Z hendursaga joined #lisp 2021-04-16T08:09:33Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-16T08:11:35Z Cthulhux quit (Ping timeout: 260 seconds) 2021-04-16T08:12:25Z Stanley|00 is now known as Stanley00 2021-04-16T08:12:54Z notzmv joined #lisp 2021-04-16T08:14:12Z gitgood quit (Quit: Probably away to do something really awesome) 2021-04-16T08:14:25Z Cthulhux joined #lisp 2021-04-16T08:20:49Z ljavorsk quit (Ping timeout: 268 seconds) 2021-04-16T08:22:11Z nicktick quit (Ping timeout: 246 seconds) 2021-04-16T08:23:15Z ljavorsk joined #lisp 2021-04-16T08:26:26Z aartaka joined #lisp 2021-04-16T08:28:19Z aartaka_d quit (Ping timeout: 252 seconds) 2021-04-16T08:29:04Z rdd joined #lisp 2021-04-16T08:32:44Z slyrus joined #lisp 2021-04-16T08:33:46Z ramHero joined #lisp 2021-04-16T08:36:29Z Nilby: spiral_fft >:-( sbcl optimizer: "am i a joke to you?" 2021-04-16T08:37:41Z Shinmera: ? 2021-04-16T08:38:02Z Shinmera: spiral is in another entire ballpark. 2021-04-16T08:38:09Z Shinmera: so... yes. 2021-04-16T08:38:45Z Nilby: It bothers me in some way I didn't even know 2021-04-16T08:38:58Z Shinmera: I don't understand. 2021-04-16T08:39:37Z Nilby: Like is there even hope for humans to be programmers 2021-04-16T08:41:03Z Shinmera: Uh, sure. All the transforms and inputs spiral works with are human made. There's a lot of engineering ingenuity behind it. 2021-04-16T08:42:54Z Shinmera: The theory behind Spiral that allows it to generate code this efficient is quite interesting, but also quite off-topic. 2021-04-16T08:44:33Z Nilby: Yes. I was just wondering if there would be any hope to write such things like ffts and dcts and such in lisp and have any understanding when looking at a #'disassemble output 2021-04-16T08:45:14Z Shinmera: there's multiple fft libraries in lisp already iirc. 2021-04-16T08:45:18Z karlosz quit (Quit: karlosz) 2021-04-16T08:46:06Z Nilby: But if they have a 30x slowdown vs geneticly searched code.. 2021-04-16T08:47:16Z Nilby: I must be a cavedweller since I guess modern ML bugs me too 2021-04-16T08:47:29Z Shinmera: I have no idea what you're on about. 2021-04-16T08:48:13Z Kundry_Wag joined #lisp 2021-04-16T08:48:23Z scymtym: there is https://github.com/pkhuong/Napa-FFT3 which also makes heavy use of domain knowledge instead of relying on the compiler 2021-04-16T08:48:24Z Nilby: Sorry. Anyway your cl-mixed library is quite interesting. 2021-04-16T08:51:02Z Nilby: scymtym: Thanks. That actually makes me feel better, even if pkhuong is too smart for me to fully understand. 2021-04-16T08:52:31Z slyrus quit (Ping timeout: 260 seconds) 2021-04-16T08:52:32Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-16T08:52:53Z Shinmera: I would love a Lisp backend for Spiral. 2021-04-16T08:53:54Z scymtym: Nilby: sure. and yes, pkhuong is something else 2021-04-16T08:55:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-16T08:55:17Z Nilby: Shinmera: One could just fairly mechanically translate it's C into Lisp, since it's incomprehensible anyway, but I'm not sure it would retain it's properties. 2021-04-16T08:55:25Z amb007 joined #lisp 2021-04-16T08:56:05Z Shinmera: It would not. It would also be hard because at least te x86 generated code makes use of vector extensions 2021-04-16T08:56:12Z Shinmera: support for which is... well. 2021-04-16T08:57:54Z Nilby: I'm guessing you had to do libmixed in C for real performance issues? 2021-04-16T08:58:09Z Shinmera: it has brought me much anguish, but yes. 2021-04-16T08:58:20Z Shinmera: Real-time audio has very strict constraints. 2021-04-16T08:58:55Z Shinmera: I've still put a bunch of stuff into Lisp land, mostly the I/O parts at the ends that are cl-mixed extensions. 2021-04-16T08:59:11Z Nilby: You're a good to suffer the anguish for a good cause. 2021-04-16T08:59:24Z Shinmera: and libmixed is written in such a way that you can still integrate with it from lisp if you want to prototype. 2021-04-16T09:00:49Z Nilby: I'm still trying to keep my code all Lisp above the kernel, so I a can someday port to a LispOS, but I'm sure you know the difficulties. 2021-04-16T09:02:18Z Shinmera: I'm now in the business of having to sell stuff to people, and the sales numbers for people on a lispos would be way too low to bother supporting :) 2021-04-16T09:04:50Z Shinmera: In fact I'm even strongly considering dropping support for macOS, because the amount of effort required to keep up with Apple's constant stream of turds is probably not worth the earnings. 2021-04-16T09:05:10Z Nilby: Of course. One must get the art in front of the people 2021-04-16T09:05:29Z Nilby: That's sad, but sensible 2021-04-16T09:06:16Z mrchampion quit (Ping timeout: 252 seconds) 2021-04-16T09:06:24Z splittist: "I've suffered for my art. Now it's your turn." 2021-04-16T09:07:02Z ebrasca joined #lisp 2021-04-16T09:07:26Z splittist: Shineraware is like an Aladdin's cave of goodness, by the way. So many thanks for all that. 2021-04-16T09:07:45Z Nilby: Big agree! 2021-04-16T09:07:51Z no-defun-allowed: A Lisp port of JEP 338 could be nice, except that a fallback without vector registers would probably be dog slow. 2021-04-16T09:08:32Z mrchampion joined #lisp 2021-04-16T09:08:37Z Shinmera: splittist: Aw, thank you very much! 2021-04-16T09:10:10Z Shinmera: no-defun-allowed: trivial-vectors, here we come :^) 2021-04-16T09:10:34Z no-defun-allowed: Though I live off all the non-trivial instructions like PMOVMSKB 2021-04-16T09:11:30Z no-defun-allowed: Wouldn't mind some automatic vectorisation too. Just a bit, as a treat. 2021-04-16T09:13:18Z Shinmera: no-defun-allowed: by the way have you looked into using intel vtune to instrumetn your hash table efforts? I've found it quite useful to see what the processor is spending its time doing back when I had to do a project for low level optimisation. 2021-04-16T09:13:59Z no-defun-allowed: I have not. Would it work well with SBCL (and knowing Intel, an AMD processor)? 2021-04-16T09:14:13Z pagnol joined #lisp 2021-04-16T09:14:19Z Shinmera: SBCL should work yes, but AMD probably not. 2021-04-16T09:14:52Z no-defun-allowed: Though I was bummed out to read that Zen 1 only has a 128-bit vector doohickey, so I wouldn't have much of a chance at getting better throughput moving to AVX2 on this desktop. 2021-04-16T09:15:14Z lotuseater joined #lisp 2021-04-16T09:17:13Z hhdave quit (Ping timeout: 240 seconds) 2021-04-16T09:17:13Z hhdave_ joined #lisp 2021-04-16T09:18:56Z no-defun-allowed: Then if you have a NUMA machine, a metadata table is often a bad idea. And the trained eye will notice resizing is not wait-free. Lots of fun stuff. 2021-04-16T09:21:22Z slyrus joined #lisp 2021-04-16T09:23:06Z Nilby: I feel like all this harware that makes things hard is actually crap, there's a much better architecture, that doesn't have a bit width, and where we don't have to push electrons around so hard. 2021-04-16T09:25:09Z attila_lendvai joined #lisp 2021-04-16T09:25:09Z attila_lendvai quit (Changing host) 2021-04-16T09:25:09Z attila_lendvai joined #lisp 2021-04-16T09:25:15Z no-defun-allowed: Usually, eh, I don't mind it so much, but I took a peep at register allocation today, and x86-64 has a bit of what us software people might call "cruft". But if you have backwards compatibility with the original IBM PC, then cruft is what you get. 2021-04-16T09:26:41Z Nilby: definitely lots of cruft in that silicon 2021-04-16T09:30:01Z slyrus quit (Ping timeout: 260 seconds) 2021-04-16T09:31:55Z arora joined #lisp 2021-04-16T09:33:06Z gzj quit (Remote host closed the connection) 2021-04-16T09:33:27Z gzj joined #lisp 2021-04-16T09:35:38Z ioa quit (Ping timeout: 240 seconds) 2021-04-16T09:36:09Z dickbarends joined #lisp 2021-04-16T09:36:39Z ioa joined #lisp 2021-04-16T09:37:21Z dickbarends quit (Client Quit) 2021-04-16T09:37:21Z amb007 quit (Read error: Connection reset by peer) 2021-04-16T09:38:23Z amb007 joined #lisp 2021-04-16T09:46:34Z slyrus joined #lisp 2021-04-16T09:47:07Z gzj quit (Remote host closed the connection) 2021-04-16T09:47:15Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-16T09:47:30Z andrei-n joined #lisp 2021-04-16T09:50:00Z andrei-n quit (Remote host closed the connection) 2021-04-16T09:50:49Z slyrus quit (Ping timeout: 252 seconds) 2021-04-16T09:52:50Z andrei-n joined #lisp 2021-04-16T09:54:36Z andrei-n quit (Remote host closed the connection) 2021-04-16T09:57:03Z heisig joined #lisp 2021-04-16T09:58:04Z karlosz joined #lisp 2021-04-16T09:58:46Z hiroaki_ joined #lisp 2021-04-16T10:00:07Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-16T10:00:47Z minion quit (Remote host closed the connection) 2021-04-16T10:01:04Z specbot quit (Disconnected by services) 2021-04-16T10:01:05Z minion joined #lisp 2021-04-16T10:01:07Z specbot joined #lisp 2021-04-16T10:02:37Z fe[nl]ix quit (Read error: Connection reset by peer) 2021-04-16T10:03:06Z slyrus joined #lisp 2021-04-16T10:03:51Z fe[nl]ix joined #lisp 2021-04-16T10:03:51Z ChanServ has set mode +o fe[nl]ix 2021-04-16T10:07:28Z slyrus quit (Ping timeout: 252 seconds) 2021-04-16T10:08:33Z didi left #lisp 2021-04-16T10:09:12Z skapata quit (Remote host closed the connection) 2021-04-16T10:11:16Z amb007 quit (Read error: Connection reset by peer) 2021-04-16T10:12:27Z amb007 joined #lisp 2021-04-16T10:12:49Z wxie quit (Ping timeout: 252 seconds) 2021-04-16T10:13:52Z dhil joined #lisp 2021-04-16T10:16:30Z andrei-n joined #lisp 2021-04-16T10:18:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-16T10:19:25Z amb007 joined #lisp 2021-04-16T10:20:54Z ukari quit (Remote host closed the connection) 2021-04-16T10:21:40Z ukari joined #lisp 2021-04-16T10:24:29Z frgo joined #lisp 2021-04-16T10:24:58Z Stanley00 quit (Remote host closed the connection) 2021-04-16T10:29:05Z frgo quit (Ping timeout: 268 seconds) 2021-04-16T10:29:19Z andrei-n quit (Remote host closed the connection) 2021-04-16T10:29:28Z Stanley00 joined #lisp 2021-04-16T10:29:36Z CrashTestDummy quit (Read error: Connection reset by peer) 2021-04-16T10:30:01Z CrashTestDummy joined #lisp 2021-04-16T10:31:35Z slyrus joined #lisp 2021-04-16T10:34:16Z elderK joined #lisp 2021-04-16T10:35:16Z Stanley00 quit (Remote host closed the connection) 2021-04-16T10:35:28Z frgo joined #lisp 2021-04-16T10:39:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-16T10:40:06Z amb007 joined #lisp 2021-04-16T10:40:52Z OlCe quit (Ping timeout: 252 seconds) 2021-04-16T10:41:06Z frgo quit (Ping timeout: 258 seconds) 2021-04-16T10:45:16Z amb007 quit (Read error: Connection reset by peer) 2021-04-16T10:45:36Z amb007 joined #lisp 2021-04-16T10:46:54Z frgo joined #lisp 2021-04-16T10:50:11Z slyrus quit (Ping timeout: 265 seconds) 2021-04-16T10:51:27Z frgo quit (Ping timeout: 258 seconds) 2021-04-16T10:52:45Z igemnace quit (Remote host closed the connection) 2021-04-16T10:53:07Z xorino joined #lisp 2021-04-16T10:53:46Z aartaka_d joined #lisp 2021-04-16T10:55:06Z aartaka quit (Ping timeout: 240 seconds) 2021-04-16T10:58:45Z vegansbane6963 joined #lisp 2021-04-16T10:58:46Z amb007 quit (Read error: Connection reset by peer) 2021-04-16T10:59:29Z amb007 joined #lisp 2021-04-16T10:59:30Z cosimone joined #lisp 2021-04-16T11:01:33Z ukari quit (Remote host closed the connection) 2021-04-16T11:02:24Z ukari joined #lisp 2021-04-16T11:06:43Z andrei-n joined #lisp 2021-04-16T11:08:15Z amk quit (Remote host closed the connection) 2021-04-16T11:08:31Z amk joined #lisp 2021-04-16T11:10:32Z mmontone joined #lisp 2021-04-16T11:12:54Z karlosz quit (Quit: karlosz) 2021-04-16T11:13:09Z amb007 quit (Ping timeout: 260 seconds) 2021-04-16T11:13:46Z amb007 joined #lisp 2021-04-16T11:19:39Z OlCe joined #lisp 2021-04-16T11:23:44Z ChoHag quit (Ping timeout: 245 seconds) 2021-04-16T11:25:30Z ChoHag joined #lisp 2021-04-16T11:28:52Z slyrus joined #lisp 2021-04-16T11:30:55Z amb007 quit (Read error: Connection reset by peer) 2021-04-16T11:32:11Z amb007 joined #lisp 2021-04-16T11:38:06Z frost-lab joined #lisp 2021-04-16T11:40:14Z slyrus quit (Ping timeout: 252 seconds) 2021-04-16T11:42:49Z Stanley00 joined #lisp 2021-04-16T11:45:02Z cage_ joined #lisp 2021-04-16T11:45:10Z Kundry_Wag joined #lisp 2021-04-16T11:45:37Z Stanley00 quit (Remote host closed the connection) 2021-04-16T11:47:43Z Stanley00 joined #lisp 2021-04-16T11:49:03Z xorino quit (Ping timeout: 260 seconds) 2021-04-16T11:49:45Z Stanley|00 joined #lisp 2021-04-16T11:50:38Z jeosol quit (Quit: Connection closed) 2021-04-16T11:51:15Z ukari quit (Remote host closed the connection) 2021-04-16T11:51:21Z frost-lab quit (Quit: Connection closed) 2021-04-16T11:52:05Z ukari joined #lisp 2021-04-16T11:52:22Z Stanley00 quit (Ping timeout: 252 seconds) 2021-04-16T11:54:00Z slyrus joined #lisp 2021-04-16T11:57:33Z waleee-cl joined #lisp 2021-04-16T11:58:08Z slyrus quit (Ping timeout: 246 seconds) 2021-04-16T12:01:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-16T12:02:51Z amb007 joined #lisp 2021-04-16T12:05:32Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-16T12:13:23Z X-Scale` joined #lisp 2021-04-16T12:16:30Z Kundry_Wag quit (Remote host closed the connection) 2021-04-16T12:16:37Z paul0 joined #lisp 2021-04-16T12:16:42Z X-Scale quit (Ping timeout: 265 seconds) 2021-04-16T12:16:43Z X-Scale` is now known as X-Scale 2021-04-16T12:17:38Z Stanley|00 quit (Remote host closed the connection) 2021-04-16T12:17:58Z Kundry_Wag joined #lisp 2021-04-16T12:18:52Z daphnis quit (Ping timeout: 240 seconds) 2021-04-16T12:19:21Z Kundry_Wag quit (Remote host closed the connection) 2021-04-16T12:27:04Z slyrus joined #lisp 2021-04-16T12:28:02Z aartaka joined #lisp 2021-04-16T12:31:13Z slyrus quit (Ping timeout: 240 seconds) 2021-04-16T12:35:16Z orivej quit (Ping timeout: 252 seconds) 2021-04-16T12:38:23Z aartaka_d joined #lisp 2021-04-16T12:38:58Z rumbler31 quit (Remote host closed the connection) 2021-04-16T12:39:15Z rumbler31 joined #lisp 2021-04-16T12:41:19Z aartaka quit (Ping timeout: 252 seconds) 2021-04-16T12:46:14Z arora quit (Ping timeout: 252 seconds) 2021-04-16T12:48:25Z surabax joined #lisp 2021-04-16T12:48:40Z gumman quit (Read error: Connection reset by peer) 2021-04-16T12:49:06Z gumman joined #lisp 2021-04-16T12:49:36Z sm2n quit (Remote host closed the connection) 2021-04-16T12:49:49Z sm2n joined #lisp 2021-04-16T12:53:16Z rumbler31 quit (Remote host closed the connection) 2021-04-16T12:53:39Z Bike joined #lisp 2021-04-16T12:54:01Z rumbler31 joined #lisp 2021-04-16T12:54:10Z rumbler31_ joined #lisp 2021-04-16T12:54:25Z vv8 quit (Ping timeout: 260 seconds) 2021-04-16T12:58:09Z Kundry_Wag joined #lisp 2021-04-16T13:00:20Z elflng joined #lisp 2021-04-16T13:00:59Z frgo joined #lisp 2021-04-16T13:01:58Z slyrus joined #lisp 2021-04-16T13:02:12Z rumbler31_ quit (Ping timeout: 240 seconds) 2021-04-16T13:02:26Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-16T13:03:56Z arora joined #lisp 2021-04-16T13:04:03Z Kundry_Wag joined #lisp 2021-04-16T13:06:02Z slyrus quit (Ping timeout: 246 seconds) 2021-04-16T13:06:21Z frgo quit (Ping timeout: 250 seconds) 2021-04-16T13:08:52Z varjag quit (Quit: ERC (IRC client for Emacs 26.3)) 2021-04-16T13:11:07Z wsinatra joined #lisp 2021-04-16T13:13:35Z wsinatra quit (Client Quit) 2021-04-16T13:13:56Z wsinatra joined #lisp 2021-04-16T13:15:48Z not_pp joined #lisp 2021-04-16T13:17:37Z klltkr joined #lisp 2021-04-16T13:17:43Z not_pp quit (Client Quit) 2021-04-16T13:19:27Z frgo joined #lisp 2021-04-16T13:21:20Z Nilby quit (Ping timeout: 258 seconds) 2021-04-16T13:23:41Z frgo quit (Ping timeout: 250 seconds) 2021-04-16T13:25:31Z cosimone quit (Remote host closed the connection) 2021-04-16T13:26:25Z VincentVega joined #lisp 2021-04-16T13:27:40Z skapata joined #lisp 2021-04-16T13:28:51Z xorino joined #lisp 2021-04-16T13:33:53Z Kundry_W_ joined #lisp 2021-04-16T13:35:35Z curtosis[away] joined #lisp 2021-04-16T13:36:36Z Kundry_Wag quit (Ping timeout: 260 seconds) 2021-04-16T13:37:51Z slyrus joined #lisp 2021-04-16T13:40:12Z cosimone joined #lisp 2021-04-16T13:42:12Z frgo joined #lisp 2021-04-16T13:44:42Z daphnis joined #lisp 2021-04-16T13:46:31Z jeosol joined #lisp 2021-04-16T13:46:39Z frgo quit (Ping timeout: 250 seconds) 2021-04-16T13:49:26Z daphnis quit (Ping timeout: 260 seconds) 2021-04-16T13:53:38Z Sheilong joined #lisp 2021-04-16T13:56:07Z slyrus quit (Ping timeout: 252 seconds) 2021-04-16T13:56:51Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-16T14:00:23Z jcowan: In some domains there is no hope for "programmers". The original programmers were people who took code written in assembler by "analysts" and traanslated it into ones and zeros. Nobody does that any more, fortunately. 2021-04-16T14:01:24Z jackdaniel: and yet quality of that software banged with rocks was much more meticulus than many things written today 2021-04-16T14:01:27Z jcowan: Closer to our own time, who would write an LALR(1) parser nowadays without a yacc equivalent? Much better to write rules and semantic fragments. 2021-04-16T14:01:50Z jackdaniel: we've made spacecraft possible with 16kb of ram, you can't open the text editor 2021-04-16T14:01:54Z jackdaniel: with 16gb ;D 2021-04-16T14:01:57Z jcowan: jackdaniel: It had to be, since "programmers" were cheeap and machine time was unbelievably expensive. 2021-04-16T14:02:42Z jackdaniel: I think that this is not the whole story, but that's offtopic anyway 2021-04-16T14:02:48Z jcowan: The more skilled programmers become and the cheaper computers become, the more the emphasis shifts. Airplane embedded programming is still done very carefully. 2021-04-16T14:03:54Z frgo joined #lisp 2021-04-16T14:04:56Z sp41 joined #lisp 2021-04-16T14:05:18Z Odin- glances at Boeing. 2021-04-16T14:06:15Z Josh_2: Who doesn't love Electron products 2021-04-16T14:08:19Z frgo quit (Ping timeout: 250 seconds) 2021-04-16T14:10:19Z rumbler31_ joined #lisp 2021-04-16T14:11:24Z dickbarends joined #lisp 2021-04-16T14:11:32Z splittist: And yet we still obsess over performance. 2021-04-16T14:12:13Z cosimone quit (Remote host closed the connection) 2021-04-16T14:12:24Z Xach: splittist: now performance tuning means saving money on AWS bills 2021-04-16T14:13:06Z splittist predicts that by the time trivial-treeshaker is developed and adopted the average lisp implementation will fit in a single neoTCP packet 2021-04-16T14:13:43Z aartaka joined #lisp 2021-04-16T14:15:46Z splittist: More constructively, I invite suggestions for a "baby's first ORM" to play with 2021-04-16T14:16:05Z aartaka_d quit (Ping timeout: 260 seconds) 2021-04-16T14:16:06Z ljavorsk quit (Ping timeout: 240 seconds) 2021-04-16T14:20:15Z VincentVega quit (Quit: Connection closed) 2021-04-16T14:23:57Z attila_lendvai: splittist, there's hu.dwim.perec ; it works pretty well with the postgresql backend 2021-04-16T14:24:05Z frgo joined #lisp 2021-04-16T14:24:06Z frgo quit (Read error: Connection reset by peer) 2021-04-16T14:24:12Z frgo joined #lisp 2021-04-16T14:24:14Z frgo quit (Remote host closed the connection) 2021-04-16T14:24:41Z frgo joined #lisp 2021-04-16T14:25:02Z slyrus joined #lisp 2021-04-16T14:25:41Z not_pp joined #lisp 2021-04-16T14:29:35Z slyrus quit (Ping timeout: 268 seconds) 2021-04-16T14:29:43Z remby joined #lisp 2021-04-16T14:31:15Z slyrus joined #lisp 2021-04-16T14:32:58Z remby: what parsing generator library would you recommend? I see quite a few on cliki.net 2021-04-16T14:33:42Z andrei-n quit (Quit: Leaving) 2021-04-16T14:35:18Z slyrus quit (Ping timeout: 240 seconds) 2021-04-16T14:39:33Z curtosis[away] joined #lisp 2021-04-16T14:41:32Z arora quit (Ping timeout: 240 seconds) 2021-04-16T14:44:53Z frgo quit 2021-04-16T14:48:04Z splittist: remby: I have fun with esrap sometimes 2021-04-16T14:50:59Z Shinmera: splittist: ORMs are bad, mkay. 2021-04-16T14:51:55Z lotuseater: i recently stumbled upon a package for parser combinators 2021-04-16T14:52:37Z __jrjsmrtn__ joined #lisp 2021-04-16T14:53:46Z _jrjsmrtn quit (Ping timeout: 240 seconds) 2021-04-16T14:54:41Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-16T14:59:51Z charles` quit (Ping timeout: 258 seconds) 2021-04-16T15:02:38Z remby: heh I just realized lisp would be a great language for a lalr parser 2021-04-16T15:03:21Z slyrus joined #lisp 2021-04-16T15:03:38Z remby: esrap looks good 2021-04-16T15:08:26Z slyrus quit (Ping timeout: 268 seconds) 2021-04-16T15:09:06Z booaa joined #lisp 2021-04-16T15:11:01Z daphnis joined #lisp 2021-04-16T15:15:16Z not_pp quit (Quit: Connection closed) 2021-04-16T15:16:17Z aartaka_d joined #lisp 2021-04-16T15:18:23Z mmontone quit (Ping timeout: 240 seconds) 2021-04-16T15:20:11Z aartaka quit (Ping timeout: 240 seconds) 2021-04-16T15:23:53Z akoana joined #lisp 2021-04-16T15:24:17Z slyrus joined #lisp 2021-04-16T15:24:52Z pagnol quit (Ping timeout: 240 seconds) 2021-04-16T15:26:03Z xorino quit (Ping timeout: 260 seconds) 2021-04-16T15:27:42Z jeosol quit (Quit: Connection closed) 2021-04-16T15:28:40Z slyrus quit (Ping timeout: 252 seconds) 2021-04-16T15:29:35Z mindCrime joined #lisp 2021-04-16T15:31:47Z arora joined #lisp 2021-04-16T15:43:31Z slyrus joined #lisp 2021-04-16T15:53:04Z terpri quit (Remote host closed the connection) 2021-04-16T15:53:36Z imode joined #lisp 2021-04-16T15:54:37Z terpri joined #lisp 2021-04-16T15:55:46Z gareppa joined #lisp 2021-04-16T15:56:21Z gareppa quit (Remote host closed the connection) 2021-04-16T15:58:06Z Josh_2: With Parenscript how can I give a javascript variable a lisp name? 2021-04-16T15:59:27Z Josh_2: kinda hard to describe but right now I have had to write (ps:lisp (format stream "var ~A;" )) to get it to initialize the variable 2021-04-16T15:59:52Z Josh_2: https://plaster.tymoon.eu/view/2391#2391 2021-04-16T16:00:58Z slyrus quit (Ping timeout: 265 seconds) 2021-04-16T16:02:40Z slyrus joined #lisp 2021-04-16T16:03:10Z ym joined #lisp 2021-04-16T16:03:34Z ym is now known as Guest8988 2021-04-16T16:03:52Z remby quit (Quit: remby) 2021-04-16T16:04:16Z long4mud quit (Ping timeout: 252 seconds) 2021-04-16T16:04:40Z Guest8988 quit (Client Quit) 2021-04-16T16:04:52Z remby joined #lisp 2021-04-16T16:06:59Z slyrus quit (Ping timeout: 246 seconds) 2021-04-16T16:07:33Z __jrjsmrtn__ quit (Ping timeout: 240 seconds) 2021-04-16T16:08:59Z rogersm joined #lisp 2021-04-16T16:09:22Z slyrus joined #lisp 2021-04-16T16:09:34Z curtosis joined #lisp 2021-04-16T16:09:44Z slyrus quit (Remote host closed the connection) 2021-04-16T16:09:57Z slyrus joined #lisp 2021-04-16T16:11:32Z rogersm quit (Client Quit) 2021-04-16T16:14:40Z kagevf: Josh_2: that link just shows some json ... was that the intention? 2021-04-16T16:15:32Z Josh_2: Shows my JS 2021-04-16T16:16:30Z Josh_2: https://plaster.tymoon.eu/view/2393#2393 here this is the code I'm basically trying to serialize a CL object into some javascript, store that under a variable name in a top level script which can be referenced in another part of my webpage 2021-04-16T16:17:14Z Josh_2: but I'm having to add that (ps:lisp (format ..)) in order to get var ; to appear in the outputted JS, I'm trying to avoid that hackery 2021-04-16T16:23:28Z semz joined #lisp 2021-04-16T16:26:44Z mmontone joined #lisp 2021-04-16T16:28:38Z aeth_ joined #lisp 2021-04-16T16:29:13Z daphnis quit (Ping timeout: 268 seconds) 2021-04-16T16:30:40Z aeth quit (Disconnected by services) 2021-04-16T16:30:45Z aeth_ is now known as aeth 2021-04-16T16:35:29Z aeth_ joined #lisp 2021-04-16T16:36:40Z aeth quit (Disconnected by services) 2021-04-16T16:36:42Z aeth_ is now known as aeth 2021-04-16T16:36:55Z gitgood joined #lisp 2021-04-16T16:37:39Z kagevf: Josh_2: would something like this work? https://plaster.tymoon.eu/view/2394#2394 2021-04-16T16:38:19Z bitmapper joined #lisp 2021-04-16T16:45:54Z amb007 quit (Read error: Connection reset by peer) 2021-04-16T16:46:06Z amb007 joined #lisp 2021-04-16T16:56:04Z remby left #lisp 2021-04-16T16:57:52Z arora quit (Ping timeout: 240 seconds) 2021-04-16T16:58:11Z rumbler31_ quit (Ping timeout: 240 seconds) 2021-04-16T17:04:46Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-16T17:05:27Z karlosz joined #lisp 2021-04-16T17:19:55Z IPmonger quit (Ping timeout: 260 seconds) 2021-04-16T17:19:57Z srhm joined #lisp 2021-04-16T17:20:29Z skapate joined #lisp 2021-04-16T17:20:58Z IPmonger joined #lisp 2021-04-16T17:21:22Z mmontone quit (Ping timeout: 240 seconds) 2021-04-16T17:23:39Z skapata quit (Ping timeout: 260 seconds) 2021-04-16T17:26:13Z fourier quit (Ping timeout: 252 seconds) 2021-04-16T17:26:45Z gaqwas joined #lisp 2021-04-16T17:26:45Z gaqwas quit (Changing host) 2021-04-16T17:26:45Z gaqwas joined #lisp 2021-04-16T17:30:16Z booaa quit (Ping timeout: 268 seconds) 2021-04-16T17:42:35Z contrapunctus left #lisp 2021-04-16T17:43:47Z contrapunctus joined #lisp 2021-04-16T17:46:07Z Inline joined #lisp 2021-04-16T17:47:56Z orivej joined #lisp 2021-04-16T17:49:01Z arora joined #lisp 2021-04-16T17:49:14Z dhil quit (Quit: Leaving) 2021-04-16T17:54:26Z msk_ quit (Ping timeout: 260 seconds) 2021-04-16T17:55:15Z madage quit (Remote host closed the connection) 2021-04-16T17:55:29Z madage joined #lisp 2021-04-16T17:55:36Z msk joined #lisp 2021-04-16T17:57:01Z arora quit (Quit: leaving) 2021-04-16T17:58:10Z daphnis joined #lisp 2021-04-16T17:59:23Z mindCrime quit (Ping timeout: 265 seconds) 2021-04-16T18:00:57Z slyrus quit (Remote host closed the connection) 2021-04-16T18:01:35Z slyrus joined #lisp 2021-04-16T18:01:55Z voidlily quit (Remote host closed the connection) 2021-04-16T18:02:33Z karlosz quit (Quit: karlosz) 2021-04-16T18:05:05Z v0|d joined #lisp 2021-04-16T18:06:55Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-16T18:08:29Z slyrus quit (Ping timeout: 260 seconds) 2021-04-16T18:14:41Z frgo joined #lisp 2021-04-16T18:20:41Z OlCe quit (Ping timeout: 240 seconds) 2021-04-16T18:20:49Z slyrus joined #lisp 2021-04-16T18:22:06Z voidlily joined #lisp 2021-04-16T18:26:11Z sauvin quit (Ping timeout: 240 seconds) 2021-04-16T18:26:31Z slyrus quit (Ping timeout: 260 seconds) 2021-04-16T18:40:06Z curtosis joined #lisp 2021-04-16T18:47:08Z attila_lendvai_ joined #lisp 2021-04-16T18:49:26Z attila_lendvai quit (Ping timeout: 240 seconds) 2021-04-16T18:56:08Z slyrus joined #lisp 2021-04-16T18:58:32Z daphnis quit (Ping timeout: 240 seconds) 2021-04-16T19:04:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-16T19:15:20Z mmontone joined #lisp 2021-04-16T19:16:59Z cosimone joined #lisp 2021-04-16T19:18:37Z cage_ quit (Quit: Leaving) 2021-04-16T19:26:40Z varjagg joined #lisp 2021-04-16T19:28:17Z luckless_ quit (Remote host closed the connection) 2021-04-16T19:28:30Z random-nick quit (Quit: quit) 2021-04-16T19:29:16Z jeosol joined #lisp 2021-04-16T19:29:58Z random-nick joined #lisp 2021-04-16T19:38:52Z CrazyPython joined #lisp 2021-04-16T19:38:59Z cosimone quit (Remote host closed the connection) 2021-04-16T19:39:16Z cosimone joined #lisp 2021-04-16T19:49:35Z jmiven quit (Quit: reboot) 2021-04-16T19:50:25Z jmiven joined #lisp 2021-04-16T19:55:28Z qwer joined #lisp 2021-04-16T19:56:13Z Lord_of_Life_ joined #lisp 2021-04-16T19:56:50Z Lord_of_Life quit (Ping timeout: 265 seconds) 2021-04-16T19:57:22Z mmontone quit (Ping timeout: 240 seconds) 2021-04-16T19:57:36Z ebrasca quit (Remote host closed the connection) 2021-04-16T19:59:20Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-16T20:05:11Z shka_ quit (Ping timeout: 240 seconds) 2021-04-16T20:06:00Z jrm quit (Quit: ciao) 2021-04-16T20:07:45Z karlosz joined #lisp 2021-04-16T20:07:46Z jrm joined #lisp 2021-04-16T20:09:59Z srhm quit (Ping timeout: 268 seconds) 2021-04-16T20:11:45Z luna_is_here quit (Quit: luna_is_here) 2021-04-16T20:13:13Z luna_is_here joined #lisp 2021-04-16T20:14:55Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-16T20:15:58Z curtosis is now known as curtosis[away] 2021-04-16T20:16:17Z Spawns_Carpeting joined #lisp 2021-04-16T20:17:16Z curtosis[away] is now known as curtosis 2021-04-16T20:17:23Z luna_is_here quit (Client Quit) 2021-04-16T20:18:07Z jrm quit (Quit: ciao) 2021-04-16T20:22:45Z jrm joined #lisp 2021-04-16T20:22:51Z luna_is_here joined #lisp 2021-04-16T20:23:59Z slyrus joined #lisp 2021-04-16T20:26:12Z luckless joined #lisp 2021-04-16T20:28:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-16T20:31:18Z mindCrime joined #lisp 2021-04-16T20:35:33Z pve quit (Quit: leaving) 2021-04-16T20:38:24Z slyrus joined #lisp 2021-04-16T20:43:14Z slyrus quit (Ping timeout: 265 seconds) 2021-04-16T20:46:00Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-16T20:52:02Z anticrisis joined #lisp 2021-04-16T20:52:43Z Inline quit (Ping timeout: 260 seconds) 2021-04-16T21:02:42Z attila_lendvai_ quit (Ping timeout: 252 seconds) 2021-04-16T21:04:04Z terpri quit (Quit: Leaving) 2021-04-16T21:05:17Z xorino joined #lisp 2021-04-16T21:06:35Z slyrus joined #lisp 2021-04-16T21:08:05Z Josh_2: kagevf: no that doesn't work :( 2021-04-16T21:08:50Z Josh_2: For each stib in stibs I'd expect output like https://plaster.tymoon.eu/view/2395#2395 2021-04-16T21:09:25Z Nilby joined #lisp 2021-04-16T21:10:47Z slyrus quit (Ping timeout: 246 seconds) 2021-04-16T21:11:44Z v0|d quit (Remote host closed the connection) 2021-04-16T21:12:59Z heisig quit (Quit: Leaving) 2021-04-16T21:13:12Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-16T21:14:08Z terpri joined #lisp 2021-04-16T21:15:08Z jasom: Josh_2: can you not use a macro? 2021-04-16T21:17:50Z jasom: Josh_2: or backquote and ps*? 2021-04-16T21:17:54Z varjagg is now known as varjag 2021-04-16T21:21:20Z curtosis[away] joined #lisp 2021-04-16T21:21:37Z gaqwas quit (Ping timeout: 252 seconds) 2021-04-16T21:23:12Z jasom: Josh_2: did you try (defvar (ps:lisp unique-id))? 2021-04-16T21:23:55Z slyrus joined #lisp 2021-04-16T21:23:57Z jasom: oh, I see that doesn't work 2021-04-16T21:24:25Z jasom: (ps:ps* `(defvar ,unique-id)) does work though 2021-04-16T21:25:08Z rwcom60280385034 quit (Ping timeout: 246 seconds) 2021-04-16T21:26:29Z jasom: (ps:defpsmacro var (name) `(defvar ,(eval name))) works as well, but is ugly 2021-04-16T21:27:50Z jasom: with the above macro you can do: (ps:ps (var (ps:lisp 'foo))) 2021-04-16T21:28:06Z slyrus quit (Ping timeout: 240 seconds) 2021-04-16T21:28:51Z hiroaki_ quit (Ping timeout: 248 seconds) 2021-04-16T21:29:13Z gaqwas joined #lisp 2021-04-16T21:30:01Z jasom: ignore the last 2 lines, they don't work because the binding isn't available at macroexpand time. Either use ps* or the raw format you currently use 2021-04-16T21:31:13Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-16T21:31:33Z __jrjsmrtn__ joined #lisp 2021-04-16T21:43:44Z freshmaker666 is now known as greeb 2021-04-16T21:45:51Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-16T21:46:19Z slyrus joined #lisp 2021-04-16T21:46:26Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-16T21:48:02Z xorino quit (Quit: Leaving) 2021-04-16T21:48:10Z xorino joined #lisp 2021-04-16T21:48:34Z mrchampion quit (Ping timeout: 252 seconds) 2021-04-16T21:50:20Z xorino quit (Client Quit) 2021-04-16T21:50:30Z xorino joined #lisp 2021-04-16T21:50:32Z slyrus quit (Ping timeout: 240 seconds) 2021-04-16T21:51:14Z mrchampion joined #lisp 2021-04-16T21:52:20Z MightyJoe quit (Quit: I'm out!) 2021-04-16T21:54:57Z cyraxjoe joined #lisp 2021-04-16T21:56:33Z slyrus joined #lisp 2021-04-16T21:56:50Z kagevf: what's the difference between ps:ps and ps:ps* ? I didn't really understand the difference reading the tutorial ... 2021-04-16T21:57:15Z kagevf: is it some kind of shorthand for defmacro? 2021-04-16T22:01:13Z slyrus quit (Ping timeout: 252 seconds) 2021-04-16T22:04:28Z mathrick_ quit (Read error: Connection reset by peer) 2021-04-16T22:04:48Z mathrick joined #lisp 2021-04-16T22:08:41Z cosimone quit (Remote host closed the connection) 2021-04-16T22:10:03Z jasom: kagevf: ps:ps* evaluates the argument 2021-04-16T22:11:15Z jasom: ps:ps processes the parenscript at macroexpand time, so must take literal parenscript forms 2021-04-16T22:13:09Z jasom: (let ((x 3)) (list (ps:ps x) (ps:ps* x))) => ("x;" "3;") 2021-04-16T22:17:23Z lotuseater quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-16T22:17:31Z kagevf: nice examples - thank you, jasom ! It's much clearer now 2021-04-16T22:18:02Z Jesin quit (Quit: Leaving) 2021-04-16T22:19:59Z xorino quit (Ping timeout: 260 seconds) 2021-04-16T22:21:17Z mmontone joined #lisp 2021-04-16T22:21:20Z jasom: Josh_2: derp, do this instead of the format expression: (ps:lisp `(defvar ,unique-id)) 2021-04-16T22:21:40Z jasom forgot the results of ps:lisp go through parenscript processing 2021-04-16T22:22:13Z jasom: (let ((foo 'bar)) (ps:ps (ps:lisp `(defvar ,foo)))) ;=> "var bar;" 2021-04-16T22:23:04Z frgo quit (Remote host closed the connection) 2021-04-16T22:23:30Z frgo joined #lisp 2021-04-16T22:32:26Z varjag quit (Ping timeout: 268 seconds) 2021-04-16T22:33:23Z hjudt quit (Ping timeout: 246 seconds) 2021-04-16T22:38:31Z Jesin joined #lisp 2021-04-16T22:38:54Z surabax quit (Quit: Leaving) 2021-04-16T22:40:17Z Kundry_W_ quit (Remote host closed the connection) 2021-04-16T22:40:27Z karlosz quit (Ping timeout: 268 seconds) 2021-04-16T22:40:45Z sloanr joined #lisp 2021-04-16T22:42:55Z Kundry_Wag joined #lisp 2021-04-16T22:44:38Z Kundry_Wag quit (Remote host closed the connection) 2021-04-16T22:50:32Z kagevf: I keep trying to use ps:symbol-to-js-string for this and it just blows up 2021-04-16T22:51:04Z jasom: kagevf: example? 2021-04-16T22:51:14Z Kundry_Wag joined #lisp 2021-04-16T22:51:44Z kagevf: this or slight variations of: (ps:ps (defvar (ps:symbol-to-js-string 'foo))) 2021-04-16T22:52:02Z jasom: kagevf: (ps:ps (defvar foo)) 2021-04-16T22:52:30Z jasom: ps:symbol-to-js-string returns a string; defvar needs a literal symbol. 2021-04-16T22:52:54Z kagevf: right ... I think your solutions are better and more concise ... but if I didn't have those I think symbol-to-js-string is what I would try to use in my ignorance 2021-04-16T22:53:47Z kagevf: so is it better to think of it has an actual string in JS as opposed to the sting that's output by ps? 2021-04-16T22:53:56Z kagevf: maybe that's the connection I'm not making 2021-04-16T22:54:08Z gzj joined #lisp 2021-04-16T22:54:35Z charles` joined #lisp 2021-04-16T22:58:00Z curtosis joined #lisp 2021-04-16T22:58:47Z kagevf: alright ... this looks like what the intended usage for that function is: 2021-04-16T22:59:20Z jasom: ps transforms s-expressions into strings. A string (which is what symbol-to-js-string) in the s-expression will always output a string in javascript. 2021-04-16T22:59:36Z kagevf: (ps:ps* `(defvar foo ,(ps:symbol-to-js-string 'bar))) => var foo = \"bar\"; 2021-04-16T23:00:17Z Kundry_Wag quit (Remote host closed the connection) 2021-04-16T23:00:32Z X-Scale` joined #lisp 2021-04-16T23:00:54Z jasom: kagevf: right 2021-04-16T23:01:37Z kagevf: is that typical usage of symbol-to-js-string? 2021-04-16T23:01:42Z kagevf: what I wrote, I mean 2021-04-16T23:02:01Z jasom: kagevf: the typical usage of symbol-to-js-string is not to use it? 2021-04-16T23:02:06Z X-Scale quit (Ping timeout: 240 seconds) 2021-04-16T23:02:06Z X-Scale` is now known as X-Scale 2021-04-16T23:02:07Z kagevf: haha ok 2021-04-16T23:02:10Z jasom: kagevf: or maybe for parsing json in a way that is compatible 2021-04-16T23:02:38Z hiredman quit (Quit: leaving) 2021-04-16T23:02:52Z hiredman joined #lisp 2021-04-16T23:03:18Z kagevf: "SYMBOL-TO-JS-STRING is the Parenscript function responsible for translating Common Lisp symbols to JavaScript identifiers" <-- that part in the reference is a little confusing, in light of what's been demonstrated here today 2021-04-16T23:03:24Z jasom: e.g. if your json library makes a hash-table you can (gethash (ps:symbol-to-js-string 'foo-bar) ...) to use the same identifiers in your PS as when you get from JSON 2021-04-16T23:03:47Z jasom: kagevf: *ah* it's used *internally* for doing that. 2021-04-16T23:04:14Z kagevf: a-ha! that example you just gave reconciles that part in the reference with the actual usage 2021-04-16T23:04:15Z jasom: Right below that is the intended use: "It is helpful for writing libraries or other pieces of code that will interface with Parenscript-generated JavaScript." 2021-04-16T23:04:27Z kagevf: ok ... it's clearer now :) 2021-04-16T23:04:47Z jasom: so if you run ps on the frontend and get js on the backend, your backend will use symbol-to-js-string 2021-04-16T23:04:56Z jasom: s/get js/get json/ 2021-04-16T23:07:30Z kagevf: using parenscript on the backend? on the backend I would just use regular CL and something like cl-json, right? the hashtable example you wrote makes a lot of sense though ... 2021-04-16T23:11:19Z kagevf: ok ... I think by "backend" you mean generating the parenscript that will handle the json on the server/backend, for use on the frontend ... did I understand that right? 2021-04-16T23:25:59Z curtosis is now known as curtosis[away] 2021-04-16T23:28:09Z orivej quit (Ping timeout: 260 seconds) 2021-04-16T23:31:19Z Jesin quit (Quit: Leaving) 2021-04-16T23:31:50Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-16T23:31:51Z akoana left #lisp 2021-04-16T23:40:02Z Jesin joined #lisp 2021-04-16T23:42:27Z slyrus joined #lisp 2021-04-16T23:43:17Z kevingal quit (Remote host closed the connection) 2021-04-16T23:46:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-16T23:49:11Z gigetoo quit (Ping timeout: 240 seconds) 2021-04-16T23:49:25Z slyrus joined #lisp 2021-04-16T23:50:10Z gigetoo joined #lisp 2021-04-16T23:53:28Z Kundry_Wag joined #lisp 2021-04-16T23:53:53Z mindCrime joined #lisp 2021-04-16T23:57:41Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-17T00:09:26Z mmontone quit (Quit: Connection closed) 2021-04-17T00:10:30Z gitgood quit (Remote host closed the connection) 2021-04-17T00:14:28Z random-nick quit (Ping timeout: 252 seconds) 2021-04-17T00:39:43Z rumbler31 quit (Remote host closed the connection) 2021-04-17T00:40:01Z rumbler31 joined #lisp 2021-04-17T00:51:13Z slyrus quit (Remote host closed the connection) 2021-04-17T00:51:49Z slyrus joined #lisp 2021-04-17T00:52:58Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-17T00:55:43Z fiddlerwoaroof: kagevf: it would be sort of funny to build a workflow around parenscript and babel to avoid having to write Javascript directly 2021-04-17T00:56:17Z fiddlerwoaroof: parenscript to generate the JS, babel for round-tripping it back to parenscript and, maybe, for cleaning up identifiers 2021-04-17T00:56:49Z aartaka joined #lisp 2021-04-17T00:58:26Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T01:02:26Z kagevf: yeah, I'm not following at all how / why you would use parenscript on the server other than to generate JS as part of the output of a page so it can be used / run on the frontend 2021-04-17T01:06:26Z fiddlerwoaroof: You could always use node to run the generated javascript 2021-04-17T01:06:54Z CrazyPython quit 2021-04-17T01:07:58Z fiddlerwoaroof: But, I think "normally" you'd either compile to js files and serve them statically, or you'd compile to JS and serve it up with something like hunchentoot 2021-04-17T01:11:19Z kagevf: right ... that's what I've been doing ... the latter 2 2021-04-17T01:11:41Z kagevf: well, actually just the latter 1 ... serving from hunchentoot 2021-04-17T01:16:32Z slyrus joined #lisp 2021-04-17T01:20:34Z skapate quit (Remote host closed the connection) 2021-04-17T01:20:52Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T01:20:52Z aartaka quit (Ping timeout: 252 seconds) 2021-04-17T01:23:49Z mason joined #lisp 2021-04-17T01:29:45Z slyrus joined #lisp 2021-04-17T01:33:46Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T01:36:03Z mmontone joined #lisp 2021-04-17T01:42:50Z Josh_2: Currently I am representing lisp objects as javascript in my JS source code so that they can be referenced by other bits of JS code, no runtime overhead doing object lookups in js etc. Thanks jasom 2021-04-17T01:46:30Z Adamclisi quit (Ping timeout: 252 seconds) 2021-04-17T01:50:25Z slyrus joined #lisp 2021-04-17T01:51:40Z Josh_2 quit (Ping timeout: 252 seconds) 2021-04-17T01:53:30Z Adamclisi joined #lisp 2021-04-17T01:53:52Z aartaka joined #lisp 2021-04-17T01:54:38Z slyrus quit (Ping timeout: 246 seconds) 2021-04-17T01:54:40Z Jachy joined #lisp 2021-04-17T01:56:06Z gzj quit (Remote host closed the connection) 2021-04-17T01:56:28Z gzj joined #lisp 2021-04-17T01:59:07Z gzj quit (Remote host closed the connection) 2021-04-17T01:59:27Z gzj joined #lisp 2021-04-17T01:59:55Z keja_ quit (Read error: Connection reset by peer) 2021-04-17T02:00:06Z gzj quit (Read error: Connection reset by peer) 2021-04-17T02:00:26Z gzj joined #lisp 2021-04-17T02:01:32Z CrashTestDummy2 joined #lisp 2021-04-17T02:04:06Z CrashTestDummy quit (Ping timeout: 240 seconds) 2021-04-17T02:14:22Z slyrus joined #lisp 2021-04-17T02:18:37Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T02:22:05Z gzj quit (Remote host closed the connection) 2021-04-17T02:22:25Z gzj joined #lisp 2021-04-17T02:23:04Z curtosis[away] joined #lisp 2021-04-17T02:29:46Z slyrus joined #lisp 2021-04-17T02:34:10Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T02:44:10Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-17T02:48:32Z Kundry_Wag joined #lisp 2021-04-17T02:50:56Z Sheilong quit 2021-04-17T02:55:50Z karlosz joined #lisp 2021-04-17T02:55:58Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-17T03:02:06Z Alfr is now known as Guest44451 2021-04-17T03:02:11Z Alfr joined #lisp 2021-04-17T03:02:54Z slyrus joined #lisp 2021-04-17T03:04:05Z beach: Good morning everyone! 2021-04-17T03:04:25Z Guest44451 quit (Ping timeout: 250 seconds) 2021-04-17T03:07:29Z slyrus quit (Ping timeout: 265 seconds) 2021-04-17T03:07:47Z akoana joined #lisp 2021-04-17T03:09:37Z slyrus joined #lisp 2021-04-17T03:14:10Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T03:18:21Z slyrus joined #lisp 2021-04-17T03:22:53Z slyrus quit (Ping timeout: 268 seconds) 2021-04-17T03:29:50Z Kundry_Wag joined #lisp 2021-04-17T03:31:48Z terpri quit (Quit: Leaving) 2021-04-17T03:33:53Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-17T03:34:05Z slyrus joined #lisp 2021-04-17T03:56:16Z semz quit (Ping timeout: 276 seconds) 2021-04-17T03:59:14Z msk quit (Quit: Leaving) 2021-04-17T04:01:33Z akoana quit (Quit: leaving) 2021-04-17T04:08:28Z semz joined #lisp 2021-04-17T04:08:28Z semz quit (Changing host) 2021-04-17T04:08:28Z semz joined #lisp 2021-04-17T04:09:38Z zaquest quit (Quit: Leaving) 2021-04-17T04:11:24Z rumbler31 quit (Remote host closed the connection) 2021-04-17T04:12:12Z rumbler31 joined #lisp 2021-04-17T04:13:54Z zaquest joined #lisp 2021-04-17T04:18:52Z hypercube quit (Ping timeout: 240 seconds) 2021-04-17T04:22:18Z Kundry_Wag joined #lisp 2021-04-17T04:26:49Z Kundry_Wag quit (Ping timeout: 260 seconds) 2021-04-17T04:30:04Z aeth quit (Ping timeout: 252 seconds) 2021-04-17T04:32:07Z aeth joined #lisp 2021-04-17T04:36:37Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-17T04:37:40Z hiredman quit (Remote host closed the connection) 2021-04-17T04:37:44Z gzj quit (Ping timeout: 252 seconds) 2021-04-17T04:38:14Z varjag joined #lisp 2021-04-17T04:38:29Z slyrus quit (Remote host closed the connection) 2021-04-17T04:39:02Z slyrus joined #lisp 2021-04-17T04:42:52Z varjag quit (Ping timeout: 252 seconds) 2021-04-17T04:43:16Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T04:59:26Z pagnol joined #lisp 2021-04-17T05:09:38Z Bike quit (Quit: Lost terminal) 2021-04-17T05:10:15Z gzj joined #lisp 2021-04-17T05:20:20Z slyrus joined #lisp 2021-04-17T05:24:33Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T05:25:06Z sauvin joined #lisp 2021-04-17T05:41:10Z rixard quit (Read error: Connection reset by peer) 2021-04-17T05:41:49Z rixard joined #lisp 2021-04-17T05:54:49Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-17T05:55:16Z Spawns_Carpeting joined #lisp 2021-04-17T05:55:41Z slyrus joined #lisp 2021-04-17T06:00:06Z slyrus quit (Ping timeout: 260 seconds) 2021-04-17T06:00:41Z slyrus joined #lisp 2021-04-17T06:00:42Z mmontone quit (Ping timeout: 240 seconds) 2021-04-17T06:05:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T06:21:56Z daphnis joined #lisp 2021-04-17T06:23:15Z Kundry_Wag joined #lisp 2021-04-17T06:24:50Z aartaka quit (Ping timeout: 246 seconds) 2021-04-17T06:26:34Z hiredman joined #lisp 2021-04-17T06:27:26Z daphnis quit (Ping timeout: 240 seconds) 2021-04-17T06:27:38Z Kundry_Wag quit (Ping timeout: 246 seconds) 2021-04-17T06:27:43Z daphnis joined #lisp 2021-04-17T06:28:52Z imode quit (Ping timeout: 240 seconds) 2021-04-17T06:30:13Z orivej joined #lisp 2021-04-17T06:34:08Z slyrus joined #lisp 2021-04-17T06:38:26Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T06:47:36Z gaqwas joined #lisp 2021-04-17T06:47:36Z gaqwas quit (Changing host) 2021-04-17T06:47:36Z gaqwas joined #lisp 2021-04-17T06:49:03Z attila_lendvai_ joined #lisp 2021-04-17T06:49:09Z shka_ joined #lisp 2021-04-17T06:55:08Z gzj quit (Remote host closed the connection) 2021-04-17T06:55:28Z gzj joined #lisp 2021-04-17T07:02:44Z andrei-n joined #lisp 2021-04-17T07:07:32Z slyrus joined #lisp 2021-04-17T07:11:44Z slyrus quit (Ping timeout: 246 seconds) 2021-04-17T07:28:11Z pagnol quit (Ping timeout: 246 seconds) 2021-04-17T07:28:13Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-17T07:32:58Z slyrus joined #lisp 2021-04-17T07:33:19Z supercoven joined #lisp 2021-04-17T07:33:20Z supercoven quit (Max SendQ exceeded) 2021-04-17T07:33:33Z supercoven joined #lisp 2021-04-17T07:38:02Z OlCe joined #lisp 2021-04-17T07:38:39Z long4mud joined #lisp 2021-04-17T07:39:37Z mindCrime joined #lisp 2021-04-17T07:42:11Z slyrus quit (Ping timeout: 260 seconds) 2021-04-17T07:43:14Z phoe6245 quit (Quit: Ping timeout (120 seconds)) 2021-04-17T07:43:29Z phoe6245 joined #lisp 2021-04-17T07:43:39Z attila_lendvai_ is now known as attila_lendvai 2021-04-17T07:43:46Z attila_lendvai quit (Changing host) 2021-04-17T07:43:46Z attila_lendvai joined #lisp 2021-04-17T07:46:21Z rjcks joined #lisp 2021-04-17T07:46:33Z Lord_of_Life quit (Excess Flood) 2021-04-17T07:46:57Z Lord_of_Life joined #lisp 2021-04-17T07:48:52Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-17T07:52:21Z hiroaki_ joined #lisp 2021-04-17T07:53:37Z mindCrime joined #lisp 2021-04-17T07:55:05Z gzj quit (Remote host closed the connection) 2021-04-17T07:55:25Z gzj joined #lisp 2021-04-17T07:56:10Z varjag joined #lisp 2021-04-17T08:01:26Z slyrus joined #lisp 2021-04-17T08:03:50Z gitgood joined #lisp 2021-04-17T08:04:00Z shka_: hello! 2021-04-17T08:04:11Z shka_: i am getting the following warning from the quicklisp 2021-04-17T08:04:19Z shka_: contains definition for system "cl-ppcre-test". Please only define "cl-ppcre" and secondary systems with a name starting with "cl-ppcre/" (e.g. "cl-ppcre/test") in that file 2021-04-17T08:05:17Z shka_: can I please have an example of the properly defined tests subsystem? 2021-04-17T08:05:46Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T08:07:18Z slyrus joined #lisp 2021-04-17T08:07:19Z hendursa1 joined #lisp 2021-04-17T08:08:13Z slyrus_ joined #lisp 2021-04-17T08:08:26Z OlCe quit (Ping timeout: 260 seconds) 2021-04-17T08:09:57Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-17T08:11:43Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T08:12:49Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-17T08:13:03Z anticrisis quit (Read error: Connection reset by peer) 2021-04-17T08:16:12Z lotuseater joined #lisp 2021-04-17T08:16:45Z aartaka joined #lisp 2021-04-17T08:23:54Z Kundry_Wag joined #lisp 2021-04-17T08:28:12Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-17T08:30:21Z datajerk quit (Ping timeout: 265 seconds) 2021-04-17T08:32:32Z datajerk joined #lisp 2021-04-17T08:39:32Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-17T08:43:23Z gzj quit (Remote host closed the connection) 2021-04-17T08:44:06Z pve joined #lisp 2021-04-17T08:48:12Z kagevf: I get that warning too when I asdf:load-system something that uses that library 2021-04-17T08:50:46Z slyrus joined #lisp 2021-04-17T08:53:23Z gzj joined #lisp 2021-04-17T08:57:20Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T08:57:24Z mindCrime joined #lisp 2021-04-17T08:58:10Z splittist: That's an asdf warning. At some point it became fussy about, as it says, defsystems in the same file. So you would define (defsystem #:trivial-example (...)) and (defsystem #:trivial-example/tests (...)) But perhaps you meant something else. 2021-04-17T09:02:52Z aartaka quit (Ping timeout: 252 seconds) 2021-04-17T09:07:34Z mindCrime quit (Ping timeout: 265 seconds) 2021-04-17T09:07:40Z aartaka joined #lisp 2021-04-17T09:07:50Z shka_: splittist: i think that i meant this 2021-04-17T09:08:03Z shka_: i thought that this is quicklisp thing, not the asdf 2021-04-17T09:08:16Z shka_: but ok, thanks for the explanation! 2021-04-17T09:26:43Z slyrus joined #lisp 2021-04-17T09:30:52Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T09:31:29Z slyrus joined #lisp 2021-04-17T09:32:26Z gzj quit (Ping timeout: 240 seconds) 2021-04-17T09:35:46Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T09:49:37Z aartaka quit (Read error: Connection reset by peer) 2021-04-17T09:51:20Z surabax joined #lisp 2021-04-17T09:52:29Z slyrus joined #lisp 2021-04-17T09:54:12Z Necktwi quit (Read error: Connection reset by peer) 2021-04-17T09:56:30Z aartaka joined #lisp 2021-04-17T09:56:51Z random-nick joined #lisp 2021-04-17T09:58:10Z slyrus quit (Ping timeout: 268 seconds) 2021-04-17T09:58:16Z prxq joined #lisp 2021-04-17T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-17T10:00:29Z Necktwi joined #lisp 2021-04-17T10:01:31Z cosimone joined #lisp 2021-04-17T10:01:54Z cosimone quit (Remote host closed the connection) 2021-04-17T10:02:17Z cosimone joined #lisp 2021-04-17T10:08:01Z thinkpad quit (Ping timeout: 260 seconds) 2021-04-17T10:10:28Z thinkpad joined #lisp 2021-04-17T10:12:38Z sito joined #lisp 2021-04-17T10:12:43Z sito: ciao 2021-04-17T10:12:50Z sito: !list 2021-04-17T10:13:41Z beach: Hello sito. 2021-04-17T10:14:20Z beach: sito: Are you new here? I don't recognize your nick. 2021-04-17T10:22:00Z shka_: sito: hi! 2021-04-17T10:22:06Z frgo quit (Remote host closed the connection) 2021-04-17T10:22:30Z frgo joined #lisp 2021-04-17T10:23:01Z skapata joined #lisp 2021-04-17T10:26:58Z slyrus joined #lisp 2021-04-17T10:42:36Z sito quit (Remote host closed the connection) 2021-04-17T10:45:08Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T10:47:30Z xorino joined #lisp 2021-04-17T10:49:11Z terpri joined #lisp 2021-04-17T10:52:55Z Inline joined #lisp 2021-04-17T10:58:11Z slyrus joined #lisp 2021-04-17T10:58:47Z vegansbane6963 joined #lisp 2021-04-17T11:02:46Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T11:16:42Z amb007 quit (Read error: Connection reset by peer) 2021-04-17T11:16:53Z amb007 joined #lisp 2021-04-17T11:17:36Z amb007 quit (Read error: Connection reset by peer) 2021-04-17T11:18:47Z amb007 joined #lisp 2021-04-17T11:18:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-17T11:19:11Z amb007 joined #lisp 2021-04-17T11:19:44Z xorino quit (Quit: Leaving) 2021-04-17T11:30:37Z Kundry_Wag joined #lisp 2021-04-17T11:37:24Z Noisytoot left #lisp 2021-04-17T11:38:27Z eden joined #lisp 2021-04-17T11:38:52Z thinkpad quit (Ping timeout: 240 seconds) 2021-04-17T11:42:06Z bjorkintosh quit (Remote host closed the connection) 2021-04-17T11:42:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-17T11:43:28Z amb007 joined #lisp 2021-04-17T11:50:47Z slyrus joined #lisp 2021-04-17T11:55:17Z slyrus quit (Ping timeout: 265 seconds) 2021-04-17T11:55:42Z cosimone quit (Remote host closed the connection) 2021-04-17T11:57:17Z thinkpad joined #lisp 2021-04-17T12:05:11Z amb007 quit (Ping timeout: 240 seconds) 2021-04-17T12:05:40Z amb007 joined #lisp 2021-04-17T12:07:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-17T12:08:48Z amb007 joined #lisp 2021-04-17T12:10:13Z cage_ joined #lisp 2021-04-17T12:13:10Z amb007 quit (Ping timeout: 252 seconds) 2021-04-17T12:13:30Z amb007 joined #lisp 2021-04-17T12:16:39Z McParen joined #lisp 2021-04-17T12:23:12Z slyrus joined #lisp 2021-04-17T12:24:46Z rumbler31 quit (Ping timeout: 265 seconds) 2021-04-17T12:24:47Z Nilby quit (Ping timeout: 258 seconds) 2021-04-17T12:25:35Z rumbler31 joined #lisp 2021-04-17T12:26:46Z amb007 quit (Ping timeout: 240 seconds) 2021-04-17T12:27:26Z slyrus quit (Ping timeout: 246 seconds) 2021-04-17T12:28:23Z McParen quit (Ping timeout: 260 seconds) 2021-04-17T12:30:13Z rumbler31 quit (Ping timeout: 252 seconds) 2021-04-17T12:33:24Z cosimone joined #lisp 2021-04-17T12:33:27Z cosimone quit (Remote host closed the connection) 2021-04-17T12:33:55Z cosimone joined #lisp 2021-04-17T12:34:11Z Kundry_Wag quit (Ping timeout: 268 seconds) 2021-04-17T12:47:29Z amb007 joined #lisp 2021-04-17T12:56:18Z slyrus joined #lisp 2021-04-17T12:58:47Z frost-lab joined #lisp 2021-04-17T13:01:01Z slyrus quit (Ping timeout: 265 seconds) 2021-04-17T13:06:24Z shka_: hello 2021-04-17T13:06:45Z shka_: any trick you people recommend for testing that a method was called? 2021-04-17T13:06:58Z shka_: i think that i would SIGNAL something 2021-04-17T13:21:56Z slyrus joined #lisp 2021-04-17T13:23:08Z krjli joined #lisp 2021-04-17T13:23:49Z klltkr joined #lisp 2021-04-17T13:26:38Z slyrus quit (Ping timeout: 265 seconds) 2021-04-17T13:30:10Z andrei-n quit (Ping timeout: 252 seconds) 2021-04-17T13:30:41Z random-nick quit (Ping timeout: 240 seconds) 2021-04-17T13:32:47Z Cthulhux quit (Changing host) 2021-04-17T13:32:47Z Cthulhux joined #lisp 2021-04-17T13:36:34Z layerex joined #lisp 2021-04-17T13:40:37Z daphnis quit (Ping timeout: 252 seconds) 2021-04-17T13:43:35Z random-nick joined #lisp 2021-04-17T13:46:13Z amb007 quit (Read error: Connection reset by peer) 2021-04-17T13:46:23Z amb007 joined #lisp 2021-04-17T13:48:31Z amb007 quit (Read error: Connection reset by peer) 2021-04-17T13:49:39Z amb007 joined #lisp 2021-04-17T13:51:02Z rumbler31 joined #lisp 2021-04-17T13:57:53Z hendursa1 quit (Quit: hendursa1) 2021-04-17T14:00:33Z attila_lendvai quit (Quit: Leaving) 2021-04-17T14:05:20Z hendursaga joined #lisp 2021-04-17T14:10:46Z frost-lab quit (Quit: Connection closed) 2021-04-17T14:11:40Z random-nick quit (Quit: quit) 2021-04-17T14:15:10Z layerex quit (Quit: Leaving) 2021-04-17T14:16:19Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-17T14:16:44Z nicktick joined #lisp 2021-04-17T14:20:08Z Spawns_Carpeting joined #lisp 2021-04-17T14:25:34Z slyrus joined #lisp 2021-04-17T14:29:08Z random-nick joined #lisp 2021-04-17T14:29:28Z andrei-n joined #lisp 2021-04-17T14:29:34Z krjli quit (Ping timeout: 252 seconds) 2021-04-17T14:30:07Z slyrus quit (Ping timeout: 268 seconds) 2021-04-17T14:34:32Z Shinmera: ? in what context 2021-04-17T14:34:37Z Shinmera: debugging? 2021-04-17T14:38:28Z daphnis joined #lisp 2021-04-17T14:44:28Z slyrus joined #lisp 2021-04-17T14:49:55Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T14:50:39Z sjl joined #lisp 2021-04-17T14:51:51Z Inline quit (Quit: Leaving) 2021-04-17T14:52:39Z zupss quit (Quit: Lost terminal) 2021-04-17T14:52:47Z Inline joined #lisp 2021-04-17T14:52:52Z zupss joined #lisp 2021-04-17T15:05:17Z dickbarends quit 2021-04-17T15:12:28Z vv8 joined #lisp 2021-04-17T15:14:31Z Inline quit (Ping timeout: 260 seconds) 2021-04-17T15:19:29Z srhm joined #lisp 2021-04-17T15:21:27Z jonatack quit (Quit: jonatack) 2021-04-17T15:23:47Z vv8 quit (Quit: EXIT) 2021-04-17T15:24:00Z slyrus joined #lisp 2021-04-17T15:25:57Z eden quit (Ping timeout: 240 seconds) 2021-04-17T15:28:58Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T15:30:32Z jonatack joined #lisp 2021-04-17T15:40:26Z amk quit (Ping timeout: 240 seconds) 2021-04-17T15:40:38Z amk joined #lisp 2021-04-17T15:42:56Z eden joined #lisp 2021-04-17T15:43:47Z slyrus joined #lisp 2021-04-17T15:44:07Z rumbler3_ joined #lisp 2021-04-17T15:44:33Z mmontone joined #lisp 2021-04-17T15:44:33Z aindilis quit (Remote host closed the connection) 2021-04-17T15:45:33Z ukari quit (Remote host closed the connection) 2021-04-17T15:46:11Z aindilis joined #lisp 2021-04-17T15:46:12Z ukari joined #lisp 2021-04-17T15:46:22Z vv8 joined #lisp 2021-04-17T15:47:34Z rumbler31 quit (Ping timeout: 258 seconds) 2021-04-17T15:47:59Z slyrus quit (Ping timeout: 246 seconds) 2021-04-17T15:49:42Z rumbler3_ quit (Remote host closed the connection) 2021-04-17T15:55:31Z Inline joined #lisp 2021-04-17T15:58:24Z hypercube joined #lisp 2021-04-17T15:59:50Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-17T16:13:47Z Inline quit (Ping timeout: 260 seconds) 2021-04-17T16:15:57Z Inline joined #lisp 2021-04-17T16:16:13Z long4mud joined #lisp 2021-04-17T16:17:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-17T16:18:22Z slyrus joined #lisp 2021-04-17T16:18:24Z amb007 joined #lisp 2021-04-17T16:22:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T16:23:23Z cosimone quit (Remote host closed the connection) 2021-04-17T16:23:37Z cosimone joined #lisp 2021-04-17T16:24:41Z Inline quit (Remote host closed the connection) 2021-04-17T16:25:19Z cage_ quit (Remote host closed the connection) 2021-04-17T16:25:45Z cage_ joined #lisp 2021-04-17T16:27:39Z Oladon joined #lisp 2021-04-17T16:27:41Z shka_: Shinmera: unit tests 2021-04-17T16:29:58Z Inline joined #lisp 2021-04-17T16:30:46Z daphnis quit (Ping timeout: 240 seconds) 2021-04-17T16:31:33Z CL-ASHOK joined #lisp 2021-04-17T16:37:37Z raeda: As in code coverage? The cookbook might have what you're looking for https://lispcookbook.github.io/cl-cookbook/testing.html#code-coverage 2021-04-17T16:38:00Z CL-ASHOK: anybody have an example of "defprepared" in postmodern? 2021-04-17T16:38:08Z CL-ASHOK: hard to follow the documentaiton 2021-04-17T16:38:29Z waleee-cl joined #lisp 2021-04-17T16:44:19Z slyrus joined #lisp 2021-04-17T16:45:58Z thmprover joined #lisp 2021-04-17T16:48:49Z slyrus quit (Ping timeout: 260 seconds) 2021-04-17T16:53:25Z ebrasca joined #lisp 2021-04-17T16:55:49Z CL-ASHOK quit (Quit: Connection closed) 2021-04-17T16:58:30Z phoe: shka_: a method? sounds like a job for a toplevel :AROUND, as long as your code does not use that internally 2021-04-17T17:00:06Z kagevf: CL-ASHOK did you try looking at this? https://marijnhaverbeke.nl/postmodern/postmodern.html 2021-04-17T17:00:30Z CL-ASHOK joined #lisp 2021-04-17T17:00:30Z kagevf: it looks like the way to parameterize queries is to have $1 $2 etc in the sql ... 2021-04-17T17:02:10Z CL-ASHOK: kagevf I did, but it's hard to follow "This is the macro-style variant of prepare. It is like prepare, but gives the function a name which now becomes a top-level function for the prepared statement. The name should not a string but may be quoted." 2021-04-17T17:03:26Z CL-ASHOK: Does something like this: (doquery (:select 'x 'y :from 'some-imaginary-table) (x y) 2021-04-17T17:03:26Z CL-ASHOK:   (format t "On this row, x = ~A and y = ~A.~%" x y)) 2021-04-17T17:03:37Z kagevf: CL-ASHOK: there are a few examples using the argument placeholders like $1 ... maybe enough to figure out how to apply to your code ... 2021-04-17T17:03:47Z CL-ASHOK: quote the parameters so that it avoids sql injection? 2021-04-17T17:04:36Z kagevf: CL-ASHOK: that doquery in your example you just wrote doesn't have any parameters, so no danger of sql injection there 2021-04-17T17:05:00Z kagevf: can you paste the example from your code that uses parameters? 2021-04-17T17:05:50Z kagevf: also, in that document try searching for "$1" to see all the examples where it uses argument placeholders to get more ideas 2021-04-17T17:05:55Z CL-ASHOK: (defun insert-record (title body) 2021-04-17T17:05:56Z CL-ASHOK:   (query (format nil "INSERT INTO myBlogTable VALUES ('~A', '~A');" title body))) 2021-04-17T17:06:09Z CL-ASHOK: thanks, I will search for $1 in the doc now 2021-04-17T17:06:09Z kagevf: ok cool ... 2021-04-17T17:06:25Z kagevf: what if you did something like ... 2021-04-17T17:07:08Z kagevf: (query "INSERT INTO myBlogTable VALUES ($1, $2);" title body) 2021-04-17T17:07:28Z CL-ASHOK: will that prevent sql injection for title and body? 2021-04-17T17:07:33Z kagevf: yes 2021-04-17T17:07:42Z CL-ASHOK: wow - such an easy fix - thank you! 2021-04-17T17:07:42Z kagevf: that's how you parameterize a sql query 2021-04-17T17:08:34Z kagevf: anyway .... try and test it first before thanking me ... I've never used postmodern, but that's how it works with other sql libs 2021-04-17T17:10:29Z kagevf: to test it, you can try injecting commands to make sure like making body be set to "'some text'); select 'test' --" (maybe get a better example online, but that's the basic idea) 2021-04-17T17:15:07Z CL-ASHOK: Thanks 2021-04-17T17:16:05Z Inline quit (Read error: Connection reset by peer) 2021-04-17T17:18:05Z kagevf: liked your article btw, keep up the good work CL-ASHOK :) 2021-04-17T17:18:09Z slyrus joined #lisp 2021-04-17T17:20:22Z CL-ASHOK: Thanks @kagevf :) 2021-04-17T17:20:37Z Inline joined #lisp 2021-04-17T17:23:11Z cosimone quit (Remote host closed the connection) 2021-04-17T17:26:13Z daphnis joined #lisp 2021-04-17T17:27:59Z shka_: phoe: well, it's ok, i can mock 2021-04-17T17:28:04Z shka_: so that's fine 2021-04-17T17:32:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T17:35:55Z Inline quit (Ping timeout: 260 seconds) 2021-04-17T17:36:18Z Oladon quit (Quit: Leaving.) 2021-04-17T17:36:34Z CL-ASHOK: @kagevf - working now:)  Ended up with this: (postmodern:query "SELECT * from function_table where fid = $1;" fid) 2021-04-17T17:37:06Z CL-ASHOK: without parametrisation, I was able to successfully inject SQL 2021-04-17T17:37:10Z CL-ASHOK: now it throughs an error 2021-04-17T17:37:37Z CL-ASHOK: throws* 2021-04-17T17:39:19Z slyrus joined #lisp 2021-04-17T17:43:43Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T17:45:05Z Inline joined #lisp 2021-04-17T17:45:48Z slyrus joined #lisp 2021-04-17T17:46:28Z aeth quit (Ping timeout: 252 seconds) 2021-04-17T17:47:38Z aeth joined #lisp 2021-04-17T17:49:58Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T17:51:46Z mindCrime joined #lisp 2021-04-17T17:52:38Z orivej quit (Ping timeout: 240 seconds) 2021-04-17T17:57:53Z eden quit (Quit: Leaving) 2021-04-17T17:58:03Z orivej joined #lisp 2021-04-17T18:00:47Z CL-ASHOK quit (Quit: Connection closed) 2021-04-17T18:05:11Z slyrus joined #lisp 2021-04-17T18:09:28Z gumman quit (Read error: Connection reset by peer) 2021-04-17T18:09:34Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T18:09:56Z gumman joined #lisp 2021-04-17T18:10:08Z slyrus joined #lisp 2021-04-17T18:14:40Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T18:18:49Z slyrus joined #lisp 2021-04-17T18:19:58Z imode joined #lisp 2021-04-17T18:22:52Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T18:23:13Z cosimone joined #lisp 2021-04-17T18:31:39Z splittist: signals a condition 2021-04-17T18:35:58Z lotuseater: has anyone good experiences with LTK for writing a gui application? 2021-04-17T18:49:41Z Inline quit (Quit: Leaving) 2021-04-17T18:50:19Z slyrus joined #lisp 2021-04-17T18:53:12Z andrei-n quit (Quit: Leaving) 2021-04-17T18:54:38Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T18:57:38Z edgar-rft: lotuseater: depends on how complex the GUI is, for simple GUIs upto to semi-complex it's pretty easy to use 2021-04-17T19:00:46Z edgar-rft: The main performanc bottleneck is the stream between CL and Tk, if you need to transfer lots of data back and forth between CL and TK the GUI becomes rather sluggish, but I think that's the case with *all* GUIs 2021-04-17T19:05:30Z CL-ASHOK joined #lisp 2021-04-17T19:05:50Z lotuseater: edgar-rft: a friend of mine asked me to write him a simple gui with some data handling for his work that should run on windows 2021-04-17T19:06:20Z lotuseater: but I'm not much experienced with gui stuff, just McCLIM yet a bit 2021-04-17T19:07:52Z lotuseater: i tried the examples, but got a message "couldn't find wish file" 2021-04-17T19:11:45Z aartaka quit (Read error: Connection reset by peer) 2021-04-17T19:11:51Z aartaka_d joined #lisp 2021-04-17T19:11:54Z slyrus joined #lisp 2021-04-17T19:13:57Z CL-ASHOK quit (Quit: Ping timeout (120 seconds)) 2021-04-17T19:16:12Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T19:17:55Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-17T19:23:50Z Gromboli joined #lisp 2021-04-17T19:25:01Z kevingal joined #lisp 2021-04-17T19:25:28Z mathrick quit (Ping timeout: 252 seconds) 2021-04-17T19:28:59Z cage_ quit (Quit: Leaving) 2021-04-17T19:32:58Z mathrick joined #lisp 2021-04-17T19:39:39Z aartaka joined #lisp 2021-04-17T19:39:55Z cosimone quit (Remote host closed the connection) 2021-04-17T19:41:11Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-17T19:42:03Z rjcks_ joined #lisp 2021-04-17T19:42:11Z Inline joined #lisp 2021-04-17T19:45:34Z rjcks quit (Ping timeout: 265 seconds) 2021-04-17T19:45:37Z charles` quit (Ping timeout: 258 seconds) 2021-04-17T19:47:35Z slyrus joined #lisp 2021-04-17T19:52:13Z slyrus quit (Ping timeout: 260 seconds) 2021-04-17T19:55:31Z Lord_of_Life_ joined #lisp 2021-04-17T19:56:58Z Lord_of_Life quit (Ping timeout: 252 seconds) 2021-04-17T19:56:59Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-17T20:03:29Z slyrus joined #lisp 2021-04-17T20:05:37Z edgar-rft quit (Quit: Leaving) 2021-04-17T20:07:38Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T20:13:21Z sz0 joined #lisp 2021-04-17T20:15:18Z charles` joined #lisp 2021-04-17T20:30:17Z aartaka_d joined #lisp 2021-04-17T20:31:38Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-17T20:32:46Z aartaka quit (Ping timeout: 240 seconds) 2021-04-17T20:38:40Z slyrus joined #lisp 2021-04-17T20:42:13Z Noisytoot joined #lisp 2021-04-17T20:42:28Z dyelar quit (Quit: Leaving.) 2021-04-17T20:43:05Z slyrus quit (Ping timeout: 260 seconds) 2021-04-17T20:44:14Z kagevf: @CL-ASHOK - nice!! 2021-04-17T20:47:08Z slyrus joined #lisp 2021-04-17T20:48:40Z charles` quit (Quit: Leaving.) 2021-04-17T20:50:05Z gaqwas quit (Ping timeout: 260 seconds) 2021-04-17T20:51:47Z slyrus quit (Ping timeout: 265 seconds) 2021-04-17T21:00:41Z shka_ quit (Ping timeout: 240 seconds) 2021-04-17T21:01:04Z Nilby joined #lisp 2021-04-17T21:01:41Z Lycurgus joined #lisp 2021-04-17T21:18:52Z anticrisis joined #lisp 2021-04-17T21:19:05Z mindCrime joined #lisp 2021-04-17T21:21:54Z slyrus joined #lisp 2021-04-17T21:23:17Z jcowan: IMO "?" is neither necessary nor sufficient in a reasonable programming language 2021-04-17T21:24:18Z daphnis quit (Ping timeout: 240 seconds) 2021-04-17T21:26:12Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T21:26:17Z Lycurgus: is the notion of controlled natural language as a programming language also inacceptable? 2021-04-17T21:26:33Z jcowan: Functions that correctly convert a native string to a properly quoted and escaped SQL string prevent SQL injection attacks, and with (concatenate "SELECT" (column-names c1 c2 c3) "FROM" (table-names t1 t2)) you can execute a dynamic query safely. 2021-04-17T21:27:45Z jcowan: so column-names and table-names quote names correctly (double quotes), add commas between arguments, etc. 2021-04-17T21:27:54Z Lycurgus: you know in these times it's generally all dynamic queries. I doubt the random programmer even knows the distinction between static and dynamic sql 2021-04-17T21:28:24Z jcowan: By dynamic I mean you can dynamically choose the tables to query and the results to return. 2021-04-17T21:28:42Z jcowan: hyper-dynamic if you will. 2021-04-17T21:29:11Z Lycurgus: by dynamic i mean the access plan is compiled at run time 2021-04-17T21:30:58Z Lycurgus: yeah I call that a query facility or whatever, not even programming as such 2021-04-17T21:31:29Z Lycurgus: a user (possibly a technical one) interface to a relational store 2021-04-17T21:32:27Z Lycurgus: by the time a user is there, using one they are trusted 2021-04-17T21:32:54Z Lycurgus: not as much as at a general db controlling interface, but a trusted user anyway 2021-04-17T21:33:12Z Lycurgus: rather than somebody attempting sql injection over a web interfaces 2021-04-17T21:35:04Z GFP2242 joined #lisp 2021-04-17T21:39:58Z ebrasca quit (Remote host closed the connection) 2021-04-17T21:42:11Z slyrus joined #lisp 2021-04-17T21:46:49Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T21:46:51Z surabax quit (Quit: Leaving) 2021-04-17T21:49:19Z slyrus joined #lisp 2021-04-17T21:49:48Z mrspec quit (Ping timeout: 268 seconds) 2021-04-17T21:49:51Z antoszka quit (Ping timeout: 246 seconds) 2021-04-17T21:50:32Z Lycurgus quit (Quit: Exeunt) 2021-04-17T21:50:34Z mrSpec joined #lisp 2021-04-17T21:50:58Z mrSpec is now known as Guest92373 2021-04-17T21:51:31Z antoszka joined #lisp 2021-04-17T21:51:46Z aartaka_d quit (Ping timeout: 252 seconds) 2021-04-17T21:55:21Z slyrus quit (Ping timeout: 268 seconds) 2021-04-17T21:58:20Z GFP2242 quit (Quit: Leaving) 2021-04-17T21:58:53Z pve quit (Quit: leaving) 2021-04-17T22:07:49Z DHARMAKAYA joined #lisp 2021-04-17T22:10:47Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-17T22:12:55Z kevingal quit (Remote host closed the connection) 2021-04-17T22:16:19Z kevingal joined #lisp 2021-04-17T22:16:54Z slyrus joined #lisp 2021-04-17T22:17:09Z rjcks_ quit (Quit: leaving) 2021-04-17T22:21:04Z sz0 quit (Quit: Connection closed for inactivity) 2021-04-17T22:21:07Z frgo quit (Remote host closed the connection) 2021-04-17T22:21:12Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T22:21:33Z frgo joined #lisp 2021-04-17T22:24:50Z countvajhula joined #lisp 2021-04-17T22:36:13Z thinkpad quit (Ping timeout: 240 seconds) 2021-04-17T22:37:04Z thinkpad joined #lisp 2021-04-17T22:37:25Z Guest92373 quit (Ping timeout: 252 seconds) 2021-04-17T22:37:47Z mrSpec joined #lisp 2021-04-17T22:38:11Z mrSpec is now known as Guest72871 2021-04-17T22:41:30Z slyrus joined #lisp 2021-04-17T22:41:43Z akoana joined #lisp 2021-04-17T22:44:41Z Guest72871 quit (Ping timeout: 240 seconds) 2021-04-17T22:46:14Z Krystof quit (Ping timeout: 246 seconds) 2021-04-17T22:46:36Z antoszka quit (Ping timeout: 245 seconds) 2021-04-17T22:48:44Z mrSpec` joined #lisp 2021-04-17T22:48:53Z slyrus quit (Read error: Connection reset by peer) 2021-04-17T22:49:16Z slyrus joined #lisp 2021-04-17T22:49:23Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-17T22:49:38Z antoszka joined #lisp 2021-04-17T22:54:04Z slyrus quit (Ping timeout: 265 seconds) 2021-04-17T22:58:27Z antoszka quit (Ping timeout: 248 seconds) 2021-04-17T23:00:10Z X-Scale` joined #lisp 2021-04-17T23:01:12Z orivej quit (Ping timeout: 240 seconds) 2021-04-17T23:02:10Z X-Scale quit (Ping timeout: 252 seconds) 2021-04-17T23:02:11Z X-Scale` is now known as X-Scale 2021-04-17T23:02:40Z antoszka joined #lisp 2021-04-17T23:07:12Z supercoven quit (Read error: Connection reset by peer) 2021-04-17T23:07:50Z slyrus joined #lisp 2021-04-17T23:08:13Z varjag quit (Ping timeout: 252 seconds) 2021-04-17T23:08:22Z srhm quit (Ping timeout: 252 seconds) 2021-04-17T23:11:52Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T23:13:40Z slyrus joined #lisp 2021-04-17T23:14:32Z karlosz quit (Quit: karlosz) 2021-04-17T23:14:34Z srhm joined #lisp 2021-04-17T23:18:18Z srhm quit (Client Quit) 2021-04-17T23:18:36Z slyrus quit (Ping timeout: 268 seconds) 2021-04-17T23:18:55Z antoszka quit (Ping timeout: 260 seconds) 2021-04-17T23:21:41Z slyrus joined #lisp 2021-04-17T23:22:47Z antoszka joined #lisp 2021-04-17T23:23:07Z sjl quit (Quit: WeeChat 2.2-dev) 2021-04-17T23:26:16Z kevingal quit (Remote host closed the connection) 2021-04-17T23:27:54Z slyrus quit (Ping timeout: 265 seconds) 2021-04-17T23:29:55Z antoszka quit (Ping timeout: 248 seconds) 2021-04-17T23:34:07Z antoszka joined #lisp 2021-04-17T23:36:29Z slyrus joined #lisp 2021-04-17T23:36:48Z Oladon joined #lisp 2021-04-17T23:43:51Z mrSpec` quit (Ping timeout: 265 seconds) 2021-04-17T23:44:16Z mrSpec joined #lisp 2021-04-17T23:44:40Z mrSpec is now known as Guest56712 2021-04-17T23:49:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-17T23:52:41Z Guest56712 quit (Ping timeout: 240 seconds) 2021-04-17T23:53:23Z slyrus joined #lisp 2021-04-17T23:53:38Z mrSpec` joined #lisp 2021-04-17T23:57:43Z slyrus quit (Ping timeout: 252 seconds) 2021-04-17T23:58:43Z antoszka quit (Ping timeout: 248 seconds) 2021-04-17T23:59:12Z mrSpec` quit (Ping timeout: 240 seconds) 2021-04-17T23:59:34Z mrSpec` joined #lisp 2021-04-18T00:00:38Z rumbler31 joined #lisp 2021-04-18T00:01:47Z karlosz joined #lisp 2021-04-18T00:04:12Z chipolux joined #lisp 2021-04-18T00:04:24Z antoszka joined #lisp 2021-04-18T00:04:44Z indathrone joined #lisp 2021-04-18T00:04:50Z rumbler31 quit (Ping timeout: 252 seconds) 2021-04-18T00:09:21Z karlosz quit (Quit: karlosz) 2021-04-18T00:09:31Z rumbler31 joined #lisp 2021-04-18T00:19:06Z nij joined #lisp 2021-04-18T00:19:36Z nij: Hello! If I have a lisp program that's compiled in a binary, is it possible to get access to the variables defined within in a repl? 2021-04-18T00:20:12Z nij: In other words.. can I "quickload" the binary in a repl, or by means of some other equivalence? 2021-04-18T00:22:41Z raeda quit (Read error: Connection reset by peer) 2021-04-18T00:22:49Z raeda_ joined #lisp 2021-04-18T00:25:03Z mmontone quit (Ping timeout: 240 seconds) 2021-04-18T00:25:22Z DHARMAKAYA joined #lisp 2021-04-18T00:26:37Z random-nick quit (Ping timeout: 260 seconds) 2021-04-18T00:26:49Z tychoish: nij: you can start a swank server in the binary and then lime into it? 2021-04-18T00:26:52Z tychoish: slime into it 2021-04-18T00:27:52Z nij: Hm.. what if I want many binaries' functions at the same time? For example, with uncompiled lisp files I can (ql:quickload :alexandria) (ql:quickload :local-time) .... etc. 2021-04-18T00:28:09Z nij: But if I use swank, I can only get into one of them (iirc). 2021-04-18T00:28:21Z slyrus joined #lisp 2021-04-18T00:28:26Z mrSpec` quit (Ping timeout: 246 seconds) 2021-04-18T00:28:35Z antoszka quit (Ping timeout: 248 seconds) 2021-04-18T00:28:49Z mrSpec joined #lisp 2021-04-18T00:29:12Z mrSpec is now known as Guest107 2021-04-18T00:29:47Z antoszka joined #lisp 2021-04-18T00:30:58Z tychoish: perhaps I'm misunderstanding what your goal is, but I don't think that's true? once you've got a repl, it's a repl 2021-04-18T00:31:11Z tychoish: becuase the "lisp binary" is just the lisp 2021-04-18T00:33:09Z slyrus quit (Ping timeout: 265 seconds) 2021-04-18T00:33:22Z nij: tychoish: hmm.. I mean if I have pkg1 and pkg2 both in binary form. 2021-04-18T00:33:42Z nij: I can start pkg1, start a swank, and link to that swank from emacs. Now I'm in a repl that's linked to pkg1. 2021-04-18T00:33:52Z nij: How to further get reach of pkg2? 2021-04-18T00:35:37Z tychoish: compile them both into the same binary 2021-04-18T00:36:06Z tychoish: do (use-package) etc 2021-04-18T00:36:23Z nij: If that's not an option? I'm working with guix, where the cl packages are all packaged. 2021-04-18T00:36:27Z nij: (separately) 2021-04-18T00:36:33Z Oladon quit (Quit: Leaving.) 2021-04-18T00:36:40Z nij: I can of course repackage them.. but that doesn't make much more sense to me.. 2021-04-18T00:37:30Z Guest107 quit (Ping timeout: 265 seconds) 2021-04-18T00:38:43Z antoszka quit (Ping timeout: 260 seconds) 2021-04-18T00:39:47Z mrSpec` joined #lisp 2021-04-18T00:41:31Z Oladon joined #lisp 2021-04-18T00:43:07Z antoszka joined #lisp 2021-04-18T00:48:39Z antoszka quit (Quit: WeeChat 2.8) 2021-04-18T00:50:09Z mrSpec` quit (Remote host closed the connection) 2021-04-18T00:50:44Z slyrus joined #lisp 2021-04-18T00:52:10Z karlosz joined #lisp 2021-04-18T00:52:17Z slyrus quit (Read error: Connection reset by peer) 2021-04-18T00:52:49Z slyrus joined #lisp 2021-04-18T00:56:52Z slyrus quit (Ping timeout: 240 seconds) 2021-04-18T01:04:41Z casual_friday_ quit (Read error: Connection reset by peer) 2021-04-18T01:05:04Z casual_friday joined #lisp 2021-04-18T01:16:27Z contrapunctus left #lisp 2021-04-18T01:18:59Z contrapunctus joined #lisp 2021-04-18T01:20:03Z taof joined #lisp 2021-04-18T01:24:14Z taof quit (Remote host closed the connection) 2021-04-18T01:24:26Z Codaraxis joined #lisp 2021-04-18T01:27:32Z Guester8 joined #lisp 2021-04-18T01:35:59Z hypercube quit (Ping timeout: 246 seconds) 2021-04-18T01:41:20Z lotuseat` joined #lisp 2021-04-18T01:42:55Z lotuseater quit (Ping timeout: 250 seconds) 2021-04-18T01:52:07Z ramHero quit (Ping timeout: 252 seconds) 2021-04-18T01:58:02Z sz0 joined #lisp 2021-04-18T02:00:51Z tychoish: sorry, nij I was away... I dunno, I think you can either deal with guix and it's packages or have userland quicklisp packages and static binaries, but it's really hard to live in both worlds, and doesn't really get you much. I'd talk to the guix people if you're still having problems? 2021-04-18T02:04:09Z semz quit (Ping timeout: 250 seconds) 2021-04-18T02:09:10Z prxq quit (Ping timeout: 252 seconds) 2021-04-18T02:09:25Z prxq joined #lisp 2021-04-18T02:14:49Z slyrus joined #lisp 2021-04-18T02:17:40Z semz joined #lisp 2021-04-18T02:18:52Z slyrus quit (Ping timeout: 240 seconds) 2021-04-18T02:24:17Z srhm joined #lisp 2021-04-18T02:31:34Z defaultxr joined #lisp 2021-04-18T02:33:30Z sloanr quit (Remote host closed the connection) 2021-04-18T02:36:33Z karlosz quit (Ping timeout: 268 seconds) 2021-04-18T02:38:28Z slyrus joined #lisp 2021-04-18T02:40:19Z slyrus_ joined #lisp 2021-04-18T02:40:19Z slyrus quit (Read error: Connection reset by peer) 2021-04-18T02:43:59Z karlosz joined #lisp 2021-04-18T02:44:33Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-18T02:46:48Z Bike joined #lisp 2021-04-18T02:47:56Z Bike: nij: when you say a lisp "binary", what do you mean? an executable? 2021-04-18T02:48:09Z Oladon quit (Quit: Leaving.) 2021-04-18T02:52:38Z nij: Bike, yes, an executable. 2021-04-18T02:53:01Z Bike: so like, guix gives you an executable of, say, sbcl with local-time loaded into it? 2021-04-18T02:53:12Z Bike: and a different executable of sbcl with alexandria loaded into it? 2021-04-18T02:55:49Z nij: i think so 2021-04-18T02:56:30Z nij: Or more generally, I think I am more comfortable with the code in itself.. but for it to run faster, they should be compiled. And I want to be comfortable with them too. 2021-04-18T02:57:17Z akoana left #lisp 2021-04-18T02:58:51Z Bike: you could distribute FASLs, though formats are unfortunately unstable. 2021-04-18T02:59:22Z Bike: but i don't think doing separate executables would be reasonable. a lisp executable is usually a memory image dump. you can't compose them. 2021-04-18T03:02:07Z Alfr is now known as Guest48588 2021-04-18T03:02:12Z Alfr joined #lisp 2021-04-18T03:03:45Z contrapunctus left #lisp 2021-04-18T03:04:23Z Guest48588 quit (Ping timeout: 250 seconds) 2021-04-18T03:07:31Z contrapunctus joined #lisp 2021-04-18T03:09:16Z slyrus joined #lisp 2021-04-18T03:10:02Z beach: Good morning everyone! 2021-04-18T03:11:07Z nij: lemme try to really get a compiled file on guix. 2021-04-18T03:11:12Z nij: good morning! 2021-04-18T03:11:18Z Bike: fasls are compiled, to be clear 2021-04-18T03:11:45Z Bike: but as far as i remember sbcl makes no guarantees that fasls produced by even different runtimes of the same version are compatible, which isn't really amenable for packaging things up 2021-04-18T03:11:52Z nij: just not to the binary form? 2021-04-18T03:11:52Z hineios2 joined #lisp 2021-04-18T03:12:06Z Bike: fasls contain machine code 2021-04-18T03:12:11Z Bike: i mean, depending on the implementation 2021-04-18T03:12:21Z Bike: but usually. sbcl's do, ccl's do, etc 2021-04-18T03:12:25Z hineios quit (Ping timeout: 252 seconds) 2021-04-18T03:12:25Z hineios2 is now known as hineios 2021-04-18T03:12:37Z Bike: it's just not a system object file. 2021-04-18T03:14:10Z slyrus quit (Ping timeout: 268 seconds) 2021-04-18T03:16:23Z nij: Hmm.. maybe lemme ask a more practical question. 2021-04-18T03:16:52Z nij: Here's a directory tree structure that contains alexandria on guix: https://bpa.st/FZVA 2021-04-18T03:17:08Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-18T03:17:25Z nij: Suppose I have many of them (so not just alexandria, but also other lisp systems), how to I make use of them while developing? 2021-04-18T03:18:09Z Bike: (asdf:load-system :alexandria) probably 2021-04-18T03:18:19Z nij: I used to use (ql:quickload) and am happy with that. At the end of my work, I'd move xyz in (ql:quickload xyz) to asd file. 2021-04-18T03:18:56Z nij: Hmm lemme try that! 2021-04-18T03:19:11Z Bike: i mean, that's pretty much the same as quickload, or rather that's what quickload does 2021-04-18T03:19:51Z nij: Right.. but now all these directories are scattered in /gnu/store on guix systems.. 2021-04-18T03:20:58Z Bike: what? 2021-04-18T03:21:25Z Bike: it looks like it configures your asdf so it will find the systems in whatever directories 2021-04-18T03:22:19Z nij: you mean guix configures my asdf so .. ? 2021-04-18T03:24:03Z elderK quit (Quit: Connection closed for inactivity) 2021-04-18T03:26:15Z slyrus joined #lisp 2021-04-18T03:27:16Z Bike: that's what the source-registry.conf.d stuff does, i believe 2021-04-18T03:27:30Z nij: Hmm.. on my side it doesn't take care of that for me at least. 2021-04-18T03:27:35Z Bike: (gotta be honest - i do not understand that part of asdf at all) 2021-04-18T03:27:45Z Bike: (i just have a broad understanding of what it does) 2021-04-18T03:27:53Z nij: I have to push the following to asdf:*central-registry* so that alexandria loads 2021-04-18T03:27:57Z nij: #P"/gnu/store/akxk3a4bmagdvwq5mafvnf0yd6ny7apb-sbcl-alexandria-1.2/share/common-lisp/sbcl/alexandria/" 2021-04-18T03:28:19Z nij: But doing this for each system seems tedious, and i have to update the path once I upgrade it as the hash changes. 2021-04-18T03:28:23Z Bike: hm, maybe you need to force it to load the registry configuration or something? 2021-04-18T03:28:41Z nij: (That's totally fine.) 2021-04-18T03:28:43Z Bike: https://common-lisp.net/project/asdf/asdf.html#Controlling-where-ASDF-searches-for-systems here's the manual 2021-04-18T03:29:05Z Bike: unfortunately i haven't used this enough to give you specific advice 2021-04-18T03:29:25Z nij: Before I dive in the whole chapter 8, may I ask about the big picture? 2021-04-18T03:29:39Z nij: Do you mean that maybe there's a smarter way for asdf to search for packages? 2021-04-18T03:29:52Z nij: Rather than just look through the load paths and seek for asd files? 2021-04-18T03:30:18Z nij: > i haven't used this enough ==> that's fine. If the big picture is that, I can handle the details :) 2021-04-18T03:30:32Z slyrus quit (Ping timeout: 240 seconds) 2021-04-18T03:30:47Z Bike: right. if you look at "Configuration DSL" a little farther down you can see what you can specify 2021-04-18T03:31:23Z nij: Great to know! I will dive into this! Thanks so much :D 2021-04-18T03:31:37Z Bike: i believe this all is basically in place to allow you to use asdf in concert with whatever system package manager. but i honestly just let quicklisp dump everything into its own directory, sooooo 2021-04-18T03:31:42Z Bike: good luck, hope this helps 2021-04-18T03:31:54Z thmprover quit (Quit: Up, up, and away) 2021-04-18T03:32:29Z nij: :) 2021-04-18T03:32:40Z nij: btw, what's the difference between a fasl file and a system object? 2021-04-18T03:32:52Z nij: I was trying to search for it but couldn't find an explanation. 2021-04-18T03:33:28Z Bike: so when i say "system object" i mean like a .o or .so or something - on linux an ELF file 2021-04-18T03:33:37Z Bike: something you can link in C programs 2021-04-18T03:34:07Z zbigniew joined #lisp 2021-04-18T03:34:20Z Bike: object files mostly consist of a mapping from symbol names to functions (blocks of machine code) 2021-04-18T03:34:26Z nij: I'm actually more familiar with lisp than C ;).. given my shallow knowledge about lisp :P 2021-04-18T03:34:50Z nij: oh 2021-04-18T03:34:52Z Bike: lisp, however, is very side effect based, and a fasl is more of a recording of side effects - so that loading a fasl is equivalent to loading the file which is equivalent to evaluating all the expressions in order 2021-04-18T03:35:09Z semz quit (Ping timeout: 250 seconds) 2021-04-18T03:35:32Z Bike: so for example if you have (defun foo ...) the side effect is to add a function binding for the FOO symbol to whatever function 2021-04-18T03:35:38Z nij: Can I make a fasl file an .o/.so easily? and vice versa? 2021-04-18T03:35:58Z nij: (Theoretically, of course, any thing is possible.) 2021-04-18T03:36:00Z Bike: No, because they are different things. an object is a mapping, a fasl is a sequence of effects. 2021-04-18T03:36:10Z nij: Yeah that's what I guess. I see. 2021-04-18T03:36:26Z Bike: (also because object code will probably use a C ABI and lisp code will probably not) 2021-04-18T03:36:26Z nij: You say an object is a mapping, which maps a name to a C function, for example. 2021-04-18T03:36:34Z nij: What is that C function? an fasl file? 2021-04-18T03:37:11Z Bike: well what an object is is a mapping from symbols to addresses, and some of those addresses are to the beginning of a block of machine code 2021-04-18T03:37:28Z Bike: fasl is a lisp-specific concept 2021-04-18T03:37:33Z nij: OH I see. 2021-04-18T03:37:56Z nij: And fasl file is different from an executable? 2021-04-18T03:39:05Z beach: Yes. 2021-04-18T03:39:06Z Bike: yes. usually a lisp executable is a smallish runtime concatenated onto a memory image. when you start the executable, it loads the entire image into memory 2021-04-18T03:39:23Z Bike: it's more like a save/load function 2021-04-18T03:39:37Z slyrus joined #lisp 2021-04-18T03:39:51Z Bike: whereas a fasl is an encoding of a sequence of side effects to do. 2021-04-18T03:39:54Z nij: I see.. 2021-04-18T03:40:12Z nij: With asdf:load-system, it can load fasl files, but not executables.. is that correct? 2021-04-18T03:40:12Z asarch joined #lisp 2021-04-18T03:40:18Z nij: (Back to asdf.. finally :D) 2021-04-18T03:40:36Z asarch: One very stupid question: Is it valid to do? (format t "This 2021-04-18T03:40:38Z asarch: is 2021-04-18T03:40:50Z Bike: yes, asdf can't load an executable into a running lisp image. 2021-04-18T03:40:57Z asarch: … 2021-04-18T03:41:02Z nij: asarch: no.. parenthesis unbalance. 2021-04-18T03:41:04Z asarch: long 2021-04-18T03:41:07Z asarch: line") 2021-04-18T03:41:35Z asarch: Or should I use here documents? 2021-04-18T03:41:41Z nij: asarch: you mean with many newlines in between? yes it works for me 2021-04-18T03:42:03Z nij: Bike: that's clear. Basically I should stay away from executables.. 2021-04-18T03:42:19Z nij: unless i need to ship something out to the *world*. 2021-04-18T03:42:22Z copec: I think I’m going to get a custom license plate: X3J13 2021-04-18T03:42:22Z Bike: asarch: you can put newlines into a string literal, yes. 2021-04-18T03:42:27Z nij: reality:*world* 2021-04-18T03:42:50Z imode quit (Quit: WeeChat 3.1) 2021-04-18T03:42:50Z beach: nij: An executable is an OS concept. Only the OS knows how to start such a thing. 2021-04-18T03:43:26Z nij: I see. That matches my impression. Thanks beach :) 2021-04-18T03:43:30Z Bike quit (Quit: Connection closed) 2021-04-18T03:43:38Z slyrus quit (Ping timeout: 240 seconds) 2021-04-18T03:44:40Z nij: HMMM Then I'm a bit confused! Looking at the tree structure of the directory - https://bpa.st/FZVA 2021-04-18T03:45:00Z nij: Why do they (the guix folks) put .asd with .lisp files, but not with .fasl files?! 2021-04-18T03:45:32Z nij: They should put .asd with the .fasl files, no? So that when it's loaded, the faster versions (fasl) are loaded, rather than the lisp files? 2021-04-18T03:46:37Z beach: nij: On my machine, fasl files are kept separately in .cache and ASDF is configured to know that place. 2021-04-18T03:47:07Z beach: nij: They are stored in versions that depend on the Common Lisp implementation and the version of that implementation. 2021-04-18T03:47:14Z nij: Did you configured asdf to know that place by yourself? Or it's by default? 2021-04-18T03:47:27Z beach: I did no configuration. 2021-04-18T03:47:42Z nij: Hmm. 2021-04-18T03:48:15Z slyrus joined #lisp 2021-04-18T03:48:36Z semz joined #lisp 2021-04-18T03:48:36Z semz quit (Changing host) 2021-04-18T03:48:36Z semz joined #lisp 2021-04-18T03:48:57Z asarch_ joined #lisp 2021-04-18T03:51:19Z asarch_ quit (Client Quit) 2021-04-18T03:51:27Z asarch quit (Ping timeout: 260 seconds) 2021-04-18T03:51:48Z lotuseat` quit (Remote host closed the connection) 2021-04-18T03:51:57Z lotuseat` joined #lisp 2021-04-18T03:55:11Z slyrus quit (Ping timeout: 265 seconds) 2021-04-18T03:56:54Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-18T04:05:02Z slyrus joined #lisp 2021-04-18T04:05:35Z CrashTestDummy3 joined #lisp 2021-04-18T04:08:15Z CrashTestDummy joined #lisp 2021-04-18T04:09:03Z CrashTestDummy2 quit (Ping timeout: 268 seconds) 2021-04-18T04:09:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-18T04:10:54Z CrashTestDummy3 quit (Ping timeout: 268 seconds) 2021-04-18T04:39:38Z zaquest quit (Read error: Connection reset by peer) 2021-04-18T04:39:47Z slyrus joined #lisp 2021-04-18T04:40:03Z zaquest joined #lisp 2021-04-18T04:44:14Z slyrus quit (Ping timeout: 252 seconds) 2021-04-18T04:58:49Z slyrus joined #lisp 2021-04-18T05:03:19Z slyrus quit (Ping timeout: 268 seconds) 2021-04-18T05:04:46Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-18T05:06:37Z andrei-n joined #lisp 2021-04-18T05:12:05Z vaporatorius__ joined #lisp 2021-04-18T05:15:02Z vaporatorius quit (Ping timeout: 252 seconds) 2021-04-18T05:22:14Z srhm quit (Quit: Konversation terminated!) 2021-04-18T05:22:38Z slyrus joined #lisp 2021-04-18T05:24:50Z countvajhula quit (Ping timeout: 258 seconds) 2021-04-18T05:27:10Z slyrus quit (Ping timeout: 252 seconds) 2021-04-18T05:34:48Z skapata quit (Remote host closed the connection) 2021-04-18T05:37:08Z lawt quit (Read error: Connection reset by peer) 2021-04-18T05:41:18Z slyrus joined #lisp 2021-04-18T05:45:52Z slyrus quit (Ping timeout: 252 seconds) 2021-04-18T05:50:58Z Guester8 quit (Ping timeout: 252 seconds) 2021-04-18T05:52:50Z lawt joined #lisp 2021-04-18T06:10:23Z slyrus joined #lisp 2021-04-18T06:14:35Z slyrus quit (Ping timeout: 246 seconds) 2021-04-18T06:15:54Z yonkunas quit (Quit: Connection closed for inactivity) 2021-04-18T06:23:41Z imode joined #lisp 2021-04-18T06:27:21Z wildlander joined #lisp 2021-04-18T06:30:52Z surabax joined #lisp 2021-04-18T06:34:07Z zxcvz joined #lisp 2021-04-18T06:39:44Z slyrus joined #lisp 2021-04-18T06:40:41Z orivej joined #lisp 2021-04-18T06:42:35Z daphnis joined #lisp 2021-04-18T06:45:32Z slyrus quit (Ping timeout: 240 seconds) 2021-04-18T06:46:53Z yacatuco joined #lisp 2021-04-18T06:54:57Z Kundry_Wag joined #lisp 2021-04-18T06:55:17Z gaqwas joined #lisp 2021-04-18T06:55:17Z gaqwas quit (Changing host) 2021-04-18T06:55:17Z gaqwas joined #lisp 2021-04-18T06:56:21Z slyrus joined #lisp 2021-04-18T06:59:49Z Kundry_Wag quit (Ping timeout: 265 seconds) 2021-04-18T07:03:12Z stux|RC-only quit (Ping timeout: 265 seconds) 2021-04-18T07:04:58Z stux|RC quit (Ping timeout: 240 seconds) 2021-04-18T07:07:06Z slyrus quit (Ping timeout: 240 seconds) 2021-04-18T07:09:16Z chipolux quit (Quit: chipolux) 2021-04-18T07:15:19Z stux|RC-only joined #lisp 2021-04-18T07:20:05Z stux|RC joined #lisp 2021-04-18T07:23:53Z stux|RC-only quit (Ping timeout: 246 seconds) 2021-04-18T07:26:33Z stux|RC quit (Ping timeout: 240 seconds) 2021-04-18T07:28:21Z stux|RC-only joined #lisp 2021-04-18T07:36:48Z slyrus joined #lisp 2021-04-18T07:37:42Z wildlander quit (Quit: Konversation terminated!) 2021-04-18T07:47:07Z stux|RC joined #lisp 2021-04-18T07:49:15Z surabax quit (Quit: Leaving) 2021-04-18T07:52:14Z Posterdati quit (Remote host closed the connection) 2021-04-18T07:52:42Z shka_ joined #lisp 2021-04-18T07:52:56Z imode quit (Ping timeout: 260 seconds) 2021-04-18T07:55:07Z slyrus quit (Ping timeout: 252 seconds) 2021-04-18T07:57:39Z slyrus joined #lisp 2021-04-18T08:02:14Z slyrus quit (Ping timeout: 252 seconds) 2021-04-18T08:04:25Z Posterdati joined #lisp 2021-04-18T08:06:57Z hendursa1 joined #lisp 2021-04-18T08:09:57Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-18T08:15:12Z varjag joined #lisp 2021-04-18T08:17:14Z madrik joined #lisp 2021-04-18T08:18:52Z pve joined #lisp 2021-04-18T08:23:44Z indathrone quit (Quit: Leaving) 2021-04-18T08:30:10Z slyrus joined #lisp 2021-04-18T08:34:50Z slyrus quit (Ping timeout: 268 seconds) 2021-04-18T08:37:20Z anticrisis quit (Read error: Connection reset by peer) 2021-04-18T08:42:53Z slyrus joined #lisp 2021-04-18T08:43:01Z edgar-rft joined #lisp 2021-04-18T08:47:22Z slyrus quit (Ping timeout: 252 seconds) 2021-04-18T08:55:40Z Kundry_Wag joined #lisp 2021-04-18T08:59:53Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-18T09:01:30Z hypercube joined #lisp 2021-04-18T09:05:41Z rjcks joined #lisp 2021-04-18T09:06:27Z rjcks quit (Client Quit) 2021-04-18T09:06:49Z alanz: nij, re the guix discussion earlier. It would make sense for a guix package to provide fasl files. It completely specifies the context they are used in terms of machine, compiler, other system deps, so they should be reproducable, relevant to your system 2021-04-18T09:16:45Z rjcks joined #lisp 2021-04-18T09:17:02Z phoe: as long as they are fully reproducible, sure, why not 2021-04-18T09:17:16Z phoe: and I don't know if FASLs are 100% reproducible 2021-04-18T09:21:42Z beach: What does it mean for a FASL to be "reproducible"? 2021-04-18T09:22:07Z phoe: different compilations produce byte-for-byte identical results 2021-04-18T09:22:36Z phoe: there's a general term, "reproducible builds", that aims for compiled artifacts to be identical for the purpose of assuring that they have not been tampered with in any way 2021-04-18T09:22:50Z phoe: and I assume that the same would apply to FASLs 2021-04-18T09:23:11Z beach: The difference between a compiler for Common Lisp and a compiler for a traditional batch language is that the Common Lisp compiler does not start with an empty compilation environment, so one must somehow specify the exact contents of the startup environment then. 2021-04-18T09:23:38Z phoe: yes, that would be necessary 2021-04-18T09:23:58Z phoe: but I'll leave figuring that out to the guix people 2021-04-18T09:24:11Z beach: Yeah, me too. 2021-04-18T09:25:41Z mindCrime quit (Ping timeout: 246 seconds) 2021-04-18T09:28:27Z MichaelRaskin: beach: picking the very specific build of the Common Lisp implementation, and the precise list of other code loaded before compiling the file in question is assumed in the discussion of reproducibility 2021-04-18T09:29:37Z MichaelRaskin: (and it's not like these questions don't have close analogues even when compiling C, it's just that the C analogues of these questions are less useful from the point of view of expressiveness) 2021-04-18T09:32:48Z cyraxjoe quit (Ping timeout: 268 seconds) 2021-04-18T09:33:49Z _jrjsmrtn joined #lisp 2021-04-18T09:34:16Z slyrus joined #lisp 2021-04-18T09:34:26Z __jrjsmrtn__ quit (Ping timeout: 260 seconds) 2021-04-18T09:34:58Z beach: MichaelRaskin: Makes sense. 2021-04-18T09:38:58Z slyrus quit (Ping timeout: 268 seconds) 2021-04-18T09:41:57Z contrapunctus left #lisp 2021-04-18T09:42:52Z contrapunctus joined #lisp 2021-04-18T09:43:26Z slyrus joined #lisp 2021-04-18T09:46:14Z ebrasca joined #lisp 2021-04-18T09:46:17Z ebrasca quit (Remote host closed the connection) 2021-04-18T09:47:51Z slyrus quit (Ping timeout: 260 seconds) 2021-04-18T09:52:35Z skapata joined #lisp 2021-04-18T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-18T10:06:48Z ramHero joined #lisp 2021-04-18T10:10:12Z ldb joined #lisp 2021-04-18T10:11:39Z ldb: good evening 2021-04-18T10:15:49Z beach: Hello ldb. 2021-04-18T10:17:20Z slyrus joined #lisp 2021-04-18T10:18:56Z Codaraxis_ joined #lisp 2021-04-18T10:20:02Z frgo quit (Remote host closed the connection) 2021-04-18T10:20:28Z frgo joined #lisp 2021-04-18T10:21:13Z Codaraxis quit (Ping timeout: 240 seconds) 2021-04-18T10:21:41Z slyrus quit (Ping timeout: 246 seconds) 2021-04-18T10:28:02Z ramHero quit (Remote host closed the connection) 2021-04-18T10:31:06Z ldb quit (Ping timeout: 252 seconds) 2021-04-18T10:34:37Z l1x quit (Quit: Connection closed for inactivity) 2021-04-18T10:36:12Z madrik quit (Ping timeout: 240 seconds) 2021-04-18T10:39:38Z aartaka joined #lisp 2021-04-18T10:41:38Z slyrus joined #lisp 2021-04-18T10:42:15Z aartaka_d joined #lisp 2021-04-18T10:44:26Z aartaka quit (Ping timeout: 260 seconds) 2021-04-18T10:46:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T10:47:22Z zbigniew quit (Remote host closed the connection) 2021-04-18T10:47:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-18T10:47:53Z amb007 joined #lisp 2021-04-18T10:49:45Z attila_lendvai joined #lisp 2021-04-18T10:49:45Z attila_lendvai quit (Changing host) 2021-04-18T10:49:45Z attila_lendvai joined #lisp 2021-04-18T10:54:20Z random-nick joined #lisp 2021-04-18T10:54:40Z curtosis joined #lisp 2021-04-18T10:56:51Z Kundry_Wag joined #lisp 2021-04-18T10:57:18Z vegansbane6963 joined #lisp 2021-04-18T10:59:36Z mindCrime joined #lisp 2021-04-18T11:02:17Z Kundry_Wag quit (Ping timeout: 246 seconds) 2021-04-18T11:02:35Z ldb joined #lisp 2021-04-18T11:07:16Z slyrus joined #lisp 2021-04-18T11:10:12Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T11:10:55Z mindCrime quit (Ping timeout: 252 seconds) 2021-04-18T11:12:05Z slyrus quit (Ping timeout: 268 seconds) 2021-04-18T11:13:14Z amb007 joined #lisp 2021-04-18T11:15:19Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T11:15:55Z amb007 joined #lisp 2021-04-18T11:16:56Z lotuseat` is now known as lotuseater 2021-04-18T11:18:57Z karlosz quit (Quit: karlosz) 2021-04-18T11:20:42Z cosimone joined #lisp 2021-04-18T11:23:27Z nij: good morning 2021-04-18T11:24:01Z contrapunctus left #lisp 2021-04-18T11:26:27Z contrapunctus joined #lisp 2021-04-18T11:29:04Z nij: alanz: Yes, I think it makes sense for guix to provide fasl files. In fact, I think that should be where the asd files point to, right? Because they run faster.. 2021-04-18T11:29:45Z nij: But the asd file currently stays with the .lisp files, instead of the .fasl files, as indicated in the tree structure of a directory - https://bpa.st/FZVA 2021-04-18T11:30:37Z ldb: given that the cost of compiling CL projects is a lot cheaper than C++ or Rust, it is still good to do source distribution 2021-04-18T11:31:02Z splittist: nij: the real file is the lisp file; the fasl file is a FASt Loading version of that file. If the lisp file is newer, it should be loaded, no? 2021-04-18T11:32:23Z nij: If the lisp file is newer, it should be first turned into a newer fasl file, which should be pointed to by the asd file.. this is what I think that makes more sense.. 2021-04-18T11:32:43Z slyrus joined #lisp 2021-04-18T11:33:36Z Alfr: No it doesn't, considering that asdf mostly is your build system. 2021-04-18T11:33:46Z cosimone quit (Remote host closed the connection) 2021-04-18T11:34:04Z nij: Which part is wrong? 2021-04-18T11:34:15Z Alfr: And loading a systems usually uses the cached fals if the source files aren't newer. 2021-04-18T11:34:23Z cosimone joined #lisp 2021-04-18T11:35:04Z cosimone quit (Remote host closed the connection) 2021-04-18T11:35:11Z Alfr: Telling asdf about the fasls and not the source files, is wrong in my opinion. 2021-04-18T11:35:26Z cosimone joined #lisp 2021-04-18T11:35:29Z Alfr: s/fals/fasls/ 2021-04-18T11:35:35Z nij: Oh wait! I might be confused. Lemme try something and get back to this quickly. 2021-04-18T11:37:27Z nij: Ok.. I'm pretty confused - given this tree structure, what should I tell asdf in order to load th fasl files? - https://bpa.st/FZVA 2021-04-18T11:38:12Z slyrus quit (Ping timeout: 252 seconds) 2021-04-18T11:38:13Z nij: (push "/gnu/store/akxk3a4bmagdvwq5mafvnf0yd6ny7apb-sbcl-alexandria-1.2/share/common-lisp/sbcl/alexandria" asdf:*central-registry*) ? 2021-04-18T11:38:33Z nij: And (asdf:load-system :alexandria)? 2021-04-18T11:40:23Z amk quit (Remote host closed the connection) 2021-04-18T11:41:25Z Alfr: nij, not sure how to configure it, as it as the defaults work for me. I think it's described here: https://common-lisp.net/project/asdf/asdf.html#Controlling-where-ASDF-saves-compiled-files 2021-04-18T11:41:25Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T11:41:36Z amb007 joined #lisp 2021-04-18T11:41:37Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T11:41:51Z amb007 joined #lisp 2021-04-18T11:42:26Z nij: Alfr: may I ask in which way it works for you? 2021-04-18T11:42:40Z nij: Does it store the fasls in the same directory with your lisps? 2021-04-18T11:43:08Z nij: Or it loads the fasls automatically even when they are not in the same directory as your asd file is? 2021-04-18T11:43:42Z Alfr: nij, as a regular user, loading a system creates fasls somewhere in ~/.cache/common-lisp/implementation/... 2021-04-18T11:44:56Z nij: I see. So you mean asdf knows that it should look at ~/.cache/common-lisp/implementation/... for the fasl files, provided that the lisp files are not renewed? 2021-04-18T11:47:42Z Alfr: That's the default behaviour, it's described at the end of section 9.3. 2021-04-18T11:48:36Z nij: Thanks so much! I'd have to see how guix configure that part. :D 2021-04-18T11:51:11Z Codaraxis_ quit (Remote host closed the connection) 2021-04-18T11:51:35Z Codaraxis_ joined #lisp 2021-04-18T12:01:42Z Inline quit (Read error: Connection reset by peer) 2021-04-18T12:02:13Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-18T12:03:33Z Codaraxis_ quit (Remote host closed the connection) 2021-04-18T12:03:54Z Codaraxis_ joined #lisp 2021-04-18T12:05:12Z slyrus joined #lisp 2021-04-18T12:05:42Z Codaraxis_ quit (Remote host closed the connection) 2021-04-18T12:06:03Z Codaraxis_ joined #lisp 2021-04-18T12:06:21Z kevingal joined #lisp 2021-04-18T12:07:52Z zaquest quit (Ping timeout: 240 seconds) 2021-04-18T12:10:58Z slyrus quit (Ping timeout: 240 seconds) 2021-04-18T12:11:33Z Nilby quit (Ping timeout: 258 seconds) 2021-04-18T12:13:04Z zaquest joined #lisp 2021-04-18T12:13:51Z andrei-n quit (Quit: Leaving) 2021-04-18T12:19:55Z cosimone quit (Ping timeout: 250 seconds) 2021-04-18T12:21:46Z attila_lendvai: nij, ASDF has two concepts here: a registry of paths for source files, and something called output-translations that can be used to configure where the fasl files (any output files) are to be found 2021-04-18T12:31:19Z frodef quit (Ping timeout: 260 seconds) 2021-04-18T12:31:27Z hendursa1 quit (Quit: hendursa1) 2021-04-18T12:31:43Z hendursaga joined #lisp 2021-04-18T12:39:51Z slyrus joined #lisp 2021-04-18T12:44:26Z slyrus quit (Ping timeout: 265 seconds) 2021-04-18T12:44:41Z ldb quit (Ping timeout: 240 seconds) 2021-04-18T12:51:02Z ramHero joined #lisp 2021-04-18T13:05:40Z frost-lab joined #lisp 2021-04-18T13:06:11Z daphnis quit (Ping timeout: 240 seconds) 2021-04-18T13:10:34Z theBlackDragon quit (Quit: Boom.) 2021-04-18T13:15:12Z Inline joined #lisp 2021-04-18T13:22:22Z Krystof joined #lisp 2021-04-18T13:34:20Z gzj joined #lisp 2021-04-18T13:43:11Z nij: attila_lendvai: I figure. I think I should dig into guix's source code to see what it actually does.. 2021-04-18T13:47:08Z gzj quit (Remote host closed the connection) 2021-04-18T13:47:19Z contrapunctus left #lisp 2021-04-18T13:47:27Z gzj joined #lisp 2021-04-18T13:49:06Z contrapunctus joined #lisp 2021-04-18T13:49:59Z contrapunctus left #lisp 2021-04-18T13:59:44Z attila_lendvai quit (Quit: Leaving) 2021-04-18T14:02:12Z orivej quit (Ping timeout: 240 seconds) 2021-04-18T14:02:39Z ech joined #lisp 2021-04-18T14:02:50Z orivej joined #lisp 2021-04-18T14:02:59Z ech quit (Client Quit) 2021-04-18T14:03:47Z contrapunctus joined #lisp 2021-04-18T14:04:10Z slyrus joined #lisp 2021-04-18T14:04:40Z theBlackDragon joined #lisp 2021-04-18T14:08:26Z slyrus quit (Ping timeout: 240 seconds) 2021-04-18T14:21:36Z gzj quit (Remote host closed the connection) 2021-04-18T14:21:42Z Bike joined #lisp 2021-04-18T14:24:36Z slyrus joined #lisp 2021-04-18T14:28:48Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T14:28:55Z slyrus quit (Ping timeout: 252 seconds) 2021-04-18T14:29:18Z amb007 joined #lisp 2021-04-18T14:31:11Z mmontone joined #lisp 2021-04-18T14:31:39Z lukego: nij: maybe also relevant is how nixpkgs does it https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/lisp-modules/clwrapper/cl-wrapper.sh#L76-L124 2021-04-18T14:33:09Z Kundry_Wag joined #lisp 2021-04-18T14:33:09Z lukego: on nixos I do: NIX_LISP_ASDF_PATHS=/home/luke/git/myproj common-lisp.sh ... 2021-04-18T14:33:45Z ebrasca joined #lisp 2021-04-18T14:35:23Z arpunk joined #lisp 2021-04-18T14:35:23Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T14:35:42Z mmontone quit (Ping timeout: 240 seconds) 2021-04-18T14:35:58Z amb007 joined #lisp 2021-04-18T14:40:50Z frost-lab quit (Quit: Connection closed) 2021-04-18T14:41:28Z pagnol joined #lisp 2021-04-18T14:41:30Z pagnol left #lisp 2021-04-18T14:44:23Z xkapastel joined #lisp 2021-04-18T14:44:23Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T14:44:50Z amb007 joined #lisp 2021-04-18T14:46:53Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T14:47:12Z amb007 joined #lisp 2021-04-18T14:51:46Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T14:51:48Z nij: lukego - do you get cl packages/systems from nix channel? How do you #'asdf:load-system from your personal nix profile? 2021-04-18T14:51:53Z contrapunctus left #lisp 2021-04-18T14:52:07Z contrapunctus joined #lisp 2021-04-18T14:52:34Z amb007 joined #lisp 2021-04-18T14:52:44Z contrapunctus left #lisp 2021-04-18T14:53:19Z contrapunctus joined #lisp 2021-04-18T14:54:43Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T14:56:04Z amb007 joined #lisp 2021-04-18T14:58:46Z daphnis joined #lisp 2021-04-18T15:00:53Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T15:01:01Z amb007 joined #lisp 2021-04-18T15:01:01Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T15:01:20Z amb007 joined #lisp 2021-04-18T15:03:00Z slyrus joined #lisp 2021-04-18T15:04:15Z slyrus_ joined #lisp 2021-04-18T15:04:19Z slyrus quit (Read error: Connection reset by peer) 2021-04-18T15:08:37Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-18T15:14:34Z wooden quit (Ping timeout: 252 seconds) 2021-04-18T15:19:06Z Josh_2 joined #lisp 2021-04-18T15:19:59Z wooden joined #lisp 2021-04-18T15:19:59Z wooden quit (Changing host) 2021-04-18T15:19:59Z wooden joined #lisp 2021-04-18T15:21:49Z slyrus joined #lisp 2021-04-18T15:23:15Z attila_lendvai joined #lisp 2021-04-18T15:23:16Z attila_lendvai quit (Changing host) 2021-04-18T15:23:16Z attila_lendvai joined #lisp 2021-04-18T15:24:49Z thmprover joined #lisp 2021-04-18T15:25:32Z remby joined #lisp 2021-04-18T15:25:47Z aartaka joined #lisp 2021-04-18T15:26:01Z remby: has anyone done make in common lisp? I suppose they have but those terms are hard to google 2021-04-18T15:26:11Z slyrus quit (Ping timeout: 246 seconds) 2021-04-18T15:26:16Z lukego: I'm using a package called ql2nix. This snapshots quicklisp and (via that same script) puts that into the load path. then I add my own code separately via the NIX_LISP_ASDF_PATHS var 2021-04-18T15:26:59Z lukego: nij: So I'm not using Lisp packages from upstream nixpkgs mostly because I don't think that is terribly complete. it would actually suit me fine to do that - I'm only pulling the default version of everything from the latest quicklisp anyway. 2021-04-18T15:27:32Z lukego: I haven't integrated build of my own code into nix yet actually... I'm still doing that manually from slime... 2021-04-18T15:28:41Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-18T15:29:31Z aartaka_d joined #lisp 2021-04-18T15:32:10Z aartaka quit (Ping timeout: 252 seconds) 2021-04-18T15:32:33Z Sheilong joined #lisp 2021-04-18T15:32:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T15:33:38Z amb007 joined #lisp 2021-04-18T15:33:38Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T15:33:46Z Kundry_Wag quit (Ping timeout: 260 seconds) 2021-04-18T15:33:53Z amb007 joined #lisp 2021-04-18T15:33:53Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T15:34:11Z amb007 joined #lisp 2021-04-18T15:34:31Z beach: remby: Do you mean just a Common Lisp version of the Unix utility? 2021-04-18T15:34:38Z Josh_2: Hi 2021-04-18T15:34:46Z beach: Hello Josh_2. 2021-04-18T15:35:14Z Josh_2: Does anyone have any suggested reading for handling financial transactions? The transaction will be in JS but my backend is all CL 2021-04-18T15:35:31Z remby: beach: yeah 2021-04-18T15:35:59Z remby: seems like the type of thing someone would have made with CL's macro abilities et al. 2021-04-18T15:35:59Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T15:36:16Z amb007 joined #lisp 2021-04-18T15:36:16Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T15:36:18Z beach: remby: Oh, so use Common Lisp syntax for the Makefile? 2021-04-18T15:36:41Z remby: yeah 2021-04-18T15:37:07Z remby: basically, you get to use CL functions in the Makefile too 2021-04-18T15:37:14Z beach: I see. 2021-04-18T15:37:30Z beach: Josh_2: What kind of "financial transactions"? Buying and selling shares, bonds, etc? 2021-04-18T15:37:38Z remby: and like the dependencies would be specified with macros I guess 2021-04-18T15:38:15Z beach: remby: I doubt it exists, but it sounds like a nice little project. 2021-04-18T15:38:31Z remby: hmm, well ok then :D 2021-04-18T15:39:21Z amb007 joined #lisp 2021-04-18T15:39:24Z remby: makefiles are not bad, but after reading one where the author tried to be ambitious I realize something like this would be a lot better 2021-04-18T15:39:51Z beach: The syntax is downright bizarre. 2021-04-18T15:40:33Z remby: I've always thought so too, but I wasn't sure if new syntax would make it easier to use 2021-04-18T15:41:39Z remby: what would be truly cool is if I could somehow translate from a makefile to this new CL makefile, but one thing at a time 2021-04-18T15:41:39Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T15:42:05Z Josh_2: beach: nope, just selling access to software basically 2021-04-18T15:42:09Z amb007 joined #lisp 2021-04-18T15:42:09Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T15:42:14Z Josh_2: well access to a feature 2021-04-18T15:42:26Z amb007 joined #lisp 2021-04-18T15:44:37Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T15:45:32Z contrapunctus left #lisp 2021-04-18T15:46:01Z amb007 joined #lisp 2021-04-18T15:49:11Z Josh_2: it something I've never done before so I don't want to screw it up 2021-04-18T15:49:51Z slyrus joined #lisp 2021-04-18T15:50:53Z contrapunctus joined #lisp 2021-04-18T15:52:38Z imode joined #lisp 2021-04-18T15:54:31Z slyrus quit (Ping timeout: 268 seconds) 2021-04-18T16:04:03Z slyrus joined #lisp 2021-04-18T16:05:48Z krjli joined #lisp 2021-04-18T16:08:49Z slyrus quit (Ping timeout: 260 seconds) 2021-04-18T16:10:51Z jcowan: beach, remby: "Make is a beautiful little Prolog for the file system." --foof (aka Alex Shinn) 2021-04-18T16:11:37Z remby: nice, didn't even think of that 2021-04-18T16:12:02Z srhm joined #lisp 2021-04-18T16:18:52Z mindCrime joined #lisp 2021-04-18T16:20:45Z slyrus joined #lisp 2021-04-18T16:27:10Z slyrus quit (Ping timeout: 252 seconds) 2021-04-18T16:27:12Z mindCrime quit (Ping timeout: 268 seconds) 2021-04-18T16:27:58Z Bike quit (Quit: Connection closed) 2021-04-18T16:28:14Z zbigniew joined #lisp 2021-04-18T16:30:47Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-18T16:30:53Z aartaka joined #lisp 2021-04-18T16:32:55Z slyrus joined #lisp 2021-04-18T16:33:29Z surabax joined #lisp 2021-04-18T16:38:35Z aartaka_d joined #lisp 2021-04-18T16:40:16Z MichaelRaskin: remby: isn't it more or less ASDF? It seems to have some support for non-Lisp-compilation actions 2021-04-18T16:41:48Z aartaka quit (Ping timeout: 252 seconds) 2021-04-18T16:48:28Z rogersm joined #lisp 2021-04-18T16:51:02Z saganman joined #lisp 2021-04-18T16:53:50Z srhm quit (Ping timeout: 265 seconds) 2021-04-18T16:55:05Z toorevitimirp joined #lisp 2021-04-18T16:56:10Z toorevitimirp quit (Remote host closed the connection) 2021-04-18T16:58:20Z nij: lukego: oh yes, that's similar to my situation in guix 2021-04-18T16:58:27Z nij: i still have to rely on quicklisp.. 2021-04-18T16:58:48Z nij: but i do hope to manage my cl systems with guix (or nix or other similar pm) 2021-04-18T17:00:21Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-18T17:01:09Z hendursaga joined #lisp 2021-04-18T17:02:05Z remby: MichaelRaskin: I have not looked at asdf 2021-04-18T17:07:13Z slyrus_ joined #lisp 2021-04-18T17:08:59Z adlai joined #lisp 2021-04-18T17:10:34Z adlai: how much root-th of worse-is-betterness is it to supply, as the generalized boolean to the :type argument, a chosen subtype out of the hierarchy, more specific than the class name, structure name, etc? 2021-04-18T17:10:38Z adlai: clhs print-unreadable-object 2021-04-18T17:10:38Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_pr_unr.htm 2021-04-18T17:10:44Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T17:10:51Z amb007 joined #lisp 2021-04-18T17:10:52Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T17:11:19Z adlai: clhs subtypep 2021-04-18T17:11:19Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_subtpp.htm 2021-04-18T17:11:20Z amb007 joined #lisp 2021-04-18T17:11:43Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-18T17:12:12Z adlai: "chosen subtype" is not precise; however, there are often plausible other types that may make much more # readability 2021-04-18T17:13:20Z adlai: obviously, implementations could do undefined gymnastics if the object isn't TYPEP the requested type, without actually verifying. 2021-04-18T17:13:40Z nij quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-18T17:14:02Z adlai: the purpose of this would be to print a type name that is more specific than a CLOS class name, where the type itself is possibly even as badly specified as a SATISFIES 2021-04-18T17:14:18Z adlai: clhs satisfies 2021-04-18T17:14:18Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/t_satisf.htm 2021-04-18T17:14:21Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T17:14:34Z amb007 joined #lisp 2021-04-18T17:14:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T17:14:51Z amb007 joined #lisp 2021-04-18T17:16:54Z adlai: my preemptive justification for printing something other than the builtin type immediately following '#<' is that implementations obviously have tag-sized error margins with what closes the unreadable object form. 2021-04-18T17:17:40Z adlai must admit actually using print-unreadable-object on readable objects quite often, for several purposes outside the scope of this digression 2021-04-18T17:19:16Z gzj joined #lisp 2021-04-18T17:22:05Z remby quit (Quit: remby) 2021-04-18T17:24:25Z gzj quit (Ping timeout: 260 seconds) 2021-04-18T17:25:22Z IIsi50MHz joined #lisp 2021-04-18T17:25:22Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T17:25:36Z amb007 joined #lisp 2021-04-18T17:26:18Z slyrus_ joined #lisp 2021-04-18T17:26:19Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T17:26:31Z theothornhill joined #lisp 2021-04-18T17:26:54Z attila_lendvai_ joined #lisp 2021-04-18T17:27:28Z amb007 joined #lisp 2021-04-18T17:30:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T17:30:06Z attila_lendvai quit (Ping timeout: 268 seconds) 2021-04-18T17:30:21Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-18T17:30:54Z amb007 joined #lisp 2021-04-18T17:31:01Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-18T17:33:01Z hendursaga joined #lisp 2021-04-18T17:33:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T17:33:15Z amb007 joined #lisp 2021-04-18T17:34:54Z remby joined #lisp 2021-04-18T17:34:54Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T17:35:10Z amb007 joined #lisp 2021-04-18T17:39:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T17:40:16Z amb007 joined #lisp 2021-04-18T17:42:20Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T17:42:27Z amb007 joined #lisp 2021-04-18T17:42:27Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T17:42:46Z amb007 joined #lisp 2021-04-18T17:45:10Z Shinmera: My team and I have been taking a break from working on Kandria to make a much shorter game. It's also written in Lisp, of course, and now live on Steam: https://store.steampowered.com/app/1605720/Eternia_Pet_Whisperer/ 2021-04-18T17:45:22Z Shinmera: Wishlisting and sharing would be much appreciated, if it seems interesting! 2021-04-18T17:45:40Z Oladon joined #lisp 2021-04-18T17:48:59Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T17:49:37Z amb007 joined #lisp 2021-04-18T17:52:43Z adlai cedes topic-of-conversation by footnoting that the return value of the following function is a good candidate for exactly such a type, since it's a built-in that can be pretty much anything, although is almost certainly not a satisfies type 2021-04-18T17:52:55Z adlai: clhs copy-pprint-dispatch 2021-04-18T17:52:55Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_cp_ppr.htm 2021-04-18T17:53:19Z Josh_2: What does adding to my wishlist do Shinmera? 2021-04-18T17:53:19Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T17:53:27Z amb007 joined #lisp 2021-04-18T17:53:38Z phoe: Shinmera: a VN engine in Common Lisp? you're getting further and further with all of that coding of yours 2021-04-18T17:53:41Z phoe claps 2021-04-18T17:53:50Z adlai left #lisp 2021-04-18T17:55:18Z cosimone joined #lisp 2021-04-18T17:55:26Z Shinmera: Josh_2: It means steam will let you know when the game releases, but for us it's important because more wishlists tells the steam algorithm that the game is interesting, and will thus cause it to show it to more people on the steam site itself. 2021-04-18T17:55:35Z Shinmera: Josh_2: so it's important for us to reach a wider audience. 2021-04-18T17:55:58Z Shinmera: phoe: I hope to tear parts like that out of kandria and this and make them available in Trial is generic modules sometime. 2021-04-18T17:56:05Z phoe: yes, I see 2021-04-18T17:56:07Z yonkunas joined #lisp 2021-04-18T18:00:22Z slyrus_ joined #lisp 2021-04-18T18:00:34Z Josh_2: okay I will add to wishlist 2021-04-18T18:00:45Z Shinmera: Thank you very much! 2021-04-18T18:01:09Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-18T18:01:37Z cobax joined #lisp 2021-04-18T18:01:57Z hendursaga joined #lisp 2021-04-18T18:02:52Z cobax: Does lisp have a reasonable and secret-weapon-like alternative to kubernetes and all that bloated insanity surrounding "scaling" a program to many servers horizontally more or less automatically and without configuration? 2021-04-18T18:03:13Z Shinmera: no 2021-04-18T18:03:55Z Shinmera: scaling a program well requires a lot of design that isn't down to tooling at all, though. 2021-04-18T18:04:28Z zxcvz quit (Quit: Leaving) 2021-04-18T18:05:29Z phoe: "scaling" is not a well-defined term 2021-04-18T18:05:40Z cobax: That is what I keep being told, but I don't know if that is actually true. How do you know that is true? Or that it is necessarily true? Is there a paper that goes into the Computer Science reasons why scaling needs to be so complex and "require a lot of design" and can't just be "throw N computers into this pool of servers and it'll do what you 2021-04-18T18:05:40Z phoe: that's the main issue 2021-04-18T18:05:40Z cobax: want"? 2021-04-18T18:05:54Z phoe: cobax: what do you mean by "scaling"? 2021-04-18T18:05:58Z Josh_2: just get a faster vps, ezpz 2021-04-18T18:06:41Z cobax: What people that use kubernetes mean by it. Whatever it means, in my opinion it needs to be pushed down the abstraction stack and be as buried as "garbage collection" is, i.e. zero configuration and it happens automatically. I'm trying to understand why we're not there yet. 2021-04-18T18:06:48Z Shinmera: there's a lot of research on this that shows this in various ways, but it's also easy to realise because you can just think about things in terms of message overhead. the more you need to communicate between parts, the more overhead there is, the slower things go. 2021-04-18T18:06:51Z imode: clojure has some interesting stuff in the "highscale" whatever. 2021-04-18T18:07:11Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-18T18:07:12Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:07:46Z phoe: what does your input look like? what does your output look like? what is the amount of data you need to process per second? what is the amount of data you need to store in some sort of databases per second? what are the latency constraints on your processing? does your input data come as a single stream, or as multiple streams? what about your output data? how does consensus look like in your system? how do 2021-04-18T18:07:52Z phoe: you want to handle network partitions and partial system outages? 2021-04-18T18:07:52Z amb007 joined #lisp 2021-04-18T18:07:56Z phoe: and that's just the tip of the iceberg 2021-04-18T18:08:08Z cobax: Shinmera: I don't understand. How many function calls I make is part of the reasoning about the program. Every program needs to think about it. 2021-04-18T18:08:47Z Shinmera: cobax: take a course on parallelism at your local university. 2021-04-18T18:08:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:08:47Z mindCrime joined #lisp 2021-04-18T18:08:53Z cobax: phoe: why can't all that be answered within the program (i.e. in-band) and not on infrastructure configuration (i.e. config files for kubernetes, out-of-band of the code)? 2021-04-18T18:09:31Z amb007 joined #lisp 2021-04-18T18:09:32Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:09:53Z amb007 joined #lisp 2021-04-18T18:09:59Z hendursaga quit (Remote host closed the connection) 2021-04-18T18:10:01Z cobax: Shinmera: I am already a functional programmer, parallelism for me is automatic in all code I write, so why can't I just give my program a pool of N servers and it figures out what it needs? Why do I have to babysit it? I don't babysit the garbage collector. I am trying to understand the real difficulty here. 2021-04-18T18:10:15Z Shinmera: it's not "automatic" though 2021-04-18T18:10:20Z Shinmera: that's just a lie you've been sold. 2021-04-18T18:10:34Z cobax: Garbage collection is not automatic? 2021-04-18T18:10:44Z Shinmera: no, it doesn't scale well automatically. 2021-04-18T18:10:49Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:10:53Z Shinmera: you /do/ need to babysit it at scale. 2021-04-18T18:11:24Z amb007 joined #lisp 2021-04-18T18:11:45Z cobax: but you can change it behind  the scenes without caring about the program. Just observe its behavior: does it cons a lot? switch to a generational garbage collector; does it not? switch to another... whatever. Just self-observe the program running and make choices automatically based on need. 2021-04-18T18:12:09Z Shinmera: I mean if you want to pretend everything is as simple as that then sure. 2021-04-18T18:12:18Z remby: you are asking about distributed computing? 2021-04-18T18:12:24Z remby: not sure why that would be lisp specific 2021-04-18T18:12:30Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:12:34Z cobax: Well, let's say that is "some solution" but not "the best" solution. I am looking for the "some solution" that is the alternative to crazyland kubernetes. 2021-04-18T18:12:44Z cobax: Because lisp tends to solve problems more simply and smartly 2021-04-18T18:12:53Z cobax: and kubernetes is too bloated for me to be convinced it is smart 2021-04-18T18:13:02Z amb007 joined #lisp 2021-04-18T18:13:11Z remby: kubernetes is there because of other reasons 2021-04-18T18:13:29Z hendursaga joined #lisp 2021-04-18T18:13:36Z remby: it looks more like an os problem to me, not language problem 2021-04-18T18:13:42Z cobax: Look at qooxlisp or clog, no other language has that type of solutions 2021-04-18T18:13:56Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:14:16Z cobax: Lisp has smart people that don't care when the world tells us "oh that is too complex", lisp is where we make the impossible possible 2021-04-18T18:14:44Z imode: appreciate the enthusiasm but lisp is a design aesthetic, not a magic bullet. 2021-04-18T18:15:03Z cobax: So is "kubernetes" the final boss that we'll never simplify? I find that hard to believe. So I was trying to understand what the hullaballo is about, why the pretense that this is so complex when it just seems to be "N computers in a pool, sharing their resources". Why is that so complex? 2021-04-18T18:15:07Z amb007 joined #lisp 2021-04-18T18:15:21Z Shinmera: because it just is 2021-04-18T18:15:39Z imode: kubernetes is an overengineered mess brought to "market" by a company which.. overengineers stuff, what a surprise. 2021-04-18T18:15:51Z imode: go build and host your own servers. 2021-04-18T18:15:51Z hendursaga quit (Remote host closed the connection) 2021-04-18T18:16:06Z imode: or colocate and build a lisp-controlled cluster or something. 2021-04-18T18:16:08Z cobax: imode: there you go, you get me. Which tech is doing what k8s do, but sanely, and without bloat? Can you help me? 2021-04-18T18:16:14Z hendursaga joined #lisp 2021-04-18T18:16:22Z imode: k8s does everything, so. 2021-04-18T18:16:26Z cobax: But how to achieve the "horizontal scale" people so love, where I can throw more machines at the problem? 2021-04-18T18:16:50Z imode: you don't really throw "more machines" at a problem, you throw more containers/"pods" which then tile across the available machines. 2021-04-18T18:17:08Z imode: that's a service level design decision. where you can just add more instances of your program to handle requests. 2021-04-18T18:17:16Z Alfr: cobax, in general you can't. Some algorithms are inherently sequential. 2021-04-18T18:17:25Z imode: which is fine. but you kinda have to design with that. 2021-04-18T18:19:11Z cobax: imode: I understand what you are saying but I am skeptical that this is such an inherent problem that the scaling software needs to be "coupled" with the program being scaled such that it knows about it so its design can be tailored to it. Garbage collectors at least come with a default. Where is the default "non-ideal scaling that at least scales 2021-04-18T18:19:12Z cobax: most programs reasonably"? 2021-04-18T18:20:56Z imode: "we need to be able to scale up and scale down our service to handle load at different times, and scaling down is important to save money." "okay, I'll make these specific parts of our service scalable, which means that we can continually add more of them and remove them depending on our load." 2021-04-18T18:20:57Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:21:08Z imode: literally the conversation about "scale" that every company has. 2021-04-18T18:21:17Z shka_ quit (Ping timeout: 268 seconds) 2021-04-18T18:21:37Z imode: so it's not about.. garbage collection or any small stuff, it's a larger architectural thing. 2021-04-18T18:21:40Z amb007 joined #lisp 2021-04-18T18:21:50Z cobax: imode: as a lisper I had rather all those decisions be in-band i.e. that I can make them within my lisp code and not having to configure the "general scaling software" underneath it. Just like I can switch garbage collectors from within a language. 2021-04-18T18:22:22Z cobax: I don't understand why I need to go outside my program code to make those decisions... it's un-lisp-like to be going out-of-band. 2021-04-18T18:22:23Z imode: a garbage collector is not equivalent to automatic parallelization or "automatic scalifierieriers". 2021-04-18T18:22:48Z cobax: Okay, what is equivalent to automatic parallelization? Is it a totally unique problem? 2021-04-18T18:22:48Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:23:04Z imode: how about you describe what you want. 2021-04-18T18:23:07Z amb007 joined #lisp 2021-04-18T18:23:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:23:25Z amb007 joined #lisp 2021-04-18T18:24:05Z cobax: imode: okay, give me a minute to phrase it in my head 2021-04-18T18:24:41Z Kundry_Wag joined #lisp 2021-04-18T18:25:23Z slyrus_ joined #lisp 2021-04-18T18:26:03Z Josh_2: imode: I think I've killed a few werewolves with lisp 2021-04-18T18:26:06Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-18T18:26:28Z Josh_2: silver is a pretty good consolation 2021-04-18T18:26:32Z trokotech joined #lisp 2021-04-18T18:26:38Z slyrus_ joined #lisp 2021-04-18T18:27:38Z cobax: imode: if I code 100% functionally, no state, as I do (I use algebraic effects, the call/cc's disappear when I compile), then I want to take advantage of the fact that my code (as 100% FP) can scale automatically without my having to do anything to it. Kubernetes can't appreciate the work I did on my code. I need a smart thing that appreciates it 2021-04-18T18:27:38Z cobax: and runs it at scale, on this or that server, I don't care, just scale as needed and without my input. 2021-04-18T18:27:39Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:28:18Z imode: the problem is that, again, data dependencies within your program dictate whether or not you can auto-parallelize things. 2021-04-18T18:28:46Z cobax: imode: so then the program in charge of scaling can see that and not try to scale the unscalable bits. Still, should be zero configuration, no? 2021-04-18T18:28:48Z imode: but that's, again, parallelism on a single machine. 2021-04-18T18:28:50Z amb007 joined #lisp 2021-04-18T18:29:01Z cobax: Yeah, I want across many machines = horizontal scaling. 2021-04-18T18:29:08Z imode: hadoop is your friend, then. 2021-04-18T18:29:11Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-18T18:29:25Z cobax: I want to seamlessly run a program on top of however many computers, and I want those two things as decoupled as possible. 2021-04-18T18:29:28Z imode: "horizontal scaling" doesn't mean "on many machines", necessarily. 2021-04-18T18:29:43Z trokotech left #lisp 2021-04-18T18:29:47Z imode: could be multiple processes on a single machine that are exact replicas of each other. 2021-04-18T18:30:03Z cobax: imode: another way to phrase it: I want a super-duper-pro DevOps person to scale a Hello World awesomely and professionaly for me so I can grab what he did and replace the Hello World with whatever program I want, forever into the future. 2021-04-18T18:30:19Z trokotech joined #lisp 2021-04-18T18:30:24Z cobax: That is what I don't understand why we don't have. 2021-04-18T18:30:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:30:35Z amb007 joined #lisp 2021-04-18T18:30:36Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:30:37Z cobax: imode: I stand corrected re horizontal scaling. 2021-04-18T18:30:55Z amb007 joined #lisp 2021-04-18T18:31:19Z imode: you should probably learn how existing services are implemented in a "scalable" fashion before trying to dissect why something isn't present in a language ecosystem. 2021-04-18T18:31:28Z slyrus_ quit (Ping timeout: 265 seconds) 2021-04-18T18:32:08Z imode: k8s was designed to work with heterogeneous workloads, meaning stuff written in different languages communicating over network protocols. 2021-04-18T18:32:15Z VincentVega joined #lisp 2021-04-18T18:32:24Z imode: which is neat. means you can spin up pods and have them talk to other pods. 2021-04-18T18:32:25Z Josh_2: cobax: sounds to me like you have a cool project to start 2021-04-18T18:32:33Z cobax: imode: I am a Computer Scientist. DevOps people give me lots of excuse, but they never tell me the Computer Science reason why I can't automatically scale a 100% functional program on multiple hardware and cpus with zero config. I wanted to know that reason so I can go against it on my own and win over it and show people it's silly. Because I bet 2021-04-18T18:32:33Z cobax: it is silly. 2021-04-18T18:32:58Z remby: just use plan9 m8 2021-04-18T18:32:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:33:03Z cobax: "heterogenous workloads" sounds like something the programming language should care about and not the thing in charge of making the bytes run in many machines. 2021-04-18T18:33:05Z amb007 joined #lisp 2021-04-18T18:33:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:33:10Z hjudt joined #lisp 2021-04-18T18:33:21Z amb007 joined #lisp 2021-04-18T18:33:30Z cobax: Josh_2: yes but first I need to understand which Computer Science problem I am tackling here. 2021-04-18T18:33:43Z cobax: No one can tell me that despite everyone being an expert in what I cannot do. 2021-04-18T18:33:55Z slyrus_ joined #lisp 2021-04-18T18:34:04Z markasoftware: There are no large-scale practical "pure fp" applications, so there's no need for such software 2021-04-18T18:34:22Z imode: well, as a computer scientist, and a software engineer for a large company (read: amazon), there's a lot more to "making code run fast" than just parallelizing the nonsense out of it. 2021-04-18T18:34:50Z markasoftware: almost every large scale application i can think of uses a persistent database, for one 2021-04-18T18:35:08Z cobax: markasoftware: that is true but no out of impossibility. It is true simply out of inertia. I am ahead of the curve so yes, my software as of today is 100% functional. And I don't have anything to configure that I want to say, I just want my code to run in as many computers as it needs, I should only care about paying the bills. 2021-04-18T18:35:08Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:35:22Z amb007 joined #lisp 2021-04-18T18:35:23Z imode: "I am ahead of the curve" vibe check. 2021-04-18T18:35:27Z markasoftware: how would you code Twitter with pure fp? Where would you store the tweets? 2021-04-18T18:35:27Z cage_ joined #lisp 2021-04-18T18:35:32Z remby: markasoftware: what if it's in memory :P 2021-04-18T18:35:44Z cobax: imode: ah, so you profit from trying to convince me that this is so complex so I should just use AWS to scale... 2021-04-18T18:35:52Z cobax: wrong person to ask! 2021-04-18T18:35:53Z imode: yeah, despite not working within AWS. 2021-04-18T18:36:06Z imode: I'm totally a shill for lex lutho- I mean, bezos. 2021-04-18T18:36:18Z remby: lmao 2021-04-18T18:36:27Z markasoftware: dbnr datastore will conquer all 2021-04-18T18:36:27Z cobax: sure, but still. You're going to believe that what Amazon is doing is necessary. 2021-04-18T18:36:41Z markasoftware: s/dbnr/bknr 2021-04-18T18:36:45Z imode: nice assumption but I'm there for the pay. 2021-04-18T18:36:46Z markasoftware: i don't know how i managed that 2021-04-18T18:37:22Z cobax: imode: is this not ahead of the curve? - variables without set!, immutable stacks and immutable dynamic variables: https://gist.github.com/abstraktio/0d8dab55c86fe40f311e505a119d71d3 2021-04-18T18:37:28Z cobax: imode: or is that code just a vibe? 2021-04-18T18:37:29Z imode: here's a conversation. "I want this part of my app, which communicates with this other part of my app, to be tiled across multiple machines." "okay, now how will you get the two parts of your app to communicate when they're not on the same machine, network protocols?" "I dunno, I want that figured out for me." "kinda depends on what you want, whether you need fast or reliable transports." "Can't my 2021-04-18T18:37:31Z imode: compiler figure that out for me?" "not without hints, because it doesn't understand your intent." 2021-04-18T18:37:59Z remby: cobax: this topic you want to look into is distributed computing 2021-04-18T18:38:10Z nij joined #lisp 2021-04-18T18:38:30Z mister_m: Hi I want to ensure that when developing in emacs+slime the code I am compiling and intereacting with is "single steppable". I know with SBCL I can simply say, ``(declaim (optimize (debug 3)))'' and the debug mode should ensure that. Is that something I should just add to my .sbclrc file? Is there any real downside to doing that? 2021-04-18T18:38:33Z slyrus_ quit (Ping timeout: 268 seconds) 2021-04-18T18:38:37Z cobax: imode: isn't all the information needed on my code already? can it not be inspected? would it help if I coded in a reflexive language so the scaling software can ask all the question it thinks it needs to my code directly? 2021-04-18T18:38:53Z cobax: remby: I appreciate the input. 2021-04-18T18:38:56Z imode: again, not unless you specifically demarcate the boundaries between parts of your code. 2021-04-18T18:39:03Z Josh_2: mister_m: pretty sure debug 3 is the default 2021-04-18T18:39:04Z imode: which is what erlang and clojure let you do. 2021-04-18T18:39:13Z cobax: imode: I would be okay with demarcating whatever in code as that is in-band so I am fine with that 2021-04-18T18:39:22Z cobax: precisely what I want is to stay in-code 2021-04-18T18:39:56Z cobax: I never understood this "you gotta configure this outside the code", Smalltalk never seems to have to abide by that rule, so why should anyone else accept less? 2021-04-18T18:40:08Z imode: smalltalk never really did the things that people are doing these days. 2021-04-18T18:40:16Z IIsi50MHz: Cobax, maybe the reason you have trouble finding the answer you want is that you're looking for a short+simple reason and the real answer is more complicated than that? 2021-04-18T18:40:23Z imode: ^ 2021-04-18T18:40:30Z cobax: How do they serve a third of the world's shipping container companies without doing scaling? 2021-04-18T18:40:41Z cobax: Did they bypass the problem? If so, can I bypass it too? 2021-04-18T18:40:43Z imode: in what world do shipping container companies run on smalltalk. 2021-04-18T18:40:46Z IIsi50MHz: +1 "distibuted computing" 2021-04-18T18:41:10Z IIsi50MHz: er… s/sti/stri 2021-04-18T18:41:21Z cobax: IIsi50MHz: you are correct. And have you seen how many times lispers have simplified things beyond anyone's belief? Many times! I have faith in lispers. 2021-04-18T18:41:26Z imode: like I need to know the source for that statistic now. 2021-04-18T18:41:48Z imode: lisp evangelism is alright but the point of evangelism is that it's backing practical things. 2021-04-18T18:41:59Z IIsi50MHz: ^ 2021-04-18T18:42:09Z imode: and you need to understand practical problems and their structure before you evangelize technology X as a solution to that problem. 2021-04-18T18:42:40Z remby: monads didn't even pull up until the 90s iirc 2021-04-18T18:42:40Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:42:57Z amb007 joined #lisp 2021-04-18T18:43:05Z rogersm quit (Quit: Leaving...) 2021-04-18T18:44:22Z cobax: imode: reference for that statistic: https://www.cincomsmalltalk.com/main/successes/shipping/orient-overseas-container-lines-ltd/ 2021-04-18T18:44:44Z cobax: imode: if the 35% figure is not there, continue googling that company name with Smalltalk and/or "35%" until you find it. It's somewhere. 2021-04-18T18:45:09Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-18T18:45:44Z cobax: remby: monads have been replaced by algebraic effects today in academia and for all practical purposes, fyi, you can see my code I linked above for an example usage. 2021-04-18T18:46:50Z remby: I don't actually know what a monad is, I just thought that was an important point. 2021-04-18T18:47:17Z remby: people have been handling io for a while without it 2021-04-18T18:47:19Z imode: "As a pure object-oriented database and object server, GemStone/S " 2021-04-18T18:47:24Z cobax: remby: monads are possibly the most complex isomorphism of algebraic effects; therefore, they are useless today. 2021-04-18T18:47:43Z cobax: imode: right, I do believe Gemstone/S is what helps them scale. Is that what you are saying? 2021-04-18T18:47:44Z imode: not that big of a surprise that it's a database. wouldn't really call it "powering" something, but fair point, a single shipping company. 2021-04-18T18:48:06Z cobax: imode: it's a "4gl-ish" database which is not the same as what people understand when you just say "database" 2021-04-18T18:48:14Z cobax: Gemstone/S is actually a Smalltalk. 2021-04-18T18:48:19Z hendursaga joined #lisp 2021-04-18T18:48:21Z cobax: with an embedded db. 2021-04-18T18:49:13Z mister_m: Josh_2: Maybe you are correct - I think what I mean to ask is how can I ensure that the debugger shows me the same "evaluating call" output as my code 2021-04-18T18:49:21Z cobax: Gemstone/S is a "database" in the same sense MUMPS is a "database" (i.e. both are complete languages with an embedded horizontally-scaling database) 2021-04-18T18:49:33Z imode: that's great. that's not a third of all shipping. 2021-04-18T18:49:39Z imode: still impressive. 2021-04-18T18:49:48Z cobax: imode: somewhere else it says 35% of all shipping is overseen by smalltalk code. 2021-04-18T18:49:58Z cobax: imode: my not being able to find the source does not mean the source does not exist. 2021-04-18T18:49:59Z imode: well, interested in seeing that figure. 2021-04-18T18:50:08Z cobax: imode: as soon as I can find it again I will show you. 2021-04-18T18:50:09Z imode: yeah, because that's how.. evidence works. 2021-04-18T18:50:21Z cobax: imode: you are correct. 2021-04-18T18:50:35Z imode: my girlfriend in canada surely exists, but I can't produce any evidence, doesn't mean she doesn't exist, right? /s 2021-04-18T18:50:41Z cobax: So but from your reading, what is Gemstone/S doing right? There is zero configuration for it. 2021-04-18T18:50:55Z imode: in what world is there zero configuration for an application like this. 2021-04-18T18:51:23Z cobax: I just can't believe scaling needs to be coupled with the program being scaled. That seems totally unbelievable. Can't people just scale "a very complex program" and then we can all replace our program instead of "very complex program"? 2021-04-18T18:51:23Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:51:33Z imode: I feel like you really need to dig into what the problems are behind distributed computing before you go randomly picking fights with problems you don't grasp. 2021-04-18T18:51:45Z imode: it takes people a while to grapple with that field because it is fairly complex. 2021-04-18T18:51:51Z amb007 joined #lisp 2021-04-18T18:51:56Z mister_m: cobax: read about the CAP theorem maybe 2021-04-18T18:53:12Z cobax: imode: I do want to tackle that field, and I want to start from the side that is the "fact" that is "keeping me from scaling with zero config". What part of distributed computing needs to be so coupled with my program, such that it is impossible for me to ask someone to scale "the toughest program to scale in the world" and then the rest of the 2021-04-18T18:53:12Z cobax: world can just copy that infrastructure and replace "the toughest" with their code! 2021-04-18T18:53:24Z cobax: mister_m: thank you, I will do that. 2021-04-18T18:53:30Z imode: here's the thing. if it was possible, someone would be doing it. 2021-04-18T18:53:48Z cobax: imode: no. we are in 2021, we are not in "every year in the future". So you can't say that. 2021-04-18T18:53:58Z cobax: Maybe something is possible but someone will only have done it in 2022. 2021-04-18T18:54:15Z trokotech quit (Remote host closed the connection) 2021-04-18T18:54:22Z imode: you can't simultaneously wonder "why are we not doing this" and then say that it's only possible when someone does it in a future year. 2021-04-18T18:54:33Z imode: you're implying it's not just possible, it's incredibly easy, in current year. 2021-04-18T18:54:44Z cobax: imode: I can because I see companies like Heroku approaching what I am saying 2021-04-18T18:54:47Z trokotech joined #lisp 2021-04-18T18:55:00Z cobax: Heroku somehow managed to do a lot of work already to do with scaling without knowing yet anything about my code. 2021-04-18T18:55:00Z imode: heroku isn't.. even close to what you're describing you want. 2021-04-18T18:55:19Z imode: yeah because _they just spin up your service, which communicates over network protocols, over multiple computers_. 2021-04-18T18:55:27Z cobax: Yes it it. I want something I can throw an executable into and it figures out how many machines it needs or whatever, so long as it fits my budget. 2021-04-18T18:55:36Z imode: so.. k8s? 2021-04-18T18:55:52Z imode: so.. heroku? load balancers and autoscaling has been around for a decade+. 2021-04-18T18:57:03Z cobax: So why haven't they been wrapped up in some sort of docker thingy already such that I can drag and drop my executable there, and with no questions asked, it does all th autoscaling and load balacing for me? Everyone needs the same stuff: enough resources to serve clients comfortably while fitting my budget. I don't understand what further questions 2021-04-18T18:57:03Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:57:03Z cobax: are needed. Throw resources at my program until I have no more money. That should be simple, Heroku is almost there, it seems. 2021-04-18T18:57:39Z amb007 joined #lisp 2021-04-18T18:57:39Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T18:57:41Z imode: think you're talking in circles. the solutions exist... heroku, kubernetes, orchestration engines, etc. 2021-04-18T18:57:52Z remby is now interested in distributed programming 2021-04-18T18:57:57Z amb007 joined #lisp 2021-04-18T18:57:59Z imode: remby: here be dragons. 2021-04-18T18:58:15Z imode: remby: https://workers.cloudflare.com/ 2021-04-18T18:58:52Z remby: nope, have to write my own distributed OS in common lisp now :D 2021-04-18T18:59:00Z cobax: imode: thank you for answering my questions with patience. I will leave and go ask some smalltalkers, maybe they will understand my automating instincts better. If we don't fix this, DevOps people will forever be doing the same exact thing: scaling software. To me it looks 100% automatable, but if you say it isn't... then I will just try alone. 2021-04-18T18:59:00Z cobax: Thanks again. 2021-04-18T18:59:37Z cobax: "everything in Computer Science is automatable except scaling" would be a weird world to be living in. 2021-04-18T18:59:50Z Sheilong quit 2021-04-18T19:00:07Z imode: not everything in CS is able to be automated. 2021-04-18T19:00:16Z remby: most things in CS have probably been solved before tbh 2021-04-18T19:00:35Z remby: which does not have a long history, so that's kinda sad lol 2021-04-18T19:00:39Z imode: remby: the design of cloudflare workers is awesome. they use the v8 runtime to spin up applications that are smaller than containers, but have fine-grained resource constraints. 2021-04-18T19:01:11Z saganman quit (Ping timeout: 240 seconds) 2021-04-18T19:01:12Z remby: v8 is possible to sandbox? 2021-04-18T19:01:17Z imode: https://developers.cloudflare.com/workers/learning/how-workers-works 2021-04-18T19:01:18Z remby: but yeah that is cool 2021-04-18T19:01:19Z imode: yeah, via v8 isolates. 2021-04-18T19:01:21Z remby: thanks 2021-04-18T19:01:37Z remby: jvm would be better I think 2021-04-18T19:01:46Z nij: Hi #lisp! If I have two versions of pkgA, say v1 and v2, how to I specify for asdf to load pkgAv2? 2021-04-18T19:01:50Z imode: fwiw I'm working on an alternative language for this. 2021-04-18T19:01:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-18T19:01:52Z remby: but I don't want to drag this on 2021-04-18T19:02:02Z phoe: nij: ASDF doesn't deal with packages; you mean systems? 2021-04-18T19:02:25Z nij: right it's called system in CL! systems! 2021-04-18T19:02:25Z phoe: I'd say that you need to load the proper ASD file and then asdf:load-system; that should be enough 2021-04-18T19:02:42Z amb007 joined #lisp 2021-04-18T19:03:51Z nij: :O I thought to asdf:load-system is to load the ASD file 2021-04-18T19:03:52Z nij: hmm 2021-04-18T19:03:56Z phoe: nope 2021-04-18T19:06:12Z trokotech quit (Remote host closed the connection) 2021-04-18T19:06:40Z Alfr: nij, didn't I already link you to asdf's documentation earlier today? It's in section 8. 2021-04-18T19:06:53Z trokotech joined #lisp 2021-04-18T19:07:22Z slyrus_ joined #lisp 2021-04-18T19:07:24Z nij: Alfr: I'm trying to deal with another problem (namely, cl systems integration in guix..) and haven't really looked at it. I apologize. 2021-04-18T19:09:49Z terpri quit (Remote host closed the connection) 2021-04-18T19:10:49Z trokotech quit (Remote host closed the connection) 2021-04-18T19:11:37Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-18T19:11:56Z Alfr: nij, you can configure asdf's source-registry to look at different locations, order does matter, as it will take the first asd file that fits the bill. 2021-04-18T19:12:47Z nij: Alfr, in guix I might have 10 different versions of the same lisp system. I'm trying to figure out a way to call any of them at will. 2021-04-18T19:13:38Z phoe: call, as in, load from inside Lisp? 2021-04-18T19:14:11Z phoe: (remember that you won't be able to have multiple versions of the same system loaded at the same time) 2021-04-18T19:14:25Z trokotech joined #lisp 2021-04-18T19:14:45Z Alfr: nij, you can reconfigure it at run time, tough loading two different versions of the same system into the same image will likely turn out not to provide a working system. 2021-04-18T19:15:33Z phoe: but I assume that you could write a function or set of functions that is capable of reading Guix package data, and will then call LOAD-ASD on ASD files in proper locations, therefore "circumventing" the ASDF registry 2021-04-18T19:15:54Z phoe: this will allow you to run Lisp with various combinations of Lisp system versions, which is what you seem to be looking for 2021-04-18T19:16:24Z Alfr: nij, asdf:initialize-source-registry is what you're looking for where you should provide the source-registry configuration you'd like it to use. 2021-04-18T19:16:59Z phoe: ...or stuff all the pathnames to individual system directories into the source registry, as Alfr says 2021-04-18T19:18:28Z Josh_2: can't believe after all this time that I could just use (getf ) to access properties in a plist 2021-04-18T19:18:33Z Josh_2: I always tried get which never worked 2021-04-18T19:18:34Z Alfr: nij, also phoe's load-asd idea might be more concise. 2021-04-18T19:18:37Z Josh_2: absolute smooth brain moment 2021-04-18T19:19:50Z remby left #lisp 2021-04-18T19:23:23Z nij: i see 2021-04-18T19:23:52Z Kundry_Wag joined #lisp 2021-04-18T19:24:46Z mindCrime quit (Ping timeout: 260 seconds) 2021-04-18T19:27:48Z Josh_2: Yesterday I found out you can use (apply #'make-instance ) 2021-04-18T19:27:50Z Josh_2: very useful 2021-04-18T19:28:07Z Kundry_Wag quit (Ping timeout: 252 seconds) 2021-04-18T19:29:04Z nij: Josh_2: you mean you can use that sexpr for what? 2021-04-18T19:29:13Z nij: Make an instance of some class? 2021-04-18T19:29:31Z Josh_2: yes 2021-04-18T19:29:54Z Josh_2: like this (apply #'make-instance 'sticker '(:name "abc" :filename "abc.png")) etc 2021-04-18T19:30:00Z nij: Err what else would you do to make an instance? 2021-04-18T19:30:13Z phoe: Josh_2: #'APPLY + plists generally combine very well 2021-04-18T19:30:22Z Josh_2: hey I never said it was special, just that I never realized you could do that 2021-04-18T19:30:50Z nij: oh oh 2021-04-18T19:30:50Z phoe: errr, #'APPLY + &KEY + plists 2021-04-18T19:31:12Z waleee-cl joined #lisp 2021-04-18T19:31:41Z trokotech quit (Remote host closed the connection) 2021-04-18T19:32:28Z anticrisis joined #lisp 2021-04-18T19:33:20Z Josh_2: apply has always been a bit of a mystery to me, not that I don't use it 2021-04-18T19:33:30Z nij: Yeah I think that #'APPLY splices its arguments is a brilliant design. 2021-04-18T19:33:31Z trokotech joined #lisp 2021-04-18T19:34:18Z nij: (apply #'f a b c d e (g h i j) k l m (n o) p) =? (f a b c d e g h i j k i l m n o p) 2021-04-18T19:36:46Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-18T19:38:05Z slyrus_ joined #lisp 2021-04-18T19:39:17Z trokotech quit (Remote host closed the connection) 2021-04-18T19:40:16Z trokotech joined #lisp 2021-04-18T19:42:03Z rjcks_ joined #lisp 2021-04-18T19:42:23Z slyrus_ quit (Ping timeout: 246 seconds) 2021-04-18T19:44:05Z ceblan joined #lisp 2021-04-18T19:45:08Z rjcks quit (Ping timeout: 252 seconds) 2021-04-18T19:45:41Z attila_lendvai_ quit (Ping timeout: 240 seconds) 2021-04-18T19:49:31Z theothornhill joined #lisp 2021-04-18T19:55:08Z Lord_of_Life_ joined #lisp 2021-04-18T19:57:04Z slyrus_ joined #lisp 2021-04-18T19:57:06Z theothornhill quit (Remote host closed the connection) 2021-04-18T19:57:38Z Xach quit (Ping timeout: 240 seconds) 2021-04-18T19:57:42Z ebrasca quit (Remote host closed the connection) 2021-04-18T19:57:45Z Bike joined #lisp 2021-04-18T19:58:43Z Lord_of_Life quit (Ping timeout: 268 seconds) 2021-04-18T19:58:46Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-18T19:59:14Z Bike: only the final argument is spliced 2021-04-18T19:59:30Z Bike: you can just use append to do your own splicing, of course 2021-04-18T19:59:44Z Xach joined #lisp 2021-04-18T20:01:16Z cage_ quit (Quit: Leaving) 2021-04-18T20:06:11Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-18T20:08:12Z DHARMAKAYA joined #lisp 2021-04-18T20:12:27Z slyrus_ joined #lisp 2021-04-18T20:17:37Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-18T20:21:52Z OlCe joined #lisp 2021-04-18T20:25:11Z Loplin joined #lisp 2021-04-18T20:25:58Z choegusung joined #lisp 2021-04-18T20:26:07Z pve quit (Quit: leaving) 2021-04-18T20:26:39Z choegusung quit (Client Quit) 2021-04-18T20:36:38Z daphnis quit (Ping timeout: 240 seconds) 2021-04-18T20:41:05Z karlosz joined #lisp 2021-04-18T20:42:55Z OlCe quit (Ping timeout: 252 seconds) 2021-04-18T20:49:47Z slyrus_ joined #lisp 2021-04-18T20:55:04Z long4mud joined #lisp 2021-04-18T20:57:13Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-18T21:01:14Z Bike quit (Quit: Connection closed) 2021-04-18T21:07:07Z rumbler31 quit (Ping timeout: 252 seconds) 2021-04-18T21:25:47Z slyrus_ joined #lisp 2021-04-18T21:28:45Z zooey quit (Ping timeout: 240 seconds) 2021-04-18T21:29:28Z zooey joined #lisp 2021-04-18T21:29:28Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-18T21:36:36Z c2f0 joined #lisp 2021-04-18T21:37:29Z mmontone joined #lisp 2021-04-18T21:44:02Z gitgood quit (Quit: Probably away to do something really awesome) 2021-04-18T21:44:48Z Loplin left #lisp 2021-04-18T21:46:34Z slyrus_ joined #lisp 2021-04-18T21:48:57Z renzhi joined #lisp 2021-04-18T21:50:42Z karlosz quit (Quit: karlosz) 2021-04-18T21:50:50Z slyrus_ quit (Ping timeout: 246 seconds) 2021-04-18T21:52:23Z surabax quit (Quit: Leaving) 2021-04-18T22:02:51Z mood quit (Quit: Gone.) 2021-04-18T22:03:16Z mood joined #lisp 2021-04-18T22:03:20Z gitgood joined #lisp 2021-04-18T22:04:20Z hiroaki_ joined #lisp 2021-04-18T22:06:00Z rjcks joined #lisp 2021-04-18T22:07:21Z slyrus_ joined #lisp 2021-04-18T22:08:58Z rjcks_ quit (Ping timeout: 265 seconds) 2021-04-18T22:09:44Z gitgood quit (Remote host closed the connection) 2021-04-18T22:11:32Z hjudt quit (Ping timeout: 240 seconds) 2021-04-18T22:12:32Z varjag quit (Ping timeout: 246 seconds) 2021-04-18T22:16:13Z slyrus_ quit (Ping timeout: 265 seconds) 2021-04-18T22:16:44Z gaqwas quit (Ping timeout: 246 seconds) 2021-04-18T22:16:50Z Jachy quit (Ping timeout: 258 seconds) 2021-04-18T22:19:06Z frgo quit (Remote host closed the connection) 2021-04-18T22:19:32Z frgo joined #lisp 2021-04-18T22:20:49Z krjli quit (Remote host closed the connection) 2021-04-18T22:26:00Z Stanley00 joined #lisp 2021-04-18T22:27:32Z random-nick quit (Ping timeout: 240 seconds) 2021-04-18T22:28:16Z Stanley00 quit (Remote host closed the connection) 2021-04-18T22:29:29Z slyrus_ joined #lisp 2021-04-18T22:33:29Z rjcks quit (Quit: leaving) 2021-04-18T22:33:46Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-18T22:33:59Z slyrus_ joined #lisp 2021-04-18T22:37:19Z VincentVega quit (Quit: Connection closed) 2021-04-18T22:38:06Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-18T22:41:21Z nicktick quit (Ping timeout: 265 seconds) 2021-04-18T22:41:55Z spaethnl joined #lisp 2021-04-18T22:43:21Z Jachy joined #lisp 2021-04-18T22:45:20Z mmontone quit (Quit: Connection closed) 2021-04-18T22:48:07Z curtosis joined #lisp 2021-04-18T22:50:17Z slyrus_ joined #lisp 2021-04-18T22:52:42Z akoana joined #lisp 2021-04-18T22:54:55Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-18T22:56:51Z mrSpec joined #lisp 2021-04-18T22:57:05Z mrSpec quit (Changing host) 2021-04-18T22:57:05Z mrSpec joined #lisp 2021-04-18T23:01:11Z tempest_nox joined #lisp 2021-04-18T23:01:15Z X-Scale` joined #lisp 2021-04-18T23:02:33Z X-Scale quit (Ping timeout: 240 seconds) 2021-04-18T23:02:34Z X-Scale` is now known as X-Scale 2021-04-18T23:02:47Z cosimone quit (Remote host closed the connection) 2021-04-18T23:03:01Z cosimone joined #lisp 2021-04-18T23:23:16Z mindCrime joined #lisp 2021-04-18T23:25:35Z Kundry_Wag joined #lisp 2021-04-18T23:25:56Z gzj joined #lisp 2021-04-18T23:29:52Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-18T23:30:18Z lotuseater quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-18T23:31:24Z Codaraxis joined #lisp 2021-04-18T23:32:03Z mmontone joined #lisp 2021-04-18T23:33:36Z Kundry_Wag joined #lisp 2021-04-18T23:34:07Z slyrus_ joined #lisp 2021-04-18T23:34:18Z Codaraxis_ quit (Ping timeout: 252 seconds) 2021-04-18T23:36:47Z terpri joined #lisp 2021-04-18T23:42:21Z Nilby joined #lisp 2021-04-18T23:44:25Z mseddon1 quit (Quit: Ping timeout (120 seconds)) 2021-04-18T23:44:45Z mseddon1 joined #lisp 2021-04-18T23:47:20Z Kundry_Wag quit (Remote host closed the connection) 2021-04-18T23:48:16Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-18T23:48:57Z Oladon quit (Quit: Leaving.) 2021-04-18T23:51:15Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-18T23:52:40Z c2f0 quit (Quit: Leaving) 2021-04-19T00:04:40Z cosimone quit (Remote host closed the connection) 2021-04-19T00:07:13Z slyrus_ joined #lisp 2021-04-19T00:11:18Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-19T00:17:15Z igemnace joined #lisp 2021-04-19T00:17:51Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-19T00:18:36Z Spawns_Carpeting joined #lisp 2021-04-19T00:20:26Z nicktick joined #lisp 2021-04-19T00:21:57Z contrapunctus left #lisp 2021-04-19T00:23:02Z mmontone quit (Ping timeout: 240 seconds) 2021-04-19T00:26:14Z slyrus_ joined #lisp 2021-04-19T00:27:46Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-19T00:28:12Z kevingal quit (Remote host closed the connection) 2021-04-19T00:30:26Z slyrus_ quit (Ping timeout: 246 seconds) 2021-04-19T00:31:26Z spaethnl quit (Remote host closed the connection) 2021-04-19T00:34:48Z slyrus_ joined #lisp 2021-04-19T00:38:35Z aartaka joined #lisp 2021-04-19T00:39:25Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-19T00:40:44Z orivej quit (Ping timeout: 265 seconds) 2021-04-19T00:41:31Z aartaka_d quit (Ping timeout: 260 seconds) 2021-04-19T00:43:43Z spaethnl joined #lisp 2021-04-19T00:50:33Z renzhi quit (Ping timeout: 258 seconds) 2021-04-19T00:53:33Z srhm joined #lisp 2021-04-19T00:57:11Z gzj quit (Ping timeout: 268 seconds) 2021-04-19T01:05:02Z Kundry_Wag joined #lisp 2021-04-19T01:05:37Z skapata quit (Remote host closed the connection) 2021-04-19T01:07:27Z Oladon joined #lisp 2021-04-19T01:16:02Z wxie joined #lisp 2021-04-19T01:17:18Z spaethnl quit (Remote host closed the connection) 2021-04-19T01:18:03Z spaethnl joined #lisp 2021-04-19T01:19:34Z slyrus_ joined #lisp 2021-04-19T01:22:04Z spaethnl quit (Remote host closed the connection) 2021-04-19T01:22:44Z spaethnl joined #lisp 2021-04-19T01:24:09Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-19T01:24:15Z sebboh quit (Ping timeout: 250 seconds) 2021-04-19T01:26:34Z spaethnl quit (Remote host closed the connection) 2021-04-19T01:28:07Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-19T01:28:58Z klltkr joined #lisp 2021-04-19T01:28:58Z klltkr quit (Client Quit) 2021-04-19T01:34:40Z slyrus_ joined #lisp 2021-04-19T01:39:13Z slyrus_ quit (Ping timeout: 265 seconds) 2021-04-19T01:39:33Z slyrus_ joined #lisp 2021-04-19T01:48:36Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-19T01:51:05Z spaethnl joined #lisp 2021-04-19T01:51:17Z sebboh joined #lisp 2021-04-19T01:51:20Z akoana left #lisp 2021-04-19T01:55:01Z slyrus_ joined #lisp 2021-04-19T01:59:43Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-19T01:59:45Z Josh_2 quit (Remote host closed the connection) 2021-04-19T02:04:26Z prxq_ joined #lisp 2021-04-19T02:06:07Z sebboh quit (Ping timeout: 260 seconds) 2021-04-19T02:08:26Z prxq quit (Ping timeout: 260 seconds) 2021-04-19T02:08:44Z Kundry_Wag quit (Remote host closed the connection) 2021-04-19T02:13:54Z gabiruh quit (Quit: ZNC 1.7.5 - https://znc.in) 2021-04-19T02:14:10Z gabiruh joined #lisp 2021-04-19T02:15:22Z wikipedofile joined #lisp 2021-04-19T02:16:34Z slyrus_ joined #lisp 2021-04-19T02:19:06Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-19T02:21:40Z slyrus_ quit (Ping timeout: 268 seconds) 2021-04-19T02:22:34Z epony quit (Remote host closed the connection) 2021-04-19T02:23:35Z thmprover quit (Quit: For He Was Great of Heart) 2021-04-19T02:24:02Z bilegeek joined #lisp 2021-04-19T02:27:05Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-19T02:28:51Z wikipedofile quit (Quit: Leaving) 2021-04-19T02:29:03Z wikipedofile joined #lisp 2021-04-19T02:32:50Z sebboh joined #lisp 2021-04-19T02:43:00Z raeda_ quit (Quit: Leaving) 2021-04-19T02:44:19Z slyrus_ joined #lisp 2021-04-19T02:44:48Z DHARMAKAYA joined #lisp 2021-04-19T02:48:40Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-19T02:52:57Z contrapunctus joined #lisp 2021-04-19T02:54:01Z Kundry_Wag joined #lisp 2021-04-19T02:55:59Z wikipedofile quit (Quit: Leaving) 2021-04-19T02:58:18Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-19T02:58:59Z wikipedofile joined #lisp 2021-04-19T03:02:39Z Alfr is now known as Guest74161 2021-04-19T03:02:44Z Alfr joined #lisp 2021-04-19T03:03:20Z curtosis joined #lisp 2021-04-19T03:05:03Z epony joined #lisp 2021-04-19T03:05:13Z Guest74161 quit (Ping timeout: 250 seconds) 2021-04-19T03:05:59Z beach: Good morning everyone! 2021-04-19T03:11:51Z wikipedofile: how do you pronounce lisp? 2021-04-19T03:11:52Z nij` joined #lisp 2021-04-19T03:11:54Z wikipedofile: 1) Llthp 2021-04-19T03:11:57Z wikipedofile: 2) Lorsp 2021-04-19T03:12:01Z wikipedofile: 3) LISP (Faggot) 2021-04-19T03:12:02Z wikipedofile: 4) Lasp 2021-04-19T03:12:20Z nij`: Hi! For people who have experience with other languages, have you seen any documentation that's comprehensive as CLHS? 2021-04-19T03:12:28Z wikipedofile: i have not! it's a great tool 2021-04-19T03:13:34Z slyrus_ joined #lisp 2021-04-19T03:14:06Z nicktick quit (Ping timeout: 240 seconds) 2021-04-19T03:15:07Z nij`: including other lisps? like racket, .. etc? 2021-04-19T03:15:15Z nij`: I've heard that they have great documentations. 2021-04-19T03:16:50Z lukego: speaking of CLHS, is there a way to recognize links to the glossary? for years and years now I've had the problem of constantly landing in the glossary when I am hoping to get somewhere else 2021-04-19T03:17:41Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-19T03:18:04Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-19T03:19:38Z mfiano: clhs 1.4.1.1 2021-04-19T03:19:38Z specbot: Font Key: http://www.lispworks.com/reference/HyperSpec/Body/01_daa.htm 2021-04-19T03:19:44Z beach: nij`: The Common Lisp HyperSpec is the specification for the language, and probably other language standards are as complete. 2021-04-19T03:20:21Z kmeow joined #lisp 2021-04-19T03:20:37Z aartaka_d joined #lisp 2021-04-19T03:22:30Z nij`: i haven't seen specifications of other languages.. a quick search on python's return a debate on stackoverflow 2021-04-19T03:22:40Z Nilby: lukego: I just use the emacs info version where most of the links are broken :-/ 2021-04-19T03:22:43Z nij`: someone says there's someone says there isn't.. 2021-04-19T03:23:32Z aartaka quit (Ping timeout: 240 seconds) 2021-04-19T03:23:33Z nij`: By the way, is there a program that tests if any claim-to-be cl implementation satisfies everything in the specification? 2021-04-19T03:24:08Z wikipedofile quit (Quit: Leaving) 2021-04-19T03:24:17Z aartaka joined #lisp 2021-04-19T03:24:58Z aartaka_d quit (Ping timeout: 252 seconds) 2021-04-19T03:25:46Z no-defun-allowed: https://www.common-lisp.net/project/ansi-test/ 2021-04-19T03:27:26Z beach: nij`: Python does not have a standard. You need to look into true languages, i.e., those with an independent standard. 2021-04-19T03:27:50Z beach: nij`: Python is more a "programming system" than a "language". 2021-04-19T03:28:52Z jcowan: Python is a language with a reference implementation. 2021-04-19T03:29:22Z nij`: What are some true languages? 2021-04-19T03:29:31Z nij`: no-defun-allowed: thanks :D 2021-04-19T03:29:39Z beach: nij`: Put differently, since Python does not have a standard, its documentation is not meant for people implementing Python systems, so it can be less detailed than a standard. 2021-04-19T03:30:34Z beach: nij`: Bye "true language", I mean a language that has a standard that is independent from any implementation of it, and that is controlled by a different organization than any organization providing implementations. 2021-04-19T03:31:10Z jcowan: Languages with US or international standards are: Ada, APT (a numerical control language), Basic, C, C++, Cobol, Common Lisp, Dibol, Forth, Fortran, Mumps/M, PANCM, Pascal, PL/B (aka Databus), PL/I, Rexx, Scheme, Smalltalk, SQL. 2021-04-19T03:31:21Z yonkunas quit (Quit: Connection closed for inactivity) 2021-04-19T03:31:36Z beach: jcowan: Thanks! 2021-04-19T03:31:59Z no-defun-allowed: Ruby has an ISO standard, but from memory it is far from the latest version (Ruby 1.6?) 2021-04-19T03:32:19Z nij`: :-D 2021-04-19T03:32:21Z beach: I hear the situation is the same for C#. 2021-04-19T03:32:38Z mfiano: Missed Prolog and a few more 2021-04-19T03:33:07Z beach: nij`: As I often point out, a project leader or manager who chooses a language without an independent standard for some project, should be fired, because that person jeopardizes the future of the project and perhaps of the company too. 2021-04-19T03:33:49Z semz quit (Ping timeout: 250 seconds) 2021-04-19T03:33:53Z jcowan: That's overblown: some projects (and indeed some companies) won't last long enough for that to matter. 2021-04-19T03:33:57Z xkapastel quit (Quit: Connection closed for inactivity) 2021-04-19T03:34:09Z jcowan: Yes, I missed Prolog and Ruby 2021-04-19T03:34:42Z nij`: haha beach that sounds like most of them are doing 2021-04-19T03:35:13Z nij`: so.. i can also find C's specification that's as comprehensive as cl? 2021-04-19T03:35:25Z no-defun-allowed: Perhaps they shouldn't have spent so much on the HMS Titanic, because it sunk in the end. 2021-04-19T03:35:29Z nij`: hmm.. the list seems to contain some fairly old langs 2021-04-19T03:35:55Z mfiano: and APL, ALGOL60, C#, CHILL, ECMAScript, Eiffel, ISLISP, JavaScript, Modula-2, PL/I 2021-04-19T03:36:26Z beach: nij`: Yes, The standards document for C is quite detailed. 2021-04-19T03:36:57Z beach: nij`: That's the good thing about standards. They don't go away over time. 2021-04-19T03:38:10Z nij`: until one day no one uses english anymore 2021-04-19T03:38:14Z beach: nij`: Many do that because they have no training or insight into what it means to be project leaders for programming projects. 2021-04-19T03:38:30Z nij`: I wonder if there's a way to encode info so that even aliens can surely decode 2021-04-19T03:38:51Z nij`: beach: or maybe they just want to ship and earn some livings quickly 2021-04-19T03:40:30Z no-defun-allowed: They don't have to write standards, only use them. Or is there some other reason that one would not ship as soon? 2021-04-19T03:41:55Z nij`: by the way, why is asdf:*central-registry* unrecommended? 2021-04-19T03:42:06Z beach: nij`: no-defun-allowed is right. Choosing a language without a standard does not make things faster. Just worse. 2021-04-19T03:42:13Z cowona joined #lisp 2021-04-19T03:42:41Z frost-lab joined #lisp 2021-04-19T03:46:09Z slyrus_ joined #lisp 2021-04-19T03:46:42Z imode: pretty sure a lot of companies are operating just fine on languages without a formal standard. 2021-04-19T03:47:01Z imode: sure, they suffer a bit more. but there's usually a de-facto implementation somewhere, even with the standard. 2021-04-19T03:47:30Z semz joined #lisp 2021-04-19T03:47:30Z semz quit (Changing host) 2021-04-19T03:47:30Z semz joined #lisp 2021-04-19T03:47:37Z imode: people who build the services you use typically care about the standards of protocols more than they do the standards of their languages, because they're not using obscure languages with dubious long term support... *ahem* some of them aren't. 2021-04-19T03:47:52Z no-defun-allowed: And our hearts are with them... 2021-04-19T03:47:59Z beach: imode: Yes, many do. But some others don't. And none of them seem to write up a risk analysis to see the consequences when things go bad. 2021-04-19T03:48:25Z imode: as someone who's involved with much of the infrastructure powering Amazon, trust me, that's the farthest thing from a risk. 2021-04-19T03:49:11Z imode: the real risk is the tools and languages developed in-house with no documentation around them, let alone a standard. 2021-04-19T03:49:19Z imode: finding maintainers is a risk. 2021-04-19T03:49:38Z imode: overcoming promotion driven development cycles with competent maintenence teams is a risk. 2021-04-19T03:49:53Z imode: "does a language have a standard" is not on any radar. 2021-04-19T03:50:22Z beach: imode: Large companies can afford to have a team that takes up the role of the supplier of the "programming system" they want to use, but that's not the case for many small and medium-sized companies that I see choosing languages without a standard. 2021-04-19T03:50:41Z slyrus_ quit (Ping timeout: 265 seconds) 2021-04-19T03:50:52Z imode: small and medium-sized companies are not going to last long enough in their current state to care about language standards. 2021-04-19T03:51:06Z jcowan: Exactly. 2021-04-19T03:51:28Z imode: and by "last long enough" I mean have a product that extracts enough "feature juice" from a particular language to suddenly break when the reference implementation changes. 2021-04-19T03:51:45Z imode: this is by no means me arguing against language standardization. that's the good shit. 2021-04-19T03:51:54Z no-defun-allowed: A presentation run by AWS employees was one of the last "influences" for myself writing a lock-freee hash table. 2021-04-19T03:52:08Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-19T03:52:29Z karlosz joined #lisp 2021-04-19T03:52:33Z imode: most of AWS' design decisions, internally and externally, make you want to write everything from scratch. 2021-04-19T03:55:09Z imode: fwiw we have a custom lisp powering most of the stuff I do. 2021-04-19T03:55:21Z no-defun-allowed: Particuarly that the premise was complaining about garbage collection pauses and generally poor throughput, then using one lock for the in-memory database. Great presentation! 2021-04-19T03:58:13Z karlosz quit (Ping timeout: 240 seconds) 2021-04-19T03:58:14Z no-defun-allowed: And then says "we matched the performance of DB on this test only involving trivial reads and writes, my work here is done." What a crock of shit. But I am supposed to paying attention in class, so I'll shut up now. 2021-04-19T03:58:56Z imode: I mean. outdo them. 2021-04-19T03:59:21Z no-defun-allowed: At that point, sure, you can afford to be an idiot. 2021-04-19T04:00:14Z aartaka_d joined #lisp 2021-04-19T04:00:23Z imode: calling people idiots is usually frowned upon. 2021-04-19T04:02:08Z srhm quit (Quit: Konversation terminated!) 2021-04-19T04:02:36Z no-defun-allowed: Yes, I'm careful about saying it out loud. 2021-04-19T04:03:21Z imode: judging software developers by the things they don't know isn't really a productive activity unless you care about stroking your own ego. 2021-04-19T04:03:48Z aartaka quit (Ping timeout: 252 seconds) 2021-04-19T04:04:15Z aartaka joined #lisp 2021-04-19T04:04:17Z aartaka_d quit (Ping timeout: 246 seconds) 2021-04-19T04:05:21Z no-defun-allowed: Or, given that they sell servers, maybe fooling potential customers into writing slow programs makes more money. 2021-04-19T04:06:20Z imode: I can safely say that between the inefficiency hypothesis and the ignorance hypothesis, the latter has more evidence. 2021-04-19T04:12:21Z slyrus_ joined #lisp 2021-04-19T04:13:52Z slyrus__ joined #lisp 2021-04-19T04:13:52Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-19T04:17:31Z bjorkintosh joined #lisp 2021-04-19T04:18:50Z slyrus__ quit (Ping timeout: 268 seconds) 2021-04-19T04:29:27Z bitmapper joined #lisp 2021-04-19T04:32:45Z aeth_ joined #lisp 2021-04-19T04:32:56Z aeth quit (Disconnected by services) 2021-04-19T04:32:58Z Inline quit (Quit: Leaving) 2021-04-19T04:33:10Z aeth_ is now known as aeth 2021-04-19T04:35:58Z jonatack quit (Ping timeout: 240 seconds) 2021-04-19T04:37:55Z jonatack joined #lisp 2021-04-19T04:39:27Z aartaka quit (Read error: Connection reset by peer) 2021-04-19T04:39:31Z aartaka_d joined #lisp 2021-04-19T04:39:58Z refpga joined #lisp 2021-04-19T04:45:27Z karlosz joined #lisp 2021-04-19T04:46:48Z slyrus_ joined #lisp 2021-04-19T04:46:56Z gaqwas joined #lisp 2021-04-19T04:46:56Z gaqwas quit (Changing host) 2021-04-19T04:46:56Z gaqwas joined #lisp 2021-04-19T04:47:56Z refpga quit (Remote host closed the connection) 2021-04-19T04:48:07Z refpga joined #lisp 2021-04-19T04:49:13Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-19T04:54:06Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-19T04:57:42Z refpga quit (Remote host closed the connection) 2021-04-19T04:59:43Z remby joined #lisp 2021-04-19T05:04:08Z rumbler31 joined #lisp 2021-04-19T05:04:14Z tempest_nox quit (Remote host closed the connection) 2021-04-19T05:08:05Z slyrus_ joined #lisp 2021-04-19T05:08:18Z rumbler31 quit (Ping timeout: 240 seconds) 2021-04-19T05:11:12Z shka_ joined #lisp 2021-04-19T05:12:18Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-19T05:13:58Z slyrus_ joined #lisp 2021-04-19T05:17:25Z DHARMAKAYA joined #lisp 2021-04-19T05:18:06Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-19T05:19:23Z cobax quit (Ping timeout: 240 seconds) 2021-04-19T05:38:24Z Stanley00 joined #lisp 2021-04-19T05:42:38Z Stanley00 quit (Ping timeout: 240 seconds) 2021-04-19T05:45:23Z bilegeek quit (Quit: Leaving) 2021-04-19T05:46:04Z anticrisis quit (Read error: Connection reset by peer) 2021-04-19T05:46:31Z anticrisis joined #lisp 2021-04-19T05:47:22Z slyrus_ joined #lisp 2021-04-19T05:52:42Z Oladon quit (Quit: Leaving.) 2021-04-19T05:53:04Z gaqwas quit (Ping timeout: 252 seconds) 2021-04-19T05:54:34Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-19T06:06:44Z karlosz quit (Quit: karlosz) 2021-04-19T06:13:13Z slyrus_ joined #lisp 2021-04-19T06:14:17Z hjudt joined #lisp 2021-04-19T06:14:17Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-19T06:14:34Z slyrus_ joined #lisp 2021-04-19T06:15:54Z HDurer quit (Remote host closed the connection) 2021-04-19T06:19:05Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-19T06:21:03Z remby quit (Quit: remby) 2021-04-19T06:25:25Z slyrus_ joined #lisp 2021-04-19T06:27:11Z attila_lendvai_ joined #lisp 2021-04-19T06:29:41Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-19T06:34:08Z rjcks joined #lisp 2021-04-19T06:34:52Z sveit quit (Ping timeout: 240 seconds) 2021-04-19T06:34:55Z thonkpod quit (Ping timeout: 260 seconds) 2021-04-19T06:35:21Z simplegauss quit (Ping timeout: 245 seconds) 2021-04-19T06:37:14Z thonkpod joined #lisp 2021-04-19T06:38:23Z simplegauss joined #lisp 2021-04-19T06:38:23Z sveit joined #lisp 2021-04-19T06:45:58Z johannes_ joined #lisp 2021-04-19T06:46:28Z gzj joined #lisp 2021-04-19T06:46:48Z wxie quit (Remote host closed the connection) 2021-04-19T06:49:05Z orivej joined #lisp 2021-04-19T06:49:05Z gzj quit (Read error: Connection reset by peer) 2021-04-19T06:49:25Z gzj joined #lisp 2021-04-19T06:50:22Z daphnis joined #lisp 2021-04-19T06:52:07Z gzj quit (Remote host closed the connection) 2021-04-19T06:52:27Z gzj joined #lisp 2021-04-19T06:55:09Z wxie joined #lisp 2021-04-19T06:56:02Z slyrus_ joined #lisp 2021-04-19T06:57:55Z rjcks quit (Quit: leaving) 2021-04-19T06:57:57Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-19T07:00:20Z slyrus_ quit (Ping timeout: 246 seconds) 2021-04-19T07:02:29Z gzj quit (Remote host closed the connection) 2021-04-19T07:02:50Z gzj joined #lisp 2021-04-19T07:04:40Z gzj quit (Remote host closed the connection) 2021-04-19T07:04:59Z gzj joined #lisp 2021-04-19T07:06:22Z karlosz joined #lisp 2021-04-19T07:09:22Z amk joined #lisp 2021-04-19T07:13:55Z slyrus_ joined #lisp 2021-04-19T07:15:33Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-19T07:15:40Z aartaka joined #lisp 2021-04-19T07:18:46Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-19T07:18:52Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-19T07:27:31Z amb007 quit (Read error: Connection reset by peer) 2021-04-19T07:27:52Z amb007 joined #lisp 2021-04-19T07:28:02Z slyrus_ joined #lisp 2021-04-19T07:28:08Z surabax joined #lisp 2021-04-19T07:32:11Z slyrus_ quit (Ping timeout: 246 seconds) 2021-04-19T07:33:50Z pve joined #lisp 2021-04-19T07:38:38Z imode quit (Ping timeout: 268 seconds) 2021-04-19T07:46:13Z fourier joined #lisp 2021-04-19T07:50:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-19T07:50:21Z amb007 joined #lisp 2021-04-19T07:56:26Z prxq_ quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-19T07:56:36Z prxq joined #lisp 2021-04-19T08:00:32Z slyrus_ joined #lisp 2021-04-19T08:00:37Z GZJ0X_ joined #lisp 2021-04-19T08:03:33Z gzj quit (Ping timeout: 240 seconds) 2021-04-19T08:05:01Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-19T08:07:19Z hendursa1 joined #lisp 2021-04-19T08:09:33Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-19T08:14:11Z GZJ0X_ quit (Ping timeout: 260 seconds) 2021-04-19T08:14:19Z anticrisis quit (Read error: Connection reset by peer) 2021-04-19T08:14:39Z slyrus_ joined #lisp 2021-04-19T08:19:13Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-19T08:24:47Z nicktick joined #lisp 2021-04-19T08:26:43Z ljavorsk joined #lisp 2021-04-19T08:27:25Z lotuseater joined #lisp 2021-04-19T08:32:47Z slyrus_ joined #lisp 2021-04-19T08:37:06Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-19T08:50:02Z bb010g joined #lisp 2021-04-19T08:50:48Z kevingal joined #lisp 2021-04-19T08:53:02Z contrapunctus left #lisp 2021-04-19T08:54:52Z contrapunctus joined #lisp 2021-04-19T09:00:40Z contrapunctus left #lisp 2021-04-19T09:01:31Z OlCe joined #lisp 2021-04-19T09:03:05Z contrapunctus joined #lisp 2021-04-19T09:03:53Z rumbler31 joined #lisp 2021-04-19T09:05:14Z slyrus_ joined #lisp 2021-04-19T09:07:27Z wxie quit (Quit: wxie) 2021-04-19T09:08:14Z rumbler31 quit (Ping timeout: 265 seconds) 2021-04-19T09:09:53Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-19T09:12:37Z wxie joined #lisp 2021-04-19T09:14:10Z beach: What URL should I use for CMUCL in my paper? 2021-04-19T09:15:04Z beach: https://www.cons.org/cmucl/ ? 2021-04-19T09:17:20Z vv8 quit (Remote host closed the connection) 2021-04-19T09:17:41Z Necktwi quit (Quit: leaving) 2021-04-19T09:19:21Z nicktick quit (Ping timeout: 265 seconds) 2021-04-19T09:28:00Z CL-ASHOK joined #lisp 2021-04-19T09:28:50Z antoszka joined #lisp 2021-04-19T09:30:09Z CL-ASHOK quit (Client Quit) 2021-04-19T09:31:26Z slyrus_ joined #lisp 2021-04-19T09:33:01Z slyrus__ joined #lisp 2021-04-19T09:33:01Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-19T09:37:11Z slyrus__ quit (Ping timeout: 240 seconds) 2021-04-19T09:39:06Z karlosz quit (Quit: karlosz) 2021-04-19T09:43:02Z vv8 joined #lisp 2021-04-19T09:48:05Z kevingal_ joined #lisp 2021-04-19T09:49:46Z theBlackDragon quit (Ping timeout: 240 seconds) 2021-04-19T09:50:11Z kevingal quit (Ping timeout: 248 seconds) 2021-04-19T09:56:46Z OlCe quit (Ping timeout: 268 seconds) 2021-04-19T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-19T10:05:33Z OlCe joined #lisp 2021-04-19T10:06:24Z slyrus_ joined #lisp 2021-04-19T10:10:26Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-19T10:16:06Z OlCe quit (Ping timeout: 240 seconds) 2021-04-19T10:19:04Z frgo quit (Remote host closed the connection) 2021-04-19T10:19:30Z frgo joined #lisp 2021-04-19T10:20:41Z dilated_dinosaur quit (Remote host closed the connection) 2021-04-19T10:21:48Z slyrus_ joined #lisp 2021-04-19T10:24:10Z Kundry_Wag joined #lisp 2021-04-19T10:24:46Z wxie quit (Ping timeout: 240 seconds) 2021-04-19T10:26:14Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-19T10:26:16Z daphnis quit (Ping timeout: 252 seconds) 2021-04-19T10:28:35Z Kundry_Wag quit (Ping timeout: 246 seconds) 2021-04-19T10:33:25Z theBlackDragon joined #lisp 2021-04-19T10:39:15Z fourier quit (Changing host) 2021-04-19T10:39:15Z fourier joined #lisp 2021-04-19T10:42:19Z beach` joined #lisp 2021-04-19T10:43:05Z beach quit (Disconnected by services) 2021-04-19T10:43:09Z beach` is now known as beach 2021-04-19T10:48:00Z slyrus_ joined #lisp 2021-04-19T10:52:12Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-19T10:52:50Z rogersm joined #lisp 2021-04-19T10:55:40Z vegansbane6963 joined #lisp 2021-04-19T10:56:01Z kevingal joined #lisp 2021-04-19T10:57:55Z kevingal_ quit (Ping timeout: 248 seconds) 2021-04-19T11:00:05Z daphnis joined #lisp 2021-04-19T11:03:45Z OlCe joined #lisp 2021-04-19T11:06:39Z aindilis quit (Remote host closed the connection) 2021-04-19T11:07:27Z aindilis` joined #lisp 2021-04-19T11:12:00Z kevingal quit (Remote host closed the connection) 2021-04-19T11:13:16Z kevingal joined #lisp 2021-04-19T11:15:40Z kevingal quit (Remote host closed the connection) 2021-04-19T11:19:00Z klltkr joined #lisp 2021-04-19T11:19:49Z andrei-n joined #lisp 2021-04-19T11:20:40Z kevingal joined #lisp 2021-04-19T11:20:52Z Xach: beach: i usually go to cmucl.org, i'm not sure which is canonical 2021-04-19T11:22:09Z varjag joined #lisp 2021-04-19T11:22:16Z slyrus_ joined #lisp 2021-04-19T11:23:19Z igemnace quit (Remote host closed the connection) 2021-04-19T11:26:41Z slyrus_ quit (Ping timeout: 246 seconds) 2021-04-19T11:27:18Z jackdaniel: https://gitlab.common-lisp.net/cmucl/cmucl/-/wikis/home#additional-information states: 2021-04-19T11:27:31Z jackdaniel: that cmucl.org is the canonical 2021-04-19T11:31:18Z slyrus_ joined #lisp 2021-04-19T11:35:34Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-19T11:39:51Z kevingal quit (Remote host closed the connection) 2021-04-19T11:40:09Z andrei-n quit (Ping timeout: 260 seconds) 2021-04-19T11:40:56Z kevingal joined #lisp 2021-04-19T11:48:00Z bb010g quit (Quit: Connection closed for inactivity) 2021-04-19T11:51:22Z sabra joined #lisp 2021-04-19T11:54:13Z vv8 quit (Quit: EXIT) 2021-04-19T11:54:35Z vv8 joined #lisp 2021-04-19T11:56:42Z nij`: Fasl v.s. machine binary code, which one is faster? 2021-04-19T11:58:06Z jdz: mu 2021-04-19T11:58:45Z no-defun-allowed: A Lisp implementation does not (usually) directly execute from a FASL. 2021-04-19T12:00:35Z scm joined #lisp 2021-04-19T12:01:22Z nij`: ? 2021-04-19T12:02:03Z andrei-n joined #lisp 2021-04-19T12:02:55Z Xach: nij`: fasl is a generic term for a file that is loaded into a lisp, in theory faster than compiling and loading a source code file. it cannot be meaningfully compared to machine binary code for execution speed. 2021-04-19T12:03:12Z no-defun-allowed: Runtime performance shouldn't be affected by whether the program was loaded from a FASL or a binary object file (though those aren't mutually exclusive; from memory ECL uses object files [think foo.o] as FASLs). Or is there another meaning of "faster"? 2021-04-19T12:08:01Z nicktick joined #lisp 2021-04-19T12:09:31Z ljavorsk quit (Remote host closed the connection) 2021-04-19T12:09:41Z nij`: Hmm. IIUC, fasl is good while being loaded? After it's loaded, the loaded part is binary anyways? 2021-04-19T12:09:52Z ljavorsk joined #lisp 2021-04-19T12:10:02Z Alfr: nij`, it's implementation dependent. 2021-04-19T12:10:44Z scm quit (Quit: Leaving) 2021-04-19T12:14:50Z kmeow quit (Remote host closed the connection) 2021-04-19T12:18:02Z nij`: i see 2021-04-19T12:19:01Z nij`: i just watched phoe's chat with another youtube guy this jan. i haven't had much coding experience.. but it sounds like the way cl handles conditions is very natural. 2021-04-19T12:19:28Z nij`: is it the case that many other languages, especially those major ones, don't have such conditions handling system? 2021-04-19T12:20:36Z no-defun-allowed: Yes. 2021-04-19T12:22:22Z nij`: I'm very surprised.. 2021-04-19T12:22:51Z no-defun-allowed: I am not. 2021-04-19T12:23:12Z OlCe quit (Remote host closed the connection) 2021-04-19T12:24:02Z rodriga joined #lisp 2021-04-19T12:24:26Z OlCe joined #lisp 2021-04-19T12:24:26Z attila_lendvai_ quit (Ping timeout: 260 seconds) 2021-04-19T12:24:28Z no-defun-allowed: "Modern" programming languages frequently drop out even boring exception systems, which might help with handling every error case somehow, but makes it tedious to "bubble up" exceptions, let alone use restarts to fix them in a modular manner. 2021-04-19T12:25:09Z nij`: How do they handle errors than? 2021-04-19T12:25:17Z nij`: then*? Just to kill them all? 2021-04-19T12:25:27Z slyrus_ joined #lisp 2021-04-19T12:26:12Z no-defun-allowed: By using special return values. The "innovation" is that they can't be confused with success values (as in C) as either kind of value is extracted in a different way. 2021-04-19T12:28:49Z nij`: I wonder if that's really worse, industrial-wise speaking. Maybe that's more about the KISS principle..i dk. 2021-04-19T12:29:32Z no-defun-allowed: Often the handlers written just crash, which I would argue can be done nicer with exceptions, by leaving the decision of whether to crash or not to someone else. 2021-04-19T12:30:05Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-19T12:30:40Z slyrus_ joined #lisp 2021-04-19T12:30:48Z nij`: I see. 2021-04-19T12:30:49Z no-defun-allowed: At this point I'm pretty sure there is no point to ever calling something simple. 2021-04-19T12:31:22Z nij`: "Let the program crashes and let the programmers fix them." 2021-04-19T12:31:31Z nij`: This seems fairly simple to me. 2021-04-19T12:31:34Z frost-lab quit (Quit: Connection closed) 2021-04-19T12:31:45Z slyrus_ quit (Read error: Connection reset by peer) 2021-04-19T12:31:47Z OlCe quit (Ping timeout: 246 seconds) 2021-04-19T12:32:07Z slyrus_ joined #lisp 2021-04-19T12:32:16Z no-defun-allowed: Some people would say C is simple, as you can point to any expression in isolation and understand what it does. But then I'd say you just write more not-simple code, and any expression isn't doing much at all. 2021-04-19T12:32:41Z saganman joined #lisp 2021-04-19T12:32:53Z nij`: Ah yes. The simplicity of tools and actions are almost always contradicting each other. 2021-04-19T12:33:15Z nij`: And (eq 'simple 'easy) => f 2021-04-19T12:33:35Z nij`: But I get what you mean. 2021-04-19T12:34:11Z nij`: I'm just wondering if the powerful condition handling system of CL is something that's really good for the both sides, or it's another kind of curse of lisp. 2021-04-19T12:34:45Z OlCe joined #lisp 2021-04-19T12:34:58Z no-defun-allowed: Again with some goddamn "curse"? 2021-04-19T12:35:21Z saganman: lol 2021-04-19T12:35:40Z nij`: Uhh is it not polite to say it here. I apologize in advance.. 2021-04-19T12:35:43Z no-defun-allowed: I suppose Dylan also has restarts, but it is mostly CL with Pascal syntax and without interactivity (as long as the debugger won't run on non-Windows). 2021-04-19T12:35:46Z attila_lendvai joined #lisp 2021-04-19T12:36:15Z saganman: aren't there lot of ways for conditional handling in lisp? 2021-04-19T12:36:37Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-19T12:36:44Z no-defun-allowed: Oh no, I am sure most #lisp people would believe that nonsense. Can't be making your life any easier. 2021-04-19T12:37:00Z nij`: What's "that"? Curse of Lisp? 2021-04-19T12:37:40Z no-defun-allowed: saganman: As in control flow? The "condition system" is just one abstraction over control flow. 2021-04-19T12:37:49Z no-defun-allowed: Yes. 2021-04-19T12:38:11Z saganman: yeah 2021-04-19T12:38:25Z attila_lendvai quit (Remote host closed the connection) 2021-04-19T12:38:30Z nij`: Oooops.. I foudd it making a whole lot of sense.. will be happy if someone'd take time educating me. 2021-04-19T12:38:37Z saganman: it has lot more ways than other programming languages 2021-04-19T12:38:42Z attila_lendvai joined #lisp 2021-04-19T12:38:42Z attila_lendvai quit (Changing host) 2021-04-19T12:38:42Z attila_lendvai joined #lisp 2021-04-19T12:38:55Z nij`: I'd imagine it'd be a drawback for industrial people. 2021-04-19T12:39:27Z no-defun-allowed: (I would also say that some standard CL functions have other ideas of returning non-normal values. GETF takes a default value, FIND, POSITION, ASSOC and others return NIL, GETHASH returns two values and so on.) 2021-04-19T12:40:18Z no-defun-allowed: How would better error handling be a drawback? 2021-04-19T12:41:10Z nij`: If there are many ways to do X, for individuals it's better, but for a group it's harder. 2021-04-19T12:41:33Z nij`: They'd have to communicate which one to use, but with the freedom it's hard to specify. 2021-04-19T12:41:33Z MrtnDk[m]: I wonder if nij` is nij and is they're trying to post Guix stuff to NixOS or some other distribution? 2021-04-19T12:41:46Z MrtnDk[m]: nij` even ... 2021-04-19T12:41:51Z nij`: Im nij. 2021-04-19T12:41:59Z bitmapper joined #lisp 2021-04-19T12:42:07Z MrtnDk[m]: OK 2021-04-19T12:42:07Z nij`: MrtnDk[m]: I wasn't trying to post guix stuff to nixos @@ why? 2021-04-19T12:42:11Z no-defun-allowed: There is still only one way to establish restarts and signal conditions and so on. It just happens to be better at it. 2021-04-19T12:42:56Z no-defun-allowed: Any "professional" group tends to set standards on what constructs should be preferred, e.g. the Google Lisp style guide. 2021-04-19T12:42:59Z attila_lendvai quit (Remote host closed the connection) 2021-04-19T12:43:12Z attila_lendvai joined #lisp 2021-04-19T12:43:12Z attila_lendvai quit (Changing host) 2021-04-19T12:43:12Z attila_lendvai joined #lisp 2021-04-19T12:43:34Z nij`: Yeah but if the language they use is stupid enough, the workers are regulated automatically. 2021-04-19T12:43:37Z MrtnDk[m]: nij Sorry, my typo. I was wondering if you're just a Guix user, or if you're trying to port (not post, that was a typo) something. 2021-04-19T12:43:56Z nij`: But on the other hand.. they'll have to write more ugly codes.. which will turn into another type of cost anyway. 2021-04-19T12:44:24Z no-defun-allowed: Then you have unproductive and unsatisfied workers. And in any other context, you are just restraining the creative process. 2021-04-19T12:44:29Z nij`: MrtnDk[m]: I was trying to use Guix and learned something. Got a bit burned out yesterday partly because I have no experience with Scheme. 2021-04-19T12:44:38Z nij`: But it's been fun. I don't mind learning very slowly. 2021-04-19T12:44:57Z no-defun-allowed: I may flip the argument around (as Alan Kay did once), and say that you are stuck with the "tyranny of a single implementation" in that case. 2021-04-19T12:46:51Z no-defun-allowed: My previous statement on unproductive workers is very similar to the statement on the importance of an average snippet of C code. 2021-04-19T12:47:06Z nij`: no-defun-allowed: I get that. I still believe that both ways have their pros and cons, and the curse of Lisp is a real thing. Could be a (wildly) naive viewpoint though.. I don't deny. 2021-04-19T12:47:32Z no-defun-allowed: Well, what can I say. 2021-04-19T12:48:12Z nij`: If you are willing to, you could share why you don't think that's a thing. I'm not here for a war, but to really learn great viewpoints from you. 2021-04-19T12:48:21Z nij`: (Really :) But I don't want to be pushy.) 2021-04-19T12:48:30Z daphnis quit (Ping timeout: 252 seconds) 2021-04-19T12:48:36Z no-defun-allowed: Same thing I told you last time: "Man, your head is haunted, you have bats in your belfry!" 2021-04-19T12:48:53Z nij`: On the haskell thing xD? 2021-04-19T12:49:36Z nij`: To take off bats from my belfry, the best thing I could do is to talk to experienced people. 2021-04-19T12:49:52Z no-defun-allowed: The last time you bored me with this phantasm of the "curse of Lisp". 2021-04-19T12:50:42Z nij`: :( 2021-04-19T12:51:00Z nij`: BTW (a completely different question..), can I dry-run asdf and see what packages it will grab, given a (defsystem..)? 2021-04-19T12:51:31Z Shinmera: "grab"? 2021-04-19T12:51:41Z nij`: no-defun-allowed: Hey cool off. I'm just a naive noob who wants to learn. Sorry to have bored you though. 2021-04-19T12:52:18Z nij`: Shinmera: yeah.. like which path will it be looking at. 2021-04-19T12:52:33Z Shinmera: what do paths have to do with packages 2021-04-19T12:53:22Z nij`: Shinmera: for example, in `:depends-on ("optima.ppcre" "command-line-arguments")`, asdf will look for "optima.ppcre" in my machine. 2021-04-19T12:53:38Z elflng quit (Ping timeout: 240 seconds) 2021-04-19T12:53:51Z no-defun-allowed: You want to know where a system is stored? 2021-04-19T12:54:01Z nij`: But there might be many "optima.ppcre". I'd hope to dry run and see a list of all "optima.ppcre" it finds (with the first thing being what it will load). 2021-04-19T12:54:19Z Shinmera: there may not be many. 2021-04-19T12:54:31Z nij`: Shinmera: On guix there will be, I suppose. 2021-04-19T12:54:33Z Shinmera: I explained this to you before. ASDF can only know of one system definition at once. 2021-04-19T12:54:38Z no-defun-allowed: I know of asdf:system-relative-pathname, and there is likely another function for finding the pathname of the asd file used. 2021-04-19T12:55:27Z nij`: Shinmera: ASDF will look for the asd files by how it's configured, and load the first one it's found. Is that right? (based on my impression of skimming through the manual this morning) 2021-04-19T12:55:51Z Shinmera: I don't know about first found, but what it find depends on its configuration, sure. 2021-04-19T12:56:53Z no-defun-allowed: nij`: I'm sorry that I came off that way. In summary, my view is that one requires incompatible experiments in order to make a _good_ decision, rather than _a_ decision (which is apparently preferable to some people). 2021-04-19T12:58:11Z ljavorsk quit (Ping timeout: 240 seconds) 2021-04-19T12:58:43Z Kundry_Wag joined #lisp 2021-04-19T13:00:49Z hypercube quit (Ping timeout: 252 seconds) 2021-04-19T13:01:19Z no-defun-allowed: But as Shinmera said, ASDF only uses one system per name. And systems are not packages. 2021-04-19T13:02:40Z nij`: Yeah.. but I'd hope I can _dry-run_ ASDF, sort of like using ASDF as a search engine, and see what file it _would_ load if not being dry-run. 2021-04-19T13:03:16Z flip214: nij`: run ASDF with an invalid source directory and catch the conditions that are thrown ;) 2021-04-19T13:03:17Z Shinmera: You can't, really. Even figuring out where the systems are may load systems. 2021-04-19T13:03:59Z OlCe quit (Ping timeout: 246 seconds) 2021-04-19T13:04:54Z Bike joined #lisp 2021-04-19T13:05:24Z nij`: flip214: ? what do you mean? 2021-04-19T13:05:33Z no-defun-allowed: Is that because of :defsystem-depends-on? I am not that familiar with ASDF. 2021-04-19T13:05:54Z Shinmera: no-defun-allowed: that, and ASD files being Lisp source files that can generally do whatever they want. 2021-04-19T13:06:03Z no-defun-allowed: True. 2021-04-19T13:06:06Z Alfr: nij`, asdf:locate-system 2021-04-19T13:06:13Z Shinmera: no-defun-allowed: systems might even be defined programmatically with no canonical file to define them 2021-04-19T13:07:09Z nij`: Alfr: (asdf:locate-system :asdf) doesn't return where asdf is XD! 2021-04-19T13:07:16Z nij`: Oh, but it did for local-time. 2021-04-19T13:07:29Z nij`: Hmm.. this is good, but i'd hope I can dry-run. 2021-04-19T13:07:34Z slyrus_ joined #lisp 2021-04-19T13:08:09Z nij`: And also, I'd hope asdf can search all systems that satisfy the requirement given in the (defsystem..) code. 2021-04-19T13:08:27Z Alfr: nij`, unless asdf.asd can be found with your source-registry configuration, it won't show. 2021-04-19T13:08:27Z no-defun-allowed: Also possible, yes. 2021-04-19T13:09:28Z nij`: no-defun-allowed: dry-run is possible? 2021-04-19T13:10:01Z no-defun-allowed: I meant that systems can be produced without a defsystem, as Shinmera pointed out. 2021-04-19T13:10:48Z no-defun-allowed: Loosely speaking, loading a system can run arbitrary code in here and there and a few other places, so a dry run would not be possible. 2021-04-19T13:11:49Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-19T13:12:01Z Shinmera: not just loading a system, but even just loading its definition. 2021-04-19T13:13:53Z wsinatra joined #lisp 2021-04-19T13:15:02Z no-defun-allowed: Yep. 2021-04-19T13:15:09Z skapata joined #lisp 2021-04-19T13:15:19Z daphnis joined #lisp 2021-04-19T13:17:29Z andrei-n quit (Quit: Leaving) 2021-04-19T13:17:56Z waleee-cl joined #lisp 2021-04-19T13:18:06Z nij`: So what I need (to write perhaps on my own) is a function that intakes the definition and the current configuration of asdf, and outputs a list of paths that would be loaded. 2021-04-19T13:18:27Z MrFantastik joined #lisp 2021-04-19T13:18:39Z jeosol quit (Quit: Connection closed) 2021-04-19T13:18:47Z MrFantastik: is there a preffered pastebin for this channel? 2021-04-19T13:20:42Z Shinmera: Quite a few use https://plaster.tymoon.eu 2021-04-19T13:20:50Z Shinmera: But it doesn't really matter? 2021-04-19T13:21:53Z MrFantastik: https://plaster.tymoon.eu/view/2397#2397 2021-04-19T13:22:07Z MrFantastik: I've been shamed for using pastebin before 2021-04-19T13:22:19Z Alfr: nij`, you might want to look into asdf's make-plan. 2021-04-19T13:22:20Z MrFantastik: So i feel like its prudent to ask 2021-04-19T13:22:55Z Bike: you have QUERYSTRING quoted, which you probably don't want 2021-04-19T13:23:32Z MrFantastik: the example for :query in quri uses quotes 2021-04-19T13:23:49Z MrFantastik: but that is correct I don't want lol 2021-04-19T13:23:57Z contrapunctus: I noticed that a Lisp program had a package definition which exported :foo, but the function it meant to exported was called bar. And when you think about it, that's duplication...is there a way to specify that a symbol is to be exported, within the defining form itself? 2021-04-19T13:23:57Z MrFantastik: but I'm not sure how to proceed 2021-04-19T13:24:10Z Bike: wel, the example isn't doing what you want, then 2021-04-19T13:24:12Z nij`: Alfr!! That seems what I want but isn't well documented in the manual. 2021-04-19T13:24:16Z Bike: probably you just want to backquote 2021-04-19T13:24:17Z contrapunctus: meant to * export 2021-04-19T13:24:45Z Alfr: nij`, you'll have to dive into the sources, it think. 2021-04-19T13:25:01Z MrFantastik: backquote has same result 2021-04-19T13:25:17Z Bike: i meant: `(("output" . "firefox") ("search" . ,querystring)) 2021-04-19T13:25:22Z Bike: the comma means "actually evaluate this part" 2021-04-19T13:25:29Z MrFantastik: interesting! 2021-04-19T13:25:42Z MrFantastik: that works 2021-04-19T13:25:48Z Bike: regular quotation means, straightforwardly, do not evaluate this 2021-04-19T13:25:49Z Alfr: nij`, tough beware, it will load the .asd files, so whatever actions happen in these will be run. 2021-04-19T13:26:04Z Bike: so with your first attempt you construct a cons of ("SEARCH" . QUERYSTRING), a string and a symbol 2021-04-19T13:26:16Z Bike: and it interprets the symbol as a designator for the string "QUERYSTRING", thus the result 2021-04-19T13:27:28Z Bike: contrapunctus: i don't think it's really duplication - one defines the function/whatever and one defines the interface. If you want to keep a function but unexport it later you can just remove it from the package exports list later without touching the function code. 2021-04-19T13:27:36Z Bike: contrapunctus: but if you really want you could define a macro that calls EXPORT 2021-04-19T13:28:38Z nij`: Alfr: yeah I'd have to extract the parts that make the pure plan. 2021-04-19T13:28:48Z nij`: Thanks a lot :) 2021-04-19T13:29:16Z contrapunctus: Bike: thanks, glad to know there's another way. 2021-04-19T13:30:41Z jeosol joined #lisp 2021-04-19T13:31:08Z varjag quit (Quit: ERC (IRC client for Emacs 26.3)) 2021-04-19T13:31:21Z Alfr: nij`, .asd-files can contain arbitrary lisp expressions, you won't be able to always get away with simply reading these files. 2021-04-19T13:32:38Z slyrus_ joined #lisp 2021-04-19T13:35:15Z Nilby: nij: Here's a quick hack to see what's actually loaded: https://plaster.tymoon.eu/view/2398#2398 2021-04-19T13:35:33Z Xach: asdf:*system-definition-search-functions* is also an important point of intercession 2021-04-19T13:36:34Z flip214: www.xach.com: : SEC_ERROR_EXPIRED_CERTIFICATE 2021-04-19T13:36:39Z Xach: d'oh 2021-04-19T13:36:54Z flip214: JFI 2021-04-19T13:37:07Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-19T13:39:21Z Xach: Thanks 2021-04-19T13:40:42Z flip214: you're welcome! 2021-04-19T13:41:20Z MrFantastik: https://plaster.tymoon.eu/view/2399#2399 2021-04-19T13:41:30Z MrFantastik: working version of what I was trying to do 2021-04-19T13:41:46Z MrFantastik: might be useful for fellow stumpwm users :) 2021-04-19T13:43:45Z nij`: What does google-search-suggestion do? 2021-04-19T13:43:45Z nij`: 2021-04-19T13:43:48Z contrapunctus left #lisp 2021-04-19T13:43:56Z contrapunctus joined #lisp 2021-04-19T13:44:09Z MrFantastik: return a list of suggestions that google would suggest for you 2021-04-19T13:44:32Z contrapunctus left #lisp 2021-04-19T13:45:01Z MrFantastik: the idea being when running a search from a stumpwm menu, I can add autocompletion to it and suggestions 2021-04-19T13:45:30Z contrapunctus joined #lisp 2021-04-19T13:45:51Z nij`: Oh I see! That's great :D 2021-04-19T13:46:19Z nij`: How hard is it to decouple with google? - so I can use it with other search engine? 2021-04-19T13:47:06Z OlCe joined #lisp 2021-04-19T13:47:11Z beach: Xach, jackdaniel: Thanks! 2021-04-19T13:48:13Z MrFantastik: it would be pretty easy, remove the nth 1 on line 15 any swap (google-search-uri querystring) with whatever search engine you prefer 2021-04-19T13:48:27Z nij`: MrFantastik: I've been always wanted to extend my stumpwm.. but with the power of emacs' selecting packages like ivy or helm. 2021-04-19T13:48:33Z nij`: Have you thought about that? 2021-04-19T13:48:40Z nij`: Same goes for the browser nyxt.. 2021-04-19T13:49:03Z beach: nij`: Were you seriously suggesting that returning special values to indicate errors is as good as a condition system? 2021-04-19T13:49:50Z tfb joined #lisp 2021-04-19T13:49:52Z nij`: beach: No. I can see the good part of CL's condition system. I'm just wondering if that will make it harder for a (large) group of people. 2021-04-19T13:50:40Z beach: On the contrary. 2021-04-19T13:50:45Z MrFantastik: nij` yea I've done a bit of work on that for mine, I think that it could be possible with stumpwm:select-from-menu 2021-04-19T13:51:32Z beach: Returning special values in extremely error prone because all "intermediate function" will have to know about every error situation. An "intermediate function" is a function that neither knows how to handle an error nor how to trigger one. I can't even imagine how a group of people would have to deal with all possible error values for all possible intermediate functions. 2021-04-19T13:52:02Z MrFantastik: the only issue i could see with it is updating the list of items that you are completing on with new keypresses 2021-04-19T13:52:54Z MrFantastik: not really a problem for something like a helm style completion system, but a bit of an issue for a search engine 2021-04-19T13:53:13Z nij`: MrFantastik: you mean to have a better stumpwm menu? Or to have a emacs drop down available so we can select using ivy? 2021-04-19T13:53:46Z nij`: Oh I suppose it's the former. 2021-04-19T13:53:48Z nij`: Hmm. 2021-04-19T13:54:02Z random-nick joined #lisp 2021-04-19T13:54:05Z MrFantastik: yes the former 2021-04-19T13:54:09Z nij`: Have you thought of making use of ivy/helm? 2021-04-19T13:54:18Z MrFantastik: I use helm in emacs 2021-04-19T13:54:38Z MrFantastik: never thought about using it in stumwpm though 2021-04-19T13:55:56Z nij`: beach: Ah.. that could be my thinking gap. I wasn't aware of the intermediate functions. When I wrote a program, I tried to let all functions handle all errors.. which quickly dries me out. 2021-04-19T13:56:12Z ebrasca joined #lisp 2021-04-19T13:56:34Z nij`: MrFantastik: I mean.. if we have a good selecting functionality for stumpwm one day, we will have to write one for nyxt. 2021-04-19T13:56:35Z nij`: And so on. 2021-04-19T13:57:03Z nij`: Given that most (many?) lispers use emacs, I figured why not just make calling ivy/helm easier? 2021-04-19T13:57:07Z beach: nij`: And you could never use functions like MAPCAR. 2021-04-19T13:57:14Z tfb: nij`: not having a condition system (or, exceptions at least) is a way of being very sure that large programs are unsafe, because *every single function* needs to check for unexpected error returns. And ... they won't. 2021-04-19T13:57:16Z nij`: They had been developed for a while and are quite sophisticated. 2021-04-19T13:57:28Z nij`: beach: OH! Why is that the case?! 2021-04-19T13:57:31Z beach: nij`: You would have to write a special version of it so that it would check for errors every time it invokes its first argument. 2021-04-19T13:58:05Z MrFantastik: stumwpm:select-from-menu is fairly robust for creating custom menus 2021-04-19T13:58:07Z nij`: tfb: Yes. I'm very enlightened by this conversation. So I shouldn't write error check for all functions.. but just a tiny part of them? 2021-04-19T13:59:00Z nij`: Well, beach, say we have (mapcar #'f '(x1 x2 x3)). 2021-04-19T13:59:02Z MrFantastik: there is also an option to show a menu for state transitions which is similar to the thing in emacs that shows a help in the modeline 2021-04-19T13:59:22Z nij`: If f knows gives error, we can know that's from f, right? 2021-04-19T13:59:26Z MichaelRaskin: tfb: with a strong enough type system and a bit of helpers for passing-through the errors you can keep safety. Rust does. Of course you lose restarts 2021-04-19T13:59:27Z tfb: nij`: most of your functions won't even know an error happened: they'll call something and ... it will never return because it raised an exception which got handled somewhere up the stack 2021-04-19T13:59:34Z MrFantastik: which-key-mode 2021-04-19T14:00:32Z nij`: MrFantastik: How about recency and frequency? 2021-04-19T14:00:36Z beach: nij`: Yes, then after calling (funcall #'f x1), MAPCAR would have to check for an error and return some other error, before calling #'f on x2. 2021-04-19T14:00:52Z nij`: And can you configure it so that it uses your matching/sorting algorithm? 2021-04-19T14:00:53Z MrFantastik: nij neither of those are built in 2021-04-19T14:01:06Z contrapunctus left #lisp 2021-04-19T14:01:12Z contrapunctus joined #lisp 2021-04-19T14:01:18Z MrFantastik: you can configure the mathching algorithm and sorting algo though 2021-04-19T14:01:29Z hypercube joined #lisp 2021-04-19T14:01:46Z MrFantastik: you pass the elements that you would like to match against and an optional function for matching 2021-04-19T14:01:50Z nij`: cool. i will look more into stumpwm's manual for this! thanks for sharing :) MrFantastik 2021-04-19T14:02:19Z MrFantastik: the source for them isn't too daunting either 2021-04-19T14:02:28Z contrapunctus left #lisp 2021-04-19T14:02:38Z contrapunctus joined #lisp 2021-04-19T14:02:40Z nij`: Oh yes, based on experience I think going for their source is better. 2021-04-19T14:03:09Z nij`: I still wonder how hard it is to have a stumpwm group that has tiling and floating at the same time.. 2021-04-19T14:03:21Z MrFantastik: I don't think its supported atm 2021-04-19T14:03:32Z MrFantastik: I would like that though too 2021-04-19T14:03:43Z MrFantastik: maybe it will happen in mahogony 2021-04-19T14:03:53Z nij`: I think it's very inconvenient to have more than a window in a frame.. 2021-04-19T14:04:23Z nij`: ! How did mahogony go? 2021-04-19T14:04:51Z Necktwi joined #lisp 2021-04-19T14:04:54Z nij`: Uhrr.. it's for wayland. 2021-04-19T14:05:30Z MrFantastik: most linux distro's are switching to wayland 2021-04-19T14:05:55Z MrFantastik: although I'm not looking forward to biting that bullet 2021-04-19T14:06:20Z MrFantastik: I'm already comfortable with my X bugs, now I need to learn a whole new class of bugs! 2021-04-19T14:06:21Z johannes_ quit (Quit: leaving) 2021-04-19T14:07:36Z edgar-rft: wayland gives us 3D bugs! 2021-04-19T14:08:04Z pjb joined #lisp 2021-04-19T14:09:21Z nij`: XD 2021-04-19T14:14:32Z daphnis quit (Ping timeout: 240 seconds) 2021-04-19T14:14:49Z daphnis joined #lisp 2021-04-19T14:15:35Z Nilby: I never thought 36 years later, someone would invent a window system with a worse user experience than X11. I guess I'll just have to wait until Excel implements the CL condition system. 2021-04-19T14:17:32Z nij`: ?? Is wayland's user experience worse than that of x11? 2021-04-19T14:18:28Z pjb: nij`: AFAIK, yes. For example, you cannot run applications on remote hosts. 2021-04-19T14:18:46Z pjb: nij`: same problem with Display Postscript vs. Aqua. 2021-04-19T14:19:26Z astronavt: im not sure thats considered a "worse" experience for today's typical desktop usages 2021-04-19T14:20:05Z pjb: astronavt: I use X11 remotely almost every day. 2021-04-19T14:20:34Z astronavt: the bigger issue with wayland is that a lot of what people expect as standard desktop functionality (e.g. copy and paste) was left unspecified and the community had to develop their own set of protocols on top of wayland, which the compositor has to explicitly support/implement 2021-04-19T14:20:50Z slyrus_ joined #lisp 2021-04-19T14:20:59Z astronavt: pjb: im sure, but you probably aren't the basic desktop/laptop user that the people who pushed wayland had in mind :) 2021-04-19T14:21:35Z astronavt: its a magnified version of the copy and paste issue - they put all this work into making a new low-ish level protocol and left everything else as an exercise to the reader 2021-04-19T14:21:37Z beach: Personally, I am really tired of frequently being someone they didn't have in mind. 2021-04-19T14:21:48Z beach: What? More than one workspace? 2021-04-19T14:22:02Z beach: What? You want to launch the document viewer on the same document, but twice? 2021-04-19T14:22:03Z pjb: Exactly. 2021-04-19T14:22:21Z beach: What? You don't want to restart your browser when the code is updated? 2021-04-19T14:22:28Z astronavt: hold on, my "not had in mind" part was just related to using it remote 2021-04-19T14:22:42Z beach: What? You don't want to turn off your applications when the OS kernel is updated? 2021-04-19T14:22:44Z beach: Who are you? 2021-04-19T14:22:48Z astronavt: lol 2021-04-19T14:23:05Z Josh_2 joined #lisp 2021-04-19T14:23:16Z astronavt: its a bit like a programming language, really - they invented this core language that, in theory, solves all problems. but none of the actual user-facing "tooling" was implemented or even specified 2021-04-19T14:23:17Z Josh_2: Ello 2021-04-19T14:23:19Z jurov quit (Ping timeout: 252 seconds) 2021-04-19T14:23:23Z MichaelRaskin: astronavt: well, and then the reality is that they only care about no-customisation Gnome users 2021-04-19T14:23:28Z astronavt: indeed 2021-04-19T14:23:44Z MrFantastik: reminds me of the systemd transition a few years ago 2021-04-19T14:23:59Z astronavt: look at all the successful hipster programming langs - they all come with their own test runner, docs generator, auto-formatter, etc. 2021-04-19T14:24:07Z astronavt: if they didn't, nobody would have started using them 2021-04-19T14:24:19Z TMA: What, you don't want the computer rebooting just because you went away from it for five minutes? 2021-04-19T14:24:50Z MrFantastik: I do like having code autoformatting 2021-04-19T14:24:58Z MichaelRaskin: astronavt: pretty sure Julia did not have an official auto-formatter and might still not have it 2021-04-19T14:25:18Z slyrus_ quit (Ping timeout: 265 seconds) 2021-04-19T14:25:21Z MrFantastik: saves me from the most annoying of code review criticisms 2021-04-19T14:25:22Z astronavt: thats fair, although julia is somewhat of an odd case, being domain-specific by design 2021-04-19T14:25:35Z astronavt: meanwhile look at how polished the julia repl is 2021-04-19T14:25:39Z heisig joined #lisp 2021-04-19T14:26:42Z MichaelRaskin: I mean, they can _talk_ about domain specificity, but by now the only thing I like better about Common Lisp for any domain, is less ecosystem churn in the sense that a random library might get bugs fixed but won't get a redesign. 2021-04-19T14:26:45Z daphnis quit (Ping timeout: 265 seconds) 2021-04-19T14:27:06Z MichaelRaskin: (It helps that Julia's design explicitly references the things I like most about Common Lisp) 2021-04-19T14:27:21Z astronavt: thats a good point 2021-04-19T14:27:33Z astronavt: i havent seen e.g. a webserver implemented in julia but i don't see any reason why you wouldn't want to 2021-04-19T14:27:55Z astronavt: and its really wonderful for its intended problem domain as wellp 2021-04-19T14:27:59Z astronavt: well* 2021-04-19T14:28:26Z daphnis joined #lisp 2021-04-19T14:28:28Z MrFantastik: what is the intended problem domain for julia? 2021-04-19T14:28:47Z MrFantastik: scientific computing? 2021-04-19T14:28:51Z MichaelRaskin: Yes 2021-04-19T14:30:25Z MrFantastik: I find it more cumbersome than python for most things 2021-04-19T14:30:41Z MrFantastik: I'm not used to julia though so ¯\_(ツ)_/¯ 2021-04-19T14:31:06Z MrFantastik: also I'm not a scientist lol 2021-04-19T14:31:46Z nij`: Why is asdf:*central-registry* not recommended? https://common-lisp.net/project/asdf/asdf.html#Configuring-ASDF-to-find-your-systems-_002d_002d_002d-old-style 2021-04-19T14:32:10Z slyrus_ joined #lisp 2021-04-19T14:33:20Z Alfr: nij`, section 8.4 2021-04-19T14:33:44Z Bike: because you're supposed to use all the source registry stuff instead 2021-04-19T14:33:50Z jurov joined #lisp 2021-04-19T14:34:01Z nij`: Got ya! 2021-04-19T14:34:29Z nij` is caught another time by Alfr that he hasn't read chapter8+9. 2021-04-19T14:34:40Z nij`: Well I started from the first section.. and is almost there. 2021-04-19T14:34:50Z Alfr: nij`, lol 2021-04-19T14:36:26Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-19T14:38:13Z nij`: haha yeah my question is about 4.2, proving that i'm reading. thanks anyways! 2021-04-19T14:46:21Z luckless_ joined #lisp 2021-04-19T14:47:44Z slyrus_ joined #lisp 2021-04-19T14:49:33Z luckless quit (Ping timeout: 240 seconds) 2021-04-19T14:51:02Z Sheilong joined #lisp 2021-04-19T14:56:09Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-19T14:56:10Z amb007 quit (Read error: Connection reset by peer) 2021-04-19T14:56:59Z amb007 joined #lisp 2021-04-19T14:57:58Z hypercube quit (Ping timeout: 252 seconds) 2021-04-19T14:59:21Z amb007 quit (Read error: Connection reset by peer) 2021-04-19T14:59:28Z amb007 joined #lisp 2021-04-19T14:59:29Z amb007 quit (Read error: Connection reset by peer) 2021-04-19T14:59:44Z amb007 joined #lisp 2021-04-19T15:01:23Z tfb quit (Remote host closed the connection) 2021-04-19T15:01:34Z tfb joined #lisp 2021-04-19T15:02:06Z orivej quit (Ping timeout: 240 seconds) 2021-04-19T15:02:10Z tfb quit (Remote host closed the connection) 2021-04-19T15:02:21Z tfb joined #lisp 2021-04-19T15:02:58Z tfb quit (Remote host closed the connection) 2021-04-19T15:03:09Z tfb joined #lisp 2021-04-19T15:03:45Z tfb quit (Remote host closed the connection) 2021-04-19T15:03:57Z tfb joined #lisp 2021-04-19T15:03:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-19T15:04:24Z amb007 joined #lisp 2021-04-19T15:04:25Z amb007 quit (Read error: Connection reset by peer) 2021-04-19T15:04:33Z tfb quit (Remote host closed the connection) 2021-04-19T15:04:38Z amb007 joined #lisp 2021-04-19T15:04:44Z tfb joined #lisp 2021-04-19T15:05:20Z tfb quit (Remote host closed the connection) 2021-04-19T15:05:32Z tfb joined #lisp 2021-04-19T15:06:07Z tfb quit (Remote host closed the connection) 2021-04-19T15:06:46Z hiroaki_ joined #lisp 2021-04-19T15:08:52Z tfb joined #lisp 2021-04-19T15:10:48Z xsperry quit 2021-04-19T15:12:04Z nij`: Stumpish is a shell interface to stumpwm: https://github.com/stumpwm/stumpwm-contrib/blob/master/util/stumpish/stumpish . I wonder how it talks to the running stumpwm without invoking any swank/slynk server. The key seems to be on line#83, where `xprop ..` is invoked to send the command to stumpwm. Has anyone heard of such magic to interact with an on-live lisp program? 2021-04-19T15:12:04Z amb007 quit (Read error: Connection reset by peer) 2021-04-19T15:12:18Z tfb quit (Remote host closed the connection) 2021-04-19T15:12:25Z amb007 joined #lisp 2021-04-19T15:12:27Z tfeb joined #lisp 2021-04-19T15:13:35Z Bike: xprop is part of x11 2021-04-19T15:14:14Z Bike: it works because stump is the x server (i think, i'm not good with X terms) 2021-04-19T15:14:27Z slyrus_ joined #lisp 2021-04-19T15:14:45Z Bike: so probably wouldn't work for lisp programs generally 2021-04-19T15:15:14Z OlCe quit (Ping timeout: 246 seconds) 2021-04-19T15:15:47Z aartaka_d joined #lisp 2021-04-19T15:17:46Z OlCe joined #lisp 2021-04-19T15:18:16Z aartaka quit (Ping timeout: 260 seconds) 2021-04-19T15:18:51Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-19T15:19:40Z nij`: Hmm.. but the command must go from some entry into the lisp of stumpwm, right? 2021-04-19T15:22:49Z dyelar joined #lisp 2021-04-19T15:22:59Z Bike: yes. stumpwm grabs it here https://github.com/stumpwm/stumpwm/blob/master/events.lisp#L298 2021-04-19T15:23:55Z Bike: xprop associates the root window with a property list including :STUMPWM_COMMAND "some command", basically, and then stumpwm reads that and sets a STUMPWM_COMMAND_RESULT property 2021-04-19T15:24:36Z Bike: any lisp program with an x window easily identifiable from the stumpish analog could do something like this, i think 2021-04-19T15:24:56Z Bike: so, not lisp programs in a shell for instance 2021-04-19T15:26:48Z Nilby: X properties is a really bad way to communicate to a running lisp. Probably better to start swank in your target lisp, and then send commands with swank-client from another lisp. 2021-04-19T15:26:57Z OlCe quit (Ping timeout: 260 seconds) 2021-04-19T15:27:14Z nij`: yes it's a very degenerated way.. hmm 2021-04-19T15:27:16Z Bike: it definitely seems a little hackish, or at least worse than sockets 2021-04-19T15:27:17Z saganman left #lisp 2021-04-19T15:28:41Z nij`: Nilby: the problem I had with swank/slynk for stumpwm is that.. sometimes if I accidentally kill the server that links with the running stumpwm, stumpwm crashes. 2021-04-19T15:28:45Z rogersm quit (Quit: Leaving...) 2021-04-19T15:30:46Z slyrus_ joined #lisp 2021-04-19T15:30:52Z Bike: wouldn't the stumpwm be running the swank server? 2021-04-19T15:31:15Z Bike: sounds like a job for handler-case anyway 2021-04-19T15:31:47Z sjl joined #lisp 2021-04-19T15:32:02Z nij`: ? What ya mean? 2021-04-19T15:32:34Z nij`: You can run a swank server within stumpwm. And then connect to that swank server from emacs. Yes. 2021-04-19T15:33:10Z ramHero quit (Remote host closed the connection) 2021-04-19T15:34:33Z nij`: Oh, btw, how do I search for listening swank/slynk servers on my localhost? `M-x sly-list-connections` only shows those that are connected. 2021-04-19T15:35:07Z Bike: you said "the server that links with the running stumpwm" as if the server was outside of stumpwm and communicating with it 2021-04-19T15:35:45Z Bike: and with handler-case i just mean you should make the code running the swank server error tolerant so the whole thing doesn't crash if the swank server hits an unexpected problem 2021-04-19T15:35:53Z Bike: doesn't seem like anything unique to swank 2021-04-19T15:38:22Z nij`: I see. 2021-04-19T15:40:35Z hypercube joined #lisp 2021-04-19T15:41:34Z OlCe joined #lisp 2021-04-19T15:42:16Z cage_ joined #lisp 2021-04-19T15:47:59Z DHARMAKAYA joined #lisp 2021-04-19T15:48:36Z tfeb quit 2021-04-19T15:50:41Z hypercube quit (Ping timeout: 240 seconds) 2021-04-19T15:52:35Z xsperry joined #lisp 2021-04-19T15:54:27Z Nilby quit (Ping timeout: 258 seconds) 2021-04-19T15:55:17Z gendl: Hi, is there a defacto standard Abstract Associative Map for CL? 2021-04-19T15:55:43Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-19T15:56:26Z gendl: something which has a consistent set of accessor/setter functions, and maybe uses a plist or alist under-the-hood for small maps, and automatically converts itself to & from a hash table when the map size exceeds or shrinks below a certain threshhold value? 2021-04-19T15:58:24Z hypercube joined #lisp 2021-04-19T15:58:24Z pjb: gendl: com.informatimago.common-lisp.cesarum.dictionary 2021-04-19T15:58:54Z gendl: https://www.irccloud.com/pastebin/crYH1jPC/-- 2021-04-19T15:59:04Z gendl: --> "now" 2021-04-19T15:59:09Z bilegeek joined #lisp 2021-04-19T15:59:23Z pjb: gendl: and yes, there's also -> 2021-04-19T15:59:42Z pjb: http://groups.google.com/group/comp.lang.lisp/msg/1bab4b5bae1fdca3 http://groups.google.com/group/comp.lang.lisp/msg/190d771c0e033a1c 2021-04-19T16:00:39Z elflng joined #lisp 2021-04-19T16:01:13Z nij`: How do I search for listening swank/slynk servers on my localhost? `M-x sly-list-connections` only shows those that are connected. 2021-04-19T16:04:23Z long4mud quit (Ping timeout: 265 seconds) 2021-04-19T16:07:49Z pjb: nij`: sudo netstat -tnlp may help. 2021-04-19T16:09:12Z nij`: Indeed, thanks :-) 2021-04-19T16:13:20Z gendl: pjb: what does -> do? Is it difficult to make a map instance work syntactically like a function? 2021-04-19T16:15:50Z nij`: Here's a nice tutorial that clicked for me about -> 2021-04-19T16:15:52Z nij`: https://github.com/phoe/binding-arrows/blob/main/doc/TUTORIAL.md 2021-04-19T16:19:55Z Odin-: That's a different '->', isn't it? 2021-04-19T16:20:15Z nij` quit (Remote host closed the connection) 2021-04-19T16:20:26Z slyrus_ joined #lisp 2021-04-19T16:20:44Z nij quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-19T16:20:46Z Bike: yes. 2021-04-19T16:21:11Z eden joined #lisp 2021-04-19T16:23:54Z pjb: gendl: it's an accessor combinator. 2021-04-19T16:26:46Z gendl: thanks 2021-04-19T16:26:51Z pjb: (-> (vector '((a . (x y z)) (b . (xx yy zz))) 42 33 ) 0 'b 1) #| --> yy |# 2021-04-19T16:27:50Z pjb: Well, a generalized accessor. The actual access is determined from the indexed object. 2021-04-19T16:29:14Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-19T16:32:26Z slyrus_ joined #lisp 2021-04-19T16:37:15Z slyrus_ quit (Ping timeout: 265 seconds) 2021-04-19T16:38:22Z amb007 quit (Read error: Connection reset by peer) 2021-04-19T16:38:41Z ramHero joined #lisp 2021-04-19T16:38:46Z amb007 joined #lisp 2021-04-19T16:38:46Z amb007 quit (Read error: Connection reset by peer) 2021-04-19T16:39:15Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-19T16:39:36Z amb007 joined #lisp 2021-04-19T16:43:05Z amb007 quit (Read error: Connection reset by peer) 2021-04-19T16:43:36Z amb007 joined #lisp 2021-04-19T16:44:08Z imode joined #lisp 2021-04-19T16:44:41Z jurov quit (Ping timeout: 240 seconds) 2021-04-19T16:46:28Z mindCrime joined #lisp 2021-04-19T16:47:17Z gitgood joined #lisp 2021-04-19T16:47:21Z slyrus_ joined #lisp 2021-04-19T16:51:32Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-19T16:53:29Z jurov joined #lisp 2021-04-19T16:55:08Z aindilis` quit (Ping timeout: 265 seconds) 2021-04-19T16:56:12Z yitzi joined #lisp 2021-04-19T17:00:36Z orivej joined #lisp 2021-04-19T17:05:40Z slyrus_ joined #lisp 2021-04-19T17:08:56Z karlosz joined #lisp 2021-04-19T17:10:16Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-19T17:16:09Z orivej quit (Ping timeout: 260 seconds) 2021-04-19T17:16:17Z orivej_ joined #lisp 2021-04-19T17:16:36Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-19T17:23:03Z remby joined #lisp 2021-04-19T17:23:20Z gaqwas joined #lisp 2021-04-19T17:24:46Z slyrus_ joined #lisp 2021-04-19T17:28:56Z slyrus_ quit (Ping timeout: 246 seconds) 2021-04-19T17:30:07Z flazh joined #lisp 2021-04-19T17:33:16Z slyrus_ joined #lisp 2021-04-19T17:37:12Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-19T17:39:36Z hypercube quit (Ping timeout: 265 seconds) 2021-04-19T17:42:07Z cosimone joined #lisp 2021-04-19T17:47:25Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-19T17:58:25Z Inline joined #lisp 2021-04-19T17:59:19Z yitzi quit (Quit: yitzi) 2021-04-19T17:59:35Z yitzi joined #lisp 2021-04-19T17:59:52Z contrapunctus left #lisp 2021-04-19T17:59:59Z contrapunctus joined #lisp 2021-04-19T18:00:24Z contrapunctus left #lisp 2021-04-19T18:00:41Z contrapunctus joined #lisp 2021-04-19T18:03:14Z rumbler31 joined #lisp 2021-04-19T18:05:47Z karlosz quit (Ping timeout: 268 seconds) 2021-04-19T18:07:26Z slyrus_ joined #lisp 2021-04-19T18:12:06Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-19T18:15:40Z heisig quit (Quit: Leaving) 2021-04-19T18:16:35Z aindilis joined #lisp 2021-04-19T18:18:43Z sauvin quit (Read error: Connection reset by peer) 2021-04-19T18:22:04Z hiroaki_ joined #lisp 2021-04-19T18:23:41Z OlCe quit (Ping timeout: 240 seconds) 2021-04-19T18:24:30Z slyrus_ joined #lisp 2021-04-19T18:24:34Z varjag joined #lisp 2021-04-19T18:28:33Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-19T18:32:43Z jeosol quit (Quit: Connection closed) 2021-04-19T18:32:58Z jeosol joined #lisp 2021-04-19T18:33:13Z bilegeek quit (Quit: Leaving) 2021-04-19T18:33:41Z daphnis quit (Ping timeout: 240 seconds) 2021-04-19T18:37:10Z tainguyen joined #lisp 2021-04-19T18:39:52Z slyrus_ joined #lisp 2021-04-19T18:43:37Z cosimone quit (Read error: Connection reset by peer) 2021-04-19T18:44:11Z slyrus_ quit (Ping timeout: 246 seconds) 2021-04-19T18:44:40Z yitzi quit (Quit: yitzi) 2021-04-19T18:44:57Z yitzi joined #lisp 2021-04-19T18:50:10Z amb007 quit (Read error: Connection reset by peer) 2021-04-19T18:50:57Z amb007 joined #lisp 2021-04-19T18:51:28Z terpri_ joined #lisp 2021-04-19T18:51:49Z terpri quit (Remote host closed the connection) 2021-04-19T18:53:22Z tainguyen quit (Ping timeout: 240 seconds) 2021-04-19T18:57:43Z srhm joined #lisp 2021-04-19T18:58:27Z Lord_of_Life quit (Read error: Connection reset by peer) 2021-04-19T18:58:38Z rumbler31 quit (Remote host closed the connection) 2021-04-19T18:59:03Z aeth_ joined #lisp 2021-04-19T18:59:28Z Lord_of_Life joined #lisp 2021-04-19T19:00:28Z aeth quit (Disconnected by services) 2021-04-19T19:00:30Z aeth_ is now known as aeth 2021-04-19T19:04:24Z slyrus_ joined #lisp 2021-04-19T19:07:26Z ljavorsk joined #lisp 2021-04-19T19:09:16Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-19T19:10:10Z tainguyen joined #lisp 2021-04-19T19:11:26Z remby left #lisp 2021-04-19T19:14:57Z yitzi quit (Quit: yitzi) 2021-04-19T19:15:57Z eden quit (Ping timeout: 240 seconds) 2021-04-19T19:24:27Z slyrus_ joined #lisp 2021-04-19T19:29:02Z slyrus_ quit (Ping timeout: 268 seconds) 2021-04-19T19:30:44Z terpri_ is now known as terpri 2021-04-19T19:37:35Z daphnis joined #lisp 2021-04-19T19:39:25Z slyrus_ joined #lisp 2021-04-19T19:43:28Z long4mud joined #lisp 2021-04-19T19:44:16Z slyrus_ quit (Ping timeout: 260 seconds) 2021-04-19T19:46:20Z slyrus_ joined #lisp 2021-04-19T19:51:04Z slyrus_ quit (Ping timeout: 265 seconds) 2021-04-19T19:52:56Z cage_ quit (Quit: Leaving) 2021-04-19T19:54:46Z mindCrime joined #lisp 2021-04-19T19:55:54Z Lord_of_Life_ joined #lisp 2021-04-19T19:58:33Z Lord_of_Life quit (Ping timeout: 240 seconds) 2021-04-19T19:58:59Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-19T20:00:55Z slyrus_ joined #lisp 2021-04-19T20:06:31Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-19T20:08:21Z hypercube joined #lisp 2021-04-19T20:12:56Z karlosz joined #lisp 2021-04-19T20:13:43Z raeda joined #lisp 2021-04-19T20:13:50Z yitzi joined #lisp 2021-04-19T20:15:42Z aartaka joined #lisp 2021-04-19T20:16:27Z nij joined #lisp 2021-04-19T20:17:32Z krjli joined #lisp 2021-04-19T20:19:05Z aartaka_d quit (Ping timeout: 260 seconds) 2021-04-19T20:19:37Z aartaka_d joined #lisp 2021-04-19T20:19:41Z aartaka quit (Ping timeout: 240 seconds) 2021-04-19T20:19:45Z Codaraxis_ joined #lisp 2021-04-19T20:21:35Z Codaraxis quit (Read error: Connection reset by peer) 2021-04-19T20:25:35Z OlCe joined #lisp 2021-04-19T20:27:32Z Elzington__ quit (Quit: Leaving) 2021-04-19T20:32:08Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-19T20:33:18Z slyrus_ joined #lisp 2021-04-19T20:34:52Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-19T20:35:27Z akoana joined #lisp 2021-04-19T20:36:06Z aeth_ joined #lisp 2021-04-19T20:36:10Z aeth quit (Disconnected by services) 2021-04-19T20:36:13Z aeth_ is now known as aeth 2021-04-19T20:37:47Z gendl quit (Ping timeout: 250 seconds) 2021-04-19T20:37:47Z dunk quit (Ping timeout: 250 seconds) 2021-04-19T20:37:47Z Balooga quit (Ping timeout: 250 seconds) 2021-04-19T20:37:48Z abrantesasf joined #lisp 2021-04-19T20:37:52Z travv0 quit (Ping timeout: 245 seconds) 2021-04-19T20:37:54Z p_l quit (Ping timeout: 245 seconds) 2021-04-19T20:37:56Z bytesighs quit (Ping timeout: 258 seconds) 2021-04-19T20:38:07Z conjunctive quit (Ping timeout: 258 seconds) 2021-04-19T20:38:07Z XachX quit (Ping timeout: 258 seconds) 2021-04-19T20:38:11Z jmercouris quit (Ping timeout: 260 seconds) 2021-04-19T20:38:11Z alanz quit (Ping timeout: 260 seconds) 2021-04-19T20:38:11Z chewbranca quit (Ping timeout: 248 seconds) 2021-04-19T20:38:13Z pent quit (Ping timeout: 250 seconds) 2021-04-19T20:38:17Z sgithens quit (Ping timeout: 245 seconds) 2021-04-19T20:38:23Z dunk joined #lisp 2021-04-19T20:38:30Z rme quit (Ping timeout: 258 seconds) 2021-04-19T20:38:36Z Balooga joined #lisp 2021-04-19T20:38:37Z b20n quit (Ping timeout: 246 seconds) 2021-04-19T20:38:39Z entel quit (Ping timeout: 260 seconds) 2021-04-19T20:38:41Z physpi quit (Ping timeout: 245 seconds) 2021-04-19T20:38:41Z parisienne quit (Ping timeout: 245 seconds) 2021-04-19T20:38:44Z gendl joined #lisp 2021-04-19T20:38:58Z jcowan quit (Ping timeout: 246 seconds) 2021-04-19T20:39:10Z rme joined #lisp 2021-04-19T20:39:12Z alanz joined #lisp 2021-04-19T20:39:13Z b20n joined #lisp 2021-04-19T20:39:13Z XachX joined #lisp 2021-04-19T20:39:16Z travv0 joined #lisp 2021-04-19T20:39:19Z parisienne joined #lisp 2021-04-19T20:39:36Z jmercouris joined #lisp 2021-04-19T20:39:45Z conjunctive joined #lisp 2021-04-19T20:39:46Z p_l joined #lisp 2021-04-19T20:39:51Z pent joined #lisp 2021-04-19T20:40:05Z entel joined #lisp 2021-04-19T20:40:11Z jcowan joined #lisp 2021-04-19T20:40:11Z bytesighs joined #lisp 2021-04-19T20:40:15Z physpi joined #lisp 2021-04-19T20:40:17Z chewbranca joined #lisp 2021-04-19T20:40:36Z sgithens joined #lisp 2021-04-19T20:42:32Z rodriga quit (Ping timeout: 240 seconds) 2021-04-19T20:51:29Z shka_ quit (Ping timeout: 265 seconds) 2021-04-19T20:51:46Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-19T20:55:07Z cosimone joined #lisp 2021-04-19T20:59:12Z rumbler31 joined #lisp 2021-04-19T21:02:08Z jmercouris: anyone know how to reliably determine the graphics card driver being used? 2021-04-19T21:02:18Z jmercouris: is there something like a *hardware-features* :D? 2021-04-19T21:03:04Z Bike: that sounds like a question for your operating system 2021-04-19T21:03:25Z jmercouris: I always figure I should ask because the spec has surprised me many many times 2021-04-19T21:03:30Z Bike: lspci for example 2021-04-19T21:03:36Z rumbler31 quit (Ping timeout: 260 seconds) 2021-04-19T21:04:14Z jmercouris: right, or modinfo perhaps 2021-04-19T21:05:12Z Bike: but no, there's nothing in the standard. if you look in the "Environment" section you can see what query functions there are. basically just a version and "type" 2021-04-19T21:05:17Z kevingal quit (Remote host closed the connection) 2021-04-19T21:05:20Z daphnis quit (Ping timeout: 252 seconds) 2021-04-19T21:05:23Z Bike: the nature of both of which is basically up to the implementation 2021-04-19T21:05:34Z Shinmera: https://github.com/Shirakumo/feedback/blob/master/client/system-info.lisp 2021-04-19T21:06:24Z jmercouris: Shinmera: seems a good approach 2021-04-19T21:06:25Z jmercouris: thanks 2021-04-19T21:18:13Z Lycurgus joined #lisp 2021-04-19T21:21:07Z slyrus_ joined #lisp 2021-04-19T21:23:43Z long4mud quit (Read error: No route to host) 2021-04-19T21:24:52Z contrapunctus left #lisp 2021-04-19T21:24:59Z contrapunctus joined #lisp 2021-04-19T21:25:26Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-19T21:25:46Z MrFantastik quit (Ping timeout: 240 seconds) 2021-04-19T21:26:57Z long4mud joined #lisp 2021-04-19T21:28:20Z contrapunctus left #lisp 2021-04-19T21:30:08Z contrapunctus joined #lisp 2021-04-19T21:32:06Z OlCe quit (Ping timeout: 252 seconds) 2021-04-19T21:34:06Z __jrjsmrtn__ joined #lisp 2021-04-19T21:34:50Z _jrjsmrtn quit (Ping timeout: 268 seconds) 2021-04-19T21:35:50Z slyrus_ joined #lisp 2021-04-19T21:40:23Z slyrus_ quit (Ping timeout: 268 seconds) 2021-04-19T21:42:46Z defaultxr quit (Ping timeout: 252 seconds) 2021-04-19T21:46:42Z Inline quit (Quit: Leaving) 2021-04-19T21:47:19Z slyrus_ joined #lisp 2021-04-19T21:47:42Z Lycurgus quit (Quit: Exeunt) 2021-04-19T21:49:22Z attila_lendvai quit (Ping timeout: 252 seconds) 2021-04-19T21:51:34Z slyrus_ quit (Ping timeout: 252 seconds) 2021-04-19T21:51:53Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-19T21:57:04Z ljavorsk quit (Ping timeout: 252 seconds) 2021-04-19T22:02:51Z surabax quit (Quit: Leaving) 2021-04-19T22:04:57Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-19T22:05:04Z actuallybatman joined #lisp 2021-04-19T22:14:37Z random-nick quit (Ping timeout: 265 seconds) 2021-04-19T22:18:06Z frgo quit (Remote host closed the connection) 2021-04-19T22:18:32Z frgo joined #lisp 2021-04-19T22:22:21Z mmontone joined #lisp 2021-04-19T22:29:11Z cosimone quit (Remote host closed the connection) 2021-04-19T22:33:52Z pve quit (Quit: leaving) 2021-04-19T22:39:14Z slyrus_ joined #lisp 2021-04-19T22:43:06Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-19T22:47:41Z slyrus_ joined #lisp 2021-04-19T22:51:26Z nicktick quit (Ping timeout: 240 seconds) 2021-04-19T22:53:06Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-19T22:53:43Z hjudt quit (Ping timeout: 252 seconds) 2021-04-19T22:54:44Z slyrus_ quit (Ping timeout: 265 seconds) 2021-04-19T22:57:32Z slyrus_ joined #lisp 2021-04-19T22:59:19Z ebrasca quit (Ping timeout: 268 seconds) 2021-04-19T23:01:20Z X-Scale` joined #lisp 2021-04-19T23:01:46Z slyrus_ quit (Ping timeout: 240 seconds) 2021-04-19T23:03:37Z X-Scale quit (Ping timeout: 252 seconds) 2021-04-19T23:03:37Z X-Scale` is now known as X-Scale 2021-04-19T23:06:47Z MrFantastik joined #lisp 2021-04-19T23:07:23Z xkapastel joined #lisp 2021-04-19T23:07:28Z MrFantastik: can I override the behavior of a library's function in a let statement and have it return to its original implementation when i exit that context? 2021-04-19T23:09:07Z tatsumaru joined #lisp 2021-04-19T23:09:30Z tatsumaru: https://en.wikipedia.org/wiki/Lisp_(programming_language) did lisp always have the yinyang logo or is this something new? 2021-04-19T23:09:33Z slyrus_ joined #lisp 2021-04-19T23:09:40Z kmeow joined #lisp 2021-04-19T23:09:58Z MrFantastik: tatsumaru: its on the cover of sicp like that iirc 2021-04-19T23:10:18Z X-Scale` joined #lisp 2021-04-19T23:10:43Z MrFantastik: ahh its an eval/apply yin-yang on that though 2021-04-19T23:11:07Z Xach: MrFantastik: not really 2021-04-19T23:11:11Z Xach: (override that is) 2021-04-19T23:11:35Z Krystof quit (Ping timeout: 246 seconds) 2021-04-19T23:11:37Z MrFantastik: is there a way to do something like that? 2021-04-19T23:11:39Z X-Scale quit (Ping timeout: 265 seconds) 2021-04-19T23:11:39Z X-Scale` is now known as X-Scale 2021-04-19T23:12:19Z mindCrime joined #lisp 2021-04-19T23:13:14Z Xach: MrFantastik: you could play some games with fdefinition or symbol-function perhaps 2021-04-19T23:13:56Z slyrus_ quit (Remote host closed the connection) 2021-04-19T23:14:59Z Xach: MrFantastik: what would you do if it was possible? 2021-04-19T23:15:16Z krjli quit (Remote host closed the connection) 2021-04-19T23:15:49Z MrFantastik: I'm trying to post a good example but my local copy of stumpwm appears out of date when compared to the one on github 2021-04-19T23:17:31Z MrFantastik: https://pastebin.com/jskbNWfq 2021-04-19T23:17:57Z MrFantastik: select-from-menu calls check-menu-complete 2021-04-19T23:18:50Z MrFantastik: i want to change the behavior of check menu-complete for a menu but for only one instance of that menu 2021-04-19T23:20:07Z Xach: Change it how? 2021-04-19T23:20:43Z MrFantastik: well I'm not exactly sure yet but I'm pretty sure I want to change 2021-04-19T23:20:45Z MrFantastik: (setf (menu-state-table menu) (remove-if-not #'match-p (menu-state-unfiltered-table menu)) 2021-04-19T23:20:45Z MrFantastik: 2021-04-19T23:21:11Z MrFantastik: the way these menus work is that you define an initial table for the menu, and filter on keypress 2021-04-19T23:21:33Z MrFantastik: when I enter a keypress, I want to overwrite the content of the menu entirely 2021-04-19T23:22:07Z MrFantastik: using this https://pastebin.com/vHf6ZsCX 2021-04-19T23:24:24Z tatsumaru left #lisp 2021-04-19T23:28:30Z MrFantastik: well not the entire menu, the menu table 2021-04-19T23:30:19Z nij quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-19T23:34:21Z MrFantastik: hmm there appears to be flet as well as symbol-function 2021-04-19T23:34:48Z MrFantastik: might be what I'm looking for http://www.lispworks.com/documentation/HyperSpec/Body/f_symb_1.htm 2021-04-19T23:42:28Z MrFantastik: don't mean to spam but flet is exactly what I was looking for 2021-04-19T23:42:43Z MrFantastik: in case anyone ever searches lol 2021-04-19T23:44:13Z MrFantastik: oh but idk if it will work inside the context of the library function 2021-04-19T23:44:23Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-19T23:47:07Z igemnace joined #lisp 2021-04-19T23:55:11Z xsperry quit (Remote host closed the connection) 2021-04-19T23:55:49Z MrFantastik quit (Ping timeout: 250 seconds) 2021-04-19T23:56:09Z xsperry joined #lisp 2021-04-19T23:59:28Z rumbler31 joined #lisp 2021-04-20T00:00:06Z Bike: flet is lexical, not dynamic, so the new binding won't be in effect in some other function you call 2021-04-20T00:00:28Z Bike: there's no way to dynamically bind functions, but you can do something like (funcall *check-menu-complete* ...) 2021-04-20T00:00:43Z Bike: assuming you control check-menu-complete to begin with, but it sounds like you don't 2021-04-20T00:03:25Z Xach: welll 2021-04-20T00:03:41Z Xach: you control it if you like. write a new function that uses a special or something. 2021-04-20T00:03:44Z rumbler31 quit (Ping timeout: 246 seconds) 2021-04-20T00:14:45Z akoana left #lisp 2021-04-20T00:21:36Z lotuseater quit (Ping timeout: 245 seconds) 2021-04-20T00:21:49Z gitgood quit (Remote host closed the connection) 2021-04-20T00:25:39Z orivej_ quit (Ping timeout: 268 seconds) 2021-04-20T00:29:58Z quazimodo quit (Ping timeout: 252 seconds) 2021-04-20T00:30:35Z sebboh quit (Ping timeout: 260 seconds) 2021-04-20T00:32:06Z quazimodo joined #lisp 2021-04-20T00:54:07Z nij joined #lisp 2021-04-20T00:55:15Z tempest_nox joined #lisp 2021-04-20T00:55:18Z nij: Hello, is there an expressive way to access to a (deep slot) or an instance X by syntax like (get X (a b c)), in which I'm looking (the slot c of (the slot b of (the slot a of X)))? 2021-04-20T00:55:57Z nij: I find this more satisfactory than expression like (b-c (a-b (X-a X))). 2021-04-20T00:56:29Z nij: Of course, I'd also hope to (setf (get X (a b c)) 172). 2021-04-20T00:57:25Z sebboh joined #lisp 2021-04-20T00:59:58Z anticrisis joined #lisp 2021-04-20T01:01:28Z Codaraxis__ joined #lisp 2021-04-20T01:02:45Z Stanley00 joined #lisp 2021-04-20T01:04:17Z no-defun-allowed: You could use an "arrow" macro, for something like (-> X a b c) 2021-04-20T01:04:59Z Codaraxis_ quit (Ping timeout: 246 seconds) 2021-04-20T01:05:05Z curtosis joined #lisp 2021-04-20T01:07:19Z slyrus quit (Quit: Leaving) 2021-04-20T01:08:27Z rumbler31 joined #lisp 2021-04-20T01:09:48Z curtosis is now known as curtosis[away] 2021-04-20T01:10:40Z Nilby joined #lisp 2021-04-20T01:16:20Z wxie joined #lisp 2021-04-20T01:20:46Z nij: But with that I still need to do (-> X (X-a) (a-b) (b-c)) 2021-04-20T01:20:50Z hendursa1 quit (Quit: hendursa1) 2021-04-20T01:20:55Z nij: Hmm.. looks a lot nicer. 2021-04-20T01:21:09Z nij: However, usually the name is much longer. 2021-04-20T01:21:19Z hendursaga joined #lisp 2021-04-20T01:21:41Z nij: For example, I have (dyn-float-group-dyn-order group) now. 2021-04-20T01:22:02Z nij: where dyn-float-group is X, and dyn-order is a. 2021-04-20T01:22:29Z nij: Without an accessor with "structure", I have to keep track of how "dyn-float-group-dyn-order" breaks down. 2021-04-20T01:22:57Z nij: With "structure", I can say (get (dyn-float-group dyn-order) group). 2021-04-20T01:24:47Z tainguyen quit (Quit: Connection closed) 2021-04-20T01:33:08Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-20T01:36:19Z pjb quit (Ping timeout: 248 seconds) 2021-04-20T01:43:14Z sabra quit (Quit: Konversation terminated!) 2021-04-20T01:50:08Z nij: ------- 2021-04-20T01:50:43Z nij: I wonder why the accessor `dyno` isn't SETF-able in a LET expression .. https://bpa.st/2QCA 2021-04-20T01:51:05Z nij: In the code, I figured a work-around.. but I'd rather like `dyno` to be SETF-able.. 2021-04-20T01:51:20Z frost-lab joined #lisp 2021-04-20T01:51:22Z no-defun-allowed: That is not an "accessor", that is a variable. 2021-04-20T01:52:10Z no-defun-allowed: You could use SYMBOL-MACROLET instead of LET to use DYNO to name that place though. 2021-04-20T01:54:59Z nij: Oh! I see :-D. 2021-04-20T01:55:01Z nij: Thank you! 2021-04-20T02:02:48Z karlosz quit (Quit: karlosz) 2021-04-20T02:03:06Z prxq_ joined #lisp 2021-04-20T02:05:11Z ramHero quit (Ping timeout: 240 seconds) 2021-04-20T02:06:56Z prxq quit (Ping timeout: 246 seconds) 2021-04-20T02:14:35Z Stanley|00 joined #lisp 2021-04-20T02:15:11Z possible joined #lisp 2021-04-20T02:15:34Z Stanley00 quit (Ping timeout: 252 seconds) 2021-04-20T02:19:34Z Stanley|00 quit (Ping timeout: 252 seconds) 2021-04-20T02:19:42Z Stanley00 joined #lisp 2021-04-20T02:21:46Z possible quit (Quit: Leaving) 2021-04-20T02:25:26Z asarch joined #lisp 2021-04-20T02:25:44Z cobax joined #lisp 2021-04-20T02:27:27Z dsrt^ joined #lisp 2021-04-20T02:34:22Z cobax quit (Ping timeout: 240 seconds) 2021-04-20T02:34:45Z Stanley00 quit (Read error: Connection reset by peer) 2021-04-20T02:35:02Z kini quit (Remote host closed the connection) 2021-04-20T02:36:20Z kini joined #lisp 2021-04-20T02:36:22Z mmontone quit (Ping timeout: 240 seconds) 2021-04-20T02:36:57Z Stanley00 joined #lisp 2021-04-20T02:42:38Z sp41 quit (Ping timeout: 240 seconds) 2021-04-20T02:58:07Z a0 joined #lisp 2021-04-20T03:00:40Z mason left #lisp 2021-04-20T03:06:33Z mindCrime quit (Ping timeout: 265 seconds) 2021-04-20T03:08:01Z beach: Good morning everyone! 2021-04-20T03:08:56Z Sheilong quit 2021-04-20T03:10:53Z mindCrime joined #lisp 2021-04-20T03:14:58Z mrchampion quit (Ping timeout: 252 seconds) 2021-04-20T03:18:09Z mrchampion joined #lisp 2021-04-20T03:32:55Z semz quit (Ping timeout: 250 seconds) 2021-04-20T03:37:20Z DHARMAKAYA joined #lisp 2021-04-20T03:44:36Z asarch: Good morning! 2021-04-20T03:45:41Z asarch: Today is NetBSD's birthday: 4/19/1993, 28th anniversary!!! 2021-04-20T03:45:59Z asarch: Any NetBSD user? 2021-04-20T03:46:21Z semz joined #lisp 2021-04-20T03:46:21Z semz quit (Changing host) 2021-04-20T03:46:21Z semz joined #lisp 2021-04-20T03:46:43Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-20T03:46:53Z beach: Do they use that silly date format where you live as well? If so, I am sorry to hear that. 2021-04-20T03:50:33Z Nilby: I dislike date formats so much, I've started using 3827879332 in text documents. 2021-04-20T03:51:10Z asarch: Well, that format date is from vintage 2021-04-20T03:52:21Z no-defun-allowed: My girlfriend would probably use ISO8601. At least that way lexicographic sorting works correctly. 2021-04-20T03:52:39Z beach: I think that's the best format around. 2021-04-20T03:53:09Z beach: Where I grew up, it was introduced more than half a century ago. 2021-04-20T03:54:24Z beach: And I believe there is some kind of consensus to use it in FLOSS work around the world. 2021-04-20T03:57:22Z MrtnDk[m]: What is 3827879332? 2021-04-20T03:59:45Z no-defun-allowed: Too large to be a Unix timestamp (for now), but it could be a CL universal time. 2021-04-20T03:59:51Z beach: It is. 2021-04-20T04:00:51Z beach: 2021-04-20 05:48:52 or something like that. 2021-04-20T04:03:22Z beach: Speaking of which, "universal" seems a bit pretentious. I mean, it seems to be tied to a very tiny piece of the universe after all. 2021-04-20T04:04:37Z contrapunctus: beach: nice ^ xD 2021-04-20T04:04:44Z p_l: asarch: heh, 1993 2021-04-20T04:04:52Z no-defun-allowed: "Space is a very long time!" 2021-04-20T04:05:27Z p_l somewhat recently had an issue involving year around 1993, and various forks of BSD4.x 2021-04-20T04:07:14Z asarch: Yeah! 2021-04-20T04:07:15Z Nilby: I have a plan for a more universal time system, but it requires agreement on the age of the universe and gravition physics. 2021-04-20T04:07:28Z p_l: a BSD libc issue that stumped me playing with CADR emulator 2021-04-20T04:07:42Z p_l: Nilby: it would also require special reference frame, I believe 2021-04-20T04:07:43Z MrtnDk[m]: beach Yeah, global would be more accurate, it seems. 2021-04-20T04:08:08Z contrapunctus: Or "terran" 😏 2021-04-20T04:08:23Z MrtnDk[m]: Nilby Like a universal epoch? 2021-04-20T04:08:27Z Nilby: Yes. The refreence would be part of the date. 2021-04-20T04:08:35Z Nilby: MrtnDk[m]: Yes. 2021-04-20T04:08:36Z p_l notes that people somehow miss the "C" part in UTC 2021-04-20T04:08:43Z shka_ joined #lisp 2021-04-20T04:08:53Z no-defun-allowed: As I have taken a break from concurrent and distributed programming, I have to say that I have not seen a clock in years* while reasoning about time and I don't miss them. 2021-04-20T04:08:58Z xkapastel quit (Quit: Connection closed for inactivity) 2021-04-20T04:08:59Z no-defun-allowed: *approximately 0 years 2021-04-20T04:09:18Z MrtnDk[m]: p_I: Coordinated? 2021-04-20T04:09:46Z Kundry_Wag quit (Remote host closed the connection) 2021-04-20T04:10:02Z p_l: yep 2021-04-20T04:11:00Z p_l: and it's only used for earth-centric date keeping, and even there it's not the only global time kept, because UTC makes sense for *most*, but not *all*, uses on earth 2021-04-20T04:12:03Z Nilby: Also an offset for scale, since the fundamental unit would be Plank units. 2021-04-20T04:12:50Z p_l: hell, some of the crucial clocks in use on earth are based on finite fields and have relatively short periods, thus being impossible to be useful as absolute date 2021-04-20T04:13:14Z MrtnDk[m]: Nilby: How many Plank units for a second? Approximately ... 2021-04-20T04:13:50Z Nilby: 10e-34 2021-04-20T04:13:59Z Nilby: or something? 2021-04-20T04:14:07Z MrtnDk[m]: Wow, that answer was fast. 2021-04-20T04:14:14Z no-defun-allowed: Honestly, you're asking too much. Not only do you want a total ordering on events, you want a clock too? Kids these days... 2021-04-20T04:14:58Z Nilby: I had a lot of Plank units to space. 2021-04-20T04:15:15Z Nilby: s/space/spare/ 2021-04-20T04:16:03Z MrtnDk[m]: p_l Finite fields? 2021-04-20T04:16:04Z p_l: (gps clocks operate on what can be considered finite field where the set is the whole period of a specific pseudorandom function with predefined seed) 2021-04-20T04:16:59Z aartaka joined #lisp 2021-04-20T04:17:28Z p_l: MrtnDk[m]: essentially GPS clock value is a pseudorandom number, and you get the time by finding where in the sequence of possible numbers it is 2021-04-20T04:17:58Z Nilby: p_l: I don't know much about GPS, but I would guess the units are bigger than I'm thinking of. 2021-04-20T04:19:23Z MrtnDk[m]: Nilby If it follows the laws of physics, which seems to be a reasonable assumption. 2021-04-20T04:19:41Z p_l: there are no duplicates on the numbers, and you can get the time since the start of the period by (position clock-value +gps-clock-sequence+) 2021-04-20T04:19:52Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-20T04:20:42Z MrtnDk[m]: p_l Hopefully there is a library for that. 😁 2021-04-20T04:20:51Z p_l: Nilby: because planck time by itself isn't useful in macroscale (and I suspect that using as basis of measurement might invoke certain nasal demons) 2021-04-20T04:20:54Z Nilby: MrtnDk[m]: I think a true universal time system would not actually require physica, just math. But there would have to be agreed upon cosmological reference points. 2021-04-20T04:21:06Z p_l: MrtnDk[m]: well duh, that's usually handled by the GPS receiver for you :) 2021-04-20T04:21:43Z p_l: MrtnDk[m]: translating that into time data from multiple sats is how it figures the position, after all :) 2021-04-20T04:21:57Z Nilby: I looks like GPS only goes down to 30cm? 2021-04-20T04:22:15Z p_l: in impossible to satisfy conditions, maybe 2021-04-20T04:23:16Z p_l: since disablement of SA scrambling I can see depending on CEP of 15m or so, but just in case I continue to treat GPS as having 100m error 2021-04-20T04:24:31Z Bike quit (Quit: Lost terminal) 2021-04-20T04:25:31Z Nilby: p_l: The "timezone" in my universal time would be on "useful" offset constant from Plank units. What useful is, is quite dependant on what scale of creature you are. But we already use macroscale units based on silly wobbly Earth seconds. 2021-04-20T04:26:39Z Nilby: How many clocks seconds go to 61? 2021-04-20T04:27:24Z p_l: well, the base underlying clock doesn't use any of that babylonian numeric 2021-04-20T04:29:03Z p_l: and second is afaik at worst problematic to compare without taking local spacetime curvature in compared locations (dates based on locally counting seconds might require history of the curvature over time between known synchronizations) 2021-04-20T04:31:26Z Nilby: Right. True time actually requires something of a hash code of space and time, but I think there is a real integer number of Plank units since the Universe was size 1. 2021-04-20T04:32:27Z Nilby: And the curvature is the nonuniformity of that. 2021-04-20T04:33:08Z Nilby: Which makes sense because it's tree-like. 2021-04-20T04:34:02Z mindCrime quit (Ping timeout: 265 seconds) 2021-04-20T04:35:07Z Nilby: Sorry for off-topic. But at least I think Lisp is well positioned to handle the future time system. 2021-04-20T04:36:36Z MrtnDk[m]: I wonder why the big bang seems to have pushed the universe mostly in the time direction. I guess it is matter of perspective? 2021-04-20T04:37:20Z skapata quit (Remote host closed the connection) 2021-04-20T04:37:53Z Nilby: I think there's nothing to push. The universe (size/shape/age) is the time direction. 2021-04-20T04:38:33Z moon-child: MrtnDk[m]: what makes you say that? Expansion is rampant! 2021-04-20T04:38:58Z moon-child: near as we can tell, expansion of space is superlinear wrt time 2021-04-20T04:40:01Z Nilby: Yes. I think expansiion and time is equivalent. But our measurement, or thinking about "empty" space isn't quite correct. 2021-04-20T04:40:55Z mindCrime joined #lisp 2021-04-20T04:41:07Z Kundry_Wag joined #lisp 2021-04-20T04:41:08Z Nilby: The much more than superlinearity is because all of history has to fit. 2021-04-20T04:43:24Z nitrix quit (Quit: Genius is one percent inspiration and ninety-nine percent perspiration) 2021-04-20T04:44:37Z hypercube quit (Ping timeout: 252 seconds) 2021-04-20T04:45:31Z nitrix joined #lisp 2021-04-20T04:45:41Z Kundry_Wag quit (Ping timeout: 240 seconds) 2021-04-20T04:45:41Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-20T04:47:54Z Codaraxis_ joined #lisp 2021-04-20T04:47:56Z aeth quit (Ping timeout: 260 seconds) 2021-04-20T04:48:07Z noobineer1 joined #lisp 2021-04-20T04:48:20Z cpape quit (Read error: Connection reset by peer) 2021-04-20T04:48:27Z cpape joined #lisp 2021-04-20T04:49:11Z xsperry quit (Ping timeout: 240 seconds) 2021-04-20T04:49:33Z aeth joined #lisp 2021-04-20T04:50:31Z MrtnDk[m]: Do you think measuring gravitational waves will help us change our understanding of "empty" space? 2021-04-20T04:51:26Z Codaraxis__ quit (Ping timeout: 265 seconds) 2021-04-20T04:51:26Z noobineer quit (Ping timeout: 265 seconds) 2021-04-20T04:51:47Z Nilby: I'm not sure. But I think really understanding causality will. 2021-04-20T04:54:23Z Nilby: One problem with gravity wave communication is the disruptiveness of compression/encryption. Oh and affording the equipment. 2021-04-20T04:55:38Z p_l: MrtnDk[m]: btw, your comment about "hopefully there is a library" reminded me of how some implementation outright skirted export controls by making a dumb if against easily modified variable :D 2021-04-20T04:57:10Z srhm quit (Quit: Konversation terminated!) 2021-04-20T04:58:40Z no-defun-allowed: Reminds me further of that digital TV broadcasting system for which recording is prevented using an easily-missable "don't record" bit. 2021-04-20T04:59:45Z p_l: that's common in AV world 2021-04-20T05:00:56Z MrtnDk[m]: *no-defun-allowed* That seems like a good way to implement it. If it's illegal to record, the law should regulate that, not the hardware. 2021-04-20T05:01:57Z p_l: MrtnDk[m]: thing is, even with the bit set, the law might say that you're allowed to record 2021-04-20T05:02:22Z MrtnDk[m]: Nilby Causality is a tough one. It seems to be embedded in the way we see most things. 2021-04-20T05:02:28Z p_l: and /somehow/ the weasel wording used to give DRM schemes legal protection sometimes fail if the DRM is too simple 2021-04-20T05:03:21Z daphnis joined #lisp 2021-04-20T05:03:46Z MrtnDk[m]: p_l and vice versa. The law may say you're not allowed to copy, even if the bit is not set. Point being, you should follow the law, and only use the bit as guidance. 2021-04-20T05:04:20Z p_l: I dunno if they changed that later, because my layman mind immediately noticed issue in law declaring that "circumventing *successful* DRM is illegal" 2021-04-20T05:05:22Z p_l: technically the word could have been translated as effective, but the word has wildly preferred meaning of "successful" XD 2021-04-20T05:06:03Z Nilby: MrtnDk[m]: Causality is equivalent to return values of a function, so it shouldn't be that hard. It's just like practical programming, practical causality gets very complicated, very quickly. 2021-04-20T05:09:13Z asarch quit (Remote host closed the connection) 2021-04-20T05:09:42Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-20T05:11:42Z asarch joined #lisp 2021-04-20T05:17:57Z a0 quit (Ping timeout: 240 seconds) 2021-04-20T05:20:23Z gaqwas joined #lisp 2021-04-20T05:20:23Z gaqwas quit (Changing host) 2021-04-20T05:20:23Z gaqwas joined #lisp 2021-04-20T05:28:34Z rumbler31 quit (Remote host closed the connection) 2021-04-20T05:29:22Z rumbler31 joined #lisp 2021-04-20T05:33:59Z imode quit (Ping timeout: 268 seconds) 2021-04-20T05:35:03Z sauvin joined #lisp 2021-04-20T05:42:37Z abrantesasf quit (Remote host closed the connection) 2021-04-20T06:12:18Z tempest_nox quit (Remote host closed the connection) 2021-04-20T06:19:01Z asarch quit (Quit: Leaving) 2021-04-20T06:22:59Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-20T06:24:48Z kopiyka quit (Remote host closed the connection) 2021-04-20T06:29:28Z kopiyka joined #lisp 2021-04-20T06:32:07Z orivej joined #lisp 2021-04-20T06:32:40Z imode joined #lisp 2021-04-20T06:32:41Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-20T06:53:17Z actuallybatman quit (Quit: leaving) 2021-04-20T06:55:06Z ramHero joined #lisp 2021-04-20T07:00:45Z xsperry joined #lisp 2021-04-20T07:11:01Z imode quit (Ping timeout: 260 seconds) 2021-04-20T07:13:40Z Elzington joined #lisp 2021-04-20T07:19:15Z Krystof joined #lisp 2021-04-20T07:21:21Z karlosz joined #lisp 2021-04-20T07:23:26Z vegansbane6963 quit (Ping timeout: 240 seconds) 2021-04-20T07:26:50Z klltkr joined #lisp 2021-04-20T07:28:28Z hiroaki_ joined #lisp 2021-04-20T07:33:11Z nij quit (Remote host closed the connection) 2021-04-20T07:33:23Z OlCe joined #lisp 2021-04-20T07:34:53Z nij joined #lisp 2021-04-20T07:35:16Z nij: Hello #lisp. I wonder if I can specify the class of multiple arguments in defmethod - 2021-04-20T07:35:38Z beach: Yes. 2021-04-20T07:35:38Z nij: Something like (defmethod greet ((foo person) (line sentence)).. 2021-04-20T07:35:46Z beach: It's called "multiple dispatch" 2021-04-20T07:35:57Z nij: Hmmm.. weird. It doesn't work as expected. 2021-04-20T07:36:21Z beach: You need to be more specific. 2021-04-20T07:36:46Z nij: Yes.. I'm trying to extend some package.. so when it doesn't work it might be other problems fault. 2021-04-20T07:36:54Z nij: How about this. 2021-04-20T07:37:18Z nij: If firefighter is a subclass of person, and I have a method for both firefighter and person. 2021-04-20T07:37:41Z nij: If i apply the method on an instance of firefighter, will both methods be evaluated? 2021-04-20T07:37:59Z beach: HOLY SMOKE! Let's try some terminology here. 2021-04-20T07:38:16Z beach: 1. Packages can not be extended, other than by adding symbols to them I guess. 2021-04-20T07:38:25Z beach: Perhaps you mean a system? 2021-04-20T07:38:28Z nij: OHHHHH again yes system.. 2021-04-20T07:38:46Z nij: sorry for that 2021-04-20T07:38:53Z beach: 2. You don't "apply methods", you "call generic functions". 2021-04-20T07:39:16Z nij: Ok. So I call that generic function on an instance of firefighter. 2021-04-20T07:39:20Z beach: 3. Methods are not "evaluated". They are "called" or "invoked". 2021-04-20T07:39:22Z surabax joined #lisp 2021-04-20T07:39:27Z nij: Will both methods be called? 2021-04-20T07:39:36Z beach: Then only the most specific method will be called. 2021-04-20T07:39:40Z nij: beach: I get your "Holly Smoke" xD 2021-04-20T07:39:54Z beach: Unless you have a method combination that invokes them all, like LIST or PROGN. 2021-04-20T07:40:00Z karlosz quit (Quit: karlosz) 2021-04-20T07:40:27Z beach: If you want to invoke the less specific one, with the standard method combination, you need to call CALL-NEXT-METHOD. 2021-04-20T07:40:33Z beach: clhs call-next-method 2021-04-20T07:40:37Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_call_n.htm 2021-04-20T07:41:05Z nij: How about call-next-next-method ;)? 2021-04-20T07:42:12Z beach: If, in your method specialized to FIREFIGHTER you invoke (CALL-NEXT-METHOD), then the method specialized to PERSON will be invoked. 2021-04-20T07:43:10Z nij: So it will apply to the most specific once by default. Sure. 2021-04-20T07:43:22Z beach: If you want a generic function for which you want every primary applicable method to be called, then use a different method combination, like PROGN. 2021-04-20T07:43:33Z nij: Harder - say the generic function has two variables 2021-04-20T07:44:17Z beach: 4. Generic functions don't have "variables". They usually have "parameters". 2021-04-20T07:44:27Z nij: :-( note taken 2021-04-20T07:45:16Z nij: Say the generic function has two parameters, both are of class person or firefighter. 2021-04-20T07:45:22Z nij: So there are four situations now. 2021-04-20T07:45:44Z nij: (* 2 2 ) ; => 4 2021-04-20T07:45:59Z ljavorsk joined #lisp 2021-04-20T07:46:29Z nij: But suppose that the (and only the) case (firefighter, firefighter) hasn't been implemented. 2021-04-20T07:46:57Z nij: What would happen if I apply the generic function on (x, y), where both x and y are instances of firefighter? 2021-04-20T07:47:15Z nij: Will Lisp be smart enough to call the next specified method? 2021-04-20T07:47:46Z nij: Cuz technically speaking x and y are also instances of person.. so we cannot say it hasn't been implemented for them. 2021-04-20T07:48:05Z nij: I hope that makes sense.. 2021-04-20T07:48:09Z beach: You said that only one method exists. That's what it means to say "only the case firefighter and firefighter has been implemented." 2021-04-20T07:48:40Z nij: nono.. I said 2021-04-20T07:48:45Z anticrisis quit (Read error: Connection reset by peer) 2021-04-20T07:48:56Z nij: only and only the case of (firefighter, firefighter) has NOT been implemented. 2021-04-20T07:49:10Z beach: Oh, sorry. 2021-04-20T07:49:21Z nij: The other three cases, namely (person, person), (person, ff), (ff, person), are all implemented. 2021-04-20T07:49:54Z nij: I can generalize this question to N parameters.. 2021-04-20T07:50:00Z nij: how would CLOS decide? 2021-04-20T07:50:01Z beach: A method is applicable if it is given a superclass of the class it specializes to. So a method that specializes to PERSON is applicable to a FIREFIGHTER. That's the same in every object-oriented programming language. 2021-04-20T07:50:33Z nij: Yes, but now CLOS needs to decide whether it should call the method for (person, ff) or the method for (ff, person). 2021-04-20T07:50:44Z nij: Both methods are equally specific in this context. 2021-04-20T07:50:57Z beach: The specificity order between methods is clearly defined in the Common Lisp HyperSpec. 2021-04-20T07:51:20Z no-defun-allowed: Then the argument precedence order is used, which defaults to choosing the most specific method for the first argument, then second, then so on. 2021-04-20T07:51:45Z beach: nij: What no-defun-allowed said. 2021-04-20T07:51:47Z no-defun-allowed: So it would choose the method specialized on (firefighter person). 2021-04-20T07:51:56Z nij: no-defun-allowed: Oh :) 2021-04-20T07:52:12Z klltkr quit (Ping timeout: 265 seconds) 2021-04-20T07:52:58Z nij: Thanks beach no-defun-allowed! Lemme get back to my project then. I think I understand. The problems must have come from another place. 2021-04-20T07:53:08Z CrashTestDummy2 joined #lisp 2021-04-20T07:53:28Z beach: How does the problem manifest itself? 2021-04-20T07:54:58Z beach: A common mistake is to forget the package prefix of the name of the generic function given in the DEFMETHOD form, which results in an unrelated method being created. To check that, you can use the inspector to inspect the generic function and check that it has all the methods you expect. 2021-04-20T07:55:54Z nij: Hmm.. I have (defmethod ((a x) (b y)) ..) 2021-04-20T07:56:01Z CrashTestDummy quit (Ping timeout: 252 seconds) 2021-04-20T07:56:12Z nij: Which should work as I called on (a,b). But it didn't. 2021-04-20T07:56:19Z beach: Then you need to supply a name of a generic function too. 2021-04-20T07:56:22Z nij: However, by taking y away.. it works. 2021-04-20T07:56:35Z nij: oh no no I do have a name.. hmm hard to explain. 2021-04-20T07:56:46Z beach: The parameter comes before the class name. 2021-04-20T07:57:00Z nij: (defmethod f ((a x) (b y)) ...) ;; doesn't work 2021-04-20T07:57:04Z beach: (defmethod ((x a) (y b)) ...) if A and B are classes. 2021-04-20T07:57:10Z nij: (defmethod f ((a x) b ) ...) ;; works 2021-04-20T07:57:37Z beach: You really have classes named x and y and parameters named a and b? 2021-04-20T07:57:46Z beach: That's very unusual. 2021-04-20T07:57:57Z nij: No. I'm trying to give an easier version. 2021-04-20T07:58:36Z beach: Also "doesn't work" is not enough information. 2021-04-20T07:59:07Z nij: Oh! I should just call that in a repl and see what happens. 2021-04-20T07:59:46Z nij: Lemme give it a try. At least I know how defmethod works. I'm sure it's some other problem related to the infrastructure of the system. 2021-04-20T08:00:15Z Nilby: I can understand learn by reading, learn by doing, learn by listening, even learn by the Socratic method, but I really don't understand learn by long tedious online chat that could have been answered by 1 line of code. 2021-04-20T08:02:03Z beach: Nilby: I am like you. But I often observe this "learning technique", so it must be common. 2021-04-20T08:02:10Z Nilby: I'm frequently very impressed by beach's diligent didactic patience 2021-04-20T08:02:38Z Nilby: It must be, seeing how popular it seems. 2021-04-20T08:02:55Z beach: Thanks! My patience depends on my mood that day. 2021-04-20T08:03:22Z zaquest quit (Quit: Leaving) 2021-04-20T08:03:23Z ljavorsk quit (Remote host closed the connection) 2021-04-20T08:03:29Z nij: Thanks for your patience :) 2021-04-20T08:04:03Z nij: Nilby: the problem is tricky because when you haven't learned it, you wouldn't have known which line of code you're looking at. 2021-04-20T08:04:17Z pve joined #lisp 2021-04-20T08:04:20Z nij: It's an excuse I know. But it's also why it's common. 2021-04-20T08:04:46Z nij: Especially you are dealing with another problem, in which the quesiton is just a subsubsubproblem. 2021-04-20T08:04:58Z Nilby: nij: I'm also impressed by your engetic curiosity and persistence. 2021-04-20T08:05:36Z beach: Well, personally, I don't think I would have attempted a DEFMETHOD form without reading Keene's book and the PCL chapters on CLOS. Probably also the relevant Common Lisp HyperSpec pages. 2021-04-20T08:06:09Z nij: You folks must have been more energetic and curious than I am... really admire your approach. 2021-04-20T08:06:16Z ljavorsk joined #lisp 2021-04-20T08:06:36Z nij: I'm just a lazy folk who wants to get an answer without reading thousands of lines. 2021-04-20T08:06:51Z nij: (to find that particular line of code) 2021-04-20T08:06:55Z beach: Nilby: Part of the reason for my relative patience with nij, is that nij seems to be making progress, and seems to want to follow advice, which may result in some net contributions to the community one day. 2021-04-20T08:07:05Z klltkr joined #lisp 2021-04-20T08:07:12Z vegansbane6963 joined #lisp 2021-04-20T08:07:12Z nij: beach: I do hope that ! 2021-04-20T08:07:13Z beach: Nilby: Some people seeking advice here are not like that at all. 2021-04-20T08:07:30Z zaquest joined #lisp 2021-04-20T08:07:43Z Nilby: beach: That very good of you. We do need more of that. 2021-04-20T08:08:06Z beach: nij: My advice for you is to get used to reading documentation more. It really helps with the understanding of the language, and of programming in general. 2021-04-20T08:08:07Z hendursa1 joined #lisp 2021-04-20T08:08:40Z nij: Is it just for me, or CLHS is some thing that really takes time? 2021-04-20T08:08:53Z nij: It's not something that I could understand by reading the first 3~5 times. 2021-04-20T08:09:06Z beach: nij: It takes time because it is not meant for the application programmer. 2021-04-20T08:09:12Z nij: I also suspect that I understand a piece of it just because I have had experience on that part already. 2021-04-20T08:09:18Z beach: It is a document meant for people creating Common Lisp systems. 2021-04-20T08:09:25Z nij: Yeah. 2021-04-20T08:09:43Z beach: But PCL and Keene's book are not like that. 2021-04-20T08:09:54Z nij: Well, what I mean is that though CLHS is thorough and complete, one cannot get much from it without experiencing the repl. 2021-04-20T08:10:21Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-20T08:10:26Z OlCe quit (Ping timeout: 240 seconds) 2021-04-20T08:11:16Z nij: You think it's more proper to read two books before starting to use CLOS? 2021-04-20T08:11:53Z nij: Having to read hundreds or thousands of technical papers I find that impractical.. 2021-04-20T08:12:13Z nij: I apply that mindset on learning lisp too.. maybe what I have is not a good approach. 2021-04-20T08:12:59Z nij: My way: do + experience => encounter specific quesiton => locate answer in the ocean of answers => apply 2021-04-20T08:13:15Z nij: the third step is the trickest.. it really depends on the community and their patience 2021-04-20T08:13:50Z nij: When there's not enough channel for communication, sure, I will read two books to get started with CLOS. 2021-04-20T08:14:12Z nij: But now everything is online.. and if I could get some advice here, I'd first try. 2021-04-20T08:14:29Z nij: I thought that's the point of #lisp. Maybe I'm exploiting too much. I hope that's not the case.. 2021-04-20T08:17:48Z Nilby: I think people usually like to answer questions. And frequently simple questions create insteresting discussion. 2021-04-20T08:18:26Z nij quit (Remote host closed the connection) 2021-04-20T08:25:19Z beach: minion: memo for nij: That is not quite the point of #lisp. And #clschool was created for that reason. It is just that #lisp participants are tolerant with such questions; especially when things are otherwise quiet. 2021-04-20T08:25:19Z minion: Remembered. I'll tell nij when he/she/it next speaks. 2021-04-20T08:32:35Z OlCe joined #lisp 2021-04-20T08:32:35Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T08:33:09Z amb007 joined #lisp 2021-04-20T08:33:10Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T08:33:12Z nij joined #lisp 2021-04-20T08:33:26Z amb007 joined #lisp 2021-04-20T08:34:09Z nij: I saw the log. Sorry my wm crashed. 2021-04-20T08:34:09Z minion: nij, memo from beach: That is not quite the point of #lisp. And #clschool was created for that reason. It is just that #lisp participants are tolerant with such questions; especially when things are otherwise quiet. 2021-04-20T08:34:33Z nij: Hm. What's the point of #lisp, then? 2021-04-20T08:36:15Z beach: One purpose of it is to discuss how to implement various Common Lisp constructs efficiently. Other purposes include libraries to create, applications to write, how to design protocols, how to organize a library or an application, etc. 2021-04-20T08:36:48Z beach: Those would be discussions between people who already know a large part of the language. 2021-04-20T08:37:25Z beach: Some people discuss ways to make Common Lisp more widely used. 2021-04-20T08:37:39Z ebrasca joined #lisp 2021-04-20T08:37:43Z nij: I see. It's more about moving the community forward. 2021-04-20T08:37:56Z beach: That sounds like a good summary. 2021-04-20T08:38:19Z Stanley00 quit 2021-04-20T08:41:16Z Nilby: I just like to make Lisp jokes, and get inspiration for my work from the super smart people. 2021-04-20T08:42:35Z nij: That's also helpful for the community. We need more jokes - 2021-04-20T08:46:07Z Nilby: e.g.: Q: How many CL experts does it take to answer a question? 2021-04-20T08:46:18Z Nilby: A: most-posistive-bignum 2021-04-20T08:46:35Z beach: Heh, nice! 2021-04-20T08:47:09Z Odin- is unconvinced. 2021-04-20T08:47:22Z Odin-: That's a finite number by definition, isn't it? :) 2021-04-20T08:47:33Z nij: CL-USER> most-positive-bignum 2021-04-20T08:47:34Z nij: ; Debugger entered on # 2021-04-20T08:47:36Z nij has no idea 2021-04-20T08:47:54Z beach: *sigh* 2021-04-20T08:48:03Z no-defun-allowed (apropos "BIGNUM") 2021-04-20T08:48:11Z no-defun-allowed: SB-KERNEL:MAXIMUM-BIGNUM-LENGTH = 36028797018963967 2021-04-20T08:48:50Z Odin-: nij: It's not defined, but an analogy to most-positive-fixnum, I presume. (And the float versions.) 2021-04-20T08:49:10Z no-defun-allowed M-. maximum-bignum-length 2021-04-20T08:49:24Z nij: Yeah I just figured. Maybe Nilby's answer was intended for an error. 2021-04-20T08:49:37Z no-defun-allowed: Okay, most-positive-bignum would be (1- (expt 2 36028797018963967)) I figure. 2021-04-20T08:50:14Z Nilby: no-defun-allowed: TIL Now I have to delete that joke from the book :o 2021-04-20T08:50:36Z no-defun-allowed: My apologies. Though jwz actually created a most-positive-bignum on a TI Lisp machine once. 2021-04-20T08:51:19Z no-defun-allowed: From memory, that was close to (expt 2 (* 512 1024)) but I likely forgot. 2021-04-20T08:52:15Z Odin-: Huh. most-positive-fixnum must be 2^15-1 or higher? Surely that's tricky at best on machines with 16-bit pointers. 2021-04-20T08:52:19Z Lord_Nightmare quit (Quit: ZNC - http://znc.in) 2021-04-20T08:52:48Z no-defun-allowed: https://www.jwz.org/blog/2008/03/most-positive-bignum/ 524KB of bignum. 2021-04-20T08:53:07Z kevingal joined #lisp 2021-04-20T08:53:22Z no-defun-allowed: Odin-: I suppose you use the "I wrote a Lisp interpreter in C!!!1!" technique (name my own) and heap-allocate fixnums if tagging wouldn't work. 2021-04-20T08:54:15Z nij quit (Remote host closed the connection) 2021-04-20T08:54:38Z luckless_ quit (Remote host closed the connection) 2021-04-20T08:54:45Z no-defun-allowed: For your amusement, that links to ABCL running on a JVM on SBCL: http://paste.lisp.org/display/2096 2021-04-20T08:54:55Z Nilby: Even worse, my bit-rotted brain must have stolen the joke from jwz, who gave it much more thorough treatment 2021-04-20T08:55:02Z OlCe quit (Ping timeout: 265 seconds) 2021-04-20T08:55:08Z luckless_ joined #lisp 2021-04-20T08:55:41Z Odin-: no-defun-allowed: Wouldn't the switch between immediate and heap allocated be the 'reasonable' place to put the switch between fixnum and bignum, though? 2021-04-20T08:55:57Z no-defun-allowed: It would, yes. 2021-04-20T08:56:41Z orivej quit (Ping timeout: 240 seconds) 2021-04-20T08:56:43Z no-defun-allowed: There is another limit still: array-total-size-limit must be greater or equal to 1024, but still a FIXNUM. But no one has a 12-bit machine for that to be a problem. 2021-04-20T08:57:18Z orivej joined #lisp 2021-04-20T08:57:49Z Lord_Nightmare joined #lisp 2021-04-20T08:57:50Z Odin-: Pointers tend to be at least 16 bits in octet-oriented systems, so, yeah. 2021-04-20T08:59:46Z no-defun-allowed: I think there was one Microchip microcontroller with 12-bit words, but getting CL on that would pose many more problems. 2021-04-20T08:59:52Z Odin- is messing around with uLisp, a (so far) interpreted system that can run on something as small as an Arduino Uno. 2021-04-20T09:00:24Z Odin-: It's an interesting exercise. 2021-04-20T09:00:28Z no-defun-allowed: That would use 16-bit pointers, and does it expose fixnum-ness to the user? 2021-04-20T09:00:54Z Odin-: It didn't have any immediate objects until I got to it... :p 2021-04-20T09:00:58Z no-defun-allowed: Python does not, so MicroPython can get away with actually having fixnums (unlike CPython). 2021-04-20T09:02:27Z Odin-: Oh, interesting. 2021-04-20T09:03:27Z lowryder quit (Ping timeout: 260 seconds) 2021-04-20T09:06:27Z lowryder joined #lisp 2021-04-20T09:06:39Z Nilby: I'm trying really hard to resist the urge to port make-most-positive-bignum to sbcl. 2021-04-20T09:13:22Z jackdaniel: cl-user> most-positive-bignum ; STORAGE-CONDITION signalled: Storage is exhausted. 2021-04-20T09:17:00Z aartaka_d joined #lisp 2021-04-20T09:18:35Z saganman joined #lisp 2021-04-20T09:19:12Z aartaka quit (Ping timeout: 265 seconds) 2021-04-20T09:19:38Z saganman quit (Client Quit) 2021-04-20T09:22:32Z mindCrime joined #lisp 2021-04-20T09:23:31Z Nilby: # is seeming more attractive, but might thwart my Collatz disprover 2021-04-20T09:23:57Z jackdaniel: # 2021-04-20T09:28:48Z beach: I remember someone is/was working on a module that provides type proclamations for all standard functions. But I can't remember who. Maybe scymtym? 2021-04-20T09:29:50Z mindCrime quit (Ping timeout: 265 seconds) 2021-04-20T09:32:13Z lotuseater joined #lisp 2021-04-20T09:33:41Z prxq_ quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-20T09:33:51Z prxq joined #lisp 2021-04-20T09:37:19Z nij joined #lisp 2021-04-20T09:37:54Z yitzi quit (Quit: yitzi) 2021-04-20T09:38:26Z nij: Why should there be a maximal integer in Lisp? 2021-04-20T09:38:48Z jackdaniel: nij: there isn't, that's a point 2021-04-20T09:38:56Z jackdaniel: but lisp runs on a physical machine with a finite amount of memory 2021-04-20T09:39:12Z jackdaniel: that's why allocating too big int may cause a storage exhaustion 2021-04-20T09:39:44Z nij: Indeed. 2021-04-20T09:39:53Z nij: (expt 2 10000000000000000000) crashes my stumpwm. 2021-04-20T09:40:35Z no-defun-allowed: When runs out of word bits, one uses primary memory. When one runs out of primary, one uses secondary memory. When one runs out of secondary... 2021-04-20T09:40:47Z jackdaniel: it shouldn't - it should signal a condition 2021-04-20T09:41:06Z jackdaniel: but that's a bit tricky, because when you are out of memory, then you need to take a special precaution in the condition signalling code 2021-04-20T09:41:12Z jackdaniel: to not try to allocate more :) 2021-04-20T09:41:22Z nij: StumpWM Crashed With an Unhandled Error! 2021-04-20T09:41:26Z attila_lendvai joined #lisp 2021-04-20T09:41:26Z attila_lendvai quit (Changing host) 2021-04-20T09:41:26Z attila_lendvai joined #lisp 2021-04-20T09:41:42Z jackdaniel: when one runs out of secondory they take out their pen and paper and scribble 2021-04-20T09:41:46Z nij: when secondary is ran out.. why not use the disk? 2021-04-20T09:42:13Z nij: I figure there are some edge cases not handled well in stumpwm. 2021-04-20T09:43:33Z varjag joined #lisp 2021-04-20T09:44:53Z beach: nij: Disk *is* secondary memory. 2021-04-20T09:46:44Z contrapunctus: jackdaniel: "when one runs out of secondory they take out their pen and paper and scribble" lol 2021-04-20T09:47:22Z nij: they first have to have enough resources to ssh into their pen and pencil 2021-04-20T09:47:38Z nij: otherwise it doesn't work 2021-04-20T09:52:42Z nij quit (Remote host closed the connection) 2021-04-20T09:55:24Z beach: Actually, a module for type proclamations of all standard functions ought to also contain other properties of those functions, like whether it has side effects, whether it might be consing, etc. 2021-04-20T09:56:11Z jackdaniel: ecl cmp module has a file with such proclamations 2021-04-20T09:56:47Z jackdaniel: beach: https://gitlab.com/embeddable-common-lisp/ecl/-/blob/develop/src/cmp/proclamations.lsp 2021-04-20T09:57:06Z beach: I can imagine. I think I'll remove the description of such a module from the SICL specification, together with any code for it that I may have started at some point. 2021-04-20T09:58:38Z beach: Yes, like that. I see no reason to repeat such a thing as part of SICL. It should be a completely separate repository. 2021-04-20T09:59:48Z jackdaniel: I imagine that particular implementations may want to provide proclamations for their extensions and internals (for sake of the compiler) 2021-04-20T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-20T10:00:09Z beach: Sounds likely, yes. 2021-04-20T10:00:11Z jackdaniel: also I wonder whether some proclamations of standard functions could vary between implementations 2021-04-20T10:00:25Z jackdaniel: i.e -- "our cl: doesn't cons" 2021-04-20T10:00:53Z beach: That too. Especially for functions with undefined behavior according to the Common Lisp HyperSpec. 2021-04-20T10:01:59Z Nilby: Aren't there a fair amount of implementation specific ftypes? like upgraded-array-element-type or even char-int ? 2021-04-20T10:02:00Z beach: So, again, we need a protocol with a CLIENT parameter, so that it can be adapted and/or extended by client code. 2021-04-20T10:03:09Z beach: Nilby: Sure. But I am also pretty sure that there are lots of functions that have completely standardized behavior. 2021-04-20T10:04:03Z jackdaniel: (I have a strong suspicion that #'cons may cons in most implementations :) 2021-04-20T10:04:08Z Nilby: Right. Btw, I think CLient would be a good name for something 2021-04-20T10:04:09Z heisig joined #lisp 2021-04-20T10:04:16Z jackdaniel: of course we forget about sufficiently smart compilers 2021-04-20T10:04:55Z Nilby: nooo! :O we just nearly got sufficiently smart compilers 2021-04-20T10:04:58Z beach: Either way, it would be good to have a defined protocol for this stuff. 2021-04-20T10:05:25Z ikrabbe joined #lisp 2021-04-20T10:05:31Z jackdaniel: cl-repl> (cons 1 1) ; Condition of type SUFFICIENTLY-SMART-COMPILER: That's dumb, I won't allow you to do that. 2021-04-20T10:05:56Z antoszka quit (Quit: WeeChat 2.8) 2021-04-20T10:06:40Z Nilby: That seems closer to the next level: SNARKY-COMPILER 2021-04-20T10:07:04Z Nilby: or maybe smart-ass-compiler 2021-04-20T10:07:05Z jackdaniel: cl-repl> (cons 1 1) ; Condition of type SNARKY-COMPILER-MESSAGE: yeah, sure. as if. 2021-04-20T10:07:26Z mrSpec quit (Remote host closed the connection) 2021-04-20T10:07:32Z Nilby: which I would totaly use :) 2021-04-20T10:08:11Z wxie quit (Ping timeout: 246 seconds) 2021-04-20T10:10:52Z jonatack quit (Ping timeout: 240 seconds) 2021-04-20T10:11:17Z jonatack joined #lisp 2021-04-20T10:11:50Z jmercouris: anything like Pharo exist for CL? 2021-04-20T10:11:55Z jmercouris: anyone applied some of the concepts to CL? 2021-04-20T10:14:04Z beach: jmercouris: If you tell us what Pharo is/does, then people who don't know Pharo might have an answer for you. 2021-04-20T10:14:21Z jackdaniel: it is smalltalk incarnation 2021-04-20T10:15:00Z jackdaniel: and yes, i.e some cl implementations have image-based runtime 2021-04-20T10:15:37Z jackdaniel: and you may find a few inspectors in mcclim codebase - mop gives good tools for working and inspective live systems 2021-04-20T10:16:34Z jackdaniel: what cl doesn't have is a blessed ide with all features integrated - slime is the closest thing to that in the free software world 2021-04-20T10:17:12Z beach: But an IDE is being worked on. Slowly, but still... 2021-04-20T10:17:43Z Nilby quit (Ping timeout: 276 seconds) 2021-04-20T10:18:05Z frgo quit (Remote host closed the connection) 2021-04-20T10:18:28Z frgo joined #lisp 2021-04-20T10:19:45Z beach: So if we had a defined protocol for various features of functions, and if that protocol had a CLIENT parameter for its functions, then it could be used for implementation-defined functions as well. 2021-04-20T10:20:06Z Nilby joined #lisp 2021-04-20T10:20:11Z beach: Anyone interested in creating such a module? 2021-04-20T10:20:26Z beach: ... unless it exists, of course. 2021-04-20T10:26:18Z igemnace quit (Remote host closed the connection) 2021-04-20T10:30:53Z lotuseater quit (Remote host closed the connection) 2021-04-20T10:32:21Z skapata joined #lisp 2021-04-20T10:32:55Z jmercouris: The pieces of the puzzle exist, but not together it seems 2021-04-20T10:33:41Z Nilby: jmercouris: I tried Pharo, and I thought I would like it, but something about it bugged me. I used to have a TI machine on my desk that could boot into either Smalltalk or Lisp, both with a similarly advanced GUI. I always felt better in the Lisp side, but it's hard to explain why. lukego mentioned he was working in Pharo recently and went back to CL, so maybe he has some insight. 2021-04-20T10:37:43Z jello_pudding quit (Ping timeout: 260 seconds) 2021-04-20T10:38:36Z rumbler31 quit (Remote host closed the connection) 2021-04-20T10:38:56Z rumbler31 joined #lisp 2021-04-20T10:40:32Z brown121407 joined #lisp 2021-04-20T10:43:59Z jello_pudding joined #lisp 2021-04-20T10:44:47Z kslt1 quit (Ping timeout: 268 seconds) 2021-04-20T10:45:48Z kslt1 joined #lisp 2021-04-20T10:54:27Z vegansbane6963 joined #lisp 2021-04-20T10:54:50Z random-nick joined #lisp 2021-04-20T10:55:20Z attila_lendvai quit (Quit: Leaving) 2021-04-20T10:57:59Z dilated_dinosaur joined #lisp 2021-04-20T11:05:29Z saganman joined #lisp 2021-04-20T11:06:40Z antoszka joined #lisp 2021-04-20T11:14:18Z rumbler31 quit (Remote host closed the connection) 2021-04-20T11:14:59Z leeren quit (Quit: leeren) 2021-04-20T11:16:58Z leeren joined #lisp 2021-04-20T11:17:48Z saganman quit (Quit: WeeChat 1.6) 2021-04-20T11:18:07Z saganman joined #lisp 2021-04-20T11:22:25Z jmercouris: I just want to steal some ideas and bring them into a CL IDE 2021-04-20T11:22:43Z jackdaniel: are you writing a cl ide? 2021-04-20T11:23:03Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T11:23:30Z phoe: according to Zawinski's Law, every program attempts to expand until it is possible to write Lisp code in it 2021-04-20T11:23:37Z phoe: I assume nyxt is no exception 2021-04-20T11:23:52Z amb007 joined #lisp 2021-04-20T11:30:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T11:30:27Z amb007 joined #lisp 2021-04-20T11:34:39Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T11:35:31Z amb007 joined #lisp 2021-04-20T11:37:42Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T11:37:45Z jackdaniel: naming in software is a hard problem, so I will propose one: phyro ,) 2021-04-20T11:38:01Z amb007 joined #lisp 2021-04-20T11:42:36Z l1x joined #lisp 2021-04-20T11:42:36Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T11:43:09Z amb007 joined #lisp 2021-04-20T11:46:47Z waleee-cl joined #lisp 2021-04-20T11:46:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T11:47:11Z ebrasca quit (Ping timeout: 240 seconds) 2021-04-20T11:47:25Z ebrasca joined #lisp 2021-04-20T11:48:01Z amb007 joined #lisp 2021-04-20T11:49:11Z aartaka joined #lisp 2021-04-20T11:49:12Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T11:50:15Z amb007 joined #lisp 2021-04-20T11:51:19Z Nilby quit (Ping timeout: 276 seconds) 2021-04-20T11:51:26Z aartaka_d quit (Ping timeout: 260 seconds) 2021-04-20T11:51:47Z aartaka_d joined #lisp 2021-04-20T11:53:51Z aartaka quit (Ping timeout: 268 seconds) 2021-04-20T12:00:34Z Bike joined #lisp 2021-04-20T12:00:35Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T12:00:42Z amb007 joined #lisp 2021-04-20T12:02:42Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T12:03:58Z amb007 joined #lisp 2021-04-20T12:06:29Z srandon111 joined #lisp 2021-04-20T12:06:40Z saganman quit (Quit: WeeChat 1.6) 2021-04-20T12:07:49Z saganman joined #lisp 2021-04-20T12:10:20Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T12:10:33Z amb007 joined #lisp 2021-04-20T12:13:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T12:13:47Z amb007 joined #lisp 2021-04-20T12:16:06Z jurov quit (Ping timeout: 240 seconds) 2021-04-20T12:20:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T12:20:50Z zefram22 joined #lisp 2021-04-20T12:21:25Z amb007 joined #lisp 2021-04-20T12:30:09Z ldbeth joined #lisp 2021-04-20T12:30:14Z ldbeth: good evening 2021-04-20T12:30:56Z zefram22: abend 2021-04-20T12:32:06Z flip214: next project should be "clakdaniej" 2021-04-20T12:32:32Z ikrabbe quit (Ping timeout: 240 seconds) 2021-04-20T12:32:56Z ikrabbe joined #lisp 2021-04-20T12:33:03Z jackdaniel: :) 2021-04-20T12:33:36Z beach: zefram22: Are you new here? I don't recognize your nick. 2021-04-20T12:35:06Z zefram22: yup 2021-04-20T12:35:18Z beach: Great! What brings you to #lisp? 2021-04-20T12:36:29Z zefram22: oh, curiousity havent used lisp in years, was suprised others still were 2021-04-20T12:36:30Z lukego: jmercouris: Could alternatively extend GToolkit (http://gtoolkit.com/) to act as a Common Lisp dev environment i.e. swap out Emacs for a "full Lisp Machine" level UI (albeit one written in Smalltalk.) 2021-04-20T12:37:02Z beach: zefram22: I think you will find that there is lots of activity. Here and in several other channels. 2021-04-20T12:37:16Z lukego: but it's hard with systems written half in one language and half in the other. 2021-04-20T12:37:51Z jurov joined #lisp 2021-04-20T12:38:07Z zefram22: yay, something to keep the creative juice flowing 2021-04-20T12:39:05Z zefram22: yeah, legacy integration is no fun 2021-04-20T12:39:55Z hypercube joined #lisp 2021-04-20T12:40:42Z jackdaniel: I think that the name "Smalllisp" has at least three puns hidden :) 2021-04-20T12:41:31Z beach: jmercouris: Can I assume you are aware of components such as Clouseau, the CLIM listener, and the Second Climacs project? What would your design look like? 2021-04-20T12:43:13Z beach: jmercouris: Like, for instance, how would you handle indentation and highlighting? And what would your debugger look like? 2021-04-20T12:43:22Z kmeow quit (Remote host closed the connection) 2021-04-20T12:43:22Z attila_lendvai joined #lisp 2021-04-20T12:43:22Z attila_lendvai quit (Changing host) 2021-04-20T12:43:22Z attila_lendvai joined #lisp 2021-04-20T12:44:01Z beach: zefram22: Are you planning to write some Common Lisp code? 2021-04-20T12:46:23Z zefram22: only if i have a proper use case 2021-04-20T12:47:18Z beach: For yourself you mean? Otherwise, there is plenty of code needed. 2021-04-20T12:47:23Z jackdaniel bestowes a proper use case to zefram22 2021-04-20T12:47:35Z jackdaniel: bestows? 2021-04-20T12:47:42Z jackdaniel: yes, bestows:) 2021-04-20T12:47:49Z lukego: jmercouris: Pharo/GToolkit is also a bit too integrated for my taste. I know that's the idea and there's a benefit to doing everything in one unified tool -- but there's also a cost to cutting me off from my preferred text editor, git client, etc, and forcing me to use their own relatively primitive and immature versions. 2021-04-20T12:47:51Z contrapunctus: jackdaniel: « naming in software is a hard problem, so I will propose one: phyro ,) » http://s3.amazonaws.com/defunkt.baconfile.com/phosphorous.pdf 2021-04-20T12:48:08Z yacatuco_ joined #lisp 2021-04-20T12:48:10Z zefram22: been lookin for dis, thanks 2021-04-20T12:48:40Z yacatuco quit (Read error: Connection reset by peer) 2021-04-20T12:48:41Z beach: zefram22: Here is a list of projects, in case you are looking for something to do: http://metamodular.com/Common-Lisp/suggested-projects.html 2021-04-20T12:48:54Z zefram22: wonder if i can parse bestokes 2021-04-20T12:48:58Z lukego: jmercouris: I'm not sure exactly where is the sweet spot on integration. Maybe there's also something to be said for a post-modern environment that embraces more diverse tools e.g. builds its debugger on rr as the bottom layer and does back-in-time lisp-level debugging. I dunno. 2021-04-20T12:50:16Z saganman quit (Ping timeout: 252 seconds) 2021-04-20T12:50:48Z jackdaniel: contrapunctus: bringing lisp to 21 century by replacing hyphens with camel case made me chuckle :) 2021-04-20T12:51:05Z jackdaniel: is it meant as a joke? 2021-04-20T12:51:54Z wsinatra joined #lisp 2021-04-20T12:53:09Z nicktick joined #lisp 2021-04-20T12:56:23Z contrapunctus: jackdaniel: haha, yes, it's from r/lispmemes 2021-04-20T12:56:31Z contrapunctus: * I found it on 2021-04-20T12:56:52Z hypercube quit (Ping timeout: 240 seconds) 2021-04-20T12:58:16Z semz: not too far off from many "modernization" attempts, sadly 2021-04-20T12:59:00Z zefram22 quit (Quit: zefram22) 2021-04-20T12:59:40Z yitzi joined #lisp 2021-04-20T12:59:48Z zefram22 joined #lisp 2021-04-20T13:00:08Z Kundry_Wag joined #lisp 2021-04-20T13:00:44Z Kundry_Wag quit (Remote host closed the connection) 2021-04-20T13:02:59Z zefram22 quit (Client Quit) 2021-04-20T13:03:41Z aeth quit (Ping timeout: 240 seconds) 2021-04-20T13:05:37Z aeth joined #lisp 2021-04-20T13:08:26Z ldbeth quit (Ping timeout: 246 seconds) 2021-04-20T13:08:27Z semz: Is there a project you'd recommend as a "good" example of using numerous or very advanced MOP concepts? While reading TAOMP I always get this feeling of a powerful tool that is simply overkill in many situations, so I'm trying to get an idea of where to use it. 2021-04-20T13:09:17Z zefram22 joined #lisp 2021-04-20T13:09:56Z beach: semz: TAOMP = AMOP? 2021-04-20T13:10:58Z beach: semz: I don't think you will find many projects that use numerous MOP features, but you will find many projects that each relies on a specific MOP feature. 2021-04-20T13:11:10Z semz: Ah, I guess the "The" is dropped. 2021-04-20T13:11:12Z semz: But yes 2021-04-20T13:12:21Z semz: oh, I also apparently switched the M and O 2021-04-20T13:12:26Z semz: must be TAOCP influence 2021-04-20T13:13:56Z ldbeth joined #lisp 2021-04-20T13:14:54Z rumbler31 joined #lisp 2021-04-20T13:18:26Z ldbeth quit (Ping timeout: 240 seconds) 2021-04-20T13:20:50Z theseb joined #lisp 2021-04-20T13:22:14Z theseb: Anyone know about implementing a Lisp compiler that emits assembly? I'm stuck 2021-04-20T13:22:19Z daphnis quit (Ping timeout: 265 seconds) 2021-04-20T13:22:21Z beach: semz: So for instance the "stealth mixin" library uses the possibility of customizing ENSURE-CLASS-USING-CLASS. And Costanza (I think it was) used the MOP to create a metaclass that used special variables as backing store for slots (for thread savety). 2021-04-20T13:22:43Z Xach: theseb: you could look at mezzano or movitz. 2021-04-20T13:23:02Z beach: theseb: What would you do with the assembly output? 2021-04-20T13:23:11Z Josh_2 quit (Remote host closed the connection) 2021-04-20T13:23:13Z semz: beach: Thanks, these sound like good starting points. 2021-04-20T13:23:13Z Xach: theseb: or sbcl, cmucl, clozure cl, Anatomy of Lisp, Lisp in Small Pieces. 2021-04-20T13:23:39Z theseb: beach: i created a simple cpu emulator...I want to be able to compile the assembly to machine code and have it actually work 2021-04-20T13:24:10Z ldbeth joined #lisp 2021-04-20T13:24:11Z theseb: beach: I implemented eval in python 2021-04-20T13:24:42Z theseb: beach: some thought I had were to implement eval in my tiny lisp and then implement eval in a tiny C like language and then write a compiler for that tiny c lang? 2021-04-20T13:25:00Z theseb: beach: seems more stages are needed to avoid the mental block i have 2021-04-20T13:25:13Z beach: theseb: I am not so sure that many Common Lisp systems emit assembly that can then be fed to a traditional assembler. Plus, the machine code that Common Lisp compilers emit is highly dependent on the runtime. 2021-04-20T13:27:55Z theseb: beach: Wait...you seem to be saying there is some issue with converting common lisp to assembler 2021-04-20T13:28:13Z theseb: or that somehow the assembly has to be special in some way 2021-04-20T13:28:26Z splittist: theseb: do you mean assembly, or machine code? 2021-04-20T13:28:46Z theseb: splittist: assembly as in ADD r1, r2, r3 LOAD, STORE ,etc 2021-04-20T13:28:51Z _death: theseb: not CL, but check http://canonical.org/~kragen/sw/urscheme/ 2021-04-20T13:29:19Z ldbeth quit (Ping timeout: 252 seconds) 2021-04-20T13:29:26Z beach: theseb: No, of course not. But Common Lisp systems generate code that is meant to work with a runtime, so you can't expect that code to run without the Common Lisp system that generated it. 2021-04-20T13:29:44Z White_Flame: also, the 6502/NES assembler in lisp was an interesting assembly-level view of things 2021-04-20T13:29:55Z theseb: beach: runtime == virtual machine like JVM? 2021-04-20T13:30:22Z theseb: bytecode n' all that? 2021-04-20T13:31:06Z beach: theseb: No, I mean how to find a function given a function name, how to find non-trivial constants, how to invoke effective methods. 2021-04-20T13:31:26Z theseb: beach: i think in SICP they implemented scheme in a register machine...that is more like what I want to do 2021-04-20T13:32:03Z beach: Scheme has similar issues, but not quite as many perhaps. 2021-04-20T13:32:12Z theseb: beach: yea! i agree...all the minutia is making my head blow up....i somehow need to split this into lots of doable pieces...i'm going crazy 2021-04-20T13:34:16Z ldbeth joined #lisp 2021-04-20T13:34:33Z beach: theseb: I have worked for around 13 years (not full time every year) on SICL, and there is still some work to be done before native code can be executed. 2021-04-20T13:35:05Z beach: Scheme is simpler, of course. 2021-04-20T13:35:46Z attila_lendvai quit (Ping timeout: 240 seconds) 2021-04-20T13:36:42Z theseb: beach: can you outline the broad outlines of how you'd implement a compiler for at least just the bare bones basics of common lisp? 2021-04-20T13:37:29Z theseb: beach: is my ideas somehow the standard way to do it?....implement in a lisp subset then implement that in a c subset then implement c subset in assembly? 2021-04-20T13:37:41Z theseb: beach: i feel like that might be the general steps but not sure 2021-04-20T13:38:41Z beach: That is the way I present in the first presentation in my series "Creating a Common Lisp implementation", and that is also how many systems are written. And it is absolutely not how I would do it, as parts 1, 2, and 3 talk about. 2021-04-20T13:39:14Z theseb: a compiler is about transforming language X to Y to it makes sense (i think) you'd teach students to break it up into baby steps X -> A -> B -> C -> Y but what do i know 2021-04-20T13:39:14Z ldbeth quit (Ping timeout: 265 seconds) 2021-04-20T13:39:26Z theseb: s/to/so 2021-04-20T13:39:29Z White_Flame: while it might not be the first step, since you're targeting a specific platform, you should design the ABI and figure out how things like tagging, dynamic bindings, condition handlers, GC information, etc, are implemented 2021-04-20T13:39:42Z White_Flame: that can give you a sense of the type of data you need to generate, which gives you a more concrete target to transform into 2021-04-20T13:40:18Z beach: theseb: For SICL, we use the full Common Lisp language to implement every module, and we generate machine code directly from Common Lisp code, translating the source to AST, the AST to intermediate representation, and the intermediate representation to machine code. 2021-04-20T13:43:03Z Odin-: theseb: C has a runtime. It's often called "the operating system". 2021-04-20T13:43:13Z theseb: beach: so you do CL -> "intermediate representation" -> machine code 2021-04-20T13:43:29Z theseb: beach: is your "intermediate representation" more lisp-like or c-like? just curious 2021-04-20T13:43:39Z White_Flame: Odin-: or the stdlibs 2021-04-20T13:43:42Z beach: It is a pretty traditional control graph. 2021-04-20T13:44:13Z beach: A graph of instructions. See any book on compilers, e.g., Muchnick. 2021-04-20T13:44:30Z ldbeth joined #lisp 2021-04-20T13:45:04Z beach: theseb: CL -> AST -> IR -> machine code 2021-04-20T13:45:32Z theseb: beach: i always felt like lisp was sort of an AST already so not sure why you had to parse CL into your AST 2021-04-20T13:45:39Z Odin-: White_Flame: Well, yes. And on most contemporary systems, it's not easy to distinguish those from the rest of the OS. 2021-04-20T13:45:56Z theseb: beach: seems like an unnecessary extra loop around the horn 2021-04-20T13:46:07Z Odin-: CL is ... not straightforward. 2021-04-20T13:46:09Z Odin-: At all. 2021-04-20T13:46:13Z beach: theseb: The AST contains things like source position, and it has macros expanded already as required by "minimal compilation". 2021-04-20T13:47:10Z Odin-: theseb: What kind of assembler are you thinking about? 2021-04-20T13:47:34Z theseb: Odin-: for a really simple assembly lang instruction set I made up 2021-04-20T13:47:57Z theseb: Odin-: however, even if I targeted a "real" ISA like x86 note sure it would be much easier 2021-04-20T13:48:02Z beach: theseb: If you want to give error/warning messages in terms of the code that the programmer wrote and give the source location of the relevant code, you can't do simple transformations on Common Lisp source code. 2021-04-20T13:48:30Z Odin-: theseb: x86 is a nightmare, so, no, pretty sure it wouldn't. 2021-04-20T13:49:51Z ldbeth quit (Ping timeout: 260 seconds) 2021-04-20T13:50:12Z theseb: beach: thanks for sharing your thoughts 2021-04-20T13:50:17Z beach: Sure. 2021-04-20T13:50:30Z Odin-: theseb: The thing here is that you need to consider calling conventions, stack layout, and all kinds of further detail, and that's just to get to the point where you have something to compile _to_. 2021-04-20T13:52:42Z theseb: Odin-: well things like stack layout and calling conventions might be annoying but they aren't mind blowing.....what was mind blowing was not even knowing the general brush strokes...i think now i realize having lots of intermediate stages at least is part of the "general brush strokes" 2021-04-20T13:53:47Z Bike: well. you don't really need much of an IR for a non-optimizing compiler. 2021-04-20T13:53:47Z White_Flame: "write a compiler" and "write a CL compiler" are basically 2 tasks. Are you familiar with the former? 2021-04-20T13:54:18Z semz: Writing something that merely _targets_ x86 is not that difficult. The big issue is generating efficient code. 2021-04-20T13:54:31Z hypercube joined #lisp 2021-04-20T13:54:40Z ldbeth joined #lisp 2021-04-20T13:55:39Z theseb: White_Flame: no ;) 2021-04-20T13:56:11Z White_Flame: I really enjoyed this course, which is wonderfully concise and practical: https://www.cs.cornell.edu/courses/cs6120/2020fa/self-guided/ 2021-04-20T13:56:45Z White_Flame: of course, for general compiler stuff, not CL specific. But since it totally skips the lexer/parser stuff intentionally, the meat is common to most languages 2021-04-20T13:57:13Z MrFantastik joined #lisp 2021-04-20T13:57:15Z theseb: White_Flame: nice thanks 2021-04-20T13:57:48Z White_Flame: compilers are things that are actually quick to demystify 2021-04-20T13:59:32Z ldbeth quit (Ping timeout: 252 seconds) 2021-04-20T13:59:49Z theseb: White_Flame: good to know 2021-04-20T14:00:00Z theseb: White_Flame: just have to confront your fears ;) 2021-04-20T14:00:50Z Odin-: https://craftinginterpreters.com/ <-- Despite the name, it does do compiling. Just to a stack-based VM rather than a register machine. :p 2021-04-20T14:01:40Z raeda quit (Quit: Leaving) 2021-04-20T14:02:06Z ljavorsk quit (Ping timeout: 260 seconds) 2021-04-20T14:02:28Z frost-lab quit (Quit: Connection closed) 2021-04-20T14:04:47Z Kundry_Wag joined #lisp 2021-04-20T14:04:50Z ldbeth joined #lisp 2021-04-20T14:06:15Z jdz: I've found the "Moving Forth" series very inspiring: http://www.bradrodriguez.com/papers/index.html 2021-04-20T14:08:04Z White_Flame: but yeah, if you've not done compilers before, and want to map down to "good code" for a specific ISA, CL is certainly going to be larger challenge than something lower level 2021-04-20T14:09:20Z Kundry_Wag quit (Ping timeout: 246 seconds) 2021-04-20T14:09:23Z ldbeth quit (Remote host closed the connection) 2021-04-20T14:09:52Z ldbeth joined #lisp 2021-04-20T14:10:59Z beach: theseb: Bike is right. If you don't need optimization and debugging information, you don't need much of an IR. 2021-04-20T14:14:06Z mrSpec joined #lisp 2021-04-20T14:14:27Z mrSpec quit (Changing host) 2021-04-20T14:14:27Z mrSpec joined #lisp 2021-04-20T14:22:06Z splittist: You could develop within your lisp system by building things in a static-area byte vector and calling them. What could go wrong? 2021-04-20T14:38:18Z jmercouris: (format nil "~&~a~%" '(setf (uiop:getenv "\"xyz\"") "\"1\"")) -> (SETF (GETENV \"xyz\") \"1\") 2021-04-20T14:38:25Z jmercouris: what happened to UIOP? why did it disappear? 2021-04-20T14:38:31Z jmercouris: should I be using a different format directive? 2021-04-20T14:39:19Z saganman joined #lisp 2021-04-20T14:39:37Z _death: ~S 2021-04-20T14:40:02Z _death: also, you may want to bind *package* to the keyword package 2021-04-20T14:41:18Z jmercouris: I see, I had misunderstood ~S 2021-04-20T14:43:37Z easye: Nice to see NyXT in Quicklisp! It ran pretty easily under Linux for me. 2021-04-20T14:43:46Z jmercouris: glad to hear it! 2021-04-20T14:46:19Z beach: jmercouris: Did you see my questions about your IDE plans? 2021-04-20T14:46:28Z jmercouris: beach: I did not, let me look on my phone 2021-04-20T14:46:34Z beach: OK. 2021-04-20T14:47:44Z jmercouris: OK so the question is about defining a protocol for such an IDE? 2021-04-20T14:48:13Z elinow joined #lisp 2021-04-20T14:48:27Z beach: jmercouris: I am asking about the overall design that you imagine. 2021-04-20T14:48:36Z Aurora_v_kosmose quit (Quit: Пока, мир.) 2021-04-20T14:48:40Z Kundry_Wag joined #lisp 2021-04-20T14:48:43Z beach: jmercouris: Will it include an editor, debugger, etc? 2021-04-20T14:48:46Z jmercouris: beach: Programmatic design, or UX design? 2021-04-20T14:48:53Z jmercouris: It will include an editor, debugger, etc 2021-04-20T14:49:13Z beach: jmercouris: And how will you handle indentation, highlighting etc.? 2021-04-20T14:49:19Z beach: ... in the editor. 2021-04-20T14:49:23Z jmercouris: that's a good question 2021-04-20T14:49:31Z jmercouris: highlighting is easy enough 2021-04-20T14:49:33Z beach: And what will the debugger look like, to the user I mean. 2021-04-20T14:49:37Z beach: jmercouris: Oh? 2021-04-20T14:50:00Z jmercouris: the debugger, I imagine will be a friendlier version of slime 2021-04-20T14:50:05Z beach: jmercouris: Because the plans we have use semantic highlighting, and you can't do that unless you include information from the compiler. 2021-04-20T14:50:19Z jmercouris: ah, I thought you meant just marking points and dragging 2021-04-20T14:50:42Z jmercouris: so you mean something akin to the sly feature where you can make little labels? 2021-04-20T14:51:01Z beach: I mean, what information will you use in order to give the user information about the elements seen in a window? 2021-04-20T14:51:14Z jmercouris: I will have to use Lisp itself to get that information 2021-04-20T14:51:17Z jmercouris: I don't see any other way 2021-04-20T14:51:34Z beach: And how will the IDE and the Common Lisp system communicate this information? 2021-04-20T14:51:35Z jmercouris: I could make a Lisp LSP, but... seems primitive 2021-04-20T14:51:48Z jmercouris: the IDE will be a Common Lisp system unto which the code is loaded 2021-04-20T14:51:54Z jmercouris: s/system/image 2021-04-20T14:51:57Z jmercouris: they will share the same image 2021-04-20T14:52:00Z beach: OK. 2021-04-20T14:52:05Z dsrt^ quit (Ping timeout: 260 seconds) 2021-04-20T14:52:07Z beach: That's a good start. 2021-04-20T14:52:31Z jmercouris: do you have an interest in this topic specifically? 2021-04-20T14:52:40Z sp41 joined #lisp 2021-04-20T14:52:41Z jmercouris: I know you were working on Climacs in the past, but are you still interested? 2021-04-20T14:52:44Z beach: jmercouris: Yes, we have been planning an IDE for years. 2021-04-20T14:52:48Z jmercouris: I see 2021-04-20T14:52:56Z dsrt^ joined #lisp 2021-04-20T14:52:57Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:53:07Z jmercouris: what kinds of features did you imagine? 2021-04-20T14:53:11Z dsrt^ joined #lisp 2021-04-20T14:53:11Z jmercouris: are there any storyboards? 2021-04-20T14:53:12Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:53:27Z dsrt^ joined #lisp 2021-04-20T14:53:28Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:53:43Z dsrt^ joined #lisp 2021-04-20T14:53:44Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:53:46Z beach: Second Climacs is very likely one (essential) part, but I also want a real debugger, an inspector (Clouseau is great), etc. 2021-04-20T14:53:59Z dsrt^ joined #lisp 2021-04-20T14:54:00Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:54:15Z dsrt^ joined #lisp 2021-04-20T14:54:16Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:54:31Z jmercouris: I see 2021-04-20T14:54:31Z dsrt^ joined #lisp 2021-04-20T14:54:32Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:54:34Z jmercouris: have you taken a look at LEM? 2021-04-20T14:54:47Z dsrt^ joined #lisp 2021-04-20T14:54:48Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:55:03Z beach: Yes. As I recall, it uses regular expressions for highlighting and indentation. 2021-04-20T14:55:03Z dsrt^ joined #lisp 2021-04-20T14:55:04Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:55:08Z beach: That's just not good enough. 2021-04-20T14:55:19Z dsrt^ joined #lisp 2021-04-20T14:55:20Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:55:21Z jmercouris: Yeah, that's the tip of the iceberg 2021-04-20T14:55:36Z jmercouris: there are a lot of other things in the codebase which are questionable 2021-04-20T14:55:43Z dsrt^ joined #lisp 2021-04-20T14:55:44Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:55:55Z Josh_2 joined #lisp 2021-04-20T14:55:58Z dsrt^ joined #lisp 2021-04-20T14:55:59Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:56:01Z jmercouris: anyways, the IDE in question is of course.. Nyxt 2021-04-20T14:56:10Z jmercouris: if we develop a common protocol, maybe we could reuse components 2021-04-20T14:56:14Z dsrt^ joined #lisp 2021-04-20T14:56:15Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:56:46Z surabax quit (Ping timeout: 240 seconds) 2021-04-20T14:56:55Z dsrt^ joined #lisp 2021-04-20T14:56:56Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:56:56Z beach: Oh, so what do you use for the GUI? Webkit (is that what it is called?)? 2021-04-20T14:57:10Z dsrt^ joined #lisp 2021-04-20T14:57:11Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:57:16Z surabax joined #lisp 2021-04-20T14:57:20Z jmercouris: Yes, the GUI is a web view 2021-04-20T14:57:26Z jmercouris: it isn't necessarily WebKit 2021-04-20T14:57:27Z dsrt^ joined #lisp 2021-04-20T14:57:28Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T14:57:31Z Aurora_v_kosmose joined #lisp 2021-04-20T14:57:36Z Josh_2 quit (Remote host closed the connection) 2021-04-20T14:57:39Z beach: I see. 2021-04-20T14:58:01Z jmercouris: one thing I would like to do in the distant future is resurrect closure 2021-04-20T14:58:16Z beach: OK. 2021-04-20T14:58:19Z jmercouris: https://github.com/atlas-engineer/closure 2021-04-20T14:59:39Z beach: I know gilberth (the author) quite well. 2021-04-20T15:00:31Z jmercouris: I believe I have seen him on this IRC channel once 2021-04-20T15:00:43Z beach: Yes, he shows up from time to time. 2021-04-20T15:01:05Z dsrt^ joined #lisp 2021-04-20T15:01:06Z dsrt^ quit (Max SendQ exceeded) 2021-04-20T15:02:10Z Josh_2 joined #lisp 2021-04-20T15:02:43Z beach: jmercouris: This is how I see Common Lisp debugging: http://metamodular.com/SICL/sicl-debugging.pdf 2021-04-20T15:03:29Z jmercouris: beach: URL not found 2021-04-20T15:03:38Z jmercouris: hm, never mind 2021-04-20T15:03:42Z beach: ? 2021-04-20T15:03:44Z jmercouris: http/https mixmatch 2021-04-20T15:03:46Z jmercouris: the URL is valid 2021-04-20T15:04:00Z beach: jmercouris: As that paper shows, none of the FLOSS Common Lisp implementations can do anything like that. 2021-04-20T15:04:26Z MichaelRaskin: (actually, you can do this without implementation support with merely tens times of overhead) 2021-04-20T15:04:35Z beach: True. 2021-04-20T15:04:45Z jmercouris: beach: I'll have to read this later when I'm done with work 2021-04-20T15:04:46Z Alfr: jmercouris, he's usually in the cafe. 2021-04-20T15:04:46Z jmercouris: thanks 2021-04-20T15:04:51Z jmercouris: I see 2021-04-20T15:04:59Z jmercouris: He is a German right? I think I know him as well 2021-04-20T15:05:12Z beach: Definitely German. 2021-04-20T15:05:23Z jmercouris: I didn't make the connection in my head 2021-04-20T15:05:26Z jmercouris: I will have to ask him about closure 2021-04-20T15:07:02Z jeosol quit (Ping timeout: 240 seconds) 2021-04-20T15:08:32Z beach: Here is a paper that explains how we plan to give feedback at typing speed to the user: http://metamodular.com/incremental-parsing.pdf 2021-04-20T15:10:20Z White_Flame: for some reason, I can't connect to metamodular.com either. Keep getting SSL_ERROR_INTERNAL_ERROR_ALERT 2021-04-20T15:10:31Z jmercouris: You'll have to just use HTTP 2021-04-20T15:10:44Z beach: jmercouris: Are you planning to parse the entire buffer at every keystroke? 2021-04-20T15:10:57Z jmercouris: probably, yes 2021-04-20T15:11:07Z beach: And you think that will be fast enough? 2021-04-20T15:11:07Z jmercouris: very inefficient, but also very simple 2021-04-20T15:11:11Z jmercouris: no, I don't think so 2021-04-20T15:11:15Z beach: jmercouris: And how do you plan to handle incorrect or incomplete input? 2021-04-20T15:11:17Z jmercouris: I like to start from basics, and iterate 2021-04-20T15:11:24Z beach: I see. 2021-04-20T15:11:29Z jmercouris: I will probably simple not handle incorrect input at first 2021-04-20T15:11:36Z jmercouris: same with incomplete 2021-04-20T15:11:41Z jmercouris: s/simple/simply 2021-04-20T15:12:05Z beach: OK. That's what we have spent a lot of time figuring out over the years. 2021-04-20T15:12:21Z jmercouris: It will be good to leverage your learnings! 2021-04-20T15:12:28Z beach: jmercouris: Also, do you plan to use READ to read the contents of the buffer? 2021-04-20T15:12:39Z jmercouris: No, I don't believe so 2021-04-20T15:12:44Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-20T15:12:44Z jmercouris: the contents of the buffer will be known 2021-04-20T15:12:50Z jmercouris: I capture all keystrokes 2021-04-20T15:12:59Z jmercouris: no need to write to a buffer to read from it 2021-04-20T15:13:02Z Spawns_Carpeting joined #lisp 2021-04-20T15:13:17Z beach: But if you want to communicate with the Common Lisp system, how do you communicate code if it is not READ? 2021-04-20T15:13:24Z phoe: metamodular seems offline to me too 2021-04-20T15:13:37Z jmercouris: ah you mean CL read 2021-04-20T15:13:41Z jmercouris: yes, that I must do 2021-04-20T15:13:49Z jmercouris: I have a very primitive REPL implementation that I will build off of 2021-04-20T15:14:01Z beach: If so, how do you handle symbols with a package prefix indicating a non-existing package? 2021-04-20T15:14:06Z jmercouris: no idea :-) 2021-04-20T15:14:16Z jmercouris: it is just a little seed in my brain today 2021-04-20T15:14:43Z beach: I see. Well, if you want to know how we plan to do it, then just let me know. 2021-04-20T15:14:53Z beach: Eclector is an essential part of that, of course. 2021-04-20T15:14:58Z jmercouris: I will let you know 2021-04-20T15:15:04Z jmercouris: I am afraid a lot of it will be over my head.. 2021-04-20T15:15:27Z beach: It can't say there for very long if you want to create an IDE. 2021-04-20T15:16:26Z beach: jmercouris: But thanks. I now have a much better idea of the state of your plans. 2021-04-20T15:16:29Z jmercouris: I've learned a lot in the past few years, I'm sure theres at least a couple of kb free disk in my head, hopefully I can understand 2021-04-20T15:16:32Z splittist: There are lots of approaches to an 'IDE' - a full Lisp Machine/Climacs++ experience is only one of them. There are very productive programmers who use vi (not even vim) and a repl in a terminal. 2021-04-20T15:16:55Z splittist: I'm not saying that's optimal for many people - but I don't see why diversity cannot be a strength (: 2021-04-20T15:17:09Z jmercouris: beach: no problem, as you can imagine, such a process takes many years... I was thinking about Nyxt for two years before I even wrote a single line of code 2021-04-20T15:17:14Z jmercouris: and it was C at first! I wrote a lisp interpreter! 2021-04-20T15:17:30Z beach: I understand. 2021-04-20T15:17:56Z jmercouris: in fact, you were the one who argued to me that it was not necessary to write it in C 2021-04-20T15:18:01Z jmercouris: I don't know if you remember that conversation 2021-04-20T15:18:07Z ldbeth: a minimalist's ide has only the repl 2021-04-20T15:18:15Z beach: jmercouris: Not really, but I can look it up. 2021-04-20T15:18:22Z jmercouris: it was a long long long time ago 2021-04-20T15:18:25Z beach: jmercouris: We discuss these things mostly in #sicl, for when you want to know more about our plans. 2021-04-20T15:18:31Z jmercouris: yes 2021-04-20T15:18:40Z beach: jmercouris: Sure, and I have problems remembering what I did last week. :) 2021-04-20T15:18:54Z jmercouris: ah, the benefits of old age! 2021-04-20T15:18:55Z ldbeth: not even vi because you can do structural editing and dump the sexps 2021-04-20T15:19:20Z beach: jmercouris: yeah, my bad memory started at the age of 15. 2021-04-20T15:20:01Z jmercouris: hm, that can be often triggered by bad experiences, not saying it /is/ in your case, but it can be 2021-04-20T15:20:09Z beach: That's when I had to get my first calendar, to remember what day and time to do what. 2021-04-20T15:20:11Z Josh_2 quit (Quit: ERC (IRC client for Emacs 26.1)) 2021-04-20T15:20:14Z saganman: Hello beach. How are you and how is the research going? 2021-04-20T15:21:10Z beach: saganman: Hello. Fine thank you. no-defun-allowed is going to do register allocation for me, and Gnuxie[m] might do the disassembler. That frees up some time for me to do more research, more documentation, etc. 2021-04-20T15:21:15Z beach: saganman: How about you? 2021-04-20T15:22:07Z saganman: I am okay, currently in self imposed lockdown because of covid. 2021-04-20T15:22:15Z jmercouris: C O V I D 2021-04-20T15:22:25Z beach: saganman: India, right? 2021-04-20T15:22:44Z saganman: yeah beach, the situation is pretty bad here now. 2021-04-20T15:22:50Z beach: So I hear. 2021-04-20T15:23:01Z beach: Oh, and it might be time to get some external financial support so that I can pay some people to help me with SICL. 2021-04-20T15:23:13Z saganman: that's good 2021-04-20T15:23:33Z saganman: beach: you can hire lisp enthusiats 2021-04-20T15:23:40Z beach: But I am waiting for the Common Lisp foundation to create some infrastructure, so that we can avoid those vulture platforms. 2021-04-20T15:24:04Z beach: saganman: There are very few people who are both qualified and available. 2021-04-20T15:24:10Z jmercouris: beach: what are vulture platforms? 2021-04-20T15:24:34Z beach: jmercouris: The ones where you can post bounties and stuff. They keep a significant part of the money. 2021-04-20T15:24:44Z jmercouris: oh I see, those 2021-04-20T15:24:47Z beach: jmercouris: And they change the rules after the fact. 2021-04-20T15:24:51Z jmercouris: any payment processor will charge you fees 2021-04-20T15:25:07Z jmercouris: you will probably be best served by setting up your own funding directly via Square, Stripe, or some bank 2021-04-20T15:25:11Z beach: I would rather the Common Lisp foundation keep some percentage. 2021-04-20T15:25:50Z saganman: I see 2021-04-20T15:25:51Z beach: jmercouris: I suppose that is possible. 2021-04-20T15:26:12Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-20T15:26:22Z jmercouris: who would you solicit for external funding? 2021-04-20T15:26:46Z beach: I would start by asking here. I haven't really thought much about that part. 2021-04-20T15:26:53Z jmercouris: that's the most important part 2021-04-20T15:27:06Z beach: We seem to manage to get regular contributions for McCLIM. 2021-04-20T15:27:15Z jmercouris: in the hundreds of thousands? 2021-04-20T15:27:34Z beach: I wouldn't know what to do with that much money. 2021-04-20T15:27:48Z jmercouris: I see 2021-04-20T15:28:07Z Alfr quit (Quit: Leaving) 2021-04-20T15:28:12Z hypercube quit (Ping timeout: 240 seconds) 2021-04-20T15:28:31Z Alfr joined #lisp 2021-04-20T15:29:28Z beach: I think that 2k€ per month would be a very good start. That's a decent salary in some eastern European countries, or a decent part time for a young person. 2021-04-20T15:29:56Z jmercouris: I see, so you would need about 2.5k per person/month to handle the other expenses 2021-04-20T15:30:03Z jmercouris: taxes, accounting, etc 2021-04-20T15:30:16Z beach: I suppose. 2021-04-20T15:30:18Z jmercouris: that's just 30k /year, seems easily doable 2021-04-20T15:30:27Z jmercouris: could you do that on a donation basis? I am doubtful 2021-04-20T15:30:43Z jmercouris: I would think you would need to get support from a governmental entity/research organization 2021-04-20T15:30:44Z beach: You may be right. I guess I'll find out. 2021-04-20T15:31:19Z beach: jackdaniel: What monthly donations do we get for McCLIM? 2021-04-20T15:31:23Z jmercouris: If you want a gauge for how much money you could get, you can look at large open source projects, and see the ratio of people interested in a project/donating to a project 2021-04-20T15:31:34Z mindCrime joined #lisp 2021-04-20T15:31:36Z jmercouris: you'll see that this number is a rather unfavorable ratio :'( 2021-04-20T15:31:48Z ldbeth: >> jmercouris: And how do you plan to handle incorrect or incomplete 2021-04-20T15:31:48Z ldbeth: input? >> Probably a good direction is implementing "holes", as in https://hazel.org 2021-04-20T15:32:53Z Jachy: beach: If you go the donation route, have you considered applying for GitHub Sponsors? As far as I know there are no fees, but of course that being true for the indefinite future is at the discretion of Microsoft. 2021-04-20T15:33:40Z beach: Jachy: I have not considered that. I might look into it. Are you saying they give people money? 2021-04-20T15:34:15Z Jachy: beach: They did have some matching funds set up for a while, I don't know if they do that still. But the intent is for other github users or orgs to give people money. 2021-04-20T15:34:21Z beach: ldbeth: The current plan is to have Eclector handle it, as it is already able to do. 2021-04-20T15:34:34Z yitzi quit (Quit: yitzi) 2021-04-20T15:34:35Z beach: Jachy: Oh, I see. 2021-04-20T15:34:47Z phoe: gendl: ^ 2021-04-20T15:34:56Z phoe: there's talk about donations, you might want to take a look at it 2021-04-20T15:35:01Z beach: Yes, this topic is for gendl. 2021-04-20T15:35:33Z beach: I believe jackdaniel is involved in a dialogue with the Common Lisp Foundation. 2021-04-20T15:35:48Z beach: ... for the McCLIM funding. 2021-04-20T15:36:23Z beach: McCLIM used one of those platforms, but it became clear that it wasn't a good solution. 2021-04-20T15:37:35Z Jachy: The most successful lisp programmer making use of it know of is fukamachi: https://github.com/sponsors/fukamachi 2021-04-20T15:38:42Z zefram22 quit (Read error: Connection reset by peer) 2021-04-20T15:39:16Z beach: I see. 2021-04-20T15:40:19Z zefram22 joined #lisp 2021-04-20T15:40:37Z xkapastel joined #lisp 2021-04-20T15:40:42Z daphnis joined #lisp 2021-04-20T15:41:36Z Josh_2 joined #lisp 2021-04-20T15:46:13Z waleee-cl joined #lisp 2021-04-20T15:46:59Z cosimone joined #lisp 2021-04-20T15:48:11Z curtosis joined #lisp 2021-04-20T15:48:17Z hjudt joined #lisp 2021-04-20T15:50:59Z gendl: The CLF fundraising apparatus can disburse payments thru a beneficiary’s GitHub sponsors page, if one exists, to trigger any doubling or uplift which may be in effect. 2021-04-20T15:50:59Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T15:51:28Z gendl: We have done that for Faré for asdf, for example. 2021-04-20T15:51:32Z Josh_2 quit (Remote host closed the connection) 2021-04-20T15:51:37Z amb007 joined #lisp 2021-04-20T15:51:37Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T15:51:47Z kiroul joined #lisp 2021-04-20T15:51:54Z gendl: beach: phoe: following up the the above. 2021-04-20T15:52:01Z amb007 joined #lisp 2021-04-20T15:56:50Z ldbeth quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-20T16:04:13Z long4mud quit (Ping timeout: 268 seconds) 2021-04-20T16:04:34Z MidHotaru_ joined #lisp 2021-04-20T16:13:26Z Josh_2 joined #lisp 2021-04-20T16:14:18Z beach: gendl: Great! So is the infrastructure in place for accepting funding and for paying for work? 2021-04-20T16:14:53Z bitmapper joined #lisp 2021-04-20T16:15:52Z beach: gendl: I would be interested in asking people to contribute to some account specifically for SICL development, and then for people who do some work to get paid from that account. 2021-04-20T16:16:06Z srhm joined #lisp 2021-04-20T16:16:24Z beach: gendl: And it would be fine with me for the foundation to keep a percentage for the service. 2021-04-20T16:27:50Z imode joined #lisp 2021-04-20T16:29:51Z beach might have misunderstood what jackdaniel and the CLF discussed about McCLIM. 2021-04-20T16:32:57Z zefram22 quit (Quit: zefram22) 2021-04-20T16:34:03Z gendl: beach: we have core infrastructure for accepting payments. It still needs some polishing. Preview here: 2021-04-20T16:34:41Z gendl: https://payments.common-lisp.net:9443 2021-04-20T16:35:41Z gendl: We do not have infrastructure for monitoring nor enforcing work or results 2021-04-20T16:37:00Z gendl: CLF has a general directive to retain 10% of any inflows, after paying overhead expenses and disbursements. 2021-04-20T16:39:08Z gendl: This is done in order to ensure the Foundation (a volunteer organization) always runs "in the black," and so that we might in due course build up an investment fund which can be applied to tracked investments. 2021-04-20T16:39:51Z yonkunas joined #lisp 2021-04-20T16:41:06Z gendl: I'm open for volunteers to help with polishing the the payment acceptance infrastructure. 2021-04-20T16:41:54Z gendl: ball's in my court on that to some extent to make a proper README.md and CONTRIBUTING.md for the project. 2021-04-20T16:43:26Z Sheilong joined #lisp 2021-04-20T16:49:45Z elinow quit (Quit: Leaving) 2021-04-20T16:50:42Z yitzi joined #lisp 2021-04-20T16:51:52Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-20T17:08:50Z rogersm joined #lisp 2021-04-20T17:10:51Z varjagg joined #lisp 2021-04-20T17:12:36Z Necktwi quit (Quit: leaving) 2021-04-20T17:12:54Z Necktwi joined #lisp 2021-04-20T17:14:01Z aeth quit (Ping timeout: 260 seconds) 2021-04-20T17:14:32Z nij joined #lisp 2021-04-20T17:15:21Z nij: Hello! Is there any de facto package that collects modern data structures like tries or rings? 2021-04-20T17:15:34Z DHARMAKAYA joined #lisp 2021-04-20T17:15:59Z aeth joined #lisp 2021-04-20T17:18:41Z nij: And for such data structures, if I want to define them by my own, does it make sense to use CLOS? I'm afraid that it's a over-kill and might compromise efficiency. 2021-04-20T17:19:04Z cosimone quit (Remote host closed the connection) 2021-04-20T17:21:53Z daphnis quit (Ping timeout: 260 seconds) 2021-04-20T17:22:04Z IPmonger quit (Quit: ZNC 1.7.5+deb4 - https://znc.in) 2021-04-20T17:22:24Z IPmonger joined #lisp 2021-04-20T17:22:38Z phoe: nij: vellum 2021-04-20T17:22:45Z rogersm quit (Quit: Leaving...) 2021-04-20T17:22:51Z phoe: https://github.com/sirherrbatka/vellum 2021-04-20T17:23:14Z phoe: Xach: I see it's still not in quicklisp; is there anything needed for https://github.com/quicklisp/quicklisp-projects/issues/2008 ? 2021-04-20T17:23:28Z phoe: oh wait, not vellum; it's shka_'s other library 2021-04-20T17:23:34Z phoe: https://github.com/sirherrbatka/cl-data-structures 2021-04-20T17:25:03Z Xach: Hmm, I don't know what happened there 2021-04-20T17:25:11Z phoe: gasp 2021-04-20T17:25:14Z Xach: i will review 2021-04-20T17:25:48Z curtosis joined #lisp 2021-04-20T17:27:37Z nij: Hmm it doesn't release with versions. phoe how did you decide which commit to use? 2021-04-20T17:28:23Z saganman quit (Quit: WeeChat 1.6) 2021-04-20T17:29:28Z phoe: nij: I use whatever quicklisp serves 2021-04-20T17:30:38Z nij: I see. That's a good rule of thumbs. 2021-04-20T17:34:59Z gitgood joined #lisp 2021-04-20T17:38:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T17:39:21Z amb007 joined #lisp 2021-04-20T17:40:34Z l1x quit (Quit: Connection closed for inactivity) 2021-04-20T17:45:33Z nij left #lisp 2021-04-20T17:48:01Z aeth quit (Ping timeout: 260 seconds) 2021-04-20T17:49:32Z aeth joined #lisp 2021-04-20T17:56:30Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-20T17:57:52Z rogersm joined #lisp 2021-04-20T17:58:25Z beach: gendl: Sounds perfect! Thanks! 2021-04-20T18:03:01Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T18:03:37Z amb007 joined #lisp 2021-04-20T18:04:04Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T18:05:00Z amb007 joined #lisp 2021-04-20T18:09:31Z gumman quit (Read error: Connection reset by peer) 2021-04-20T18:10:00Z gumman joined #lisp 2021-04-20T18:11:14Z theseb quit (Quit: Leaving) 2021-04-20T18:13:34Z jackdaniel: beach: currently none because the bountysource account is suspended. before that we had recurring donation around $300 / month 2021-04-20T18:13:49Z MidHotaru_ quit (Quit: Connection closed for inactivity) 2021-04-20T18:14:05Z jackdaniel: and regarding the rest, gendl is putting hard work to get us platform on cl.net 2021-04-20T18:15:26Z lukego: gendl: that's awesome that you're doing this! 2021-04-20T18:16:21Z jeosol joined #lisp 2021-04-20T18:17:33Z madage quit (Ping timeout: 240 seconds) 2021-04-20T18:17:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T18:17:44Z jackdaniel: it is 2021-04-20T18:17:53Z amb007 joined #lisp 2021-04-20T18:19:16Z lukego: gendl: re "enforcing work and results" that's potentially more trouble than it's worth. I believe in a lot of EU countries you're allowed to receive tax-free gifts from foundations like this - great - but if you have a deliverable then it would be classified as work and ~half will disappear in taxes. I'm sure it varies a lot between countries but I've heard this about Germany at least. 2021-04-20T18:20:06Z madage joined #lisp 2021-04-20T18:20:12Z lukego: (someone asked their accountant if the grant would be taxed, they said no it's an exempt gift, great, then they changed their mind when they saw the receipt and said nah that's contract work) 2021-04-20T18:21:01Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T18:21:34Z sauvin quit (Remote host closed the connection) 2021-04-20T18:21:44Z jackdaniel: clf in past campaigns ran appreciation fundraisers and that's imo a very fine approach 2021-04-20T18:22:30Z amb007 joined #lisp 2021-04-20T18:22:42Z lukego: yeah I'd be more inclined to give for one of those. also because it's nice to recognize good work that people have done while sometimes sponsored work ends up heaping obligations on people for below-market compensation and is a bad like a badly paid job. 2021-04-20T18:23:32Z lukego: also great if it's done in such a way that a company can make a contribution and get an invoice that can be expensed e.g. get their name put on a website somewhere so it's a sponsorship/marketing/advertising expense. 2021-04-20T18:23:38Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T18:23:50Z amb007 joined #lisp 2021-04-20T18:23:56Z lukego: (sorry of this is veering off topic but that's all I have to say anyway :)) 2021-04-20T18:23:57Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T18:23:58Z jackdaniel: with McCLIM when I've set the fundraiser I've declared that money will go to sponsor part of my time to work (and part on bounties, but bounties didn't pan out as well as I have expected them) 2021-04-20T18:24:15Z amb007 joined #lisp 2021-04-20T18:25:18Z jackdaniel: and that money didn't run out yet; also all I had to say ,) 2021-04-20T18:27:02Z dieggsy quit (Ping timeout: 245 seconds) 2021-04-20T18:29:08Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T18:30:20Z amb007 joined #lisp 2021-04-20T18:31:42Z gaqwas joined #lisp 2021-04-20T18:31:42Z gaqwas quit (Changing host) 2021-04-20T18:31:42Z gaqwas joined #lisp 2021-04-20T18:32:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T18:32:55Z amb007 joined #lisp 2021-04-20T18:34:51Z dieggsy joined #lisp 2021-04-20T18:34:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T18:35:30Z amb007 joined #lisp 2021-04-20T18:37:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T18:37:47Z amb007 joined #lisp 2021-04-20T18:39:50Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T18:40:10Z amb007 joined #lisp 2021-04-20T18:42:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T18:42:45Z amb007 joined #lisp 2021-04-20T18:45:02Z CrashTestDummy2 quit (Quit: Leaving) 2021-04-20T18:46:46Z fourier quit (Ping timeout: 240 seconds) 2021-04-20T18:48:44Z hjudt quit (Quit: leaving) 2021-04-20T18:51:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T18:51:35Z amb007 joined #lisp 2021-04-20T18:52:14Z CrashTestDummy joined #lisp 2021-04-20T18:52:14Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T18:52:25Z amb007 joined #lisp 2021-04-20T18:53:08Z CL-ASHOK joined #lisp 2021-04-20T18:54:24Z VincentVega joined #lisp 2021-04-20T18:54:28Z CL-ASHOK: fellow lisp geniuses 2021-04-20T18:55:00Z CL-ASHOK: How do I re-write the below that it doesn't give me an error "port already in use" every time I re-load the file? 2021-04-20T18:55:02Z CL-ASHOK: (setf web-server 2021-04-20T18:55:03Z CL-ASHOK:    (hunchentoot:start 2021-04-20T18:55:03Z CL-ASHOK:       (make-instance 'hunchentoot:easy-acceptor 2021-04-20T18:55:04Z CL-ASHOK: :address "127.0.0.1" 2021-04-20T18:55:04Z CL-ASHOK: :port 4242 2021-04-20T18:55:05Z CL-ASHOK: :document-root #p"www_/" 2021-04-20T18:55:05Z CL-ASHOK: :persistent-connections-p t 2021-04-20T18:55:06Z CL-ASHOK: :read-timeout 3.0 2021-04-20T18:55:06Z CL-ASHOK: :write-timeout 3.0 2021-04-20T18:55:07Z CL-ASHOK: :access-log-destination nil 2021-04-20T18:55:07Z CL-ASHOK: :message-log-destination nil))) 2021-04-20T18:56:48Z jackdaniel: CL-ASHOK: (defvar *web-server* (setf web-server …)) 2021-04-20T18:57:12Z phoe: CL-ASHOK: call hunchentoot:stop 2021-04-20T18:57:36Z phoe: oh wait! yes, what jackdaniel said, use DEFVAR; this way the hunchentoot:start form it will only be evaluated once 2021-04-20T18:57:39Z phoe: s/it// 2021-04-20T18:58:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T18:59:23Z amb007 joined #lisp 2021-04-20T19:01:37Z mindCrime quit (Ping timeout: 265 seconds) 2021-04-20T19:02:02Z CL-ASHOK: Wow - thanks! So easy 2021-04-20T19:02:12Z CL-ASHOK: You guys are too good ;) 2021-04-20T19:04:25Z pch2013 joined #lisp 2021-04-20T19:06:27Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T19:06:36Z contrapunctus left #lisp 2021-04-20T19:07:08Z amb007 joined #lisp 2021-04-20T19:07:17Z nij joined #lisp 2021-04-20T19:07:51Z ukari quit (Remote host closed the connection) 2021-04-20T19:08:17Z ukari joined #lisp 2021-04-20T19:08:52Z contrapunctus joined #lisp 2021-04-20T19:09:28Z nij quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-20T19:11:18Z CrashTestDummy2 joined #lisp 2021-04-20T19:11:18Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T19:11:48Z hjudt joined #lisp 2021-04-20T19:11:54Z hjudt quit (Client Quit) 2021-04-20T19:12:36Z hjudt joined #lisp 2021-04-20T19:13:12Z hjudt quit (Client Quit) 2021-04-20T19:13:52Z jackdaniel: of course, that's why we're confined on this channel 2021-04-20T19:13:57Z jackdaniel: we are cybernetical beings in prison 2021-04-20T19:13:59Z hjudt joined #lisp 2021-04-20T19:14:11Z CrashTestDummy quit (Ping timeout: 240 seconds) 2021-04-20T19:14:32Z amb007 joined #lisp 2021-04-20T19:15:08Z CL-ASHOK: @jackdaniel :D 2021-04-20T19:16:31Z rogersm quit (Quit: Leaving...) 2021-04-20T19:16:32Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T19:16:49Z amb007 joined #lisp 2021-04-20T19:19:05Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T19:19:24Z amb007 joined #lisp 2021-04-20T19:26:49Z jeosol quit (Quit: Connection closed) 2021-04-20T19:28:56Z jeosol joined #lisp 2021-04-20T19:31:01Z VincentVega quit (Quit: Connection closed) 2021-04-20T19:31:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T19:31:22Z amb007 joined #lisp 2021-04-20T19:33:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T19:34:10Z karlosz joined #lisp 2021-04-20T19:34:30Z amb007 joined #lisp 2021-04-20T19:36:37Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T19:37:40Z amb007 joined #lisp 2021-04-20T19:39:17Z hypercube joined #lisp 2021-04-20T19:39:17Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T19:39:50Z amb007 joined #lisp 2021-04-20T19:41:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T19:43:01Z amb007 joined #lisp 2021-04-20T19:44:37Z CL-ASHOK quit (Quit: Connection closed) 2021-04-20T19:44:46Z ljavorsk joined #lisp 2021-04-20T19:45:49Z terpri_ joined #lisp 2021-04-20T19:48:12Z terpri quit (Ping timeout: 240 seconds) 2021-04-20T19:50:37Z CrashTestDummy joined #lisp 2021-04-20T19:53:16Z CrashTestDummy2 quit (Ping timeout: 245 seconds) 2021-04-20T19:54:31Z hypercube quit (Ping timeout: 245 seconds) 2021-04-20T19:55:25Z prxq quit (Ping timeout: 252 seconds) 2021-04-20T19:56:41Z ljavorsk quit (Ping timeout: 240 seconds) 2021-04-20T19:57:22Z Lord_of_Life_ joined #lisp 2021-04-20T19:59:37Z Lord_of_Life quit (Ping timeout: 260 seconds) 2021-04-20T19:59:38Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-20T20:01:29Z terpri__ joined #lisp 2021-04-20T20:03:30Z CL-ASHOK joined #lisp 2021-04-20T20:03:41Z terpri_ quit (Ping timeout: 240 seconds) 2021-04-20T20:04:31Z ukari quit (Remote host closed the connection) 2021-04-20T20:05:41Z ukari joined #lisp 2021-04-20T20:09:14Z CrashTestDummy2 joined #lisp 2021-04-20T20:10:47Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-20T20:12:26Z CrashTestDummy quit (Ping timeout: 245 seconds) 2021-04-20T20:14:38Z CL-ASHOK quit (Quit: Ping timeout (120 seconds)) 2021-04-20T20:16:41Z shka_ quit (Ping timeout: 240 seconds) 2021-04-20T20:20:38Z hiroaki_ joined #lisp 2021-04-20T20:21:31Z long4mud joined #lisp 2021-04-20T20:23:29Z MrFantastik quit (Remote host closed the connection) 2021-04-20T20:25:06Z spaethnl quit (Ping timeout: 240 seconds) 2021-04-20T20:31:06Z hjudt quit (Remote host closed the connection) 2021-04-20T20:32:33Z hjudt joined #lisp 2021-04-20T20:32:40Z krid joined #lisp 2021-04-20T20:34:52Z scm joined #lisp 2021-04-20T20:35:28Z jeosol quit (Quit: Connection closed) 2021-04-20T20:37:50Z wsinatra quit (Ping timeout: 246 seconds) 2021-04-20T20:40:57Z GreaseMonkey quit (Remote host closed the connection) 2021-04-20T20:44:12Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-20T20:45:03Z ukari quit (Remote host closed the connection) 2021-04-20T20:45:58Z ukari joined #lisp 2021-04-20T20:47:50Z xkapastel quit (Quit: Connection closed for inactivity) 2021-04-20T21:00:47Z wsinatra joined #lisp 2021-04-20T21:04:52Z greaser|q joined #lisp 2021-04-20T21:08:32Z nij joined #lisp 2021-04-20T21:09:47Z nij: Hello! IIRC, ambrevar's sly main shell isn't released back then. Any news on that? I cannot wait but putting my hands on the goodies described in the wonderful article: https://ambrevar.xyz/lisp-repl-shell/index.html 2021-04-20T21:14:27Z arpunk quit (Remote host closed the connection) 2021-04-20T21:15:01Z gaqwas quit (Ping timeout: 268 seconds) 2021-04-20T21:17:26Z krid quit (Ping timeout: 245 seconds) 2021-04-20T21:26:19Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-20T21:30:38Z kevingal quit (Remote host closed the connection) 2021-04-20T21:36:43Z pve quit (Quit: leaving) 2021-04-20T21:40:07Z mindCrime joined #lisp 2021-04-20T21:40:59Z akoana joined #lisp 2021-04-20T21:44:26Z Kundry_Wag quit (Remote host closed the connection) 2021-04-20T22:05:17Z nij quit (Ping timeout: 250 seconds) 2021-04-20T22:06:19Z scymtym_ joined #lisp 2021-04-20T22:07:06Z heisig quit (Quit: Leaving) 2021-04-20T22:07:13Z mindCrime quit (Ping timeout: 265 seconds) 2021-04-20T22:07:18Z scymtym quit (Remote host closed the connection) 2021-04-20T22:07:28Z gaqwas joined #lisp 2021-04-20T22:07:28Z gaqwas quit (Changing host) 2021-04-20T22:07:28Z gaqwas joined #lisp 2021-04-20T22:12:35Z krid joined #lisp 2021-04-20T22:13:47Z ramHero quit (Remote host closed the connection) 2021-04-20T22:15:48Z varjagg quit (Ping timeout: 260 seconds) 2021-04-20T22:16:50Z spikhoff joined #lisp 2021-04-20T22:18:32Z frgo_ joined #lisp 2021-04-20T22:18:33Z frgo quit (Remote host closed the connection) 2021-04-20T22:24:25Z surabax quit (Quit: Leaving) 2021-04-20T22:25:42Z anticrisis joined #lisp 2021-04-20T22:28:04Z raeda joined #lisp 2021-04-20T22:30:25Z gaqwas quit (Ping timeout: 265 seconds) 2021-04-20T22:36:01Z nicktick quit (Ping timeout: 252 seconds) 2021-04-20T22:41:41Z hypercube joined #lisp 2021-04-20T22:41:44Z Sheilong quit (Quit: Connection closed for inactivity) 2021-04-20T22:48:18Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T22:48:23Z Krystof quit (Ping timeout: 246 seconds) 2021-04-20T22:48:31Z amb007 joined #lisp 2021-04-20T22:48:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T22:49:01Z amb007 joined #lisp 2021-04-20T22:51:12Z amb007 quit (Read error: Connection reset by peer) 2021-04-20T22:51:45Z amb007 joined #lisp 2021-04-20T23:02:21Z sm2n_ joined #lisp 2021-04-20T23:05:10Z sm2n quit (Ping timeout: 252 seconds) 2021-04-20T23:09:29Z X-Scale` joined #lisp 2021-04-20T23:10:55Z tempest_nox joined #lisp 2021-04-20T23:11:13Z X-Scale quit (Ping timeout: 240 seconds) 2021-04-20T23:11:13Z X-Scale` is now known as X-Scale 2021-04-20T23:11:24Z scm quit (Quit: Leaving) 2021-04-20T23:12:11Z Nilby joined #lisp 2021-04-20T23:12:15Z sm2n joined #lisp 2021-04-20T23:13:18Z cantstanya joined #lisp 2021-04-20T23:13:56Z sm2n_ quit (Ping timeout: 246 seconds) 2021-04-20T23:15:20Z random-nick quit (Ping timeout: 246 seconds) 2021-04-20T23:29:39Z Colleen quit (Remote host closed the connection) 2021-04-20T23:30:30Z Colleen joined #lisp 2021-04-20T23:39:23Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-20T23:43:52Z igemnace joined #lisp 2021-04-20T23:53:57Z hendursa1 quit (Remote host closed the connection) 2021-04-20T23:54:51Z hendursa1 joined #lisp 2021-04-20T23:55:45Z hendursa1 quit (Remote host closed the connection) 2021-04-20T23:56:02Z xsperry quit (Remote host closed the connection) 2021-04-20T23:56:20Z hendursa1 joined #lisp 2021-04-20T23:58:54Z Codaraxis__ joined #lisp 2021-04-20T23:59:56Z ebrasca quit (Remote host closed the connection) 2021-04-21T00:01:27Z rumbler31 quit (Remote host closed the connection) 2021-04-21T00:01:30Z nij joined #lisp 2021-04-21T00:01:45Z rumbler31 joined #lisp 2021-04-21T00:02:12Z Codaraxis_ quit (Ping timeout: 240 seconds) 2021-04-21T00:07:08Z gitgood quit (Ping timeout: 246 seconds) 2021-04-21T00:07:28Z mathrick quit (Ping timeout: 252 seconds) 2021-04-21T00:08:54Z gzj joined #lisp 2021-04-21T00:08:55Z GZJ0X_ joined #lisp 2021-04-21T00:08:55Z GZJ0X_ quit (Remote host closed the connection) 2021-04-21T00:09:15Z hendursa1 quit (Quit: hendursa1) 2021-04-21T00:10:24Z Codaraxis_ joined #lisp 2021-04-21T00:10:37Z hendursaga joined #lisp 2021-04-21T00:12:29Z sebboh quit (Ping timeout: 245 seconds) 2021-04-21T00:13:12Z nij quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-21T00:13:46Z Codaraxis__ quit (Ping timeout: 240 seconds) 2021-04-21T00:17:33Z skapata quit (Remote host closed the connection) 2021-04-21T00:23:24Z Alfr quit (Quit: Leaving) 2021-04-21T00:23:31Z mathrick joined #lisp 2021-04-21T00:23:36Z nicktick joined #lisp 2021-04-21T00:24:02Z xsperry joined #lisp 2021-04-21T00:26:06Z gzj quit (Remote host closed the connection) 2021-04-21T00:26:25Z gzj joined #lisp 2021-04-21T00:27:29Z orivej quit (Ping timeout: 260 seconds) 2021-04-21T00:30:26Z kopiyka quit (Remote host closed the connection) 2021-04-21T00:30:50Z kopiyka joined #lisp 2021-04-21T00:31:20Z mindCrime joined #lisp 2021-04-21T00:39:37Z sebboh joined #lisp 2021-04-21T00:40:50Z spaethnl joined #lisp 2021-04-21T00:45:37Z Alfr joined #lisp 2021-04-21T00:45:55Z elflng quit (Ping timeout: 268 seconds) 2021-04-21T00:48:52Z sm2n quit (Quit: Leaving) 2021-04-21T00:50:35Z sm2n joined #lisp 2021-04-21T00:52:11Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-21T00:55:08Z rumbler31 quit (Remote host closed the connection) 2021-04-21T01:09:31Z krid quit (Ping timeout: 245 seconds) 2021-04-21T01:14:59Z semz quit (Ping timeout: 245 seconds) 2021-04-21T01:15:16Z semz joined #lisp 2021-04-21T01:15:16Z semz quit (Changing host) 2021-04-21T01:15:16Z semz joined #lisp 2021-04-21T01:16:42Z akoana left #lisp 2021-04-21T01:17:49Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-21T01:24:05Z Josh_2 quit (Remote host closed the connection) 2021-04-21T01:26:35Z wxie joined #lisp 2021-04-21T01:31:51Z ikrabbe|2 joined #lisp 2021-04-21T01:34:38Z ikrabbe quit (Ping timeout: 246 seconds) 2021-04-21T01:45:27Z aindilis quit (Remote host closed the connection) 2021-04-21T01:46:28Z aindilis` joined #lisp 2021-04-21T01:49:06Z gzj quit (Remote host closed the connection) 2021-04-21T01:49:25Z gzj joined #lisp 2021-04-21T01:50:46Z Nilby quit (Ping timeout: 245 seconds) 2021-04-21T01:51:31Z nij joined #lisp 2021-04-21T01:53:29Z remby joined #lisp 2021-04-21T01:58:28Z aindilis` quit (Remote host closed the connection) 2021-04-21T02:11:59Z DHARMAKAYA joined #lisp 2021-04-21T02:24:49Z gzj quit (Ping timeout: 252 seconds) 2021-04-21T02:29:27Z raeda quit (Remote host closed the connection) 2021-04-21T02:29:50Z raeda joined #lisp 2021-04-21T02:31:18Z matty joined #lisp 2021-04-21T02:31:18Z matty quit (Read error: Connection reset by peer) 2021-04-21T02:32:44Z thinkpad quit (Ping timeout: 246 seconds) 2021-04-21T02:33:58Z thinkpad joined #lisp 2021-04-21T02:34:23Z frost-lab joined #lisp 2021-04-21T02:37:29Z voidlily quit (Ping timeout: 258 seconds) 2021-04-21T02:41:54Z refusenick joined #lisp 2021-04-21T02:50:38Z voidlily joined #lisp 2021-04-21T02:55:44Z rumbler31 joined #lisp 2021-04-21T03:00:01Z rumbler31 quit (Ping timeout: 252 seconds) 2021-04-21T03:02:13Z Alfr is now known as Guest1339 2021-04-21T03:02:18Z Alfr joined #lisp 2021-04-21T03:02:20Z beach: Good morning everyone! 2021-04-21T03:04:31Z Guest1339 quit (Ping timeout: 245 seconds) 2021-04-21T03:07:09Z remby: morning! 2021-04-21T03:12:57Z luis9 joined #lisp 2021-04-21T03:14:52Z luis quit (Ping timeout: 252 seconds) 2021-04-21T03:14:52Z luis9 is now known as luis 2021-04-21T03:23:56Z davros joined #lisp 2021-04-21T03:26:12Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-21T03:31:35Z semz quit (Ping timeout: 250 seconds) 2021-04-21T03:35:44Z thinkpad quit (Read error: Connection reset by peer) 2021-04-21T03:39:41Z elflng joined #lisp 2021-04-21T03:40:06Z thinkpad joined #lisp 2021-04-21T03:40:43Z mrchampion quit (Ping timeout: 265 seconds) 2021-04-21T03:42:49Z mrchampion joined #lisp 2021-04-21T03:45:22Z semz joined #lisp 2021-04-21T03:45:22Z semz quit (Changing host) 2021-04-21T03:45:22Z semz joined #lisp 2021-04-21T03:49:25Z thinkpad quit (Read error: Connection reset by peer) 2021-04-21T03:50:01Z greaser|q quit (Changing host) 2021-04-21T03:50:01Z greaser|q joined #lisp 2021-04-21T03:50:04Z greaser|q is now known as GreaseMonkey 2021-04-21T03:54:05Z thinkpad joined #lisp 2021-04-21T03:55:22Z anewuser joined #lisp 2021-04-21T03:56:34Z refusenick: I have someone asking me to make them a website (a homepage/blog), and I'd like to give Lisp a shot (instead of LAMP) 2021-04-21T03:57:19Z beach: Good idea. 2021-04-21T03:57:27Z refusenick: It's going to be atop a VPS (probably a DigitalOcean droplet), and they'd like to be able to edit the content (blog posts, CV updates) in a GUI format, as if it were Wordpress 2021-04-21T03:57:58Z anewuser quit (Remote host closed the connection) 2021-04-21T03:58:24Z anewuser joined #lisp 2021-04-21T03:59:52Z Nilby joined #lisp 2021-04-21T04:00:27Z refusenick: There was a "Lisp apps on GCE" Medium post which made it to the top of HN a few days ago, and which looks like a decent starting point (although, with limited RAM and storage, I'd like to ideally drop Nginx and PostgresSQL to instead do everything inside the Lisp image) 2021-04-21T04:01:56Z refusenick: They're using Windows, I'm using Linux. What's a cross-platform way to get them a graphical rich text editor which can connect to and live update the running Lisp image in a relatively secure fashion? 2021-04-21T04:03:12Z thinkpad quit (Read error: Connection reset by peer) 2021-04-21T04:03:16Z sbodin joined #lisp 2021-04-21T04:03:53Z sbodin left #lisp 2021-04-21T04:06:26Z refusenick: Could I serve them an in-browser rich text editor (Lisp running via Wasm) which opens a Swank connection to the server when they log in? 2021-04-21T04:07:07Z thinkpad joined #lisp 2021-04-21T04:07:48Z refusenick: Parenscript would probably be a better bet? 2021-04-21T04:07:50Z no-defun-allowed: The first part is to get Lisp on WASM. 2021-04-21T04:08:16Z refusenick: no-defun-allowed: Does it still have stack manipulation issues? 2021-04-21T04:08:47Z refusenick: Wasn't it multiple return which proved problematic? 2021-04-21T04:08:47Z no-defun-allowed: Not sure, but you also have to deal with garbage collection and non-local transfer of control. 2021-04-21T04:09:18Z no-defun-allowed: Though you could do Parenscript now, sure. 2021-04-21T04:10:00Z anewuser quit (Remote host closed the connection) 2021-04-21T04:10:30Z anewuser joined #lisp 2021-04-21T04:12:58Z refusenick: I imagine it'd be easier to make them a desktop app? 2021-04-21T04:13:01Z anewuser quit (Remote host closed the connection) 2021-04-21T04:13:15Z refusenick: What GUI framework works best? McClim? 2021-04-21T04:16:37Z refusenick: Maybe give them Markdown and a preview button? 2021-04-21T04:16:56Z refusenick: Replicating Word or Wordpress would be hard 2021-04-21T04:25:42Z remby: Word or Wordpress? those seem different 2021-04-21T04:29:13Z Bike quit (Quit: Lost terminal) 2021-04-21T04:30:48Z moon-child: presumably both provide wysiwyg rich text editors 2021-04-21T04:31:31Z srhm quit (Quit: Konversation terminated!) 2021-04-21T04:33:08Z remby: oh I see 2021-04-21T04:34:11Z remby: I think a basic "rich text" editor would not be bad that's pretty much just images, bold, italics, bullet points and centering 2021-04-21T04:34:19Z remby: could do it with html :P 2021-04-21T04:36:16Z hypercube quit (Ping timeout: 252 seconds) 2021-04-21T04:43:41Z waleee-cl joined #lisp 2021-04-21T04:47:49Z abhixec joined #lisp 2021-04-21T04:51:03Z wxie quit (Quit: wxie) 2021-04-21T04:54:36Z splittist: refusenick: isn't the normal way just embedding a standard js editor widget (TinyMCE, whatever) in the page and handling the AJAX (or whatever the kool kids do now) in the lisp webserver to update the model? 2021-04-21T04:57:02Z refusenick: splittist: I'm not much of a web programmer, like, at all 2021-04-21T04:57:21Z refusenick: I guess that makes sense. 2021-04-21T04:57:29Z splittist: You could have a look at https://github.com/Shirakumo/reader 2021-04-21T04:58:26Z refusenick: splittist: Oh, this sounds great! thanks 2021-04-21T04:59:26Z narimiran joined #lisp 2021-04-21T05:05:21Z gaqwas joined #lisp 2021-04-21T05:05:22Z gaqwas quit (Changing host) 2021-04-21T05:05:22Z gaqwas joined #lisp 2021-04-21T05:05:25Z mindCrime quit (Ping timeout: 252 seconds) 2021-04-21T05:11:49Z orivej joined #lisp 2021-04-21T05:12:50Z varjagg joined #lisp 2021-04-21T05:13:01Z edvardo_ joined #lisp 2021-04-21T05:16:51Z sauvin joined #lisp 2021-04-21T05:23:33Z pch2013 quit (Quit: Connection closed for inactivity) 2021-04-21T05:26:27Z hypercube joined #lisp 2021-04-21T05:29:40Z splittist: refusenick: and in case you haven't found it, this is a sort of accompanying tutorial https://github.com/Shirakumo/radiance-tutorial/blob/master/Part%200.md 2021-04-21T05:30:26Z varjagg quit (Ping timeout: 240 seconds) 2021-04-21T05:30:59Z tempest_nox quit (Remote host closed the connection) 2021-04-21T05:31:11Z splittist: refusenick: in particular, Part 6 integrates CodeMirror, a web editor thingy 2021-04-21T05:35:08Z gaqwas quit (Ping timeout: 268 seconds) 2021-04-21T05:47:47Z andrei-n joined #lisp 2021-04-21T05:50:16Z antaoiseach joined #lisp 2021-04-21T05:50:27Z antaoiseach quit (Client Quit) 2021-04-21T05:54:56Z Codaraxis__ joined #lisp 2021-04-21T05:55:44Z stylewarning quit (Ping timeout: 245 seconds) 2021-04-21T05:55:44Z Codaraxis_ quit (Remote host closed the connection) 2021-04-21T05:55:44Z parisienne quit (Ping timeout: 245 seconds) 2021-04-21T05:55:44Z stylewarning joined #lisp 2021-04-21T05:55:44Z stylewarning quit (Changing host) 2021-04-21T05:55:44Z stylewarning joined #lisp 2021-04-21T05:55:59Z parisienne joined #lisp 2021-04-21T05:56:36Z rme quit (Ping timeout: 245 seconds) 2021-04-21T05:56:37Z cyberlard quit (Ping timeout: 245 seconds) 2021-04-21T05:56:46Z rme joined #lisp 2021-04-21T05:56:57Z cyberlard joined #lisp 2021-04-21T05:57:13Z Alfr quit (Killed (egan.freenode.net (Nickname regained by services))) 2021-04-21T05:57:17Z crypto_ joined #lisp 2021-04-21T05:57:18Z Alfr joined #lisp 2021-04-21T05:57:49Z z0d quit (Ping timeout: 245 seconds) 2021-04-21T05:57:49Z alanz quit (Ping timeout: 245 seconds) 2021-04-21T05:57:51Z jackhill quit (Ping timeout: 245 seconds) 2021-04-21T05:58:12Z jackhill joined #lisp 2021-04-21T05:58:42Z Nilby quit (Ping timeout: 245 seconds) 2021-04-21T05:59:07Z kopiyka quit (Ping timeout: 245 seconds) 2021-04-21T05:59:31Z bytesighs quit (Ping timeout: 245 seconds) 2021-04-21T05:59:32Z kopiyka joined #lisp 2021-04-21T05:59:37Z alanz joined #lisp 2021-04-21T05:59:56Z stylewarning quit (Ping timeout: 245 seconds) 2021-04-21T06:00:21Z igemnace quit (Ping timeout: 245 seconds) 2021-04-21T06:00:50Z igemnace joined #lisp 2021-04-21T06:00:54Z bytesighs joined #lisp 2021-04-21T06:01:02Z stylewarning joined #lisp 2021-04-21T06:01:22Z contrapunctus left #lisp 2021-04-21T06:05:31Z raeda: What's the motivation for having APPLY unpack the last item in the rest list? 2021-04-21T06:06:28Z jackdaniel: raeda: to complement funcall which doesn't do that 2021-04-21T06:06:55Z jackdaniel: i.e you may want to add some new arguments to existing list 2021-04-21T06:07:10Z jackdaniel: (apply 'make-pane :frame fm (list* :port port args)) 2021-04-21T06:07:18Z attila_lendvai joined #lisp 2021-04-21T06:07:18Z attila_lendvai quit (Changing host) 2021-04-21T06:07:18Z attila_lendvai joined #lisp 2021-04-21T06:07:27Z jackdaniel: well, that wasn't a good example because you could lift the port argument out of the last argument 2021-04-21T06:08:07Z jackdaniel: but, say (progn (remf args :foo) (apply 'make-pane :frame fm args)) 2021-04-21T06:08:27Z raeda: That's neat. So you could do some Currying by adding arguments to the front of the arg list 2021-04-21T06:08:37Z jackdaniel: yes, that's one of its uses 2021-04-21T06:08:40Z orivej quit (Ping timeout: 252 seconds) 2021-04-21T06:09:33Z moon-child: I have the opposite question: why is cons not variadic? 2021-04-21T06:09:44Z moon-child: with e.g. (cons a b c d) ←→ (cons a (cons b (cons c d))) 2021-04-21T06:09:46Z contrapunctus joined #lisp 2021-04-21T06:09:55Z shka_ joined #lisp 2021-04-21T06:10:02Z jackdaniel: moon-child: because list* serves this purpose 2021-04-21T06:10:33Z thinkpad quit (Ping timeout: 240 seconds) 2021-04-21T06:10:34Z jackdaniel: cons is a constructor for a type cons 2021-04-21T06:11:08Z jackdaniel: list* is used to construct lists as you have described (i.e improper lists) 2021-04-21T06:11:40Z thinkpad joined #lisp 2021-04-21T06:12:43Z daphnis joined #lisp 2021-04-21T06:12:52Z daphnis quit (Client Quit) 2021-04-21T06:14:06Z pent quit (Ping timeout: 245 seconds) 2021-04-21T06:14:06Z b20n quit (Ping timeout: 245 seconds) 2021-04-21T06:14:51Z karlosz_ joined #lisp 2021-04-21T06:14:56Z b20n joined #lisp 2021-04-21T06:15:16Z pent joined #lisp 2021-04-21T06:16:20Z daphnis joined #lisp 2021-04-21T06:17:02Z refusenick: Well, this is a little embarrasing... 2021-04-21T06:17:08Z karlosz quit (Ping timeout: 245 seconds) 2021-04-21T06:17:08Z karlosz_ is now known as karlosz 2021-04-21T06:17:12Z refusenick: I tried launching Sly for the first time in a while 2021-04-21T06:17:20Z daphnis: is there a way to find the number of arguments desired by a given function? 2021-04-21T06:17:23Z refusenick: And it no longer works 2021-04-21T06:17:35Z stylewarning quit (Ping timeout: 245 seconds) 2021-04-21T06:17:35Z narimiran quit (Ping timeout: 245 seconds) 2021-04-21T06:18:04Z refusenick: Apparently, Slynk no longer compiles due to the removal of %SIMPLE-FUN-NEXT from sb-kernel 2021-04-21T06:18:06Z jackdaniel: daphnis: there is no way guaranteed by the standard 2021-04-21T06:18:11Z jackdaniel: but you may try (swank::arglist #'list) 2021-04-21T06:18:23Z jackdaniel: there is also library, I think trivial-arguments or trivial-argument-list 2021-04-21T06:18:39Z stylewarning joined #lisp 2021-04-21T06:18:41Z jackdaniel: refusenick: maybe sly also updated? 2021-04-21T06:18:45Z kopiyka quit (Ping timeout: 245 seconds) 2021-04-21T06:19:01Z jackdaniel: to match sbcl shifting its internal structures 2021-04-21T06:19:07Z daphnis: jackdaniel: thanks! 2021-04-21T06:19:07Z glamas quit (Ping timeout: 245 seconds) 2021-04-21T06:19:16Z jackdaniel: sure ,) 2021-04-21T06:20:00Z jackdaniel: mind that if you do silly things, like setting (debug 0) then possibly you won't be able to see the arglist 2021-04-21T06:20:15Z b20n quit (Ping timeout: 245 seconds) 2021-04-21T06:20:16Z glamas joined #lisp 2021-04-21T06:20:40Z narimiran joined #lisp 2021-04-21T06:20:57Z refusenick: Ah, yep 2021-04-21T06:21:19Z b20n joined #lisp 2021-04-21T06:21:42Z rogersm joined #lisp 2021-04-21T06:21:55Z refusenick: I thought I had things set so C-x C-e on (use-package sly ...) would pull and rebuild it if the HEAD tag was outdated 2021-04-21T06:22:01Z refusenick: but clearly I was wrong! 2021-04-21T06:30:33Z remby quit (Quit: Going offline, see ya! (www.adiirc.com)) 2021-04-21T06:32:52Z scymtym_ quit (Remote host closed the connection) 2021-04-21T06:54:29Z lottaquestions quit (Remote host closed the connection) 2021-04-21T06:54:58Z lottaquestions joined #lisp 2021-04-21T06:58:38Z karlosz quit (Quit: karlosz) 2021-04-21T06:59:44Z thomasb06 joined #lisp 2021-04-21T07:00:50Z thomasb06: jackdaniel how was your beer? 2021-04-21T07:05:28Z jackdaniel: as good as usual, thanks 2021-04-21T07:05:42Z thomasb06: (hehe) 2021-04-21T07:07:35Z hypercube quit (Quit: WeeChat 3.1) 2021-04-21T07:09:14Z attila_lendvai quit (Ping timeout: 246 seconds) 2021-04-21T07:11:18Z wxie joined #lisp 2021-04-21T07:28:50Z Codaraxis__ quit (Ping timeout: 246 seconds) 2021-04-21T07:28:51Z daphnis_ joined #lisp 2021-04-21T07:29:33Z Krystof joined #lisp 2021-04-21T07:30:30Z fourier joined #lisp 2021-04-21T07:32:09Z daphnis quit (Ping timeout: 260 seconds) 2021-04-21T07:32:26Z crypto_ is now known as z0d 2021-04-21T07:33:36Z thomasb06: jackdaniel how did you learn Lisp? Lately, I'm trying to learn some 2021-04-21T07:35:11Z jackdaniel: it is not a very interesting story. I've started a scientific club at my uni around the artificial intelligence and I've found that Lisp is a all the jazz for AI (quite outdated information even then) 2021-04-21T07:35:30Z jackdaniel: so I've made a "course" at our meetings based on pcl 2021-04-21T07:35:33Z srandon111 quit (Read error: Connection reset by peer) 2021-04-21T07:36:07Z jackdaniel: then in my first job I was working with embedded systems and I was using ecl, so I took its maintainership since it wasn't maintained 2021-04-21T07:36:47Z fourier quit (Changing host) 2021-04-21T07:36:47Z fourier joined #lisp 2021-04-21T07:37:21Z jackdaniel: after that I've achieved nirvana and I'm beyond ego, one with the true nature of lisp, floating above the sky surrounded by the singing parenthesis 2021-04-21T07:37:45Z thomasb06: ok, you're a professional then. It's from Emacs I discovered Lisp and trying to go a bit further 2021-04-21T07:38:27Z thomasb06: not sure it would have a professional outcome 2021-04-21T07:39:29Z thomasb06: there's a window manager in Lisp that looks nice, Ulubis. But it doesn't handle Nvidia cards, maybe I could have a look 2021-04-21T07:39:53Z voidlily quit (Ping timeout: 250 seconds) 2021-04-21T07:40:05Z jackdaniel: if you make money from it you are a professional, if you don't then you are not (I think that's the distinction); it has little to do with skill 2021-04-21T07:40:44Z moon-child: why does a window manager care what GPU you run? 2021-04-21T07:40:55Z hypercube joined #lisp 2021-04-21T07:41:03Z hypercube quit (Client Quit) 2021-04-21T07:41:08Z MichaelRaskin: Because Wayland 2021-04-21T07:41:16Z moon-child: jackdaniel: surely it requires a certain degree of skill in a field that you're worth being paid to perform it? 2021-04-21T07:41:22Z thomasb06: exactly 2021-04-21T07:41:42Z MichaelRaskin: I would expect it to run fine with Nouveau driver, though 2021-04-21T07:41:48Z thomasb06: (exactly: Wayland) 2021-04-21T07:42:04Z jackdaniel: moon-child: I know a few professionals (not necessarily related to lisp) who learned to type code and stopped at that 2021-04-21T07:42:23Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-21T07:42:40Z jackdaniel: and there are a lot of amateour programmers with very deep knowledge; so that's it. but this is offtopic I think 2021-04-21T07:42:48Z DHARMAKAYA joined #lisp 2021-04-21T07:43:12Z thomasb06: MichaelRaskin next week-end I'll retry but few weeks ago, the wm crashed at startup. And my driver is nouveau 2021-04-21T07:43:28Z hypercube joined #lisp 2021-04-21T07:43:35Z hypercube quit (Client Quit) 2021-04-21T07:44:12Z thomasb06: jackdaniel an amateur skilled programmer, that would be great already 2021-04-21T07:44:32Z MichaelRaskin: Hm, unfortunate, thanks for the information 2021-04-21T07:44:45Z jackdaniel: as I said, these qualities are orthogonal. of course it is nice to be paid when you are skillful at something 2021-04-21T07:45:19Z pve joined #lisp 2021-04-21T07:45:26Z thomasb06: MichaelRaskin the author answered on GitHub apparently it comes the fact Nvidia doesn't comply to Gdm or a name like that 2021-04-21T07:45:45Z MichaelRaskin: GBM, I would expect 2021-04-21T07:46:08Z thomasb06: most probably... Something to do with graphics cards 2021-04-21T07:46:25Z MichaelRaskin: But I thought it was more of a problem with their proptietary driver and Nouveau was at least a bit closer to the rest of the ecosystem 2021-04-21T07:47:03Z thomasb06: here: https://www.phoronix.com/scan.php?page=news_item&px=NVIDIA-GBM-Mesa-Backend-Alt 2021-04-21T07:47:50Z thomasb06: my graphics card is 14 years old so it surely doesn't help 2021-04-21T07:50:52Z imode quit (Ping timeout: 240 seconds) 2021-04-21T07:53:18Z voidlily joined #lisp 2021-04-21T07:54:47Z lottaquestions quit (Read error: Connection reset by peer) 2021-04-21T07:55:07Z lottaquestions joined #lisp 2021-04-21T07:56:34Z karlosz joined #lisp 2021-04-21T07:57:12Z surabax joined #lisp 2021-04-21T08:01:48Z phoe: I think nvidia has strayed far from the #lisp topic 2021-04-21T08:01:55Z phoe gently opens the #lispcafe door 2021-04-21T08:05:04Z aartaka joined #lisp 2021-04-21T08:05:42Z thomasb06: phoe: HEY PHOE, ARE YOU DOING? IT'S SOMETIME I DIDN'T SEE YOU IN OUR FINE #LISPPUB. WANT A DRINK? 2021-04-21T08:06:26Z phoe: thomasb06: sure, but in #lispcafe :D 2021-04-21T08:06:47Z thomasb06: ;p 2021-04-21T08:07:23Z hendursa1 joined #lisp 2021-04-21T08:09:57Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-21T08:10:19Z prxq joined #lisp 2021-04-21T08:11:24Z anticrisis quit (Read error: Connection reset by peer) 2021-04-21T08:12:23Z karlosz quit (Quit: karlosz) 2021-04-21T08:12:27Z hypercube joined #lisp 2021-04-21T08:13:13Z daphnis_ quit (Ping timeout: 260 seconds) 2021-04-21T08:13:47Z scymtym joined #lisp 2021-04-21T08:14:52Z Lycurgus joined #lisp 2021-04-21T08:21:44Z ljavorsk joined #lisp 2021-04-21T08:23:29Z cowona quit (Ping timeout: 268 seconds) 2021-04-21T08:24:39Z nostoi joined #lisp 2021-04-21T08:24:56Z scymtym quit (Ping timeout: 245 seconds) 2021-04-21T08:29:31Z edvardo_ quit (Quit: Leaving) 2021-04-21T08:40:46Z X-Scale` joined #lisp 2021-04-21T08:41:11Z X-Scale quit (Ping timeout: 240 seconds) 2021-04-21T08:41:20Z X-Scale` is now known as X-Scale 2021-04-21T08:43:08Z prxq quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-21T08:43:20Z prxq joined #lisp 2021-04-21T08:44:41Z aartaka_d joined #lisp 2021-04-21T08:46:55Z aartaka quit (Ping timeout: 268 seconds) 2021-04-21T08:48:13Z Lycurgus quit (Quit: Exeunt) 2021-04-21T08:49:25Z scymtym joined #lisp 2021-04-21T08:53:15Z kevingal joined #lisp 2021-04-21T09:00:49Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T09:01:27Z amb007 joined #lisp 2021-04-21T09:03:29Z daphnis joined #lisp 2021-04-21T09:03:30Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T09:04:01Z amb007 joined #lisp 2021-04-21T09:05:07Z monolithic joined #lisp 2021-04-21T09:05:08Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T09:06:22Z amb007 joined #lisp 2021-04-21T09:13:00Z contrapunctus left #lisp 2021-04-21T09:14:31Z contrapunctus joined #lisp 2021-04-21T09:16:12Z wxie quit (Remote host closed the connection) 2021-04-21T09:16:46Z nicktick quit (Ping timeout: 240 seconds) 2021-04-21T09:18:23Z fengshaun_ quit (Ping timeout: 246 seconds) 2021-04-21T09:20:04Z narimiran quit (Ping timeout: 252 seconds) 2021-04-21T09:25:20Z ikrabbe|2 quit (Ping timeout: 265 seconds) 2021-04-21T09:29:24Z fengshaun joined #lisp 2021-04-21T09:30:29Z zefram22 joined #lisp 2021-04-21T09:34:53Z __jrjsmrtn__ quit (Ping timeout: 260 seconds) 2021-04-21T09:36:59Z __jrjsmrtn__ joined #lisp 2021-04-21T09:42:56Z Nilby joined #lisp 2021-04-21T09:44:51Z nij: I understand MOP as an extension of CLOS. However, what would be on top of MOP that extends MOP again? (Or it's not needed, yet?) 2021-04-21T09:45:19Z jackdaniel: mop is not an extension of clos, mop is a generalization of clos 2021-04-21T09:45:29Z jackdaniel: that allows you to write clos-like object oriented systems 2021-04-21T09:45:51Z jackdaniel: (in other words, it is a machinery to write clos extensions) 2021-04-21T09:46:14Z nij: Oh.. that's a better term. Thanks jackdaniel. 2021-04-21T09:46:53Z no-defun-allowed: If we are to talk about CLOS and the MOP as separate, I would say that MOP is used to implement CLOS, but you use CLOS stuff (classes, methods) to implement new object systems with the MOP. 2021-04-21T09:48:27Z nij is confused. 2021-04-21T09:48:36Z nij: MOP is used to implement CLOS. 2021-04-21T09:48:48Z nij: What is used to implement MOP? Is it CLOS? 2021-04-21T09:50:06Z no-defun-allowed: The introductory half of the Art of the Metaobject Protocol (the book which introduced the MOP, as I understand it) introduces it as a CLOS program. But implementation strategies can vary. 2021-04-21T09:51:19Z nij gasps. 2021-04-21T09:52:04Z nij: So CLOS is full enough to describe its "meta", which can be in turn used to define CLOS itself? 2021-04-21T09:52:13Z nostoi quit (Quit: Verlassend) 2021-04-21T09:52:43Z no-defun-allowed: The authors present Closette, which builds up from structure classes (see which sadly does not seem to include the "Closette is a Knights of the Lambda Calculus production." announcement upon loading). 2021-04-21T09:54:03Z nij: I sense a circularity between CLOS and MOP.. did I miss something? 2021-04-21T09:54:04Z no-defun-allowed: SICL bootstrapping instead uses multiple environments to gradually step from the host object representation to its own object representation, and that uses the meta-object protocol to my knowledge. But I don't have a good answer for what CLOS alone can do. 2021-04-21T09:54:54Z no-defun-allowed: The first half of the book guides you through implementing the MOP and CLOS in CLOS alone. 2021-04-21T09:54:56Z jackdaniel: the 'usual' implementaiton strategy is to provide stubs that are normal functions and object prototypes and then gradually replace them 2021-04-21T09:55:25Z nij: :-O 2021-04-21T09:55:30Z wxie joined #lisp 2021-04-21T09:55:58Z no-defun-allowed: But recall that you can bootstrap from DEFSTRUCT as you please, and you can create DEFSTRUCT with lists, and lists with closures, so on and so forth. 2021-04-21T09:57:38Z nij: Lists can be also defined with cons. :-O 2021-04-21T09:58:17Z no-defun-allowed: But yes, a CLOS implementation supporting the MOP builds CLOS from the MOP, but also MOP from CLOS. 2021-04-21T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-21T10:00:41Z nij: :-D I'm delighted. 2021-04-21T10:09:19Z andrei_n joined #lisp 2021-04-21T10:09:28Z andrei-n quit (Read error: Connection reset by peer) 2021-04-21T10:10:25Z zefram22 quit (Read error: Connection reset by peer) 2021-04-21T10:11:14Z zefram22 joined #lisp 2021-04-21T10:11:32Z kopiyka joined #lisp 2021-04-21T10:11:59Z nij: If I have a function #'f, defined by (defun f (x) (g x)), that calls another function #'g, which could possibly call other functions and the environment, can I ask lisp to return a "closure" of f for me? 2021-04-21T10:12:39Z nij: So the returned object should remember everything that's linked to f, and should be able to reproduce #'f at the moment I ask for the closure. 2021-04-21T10:14:07Z wxie quit (Quit: wxie) 2021-04-21T10:16:11Z kopiyka quit (Ping timeout: 245 seconds) 2021-04-21T10:18:03Z frgo_ quit (Remote host closed the connection) 2021-04-21T10:18:28Z frgo joined #lisp 2021-04-21T10:18:47Z nij: no-defun-allowed: Oh indeed, in TAOTMP.. it says "The heart of the matter is that the introduction of metaobject protocols makes CLOS 2021-04-21T10:18:47Z nij: into a procedurally reflective language [Smith 84]..". There is a metacircular issue there. And CLOS is in some sense full itself (i.e. it can be used to define MOP). 2021-04-21T10:19:01Z wxie joined #lisp 2021-04-21T10:20:21Z nij: It's pretty similar to when mathematicians want to define a set, but they use sets to define models, which are in turn used to justify if a class is a set. 2021-04-21T10:38:24Z zefram22_ joined #lisp 2021-04-21T10:48:40Z andrei_n quit (Read error: Connection reset by peer) 2021-04-21T10:50:14Z orivej joined #lisp 2021-04-21T10:50:26Z zefram22 quit (Read error: Connection reset by peer) 2021-04-21T10:51:10Z zefram22 joined #lisp 2021-04-21T10:51:22Z vegansbane6963 joined #lisp 2021-04-21T10:51:38Z ebrasca joined #lisp 2021-04-21T10:56:44Z ebrasca quit (Ping timeout: 246 seconds) 2021-04-21T10:56:58Z ebrasca joined #lisp 2021-04-21T10:56:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T10:58:30Z amb007 joined #lisp 2021-04-21T10:59:05Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-21T10:59:10Z aartaka joined #lisp 2021-04-21T10:59:53Z ikrabbe|2 joined #lisp 2021-04-21T11:02:50Z boogsbunny joined #lisp 2021-04-21T11:05:29Z andrei-n joined #lisp 2021-04-21T11:05:53Z heisig joined #lisp 2021-04-21T11:10:31Z heisig: The preliminary programme for this year's ELS just went online: https://european-lisp-symposium.org/2021/index.html 2021-04-21T11:12:44Z heisig: The schedule is not yet final, but I hope it is still interesting. In particular, it reveals what our keynote speakers will present. 2021-04-21T11:13:09Z jackdaniel: heisig: thanks! 2021-04-21T11:17:44Z yitzi quit (Quit: yitzi) 2021-04-21T11:20:23Z zefram22 quit (Quit: zefram22) 2021-04-21T11:21:02Z zefram22 joined #lisp 2021-04-21T11:22:15Z luis: heisig: cool stuff 2021-04-21T11:22:26Z orivej quit (Ping timeout: 245 seconds) 2021-04-21T11:23:26Z skapata joined #lisp 2021-04-21T11:24:34Z nij: thanks <3 heisig 2021-04-21T11:24:34Z nij: 2021-04-21T11:28:52Z kopiyka joined #lisp 2021-04-21T11:29:40Z beach: heisig: Looks great so far! 2021-04-21T11:33:16Z kopiyka quit (Ping timeout: 245 seconds) 2021-04-21T11:35:10Z flip214: If it's a virtual event, aren't all talks (potential) keynotes? Just depends in which order they're listened to (by each individual participant), right? 2021-04-21T11:35:59Z jackdaniel: I think that a keynote sticker is meant to signify the talk as "highlighted" 2021-04-21T11:37:17Z yitzi joined #lisp 2021-04-21T11:38:52Z heisig: flip214: The main difference is that keynote speakers are invited, while other speakers have to submit a high-quality paper to be allowed to present. 2021-04-21T11:38:52Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T11:39:34Z heisig: Of course we try to invite very interesting people, so there is a good chance that these talks will be highlights of the symposium. 2021-04-21T11:39:43Z amb007 joined #lisp 2021-04-21T11:42:01Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T11:43:00Z amb007 joined #lisp 2021-04-21T11:45:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T11:46:08Z amb007 joined #lisp 2021-04-21T11:46:08Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T11:46:59Z amb007 joined #lisp 2021-04-21T11:47:34Z igemnace quit (Quit: WeeChat 3.1) 2021-04-21T11:47:38Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T11:48:25Z jcowan: In addition, keynotes tend to be ephemeral, unless someone transcribes them. If you miss a talk you can read the paper; if you miss a keynote you are SOL. 2021-04-21T11:48:38Z amb007 joined #lisp 2021-04-21T11:50:15Z rodriga joined #lisp 2021-04-21T11:52:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T11:53:43Z amb007 joined #lisp 2021-04-21T11:54:22Z nopf quit (Quit: Lost terminal) 2021-04-21T11:56:42Z kopiyka joined #lisp 2021-04-21T11:56:44Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T11:56:55Z rumbler31 joined #lisp 2021-04-21T11:57:07Z amb007 joined #lisp 2021-04-21T11:59:17Z aartaka_d joined #lisp 2021-04-21T11:59:20Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T12:00:02Z amb007 joined #lisp 2021-04-21T12:01:11Z rumbler31 quit (Ping timeout: 240 seconds) 2021-04-21T12:01:44Z aartaka quit (Ping timeout: 252 seconds) 2021-04-21T12:04:55Z narimiran joined #lisp 2021-04-21T12:05:42Z krid joined #lisp 2021-04-21T12:08:07Z Nilby quit (Ping timeout: 250 seconds) 2021-04-21T12:13:33Z zefram22_ quit (Quit: zefram22_) 2021-04-21T12:14:17Z zefram22_ joined #lisp 2021-04-21T12:15:29Z layerex joined #lisp 2021-04-21T12:22:12Z layerex quit (Remote host closed the connection) 2021-04-21T12:22:50Z layerex joined #lisp 2021-04-21T12:23:35Z thomasb06: the super league raw is over? 2021-04-21T12:23:57Z aartaka joined #lisp 2021-04-21T12:24:01Z klltkr joined #lisp 2021-04-21T12:26:46Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-21T12:36:48Z yitzi quit (Quit: yitzi) 2021-04-21T12:37:12Z yitzi joined #lisp 2021-04-21T12:39:26Z ljavorsk quit (Ping timeout: 240 seconds) 2021-04-21T12:51:53Z splittist: heisig: 'Cyber' or 'Cyper' in Keynote 3? 2021-04-21T12:52:53Z OlCe joined #lisp 2021-04-21T12:55:41Z mrchampion quit (Ping timeout: 240 seconds) 2021-04-21T12:55:59Z paul0 quit (Ping timeout: 260 seconds) 2021-04-21T12:58:34Z mrchampion joined #lisp 2021-04-21T12:59:47Z Bike joined #lisp 2021-04-21T12:59:48Z wsinatra joined #lisp 2021-04-21T13:12:30Z zefram22__ joined #lisp 2021-04-21T13:14:44Z random-nick joined #lisp 2021-04-21T13:14:56Z zefram22_ quit (Ping timeout: 245 seconds) 2021-04-21T13:15:21Z nature joined #lisp 2021-04-21T13:15:26Z zefram22 quit (Ping timeout: 252 seconds) 2021-04-21T13:18:18Z orivej joined #lisp 2021-04-21T13:20:20Z MrtnDk[m]: What is Cyper, splittist ? 2021-04-21T13:20:32Z flip214: a typo, I guess 2021-04-21T13:23:56Z krid quit (Remote host closed the connection) 2021-04-21T13:26:18Z layerex quit (Quit: Leaving) 2021-04-21T13:28:13Z thinkpad quit (Ping timeout: 260 seconds) 2021-04-21T13:29:11Z daphnis quit (Ping timeout: 240 seconds) 2021-04-21T13:29:28Z daphnis joined #lisp 2021-04-21T13:36:17Z matty joined #lisp 2021-04-21T13:37:04Z matty is now known as mister_ms_spooky 2021-04-21T13:37:13Z mister_ms_spooky is now known as mister_m^2 2021-04-21T13:42:27Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-21T13:43:21Z paul0 joined #lisp 2021-04-21T13:43:56Z loke quit (Remote host closed the connection) 2021-04-21T13:44:39Z rogersm quit (Quit: Leaving...) 2021-04-21T13:44:46Z loke joined #lisp 2021-04-21T13:47:18Z splittist: yes (or 'typos') 2021-04-21T13:48:26Z daphnis quit (Ping timeout: 252 seconds) 2021-04-21T13:50:12Z daphnis joined #lisp 2021-04-21T13:50:36Z flip214: (or T '|splittist|:|typos|) 2021-04-21T13:52:15Z yitzi quit (Quit: yitzi) 2021-04-21T13:52:32Z yitzi joined #lisp 2021-04-21T13:55:46Z mrchampion quit (Ping timeout: 245 seconds) 2021-04-21T13:56:34Z thinkpad joined #lisp 2021-04-21T13:59:09Z zefram22 joined #lisp 2021-04-21T14:04:13Z hypercube quit (Quit: WeeChat 3.1) 2021-04-21T14:05:41Z zaquest quit (Quit: Leaving) 2021-04-21T14:06:20Z srhm joined #lisp 2021-04-21T14:06:47Z curtosis joined #lisp 2021-04-21T14:08:05Z cranium_ joined #lisp 2021-04-21T14:10:43Z mrchampion joined #lisp 2021-04-21T14:12:01Z frost-lab quit (Quit: Connection closed) 2021-04-21T14:12:40Z orivej quit (Ping timeout: 252 seconds) 2021-04-21T14:17:13Z nicktick joined #lisp 2021-04-21T14:18:27Z orivej joined #lisp 2021-04-21T14:22:16Z rumbler31 joined #lisp 2021-04-21T14:27:35Z yitzi quit (Quit: yitzi) 2021-04-21T14:27:55Z yitzi joined #lisp 2021-04-21T14:29:02Z zaquest joined #lisp 2021-04-21T14:32:00Z Sheilong joined #lisp 2021-04-21T14:36:34Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-21T14:37:18Z Josh_2 joined #lisp 2021-04-21T14:38:04Z Josh_2: Stupid question time. How do I get the directories within a directory? 2021-04-21T14:38:48Z rumbler31 quit (Remote host closed the connection) 2021-04-21T14:40:50Z cage_ joined #lisp 2021-04-21T14:40:55Z Xach: Josh_2: one way is to list everything and consider everything without a pathname-name and pathname-type to be a directory. but it is not foolproof. 2021-04-21T14:42:14Z Josh_2: so not trivial then 2021-04-21T14:42:56Z yitzi quit (Quit: yitzi) 2021-04-21T14:43:15Z yitzi joined #lisp 2021-04-21T14:43:32Z Josh_2: I think I will try pathname-utils 2021-04-21T14:44:11Z orivej quit (Ping timeout: 240 seconds) 2021-04-21T14:48:19Z yitzi quit (Quit: yitzi) 2021-04-21T14:48:39Z yitzi joined #lisp 2021-04-21T14:52:18Z Josh_2: Turns out it was trivial, uiop:subdirectories 2021-04-21T14:53:52Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-21T14:55:41Z rodriga quit (Ping timeout: 240 seconds) 2021-04-21T14:58:54Z nature: I've been drawn to lisp those past few weeks and I started reading PCL but he advised to use emacs and SLIME for the "true" lisp experience, does SLIMV bring the same experience or is it inferior? 2021-04-21T14:58:55Z orivej joined #lisp 2021-04-21T14:59:08Z curtosis joined #lisp 2021-04-21T14:59:21Z curtosis is now known as curtosis[away] 2021-04-21T14:59:24Z curtosis[away] is now known as curtosis 2021-04-21T14:59:34Z rodriga joined #lisp 2021-04-21T14:59:53Z curtosis is now known as curtosis[away] 2021-04-21T15:00:03Z nature: I really can't use emacs (I don't even know how to close it, to give you an idea of my emacs proficiency) but I am a heavy vi user, hence me asking about SLIMV 2021-04-21T15:01:56Z beach: nature: I believe most people here use Emacs+SLIME, but if you are patient, I am sure some SLIMV user will answer you. 2021-04-21T15:02:07Z MichaelRaskin: … or vlime users 2021-04-21T15:02:16Z beach: Or that. 2021-04-21T15:02:27Z jcowan: or slvme users. :-) 2021-04-21T15:02:31Z curtosis[away] is now known as curtosis 2021-04-21T15:02:50Z nature: haha ok thanks, yeah I am in no rush :D 2021-04-21T15:03:22Z nature: Also on a more generic note, a question only experience can answer, how maintainable is CL? 2021-04-21T15:03:40Z yitzi quit (Quit: yitzi) 2021-04-21T15:04:01Z yitzi joined #lisp 2021-04-21T15:04:38Z nature: I've read quite a bit about the fact that running decades old code is a breeze, it seems too good to be true for someone how wan't even able to build a node project that was unmaintained for 6 months... 2021-04-21T15:04:39Z beach: nature: You mean code written in Common Lisp? That depends a lot on the experience of the person who wrote it. 2021-04-21T15:04:58Z pve_ joined #lisp 2021-04-21T15:05:00Z MichaelRaskin: Much less churn caused by upstream updates, which is great. 2021-04-21T15:05:21Z srandon111 joined #lisp 2021-04-21T15:05:52Z nature: Yes Common Lisp, so if I start writing lisp tomorrow my code will probably be a sore to the eye right? 2021-04-21T15:05:56Z beach: nature: Right, it won't stop working for no particular reason. But whether it can be improved or extended depends on the way it was written in the first place. But that's no different from other languages. 2021-04-21T15:06:31Z beach: nature: Oh, yes! :) And you will notice it yourself next year if you look back on it. 2021-04-21T15:06:43Z beach: nature: But we can help you out to make it more idiomatic. 2021-04-21T15:07:16Z nature: :) 2021-04-21T15:07:59Z Odin-: I think it's relevant here that Common Lisp was originally defined with the explicit intent of making sure existing code in various related but different Lisp implementations could run with the minimum of alterations. 2021-04-21T15:08:16Z pve quit (Ping timeout: 260 seconds) 2021-04-21T15:08:21Z MichaelRaskin: … and of course, if the goal is for the code to be maintainable by _you_, you should not only think in terms of idiomatic, but in terms «how to make the logic of the code compatible with _my_ thinking about the problem in a year?» 2021-04-21T15:09:25Z beach: Right, I assumed that "maintainable" meant that other people could get involved. 2021-04-21T15:09:42Z Odin-: That makes for features that sharply lessen the risk of 'legacy code' being impossible to run, which is somewhat distinct from how maintainable said code is... 2021-04-21T15:09:43Z beach: ... and that assumption could be wrong of course. 2021-04-21T15:10:11Z nature: That's so interesting, I recently read about the importance of "authenticity" in software programming, it seems to be quite the thing in Lisp. 2021-04-21T15:10:35Z beach: nature: What does the term mean? 2021-04-21T15:11:00Z MichaelRaskin: Also the situation of other people getting involved by working tightly together with you on the code is different from other people having to maintain it, hm, reverse-cold-turkey 2021-04-21T15:11:46Z nature: beach: Looking into Lisp for hobby programming :) 2021-04-21T15:12:33Z easye: nature: "authenticity"? Link? [17:12] 2021-04-21T15:12:38Z MichaelRaskin: (… and the situation beach optimises for is more or less sudden immersion into the code by a different experienced Common Lisp programmer who is actually Common Lisp-first programmer — which is unlikely to ever happen in practice unless you are at Ravenpack or so) 2021-04-21T15:13:01Z nature: beach: Authenticity: n.The quality or condition of being authentic, trustworthy, or genuine. 2021-04-21T15:13:19Z easye: MichaelRaskin: heh, there seems to be a number of companies other than RavenPack doing CL now. HRL is interesting. 2021-04-21T15:13:23Z Odin-: nature: That's just moving the question. :p 2021-04-21T15:13:49Z easye: nature: yeah, technical foul. 2021-04-21T15:14:02Z beach: nature: Here is a thing, though, to put what MichaelRaskin said into some perspective. What often happens here is that some newbie decides that nobody else will have to look at the code. 2021-04-21T15:14:03Z beach: But then, that newbie has a problem and submits the code for #lisp participants to read. Then, the first thing that happens is that the newbie is told that the code is incomprehensible to Common Lisp programmers, and it needs to be improved before help can be had. 2021-04-21T15:14:53Z nature: hahaha, I guess it's basically like someone who crafts furniture, he can be authentic or not, I mean it's hard to explain ^^' 2021-04-21T15:15:02Z orivej quit (Ping timeout: 246 seconds) 2021-04-21T15:15:15Z beach: nature: I think I know the usual English meaning of the term. I just couldn't figure out what it meant in the context of programming. 2021-04-21T15:15:28Z MichaelRaskin: Hm yeah, HRL might be large enough 2021-04-21T15:15:42Z easye: nature: I thought you were referring to some specific piece of text wrt. authenticity in programming. It's an interesting precis; I'd like to see the exposition. 2021-04-21T15:15:54Z beach: Me too. 2021-04-21T15:16:10Z Odin-: nature: Well, I don't think there's any programming language community that values inauthenticity in any sense; it's probably more a question of what is meant by 'being authentic' in each. 2021-04-21T15:16:13Z easye: HRL is where stylewarning ended up methinks. Another quilc/qvm group! 2021-04-21T15:17:07Z nature: Basically it was on some imageboard someone asked about the purpose (philosophical) of programming and someone made a lengthy answer about the importance of authenticity, I found it really inspiring 2021-04-21T15:17:48Z MichaelRaskin: Odin-: I would expect some subset of Java community to value inauthencity… 2021-04-21T15:18:10Z easye: MichaelRaskin: Oh, come on. Leave the poor Java people alone. 2021-04-21T15:18:18Z easye: At least they are evolving. 2021-04-21T15:18:19Z nature: I think Golang is also quite like that 2021-04-21T15:18:23Z easye: ;) 2021-04-21T15:18:25Z Odin-: MichaelRaskin: See, while I genuinely thought of making that joke, I don't think it's really representative of reality. :p 2021-04-21T15:19:13Z MichaelRaskin: Odin-: well, communication messed-up beyond any repair does happen in some areas of enterprise 2021-04-21T15:19:31Z easye: At least there is abcl for a given Java programmer to pull herself into the light of the lambda... 2021-04-21T15:19:37Z beach: MUBAR 2021-04-21T15:20:05Z beach: We could use it as a new metasyntactic variable. 2021-04-21T15:20:07Z Odin-: MichaelRaskin: No question about it. I just don't think that's specific to a programming language, or even programming. :p 2021-04-21T15:20:18Z MichaelRaskin: easye: what about the light of being not prohibited to communicate with anyone having at least third-hand experience with the actual problem being solved? 2021-04-21T15:21:08Z jcowan: IMO the claim that code is incomprehensible is not actually correct: it's more like "it's not quite what we expect, so we aren't going to bother with it." 2021-04-21T15:21:08Z MichaelRaskin: Odin-: I would expect Java to have better tooling ecosystem than most alternatives for shipping something that can at least pretend to work. 2021-04-21T15:21:25Z easye: MichaelRaskin: I'd argue that's a "community" problem. 2021-04-21T15:21:51Z easye: Now, all languages are sorta defined by how they are used and evolved by a community. 2021-04-21T15:21:56Z Odin-: jcowan: Most claims of incomprehensibility go like that, in any domain. Most things aren't encrypted. 2021-04-21T15:22:05Z beach: jcowan: Right, or rather "it is going to take more time for me to understand it than I am willing to spend on it". 2021-04-21T15:22:37Z jcowan: Most "bad code" isn't even obfuscated particularly, more like unidiomatic. 2021-04-21T15:22:41Z easye: What's unique to Java, is that it was the first world-historical language to have a community with magnitudes greater of user connected via the interwebs. 2021-04-21T15:22:54Z easye: JavaScript has sorta taken over that role in the last decade. 2021-04-21T15:23:27Z easye: err "world-historical programming language" 2021-04-21T15:23:47Z pve joined #lisp 2021-04-21T15:24:37Z easye: And that "magnitudes-greater" community necessarily has a lot of members who "just don't know better". 2021-04-21T15:24:53Z Odin-: easye: Dunno, I can think of at least two earlier programming languages with a seriously bad rap that were both also designed with an intent to broaden the user base for programming. 2021-04-21T15:25:44Z Odin-: (COBOL and BASIC.) 2021-04-21T15:25:44Z jcowan: Some very old Lisp code is a direct translation from punch cards, which means it typically has only necessary spaces and is wrapped every 72 characters, creating a wall of text. *That* is obfuscated. 2021-04-21T15:26:01Z easye: Odin-: but--I would argue not knowing which ones you are referring to--those languages didn't have 100x as many people "learning/using" as Java in the 2000s 2021-04-21T15:26:46Z pve_ quit (Ping timeout: 240 seconds) 2021-04-21T15:26:59Z jcowan: The idea with Cobol was that managers could read it even if they couldn't write it. 2021-04-21T15:27:01Z daphnis quit (Ping timeout: 245 seconds) 2021-04-21T15:27:03Z easye: And able to share and experiment via the intertubes. There is easily 10x as many choices for a given library in Java in anything else other than JavaScript. 2021-04-21T15:27:12Z jcowan: So it was both code and pseudo-codw. 2021-04-21T15:27:51Z Odin-: easye: Hm. Good point, though I suspect that the ratio of people just picking up programming vs. experienced programmers was stupid high for Basic in the eighties, even in the code that got published in books and magazines. 2021-04-21T15:27:55Z jcowan: easye: Of which between 9 and 10 are unusable. 2021-04-21T15:28:18Z easye read _Compute's Gazette_. And typed in a lot of those programs. 2021-04-21T15:28:35Z Odin-: easye: Don't get me wrong, I'm not trying to say the issue doesn't exist for Java. 2021-04-21T15:29:05Z Odin-: But I think there were previous examples, and definitely later ones. 2021-04-21T15:29:08Z jcowan: I can't be quantitative, but I think Perl and Python have large libraries too. 2021-04-21T15:29:09Z Odin-: Python also springs to mind. 2021-04-21T15:29:30Z luckless_ quit (Remote host closed the connection) 2021-04-21T15:29:49Z easye is kinda ignoring MSFT tooling in his argument. There are a lot of Excel macros with VisualBasic powering trading models... 2021-04-21T15:30:02Z Odin-: Perl is another one of those programming languages explicitly designed for use by non-programmers, actually... 2021-04-21T15:30:18Z jcowan: Yes, spreadsheets have a bug density that would make us feel sick if we actually looked at the code. 2021-04-21T15:30:41Z cranium_: re perl: you mean because it's more of a sysadmin thing or...? 2021-04-21T15:30:48Z easye: jcowan: Odin-: I'd have to crunch some stats, but I subjectively find there to be many more choices for a given Java library than Python or Perl. 2021-04-21T15:31:10Z Odin-: https://www.youtube.com/watch?v=yb2zkxHDfUE 2021-04-21T15:31:10Z easye: CPAN/setuptools have tended to homogenize solutions. 2021-04-21T15:31:19Z cranium_: as in many more libraries to do a certain thing? 2021-04-21T15:31:40Z easye: cranium_: yeah. 2021-04-21T15:31:41Z Odin-: cranium_: Well, because it was specifically designed to be useful for sysadmins, yes. 2021-04-21T15:31:56Z easye: Like look at how many ways there are to deal with JSON in Java vs. another lanauge. 2021-04-21T15:32:40Z nick3000 joined #lisp 2021-04-21T15:32:44Z jcowan: As I said, having many libs to do something doesn't tell you which ones are usable 2021-04-21T15:33:10Z easye: jcowan: no argument there. I'm arguing for something like a sociology of programming languages. 2021-04-21T15:33:21Z jcowan: Perl is a language for programmers with a linguistic background. Fortunately for me, I am one of them. 2021-04-21T15:33:27Z easye: Or an anthropology if you are feeling unking. 2021-04-21T15:33:28Z cranium_: Odin-, I asked because sysadmins are not necessarily the people that spring to mind when we talk about "languages for non-programmers". 2021-04-21T15:33:32Z easye: s/unking/unkind/ 2021-04-21T15:33:37Z nick3000: Hey I am a CL noob, day to day I do C++. Is there any system for user-defined type coercion? I see a coerce function documented, but it doesn't seem overloadable. 2021-04-21T15:33:51Z jcowan: why unkind? "Sociology is anthropology done on Westerners." 2021-04-21T15:33:58Z easye: jcowan: heh. 2021-04-21T15:33:59Z contrapunctus left #lisp 2021-04-21T15:34:03Z easye: Very true. 2021-04-21T15:34:03Z contrapunctus joined #lisp 2021-04-21T15:35:01Z easye: I'd argue that Java was more "global" then any previous language. 2021-04-21T15:35:17Z Bike: nick3000: it is not overloadable. since lisp doesn't have implicit coercions, it makes more sense to just define coercion functions when they are needed 2021-04-21T15:35:20Z contrapunctus left #lisp 2021-04-21T15:35:26Z Bike: well, mostly doesn't have 2021-04-21T15:35:28Z contrapunctus joined #lisp 2021-04-21T15:35:29Z Odin-: cranium_: No, but at the same time you can hardly deny that there's a substantial gap between sysadmins and programmers in terms of how they think about using computers... 2021-04-21T15:35:42Z cranium_: That is definitely true. 2021-04-21T15:35:44Z easye: It's amazing how many companies in the Valley, China, and India have redone the openjdk8 rather than deal with ORCL 'cuz they need it for their biz. 2021-04-21T15:35:47Z nick3000: Bike: Okay thanks. 2021-04-21T15:36:19Z Odin-: easye: I think Java is more visibly so than COBOL used to be. 2021-04-21T15:36:23Z MichaelRaskin: Odin-: you mean sysadmins are forced to have at least some realism? 2021-04-21T15:36:24Z jcowan: Indeed, in experimental psychology much of what we think we know is based on studies with WEIRDos (people from Western, Educated, Industrialized, Rich, Democratic societies). 2021-04-21T15:36:39Z easye: Odin-: I've always considered myself both an admin and a programmer. They tend to reinforce each other, esp. when one deals with embedded development. 2021-04-21T15:37:07Z jcowan: Devops/SRE are designed to bridge that gap 2021-04-21T15:37:26Z easye: jcowan: WEIRDos is an interesting framework. I haven't read the book yet. Worth it? 2021-04-21T15:37:45Z Odin-: MichaelRaskin: Well, yes. Sometimes. At other times, they don't need to understand _how_ computers work to the same extent, so take strange routes. I'm not making a value judgement either way. 2021-04-21T15:37:57Z easye read the _NY Review of Books_ and the AstralCodex writeups of WEIRDos. 2021-04-21T15:38:06Z Lycurgus joined #lisp 2021-04-21T15:39:08Z Josh_2: bit offtopic 2021-04-21T15:39:10Z easye fears he has frayed the boundaries of #lisp topicality to the breaking point, and will shut up for a whilw. 2021-04-21T15:39:37Z Odin-: easye: They wouldn't reinforce each other if they didn't differ to some extent, though. Otherwise they'd just be the same thing twice. :p 2021-04-21T15:39:41Z Odin-: Hrm. 2021-04-21T15:39:54Z Odin-: Good point. 2021-04-21T15:39:57Z Odin- shuts up. 2021-04-21T15:40:23Z nature: Perfect time for me to come back on topic, do anybody has some experience with SLIMV here? :D Is it similar to SLIME or will I miss some things? 2021-04-21T15:40:41Z easye: nature: you will miss Emacs? 2021-04-21T15:40:58Z nature: I don't even know how to close the thing :/ 2021-04-21T15:40:59Z jcowan: http://hci.ucsd.edu/102b/readings/WeirdestPeople.pdf is a very accessible article from Behavior and Brain Sciences, with the added B&BS feature of open peer commentary (which are as twice as long as the article itself) and a final comment by the authors. 2021-04-21T15:41:08Z easye: jcowan: thanks. 2021-04-21T15:41:25Z jcowan: s/commentary/commentaries 2021-04-21T15:41:56Z Odin-: nature: I believe some people get by without editor support at all, so I don't think you _have_ to use emacs. 2021-04-21T15:42:20Z easye can't imagine dealing with git without magit. 2021-04-21T15:42:22Z Lycurgus would wanna use SLY but the world drags one back to SLIME 2021-04-21T15:43:20Z Odin-: In particular, I don't think learning both how to use emacs and Lisp at the same time is what you'd call a shallow learning curve. 2021-04-21T15:43:30Z Lycurgus suggests the SLY author make XREF easy to compete 2021-04-21T15:43:53Z MichaelRaskin: Odin-: true, I prefer Vim without external plugins for writing code, which sometimes includes thousands of lines of Common Lisp 2021-04-21T15:45:27Z nature: Isn't editor support and the possibility to iterate quickly with SLIME one of the main selling point of Lisp? 2021-04-21T15:45:35Z cranium_: There has been talk about development of an Lisp IDE a few days ago. 2021-04-21T15:46:18Z beach: nature: MichaelRaskin's code is very un-idiomatic looking, so you might want to think twice before emulating him. 2021-04-21T15:46:57Z cranium_: Frankly I think the iterative development thing is one of CL's stronger aspects _despite_ Emacs, though I have basically done none of it. 2021-04-21T15:47:19Z beach: nature: He is a good programmer otherwise, in that his code works well. It is just that he refuses to use the tools that make his code idiomatic-looking. 2021-04-21T15:47:54Z Odin-: nature: It's certainly a convenience, yes. But you can do much of the iterative work just through the implementation's REPL, if it comes to that. 2021-04-21T15:49:02Z mister_m` joined #lisp 2021-04-21T15:49:07Z MichaelRaskin: beach: to be fair, all tools that would make my code idiomatic looking are integrated with Emacs that I dislike for more than one reason 2021-04-21T15:49:20Z nature: Are there people doing things the "UNIX way" in the Lisp world? 2021-04-21T15:49:25Z beach: MichaelRaskin: I understand. Just stating the facts. 2021-04-21T15:49:39Z Odin-: nature: That depends on what you mean by "the UNIX way". 2021-04-21T15:49:41Z beach: nature: SLIME helps with a number of things, such as displaying lambda lists of various operators as you type a form. You would want to make sure your tool can do the same. 2021-04-21T15:50:06Z cranium_: what is meant by "the UNIX way"? Lots of small tools? Pipes? Vim? 2021-04-21T15:50:21Z MichaelRaskin: I will happily use Eclector + pretty printer once there is such a combo usable as formatter 2021-04-21T15:50:22Z nature: mostly pipes and small tools yeah 2021-04-21T15:50:36Z beach: nature: Then no. 2021-04-21T15:50:41Z Odin-: nature: What are 'small tools'? 2021-04-21T15:50:54Z Odin-: Small binaries that you run from the shell, then no. 2021-04-21T15:51:01Z nature: grep, fmt, vi, etc... 2021-04-21T15:51:03Z beach: nature: Common Lisp is better with small tools that cooperate using the conventions of Common Lisp inside a single Common Lisp image. 2021-04-21T15:51:04Z Odin-: Small pieces of code that you run from the REPL, sure. 2021-04-21T15:51:37Z OlCe quit (Remote host closed the connection) 2021-04-21T15:51:40Z nature: So the REPL is really the central piece? 2021-04-21T15:51:43Z beach: yes. 2021-04-21T15:51:52Z MichaelRaskin: nature: I sometimes kind of do, but that's when I don't like both Lisp world option and pure-shell option 2021-04-21T15:52:08Z MichaelRaskin: If you want Lisp world, REPL makes infinitely more sense 2021-04-21T15:52:32Z cranium_: nature, I don't think so, as these Unix tools are there to manipulate text ("text is a universal interface"), whereas the idiomatic way in Lisp is to manipulate and express data through Lists (i.e. actual data structures) 2021-04-21T15:52:45Z beach: nature: When you work with Common Lisp, it is most convenient to think of the Common Lisp system as your main environment and to adopt the conventions of that environment. 2021-04-21T15:52:52Z OlCe joined #lisp 2021-04-21T15:53:02Z Odin-: nature: You're not _that_ far off if you think about the REPL as being analogous to the command shell. 2021-04-21T15:53:11Z mister_m^2 quit (Ping timeout: 260 seconds) 2021-04-21T15:53:20Z nature: That makes a lot of sense 2021-04-21T15:53:43Z Odin-: nature: Although, as noted here, Lisp doesn't work only with streams of bytes. 2021-04-21T15:53:48Z MichaelRaskin: Have you ever written a thousand-line shell script that would do something useful correctly? 2021-04-21T15:54:13Z MichaelRaskin: If not, there is surely nothing for you in a mixed flow 2021-04-21T15:54:17Z beach: nature: The Unix way, communicating with sequences of bytes, is usually way too primitive for any serious work, which is why Unix applications tend to be huge monoliths. Common Lisp does not have that problem, because communication can be in the form of complex objects. 2021-04-21T15:54:34Z cranium_: Has CL historically (think Lisp machines / OSs) been just one big environment (i.e. one image in modern parliance) that people did all their computing in? Do some people still do that? 2021-04-21T15:55:04Z beach: cranium_: I should hope so. 2021-04-21T15:56:08Z nature: That's really interesting to grasp, I've been quite puzzled lately on how to reconcile both world, when in facts it's actually a bad idea 2021-04-21T15:56:34Z beach: cranium_: The convenience of being able to just pass a pointer to some complex data structure (and preserving its identity), rather than having to serialize it (and losing its identity) is just so great. 2021-04-21T15:56:40Z Odin-: cranium_: Lisp originated as a more or less interactive language at a time before time sharing was much of a thing, and I think the assumptions have kinda stuck. 2021-04-21T15:57:00Z contrapunctus: beach: I've been thinking about that, actually...like I was imagining a system where communication between composable applications occurs through structured data rather than text...but then it occurred to me - that's exactly what awk is made for 🤔 of course, I know very little awk and have never done a lot with it... 2021-04-21T15:57:03Z Odin-: cranium_: So, yeah, conceptually, that's usually how it's been. 2021-04-21T15:57:18Z MichaelRaskin: For the record, the convenience of being able to enforce copy-able serialisation is also great. 2021-04-21T15:57:39Z cranium_: nature, reading the SHCL github page, its approach seems like a quite natural fit. Have the shell be a CL application and escape to CL at any point. 2021-04-21T15:57:39Z beach: contrapunctus: Structure is not all there is to it though. Like I said, preserving identity is an important aspect too. 2021-04-21T15:58:27Z Odin-: nature: I'm not sure I'd go so far as to say it's a 'bad idea', but I would say that it is in many ways much easier to use Unix land from Lisp land than the other way around. 2021-04-21T15:58:47Z contrapunctus: nature: this might interest you - https://ambrevar.xyz/lisp-repl-shell/index.html 2021-04-21T15:58:50Z mole1000 joined #lisp 2021-04-21T15:58:54Z MichaelRaskin: Both are easy if you cross the border once 2021-04-21T16:00:41Z beach: nature: You might also be interested in sections 1.1 and 1.2 of this document: http://metamodular.com/closos.pdf 2021-04-21T16:01:07Z cranium_: I mean awk still deals primarily with text and structures its data through text object (e.g. entries are separated by literal tabs). IIRC PowerShell of all things has brought some actually structured data into shell environments. 2021-04-21T16:01:25Z Odin-: Why 'of all things'? :p 2021-04-21T16:02:56Z cranium_: Not sure. Or maybe because it's MS. 2021-04-21T16:03:05Z Odin-: Microsoft probably has more people working on that kind of stuff that _aren't_ predisposed to think Unix had everything right than any other OS vendor. 2021-04-21T16:03:06Z thomasb06 quit (Remote host closed the connection) 2021-04-21T16:03:18Z Odin-: (Even the non-corporate ones.) 2021-04-21T16:04:07Z MichaelRaskin: As a huge shell lover, Powershell seems to lose enough ergonomics of shell that I can as well use a programming-first language with REPL. Be it Common Lisp, Julia, or even Python 2021-04-21T16:04:24Z Odin-: The thing is, structured-data shells were one of the things Unix was built in rebellion against. 2021-04-21T16:04:41Z nicktick quit (Ping timeout: 240 seconds) 2021-04-21T16:04:44Z cranium_: With what reasoning? 2021-04-21T16:05:13Z mole1000: I am a little upset about how much I have come to use powershell... I hate that I like it for some reason. 2021-04-21T16:06:08Z nature: All that is very interesting 2021-04-21T16:06:20Z Odin-: cranium_: They were too complex, according to the Unix designers. 2021-04-21T16:06:23Z contrapunctus: beach: I see...my interest is piqued, but I'm embarrassed to say that I don't understand the idea completely. Could you give me an example of a situation where passing a pointer might be preferable? 2021-04-21T16:12:13Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-21T16:12:20Z beach: contrapunctus: Performance is one aspect of it. But also preserving the identity. For example, if you have an information system with different modules presenting or processing (say) people or organizations, you don't want to end up with several copies of such an object. You would want a modification to an object by one module to be automatically reflected in other modules. 2021-04-21T16:12:24Z cranium_: I mean, I can't think of an example, but imagine you have programmatically generated some kind of tree structure (like a html tree). In a Unix world you would need to convert that to html (i.e. text), pass it to some other tool and that other tool has to parse it in again. But I'm not sure what is meant with the "identity" part. 2021-04-21T16:12:54Z cranium_: oh, so basically avoiding redundancy? 2021-04-21T16:13:04Z beach: Yes, copying loses identity, so how you must synchronize different copies. 2021-04-21T16:13:36Z beach: cranium_: It is also not semantically sane. What does it mean to have two copies of a person or an organization in one piece of software? 2021-04-21T16:14:42Z Lycurgus: unix is the default OS 2021-04-21T16:14:48Z Lycurgus: that battle is over 2021-04-21T16:15:01Z Lycurgus: as far as server is concerned 2021-04-21T16:15:11Z beach: Lycurgus: Not to a researcher, fortunately. 2021-04-21T16:15:25Z Lycurgus: oh? 2021-04-21T16:15:36Z xsperry quit 2021-04-21T16:15:44Z Lycurgus: it is sofar as I can tell for researchers a fortiorit 2021-04-21T16:15:46Z cranium_: I mean right now "the battle is over" but who knows what the world looks like in let's say.... 50 years. 2021-04-21T16:15:49Z Lycurgus: *fortiori 2021-04-21T16:16:10Z zefram22__ quit (Ping timeout: 265 seconds) 2021-04-21T16:16:11Z Lycurgus: i remember a trade mag in the early 90s declaring unix dead 2021-04-21T16:16:13Z zefram22 quit (Ping timeout: 260 seconds) 2021-04-21T16:16:23Z beach: Lycurgus: How would progress be possible if researchers accepted the mediocrity of the current situation? 2021-04-21T16:16:58Z splittist: There are many, many people who spend all day in Windows, of course. 2021-04-21T16:17:01Z Lycurgus: well you're taking about forward work 2021-04-21T16:17:14Z beach: Lycurgus: That's my job, yes. 2021-04-21T16:17:49Z contrapunctus: Lycurgus: UNIX was dead even in the eyes of its creators, it would seem, if you look at the Plan 9 papers. 2021-04-21T16:18:01Z Lycurgus: if they're working in research they most likely use that windows machine as a client to a network of unix servers 2021-04-21T16:18:04Z cranium_: You know that quote that goes "tomorrow's unix will be like today's Unix, only cruftier"? I think at some point there's gonna be so much cruft the whole thing won't be feasible anymore. 2021-04-21T16:18:11Z Odin-: Lycurgus: C is the default programming language, too. You're here, so I don't expect you to think that using anything else is pointless. 2021-04-21T16:18:34Z beach: Odin-: Very good point. 2021-04-21T16:18:42Z Lycurgus: Odin - not following 2021-04-21T16:19:04Z Lycurgus: C is the machine lang of this time, if that's what you mean 2021-04-21T16:19:15Z Lycurgus: *c/c++ 2021-04-21T16:19:25Z Lycurgus: oic 2021-04-21T16:19:33Z cranium_: Said differently: The unix model and its assumptions generated contradictions the instant it left the PDP-11 and at some point these are gonna be too much. See https://queue.acm.org/detail.cfm?id=3212479 2021-04-21T16:19:43Z Lycurgus: yes, lisp is one of my preferred langs with prolog and haskell 2021-04-21T16:20:10Z Lycurgus: but I will use java or js or whatever if there's a compelling reason 2021-04-21T16:20:51Z Lycurgus: btw, anybody used cl-react? 2021-04-21T16:20:56Z cranium_: That is to my understanding the canonical approach to choosing a tool. 2021-04-21T16:20:57Z beach: Lycurgus: I think Odin- (and me too) interpreted your Unix thing as meaning that we should all give up and just use it as it is and keep quiet. 2021-04-21T16:20:59Z Odin-: Lycurgus: Unix is the default operating system, so everything has to accommodate its assumptions. That is true. But C is the default programming language, to the extent that ISAs are actually _specifically_ geared towards it, and everything also needs to accommodate its assumptions. Yet you're in an IRC channel geared towards Common Lisp, a language that very much does _not_ follow the same assumptions as C. So clea 2021-04-21T16:20:59Z Odin-: rly you don't think that the fact that those assumptions need to be accommodated mean that they have to be taken as everything that's possible. 2021-04-21T16:21:13Z Lycurgus: that was a misread 2021-04-21T16:21:29Z Lycurgus: i was just reporting the current state of affairs 2021-04-21T16:21:38Z beach: Got it. 2021-04-21T16:22:00Z Odin-: Well, it came into a discussion about alternative ways of operating, so I'll contend it was a reasonable read. :p 2021-04-21T16:23:08Z Lycurgus: like a lot of people I'm working on a lisp OS, an AI OS actually 2021-04-21T16:23:23Z Lycurgus: using the 3 langs mentioned 2021-04-21T16:23:41Z MichaelRaskin: Linux, is quite unassuming about what you do on top, os even if you run Linux for drivers, you can run a single Lisp image on top and do everything there 2021-04-21T16:23:51Z Odin-: Linux is not Unix. 2021-04-21T16:23:56Z Odin-: Like, at _all_. 2021-04-21T16:23:59Z MichaelRaskin: Maybe FFI a thing here and there when needed 2021-04-21T16:24:19Z Lycurgus: in my position of course I meant unix the concept which includes linux 2021-04-21T16:24:26Z Odin-: Even the Linux distros are getting further and further away from anything you could sensibly call Unix-y. 2021-04-21T16:24:51Z Lycurgus: how is that? 2021-04-21T16:24:55Z MichaelRaskin: The part that goes away from Unix is pretty cheap to throw away 2021-04-21T16:25:17Z Lycurgus: at this point linux essentially defines unix 2021-04-21T16:25:26Z Odin-: They're picking up huge pieces of what Unix was built as a contrast to. 2021-04-21T16:25:28Z nature: I would argue against that :) 2021-04-21T16:25:44Z cranium_: I mean you're gonna have to do things via Linux syscalls and conform to e.g. its filesystem semantics, so while it isn't "assuming", it definitely imposes certain ways of doing things. 2021-04-21T16:25:44Z Lycurgus: so that the latter only is relevant to the former, the thing that actually worked out 2021-04-21T16:26:33Z beach: Odin-: There is still a file system and the concept of a process. 2021-04-21T16:26:47Z MichaelRaskin: cranium_: you probably should have a partition with a filesystem it expects, but if you want to manage a raw block device directly, you are quite welcome 2021-04-21T16:26:52Z Lycurgus: s/essentially/practically - pragmatically/ 2021-04-21T16:27:34Z cranium_: Odin-, are you referring to systemd, wayland and such things? 2021-04-21T16:27:39Z Odin-: beach: Sure. But file systems in particular are something that Unix decided didn't need to be rebelled against. 2021-04-21T16:27:47Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-21T16:28:25Z beach: Odin-: I don't understand. Unix was meant to be an "implementable subset of Multics" and Multics did not have a file system. 2021-04-21T16:28:45Z beach: Multics didn't distinguish between primary and secondary memory. 2021-04-21T16:29:35Z Odin-: cranium_: They are part of it, but there's also a lot of stuff about how the kernel works. Mind you, they do keep the 'everything is a file, which is a sequence of bytes' nonsense... 2021-04-21T16:30:12Z daphnis joined #lisp 2021-04-21T16:30:45Z Odin-: beach: Uh, what? As I understood it, Multics was the first system to have a hierarchical file system. 2021-04-21T16:30:51Z beach: Odin-: Linux also still has the concept of a kernel, which Multics did not. 2021-04-21T16:31:07Z cranium_: beach, what did the memory thing mean in practice? That everything in RAM (which I assume _did_ still exist, von Neuman and so on) was persisted on the harddisk? 2021-04-21T16:31:24Z beach: Odin-: You are wrong. It was a hierarchy of "segments" which are like vectors rather than files. 2021-04-21T16:32:26Z Odin-: beach: Considering that Unix considers files to be byte vectors, I don't see how you'd distinguish that from a Unix file system. 2021-04-21T16:32:59Z beach: Odin-: `read' as opposed to `a[i]'. 2021-04-21T16:33:15Z cranium_: I suppose it's about what's the interface semantics presented to the programmer. 2021-04-21T16:33:19Z beach: One is a sequence of bytes, the other one is a vector with random access. 2021-04-21T16:33:45Z beach: cranium_: Not quite, because of virtual memory. Primary memory was more like a cache for the system-wide hierarchy of segments. 2021-04-21T16:34:22Z Odin-: beach: Where would `mmap` fall? 2021-04-21T16:34:32Z OlCe quit (Ping timeout: 265 seconds) 2021-04-21T16:34:34Z beach: cranium_: Yes, exactly. Secondary memory did not have any different semantics. 2021-04-21T16:35:19Z Odin-: ... all you've done is convince me I need to go find a Multics emulator now. :p 2021-04-21T16:35:31Z beach: Odin-: mmap is a kludge to make something similar, and the Linux dynamic linker is a pale imitation of the Multics linker. 2021-04-21T16:35:41Z aap: there's a public multics you can get an account on 2021-04-21T16:35:52Z aap: https://ban.ai/multics/ 2021-04-21T16:36:45Z abhixec quit (Quit: leaving) 2021-04-21T16:37:00Z Odin-: Interesting. 2021-04-21T16:37:29Z aap knows embarassingly little about multics... 2021-04-21T16:37:35Z MichaelRaskin: Technically speaking, it is glibc dynamic linker 2021-04-21T16:37:38Z attila_lendvai joined #lisp 2021-04-21T16:37:38Z attila_lendvai quit (Changing host) 2021-04-21T16:37:38Z attila_lendvai joined #lisp 2021-04-21T16:37:45Z beach: MichaelRaskin: Thanks! 2021-04-21T16:38:04Z MichaelRaskin: In the sense that one could have things linked with a different one side-by-side on the same Linux system 2021-04-21T16:39:27Z rumbler31 joined #lisp 2021-04-21T16:39:31Z Odin-: beach: So your argument is that Multics doesn't have the first hierarchical file system, because file systems are less featureful than what Multics had? 2021-04-21T16:41:04Z beach: Odin-: It had a hierarchical system, but not of files, because there was not the concept of a file. Just one type of memory. Someone implemented a "file system" on top of the Multics segment hierarchy, just to please people who wanted something worse. 2021-04-21T16:41:26Z beach: `vfile' I think it was called. 2021-04-21T16:42:36Z varjagg joined #lisp 2021-04-21T16:43:32Z rumbler31 quit (Ping timeout: 240 seconds) 2021-04-21T16:43:35Z beach: Furthermore, there was no kernel. Just a bunch of executable segments that could be replaced individually without taking the system down. 2021-04-21T16:44:02Z xsperry joined #lisp 2021-04-21T16:47:26Z beach: Odin-: So there were no system calls OPEN/CLOSE/READ/WRITE. 2021-04-21T16:47:55Z beach: Odin-: You would just obtain a pointer to the beginning of a segment, and start using it as a vector of bytes. 2021-04-21T16:48:20Z beach: Pointers where in two parts, by the way segment-number,offset. 2021-04-21T16:49:20Z beach: Obtaining a pointer to a segment converted a path in the hierarchy to a segment number, but all that was transparent. The programmer and the user always dealt with segments by name. 2021-04-21T16:50:28Z beach: Now, Multics still had the concept of a process, because the address space was still too small. 18 bits for the segment number and 18 bits for the offset. 2021-04-21T16:51:13Z beach: And I don't think the Multics model would be a good one for a new operating system. Just better than Unix and Linux ever were. 2021-04-21T16:51:21Z vutral_ joined #lisp 2021-04-21T16:52:22Z aap: hm, aren't full pointers 72 bits? 2021-04-21T16:53:12Z beach: Some things were 72 bits, but I forget the details. 2021-04-21T16:53:15Z OlCe joined #lisp 2021-04-21T16:53:51Z beach: My (admittedly small) family just announced that dinner is served, so I am off for today. I'll be back tomorrow (UTC+2). 2021-04-21T16:55:49Z jcowan: I object to the claim that Unix pipes are "streams of bytes"; it is true only in the sense that a Lisp pair is a byte array. 2021-04-21T16:56:39Z Lycurgus quit (Quit: Exeunt) 2021-04-21T16:57:06Z nature: Bye beach thanks for the very interesting insights! 2021-04-21T16:59:07Z jcowan: Also, the Multics supervisor was very much like the Linux kernel: it was mapped into the same virtual addresses in every process (its stack was mapped into different physical memory, of course), and it could not be replaced except by rebooting. 2021-04-21T16:59:42Z imode joined #lisp 2021-04-21T17:00:21Z mister_m` quit (Ping timeout: 245 seconds) 2021-04-21T17:01:01Z jcowan: (Indeed, you needed a special program to overwrite the boot media; the supervisor was not addressable as a file) 2021-04-21T17:04:05Z semz: "streams of bytes divided into often small but technically unbounded logical sections by 10s with an often implicit encoding"? 2021-04-21T17:04:56Z karlosz joined #lisp 2021-04-21T17:05:52Z semz: I'm being snarky and think I understand what you're getting at, but the lack of explicit structure is one of the biggest problems imo 2021-04-21T17:08:41Z mindCrime joined #lisp 2021-04-21T17:10:50Z nij is now known as Guest73981 2021-04-21T17:10:53Z nij joined #lisp 2021-04-21T17:11:28Z hypercube joined #lisp 2021-04-21T17:14:03Z yitzi quit (Quit: yitzi) 2021-04-21T17:14:18Z yitzi joined #lisp 2021-04-21T17:19:50Z srhm quit (Quit: Konversation terminated!) 2021-04-21T17:32:32Z nij quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-21T17:39:04Z narimiran quit (Ping timeout: 252 seconds) 2021-04-21T17:39:18Z vs^ joined #lisp 2021-04-21T17:41:38Z narimiran joined #lisp 2021-04-21T17:44:34Z zefram22 joined #lisp 2021-04-21T17:45:43Z Guest73981 quit (Read error: Connection reset by peer) 2021-04-21T17:49:46Z jcowan: One of the great breakthroughs in Multics was the provision of byte-stream files, which are closely related to Unix byte-stream pipes. All OSes before that, and many afterwards, had per-application formats, which made interoperability difficult or impossible. 2021-04-21T17:50:57Z sauvin quit (Remote host closed the connection) 2021-04-21T17:51:02Z sauvin_ joined #lisp 2021-04-21T17:51:29Z jcowan: McIlroy's file structure test: write a program that copies itself to another file, run the program, and compile the copy. Most pre-UNIX OSes couldn't do that without introducing an expert who knew how to convert sequential output to whatever the compiler expects. 2021-04-21T17:55:29Z noobineer1 quit (Read error: Connection reset by peer) 2021-04-21T17:59:16Z flip214: nature: slimv and vlime user, vlime in the past years. if you need help, just ask. 2021-04-21T17:59:23Z yitzi quit (Quit: yitzi) 2021-04-21T17:59:42Z yitzi joined #lisp 2021-04-21T18:01:38Z Xach: hmm, does anyone have any references to the serialize-to-fasl trick? 2021-04-21T18:02:11Z Xach: I seem to remember a technique like compiling a file consisting only of (defvar *var* #.*var*) or some such thing. 2021-04-21T18:02:21Z Xach: I'm having trouble finding it again. 2021-04-21T18:03:14Z karlosz quit (Quit: karlosz) 2021-04-21T18:04:01Z Bike: i don't know what there is to explain beyond that? maybe that you have to have make-load-form defined 2021-04-21T18:04:29Z Xach: Hmm 2021-04-21T18:05:50Z gaqwas joined #lisp 2021-04-21T18:05:51Z gaqwas quit (Changing host) 2021-04-21T18:05:51Z gaqwas joined #lisp 2021-04-21T18:06:57Z nij joined #lisp 2021-04-21T18:10:28Z luckless joined #lisp 2021-04-21T18:16:11Z DHARMAKAYA joined #lisp 2021-04-21T18:18:37Z klltkr joined #lisp 2021-04-21T18:20:17Z sauvin_ quit (Read error: Connection reset by peer) 2021-04-21T18:21:07Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-21T18:24:42Z kevingal: I've noticed a reference or two to "non-idiomatic" lisp code, what does that mean to y'all? Overuse of imperative / stateful programming style? 2021-04-21T18:25:45Z kevingal: I'm curious what Common Mistakes are made by new Common Lisp programmers. 2021-04-21T18:29:47Z yitzi quit (Quit: yitzi) 2021-04-21T18:29:56Z mister_m` joined #lisp 2021-04-21T18:31:43Z notzmv quit (Ping timeout: 252 seconds) 2021-04-21T18:32:29Z jasom: kevingal: using assignment functions instead of their setf form (e.g. rplacd instead of (setf (cdr ...))); assigning to a special without first having a defvar/defparameter for it; having special variables without *earmuffs*; improper indentation of code; putting closing parentheses on their own line 2021-04-21T18:32:51Z semz: kevingal: I wouldn't say being imperative is unidiomatic for CL. For Scheme maybe. Typical unidiomatic code by beginners for me would be overuse of macros (especially for things that could easily be functions) and reimplementing some of the (admittedly extensive) standard facilities. 2021-04-21T18:33:47Z ebrasca quit (Read error: Connection reset by peer) 2021-04-21T18:34:35Z jasom: kevingal: Then there's the "learned lisp in Uni" errors: using symbol plists instead of hash-tables; using tail-recursion instead of looping constructs; putting everything in cl-user. 2021-04-21T18:36:18Z nij: Oooh! I'm making many newbs mistakes. 2021-04-21T18:36:23Z kevingal: Interesting, thanks. Why is the setf form preferred to the likes of rplacd? 2021-04-21T18:36:38Z nij: jasom: do you mean I should use looping constructs but not tail-recursion? 2021-04-21T18:37:06Z nij: Also.. why do we need to defvar/defparameter in the first place? 2021-04-21T18:38:19Z jasom: kevingal: mainly because it's more obvious that (setf (cdr x)) is the mutator for (cdr x); rplacd predates generalized references 2021-04-21T18:39:02Z jasom: kevingal: you'll notice there isn't a "sethash" just (setf (gethash...)) 2021-04-21T18:39:38Z zefram22 quit (Quit: zefram22) 2021-04-21T18:40:03Z jasom: nij: you should use what is most clear to represent the problem. Going through contortions to turn iterative code into tail-recursion is not idiomatic. Plus CL makes no guarantees about elminating tail-calls (and dynamic binding can make it harder to visually identify what is and isn't a tail-call) 2021-04-21T18:40:03Z zefram22 joined #lisp 2021-04-21T18:40:52Z jasom: nij: you need defvar/defparameter because (setf *foo* 3) is ill-defined code; most implementations will just assume that *foo* is supposed to be special, but it's not guaranteed. Plus the declaration allows for dynamic-binding in a LET form which can be very handy 2021-04-21T18:41:28Z ebrasca joined #lisp 2021-04-21T18:42:41Z jasom: speaking of dynamic bindings another non-idiomatic form is: (let ((old-foo *foo*)) (setf *foo* 3) (unwind-protect (...) (setf *foo* old-foo)) instead of (let ((*foo* 3)) ...) 2021-04-21T18:42:57Z nij: jasom: yeah.. lisp does warn me when I setf right away. But it always worked for me.. when will it crash and why is it bad? 2021-04-21T18:43:20Z nij: (setf a 1) => 1 2021-04-21T18:43:24Z Bike: implementations don't have to support that 2021-04-21T18:43:28Z nij: (let ((b 3)) (+ a b)) => 4 2021-04-21T18:43:33Z Bike: most of them do, but relying on that makes your code nonconforming 2021-04-21T18:43:47Z nij: Oh, I see. It is not the standard. 2021-04-21T18:44:00Z Bike: also, stylistically, declaiming a variable special is much better than just using it immediately 2021-04-21T18:44:01Z jasom: nij: that has 2 non-idiomatics for the price of 1; special variables should have *earmuffs* on their names 2021-04-21T18:44:16Z Bike: variables showing up with no definition is confusing to the reader 2021-04-21T18:44:36Z nij: I see. 2021-04-21T18:44:44Z jasom: nij: (defvar x) (let ((x 1) (y 2)) ...) ;; the bindings for x and y are very different due to x being declared special 2021-04-21T18:45:23Z kevingal: jasom: makes sense, rplacd has always seemed like a horrendous name to me. Not sure if 'car' and 'cdr' seem less bad only because I've gotten used to them. 2021-04-21T18:46:12Z nature: flip214: Thanks! My initial question was if I am going to lose much by straying away from the standard emacs+SLIME setup, since I am really confortable with vi-like bindings? 2021-04-21T18:46:49Z jasom: kevingal: If I had to guess, the name is because there was some machine with 6-bit characters and 36-bit words so 6 letters would fit in a single machine word 2021-04-21T18:46:51Z kevingal: I wasn't aware that CL didn't guarantee tail-call optimisation! 2021-04-21T18:47:28Z nij: If not emacs+SLIME, I'm not sure if there's any good IDE for common-lisp. 2021-04-21T18:47:30Z jasom: kevingal: most implementations do it most of the time. gnu clisp won't do it when interpreting code, only with compiled code. 2021-04-21T18:47:40Z kevingal: Ya, I no longer question historical design decisions, I just accept them, ha. 2021-04-21T18:47:45Z jasom: nature: I'm a lifelong vim user; I recommend evil-mode on emacs 2021-04-21T18:48:21Z slyrus joined #lisp 2021-04-21T18:48:44Z jasom: nature: I hear slimv (a slime-like vim plugin) is pretty good these days; it was completely unusable when I first used it so I just got emacs setup the way I wanted it. 2021-04-21T18:48:49Z nij: I started with vim and ended up with evil-mode. It will take you some time to get used to emacs.. but it'd worth it (cuz it's lisp :D)! 2021-04-21T18:49:14Z jasom: nature: literally the only thing you need to know that's emacs specific once you get setup with evil-mode is "control-g instead of escape" 2021-04-21T18:49:46Z jasom: nature: (that's for getting out of weird dialogs; escape still exits insert mode like normal) 2021-04-21T18:49:51Z nij: jasom: it'd be a little bit intimidating if nature just wants to play with lisp. 2021-04-21T18:50:13Z nij: entering emacs is somehow hard in that it takes time to get used to it 2021-04-21T18:50:16Z jasom: for just playing with lisp, edit in vim, use emacs/slime as your repl and just mouse around 2021-04-21T18:50:28Z jasom: I did that for 5 years 2021-04-21T18:50:28Z nij: I was a bit unhappy that slime/sly is almost exclusive for emacs user.. 2021-04-21T18:51:26Z nij: Btw, I'm amazed after I macroexpand-1 some setf form.. 2021-04-21T18:51:30Z nature: It felt a bit "overkill" to use emacs just for lisp, thanks for the recom tho, I might give a shot to evil mode then 2021-04-21T18:51:44Z nij: But I cannot find its source. Not even with `M-x sly-edit-definition`. 2021-04-21T18:51:59Z Bike: the source of macroexpand-1? 2021-04-21T18:52:08Z jasom: nature: it felt that way for me too for a bit; I was using rlwrap on sbcl. It was a *huge* improvement to just use the SLIME repl and nothing else from emacs 2021-04-21T18:52:11Z Xach: that is why many people use emacs for filesystem management, reading mail, reading usenet, taking notes, managing their calendar, chatting on irc...it's a little bit wasteful to use it just for lisp hacking. 2021-04-21T18:52:55Z orivej joined #lisp 2021-04-21T18:53:10Z nij: I'd say vimmer mindset and emacser mindset are quite different. 2021-04-21T18:53:26Z nij: Dunno if I can persuade the my past self if not deceiving him! 2021-04-21T18:53:36Z nij: Bike: oh, no I mean the source of setf. 2021-04-21T18:53:51Z jasom: nij: http://www.lispworks.com/documentation/HyperSpec/Body/m_defi_3.htm says a lot about the inputs to the SETF macro 2021-04-21T18:53:53Z Bike: can you get the source of other standard functions? 2021-04-21T18:54:17Z nij: But really, I think what truly makes emacs stands out is and only is (its great community + LISP). 2021-04-21T18:54:29Z nij: Bike: Can't we :O?!?! 2021-04-21T18:54:36Z nature: Okay thanks :) 2021-04-21T18:54:46Z Bike: i'm just wondering if your implemenation's source isn't hooked in properly 2021-04-21T18:55:03Z jasom: Well operating systems are only as good as their applications and the emacs community is what writes the applications for the emacs OS. Now with evil-mode it has a good editor too :) 2021-04-21T18:55:43Z nij: Oh I see Bike.. hmm lemme the message again. 2021-04-21T18:56:37Z kagevf: I've been using vim since 2011, love it, use its emulation plugins in other editors, but I use emacs for the last 18 months to take notes and code Lisp ... I just use vanilla emacs .... your muscle memory eventually catches up 2021-04-21T18:56:43Z nij: Oh no apparently not.. it says "/home/christophe/..." doesn't exist. 2021-04-21T18:56:50Z nij: I'm not christophe by the way. 2021-04-21T18:56:57Z Bike: that's pretty weird. 2021-04-21T18:57:16Z nij: I'm on doomemacs.. this is the price to pay for my laziness! 2021-04-21T18:57:27Z Xach: nij: (sb-ext:set-sbcl-source-location "/path/to/sbcl/sources") might help 2021-04-21T18:57:41Z nij: kagevf: yeah! me too! org-mode hooked me in the first place 2021-04-21T18:57:53Z kagevf: also, I like the fact that emacs keybindings work in any context - minibuffer, dired, slime repl ... the only caveat being that a mode can over-write it, but in general the keybindings are very consistent, even compared to vim 2021-04-21T18:57:59Z grnman_ joined #lisp 2021-04-21T18:58:06Z zefram22 quit (Ping timeout: 240 seconds) 2021-04-21T18:58:34Z nij: Vim is great cuz it's minimal~ 2021-04-21T18:58:57Z kagevf: nij: I started with org mode first, and that was great for getting used to emacs, so a few months later when I started learning Lisp I was already comfortable with emacs ... worked out well, I think :) 2021-04-21T18:58:58Z nij: I got hooked to vim because of that. And then I discovered even more minimal editor, like vi. 2021-04-21T18:59:11Z nij: And that's the point I discard minimalism and embraced emacs. 2021-04-21T18:59:45Z nij: kagevf: pretty similar here ! And then I discovered lisp is the most elegant lang. Doomed, fell in love! 2021-04-21T19:00:04Z nature: I mostly use vi tho ^^' But I suppose I'll have to give in to emacs in order to get some "serious" coding 2021-04-21T19:00:57Z nij: Vi/Vim/Nvim are nice, and with enough skills you can do a lot. But... but .. it's not lisp. 2021-04-21T19:01:33Z kagevf: nij nature: I think emacs has great support for editing sexps ... this has some good info: http://cl-cookbook.sourceforge.net/emacs-ide.html 2021-04-21T19:02:07Z Josh_2: TIL that special variables should be earmuffed 2021-04-21T19:02:47Z nij: Xach: Ah, that might be the reason. I didn't compile sbcl myself. So no source code.. Maybe I should do that. 2021-04-21T19:03:15Z nij: But it seems that you're indicating I should look for the source for setf in sbcl. I will do that. 2021-04-21T19:03:16Z daphnis quit (Ping timeout: 245 seconds) 2021-04-21T19:03:26Z nij: Is it the case that every cl implementation has different definition of setf? 2021-04-21T19:04:02Z boogsbunny quit (Ping timeout: 240 seconds) 2021-04-21T19:04:31Z MichaelRaskin: I would believe so 2021-04-21T19:04:31Z walex quit (Ping timeout: 260 seconds) 2021-04-21T19:05:44Z Krystof: nij: I am christophe, although if you are using Debian I am not christophe any more 2021-04-21T19:07:16Z nij: Lol you serious? 2021-04-21T19:07:26Z nij: I'm using arch. You are that christophe? 2021-04-21T19:08:13Z Krystof: I don't know! Possibly not :) 2021-04-21T19:08:32Z Krystof: If you're using an x86-64 binary downloaded from SourceForge, then yes. Otherwise no. 2021-04-21T19:08:46Z Krystof: And this doesn't particularly help your actual problem, but "hi" anyway 2021-04-21T19:09:15Z nij: "hi"! I was about to yell "What a small world!" 2021-04-21T19:09:24Z nij: and I realize.. yeah of course, this is the world about lisp. 2021-04-21T19:09:29Z Bike: if you installed sbcl from pacman it should have sources in in /usr/share/sbcl-source 2021-04-21T19:09:53Z mole1000: Yeah you are figuratively in a small world right now 2021-04-21T19:10:27Z nij: mole1000: that's great. I always like smaller world. 2021-04-21T19:10:41Z nij: The actual size of the real world has been more and more scary for me. 2021-04-21T19:16:11Z shka_ quit (Ping timeout: 240 seconds) 2021-04-21T19:17:36Z vs^ quit 2021-04-21T19:27:15Z notzmv joined #lisp 2021-04-21T19:28:36Z daphnis joined #lisp 2021-04-21T19:28:46Z CrashTestDummy3 joined #lisp 2021-04-21T19:30:24Z curtosis joined #lisp 2021-04-21T19:31:35Z CrashTestDummy2 quit (Ping timeout: 246 seconds) 2021-04-21T19:41:42Z mole1000_ joined #lisp 2021-04-21T19:42:26Z mole1000 quit (Ping timeout: 245 seconds) 2021-04-21T19:43:40Z p_l: anyone knows if weblocks is still in working shape? 2021-04-21T19:44:27Z Shinmera: I know someone revived it 2021-04-21T19:44:35Z sveit: hi. in Haskell (and C++) there is support for so-called "constructor elision". This means that if one function allocations a structure, and the values from that structure are immediately extracted, the structure is never allocated. Will any of the compilers do this (or can they be coaxed to)? 2021-04-21T19:44:36Z Shinmera: But don't know what the canonical url for that is 2021-04-21T19:44:54Z Josh_2: the -p naming convention is for functions that return either t or nil right? I shouldn't use if I return t or signal a condition? 2021-04-21T19:45:12Z Shinmera: sveit: if you inline the constructor for a structure you can declare it dynamic extent in SBCL at least. 2021-04-21T19:45:41Z Shinmera: Josh_2: -p is for predicates. They may also return a generalised boolean. 2021-04-21T19:45:48Z p_l: Generally considering using it because I need to build a few apps that could be web based and I need something quick and dirty to get UI working... and I'm not great at web uis 2021-04-21T19:45:51Z Shinmera: Josh_2: What you're thinking of is usually a check-* function. 2021-04-21T19:45:57Z Josh_2: okay coolio 2021-04-21T19:46:32Z Josh_2: What do you mean by a 'generalized boolean' ? 2021-04-21T19:46:57Z curtosis quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-21T19:47:16Z Shinmera: clhs glossary/generalized boolean 2021-04-21T19:47:16Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/26_glo_g.htm#generalized_boolean 2021-04-21T19:49:43Z nature: p_l: https://github.com/40ants/weblocks/ is the new fork to my knowledge 2021-04-21T19:50:27Z nij: clhs knowledge 2021-04-21T19:50:27Z specbot: Couldn't find anything for knowledge. 2021-04-21T19:50:44Z Josh_2: okay thought so 2021-04-21T19:53:36Z DHARMAKAYA joined #lisp 2021-04-21T19:57:07Z Lord_of_Life_ joined #lisp 2021-04-21T19:57:31Z sveit: Shinmera: thanks! is there any chance that the dynamic-extent can be made to propagate to the fields of the structure as well? 2021-04-21T19:57:49Z sveit: *slots* 2021-04-21T19:58:29Z Bike: sveit: http://sbcl.org/manual/#Dynamic_002dextent-allocation explains how it works in detail. in short, it does propagate i think. 2021-04-21T19:59:02Z krjli joined #lisp 2021-04-21T20:00:06Z Lord_of_Life quit (Ping timeout: 240 seconds) 2021-04-21T20:00:14Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-21T20:00:16Z sveit: thanks. this is very cool, SBCL is incredible. 2021-04-21T20:01:22Z nij left #lisp 2021-04-21T20:01:48Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-21T20:01:52Z sveit: so what remains unclear is if I have a function returning a struct, and I declare a variable it is bound to dynamic-extent, will its result get stack allocated? 2021-04-21T20:02:15Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-21T20:02:34Z sveit: that seems almost impossible in a dynamic language... 2021-04-21T20:02:59Z sveit: assuming the struct has an inlinable constructor of course 2021-04-21T20:03:05Z Bike: i don't think it will 2021-04-21T20:03:07Z mole1000_ quit (Quit: Leaving) 2021-04-21T20:03:07Z Bike: maybe if it's inlined? 2021-04-21T20:03:16Z Bike: the function returning a struct, i mean 2021-04-21T20:07:54Z jasom: be aware that dynamic-extent allocation has a fairly small effect on runtime thanks to the efficiency of SBCL's nursery collector 2021-04-21T20:08:56Z Shinmera: Depends. It can be well worth it to avoid triggering gcs. 2021-04-21T20:08:56Z cranium_ quit (Quit: Leaving) 2021-04-21T20:11:17Z scymtym quit (Ping timeout: 250 seconds) 2021-04-21T20:11:42Z jcowan: Tail call optimization: SBCL, CMUCL, CCL, Allegro, Lispworks; Self-tail-call optimization: CLISP (bytecode compiler only), ECL, GCL. Neither: ABCL. 2021-04-21T20:12:38Z karlosz joined #lisp 2021-04-21T20:14:32Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-21T20:14:54Z gumman quit (Read error: Connection reset by peer) 2021-04-21T20:15:21Z gumman joined #lisp 2021-04-21T20:22:56Z Josh_2: can't use methods on conditions :( 2021-04-21T20:23:08Z Josh_2: well thats vague, I mean can't dispatch on conditions 2021-04-21T20:24:09Z Oddity- joined #lisp 2021-04-21T20:25:32Z p_l: nature: thanks :) 2021-04-21T20:25:48Z Bike: you should be able to specialize on condition classes, Josh_2 2021-04-21T20:26:11Z ikrabbe|2 quit (Ping timeout: 245 seconds) 2021-04-21T20:27:01Z narimiran quit (Ping timeout: 245 seconds) 2021-04-21T20:27:22Z Mandus: nature: here's another vim/slimv-person lurking around. I do a fair bit of hobby-programming in that envir and i suits me well (and I do all my paid work in vim too, but that's in other languages). 2021-04-21T20:27:45Z Oddity quit (Ping timeout: 258 seconds) 2021-04-21T20:28:11Z Josh_2: Bike: if I use something like find-class? 2021-04-21T20:28:50Z Bike: that doesn't seem directly related, but yeah, you can probably use find-class on condition types 2021-04-21T20:29:12Z Bike: the standard is a little vague on this point, but i don't think any actual implementation makes condition types not be classes 2021-04-21T20:29:44Z Shinmera: What you can't specialise conditions on is initialize-instance. 2021-04-21T20:29:50Z Shinmera: well, you can, but it won't do anything. 2021-04-21T20:29:54Z Shinmera: at least not on sbcl 2021-04-21T20:30:13Z DHARMAKAYA joined #lisp 2021-04-21T20:30:20Z Josh_2: Yep seems I'm just rarted 2021-04-21T20:30:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T20:31:08Z amb007 joined #lisp 2021-04-21T20:35:12Z phoe: all implementations implement conditions as classes 2021-04-21T20:35:17Z ikrabbe|2 joined #lisp 2021-04-21T20:35:21Z phoe: and all except SBCL use standard-objects 2021-04-21T20:35:26Z akoana joined #lisp 2021-04-21T20:36:01Z phoe: (where "all except SBCL" means CCL, ECL, Clasp, ABCL, CLISP, LispWorks, and ACL) 2021-04-21T20:36:11Z phoe: (and "all" means the above plus SBCL) 2021-04-21T20:36:47Z phoe: there's my ticket on SBCL that proposes adding initialize-instance support to condition classes, but it's not solved 2021-04-21T20:37:05Z threenuc joined #lisp 2021-04-21T20:37:40Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T20:37:47Z amb007 joined #lisp 2021-04-21T20:37:54Z Josh_2: I had a smooth brain moment when and made a mistake naming the class in my defmethod 2021-04-21T20:38:18Z phoe: actually (defmethod foo ((thing condition) ...) ...) should work just fine 2021-04-21T20:38:29Z phoe: same with condition subclasses 2021-04-21T20:41:34Z vutral_ quit (Quit: Connection closed for inactivity) 2021-04-21T20:44:49Z rodriga quit (Ping timeout: 252 seconds) 2021-04-21T20:44:49Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T20:45:54Z bitmapper joined #lisp 2021-04-21T20:46:38Z amb007 joined #lisp 2021-04-21T20:49:46Z hypercube quit (Quit: WeeChat 3.1) 2021-04-21T20:50:26Z pve quit (Quit: leaving) 2021-04-21T20:58:55Z daphnis quit (Ping timeout: 265 seconds) 2021-04-21T20:59:14Z cage_ quit (Quit: Leaving) 2021-04-21T21:00:52Z zzappie joined #lisp 2021-04-21T21:01:51Z karlosz quit (Quit: karlosz) 2021-04-21T21:02:12Z gaqwas quit (Ping timeout: 252 seconds) 2021-04-21T21:02:38Z Gromboli8 joined #lisp 2021-04-21T21:03:15Z zefram22 joined #lisp 2021-04-21T21:04:09Z DHARMAKAYA quit (Ping timeout: 250 seconds) 2021-04-21T21:04:32Z Gromboli quit (Ping timeout: 240 seconds) 2021-04-21T21:04:33Z Gromboli8 is now known as Gromboli 2021-04-21T21:05:42Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T21:05:47Z anticrisis joined #lisp 2021-04-21T21:05:57Z amb007 joined #lisp 2021-04-21T21:06:10Z theothornhill joined #lisp 2021-04-21T21:07:57Z karlosz joined #lisp 2021-04-21T21:08:16Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T21:08:17Z karlosz_ joined #lisp 2021-04-21T21:08:35Z amb007 joined #lisp 2021-04-21T21:12:19Z karlosz quit (Ping timeout: 252 seconds) 2021-04-21T21:12:19Z karlosz_ is now known as karlosz 2021-04-21T21:22:02Z dsrt^ joined #lisp 2021-04-21T21:22:52Z andrei-n quit (Quit: Leaving) 2021-04-21T21:24:19Z nick3000: /? 2021-04-21T21:27:19Z heisig quit (Quit: Leaving) 2021-04-21T21:33:51Z nature quit (Ping timeout: 260 seconds) 2021-04-21T21:39:13Z boogsbunny joined #lisp 2021-04-21T21:49:46Z rumbler31 joined #lisp 2021-04-21T21:51:42Z scymtym joined #lisp 2021-04-21T21:59:19Z theothornhill quit (Remote host closed the connection) 2021-04-21T21:59:20Z hypercube joined #lisp 2021-04-21T22:00:21Z zzappie quit (Ping timeout: 240 seconds) 2021-04-21T22:02:55Z varjagg quit (Ping timeout: 252 seconds) 2021-04-21T22:04:21Z luckless quit (Ping timeout: 240 seconds) 2021-04-21T22:05:40Z hypercube quit (Quit: WeeChat 3.1) 2021-04-21T22:07:05Z luckless joined #lisp 2021-04-21T22:14:04Z OlCe quit (Ping timeout: 252 seconds) 2021-04-21T22:15:59Z rumbler31 quit (Remote host closed the connection) 2021-04-21T22:17:07Z frgo quit (Remote host closed the connection) 2021-04-21T22:17:31Z frgo joined #lisp 2021-04-21T22:17:50Z hiroaki_ joined #lisp 2021-04-21T22:19:46Z amb007 quit (Read error: Connection reset by peer) 2021-04-21T22:20:10Z amb007 joined #lisp 2021-04-21T22:23:42Z boogsbunny quit (Ping timeout: 240 seconds) 2021-04-21T22:25:34Z tempest_nox joined #lisp 2021-04-21T22:25:51Z surabax quit (Quit: Leaving) 2021-04-21T22:42:34Z phantomics_ quit (Quit: Ex-Chat) 2021-04-21T22:42:52Z phantomics joined #lisp 2021-04-21T22:46:42Z dyelar quit (Quit: Leaving.) 2021-04-21T22:46:52Z Nilby joined #lisp 2021-04-21T22:50:46Z threenuc: Hi. How do I write an S-expr for "tag which does not have the attribute 'lang'"? (tag (attribute_name @_attr) (#not-eq @attr "lang")) matches when it finds any attribute that is not "lang", eg
2021-04-21T22:51:01Z random-nick quit (Ping timeout: 260 seconds) 2021-04-21T22:52:06Z attila_lendvai quit (Ping timeout: 240 seconds) 2021-04-21T22:52:51Z no-defun-allowed: I dunno, how did you come up with the rest of that expression? 2021-04-21T22:56:41Z threenuc quit (Ping timeout: 240 seconds) 2021-04-21T22:56:57Z threenuc joined #lisp 2021-04-21T22:58:01Z long4mud joined #lisp 2021-04-21T22:59:52Z aindilis joined #lisp 2021-04-21T23:03:30Z kagevf: (tag (attributes (name1 . value1) (name2 . value2)) (non-attributes (lang name3 name4))) <-- maybe like that? threenuc 2021-04-21T23:03:52Z DHARMAKAYA joined #lisp 2021-04-21T23:19:31Z jeosol joined #lisp 2021-04-21T23:21:27Z curtosis joined #lisp 2021-04-21T23:23:16Z zefram22 quit (Quit: zefram22) 2021-04-21T23:23:20Z curtosis is now known as curtosis[away] 2021-04-21T23:23:41Z zefram22 joined #lisp 2021-04-21T23:27:37Z jonatack quit (Ping timeout: 252 seconds) 2021-04-21T23:30:30Z terpri__ is now known as terpri 2021-04-21T23:30:46Z edvardo_ joined #lisp 2021-04-21T23:38:33Z akoana left #lisp 2021-04-21T23:39:03Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-21T23:40:21Z threenuc quit (Ping timeout: 245 seconds) 2021-04-21T23:45:07Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-21T23:46:51Z vv8 quit (Ping timeout: 260 seconds) 2021-04-21T23:56:45Z xsperry quit (Remote host closed the connection) 2021-04-22T00:00:00Z grnman_ quit (Remote host closed the connection) 2021-04-22T00:02:31Z krjli quit (Remote host closed the connection) 2021-04-22T00:05:14Z DHARMAKAYA joined #lisp 2021-04-22T00:08:06Z orivej quit (Ping timeout: 252 seconds) 2021-04-22T00:09:02Z zefram22 quit (Quit: zefram22) 2021-04-22T00:09:21Z zefram22 joined #lisp 2021-04-22T00:12:05Z hypercube joined #lisp 2021-04-22T00:14:40Z monolithic quit (Remote host closed the connection) 2021-04-22T00:16:34Z rumbler31 joined #lisp 2021-04-22T00:18:31Z xsperry joined #lisp 2021-04-22T00:18:56Z kevingal quit (Remote host closed the connection) 2021-04-22T00:20:46Z rumbler31 quit (Ping timeout: 245 seconds) 2021-04-22T00:27:03Z aeth_ joined #lisp 2021-04-22T00:27:06Z aeth quit (Disconnected by services) 2021-04-22T00:27:10Z aeth_ is now known as aeth 2021-04-22T00:28:25Z nij joined #lisp 2021-04-22T00:38:37Z ivysaur joined #lisp 2021-04-22T00:44:34Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-22T00:50:09Z aeth_ joined #lisp 2021-04-22T00:50:15Z aeth quit (Disconnected by services) 2021-04-22T00:50:18Z aeth_ is now known as aeth 2021-04-22T00:57:36Z ivysaur left #lisp 2021-04-22T00:59:24Z ivysaur joined #lisp 2021-04-22T01:03:00Z karlosz quit (Ping timeout: 265 seconds) 2021-04-22T01:08:32Z nij quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-22T01:09:38Z anticrisis quit (Read error: Connection reset by peer) 2021-04-22T01:10:32Z contrapunctus left #lisp 2021-04-22T01:11:28Z anticrisis joined #lisp 2021-04-22T01:11:55Z contrapunctus joined #lisp 2021-04-22T01:16:00Z ivysaur quit (Quit: Leaving) 2021-04-22T01:16:26Z ivysaur joined #lisp 2021-04-22T01:21:37Z ivysaur quit (Quit: Leaving) 2021-04-22T01:22:44Z karlosz joined #lisp 2021-04-22T01:24:37Z hypercube quit (Quit: WeeChat 3.1) 2021-04-22T01:27:31Z karlosz quit (Ping timeout: 252 seconds) 2021-04-22T01:27:41Z DHARMAKAYA joined #lisp 2021-04-22T01:29:37Z ivysaur joined #lisp 2021-04-22T01:30:27Z ikrabbe joined #lisp 2021-04-22T01:33:08Z ikrabbe|2 quit (Ping timeout: 246 seconds) 2021-04-22T01:33:59Z igemnace joined #lisp 2021-04-22T01:34:52Z ikrabbe quit (Ping timeout: 240 seconds) 2021-04-22T01:35:37Z ivyysaur joined #lisp 2021-04-22T01:36:43Z Sheilong quit 2021-04-22T01:40:05Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-22T01:44:04Z klltkr joined #lisp 2021-04-22T01:44:06Z klltkr quit (Client Quit) 2021-04-22T01:44:24Z zefram22 quit (Quit: zefram22) 2021-04-22T01:44:39Z zefram22 joined #lisp 2021-04-22T01:44:42Z zefram22 quit (Remote host closed the connection) 2021-04-22T01:44:59Z zefram22 joined #lisp 2021-04-22T01:47:00Z vv8 joined #lisp 2021-04-22T01:52:09Z ivysaur quit (Quit: Connection closed) 2021-04-22T01:52:19Z ivyysaur quit (Quit: Leaving) 2021-04-22T01:53:54Z karlosz joined #lisp 2021-04-22T01:54:35Z ivysaur joined #lisp 2021-04-22T01:58:19Z karlosz quit (Ping timeout: 252 seconds) 2021-04-22T01:59:36Z ivysaur: hi, is email reg needed to join lispcafe? 2021-04-22T02:00:59Z Josh_2: Whats the fastest way I can read the number of lines in a file? 2021-04-22T02:01:48Z Josh_2: I can do it in about 0.1 seconds using wc -l. Right now I'm using cl-csv to iterate line by line and its doing 100,000 lines maybe every 5 seconds and theres over 13 million 2021-04-22T02:03:52Z no-defun-allowed: Yes, cl-csv is also doing a lot of parsing presumably. 2021-04-22T02:04:29Z Josh_2: yeh I was just thinking that 2021-04-22T02:04:42Z no-defun-allowed: How fast do you care for? A naive solution would be to repeatedly read-sequence into a buffer, counting the number of #\Newline characters (assuming you use Unix newlines, not Windows). 2021-04-22T02:04:59Z Josh_2: I think I will try that now 2021-04-22T02:05:13Z Josh_2: Just curious. Eventually I will have to let cl-csv parse the file 2021-04-22T02:05:38Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-22T02:05:44Z no-defun-allowed: If that is the case, then just parse it. You'll get a line count too. 2021-04-22T02:07:33Z Josh_2: Its pretty quick to just count the lines the way you said no-defun-allowed 2021-04-22T02:08:19Z Josh_2: Maybe takes 1/2 seconds 2021-04-22T02:08:43Z Nilby: Right now my Lisp version of wc -l takes about 0.1 seconds per megabyte. 2021-04-22T02:09:14Z Josh_2: megabyte? 2021-04-22T02:09:16Z Nilby: or per 100 mb actually 2021-04-22T02:09:21Z Josh_2: more like it :P 2021-04-22T02:09:35Z Josh_2: This file is 1.1G 2021-04-22T02:09:45Z sp41 quit (Quit: Lost terminal) 2021-04-22T02:13:49Z no-defun-allowed: I am sure there is some further trickery you can do with, say, mmap-ing the file to bypass the stream interface, and then even some SIMD instructions (basically broadcast #x20, load some bytes from file, compare equal bytes, logcount?) but that's getting too cheeky. 2021-04-22T02:14:33Z tophullyte joined #lisp 2021-04-22T02:15:11Z Josh_2: I might be able to just load the entire file into ram, that would probably speed things up 2021-04-22T02:15:11Z Nilby: my wc takes 1.504 seconds to do 1.1 GB 2021-04-22T02:20:36Z raeda quit (Quit: Leaving) 2021-04-22T02:32:51Z Lycurgus joined #lisp 2021-04-22T02:33:06Z mindCrime quit (Ping timeout: 260 seconds) 2021-04-22T02:43:58Z Nilby: Sadly my slow CSV reader takes 51 seconds to read a 1.1GB CSV. I should probably do what no-defun-allowed said and speed it up with mmap and SIMD. 2021-04-22T02:44:02Z ivysaur quit (Ping timeout: 240 seconds) 2021-04-22T02:44:40Z no-defun-allowed: Hm, that suggestion was just for counting lines. I don't have a plan for SIMD-ifying CSV parsing, though I guess it's doable. 2021-04-22T02:44:53Z no-defun-allowed: Someone did it for JSON after all. 2021-04-22T02:47:22Z Alfr quit (Quit: Leaving) 2021-04-22T02:50:32Z zefram22 quit (Quit: zefram22) 2021-04-22T02:50:59Z zefram22 joined #lisp 2021-04-22T02:51:21Z hineios6 joined #lisp 2021-04-22T02:52:22Z hineios quit (Ping timeout: 252 seconds) 2021-04-22T02:52:23Z hineios6 is now known as hineios 2021-04-22T02:57:01Z aindilis quit (Ping timeout: 245 seconds) 2021-04-22T02:57:08Z hypercube joined #lisp 2021-04-22T02:58:20Z prxq_ joined #lisp 2021-04-22T02:58:46Z hypercube quit (Client Quit) 2021-04-22T03:01:06Z Josh_2: sbcl seems to have just given up on me 2021-04-22T03:02:02Z prxq quit (Ping timeout: 246 seconds) 2021-04-22T03:02:31Z remby joined #lisp 2021-04-22T03:03:53Z CrashTestDummy joined #lisp 2021-04-22T03:04:49Z Josh_2: I suppose tomorrow I could try with trivial-mmap 2021-04-22T03:06:02Z beach: Good morning everyone! 2021-04-22T03:06:31Z CrashTestDummy3 quit (Ping timeout: 252 seconds) 2021-04-22T03:06:34Z Josh_2: G'mornin 2021-04-22T03:07:01Z Nilby quit (Ping timeout: 245 seconds) 2021-04-22T03:07:26Z zefram22 quit (Ping timeout: 245 seconds) 2021-04-22T03:09:48Z Josh_2: Well cl-csv gets stuck 6,500,000 entries in 2021-04-22T03:09:51Z zefram22 joined #lisp 2021-04-22T03:11:11Z Jachy: Josh_2: is your SBCL's dynamic-space-size high enough? 2021-04-22T03:11:17Z Josh_2: Yep, I set it to 8gb 2021-04-22T03:12:39Z Josh_2: This was some code test my mate was given that he had to do in Java, cant let the CL side down now can I 2021-04-22T03:13:16Z CrashTestDummy2 joined #lisp 2021-04-22T03:13:30Z ebrasca quit (Remote host closed the connection) 2021-04-22T03:14:52Z CrashTestDummy3 joined #lisp 2021-04-22T03:15:53Z mindCrime joined #lisp 2021-04-22T03:16:06Z CrashTestDummy quit (Ping timeout: 240 seconds) 2021-04-22T03:17:32Z CrashTestDummy2 quit (Ping timeout: 240 seconds) 2021-04-22T03:17:58Z aartaka quit (Read error: Connection reset by peer) 2021-04-22T03:18:04Z aartaka_d joined #lisp 2021-04-22T03:18:53Z CrashTestDummy2 joined #lisp 2021-04-22T03:20:16Z tophullyte quit (Ping timeout: 252 seconds) 2021-04-22T03:21:32Z CrashTestDummy3 quit (Ping timeout: 240 seconds) 2021-04-22T03:22:30Z tophullyte joined #lisp 2021-04-22T03:23:46Z zefram22 quit (Ping timeout: 240 seconds) 2021-04-22T03:23:58Z aindilis joined #lisp 2021-04-22T03:30:41Z semz quit (Ping timeout: 250 seconds) 2021-04-22T03:32:49Z tempest_` joined #lisp 2021-04-22T03:32:50Z tempest_nox quit (Ping timeout: 246 seconds) 2021-04-22T03:40:53Z DHARMAKAYA joined #lisp 2021-04-22T03:41:52Z overalls joined #lisp 2021-04-22T03:44:27Z tempest_` quit (Remote host closed the connection) 2021-04-22T03:44:28Z semz joined #lisp 2021-04-22T03:45:18Z tophullyte quit (Quit: Leaving) 2021-04-22T03:45:29Z tempest_nox joined #lisp 2021-04-22T03:50:27Z Bike quit (Quit: sleep) 2021-04-22T03:51:11Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-22T03:53:54Z DHARMAKAYA joined #lisp 2021-04-22T03:55:23Z mister_m` quit (Remote host closed the connection) 2021-04-22T03:59:50Z hypercube joined #lisp 2021-04-22T04:03:08Z mindCrime quit (Ping timeout: 252 seconds) 2021-04-22T04:05:31Z mindCrime joined #lisp 2021-04-22T04:14:53Z mindCrime quit (Ping timeout: 268 seconds) 2021-04-22T04:20:42Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-22T04:30:34Z DHARMAKAYA joined #lisp 2021-04-22T04:31:53Z raeda joined #lisp 2021-04-22T04:33:14Z jeosol: Josh_2: I think you can get it to work. I once used SBCL to used a 60GB file (text file) without much problems. You'd probably have to play with the dynamic-space-size though. 2021-04-22T04:38:16Z thinkpad quit (Ping timeout: 245 seconds) 2021-04-22T04:41:11Z thinkpad joined #lisp 2021-04-22T04:42:55Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-22T04:45:02Z sm2n quit (Remote host closed the connection) 2021-04-22T04:45:17Z sm2n joined #lisp 2021-04-22T04:51:46Z shka_ joined #lisp 2021-04-22T04:57:23Z daphnis joined #lisp 2021-04-22T05:01:48Z beach: phoe: I don't know whether you are aware of this Clojure talk from 2015, but it talks about condition systems: https://www.youtube.com/watch?v=zp0OEDcAro0 The Common Lisp condition system is sort of the model for the "ideas" in the talk. 2021-04-22T05:01:50Z beach: I am not sure whether to be delighted or saddened by what I learned about Clojure in this talk, though of course, it not being a language with an independent standard, it may have changed since this talk. 2021-04-22T05:02:27Z phoe: beach: I am, thank you 2021-04-22T05:02:55Z beach: And what did you think about it? 2021-04-22T05:03:17Z phoe: I watched it a long long long time ago and can no longer say 2021-04-22T05:03:23Z skapata quit (Remote host closed the connection) 2021-04-22T05:03:29Z beach: OK, don't worry about it then. 2021-04-22T05:04:48Z beach: The speaker doesn't say explicitly, but he favors what you told the WebAssembly people, namely "give me control structures, not exceptions" 2021-04-22T05:05:09Z phoe: :D 2021-04-22T05:06:05Z raeda quit (Remote host closed the connection) 2021-04-22T05:07:29Z raeda joined #lisp 2021-04-22T05:07:59Z andrei-n joined #lisp 2021-04-22T05:11:52Z overalls quit (Ping timeout: 240 seconds) 2021-04-22T05:12:06Z beach: phoe: The other interesting thing about the talk is that he seems to use the same terminology as you have now popularized, i.e., that "exception" and "condition" mean different things. 2021-04-22T05:13:39Z pillton joined #lisp 2021-04-22T05:16:58Z Alfr joined #lisp 2021-04-22T05:22:06Z moon-child: beach: can not languages with standards change over time? 2021-04-22T05:23:34Z beach: Good question. I would say "not really", because the name would have to be different, at least with a specific version attached. The very purpose of a standard is that it never changes. 2021-04-22T05:24:25Z gaqwas joined #lisp 2021-04-22T05:24:25Z gaqwas quit (Changing host) 2021-04-22T05:24:26Z gaqwas joined #lisp 2021-04-22T05:24:26Z beach: When referring to any standard, one would refer to a particular document that must remain the same forever. 2021-04-22T05:25:18Z moon-child: Hmmm. I think stability is something you can _enable_ (or encourage) with a standard, but that its main purpose is to be an abstract expression of a language's semantics. 2021-04-22T05:26:10Z narimiran joined #lisp 2021-04-22T05:26:18Z sauvin joined #lisp 2021-04-22T05:27:49Z zefram22 joined #lisp 2021-04-22T05:28:09Z beach: Sure, I am not talking about the purpose of a standard for a particular language. I am just saying that "a standard" means a precise document published at a particular date and that will never change. If you want your language to evolve, it can no longer be referred to as being what that document defines. 2021-04-22T05:29:08Z beach: ... so you can change your language, but you can't change the standards document. 2021-04-22T05:29:52Z Lycurgus quit (Ping timeout: 240 seconds) 2021-04-22T05:35:03Z tophullyte joined #lisp 2021-04-22T05:35:36Z beach should learn to shut up more often. 2021-04-22T05:36:06Z jeosol: beach: I disagree about shutting up; there are those of us that learn from these tidbits .. 2021-04-22T05:36:30Z jeosol: :-) 2021-04-22T05:36:58Z beach: jeosol: Yes, and others who seem to take great pleasure in disagreeing for the hell of it, and that sometimes makes me upset. 2021-04-22T05:38:14Z jeosol: You correct people to use the right semantics and words, each function parameters in the lambda list than variables. While it takes time, getting the right terminology often makes communication easier 2021-04-22T05:38:48Z beach: I totally agree. 2021-04-22T05:39:05Z jeosol: each -> e.g., 2021-04-22T05:40:39Z jackdaniel: that's where the new standard idea domes in :) 2021-04-22T05:40:48Z jackdaniel: comes* 2021-04-22T05:44:30Z varjagg joined #lisp 2021-04-22T05:48:26Z imode: beach: if a language standard never changes... C++? 2021-04-22T05:48:40Z imode: can we never change the kilogram standard then. 2021-04-22T05:49:33Z no-defun-allowed: C++ changes a lot. 2021-04-22T05:49:37Z imode: ah, I'm late to this party and that was already covered. 2021-04-22T05:49:49Z imode: they're definitely different languages. 2021-04-22T05:53:00Z jackdaniel: imode: "updating" common lisp standard is a running gag on this channel :) 2021-04-22T05:55:20Z yottabyte quit (Quit: Connection closed for inactivity) 2021-04-22T05:55:24Z no-defun-allowed: you se the problem with CL is that it doesn't have the JavaScript variable hoisting rules, I have a patch to the CLHS which adds the hoisting rules and it will make CL 1000× more popular 2021-04-22T05:55:53Z jeosol: hoisting? 2021-04-22T05:56:37Z moon-child: js has fake lexical scope 2021-04-22T05:58:22Z tempest_nox quit (Remote host closed the connection) 2021-04-22T05:58:27Z beach: imode: Clearly, I am not expressing myself very well. There can't be more than one standards document that claims to be THE standards document for C++. Like I said, the language may evolve, but different versions of the language must be defined by different documents. 2021-04-22T06:00:36Z pillton: ..and that is what C++ does e.g. C++98, C++03, C++11, C++14, C++17, C++20, ... You are making perfect sense beach. 2021-04-22T06:01:09Z beach: pillton: Thanks! (Whew!) 2021-04-22T06:03:06Z mathrick quit (Ping timeout: 260 seconds) 2021-04-22T06:05:58Z varjagg quit (Ping timeout: 252 seconds) 2021-04-22T06:11:14Z imode: dynamic scoping is nice. 2021-04-22T06:11:52Z gzj joined #lisp 2021-04-22T06:12:37Z gzj quit (Remote host closed the connection) 2021-04-22T06:12:55Z gzj joined #lisp 2021-04-22T06:13:24Z thomasb06 joined #lisp 2021-04-22T06:17:20Z pillton quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-22T06:22:26Z tophullyte quit (Ping timeout: 245 seconds) 2021-04-22T06:25:46Z zefram22 quit (Ping timeout: 252 seconds) 2021-04-22T06:31:40Z gaqwas quit (Ping timeout: 252 seconds) 2021-04-22T06:34:25Z ikrabbe joined #lisp 2021-04-22T06:40:40Z remby: must be tough for a compiler to enforce that :P 2021-04-22T06:42:52Z beach: remby: To enforce what? 2021-04-22T06:43:29Z remby: which versions of the C++ standard are in use 2021-04-22T06:43:41Z semz quit (Ping timeout: 245 seconds) 2021-04-22T06:43:54Z overalls joined #lisp 2021-04-22T06:46:13Z no-defun-allowed: Technically, I suppose you are supposed to use C++20 as of last December. 2021-04-22T06:47:22Z jackdaniel: ANSI C 89 for the win! :) 2021-04-22T06:48:01Z jackdaniel: that said, even C standard evolves (imo in saner direction than C++ standard) 2021-04-22T06:49:08Z remby: but I suppose the standards are backwards compatible so it's not bad? 2021-04-22T06:49:22Z moon-child: not completely compatible, but largely so 2021-04-22T06:49:28Z remby: so you can use features from C++ 20 in a C++ 03 codebase 2021-04-22T06:49:36Z jackdaniel: say you introduce a new reserved keyword, like _Complex 2021-04-22T06:49:51Z jackdaniel: and the old code uses the name _Complex as a variable name - it won't work 2021-04-22T06:49:59Z remby: oof 2021-04-22T06:50:14Z moon-child: jackdaniel: spec reserves __* and _[A-Z]* 2021-04-22T06:50:18Z jackdaniel: but languages are very similar, so usually a minimal amount of porting is needed 2021-04-22T06:50:24Z moon-child: so if your code was using that previously it was technically nonconformant 2021-04-22T06:50:59Z jackdaniel: mhm 2021-04-22T06:51:02Z remby: I guess C++ will become a lisp eventually :P 2021-04-22T06:51:07Z moon-child: however, there were actual (small) compat breaks. E.G. removal of gets, making vlas an optional feature 2021-04-22T06:51:18Z moon-child: remby: greenspun's law comes to mind 2021-04-22T06:51:24Z moon-child: as well as steele quote about java 2021-04-22T06:51:35Z sukaeto quit (Quit: WeeChat 1.6) 2021-04-22T06:51:35Z remby: oh, what was the steele qoute? 2021-04-22T06:51:55Z contrapunctus left #lisp 2021-04-22T06:51:55Z moon-child: 'And you're right: we were not out to win over the Lisp programmers; we were after the C++ programmers. We managed to drag a lot of them about halfway to Lisp. Aren't you happy?' 2021-04-22T06:52:00Z contrapunctus joined #lisp 2021-04-22T06:52:04Z remby: also this trend when it comes to growing languages I do seem to notice ... it's almost nefarious even 2021-04-22T06:52:28Z remby: ah nice haha 2021-04-22T06:53:02Z gzj quit (Quit: Leaving) 2021-04-22T06:53:08Z moon-child: though phoe also points out that they also dragged a lot of lisp people about halfway back to c++. ¯\_(ツ)_/¯ 2021-04-22T06:53:28Z remby: I get competing compilers, but competing languages? mysterious 2021-04-22T06:53:41Z no-defun-allowed: "Notice that no one mentions that this way they also managed to drag a lot of Lisp programmers about halfway back to C++." — phoe 2021-04-22T06:53:43Z Jachy: Many C++ devs were already using the new features anyway in the form of things included in the Boost library, so for a lot of shops it hasn't been too bad 2021-04-22T06:54:00Z remby: I see 2021-04-22T06:54:15Z contrapunctus left #lisp 2021-04-22T06:54:20Z contrapunctus joined #lisp 2021-04-22T06:55:21Z remby: would you consider the lisp special forms to be statements? 2021-04-22T06:55:35Z remby: or can those be done in lisp too 2021-04-22T06:56:11Z no-defun-allowed: No, Lisp special forms are still "expressions" like anything else. 2021-04-22T06:56:18Z jackdaniel: afair the standard says that special operators may be implemented as ordinary functions (and it is at the implementer's discretion) 2021-04-22T06:56:19Z daphnis quit (Ping timeout: 265 seconds) 2021-04-22T06:56:34Z no-defun-allowed: IF is a special form, but it still returns a value unlike a "statement", e.g. (if t 1 2) ⇒ 1 2021-04-22T06:57:45Z daphnis joined #lisp 2021-04-22T06:59:19Z OlCe joined #lisp 2021-04-22T06:59:27Z beach: remby: The term "statement" is used in Common Lisp only to mean the elements of a TAGBODY that are not labels. 2021-04-22T06:59:55Z remby: beach, ok 2021-04-22T07:00:23Z remby: do implementations actually implement stuff like IF as functions? 2021-04-22T07:00:27Z remby: just curious 2021-04-22T07:00:33Z beach: No. 2021-04-22T07:00:44Z jackdaniel: that would be inefficient 2021-04-22T07:00:52Z beach: But some special operators my be implemented as macros. 2021-04-22T07:01:07Z no-defun-allowed: I thought the standard said special operators may be implemented as ordinary functions, not macros. 2021-04-22T07:01:18Z beach: Oh? 2021-04-22T07:01:25Z jackdaniel: I've meant operators, not functions (when I've said the thing above) 2021-04-22T07:01:33Z no-defun-allowed: Oh crap, I mean the other way around. The opposite of what jackdaniel said. 2021-04-22T07:01:42Z beach: Yes. 2021-04-22T07:01:45Z jackdaniel: braino:) 2021-04-22T07:02:01Z no-defun-allowed: I forgot what I was doing while copying what jackdaniel said :) 2021-04-22T07:03:25Z beach: remby: Most (all?) special operators are considered as such because they have an evaluation rule that does not allow them to be functions. 2021-04-22T07:04:32Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-22T07:04:58Z beach: remby: Some other standard operators that also can't be functions, but that could be implemented using other operators, are defined to be macros. 2021-04-22T07:05:25Z semz joined #lisp 2021-04-22T07:06:25Z remby: I see 2021-04-22T07:06:38Z beach: remby: So as special operators, you are left with those operators that are truly basic, and that can't be expressed as functions. 2021-04-22T07:07:40Z beach: There are a few exceptions to that rule, but not many. Like LET* could be expressed as a macro expanding to nested LETs, but it would be a messy macro because of declarations. 2021-04-22T07:12:49Z myall quit (Quit: ZNC 1.7.5 - https://znc.in) 2021-04-22T07:14:23Z lukego: anyone use c-mera? 2021-04-22T07:14:55Z mathrick joined #lisp 2021-04-22T07:15:38Z myall joined #lisp 2021-04-22T07:15:38Z myall quit (Changing host) 2021-04-22T07:15:38Z myall joined #lisp 2021-04-22T07:16:41Z overalls quit (Ping timeout: 240 seconds) 2021-04-22T07:18:06Z surabax joined #lisp 2021-04-22T07:19:52Z overalls joined #lisp 2021-04-22T07:22:26Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-22T07:22:53Z mathrick quit (Ping timeout: 240 seconds) 2021-04-22T07:23:27Z pve joined #lisp 2021-04-22T07:26:09Z mathrick joined #lisp 2021-04-22T07:28:48Z zzappie joined #lisp 2021-04-22T07:31:26Z overalls quit (Quit: Leaving) 2021-04-22T07:33:06Z remby left #lisp 2021-04-22T07:35:40Z nckx is now known as raghavgururajan9 2021-04-22T07:35:50Z raghavgururajan9 is now known as nckx 2021-04-22T07:42:03Z Elzington quit (Quit: Leaving) 2021-04-22T07:44:59Z jonatack joined #lisp 2021-04-22T07:47:28Z cranium_ joined #lisp 2021-04-22T07:50:21Z cranium_ quit (Client Quit) 2021-04-22T07:50:48Z cranium_ joined #lisp 2021-04-22T07:53:42Z cranium__ joined #lisp 2021-04-22T07:53:48Z cranium__ quit (Remote host closed the connection) 2021-04-22T07:54:01Z Nilby joined #lisp 2021-04-22T08:03:09Z zefram22 joined #lisp 2021-04-22T08:04:17Z gzj joined #lisp 2021-04-22T08:07:10Z hendursaga joined #lisp 2021-04-22T08:07:51Z anticrisis quit (Read error: Connection reset by peer) 2021-04-22T08:07:56Z hypercube quit (Ping timeout: 246 seconds) 2021-04-22T08:09:09Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-22T08:10:38Z attila_lendvai joined #lisp 2021-04-22T08:10:39Z attila_lendvai quit (Changing host) 2021-04-22T08:10:39Z attila_lendvai joined #lisp 2021-04-22T08:31:54Z cosimone joined #lisp 2021-04-22T08:32:33Z prxq_ quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-22T08:32:43Z prxq joined #lisp 2021-04-22T08:40:10Z Lycurgus joined #lisp 2021-04-22T08:40:12Z X-Scale` joined #lisp 2021-04-22T08:41:36Z X-Scale quit (Ping timeout: 245 seconds) 2021-04-22T08:41:36Z X-Scale` is now known as X-Scale 2021-04-22T08:45:50Z ljavorsk joined #lisp 2021-04-22T08:51:20Z imode quit (Ping timeout: 246 seconds) 2021-04-22T08:53:46Z zefram22 quit (Quit: zefram22) 2021-04-22T08:54:00Z zefram22 joined #lisp 2021-04-22T08:54:18Z kmeow joined #lisp 2021-04-22T08:59:33Z dsrt^ quit 2021-04-22T09:05:28Z OlCe quit (Remote host closed the connection) 2021-04-22T09:10:05Z gzj quit (Remote host closed the connection) 2021-04-22T09:10:26Z gzj joined #lisp 2021-04-22T09:11:10Z ikrabbe quit (Ping timeout: 265 seconds) 2021-04-22T09:15:32Z orivej joined #lisp 2021-04-22T09:17:41Z zaquest quit (Remote host closed the connection) 2021-04-22T09:18:53Z zaquest joined #lisp 2021-04-22T09:19:06Z ikrabbe joined #lisp 2021-04-22T09:20:44Z thinkpad quit (Ping timeout: 246 seconds) 2021-04-22T09:21:10Z monolithic joined #lisp 2021-04-22T09:21:34Z thinkpad joined #lisp 2021-04-22T09:25:41Z zefram22 quit (Ping timeout: 240 seconds) 2021-04-22T09:35:11Z flazh quit (Ping timeout: 240 seconds) 2021-04-22T09:37:09Z zzappie quit (Ping timeout: 240 seconds) 2021-04-22T09:39:24Z zzappie joined #lisp 2021-04-22T09:46:41Z gzj quit (Remote host closed the connection) 2021-04-22T09:49:34Z nij joined #lisp 2021-04-22T09:51:33Z nij: Hello :) Is there a way to automatically dump the "closure" for a function? For example, for #'f as in (defun f (x) (g x)), the dumping should pull the information of #'g as well, and so on. The goal is to get the minimal data that reproduces #'f at the moment it's dumped. 2021-04-22T09:52:37Z beach: What is the meaning of "dump"? 2021-04-22T09:52:53Z jackdaniel: nij: do you mean "serialize to file"? 2021-04-22T09:53:15Z nij: jackdaniel: not necessarily to a file 2021-04-22T09:53:26Z nij: but yeah, that'd be a proof of concept 2021-04-22T09:53:52Z nij: beach: by dump i mean to create something that can reproduce #'f (at the moment of dumping) later 2021-04-22T09:54:00Z jackdaniel: there is no such way, g may be a function that is loaded without its source form 2021-04-22T09:54:12Z beach: nij: What is the meaning of "reproduce"? 2021-04-22T09:54:38Z beach: "define", "execute", "print"? 2021-04-22T09:54:47Z nij: beach: By reproduce I mean to have an entity that gives the same result as #'f would at the moment of being dumped. 2021-04-22T09:54:49Z Odin-: You'd need the ability to a.) get at the source of each function and b.) get at the lexical environment closed over by each closure, I think. 2021-04-22T09:55:01Z Odin-: And I think neither of those is covered by the standard. 2021-04-22T09:55:21Z nij: jackdaniel: Hm. But if we can get the source, then that's possible? 2021-04-22T09:55:23Z beach: nij: That would be an undecidable problem. 2021-04-22T09:55:49Z beach: nij: Still not possible. A function can refer to the global environment. 2021-04-22T09:55:54Z nij: Odin-: Yeah.. I'm aware the standard doesn't do this. I'm wondering if it's possible. 2021-04-22T09:56:22Z nij: beach: Oh.. you mean i have to take a copy of the real world.. 2021-04-22T09:56:39Z beach: Yes, in general. But that's doable in many Common Lisp implementations. 2021-04-22T09:56:40Z Odin-: beach: But the global environment can be changed out from under it _anyway_, right? 2021-04-22T09:56:53Z nij: Then I should modulo my question with real-world/probabilistic content. 2021-04-22T09:57:21Z Odin-: That is, if the function relies on the global environment, it's already fragile, no? 2021-04-22T09:57:22Z beach: Odin-: Well, if you do SAVE-LISP-AND-DIE or equivalent, you are sure to have "dumped" it with everything in can refer to. 2021-04-22T09:57:47Z nij: beach: yes, but that's not minimal 2021-04-22T09:57:55Z heisig joined #lisp 2021-04-22T09:57:59Z beach: nij: Minimal would be undecidable. 2021-04-22T09:58:04Z nij: Odin-: depends on the context 2021-04-22T09:58:11Z nij: beach: oh, why undecidable?! 2021-04-22T09:58:38Z Odin-: beach: Well, not external things. Like I/O streams. Right? 2021-04-22T09:59:18Z beach: nij: (if (= (ackermann 123 x) 234234234) (h1 x) (h2 x)) 2021-04-22T09:59:30Z Nilby: nij: It is not possible to prove that every program terminates, or has finite recursion. 2021-04-22T09:59:33Z Odin-: I don't think there's any mechanism that can capture an _absolutely_ restorable environment. 2021-04-22T09:59:39Z beach: nij: The only way to decide whether h1 or h2 should be included is to solve the halting problem. 2021-04-22T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-22T10:00:16Z nij: (if *riemann-hypothesis #'f #'g) 2021-04-22T10:00:27Z Odin-: Reduction to the halting problem is always fun. 2021-04-22T10:00:31Z beach: nij: Also, if you have a call to EVAL, then all bets are off, and that could very well be the case. 2021-04-22T10:00:52Z beach: (defun f (x) (eval (read))) 2021-04-22T10:01:33Z nij: The fact that we cannot take a minimal snapshot of some meaningful entities delights /me. 2021-04-22T10:01:44Z Nilby: But it is still useful in practice to try, since most programs are finite and provable. 2021-04-22T10:01:46Z nij: Oops, /me should be the subject. 2021-04-22T10:02:38Z nij: beach: What if I redefine "minimal" as in that everything that shows up in the form needs to be pulled? 2021-04-22T10:03:24Z beach: What you are looking for is the term "conservative approximation". 2021-04-22T10:03:34Z nij: (I just fancy a lisp machine that can communicate functions at one go.) 2021-04-22T10:03:46Z nij: (And the philosophical reason, which is minor but relevant.) 2021-04-22T10:03:46Z jackdaniel: sometimes it is possible to "dump" a function itself, but not functions that are called by it 2021-04-22T10:03:55Z ChoHag: You can in theory create the perfect closure you're referring to, whether you can get at its contents is another matter, but only without run-time mutation. 2021-04-22T10:03:57Z Odin-: Wouldn't the presence of 'eval' in the form then drag everything in the image in? 2021-04-22T10:03:57Z jackdaniel: (not portably of course) 2021-04-22T10:04:10Z beach: Defining a conservative approximation is a way to get around undecidability, in effect, but you still have the lack of tools. 2021-04-22T10:04:14Z nij: jackdaniel: if all functions' source codes are remembered, that should be possible? 2021-04-22T10:04:50Z nij: beach lack of tools? 2021-04-22T10:04:54Z jackdaniel: no, because not all functions are written in lisp 2021-04-22T10:05:04Z ChoHag: Odin-: Yes it would include all the "unwritten" assumptions made by the interpreter. 2021-04-22T10:05:05Z jackdaniel: some may be written in assembly for that instance 2021-04-22T10:05:14Z nij: jackdaniel: suppose everything is written in lisp! 2021-04-22T10:05:30Z nij: lisp can be written in lisp as well.. so include that 2021-04-22T10:05:47Z beach: nij: Whatever your Common Lisp implementation provides you with to get the source etc. of functions. Also remember that G can be a closure, so you need to get to its static environment. Few Common Lisp implementations would allow that. 2021-04-22T10:05:50Z nij: i might have to always assume a minimal lisp that's behind 2021-04-22T10:05:55Z Odin-: Will it be in Lisp at runtime, though? 2021-04-22T10:06:10Z nij: Odin-: ?? 2021-04-22T10:06:24Z ChoHag: nij: You don't need much: https://www.cs.dartmouth.edu/~doug/barem4.txt 2021-04-22T10:06:33Z jackdaniel: suppose a function modifies itself at runtime, how would you store that? 2021-04-22T10:06:45Z ikrabbe quit (Ping timeout: 265 seconds) 2021-04-22T10:06:55Z jackdaniel: (defun foo (x) (defun foo (x) (list 1 x))) 2021-04-22T10:06:56Z wxie quit (Remote host closed the connection) 2021-04-22T10:07:03Z nij: ChoHag: don't need much for..? 2021-04-22T10:07:06Z beach: nij: G could be defined like this: (let ((y 234)) (defun g (x) (+ x y))) 2021-04-22T10:07:36Z Odin-: I mean, even if the interpreter/compiler is written in Lisp, that doesn't mean that it's sensibly available as Lisp from inside the runtime. In any case, you'd run into a bootstrap problem restoring that... 2021-04-22T10:07:37Z beach: nij: We have been through this before I seem to remember. 2021-04-22T10:07:40Z ChoHag: Don't need much to implement the minimal lisp that's behind.. 2021-04-22T10:07:40Z nij: jackdaniel: since i'm looking at forms, in that case I just have to remember that foo does that. 2021-04-22T10:08:07Z nij: beach: we stopped at a protocol then 2021-04-22T10:08:18Z nij: I remember people did this through some black magic 2021-04-22T10:08:25Z jackdaniel: it doesn't make sense to me; but that may be my bad 2021-04-22T10:08:27Z nij: when the client needs to evaluate a function 2021-04-22T10:08:35Z nij: it actually asks the server to compute it 2021-04-22T10:08:52Z nij: ChoHag: oh yes , this i agree 2021-04-22T10:09:03Z nij: beach: But I wasn't satisfied by that.. 2021-04-22T10:09:41Z beach: nij: The essence was that there is no way to get the source form of such a function. 2021-04-22T10:09:48Z nij: Odin-: hmmmmmmmmmmmm I still don't fully understand.. could you perhaps elaborate more?.. 2021-04-22T10:09:58Z nij: beach: that's the de facto, yes 2021-04-22T10:10:23Z nij: But if we force each compiled function to also remember its source code, wouldn't it be possible? 2021-04-22T10:10:39Z nij: We just embed the source code as text in a segment. 2021-04-22T10:10:44Z beach: nij: Again, the (let ((y...)) is not part of the source code. 2021-04-22T10:11:04Z Odin-: You need the lexical environment as well. 2021-04-22T10:11:22Z cipherch1ss joined #lisp 2021-04-22T10:11:34Z beach: nij: You can have (let ((y 234)) (defun g (x) ...) (defun h (x) (setf y x))) and H could have been called before you want the "closure" of F. 2021-04-22T10:11:36Z nij: Oh.. so it might be unrealistic to require that.. 2021-04-22T10:11:36Z Odin-: Which, obviously, _is_ kept around, but there's no easy way to get at it. 2021-04-22T10:11:57Z nij: Damn 2021-04-22T10:12:16Z nij: Great food of thoughts. I think I need to think more on this. 2021-04-22T10:12:24Z nij: Indeed there are lots of failing point. 2021-04-22T10:12:29Z Odin-: Oh, and yes, the lexical environments of different closures don't have to be independent ... so you may need to dump multiple functions at a time. 2021-04-22T10:12:56Z nij: Yeah, Odin- .. I'm even thinking how to merge two minimal dumps. 2021-04-22T10:12:58Z beach: Odin-: I think you mean the "static environment", no? 2021-04-22T10:13:06Z nij: but that's even more unachievable i guess 2021-04-22T10:13:28Z Odin-: beach: Probably, come to think of the etymology. 2021-04-22T10:14:18Z Odin-: beach: That is, I do mean the actual bindings, not just whatever 'let' forms established them. 2021-04-22T10:14:36Z cipherchess quit (Ping timeout: 246 seconds) 2021-04-22T10:15:12Z beach: Odin-: Yes, I think it is usually called the "static environment". The term "lexical environment" usually means what is manipulated at compile time. 2021-04-22T10:15:40Z Odin-: That's a distinction that makes sense, but I hadn't considered before. 2021-04-22T10:17:03Z frgo quit (Remote host closed the connection) 2021-04-22T10:17:27Z frgo joined #lisp 2021-04-22T10:17:43Z cipherch1ss quit (Ping timeout: 252 seconds) 2021-04-22T10:19:33Z cipherchess joined #lisp 2021-04-22T10:21:09Z cranium_ quit (Quit: Leaving) 2021-04-22T10:21:30Z cranium_ joined #lisp 2021-04-22T10:29:50Z flip214: minion: memo for nature: Sorry, I have nearly zero experience with emacs and slime, so I can't say what you're gonna miss. I'm find with what I have 2021-04-22T10:29:50Z minion: Remembered. I'll tell nature when he/she/it next speaks. 2021-04-22T10:50:50Z vegansbane6963 joined #lisp 2021-04-22T10:53:10Z ikrabbe joined #lisp 2021-04-22T10:57:51Z gzj joined #lisp 2021-04-22T11:01:08Z scymtym: nij: maybe look at pkhuong's "common cold". if i remember correctly, it allows capturing and serializing the lexical environment, but not the transitive closure of called functions you are also looking for. the link seems dead now, but maybe it will be restored: https://irclog.tymoon.eu/freenode/lisp?around=1497521995#1497521995 2021-04-22T11:03:07Z nij: scymtym: that deadlink make me very curious 2021-04-22T11:04:08Z scymtym: nij: even if somebody has a copy, it likely does not do everything you mentioned (and it works only in SBCL) 2021-04-22T11:05:42Z nij: Yeah.. but I think I understand the crux more. I need to think carefully again and make the minimal assumptions for that would work. 2021-04-22T11:06:28Z nij: E.g.. we need to modulo real-world (including randomness) factors, we need to assume all functions remember their source code and lexical env.. which are already nonrealistic. 2021-04-22T11:10:46Z srandon111 quit (Ping timeout: 240 seconds) 2021-04-22T11:18:06Z aartaka joined #lisp 2021-04-22T11:18:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:18:14Z amb007 joined #lisp 2021-04-22T11:18:15Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:18:35Z amb007 joined #lisp 2021-04-22T11:21:36Z aartaka_d quit (Ping timeout: 245 seconds) 2021-04-22T11:23:04Z gzj quit (Remote host closed the connection) 2021-04-22T11:23:11Z srandon111 joined #lisp 2021-04-22T11:23:26Z gzj joined #lisp 2021-04-22T11:23:50Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:24:54Z amb007 joined #lisp 2021-04-22T11:25:49Z nij quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-22T11:25:49Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:26:14Z amb007 joined #lisp 2021-04-22T11:29:35Z daphnis_ joined #lisp 2021-04-22T11:32:41Z daphnis quit (Ping timeout: 260 seconds) 2021-04-22T11:33:04Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:33:16Z amb007 joined #lisp 2021-04-22T11:33:16Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:33:36Z amb007 joined #lisp 2021-04-22T11:35:36Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:37:46Z amb007 joined #lisp 2021-04-22T11:38:31Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:42:07Z amb007 joined #lisp 2021-04-22T11:44:11Z theothornhill joined #lisp 2021-04-22T11:46:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:46:51Z amb007 joined #lisp 2021-04-22T11:46:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:47:05Z amb007 joined #lisp 2021-04-22T11:49:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:49:12Z ikrabbe quit (Read error: Connection reset by peer) 2021-04-22T11:50:02Z amb007 joined #lisp 2021-04-22T11:51:33Z kevingal joined #lisp 2021-04-22T11:51:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:52:09Z amb007 joined #lisp 2021-04-22T11:54:13Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:54:39Z amb007 joined #lisp 2021-04-22T11:54:40Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:55:00Z amb007 joined #lisp 2021-04-22T11:55:09Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:55:16Z amb007 joined #lisp 2021-04-22T11:56:33Z aeth quit (Ping timeout: 240 seconds) 2021-04-22T11:56:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:56:50Z amb007 joined #lisp 2021-04-22T11:56:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:57:05Z amb007 joined #lisp 2021-04-22T11:58:33Z Bike joined #lisp 2021-04-22T11:58:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T11:58:45Z aeth joined #lisp 2021-04-22T11:59:45Z amb007 joined #lisp 2021-04-22T12:01:48Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T12:02:20Z amb007 joined #lisp 2021-04-22T12:02:52Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T12:03:03Z amb007 joined #lisp 2021-04-22T12:03:50Z aeth quit (Ping timeout: 246 seconds) 2021-04-22T12:04:00Z penguwin7 joined #lisp 2021-04-22T12:04:51Z penguwin quit (Ping timeout: 245 seconds) 2021-04-22T12:04:51Z penguwin7 is now known as penguwin 2021-04-22T12:04:52Z amb007 quit (Read error: Connection reset by peer) 2021-04-22T12:04:55Z 32NAABC2Y joined #lisp 2021-04-22T12:04:57Z Oddity joined #lisp 2021-04-22T12:05:14Z aeth joined #lisp 2021-04-22T12:05:30Z amb007 joined #lisp 2021-04-22T12:06:00Z Oddity- quit (Ping timeout: 245 seconds) 2021-04-22T12:07:06Z daphnis_ quit (Ping timeout: 265 seconds) 2021-04-22T12:09:06Z 32NAABC2Y quit (Ping timeout: 245 seconds) 2021-04-22T12:16:08Z Lycurgus quit (Quit: Exeunt) 2021-04-22T12:20:38Z aartaka quit (Ping timeout: 265 seconds) 2021-04-22T12:23:18Z aartaka joined #lisp 2021-04-22T12:29:19Z Josh_2: jeosol: I gave SBCL 8gb space, still froze up 2021-04-22T12:32:37Z skapata joined #lisp 2021-04-22T12:33:49Z Nilby: If you have repitition in your data, you might try converting strings to symbols, and numbers parsed. 2021-04-22T12:41:34Z Alfr is now known as Guest55772 2021-04-22T12:41:34Z Guest55772 quit (Killed (egan.freenode.net (Nickname regained by services))) 2021-04-22T12:41:39Z Alfr joined #lisp 2021-04-22T12:42:24Z jeosol: Josh_2: Oh really? Hmm. It is one-off task or something you'd have to do repeatedly. In my case, I had to extract several large 3d arrays (5 million elements) from the scattered data, so I got a file-stream to the file, and used do loop and cl-ppcre to match certain parts of the file and extra data afterwards 2021-04-22T12:42:40Z Josh_2: I'm basically just messing about with a code test my friend had 2021-04-22T12:42:50Z jeosol: Josh_2: if the data is well formatted, you can just extract it yourself. 2021-04-22T12:42:54Z jeosol: Oh I see, ok 2021-04-22T12:43:16Z Josh_2: it is well formatted data. At some point today I will mmap the file and just use cl-csv to parse each row individually 2021-04-22T12:44:30Z jeosol: yeah, I think the latter approach should work. For my case, I described, it was impossible to read the whole file so I opted to process it and extra the required data 2021-04-22T12:53:04Z gzj quit (Remote host closed the connection) 2021-04-22T12:54:24Z gzj joined #lisp 2021-04-22T13:00:43Z random-nick joined #lisp 2021-04-22T13:03:48Z curtosis joined #lisp 2021-04-22T13:04:06Z frgo quit (*.net *.split) 2021-04-22T13:04:06Z thinkpad quit (*.net *.split) 2021-04-22T13:04:06Z cosimone quit (*.net *.split) 2021-04-22T13:04:06Z jonatack quit (*.net *.split) 2021-04-22T13:04:06Z semz quit (*.net *.split) 2021-04-22T13:04:06Z mrchampion quit (*.net *.split) 2021-04-22T13:04:06Z kopiyka quit (*.net *.split) 2021-04-22T13:04:06Z __jrjsmrtn__ quit (*.net *.split) 2021-04-22T13:04:06Z beaky quit (*.net *.split) 2021-04-22T13:04:06Z Shinmera quit (*.net *.split) 2021-04-22T13:04:06Z TMA quit (*.net *.split) 2021-04-22T13:04:25Z Nilby quit (Ping timeout: 250 seconds) 2021-04-22T13:05:34Z frgo joined #lisp 2021-04-22T13:05:34Z thinkpad joined #lisp 2021-04-22T13:05:34Z cosimone joined #lisp 2021-04-22T13:05:34Z jonatack joined #lisp 2021-04-22T13:05:34Z semz joined #lisp 2021-04-22T13:05:34Z mrchampion joined #lisp 2021-04-22T13:05:34Z kopiyka joined #lisp 2021-04-22T13:05:34Z __jrjsmrtn__ joined #lisp 2021-04-22T13:05:34Z Shinmera joined #lisp 2021-04-22T13:05:34Z TMA joined #lisp 2021-04-22T13:06:07Z beaky joined #lisp 2021-04-22T13:06:39Z kmeow quit (Remote host closed the connection) 2021-04-22T13:08:17Z daphnis joined #lisp 2021-04-22T13:09:05Z gzj quit (Read error: Connection reset by peer) 2021-04-22T13:09:26Z gzj joined #lisp 2021-04-22T13:12:45Z luckless quit (Remote host closed the connection) 2021-04-22T13:13:05Z gzj quit (Remote host closed the connection) 2021-04-22T13:13:27Z gzj joined #lisp 2021-04-22T13:14:05Z aartaka_d joined #lisp 2021-04-22T13:14:05Z gzj quit (Remote host closed the connection) 2021-04-22T13:14:25Z gzj joined #lisp 2021-04-22T13:15:07Z gzj quit (Remote host closed the connection) 2021-04-22T13:15:27Z gzj joined #lisp 2021-04-22T13:15:46Z splittist: Josh_2: do you need the full set of extracted data 'in memory'? (I know we keep asking these questions.) If each line is independent (and, if it's CSV, it probably is) then snarfing the whole thing in one hit and keeping it as e.g. strings is awfully general, but probably not what you need, and maybe not what the java version is doing. 2021-04-22T13:15:56Z aartaka quit (Ping timeout: 246 seconds) 2021-04-22T13:16:05Z luckless joined #lisp 2021-04-22T13:16:06Z gzj quit (Remote host closed the connection) 2021-04-22T13:16:26Z gzj joined #lisp 2021-04-22T13:17:06Z gzj quit (Remote host closed the connection) 2021-04-22T13:17:26Z gzj joined #lisp 2021-04-22T13:18:00Z zefram22 joined #lisp 2021-04-22T13:18:05Z gzj quit (Remote host closed the connection) 2021-04-22T13:18:15Z yitzi joined #lisp 2021-04-22T13:18:47Z gzj joined #lisp 2021-04-22T13:19:06Z gzj quit (Remote host closed the connection) 2021-04-22T13:19:25Z gzj joined #lisp 2021-04-22T13:21:07Z gzj quit (Remote host closed the connection) 2021-04-22T13:21:16Z Josh_2: splittist: i think it would be easier to have it all in memory, that way I can play around with it 2021-04-22T13:21:27Z Josh_2: well my friend failed to even load it into Java 2021-04-22T13:21:28Z gzj joined #lisp 2021-04-22T13:21:55Z cosimone quit (Remote host closed the connection) 2021-04-22T13:23:40Z jmercouris: always preferable to work with CSVs as a stream 2021-04-22T13:23:44Z jmercouris: you don't know how long they will be 2021-04-22T13:23:57Z jmercouris: s/always/frequently 2021-04-22T13:24:41Z sukaeto joined #lisp 2021-04-22T13:25:21Z thinkpad quit (Ping timeout: 245 seconds) 2021-04-22T13:26:06Z gzj quit (Ping timeout: 240 seconds) 2021-04-22T13:27:29Z _heisig joined #lisp 2021-04-22T13:29:35Z thinkpad joined #lisp 2021-04-22T13:29:45Z heisig quit (Ping timeout: 265 seconds) 2021-04-22T13:29:50Z cosimone joined #lisp 2021-04-22T13:34:01Z theothornhill quit (Ping timeout: 260 seconds) 2021-04-22T13:37:36Z theothornhill joined #lisp 2021-04-22T13:38:20Z thinkpad quit (Ping timeout: 246 seconds) 2021-04-22T13:40:55Z IPmonger quit (Quit: ZNC 1.7.5+deb4 - https://znc.in) 2021-04-22T13:42:30Z _heisig is now known as heisig 2021-04-22T13:42:46Z IPmonger joined #lisp 2021-04-22T13:54:11Z aeth quit (Ping timeout: 240 seconds) 2021-04-22T13:56:07Z aeth joined #lisp 2021-04-22T13:58:51Z thinkpad joined #lisp 2021-04-22T14:01:14Z thinkpad quit (Read error: Connection reset by peer) 2021-04-22T14:01:49Z waleee-cl joined #lisp 2021-04-22T14:02:18Z wsinatra joined #lisp 2021-04-22T14:04:06Z aeth quit (Ping timeout: 240 seconds) 2021-04-22T14:05:31Z curtosis is now known as curtosis[away] 2021-04-22T14:06:19Z aeth joined #lisp 2021-04-22T14:06:22Z thinkpad joined #lisp 2021-04-22T14:11:14Z theothornhill quit (Remote host closed the connection) 2021-04-22T14:14:24Z curtosis[away] quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…) 2021-04-22T14:16:09Z daphnis quit (Ping timeout: 265 seconds) 2021-04-22T14:19:10Z MichaelRaskin quit (Remote host closed the connection) 2021-04-22T14:20:21Z cage_ joined #lisp 2021-04-22T14:24:15Z aeth: Not directly Lisp related, but just a heads up for anyone who doesn't follow nerd news, any @umn.edu email could have been introducing vulnerabilities to your FOSS project for someone's research paper. They have been banned from the Linux kernel for doing so. 2021-04-22T14:24:58Z gzj joined #lisp 2021-04-22T14:24:59Z aeth: The details seem to rely on C use-after-free bugs, but some CL implementations are written in C or C++ so that doesn't make this channel immune. 2021-04-22T14:25:03Z varjag quit (Quit: ERC (IRC client for Emacs 26.3)) 2021-04-22T14:27:48Z matty joined #lisp 2021-04-22T14:30:06Z gzj quit (Ping timeout: 240 seconds) 2021-04-22T14:30:42Z hendursaga quit (Remote host closed the connection) 2021-04-22T14:30:50Z MichaelRaskin joined #lisp 2021-04-22T14:31:07Z hendursaga joined #lisp 2021-04-22T14:35:03Z edvardo_ quit (Remote host closed the connection) 2021-04-22T14:35:24Z theothornhill joined #lisp 2021-04-22T14:39:13Z aartaka joined #lisp 2021-04-22T14:42:16Z aartaka_d quit (Ping timeout: 252 seconds) 2021-04-22T14:42:44Z aartaka_d joined #lisp 2021-04-22T14:46:17Z aartaka quit (Ping timeout: 260 seconds) 2021-04-22T14:47:05Z zefram22 quit (Ping timeout: 265 seconds) 2021-04-22T14:49:22Z Bike: given the paper is about linux, i don't see why they would also hit random other projects 2021-04-22T14:51:44Z bitmapper joined #lisp 2021-04-22T14:57:26Z ljavorsk quit (Ping timeout: 240 seconds) 2021-04-22T14:58:44Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-22T15:04:06Z andrei-n quit (Quit: Leaving) 2021-04-22T15:06:05Z theothornhill joined #lisp 2021-04-22T15:06:11Z orivej quit (Ping timeout: 260 seconds) 2021-04-22T15:06:38Z theothor` joined #lisp 2021-04-22T15:08:33Z nature joined #lisp 2021-04-22T15:10:19Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-22T15:11:34Z CrashTestDummy joined #lisp 2021-04-22T15:12:04Z theothor` quit (Remote host closed the connection) 2021-04-22T15:14:43Z CrashTestDummy2 quit (Ping timeout: 268 seconds) 2021-04-22T15:25:27Z klltkr joined #lisp 2021-04-22T15:34:12Z Sheilong joined #lisp 2021-04-22T15:40:16Z yitzi quit (Quit: yitzi) 2021-04-22T16:04:13Z long4mud quit (Ping timeout: 240 seconds) 2021-04-22T16:05:06Z thomasb06 quit (Remote host closed the connection) 2021-04-22T16:07:39Z varjagg joined #lisp 2021-04-22T16:09:02Z sp41 joined #lisp 2021-04-22T16:09:04Z sp41 quit (Client Quit) 2021-04-22T16:09:27Z sp41 joined #lisp 2021-04-22T16:15:04Z matty quit (Remote host closed the connection) 2021-04-22T16:16:24Z hendursaga quit (Remote host closed the connection) 2021-04-22T16:16:47Z hendursaga joined #lisp 2021-04-22T16:18:01Z f4r59 joined #lisp 2021-04-22T16:18:19Z f4r5 quit (Read error: Connection reset by peer) 2021-04-22T16:28:36Z cosimone` joined #lisp 2021-04-22T16:29:59Z cosimone quit (Ping timeout: 245 seconds) 2021-04-22T16:31:55Z OlCe joined #lisp 2021-04-22T16:36:25Z cosimone` quit (Read error: Connection reset by peer) 2021-04-22T16:36:36Z cosimone` joined #lisp 2021-04-22T16:47:42Z srhm joined #lisp 2021-04-22T16:53:12Z aeth quit (Ping timeout: 240 seconds) 2021-04-22T16:53:17Z ebrasca joined #lisp 2021-04-22T16:53:45Z hypercube joined #lisp 2021-04-22T16:55:13Z aeth joined #lisp 2021-04-22T17:01:01Z jdz: Supply chain attacks are all the rage now. 2021-04-22T17:02:08Z jeosol quit (Quit: Connection closed) 2021-04-22T17:05:22Z imode joined #lisp 2021-04-22T17:15:36Z gareppa joined #lisp 2021-04-22T17:16:29Z gareppa quit (Remote host closed the connection) 2021-04-22T17:26:20Z gzj joined #lisp 2021-04-22T17:28:09Z curtosis joined #lisp 2021-04-22T17:28:43Z curtosis is now known as curtosis[away] 2021-04-22T17:30:24Z andrei-n joined #lisp 2021-04-22T17:31:07Z gzj quit (Ping timeout: 252 seconds) 2021-04-22T17:39:39Z yacatuco__ joined #lisp 2021-04-22T17:39:41Z _paul0 joined #lisp 2021-04-22T17:40:06Z mseddon12 joined #lisp 2021-04-22T17:40:08Z docl_ joined #lisp 2021-04-22T17:40:10Z Gromboli5 joined #lisp 2021-04-22T17:40:53Z casual_friday_ joined #lisp 2021-04-22T17:40:57Z jurov_ joined #lisp 2021-04-22T17:40:58Z jrm2 joined #lisp 2021-04-22T17:41:06Z mrSpec` joined #lisp 2021-04-22T17:41:46Z Noisytoot_ joined #lisp 2021-04-22T17:41:57Z glamas_ joined #lisp 2021-04-22T17:42:40Z markasoftware_ joined #lisp 2021-04-22T17:43:36Z kslt1_ joined #lisp 2021-04-22T17:43:43Z phadthai_ joined #lisp 2021-04-22T17:43:45Z sxmx1 joined #lisp 2021-04-22T17:43:48Z Iolo_ joined #lisp 2021-04-22T17:43:53Z deltab_ joined #lisp 2021-04-22T17:44:01Z snits_ joined #lisp 2021-04-22T17:44:06Z quazimod1 joined #lisp 2021-04-22T17:44:49Z xlei_ joined #lisp 2021-04-22T17:46:07Z Noisytoot quit (Disconnected by services) 2021-04-22T17:46:11Z Noisytoot_ is now known as Noisytoot 2021-04-22T17:48:33Z curtosis[away] quit (*.net *.split) 2021-04-22T17:48:33Z phantomics quit (*.net *.split) 2021-04-22T17:48:33Z Gromboli quit (*.net *.split) 2021-04-22T17:48:33Z notzmv quit (*.net *.split) 2021-04-22T17:48:34Z paul0 quit (*.net *.split) 2021-04-22T17:48:34Z glamas quit (*.net *.split) 2021-04-22T17:48:34Z davros quit (*.net *.split) 2021-04-22T17:48:34Z ukari quit (*.net *.split) 2021-04-22T17:48:34Z mrSpec quit (*.net *.split) 2021-04-22T17:48:34Z yacatuco_ quit (*.net *.split) 2021-04-22T17:48:34Z jurov quit (*.net *.split) 2021-04-22T17:48:34Z kslt1 quit (*.net *.split) 2021-04-22T17:48:34Z quazimodo quit (*.net *.split) 2021-04-22T17:48:34Z sjl quit (*.net *.split) 2021-04-22T17:48:34Z mseddon1 quit (*.net *.split) 2021-04-22T17:48:34Z casual_friday quit (*.net *.split) 2021-04-22T17:48:34Z jrm quit (*.net *.split) 2021-04-22T17:48:34Z Iolo quit (*.net *.split) 2021-04-22T17:48:34Z docl quit (*.net *.split) 2021-04-22T17:48:34Z deltab quit (*.net *.split) 2021-04-22T17:48:34Z xlei quit (*.net *.split) 2021-04-22T17:48:34Z snits quit (*.net *.split) 2021-04-22T17:48:34Z markasoftware quit (*.net *.split) 2021-04-22T17:48:34Z phadthai quit (*.net *.split) 2021-04-22T17:48:34Z sxmx quit (*.net *.split) 2021-04-22T17:48:34Z Khisanth quit (*.net *.split) 2021-04-22T17:48:34Z Gromboli5 is now known as Gromboli 2021-04-22T17:48:34Z xlei_ is now known as xlei 2021-04-22T17:48:34Z jrm2 is now known as jrm 2021-04-22T17:48:36Z mseddon12 is now known as mseddon1 2021-04-22T17:48:43Z Iolo_ is now known as Iolo 2021-04-22T17:54:19Z varjagg is now known as varjag 2021-04-22T17:54:53Z phantomics joined #lisp 2021-04-22T17:55:04Z Khisanth joined #lisp 2021-04-22T17:55:19Z davros joined #lisp 2021-04-22T17:55:46Z sjl joined #lisp 2021-04-22T17:58:42Z DHARMAKAYA joined #lisp 2021-04-22T17:59:46Z klltkr quit (Ping timeout: 240 seconds) 2021-04-22T18:03:31Z klltkr joined #lisp 2021-04-22T18:04:36Z aeth_ joined #lisp 2021-04-22T18:04:40Z aeth quit (Disconnected by services) 2021-04-22T18:04:45Z aeth_ is now known as aeth 2021-04-22T18:12:20Z tophullyte joined #lisp 2021-04-22T18:19:20Z sauvin quit (Remote host closed the connection) 2021-04-22T18:21:44Z hypercube quit (Quit: WeeChat 3.1) 2021-04-22T18:22:18Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-22T18:24:54Z orivej joined #lisp 2021-04-22T18:33:03Z kslt1_ quit (Quit: leaving) 2021-04-22T18:35:21Z saganman joined #lisp 2021-04-22T18:35:29Z deltab_ is now known as deltab 2021-04-22T18:36:10Z ebrasca quit (Remote host closed the connection) 2021-04-22T18:38:26Z gaqwas joined #lisp 2021-04-22T18:41:27Z kslt1_ joined #lisp 2021-04-22T18:42:14Z sveit: hi. i was wondering about the semantics of dynamic-extent. is the following an allowed use of dynamic-extent? (let ((x (list 'a))) (let ((y x)) (declare (dynamic-extent y)) (rplacd y 'b)) x) 2021-04-22T18:48:15Z kslt1_ quit (Quit: leaving) 2021-04-22T18:49:17Z copec: Does anyone see emacs become slow and laggy after doing a trace on some functions 2021-04-22T18:53:09Z zzappie quit (Ping timeout: 240 seconds) 2021-04-22T18:53:13Z kslt1 joined #lisp 2021-04-22T18:58:26Z anticrisis joined #lisp 2021-04-22T19:01:23Z cranium_ quit (Quit: Leaving) 2021-04-22T19:03:49Z theothornhill joined #lisp 2021-04-22T19:03:56Z jackdaniel: emacs has a decent performance until its buffers exceed some relatively big size 2021-04-22T19:04:11Z jackdaniel: you may try to C-c o your REPL buffer 2021-04-22T19:04:20Z jackdaniel: sometimes it helps 2021-04-22T19:06:34Z surabax quit (Quit: Leaving) 2021-04-22T19:10:30Z kslt1 quit (Quit: leaving) 2021-04-22T19:11:28Z copec tries 2021-04-22T19:21:26Z Josh_2: I don't get this, I've given SBCL 8gb dynamic space, it gets about halfway through my dataset and just stops 2021-04-22T19:21:44Z Duuqnd joined #lisp 2021-04-22T19:22:14Z Shinmera: How big is the dataset? 2021-04-22T19:22:19Z Josh_2: 1.1gb 2021-04-22T19:22:23Z Shinmera: utf8 strings? 2021-04-22T19:22:38Z Josh_2: I'm not sure about that 2021-04-22T19:22:50Z Shinmera: loading that into the native UTF32 strings will already incur a x4 explosion of size about. 2021-04-22T19:22:53Z copec: What is it stopped on if you interrupt the thread? 2021-04-22T19:23:27Z Shinmera: so that's 4.4GB. Then add to that other copies and cruft and that there's space needed for multiple generations, and you might run into GC problems with that set. 2021-04-22T19:23:46Z Shinmera: even at 8GB heap. 2021-04-22T19:23:58Z Shinmera: try increasing it to 32GB or what, even if you don't have that much RAM. 2021-04-22T19:24:25Z Josh_2: Well I can load them as ascii 2021-04-22T19:28:22Z copec: Shinmera: Do you think the request packet is getting lost, so it is just sitting there waiting? https://unaen.org/pb/31h 2021-04-22T19:30:05Z Shinmera: hmm. hard to say. 2021-04-22T19:30:19Z copec: It stops at arbitrary domain names and just sits at the same point (SB-BSD-SOCKETS::CALL-WITH-SOCKET-ADDR 2021-04-22T19:31:52Z copec: I'm not sure if it is at a level that it is up to (proverbial) you to resend requests, or if that is in the ip stack 2021-04-22T19:32:17Z ebrasca joined #lisp 2021-04-22T19:32:32Z Shinmera: Maybe, though the library should definitely guard against such problems. 2021-04-22T19:38:19Z karlosz joined #lisp 2021-04-22T19:42:31Z zzappie joined #lisp 2021-04-22T19:49:38Z notzmv joined #lisp 2021-04-22T19:52:23Z dunk quit (Ping timeout: 260 seconds) 2021-04-22T19:52:41Z buoy49 quit (Read error: Connection reset by peer) 2021-04-22T19:52:49Z jerme_ quit (Read error: Connection reset by peer) 2021-04-22T19:52:51Z sz0 quit (Read error: Connection reset by peer) 2021-04-22T19:52:51Z alanz quit (Read error: Connection reset by peer) 2021-04-22T19:52:51Z spikhoff quit (Read error: Connection reset by peer) 2021-04-22T19:52:51Z b20n quit (Read error: Connection reset by peer) 2021-04-22T19:55:10Z casual_friday_ quit (Quit: %bye%) 2021-04-22T19:56:29Z CL-ASHOK joined #lisp 2021-04-22T19:56:48Z CL-ASHOK: I saw some questions in the log re rich text editor & websites with Lisp 2021-04-22T19:56:55Z mindCrime joined #lisp 2021-04-22T19:57:38Z CL-ASHOK: For that individual (or anyone else), check out https://writer.math.dev as its a clean rich text editor (you can copy the code from GitHub) which will output to HTML 2021-04-22T19:57:44Z jerme_ joined #lisp 2021-04-22T19:58:21Z alanz joined #lisp 2021-04-22T19:58:22Z Lord_of_Life_ joined #lisp 2021-04-22T19:58:24Z buoy49 joined #lisp 2021-04-22T19:58:27Z b20n joined #lisp 2021-04-22T19:58:29Z CL-ASHOK: I'm in the process of building a static version of Wordpress via Lisp (basically have a database of content, then get lisp to generate all the html files, then host the html files statically), that could be a good alternative 2021-04-22T19:58:33Z spikhoff joined #lisp 2021-04-22T19:58:38Z dunk joined #lisp 2021-04-22T19:59:15Z sz0 joined #lisp 2021-04-22T19:59:24Z kagevf: CL-ASHOK: do you use nyxt? asking because you could use it to write browser level tests in lisp for your site 2021-04-22T19:59:55Z kagevf: I've been dabbling with that approach recently ... it's fun :) 2021-04-22T20:00:35Z CL-ASHOK: Didn't hear of it until you mentioned it, but looks pretty cool 2021-04-22T20:00:40Z CL-ASHOK: with emacs / vim bindings 2021-04-22T20:01:02Z CL-ASHOK: is it a browser or a command line? 2021-04-22T20:01:21Z Lord_of_Life quit (Ping timeout: 260 seconds) 2021-04-22T20:01:21Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-22T20:01:59Z Shinmera: CL-ASHOK: there's coleslaw for static site generation 2021-04-22T20:03:57Z CL-ASHOK: @shinmera - nice, I hadn't heard of it. I just finished my version at work today :)  Very basic version via html-template and some loops 2021-04-22T20:03:59Z saganman quit (Quit: tinkerty tonk) 2021-04-22T20:05:46Z cage_ quit (Quit: Leaving) 2021-04-22T20:07:22Z kagevf: CL-ASHOK: it's a browser, but you can start a swank server on it and connect to it from emacs 2021-04-22T20:07:24Z kslt1 joined #lisp 2021-04-22T20:10:19Z CL-ASHOK: kagevf nice, good to see new browsers coming up, otherwise Chrome & Safari are dominating too much. And Lisp gets a mention in it too :D 2021-04-22T20:10:29Z CL-ASHOK: I'll definitely check it out 2021-04-22T20:10:59Z kagevf: it's written in CL! :) 2021-04-22T20:11:26Z CL-ASHOK: :shock: 2021-04-22T20:11:35Z CL-ASHOK: That's awesome 2021-04-22T20:12:42Z Josh_2: Okay cool managed to parse all that data and I'm barely using any ram 2021-04-22T20:13:16Z Josh_2: using about 1.8gb I think 2021-04-22T20:13:22Z Josh_2: not bad for a 1.1gb file 2021-04-22T20:14:04Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-22T20:18:38Z pve_ joined #lisp 2021-04-22T20:20:59Z djuber joined #lisp 2021-04-22T20:21:49Z pve quit (Ping timeout: 260 seconds) 2021-04-22T20:23:03Z attila_lendvai quit (Ping timeout: 268 seconds) 2021-04-22T20:23:12Z pve_ quit (Ping timeout: 240 seconds) 2021-04-22T20:23:32Z alanz quit (Ping timeout: 258 seconds) 2021-04-22T20:24:33Z Josh_2: takes about 2 minutes 20 seconds to convert all 13 million lines 2021-04-22T20:26:16Z alanz joined #lisp 2021-04-22T20:26:24Z anticrisis_ joined #lisp 2021-04-22T20:29:24Z DGASAU quit (Read error: Connection reset by peer) 2021-04-22T20:29:26Z anticrisis quit (Ping timeout: 240 seconds) 2021-04-22T20:29:52Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-22T20:30:10Z CL-ASHOK: that's fast 2021-04-22T20:30:52Z Josh_2: Would be nice if I could dump the lisp image with all of that data in it 2021-04-22T20:30:57Z Josh_2: save me converting it over and over 2021-04-22T20:31:13Z CL-ASHOK: which persistent store you are using? 2021-04-22T20:31:43Z albusp quit (Quit: albusp) 2021-04-22T20:31:55Z albusp joined #lisp 2021-04-22T20:33:19Z Josh_2: none 2021-04-22T20:34:07Z Josh_2: It would be cool if SBCL could remember what it had in memory and you dump all of it, dump an image with 1.8gb of data in it 2021-04-22T20:35:09Z Krystof: does save-lisp-and-die not do what you want? 2021-04-22T20:38:13Z CL-ASHOK quit (Quit: Ping timeout (120 seconds)) 2021-04-22T20:38:28Z narimiran quit (Ping timeout: 265 seconds) 2021-04-22T20:40:56Z Josh_2: how big is a short-float on SBCL? 2021-04-22T20:42:19Z mfiano: The same as a single-float 2021-04-22T20:43:37Z DGASAU joined #lisp 2021-04-22T20:44:36Z Josh_2: save-lisp-and-die saves the bare minimum state in order to restore the image, it doesn't dump your ram etc 2021-04-22T20:44:45Z Krystof: um 2021-04-22T20:44:50Z Josh_2: although that would be a cool feature, using your lisp image as a database 2021-04-22T20:44:50Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-22T20:45:05Z Krystof: it absolutely does dump the whole of the reachable lisp heap 2021-04-22T20:45:09Z aartaka joined #lisp 2021-04-22T20:46:33Z Josh_2: It does? *think* 2021-04-22T20:46:41Z Josh_2: maybe I should give it a try then 2021-04-22T20:51:16Z aartaka_d joined #lisp 2021-04-22T20:51:36Z jmercouris: yes it absolutely does 2021-04-22T20:51:45Z jmercouris: and I've used to to preload data into a lisp program 2021-04-22T20:53:16Z aeth quit (Ping timeout: 268 seconds) 2021-04-22T20:54:04Z aartaka quit (Ping timeout: 252 seconds) 2021-04-22T20:54:32Z aeth joined #lisp 2021-04-22T20:54:56Z CL-ASHOK joined #lisp 2021-04-22T20:55:22Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-22T20:57:11Z CL-ASHOK: Josh_2 try https://github.com/hanshuebner/bknr-datastore 2021-04-22T20:57:20Z Josh_2: I must be doing something wrong, my binary is 50mb, not 1.6gb 2021-04-22T20:57:21Z CL-ASHOK: I haven't used it, but it got some positive feedback online 2021-04-22T20:57:41Z mfiano: Then you aren't holding onto that data and the GC is reclaiming it 2021-04-22T20:57:53Z mfiano: Reference anything you don't want free'd 2021-04-22T21:00:27Z CL-ASHOK quit (Quit: Connection closed) 2021-04-22T21:01:05Z CL-ASHOK joined #lisp 2021-04-22T21:04:20Z grnman_ joined #lisp 2021-04-22T21:04:53Z akoana joined #lisp 2021-04-22T21:07:47Z gaqwas joined #lisp 2021-04-22T21:07:47Z gaqwas quit (Changing host) 2021-04-22T21:07:47Z gaqwas joined #lisp 2021-04-22T21:08:11Z casual_friday joined #lisp 2021-04-22T21:09:56Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-22T21:10:28Z Josh_2: Well I dont know how to do that persistantly 2021-04-22T21:13:20Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-22T21:13:38Z Josh_2: I tried referencing the variable in my toplevel function but that doesn't work, so idk what i'm supposed to do 2021-04-22T21:14:28Z kagevf: Josh_2: maybe try using defvar? 2021-04-22T21:14:34Z kagevf: to assign it 2021-04-22T21:14:35Z Spawns_Carpeting joined #lisp 2021-04-22T21:15:46Z shka_ quit (Ping timeout: 240 seconds) 2021-04-22T21:16:15Z CL-ASHOK: Shinmera Is there an easy way to reset all of portables settings so that I can just re-use my own .emacs file? 2021-04-22T21:17:10Z Shinmera: no 2021-04-22T21:18:08Z CL-ASHOK: Cool thanks 2021-04-22T21:18:16Z mrSpec` quit (Changing host) 2021-04-22T21:18:17Z mrSpec` joined #lisp 2021-04-22T21:18:37Z mrSpec` is now known as mrSpec 2021-04-22T21:18:53Z andrei-n quit (Quit: Leaving) 2021-04-22T21:19:00Z Shinmera: You'll have to make do with putting customisations into config/user.el. 2021-04-22T21:19:40Z Josh_2: kagevf: I used defparameter when I tried 2021-04-22T21:19:44Z Josh_2: Anyway gotta dash 2021-04-22T21:21:46Z CL-ASHOK: Yep, that's what I'm doing. I must have made a mistake in my file somewhere, paredit is no longer working, so need to debug now 2021-04-22T21:23:26Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-22T21:31:13Z anticrisis_ quit (Read error: Connection reset by peer) 2021-04-22T21:32:37Z Duuqnd quit (Quit: Connection closed) 2021-04-22T21:34:31Z __jrjsmrtn__ quit (Ping timeout: 245 seconds) 2021-04-22T21:35:16Z __jrjsmrtn__ joined #lisp 2021-04-22T21:36:01Z nature quit (Ping timeout: 260 seconds) 2021-04-22T21:36:10Z Nilby joined #lisp 2021-04-22T21:38:42Z CL-ASHOK quit (Quit: Ping timeout (120 seconds)) 2021-04-22T21:40:03Z CL-ASHOK joined #lisp 2021-04-22T21:41:38Z hypercube joined #lisp 2021-04-22T21:49:30Z CL-ASHOK quit (Quit: Ping timeout (120 seconds)) 2021-04-22T21:55:38Z gaqwas quit (Ping timeout: 252 seconds) 2021-04-22T21:59:35Z CL-ASHOK joined #lisp 2021-04-22T22:04:31Z heisig quit (Quit: Leaving) 2021-04-22T22:09:56Z srandon111: anybody on netbsd here? 2021-04-22T22:13:52Z CL-ASHOK quit (Quit: Ping timeout (120 seconds)) 2021-04-22T22:14:16Z mathrick quit (Read error: Connection reset by peer) 2021-04-22T22:14:38Z mathrick joined #lisp 2021-04-22T22:16:06Z frgo quit (Remote host closed the connection) 2021-04-22T22:16:32Z frgo joined #lisp 2021-04-22T22:17:33Z random-nick quit (Ping timeout: 260 seconds) 2021-04-22T22:18:10Z kagevf: if nfs is netbsd, then I guess I am 2021-04-22T22:18:51Z kagevf: ah, nope ... it's freebsd ... nm 2021-04-22T22:19:51Z CL-ASHOK joined #lisp 2021-04-22T22:22:02Z CL-ASHOK: Shinmera: Do you know which is the mode which causes all the files to shown in the mini buffer when searching for files C-x C-f? Can't seem to find which mode to disable 2021-04-22T22:27:07Z Bike quit (Quit: Lost terminal) 2021-04-22T22:28:46Z orivej quit (Ping timeout: 240 seconds) 2021-04-22T22:30:07Z DGASAU quit (Read error: Connection reset by peer) 2021-04-22T22:30:23Z pillton joined #lisp 2021-04-22T22:30:39Z DGASAU joined #lisp 2021-04-22T22:33:40Z orivej joined #lisp 2021-04-22T22:34:35Z copec: Shinmera: After doing some poking around with dns-client, it looks like dropped packets is exactly the problem, if a particular dns query udp packet gets dropped along the path, then dns-client just sits forever 2021-04-22T22:34:51Z copec: It doesn't show up until you are going through a list doing a lot of lookups 2021-04-22T22:35:13Z copec: Then you run in the occasional drop 2021-04-22T22:36:10Z copec: I solved it by using dnsmasq locally (macos box) 2021-04-22T22:41:17Z CL-ASHOK: Shinmera: Got it! Ignore my query 2021-04-22T22:43:57Z Bike joined #lisp 2021-04-22T22:44:49Z copec: Shinmera: Are you the one and the same as https://shinmera.github.io/dns-client/index.html 2021-04-22T22:47:02Z cosimone` quit (Read error: Connection reset by peer) 2021-04-22T22:48:05Z kagevf: what was the mode CL-ASHOK ? 2021-04-22T22:48:24Z CL-ASHOK: I think (Ido-mode -1) 2021-04-22T22:48:27Z CL-ASHOK: will do it 2021-04-22T22:48:49Z CL-ASHOK: If you open portacle, and go C-h m, you can see many of the minor modes and then disable them 2021-04-22T22:49:20Z kagevf: does portacle turn ido mode on by default? 2021-04-22T22:49:35Z CL-ASHOK: I also removed smex from some of the portacle settings files, unlikely that was the reason for removing the file suggestions, but perhaps (since I did at same time as Ido) 2021-04-22T22:49:39Z CL-ASHOK: yes I believe it does 2021-04-22T22:50:23Z CL-ASHOK: Now my issue is binding Capslock to Meta on Windows...if anybody knows how (I don't have Admin privileges on my work computer, so can't edit the registry) 2021-04-22T22:50:31Z kagevf: I haven't tried turning on ido mode yet, but will at some point ... heard it's pretty nice 2021-04-22T22:51:07Z CL-ASHOK: I think its pretty good - just my mind at work its hard to get into "full" emacs / lisp mode, so trying to make it as basic as possible 2021-04-22T22:51:42Z CL-ASHOK: since I'm multitasking between ms word / excel / email / emacs and other programs 2021-04-22T22:53:25Z mindCrime quit (Ping timeout: 252 seconds) 2021-04-22T22:54:58Z kagevf: CL-ASHOK: did a quick ddg ... it looks like for windows you have to use a 3rd party app to remap keys ... apparently can't even do it in wsl 2021-04-22T22:55:23Z zzappie quit (Remote host closed the connection) 2021-04-22T22:56:38Z CL-ASHOK: kagevf: Could you send me the link? Wasn't able to find something when I searched 2021-04-22T22:58:21Z CL-ASHOK: Theres SharpKeys, but that also edits the registry, which I think will reset on my machine (according to my IT Helpdesk) 2021-04-22T23:00:08Z Nilby: CL-ASHOK: AutoHotKey 2021-04-22T23:00:19Z Nilby: If you can install it 2021-04-22T23:01:02Z anticrisis joined #lisp 2021-04-22T23:01:07Z kagevf: CL-ASHOK: also "power tools" was another one 2021-04-22T23:03:42Z CL-ASHOK quit (Ping timeout: 240 seconds) 2021-04-22T23:05:27Z CL-ASHOK joined #lisp 2021-04-22T23:09:27Z CL-ASHOK quit (Client Quit) 2021-04-22T23:17:38Z tempest_nox joined #lisp 2021-04-22T23:17:57Z madage quit (Ping timeout: 240 seconds) 2021-04-22T23:22:11Z DGASAU quit (Ping timeout: 240 seconds) 2021-04-22T23:22:53Z spaethnl quit (Ping timeout: 240 seconds) 2021-04-22T23:25:50Z rumbler31 joined #lisp 2021-04-22T23:28:07Z anticrisis_ joined #lisp 2021-04-22T23:28:15Z rumbler31 quit (Remote host closed the connection) 2021-04-22T23:30:51Z vutral_ joined #lisp 2021-04-22T23:31:06Z anticrisis quit (Ping timeout: 240 seconds) 2021-04-22T23:38:34Z DGASAU joined #lisp 2021-04-22T23:40:46Z semz quit (Ping timeout: 245 seconds) 2021-04-22T23:44:28Z DGASAU quit (Read error: Connection reset by peer) 2021-04-22T23:46:11Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-22T23:46:52Z DGASAU joined #lisp 2021-04-22T23:53:13Z quazimod1 quit (Ping timeout: 260 seconds) 2021-04-22T23:53:49Z semz joined #lisp 2021-04-22T23:53:49Z semz quit (Changing host) 2021-04-22T23:53:49Z semz joined #lisp 2021-04-23T00:01:31Z gzj joined #lisp 2021-04-23T00:14:41Z monolithic quit (Remote host closed the connection) 2021-04-23T00:17:06Z gzj quit (Remote host closed the connection) 2021-04-23T00:17:26Z gzj joined #lisp 2021-04-23T00:17:29Z deltab quit (Ping timeout: 260 seconds) 2021-04-23T00:23:40Z deltab joined #lisp 2021-04-23T00:26:46Z orivej quit (Ping timeout: 240 seconds) 2021-04-23T00:28:24Z akoana quit (Quit: leaving) 2021-04-23T00:37:18Z renzhi joined #lisp 2021-04-23T00:43:10Z cantstanya quit (Remote host closed the connection) 2021-04-23T00:45:05Z cantstanya joined #lisp 2021-04-23T00:59:17Z mindCrime joined #lisp 2021-04-23T01:07:09Z Cthulhux: i use clavier+. 2021-04-23T01:11:48Z wxie joined #lisp 2021-04-23T01:12:43Z elflng quit (Quit: leaving) 2021-04-23T01:24:59Z kevingal quit (Remote host closed the connection) 2021-04-23T01:28:50Z rumbler31 joined #lisp 2021-04-23T01:33:28Z rumbler31 quit (Ping timeout: 252 seconds) 2021-04-23T01:34:34Z ebrasca quit (Remote host closed the connection) 2021-04-23T01:35:36Z elflng joined #lisp 2021-04-23T01:36:09Z elflng quit (Client Quit) 2021-04-23T01:37:21Z elflng joined #lisp 2021-04-23T01:37:59Z nullman quit (Remote host closed the connection) 2021-04-23T01:40:17Z nullman joined #lisp 2021-04-23T01:40:23Z Josh_2 quit (Ping timeout: 246 seconds) 2021-04-23T01:56:05Z gzj quit (Remote host closed the connection) 2021-04-23T01:56:14Z jasom: Will the following always use an "e" for the exponent separator? (let ((*read-default-float-format* (type-of x))) (princ x)) 2021-04-23T01:56:26Z gzj joined #lisp 2021-04-23T01:57:07Z jasom: the specification seems to imply that, but doesn't outright say that. 2021-04-23T02:00:05Z gzj quit (Remote host closed the connection) 2021-04-23T02:00:12Z vutral_ quit (Quit: Connection closed for inactivity) 2021-04-23T02:00:26Z gzj joined #lisp 2021-04-23T02:01:41Z quazimodo joined #lisp 2021-04-23T02:07:57Z jeosol joined #lisp 2021-04-23T02:10:01Z jeosol: aeth: I did see the news about umn.edu introducing the vulnerabilities - shocked as well 2021-04-23T02:12:23Z semz really doesn't get the outrage about this 2021-04-23T02:13:30Z semz: this is the kind of thing reviews should catch - other parties are very likely doing this already and they aren't polite enough to announce themselves 2021-04-23T02:13:57Z Bike: mostly i'm amazed that according to their paper, the IRB did not consider it human subject research 2021-04-23T02:13:59Z jasom: semz: as much as I'd like to discuss that, it's OT here 2021-04-23T02:14:04Z Bike: oh yeah, sorry 2021-04-23T02:14:12Z semz: eh, I suppose it is OT 2021-04-23T02:14:40Z aeth: #lispcafe 2021-04-23T02:14:42Z Bike: it's not like they're going around sniping projects, so there's basically no chance of it happening to clisp or something 2021-04-23T02:14:52Z aeth: eh 2021-04-23T02:15:11Z aeth: there's a 0% chance of it happening anywhere in a particular, but there's a nonzero chance of it happening somewhere else 2021-04-23T02:15:18Z aeth: so having that story spread helps 2021-04-23T02:17:45Z aeth: I guess what makes it particularly close to 0% for Lisp implementations is that most are quite old and this whole "cybersecurity" trend is relatively new 2021-04-23T02:18:20Z ukari joined #lisp 2021-04-23T02:18:28Z aeth: It might affect Clasp if someone did something similar to LLVM, though. 2021-04-23T02:18:43Z Bike: clisp has a major open arbitrary code execution flaw 2021-04-23T02:26:05Z DHARMAKAYA quit (Ping timeout: 250 seconds) 2021-04-23T02:26:14Z hypercube quit (Quit: WeeChat 3.1) 2021-04-23T02:27:09Z hypercube joined #lisp 2021-04-23T02:28:56Z tophullyte quit (Remote host closed the connection) 2021-04-23T02:31:22Z tophullyte joined #lisp 2021-04-23T02:35:11Z Sheilong quit 2021-04-23T02:48:12Z quazimodo quit (Ping timeout: 240 seconds) 2021-04-23T02:53:24Z skapata quit (Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the IRC world.) 2021-04-23T02:55:11Z tophullyte quit (Ping timeout: 240 seconds) 2021-04-23T02:57:16Z prxq_ joined #lisp 2021-04-23T02:57:34Z tophullyte joined #lisp 2021-04-23T02:58:52Z renzhi quit (Ping timeout: 276 seconds) 2021-04-23T03:00:52Z prxq quit (Ping timeout: 240 seconds) 2021-04-23T03:02:34Z Alfr is now known as Guest70375 2021-04-23T03:02:39Z Alfr joined #lisp 2021-04-23T03:03:48Z beach: Good morning everyone! 2021-04-23T03:05:05Z Guest70375 quit (Ping timeout: 250 seconds) 2021-04-23T03:07:25Z madage joined #lisp 2021-04-23T03:07:41Z semz quit (Ping timeout: 250 seconds) 2021-04-23T03:09:19Z sp41 quit (Remote host closed the connection) 2021-04-23T03:11:22Z aeth quit (Ping timeout: 252 seconds) 2021-04-23T03:13:05Z aeth joined #lisp 2021-04-23T03:20:05Z srhm quit (Quit: Konversation terminated!) 2021-04-23T03:21:19Z semz joined #lisp 2021-04-23T03:29:42Z quazimodo joined #lisp 2021-04-23T03:48:03Z tophullyte quit (Quit: Leaving) 2021-04-23T03:52:46Z aeth quit (Ping timeout: 240 seconds) 2021-04-23T03:54:47Z aeth joined #lisp 2021-04-23T04:04:28Z surabax joined #lisp 2021-04-23T04:06:19Z Lycurgus joined #lisp 2021-04-23T04:13:06Z gzj quit (Remote host closed the connection) 2021-04-23T04:13:06Z phadthai_ is now known as phadthai 2021-04-23T04:13:26Z gzj joined #lisp 2021-04-23T04:14:33Z quazimodo quit (Ping timeout: 260 seconds) 2021-04-23T04:15:05Z quazimodo joined #lisp 2021-04-23T04:21:16Z quazimodo quit (Ping timeout: 260 seconds) 2021-04-23T04:24:07Z zefram22 joined #lisp 2021-04-23T04:24:35Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-23T04:24:49Z Spawns_Carpeting joined #lisp 2021-04-23T04:26:49Z mindCrime quit (Ping timeout: 265 seconds) 2021-04-23T04:27:07Z gzj quit (Remote host closed the connection) 2021-04-23T04:28:07Z quazimodo joined #lisp 2021-04-23T04:28:38Z zefram22_ joined #lisp 2021-04-23T04:29:01Z zefram22 quit (Ping timeout: 260 seconds) 2021-04-23T04:33:33Z surabax quit (Quit: Leaving) 2021-04-23T04:37:48Z Lycurgus quit (Quit: Exeunt) 2021-04-23T04:47:18Z dvdmuckle quit (Quit: Bouncer Surgery) 2021-04-23T04:49:40Z dvdmuckle joined #lisp 2021-04-23T04:55:44Z Bike quit (Quit: Lost terminal) 2021-04-23T05:06:27Z hjudt quit (Ping timeout: 265 seconds) 2021-04-23T05:07:25Z aeth quit (Ping timeout: 265 seconds) 2021-04-23T05:09:04Z aeth joined #lisp 2021-04-23T05:18:10Z theothornhill joined #lisp 2021-04-23T05:19:33Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-23T05:20:53Z theothornhill quit (Remote host closed the connection) 2021-04-23T05:23:21Z sauvin joined #lisp 2021-04-23T05:23:38Z theothor` joined #lisp 2021-04-23T05:28:11Z theothor` quit (Ping timeout: 240 seconds) 2021-04-23T05:29:40Z gaqwas joined #lisp 2021-04-23T05:29:40Z gaqwas quit (Changing host) 2021-04-23T05:29:40Z gaqwas joined #lisp 2021-04-23T05:33:07Z hjudt joined #lisp 2021-04-23T05:36:50Z rumbler31 joined #lisp 2021-04-23T05:37:30Z karlosz quit (Quit: karlosz) 2021-04-23T05:41:16Z karlosz joined #lisp 2021-04-23T05:45:23Z narimiran joined #lisp 2021-04-23T05:49:13Z hjudt quit (Ping timeout: 252 seconds) 2021-04-23T05:53:20Z yacatuco__ quit (Ping timeout: 265 seconds) 2021-04-23T05:55:16Z tempest_nox quit (Remote host closed the connection) 2021-04-23T05:55:54Z theothor` joined #lisp 2021-04-23T05:57:04Z aindilis quit (Ping timeout: 252 seconds) 2021-04-23T05:59:23Z rumbler31 quit (Remote host closed the connection) 2021-04-23T06:00:11Z theothor` quit (Ping timeout: 240 seconds) 2021-04-23T06:09:10Z kmeow joined #lisp 2021-04-23T06:13:37Z theothor` joined #lisp 2021-04-23T06:18:06Z Shinmera: copec: Yes 2021-04-23T06:18:37Z DHARMAKAYA joined #lisp 2021-04-23T06:19:26Z theothor` quit (Ping timeout: 240 seconds) 2021-04-23T06:19:54Z andrei-n joined #lisp 2021-04-23T06:21:03Z hjudt joined #lisp 2021-04-23T06:21:54Z andrei_n joined #lisp 2021-04-23T06:24:41Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-23T06:25:28Z andrei_n quit (Client Quit) 2021-04-23T06:26:12Z karlosz quit (Ping timeout: 265 seconds) 2021-04-23T06:27:51Z orivej joined #lisp 2021-04-23T06:28:13Z grumble joined #lisp 2021-04-23T06:29:57Z contrapunctus left #lisp 2021-04-23T06:30:11Z contrapunctus joined #lisp 2021-04-23T06:30:47Z jackdaniel: /win 2 2021-04-23T06:32:19Z Shinmera: copec: https://github.com/Shinmera/dns-client/commit/73d2134b2a006d1d3343e2169897382ea606d15f 2021-04-23T06:34:22Z shka_ joined #lisp 2021-04-23T06:37:17Z cranium_ joined #lisp 2021-04-23T06:42:53Z imode quit (Ping timeout: 240 seconds) 2021-04-23T06:49:24Z pve joined #lisp 2021-04-23T06:53:21Z Duuqnd joined #lisp 2021-04-23T06:58:40Z theothor` joined #lisp 2021-04-23T06:59:27Z theothor` quit (Remote host closed the connection) 2021-04-23T07:03:41Z karlosz joined #lisp 2021-04-23T07:05:26Z attila_lendvai joined #lisp 2021-04-23T07:19:13Z long4mud joined #lisp 2021-04-23T07:22:07Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-23T07:26:05Z zzappie joined #lisp 2021-04-23T07:28:36Z zefram22 joined #lisp 2021-04-23T07:29:57Z pillton quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-23T07:31:41Z zefram22_ quit (Ping timeout: 240 seconds) 2021-04-23T07:34:30Z hiroaki_ joined #lisp 2021-04-23T07:40:22Z karlosz quit (Quit: karlosz) 2021-04-23T07:47:46Z lansiir quit (Ping timeout: 260 seconds) 2021-04-23T07:47:53Z orivej quit (Ping timeout: 246 seconds) 2021-04-23T07:48:08Z dickbarends joined #lisp 2021-04-23T07:49:30Z ljavorsk joined #lisp 2021-04-23T07:53:05Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-23T07:54:07Z prxq_ quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-23T07:54:17Z prxq joined #lisp 2021-04-23T07:59:30Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T08:00:00Z rumbler31 joined #lisp 2021-04-23T08:00:09Z anticrisis_ quit (Read error: Connection reset by peer) 2021-04-23T08:00:23Z amb007 joined #lisp 2021-04-23T08:00:50Z ramus quit (Ping timeout: 246 seconds) 2021-04-23T08:03:49Z aartaka joined #lisp 2021-04-23T08:04:31Z rumbler31 quit (Ping timeout: 252 seconds) 2021-04-23T08:04:49Z ramus joined #lisp 2021-04-23T08:08:26Z hendursaga quit (Remote host closed the connection) 2021-04-23T08:08:51Z hendursaga joined #lisp 2021-04-23T08:13:06Z hendursa1 joined #lisp 2021-04-23T08:14:25Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T08:15:22Z amb007 joined #lisp 2021-04-23T08:15:57Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-23T08:17:30Z heisig joined #lisp 2021-04-23T08:18:52Z karlosz joined #lisp 2021-04-23T08:23:24Z shka_: hello 2021-04-23T08:23:38Z shka_: is there a portable way to hide style warning during compile? 2021-04-23T08:24:52Z shka_: other then *error-output* trickery 2021-04-23T08:29:30Z jackdaniel: shka_: how about wrapping the call to compile in handler-bind with ((style-warning (lambda (c) (muffle-warning)))) ;? 2021-04-23T08:34:53Z shka_: jackdaniel: sounds good, let me checking 2021-04-23T08:36:52Z quazimodo quit (Ping timeout: 240 seconds) 2021-04-23T08:37:18Z notzmv quit (Ping timeout: 252 seconds) 2021-04-23T08:37:25Z jdz: jackdaniel: Why the LAMBDA? Can just provide #'muffle-warning, right? 2021-04-23T08:39:41Z shka_: jackdaniel: yes, this seems to do the trick, thank you 2021-04-23T08:39:49Z jackdaniel: sure, I suppose so 2021-04-23T08:39:55Z jackdaniel: just a habit 2021-04-23T08:39:59Z jackdaniel: jdz: ^ 2021-04-23T08:40:26Z jackdaniel: shka_: sure 2021-04-23T08:40:57Z jackdaniel: "Tales of Excessive Lambda Programmer" by Jack London 2021-04-23T08:41:14Z notzmv joined #lisp 2021-04-23T08:42:58Z flip214: LAMBDA includes LAMB for a reason, right? 2021-04-23T08:43:18Z jdz: Da. 2021-04-23T08:44:04Z flip214: meaning milk, wool, food... so basically "serves every need" ;) 2021-04-23T08:48:47Z beach: It also lies down on Broadway. 2021-04-23T08:53:32Z zefram22 quit (Quit: zefram22) 2021-04-23T08:53:57Z zefram22 joined #lisp 2021-04-23T08:59:12Z zefram22 quit (Quit: zefram22) 2021-04-23T08:59:51Z zefram22 joined #lisp 2021-04-23T09:02:45Z shka_: beach: i heard that there is a colony of slippermen there as well 2021-04-23T09:04:18Z beach: I have heard that as well. 2021-04-23T09:04:19Z pyface joined #lisp 2021-04-23T09:05:10Z zefram22 quit (Quit: zefram22) 2021-04-23T09:05:32Z zefram22 joined #lisp 2021-04-23T09:11:28Z no-defun-allowed: Josh_2: Here you go, a rubbish newline counter that counts at about 8 GB/s apparently 2021-04-23T09:14:12Z no-defun-allowed: It's even twice as fast as wc -l. Not that I recommend you ever write a line counter like this. 2021-04-23T09:22:11Z karlosz quit (Ping timeout: 240 seconds) 2021-04-23T09:23:59Z aartaka_d joined #lisp 2021-04-23T09:24:19Z monolithic joined #lisp 2021-04-23T09:25:22Z aartaka quit (Ping timeout: 252 seconds) 2021-04-23T09:26:49Z aartaka joined #lisp 2021-04-23T09:27:22Z prxq quit (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-23T09:28:25Z aartaka_d quit (Ping timeout: 265 seconds) 2021-04-23T09:31:08Z aartaka quit (Ping timeout: 246 seconds) 2021-04-23T09:32:41Z aartaka joined #lisp 2021-04-23T09:44:59Z zap1 joined #lisp 2021-04-23T09:45:33Z zzappie quit (Ping timeout: 240 seconds) 2021-04-23T09:46:52Z orivej joined #lisp 2021-04-23T09:52:43Z Nilby: no-defun-allowed: Wow! That's a very impressive display of insane speed. Is there some way we could harness this maddness in more normal code? Could you somehow make the compiler do this with my shitcode and some vauguely portable with-insanely-fast-simd-macros-for-dummies? 2021-04-23T09:53:50Z cosimone joined #lisp 2021-04-23T09:55:59Z no-defun-allowed: You'd need some vectorising compiler. I know GCC and LLVM can vectorise a fair few things automatically, but I haven't heard of any Lisp compiler do it. (Clasp apparently generates too messy code to get LLVM to vectorise right now, though I wonder how ECL fares.) 2021-04-23T09:57:41Z no-defun-allowed: The compiler needs to know something about SIMD so that it can put vectors in SIMD registers in the end, and I only know that SBCL does; though cl-simd used to work on ECL apparently. 2021-04-23T09:59:08Z flip214: no-defun-allowed: http://danluu.com/assembly-intrinsics/ talks about 16GB/sec, quite some time ago 2021-04-23T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-23T10:00:37Z zap1 is now known as zzappie 2021-04-23T10:01:42Z no-defun-allowed: What are they testing exactly? 2021-04-23T10:02:03Z no-defun-allowed: I do have to deal with virtual memory/mmap too in that test. 2021-04-23T10:05:15Z ffwacom quit (Ping timeout: 246 seconds) 2021-04-23T10:05:15Z Nilby: Even without fully automatic vectorization, the techniques you use here maybe could be harnessed with some wrappers. cl-simd looks a bit tricky to use. Maybe special vectorized versions of some of the sequence functions? 2021-04-23T10:05:24Z zefram22 quit (Quit: zefram22) 2021-04-23T10:05:47Z mjl quit (Ping timeout: 258 seconds) 2021-04-23T10:05:52Z no-defun-allowed: I think that "borrowing" the JEP 338 vector API could be the basis for a manual vectorisation library. 2021-04-23T10:05:55Z zefram22 joined #lisp 2021-04-23T10:06:02Z ffwacom joined #lisp 2021-04-23T10:06:56Z mjl joined #lisp 2021-04-23T10:07:17Z surabax joined #lisp 2021-04-23T10:07:25Z no-defun-allowed: flip214: I see they are doing CRC32 computation, but they also test on a buffer that has already been loaded into memory. 2021-04-23T10:08:10Z no-defun-allowed: By mmaping I suppose we also include some MMU fudging in the runtime measured, even if we are just remapping pages in disk cache. 2021-04-23T10:12:06Z flip214: I guess that petalisp would be a good point for such simd things... << Shinmera 2021-04-23T10:14:20Z pve quit (Ping timeout: 265 seconds) 2021-04-23T10:14:47Z Shinmera: hm? 2021-04-23T10:15:06Z frgo quit (Remote host closed the connection) 2021-04-23T10:15:32Z frgo joined #lisp 2021-04-23T10:15:57Z Shinmera: What do I have to do with this 2021-04-23T10:15:57Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T10:16:06Z amb007 joined #lisp 2021-04-23T10:16:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T10:16:23Z amb007 joined #lisp 2021-04-23T10:17:42Z no-defun-allowed: I think you are thinking of heisig, and we did briefly discuss a vector library and having Petalisp use it. 2021-04-23T10:17:43Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T10:18:23Z amb007 joined #lisp 2021-04-23T10:18:49Z pyface quit (Remote host closed the connection) 2021-04-23T10:21:15Z Nilby: I imagine a Lisp API could be a bit nice than the Java one, and implementation easier without a JVM and JIT getting in the way, but it does seem silly to have 1 core go this fast while there are 15 others idle. 2021-04-23T10:22:56Z no-defun-allowed: Er, SIMD instructions only run on one core. You need to use multiple threads to use multiple cores still. 2021-04-23T10:28:56Z Nilby: Right, I'm thinking about how to mix threading and vectorization. I know everyone seems to use GPUs for this now, but we don't currently seem to compile to GPUs. 2021-04-23T10:29:00Z zefram22_ joined #lisp 2021-04-23T10:30:31Z no-defun-allowed: You can compile (a subset of all possible) Petalisp programs to a GPU if you so desire. 2021-04-23T10:31:29Z no-defun-allowed: c.f https://github.com/theHamsta/petalisp-cuda and https://github.com/no-defun-allowed/oclcl-petalisp (though I have not used it and heisig changes Petalisp often so it likely bitrotted) 2021-04-23T10:31:52Z zefram22 quit (Ping timeout: 240 seconds) 2021-04-23T10:34:45Z flip214: ah, sorry 2021-04-23T10:35:12Z Nilby: no-defun-allowed: Thanks. I didn't know about those. 2021-04-23T10:35:58Z no-defun-allowed: Pro-tip: don't run software by people who write "🦎REDUCTIONS🦎ARE🦎GONE🦎🦎🦎" in a commit message. 2021-04-23T10:36:37Z oxum joined #lisp 2021-04-23T10:37:11Z mohd_lee_smith joined #lisp 2021-04-23T10:39:00Z ukari quit (Remote host closed the connection) 2021-04-23T10:39:32Z ukari joined #lisp 2021-04-23T10:40:43Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T10:41:08Z amb007 joined #lisp 2021-04-23T10:41:26Z Nilby: Hmmm. O_o maybe I like lizard in my commits, and don't fear self-deprecating code. 2021-04-23T10:42:03Z contrapunctus: no-defun-allowed: "lizard reductions are gone"? What does that even mean? 2021-04-23T10:45:09Z no-defun-allowed: "Reductions are gone!" would be what I was thinking when reductions were removed from the intermediate representation, replaced with clever selection and mapping instructions instead. 2021-04-23T10:45:09Z no-defun-allowed: 🦎🦎🦎 is a lizard rave of course. 2021-04-23T10:47:12Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T10:47:23Z amb007 joined #lisp 2021-04-23T10:49:57Z vegansbane6963 joined #lisp 2021-04-23T10:51:39Z saganman joined #lisp 2021-04-23T10:55:35Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T10:55:58Z amb007 joined #lisp 2021-04-23T10:58:57Z klltkr joined #lisp 2021-04-23T11:00:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T11:01:25Z heisig: Can some CS student in this channel please move to my university, so that I can hire him/her for working on SIMD stuff? 2021-04-23T11:01:49Z heisig: We actually have the money, but we can only spend it on our own students. 2021-04-23T11:02:12Z heisig: And I haven't found someone willing/capable enough to work on such a library. 2021-04-23T11:02:53Z amb007 joined #lisp 2021-04-23T11:02:53Z aartaka quit (Read error: Connection reset by peer) 2021-04-23T11:03:13Z aartaka joined #lisp 2021-04-23T11:03:37Z flip214: heisig: would physically moving be necessary? and how much money? ;) 2021-04-23T11:06:19Z heisig: flip214: Yes, moving would be necessary (but I think also worthwhile for a student). We have enough money to hire a student part-time for many months. Probably not enough for you though :) 2021-04-23T11:07:30Z narimiran quit (Ping timeout: 265 seconds) 2021-04-23T11:10:48Z no-defun-allowed: I would say I got oclcl-petalisp working again, but the code generator insists there are four inputs and not two somehow. 2021-04-23T11:11:08Z refusenick quit (Ping timeout: 258 seconds) 2021-04-23T11:11:36Z mohd_lee_smith quit (Quit: Leaving) 2021-04-23T11:12:01Z no-defun-allowed: Ah, Petalisp now emits multiple loads per buffer sometimes, and we use instruction numbers to designate buffers. 2021-04-23T11:13:29Z random-nick joined #lisp 2021-04-23T11:17:20Z oxum quit (Quit: Leaving...) 2021-04-23T11:18:31Z no-defun-allowed: Okay, now it works again. And the patch removed more lines than it added, so I figure something went right. 2021-04-23T11:23:11Z heisig is relieved 2021-04-23T11:26:36Z flip214: heisig: do I look that expensive or important? oh, too old perhaps ;) 2021-04-23T11:33:04Z pve joined #lisp 2021-04-23T11:36:06Z cranium_ quit (Quit: Leaving) 2021-04-23T11:46:34Z nature joined #lisp 2021-04-23T11:48:55Z attila_lendvai quit (Ping timeout: 252 seconds) 2021-04-23T11:51:08Z VincentVega joined #lisp 2021-04-23T11:53:19Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T11:53:48Z amb007 joined #lisp 2021-04-23T12:09:39Z igemnace quit (Quit: WeeChat 3.1) 2021-04-23T12:11:23Z zefram22_ quit (Quit: zefram22_) 2021-04-23T12:11:43Z zefram22 joined #lisp 2021-04-23T12:21:41Z Bike joined #lisp 2021-04-23T12:22:01Z aartaka_d joined #lisp 2021-04-23T12:23:46Z amk quit (Ping timeout: 240 seconds) 2021-04-23T12:23:47Z prxq joined #lisp 2021-04-23T12:25:05Z aartaka quit (Ping timeout: 246 seconds) 2021-04-23T12:25:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T12:26:08Z amb007 joined #lisp 2021-04-23T12:26:34Z zefram22 quit (Quit: zefram22) 2021-04-23T12:26:54Z zefram22 joined #lisp 2021-04-23T12:32:33Z amk joined #lisp 2021-04-23T12:35:29Z jeosol quit (Quit: Connection closed) 2021-04-23T12:39:01Z ebrasca joined #lisp 2021-04-23T12:43:06Z jeosol joined #lisp 2021-04-23T12:49:36Z amk quit (Remote host closed the connection) 2021-04-23T12:52:43Z amk joined #lisp 2021-04-23T12:53:41Z l-n joined #lisp 2021-04-23T12:53:49Z amk quit (Read error: Connection reset by peer) 2021-04-23T12:54:27Z amk joined #lisp 2021-04-23T13:02:29Z elderthunk joined #lisp 2021-04-23T13:06:12Z wsinatra joined #lisp 2021-04-23T13:10:38Z ljavorsk quit (Remote host closed the connection) 2021-04-23T13:15:44Z prxq quit (Quit: Leaving) 2021-04-23T13:18:01Z amb007 quit (Ping timeout: 252 seconds) 2021-04-23T13:18:12Z amb007 joined #lisp 2021-04-23T13:24:21Z Shinmera is too busy making negative money making games to work for heisig 2021-04-23T13:30:06Z heisig: Shinmera: I will buy all your games, so in a sense you are already working for me :) 2021-04-23T13:30:26Z Shinmera: Hah 2021-04-23T13:30:37Z Shinmera: Thanks for the feedback, by the way! 2021-04-23T13:30:38Z ebrasca: Shinmera: Do you mean the 2d game? 2021-04-23T13:31:04Z Shinmera: ebrasca: I have several 2D games, but I mean https://kandria.com, yes. 2021-04-23T13:32:04Z ebrasca: I have read some of those articles , they are good! 2021-04-23T13:32:22Z l-n: wow, that is a nice project for sure... i was looking t it time ago on steam... 2021-04-23T13:32:26Z Josh_2 joined #lisp 2021-04-23T13:32:27Z l-n: at 2021-04-23T13:32:33Z zefram22 quit (Ping timeout: 240 seconds) 2021-04-23T13:32:41Z Josh_2: hi hi hi 2021-04-23T13:32:49Z heisig: Will there be modding support in Kandria? Will I be able to connect via swank? 2021-04-23T13:32:49Z Shinmera: ebrasca: Thanks! :) 2021-04-23T13:33:05Z Josh_2: Is there a way I can turn a string like "250220" and an number in seconds like 28000 into a local-time timestamp? 2021-04-23T13:33:31Z Josh_2: I know I can turn the seconds into a timestamp, just not sure about the date 2021-04-23T13:33:47Z Shinmera: heisig: you already can! edit ~/.config/shirakumo/kandria/settings.lisp to have :debugging (:swank T) 2021-04-23T13:33:50Z Odin-: That's a very non-standard date format. 2021-04-23T13:34:02Z orivej quit (Ping timeout: 246 seconds) 2021-04-23T13:34:37Z Shinmera: heisig: Modding support (through a stable and defined API and loader mechanism) is something I would very much like to do, but it's very very low on the list, since it's a lot of effort and unfortunately not at all guaranteed it would attract more players. 2021-04-23T13:35:30Z heisig: Shinmera: I understand. Swank is enough modding support for me :) 2021-04-23T13:35:45Z Odin-: I think some games specify APIs for internal development, and then expose them as modding options. That's not particularly relevant for tiny teams, though... 2021-04-23T13:36:38Z Shinmera: heisig: you can also launch the game with "swank" as argument and it'll just start wank and wait on an infinite loop for you to do whatever. 2021-04-23T13:37:16Z skapata joined #lisp 2021-04-23T13:37:32Z aeth quit (Ping timeout: 246 seconds) 2021-04-23T13:38:12Z zaquest quit (Quit: Leaving) 2021-04-23T13:39:03Z Nilby: Just being able to connect to swank is alread 100x better than some game with lua. :) 2021-04-23T13:39:21Z heisig: Ooh, nice. And Kandria has a layer for accessing the Steam API. I should try Emacs->Swank->Kandria->Steam to chat with my friends. 2021-04-23T13:39:48Z Shinmera: Hah 2021-04-23T13:39:49Z aeth joined #lisp 2021-04-23T13:40:12Z Shinmera: The SteamWorks api doesn't allow you to send messages to friends, iirc, only bring up the integrated overlay to do that. 2021-04-23T13:40:21Z Shinmera: probably for security reasons. 2021-04-23T13:40:36Z zaquest joined #lisp 2021-04-23T13:41:52Z karlosz joined #lisp 2021-04-23T13:44:29Z heisig: "Every program has (at least) two purposes: the one for which it was written and another for which it wasn't." -- Alan Perlis on people using video games as a proxy for sending messages from their text editor. 2021-04-23T13:45:27Z karlosz quit (Client Quit) 2021-04-23T13:46:01Z renzhi joined #lisp 2021-04-23T13:55:59Z Sheilong joined #lisp 2021-04-23T14:00:25Z narimiran joined #lisp 2021-04-23T14:09:35Z l-n quit (Quit: Connection closed) 2021-04-23T14:14:39Z cage_ joined #lisp 2021-04-23T14:15:33Z VincentVega54 joined #lisp 2021-04-23T14:18:02Z VincentVega quit (Ping timeout: 240 seconds) 2021-04-23T14:29:38Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T14:29:56Z amb007 joined #lisp 2021-04-23T14:30:28Z Nilby quit (Ping timeout: 276 seconds) 2021-04-23T14:31:12Z cranium_ joined #lisp 2021-04-23T14:38:55Z necrontab joined #lisp 2021-04-23T14:46:23Z luckless_ joined #lisp 2021-04-23T14:48:21Z madage quit (Ping timeout: 240 seconds) 2021-04-23T14:48:33Z Josh_2: I managed to make my timestamp 2021-04-23T14:49:57Z luckless quit (Ping timeout: 240 seconds) 2021-04-23T15:00:48Z ljavorsk joined #lisp 2021-04-23T15:02:52Z boogsbunny joined #lisp 2021-04-23T15:03:55Z docl_ is now known as docl 2021-04-23T15:05:51Z copec: Shinmera: Thanks! I was going to attempt to figure that out myself too. 2021-04-23T15:06:09Z copec: BTW I do (defmethod org.shirakumo.dns-client::decode-record-payload ((type (eql :NS)) octets start end) (org.shirakumo.dns-client::decode-host octets start 0)) 2021-04-23T15:06:41Z copec: I can lookup all the payload types and make a list for you 2021-04-23T15:08:24Z madage joined #lisp 2021-04-23T15:09:51Z Shinmera: A PR would be cool! 2021-04-23T15:12:03Z boogsbunny quit (Ping timeout: 240 seconds) 2021-04-23T15:13:46Z ljavorsk quit (Ping timeout: 240 seconds) 2021-04-23T15:15:33Z attila_lendvai joined #lisp 2021-04-23T15:15:33Z attila_lendvai quit (Changing host) 2021-04-23T15:15:33Z attila_lendvai joined #lisp 2021-04-23T15:19:57Z waleee-cl joined #lisp 2021-04-23T15:22:07Z attila_lendvai quit (Quit: Leaving) 2021-04-23T15:27:18Z zefram22 joined #lisp 2021-04-23T15:32:41Z cranium_ quit (Quit: Leaving) 2021-04-23T15:34:13Z Duuqnd quit (Ping timeout: 240 seconds) 2021-04-23T15:46:41Z wooden quit (Ping timeout: 246 seconds) 2021-04-23T15:50:04Z wooden joined #lisp 2021-04-23T15:50:04Z wooden quit (Changing host) 2021-04-23T15:50:04Z wooden joined #lisp 2021-04-23T15:57:06Z nij joined #lisp 2021-04-23T15:57:22Z nij: [crossed posted on #emacs] Is there a way to set a symbol to a "place"? For example, (setq x (car y))? I don't recall seeing a place being a lisp object.. and if it isn't a lisp object, why don't we make it one?? It seems useful. 2021-04-23T15:57:48Z nij: Oh my example is stupidly wrong.. lemme see how to fix. 2021-04-23T15:57:55Z beach: Places are not first-class objects in Common Lisp. 2021-04-23T15:57:55Z Bike: there is no way to do that, no. 2021-04-23T15:57:57Z phoe: nij: a place is second-class in Common Lisp 2021-04-23T15:58:13Z nij: phoe: I'm aware of it.. but why :-( ? 2021-04-23T15:58:14Z phoe: you can, however, use lambdas to capture it 2021-04-23T15:58:31Z Bike: being able to keep efficient references to the interiors of objects makes some aspects of garbage collection much more annoying. 2021-04-23T15:58:53Z phoe: or (ql:quickload :cl-locatives) 2021-04-23T15:58:59Z nij: Bike: is that a reason for me? 2021-04-23T15:59:03Z phoe: nij: yes 2021-04-23T15:59:45Z nij: But CL is hackable. If I want to hack it so that it has first-class places, is that possible? 2021-04-23T16:00:01Z phoe: CL is *easily* hackable to a point 2021-04-23T16:00:11Z Bike: depends. like phoe said, you can do it with closures pretty easily. but that's not enormously efficient. 2021-04-23T16:00:14Z phoe: and adding first-class locatives (or rather, re-adding them) is possible 2021-04-23T16:00:25Z phoe: but requires you to either hack the GC 2021-04-23T16:00:27Z long4mud quit (Read error: Connection reset by peer) 2021-04-23T16:00:32Z nij: ohohhh im reading cl-locatives manual 2021-04-23T16:00:35Z phoe: ...or, you know, just use lambdas as I said 2021-04-23T16:00:50Z nij: How to use lambdas to achieve? 2021-04-23T16:01:06Z phoe: (let (x) (list (lambda () x) (lambda (y) (setf x y)))) 2021-04-23T16:01:16Z phoe: here, I just captured X in a pair of accessors 2021-04-23T16:01:18Z phoe: a reader and a writer 2021-04-23T16:01:34Z phoe: you can funcall the first to read the value, and you can funcall the second with a new object to write the value 2021-04-23T16:01:52Z phoe: that's all, those two lambdas capture the place rather nicely 2021-04-23T16:02:28Z phoe: you can even change this to be a single function, (lambda (&optional (y nil yp)) (if yp x (setf x y))) 2021-04-23T16:02:41Z phoe: when called with zero args it will return the value, when called with one arg it will set the value 2021-04-23T16:04:05Z nij: Is this how cl-locative is implemented? 2021-04-23T16:04:38Z phoe: t 2021-04-23T16:04:57Z phoe: except it has its custom LOCATIVE structure that wraps the reader and writer lambdas 2021-04-23T16:05:24Z nij: hmmm very interesting! 2021-04-23T16:05:57Z phoe: stylewarning: cl-locatives on quicklisp-projects seems to have an ancient repo url on bitbucket, do you have any newer one? 2021-04-23T16:06:40Z Duuqnd joined #lisp 2021-04-23T16:07:33Z nij: Hmm.. but actually what I'm hoping for is to (setq y 3).. and this should change the internal of x. 2021-04-23T16:07:59Z phoe: what's y? 2021-04-23T16:08:05Z Bike: once you set up these functions you can put them in a structure or whatever, pass that around, and then write a LOCATION place (or something) to do it 2021-04-23T16:08:34Z nij: Bike yes 2021-04-23T16:08:37Z Bike: like (let ((p (locative (car y)))) (setf (dereference p) 3)) 2021-04-23T16:08:49Z Bike: this is pretty much how the cl-locatives library works, according to the library 2021-04-23T16:09:17Z Bike: if you really want it to be (setf y 3) instead, you could use a symbol macro 2021-04-23T16:09:59Z heisig quit (Quit: Leaving) 2021-04-23T16:15:42Z klltkr quit (Read error: Connection reset by peer) 2021-04-23T16:16:14Z klltkr joined #lisp 2021-04-23T16:18:30Z kevingal joined #lisp 2021-04-23T16:18:31Z nij: I see. :) Thanks! 2021-04-23T16:18:40Z nij: I will read more about locatives.. sound like cool stuff. 2021-04-23T16:19:35Z nij: Btw, if I have a macro m, how to I get (list (m a) (m b) (m c)) by (some-mapcar-for-macros m (list a b c))? 2021-04-23T16:20:13Z Bike: you don't. macros operate on source code, not values. 2021-04-23T16:20:23Z varjag joined #lisp 2021-04-23T16:20:56Z Bike: so they can't be applied to elements of a list like a function can. 2021-04-23T16:21:30Z Bike: why do you want to do that? 2021-04-23T16:21:52Z nij: https://bpa.st/23DQ 2021-04-23T16:22:04Z nij: It would be nicer if I can have a one-liner for the last four lines. 2021-04-23T16:22:30Z nij: (Sorry it's elisp.. but I'm also interested in how you do that in CL.) 2021-04-23T16:22:38Z nij: Genuinely speaking. 2021-04-23T16:22:49Z Bike: if the arguments are fixed like that you can just define another macro 2021-04-23T16:23:04Z nij: :-( that'd be longer than 4 lines xD 2021-04-23T16:23:12Z karlosz joined #lisp 2021-04-23T16:23:17Z Bike: (defmacro dired-action/defoperation (&rest operations) `(progn ,@(loop for op in operations collect `(dired-action/defoperation ,op)))) 2021-04-23T16:23:23Z nij: I don't know.. I feel like this is something that's used much? Maybe there's a defacto macro for it already? 2021-04-23T16:23:29Z Bike: er, should be defmacro dired-action/defoperations 2021-04-23T16:23:39Z nij: OH! 2021-04-23T16:24:13Z Bike: usually macro syntax is disparate enough that a general operator might not work so well 2021-04-23T16:24:16Z Bike: but you could do, uh 2021-04-23T16:24:34Z Bike: (defmacro macromap (op &rest args) `(progn ,@(loop for arg in args collect `(,op ,arg)))) 2021-04-23T16:24:44Z Bike: (macromap dired-action/defoperation cut copy soft-link-abs soft-link-rel) 2021-04-23T16:24:49Z nij: I wonder if a mundane lang, like python, can do this so elegantly.. 2021-04-23T16:24:52Z nij: Lisp is great. 2021-04-23T16:25:12Z nij: I like the second idea more. More transparent. 2021-04-23T16:25:23Z nij: I'm just surprised that macromap hasn't existed yet. 2021-04-23T16:25:28Z matthewcroughan quit (Quit: No Ping reply in 180 seconds.) 2021-04-23T16:25:40Z Bike: well, this only works for macros that take exactly one parameter 2021-04-23T16:25:42Z matthewcroughan joined #lisp 2021-04-23T16:26:13Z nij: In macromap I can also slice args 2021-04-23T16:26:25Z nij: so the input can be lists of arbitrarily many parameters. 2021-04-23T16:26:49Z Bike: sure 2021-04-23T16:27:46Z karlosz quit (Ping timeout: 252 seconds) 2021-04-23T16:27:56Z nij: Btw, this is the first macro in my life I've written. It's newbie-ish, but it works right away. Thank you very much for all supports and kindness, #lisp. :) :) :) I'll remember today. 2021-04-23T16:30:33Z epony quit (Ping timeout: 240 seconds) 2021-04-23T16:33:30Z imode joined #lisp 2021-04-23T16:34:41Z zefram22 quit (Ping timeout: 260 seconds) 2021-04-23T16:35:45Z aeth_ joined #lisp 2021-04-23T16:35:45Z vutral_ joined #lisp 2021-04-23T16:35:53Z aeth quit (Disconnected by services) 2021-04-23T16:35:58Z aeth_ is now known as aeth 2021-04-23T16:40:48Z theothornhill joined #lisp 2021-04-23T16:41:32Z mindCrime joined #lisp 2021-04-23T16:41:33Z madage quit (Ping timeout: 240 seconds) 2021-04-23T16:42:19Z madage joined #lisp 2021-04-23T16:44:49Z saganman quit (Read error: Connection reset by peer) 2021-04-23T17:01:07Z rumbler31 joined #lisp 2021-04-23T17:03:17Z gaqwas joined #lisp 2021-04-23T17:04:57Z DHARMAKAYA joined #lisp 2021-04-23T17:05:26Z rumbler31 quit (Ping timeout: 246 seconds) 2021-04-23T17:06:43Z jeosol quit (Quit: Connection closed) 2021-04-23T17:06:56Z epony joined #lisp 2021-04-23T17:08:21Z nij quit (Remote host closed the connection) 2021-04-23T17:09:02Z hjudt quit (Ping timeout: 265 seconds) 2021-04-23T17:09:02Z karlosz joined #lisp 2021-04-23T17:10:05Z kevingal quit (Remote host closed the connection) 2021-04-23T17:10:35Z DHARMAKAYA quit (Ping timeout: 260 seconds) 2021-04-23T17:16:03Z akoana joined #lisp 2021-04-23T17:17:31Z spaethnl joined #lisp 2021-04-23T17:20:32Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-23T17:24:13Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T17:25:18Z amb007 joined #lisp 2021-04-23T17:25:22Z hjudt joined #lisp 2021-04-23T17:27:41Z djuber quit (Remote host closed the connection) 2021-04-23T17:27:51Z HiRE quit (Ping timeout: 250 seconds) 2021-04-23T17:28:11Z jeosol joined #lisp 2021-04-23T17:31:55Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T17:32:18Z amb007 joined #lisp 2021-04-23T17:34:19Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T17:34:38Z amb007 joined #lisp 2021-04-23T17:36:00Z attila_lendvai joined #lisp 2021-04-23T17:36:00Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T17:36:53Z amb007 joined #lisp 2021-04-23T17:39:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T17:41:06Z amb007 joined #lisp 2021-04-23T17:46:21Z zzappie quit (Ping timeout: 240 seconds) 2021-04-23T17:49:20Z andrei-n quit (Read error: Connection reset by peer) 2021-04-23T17:52:13Z theothornhill joined #lisp 2021-04-23T17:53:27Z andrei-n joined #lisp 2021-04-23T17:56:50Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T17:57:14Z antepod joined #lisp 2021-04-23T17:57:45Z amb007 joined #lisp 2021-04-23T17:58:36Z kmeow quit (Remote host closed the connection) 2021-04-23T18:02:13Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:02:55Z amb007 joined #lisp 2021-04-23T18:04:00Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:05:33Z amb007 joined #lisp 2021-04-23T18:05:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:05:40Z karlosz quit (Ping timeout: 252 seconds) 2021-04-23T18:05:50Z amb007 joined #lisp 2021-04-23T18:07:53Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:08:19Z amb007 joined #lisp 2021-04-23T18:10:07Z HiRE joined #lisp 2021-04-23T18:10:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:11:08Z amb007 joined #lisp 2021-04-23T18:14:17Z theothornhill quit (Remote host closed the connection) 2021-04-23T18:14:24Z theothornhill joined #lisp 2021-04-23T18:18:39Z antepod quit (Quit: WeeChat 3.1) 2021-04-23T18:20:20Z vv8 quit (Quit: EXIT) 2021-04-23T18:21:13Z sauvin quit (Remote host closed the connection) 2021-04-23T18:21:27Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:22:26Z amb007 joined #lisp 2021-04-23T18:24:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:24:58Z amb007 joined #lisp 2021-04-23T18:27:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:28:45Z amb007 joined #lisp 2021-04-23T18:30:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:31:00Z amb007 joined #lisp 2021-04-23T18:31:54Z cosimone` joined #lisp 2021-04-23T18:32:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:32:21Z amb007 joined #lisp 2021-04-23T18:32:57Z srhm joined #lisp 2021-04-23T18:34:02Z dickbarends quit 2021-04-23T18:34:03Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:34:50Z amb007 joined #lisp 2021-04-23T18:35:00Z cosimone` quit (Remote host closed the connection) 2021-04-23T18:35:38Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:36:40Z amb007 joined #lisp 2021-04-23T18:41:15Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:42:19Z amb007 joined #lisp 2021-04-23T18:43:43Z vutral_ quit (Quit: Connection closed for inactivity) 2021-04-23T18:43:45Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:44:44Z amb007 joined #lisp 2021-04-23T18:49:13Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:49:33Z amb007 joined #lisp 2021-04-23T18:51:53Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:52:05Z amb007 joined #lisp 2021-04-23T18:54:17Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:54:33Z amb007 joined #lisp 2021-04-23T18:55:01Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:55:33Z amb007 joined #lisp 2021-04-23T18:57:25Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:57:39Z amb007 joined #lisp 2021-04-23T18:57:40Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T18:58:09Z amb007 joined #lisp 2021-04-23T19:02:48Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T19:03:50Z amb007 joined #lisp 2021-04-23T19:04:52Z KeyboardWorrier quit (Read error: Connection reset by peer) 2021-04-23T19:04:52Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T19:05:10Z orivej joined #lisp 2021-04-23T19:05:29Z amb007 joined #lisp 2021-04-23T19:07:44Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T19:08:35Z amb007 joined #lisp 2021-04-23T19:10:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T19:10:49Z amb007 joined #lisp 2021-04-23T19:18:49Z shka_ quit (Ping timeout: 252 seconds) 2021-04-23T19:18:49Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T19:19:37Z kevingal joined #lisp 2021-04-23T19:19:37Z amb007 joined #lisp 2021-04-23T19:21:45Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T19:21:53Z amb007 joined #lisp 2021-04-23T19:26:28Z nij joined #lisp 2021-04-23T19:26:28Z daphnis joined #lisp 2021-04-23T19:27:52Z daphnis: is it possible to call a cl function from elisp via sly? 2021-04-23T19:29:11Z nij: yes. iirc.. lemme see which func is that 2021-04-23T19:29:16Z daphnis: oh, there seems to be swank::eval-in-emacs 2021-04-23T19:29:27Z nij: sly-eval? 2021-04-23T19:30:10Z daphnis: i don't have #'sly-eval 2021-04-23T19:30:15Z contrapunctus left #lisp 2021-04-23T19:31:39Z contrapunctus joined #lisp 2021-04-23T19:33:40Z nij: On my side it says it's from sly.el.. 2021-04-23T19:33:54Z nij: not sure why you don't have that.. @_@ 2021-04-23T19:34:05Z nij: if you run `M-x sly`.. does the function get loaded? 2021-04-23T19:35:30Z sp41 joined #lisp 2021-04-23T19:35:36Z daphnis: nij, no, i have sly-eval-defun, -region, -buffer, but not sly-eval 2021-04-23T19:36:04Z nij: daphnis - oh you mean commands. 2021-04-23T19:36:18Z nij: sly-eval isn't a command, but it's a function 2021-04-23T19:36:53Z nij: First, connect your emacs to a sly by `M-x sly`. 2021-04-23T19:36:54Z daphnis: nij, ah, sorry 2021-04-23T19:37:02Z nij: And then, evaluate this in _EMACS_ 2021-04-23T19:37:07Z nij: (sly-eval (+ 1 1)) 2021-04-23T19:37:21Z nij: the sexp (+ 1 1) will be passed into sly, evaluated, and returned (2) to emacs 2021-04-23T19:38:37Z daphnis: works. thanks! 2021-04-23T19:39:58Z Lycurgus joined #lisp 2021-04-23T19:48:44Z daphnis: still, if i do (defun foo () 'bar) at the repl, i can't call that by (sly-eval (foo)) 2021-04-23T19:51:03Z mobius__ joined #lisp 2021-04-23T19:54:18Z zzappie joined #lisp 2021-04-23T19:55:35Z theothornhill: daphnis: If you define the function in cl-user, you can call it with "(sly-eval '(cl-user::foo))" 2021-04-23T19:55:36Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T19:55:45Z amb007 joined #lisp 2021-04-23T19:56:03Z mobius__ quit (Quit: mobius__) 2021-04-23T19:56:52Z amb007 quit (Read error: Connection reset by peer) 2021-04-23T19:57:07Z amb007 joined #lisp 2021-04-23T19:59:02Z CrazyPython joined #lisp 2021-04-23T19:59:15Z dieggsy_ joined #lisp 2021-04-23T19:59:20Z nij: And if you have (defvar *x* 123) at the repl, to call it from emacs, you do `(sly-eval 'cl-user::x)` 2021-04-23T20:00:23Z nij: Oh.. so actually (sly-eval (+ 1 1)) is confusing! It will call #'+ in the sly-io-package. 2021-04-23T20:00:39Z Lord_of_Life_ joined #lisp 2021-04-23T20:00:47Z nij: Instead, if you want "normal" (+ 1 1).. you need to call (sly-eval '(cl-user::+ 1 1)) 2021-04-23T20:01:33Z zzappie quit (Ping timeout: 240 seconds) 2021-04-23T20:02:04Z Lord_of_Life quit (Ping timeout: 265 seconds) 2021-04-23T20:02:51Z daphnis: thank you. somehow the docstring led me to think (sly-eval (foo) :cl-user) 2021-04-23T20:03:47Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-23T20:06:32Z narimiran quit (Ping timeout: 240 seconds) 2021-04-23T20:06:44Z theothornhill: Thankfully I stopped reading the docs after "Evaluate SEXP...". It is indeed confusing, so sometimes laziness helps :P 2021-04-23T20:07:10Z aindilis joined #lisp 2021-04-23T20:07:40Z nij: It's very confusing indeed! 2021-04-23T20:08:58Z zzappie joined #lisp 2021-04-23T20:09:38Z _death: nij: (sly-eval (+ 1 1)) will evaluate (+ 1 1) in emacs, and pass 2 to cl and back 2021-04-23T20:09:56Z theothornhill: yeah 2021-04-23T20:10:53Z zzappie quit (Remote host closed the connection) 2021-04-23T20:11:21Z zzappie joined #lisp 2021-04-23T20:11:24Z dieggsy_ quit (Quit: ZNC 1.8.2 - https://znc.in) 2021-04-23T20:12:27Z VincentVega54 quit (Quit: Connection closed) 2021-04-23T20:13:08Z karlosz joined #lisp 2021-04-23T20:18:13Z dieggsy quit (Changing host) 2021-04-23T20:18:13Z dieggsy joined #lisp 2021-04-23T20:18:13Z dieggsy quit (Changing host) 2021-04-23T20:18:13Z dieggsy joined #lisp 2021-04-23T20:23:00Z DHARMAKAYA joined #lisp 2021-04-23T20:24:40Z andrei-n quit (Quit: Leaving) 2021-04-23T20:26:06Z theothornhill quit (Remote host closed the connection) 2021-04-23T20:26:13Z theothornhill joined #lisp 2021-04-23T20:28:45Z long4mud joined #lisp 2021-04-23T20:31:39Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-23T20:32:39Z anticrisis joined #lisp 2021-04-23T20:33:18Z CL-ASHOK joined #lisp 2021-04-23T20:33:26Z VincentVega joined #lisp 2021-04-23T20:37:47Z attila_lendvai quit (Ping timeout: 260 seconds) 2021-04-23T20:38:03Z peasynt joined #lisp 2021-04-23T20:38:27Z CL-ASHOK: Quick Qn - how to disable cache in Hunchentoot. Documentation says to use "no-cache" but I have no idea how to 2021-04-23T20:39:14Z CL-ASHOK: Currently I'm doing: (defvar *ssg-web-server* (hunchentoot:start 2021-04-23T20:39:15Z CL-ASHOK:      (make-instance 'hunchentoot:easy-acceptor 2021-04-23T20:39:15Z CL-ASHOK:       :address "127.0.0.1" 2021-04-23T20:39:16Z CL-ASHOK:       :port 4242 2021-04-23T20:39:16Z CL-ASHOK:       :document-root #p"www_/" 2021-04-23T20:39:17Z CL-ASHOK:       :persistent-connections-p t 2021-04-23T20:39:17Z CL-ASHOK:       :read-timeout 3.0 2021-04-23T20:39:18Z CL-ASHOK:       :write-timeout 3.0 2021-04-23T20:39:18Z CL-ASHOK:       :access-log-destination nil 2021-04-23T20:39:19Z CL-ASHOK:       :message-log-destination nil))) 2021-04-23T20:39:30Z Alfr: CL-ASHOK, use a pastebin. 2021-04-23T20:39:51Z _death: CL-ASHOK: hunchentoot:no-cache is a function that you can call in your handler 2021-04-23T20:41:03Z nij: _death: Oh indeed.. sorry for that :-( 2021-04-23T20:41:26Z CL-ASHOK: Thanks _death . Sorry Alfr, will do so in the future 2021-04-23T20:43:35Z cage_ quit (Quit: Leaving) 2021-04-23T20:50:26Z CL-ASHOK quit (Quit: Connection closed) 2021-04-23T20:59:13Z epony quit (Ping timeout: 240 seconds) 2021-04-23T21:00:06Z opcode joined #lisp 2021-04-23T21:01:35Z opcode: hey all if I have two lists (a b c d) and (1 2 3 4) and I want to merge them into a plist e.g. (a 1 b 2 c 3 d 4), can i do that with map 2021-04-23T21:02:16Z opcode: or perhaps a better question is what's the best way to accomplish that? 2021-04-23T21:02:30Z Shinmera: (loop for a in first for b in second collect a collect b) 2021-04-23T21:03:14Z opcode: oh. that's much simpler than my loop fuckery. thanks 2021-04-23T21:05:21Z karlosz quit (Quit: karlosz) 2021-04-23T21:05:59Z Codaraxis__ joined #lisp 2021-04-23T21:07:06Z daphnis quit (Ping timeout: 240 seconds) 2021-04-23T21:09:44Z _death: or (mapcan #'list list-1 list-2) 2021-04-23T21:12:41Z Lycurgus quit (Quit: Exeunt) 2021-04-23T21:15:45Z opcode: _death: thanks, I was trying and failing with map and mapcar 2021-04-23T21:15:52Z opcode: is there an easy way to remember which does what 2021-04-23T21:15:58Z kagevf: makes sense that it let's you disable per handler instead of for the whole server 2021-04-23T21:16:04Z _death: use them alot :) 2021-04-23T21:16:42Z opcode: :P 2021-04-23T21:17:23Z zefram22 joined #lisp 2021-04-23T21:23:10Z anticrisis_ joined #lisp 2021-04-23T21:23:18Z stylewarning: CAN for conCATenate; but don’t confuse with MAPCON :))) 2021-04-23T21:23:35Z nij: ConcAteNate 2021-04-23T21:23:46Z stylewarning: also MAPCAN is destructive. Lots of footguns 2021-04-23T21:24:46Z stylewarning: Shinmera: would MADVISE be a welcome part of MMAP? 2021-04-23T21:24:47Z pve quit (Quit: leaving) 2021-04-23T21:26:29Z anticrisis quit (Ping timeout: 268 seconds) 2021-04-23T21:29:13Z _death: opcode: in that particular case, you could define a PROPLIS function, which would be a close friend to PAIRLIS 2021-04-23T21:29:25Z yonkunas quit (Quit: Connection closed for inactivity) 2021-04-23T21:30:08Z cosimone` joined #lisp 2021-04-23T21:30:53Z cosimone quit (Read error: Connection reset by peer) 2021-04-23T21:31:40Z Duuqnd quit (Quit: Connection closed) 2021-04-23T21:32:01Z theothornhill quit (Ping timeout: 260 seconds) 2021-04-23T21:34:41Z nij: Some questions about cl-locative.. https://bpa.st/VKBA 2021-04-23T21:35:37Z nij: In get-setf-expansion, there's an parameter ENV. From CLHS it seems that I can feed NIL or any other "environment object". But I fail to see other examples of an environmental object. Any quick examples? 2021-04-23T21:37:25Z Shinmera: stylewarning: How's platform support for that? 2021-04-23T21:37:46Z Shinmera: Seems linux specific. 2021-04-23T21:38:00Z Shinmera: You'd have to do legwork and see if there's similar stuff on Win32 and Darwin, in the very least. 2021-04-23T21:38:10Z _death: nij: usually this function is called by a macro.. a macro can take an &environment parameter 2021-04-23T21:38:57Z _death: nij: the example in CLHS actually shows that 2021-04-23T21:38:58Z MichaelRaskin: nij: and this parameter can be passed to macroexpand-1 2021-04-23T21:39:16Z MichaelRaskin: (and similar functions) 2021-04-23T21:39:41Z _death: nij: ah, guess I missed "other" 2021-04-23T21:40:04Z MichaelRaskin: Environment objects are very implementation specific (and not guaranteed to be or not be of any specific type; they are plain lists in some cases) 2021-04-23T21:40:42Z MichaelRaskin: … and all the functions for inspecting them have been dropped from the standard 2021-04-23T21:40:53Z stylewarning: Shinmera: I figured since it’s “advice” for perf optimization it could just be ignored where unsupported. 2021-04-23T21:40:56Z _death: some implementations provide some cltl2 operators that can take it as well 2021-04-23T21:41:24Z Shinmera: stylewarning: It'll have to be, but I'd still want you to see if there's similar stuff. 2021-04-23T21:41:32Z stylewarning: Of course, that’s reasonable 2021-04-23T21:41:55Z nij: Oh I see! So you just (defmacro ... (.. &env...)). 2021-04-23T21:42:07Z nij: But how do you "construct" an environment object by hand? 2021-04-23T21:42:15Z _death: nij: you don't 2021-04-23T21:42:40Z nij: I'm just curious :) possible to construct? 2021-04-23T21:42:57Z MichaelRaskin: Well, inside the macro expansion code you will have one! 2021-04-23T21:42:58Z _death: there's a cltl2 operator to augment it 2021-04-23T21:43:16Z MichaelRaskin: (If a macro is called inside a non-trivial lexical environment, at least) 2021-04-23T21:43:56Z _death: https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node102.html#SECTION001250000000000000000 2021-04-23T21:45:55Z nij: How is an env object coded? Is it just a hash table or an alist? 2021-04-23T21:47:15Z MichaelRaskin: Differently on different implementations 2021-04-23T21:47:20Z _death: it's implementation-specific.. you can try inspecting it in the macro 2021-04-23T21:47:32Z MichaelRaskin: Sometimes a list, sometimes an object 2021-04-23T21:48:20Z cantstanya quit (Remote host closed the connection) 2021-04-23T21:48:53Z nij: Ah.. i see! Thanks. 2021-04-23T21:49:00Z no-defun-allowed: stylewarning: I've tried madvise a few times but it didn't seem to make anything faster. 2021-04-23T21:50:17Z cantstanya joined #lisp 2021-04-23T21:56:13Z gigamonkey joined #lisp 2021-04-23T21:58:23Z epony joined #lisp 2021-04-23T22:01:03Z gigamonkey: Is Xach going with the Google strategy of eternal beta for Quicklisp or am I looking in the wrong place for the latest hotness? 2021-04-23T22:03:34Z gigamonkey: (I'm looking at https://www.quicklisp.org which redirects to https://www.quicklisp.org/beta, fwiw. 2021-04-23T22:04:18Z MichaelRaskin: Just look at the version timestamps to convince yourself this _is_ latest 2021-04-23T22:04:19Z no-defun-allowed: I think the former. 2021-04-23T22:04:59Z gigamonkey: I've only been gone for like a decade or so, dunno why I'd have expected it to be out of beta. ;-) 2021-04-23T22:07:42Z CL-ASHOK joined #lisp 2021-04-23T22:07:46Z cosimone` quit (Remote host closed the connection) 2021-04-23T22:09:51Z edgar-rft: quicklisp should upgrade and become a dominant alpha 2021-04-23T22:12:21Z zzappie quit (Ping timeout: 240 seconds) 2021-04-23T22:12:51Z surabax quit (Quit: Leaving) 2021-04-23T22:15:05Z frgo quit (Remote host closed the connection) 2021-04-23T22:15:31Z frgo joined #lisp 2021-04-23T22:17:14Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-23T22:20:42Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-23T22:20:47Z aartaka joined #lisp 2021-04-23T22:24:15Z kevingal quit (Remote host closed the connection) 2021-04-23T22:27:49Z nij quit (Remote host closed the connection) 2021-04-23T22:34:29Z CL-ASHOK quit (Quit: Ping timeout (120 seconds)) 2021-04-23T22:34:46Z zefram22 quit (Ping timeout: 252 seconds) 2021-04-23T22:37:32Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-23T22:44:21Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-23T22:46:22Z karlosz joined #lisp 2021-04-23T23:01:30Z phadthai quit (Remote host closed the connection) 2021-04-23T23:06:54Z tempest_nox joined #lisp 2021-04-23T23:10:10Z CrazyPython quit (Remote host closed the connection) 2021-04-23T23:15:50Z aartaka quit (Ping timeout: 252 seconds) 2021-04-23T23:20:11Z nature quit (Ping timeout: 240 seconds) 2021-04-23T23:32:15Z edgar-rft quit (Quit: Leaving) 2021-04-23T23:39:57Z karlosz quit (Quit: karlosz) 2021-04-23T23:40:37Z random-nick quit (Ping timeout: 252 seconds) 2021-04-23T23:42:04Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-23T23:43:14Z X-Scale` joined #lisp 2021-04-23T23:43:20Z X-Scale quit (Ping timeout: 252 seconds) 2021-04-23T23:43:51Z X-Scale` is now known as X-Scale 2021-04-23T23:46:26Z nij joined #lisp 2021-04-23T23:47:21Z nij: Hello! Is there a way to fully describe a package in CL? Preferably, I'd like to see almost all information presented when it's defined by defpackage. 2021-04-23T23:47:58Z nij: In particular, not only do I hope to see what symbol is inherited, I also hope to see where a symbol is inherited from. 2021-04-23T23:50:34Z Bike: i don't think there's an overall function. find-symbol will tell you whether a symbol is inherited; you can loop over a package's symbols looking at that. 2021-04-23T23:50:41Z mathrick quit (Ping timeout: 265 seconds) 2021-04-23T23:51:17Z Bike: to determine where a symbol is inherited from you would iterate over the package-use-list. any packages that have that symbol as external (and there can be more than one!) will be where that symbol is inherited from 2021-04-23T23:52:39Z Bike: if you just mean the symbol's home package, that's easier to get 2021-04-23T23:54:16Z Nilby joined #lisp 2021-04-24T00:07:32Z zefram22 joined #lisp 2021-04-24T00:10:26Z nij: hmm i see, thanks! 2021-04-24T00:12:10Z bitmapper joined #lisp 2021-04-24T00:23:06Z zefram22 quit (Quit: zefram22) 2021-04-24T00:23:24Z zefram22 joined #lisp 2021-04-24T00:26:44Z sz0 quit (Quit: Connection closed for inactivity) 2021-04-24T00:44:41Z theBlackDragon quit (Ping timeout: 240 seconds) 2021-04-24T00:45:42Z karlosz joined #lisp 2021-04-24T00:45:53Z epony quit (Ping timeout: 240 seconds) 2021-04-24T00:47:04Z cg505 quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-24T00:48:00Z Codaraxis_ joined #lisp 2021-04-24T00:51:34Z Codaraxis__ quit (Ping timeout: 252 seconds) 2021-04-24T00:53:31Z CrazyPython joined #lisp 2021-04-24T00:54:31Z fiddlerwoaroof: gigamonkey: beta is the new v1.0 :) 2021-04-24T00:54:51Z fiddlerwoaroof: gigamonkey: thanks for PCL, btw, I read it five years ago, and it's really changed how I think about programming 2021-04-24T00:55:35Z nij: Thanks too! I'm reading chapter 21 :-) Tremendously useful! 2021-04-24T01:01:05Z VincentVega quit (Quit: Connection closed) 2021-04-24T01:04:27Z nij: Literally, I was having some headache when reading [1] a few hours ago.. and then I screamed thank-god while I see [2]. [1: http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/mac_defpackage.html] [2. http://www.gigamonkeys.com/book/programming-in-the-large-packages-and-symbols.html] 2021-04-24T01:04:49Z monolithic quit (Remote host closed the connection) 2021-04-24T01:05:31Z contrapunctus left #lisp 2021-04-24T01:05:34Z dieggsy: is there like a pretty standard tool for documentation search ? 2021-04-24T01:05:42Z dieggsy: preferrably command-line or in-repl 2021-04-24T01:05:51Z fiddlerwoaroof: what sort of search? 2021-04-24T01:06:01Z fiddlerwoaroof: apropos lets you search by partial symbol names 2021-04-24T01:06:20Z fiddlerwoaroof: describe will show anything the lisp system knows about a given object 2021-04-24T01:06:39Z fiddlerwoaroof: But, I don't know of any sort of "full-text-search" system for documentation strings 2021-04-24T01:06:51Z fiddlerwoaroof: Maybe someone could use Montezuma to invent one :) 2021-04-24T01:06:55Z dieggsy: Oh, fascinating lol. i didn't know about describe 2021-04-24T01:07:17Z fiddlerwoaroof: There's also INSPECT, but the slime inspector is usually better 2021-04-24T01:07:21Z fiddlerwoaroof: ( C-c I ) 2021-04-24T01:07:50Z fiddlerwoaroof: Also TRACE and jump-to-definition are great for finding information ;) 2021-04-24T01:08:02Z stylewarning: gigamonkey: https://www.reddit.com/r/lisp/comments/gpvvrf/why_is_quicklisp_still_in_beta_when_its_been/ 2021-04-24T01:08:09Z stylewarning: some links there 2021-04-24T01:09:21Z nij: xach: "Because it’s got more stuff to be done and I haven’t done it yet." 2021-04-24T01:11:31Z contrapunctus joined #lisp 2021-04-24T01:11:37Z dieggsy: fiddlerwoaroof: cheers, thanks 2021-04-24T01:11:56Z epony joined #lisp 2021-04-24T01:22:04Z renzhi quit (Ping timeout: 245 seconds) 2021-04-24T01:22:24Z ebrasca quit (Remote host closed the connection) 2021-04-24T01:28:22Z perrier-jouet quit (Quit: WeeChat 3.1) 2021-04-24T01:31:04Z phadthai joined #lisp 2021-04-24T01:32:21Z Josh_2: okay I did most of that code test in CL, pretty sweet 2021-04-24T01:34:56Z mathrick joined #lisp 2021-04-24T01:35:03Z Josh_2: seems to work well 2021-04-24T01:35:33Z zefram22 quit (Ping timeout: 260 seconds) 2021-04-24T01:37:00Z raeda quit (Read error: Connection reset by peer) 2021-04-24T01:37:08Z raeda_ joined #lisp 2021-04-24T01:52:14Z srhm quit (Quit: Konversation terminated!) 2021-04-24T01:59:22Z akoana quit (Quit: leaving) 2021-04-24T02:06:06Z karlosz quit (Quit: karlosz) 2021-04-24T02:06:13Z nij: While inspecting #'+, sly says it's a function. However, it works on integers and complex numbers.. which lead me think that it should be a method. Did I misunderstand anything? 2021-04-24T02:06:49Z no-defun-allowed: No, + is a function still. And a generic function (not a method) is still a function. 2021-04-24T02:07:41Z no-defun-allowed: The implementation of + might use a generic function (SICL bottoms out at a BINARY-ADD) but generic dispatch would not be pleasant for &rest arguments. 2021-04-24T02:07:52Z CrazyPython quit (Read error: Connection reset by peer) 2021-04-24T02:08:26Z nij: @_@ 2021-04-24T02:21:40Z nij quit (Remote host closed the connection) 2021-04-24T02:28:29Z zefram22 joined #lisp 2021-04-24T02:34:17Z Alfr quit (Ping timeout: 250 seconds) 2021-04-24T02:36:45Z slyrus quit (Quit: Leaving) 2021-04-24T02:36:50Z nij joined #lisp 2021-04-24T02:37:55Z Josh_2 quit (Ping timeout: 265 seconds) 2021-04-24T02:39:11Z DHARMAKAYA joined #lisp 2021-04-24T02:42:23Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-24T02:42:42Z Spawns_Carpeting joined #lisp 2021-04-24T02:46:41Z karlosz joined #lisp 2021-04-24T02:50:56Z fiddlerwoaroof: I've always wondered why CLOS doesn't have arity-based dispatch 2021-04-24T02:54:43Z fiddlerwoaroof: The pattern you find in Prolog and Clojure where the 1-argument version of a function supplies a sensible default to the 2-arugment version of the same function seems somewhat more elegant than having like FOO and FOO-USING-CLASS 2021-04-24T02:55:04Z fiddlerwoaroof: For one thing, you have fewer chances to pick a bad name 2021-04-24T02:55:53Z epony quit (Ping timeout: 240 seconds) 2021-04-24T02:58:36Z phadthai quit (Remote host closed the connection) 2021-04-24T02:58:47Z charles` joined #lisp 2021-04-24T02:59:11Z charles`: Good morning everyone 2021-04-24T03:01:22Z nij: gm charles` 2021-04-24T03:02:57Z beach: Good morning everyone! 2021-04-24T03:03:01Z orivej quit (Ping timeout: 252 seconds) 2021-04-24T03:06:53Z epony joined #lisp 2021-04-24T03:07:13Z semz quit (Ping timeout: 250 seconds) 2021-04-24T03:07:28Z monkey__ joined #lisp 2021-04-24T03:09:41Z slyrus joined #lisp 2021-04-24T03:10:02Z casual_friday quit (Read error: Connection reset by peer) 2021-04-24T03:10:06Z charles`: I can't wait for European Lisp Symposium in a few weeks 2021-04-24T03:10:23Z casual_friday joined #lisp 2021-04-24T03:10:30Z karlosz quit (Ping timeout: 252 seconds) 2021-04-24T03:14:06Z Eoco joined #lisp 2021-04-24T03:15:12Z phadthai joined #lisp 2021-04-24T03:15:24Z karlosz joined #lisp 2021-04-24T03:15:31Z DHARMAKAYA quit (Ping timeout: 248 seconds) 2021-04-24T03:17:25Z casual_friday_ joined #lisp 2021-04-24T03:17:59Z casual_friday quit (Ping timeout: 268 seconds) 2021-04-24T03:20:42Z semz joined #lisp 2021-04-24T03:20:42Z semz quit (Changing host) 2021-04-24T03:20:42Z semz joined #lisp 2021-04-24T03:26:52Z fiddlerwoaroof: morning beach! 2021-04-24T03:27:40Z gabiruh quit (Quit: ZNC 1.7.5 - https://znc.in) 2021-04-24T03:27:57Z gabiruh joined #lisp 2021-04-24T03:29:30Z monkey__ quit (Remote host closed the connection) 2021-04-24T03:34:18Z Oladon joined #lisp 2021-04-24T03:38:10Z nij: Hello! I might be asking this question too early, but it's just a prospect. If I want to write a program for some low level chips, would CL be useful in that case? Or I'd have to go to pretty low level lang like C? 2021-04-24T03:39:02Z Bike: like a microcontroller? 2021-04-24T03:39:10Z monkey__ joined #lisp 2021-04-24T03:39:41Z nij: Don't really know the technical terms.. but I assume so. 2021-04-24T03:40:07Z nij: No mouse, no keyboard, no screen.. just something there that starts spinning once turned on. 2021-04-24T03:40:10Z no-defun-allowed: What is a microcontroller defined to be these days? I swear I've seen a few with megabytes of memory and 32-bit ARM chips, so it might be surprisingly not stupid to try to program one in CL. 2021-04-24T03:40:44Z moon-child: fiddlerwoaroof: I mean, there are optional and key parameters 2021-04-24T03:40:52Z nij: Was size the main issue for people to code CL on them, back in the days? 2021-04-24T03:40:57Z fiddlerwoaroof: moon-child: those don't work for gf dispatch, though 2021-04-24T03:42:00Z moon-child: fiddlerwoaroof: I think it makes more sense when you consider it contextually: multiple dynamic dispatch was a generalization of single dynamic dispatch, which is where a type contains a table of functions, and you call the function associated with the type of some object; dispatching the function based on the type of the object 2021-04-24T03:42:10Z moon-child: in multiple dynamic dispatch, you dispatch based on the type of multiple of the objects 2021-04-24T03:42:16Z no-defun-allowed: It's more that you want a definition like (defun + (&rest numbers) (reduce #'binary-+ numbers :initial-value 0)) 2021-04-24T03:44:02Z fiddlerwoaroof: maybe 2021-04-24T03:44:03Z moon-child: why would that be affected by arity-based dispatch? 2021-04-24T03:44:16Z fiddlerwoaroof: I don't really understand the relevance? 2021-04-24T03:44:39Z fiddlerwoaroof: My point is I can't right a function that takes 2 and 3 arguments and is able to dispatch based on the number of arguments 2021-04-24T03:44:42Z no-defun-allowed: So you'd want to put the dispatch in BINARY-+ I suppose. 2021-04-24T03:44:59Z fiddlerwoaroof: e.g. (do-whatever a) and (do-whatever a b) 2021-04-24T03:45:19Z fiddlerwoaroof: It's not impossible to make this work: it's trivial using Clojure or Prolog 2021-04-24T03:45:49Z no-defun-allowed: Or you have the cases (+) ⇒ 0, (+ a . rest) ⇒ (binary-+ a (apply #'+ rest)) I suppose. 2021-04-24T03:46:07Z Bike: yeah, i can't think of any reason it couldn't be done, though it might get a little funky with keyword arguments 2021-04-24T03:46:08Z moon-child: sounds like hygienic macros 2021-04-24T03:46:18Z Bike: fiddler is clearly not talking about variable arity functions like + 2021-04-24T03:46:38Z mathrick quit (Ping timeout: 246 seconds) 2021-04-24T03:46:39Z Bike: but just having distinct functions for different lambda lists 2021-04-24T03:54:40Z mathrick joined #lisp 2021-04-24T03:55:30Z raeda_ quit (Quit: Leaving) 2021-04-24T03:55:56Z raeda joined #lisp 2021-04-24T03:58:16Z zefram22 quit (Quit: zefram22) 2021-04-24T03:58:32Z zefram22 joined #lisp 2021-04-24T04:12:47Z ChoHag: nij: Only in the sense that a smaller chip requires more frequent garbage collection, and garbage collection got a bad rap back then which it largely deserved. 2021-04-24T04:13:35Z ChoHag: These days even a tiny microcontroller is secretly a supercomputer and even bad GC would be acceptable. 2021-04-24T04:19:54Z no-defun-allowed: Usually you try not to allocate when doing manual memory management too. 2021-04-24T04:20:32Z Sheilong quit 2021-04-24T04:21:33Z Bike: i guess you could implement arity dispatch pretty easily if you only care about required arguments. with compiler macros and stack allocated &rest arguments it could be reasonably efficient 2021-04-24T04:26:07Z spaethnl quit (Remote host closed the connection) 2021-04-24T04:27:44Z monkey__ quit (Remote host closed the connection) 2021-04-24T04:35:06Z zefram22 quit (Ping timeout: 240 seconds) 2021-04-24T04:39:54Z charles`: Is there a database independent DAO library? 2021-04-24T04:49:18Z zefram22 joined #lisp 2021-04-24T04:56:53Z Bike quit (Quit: Lost terminal) 2021-04-24T04:57:32Z peasynt quit (Quit: Connection closed for inactivity) 2021-04-24T05:02:43Z Nilby: charles`: I don't know how an DAO is different than an ORM, but there are quite a lot here: https://www.cliki.net/Database . I've used cl-sql in production for many years. 2021-04-24T05:09:10Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-24T05:09:56Z hjudt quit (Ping timeout: 260 seconds) 2021-04-24T05:12:24Z charles`: I'm not sure if this is the accepted definition, but I think orm is just a programming language communicating with a database, and a dao is an abstraction on top of orm that is basically a 1 to 1 mapping of clos to a database table 2021-04-24T05:12:30Z igemnace joined #lisp 2021-04-24T05:19:23Z charles` quit (Ping timeout: 250 seconds) 2021-04-24T05:21:49Z narimiran joined #lisp 2021-04-24T05:21:53Z sauvin joined #lisp 2021-04-24T05:21:54Z narimiran quit (Remote host closed the connection) 2021-04-24T05:23:30Z Nilby: I've used CLOS objects to represent tables and the ORM to manipulate, and I didn't find I needed much more than normal generic functions and methods. 2021-04-24T05:26:07Z Nilby: I think the way CL's methods are somewhat independent of classes makes it easier. 2021-04-24T05:26:54Z fiddlerwoaroof: Nilby: I think CLOS's main advantage is that it's not primarily about defining classes 2021-04-24T05:27:43Z Nilby: fiddlerwoaroof: Yes. Among many other awesome advantages. 2021-04-24T05:27:59Z fiddlerwoaroof: I think that's really the fundamental difference of CLOS 2021-04-24T05:28:14Z fiddlerwoaroof: It's about protocols defined in terms of generic functions 2021-04-24T05:28:28Z Guester8 joined #lisp 2021-04-24T05:28:46Z fiddlerwoaroof: You can go quite a ways only using pre-defined classes and writing your own protocols 2021-04-24T05:29:05Z slyrus quit (Remote host closed the connection) 2021-04-24T05:29:30Z leo_song_ quit (Ping timeout: 246 seconds) 2021-04-24T05:30:55Z leo_song joined #lisp 2021-04-24T05:31:13Z slyrus joined #lisp 2021-04-24T05:31:27Z Nilby: I my case you can go too far and make CLOS objects do something dumb like act like smalltalk/javascript. 2021-04-24T05:31:38Z hjudt joined #lisp 2021-04-24T05:34:07Z no-defun-allowed: How's that dumb? 2021-04-24T05:35:49Z Nilby: I don't know. It just doesn't feel as clean and magic as pure CLOS objects. 2021-04-24T05:36:49Z Nilby: But it's brilliant that it's possible. 2021-04-24T05:37:58Z slyrus quit (Ping timeout: 268 seconds) 2021-04-24T05:38:09Z beach: Nilby: The term "CLOS object" is meaningless. Every Common Lisp object is an instance of some class and all classes are part of CLOS. 2021-04-24T05:39:49Z no-defun-allowed: In Smalltalk you can at least subclass the Integer class. 2021-04-24T05:40:14Z Nilby: It is meaningful when trying to make a distinction in style between prototyped objects. 2021-04-24T05:40:33Z no-defun-allowed: Not really, no. 2021-04-24T05:41:20Z no-defun-allowed: If you were saying the Smalltalk object system didn't feel as clean as CLOS does, then that would have meaning. 2021-04-24T05:41:22Z Nilby: beach: But I know it's not technically correct, and I'm glad as a CL designer you're great at being technically correct. 2021-04-24T05:41:24Z beach: Nilby: Most people, when they use that term mean either "standard object" or "instance of a standard class". 2021-04-24T05:42:05Z skapata quit (Remote host closed the connection) 2021-04-24T05:44:34Z Nilby: I was meaning how made some silly prototype/cloning things on top of normal CLOS style, which is still an object, but isn't really the normal CL style. 2021-04-24T05:45:26Z slyrus joined #lisp 2021-04-24T05:46:07Z attila_lendvai joined #lisp 2021-04-24T05:46:07Z attila_lendvai quit (Changing host) 2021-04-24T05:46:07Z attila_lendvai joined #lisp 2021-04-24T05:50:17Z slyrus quit (Ping timeout: 265 seconds) 2021-04-24T05:55:29Z shka_ joined #lisp 2021-04-24T06:05:34Z tempest_nox quit (Remote host closed the connection) 2021-04-24T06:07:42Z slyrus joined #lisp 2021-04-24T06:24:52Z Guester8 quit (Ping timeout: 252 seconds) 2021-04-24T06:24:56Z mrchampion quit (Ping timeout: 245 seconds) 2021-04-24T06:32:00Z Oladon quit (Quit: Leaving.) 2021-04-24T06:36:40Z shka_ quit (Quit: Konversation terminated!) 2021-04-24T06:38:44Z mrchampion joined #lisp 2021-04-24T06:42:14Z andrei-n joined #lisp 2021-04-24T07:00:47Z heretical_crypte quit (Ping timeout: 250 seconds) 2021-04-24T07:00:49Z dieggsy quit (Ping timeout: 245 seconds) 2021-04-24T07:00:52Z rodentrabies quit (Ping timeout: 245 seconds) 2021-04-24T07:00:52Z etimmons quit (Ping timeout: 245 seconds) 2021-04-24T07:00:52Z infra_red[m] quit (Ping timeout: 245 seconds) 2021-04-24T07:00:52Z no-defun-allowed quit (Ping timeout: 245 seconds) 2021-04-24T07:03:33Z etimmons joined #lisp 2021-04-24T07:03:38Z no-defun-allowed joined #lisp 2021-04-24T07:03:51Z rodentrabies joined #lisp 2021-04-24T07:03:54Z thinkpad quit (Quit: lawl) 2021-04-24T07:04:17Z heretical_crypte joined #lisp 2021-04-24T07:04:27Z elderK joined #lisp 2021-04-24T07:06:39Z zefram22 quit (Ping timeout: 265 seconds) 2021-04-24T07:06:45Z infra_red[m] joined #lisp 2021-04-24T07:07:16Z dieggsy joined #lisp 2021-04-24T07:08:19Z slyrus quit (Ping timeout: 252 seconds) 2021-04-24T07:14:59Z gaqwas joined #lisp 2021-04-24T07:20:18Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-24T07:21:41Z slyrus joined #lisp 2021-04-24T07:25:20Z mrchampion quit (Ping timeout: 252 seconds) 2021-04-24T07:26:41Z mrchampion joined #lisp 2021-04-24T07:28:47Z IPmonger quit (Ping timeout: 260 seconds) 2021-04-24T07:29:44Z __jrjsmrtn__ quit (Ping timeout: 252 seconds) 2021-04-24T07:30:00Z IPmonger joined #lisp 2021-04-24T07:31:54Z aartaka joined #lisp 2021-04-24T07:32:15Z __jrjsmrtn__ joined #lisp 2021-04-24T07:35:38Z Codaraxis__ joined #lisp 2021-04-24T07:39:07Z Codaraxis_ quit (Ping timeout: 252 seconds) 2021-04-24T07:40:06Z slyrus quit (Ping timeout: 240 seconds) 2021-04-24T07:42:43Z heisig joined #lisp 2021-04-24T07:46:17Z fourier quit (Ping timeout: 265 seconds) 2021-04-24T07:54:15Z cage_ joined #lisp 2021-04-24T07:56:39Z anticrisis_ quit (Read error: Connection reset by peer) 2021-04-24T08:01:46Z pve joined #lisp 2021-04-24T08:07:16Z hendursaga joined #lisp 2021-04-24T08:09:24Z nature joined #lisp 2021-04-24T08:09:57Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-24T08:13:04Z Jachy quit (Ping timeout: 258 seconds) 2021-04-24T08:18:55Z orivej joined #lisp 2021-04-24T08:23:24Z random-nick joined #lisp 2021-04-24T08:24:58Z gigamonk` joined #lisp 2021-04-24T08:25:30Z slyrus joined #lisp 2021-04-24T08:27:31Z gigamonkey quit (Ping timeout: 252 seconds) 2021-04-24T08:27:53Z slyrus quit (Read error: Connection reset by peer) 2021-04-24T08:28:13Z slyrus joined #lisp 2021-04-24T08:32:02Z aartaka_d joined #lisp 2021-04-24T08:33:06Z slyrus quit (Ping timeout: 268 seconds) 2021-04-24T08:34:11Z imode quit (Ping timeout: 240 seconds) 2021-04-24T08:35:02Z aartaka quit (Ping timeout: 246 seconds) 2021-04-24T08:44:48Z slyrus joined #lisp 2021-04-24T08:49:05Z slyrus quit (Ping timeout: 260 seconds) 2021-04-24T08:53:15Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-24T08:53:15Z amb007 quit (Read error: Connection reset by peer) 2021-04-24T08:55:41Z amb007 joined #lisp 2021-04-24T09:01:56Z attila_lendvai quit (Remote host closed the connection) 2021-04-24T09:04:42Z zefram22 joined #lisp 2021-04-24T09:05:38Z hiroaki_ joined #lisp 2021-04-24T09:12:27Z Jachy joined #lisp 2021-04-24T09:14:09Z amb007 quit (Remote host closed the connection) 2021-04-24T09:18:27Z slyrus joined #lisp 2021-04-24T09:20:36Z amb007 joined #lisp 2021-04-24T09:23:09Z slyrus quit (Ping timeout: 260 seconds) 2021-04-24T09:24:11Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-24T09:25:47Z gaqwas quit (Remote host closed the connection) 2021-04-24T09:28:45Z Krystof quit (Ping timeout: 265 seconds) 2021-04-24T09:30:14Z igemnace quit (Quit: WeeChat 3.1) 2021-04-24T09:42:21Z amb007 quit (Read error: Connection reset by peer) 2021-04-24T09:43:37Z slyrus joined #lisp 2021-04-24T09:43:59Z amb007 joined #lisp 2021-04-24T09:47:50Z surabax joined #lisp 2021-04-24T09:47:50Z slyrus quit (Ping timeout: 246 seconds) 2021-04-24T09:52:46Z Inline joined #lisp 2021-04-24T10:00:07Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-24T10:01:17Z edgar-rft joined #lisp 2021-04-24T10:06:03Z hiroaki_ quit (Ping timeout: 260 seconds) 2021-04-24T10:06:31Z zefram22 quit (Ping timeout: 252 seconds) 2021-04-24T10:13:43Z aartaka joined #lisp 2021-04-24T10:15:04Z frgo quit (Remote host closed the connection) 2021-04-24T10:15:29Z frgo joined #lisp 2021-04-24T10:15:32Z slyrus joined #lisp 2021-04-24T10:16:46Z aartaka_d quit (Ping timeout: 260 seconds) 2021-04-24T10:17:13Z klltkr joined #lisp 2021-04-24T10:17:13Z aartaka_d joined #lisp 2021-04-24T10:18:13Z aartaka quit (Ping timeout: 260 seconds) 2021-04-24T10:18:16Z ebrasca joined #lisp 2021-04-24T10:24:53Z karlosz quit (Quit: karlosz) 2021-04-24T10:29:40Z karlosz joined #lisp 2021-04-24T10:34:01Z slyrus quit (Ping timeout: 252 seconds) 2021-04-24T10:35:13Z monolithic joined #lisp 2021-04-24T10:38:39Z andrei-n quit (Quit: Leaving) 2021-04-24T10:38:50Z aartaka_d quit (Ping timeout: 265 seconds) 2021-04-24T10:44:05Z Duuqnd joined #lisp 2021-04-24T10:47:40Z cage_: hi, i would like to add mktemps(3) to osicat even if non standard, any people here that works on that project that would share your opinions/suggestions about adding this function? 2021-04-24T10:49:32Z vegansbane6963 joined #lisp 2021-04-24T10:50:01Z zefram22 joined #lisp 2021-04-24T11:02:24Z karlosz quit (Quit: karlosz) 2021-04-24T11:06:04Z slyrus joined #lisp 2021-04-24T11:07:18Z cosimone joined #lisp 2021-04-24T11:07:52Z orivej quit (Ping timeout: 240 seconds) 2021-04-24T11:08:14Z cage_: here is the patch: https://github.com/osicat/osicat/pull/41 2021-04-24T11:09:13Z Inline__ joined #lisp 2021-04-24T11:10:29Z slyrus quit (Ping timeout: 260 seconds) 2021-04-24T11:12:19Z Inline quit (Ping timeout: 260 seconds) 2021-04-24T11:12:32Z Inline__ is now known as Inline 2021-04-24T11:20:17Z varjag joined #lisp 2021-04-24T11:26:10Z gitgood joined #lisp 2021-04-24T11:28:02Z vaporatorius__ quit (Quit: Leaving) 2021-04-24T11:28:10Z vaporatorius__ joined #lisp 2021-04-24T11:28:24Z vaporatorius__ quit (Remote host closed the connection) 2021-04-24T11:28:39Z vaporatorius joined #lisp 2021-04-24T11:28:39Z vaporatorius quit (Changing host) 2021-04-24T11:28:39Z vaporatorius joined #lisp 2021-04-24T11:34:41Z slyrus joined #lisp 2021-04-24T11:39:20Z slyrus quit (Ping timeout: 268 seconds) 2021-04-24T11:41:25Z aartaka joined #lisp 2021-04-24T11:41:30Z gaqwas joined #lisp 2021-04-24T11:41:31Z gaqwas quit (Changing host) 2021-04-24T11:41:31Z gaqwas joined #lisp 2021-04-24T11:51:39Z perrier-jouet joined #lisp 2021-04-24T11:53:03Z phoe: Is there a list of all keywords defined by/used in ANSI CL? 2021-04-24T11:55:02Z dsrt^ joined #lisp 2021-04-24T11:55:11Z zefram22 quit (Quit: zefram22) 2021-04-24T11:55:28Z zefram22 joined #lisp 2021-04-24T11:55:58Z dieggsy: is there an OpenCV library currently that works with quicklisp? 2021-04-24T11:57:04Z slyrus joined #lisp 2021-04-24T11:58:47Z kevingal joined #lisp 2021-04-24T12:01:12Z slyrus quit (Ping timeout: 240 seconds) 2021-04-24T12:01:13Z nij quit (Read error: Connection reset by peer) 2021-04-24T12:03:08Z theBlackDragon joined #lisp 2021-04-24T12:04:53Z epony quit (Ping timeout: 240 seconds) 2021-04-24T12:12:45Z raeda quit (Quit: Leaving) 2021-04-24T12:14:58Z slyrus joined #lisp 2021-04-24T12:19:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-24T12:23:41Z phoe: Is the function #'(SETF READTABLE-CASE) required to be defined? (AFAIR not, but I'd like to consult other minds as well) 2021-04-24T12:26:58Z vms14 joined #lisp 2021-04-24T12:29:36Z saganman joined #lisp 2021-04-24T12:30:00Z epony joined #lisp 2021-04-24T12:30:56Z Shinmera: iirc anything that's specified as a place may be implemented through a setf expander. 2021-04-24T12:31:34Z phoe: that's what I recall, too 2021-04-24T12:31:54Z _death: clhs 5.1.1.2 2021-04-24T12:31:54Z specbot: Setf Expansions: http://www.lispworks.com/reference/HyperSpec/Body/05_aab.htm 2021-04-24T12:32:09Z phoe: _death: thanks 2021-04-24T12:32:50Z slyrus joined #lisp 2021-04-24T12:34:28Z luckless_ quit (Remote host closed the connection) 2021-04-24T12:37:21Z slyrus quit (Ping timeout: 260 seconds) 2021-04-24T12:39:19Z nij joined #lisp 2021-04-24T12:40:56Z nij: Hello! Sometimes while developing, lisp just crashes and has no chance telling me what's wrong. Especially when I'm not interacting via emacs. Is there a way to force logging any signals? 2021-04-24T12:41:33Z beach: nij: There should be a reason in the *inferior-lisp* buffer. 2021-04-24T12:42:53Z nij: Only if I'm using emacs? 2021-04-24T12:43:17Z nij: I can use a swank/slynk server to do so.. but just wonder if I can find log in another way. 2021-04-24T12:43:20Z phoe: nij: if you are not using emacs, use the terminal in which lisp is launched instead of *inferior-lisp* 2021-04-24T12:43:26Z Shinmera: what are you doing that crashes it? Munging foreign memory? 2021-04-24T12:43:36Z nij: StumpWM 2021-04-24T12:43:43Z phoe: but basically, stdout/stderr are what I would want to see in such a case 2021-04-24T12:43:48Z orivej joined #lisp 2021-04-24T12:44:13Z nij: Oh.. maybe the stdout/stderr is logged by X? That could be.. 2021-04-24T12:44:14Z phoe: figure out how to capture those (maybe they already are captured by your OS in some way? systemd logs?) 2021-04-24T12:45:05Z VincentVega joined #lisp 2021-04-24T12:45:24Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-24T12:47:40Z Spawns_Carpeting joined #lisp 2021-04-24T12:48:39Z slyrus joined #lisp 2021-04-24T12:49:23Z cage_: nij, IIRC you could look at .xsession-errors 2021-04-24T12:50:48Z nij: I'm trying to find where it is. Thanks :) 2021-04-24T12:55:33Z epony quit (Ping timeout: 240 seconds) 2021-04-24T12:55:53Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-24T12:59:13Z nij: cage_: There's no .xsession-errors in my machine. Have tried `sudo find / -type f -name "*xsession-errors*"`. There's another Xorg log in ~/.local/share, but it doesn't say anything about stumpwm. 2021-04-24T12:59:45Z nij: I guess if stumpwm developers didn't force it to log, then nothing is logged? Can I tune sbcl so that any conditions got logged? 2021-04-24T13:01:00Z cage_: nij, strange, i have this file in my home and it is full of lisp errors 2021-04-24T13:01:15Z luckless_ joined #lisp 2021-04-24T13:01:27Z cage_: i do not know if this depends from the way my xserver is configured thoug 2021-04-24T13:02:17Z cage_: do you have a .xsession file in your home? 2021-04-24T13:02:28Z VincentVega: Hi! Is there any library out there that, given a description of a graph (like a bar graph, or a function), would produce instructions to draw that graph? Basically I am looking for a graphical-backend-agnostic plotting library - I want to do the rendering part myself. Hopefully, it would be fully CL, but if not, please share as well : ) 2021-04-24T13:03:57Z cage_: VincentVega, what about generating an svg, postscript or why not? even an xfig file? 2021-04-24T13:05:07Z beach: cage_: That doesn't sound like what is asked for, but what do I know. 2021-04-24T13:05:42Z cage_: sorry 2021-04-24T13:06:15Z VincentVega: cage_: I need it in real time, so, hopefully, I won't have to be reading anything from disk or calling an external executable. By "instructions" I meant really any description, I don't mind svg or anything. 2021-04-24T13:06:39Z _death: take the primitive drawing forms and (defmacro emit (form) `(push ',form *instructions*)) (defun get-instructions () (reverse *instructions*)) 2021-04-24T13:06:41Z zefram22 quit (Ping timeout: 240 seconds) 2021-04-24T13:08:48Z _death: well, almost.. maybe define-emitting-function :) 2021-04-24T13:10:21Z VincentVega: _death: Not sure I am following you - but the problem at this point for me is to find something that can produce the instructions / drawing data, not the conversion part (yet). 2021-04-24T13:11:05Z hiroaki joined #lisp 2021-04-24T13:11:45Z alanz: VincentVega, what about https://en.wikipedia.org/wiki/DOT_%28graph_description_language%29 2021-04-24T13:12:42Z VincentVega: BTW something that can do this incrementally would be a huge plus 2021-04-24T13:14:24Z VincentVega: alanz: dot is not general enough for my purposes. I am looking for something that can do all kinds of plots (sorry, my use of "graph" was a bit ambiguous) 2021-04-24T13:14:49Z alanz: what about d3? https://www.d3-graph-gallery.com/ 2021-04-24T13:15:03Z alanz: it has an API, I think 2021-04-24T13:16:14Z VincentVega: alanz: Hmm, I wonder if it can function as a daemon. Not crazy about JS, but I will take a look, thanks! 2021-04-24T13:17:20Z alanz: well, if it has a a description language underneath it might work. 2021-04-24T13:19:03Z jdz: VincentVega: I might also be missing something, but it seems to me that CLIM output-records are such things. Output captured on an output-recording-stream may be replayed somewhere else. 2021-04-24T13:20:02Z jdz: So if there is a library that draws stuff using CLIM, you'd get your drawing instructions. 2021-04-24T13:20:14Z VincentVega: Anyone had any experience with scigraph (comes with McClim)? 2021-04-24T13:22:00Z VincentVega: alanz: I would really prefer this to be a fully CL solution, at worst running as a binary but not even that 2021-04-24T13:22:36Z nij: cage_ i only have `.Xauthority` in my home 2021-04-24T13:22:37Z alanz: ok, no problem 2021-04-24T13:22:51Z nij: do you use stumpwm as well? 2021-04-24T13:23:07Z cage_: nij, yes 2021-04-24T13:23:30Z cage_: i have a simple .xsession file that calls the stumpwm executable 2021-04-24T13:23:51Z VincentVega: jdz: Sounds interesting. I am not going to be using Clim for this though, thanks for the idea though! 2021-04-24T13:23:58Z nij: I have .xinitrc for that. And I `startx` in tty. 2021-04-24T13:24:02Z _death: VincentVega: I suggested a way to make a library that draws into a library that produces instructions.. a kind of TRACE-like facility 2021-04-24T13:24:33Z nij: How do you invoke X, cage_? 2021-04-24T13:24:44Z VincentVega: _death: ah, I see, alright. 2021-04-24T13:25:07Z cage_: nij this is fun i have an empty .xinitrc file :) 2021-04-24T13:25:09Z amb007 quit (Read error: Connection reset by peer) 2021-04-24T13:25:16Z amb007 joined #lisp 2021-04-24T13:25:21Z cage_: nij i use XDM to start the xserver 2021-04-24T13:25:25Z nij: You might be using other methods.. 2021-04-24T13:25:25Z amb007 quit (Read error: Connection reset by peer) 2021-04-24T13:25:26Z nij: right! 2021-04-24T13:25:41Z amb007 joined #lisp 2021-04-24T13:25:47Z nij: I see. Then that's indeed my problem with X configuration. Not about #lisp then. 2021-04-24T13:26:17Z amb007 quit (Read error: Connection reset by peer) 2021-04-24T13:26:31Z nij: Before fixing that, I'd just use a slynk server to debug. Thank you for your info cage_ :D! 2021-04-24T13:26:50Z hypercube quit (Quit: WeeChat 3.1) 2021-04-24T13:26:50Z cage_: nij, you're welcome! 2021-04-24T13:27:06Z amb007 joined #lisp 2021-04-24T13:30:17Z hypercube joined #lisp 2021-04-24T13:30:34Z hypercube quit (Client Quit) 2021-04-24T13:31:08Z nij left #lisp 2021-04-24T13:33:59Z hypercube joined #lisp 2021-04-24T13:34:24Z nij joined #lisp 2021-04-24T13:35:01Z Krystof joined #lisp 2021-04-24T13:36:42Z VincentVega: Ah, I guess I will go with smth from here (or multiple things) https://www.cliki.net/plotting 2021-04-24T13:38:06Z vms14 quit (Remote host closed the connection) 2021-04-24T13:40:01Z _death: it shouldn't be difficult to write or port a simple plotting library like https://github.com/kristapsdz/kplot/ 2021-04-24T13:40:47Z hypercube quit (Quit: WeeChat 3.1) 2021-04-24T13:41:24Z cage_: there is the efforts from this person: https://peterlane.netlify.app/ltk-plotchart/ 2021-04-24T13:42:17Z hypercube joined #lisp 2021-04-24T13:43:06Z Josh_2 joined #lisp 2021-04-24T13:43:41Z VincentVega: Thanks for the links, but hopefully I can get away without an external dependency, looking at https://www.cliki.net/poly-pen rn 2021-04-24T13:45:02Z cage_: VincentVega, poly-pen seems nice! 2021-04-24T13:45:05Z Josh_2: Ello 2021-04-24T13:45:13Z cage_: Josh_2, hi! 2021-04-24T13:53:44Z nij quit (Ping timeout: 245 seconds) 2021-04-24T13:57:08Z Bike joined #lisp 2021-04-24T13:58:26Z aartaka quit (Ping timeout: 240 seconds) 2021-04-24T14:00:30Z nij joined #lisp 2021-04-24T14:03:12Z andrei-n joined #lisp 2021-04-24T14:03:16Z andrei-n quit (Remote host closed the connection) 2021-04-24T14:05:34Z waleee-cl joined #lisp 2021-04-24T14:10:24Z hypercube quit (Quit: WeeChat 3.1) 2021-04-24T14:10:50Z hypercube joined #lisp 2021-04-24T14:19:58Z nij quit (Remote host closed the connection) 2021-04-24T14:31:47Z ChoHag quit (Remote host closed the connection) 2021-04-24T14:32:02Z ChoHag joined #lisp 2021-04-24T14:39:21Z renzhi joined #lisp 2021-04-24T14:41:11Z zefram22 joined #lisp 2021-04-24T14:41:49Z epony joined #lisp 2021-04-24T14:43:25Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-24T14:52:10Z raeda joined #lisp 2021-04-24T14:57:42Z nij joined #lisp 2021-04-24T14:59:20Z cosimone quit (Remote host closed the connection) 2021-04-24T14:59:35Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-24T14:59:53Z Spawns_Carpeting joined #lisp 2021-04-24T15:09:12Z aeth quit (Ping timeout: 240 seconds) 2021-04-24T15:11:26Z aeth joined #lisp 2021-04-24T15:12:47Z luckless_ quit (Remote host closed the connection) 2021-04-24T15:13:09Z luckless_ joined #lisp 2021-04-24T15:13:13Z epony quit (Ping timeout: 240 seconds) 2021-04-24T15:24:14Z elderK quit (Quit: Connection closed for inactivity) 2021-04-24T15:32:56Z cracauer joined #lisp 2021-04-24T15:38:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-24T15:38:41Z amb007 joined #lisp 2021-04-24T15:42:06Z surabax quit (Ping timeout: 240 seconds) 2021-04-24T15:45:21Z amb007 quit (Ping timeout: 260 seconds) 2021-04-24T15:46:11Z amb007 joined #lisp 2021-04-24T15:55:17Z mindCrime joined #lisp 2021-04-24T15:57:24Z epony joined #lisp 2021-04-24T15:58:56Z surabax joined #lisp 2021-04-24T15:59:49Z amb007 quit (Ping timeout: 260 seconds) 2021-04-24T16:05:07Z aeth quit (Ping timeout: 268 seconds) 2021-04-24T16:06:23Z aeth joined #lisp 2021-04-24T16:07:17Z zefram22 quit (Ping timeout: 260 seconds) 2021-04-24T16:09:06Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-24T16:11:14Z infra_red[m] quit (Ping timeout: 245 seconds) 2021-04-24T16:11:14Z ebrasca: Can stumpwm work with wayland? 2021-04-24T16:11:31Z infra_red[m] joined #lisp 2021-04-24T16:11:59Z e[m]1 quit (Ping timeout: 250 seconds) 2021-04-24T16:12:04Z katco quit (Ping timeout: 245 seconds) 2021-04-24T16:12:23Z VincentVega quit (Quit: Connection closed) 2021-04-24T16:13:33Z e[m]1 joined #lisp 2021-04-24T16:13:45Z CL-ASHOK joined #lisp 2021-04-24T16:14:56Z nij: There's a wayland version of it. I don't think stumpwm can work with wayland right away. 2021-04-24T16:15:05Z loke[m]: ebrasca: no 2021-04-24T16:15:15Z nij: https://github.com/stumpwm/mahogany 2021-04-24T16:15:24Z nij: ebrasca: ^ 2021-04-24T16:15:32Z loke[m]: Modeled after. It's not stumpwm 2021-04-24T16:16:17Z zefram22 joined #lisp 2021-04-24T16:16:25Z nij: Yeah. Similar but different. 2021-04-24T16:17:05Z katco joined #lisp 2021-04-24T16:17:18Z nij: Has anyone tried swank-client with slynk? 2021-04-24T16:17:46Z Bike: there's another lisp compositor called ulubis (https://github.com/malcolmstill/ulubis). dunno how usable it is though 2021-04-24T16:19:06Z slyrus quit (Ping timeout: 265 seconds) 2021-04-24T16:20:23Z spaethnl joined #lisp 2021-04-24T16:22:18Z CL-ASHOK quit (Quit: Connection closed) 2021-04-24T16:29:48Z ebrasca: Is paulownia dead? 2021-04-24T16:30:06Z phoe: certainly seems inactive 2021-04-24T16:31:50Z slyrus joined #lisp 2021-04-24T16:32:21Z Nilby quit (Ping timeout: 250 seconds) 2021-04-24T16:32:34Z edgar-rft: I'm quite sure some are still alive 2021-04-24T16:35:46Z slyrus quit (Ping timeout: 240 seconds) 2021-04-24T16:45:53Z amb007 joined #lisp 2021-04-24T16:46:59Z slyrus joined #lisp 2021-04-24T16:48:01Z slyrus quit (Remote host closed the connection) 2021-04-24T16:48:17Z slyrus joined #lisp 2021-04-24T16:56:16Z nature quit (Ping timeout: 252 seconds) 2021-04-24T17:00:05Z voidlily quit (Ping timeout: 250 seconds) 2021-04-24T17:02:54Z rumbler31 joined #lisp 2021-04-24T17:05:22Z zzappie joined #lisp 2021-04-24T17:07:05Z dieggsy: is there a non-destructive replace ? 2021-04-24T17:07:28Z rumbler31 quit (Remote host closed the connection) 2021-04-24T17:07:58Z dieggsy: currently just doing a copy-seq 2021-04-24T17:08:44Z nature joined #lisp 2021-04-24T17:08:58Z MichaelRaskin: substitute? 2021-04-24T17:09:06Z skapata joined #lisp 2021-04-24T17:09:28Z Bike: there is not. i guess you could do something slightly more efficient by making a sequence of the correct length but uninitialized, and replacing into it 2021-04-24T17:14:11Z mindCrime joined #lisp 2021-04-24T17:24:09Z Sheilong joined #lisp 2021-04-24T17:26:36Z tempest_nox joined #lisp 2021-04-24T17:27:24Z ggoes quit (Quit: WeeChat 2.3) 2021-04-24T17:28:03Z charles` joined #lisp 2021-04-24T17:28:53Z ggoes joined #lisp 2021-04-24T17:28:54Z amb007 quit (Read error: Connection reset by peer) 2021-04-24T17:30:09Z amb007 joined #lisp 2021-04-24T17:34:11Z aartaka joined #lisp 2021-04-24T17:48:59Z Inline quit (Ping timeout: 260 seconds) 2021-04-24T17:58:19Z amb007 quit (Read error: Connection reset by peer) 2021-04-24T17:59:25Z amb007 joined #lisp 2021-04-24T18:04:05Z imode joined #lisp 2021-04-24T18:07:54Z katco quit (Ping timeout: 245 seconds) 2021-04-24T18:10:13Z epony quit (Ping timeout: 240 seconds) 2021-04-24T18:13:43Z skapata quit (Remote host closed the connection) 2021-04-24T18:16:14Z katco joined #lisp 2021-04-24T18:16:46Z hypercube quit (Quit: WeeChat 3.1) 2021-04-24T18:16:52Z skapata joined #lisp 2021-04-24T18:37:29Z theothornhill joined #lisp 2021-04-24T18:42:13Z nij: Hi! I understand env object depends on the implementation. Does anyone know how env objects are represented in sbcl? In particular, how can I (just for fun) create an env object by hand? 2021-04-24T18:42:45Z slyrus quit (Remote host closed the connection) 2021-04-24T18:43:20Z slyrus joined #lisp 2021-04-24T18:44:13Z MichaelRaskin: Do you need it persistent or dynamic extent is still fine? 2021-04-24T18:45:00Z Bike: sbcl environments are a struct called "lexenv". If you want to make environments, look at the sb-cltl2 contrib. 2021-04-24T18:48:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-24T18:50:21Z nij: MichaelRaskin: I just hope to create a minimal env by hand.. sort of like creating a list like (list 1 2 3). 2021-04-24T18:50:34Z nij: Bike: I'll do that. 2021-04-24T18:53:46Z hypercube joined #lisp 2021-04-24T18:55:14Z nij: Bike: sweet! 2021-04-24T18:55:14Z nij: (let ((env nil)) (sb-cltl2:augment-environment env :variable '(x) :declare '((special x)))) 2021-04-24T18:56:09Z Bike: mhm. 2021-04-24T18:57:26Z dieggsy: do i always need to defgeneric before defmethod? just defmethod seems to work at the repl, but i wonder if there are downsides 2021-04-24T18:58:20Z Bike: if you defmethod without a previous defgeneric, a defgeneric is implicitly defined. it's fine. there are some downsides, like the point of definition being less obvious to a reader, and the inability to specify some subtleties about the lambda list 2021-04-24T18:58:31Z sebboh quit (Ping timeout: 260 seconds) 2021-04-24T18:59:02Z Bike: and you can't specify defgeneric options like the argument precedence order or method combination 2021-04-24T18:59:41Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-24T19:00:37Z dieggsy: ah, fair. interesting 2021-04-24T19:01:56Z slyrus joined #lisp 2021-04-24T19:03:25Z nij: With CL, I can never read/write the content of a specific location in the memory like C's pointer, even with CFFI.. is that correct? 2021-04-24T19:06:24Z slyrus quit (Ping timeout: 252 seconds) 2021-04-24T19:07:10Z zefram22 quit (Ping timeout: 252 seconds) 2021-04-24T19:07:26Z _death: (setf (cffi:mem-ref (cffi:make-pointer 0) :int) 0) 2021-04-24T19:08:05Z rumbler31 joined #lisp 2021-04-24T19:08:14Z madagest joined #lisp 2021-04-24T19:08:24Z madage quit (Remote host closed the connection) 2021-04-24T19:12:28Z Bike: can't usually access lisp memory though. 2021-04-24T19:12:40Z rumbler31 quit (Ping timeout: 252 seconds) 2021-04-24T19:12:58Z _death: what do you mean? 2021-04-24T19:13:32Z Bike: i mean usually lisp implementations don't have defined interfaces to let you mess with lisp objects that way 2021-04-24T19:16:28Z _death: well, there's stuff like sb-sys:vector-sap and such.. it's internal, sure 2021-04-24T19:17:52Z zefram22 joined #lisp 2021-04-24T19:20:03Z _death: there are also some nice videos about munging other processes's memory with ptrace.. https://www.youtube.com/watch?v=PuGgCOyBMyc 2021-04-24T19:22:08Z theothornhill joined #lisp 2021-04-24T19:25:34Z sebboh joined #lisp 2021-04-24T19:26:03Z Inline joined #lisp 2021-04-24T19:27:53Z slyrus joined #lisp 2021-04-24T19:30:38Z CrazyPython joined #lisp 2021-04-24T19:32:04Z slyrus quit (Ping timeout: 245 seconds) 2021-04-24T19:32:49Z cage_ quit (Quit: Leaving) 2021-04-24T19:38:17Z VincentVega joined #lisp 2021-04-24T19:39:38Z klltkr joined #lisp 2021-04-24T19:40:17Z nij: (setf (cffi:mem-ref (cffi:make-pointer 0) :int) 0) ;; <= Does this really create a C pointer? Or it's just some equivalence (modulo abstraction) in CL? 2021-04-24T19:41:05Z CrashTestDummy2 joined #lisp 2021-04-24T19:41:27Z VincentVega quit (Client Quit) 2021-04-24T19:42:46Z karlosz joined #lisp 2021-04-24T19:43:26Z CrashTestDummy quit (Ping timeout: 240 seconds) 2021-04-24T19:47:15Z _death: I'm not sure what you think a C pointer is.. it is usually a simple number (an address) during runtime.. a C compiler also maintains type information that tells it what code to generate to dereference or increment it, for example 2021-04-24T19:49:32Z dieggsy: hmm. so i've got this simple class for a playing card: https://paste.dieggsy.com/2021-04-24T15:49:25 - however, from cl-user, (cards:card-value (cards:card '(11 D))) and (cards:card-value (cards:card '(J D))) return different things 2021-04-24T19:49:37Z _death: in CFFI these pointers are not typed, so cffi:make-pointer just takes the address, and you need to specify the type when you dereference it, for example 2021-04-24T19:49:40Z dieggsy: CARDS::J and J respectively 2021-04-24T19:49:44Z dieggsy: i'm not sure what that's about 2021-04-24T19:51:15Z nij: hmm for example, can I let lisp alter a bit at a specific point in the memory? 2021-04-24T19:51:45Z Shinmera: sure, as you just did with that piece of invalid code there. 2021-04-24T19:53:26Z gigamonk`: diegsy: looks like your code translates 11 to CARDS::J but when you pass it J (which is in whatever package you are in) it just passes it through in the (t v) branch. 2021-04-24T19:53:51Z gigamonk` is now known as gigamonkey 2021-04-24T19:54:28Z dieggsy: gigamonkey: my code should be translating J to 11 (and keeping 11 as is) though, no? 2021-04-24T19:55:17Z gigamonkey: Ah, yes. But you didn't export CARDS::J. 2021-04-24T19:55:25Z dieggsy: so when i call card-value, it should be hitting the (11) branch? 2021-04-24T19:55:26Z gigamonkey: Try (cards:card-value (cards:card '(CARDS::J D))) 2021-04-24T19:55:51Z dieggsy: I think i'd like it to just return J in both cases 2021-04-24T19:55:58Z dieggsy: ....but i'm not sure if that makes any sense 2021-04-24T19:56:06Z gigamonkey: What you said before was equivalent to (cards:card-value (cards:card '(CL-USER:::J CL-USER::D))) 2021-04-24T19:56:47Z dieggsy: gigamonkey: oh, is it not even hitting the ((J) 11) branch because it's trying to compare CL-USER::J to CARDS::J ? and then just storing it as the symbol CL-USER::J 2021-04-24T19:56:53Z gigamonkey: Yup. 2021-04-24T19:56:58Z dieggsy: oof 2021-04-24T19:57:01Z dieggsy: Uhhhhhhh 2021-04-24T19:57:08Z theothornhill: dieggsy: I pasted everything into repl without declaring packages, and it returns J for each case 2021-04-24T19:57:43Z dieggsy: theothornhill: yep, because the package is the bit i'm interested in and causing the behavior lol 2021-04-24T19:57:53Z dieggsy: well, my misunderstading of them is causing the behavior 2021-04-24T19:57:53Z theothornhill: Hehe, yeah 2021-04-24T19:57:54Z gigamonkey: dieggsy: this is a case where the stylish thing might be to use keyword symbols. 2021-04-24T19:58:13Z theothornhill: (on an unrelated note - that is a pretty font - which one?) 2021-04-24T19:58:14Z gigamonkey: :J, etc. rather than CARDS::J 2021-04-24T19:58:39Z dieggsy: gigamonkey: ah, because they're part of the :keyword package and like, auto qualified or some such 2021-04-24T19:58:40Z dieggsy: ? 2021-04-24T19:59:26Z gigamonkey: not sure what auto qualified means but yeah, basically you are refering to them by explicit package but it's concise because the package name is empty. 2021-04-24T19:59:43Z dieggsy: gigamonkey: just to be clear, that really is the only simple workaround here, right? since i'm working with packages there *is no* notion of "just" J, it's going to be either CL-USER:J or CARDS:J 2021-04-24T19:59:51Z gigamonkey: It also denotes "this is just a symbol being used for it's name" 2021-04-24T19:59:54Z gigamonkey: That's right. 2021-04-24T20:00:27Z _death: dieggsy: you can also export J, so that when you use-package :cards or import it you don't need to qualify it 2021-04-24T20:00:27Z gigamonkey: (Except :: instead of : unless you export J from one of those packages.) 2021-04-24T20:00:29Z dieggsy: gigamonkey: thanks! coming back to lisp for a job after a long time in scheme heh. 2021-04-24T20:01:14Z Lord_of_Life_ joined #lisp 2021-04-24T20:01:14Z dieggsy: theothornhill: title is Fira Sans, code is Iosevka 2021-04-24T20:01:19Z slyrus joined #lisp 2021-04-24T20:01:47Z gigamonkey: If you need more info on this, I would of course recommend http://gigamonkeys.com/book/programming-in-the-large-packages-and-symbols.html ;-) 2021-04-24T20:01:49Z _death: dieggsy: or you can compare just the name instead of identity (case uses eql, you can use say cond and string=) 2021-04-24T20:02:00Z theothornhill: Thanks :) 2021-04-24T20:02:11Z Lord_of_Life quit (Ping timeout: 240 seconds) 2021-04-24T20:03:29Z dieggsy: gigamonkey: ah, thank you!! it has indeed been years since i last picked that up (or did any CL programming) 2021-04-24T20:04:05Z dieggsy: _death: oh shit, i had no idea you could do string= with symbols.... at any point in my lisp journey lol. i've a lot to learn. 2021-04-24T20:04:09Z nij: was reading this last night. super useful => http://gigamonkeys.com/book/programming-in-the-large-packages-and-symbols.html 2021-04-24T20:04:19Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-24T20:04:30Z dieggsy: nij: gigamonkey just linked that heh 2021-04-24T20:04:44Z nij: oh i'm responding to that link! 2021-04-24T20:05:03Z _death: dieggsy: it takes a string designator, which symbols are.. if you want to be more precise, you could (equal (symbol-name x) "J") 2021-04-24T20:05:20Z ebrasca: Does mahogany build? 2021-04-24T20:05:35Z slyrus quit (Ping timeout: 246 seconds) 2021-04-24T20:06:00Z Josh_2: dieggsy: dw, I've been using Lisp for years and i only realized this a few weeks ago... 2021-04-24T20:07:01Z dieggsy: _death: wait, how do i import J ? I assume i add it to (:export ...) up top but when i try (import 'CARDS:J) i get a name conflict error 2021-04-24T20:07:14Z slyrus joined #lisp 2021-04-24T20:07:39Z _death: dieggsy: that's because you previously interned a symbol with the name "J" in cl-user 2021-04-24T20:08:02Z dieggsy: oh fair 2021-04-24T20:08:07Z _death: dieggsy: so you can invoke a restart to shadow it 2021-04-24T20:08:30Z nij: It might be better to rename string= by string-designator= ? Though it's much longer.. 2021-04-24T20:09:23Z _death: nij: designators are for convenience.. you wouldn't want to rename all your operations just because you make them a bit more convenient 2021-04-24T20:09:50Z _death: find-package-using-package-designator vs. find-package 2021-04-24T20:11:46Z slyrus quit (Ping timeout: 260 seconds) 2021-04-24T20:12:25Z wsinatra joined #lisp 2021-04-24T20:15:01Z gumman quit (Read error: Connection reset by peer) 2021-04-24T20:15:33Z gumman joined #lisp 2021-04-24T20:17:35Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-24T20:17:53Z kiroul left #lisp 2021-04-24T20:18:51Z wsinatra joined #lisp 2021-04-24T20:19:19Z wsinatra quit (Remote host closed the connection) 2021-04-24T20:20:25Z wsinatra joined #lisp 2021-04-24T20:21:42Z wsinatra quit (Client Quit) 2021-04-24T20:26:25Z zefram22 quit (Quit: zefram22) 2021-04-24T20:26:45Z zefram22 joined #lisp 2021-04-24T20:29:05Z joast quit (Quit: Leaving.) 2021-04-24T20:34:33Z voidlily joined #lisp 2021-04-24T20:38:17Z joast joined #lisp 2021-04-24T20:38:24Z nij quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-24T20:39:23Z slyrus joined #lisp 2021-04-24T20:40:00Z CrashTestDummy2 quit (Quit: Leaving) 2021-04-24T20:49:59Z CrashTestDummy joined #lisp 2021-04-24T20:51:03Z saganman quit (Read error: Connection reset by peer) 2021-04-24T20:55:49Z slyrus quit (Ping timeout: 245 seconds) 2021-04-24T20:56:07Z tempest_nox quit (Remote host closed the connection) 2021-04-24T20:58:40Z sauvin quit (Read error: Connection reset by peer) 2021-04-24T21:01:50Z krid joined #lisp 2021-04-24T21:02:13Z slyrus joined #lisp 2021-04-24T21:04:17Z surabax quit (Quit: Leaving) 2021-04-24T21:09:34Z slyrus quit (Ping timeout: 245 seconds) 2021-04-24T21:10:07Z slyrus joined #lisp 2021-04-24T21:10:49Z mindCrime quit (Ping timeout: 245 seconds) 2021-04-24T21:10:56Z epony joined #lisp 2021-04-24T21:12:11Z tempest_nox joined #lisp 2021-04-24T21:14:46Z slyrus quit (Ping timeout: 252 seconds) 2021-04-24T21:16:09Z joast quit (*.net *.split) 2021-04-24T21:16:09Z spaethnl quit (*.net *.split) 2021-04-24T21:16:09Z ChoHag quit (*.net *.split) 2021-04-24T21:16:09Z Bike quit (*.net *.split) 2021-04-24T21:16:09Z perrier-jouet quit (*.net *.split) 2021-04-24T21:16:09Z varjag quit (*.net *.split) 2021-04-24T21:16:09Z phadthai quit (*.net *.split) 2021-04-24T21:16:09Z aindilis quit (*.net *.split) 2021-04-24T21:16:09Z ukari quit (*.net *.split) 2021-04-24T21:16:09Z notzmv quit (*.net *.split) 2021-04-24T21:16:09Z wxie quit (*.net *.split) 2021-04-24T21:16:09Z jonatack quit (*.net *.split) 2021-04-24T21:16:09Z kopiyka quit (*.net *.split) 2021-04-24T21:16:09Z Shinmera quit (*.net *.split) 2021-04-24T21:16:09Z TMA quit (*.net *.split) 2021-04-24T21:16:09Z zefram22 quit (*.net *.split) 2021-04-24T21:16:09Z aeth quit (*.net *.split) 2021-04-24T21:16:09Z Josh_2 quit (*.net *.split) 2021-04-24T21:16:10Z theBlackDragon quit (*.net *.split) 2021-04-24T21:16:10Z gitgood quit (*.net *.split) 2021-04-24T21:16:10Z Duuqnd quit (*.net *.split) 2021-04-24T21:16:10Z ebrasca quit (*.net *.split) 2021-04-24T21:16:10Z Codaraxis__ quit (*.net *.split) 2021-04-24T21:16:10Z X-Scale quit (*.net *.split) 2021-04-24T21:16:10Z zaquest quit (*.net *.split) 2021-04-24T21:16:10Z jerme_ quit (*.net *.split) 2021-04-24T21:16:10Z xlei quit (*.net *.split) 2021-04-24T21:16:10Z snits_ quit (*.net *.split) 2021-04-24T21:16:10Z sxmx1 quit (*.net *.split) 2021-04-24T21:16:10Z Noisytoot quit (*.net *.split) 2021-04-24T21:16:10Z fengshaun quit (*.net *.split) 2021-04-24T21:16:10Z z0d quit (*.net *.split) 2021-04-24T21:16:10Z Colleen quit (*.net *.split) 2021-04-24T21:16:10Z dilated_dinosaur quit (*.net *.split) 2021-04-24T21:16:10Z zupss quit (*.net *.split) 2021-04-24T21:16:10Z Adamclisi quit (*.net *.split) 2021-04-24T21:16:10Z specbot quit (*.net *.split) 2021-04-24T21:16:10Z johnjay quit (*.net *.split) 2021-04-24T21:16:10Z MIF quit (*.net *.split) 2021-04-24T21:16:10Z conkker quit (*.net *.split) 2021-04-24T21:16:10Z cods quit (*.net *.split) 2021-04-24T21:16:10Z saturn2 quit (*.net *.split) 2021-04-24T21:16:10Z getha quit (*.net *.split) 2021-04-24T21:16:10Z hdasch quit (*.net *.split) 2021-04-24T21:16:10Z hvxgr quit (*.net *.split) 2021-04-24T21:16:10Z zymurgy quit (*.net *.split) 2021-04-24T21:16:10Z bkst quit (*.net *.split) 2021-04-24T21:16:10Z remexre quit (*.net *.split) 2021-04-24T21:16:10Z lavaflow quit (*.net *.split) 2021-04-24T21:16:10Z Ziemas quit (*.net *.split) 2021-04-24T21:16:10Z eagleflo quit (*.net *.split) 2021-04-24T21:16:10Z amb007 quit (*.net *.split) 2021-04-24T21:16:10Z vegansbane6963 quit (*.net *.split) 2021-04-24T21:16:10Z ramus quit (*.net *.split) 2021-04-24T21:16:10Z glamas_ quit (*.net *.split) 2021-04-24T21:16:10Z mrSpec quit (*.net *.split) 2021-04-24T21:16:10Z jrm quit (*.net *.split) 2021-04-24T21:16:10Z cyberlard quit (*.net *.split) 2021-04-24T21:16:10Z Necktwi quit (*.net *.split) 2021-04-24T21:16:11Z Xach quit (*.net *.split) 2021-04-24T21:16:11Z diamondbond quit (*.net *.split) 2021-04-24T21:16:11Z troydm quit (*.net *.split) 2021-04-24T21:16:11Z jprajzne quit (*.net *.split) 2021-04-24T21:16:11Z srji quit (*.net *.split) 2021-04-24T21:16:11Z nckx quit (*.net *.split) 2021-04-24T21:16:11Z SlashLife quit (*.net *.split) 2021-04-24T21:16:11Z tessier quit (*.net *.split) 2021-04-24T21:16:11Z jgkamat quit (*.net *.split) 2021-04-24T21:16:11Z caoliver quit (*.net *.split) 2021-04-24T21:16:11Z rotty quit (*.net *.split) 2021-04-24T21:16:11Z Patternmaster quit (*.net *.split) 2021-04-24T21:16:11Z thermo quit (*.net *.split) 2021-04-24T21:16:11Z jfb4 quit (*.net *.split) 2021-04-24T21:16:11Z madagest quit (*.net *.split) 2021-04-24T21:16:11Z zzappie quit (*.net *.split) 2021-04-24T21:16:11Z luckless_ quit (*.net *.split) 2021-04-24T21:16:11Z hendursaga quit (*.net *.split) 2021-04-24T21:16:11Z cantstanya quit (*.net *.split) 2021-04-24T21:16:11Z Aurora_v_kosmose quit (*.net *.split) 2021-04-24T21:16:11Z zooey quit (*.net *.split) 2021-04-24T21:16:11Z jeosol quit (*.net *.split) 2021-04-24T21:16:11Z etimmons quit (*.net *.split) 2021-04-24T21:16:11Z semz quit (*.net *.split) 2021-04-24T21:16:11Z alanz quit (*.net *.split) 2021-04-24T21:16:12Z leeren quit (*.net *.split) 2021-04-24T21:16:12Z tweet[m] quit (*.net *.split) 2021-04-24T21:16:12Z loke[m] quit (*.net *.split) 2021-04-24T21:16:13Z Gnuxie[m] quit (*.net *.split) 2021-04-24T21:16:13Z ThaEwat quit (*.net *.split) 2021-04-24T21:16:13Z eschatologist quit (*.net *.split) 2021-04-24T21:16:13Z ecraven quit (*.net *.split) 2021-04-24T21:16:13Z jibanes quit (*.net *.split) 2021-04-24T21:16:13Z gum quit (*.net *.split) 2021-04-24T21:16:13Z xi- quit (*.net *.split) 2021-04-24T21:16:13Z flip214 quit (*.net *.split) 2021-04-24T21:16:13Z katco quit (*.net *.split) 2021-04-24T21:16:13Z no-defun-allowed quit (*.net *.split) 2021-04-24T21:16:13Z antoszka quit (*.net *.split) 2021-04-24T21:16:14Z theo[m]1 quit (*.net *.split) 2021-04-24T21:16:14Z santiagopim[m] quit (*.net *.split) 2021-04-24T21:16:14Z quanta[m] quit (*.net *.split) 2021-04-24T21:16:14Z dmiles[m] quit (*.net *.split) 2021-04-24T21:16:14Z dim quit (*.net *.split) 2021-04-24T21:16:14Z mgxm quit (*.net *.split) 2021-04-24T21:16:15Z mr_yogurt quit (*.net *.split) 2021-04-24T21:16:15Z gensym quit (*.net *.split) 2021-04-24T21:16:15Z ck_ quit (*.net *.split) 2021-04-24T21:16:15Z wigust quit (*.net *.split) 2021-04-24T21:16:15Z cross quit (*.net *.split) 2021-04-24T21:16:15Z em quit (*.net *.split) 2021-04-24T21:16:15Z xristos quit (*.net *.split) 2021-04-24T21:16:15Z sbryant quit (*.net *.split) 2021-04-24T21:16:15Z shinohai quit (*.net *.split) 2021-04-24T21:16:15Z madnificent quit (*.net *.split) 2021-04-24T21:16:15Z Inline quit (*.net *.split) 2021-04-24T21:16:15Z sebboh quit (*.net *.split) 2021-04-24T21:16:15Z skapata quit (*.net *.split) 2021-04-24T21:16:15Z renzhi quit (*.net *.split) 2021-04-24T21:16:15Z waleee-cl quit (*.net *.split) 2021-04-24T21:16:15Z hiroaki quit (*.net *.split) 2021-04-24T21:16:15Z kevingal quit (*.net *.split) 2021-04-24T21:16:15Z IPmonger quit (*.net *.split) 2021-04-24T21:16:15Z necrontab quit (*.net *.split) 2021-04-24T21:16:15Z b20n quit (*.net *.split) 2021-04-24T21:16:15Z sjl quit (*.net *.split) 2021-04-24T21:16:15Z phantomics quit (*.net *.split) 2021-04-24T21:16:15Z _paul0 quit (*.net *.split) 2021-04-24T21:16:15Z pent quit (*.net *.split) 2021-04-24T21:16:15Z bytesighs quit (*.net *.split) 2021-04-24T21:16:15Z parisienne quit (*.net *.split) 2021-04-24T21:16:15Z jello_pudding quit (*.net *.split) 2021-04-24T21:16:15Z chewbranca quit (*.net *.split) 2021-04-24T21:16:15Z jcowan quit (*.net *.split) 2021-04-24T21:16:15Z travv0 quit (*.net *.split) 2021-04-24T21:16:15Z XachX quit (*.net *.split) 2021-04-24T21:16:15Z beach quit (*.net *.split) 2021-04-24T21:16:15Z simplegauss quit (*.net *.split) 2021-04-24T21:16:15Z lawt quit (*.net *.split) 2021-04-24T21:16:15Z fe[nl]ix quit (*.net *.split) 2021-04-24T21:16:15Z ioa quit (*.net *.split) 2021-04-24T21:16:15Z Blkt quit (*.net *.split) 2021-04-24T21:16:15Z Yardanico quit (*.net *.split) 2021-04-24T21:16:15Z spal quit (*.net *.split) 2021-04-24T21:16:15Z easye quit (*.net *.split) 2021-04-24T21:16:15Z thecoffemaker quit (*.net *.split) 2021-04-24T21:16:15Z alfred188 quit (*.net *.split) 2021-04-24T21:16:15Z jsatk quit (*.net *.split) 2021-04-24T21:16:15Z pyc quit (*.net *.split) 2021-04-24T21:16:15Z shrysr_ quit (*.net *.split) 2021-04-24T21:16:15Z plisp2 quit (*.net *.split) 2021-04-24T21:16:15Z tgbugs quit (*.net *.split) 2021-04-24T21:16:15Z zigpaw107613 quit (*.net *.split) 2021-04-24T21:16:16Z emacsomancer quit (*.net *.split) 2021-04-24T21:16:16Z ozzloy quit (*.net *.split) 2021-04-24T21:16:16Z Inoperable quit (*.net *.split) 2021-04-24T21:16:16Z epony quit (*.net *.split) 2021-04-24T21:16:16Z Lord_of_Life quit (*.net *.split) 2021-04-24T21:16:16Z Krystof quit (*.net *.split) 2021-04-24T21:16:16Z gabiruh quit (*.net *.split) 2021-04-24T21:16:16Z opcode quit (*.net *.split) 2021-04-24T21:16:16Z jurov_ quit (*.net *.split) 2021-04-24T21:16:16Z OlCe quit (*.net *.split) 2021-04-24T21:16:16Z sukaeto quit (*.net *.split) 2021-04-24T21:16:16Z penguwin quit (*.net *.split) 2021-04-24T21:16:16Z myall quit (*.net *.split) 2021-04-24T21:16:16Z sm2n quit (*.net *.split) 2021-04-24T21:16:16Z Lord_Nightmare quit (*.net *.split) 2021-04-24T21:16:16Z nitrix quit (*.net *.split) 2021-04-24T21:16:16Z mood quit (*.net *.split) 2021-04-24T21:16:16Z stux|RC quit (*.net *.split) 2021-04-24T21:16:16Z gigetoo quit (*.net *.split) 2021-04-24T21:16:16Z qwer quit (*.net *.split) 2021-04-24T21:16:16Z minion quit (*.net *.split) 2021-04-24T21:16:16Z ferada quit (*.net *.split) 2021-04-24T21:16:16Z pok quit (*.net *.split) 2021-04-24T21:16:16Z Juonu quit (*.net *.split) 2021-04-24T21:16:16Z drdo quit (*.net *.split) 2021-04-24T21:16:16Z APic quit (*.net *.split) 2021-04-24T21:16:16Z Eoco quit (*.net *.split) 2021-04-24T21:16:16Z nightfly quit (*.net *.split) 2021-04-24T21:16:16Z Papa quit (*.net *.split) 2021-04-24T21:16:16Z tempest_nox quit (*.net *.split) 2021-04-24T21:16:16Z gumman quit (*.net *.split) 2021-04-24T21:16:16Z vaporatorius quit (*.net *.split) 2021-04-24T21:16:16Z edgar-rft quit (*.net *.split) 2021-04-24T21:16:16Z mrchampion quit (*.net *.split) 2021-04-24T21:16:16Z grumble quit (*.net *.split) 2021-04-24T21:16:16Z DGASAU quit (*.net *.split) 2021-04-24T21:16:16Z grnman_ quit (*.net *.split) 2021-04-24T21:16:16Z kslt1 quit (*.net *.split) 2021-04-24T21:16:16Z xsperry quit (*.net *.split) 2021-04-24T21:16:16Z loke quit (*.net *.split) 2021-04-24T21:16:16Z lottaquestions quit (*.net *.split) 2021-04-24T21:16:16Z cpape quit (*.net *.split) 2021-04-24T21:16:16Z Posterdati quit (*.net *.split) 2021-04-24T21:16:16Z datajerk quit (*.net *.split) 2021-04-24T21:16:17Z luna_is_here quit (*.net *.split) 2021-04-24T21:16:17Z pranavats quit (*.net *.split) 2021-04-24T21:16:17Z mister_m quit (*.net *.split) 2021-04-24T21:16:17Z micro quit (*.net *.split) 2021-04-24T21:16:17Z brown121407 quit (*.net *.split) 2021-04-24T21:16:17Z ilmu quit (*.net *.split) 2021-04-24T21:16:17Z mfiano quit (*.net *.split) 2021-04-24T21:16:17Z dieggsy quit (*.net *.split) 2021-04-24T21:16:17Z heretical_crypte quit (*.net *.split) 2021-04-24T21:16:17Z gendl quit (*.net *.split) 2021-04-24T21:16:17Z sveit quit (*.net *.split) 2021-04-24T21:16:17Z thonkpod quit (*.net *.split) 2021-04-24T21:16:17Z agam_b[m] quit (*.net *.split) 2021-04-24T21:16:17Z kreyren quit (*.net *.split) 2021-04-24T21:16:18Z FennecCode quit (*.net *.split) 2021-04-24T21:16:18Z Nikotiini quit (*.net *.split) 2021-04-24T21:16:18Z azrazalea quit (*.net *.split) 2021-04-24T21:16:18Z herlocksholmes quit (*.net *.split) 2021-04-24T21:16:18Z AdmiralBumbleBee quit (*.net *.split) 2021-04-24T21:16:18Z spacebat2 quit (*.net *.split) 2021-04-24T21:16:18Z vhost- quit (*.net *.split) 2021-04-24T21:16:18Z [df] quit (*.net *.split) 2021-04-24T21:16:18Z add^_ quit (*.net *.split) 2021-04-24T21:16:18Z mtd_ quit (*.net *.split) 2021-04-24T21:16:18Z klltkr quit (*.net *.split) 2021-04-24T21:16:18Z matthewcroughan quit (*.net *.split) 2021-04-24T21:16:18Z wooden quit (*.net *.split) 2021-04-24T21:16:18Z Iolo quit (*.net *.split) 2021-04-24T21:16:18Z mseddon1 quit (*.net *.split) 2021-04-24T21:16:18Z srandon111 quit (*.net *.split) 2021-04-24T21:16:18Z Jesin quit (*.net *.split) 2021-04-24T21:16:18Z selwyn quit (*.net *.split) 2021-04-24T21:16:18Z contrapunctus quit (*.net *.split) 2021-04-24T21:16:18Z dtman34 quit (*.net *.split) 2021-04-24T21:16:18Z brass quit (*.net *.split) 2021-04-24T21:16:18Z d4ryus quit (*.net *.split) 2021-04-24T21:16:18Z alandipert quit (*.net *.split) 2021-04-24T21:16:18Z andreyorst quit (*.net *.split) 2021-04-24T21:16:18Z _death quit (*.net *.split) 2021-04-24T21:16:18Z infra_red[m] quit (*.net *.split) 2021-04-24T21:16:18Z frgo quit (*.net *.split) 2021-04-24T21:16:18Z rodentrabies quit (*.net *.split) 2021-04-24T21:16:19Z MrtnDk[m] quit (*.net *.split) 2021-04-24T21:16:19Z arcontethegreat[ quit (*.net *.split) 2021-04-24T21:16:19Z susam quit (*.net *.split) 2021-04-24T21:16:19Z rvirding quit (*.net *.split) 2021-04-24T21:16:19Z vydd quit (*.net *.split) 2021-04-24T21:16:19Z winny quit (*.net *.split) 2021-04-24T21:16:19Z aaronm04 quit (*.net *.split) 2021-04-24T21:16:19Z Ekho quit (*.net *.split) 2021-04-24T21:16:19Z jackdaniel quit (*.net *.split) 2021-04-24T21:16:19Z astronavt quit (*.net *.split) 2021-04-24T21:16:19Z cracauer quit (*.net *.split) 2021-04-24T21:16:19Z Demosthenex quit (*.net *.split) 2021-04-24T21:16:19Z mgsk_ quit (*.net *.split) 2021-04-24T21:16:19Z vegai quit (*.net *.split) 2021-04-24T21:16:19Z SAL9000 quit (*.net *.split) 2021-04-24T21:16:19Z isoraqathedh quit (*.net *.split) 2021-04-24T21:16:19Z fitzsim quit (*.net *.split) 2021-04-24T21:16:19Z ravndal quit (*.net *.split) 2021-04-24T21:16:19Z ceblan quit (*.net *.split) 2021-04-24T21:16:19Z engblom quit (*.net *.split) 2021-04-24T21:16:19Z Fade quit (*.net *.split) 2021-04-24T21:16:19Z mtd quit (*.net *.split) 2021-04-24T21:16:19Z White_Flame quit (*.net *.split) 2021-04-24T21:16:19Z ober quit (*.net *.split) 2021-04-24T21:16:19Z borodust quit (*.net *.split) 2021-04-24T21:16:19Z jdz quit (*.net *.split) 2021-04-24T21:16:19Z samebchase- quit (*.net *.split) 2021-04-24T21:16:19Z MetaYan_ quit (*.net *.split) 2021-04-24T21:16:19Z ineiros quit (*.net *.split) 2021-04-24T21:16:20Z tomaw quit (*.net *.split) 2021-04-24T21:16:20Z dsrt^ quit (Max SendQ exceeded) 2021-04-24T21:17:26Z alfred188 joined #lisp 2021-04-24T21:17:42Z ilmu joined #lisp 2021-04-24T21:17:42Z mfiano joined #lisp 2021-04-24T21:17:42Z micro joined #lisp 2021-04-24T21:17:42Z mister_m joined #lisp 2021-04-24T21:17:42Z pranavats joined #lisp 2021-04-24T21:17:42Z luna_is_here joined #lisp 2021-04-24T21:17:42Z datajerk joined #lisp 2021-04-24T21:17:42Z Posterdati joined #lisp 2021-04-24T21:17:42Z cpape joined #lisp 2021-04-24T21:17:42Z brown121407 joined #lisp 2021-04-24T21:17:42Z lottaquestions joined #lisp 2021-04-24T21:17:42Z loke joined #lisp 2021-04-24T21:17:42Z xsperry joined #lisp 2021-04-24T21:17:42Z kslt1 joined #lisp 2021-04-24T21:17:42Z grnman_ joined #lisp 2021-04-24T21:17:42Z DGASAU joined #lisp 2021-04-24T21:17:42Z grumble joined #lisp 2021-04-24T21:17:42Z mrchampion joined #lisp 2021-04-24T21:17:42Z edgar-rft joined #lisp 2021-04-24T21:17:42Z vaporatorius joined #lisp 2021-04-24T21:17:42Z gumman joined #lisp 2021-04-24T21:17:42Z tempest_nox joined #lisp 2021-04-24T21:17:42Z joast joined #lisp 2021-04-24T21:17:42Z zefram22 joined #lisp 2021-04-24T21:17:42Z amb007 joined #lisp 2021-04-24T21:17:42Z spaethnl joined #lisp 2021-04-24T21:17:42Z aeth joined #lisp 2021-04-24T21:17:42Z ChoHag joined #lisp 2021-04-24T21:17:42Z Bike joined #lisp 2021-04-24T21:17:42Z Josh_2 joined #lisp 2021-04-24T21:17:42Z theBlackDragon joined #lisp 2021-04-24T21:17:42Z perrier-jouet joined #lisp 2021-04-24T21:17:42Z gitgood joined #lisp 2021-04-24T21:17:42Z varjag joined #lisp 2021-04-24T21:17:42Z vegansbane6963 joined #lisp 2021-04-24T21:17:42Z Duuqnd joined #lisp 2021-04-24T21:17:42Z ebrasca joined #lisp 2021-04-24T21:17:42Z phadthai joined #lisp 2021-04-24T21:17:42Z X-Scale joined #lisp 2021-04-24T21:17:42Z aindilis joined #lisp 2021-04-24T21:17:42Z zaquest joined #lisp 2021-04-24T21:17:42Z ukari joined #lisp 2021-04-24T21:17:42Z notzmv joined #lisp 2021-04-24T21:17:42Z ramus joined #lisp 2021-04-24T21:17:42Z wxie joined #lisp 2021-04-24T21:17:42Z jerme_ joined #lisp 2021-04-24T21:17:42Z xlei joined #lisp 2021-04-24T21:17:42Z snits_ joined #lisp 2021-04-24T21:17:42Z sxmx1 joined #lisp 2021-04-24T21:17:42Z glamas_ joined #lisp 2021-04-24T21:17:42Z Noisytoot joined #lisp 2021-04-24T21:17:42Z mrSpec joined #lisp 2021-04-24T21:17:42Z jrm joined #lisp 2021-04-24T21:17:42Z TMA joined #lisp 2021-04-24T21:17:42Z Shinmera joined #lisp 2021-04-24T21:17:42Z kopiyka joined #lisp 2021-04-24T21:17:42Z jonatack joined #lisp 2021-04-24T21:17:42Z fengshaun joined #lisp 2021-04-24T21:17:42Z z0d joined #lisp 2021-04-24T21:17:42Z cyberlard joined #lisp 2021-04-24T21:17:42Z Colleen joined #lisp 2021-04-24T21:17:42Z Necktwi joined #lisp 2021-04-24T21:17:42Z dilated_dinosaur joined #lisp 2021-04-24T21:17:42Z Xach joined #lisp 2021-04-24T21:17:42Z zupss joined #lisp 2021-04-24T21:17:42Z Adamclisi joined #lisp 2021-04-24T21:17:42Z specbot joined #lisp 2021-04-24T21:17:42Z johnjay joined #lisp 2021-04-24T21:17:42Z MIF joined #lisp 2021-04-24T21:17:42Z conkker joined #lisp 2021-04-24T21:17:42Z cods joined #lisp 2021-04-24T21:17:42Z diamondbond joined #lisp 2021-04-24T21:17:42Z troydm joined #lisp 2021-04-24T21:17:42Z jprajzne joined #lisp 2021-04-24T21:17:42Z srji joined #lisp 2021-04-24T21:17:42Z Ziemas joined #lisp 2021-04-24T21:17:42Z lavaflow joined #lisp 2021-04-24T21:17:42Z remexre joined #lisp 2021-04-24T21:17:42Z eagleflo joined #lisp 2021-04-24T21:17:42Z bkst joined #lisp 2021-04-24T21:17:42Z zymurgy joined #lisp 2021-04-24T21:17:42Z hvxgr joined #lisp 2021-04-24T21:17:42Z hdasch joined #lisp 2021-04-24T21:17:42Z getha joined #lisp 2021-04-24T21:17:42Z saturn2 joined #lisp 2021-04-24T21:17:42Z nckx joined #lisp 2021-04-24T21:17:42Z jfb4 joined #lisp 2021-04-24T21:17:42Z Patternmaster joined #lisp 2021-04-24T21:17:42Z rotty joined #lisp 2021-04-24T21:17:42Z jgkamat joined #lisp 2021-04-24T21:17:42Z caoliver joined #lisp 2021-04-24T21:17:42Z tessier joined #lisp 2021-04-24T21:17:42Z thermo joined #lisp 2021-04-24T21:17:42Z SlashLife joined #lisp 2021-04-24T21:17:47Z dsrt^ joined #lisp 2021-04-24T21:17:51Z jeosol joined #lisp 2021-04-24T21:17:53Z xsperry quit (Max SendQ exceeded) 2021-04-24T21:17:53Z datajerk quit (Max SendQ exceeded) 2021-04-24T21:17:57Z madagest joined #lisp 2021-04-24T21:17:57Z zzappie joined #lisp 2021-04-24T21:17:57Z luckless_ joined #lisp 2021-04-24T21:17:57Z hendursaga joined #lisp 2021-04-24T21:17:57Z cantstanya joined #lisp 2021-04-24T21:17:57Z Aurora_v_kosmose joined #lisp 2021-04-24T21:17:57Z zooey joined #lisp 2021-04-24T21:18:02Z cantstanya quit (Max SendQ exceeded) 2021-04-24T21:18:06Z Aurora_v_kosmose quit (Quit: Пока, мир.) 2021-04-24T21:18:21Z dieggsy joined #lisp 2021-04-24T21:18:21Z heretical_crypte joined #lisp 2021-04-24T21:18:21Z gendl joined #lisp 2021-04-24T21:18:21Z sveit joined #lisp 2021-04-24T21:18:21Z thonkpod joined #lisp 2021-04-24T21:18:21Z agam_b[m] joined #lisp 2021-04-24T21:18:21Z kreyren joined #lisp 2021-04-24T21:18:21Z FennecCode joined #lisp 2021-04-24T21:18:21Z Nikotiini joined #lisp 2021-04-24T21:18:21Z herlocksholmes joined #lisp 2021-04-24T21:18:21Z azrazalea joined #lisp 2021-04-24T21:18:21Z AdmiralBumbleBee joined #lisp 2021-04-24T21:18:21Z vhost- joined #lisp 2021-04-24T21:18:21Z [df] joined #lisp 2021-04-24T21:18:21Z spacebat2 joined #lisp 2021-04-24T21:18:21Z add^_ joined #lisp 2021-04-24T21:18:21Z mtd_ joined #lisp 2021-04-24T21:18:24Z datajerk joined #lisp 2021-04-24T21:18:28Z ceblan joined #lisp 2021-04-24T21:18:28Z engblom joined #lisp 2021-04-24T21:18:28Z mtd joined #lisp 2021-04-24T21:18:28Z Fade joined #lisp 2021-04-24T21:18:28Z White_Flame joined #lisp 2021-04-24T21:18:28Z ober joined #lisp 2021-04-24T21:18:28Z borodust joined #lisp 2021-04-24T21:18:28Z jdz joined #lisp 2021-04-24T21:18:28Z samebchase- joined #lisp 2021-04-24T21:18:28Z MetaYan_ joined #lisp 2021-04-24T21:18:28Z ineiros joined #lisp 2021-04-24T21:18:28Z tomaw joined #lisp 2021-04-24T21:18:30Z FennecCode quit (Max SendQ exceeded) 2021-04-24T21:18:44Z teej quit (Ping timeout: 245 seconds) 2021-04-24T21:18:47Z physpi quit (Ping timeout: 261 seconds) 2021-04-24T21:18:47Z entel quit (Ping timeout: 261 seconds) 2021-04-24T21:18:59Z infra_red[m] joined #lisp 2021-04-24T21:18:59Z cracauer joined #lisp 2021-04-24T21:18:59Z frgo joined #lisp 2021-04-24T21:18:59Z rodentrabies joined #lisp 2021-04-24T21:18:59Z MrtnDk[m] joined #lisp 2021-04-24T21:18:59Z arcontethegreat[ joined #lisp 2021-04-24T21:18:59Z susam joined #lisp 2021-04-24T21:18:59Z rvirding joined #lisp 2021-04-24T21:18:59Z aaronm04 joined #lisp 2021-04-24T21:18:59Z vydd joined #lisp 2021-04-24T21:18:59Z winny joined #lisp 2021-04-24T21:18:59Z Ekho joined #lisp 2021-04-24T21:18:59Z jackdaniel joined #lisp 2021-04-24T21:18:59Z astronavt joined #lisp 2021-04-24T21:18:59Z Demosthenex joined #lisp 2021-04-24T21:18:59Z isoraqathedh joined #lisp 2021-04-24T21:18:59Z mgsk_ joined #lisp 2021-04-24T21:18:59Z vegai joined #lisp 2021-04-24T21:18:59Z SAL9000 joined #lisp 2021-04-24T21:18:59Z fitzsim joined #lisp 2021-04-24T21:18:59Z ravndal joined #lisp 2021-04-24T21:19:04Z infra_red[m] quit (Ping timeout: 240 seconds) 2021-04-24T21:19:06Z contrapunctus joined #lisp 2021-04-24T21:19:06Z wooden joined #lisp 2021-04-24T21:19:06Z Iolo joined #lisp 2021-04-24T21:19:06Z mseddon1 joined #lisp 2021-04-24T21:19:06Z srandon111 joined #lisp 2021-04-24T21:19:06Z selwyn joined #lisp 2021-04-24T21:19:06Z dtman34 joined #lisp 2021-04-24T21:19:06Z brass joined #lisp 2021-04-24T21:19:06Z d4ryus joined #lisp 2021-04-24T21:19:06Z alandipert joined #lisp 2021-04-24T21:19:06Z andreyorst joined #lisp 2021-04-24T21:19:06Z _death joined #lisp 2021-04-24T21:19:13Z Sheilong quit (Ping timeout: 250 seconds) 2021-04-24T21:19:15Z etimmons joined #lisp 2021-04-24T21:19:15Z semz joined #lisp 2021-04-24T21:19:15Z alanz joined #lisp 2021-04-24T21:19:15Z leeren joined #lisp 2021-04-24T21:19:15Z tweet[m] joined #lisp 2021-04-24T21:19:15Z loke[m] joined #lisp 2021-04-24T21:19:15Z Gnuxie[m] joined #lisp 2021-04-24T21:19:15Z eschatologist joined #lisp 2021-04-24T21:19:15Z ecraven joined #lisp 2021-04-24T21:19:15Z gum joined #lisp 2021-04-24T21:19:15Z xi- joined #lisp 2021-04-24T21:19:15Z flip214 joined #lisp 2021-04-24T21:19:15Z jibanes joined #lisp 2021-04-24T21:19:16Z dieggsy quit (Ping timeout: 248 seconds) 2021-04-24T21:19:16Z heretical_crypte quit (Ping timeout: 248 seconds) 2021-04-24T21:19:16Z kreyren quit (Ping timeout: 248 seconds) 2021-04-24T21:19:16Z dsrt^ quit (Max SendQ exceeded) 2021-04-24T21:19:24Z antoszka joined #lisp 2021-04-24T21:19:24Z theo[m]1 joined #lisp 2021-04-24T21:19:24Z santiagopim[m] joined #lisp 2021-04-24T21:19:24Z quanta[m] joined #lisp 2021-04-24T21:19:24Z dmiles[m] joined #lisp 2021-04-24T21:19:24Z dim joined #lisp 2021-04-24T21:19:24Z mgxm joined #lisp 2021-04-24T21:19:24Z mr_yogurt joined #lisp 2021-04-24T21:19:24Z cross joined #lisp 2021-04-24T21:19:24Z wigust joined #lisp 2021-04-24T21:19:24Z gensym joined #lisp 2021-04-24T21:19:24Z ck_ joined #lisp 2021-04-24T21:19:24Z xristos joined #lisp 2021-04-24T21:19:24Z madnificent joined #lisp 2021-04-24T21:19:24Z em joined #lisp 2021-04-24T21:19:24Z sbryant joined #lisp 2021-04-24T21:19:24Z shinohai joined #lisp 2021-04-24T21:19:26Z X-Scale quit (Ping timeout: 246 seconds) 2021-04-24T21:19:37Z elusive joined #lisp 2021-04-24T21:19:39Z spikhoff quit (Ping timeout: 250 seconds) 2021-04-24T21:19:45Z astronavt quit (Max SendQ exceeded) 2021-04-24T21:19:45Z ravndal quit (Max SendQ exceeded) 2021-04-24T21:19:45Z Ekho quit (Max SendQ exceeded) 2021-04-24T21:19:45Z arcontethegreat[ quit (Max SendQ exceeded) 2021-04-24T21:19:46Z rodentrabies quit (Ping timeout: 246 seconds) 2021-04-24T21:19:49Z MrtnDk[m] quit (Ping timeout: 246 seconds) 2021-04-24T21:19:50Z susam quit (Ping timeout: 267 seconds) 2021-04-24T21:19:51Z agam_b[m] quit (Ping timeout: 248 seconds) 2021-04-24T21:19:53Z e[m]1 quit (Ping timeout: 258 seconds) 2021-04-24T21:19:57Z ms[m] quit (Ping timeout: 258 seconds) 2021-04-24T21:20:02Z theo[m]1 quit (Ping timeout: 247 seconds) 2021-04-24T21:20:02Z santiagopim[m] quit (Ping timeout: 272 seconds) 2021-04-24T21:20:02Z quanta[m] quit (Ping timeout: 272 seconds) 2021-04-24T21:20:02Z dmiles[m] quit (Ping timeout: 272 seconds) 2021-04-24T21:20:10Z pent joined #lisp 2021-04-24T21:20:13Z selwyn quit (Ping timeout: 265 seconds) 2021-04-24T21:20:22Z Inline joined #lisp 2021-04-24T21:20:22Z sebboh joined #lisp 2021-04-24T21:20:22Z skapata joined #lisp 2021-04-24T21:20:22Z renzhi joined #lisp 2021-04-24T21:20:22Z hiroaki joined #lisp 2021-04-24T21:20:22Z kevingal joined #lisp 2021-04-24T21:20:22Z IPmonger joined #lisp 2021-04-24T21:20:22Z necrontab joined #lisp 2021-04-24T21:20:22Z b20n joined #lisp 2021-04-24T21:20:22Z sjl joined #lisp 2021-04-24T21:20:22Z phantomics joined #lisp 2021-04-24T21:20:22Z _paul0 joined #lisp 2021-04-24T21:20:22Z bytesighs joined #lisp 2021-04-24T21:20:22Z jello_pudding joined #lisp 2021-04-24T21:20:22Z chewbranca joined #lisp 2021-04-24T21:20:22Z jcowan joined #lisp 2021-04-24T21:20:22Z travv0 joined #lisp 2021-04-24T21:20:22Z XachX joined #lisp 2021-04-24T21:20:22Z beach joined #lisp 2021-04-24T21:20:22Z simplegauss joined #lisp 2021-04-24T21:20:22Z lawt joined #lisp 2021-04-24T21:20:22Z fe[nl]ix joined #lisp 2021-04-24T21:20:22Z ioa joined #lisp 2021-04-24T21:20:22Z Blkt joined #lisp 2021-04-24T21:20:22Z Yardanico joined #lisp 2021-04-24T21:20:22Z spal joined #lisp 2021-04-24T21:20:22Z easye joined #lisp 2021-04-24T21:20:22Z thecoffemaker joined #lisp 2021-04-24T21:20:22Z shrysr_ joined #lisp 2021-04-24T21:20:22Z pyc joined #lisp 2021-04-24T21:20:22Z plisp2 joined #lisp 2021-04-24T21:20:22Z tgbugs joined #lisp 2021-04-24T21:20:22Z zigpaw107613 joined #lisp 2021-04-24T21:20:22Z emacsomancer joined #lisp 2021-04-24T21:20:22Z ozzloy joined #lisp 2021-04-24T21:20:22Z Inoperable joined #lisp 2021-04-24T21:20:22Z weber.freenode.net has set mode +o fe[nl]ix 2021-04-24T21:20:23Z etimmons quit (Ping timeout: 276 seconds) 2021-04-24T21:20:24Z loke[m] quit (Ping timeout: 276 seconds) 2021-04-24T21:20:24Z Gnuxie[m] quit (Ping timeout: 276 seconds) 2021-04-24T21:20:24Z emacsomancer quit (Max SendQ exceeded) 2021-04-24T21:20:43Z dsrt^ joined #lisp 2021-04-24T21:21:01Z tweet[m] quit (Ping timeout: 276 seconds) 2021-04-24T21:21:02Z X-Scale joined #lisp 2021-04-24T21:21:11Z d4ryus quit (Ping timeout: 265 seconds) 2021-04-24T21:21:12Z stux|RC joined #lisp 2021-04-24T21:21:35Z emacsomancer joined #lisp 2021-04-24T21:22:00Z Krystof joined #lisp 2021-04-24T21:22:00Z gabiruh joined #lisp 2021-04-24T21:22:00Z Eoco joined #lisp 2021-04-24T21:22:00Z opcode joined #lisp 2021-04-24T21:22:00Z jurov_ joined #lisp 2021-04-24T21:22:00Z OlCe joined #lisp 2021-04-24T21:22:00Z sukaeto joined #lisp 2021-04-24T21:22:00Z penguwin joined #lisp 2021-04-24T21:22:00Z myall joined #lisp 2021-04-24T21:22:00Z nitrix joined #lisp 2021-04-24T21:22:00Z mood joined #lisp 2021-04-24T21:22:00Z gigetoo joined #lisp 2021-04-24T21:22:00Z 17WAABRZX joined #lisp 2021-04-24T21:22:00Z minion joined #lisp 2021-04-24T21:22:00Z ferada joined #lisp 2021-04-24T21:22:00Z pok joined #lisp 2021-04-24T21:22:00Z Juonu joined #lisp 2021-04-24T21:22:00Z drdo joined #lisp 2021-04-24T21:22:00Z APic joined #lisp 2021-04-24T21:22:00Z nightfly joined #lisp 2021-04-24T21:22:00Z Papa joined #lisp 2021-04-24T21:22:04Z Sheilong joined #lisp 2021-04-24T21:22:17Z Sheilong quit (Excess Flood) 2021-04-24T21:22:35Z d4ryus joined #lisp 2021-04-24T21:22:43Z necrontab quit (Ping timeout: 265 seconds) 2021-04-24T21:22:43Z b20n quit (Ping timeout: 265 seconds) 2021-04-24T21:22:43Z chewbranca quit (Ping timeout: 265 seconds) 2021-04-24T21:22:43Z travv0 quit (Ping timeout: 265 seconds) 2021-04-24T21:22:47Z parisienne joined #lisp 2021-04-24T21:22:51Z jsatk joined #lisp 2021-04-24T21:22:56Z dunk quit (Ping timeout: 258 seconds) 2021-04-24T21:22:58Z alanz quit (Ping timeout: 276 seconds) 2021-04-24T21:22:59Z physpi joined #lisp 2021-04-24T21:23:07Z entel joined #lisp 2021-04-24T21:23:11Z Sheilong joined #lisp 2021-04-24T21:23:48Z spikhoff joined #lisp 2021-04-24T21:23:59Z waleee-cl joined #lisp 2021-04-24T21:24:00Z b20n joined #lisp 2021-04-24T21:24:29Z dunk joined #lisp 2021-04-24T21:24:42Z alanz joined #lisp 2021-04-24T21:24:46Z travv0 joined #lisp 2021-04-24T21:25:21Z necrontab joined #lisp 2021-04-24T21:25:46Z chewbranca joined #lisp 2021-04-24T21:26:33Z teej joined #lisp 2021-04-24T21:27:23Z theothornhill quit (Remote host closed the connection) 2021-04-24T21:27:31Z theothornhill joined #lisp 2021-04-24T21:29:08Z waleee-cl quit 2021-04-24T21:30:12Z refusenick joined #lisp 2021-04-24T21:31:58Z waleee-cl joined #lisp 2021-04-24T21:33:09Z refusenick quit (Client Quit) 2021-04-24T21:33:32Z refusenick joined #lisp 2021-04-24T21:34:49Z waleee-cl quit (Client Quit) 2021-04-24T21:35:07Z slyrus joined #lisp 2021-04-24T21:35:21Z selwyn joined #lisp 2021-04-24T21:40:14Z pseudonymous joined #lisp 2021-04-24T21:41:23Z slyrus quit (Ping timeout: 260 seconds) 2021-04-24T21:41:41Z charles`: for .asd files, What are the trade offs of making an asdf package then doing defsystem vs using asdf-user package 2021-04-24T21:41:57Z pseudonymous: This is probably obvious, but when using parenscript,`(ps (@ a b c))` compiles to `at(a, b, c)` for me, not `a.b.c` as advertised. Same kind of issue when attempting to use chain. Any ideas why ? 2021-04-24T21:42:14Z Shinmera: charles`: ASDF style recommends not defining a package. 2021-04-24T21:43:12Z Bike: pseudonymous: maybe you're using some-other-package:@ instead of ps:@ 2021-04-24T21:43:21Z charles`: Shinmera so asdf-user it is. I found your twitch channel today 2021-04-24T21:44:00Z Shinmera: Cool. I don't stream coding very often though 2021-04-24T21:45:02Z pseudonymous: Bike: Oh.. Auch. And spot-on. I have had some troubles loading my package when using use-package for various libraries so I've instead defined local package nicknames for all. And of course I need to respect that nickname even inside the ps macro. Thanks :) 2021-04-24T21:47:22Z Bike: no problem 2021-04-24T21:47:23Z wsinatra joined #lisp 2021-04-24T21:47:49Z krid quit (Ping timeout: 250 seconds) 2021-04-24T21:49:05Z wsinatra quit (Read error: Connection reset by peer) 2021-04-24T21:49:26Z orivej quit (Ping timeout: 240 seconds) 2021-04-24T21:49:51Z theothornhill quit (Ping timeout: 246 seconds) 2021-04-24T21:49:56Z ms[m] joined #lisp 2021-04-24T21:50:24Z nature quit (Ping timeout: 245 seconds) 2021-04-24T21:51:10Z wsinatra joined #lisp 2021-04-24T21:52:43Z Duuqnd quit (Quit: Connection closed) 2021-04-24T21:54:22Z akoana joined #lisp 2021-04-24T21:54:48Z slyrus joined #lisp 2021-04-24T21:55:24Z akoana quit (Client Quit) 2021-04-24T21:55:52Z akoana joined #lisp 2021-04-24T21:57:09Z akoana quit (Client Quit) 2021-04-24T21:58:28Z akoana joined #lisp 2021-04-24T21:59:21Z slyrus quit (Ping timeout: 258 seconds) 2021-04-24T22:02:11Z slyrus joined #lisp 2021-04-24T22:03:53Z aeth quit (Ping timeout: 246 seconds) 2021-04-24T22:04:22Z waleee-cl joined #lisp 2021-04-24T22:05:01Z akoana quit (Quit: leaving) 2021-04-24T22:05:52Z aeth joined #lisp 2021-04-24T22:06:45Z akoana joined #lisp 2021-04-24T22:07:23Z zefram22 quit (Ping timeout: 246 seconds) 2021-04-24T22:07:28Z kreyren joined #lisp 2021-04-24T22:07:28Z infra_red[m] joined #lisp 2021-04-24T22:07:28Z ThaEwat joined #lisp 2021-04-24T22:07:28Z etimmons joined #lisp 2021-04-24T22:07:28Z quanta[m] joined #lisp 2021-04-24T22:07:28Z susam joined #lisp 2021-04-24T22:07:28Z MrtnDk[m] joined #lisp 2021-04-24T22:07:28Z dmiles[m] joined #lisp 2021-04-24T22:07:28Z no-defun-allowed joined #lisp 2021-04-24T22:07:28Z santiagopim[m] joined #lisp 2021-04-24T22:07:28Z katco joined #lisp 2021-04-24T22:07:28Z e[m]1 joined #lisp 2021-04-24T22:07:28Z dieggsy joined #lisp 2021-04-24T22:07:28Z loke[m] joined #lisp 2021-04-24T22:07:28Z tweet[m] joined #lisp 2021-04-24T22:07:28Z Gnuxie[m] joined #lisp 2021-04-24T22:07:29Z arcontethegreat[ joined #lisp 2021-04-24T22:07:29Z heretical_crypte joined #lisp 2021-04-24T22:07:32Z rodentrabies joined #lisp 2021-04-24T22:07:34Z theo[m] joined #lisp 2021-04-24T22:07:35Z agam_b[m] joined #lisp 2021-04-24T22:07:47Z slyrus quit (Ping timeout: 248 seconds) 2021-04-24T22:14:36Z ebrasca: What is the best method to profile common lisp code? 2021-04-24T22:14:40Z heisig quit (Quit: Leaving) 2021-04-24T22:15:02Z Gnuxie[m] quit (Quit: authenticating) 2021-04-24T22:15:04Z frgo quit (Remote host closed the connection) 2021-04-24T22:15:13Z Gnuxie[m]1 joined #lisp 2021-04-24T22:15:31Z frgo joined #lisp 2021-04-24T22:16:37Z amb007 quit (Read error: Connection reset by peer) 2021-04-24T22:17:09Z zzappie quit (Ping timeout: 240 seconds) 2021-04-24T22:17:31Z amb007 joined #lisp 2021-04-24T22:18:08Z akoana quit (Quit: leaving) 2021-04-24T22:19:39Z amb007 quit (Read error: Connection reset by peer) 2021-04-24T22:19:59Z amb007 joined #lisp 2021-04-24T22:20:16Z slyrus joined #lisp 2021-04-24T22:21:41Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-24T22:24:24Z slyrus quit (Ping timeout: 252 seconds) 2021-04-24T22:25:24Z elusive quit (Ping timeout: 245 seconds) 2021-04-24T22:26:53Z amb007 quit (Read error: Connection reset by peer) 2021-04-24T22:27:59Z amb007 joined #lisp 2021-04-24T22:28:55Z tempest_nox quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-24T22:29:02Z dieggsy is now known as Guest50292 2021-04-24T22:29:02Z X-Scale is now known as Guest60158 2021-04-24T22:29:02Z aeth is now known as Guest69520 2021-04-24T22:29:03Z teej is now known as Guest59707 2021-04-24T22:29:10Z sauvin joined #lisp 2021-04-24T22:29:11Z Lord_Nightmare joined #lisp 2021-04-24T22:29:11Z anticrisis joined #lisp 2021-04-24T22:29:11Z sm2n joined #lisp 2021-04-24T22:29:12Z Lord_of_Life joined #lisp 2021-04-24T22:29:12Z Jesin joined #lisp 2021-04-24T22:29:20Z matthewcroughan joined #lisp 2021-04-24T22:29:28Z astronavt joined #lisp 2021-04-24T22:29:38Z pseudonymous quit (Remote host closed the connection) 2021-04-24T22:29:44Z klltkr joined #lisp 2021-04-24T22:29:44Z xsperry joined #lisp 2021-04-24T22:29:56Z pseudonymous joined #lisp 2021-04-24T22:30:14Z Ekho joined #lisp 2021-04-24T22:31:19Z Inline quit (Ping timeout: 260 seconds) 2021-04-24T22:32:35Z akoana joined #lisp 2021-04-24T22:33:30Z Aurora_v_kosmose joined #lisp 2021-04-24T22:33:58Z varjag quit (Ping timeout: 252 seconds) 2021-04-24T22:34:04Z cantstanya joined #lisp 2021-04-24T22:35:53Z ravndal joined #lisp 2021-04-24T22:39:07Z epony joined #lisp 2021-04-24T22:40:32Z sauvin is now known as Sauvin 2021-04-24T22:42:37Z slyrus joined #lisp 2021-04-24T22:47:10Z slyrus quit (Ping timeout: 252 seconds) 2021-04-24T22:47:11Z random-nick quit (Ping timeout: 268 seconds) 2021-04-24T22:50:06Z pve quit (Quit: leaving) 2021-04-24T22:55:02Z waleee-cl quit 2021-04-24T22:56:11Z long4mud joined #lisp 2021-04-24T23:02:22Z waleee-cl joined #lisp 2021-04-24T23:04:32Z tempest_nox joined #lisp 2021-04-24T23:05:53Z srandon111: anybody lisping on netbsd? 2021-04-24T23:10:21Z slyrus joined #lisp 2021-04-24T23:16:12Z pseudonymous quit (Remote host closed the connection) 2021-04-24T23:16:24Z pseudonymous joined #lisp 2021-04-24T23:17:51Z slyrus quit (Ping timeout: 260 seconds) 2021-04-24T23:21:16Z slyrus joined #lisp 2021-04-24T23:22:12Z edgar-rft quit (Quit: Leaving) 2021-04-24T23:22:30Z White_Flame: ebrasca: use a built-in profiler? 2021-04-24T23:22:33Z White_Flame: from the implementation 2021-04-24T23:23:13Z ebrasca: I am not sure how the mezzano profiler does work. 2021-04-24T23:25:53Z slyrus quit (Ping timeout: 265 seconds) 2021-04-24T23:26:51Z ebrasca: OK reading the code I found "Convert a profile into an almost human-readable format" 2021-04-24T23:28:54Z ebrasca: White_Flame: Thanks! 2021-04-24T23:29:02Z Pixel_Outlaw joined #lisp 2021-04-24T23:30:36Z Pixel_Outlaw: Hello all, is hunchentoot still king for making very simple web servers? I just need to make a trivial program that allows multiple people on my office VPN to fill some fields and save to database. 2021-04-24T23:30:40Z drmeister: ebrasca: in clasp we used dtrace on macOS and generate flame graphs. 2021-04-24T23:30:59Z drmeister: Use not used 2021-04-24T23:31:30Z ebrasca: Pixel_Outlaw: I like hunchentoot , but I only play with it. 2021-04-24T23:31:43Z slyrus joined #lisp 2021-04-24T23:36:30Z aartaka_d joined #lisp 2021-04-24T23:37:11Z slyrus quit (Ping timeout: 240 seconds) 2021-04-24T23:38:37Z pseudonymous quit (Remote host closed the connection) 2021-04-24T23:38:44Z aartaka quit (Ping timeout: 245 seconds) 2021-04-24T23:38:54Z pseudonymous joined #lisp 2021-04-24T23:40:09Z charles`: Pixel_Outlaw: I would say yes, for sure if you are keeping it simple. It is very cool that you are using Lisp for your office. 2021-04-24T23:41:40Z Pixel_Outlaw: Thanks, you'd not believe how hard it is go get 30 people to pick an meeting time over email. You get looooooong email chains. I'd hoped to present a calendar with pickable time slots so everyone just picks their availability and BOOM we save a 20 responce email chain. 2021-04-24T23:42:46Z mindCrime joined #lisp 2021-04-24T23:42:47Z Pixel_Outlaw: Also, we do COVID temperature reports daily and in theroy this could collect that and get it off to HR for their records. 2021-04-24T23:43:23Z Pixel_Outlaw: Right now, they all walk by poor Monica's office and verbally report so she can fill a spreadsheet. :P 2021-04-24T23:46:35Z MichaelRaskin: Hunchentoot is surely still fine 2021-04-24T23:47:25Z MichaelRaskin: Not sure if any of the newer options are better, but you probably don't care about approximately anything (performance? features? who cares for 50 users) 2021-04-24T23:50:01Z lotuseater joined #lisp 2021-04-24T23:50:30Z Gnuxie[m]1 quit (Quit: authenticating) 2021-04-24T23:50:42Z Gnuxie[m]1 joined #lisp 2021-04-24T23:57:01Z Guest69520 quit (Quit: ...) 2021-04-24T23:57:47Z aeth joined #lisp 2021-04-24T23:59:25Z Gnuxie[m]1 quit (Quit: authenticating) 2021-04-24T23:59:36Z Gnuxie[m]1 joined #lisp 2021-04-24T23:59:56Z ebrasca: drmeister: Thaks for the implementation idea , I did find a way to get a flame graph and how to visualize it. 2021-04-25T00:12:09Z kevingal quit (Remote host closed the connection) 2021-04-25T00:12:37Z adam4567 joined #lisp 2021-04-25T00:14:34Z phoe6245 quit (Quit: The Lounge - https://thelounge.github.io) 2021-04-25T00:15:05Z White_Flame: Pixel_Outlaw: sure, I started with Clack, but while it's syntactically simpler to set up, it's far less accessible than hunchentoot 2021-04-25T00:15:39Z White_Flame: clack has no documentation, uncommented source code, and does not expose many things easily 2021-04-25T00:15:49Z phoe6245 joined #lisp 2021-04-25T00:15:57Z White_Flame: hunchentoot is the way to go, at least for now 2021-04-25T00:16:21Z Pixel_Outlaw: White_Flame, yes the curse of hackers "just getting things done" with "works here" and no time for documentation. 2021-04-25T00:16:59Z White_Flame: clack also isn't very good IMO, regarding error handling, not handling many things correctly, broken websockets implementation, etc 2021-04-25T00:16:59Z Pixel_Outlaw: We'll see if hunchentoot plays nice on Windows 10 which is the virus we perpetuate at work. :P 2021-04-25T00:18:29Z adam4567 quit (Remote host closed the connection) 2021-04-25T00:20:26Z ebrasca: What do you think about radiance? 2021-04-25T00:21:05Z ebrasca: It seem interesting but did not use it. 2021-04-25T00:23:34Z White_Flame: ebrasca: I haven't tested anything but hunchentoot & clack 2021-04-25T00:23:53Z White_Flame: I don't want much of a framework, but just expose http stuff to our framework 2021-04-25T00:24:06Z White_Flame: so hunchentoot fills the space well 2021-04-25T00:29:21Z ebrasca: I did a image board demo with hunchentoot. 2021-04-25T00:31:23Z White_Flame: radiance does look interesting. once our web stuff is more mature, maybe I'll take a harder look at it 2021-04-25T00:32:50Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-25T00:35:45Z zefram22 joined #lisp 2021-04-25T00:40:26Z monolithic quit (Remote host closed the connection) 2021-04-25T00:42:34Z Pixel_Outlaw quit (Quit: Leaving) 2021-04-25T00:57:37Z DHARMAKAYA joined #lisp 2021-04-25T01:00:44Z mrchampion quit (Read error: Connection reset by peer) 2021-04-25T01:06:04Z wxie quit (Read error: Connection reset by peer) 2021-04-25T01:07:42Z mrchampion joined #lisp 2021-04-25T01:09:03Z ebrasca quit (Remote host closed the connection) 2021-04-25T01:09:31Z wxie joined #lisp 2021-04-25T01:13:18Z dnjp[m] joined #lisp 2021-04-25T01:19:04Z kagevf: I think hunchentoot has the most mindshare 2021-04-25T01:20:37Z kagevf: ... and I like using it :) 2021-04-25T01:20:46Z Guest60158 is now known as X-Scale 2021-04-25T01:31:57Z CrazyPython quit (Ping timeout: 260 seconds) 2021-04-25T01:33:15Z lotuseat` joined #lisp 2021-04-25T01:34:59Z lotuseater quit (Ping timeout: 245 seconds) 2021-04-25T01:44:50Z tempest_nox quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-25T01:55:46Z charles`: White_Flame: clack is not really meant to be used by someone developing websites. It is just a internal thing that Fukamachi decided to make separate and modular. It is meant to be used via niggle or caveman which has good documentation. clack by itself is not a drop in for hunchcentoot. 2021-04-25T01:56:41Z White_Flame: well, I wonder if those other things have workarounds then for when clack loses errors and such ;) 2021-04-25T01:56:58Z White_Flame obviously did not get a good impression 2021-04-25T01:56:59Z hypercube quit (Ping timeout: 250 seconds) 2021-04-25T01:57:38Z charles`: I have yet to actually try caveman, but it actually looks better than hunchentoot with more batteries included. 2021-04-25T01:58:07Z White_Flame: if it's on top of clack, I wouldn't trust its completeness or stability 2021-04-25T01:58:26Z MichaelRaskin quit (Ping timeout: 240 seconds) 2021-04-25T01:58:51Z no-defun-allowed: Hyeh, you use and Python @annotation syntax with Caveman? 2021-04-25T01:59:17Z White_Flame: s/completeness/coverage/ I guess 2021-04-25T02:03:39Z tophullyte joined #lisp 2021-04-25T02:03:58Z Josh_2: Hunchentoot behind Nginx is great 2021-04-25T02:04:04Z aartaka_d quit (Ping timeout: 252 seconds) 2021-04-25T02:12:21Z nij joined #lisp 2021-04-25T02:13:53Z theothornhill joined #lisp 2021-04-25T02:18:11Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-25T02:27:42Z john__ joined #lisp 2021-04-25T02:29:44Z wxie quit (Quit: wxie) 2021-04-25T02:31:10Z gaqwas quit (Ping timeout: 252 seconds) 2021-04-25T02:35:46Z wxie joined #lisp 2021-04-25T02:40:54Z nij: swank-client does work for swank.. I'm amazed. 2021-04-25T02:40:56Z nij: https://github.com/brown/swank-client 2021-04-25T02:41:07Z nij: However, I still have on luck for that to work for slynk. 2021-04-25T02:46:34Z Guest50292: i like the idea of migrating my server to hunchentoot so i can live code it remotely 2021-04-25T02:46:38Z Guest50292: but i've not tried that yet 2021-04-25T02:52:33Z Guest50292 quit (Changing host) 2021-04-25T02:52:33Z Guest50292 joined #lisp 2021-04-25T02:52:33Z Guest50292 quit (Changing host) 2021-04-25T02:52:33Z Guest50292 joined #lisp 2021-04-25T02:52:43Z CrashTestDummy: Anyone have experience compiling SBCL? 2021-04-25T02:53:43Z nij: I remember I did. 2021-04-25T02:54:01Z Guest50292 quit (Quit: authenticating) 2021-04-25T02:54:06Z CrashTestDummy: Ok, cool, I have a question about the results I am seeing from running the tests... 2021-04-25T02:54:11Z Guest502921 joined #lisp 2021-04-25T02:54:18Z nij: Hmm I will try :O 2021-04-25T02:54:36Z nij: First of, did you follow INSTALL? https://github.com/sbcl/sbcl/blob/master/INSTALL 2021-04-25T02:55:17Z CrashTestDummy: Yes, I followed INSTALL, here is my question... 2021-04-25T02:55:18Z CrashTestDummy: Is it normal to receive various failures from the tests after doing a build from the 2.1.3 source? 2021-04-25T02:55:18Z CrashTestDummy: On Debian 10 (latest) 32-bit I get: 2021-04-25T02:55:18Z CrashTestDummy: Finished running tests. 2021-04-25T02:55:18Z CrashTestDummy: Status: 2021-04-25T02:55:18Z CrashTestDummy: Expected failure: compiler-2.pure.lisp / DEDUPLICATED-FDEFNS 2021-04-25T02:55:20Z CrashTestDummy: Expected failure: hash.pure.lisp / SXHASH-ON-DISPLACED-STRING 2021-04-25T02:55:22Z CrashTestDummy: Expected failure: compiler.impure.lisp / BUG-308921 2021-04-25T02:55:24Z CrashTestDummy: Expected failure: dynamic-extent.impure.lisp / DX-COMPILER-NOTES 2021-04-25T02:55:24Z IPmonger_ joined #lisp 2021-04-25T02:55:26Z CrashTestDummy: Expected failure: fopcompiler.impure.lisp / FOPCOMPILER-DEPRECATED-VAR-WARNING 2021-04-25T02:55:27Z IPmonger quit (Ping timeout: 260 seconds) 2021-04-25T02:55:28Z CrashTestDummy: Expected failure: full-eval.impure.lisp / INLINE-FUN-CAPTURES-DECL 2021-04-25T02:55:30Z CrashTestDummy: Skipped (broken): gethash-concurrency.impure.lisp / (HASH-TABLE UNSYNCHRONIZED) 2021-04-25T02:55:31Z nij: OH no 2021-04-25T02:55:32Z CrashTestDummy: Expected failure: packages.impure.lisp / USE-PACKAGE-CONFLICT-SET 2021-04-25T02:55:34Z CrashTestDummy: Expected failure: packages.impure.lisp / IMPORT-SINGLE-CONFLICT 2021-04-25T02:55:35Z nij: Use a paste bin. 2021-04-25T02:55:36Z CrashTestDummy: Skipped (broken): timer.impure.lisp / (TIMER THREADED-STRESS) 2021-04-25T02:55:38Z CrashTestDummy: Expected failure: walk.impure.lisp / (WALK MULTIPLE-VALUE-BIND) 2021-04-25T02:55:40Z CrashTestDummy: Expected failure: walk.impure.lisp / (WALK MULTIPLE-VALUE-BIND SPECIAL) 2021-04-25T02:55:41Z CrashTestDummy: Invalid exit status: futex-wait.test.sh 2021-04-25T02:55:45Z CrashTestDummy: (31 tests skipped for this combination of platform and features) 2021-04-25T02:55:47Z CrashTestDummy: test failed, expected 104 return code, got 1 2021-04-25T02:55:49Z CrashTestDummy: and on Debian 10 (latest) 64-bit I get: 2021-04-25T02:55:51Z CrashTestDummy: Finished running tests. 2021-04-25T02:55:53Z CrashTestDummy: Status: 2021-04-25T02:55:55Z CrashTestDummy: Expected failure: hash.pure.lisp / SXHASH-ON-DISPLACED-STRING 2021-04-25T02:55:57Z CrashTestDummy: Invalid exit status: bug-936304.impure.lisp 2021-04-25T02:55:59Z CrashTestDummy: Expected failure: compiler.impure.lisp / BUG-308921 2021-04-25T02:56:02Z CrashTestDummy: Expected failure: dynamic-extent.impure.lisp / DX-COMPILER-NOTES 2021-04-25T02:56:04Z CrashTestDummy: Expected failure: fopcompiler.impure.lisp / FOPCOMPILER-DEPRECATED-VAR-WARNING 2021-04-25T02:56:06Z CrashTestDummy: Expected failure: full-eval.impure.lisp / INLINE-FUN-CAPTURES-DECL 2021-04-25T02:56:08Z CrashTestDummy: Skipped (broken): gethash-concurrency.impure.lisp / (HASH-TABLE UNSYNCHRONIZED) 2021-04-25T02:56:10Z CrashTestDummy: Expected failure: packages.impure.lisp / USE-PACKAGE-CONFLICT-SET 2021-04-25T02:56:12Z CrashTestDummy: Expected failure: packages.impure.lisp / IMPORT-SINGLE-CONFLICT 2021-04-25T02:56:16Z CrashTestDummy: Expected failure: walk.impure.lisp / (WALK MULTIPLE-VALUE-BIND) 2021-04-25T02:56:18Z CrashTestDummy: Expected failure: walk.impure.lisp / (WALK MULTIPLE-VALUE-BIND SPECIAL) 2021-04-25T02:56:20Z CrashTestDummy: Expected failure: x86-64-codegen.impure.lisp / MOV-MOV-ELIM-IGNORE-RESIZED-REG 2021-04-25T02:56:22Z CrashTestDummy: Invalid exit status: futex-wait.test.sh 2021-04-25T02:56:24Z CrashTestDummy: (15 tests skipped for this combination of platform and features) 2021-04-25T02:56:24Z theothornhill joined #lisp 2021-04-25T02:56:26Z CrashTestDummy: test failed, expected 104 return code, got 1 2021-04-25T02:56:28Z CrashTestDummy: Are those "Expected failures", "Skipped (broken)", and "Invalid exit status" items normal? Or am I doing something wrong? 2021-04-25T02:56:31Z CrashTestDummy: Ok, do you have a preference of which site? 2021-04-25T02:56:33Z CrashTestDummy: (sorry) 2021-04-25T02:56:37Z pseudonymous quit (Remote host closed the connection) 2021-04-25T02:56:49Z CrashTestDummy: Here ya go: https://pastebin.com/M3Knp9mh 2021-04-25T02:57:01Z pseudonymous joined #lisp 2021-04-25T02:58:06Z Guest502921 quit (Changing host) 2021-04-25T02:58:06Z Guest502921 joined #lisp 2021-04-25T02:58:06Z Guest502921 quit (Changing host) 2021-04-25T02:58:06Z Guest502921 joined #lisp 2021-04-25T02:58:23Z Guest502921 quit (Client Quit) 2021-04-25T02:58:34Z Guest502921 joined #lisp 2021-04-25T02:58:54Z theothornhill quit (Remote host closed the connection) 2021-04-25T02:59:00Z Sheilong quit 2021-04-25T02:59:42Z Guest502921 quit (Changing host) 2021-04-25T02:59:43Z Guest502921 joined #lisp 2021-04-25T02:59:43Z Guest502921 quit (Changing host) 2021-04-25T02:59:43Z Guest502921 joined #lisp 2021-04-25T03:01:20Z beach: Good morning everyone! 2021-04-25T03:01:48Z CrashTestDummy: Morning beach 2021-04-25T03:02:05Z CrashTestDummy: nij: Ok, I posted to pastebin above 2021-04-25T03:02:38Z pseudonymous quit (Remote host closed the connection) 2021-04-25T03:02:56Z pseudonymous joined #lisp 2021-04-25T03:05:19Z Guest502921 is now known as dieggsy 2021-04-25T03:05:32Z akoana left #lisp 2021-04-25T03:06:10Z semz quit (Ping timeout: 276 seconds) 2021-04-25T03:07:32Z mathrick quit (Read error: Connection reset by peer) 2021-04-25T03:07:42Z mathrick joined #lisp 2021-04-25T03:09:09Z caoliver left #lisp 2021-04-25T03:09:26Z dieggsy: A lot of the CL projects i've been looking at haven't been worked on for 2+ years. is this stability, abandonment, little of both? 2021-04-25T03:10:49Z beach: dieggsy: Probably depends on the project. My projects Flexichain and Cluffer have not been touchechd because they are stable. 2021-04-25T03:11:36Z CrashTestDummy: The typical answer is that a lot of the projects are just "complete" and don't need to be updated because CL is such a "stable" language. In other words, the libraries don't need to be updated to keep up with the language since the language doesn't change. 2021-04-25T03:17:45Z dieggsy: that's fair 2021-04-25T03:17:50Z dieggsy: though that does change for FFI libraries 2021-04-25T03:17:55Z CrashTestDummy: yup 2021-04-25T03:18:41Z Jachy: Similarly, library dependency chains aren't such gigantic monsters like they can be in other ecosystems, so there's less chance for churn to update libraries solely because libraries they depended on updated 2021-04-25T03:18:43Z semz joined #lisp 2021-04-25T03:18:43Z semz quit (Changing host) 2021-04-25T03:18:43Z semz joined #lisp 2021-04-25T03:21:02Z dieggsy: is there any good decently up to date computer vision library you guys work with ? 2021-04-25T03:30:52Z nij: CrashTestDummy: I have no idea. I did rememeber receiving some failures of testing.. but that didn't bother me. 2021-04-25T03:31:46Z nij: What makes CL "stable"? And why lib dep chains is not monsters in CL? 2021-04-25T03:33:34Z beach: nij: What is your reason for being interested in environment objects? If it is just to see how things could be done, check out our libraries Clostrum and Trucler on GitHub. 2021-04-25T03:34:29Z beach: In fact, I believe Trucler can work with SBCL environment objects too. 2021-04-25T03:35:38Z zefram22 quit (Quit: zefram22) 2021-04-25T03:36:03Z zefram22 joined #lisp 2021-04-25T03:40:20Z jcowan: nij: CL is stable because no one person, group, or implementer group controls the evolution of the language. The current standard has been in place for 30 years, and most unofficial extensions have been worked on in parallel, so that even what is not standard is de facto portable. 2021-04-25T03:40:37Z Jachy: nij: https://github.com/guicho271828/asdf-viz shows some dependency graphs of a few systems. It might be illustrative to compare to the example on https://github.com/0815fox/node-dependency-visualizer/ for Angular (a JS framework) 2021-04-25T03:41:09Z Jachy: I invite you to run the visualizers on a sampling of CL libs vs JS libs though to compare overall complexities, especially on similarly-scoped projects. Multiple selection pressures contribute to the differences. 2021-04-25T03:41:12Z lotuseat` quit (Remote host closed the connection) 2021-04-25T03:41:21Z lotuseat` joined #lisp 2021-04-25T03:41:57Z Jachy: (You can also see what I mean by churn with the JS project's recent commit in the doc/js folders, "add --all option to npm ls (needed from npm 7 on)".) 2021-04-25T03:42:07Z pseudonymous quit (Remote host closed the connection) 2021-04-25T03:42:24Z pseudonymous joined #lisp 2021-04-25T03:47:28Z skapata quit (Remote host closed the connection) 2021-04-25T03:53:54Z nij: jcowan: I like that comment. 2021-04-25T03:55:49Z nij: Why don't people just upgrade their codes without breaking any pass codes? 2021-04-25T03:56:01Z Bike: pass codes? 2021-04-25T03:56:06Z nij: codes in the pass* 2021-04-25T03:56:08Z remby joined #lisp 2021-04-25T03:56:21Z Bike: what do you mean, pass? 2021-04-25T03:56:36Z nij: beach: environment objects - I'm just curious to see how to make one like making a list as in (list 1 2 3). 2021-04-25T03:56:37Z Bike: if you're asking why people make breaking changes to software, it's because sometimes the old interface sucks 2021-04-25T03:56:53Z nij: Oh..I'm very tired now. Sorry.. code in the past* 2021-04-25T03:57:23Z nij: Well.. can't we always change without breaking? 2021-04-25T03:58:43Z Bike: to some extent, and that's why my computer has instructions for working with binary coded decimal 2021-04-25T03:59:34Z nij: Yeah.. people should create things that don't perish at all. 2021-04-25T04:00:26Z Bike: sometimes we also want things that work efficiently and well. 2021-04-25T04:03:19Z semz quit (Ping timeout: 245 seconds) 2021-04-25T04:03:25Z aeth quit (Ping timeout: 252 seconds) 2021-04-25T04:05:26Z aeth joined #lisp 2021-04-25T04:08:39Z tempest_nox joined #lisp 2021-04-25T04:10:17Z semz joined #lisp 2021-04-25T04:10:46Z jcowan: A lot of code was broken in the shift from pre-CL to CL 2021-04-25T04:16:15Z orivej joined #lisp 2021-04-25T04:16:26Z jcowan: The Scheme standards are not as stable as the CL standards: they do grow. But very little of that is backward incompatible. 2021-04-25T04:17:19Z charles`: and they are not as batteries included 2021-04-25T04:29:26Z gigamonkey quit (Ping timeout: 268 seconds) 2021-04-25T04:31:35Z Bike quit (Quit: sleep) 2021-04-25T04:33:03Z Nilby joined #lisp 2021-04-25T04:35:11Z remby quit (Ping timeout: 240 seconds) 2021-04-25T04:36:00Z remby joined #lisp 2021-04-25T04:37:15Z CrashTestDummy: nij: Ok, thank you for the response 2021-04-25T04:40:31Z CrashTestDummy: Anyone here ever use Qemu (or some other hardware emulation rather that a normal VM) to compile the SBCL source? 2021-04-25T04:45:11Z mindCrime quit (Ping timeout: 240 seconds) 2021-04-25T04:45:15Z mindCrime_ joined #lisp 2021-04-25T04:47:12Z moon-child: jcowan: really, huh. I always thought the main point of cl (and the reason it was so big) was to keep majority compatibility with all the lisps that preceeded it 2021-04-25T04:47:16Z moon-child: (hence 'common') 2021-04-25T04:47:47Z jcowan: In many respects, yes. But CL was the firat "mainstream" lisp to do lexical scope, an idea borrowed -- from Scheme. 2021-04-25T04:48:36Z moon-child: having guy steele on the committee _would_ do that 2021-04-25T04:48:50Z Ziemas quit (Ping timeout: 246 seconds) 2021-04-25T04:49:45Z rumbler31 joined #lisp 2021-04-25T04:50:12Z Ziemas joined #lisp 2021-04-25T04:54:01Z rumbler31 quit (Ping timeout: 252 seconds) 2021-04-25T04:57:43Z renzhi quit (Ping timeout: 260 seconds) 2021-04-25T05:04:27Z charles`: I love having dynamic scope, but it feels like cheating every time I use it. 2021-04-25T05:04:45Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-25T05:10:17Z Nilby: I don't think dynamic scope is cheating, since it's basicly what the hardware does. But special variables seem a little like cheating, since it's like having undo on your memory. 2021-04-25T05:10:25Z beach: So the MacLisp compiler used lexical scope, but the interpreter used dynamic scope. The next Lisp system I used was Franz Lisp on Unix, and they worked very hard to make everything use dynamic scope. 2021-04-25T05:16:40Z moon-child: Nilby: how is dynamic scope what the hardware does? 2021-04-25T05:17:04Z moon-child: to my recollection, it was responsible for a number of elisp's performance problems 2021-04-25T05:17:23Z charles`: Nilby, what is the difference between dynamic scope and special variables? 2021-04-25T05:18:02Z beach: charles`: Special variables use dynamic scope. 2021-04-25T05:18:10Z charles`: That is what I though 2021-04-25T05:18:39Z beach: But in the past, many Lisp systems used dynamic scope by default. 2021-04-25T05:18:58Z charles`: like for all variables 2021-04-25T05:19:00Z beach: Yes. 2021-04-25T05:19:16Z beach: It was a huge source of bugs. 2021-04-25T05:19:44Z charles`: Yeah, I remember every had to put -*- lexical -*- at the top of emacs source 2021-04-25T05:19:50Z charles`: or something like that 2021-04-25T05:21:44Z charles`: I don't see why one would be "cheating" and the other not though since I see them as basically the same thing. specials just have the advantage of being able to control which variables are dynamic 2021-04-25T05:33:44Z charles` quit (Ping timeout: 245 seconds) 2021-04-25T05:35:44Z Nilby: I'll probably explain it wrong, so I don't want to annoy our experts. Old fashioned dynamic scope isn't much different than writing to a memory location. Lexicals can increase performance because they allow optimizations, increased locality, simplified management, as well as helping get rid of a class of bugs. 2021-04-25T05:46:20Z Nilby: In some way most old Lisps, but not the first, had a form of lexical scope with function arguments. We're lucky the whole scoping thing was nicely resolved in CL. 2021-04-25T06:01:27Z Odin- quit (Read error: Connection reset by peer) 2021-04-25T06:01:41Z Odin- joined #lisp 2021-04-25T06:04:26Z saganman joined #lisp 2021-04-25T06:20:27Z theothor` joined #lisp 2021-04-25T06:23:11Z theothor` quit (Remote host closed the connection) 2021-04-25T06:24:40Z sword865 joined #lisp 2021-04-25T06:25:08Z gigamonkey joined #lisp 2021-04-25T06:29:26Z gigamonkey quit (Ping timeout: 240 seconds) 2021-04-25T06:31:41Z tophullyte quit (Ping timeout: 240 seconds) 2021-04-25T06:39:55Z zefram22 quit (Ping timeout: 265 seconds) 2021-04-25T06:42:16Z tempest_nox quit (Read error: Connection reset by peer) 2021-04-25T06:47:07Z pseudonymous quit (Remote host closed the connection) 2021-04-25T06:47:24Z pseudonymous joined #lisp 2021-04-25T06:52:59Z theothornhill joined #lisp 2021-04-25T06:56:35Z asarch joined #lisp 2021-04-25T06:57:37Z pseudonymous quit (Remote host closed the connection) 2021-04-25T06:57:54Z pseudonymous joined #lisp 2021-04-25T07:00:30Z aartaka joined #lisp 2021-04-25T07:06:23Z asarch: One stupid question: in Emacs, how do you Postscript Print Buffer to a file? 2021-04-25T07:10:51Z zooey quit (Remote host closed the connection) 2021-04-25T07:11:20Z zooey joined #lisp 2021-04-25T07:19:18Z slyrus joined #lisp 2021-04-25T07:23:37Z slyrus quit (Ping timeout: 252 seconds) 2021-04-25T07:30:44Z froggey quit (Ping timeout: 268 seconds) 2021-04-25T07:32:32Z froggey joined #lisp 2021-04-25T07:34:24Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-25T07:37:20Z varjag joined #lisp 2021-04-25T07:39:47Z theothornhill joined #lisp 2021-04-25T07:45:34Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-25T07:46:39Z Odin- quit (Ping timeout: 245 seconds) 2021-04-25T07:47:15Z Odin- joined #lisp 2021-04-25T07:52:45Z imode quit (Ping timeout: 260 seconds) 2021-04-25T07:54:16Z saganman: Morning everyone 2021-04-25T07:54:25Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-25T07:54:27Z saganman: hello beach 2021-04-25T07:55:35Z andrei-n joined #lisp 2021-04-25T07:55:37Z beach: Hello saganman. 2021-04-25T07:56:04Z saganman: how is the work going on beach? do you work on sundays as well? 2021-04-25T07:56:48Z beach: Work is going fine, thank you. I am currently preparing my slides for the ELS talk. And yes, I work every day for around 10-12 hours. 2021-04-25T07:57:02Z beach: What about you? Still in lockdown? 2021-04-25T07:57:39Z saganman: I am in self imposed lockdown. The situation here is worst. 2021-04-25T07:58:13Z beach: So I hear. That's very sad. 2021-04-25T08:02:51Z saganman: Yeah, it is brought by people and government with their carelessness. Anyway you work relentlessly beach 2021-04-25T08:04:31Z beach: saganman: I think most researchers work all the time. One can't just turn the brain off. 2021-04-25T08:06:41Z saganman: yeah, you know my brother is also in research 2021-04-25T08:06:58Z saganman: computational sciences 2021-04-25T08:07:01Z beach: I see. 2021-04-25T08:07:38Z hendursa1 joined #lisp 2021-04-25T08:08:29Z saganman: I will disconnect from the world today. I got a new P.G. Wodehouse book. 2021-04-25T08:08:56Z beach: Sounds like a good plan. 2021-04-25T08:09:57Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-25T08:10:33Z saganman: I love Wodehouse. Have a nice day beach. 2021-04-25T08:10:54Z saganman: or as Bertie says, tinkertie tonk 2021-04-25T08:10:55Z beach: You too. 2021-04-25T08:11:00Z saganman: haha 2021-04-25T08:20:33Z remby: what is a lisp image? I know it's a binary that holds the interpreter, but I'm not sure how to picture this 2021-04-25T08:20:58Z beach: remby: WOW, hold on a sec... 2021-04-25T08:21:12Z remby: ok :) 2021-04-25T08:22:07Z beach: First of all, most modern Common Lisp systems don't have an interpreter. 2021-04-25T08:22:07Z elderK joined #lisp 2021-04-25T08:22:39Z beach: Second, the term "Lisp image" is in the glossary. 2021-04-25T08:23:08Z beach: It is a bit long to quote it all here, but you can read it yourself in the Common Lisp HyperSpec. 2021-04-25T08:23:46Z beach: "a running instantiation of a Common Lisp implementation..." 2021-04-25T08:24:07Z beach: So it does not refer to a "binary" if by that you mean a file. 2021-04-25T08:24:49Z remby: yeah that's what I meant 2021-04-25T08:25:50Z red-dot joined #lisp 2021-04-25T08:26:01Z gigamonkey joined #lisp 2021-04-25T08:26:36Z beach: So did you find the glossary entry? 2021-04-25T08:27:35Z Odin- quit (Ping timeout: 246 seconds) 2021-04-25T08:27:36Z beach: http://www.lispworks.com/documentation/HyperSpec/Body/26_glo_l.htm 2021-04-25T08:28:31Z Odin- joined #lisp 2021-04-25T08:28:52Z remby: thanks 2021-04-25T08:29:22Z beach: remby: So the image holds every object, including all executable code. 2021-04-25T08:29:37Z beach: Pleasure. 2021-04-25T08:31:03Z remby: I think this is just kinda hard for me to imagine cause I'm not experienced with low level stuff, but I'll do more research 2021-04-25T08:32:09Z surabax joined #lisp 2021-04-25T08:32:28Z beach: OK. What part is hard to imagine? 2021-04-25T08:33:25Z beach: Just think of it as a large graph of objects, each object taking up a chunk of memory, and some words in the chunk may contain pointers to other objects. 2021-04-25T08:34:04Z beach: So, a symbol will be a chunk that has a pointer to a string that holds the name of the symbol, and another pointer that refers to a package object. 2021-04-25T08:34:26Z remby: what about the executable code, does it have no dependencies? 2021-04-25T08:35:04Z beach: Executable code is just a vector of bytes that is tagged so that the operating system accepts that it is executed. 2021-04-25T08:35:15Z beach: What do you mean by "dependencies"? 2021-04-25T08:36:25Z nature joined #lisp 2021-04-25T08:37:25Z Nilby laments that operating systems lost the ability to save a restartable image for any process. 2021-04-25T08:37:44Z remby: normally those will be there unless the executable is "statically" linked right? 2021-04-25T08:38:14Z beach: remby: Forget about executable files in a "modern" operating system. 2021-04-25T08:38:57Z beach: remby: Code is truly executable only when it is in the primary memory of the computer. 2021-04-25T08:39:17Z remby: yeah 2021-04-25T08:39:19Z beach: And then it is just a sequence of bytes that the processor understands as instructions. 2021-04-25T08:39:34Z beach: So the Lisp image contains those sequences of bytes as data objects. 2021-04-25T08:40:03Z remby: I see 2021-04-25T08:41:40Z pve joined #lisp 2021-04-25T08:42:23Z beach: There are lots of details that you need to know about to understand everything, of course. Like how a function calls another function, and how a function can refer to its arguments and its lexical variables. 2021-04-25T08:42:52Z amb007 quit (Ping timeout: 240 seconds) 2021-04-25T08:43:00Z beach: But don't hesitate to ask. This is important information. 2021-04-25T08:43:03Z amb007 joined #lisp 2021-04-25T08:45:05Z anticrisis quit (Read error: Connection reset by peer) 2021-04-25T08:46:24Z remby: I'm statisfied for now, thank you :) 2021-04-25T08:46:39Z beach: Pleasure. Good luck! 2021-04-25T08:51:37Z amb007 quit (Ping timeout: 252 seconds) 2021-04-25T08:52:31Z amb007 joined #lisp 2021-04-25T08:53:48Z cage_ joined #lisp 2021-04-25T08:58:00Z gigamonkey quit (Ping timeout: 252 seconds) 2021-04-25T08:59:46Z Duuqnd joined #lisp 2021-04-25T09:02:18Z edgar-rft joined #lisp 2021-04-25T09:04:06Z raeda quit (Ping timeout: 240 seconds) 2021-04-25T09:05:08Z remby quit (Quit: Going offline, see ya! (www.adiirc.com)) 2021-04-25T09:07:28Z theothornhill joined #lisp 2021-04-25T09:07:50Z asarch quit (Remote host closed the connection) 2021-04-25T09:08:31Z theothor` joined #lisp 2021-04-25T09:09:35Z theothornhill quit (Remote host closed the connection) 2021-04-25T09:10:34Z refusenick quit (Remote host closed the connection) 2021-04-25T09:10:52Z refusenick joined #lisp 2021-04-25T09:12:46Z theothor` quit (Ping timeout: 240 seconds) 2021-04-25T09:12:51Z zzappie joined #lisp 2021-04-25T09:16:44Z MichaelRaskin joined #lisp 2021-04-25T09:17:28Z buoy49 quit (Ping timeout: 258 seconds) 2021-04-25T09:18:16Z andinus` joined #lisp 2021-04-25T09:18:37Z andinus` quit (Remote host closed the connection) 2021-04-25T09:19:40Z mindCrime_ quit (Ping timeout: 252 seconds) 2021-04-25T09:20:09Z buoy49 joined #lisp 2021-04-25T09:27:39Z lotuseat` is now known as lotuseater 2021-04-25T09:28:02Z mindCrime_ joined #lisp 2021-04-25T09:31:13Z heisig joined #lisp 2021-04-25T09:34:05Z sword865 quit (Quit: Connection closed for inactivity) 2021-04-25T09:42:39Z indathrone joined #lisp 2021-04-25T09:45:38Z pseudonymous quit (Remote host closed the connection) 2021-04-25T09:45:54Z pseudonymous joined #lisp 2021-04-25T09:49:53Z rumbler31 joined #lisp 2021-04-25T09:50:06Z mindCrime_ quit (Ping timeout: 268 seconds) 2021-04-25T09:54:06Z rumbler31 quit (Ping timeout: 240 seconds) 2021-04-25T09:54:41Z surabax_ joined #lisp 2021-04-25T09:57:49Z surabax quit (Ping timeout: 260 seconds) 2021-04-25T10:00:07Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-25T10:00:12Z Alfr joined #lisp 2021-04-25T10:00:49Z nij quit (Ping timeout: 245 seconds) 2021-04-25T10:04:31Z elderK quit (Quit: WeeChat 3.1) 2021-04-25T10:07:18Z easye quit (Remote host closed the connection) 2021-04-25T10:12:04Z amb007 quit (Ping timeout: 252 seconds) 2021-04-25T10:12:32Z amb007 joined #lisp 2021-04-25T10:15:03Z frgo quit (Remote host closed the connection) 2021-04-25T10:15:23Z Inline joined #lisp 2021-04-25T10:15:29Z frgo joined #lisp 2021-04-25T10:15:37Z theothor` joined #lisp 2021-04-25T10:15:45Z theothor` quit (Remote host closed the connection) 2021-04-25T10:17:08Z pseudonymous quit (Remote host closed the connection) 2021-04-25T10:17:08Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T10:17:24Z pseudonymous joined #lisp 2021-04-25T10:19:17Z amb007 joined #lisp 2021-04-25T10:23:44Z theothor` joined #lisp 2021-04-25T10:26:19Z theothor` quit (Remote host closed the connection) 2021-04-25T10:27:21Z trokotech quit (Remote host closed the connection) 2021-04-25T10:28:34Z trokotech joined #lisp 2021-04-25T10:35:38Z cosimone joined #lisp 2021-04-25T10:40:42Z monolithic joined #lisp 2021-04-25T10:41:02Z saganman quit (Ping timeout: 252 seconds) 2021-04-25T10:47:08Z zbigniew quit (Remote host closed the connection) 2021-04-25T10:48:26Z surabax_ is now known as surabax 2021-04-25T10:50:38Z vegansbane6963 joined #lisp 2021-04-25T10:51:52Z semz_ joined #lisp 2021-04-25T10:52:10Z semz_ quit (Client Quit) 2021-04-25T10:53:53Z semz quit (Ping timeout: 250 seconds) 2021-04-25T10:54:05Z gigamonkey joined #lisp 2021-04-25T10:54:50Z saganman joined #lisp 2021-04-25T11:05:14Z saganman quit (Ping timeout: 252 seconds) 2021-04-25T11:06:32Z aartaka_d joined #lisp 2021-04-25T11:08:07Z pseudonymous quit (Remote host closed the connection) 2021-04-25T11:08:24Z pseudonymous joined #lisp 2021-04-25T11:09:07Z aartaka quit (Ping timeout: 252 seconds) 2021-04-25T11:11:51Z gigamonkey quit (Ping timeout: 260 seconds) 2021-04-25T11:14:30Z raeda joined #lisp 2021-04-25T11:22:03Z aartaka joined #lisp 2021-04-25T11:24:32Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-25T11:30:26Z karlosz quit (Quit: karlosz) 2021-04-25T11:35:22Z bjorkintosh quit (Remote host closed the connection) 2021-04-25T11:35:34Z bjorkintosh joined #lisp 2021-04-25T11:46:31Z kevingal joined #lisp 2021-04-25T11:46:41Z surabax_ joined #lisp 2021-04-25T11:48:25Z zaquest quit (Quit: Leaving) 2021-04-25T11:49:28Z surabax__ joined #lisp 2021-04-25T11:49:32Z surabax quit (Ping timeout: 246 seconds) 2021-04-25T11:51:58Z zaquest joined #lisp 2021-04-25T11:52:01Z surabax_ quit (Ping timeout: 252 seconds) 2021-04-25T11:53:06Z klltkr joined #lisp 2021-04-25T11:56:06Z raeda quit (Ping timeout: 240 seconds) 2021-04-25T11:58:02Z Odin- quit (Quit: ZNC 1.8.2+deb2+b1 - https://znc.in) 2021-04-25T11:58:24Z Odin- joined #lisp 2021-04-25T12:01:39Z bytesighs quit (Quit: Connection closed for inactivity) 2021-04-25T12:02:29Z johnjay quit (Ping timeout: 246 seconds) 2021-04-25T12:03:25Z l1x joined #lisp 2021-04-25T12:03:43Z daphnis joined #lisp 2021-04-25T12:05:54Z daphnis: what's a good way to test whether one string ends in another? 2021-04-25T12:06:36Z Inline: ? 2021-04-25T12:06:48Z Inline: substrings ? 2021-04-25T12:08:17Z daphnis: i couldn't find a straightforward way to checking that "foobar" ends in "ar" for example 2021-04-25T12:08:47Z Odin- quit (Quit: ZNC 1.8.2+deb2+b1 - https://znc.in) 2021-04-25T12:08:56Z splittist: alexandria:ends-with-subseq "ar" "foobar" ? 2021-04-25T12:09:21Z Odin- joined #lisp 2021-04-25T12:10:24Z daphnis: splittist: ah, thanks 2021-04-25T12:12:08Z raeda joined #lisp 2021-04-25T12:23:40Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T12:24:11Z amb007 joined #lisp 2021-04-25T12:27:42Z shka_ joined #lisp 2021-04-25T12:27:54Z supercoven joined #lisp 2021-04-25T12:31:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T12:32:07Z surabax__ is now known as surabax 2021-04-25T12:32:10Z amb007 joined #lisp 2021-04-25T12:34:52Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T12:35:05Z amb007 joined #lisp 2021-04-25T12:35:44Z saganman joined #lisp 2021-04-25T12:35:53Z epony quit (Ping timeout: 240 seconds) 2021-04-25T12:35:54Z random-nick joined #lisp 2021-04-25T12:37:23Z pve quit (Quit: leaving) 2021-04-25T12:38:44Z Odin- quit (Ping timeout: 245 seconds) 2021-04-25T12:39:01Z kevingal quit (Remote host closed the connection) 2021-04-25T12:39:33Z Odin- joined #lisp 2021-04-25T12:40:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T12:41:03Z amb007 joined #lisp 2021-04-25T12:41:48Z frost-lab joined #lisp 2021-04-25T12:41:55Z gitgood quit (Remote host closed the connection) 2021-04-25T12:46:38Z Duuqnd quit (Quit: Connection closed) 2021-04-25T12:48:08Z pseudonymous quit (Remote host closed the connection) 2021-04-25T12:48:24Z pseudonymous joined #lisp 2021-04-25T12:52:48Z srji quit (Quit: leaving) 2021-04-25T12:54:11Z Odin- quit (Ping timeout: 240 seconds) 2021-04-25T12:54:35Z srji joined #lisp 2021-04-25T12:56:27Z FennecCode joined #lisp 2021-04-25T12:57:21Z nij joined #lisp 2021-04-25T12:57:25Z srji quit (Client Quit) 2021-04-25T12:57:55Z srji joined #lisp 2021-04-25T12:58:12Z srji quit (Client Quit) 2021-04-25T12:59:12Z srji joined #lisp 2021-04-25T12:59:50Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T13:00:11Z amb007 joined #lisp 2021-04-25T13:03:05Z frost-lab quit (Quit: Connection closed) 2021-04-25T13:03:06Z aeth quit (Ping timeout: 240 seconds) 2021-04-25T13:03:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T13:03:26Z amb007 joined #lisp 2021-04-25T13:05:20Z aeth joined #lisp 2021-04-25T13:05:37Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T13:06:22Z srji quit (Quit: leaving) 2021-04-25T13:07:43Z amb007 joined #lisp 2021-04-25T13:08:09Z gigamonkey joined #lisp 2021-04-25T13:08:55Z srji joined #lisp 2021-04-25T13:09:44Z srji quit (Client Quit) 2021-04-25T13:09:50Z Odin- joined #lisp 2021-04-25T13:10:00Z srji joined #lisp 2021-04-25T13:12:19Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T13:13:43Z amb007 joined #lisp 2021-04-25T13:15:11Z gigamonkey quit (Ping timeout: 240 seconds) 2021-04-25T13:15:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T13:16:14Z amb007 joined #lisp 2021-04-25T13:20:00Z gitgood joined #lisp 2021-04-25T13:20:08Z pseudonymous quit (Remote host closed the connection) 2021-04-25T13:20:34Z pseudonymous joined #lisp 2021-04-25T13:25:44Z nij quit (Read error: Connection reset by peer) 2021-04-25T13:28:20Z Lord_of_Life quit (Ping timeout: 265 seconds) 2021-04-25T13:31:19Z dieggsy: daphnis: uiop also has string-suffix-p 2021-04-25T13:31:31Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T13:32:07Z amb007 joined #lisp 2021-04-25T13:33:50Z john__ is now known as gaqwas 2021-04-25T13:33:50Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T13:33:57Z amb007 joined #lisp 2021-04-25T13:33:59Z gaqwas quit (Changing host) 2021-04-25T13:33:59Z gaqwas joined #lisp 2021-04-25T13:40:18Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-25T13:41:23Z nij joined #lisp 2021-04-25T13:41:32Z raeda quit (Read error: Connection reset by peer) 2021-04-25T13:41:48Z raeda joined #lisp 2021-04-25T13:43:31Z nij quit (Remote host closed the connection) 2021-04-25T13:45:06Z Spawns_Carpeting joined #lisp 2021-04-25T13:48:54Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T13:50:35Z amb007 joined #lisp 2021-04-25T13:51:11Z saganman quit (Quit: WeeChat 1.6) 2021-04-25T13:52:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T13:52:52Z amb007 joined #lisp 2021-04-25T13:52:58Z dsrt^ quit (Read error: Connection reset by peer) 2021-04-25T13:55:53Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T13:56:13Z Lord_of_Life joined #lisp 2021-04-25T13:56:14Z amb007 joined #lisp 2021-04-25T13:56:33Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-25T13:58:20Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T14:00:33Z amb007 joined #lisp 2021-04-25T14:01:38Z Bike joined #lisp 2021-04-25T14:01:38Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T14:02:22Z semz joined #lisp 2021-04-25T14:02:23Z Tordek quit (Ping timeout: 250 seconds) 2021-04-25T14:02:47Z 17WAABRZX quit (Remote host closed the connection) 2021-04-25T14:03:28Z CrazyPython joined #lisp 2021-04-25T14:04:09Z Tordek joined #lisp 2021-04-25T14:04:53Z amb007 joined #lisp 2021-04-25T14:07:08Z pseudonymous quit (Remote host closed the connection) 2021-04-25T14:07:08Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T14:07:24Z pseudonymous joined #lisp 2021-04-25T14:08:13Z amb007 joined #lisp 2021-04-25T14:09:28Z indathrone quit (Quit: Leaving) 2021-04-25T14:09:28Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T14:09:54Z liberliver joined #lisp 2021-04-25T14:10:12Z liberliver quit (Client Quit) 2021-04-25T14:10:33Z amb007 joined #lisp 2021-04-25T14:12:50Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T14:15:04Z amb007 joined #lisp 2021-04-25T14:19:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T14:20:16Z amb007 joined #lisp 2021-04-25T14:22:11Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T14:22:53Z amb007 joined #lisp 2021-04-25T14:30:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T14:30:50Z amb007 joined #lisp 2021-04-25T14:31:19Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T14:32:05Z amb007 joined #lisp 2021-04-25T14:34:04Z red-dot quit (Quit: Going offline, see ya! (www.adiirc.com)) 2021-04-25T14:39:00Z lotuseater: hey i ran into an interesting problem recently ^^ an algorithm with TAGBODY and labels 1..13 has a step with "now goto step Z+3" so I calculate with (let ((next-step (+ Z 3))) (go next-step)) but of course that didn't work, as no NEXT-STEP label is there. i got it to run otherwise, but my question is is there another clever trick? :D 2021-04-25T14:39:17Z ssbnxx joined #lisp 2021-04-25T14:40:27Z beach: clhs go 2021-04-25T14:40:27Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T14:40:28Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/s_go.htm 2021-04-25T14:40:45Z skapata joined #lisp 2021-04-25T14:41:00Z beach: Nope, the argument to GO must be a "go tag". 2021-04-25T14:41:03Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-25T14:41:13Z amb007 joined #lisp 2021-04-25T14:41:35Z phoe: lotuseater: if you mean something like computing the tagbody tag dynamically - nope, that won't work 2021-04-25T14:42:07Z pseudonymous quit (Remote host closed the connection) 2021-04-25T14:42:21Z phoe: I mean, you can make yourself a function that accepts a number of sorts at runtime and contains a CASE with a series of GO calls 2021-04-25T14:42:24Z pseudonymous joined #lisp 2021-04-25T14:42:36Z phoe: that'll mean you will have a runtime jump table of sorts 2021-04-25T14:49:36Z jcowan: of course eval can be your friend here 2021-04-25T14:49:37Z cosimone quit (Remote host closed the connection) 2021-04-25T14:49:45Z nij joined #lisp 2021-04-25T14:49:55Z cosimone joined #lisp 2021-04-25T14:51:00Z hiroaki joined #lisp 2021-04-25T14:51:00Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T14:51:13Z Josh_2: Afternoon 2021-04-25T14:51:25Z phoe: eval? what do you mean? 2021-04-25T14:51:38Z phoe: it evaluates in a null lexenv 2021-04-25T14:52:57Z amb007 joined #lisp 2021-04-25T14:53:24Z nij: Has anyone used Kenzo :) or even better seen the author hanging around in #lisp? http://www-fourier.ujf-grenoble.fr/~sergerar/Kenzo/ 2021-04-25T14:59:18Z lotuseater: ok phoe 2021-04-25T15:02:23Z phadthai_ joined #lisp 2021-04-25T15:02:23Z phadthai quit (Read error: Connection reset by peer) 2021-04-25T15:05:37Z notzmv quit (Ping timeout: 252 seconds) 2021-04-25T15:06:11Z rumbler31 joined #lisp 2021-04-25T15:11:33Z gigamonkey joined #lisp 2021-04-25T15:11:54Z johnjay joined #lisp 2021-04-25T15:12:21Z Josh_2: nij: I can barely count beyond the fingers on my hands, and the toes on my feet 2021-04-25T15:12:33Z rumbler31 quit (Remote host closed the connection) 2021-04-25T15:13:01Z Josh_2: if we include my other appendages, my eyes and nose maybe I could get to 26 xD 2021-04-25T15:13:32Z rumbler31 joined #lisp 2021-04-25T15:13:41Z xkapastel joined #lisp 2021-04-25T15:14:28Z MichaelRaskin: Josh_2: what exactly are two states of the nose suitable for use in counting?? 2021-04-25T15:15:07Z pseudonymous quit (Remote host closed the connection) 2021-04-25T15:15:24Z pseudonymous joined #lisp 2021-04-25T15:17:43Z zefram22 joined #lisp 2021-04-25T15:18:11Z Sheilong joined #lisp 2021-04-25T15:18:16Z gigamonkey quit (Ping timeout: 252 seconds) 2021-04-25T15:19:30Z Josh_2: I don't understand MichaelRaskin 2021-04-25T15:20:18Z MichaelRaskin: Well, you say that you consider using your nose for counting 2021-04-25T15:22:00Z nij: Josh_2: whaaaaaat? 2021-04-25T15:22:16Z nij: What are you talking about :D ? 2021-04-25T15:26:39Z Bike: (defmacro computed-goto (min max val) `(ecase ,val ,@(loop for i from min to max collect `((,i) (go ,i))))) 2021-04-25T15:26:41Z Josh_2: Yes, I can count my nose as an appendage 2021-04-25T15:26:49Z CrazyPython quit (Read error: Connection reset by peer) 2021-04-25T15:26:54Z Bike: i guess if you wated to be really fancy you could define a computed-tagbody macro to get the min and max for you 2021-04-25T15:27:13Z CrazyPython joined #lisp 2021-04-25T15:30:24Z saganman joined #lisp 2021-04-25T15:30:37Z pseudonymous quit (Remote host closed the connection) 2021-04-25T15:31:05Z pseudonymous joined #lisp 2021-04-25T15:34:40Z Bike: http://ix.io/38tU like this. 2021-04-25T15:35:00Z supercoven quit (Read error: Connection reset by peer) 2021-04-25T15:35:10Z jcowan: phoe: You can't just eval the go, you have to eval the whole thing and use quasiquote to subsitute in the appropriate go tag. 2021-04-25T15:35:21Z supercoven joined #lisp 2021-04-25T15:35:22Z waleee-cl joined #lisp 2021-04-25T15:39:57Z cosimone quit (Remote host closed the connection) 2021-04-25T15:40:49Z zefram22 quit (Ping timeout: 252 seconds) 2021-04-25T15:51:24Z ccl-logbot joined #lisp 2021-04-25T15:51:24Z 2021-04-25T15:51:24Z names: ccl-logbot waleee-cl supercoven pseudonymous saganman CrazyPython Sheilong xkapastel rumbler31 johnjay phadthai_ amb007 hiroaki nij skapata ssbnxx Tordek semz Bike Lord_of_Life Spawns_Carpeting raeda gitgood srji Odin- aeth FennecCode random-nick shka_ daphnis l1x zaquest surabax bjorkintosh aartaka vegansbane6963 monolithic trokotech frgo Inline Alfr heisig buoy49 MichaelRaskin zzappie refusenick edgar-rft cage_ nature hendursa1 andrei-n varjag froggey 2021-04-25T15:51:24Z names: zooey Ziemas Nilby orivej lotuseater mathrick dieggsy IPmonger_ wxie gaqwas dnjp[m] mrchampion phoe6245 Gnuxie[m]1 long4mud ravndal cantstanya Aurora_v_kosmose Ekho xsperry astronavt matthewcroughan Jesin sm2n Lord_Nightmare Sauvin agam_b[m] theo[m] rodentrabies heretical_crypte arcontethegreat[ tweet[m] loke[m] e[m]1 katco santiagopim[m] no-defun-allowed dmiles[m] MrtnDk[m] susam quanta[m] etimmons ThaEwat infra_red[m] kreyren ms[m] selwyn Guest59707 2021-04-25T15:51:24Z names: chewbranca necrontab travv0 alanz dunk b20n spikhoff entel physpi jsatk parisienne d4ryus Papa nightfly APic drdo Juonu pok ferada minion gigetoo mood nitrix myall penguwin sukaeto OlCe jurov_ opcode Eoco gabiruh Krystof emacsomancer stux|RC X-Scale Inoperable ozzloy zigpaw107613 tgbugs plisp2 pyc shrysr_ thecoffemaker spal Yardanico Blkt ioa @fe[nl]ix lawt simplegauss beach XachX jcowan jello_pudding _paul0 phantomics sjl sebboh pent shinohai sbryant em 2021-04-25T15:51:24Z names: madnificent xristos ck_ gensym wigust cross mr_yogurt mgxm dim antoszka jibanes flip214 xi- gum ecraven eschatologist leeren _death andreyorst alandipert brass dtman34 srandon111 mseddon1 Iolo wooden contrapunctus fitzsim SAL9000 vegai mgsk_ isoraqathedh Demosthenex jackdaniel winny vydd aaronm04 rvirding cracauer tomaw ineiros MetaYan_ samebchase- jdz borodust ober White_Flame Fade mtd engblom ceblan datajerk mtd_ add^_ spacebat2 [df] vhost- 2021-04-25T15:51:24Z names: AdmiralBumbleBee azrazalea herlocksholmes Nikotiini thonkpod sveit gendl luckless_ madagest jeosol SlashLife thermo tessier jgkamat rotty Patternmaster jfb4 nckx saturn2 getha hdasch hvxgr zymurgy bkst eagleflo remexre lavaflow jprajzne troydm diamondbond cods conkker MIF specbot Adamclisi zupss Xach dilated_dinosaur Necktwi Colleen cyberlard z0d fengshaun jonatack kopiyka Shinmera TMA jrm mrSpec Noisytoot glamas_ sxmx1 snits_ xlei jerme_ ramus ukari 2021-04-25T15:51:24Z names: aindilis perrier-jouet theBlackDragon Josh_2 ChoHag spaethnl joast gumman vaporatorius grumble DGASAU grnman_ kslt1 loke lottaquestions brown121407 cpape Posterdati luna_is_here pranavats mister_m micro mfiano ilmu alfred188 CrashTestDummy voidlily ggoes Jachy __jrjsmrtn__ hjudt leo_song casual_friday_ sp41 HiRE elderthunk amk mjl ffwacom dvdmuckle nullman elflng deltab albusp davros Khisanth markasoftware_ Gromboli docl f4r59 beaky Oddity cipherchess 2021-04-25T15:51:24Z names: hineios scymtym nick3000 stylewarning jackhill rme luis GreaseMonkey terpri lowryder kini sgithens p_l conjunctive jmercouris Balooga IIsi50MHz stux|RC-only hiredman rixard jmiven hhdave_ rdd Cthulhux midre xantoz vsync gpiero madand housel devrtz theruran mpontillo ryanbw _0x1d3 summerisle _whitelogger Grue` drmeister gabc ft SumoSud0 jealousmonk aap justinmcp_ himmAllRight17 tychoish pacon ski joga avicenna spxy chrpape phoe splittist grfn |3b| dale 2021-04-25T15:51:24Z names: guaqua matijja malm krjt asdflkj moon-child billstclair griffinbyatt shenghi swflint felideon grobe0ba gko palter gingerale- dnm interruptinuse zagura copec acolarh terrorjack Mandus kingcons_ lukego jasom Grauwolf knobo jlpeters fiddlerwoaroof lieven cpt_nemo idxu dbotton lonjil larme mgsk gaze__ CEnnis91 seisatsu creat bonz060 tmf kbtr Ankhers Kabriel femi ark cognemo nydel daniel1302 nmg drewc mgr_ natter samebchase eMBee null_ptr russell-- bmansurov 2021-04-25T15:51:24Z names: kagevf gabot jxy greeb nullheroes 2021-04-25T15:52:40Z gigamonkey joined #lisp 2021-04-25T15:54:31Z klltkr joined #lisp 2021-04-25T16:01:37Z pseudonymous quit (Remote host closed the connection) 2021-04-25T16:02:21Z pseudonymous joined #lisp 2021-04-25T16:04:11Z long4mud quit (Ping timeout: 240 seconds) 2021-04-25T16:05:08Z pseudonymous quit (Remote host closed the connection) 2021-04-25T16:05:24Z pseudonymous joined #lisp 2021-04-25T16:06:29Z slyrus joined #lisp 2021-04-25T16:08:03Z Nilby quit (Ping timeout: 250 seconds) 2021-04-25T16:08:07Z imode joined #lisp 2021-04-25T16:11:14Z phoe: jcowan: yes, I understand now 2021-04-25T16:12:54Z hypercube joined #lisp 2021-04-25T16:20:31Z layerex joined #lisp 2021-04-25T16:21:32Z srhm joined #lisp 2021-04-25T16:23:00Z DHARMAKAYA joined #lisp 2021-04-25T16:24:37Z cosimone joined #lisp 2021-04-25T16:28:03Z slyrus quit (Remote host closed the connection) 2021-04-25T16:31:26Z slyrus joined #lisp 2021-04-25T16:31:55Z splittist: The devil made me do it: https://github.com/splittist/scanfcl 2021-04-25T16:35:41Z slyrus quit (Ping timeout: 240 seconds) 2021-04-25T16:39:49Z monolithic quit (Remote host closed the connection) 2021-04-25T16:39:55Z phoe: no 2021-04-25T16:40:26Z phoe: oh sweet goodness no 2021-04-25T16:40:38Z phoe: you've really done that 2021-04-25T16:41:31Z monolithic joined #lisp 2021-04-25T16:45:30Z CL-ASHOK joined #lisp 2021-04-25T16:47:42Z CL-ASHOK quit (Client Quit) 2021-04-25T16:53:42Z tophullyte joined #lisp 2021-04-25T16:56:20Z jtecca joined #lisp 2021-04-25T16:58:05Z zefram22 joined #lisp 2021-04-25T17:00:20Z oldtopman joined #lisp 2021-04-25T17:03:25Z aeth quit (Ping timeout: 260 seconds) 2021-04-25T17:05:10Z aeth joined #lisp 2021-04-25T17:06:39Z Inline quit (Ping timeout: 260 seconds) 2021-04-25T17:09:37Z nij: Amazing: (sscanf "000000004713b902: 00000002 00000000 00010000 0005 01 19462 /run/WSL/8_interop" "%x: %8x %8x %8x %4x %2x %5lu %s") ;; => (1192474882 2 0 65536 5 1 19462 "/run/WSL/8_interop") 2021-04-25T17:10:58Z Shinmera: phoe: fortunately the dangers of scanf are not present in this version. 2021-04-25T17:11:16Z epony joined #lisp 2021-04-25T17:15:38Z dieggsy: splittist: why does the order seems reversed lol 2021-04-25T17:16:55Z notzmv joined #lisp 2021-04-25T17:19:51Z CrazyPython quit (Ping timeout: 265 seconds) 2021-04-25T17:21:54Z CrazyPython joined #lisp 2021-04-25T17:22:01Z notzmv quit (Ping timeout: 252 seconds) 2021-04-25T17:24:14Z splittist: dieggsy: where? 2021-04-25T17:24:46Z dieggsy: splittist: you have (sscanf "123 abc" "%d %s"), i'd almost expect (sscanf "%d "%s" "123 abc") 2021-04-25T17:26:21Z contrapunctus left #lisp 2021-04-25T17:26:26Z contrapunctus joined #lisp 2021-04-25T17:27:43Z splittist: dieggsy: yeah. But that's how C does it: int sscanf(const char *str, const char *format, ...); 2021-04-25T17:28:00Z dieggsy: right 2021-04-25T17:28:24Z splittist: dieggsy: it kind of makes sense if you think of fscanf having the FILE *stream first 2021-04-25T17:28:50Z splittist: and scanf omitting them altogether 2021-04-25T17:30:08Z pseudonymous quit (Remote host closed the connection) 2021-04-25T17:30:26Z pseudonymous joined #lisp 2021-04-25T17:30:47Z Inline joined #lisp 2021-04-25T17:32:58Z dieggsy: oh no, you're right 2021-04-25T17:33:00Z dieggsy: neat 2021-04-25T17:35:15Z theothornhill joined #lisp 2021-04-25T17:36:19Z long4mud joined #lisp 2021-04-25T17:41:00Z jtecca quit (Quit: ERC (IRC client for Emacs 27.2.50)) 2021-04-25T17:43:19Z _paul0 quit (Remote host closed the connection) 2021-04-25T17:43:32Z paul0 joined #lisp 2021-04-25T17:44:21Z gigamonkey quit (Remote host closed the connection) 2021-04-25T17:44:35Z gigamonkey joined #lisp 2021-04-25T17:46:47Z amb007 quit (Ping timeout: 268 seconds) 2021-04-25T17:48:48Z mindCrime_ joined #lisp 2021-04-25T17:52:12Z selwyn quit 2021-04-25T17:52:35Z selwyn joined #lisp 2021-04-25T17:54:26Z amb007 joined #lisp 2021-04-25T17:54:47Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-25T17:55:36Z Spawns_Carpeting joined #lisp 2021-04-25T17:57:11Z contrapunctus left #lisp 2021-04-25T17:57:17Z tempest_nox joined #lisp 2021-04-25T17:57:52Z contrapunctus joined #lisp 2021-04-25T17:58:12Z easye joined #lisp 2021-04-25T18:03:50Z wsinatra joined #lisp 2021-04-25T18:04:19Z aeth quit (Ping timeout: 265 seconds) 2021-04-25T18:04:29Z contrapunctus left #lisp 2021-04-25T18:05:15Z contrapunctus joined #lisp 2021-04-25T18:06:03Z aeth joined #lisp 2021-04-25T18:07:47Z Lord_of_Life_ joined #lisp 2021-04-25T18:07:53Z slyrus joined #lisp 2021-04-25T18:08:59Z theothornhill quit (Ping timeout: 268 seconds) 2021-04-25T18:08:59Z Lord_of_Life quit (Ping timeout: 268 seconds) 2021-04-25T18:10:57Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-25T18:11:35Z contrapunctus left #lisp 2021-04-25T18:12:06Z slyrus quit (Ping timeout: 240 seconds) 2021-04-25T18:12:28Z contrapunctus joined #lisp 2021-04-25T18:15:10Z contrapunctus left #lisp 2021-04-25T18:21:48Z gigamonkey: I gather the folks who wrote uiop consider uiop/pathname a replacement for cl-fad. Can anyone point me to any discussion about why certain things that are in cl-fad are not in uiop (e.g. pathname-as-file unless I'm missing something)? 2021-04-25T18:21:48Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:22:34Z amb007 joined #lisp 2021-04-25T18:23:45Z contrapunctus joined #lisp 2021-04-25T18:24:36Z jackdaniel: gigamonkey: it was "self proclaimed" replacement for many things 2021-04-25T18:24:36Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:25:19Z amb007 joined #lisp 2021-04-25T18:26:05Z Shinmera: I find pathname-as-file's behaviour for directories a bit wild. 2021-04-25T18:27:18Z gigamonkey: Shinmera: how so? 2021-04-25T18:27:18Z MrFantastik joined #lisp 2021-04-25T18:27:24Z MrFantastik: (member "Alpha" (list "Alpha" "sdas")) 2021-04-25T18:27:24Z MrFantastik: 2021-04-25T18:27:29Z MrFantastik: why is this nil? 2021-04-25T18:27:30Z phoe: MrFantastik: :test #'string= 2021-04-25T18:27:43Z Shinmera: MrFantastik: because they're not the same strings. 2021-04-25T18:27:46Z phoe: normally member uses #'eql which will not match strings by value, but by identity 2021-04-25T18:28:09Z MrFantastik: ty! 2021-04-25T18:28:18Z Shinmera: gigamonkey: Idk, treating a directory as a file seems wrong to me. 2021-04-25T18:28:26Z jackdaniel: (member '|Alpha| (list '|Alpha| '|sdas|)) for heavy-wieght eq-comparable not mutable strings ,) 2021-04-25T18:28:27Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:28:39Z amb007 joined #lisp 2021-04-25T18:28:40Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:28:53Z amb007 joined #lisp 2021-04-25T18:29:14Z phoe: you forgot about interning, please consider '#:|Alpha| as ultra-ugly heavyweight eq-comparable immutable strings 2021-04-25T18:29:26Z phoe: or, on a second thought, actually please don't consider them 2021-04-25T18:29:58Z jackdaniel: they won't be eq 2021-04-25T18:30:01Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:30:06Z jackdaniel: because that will be two different symbols 2021-04-25T18:30:13Z amb007 joined #lisp 2021-04-25T18:30:21Z Shinmera: (member '#1=#:|Alpha| (list '#1# '#:|sdas|)) 2021-04-25T18:30:25Z Shinmera: Clearly :) 2021-04-25T18:30:51Z jackdaniel: why not (member #1="Alpha" (list #1# "sdas")) then? ,p 2021-04-25T18:31:02Z Shinmera: Not lispy enough 2021-04-25T18:31:26Z Shinmera: gigamonkey: Fwiw I wrote my own pathname mangling library in https://shinmera.github.io/pathname-utils 2021-04-25T18:32:13Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:32:17Z gigamonkey: Shinmera: well, it's just about manipulating pathnames. Like if you wanted to create a file name based on a directory name. 2021-04-25T18:32:23Z amb007 joined #lisp 2021-04-25T18:32:31Z Shinmera: It has a very different idea of what it means to turn a pathname into a "file pathname" 2021-04-25T18:32:31Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:32:49Z amb007 joined #lisp 2021-04-25T18:33:04Z gigamonkey: E.g. (let ((p #p"some/dir/")) (merge-pathnames p (make-pathname :type "foo"))) gives you a goofy result of a pathname with a type but no name. 2021-04-25T18:33:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:33:15Z theothornhill joined #lisp 2021-04-25T18:33:28Z gigamonkey: Whereaas (let ((p #p"some/dir/")) (merge-pathnames (pathname-as-file p) (make-pathname 2021-04-25T18:33:28Z gigamonkey: :type "foo"))) does something sensible. 2021-04-25T18:33:35Z Shinmera: Does it? 2021-04-25T18:33:49Z amb007 joined #lisp 2021-04-25T18:34:19Z gigamonkey: To my mind? If I have a directory named foo/bar/ and I want to make a file foo/bar.whatever it does that. 2021-04-25T18:34:19Z aartaka quit (Read error: Connection reset by peer) 2021-04-25T18:34:19Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:34:38Z amb007 joined #lisp 2021-04-25T18:36:49Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:37:24Z amb007 joined #lisp 2021-04-25T18:37:41Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-25T18:37:54Z Shinmera: I guess. My disagreement I suppose comes from directories and files being fundamentally of different purposes, so "converting" a directory into a file seems wrong. I would have worded the same maybe like this: (make-pathname :name (pathname-utils:directory-name path) :type "foo" :defaults (pathname-utils:parent path)) 2021-04-25T18:38:05Z Shinmera: Much longer of course. 2021-04-25T18:39:49Z Anton93 joined #lisp 2021-04-25T18:40:02Z gigamonkey: Yeah. The whole point of CL-FAD (when I wrote the original code for PCL) was to do syntactic manipulations of pathnames. And because pathnames distinguish between directory names and file names I needed a function to say, how would I make a syntactically correct pathname that is the "same" name but as a file. 2021-04-25T18:40:21Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-25T18:40:51Z Anton93 quit (Client Quit) 2021-04-25T18:41:03Z zefram22 quit (Ping timeout: 265 seconds) 2021-04-25T18:41:12Z dieggsy: Can ECL generate statically linked executables? 2021-04-25T18:41:19Z dieggsy: that is, with libecl statically linked in 2021-04-25T18:42:03Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:42:18Z amb007 joined #lisp 2021-04-25T18:44:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:44:59Z amb007 joined #lisp 2021-04-25T18:44:59Z Shinmera: The depressing thing about writing pathname-utils was that a lot of the behaviour around munging pathnames can be hairy on certain implementations. 2021-04-25T18:45:11Z Shinmera: At least I wrote a test suite to catch most of that. 2021-04-25T18:48:32Z ebrasca joined #lisp 2021-04-25T18:51:14Z dieggsy quit (Ping timeout: 245 seconds) 2021-04-25T18:52:04Z e[m]1 quit (Ping timeout: 245 seconds) 2021-04-25T18:52:04Z santiagopim[m] quit (Ping timeout: 245 seconds) 2021-04-25T18:52:04Z dmiles[m] quit (Ping timeout: 245 seconds) 2021-04-25T18:52:04Z kreyren quit (Ping timeout: 245 seconds) 2021-04-25T18:52:29Z heretical_crypte quit (Ping timeout: 245 seconds) 2021-04-25T18:53:08Z pseudonymous quit (Remote host closed the connection) 2021-04-25T18:53:24Z pseudonymous joined #lisp 2021-04-25T18:53:27Z loskutak joined #lisp 2021-04-25T18:54:06Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:54:42Z dieggsy joined #lisp 2021-04-25T18:54:44Z amb007 joined #lisp 2021-04-25T18:56:11Z orivej quit (Ping timeout: 240 seconds) 2021-04-25T18:56:12Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:56:24Z santiagopim[m] joined #lisp 2021-04-25T18:56:36Z e[m]1 joined #lisp 2021-04-25T18:56:37Z loskutak: Hi, I want to do a SVD decomposition of (small) matrix in common lisp. Is there any library, that could do that for me? I have tried gsll, but so far I couldn't get it to work. 2021-04-25T18:57:00Z dmiles[m] joined #lisp 2021-04-25T18:57:07Z orivej joined #lisp 2021-04-25T18:57:21Z kreyren joined #lisp 2021-04-25T18:57:40Z amb007 joined #lisp 2021-04-25T18:57:46Z jackdaniel: dieggsy: yes; but then you limit yourself to .a linkage (i.e no C-compiled fasls) 2021-04-25T18:58:12Z Lord_of_Life quit (Read error: Connection reset by peer) 2021-04-25T18:58:20Z jackdaniel: that limitation is more a defect than a hard constraint - it could be fixed with code 2021-04-25T18:58:42Z heretical_crypte joined #lisp 2021-04-25T18:58:42Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:59:00Z amb007 joined #lisp 2021-04-25T18:59:02Z jackdaniel: compile ecl with --disable-shared to have libecl.a; as for how to compile libraries (with dependencies) to static libraries, check out examples/ directory 2021-04-25T18:59:34Z dieggsy: ah, ok 2021-04-25T18:59:37Z dieggsy: thanks 2021-04-25T18:59:49Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T18:59:57Z Shinmera: Ah man, I didn't implement SVD for 3d-matrices? For shame. 2021-04-25T18:59:59Z dieggsy: is there a big performance difference between e.g. SBCL and ECL (i know SBCL is like the holy grail of lisp performance lol) 2021-04-25T19:00:13Z amb007 joined #lisp 2021-04-25T19:00:31Z jackdaniel: dieggsy: for declared numeric operations - no. for everything else - yes 2021-04-25T19:00:51Z jackdaniel: sbcl is much faster for a) generic function dispatch, b) inferred numeric operations 2021-04-25T19:00:54Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T19:01:04Z amb007 joined #lisp 2021-04-25T19:01:04Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T19:01:09Z jackdaniel: (and many more things I suppose) 2021-04-25T19:01:12Z dieggsy: ah, great. thanks for the info 2021-04-25T19:01:18Z amb007 joined #lisp 2021-04-25T19:01:30Z Lord_of_Life joined #lisp 2021-04-25T19:01:51Z jackdaniel: sure. here is somewhat dated benchmark: Bhttps://common-lisp.net/project/ecl/static/files/misc/benchmarks/2016-05-bench-all.html 2021-04-25T19:02:06Z jackdaniel: but it still gives rathe an accurate picture 2021-04-25T19:03:20Z layerex quit (Remote host closed the connection) 2021-04-25T19:03:41Z jackdaniel: I believe that a type inferencer and a fast generic function dispatch will bring ecl much closer to more performant implementations 2021-04-25T19:04:06Z loskutak: Shinmera: my matrices are 8x9 2021-04-25T19:04:07Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T19:04:14Z amb007 joined #lisp 2021-04-25T19:04:15Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T19:04:15Z Josh_2: does anyone know how SBCL compares to commercial implementations in terms of performance? 2021-04-25T19:04:28Z Shinmera: loskutak: 3d-matrices does support nxm matrices, but alas, no SVD 2021-04-25T19:04:33Z amb007 joined #lisp 2021-04-25T19:05:05Z jackdaniel: Josh_2: I believe Rainer Joswig ran cl-bench also against lw and allegro, but I don't remember for sure 2021-04-25T19:05:10Z dieggsy: loskutak: what wasn't working about GSLL out of curiosity 2021-04-25T19:05:27Z loskutak: In fact, I want to solve A*x = 0 (nullspace of A), so non-SVD methods would probably be ok as well. 2021-04-25T19:05:38Z pseudonymous quit (Remote host closed the connection) 2021-04-25T19:05:51Z Shinmera: It does have LU and QR. 2021-04-25T19:05:56Z theothornhill joined #lisp 2021-04-25T19:05:59Z pseudonymous joined #lisp 2021-04-25T19:08:20Z dieggsy: hmm, what would be the best method to live code an ncurses application? Start a swank server in the program ? 2021-04-25T19:09:55Z charles` joined #lisp 2021-04-25T19:09:58Z loskutak: dieggsy: idk, I probably just cannot load it properly. I do (ql:quickload "gsll"), (in-package :gsll), then I want to create the matrix with (make-marray) and I get gsll::make-marray is undefined... I am quite new to CL, so I have no idea what is going on... I have also tried testing the installation with (asdf:test-system :gsll), but that fails after while with heap exhausted error 2021-04-25T19:10:22Z jackdaniel: dieggsy: here is a rather hackish tutorial (for cl-charms binding to ncurses) :http://turtleware.eu/posts/cl-charms-crash-course.html 2021-04-25T19:10:49Z jackdaniel: on the same blog you will see also two tutorials about controlling the terminal without ncurses 2021-04-25T19:11:09Z jackdaniel: http://turtleware.eu/posts/Controlling-the-terminal.html; http://turtleware.eu/posts/Charming-CLIM-tutorial-part-2--Rethinking-The-Output.html 2021-04-25T19:11:30Z jackdaniel: (these are shameless plugs of course) 2021-04-25T19:11:32Z dieggsy: jackdaniel: oh, sweet! thank you! 2021-04-25T19:11:54Z dieggsy: loskutak: i don't think you want to (in-package :gsll) like that 2021-04-25T19:13:48Z charles`: Would it be bad to tell a user to redefine a function from my library for configuration? 2021-04-25T19:14:22Z dieggsy: loskutak: for example, after (ql:quickload :gsll) you can use the gsl:sv-decomposition function 2021-04-25T19:14:33Z dieggsy: and you can still (make-array ) or whatever 2021-04-25T19:15:19Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T19:15:28Z amb007 joined #lisp 2021-04-25T19:15:30Z Shinmera: charles`: yes 2021-04-25T19:16:48Z charles`: So it would be better to ask them to define a *variable* as a lambda? 2021-04-25T19:17:16Z Shinmera: if by define you mean set, yes. At least then reloading your library would not override it (provided you defvar). 2021-04-25T19:17:33Z Shinmera: but it's still not great if multiple different actors would want to configure different aspects of your library. 2021-04-25T19:17:46Z Shinmera: you'd need a more complex mechanism in that case 2021-04-25T19:17:53Z Shinmera: but, not knowing anything about your case, it's hard to say. 2021-04-25T19:19:40Z xkapastel quit (Quit: Connection closed for inactivity) 2021-04-25T19:20:08Z ljavorsk joined #lisp 2021-04-25T19:20:12Z dieggsy: jackdaniel: that's pretty much exactly what i was looking for 2021-04-25T19:20:16Z loskutak: dieggsy: cool, this works - I can gsl:sv-decomposition, but if I give it an array created by (make-array '(2 3) :initial-contents '((3 2 2) (2 3 -2))), it fails with: There is no applicable method for the generic function ... gsll:mpointer (3). So I guess I have to convert the array to some other type? 2021-04-25T19:20:42Z charles`: Shinmera, thanks for the insight 2021-04-25T19:22:37Z pseudonymous quit (Remote host closed the connection) 2021-04-25T19:22:54Z pseudonymous joined #lisp 2021-04-25T19:23:14Z dieggsy: loskutak: dunno, i've never used it, i'm just googling stuff. i'd suggest https://common-lisp.net/project/gsll/#examples and https://quickref.common-lisp.net/gsll.html 2021-04-25T19:23:18Z _death: loskutak: cl-mathstats has svd, though the symbol is not exported 2021-04-25T19:23:47Z dieggsy: jackdaniel: i'm not sure i understand (loop (sleep 1)) 2021-04-25T19:23:51Z dieggsy: like, what it's for here 2021-04-25T19:26:53Z Thom2503 joined #lisp 2021-04-25T19:27:36Z andrei-n quit (Quit: Leaving) 2021-04-25T19:29:13Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-25T19:29:22Z loskutak: dieggsy: it seems that they create a matrix with #2m(...), but that gives me "no dispatch function defined for #\M" 2021-04-25T19:29:28Z notzmv joined #lisp 2021-04-25T19:29:42Z notzmv is now known as Guest91421 2021-04-25T19:29:46Z Thom2503 quit (Quit: Leaving) 2021-04-25T19:29:59Z jackdaniel: dieggsy: there is only one terminal, and that termial is accessed with standard-output (and other) streams bound in the thread started from said terminal 2021-04-25T19:30:17Z jackdaniel: so this (sleep 1) is to not have the repl in that "main" thread get in the way with input and output processing 2021-04-25T19:30:52Z jackdaniel: for example repl calls (read); so it is first waiting for a character (or a line) - to not have that you make it "busy" 2021-04-25T19:31:44Z jackdaniel: if you want to be more elegant, make it sleep for the most-positive-fixnum :) 2021-04-25T19:32:59Z _jrjsmrtn joined #lisp 2021-04-25T19:33:07Z epony quit (Read error: Connection reset by peer) 2021-04-25T19:33:16Z attila_lendvai joined #lisp 2021-04-25T19:33:16Z attila_lendvai quit (Changing host) 2021-04-25T19:33:16Z attila_lendvai joined #lisp 2021-04-25T19:34:09Z __jrjsmrtn__ quit (Ping timeout: 260 seconds) 2021-04-25T19:34:14Z loskutak: _death: sorry, I am new to this - what does it mean that it is not exported? Can I load it somehow, or does that mean, that I have to copy the function definition to my code? 2021-04-25T19:35:18Z dieggsy: jackdaniel: not really sure i follow 2021-04-25T19:36:32Z _death: loskutak: it means it's not advertised as public by the library.. you can still call it like (cl-mathstats::singular-value-decomposition matrix) 2021-04-25T19:37:46Z dieggsy: loskutak: looked online for someone using GSLL : https://github.com/mnasoft/math/blob/0ab85a3a1b73f77d9283044df003b1d08547921f/src/ls-solve/gsll-samples.lisp 2021-04-25T19:38:01Z dieggsy: loskutak: looks like they're using grid:make-foreign-array to create the matrices 2021-04-25T19:38:22Z dieggsy: loskutak: i believe that's from the antik library that the GSLL library mentions 2021-04-25T19:38:47Z dieggsy: indeed not a very friendly API 2021-04-25T19:40:03Z Josh_2: How do i check if a variable declared special is bound? 2021-04-25T19:40:10Z Josh_2: I tried boundp but that signals a condition 2021-04-25T19:42:44Z _death: loskutak: the library hasn't changed much in the last decade, so I think it's not a big deal.. you could try to submit a pull request that exports that symbol, or maybe start maintaining your own fork 2021-04-25T19:43:32Z _death: Josh_2: note that you need to pass the name of the variable to boundp 2021-04-25T19:45:22Z Josh_2: Well I have (declare (special *validate*))(when (and (boundp *validate*) *validate*) ) 2021-04-25T19:45:23Z amb007 quit (Read error: Connection reset by peer) 2021-04-25T19:46:04Z amb007 joined #lisp 2021-04-25T19:46:32Z _death: (boundp '*variable*) 2021-04-25T19:46:39Z Josh_2: oof 2021-04-25T19:46:50Z lotuseater quit (Read error: Connection reset by peer) 2021-04-25T19:46:55Z Josh_2: Simple mistakes like this do make me laugh 2021-04-25T19:46:57Z Josh_2: Thanks 2021-04-25T19:48:42Z loskutak: dieggsy: thanks, I am now able to create the matrices. So much pain... To finally arrive to "Requested feature not (yet) implemented; svd of MxN matrix, M Lispers seem to love porting stuff don't they haha 2021-04-26T03:41:25Z zefram22 quit (Ping timeout: 265 seconds) 2021-04-26T03:41:55Z no-defun-allowed: Just wait until someone ports Common Lisp to Common Lisp. 2021-04-26T03:43:23Z Nilby: Yes they do, myself included. Once you have a CL environment that you like, it's hard to go back. 2021-04-26T03:43:53Z raeda: no-defun-allowed: Are you saying that nobody's made a self-hosting CL interpreter yet? 2021-04-26T03:44:53Z no-defun-allowed: A self-hosting interpreter? SBCL has an interpreter written in Common Lisp, but there aren't any full Common Lisp systems written entirely in Common Lisp (including garbage collector, operating system interface and so on). 2021-04-26T03:45:13Z beach: raeda: Modern Common Lisp systems don't have an interpreter at all, so it is entirely possible that nobody did that. 2021-04-26T03:45:59Z moon-child: you can use iota to run ecl 2021-04-26T03:47:36Z hegz: but now what makes CL superior to other lisps. 2021-04-26T03:47:36Z hegz: does it have something to do with the application or is it just entirely opinionated tastes. 2021-04-26T03:48:31Z beach: hegz: The condition system is unique, as is CLOS. But, again, there is no widely agreed-upon definition of "Lisp", so it is unclear which these "other lisps" might be. 2021-04-26T03:48:32Z Alfr: Isn't sbcl mostly there? Aren't the missing crucial bits only the loader and the gc? 2021-04-26T03:48:50Z raeda: A self hosting CL interpreter sounds like a fun lockdown project :D 2021-04-26T03:48:52Z Alfr: I don't think they intend to change that any time soon, but still. 2021-04-26T03:49:32Z no-defun-allowed: Common Lisp is a programming system, most other Lisp languages are just that. 2021-04-26T03:50:08Z Alfr: Hm ... i guess, getting away from C also would mean to implement handling systems calls. 2021-04-26T03:50:17Z beach: I believe Mezzano is written entirely in Common Lisp. 2021-04-26T03:51:30Z moon-child: Alfr: system calls are not difficult. The challenge is that few systems have a stable syscall interface 2021-04-26T03:51:41Z moon-child: linux is a rare exception in that respect 2021-04-26T03:51:47Z Alfr: beach, good to know, thanks. 2021-04-26T03:51:51Z beach: raeda: I suggest a compiler instead. It will take a bit longer, but it will be more useful. 2021-04-26T03:51:59Z MrFantas` joined #lisp 2021-04-26T03:52:04Z shka_ joined #lisp 2021-04-26T03:52:11Z Nilby: linux doens't have stable syscalls, it just pretends 2021-04-26T03:52:17Z no-defun-allowed: My personal opinion is that CL has more in common with Smalltalk or Self than some other Lisps (though it is hard to make a case with Scheme, I dunno). 2021-04-26T03:52:33Z Alfr: moon-child, handling errors is a pita though. 2021-04-26T03:52:56Z moon-child: not moreso than when calling the same functions through a c wrapper 2021-04-26T03:52:59Z moon-child: *more so 2021-04-26T03:54:11Z Alfr: no-defun-allowed, in scheme you have call/cc and thus you can easily get green threads. (I think you were complaining the lack thereof recently.) 2021-04-26T03:54:16Z no-defun-allowed: The language is designed around interacting with an image, and there are facilities to make it work nicely in the language and its implementations. 2021-04-26T03:54:20Z beach: Alfr: System calls are messy either way. I have a long-term project for defining an implementation-independent protocol for POSIX and Linux system calls. 2021-04-26T03:54:55Z no-defun-allowed: Alfr: But then you also have call/cc and apparently if you breathe on it hard, you get performance problems. Don't get me wrong, I find it fun, but everyone else seems to think it's a bad idea. 2021-04-26T03:55:49Z MrFantastik quit (Ping timeout: 245 seconds) 2021-04-26T03:56:08Z no-defun-allowed: All that is necessary is a one-shot undelimited continuation, not multi-shot. And that is basically just a copy of all the registers of the thread, which is what operating systems use already. 2021-04-26T03:56:38Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-26T03:56:56Z Spawns_Carpeting joined #lisp 2021-04-26T03:59:38Z Nilby: Even C isn't always exactly self-hosting as people thing. Ironically a popular C compiler has some tricky bits in a Lisp-like language. 2021-04-26T04:00:12Z no-defun-allowed: "Lisp is when you do (()) and the more ((())) you do the more Lisp it is" 2021-04-26T04:00:28Z beach: Nilby: You mean GCC? That's no surprise, since it was initially written by RMS. 2021-04-26T04:01:06Z no-defun-allowed: There is a .pd file with some S-expression stuff (pd for pattern dispatch?) and it is used for partial evaluation of C code. 2021-04-26T04:01:09Z Nilby: beach: Yes :) 2021-04-26T04:01:40Z beach: Nilby: RMS opted for a free version of Unix, rather than a free version of Genera, for political reasons. And he was right. If I had been in the position of RMS at the time I would have made the wrong decision. 2021-04-26T04:01:51Z no-defun-allowed: https://github.com/gcc-mirror/gcc/blob/master/gcc/match.pd Hm, yes, this is Lisp. 2021-04-26T04:01:54Z dukester joined #lisp 2021-04-26T04:02:10Z moon-child: beach: did he not also make emacs? ;) 2021-04-26T04:02:11Z MrFantas` quit (Ping timeout: 250 seconds) 2021-04-26T04:02:31Z dukester left #lisp 2021-04-26T04:02:32Z no-defun-allowed: Funny how I say that so-and-so clearly isn't Lisp, but then say I don't care because a language which just passes the definition doesn't interest me. 2021-04-26T04:02:37Z madagest quit (Remote host closed the connection) 2021-04-26T04:02:38Z beach: moon-child: Indeed. But he was not the first one to write an Emacs in Lisp. 2021-04-26T04:02:50Z madage joined #lisp 2021-04-26T04:04:01Z moon-child: no-defun-allowed: is that really lisp? I see quite a lot of c syntax, which would seem to indicate that's an sexp shim 2021-04-26T04:04:15Z no-defun-allowed: moon-child: That is what I was trying to get at. 2021-04-26T04:04:33Z Nilby: beach: I think it was also that he already had Emacs running on unix, and finding people who could write unix utilities is much easier than finding people to replicate Genera. 2021-04-26T04:05:39Z beach: Nilby: Yes, that's what I meant by "political reasons". His idea would have been a failure if he had chosen something other than Unix to copy. 2021-04-26T04:06:07Z Nilby: Indeed. 2021-04-26T04:06:43Z beach: Nilby: But that must have been a very hard decision to make. Knowing that there is something better, but choosing the worse alternative anyway. I remember his phrase "Unix is not great, but it is not too bad". 2021-04-26T04:06:58Z moon-child: well, that's 'worse is better' in general 2021-04-26T04:08:19Z Nilby: Exactly. I guess that's why we're still using Emacs as the top half of most of our current CL environments. 2021-04-26T04:10:05Z slyrus joined #lisp 2021-04-26T04:10:14Z Nilby: Also GCL was probably assumed to go further. 2021-04-26T04:15:12Z slyrus quit (Ping timeout: 252 seconds) 2021-04-26T04:20:24Z contrapunctus left #lisp 2021-04-26T04:23:24Z contrapunctus joined #lisp 2021-04-26T04:23:33Z beach: Nilby: It seems RMS did not like Common Lisp at all. "Common Lisp is HUGE!" 2021-04-26T04:23:58Z beach: Of course, it is not that big compared to other languages today. 2021-04-26T04:24:05Z no-defun-allowed: I thought he didn't like keyword arguments at least, and this was from a presentation at some Lisp meeting in 2005. 2021-04-26T04:24:39Z beach: Do you remember the reason for not liking keywords arguments? 2021-04-26T04:24:40Z no-defun-allowed: https://www.gnu.org/gnu/rms-lisp.html is a transcript of RMS at ILC 2002 rather. 2021-04-26T04:25:25Z narimiran joined #lisp 2021-04-26T04:25:41Z no-defun-allowed: "I don't mind if a very complex and heavyweight function takes keyword arguments. What bothers me is making simple 2021-04-26T04:25:41Z no-defun-allowed: basic functions such as “member” use them." Fine, write a simple definition of object equality first. 2021-04-26T04:25:49Z Nilby: beach: Yes. It's interesting to see his votes and opinions on the CL committee. And funny that only after he's backed off does Elisp get nice things lexical scope. 2021-04-26T04:26:22Z beach: no-defun-allowed: I see, yes. 2021-04-26T04:26:51Z beach: Nilby: Interesting. 2021-04-26T04:30:02Z Nilby: And funny that Gosling doesn't get more credit for writing most of the C code in the first versions of GNU+/Emacs, even if he made the worst lisp ever. 2021-04-26T04:31:06Z no-defun-allowed: It should be called "debit" or something like that. 2021-04-26T04:32:29Z gigamonkey joined #lisp 2021-04-26T04:38:32Z Jachy: I'm still amazed at how prolific Stallman was just in keeping up with a dozen already prolific Symbolics hackers in duplicating so much of their functionality for LMI. 2021-04-26T04:41:31Z MrFantastik joined #lisp 2021-04-26T04:42:05Z mindCrime_ quit (Ping timeout: 246 seconds) 2021-04-26T04:43:19Z Bike quit (Quit: leaving) 2021-04-26T04:45:17Z Nilby: Jachy: It's quite impressive, but it's sad that LMI eventually got hopelessly behind, and maybe it more explains why rms ragequit to work on unix. 2021-04-26T04:45:26Z no-defun-allowed: Yeah, sure. 2021-04-26T04:46:35Z Nilby: it's cool when you can ragequit in a way that seems to benefit humanity 2021-04-26T04:47:09Z no-defun-allowed: Yeah, sure. 2021-04-26T04:49:28Z White_Flame: the complaining about heavyweight arguments is certainly one of a snapshot in time, before compilers could do a whole lot more to statically eliminate things 2021-04-26T04:49:52Z Jachy: Xerox indirectly spawned many things. Imagine if they hadn't pissed rms off by not giving them its source code 2021-04-26T04:50:07Z White_Flame: always leave room for the Sufficiently Advanced Compiler of Tomorrow™ 2021-04-26T04:51:33Z Nilby: I'd like to peek at the alternate universes without a pissed off rms, or with a sucessful Symbolics. 2021-04-26T04:53:40Z White_Flame: if Symbolics and Commodore had merged to bring lisp machines to the masses, I'd be quite a happy camper 2021-04-26T04:56:04Z no-defun-allowed: I read they were supposed to have a cheap Lisp chip in 1985, but that didn't happen. 2021-04-26T04:56:04Z Nilby: Heh. Symbolics seems to have had a something close to Video Toaster. 2021-04-26T04:56:27Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-26T04:59:26Z akoana quit (Quit: leaving) 2021-04-26T05:00:49Z beach: I think we can do something better than Genera. In today's world, we need more security anyway. And Lisp runs just fine on stock hardware today. 2021-04-26T05:01:22Z andrei-n joined #lisp 2021-04-26T05:01:23Z beach: We have better garbage collectors, and better compilers. And we now have a great native GUI library. 2021-04-26T05:07:04Z gigamonkey quit (Ping timeout: 245 seconds) 2021-04-26T05:13:45Z hjudt quit (Ping timeout: 268 seconds) 2021-04-26T05:15:41Z ebrasca quit (Remote host closed the connection) 2021-04-26T05:16:46Z fiddlerwoaroof: Shinmera: do you happen to have documentation about issues with PARSE-NAMESTRING? 2021-04-26T05:17:22Z fiddlerwoaroof: I've found that using parse-namestring and a combination of MERGE-PATHNAME and MAKE-PATHNAME, I can get pathname behavior that's consistent enough across-implementations for most of my purposes 2021-04-26T05:29:09Z tempest_nox quit (Read error: Connection reset by peer) 2021-04-26T05:33:13Z CL-ASHOK joined #lisp 2021-04-26T05:33:33Z karlosz joined #lisp 2021-04-26T05:35:13Z hjudt joined #lisp 2021-04-26T05:35:16Z fiddlerwoaroof: I've slowly come to appreciate CL's pathnames 2021-04-26T05:35:22Z gaqwas joined #lisp 2021-04-26T05:35:23Z gaqwas quit (Changing host) 2021-04-26T05:35:23Z gaqwas joined #lisp 2021-04-26T05:36:00Z fiddlerwoaroof: I'd still like to see URLs specified the way PLNs have been, and for them to subsume most of the pathname stuff 2021-04-26T05:36:27Z wxie quit (Ping timeout: 265 seconds) 2021-04-26T05:41:29Z phadthai_ is now known as phadthai 2021-04-26T06:03:05Z daphnis joined #lisp 2021-04-26T06:04:19Z mathrick quit (Ping timeout: 252 seconds) 2021-04-26T06:05:06Z mathrick joined #lisp 2021-04-26T06:06:26Z raeda quit (Read error: Connection reset by peer) 2021-04-26T06:06:48Z raeda joined #lisp 2021-04-26T06:07:11Z hiroaki joined #lisp 2021-04-26T06:11:09Z monolithic joined #lisp 2021-04-26T06:14:39Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-26T06:14:46Z karlosz quit (Ping timeout: 252 seconds) 2021-04-26T06:16:44Z Shinmera: fiddlerwoaroof: parse-namestring is hairy due to wild pathnames. So stuff like [], *, and others (implementation dependent!!) may need escaping. 2021-04-26T06:19:38Z fiddlerwoaroof: Interesting 2021-04-26T06:19:56Z fiddlerwoaroof: That's good to know :) 2021-04-26T06:19:59Z MrFantastik quit (Ping timeout: 250 seconds) 2021-04-26T06:20:09Z Shinmera: implementing an analog to uiop's parse-native-namestring is on my todo for pathname-utils (and has been for years) 2021-04-26T06:20:24Z fiddlerwoaroof: I think it'd be useful to take the CLOSER-MOP approach with pathnames, really 2021-04-26T06:21:10Z fiddlerwoaroof: Specify the edge cases of the standard, and provide a package that implements that specification and a package that shadows the appropriate CL names 2021-04-26T06:25:41Z gaqwas quit (Ping timeout: 260 seconds) 2021-04-26T06:27:31Z saganman joined #lisp 2021-04-26T06:29:10Z wxie joined #lisp 2021-04-26T06:33:18Z mathrick quit (Ping timeout: 268 seconds) 2021-04-26T06:34:45Z mathrick joined #lisp 2021-04-26T06:37:25Z ljavorsk joined #lisp 2021-04-26T06:38:37Z varjag joined #lisp 2021-04-26T06:40:49Z mathrick quit (Ping timeout: 245 seconds) 2021-04-26T06:41:13Z mathrick joined #lisp 2021-04-26T06:42:06Z frost-lab joined #lisp 2021-04-26T06:46:14Z skapata quit (Remote host closed the connection) 2021-04-26T06:47:29Z varjag quit (Ping timeout: 245 seconds) 2021-04-26T06:57:54Z notzmv quit (Ping timeout: 245 seconds) 2021-04-26T07:00:53Z pjb: fiddlerwoaroof: or, having identified the edge cases, and specified them, patch the open source implementations so they behave the same on the same platform, and push so that commercial vendors implement the same. 2021-04-26T07:01:22Z pjb: fiddlerwoaroof: we have a strong position here given there are more free implementations than commercial ones. 2021-04-26T07:01:44Z tophullyte quit (Ping timeout: 246 seconds) 2021-04-26T07:01:52Z pjb: fiddlerwoaroof: but remember: pathnames depend on the platform and the file systems that are mounted (depending on how the platform deals with them, check the mount options!) 2021-04-26T07:03:39Z gigamonkey joined #lisp 2021-04-26T07:07:10Z pjb: fiddlerwoaroof: for logical-pathnames, see https://github.com/informatimago/check-pathname/blob/master/check-pathnames.lisp 2021-04-26T07:09:30Z pjb: fiddlerwoaroof: in general the problem is not so much that CL leaves things up to the implementations (there are a variety of platforms), but that there have not been defined a set of substandards specifying things for specific platforms. eg. how to deal with pathnames on MacOS, on Unix, on MS-DOS, on MS-Windows, on VMS, on Multics, etc. 2021-04-26T07:11:03Z Thom2503 joined #lisp 2021-04-26T07:13:26Z Nilby: fiddlerwoaroof: The outputs of check-pathname for the various systems is very detailed answer to your original question. 2021-04-26T07:15:11Z Nilby: pjb: Thanks for the excellent resource. 2021-04-26T07:15:49Z refusenick quit (Ping timeout: 245 seconds) 2021-04-26T07:15:53Z rumbler31 joined #lisp 2021-04-26T07:17:46Z Nilby: Now we just have to pipe the output from check-pathname on all systems to the automatic implementation fixer and we're nearly done. 2021-04-26T07:19:53Z rumbler31 quit (Ping timeout: 240 seconds) 2021-04-26T07:20:13Z Nilby: But my opinion is that the CL pathname stuff is written for a world which doesn't exist anymore, if it ever did, and there is a much simpler protocol that will cover all filesystems currently in use. 2021-04-26T07:22:20Z varjag joined #lisp 2021-04-26T07:23:03Z pjb: Nilby: granted. But AFAIR, only for soft specifications items. Eg. the specification mentions the customary case, but this customary case doesn't depend on the platform but also on the file system mounted, and platforms that can mount different file systems can (or could) deal with different customary case. In the same pathname! (ie, per component). 2021-04-26T07:23:41Z pjb: Nilby: but for hard features, such as the structure of paths in components, the hierarchic directory structure, etc, it's about good. 2021-04-26T07:24:36Z Alfr: I don't think pathnames support forks. (Not that it's a good idea to use them in the first place.) 2021-04-26T07:24:38Z pjb: Nilby: eg. the distinction between directory and file pathnames, even if it's not so clear-cut in POSIX pathnames, is still enforced in POSIX (eg. opendir vs open, or rmdir vs rm for files). 2021-04-26T07:24:54Z pjb: Alfr: what do you mean with forks here? 2021-04-26T07:25:19Z Alfr: pjb, it's called alternate data stream in ntfs. 2021-04-26T07:25:25Z pjb: Oh, I see. 2021-04-26T07:26:14Z pjb: Well it's unrelated to pathnames. It'd be a parameter for OPEN. Since OPEN takes key arguments, it's already ready for an extension to specify what fork you want to open. 2021-04-26T07:26:32Z imode quit (Ping timeout: 240 seconds) 2021-04-26T07:28:09Z pjb: Alfr: the only place where it could be visible in pathnames, is when you map file systems with forks on unix (thru a mount), and they're translated in the path /mnt/fs-with-forks/example-file/data-fork when example-file is a file with fork, not a directory. 2021-04-26T07:28:52Z Alfr: Hm ... that'd be a solution, but conceptually I'd still think it rather belongs to pathnames. 2021-04-26T07:29:30Z pjb: Alfr: but in practice mounting Apple file systems on unix can use the apple-double or apple-triple format, which use alternate files with extensions: /mnt/apple-triple/example-file{.data,.rsrc,.info} /mnt/apple-double/example-file{,.rsrc} 2021-04-26T07:29:34Z random-nick joined #lisp 2021-04-26T07:30:05Z surabax joined #lisp 2021-04-26T07:30:11Z pjb: This can be dealt with relatively easily with CL pathnames (the only thing to specify is how to deal with multiple dots in the file name. 2021-04-26T07:30:13Z pjb: ) 2021-04-26T07:30:47Z Alfr: pjb, or some directory which also can store data, would be an other interpretation. 2021-04-26T07:30:57Z skapata joined #lisp 2021-04-26T07:32:00Z pjb: That could be used when forks are user specifiable, indeed. 2021-04-26T07:32:13Z gigamonkey quit (Ping timeout: 240 seconds) 2021-04-26T07:32:41Z pjb: But in reality, aren't files with forks exactly that: directories? Like "file packages" on NeXTstep/OpenStep/Cocoa/macOS/iOS ? 2021-04-26T07:33:19Z ljavorsk quit (Ping timeout: 245 seconds) 2021-04-26T07:33:19Z pjb: So again, but depending on the target filesystem and platform, this can be dealt with by CL pathname without difficulty. 2021-04-26T07:33:21Z splittist: Nilby: I would expect all manner of competing CloudFS in the near future 2021-04-26T07:37:01Z srandon111 quit (Quit: leaving) 2021-04-26T07:37:20Z Nilby: splittist: Yes, there's already a lot of CloudFS things, an they seem to usually use URLs or even more complicated things. I personally dread having URLs a file names. But there seems to be an opportunity for a more encompassing "resrouce locator"/filename library. 2021-04-26T07:39:01Z Nilby: pjbj: I'm pretty sure old MCL (and probably ccl now) could open resource forks, even on pre-unix MacOS. 2021-04-26T07:42:04Z Iolo quit (Quit: ZNC 1.7.5+deb4 - https://znc.in) 2021-04-26T07:43:34Z Iolo joined #lisp 2021-04-26T07:44:27Z Nilby: I think ms-windows is an example of how the more complexity you put into file names, the more problems you'll have. 2021-04-26T07:44:48Z Alfr: pjb, hm ... maybe name and type being :unspecific? I don't think there's anything in 19. prohibiting this. 2021-04-26T07:47:47Z flip214: At a first glance, I'd guess a subclass of PATHNAME that includes eg. a SCHEME (like :HTTPS) and a PORT (443) might be a reasonable approximation for many uses.... 2021-04-26T07:49:05Z loskutak joined #lisp 2021-04-26T07:49:06Z flip214: Though, as soon as LOAD can OPEN such beasts directly, we're back at square one (security-wise - see https://www.php.net/manual/en/wrappers.php) 2021-04-26T07:50:18Z Nilby: I wonder has anyone made something like a cl-tramp ? 2021-04-26T07:53:04Z flip214: trampolines on the stack? 2021-04-26T07:54:02Z Nilby: like the emacs tramp package that allows very extensible url-like filenames 2021-04-26T07:55:43Z pjb: flip214: granted, we have enough places to run code in lisp, not to add one in file names… 2021-04-26T07:56:09Z skapata quit (Remote host closed the connection) 2021-04-26T07:57:40Z zzappie joined #lisp 2021-04-26T07:58:07Z Nilby: Yes, internet file names seems quite scary and insecure. I would wish it would be something that the operating system could manage in a more secure way. 2021-04-26T07:59:24Z engblom: In the first chapter of Practical Common Lisp there is a simple database made out of lists. In it remove-if-not is used for quering the database. If you know there will always be only one occurence, it seems to be a bit wasteful to filter the whole list instead of just finding the first (and only) occurence. What could I use instead? 2021-04-26T07:59:53Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-26T08:00:16Z vegai left #lisp 2021-04-26T08:00:50Z Shinmera: find 2021-04-26T08:01:56Z no-defun-allowed: here it is → 2021-04-26T08:02:21Z anticrisis_ quit (Read error: Connection reset by peer) 2021-04-26T08:02:28Z zap1 joined #lisp 2021-04-26T08:02:45Z zzappie quit (Ping timeout: 240 seconds) 2021-04-26T08:04:29Z gitgood quit (Quit: Probably away to do something really awesome) 2021-04-26T08:07:42Z pjb: LOL 2021-04-26T08:08:03Z s8ori joined #lisp 2021-04-26T08:08:22Z pjb: engblom: also, sometimes you will want position (position-if vs find-if), so that you may mutate the slot. 2021-04-26T08:09:48Z engblom: Thanks! 2021-04-26T08:10:27Z contrapunctus: no-defun-allowed, pjb: I didn't get that 🤔 2021-04-26T08:10:45Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-26T08:10:49Z s8ori left #lisp 2021-04-26T08:11:56Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-26T08:12:19Z engblom: In my case I have a list of lists. Each sublist is a keyed list like this: (:ip x.x.x.x :port xx :user x :password x). Given an ip I need to find the rest of the settings. 2021-04-26T08:12:45Z hendursa1 joined #lisp 2021-04-26T08:13:06Z engblom: As IP is unique there will only be one occurence. 2021-04-26T08:13:22Z jdz: engblom: Those are called "property lists," or "plists" in short. 2021-04-26T08:13:34Z engblom: Okay! 2021-04-26T08:13:52Z jdz: engblom: There's GETF for those. 2021-04-26T08:15:15Z pjb: (find ip lol :key (lambda (entry) (getf entry :ip)) :test (function ip-equal-p)) 2021-04-26T08:15:20Z engblom: jdz: I will getf for getting each of the settings out, but to find the right plist I still have to use find? 2021-04-26T08:15:34Z pjb: Yes ^ 2021-04-26T08:15:40Z engblom: Thanks! 2021-04-26T08:15:46Z pjb: (let ((entry (find ip lol :key (lambda (entry) (getf entry :ip)) :test (function ip-equal-p)))) (getf entry :password)) 2021-04-26T08:18:34Z engblom: Is ip-equal-p already existing somewhere or do I have to write it myself? 2021-04-26T08:19:11Z jdz: engblom: You can use STRING= until you actually parse the IP addresses. 2021-04-26T08:20:08Z engblom: jdz: I was thinking to use string=, but as you put there ip-equal-p I was just wondering if a such function actually already exists. 2021-04-26T08:20:50Z jdz: engblom: I've started writing an IP address library, but it lacks IPv6 support, and I'm undecided about many implementation aspects: https://github.com/jdz/ip. 2021-04-26T08:22:12Z jdz: engblom: You should define IP-EQUAL-P as (declaim (inline ip-equal-p)) (defun ip-equal-p (a b) (string= a b)) until you have something better. 2021-04-26T08:22:27Z no-defun-allowed: contrapunctus: I should admit to not having read the question, and I had assumed Shinmera typed find into the wrong buffer. Maybe "found it!" would have been a more direct response. 2021-04-26T08:22:46Z engblom: In this case I am sure the string= is enough thou, because the ip that is looked for is actually originally from the same plist, so there will never be cases where I need to handle comparing 192.168.1.1 to 192.168.001.001 2021-04-26T08:23:22Z rme quit (Ping timeout: 180 seconds) 2021-04-26T08:23:41Z jdz: engblom: My library also does not "correctly" parse "127.1". 2021-04-26T08:23:47Z no-defun-allowed: That's easy enough then. 2021-04-26T08:23:54Z IIsi50MHz quit (Read error: Connection reset by peer) 2021-04-26T08:24:19Z gendl quit (Ping timeout: 248 seconds) 2021-04-26T08:24:21Z jmercouris quit (Read error: Connection reset by peer) 2021-04-26T08:24:47Z rme quit (Ping timeout: 250 seconds) 2021-04-26T08:24:48Z mpontillo quit (Read error: Connection reset by peer) 2021-04-26T08:26:22Z adam4567 joined #lisp 2021-04-26T08:26:28Z theruran quit (Ping timeout: 258 seconds) 2021-04-26T08:27:23Z selwyn quit (Ping timeout: 250 seconds) 2021-04-26T08:27:46Z flip214: well, IMO any IP comparision has to be done in the binary (or integer) representation, and should take optional netmasks anyway. 2021-04-26T08:28:02Z ukari quit (Remote host closed the connection) 2021-04-26T08:28:36Z ukari joined #lisp 2021-04-26T08:29:35Z rme joined #lisp 2021-04-26T08:29:40Z IIsi50MHz joined #lisp 2021-04-26T08:30:01Z jmercouris joined #lisp 2021-04-26T08:30:02Z selwyn joined #lisp 2021-04-26T08:30:13Z gendl__ joined #lisp 2021-04-26T08:30:31Z mpontillo joined #lisp 2021-04-26T08:30:48Z Stanley|00 joined #lisp 2021-04-26T08:30:57Z theruran joined #lisp 2021-04-26T08:32:16Z Stanley00 quit (Ping timeout: 252 seconds) 2021-04-26T08:32:18Z pjb: IP address comparison may be complexified by the fact that there exist 2 kinds of IP addresses (IPv4 and IPv6) and several representation variations. So it's better to abstract it away with a function. 2021-04-26T08:32:38Z pjb: You could also define classes to represent IP addresses in a normalized way. 2021-04-26T08:33:15Z pjb: engblom: In some programs too, domain names can be used interchangeably with IP addresses (DNS resolution being performed automatically). 2021-04-26T08:33:51Z pjb: But since a domain name may correspond to several addresses, the comparison is not a mere =, but rather a set intersection… 2021-04-26T08:42:28Z zefram22 joined #lisp 2021-04-26T08:43:35Z contrapunctus left #lisp 2021-04-26T08:43:36Z heisig joined #lisp 2021-04-26T08:43:42Z contrapunctus joined #lisp 2021-04-26T08:44:10Z contrapunctus left #lisp 2021-04-26T08:44:22Z contrapunctus joined #lisp 2021-04-26T08:45:39Z zaquest quit (Quit: Leaving) 2021-04-26T08:46:48Z zaquest joined #lisp 2021-04-26T08:46:49Z phoe: pjb: I think that DNS lookups and comparisons are a slightly different topic; munging IPs on their own is easy because they can be treated as ub8 vectors, and mapping between IPs and domain names already sounds like something that a DNS library would do 2021-04-26T08:47:43Z phoe: IP versus DNS, that's already two distinct protocols from distinct OSI layers 2021-04-26T08:48:52Z boogsbunny joined #lisp 2021-04-26T08:48:55Z phoe: if a program accepts domain names, then I guess that it should call into a DNS library, which can then in turn accept actual domain names and bare IP addresses alike and do the necessary munging before passing the resultant IP addresses into the IP layer 2021-04-26T08:49:10Z phoe: but that's already general separation of concerns and nothing really lisp-related 2021-04-26T08:56:22Z notzmv joined #lisp 2021-04-26T09:02:04Z saganman quit (Ping timeout: 245 seconds) 2021-04-26T09:04:10Z Thom2503 quit (Read error: Connection reset by peer) 2021-04-26T09:11:38Z ljavorsk joined #lisp 2021-04-26T09:12:05Z srandon111 joined #lisp 2021-04-26T09:12:36Z jeosol quit (Quit: Connection closed) 2021-04-26T09:13:49Z pve joined #lisp 2021-04-26T09:16:03Z Thom2503 joined #lisp 2021-04-26T09:17:33Z daphnis quit (Ping timeout: 240 seconds) 2021-04-26T09:20:52Z CL-ASHOK quit (Quit: Connection closed) 2021-04-26T09:27:33Z sernamar joined #lisp 2021-04-26T09:31:13Z daphnis joined #lisp 2021-04-26T09:42:07Z zefram22 quit (Ping timeout: 252 seconds) 2021-04-26T09:42:31Z pjb: phoe: granted. It depends on the layer of this data structure. I mentionned domain name, because at the user level (eg. configuration file) we will often accept domain names as well as IP addresses. But you may want to retain the domain name internally. The question is when you want the resolution to occur. 2021-04-26T09:43:01Z pjb: phoe: in general, the resolution is performed the latest possible, ie. when connecting. 2021-04-26T09:48:59Z fourier joined #lisp 2021-04-26T09:49:09Z fourier quit (Changing host) 2021-04-26T09:49:09Z fourier joined #lisp 2021-04-26T09:52:05Z beach` joined #lisp 2021-04-26T09:52:54Z beach quit (Disconnected by services) 2021-04-26T09:52:59Z beach` is now known as beach 2021-04-26T09:57:47Z flip214: there are S3 client libraries for CL... has someone written or started a minimal S3 server that uses the filesystem as backend? 2021-04-26T10:00:07Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-26T10:00:38Z Stanley|00 quit (Remote host closed the connection) 2021-04-26T10:01:57Z orivej joined #lisp 2021-04-26T10:02:48Z Stanley00 joined #lisp 2021-04-26T10:03:50Z gigamonkey joined #lisp 2021-04-26T10:08:06Z daphnis quit (Ping timeout: 240 seconds) 2021-04-26T10:10:48Z boogsbunny quit (Quit: Connection closed) 2021-04-26T10:11:35Z engblom: I wish to run an external command and as the command is generating lines after lines I want to use them, rather than waiting for the program to terminate before using the output. Could someone help me with this? 2021-04-26T10:11:56Z phoe: engblom: uiop:launch-program and bind the program's stdio 2021-04-26T10:11:57Z splittist: remove-if-not takes a :count 2021-04-26T10:12:33Z phoe: splittist: huh? yes, it does 2021-04-26T10:12:37Z phoe: s/stdio/stdout/ 2021-04-26T10:12:39Z engblom: phoe: Thanks 2021-04-26T10:13:06Z frgo quit (Remote host closed the connection) 2021-04-26T10:13:33Z frgo joined #lisp 2021-04-26T10:16:13Z mrchampion quit (Ping timeout: 252 seconds) 2021-04-26T10:16:34Z adam4567 quit (Remote host closed the connection) 2021-04-26T10:18:07Z kevingal joined #lisp 2021-04-26T10:18:42Z pjb: flip214: IIRC, somebody has some stuff with AWS, indeed. Perhaps Zach (of quicklisp)? 2021-04-26T10:21:54Z mrchampion joined #lisp 2021-04-26T10:24:47Z easye quit (Remote host closed the connection) 2021-04-26T10:25:07Z easye joined #lisp 2021-04-26T10:28:41Z xsperry quit (Ping timeout: 240 seconds) 2021-04-26T10:35:09Z gigamonkey quit (Ping timeout: 265 seconds) 2021-04-26T10:38:42Z zap1 is now known as zzappie 2021-04-26T10:44:09Z sernamar quit (Remote host closed the connection) 2021-04-26T10:44:50Z splittist: https://gist.github.com/splittist/ba5e3ba2074419b69df78285ed6cb57c 2021-04-26T10:44:57Z flip214: pjb: I only found client libraries 2021-04-26T10:45:00Z flip214: thanks anyway 2021-04-26T10:48:36Z vegansbane6963 joined #lisp 2021-04-26T10:50:16Z raeda quit (Remote host closed the connection) 2021-04-26T10:50:17Z raeda_ joined #lisp 2021-04-26T10:51:18Z pjb: flip214: oh, you want a server. Yep, only amazon has that AFAIK. 2021-04-26T10:54:37Z Stanley00 quit (Remote host closed the connection) 2021-04-26T10:57:14Z sabra joined #lisp 2021-04-26T11:02:26Z varjag joined #lisp 2021-04-26T11:03:33Z ukari quit (Remote host closed the connection) 2021-04-26T11:03:44Z engblom: I have been also playing a bit with uiop:run-program. When called with :output :string it will return all the output, except for when the process is killed. Is it possible to get it to return everything (output + error messages) in a single string regardless of how the process ended? 2021-04-26T11:03:58Z xsperry joined #lisp 2021-04-26T11:04:12Z ukari joined #lisp 2021-04-26T11:05:20Z engblom: For example: (uiop:run-program "ping 1.1.1.1" :force-shell t :output :string) 2021-04-26T11:05:49Z engblom: And then when I run in a terminal "pkill ping" I do not get anything returned, instead I end up in the debugger 2021-04-26T11:06:55Z phoe: engblom: invoke the first restart 2021-04-26T11:08:09Z flip214: pjb: no, there are quite a few S3 servers - even open-source. but nothing that "just" uses an existing local filesystem. 2021-04-26T11:08:58Z klltkr joined #lisp 2021-04-26T11:08:58Z phoe: engblom: (handler-bind ((uiop:subprocess-error (lambda (c) (invoke-restart (find-restart 'continue c))))) (uiop:run-program "ping 1.1.1.1" :force-shell t :output :string)) 2021-04-26T11:09:09Z phoe: that is to do this programmatically 2021-04-26T11:09:44Z no-defun-allowed: Would (invoke-restart 'continue) suffice? 2021-04-26T11:09:54Z jackdaniel: how about (handler-bind ((uiop:subprocess-error #'continue)) …) ;? 2021-04-26T11:10:25Z no-defun-allowed: Even better. 2021-04-26T11:10:43Z phoe: oh right, I actually forgot about #'continue 2021-04-26T11:10:45Z jackdaniel: given that uiop does something sensible there and returns a string ,) 2021-04-26T11:10:57Z phoe: yes, it returns a string - I have just checked it 2021-04-26T11:11:07Z splittist: phoe: I have a book you could read about this stuff (: 2021-04-26T11:11:51Z phoe: no-defun-allowed: it would, but I'm nitpickish in the code above and want to only select continue restarts that are visible for the condition 2021-04-26T11:11:58Z jackdaniel: (defmacro foolhardy (() &body body) `(handler-bind ((serious-condition #'continue)) ,@body)) 2021-04-26T11:12:00Z phoe: #'continue does all that though so it's by all means better 2021-04-26T11:12:10Z phoe: jackdaniel: what about silly conditions though 2021-04-26T11:12:23Z jackdaniel: ignoring them is not foolhardy 2021-04-26T11:13:43Z flip214: jackdaniel: name the macro ON-ERROR-GOTO-NEXT, please 2021-04-26T11:14:19Z jackdaniel waves the stick; the macro name changes on-error-goto-next 2021-04-26T11:14:25Z jackdaniel: s/changes/changes to/ 2021-04-26T11:14:33Z jackdaniel: alohomora 2021-04-26T11:14:43Z flip214: oh, "On Error Resume Next" https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/on-error-statement 2021-04-26T11:15:55Z Nilby: continue-until-an-interesting-condition 2021-04-26T11:16:29Z rumbler31 joined #lisp 2021-04-26T11:16:40Z splittist: (with-insouciance () ...) 2021-04-26T11:16:41Z no-defun-allowed: I assume someone made a joke like (deftype silly-condition () '(and condition (not serious-condition))) 2021-04-26T11:17:05Z engblom: I am trying to understand what the conscencus is from the question I answered. How would you write the full line in this example? 2021-04-26T11:20:25Z scymtym: no-defun-allowed: phoe, twice :) 2021-04-26T11:21:04Z rumbler31 quit (Ping timeout: 265 seconds) 2021-04-26T11:22:20Z scymtym: btw, one has to be careful with CONTINUE in SBCL since the restart for trying again to call an undefined function is called CONTINUE instead of RETRY for historic(?) reasons 2021-04-26T11:22:27Z hypercube quit (Ping timeout: 250 seconds) 2021-04-26T11:24:48Z sabra: jackdaniel: I have a question on ecl and octets (different behavior from ccl and sbcl) 2021-04-26T11:25:20Z sabra: https://plaster.tymoon.eu/view/2405#2405 why does the result change 2021-04-26T11:26:26Z mfiano: You are modifying a literal? 2021-04-26T11:27:56Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-26T11:28:22Z mfiano: Ah no 2021-04-26T11:29:13Z mgiraud joined #lisp 2021-04-26T11:30:29Z beach: sabra: Why the weird symbols like LEN-ARRY, OCT-ARRAY, ARRY? 2021-04-26T11:30:35Z beach: LEN 2021-04-26T11:30:41Z jackdaniel: sabra: you don't seem to initialize the array 2021-04-26T11:30:57Z mfiano: You should be using :initial-element 2021-04-26T11:30:59Z jackdaniel: consequences of using uninitialized array are unspecified 2021-04-26T11:31:07Z jackdaniel: s/using/reading/ 2021-04-26T11:31:23Z sabra: ah. As expected. Something obvious. Thank you. 2021-04-26T11:31:26Z no-defun-allowed: All of the padding of the new vector isn't initialized to anything. And COUNTING X INTO Y is a funny way of saying FROM Y FROM 0 2021-04-26T11:32:05Z jackdaniel: (sbcl and ccl take their time to initialize them when they know how to initialize a specific type) 2021-04-26T11:33:22Z sabra: Appreciate all the comments. Thank you 2021-04-26T11:33:53Z no-defun-allowed: It can also be written much nicer with REPLACE: https://plaster.tymoon.eu/view/2406 2021-04-26T11:34:41Z beach: Also the docstring is wrong. 2021-04-26T11:34:56Z no-defun-allowed: What should PAD-OCTET-ARRAY do if the input vector is longer than the given length? And it would not work on any array, only vectors. 2021-04-26T11:35:35Z sabra: ok. Now all I can do is laugh at myself 2021-04-26T11:37:45Z beach: no-defun-allowed: I would use an IF rather than WHEN + RETURN-FROM. 2021-04-26T11:38:55Z scm joined #lisp 2021-04-26T11:39:42Z no-defun-allowed: Sure, I had expected to write a longer else-form. But REPLACE returns its first argument, so it could even be written without a LET. One moment... 2021-04-26T11:40:54Z no-defun-allowed: I updated the previous paste. 2021-04-26T11:41:10Z beach: Much better! 2021-04-26T11:42:04Z boogsbunny joined #lisp 2021-04-26T11:42:56Z flip214: no-defun-allowed: now it _sometimes_ returns the original data, and sometimes a newly allocated copy... that might make a difference if the vector is mutated later on. 2021-04-26T11:43:11Z Shinmera: sabra: Did you ever get the time to look at Parachute? 2021-04-26T11:43:12Z flip214: perhaps you should return a copy? 2021-04-26T11:43:30Z no-defun-allowed: Still I don't like to nest e.g. LET in IF. I don't know why, it just does not look nice to me. 2021-04-26T11:43:53Z no-defun-allowed: flip214: Yes, and so did the original function. But you have a point. 2021-04-26T11:44:02Z flip214: and (- length (length vector)) could only be calculated once, and used with PLUSP or so in the IF 2021-04-26T11:44:36Z jackdaniel: would that make the program more readable? 2021-04-26T11:45:25Z flip214: jackdaniel: (IF (MINUSP padding-entries) (COPY-SEQ input) (REPLACE ... :START1 padding-entries)) 2021-04-26T11:45:35Z flip214: only depends on names, which are easy, as we all know ;) 2021-04-26T11:45:39Z mfiano: What makes it jarring to me is the arguments are split up oddly. I would move the :start1 keyword arguments to a new line. 2021-04-26T11:46:17Z flip214: or perhaps better (PLUSP ...) so if (ZEROP padding-entries) the original (or a copy) is returned 2021-04-26T11:46:43Z no-defun-allowed: Okay, you all keep working on this slightly-better-than-before code I wrote, and I'll head to bed. 2021-04-26T11:47:39Z rodriga joined #lisp 2021-04-26T11:47:55Z sabra: Shinmera: Just restarted that project. I need to look at the reporting objects and figure out how to output successful test results and failures to files. 2021-04-26T11:48:32Z Shinmera: sabra: Cool. Any reason for the file output desire? 2021-04-26T11:48:50Z Shinmera: if it's useful outside of the comparison project I could be convinced to add the functionality directly into it. 2021-04-26T11:49:03Z sabra: Shinmera: audit reports 2021-04-26T11:49:22Z Shinmera: I'm not sure I know what that means, really? 2021-04-26T11:54:26Z sabra: Someone wants to blame someone 6 months later. You can pull a file proving the data and test results worked at time A. So any failure now is from subsequent development. 2021-04-26T11:56:00Z Shinmera: Ah, I see. Hmm. Makes me wonder whether having metadata in git would be useful for that. 2021-04-26T11:57:00Z sabra: Lawyers or, in our case, a question of reproducibility of research results. 2021-04-26T11:58:24Z Shinmera: I suppose one could make a file report with all the detail that parachute captures being output to file. 2021-04-26T12:00:06Z sabra: I expect that to be relatively straight forward. I just want the success and failures to be separate files. 2021-04-26T12:00:43Z sabra: Of course, I just thought I could make an array and forgot to initialize it in public ;) 2021-04-26T12:05:21Z CrazyPython joined #lisp 2021-04-26T12:05:29Z Shinmera: Sure. 2021-04-26T12:05:40Z mgsk quit (Quit: Connection closed for inactivity) 2021-04-26T12:06:08Z hypercube joined #lisp 2021-04-26T12:06:19Z jerme_ quit (Quit: Connection closed for inactivity) 2021-04-26T12:07:00Z engblom: Is there any tool for tidying up lisp source code that does a bit more than just indention? With a bit more I mean splitting long lines and such. 2021-04-26T12:07:26Z flip214: engblom: (PRINT (READ)) 2021-04-26T12:08:04Z Shinmera: engblom: Not to my knowledge. The syntax rules for forms are complicated and often even need user input, for indentation alone. 2021-04-26T12:09:20Z jackdaniel: wasn't that the pretty-printer purpose? 2021-04-26T12:13:02Z frgo quit 2021-04-26T12:14:47Z Nilby: Since I've been trying using the pretty-printer to indent code in an editor, without a level of tweaking that I haven't yet achived, as you may know, it's sometimes better than nothing, but usually not. 2021-04-26T12:16:01Z daphnis joined #lisp 2021-04-26T12:16:45Z theothornhill joined #lisp 2021-04-26T12:18:11Z engblom: (print ...) apparently also changes the case. 2021-04-26T12:18:15Z jackdaniel: once when I've used the pretty printer it complained about a syntax error, so I've called it a petty printer 2021-04-26T12:19:27Z madage quit (Remote host closed the connection) 2021-04-26T12:19:33Z sabra: I think there are now 29 testing frameworks in quicklisp, not counting 2am or various helper libraries. 2021-04-26T12:19:39Z madage joined #lisp 2021-04-26T12:20:35Z cods quit (Ping timeout: 246 seconds) 2021-04-26T12:20:55Z Xach: sorry so few 2021-04-26T12:21:01Z Xach: i will try to add more soon 2021-04-26T12:21:20Z sabra: lol 2021-04-26T12:21:21Z jackdaniel has a local wrapper around 5am written in clim- the directory has a proud name 7am ;) but I'm not going to spoil you by publishing it! 2021-04-26T12:21:58Z daphnis quit (Ping timeout: 265 seconds) 2021-04-26T12:25:23Z flip214: jackdaniel: so there'll be a few 7am libraries, all with incompatible extensions... 2021-04-26T12:28:14Z jackdaniel: there won't, because I'm not going to release such half-baked effort 2021-04-26T12:29:53Z Shinmera: sabra: you can count Parachute 4x due to its emulation layers :) 2021-04-26T12:29:55Z pjb: sabra: https://termbin.com/rml6 2021-04-26T12:30:41Z frgo joined #lisp 2021-04-26T12:31:22Z gigamonkey joined #lisp 2021-04-26T12:31:26Z flip214: jackdaniel: well, how are you gonna stop me from doing my own 7am? (1+ (1+ 5am)), a.k.a. 5am++ 2021-04-26T12:31:36Z flip214: rather ++5am++ 2021-04-26T12:31:59Z pjb: engblom: (let ((*print-right-margin* 72)) (loop for sexp = (read source nil source) until (eq sexp source) do (pprint sexp))) ;-) but you lose comments, and some () will be printed as NIL. 2021-04-26T12:32:23Z flip214: which makes my 7am a double-plus-good (constant) verification library ;) 2021-04-26T12:32:26Z pjb: engblom: you can set *print-case* too. 2021-04-26T12:32:30Z pjb: and others… 2021-04-26T12:33:15Z sabra: pjb: Thank you 2021-04-26T12:35:46Z pjb: sabra: perhaps you want (<= size length) instead of (= size length) ; depends on whether you want an error on (> (length vector) size) or not. 2021-04-26T12:37:32Z sabra: pjb: want an error on (> (length vector) 32). Something would be wrong in that case. 2021-04-26T12:38:07Z pjb: ok. Then replace should give it, if compiled with (optimization (safety 3)). 2021-04-26T12:38:16Z pjb: but it may be better to signal your own error condition. 2021-04-26T12:38:17Z hypercube quit (Ping timeout: 250 seconds) 2021-04-26T12:39:15Z frost-lab quit (Quit: Connection closed) 2021-04-26T12:39:39Z pjb: sabra: errors such as Array index -8 out of bounds for #(0 … 0) . may be cryptic. Better provide a condition with an error message such: vector too long for pad-octet-vector. 2021-04-26T12:44:05Z ljavorsk quit (Ping timeout: 260 seconds) 2021-04-26T12:47:49Z zefram22 joined #lisp 2021-04-26T12:47:58Z yonkunas joined #lisp 2021-04-26T12:52:00Z raeda joined #lisp 2021-04-26T12:52:54Z raeda_ quit (Ping timeout: 265 seconds) 2021-04-26T12:53:08Z gigamonkey quit (Ping timeout: 246 seconds) 2021-04-26T12:57:34Z jeosol joined #lisp 2021-04-26T13:02:04Z shka_ quit (Quit: Konversation terminated!) 2021-04-26T13:09:00Z shka_ joined #lisp 2021-04-26T13:09:20Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-26T13:16:37Z saganman joined #lisp 2021-04-26T13:16:46Z pyc: I am going to form a large string by appending to an existing string iteratively inside a loop. Is this a good approach from performance perspective? In other languages, I normally append to a StringBuffer or a list and then convert it to a string in the end. Do we need to do something similar in CL too? 2021-04-26T13:17:33Z Shinmera: clhs with-output-to-string 2021-04-26T13:17:33Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/m_w_out_.htm 2021-04-26T13:17:33Z flip214: pyc: you can use (with-output-to-string () ...) and allocate a big(-enough) string beforehand. 2021-04-26T13:17:38Z pjb: pyc: not really. You can use with-output-to-string that'd be the equivalent of a StringBuffer. 2021-04-26T13:17:51Z pjb: pyc: it is assumed that with-output-to-string is at least asymptotically O(n). 2021-04-26T13:18:19Z pjb: pyc: an alterlative, is to manage it yourself: collect your string in a list, then compute the total length, and copy them in a newly allocated string of the right size. 2021-04-26T13:18:26Z pjb: s/rla/rna/ 2021-04-26T13:18:46Z pyc: Shinmera, flip214, pjb: Thanks! Is with-output-to-string definitely a better approach than concatenating iteratively to a string or it does not matter whether I concatenate or use with-output-to-string? 2021-04-26T13:19:09Z pjb: pyc: it is expected that it will definitely be better for long resulting strings. 2021-04-26T13:19:24Z wsinatra joined #lisp 2021-04-26T13:19:30Z kevingal: Would (format nil "~{~a~}" list-of-strings) be blasphemous? 2021-04-26T13:19:39Z pjb: It would do too. 2021-04-26T13:19:47Z pjb: Probably similar to with-output-to-string. 2021-04-26T13:20:38Z saganman left #lisp 2021-04-26T13:21:58Z pjb: pyc: note that it is dependent on the implementation too. You may want to benchmark and see what works better for your (application cl-implementation) pair. 2021-04-26T13:23:39Z pjb: pyc: notably, asymptotic behavior doesn't say anything about the constants, and that's just expectation we have on implementations. Sometimes we may have surprises… (for example, on an unrelated note, reader macros are put in a sequential list in ccl, so when you have a lot of them (say on each unicode character) it becomes very slow to read stuff). 2021-04-26T13:24:33Z pjb: pyc: have a look at: https://github.com/informatimago/lisp/blob/master/common-lisp/cesarum/string.lisp#L159 2021-04-26T13:25:10Z Bike joined #lisp 2021-04-26T13:26:56Z pjb: pyc: eg.: https://termbin.com/henl 2021-04-26T13:27:12Z ebrasca joined #lisp 2021-04-26T13:27:35Z hypercube joined #lisp 2021-04-26T13:28:01Z pyc: pjb: thanks! 2021-04-26T13:29:15Z vv8 joined #lisp 2021-04-26T13:30:18Z vv8 is now known as fj 2021-04-26T13:30:20Z andrei-n quit (Ping timeout: 252 seconds) 2021-04-26T13:30:24Z fj is now known as fjMSX 2021-04-26T13:35:43Z pyc: Is there an equivalent of 'continue' of other languages in CL dolist loop? 2021-04-26T13:36:38Z epony joined #lisp 2021-04-26T13:36:44Z pjb: (dolist (x '(1 2 3 4 5 6)) (block continue (if (oddp x) (return-from continue)) (prin1 x))) #| 246 --> nil |# 2021-04-26T13:36:53Z Bike: no. usually you just use conditionals instead. 2021-04-26T13:36:53Z Colleen: Bike: drmeister said 1 hour, 9 minutes ago: 2021-04-26T13:36:53Z Colleen: Bike: drmeister said 1 hour, 9 minutes ago: I'm getting a cascade of errors when generating backtrace... 2021-04-26T13:36:53Z Colleen: Bike: drmeister said 59 minutes, 50 seconds ago: Are you making an assumption about what the output from backtrace_symbols looks like? 2021-04-26T13:36:57Z Bike: oh, sorry. 2021-04-26T13:37:15Z heisig: pyc: The body of dolist is like a tagbody, so you can simply introduce labels and go to them. 2021-04-26T13:37:45Z pjb: (dolist (x '(1 2 3 4 5 6)) (if (oddp x) (go continue)) (prin1 x) continue) #| 246 --> nil |# 2021-04-26T13:37:58Z pjb: We often forget that some bodies are tagbodies indeed… 2021-04-26T13:38:39Z brownxoat joined #lisp 2021-04-26T13:38:58Z slyrus joined #lisp 2021-04-26T13:40:03Z cods joined #lisp 2021-04-26T13:43:06Z pyc: heisig: pjb: Thanks! that works great 2021-04-26T13:43:34Z slyrus quit (Ping timeout: 252 seconds) 2021-04-26T13:44:31Z jeosol quit (Quit: Connection closed) 2021-04-26T13:47:31Z theothornhill quit (Ping timeout: 265 seconds) 2021-04-26T13:50:54Z theothornhill joined #lisp 2021-04-26T13:55:11Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-26T14:02:21Z charles` quit (Ping timeout: 250 seconds) 2021-04-26T14:02:52Z pankajsg joined #lisp 2021-04-26T14:05:01Z mgiraud quit (Ping timeout: 252 seconds) 2021-04-26T14:09:14Z theothornhill joined #lisp 2021-04-26T14:15:35Z andrei-n joined #lisp 2021-04-26T14:16:37Z rumbler31 joined #lisp 2021-04-26T14:19:17Z theothornhill quit (Ping timeout: 260 seconds) 2021-04-26T14:21:21Z rumbler31 quit (Ping timeout: 268 seconds) 2021-04-26T14:21:56Z theothornhill joined #lisp 2021-04-26T14:26:41Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-26T14:31:31Z renzhi joined #lisp 2021-04-26T14:33:02Z xkapastel joined #lisp 2021-04-26T14:39:33Z zzappie quit (Ping timeout: 240 seconds) 2021-04-26T14:39:42Z boogsbunny quit (Ping timeout: 240 seconds) 2021-04-26T14:41:19Z theothornhill joined #lisp 2021-04-26T14:43:33Z epony quit (Ping timeout: 240 seconds) 2021-04-26T14:45:09Z klltkr joined #lisp 2021-04-26T14:46:34Z engblom: I made a tool for tidying lisp files based upon (pprint (read)). I run it on itself and here is the result: https://pastebin.com/16QCHEw0 2021-04-26T14:46:39Z theothornhill quit (Ping timeout: 245 seconds) 2021-04-26T14:46:52Z engblom: As I am new to lisp, please comment what I should have been doing differently 2021-04-26T14:47:00Z theseb joined #lisp 2021-04-26T14:47:32Z phoe: you can (let ((*print-case* :downcase)) ...) instead of a SETQ 2021-04-26T14:47:58Z phoe: this way (main) will have one side effect less 2021-04-26T14:48:58Z phoe: also, (loop ... do (pprint form) (terpri)) - unnecessary progn, and an explicit newline operator 2021-04-26T14:49:16Z theseb: In SICP, authors implement eval and make a point of saying to actually INVOKE functions, you need a special form called "apply". However, in Paul Graham's "Roots of Lisp" which I've always liked he does NOT make a point of saying you need a special extra operator like apply to implement eval...why? 2021-04-26T14:49:19Z phoe: also (read in nil) is going to be buggy if the file contains a literal () (which is possible) 2021-04-26T14:49:33Z theseb: http://www.paulgraham.com/rootsoflisp.html < -- Roots of Lisp paper 2021-04-26T14:50:51Z heisig: engblom: You should use some library for handling command line options, at least once your programs grow larger. Something like https://github.com/didierverna/clon 2021-04-26T14:50:53Z zzappie joined #lisp 2021-04-26T14:51:19Z phoe: theseb: likely because the syntax of RoL's lisp allows for ((lambda ...) ...) style which is an implicit APPLY 2021-04-26T14:51:29Z engblom: Thanks! 2021-04-26T14:51:55Z Bike: is that an explicit apply? that doesn't seem like an explicit apply. 2021-04-26T14:52:02Z heisig: engblom: Apart from that and the use of SETQ, that's a neat little program. Welcome to Lisp, try not to get too addicted :) 2021-04-26T14:52:40Z Bike: implicit 2021-04-26T14:52:42Z Bike: bleh 2021-04-26T14:52:52Z phoe: Bike: oh wait 2021-04-26T14:52:54Z Bike: also, apply is not a special form or operator, it's a function 2021-04-26T14:53:02Z phoe: does RoL allow for functions as values? 2021-04-26T14:53:28Z Bike: not sure 2021-04-26T14:53:32Z theseb: phoe: nice....i like that better...thanks for pointing that out 2021-04-26T14:53:34Z phoe: because it doesn't seem so; that would explain the lack of APPLY 2021-04-26T14:53:35Z Bike: i don't see it in the definition of eval 2021-04-26T14:54:07Z phoe: Bike: but then, EVAL. has a case for LAMBDA 2021-04-26T14:54:14Z Bike: yeah, but just a lambda form, isn't it? 2021-04-26T14:54:20Z Bike: like it handles ((lambda ...) ...) 2021-04-26T14:54:21Z phoe: so in theory you could pass the list form of a lambda and then call eval on it 2021-04-26T14:54:23Z phoe: yes 2021-04-26T14:54:49Z Bike: i think mostly roots of lisp is a sloppy (or, more charitably, simplified) article that shouldn't be relied on for details 2021-04-26T14:54:52Z phoe: and, if a list '((lambda ...) ...) is your function call, then evaling it is the implicit APPLY I meant 2021-04-26T14:55:29Z Stanley00 joined #lisp 2021-04-26T14:56:08Z theothornhill joined #lisp 2021-04-26T14:56:15Z theseb: Bike: i suspect RoL made a lot if Lisp fans...I've personally been more fascinated with the RoL than I'd care to admit 2021-04-26T14:56:15Z pjb: Bike: "article" you're generous. Nothing like that. It's a mere "memo", two dactylographed pages to let know fellow searchers of the AI Lab what John was up to. Namely, AIM-8: http://informatimago.com/develop/lisp/com/informatimago/small-cl-pgms/aim-8/index.html 2021-04-26T14:56:25Z pjb: (AI labs Memo #8). 2021-04-26T14:56:26Z phoe: except for one thing I guess - we need the environment 2021-04-26T14:56:46Z jcowan: You can write aa simple APPLY-EVAL pair that constitute a classical Lisp interpreter. Needless to say, few Lisps around today actually provide this. 2021-04-26T14:56:47Z phoe: eval. accepts the form to be evaluated and the environment - do we have access to it inside RoL itself? 2021-04-26T14:57:12Z phoe: because if we have that, we don't really need an application operator 2021-04-26T14:57:29Z Bike: theseb: simplicity over accuracy is helpful for that kind of article 2021-04-26T14:57:39Z Bike: if it laid out denotational semantics or something you would have slept through it 2021-04-26T14:57:59Z phoe: and since it's just Lisp data, I guess we can make a special form that returns the current environment that can then be passed to eval. again 2021-04-26T14:58:38Z engblom: I did not go for the libary for parsing arguments at this point, as this tool will probably never grow. I fixed the rest: https://pastebin.com/TuZrmfn2 2021-04-26T14:59:07Z CrazyPyt_ joined #lisp 2021-04-26T14:59:48Z waleee-cl joined #lisp 2021-04-26T14:59:50Z Stanley00 quit (Ping timeout: 246 seconds) 2021-04-26T15:00:26Z phoe: if the only argument is just a single namestring, then simplicity's gonna work well 2021-04-26T15:00:34Z CrazyPython quit (Ping timeout: 252 seconds) 2021-04-26T15:00:49Z theothornhill quit (Ping timeout: 260 seconds) 2021-04-26T15:01:01Z phoe: my nitpick would be using FIRST instead of CAR but that's a nitpick 2021-04-26T15:01:23Z theseb: phoe: i know right?....i vote we bury car and cdr forever 2021-04-26T15:01:28Z phoe: also SYNTAX-ERROR is a slight misnomer because it does not really signal a CL error; maybe name it PRINT-HELP-DIALOG instead? 2021-04-26T15:01:41Z pjb: engblom: https://termbin.com/ve5n 2021-04-26T15:01:46Z phoe: theseb: actually when you have stuff like ((1 . 2) . 3) I'd be scared to use first/rest on it 2021-04-26T15:02:00Z phoe: first/rest kinda imply that the structure being operated on is a proper list 2021-04-26T15:02:04Z theseb: phoe: i also think lists should be vectors 2021-04-26T15:02:05Z phoe: whereas car/cdr don't 2021-04-26T15:02:14Z phoe: theseb: begone, heretic 2021-04-26T15:02:16Z theseb: phoe: and never expose the cons side of things 2021-04-26T15:02:23Z theseb: phoe: heh 2021-04-26T15:02:27Z phoe: :D 2021-04-26T15:02:30Z shka_: theseb: lol 2021-04-26T15:02:31Z Bike: lists being vectors makes some kinds of processing more annoying 2021-04-26T15:02:39Z phoe: well, clojure sort of went this way 2021-04-26T15:02:47Z phoe: but that's already ##lisp material 2021-04-26T15:02:49Z pjb: theseb: APPLY is not a special operator, it's a primitive function. FUNCALL can be implemented calling APPLY but the reverse cannot be. 2021-04-26T15:03:04Z engblom: pjb: Thank you very much! 2021-04-26T15:03:19Z pjb: engblom: cf *print-right-margin* 2021-04-26T15:03:47Z pjb: engblom: and yes, since they are global variables, you don't want to mess with the code in the other threads, or to mutate them for the rest of the REPL session. So use LET. 2021-04-26T15:03:59Z theseb: pjb: wow....i was assuming primitive function == special form == special operator....didn't know people here distinguished between those terms 2021-04-26T15:04:09Z jeosol joined #lisp 2021-04-26T15:05:57Z phoe: theseb: people, d'oh 2021-04-26T15:06:01Z phoe: even CL recognizes it 2021-04-26T15:06:06Z phoe: (special-operator-p 'cl:apply) ;=> NIL 2021-04-26T15:06:35Z theruran quit (Quit: Connection closed for inactivity) 2021-04-26T15:06:44Z phoe: but, yeah, the fact that some CL operators are functions does not mean that they can be expressed in terms of anything else 2021-04-26T15:06:49Z pjb: theseb: (if (= a b) 'yep 'nope) is a special form. IF is the special operator. APPLY is a "primitive" function in that it cannot be implemented in lisp without using metalinguistic abstraction. In the case of Common Lisp, all the functions in CL can be open-coded, which means they could be considered like special operators in a way. But special operators are a more specific set of 37 operators in CL. Note that macros in CL ca 2021-04-26T15:06:49Z pjb: implemented as special operators technically, but the implementation still has to provide an equivalent macro for users of MACROEXPAND. 2021-04-26T15:06:50Z phoe: APPLY is a prime example of that 2021-04-26T15:07:36Z heisig quit (Quit: Leaving) 2021-04-26T15:07:56Z qewr joined #lisp 2021-04-26T15:08:05Z Bike: "special operator" means an operator with special evaluation semantics. apply has the same evaluation semantics as any other function: in (apply a b), a and b are forms to be evaluated. so it's not special. 2021-04-26T15:08:06Z pjb: in any case, that doesn't mean that you cannot implement everything in CL. It's just that there's one level of metalinguistic abstraction required (ie. a compiler or an interpreter). 2021-04-26T15:09:11Z hjudt quit (Ping timeout: 240 seconds) 2021-04-26T15:10:20Z skapata joined #lisp 2021-04-26T15:10:57Z _death: pjb: 37? is that from CLtL3? 2021-04-26T15:11:36Z phoe: clhs 3.1.2.1.2.1 2021-04-26T15:11:36Z specbot: Special Forms: http://www.lispworks.com/reference/HyperSpec/Body/03_ababa.htm 2021-04-26T15:13:21Z theothornhill joined #lisp 2021-04-26T15:18:08Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-26T15:20:26Z pjb: _death: or 35? I'm confusing odd numbers… 2021-04-26T15:20:46Z _death: (let ((c 0)) (do-external-symbols (sym "CL") (when (special-operator-p sym) (incf c))) c) => 25 2021-04-26T15:21:01Z pjb: (let ((n 0)) (do-symbols (s "CL" n) (when (special-operator-p s) (incf n)))) #| --> 25 |# 2021-04-26T15:21:04Z pjb: yep. 2021-04-26T15:21:09Z pjb: 25. 2021-04-26T15:22:04Z daphnis joined #lisp 2021-04-26T15:22:20Z pjb: Don't worry, it's just a cosmic ray flipping a bit in my memory. 2021-04-26T15:25:02Z _death: (hamming 25 37) => 4 ;) 2021-04-26T15:27:03Z shka_ quit (Quit: Konversation terminated!) 2021-04-26T15:28:20Z zefram22 quit (Quit: zefram22) 2021-04-26T15:28:37Z zefram22 joined #lisp 2021-04-26T15:30:06Z jcowan: Vectors are just lists with mutable cars and immutable cdrs. :-) 2021-04-26T15:31:07Z theothornhill joined #lisp 2021-04-26T15:31:19Z hjudt joined #lisp 2021-04-26T15:31:48Z pjb: adjust-array 2021-04-26T15:34:12Z shka_ joined #lisp 2021-04-26T15:35:46Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-26T15:41:43Z Alfr quit (Quit: Leaving) 2021-04-26T15:42:46Z zefram22 quit (Ping timeout: 260 seconds) 2021-04-26T15:48:09Z theothornhill joined #lisp 2021-04-26T15:50:44Z rumbler31 joined #lisp 2021-04-26T15:51:46Z contrapunctus left #lisp 2021-04-26T15:51:55Z contrapunctus joined #lisp 2021-04-26T15:52:46Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-26T15:53:22Z kmeow joined #lisp 2021-04-26T15:54:03Z rumbler31 quit (Remote host closed the connection) 2021-04-26T15:57:55Z choegusung joined #lisp 2021-04-26T16:01:37Z kmeow quit (Remote host closed the connection) 2021-04-26T16:04:31Z zefram22 joined #lisp 2021-04-26T16:05:27Z theothornhill joined #lisp 2021-04-26T16:10:12Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-26T16:14:36Z rumbler31 joined #lisp 2021-04-26T16:15:54Z srhm joined #lisp 2021-04-26T16:16:56Z imode joined #lisp 2021-04-26T16:17:18Z theothornhill joined #lisp 2021-04-26T16:19:06Z epony joined #lisp 2021-04-26T16:19:42Z rumbler31 quit (Remote host closed the connection) 2021-04-26T16:21:58Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-26T16:22:50Z jcowan: okay, okay, simple vectors. 2021-04-26T16:27:51Z theseb quit (Quit: Leaving) 2021-04-26T16:29:39Z theothornhill joined #lisp 2021-04-26T16:34:33Z theothornhill quit (Ping timeout: 268 seconds) 2021-04-26T16:38:40Z choegusung quit (Quit: leaving) 2021-04-26T16:49:43Z Josh_2 joined #lisp 2021-04-26T16:50:01Z daphnis quit (Ping timeout: 252 seconds) 2021-04-26T16:51:24Z Josh_2: Good afternoon 2021-04-26T16:54:07Z theothornhill joined #lisp 2021-04-26T16:54:09Z Nilby quit (Ping timeout: 245 seconds) 2021-04-26T16:56:21Z cage_ joined #lisp 2021-04-26T16:56:22Z Josh_2: I tell you sometimes I end up baffled that I didn't know I could do certain things 2021-04-26T16:56:40Z Josh_2: I'm sat here thinking I wonder if there is a destructuring-plist, turns out you can just destructure a plist using &key ... 2021-04-26T16:58:53Z theothornhill quit (Ping timeout: 260 seconds) 2021-04-26T17:00:05Z attila_lendvai joined #lisp 2021-04-26T17:00:55Z tophullyte joined #lisp 2021-04-26T17:01:40Z Bike: http://ix.io/3cvy here is how i would do a roots of lisp thing. makes the difference between a special operator and built in function clearer. would be more involved to make it self hosting, though 2021-04-26T17:03:58Z mindCrime_ joined #lisp 2021-04-26T17:06:14Z amerigo joined #lisp 2021-04-26T17:06:31Z hypercube quit (Quit: WeeChat 3.1) 2021-04-26T17:06:33Z epony quit (Ping timeout: 240 seconds) 2021-04-26T17:09:46Z theothornhill joined #lisp 2021-04-26T17:10:19Z fjMSX quit (Quit: EXIT) 2021-04-26T17:10:45Z DHARMAKAYA joined #lisp 2021-04-26T17:14:56Z theothornhill quit (Ping timeout: 260 seconds) 2021-04-26T17:17:25Z hypercube joined #lisp 2021-04-26T17:20:23Z rodriga quit (Read error: Connection reset by peer) 2021-04-26T17:20:31Z rodriga joined #lisp 2021-04-26T17:20:33Z jeosol quit (Quit: Connection closed) 2021-04-26T17:24:02Z Sheilong joined #lisp 2021-04-26T17:26:15Z theothornhill joined #lisp 2021-04-26T17:26:23Z jmiven quit (Quit: reboot) 2021-04-26T17:27:09Z jmiven joined #lisp 2021-04-26T17:30:43Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-26T17:42:14Z lotuseater joined #lisp 2021-04-26T17:43:32Z theothornhill joined #lisp 2021-04-26T17:45:17Z pjb: pyc: https://termbin.com/athh 2021-04-26T17:46:22Z pjb: pyc: note how concatenate-string is faster when you have more than between 50000 and 100000 strings to concatenate. (may also depend on the length of the strings). 2021-04-26T17:46:56Z pjb: pyc: but when you have 100 strings, with-output-string is faster (in ccl); 2021-04-26T17:47:29Z pjb: pyc: but when you have about 1000 strings, apply-concat is faster (in ccl, and given that call-arguments-limit #| --> 65536 |# ); 2021-04-26T17:48:11Z theothornhill quit (Ping timeout: 240 seconds) 2021-04-26T17:49:40Z pbgc joined #lisp 2021-04-26T17:50:10Z raeda_ joined #lisp 2021-04-26T17:51:04Z raeda quit (Ping timeout: 252 seconds) 2021-04-26T17:51:08Z ukari quit (Remote host closed the connection) 2021-04-26T17:51:09Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-26T17:51:38Z mindCrime_ quit (Ping timeout: 268 seconds) 2021-04-26T17:51:45Z copec: speaking of destructuring plists, a snip from the project I'm working on Josh_2 https://unaen.org/pb/1ym 2021-04-26T17:52:08Z copec: I wonder if there is a better way to do uri->string 2021-04-26T17:52:30Z phoe: can't destructuring-bind with &key help here? 2021-04-26T17:52:30Z ukari joined #lisp 2021-04-26T17:52:44Z hendursa1 joined #lisp 2021-04-26T17:53:15Z phoe: (d-b (&key (scheme (scheme uri)) (userinfo (userinfo uri)) ...) uri-keys ...) 2021-04-26T17:55:12Z copec: hrmm 2021-04-26T17:55:32Z Josh_2: well from what I just learned you can use (destructuring-bind (&key &allow-other-keys) ) to destructure a plist 2021-04-26T17:55:53Z phoe: yes, that's what I was thinking of 2021-04-26T17:56:26Z theothornhill joined #lisp 2021-04-26T17:56:59Z copec: perhaps if I just make uri a plist 2021-04-26T18:00:04Z Josh_2: plists are great :D 2021-04-26T18:01:16Z theothornhill quit (Ping timeout: 265 seconds) 2021-04-26T18:03:47Z phoe: plists are the last step before defclass/defstruct 2021-04-26T18:05:22Z attila_lendvai quit (Ping timeout: 252 seconds) 2021-04-26T18:05:23Z mathrick quit (Read error: Connection reset by peer) 2021-04-26T18:05:57Z mathrick joined #lisp 2021-04-26T18:11:04Z attila_lendvai joined #lisp 2021-04-26T18:11:04Z attila_lendvai quit (Changing host) 2021-04-26T18:11:04Z attila_lendvai joined #lisp 2021-04-26T18:11:55Z srandon111 quit (Quit: leaving) 2021-04-26T18:14:07Z theothornhill joined #lisp 2021-04-26T18:19:07Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-26T18:20:17Z rumbler31 joined #lisp 2021-04-26T18:20:27Z theothornhill joined #lisp 2021-04-26T18:24:33Z rumbler31 quit (Ping timeout: 240 seconds) 2021-04-26T18:24:56Z theothornhill quit (Ping timeout: 246 seconds) 2021-04-26T18:31:12Z gigamonkey joined #lisp 2021-04-26T18:32:54Z pankajsg quit (Ping timeout: 245 seconds) 2021-04-26T18:33:05Z jackdaniel: hash tables are the last step because they always preserve identity 2021-04-26T18:33:10Z theothornhill joined #lisp 2021-04-26T18:36:43Z theothornhill quit (Read error: Connection reset by peer) 2021-04-26T18:36:50Z theothornhill joined #lisp 2021-04-26T18:39:35Z theothornhill quit (Read error: Connection reset by peer) 2021-04-26T18:39:37Z attila_lendvai quit (Read error: Connection reset by peer) 2021-04-26T18:39:43Z theothornhill joined #lisp 2021-04-26T18:40:12Z yottabyte joined #lisp 2021-04-26T18:40:19Z attila_lendvai joined #lisp 2021-04-26T18:42:21Z theothornhill quit (Remote host closed the connection) 2021-04-26T18:42:28Z theothornhill joined #lisp 2021-04-26T18:43:01Z zefram22 quit (Ping timeout: 260 seconds) 2021-04-26T18:43:19Z flip214: copec: do you know the puri and quri libraries? 2021-04-26T18:44:04Z ukari quit (Remote host closed the connection) 2021-04-26T18:44:29Z mht joined #lisp 2021-04-26T18:44:42Z ukari joined #lisp 2021-04-26T18:47:40Z theothornhill quit (Ping timeout: 265 seconds) 2021-04-26T18:53:55Z Inline joined #lisp 2021-04-26T18:53:55Z amb007 quit (Read error: Connection reset by peer) 2021-04-26T18:54:20Z amb007 joined #lisp 2021-04-26T18:58:23Z gaqwas joined #lisp 2021-04-26T18:58:23Z gaqwas quit (Changing host) 2021-04-26T18:58:23Z gaqwas joined #lisp 2021-04-26T18:58:59Z theothornhill joined #lisp 2021-04-26T19:07:03Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-26T19:07:16Z aeth_ joined #lisp 2021-04-26T19:07:19Z aeth quit (Disconnected by services) 2021-04-26T19:07:27Z aeth_ is now known as aeth 2021-04-26T19:09:51Z pjb: About SBCL 2.1.3, I wonder why I get "Control stack exhausted during signal emulation: PC: 52077ee2" crashes, when call-arguments-limit is 4611686018427387903 ? 2021-04-26T19:09:51Z pjb: 2021-04-26T19:09:52Z pjb: Pfft! 2021-04-26T19:11:11Z pve quit (Remote host closed the connection) 2021-04-26T19:12:06Z MrFantastik joined #lisp 2021-04-26T19:12:12Z MrFantastik: https://www.grammarly.com/blog/engineering/running-lisp-in-production/ 2021-04-26T19:12:46Z MrFantastik: TIL grammarly uses lisp 2021-04-26T19:13:08Z jackdaniel: I believe that also roomba robots use/used it 2021-04-26T19:14:05Z MrFantastik: oh man imagine being able to attach to a roomba repl 2021-04-26T19:16:08Z MrFantastik: I wish the article went a little more in depth on there proccesses though 2021-04-26T19:16:18Z MrFantastik: seems like mostly fluff :/ 2021-04-26T19:21:43Z pjb: pyc: more benchmarks: https://termbin.com/l68o 2021-04-26T19:24:23Z varjag joined #lisp 2021-04-26T19:25:50Z z0d quit (Ping timeout: 246 seconds) 2021-04-26T19:28:46Z attila_lendvai quit (Ping timeout: 240 seconds) 2021-04-26T19:29:08Z attila_lendvai joined #lisp 2021-04-26T19:29:08Z attila_lendvai quit (Changing host) 2021-04-26T19:29:08Z attila_lendvai joined #lisp 2021-04-26T19:30:37Z vaporatorius__ quit (Ping timeout: 252 seconds) 2021-04-26T19:35:04Z anticrisis joined #lisp 2021-04-26T19:38:06Z raeda_ quit (Ping timeout: 240 seconds) 2021-04-26T19:38:28Z raeda joined #lisp 2021-04-26T19:40:07Z pbgc quit (Quit: Computer has gone to sleep.) 2021-04-26T19:42:35Z pbgc joined #lisp 2021-04-26T19:43:12Z vaporatorius__ joined #lisp 2021-04-26T19:44:09Z mindCrime_ joined #lisp 2021-04-26T19:45:08Z slyrus joined #lisp 2021-04-26T19:46:16Z Thom2503 quit (Quit: Leaving) 2021-04-26T19:48:20Z dieggsy: does anyone have a syntax-highlighted slime setup they can share? 2021-04-26T19:50:06Z White_Flame: slime has syntax highlighting by default, doesn't it? 2021-04-26T19:50:16Z zefram22 joined #lisp 2021-04-26T19:57:51Z dieggsy: White_Flame: not the repl AFAIK, no 2021-04-26T19:58:16Z White_Flame: ah, ok 2021-04-26T20:01:44Z Lord_of_Life_ joined #lisp 2021-04-26T20:02:59Z copec: anything more then one line I dump in a file in another buffer and ctrl-c-c each form anyways 2021-04-26T20:03:16Z copec: I wish I was a movie-haxor 2021-04-26T20:03:44Z Lord_of_Life quit (Ping timeout: 245 seconds) 2021-04-26T20:04:49Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-26T20:04:52Z andrei-n quit (Quit: Leaving) 2021-04-26T20:05:29Z copec: for quick playing around from a shell I like clisp because gnu readline 2021-04-26T20:05:50Z aartaka quit (Read error: Connection reset by peer) 2021-04-26T20:06:33Z copec: Even though for most of my programming I use sbcl, I wish clisp would have been the python 2021-04-26T20:06:35Z theothornhill quit (Remote host closed the connection) 2021-04-26T20:07:46Z jeosol joined #lisp 2021-04-26T20:09:43Z karlosz joined #lisp 2021-04-26T20:10:54Z copec: I hadn't, thanks flip214 2021-04-26T20:11:44Z slyrus quit (Remote host closed the connection) 2021-04-26T20:14:02Z shka_ quit (Ping timeout: 252 seconds) 2021-04-26T20:14:08Z dieggsy: copec: i've just installed sbcl-readline and it works well 2021-04-26T20:15:07Z copec: I'll give that a try 2021-04-26T20:20:06Z zefram22 quit (Quit: zefram22) 2021-04-26T20:20:23Z zefram22 joined #lisp 2021-04-26T20:22:12Z bilegeek joined #lisp 2021-04-26T20:25:01Z scm quit (Quit: Leaving) 2021-04-26T20:28:25Z narimiran quit (Ping timeout: 260 seconds) 2021-04-26T20:32:47Z epony joined #lisp 2021-04-26T20:33:23Z snits_ quit (Ping timeout: 246 seconds) 2021-04-26T20:35:11Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-26T20:38:29Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-26T20:40:46Z CrazyPyt_ quit 2021-04-26T20:41:01Z pbgc quit (Quit: Computer has gone to sleep.) 2021-04-26T20:41:55Z akoana joined #lisp 2021-04-26T20:42:11Z snits joined #lisp 2021-04-26T20:43:55Z slyrus joined #lisp 2021-04-26T20:44:38Z rodriga quit (Ping timeout: 265 seconds) 2021-04-26T20:47:50Z copec: #osdev is pretty popular, there should be a #lispdev, where people hang out who have reached the phase of trying to bootstrap their own lisp 2021-04-26T20:48:26Z pbgc joined #lisp 2021-04-26T20:49:32Z slyrus quit (Ping timeout: 240 seconds) 2021-04-26T20:52:42Z raeda quit (Read error: Connection reset by peer) 2021-04-26T20:52:48Z raeda_ joined #lisp 2021-04-26T20:53:41Z attila_lendvai quit (Ping timeout: 260 seconds) 2021-04-26T20:56:57Z White_Flame: #clasp and #sicl have gotten their own 2021-04-26T20:57:24Z White_Flame: but enough of lispdev chatter does happen here & in ##lisp when it comes up 2021-04-26T20:57:46Z jrm quit (Ping timeout: 260 seconds) 2021-04-26T20:57:52Z White_Flame: not enough to be overwhelming 2021-04-26T20:59:45Z CrazyPython joined #lisp 2021-04-26T21:01:05Z l1x quit (Quit: Connection closed for inactivity) 2021-04-26T21:03:55Z raeda_ quit (Read error: Connection reset by peer) 2021-04-26T21:04:15Z raeda_ joined #lisp 2021-04-26T21:05:15Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-26T21:07:13Z cage_ quit (Quit: Leaving) 2021-04-26T21:07:37Z perrier-jouet quit (Quit: WeeChat 3.1) 2021-04-26T21:13:03Z hiroaki joined #lisp 2021-04-26T21:17:01Z aartaka joined #lisp 2021-04-26T21:21:18Z CrashTestDummy quit (Quit: Leaving) 2021-04-26T21:21:41Z CrazyPython quit (Ping timeout: 246 seconds) 2021-04-26T21:23:08Z CrazyPython joined #lisp 2021-04-26T21:24:33Z dhil joined #lisp 2021-04-26T21:29:35Z zefram22 quit (Quit: zefram22) 2021-04-26T21:29:50Z zefram22 joined #lisp 2021-04-26T21:33:01Z gaqwas quit (Ping timeout: 268 seconds) 2021-04-26T21:33:43Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-26T21:34:03Z mathrick_ joined #lisp 2021-04-26T21:34:13Z CrashTestDummy joined #lisp 2021-04-26T21:34:42Z dieggsy: FWIW this seems to work ok https://stackoverflow.com/questions/25809493/how-can-i-get-syntax-highlighting-for-common-lisp-in-slimes-repl#26050762 2021-04-26T21:34:57Z dieggsy: i changed it to lisp-font-lock-keywords instead of keywords-2... not really sure... 2021-04-26T21:35:29Z mathrick quit (Ping timeout: 268 seconds) 2021-04-26T21:36:51Z dieggsy: oh, it's for the highlight level. interesting 2021-04-26T21:36:56Z dieggsy: it's also best to use lisp-cl-font-lock-keywords intsead 2021-04-26T21:37:07Z opcode: if i specify a literal as #o00 is that the null byte \00? coming from the C-family and finding lisp's type system very unintuitive 2021-04-26T21:38:28Z moon-child: opcode: in cl, characters and numbers have different types. So #o00 is another way to get the number 0 2021-04-26T21:38:51Z moon-child: if you want to make a character from a number, use code-char. e.g. (code-char 0) ←→ #\nul 2021-04-26T21:39:03Z moon-child: (and use char-code to go the other way) 2021-04-26T21:39:21Z opcode: i'm fiddling around with ironclad, and I want to make an initialization vector for AES that's just 0x00's. Is #\nul what I want? 2021-04-26T21:39:30Z Xach: opcode: no. 0 is what you want. 2021-04-26T21:39:38Z Xach: or #x0, or #b0, or #o0 2021-04-26T21:40:02Z opcode: okay thx 2021-04-26T21:40:11Z Xach: if you want a vector of 0, (make-array :initial-element 0) would make it. 2021-04-26T21:40:28Z opcode: ah ha, well that brings me to my next question 2021-04-26T21:40:49Z opcode: can i do #(0 0 0 0 0 0 0 ...) ? 2021-04-26T21:41:01Z opcode: because ironclad wants simple-arrays of unsigned bytes 2021-04-26T21:41:16Z opcode: but it's not clear to me from reading the hyperspec what exactly is equivalent to what 2021-04-26T21:41:28Z hiroaki joined #lisp 2021-04-26T21:41:32Z moon-child: (make-array 10 :element-type 'unsigned-byte :initial-element 0) 2021-04-26T21:41:48Z moon-child: possibly substitute '(unsigned-byte 8) for 'unsigned-byte 2021-04-26T21:42:08Z Xach: moon-child: yeah, UNSIGNED-BYTE is unlikely to be useful, as it upgrades to T 2021-04-26T21:42:23Z moon-child: right 2021-04-26T21:42:26Z Xach: opcode: #(...) will not produce the specialized array you need. 2021-04-26T21:42:41Z notzmv quit (Ping timeout: 260 seconds) 2021-04-26T21:42:50Z lotuseater: ha yes thought the same ^^ just like with 'STRING 2021-04-26T21:43:22Z opcode: k. i find the docs very dense, but perhaps that's just because I have no formal CS training :/ 2021-04-26T21:43:30Z raeda_ quit (Remote host closed the connection) 2021-04-26T21:43:49Z raeda_ joined #lisp 2021-04-26T21:43:54Z opcode: appreciate the help 2021-04-26T21:44:02Z lotuseater: opcode: i think that's one thing that is left to the implementation 2021-04-26T21:45:14Z Xach: opcode: i think ironclad is probably most useful if you already know generally how the algorithms are set up and used and you just need a reference for use 2021-04-26T21:45:29Z Xach: i don't always know how to give it what it wants, and i've used it a lot 2021-04-26T21:46:24Z opcode: yeah it's very, uh, particular about how it wants inputs haha 2021-04-26T21:47:11Z opcode: not just ironclad's docs though... the hyperspec itself is pretty dense 2021-04-26T21:47:18Z opcode: i read portions of it and I feel like it's not even english 2021-04-26T21:50:23Z moon-child: standards documents are frequently like that. You have to learn to read standardese ;) 2021-04-26T21:55:00Z long4mud joined #lisp 2021-04-26T21:55:19Z srandon111 joined #lisp 2021-04-26T21:55:22Z surabax quit (Quit: Leaving) 2021-04-26T22:06:19Z pjb: opcode: (make-array 4 :element-type 'character :initial-element #\null) #| --> " 2021-04-26T22:06:33Z epony quit (Ping timeout: 240 seconds) 2021-04-26T22:06:56Z pjb: opcode: (make-array 4 :initial-contents '(#\null 0 nil "nope")) #| --> #(#\Null 0 nil "nope") |# ;-) 2021-04-26T22:13:07Z frgo quit (Remote host closed the connection) 2021-04-26T22:13:33Z frgo joined #lisp 2021-04-26T22:15:15Z Xach: i find the hyperspec to be a fantastic reference, but it helps that i've spent a long time getting used to how it presents info. 2021-04-26T22:15:25Z Xach: there are nice documents that are more tutorialistic 2021-04-26T22:19:37Z bilegeek quit (Quit: Leaving) 2021-04-26T22:26:36Z emacsomancer quit (Read error: Connection reset by peer) 2021-04-26T22:26:37Z loskutak quit (Ping timeout: 252 seconds) 2021-04-26T22:26:46Z varjag quit (Ping timeout: 252 seconds) 2021-04-26T22:27:04Z yonkunas quit (Quit: Connection closed for inactivity) 2021-04-26T22:27:08Z random-nick quit (Ping timeout: 246 seconds) 2021-04-26T22:28:50Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-26T22:29:07Z emacsomancer joined #lisp 2021-04-26T22:36:47Z copec: It is fantastic after you get it :-P If I don't understanding something, it's like it falls on deaf ears until I already understand it 2021-04-26T22:40:05Z Adamclisi quit (Ping timeout: 246 seconds) 2021-04-26T22:41:12Z sjl quit (Quit: WeeChat 2.2-dev) 2021-04-26T22:47:04Z Adamclisi joined #lisp 2021-04-26T23:03:37Z remby joined #lisp 2021-04-26T23:07:47Z CrazyPyt_ joined #lisp 2021-04-26T23:08:56Z CrazyPython quit (Ping timeout: 252 seconds) 2021-04-26T23:13:01Z dhil quit (Ping timeout: 265 seconds) 2021-04-26T23:13:33Z luckless_ quit (Ping timeout: 240 seconds) 2021-04-26T23:14:09Z luckless_ joined #lisp 2021-04-26T23:16:55Z epony joined #lisp 2021-04-26T23:20:06Z imode quit (Quit: WeeChat 3.1) 2021-04-26T23:21:42Z mindCrime_ joined #lisp 2021-04-26T23:25:17Z xy__ joined #lisp 2021-04-26T23:26:25Z pbgc quit (Quit: Computer has gone to sleep.) 2021-04-26T23:26:37Z xy__ quit (Read error: Connection reset by peer) 2021-04-26T23:31:30Z Josh_2: Has anyone here used #0A before? 2021-04-26T23:32:06Z Josh_2: zero dimensional arrays 2021-04-26T23:32:58Z White_Flame: only briefly to test out some weird identities 2021-04-26T23:33:19Z ebrasca: Is there a way to compile the faster version of some fuction in compile time? 2021-04-26T23:33:47Z Josh_2: a compiler macro? 2021-04-26T23:34:03Z moon-child: Josh_2: in apl, a scalar is a 0-dimensional array 2021-04-26T23:34:13Z ebrasca: If you have multiple versions of some funtion for diferent cpu architectures. 2021-04-26T23:34:27Z White_Flame: I made a (defmacro fast-body (&body body) ...) which just wraps the body in a locally declare optimize 2021-04-26T23:34:31Z White_Flame: wrap that around a defun 2021-04-26T23:34:47Z ebrasca: Or if you have hardware sopport or not. 2021-04-26T23:34:56Z White_Flame: ah, yeah that sounds like a compiler macro 2021-04-26T23:35:24Z ebrasca: How can you make sure the bens algorith is chosen? 2021-04-26T23:35:43Z ebrasca: bens->best 2021-04-26T23:36:17Z White_Flame: I don't understand the situation. Where are the algorithms listed? 2021-04-26T23:36:35Z Josh_2: maybe you could use #. 2021-04-26T23:36:42Z Josh_2: wait sorry #+ not #. 2021-04-26T23:36:49Z White_Flame: If you have multiple versions for different architectures, there will probably be #+ based compilation or file inclusion somewhere to select between them 2021-04-26T23:37:11Z Adamclisi quit (Ping timeout: 240 seconds) 2021-04-26T23:37:27Z White_Flame: so only 1 version is probably in existence? the other thing affecting it would be optimization declarations 2021-04-26T23:37:37Z White_Flame: s/in existence/manifested/ 2021-04-26T23:38:26Z acolarh quit (Ping timeout: 240 seconds) 2021-04-26T23:38:53Z aeth_ joined #lisp 2021-04-26T23:38:57Z aeth quit (Disconnected by services) 2021-04-26T23:39:00Z aeth_ is now known as aeth 2021-04-26T23:42:18Z ebrasca: I am just implementing CRC in CL. Probably overthinknig it. 2021-04-26T23:42:19Z xy__ joined #lisp 2021-04-26T23:44:16Z Adamclisi joined #lisp 2021-04-26T23:52:01Z xy__ quit (Remote host closed the connection) 2021-04-26T23:55:16Z amerigo quit (Quit: Connection closed for inactivity) 2021-04-27T00:00:05Z xsperry quit (Remote host closed the connection) 2021-04-27T00:03:30Z acolarh joined #lisp 2021-04-27T00:04:12Z xsperry joined #lisp 2021-04-27T00:10:23Z slyrus joined #lisp 2021-04-27T00:12:28Z kevingal quit (Remote host closed the connection) 2021-04-27T00:14:53Z slyrus quit (Ping timeout: 265 seconds) 2021-04-27T00:20:20Z kmeow joined #lisp 2021-04-27T00:23:01Z rixard quit (Read error: Connection reset by peer) 2021-04-27T00:25:43Z anticrisis quit (Read error: Connection reset by peer) 2021-04-27T00:26:23Z Inline quit (Ping timeout: 260 seconds) 2021-04-27T00:27:32Z anticrisis joined #lisp 2021-04-27T00:27:38Z rixard joined #lisp 2021-04-27T00:27:55Z notzmv joined #lisp 2021-04-27T00:31:41Z Josh_2 quit (Ping timeout: 240 seconds) 2021-04-27T00:40:14Z mindCrime_ quit (Ping timeout: 252 seconds) 2021-04-27T00:43:34Z zefram22 quit (Ping timeout: 268 seconds) 2021-04-27T00:45:06Z mindCrime_ joined #lisp 2021-04-27T00:45:50Z irc_user joined #lisp 2021-04-27T00:51:17Z akoana quit (Quit: leaving) 2021-04-27T00:59:40Z hendursa1 quit (Quit: hendursa1) 2021-04-27T01:00:09Z hendursaga joined #lisp 2021-04-27T01:02:55Z quazimodo joined #lisp 2021-04-27T01:17:01Z akoana joined #lisp 2021-04-27T01:25:59Z theruran joined #lisp 2021-04-27T01:26:42Z akoana left #lisp 2021-04-27T01:31:03Z lotuseat` joined #lisp 2021-04-27T01:32:54Z lotuseater quit (Ping timeout: 245 seconds) 2021-04-27T01:33:57Z zzappie quit (Ping timeout: 240 seconds) 2021-04-27T01:38:24Z tempest_nox joined #lisp 2021-04-27T01:38:41Z zzappie joined #lisp 2021-04-27T01:47:08Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-27T01:49:53Z Spawns_Carpeting joined #lisp 2021-04-27T01:56:55Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-27T02:00:17Z ebrasca: How to reverse a integer? For example #b10000010 -> b01000001. 2021-04-27T02:00:26Z quazimodo quit (Ping timeout: 240 seconds) 2021-04-27T02:00:49Z heretical_crypte quit (Ping timeout: 245 seconds) 2021-04-27T02:00:59Z heretical_crypte joined #lisp 2021-04-27T02:01:41Z dieggsy quit (Ping timeout: 250 seconds) 2021-04-27T02:01:51Z dieggsy joined #lisp 2021-04-27T02:06:16Z no-defun-allowed: Is this for implementing CRC? 2021-04-27T02:06:31Z imode joined #lisp 2021-04-27T02:06:33Z ebrasca: Yes 2021-04-27T02:07:24Z ebrasca: Input reflected and Result reflected 2021-04-27T02:07:44Z no-defun-allowed: Which one is this? CRC32? 2021-04-27T02:08:58Z hiroaki joined #lisp 2021-04-27T02:09:32Z frost-lab joined #lisp 2021-04-27T02:09:54Z ebrasca: It is generolized , I did test 8 , 16 , 32 2021-04-27T02:10:24Z ebrasca: (make-crc crc-name width polynomial) 2021-04-27T02:10:37Z pjb: ebrasca: integers have infinite length in Common Lisp. How do yo fetch a bit at ∞ to put it at 0? 2021-04-27T02:11:01Z monolithic quit (Remote host closed the connection) 2021-04-27T02:11:05Z ebrasca: pjb: I work with n bits. 2021-04-27T02:11:14Z no-defun-allowed doesn't recall a practical CRC32 algorithm reversing any bits. 2021-04-27T02:11:18Z Sheilong quit 2021-04-27T02:11:26Z ebrasca: pjb: For crc32 32 bits. 2021-04-27T02:11:49Z no-defun-allowed: Something like https://en.wikipedia.org/wiki/Cyclic_redundancy_check#CRC-32_algorithm no? 2021-04-27T02:11:59Z ebrasca: no-defun-allowed: Is it good idea for me to ignore that part? 2021-04-27T02:12:18Z ebrasca: http://www.sunshine2k.de/articles/coding/crc/understanding_crc.html 2021-04-27T02:12:27Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-27T02:12:59Z ebrasca: I am now in this part http://www.sunshine2k.de/articles/coding/crc/understanding_crc.html#ch71 2021-04-27T02:13:01Z White_Flame: convert to bit vector, call nreverse, convert back \:D/ 2021-04-27T02:13:14Z CrazyPyt_ quit (Read error: Connection reset by peer) 2021-04-27T02:13:21Z no-defun-allowed: I don't think you will do any bit-wise CRC for a filesystem, only on bytes. 2021-04-27T02:14:11Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-27T02:14:33Z ebrasca: no-defun-allowed: What do you mean? 2021-04-27T02:14:57Z ebrasca: White_Flame: How? 2021-04-27T02:15:12Z White_Flame: expensive looping 2021-04-27T02:15:42Z White_Flame: but still, unless there's some weird superoptimizer style trick to bit order reversal, you'll probably still have to loop 2021-04-27T02:16:12Z White_Flame: or make some lookup tables and do it in batches 2021-04-27T02:16:26Z ebrasca: I was expecting you to tell me this method. 2021-04-27T02:16:35Z no-defun-allowed: ebrasca: Any real implementation of CRC for a filesystem would use a byte-wise loop, not bitwise, and there is no reversal there. 2021-04-27T02:17:01Z ebrasca: no-defun-allowed: It is a tutorias , see later. 2021-04-27T02:17:09Z White_Flame: ah, here's a reasonable method in log2 time: https://stackoverflow.com/questions/2602823/in-c-c-whats-the-simplest-way-to-reverse-the-order-of-bits-in-a-byte/2602885#2602885 2021-04-27T02:17:10Z dieggsy: way back in the day (lol just a few years ago) i had found some way to have a running SBCL process and write scripts that would like connect to it, does anyone know what i'm referring to ? 2021-04-27T02:17:34Z dieggsy: i don't think i was manually connecting to a swank server, though that may have been what the tool was doing 2021-04-27T02:17:42Z ebrasca: I think I don't need to add thah feature then. 2021-04-27T02:17:42Z moon-child: White_Flame: why is that log2? 2021-04-27T02:17:45Z ebrasca: Thanks! 2021-04-27T02:17:58Z moon-child: that's constant for a given byte, or linear for a sequence (in its length) 2021-04-27T02:18:05Z White_Flame: for 32-bits, it takes 5 steps. For 16 bits it woudl take 4, etc 2021-04-27T02:18:27Z White_Flame: erm, minus one 2021-04-27T02:18:33Z ebrasca: It seems expensive. 2021-04-27T02:18:42Z pjb: ebrasca: https://www.oreilly.com/library/view/hackers-delight/0201914654/0201914654_ch07lev1sec1.html 2021-04-27T02:18:44Z moon-child: ebrasca: yes, you probably want a per-byte lookup table 2021-04-27T02:19:20Z pjb: ebrasca: https://github.com/hcs0/Hackers-Delight/blob/master/reverse.c.txt 2021-04-27T02:19:21Z Stanley00 joined #lisp 2021-04-27T02:22:24Z White_Flame: hmm, with 4 bytes to look up and re-merge, that pairwise reversal's 5 steps for reversing a 32-bit word might be shorter/faster 2021-04-27T02:23:09Z White_Flame: but yeah, feel free to try the various options in pjb's links for the really weird and potentailly shorter solutions 2021-04-27T02:25:47Z dieggsy: oh, it may have been scriptl that i was using then 2021-04-27T02:27:02Z dieggsy: is that a all still recommendable (or was it ever) ? 2021-04-27T02:29:38Z moon-child: http://graphics.stanford.edu/~seander/bithacks.html#BitReverseObvious has a few methods 2021-04-27T02:29:59Z pjb: Now, when you have specific operations that can be thus optimized (don't forget the logand etc to ensure 32-bit operations are performed on the intermediaries), such algorithms are ok. But if you had some generic bit manipulations to perform, of various kinds, one way to do it in lisp would be to convert the integer into a bit-vector. 2021-04-27T02:30:26Z pjb: Then you can manipulate the bit-vector with any array or sequence operator. replace, reverse, aref, find, etc. 2021-04-27T02:30:30Z pjb: subseq. 2021-04-27T02:31:22Z pjb: Of course, it would be nice if there was an implementation operation to do that perhaps in a more efficient way than looping on logbitp… 2021-04-27T02:31:41Z ebrasca: Here my crc how I have it now http://ix.io/3e0u 2021-04-27T02:32:24Z ebrasca: I did remove compute-crc*-simple 2021-04-27T02:35:11Z orivej quit (Ping timeout: 268 seconds) 2021-04-27T02:37:57Z dieggsy: ah, scriptl is broken. nice lol. 2021-04-27T02:38:45Z zzappie quit (Ping timeout: 240 seconds) 2021-04-27T02:40:25Z raeda_ quit (Read error: Connection reset by peer) 2021-04-27T02:40:48Z raeda_ joined #lisp 2021-04-27T02:42:14Z ebrasca: Do you have some name recomendations for my crc lybrary? 2021-04-27T02:43:05Z asarch joined #lisp 2021-04-27T02:48:34Z datajerk quit (Remote host closed the connection) 2021-04-27T02:49:01Z datajerk joined #lisp 2021-04-27T02:50:28Z asarch: Does Melpa have a mirror? 2021-04-27T02:50:48Z asarch: "Contacting host: melpa.org:443" -> "Failed to download ‘melpa’ archive." 2021-04-27T02:56:54Z frost-lab quit (Quit: Connection closed) 2021-04-27T02:58:31Z hypercube quit (Quit: WeeChat 3.1) 2021-04-27T02:59:55Z hypercube joined #lisp 2021-04-27T03:00:04Z frost-lab joined #lisp 2021-04-27T03:04:21Z shifty joined #lisp 2021-04-27T03:07:17Z beach: Good morning everyone! 2021-04-27T03:09:17Z dieggsy: mernin 2021-04-27T03:11:03Z irc_user quit (Quit: Connection closed for inactivity) 2021-04-27T03:11:31Z MrMobius joined #lisp 2021-04-27T03:11:59Z MrMobius left #lisp 2021-04-27T03:15:32Z hjudt quit (Ping timeout: 240 seconds) 2021-04-27T03:16:14Z lotuseat` quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-27T03:18:33Z charles` joined #lisp 2021-04-27T03:20:49Z semz quit (Ping timeout: 245 seconds) 2021-04-27T03:21:52Z raeda__ joined #lisp 2021-04-27T03:22:20Z raeda_ quit (Read error: Connection reset by peer) 2021-04-27T03:32:26Z sp41 quit (Ping timeout: 240 seconds) 2021-04-27T03:34:24Z semz joined #lisp 2021-04-27T03:34:24Z semz quit (Changing host) 2021-04-27T03:34:24Z semz joined #lisp 2021-04-27T03:42:04Z charles` quit (Ping timeout: 245 seconds) 2021-04-27T03:47:34Z hjudt joined #lisp 2021-04-27T03:49:40Z luckless_ quit (Remote host closed the connection) 2021-04-27T03:50:05Z luckless_ joined #lisp 2021-04-27T03:51:07Z mindCrime_ quit (Ping timeout: 252 seconds) 2021-04-27T03:59:03Z mindCrime_ joined #lisp 2021-04-27T03:59:55Z Bike quit (Quit: sleep) 2021-04-27T04:02:19Z dieggsy: ooh, does anyone have strong opinions on sly vs slime ? 2021-04-27T04:02:40Z raeda__ quit (Ping timeout: 252 seconds) 2021-04-27T04:03:10Z pillton joined #lisp 2021-04-27T04:03:18Z jlarocco joined #lisp 2021-04-27T04:03:36Z beach: Not a "vs" opinion, but I think both are sub-optimal and we should work to get something better. 2021-04-27T04:04:31Z raeda joined #lisp 2021-04-27T04:05:14Z xlei quit (Quit: ZNC - https://znc.in) 2021-04-27T04:05:59Z dieggsy: lmao 2021-04-27T04:06:06Z dieggsy: sly has better completion for what that's worth 2021-04-27T04:06:21Z dieggsy: or at least, it works better out of the box for me 2021-04-27T04:06:23Z karlosz quit (Quit: karlosz) 2021-04-27T04:06:54Z beach: In what way is it better? 2021-04-27T04:07:07Z beach: I haven't used sly, so it's an honest question. 2021-04-27T04:09:27Z xlei joined #lisp 2021-04-27T04:11:36Z beach: OK, so let's take an example. Say you have: 2021-04-27T04:11:40Z beach: (let ((multiple-value-bla 234)) (f multiple-value-b 2021-04-27T04:11:43Z beach: in a buffer. 2021-04-27T04:12:08Z beach: Now complete. With SLIME, I use C-c C-i. 2021-04-27T04:12:22Z beach: What is the expansion? 2021-04-27T04:13:19Z kmeow quit (Ping timeout: 245 seconds) 2021-04-27T04:13:33Z xkapastel quit (Quit: Connection closed for inactivity) 2021-04-27T04:14:32Z beach: The cursor should be after the multiple-value-b by the way. 2021-04-27T04:14:58Z slyrus joined #lisp 2021-04-27T04:15:06Z moon-child: is there a general solution to that (that doesn't require special knowledge of the 'let' form)? You would have to macroexpand 'let' with a partial body (or, more charitably, a body with a hole in it) in order to infer that 'multiple-value-bla' were bound at the point of the cursor. All that without knowing the end of the body 2021-04-27T04:15:53Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-27T04:15:54Z beach: So, we should analyze the buffer that way. Why should we settle for a lousy approximation? 2021-04-27T04:16:58Z moon-child: I'm not saying we should settle, I'm genuinely curious how you would solve that problem 2021-04-27T04:17:21Z dieggsy: beach: ? it suggests multiple-value-bla 2021-04-27T04:17:36Z beach: dieggsy: Suggests? 2021-04-27T04:17:41Z dieggsy: well, i'm using company-mode 2021-04-27T04:17:41Z skapata quit (Remote host closed the connection) 2021-04-27T04:17:47Z dieggsy: well, it's using company-mode 2021-04-27T04:18:07Z beach: dieggsy: Does it "suggest" anything else? 2021-04-27T04:18:51Z moon-child: (I suppose one solution would be to have the editor automatically insert closing parentheses, but I find such 'features' jarring) 2021-04-27T04:18:56Z dieggsy: beach: oof, actually nevermind i guess, it's all over the place now 2021-04-27T04:19:10Z slyrus quit (Ping timeout: 252 seconds) 2021-04-27T04:19:22Z dieggsy: moon-child: huh. i basically never work without paren auto-closing 2021-04-27T04:19:25Z beach: moon-child: Eclector would fill in the rest of the buffer so that we get (let ((multiple-value-bla)) (f multiple-value-b)), then we would take the CST and convert it to an AST to get the role of each identifier. 2021-04-27T04:19:34Z moon-child: (I think structural editors would be a good solution, but those would require a somewhat radical rearchitecturing of editing and dynamic analysis infrastructure) 2021-04-27T04:19:44Z dieggsy: beach: i'm just trying it out for the first time too FWIW 2021-04-27T04:20:10Z beach: dieggsy: I still don't understand what "suggestions" you got. 2021-04-27T04:20:11Z moon-child: beach: how do you infer the )) at the end? It seems very easy, in more complex scenarious, to get that wrong 2021-04-27T04:20:45Z beach: moon-child: It can't always get it right, but the simple solution is often correct. Eclector has a bunch of restarts for that kind of stuff. 2021-04-27T04:21:25Z dieggsy: beach: i'm not entirely sure how this is working yet. at first when i tried it, it suggested multiple-value-bla *only*, as in, in a completion popup. when i went back and tried it however, it suggested multiple-value-bind, multiple-value-call, everything *but* multiple-value-bla lol 2021-04-27T04:21:35Z dieggsy: so much for that i suppose 2021-04-27T04:21:48Z dieggsy: still, i'm willing to give it a try and see how it stacks up i guess. meh 2021-04-27T04:23:25Z dieggsy: ..you can get multiple-value-bind completed from mvbind too. it's using some kind of fuzzy completion. 2021-04-27T04:23:41Z beach: dieggsy: Here is another thing you can try to compare between the two. Type (let ((hello and observe where the cursor is located. It is under the `e' in hello in SLIME. Now try (let ((prog1 and observe the cursor positionh. 2021-04-27T04:23:44Z beach: *position. 2021-04-27T04:24:24Z beach: dieggsy: My point is that multiple-value-bind should not be a suggestion since there is no such variable in scope. 2021-04-27T04:25:22Z dieggsy: beach: it's under the E in sly for the first example, under the g in the second 2021-04-27T04:25:34Z beach: And why on earth would it do that? 2021-04-27T04:25:51Z beach: PROG1 is a lexical variable introduced by LET and not a special operator. 2021-04-27T04:26:18Z beach: In fact, SLIME (or Emacs) nicely highlights the PROG1 for me as well, as if I should want that. 2021-04-27T04:26:37Z dieggsy: beach: wait, what does slime do 2021-04-27T04:27:02Z beach: It puts the cursor under the `g' and draws the prog1 in purple. 2021-04-27T04:27:08Z dieggsy: oh, ok. so the same 2021-04-27T04:27:19Z dieggsy: ....so your point is they're equally bad 2021-04-27T04:27:23Z beach: And I am asking, "why on earth would it do that? 2021-04-27T04:27:28Z beach: Yes. 2021-04-27T04:27:40Z dieggsy: which is fine. but i guess for you then, i'm asking: which is less bad? lol 2021-04-27T04:27:48Z beach: I was hoping that sly would be better as you said. 2021-04-27T04:28:07Z dieggsy: well, i only said that specifically completion seemed better out of the box 2021-04-27T04:28:42Z beach: Granted. 2021-04-27T04:29:01Z narimiran joined #lisp 2021-04-27T04:29:09Z dieggsy: beach: wait, so do you use emacs or slime at all in this case? 2021-04-27T04:29:22Z beach: But I have just had enough with substandard software, so I am not up to comparing badness. 2021-04-27T04:29:24Z dieggsy: we talkin like, command line repl + ed or something here? heh 2021-04-27T04:30:04Z beach: I am using Emacs + SLIME because that's the best I know, though perhaps SLY is better. But I am also working on creating something much better. 2021-04-27T04:31:10Z Nilby joined #lisp 2021-04-27T04:31:27Z beach: Every day, I also use a crappy operating system that is the best one available (as far as I know). 2021-04-27T04:32:14Z dieggsy: lol 2021-04-27T04:32:42Z dieggsy: this is all fine, but just like a let binds variables in a particular scope, we can ask questions within a particular practical scope 2021-04-27T04:33:12Z dieggsy: so you can have practical opinions and recommendations on existing software despite none of it being optimal 2021-04-27T04:33:18Z dieggsy: nothing ever will be if you go deep enough 2021-04-27T04:34:16Z beach: I think we can do much better than what we have, and I think my time is better spent trying to accomplish something better, than comparing several sub-optimal solutions. 2021-04-27T04:35:00Z beach: We can at least analyze the buffer contents as well as a compiler does. I don't see any reason to do worse than that. 2021-04-27T04:35:05Z dieggsy: that works when you have that time, but when you need to get something done now (or in the interim), you still need to compare the sub-optimal solutions 2021-04-27T04:35:53Z dieggsy: in fact, as you've stated, you're using those sub-optimal solutions to accomplish the better thing. so the question "which sub-optimal solution should i use" isn't a useless one 2021-04-27T04:36:18Z charles` joined #lisp 2021-04-27T04:37:31Z beach: Sure, however, if I estimate that the differences are small, then I would spend more time comparing than what they deserve, and that would take up time. So I would need some indication that the difference is significant before I take time to compare. 2021-04-27T04:37:47Z beach: That's why I asked you those questions. 2021-04-27T04:39:01Z nullman quit (Quit: leaving) 2021-04-27T04:39:28Z dieggsy: beach: and tbh, i do appreciate that, i learned some things along the way and gained useful insights about these tools, so cheers 2021-04-27T04:39:58Z beach: My point is also that, if everyone needs to get things "done now", then we are collectively going to waste a lot of time on sub-optimal tools. So it would be better if each one took a little time to improve the tools so that everyone could become more productive. 2021-04-27T04:40:46Z dieggsy: i think i'd agree on that. there's a line between practicality and complacency 2021-04-27T04:41:07Z nullman joined #lisp 2021-04-27T04:41:59Z ChoHag: Just saying, in all this time, you could have typed in 'bla' and moved on to figuring out how to make the computer guess what you're thinking of for the next expression. 2021-04-27T04:42:01Z luckless_ quit (Remote host closed the connection) 2021-04-27T04:42:25Z luckless_ joined #lisp 2021-04-27T04:44:07Z asarch quit (Read error: Connection reset by peer) 2021-04-27T04:44:08Z beach was apparently unable to get the message across, so will now be quiet. 2021-04-27T04:45:05Z Nilby: beach: I very much agree we can do better, and it's werid, because I'm usually very dissatisfied with it, but the completion I usually use in emacs (based on dabbrev-expand) expands to "multiple-value-bla" in that case. But I know it's cheating and I want it to be real syntax aware too. 2021-04-27T04:47:20Z Nilby: I've worked on parser based completion, but it too has a number of problems, and seems to be aided by statistical completion. 2021-04-27T04:48:01Z beach: Again, I don't see why the editor couldn't do what the compiler does in order to determine what is in scope. 2021-04-27T04:49:20Z dieggsy: ChoHag: lol 2021-04-27T04:49:38Z White_Flame: bla 2021-04-27T04:49:41Z Nilby: It should be able to, it's just not always what you want. But maybe it should be a first guess. 2021-04-27T04:49:49Z White_Flame: hmm, I'm no closer to advancing the state of things in such a time 2021-04-27T04:50:07Z White_Flame: I think I'm better off complaining & working as well 2021-04-27T04:50:11Z White_Flame: stay mad, folks 2021-04-27T04:50:12Z Nilby: After about (* 1000 bla) it starts to pay off though. 2021-04-27T04:51:37Z srhm quit (Quit: Konversation terminated!) 2021-04-27T04:51:45Z Nilby: or one hard to find bug based when you typed multiple-value-ble instead 2021-04-27T04:52:18Z ChoHag: See, everyone always concentrates on the 'bla' and disregards the rest. 2021-04-27T04:52:59Z Nilby: Also multiply the time saved by all the other people that can use your better completion. 2021-04-27T04:53:05Z ChoHag: I'm working on this, fwiw, by removing as far as possible the distinction between editor and compiler. 2021-04-27T04:54:21Z dieggsy: ChoHag: I dunno if you're being serious but that's a fascinating statement 2021-04-27T04:54:35Z ChoHag: I am. 2021-04-27T04:55:11Z Nilby: ChoHag: I'm pretty sure that's what beach is working towards too. 2021-04-27T04:55:33Z ChoHag: Sounds like he's working on something out of the ordinary, certainly. 2021-04-27T04:55:52Z ChoHag: That's good. We need unorthodox ideas. 2021-04-27T04:56:39Z charles` quit (Ping timeout: 245 seconds) 2021-04-27T04:57:03Z ChoHag: Unfortunately I'm surrounded by huge, shaggy yaks and my razor is blunt. 2021-04-27T04:58:56Z Nilby: ChoHag: Same. The weight of yaks sitting on your average developer, or even lispers, is nearly crushing. 2021-04-27T04:58:57Z ChoHag: Also fwiw, the point of my snide comment was not "type bla and move on" but of the larger question of trying to make the computer guess what you want with(out) giving it context. 2021-04-27T04:59:28Z ChoHag: And that in that game, tab-completion is kicking the tires. 2021-04-27T05:00:28Z ChoHag: Well it's emacs, so it's control-c-control-i-completion. 2021-04-27T05:02:17Z ChoHag: Nilby: One particularly frustrating problem, and ironic since I'm doing exactly that, is the way perfectly good code remains unused while a new implementation gets written. 2021-04-27T05:03:44Z White_Flame: and that's the point of sicl if I understand correctly 2021-04-27T05:04:04Z Nilby: Agree. There's also a large weight of good but forgotten code, that's too overwhelming for me to think about. 2021-04-27T05:04:04Z monolithic joined #lisp 2021-04-27T05:07:41Z karlosz joined #lisp 2021-04-27T05:08:38Z Spawns_Carpeting quit (Ping timeout: 252 seconds) 2021-04-27T05:09:17Z frost-lab quit (Ping timeout: 246 seconds) 2021-04-27T05:10:34Z fiddlerwoaroof: At one point I realized that many people don't use: https://github.com/anwyn/slime-company 2021-04-27T05:11:32Z fiddlerwoaroof: It doesn't distinguish between operator and arugment positions and it's annoying in a couple ways, but its main advantage is that it works by querying your lisp system to determine what symbols are available 2021-04-27T05:12:04Z dieggsy: ah, i actually am using that with slime 2021-04-27T05:12:16Z DHARMAKAYA joined #lisp 2021-04-27T05:12:33Z fiddlerwoaroof: cool, I shared it somewhere at one point and was surprised by the people who didn't know about it 2021-04-27T05:12:37Z karlosz quit (Ping timeout: 265 seconds) 2021-04-27T05:12:52Z anticrisis quit (Read error: Connection reset by peer) 2021-04-27T05:13:44Z ChoHag: fiddlerwoaroof: That's exactly the sort of thing I mean. 2021-04-27T05:13:44Z fiddlerwoaroof: I'd really like a better completion system, but it seems to me that any particular strategy for completions is going to have annoying edge cases 2021-04-27T05:14:34Z ChoHag: It should be unthinkable that the system doesn't somehow make slime users aware that slime-company is available, at least. 2021-04-27T05:14:47Z anticrisis joined #lisp 2021-04-27T05:14:51Z ChoHag: But without going full xanadu. 2021-04-27T05:14:54Z fiddlerwoaroof: I don't know how you solve that problem 2021-04-27T05:15:13Z fiddlerwoaroof: I have all sorts of handy utilities on my laptop that no one can use because I haven't advertised them :) 2021-04-27T05:15:32Z ChoHag: They're not available then are they? 2021-04-27T05:15:55Z fiddlerwoaroof: slime-company is easy enough to find using normal emacs commands, though 2021-04-27T05:16:02Z ChoHag: No we don't need the internet to become telepathic. 2021-04-27T05:16:11Z fiddlerwoaroof: C-h P slime... 2021-04-27T05:17:09Z moon-child: ChoHag: what's wrong with xanadu? :P 2021-04-27T05:18:05Z no-defun-allowed: It's still virtual paper. 2021-04-27T05:18:23Z fiddlerwoaroof: The other difficulty with completion is that sometimes text-based completion is better 2021-04-27T05:18:59Z fiddlerwoaroof: If I have three symbols with somewhat conventional names, after I type foo-a, foo- completing foo-a makes it easier to input foo-b 2021-04-27T05:19:54Z fiddlerwoaroof: even though the completion is actually wrong, it's more useful than showing me either nothing (because I'm in a let and foo-a is a parallel binding) or some random symbol. 2021-04-27T05:20:51Z Spawns_Carpeting joined #lisp 2021-04-27T05:21:30Z gaqwas joined #lisp 2021-04-27T05:21:30Z gaqwas quit (Changing host) 2021-04-27T05:21:30Z gaqwas joined #lisp 2021-04-27T05:22:20Z fiddlerwoaroof: One thing I'd like is the ability to write code into the buffer with #1# and #1= and then tell emacs to "expand" the reader macros 2021-04-27T05:22:51Z quazimodo joined #lisp 2021-04-27T05:22:59Z Jachy quit (Quit: Leaving.) 2021-04-27T05:23:02Z fiddlerwoaroof: It wouldn't be safe because it'd break identity, but it'd be pretty useful in some situations. 2021-04-27T05:23:30Z moon-child: I'm inclined to say that if you need to duplicate enough code that that would be useful, you're probably doing something wrong anyway 2021-04-27T05:23:53Z fiddlerwoaroof: I do it mostly in the slime repl 2021-04-27T05:24:08Z fiddlerwoaroof: Things like #.(cons 'foo (cdr +)) 2021-04-27T05:24:52Z fiddlerwoaroof: Also, there's a bunch of places where that sort of editing shortcut would just be nice 2021-04-27T05:27:11Z Nilby: Heh. My repl does that. It's easy to add to any repl. 2021-04-27T05:28:25Z Nilby: just bind a key that does (write-to-stirng (read)) 2021-04-27T05:29:09Z fiddlerwoaroof: Yeah, also doing + will show the expansion 2021-04-27T05:30:23Z zefram22 joined #lisp 2021-04-27T05:30:51Z Nilby: or just press the key, then undo 2021-04-27T05:43:03Z Jachy joined #lisp 2021-04-27T05:46:44Z orivej joined #lisp 2021-04-27T05:47:00Z thomasb06 joined #lisp 2021-04-27T05:53:36Z DHARMAKAYA quit (Read error: Connection reset by peer) 2021-04-27T05:53:49Z varjag joined #lisp 2021-04-27T06:04:41Z dieggsy: i wonder if there's any real reason that scriptl should be using C (C++ ? ) 2021-04-27T06:04:55Z dieggsy: it's a very cool idea broken though it may be 2021-04-27T06:05:02Z dieggsy: be interesting if it could be ported fully to CL 2021-04-27T06:09:05Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-27T06:09:52Z tempest_nox quit (Read error: Connection reset by peer) 2021-04-27T06:10:52Z irc_user joined #lisp 2021-04-27T06:11:16Z remby left #lisp 2021-04-27T06:14:02Z varjag quit (Ping timeout: 246 seconds) 2021-04-27T06:14:07Z jlarocco: In the Slime REPL, when I run (ql:quickload :my-package) where my-package has a syntax error, or some other failure, is there a shortcut or function to jump to the source code location causing the problem? 2021-04-27T06:16:38Z andrei-n joined #lisp 2021-04-27T06:17:22Z Jachy quit (Quit: Leaving.) 2021-04-27T06:20:54Z jlarocco: If I compile the file with C-c C-k, I can use next-error and previous-error to jump to the location that caused the problem, but that doesn't seem to work using (ql:quickload) from Slime 2021-04-27T06:22:37Z theothornhill joined #lisp 2021-04-27T06:22:51Z shka_ joined #lisp 2021-04-27T06:25:19Z johannes_ joined #lisp 2021-04-27T06:26:59Z gaqwas quit (Ping timeout: 246 seconds) 2021-04-27T06:28:51Z karlosz joined #lisp 2021-04-27T06:43:26Z zefram22 quit (Ping timeout: 246 seconds) 2021-04-27T06:49:53Z mgiraud joined #lisp 2021-04-27T06:50:29Z random-nick joined #lisp 2021-04-27T06:54:14Z mgiraud quit (Ping timeout: 252 seconds) 2021-04-27T06:54:15Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T06:54:29Z amb007 joined #lisp 2021-04-27T06:54:36Z andreyorst quit (Ping timeout: 265 seconds) 2021-04-27T06:55:13Z no-defun-allowed: Re-reading the Early History of Smalltalk, this statement could be read as in favour of generic functions and/or method combination: "And we soon discovered that "prototypes" were more hospitable than classes, and that multiple inheritance would be well served if there were classes for methods that knew generally what they were supposed to be about (inspired by Pat Winston's 2nd order models)." 2021-04-27T06:55:25Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T06:55:53Z amb007 joined #lisp 2021-04-27T06:56:09Z andreyorst joined #lisp 2021-04-27T06:56:18Z Jachy joined #lisp 2021-04-27T06:58:09Z karlosz quit (Quit: karlosz) 2021-04-27T06:58:16Z theothornhill quit (Read error: Connection reset by peer) 2021-04-27T06:59:46Z z0d joined #lisp 2021-04-27T07:01:35Z Lycurgus joined #lisp 2021-04-27T07:02:26Z theothornhill joined #lisp 2021-04-27T07:11:41Z imode quit (Ping timeout: 240 seconds) 2021-04-27T07:13:16Z karlosz joined #lisp 2021-04-27T07:13:33Z surabax joined #lisp 2021-04-27T07:14:25Z mathrick_ quit (Ping timeout: 265 seconds) 2021-04-27T07:17:31Z pillton: I don't understand how "functions" coupled with state got so far. I am referring to the syntax for application and their declaration/definition. 2021-04-27T07:19:25Z heisig joined #lisp 2021-04-27T07:20:13Z orivej quit (Ping timeout: 265 seconds) 2021-04-27T07:20:37Z Lycurgus: fwiw, smalltalk doesn't have multiple inheritance 2021-04-27T07:21:02Z ljavorsk joined #lisp 2021-04-27T07:21:12Z Lycurgus: pillton that reminds me of when I once asked my mother if they had electricity when she was a child 2021-04-27T07:21:43Z Lycurgus: mutatis mutandis, what did people do before strict FP? 2021-04-27T07:21:52Z kevingal joined #lisp 2021-04-27T07:23:58Z mathrick_ joined #lisp 2021-04-27T07:24:41Z srandon111 quit (Ping timeout: 240 seconds) 2021-04-27T07:24:45Z Lycurgus: in fact before haskell, and erlang (outside switches), when strict FP meant ML, it (strict FP) was considered a useless academic toy 2021-04-27T07:25:43Z Lycurgus: strict/pure whatever;strict properly contrasts with lazy at this point 2021-04-27T07:26:15Z Lycurgus: language is not exactly ur friend 2021-04-27T07:27:21Z hiroaki joined #lisp 2021-04-27T07:29:32Z Lycurgus: it also makes it sound like langs with full referential transparency were now the norm which is hardly the case 2021-04-27T07:29:58Z Lycurgus: rather there's a pervasive FP fad of sorts 2021-04-27T07:31:01Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-27T07:31:17Z Spawns_Carpeting joined #lisp 2021-04-27T07:33:11Z __jrjsmrtn__ joined #lisp 2021-04-27T07:35:56Z _jrjsmrtn quit (Ping timeout: 260 seconds) 2021-04-27T07:38:20Z srandon111 joined #lisp 2021-04-27T07:46:08Z Lycurgus quit (Quit: Exeunt) 2021-04-27T07:52:06Z phoe: jlarocco: compile with debug 3, then the backtrace will have a green-colored frame that shows the form beind compiled 2021-04-27T07:52:16Z phoe: from there you can jump to source location of that frame 2021-04-27T07:56:56Z shifty quit (Ping timeout: 246 seconds) 2021-04-27T07:57:15Z shifty joined #lisp 2021-04-27T08:03:15Z rixard quit 2021-04-27T08:06:52Z tophullyte quit (Ping timeout: 252 seconds) 2021-04-27T08:09:23Z zzappie joined #lisp 2021-04-27T08:09:31Z easye quit (Remote host closed the connection) 2021-04-27T08:10:45Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-27T08:10:52Z zzappie quit (Remote host closed the connection) 2021-04-27T08:11:12Z zzappie joined #lisp 2021-04-27T08:12:29Z loskutak joined #lisp 2021-04-27T08:14:14Z hendursaga joined #lisp 2021-04-27T08:14:53Z sz0 joined #lisp 2021-04-27T08:15:30Z easye joined #lisp 2021-04-27T08:15:41Z karlosz quit (Remote host closed the connection) 2021-04-27T08:15:41Z anticrisis quit (Read error: Connection reset by peer) 2021-04-27T08:18:40Z White_Flame quit (Quit: No Ping reply in 180 seconds.) 2021-04-27T08:20:05Z White_Flame joined #lisp 2021-04-27T08:24:34Z pillton quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-27T08:27:31Z tgbugs quit (Ping timeout: 260 seconds) 2021-04-27T08:27:41Z gigamonkey quit (Remote host closed the connection) 2021-04-27T08:27:58Z tgbugs joined #lisp 2021-04-27T08:28:05Z gigamonkey joined #lisp 2021-04-27T08:31:00Z pbgc joined #lisp 2021-04-27T08:38:15Z dhil joined #lisp 2021-04-27T08:43:41Z Jesin quit (Ping timeout: 240 seconds) 2021-04-27T08:55:26Z rdd quit (Ping timeout: 240 seconds) 2021-04-27T08:58:19Z frost-lab joined #lisp 2021-04-27T08:59:09Z hypercube quit (Ping timeout: 245 seconds) 2021-04-27T09:03:08Z Jachy quit (Remote host closed the connection) 2021-04-27T09:03:14Z lotuseater joined #lisp 2021-04-27T09:15:37Z theothornhill quit (Ping timeout: 260 seconds) 2021-04-27T09:15:49Z theothornhill joined #lisp 2021-04-27T09:18:52Z Krystof quit (Ping timeout: 240 seconds) 2021-04-27T09:21:59Z gigamonkey quit (Ping timeout: 246 seconds) 2021-04-27T09:30:20Z saganman joined #lisp 2021-04-27T09:40:03Z scymtym quit (Remote host closed the connection) 2021-04-27T09:40:13Z epony quit (Ping timeout: 240 seconds) 2021-04-27T09:46:38Z shifty quit (Remote host closed the connection) 2021-04-27T09:47:04Z pjb: moon-child: structural editors feel like straight jacket. I like the flexibility of emacs, allowing you to work at the character level as well as structurally thru things like paredit. It's a nice compromise IMO. 2021-04-27T09:47:26Z shifty joined #lisp 2021-04-27T09:48:11Z irc_user quit (Quit: Connection closed for inactivity) 2021-04-27T09:52:52Z beach: pjb: That would be a "straitjacket". 2021-04-27T09:53:30Z beach: But yes, now that we can parse the buffer contents incrementally, using the Common Lisp reader, I don't think there is any need for such restrictions. 2021-04-27T09:53:53Z pjb: Oh! Thanks. :-) 2021-04-27T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-27T10:01:33Z albusp quit (Remote host closed the connection) 2021-04-27T10:01:53Z albusp joined #lisp 2021-04-27T10:07:08Z Stanley00 quit 2021-04-27T10:08:52Z shifty quit (Ping timeout: 240 seconds) 2021-04-27T10:09:13Z shifty joined #lisp 2021-04-27T10:12:44Z saganman is now known as notsaganman 2021-04-27T10:13:09Z frgo quit (Remote host closed the connection) 2021-04-27T10:13:32Z frgo joined #lisp 2021-04-27T10:17:03Z orivej joined #lisp 2021-04-27T10:18:46Z shifty quit (Ping timeout: 240 seconds) 2021-04-27T10:19:00Z splittist: You speak as if editing at the repl with SUBST and SETF CXXR isn't optimal... 2021-04-27T10:23:19Z flip214: splittist: yeah, ed for the win!! 2021-04-27T10:26:48Z notsaganman is now known as saganman 2021-04-27T10:33:38Z pjb: if you have automatic editing to do, why not. But otherwise, consider something like sedit. 2021-04-27T10:33:52Z pjb: http://informatimago.com/develop/lisp/com/informatimago/small-cl-pgms/sedit/index.html 2021-04-27T10:34:14Z pjb: A true structural editor for sexps. 2021-04-27T10:34:53Z pjb: It's ed-like but the same could be done vi- or emacs-like with nice key bindings. 2021-04-27T10:35:25Z pjb: paredit approaches it, while leaving the character basis. We could implement a sedit in emacs, purely structural. 2021-04-27T10:39:16Z andrei-n quit (Ping timeout: 268 seconds) 2021-04-27T10:40:17Z Jesin joined #lisp 2021-04-27T10:40:47Z andrei-n joined #lisp 2021-04-27T10:40:51Z zupss quit (Quit: leaving) 2021-04-27T10:40:59Z jello_pudding quit (Ping timeout: 260 seconds) 2021-04-27T10:45:38Z jello_pudding joined #lisp 2021-04-27T10:45:44Z vegansbane6963 joined #lisp 2021-04-27T10:51:48Z zupss joined #lisp 2021-04-27T10:57:27Z trokotech quit (Remote host closed the connection) 2021-04-27T11:01:33Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-27T11:03:56Z hendursaga joined #lisp 2021-04-27T11:10:43Z flazh joined #lisp 2021-04-27T11:17:34Z zzappie quit (Remote host closed the connection) 2021-04-27T11:17:56Z zzappie joined #lisp 2021-04-27T11:22:29Z contrapunctus left #lisp 2021-04-27T11:25:58Z contrapunctus joined #lisp 2021-04-27T11:33:14Z andrei-n quit (Quit: Leaving) 2021-04-27T11:38:19Z idxu quit (Quit: ZNC - https://znc.in) 2021-04-27T11:38:35Z idxu joined #lisp 2021-04-27T11:42:11Z f4r59 quit (Read error: Connection reset by peer) 2021-04-27T11:44:06Z Duuqnd joined #lisp 2021-04-27T11:45:34Z loskutak quit (Quit: WeeChat 3.1) 2021-04-27T11:45:46Z Iolo quit (Ping timeout: 240 seconds) 2021-04-27T11:48:46Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T11:48:56Z amb007 joined #lisp 2021-04-27T11:51:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T11:51:11Z amb007 joined #lisp 2021-04-27T11:53:36Z Iolo joined #lisp 2021-04-27T11:55:12Z heisig quit (Quit: Leaving) 2021-04-27T12:02:00Z Bike joined #lisp 2021-04-27T12:10:49Z ljavorsk quit (Ping timeout: 245 seconds) 2021-04-27T12:10:52Z amb007 quit (Ping timeout: 240 seconds) 2021-04-27T12:11:29Z amb007 joined #lisp 2021-04-27T12:16:09Z zefram22 joined #lisp 2021-04-27T12:17:19Z orivej quit (Ping timeout: 268 seconds) 2021-04-27T12:21:32Z andrei-n joined #lisp 2021-04-27T12:26:29Z johannes_ quit (Quit: leaving) 2021-04-27T12:28:47Z simplegauss quit (Ping timeout: 260 seconds) 2021-04-27T12:29:11Z sabra quit (Quit: Konversation terminated!) 2021-04-27T12:29:47Z pbgc quit (Quit: Computer has gone to sleep.) 2021-04-27T12:30:11Z sveit quit (Ping timeout: 248 seconds) 2021-04-27T12:30:43Z thonkpod quit (Ping timeout: 248 seconds) 2021-04-27T12:31:25Z random-nick quit (Quit: quit) 2021-04-27T12:32:20Z random-nick joined #lisp 2021-04-27T12:36:55Z saganman quit (Ping timeout: 252 seconds) 2021-04-27T12:37:58Z pbgc joined #lisp 2021-04-27T12:43:15Z saganman joined #lisp 2021-04-27T12:44:31Z sveit joined #lisp 2021-04-27T12:45:00Z simplegauss joined #lisp 2021-04-27T12:48:15Z hypercube joined #lisp 2021-04-27T12:50:44Z nij joined #lisp 2021-04-27T12:51:08Z nij: Hello! I found that a script "dictionary" I wrote hasn't been working for a while.. but failed to see why's that the case: https://bpa.st/UILA 2021-04-27T12:53:27Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T12:54:13Z scymtym joined #lisp 2021-04-27T12:55:09Z amb007 joined #lisp 2021-04-27T12:55:18Z beach: You don't exactly give the output that would tell us why. But one hint is that ASDF by default converts warnings to errors that will prevent the compilation from finishing properly. You may want to change that default. 2021-04-27T12:56:08Z thonkpod joined #lisp 2021-04-27T12:57:14Z nij: Err. whatelse output should I provide? This is the debugging message after I run (ql:quickload :dictionary) 2021-04-27T12:58:30Z beach: Try putting this in your .sbclrc: (setf asdf:*compile-file-failure-behaviour* :ignore) 2021-04-27T13:01:14Z sveit quit (Ping timeout: 245 seconds) 2021-04-27T13:01:27Z simplegauss quit (Ping timeout: 260 seconds) 2021-04-27T13:01:46Z nij: Thanks! I now see the bug, and have fixed it. 2021-04-27T13:02:04Z nij: Should I leave that line in my .sbclrc? Or just to turn that on when it's needed? 2021-04-27T13:02:23Z thonkpod quit (Ping timeout: 260 seconds) 2021-04-27T13:02:51Z beach: I have mine in there permanently. 2021-04-27T13:03:08Z nij: Good-fu! Thanks :-) 2021-04-27T13:03:25Z beach: Sure. 2021-04-27T13:08:11Z random-nick quit (Quit: quit) 2021-04-27T13:09:12Z rixard joined #lisp 2021-04-27T13:10:40Z random-nick joined #lisp 2021-04-27T13:12:21Z nij quit (Remote host closed the connection) 2021-04-27T13:13:20Z zefram22 quit (Ping timeout: 246 seconds) 2021-04-27T13:15:32Z epony joined #lisp 2021-04-27T13:20:34Z zupss is now known as zups 2021-04-27T13:20:58Z simplegauss joined #lisp 2021-04-27T13:21:01Z sveit joined #lisp 2021-04-27T13:21:11Z klltkr joined #lisp 2021-04-27T13:25:50Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-27T13:27:06Z thonkpod joined #lisp 2021-04-27T13:29:21Z Josh_2 joined #lisp 2021-04-27T13:34:17Z varjag joined #lisp 2021-04-27T13:34:45Z xkapastel joined #lisp 2021-04-27T13:38:14Z Lycurgus joined #lisp 2021-04-27T13:39:43Z hypercube quit (Ping timeout: 260 seconds) 2021-04-27T13:50:03Z beach: phoe: Are you the one in charge of the streaming for ELS? If so, what is the deadline for uploading the talk? 2021-04-27T13:51:29Z nicktick joined #lisp 2021-04-27T13:57:09Z Josh_2: Hey 2021-04-27T13:57:33Z Josh_2: Can someone show me an example of them using (declare (dynamic-extent )) ? 2021-04-27T13:59:33Z beach: There are several examples in the Common Lisp HyperSpec. 2021-04-27T13:59:41Z beach: clhs dynamic-extent 2021-04-27T13:59:41Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/d_dynami.htm 2021-04-27T14:01:05Z Josh_2: yes but the examples are just trivial 2021-04-27T14:01:34Z Bike: what do you want to do that the examples don't cover? 2021-04-27T14:01:36Z Josh_2: Was wondering if someone could show me an example in real code where they have used it to get a performance increase 2021-04-27T14:02:17Z lotuseater: Josh_2: this is something which I still don't get ^^ got to know this after reading the Google Common Lisp style guide 2021-04-27T14:03:52Z pjb: Josh_2: here is an example: https://termbin.com/iqq4 2021-04-27T14:04:00Z Nilby: Josh_2: alexandria has examples 2021-04-27T14:04:05Z wsinatra joined #lisp 2021-04-27T14:04:19Z pjb: Josh_2: https://termbin.com/sd72 2021-04-27T14:04:41Z Bike: i mean, honestly, there's not much to it. if you make an object and you know it won't escape you can declare it dynamic-extent to hint to the compiler to stack allocate 2021-04-27T14:04:51Z Bike: that's it. knowing when something escapes can be complicated, tho. 2021-04-27T14:05:01Z pjb: the use of the guard cons cell lets you avoid a special case when you have to insert at the before the first element of the list. However, this cons cell is a temporary cons cell that won't be needed once the function returns. 2021-04-27T14:05:12Z lotuseater: had the thought it could be useful if you loop many times and create each time new data in a DO clause 2021-04-27T14:05:24Z pjb: Josh_2: therefore it can be declared dynamic-extend and the implementation could allocate it on the stack instead of the heap. 2021-04-27T14:06:26Z pjb: It's dangerous to write dynamic-extend declarations, because in maintenance, the status of the object could change! It's better to let the compiler determine it itself, without error. 2021-04-27T14:07:57Z orivej joined #lisp 2021-04-27T14:08:23Z Nilby: I would only use a dynamic-extent declaration where it was demonstrated to make speed critical code faster. 2021-04-27T14:08:53Z Sheilong joined #lisp 2021-04-27T14:12:47Z trokotech joined #lisp 2021-04-27T14:14:33Z hypercube joined #lisp 2021-04-27T14:16:42Z waleee-cl joined #lisp 2021-04-27T14:17:02Z fengshaun quit (Quit: bibi!) 2021-04-27T14:17:52Z fengshaun joined #lisp 2021-04-27T14:21:41Z wooden quit (Ping timeout: 265 seconds) 2021-04-27T14:24:14Z Lycurgus quit (Quit: Exeunt) 2021-04-27T14:25:21Z wooden joined #lisp 2021-04-27T14:25:21Z wooden quit (Changing host) 2021-04-27T14:25:21Z wooden joined #lisp 2021-04-27T14:27:10Z frost-lab quit (Quit: Connection closed) 2021-04-27T14:37:55Z hypercube quit (Quit: WeeChat 3.1) 2021-04-27T14:38:02Z jeosol quit (Ping timeout: 240 seconds) 2021-04-27T14:43:54Z hypercube joined #lisp 2021-04-27T14:46:26Z luckless joined #lisp 2021-04-27T14:47:32Z Sauvin quit (Read error: Connection reset by peer) 2021-04-27T14:47:39Z Josh_2: Thanks for the responses 2021-04-27T14:49:33Z luckless_ quit (Ping timeout: 240 seconds) 2021-04-27T14:51:27Z sauvin joined #lisp 2021-04-27T15:05:09Z varjag quit (Quit: ERC (IRC client for Emacs 26.3)) 2021-04-27T15:06:59Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-27T15:16:03Z nnni joined #lisp 2021-04-27T15:18:03Z srhm joined #lisp 2021-04-27T15:20:34Z srandon111 left #lisp 2021-04-27T15:22:36Z nnni: Is it possible to find out the size of a compiled function? 2021-04-27T15:23:27Z Bike: not portably 2021-04-27T15:23:47Z nnni: Is there a SBCL specific solution? 2021-04-27T15:24:40Z Bike: hm, dunno. it's a bit of an involved question. for a closure the code will be sort of separate from the closure vector, for example 2021-04-27T15:25:42Z phoe: beach: I am in charge of streaming; I don't know if we have an established deadline, heisig will know that as the programme chair 2021-04-27T15:26:04Z phoe: personally I will be happy if you give it to me before the weekend 2021-04-27T15:26:13Z phoe: but I do not know if heisig has any additional constraints on top of that 2021-04-27T15:26:16Z beach: OK, good to know. Thanks. 2021-04-27T15:27:32Z Bike: i guess you'd do sb-kernel:fun-code-header, and then look at the... there's a "code-size" and a "text-size". couldn't tell you what they are. 2021-04-27T15:27:43Z Bike: and obviously these are unstable internal interfaces. why do you want to do this? 2021-04-27T15:31:31Z nnni: Bike: I am compiling some data into closures. I want to see the differences b/w (data+runtime functions) and closures implementations. 2021-04-27T15:32:27Z Bike: well, again, closures aren't stored as one thing. if you have multiple closures of the same function, in basically any implementation they'll all share the same code 2021-04-27T15:32:28Z nnni: If you have access to OnLisp book, chapter 6. 2021-04-27T15:32:41Z Bike: and code is usually separate from data 2021-04-27T15:34:22Z nnni: I want to see how the size of closures grows with the size of input data. 2021-04-27T15:34:50Z Bike: the size of the closures is a different question from the size of the function 2021-04-27T15:35:26Z Bike: generally speaking closures are represented with a simple vector. there will be an entry for each thing closed over. 2021-04-27T15:35:58Z Nilby: Perhaps a more portable and comprehensive way is to look at (room) differences under controled conditions, e.g. making sure gc is done. 2021-04-27T15:36:22Z Bike: i don't think i'm explaining this well, sorry. What I mean is that the code - the executable code I mean - is stored separately from the closure data. That's what I meant by the size of the closure versus the size of the function. 2021-04-27T15:38:27Z nnni: So it will be hard to inspect just the executable part of the closure? 2021-04-27T15:38:38Z saganman quit (Read error: Connection reset by peer) 2021-04-27T15:39:04Z Bike: well it sounds like you're not actually interested in the executable size, since that's a fixed cost, unlike the actual closed over data, which every closure instance will have its own copy of 2021-04-27T15:39:43Z Bike: i'd say the basic guide here is that you can expect (let ((a x) (b y)) (lambda (n) (if n a b))) and (vector a b) to take up rougly the same amount of space, plus the closure has the fixed space of the code 2021-04-27T15:40:30Z saganman joined #lisp 2021-04-27T15:40:59Z varjag joined #lisp 2021-04-27T15:44:42Z nnni: Bike: Thank You. 2021-04-27T15:46:37Z phoe: nnni: just the executable part of the closure? hmmm 2021-04-27T15:46:43Z phoe: I guess that #'disassemble is going to tell you that 2021-04-27T15:46:47Z phoe: like, the total assembly size 2021-04-27T15:47:13Z nnni: phoe: dissassemble is not giving me that 2021-04-27T15:47:47Z nnni: It is showing some 14 bytes for a function of considerable size. 2021-04-27T15:48:34Z phoe: nnni: https://plaster.tymoon.eu/view/2408#2408 2021-04-27T15:48:41Z phoe: 30 bytes in this trivial case 2021-04-27T15:48:48Z phoe: and there is indeed 30 bytes of code in there 2021-04-27T15:49:44Z phoe: ...why is there #'disassemble in that code though 2021-04-27T15:50:35Z phoe: huh 2021-04-27T15:50:40Z phoe: this smells like a SBCL bug 2021-04-27T15:53:01Z nnni: Try something complicated like 2021-04-27T15:53:04Z nnni: (disassemble (let ((x 42)) (lambda () (loop :for i :from 0 :upto x :do (princ i))))) 2021-04-27T15:53:24Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-27T15:53:57Z yonkunas joined #lisp 2021-04-27T15:57:48Z cage_ joined #lisp 2021-04-27T15:58:40Z cosimone joined #lisp 2021-04-27T15:59:57Z heisig joined #lisp 2021-04-27T16:03:49Z phoe: that's a bug in SBCL 2021-04-27T16:04:04Z phoe: I bet $5 2021-04-27T16:04:26Z Nilby: I think it knows the lambda is trapped 2021-04-27T16:04:27Z phoe took it to #sbcl 2021-04-27T16:05:43Z heisig quit (Quit: Leaving) 2021-04-27T16:05:59Z IPmonger_ quit (Quit: ZNC 1.7.5+deb4 - https://znc.in) 2021-04-27T16:07:18Z IPmonger joined #lisp 2021-04-27T16:08:25Z imode joined #lisp 2021-04-27T16:10:07Z zaquest quit (Quit: Leaving) 2021-04-27T16:11:09Z zaquest joined #lisp 2021-04-27T16:21:54Z cosimone quit (Read error: Connection reset by peer) 2021-04-27T16:21:58Z hiroaki joined #lisp 2021-04-27T16:24:37Z contrapunctus left #lisp 2021-04-27T16:25:04Z contrapunctus joined #lisp 2021-04-27T16:25:05Z heisig joined #lisp 2021-04-27T16:25:33Z nnni quit (Quit: leaving) 2021-04-27T16:26:00Z slyrus joined #lisp 2021-04-27T16:27:09Z slyrus quit (Remote host closed the connection) 2021-04-27T16:31:55Z thomasb06 quit (Remote host closed the connection) 2021-04-27T16:33:24Z gitgood joined #lisp 2021-04-27T16:40:43Z f4r59 joined #lisp 2021-04-27T16:42:13Z mindCrime_ joined #lisp 2021-04-27T16:43:28Z narimiran quit (Ping timeout: 252 seconds) 2021-04-27T16:45:19Z slyrus joined #lisp 2021-04-27T16:49:42Z slyrus quit (Ping timeout: 252 seconds) 2021-04-27T16:53:58Z zups quit (Quit: WeeChat 2.3) 2021-04-27T16:54:19Z heisig quit (Quit: Leaving) 2021-04-27T16:54:19Z zups joined #lisp 2021-04-27T16:55:10Z Krystof joined #lisp 2021-04-27T17:07:21Z phoe: hello, this is a message from the European Lisp Symposium organizational team 2021-04-27T17:07:30Z phoe: During this year's ELS, we will be selling prints and hosting an auction of the original of The Y Combinator Codex, a 42cm x 240cm calligraphy piece. 2021-04-27T17:07:37Z phoe: All proceeds from the auction and print sales made during the two days of ELS (sans printing and shipping costs) will be split evenly and donated to the following organizations, earmarked as money for promotion and development of the respective Lisp languages and their implementations: 2021-04-27T17:07:46Z phoe: Free Software Foundation (elisp), Clojurists Together (clojure), Common Lisp Foundation (cl), Software Freedom Conservancy (Racket), and ACM SIGPLAN (earmarked as scholarships for the ICFP Scheme Workshop). 2021-04-27T17:07:52Z phoe: There's photos: https://www.reddit.com/r/LispMemes/comments/l5f4n9/the_y_combinator_codex_but_its_actually/ and a small-res scan: https://cdn.discordapp.com/attachments/532344856731975690/836296248528732170/y-combinator-codex-micro.jpg 2021-04-27T17:07:57Z phoe: this is the end of the message 2021-04-27T17:16:44Z slyrus joined #lisp 2021-04-27T17:17:45Z narimiran joined #lisp 2021-04-27T17:17:46Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T17:17:54Z amb007 joined #lisp 2021-04-27T17:18:50Z long4mud joined #lisp 2021-04-27T17:18:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T17:19:29Z amb007 joined #lisp 2021-04-27T17:21:25Z slyrus quit (Ping timeout: 260 seconds) 2021-04-27T17:21:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T17:22:08Z amb007 joined #lisp 2021-04-27T17:24:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T17:26:44Z amb007 joined #lisp 2021-04-27T17:28:15Z mindCrime_ quit (Ping timeout: 265 seconds) 2021-04-27T17:29:34Z cage_: phoe, how can the people partecipate at the auction? 2021-04-27T17:30:04Z tophullyte joined #lisp 2021-04-27T17:33:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T17:34:28Z amb007 joined #lisp 2021-04-27T17:35:58Z dieggsy: damn, be nice if it had a less distracting background 2021-04-27T17:39:11Z phoe: cage_: there'll be a web app for that, announced during the conference 2021-04-27T17:41:04Z johnjay quit (Ping timeout: 252 seconds) 2021-04-27T17:43:16Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T17:43:19Z johnjay joined #lisp 2021-04-27T17:43:48Z amb007 joined #lisp 2021-04-27T17:49:19Z aeth quit (Ping timeout: 252 seconds) 2021-04-27T17:50:25Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T17:50:51Z amb007 joined #lisp 2021-04-27T17:51:03Z aeth joined #lisp 2021-04-27T17:52:59Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T17:53:19Z amb007 joined #lisp 2021-04-27T17:55:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T17:55:59Z amb007 joined #lisp 2021-04-27T18:01:34Z gaqwas joined #lisp 2021-04-27T18:02:46Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T18:03:11Z amb007 joined #lisp 2021-04-27T18:07:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T18:07:52Z amb007 joined #lisp 2021-04-27T18:09:49Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T18:09:57Z amb007 joined #lisp 2021-04-27T18:10:57Z cage_: phoe, thanks!! 2021-04-27T18:11:33Z skapata joined #lisp 2021-04-27T18:19:29Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T18:20:00Z amb007 joined #lisp 2021-04-27T18:20:57Z eschatologist_ joined #lisp 2021-04-27T18:20:58Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T18:21:15Z amb007 joined #lisp 2021-04-27T18:21:21Z gum_ joined #lisp 2021-04-27T18:21:26Z ecraven- joined #lisp 2021-04-27T18:22:45Z xi joined #lisp 2021-04-27T18:23:38Z leeren_ joined #lisp 2021-04-27T18:23:50Z flip214_ joined #lisp 2021-04-27T18:24:15Z theothornhill joined #lisp 2021-04-27T18:24:23Z jibanes_ joined #lisp 2021-04-27T18:25:25Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T18:25:45Z amb007 joined #lisp 2021-04-27T18:27:49Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T18:28:22Z santiagopim[m]1 joined #lisp 2021-04-27T18:28:25Z kreyren quit (Ping timeout: 276 seconds) 2021-04-27T18:28:25Z FennecCode quit (Ping timeout: 276 seconds) 2021-04-27T18:28:26Z tweet[m] quit (Ping timeout: 276 seconds) 2021-04-27T18:28:26Z arcontethegreat[ quit (Ping timeout: 276 seconds) 2021-04-27T18:28:26Z eschatologist quit (Ping timeout: 276 seconds) 2021-04-27T18:28:26Z e[m]1 quit (Ping timeout: 276 seconds) 2021-04-27T18:28:26Z santiagopim[m] quit (Ping timeout: 276 seconds) 2021-04-27T18:28:26Z leeren quit (Ping timeout: 276 seconds) 2021-04-27T18:28:26Z ecraven quit (Ping timeout: 276 seconds) 2021-04-27T18:28:26Z gum quit (Ping timeout: 276 seconds) 2021-04-27T18:28:27Z xi- quit (Ping timeout: 276 seconds) 2021-04-27T18:28:27Z flip214 quit (Ping timeout: 276 seconds) 2021-04-27T18:28:27Z jibanes quit (Ping timeout: 276 seconds) 2021-04-27T18:28:27Z ecraven- is now known as ecraven 2021-04-27T18:28:28Z gum_ is now known as gum 2021-04-27T18:30:09Z FennecCode joined #lisp 2021-04-27T18:30:11Z orivej quit (Ping timeout: 240 seconds) 2021-04-27T18:30:18Z amb007 joined #lisp 2021-04-27T18:30:38Z orivej joined #lisp 2021-04-27T18:30:54Z tweet[m] joined #lisp 2021-04-27T18:31:00Z kreyren joined #lisp 2021-04-27T18:31:41Z notzmv quit (Ping timeout: 240 seconds) 2021-04-27T18:31:42Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T18:32:08Z amb007 joined #lisp 2021-04-27T18:33:02Z arcontethegreat[ joined #lisp 2021-04-27T18:33:45Z e[m]1 joined #lisp 2021-04-27T18:36:37Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T18:36:52Z amb007 joined #lisp 2021-04-27T18:37:27Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-27T18:38:57Z cosimone joined #lisp 2021-04-27T18:41:31Z flip214_ is now known as flip214 2021-04-27T18:44:16Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T18:45:19Z amb007 joined #lisp 2021-04-27T18:46:58Z zefram22 joined #lisp 2021-04-27T18:46:59Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T18:48:10Z amb007 joined #lisp 2021-04-27T18:50:00Z hiroaki joined #lisp 2021-04-27T18:50:00Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T18:50:28Z amb007 joined #lisp 2021-04-27T18:54:35Z orivej quit (Ping timeout: 246 seconds) 2021-04-27T18:55:23Z orivej joined #lisp 2021-04-27T19:00:28Z Inline joined #lisp 2021-04-27T19:00:29Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:01:13Z amb007 joined #lisp 2021-04-27T19:03:28Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:03:30Z notzmv joined #lisp 2021-04-27T19:03:37Z amb007 joined #lisp 2021-04-27T19:03:38Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:04:02Z amb007 joined #lisp 2021-04-27T19:06:24Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:07:01Z jonatack quit (Ping timeout: 245 seconds) 2021-04-27T19:07:08Z amb007 joined #lisp 2021-04-27T19:08:55Z jonatack joined #lisp 2021-04-27T19:08:56Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:09:27Z amb007 joined #lisp 2021-04-27T19:11:35Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:11:43Z amb007 joined #lisp 2021-04-27T19:12:59Z josemanuel joined #lisp 2021-04-27T19:12:59Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:13:09Z amb007 joined #lisp 2021-04-27T19:15:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:15:34Z amb007 joined #lisp 2021-04-27T19:15:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:15:53Z amb007 joined #lisp 2021-04-27T19:16:30Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:17:18Z amb007 joined #lisp 2021-04-27T19:19:25Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:20:52Z amb007 joined #lisp 2021-04-27T19:22:56Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:23:39Z amb007 joined #lisp 2021-04-27T19:23:39Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:23:54Z amb007 joined #lisp 2021-04-27T19:31:06Z ChoHag: Does CL have a standard description equivalent to scheme's RxRs? 2021-04-27T19:31:38Z Xach: ChoHag: there is an ANSI standard 2021-04-27T19:31:56Z ntqz joined #lisp 2021-04-27T19:32:02Z DHARMAKAYA joined #lisp 2021-04-27T19:33:40Z phoe: ChoHag: yes, see clhs 2021-04-27T19:33:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:33:42Z phoe: clhs car 2021-04-27T19:33:42Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_car_c.htm 2021-04-27T19:34:00Z phoe: if you go to the toplevel, then CLHS is a rendition of ANSI CL standard 2021-04-27T19:34:00Z amb007 joined #lisp 2021-04-27T19:34:54Z karlosz joined #lisp 2021-04-27T19:34:54Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:36:01Z amb007 joined #lisp 2021-04-27T19:36:56Z supercoven_ quit (Read error: Connection reset by peer) 2021-04-27T19:36:57Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:37:11Z amb007 joined #lisp 2021-04-27T19:37:19Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:37:37Z amb007 joined #lisp 2021-04-27T19:39:43Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:40:12Z pjb: ChoHag: Well, it's not strictly equivalent to scheme RnRS: there's only One CL ANSI Standard to rule them all, One CL ANSI Standard to find them, One CL ANSI Standard to bring them all, and in the darkness bind them. So if you write a conforming CL program in 1996, it will work the same in 2021, and it will work the same in 2046. On the other hand, with scheme, you'd be hard pressed to locate r3rs implementations, and in 2046, 2021-04-27T19:40:12Z amb007 joined #lisp 2021-04-27T19:40:12Z pjb: won't find any working r5rs implementation, so your programs and libraries will be dusk, rotten bits. 2021-04-27T19:40:27Z pjb: ChoHag: http://informatimago.com/develop/lisp/com/informatimago/small-cl-pgms/wang.html 2021-04-27T19:40:45Z ChoHag: Does it have to be in the darkness? 2021-04-27T19:40:45Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:40:52Z amb007 joined #lisp 2021-04-27T19:40:53Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:40:58Z phoe: only if you go real cheap on the lightbulbs 2021-04-27T19:41:10Z amb007 joined #lisp 2021-04-27T19:42:01Z pjb: ChoHag: said otherwise, my advice is, if you don't plan to finish the program this year, and become a billionaire selling it by next year, if instead you plan to work on your free time for the next few years, perhaps the next few decades, you should better use Common Lisp to avoid having to rewrite it every year (like, eg. swifth programs for iOS that require maintenance only to stay on the AppStore because of new versions of iO 2021-04-27T19:42:01Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:42:01Z pjb: the Swift language!). 2021-04-27T19:42:30Z amb007 joined #lisp 2021-04-27T19:43:05Z ChoHag: Oh other end of the stick. I'm working on an implementation. 2021-04-27T19:43:11Z Xach: ChoHag: of what? 2021-04-27T19:43:43Z ChoHag: I don't want to write things in CL. I'm making something I want to implement CL in. 2021-04-27T19:43:45Z pjb: Great! And this means that you won't have to change the implementation each year, so you can concentrate on making it better. You may also prefer to collaborate with beach on #sicl ? 2021-04-27T19:44:42Z Xach: I don't think I've ever come across someone unfamiliar with the CL standard who is writing a new language in which to implement CL 2021-04-27T19:44:46Z ChoHag: I'm not trying to get anyone to change implementations. I want to stop all that sort of shit. 2021-04-27T19:45:36Z ChoHag: I want to explore ideas around interoprability. 2021-04-27T19:46:09Z ChoHag: That's why I want a standard to work toward. 2021-04-27T19:46:23Z slyrus joined #lisp 2021-04-27T19:46:24Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:46:26Z dieggsy: ChoHag: could you be more specific 2021-04-27T19:46:57Z amb007 joined #lisp 2021-04-27T19:47:03Z ChoHag: Not really. I'm chewing the fat a bit. 2021-04-27T19:47:13Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:47:34Z ChoHag: My focus has been mostly on scheme. I've not touched CL for a few years. I want to re-acquaint myself. 2021-04-27T19:48:07Z amb007 joined #lisp 2021-04-27T19:48:27Z ChoHag: It ANSI the latest word in CL standards? 2021-04-27T19:48:27Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:48:30Z ChoHag: Is 2021-04-27T19:48:39Z amb007 joined #lisp 2021-04-27T19:49:00Z Xach: ChoHag: yes 2021-04-27T19:50:03Z dieggsy: latest and only AFAIK 2021-04-27T19:50:03Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T19:50:52Z slyrus quit (Ping timeout: 252 seconds) 2021-04-27T19:51:37Z amb007 joined #lisp 2021-04-27T19:52:32Z ChoHag: Thanks. 2021-04-27T19:53:03Z anticrisis joined #lisp 2021-04-27T19:53:04Z wsinatra quit (Ping timeout: 252 seconds) 2021-04-27T19:54:32Z pjb: ChoHag: as I said, there is only one ANSI CL Standard for ever. 2021-04-27T19:54:57Z pjb: ChoHag: if you write a CL implementation today, it will still be a CL implementation in 20 or 40 years from now. Actually, until the singularity! 2021-04-27T19:55:50Z pjb: ChoHag: that said, it is allowed to write implementations of a subset of Common Lisp, or superset (extensions) to CL as long as it's clearly documented. 2021-04-27T19:56:14Z pjb: ChoHag: nothing prevents you to spend the next 40 years improving on your extensions to the CL language in your implementation. 2021-04-27T19:57:30Z wsinatra joined #lisp 2021-04-27T19:59:32Z dieggsy: pjb: 'allowed' in what sense? just like, you can still call this CL by the standard's definition ? 2021-04-27T19:59:59Z dieggsy: cause technically people can do whatever they want heh 2021-04-27T20:02:33Z Nilby: In this case allowed meas conforming to standard, not what one can do. 2021-04-27T20:03:20Z andrei-n quit (Quit: Leaving) 2021-04-27T20:03:33Z hjudt quit (Quit: leaving) 2021-04-27T20:03:45Z Lord_of_Life_ joined #lisp 2021-04-27T20:03:55Z pjb: dieggsy: in the sence that as long as the implementation is a conforming CL implementation, a conforming CL program will produce the same results as on any other conforming CL implementation. Ie. the extensions cannot modify the semantics of the base CL language. 2021-04-27T20:04:14Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T20:04:29Z amb007 joined #lisp 2021-04-27T20:04:51Z Lord_of_Life quit (Ping timeout: 265 seconds) 2021-04-27T20:04:52Z amb007 quit (Read error: Connection reset by peer) 2021-04-27T20:05:06Z pjb: dieggsy: an implementation can easily provide new functionalities in different packages. Eg. clisp provides a ffi in the FFI package, a interface to regex(3) in the REGEXP package, access to screen and keyboard in the SCREEN and KEYBOARD packages, access to LINUX specific operations in the LINUX package, etc. 2021-04-27T20:05:08Z amb007 joined #lisp 2021-04-27T20:05:14Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-27T20:05:33Z dieggsy: pjb: fair, thanks! 2021-04-27T20:05:46Z pjb: dieggsy: furthermore, functions taking &key arguments, may allow additionnal key arguments for extensions. The standard behavior apply when those additionnal key arguments are not provided. 2021-04-27T20:06:29Z pjb: dieggsy: some extensions in the class hierarchy are possible when mentionned (intermediate classes, or subclasses could be provided). etc. It's all specified in great detail. 2021-04-27T20:06:55Z dieggsy: pjb: also wow, clisp sounds really neat..... should i switch from SBCL heh 2021-04-27T20:06:56Z pjb: But the important point: to remain a conforming implementation any extension (or subset of the language) must be clearly documented. 2021-04-27T20:07:47Z pjb: dieggsy: well, it depends. sbcl has its own extensions, but both have problems. The best is to use all the implementations to validate one's conforming code, and to use the implementation best adapted to the deployment case. 2021-04-27T20:09:12Z hjudt joined #lisp 2021-04-27T20:09:45Z pjb: When you want to write portable programs you would avoid those implementation specific extensions anyways, using preferably portability libraries or conforming libraries. Or using #+/#-, you would make use of the extension only when the specific implementation is used. 2021-04-27T20:11:24Z Nilby: dieggsy: Sadly clisp isn't as neat as it sounds anymore. It has some problems, which likely won't be resolved, and you can have all that in sbcl, and bunch other stuff which make it very fast. 2021-04-27T20:11:42Z dieggsy: Nilby: ah, what sorts of problems ? 2021-04-27T20:11:48Z pjb: I still have more problems, bugs and crashes with sbcl than clisp… 2021-04-27T20:12:55Z pjb: dieggsy: for example, sbcl lies to you. It says that call-arguments-limit is 4611686018427387903, but when you try to call (apply f l) with a list L containing 100000 elements, it crashes. 2021-04-27T20:13:13Z dieggsy: lol 2021-04-27T20:13:14Z pjb: Other implementations give smaller call-arguments-limit and don't crash! 2021-04-27T20:13:23Z Nilby: It doesn't handle unicode that well anymore. It's pathnames are troublesome. 2021-04-27T20:13:26Z pjb: clisp has 4096 and works perfectly. 2021-04-27T20:13:40Z dieggsy: when you're applying a function to that many arguments, one might argue it's more an issu of program design? 2021-04-27T20:14:10Z pjb: clisp has the best encoding support, notably unicode: it knows the name of all the unicode characters. That's not the case with sbcl or ccl they give you useless names such as #\u12345 2021-04-27T20:14:48Z pjb: All implementations have problem with pathnames: https://github.com/informatimago/check-pathname 2021-04-27T20:15:04Z antoszka: pjb: how does clisp keep up with the growing unicode standard? 2021-04-27T20:15:14Z antoszka: (if you *all the unicode characters*?) 2021-04-27T20:15:28Z antoszka: it doesn't seem super actively maintained 2021-04-27T20:15:33Z zzappie quit (Ping timeout: 240 seconds) 2021-04-27T20:15:38Z pjb: clisp has a report of 72 lines, while sbcl (some old version) had 338 lines of problems! 2021-04-27T20:15:46Z _death: pjb: the problem with clisp is that it needs a new release 2021-04-27T20:15:47Z pjb: antoszka: it uses the iconv library ;-) 2021-04-27T20:16:03Z zzappie joined #lisp 2021-04-27T20:16:04Z antoszka: well, okay then ;) 2021-04-27T20:16:12Z pjb: _death: it's on github, so you can get as up-to-date as you wish. 2021-04-27T20:16:40Z _death: pjb: I've had trouble compiling it the last time I tried.. some .d compilation errors 2021-04-27T20:16:55Z pjb: That's possible. 2021-04-27T20:17:13Z pjb: More maintainers would help. 2021-04-27T20:17:47Z pjb: As soon as I win the lotto… 2021-04-27T20:26:14Z jonatack quit (Quit: jonatack) 2021-04-27T20:27:18Z slyrus joined #lisp 2021-04-27T20:28:10Z slyrus quit (Remote host closed the connection) 2021-04-27T20:28:43Z slyrus joined #lisp 2021-04-27T20:31:22Z jcowan: Call-arguments-limit is mostly important when applying a function rather than invoking one. (apply + list) really be non-portable when the list has more than 50 elements. 2021-04-27T20:31:45Z jcowan: s/really/should not realloy 2021-04-27T20:31:48Z jcowan: really, even 2021-04-27T20:33:13Z slyrus quit (Ping timeout: 252 seconds) 2021-04-27T20:33:33Z cage_ quit (Quit: Leaving) 2021-04-27T20:35:12Z _death: since you can query its value, you can use it to portably apply with more than 50 elements on implementations that support it.. 2021-04-27T20:37:37Z notzmv quit (Ping timeout: 252 seconds) 2021-04-27T20:38:07Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-27T20:38:21Z jcowan: Case by case, yes. + is associative, but - needs a different approach 2021-04-27T20:39:34Z _death: + is not always associative.. 2021-04-27T20:39:44Z qewr is now known as CrazEd 2021-04-27T20:40:13Z CrazEd is now known as Guest43342 2021-04-27T20:41:16Z jcowan: True. 2021-04-27T20:45:09Z zzappie quit (Ping timeout: 240 seconds) 2021-04-27T20:45:24Z dieggsy: _death: are you referring to floating point cause TIL 2021-04-27T20:45:29Z _death: yes 2021-04-27T20:49:14Z jcowan: So how would you write a function to apply an arbitrary number of list elements to an arbitrary (opaque) function? 2021-04-27T20:51:21Z _death: you wouldn't? 2021-04-27T20:53:41Z phoe: jcowan: that's the issue 2021-04-27T20:53:54Z phoe: APPLY is not implementable in terms of portable CL without APPLY 2021-04-27T20:54:25Z phoe: well, I mean, you could dispatch based on the total number of arguments 2021-04-27T20:54:50Z phoe: and then do a giant gase of (funcall foo), (funcall foo arg1), (funcall foo arg1 arg2), ..., (funcall foo arg1 arg2 ... argn) 2021-04-27T20:55:03Z phoe: this would be ugly as holy hell but technically it could work 2021-04-27T20:55:10Z Bike: (defun apply (f &rest args) (multiple-value-call (values-list (butlast args)) (values-list (first (last args)))) 2021-04-27T20:55:16Z Bike: just to be pedantic for a moment 2021-04-27T20:55:19Z phoe: wait 2021-04-27T20:55:24Z Bike: oh, i forgot to throw f in the call. whatevs 2021-04-27T20:55:24Z phoe: clhs multiple-value-call 2021-04-27T20:55:24Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/s_multip.htm 2021-04-27T20:55:41Z phoe: okay, TIL 2021-04-27T20:55:52Z Bike: sbcl implements apply in terms of multiple-value-call so that it only needs to optimize one kind of vararg thing 2021-04-27T20:55:56Z phoe: Bike: thanks for that, I haven't thought of that 2021-04-27T20:56:02Z phoe: wow! nice 2021-04-27T20:56:15Z Nilby: nice one Bike :) 2021-04-27T20:56:21Z jcowan: My point is that (contra what _death appeared to be claiming), there is no waay to write a portable APPLY* that uses APPLY to accept arbitrarily long lists. 2021-04-27T20:56:46Z Bike: i think _death just meant that you can do (if (> call-arguments-limit (length args)) (apply f args) (error "implementation sucks too hard, sorry!")) 2021-04-27T20:56:47Z zefram22 quit (Quit: zefram22) 2021-04-27T20:57:06Z zefram22 joined #lisp 2021-04-27T20:58:30Z jcowan: Ah, I see. 2021-04-27T20:58:57Z ljavorsk joined #lisp 2021-04-27T20:59:48Z _death: now we need to check each implementation's multiple-values-limit ;) 2021-04-27T20:59:51Z pjb: jcowan: https://ideone.com/qpO1I7 2021-04-27T20:59:57Z pjb: jcowan: check group-by! 2021-04-27T21:01:20Z jcowan: that's a first step, but it doesn't really get you there, because you don't know what to do after grouping them. 2021-04-27T21:01:31Z _death: pjb: do you really need that min? 2021-04-27T21:01:50Z Nilby: It's like core Lisp is a system of equations where you can solve in terms of the others. 2021-04-27T21:02:57Z moon-child: 'metacircular' thing is thataway 2021-04-27T21:03:43Z moon-child: don't remember link sadly. The original site is dead now, though it's on the internet archive 2021-04-27T21:04:11Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-27T21:04:32Z pjb: _death: yes, sbcl is really idiotic. 2021-04-27T21:05:01Z _death: pjb: (nthcdr 3 '(x)) => NIL 2021-04-27T21:05:03Z pjb: call-arguments-limit is gigantic, and nthcdr doesn't terminate before having counted down the whole count! 2021-04-27T21:05:20Z pjb: _death: (nthcdr call-arguments-limit '(x)) ; answer when it's done! 2021-04-27T21:06:00Z pjb: Anyways, the point is that apply is called with lists that have less elements than call-arguments-limit so it should not crash. 2021-04-27T21:06:09Z _death: hmm.. this reminds me the old doctor joke.. 2021-04-27T21:06:23Z pjb: Exactly, hence the min. 2021-04-27T21:06:43Z _death: pjb: well, why not define your own nthcdr? 2021-04-27T21:06:58Z pjb: Because there's one in CL! 2021-04-27T21:07:09Z _death: or patch sbcl ;) 2021-04-27T21:07:36Z pjb: Perhaps one day, eventually. 2021-04-27T21:07:53Z _death: pjb: what I mean is, you are concerned about passing call-arguments-limit to nthcdr, so why fix that only at this location instead of defining pjb-nthcdr that you can always use 2021-04-27T21:08:22Z pjb: Because the beyond nthcdr, the problem is sbcl lying about call-arguments-limit anyways. 2021-04-27T21:08:50Z _death: so back to being the doctor.. why would you do that? 2021-04-27T21:09:02Z _death: (pass c-a-l) 2021-04-27T21:09:24Z pjb: to splice the argument list by chunks that are acceptable by apply. 2021-04-27T21:09:37Z pjb: read the code. 2021-04-27T21:10:53Z _death: so it seems you want an sbcl-conservative-call-arguments-limit 2021-04-27T21:11:31Z _death: I think it probably depends on the control stack size 2021-04-27T21:11:43Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-27T21:11:46Z _death: so can't be a dumb constant 2021-04-27T21:12:30Z Spawns_Carpeting joined #lisp 2021-04-27T21:12:57Z pjb: It could indeed be computed from the control-stack-size parameter, but in any case, it better be conservative as you say, because the stack may be almost full already. 2021-04-27T21:12:58Z Nilby: I would bet it's accurate, but I'm not curious enouch to test it. 2021-04-27T21:15:04Z zefram22 quit (Ping timeout: 276 seconds) 2021-04-27T21:15:49Z Nilby: especially not on systems with an OOM killer 2021-04-27T21:15:51Z _death: anyway, defining such a conservative constant would avoid the special casing and related code 2021-04-27T21:16:07Z mfiano: Not sure how much this changed in the 3 years since I posted it: https://gist.github.com/mfiano/1a31ef23cdde03e17843e02ffbffa46f 2021-04-27T21:16:50Z Spawns_Carpetin- joined #lisp 2021-04-27T21:17:05Z narimiran quit (Ping timeout: 260 seconds) 2021-04-27T21:17:10Z aartaka_d joined #lisp 2021-04-27T21:17:21Z Spawns_Carpeting quit (Ping timeout: 265 seconds) 2021-04-27T21:17:30Z _death: but that nthcdr doesn't check for nil is indeed strange 2021-04-27T21:19:10Z mindCrime_ joined #lisp 2021-04-27T21:19:13Z aartaka quit (Ping timeout: 240 seconds) 2021-04-27T21:20:13Z Nilby: I actually appreciate sbcl's optimism. like for (glob "/**"), but it usually fails because fixed heap :( 2021-04-27T21:21:00Z _death: if checking for nil on each iteration is too slow, it could split it so that it checks every M iterations 2021-04-27T21:26:48Z zefram22 joined #lisp 2021-04-27T21:29:47Z sauvin quit (Ping timeout: 240 seconds) 2021-04-27T21:30:25Z sauvin joined #lisp 2021-04-27T21:30:40Z ljavorsk quit (Ping timeout: 276 seconds) 2021-04-27T21:31:05Z shka_ quit (Ping timeout: 268 seconds) 2021-04-27T21:33:20Z Guest43342 is now known as CrazEd 2021-04-27T21:33:50Z CrazEd is now known as Guest48036 2021-04-27T21:36:22Z gaqwas joined #lisp 2021-04-27T21:36:22Z gaqwas quit (Changing host) 2021-04-27T21:36:22Z gaqwas joined #lisp 2021-04-27T21:38:40Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-27T21:39:34Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-27T21:39:58Z shifty joined #lisp 2021-04-27T21:43:29Z long4mud joined #lisp 2021-04-27T21:43:37Z notzmv joined #lisp 2021-04-27T21:47:58Z cosimone quit (Remote host closed the connection) 2021-04-27T21:50:59Z pbgc quit (Quit: Computer has gone to sleep.) 2021-04-27T22:00:34Z gaqwas quit (Ping timeout: 276 seconds) 2021-04-27T22:02:25Z gendl__: Hi, in sbcl, how can I set a global parameter so that its value will be inherited by any newly spawned threads? 2021-04-27T22:02:37Z gendl__: for example `*read-default-float-format*` 2021-04-27T22:03:01Z phoe: gendl__: sb-ext:symbol-global-value 2021-04-27T22:03:02Z gendl__: if I set it in .sbclrc then it stays set in zaserve webserver threads; 2021-04-27T22:03:25Z phoe: this value will be visible if other threads do not rebind a variable 2021-04-27T22:03:27Z gendl__: if i just setq it in some application file, then start the webserver, the server threads don't see the value. 2021-04-27T22:03:38Z phoe: oh, wait 2021-04-27T22:03:41Z phoe: that's a standard CL symbol 2021-04-27T22:03:51Z phoe: hm, troublesome 2021-04-27T22:04:06Z gendl__: it's a standard CL symbol -- but I'm allowed to set it to double-float in my application, aren't I? 2021-04-27T22:04:12Z phoe: you are 2021-04-27T22:04:19Z gaqwas joined #lisp 2021-04-27T22:04:19Z gaqwas quit (Changing host) 2021-04-27T22:04:19Z gaqwas joined #lisp 2021-04-27T22:04:21Z phoe: but the question is how this behaves in a multithreading context 2021-04-27T22:04:34Z gendl__: with emacs/slime there does not seem to be a problem 2021-04-27T22:04:44Z gendl__: i only started noticing the problem when running bare-bones in a shell 2021-04-27T22:05:02Z _death: gendl: that would be a bad idea... a lot of code assumes 1.0 is a single-float, and contains declarations to this end 2021-04-27T22:05:53Z _death: gendl: so binding *read-default-float-format* is practical only in limited contexts 2021-04-27T22:06:12Z gendl__: _death: so I should just dynamically bind it with let and never setq or setf it? 2021-04-27T22:06:34Z surabax quit (Quit: Leaving) 2021-04-27T22:07:29Z _death: gendl: what I mean is that it's useful if you, say, READ something yourself.. if you load arbitrary code, it's likely not a good idea to have it bound to anything but single-float 2021-04-27T22:10:16Z bitmapper quit (Quit: Connection closed for inactivity) 2021-04-27T22:12:05Z frgo quit (Remote host closed the connection) 2021-04-27T22:12:18Z tempest_nox joined #lisp 2021-04-27T22:12:23Z dhil quit (Quit: Leaving) 2021-04-27T22:12:31Z frgo joined #lisp 2021-04-27T22:13:19Z gaqwas quit (Ping timeout: 252 seconds) 2021-04-27T22:13:19Z saganman quit (Ping timeout: 252 seconds) 2021-04-27T22:16:35Z gendl__: ok thanks. 2021-04-27T22:18:10Z _death: just my experience.. and imagine that some of that code also turns safety off.. evil stuff 2021-04-27T22:19:12Z jcowan: As a particular case, if you are reading numeric data generated by something other than CL or Fortran, it is advisable to dynamically bind it to double-float. 2021-04-27T22:20:02Z Odin-: Floating point arithmetic is a mess. 2021-04-27T22:20:02Z hjudt quit (Ping timeout: 246 seconds) 2021-04-27T22:24:52Z notzmv quit (Ping timeout: 252 seconds) 2021-04-27T22:26:50Z djuber joined #lisp 2021-04-27T22:27:29Z djuber quit (Read error: Connection reset by peer) 2021-04-27T22:27:31Z kevingal quit (Remote host closed the connection) 2021-04-27T22:28:01Z jcowan: It depends on how you look at it: inexact values or inexact operations. 2021-04-27T22:29:53Z djuber joined #lisp 2021-04-27T22:30:42Z gendl__: Sounds like I have to do A fairly major reengineering an Gendl 2021-04-27T22:31:11Z jcowan: The usual approach is to say that float values are inexact representations of mathematical numbers, but an alternative view is that float values represent exact numbers, but floating point operations are fast but inexact approximations to mathematical truth. 2021-04-27T22:33:10Z gendl__: on*... as it is now, it pretty much depends on *read-default-float-format* being bound to ‘double-float. Annoying things will start breaking everywhere if that’s not the case. 2021-04-27T22:33:40Z varjag quit (Ping timeout: 252 seconds) 2021-04-27T22:33:47Z gendl__: And indeed, quickloading Gendl will clobber that parameter globally. 2021-04-27T22:34:09Z Guest48036 is now known as CrazEd 2021-04-27T22:34:16Z moon-child: I think inexact representation is usually the better approach 2021-04-27T22:34:25Z moon-child: if you consider algorithms that actually track precision 2021-04-27T22:34:27Z gendl__: In order to be a good citizen, it sounds like Gendl has to stop doing that and figure out where to strategically do local dynamic binding. 2021-04-27T22:34:36Z phoe: yes 2021-04-27T22:34:38Z CrazEd is now known as Guest61939 2021-04-27T22:35:08Z _death: I guess you could add some asdf-specific code to bind it for certain components.. not tried that though 2021-04-27T22:36:10Z gendl__: It’s going to take a lot of regression testing, So it will have to happen after our May 1 release. Not enough time to risk it before that. 2021-04-27T22:36:10Z hjudt joined #lisp 2021-04-27T22:36:37Z dieggsy: is CFFI the most portable to write FFI code ? 2021-04-27T22:36:42Z dieggsy: most portable way* 2021-04-27T22:37:21Z phoe: dieggsy: yes 2021-04-27T22:38:10Z jrm2 joined #lisp 2021-04-27T22:42:41Z jrm2 quit (Client Quit) 2021-04-27T22:43:04Z jrm2 joined #lisp 2021-04-27T22:44:20Z jcowan: dieggsy: Note that CFFI has multiple implementations, conceptually one for each CL implementation. 2021-04-27T22:44:55Z dieggsy: jcowan: wait, how would that affect how i develop with it 2021-04-27T22:45:23Z jcowan: It doesn't directly, except that if there is no CFFI implementation for the CL you are using, you are out of luck. 2021-04-27T22:45:55Z phoe: CFFI has support for all major impls though, doesn't it? 2021-04-27T22:45:58Z Spawns_Carpetin- quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-27T22:46:13Z Odin-: jcowan: How is that different in any meaningful way from CL itself? 2021-04-27T22:46:19Z jcowan: It isn't. 2021-04-27T22:46:36Z Spawns_Carpeting joined #lisp 2021-04-27T22:47:04Z jcowan: But it is portable in a different sense from most portable packages. 2021-04-27T22:48:11Z jcowan: In particular, some features don't work on some implementations, see https://common-lisp.net/project/cffi/manual/cffi-manual.html#Implementation-Support 2021-04-27T22:48:37Z dieggsy: jcowan: oh, i see. that's good to know, thank you 2021-04-27T22:50:25Z nicktick quit (Ping timeout: 260 seconds) 2021-04-27T22:50:40Z moon-child: damn, allegro and lispworks are both stuck on utf16 2021-04-27T22:51:03Z moon-child: s/utf16/16-bit code points/ 2021-04-27T22:52:26Z Odin-: A lot of things are. 2021-04-27T22:52:35Z shifty quit (Ping timeout: 246 seconds) 2021-04-27T22:52:40Z Odin-: Java, and thus ABCL, to mention one. 2021-04-27T22:53:00Z shifty joined #lisp 2021-04-27T22:53:35Z Nilby quit (Ping timeout: 250 seconds) 2021-04-27T22:53:44Z Duuqnd quit (Remote host closed the connection) 2021-04-27T22:54:50Z jrm2 is now known as jrm 2021-04-27T22:55:55Z jcowan: IIRC, CMUCL is stuck on Latin-1 2021-04-27T22:55:59Z jcowan: (or 8-bit characters) 2021-04-27T22:56:29Z moon-child: is cmucl used at all anymore, though? My impression was sbcl superseded it 2021-04-27T22:57:03Z jcowan: No clue on that 2021-04-27T22:57:17Z pbgc joined #lisp 2021-04-27T22:57:55Z pbgc quit (Client Quit) 2021-04-27T22:59:11Z hjudt quit (Ping timeout: 240 seconds) 2021-04-27T22:59:15Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-27T23:03:30Z dieggsy: hmm, i'm looking for something like CHICKEN's foreign-value? e.g. (foreign-value SOME_C_VAR int) 2021-04-27T23:03:33Z dieggsy: basically an inline defcvar 2021-04-27T23:03:43Z dieggsy: ... i think 2021-04-27T23:04:52Z kagevf: I like White_Flame's fast-body macro idea (yeah just read it now) 2021-04-27T23:05:11Z hjudt joined #lisp 2021-04-27T23:05:41Z jcowan: kagevf: url? 2021-04-27T23:08:10Z igemnace quit (Quit: WeeChat 3.1) 2021-04-27T23:10:07Z _death: dieggsy: if you M-. on cffi:defcvar, you may arrive at the conclusion that (cffi:mem-ref (cffi:foreign-symbol-pointer "SOME_C_VAR") :int) may work ;) 2021-04-27T23:11:28Z hiroaki joined #lisp 2021-04-27T23:12:47Z akoana joined #lisp 2021-04-27T23:13:49Z hjudt quit (Ping timeout: 252 seconds) 2021-04-27T23:14:00Z dieggsy: _death: ah, it doesn't only because what i'm after is actually a macro in a header file, lol. but cheers 2021-04-27T23:15:02Z dieggsy: i guess CFFI primarily works on shared libraries and not header files... ? 2021-04-27T23:15:15Z phoe: yes 2021-04-27T23:15:16Z _death: there is cffi-grovel 2021-04-27T23:15:40Z phoe: macros disappear after compilation and cffi works on compiled objects; but see what _death said 2021-04-27T23:15:50Z phoe: the groveller is capable of parsing header files 2021-04-27T23:16:56Z dieggsy: hmm, looking into it now, thanks 2021-04-27T23:17:04Z drmeister: Does ASDF or quicklisp provide a function to get a list of all systems loaded? 2021-04-27T23:17:28Z phoe: (asdf:already-loaded-systems) 2021-04-27T23:18:21Z drmeister: Thank you! 2021-04-27T23:18:47Z drmeister: I was trying riffs on all-loaded, all-systems ... 2021-04-27T23:18:56Z phoe: (apropos "loaded") did the trick 2021-04-27T23:19:29Z jcowan: Anyone know why it's called "the groveler"? "Grovel" in the sense "inspect closely" seems to be computer jargon with no obvious connection to its mundane meanings "be prone", "crawl", etc. 2021-04-27T23:19:34Z phoe: it's kinda like russian roulette 2021-04-27T23:19:38Z jcowan: "abase oneself" 2021-04-27T23:20:24Z drmeister: Cando uses 81 asdf systems. Yeesh. 2021-04-27T23:21:01Z dieggsy: _death or phoe not sure i understand how to use cffi-grovel from the docs 2021-04-27T23:21:15Z _death: jcowan: in the manual it says "grovels through system headers".. so maybe in the sense of "crawl" 2021-04-27T23:21:29Z no-defun-allowed: grovel, verb, 3. to take pleasure in mean or base things. 2021-04-27T23:21:40Z jcowan chuckles 2021-04-27T23:22:12Z _death: dieggsy: you could look at a project that uses it.. here's a simple one https://github.com/death/monotonic-clock 2021-04-27T23:22:22Z phoe: drmeister: a humble number for a pretty complete programming environment 2021-04-27T23:22:46Z charles` joined #lisp 2021-04-27T23:23:43Z dieggsy: _death: thanks. still getting used to the whole packaging framework. i guess it has to be used with an asdf declaration, not in code like CFFI itself 2021-04-27T23:23:59Z _death: dieggsy: yes 2021-04-27T23:33:01Z bilegeek joined #lisp 2021-04-27T23:34:49Z Guest61939 is now known as CrazEd 2021-04-27T23:35:19Z CrazEd is now known as Guest80223 2021-04-27T23:39:37Z kagevf: jcowan: I don't think White_Flame left one? but the basic idea was to create a macro that you could wrap around a defun and the macro would set compiler optimizations, etc 2021-04-27T23:39:50Z jcowan: Ah 2021-04-27T23:39:59Z kagevf: jcowan: White_Flame wrote this: (defmacro fast-body (&body body) ...) 2021-04-27T23:40:09Z kagevf: https://irclog.tymoon.eu/freenode/lisp?from=1619458719 2021-04-27T23:41:52Z djuber quit (Ping timeout: 252 seconds) 2021-04-27T23:42:44Z kagevf: if you update a macro you have to re-compile every defun that uses it ... something I didn't know and caused me a lot of confusion ... so FYI anybody who didn't know that hehe 2021-04-27T23:43:39Z pjb: kagevf: that's why project often have macros in a separate file, so that we may write file dependencies in asdf and have things recompiled automatically. 2021-04-27T23:43:42Z White_Flame 's ears burn 2021-04-27T23:44:56Z pjb: phoe: it's the opposite: each major implementation has a custom FFI. Therefore there can be a CFFI backend for them. 2021-04-27T23:44:59Z no-defun-allowed: Whatever happened to White_Flame? He got a macro that made his ears burn... 2021-04-27T23:45:23Z White_Flame: (defmacro fast-body (&body body) `(locally (declare (optimize (speed 3) (safety 0) (space 0) (compilation-speed 0))) ,@body)) 2021-04-27T23:45:53Z pjb: moon-child: cmucl may still be used, since it has some differentiating characteristics. For example, it can be compiled with 8-bit characters instead of unicode. That may be useful. 2021-04-27T23:46:07Z pjb: moon-child: but otherwise, yes, sbcl has mostly superceded it. 2021-04-27T23:46:23Z pjb: jcowan: cmucl is not stick on latin-1, you can also compile with with unicode support. 2021-04-27T23:46:44Z jcowan: Ah, okay 2021-04-27T23:47:14Z djuber joined #lisp 2021-04-27T23:47:16Z no-defun-allowed: Suppose someone might find sanely bootstrapping too boring. 2021-04-27T23:47:42Z kagevf: pjb - like when you do an asdf:load? 2021-04-27T23:47:47Z White_Flame: plus a (slow-body ...) that muffles BCL optimization warnings :-3 2021-04-27T23:48:02Z kagevf steals White_Flame's macro 2021-04-27T23:49:01Z White_Flame: *SBCL 2021-04-27T23:49:24Z White_Flame: obviously mind the (safety 0) implications 2021-04-27T23:49:29Z kagevf: pjb: asdf:load-system, actually 2021-04-27T23:51:54Z drmeister: Is there a way to get a list of all source files in an asdf system from within Common Lisp? 2021-04-27T23:52:56Z drmeister: I'm writing a report and I'm taking an inventory of the amount of code that we compile into our runtime. 2021-04-27T23:53:42Z drmeister: So far: 580,000 lines of C++; 236,000 lines of Common Lisp code; 81 ASDF systems. 2021-04-27T23:53:58Z random-nick quit (Ping timeout: 252 seconds) 2021-04-27T23:54:04Z phoe: drmeister: (asdf:module-components (asdf:find-system :phoe-toolbox)) 2021-04-27T23:54:10Z drmeister: The last one doesn't mean anything to non-CL people - so I'm trying to get an estimate of the number of lines of CL code that come from ASDF systems. 2021-04-27T23:55:53Z phoe: then use #'asdf:component-pathname to extract actual pathnames 2021-04-27T23:56:21Z phoe: don't forget to include the cloc statistics for clasp itself :D 2021-04-27T23:56:33Z White_Flame: speaking of dynamic-extent from upstream in the logs, is there a legal way to push to a lexical list var while having all the cells be dynamic-extent? 2021-04-27T23:57:10Z pjb: kagevf: yes. 2021-04-27T23:58:04Z pjb: White_Flame: of course, you can do whatever you want with the cells. That's the danger of dynamic-extend declarations. 2021-04-27T23:58:16Z Oladon joined #lisp 2021-04-27T23:58:42Z pjb: White_Flame: note that the declaration is on the variable holding the value, not the value, while it applies obviously to the allocated values… 2021-04-27T23:59:40Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-28T00:00:02Z pjb: (let ((list '()) (cell '())) (declare (dynamic-extend cell)) (loop repeat 10 do (setf cell (cons 'a list)) (setf list cell)) (prin1 list) (values)) #| (a a a a a a a a a a) |# 2021-04-28T00:00:57Z pjb: assuming of course, that prin1 doesn't store the list somewhere for later (this would be dragons out of the nose). 2021-04-28T00:01:17Z kagevf: pjb: wouldn't asdf:load-system recompile any defuns anyway even if they're in the same file as the defmacros they are using? and even if the macros are in a different system, wouldn't that still be the case? if what I just said is wrong, I'd be very interested in knowing, since that might explain some things I've observed and don't fully understand ... 2021-04-28T00:01:35Z tophullyte quit (Remote host closed the connection) 2021-04-28T00:02:15Z Inline quit (Ping timeout: 260 seconds) 2021-04-28T00:10:03Z notzmv joined #lisp 2021-04-28T00:11:21Z mindCrime_ quit (Ping timeout: 265 seconds) 2021-04-28T00:12:25Z White_Flame: pjb: that CONS call in there heap allocates 2021-04-28T00:12:26Z White_Flame: (at least in SBCL, with optimizations on) 2021-04-28T00:13:22Z notzmv quit (Remote host closed the connection) 2021-04-28T00:15:11Z zefram22 quit (Ping timeout: 260 seconds) 2021-04-28T00:15:36Z srhm quit (Quit: Konversation terminated!) 2021-04-28T00:17:03Z DHARMAKAYA joined #lisp 2021-04-28T00:19:27Z igemnace joined #lisp 2021-04-28T00:21:21Z White_Flame: but, (let ((cell (cons ...))) (declare (dynamic-extent cell)) (push cell list)) might do it, it just leaves the scope of the LET which might make it immediately invalid depending on the compiler 2021-04-28T00:21:53Z djuber quit (Ping timeout: 240 seconds) 2021-04-28T00:21:57Z White_Flame: which is the weirdness I hit in terms of dynamically consing up stuff on the stack (which may or may not be possible based on the stack discipline of the compiler as well) 2021-04-28T00:22:55Z notzmv joined #lisp 2021-04-28T00:25:34Z nicktick joined #lisp 2021-04-28T00:29:20Z lotuseater quit (Quit: ERC (IRC client for Emacs 27.1)) 2021-04-28T00:31:35Z srandon111 joined #lisp 2021-04-28T00:32:34Z srandon111 left #lisp 2021-04-28T00:35:41Z Guest80223 is now known as CrazEd 2021-04-28T00:36:10Z CrazEd is now known as Guest50620 2021-04-28T00:37:11Z notzmv quit (Ping timeout: 240 seconds) 2021-04-28T00:37:29Z hjudt joined #lisp 2021-04-28T00:40:36Z djuber joined #lisp 2021-04-28T00:40:53Z monolithic quit (Remote host closed the connection) 2021-04-28T00:44:11Z shifty quit (Ping timeout: 240 seconds) 2021-04-28T00:52:22Z housel quit (Read error: Connection reset by peer) 2021-04-28T00:56:07Z frost-lab joined #lisp 2021-04-28T00:57:11Z zefram22 joined #lisp 2021-04-28T00:58:20Z bilegeek quit (Quit: Leaving) 2021-04-28T01:05:49Z djuber quit (Ping timeout: 276 seconds) 2021-04-28T01:08:28Z elderK joined #lisp 2021-04-28T01:17:47Z gusmv joined #lisp 2021-04-28T01:23:16Z wxie quit (Read error: Connection reset by peer) 2021-04-28T01:27:32Z pjb: kagevf: in the same file yes, but not in other files, if they don't depend on the file where the macros are defined. 2021-04-28T01:30:06Z pjb: kagevf: if you modify a system and reload it, this doesn't make asdf reload the systems that depend on it! You need to load a leaf system to have all the dependencies recompiled and reloaded. So if you have N systems in a project, you could define an artifical N+1 bottom system that would depend on all the N system, and that you could reload when you modify any of the N system, to have it and all its dependents be reloaded. 2021-04-28T01:30:37Z sauvin quit (Ping timeout: 265 seconds) 2021-04-28T01:33:23Z pjb: White_Flame: well, dynamic-extend doesn't imply stack. An implemented could use a separate heap, managed similarly to the old Pascal heap, which is basically a parallel, data stack, instead of a garbage collected heap. 2021-04-28T01:34:21Z White_Flame: still, my example exits the lexical scope the var is defined in, while it still keeps it alive, be it the process stack or not 2021-04-28T01:34:26Z pjb: White_Flame: upon entry in a function the function records the size of this dynamic-extend heap; dynamic-extend objects are allocated there (simply incrementing the size of the heap), and when the function returns, it resets the size of the heap to the saved value. 2021-04-28T01:34:36Z pjb: White_Flame: of course, that doesn't work for closures. 2021-04-28T01:34:48Z White_Flame: and yours might allocate outside the dynamic-extent 2021-04-28T01:35:03Z Oladon quit (Quit: Leaving.) 2021-04-28T01:35:10Z pjb: Indeed, if you break the dynamic-extend, dragons out of the nose. 2021-04-28T01:35:31Z pjb: It's not a weidness, it's a dire non-conformity. 2021-04-28T01:35:41Z pjb: +r 2021-04-28T01:36:14Z hjudt quit (Ping timeout: 252 seconds) 2021-04-28T01:36:24Z Guest50620 is now known as CrazEd 2021-04-28T01:36:27Z saturn2: my impression was that in sbcl, dynamic-extent doesn't affect setf assignments at all 2021-04-28T01:36:42Z pjb: White_Flame: and remember all declarations but special declarations can be ignored by the implementation. 2021-04-28T01:36:54Z CrazEd is now known as Guest66658 2021-04-28T01:37:22Z White_Flame: sure, but the actual expressibility is in question 2021-04-28T01:37:55Z saturn2: you have to do some sort of continuation-passing kind of thing if you want to build a dynamic-extent list a little at a time 2021-04-28T01:39:15Z White_Flame: but with CPS, dynamic-extend prevents tail-calling :) 2021-04-28T01:39:18Z White_Flame: *extent 2021-04-28T01:39:39Z pjb: saturn2: not needed. Any new object that is stored in the declared variable is dynamic-extend, you say to the compiler. What you do with this object later is not the problem of the compiler anymore. It's your problem. My code is conforming and produce in list, a variable not declared, a list of cons cells that are dynamic-extent. 2021-04-28T01:39:59Z White_Flame: (now, it doesn't have to, but at least SBCL doesn't include the stack magic to dynamic-extent + tco) 2021-04-28T01:40:48Z White_Flame: pjb: the stack says that the declaration declares that the values become inaccessible outside the form 2021-04-28T01:40:51Z pjb: White_Flame: for an object to be dynamic-extend doesn't imply anything!!! It's up to the implementation to allocate it wherever it wants, and to free it sooner than later! 2021-04-28T01:40:52Z White_Flame: *the spec says 2021-04-28T01:41:22Z saturn2: White_Flame: yeah, it's not ideal either way 2021-04-28T01:41:23Z pjb: Which is indeed all that conforming programs need to know: the fuck don't access the fucking objects outside of the form! 2021-04-28T01:41:47Z White_Flame: inaccesible is not "don't", it's "can't" 2021-04-28T01:41:51Z pjb: Not only don't access, but don't keep a reference. 2021-04-28T01:42:11Z pjb: White_Flame: yes, because the implementation can ignore dynamic extent so it is possible that we may! 2021-04-28T01:42:13Z pjb: But we must not! 2021-04-28T01:43:58Z gusmv quit (Quit: Leaving) 2021-04-28T01:44:49Z White_Flame: when I said "expressibility", that is creating the assertions for this situation. The declarations assert things which may or may not be checked or used by the implementation 2021-04-28T01:45:07Z White_Flame: it's hard for me to see how to even express this using the declarations 2021-04-28T01:45:34Z White_Flame: however, dynamic-extent does say "for each value ... that vari takes on", which is quite broader 2021-04-28T01:46:17Z White_Flame: especially since data that has a larger extent than the current form might be placed in there, too, without practical issue 2021-04-28T01:46:42Z White_Flame: but I guess inaccessibility covers that 2021-04-28T01:47:10Z White_Flame: so really, this does get into "sufficiently advanced compiler" territory 2021-04-28T01:47:26Z White_Flame: in terms of fully taking advantage of it 2021-04-28T01:48:38Z wxie joined #lisp 2021-04-28T01:49:05Z mindCrime_ joined #lisp 2021-04-28T01:52:59Z shifty joined #lisp 2021-04-28T01:54:14Z cer0 joined #lisp 2021-04-28T02:01:25Z theothornhill joined #lisp 2021-04-28T02:02:31Z theothornhill quit (Remote host closed the connection) 2021-04-28T02:08:05Z hjudt joined #lisp 2021-04-28T02:09:59Z notzmv joined #lisp 2021-04-28T02:12:34Z orivej quit (Ping timeout: 252 seconds) 2021-04-28T02:13:31Z hjudt quit (Ping timeout: 268 seconds) 2021-04-28T02:16:38Z sauvin joined #lisp 2021-04-28T02:24:37Z cer0 quit (Quit: leaving) 2021-04-28T02:27:11Z klltkr quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2021-04-28T02:28:56Z jrm quit (Quit: ciao) 2021-04-28T02:30:21Z rumbler31 joined #lisp 2021-04-28T02:37:07Z Guest66658 is now known as CrazEd 2021-04-28T02:37:37Z CrazEd is now known as Guest6968 2021-04-28T02:47:44Z rumpelszn joined #lisp 2021-04-28T02:49:21Z slyrus joined #lisp 2021-04-28T02:49:25Z Sheilong quit 2021-04-28T02:51:15Z jrm joined #lisp 2021-04-28T02:51:22Z hypercube quit (Quit: WeeChat 3.1) 2021-04-28T02:52:37Z jrm quit (Client Quit) 2021-04-28T02:52:57Z hypercube joined #lisp 2021-04-28T02:53:36Z slyrus quit (Ping timeout: 252 seconds) 2021-04-28T02:53:43Z cer-0 joined #lisp 2021-04-28T02:54:24Z jrm joined #lisp 2021-04-28T02:55:05Z jrm quit (Client Quit) 2021-04-28T02:56:27Z ebrasca quit (Remote host closed the connection) 2021-04-28T02:56:45Z jrm joined #lisp 2021-04-28T03:01:49Z Bike quit (Quit: Lost terminal) 2021-04-28T03:04:24Z hypercube quit (Quit: WeeChat 3.1) 2021-04-28T03:04:35Z cer-0 quit (Quit: leaving) 2021-04-28T03:05:30Z Oladon joined #lisp 2021-04-28T03:06:49Z beach: Good morning everyone! 2021-04-28T03:08:33Z rumpelszn quit (Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in) 2021-04-28T03:09:10Z kagevf: good morning, beach 2021-04-28T03:09:13Z rumpelszn joined #lisp 2021-04-28T03:09:43Z kagevf: pjb: what you described is pretty much how I expected asdf:loadsystem to work 2021-04-28T03:12:46Z White_Flame quit (Ping timeout: 240 seconds) 2021-04-28T03:14:18Z cer-0 joined #lisp 2021-04-28T03:15:48Z zefram22 quit (Ping timeout: 268 seconds) 2021-04-28T03:20:31Z semz quit (Ping timeout: 250 seconds) 2021-04-28T03:22:54Z jello_pudding quit (Ping timeout: 245 seconds) 2021-04-28T03:26:41Z White_Flame joined #lisp 2021-04-28T03:28:58Z red-dot joined #lisp 2021-04-28T03:29:33Z jello_pudding joined #lisp 2021-04-28T03:29:46Z edgar-rft is now known as everyone 2021-04-28T03:30:14Z everyone is now known as edgar-rft 2021-04-28T03:34:02Z semz joined #lisp 2021-04-28T03:34:02Z semz quit (Changing host) 2021-04-28T03:34:02Z semz joined #lisp 2021-04-28T03:37:56Z Guest6968 is now known as CrazEd 2021-04-28T03:38:25Z CrazEd is now known as Guest33656 2021-04-28T03:40:31Z pjb: kagevf: yes. Just remmember to write the right dependencies in the asd file. 2021-04-28T03:41:42Z slyrus joined #lisp 2021-04-28T03:50:39Z Lycurgus joined #lisp 2021-04-28T03:51:07Z edgar-rft: sure, there should be no dependencies left :-) 2021-04-28T03:53:49Z simendsjo joined #lisp 2021-04-28T03:56:37Z rumbler31 quit (Remote host closed the connection) 2021-04-28T03:59:20Z slyrus quit (Remote host closed the connection) 2021-04-28T04:01:37Z simendsjo quit (Remote host closed the connection) 2021-04-28T04:03:38Z Khisanth quit (Ping timeout: 252 seconds) 2021-04-28T04:09:00Z Nilby joined #lisp 2021-04-28T04:15:47Z hjudt joined #lisp 2021-04-28T04:16:23Z Khisanth joined #lisp 2021-04-28T04:17:47Z Oladon quit (Quit: Leaving.) 2021-04-28T04:22:20Z slyrus joined #lisp 2021-04-28T04:22:46Z mindCrime_ quit (Ping timeout: 276 seconds) 2021-04-28T04:24:11Z kmeow joined #lisp 2021-04-28T04:26:49Z mindCrime_ joined #lisp 2021-04-28T04:27:02Z slyrus quit (Ping timeout: 265 seconds) 2021-04-28T04:36:56Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-28T04:38:40Z Guest33656 is now known as CrazEd 2021-04-28T04:39:09Z CrazEd is now known as Guest13483 2021-04-28T04:41:12Z kmeow quit (Remote host closed the connection) 2021-04-28T04:41:32Z mindCrime_ quit (Ping timeout: 265 seconds) 2021-04-28T04:46:09Z theothor` joined #lisp 2021-04-28T04:50:05Z cer-0 quit (Quit: leaving) 2021-04-28T04:50:25Z hjudt quit (Ping timeout: 252 seconds) 2021-04-28T04:51:22Z theothor` quit (Ping timeout: 276 seconds) 2021-04-28T04:55:48Z hjudt joined #lisp 2021-04-28T05:01:14Z narimiran joined #lisp 2021-04-28T05:04:35Z akoana quit (Quit: leaving) 2021-04-28T05:15:15Z kagevf: pjb: for sure 2021-04-28T05:16:04Z hjudt quit (Ping timeout: 276 seconds) 2021-04-28T05:16:22Z hjudt joined #lisp 2021-04-28T05:17:45Z mrchampion quit (Ping timeout: 260 seconds) 2021-04-28T05:17:56Z zefram22 joined #lisp 2021-04-28T05:19:28Z shka_ joined #lisp 2021-04-28T05:20:37Z mrchampion joined #lisp 2021-04-28T05:21:18Z dieggsy: is there a standard way to "dispatch" on platform? like (os-dispatch (linux do-this) (macos do-that)) 2021-04-28T05:22:22Z theothor` joined #lisp 2021-04-28T05:22:32Z theothor` quit (Remote host closed the connection) 2021-04-28T05:22:40Z theothor` joined #lisp 2021-04-28T05:23:50Z moon-child: #+linux do-this #+macos do-that #+(not (or macos linux)) something-else 2021-04-28T05:24:10Z moon-child: (except I think 'macos' is called something else; check *features*) 2021-04-28T05:24:31Z moon-child: err, can replace last with #-(or macos linux) something-else 2021-04-28T05:24:44Z White_Flame: needs #+case((linux ...) (macos ...) (otherwise ...)) 2021-04-28T05:25:00Z White_Flame: that's always bothered me 2021-04-28T05:25:21Z moon-child: yeah, me too 2021-04-28T05:25:24Z theothor` quit (Remote host closed the connection) 2021-04-28T05:25:30Z moon-child: I mean, you can face it without too much trouble, but still 2021-04-28T05:25:32Z theothor` joined #lisp 2021-04-28T05:26:08Z moon-child: *fake 2021-04-28T05:26:38Z gaqwas joined #lisp 2021-04-28T05:26:38Z gaqwas quit (Changing host) 2021-04-28T05:26:38Z gaqwas joined #lisp 2021-04-28T05:28:20Z lukego: I'm feeling the urge to make a github fork of every dependency so that I can easily read/write them somewhere other than my own home directory. this way I could fix things and send changes upstream instead of just quietly working-around locally. does anyone do this? any workflow tips? 2021-04-28T05:29:22Z dieggsy: moon-child: ah, thanks 2021-04-28T05:30:43Z beach: lukego: Isn't that the standard way of preparing pull requests? 2021-04-28T05:31:28Z tophullyte joined #lisp 2021-04-28T05:31:59Z lukego: beach: yes, once you have a fork already established, but I don't have that and in the moment it's always too much hassle to create one. Ideally I'd preemptively fork everything and also keep my forks up to date e.g. with latest quicklisp versions. 2021-04-28T05:32:21Z beach: I see. 2021-04-28T05:33:37Z lukego: maintaining one repo containing patch files might be easier but can't send pull requests from that 2021-04-28T05:34:44Z notzmv quit (Ping timeout: 246 seconds) 2021-04-28T05:34:51Z Nilby: lukego: I just fork, clone, and link into ~/quicklisp/local-projects. Then I can swtich back and forth between the local hacked one and the quicklisp one, by adding and removing the link. It's convenient to have a command to it for you. 2021-04-28T05:35:42Z attila_lendvai joined #lisp 2021-04-28T05:35:42Z attila_lendvai quit (Changing host) 2021-04-28T05:35:42Z attila_lendvai joined #lisp 2021-04-28T05:35:49Z lukego: Nilby: hard to install your application on another computer if it depends on the contents of ~/quicklisp/local-projects though? 2021-04-28T05:36:59Z kagevf: I tried to do touch ./new-directory/new-sub-directory/new-directory but bash complained because the parent directories didn't exist, so I just wrapped ensure-directories-exist in a very tiny app with sb-ext:save-lisp-and-die since it did what I wanted ... 2021-04-28T05:37:33Z Nilby: You can just copy your local repo directory and have a command to populate the links. 2021-04-28T05:39:10Z dieggsy: Woah - cl-tui seems really nice 2021-04-28T05:39:28Z Guest13483 is now known as CrazEd 2021-04-28T05:39:39Z Nilby: Or just have a list of your patched dependencies and re-create the fork directory from github, then have it populate local-projects. 2021-04-28T05:39:46Z splittist: lukego: would a separate lukego-forks github account do what you want? 2021-04-28T05:39:58Z CrazEd is now known as Guest8267 2021-04-28T05:40:21Z lukego: splittist: I think so and what I'd need is a script that syncs it from quicklisp so that it doesn't go stale 2021-04-28T05:40:37Z slyrus joined #lisp 2021-04-28T05:41:56Z splittist: how many of your ql dependencies don't come from gh anyway? 2021-04-28T05:42:19Z lukego: few to none 2021-04-28T05:43:37Z lukego: Nilby: sounds messy for me, going to bite me if I want to e.g. hook up a CI that tests the same code as I'm developing, etc. 2021-04-28T05:44:16Z Nilby: Yes. I agree. I guess another alternative is to have your own quicklisp dist. 2021-04-28T05:44:50Z slyrus quit (Ping timeout: 252 seconds) 2021-04-28T05:45:11Z lukego: hm, thanks, have to think about that option 2021-04-28T05:45:43Z Nilby: It seems only the most industrious people like Shinmera have to go that far. 2021-04-28T05:46:20Z Nilby: But I guess some Lisp companies do that too. 2021-04-28T05:47:20Z hjudt quit (Ping timeout: 246 seconds) 2021-04-28T05:48:07Z Guru joined #lisp 2021-04-28T05:49:14Z Nilby: Also there's ultralisp and CLPM but I haven't tried them. 2021-04-28T05:50:39Z phossil joined #lisp 2021-04-28T05:52:46Z tophullyte quit (Ping timeout: 240 seconds) 2021-04-28T05:53:07Z theothor` quit (Ping timeout: 252 seconds) 2021-04-28T05:53:09Z hjudt joined #lisp 2021-04-28T05:53:49Z White_Flame: I always end up M-.'ing into QL dependencies to tweak stuff and then stare at it wondering what to do with that :-P 2021-04-28T05:54:18Z White_Flame: *with those changes 2021-04-28T05:54:57Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-28T05:57:13Z rumbler31 joined #lisp 2021-04-28T05:57:40Z Guru quit (Quit: Connection closed) 2021-04-28T05:59:40Z phossil_ joined #lisp 2021-04-28T06:00:28Z Nilby: I find it helpful to have a command to _potentially_ git clone a quicklisp system. 2021-04-28T06:01:12Z rumbler31 quit (Ping timeout: 240 seconds) 2021-04-28T06:02:11Z phossil quit (Ping timeout: 240 seconds) 2021-04-28T06:02:16Z thomasb06 joined #lisp 2021-04-28T06:02:54Z orivej joined #lisp 2021-04-28T06:05:04Z phossil_ quit (Quit: Leaving) 2021-04-28T06:05:30Z phossil_ joined #lisp 2021-04-28T06:05:36Z phossil_ quit (Remote host closed the connection) 2021-04-28T06:07:15Z tophullyte joined #lisp 2021-04-28T06:07:54Z tempest_nox quit (Read error: Connection reset by peer) 2021-04-28T06:09:05Z bjorkintosh quit (Ping timeout: 250 seconds) 2021-04-28T06:10:31Z splittist: a quickpr command would be nice 2021-04-28T06:12:11Z zzappie joined #lisp 2021-04-28T06:13:26Z Jesin quit (Ping timeout: 252 seconds) 2021-04-28T06:16:14Z attila_lendvai quit (Ping timeout: 245 seconds) 2021-04-28T06:16:31Z zefram22 quit (Ping timeout: 276 seconds) 2021-04-28T06:16:51Z zap1 joined #lisp 2021-04-28T06:17:09Z zzappie quit (Ping timeout: 240 seconds) 2021-04-28T06:20:38Z saturn2: kagevf: that's a good solution but there's also mkdir -p 2021-04-28T06:21:39Z monolithic joined #lisp 2021-04-28T06:23:29Z lukego: splittist: Yeah PRs are a whole other dimension. In the olden days of patch files you could manage your sources any way you wanted but nowadays you really need to maintain a whole github repo to participate in code sharing 2021-04-28T06:24:19Z charles` quit (Ping timeout: 276 seconds) 2021-04-28T06:26:23Z lukego: borodust also does a quicklisp distro for the gaming stuff and that seems to work well 2021-04-28T06:26:53Z pankajsg joined #lisp 2021-04-28T06:28:22Z attila_lendvai joined #lisp 2021-04-28T06:28:22Z attila_lendvai quit (Changing host) 2021-04-28T06:28:22Z attila_lendvai joined #lisp 2021-04-28T06:29:48Z gaqwas quit (Ping timeout: 265 seconds) 2021-04-28T06:30:02Z DHARMAKAYA joined #lisp 2021-04-28T06:31:30Z easye: Mornin' all. 2021-04-28T06:31:56Z beach: Hello easye. 2021-04-28T06:32:06Z easye: What would be the mimimal-non-CL dependencies way of styling org files under Hunchentoot? 2021-04-28T06:32:16Z easye nods to beach. 2021-04-28T06:32:54Z easye: I suppose I could just script Emacs org-export elisp executions... 2021-04-28T06:37:57Z easye wonders about executing elisp in semi-portable ANSI CL for the second time this week. 2021-04-28T06:38:23Z splittist notes the gh cli has `gh pr create` 2021-04-28T06:38:56Z charles` joined #lisp 2021-04-28T06:39:12Z hjudt quit (Ping timeout: 240 seconds) 2021-04-28T06:39:39Z hjudt joined #lisp 2021-04-28T06:40:08Z Guest8267 is now known as CrazEd 2021-04-28T06:40:26Z attila_lendvai quit (Ping timeout: 265 seconds) 2021-04-28T06:40:37Z CrazEd is now known as Guest73518 2021-04-28T06:43:36Z Lycurgus quit (Quit: Exeunt) 2021-04-28T06:45:22Z orivej quit (Ping timeout: 252 seconds) 2021-04-28T06:53:19Z elderK quit (Quit: WeeChat 3.1) 2021-04-28T06:57:05Z theothor` joined #lisp 2021-04-28T06:57:37Z theothor` quit (Remote host closed the connection) 2021-04-28T06:57:41Z kagevf: saturn2: I know about mkdir -p, but I have a list of file names from which I want to generate the directories ... if I use mkdir -p, it will turn the entire file path into a directory ... if I try to turn that into a file bash displays an error 2021-04-28T06:58:13Z saganman joined #lisp 2021-04-28T06:58:44Z kagevf: if I do mkdir -p directory/filename.txt even filename.txt becomes a directory, and I can't do echo "abc123" > directory/filename.txt 2021-04-28T07:00:02Z kagevf: maybe I could have done something with awk, but just wrapping ensure-directories-exist into a mini-app was faster 2021-04-28T07:06:52Z frgo quit 2021-04-28T07:07:21Z dickbarends joined #lisp 2021-04-28T07:08:33Z theothornhill joined #lisp 2021-04-28T07:10:41Z hjudt quit (Ping timeout: 240 seconds) 2021-04-28T07:12:38Z andrei-n joined #lisp 2021-04-28T07:14:59Z ljavorsk joined #lisp 2021-04-28T07:16:25Z hjudt joined #lisp 2021-04-28T07:16:56Z cosimone joined #lisp 2021-04-28T07:17:32Z leo_song quit (Ping timeout: 268 seconds) 2021-04-28T07:19:43Z slyrus joined #lisp 2021-04-28T07:20:40Z remby joined #lisp 2021-04-28T07:24:19Z slyrus quit (Ping timeout: 268 seconds) 2021-04-28T07:24:39Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-28T07:27:00Z jladd joined #lisp 2021-04-28T07:27:11Z varjag joined #lisp 2021-04-28T07:30:47Z bjorkintosh joined #lisp 2021-04-28T07:32:12Z surabax joined #lisp 2021-04-28T07:32:17Z skapata quit (Remote host closed the connection) 2021-04-28T07:32:46Z Odin- quit (Quit: ZNC 1.8.2+deb2+b1 - https://znc.in) 2021-04-28T07:36:27Z hiroaki joined #lisp 2021-04-28T07:40:50Z Guest73518 is now known as CrazEd 2021-04-28T07:41:20Z CrazEd is now known as Guest10524 2021-04-28T07:41:33Z lottaquestions_ joined #lisp 2021-04-28T07:42:41Z lottaquestions quit (Ping timeout: 240 seconds) 2021-04-28T07:42:48Z pve joined #lisp 2021-04-28T07:45:05Z gum quit (Quit: ZNC 1.7.4+deb0+bionic0 - https://znc.in) 2021-04-28T07:45:30Z lottaquestions_ quit (Client Quit) 2021-04-28T07:45:58Z lottaquestions_ joined #lisp 2021-04-28T07:46:29Z Odin- joined #lisp 2021-04-28T07:46:57Z leeren_ quit (Quit: leeren_) 2021-04-28T07:48:34Z leeren joined #lisp 2021-04-28T07:49:02Z nij joined #lisp 2021-04-28T07:50:48Z gpiero quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-28T07:51:14Z Odin- quit (Ping timeout: 245 seconds) 2021-04-28T07:51:26Z Odin-FOO joined #lisp 2021-04-28T07:57:49Z Odin-FOO quit (Read error: Connection reset by peer) 2021-04-28T07:58:13Z remby quit (Quit: remby) 2021-04-28T08:00:47Z loke[m]: kagevf: You might want to do `mkdir -p \`dirname "$filenamewithpath\``. 2021-04-28T08:00:51Z loke[m]: * kagevf: You might want to do `mkdir -p $(dirname "$filenamewithpath)`. 2021-04-28T08:01:03Z loke[m]: * kagevf: You might want to do `mkdir -p $(dirname "$name_with_path)`. 2021-04-28T08:01:11Z loke[m]: * kagevf: You might want to do `mkdir -p $(dirname "$name_with_path")`. 2021-04-28T08:01:32Z saturn2: unix is so cool 2021-04-28T08:01:43Z gpiero joined #lisp 2021-04-28T08:01:59Z loke[m]: * kagevf: You might want to do mkdir -p $(dirname "$name_with_path") 2021-04-28T08:02:03Z loke[m]: * kagevf: You might want to do: mkdir -p $(dirname "$name_with_path") 2021-04-28T08:02:22Z loke[m]: Sorry, I didn't notice that I'm on an IRC-backed channel. This must have looked horrible in an IRC client. 2021-04-28T08:02:28Z loke[m]: I'll pay more attention next time. 2021-04-28T08:05:18Z Nilby doesn't like unix, which makes crazytown more crazy (let ((file "~/tmp/gralt/baz/moo.txt")) (!= "mkdir" "-p" (nos:dirname file)) (! "echo foo > " file)) 2021-04-28T08:05:46Z nij: Did anyone (intend to) annotate CLHS and make it more friendly, say, with more examples? 2021-04-28T08:06:19Z contrapunctus: nij: I think phoe was working on something like that 2021-04-28T08:06:43Z kini quit (Ping timeout: 258 seconds) 2021-04-28T08:07:24Z xkapastel quit (Quit: Connection closed for inactivity) 2021-04-28T08:08:00Z nij: \o/ any link? 2021-04-28T08:08:32Z skapata joined #lisp 2021-04-28T08:08:53Z beach: nij: The Common Lisp HyperSpec can not be annotated as is. It has a very restrictive copyright. 2021-04-28T08:11:06Z nij: Ah.. but can we annotate separately, and point it to specific pages of CLHS? 2021-04-28T08:11:19Z nij: (When will its copyright expire? I won't die before then.) 2021-04-28T08:11:22Z beach: I may not be remembering this right, but I think the ANSI standards document can not be legally copied, but the dpANS can. And I think the Common Lisp HyperSpec was created from the dpANS. However, the HTML markup is also protected by copyright. I may be wrong, and ANSI may have given permission to LispWorks to create the Common Lisp HyperSpec from the standards document. 2021-04-28T08:11:49Z beach: I think it is 75 years after the death of the creator, or something like that. 2021-04-28T08:11:51Z Odin- joined #lisp 2021-04-28T08:12:02Z beach: It tends to follow the age of Mickey Mouse. 2021-04-28T08:12:31Z gitgood quit (Remote host closed the connection) 2021-04-28T08:12:58Z beach: nij: I think the right solution is to create a new document from dpANS, and I am pretty sure that is what phoe did. 2021-04-28T08:13:02Z nij: :-( I'll probably be dead then. Anyway. 2021-04-28T08:13:26Z nij: phoe: is it released?! 2021-04-28T08:13:33Z beach: What we do need is a version of the dpANS in the form of one single LaTeX document, rather than as one TeX document per chapter. 2021-04-28T08:13:49Z TMA: it depends on the jurisdiction of the birth/citizenship/residence/death of the creator at the time of the work being first published, of the publisher if posthumously and it is generally at least 70 years after the event, even 100 in some cases 2021-04-28T08:14:02Z ChoHag: beach: cat(1). 2021-04-28T08:14:32Z kini joined #lisp 2021-04-28T08:14:58Z beach: TMA: Thanks. 2021-04-28T08:15:08Z beach: ChoHag: Nope, won't work. 2021-04-28T08:16:45Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-28T08:18:03Z bjorkintosh quit (Remote host closed the connection) 2021-04-28T08:18:30Z Nilby: If I didn't dislike both HTML and TeX so much I would try to do it. I've been fixing a a texinfo copy for years and it's still messed up. 2021-04-28T08:18:52Z Duuqnd joined #lisp 2021-04-28T08:18:52Z hendursaga joined #lisp 2021-04-28T08:19:05Z Odin- quit (Read error: Connection reset by peer) 2021-04-28T08:19:33Z jonatack joined #lisp 2021-04-28T08:20:02Z bjorkintosh joined #lisp 2021-04-28T08:22:44Z Odin- joined #lisp 2021-04-28T08:23:48Z phoe: nij: is what released? 2021-04-28T08:23:56Z beach: CLUS. 2021-04-28T08:24:08Z phoe: not officially, it's in a very unfinished state 2021-04-28T08:24:40Z theothornhill: How unfinished, and is there any way we can help? 2021-04-28T08:27:54Z bjorkintosh quit (Ping timeout: 245 seconds) 2021-04-28T08:28:19Z Odin- quit (Ping timeout: 245 seconds) 2021-04-28T08:29:11Z karlosz quit (Ping timeout: 240 seconds) 2021-04-28T08:29:29Z nij: yeah maybe people can help 2021-04-28T08:30:18Z theothornhill: I'll volunteer to help out, if I could be pointed somewhere to look 2021-04-28T08:30:38Z beach: Again, I think the best thing to do would be to create a single LaTeX document (with multiple files obviously) from the per-chapter TeX files of the dpANS. 2021-04-28T08:31:02Z kreyren quit (Changing host) 2021-04-28T08:31:02Z kreyren joined #lisp 2021-04-28T08:31:02Z kreyren quit (Changing host) 2021-04-28T08:31:02Z kreyren joined #lisp 2021-04-28T08:31:21Z beach: Then we could use it for the Common Lisp UltraSpec, but also as a basis for a Common Lisp reference manual, and for the WSCL specification. 2021-04-28T08:32:30Z anticrisis quit (Read error: Connection reset by peer) 2021-04-28T08:33:09Z random-nick joined #lisp 2021-04-28T08:35:02Z scymtym: beach: is there more information on this idea of reformatting the dpANS sources anywhere? like previous attempts, necessary steps, expected outcome, etc? 2021-04-28T08:35:24Z Nilby: Unless I've missed something it doesn't seem like LaTeX is an adequate format. 2021-04-28T08:35:49Z beach: scymtym: Not really. I tried doing it semi-manually, but it was a disaster. 2021-04-28T08:36:29Z beach: Nilby: If it is correctly structured, it could be parsed. But that's not the case for the dpANS. 2021-04-28T08:37:14Z beach: Nilby: The dpANS is pure TeX with lots of custom macros, many of which are for aesthetic purposes only. 2021-04-28T08:37:23Z Nilby: Yes. That's one reason I wish it were in a more abstract format. 2021-04-28T08:37:43Z beach: Nilby: I totally agree, but that's just making the task even more complicated up front. 2021-04-28T08:37:50Z White_Flame: need Common Lisp Spexpr 2021-04-28T08:38:34Z White_Flame: one day I'll do it 2021-04-28T08:38:47Z White_Flame: just blast through it monk-copy style 2021-04-28T08:38:50Z scymtym: beach: i see. i meant information that would be useful for making another attempt. that would also include how to get the sources and an explanation of the legal situation, i guess 2021-04-28T08:39:29Z Nilby: I actually have some fondness for sexp formats like ccldoc. 2021-04-28T08:39:59Z beach: scymtym: I remember it was tricky to find the sources. But I have them, so in the worst case, I can make them available. 2021-04-28T08:40:21Z beach: scymtym: We *think* it is free for everyone to use. 2021-04-28T08:41:00Z beach: Nilby: Sure, if you want to try that, that would be fantastic. 2021-04-28T08:41:02Z Odin- joined #lisp 2021-04-28T08:41:08Z scymtym: beach: that's good to hear 2021-04-28T08:41:09Z pbgc joined #lisp 2021-04-28T08:41:12Z ThaEwat quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:13Z ms[m] quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:13Z katco quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:13Z infra_red[m] quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:13Z MrtnDk[m] quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:13Z no-defun-allowed quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:14Z loke[m] quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:14Z quanta[m] quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:15Z rodentrabies quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:16Z susam quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:17Z dnjp[m] quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:18Z Gnuxie[m]1 quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:18Z dmiles[m] quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:19Z hegz quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:19Z tweet[m] quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:20Z arcontethegreat[ quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:21Z dieggsy quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:33Z agam_b[m] quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:33Z etimmons quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:43Z theothornhill: beach: But if it's mostly hindered by the hassle of manually doing things, more hands would surely help? 2021-04-28T08:41:45Z theo[m] quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:47Z santiagopim[m]1 quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:47Z kreyren quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:47Z heretical_crypte quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:47Z e[m]1 quit (Quit: Bridge terminating on SIGTERM) 2021-04-28T08:41:58Z imode quit (Ping timeout: 252 seconds) 2021-04-28T08:41:59Z beach: theothornhill: Absolutely! 2021-04-28T08:42:10Z scymtym: i think making the sources available along with a little explanation of the situation would make the project more approachable if that makes sense 2021-04-28T08:42:16Z beach: theothornhill: All we need then is someone to organize the effort. 2021-04-28T08:42:41Z beach: scymtym: Don't you think we also need some kind of action plan? 2021-04-28T08:43:14Z beach: I was aiming for LaTeX to avoid having to translate all the macros, and so that we could use cross references, bibliography references, etc. 2021-04-28T08:44:37Z pbgc quit (Max SendQ exceeded) 2021-04-28T08:44:54Z attila_lendvai joined #lisp 2021-04-28T08:44:55Z attila_lendvai quit (Changing host) 2021-04-28T08:44:55Z attila_lendvai joined #lisp 2021-04-28T08:45:19Z beach: I wish gilberth were here. He is the expert in recycling stuff like this. He created the "annotatable" CLIM spec from the LaTeX source. 2021-04-28T08:45:52Z scymtym: beach: not sure. people chipping away at the problem in private and a coordinated effort don't seem to be mutually exclusive since 2021-04-28T08:46:01Z Odin- quit (Ping timeout: 276 seconds) 2021-04-28T08:46:04Z theothornhill: phoe: Is your effort available somewhere? If not, could you make it available? Otherwise I can try to set up something 2021-04-28T08:46:28Z White_Flame: beach: poke him in lispcafe if you want 2021-04-28T08:46:32Z scymtym: beach: yeah, seeing the CLIM spec "parser", i wondered how different the CLHS and CLIM are in that regard 2021-04-28T08:46:37Z beach: scymtym: Fair enough. 2021-04-28T08:46:43Z Nilby: Profusion of macros seems like what you get when you have super-lisp-hackers writing in TeX. 2021-04-28T08:47:05Z beach: White_Flame: Aww! Another channel! *sigh* 2021-04-28T08:47:13Z Odin- joined #lisp 2021-04-28T08:47:21Z White_Flame: or PM I guess? 2021-04-28T08:47:22Z beach: Nilby: I tend to agree. 2021-04-28T08:47:34Z beach: Nilby: Yes, that's better. 2021-04-28T08:47:56Z Duuqnd: It would be nice if there was a free software clone of Symbolics Concordia and the document examiner. Not sure if it would be at all useful for this though. 2021-04-28T08:51:15Z agam_b[m] joined #lisp 2021-04-28T08:51:57Z Nilby: Concordia was resting on quite a highly evolved stack of things that I don't think we have free versions of yet. 2021-04-28T08:52:32Z Duuqnd: Concordia itself can't be salvaged, I was more thinking something like a clone written on CLIM or something. 2021-04-28T08:53:49Z no-defun-allowed joined #lisp 2021-04-28T08:53:50Z no-defun-allowed: I could swear I saw a portable version of Joshua still. 2021-04-28T08:54:07Z Duuqnd: Joshua seems like it would be easier to make portable 2021-04-28T08:54:18Z beach: Duuqnd: I think jackdaniel is working on some kind of CLIM-based documentation system. 2021-04-28T08:54:21Z no-defun-allowed: Best case would be that you replace dw: with clim: and call if a day. 2021-04-28T08:54:38Z no-defun-allowed: *it a day 2021-04-28T08:56:16Z tophullyte quit (Ping timeout: 252 seconds) 2021-04-28T08:57:11Z beach: I honestly think the best action would be for each person to take a section or a chapter, whipping up the PDF of the standards document, and then copy-paste from dpANS into a LaTeX document or some other kind of document. 2021-04-28T08:57:57Z beach: I am convinced that any attempt at automating the translation would be much harder. 2021-04-28T08:58:59Z loke[m] joined #lisp 2021-04-28T08:59:00Z loke[m]: beach: I believe any transformation of the spec should be made into some kind of machine-readable form. LaTeX is fine, as long as the content is parseable without LaTeX itself. Storing the information in sexp form would be ideal. 2021-04-28T08:59:10Z loke[m]: That way you can render it any way you want. 2021-04-28T08:59:27Z beach: loke[m]: Oh, yes, absolutely. 2021-04-28T08:59:29Z phoe: theothornhill: https://phoe.tymoon.eu/clus/doku.php and on github 2021-04-28T08:59:42Z phoe: but I'll need to restart this from scratch someday because my methodology sucked at the time 2021-04-28T08:59:49Z ukari quit (Remote host closed the connection) 2021-04-28T09:00:08Z phoe: if I ever restart CLUS, I'll want to do it in a reproducible way that starts with dpANS sources and mechanically and reproducibly converts them into whatever format is required 2021-04-28T09:00:33Z ukari joined #lisp 2021-04-28T09:00:40Z phoe: the most important is *reproducible* because the standard really needs to be copied verbatim, as all holy scriptures must be 2021-04-28T09:00:44Z beach: loke[m]: But then we have the eternal problem of choosing a format. We never seem to be able to agree upon such a thing. 2021-04-28T09:01:17Z beach: loke[m]: The reason is simple. There are so many formats to choose from, each one is going to have only a small minority of proponents. 2021-04-28T09:01:21Z loke[m]: If it's in some sexp form, transforming it to HTML, LaTeX, org-mode or whatever would be trivial. 2021-04-28T09:01:22Z nostoi joined #lisp 2021-04-28T09:01:45Z beach: loke[m]: But "sexp form" is not specific enough. 2021-04-28T09:01:53Z skapata quit (Remote host closed the connection) 2021-04-28T09:02:09Z beach: How does a table look? An itemized list? Code vs text? 2021-04-28T09:02:22Z loke[m]: Well, the details doesn't matter. It could be something like '("Some text " (:bold "bold text here")) 2021-04-28T09:02:30Z Duuqnd: The details do matter 2021-04-28T09:02:41Z splittist: a specified clos form. let N input and M output formats bloom. 2021-04-28T09:02:46Z beach: loke[m]: And that's enough to create a failure of consensus. 2021-04-28T09:02:56Z loke[m]: I dunno, point is that I don't think most people would complain, since it's not any specific format, and every proponent of some other format knows they can easily convert it to their favourite style. 2021-04-28T09:03:32Z beach: loke[m]: But if we need to collaborate on this effort, then we can't have each person choose a different format. 2021-04-28T09:03:47Z no-defun-allowed: Frob it, just make the format # - no one will know what it is without a nice print-object method and thus no one can complain. 2021-04-28T09:04:22Z loke[m]: True. But you'll have the dictator choose the base sexp format. My example above is what I use for my transformed version of the Maxima documentation, and it works fine. 2021-04-28T09:05:01Z loke[m]: I have written a documentation browser as part of Climaxima that displays the content in a much nicer way than the official HTML docs, and has better search, so I think it's a success. 2021-04-28T09:05:15Z splittist: But :bold is an output specification, not a semantic signifier 2021-04-28T09:05:40Z loke[m]: splittist: sure, it was an example. 2021-04-28T09:06:01Z loke[m]: The Climaxima format contains both visual and semantic specifications. 2021-04-28T09:06:16Z Nilby: The trouble is, we can see how well separation of semantics from presentaion is going for the web. 2021-04-28T09:06:21Z loke[m]: You'll just take the specifiers directly from the LaTeX dpans source, 2021-04-28T09:06:36Z loke[m]: I was working on an automatic converter for the dpand documents that created precisely this. 2021-04-28T09:06:58Z nij: I wonder why PG doesn't fund common lisp. 2021-04-28T09:07:10Z loke[m]: Nilby: My apologies for making assumptions, but did you take a look at the dpans source? It already contains that information directly in the LaTeX source. 2021-04-28T09:07:12Z nij: Maybe it's a good idea to ask him for some. 2021-04-28T09:07:49Z arcontethegreat[ joined #lisp 2021-04-28T09:07:49Z dieggsy joined #lisp 2021-04-28T09:07:49Z dnjp[m] joined #lisp 2021-04-28T09:07:49Z e[m]1 joined #lisp 2021-04-28T09:07:49Z etimmons joined #lisp 2021-04-28T09:07:50Z hegz joined #lisp 2021-04-28T09:07:50Z Gnuxie[m] joined #lisp 2021-04-28T09:07:50Z heretical_crypte joined #lisp 2021-04-28T09:07:50Z kreyren joined #lisp 2021-04-28T09:07:50Z katco joined #lisp 2021-04-28T09:07:50Z infra_red[m] joined #lisp 2021-04-28T09:07:50Z MrtnDk[m] joined #lisp 2021-04-28T09:07:50Z dmiles[m] joined #lisp 2021-04-28T09:07:50Z rodentrabies joined #lisp 2021-04-28T09:07:50Z ms[m] joined #lisp 2021-04-28T09:07:50Z quanta[m] joined #lisp 2021-04-28T09:07:50Z santiagopim[m] joined #lisp 2021-04-28T09:07:50Z susam joined #lisp 2021-04-28T09:07:50Z ThaEwat joined #lisp 2021-04-28T09:07:50Z tweet[m] joined #lisp 2021-04-28T09:07:56Z theo[m] joined #lisp 2021-04-28T09:09:02Z Nilby: loke[m]: Yes, and I know they did a pretty good job with TeX, but it's certainly not perfect, and they we're exactly focusing on the hyperspec aspects. 2021-04-28T09:09:31Z Nilby: s/we're/weren't/ 2021-04-28T09:09:42Z TMA: Nilby: https://github.com/xach/dpans if you hadn't found the dpANS sources already 2021-04-28T09:10:30Z TMA: ah, you have, I reckon 2021-04-28T09:11:08Z Nilby: TMA: Thanks. I think I started with one from GCL, but Xach's is probably in better shape. 2021-04-28T09:12:50Z no-defun-allowed: nij: I would prefer to not be funded by Paul Graham honestly. 2021-04-28T09:13:28Z no-defun-allowed: If you can stomach him, sure why not, but that's not my cup of tea. I dunno. 2021-04-28T09:13:36Z nicktick quit (Ping timeout: 260 seconds) 2021-04-28T09:13:40Z Nilby: nij: PG want to replace CL with his thing, so he probably doesn't want to fund us. 2021-04-28T09:15:38Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-28T09:15:41Z no-defun-allowed: For one not borderline "political" example, his two hundred (thousand?) year languages are very terse, but I write verbose code, because that is what I can read. 2021-04-28T09:15:44Z nij: Nilby: Oh really :-( ? 2021-04-28T09:16:06Z splittist would be wary of anything funded, as funding implies official, and constitutional conventions are unpredictable see e.g. French revolution, Russian revolution etc. (: 2021-04-28T09:17:16Z nij: But it's also how CLHS was written, no? 2021-04-28T09:17:27Z lotuseater joined #lisp 2021-04-28T09:18:01Z beach: nij: Why did you bring up Paul Graham? 2021-04-28T09:18:03Z White_Flame: funding was also why CLHS wasn't completed to the desired state 2021-04-28T09:19:23Z nij: beach: Because he did seem to like CL and might be able to help out. 2021-04-28T09:19:31Z nij: White_Flame: That's right. 2021-04-28T09:19:53Z attila_lendvai_ joined #lisp 2021-04-28T09:20:28Z beach: nij: Like I said, the Common Lisp HyperSpec was created either from the dpANS or perhaps from the standards document with special permission. I forget who did it. Maybe Kent Pitman? 2021-04-28T09:20:41Z no-defun-allowed: Yes, Pitman put it together. 2021-04-28T09:21:58Z beach: nij: How did you think it was created? 2021-04-28T09:21:59Z no-defun-allowed: What I would do is start a venture commune to get common property for any CL work. This has the pleasant side effect of competing with PG. 2021-04-28T09:22:13Z attila_lendvai quit (Ping timeout: 240 seconds) 2021-04-28T09:23:08Z nij: beach: damn I didn't know what dpANS was, and now it makes sense. 2021-04-28T09:23:18Z nij: I thought someone wrote CLHS by his/her own. 2021-04-28T09:23:22Z zefram22 joined #lisp 2021-04-28T09:24:06Z beach: nij: Not at all, it was derived from the standardization documents. And those documents took dozens of people to create. 2021-04-28T09:24:08Z nij: So with dpANS, we don't have to write CLUS from scratch? 2021-04-28T09:24:21Z beach: That's the idea, yes. 2021-04-28T09:24:41Z beach: nij: But, if you followed the discussion the dpANS is in a format that is not easy to exploit. 2021-04-28T09:24:54Z nij: Now xach has a copy on github. Is there any compiled version (in pdf, say)? 2021-04-28T09:24:55Z Nilby: Funny that arc people started using sbcl, https://github.com/arclanguage/Clamp 2021-04-28T09:25:21Z nij: Nilby: he has a new lang spec recently too 2021-04-28T09:25:23Z theothornhill: beach: what would be the best format, then? Markdown? 2021-04-28T09:25:38Z no-defun-allowed: Great, now I know what libraries to avoid. 2021-04-28T09:26:05Z beach: theothornhill: I am not going to attempt to answer that, because, like I said, any particular format would be defended by only a small minority of us. 2021-04-28T09:26:39Z zap1 is now known as zzappie 2021-04-28T09:26:50Z beach: theothornhill: And, as I often say, I would like for the entire thing to be encoded as standard objects, with a well defined protocol. 2021-04-28T09:27:23Z beach: That way, we can't possibly disagree on some surface syntax, because the surface syntax would not be what defines the format. 2021-04-28T09:27:43Z theothornhill: beach: yeah, but now it looks pretty gnarly, so maybe converting it to a cleaner (as in human readable) format first could be a smart first step? 2021-04-28T09:28:00Z Nilby: beach: I quite agree with a standard object encoding. 2021-04-28T09:28:04Z contrapunctus: beach: I remember CommonDoc being brought up as such a protocol, last time 2021-04-28T09:28:09Z beach: Yes, and I have suggested creating a single coherent LaTeX document. 2021-04-28T09:28:29Z beach: theothornhill: ^ 2021-04-28T09:28:42Z beach: contrapunctus: Let me check the logs for that... 2021-04-28T09:29:08Z contrapunctus: https://commondoc.github.io/ 2021-04-28T09:30:06Z contrapunctus left #lisp 2021-04-28T09:30:18Z Nilby: I also agree with phoe, that it would be good for it to be reproducible to go rom dpANS to an object encoding. 2021-04-28T09:30:35Z beach: contrapunctus: I must have completely forgotten about this. Who wrote that? 2021-04-28T09:32:35Z beach: Aha! It slowly comes back. 2021-04-28T09:33:07Z beach: I forget the IRC handle of Fernando Borretti. 2021-04-28T09:33:11Z contrapunctus joined #lisp 2021-04-28T09:34:05Z ukari quit (Remote host closed the connection) 2021-04-28T09:35:01Z ukari joined #lisp 2021-04-28T09:35:03Z beach: contrapunctus: Thanks for reminding me. Then CommonDoc might be the best recommendation. Let me see how it can be used. 2021-04-28T09:35:23Z kevingal joined #lisp 2021-04-28T09:36:11Z splittist: The problem is that documents (for human consumption) are not trees. At least, not at any reasonable level of abstraction. 2021-04-28T09:36:52Z bjorkintosh joined #lisp 2021-04-28T09:37:17Z nij: splittist: why would that be a problem? 2021-04-28T09:37:17Z beach: splittist: That's why I would like to see documentation split into (say) "chunks" where each "chunk" has a unique label and can be inserted into documents in different ways. 2021-04-28T09:37:26Z nij: yes yes 2021-04-28T09:38:26Z contrapunctus: splittist: reeeeaaally? o.O HTML, XML, and anything that targets them like Org, Markdown, etc, as well as XML schemas like ODF...aren't they all trees? 2021-04-28T09:39:01Z Nilby: I don't know specificlly about CommonDoc, but an object representation is really a graph, and can have circularity, etc. 2021-04-28T09:39:03Z beach: CommonDoc seems to do that already. 2021-04-28T09:39:15Z splittist: contrapunctus: yes. and a tiny subset of documents. 2021-04-28T09:40:25Z splittist: There's a reason wordprocessing formats are insanely complicated. 2021-04-28T09:40:54Z Nilby: XML things are only textually a tree, but in objects a node graph e.g. SVG. 2021-04-28T09:41:28Z zefram22 quit (Quit: zefram22) 2021-04-28T09:41:42Z zefram22 joined #lisp 2021-04-28T09:42:16Z beach: It looks like CommonDoc may be an excellent starting point. 2021-04-28T09:43:12Z splittist: headers, footers, footnotes, endnotes, call-outs, tables, pictures; sections of text that don't map to textual content, but to its presentation; annotations that span units of text; styles that do - or don't - compose. 2021-04-28T09:44:00Z nostoi quit (Quit: Verlassend) 2021-04-28T09:44:04Z nij: beach: sounds like it 2021-04-28T09:44:20Z nij: But I wonder why don't it uses s-exprs as formats 2021-04-28T09:44:21Z nij: https://commondoc.github.io/docs/formats.html 2021-04-28T09:44:45Z splittist: title pages, front matter, colophons, appendices, schedules, annexes, indexes, tables of contents, tables of authorities, bibliographies, watermarks, borders for paragraphs, borders for pages, ... 2021-04-28T09:45:10Z Nilby: splittist <- this person documents :) 2021-04-28T09:45:14Z nij: So instead of @begin(enum) @item(This is the first item) @item(And this the second) @end(enum), we can just write 2021-04-28T09:45:28Z nij: (enum "This is the first item" "And this is the second") 2021-04-28T09:45:47Z beach: nij: Because, again, the main idea is to have the internal CLOS protocol be the main definition of the format. Not the surface syntax. 2021-04-28T09:47:25Z zefram22 quit (Ping timeout: 252 seconds) 2021-04-28T09:47:33Z nij: Yeah.. that's the point. 2021-04-28T09:47:45Z nij: I'm just obsessed with using s-exprs as formats of everything. 2021-04-28T09:48:10Z Duuqnd: I like them too but it's important to know when not to use them 2021-04-28T09:49:02Z nij: It seems to be perfectly fine when it comes to latex-like stuff.. 2021-04-28T09:49:45Z nij: (eqn "line1" "line2" "line3"), instead of lots of begin.. end.. and indentation 2021-04-28T09:50:07Z nij: with emacs you get helpers for indenting as well 2021-04-28T09:50:21Z nij: But anyway, that's not really the point here, as beach said. 2021-04-28T09:50:56Z shifty quit (Ping timeout: 260 seconds) 2021-04-28T09:51:34Z shifty joined #lisp 2021-04-28T09:51:50Z splittist: CommonDoc seems to be basically the markdown subset of html with nestable sections 2021-04-28T09:51:53Z attila_lendvai_ quit (Quit: Leaving) 2021-04-28T09:52:54Z attila_lendvai joined #lisp 2021-04-28T09:52:55Z attila_lendvai quit (Changing host) 2021-04-28T09:52:55Z attila_lendvai joined #lisp 2021-04-28T09:53:17Z nij: I do I make file of this (https://github.com/xach/dpans) and get a readable pdf file? 2021-04-28T09:53:29Z nij: s/I do I/ How do I/ 2021-04-28T09:56:26Z TMA: nij: I have had success with running: for i in chap-{1..26}.tex chap-a.tex ; do pdftex $i ; done 2021-04-28T09:57:43Z TMA: nij: chap-0 contains table of contents, index, list of figures and also some problems that prevent it from finishing pdftex chap-0 successfully without modification 2021-04-28T09:58:02Z theothornhill: TMA: thanks :) 2021-04-28T10:00:07Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-28T10:01:32Z nij: Wow indeed, thanks TMA! 2021-04-28T10:01:57Z nij: beach , did CLHS add/remove things from dpANS? 2021-04-28T10:02:17Z TMA: for the table of contents: replace ".tc" with ".toc" in chap-0.tex ; for the index: run: sort -t: -k2 chap-*.idx > index.idx 2021-04-28T10:02:54Z beach: nij: No, it should be a very faithful HTML-ized version of it. 2021-04-28T10:02:54Z TMA: and then pdftex chap-0 finishes successfully 2021-04-28T10:03:28Z White_Flame: nij: CLHS added formatting & links to what might have been plain text in the tex 2021-04-28T10:03:49Z nij: What makes it hard to convert dpans into a commondoc? 2021-04-28T10:04:14Z edgar-rft: nij: the code examples in the CLHS and the "issues" pages were added by Kent Pitman, they are not part of the dPANS Tex version. 2021-04-28T10:04:15Z beach: nij: All the TeX macros they used. 2021-04-28T10:05:33Z aindilis` joined #lisp 2021-04-28T10:08:19Z aindilis quit (Ping timeout: 252 seconds) 2021-04-28T10:09:25Z Duuqnd: The \input stuff there reminds me a bit of how in Concordia most records were just links to other records. (screenshot for reference: https://i.imgur.com/J9ZWbrC.png) 2021-04-28T10:10:24Z Nilby: nij: TeX is hard to convert by anything that isn't TeX or TeX-based. PDF and DVI are pre-rendered formats that lose much of semantic content. And all of those formats are designed to be smushed onto dead trees, not clicky-pixels. 2021-04-28T10:11:20Z Nilby: Of course one of the cool things about Concordia is it's kind of a Zmacs mode and have live objects in it. 2021-04-28T10:12:16Z Duuqnd: Just like most things in Genera 2021-04-28T10:12:45Z Duuqnd: I should probably stop playing around with it because it's making me dislike Unix-likes and Windows more than I already did. 2021-04-28T10:13:53Z Nilby: Duuqnd: Yup. I've been stuck like that ever since using a Lisp machine. 2021-04-28T10:15:16Z zzappie quit (Remote host closed the connection) 2021-04-28T10:15:19Z paul0 quit (Remote host closed the connection) 2021-04-28T10:15:41Z paul0 joined #lisp 2021-04-28T10:15:43Z zzappie joined #lisp 2021-04-28T10:15:53Z Nilby: That specific screenshot shows org-mode-ish and non-tree-like features. 2021-04-28T10:18:34Z Duuqnd: There also this stuff which I think is really cool: https://i.imgur.com/SUpdoQn.png 2021-04-28T10:18:37Z zefram22 joined #lisp 2021-04-28T10:18:37Z zefram22 quit (Remote host closed the connection) 2021-04-28T10:18:47Z zefram22 joined #lisp 2021-04-28T10:19:06Z pjb: dieggsy: have a look at: (com.informatimago.tools.manifest:distribution) https://github.com/informatimago/lisp/blob/master/tools/manifest.lisp#L144 ; of course, totally ad-hoc. 2021-04-28T10:19:07Z Nilby: At least that CLIM can do now :) 2021-04-28T10:20:03Z igemnace quit (Remote host closed the connection) 2021-04-28T10:20:37Z Duuqnd: Being able to click on an example and having it run is also pretty neat: https://i.imgur.com/h1pAQI1.png 2021-04-28T10:21:52Z nij: I envy this. Dunno if there's any easy way to start. 2021-04-28T10:25:47Z pjb: nij: I guess PG doesn't fund Common Lisp, because he wasn't billionaires after selling viaweb. So instead he founded Y-combinator VC to fund startups to make him eventually a billionaire. Note that if you can pitch a good startup with y-combinator (and use Common Lisp to implement it), then PG would fund CL, indirectly. 2021-04-28T10:26:53Z nij: pjb that sounds like a good plan ;) 2021-04-28T10:27:08Z pjb: nij: oh, you meant a standization process? But once your startup will have made it, you will be able to do that yourself, which would be logical, since you will have used CL to build your products! 2021-04-28T10:27:49Z pjb: PG sold viaweb to yahoo! who hurried to rewrite it in C++… So there's some lost interst in CL there. 2021-04-28T10:28:21Z pjb: PG was a 2-comma, not a 3-comma from it ;-) 2021-04-28T10:32:56Z Nilby: I think foundational Lisp is thing that's above the normal economy, like other technologies say, e.g. GPS, you can't just throw money to make it happen, and it doesn't produce profit directly, but it's super useful and enables whole classes of other profitable endeavors. 2021-04-28T10:33:49Z no-defun-allowed: Not the case for any programming language? 2021-04-28T10:34:09Z nij: and gps is based on gr, which is based on Riemannian geometry 2021-04-28T10:34:34Z nij: no-defun-allowed: dunno. I a noob believe that CL is superior. 2021-04-28T10:35:03Z Nilby: Maybe some. It seems like programming languages can't be sold now. 2021-04-28T10:35:28Z no-defun-allowed: It does not transcend reality. No other programming languages make money on their own, other than creating a net loss for everyone dumb enough to use some. 2021-04-28T10:35:37Z no-defun-allowed: But after all, we're only ordinary men... 2021-04-28T10:38:44Z zefram22 quit (Quit: zefram22) 2021-04-28T10:39:30Z zefram22 joined #lisp 2021-04-28T10:44:07Z vegansbane6963 joined #lisp 2021-04-28T10:44:31Z zefram22 quit (Ping timeout: 265 seconds) 2021-04-28T11:10:56Z mindCrime_ joined #lisp 2021-04-28T11:19:31Z flazh quit (Quit: flazh) 2021-04-28T11:19:35Z daphnis joined #lisp 2021-04-28T11:24:51Z daphnis: to remove the end of a string, is there something more straightforward than (subseq str 0 (1- (length str))) ? 2021-04-28T11:27:38Z Nilby: That's pretty strightforward, but if you know it was specific characters you could use trim. 2021-04-28T11:29:12Z flazh joined #lisp 2021-04-28T11:29:43Z mindCrime_ quit (Ping timeout: 252 seconds) 2021-04-28T11:30:34Z daphnis: yeah, i suppose it is 2021-04-28T11:31:03Z jackdaniel: if your string has a fill pointer, then you may decrement it 2021-04-28T11:31:14Z jackdaniel: but this will be an operation that affects the string itself 2021-04-28T11:42:55Z amb007 quit (Read error: Connection reset by peer) 2021-04-28T11:43:17Z amb007 joined #lisp 2021-04-28T11:47:50Z amb007 quit (Read error: Connection reset by peer) 2021-04-28T11:48:24Z amb007 joined #lisp 2021-04-28T11:49:59Z frost-lab quit (Quit: Connection closed) 2021-04-28T11:57:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-28T11:57:43Z amb007 joined #lisp 2021-04-28T12:00:55Z Bike joined #lisp 2021-04-28T12:17:20Z jibanes_ is now known as jibanes 2021-04-28T12:20:52Z xkapastel joined #lisp 2021-04-28T12:21:16Z luckless quit (Remote host closed the connection) 2021-04-28T12:21:47Z luckless joined #lisp 2021-04-28T12:22:14Z pjb: daphnis: if you took the precaution of storing your string in a vector with a fill-pointer: (decf (fill-pointer str)) 2021-04-28T12:23:56Z pjb: (let ((str (make-array 32 :element-type 'character :fill-pointer t)) (src "Hello World")) (replace str src) (setf (fill-pointer str) (length src)) (print str) (decf (fill-pointer str)) str) #| "Hello World" --> "Hello Worl" |# 2021-04-28T12:24:54Z pjb: daphnis: now, if your string is a tad long, you may want to avoid copying it: (let ((str "Hello World")) (make-array (1- (length str)) :displaced-to str)) #| --> "Hello Worl" |# 2021-04-28T12:25:15Z pjb: daphnis: have a look at com.informatimago.common-lisp.cesarum.utility:nsubseq 2021-04-28T12:25:44Z pjb: https://github.com/informatimago/lisp/blob/master/common-lisp/cesarum/utility.lisp#L1778 2021-04-28T12:27:01Z pjb: daphnis: note, for most strings (length < 24 or 32), subseq will be more efficient, on 64-bit hardware. 2021-04-28T12:33:19Z daphnis: pjb: thanks! 2021-04-28T12:35:14Z Duuqnd quit (Remote host closed the connection) 2021-04-28T12:35:24Z duuqnd_ joined #lisp 2021-04-28T12:38:26Z shifty quit (Ping timeout: 252 seconds) 2021-04-28T12:39:19Z shifty joined #lisp 2021-04-28T12:41:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-28T12:42:06Z amb007 joined #lisp 2021-04-28T12:42:28Z daphnis quit (Quit: leaving) 2021-04-28T12:42:29Z amb007 quit (Read error: Connection reset by peer) 2021-04-28T12:42:49Z daphnis joined #lisp 2021-04-28T12:43:01Z amb007 joined #lisp 2021-04-28T12:43:45Z shifty quit (Ping timeout: 268 seconds) 2021-04-28T12:43:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-28T12:44:01Z daphnis quit (Client Quit) 2021-04-28T12:44:15Z shifty joined #lisp 2021-04-28T12:44:16Z daphnis joined #lisp 2021-04-28T12:44:43Z amb007 joined #lisp 2021-04-28T12:44:59Z ljavorsk quit (Ping timeout: 268 seconds) 2021-04-28T12:51:07Z amb007 quit (Ping timeout: 252 seconds) 2021-04-28T12:51:43Z cage_ joined #lisp 2021-04-28T12:51:55Z amb007 joined #lisp 2021-04-28T12:53:52Z aartaka joined #lisp 2021-04-28T12:54:14Z aartaka_d quit (Ping timeout: 268 seconds) 2021-04-28T12:56:13Z beach: AHA! The handle of Fernando Borretti is eudoxia, who apparently was here last around 5 years ago. 2021-04-28T12:56:30Z Shinmera: Yeah, he's still alive, but hasn't been doing any lisp in years. 2021-04-28T12:56:39Z Shinmera: I chat to him occasionally on streams. 2021-04-28T12:56:39Z beach: Right. 2021-04-28T12:56:45Z beach: Oh, OK. 2021-04-28T12:57:51Z nij left #lisp 2021-04-28T12:58:10Z rumbler31 joined #lisp 2021-04-28T12:59:45Z flip214: https://github.com/eudoxia0?tab=overview shows still alive and kicking 2021-04-28T13:02:40Z rumbler31 quit (Ping timeout: 252 seconds) 2021-04-28T13:06:37Z shifty quit (Ping timeout: 265 seconds) 2021-04-28T13:08:54Z wsinatra joined #lisp 2021-04-28T13:11:35Z cer-0 joined #lisp 2021-04-28T13:13:24Z amb007 quit (Read error: Connection reset by peer) 2021-04-28T13:14:30Z amb007 joined #lisp 2021-04-28T13:27:33Z zacts joined #lisp 2021-04-28T13:29:49Z theothornhill quit (Read error: Connection reset by peer) 2021-04-28T13:30:51Z dieggsy: pjb: oh cool, thanks. is the or there encompassing the os cases really necessary 2021-04-28T13:39:46Z pjb: dieggsy: note that: (or) #| --> nil |# So it serves two purposes; 1- protection in case we miss a case; 2- ease of editing the bunch of #+ in a single form. 2021-04-28T13:40:17Z pjb: dieggsy: with paredit, you can easily manipulate list sexps, so sometimes adding a PROGN, AND or OR can help editing. 2021-04-28T13:40:31Z dieggsy: oh, fair 2021-04-28T13:41:06Z dieggsy: i was just talking about how i gave up parens editing frameworks in favor of manual editing because they all felt like they got in my way lol 2021-04-28T13:41:08Z dieggsy: but i'll try them out again, it's been like a couple years 2021-04-28T13:41:35Z lonjil quit (Quit: No Ping reply in 180 seconds.) 2021-04-28T13:42:10Z pjb: Oh, and in the case #+(or unix) it's entirely useless, probably a left over from copy-pasting; but also a hint that we'd like to get a future feature to or unix with for nextstep. note that OpenStep worked on unices (sunos and hp/ux), Mach-OS, and Windows-NT. 2021-04-28T13:42:25Z pjb: dieggsy: I like paredit. 2021-04-28T13:42:55Z dieggsy: pjb: i think part of the fuss is i'm also using evil-mode and none of them quite click with that, you have to use some kind of sub-par adapter package 2021-04-28T13:43:40Z pjb: Yes, that may mess things up. 2021-04-28T13:44:11Z lonjil joined #lisp 2021-04-28T13:46:26Z Sheilong joined #lisp 2021-04-28T13:47:20Z Inline joined #lisp 2021-04-28T13:50:31Z hjudt quit (Ping timeout: 252 seconds) 2021-04-28T13:51:10Z duuqnd_ is now known as duuqnd 2021-04-28T13:56:03Z srhm joined #lisp 2021-04-28T14:01:21Z hjudt joined #lisp 2021-04-28T14:01:31Z djuber joined #lisp 2021-04-28T14:03:53Z Iolo quit (Ping timeout: 240 seconds) 2021-04-28T14:05:11Z Iolo joined #lisp 2021-04-28T14:10:39Z notzmv joined #lisp 2021-04-28T14:14:10Z hjudt quit (Ping timeout: 252 seconds) 2021-04-28T14:14:31Z waleee-cl joined #lisp 2021-04-28T14:15:04Z klltkr joined #lisp 2021-04-28T14:15:17Z djuber quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-28T14:15:37Z djuber joined #lisp 2021-04-28T14:25:58Z charles` quit (Ping timeout: 276 seconds) 2021-04-28T14:33:59Z pyc: While typing code into a .lisp file, is there a way to autocomplete known symbols? For example, form should autocomplete it to format. Is it available? I tried but it does not seem to autcomplete. I have SLIME running in Emacs. 2021-04-28T14:34:36Z beach: C-c TAB or C-c C-i. 2021-04-28T14:36:20Z pyc: thanks beach 2021-04-28T14:36:26Z beach: Pleasure. 2021-04-28T14:37:07Z jfb4: thanks beach 2021-04-28T14:37:49Z pyc: M-TAB also seems to work for autocompletion. 2021-04-28T14:37:59Z beach: jfb4: What did I help you with? 2021-04-28T14:38:25Z jfb4: beach: useful answer on autocompletion 2021-04-28T14:38:41Z beach: Oh, OK. 2021-04-28T14:39:42Z beach: pyc: I almost never use the Meta key, so I would have to type C-[ C-i instead, and the [ and the i are on the same hand, so slower to type. 2021-04-28T14:40:38Z jfb4: beach:curious why not use meta key, eg C-M-x 2021-04-28T14:40:42Z splittist: ESC Tab 2021-04-28T14:40:53Z beach: jfb4: Because it is in an awkward position. 2021-04-28T14:41:06Z beach also never uses the ESC key for that reason. 2021-04-28T14:41:39Z jfb4: ok but you can remap in a line super-meta-control the way of the Lisp machine keyboards 2021-04-28T14:42:12Z splittist: It is useful if you are using a terminal in a browser that eats lots of M-... chords 2021-04-28T14:42:16Z beach: I would need one of those Japanese keyboards with a very narrow space key. 2021-04-28T14:44:19Z pyc: (sort '("foo" "bar" "baz" "qux") 'string-lessp) or (sort '("foo" "bar" "baz" "qux") #'string-lessp)? Does it matter if I use 'string-lessp or #'string-lessp? Is one better style than the other? 2021-04-28T14:44:50Z beach: For standard functions, I recommend you always use #' 2021-04-28T14:45:27Z pyc: beach: Would you please elaborate the reason behind your recommendation? Trying to understand why one is better than the other. 2021-04-28T14:45:46Z beach: SORT will then be called with a function object, so no further indirection needs to be resolved, whereas if you call it with a symbol, some kind of lookup is required. 2021-04-28T14:46:01Z orivej joined #lisp 2021-04-28T14:46:59Z pyc: beach: thanks. 2021-04-28T14:47:00Z beach: I occasionally use a symbol for the :DISPLAY-FUNCTION pane option in CLIM, so that when the function is redefined, I don't have to re-evaluate my DEFINE-APPLICATION-FRAME form. 2021-04-28T14:47:20Z pyc: Is #' a result of Lisp-2 languages? Do Lisp-1 languages also have the #' syntax? 2021-04-28T14:47:31Z edgar-rft: pyc: 'string-lessp doesn't work with FLETs or LABELs, it will *always* use the global function even if a lexical local function exists 2021-04-28T14:48:18Z beach: pyc: The former. It is a way to take a value in the function namespace and turn it into a value in the variable namespace. 2021-04-28T14:48:42Z Bike: in racket #' actually means something completely different! isn't that exciting? 2021-04-28T14:48:47Z pyc: Okay. Thanks. 2021-04-28T14:48:57Z beach: Bike: Oh, wow. 2021-04-28T14:49:46Z edgar-rft: may I come up with "Scheme is no Lisp"? :-) 2021-04-28T14:52:05Z pyc: (sort (directory "*.txt") #'string-lessp) ; This fails with: The value #P"/Users/pyc/learning/a.txt" is not of type (OR (VECTOR CHARACTER) BASE-STRING SYMBOL CHARACTER) when binding SB-IMPL:STRING1. I understand the error. I am passing a list of pathnames to sort but using a predicate meant for string. What is the right way to solve this problem? 2021-04-28T14:52:47Z Bike: do you want to sort by the entire pathname, or the filename, or what 2021-04-28T14:52:50Z josemanuel quit (Quit: leaving) 2021-04-28T14:53:34Z djuber quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-28T14:53:40Z Bike: you can pass a :key to sort, e.g. #'namestring 2021-04-28T14:53:50Z edgar-rft: pyc: there's NAMESTRING to convert pathnames into strings 2021-04-28T14:54:07Z pyc: Bike: In my case, I will get the same result whether I sort by entire pathname or only by the filename because all my pathnames would start with #P"/Users/pyc/learning/" I am looking for files in a single directory only. 2021-04-28T14:54:17Z djuber joined #lisp 2021-04-28T14:54:43Z pyc: Bike, edgar-rft: Thanks. let me try that 2021-04-28T14:55:15Z edgar-rft: alternatively you could write PATHNAME-LESSP :-) 2021-04-28T14:56:35Z hjudt joined #lisp 2021-04-28T14:57:54Z pyc: (sort (directory "*.txt") #'string-lessp :key #'namestring) ; This worked fine. Really enjoyed learning about this. The CLHS document also describes the sort arguments very nicely. Thank you all for your help. 2021-04-28T14:59:07Z ukari quit (Remote host closed the connection) 2021-04-28T15:00:02Z ukari joined #lisp 2021-04-28T15:01:05Z daphnis quit (Ping timeout: 260 seconds) 2021-04-28T15:02:52Z daphnis joined #lisp 2021-04-28T15:05:26Z orivej quit (Ping timeout: 240 seconds) 2021-04-28T15:05:26Z aeth quit (Ping timeout: 240 seconds) 2021-04-28T15:07:24Z aeth joined #lisp 2021-04-28T15:07:31Z thomasb06 quit (Remote host closed the connection) 2021-04-28T15:08:12Z aartaka quit (Read error: Connection reset by peer) 2021-04-28T15:08:18Z aartaka_d joined #lisp 2021-04-28T15:10:19Z aindilis` quit (Remote host closed the connection) 2021-04-28T15:22:29Z Josh_2: Hello 2021-04-28T15:23:49Z beach: Hello Josh_2. 2021-04-28T15:30:41Z daphnis quit (Ping timeout: 240 seconds) 2021-04-28T15:31:12Z ebrasca joined #lisp 2021-04-28T15:31:16Z remby joined #lisp 2021-04-28T15:37:54Z hjudt quit (Ping timeout: 265 seconds) 2021-04-28T15:38:27Z hjudt joined #lisp 2021-04-28T15:39:01Z theothornhill joined #lisp 2021-04-28T15:39:05Z skapata joined #lisp 2021-04-28T15:41:36Z hypercube joined #lisp 2021-04-28T15:44:01Z klltkr quit (Quit: Textual IRC Client: www.textualapp.com) 2021-04-28T15:45:07Z pjb: pyc: the funny thing however, is that directory returns truenames. 2021-04-28T15:45:14Z pjb: pyc: ie. it resolves symlinks. 2021-04-28T15:45:34Z gum joined #lisp 2021-04-28T15:46:00Z pjb: pyc: (sort '("foo" "bar" "baz" "qux") 'string-lessp) cannot work, because SORT is destructive, and '("foo" "bar" "baz" "qux") is immutable. 2021-04-28T15:46:17Z pjb: pyc: what do you think happens when infinite force meets infinite innertia? 2021-04-28T15:46:22Z pjb: pyc: dragons out of the nose! 2021-04-28T15:46:41Z pjb: pyc: try: (sort (copy-list '("foo" "bar" "baz" "qux")) 'string-lessp) #| --> ("bar" "baz" "foo" "qux") |# 2021-04-28T15:47:32Z hjudt quit (Ping timeout: 240 seconds) 2021-04-28T15:53:34Z pyc: pjb: With SBCL, (sort '("foo" "bar" "baz" "qux") 'string-lessp) returns me ("bar" "baz" "foo" "qux"). Seems to do the right thing. 2021-04-28T15:54:06Z pyc: pjb: but you are right, CLHS spec says sort is destructive. so is my code undefined behavior? 2021-04-28T15:54:58Z dieggsy: i was just gonna say, works with SBCL 2021-04-28T15:56:14Z drbluefall joined #lisp 2021-04-28T15:58:48Z dieggsy: pyc: it *is* destructive though, it's modifying the actual list. if you store it in a variable, you can see the original list order is changed 2021-04-28T15:59:01Z dieggsy: as opposed to just returning a new list 2021-04-28T15:59:24Z drbluefall quit (Remote host closed the connection) 2021-04-28T15:59:46Z bilegeek joined #lisp 2021-04-28T16:00:19Z drbluefall joined #lisp 2021-04-28T16:01:38Z mindCrime_ joined #lisp 2021-04-28T16:02:03Z kiwichap joined #lisp 2021-04-28T16:02:09Z kiwichap: hello 2021-04-28T16:03:20Z hjudt joined #lisp 2021-04-28T16:03:29Z pjb: dieggsy: (let ((list '("foo" "bar" "baz" "qux"))) (print (sort list 'string-lessp)) list) #| ("bar" "baz" "foo" "qux") --> ("foo" "qux") |# does it really work? 2021-04-28T16:03:55Z pjb: s/dieggsy/pyc/ 2021-04-28T16:04:40Z beach: Hello kiwichap. 2021-04-28T16:04:43Z dieggsy: pjb: it warns "Destructive function SORT called on constant data: ("foo" "bar" "baz" "qux")" but it does work 2021-04-28T16:04:57Z kiwichap: how are you beach? 2021-04-28T16:05:12Z beach: Very well thank you. You? 2021-04-28T16:05:14Z pjb: dieggsy: are you familiar with the concept of nasal daemons? 2021-04-28T16:05:52Z beach: kiwichap: Are you new here? I don't recognize your nick. 2021-04-28T16:06:01Z kiwichap: yes I am new 2021-04-28T16:06:16Z beach: Great! Welcome! What brings you to #lisp? 2021-04-28T16:06:31Z pjb: http://catb.org/jargon/html/N/nasal-demons.html http://3.bp.blogspot.com/-4f7bw2esn8w/Ut159zC3X4I/AAAAAAAAENQ/bhy3LecsfBQ/s1600/26831_1419257239999_7976058_n.jpg 2021-04-28T16:06:51Z dieggsy: pjb: lol, saves everyone time to say "undefined behavior" 2021-04-28T16:06:56Z dieggsy: but yes, i'm familiar 2021-04-28T16:06:56Z pjb: should we assume kiwichap lives in the antipodes? 2021-04-28T16:07:10Z kiwichap: I was interested in making a website or developing computer equipment and was told that LISP is the best for that 2021-04-28T16:07:10Z pjb: dieggsy: undefined behavior is not frightening enough. 2021-04-28T16:07:21Z beach: pjb: .de suggests otherwise, but who knows. 2021-04-28T16:07:59Z pjb: kiwichap: well, at least one guy earned 8-digits selling a web program written in Common Lisp, so it's possible. 2021-04-28T16:08:30Z beach: kiwichap: Yeah, well, sort of. For one thing, we haven't written in LISP for decades, so if you use LISP, we think you are using decades-old dialects. 2021-04-28T16:08:45Z duuqnd: We usually write it "Lisp" these days 2021-04-28T16:08:52Z beach: kiwichap: Furthermore, this channel is dedicated to Common Lisp, which is probably fine for what you want. 2021-04-28T16:09:05Z pjb: probably the best choice for that indeed. 2021-04-28T16:09:25Z beach: kiwichap: Then, Common Lisp is the best choice for lots of stuff, you websites would represent no exception. :) 2021-04-28T16:09:35Z kiwichap: sounds good 2021-04-28T16:09:46Z pjb: kiwichap: http://cliki.net/Getting+Started http://cliki.net/Online+Tutorial 2021-04-28T16:10:14Z kiwichap: I don't really want to use ubuntu even though I set it up 2021-04-28T16:10:52Z kiwichap: is freebsd good? 2021-04-28T16:10:57Z duuqnd: You can write Common Lisp code in just about any modern OS 2021-04-28T16:11:11Z duuqnd: I've used both Linux and Windows so BSD should work fine 2021-04-28T16:11:18Z beach: kiwichap: When you use a Common Lisp system, you work more inside the system itself than in the host operating system, so you won't notice much difference. 2021-04-28T16:11:23Z kiwichap: ok sounds good, I am using FreeBSD, Debian and Open Suse for my websites at the moment 2021-04-28T16:13:13Z sauvin_ joined #lisp 2021-04-28T16:13:47Z dieggsy: kiwichap: define "good" - for a server ? 2021-04-28T16:14:22Z dieggsy: BSDs are excellent for servers. for daily use, much worse hardware support than Linux IME 2021-04-28T16:14:57Z dieggsy: or just general maturity i guess 2021-04-28T16:15:08Z kiwichap: yes, I prefer to write my own hardware drivers I guess 2021-04-28T16:15:22Z dieggsy: lol, that's one way to go about it 2021-04-28T16:15:32Z gitgood joined #lisp 2021-04-28T16:15:49Z sauvin quit (Ping timeout: 245 seconds) 2021-04-28T16:16:04Z dieggsy: dunno if i'd call it practical for productive use, but if you have the time, absolutely. contribute them upstream, even 2021-04-28T16:16:31Z Sheilong quit 2021-04-28T16:16:31Z kagevf: loke[m]: thank you - I didn't know about dirname ... yes, that would have done what I wanted ... 2021-04-28T16:16:32Z pjb: kiwichap: a lot of lisper use macOS to write lisp code on (even if deploying on MS-Windows or Linux). 2021-04-28T16:17:00Z kiwichap: interesting 2021-04-28T16:17:01Z dieggsy: pjb: why would lispers prefer macOS over e.g. Linux ? 2021-04-28T16:17:19Z kiwichap: why would they get a mac for that? 2021-04-28T16:17:21Z jackdaniel: there is some historical overlap between lisp and early osx 2021-04-28T16:17:29Z kiwichap: interesting 2021-04-28T16:17:33Z dieggsy: jackdaniel: ok, what about current day though 2021-04-28T16:17:47Z jackdaniel: plenty of lispers lived then and live now :) 2021-04-28T16:17:49Z dieggsy: is there anything that makes macOS better fit for lisp nowadays or is it just... historical vestiges kind o f 2021-04-28T16:18:28Z jackdaniel: I can't say much about osx, but I'm sure that historical vestiges play a role in some lispers preferring macos over linux 2021-04-28T16:18:37Z zefram22 joined #lisp 2021-04-28T16:19:22Z jackdaniel: also osx application market is bigger than linux's (if you want to sell software) 2021-04-28T16:20:01Z dieggsy: i mean surer, but that's getting at preferring macos over linux in general as opposed to for lisp specifically 2021-04-28T16:20:05Z kiwichap: makes sense but you need to own a mac to develop with a mac 2021-04-28T16:20:28Z kiwichap: I have IoS devices but I don't own a mac 2021-04-28T16:20:38Z jackdaniel: kiwichap: sure; I don't own a mac so I don't develop with a mac ,) 2021-04-28T16:20:48Z pjb: dieggsy: I don't know, but there are some pictures of lisp conference assistance where there's about 90% mac laptops vs 10% PC laptops which probably run 90% Linux and 10% Windows. 2021-04-28T16:21:02Z jackdaniel: dieggsy: if some person prefers macos over linux and they happen to be a lisper, what do you think they will prefer for lisp? 2021-04-28T16:21:16Z Josh_2: Is there a library that makes storing data in files easier? Basically I'm thinking something like subclass of one class would store in one directory, subclasses of that in a directory inside of that. Not sure 2021-04-28T16:21:16Z kiwichap: they aren't necessarily well designed and they are expensive 2021-04-28T16:21:29Z pjb: kiwichap: it's iOS. IoS would be Internet of Service 2021-04-28T16:21:37Z Josh_2: with a way of customizing serialization obv 2021-04-28T16:21:37Z kiwichap: interesting 2021-04-28T16:21:49Z kiwichap: I was more referring to the mac like I prefer my cpu to be water cooled 2021-04-28T16:21:50Z dieggsy: jackdaniel: my question was, is there a particular reason to prefer macos over linux *for lisp* 2021-04-28T16:21:53Z jackdaniel: either way this drifts toward offtopic, so as a moderator I feel obligued to moderate you :) 2021-04-28T16:22:05Z pjb: dieggsy: AFAIK, nope. 2021-04-28T16:22:28Z kiwichap: thank you , sorry, I am tempted for a mac for IoS development and was interesting to realize Internet of Service 2021-04-28T16:22:36Z jackdaniel: Josh_2: this sounds like an orm with extra steps 2021-04-28T16:22:45Z pjb: dieggsy: the only thing you have on macOS you don't have on Linux, is Clozure CL.app with a nice Hemlock editor, if you don't want to use emacs/slime. 2021-04-28T16:22:48Z Josh_2: jackdaniel: sure but I dont want to use a database 2021-04-28T16:22:50Z dieggsy: jackdaniel: fair , though i didn't start the conversation heh 2021-04-28T16:23:02Z kiwichap: I paid for a 1 month subscription of a rent a mac service also 2021-04-28T16:23:04Z pjb: dieggsy: on Linux you can run a PortableHemlock with a X11 backend, but it's not as nice. 2021-04-28T16:23:04Z Josh_2: I'm trying to avoid using something like postgres 2021-04-28T16:23:08Z kiwichap: this month that is 2021-04-28T16:23:35Z pjb: kiwichap: try iOS instead. 2021-04-28T16:23:35Z dieggsy: pjb: ah, well, i live and die by emacs so 2021-04-28T16:23:42Z jackdaniel: kiwichap: this channel is known for strict on-topicness rules, discussing other topic unrelated to common lisp is allowed on #lispcafe 2021-04-28T16:23:59Z pjb: dieggsy: but indeed, linux\X11\ratpoison\emacs is great. 2021-04-28T16:24:02Z jackdaniel: Josh_2: consider sqlite 2021-04-28T16:24:12Z jackdaniel: there is a library with bindings cl-sqlite 2021-04-28T16:24:22Z pjb: the keyboard is more responsive on Linux\X11 than on macOS (and on Windows it's horrible). 2021-04-28T16:24:34Z jackdaniel: pjb: this also applies to you, please move with this to #lispcafe 2021-04-28T16:24:44Z pjb: and you've got more keys and modifiers in X11 than in macOS, which is nice for lisp or emacs. 2021-04-28T16:24:49Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-28T16:25:16Z aeth quit (Ping timeout: 265 seconds) 2021-04-28T16:26:38Z aeth joined #lisp 2021-04-28T16:27:08Z kiwichap: I am using Windows Professional desktop and Windows 10 regular laptop 2021-04-28T16:27:16Z kiwichap: and have emulation software running 2021-04-28T16:27:34Z dieggsy: oof 2021-04-28T16:31:54Z Josh_2: databases suck 2021-04-28T16:32:00Z Josh_2: They are anti lisp imo 2021-04-28T16:32:34Z jackdaniel: I've heard many good things about allegrograph which is a common lisp database 2021-04-28T16:33:02Z kiwichap: the gnu clisp is good? 2021-04-28T16:33:10Z dieggsy: Josh_2: they kinda suck to work with, but they can be mighty fast compared to other storage methods. 2021-04-28T16:33:19Z jackdaniel: kiwichap: it has very slow pace of development 2021-04-28T16:33:26Z Josh_2: dieggsy: like what? the filesystem is speeeeeedy 2021-04-28T16:33:31Z dieggsy: kiwichap: some people here swear by it, others dislike it, i don't have enough info 2021-04-28T16:33:32Z jackdaniel: people usually recommend sbcl and then ccl 2021-04-28T16:34:19Z jackdaniel: (for specific needs also ecl [c embedding] and abcl [jvm embedding]) 2021-04-28T16:34:44Z dieggsy: Josh_2: you're not wrong, but then you get into things like disk space and compression i suppose. TBH i'm no expert on the subject 2021-04-28T16:36:14Z mindCrime_ quit (Ping timeout: 246 seconds) 2021-04-28T16:36:54Z tophullyte joined #lisp 2021-04-28T16:37:44Z nature joined #lisp 2021-04-28T16:37:50Z phossil joined #lisp 2021-04-28T16:38:23Z phossil quit (Client Quit) 2021-04-28T16:38:32Z kiwichap: I installed all 3 now 2021-04-28T16:38:50Z phossil joined #lisp 2021-04-28T16:38:53Z phossil quit (Remote host closed the connection) 2021-04-28T16:39:21Z phossil joined #lisp 2021-04-28T16:39:21Z phossil quit (Client Quit) 2021-04-28T16:41:26Z tophullyte quit (Ping timeout: 240 seconds) 2021-04-28T16:45:10Z zaquest quit (Quit: Leaving) 2021-04-28T16:45:13Z liberliver joined #lisp 2021-04-28T16:46:31Z zefram22 quit (Ping timeout: 252 seconds) 2021-04-28T16:47:46Z liberliver quit (Client Quit) 2021-04-28T16:49:32Z lotuseater quit (Ping timeout: 245 seconds) 2021-04-28T16:51:20Z lotuseater joined #lisp 2021-04-28T16:54:05Z theothornhill quit (Remote host closed the connection) 2021-04-28T16:54:42Z theothornhill joined #lisp 2021-04-28T16:56:45Z kiwichap: thank you 2021-04-28T16:59:43Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-28T17:00:06Z srhm quit (Quit: Konversation terminated!) 2021-04-28T17:00:25Z zaquest joined #lisp 2021-04-28T17:01:04Z zacts quit (Quit: bbl) 2021-04-28T17:04:58Z karlosz joined #lisp 2021-04-28T17:12:38Z imode joined #lisp 2021-04-28T17:14:27Z ukari quit (Remote host closed the connection) 2021-04-28T17:14:54Z ukari joined #lisp 2021-04-28T17:17:14Z CrashTestDummy2 joined #lisp 2021-04-28T17:17:48Z cosimone quit (Remote host closed the connection) 2021-04-28T17:20:06Z CrashTestDummy quit (Ping timeout: 240 seconds) 2021-04-28T17:20:09Z cage_ quit (Quit: Leaving) 2021-04-28T17:20:26Z cage_ joined #lisp 2021-04-28T17:20:49Z saganman quit (Ping timeout: 276 seconds) 2021-04-28T17:23:37Z shka_: fun fact: you can embed two ways with ECL 2021-04-28T17:23:41Z shka_: depending on your need 2021-04-28T17:26:55Z theothornhill joined #lisp 2021-04-28T17:26:58Z theothornhill quit (Remote host closed the connection) 2021-04-28T17:29:40Z mindCrime_ joined #lisp 2021-04-28T17:29:46Z sauvin_ is now known as Sauvin 2021-04-28T17:30:48Z nij joined #lisp 2021-04-28T17:32:26Z aeth quit (Ping timeout: 240 seconds) 2021-04-28T17:34:36Z aeth joined #lisp 2021-04-28T17:36:51Z bilegeek quit (Quit: Leaving) 2021-04-28T17:36:53Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-28T17:37:25Z kevingal quit (Remote host closed the connection) 2021-04-28T17:39:16Z stylewarning: I really wish there was a tiny no frills Common Lisp implementation 2021-04-28T17:39:25Z stylewarning: kind of like the no frills Schemes out there 2021-04-28T17:39:50Z stylewarning: But I guess it’s such an investment to build an implementation you might as well do fun stuff too 2021-04-28T17:40:48Z _death: you can take an implementation and start removing stuff 2021-04-28T17:43:54Z stylewarning: I think that’s possible but there’s also a certain way people write minimal software 2021-04-28T17:44:12Z stylewarning: namely a very direct style of coding without hooks, lots of indirection, etc 2021-04-28T17:44:27Z Josh_2: Why write minimal software when you can write software that works? 2021-04-28T17:45:02Z raeda_ joined #lisp 2021-04-28T17:45:26Z Josh_2: CL is basically the opposite of the unix philosophy 2021-04-28T17:45:41Z _death: I remember lisp500 had an impressive .lisp file along with it.. although with some prettification the .c file was some 2kloc after all? 2021-04-28T17:46:32Z raeda quit (Ping timeout: 268 seconds) 2021-04-28T17:47:07Z Josh_2: I read 'The rise of Worse is Better' in The Unix Haters Handbook very recently, interesting stuff and relevant to what you said stylewarning 2021-04-28T17:47:34Z koolkat332 joined #lisp 2021-04-28T17:47:39Z ntr joined #lisp 2021-04-28T17:48:19Z pyc: http://clhs.lisp.se/Body/f_search.htm says this: "For example, when start-end is true, the ..." but I don't see start-end specified anywhere else on this page. what is start-end referring to here? 2021-04-28T17:48:35Z _death: heh, trying to compile lisp500.c makes my gcc segfault :D 2021-04-28T17:48:59Z theothor` joined #lisp 2021-04-28T17:49:12Z Bike: pyc: typo for from-end. 2021-04-28T17:49:39Z _death: pyc: also see https://www.cliki.net/ANSI%20Clarifications%20and%20Errata 2021-04-28T17:50:10Z pyc: Bike: _death: thanks 2021-04-28T17:50:35Z nij: what's no-frills @_@? 2021-04-28T17:51:01Z hjudt quit (Ping timeout: 260 seconds) 2021-04-28T17:51:16Z hjudt joined #lisp 2021-04-28T17:51:18Z kiwichap quit (Ping timeout: 265 seconds) 2021-04-28T17:52:10Z stylewarning: nij: a compiler, author’s personal things 2021-04-28T17:52:20Z stylewarning: (those are frills) 2021-04-28T17:53:17Z ordoflammae joined #lisp 2021-04-28T17:54:33Z stylewarning: Josh_2: I’m not suggesting hyper-minimalism. I’m just saying that I think there’s room for a Common Lisp implementation that is small and straightforward, and especially easy for a reader to understand 2021-04-28T17:54:52Z theothor` quit (Ping timeout: 252 seconds) 2021-04-28T17:56:30Z theothor` joined #lisp 2021-04-28T18:03:38Z karlosz quit (Quit: karlosz) 2021-04-28T18:09:29Z remby: stylewarning: scheme? :P 2021-04-28T18:10:12Z shka_: well, CL is not a minimalistc language to begin with 2021-04-28T18:10:17Z Josh_2: Yeh, sounds like a scheme to me 2021-04-28T18:10:27Z stylewarning: How does this sound like a scheme 2021-04-28T18:10:36Z stylewarning: I’m talking about an implementation approach 2021-04-28T18:10:39Z stylewarning: Not a language design 2021-04-28T18:10:49Z shka_: i understand 2021-04-28T18:11:05Z _death: there is also ThinLisp 2021-04-28T18:11:11Z shka_: problem is, that standard conforming CL is supposed to have shitload of features 2021-04-28T18:11:15Z shka_: including MOP 2021-04-28T18:11:23Z shka_: and a debugger 2021-04-28T18:11:38Z stylewarning: shka_: so that just puts a lower bound on what can be achieved 2021-04-28T18:11:40Z jackdaniel: stripping away interrupt handling, threads, sticking to bytecode compiler (without linking sheningans) and bolting first "standard library" then "clos" should bring you 3/4 way there 2021-04-28T18:11:46Z stylewarning: But the point is to sit close to that lower bound 2021-04-28T18:12:07Z stylewarning: not to have some fabled 100 line C file implementing CL 2021-04-28T18:12:27Z stylewarning: jackdaniel: agreed 2021-04-28T18:12:38Z jackdaniel: another things that could be shaved are tcp, sse and posix funcionalities 2021-04-28T18:12:53Z jackdaniel: unicode is another possible victim 2021-04-28T18:13:02Z jackdaniel: s/possible/plausible/ 2021-04-28T18:14:40Z jackdaniel: one could go a few steps further and: implement non-conforming format and non-conforming loop which cover >98% of use cases 2021-04-28T18:15:19Z jackdaniel: unix file system interface could be stubbed with a silly vfs 2021-04-28T18:15:36Z jackdaniel: minimal ffi utilities could be retained to be able to do anything useful 2021-04-28T18:17:21Z luckless quit (Quit: luckless) 2021-04-28T18:19:37Z jackdaniel: that would give you an ad hoc, bug-ridden, slow implementation of 100% of common lisp :) 2021-04-28T18:19:45Z luckless joined #lisp 2021-04-28T18:20:10Z stylewarning: :))) 2021-04-28T18:22:24Z shka_: jackdaniel: that would be few step backwards, not further :D 2021-04-28T18:23:14Z shka_: honestly though, i think that for educational purposes some other lisp implementation makes more sense to study 2021-04-28T18:23:19Z jackdaniel: smaller modules are easier to maintain ;) but sure, given that we have a standard that would be a regression 2021-04-28T18:23:57Z shka_: perhaps even the lisp1.5 with few extensions 2021-04-28T18:24:17Z shka_: like the lexical variables 2021-04-28T18:24:44Z stylewarning: shka_: disagree 2021-04-28T18:25:14Z stylewarning: Scheme-ish is fine to study the structure of EVAL and APPLY 2021-04-28T18:25:35Z shka_: well then scheme 2021-04-28T18:25:52Z shka_: it is much nicer language for the education 2021-04-28T18:26:08Z stylewarning: Depends what you’re educating on 2021-04-28T18:26:17Z stylewarning: It doesn’t educate you about much of Common Lisp 2021-04-28T18:27:03Z shka_: yeah, i agree 2021-04-28T18:27:16Z stylewarning: It just educates you about the *gestures broadly toward the sky* “Lisp” 2021-04-28T18:27:48Z dieggsy: lol, i think they meant more abstractly like algorithms and shit. i might disagree wit that too though. I dunno, I love scheme and I love CL. you can learn from either and make great practical use of either 2021-04-28T18:27:50Z shka_: i guess SICL is the cleanest lisp implementation i know 2021-04-28T18:27:57Z ukari quit (Remote host closed the connection) 2021-04-28T18:27:58Z shka_: but still, it is not that easy to understand 2021-04-28T18:28:10Z shka_: and certainly not "basic" 2021-04-28T18:28:28Z stylewarning: dieggsy: but learning either doesn’t really provide insight into implementation 2021-04-28T18:28:29Z ukari joined #lisp 2021-04-28T18:29:02Z dieggsy: stylewarning: not at all, agreed 2021-04-28T18:29:17Z stylewarning: dieggsy: and currently in Common Lisp it’s hard to answer the question “what if Common Lisp had XYZ?” 2021-04-28T18:29:25Z bitmapper joined #lisp 2021-04-28T18:29:28Z dieggsy: stylewarning: what do you mean by that 2021-04-28T18:30:01Z stylewarning: For instance I would love to know what a computed goto special operator would be like in Lisp 2021-04-28T18:30:19Z stylewarning: Unless you’re a genius compiler hacker like Paul K, you can’t just simply add this to something like SBCL 2021-04-28T18:31:03Z luckless quit (Quit: luckless) 2021-04-28T18:31:15Z stylewarning: If we had a COMPUTED-GO special operator, then we could hack something like cheap coroutines in Lisp 2021-04-28T18:31:22Z stylewarning: Or fast interpreters 2021-04-28T18:31:59Z stylewarning: That would be fun to play with, but necessitates a substrate for easily modifying a CL implementation 2021-04-28T18:32:08Z luckless joined #lisp 2021-04-28T18:32:31Z raeda_: On that topic, I've been playing with Graal/Truffle lately, which is a compiler toolkit. If there was a Truffle based CL, it would be easy to modify it for experiments 2021-04-28T18:32:45Z raeda_: The downside is that you have to write it in Java :p 2021-04-28T18:33:06Z aartaka_d quit (Ping timeout: 240 seconds) 2021-04-28T18:33:15Z stylewarning: As discussed, a COMPUTED-GO, or even simpler, a jump table, are not something you can implement in CL as a macro without huge caveats 2021-04-28T18:33:27Z stylewarning: (As discussed ad nauseum in the past) 2021-04-28T18:34:47Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-28T18:37:53Z Bike: can't you? if the implementation optimizes CASE (as sbcl does for example) it doesn't seem to me like you'd be doing much worse than direct support 2021-04-28T18:38:09Z karlosz joined #lisp 2021-04-28T18:38:56Z stylewarning: Bike: well if an implementation supports CASE as a jump table then of course we are Golden 2021-04-28T18:39:06Z stylewarning: But SBCL has had that for like 2 weeks now 2021-04-28T18:39:15Z stylewarning: (I’m exaggerating, but it’s super recent) 2021-04-28T18:39:24Z _death: so are you just talking about performance? or something else? 2021-04-28T18:39:45Z Bike: i don't understand how the simple implementation helps here, if you want to worry about performance 2021-04-28T18:40:41Z stylewarning: Bike: I gave an example of a control structure that is difficult to implement; maybe there are better examples than what I provided 2021-04-28T18:40:42Z aindilis joined #lisp 2021-04-28T18:40:54Z pyc: Pastebin link please for this channel? I forgot it. Someone should add the pastebin link to the topic. 2021-04-28T18:41:07Z pyc: ,paste 2021-04-28T18:41:10Z Bike: i don't think we have a specific pastebin any more 2021-04-28T18:41:12Z stylewarning: Optimized CASE still doesn’t give computed goto; tags would need be able to appear anywhere in the lexical scope 2021-04-28T18:42:00Z stylewarning: AFAIK tags have to show up only in the immediate body of a TAGBODY 2021-04-28T18:42:18Z Bike: not sure what you mean. do you want to jump into the middle of an IF or something? 2021-04-28T18:42:20Z aindilis quit (Remote host closed the connection) 2021-04-28T18:42:32Z karlosz quit (Ping timeout: 252 seconds) 2021-04-28T18:42:35Z Bike: C can do that but it makes the semantics pretty messy 2021-04-28T18:43:04Z stylewarning: Bike: sure, that would be what you want if you wanted to implement coroutines 2021-04-28T18:43:13Z _death: the next step after macros is a walker.. 2021-04-28T18:43:44Z stylewarning: Coroutines as a static variable (aka L-T-V + mutable cell) + computed goto 2021-04-28T18:44:26Z aindilis joined #lisp 2021-04-28T18:44:40Z Bike: for a coroutine wouldn't you have to jump "into" a tagbody, essentially? tagbody only has dynamic extent so you can't do that 2021-04-28T18:45:51Z Bike: if i wanted to implement coroutines i'd probably start with continuations and go from there 2021-04-28T18:46:06Z luckless quit (Quit: luckless) 2021-04-28T18:46:14Z stylewarning: I think the DEFUN would be something like: LET jump-point = LTV(mutable-cell); (TAGBODY (go jump-point) ...) 2021-04-28T18:46:35Z luckless joined #lisp 2021-04-28T18:46:52Z Bike: well, i mean, so you'd have the tagbody in the coroutine, and when you yield you communicate the jump point back to the caller, right? 2021-04-28T18:46:55Z hiroaki joined #lisp 2021-04-28T18:47:20Z Bike: but then you're exiting the tagbody, and you can't re-enter it. 2021-04-28T18:47:27Z stylewarning: I wasn’t even thinking about yielding from called functions 2021-04-28T18:47:50Z Bike: that's not what i mean 2021-04-28T18:48:01Z Bike: just yielding from the coroutine is what i'm talking about 2021-04-28T18:48:40Z stylewarning: (Yield x) = (setf jump-point (incf next-number)) (return x) (tag next-number) 2021-04-28T18:48:44Z stylewarning: something like that 2021-04-28T18:48:52Z Bike: right, but you can't do that 2021-04-28T18:48:58Z stylewarning: Why not 2021-04-28T18:48:59Z Bike: once you return, you've exited the extent of the tagbody 2021-04-28T18:49:06Z aindilis quit (Remote host closed the connection) 2021-04-28T18:49:19Z stylewarning: Okay, and when you enter the function, the TAGBODY is entered again 2021-04-28T18:49:24Z Bike: lisp doesn't let you do that. if you want to do that, you'd have to take care of things like storing the stack frame to put it back when you enter 2021-04-28T18:49:56Z Bike: e.g. if you had some dynamic-extent thing in play at the yield point, you'd need to be able to put that back when you resume 2021-04-28T18:50:15Z Bike: it's not impossible, but it would be pretty involved 2021-04-28T18:50:16Z stylewarning: Where am I proposing re-entering an exited tagbody? 2021-04-28T18:50:23Z anticrisis joined #lisp 2021-04-28T18:50:30Z Bike: the (return x) is the yield, right? 2021-04-28T18:50:45Z Bike: where are you returning to? outside the tagbody, right? 2021-04-28T18:50:54Z stylewarning: RETURN is a normal RETURN-FROM, a DEFUN 2021-04-28T18:51:09Z jcowan: stylewarning: CLHS 1.7 http://www.lispworks.com/documentation/HyperSpec/Body/01_g.htm tells you what the requirements are to call your implementation "a subset of CL". 2021-04-28T18:51:27Z Bike: yeah, and your body is something like (defun coroutine ... (tagbody ...)) and you're doing (return-from coroutine), yeah? 2021-04-28T18:51:43Z stylewarning: (defun f () (let ((cell ...)) (tagbody (go cell) ... (setf cell 1) (return-from f x) (tag 1) ...))) 2021-04-28T18:52:12Z Bike: so when you return-from f, you're exiting the tagbody 2021-04-28T18:52:16Z stylewarning: Yes 2021-04-28T18:52:29Z stylewarning: I’m never jumping “back in” the exited tagbody 2021-04-28T18:52:31Z Inline quit (Ping timeout: 260 seconds) 2021-04-28T18:52:56Z Bike: okay, so your cell doesn't just have the jump point, it also has the entire stack frame? 2021-04-28T18:53:08Z Bike: or at least anything that's used after the 1 tag 2021-04-28T18:53:43Z stylewarning: In this case it just has the jump point; which isn’t 100% what’s required for a full “Just Works” coroutine with previously established lexical scope 2021-04-28T18:54:00Z stylewarning: (ie restoring the frame as you mentioned) 2021-04-28T18:54:39Z Bike: are there uses for coroutines with no state besides the control point? i've never really usd them but i assumed the state was a large part of the appeal 2021-04-28T18:54:47Z stylewarning: But that’s a deficiency in our definition of computed goto, not necessarily in what we are trying to do with coroutines 2021-04-28T18:55:31Z stylewarning: If you have a computed goto, you’ll have to decide what lexical variables mean if you’re jumping into a lexical context 2021-04-28T18:56:27Z _death: there are also the "off the beaten path" CL implementations like Corman, Eclipse, Scieneer.. 2021-04-28T18:56:37Z stylewarning: And hence why it would be nice to have a simplistic implementation that removes barriers to trying these things out 2021-04-28T18:56:58Z heisig joined #lisp 2021-04-28T18:57:42Z Bike: i don't know how much a simple implementation would help with that. like you could do a fairly small interpreter-based one, but then adding this kind of extension would be pretty involved 2021-04-28T18:58:09Z Bike: and implementing this with an interpreter would be vastly different from doing it with a compiler to the extent it would be hard to transfer what you'd learned 2021-04-28T18:58:16Z stylewarning: But I would contend it’s likely an order of magnitude less involved than trying to hack it into SBCL 2021-04-28T18:58:33Z Bike: (source: i wrote up a scheme with delimited continuations once. when i tried to write a compiler problems happened) 2021-04-28T18:59:11Z stylewarning: Yes interpreter vs compiler vs bytecode vs .... are real implementation issues and written about extensively 2021-04-28T18:59:33Z Bike: i guess the other thing i'd do is use sicl, which isn't exactly "simple", but it's modular enough to let you swap some stuff out 2021-04-28T19:00:06Z gaqwas joined #lisp 2021-04-28T19:00:06Z gaqwas quit (Changing host) 2021-04-28T19:00:06Z gaqwas joined #lisp 2021-04-28T19:00:13Z saganman joined #lisp 2021-04-28T19:00:13Z saganman quit (Changing host) 2021-04-28T19:00:13Z saganman joined #lisp 2021-04-28T19:00:33Z saganman left #lisp 2021-04-28T19:01:02Z nij left #lisp 2021-04-28T19:01:08Z Bike: i just don't understand what you'd do with the simple prototype exactly. you couldn't use it with production code sicne it's not efficient. you couldn't use it as much of a jumping off point for modding a more efficient lisp. 2021-04-28T19:01:10Z mindCrime_ joined #lisp 2021-04-28T19:03:35Z heisig quit (Ping timeout: 246 seconds) 2021-04-28T19:03:54Z stylewarning: Do any lisp implementations survive that use green threads? 2021-04-28T19:04:48Z Bike: i think ecl was gonna add them back 2021-04-28T19:05:01Z stylewarning: I implemented this but it would be cooler with green threads https://github.com/stylewarning/lisp-random/blob/master/generators.lisp#L62 2021-04-28T19:05:16Z stylewarning: easy to hit the OS limit on # threads 2021-04-28T19:07:06Z stylewarning: But it’s a cool thing to have in Lisp (generators) 2021-04-28T19:08:14Z Bike: coroutines are neat 2021-04-28T19:08:26Z theothor`: FWIW, https://dlmf.nist.gov/LaTeXML/ can parse the dpans repos with some tweaks. Returns xml, and can parse directly to html. It struggles with the table macros, but I think workarounds are possible. The xml could be parsed to a clos thing also, I guess? 2021-04-28T19:09:10Z _death: stylewarning: https://8c6794b6.github.io/posts/Delimited-continuations-with-monadic-functions-in-Common-Lisp.html 2021-04-28T19:09:35Z ntqz quit (Remote host closed the connection) 2021-04-28T19:09:52Z _death: I used that in a many-turtled logo thing 2021-04-28T19:10:06Z srhm joined #lisp 2021-04-28T19:10:18Z stylewarning: _death: it’s cool but to me it’s a toy only in the sense that it doesn’t provide an orthogonal feature 2021-04-28T19:10:46Z stylewarning: IOW you need to write Lisp differently if you want this kind of feature using that technique 2021-04-28T19:11:20Z stylewarning: Same issue with CL-CONT-based continuations, where it can’t CPS the standard library like MAPCAR 2021-04-28T19:12:47Z stylewarning: (This is the CL-CONT version of coroutines: https://github.com/stylewarning/lisp-random/blob/master/coroutine.lisp ) 2021-04-28T19:13:14Z stylewarning: (It appears like it’s a nice orthogonal feature but it doesn’t work in certain circumstances, whereas the thread version does) 2021-04-28T19:14:19Z _death: yeah, I have some snippets for coroutines using arnesi.. at one time I switched to cl-cont, but decided I liked arnesi better 2021-04-28T19:15:37Z srhm quit (Quit: Konversation terminated!) 2021-04-28T19:16:30Z stylewarning: I haven’t tried it 2021-04-28T19:20:23Z cage_ quit (Quit: Leaving) 2021-04-28T19:20:29Z gareppa joined #lisp 2021-04-28T19:23:21Z amb007 quit (Read error: Connection reset by peer) 2021-04-28T19:24:18Z amb007 joined #lisp 2021-04-28T19:28:46Z mindCrime_ quit (Ping timeout: 252 seconds) 2021-04-28T19:29:16Z gareppa quit (Quit: Leaving) 2021-04-28T19:33:53Z _jrjsmrtn joined #lisp 2021-04-28T19:35:11Z __jrjsmrtn__ quit (Ping timeout: 240 seconds) 2021-04-28T19:43:57Z pjb: stylewarning: IIRC, CMUCL is the only one that still has green threads. 2021-04-28T19:44:00Z ntr quit (Quit: ZNC - https://znc.in) 2021-04-28T19:44:19Z stylewarning: I see 2021-04-28T19:45:47Z ntr joined #lisp 2021-04-28T19:45:55Z ntr quit (Remote host closed the connection) 2021-04-28T19:53:53Z orivej joined #lisp 2021-04-28T19:54:46Z andrei-n quit (Quit: Leaving) 2021-04-28T19:55:46Z heisig joined #lisp 2021-04-28T19:55:51Z pjb: stylewarning: you can check it in the sources https://gitlab.common-lisp.net/cmucl/cmucl search for process-yield and idle-loop 2021-04-28T19:57:13Z DHARMAKAYA joined #lisp 2021-04-28T20:00:53Z bgardner joined #lisp 2021-04-28T20:00:53Z bgardner quit (Changing host) 2021-04-28T20:00:53Z bgardner joined #lisp 2021-04-28T20:01:44Z bgardner left #lisp 2021-04-28T20:04:29Z karlosz joined #lisp 2021-04-28T20:05:40Z Lord_of_Life quit (Ping timeout: 265 seconds) 2021-04-28T20:05:50Z Lord_of_Life_ joined #lisp 2021-04-28T20:08:35Z phoe: theothor`: TIL, thank you 2021-04-28T20:08:54Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-28T20:10:49Z ntr joined #lisp 2021-04-28T20:13:43Z shka_ quit (Ping timeout: 276 seconds) 2021-04-28T20:13:52Z theothor` quit (Remote host closed the connection) 2021-04-28T20:14:06Z theothor` joined #lisp 2021-04-28T20:16:27Z dyelar joined #lisp 2021-04-28T20:19:41Z Iolo left #lisp 2021-04-28T20:21:27Z DHARMAKAYA quit (Read error: Connection reset by peer) 2021-04-28T20:29:55Z aartaka joined #lisp 2021-04-28T20:34:00Z akoana joined #lisp 2021-04-28T20:37:32Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-28T20:38:46Z narimiran quit (Ping timeout: 252 seconds) 2021-04-28T20:41:29Z kevingal joined #lisp 2021-04-28T20:44:09Z Nilby quit (Ping timeout: 245 seconds) 2021-04-28T20:44:17Z daphnis joined #lisp 2021-04-28T20:49:04Z drbluefall quit (Ping timeout: 252 seconds) 2021-04-28T20:54:11Z daphnis quit (Ping timeout: 260 seconds) 2021-04-28T20:57:31Z kevingal quit (Remote host closed the connection) 2021-04-28T21:02:13Z irc_user joined #lisp 2021-04-28T21:03:04Z heisig quit (Quit: Leaving) 2021-04-28T21:03:41Z random-nick quit (Ping timeout: 240 seconds) 2021-04-28T21:13:46Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-28T21:16:23Z MrFantastik quit (Read error: Connection reset by peer) 2021-04-28T21:16:25Z random-nick joined #lisp 2021-04-28T21:21:41Z aartaka quit (Ping timeout: 240 seconds) 2021-04-28T21:24:45Z remby quit (Quit: remby) 2021-04-28T21:25:05Z remby joined #lisp 2021-04-28T21:27:28Z aeth_ joined #lisp 2021-04-28T21:27:32Z aeth quit (Disconnected by services) 2021-04-28T21:27:35Z aeth_ is now known as aeth 2021-04-28T21:28:04Z daphnis joined #lisp 2021-04-28T21:29:06Z opcode: i need some help understanding car and cdr: why does (append (cdr '(1 2 3 4)) (car '(a b c d))) return (2 3 4 . A) and not (2 3 4 A)? 2021-04-28T21:30:50Z attila_lendvai quit (Ping timeout: 252 seconds) 2021-04-28T21:33:13Z duuqnd quit (Remote host closed the connection) 2021-04-28T21:33:32Z edgar-rft: try (append '(2 3 4 . A) nil) 2021-04-28T21:34:26Z opcode: ah. 2021-04-28T21:35:00Z opcode: is there an easier way than reversing a list and using (push)? 2021-04-28T21:35:58Z moon-child: (append '(1 2 3 4) (list 'a)) ; -> (1 2 3 4 A) 2021-04-28T21:41:32Z theothor` quit (Ping timeout: 240 seconds) 2021-04-28T21:41:52Z nature quit (Ping timeout: 252 seconds) 2021-04-28T21:42:09Z ukari quit (Remote host closed the connection) 2021-04-28T21:42:27Z edgar-rft: APPENDing elements at the end of a list is not fast in Lisp, if you must add several elements one after the other it's often faster to PUSH to the reversed list and reverse again if finished. Alternatively you can keep a pointer to the last cell in a variable, but this only makes sense if you have really *many* of those APPEND operations on the same list. 2021-04-28T21:43:07Z ukari joined #lisp 2021-04-28T21:43:41Z daphnis quit (Ping timeout: 240 seconds) 2021-04-28T21:48:34Z saturn2: you can simplify the latter approach with a macro such as uiop:while-collecting 2021-04-28T21:49:05Z moon-child: alternately you can use arrays 2021-04-28T21:54:03Z shifty joined #lisp 2021-04-28T21:58:36Z terpri quit (Remote host closed the connection) 2021-04-28T21:59:40Z pankajsg quit (Ping timeout: 276 seconds) 2021-04-28T22:00:48Z phoe: sure, as long as you can avoid reallocating them often 2021-04-28T22:11:11Z varjag quit (Ping timeout: 246 seconds) 2021-04-28T22:12:46Z surabax quit (Quit: Leaving) 2021-04-28T22:17:53Z chewbranca quit (Changing host) 2021-04-28T22:17:53Z chewbranca joined #lisp 2021-04-28T22:26:03Z theothor` joined #lisp 2021-04-28T22:26:34Z random-nick quit (Ping timeout: 252 seconds) 2021-04-28T22:30:26Z theothor` quit (Ping timeout: 260 seconds) 2021-04-28T22:32:32Z shifty quit (Ping timeout: 240 seconds) 2021-04-28T22:33:39Z aeth_ joined #lisp 2021-04-28T22:33:42Z aeth quit (Disconnected by services) 2021-04-28T22:33:46Z aeth_ is now known as aeth 2021-04-28T22:39:34Z akoana left #lisp 2021-04-28T22:50:52Z terpri joined #lisp 2021-04-28T22:56:46Z hjudt quit (Ping timeout: 265 seconds) 2021-04-28T22:58:52Z djuber quit (Ping timeout: 252 seconds) 2021-04-28T22:59:06Z pve quit (Quit: leaving) 2021-04-28T22:59:47Z slyrus joined #lisp 2021-04-28T23:04:30Z orivej quit (Ping timeout: 265 seconds) 2021-04-28T23:05:52Z tempest_nox joined #lisp 2021-04-28T23:16:58Z aeth_ joined #lisp 2021-04-28T23:17:01Z aeth quit (Disconnected by services) 2021-04-28T23:17:04Z aeth_ is now known as aeth 2021-04-28T23:18:03Z mindCrime_ joined #lisp 2021-04-28T23:25:24Z gumman quit (Read error: Connection reset by peer) 2021-04-28T23:25:48Z gumman joined #lisp 2021-04-28T23:25:59Z skapata quit (Ping timeout: 260 seconds) 2021-04-28T23:27:35Z skapata joined #lisp 2021-04-28T23:27:53Z scymtym quit (Ping timeout: 260 seconds) 2021-04-28T23:28:11Z luna_is_here quit (Ping timeout: 240 seconds) 2021-04-28T23:28:13Z edgar-rft quit (Ping timeout: 240 seconds) 2021-04-28T23:28:21Z scymtym_ joined #lisp 2021-04-28T23:28:51Z luna_is_here joined #lisp 2021-04-28T23:28:52Z hjudt joined #lisp 2021-04-28T23:29:24Z edgar-rft joined #lisp 2021-04-28T23:36:12Z hjudt quit (Ping timeout: 240 seconds) 2021-04-28T23:41:03Z scymtym_ quit (Remote host closed the connection) 2021-04-28T23:41:27Z scymtym joined #lisp 2021-04-28T23:42:17Z igemnace joined #lisp 2021-04-28T23:46:05Z irc_user: Is it easy to call external binaries such as `ffmpeg` in common lisp? 2021-04-28T23:46:54Z moon-child: (uiop:wait-process (uiop:launch-program "ffmpeg whatever whatever")) 2021-04-28T23:47:05Z irc_user: thank you :) 2021-04-28T23:47:55Z moon-child: wait-process returns an exit code. I think launch-program might also do something if it can't start the command 2021-04-28T23:50:02Z irc_user: Got it, thank you. I haven't actually downloaded lisp yet but it looked interesting so I wanted to try rewriting some scripts in it. Looks like UOIP comes with it and isn't a separate lib? 2021-04-28T23:51:03Z moon-child: uiop is a general portability library. It is not part of common lisp, but many implementations ship an implementation of it 2021-04-28T23:51:20Z irc_user: Oh okay, I understand, thank you! 2021-04-28T23:57:43Z cer-0 quit (Quit: leaving) 2021-04-28T23:59:18Z slyrus quit (Remote host closed the connection) 2021-04-28T23:59:44Z slyrus joined #lisp 2021-04-29T00:02:59Z sm2n quit (Ping timeout: 265 seconds) 2021-04-29T00:03:57Z nicktick joined #lisp 2021-04-29T00:04:11Z slyrus quit (Ping timeout: 250 seconds) 2021-04-29T00:11:09Z sy_ joined #lisp 2021-04-29T00:14:54Z Oladon joined #lisp 2021-04-29T00:15:23Z elderK joined #lisp 2021-04-29T00:15:33Z zzappie quit (Ping timeout: 240 seconds) 2021-04-29T00:18:42Z hjudt joined #lisp 2021-04-29T00:22:57Z nicktick quit (Ping timeout: 260 seconds) 2021-04-29T00:23:31Z nicktick joined #lisp 2021-04-29T00:28:59Z casual_friday_ quit (Remote host closed the connection) 2021-04-29T00:31:17Z casual_friday joined #lisp 2021-04-29T00:33:26Z hjudt quit (Ping timeout: 265 seconds) 2021-04-29T00:35:24Z nij joined #lisp 2021-04-29T00:36:26Z nij: Why do some people name their personal systems like this? com.xyz-name.system-name? Should I follow this convention? 2021-04-29T00:36:26Z nij: 2021-04-29T00:36:56Z White_Flame: it's to avoid collisions. Because only a few people do that, I"m not sure it's really necessary 2021-04-29T00:37:21Z White_Flame: but if you do use that, there are nicknames and package-local-nicknames that can give a shorter prefix instead of the fqdn style 2021-04-29T00:37:53Z nij: Oh. What does "com." mean? 2021-04-29T00:38:05Z White_Flame: it's whatever DNS entry you own 2021-04-29T00:38:20Z nij: Oh! I see! 2021-04-29T00:38:55Z gabiruh quit (Quit: ZNC 1.7.5 - https://znc.in) 2021-04-29T00:38:57Z saturn2: it's reversed so the names are grouped together when sorted alphabetically 2021-04-29T00:39:11Z gabiruh joined #lisp 2021-04-29T00:39:15Z nij: Yes, the rest makes sense.. 2021-04-29T00:39:24Z nij: I though COM stands for common-lisp or something. 2021-04-29T00:40:40Z saturn2: i'd say it's a good convention to follow if you want to publish a ton of different things and not worry too much about how appropriate they are for general use 2021-04-29T00:41:45Z saturn2: it's annoying when someone squats on a generic name with a library that's not very good 2021-04-29T00:42:19Z White_Flame: but naming it nij.foo is also likely good enough 2021-04-29T00:42:24Z shifty joined #lisp 2021-04-29T00:42:35Z saturn2: yes 2021-04-29T00:42:49Z White_Flame: I use 'wf' a lot for that 2021-04-29T00:43:01Z White_Flame: just to make names unique & websearchable 2021-04-29T00:43:10Z nij: yep yep 2021-04-29T00:44:10Z hjudt joined #lisp 2021-04-29T00:48:47Z davros quit (Remote host closed the connection) 2021-04-29T00:50:01Z nij: So as my personal scripts pile up, I will have to make systems that named "nij.scripts.celebrate", "nij.scripts.wordie".. etc? Isn't this a little cumbersome? Is there a better way, like (defsystem "wordie" :inherit "nij.scripts"..)? 2021-04-29T00:50:29Z monolithic quit (Remote host closed the connection) 2021-04-29T00:53:56Z jeosol joined #lisp 2021-04-29T00:56:11Z hjudt quit (Ping timeout: 240 seconds) 2021-04-29T00:56:41Z White_Flame: if it's private, name it what you want. 2021-04-29T00:59:39Z saturn2: https://gist.github.com/phoe/2b63f33a2a4727a437403eceb7a6b4a3 2021-04-29T01:01:04Z drbluefall joined #lisp 2021-04-29T01:01:09Z nij: Yeah, the great article :) Read it many times. 2021-04-29T01:03:40Z nij: Btw.. should I use (:use :cl) or (:use #:cl)? 2021-04-29T01:03:58Z nij: I use the former, but the latter shows up more frequently in others work. 2021-04-29T01:10:20Z Bike: it's not really important. the latter just means :cl isn't interned as a keyword 2021-04-29T01:10:38Z drbluefall quit (Remote host closed the connection) 2021-04-29T01:14:06Z nij: Yeah that's what I thought. 2021-04-29T01:14:29Z cer-0 joined #lisp 2021-04-29T01:15:38Z davros joined #lisp 2021-04-29T01:22:52Z hjudt joined #lisp 2021-04-29T01:23:44Z igemnace quit (Quit: WeeChat 3.1) 2021-04-29T01:24:08Z igemnace joined #lisp 2021-04-29T01:28:57Z lotuseat` joined #lisp 2021-04-29T01:30:00Z remby quit (Quit: remby) 2021-04-29T01:30:55Z lotuseater quit (Ping timeout: 276 seconds) 2021-04-29T01:35:42Z sm2n joined #lisp 2021-04-29T01:36:00Z nij: Should I consider using SICL over SBCL? I heard that the former is "cleaner" without understanding. 2021-04-29T01:36:16Z hjudt quit (Ping timeout: 265 seconds) 2021-04-29T01:37:41Z wxie quit (Ping timeout: 260 seconds) 2021-04-29T01:39:11Z cer-0 quit (Ping timeout: 240 seconds) 2021-04-29T01:39:21Z martinodb joined #lisp 2021-04-29T01:39:52Z wxie joined #lisp 2021-04-29T01:40:44Z no-defun-allowed: You can't run SICL just yet, so you don't really have an option. 2021-04-29T01:41:36Z nij: What do you mean? It's not usable yet? 2021-04-29T01:41:48Z no-defun-allowed: No, it is not usable. 2021-04-29T01:42:32Z nij: It's totally not my impression after re-reading its readme page. 2021-04-29T01:42:33Z nij: https://github.com/robert-strandh/SICL 2021-04-29T01:43:17Z no-defun-allowed: Is it not evident that it can only be run in a host Lisp? 2021-04-29T01:43:32Z martinodb: hi! i have a question. I'm trying the maiden IRC framework, so this maiden-silly agent connected to an IRC channel, but it doesn't talk to me at all. The documentation says something about activating it. Doesn't it do anything out of the box? do I have to edit the code? thanks! 2021-04-29T01:45:55Z jeosol quit (Quit: Connection closed) 2021-04-29T01:49:55Z nij: no-defun-allowed: Oh! I thought that's just some way CL-ers would like.. 2021-04-29T01:50:27Z nij: "Everything should be in a repl cuz that's the coziest place to have fun.. including the repl itself!" 2021-04-29T01:50:41Z no-defun-allowed: If you are only interested in cleanliness, then your code would be subject to the ugly parts of both SBCL and SICL. 2021-04-29T01:54:14Z mister_m: I accidentally did an infinite recursion in the repl (using slime), I'd like to stop this without killing my inferior lisp process, how can I do that from within the REPL buffer? C-c C-c doesn't seem to do anything 2021-04-29T01:54:32Z jeosol joined #lisp 2021-04-29T02:00:17Z aeth_ joined #lisp 2021-04-29T02:00:20Z aeth quit (Disconnected by services) 2021-04-29T02:00:23Z aeth_ is now known as aeth 2021-04-29T02:00:34Z terpri quit (Remote host closed the connection) 2021-04-29T02:00:59Z terpri joined #lisp 2021-04-29T02:02:18Z martinodb quit (Quit: Leaving) 2021-04-29T02:03:30Z terpri quit (Remote host closed the connection) 2021-04-29T02:03:33Z mister_m: oh wait does C-c C-c start LDB in the inferior lisp buffer? 2021-04-29T02:03:44Z nij quit (Remote host closed the connection) 2021-04-29T02:03:59Z terpri joined #lisp 2021-04-29T02:04:11Z no-defun-allowed: It shouldn't. 2021-04-29T02:04:27Z vms14 joined #lisp 2021-04-29T02:04:28Z vms14 quit (Changing host) 2021-04-29T02:04:28Z vms14 joined #lisp 2021-04-29T02:06:45Z terpri quit (Remote host closed the connection) 2021-04-29T02:07:13Z terpri joined #lisp 2021-04-29T02:07:40Z mister_m: maybe I just missed the SLDB buffer that was created on C-c C-c in the REPL buffer. 2021-04-29T02:08:17Z indathrone joined #lisp 2021-04-29T02:10:31Z remby joined #lisp 2021-04-29T02:11:44Z frost-lab joined #lisp 2021-04-29T02:13:37Z hjudt joined #lisp 2021-04-29T02:13:59Z theothor` joined #lisp 2021-04-29T02:18:31Z theothor` quit (Ping timeout: 260 seconds) 2021-04-29T02:19:06Z hjudt quit (Ping timeout: 260 seconds) 2021-04-29T02:36:53Z shifty quit (Ping timeout: 240 seconds) 2021-04-29T02:37:47Z shifty joined #lisp 2021-04-29T02:37:57Z remby left #lisp 2021-04-29T02:42:11Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-29T02:56:26Z sy_ quit (Quit: sy_) 2021-04-29T03:00:14Z ebrasca quit (Remote host closed the connection) 2021-04-29T03:02:16Z aartaka joined #lisp 2021-04-29T03:02:49Z beach: Good morning everyone! 2021-04-29T03:04:30Z aeth quit (Ping timeout: 252 seconds) 2021-04-29T03:04:46Z sy_ joined #lisp 2021-04-29T03:06:30Z aeth joined #lisp 2021-04-29T03:07:27Z asarch joined #lisp 2021-04-29T03:07:47Z asarch: (format t "Konnichiwa, Sekai!~%") 2021-04-29T03:07:59Z asarch: Does anybody know what's wrong with Melpa? 2021-04-29T03:08:03Z asarch: Is it dead? 2021-04-29T03:12:03Z hjudt joined #lisp 2021-04-29T03:14:47Z Bike quit (Quit: Lost terminal) 2021-04-29T03:15:42Z waleee-cl: asarch: seems to work here 2021-04-29T03:18:42Z asarch: Oh :-( 2021-04-29T03:19:48Z asarch: I did a downgrade to Debian Stable and its Emacs 26.1 has been failing to get the M-x 'package-refresh-contents' to install Slime 2021-04-29T03:20:07Z semz quit (Ping timeout: 276 seconds) 2021-04-29T03:22:36Z hjudt quit (Ping timeout: 265 seconds) 2021-04-29T03:26:33Z asarch quit (Quit: Leaving) 2021-04-29T03:29:47Z DHARMAKAYA joined #lisp 2021-04-29T03:32:11Z semz joined #lisp 2021-04-29T03:32:11Z semz quit (Changing host) 2021-04-29T03:32:11Z semz joined #lisp 2021-04-29T03:36:55Z lotuseat` quit (Remote host closed the connection) 2021-04-29T03:37:02Z lotuseat` joined #lisp 2021-04-29T03:37:05Z aeth quit (Ping timeout: 260 seconds) 2021-04-29T03:37:50Z igemnace quit (Quit: WeeChat 3.1) 2021-04-29T03:38:16Z igemnace joined #lisp 2021-04-29T03:38:55Z aeth joined #lisp 2021-04-29T03:47:04Z Josh_2 quit (Ping timeout: 245 seconds) 2021-04-29T03:50:09Z andrei-n joined #lisp 2021-04-29T03:51:30Z long4mud joined #lisp 2021-04-29T03:55:16Z sy_ quit (Quit: sy_) 2021-04-29T03:58:57Z slyrus joined #lisp 2021-04-29T04:00:14Z hjudt joined #lisp 2021-04-29T04:00:55Z White_Flame: mister_m: if your inferior-lisp gets dropped into ldb, you probably blew the heap, or the stack twice 2021-04-29T04:03:35Z dieggsy: asarch: melpa has been odd recently. I don't use it as my package repo but I search their website sometimes and it's been extremely slow 2021-04-29T04:04:07Z slyrus quit (Ping timeout: 252 seconds) 2021-04-29T04:04:40Z hjudt quit (Ping timeout: 252 seconds) 2021-04-29T04:30:38Z hypercube quit (Quit: WeeChat 3.1) 2021-04-29T04:31:24Z hypercube joined #lisp 2021-04-29T04:39:41Z raeda_ quit (Ping timeout: 246 seconds) 2021-04-29T04:41:35Z hjudt joined #lisp 2021-04-29T04:41:55Z raeda joined #lisp 2021-04-29T04:44:26Z indathrone quit (Quit: Leaving) 2021-04-29T04:52:35Z hjudt quit (Read error: Connection reset by peer) 2021-04-29T04:56:19Z add^_ quit (Ping timeout: 248 seconds) 2021-04-29T04:58:32Z hjudt joined #lisp 2021-04-29T05:00:00Z vms14 quit (Ping timeout: 252 seconds) 2021-04-29T05:03:42Z narimiran joined #lisp 2021-04-29T05:04:02Z ordoflammae quit (Ping timeout: 252 seconds) 2021-04-29T05:08:27Z hjudt quit (Ping timeout: 265 seconds) 2021-04-29T05:08:40Z hjudt joined #lisp 2021-04-29T05:08:41Z dieggsy: there's no way to start swank on a unix domain socket, right ? 2021-04-29T05:08:46Z dieggsy: is there a popular alternative for this or 2021-04-29T05:09:30Z White_Flame: the lack of interchangeability of different communications stream styles is a general problem, across many domains 2021-04-29T05:10:56Z dieggsy: so that's a no 2021-04-29T05:11:52Z White_Flame: I don't know enough for it to be a definite "no", but such situations hit me too often between other stream interfaces 2021-04-29T05:15:49Z shka_ joined #lisp 2021-04-29T05:17:57Z varjag joined #lisp 2021-04-29T05:19:48Z xkapastel quit (Quit: Connection closed for inactivity) 2021-04-29T05:25:17Z varjag quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-29T05:27:29Z add^_ joined #lisp 2021-04-29T05:29:37Z hypercube quit (Ping timeout: 250 seconds) 2021-04-29T05:31:07Z ukari quit (Remote host closed the connection) 2021-04-29T05:31:41Z ukari joined #lisp 2021-04-29T05:45:55Z orivej joined #lisp 2021-04-29T06:00:17Z pbaille joined #lisp 2021-04-29T06:00:30Z pbaille: Hello, I'm new here. 2021-04-29T06:00:49Z chipolux joined #lisp 2021-04-29T06:01:29Z beach: Hello pbaille. Welcome! 2021-04-29T06:01:34Z beach: What brings you to #lisp? 2021-04-29T06:02:21Z saganman joined #lisp 2021-04-29T06:02:21Z saganman quit (Changing host) 2021-04-29T06:02:21Z saganman joined #lisp 2021-04-29T06:02:59Z pbaille: Hi ! What brings me to IRC is picolisp, and what brings me to picolisp is clojure. 2021-04-29T06:03:05Z gaqwas joined #lisp 2021-04-29T06:03:05Z gaqwas quit (Changing host) 2021-04-29T06:03:05Z gaqwas joined #lisp 2021-04-29T06:03:25Z beach: I see. 2021-04-29T06:03:39Z pbaille: I'm increasingly curious about common lisp for some times too 2021-04-29T06:04:05Z beach: That's good, since this channel is dedicated to Common Lisp. :) 2021-04-29T06:04:50Z pbaille: :) 2021-04-29T06:09:09Z theothor` joined #lisp 2021-04-29T06:09:17Z theothor` quit (Remote host closed the connection) 2021-04-29T06:10:54Z Nilby joined #lisp 2021-04-29T06:12:26Z beach: pbaille: #lisp is not really for trivial questions, but such questions are tolerated, especially if traffic is low. If trivial questions become too annoying, you may get redirected to #clschool which is meant for such questions. 2021-04-29T06:12:42Z tempest_nox quit (Read error: Connection reset by peer) 2021-04-29T06:13:21Z beach: pbaille: On the other hand, some newbie questions are not trivial, and the answers to them are often worth repeating here, like for instance the semantics of function calls and argument passing. 2021-04-29T06:14:50Z pbaille: yes I see ! I will use the channel as intended, no problem. 2021-04-29T06:16:26Z imode quit (Ping timeout: 240 seconds) 2021-04-29T06:16:36Z spacepanda joined #lisp 2021-04-29T06:18:25Z pyc: Does https://plaster.tymoon.eu/edit not work anymore? I tried it many times but it does not return me a link I can share. The input just disappears after posting my snippet. 2021-04-29T06:19:29Z no-defun-allowed: Can you see https://plaster.tymoon.eu/view/2414? 2021-04-29T06:19:42Z no-defun-allowed: If so, I can't reproduce what is happening to you. 2021-04-29T06:20:05Z pbaille: (let ((a 1) (b 2)) (+ a b)) 2021-04-29T06:20:05Z pbaille: (let ((x 1) (y 2)) (+ x y)) 2021-04-29T06:20:05Z pbaille: ((lambda (x y) (+ x y)) 1 2) 2021-04-29T06:20:07Z pbaille: (+ 1 2) 2021-04-29T06:20:15Z beach: no-defun-allowed: I can see it. 2021-04-29T06:20:23Z pbaille: I was curious about code equivalence those days. Is there any known works around that. for instance determining the equivalence of those 4 expressions: 2021-04-29T06:21:05Z beach: pbaille: That would be an undecidable problem in general, so I think you are out of luck. 2021-04-29T06:21:07Z pbaille: sorry I'm discovering IRC... the four expressions posted where intended to be after my question. all my apologies. 2021-04-29T06:21:11Z no-defun-allowed: You may reduce the first three to the fourth using substitution in this case, but generally equivalence is equivalent to the halting problem. 2021-04-29T06:21:21Z pyc: no-defun-allowed: thanks! I can see your post. I wonder why it does not work for me. When I click post, it goes back to the https://plaster.tymoon.eu/edit and the input disappears. I don't get any link I can share. 2021-04-29T06:22:04Z pyc: no-defun-allowed: are you logged into https://plaster.tymoon.eu/edit ? or did you use it without logging in? I am not logged in. 2021-04-29T06:22:10Z no-defun-allowed: I don't log in. 2021-04-29T06:22:19Z flip214: pbaille: you could try to use macro expansion to rewrite all expressions to a minimal subset - eg. replace LET by a LAMBDA form. 2021-04-29T06:22:45Z asarch joined #lisp 2021-04-29T06:22:56Z flip214: but then you'd still need quite a few manually defined rules - eg. the order of variables in LET can be different. 2021-04-29T06:23:33Z flip214: and what about (+ y x)? You'd need to store that "+" is commutative... 2021-04-29T06:24:07Z pbaille: yes, commutativity is a bit out of scope here 2021-04-29T06:24:12Z flip214: and you might need an expression simplifier to see that (* (- a b) (+ a b)) equals (- (* a a) (* b b)) and so on. 2021-04-29T06:24:37Z flip214: so you can arbitrarily far, depending on how much time/effort you're willing to spend... 2021-04-29T06:24:52Z pbaille: but maybe bindings can be ordered using kind of an hash of the value they are bind to 2021-04-29T06:25:07Z flip214: OTOH, I can also see an alternative way -- compile the expressions, and try to prove that the machine code gives identical results. 2021-04-29T06:25:27Z Nilby: As you may know, there are many undecidable in general problems which are quite worthwile and solvable in specific. 2021-04-29T06:25:31Z flip214: Ie. like decompiling back to C or so... that would get rid of many small differences in the sources 2021-04-29T06:25:34Z moon-child: that throws away information. It is likely to be harder to prove interesting facts about machine code than about lisp code 2021-04-29T06:26:33Z flip214: moon-child: not necessarily... at least that's a well-defined set of basic instructions. 2021-04-29T06:26:34Z moon-child: those 'small differences' are things you need to be able to handle anyway. Many of them will result from compiler optimizations, the sorts of analysis underlying which you will need to replicate if you would like to automatically prove things about code 2021-04-29T06:26:45Z pbaille: Nilby: thank you for your comment :) 2021-04-29T06:27:51Z Nilby: pbaille: You're welcome. I think too many time people are discorged from finding useful solutions to undecidable in general problems. 2021-04-29T06:28:57Z pyc: got some clue about the pastebin issue. When I submit in the browser's network tab I see a POST being made to this URL: https://plaster.tymoon.eu/?error=You%20did%20not%20enter%20the%20captcha%20correctly. 2021-04-29T06:29:03Z pyc: but I did enter the captcha correctly. 2021-04-29T06:31:14Z spacepanda quit (Remote host closed the connection) 2021-04-29T06:31:33Z spacepanda joined #lisp 2021-04-29T06:31:59Z pbaille: flip214: thank you for your suggestions. I've worked on those kind of things a few months ago (in clojure), I will try discuss it with you guys a bit later. thank you 2021-04-29T06:32:40Z saganman: Morning beach! 2021-04-29T06:32:48Z saganman: Morning #lisp 2021-04-29T06:33:34Z beach: Hey saganman. 2021-04-29T06:34:16Z chipolux quit (Quit: chipolux) 2021-04-29T06:36:02Z saganman: how is your day beach? 2021-04-29T06:37:43Z spacepanda quit (Ping timeout: 276 seconds) 2021-04-29T06:38:08Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-29T06:40:06Z beach: saganman: It just barely started. I need to download some screen-recording program to my new desktop computer and record my ELS talk. What about you? 2021-04-29T06:41:25Z saganman: it's okay, still in self imposed lock down. 2021-04-29T06:41:29Z frost-lab quit (Ping timeout: 246 seconds) 2021-04-29T06:41:35Z beach: Sure. 2021-04-29T06:42:28Z daphnis joined #lisp 2021-04-29T06:50:15Z attila_lendvai joined #lisp 2021-04-29T06:50:25Z susam: Good morning, beach! Good morning, saganman! Good morning, #lisp! 2021-04-29T06:52:43Z random-nick joined #lisp 2021-04-29T06:52:55Z beach: Hello susam. 2021-04-29T06:53:33Z gaqwas quit (Ping timeout: 240 seconds) 2021-04-29T06:54:54Z thomasb06 joined #lisp 2021-04-29T07:00:48Z dickbarends quit 2021-04-29T07:07:31Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-29T07:09:26Z spacepanda joined #lisp 2021-04-29T07:11:16Z Krystof quit (Ping timeout: 252 seconds) 2021-04-29T07:14:11Z asarch quit (Quit: Leaving) 2021-04-29T07:14:12Z femi quit (Ping timeout: 252 seconds) 2021-04-29T07:14:31Z skapata quit (Remote host closed the connection) 2021-04-29T07:16:23Z pankajsg joined #lisp 2021-04-29T07:17:02Z pyc: Is this a good coding style: https://pastebin.ubuntu.com/p/Y7Y35fwjRW/ ? What I am doing here is computing everything in (let* ...) and returning what I need as a separate expression in the end. Does it look odd to experienced Lisp programmers? 2021-04-29T07:17:43Z orivej quit (Ping timeout: 252 seconds) 2021-04-29T07:18:58Z beach: Looks fine to me. 2021-04-29T07:19:22Z beach: I might have left out the last LET* binding. 2021-04-29T07:19:25Z jdz: pyc: What if the strings you're looking for are not present (especially the first one)? 2021-04-29T07:19:45Z hiroaki joined #lisp 2021-04-29T07:20:30Z jdz: pyc: The name of the function feels more like "extract-field". 2021-04-29T07:21:25Z spacepanda quit (Ping timeout: 250 seconds) 2021-04-29T07:22:06Z jdz: And I think the function should accept a string, and reading file contents into a string should be done somewhere up the call chain. 2021-04-29T07:22:17Z pyc: jdz: in that case this code will fail with error. I can definitely improve the error handling. however is my style of doing all computation in (let* ...) and then returning just that one thing I need to return in the end proper coding style? Coming from other languages, it felt odd to me, so wanted the opinion of experienced programmers here. 2021-04-29T07:22:40Z pyc: jdz: that's a good point. thanks. 2021-04-29T07:23:09Z beach: pyc: Again, you can probably leave out the last binding, because the name of the function should be enough to tell what the result of it would be. 2021-04-29T07:23:17Z jdz: You could make this into a generic function, with methods on specializing on STRING and PATHNAME. 2021-04-29T07:23:22Z surabax joined #lisp 2021-04-29T07:23:39Z jdz: In the end you'll see that there's no need for the LET binding at all. 2021-04-29T07:23:40Z pyc: thanks beach 2021-04-29T07:24:12Z beach: jdz: I frequently find it better to give names to intermediate results though. 2021-04-29T07:25:11Z pyc: jdz: yes, I was considering that alternative too. Certainly the whole thing can be written without let binding. so can I assume that experienced Lisp programmers avoid LET binding whenever possible? Or is it just another alternative and both alternatives (LET or no LET) are equally valid and good? 2021-04-29T07:25:40Z jdz: pyc: As beach just said. 2021-04-29T07:25:59Z pyc: thanks for your help, jdz and beach! 2021-04-29T07:26:35Z beach: Pleasure. 2021-04-29T07:27:19Z pankajsg quit (Ping timeout: 268 seconds) 2021-04-29T07:27:24Z Nilby: neo-prog style 2021-04-29T07:27:31Z jdz: pyc: https://plaster.tymoon.eu/view/2415 2021-04-29T07:27:48Z zzappie joined #lisp 2021-04-29T07:28:08Z pyc: jdz: awesome! thanks for the example 2021-04-29T07:28:15Z jdz: In this case I think the body is so simple there's no need to introduce any bindings. 2021-04-29T07:28:51Z pyc: jdz: why do you favor less bindings? cleaner code? 2021-04-29T07:29:00Z ljavorsk joined #lisp 2021-04-29T07:29:03Z jeosol quit (Ping timeout: 240 seconds) 2021-04-29T07:29:08Z moon-child: in this case, though, for the purposes of efficiency I might keep track of the position of the {{{, to avoid needing to look over so much of the string for the }}} 2021-04-29T07:29:44Z jdz: moon-child has a very good point. 2021-04-29T07:30:33Z pyc: moon-child: great point! in fact I do need to ensure that I search for }}} *after* {{{ and ignore any }}} before {{{. so I do need to keep track of its position. 2021-04-29T07:31:19Z jdz: pyc: I do not favor _fewer_ bindings, but introducing them unnecessarily just create more clutter and more work for brain. 2021-04-29T07:31:40Z pyc: understood. thanks jdz 2021-04-29T07:32:26Z flip214: jdz: but it's a kind of comment, so serves some purpose 2021-04-29T07:33:03Z moon-child: naming things is difficult. The wrong name is worse than no name at all; the former may mislead, where the latter is self-evident in its use 2021-04-29T07:33:15Z waleee-cl quit (Quit: Connection closed for inactivity) 2021-04-29T07:33:17Z jdz: flip214: Sure. But that's the thing about commenting—there's no point commenting trivial code. 2021-04-29T07:34:02Z moon-child: (self-evidence may be insufficient when the thing being evinced is sufficiently complex. But.) 2021-04-29T07:34:11Z flip214: jdz: "trivial" depends on the consumer ;) and a few weeks later the author herself might be glad about one more name 2021-04-29T07:34:32Z flip214: moon-child: yeah, right. 2021-04-29T07:34:57Z moon-child: flip214: exhibit A: forth 2021-04-29T07:35:59Z Krystof joined #lisp 2021-04-29T07:36:08Z dickbarends joined #lisp 2021-04-29T07:36:54Z Nilby: forth is why we have parens in Lisp 2021-04-29T07:39:51Z pyc: moon-child: what is wrong with Forth? we can name variables in Forth too, right? 2021-04-29T07:40:33Z Nilby: When coding in a forth-like language I frequently had to comment almost every line with the presumed state of the stack. 2021-04-29T07:41:08Z femi joined #lisp 2021-04-29T07:41:19Z Nilby: The comments themsleves were frequently cryptic. 2021-04-29T07:42:17Z pyc: an off-topic question. Can forth operators act on arbitrary number of arguments. For example, Lisp can do (+ 1 2 3) where + takes any number of arguments. It is of course possible because we can delimit the call with ). Is such a thing possible in Forth? 2021-04-29T07:43:19Z jdz: pyc: How about this: https://plaster.tymoon.eu/view/2415#2416 2021-04-29T07:43:52Z Nilby: pyc: Yes. 2021-04-29T07:44:16Z Nilby: pyc: Any operator can manipulate the argument stack however it wants. 2021-04-29T07:44:58Z pyc: Nilby: how would the operator know how many arguments the programmer wants to add for example when there are no delimiters to specify that? 2021-04-29T07:45:09Z Nilby: A common thing with varibale arguments is to have a count or a fencepost on the arglist. 2021-04-29T07:45:32Z pyc: Nilby: say, I make a Forth operator op, and I write 1 2 3 4 5 op. How would it know if I want op to consume 2 arguments or 3 arguments or 4 arguments? 2021-04-29T07:46:00Z pyc: Nilby: by fencepost, you mean, some sort of special value I keep on the stack to mark the end of list of arguments? 2021-04-29T07:46:13Z Nilby: you just say 5 is your following arg count. 2021-04-29T07:46:34Z pankajsg joined #lisp 2021-04-29T07:46:38Z jdz: In the end it seems very unforthy thing to do. 2021-04-29T07:46:59Z pyc: Nilby: okay, understood. so the responsibility for that falls on the programmer unlike Lisp where the paren-based syntax itself takes care of it. 2021-04-29T07:47:08Z Oladon quit (Quit: Leaving.) 2021-04-29T07:47:53Z Nilby: pyc: Yes. In fact can use [ or { as a fencepost thing. 2021-04-29T07:47:59Z Nilby: or even ( 2021-04-29T07:48:50Z Nilby: Execatly. In lisp the syntax makes it mostly obvious. 2021-04-29T07:48:52Z pyc: Oh right! That gives me ideas! Write Lispy code in Forth by using ( and ) fenceposts and defining operators to work on them. :-D 2021-04-29T07:49:24Z pyc: Postfixy Lispy Unforthy Code. 2021-04-29T07:50:00Z jdz: Nilby: How are those "fenceposts"? Aren't they just numbers (ASCII codes for the characters)? 2021-04-29T07:50:08Z Nilby: Except it's still hard on the brain, saying { foo } if 2021-04-29T07:50:54Z pyc: yes, they will just be numbers (ASCII code for the characters) although there is syntax to specify them as literal characters while the compiler still puts their ASCII codes on the stack. 2021-04-29T07:50:57Z Nilby: or rathher { foo } x y eq if 2021-04-29T07:51:27Z jdz: pyc: The case when the number of arguments is lexically apparent in the code is not very interesting, is it? 2021-04-29T07:52:05Z Duuqnd joined #lisp 2021-04-29T07:52:08Z Nilby: Interestingly if you do object oriented forth, the order seems revered to prefix, so you say: object message message ... 2021-04-29T07:54:04Z Nilby: In some way, Lisp compilers turn Lisp into forth if your hardware is stack-ish. 2021-04-29T07:54:55Z moon-child: not really 2021-04-29T07:55:03Z moon-child: lisp has local variables that can be referred to randomly 2021-04-29T07:55:10Z jdz: Bytecode interpreters are commonly stack based. 2021-04-29T07:56:07Z Nilby: forth can have a scope aka dictionary stack 2021-04-29T07:57:15Z moon-child: jdz: yes, but they can still have local variables. E.G. examining the python bytecode for 'lambda x, y: x*x+y' reveals LOAD_FAST instructions referring to the parameters 2021-04-29T07:57:24Z Duuqnd: It does look a bit like forth I guess https://imgur.com/nadIIrx 2021-04-29T07:57:45Z spacepanda joined #lisp 2021-04-29T08:01:51Z saganman quit (Ping timeout: 268 seconds) 2021-04-29T08:03:04Z Nilby: jdz: forth has "words" which are equivalent to lisp symbols which are looked up a dictionary. Like lisp, some symbols evalualte to themselves, like T, so can be used for fenceposts. 2021-04-29T08:03:59Z spacepanda quit (Ping timeout: 260 seconds) 2021-04-29T08:04:28Z anticrisis quit (Read error: Connection reset by peer) 2021-04-29T08:06:02Z igemnace quit (Quit: WeeChat 3.1) 2021-04-29T08:06:20Z igemnace joined #lisp 2021-04-29T08:07:20Z spacepanda joined #lisp 2021-04-29T08:08:16Z hendursa1 joined #lisp 2021-04-29T08:09:09Z jdz: Nilby: Yes, I know that much. But you're talking about compile-time fenceposts, not runtime, right? 2021-04-29T08:11:09Z hendursaga quit (Ping timeout: 240 seconds) 2021-04-29T08:11:11Z jdz: Imagine reading numbers read from a file (or console standard input). 2021-04-29T08:11:20Z jdz: s/reading/adding 2021-04-29T08:11:43Z Nilby: jdz: I don't think there's as big distinction in forth. It's still just a word on the stack. I suppose in an optimizing forth compiler could optimize the fencepost out in a compiled procedure. 2021-04-29T08:11:58Z spacepanda quit (Ping timeout: 276 seconds) 2021-04-29T08:12:26Z jdz: Words are for code, and code does not end up on the data stack (as far as I know). 2021-04-29T08:12:34Z gitgood quit (Quit: Probably away to do something really awesome) 2021-04-29T08:12:53Z jdz: Forth does not have tagged pointers, so there are only numbers. 2021-04-29T08:13:20Z jdz: So how would a fencepost number differ from any other number? 2021-04-29T08:14:58Z Duuqnd quit (Remote host closed the connection) 2021-04-29T08:15:11Z Duuqnd joined #lisp 2021-04-29T08:15:15Z frgo joined #lisp 2021-04-29T08:15:28Z Nilby: I think you're right, in pure forth. I guess what I used wan't pure forth, so it did have tagged objects and garbage collection. 2021-04-29T08:17:44Z aartaka_d joined #lisp 2021-04-29T08:20:52Z Nilby: The most pure forth coding I did was in a bootloader and I can't remember if it had tagged objects or not. The forth-like language I used most was https://en.wikipedia.org/wiki/NeWS 2021-04-29T08:20:58Z aartaka quit (Ping timeout: 268 seconds) 2021-04-29T08:25:27Z no-defun-allowed: Most Lisp, Python, Smalltalk, Java, etc VMs look like the SECD machine more precisely, which has an explicated environment of some sort. 2021-04-29T08:32:32Z contrapunctus left #lisp 2021-04-29T08:32:37Z contrapunctus joined #lisp 2021-04-29T08:33:11Z contrapunctus left #lisp 2021-04-29T08:33:20Z contrapunctus joined #lisp 2021-04-29T08:34:31Z heisig joined #lisp 2021-04-29T08:35:48Z pve joined #lisp 2021-04-29T08:44:32Z frost-lab joined #lisp 2021-04-29T08:44:37Z lotuseat` is now known as lotuseater 2021-04-29T08:47:15Z igemnace quit (Quit: WeeChat 3.1) 2021-04-29T08:47:32Z igemnace joined #lisp 2021-04-29T08:48:33Z igemnace quit (Client Quit) 2021-04-29T08:48:52Z igemnace joined #lisp 2021-04-29T08:50:49Z kevingal joined #lisp 2021-04-29T08:53:00Z uweee joined #lisp 2021-04-29T08:53:57Z uweee left #lisp 2021-04-29T09:01:37Z pankajsg quit (Read error: Connection reset by peer) 2021-04-29T09:02:19Z pjb quit (Ping timeout: 260 seconds) 2021-04-29T09:02:47Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-29T09:05:04Z pankajsg joined #lisp 2021-04-29T09:10:55Z hiroaki joined #lisp 2021-04-29T09:11:32Z shifty quit (Ping timeout: 268 seconds) 2021-04-29T09:11:57Z shifty joined #lisp 2021-04-29T09:15:57Z orivej joined #lisp 2021-04-29T09:18:38Z Duuqnd quit (Ping timeout: 246 seconds) 2021-04-29T09:19:57Z Duuqnd joined #lisp 2021-04-29T09:30:16Z liberliver joined #lisp 2021-04-29T09:31:55Z frost-lab quit (Ping timeout: 252 seconds) 2021-04-29T09:33:38Z pyc: what is wrong with this code? https://pastebin.ubuntu.com/p/NRWXCB87tk/ - From my reading of http://clhs.lisp.se/Body/m_w_out_.htm , I should be able to specify a variable name that is not defined yet. What am I doing wrong here? 2021-04-29T09:34:32Z flip214: pyc: with-output-to-STRING or -to-STREAM? 2021-04-29T09:34:33Z pyc: ohh! big typo. I meant with-output-to-string but I typed with-output-to-stream. let me fix that and try again 2021-04-29T09:34:40Z loke[m]: There is no macro defined called with-output-to-stream 2021-04-29T09:34:59Z pyc: sorry to waste your time, folks! let me fix it and try again 2021-04-29T09:35:10Z loke[m]: Thus, it's first trying to call a function called STREAM before calling a function called with-output-to-stream 2021-04-29T09:35:27Z loke[m]: It may be that you're looking for with-output-to-stribg 2021-04-29T09:35:29Z lotuseater: haha I even wondered too ^^ 2021-04-29T09:35:35Z loke[m]: String 2021-04-29T09:35:45Z pyc: fixed it now and works fine. thanks! 2021-04-29T09:36:01Z loke[m]: Oh sorry. Didn't see the you already figured it out. 2021-04-29T09:36:16Z loke[m]: The hazards of using a phone 2021-04-29T09:36:19Z snits quit (Ping timeout: 252 seconds) 2021-04-29T09:40:26Z White_Flame: pyc: tab completion is nice to ensure longer names are correct 2021-04-29T09:40:44Z White_Flame: Esc-Tab in the editor buffers, or some other combinations 2021-04-29T09:43:38Z bjorkintosh quit (Remote host closed the connection) 2021-04-29T09:43:41Z pranavats quit (Ping timeout: 240 seconds) 2021-04-29T09:43:57Z contrapunctus quit (Ping timeout: 265 seconds) 2021-04-29T09:47:26Z nicktick quit (Ping timeout: 240 seconds) 2021-04-29T09:51:50Z irc_user quit (Quit: Connection closed for inactivity) 2021-04-29T09:53:34Z beach: phoe: http://metamodular.com/SICL/call-site-optimization-talk.mkv is my talk. It is a bit more than 20 minutes long. There is a typo on one of the slides that I have since fixed, but I am not going to re-record the talk. 2021-04-29T10:00:07Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-29T10:02:04Z phoe: beach: OK; the typo can be worked around via Twitch chat 2021-04-29T10:02:14Z phoe: (just like last year, I think!) 2021-04-29T10:04:52Z rogersm joined #lisp 2021-04-29T10:09:27Z pjb joined #lisp 2021-04-29T10:10:22Z snits joined #lisp 2021-04-29T10:12:08Z frgo quit (Remote host closed the connection) 2021-04-29T10:12:34Z frgo joined #lisp 2021-04-29T10:17:37Z beach: Yeah. 2021-04-29T10:34:04Z daphnis quit (Ping timeout: 252 seconds) 2021-04-29T10:35:50Z daphnis joined #lisp 2021-04-29T10:42:19Z pyc: If I have a key name as a string, e.g., "a", can I convert it to :a so that I can use it with functions like getf to look up a plist? 2021-04-29T10:43:33Z vegansbane6963 joined #lisp 2021-04-29T10:44:12Z pyc: pyc: Here is an example that describes my question in detail: https://pastebin.ubuntu.com/p/2HJD8QDjFW/ 2021-04-29T10:44:47Z Nilby: (intern (string-upcase string) :keyword) 2021-04-29T10:45:28Z Nilby: if use assume the default case 2021-04-29T10:47:46Z pyc: Nilby: thanks 2021-04-29T10:49:01Z Nilby: or alexandria:make-keyword 2021-04-29T10:51:29Z engblom: If I pass an object to a function, is it a reference to the object or a copy of the object that is passed? 2021-04-29T10:53:48Z engblom: I mean, if I have (defun foo (obj) ...) and I call it with (foo my-obj), is a copy of my-obj passed or a reference? 2021-04-29T10:54:23Z phoe: engblom: thinking C++ doesn't work here 2021-04-29T10:54:26Z Nilby: engblom: It's not exactly either. It's a lisp object which can be a reference or a value. E.g. 1 is a value, *readtable* is a reference. 2021-04-29T10:54:45Z madage quit (Ping timeout: 240 seconds) 2021-04-29T10:54:49Z pjb: engblom: lisp uses exclusively pass by reference. Never pass by value. 2021-04-29T10:55:11Z daphnis: if a class's slot symbols are package-specific, how does one export a function that uses the class? i get "When attempting to set the slot's value to ... the slot .... is missing from the object .... It has a slot pac1::slt, while pac2::slt is requested. 2021-04-29T10:55:16Z pjb: engblom: (while technically numbers and characters may be passed by value when they're small enough, since they're not mutable, there's no difference). 2021-04-29T10:55:26Z madage joined #lisp 2021-04-29T10:55:28Z phoe: daphnis: what do you mean, uses the class? 2021-04-29T10:55:57Z pjb: daphnis: one cannot export functions from package. packages only deal with symbols. You can export a symbol from a package. 2021-04-29T10:55:58Z phoe: if a slot name is not exported then it means that it's internal 2021-04-29T10:56:03Z daphnis: phoe: it sets a slot in an object of the class 2021-04-29T10:56:27Z phoe: and that you likely should not use it, and instead should use accessor functions whose names are actually by the package in question 2021-04-29T10:56:34Z pjb: daphnis: usually we hide the slot behind the accessor. 2021-04-29T10:56:43Z engblom: Thanks! 2021-04-29T10:56:47Z phoe: if you absolutely need to set it and bypass this, then use the fully qualified name: (setf (slot-value foo 'pac1::slt) ...) 2021-04-29T10:56:50Z phoe: but that's ugly code 2021-04-29T10:56:52Z _death: pjb: lisp is pass by value! 2021-04-29T10:57:30Z pjb: daphnis: the reason why is because accessors are methods, code, they can manage the consistency of the object. Perhaps setting a slot implies modifying another sslot, or sending a messasge to another object? If you use slot-value, this cannot occur. If you use an accessor that is overriden, the class can manage it. 2021-04-29T10:57:35Z phoe: pjb: if we use C++ semantics, then we do not have reference passing 2021-04-29T10:57:42Z pjb: _death: but all values are references! 2021-04-29T10:57:56Z _death: pjb: some values are, yes.. 2021-04-29T10:58:40Z pjb: The only values that may not be references are as I mentionned numbers and characters, which are not mutable, and therefore makes no difference if they're passed as value (copied) instead of reference. 2021-04-29T10:59:06Z pjb: _death: but even in that case, most numbers and most characters may still be passed by reference, because they're big (bignums, complex, ratio, etc). 2021-04-29T10:59:38Z pyc: why is progn named so? what does "progn" stand for? 2021-04-29T10:59:40Z phoe: in C++, you can assign a refrence and have the referent modified, which is like mutating a place from inside a function in Lisp 2021-04-29T10:59:47Z phoe: and you can't do that in Lisp 2021-04-29T10:59:49Z pjb: pyc: prog1 prog2 progn 2021-04-29T11:00:03Z _death: pjb: right, but saying lisp uses pass by reference is misleading.. the values (which may be references) are copied 2021-04-29T11:00:20Z phoe: pjb: https://plaster.tymoon.eu/view/2417#2417 2021-04-29T11:00:29Z pjb: pyc: (prog1 one-is-the-result and not the rest) (prog2 nope two-is-the-result and not the rest) (progn not this not that but the nth-is-the-result) 2021-04-29T11:00:31Z phoe: the same won't work in Lisp because a new variable binding is created 2021-04-29T11:00:39Z pyc: pjb: okay, so what does prog1 stand for? program? or something else? 2021-04-29T11:00:58Z pjb: yes program feature, returning the result of the first expression. 2021-04-29T11:01:11Z shifty quit (Ping timeout: 246 seconds) 2021-04-29T11:01:12Z pjb: pyc: there's also prog and progv have a look at them. 2021-04-29T11:01:24Z pyc: okay, thank you 2021-04-29T11:02:13Z shifty joined #lisp 2021-04-29T11:02:30Z pjb: _death: granted, saying that lisp uses pass by reference may be misleading, because in C++, references are references to the variable passed, while in lisp I mean that the value bound to a variable is a reference that is passed. So sorry. lisp is pass by value, but all values are references. (apart a few possible immutable exceptions). 2021-04-29T11:03:05Z pjb: lisp is value (object) centered, not (typed) variable centered. 2021-04-29T11:03:35Z _death: pjb: I think KMP once suggested "pass by identity" 2021-04-29T11:04:38Z phoe: the issue is that there is C++ pass-by-value and C++ pass-by-reference, and the only good answer to "is Lisp pass by value or pass by reference?" is "neither" 2021-04-29T11:04:48Z phoe: because Lisp passing does not follow C++ semantics much 2021-04-29T11:04:50Z ordoflammae joined #lisp 2021-04-29T11:05:26Z _death: phoe: no.. these terms pre-date C++.. ordinary Lisps were always pass by value 2021-04-29T11:05:28Z engblom: If I change my question a bit: would passing an object to a function which then modifies the object change the original object? 2021-04-29T11:05:55Z engblom: (having a side effect) 2021-04-29T11:05:56Z phoe: engblom: yes 2021-04-29T11:06:32Z engblom: Okay, thanks! That helps me to understand what I can do and not do with objects. 2021-04-29T11:06:47Z pjb: _death: yes, it's a good way to express it, "pass by identity". 2021-04-29T11:06:51Z Nilby: I know both pjb and _death know exactly what lisp object is, so it's amusing that thare can be ontological debate about it. 2021-04-29T11:06:52Z phoe: _death: yes, but then again, pass-by-value means implicitly copying stuff in C++ 2021-04-29T11:07:06Z phoe: and CL does not copy objects that are not immutable immediates 2021-04-29T11:07:16Z pjb: engblom: there is a single object, it's the original object that is passed. 2021-04-29T11:07:29Z phoe: Nilby: that's because of C++ semantics, obviously :D 2021-04-29T11:07:40Z pjb: engblom: the reference to the object is copied from the argument to the parameter variable. 2021-04-29T11:07:42Z _death: phoe: it does copy, but what is copied is the reference 2021-04-29T11:07:44Z Nilby: If you want to put it in C++ terms a lisp object is a union of all possible types. 2021-04-29T11:08:01Z pjb: engblom: hence pass-by-value, but since the value is a reference, it's pass-by-identity. 2021-04-29T11:08:03Z phoe: _death: and that is also what differs from C++ semantics 2021-04-29T11:08:06Z phoe: hence we have all this current mess 2021-04-29T11:09:00Z phoe: I think this deserves a blogpost 2021-04-29T11:09:27Z phoe: since it's the nth time I've seen this discussion and it would be good to store a compressed version of it somewhere 2021-04-29T11:10:15Z Nilby: and then tell minon and colleen about it :) 2021-04-29T11:10:56Z pjb: phoe: or just a little drawing, of objects in a heap, with arrows from variables to them and between them. 2021-04-29T11:11:28Z pjb: but yes, we should automatize teaching and support! 2021-04-29T11:11:39Z phoe: pjb: lemme quickly write down a sketch of what I am thinking about and I'll post it here for review 2021-04-29T11:12:43Z pjb: phoe: https://www.cl.cam.ac.uk/teaching/1213/ConceptsPL/l4.pdfA 2021-04-29T11:14:14Z layerex joined #lisp 2021-04-29T11:15:46Z codecaveman joined #lisp 2021-04-29T11:16:06Z shifty quit (Ping timeout: 268 seconds) 2021-04-29T11:16:24Z shifty joined #lisp 2021-04-29T11:18:07Z _death: phoe: in C (and C++) you can also pass references by value.. if you have an int a, you can pass &a, which is a pointer (a reference).. the pointer is copied and may be dereferenced 2021-04-29T11:19:18Z Odin- got the impression from the Lisp 1.5 manual that conceptually all Lisp objects are references. 2021-04-29T11:20:21Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-29T11:20:24Z _death: phoe: in C++, you can pass the int by reference.. the callee states that a reference to int should be passed, by taking an int & parameter.. 2021-04-29T11:21:16Z Spawns_Carpeting joined #lisp 2021-04-29T11:21:22Z codecaveman: I want to write an iterative recursive factorial function which does work backwards: I mean my fact(a b) = { (a=0)->b; fact(a-1, a*b) } function multiplies numbers downwards n*n-1*n-2..3*2*1 can I write one which does 1*2*3*...(n-1)*n using only two variables? 2021-04-29T11:23:02Z amb007 quit (Read error: Connection reset by peer) 2021-04-29T11:23:43Z amb007 joined #lisp 2021-04-29T11:23:54Z pjb: codecaveman: iterative XOR recursive! which will it be? 2021-04-29T11:23:58Z phoe: _death: yes, I have linked an example above 2021-04-29T11:24:55Z jackdaniel: recursive if the accumulator ,) 2021-04-29T11:24:58Z jackdaniel: s/if/with 2021-04-29T11:25:04Z codecaveman: (define factorial-product 2021-04-29T11:25:04Z codecaveman: (lambda (a b) ; compute a * b! as (a*b) * (b-1)! 2021-04-29T11:25:05Z codecaveman: (factorial-product (* a b) (- b 1)))) 2021-04-29T11:25:10Z pjb: (defun fact (n r) (if (zerop n) r (fact (1- n) (* n r)))) (fact 10 1) #| --> 3628800 |# 2021-04-29T11:25:17Z codecaveman: I want to rewrite it so it goes up 2021-04-29T11:25:22Z codecaveman: from 1 to n 2021-04-29T11:25:45Z phoe: codecaveman: which language is that? 2021-04-29T11:25:50Z codecaveman: scheme 2021-04-29T11:25:52Z phoe: that doesn't look like CL because of the DEFINE 2021-04-29T11:25:57Z phoe: #scheme might be a slightly better fit then! 2021-04-29T11:26:01Z phoe: #lisp is a lair of Common Lispers 2021-04-29T11:26:02Z pjb: (defun fact (n i r) (if (= i n) (* n r) (fact n (1+ i) (* i r)))) (fact 10 1 1) #| --> 3628800 |# 2021-04-29T11:26:12Z pjb: codecaveman: ^ so you want only 2 parameters? 2021-04-29T11:26:27Z codecaveman: yes I want to know if its possible to write using only two 2021-04-29T11:26:37Z pjb: I don't see how that can be possible. 2021-04-29T11:26:51Z pjb: You want i to increment, you want n to set the limit, and you want the accumulator r. 2021-04-29T11:27:14Z no-defun-allowed: I would think you could with a cons or a closure to put two values in one argument, but that is following the letter and not spirit of what you asked. 2021-04-29T11:27:20Z pjb: codecaveman: but you would wrap any recursive function with accumulator into a normal function: (defun ! (n) (fact n 1 1)) #| --> ! |# (! 10) #| --> 3628800 |# 2021-04-29T11:27:43Z codecaveman: yes i would 2021-04-29T11:28:25Z pjb: codecaveman: (defun fact (n) (loop for i from 1 to n for r = i then (* i r) finally (return r))) (fact 10) #| --> 3628800 |# 2021-04-29T11:28:31Z codecaveman: I just wanted to know if its possible to solve it with only two args 2021-04-29T11:28:51Z pjb: The recursive function with accumulator is equivalent to this loop anyways. The compiler can generate exactly the same code for both! 2021-04-29T11:29:02Z codecaveman: thanks 2021-04-29T11:29:04Z phoe: unless you have a clever trick of sorts to encode three numbers inside two numbers, probably not 2021-04-29T11:29:39Z phoe: or unless your function is not tail recursive 2021-04-29T11:29:53Z _death: ldb :) 2021-04-29T11:29:56Z phoe: (and/or closes over values) 2021-04-29T11:30:30Z codecaveman left #lisp 2021-04-29T11:31:43Z daphnis: i'm trying to use accessor functions instead of slot-value, but since what slot to access is to depend on arguments, i'm trying (setf (funcall . . . and that doesn't seem to work: "The function (setf funcall) is undefined . . ." 2021-04-29T11:32:43Z _death: you can setf apply 2021-04-29T11:33:00Z vms14 joined #lisp 2021-04-29T11:33:00Z vms14 quit (Changing host) 2021-04-29T11:33:00Z vms14 joined #lisp 2021-04-29T11:33:18Z phoe: daphnis: what are you trying to call? 2021-04-29T11:33:24Z phoe: what are you trying to set? 2021-04-29T11:33:52Z phoe: if the accessor looks like (foo bar baz quux), then you should be able to (setf (foo bar baz quux) new-value) 2021-04-29T11:34:12Z _death: hmmm.. but yeah, the answer should likely be that you should pass (setf foo) to funcall 2021-04-29T11:34:34Z daphnis: yeah, but i want to give the name of the accessor function as an argument to the function that sets it 2021-04-29T11:34:46Z Odin-: ... as noted in the original question. 2021-04-29T11:35:36Z engblom: When being in repl, is there anything I can write to see the source or description of something. For example if I want to know what arguments map is taking, can I check it from repl? 2021-04-29T11:35:43Z pjb: daphnis: (defun function-that-sets (writer object) (let ((new-value 42)) (funcall writer new-value object))) (function-that-sets (function (setf answer)) question) 2021-04-29T11:36:29Z _death: engblom: (describe 'map) 2021-04-29T11:36:38Z pjb: (defclass question () ((answer :accessor answer))) (let ((q (make-instance 'question))) (function-that-sets (function (setf answer)) q) (answer q)) #| --> 42 |# 2021-04-29T11:36:43Z pjb: daphnis: ^ 2021-04-29T11:36:53Z engblom: _death: Thanks! 2021-04-29T11:37:11Z pjb: engblom: also: (documentation 'map 'function) or (documentation 'map t) 2021-04-29T11:38:00Z pjb: daphnis: an accessor, it's two functions a reader and a writer… 2021-04-29T11:38:06Z engblom: pjb: Thanks! 2021-04-29T11:39:10Z _death: if you're using slime, I saw this recently: https://github.com/mmontone/slime-doc-contribs 2021-04-29T11:39:48Z pjb: daphnis: with setf apply you need to put (function accessor) literally in the apply place: (let ((q (make-instance 'question)) (a (function answer))) (setf (apply a (list q)) 42)) #| ERROR: Setf of Apply is only defined for function args of form #'symbol. |# 2021-04-29T11:40:13Z pjb: (let ((q (make-instance 'question))) (setf (apply (function answer) (list q)) 42) (answer q)) #| --> 42 |# 2021-04-29T11:40:28Z pjb: daphnis: so it cannot work in your case (if the accessor is a parameter). 2021-04-29T11:41:14Z pjb: engblom: you can also know what argument an operator take, just by typing (map spc in a lisp/slime buffer. Then slime will query the lisp image, and display the required arguments in the minibuffer. 2021-04-29T11:42:48Z pjb: daphnis: what are you trying to do, why do you have the accessor in parameter? 2021-04-29T11:43:24Z daphnis: so i probably need to use slot-value then? and then it seems that i need to export each slot symbol in order to use the function in a new package. maybe i just put more into one package. 2021-04-29T11:43:27Z pjb: daphnis: perhaps you're doing meta protocol stuff, and using the slots directly with slot-value is the right thing in your case. It depends on what you are doing. What are you doing? 2021-04-29T11:44:28Z pjb: If the function needs access to the slots, it should be in the same package! 2021-04-29T11:44:48Z pjb: It should probably be a method! 2021-04-29T11:45:04Z daphnis: yeah, it is a method 2021-04-29T11:45:14Z pjb: But again, it depends on what you're trying to do, but this seems to be a state secret. 2021-04-29T11:45:26Z daphnis: no, i'm just thinking of how to put it 2021-04-29T11:45:59Z engblom: Is there something that is between let and setf, so the scope is limited to the whole function rather than either having a limited scope as in let or then a global variable as in setf? 2021-04-29T11:46:19Z shifty quit (Ping timeout: 268 seconds) 2021-04-29T11:46:27Z pjb: engblom: what's wrong with (defun foo () (let (…) …))? 2021-04-29T11:46:57Z shifty joined #lisp 2021-04-29T11:47:12Z engblom: I am asking because I would want to write some code that would require a lot of nested let, and making the variables scope to be the whole fucntion would be handy in this case. 2021-04-29T11:47:22Z pjb: engblom: you can also define function local variables with &aux in the lambda-list, but we usually reserve this for macro expansions, since it let you add local variables without having to deal with docstrins and declarations. 2021-04-29T11:47:37Z no-defun-allowed: Maybe use LET*? 2021-04-29T11:47:48Z pjb: (defun foo (… &aux x y z) (setf x 1 y 2 z 3) (list x y z)) (foo 42) #| --> (1 2 3) |# 2021-04-29T11:47:52Z amb007 quit (Read error: Connection reset by peer) 2021-04-29T11:48:02Z amb007 joined #lisp 2021-04-29T11:48:29Z pjb: but we prefer the (defun foo (…) (let ((x 1) (y 2) (z 3)) (list x y z))) style (foo 33) #| --> (1 2 3) |# 2021-04-29T11:48:30Z amb007 quit (Read error: Connection reset by peer) 2021-04-29T11:48:58Z pjb: engblom: also, note how nice LET is, since it lets you bind values to the variables. So you don't need setf. 2021-04-29T11:49:24Z monolithic joined #lisp 2021-04-29T11:49:29Z orivej quit (Ping timeout: 246 seconds) 2021-04-29T11:49:58Z daphnis: i have an object representing a letter and the slots represents various features, like case, accent, name, etc. the method changes one of those features. e.g. (furnish ltr :acute) should lead to the accent slot's being set to :acute 2021-04-29T11:50:09Z engblom: no-defun-allowed: Because I would need to do (let ((some thing)) (do-something else) (let((more things)) (do-again-something-else)) 2021-04-29T11:50:34Z engblom: With only a single assignement per let. 2021-04-29T11:51:37Z pjb: daphnis: in that case, I would use case. 2021-04-29T11:52:06Z amb007 joined #lisp 2021-04-29T11:52:22Z daphnis: pjb: wouldn't slot-value be a lot simpler? 2021-04-29T11:53:46Z pjb: (defun furnish (letter trait value) (ecase trait (:case (setf (casse letter) value)) (:accent (setf (accent letter) value)) (:name (setf (name letter) value)))) 2021-04-29T11:53:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-29T11:54:20Z pjb: daphnis: perhaps instead of writing (furnish letter :accent 'grave) you could just write (setf (accent letter) 'grave) ? 2021-04-29T11:54:42Z pjb: daphnis: what's the point of furnish beyond setting the attributes of the letter? 2021-04-29T11:55:11Z amb007 joined #lisp 2021-04-29T11:55:17Z amb007 quit (Read error: Connection reset by peer) 2021-04-29T11:55:41Z amb007 joined #lisp 2021-04-29T11:55:57Z pjb: daphnis: where do the trait and value come from? If that comes from a data file, it's an external source, and it should be validated. This is what ECASE does: if we get a bad trait, it signals an error. And you cannot set slots that are not in the list of cases. 2021-04-29T11:55:57Z amb007 quit (Read error: Connection reset by peer) 2021-04-29T11:56:09Z pjb: daphnis: using slot-value wouldn't have those protections. 2021-04-29T11:56:45Z engblom: What do you think about me using (let ((x nil) (y nil) (z nil)) (some code) (setf x something) (some code) (setf y something) ... )? That would make local variables, but not requiring a lot of nested let. 2021-04-29T11:57:12Z pjb: daphnis: now, if there was a lot of cases, or if they were "dynamic" because you'd have different classes, perhaps not know at compilation time, we could have a data structure to map trait keywords to accessors, but we would still go thru this validation and control. 2021-04-29T11:57:16Z amb007 joined #lisp 2021-04-29T11:57:42Z pjb: engblom: (progn (some code) (let ((x ix) (y iy) (z iz)) (something-else x y z))) 2021-04-29T11:57:47Z pjb: note how shorter it is. 2021-04-29T11:58:10Z pjb: engblom: and often the progn is not needed, since we have some outer implicit block. 2021-04-29T11:58:10Z amb007 quit (Read error: Connection reset by peer) 2021-04-29T11:58:31Z amb007 joined #lisp 2021-04-29T11:58:32Z pjb: engblom: you can also use let* 2021-04-29T11:59:14Z pjb: engblom: (let* ((x (compute-x)) (y (compute-y x)) (z (compute-z x y))) (do-something x y z)) so you can have some code between the binding of the variables with let*. 2021-04-29T11:59:57Z pjb: engblom: (let* ((x (progn (something) (compute-x))) (y (progn (something) (compute-y x))) (z (progn (something) (compute-z x y)))) (do-something x y z)) 2021-04-29T11:59:57Z amb007 quit (Read error: Connection reset by peer) 2021-04-29T12:00:22Z daphnis: the traits don't come from an external source. one other thing the furnish method does is that it determines the trait based on the value (if only one trait can have that value) 2021-04-29T12:00:23Z engblom: pjb: In this case each definition of let will have a side effect: it will place a form element on a site and the reference to the element is assigned to the variable. Because of that I need to add some code between (spacers, layout, text, etc) between each assignment with let. 2021-04-29T12:00:34Z pjb: engblom: typically, when you have to initialize some complex objects, you have to use some mutation. then you can do: 2021-04-29T12:00:59Z amb007 joined #lisp 2021-04-29T12:01:53Z daphnis: pjb: but you may be right that i could do without it 2021-04-29T12:02:26Z pjb: engblom: (let ((rt (let ((rt (copy-readtable))) (set-macro-character #\a (lambda (s c) (char-upcase c)) rt) rt))) (let ((*readtable* rt)) (read-from-string "abc"))) #| --> abc ; 3 |# 2021-04-29T12:03:11Z pjb: daphnis: note that even if furnish needs to do something more, this is something you can also do by writing eg. :after or :before methods on the accessors. 2021-04-29T12:03:40Z engblom: pjb: So (let ((olt (create-select ....))) ....) would create a dropdown list on the site, and I can read the value by doiing (value olt). But to create a real layout on the site I need to add some more stuff between the form elements, so I am not able to add everything inside of a single let without some tricks. 2021-04-29T12:04:11Z pjb: daphnis: eg. (defmethod (setf accent) :before (new-accent letter) (incf *accent-count*)) (defmethod accent :after (letter) (print 'yay)) 2021-04-29T12:04:41Z pjb: engblom: well, if you call let or progn tricks… 2021-04-29T12:06:22Z pjb: engblom: now the thing is that the rule of evaluations in CL are very precise. macros and special operator explicitely specify in what order, and in what scope each subexpression is evaluated, and for function calls, the arguments are evaluated from left to right. Therefore you can wrap any subexpression in a prog1/prog2/progn to add side effects before and/or after computing the subexpression. 2021-04-29T12:07:05Z engblom: pjb: Thank you, progn might be the easiest solution in this case 2021-04-29T12:07:17Z pjb: And some functions are specified to return their argument on purpose so you can write stuff as : (let ((x 42) (y 33)) (print (+ (print (* (print x) 4)) (print y)))) #| 42 2021-04-29T12:07:17Z pjb: 168 2021-04-29T12:07:17Z pjb: 33 2021-04-29T12:07:17Z pjb: 201 --> 201 |# 2021-04-29T12:07:20Z igemnace quit (Quit: WeeChat 3.1) 2021-04-29T12:07:53Z pjb: engblom: print is used like that routinely when debugging. But you can use prog1/prog2/progn and add any side effect. 2021-04-29T12:08:11Z pjb: or even let/let* if you need temporary variables. 2021-04-29T12:09:15Z daphnis: pjb: thanks! 2021-04-29T12:09:45Z pjb: (let ((x 42) (y 33)) (+ (* (let ((x/2 (/ x 2))) (+ (expt x/2 2) (expt x/2 1/2))) 4) y)) #| --> 1815.3303 |# 2021-04-29T12:10:06Z pjb: daphnis: you're welcome. 2021-04-29T12:10:49Z pjb: engblom: and vice versa. If you have an expression too complex, you can always put (defun sub (x) …) around a subexpression and replace it with (sub x) 2021-04-29T12:11:14Z Adamclisi quit (Ping timeout: 245 seconds) 2021-04-29T12:11:14Z pjb: (defun sub (x) (let ((x/2 (/ x 2))) (+ (expt x/2 2) (expt x/2 1/2)))) (let ((x 42) (y 33)) (+ (* (sub x) 4) y)) #| --> 1815.3303 |# 2021-04-29T12:12:06Z pjb: engblom: sexps are very easy to manipulate in the editor, and since lisp operators are very orthogonal, the code (which is actually data) is very maleable. 2021-04-29T12:13:03Z pjb: engblom: there are only expressions, and and very little syntax in macros and special operators (eg. you cannot put an expression instead of the name of a variable in a LET; but apart from those few exception, you can put any expression in place of any subexpression. 2021-04-29T12:14:23Z pjb: engblom: (if (< delta 0) (- b (sqrt (- delta))) (- b (sqrt delta))) --> (- b (sqrt (if (< delta 0) (- delta) delta))) or even --> (- b (sqrt (funcall (if (< delta 0) (function -) (function +)) delta))) 2021-04-29T12:14:25Z engblom: pjb: Thank you! Now I would only need an easy way to send stuff from vim to repl. Now testing stuff has been taking time because every time I made a change I have been (ql:quickload :my-project) in order to update repl, and I have not been able to test any function that is not external. 2021-04-29T12:14:46Z pjb: engblom: well, the easiest way, is to type :!emacs RET 2021-04-29T12:15:14Z pjb: engblom: there's a slimv but it may be old and bitrotten. Better use emacs and slime. 2021-04-29T12:17:22Z slyrus joined #lisp 2021-04-29T12:21:52Z slyrus quit (Ping timeout: 252 seconds) 2021-04-29T12:26:44Z engblom: pjb: I wonder if using some vim emulation in Emacs would cause any shortcut conflicts if using Slime? 2021-04-29T12:28:18Z vms14 quit (Quit: Bye) 2021-04-29T12:28:38Z vms14 joined #lisp 2021-04-29T12:29:10Z shifty quit (Ping timeout: 252 seconds) 2021-04-29T12:30:04Z shifty joined #lisp 2021-04-29T12:30:45Z engblom: Is this still valid, as it is from 2016? https://fouric.github.io/posts/2016-05-20-getting-set-up-with-emacs.html 2021-04-29T12:32:16Z ukari quit (Remote host closed the connection) 2021-04-29T12:33:21Z ukari joined #lisp 2021-04-29T12:39:58Z shifty quit (Ping timeout: 268 seconds) 2021-04-29T12:40:12Z shifty joined #lisp 2021-04-29T12:40:41Z edgar-rft: Common Lisp is more than 25 years old and Emacs is more than 40 years old, so 2016 is like yesterday in other programming languages :-) 2021-04-29T12:41:10Z layerex quit (Quit: Leaving) 2021-04-29T12:44:52Z shifty quit (Ping timeout: 240 seconds) 2021-04-29T12:59:51Z Bike joined #lisp 2021-04-29T13:00:09Z cage_ joined #lisp 2021-04-29T13:03:08Z engblom: I got emacs installed. In vim I would use :set background=dark to automatically change the colors of highlightning to be readable on a dark background. Is there something similar that can quickly be done in Emacs. Right now I can not read the code with my poor eyes (when running emacs -nw). 2021-04-29T13:03:51Z _death: color-theme-select 2021-04-29T13:06:37Z beach: pjb: Common Lisp uses pass-by-value. 2021-04-29T13:06:57Z beach: Wow, I wish I hadn't been absent. 2021-04-29T13:08:03Z beach: Nilby: The semantics is always "uniform reference semantics". 2021-04-29T13:08:08Z _death: engblom: well, apparently color-theme is the old, deprecated, obsolete, ex-parrot way nowadays. 2021-04-29T13:08:45Z beach: engblom: I am sorry my fellow #lisp participants probably confused the hell out of you. 2021-04-29T13:09:34Z engblom: beach: I still think I got the answer :) 2021-04-29T13:09:57Z beach: Oh, good. I guess I can't take a break anymore. :) 2021-04-29T13:11:21Z cer-0 joined #lisp 2021-04-29T13:12:43Z jmercouris: what does it mean anyways to say Lisp uses "pass by x" anyways 2021-04-29T13:12:55Z jmercouris: in the context of C I can understand it 2021-04-29T13:12:56Z beach: Pass by value means that arguments are evaluated bore a function is invoked. 2021-04-29T13:12:59Z jmercouris: I don't see how this applies in Lisp 2021-04-29T13:13:11Z jmercouris: beach: aha! 2021-04-29T13:13:13Z beach: nothing else. 2021-04-29T13:13:20Z jmercouris: I see, but aren't they just nested forms? 2021-04-29T13:13:24Z jmercouris: so of /course/ they are evaluated 2021-04-29T13:13:40Z jmercouris: so if I do (funcx (qrt)), (qrt) must be evaluated first 2021-04-29T13:13:41Z beach: Yes, most languages use call-by-value semantics. 2021-04-29T13:14:00Z cer-0: Yup, exactly 2021-04-29T13:14:04Z beach: But some weird languages, like C++ and Pascal (with VAR) use call by reference. 2021-04-29T13:14:07Z jmercouris: how could (qrt) not be evaluated? 2021-04-29T13:14:13Z jmercouris: I don't even understand why that would be possible 2021-04-29T13:14:16Z beach: C++ with & parameters. 2021-04-29T13:14:43Z beach: It means that you don't evaluate the argument, and instead you pass a reference to a place (or an l-value). 2021-04-29T13:14:54Z jmercouris: seems idiotic 2021-04-29T13:15:08Z jmercouris: what would be the reasoning behind that? 2021-04-29T13:15:09Z jmercouris: performance? 2021-04-29T13:15:18Z jmercouris: making programs convoluted? 2021-04-29T13:15:19Z beach: It is idiotic, but necessary because they don't use "uniform reference semantics". 2021-04-29T13:15:36Z jackdaniel: jmercouris: (qrt) is not evaluated, when it is an argument to a macro 2021-04-29T13:15:50Z jmercouris: jackdaniel: that's true, but unrelated to what we were talking about 2021-04-29T13:15:50Z jackdaniel: this is simply part of the common lisp evaluation rules, not something "natural" or obvious 2021-04-29T13:15:59Z cer-0: IIRC there are some cases when you don't apply this behaviour, take cond for example if you write incorrect code after a valid clause they won't be evaluated. 2021-04-29T13:15:59Z jmercouris: I am pretty sure it is natural AND obvious 2021-04-29T13:16:03Z beach: Oh, more confusing the hell out of people, great!!!! 2021-04-29T13:16:17Z jackdaniel: it is related, because you present it as some natural consequence of some unspecified rule of the universe 2021-04-29T13:16:26Z jmercouris: In my eyes, it seems very natural 2021-04-29T13:16:37Z jmercouris: perhaps we conceptualize the world differently 2021-04-29T13:16:40Z jmercouris: I couldn't see it any other way 2021-04-29T13:16:42Z jackdaniel will back down to not confuse people hell out and leave the explanation to beach and jmercouris 2021-04-29T13:16:52Z beach: jmercouris: So, C and C++, when you call a function with an "object" will copy the object by default. 2021-04-29T13:17:25Z beach: jmercouris: Because C and C++ distinguishes between "objects" and "pointers". 2021-04-29T13:17:36Z beach: Let's call that "copy semantics". 2021-04-29T13:17:39Z jmercouris: right 2021-04-29T13:17:48Z jmercouris: but why? what is the purported advantage? 2021-04-29T13:17:54Z beach: So if you call a function with an object, the object will be copied before it is passed to the callee. 2021-04-29T13:18:16Z beach: It has to be that way, because they don't have automatic memory management. 2021-04-29T13:18:20Z jmercouris: I've never been programming Lisp and thought "Man, if only I had pointers that way" 2021-04-29T13:18:33Z beach: Otherwise, they can't know whether an object is live or not. 2021-04-29T13:18:49Z jmercouris: is it not possible to make a language without a GC without pointers? 2021-04-29T13:18:56Z beach: So they have to copy in order to make sure that the number of references to an object is always 1. 2021-04-29T13:19:36Z beach: Sure, but such a language would be pretty useless. 2021-04-29T13:20:16Z beach: You could not represent a graph with cycles in such a language. 2021-04-29T13:20:32Z Bike: imagine a struct that's small enough to fit in two registers. if you pass it to a function, it's passed in registers without memory being touched. if that function alters a field, it just alters a register. when the function returns, the caller registers are restored from the stack, so the struct in the caller is what it was before the call. ergo, the object is "copied" 2021-04-29T13:20:34Z jmercouris: you would need a reference, and simply reinvent pointers in some way 2021-04-29T13:20:35Z jmercouris: I see 2021-04-29T13:21:10Z Bike: C++ then adds copy constructors and move constructors and prvalues and xvalues and my god it just keeps going 2021-04-29T13:21:23Z beach: So, as Bike says, the other consequence of "copy semantics" is that a function can't modify an object that you pass to it, because it is always copied. 2021-04-29T13:21:43Z jmercouris: hm, I see 2021-04-29T13:21:49Z beach: That's why C++ needs to be able to call by reference. 2021-04-29T13:21:53Z Bike: the concept of a "move constructor" is basically what beach is talking about with the number of references only being one. if you "move" an object instead of "copying" it, the old thing referring to it no longer does 2021-04-29T13:22:09Z Bike: the semantics are pretty confusing, but that's what you need to do to keep this stuff up efficiently, i guess 2021-04-29T13:22:31Z jmercouris: I'm glad to not be a C++ developer today 2021-04-29T13:22:40Z beach: Yes, it is necessarily confusing because of the lack of automatic memory management and all the consequences that follow from that decision. 2021-04-29T13:23:26Z beach: So, to me, the only sane programming model is "call-by-value" and "uniform references semantics" which is what Common Lisp uses, no matter what other people here might say. 2021-04-29T13:24:29Z beach: Granted, most modern languages do the same thing, perhaps with a few exceptional cases like Java that handles machine integers differently, or it used to. 2021-04-29T13:25:20Z beach: It is quite amazing to me the snowball effect that lack of automatic memory management creates. 2021-04-29T13:28:05Z jmercouris: yeah, pretty fascinating 2021-04-29T13:28:12Z snits quit (Ping timeout: 240 seconds) 2021-04-29T13:28:32Z snits joined #lisp 2021-04-29T13:29:55Z beach: Nilby, pbj: In my opinion, it is pedagogically unhelpful to bring up the performance hack that immediate objects such as fixnums and characters use, since those objects are immutable. The semantics would still be "uniform reference semantics". At least, it is unhelpful to someone who has no clue. You can bring it up when they start asking about references to small objects like characters. 2021-04-29T13:32:38Z pjb: Agreed. 2021-04-29T13:33:39Z saganman joined #lisp 2021-04-29T13:33:39Z saganman quit (Changing host) 2021-04-29T13:33:39Z saganman joined #lisp 2021-04-29T13:33:55Z pjb: (Yes, I was confused about the pass by reference / pass by value, sorry). 2021-04-29T13:35:05Z jmercouris: We all make mistakes, I do it basically nonstop 2021-04-29T13:35:23Z ukari quit (Remote host closed the connection) 2021-04-29T13:35:25Z pjb: jmercouris: (qrt) could be not evaluated in a lazy language; or if it was a place, and if lisp used pass-by-reference (of places). 2021-04-29T13:36:05Z ukari joined #lisp 2021-04-29T13:36:06Z Nilby: Yes, but I'm not sure saying "uniform reference semantics" or just saying "pass by value" will help someone familiar with C++. I think the problem with explaining is Lisp is defined by semantics, while C is defined by memory contents and addresses. The closest I can think of to relate to C is that lisp objects are tagged unions with internal pointers which are passed by value, but may have a bunch of built-in access methods 2021-04-29T13:36:42Z pjb: jmercouris: the pass-by-reference is normally used for output or in/out parameters. In languages like pascal, modula-2 modula-3, ada, etc. 2021-04-29T13:36:51Z jmercouris: I think the best thing to do is wipe your mind when learning lisp 2021-04-29T13:36:52Z pjb: jmercouris: note that those languages don't have multiple value results… 2021-04-29T13:36:55Z jmercouris: and pretend you've never programmed in your life 2021-04-29T13:37:08Z jmercouris: my biggest mistake in the beginning was taking concepts from other programming languages and attempting to apply them 2021-04-29T13:37:20Z pjb: in lisp since we have multiple-value results (or we can easily return lists like in emacs lisp), in/out or output parameter are not needed. 2021-04-29T13:37:28Z wsinatra joined #lisp 2021-04-29T13:37:42Z jmercouris: it's a natural thing to do 2021-04-29T13:37:45Z jmercouris: people wish to learn by translation 2021-04-29T13:37:46Z frost-lab joined #lisp 2021-04-29T13:37:55Z jmercouris: but it is not always possible to translate every word or concept from one language to another 2021-04-29T13:38:15Z jmercouris: the biggest problem is that so many programmers, myself included are monolingual (I was, at least) 2021-04-29T13:38:26Z jmercouris: perhaps we know 5, 10 languages, but they are all different flavors of the same algol dialect 2021-04-29T13:38:36Z pjb: jmercouris: in C, we use pointers to the variables to do that, so it's explicit (but also confusing is that a pointer to a variable for an output parameter, an in/out parameter, or is that just a pointer as input parameter?). So C++ has & references to distinguish it from input pointers.\ 2021-04-29T13:38:40Z jmercouris: I used many languages before Lisp, and they were all the different, but the same 2021-04-29T13:39:05Z frost-lab quit (Client Quit) 2021-04-29T13:39:23Z pjb: jmercouris: but of course, C++ and C++ programmers also complexify things up with copy semantics and stuff like that so that references are also used in more "subtil" ways. 2021-04-29T13:39:38Z beach: Nilby: It is hard to help people who don't bother to learn standard terminology in the field. 2021-04-29T13:40:05Z jmercouris: pjb: subtle* 2021-04-29T13:40:10Z beach: Nilby: The only way I can see how to do that, is to start by teaching them such terminology. 2021-04-29T13:40:15Z pjb: With lisp, smalltalk, modula-2, prolog, haskell you cover most of it. 2021-04-29T13:40:17Z jmercouris: and pronounced "suttle" 2021-04-29T13:40:35Z jmercouris: is it "subtil" in French? 2021-04-29T13:40:39Z pjb: jmercouris: right. Sometimes by braintranslate skip words, sorry. 2021-04-29T13:40:45Z pjb: Yes. 2021-04-29T13:40:48Z jmercouris: seems like a French word 2021-04-29T13:41:09Z phoe: beach: the main issue is that "pass-by-value" is an overloaded term 2021-04-29T13:41:24Z beach: phoe: It is not. Never has been. Never should be. 2021-04-29T13:41:34Z beach: It just means that arguments are evaluated before passed to a function. 2021-04-29T13:41:35Z jmercouris: I see beach is a fan of double spaces after a period 2021-04-29T13:41:45Z beach: Sorry. Old habit. 2021-04-29T13:41:48Z beach: From Emacs. 2021-04-29T13:41:49Z phoe: beach: yes, it is: in C++, "pass-by-value" means "but alo copy the parameter" 2021-04-29T13:42:11Z beach: phoe: Nope, it is not C++ specific. It is simple computer science. 2021-04-29T13:42:36Z jmercouris: are we engineers, computer scientists? developers? 2021-04-29T13:42:39Z beach: phoe: What the object is that is passed to the callee is an orthogonal issue. 2021-04-29T13:42:46Z jmercouris: beach: what do you say? 2021-04-29T13:42:59Z Nilby: beach: Also, the first link when searching for "uniform reference semantics" is written by you. 2021-04-29T13:43:07Z beach: That is why I use "uniform reference semantics" for that orthogonal issue. 2021-04-29T13:43:14Z jmercouris: Nilby: your search results may be customized based on your prior search history 2021-04-29T13:43:23Z beach: Nilby: I am well aware that I invented the term. 2021-04-29T13:43:24Z pjb: phoe: well, in C copied values are limited to words pushed to the stack, so usually only numbers characters and pointers are copied. But more recently, small structures too (and returned). But in C++ whole objects and structures can be copied. And with the funny thing that if you pass an instance of a subclass, only the slot of the superclass (declared for the parameter) are copied! So you can have half objects! 2021-04-29T13:43:36Z beach: Nilby: But when I did, there was nothing else to explain it. 2021-04-29T13:43:58Z pjb: This is all silly, and the only reasonable way to program in C or C++ is to use pointers for everything, and start greenspunning. 2021-04-29T13:44:00Z phoe: beach: yes, that's the part that is troublesome - answering "Lisp is pass-by-value" does not solve the whole problem 2021-04-29T13:44:23Z beach: phoe: Which is why I always bring up "uniform reference semantics" at the same time. 2021-04-29T13:44:57Z hypercube joined #lisp 2021-04-29T13:45:11Z pjb: Hi, 4-dimensional being! 2021-04-29T13:45:30Z pjb: How do you project today? 2021-04-29T13:46:15Z jmercouris: we are only three dimensional beings 2021-04-29T13:46:27Z Nilby: Maybe we should just tell people to read that when the question comes up. 2021-04-29T13:46:28Z jackdaniel: forever young 2021-04-29T13:46:36Z jackdaniel: forever static 2021-04-29T13:47:29Z pjb: jmercouris: not hypercube. 2021-04-29T13:48:08Z phoe: Nilby: a long research paper is hardly a good answer to a simple-seeming question 2021-04-29T13:48:13Z pjb: jmercouris: also, since the general relativity we know that we live actually in a 4-dimensional space, and we're interconnected 4-dimensional breads. 2021-04-29T13:48:16Z phoe: there should be a distilled version somewhere 2021-04-29T13:48:32Z beach: I am tempted to write one. 2021-04-29T13:48:45Z pjb: phoe: distilled: 42. the details: millions of years of computing and inferencing… 2021-04-29T13:48:52Z Eoco quit (Ping timeout: 240 seconds) 2021-04-29T13:49:21Z Duuqnd quit (Ping timeout: 260 seconds) 2021-04-29T13:49:34Z xkapastel joined #lisp 2021-04-29T13:49:39Z phoe: beach: so am I; if you feel like it and have the cycles, please do so 2021-04-29T13:49:58Z beach: *sigh* I'll try. 2021-04-29T13:51:23Z beach: I can whip something like that up in no time at all, but then there is the drudge: turning into HTML or something like that, figuring out where to put it. Insert references, emphasis, blablabla. 2021-04-29T13:51:44Z Duuqnd joined #lisp 2021-04-29T13:52:12Z phoe: beach: I can edit it 2021-04-29T13:52:18Z Bike: i've found markdown pretty good for writing without thinking about that stuff too much 2021-04-29T13:52:26Z Bike: wouldn't be good for like an actual paper probably 2021-04-29T13:52:26Z phoe: this, me too 2021-04-29T13:52:35Z jmercouris: I've found ORG mode to be best 2021-04-29T13:52:48Z jmercouris: I just write in org mode, and then org->html via that one haskell program 2021-04-29T13:52:51Z jmercouris: can't remember the name... 2021-04-29T13:52:54Z Bike: org's good too. i don't know how to put it into html though. 2021-04-29T13:53:27Z jmercouris: this for example; https://nyxt.atlas.engineer/article/class-based-functional-configuration.org 2021-04-29T13:53:31Z jmercouris: it's an org mode file converted 2021-04-29T13:54:11Z jmercouris: pandoc, there we go 2021-04-29T13:54:13Z jmercouris: the program is called pandoc 2021-04-29T13:57:00Z waleee-cl joined #lisp 2021-04-29T13:59:45Z pranavats joined #lisp 2021-04-29T14:03:16Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-29T14:03:46Z snits quit (Ping timeout: 260 seconds) 2021-04-29T14:07:15Z orivej joined #lisp 2021-04-29T14:08:10Z aeth quit (Ping timeout: 252 seconds) 2021-04-29T14:09:25Z snits joined #lisp 2021-04-29T14:10:12Z aeth joined #lisp 2021-04-29T14:10:44Z Inline joined #lisp 2021-04-29T14:10:57Z engblom: I just got Emacs setup and want to begin coding. How I am supposed to load a package so I can access even the functions that are not exported from repl? 2021-04-29T14:11:15Z phoe: oh right! I forgot to link this one 2021-04-29T14:11:16Z phoe: https://stevelosh.com/blog/2018/08/a-road-to-common-lisp/ 2021-04-29T14:11:35Z hypercube quit (Quit: WeeChat 3.1) 2021-04-29T14:12:40Z ebrasca joined #lisp 2021-04-29T14:13:09Z monolithic left #lisp 2021-04-29T14:16:37Z hypercube joined #lisp 2021-04-29T14:17:38Z Sheilong joined #lisp 2021-04-29T14:18:33Z engblom: I mean, I have a project under ~/common-lisp/gpon (with gpon.asd in that directory and the source files under ~/common-lisp/gpon/src). Now when editing src/main.lisp I can not compile the whole file with C-c C-k because then it fails to compile, even thou (ql:quickload :gpon) works great and I can run the external functions after that. How do I correctly load a whole package in Emacs+slim, so I also can 2021-04-29T14:18:40Z engblom: access the internal functions? 2021-04-29T14:18:51Z phoe: hmmm 2021-04-29T14:18:56Z phoe: do you have IN-PACKAGE on top of your file? 2021-04-29T14:19:05Z jackdaniel: engblom: put (in-package #:asdf-user) in top of the asd file 2021-04-29T14:19:06Z phoe: what is the concrete error that is being signaled? 2021-04-29T14:19:08Z vms14 quit (Quit: Bye) 2021-04-29T14:19:18Z jackdaniel: it is dubbed as a bad thing by the previous asdf maintainer, but oh well 2021-04-29T14:19:37Z theBlackDragon quit (Read error: Connection reset by peer) 2021-04-29T14:19:53Z jackdaniel: ah, nevermind, I misunderstood the problem 2021-04-29T14:20:19Z vms14 joined #lisp 2021-04-29T14:20:40Z engblom: phoe: "The name "ALEXANDRIA" does not designate any package." 2021-04-29T14:20:56Z beach: http://metamodular.com/common-lisp-semantics.text for instance 2021-04-29T14:21:50Z beach: engblom: You may have to ASDF or Quickload the Alexandria system first. 2021-04-29T14:22:09Z phoe: engblom: do you have ALEXANDRIA in your ASD file's DEPENDS-ON? 2021-04-29T14:22:28Z beach: phoe: I went a bit overboard. That text could be split into two different parts with one referring to the other. 2021-04-29T14:22:38Z phoe: beach: I'm hacking something up right now 2021-04-29T14:23:06Z beach: phoe: Something you wrote, or something derived from mine? 2021-04-29T14:23:17Z phoe: beach: my own 2021-04-29T14:23:34Z beach: Oh, I could have avoided the effort. Oh well. 2021-04-29T14:23:40Z beach: I'll just go prepare dinner instead. 2021-04-29T14:23:48Z phoe: I'm trying to note down my own idea for it, and then I'll take a look at yours too 2021-04-29T14:23:50Z beach: What a day! *sigh*. 2021-04-29T14:24:01Z phoe: it'll be good to have another mind try and tackle this problem independently 2021-04-29T14:24:09Z Xach: Please, no more than two minds 2021-04-29T14:24:20Z phoe: okay, just me and beach then 2021-04-29T14:24:22Z slyrus joined #lisp 2021-04-29T14:24:52Z ljavorsk quit (Ping timeout: 240 seconds) 2021-04-29T14:25:28Z engblom: So what is the exact procedure that I should do to be able to send stuff over to Slime REPL from emacs? Is it first adding (in-package #:asdf-user), as jackdaniel suggested, then once (ql:quickload :gpon)? 2021-04-29T14:26:12Z phoe: I don't think so 2021-04-29T14:26:29Z phoe: when I want to hack on e.g. phoe-toolbox, I do (ql:quickload :phoe-toolbox) and then open up one of its source files 2021-04-29T14:26:45Z phoe: I write my stuff, then hit C-c C-k, and everything gets compiled just fine 2021-04-29T14:28:55Z slyrus quit (Ping timeout: 252 seconds) 2021-04-29T14:30:35Z engblom: I got it to compile, but can still not access the functions that are not exported. 2021-04-29T14:30:47Z phoe: not exported from where? 2021-04-29T14:30:51Z phoe: and access from which package? 2021-04-29T14:31:53Z engblom: phoe: The source file is having a defpackage where I export main: (:export :main) 2021-04-29T14:32:14Z phoe: so something like (defpackage :my-package ... (:export :main)), right? 2021-04-29T14:32:21Z engblom: Yes 2021-04-29T14:32:32Z phoe: so from CL-USER you should be able to 'my-package:main 2021-04-29T14:32:39Z phoe: and this should not signal an error but instead return the symbol 2021-04-29T14:32:53Z engblom: Yes, that I am able to do 2021-04-29T14:33:09Z engblom: But I can not test any other function I am currently working on. 2021-04-29T14:33:38Z phoe: that's the whole point of exporting things 2021-04-29T14:33:44Z phoe: you only export stuff that you want other people to use 2021-04-29T14:33:51Z phoe: there are two solutions to that 2021-04-29T14:33:57Z phoe: 1) (in-package :my-package) 2021-04-29T14:34:15Z phoe: this way your REPL will jump into that package, and you will be able to freely access internal symbols of that package 2021-04-29T14:34:42Z phoe: 2) use the doublecolon like my-package::foo when accessing internal symbols 2021-04-29T14:36:43Z engblom: phoe: Thanks! Now I think I will get an acceptable work flow. I get to test the stuff much faster, without having to export everything I write (except for what will need to be exported in the end product). 2021-04-29T14:36:58Z phoe: yes, that's the point of IN-PACKAGE 2021-04-29T14:37:17Z phoe: when you're working on code a given package, it's often beneficial to have the REPL in it exactly for this reason 2021-04-29T14:37:53Z phoe: when e.g. doing testing it's worth to jump out of that package, even if only to ensure that the tests are not using unexported functionality and that all symbols that should be exported actually are exported 2021-04-29T14:39:22Z engblom: Ok 2021-04-29T14:39:34Z engblom: Thank you, you have been to much help! 2021-04-29T14:45:56Z phoe: no problem 2021-04-29T14:46:09Z phoe: now let me quickly hack up this blogpost sketch before beach returns 2021-04-29T14:46:31Z beach: I am here, and I am observing you... :) 2021-04-29T14:46:35Z phoe: !!!!!!! 2021-04-29T14:46:45Z phoe puts on a fake moustache 2021-04-29T14:47:04Z beach: No need. I haven't seen you after the haircut. 2021-04-29T14:55:27Z engblom: I have been using cl-project for creating the project skeleton. Each time I create a simple project for experimenting I need to edit the asd file or I will not be able to compile with just asdf:make. Is there a better alternative for creating a project skeleton? 2021-04-29T14:57:03Z beach: I don't see the point, really. Projects are not created often, and they all have a different set of file, barring perhaps two such files. 2021-04-29T14:57:57Z vms14: engblom: having lisp in your hand, should be easy to make your project builder 2021-04-29T14:58:10Z vms14: and would fit your needs much better 2021-04-29T14:58:25Z engblom: I guess I am a bit spoiled by lein for clojure... 2021-04-29T14:58:33Z beach: You need a my-project.asd file and packages.lisp file. The only thing that you can create by default is the name of the project in the ASDF file, the name of the package in the packages.lisp file, and a singe line in the ASDF file containing (:file "packages"). 2021-04-29T14:58:34Z engblom: vms14: Yes, I might do that 2021-04-29T14:58:38Z vms14: you could try to reproduce that behavior 2021-04-29T14:58:44Z beach: It take literally a minute to do. 2021-04-29T14:59:20Z vms14: the nice thing of trying other stuff is that you learn new concepts and can apply them later 2021-04-29T14:59:35Z dickbarends quit 2021-04-29T14:59:46Z phoe: engblom: I use quickproject 2021-04-29T15:00:16Z phoe: (quickproject:make-project #p"~/Projects/Lisp/foo") and then I modify everything else by hand 2021-04-29T15:01:38Z engblom: Yes. I with Clojure I just do "lein new whatever-name" for creating a libary skeleton and "lein new app" for making something that will even have a main function and everything ready for compiling something I can run. Lein even takes care of uploading the library to clojars so other can depend on it (in a similar way as with quicklisp). 2021-04-29T15:03:15Z vms14: engblom: taking lein as a reference, you could create a nice project builder that would be useful for other lispers 2021-04-29T15:03:34Z phoe: IIRC then some roswell people have tried to make something like this 2021-04-29T15:03:41Z phoe: I don't know how well they've succeeded though 2021-04-29T15:04:17Z vms14: I suppose the main goal of a project builder is just to create boilerplate 2021-04-29T15:07:08Z aindilis joined #lisp 2021-04-29T15:07:12Z orivej quit (Ping timeout: 240 seconds) 2021-04-29T15:08:11Z daphnis quit (Ping timeout: 240 seconds) 2021-04-29T15:10:03Z engblom: phoe: Right now I am doing some coding for my workplace and I picked to write it in lisp because I want to learn lisp. Previously I have been coding Clojure, but my motivation for switching from Clojure to Lisp is that programs written in Clojure are very slow to start up on Raspberry Pi. Rosewell will not work at all on Raspberry Pi. 2021-04-29T15:13:25Z phoe: yes, I see 2021-04-29T15:13:43Z pyc: engblom: Are you your own boss at your workplace? or are you working for an employer? curious how you gained the consensus to write your projects in Common Lisp. 2021-04-29T15:17:47Z jmercouris: there is not a lot of boiler plate in Lisp, no need to have a project builder beyond the scope of quickproject 2021-04-29T15:17:53Z jmercouris: in my opinion, of course 2021-04-29T15:18:41Z phoe: beach: https://gist.github.com/phoe/c48b34275cf40bece9dbc5e555555214 2021-04-29T15:18:46Z engblom: pyc: No, I am not my own boss. This project is a smaller side project as I am not working as a developer. 2021-04-29T15:18:59Z phoe: this is a quickly hacked article, I will finish it later today - I need to run and do ELS stuff now 2021-04-29T15:19:18Z phoe: please review and leave your remarks here or on github (even if you're not beach) 2021-04-29T15:19:32Z vms14: jmercouris: I guess the real reason we don't need boilerplate is the lack of libraries 2021-04-29T15:19:41Z jmercouris: how did you come to that conclusion? 2021-04-29T15:19:45Z vms14: once you use a library you need to add some init code or alike 2021-04-29T15:19:52Z jmercouris: what? 2021-04-29T15:19:57Z jmercouris: That is not my experience at all 2021-04-29T15:20:04Z vms14: :O 2021-04-29T15:20:09Z beach: phoe: Common Lisp is definitely call-by-value. 2021-04-29T15:20:14Z skapata joined #lisp 2021-04-29T15:20:37Z vms14: for example opengl libraries 2021-04-29T15:20:38Z phoe: beach: yes, and I mention that in the chapter while explaining why I coin a different name for that term 2021-04-29T15:21:02Z beach: phoe: Call-by-value means that the arguments to a function are evaluated before passed to the function. Nothing else. You can't claim Common Lisp is doing something else. 2021-04-29T15:21:03Z phoe: (mostly because the term is already abused by C++ which implies copying, and we don't do visible copying in CL) 2021-04-29T15:21:30Z phoe: beach: https://en.wikipedia.org/wiki/Evaluation_strategy#Implicit_limitations 2021-04-29T15:22:18Z beach: I give up. Do what you want. 2021-04-29T15:22:57Z phoe: I mean, I don't know how to solve the problem where I call C++ call-by-value and Lisp call-by-value and then they do different things 2021-04-29T15:23:13Z beach: I think it is a huge mistake to cater to people who don't respect terminology that has been standard for 6 decades. 2021-04-29T15:23:31Z beach: The do exactly the same things. 2021-04-29T15:23:37Z phoe: I think it's a huge mistake to not cater to people who are in the huge majority and would simply like to understand how CL is different from C++ 2021-04-29T15:23:43Z beach: They both evaluate the argument before passing it to the function. 2021-04-29T15:23:58Z phoe: yes, and then mutating that argument gives different results 2021-04-29T15:24:14Z phoe: that's not exactly the same thing 2021-04-29T15:24:14Z beach: So we bend over and discard 6 decades of terminology for these people? 2021-04-29T15:24:16Z beach: Fine. 2021-04-29T15:24:48Z Odin-: Well, at the time they discarded it, it had only been standard for a decade or so. 2021-04-29T15:24:50Z beach: call-by-value has absolutely no other meaning than the fact that arguments are evaluated before the function is called 2021-04-29T15:25:01Z phoe: yes, we do, a huge chunk of the programming world has already partially done that to the point where even Wikipedia mentions that the term is ambiguous 2021-04-29T15:25:05Z phoe: that's my opinion 2021-04-29T15:25:15Z vms14: I'll never understand why people fights just because terminology 2021-04-29T15:25:20Z beach: Fine. I'll go fix dinner instead. 2021-04-29T15:25:26Z phoe sigh 2021-04-29T15:25:30Z phoe: bon appetit 2021-04-29T15:25:50Z beach: vms14: Because otherwise there are interminable debates about the implications. 2021-04-29T15:25:53Z phoe: vms14: mostly because inter-human communication is a hard problem that is never solved and is never going to be fully solved 2021-04-29T15:26:03Z vms14: it's just the "I have the reason in this term" fight 2021-04-29T15:26:04Z phoe: ;; unless we go extinct 2021-04-29T15:26:23Z theBlackDragon joined #lisp 2021-04-29T15:26:48Z Odin-: phoe: He does have a point in that it's worth noting that the C(++) understanding is not by any means complete. 2021-04-29T15:26:50Z nij joined #lisp 2021-04-29T15:26:56Z daphnis joined #lisp 2021-04-29T15:27:17Z phoe: vms14: we have terms like foo that we first need to define and second need to redefine when there's other people who have their own definitions of foo 2021-04-29T15:27:30Z beach: I guess we can also say that Common Lisp is interpreted, because that's what the interaction means, right? 2021-04-29T15:27:31Z phoe: Odin-: I think I mention that in the first C++ part 2021-04-29T15:28:44Z phoe: but, hmmm 2021-04-29T15:28:58Z phoe: I wonder if I can find a name that works better 2021-04-29T15:30:13Z phoe: OK, updated https://gist.github.com/phoe/c48b34275cf40bece9dbc5e555555214 - should be a bit better now 2021-04-29T15:31:44Z Odin-: phoe: I suspect that part of the problem is that people now think of C as a low level language. 2021-04-29T15:32:16Z phoe: Odin-: huh? what does it have to do with parameter evaluation? 2021-04-29T15:33:14Z pjb: Actually lisp is also a low level language. If you remove all the macros, and use only special operators and functions… And macros, are just add-on in the standard library (CL package), or from other libraries… 2021-04-29T15:34:36Z pjb: try to use tagbody and things like (rplaca k a) vs (setf (car k) a) (ie no setf -> setq), and soon it'll feel like programming in assembler. 2021-04-29T15:34:52Z Odin-: phoe: If you think the C compiler and runtime libraries aren't doing fancy stuff for you, it becomes easy to assume that the way that system works is how things are by default and everything that works differently is doing extra work. 2021-04-29T15:35:20Z pjb: https://news.ycombinator.com/item?id=16471708 2021-04-29T15:35:23Z Odin-: pjb: You did notice that I implied that the idea that C is low-level is _wrong_, no? 2021-04-29T15:36:02Z pjb: Odin-: Yes. I give you arguments. 2021-04-29T15:36:26Z vms14: there will always be different opinions 2021-04-29T15:36:36Z vms14: there is people who likes java, for example 2021-04-29T15:36:42Z pjb: Odin-: now you can make a comparison of the low-levelness of C and Common Lisp, (and perhaps other languages), and come to the conclusion that it's a matter of libraries and of point-of-view, and that it doesn't mean much. 2021-04-29T15:36:52Z vms14: I cannot understand why, but they cannot understand why I like lisp 2021-04-29T15:37:18Z vms14: could try to explain why, and they could try to explain too, but no one will understand anyway 2021-04-29T15:37:21Z pjb: As for the bits, DPB and LDP are way lower level than << >> | ^ ~. 2021-04-29T15:38:13Z pjb: or more precisely, they are better operators to work on bits than what C proposes. 2021-04-29T15:38:43Z vms14: and everything is subjective 2021-04-29T15:38:58Z vms14: for example java is better is you want to find a job quickly 2021-04-29T15:39:10Z vms14: even if you will suffer every day 2021-04-29T15:39:47Z nij: vms14 yes you're right and the only thing we can do is to make lisp stronger 2021-04-29T15:40:05Z nij: or go make some money and fund lisp when you are successful 2021-04-29T15:40:24Z vms14: nij: I'd love if lisp had the same power in market as java does 2021-04-29T15:40:30Z Odin-: pjb: So you'd prefer that I say "well, Lisp is low-level too" above "C isn't low-level"? 2021-04-29T15:40:32Z vms14: and cannot even understand why not 2021-04-29T15:40:34Z pjb: http://franz.com/success 2021-04-29T15:41:20Z vms14: just imagine lisp courses, and enterprises hiring junior lisp devs 2021-04-29T15:41:22Z phoe: Odin-: they are doing fancy stuff under the hood, yes - but not in case of passing parameters 2021-04-29T15:41:47Z pjb: Odin-: well, forget about low-level. We can agree that C can be used more easily to write code for micro-controllers than lisp. There's even a C substandard for that: n1169 2021-04-29T15:42:26Z pjb: Odin-: coding for microcontroller in CL would involve, for the most practical way, writing a code generator and a compiler of a subset of lisp, like GOAL. 2021-04-29T15:42:34Z Odin-: pjb: You have to cut less out of C than Common Lisp, certainly. 2021-04-29T15:42:57Z jmercouris: how to get the ASDF version of library in a compiled image? possible? 2021-04-29T15:43:03Z jmercouris: or do we need the original ASD? 2021-04-29T15:43:15Z loli joined #lisp 2021-04-29T15:43:18Z Odin-: But that's at least in part because Common Lisp is very comprehensive. 2021-04-29T15:43:34Z jmercouris: that is, how to get the :version from a defsystem 2021-04-29T15:43:34Z pjb: Odin-: but granted it's not strictly sensu a property of the language, more of the tools and the ecosystems. But they come with the language too, in part. 2021-04-29T15:43:39Z nij: vms14: someone may not like the answer but i think this is very true: http://www.winestockwebdesign.com/Essays/Lisp_Curse.html 2021-04-29T15:44:18Z pjb: jmercouris: perhaps: asdf/system:system-version 2021-04-29T15:44:26Z nij: Imagine you have 20 people in your group, and you are the manager. Now imagine there are 40 groups like this in a team. 2021-04-29T15:44:33Z jmercouris: right, but will that work without being able to find-system? 2021-04-29T15:44:39Z jmercouris: (asdf:system-version (asdf:find-system :cl-cffi-gtk)) 2021-04-29T15:44:45Z jmercouris: I might as well just try it 2021-04-29T15:44:47Z nij: Too much freedom is good potentially, but it also allows people to do bad things. 2021-04-29T15:44:59Z pjb: (asdf/system:system-version (asdf:find-system :alexandria)) #| --> "1.0.1" |# 2021-04-29T15:45:01Z pjb: works for me. 2021-04-29T15:45:14Z jmercouris: I was asking about in a compiled SBCL image 2021-04-29T15:45:17Z pjb: jmercouris: (apropos "VERSION" "ASDF") is what I used. 2021-04-29T15:45:17Z jmercouris: but yes, works there too 2021-04-29T15:45:21Z nij: So while lisp is better in theory, it might not be better in the eye of a project manager. 2021-04-29T15:45:22Z jmercouris: oh I see 2021-04-29T15:45:22Z Krystof quit (Ping timeout: 252 seconds) 2021-04-29T15:45:29Z jackdaniel: nij: people often try to blame the tool when they are unable to build the thing 2021-04-29T15:45:38Z nij: jackdaniel: i understand 2021-04-29T15:45:56Z jackdaniel: historical data seems to indicate, that lisp may be very succesful in a corporate setting 2021-04-29T15:45:59Z jackdaniel: so there you have it 2021-04-29T15:45:59Z Odin-: phoe: So what's the copying? 2021-04-29T15:46:08Z pjb: nij: a project manager can easily manage the freedom of CL programmers, by defining packages to be used and forbidding other packages; and he could write the tools to check his rules trivially. 2021-04-29T15:46:10Z nij: jackdaniel: you got the point too 2021-04-29T15:46:35Z pjb: This seems to be also a strong ethos of Haskell, controlling the programmers… 2021-04-29T15:46:43Z pjb: pfft! 2021-04-29T15:46:53Z nij: pjb: but they might find it hard to hire good enough programmers to write in lisps 2021-04-29T15:47:00Z phoe: Odin-: in case of C, that's allocating a proper sizeof of stack memory and memcpying 2021-04-29T15:47:00Z varjag joined #lisp 2021-04-29T15:47:10Z phoe: sans any optimizations that might happen, of course 2021-04-29T15:47:16Z pjb: nij: IME, all the educated programmers have learned scheme at the university… 2021-04-29T15:47:21Z jackdaniel: nij: chicken and egg problem - nothing to do with the language. yet, there are capable cl programmers on the market 2021-04-29T15:47:24Z pjb: nij: ie. they know lisp as much as anything else. 2021-04-29T15:47:32Z jackdaniel gets back to work 2021-04-29T15:48:12Z loli: nij types might offset that effect even more. From what I understand the LISP machine had types everywhere 2021-04-29T15:48:14Z Odin-: phoe: Which is the compiler arranging for something to be done in order to keep the semantics. 2021-04-29T15:48:20Z loli: that seems to enforce more consistent interfaces among programs 2021-04-29T15:48:30Z phoe: Odin-: yes, it's work that needs to be done by the compiler 2021-04-29T15:49:13Z nij: I agree. I agree. I still believe there's some truth in Lisp Curse. But most likely, it might just because Lisp is not lucky enough. 2021-04-29T15:49:26Z Odin-: phoe: Which is my point - a lot of people seem to be under the impression that C's semantics come about without that. 2021-04-29T15:49:46Z phoe: Odin-: oh! I think I understand you better now 2021-04-29T15:50:03Z loli: Might be the kind of people that are attracted to lisp. http://metamodular.com/Essays/psychology.html might help explain why? 2021-04-29T15:50:05Z phoe: but before I forget - is the stuff at https://gist.github.com/phoe/c48b34275cf40bece9dbc5e555555214 better now with regard to terminology? 2021-04-29T15:50:06Z Nilby: I was an impossible to control programmer before I used Lisp. Lisp just removes artificial barriers. 2021-04-29T15:50:38Z loli: I think the image system of CL in particular can offer a lot of great documentation and asssitant tools that should make corporate programming a lot easier 2021-04-29T15:51:06Z nij: Nilby: ! Could you share your story? 2021-04-29T15:54:10Z pjb: phoe: I would start with a paragraph or two about the fundamental difference: lisp is object/value based, while C/C++ are varable/type based. 2021-04-29T15:54:12Z nij: Btw, I'm reading LOL, and it says alambda isn't hygienic. I wonder if there's a hygienic version of it? 2021-04-29T15:54:53Z hjudt quit (Ping timeout: 240 seconds) 2021-04-29T15:55:06Z Odin-: phoe: I don't have an issue with it. I'd probably substitute 'The proper but unsatisfying answer' with something like 'In those terms, the somewhat unsatisfying answer'. 2021-04-29T15:55:34Z phoe: pjb: will do 2021-04-29T15:55:37Z phoe: Odin-: OK, will fix 2021-04-29T15:55:44Z Nilby: nij: My story to far too lengthy, melodramatic, and not yet over. Perhaps I'll write my memoir when I can no longer write code, but more likely I'll die at a Lisp REPL. 2021-04-29T15:55:55Z pjb: phoe: 42 in lisp is an object; you can have references to it; variables don't store this object, but keep a reference to it. On the other hand, in C/C++, 42 only represent various bit patterns that can be stored in variables of different types, and that are interpreted, assuming those types to correspond to integer 42 or the floating point 42.0. 2021-04-29T15:56:00Z Odin-: phoe: Basically, allowing that we _are_ discussing it on C++'s terms while not conceding that those are necessarily correct. 2021-04-29T15:56:10Z phoe: Odin-: yes, I understand now 2021-04-29T15:57:16Z pjb: phoe: declaring types in lisp doesn't declare the type of variables or slots, but the types of the objects that are bound to those variables or slots, and without a type declaration variables can hold objects of any lisp type; those lisp types are attached to the object, not the variables or slot that can refer them. 2021-04-29T15:57:57Z pjb: This is what gives the security in lisp: you cannot misinterpret bit patterns, or subvert them. 2021-04-29T15:58:51Z pjb: In the worst situation, in lisp, if you removed all the program and therefore all the variables, you'd be left with a heap, that you could scan to retrieve all the live objects and their data! 2021-04-29T15:59:38Z zzappie quit (Remote host closed the connection) 2021-04-29T15:59:39Z Odin-: In theory, numbers aren't that different from keywords. 2021-04-29T15:59:55Z Odin-: The underlying hardware just usually has more specific support for particular operations on them. 2021-04-29T15:59:56Z pjb: The most you could do with a C heap, is to know the memory blocks allocated, but without the program and the typed variables, you couldn't know what type of object they represent (only guesses). 2021-04-29T16:00:11Z vegansbane6963 quit (Ping timeout: 240 seconds) 2021-04-29T16:04:32Z vms14: cannot really understand why you are comparing cl with c 2021-04-29T16:04:43Z vms14: I suppose you guys are bored xD 2021-04-29T16:05:30Z vms14: and if you want to compare them, the answer is easy: Lisp is better 2021-04-29T16:05:42Z vms14: but then you need ffi 2021-04-29T16:05:50Z Odin-: Because C has become the standard with which most programmers are familiar. 2021-04-29T16:05:51Z Nilby: I think C is the language that gives lispers the most trouble, because it dictates how we have to interface with things outside Lisp. 2021-04-29T16:06:20Z nij left #lisp 2021-04-29T16:06:26Z hypercube quit (Quit: WeeChat 3.1) 2021-04-29T16:06:29Z wowzersbrain joined #lisp 2021-04-29T16:06:45Z bilegeek joined #lisp 2021-04-29T16:08:08Z Nilby: If C system calls would just use take Lisp objects... 2021-04-29T16:08:16Z vegansbane6963 joined #lisp 2021-04-29T16:09:02Z Odin-: Nilby: Curiously, at the level being discussed here, it's not even that. 2021-04-29T16:09:28Z thomasb06 quit (Remote host closed the connection) 2021-04-29T16:10:06Z Odin-: Specifically, C is _specifically_ designed so that it doesn't have to deal with these issues at runtime. At all. 2021-04-29T16:10:15Z koolkat332 quit (Ping timeout: 268 seconds) 2021-04-29T16:11:25Z Odin-: (Which is one of the reasons it's much easier to shoot yourself in the foot using C than many other languages.) 2021-04-29T16:11:26Z Inline quit (Quit: Leaving) 2021-04-29T16:12:58Z Nilby: Except for things like the symbol garbage collection/tracing in dynamic linkers, runtime type information in C++,, etc. 2021-04-29T16:13:02Z Inline joined #lisp 2021-04-29T16:13:10Z Nilby: But yes. 2021-04-29T16:13:34Z Odin-: C++ isn't C, and dynamic linkers are a whole another can of worms. :) 2021-04-29T16:15:16Z hypercube joined #lisp 2021-04-29T16:15:32Z imode joined #lisp 2021-04-29T16:16:03Z aeth: You can actually do C-like abuse of the type system. You just have to pretend that you're talking to C when you're not, and use CFFI. https://gitlab.com/-/snippets/1830092 2021-04-29T16:16:24Z aeth: Not to mention that declarations are UB and SBCL with (safety 0) probably also permits such things instead of checking (but the solution is to never (safety 0)). 2021-04-29T16:16:26Z hjudt joined #lisp 2021-04-29T16:19:01Z Nilby: Nice. I've see such code in implementations that can assume to know the float format too. 2021-04-29T16:19:23Z DGASAU: Nilby: while I could agree that C presents not the best IDL conventions, other languages provide worse IDL conventions. 2021-04-29T16:19:45Z Lycurgus joined #lisp 2021-04-29T16:20:49Z jeosol joined #lisp 2021-04-29T16:20:49Z Nilby: DGASAU: I agree. Name mangling comes to mind. And maybe JNI? 2021-04-29T16:21:11Z DGASAU: JNI is long dead already. 2021-04-29T16:21:59Z DGASAU: In my experience, interfacing between any two different paradigms is possible only through something very reminiscent of C. 2021-04-29T16:23:26Z DGASAU: I had experience: CL <-> Python, Scheme <-> C, SML <-> C++ and C, Prolog <-> Java. 2021-04-29T16:23:42Z Odin-: There are plenty of things to complain about with C; the calling conventions are for the most part not near the top of that list. 2021-04-29T16:24:06Z Nilby: Oooh, Prolog to Java is a fun rare one. :) 2021-04-29T16:24:55Z DGASAU: The best alternative approach I have seen in papers is "S-net". 2021-04-29T16:25:36Z gitgood joined #lisp 2021-04-29T16:26:10Z gourdhen joined #lisp 2021-04-29T16:26:22Z DGASAU: All the rest usually boils down to "lets' launch XML-RPC/JSON-RPC/some-other-RPC servers and clients, perhaps bidirectional and asynchronous." 2021-04-29T16:26:24Z mindCrime_ joined #lisp 2021-04-29T16:27:22Z DGASAU: Or... Linda. 2021-04-29T16:27:28Z Nilby: Yes, that's seems like the modern way. Ubiquitous heavy and slow. 2021-04-29T16:27:33Z DGASAU: Which again is kinda reminiscent of C. 2021-04-29T16:28:24Z Nilby: But certainly easier to cross adapt. 2021-04-29T16:29:07Z DGASAU: If you wish to experience what it feels, I suggest that you write something trivial on top of libpq. 2021-04-29T16:29:44Z DGASAU: You _can_ write C procedures that receive and produce Lisp objects. 2021-04-29T16:30:03Z DGASAU: But it is no fun at all. 2021-04-29T16:30:40Z DGASAU: (Right, if you wish, you can add C <-> SQL to the list above.) 2021-04-29T16:31:00Z shka_: hi all 2021-04-29T16:31:26Z shka_: i am seeing something unexpected with the combination of the dexador and alexandria:copy-stream 2021-04-29T16:31:33Z Nilby: Right. The problem actually exists on the O/S level. e.g /proc and BSD sysctl. 2021-04-29T16:31:47Z shka_: i am downloading some files from the https://hltv.org 2021-04-29T16:32:05Z shka_: with dexador, and i want stream in response 2021-04-29T16:32:48Z shka_: and then i simply use alexandria:with-output-to-file and alexandria:copy-stream to save the download into a file 2021-04-29T16:32:55Z shka_: and it works ALMOST fine 2021-04-29T16:33:19Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-29T16:33:33Z DGASAU: Nilby: so far, the best approach in my opinion is proper IDL a la S-net, i.e. with non-recursive structures. 2021-04-29T16:33:52Z ceblan quit (Remote host closed the connection) 2021-04-29T16:33:59Z shka_: but sometimes, and this seems to happen just with the hltv, copy-stream for some reason blocks on what seems to be finish-output 2021-04-29T16:34:38Z Nilby: DGASAU: S-net sounds familiar, but I can't remember. Do you have a link for it? 2021-04-29T16:34:50Z DGASAU: Nilby: no, unfortunately not. 2021-04-29T16:34:54Z shka_: is that at all explainable? 2021-04-29T16:35:18Z DGASAU: Nilby: try searching smth like "s-net coordination language". 2021-04-29T16:36:01Z DGASAU: Nilby: if you don't find it, tell me, and I'll probably find reference in some time. 2021-04-29T16:37:18Z DGASAU: Nilby: actually, it comes up on top in search output. Only it seems more elaborate than what I remember from the past. 2021-04-29T16:39:47Z nij joined #lisp 2021-04-29T16:39:57Z Nilby: DGASAU: Thanks. I think I found it. Seems an interesting read. 2021-04-29T16:41:36Z vegansbane6963 joined #lisp 2021-04-29T16:42:44Z nij: Does anyone happen to know if ambrevar will release the code of his "lisp repl shell"? https://ambrevar.xyz/lisp-repl-shell/index.html 2021-04-29T16:43:01Z nij: It seems that lots of magics are going on.. I wish I can play with it directly. 2021-04-29T16:44:57Z shka_: i will try replace dexador with drakma 2021-04-29T16:45:07Z shka_: maybe there is some weird edge case here 2021-04-29T16:45:21Z shka_: because i have no idea why this happens with just this one server 2021-04-29T16:45:34Z Nilby: nij: Some the magic is at https://gitlab.com/ambrevar , but much of it is emacs/sly customization. 2021-04-29T16:46:16Z Nilby: shka_: I don't really know, but some servers keep the socket open, after trasmitting. 2021-04-29T16:46:20Z nij: Nilby: yeah.. I'm wondering if he will release his customization 2021-04-29T16:48:04Z Nilby: nij: There's quite a lot of it in dotfiles and fof, but it's difficult to use other people dotfiles like that. 2021-04-29T16:48:27Z shka_: Nilby: hmmm, this sound unusual 2021-04-29T16:48:50Z shka_: let's see if this will be the same with drakma 2021-04-29T16:49:18Z shka_: honestly, i use dexador only because i like API better 2021-04-29T16:49:22Z loli: a custom lisp shell over unix would be great 2021-04-29T16:49:31Z shka_: and honestly, this is kinda stupid reason to use it 2021-04-29T16:50:09Z nij: loli: did you read that post :) 2021-04-29T16:50:25Z nij: the link that i gave above ^ 2021-04-29T16:50:26Z shka_: loli: yeah, that's what lisp-repl-shell is actually 2021-04-29T16:50:37Z loli: I was skimming through it looking for examples 2021-04-29T16:50:43Z shka_: i tried to use it 2021-04-29T16:50:46Z loli: the old lisp machines used to auto insert the first () bracket 2021-04-29T16:51:05Z shka_: it is actually a good effort, but way to easy to land into the debugger 2021-04-29T16:51:25Z shka_: personally, i think that emacs eshell is not even all that stupid 2021-04-29T16:51:37Z shka_: not exactly lisp repl like one would want 2021-04-29T16:51:44Z shka_: but pretty darn useful 2021-04-29T16:52:26Z nij: shka_ I've never been able to tap into the cleverness of eshell.. 2021-04-29T16:52:37Z nij: would you share why you find it useful? 2021-04-29T16:53:17Z Nilby has been using a lisp shell for >10 years. 2021-04-29T16:54:27Z nij: completely? you never found a need to go back to a ordinary shell? Nilby 2021-04-29T16:54:27Z andreyorst[m] joined #lisp 2021-04-29T16:54:46Z zzappie joined #lisp 2021-04-29T16:54:51Z Nilby: No 2021-04-29T16:55:28Z loli: can you call out to shell utilities easily? That seems to be the main issue 2021-04-29T16:55:29Z Nilby: I can never go back now 2021-04-29T16:55:33Z nij: How do you `git commit` for example? 2021-04-29T16:55:38Z Nilby: yerp 2021-04-29T16:56:14Z Nilby: you "git commit" by "git commit" 2021-04-29T16:56:26Z Nilby: or (git commit) 2021-04-29T16:56:28Z nij: You just type "git commit" in the repl? 2021-04-29T16:56:29Z Nilby: or whatever 2021-04-29T16:56:30Z loli: I've found with inferior-shell I really like making quick scripts in CL, though the loading of CL as a standalone script is always somehwat painful if you don't ros it up 2021-04-29T16:56:42Z loli: yeah that's nice, I'm guessing you have undefined functions just search the bash path? 2021-04-29T16:56:52Z Nilby: i don't because I use a git tui 2021-04-29T16:56:54Z loli: and can mix and match freely like inferior, shell without any back quoting? 2021-04-29T16:57:06Z Nilby: so I just type 'c' 2021-04-29T16:57:16Z Nilby: or #\c rather 2021-04-29T16:57:47Z nij: I'm eager to know how I get started with lisp shell...... 2021-04-29T16:57:58Z pankajsg quit (Ping timeout: 252 seconds) 2021-04-29T16:58:11Z hjudt quit (Ping timeout: 240 seconds) 2021-04-29T16:58:48Z hjudt joined #lisp 2021-04-29T16:59:17Z shka_: nij: well, neither did I but the ability to pipe into emacs buffers? legit feature 2021-04-29T16:59:53Z saganman quit (Quit: Leaving) 2021-04-29T17:00:10Z Nilby: but you can pipe into emacs buffers from any shell 2021-04-29T17:00:22Z nij: Yeah.. 2021-04-29T17:01:42Z shka_: huh? 2021-04-29T17:01:44Z shka_: you can? 2021-04-29T17:01:46Z shka_: how? 2021-04-29T17:02:12Z nij: You just open a shell in an emacs buffer! 2021-04-29T17:02:20Z nij: By using vterm or term. 2021-04-29T17:03:15Z shka_: eh, ok 2021-04-29T17:04:15Z shka_: eshell is tramp aware, that's something as well, right? 2021-04-29T17:04:22Z loli: the last feature you'd need to have a nicely working lisp shell on unix, is the ability to smoothly run stuff like ncurses windows, which it seems emacs currently can't easily 2021-04-29T17:04:27Z loli: at least I've had issues in the past 2021-04-29T17:04:55Z nij: shka_ i'm not familiar with tramp 2021-04-29T17:05:21Z Krystof joined #lisp 2021-04-29T17:05:35Z nij: loli: yeah i always shy off when it comes to that, or things like ranger 2021-04-29T17:05:58Z Nilby: You have to run it outside emacs to do ncurses, or use the thing that links a real terminal library into emacs. 2021-04-29T17:07:28Z Nilby: I use it just in a terminal 2021-04-29T17:08:12Z hjudt quit (Ping timeout: 240 seconds) 2021-04-29T17:08:50Z loli: I tend not to use a base terminal too much outside of n-curses programs, and ranger 2021-04-29T17:09:07Z hypercube quit (Ping timeout: 248 seconds) 2021-04-29T17:09:13Z loli: I've found for scripting that sometimes I have very short bash scripts, due to how annoying SBCL treats libraries when in shell mode 2021-04-29T17:09:44Z shka_: ok, btw, it seems that drakma does not suffer from the same issue 2021-04-29T17:10:11Z nij: loli: what's the problem for sbcl in shell mode? 2021-04-29T17:10:27Z loli: no packages get loaded, so if you use inferior-shell like I do for scripting 2021-04-29T17:10:35Z loli: you have to find a kludge around it, or make a ros program 2021-04-29T17:10:39Z Nilby: shka_: Good to know. but is it a bug or a feature to keep the socket open? 2021-04-29T17:11:07Z orivej joined #lisp 2021-04-29T17:11:25Z mindCrime_ quit (Ping timeout: 260 seconds) 2021-04-29T17:11:37Z loli: so I have to do weird loading, that is often more annoying to figure out than otherwise 2021-04-29T17:11:50Z shka_: Nilby: i don't know, i suspect that this is somehow related to the dexador using connection pool but i am to tired to debug this right now 2021-04-29T17:11:51Z nij: You call `$ sbcl` in shell? 2021-04-29T17:11:58Z nij: Why not to use slime/sly? 2021-04-29T17:12:12Z loli: exec ros -Q -- $0 "$@", or using sbcl --script or something 2021-04-29T17:12:14Z Nilby: sbcl is the shell, then you can run everything 2021-04-29T17:12:42Z koolkat332 joined #lisp 2021-04-29T17:13:01Z Lycurgus quit (Quit: Exeunt) 2021-04-29T17:16:40Z wowzersbrain quit (Ping timeout: 252 seconds) 2021-04-29T17:18:16Z mindCrime_ joined #lisp 2021-04-29T17:22:04Z andreyor1 joined #lisp 2021-04-29T17:22:05Z andreyorst[m] quit (Read error: Connection reset by peer) 2021-04-29T17:24:30Z Lycurgus joined #lisp 2021-04-29T17:25:26Z Lycurgus quit (Client Quit) 2021-04-29T17:29:06Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-29T17:29:36Z hjudt joined #lisp 2021-04-29T17:31:29Z hypercube joined #lisp 2021-04-29T17:36:37Z DHARMAKAYA joined #lisp 2021-04-29T17:49:52Z ceblan joined #lisp 2021-04-29T17:49:58Z Josh_2 joined #lisp 2021-04-29T17:50:58Z jcowan: Call by identity is good because it matches with the guarantee of putting something into a slot or variable: what comes out is eql to what went in. 2021-04-29T17:51:58Z jcowan: extending "slots" to include the car and cdr of a pair, the elements of an array, etc. 2021-04-29T17:52:27Z nij quit (Quit: ERC (IRC client for Emacs 27.2)) 2021-04-29T17:52:32Z bilegeek quit (Quit: Leaving) 2021-04-29T17:53:43Z Josh_2: anyone had an issue with emacs where it occasionally pops up saying ' is not a valid command' meaning I have to hit the key twice? Very annoying 2021-04-29T17:53:49Z Josh_2: It only happens when I'm using Sly 2021-04-29T17:54:09Z Josh_2: Says that in the minibuffer 2021-04-29T17:55:18Z sy_ joined #lisp 2021-04-29T18:00:43Z jcowan: pbaille: ##lisp is suitable for discussing all Lisps: CL, Scheme, Picolisp, you name it. It's also about the only channel where comparisons between different Lisps fits in. 2021-04-29T18:03:07Z aeth_ joined #lisp 2021-04-29T18:03:13Z aeth quit (Disconnected by services) 2021-04-29T18:03:21Z aeth_ is now known as aeth 2021-04-29T18:11:21Z Noisytoot is now known as \\ 2021-04-29T18:11:46Z \\ is now known as \r\n 2021-04-29T18:11:57Z \r\n is now known as Noisytoot 2021-04-29T18:18:29Z hypercube quit (Quit: WeeChat 3.1) 2021-04-29T18:18:34Z nij joined #lisp 2021-04-29T18:23:04Z gigamonkey joined #lisp 2021-04-29T18:23:05Z gigamonkey: h 2021-04-29T18:23:32Z gigamonkey: erp. wrong buffer. 2021-04-29T18:28:49Z flazh quit (Ping timeout: 276 seconds) 2021-04-29T18:34:56Z jeosol quit (Quit: Connection closed) 2021-04-29T18:35:51Z charles` joined #lisp 2021-04-29T18:40:57Z bilegeek joined #lisp 2021-04-29T18:43:57Z vms14 quit (Remote host closed the connection) 2021-04-29T18:44:58Z hypercube joined #lisp 2021-04-29T18:45:43Z ukari quit (Remote host closed the connection) 2021-04-29T18:46:00Z contrapunctus joined #lisp 2021-04-29T18:46:35Z ukari joined #lisp 2021-04-29T18:53:04Z kpoeck joined #lisp 2021-04-29T18:54:56Z hypercube quit (Quit: WeeChat 3.1) 2021-04-29T18:57:27Z theothornhill joined #lisp 2021-04-29T19:02:36Z nature joined #lisp 2021-04-29T19:07:57Z gaqwas joined #lisp 2021-04-29T19:07:57Z gaqwas quit (Changing host) 2021-04-29T19:07:57Z gaqwas joined #lisp 2021-04-29T19:13:24Z long4mud joined #lisp 2021-04-29T19:17:52Z rogersm quit (Quit: Leaving...) 2021-04-29T19:17:58Z hypercube joined #lisp 2021-04-29T19:19:18Z beach` joined #lisp 2021-04-29T19:19:30Z theseb joined #lisp 2021-04-29T19:19:43Z beach quit (Read error: Connection reset by peer) 2021-04-29T19:21:02Z anticrisis joined #lisp 2021-04-29T19:21:52Z theseb: Compilers in general strip the original high level source to an intermediate representation before barfing out assembly. Well since Lisp is a stripped down syntax that might be used for this intermediate representation, isn't it (sort of) true that compilers basically roughly just convert high level source to a lisp like lang and then implement that lisp source in assembly? 2021-04-29T19:22:32Z theseb: By lisp i mean a TINY subset of common lisp 2021-04-29T19:22:49Z mindCrime_ joined #lisp 2021-04-29T19:23:12Z gigamonkey: Insofar as s-exps are a good way to represent ASTs and most compilers generate ASTs and then go from there, yes. 2021-04-29T19:23:36Z gigamonkey: For some very small value of "Lisp like". 2021-04-29T19:24:08Z theseb: thanks! 2021-04-29T19:24:20Z theseb: gigamonkey: lisp is helping me understand and implement a basic compiler 2021-04-29T19:24:27Z theseb: another feel good lisp story added to the world 2021-04-29T19:25:07Z andreyor1 quit (Remote host closed the connection) 2021-04-29T19:25:14Z gigamonkey: awesome! 2021-04-29T19:26:07Z theseb: gigamonkey: to run lisp you need an evaluator...so i presume when people say they "compiled a program"...the executable literally has to implement an evaluation engine in assembly EVERY time? 2021-04-29T19:26:46Z irc_user joined #lisp 2021-04-29T19:27:47Z whosit joined #lisp 2021-04-29T19:27:58Z charles` quit (Ping timeout: 276 seconds) 2021-04-29T19:28:07Z gigamonkey: Not quite. 2021-04-29T19:28:19Z gigamonkey: I mean, yes, EVAL is in there somewhere so you do need an evaluator. 2021-04-29T19:29:11Z gigamonkey: But if you take EVAL out of the language it doesn't actually change much and then you can compile a Lisp program down to assembly with no more ability to evaluate arbitrary Lisp. 2021-04-29T19:33:15Z Inline quit (Ping timeout: 260 seconds) 2021-04-29T19:33:29Z jeosol joined #lisp 2021-04-29T19:34:38Z cage_ quit (Quit: Leaving) 2021-04-29T19:35:22Z bilegeek quit (Quit: Leaving) 2021-04-29T19:37:04Z jonatack quit (Ping timeout: 252 seconds) 2021-04-29T19:37:05Z andrei-n quit (Quit: Leaving) 2021-04-29T19:38:59Z jonatack joined #lisp 2021-04-29T19:40:51Z phoe: OK, I think I got it decently 2021-04-29T19:40:58Z phoe: https://gist.github.com/phoe/c48b34275cf40bece9dbc5e555555214 2021-04-29T19:41:02Z Eoco joined #lisp 2021-04-29T19:41:16Z phoe: beach`: I think I fixed everything that I needed, please take another look 2021-04-29T19:45:15Z Lycurgus joined #lisp 2021-04-29T19:50:08Z Odin-: theseb: Well, you can think of the underlying processor's instruction set as the evaluation engine. 2021-04-29T19:50:44Z theothornhill quit (Remote host closed the connection) 2021-04-29T19:50:45Z theseb: Odin-: true 2021-04-29T19:52:04Z Odin-: phoe: First paragraph has a timestamp and other remnants from IRC. :p 2021-04-29T19:52:14Z phoe: Odin-: yes, that's the WIP that I still need to fix 2021-04-29T19:52:16Z Odin-: ... wait, second. I can't count. 2021-04-29T19:52:31Z Odin-: Just making sure you were aware of it. 2021-04-29T19:52:48Z phoe: and I actually wonder if I want to talk about this in the introduction 2021-04-29T19:53:13Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-29T19:53:13Z phoe: the static/dynamic typing debate and such 2021-04-29T19:53:31Z phoe: it's sorta tangential to the meat of the issue - how to pass parameters, what's copied, how to assign stuff 2021-04-29T19:53:47Z Odin-: Probably fits better as part of the specifics. 2021-04-29T19:53:51Z Lycurgus: don't forget the "dynamic programming" equivocation 2021-04-29T19:53:57Z phoe: Odin-: or as a coda 2021-04-29T19:54:00Z phoe: Lycurgus: oh no 2021-04-29T19:54:13Z Odin-: phoe: Or that. 2021-04-29T19:54:31Z susam quit (Ping timeout: 245 seconds) 2021-04-29T19:56:56Z susam joined #lisp 2021-04-29T19:59:04Z phoe: edited again 2021-04-29T19:59:12Z phoe: moved the paragraph in question to the end 2021-04-29T19:59:31Z phoe: please boop me if I forgot to thank someone 2021-04-29T20:03:20Z Duuqnd quit (Remote host closed the connection) 2021-04-29T20:03:44Z Duuqnd joined #lisp 2021-04-29T20:04:12Z narimiran quit (Ping timeout: 252 seconds) 2021-04-29T20:04:55Z theseb quit (Quit: Leaving) 2021-04-29T20:04:58Z Lord_of_Life_ joined #lisp 2021-04-29T20:05:53Z Lord_of_Life quit (Ping timeout: 240 seconds) 2021-04-29T20:06:24Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-29T20:14:47Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-29T20:23:10Z Bike: i would add an "in general" to "this involves allocating new memory" etc 2021-04-29T20:23:17Z Bike: it doesn't always touch memory 2021-04-29T20:24:36Z bilegeek joined #lisp 2021-04-29T20:24:38Z Bike: i might also mention that the only way to detect copying is eq and that it's otherwise an implementation detail 2021-04-29T20:24:54Z Bike: honestly i might not mention immediates at all 2021-04-29T20:26:58Z hiroaki joined #lisp 2021-04-29T20:28:56Z albusp quit (Quit: albusp) 2021-04-29T20:29:28Z phoe: Bike: not mention immediates, as in? 2021-04-29T20:29:43Z phoe: the only instance of the word is in the tl;dr section 2021-04-29T20:29:47Z Bike: don't talk about lisp copying 2021-04-29T20:29:51Z phoe: oh 2021-04-29T20:30:22Z phoe: I kinda feel compelled to, because C++ people are gonna ask "what is copied then, because I really want to mutate this number like I can do in C" 2021-04-29T20:31:00Z phoe: though that is actually the fact that numbers are immutable in CL 2021-04-29T20:31:16Z phoe: their places might be mutable, if anything 2021-04-29T20:31:19Z phoe thinks 2021-04-29T20:31:41Z phoe: I mean, I talk about C/C++ copying; talking about Lisp copying makes sense to me 2021-04-29T20:32:28Z orivej quit (Ping timeout: 252 seconds) 2021-04-29T20:33:52Z moon-child: I don't think that, in a general sense, c++ makes sense to anyone 2021-04-29T20:35:09Z orivej joined #lisp 2021-04-29T20:36:46Z Bike: i mean, you could mention it as an afterthought or something 2021-04-29T20:36:59Z Bike: it's just not as an important concept in lisp as it is in c 2021-04-29T20:37:18Z Lycurgus: moon-child, you had to be there 2021-04-29T20:37:39Z nij left #lisp 2021-04-29T20:39:30Z ordoflammae: phoe: it seems like, if you're going to program lisp, you shouldn't want to "mutate" a number location, since that kinda' goes against the whole ideal of functional programming. 2021-04-29T20:39:55Z Bike: you can't mutate numbers in C either. phoe was probably joking 2021-04-29T20:40:28Z ordoflammae: Bike: It seemed like phoe was talking about mutating what number a particular variable is referencing without using that variable (pointers, etc.) 2021-04-29T20:40:54Z ordoflammae: I mean, yeah, you can't actually mutate the actual number (whatever that might mean), but you can mutate a particular address location. 2021-04-29T20:41:27Z nij joined #lisp 2021-04-29T20:41:34Z ordoflammae: But you really oughtn't be doing that with lisp, you're kind of running against the grain of the entire language. 2021-04-29T20:41:58Z ordoflammae: It's just a different language paradigm. 2021-04-29T20:42:21Z cer-0 quit (Ping timeout: 260 seconds) 2021-04-29T20:43:15Z nij: One thing about CLIM is that.. the interface it produces is not emacs, so all good bindings aren't usable there. Is there a way to make emacs more "CLIM-like"? If so, what kind of work should be done? 2021-04-29T20:43:30Z vms14 joined #lisp 2021-04-29T20:45:12Z Bike: https://github.com/robert-strandh/Second-Climacs nij 2021-04-29T20:45:42Z aartaka_d quit (Read error: Connection reset by peer) 2021-04-29T20:48:45Z vms14 quit (Remote host closed the connection) 2021-04-29T20:53:38Z nij: Bike: is this an attempt to make an editor in which the experience is close to a lisp machine? 2021-04-29T20:53:42Z nij is checking its doc.. 2021-04-29T20:54:26Z shka_ quit (Ping timeout: 240 seconds) 2021-04-29T20:54:48Z nij cails to understand.. 2021-04-29T20:54:53Z nij: s/cails/fails 2021-04-29T20:55:03Z kpoeck quit (Ping timeout: 240 seconds) 2021-04-29T20:57:48Z shifty joined #lisp 2021-04-29T21:00:22Z nij quit (Remote host closed the connection) 2021-04-29T21:01:05Z Lycurgus quit (Quit: Exeunt) 2021-04-29T21:07:02Z Bike: climacs is an emacs-like editor written in clim. 2021-04-29T21:08:36Z wsinatra quit (Quit: WeeChat 3.1) 2021-04-29T21:09:14Z kevingal quit (Remote host closed the connection) 2021-04-29T21:10:45Z jcowan: gigamonkey: The Chez Scheme compiler works exactly thereseb described: each pass converts Scheme to simpler Scheme, until what's left is an S-expression representation of machine language. But every stage can be run using the Chez interpreter and produces the correct result. SO if a stage is bad, you can just leave it out until you fix it. 2021-04-29T21:11:12Z jeosol quit (Quit: Connection closed) 2021-04-29T21:11:45Z bilegeek quit (Quit: Leaving) 2021-04-29T21:12:14Z phoe: yes, I was joking 2021-04-29T21:12:15Z amb007 quit (Read error: Connection reset by peer) 2021-04-29T21:12:35Z amb007 joined #lisp 2021-04-29T21:13:11Z phoe: Bike: fixed it up, moved the whole paragraph into an appendix 2021-04-29T21:13:19Z jackdaniel: slime incorporated some clim functionalities 2021-04-29T21:13:38Z jackdaniel: most notably presentations - note that when in the repl you return an unreadable object, you still can inspect it 2021-04-29T21:16:59Z CL-ASHOK joined #lisp 2021-04-29T21:18:54Z akoana joined #lisp 2021-04-29T21:19:02Z CL-ASHOK: Does anybody know the origin of "Made with Secret Alien Technology" 2021-04-29T21:19:07Z CL-ASHOK: was it Land of Lisp? 2021-04-29T21:19:12Z cipherchess quit (Ping timeout: 268 seconds) 2021-04-29T21:20:13Z pve quit (Quit: leaving) 2021-04-29T21:20:43Z anticrisis quit (Read error: Connection reset by peer) 2021-04-29T21:22:05Z gaqwas quit (Ping timeout: 246 seconds) 2021-04-29T21:22:18Z dra_ joined #lisp 2021-04-29T21:22:37Z dra_ quit (Client Quit) 2021-04-29T21:22:46Z dra joined #lisp 2021-04-29T21:25:40Z torbo joined #lisp 2021-04-29T21:28:23Z shifty quit (Ping timeout: 246 seconds) 2021-04-29T21:34:19Z jeosol joined #lisp 2021-04-29T21:34:41Z daphnis quit (Ping timeout: 246 seconds) 2021-04-29T21:35:02Z CL-ASHOK quit (Ping timeout: 240 seconds) 2021-04-29T21:36:33Z kmeow joined #lisp 2021-04-29T21:41:57Z loli: how does CL deftype work with typep? 2021-04-29T21:42:12Z loli: I'm trying to make (deftype list-of (type) ...) 2021-04-29T21:42:24Z Bike: deftype is essentially a macro system 2021-04-29T21:42:46Z Bike: when typep (or whatever) sees a type specifier defined by deftype, it uses the macro-function deftype defines to expand into a new type specifier to work with 2021-04-29T21:43:00Z Bike: as such, recursive definitions do not work, because they will be expanded ad nauseum 2021-04-29T21:43:25Z loli: I see 2021-04-29T21:43:31Z loli: though in this case it's simple 2021-04-29T21:43:39Z loli: I just want to have a generic over a non recursive type 2021-04-29T21:43:51Z loli: say we have a list with some sort of type inside of it 2021-04-29T21:43:53Z Bike: a generic function? 2021-04-29T21:43:55Z trokotech quit (Remote host closed the connection) 2021-04-29T21:44:11Z mfiano: You'll have to use SATISFIES and check the contents at runtime 2021-04-29T21:44:15Z Bike: those work with classes, not types. 2021-04-29T21:44:15Z loli: yes 2021-04-29T21:45:13Z trokotech joined #lisp 2021-04-29T21:45:39Z kagevf: engblom: you can use invert-face RET default to toggle between light and dark mode in emacs 2021-04-29T21:46:13Z loli: well you can have some type declarations that are second order 2021-04-29T21:46:22Z loli: for example https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node51.html they give square-matrix 2021-04-29T21:46:34Z loli: however I'm unsure of how to ask if something satisfies such a declaration 2021-04-29T21:46:41Z loli: it's obvious with say "(deftype list-of-strings () `(satisfies list-of-strings-p))" 2021-04-29T21:46:55Z loli: (typep '("a") 'list-of-strings) => t 2021-04-29T21:47:07Z mfiano: Why do you need such a type? 2021-04-29T21:47:25Z loli: to give nicer doc specs, because having a function from say int to list isn't helpful 2021-04-29T21:48:07Z loli: (declaim (ftype (function (context fset:map file-info-extended) list) f)) 2021-04-29T21:48:16Z loli: for example in this, I know I gewt a list back, but a list of what? 2021-04-29T21:48:46Z loli: Ideally I can test my list-of on certain types like I have a list of ints and I can typep it 2021-04-29T21:48:50Z Bike: all of the expansions in the square-matrix example eventually terminate 2021-04-29T21:49:11Z Bike: if you're defining list-of in the obvious way as (deftype list-of (type) `(or null (cons ,type (list-of ,type)))), it won't terminate 2021-04-29T21:49:16Z loli: yes, and the example I wish to give also terminates 2021-04-29T21:49:27Z loli: no I don't need to do that 2021-04-29T21:49:47Z loli: for example for a fixed type you can write 2021-04-29T21:49:50Z loli: (defun list-of-strings-p (list) (and (consp list) (every #'stringp list))) 2021-04-29T21:49:57Z Bike: if you're okay with the SATISFIES version you can do that. 2021-04-29T21:50:09Z loli: yes, but how do I pass information into typep 2021-04-29T21:50:19Z Bike: What do you mean? 2021-04-29T21:50:24Z Bike: What information does it need to know? 2021-04-29T21:50:27Z loli: well typep takes a string 2021-04-29T21:50:30Z loli: (typep '("a") 'list-of-strings) 2021-04-29T21:50:31Z loli: ideally I could say 2021-04-29T21:50:39Z Bike: Sure. That should work. 2021-04-29T21:50:43Z loli: (typep '("a") '(list-of string)) 2021-04-29T21:50:50Z loli: so I don't have to write a version for every single type 2021-04-29T21:51:22Z Bike: SATISFIES works with a global function name, so you probably can't make that work, unfortunately 2021-04-29T21:51:48Z loli: so I have to generate every type I care about? How do arrays work with their type specification 2021-04-29T21:51:49Z phoe: I remember that someone tried to make it work with a gensym 2021-04-29T21:52:00Z phoe: loli: arrays have implementation support unlike list-of 2021-04-29T21:52:10Z loli: so it's special in the compiler? 2021-04-29T21:52:13Z phoe: and there's a whole thing about array specialization that conses don't need to care about 2021-04-29T21:52:16Z phoe: yes 2021-04-29T21:52:43Z loli: what a shame, so I guess I'll make a macro definition that spits out order-1 types from a forall 2021-04-29T21:52:50Z loli: doing specializtion by hand then? 2021-04-29T21:53:39Z loli: wait, are functions fixed as well, cause functions can take types as well? 2021-04-29T21:56:26Z phoe: types? what do you mean 2021-04-29T21:56:49Z phoe: you can declare argument and return value types for functions if that's what you mean 2021-04-29T21:56:51Z loli: (declaim (ftype (function (integer) integer) test)) 2021-04-29T21:56:56Z phoe: yes 2021-04-29T21:57:08Z kagevf: great write-up local package nicknames ... thank you for that, phoe 2021-04-29T21:57:32Z loli: we can state it takes an integer and gives back an integer, does this not use the same satifies system, or is it baked in like the array? 2021-04-29T21:57:38Z loli: where one can't make their own version 2021-04-29T21:57:45Z phoe: kagevf: I need to fix it someday 2021-04-29T21:57:49Z phoe: loli: the latter 2021-04-29T21:57:59Z kagevf: phoe: what's wrong with it?? 2021-04-29T21:58:03Z phoe: SATISFIES is the last resort of the type system 2021-04-29T21:58:10Z phoe: kagevf: I don't like its rant-ish style 2021-04-29T21:58:20Z loli: yeah... satisfies sadly only takes arguments with 1 argument, Maybe I can prop something together with dynamic variables to inject it? 2021-04-29T21:58:31Z kagevf: oh ... I see ... thought it was useful fwiw 2021-04-29T21:58:32Z phoe: sure 2021-04-29T21:58:43Z klltkr joined #lisp 2021-04-29T21:58:45Z phoe: I mean, I know it's useful, I got some people say it 2021-04-29T21:58:51Z phoe: I just think I can make it more useful, someday™ 2021-04-29T21:59:14Z kagevf: phoe: right on. btw, are you a fan of "naruhodo za warudo"? 2021-04-29T21:59:14Z amb007 quit (Read error: Connection reset by peer) 2021-04-29T21:59:23Z loli: I tried this before: (deftype list-of (type) `(and list (satisfies ,(is-type-of type)))). Now let us try dynamic binding 2021-04-29T21:59:33Z amb007 joined #lisp 2021-04-29T21:59:57Z phoe: kagevf: nope, not that za warudo - but that's already #lispcafe material 2021-04-29T22:00:11Z kagevf: right right ... was just curious :) 2021-04-29T22:02:05Z tophullyte joined #lisp 2021-04-29T22:04:28Z random-nick quit (Ping timeout: 252 seconds) 2021-04-29T22:06:35Z surabax quit (Quit: Leaving) 2021-04-29T22:06:55Z loli: yeah I could see a gensym approach working if you specalized the type at every single application instance you found 2021-04-29T22:07:06Z loli: sadly my dynamic variable technique wasn't enough to get past satisfies 2021-04-29T22:08:09Z dieggsy: is it possible to start hunchentoot in a way that does block? 2021-04-29T22:10:25Z mindCrime_ joined #lisp 2021-04-29T22:11:03Z frgo quit (Remote host closed the connection) 2021-04-29T22:11:28Z frgo joined #lisp 2021-04-29T22:11:32Z gaqwas joined #lisp 2021-04-29T22:11:37Z Duuqnd quit (Read error: Connection reset by peer) 2021-04-29T22:16:39Z gigamonkey: CL-ASHOK: I think Conrad Barski came up with the "Made with Secret Alien Technology" and the googly-eyed alien logo before he wrote Land of Lisp. 2021-04-29T22:18:23Z loli: for those curious about the solution I have. the specalizer looks something like this. https://ghostbin.lain.la/paste/jwg6j Note that the concatenate call is incorrect because I forgot the function to coerce a symbol into a string 2021-04-29T22:19:19Z Nilby: dieggsy: block until what? you could bt:join-thread on it's taskmaster thread if that's what you mean. 2021-04-29T22:20:14Z dieggsy: Nilby: until i kill the thread i suppose --- that is what i mean, i think. how do i get it's taskmaster thread ? 2021-04-29T22:21:56Z saturn2: loli: here's how i would do it https://ghostbin.lain.la/paste/scerb 2021-04-29T22:22:24Z klltkr quit (Quit: Textual IRC Client: www.textualapp.com) 2021-04-29T22:22:26Z trokotech quit (Quit: ERC (IRC client for Emacs 28.0.50)) 2021-04-29T22:23:12Z loli: does get-predicate work on lambda? 2021-04-29T22:23:21Z loli: I think i tried that with another approach and it failed 2021-04-29T22:23:29Z loli: ahh nevermind you are sending it in the get-predicate 2021-04-29T22:23:57Z varjag quit (Ping timeout: 268 seconds) 2021-04-29T22:24:18Z drl joined #lisp 2021-04-29T22:24:19Z cipherchess joined #lisp 2021-04-29T22:24:20Z loli: yeah let me try yours, seems more elegant, rather than having a specalizer 2021-04-29T22:24:28Z pbaille quit (Remote host closed the connection) 2021-04-29T22:24:45Z loli: ahh perfect that does work 2021-04-29T22:25:00Z chipolux joined #lisp 2021-04-29T22:25:05Z loli: this works across packages as well, no weird name kludging due to dynamic variables right? 2021-04-29T22:25:24Z saturn2: yes, i believe so 2021-04-29T22:26:18Z loli: how nice, we can probably make it even slightly nicer by giving it a name so the error messages are nicer 2021-04-29T22:26:24Z loli: I'm shocked this works, given you just indirected the lambda 2021-04-29T22:26:29Z saturn2: that would be a good idea, yes 2021-04-29T22:26:45Z loli: shouldn't it complain about a not global functions ince we are just accessing the lambda inside the gethash 2021-04-29T22:27:34Z saturn2: get-predicate calls compile to make it a global function if it does not already exist 2021-04-29T22:28:04Z loli: ahh I see, so that's how you're cheating it 2021-04-29T22:28:30Z loli: I never really called compile before, if I had I might have thought of that trick 2021-04-29T22:30:06Z saturn2: get-predicate does not take an actual function, but a lambda expression 2021-04-29T22:30:11Z loli: one last question, how do you use typep with types that take types like this? I never figured that one out 2021-04-29T22:30:14Z loli: yes 2021-04-29T22:30:19Z loli: compile with a name is what makes it global 2021-04-29T22:31:37Z drl quit (Quit: Leaving) 2021-04-29T22:31:43Z saturn2: i'm not sure i understand your question about typep 2021-04-29T22:32:30Z loli: well in the old way with a deftype of no arguments you can write 2021-04-29T22:32:33Z loli: (typep (list 1 2 3 4) 'list-of-strings) 2021-04-29T22:32:45Z loli: the odd thing about this form is that it takes the symbol, so I don't see how I can apply it 2021-04-29T22:32:56Z loli: testing your function works great for how I actually use it 2021-04-29T22:32:58Z loli: (sig test-foo (-> (list-of integer) integer)) 2021-04-29T22:33:00Z saturn2: oh, you just use a quoted list 2021-04-29T22:33:21Z loli: (typep (list 1 2 3 4) '(list-of string))? 2021-04-29T22:33:31Z saturn2: yes 2021-04-29T22:33:34Z loli: oh you're right... huh it was erroring before 2021-04-29T22:33:38Z loli: this is great 2021-04-29T22:33:52Z saturn2: glad to help :) 2021-04-29T22:37:37Z Nilby: dieggsy: You can do it, but it's not in the API, so I probably shouldn't reccomend it. 2021-04-29T22:38:20Z Nilby: dieggsy: This is probably a bad idea, but (bt:join-thread (slot-value (slot-value hunchentoot::*acceptor* 'hunchentoot::taskmaster) 'hunchentoot::acceptor-process)) 2021-04-29T22:38:44Z hjudt quit (Ping timeout: 265 seconds) 2021-04-29T22:39:05Z nature quit (Ping timeout: 246 seconds) 2021-04-29T22:39:23Z dieggsy: Nilby: fair. i'm trying to set up a simple server for local Oauth 2.0 authentication. Basically I just need a one time server that waits (blocks), gets a request with some info, sends back "done, close this tab", then dies and other code can go on to do stuff wtih that info 2021-04-29T22:39:57Z zzappie quit (Ping timeout: 240 seconds) 2021-04-29T22:39:58Z dieggsy: i've done it in CHICKEN, but there I had manual control over the thread the web server started in 2021-04-29T22:40:20Z dieggsy: i suppose i could just.. poll some variable or something instead 2021-04-29T22:41:03Z dieggsy: or, maybe i'm being an idiot and i just work the entire logic into the easy-handler. .... that would make more sense I think 2021-04-29T22:41:05Z loli: hmm one small error, saturn2 it seems when I compile the file it says the type is undefined, is this due to staging? 2021-04-29T22:42:57Z loli: it seems to just disappear if you load the entire file 2021-04-29T22:43:38Z gaqwas quit (Ping timeout: 246 seconds) 2021-04-29T22:44:04Z saturn2: hmm... the gensyms might disappear between compile and load 2021-04-29T22:44:07Z Nilby: dieggsy: Another way is just to look for hunchentoot-listener, in bt:all-threads 2021-04-29T22:44:19Z loli: ahh that error again, never a fun one to run into 2021-04-29T22:44:32Z Nilby: dieggsy: which is probably more stable? 2021-04-29T22:45:17Z dieggsy: Nilby: would you happen to know if i can make an easy handler send a response and *then* shut down the hunchentoot server too? 2021-04-29T22:45:55Z dieggsy: the way i understand it the easy handler depends on the last return value as opposed to some kind of send-response function, so i don't see that working either 2021-04-29T22:46:09Z anticrisis joined #lisp 2021-04-29T22:46:45Z hypercube quit (Quit: WeeChat 3.1) 2021-04-29T22:47:24Z Nilby: dieggsy: I think you can just call (hunchentoot:stop *acceptor*) 2021-04-29T22:47:49Z dieggsy: Nilby: right, but how would i send a response before doing that ? 2021-04-29T22:48:11Z dieggsy: So that the page can have some kind of "this worked" text lol 2021-04-29T22:48:23Z dieggsy: appreciate the help btw 2021-04-29T22:49:00Z loli: I've never really gotten over the gensym issues like this in the past, since the language doesn't help. saturn2 I guess what we could do is declare a package for these functions to live, so it doesn't clash, sadly we can't gensym that namespace 2021-04-29T22:49:15Z anticrisis quit (Read error: Connection reset by peer) 2021-04-29T22:50:57Z anticrisis joined #lisp 2021-04-29T22:52:07Z Nilby: dieggsy: This seemed to work (bt:make-thread (lambda () (sleep 5) (hunchentoot:stop hunchentoot:*acceptor*))) or I guess you could just call (exit) or something. 2021-04-29T22:54:08Z dieggsy: Nilby: Oh, that's. yep. that would make sense. I'll try that out. thank you! 2021-04-29T22:54:15Z dra quit (Remote host closed the connection) 2021-04-29T22:55:29Z pbaille joined #lisp 2021-04-29T22:55:44Z loli: I'll complete this extension later, I at least have a plan to fix it, thanks again saturn2 2021-04-29T23:00:05Z saturn2: sure 2021-04-29T23:00:26Z Nilby: dieggsy: You're welcome. More things "🗲 by 🆑 " 2021-04-29T23:00:56Z pbaille quit (Ping timeout: 252 seconds) 2021-04-29T23:01:09Z saturn2: loli: i think there's probably a way to make it all work by using load-time-value, but it's tricky... 2021-04-29T23:01:29Z loli: oh there is actually a way around it? 2021-04-29T23:04:41Z acolarh quit (Ping timeout: 260 seconds) 2021-04-29T23:05:12Z hjudt joined #lisp 2021-04-29T23:08:07Z mindCrime_ quit (Ping timeout: 252 seconds) 2021-04-29T23:08:55Z josrr joined #lisp 2021-04-29T23:09:32Z hjudt quit (Ping timeout: 246 seconds) 2021-04-29T23:10:42Z josrr: dieggsy: maybe you can use hunchentoot:send-headers; it returns a stream where you cand send de response. https://edicl.github.io/hunchentoot/#send-headers 2021-04-29T23:11:35Z dieggsy: josrr: oh cool!! i had sort of glossed over that. thanks 2021-04-29T23:13:44Z heisig quit (Quit: Leaving) 2021-04-29T23:15:23Z hjudt joined #lisp 2021-04-29T23:18:18Z josrr: dieggsy: sure, hope it helps. 2021-04-29T23:18:57Z acolarh joined #lisp 2021-04-29T23:23:14Z bilegeek joined #lisp 2021-04-29T23:23:15Z zaquest quit (Quit: Leaving) 2021-04-29T23:25:23Z irc_user quit (Quit: Connection closed for inactivity) 2021-04-29T23:26:53Z saturn2: loli: okay i guess i was wrong, there's no way to make the load-time-value trick work in a deftype, it only works in a regular macro or symbol-macro 2021-04-29T23:27:20Z loli: how does that work, saturn2, I've had this issue when I tried implementing module functors into CL before IIRC 2021-04-29T23:27:28Z zaquest joined #lisp 2021-04-29T23:27:33Z loli: I had some weird edge cases IIRC, it's been a while though 2021-04-29T23:28:08Z saturn2: well, if you need your macro to have persistent side effects, you can make it expand to (progn (load-time-value (side-effects-here)) (other-stuff)) 2021-04-29T23:28:11Z hjudt quit (Ping timeout: 240 seconds) 2021-04-29T23:28:24Z saturn2: but there seems to be no way to make that work in a type specifier 2021-04-29T23:29:43Z loli: huh so that works even through gensym naming? 2021-04-29T23:30:40Z attila_lendvai quit (Ping timeout: 252 seconds) 2021-04-29T23:30:40Z saturn2: you could still do it if you made a wrapper macro around deftype 2021-04-29T23:31:37Z loli: yeah, you could implement a lot if you did it that way 2021-04-29T23:31:42Z saturn2: but in that case you might as well just give your custom type predicate a symbol name and use regular defun 2021-04-29T23:32:18Z loli: do hygenic macros help at all? I know Racket has a reflective tower with their macro system 2021-04-29T23:32:25Z loli: where they can do very heavy lifting and compose macros nicer 2021-04-29T23:32:39Z dieggsy: josrr: actually, what's the usual way to write to a binary stream ? 2021-04-29T23:32:52Z saturn2: not sure, i'm not really a scheme person 2021-04-29T23:32:57Z Nilby quit (Ping timeout: 250 seconds) 2021-04-29T23:33:25Z loli: it seems a lot of research has gone into pushing hygenic macros, I think they are much stronger, but I lack enough scheme knowledge to see how they got their tower of abstraction 2021-04-29T23:34:24Z dieggsy: i dunno about stronger, pretty much every scheme will provide unhygienic macros as well cause there's some things you can't do with hygienic macros 2021-04-29T23:34:26Z dieggsy: ...least not easily 2021-04-29T23:34:46Z loli: well from oleg's blog I got a hygenic macro that makes an unhygenic macro system 2021-04-29T23:34:49Z DGASAU quit (Read error: Connection reset by peer) 2021-04-29T23:35:01Z dieggsy: loli: ok but that man is a wizard 2021-04-29T23:35:08Z dieggsy: heh. fair point though 2021-04-29T23:35:10Z moon-child: loli: you can do the other way around too :P 2021-04-29T23:35:27Z loli: very small amount of code 2021-04-29T23:35:39Z loli: but the interesting thing is, he mentions in a number of his articles about better composing macros 2021-04-29T23:35:48Z saturn2: i always thought hygenic macros mostly just saved you from having to type alexandria:once-only 2021-04-29T23:36:16Z loli: and the hygiene it seems to offer better techniques to preserve lexical scoping 2021-04-29T23:37:35Z DGASAU joined #lisp 2021-04-29T23:37:35Z saturn2: what you would need is a way for a macro to hook into the loading mechanism and do stuff when the containing file is loaded 2021-04-29T23:37:54Z loli: http://okmij.org/ftp/Scheme/macros.html#ck-macros I believe here he mentions the CPS style passing they typically do. But I believe Racket provides good kinds of abstractions for this as well 2021-04-29T23:38:09Z loli: for the deftype fix? 2021-04-29T23:38:50Z saturn2: yes 2021-04-29T23:39:05Z Bike: i think the problem is just that CL's type system can't do what you want it to do, rather than anything about macros exactly 2021-04-29T23:39:13Z saturn2: yes, that too 2021-04-29T23:39:20Z saturn2: we are being a bit silly here 2021-04-29T23:39:43Z loli: sure, but that's fine though 2021-04-29T23:40:39Z dieggsy: i know i could just write one, but is there a standard CL way to denote a bytestring 2021-04-29T23:40:51Z dieggsy: like, interpret this string as a sequence of bytes instead of a sequence of chars 2021-04-29T23:40:57Z dieggsy: #b"eg" or something 2021-04-29T23:42:19Z josrr: dieggsy: I have used cl:write-sequence for that (to write to a binary stream) 2021-04-29T23:42:20Z Bike: there are no reader macros for element types other than bit, character, and T 2021-04-29T23:42:34Z dieggsy: josrr: neat, thanks. 2021-04-29T23:42:46Z dieggsy: I suppose (map 'list #'char-code "string") might work 2021-04-29T23:45:16Z dieggsy: cool, that does work. send-headers and stopping within the handler also seems to be working. neat 2021-04-29T23:45:25Z saturn2: dieggsy: i think you want babel:string-to-octets or similar 2021-04-29T23:46:11Z dieggsy: saturn2: eh, it's simple enough i'd rather not pull in another dep, but that's a good library to keep in mind, thanks 2021-04-29T23:47:29Z no-defun-allowed: Good luck with non-ASCII characters. 2021-04-29T23:48:26Z josrr: dieggsy: hunchentoot depends on flexi-streams; you can use flexi-streams:string-to-octets 2021-04-29T23:48:55Z dieggsy: *no-defun-allowed*: it's a hardcoded string literal 2021-04-29T23:48:58Z dieggsy: josrr: oh, neat 2021-04-30T00:03:31Z hiroaki quit (Ping timeout: 248 seconds) 2021-04-30T00:06:57Z wowzersbrain joined #lisp 2021-04-30T00:09:33Z leo_song joined #lisp 2021-04-30T00:10:29Z koolkat332 quit (Ping timeout: 260 seconds) 2021-04-30T00:11:51Z josrr quit (Quit: rcirc on GNU Emacs 27.2) 2021-04-30T00:12:46Z nij joined #lisp 2021-04-30T00:13:19Z nij: ,tell beach : Have you found out how to use CommonDoc to parse Scriba, say the example in this page? http://commondoc.github.io/docs/formats.html 2021-04-30T00:13:31Z nij: Er.. 2021-04-30T00:15:30Z hiroaki joined #lisp 2021-04-30T00:17:51Z nij quit (Remote host closed the connection) 2021-04-30T00:20:38Z Spawns_Carpeting quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-30T00:20:49Z nij joined #lisp 2021-04-30T00:20:59Z Spawns_Carpeting joined #lisp 2021-04-30T00:26:22Z Bike: try ::notify beach 2021-04-30T00:27:12Z nij: ::notify beach Hi 2021-04-30T00:27:13Z Colleen: nij: Got it. I'll let beach know as soon as possible. 2021-04-30T00:27:59Z nij: ::notify beach : Have you found out how to use CommonDoc to parse Scriba, say the example in this page? http://commondoc.github.io/docs/formats.html 2021-04-30T00:27:59Z Colleen: nij: Got it. I'll let beach know as soon as possible. 2021-04-30T00:28:13Z gigamonkey: Oh no, is minion getting old and tired and new blood has been brought in? 2021-04-30T00:28:14Z nij: Hmm.. somehow I remember the syntax is "tell". 2021-04-30T00:28:41Z nij: Where can I see the source of the bot? And can I hack the bot too :-)? 2021-04-30T00:28:57Z gigamonkey: minion: who's colleen 2021-04-30T00:28:58Z minion: superman 2021-04-30T00:29:02Z nicktick joined #lisp 2021-04-30T00:29:07Z gigamonkey: colleen: who's minion? 2021-04-30T00:29:07Z Colleen: Unknown command. Possible matches: 8, set, say, mop, get, block, time, tell, roll, help, 2021-04-30T00:29:10Z nij: colleen: who's minion 2021-04-30T00:29:10Z Colleen: Unknown command. Possible matches: 8, set, say, mop, get, block, time, tell, roll, help, 2021-04-30T00:29:12Z nij: ha ok 2021-04-30T00:29:31Z nij: Colleen, tell minion that you are better than it. 2021-04-30T00:29:32Z Colleen: minion: Unknown command. Possible matches: 8, time, tell, set, say, mop, get, tell to, have a, grant, 2021-04-30T00:29:32Z minion: please stop playing with me... i am not a toy 2021-04-30T00:29:38Z gigamonkey: colleen: help 2021-04-30T00:29:39Z Colleen: See 'help about' for general information. Try 'help X' to search for or retrieve information about a command. 2021-04-30T00:29:52Z gigamonkey: colleen: help tell 2021-04-30T00:29:53Z Colleen: Command Syntax: tell USER &STRING COMMAND 2021-04-30T00:29:53Z Colleen: Documentation: Show someone else the output of a command. 2021-04-30T00:29:55Z nij: So.. how do I hack collen and minion? 2021-04-30T00:30:24Z gigamonkey: The minion source used to be around somewhere. Dunno about this new kid. 2021-04-30T00:30:40Z nij: Will ask tomorrow. Have to run :-) 2021-04-30T00:30:40Z nij: GN! 2021-04-30T00:30:50Z gigamonkey: Maybe here: https://github.com/stassats/lisp-bots 2021-04-30T00:36:04Z nij quit (Ping timeout: 276 seconds) 2021-04-30T00:36:51Z Sheilong quit (Quit: Connection closed for inactivity) 2021-04-30T00:39:00Z gourdhen: what do you guys think about carp? https://github.com/carp-lang/Carp 2021-04-30T00:41:56Z srandon111 joined #lisp 2021-04-30T00:42:02Z srandon111: anybody lisping on netbsd here ? 2021-04-30T00:42:18Z srandon111: i heard that common lisp support in netbsd is poor and that it does not support threading 2021-04-30T00:42:19Z gigamonkey: gourdhen: Seems fine but pretty far in the language space from Common Lisp. 2021-04-30T00:42:52Z no-defun-allowed: gourdhen: no 2021-04-30T00:42:58Z no-defun-allowed: I think no 2021-04-30T00:43:37Z gourdhen: it's just I notice you guys spend a lot of time talking about the gc - and not talking about lisps without gcs 2021-04-30T00:43:55Z no-defun-allowed: A Lisp without a GC simply isn't. 2021-04-30T00:44:43Z Bike: it seems difficult to do metaprogramming in a statically typed language. 2021-04-30T00:45:17Z no-defun-allowed: And then the performance of some memory manager that isn't a GC can be way worse, and often even more unreliable (unfair comparison: average reference-counting implementation vs. Metronome on a bad day). 2021-04-30T00:45:53Z Bike: the readme here mentions macros but the manual doesn't really describe them. 2021-04-30T00:46:06Z no-defun-allowed: Bike: https://github.com/carp-lang/Carp/blob/master/docs/LanguageGuide.md#dynamic-functions says you get lists at compile-time. 2021-04-30T00:46:09Z gigamonkey: But (based on skimming the docs) if you want a static, no gc language for interrop with libs in some environment in a Lisp dialect (so you can have macros) their thing seems fine. 2021-04-30T00:46:24Z Bike: i see. 2021-04-30T00:46:30Z gigamonkey: I have never heard of it before today so I have no idea how good the thing actually is. 2021-04-30T00:46:34Z no-defun-allowed: That's the other thing - I don't want to be caught dead with a static language. 2021-04-30T00:48:24Z no-defun-allowed: gourdhen: In short, the GC is a pain if you have a bad one, but not having one is more of a pain. 2021-04-30T00:49:48Z xsperry quit 2021-04-30T00:52:16Z bilegeek quit (Quit: Leaving) 2021-04-30T00:53:38Z ordoflammae quit (Quit: WeeChat 3.1) 2021-04-30T01:00:06Z moon-child: I think it's more that a language without a gc either leaks or has fundamentally different semantics than what you would expect from a lisp 2021-04-30T01:00:44Z no-defun-allowed: Yes, "a static language" is part of that. 2021-04-30T01:02:02Z no-defun-allowed: I mean, you can call it Lisp or "a dialect" or even "an exo-lisp" or whatever crap people say, it still looks awful to write any programs with. 2021-04-30T01:02:02Z CrazyPython joined #lisp 2021-04-30T01:04:32Z no-defun-allowed: Wonder how well a Haskell "dialect" with dynamic types and mutable objects would be received. Lispers excuse a lot more than that. 2021-04-30T01:04:55Z gigamonkey: no-defun-allowed: isn't that Lisp ;-) 2021-04-30T01:05:30Z no-defun-allowed: gigamonkey: I'd keep the infix notation, and make >>= do what it does in C just to throw them off. 2021-04-30T01:06:06Z akoana left #lisp 2021-04-30T01:06:07Z gigamonkey: I guess you could keep laziness and partial application. 2021-04-30T01:06:50Z gigamonkey: Or currying, I guess it is in Haskell. 2021-04-30T01:08:29Z no-defun-allowed: Point is, it can be called whatever, if it doesn't have late binding I'm out 2021-04-30T01:08:46Z srandon111: people anybody know about what is the support of sbcl in netbsd ? 2021-04-30T01:09:16Z no-defun-allowed: Pretty sure SBCL supports NetBSD. 2021-04-30T01:10:16Z gigamonkey: srandon111: There's a download for a binary of an old verison. Grab that and the latest source and see if you can build the latest. Might Just Work. 2021-04-30T01:10:22Z gigamonkey: http://www.sbcl.org/platform-table.html 2021-04-30T01:10:56Z srandon111: no-defun-allowed, i heard there is no support for threading 2021-04-30T01:10:58Z srandon111: on netbsd 2021-04-30T01:11:41Z no-defun-allowed: sbcl.org won't load here today, but I swear I saw a release note that said they restored the non-threaded build; potentially suggesting that there is a threaded build. Or not. 2021-04-30T01:13:13Z srandon111: no-defun-allowed, what do you mean? 2021-04-30T01:13:32Z gigamonkey: Look at the note for 2.1.1 at http://www.sbcl.org/all-news.html 2021-04-30T01:28:12Z lotuseat` joined #lisp 2021-04-30T01:30:04Z gumman quit (Read error: Connection reset by peer) 2021-04-30T01:30:29Z gumman joined #lisp 2021-04-30T01:30:40Z lotuseater quit (Ping timeout: 276 seconds) 2021-04-30T01:31:06Z gourdhen quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) 2021-04-30T01:34:10Z dieggsy: are global parameters that can be setf'd pretty common ? if not, are there alternatives ? 2021-04-30T01:34:42Z Bike: they're reasonably common. 2021-04-30T01:35:02Z kiwichap joined #lisp 2021-04-30T01:35:03Z dieggsy: what i mean is, say i have some client library for a web API that requires a client id and a secret ke - is it reasonable to have (defvar client-id) (defvar secret-key) and have the person using the library setq them? 2021-04-30T01:35:06Z dieggsy: Bike: ah, ok 2021-04-30T01:38:13Z Oladon joined #lisp 2021-04-30T01:38:49Z wowzersbrain quit (Ping timeout: 252 seconds) 2021-04-30T01:44:06Z CrazyPython quit (Ping timeout: 240 seconds) 2021-04-30T01:45:24Z hjudt joined #lisp 2021-04-30T01:47:23Z Bike quit (Quit: Lost terminal) 2021-04-30T01:48:46Z CrazyPython joined #lisp 2021-04-30T01:55:19Z hjudt quit (Ping timeout: 252 seconds) 2021-04-30T01:59:10Z ebrasca quit (Remote host closed the connection) 2021-04-30T02:00:00Z mindCrime_ joined #lisp 2021-04-30T02:03:18Z CrazyPython quit (Read error: Connection reset by peer) 2021-04-30T02:15:56Z lotuseat` is now known as lotuseater 2021-04-30T02:16:38Z cer-0 joined #lisp 2021-04-30T02:31:30Z torbo quit (Remote host closed the connection) 2021-04-30T02:32:10Z shifty joined #lisp 2021-04-30T02:36:14Z renzhi quit (Ping timeout: 245 seconds) 2021-04-30T02:43:10Z Adamclisi joined #lisp 2021-04-30T02:43:14Z gigamonkey: dieggsy: note, however that you almost certainly want to use the *name* convention for DEFVAR'd and DEFPARAMETER'd variables. 2021-04-30T02:43:48Z cer-0 quit (Quit: leaving) 2021-04-30T02:43:57Z dieggsy: gigamonkey: oh, i actually sent them that way, i guess matrix did something weird because markdown syntax lol 2021-04-30T02:44:49Z gigamonkey: ah. 2021-04-30T02:47:22Z dieggsy: oof, that's annoying. i guess ican 2021-04-30T02:47:26Z dieggsy: (defvar *this*) 2021-04-30T02:47:49Z dieggsy: yeah, i can escape it with /plain which uh more like pain amirite 2021-04-30T02:48:24Z renzhi joined #lisp 2021-04-30T02:52:18Z mister_m: I have a list of strings I'd like to turn into a property list, is there a function that will give me an uninterned symbol to use as a "key" for a property list? 2021-04-30T02:53:52Z mister_m: sorry, to be more clear: I have a string that I'd like to turn into a symbol that will not be interned in the current package 2021-04-30T02:54:20Z no-defun-allowed: clhs make-symbol 2021-04-30T02:54:20Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_mk_sym.htm 2021-04-30T02:54:44Z mister_m: no-defun-allowed: thank you 2021-04-30T02:54:49Z gigamonkey: Though note that you may want to upcase the string. 2021-04-30T02:55:19Z beach` is now known as beach 2021-04-30T02:58:59Z mister_m: ah that would have bit me I am sure 2021-04-30T02:59:25Z dieggsy: If i'm e.g. going to generate a lambda-list in a defmacro from a list of strings should i use intern or make-symbol ? 2021-04-30T03:00:18Z phossil joined #lisp 2021-04-30T03:00:22Z lotuseater quit (Ping timeout: 276 seconds) 2021-04-30T03:01:13Z gigamonkey: In general it's best not to create new symbols that are exposed to your users. Though I'm sure there exceptions. 2021-04-30T03:01:23Z gigamonkey: What are you trying to do? 2021-04-30T03:01:41Z dieggsy: gigamonkey: generate code based on a swank spec 2021-04-30T03:01:56Z dieggsy: parameters are listed as strings 2021-04-30T03:02:10Z gigamonkey: Are you parsing some non-sexp representation of the spec? 2021-04-30T03:02:41Z tophullyte quit (Ping timeout: 240 seconds) 2021-04-30T03:02:47Z dieggsy: gigamonkey: it's json, parsed with jonathan.the relevant bit looks something like ... :|parameters| '("char_id" "lang") ... 2021-04-30T03:02:50Z hineios3 joined #lisp 2021-04-30T03:02:57Z gigamonkey: If you are truly starting from strings then, yes, you'll need to create symbols. 2021-04-30T03:02:58Z dieggsy: gigamonkey: whoops, i meant a swagger spec 2021-04-30T03:03:18Z beach: Good morning everyone! 2021-04-30T03:03:22Z gigamonkey: If the symbols are going to be exposed as part of the API, you should probably INTERN them into the appropriate package. 2021-04-30T03:03:35Z dieggsy: gigamonkey: do i have to intern them though? i'm using intern for the defun name, but if i'm making symbols for a parameter list 2021-04-30T03:03:40Z hineios quit (Ping timeout: 252 seconds) 2021-04-30T03:03:41Z hineios3 is now known as hineios 2021-04-30T03:03:43Z gigamonkey: If they're just parameter names in the macro expansion, you can use MAKE-SYMBOL or GENSYM. 2021-04-30T03:04:30Z gigamonkey: Yeah, if the name is purely internal I'd use MAKE-SYMBOL or GENSYM. Probably MAKE-SYMBOL in this case is it seems slightly more descriptive of what you're doing. 2021-04-30T03:05:21Z dieggsy: Ah. cool. thank you 2021-04-30T03:06:29Z gigamonkey: And you may want to further lispify the names, e.g. (mapcar #'(lambda (s) (make-symbol (substitute #\- #\_ (string-upcase s)))) '("char_id" "lang")) 2021-04-30T03:06:47Z gigamonkey: (though if they're not public doesn't really matter.) 2021-04-30T03:06:59Z aeth quit (Ping timeout: 265 seconds) 2021-04-30T03:07:04Z gigamonkey: morning, beach. 2021-04-30T03:08:06Z koolkat332 joined #lisp 2021-04-30T03:08:44Z aeth joined #lisp 2021-04-30T03:12:33Z kiwichap quit (Ping timeout: 268 seconds) 2021-04-30T03:16:38Z phossil quit (Quit: Leaving) 2021-04-30T03:16:56Z phossil joined #lisp 2021-04-30T03:17:10Z phossil quit (Remote host closed the connection) 2021-04-30T03:17:28Z tophullyte joined #lisp 2021-04-30T03:18:34Z semz quit (Ping timeout: 276 seconds) 2021-04-30T03:18:59Z kmeow quit (Remote host closed the connection) 2021-04-30T03:20:50Z beach: Hey gigamonkey. Good to see you back. 2021-04-30T03:25:46Z karlosz quit (Remote host closed the connection) 2021-04-30T03:29:14Z beach: phoe: So I take it, to you, Common Lisp eVALUation does not produce a value. 2021-04-30T03:29:52Z beach: phoe: And VALUES does not actually produce values. 2021-04-30T03:31:06Z semz joined #lisp 2021-04-30T03:31:06Z semz quit (Changing host) 2021-04-30T03:31:06Z semz joined #lisp 2021-04-30T03:31:32Z mindCrime_ quit (Ping timeout: 252 seconds) 2021-04-30T03:34:28Z beach: phoe: So instead of accepting the term I introduced a long time ago for a concept that otherwise does not have a widely agreed-upon name (i.e., uniform reference semantics), you introduce four new terms. 2021-04-30T03:38:40Z Bike joined #lisp 2021-04-30T03:49:39Z anticrisis quit (Quit: Leaving) 2021-04-30T03:53:20Z karlosz joined #lisp 2021-04-30T03:53:49Z anticrisis joined #lisp 2021-04-30T03:56:59Z CL-ASHOK joined #lisp 2021-04-30T03:58:55Z CL-ASHOK: @gigamonkey - many thanks for clarifying on the origins of the phrase 2021-04-30T03:59:08Z CL-ASHOK quit (Client Quit) 2021-04-30T04:01:12Z orivej quit (Ping timeout: 240 seconds) 2021-04-30T04:05:18Z hjudt joined #lisp 2021-04-30T04:10:52Z hjudt quit (Read error: Connection reset by peer) 2021-04-30T04:30:53Z jeosol quit (Quit: Connection closed) 2021-04-30T04:30:55Z beach: phoe: Oh, and SYMBOL-VALUE does not produce a value either, I guess. 2021-04-30T04:32:47Z koolkat332 quit (Read error: Connection reset by peer) 2021-04-30T04:34:23Z mindCrime_ joined #lisp 2021-04-30T04:36:29Z karlosz quit (Remote host closed the connection) 2021-04-30T04:37:24Z Bike quit (Quit: Connection closed) 2021-04-30T04:42:46Z andrei-n joined #lisp 2021-04-30T04:43:06Z jeosol joined #lisp 2021-04-30T04:45:23Z igemnace joined #lisp 2021-04-30T04:47:20Z pbaille joined #lisp 2021-04-30T04:49:43Z pankajsg joined #lisp 2021-04-30T04:53:13Z hjudt joined #lisp 2021-04-30T04:55:07Z xkapastel quit (Quit: Connection closed for inactivity) 2021-04-30T04:59:12Z hjudt quit (Ping timeout: 240 seconds) 2021-04-30T05:00:15Z DHARMAKAYA quit (Ping timeout: 260 seconds) 2021-04-30T05:03:41Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-30T05:04:35Z hjudt joined #lisp 2021-04-30T05:05:39Z perdent joined #lisp 2021-04-30T05:07:40Z perdent: How can I acquire a 10 traces and plot them with a lisp plotting library, and examine them from this remote server in lisp? nc 138.68.182.108 31262 2021-04-30T05:07:41Z perdent: how would the code look? 2021-04-30T05:08:34Z perdent: Traces are from an osiliscope 2021-04-30T05:08:56Z perdent: So I captured the embedded device that was used to encrypt the ciphers I am trying to break. How would I be able to recover its Encryption Key? here is the socket_interface: https://pastebin.com/4z0bwjAT and here is the remote lab layout: https://ibb.co/q9j59Mq 2021-04-30T05:10:38Z no-defun-allowed: Very carefully. 2021-04-30T05:12:11Z pbaille quit (Ping timeout: 268 seconds) 2021-04-30T05:13:39Z narimiran joined #lisp 2021-04-30T05:15:23Z no-defun-allowed: You would presumably do differential power analysis on the device, which involves sending some plaintext to the device, observing the power draw, and determining something about the (otherwise hidden) intermediate values in encryption. 2021-04-30T05:16:04Z no-defun-allowed: One source suggested there is correlation between the power draw and Hammond weight (LOGCOUNT) of some value used in a computation. 2021-04-30T05:18:49Z notzmv quit (Ping timeout: 252 seconds) 2021-04-30T05:18:57Z hjudt quit (Ping timeout: 260 seconds) 2021-04-30T05:19:20Z hjudt joined #lisp 2021-04-30T05:35:42Z beach: minion: Please tell phoe about semantics. 2021-04-30T05:35:42Z minion: phoe: please look at semantics: For a concise definition of the Common Lisp semantics of assignments and function calls, please see http://metamodular.com/common-lisp-semantics.html 2021-04-30T05:36:39Z beach: Others can have a look as well of course, and I would appreciate feedback. But I am not going to redefine established terms. 2021-04-30T05:36:59Z hjudt quit (Ping timeout: 246 seconds) 2021-04-30T05:45:08Z wxie quit (Remote host closed the connection) 2021-04-30T05:49:45Z phoe: beach: "evaluation does not produce a value", what do you mean? 2021-04-30T05:49:51Z phoe: which four new terms? 2021-04-30T05:50:34Z beach: I am doing my exercise. I'll be back in 30 minutes. 2021-04-30T05:51:29Z phoe: okay 2021-04-30T05:52:11Z hjudt joined #lisp 2021-04-30T05:55:53Z gaqwas joined #lisp 2021-04-30T06:02:34Z skapata quit (Remote host closed the connection) 2021-04-30T06:02:50Z edgar-rft quit (Quit: Leaving) 2021-04-30T06:05:06Z karlosz joined #lisp 2021-04-30T06:05:33Z aeth quit (Ping timeout: 240 seconds) 2021-04-30T06:06:14Z DHARMAKAYA joined #lisp 2021-04-30T06:13:54Z saganman joined #lisp 2021-04-30T06:13:54Z saganman quit (Changing host) 2021-04-30T06:13:54Z saganman joined #lisp 2021-04-30T06:14:06Z nicktick quit (Ping timeout: 240 seconds) 2021-04-30T06:17:03Z beach: If "value" means "not a pointer", then some expressions when eVALUated, do not return a value. 2021-04-30T06:17:40Z phoe: beach: OK, but you said that "to me" - which part of my article do you mean? 2021-04-30T06:17:50Z saganman: Morning beach 2021-04-30T06:17:56Z saganman: Morning #lisp 2021-04-30T06:17:59Z beach: 1. call-by-pointer 2. assign-directly 3. assign-by-locative 4. assign-by-name 2021-04-30T06:18:41Z kslt1 quit (Ping timeout: 240 seconds) 2021-04-30T06:18:56Z beach: phoe: Well, you start by saying that Common Lisp is not call-by-value ("neither"). 2021-04-30T06:20:08Z beach: Hello saganman. 2021-04-30T06:20:12Z phoe: beach: when people ask in terms of C++ semantics, then Common Lisp is neither C++-call-by-value nor C++-call-by-reference 2021-04-30T06:20:33Z beach: I don't care much. You seem to. 2021-04-30T06:20:47Z phoe: yes, I do 2021-04-30T06:20:59Z phoe: I think it's worth to explain Lisp to people who know C++ 2021-04-30T06:21:11Z phoe: and who are therefore conditioned to think in C++ terms 2021-04-30T06:21:16Z beach: My page explains what Common Lisp does, using well established terms, and making references to other languages. That I think, is the best way of presenting the ideas. 2021-04-30T06:21:30Z no-defun-allowed: They'll be conditioned to C++ full stop. 2021-04-30T06:22:24Z beach: I also think that people, be it C++ programmers or others, who ask about Common Lisp semantics, do so because they are willing to learn established terminology. And we should not disappoint them. 2021-04-30T06:23:07Z phoe: I try to describe what CL does by comparing and differentiating it with what C++ does, and I consider that to be the best strategy 2021-04-30T06:23:17Z beach: Since I whipped up that page rather hastily, the details may not be great, but I think the basic idea is there. 2021-04-30T06:23:30Z phoe: yes, I see the basic idea in there 2021-04-30T06:23:38Z no-defun-allowed: phoe: I haven't read your writeup though - do you have a link? 2021-04-30T06:23:45Z phoe: no-defun-allowed: https://gist.github.com/phoe/c48b34275cf40bece9dbc5e555555214 2021-04-30T06:23:52Z no-defun-allowed: Thanks. 2021-04-30T06:25:08Z phoe: beach: and established terminology is that looking up "call by value" in Google produces a page whose 70% results are things that you don't care about 2021-04-30T06:25:26Z aeth joined #lisp 2021-04-30T06:25:33Z phoe: and I'm adapting to that fact rather than calling this to be Google's problem 2021-04-30T06:25:40Z beach: That only shows that what Google produces is mostly wrong. 2021-04-30T06:26:16Z Nilby joined #lisp 2021-04-30T06:26:27Z phoe: yes, and I'm translating from what Google says to what Lisp does, whereas you explain what Lisp does without using any of this 2021-04-30T06:26:30Z jdz: The lost art of looking up information without web search. 2021-04-30T06:26:52Z beach: There might even be a significant correlation between people who write things that Google picks up, and people who are not willing to study the literature of computing. 2021-04-30T06:28:27Z no-defun-allowed: Just saying (as I was jogging my brain for Lisp implementations which interpret, to measure the performance of my own), you have a whole lot more to get C++ programmers to unlearn than the lack of uniform reference semantics. 2021-04-30T06:28:36Z phoe: I don't think it's a good approach to say that if a C++ programmer wants to learn Lisp, they should first study the literature of computing instead of using Google to learn by differentiation 2021-04-30T06:28:47Z phoe: no-defun-allowed: obviously 2021-04-30T06:29:24Z jdz: Pretty sure this has been a common suggestion here that "learning by differentiation" is a mistake and should be abandoned from the very beginning. 2021-04-30T06:29:25Z phoe: there was this idea of a book, Lisp for C++ programmers, that basically tries to teach by pointing out all the differences 2021-04-30T06:30:30Z phoe: jdz: hmmmm, are there some written notes and/or articles about that? 2021-04-30T06:31:12Z pankajsg quit (Ping timeout: 252 seconds) 2021-04-30T06:31:34Z no-defun-allowed: I have been wondering if differentiation makes it easier or harder for the reader to think they can get away with re-using C++ concepts unless otherwise stated. 2021-04-30T06:31:45Z engblom: When I see something like (declare (ignore obj)), is it a line that could actually be removed and the program would do the same thing? 2021-04-30T06:32:00Z phoe: engblom: yes, it tells the compiler to not warn you about unused variables 2021-04-30T06:32:12Z engblom: phoe: Thanks, then I got that one right! 2021-04-30T06:32:35Z phoe: (lambda () 42) and (lambda (&optional x) 42) both do the same thing when called with zero arguments, but one of them can cause the compiler to warn you that you might have forgotten to use a variable that you established 2021-04-30T06:33:21Z shka_ joined #lisp 2021-04-30T06:33:30Z phoe: no-defun-allowed: people are going to reuse language concepts all the time via reflexes, that's the whole problem of learning X as a second language - no matter if it's a language for programming or a talking 2021-04-30T06:33:57Z phoe: and I can attest to that as neither English nor Lisp are my "native" programming languages 2021-04-30T06:34:30Z phoe: so I guess that the best thing to do here is point all of the differences out and make sure that the C++ programmer reading the book remembers that this, this, and this is explicitly done differently in Lisp 2021-04-30T06:34:55Z sy_ quit (Quit: sy_) 2021-04-30T06:35:05Z jdz: phoe: In my experience that's only when learning the second language. After that this reflex diminishes with each additional language one learns. 2021-04-30T06:35:35Z phoe: jdz: yes, the first time learning a non-first language is the hardest 2021-04-30T06:38:05Z jdz: It just might be worthwhile to help people become aware of this phenomenon (and fight it) than to play along and hope for the best. 2021-04-30T06:39:13Z jdz: I'm afraid that in this case a C++ person will play around for a while and then declare something like "Lisp is really weird, everything's wrong and in the wrong places. I'm going back to C++!" 2021-04-30T06:39:28Z no-defun-allowed: My fear is one will write C++ in Lisp. 2021-04-30T06:41:11Z phoe: jdz: how does one fight it? achieving a real beginner's mind is a pretty daunting task on its own and I don't think it can be expected of everyone who wants to learn Lisp 2021-04-30T06:41:11Z jdz: Yes, in this case the person might stick with Lisp, but it might take quite a while for them to start "thinking in Lisp". And quite a bit of damage might be done along the way. 2021-04-30T06:42:17Z Duuqnd joined #lisp 2021-04-30T06:42:24Z notzmv joined #lisp 2021-04-30T06:42:27Z jdz: phoe: Learning a new thing is not easy, yes. But trying to teach somebody Arabic by telling "it's just like English, you just write from right to left." 2021-04-30T06:42:36Z saturn2: maybe C++ programmers need a whole book on unlearning C++ before they even start on anything else 2021-04-30T06:42:36Z jdz: Is the wrong approach. 2021-04-30T06:42:46Z Nilby: On the other hand when I did C++, I tried to make it do keyword arguments, fake lambdas, and GC. 2021-04-30T06:43:40Z Duuqnd: A company I've worked with used code generation of c++ which felt a lot like poor man's macros to me 2021-04-30T06:43:47Z pbaille joined #lisp 2021-04-30T06:44:16Z Nilby: My rage at the C++ committee was nearly at the level of my admiration for the CL committee. 2021-04-30T06:44:31Z no-defun-allowed: Reminds me of a tutorial book that was posted to #lisp which (at least) beach and I reviewed. The first declaration was declaring some variable to be a FIXNUM. 2021-04-30T06:45:00Z tophullyte quit (Remote host closed the connection) 2021-04-30T06:45:05Z moon-child: phoe: to make an analogy to natural language, it's generally considered a bad idea to learn by translating--by modeling forms in the new language in terms of the forms of one's native language. One should rather attempt to think natively in the new language, without bias 2021-04-30T06:45:14Z ecraven: I sometimes envy c++ for things like https://github.com/nholthaus/units. not sure how to do that sort of compile-time checking in any Lisp (which might be entirely my fault ;) 2021-04-30T06:45:18Z no-defun-allowed: If one thinks that they can write C++ in Lisp, then draws out a book... 2021-04-30T06:45:25Z tophullyte joined #lisp 2021-04-30T06:45:30Z moon-child: I think programming languages are different from natural languages in many respects, but that there is an extent to which the same principle applies 2021-04-30T06:45:43Z moon-child: ecraven: coalton 2021-04-30T06:46:15Z Oladon quit (Quit: Leaving.) 2021-04-30T06:46:19Z Nilby: Duuqnd: In the old days when I was doing it, you were nearly forced to do some pre-processing. e.g. QT used to have to pre-process to do callbacks right. 2021-04-30T06:46:35Z moon-child: Nilby: qt still does that 2021-04-30T06:47:07Z ecraven: moon-child: thanks, I'll have a look at that ;) 2021-04-30T06:47:15Z jdz: ecraven: You might find this article series interesting: https://medium.com/@MartinCracauer/a-gentle-introduction-to-compile-time-computing-part-3-scientific-units-8e41d8a727ca 2021-04-30T06:47:19Z Duuqnd: I can't show any code examples of what this company did since I'm under NDA but it was big files of code completely auto-generated based on XML files. 2021-04-30T06:47:30Z phoe: moon-child: jdz: hmmmmm 2021-04-30T06:47:52Z phoe: what's the approach of all those books "X for Y programmers" then 2021-04-30T06:47:58Z ecraven: jdz: thanks for that link! 2021-04-30T06:48:30Z no-defun-allowed: "It's easy to write Lisp, just write (f x y) instead of f(x, y)" 2021-04-30T06:50:35Z jdz: phoe: There is value in such books, but they should tell outright that they're just a crutch (or training wheels), until one learns to think in the new language properly. 2021-04-30T06:51:00Z phoe: training wheels, I can dig that idea 2021-04-30T06:51:28Z kslt1 joined #lisp 2021-04-30T07:00:32Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-30T07:01:12Z karlosz quit (Ping timeout: 240 seconds) 2021-04-30T07:02:04Z theothornhill joined #lisp 2021-04-30T07:03:55Z attila_lendvai joined #lisp 2021-04-30T07:03:55Z attila_lendvai quit (Changing host) 2021-04-30T07:03:55Z attila_lendvai joined #lisp 2021-04-30T07:04:00Z jeosol quit (Quit: Connection closed) 2021-04-30T07:04:58Z notzmv quit (Ping timeout: 252 seconds) 2021-04-30T07:08:49Z zzappie joined #lisp 2021-04-30T07:11:04Z zap1 joined #lisp 2021-04-30T07:13:09Z zzappie quit (Ping timeout: 240 seconds) 2021-04-30T07:19:57Z engblom: How do I get tab complete to work while writting lisp code in emacs? 2021-04-30T07:20:43Z beach: C-c C-i 2021-04-30T07:22:12Z beach: But it only sort-of works, since Emacs has no idea about the role of different identifiers in different contexts. So you will likely get suggested completions that are completely wrong. 2021-04-30T07:22:47Z phoe: engblom: I have company-mode installed which shows all possible completions, along with slime-company 2021-04-30T07:22:48Z engblom: Thanks! 2021-04-30T07:26:28Z Nilby: If C-c C-i doesn't work, you can usually try M-/ too 2021-04-30T07:29:03Z zap1 is now known as zzappie 2021-04-30T07:30:19Z nij joined #lisp 2021-04-30T07:30:59Z tophullyte quit (Quit: Leaving) 2021-04-30T07:31:57Z aartaka joined #lisp 2021-04-30T07:31:58Z aartaka quit (Read error: Connection reset by peer) 2021-04-30T07:32:19Z aartaka joined #lisp 2021-04-30T07:34:56Z _jrjsmrtn quit (Ping timeout: 246 seconds) 2021-04-30T07:35:34Z __jrjsmrtn__ joined #lisp 2021-04-30T07:37:20Z surabax joined #lisp 2021-04-30T07:38:18Z karlosz joined #lisp 2021-04-30T07:40:10Z shifty quit (Ping timeout: 252 seconds) 2021-04-30T07:40:30Z shifty joined #lisp 2021-04-30T07:55:32Z _paul0 joined #lisp 2021-04-30T07:57:40Z jonatack quit (Quit: jonatack) 2021-04-30T07:58:31Z paul0 quit (Ping timeout: 260 seconds) 2021-04-30T08:02:11Z imode quit (Ping timeout: 240 seconds) 2021-04-30T08:07:33Z engblom: I have been trying to find any documentation for slime-repl with all the shortcuts. In particular I am trying to find how to run something again that I run earlier. I know I can scroll past all output until the cursor is on the form I want to run and then press enter, but that is too much work. How to I get the history without having to scroll? 2021-04-30T08:08:02Z beach: M-p 2021-04-30T08:08:20Z beach: Or, if it is far back M-r and then complete. 2021-04-30T08:08:40Z engblom: Would it be easy to remap that to something else? M-p will open dmenu (as I am using xmonad as window mangaer) 2021-04-30T08:09:24Z engblom: Preferable I would want up and down arrow in slime-repl for history and page-up and page-down for scrolling. 2021-04-30T08:09:27Z beach: M-p is used in many many Emacs situations, so it would probably be better to remap what xmodad uses. 2021-04-30T08:09:57Z hendursa1 quit (Ping timeout: 240 seconds) 2021-04-30T08:10:52Z beach: engblom: It is generally faster to use keys that are easily accessible without lifting your fingers from the home row on the keyboard. 2021-04-30T08:11:12Z beach: Arrows and page-up/down are not easily accessible. 2021-04-30T08:11:41Z beach: C-v and M-v (or rather C-[ C-v) are much faster to use than the page keys. 2021-04-30T08:11:58Z beach: ... and M-p M-n are faster than the arrow keys. 2021-04-30T08:12:34Z moon-child: beach: depends on the keyboard :P 2021-04-30T08:12:55Z ljavorsk joined #lisp 2021-04-30T08:13:22Z beach: Maybe when I officially retire in a bit more than 9 months, I should also retire from #lisp. 2021-04-30T08:13:37Z hendursa1 joined #lisp 2021-04-30T08:14:14Z pve joined #lisp 2021-04-30T08:14:19Z engblom: Anyway, xmonad is heavily using alt-key already and as I need xmonad functions more often than emacs functions, I want to keep alt as reserved for xmonad. This means I need to change emacs to work with xmonad. 2021-04-30T08:14:27Z beach: engblom: Or use VIM. Then you won't have any of these problems. 2021-04-30T08:15:07Z beach: engblom: Good luck either way. 2021-04-30T08:15:07Z engblom: beach: I came from vim. But I got told that I better use emacs those times I write lisp. 2021-04-30T08:15:28Z engblom: Anyway, maybe I should map windows key to meta in emacs, somehow. 2021-04-30T08:15:44Z beach: engblom: It was a sarcastic remark, related to the fact that a lot of things I suggest lately are criticized. 2021-04-30T08:15:56Z gitgood quit (Quit: Probably away to do something really awesome) 2021-04-30T08:16:01Z no-defun-allowed: I use Super/Windows for window manager stuff (using i3wm). 2021-04-30T08:17:05Z no-defun-allowed: Generally that is the window manager key (Windows even provides some shortcuts using it as a modifier) and no application will provide shortcuts using it. 2021-04-30T08:17:15Z engblom: no-defun-allowed: It is too uncomfortable to use window key as often as I have to use for window manager (as the thumb has to go under the hand). I still think I could use it for emacs as I more seldom need M- there. 2021-04-30T08:17:49Z Nilby: One trick is to use Control-Meta-<> for window manager things and if you need it in emacs do Escape Control-<> 2021-04-30T08:18:05Z no-defun-allowed: Right, I don't usually use window manager commands frequently. 2021-04-30T08:18:48Z Lycurgus joined #lisp 2021-04-30T08:20:19Z CrashTestDummy joined #lisp 2021-04-30T08:23:06Z CrashTestDummy2 quit (Ping timeout: 240 seconds) 2021-04-30T08:24:59Z getha quit (Ping timeout: 246 seconds) 2021-04-30T08:30:43Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-30T08:32:29Z xificurC joined #lisp 2021-04-30T08:32:48Z vaporatorius joined #lisp 2021-04-30T08:32:48Z vaporatorius quit (Changing host) 2021-04-30T08:32:48Z vaporatorius joined #lisp 2021-04-30T08:33:05Z jonatack joined #lisp 2021-04-30T08:33:16Z xificurC: http://www.lispworks.com/documentation/HyperSpec/Body/f_rm_dup.htm states "The order of the elements remaining in the result is the same as the order in which they appear in sequence." 2021-04-30T08:33:34Z xificurC: CL-USER> (remove-duplicates '(1 2 1 3)) 2021-04-30T08:33:34Z xificurC: (2 1 3) 2021-04-30T08:34:13Z no-defun-allowed: All but the last duplicates are removed. 2021-04-30T08:34:36Z xificurC: am I misreading something? 2021-04-30T08:34:42Z no-defun-allowed: Unless you do (remove-duplicates '(1 2 1 3) :from-end t) in which case you get (1 2 3) 2021-04-30T08:34:54Z moon-child: xificurC: the elements 2, 1, and 3 all appear in that order in the original sequence 2021-04-30T08:35:08Z vaporatorius__ quit (Ping timeout: 246 seconds) 2021-04-30T08:35:19Z xificurC: I see 1 before 2 2021-04-30T08:35:50Z beach: I see 1 after too as well. 2021-04-30T08:35:55Z beach: after 2. 2021-04-30T08:35:57Z beach: Sorry. 2021-04-30T08:36:47Z anticrisis quit (Read error: Connection reset by peer) 2021-04-30T08:37:28Z beach: xificurC: "if any two match, then the one occurring earlier in sequence is discarded." 2021-04-30T08:38:18Z xificurC: so if I want to retain the order I can use :from-end, correct? 2021-04-30T08:38:31Z beach: It retains the order in both cases. 2021-04-30T08:38:41Z ramHero joined #lisp 2021-04-30T08:38:44Z beach: The question is which of two elements is discarded. 2021-04-30T08:40:25Z beach: xificurC: Here the first and the third elements match, so the first is discarded. If you want the second one to be discarded, then yes, use :FROM-END T. Maybe your example is confusing because you have a partial numeric order, which has nothing to do with what this function does. 2021-04-30T08:42:06Z beach: xificurC: So (remove-duplicates '(3 2 1 1)) does not return (1 2 3) but (3 2 1). 2021-04-30T08:42:28Z hiroaki joined #lisp 2021-04-30T08:44:12Z logenkain[m] joined #lisp 2021-04-30T08:46:41Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T08:47:39Z amb007 joined #lisp 2021-04-30T08:49:02Z kevingal joined #lisp 2021-04-30T08:49:03Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T08:49:15Z jdz: It might also help to use different items, and tweak :test and/or :key parameters. Like (remove-duplicates '("one" "two" "ONE" "three") :test #'string-equal). 2021-04-30T08:49:35Z beach: Good idea. 2021-04-30T08:50:01Z beach: A VERY good idea, in fact. 2021-04-30T08:50:12Z jdz: Thanks! 2021-04-30T08:50:13Z monolithic joined #lisp 2021-04-30T08:50:15Z CrashTestDummy2 joined #lisp 2021-04-30T08:50:53Z amb007 joined #lisp 2021-04-30T08:51:25Z pjb: engblom: use C-h m in the buffer to see the key binding provided by the current modes. 2021-04-30T08:51:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T08:51:50Z engblom: pjb: Thanks! 2021-04-30T08:52:33Z jdz: Or C-h b. 2021-04-30T08:53:02Z engblom: I also got a good solution for my meta-key problem: I wanted to still use the physical alt-key for window manager, so I swapped with xmodmap alt and windows, and then configured xmonad to use windows. Now the physical windows key is alt in emacs. 2021-04-30T08:53:28Z CrashTestDummy quit (Ping timeout: 252 seconds) 2021-04-30T08:53:30Z jdz: engblom: Not also that you can use ESC instead of Meta in Emacs. 2021-04-30T08:53:48Z jdz: M-p would be ESC p. 2021-04-30T08:54:09Z OlCe quit (Remote host closed the connection) 2021-04-30T08:54:12Z beach: And C-[ instead of ESC so as to avoid quitting the home row. 2021-04-30T08:54:17Z jdz: Right. 2021-04-30T08:54:21Z amb007 joined #lisp 2021-04-30T08:54:47Z engblom: jdz: No, ESC will not work because I run evil (because I am coming from vim). 2021-04-30T08:54:47Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T08:55:08Z beach: *sigh* 2021-04-30T08:55:28Z jdz: Doctor, please help! It hurts when I do this! 2021-04-30T08:55:31Z amb007 joined #lisp 2021-04-30T08:56:01Z beach: Indeed. 2021-04-30T08:56:25Z engblom: beach: As I am not using American keyboard, I can not get [ without using Alt Gr (=right alt). 2021-04-30T08:58:45Z jdz: engblom: You can still customize key bindings if the default ones do not work for you. 2021-04-30T08:59:08Z engblom: Anyway, now things are working for me. Thank you for putting up with the frustrating of helping me with these maybe odd things. 2021-04-30T09:04:41Z amb007 quit (Ping timeout: 240 seconds) 2021-04-30T09:06:06Z amb007 joined #lisp 2021-04-30T09:09:43Z Lycurgus quit (Quit: Exeunt) 2021-04-30T09:10:21Z zzappie quit (Ping timeout: 240 seconds) 2021-04-30T09:11:55Z OlCe joined #lisp 2021-04-30T09:12:13Z shifty quit (Ping timeout: 240 seconds) 2021-04-30T09:12:53Z shifty joined #lisp 2021-04-30T09:13:09Z notzmv joined #lisp 2021-04-30T09:13:24Z notzmv is now known as Guest72431 2021-04-30T09:16:49Z madrik joined #lisp 2021-04-30T09:17:46Z madrik: Is the '.cl' extension widely used? I've only seen it associated with Allegro CL. 2021-04-30T09:19:03Z no-defun-allowed: I can't recall the last time I saw a .cl file. 2021-04-30T09:19:56Z White_Flame: it's been many years since we had an ACL license, and I don't remember .cl at all :) 2021-04-30T09:21:05Z White_Flame: I could see it being a DOS-era extension more appropriate than .lis though 2021-04-30T09:21:40Z jdz: Or .lsp. 2021-04-30T09:22:29Z moon-child: .lp, maybe. (l)ist (p)rocessing. But I agree .cl is optimal if you're strictly 8.3 2021-04-30T09:22:33Z madrik: The audio editor Audacity has a bunch of files with the '.lsp' extension. 2021-04-30T09:22:44Z igemnace quit (Quit: WeeChat 3.1) 2021-04-30T09:23:38Z madrik: I think ASDF's defsystem allows for using '.cl' files, but with a special option. 2021-04-30T09:26:52Z theothornhill quit (Ping timeout: 252 seconds) 2021-04-30T09:28:13Z igemnace joined #lisp 2021-04-30T09:28:39Z frost-lab joined #lisp 2021-04-30T09:36:15Z sz0 quit (Quit: Connection closed for inactivity) 2021-04-30T09:41:09Z lotuseater joined #lisp 2021-04-30T09:41:29Z xsperry joined #lisp 2021-04-30T09:43:41Z heisig joined #lisp 2021-04-30T09:52:41Z amb007 quit (Ping timeout: 240 seconds) 2021-04-30T09:53:57Z shifty quit (Ping timeout: 265 seconds) 2021-04-30T09:54:10Z shifty joined #lisp 2021-04-30T09:54:49Z orivej joined #lisp 2021-04-30T10:00:06Z vegansbane6963 quit (Quit: The Lounge - https://thelounge.chat) 2021-04-30T10:02:59Z trokotech joined #lisp 2021-04-30T10:10:05Z frgo quit (Remote host closed the connection) 2021-04-30T10:10:30Z frgo joined #lisp 2021-04-30T10:15:26Z madrik quit (Ping timeout: 240 seconds) 2021-04-30T10:20:18Z v0|d joined #lisp 2021-04-30T10:28:38Z pyc: Is there a way to create a local variable in the current scope? I know LET but LET requires me to open a new scope and if I need LET within LET, then the code becomes deeply nested. Is there a way to do something like (setq-local foo "value") such that it is defined in the current DEFUN but not defined in the global scope? 2021-04-30T10:29:33Z no-defun-allowed: You could write (let (x) ...) to leave X "uninitialized" and then set it later. 2021-04-30T10:29:50Z no-defun-allowed: By "uninitialized" I mean it will be bound to NIL, but the expectation of the reader is that it won't be used until it is set. 2021-04-30T10:32:38Z long4mud quit (Read error: No route to host) 2021-04-30T10:33:37Z pyc: no-defun-allowed: Is (let (x) ...) correct syntax? Or should it be (let ((x)) ...) ? 2021-04-30T10:34:17Z no-defun-allowed: That is correct, yes. 2021-04-30T10:34:58Z long4mud joined #lisp 2021-04-30T10:35:24Z pyc: I am confused now. are (let (x) ...) and (let ((x)) ...) equivalent? 2021-04-30T10:36:02Z no-defun-allowed: I don't think (let ((x)) ...) is correct syntax. 2021-04-30T10:37:12Z pyc: Okay, Understood finally from here: http://www.lispworks.com/documentation/HyperSpec/Body/s_let_l.htm When there is no init-form, the extra parentheses isn't required. 2021-04-30T10:41:10Z thijso joined #lisp 2021-04-30T10:42:21Z varjag joined #lisp 2021-04-30T10:42:27Z frost-lab quit (Quit: Connection closed) 2021-04-30T10:43:34Z nicktick joined #lisp 2021-04-30T10:43:38Z amb007 joined #lisp 2021-04-30T10:44:12Z Guest72431 is now known as notzmv 2021-04-30T10:47:11Z vegansbane6963 joined #lisp 2021-04-30T10:48:30Z ramHero quit (Remote host closed the connection) 2021-04-30T10:48:59Z monolithic quit (Remote host closed the connection) 2021-04-30T10:49:25Z monolithic joined #lisp 2021-04-30T10:51:50Z sy_ joined #lisp 2021-04-30T10:55:12Z sy_ quit (Client Quit) 2021-04-30T11:00:02Z chipolux quit (Quit: chipolux) 2021-04-30T11:03:59Z Shinmera: no-defun-allowed: they're both correct. 2021-04-30T11:04:45Z no-defun-allowed: Huh, so it is. 2021-04-30T11:05:59Z fourier quit (Ping timeout: 246 seconds) 2021-04-30T11:07:19Z random-nick joined #lisp 2021-04-30T11:11:00Z jeosol joined #lisp 2021-04-30T11:11:43Z notzmv quit (Read error: Connection reset by peer) 2021-04-30T11:14:28Z notzmv joined #lisp 2021-04-30T11:20:57Z dtman34 quit (Ping timeout: 265 seconds) 2021-04-30T11:21:00Z dtman34_ joined #lisp 2021-04-30T11:29:35Z White_Flame: pyc: &aux in the lambda list will create variables for the DEFUN scope without LET 2021-04-30T11:31:52Z attila_lendvai quit (Ping timeout: 240 seconds) 2021-04-30T11:33:59Z edgar-rft joined #lisp 2021-04-30T11:34:43Z White_Flame: but any lexical variable is generally modelled equivalently, all can be rewritten as ((lambda (local1 local2...) ...) init1 init2...) in the current scope 2021-04-30T11:43:36Z slyrus joined #lisp 2021-04-30T11:44:20Z phoe: there's a nasty edge case if variables are named after lambda list keywords but most of the time you don't need to care about it 2021-04-30T11:44:41Z White_Flame: yep 2021-04-30T11:44:49Z White_Flame: hence the ampersand :) 2021-04-30T11:46:51Z ljavorsk quit (Ping timeout: 268 seconds) 2021-04-30T11:47:13Z shifty quit (Ping timeout: 260 seconds) 2021-04-30T11:48:00Z shifty joined #lisp 2021-04-30T11:48:01Z slyrus quit (Ping timeout: 265 seconds) 2021-04-30T11:48:56Z CrazyPython joined #lisp 2021-04-30T11:53:06Z CrazyPython quit (Client Quit) 2021-04-30T11:54:57Z rodriga joined #lisp 2021-04-30T11:55:13Z nij: How are lambdas compiled into machine codes? 2021-04-30T11:56:56Z White_Flame: depends on the compiler 2021-04-30T11:57:06Z White_Flame: but, same as any function, really 2021-04-30T11:57:24Z White_Flame: just does more runtime parameter checking to support &optional, &key, etc if present 2021-04-30T11:58:10Z daphnis joined #lisp 2021-04-30T11:58:13Z lonjil quit (Quit: No Ping reply in 180 seconds.) 2021-04-30T11:58:13Z White_Flame: if you mean the example above, one would hope the compiler would inline literal lambda usage like that 2021-04-30T12:00:01Z lonjil joined #lisp 2021-04-30T12:00:19Z nij: I mean something as easy as (lambda (x) x) 2021-04-30T12:00:40Z White_Flame: check that there's 1 parameter, else error. put parameter into return value. return 2021-04-30T12:00:41Z nij: Does it got compiled first to fasl, and then to assembly? 2021-04-30T12:00:52Z White_Flame: fasl is only when you compile a file 2021-04-30T12:01:40Z klltkr joined #lisp 2021-04-30T12:01:44Z White_Flame: and the fasl isn't a compiled snapshot, like a saved image is. It's fast-loading instructions to do the same that the toplevel stuff does 2021-04-30T12:02:30Z nij: hmm 2021-04-30T12:02:51Z nij: Does it even get compiled into assembly at some point? 2021-04-30T12:03:00Z phoe: if you use SBCL, then yes 2021-04-30T12:03:03Z White_Flame: in most implmeentations, yes 2021-04-30T12:03:13Z White_Flame: (disassemble (lambda (x) x)) 2021-04-30T12:04:13Z nij: lisp => assembly => fasl? 2021-04-30T12:04:30Z White_Flame: of course, for something that small you'll probably be looking mostly at the function epilogue, especially if the 1st parameter & return registers are the same 2021-04-30T12:04:45Z no-defun-allowed: Lisp -> some stuff -> assembly 2021-04-30T12:05:04Z White_Flame: lisp => assembly, or .lisp file => .fasl file => assembly 2021-04-30T12:05:19Z hypercube joined #lisp 2021-04-30T12:05:54Z White_Flame: (I'm no expert on fasl stuff, though) 2021-04-30T12:06:00Z nij: Do both ways give the same assembly? 2021-04-30T12:06:06Z White_Flame: probably 2021-04-30T12:06:20Z nij: I've heard in elisp there are at least two ways, and the end results are different. 2021-04-30T12:06:23Z nij: Horrible.. 2021-04-30T12:06:33Z White_Flame: there might be some environmental differences that cause codegen change, like having everything available in a single compilation unit or not 2021-04-30T12:08:31Z nij: amazing.. 2021-04-30T12:10:26Z White_Flame: and if you had macros in your fasl files, they'd still evaluate at load, and if they read global vars or config or anything, they'd generate different machine code based on what was there at time of .fasl load 2021-04-30T12:10:35Z White_Flame: (I might be wrong on that, though) 2021-04-30T12:13:08Z CrazyPython joined #lisp 2021-04-30T12:14:35Z hjudt quit (Ping timeout: 246 seconds) 2021-04-30T12:15:10Z White_Flame: yeah, that is wrong. macroexpansion is fully done with compile-file as well 2021-04-30T12:16:04Z nij: Hmm.. so how to compile is not in spec, and dependent to each implementations.. I guess I have to study the source of sbcl then. 2021-04-30T12:16:17Z White_Flame: what are you trying to find? 2021-04-30T12:17:07Z nij: Understand how lisp codes are turned into machine codes. 2021-04-30T12:17:38Z White_Flame: disassemble is the easiest way 2021-04-30T12:17:58Z White_Flame: and there's likely some internals docs in sbcl, explaining the internal ABI 2021-04-30T12:19:33Z White_Flame: if you literally mean the "how" of compilation, that's stock compiler stuff 2021-04-30T12:23:37Z nij: I see.. it seems like the magic is hidden in https://github.com/sbcl/sbcl/blob/d35ad6f9bee212499cb827fec3195bf2064c10a2/src/compiler/target-disassem.lisp#L2060 2021-04-30T12:23:44Z nij: which disassemble calls 2021-04-30T12:23:57Z Nilby: Just read to code to a lisp compiler. You don't have to fully understand it to get an idea how it works. 2021-04-30T12:24:39Z nij: You mean code a lisp compiler by myself, Nilby? 2021-04-30T12:24:50Z Nilby: _read_ 2021-04-30T12:25:49Z nij: ? what should I read 2021-04-30T12:26:23Z Nilby: sbcl, ccl 2021-04-30T12:26:39Z nature joined #lisp 2021-04-30T12:26:42Z White_Flame: I meant to run DISASSEMBLE and look at the output, not read DISASSEMBLE's source code ;) 2021-04-30T12:27:10Z shifty quit (Ping timeout: 265 seconds) 2021-04-30T12:27:27Z White_Flame: there's also sb-disasm:disassemble-code-component which can display more componentry, like function prologues, that disassemble on its own might elide 2021-04-30T12:27:30Z shifty joined #lisp 2021-04-30T12:27:37Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T12:27:51Z slyrus joined #lisp 2021-04-30T12:27:59Z White_Flame: *sb-disassem: 2021-04-30T12:30:33Z nij: Oh, interesting i can see that NIL is stored at #x50100117 ! 2021-04-30T12:30:37Z Nilby: For example you can see sbcl defines compilation in terms of VOPs or virtual operations, which are like a macro template for generating platform specific code. Operations in lisp are defined to be a set of these virtual operations which have various properties, pre/post conditions, etc. Then these are evntualy refined down to platform instructions in lisp objects, which can be turned into bits and stored in memory and executed or 2021-04-30T12:30:37Z Nilby: written to fasls. 2021-04-30T12:30:49Z nij: How do I see where other objects are stored?! 2021-04-30T12:31:12Z amb007 joined #lisp 2021-04-30T12:31:31Z White_Flame: only a few are fixed like that 2021-04-30T12:32:03Z White_Flame: IP-relative locations pointing to stuff are likely movable by GC 2021-04-30T12:32:06Z slyrus quit (Ping timeout: 240 seconds) 2021-04-30T12:32:28Z Nilby: ccl does it a little different, but not to far off. 2021-04-30T12:32:53Z White_Flame: yep, this is all deep in implementation specifics 2021-04-30T12:33:22Z Nilby: ecl compiles to C, and sends it to the c compiler 2021-04-30T12:34:30Z jdz: clisp compiles to bytecode, which is a bit like middle ground. 2021-04-30T12:40:57Z Nilby: I apologize to compiler experts for my shabby descriptions. 2021-04-30T12:41:47Z thecoffemaker quit (Ping timeout: 260 seconds) 2021-04-30T12:42:07Z shifty quit (Ping timeout: 252 seconds) 2021-04-30T12:42:39Z shifty joined #lisp 2021-04-30T12:43:54Z thecoffemaker joined #lisp 2021-04-30T12:44:11Z Bike joined #lisp 2021-04-30T12:45:59Z jackdaniel: ecl has two compilation targets: bytecodes and targetting C source code 2021-04-30T12:47:10Z Jeff15 joined #lisp 2021-04-30T12:48:04Z Jeff15 quit (Client Quit) 2021-04-30T12:50:43Z CrazyPython quit 2021-04-30T12:52:05Z shifty quit (Ping timeout: 260 seconds) 2021-04-30T12:52:35Z shifty joined #lisp 2021-04-30T12:56:22Z hjudt joined #lisp 2021-04-30T13:00:26Z daphnis quit (Ping timeout: 246 seconds) 2021-04-30T13:00:44Z daphnis joined #lisp 2021-04-30T13:01:19Z gourdhen joined #lisp 2021-04-30T13:01:42Z hjudt quit (Ping timeout: 252 seconds) 2021-04-30T13:02:01Z hjudt joined #lisp 2021-04-30T13:02:48Z ukari quit (Remote host closed the connection) 2021-04-30T13:03:58Z ukari joined #lisp 2021-04-30T13:04:31Z shifty quit (Ping timeout: 260 seconds) 2021-04-30T13:04:41Z shifty joined #lisp 2021-04-30T13:05:37Z daphnis quit (Ping timeout: 260 seconds) 2021-04-30T13:05:40Z long4mud quit (Quit: WeeChat 3.0.1) 2021-04-30T13:06:01Z ceblan quit (Remote host closed the connection) 2021-04-30T13:07:24Z ceblan joined #lisp 2021-04-30T13:08:56Z Inline joined #lisp 2021-04-30T13:09:15Z igemnace quit (Quit: WeeChat 3.1) 2021-04-30T13:10:43Z shifty quit (Ping timeout: 252 seconds) 2021-04-30T13:10:44Z elderthunk quit (Quit: Connection closed for inactivity) 2021-04-30T13:10:59Z contrapunctus left #lisp 2021-04-30T13:11:30Z shifty joined #lisp 2021-04-30T13:12:53Z beach: Suppose we had a parsed and exploitable version of the dpANS. I mean, we don't but such a thing could be had if enough effort were put into it. If we did have such a thing, how should it be managed? 2021-04-30T13:13:02Z beach: I feel it would not be advantageous to have a multitude of clones and individual modifications to it. What would we use it for? 2021-04-30T13:13:08Z beach: I can see at least a better Common Lisp UltraSpec, i.e., a free version of the Common Lisp HyperSpec with better markup. 2021-04-30T13:13:14Z beach: I can also see a version of it in the form of an object graph as I have suggested many times for documentation representation. 2021-04-30T13:13:15Z beach: And I would like to use such a thing for WSCL, i.e., create a more specified specification that would then also keep (as footnotes maybe) the original wording of the standard, and explain the differences. Any suggestions? 2021-04-30T13:13:22Z contrapunctus joined #lisp 2021-04-30T13:17:26Z jackdaniel: re managing: there should be a trusted authority to moderate it (i.e to remove spam or to resolve conflicts) 2021-04-30T13:17:45Z shifty quit (Ping timeout: 260 seconds) 2021-04-30T13:17:56Z Nilby: I just want to be able to access pieces of it in development tools, and be able to control how it's presented. But I support all those other uses. 2021-04-30T13:18:15Z shifty joined #lisp 2021-04-30T13:19:20Z pyc: do you ever use the format control "~d"? I see "~a" suffice for most situation. Is it a good practice to use "~a" all the time and use other format controls only when we need to? 2021-04-30T13:19:48Z jackdaniel: re different versions of the same part of the document - either there are different versions linked in the same page (I'm not sure what to do with footnotes - they may not apply to the implementation-specific version) 2021-04-30T13:20:41Z jackdaniel: or there is one "base version", and implementation-specific things go after that under different sections 2021-04-30T13:21:29Z jackdaniel: (or as footnotes of course) 2021-04-30T13:22:00Z nij: I just fancy a better presentation will drag more people into #lisp. But I support all those other uses. 2021-04-30T13:22:01Z Nilby: pyc: Since ~d will fallback to ~a, I think using ~d can help know the intent. 2021-04-30T13:22:15Z narimiran quit (Remote host closed the connection) 2021-04-30T13:22:17Z beach: I am paying attention to all suggestions, and I may ask questions about them, but I am not going to argue a particular idea myself at this point. 2021-04-30T13:23:27Z narimiran joined #lisp 2021-04-30T13:25:33Z hjudt quit (Ping timeout: 240 seconds) 2021-04-30T13:26:05Z xificurC: beach thanks for the clarification, I'm responding a bit late as I was away 2021-04-30T13:26:10Z beach: nij: More people will use Lisp when it starts being taught in more undergraduate programs in computer science. I am now of the opinion that any such undergraduate program should teach Common Lisp, or something similar, in order to be considered as such. I don't know of a single person who thought about using Common Lisp and then decided against it because of the markup of the Common Lisp HyperSpec. 2021-04-30T13:26:10Z beach: 2021-04-30T13:26:11Z orivej quit (Ping timeout: 240 seconds) 2021-04-30T13:26:40Z beach: xificurC: Sure. Did you try the suggestion with strings to see what it does? I think that was a clever idea. 2021-04-30T13:26:43Z nij: If I become a professor, I will volunteer teaching in CL. But before that I must have polish my skills xD 2021-04-30T13:27:15Z nij: That's fair point. 2021-04-30T13:27:29Z wsinatra joined #lisp 2021-04-30T13:27:43Z beach: xificurC: With that example, the duplicate elements are distinguishable, but they are still considered duplicates because of the comparison function. 2021-04-30T13:28:00Z xificurC: beach no but I understand what's going on now. I still find the wording I quoted utterly misleading though 2021-04-30T13:28:12Z xificurC: beach yeah it was a good suggestion 2021-04-30T13:28:12Z phoe: nij: brzmi dobrze, jeśli będziesz potrzebował pomocy to pisz śmiało 2021-04-30T13:28:12Z beach: OK. 2021-04-30T13:28:24Z nij: phoe ok 2021-04-30T13:28:34Z phoe: oops sorry, I polished a bit too much 2021-04-30T13:28:41Z nij: lokllll 2021-04-30T13:29:27Z CrazyPython joined #lisp 2021-04-30T13:32:55Z aeth quit (Ping timeout: 268 seconds) 2021-04-30T13:36:08Z hjudt joined #lisp 2021-04-30T13:38:26Z afterK joined #lisp 2021-04-30T13:39:51Z cage_ joined #lisp 2021-04-30T13:43:09Z ukari quit (Remote host closed the connection) 2021-04-30T13:43:52Z ukari joined #lisp 2021-04-30T13:45:15Z jdz: phoe: polish notation is off-topic on #lisp 2021-04-30T13:45:29Z beach: :) 2021-04-30T13:46:20Z Nilby: but at least we can have finnish-output 2021-04-30T13:47:07Z ljavorsk joined #lisp 2021-04-30T13:47:42Z beach: And Czech-type. 2021-04-30T13:48:03Z azrazalea quit (Ping timeout: 248 seconds) 2021-04-30T13:50:01Z shifty quit (Ping timeout: 260 seconds) 2021-04-30T13:54:11Z hjudt quit (Ping timeout: 240 seconds) 2021-04-30T13:54:23Z azrazalea joined #lisp 2021-04-30T13:55:35Z beach: Would there be reasons to grant access selectively to a parsed dpANS? It would be "easy" to accomplish, since the result of the analysis would be automatically subject to copyright according to the Berne convention. If so, what kind of access would be granted/refused? 2021-04-30T13:56:06Z beach: It may require legal actions to enforce, of course, and funds for such actions may not be available. 2021-04-30T13:57:27Z ukari quit (Remote host closed the connection) 2021-04-30T13:58:14Z ukari joined #lisp 2021-04-30T14:00:15Z _death: some levenshtein-based suggestions: chad-code, qatar (cadar), poland (logand), read-char-no-ghana, egypt (expt), canada (cadadr) 2021-04-30T14:05:37Z _death: https://plaster.tymoon.eu/view/2419#2419 2021-04-30T14:06:16Z jdz: We amateurs did not look silly enough for _death. 2021-04-30T14:07:48Z jeosol quit (Quit: Connection closed) 2021-04-30T14:10:05Z hjudt joined #lisp 2021-04-30T14:12:20Z dieggsy: _death: this is wonderful 2021-04-30T14:12:28Z Bike: read-char-no-ghana... 2021-04-30T14:13:12Z dieggsy: ...i have to wonder about the similarity of "chad" to *LOAD-PATHNAME* 2021-04-30T14:13:44Z dieggsy: that can't possibly be a levenshtein distance less than 2 2021-04-30T14:13:54Z slyrus joined #lisp 2021-04-30T14:15:14Z dickbarends joined #lisp 2021-04-30T14:15:35Z Bike: it's obviously breaking up the hyphenations 2021-04-30T14:15:40Z Bike: and chad is distance 2 from load 2021-04-30T14:15:41Z afterK quit (Quit: WeeChat 3.1) 2021-04-30T14:16:41Z phoe: oh gods what have I started 2021-04-30T14:16:57Z slyrus quit (Remote host closed the connection) 2021-04-30T14:17:32Z slyrus joined #lisp 2021-04-30T14:18:17Z _death: I should've just substituted the state for the similar word in the name, but oh well ;) 2021-04-30T14:20:16Z ebrasca joined #lisp 2021-04-30T14:21:08Z jackdaniel: to bring bad puns to another level I'll just say that you sound as if you had a lisp 2021-04-30T14:22:15Z slyrus quit (Ping timeout: 268 seconds) 2021-04-30T14:23:07Z xificurC quit (Quit: Connection closed) 2021-04-30T14:23:09Z aeth joined #lisp 2021-04-30T14:23:12Z hjudt quit (Ping timeout: 240 seconds) 2021-04-30T14:24:03Z xkapastel joined #lisp 2021-04-30T14:25:06Z shka_ quit (Ping timeout: 240 seconds) 2021-04-30T14:28:58Z ljavorsk quit (Ping timeout: 252 seconds) 2021-04-30T14:29:42Z dieggsy: Bike: oh, i'm an idiot thanks 2021-04-30T14:30:20Z Sheilong joined #lisp 2021-04-30T14:30:24Z _death: edited the paste 2021-04-30T14:30:34Z ebrasca: Do you have some recomendation for decoding/encoding binary formats? 2021-04-30T14:30:35Z dieggsy: _death: what is adeht/un/states ? 2021-04-30T14:32:54Z _death: dieggsy: adeht is code that runs on my server (adeht.org).. some years ago I wrote something to scrape some UN press releases and make some funny image based on them 2021-04-30T14:33:52Z dieggsy: ah, ok 2021-04-30T14:34:15Z hjudt joined #lisp 2021-04-30T14:34:22Z Oddity quit (Quit: Quit) 2021-04-30T14:34:36Z dieggsy: _death: is that a hunchentoot server ? 2021-04-30T14:34:49Z Oddity joined #lisp 2021-04-30T14:34:59Z _death: dieggsy: yes, behind nginx 2021-04-30T14:36:31Z _death: dieggsy: apparently I updated that image in 2020 for some irc joke.. https://adeht.org/img/ban.png 2021-04-30T14:38:47Z dieggsy: _death: ah - any pointers on that setup? I currently have a chicken scheme server but i've been thinking about moving to hunchentoot and/or putting it behind nginx as well 2021-04-30T14:39:16Z dieggsy: dunno much about nginx, i think i sort set it up *once* 2021-04-30T14:42:01Z pjb: jdz: not at all, lisp is almost pure polish notation. We just add parentheses for two reasons: 1- allow for variable arity operators, 2- allow to process code without knowing a-priori the arity of the operators. 2021-04-30T14:42:35Z pjb: But if you restrict yourself to fixed arity operators, you can remove the parentheses: + 2 * 3 4 vs. (+ 2 (* 3 4)) 2021-04-30T14:42:50Z dieggsy: pjb: i think it was a joke about the polish language 2021-04-30T14:43:08Z pjb: dieggsy: I noticed, but still :-) 2021-04-30T14:43:20Z _death: dieggsy: I set it up many years ago.. reverse proxy and detachtty.. I have https://zaries.wordpress.com/2010/11/09/lisp-web-server-from-scratch-using-hunchentoot-and-nginx/ in history, but it's very old.. there are newer blog posts on the web 2021-04-30T14:43:40Z pjb: All lispers should learn Polish, and polishing. 2021-04-30T14:46:23Z necrontab quit (Quit: Connection closed for inactivity) 2021-04-30T14:47:01Z dieggsy: pjb: i've sort of talked this to death but i used emacs calc a decent amount in college 2021-04-30T14:47:53Z ebrasca: pjb: I live in Poland but I don't know how to write Polish... 2021-04-30T14:48:28Z dieggsy: i've also polished like, five pieces of fine silverware in my life lol 2021-04-30T14:48:45Z g0d_shatter joined #lisp 2021-04-30T14:48:49Z jcowan: I once worked on an ISLISP implementation on top of CL, since kmp would not release his; the working name was Blésité, anglicized as Blesity. Gave up eventually. 2021-04-30T14:50:12Z hjudt quit (Ping timeout: 240 seconds) 2021-04-30T14:52:25Z yonkunas quit (Quit: Connection closed for inactivity) 2021-04-30T14:52:53Z beach: Nice name. 2021-04-30T14:53:45Z jcowan: Question for all: does anyone have a sense of how much adjustable strings are used? My sense is that there is a cross-language tendency to treat strings as immutable, and even when mutable, as unadjustable. 2021-04-30T14:54:42Z jcowan: s/are used/& in CL/ 2021-04-30T14:54:52Z Bike: they don't seem common to me. with-output-to-string is more usual 2021-04-30T14:58:12Z jcowan: Thanks. 2021-04-30T14:58:46Z _death: could make sense in a READ-LINE-INTO operator 2021-04-30T14:58:56Z shka_ joined #lisp 2021-04-30T15:01:17Z hjudt joined #lisp 2021-04-30T15:01:51Z trokotech quit (Remote host closed the connection) 2021-04-30T15:03:21Z trokotech joined #lisp 2021-04-30T15:04:51Z Nilby: I use adjustable strings/arrays quite a bit, but maybe I shouldn't. 2021-04-30T15:05:40Z aartaka quit (Ping timeout: 252 seconds) 2021-04-30T15:05:42Z beach: jcowan: What are you planning to do with this information? 2021-04-30T15:06:05Z varjag quit (Ping timeout: 246 seconds) 2021-04-30T15:09:46Z aeth: jcowan: An example of an adjustable string, when reading Airship Scheme symbols: https://gitlab.com/mbabich/airship-scheme/-/blob/12dbbb3b0fe7ea7cf82e44cbaf736729cc005469/scheme-read.lisp#L851 2021-04-30T15:11:08Z jeosol joined #lisp 2021-04-30T15:11:16Z dieggsy: aeth: is there some sort of status/progress page for airship scheme ? 2021-04-30T15:11:30Z aeth: jcowan: That file might be the only time I've done that, though, because it is very niche 2021-04-30T15:11:30Z hjudt quit (Ping timeout: 252 seconds) 2021-04-30T15:12:11Z jcowan: Thanks. I had forgotten that adjustable arrays work only when the max size is known in advance. 2021-04-30T15:12:56Z engblom: If I have something like ((:a 1)(:a 3)(:a 2)), how do I find the higest value of property :a from a plists? Is there something simpler than sorting the list and taking the first element (which I know how to do)? 2021-04-30T15:14:00Z beach: engblom: Loop and keep the max. And that is not a plist. 2021-04-30T15:14:02Z aeth: dieggsy: Progress, yes, but ignore the actual dates unless you enjoy seeing things be pushed back months at a time (I just did that again). https://gitlab.com/mbabich/airship-scheme/-/milestones 2021-04-30T15:14:28Z engblom: beach: each (:a 1) are plists or? 2021-04-30T15:14:41Z dieggsy: aeth: cool, thanks 2021-04-30T15:15:10Z elderK quit (Quit: Connection closed for inactivity) 2021-04-30T15:15:20Z aeth: dieggsy: The features are well specified, but the timeline isn't 2021-04-30T15:15:48Z aartaka joined #lisp 2021-04-30T15:17:01Z beach: engblom: If you like, but then there is only one element in each, so no need to compute the max. The entire thing looks like an association list to me. 2021-04-30T15:18:29Z beach: engblom: Sorting is O(n log n) but looping and keeping the max is O(n). 2021-04-30T15:20:37Z jdz: engblom: There's (loop for cell in '((:a 1)(:a 3)(:a 2)) maximize (second cell)), but that will get you the value, not the property list with the highest value. 2021-04-30T15:21:54Z _death: (alexandria:extremum '((:a 1) (:a 3) (:a 2)) #'> :key (lambda (plist) (getf plist :a))) 2021-04-30T15:26:34Z aartaka quit (Ping timeout: 252 seconds) 2021-04-30T15:30:56Z aeth quit (Ping timeout: 260 seconds) 2021-04-30T15:32:22Z varjag joined #lisp 2021-04-30T15:32:22Z aeth joined #lisp 2021-04-30T15:36:20Z engblom: beach: It was a simplified example. The real plists are bigger and having other values 2021-04-30T15:36:31Z beach: Oh, OK. 2021-04-30T15:36:33Z engblom: jdz: Thanks, that is more simple than what I just wrote 2021-04-30T15:38:38Z engblom: _death: I actually already use alexandria, so your solution might actually make most sense 2021-04-30T15:39:26Z _death: if you just want the value a simple reduce or loop like has been suggested is good 2021-04-30T15:41:52Z engblom: _death: Yes, I just need the value, nothing else 2021-04-30T15:42:55Z hjudt joined #lisp 2021-04-30T15:44:23Z vms14 joined #lisp 2021-04-30T15:45:41Z andreyorst quit (Ping timeout: 260 seconds) 2021-04-30T15:48:40Z Nilby quit (Ping timeout: 276 seconds) 2021-04-30T16:05:51Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T16:06:32Z amb007 joined #lisp 2021-04-30T16:08:55Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T16:09:19Z amb007 joined #lisp 2021-04-30T16:09:35Z aeth quit (Quit: ...) 2021-04-30T16:10:02Z aeth joined #lisp 2021-04-30T16:10:42Z happyfish joined #lisp 2021-04-30T16:10:43Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T16:10:47Z gitgood joined #lisp 2021-04-30T16:10:52Z amb007 joined #lisp 2021-04-30T16:12:30Z gitgood quit (Remote host closed the connection) 2021-04-30T16:12:30Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T16:13:07Z amb007 joined #lisp 2021-04-30T16:13:22Z gitgood joined #lisp 2021-04-30T16:15:19Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T16:15:32Z amb007 joined #lisp 2021-04-30T16:16:40Z long4mud joined #lisp 2021-04-30T16:16:52Z attila_lendvai joined #lisp 2021-04-30T16:16:52Z attila_lendvai quit (Changing host) 2021-04-30T16:16:52Z attila_lendvai joined #lisp 2021-04-30T16:19:41Z saganman quit (Quit: Leaving) 2021-04-30T16:19:43Z skapata joined #lisp 2021-04-30T16:19:55Z hjudt quit (Ping timeout: 252 seconds) 2021-04-30T16:22:08Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T16:23:07Z amb007 joined #lisp 2021-04-30T16:25:04Z happyfish left #lisp 2021-04-30T16:29:35Z jeosol quit (Quit: Connection closed) 2021-04-30T16:30:43Z hjudt joined #lisp 2021-04-30T16:31:18Z mindCrime_ joined #lisp 2021-04-30T16:32:51Z Inline quit (Ping timeout: 248 seconds) 2021-04-30T16:36:25Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T16:37:16Z amb007 joined #lisp 2021-04-30T16:39:19Z yonkunas joined #lisp 2021-04-30T16:40:49Z hjudt quit (Ping timeout: 252 seconds) 2021-04-30T16:42:15Z rogersm joined #lisp 2021-04-30T16:44:34Z aartaka joined #lisp 2021-04-30T16:45:14Z imode joined #lisp 2021-04-30T16:46:32Z hjudt joined #lisp 2021-04-30T16:46:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T16:47:27Z amb007 joined #lisp 2021-04-30T16:49:35Z hiroaki quit (Ping timeout: 260 seconds) 2021-04-30T16:49:36Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T16:50:49Z amb007 joined #lisp 2021-04-30T16:53:08Z orivej joined #lisp 2021-04-30T16:55:13Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T16:55:55Z amb007 joined #lisp 2021-04-30T16:57:14Z klltkr quit (Quit: Textual IRC Client: www.textualapp.com) 2021-04-30T16:57:51Z orivej quit (Ping timeout: 260 seconds) 2021-04-30T16:59:35Z slyrus joined #lisp 2021-04-30T17:00:15Z mindCrime_ quit (Ping timeout: 265 seconds) 2021-04-30T17:02:15Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T17:02:30Z amb007 joined #lisp 2021-04-30T17:03:03Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T17:03:50Z amb007 joined #lisp 2021-04-30T17:03:54Z andreyorst[m] joined #lisp 2021-04-30T17:04:49Z orivej joined #lisp 2021-04-30T17:06:23Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T17:07:20Z amb007 joined #lisp 2021-04-30T17:09:33Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T17:09:46Z amb007 joined #lisp 2021-04-30T17:13:53Z DHARMAKAYA joined #lisp 2021-04-30T17:16:36Z g0d_shatter quit (Quit: Leaving) 2021-04-30T17:18:53Z pbaille_ joined #lisp 2021-04-30T17:18:54Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T17:19:23Z amb007 joined #lisp 2021-04-30T17:20:29Z orivej quit (Ping timeout: 246 seconds) 2021-04-30T17:21:31Z pbaille quit (Ping timeout: 252 seconds) 2021-04-30T17:21:32Z andreyorst[m] quit (Read error: Connection reset by peer) 2021-04-30T17:22:24Z andreyorst[m] joined #lisp 2021-04-30T17:22:56Z aartaka quit (Ping timeout: 260 seconds) 2021-04-30T17:23:12Z andreyorst[m] quit (Read error: Connection reset by peer) 2021-04-30T17:23:40Z aartaka joined #lisp 2021-04-30T17:23:44Z andreyorst[m] joined #lisp 2021-04-30T17:23:57Z shifty joined #lisp 2021-04-30T17:26:21Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T17:26:29Z amb007 joined #lisp 2021-04-30T17:27:53Z andreyor1 joined #lisp 2021-04-30T17:27:54Z andreyorst[m] quit (Read error: Connection reset by peer) 2021-04-30T17:27:54Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T17:28:41Z hjudt quit (Ping timeout: 240 seconds) 2021-04-30T17:29:24Z amb007 joined #lisp 2021-04-30T17:29:25Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T17:29:44Z amb007 joined #lisp 2021-04-30T17:30:05Z andreyor1 quit (Client Quit) 2021-04-30T17:30:46Z shifty quit (Ping timeout: 240 seconds) 2021-04-30T17:31:39Z shifty joined #lisp 2021-04-30T17:32:09Z Inline joined #lisp 2021-04-30T17:32:56Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T17:33:10Z amb007 joined #lisp 2021-04-30T17:33:24Z sbcltester joined #lisp 2021-04-30T17:33:43Z sbcltester: hello, does sbcl work well on windows? 2021-04-30T17:34:02Z luis: It's OK. 2021-04-30T17:34:06Z hjudt joined #lisp 2021-04-30T17:34:24Z sbcltester: does that mean it has regressions that affect only windows? 2021-04-30T17:34:47Z luis: It has windows-specific bugs, yes. 2021-04-30T17:35:03Z Duuqnd: It's not that bad though 2021-04-30T17:35:09Z DHARMAKAYA quit (Quit: Turning off a portion of this simulation.) 2021-04-30T17:35:14Z sbcltester: are you using it? 2021-04-30T17:35:21Z luis: Yes. 2021-04-30T17:35:29Z sbcltester: i am evaluating whether to use just clojure or sbcl 2021-04-30T17:35:36Z Duuqnd: When I have to use Windows I use SBCL and it works just fine 2021-04-30T17:35:52Z Duuqnd: so yeah, there are Windows specific bugs but it's not a deal breaker 2021-04-30T17:36:04Z ChoHag: Does anyone else call it 'sbaccle'? 2021-04-30T17:36:15Z sbcltester: is brodeaux thread supported? 2021-04-30T17:36:20Z luis: sbcltester: yes. 2021-04-30T17:36:34Z sbcltester: ok thanks all 2021-04-30T17:36:34Z karlosz quit (Quit: karlosz) 2021-04-30T17:36:44Z ChoHag: (It's my go-to for CL, btw, and I'm happy with it but not on windows) 2021-04-30T17:36:56Z shka_ quit (Ping timeout: 246 seconds) 2021-04-30T17:37:11Z karlosz joined #lisp 2021-04-30T17:37:14Z Duuqnd: All problems I've had are with Windows, not SBCL 2021-04-30T17:38:00Z sbcltester: as long as i can put a few workarounds that doesn't need patching the runtime :) 2021-04-30T17:38:00Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T17:38:38Z amb007 joined #lisp 2021-04-30T17:39:00Z luis: Duuqnd: so, the nastiest bug so far is that if you call C++ code that uses exceptions internally, they'll trip on SBCL's exception handler 2021-04-30T17:39:33Z vms14 quit (Ping timeout: 260 seconds) 2021-04-30T17:39:34Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T17:40:50Z amb007 joined #lisp 2021-04-30T17:45:10Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T17:45:30Z amb007 joined #lisp 2021-04-30T17:47:37Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T17:48:09Z amb007 joined #lisp 2021-04-30T17:50:14Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T17:50:56Z amb007 joined #lisp 2021-04-30T17:50:57Z contrapunctus left #lisp 2021-04-30T17:51:07Z contrapunctus joined #lisp 2021-04-30T17:51:46Z vaporatorius quit (Ping timeout: 252 seconds) 2021-04-30T17:52:35Z chipolux joined #lisp 2021-04-30T17:53:43Z attila_lendvai_ joined #lisp 2021-04-30T17:54:18Z attila_lendvai quit (Ping timeout: 252 seconds) 2021-04-30T17:54:56Z luis: you can't interrupt threads in FFI-land, that can be annoying too 2021-04-30T17:56:43Z irc_user joined #lisp 2021-04-30T17:56:44Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T17:57:14Z amb007 joined #lisp 2021-04-30T17:57:24Z drl joined #lisp 2021-04-30T17:58:46Z sbcltester quit (Quit: Connection closed) 2021-04-30T17:59:38Z sbcltester joined #lisp 2021-04-30T17:59:50Z gigamonkey: is there anything about SBCL on Windows that is painful within language standard? (i.e. excluding FFI and threads and whatnot) 2021-04-30T18:00:32Z gigamonkey: (I'm imagining that if I do a 2nd edition PCL I'd recommend SBCL since it now runs on Unix, MacOS, and Windows but I've never actually tried it on Windows.) 2021-04-30T18:01:09Z sbcltester: to be honest it might be better to tell people to use wsl2 in a book 2021-04-30T18:01:17Z sbcltester: but i need to use opengl 2021-04-30T18:03:00Z phoe: gigamonkey: yes, CRLF 2021-04-30T18:03:00Z luis: gigamonkey: I can't imagine what could go wrong there. (And I haven't seen it go wrong there in the past of 1.5 years of using it heavily on Windows.) 2021-04-30T18:03:30Z gigamonkey: phoe: how so? Are CRLF line endings not translated to #\Newline? 2021-04-30T18:03:30Z luis: phoe: oh god CRLF. Well that's not within the standard is it? 2021-04-30T18:03:38Z phoe: gigamonkey: (format t "~ 2021-04-30T18:03:40Z phoe: ") 2021-04-30T18:03:56Z phoe: on windows that is not #\Tilde #\Newline, that is #\Tilde #\Return #\Newline 2021-04-30T18:04:04Z phoe: and #\Tilde #\Return is undefined 2021-04-30T18:04:21Z gigamonkey: phoe: frankly, that's what I'd expect. 2021-04-30T18:04:25Z phoe: me too 2021-04-30T18:04:28Z attila_lendvai_ quit (*.net *.split) 2021-04-30T18:04:28Z chipolux quit (*.net *.split) 2021-04-30T18:04:28Z aartaka quit (*.net *.split) 2021-04-30T18:04:28Z gitgood quit (*.net *.split) 2021-04-30T18:04:28Z random-nick quit (*.net *.split) 2021-04-30T18:04:28Z vegansbane6963 quit (*.net *.split) 2021-04-30T18:04:28Z pve quit (*.net *.split) 2021-04-30T18:04:28Z kslt1 quit (*.net *.split) 2021-04-30T18:04:28Z gaqwas quit (*.net *.split) 2021-04-30T18:04:28Z hineios quit (*.net *.split) 2021-04-30T18:04:28Z xsperry quit (*.net *.split) 2021-04-30T18:04:28Z leo_song quit (*.net *.split) 2021-04-30T18:04:28Z acolarh quit (*.net *.split) 2021-04-30T18:04:28Z theBlackDragon quit (*.net *.split) 2021-04-30T18:04:28Z aindilis quit (*.net *.split) 2021-04-30T18:04:28Z add^_ quit (*.net *.split) 2021-04-30T18:04:28Z srandon111 quit (*.net *.split) 2021-04-30T18:04:28Z tgbugs quit (*.net *.split) 2021-04-30T18:04:28Z mathrick_ quit (*.net *.split) 2021-04-30T18:04:28Z phadthai quit (*.net *.split) 2021-04-30T18:04:28Z Ziemas quit (*.net *.split) 2021-04-30T18:04:28Z Ekho quit (*.net *.split) 2021-04-30T18:04:28Z matthewcroughan quit (*.net *.split) 2021-04-30T18:04:28Z d4ryus quit (*.net *.split) 2021-04-30T18:04:28Z X-Scale quit (*.net *.split) 2021-04-30T18:04:28Z joast quit (*.net *.split) 2021-04-30T18:04:28Z spaethnl quit (*.net *.split) 2021-04-30T18:04:28Z ChoHag quit (*.net *.split) 2021-04-30T18:04:29Z phoe: but still, it's a pain in the butt 2021-04-30T18:04:41Z phoe: on Windows all Lisp files need to be Linux-line-ended to be safe 2021-04-30T18:04:42Z luis: Yeah, ~ will signal an error 2021-04-30T18:04:45Z vaporatorius joined #lisp 2021-04-30T18:04:45Z vaporatorius quit (Changing host) 2021-04-30T18:04:45Z vaporatorius joined #lisp 2021-04-30T18:04:55Z sbcltester: most windows tools now a days work fine with LF only 2021-04-30T18:04:58Z karlosz quit (Quit: karlosz) 2021-04-30T18:05:03Z dtman34_ quit (Quit: ZNC 1.7.2+deb3 - https://znc.in) 2021-04-30T18:05:04Z phoe: yes, thankfully 2021-04-30T18:05:17Z phoe: but still, it can be a punch in the gut to people who don't suspect it 2021-04-30T18:05:18Z gigamonkey: Okay, maybe I never use literal line endings in format strings like that. 2021-04-30T18:05:23Z dtman34 joined #lisp 2021-04-30T18:06:11Z luis: We've patched SBCL with the hackiest CRLF support you can imagine. file-position returns wrong results. *sigh* 2021-04-30T18:06:39Z gigamonkey: I mean, CRLF is always the worst. But assuming, eg. READ-LINE properly consumes the CRLF and TERPRI and FRESH-LINE emit CRLFs, I think that's about the best you can hope for. 2021-04-30T18:06:52Z phoe: gigamonkey: some libraries do, and fail on windows/crlf 2021-04-30T18:06:52Z luis: gigamonkey: no it doesn't 2021-04-30T18:07:04Z attila_lendvai_ joined #lisp 2021-04-30T18:07:04Z chipolux joined #lisp 2021-04-30T18:07:04Z aartaka joined #lisp 2021-04-30T18:07:04Z gitgood joined #lisp 2021-04-30T18:07:04Z random-nick joined #lisp 2021-04-30T18:07:04Z vegansbane6963 joined #lisp 2021-04-30T18:07:04Z xsperry joined #lisp 2021-04-30T18:07:04Z pve joined #lisp 2021-04-30T18:07:04Z kslt1 joined #lisp 2021-04-30T18:07:04Z gaqwas joined #lisp 2021-04-30T18:07:04Z hineios joined #lisp 2021-04-30T18:07:04Z srandon111 joined #lisp 2021-04-30T18:07:04Z leo_song joined #lisp 2021-04-30T18:07:04Z acolarh joined #lisp 2021-04-30T18:07:04Z theBlackDragon joined #lisp 2021-04-30T18:07:04Z aindilis joined #lisp 2021-04-30T18:07:04Z add^_ joined #lisp 2021-04-30T18:07:04Z tgbugs joined #lisp 2021-04-30T18:07:04Z mathrick_ joined #lisp 2021-04-30T18:07:04Z phadthai joined #lisp 2021-04-30T18:07:04Z Ziemas joined #lisp 2021-04-30T18:07:04Z matthewcroughan joined #lisp 2021-04-30T18:07:04Z d4ryus joined #lisp 2021-04-30T18:07:04Z X-Scale joined #lisp 2021-04-30T18:07:04Z joast joined #lisp 2021-04-30T18:07:04Z spaethnl joined #lisp 2021-04-30T18:07:04Z ChoHag joined #lisp 2021-04-30T18:07:15Z gigamonkey: FILE-POSITION also probably doesn't work well with multi-byte encodings of text, right? 2021-04-30T18:07:17Z gigamonkey: luis: doesn't do which? 2021-04-30T18:07:37Z matthewcroughan quit (Max SendQ exceeded) 2021-04-30T18:07:37Z luis: gigamonkey: SBCL doesn't do any sort of CRLF <-> #\Newline conversion 2021-04-30T18:07:47Z matthewcroughan joined #lisp 2021-04-30T18:07:48Z gigamonkey: oh. :-( 2021-04-30T18:07:56Z phoe: gigamonkey: that depends, I guess 2021-04-30T18:08:35Z luis: gigamonkey: but, hey, if you tell us that's the only thing stopping you from recommending it in PCL2, the priority for that issue might increase dramatically :D 2021-04-30T18:08:49Z attila_lendvai_ quit (Ping timeout: 252 seconds) 2021-04-30T18:08:58Z phoe: I think FILE-POSITION is based on an internal counter due to utf-8 or something 2021-04-30T18:09:14Z srandon1112 joined #lisp 2021-04-30T18:09:14Z luis: file-position works fine with multi-byte encondings 2021-04-30T18:09:22Z srandon111 quit (Ping timeout: 252 seconds) 2021-04-30T18:09:26Z srandon1112 left #lisp 2021-04-30T18:09:26Z phoe: oh? what's the solution? 2021-04-30T18:09:47Z gigamonkey: luis: really? That's cool. But presumably expensive. 2021-04-30T18:10:14Z gourdhen: this is a weird question... but could someone recommend an article or link about how and why they enjoy coding? I have been trying to code for years - but I am so friggin indecisive about which language to learn. 2021-04-30T18:10:38Z gigamonkey: luis: I'll let you know if I can work out the details with Apress. But if I do I'd definitely like to recommend some open source Lisp that runs well on Unix, MacOS, and Windows. 2021-04-30T18:10:39Z phoe: gourdhen: I think #lispcafe might be open to discussing this rather than just linking to articles 2021-04-30T18:10:42Z luis: gourdhen: you should read gigamonkey's Coders at Work 2021-04-30T18:10:46Z gourdhen: phoe: thanks 2021-04-30T18:10:54Z phoe: luis: :D 2021-04-30T18:10:55Z Ekho joined #lisp 2021-04-30T18:10:59Z phoe: talk about a good time to mention it! 2021-04-30T18:11:09Z gigamonkey: And I've been using SBCL forever so I'd be happy for it to be the winner. 2021-04-30T18:11:35Z andrei-n quit (Quit: Leaving) 2021-04-30T18:11:37Z Duuqnd: I'm happy as long as there are two good free implementations 2021-04-30T18:11:48Z gigamonkey: gourdhen: unfortunately, if you read Coders at Work you may well come away with the conclusion that you should learn Haskell. At least that was my conclusion from having written it. ;-) 2021-04-30T18:11:52Z phoe: well there's five good free implementations, with the sixth being WIP 2021-04-30T18:11:53Z attila_lendvai joined #lisp 2021-04-30T18:11:53Z attila_lendvai quit (Changing host) 2021-04-30T18:11:53Z attila_lendvai joined #lisp 2021-04-30T18:12:05Z gigamonkey: (Then again, I already knew Common Lisp.) 2021-04-30T18:13:07Z luis: Haskell error messages are the worst. 2021-04-30T18:13:27Z jackdaniel: error: something went wrong. 2021-04-30T18:13:32Z gabc: luis: looked at an error message from a C++ compiler recently? :P 2021-04-30T18:14:10Z Duuqnd: "Can't cast size_t to uint32_t because I don't feel like it :)" 2021-04-30T18:14:30Z luis: phoe: so, IIRC, file-position = current file position - number of bytes in the Lisp buffer. 2021-04-30T18:15:04Z luis: phoe: if there's no ambiguity between Lisp char and number of encoded bytes, you should be fine 2021-04-30T18:16:33Z gigamonkey: I mean, every language has warts. But that was my takeaway, from reading between the lines of all the interviews. Some people (Simon Peyton Jones obviously) were big into Haskell. But others, like Peter L Deutch talked about things they wanted from their dream language that I was like, I think that's Haskell, dude. Which is not to say it's the perfect language or that I don't still love Common Lisp. But it's a language worth coming to 2021-04-30T18:16:33Z gigamonkey: grips with. But #haskell is over there, so I'll shut up about it. 2021-04-30T18:17:25Z gigamonkey: luis: I guess I forgot that you can't use FILE-POSITION to seek to arbitrary positions in a stream, only to ones that have been previously returned by FILE-POSITION. 2021-04-30T18:18:52Z orivej joined #lisp 2021-04-30T18:18:58Z gigamonkey: phoe: what are the five? And WIP == work in progress? 2021-04-30T18:19:10Z Duuqnd: The work in progress would be SICL 2021-04-30T18:20:25Z luis: gigamonkey: oh I didn't know about that either. The bug I was complaining about was with querying the current file position, not seeking 2021-04-30T18:21:20Z gigamonkey: I think FILE-POSITION could be conformantly implemented if it always just returned the byte offset. 2021-04-30T18:21:30Z phoe: gigamonkey: SBCL, CCL, ECL, Clasp, ABCL 2021-04-30T18:21:33Z phoe: SICL is WIP 2021-04-30T18:21:36Z gigamonkey: But in a character stream it might never return some offsets. 2021-04-30T18:21:56Z gigamonkey: Does SICL stand for something? 2021-04-30T18:21:58Z phoe: querying the current file position is easy if you have a counter 2021-04-30T18:22:06Z jackdaniel: sicl implements common lisp ,) 2021-04-30T18:22:19Z gigamonkey: of course. 2021-04-30T18:22:20Z phoe: gigamonkey: I think beach had an official backronym for it 2021-04-30T18:22:32Z jackdaniel: good night \o 2021-04-30T18:22:33Z phoe: and it might be the one that jackdaniel just mentioned 2021-04-30T18:22:34Z phoe: good night 2021-04-30T18:23:15Z luis: phoe: I have doubts about your claim that implementing file-position is easy :D 2021-04-30T18:23:34Z phoe: luis: :O 2021-04-30T18:23:35Z luis: phoe: the tricky bit is buffering 2021-04-30T18:23:46Z phoe: yes 2021-04-30T18:24:07Z gigamonkey: But don't you have to know where you are in the buffer to do anything else right? 2021-04-30T18:26:10Z drmeister: https://usercontent.irccloud-cdn.com/file/MOI1LEcS/image.png 2021-04-30T18:27:22Z drmeister: gigamonkey: I think SICL stands for "Sufficiently Intelligent Compiler Library" 2021-04-30T18:28:23Z shifty quit (Ping timeout: 246 seconds) 2021-04-30T18:28:44Z shifty joined #lisp 2021-04-30T18:32:41Z hjudt quit (Ping timeout: 240 seconds) 2021-04-30T18:33:07Z anticrisis joined #lisp 2021-04-30T18:37:39Z shka_ joined #lisp 2021-04-30T18:38:26Z heisig: I'm pretty sure SICL has no one true meaning. 2021-04-30T18:39:29Z heisig: Unfortunately, Sanely Bootstrappable Common Lisp was already taken. Although we hope to have a bootstrapping procedure that is even more sane. 2021-04-30T18:41:17Z kevingal: _death: thank you for the Levenshtein puns. 2021-04-30T18:45:26Z OlCe quit (Ping timeout: 240 seconds) 2021-04-30T18:48:43Z sbcltester quit (Ping timeout: 240 seconds) 2021-04-30T18:49:00Z hjudt joined #lisp 2021-04-30T18:55:54Z shifty quit (Ping timeout: 252 seconds) 2021-04-30T18:56:34Z shifty joined #lisp 2021-04-30T18:59:37Z pyc: Is this a good way to format code: https://pastebin.ubuntu.com/p/wtGDTm8yvH/ ? I have a coding guideline not to exceed 72 columns per line. That is why trying to figure if this is a good way to wrap a long line into multiple lines like this. 2021-04-30T19:00:28Z ChoHag: pyc: Can the intended audience read it? 2021-04-30T19:00:29Z loke[m]: pyc it looks OK to me 2021-04-30T19:00:51Z pyc: ChoHag: yes. but I want to learn about good coding style too from experienced programmers in this channel 2021-04-30T19:00:54Z pyc: thanks loke[m] 2021-04-30T19:02:04Z ChoHag: Well that's the primary concern. 2021-04-30T19:02:06Z loke[m]: However I'm curious why you want to limit yourself to such short lines. Because I was like that long ago, and limited myself to 80 just because I used two use hardware terminals when I started using Unix. Many years ago I realised there is no point anymore and stopped caring. It felt like a relief. 2021-04-30T19:02:21Z loke[m]: Usually I put the width at about 140 chars now. 2021-04-30T19:04:20Z ChoHag: ~80 lets my have 4 columns in my editor. 2021-04-30T19:05:18Z nij quit (Remote host closed the connection) 2021-04-30T19:05:18Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T19:05:19Z ChoHag: But each line should be as short as necessary, and no shorter. 2021-04-30T19:05:27Z amb007 joined #lisp 2021-04-30T19:05:34Z nij joined #lisp 2021-04-30T19:06:11Z orivej quit (Ping timeout: 240 seconds) 2021-04-30T19:06:14Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T19:06:26Z amb007 joined #lisp 2021-04-30T19:06:26Z mindCrime_ joined #lisp 2021-04-30T19:06:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T19:06:42Z amb007 joined #lisp 2021-04-30T19:06:46Z shifty quit (Ping timeout: 240 seconds) 2021-04-30T19:06:57Z jeosol joined #lisp 2021-04-30T19:07:45Z shifty joined #lisp 2021-04-30T19:07:46Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T19:09:03Z orivej joined #lisp 2021-04-30T19:09:55Z amb007 joined #lisp 2021-04-30T19:10:25Z ChoHag: pyc: Personally I like to indent each new level by 8 spaces, mostly excepting let clauses. 2021-04-30T19:10:26Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T19:10:34Z amb007 joined #lisp 2021-04-30T19:12:27Z tophullyte joined #lisp 2021-04-30T19:13:00Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T19:13:06Z rogersm quit (Quit: Leaving...) 2021-04-30T19:14:01Z amb007 joined #lisp 2021-04-30T19:14:01Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T19:15:26Z mindCrime_ quit (Ping timeout: 240 seconds) 2021-04-30T19:16:00Z amb007 joined #lisp 2021-04-30T19:18:12Z amb007 quit (Read error: Connection reset by peer) 2021-04-30T19:18:23Z nij: If I have some code in lisp using cffi, can I have it translated to C code that would do the same thing? 2021-04-30T19:19:10Z amb007 joined #lisp 2021-04-30T19:19:52Z Bike: i guess you could probably translate it if it consisted entirely of cffi operators with no lisp functions or anything involved? 2021-04-30T19:20:48Z nij: I think so.. though I've been hit by my second dose and have been lying the whole dya.. dunno if my brain is clear. 2021-04-30T19:21:22Z tophullyte quit (Quit: Leaving) 2021-04-30T19:21:27Z nij: Bike but even if that's the case, there's still needed to be some one translating cffi ops to C? 2021-04-30T19:21:49Z Bike: sure 2021-04-30T19:21:57Z Bike: i don't think anyone's written an automatic translator, or anything 2021-04-30T19:22:02Z Bike: because why would you want to do that anyway 2021-04-30T19:22:17Z nij: Say I'm working in a company that forces me to write C. I dunno, just curious. 2021-04-30T19:22:31Z ChoHag: Not forces. 2021-04-30T19:22:32Z ChoHag: Pays. 2021-04-30T19:22:43Z nij: Also, curious about how cffi worked. Do they translate it into C? Or it build up some CLOS that mimick C? 2021-04-30T19:22:58Z nij: ChoHag: oh yeah 2021-04-30T19:23:20Z ChoHag: Just make sure they pay a fair share. 2021-04-30T19:23:37Z Bike: cffi is a wrapper around the implementation ffi, which generally works via a compiler extension. 2021-04-30T19:23:56Z f4r598 joined #lisp 2021-04-30T19:24:30Z f4r59 quit (Read error: Connection reset by peer) 2021-04-30T19:24:57Z ChoHag: It has a lot of lisp:c interface magic in it too. 2021-04-30T19:25:27Z nij: Bike> cffi is a ... ;; <= I don understand this 2021-04-30T19:25:55Z nij: s/don/failed to/ 2021-04-30T19:25:57Z Bike: okay, so basically cffi doesn't do most of the work. it's a compatibility layer around the FFI exposed by your lisp implementation, like sbcl or ccl or whatever. 2021-04-30T19:27:12Z Bike: and how the implementation FFI works is that it defines some operators that the compiler knows to compile down into code with the correct semantics 2021-04-30T19:27:41Z Bike: for example on sbcl, sb-alien:with-alien will perform C like stack allocation. cffi's operators wrap around that. 2021-04-30T19:28:16Z nij: i see. so it's not really c? 2021-04-30T19:28:27Z Bike: not particularly, no. 2021-04-30T19:28:47Z Bike: C implementations define an ABI - application binary interface - so stuff that isn't C can interact with C code/programs. 2021-04-30T19:29:02Z Oladon joined #lisp 2021-04-30T19:29:05Z Bike: well, the implementations don't really define the ABI so much as the operating system... whatever 2021-04-30T19:31:29Z stux|RC-only quit (Quit: Aloha!) 2021-04-30T19:34:29Z IPmonger quit (Quit: ZNC 1.7.5+deb4 - https://znc.in) 2021-04-30T19:34:36Z stux|RC-only joined #lisp 2021-04-30T19:34:41Z IPmonger joined #lisp 2021-04-30T19:37:27Z cage_ quit (Quit: Leaving) 2021-04-30T19:40:45Z stux|RC-only quit (Read error: Connection reset by peer) 2021-04-30T19:40:58Z pjb: nij: with ecl, you can insert C lines of code in lisp functions. Since ecl translates lisp to C, it can easily inject your own lines of C code in the generated code, before compiling it with gcc. This allows you to integrate very nicely with C. 2021-04-30T19:41:37Z hypercube quit (Quit: WeeChat 3.1) 2021-04-30T19:41:55Z hypercube joined #lisp 2021-04-30T19:42:03Z pjb: nij: otherwise, CFFI does not translate to C, but use the implementation specific native FFIs, which are CL operators that directly do native code stuff. 2021-04-30T19:42:34Z stux|RC-only joined #lisp 2021-04-30T19:43:53Z pjb: nij: the ideal tool, would be to have a C parser that would produce the C sources in form of alisp S-expressions. So you could edit C code as if it was lisp code. You could even use the CL macro system to generate more C code. Then the inverse operation would translate the S-expressions into "maintainable" C code. 2021-04-30T19:43:59Z tophullyte joined #lisp 2021-04-30T19:44:11Z pjb: nij: See for example: https://github.com/informatimago/lisp/tree/master/languages/linc 2021-04-30T19:46:12Z pjb: nij: Use the Makefile and see the generate.lisp file to see how to use it. 2021-04-30T19:46:22Z pjb: nij: it's not entirely finished yet. 2021-04-30T19:47:05Z pjb: nij: the technique is applied to several languages: https://cliki.net/s-exp%20syntax 2021-04-30T19:50:06Z pjb: nij: for new code there would be no problem using such a technique. But when maintaining legacy C code, the big problem is that the cycle of parsing and regenerating the C code would most probably change a lot of superficial things (indentation and line splits, coding style (from the use of lisp macro, the generated code would be way more homogenous and systematic). Parsing legacy C code can also be problematic. Notably heavy 2021-04-30T19:50:06Z pjb: macros could pose difficulties. 2021-04-30T19:50:49Z andreyorst[m] joined #lisp 2021-04-30T19:51:24Z pjb: nij: nonetheless, it would be very cool to have such a set of tools, that would help use to manipulate foreign language code bases as easily as lisp code bases. To solve the Y2K problems, some good tooling for Cobol has been developped in Common Lisp, to detect and correct the Y2K problems. (But public code AFAIK). 2021-04-30T19:53:09Z ChoHag: It's a bit late to solve the y2k problem. 2021-04-30T19:56:21Z andreyorst[m] quit (Quit: WeeChat 3.0.1) 2021-04-30T19:57:42Z stux|RC-only quit (Quit: Aloha!) 2021-04-30T19:59:33Z attila_lendvai quit (Ping timeout: 260 seconds) 2021-04-30T20:00:45Z edgar-rft: As soon as a new messiah get's born it's only a matter of time until we'll have the y2k problem again. 2021-04-30T20:01:11Z aeth quit (Read error: Connection reset by peer) 2021-04-30T20:04:27Z Lord_of_Life_ joined #lisp 2021-04-30T20:05:00Z aeth joined #lisp 2021-04-30T20:07:11Z Lord_of_Life quit (Ping timeout: 240 seconds) 2021-04-30T20:07:32Z Lord_of_Life_ is now known as Lord_of_Life 2021-04-30T20:10:26Z karlosz joined #lisp 2021-04-30T20:12:12Z pjb: ChoHag: but the tools could be used for something else! 2021-04-30T20:12:29Z pjb: ChoHag: and we'll have a 2038 problem and a 2100 problem and so on. 2021-04-30T20:12:54Z pjb: edgar-rft: Oh, I forgot about that, indeed. The return of Jesus should be soon enough. 2021-04-30T20:13:16Z edgar-rft: I'm already here :-) 2021-04-30T20:13:41Z orivej quit (Ping timeout: 240 seconds) 2021-04-30T20:13:42Z gendl__: Hi, is there a way to have swank:create-server pick an available port automatically 2021-04-30T20:13:51Z pjb: edgar-rft: that said, I'm not entirely sure that when Jesus taked about time, it was in this timeline. Since He's used to eternity, time could have been specified in relative terms (personal times). 2021-04-30T20:14:29Z pjb: gendl__: perhaps passing 0 for the port? 2021-04-30T20:14:42Z pjb: (swank:create-server :port 0) 2021-04-30T20:14:52Z gendl__: thanks, I will check it out. 2021-04-30T20:14:59Z pjb: yep it returns 49835 2021-04-30T20:15:52Z pjb: ~/bin/macosx-netstat-tnpl |grep 49835 2021-04-30T20:15:52Z pjb: tcp4 0 0 127.0.0.1.49835 *.* LISTEN 2021-04-30T20:15:53Z pjb: yep. 2021-04-30T20:19:04Z mindCrime_ joined #lisp 2021-04-30T20:20:13Z pjb: gendl__: however it's not usual for a _server_ to choose random ports.. 2021-04-30T20:21:19Z stux|RC-only joined #lisp 2021-04-30T20:23:13Z akoana joined #lisp 2021-04-30T20:24:26Z shifty quit (Ping timeout: 240 seconds) 2021-04-30T20:28:01Z phoe: it's useful in case this port is then forwarded to the client in some other way 2021-04-30T20:28:17Z phoe: e.g. when you spawn a server and then spawn a client to immediately connect to it 2021-04-30T20:31:19Z sauvin_ joined #lisp 2021-04-30T20:33:41Z Sauvin quit (Ping timeout: 246 seconds) 2021-04-30T20:34:51Z rodriga quit (Ping timeout: 265 seconds) 2021-04-30T20:36:26Z f4r598 quit (Read error: Connection reset by peer) 2021-04-30T20:36:48Z f4r5983 joined #lisp 2021-04-30T20:38:16Z umut_ joined #lisp 2021-04-30T20:38:33Z monolithic quit (Ping timeout: 240 seconds) 2021-04-30T20:42:11Z monolithic joined #lisp 2021-04-30T20:42:32Z umut_ quit (Ping timeout: 240 seconds) 2021-04-30T20:43:27Z andreyorst[m] joined #lisp 2021-04-30T20:46:10Z stux|RC-only quit (Quit: Aloha!) 2021-04-30T20:46:36Z monolithic quit (Remote host closed the connection) 2021-04-30T20:46:50Z andreyorst[m] quit (Client Quit) 2021-04-30T20:47:02Z slyrus quit (Remote host closed the connection) 2021-04-30T20:47:22Z monolithic joined #lisp 2021-04-30T20:47:51Z monolithic quit (Remote host closed the connection) 2021-04-30T20:48:02Z wsinatra quit (Ping timeout: 246 seconds) 2021-04-30T20:48:25Z stux|RC-only joined #lisp 2021-04-30T20:54:08Z monolithic joined #lisp 2021-04-30T20:55:24Z stux|RC-only quit (Quit: Aloha!) 2021-04-30T20:56:20Z irc_user quit (Quit: Connection closed for inactivity) 2021-04-30T20:57:50Z oxum joined #lisp 2021-04-30T20:59:34Z stux|RC-only joined #lisp 2021-04-30T21:04:39Z slyrus joined #lisp 2021-04-30T21:05:31Z Nilby joined #lisp 2021-04-30T21:08:51Z narimiran quit (Quit: leaving) 2021-04-30T21:09:46Z slyrus quit (Ping timeout: 276 seconds) 2021-04-30T21:10:19Z stux|RC-only quit (Quit: Aloha!) 2021-04-30T21:11:25Z mindCrime_ quit (Ping timeout: 260 seconds) 2021-04-30T21:16:52Z hiroaki joined #lisp 2021-04-30T21:18:23Z stux|RC-only joined #lisp 2021-04-30T21:18:52Z mrchampion quit (Ping timeout: 276 seconds) 2021-04-30T21:19:31Z kopiyka quit (Ping timeout: 245 seconds) 2021-04-30T21:19:48Z pbaille_ quit (Remote host closed the connection) 2021-04-30T21:19:57Z kopiyka joined #lisp 2021-04-30T21:20:24Z pbaille joined #lisp 2021-04-30T21:25:07Z pbaille quit (Ping timeout: 265 seconds) 2021-04-30T21:31:33Z mrchampion joined #lisp 2021-04-30T21:31:54Z drl quit (Quit: Leaving) 2021-04-30T21:52:15Z OlCe joined #lisp 2021-04-30T21:52:26Z varjag quit (Ping timeout: 240 seconds) 2021-04-30T21:57:37Z OlCe quit (Ping timeout: 252 seconds) 2021-04-30T21:58:06Z slyrus joined #lisp 2021-04-30T22:02:19Z slyrus quit (Remote host closed the connection) 2021-04-30T22:02:25Z slyrus joined #lisp 2021-04-30T22:04:35Z OlCe joined #lisp 2021-04-30T22:05:35Z slyrus_ joined #lisp 2021-04-30T22:05:40Z nij quit (Ping timeout: 276 seconds) 2021-04-30T22:06:24Z pbaille joined #lisp 2021-04-30T22:08:19Z slyrus quit (Ping timeout: 248 seconds) 2021-04-30T22:09:07Z frgo quit (Remote host closed the connection) 2021-04-30T22:09:32Z frgo joined #lisp 2021-04-30T22:10:23Z Posterdati quit (Read error: Connection reset by peer) 2021-04-30T22:11:20Z nature quit (Ping timeout: 252 seconds) 2021-04-30T22:14:05Z pve quit (Quit: leaving) 2021-04-30T22:15:52Z pbaille quit (Ping timeout: 265 seconds) 2021-04-30T22:18:39Z surabax quit (Quit: Leaving) 2021-04-30T22:22:52Z Duuqnd quit (Remote host closed the connection) 2021-04-30T22:23:30Z charles` joined #lisp 2021-04-30T22:27:32Z Posterdati joined #lisp 2021-04-30T22:28:23Z Inline quit (Ping timeout: 260 seconds) 2021-04-30T22:31:10Z OlCe quit (Ping timeout: 252 seconds) 2021-04-30T22:36:05Z gigamonkey quit (Remote host closed the connection) 2021-04-30T22:39:14Z slyrus_ quit (Remote host closed the connection) 2021-04-30T22:46:55Z andreyorst[m] joined #lisp 2021-04-30T22:51:09Z slyrus joined #lisp 2021-04-30T22:52:46Z andreyorst[m] quit (Ping timeout: 240 seconds) 2021-04-30T22:53:56Z dyelar quit (Quit: Leaving.) 2021-04-30T22:54:14Z slyrus quit (Remote host closed the connection) 2021-04-30T22:55:07Z andreyorst[m] joined #lisp 2021-04-30T22:59:53Z Posterdati quit (Ping timeout: 240 seconds) 2021-04-30T23:01:55Z contrapunctus left #lisp 2021-04-30T23:02:00Z contrapunctus joined #lisp 2021-04-30T23:02:43Z DHARMAKAYA joined #lisp 2021-04-30T23:02:53Z hjudt quit (Ping timeout: 240 seconds) 2021-04-30T23:06:55Z contrapunctus left #lisp 2021-04-30T23:06:58Z contrapunctus joined #lisp 2021-04-30T23:09:52Z andreyorst[m] quit (Read error: Connection reset by peer) 2021-04-30T23:11:38Z andreyorst[m] joined #lisp 2021-04-30T23:13:42Z Posterdati joined #lisp 2021-04-30T23:19:01Z heisig quit (Quit: Leaving) 2021-04-30T23:20:51Z jcowan: beach: There is a vocal minority that wants to bring arbitrarily-adjustable strings to the Scheme standards. About 2-3 implementations (out of 60-70) presently provide them. 2021-04-30T23:31:46Z Nilby: If CL didn't have them, I would have had to make them myself. It's better if the implementation does them, for possibly more efficent memory management. Ages ago when I worked on a scheme, we had adjustable strings. String port can effectively have such a thing, but don't fully expose it. 2021-04-30T23:34:08Z hjudt joined #lisp 2021-04-30T23:34:26Z jcowan: THey are easy to do, assuming you have access to the internals, provided there is an indirection pointer in your existing strings (string object that points to bytes). If there isn't (string object contains bytes), then it's hard; you basically have to do a GC every time you change the size of a string. 2021-04-30T23:34:42Z jcowan: Not every time, but every time in principle. 2021-04-30T23:34:54Z jcowan: Nilby: which Scheme 2021-04-30T23:38:26Z Nilby: We never published it. It was going to be part of a commercial software. 2021-04-30T23:38:40Z mindCrime_ joined #lisp 2021-04-30T23:40:36Z hjudt quit (Read error: Connection reset by peer) 2021-04-30T23:43:40Z orivej joined #lisp 2021-04-30T23:43:46Z random-nick quit (Ping timeout: 252 seconds) 2021-04-30T23:44:01Z Nilby: But it's not like it's a big loss not to have another scheme. We were probably most similar to MIT scheme. I'm sad about the IDE we were building with it though. 2021-04-30T23:45:06Z drl joined #lisp 2021-04-30T23:45:44Z artemon joined #lisp 2021-04-30T23:46:06Z hjudt joined #lisp 2021-04-30T23:48:42Z monolithic quit (Remote host closed the connection) 2021-04-30T23:49:05Z pjb: jcowan: indirection is not the key to efficient implementation of adjustable arrays. It's the memory allocator that is key. When you allocate an adjustable object, you may allocate more space, in prevision of size increases, so you don't have to move it when it's extended. This is why it's nice to have it in the implementation: it allows the implementation to use internal features of its memory manager. 2021-04-30T23:54:02Z perdent: no-defun-allowed how would I acquire the traces to analyze through plotting with lisp though? How would the code look? 2021-04-30T23:54:18Z gigamonkey joined #lisp 2021-04-30T23:54:36Z perdent: With regard to: (13:05:32) perdent: So I captured the embedded device that was used to encrypt the ciphers I am trying to break. How would I be able to recover its Encryption Key? here is the socket_interface: https://pastebin.com/4z0bwjAT and here is the remote lab layout: https://ibb.co/q9j59Mq 2021-04-30T23:59:10Z hjudt quit (Ping timeout: 252 seconds)