2016-06-21T00:02:18Z jasom: Puercopop: ah, that's a 32-bit implementation; I did a 64-bit implementation. Perhaps I should combine the two 2016-06-21T00:03:17Z emaczen quit (Ping timeout: 260 seconds) 2016-06-21T00:07:06Z mastokley joined #lisp 2016-06-21T00:07:30Z lisper29 joined #lisp 2016-06-21T00:08:06Z lisper29 quit (Client Quit) 2016-06-21T00:12:44Z mejja joined #lisp 2016-06-21T00:14:04Z ASau joined #lisp 2016-06-21T00:15:39Z holly2 quit (Ping timeout: 246 seconds) 2016-06-21T00:16:19Z Puercopop: anyone knows if the texinfo version of the hyperspec included in GCL has any differences with the CLHS? 2016-06-21T00:16:34Z CEnnis91 quit (Quit: Connection closed for inactivity) 2016-06-21T00:16:41Z Puercopop: jasom: also consider submitting a PR 2016-06-21T00:18:27Z quazimod1 quit (Quit: leaving) 2016-06-21T00:21:38Z przl joined #lisp 2016-06-21T00:23:00Z holly2 joined #lisp 2016-06-21T00:25:25Z emaczen joined #lisp 2016-06-21T00:26:30Z jleija quit (Quit: leaving) 2016-06-21T00:26:40Z papachan quit (Read error: Connection reset by peer) 2016-06-21T00:26:53Z przl quit (Ping timeout: 258 seconds) 2016-06-21T00:27:27Z scottj joined #lisp 2016-06-21T00:28:05Z sweater_ joined #lisp 2016-06-21T00:30:19Z arescorpio joined #lisp 2016-06-21T00:30:29Z sweater quit (Ping timeout: 260 seconds) 2016-06-21T00:34:53Z grimsley quit (Quit: Leaving) 2016-06-21T00:38:24Z zdm joined #lisp 2016-06-21T00:39:03Z zdm is now known as Guest83242 2016-06-21T00:39:35Z Guest83242 is now known as zdm 2016-06-21T00:39:38Z zdm quit (Changing host) 2016-06-21T00:39:38Z zdm joined #lisp 2016-06-21T00:41:06Z tmtwd joined #lisp 2016-06-21T00:41:19Z sellout quit (Excess Flood) 2016-06-21T00:41:51Z sellout joined #lisp 2016-06-21T00:43:03Z tsikov joined #lisp 2016-06-21T00:43:58Z zdm: ? 2016-06-21T00:44:12Z zdm: mistype. 2016-06-21T00:45:18Z DeadTrickster quit (Ping timeout: 250 seconds) 2016-06-21T00:45:20Z sweater_ quit (Read error: Connection reset by peer) 2016-06-21T00:47:24Z tsikov quit (Ping timeout: 260 seconds) 2016-06-21T00:47:39Z CEnnis91 joined #lisp 2016-06-21T00:48:48Z zdm quit (Quit: "") 2016-06-21T00:49:24Z pjb quit (Remote host closed the connection) 2016-06-21T00:50:15Z al-damiri quit (Quit: Connection closed for inactivity) 2016-06-21T00:51:21Z wccoder quit (Remote host closed the connection) 2016-06-21T00:51:33Z johndau joined #lisp 2016-06-21T00:51:52Z sausages quit (Quit: leaving) 2016-06-21T00:52:05Z sausages joined #lisp 2016-06-21T00:55:18Z sausages quit (Client Quit) 2016-06-21T00:56:58Z sausages joined #lisp 2016-06-21T00:59:04Z sausages quit (Client Quit) 2016-06-21T01:02:08Z emaczen quit (Ping timeout: 244 seconds) 2016-06-21T01:04:59Z emaczen joined #lisp 2016-06-21T01:07:33Z shdeng joined #lisp 2016-06-21T01:09:29Z Karl_Dscc quit (Remote host closed the connection) 2016-06-21T01:11:45Z zdm joined #lisp 2016-06-21T01:14:20Z xantoz quit (Ping timeout: 260 seconds) 2016-06-21T01:18:02Z eschatologist joined #lisp 2016-06-21T01:19:03Z zdm quit (Ping timeout: 264 seconds) 2016-06-21T01:21:22Z sausages joined #lisp 2016-06-21T01:21:55Z zdm joined #lisp 2016-06-21T01:22:00Z Puercopop: anyone has experience with nst? How does it compare to other test frameworks? 2016-06-21T01:22:21Z przl joined #lisp 2016-06-21T01:22:59Z zdm quit (Changing host) 2016-06-21T01:22:59Z zdm joined #lisp 2016-06-21T01:25:57Z zdm quit (Client Quit) 2016-06-21T01:26:00Z sondr3 quit (Ping timeout: 260 seconds) 2016-06-21T01:26:20Z zdm joined #lisp 2016-06-21T01:27:08Z xantoz joined #lisp 2016-06-21T01:28:00Z przl quit (Ping timeout: 276 seconds) 2016-06-21T01:29:52Z fluter quit (Ping timeout: 264 seconds) 2016-06-21T01:34:24Z logrus_ joined #lisp 2016-06-21T01:39:34Z fluter joined #lisp 2016-06-21T01:40:53Z defaultxr joined #lisp 2016-06-21T01:43:05Z test1600 joined #lisp 2016-06-21T01:51:53Z wccoder joined #lisp 2016-06-21T01:56:20Z wccoder quit (Ping timeout: 260 seconds) 2016-06-21T01:57:00Z asc232 joined #lisp 2016-06-21T01:57:40Z emaczen quit (Ping timeout: 250 seconds) 2016-06-21T02:00:21Z space_otter joined #lisp 2016-06-21T02:03:31Z FreeBirdLjj joined #lisp 2016-06-21T02:03:38Z lemoinem joined #lisp 2016-06-21T02:04:24Z Blukunfando quit (Ping timeout: 276 seconds) 2016-06-21T02:12:11Z therik quit (Ping timeout: 240 seconds) 2016-06-21T02:12:31Z eschatologist quit (Quit: Textual IRC Client: www.textualapp.com) 2016-06-21T02:13:16Z emaczen joined #lisp 2016-06-21T02:14:54Z asc232 quit (Quit: Saliendo) 2016-06-21T02:19:30Z loli joined #lisp 2016-06-21T02:19:39Z eschatologist joined #lisp 2016-06-21T02:20:36Z loli left #lisp 2016-06-21T02:23:07Z przl joined #lisp 2016-06-21T02:26:08Z scottj quit (Remote host closed the connection) 2016-06-21T02:28:27Z przl quit (Ping timeout: 276 seconds) 2016-06-21T02:39:28Z phadthai joined #lisp 2016-06-21T02:41:56Z mrcom joined #lisp 2016-06-21T02:42:31Z lemoinem quit (Ping timeout: 252 seconds) 2016-06-21T02:43:26Z |2321 quit (Quit: Connection closed for inactivity) 2016-06-21T02:43:59Z pnq joined #lisp 2016-06-21T02:44:13Z pnq quit (Read error: Connection reset by peer) 2016-06-21T02:44:31Z tsikov joined #lisp 2016-06-21T02:45:20Z eschatologist quit (Ping timeout: 250 seconds) 2016-06-21T02:48:26Z edgar-rft quit (Quit: edgar-rft) 2016-06-21T02:48:28Z mastokley quit (Ping timeout: 264 seconds) 2016-06-21T02:49:25Z tsikov quit (Ping timeout: 260 seconds) 2016-06-21T02:51:24Z adolf_stalin quit (Quit: Leaving...) 2016-06-21T02:52:30Z unrahul quit (Quit: Connection closed for inactivity) 2016-06-21T02:56:06Z xrash quit (Remote host closed the connection) 2016-06-21T02:56:11Z asc232 joined #lisp 2016-06-21T03:01:33Z emaczen quit (Ping timeout: 246 seconds) 2016-06-21T03:03:32Z schoppenhauer quit (Ping timeout: 250 seconds) 2016-06-21T03:05:19Z eschatologist joined #lisp 2016-06-21T03:05:27Z DougNYC joined #lisp 2016-06-21T03:05:41Z schoppenhauer joined #lisp 2016-06-21T03:06:55Z kobain quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-06-21T03:07:37Z emaczen joined #lisp 2016-06-21T03:10:10Z loke joined #lisp 2016-06-21T03:17:21Z Blukunfando joined #lisp 2016-06-21T03:18:02Z tmtwd quit (Ping timeout: 244 seconds) 2016-06-21T03:23:04Z tmtwd joined #lisp 2016-06-21T03:23:53Z przl joined #lisp 2016-06-21T03:25:27Z lemoinem joined #lisp 2016-06-21T03:27:23Z kushal joined #lisp 2016-06-21T03:28:34Z przl quit (Ping timeout: 240 seconds) 2016-06-21T03:28:51Z emaczen` joined #lisp 2016-06-21T03:29:29Z emaczen quit (Read error: Connection reset by peer) 2016-06-21T03:30:30Z guicho joined #lisp 2016-06-21T03:31:34Z quazimodo quit (Ping timeout: 272 seconds) 2016-06-21T03:34:46Z mastokley joined #lisp 2016-06-21T03:37:50Z mejja quit (Quit: \ No newline at end of file) 2016-06-21T03:38:15Z FreeBirdLjj quit (Remote host closed the connection) 2016-06-21T03:39:01Z FreeBirdLjj joined #lisp 2016-06-21T03:42:11Z scottj joined #lisp 2016-06-21T03:43:36Z vlatkoB joined #lisp 2016-06-21T03:44:54Z beach joined #lisp 2016-06-21T03:45:03Z beach: Good morning everyone! 2016-06-21T03:45:12Z Quadrescence: hello 2016-06-21T03:45:59Z loke: Hello beach! 2016-06-21T03:46:03Z loke: And Quadra 2016-06-21T03:46:22Z beach: Quadrescence: Too bad there was not much interest in your quickutils. 2016-06-21T03:46:47Z walter|r quit (Remote host closed the connection) 2016-06-21T03:48:53Z toblogan joined #lisp 2016-06-21T03:48:54Z toblogan quit (Max SendQ exceeded) 2016-06-21T03:50:25Z walter|r joined #lisp 2016-06-21T03:51:29Z walter|r quit (Remote host closed the connection) 2016-06-21T03:55:34Z toblogan joined #lisp 2016-06-21T03:55:35Z toblogan quit (Max SendQ exceeded) 2016-06-21T04:02:49Z schoppenhauer quit (Ping timeout: 252 seconds) 2016-06-21T04:02:58Z akkad: if you have a (defparameter inode 12345) and want to make a cons of the variable name and value, how do you express (cons 'inode 'inode) => (INODE . 12345) ? 2016-06-21T04:03:21Z loke: akkad: First of all, you want to name that variable *inode* 2016-06-21T04:03:32Z loke: Don't create dynamic variables without the stars surrounding the name. 2016-06-21T04:03:58Z loke: akkad: as for the question, I'd do it like so: `(inode . ,*inode*) 2016-06-21T04:04:10Z loke: I guess (cons 'inode *inode*) is also good 2016-06-21T04:04:19Z akkad: got a global hash already, with n number entries, where each will be a (path . (list (inode . 12344) (size . 123))) 2016-06-21T04:04:48Z schoppenhauer joined #lisp 2016-06-21T04:04:56Z akkad: loke: thanks. 2016-06-21T04:07:03Z akkad: loke: https://gist.github.com/7e93f11691bb4f7b8988a93cf41b1eff 2016-06-21T04:07:37Z rgrau quit (Ping timeout: 244 seconds) 2016-06-21T04:08:29Z loke: In your code, *inode* is a local variable, not a global dynamic one as in your question just now 2016-06-21T04:08:38Z loke: You should not use stars for local variables. 2016-06-21T04:08:57Z Ober: akkad: use a plist. much more efficient 2016-06-21T04:09:40Z loke: Ober: I wouldn't recommend that. Plists are more of a hassle, and the performance argument should only be considered if you actually have some performance problems. 2016-06-21T04:10:11Z asc232 quit (Remote host closed the connection) 2016-06-21T04:10:12Z akkad: was trying to avoid '(inode . (format nil "~A" ,inode)) 2016-06-21T04:10:16Z loke: akkad: You are using X has a hash key. What is X actually? 2016-06-21T04:10:32Z loke: akkad: You'd do it as such: `(inode . ,(format ...)) 2016-06-21T04:10:35Z akkad: loke a pathname 2016-06-21T04:10:49Z akkad: right escape the functions. k 2016-06-21T04:11:05Z akkad: felt the pattern felt awkward. and so I must be doing it wrong 2016-06-21T04:13:18Z tmtwd quit (Ping timeout: 250 seconds) 2016-06-21T04:24:34Z pierpa quit (Ping timeout: 240 seconds) 2016-06-21T04:24:37Z przl joined #lisp 2016-06-21T04:24:43Z arescorpio quit (Quit: Leaving.) 2016-06-21T04:24:49Z phadthai quit (Ping timeout: 252 seconds) 2016-06-21T04:25:37Z phadthai joined #lisp 2016-06-21T04:29:16Z shdeng quit (Ping timeout: 264 seconds) 2016-06-21T04:29:20Z przl quit (Ping timeout: 244 seconds) 2016-06-21T04:30:23Z Quadrescence: beach, it is what it is, it caused drama even 2016-06-21T04:30:58Z Quadrescence: the architecture of the application is certainly not perfect, but very few things are the first round ;) 2016-06-21T04:31:43Z ramky joined #lisp 2016-06-21T04:32:30Z beach: True. 2016-06-21T04:32:46Z adolf_stalin joined #lisp 2016-06-21T04:32:55Z loke: Quadrescence: What application are you talking about? 2016-06-21T04:33:01Z Quadrescence: loke, quickutils 2016-06-21T04:33:29Z Quadrescence: https://github.com/tarballs-are-good/quickutil 2016-06-21T04:34:01Z Quadrescence: Was attempting some way to not write (defun sq (x) (* x x)) every time I write a new math application ;) 2016-06-21T04:34:25Z Quadrescence: while simultaneously not having (defsystem #:my-own-personal-utils ...) 2016-06-21T04:35:24Z Quadrescence: I felt a need for something more granular than another utils library while simultaneously not reinventing the wheel and not writing simple functions in an error prone way 2016-06-21T04:38:24Z fluter quit (Ping timeout: 260 seconds) 2016-06-21T04:38:42Z Quadrescence: this line was heavily criticized: https://github.com/tarballs-are-good/quickutil/blob/master/quickutil-client/management.lisp#L43 2016-06-21T04:38:50Z Quadrescence: s/line/function 2016-06-21T04:39:16Z shdeng joined #lisp 2016-06-21T04:40:03Z fluter joined #lisp 2016-06-21T04:41:34Z jokleinn quit (Ping timeout: 240 seconds) 2016-06-21T04:44:54Z defaultxr quit (Quit: gnight) 2016-06-21T04:47:33Z BlueRavenGT quit (Ping timeout: 276 seconds) 2016-06-21T04:49:05Z Quadrescence: beach, do you have a favorite CL function you've written? 2016-06-21T04:53:25Z wccoder joined #lisp 2016-06-21T04:57:52Z wccoder quit (Ping timeout: 260 seconds) 2016-06-21T04:58:45Z beach: Quadrescence: I can't think of any right now. 2016-06-21T04:59:06Z Quadrescence: I think this one is mine: https://bitbucket.org/tarballs_are_good/interface/src/6043c6466250603f2f08f24191543234d9d46e90/interface.lisp?fileviewer=file-view-default#interface.lisp-40 2016-06-21T04:59:09Z shka joined #lisp 2016-06-21T04:59:42Z Quadrescence: Not because it's super valuable, but because it solves a sort of neat problem in a way that's not as cache friendly as just doing something like MULTIPLE-VALUE-CALL 2016-06-21T04:59:43Z White_Flame: if every new CL function you write isn't your new favorite one, you're doing it wrong :) 2016-06-21T05:00:14Z Quadrescence: White_Flame, teach me the ways of having a monotonically increasing interestingness metric of functions I write! 2016-06-21T05:00:55Z jokleinn joined #lisp 2016-06-21T05:02:11Z White_Flame: step 1: achieve programming satori 2016-06-21T05:03:19Z quazimodo joined #lisp 2016-06-21T05:08:38Z test1600 quit (Read error: Connection reset by peer) 2016-06-21T05:09:00Z test1600 joined #lisp 2016-06-21T05:17:43Z sauvin joined #lisp 2016-06-21T05:20:42Z FreeBird_ joined #lisp 2016-06-21T05:21:21Z FreeBirdLjj quit (Ping timeout: 244 seconds) 2016-06-21T05:25:21Z przl joined #lisp 2016-06-21T05:25:59Z easye joined #lisp 2016-06-21T05:26:36Z CEnnis91 quit (Quit: Connection closed for inactivity) 2016-06-21T05:29:25Z logrus_ quit (Quit: Leaving) 2016-06-21T05:30:01Z Rinzlit_ joined #lisp 2016-06-21T05:31:06Z przl quit (Ping timeout: 276 seconds) 2016-06-21T05:31:20Z Rinzlit quit (Ping timeout: 244 seconds) 2016-06-21T05:31:26Z Rinzlit_ is now known as Rinzlit 2016-06-21T05:37:36Z mbuf joined #lisp 2016-06-21T05:38:10Z DougNYC quit 2016-06-21T05:40:01Z mrcom: minion: memo for therik: Simultaneously holding multiple locks is very error prone, and requires a rigid locking order. ("Always lock A, then B, never B then A.") Seems you're already aware of this, but... 2016-06-21T05:40:02Z minion: Remembered. I'll tell therik when he/she/it next speaks. 2016-06-21T05:40:52Z mrcom: minion: memo for therik: It's just as dangerous to have two different locks covering the same resource. Not sure if that's what you're thinking with "third lock". 2016-06-21T05:40:52Z minion: Remembered. I'll tell therik when he/she/it next speaks. 2016-06-21T05:45:17Z mrcom: minion: memo for therik: Regarding without-interrupts in https://github.com/rmoritz/bt-semaphore/blob/master/src/semaphore.lisp#L29 - Not sure, but there's a race condition when using timeout in wait-on-semaphore method. It's possible for a waiter to "win" the condition-notify (line 28 / line 51), but then get a timeout (say, before line 52 executes). 2016-06-21T05:45:17Z minion: Remembered. I'll tell therik when he/she/it next speaks. 2016-06-21T05:46:50Z tsikov joined #lisp 2016-06-21T05:47:19Z emaczen` quit (Ping timeout: 252 seconds) 2016-06-21T05:49:36Z mrcom: minion: memo for therik: The result will be that the condition-notify in line 28 gets wasted, and no uses the freed resource until some other thread calls wait-on-semaphore. (But any waiters already on the wait list will just hang.) 2016-06-21T05:49:36Z minion: Remembered. I'll tell therik when he/she/it next speaks. 2016-06-21T05:50:35Z jackdaniel: o/ 2016-06-21T05:50:35Z mrcom: minion: memo for therik: The core problem is that waiting for the condition and timing out need to part of a single atomic operation (line 51). Threads Are Hard :) 2016-06-21T05:50:35Z minion: Remembered. I'll tell therik when he/she/it next speaks. 2016-06-21T05:51:32Z tsikov quit (Ping timeout: 272 seconds) 2016-06-21T05:52:01Z schaueho joined #lisp 2016-06-21T05:58:42Z shka quit (Ping timeout: 244 seconds) 2016-06-21T05:59:56Z Munksgaard joined #lisp 2016-06-21T06:00:50Z mishoo joined #lisp 2016-06-21T06:01:00Z sword` joined #lisp 2016-06-21T06:01:51Z emaczen` joined #lisp 2016-06-21T06:02:10Z Petit_Dejeuner quit (Ping timeout: 244 seconds) 2016-06-21T06:04:36Z sword quit (Ping timeout: 246 seconds) 2016-06-21T06:04:45Z beach left #lisp 2016-06-21T06:06:33Z stepnem joined #lisp 2016-06-21T06:07:45Z PlasmaStar quit (Ping timeout: 246 seconds) 2016-06-21T06:12:17Z PlasmaStar joined #lisp 2016-06-21T06:16:59Z FreeBird_ quit (Remote host closed the connection) 2016-06-21T06:17:18Z FreeBirdLjj joined #lisp 2016-06-21T06:21:38Z krasnal joined #lisp 2016-06-21T06:22:03Z schaueho quit (Ping timeout: 240 seconds) 2016-06-21T06:22:20Z eschatologist quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-06-21T06:22:32Z eschatologist joined #lisp 2016-06-21T06:25:35Z guicho quit (Ping timeout: 244 seconds) 2016-06-21T06:25:55Z mrcom: minion: memo for therik: SB-THREAD::GRAB-MUTEX says it is not irpt safe, and needs WITHOUT-INTERRUPTS, but that's really low-level, and the SB-THREAD::WITH-MUTEX macro has no such warning. I don't know what Bordeaux-Threads calls, but it's probably SB-T:WITH-MUTEX, and BT:WITH-LOCK-HELD has no warning. 2016-06-21T06:25:55Z minion: Remembered. I'll tell therik when he/she/it next speaks. 2016-06-21T06:26:07Z przl joined #lisp 2016-06-21T06:26:28Z phoe_work joined #lisp 2016-06-21T06:26:58Z phoe_work: About that internbombing discussion from a while ago, jasom - what do you think of the following solution?: 2016-06-21T06:28:36Z phoe_work: Create a temporary package, let the reader stay inside it. Add a function to GC hooks that leaves the package, deletes the package which uninterns all symbols inside it, creates the package anew, goes inside the package, lets normal GC take place. 2016-06-21T06:28:42Z tsikov joined #lisp 2016-06-21T06:31:34Z przl quit (Ping timeout: 260 seconds) 2016-06-21T06:32:39Z Puercopop: phoe_work: you still have to disable the : :: 2016-06-21T06:32:48Z Puercopop: but that is the most sensible approach I could think of 2016-06-21T06:33:23Z phoe_work: Puercopop: huh, I see. 2016-06-21T06:33:55Z phoe_work: How do I "disable" them though? 2016-06-21T06:34:12Z phoe_work: Is : a reader macro? 2016-06-21T06:34:16Z jackdaniel: best part: you can't ;) 2016-06-21T06:34:17Z jackdaniel: it's not 2016-06-21T06:34:23Z Puercopop: not, it is a constituent character 2016-06-21T06:34:51Z Puercopop: probably something like subclass pjb's reader and modify its constituent character table 2016-06-21T06:35:23Z phoe_work: ;ajojblkdfjhakshfj;safasojgbfs 2016-06-21T06:35:30Z phoe_work: this sucks 2016-06-21T06:36:24Z phoe_work: I'll investigate and check out pjb's reader as it does sound like a sane choice here. 2016-06-21T06:38:48Z Puercopop: it looks that make-token-parser takes a parse-symbol-token keyword argument 2016-06-21T06:40:10Z flamebeard joined #lisp 2016-06-21T06:40:39Z DavidGu_Desktop joined #lisp 2016-06-21T06:40:40Z Puercopop: it seems posible to implement make-symbol-parser-function that signals an error when it encounters +ct-package-marker+ 2016-06-21T06:40:47Z Puercopop: w/o too much effort 2016-06-21T06:42:11Z phoe_work: I see 2016-06-21T06:43:40Z Puercopop: and the readtable takes an parse-token :initarg 2016-06-21T06:44:28Z flip214: just do the parsing in a fork()ed process, send the valid data across the pipe back to the original process, and quit the child. ;) 2016-06-21T06:46:16Z Petit_Dejeuner joined #lisp 2016-06-21T06:46:24Z mrcom: Taking a ";)" seriously, but you couldn't trust the child. It could pass back bad data. 2016-06-21T06:46:30Z DeadTrickster joined #lisp 2016-06-21T06:49:58Z mrcom: Could you read (raw chars) a stream, do a regex, then pass the cleansed stream to reader? 2016-06-21T06:52:11Z strelox joined #lisp 2016-06-21T06:52:58Z m3tti joined #lisp 2016-06-21T06:54:58Z przl joined #lisp 2016-06-21T06:55:58Z shka joined #lisp 2016-06-21T06:58:39Z tessier quit (Ping timeout: 258 seconds) 2016-06-21T07:02:47Z m3tti quit (Remote host closed the connection) 2016-06-21T07:05:20Z przl quit (Ping timeout: 250 seconds) 2016-06-21T07:05:48Z jlarocco joined #lisp 2016-06-21T07:05:49Z meiji11 joined #lisp 2016-06-21T07:09:00Z FreeBirdLjj quit (Remote host closed the connection) 2016-06-21T07:09:41Z FreeBirdLjj joined #lisp 2016-06-21T07:10:07Z gingerale joined #lisp 2016-06-21T07:11:18Z DeadTrickster quit (Ping timeout: 258 seconds) 2016-06-21T07:13:49Z therik joined #lisp 2016-06-21T07:13:52Z p_l quit (Ping timeout: 272 seconds) 2016-06-21T07:14:44Z jlarocco: this is possibly a dumb question, but I've found several libraries for reading audio files (mp3, flac, ogg, etc.), but can't find any for going the opposite direction and writing audio data to a file. 2016-06-21T07:14:52Z jargonmonk joined #lisp 2016-06-21T07:21:36Z aries_liuxueyang quit (Ping timeout: 276 seconds) 2016-06-21T07:26:21Z sondr3 joined #lisp 2016-06-21T07:26:23Z aries_liuxueyang joined #lisp 2016-06-21T07:26:23Z attila_lendvai joined #lisp 2016-06-21T07:26:23Z attila_lendvai quit (Changing host) 2016-06-21T07:26:23Z attila_lendvai joined #lisp 2016-06-21T07:27:11Z FreeBirdLjj quit (Remote host closed the connection) 2016-06-21T07:27:28Z DavidGu_Desktop quit (Read error: Connection reset by peer) 2016-06-21T07:27:33Z FreeBirdLjj joined #lisp 2016-06-21T07:27:49Z DavidGu_Desktop joined #lisp 2016-06-21T07:28:26Z rm34D` quit (Ping timeout: 272 seconds) 2016-06-21T07:30:31Z sondr3 quit (Ping timeout: 244 seconds) 2016-06-21T07:31:56Z scymtym joined #lisp 2016-06-21T07:32:11Z space_otter quit (Remote host closed the connection) 2016-06-21T07:34:11Z phoe_work: jlarocco: what sort of data do you want to write? 2016-06-21T07:34:40Z adolf_stalin quit (Remote host closed the connection) 2016-06-21T07:34:41Z phoe_work: I do not think there are any MP3/OGG encoders written in Common Lisp, if you mean it. 2016-06-21T07:37:33Z kushal quit (Quit: Leaving) 2016-06-21T07:37:56Z omilu_ quit (Ping timeout: 272 seconds) 2016-06-21T07:38:06Z omilu joined #lisp 2016-06-21T07:38:54Z Velveeta_Chef quit (Ping timeout: 258 seconds) 2016-06-21T07:39:19Z jlarocco: I'm reading in mp3 files using mixalot-mp3, and I'd like to process the raw decoded data then write it back out to an audio file 2016-06-21T07:39:48Z reepca quit (Read error: Connection reset by peer) 2016-06-21T07:41:22Z peterh joined #lisp 2016-06-21T07:41:50Z phoe_work: mixalot utilizes an external library through CFFI. 2016-06-21T07:42:06Z phoe_work: It uses libmpg123 for reading mp3 data 2016-06-21T07:42:10Z jlarocco: yeah, that's fine 2016-06-21T07:42:17Z jlarocco: but it doesn't support writing 2016-06-21T07:42:25Z phoe_work: I assume you will need to interface with a different external library in order to write it back. 2016-06-21T07:43:02Z jlarocco: yeah, that's the conclusion I was reaching, but wanted to double check if anybody had written it already 2016-06-21T07:43:04Z phoe_work: You can find the proper library and its C interface that you need and wrap CFFI around it in order to be able to use it from within Lisp. 2016-06-21T07:43:05Z emaczen` quit (Ping timeout: 244 seconds) 2016-06-21T07:48:42Z reepca joined #lisp 2016-06-21T07:54:14Z Velveeta_Chef joined #lisp 2016-06-21T07:59:44Z SamSkulls joined #lisp 2016-06-21T08:00:21Z FreeBirdLjj quit (Remote host closed the connection) 2016-06-21T08:01:09Z FreeBirdLjj joined #lisp 2016-06-21T08:05:29Z SamSkulls quit (Quit: ERC (IRC client for Emacs 25.0.50.1)) 2016-06-21T08:07:48Z tessier joined #lisp 2016-06-21T08:08:08Z hhdave joined #lisp 2016-06-21T08:09:13Z DavidGu_Desktop quit (Read error: Connection reset by peer) 2016-06-21T08:09:19Z DavidGu_Desktop1 joined #lisp 2016-06-21T08:11:50Z DavidGu_Desktop1 is now known as DavidGu_Desktop 2016-06-21T08:13:28Z FreeBirdLjj quit (Remote host closed the connection) 2016-06-21T08:13:49Z FreeBirdLjj joined #lisp 2016-06-21T08:18:16Z phoe_work quit (Ping timeout: 250 seconds) 2016-06-21T08:20:43Z Karl_Dscc joined #lisp 2016-06-21T08:24:08Z DavidGu_Desktop quit (Ping timeout: 258 seconds) 2016-06-21T08:24:14Z angavrilov joined #lisp 2016-06-21T08:24:45Z phoe_work joined #lisp 2016-06-21T08:25:05Z HeyFlash joined #lisp 2016-06-21T08:27:01Z grouzen joined #lisp 2016-06-21T08:31:18Z FreeBirdLjj quit (Remote host closed the connection) 2016-06-21T08:31:57Z FreeBirdLjj joined #lisp 2016-06-21T08:33:10Z p_l joined #lisp 2016-06-21T08:34:44Z FreeBirdLjj quit (Remote host closed the connection) 2016-06-21T08:35:05Z FreeBirdLjj joined #lisp 2016-06-21T08:36:26Z krasnal quit (Read error: Connection reset by peer) 2016-06-21T08:44:28Z DavidGu_Desktop joined #lisp 2016-06-21T08:49:15Z jargonmonk quit (Read error: Connection reset by peer) 2016-06-21T08:50:04Z strelox quit (Ping timeout: 240 seconds) 2016-06-21T08:51:18Z DavidGu_Desktop quit (Ping timeout: 276 seconds) 2016-06-21T08:52:55Z krasnal joined #lisp 2016-06-21T08:53:32Z meiji11 quit (Ping timeout: 260 seconds) 2016-06-21T08:54:35Z ASau quit (Ping timeout: 260 seconds) 2016-06-21T08:55:06Z wccoder joined #lisp 2016-06-21T08:57:06Z FreeBirdLjj quit (Remote host closed the connection) 2016-06-21T08:57:48Z FreeBirdLjj joined #lisp 2016-06-21T08:57:58Z FreeBirdLjj quit (Remote host closed the connection) 2016-06-21T08:58:25Z FreeBirdLjj joined #lisp 2016-06-21T08:59:34Z wccoder quit (Ping timeout: 240 seconds) 2016-06-21T09:02:02Z tractatus joined #lisp 2016-06-21T09:02:55Z reepca: how do common lisp implementations compile themselves without including the lisp used to compile them in the executable? For example, SBCL's save-lisp-and-die just saves the current lisp image, so an attempt to compile itself using that would just yield two SBCLs in one image... 2016-06-21T09:05:14Z adolf_stalin joined #lisp 2016-06-21T09:05:53Z reepca quit (Read error: Connection reset by peer) 2016-06-21T09:07:00Z Karl_Dscc quit (Remote host closed the connection) 2016-06-21T09:10:04Z adolf_stalin quit (Ping timeout: 264 seconds) 2016-06-21T09:10:18Z reepca joined #lisp 2016-06-21T09:19:34Z MoALTz joined #lisp 2016-06-21T09:20:48Z attila_lendvai quit (Quit: Leaving.) 2016-06-21T09:21:14Z p_l: reepca: SBCL is a rare example that can be built from scratch as long as you have an ANSI common lisp implementation anywhere 2016-06-21T09:21:57Z p_l: it first builds itself in hosting lisp, uses that copy of itself to build a new image, and links that new image with C support code 2016-06-21T09:22:21Z moei quit (Quit: Leaving...) 2016-06-21T09:23:22Z p_l: reepca: other implementations modify their images in-place then dump a new one 2016-06-21T09:23:34Z zdm quit (Ping timeout: 250 seconds) 2016-06-21T09:23:44Z p_l: I believe getting CMUCL completely from scratch might involve digging out some forgotten architectures :D 2016-06-21T09:23:57Z moei joined #lisp 2016-06-21T09:24:06Z phoe_work: p_l: same about CCL 2016-06-21T09:24:17Z p_l: nice 2016-06-21T09:24:25Z p_l: I haven't checked CCL, never built it from source 2016-06-21T09:24:31Z phoe_work: it's why beach began the BOCL project 2016-06-21T09:24:53Z p_l: I recall LW requires some shenanigans with LW, same with Allegro 2016-06-21T09:24:58Z phoe_work: yes 2016-06-21T09:25:17Z phoe_work: they require previous versions of themselves to bootstrap 2016-06-21T09:26:11Z phoe_work: which is how haskell ended up being nigh impossible to port to any other architecture 2016-06-21T09:26:17Z scymtym: isn't bike doing bocl? 2016-06-21T09:26:50Z phoe_work: the lucky thing is Lisp is far from making the same mistake with all the alive implementations 2016-06-21T09:27:05Z phoe_work: scymtym: https://github.com/robert-strandh/Bootstrap-Common-Lisp I see only one commiter 2016-06-21T09:27:13Z phoe_work: s/ter/tter/ 2016-06-21T09:27:15Z FreeBirdLjj quit (Remote host closed the connection) 2016-06-21T09:27:38Z scymtym: i was thinking of https://github.com/Bike/bocl 2016-06-21T09:27:53Z FreeBirdLjj joined #lisp 2016-06-21T09:28:10Z scymtym: going by filenames, the two seem to be independent code bases 2016-06-21T09:28:12Z phoe_work: wow 2016-06-21T09:28:19Z phoe_work: but they share a README 2016-06-21T09:28:27Z phoe_work: that's something I didn't know 2016-06-21T09:29:41Z phoe_work: I need to ask Bike and beach about this 2016-06-21T09:29:42Z przl joined #lisp 2016-06-21T09:30:26Z Karl_Dscc joined #lisp 2016-06-21T09:30:32Z jackdaniel: ecl builds from C (clisp too) 2016-06-21T09:39:15Z loke: ABCL builds from Java 2016-06-21T09:39:28Z emaczen` joined #lisp 2016-06-21T09:41:35Z gas2serra joined #lisp 2016-06-21T09:42:10Z przl quit (Ping timeout: 252 seconds) 2016-06-21T09:44:21Z edgar-rft joined #lisp 2016-06-21T09:44:43Z FreeBirdLjj quit (Remote host closed the connection) 2016-06-21T09:45:04Z FreeBirdLjj joined #lisp 2016-06-21T09:45:15Z grouzen quit (Ping timeout: 276 seconds) 2016-06-21T09:45:15Z emaczen` quit (Ping timeout: 276 seconds) 2016-06-21T09:46:44Z gavilancomun joined #lisp 2016-06-21T09:47:56Z gavilancomun quit (Client Quit) 2016-06-21T09:48:27Z gavilancomun joined #lisp 2016-06-21T09:51:54Z gas2serra quit (Quit: Client Quit) 2016-06-21T09:57:10Z gas2serra joined #lisp 2016-06-21T09:57:37Z FreeBirdLjj quit (Remote host closed the connection) 2016-06-21T09:58:28Z FreeBirdLjj joined #lisp 2016-06-21T09:59:34Z yeticry quit (Ping timeout: 240 seconds) 2016-06-21T09:59:54Z DeadTrickster joined #lisp 2016-06-21T09:59:58Z gas2serra quit (Client Quit) 2016-06-21T10:01:43Z yeticry joined #lisp 2016-06-21T10:06:28Z DeadTrickster quit (Ping timeout: 264 seconds) 2016-06-21T10:06:45Z FreeBirdLjj quit (Remote host closed the connection) 2016-06-21T10:07:04Z fluter quit (Ping timeout: 264 seconds) 2016-06-21T10:07:05Z FreeBirdLjj joined #lisp 2016-06-21T10:08:47Z gas2serra joined #lisp 2016-06-21T10:09:15Z przl joined #lisp 2016-06-21T10:09:30Z gas2serra_ joined #lisp 2016-06-21T10:10:45Z Karl_Dscc quit (Remote host closed the connection) 2016-06-21T10:11:50Z fluter joined #lisp 2016-06-21T10:13:26Z przl quit (Ping timeout: 244 seconds) 2016-06-21T10:14:51Z gas2serra: ciao 2016-06-21T10:16:51Z FreeBirdLjj quit (Remote host closed the connection) 2016-06-21T10:16:57Z gas2serra quit (Quit: Client Quit) 2016-06-21T10:17:03Z gas2serra_ quit (Quit: Leaving) 2016-06-21T10:17:33Z FreeBirdLjj joined #lisp 2016-06-21T10:22:38Z phoe_work quit (Ping timeout: 250 seconds) 2016-06-21T10:23:38Z johndau quit (Remote host closed the connection) 2016-06-21T10:29:04Z moore33: In case it isn't clear, SBCL, CMUCL, CCL, etc. don't do a save-and-die to create a new version of the base system. They use a "cold load" which simulates some of the things that would be done at runtime by FASL loading to synthesize the dumped image. 2016-06-21T10:32:29Z guicho joined #lisp 2016-06-21T10:33:43Z fluter quit (Quit: WeeChat 1.2) 2016-06-21T10:33:56Z guicho quit (Client Quit) 2016-06-21T10:34:04Z fluter joined #lisp 2016-06-21T10:35:17Z constans joined #lisp 2016-06-21T10:35:18Z constans: hello 2016-06-21T10:35:37Z constans: let's say I've got sprites, how hard is it to animate them? 2016-06-21T10:35:45Z constans: where can I find a guide? 2016-06-21T10:36:04Z constans: how to define the window and the rectangle where they have to move with Lisp? 2016-06-21T10:36:07Z constans: hello? 2016-06-21T10:36:22Z flip214: constans: are you already using some framework? 2016-06-21T10:37:08Z flip214: if not, you'll want to look at sketch, I guess. https://github.com/vydd/sketch/ 2016-06-21T10:37:14Z flip214: available via QuickLisp, too. 2016-06-21T10:38:25Z lnostdal quit (Ping timeout: 260 seconds) 2016-06-21T10:38:33Z clog quit (Ping timeout: 276 seconds) 2016-06-21T10:38:47Z phoe_work joined #lisp 2016-06-21T10:38:58Z guicho joined #lisp 2016-06-21T10:39:05Z guicho quit (Remote host closed the connection) 2016-06-21T10:41:12Z reepca: constans: also, that's a rather specific question - you might have better luck trying #lispgames, since it seems like something some of them should be familiar with. 2016-06-21T10:45:10Z DeadTrickster joined #lisp 2016-06-21T10:51:51Z mastokley quit (Ping timeout: 240 seconds) 2016-06-21T10:54:08Z adolf_stalin joined #lisp 2016-06-21T10:54:47Z constans: ok thanks 2016-06-21T10:55:53Z test1600 quit (Quit: Leaving) 2016-06-21T10:58:27Z adolf_stalin quit (Ping timeout: 250 seconds) 2016-06-21T11:03:59Z Harag joined #lisp 2016-06-21T11:04:34Z DeadTrickster quit (Ping timeout: 260 seconds) 2016-06-21T11:05:33Z DavidGu_Desktop joined #lisp 2016-06-21T11:07:08Z Karl_Dscc joined #lisp 2016-06-21T11:08:06Z papachan joined #lisp 2016-06-21T11:09:11Z papachan quit (Read error: Connection reset by peer) 2016-06-21T11:12:44Z kushal joined #lisp 2016-06-21T11:17:57Z moore33: I'm defining a class compute-object, that will have metaclass compute-class. If I want to do custom initialization of some slots, is the best way to define an around method on (shared-initialize ((obj compute-object)...)? As opposed to, say, generating shared-initialize or intitialize-instance methods for the compute-object and its subclasses? 2016-06-21T11:18:28Z flip214: moore33: if it's static values, use :initform. 2016-06-21T11:18:47Z flip214: if the values get derived from other (existing) values, use :around or :after. 2016-06-21T11:18:58Z przl joined #lisp 2016-06-21T11:19:22Z moore33: flip214: Hmmm; I don't want to specify the values in the defclass form, but I suppose I could add them to the slot definition object. 2016-06-21T11:20:21Z grouzen joined #lisp 2016-06-21T11:26:15Z papachan joined #lisp 2016-06-21T11:29:16Z EvW joined #lisp 2016-06-21T11:30:20Z scottj quit (Quit: leaving) 2016-06-21T11:34:25Z zaquest quit (Ping timeout: 260 seconds) 2016-06-21T11:41:10Z emaczen` joined #lisp 2016-06-21T11:41:51Z aries_liuxueyang quit (Ping timeout: 240 seconds) 2016-06-21T11:43:13Z aries_liuxueyang joined #lisp 2016-06-21T11:47:09Z emaczen` quit (Ping timeout: 260 seconds) 2016-06-21T11:50:04Z kdridi_ quit (Ping timeout: 260 seconds) 2016-06-21T11:50:26Z kdridi_ joined #lisp 2016-06-21T11:52:02Z przl quit (Ping timeout: 260 seconds) 2016-06-21T11:56:00Z quazimodo quit (Ping timeout: 260 seconds) 2016-06-21T11:57:45Z lemoinem quit (Ping timeout: 246 seconds) 2016-06-21T11:59:11Z lnostdal joined #lisp 2016-06-21T12:00:47Z clog joined #lisp 2016-06-21T12:02:32Z quazimodo joined #lisp 2016-06-21T12:06:41Z alchmzt joined #lisp 2016-06-21T12:07:04Z gilez joined #lisp 2016-06-21T12:13:30Z aries_liuxueyang quit (Ping timeout: 260 seconds) 2016-06-21T12:13:36Z aries_liuxueyang joined #lisp 2016-06-21T12:13:43Z FreeBirdLjj quit (Remote host closed the connection) 2016-06-21T12:14:04Z FreeBirdLjj joined #lisp 2016-06-21T12:14:08Z malice joined #lisp 2016-06-21T12:17:32Z lnostdal quit (Read error: Connection reset by peer) 2016-06-21T12:19:18Z lemoinem joined #lisp 2016-06-21T12:21:20Z FreeBird_ joined #lisp 2016-06-21T12:22:45Z Blkt quit (Remote host closed the connection) 2016-06-21T12:22:45Z fe[nl]ix quit (Read error: Connection reset by peer) 2016-06-21T12:23:37Z FreeBirdLjj quit (Ping timeout: 244 seconds) 2016-06-21T12:24:26Z Blkt joined #lisp 2016-06-21T12:24:38Z fe[nl]ix joined #lisp 2016-06-21T12:24:58Z kushal quit (Quit: Leaving) 2016-06-21T12:29:16Z fluter quit (Ping timeout: 272 seconds) 2016-06-21T12:29:22Z eudoxia joined #lisp 2016-06-21T12:33:02Z ChanServ has set mode +o fe[nl]ix 2016-06-21T12:34:36Z moore33 uses get-properties for perhaps the first time ever. 2016-06-21T12:40:10Z Petit_Dejeuner quit (Ping timeout: 244 seconds) 2016-06-21T12:42:52Z adolf_stalin joined #lisp 2016-06-21T12:44:25Z EvW quit (Ping timeout: 258 seconds) 2016-06-21T12:46:04Z alchmzt quit (Quit: WeeChat 1.5) 2016-06-21T12:46:31Z asc232 joined #lisp 2016-06-21T12:47:13Z adolf_stalin quit (Ping timeout: 250 seconds) 2016-06-21T12:49:07Z Grue``: i really hate get-properties. it seems like it would be useful from the description, but the return values are completely insane 2016-06-21T12:49:24Z Grue``: much better to just use LOOP 2016-06-21T12:51:51Z StephanLahl quit (Remote host closed the connection) 2016-06-21T12:53:33Z przl joined #lisp 2016-06-21T12:54:05Z EvW joined #lisp 2016-06-21T12:55:16Z paul0 quit (Quit: Leaving) 2016-06-21T12:56:41Z mbuf quit (Ping timeout: 258 seconds) 2016-06-21T12:57:27Z moore33: Grue``: If you have a list of possible keyword arguments, such as is possible with slot initargs, it's just the thing. 2016-06-21T12:57:45Z kushal joined #lisp 2016-06-21T12:57:51Z FreeBird_ quit (Remote host closed the connection) 2016-06-21T12:58:12Z FreeBirdLjj joined #lisp 2016-06-21T12:58:44Z przl_ joined #lisp 2016-06-21T12:58:48Z przl_ quit (Client Quit) 2016-06-21T12:59:00Z FreeBird_ joined #lisp 2016-06-21T12:59:29Z zdm joined #lisp 2016-06-21T13:02:25Z zaquest joined #lisp 2016-06-21T13:02:53Z FreeBirdLjj quit (Ping timeout: 244 seconds) 2016-06-21T13:03:15Z FreeBird_ quit (Ping timeout: 244 seconds) 2016-06-21T13:08:05Z Harag quit (Ping timeout: 244 seconds) 2016-06-21T13:08:33Z przl quit (Quit: leaving) 2016-06-21T13:08:52Z przl joined #lisp 2016-06-21T13:09:55Z CEnnis91 joined #lisp 2016-06-21T13:10:46Z paul0 joined #lisp 2016-06-21T13:12:04Z malice quit (Ping timeout: 250 seconds) 2016-06-21T13:12:30Z phoe_work quit (Ping timeout: 250 seconds) 2016-06-21T13:14:32Z Mon_Ouie quit (Quit: WeeChat 1.5) 2016-06-21T13:19:25Z EvW quit (Remote host closed the connection) 2016-06-21T13:19:34Z EvW joined #lisp 2016-06-21T13:27:46Z StephanLahl joined #lisp 2016-06-21T13:29:51Z phoe_work joined #lisp 2016-06-21T13:31:10Z dyelar quit (Quit: Leaving.) 2016-06-21T13:32:56Z sondr3 joined #lisp 2016-06-21T13:34:00Z shdeng quit (Quit: Leaving) 2016-06-21T13:39:02Z LiamH joined #lisp 2016-06-21T13:40:43Z StephanLahl quit (Remote host closed the connection) 2016-06-21T13:41:15Z Urfin joined #lisp 2016-06-21T13:42:31Z emaczen` joined #lisp 2016-06-21T13:43:11Z peterh quit (Ping timeout: 240 seconds) 2016-06-21T13:43:37Z adolf_stalin joined #lisp 2016-06-21T13:44:44Z StephanLahl joined #lisp 2016-06-21T13:46:50Z M-moredhel quit (Ping timeout: 260 seconds) 2016-06-21T13:48:00Z M-Illandan quit (Ping timeout: 260 seconds) 2016-06-21T13:48:19Z adolf_stalin quit (Ping timeout: 250 seconds) 2016-06-21T13:49:03Z emaczen` quit (Ping timeout: 240 seconds) 2016-06-21T13:51:10Z beach joined #lisp 2016-06-21T13:52:40Z beach: Good afternoon everyone! 2016-06-21T13:54:03Z strelox joined #lisp 2016-06-21T13:59:10Z ramky quit (Ping timeout: 258 seconds) 2016-06-21T13:59:42Z vlatkoB_ joined #lisp 2016-06-21T13:59:48Z adolf_stalin joined #lisp 2016-06-21T13:59:59Z reepca: Contradicting yourself, eh? http://www.total-knowledge.com/~ilya/mips/ugt.html 2016-06-21T14:00:36Z warweasle joined #lisp 2016-06-21T14:00:45Z beach: Yep. 2016-06-21T14:00:58Z beach: I have always said I don't follow it to the letter. 2016-06-21T14:02:13Z beach: But I agree with it in that if each participant feels compelled to tell everyone their time zone whenever someone else enters, the noise level will be impossibly high. 2016-06-21T14:02:14Z moore33: That is about the dumbest thing I have ever read :P Well, not really. 2016-06-21T14:02:51Z reepca: it's practical, though. 2016-06-21T14:02:54Z moore33: I think it's nice to be able to locate one's interlocateur to within a couple of time zones. 2016-06-21T14:03:31Z vlatkoB quit (Ping timeout: 240 seconds) 2016-06-21T14:03:39Z reepca: it helps with planning the nuking 2016-06-21T14:05:08Z scymtym_ joined #lisp 2016-06-21T14:06:40Z scymtym quit (Ping timeout: 260 seconds) 2016-06-21T14:07:29Z beach: I have a design question with respect to Cleavir. ASTs are translated to HIR in an instance of a CONTEXT class. The main part of the CONTEXT instance is that it has the successor HIR instruction(s), a list of places where the results (i.e., values) of the computation are to be stored, and some other stuff that is not important right now. 2016-06-21T14:07:39Z beach: But, it also stores a bunch of flags that control various aspects of the compilation. Currently, it just stores the raw OPTIMIZE QUALITY values, but I think that is a bad idea, because finer control may be needed, and different implementation might want to control compilation differently for different optimize quality values. So I am thinking that the context should instead contain specific information that can be directly used du 2016-06-21T14:07:39Z beach: the compilation process, such as whether lexical variables should be kept for the duration of the scope, or removed when they are no longer live, etc. etc. 2016-06-21T14:07:53Z beach: But then I need three things: 1. I need a mechanism by which the specific implementation can add new optimize qualities. 2. I need a mechanism by which all optimize qualities of a context are translated (in an implementation-specific way) to flags for finer control. 3. I need a mechanism for implementations to add flags for finer control. 2016-06-21T14:07:54Z beach: I am thinking 1 and 3 are just a matter of allowing sub-classing of the context (I need to make sure I can create an instance of the correct class of course). What is a good way of doing number 2? 2016-06-21T14:10:27Z shifty quit (Ping timeout: 276 seconds) 2016-06-21T14:11:12Z beach: Preferably, this mechanism should be triggered automatically when someone calls (say) (REINITIALIZE-INSTANCE :DEBUG 1) 2016-06-21T14:11:38Z moore33: beach: Make the translation from options to flags be a public method? 2016-06-21T14:12:07Z beach: A method on what generic function? 2016-06-21T14:12:43Z beach: Or do you mean "method" in the sense of "technique"? 2016-06-21T14:13:59Z beach: Would an auxiliary method on SHARED-INITIALIZE work? 2016-06-21T14:15:25Z moore33: beach: An as-yet-to-be-defined method. 2016-06-21T14:16:55Z beach: Methods are neither private nor public in Common Lisp, so unless you mean "method" in the sense of "technique", I am lost. 2016-06-21T14:17:44Z moore33: beach: Public in the sense that you expose it to the user with well-defined semantics. 2016-06-21T14:17:58Z moore33: But OK, "technique." 2016-06-21T14:18:20Z mishoo quit (Ping timeout: 244 seconds) 2016-06-21T14:20:06Z beach: It seems obvious to me that the way the translation is done has to be documented and possible to customize. I was looking for more specific details of this "technique". How about an :AROUND method on shared initialize that must call CALL-NEXT-METHOD with the detailed flags computed from the optimize qualities? 2016-06-21T14:20:25Z beach: on SHARED-INITIALIZE. 2016-06-21T14:21:03Z moore33: OK, though I tend to use after methods where I can. 2016-06-21T14:21:36Z M-moredhel joined #lisp 2016-06-21T14:21:50Z beach: Then I would have to specify writers for slots or force the :AFTER method to call reinitialize-instance again. 2016-06-21T14:23:09Z shifty joined #lisp 2016-06-21T14:23:31Z beach: OK, I'll give it some more thought. Thanks for listening and for the advice. 2016-06-21T14:25:01Z beach: It seems clear that such a mechanism is needed, though, right? 2016-06-21T14:30:03Z EvW quit (Quit: EvW) 2016-06-21T14:30:51Z asc232 quit (Remote host closed the connection) 2016-06-21T14:31:15Z strelox quit (Ping timeout: 276 seconds) 2016-06-21T14:33:12Z walter|r joined #lisp 2016-06-21T14:35:49Z cmatei_ quit (Read error: Connection reset by peer) 2016-06-21T14:36:08Z cmatei joined #lisp 2016-06-21T14:37:47Z yrk joined #lisp 2016-06-21T14:38:19Z yrk quit (Changing host) 2016-06-21T14:38:19Z yrk joined #lisp 2016-06-21T14:41:08Z beach: I think I should probably have three different classes: One class containing values for optimize qualities, and which can be sub-classed by the implementation; one class containing the detailed flags that control compilation, also possible to sub-class, and the context that contains an instance of each of the others. 2016-06-21T14:41:09Z beach: The context can also be sub-classed of course, because it is the main object that controls compilation. 2016-06-21T14:42:30Z sweater joined #lisp 2016-06-21T14:44:43Z dyelar joined #lisp 2016-06-21T14:45:57Z attila_lendvai joined #lisp 2016-06-21T14:47:37Z smokeink joined #lisp 2016-06-21T14:50:05Z attila_lendvai quit (Read error: Connection reset by peer) 2016-06-21T14:50:43Z leo_song quit (Ping timeout: 244 seconds) 2016-06-21T14:54:39Z leo_song joined #lisp 2016-06-21T14:55:40Z zdm quit (Ping timeout: 260 seconds) 2016-06-21T14:56:12Z M-Illandan joined #lisp 2016-06-21T14:56:14Z Baggers2 joined #lisp 2016-06-21T14:58:45Z attila_lendvai joined #lisp 2016-06-21T14:58:45Z papachan quit (Read error: Connection reset by peer) 2016-06-21T14:59:42Z attila_lendvai quit (Read error: Connection reset by peer) 2016-06-21T14:59:49Z DavidGu_Desktop quit (Quit: DavidGu_Desktop) 2016-06-21T15:00:40Z attila_lendvai joined #lisp 2016-06-21T15:00:40Z attila_lendvai quit (Changing host) 2016-06-21T15:00:40Z attila_lendvai joined #lisp 2016-06-21T15:03:09Z |2321 joined #lisp 2016-06-21T15:04:56Z Baggers joined #lisp 2016-06-21T15:04:56Z attila_lendvai quit (Read error: Connection reset by peer) 2016-06-21T15:07:11Z Baggers2 quit (Ping timeout: 240 seconds) 2016-06-21T15:07:11Z shka quit (Ping timeout: 240 seconds) 2016-06-21T15:07:58Z attila_lendvai joined #lisp 2016-06-21T15:07:58Z attila_lendvai quit (Changing host) 2016-06-21T15:07:58Z attila_lendvai joined #lisp 2016-06-21T15:13:54Z strelox joined #lisp 2016-06-21T15:18:30Z Munksgaard quit (Quit: Leaving.) 2016-06-21T15:20:32Z pierpa joined #lisp 2016-06-21T15:23:14Z strelox quit (Remote host closed the connection) 2016-06-21T15:23:15Z attila_lendvai quit (Read error: Connection reset by peer) 2016-06-21T15:24:54Z attila_lendvai joined #lisp 2016-06-21T15:26:12Z adolf_stalin quit (Remote host closed the connection) 2016-06-21T15:28:46Z attila_lendvai quit (Read error: Connection reset by peer) 2016-06-21T15:29:17Z emaczen` joined #lisp 2016-06-21T15:30:32Z attila_lendvai joined #lisp 2016-06-21T15:32:21Z shifty quit (Ping timeout: 276 seconds) 2016-06-21T15:33:07Z mishoo joined #lisp 2016-06-21T15:33:17Z AdmiralBumbleBee left #lisp 2016-06-21T15:33:23Z beach: So what if I tell the implementer of an implementation using Cleavir that there is a class called (say) OPTIMIZE-SETTINGS that he or she can sub-class, and that there is a generic function (say) COMPUTE-COMPILATION-FLAGS with the APPEND method combination and the :MOST-SPECIFIC-FIRST T option. 2016-06-21T15:33:30Z beach: COMPUTE-COMPILATION-FLAGS takes an instance of OPTIMIZE-SETTINGS and that returns a list of keyword/value pairs that represent initargs for a class (say) COMPILATION-FLAGS. 2016-06-21T15:33:35Z beach: Because of the APPEND method combination, only keyword/value pairs that are different from the default need to be specified. 2016-06-21T15:33:36Z beach: Because of the :MOST-SPECIFIC-FIRST T option, defaults can be overridden, because the specific version will appear first in the list. 2016-06-21T15:33:44Z emaczen` quit (Remote host closed the connection) 2016-06-21T15:33:54Z attila_lendvai quit (Read error: Connection reset by peer) 2016-06-21T15:33:55Z emaczen` joined #lisp 2016-06-21T15:35:28Z przl quit (Ping timeout: 272 seconds) 2016-06-21T15:35:51Z attila_lendvai joined #lisp 2016-06-21T15:40:29Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-06-21T15:41:32Z Karl_Dscc quit (Remote host closed the connection) 2016-06-21T15:44:13Z al-damiri joined #lisp 2016-06-21T15:46:13Z mbuf joined #lisp 2016-06-21T15:47:31Z unrahul joined #lisp 2016-06-21T15:50:03Z papachan joined #lisp 2016-06-21T15:56:25Z wccoder joined #lisp 2016-06-21T15:57:08Z gavilancomun quit (Quit: ChatZilla 0.9.92 [Firefox 47.0/20160604131506]) 2016-06-21T16:01:50Z mishoo quit (Ping timeout: 258 seconds) 2016-06-21T16:02:05Z Baggers quit (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org) 2016-06-21T16:02:41Z lnostdal joined #lisp 2016-06-21T16:04:51Z dmiles quit (Ping timeout: 276 seconds) 2016-06-21T16:09:23Z logrus_ joined #lisp 2016-06-21T16:11:38Z skbierm joined #lisp 2016-06-21T16:12:03Z skbierm quit (Client Quit) 2016-06-21T16:12:14Z shifty joined #lisp 2016-06-21T16:14:36Z jean377 quit (Ping timeout: 244 seconds) 2016-06-21T16:15:00Z grouzen quit (Ping timeout: 260 seconds) 2016-06-21T16:16:28Z shka joined #lisp 2016-06-21T16:20:22Z Urfin quit (Ping timeout: 260 seconds) 2016-06-21T16:22:28Z HeyFlash quit (Remote host closed the connection) 2016-06-21T16:25:22Z jasom: phoe_work, Puercopop if properly formed input will not have any qualified symbols, you can make : a terminating macro character that signals an error. It's probably still best to just not use the lisp reader for this though. 2016-06-21T16:26:57Z shifty quit (Ping timeout: 276 seconds) 2016-06-21T16:28:10Z SamSkulls joined #lisp 2016-06-21T16:28:48Z papachan quit (Read error: Connection reset by peer) 2016-06-21T16:29:30Z walter|r quit (Remote host closed the connection) 2016-06-21T16:32:06Z mbuf quit (Quit: rcirc on GNU Emacs 24.4.1) 2016-06-21T16:33:42Z phoe_krk: jasom: why not? 2016-06-21T16:33:46Z phoe_krk: what are the remaining threats? 2016-06-21T16:34:02Z jasom: I wasn't thinking of threats, just that it feels inelegant 2016-06-21T16:34:51Z phoe_krk: I know no tool that's more elegant for reading S-expressions than a reader of some Lisp dialect. 2016-06-21T16:36:15Z phoe_krk: (but yeah, I successfully hacked the Lisp reader in 15 minutes into solving a problem that a few pals of mine were fighting with for two days, cooperatively, using Java) 2016-06-21T16:36:24Z moore33 quit (Quit: Leaving) 2016-06-21T16:36:49Z les quit (Ping timeout: 244 seconds) 2016-06-21T16:39:09Z ksool quit (Remote host closed the connection) 2016-06-21T16:39:20Z les joined #lisp 2016-06-21T16:39:22Z shifty joined #lisp 2016-06-21T16:39:27Z jasom: http://clhs.lisp.se/Body/02_ad.htm <-- turn all of the macro chars there other than ( and " into macro chars that signal an error; make : a terminating macro character that signals an error, and bind *package* to a temporary package that you will destroy afterwards. 2016-06-21T16:39:44Z emaczen` quit (Ping timeout: 244 seconds) 2016-06-21T16:40:15Z phoe_krk: Hmmmm. I see. 2016-06-21T16:40:38Z jasom: in theory lisp implementations could have other macro characters that are not in base-char, but that's probably a corner case. 2016-06-21T16:41:24Z phoe_krk: jasom: I can just clone a readtable and read its contents, turning everything beside ( and " into error calls. 2016-06-21T16:41:35Z phoe_krk: Which should secure me a bit more. 2016-06-21T16:41:37Z jasom: right 2016-06-21T16:41:54Z phoe_krk: Practical question - should I be creating a new temporary package at every read? 2016-06-21T16:42:06Z jasom: phoe_krk: up to you 2016-06-21T16:42:21Z phoe_krk: Or just let reads cooperatively "spit" into a single package that will then get collected once in a while? 2016-06-21T16:42:57Z dmiles joined #lisp 2016-06-21T16:43:19Z phoe_krk: I'll test the absolutely-safe approach first and create a new package on every read operation. 2016-06-21T16:43:26Z atgreen joined #lisp 2016-06-21T16:44:07Z phoe_krk: And start thinking about switching to another when it becomes too slow. 2016-06-21T16:44:08Z jasom: If I could make one change to the standard, it would be a user-customizable hook to be called for interpreting tokens 2016-06-21T16:44:31Z jasom: that solves so many problems with lisp in one go 2016-06-21T16:45:16Z papachan joined #lisp 2016-06-21T16:45:40Z jasom: e.g. package-local nicknames would be maybe a dozen lines of portable code. 2016-06-21T16:47:27Z phoe_krk: jasom: welp 2016-06-21T16:47:58Z phoe_krk: let's dive into all the different codebases of all the different open Lisp implementations, make the fix, push it upstream and have 50% of them rejected either way 2016-06-21T16:48:05Z phoe_krk: s/fix/fixes/ 2016-06-21T16:48:06Z jasom: :) 2016-06-21T16:48:22Z jasom: This sort of thing is what the CDR was for I think 2016-06-21T16:48:26Z phoe_krk: https://xkcd.com/927/ 2016-06-21T16:49:30Z isoraqathedh: How do you extract the first row of a 2D matrix? What about the second column? 2016-06-21T16:49:33Z jasom: pjb's reader does have such a hook "readtable-parse-token" 2016-06-21T16:50:00Z phoe_krk: isoraqathedh: define "extract" 2016-06-21T16:50:16Z phoe_krk: jasom: I know 2016-06-21T16:50:17Z phoe_krk: bbl 2016-06-21T16:50:30Z isoraqathedh: #2A((1 2 3) (4 5 6) (7 8 9)) => #(2 5 8), for instance. 2016-06-21T16:50:36Z jasom: isoraqathedh: multidimensional arrays in lisp are stored row-major, so you can get rows fairly efficiently. For getting a column, you'll need to just iterate over the indexes of the column 2016-06-21T16:52:06Z sweater quit (Ping timeout: 272 seconds) 2016-06-21T16:52:33Z jasom: isoraqathedh: untested, but something like: (let ((length (second (array-dimensions array))) (loop with result = (make-array length) (loop for i from 0 below length (setf (aref result i) (aref array 1 i))) 2016-06-21T16:52:53Z isoraqathedh: Hm, aalright. 2016-06-21T16:55:23Z hhdave quit (Ping timeout: 244 seconds) 2016-06-21T16:55:31Z guna quit (Ping timeout: 240 seconds) 2016-06-21T16:56:15Z jasom: isoraqathedh: slightly more tested version: http://paste.lisp.org/display/318905 2016-06-21T16:57:28Z jasom: isoraqathedh: for getting rows, you can do the same thing, or use displaced-arrays to make a 1d array that shares the underlying storage 2016-06-21T17:01:04Z |2dman|_ quit (Ping timeout: 244 seconds) 2016-06-21T17:01:13Z shka: there is a lib that implements slices 2016-06-21T17:01:37Z MrWoohoo quit (Ping timeout: 252 seconds) 2016-06-21T17:01:38Z shka: but it is not efficient for large arrays 2016-06-21T17:03:25Z d4ryus is now known as Guest50997 2016-06-21T17:03:25Z Guest50997 quit (Killed (leguin.freenode.net (Nickname regained by services))) 2016-06-21T17:03:26Z d4ryus joined #lisp 2016-06-21T17:03:41Z krasnal quit (Read error: Connection reset by peer) 2016-06-21T17:03:47Z mastokley joined #lisp 2016-06-21T17:03:56Z guna joined #lisp 2016-06-21T17:05:46Z akkad: can "0" be coerced into complex/int/float? 2016-06-21T17:09:17Z jean377 joined #lisp 2016-06-21T17:10:45Z Grue``: yes? 2016-06-21T17:11:02Z puchacz joined #lisp 2016-06-21T17:11:21Z |2dman|_ joined #lisp 2016-06-21T17:11:35Z Grue``: clhs parse-integer 2016-06-21T17:11:35Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_parse_.htm 2016-06-21T17:11:55Z shka: akkad: you usually don't need to do that 2016-06-21T17:13:00Z Grue``: um yeah, you do. you can't just keep numbers as strings like in perl 2016-06-21T17:13:20Z jasom: minion: parse-number? 2016-06-21T17:13:21Z minion: parse-number: No definition was found in the first 5 lines of http://www.cliki.net/parse-number 2016-06-21T17:13:23Z sweater joined #lisp 2016-06-21T17:13:50Z krasnal joined #lisp 2016-06-21T17:14:04Z akkad: Grue`: thanks. for some reason getting a int being represented as string 2016-06-21T17:14:17Z shka: aaah 2016-06-21T17:14:19Z shka: right 2016-06-21T17:14:31Z shka: "0" as a string with single char 2016-06-21T17:14:34Z shka: silly me 2016-06-21T17:14:36Z akkad: (cons 'inode (format nil "~D" inode) 2016-06-21T17:15:09Z oleo joined #lisp 2016-06-21T17:19:20Z shka: Grue``: parse-integers seems to handle just integers 2016-06-21T17:19:30Z shka: what about everything else? 2016-06-21T17:19:33Z mishoo joined #lisp 2016-06-21T17:20:55Z jasom: shka: there is a library in quicklisp called parse-number 2016-06-21T17:21:00Z shka: ok 2016-06-21T17:21:04Z jasom: shka: like parse-integer, but works for all number types 2016-06-21T17:21:07Z reepca: clhs read-from-string ? 2016-06-21T17:21:07Z reepca: clhs read-from-string 2016-06-21T17:21:07Z reepca: ... fine, ignore me specbot 2016-06-21T17:21:07Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_rd_fro.htm 2016-06-21T17:21:23Z shka: one would expect it to be in the standard :/ 2016-06-21T17:21:38Z shka: but ok 2016-06-21T17:21:50Z jasom: not everything can be in the standard; see also all of alexandria, for example. 2016-06-21T17:22:16Z Ober: akkad try not using format to dereference the variable 2016-06-21T17:22:34Z jackdaniel: well, parsing numbers *is* in the standard 2016-06-21T17:22:34Z shka: i mean, obviously reader has to deal with strings containing floats 2016-06-21T17:22:38Z jackdaniel: (numberp (read)) 2016-06-21T17:22:45Z Pentb joined #lisp 2016-06-21T17:22:47Z shka: minion: ? 2016-06-21T17:22:48Z minion: ?: An error was encountered in lookup: Parse error:URI "http://www.cliki.net/??source" contains illegal character #\? at position 22.. 2016-06-21T17:23:16Z shka: how to ask bot for list of all commands? 2016-06-21T17:23:18Z akkad: (defvar foo 10) (type-of (format nil "~D" foo)) => (simple-array character) so you can't use > on it 2016-06-21T17:23:19Z jasom: shka: yeah as jackdaniel says (numberp (read)) works just fine 2016-06-21T17:23:25Z jasom: shka: /m minion help 2016-06-21T17:23:29Z shka: thx 2016-06-21T17:23:50Z jasom: shka: but you can't blindly use read for untrusted inputs for obvious reasons 2016-06-21T17:24:38Z jackdaniel: (let ((*read-eval* nil)) …) 2016-06-21T17:24:40Z adolf_stalin joined #lisp 2016-06-21T17:24:44Z Pentb quit (Client Quit) 2016-06-21T17:25:10Z Pentb joined #lisp 2016-06-21T17:25:42Z Pent quit (Ping timeout: 246 seconds) 2016-06-21T17:25:55Z jasom: jackdaniel: you can probably still DoS it with #n# tricks though 2016-06-21T17:26:04Z jackdaniel: right 2016-06-21T17:26:27Z akkad: https://gist.github.com/bdc59ed7619c41da92cdb47d16ceb3cf is the code. 2016-06-21T17:26:53Z jasom: akkad: why not (cons 'inode inode) 2016-06-21T17:28:56Z sweater quit (Read error: Connection reset by peer) 2016-06-21T17:34:03Z Grue``: shka: common lisp syntax for floats (or numbers in general) is pretty complicated; it is also not necessarily compatible with whatever you're getting your stringy floats from 2016-06-21T17:36:35Z Grue``: why not `((:inode . ,inode) (:size . ,size)) 2016-06-21T17:36:35Z shka: right, right 2016-06-21T17:37:59Z paul0 quit (Remote host closed the connection) 2016-06-21T17:38:41Z przl joined #lisp 2016-06-21T17:38:55Z papachan quit (Read error: Connection reset by peer) 2016-06-21T17:43:25Z failproofshark joined #lisp 2016-06-21T17:43:41Z beach left #lisp 2016-06-21T17:44:36Z smokeink quit (Ping timeout: 246 seconds) 2016-06-21T17:47:01Z flamebeard quit (Quit: Leaving) 2016-06-21T17:55:16Z dyelar quit (Quit: Leaving.) 2016-06-21T18:03:44Z BlueRavenGT joined #lisp 2016-06-21T18:10:19Z pjb joined #lisp 2016-06-21T18:12:55Z Pentb quit (Quit: Leaving) 2016-06-21T18:13:00Z araujo joined #lisp 2016-06-21T18:13:05Z heddwch is now known as rain_god 2016-06-21T18:13:40Z rain_god is now known as heddwch 2016-06-21T18:14:42Z ghard joined #lisp 2016-06-21T18:14:59Z Pent joined #lisp 2016-06-21T18:15:04Z ghard: Hi! 2016-06-21T18:16:13Z ghard: Could someone please point me to the right direction re. how to make sbcl handle sigpipe in sb-impl::flush-output-buffer gracefully? 2016-06-21T18:16:36Z ghard: I've a web service leaking connection and file handles like a champ. 2016-06-21T18:22:44Z sauvin quit (Read error: Connection reset by peer) 2016-06-21T18:28:19Z eschulte_ quit (Quit: leaving) 2016-06-21T18:30:22Z eschulte joined #lisp 2016-06-21T18:30:29Z Josh_2 joined #lisp 2016-06-21T18:30:42Z eschulte left #lisp 2016-06-21T18:32:45Z oleo: hello 2016-06-21T18:35:56Z pjb: ghard: https://www.google.fr/search?q=sbcl+handle+unix+signals 2016-06-21T18:36:00Z emaczen` joined #lisp 2016-06-21T18:37:03Z oleo: http://paste.lisp.org/display/316213 2016-06-21T18:37:10Z oleo: http://paste.lisp.org/display/318908 2016-06-21T18:37:15Z oleo: hello pjb 2016-06-21T18:43:10Z emaczen` quit (Ping timeout: 260 seconds) 2016-06-21T18:45:03Z gravicappa joined #lisp 2016-06-21T18:46:42Z grublet joined #lisp 2016-06-21T18:47:19Z eschatologist quit (Ping timeout: 250 seconds) 2016-06-21T18:49:38Z porky11 joined #lisp 2016-06-21T18:52:31Z guna quit (Ping timeout: 240 seconds) 2016-06-21T18:53:25Z lnostdal quit (Read error: Connection reset by peer) 2016-06-21T18:54:42Z adolf_stalin quit (Quit: Leaving...) 2016-06-21T18:59:45Z ghard quit (Ping timeout: 244 seconds) 2016-06-21T19:00:11Z emaczen` joined #lisp 2016-06-21T19:04:28Z quazimodo quit (Ping timeout: 272 seconds) 2016-06-21T19:07:21Z grouzen joined #lisp 2016-06-21T19:10:03Z eschatologist joined #lisp 2016-06-21T19:10:06Z przl quit (Ping timeout: 276 seconds) 2016-06-21T19:11:17Z paul0 joined #lisp 2016-06-21T19:11:26Z krasnal quit (Read error: Connection reset by peer) 2016-06-21T19:12:44Z walter|r joined #lisp 2016-06-21T19:13:02Z shka: hi all 2016-06-21T19:13:10Z oleo: hello 2016-06-21T19:20:06Z reepca: ohaio 2016-06-21T19:22:14Z Lord_of_Life: oi! 2016-06-21T19:23:12Z Petit_Dejeuner joined #lisp 2016-06-21T19:24:11Z holly2 quit (Ping timeout: 240 seconds) 2016-06-21T19:25:05Z lisper29 joined #lisp 2016-06-21T19:25:09Z Karl_Dscc joined #lisp 2016-06-21T19:26:03Z attila_lendvai joined #lisp 2016-06-21T19:26:03Z attila_lendvai quit (Changing host) 2016-06-21T19:26:03Z attila_lendvai joined #lisp 2016-06-21T19:27:21Z lisper29 quit (Client Quit) 2016-06-21T19:27:35Z tsikov_ joined #lisp 2016-06-21T19:28:40Z krrrcks quit (Ping timeout: 264 seconds) 2016-06-21T19:29:02Z krrrcks joined #lisp 2016-06-21T19:29:52Z micro` quit (Ping timeout: 264 seconds) 2016-06-21T19:29:52Z vlnx quit (Ping timeout: 264 seconds) 2016-06-21T19:29:52Z djh_ quit (Ping timeout: 264 seconds) 2016-06-21T19:29:52Z johs quit (Ping timeout: 264 seconds) 2016-06-21T19:30:00Z micro` joined #lisp 2016-06-21T19:30:05Z johs joined #lisp 2016-06-21T19:30:23Z micro` is now known as Guest36258 2016-06-21T19:30:28Z vlatkoB_ quit (Ping timeout: 264 seconds) 2016-06-21T19:30:28Z Velveeta_Chef quit (Ping timeout: 264 seconds) 2016-06-21T19:30:28Z tsikov quit (Ping timeout: 264 seconds) 2016-06-21T19:30:29Z krypt quit (Ping timeout: 264 seconds) 2016-06-21T19:30:29Z NaNDude quit (Ping timeout: 264 seconds) 2016-06-21T19:30:29Z gypsydav15 quit (Ping timeout: 264 seconds) 2016-06-21T19:30:30Z jtza8 joined #lisp 2016-06-21T19:30:46Z steelbird joined #lisp 2016-06-21T19:30:49Z holly2 joined #lisp 2016-06-21T19:30:51Z vlatkoB joined #lisp 2016-06-21T19:31:04Z steee quit (Ping timeout: 264 seconds) 2016-06-21T19:31:04Z nopf quit (Ping timeout: 264 seconds) 2016-06-21T19:31:27Z djh joined #lisp 2016-06-21T19:31:43Z vlnx joined #lisp 2016-06-21T19:32:03Z scymtym_ quit (Ping timeout: 246 seconds) 2016-06-21T19:32:14Z nopf joined #lisp 2016-06-21T19:35:21Z krypt joined #lisp 2016-06-21T19:39:13Z gypsydave5 joined #lisp 2016-06-21T19:40:00Z sambio joined #lisp 2016-06-21T19:40:27Z shifty quit (Ping timeout: 260 seconds) 2016-06-21T19:41:07Z oleo quit (Quit: Verlassend) 2016-06-21T19:43:33Z Velveeta_Chef joined #lisp 2016-06-21T19:48:32Z NaNDude joined #lisp 2016-06-21T19:48:37Z vlatkoB quit (Remote host closed the connection) 2016-06-21T19:51:18Z warweasle quit (Quit: Another useless emergency) 2016-06-21T19:51:47Z schjetne quit (Remote host closed the connection) 2016-06-21T19:53:08Z grouzen quit (Ping timeout: 244 seconds) 2016-06-21T19:53:16Z NaNDude quit (Ping timeout: 264 seconds) 2016-06-21T19:54:27Z shifty joined #lisp 2016-06-21T19:54:39Z adolf_stalin joined #lisp 2016-06-21T19:55:45Z hellcode joined #lisp 2016-06-21T19:56:30Z MrWoohoo joined #lisp 2016-06-21T19:57:14Z phoe_krk: beach: https://github.com/phoe-krk/gateway/ That's the code you wanted to look at. 2016-06-21T19:58:26Z schjetne joined #lisp 2016-06-21T19:59:05Z phoe_krk: Don't mind the stuff at /old/, that's the stuff being refactored. 2016-06-21T20:01:06Z karswell quit (Remote host closed the connection) 2016-06-21T20:01:31Z quazimodo joined #lisp 2016-06-21T20:01:49Z karswell` joined #lisp 2016-06-21T20:02:03Z grimsley joined #lisp 2016-06-21T20:03:54Z krasnal joined #lisp 2016-06-21T20:05:53Z quazimodo quit (Ping timeout: 244 seconds) 2016-06-21T20:06:24Z gilez quit (Ping timeout: 258 seconds) 2016-06-21T20:06:36Z lionrouge joined #lisp 2016-06-21T20:06:40Z lionrouge: hi ! 2016-06-21T20:06:52Z lionrouge: i would like to get familiar with Lisp 2016-06-21T20:07:05Z lionrouge: is Common Lisp the best dialect to start with? 2016-06-21T20:08:34Z Grue`: yes 2016-06-21T20:10:05Z jasom: minion: tell lionrouge about pcl 2016-06-21T20:10:06Z minion: lionrouge: 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). 2016-06-21T20:10:12Z jasom: minion: tell lionrouge about gentle 2016-06-21T20:10:12Z minion: lionrouge: please see gentle: "Common Lisp: A Gentle Introduction to Symbolic Computation" is a smoother introduction to lisp programming. http://www.cs.cmu.edu/~dst/LispBook/ 2016-06-21T20:10:22Z lionrouge: oh, thanks for the links 2016-06-21T20:11:04Z phoe_krk: lionrouge: did you program before? 2016-06-21T20:11:11Z jasom: lionrouge: the first link is for those who have experience programming in other languages; the other assumes 0 experience with programming. 2016-06-21T20:11:12Z phoe_krk: Like, do you have anything in common with coding? 2016-06-21T20:11:18Z lionrouge: C, Python, Lua, Go and Verilog HDL 2016-06-21T20:11:23Z phoe_krk: lionrouge: go for PCL as jasom said. 2016-06-21T20:12:12Z lionrouge: ok 2016-06-21T20:12:14Z jasom: https://github.com/jasom/lispstick-automate/releases/download/0.1/lispstick-sbcl-1.3.5-emacs-24.4.zip <-- you can use that instead of lisp in a box 2016-06-21T20:12:38Z jasom: (the instructions for setting up lisp on windows are very out of date in PCL, but it is otherwise good) 2016-06-21T20:13:44Z lionrouge: from the name i assume it is some kind of a mod to Emacs 2016-06-21T20:14:01Z jasom: lionrouge: yes, the most commonly used IDE for lisp is implemented on top of emacs 2016-06-21T20:14:22Z lionrouge: as i remember Ecams itself is written in Lisp, right? 2016-06-21T20:14:57Z jasom: lionrouge: it is written in emacs lisp, which was closely related to common lisp when it was created, but the two languages evolved along different paths 2016-06-21T20:15:06Z lionrouge: i see 2016-06-21T20:16:18Z jasom: though there has been significant movement of features from common-lisp to elisp in the past 20 years or so. 2016-06-21T20:16:21Z Lord_of_Life quit (Excess Flood) 2016-06-21T20:17:08Z emaczen` quit (Ping timeout: 258 seconds) 2016-06-21T20:18:06Z Davidbrcz_ quit (Quit: ++) 2016-06-21T20:19:20Z walter|r quit (Remote host closed the connection) 2016-06-21T20:19:34Z sweater joined #lisp 2016-06-21T20:19:42Z Lord_of_Life joined #lisp 2016-06-21T20:20:18Z sweater quit (Read error: Connection reset by peer) 2016-06-21T20:20:51Z Davidbrcz joined #lisp 2016-06-21T20:21:47Z phoe_krk: "past 20 years" 2016-06-21T20:21:57Z phoe_krk: this puts things into real perspective 2016-06-21T20:23:03Z jasom: The first edition of Common Lisp the Language came out at about the same time work started on GNU Emacs. RMS was almost certainly familliar with draft versions of it, but some features (most notably lexical binding) were too different for him to adopt at the time. 2016-06-21T20:23:05Z shka quit (Ping timeout: 244 seconds) 2016-06-21T20:23:19Z Grue`: different lisps aren't really "dialects", they're different languages; elisp and Common Lisp are relatively close, but stuff like Scheme or Clojure require completely different mindset of programming 2016-06-21T20:23:31Z strelox joined #lisp 2016-06-21T20:24:04Z lionrouge: is embeddable common lisp mature? 2016-06-21T20:24:20Z lionrouge: i'm closely related to embedded would like to try it 2016-06-21T20:25:12Z jasom: lionrouge: note that common lisp isn't a good fit for deeply embedded stuff. I helped someone who was trying to implement a simple lisp on a MC with no external memory, and we determined that the addressable store on the first machine that LISP was impolemented on in the late '50s was larger than the total RAM on the micro. 2016-06-21T20:25:13Z walter|r joined #lisp 2016-06-21T20:25:27Z jasom: If your RAM is measured in "megabytes" you're fine though 2016-06-21T20:26:06Z lionrouge: i 2016-06-21T20:26:13Z lionrouge: i'm an FPGA design engineer 2016-06-21T20:26:14Z jasom: "100s of kilobytes" is possible, but nothing out of the box in the common lisp world is going to be happy at that size. 2016-06-21T20:26:40Z lionrouge: i use Xilinx Microblaze MC that is described in HDL 2016-06-21T20:26:53Z lionrouge: i think i could bypass that limitation 2016-06-21T20:27:27Z hellcode quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2016-06-21T20:27:38Z jasom: ECL compiles to C, and is cross-compilable. Note that if the runtime environment does not have access to a C compiler, then you will be limited to interpreting new code created at runtime. 2016-06-21T20:27:45Z eudoxia quit (Quit: Leaving) 2016-06-21T20:28:26Z dyelar joined #lisp 2016-06-21T20:28:27Z lionrouge: ok 2016-06-21T20:28:55Z lionrouge: looks like it fits embedded systems with Linux most of all 2016-06-21T20:29:25Z jasom: clisp is written in semi-portable C (it assumes a traditional stack) and has an efficient byte-code compiler. It is very matrue, and is the most portable to non-*nix environments, but is currently without a maintainer. 2016-06-21T20:29:39Z walter|r quit (Ping timeout: 244 seconds) 2016-06-21T20:31:37Z ksool joined #lisp 2016-06-21T20:33:06Z jasom: the common lisp standard grew from lisps that ran on high-end workstations and minicomputers in the early 80s, so it implicitly expects there to be things like a filesystem and a terminal. Most implementations that run on something other than *nix have a somewhat clear place to define those for porting though. 2016-06-21T20:34:07Z phoe_krk: jasom: I think that clisp actually found a maintainer. 2016-06-21T20:34:13Z jasom: phoe_krk: great news! 2016-06-21T20:34:18Z phoe_krk: at least such was the result of the Summer of Code 2016-06-21T20:34:29Z NaNDude joined #lisp 2016-06-21T20:34:35Z phoe_krk: the GNU foundation put CLISP maintaining up as a project and I think they found someone 2016-06-21T20:34:55Z jasom: nothing has hit the hg repository yet 2016-06-21T20:35:02Z phoe_krk: ow. I see. 2016-06-21T20:35:24Z scymtym joined #lisp 2016-06-21T20:36:08Z Puercopop: jasom: although RMS has some weird idiosyncrasies in relation to (common) lisp programming. Ie, packages as useless, prepending the package name in the symbol is better. 2016-06-21T20:37:06Z Petit_Dejeuner: well, look at elisp 2016-06-21T20:38:55Z Puercopop: Petit_Dejeuner: I mean RMS fought back against a backwards compatiable package implementation in elisp 2016-06-21T20:38:56Z guna joined #lisp 2016-06-21T20:39:26Z Puercopop: saying he had used them at the AI labs and found less worse that the elisp 'solution' 2016-06-21T20:49:31Z gravicappa quit (Ping timeout: 240 seconds) 2016-06-21T20:51:26Z Xal joined #lisp 2016-06-21T20:55:32Z krasnal quit (Read error: Connection reset by peer) 2016-06-21T20:59:34Z phoe_krk: Which Lisp logging library should I be using and why log4cl? 2016-06-21T21:00:05Z oleo joined #lisp 2016-06-21T21:00:12Z emaczen` joined #lisp 2016-06-21T21:01:59Z shifty quit (Ping timeout: 258 seconds) 2016-06-21T21:02:29Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-06-21T21:04:02Z krasnal joined #lisp 2016-06-21T21:05:55Z impulse quit (Quit: leaving) 2016-06-21T21:06:41Z LiamH quit (Quit: Leaving.) 2016-06-21T21:06:58Z Puercopop: phoe_krk: it depends on your needs,log4cl has Slime integration iirc. vom is a small logging library 2016-06-21T21:07:11Z Xal quit (Quit: WeeChat 1.5) 2016-06-21T21:08:24Z ASau joined #lisp 2016-06-21T21:12:14Z jasom: I've used log4cl, but https://shinmera.github.io/verbose/ may tempt me away from it 2016-06-21T21:14:01Z shifty joined #lisp 2016-06-21T21:17:22Z Puercopop: log4cl is unmantained iirc 2016-06-21T21:17:34Z jtza8 quit (Ping timeout: 240 seconds) 2016-06-21T21:20:03Z attila_lendvai joined #lisp 2016-06-21T21:21:03Z jasom: vom plus an external logger is also a good step-up from just printing to stdout. e.g. if you are managing your service from daemontools or systemd, which capture stdout to a log this can work quite well. 2016-06-21T21:21:16Z emaczen`: http://paste.lisp.org/display/318856#1 -- ccl specific 2016-06-21T21:25:45Z walter|r joined #lisp 2016-06-21T21:31:48Z walter|r quit (Ping timeout: 276 seconds) 2016-06-21T21:38:11Z emaczen` quit (Ping timeout: 240 seconds) 2016-06-21T21:40:26Z strelox quit (Ping timeout: 244 seconds) 2016-06-21T21:41:35Z lionrouge ordered "Practical Common Lisp" in a book store 2016-06-21T21:42:59Z mordocai: lionrouge: Nice, remember you can read it here too http://www.gigamonkeys.com/book/! Having a dead tree copy is nice sometimes though 2016-06-21T21:43:46Z lionrouge: i like having both of it 2016-06-21T21:44:07Z gingerale quit (Remote host closed the connection) 2016-06-21T21:44:20Z lionrouge: as for me - i just can't read "serious books" online or on e-reader 2016-06-21T21:44:46Z lionrouge: i need a paper-made foliant in my backpack 2016-06-21T21:45:02Z mordocai: Yeah. My thing is that I read online books when I'm actually trying out things since I can have it on one monitor and code on the other, but when I'm just reading it I like the paper copy. 2016-06-21T21:48:12Z _sjs joined #lisp 2016-06-21T21:48:14Z Sando joined #lisp 2016-06-21T21:48:35Z earl-ducaine joined #lisp 2016-06-21T21:48:49Z earl-ducaine_ joined #lisp 2016-06-21T21:51:38Z pierpa: 11/23.0 ==> 0.47826087 is this regular cl syntax, or an extension? 2016-06-21T21:51:38Z pierpa: 2016-06-21T21:52:17Z pierpa: ok, must be an extension 2016-06-21T21:52:21Z pierpa: (or a bug) 2016-06-21T21:52:31Z pierpa: (if not intentional) 2016-06-21T21:52:32Z phoe_krk: syntax? 2016-06-21T21:52:43Z pierpa: ? 2016-06-21T21:52:47Z lionrouge quit (Quit: Leaving) 2016-06-21T21:53:01Z constans quit (Quit: Lost terminal) 2016-06-21T21:53:04Z phoe_krk: The reader doesn't seem to recognize 11/23.0 as a valid rational. 2016-06-21T21:53:05Z DeadTrickster joined #lisp 2016-06-21T21:53:14Z pierpa: indeed 2016-06-21T21:53:24Z puchacz quit (Quit: Konversation terminated!) 2016-06-21T21:53:25Z pierpa: except that ccl accepts it 2016-06-21T21:53:33Z phoe_krk: except that sbcl doesn't 2016-06-21T21:53:45Z pierpa: that's not an exception 2016-06-21T21:53:54Z phoe_krk: right. 2016-06-21T21:58:47Z easye-ipad joined #lisp 2016-06-21T21:59:39Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-06-21T21:59:58Z jokleinn quit (Quit: WeeChat 1.5) 2016-06-21T22:01:48Z mishoo quit (Ping timeout: 272 seconds) 2016-06-21T22:02:17Z adolf_stalin quit (Quit: Leaving...) 2016-06-21T22:02:29Z easye-ipad quit (Client Quit) 2016-06-21T22:06:11Z jokleinn joined #lisp 2016-06-21T22:11:29Z Puercopop: phoe_krk: seems reasonable, floats are not part of rational numbers. If you want to 'coerce' to float you can use (/ 11 23.0) 2016-06-21T22:12:45Z Velveeta_Chef quit (Ping timeout: 276 seconds) 2016-06-21T22:16:35Z _sjs quit (Remote host closed the connection) 2016-06-21T22:17:56Z phoe_krk: (defmacro defconstructor ((class . keys) &body body) `(defmethod initialize-instance :after ((,class ,class) &key ,@keys &allow-other-keys) ,@body)) 2016-06-21T22:18:00Z phoe_krk: Am I lazy? 2016-06-21T22:19:48Z VChef_Mobile joined #lisp 2016-06-21T22:23:15Z Puercopop: yes, no docstring ^_^ 2016-06-21T22:23:33Z Portable_Cheese quit (Ping timeout: 250 seconds) 2016-06-21T22:32:02Z krasnal quit (Read error: Connection reset by peer) 2016-06-21T22:33:26Z |2321 quit (Quit: Connection closed for inactivity) 2016-06-21T22:36:40Z lemoinem quit (Ping timeout: 258 seconds) 2016-06-21T22:48:01Z fluter joined #lisp 2016-06-21T22:48:07Z stepnem quit (Ping timeout: 252 seconds) 2016-06-21T22:49:02Z derrida joined #lisp 2016-06-21T22:51:02Z Velveeta_Chef joined #lisp 2016-06-21T22:52:08Z Portable_Cheese joined #lisp 2016-06-21T22:52:46Z Davidbrcz quit (Ping timeout: 244 seconds) 2016-06-21T22:53:23Z lemoinem joined #lisp 2016-06-21T22:54:34Z scottj joined #lisp 2016-06-21T22:55:50Z strykerkkd joined #lisp 2016-06-21T22:56:06Z pjb quit (Remote host closed the connection) 2016-06-21T22:56:54Z VChef_Mobile quit (Ping timeout: 272 seconds) 2016-06-21T23:00:15Z smokeink joined #lisp 2016-06-21T23:00:45Z jasom: Is there an easy way to convert a list of pathnames to asd files into a list of systems defined by those files? 2016-06-21T23:06:35Z CEnnis91 quit (Quit: Connection closed for inactivity) 2016-06-21T23:06:48Z tsikov_ quit (Remote host closed the connection) 2016-06-21T23:19:14Z jasom: nevermind, I found an easier way to do what I want (using ql:local-projects-searcher) 2016-06-21T23:19:56Z paul0 quit (Quit: Leaving) 2016-06-21T23:22:17Z shifty quit (Ping timeout: 258 seconds) 2016-06-21T23:26:58Z jurov: -znc clearallchannelbuffers 2016-06-21T23:27:10Z jurov: huh sorry 2016-06-21T23:27:15Z jasom: jurov: :) 2016-06-21T23:30:18Z porky11 quit (Remote host closed the connection) 2016-06-21T23:30:47Z bigfondue joined #lisp 2016-06-21T23:32:34Z strykerkkd quit (Quit: Leaving) 2016-06-21T23:34:47Z emaczen` joined #lisp 2016-06-21T23:34:51Z shifty joined #lisp 2016-06-21T23:38:10Z karswell` quit (Ping timeout: 252 seconds) 2016-06-21T23:39:32Z shifty quit (Ping timeout: 258 seconds) 2016-06-21T23:40:34Z emaczen` quit (Ping timeout: 240 seconds) 2016-06-21T23:44:06Z edgar-rft: jurov: your attempt to to gain irc world domination failed 2016-06-21T23:47:03Z jasom: edgar-rft: that's just what you would say if jurov had taken over your account 2016-06-21T23:51:36Z edgar-rft: yes, but I still feel fine taht jurov failed to clear my channel buffers :-) 2016-06-21T23:54:43Z angavrilov quit (Remote host closed the connection)