2016-08-27T00:02:30Z kobain joined #lisp 2016-08-27T00:04:43Z rpg: Isn't (0) amended to "... possibly providing an implementation-independent API to implementation-specific functionality"? 2016-08-27T00:06:26Z rpg: just to clarify that doesn't constitute a dependency. 2016-08-27T00:07:36Z rpg: sorry have to run to Apple store and retrieve laptop before it closes... 2016-08-27T00:09:31Z rpg: Fare: If you get a chance, LMK if you think that new CONDITION is reasonable, or have suggestions for improvement. Thinking of pushing a topic branch w/ that and some errors rewritten to use it.. 2016-08-27T00:09:58Z kmb quit (Quit: kmb) 2016-08-27T00:10:21Z cromachina joined #lisp 2016-08-27T00:15:02Z doesthiswork joined #lisp 2016-08-27T00:16:21Z dddddd quit (Ping timeout: 265 seconds) 2016-08-27T00:16:25Z robotoad quit (Ping timeout: 244 seconds) 2016-08-27T00:16:32Z kmb joined #lisp 2016-08-27T00:16:42Z mathi_aihtam joined #lisp 2016-08-27T00:17:55Z sjl quit (Ping timeout: 250 seconds) 2016-08-27T00:21:19Z lambdice: when i do (setf y x) and x is a list, are x and y same object in memory ? 2016-08-27T00:21:43Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-27T00:23:05Z strelox` quit (Remote host closed the connection) 2016-08-27T00:23:30Z lambdice: i tought they are the same, but when i do (push 'junk y), the list x doesnt contain the 'junk element 2016-08-27T00:24:12Z Josh2 quit (Remote host closed the connection) 2016-08-27T00:24:41Z oleo_ joined #lisp 2016-08-27T00:26:52Z Fare quit (Ping timeout: 240 seconds) 2016-08-27T00:27:47Z mathi_aihtam joined #lisp 2016-08-27T00:27:52Z oleo quit (Ping timeout: 240 seconds) 2016-08-27T00:28:13Z Fare joined #lisp 2016-08-27T00:28:14Z doesthiswork: that is because the lists are the same but the y variable now points at a different cons cell 2016-08-27T00:28:42Z blub: lambdice: (push 'junk y) is equivalent to (setf y (cons 'junk y)) 2016-08-27T00:29:38Z doesthiswork: if you changed an element in the tail of y you'd see it in x 2016-08-27T00:31:01Z lambdice: ok thx 2016-08-27T00:32:01Z fiddlerwoaroof: Does anyone here no if cl-javascript is relatively safe to use with untrusted input? 2016-08-27T00:32:51Z davsebamse quit (Ping timeout: 264 seconds) 2016-08-27T00:33:48Z lambdice: any idea on how to push element at bottom of a list ? 2016-08-27T00:33:56Z cromachina: untrusted input is never safe until you sanitize it 2016-08-27T00:34:52Z fiddlerwoaroof: cromachina: I'm wondering about using it as something like a browser's javascript engine. 2016-08-27T00:35:28Z axion: lambdice: APPEND, but you need a VERY good reason to do that, as it can be highly inefficient 2016-08-27T00:35:38Z fiddlerwoaroof: So, I'm not worried too much about things like infinite loops causing a hang but rather about how well it sandboxes its execution environment. 2016-08-27T00:35:45Z axion: depending on your use case, you may be better off reversing the list afterwards 2016-08-27T00:36:04Z axion: or just keep a reference to the tail 2016-08-27T00:36:12Z blub: or use something other than a list 2016-08-27T00:36:18Z lambdice: axion: ok append will return a new list if i remember well 2016-08-27T00:36:38Z axion: it will also traverse the entire list to find the tail 2016-08-27T00:37:01Z blub: lambdice: what are you trying to do 2016-08-27T00:37:10Z lambdice: (last lst) will traverse all the list too ? 2016-08-27T00:37:23Z blub: yes 2016-08-27T00:37:27Z EvW quit (Ping timeout: 276 seconds) 2016-08-27T00:37:58Z blub: there's no other way to get to the end of a list for any reason unless you already have a reference to it. that's one of the reasons lists are not a data structure for many purposes 2016-08-27T00:38:00Z cromachina: fiddlerwoaroof, i'm not sure but it seems like an easy thing to test 2016-08-27T00:38:10Z lambdice: blub: i am learning lisp ... in fact nothing more 2016-08-27T00:38:10Z blub: are not a good* 2016-08-27T00:38:30Z fiddlerwoaroof: cromachina: yeah, I suppose that's what I should do 2016-08-27T00:38:36Z cromachina: fiddlerwoaroof, like create some page that attempts to invoke (open) in the lisp environment 2016-08-27T00:38:54Z lambdice: blub: really ? at my level actually i am just working with list and it is really the only data structure i use actually 2016-08-27T00:38:57Z fiddlerwoaroof: I've been thinking (a bit idly) of trying to add some rudimentary javascript support to the closure browser 2016-08-27T00:39:16Z blub: lambdice: sure :) but i meant what specifically are you trying to do that has you wanting to modify a list like that ? 2016-08-27T00:39:37Z doesthiswork: I think he's just exploring possibilities 2016-08-27T00:40:10Z lambdice: indeed.. 2016-08-27T00:40:32Z fiddlerwoaroof: You can wrap a list in a class that holds the reference to the tail and then define methods on the class to keep the reference to the tail up to dote 2016-08-27T00:40:40Z doesthiswork: because the first and last elements have a natural symetry yet the operations privledge the first element 2016-08-27T00:40:59Z cromachina: i see, well if cl-javascript doesnt work out for you, you can always just use an existing js engine, like V8 2016-08-27T00:41:16Z lambdice: ok sound good :) 2016-08-27T00:41:18Z blub: lambdice: oh. well if you do want a list, like axion was saying, the common idiom is to build up the list backwards with cons, and then use nreverse when you're done adding elements 2016-08-27T00:41:20Z fiddlerwoaroof: Yeah, I'd rather not depend on a non-lisp library 2016-08-27T00:41:26Z fiddlerwoaroof: (as much as possible) 2016-08-27T00:42:14Z doesthiswork: there's also nconc 2016-08-27T00:42:15Z varjag quit (Ping timeout: 244 seconds) 2016-08-27T00:44:36Z pareidolia quit (Ping timeout: 276 seconds) 2016-08-27T00:44:46Z doesthiswork: lambdice: you may be interested in these practice problems http://www.ic.unicamp.br/~meidanis/courses/mc336/2006s2/funcional/L-99_Ninety-Nine_Lisp_Problems.html 2016-08-27T00:44:46Z davsebamse joined #lisp 2016-08-27T00:45:06Z asc232 joined #lisp 2016-08-27T00:45:19Z asc232 quit (Read error: Connection reset by peer) 2016-08-27T00:45:21Z cromachina: realistically, if you are worried about security, you would probably want something that is battle-hardened 2016-08-27T00:46:03Z lambdice: doesthiswork: thx 2016-08-27T00:47:10Z Fare quit (Ping timeout: 258 seconds) 2016-08-27T00:51:42Z smokeink joined #lisp 2016-08-27T00:55:14Z doesthiswork quit (Quit: Page closed) 2016-08-27T00:55:39Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-27T00:56:11Z drmeister: The building blocks of life 2016-08-27T00:56:13Z drmeister: http://i.imgur.com/ci1pJ2q.png 2016-08-27T00:57:26Z mathi_aihtam joined #lisp 2016-08-27T00:57:51Z drmeister: Read from a 25 year old data format (that I invented 25 years ago and thousands of chemistry researchers have used) 2016-08-27T00:58:06Z drmeister: With cando Common Lisp code: 2016-08-27T00:58:07Z drmeister: http://paste.lisp.org/display/324321 2016-08-27T01:00:31Z drmeister: This is the code that calls the reader and moves each amino acid 5 angstroms to the right and then passes it to the external program "chimera" to render it. 2016-08-27T01:00:32Z drmeister: https://www.irccloud.com/pastebin/SGFEa15o/ 2016-08-27T01:00:38Z Fare joined #lisp 2016-08-27T01:01:12Z davsebamse quit (Ping timeout: 240 seconds) 2016-08-27T01:01:32Z drmeister: (loop for v being the hash-value of *off* ...) seems like a wordy way to loop over a hash-table. It looks like applescript. 2016-08-27T01:01:50Z drmeister: I won't complain about it again. 2016-08-27T01:01:56Z heddwch: You're free not to use loop 2016-08-27T01:02:04Z heddwch: (iterate) seems popular when the subject comes up 2016-08-27T01:03:58Z drmeister: I know. 2016-08-27T01:04:22Z heddwch: Pardon me. I mean well, but have been drinking. Will let you talk to yourself some more now :D 2016-08-27T01:04:41Z drmeister: I mean - I know I'm free not to use it. I don't know yet if (iterate) will work on Cando - I've heard it uses a code walker and that worries me a bit. 2016-08-27T01:06:24Z drmeister: No problem. I occasionally dump things like this into the IRC logs because sometimes people say interesting things like "use iterate" and I learn things. Also to tell people I'm still alive and Clasp/Cando are moving forward. 2016-08-27T01:06:24Z heddwch: If a code walker worries you, I'm not certain you're using the right language. 2016-08-27T01:06:57Z heddwch: Oh, yea. Sorry if I came off as abrasive, I do enjoy seeing any kind of on-topic activity, and really was trying to apologize for being abrasive XD 2016-08-27T01:07:11Z rumbler3_ joined #lisp 2016-08-27T01:07:21Z drmeister: Nope, not abrasive at all - please don't worry. 2016-08-27T01:07:29Z heddwch: thanks :) 2016-08-27T01:07:31Z Fare: drmeister, playing with chemistry? 2016-08-27T01:07:36Z fiddlerwoaroof: drmeister: also, Shinmera just came up with a `for` library that's sort of interesting 2016-08-27T01:07:45Z Fare: does asdf work well on clasp? 2016-08-27T01:07:59Z drmeister: heddwch: I don't think we've met. My name is Chris - I'm developing a new implementation of Common Lisp called Clasp. 2016-08-27T01:08:04Z heddwch: fiddlerwoaroof: Happen to have a link? Sounds like hel to google. 2016-08-27T01:08:17Z heddwch: drmeister: Ooh, iirc that's the LLVM-based one? 2016-08-27T01:08:22Z fiddlerwoaroof: httphttps://github.com/shinmera/for 2016-08-27T01:08:25Z fiddlerwoaroof: https://github.com/shinmera/for 2016-08-27T01:08:28Z heddwch: fiddlerwoaroof: thank you :) 2016-08-27T01:08:50Z Fare: drmeister, what does this codewalker do? 2016-08-27T01:08:51Z drmeister: Fare: asdf is working swimmingly. Clasp is fast enough now that the compiled ASDF loads in a few seconds and compiles in three minutes. I know that's not quite SBCL speed - but it's moving in the right direction. 2016-08-27T01:09:12Z Fare: :-) 2016-08-27T01:09:21Z Fare: that's progress. 2016-08-27T01:09:41Z heddwch: ^ 2016-08-27T01:09:43Z Fare: It might soon be faster than Genera. 2016-08-27T01:09:48Z drmeister: I'm using asdf to load the Clasp/Common Lisp chemistry code that I'm writing now. 2016-08-27T01:09:53Z Fare: if not already 2016-08-27T01:09:54Z rumbler31 quit (Ping timeout: 250 seconds) 2016-08-27T01:10:02Z Fare: drmeister, cool 2016-08-27T01:10:06Z heddwch: Fare: Found your lisp machine page the other day, wanted to thank you for taking the time to write it up, but I believe you were missing. 2016-08-27T01:10:11Z drmeister: I'm writing a collection of asdf systems and reloading them when I make changes to the code. 2016-08-27T01:10:27Z drmeister: So it only compiles what it needs to. 2016-08-27T01:10:27Z Fare: I'm not on irc much these days 2016-08-27T01:10:41Z drmeister: I'm not on #lisp lately either. 2016-08-27T01:10:56Z Fare: have you tried package-inferred-system ? 2016-08-27T01:11:11Z drmeister: What is package-inferred-system? 2016-08-27T01:12:00Z Fare: a reimplementation of quick-build on top of asdf 3, now part of asdf 3.1 2016-08-27T01:12:13Z drmeister: Fare: What does it do and how would I use it? 2016-08-27T01:12:24Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-27T01:12:58Z drmeister: I've been using a combination of slime C-c C-c and (asdf:load-system :cando) to recompile code. 2016-08-27T01:13:06Z Fare: it infers systems and dependencies from package declarations. 2016-08-27T01:13:51Z scymtym quit (Ping timeout: 276 seconds) 2016-08-27T01:13:55Z Fare: have you read the sources for asdf or lisp-interface-library or fare-scripts or any of the software I wrote recently? 2016-08-27T01:14:01Z davsebamse joined #lisp 2016-08-27T01:14:14Z Fare: I've adopted the one-package-per-file convention of faslpath and quick-build 2016-08-27T01:15:29Z drmeister: I haven't read the sources for asdf or lisp-interface-library. I've been working on LLVM link-time-optimization, rewriting the clasp build system using waf and writing code in Clasp to build molecules again. 2016-08-27T01:16:19Z DougNYC quit 2016-08-27T01:16:19Z drmeister: This sounds interesting is there a summary on package-inferred-system and/or one-package-per-file anywhere? 2016-08-27T01:16:45Z mathi_aihtam joined #lisp 2016-08-27T01:16:45Z Fare: waf? meh. Have you considered bazel? 2016-08-27T01:16:56Z drmeister: I'm in Cambridge UK at a conference on molecular manufacturing. It's 2:15am and I should be getting to sleep to get breakfast at 7:30. 2016-08-27T01:17:13Z drmeister: bazel is the Java thing that google/ITA use? 2016-08-27T01:17:21Z Fare: there's a section in the asdf manual 2016-08-27T01:17:28Z Fare: drmeister, yes it is 2016-08-27T01:17:42Z Fare: can be massively parallelized, incremental, deterministic, etc. 2016-08-27T01:17:44Z drmeister: I saw a talk on Bazel at ELS2016 - it looked... challenging. 2016-08-27T01:18:28Z mjl joined #lisp 2016-08-27T01:18:42Z drmeister: Uh - we don't need to get into it. I spent two months learning and switching to waf. I got it to work. I don't want to do that ever again. 2016-08-27T01:18:52Z NhanH joined #lisp 2016-08-27T01:19:11Z drmeister: Build systems are a necessary evil. 2016-08-27T01:19:32Z heddwch answers own question 2016-08-27T01:19:50Z heddwch: drmeister: Cool, I've looked at your work and would love to use it in the future. Very cool to see you in here. 2016-08-27T01:20:05Z drmeister: Reading stuff on the intertubes it sounded like I had two choices for holistic build systems: autotools and waf. I forgot about Bazel. Oh god - don't make me justify it. 2016-08-27T01:20:40Z drmeister: :-) 2016-08-27T01:20:41Z heddwch: No justification needed for me. I don't care what you use as long as it's not autotools. 2016-08-27T01:20:43Z drmeister: heddwch: Thank you. 2016-08-27T01:21:09Z heddwch: :) 2016-08-27T01:23:20Z drmeister: Ok, I better crawl into bed. I was up for 40 hours straight yesterday flying from Philly to Cambridge and then attending the conference. Tonight I can't sleep - what's up with that? 2016-08-27T01:23:52Z alms_clozure joined #lisp 2016-08-27T01:23:57Z gz__ joined #lisp 2016-08-27T01:25:09Z heddwch: drmeister: night 2016-08-27T01:27:08Z novavis` quit (Remote host closed the connection) 2016-08-27T01:27:19Z novavis` joined #lisp 2016-08-27T01:28:58Z makufiru joined #lisp 2016-08-27T01:30:04Z npatrick04 joined #lisp 2016-08-27T01:30:34Z danlentz joined #lisp 2016-08-27T01:30:39Z mbrock joined #lisp 2016-08-27T01:30:47Z billstclair joined #lisp 2016-08-27T01:32:03Z XachX_ joined #lisp 2016-08-27T01:35:18Z DeadTrickster quit (Ping timeout: 276 seconds) 2016-08-27T01:36:27Z wildlander quit (Quit: Saliendo) 2016-08-27T01:36:59Z Fare: drmeister, which conference was that? 2016-08-27T01:37:00Z myrkraverk quit (Ping timeout: 258 seconds) 2016-08-27T01:37:03Z Fare: nighty nite 2016-08-27T01:37:09Z myrkraverk joined #lisp 2016-08-27T01:46:04Z davsebamse quit (Ping timeout: 255 seconds) 2016-08-27T01:46:24Z zm joined #lisp 2016-08-27T01:54:42Z smokeink quit (Read error: Connection reset by peer) 2016-08-27T01:57:39Z edgar-rft quit (Quit: edgar-rft) 2016-08-27T01:59:46Z DeadTrickster joined #lisp 2016-08-27T02:01:14Z karswell quit (Remote host closed the connection) 2016-08-27T02:01:48Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-27T02:05:12Z Karl_Dscc joined #lisp 2016-08-27T02:06:07Z novavis` quit (Ping timeout: 252 seconds) 2016-08-27T02:10:06Z rpg quit (Quit: Textual IRC Client: www.textualapp.com) 2016-08-27T02:12:10Z msb quit (Ping timeout: 244 seconds) 2016-08-27T02:12:40Z zacts_pi joined #lisp 2016-08-27T02:12:40Z zacts_pi is now known as zacts 2016-08-27T02:12:55Z asc232 joined #lisp 2016-08-27T02:14:19Z mathi_aihtam joined #lisp 2016-08-27T02:14:55Z zm quit (Ping timeout: 252 seconds) 2016-08-27T02:16:58Z asc232 quit (Client Quit) 2016-08-27T02:18:19Z Karl_Dscc quit (Remote host closed the connection) 2016-08-27T02:19:34Z nikki93 quit (Remote host closed the connection) 2016-08-27T02:25:05Z reepca quit (Ping timeout: 244 seconds) 2016-08-27T02:26:58Z arescorpio joined #lisp 2016-08-27T02:36:24Z pierpa quit (Ping timeout: 276 seconds) 2016-08-27T02:36:35Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-27T02:38:25Z mathi_aihtam joined #lisp 2016-08-27T02:44:09Z tmtwd joined #lisp 2016-08-27T02:45:54Z zacts quit (Quit: WeeChat 1.5) 2016-08-27T02:47:43Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-27T02:48:28Z iskander quit (Ping timeout: 252 seconds) 2016-08-27T02:51:18Z npatrick04 quit (Ping timeout: 250 seconds) 2016-08-27T02:51:25Z Fare quit (Ping timeout: 265 seconds) 2016-08-27T02:53:55Z iskander joined #lisp 2016-08-27T03:03:56Z mathi_aihtam joined #lisp 2016-08-27T03:04:34Z lexicall joined #lisp 2016-08-27T03:07:31Z rumbler3_ quit (Remote host closed the connection) 2016-08-27T03:18:07Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-27T03:18:54Z impulse joined #lisp 2016-08-27T03:19:12Z trebor_dki quit (Ping timeout: 240 seconds) 2016-08-27T03:20:17Z k3rn31 joined #lisp 2016-08-27T03:21:03Z d4ryus quit (Ping timeout: 240 seconds) 2016-08-27T03:21:29Z d4ryus joined #lisp 2016-08-27T03:26:57Z mathi_aihtam joined #lisp 2016-08-27T03:30:42Z k3rn31 quit (Quit: Computer has gone to sleep.) 2016-08-27T03:37:06Z robotoad joined #lisp 2016-08-27T03:38:12Z davsebamse joined #lisp 2016-08-27T03:42:00Z lexicall quit (Remote host closed the connection) 2016-08-27T03:44:48Z lexicall joined #lisp 2016-08-27T03:46:24Z kn-928 joined #lisp 2016-08-27T03:47:01Z boomer joined #lisp 2016-08-27T03:47:14Z kn-928 quit (Client Quit) 2016-08-27T03:49:15Z lexicall quit (Ping timeout: 258 seconds) 2016-08-27T03:49:38Z tmtwd quit (Ping timeout: 258 seconds) 2016-08-27T03:51:10Z k3rn31 joined #lisp 2016-08-27T03:57:00Z yeticry quit (Ping timeout: 276 seconds) 2016-08-27T03:58:32Z yeticry joined #lisp 2016-08-27T04:01:04Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-27T04:02:40Z kobain quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-08-27T04:10:52Z lexicall joined #lisp 2016-08-27T04:14:27Z phax joined #lisp 2016-08-27T04:15:28Z lexicall quit (Ping timeout: 255 seconds) 2016-08-27T04:17:44Z kmb quit (Quit: kmb) 2016-08-27T04:20:32Z SeanP quit (Changing host) 2016-08-27T04:20:32Z SeanP joined #lisp 2016-08-27T04:39:18Z quazimodo joined #lisp 2016-08-27T04:43:48Z programisto quit (Ping timeout: 276 seconds) 2016-08-27T04:51:20Z NlkIoUxhGD joined #lisp 2016-08-27T04:52:53Z programisto joined #lisp 2016-08-27T05:02:22Z arescorpio quit (Remote host closed the connection) 2016-08-27T05:06:18Z BlueRavenGT quit (Ping timeout: 258 seconds) 2016-08-27T05:11:40Z MrWoohoo joined #lisp 2016-08-27T05:16:37Z DeadTrickster quit (Ping timeout: 244 seconds) 2016-08-27T05:17:59Z chr15m joined #lisp 2016-08-27T05:18:48Z phax quit (Quit: phax) 2016-08-27T05:21:08Z al-damiri quit (Quit: Connection closed for inactivity) 2016-08-27T05:23:13Z lexicall joined #lisp 2016-08-27T05:23:38Z lexicall quit (Client Quit) 2016-08-27T05:24:01Z FreeBirdLjj joined #lisp 2016-08-27T05:26:54Z jleija quit (Quit: leaving) 2016-08-27T05:30:41Z NlkIoUxhGD quit (Quit: Bye, cruel world!) 2016-08-27T05:41:10Z uDMCIOLLth joined #lisp 2016-08-27T05:57:43Z vlatkoB joined #lisp 2016-08-27T06:07:46Z Beetny joined #lisp 2016-08-27T06:17:33Z oleo_ quit (Quit: Leaving) 2016-08-27T06:19:09Z andrei-n joined #lisp 2016-08-27T06:20:52Z beach: Good morning everyone! 2016-08-27T06:21:14Z blub: hi beach 2016-08-27T06:21:42Z gingerale joined #lisp 2016-08-27T06:23:51Z oleo joined #lisp 2016-08-27T06:23:54Z oleo quit (Changing host) 2016-08-27T06:23:54Z oleo joined #lisp 2016-08-27T06:24:24Z Harag quit (Remote host closed the connection) 2016-08-27T06:34:36Z bocaneri joined #lisp 2016-08-27T06:47:56Z JuanDaugherty joined #lisp 2016-08-27T06:51:01Z Harag joined #lisp 2016-08-27T06:52:01Z ggole joined #lisp 2016-08-27T06:58:13Z msb joined #lisp 2016-08-27T06:59:18Z aindilis2 joined #lisp 2016-08-27T07:01:58Z schjetne joined #lisp 2016-08-27T07:07:34Z durm quit (Ping timeout: 260 seconds) 2016-08-27T07:11:07Z logicmoo joined #lisp 2016-08-27T07:12:08Z DeadTrickster joined #lisp 2016-08-27T07:12:19Z quasisan1 joined #lisp 2016-08-27T07:12:28Z p_l_ joined #lisp 2016-08-27T07:12:43Z KingCons_ joined #lisp 2016-08-27T07:13:15Z dlowe_ joined #lisp 2016-08-27T07:13:17Z anachrom1 joined #lisp 2016-08-27T07:13:59Z luis` joined #lisp 2016-08-27T07:14:29Z erg_ joined #lisp 2016-08-27T07:14:31Z vert2_ joined #lisp 2016-08-27T07:14:37Z grindhold_ joined #lisp 2016-08-27T07:15:04Z snits_ joined #lisp 2016-08-27T07:15:59Z knobo1 joined #lisp 2016-08-27T07:16:11Z __SiCC__ joined #lisp 2016-08-27T07:16:51Z norfumpit quit (Ping timeout: 240 seconds) 2016-08-27T07:16:51Z sbryant quit (Ping timeout: 240 seconds) 2016-08-27T07:16:51Z luis quit (Ping timeout: 240 seconds) 2016-08-27T07:16:51Z redline6561 quit (Ping timeout: 240 seconds) 2016-08-27T07:16:52Z knobo quit (Ping timeout: 240 seconds) 2016-08-27T07:16:52Z vibs29 quit (Ping timeout: 240 seconds) 2016-08-27T07:16:52Z p_l quit (Ping timeout: 240 seconds) 2016-08-27T07:16:52Z quasisane quit (Ping timeout: 240 seconds) 2016-08-27T07:16:53Z anachrome quit (Ping timeout: 240 seconds) 2016-08-27T07:16:53Z SiCC quit (Ping timeout: 240 seconds) 2016-08-27T07:16:53Z erg quit (Ping timeout: 240 seconds) 2016-08-27T07:16:53Z dmiles quit (Ping timeout: 240 seconds) 2016-08-27T07:16:53Z dlowe quit (Ping timeout: 240 seconds) 2016-08-27T07:16:53Z grindhold quit (Ping timeout: 240 seconds) 2016-08-27T07:16:53Z vert2 quit (Remote host closed the connection) 2016-08-27T07:16:53Z Ober_ quit (Remote host closed the connection) 2016-08-27T07:16:53Z snits quit (Remote host closed the connection) 2016-08-27T07:16:54Z dlowe_ is now known as dlowe 2016-08-27T07:17:13Z vibs29 joined #lisp 2016-08-27T07:17:25Z sbryant joined #lisp 2016-08-27T07:17:51Z norfumpit joined #lisp 2016-08-27T07:18:12Z flip214 quit (Ping timeout: 240 seconds) 2016-08-27T07:18:13Z p_l_ is now known as p_l 2016-08-27T07:18:32Z thijso quit (Ping timeout: 240 seconds) 2016-08-27T07:19:20Z flip214 joined #lisp 2016-08-27T07:19:21Z flip214 quit (Changing host) 2016-08-27T07:19:21Z flip214 joined #lisp 2016-08-27T07:19:24Z thijso joined #lisp 2016-08-27T07:21:12Z logicmoo is now known as dmiles 2016-08-27T07:21:54Z Ober joined #lisp 2016-08-27T07:22:31Z krasnal joined #lisp 2016-08-27T07:31:26Z Davidbrcz joined #lisp 2016-08-27T07:36:42Z oleo quit (Quit: Leaving) 2016-08-27T07:37:32Z peterh joined #lisp 2016-08-27T07:47:49Z Davidbrcz quit (Ping timeout: 260 seconds) 2016-08-27T07:49:10Z mishoo joined #lisp 2016-08-27T07:51:43Z oleo joined #lisp 2016-08-27T08:00:11Z Th30n joined #lisp 2016-08-27T08:01:50Z ovenpasta joined #lisp 2016-08-27T08:01:52Z Davidbrcz joined #lisp 2016-08-27T08:02:49Z quazimodo quit (Ping timeout: 244 seconds) 2016-08-27T08:03:21Z p_l quit 2016-08-27T08:05:55Z p_l joined #lisp 2016-08-27T08:10:33Z knicklux joined #lisp 2016-08-27T08:18:14Z k3rn31 quit (Quit: Computer has gone to sleep.) 2016-08-27T08:21:33Z mathi_aihtam joined #lisp 2016-08-27T08:28:51Z lexicall joined #lisp 2016-08-27T08:32:38Z lexicall quit (Client Quit) 2016-08-27T08:33:23Z MoALTz joined #lisp 2016-08-27T08:33:42Z shka_ joined #lisp 2016-08-27T08:34:40Z mishoo quit (Ping timeout: 255 seconds) 2016-08-27T08:39:09Z ovenpasta quit (Ping timeout: 244 seconds) 2016-08-27T08:39:40Z stepnem joined #lisp 2016-08-27T08:44:48Z Blukunfando quit (Ping timeout: 258 seconds) 2016-08-27T08:51:20Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-27T08:54:37Z mathi_aihtam joined #lisp 2016-08-27T09:01:02Z k3rn31 joined #lisp 2016-08-27T09:09:58Z lambdice quit (Quit: Page closed) 2016-08-27T09:11:33Z MrWoohoo quit (Ping timeout: 240 seconds) 2016-08-27T09:17:17Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-27T09:21:38Z Bike quit (Quit: leaving) 2016-08-27T09:22:25Z mathi_aihtam joined #lisp 2016-08-27T09:22:37Z mathi_aihtam quit (Client Quit) 2016-08-27T09:24:11Z ovenpasta joined #lisp 2016-08-27T09:45:14Z les quit (Quit: "") 2016-08-27T09:45:32Z les joined #lisp 2016-08-27T09:58:00Z varjag joined #lisp 2016-08-27T10:00:39Z Ven joined #lisp 2016-08-27T10:03:15Z mishoo joined #lisp 2016-08-27T10:09:36Z robotoad quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-08-27T10:13:24Z FreeBirdLjj quit (Remote host closed the connection) 2016-08-27T10:22:10Z eivarv joined #lisp 2016-08-27T10:25:45Z asc232 joined #lisp 2016-08-27T10:28:27Z davsebamse quit (Ping timeout: 250 seconds) 2016-08-27T10:28:31Z peterh quit (Ping timeout: 255 seconds) 2016-08-27T10:32:53Z eivarv quit (Quit: Sleep) 2016-08-27T10:33:05Z defaultxr quit (Ping timeout: 265 seconds) 2016-08-27T10:35:40Z eivarv joined #lisp 2016-08-27T10:35:46Z Fare joined #lisp 2016-08-27T10:42:13Z EvW joined #lisp 2016-08-27T10:42:19Z mishoo quit (Ping timeout: 250 seconds) 2016-08-27T10:43:08Z Karl_Dscc joined #lisp 2016-08-27T10:44:09Z lexicall joined #lisp 2016-08-27T10:44:30Z mathi_aihtam joined #lisp 2016-08-27T10:44:46Z k3rn31_ joined #lisp 2016-08-27T10:46:42Z EvW quit (Ping timeout: 258 seconds) 2016-08-27T10:47:25Z k3rn31 quit (Ping timeout: 255 seconds) 2016-08-27T10:47:26Z knicklux quit (Remote host closed the connection) 2016-08-27T10:48:42Z wotfan joined #lisp 2016-08-27T10:49:12Z Fare quit (Ping timeout: 240 seconds) 2016-08-27T10:50:11Z lexicall quit (Quit: Ah, my macbook is gonna sleep!) 2016-08-27T10:55:07Z dddddd joined #lisp 2016-08-27T10:56:36Z eivarv quit (Quit: Sleep) 2016-08-27T10:56:40Z davsebamse joined #lisp 2016-08-27T10:56:57Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-27T10:57:49Z wotfan quit (Remote host closed the connection) 2016-08-27T11:01:34Z eivarv joined #lisp 2016-08-27T11:02:04Z ksool quit (Ping timeout: 260 seconds) 2016-08-27T11:09:14Z sjl joined #lisp 2016-08-27T11:13:12Z eivarv quit (Quit: Sleep) 2016-08-27T11:14:19Z k3rn31_ quit (Ping timeout: 260 seconds) 2016-08-27T11:14:33Z k3rn31 joined #lisp 2016-08-27T11:16:53Z mathi_aihtam joined #lisp 2016-08-27T11:17:22Z Blukunfando joined #lisp 2016-08-27T11:18:39Z mathi_aihtam quit (Client Quit) 2016-08-27T11:19:21Z eivarv joined #lisp 2016-08-27T11:24:27Z mathi_aihtam joined #lisp 2016-08-27T11:27:17Z mathi_aihtam quit (Client Quit) 2016-08-27T11:27:41Z thijso: I suddenly now get the error 'Cannot select(2) on 1352: above FD_SETSIZE limit.' when I try to start a simple hunchentoot server. Does this error ring any bells for anyone else? 2016-08-27T11:29:05Z thijso: I think quite a few things have been updated since I last started this server, so I'm not sure what the change is that caused this problem... 2016-08-27T11:29:17Z eivarv quit (Quit: Sleep) 2016-08-27T11:29:43Z thijso: Also, #hunchentoot channel doesn't exist, so are there other channels I might try to get an answer? 2016-08-27T11:30:34Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2016-08-27T11:32:48Z edgar-rft joined #lisp 2016-08-27T11:33:01Z jackdaniel: lispweb maybe 2016-08-27T11:33:23Z jackdaniel: maybe you have too many connections open 2016-08-27T11:33:30Z jackdaniel: fd is probably from file descriptior 2016-08-27T11:36:30Z thijso: Yeah, I think it's about file descriptors. How do I check how many are open? 2016-08-27T11:36:34Z thijso: Maybe google time... 2016-08-27T11:42:19Z przl joined #lisp 2016-08-27T11:43:14Z eivarv joined #lisp 2016-08-27T11:48:09Z aries_liuxueyang quit (Ping timeout: 260 seconds) 2016-08-27T11:49:40Z mathi_aihtam joined #lisp 2016-08-27T11:50:18Z grimsley joined #lisp 2016-08-27T11:54:04Z jackdaniel: :) 2016-08-27T11:55:45Z vlatkoB quit (Remote host closed the connection) 2016-08-27T11:57:51Z vlatkoB joined #lisp 2016-08-27T12:03:50Z Ven joined #lisp 2016-08-27T12:05:13Z vlatkoB quit (Remote host closed the connection) 2016-08-27T12:05:15Z przl quit (Ping timeout: 264 seconds) 2016-08-27T12:11:16Z vlatkoB joined #lisp 2016-08-27T12:12:54Z vlatkoB quit (Remote host closed the connection) 2016-08-27T12:15:52Z malice joined #lisp 2016-08-27T12:23:46Z davsebamse quit (Ping timeout: 265 seconds) 2016-08-27T12:24:34Z thijso: Hmm... update of sbcl and quicklisp and a recompile and the problem is gone... 2016-08-27T12:25:07Z toogley joined #lisp 2016-08-27T12:25:33Z davsebamse joined #lisp 2016-08-27T12:25:34Z malice: I'd like to declare type "Index" that is an integer. How can I do that? 2016-08-27T12:26:16Z jackdaniel: (declare (type integer index)) 2016-08-27T12:26:26Z malice: I tried (deftype index () (fixnum)) 2016-08-27T12:26:29Z malice: but it doesn't really work 2016-08-27T12:26:35Z malice: jackdaniel: I mean new type 2016-08-27T12:27:07Z jackdaniel: (deftype index () 'fixnum) 2016-08-27T12:27:20Z malice: oh 2016-08-27T12:27:30Z malice: I missed the quote... Thanks! 2016-08-27T12:27:36Z jackdaniel: always ;) 2016-08-27T12:38:03Z wotfan joined #lisp 2016-08-27T12:38:13Z DavidGu joined #lisp 2016-08-27T12:38:26Z Fare joined #lisp 2016-08-27T12:40:49Z malice quit (Remote host closed the connection) 2016-08-27T12:42:19Z wotfan quit (Remote host closed the connection) 2016-08-27T12:42:41Z knicklux joined #lisp 2016-08-27T12:44:00Z scymtym joined #lisp 2016-08-27T12:46:09Z lnostdal quit (Read error: Connection reset by peer) 2016-08-27T12:46:41Z lnostdal joined #lisp 2016-08-27T12:49:45Z EvW joined #lisp 2016-08-27T12:51:56Z Aiwass joined #lisp 2016-08-27T12:53:34Z k3rn31 quit (Quit: Computer has gone to sleep.) 2016-08-27T12:57:34Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-27T13:03:24Z EvW quit (Ping timeout: 265 seconds) 2016-08-27T13:06:07Z asc232 quit (Remote host closed the connection) 2016-08-27T13:06:44Z Josh2 joined #lisp 2016-08-27T13:09:37Z k3rn31 joined #lisp 2016-08-27T13:12:24Z Josh2 quit (Remote host closed the connection) 2016-08-27T13:12:41Z Josh2 joined #lisp 2016-08-27T13:17:24Z EvW joined #lisp 2016-08-27T13:25:52Z Josh2 quit (Ping timeout: 240 seconds) 2016-08-27T13:26:40Z Josh2 joined #lisp 2016-08-27T13:32:28Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2016-08-27T13:34:00Z andrei-n quit (Ping timeout: 244 seconds) 2016-08-27T13:38:16Z tristero quit (Ping timeout: 264 seconds) 2016-08-27T13:39:07Z Beetny quit (Ping timeout: 252 seconds) 2016-08-27T13:39:53Z tristero joined #lisp 2016-08-27T13:43:01Z peterh joined #lisp 2016-08-27T13:45:23Z pareidolia joined #lisp 2016-08-27T13:46:49Z sjl quit (Ping timeout: 265 seconds) 2016-08-27T13:47:27Z mathi_aihtam joined #lisp 2016-08-27T13:49:20Z FreeBirdLjj joined #lisp 2016-08-27T13:49:24Z andrei-n joined #lisp 2016-08-27T13:52:54Z araujo_ joined #lisp 2016-08-27T13:53:00Z Josh3 joined #lisp 2016-08-27T13:53:15Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-27T13:54:02Z mathi_aihtam joined #lisp 2016-08-27T13:55:21Z araujo quit (Ping timeout: 244 seconds) 2016-08-27T13:56:28Z lnostdal quit (Read error: Connection reset by peer) 2016-08-27T13:56:51Z knicklux quit (Ping timeout: 264 seconds) 2016-08-27T13:56:58Z Josh2 quit (Ping timeout: 265 seconds) 2016-08-27T13:56:59Z Josh3 is now known as Josh2 2016-08-27T13:58:21Z mathi_aihtam quit (Client Quit) 2016-08-27T14:00:24Z mathi_aihtam joined #lisp 2016-08-27T14:01:47Z renz joined #lisp 2016-08-27T14:03:40Z PosterdatiMobile quit (Read error: Connection reset by peer) 2016-08-27T14:03:48Z araujo__ joined #lisp 2016-08-27T14:06:13Z DavidGu1 joined #lisp 2016-08-27T14:06:14Z DavidGu quit (Read error: Connection reset by peer) 2016-08-27T14:06:15Z DavidGu1 is now known as DavidGu 2016-08-27T14:06:43Z araujo_ quit (Ping timeout: 244 seconds) 2016-08-27T14:08:50Z knicklux joined #lisp 2016-08-27T14:10:08Z DavidGu quit (Client Quit) 2016-08-27T14:12:55Z Josh2 quit (Remote host closed the connection) 2016-08-27T14:13:12Z Davidbrcz quit (Quit: Leaving) 2016-08-27T14:21:48Z malice joined #lisp 2016-08-27T14:21:53Z malice: Hi, how can I unlock package in ECL? 2016-08-27T14:29:27Z jackdani1l joined #lisp 2016-08-27T14:34:27Z atheris joined #lisp 2016-08-27T14:34:39Z knicklux quit (Ping timeout: 264 seconds) 2016-08-27T14:36:06Z milanj quit (Quit: This computer has gone to sleep) 2016-08-27T14:38:36Z Josh2 joined #lisp 2016-08-27T14:39:56Z JuanDaugherty quit (Quit: Hibernate, reboot, exeunt, etc.) 2016-08-27T14:42:25Z jackdani1l quit (Quit: ()) 2016-08-27T14:45:41Z knicklux joined #lisp 2016-08-27T14:47:32Z Josh2 quit (Ping timeout: 244 seconds) 2016-08-27T14:52:26Z pierpa joined #lisp 2016-08-27T14:53:44Z EvW quit (Ping timeout: 244 seconds) 2016-08-27T14:58:00Z k3rn31 quit (Quit: Computer has gone to sleep.) 2016-08-27T15:00:13Z thief joined #lisp 2016-08-27T15:00:15Z thief is now known as Guest55311 2016-08-27T15:00:39Z jackdaniel: ext:package-lock 'cl nil 2016-08-27T15:00:57Z jackdaniel: teturns previous lock value 2016-08-27T15:01:04Z jackdaniel: returns 2016-08-27T15:01:21Z lmj joined #lisp 2016-08-27T15:02:23Z larme quit (Ping timeout: 258 seconds) 2016-08-27T15:03:45Z xristos quit (Quit: ZNC - http://znc.in) 2016-08-27T15:05:15Z kobain joined #lisp 2016-08-27T15:05:21Z shifty joined #lisp 2016-08-27T15:06:20Z larme joined #lisp 2016-08-27T15:07:22Z knicklux quit (Quit: Leaving) 2016-08-27T15:11:14Z lmj: What's a better name than dynamic-lambda for this? https://gist.github.com/lmj/0d5f431d670c12db4d03b0ee7c5c62ab 2016-08-27T15:12:10Z lmj: I'm thinking about bundling this utility with lparallel. 2016-08-27T15:12:47Z xristos joined #lisp 2016-08-27T15:12:50Z lmj: (Of course the real version would parse declarations and such.) 2016-08-27T15:13:29Z loke: lmj: Interesting. 2016-08-27T15:16:39Z zacts joined #lisp 2016-08-27T15:18:06Z Bike joined #lisp 2016-08-27T15:19:12Z dddddd quit (Ping timeout: 240 seconds) 2016-08-27T15:24:42Z jackdaniel: I think that I've seen something called dlambda 2016-08-27T15:24:50Z jackdaniel: but not sure where 2016-08-27T15:25:05Z jackdaniel: and it had a similar purpose afair 2016-08-27T15:25:53Z lmj: (dynamic-call '(*foo* *bar*) (lambda () ...)) would be more general 2016-08-27T15:27:40Z shka_: hello 2016-08-27T15:27:49Z shka_: i'm trying to call c function from sbcl 2016-08-27T15:28:04Z shka_: actually C++ function with extern c linkage 2016-08-27T15:28:12Z shka_: anyway, it accepts char* 2016-08-27T15:28:28Z loke: shka_: Use CFFI. 2016-08-27T15:28:36Z shka_: that's what i'm doing sir 2016-08-27T15:28:38Z shka_: however 2016-08-27T15:28:51Z jackdaniel: https://common-lisp.net/project/cffi/manual/html_node/foreign_002dfuncall.html 2016-08-27T15:28:57Z shka_: Unhandled memory fault at #x7FFFC1517F71. 2016-08-27T15:28:59Z Th30n quit (Read error: Connection reset by peer) 2016-08-27T15:29:11Z shka_: is what i'm getting after attempt to call my function 2016-08-27T15:29:18Z loke: shka_: You need to provide source code for a minimal example that reproduces the problem. 2016-08-27T15:29:33Z shka_: sure, but it will have some C++ in it 2016-08-27T15:29:42Z shka_: give me a second 2016-08-27T15:29:53Z loke: shka_: No need. I just want t osee the Lisp code. 2016-08-27T15:29:53Z Th30n joined #lisp 2016-08-27T15:30:34Z shka_: well, that will be rather easy 2016-08-27T15:30:38Z shka_: http://paste.lisp.org/display/324383 2016-08-27T15:30:43Z Bike: if you're calling a C++ function that probably won't work, no? 2016-08-27T15:30:48Z jackdaniel: https://common-lisp.net/project/cffi/manual/html_node/defcfun.html#defcfun (last example may be interesting to you regarding char *) 2016-08-27T15:31:16Z jackdaniel: I think that when C++ has extern "C", then calling such symbol follows the same ffi convention 2016-08-27T15:31:23Z shka_: Bike: it has C linkage 2016-08-27T15:31:24Z jackdaniel: (as C) 2016-08-27T15:31:30Z shka_: so symbol is there without mangling 2016-08-27T15:31:55Z loke: shka_: And this native function accepts a char * and returns a void *? 2016-08-27T15:32:08Z rudolfochrist joined #lisp 2016-08-27T15:32:42Z shka_: well, it returns pointer to a struct, but i guess it is the same as void* 2016-08-27T15:33:08Z loke: shka_: in most platforms, yes. 2016-08-27T15:33:27Z attila_lendvai joined #lisp 2016-08-27T15:33:51Z loke: shka_: OK< I think I see your problem 2016-08-27T15:34:01Z shka_: that was quick 2016-08-27T15:34:08Z loke: shka_: You are passing a FORIGN STRING when specifying :STRING 2016-08-27T15:34:15Z shka_: oh 2016-08-27T15:34:17Z shka_: ok 2016-08-27T15:34:17Z loke: :STRING means a Lisp string, not a foreign string. 2016-08-27T15:34:27Z shka_: hm, ok 2016-08-27T15:35:01Z shka_: well, unfortunatly, it is the same 2016-08-27T15:35:24Z shka_: let me check nm to figure out where this address points at 2016-08-27T15:35:44Z loke: There should be no addresses 2016-08-27T15:36:03Z loke: Just do (cffi:foreign-funcall "blah" :string name :pointer) 2016-08-27T15:36:07Z loke: Try that from the REPL. 2016-08-27T15:36:23Z lmj: Grepping through some irc logs, I see one person saying that lparallel:pmap doesn't work with circular lists. Neither does map, but pmap does have the :size option. (lparallel:pmap 'vector #'1+ :size 5 (alexandria:circular-list 0 1 2)) ;=> #(1 2 3 1 2) 2016-08-27T15:37:43Z shka_: loke: no, this won't work 2016-08-27T15:37:59Z shka_: i'm starting to think that problem is in c code 2016-08-27T15:38:07Z shka_: i will try to check that 2016-08-27T15:39:57Z loke: shka_: Yes. I think so too 2016-08-27T15:44:09Z raydeejay: if you post the C code you'll get an answer in milliseconds 2016-08-27T15:50:13Z tmtwd joined #lisp 2016-08-27T15:54:58Z zacts quit (Quit: WeeChat 1.5) 2016-08-27T15:55:17Z zacts joined #lisp 2016-08-27T15:55:49Z lmj quit (Quit: Lost terminal) 2016-08-27T15:58:25Z kraison joined #lisp 2016-08-27T15:58:32Z k3rn31 joined #lisp 2016-08-27T15:58:46Z kraison quit (Client Quit) 2016-08-27T16:00:12Z shka_: raydeejay: oh let's see about it :-) 2016-08-27T16:02:24Z asc232 joined #lisp 2016-08-27T16:02:29Z shka_: raydeejay: http://paste.lisp.org/display/324383#1 2016-08-27T16:02:33Z shka_: not the whole thing 2016-08-27T16:03:52Z shka_: anyway 2016-08-27T16:04:13Z Aiwass quit (Ping timeout: 255 seconds) 2016-08-27T16:04:13Z shka_: i'm doing simple wrapper for qt quick as you probabbly already guessed 2016-08-27T16:06:05Z rudolfochrist quit (Remote host closed the connection) 2016-08-27T16:06:34Z DeadTrickster quit (Ping timeout: 244 seconds) 2016-08-27T16:09:19Z Guest55311 quit (Remote host closed the connection) 2016-08-27T16:11:27Z prole joined #lisp 2016-08-27T16:12:02Z raydeejay: I don't really now what's going on, but I wonder if the problem is that the C code is trying to access the C string created from Lisp after it's gone 2016-08-27T16:12:17Z zeissoctopus joined #lisp 2016-08-27T16:13:09Z shka_: nop 2016-08-27T16:13:13Z shka_: nope 2016-08-27T16:13:27Z shka_: i'm making copy of it in the C++ object constructor 2016-08-27T16:13:35Z shka_: so this won't be the case 2016-08-27T16:14:09Z shka_: but i can check that 2016-08-27T16:14:13Z shka_: just in case 2016-08-27T16:18:01Z JuanDaugherty joined #lisp 2016-08-27T16:19:06Z shka_: i… fixed it? 2016-08-27T16:19:14Z shka_ scratches his head 2016-08-27T16:19:33Z shka_: raydeejay: thank you for your attention, loke thank you as well 2016-08-27T16:19:41Z shka_: my code appears to run 2016-08-27T16:19:43Z shka_: :-) 2016-08-27T16:21:14Z raydeejay: without modification? xD did you compile the C again? 2016-08-27T16:21:49Z shka_: i added one compilation option, rebuild lib, restarted lisp, reloaded lib 2016-08-27T16:21:52Z shka_: seems to work 2016-08-27T16:22:35Z raydeejay: it could be that the CFFI idea of your code at that moment in time was out of sync with that actual code 2016-08-27T16:22:45Z shka_: perhaps… 2016-08-27T16:22:52Z shka_: anyway, i think that i nailed it 2016-08-27T16:22:53Z raydeejay: I kept tripping over that when trying to figure it out for myself 2016-08-27T16:23:27Z shka_: i have some expirence when i was doing python bindings for C++ lib 2016-08-27T16:23:48Z shka_: so i figured i know how to handle this as well 2016-08-27T16:24:14Z shka_: but there had to be some minor element that skipped my attention 2016-08-27T16:24:30Z shka_: anyway, hopefully i can work on those bindings tomorrow 2016-08-27T16:24:41Z shka_: have good afternoon everyone! 2016-08-27T16:27:32Z raydeejay: o/ 2016-08-27T16:27:51Z Anselmo quit (Quit: WeeChat 1.5) 2016-08-27T16:30:29Z kmb joined #lisp 2016-08-27T16:30:29Z kmb quit (Client Quit) 2016-08-27T16:31:17Z wildlander joined #lisp 2016-08-27T16:32:06Z jrx joined #lisp 2016-08-27T16:33:03Z zeissoctopus quit (Ping timeout: 240 seconds) 2016-08-27T16:34:53Z jrx: Hello. For debugging a particular function that does not signal a problem, how do you make lisp call the debugger immediatly when calling the function I want to debug ? 2016-08-27T16:34:55Z zeissoctopus joined #lisp 2016-08-27T16:35:17Z aaronjensen joined #lisp 2016-08-27T16:35:26Z jrx: in order to step into the function, step by step, and analyze its behavior... 2016-08-27T16:37:39Z drdo quit (Ping timeout: 250 seconds) 2016-08-27T16:37:56Z drdo joined #lisp 2016-08-27T16:38:57Z fiddlerwoaroof: (step (....)) 2016-08-27T16:38:58Z shka_: jrx: add (break) to your function, recompile 2016-08-27T16:39:23Z fiddlerwoaroof: Although, you might have to compile with (declare (optimize (debug 3))) or something 2016-08-27T16:40:37Z jrx: fiddlerwoaroof: thanks 2016-08-27T16:41:14Z jrx: shka_: I prefer to not touch my function I want to debug, and so I'll use (step (my-func)) instead. But thanks anyway 2016-08-27T16:43:35Z jrx quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2016-08-27T16:46:59Z Ven joined #lisp 2016-08-27T16:48:52Z peterh quit (Ping timeout: 240 seconds) 2016-08-27T16:51:32Z PlasmaStar quit (Ping timeout: 244 seconds) 2016-08-27T16:55:06Z PlasmaStar joined #lisp 2016-08-27T16:57:00Z zacts quit (Ping timeout: 258 seconds) 2016-08-27T16:58:03Z DeadTrickster joined #lisp 2016-08-27T17:04:17Z EvW joined #lisp 2016-08-27T17:06:53Z przl joined #lisp 2016-08-27T17:07:38Z malice quit (Remote host closed the connection) 2016-08-27T17:09:00Z sjl joined #lisp 2016-08-27T17:11:36Z zacts joined #lisp 2016-08-27T17:11:37Z slyrus joined #lisp 2016-08-27T17:12:00Z vlatkoB joined #lisp 2016-08-27T17:19:38Z defaultxr joined #lisp 2016-08-27T17:23:49Z milanj joined #lisp 2016-08-27T17:24:08Z zeissoctopus quit (Remote host closed the connection) 2016-08-27T17:29:59Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-27T17:34:08Z dddddd joined #lisp 2016-08-27T17:40:40Z rszeno joined #lisp 2016-08-27T17:41:07Z andrei-n quit (Ping timeout: 244 seconds) 2016-08-27T17:44:01Z ania123 joined #lisp 2016-08-27T17:45:42Z krasnal quit (Read error: Connection reset by peer) 2016-08-27T17:48:29Z robotoad joined #lisp 2016-08-27T17:48:46Z przl quit (Quit: leaving) 2016-08-27T17:54:52Z milanj quit (Ping timeout: 240 seconds) 2016-08-27T17:55:02Z ania123 quit (Ping timeout: 264 seconds) 2016-08-27T17:55:44Z andrei-n joined #lisp 2016-08-27T17:56:41Z lemoinem joined #lisp 2016-08-27T17:56:59Z kmb joined #lisp 2016-08-27T17:57:03Z tmtwd quit (Ping timeout: 240 seconds) 2016-08-27T17:59:09Z tmtwd joined #lisp 2016-08-27T18:02:39Z Th30n quit (Quit: leaving) 2016-08-27T18:10:24Z krasnal joined #lisp 2016-08-27T18:12:55Z pareidolia: Hmm. My first memory leak 2016-08-27T18:21:37Z zacts_pi joined #lisp 2016-08-27T18:24:01Z zacts quit (Ping timeout: 252 seconds) 2016-08-27T18:30:04Z joneshf-laptop quit (Remote host closed the connection) 2016-08-27T18:31:43Z BlueRavenGT joined #lisp 2016-08-27T18:39:45Z zacts_pi quit (Quit: WeeChat 1.5) 2016-08-27T18:43:07Z LiamH joined #lisp 2016-08-27T18:44:48Z adolf_stalin joined #lisp 2016-08-27T18:45:50Z gravicappa joined #lisp 2016-08-27T18:51:59Z dddddd quit (Ping timeout: 250 seconds) 2016-08-27T18:58:49Z robotoad quit (Ping timeout: 255 seconds) 2016-08-27T19:04:13Z shka_ quit (Ping timeout: 255 seconds) 2016-08-27T19:05:16Z attila_lendvai joined #lisp 2016-08-27T19:05:26Z dddddd joined #lisp 2016-08-27T19:21:30Z lambdice joined #lisp 2016-08-27T19:24:23Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-27T19:24:28Z renz quit (Ping timeout: 244 seconds) 2016-08-27T19:33:27Z Orion3k quit (Ping timeout: 265 seconds) 2016-08-27T19:33:39Z mishoo joined #lisp 2016-08-27T19:34:55Z Orion3k joined #lisp 2016-08-27T19:40:29Z vlatkoB quit (Remote host closed the connection) 2016-08-27T19:41:33Z MrWoohoo joined #lisp 2016-08-27T19:46:01Z kmb quit (Quit: kmb) 2016-08-27T19:46:53Z kmb joined #lisp 2016-08-27T19:50:26Z Yuuhi joined #lisp 2016-08-27T19:51:02Z sukaeto joined #lisp 2016-08-27T19:51:09Z Ven quit (Ping timeout: 260 seconds) 2016-08-27T19:54:53Z Ven joined #lisp 2016-08-27T20:09:25Z attila_lendvai quit (Read error: Connection reset by peer) 2016-08-27T20:09:37Z Josh2 joined #lisp 2016-08-27T20:15:05Z shifty quit (Ping timeout: 244 seconds) 2016-08-27T20:16:32Z davsebamse quit (Ping timeout: 240 seconds) 2016-08-27T20:18:39Z davsebamse joined #lisp 2016-08-27T20:19:57Z aindilis2 quit (Remote host closed the connection) 2016-08-27T20:25:34Z gravicappa quit (Ping timeout: 260 seconds) 2016-08-27T20:27:36Z rszeno quit (Quit: Leaving.) 2016-08-27T20:32:03Z mishoo_ joined #lisp 2016-08-27T20:32:15Z mishoo quit (Ping timeout: 264 seconds) 2016-08-27T20:34:32Z Ven quit (Ping timeout: 240 seconds) 2016-08-27T20:39:06Z Ven joined #lisp 2016-08-27T20:42:53Z mathi_aihtam joined #lisp 2016-08-27T20:45:31Z gingerale quit (Remote host closed the connection) 2016-08-27T20:46:20Z milanj joined #lisp 2016-08-27T20:49:35Z Ven quit (Read error: Connection reset by peer) 2016-08-27T20:50:02Z Ven joined #lisp 2016-08-27T20:51:05Z kraison joined #lisp 2016-08-27T20:51:17Z kraison quit (Remote host closed the connection) 2016-08-27T20:54:06Z LiamH quit (Quit: Leaving.) 2016-08-27T20:56:00Z knicklux joined #lisp 2016-08-27T21:00:35Z racketschemer joined #lisp 2016-08-27T21:01:39Z racketschemer: Hi. I wanted some details about quicklisp. 2016-08-27T21:02:27Z racketschemer Hi? 2016-08-27T21:02:41Z dwchandler: What details? 2016-08-27T21:03:37Z Anselmo joined #lisp 2016-08-27T21:03:48Z dwchandler: Hi? 2016-08-27T21:04:00Z racketschemer: I was trying to install cl-sdl2, but it seems you have to copy the dependencies in some folder called local_projects: https://github.com/lispgames/cl-sdl2 2016-08-27T21:04:17Z racketschemer: I tried, but it doesn't seem to work. 2016-08-27T21:04:51Z |3b|: how did it fail? 2016-08-27T21:05:43Z racketschemer: It didn't detect the dependencies. 2016-08-27T21:06:03Z JuanDaugherty: hoops are contrary to ql, stuff is just supposed to load 2016-08-27T21:06:04Z |3b|: and local-projects not local_projects 2016-08-27T21:06:09Z ntd joined #lisp 2016-08-27T21:06:29Z |3b|: which dependencies, and what error message? 2016-08-27T21:06:45Z JuanDaugherty: apropos/load is all I ever do 2016-08-27T21:06:54Z |3b| 's random guess is you need to install the C SDL lib, possibly a -dev version on some linux distros 2016-08-27T21:07:07Z racketschemer: apropos/load? 2016-08-27T21:07:19Z JuanDaugherty: r, to find and then get 2016-08-27T21:07:34Z racketschemer: ??? 2016-08-27T21:07:37Z JuanDaugherty: ql:system-apropos i think 2016-08-27T21:07:45Z racketschemer: Oh and i'm using SBCL. 2016-08-27T21:07:50Z raydeejay: racketschemer: the remark is not really relatd to your issue 2016-08-27T21:07:59Z racketschemer: OK :-) 2016-08-27T21:08:15Z racketschemer: I was saying it just in case :-) 2016-08-27T21:08:48Z |3b|: and looks like you might not actually need to install those things to local-projects unless you need the newest code 2016-08-27T21:10:14Z racketschemer: So where do i install them? And just in case, i don't have system-wide rights. 2016-08-27T21:10:45Z |3b|: try moving or renaming ~/quicklisp/local-projects if you created it, then restart lisp and do (ql:quickload "cl-sdl2") and paste the output to http://paste.lisp.org/ (or whatever pastebin you prefer) 2016-08-27T21:11:08Z uDMCIOLLth quit (Remote host closed the connection) 2016-08-27T21:11:09Z |3b|: oops, try (ql:quickload "sdl2") 2016-08-27T21:11:15Z mishoo_ quit (Ping timeout: 264 seconds) 2016-08-27T21:13:24Z ggole quit 2016-08-27T21:21:16Z themightyabby joined #lisp 2016-08-27T21:22:06Z robotoad joined #lisp 2016-08-27T21:22:49Z Anselmo quit (Ping timeout: 255 seconds) 2016-08-27T21:24:19Z Anselmo joined #lisp 2016-08-27T21:28:34Z disingenuous: is there a way to get a list of all the slots for a given class? 2016-08-27T21:30:29Z racketschemer left #lisp 2016-08-27T21:30:32Z DeadTrickster quit (Ping timeout: 240 seconds) 2016-08-27T21:36:03Z SumoSudo quit (Ping timeout: 240 seconds) 2016-08-27T21:36:55Z antonv joined #lisp 2016-08-27T21:37:02Z antonv: phoe: hello 2016-08-27T21:38:30Z Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2016-08-27T21:42:23Z vtomole_ joined #lisp 2016-08-27T21:42:41Z vtomole_: Does anyone know if closure:https://common-lisp.net/project/closure/ is still being maintained? 2016-08-27T21:42:56Z FreeBirdLjj quit (Remote host closed the connection) 2016-08-27T21:43:19Z grimsley quit (Quit: Leaving) 2016-08-27T21:44:56Z robotoad quit (Max SendQ exceeded) 2016-08-27T21:45:10Z EvW quit (Remote host closed the connection) 2016-08-27T21:45:21Z EvW joined #lisp 2016-08-27T21:45:37Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-27T21:46:34Z robotoad joined #lisp 2016-08-27T21:47:05Z antonv quit (Read error: Connection reset by peer) 2016-08-27T21:49:16Z andrei-n quit (Ping timeout: 265 seconds) 2016-08-27T21:49:19Z disingenuous: the cvs server isn't even accepting connections 2016-08-27T21:49:27Z disingenuous: so probably not 2016-08-27T21:50:50Z Rptx joined #lisp 2016-08-27T21:51:46Z antonv joined #lisp 2016-08-27T21:53:04Z vtomole_: Yeah I had to get the project from github cause i couldn't access the cvs, If i was thinking about maintaining it, what would i have to do? 2016-08-27T21:54:59Z flip214: can I wrap some LOOP or ITERATE clauses with a WITH-HTML-OUTPUT-TO-STRING, and get the accumulated string in the FINALLY? 2016-08-27T21:55:22Z phoe: antonv: hey 2016-08-27T21:55:29Z phoe: I'm about to crash for the night 2016-08-27T21:55:31Z phoe: what's up? 2016-08-27T21:58:34Z antonv: phoe: I saw your library - nicknames 2016-08-27T21:58:55Z prole quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2016-08-27T21:59:14Z phoe: antonv: pseudonyms 2016-08-27T21:59:21Z phoe: but yes, I know what you want to talk about :D 2016-08-27T21:59:25Z antonv: right 2016-08-27T21:59:28Z antonv: what? 2016-08-27T21:59:34Z flip214: I guess I could put WITH-HTML-OUTPUT-TO-STRING outside the loop, and access the contents via GET-OUTPUT-STREAM-STRINGS 2016-08-27T21:59:43Z phoe: when I was writing that library, I had no idea that you wrote essentially the same thing years before 2016-08-27T21:59:50Z phoe: and only recently I stumbled upon it 2016-08-27T21:59:51Z antonv: yes 2016-08-27T21:59:59Z stepnem quit (Ping timeout: 244 seconds) 2016-08-27T22:00:09Z antonv: but that's a good news, unfortunately there are bad news too 2016-08-27T22:00:13Z phoe: hm? 2016-08-27T22:00:20Z antonv: that turned out to be non portable 2016-08-27T22:00:27Z phoe: !? 2016-08-27T22:00:29Z antonv: http://openmcl-devel.clozure.narkive.com/cPpjTjCs/non-terminating-macro-character-after-sharpsign-colon 2016-08-27T22:00:31Z phoe: why? how? 2016-08-27T22:00:50Z antonv: if somebody has a symbol #:$bla 2016-08-27T22:01:15Z antonv: then reading that simbol when the $ reader macro is defined fails in CCL and CLISP 2016-08-27T22:01:21Z phoe: welp 2016-08-27T22:01:33Z phoe: that's a corner case, but nevertheless. 2016-08-27T22:01:36Z antonv: Gary Byers from CCL thinks that's what CLHS demands 2016-08-27T22:01:46Z phoe: and he might be correct in his guesses 2016-08-27T22:02:14Z antonv: yes, a corder case 2016-08-27T22:02:37Z antonv: I learned about it when tried to load the fset library 2016-08-27T22:02:44Z antonv: it has such a symbol 2016-08-27T22:03:05Z DeadTrickster joined #lisp 2016-08-27T22:03:40Z andrei-n joined #lisp 2016-08-27T22:04:10Z phoe: well. 2016-08-27T22:04:20Z antonv: phoe: in principle, if we enable the $ reader macro to read only our code, then no problems 2016-08-27T22:04:30Z phoe: antonv: named-readtable! 2016-08-27T22:05:09Z antonv: the inconvenince is that I can't have the $ being enabled always, need to turn it off when reading somebody's else code 2016-08-27T22:05:21Z phoe: antonv: named-readtable, still. 2016-08-27T22:05:55Z phoe: Doesn't *READTABLE* get reset to default on each file load? 2016-08-27T22:06:02Z phoe: Like *PACKAGE* does? 2016-08-27T22:06:38Z phoe: Which is why you need an IN-PACKAGE at the beginning of each file? 2016-08-27T22:06:44Z antonv: phoe: yes in that fasion (speakin about named-readtables - it looks too complex for me, I prefer a simpler way) 2016-08-27T22:06:48Z phoe: If the behaviour is like this, then our problem is solved. 2016-08-27T22:06:53Z phoe: antonv: it's working well enough. 2016-08-27T22:07:09Z phoe: (IN-READTABLE *PSEUDONYMS-READTABLE*) 2016-08-27T22:07:12Z phoe: and boom 2016-08-27T22:07:38Z phoe: you can have your reader macro selectively enabled on files you need it in. 2016-08-27T22:07:47Z antonv: phoe: *READTABLE* is restored after complile file to the value it has before compile file 2016-08-27T22:08:18Z antonv: I mean I can't keep the $ reader macro always present in *READTABLE*, need to disable/enable it 2016-08-27T22:08:40Z phoe: antonv: doesn't it solve our problem? 2016-08-27T22:09:02Z phoe: If library A has this #:$abcdef symbol, you do not enable the readtable in its files as it will break. 2016-08-27T22:09:22Z phoe: If library B does not have symbols like these but uses the syntax, you put the IN-READTABLE on top. 2016-08-27T22:09:36Z phoe: s/syntax/pseudonym syntax/ 2016-08-27T22:09:41Z antonv: yes, but in ideal case my readtable should handle the library A without problem 2016-08-27T22:09:55Z phoe: antonv: it's an ideal case. 2016-08-27T22:09:56Z antonv: that's what disappointed me when I found this 2016-08-27T22:10:05Z phoe: antonv: actually 2016-08-27T22:10:21Z phoe: an ideal case would be portable package-local nicknames in all implementations <3 2016-08-27T22:10:36Z antonv: phoe: yes 2016-08-27T22:10:47Z phoe: but, welp. 2016-08-27T22:10:47Z antonv: phoe: and pluggable reader implementation 2016-08-27T22:10:50Z phoe: we're not getting that. 2016-08-27T22:10:51Z phoe: ^ 2016-08-27T22:11:09Z phoe: "so, um, when do we revise the CL standard?" 2016-08-27T22:11:09Z antonv: like a *reader* variable which you can bind to an new object which implements the cl:read 2016-08-27T22:11:11Z phoe ducks 2016-08-27T22:14:11Z antonv: as for named readtables - I prefer a simpler approach 2016-08-27T22:15:14Z antonv: (setq *readtable* (enable-my-syntax (copy-readtable *readtable*))) 2016-08-27T22:15:44Z antonv: so the ENABLE-MY-SYNTAX is the way to publish my reader-macros, etc 2016-08-27T22:15:48Z antonv: it is very simple 2016-08-27T22:15:52Z antonv: and composes well 2016-08-27T22:16:16Z antonv: (setq *readtable* (enable-other-syntax-custmizations (enable-my-syntax (copy-readtable *readtable*)))) 2016-08-27T22:16:51Z antonv: the protocole is to have a function accepting a readtable as a parameter; the function customezes the readtable and returns it 2016-08-27T22:18:40Z antonv: Some time ago I though that named-readtables are not composeable at all 2016-08-27T22:20:28Z antonv: I mean when a library provides some reader customizations, it's good to leave for user a possiblity to compose it with any readtable 2016-08-27T22:20:38Z phoe: I need to crash for the night 2016-08-27T22:20:58Z antonv: phoe: ok, good night 2016-08-27T22:21:00Z phoe: but I see what you mean. 2016-08-27T22:21:02Z phoe: good night! 2016-08-27T22:23:18Z antonv: for others interested in readtables 2016-08-27T22:23:34Z antonv: for example, even phoe's use of named-readtables 2016-08-27T22:23:43Z antonv: https://github.com/phoe/pseudonyms/blob/master/pseudonyms.lisp#L148 2016-08-27T22:24:41Z antonv: here a user wants only a $ macro character, but due to use of a named readtable, user get's also :modern syntax 2016-08-27T22:26:14Z antonv: the library's purpose is to provide a single macro character, but it forces user to use case-sensitive reader mode, because it's coupled with it 2016-08-27T22:27:18Z antonv: For a long time I thought named-readtables always force you to do so. But once noticed a workaround, in some of Fare's libraries. But I don't remember now how to do that. 2016-08-27T22:27:57Z antonv: Anyways, I prefere a simpler convention for providing reader customizations - a function accepting are readtable as a parameter, modifying and returning it 2016-08-27T22:29:20Z antonv: Composes well, and so lightweight - no library is required 2016-08-27T22:29:48Z antonv: And still named - the function has a name. 2016-08-27T22:31:06Z DeadTrickster quit (Ping timeout: 276 seconds) 2016-08-27T22:31:09Z rszeno joined #lisp 2016-08-27T22:33:40Z sjl quit (Read error: Connection reset by peer) 2016-08-27T22:40:01Z wooden_ quit (Ping timeout: 265 seconds) 2016-08-27T22:49:57Z milanj quit (Quit: This computer has gone to sleep) 2016-08-27T22:51:34Z Rptx quit (Remote host closed the connection) 2016-08-27T22:51:50Z antonv: I found this: 2016-08-27T22:51:57Z antonv: https://github.com/fare/fare-quasiquote/blob/master/quasiquote-readtable.lisp 2016-08-27T22:52:11Z antonv: Just don't use :merge, :fuse, etc 2016-08-27T22:52:12Z krasnal quit (Read error: Connection reset by peer) 2016-08-27T22:52:20Z antonv: named-readtables allow that 2016-08-27T22:53:05Z fkac quit (Remote host closed the connection) 2016-08-27T23:00:42Z ovenpasta quit (Ping timeout: 250 seconds) 2016-08-27T23:01:49Z stokachu joined #lisp 2016-08-27T23:01:59Z stokachu quit (Changing host) 2016-08-27T23:01:59Z stokachu joined #lisp 2016-08-27T23:02:43Z k3rn31 quit (Ping timeout: 255 seconds) 2016-08-27T23:03:16Z Ven joined #lisp 2016-08-27T23:04:40Z milanj joined #lisp 2016-08-27T23:04:57Z stokachu quit (Quit: ZNC - http://znc.in) 2016-08-27T23:06:41Z milanj quit (Client Quit) 2016-08-27T23:07:21Z Rptx joined #lisp 2016-08-27T23:10:29Z Josh2 quit (Remote host closed the connection) 2016-08-27T23:14:48Z robotoad quit (Read error: Connection reset by peer) 2016-08-27T23:19:50Z kmb quit (Quit: kmb) 2016-08-27T23:24:37Z lnostdal joined #lisp 2016-08-27T23:24:45Z kmb joined #lisp 2016-08-27T23:26:57Z kmb quit (Client Quit) 2016-08-27T23:33:12Z adolf_stalin quit (Remote host closed the connection) 2016-08-27T23:46:38Z segmond quit (Ping timeout: 250 seconds) 2016-08-27T23:47:25Z asc232 quit (Remote host closed the connection) 2016-08-27T23:48:21Z blockeduser joined #lisp 2016-08-27T23:48:29Z blockeduser: Is anyone here any good at computer algebra systems programming? 2016-08-27T23:52:27Z varjag quit (Ping timeout: 244 seconds) 2016-08-27T23:55:36Z blockeduser quit (Quit: ChatZilla 0.9.92 [Firefox 48.0/20160805135620]) 2016-08-27T23:58:54Z segmond joined #lisp